summaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* Remove URL caching and fix NULL reads.Richard Wilson2006-08-171-76/+37
| | | | svn path=/trunk/netsurf/; revision=2855
* Implement up toolbar icon and menu option.Richard Wilson2006-07-032-3/+3
| | | | svn path=/trunk/netsurf/; revision=2705
* Implement component-wise URL comparisonJohn Mark Bell2006-07-022-0/+68
| | | | svn path=/trunk/netsurf/; revision=2697
* Use case-insensitive strstr to match "stylesheet"John Mark Bell2006-07-022-0/+22
| | | | svn path=/trunk/netsurf/; revision=2689
* Make url_plq ensure url_get_components found a pathJohn Mark Bell2006-07-011-25/+30
| | | | | | | Make url_scheme call url_destroy_components in case where no scheme was found. svn path=/trunk/netsurf/; revision=2686
* Stop possible pollution of the cache.Richard Wilson2006-06-301-8/+16
| | | | svn path=/trunk/netsurf/; revision=2681
* Rewrite url_join to RFC 3986 compliance, and without the use of regular ↵Richard Wilson2006-06-281-257/+296
| | | | | | expressions. This should speed up pages with lots of links and also fix certain cases where URLs were incorrectly returned. svn path=/trunk/netsurf/; revision=2664
* Fix URL joining for fragments.Richard Wilson2006-06-271-5/+5
| | | | svn path=/trunk/netsurf/; revision=2658
* Massively optimise common URL functions. This should (a) drastically reduce ↵Richard Wilson2006-06-271-238/+321
| | | | | | the start-up time for users with a large history/hotlist, and (b) decrease the loading time for pages with a sizable number of references. svn path=/trunk/netsurf/; revision=2656
* Don't use a regexp to extract scheme name.Richard Wilson2006-06-271-30/+38
| | | | svn path=/trunk/netsurf/; revision=2655
* Remove clean_cookiejar; it's been redundant for yearsJohn Mark Bell2006-06-272-78/+0
| | | | svn path=/trunk/netsurf/; revision=2654
* Make filename_create_directory check if directory already existsJohn Mark Bell2006-06-202-16/+24
| | | | | | | | Constify return of filename_request Make bitmap save code check for filename_request failure Update ro_gui_view_source to take account of constification svn path=/trunk/netsurf/; revision=2639
* Merge cookies changes into head - unvalidated transactions and a UI John Mark Bell2006-06-192-0/+53
| | | | | | still need implementing. svn path=/trunk/netsurf/; revision=2632
* Fix crash when a relative URL contains "//../".James Bursa2006-04-221-5/+5
| | | | svn path=/trunk/netsurf/; revision=2543
* Lose spurious RISC OS-specific include (fixes GTK build)John Mark Bell2006-04-221-1/+0
| | | | svn path=/trunk/netsurf/; revision=2542
* Apparently I need to specify add/deletions too...Richard Wilson2006-04-212-0/+442
| | | | svn path=/trunk/netsurf/; revision=2541
* Unify information databasesJohn Mark Bell2006-04-092-0/+60
| | | | svn path=/trunk/netsurf/; revision=2519
* [project @ 2006-03-16 23:30:46 by dsilvers]Daniel Silverstone2006-03-161-1/+2
| | | | | | Fix another assumption that freeing/dupping/whatever a NULL is safe. svn path=/import/netsurf/; revision=2132
* [project @ 2006-02-25 18:50:34 by rjw]Richard Wilson2006-02-251-1/+1
| | | | | | Support for BMP files svn path=/import/netsurf/; revision=2095
* [project @ 2006-02-23 15:06:53 by jmb]John Mark Bell2006-02-231-0/+5
| | | | | | | | | | Handle invalid SSL certificates better - UI still needs work. Modify fetch callback data parameter type to remove compiler warnings. Constify things. Lose global ssl_verify_certificates option. Fix issue when closing a dialog without input focus. svn path=/import/netsurf/; revision=2092
* [project @ 2006-02-19 18:26:23 by jmb]John Mark Bell2006-02-192-2/+115
| | | | | | | | Rewrite HTTP authentication. Fix extraction of realm from WWW-Authenticate header. Tidy up login dialog code. svn path=/import/netsurf/; revision=2085
* [project @ 2006-02-11 18:11:09 by jmb]John Mark Bell2006-02-111-0/+4
| | | | | | Clear cached conversion descriptor if iconv() fails svn path=/import/netsurf/; revision=2071
* [project @ 2006-02-07 16:16:23 by adrianl]Adrian Lees2006-02-071-1/+2
| | | | | | Confirmation before overwriting with download files; Interface Choices dialog svn path=/import/netsurf/; revision=2061
* [project @ 2006-02-06 00:10:09 by jmb]John Mark Bell2006-02-062-0/+24
| | | | | | Implement HTTP caching algorithm; this should avoid stale cache entries being used. svn path=/import/netsurf/; revision=2059
* [project @ 2006-01-18 00:54:27 by rjw]Richard Wilson2006-01-181-0/+3
| | | | | | Tidy up code to use generic url<->path functions. svn path=/import/netsurf/; revision=2022
* [project @ 2005-12-10 14:31:32 by adrianl]Adrian Lees2005-12-101-0/+1
| | | | | | ArtWorks support svn path=/import/netsurf/; revision=1891
* [project @ 2005-08-20 23:04:35 by bursa]James Bursa2005-08-201-0/+1
| | | | | | Fix strndup() warnings. svn path=/import/netsurf/; revision=1850
* [project @ 2005-07-23 20:43:37 by bursa]James Bursa2005-07-232-99/+134
| | | | | | Rewrite and simplify url_nice() to improve suggested filenames. Add option to keep extensions (no UI currently). svn path=/import/netsurf/; revision=1814
* [project @ 2005-07-16 16:15:37 by adrianl]Adrian Lees2005-07-161-4/+2
| | | | | | Faster utf8 next/prev functions svn path=/import/netsurf/; revision=1797
* [project @ 2005-07-16 14:35:20 by jmb]John Mark Bell2005-07-165-21/+9
| | | | | | | | | | | | | | | | | | - Convert Messages files to UTF-8 encoding. - Replace local_encoding_name() with platform specific utf8_[to,from]_local_encoding() functions - this allows mapping of 8bit characters 0x80->0x9f (inclusive). - All text that is rendered by the RISC OS Wimp is now converted to the system local encoding prior to display. - Lose the horrendous hack that was messages_get_key() - Menu text is now translated to system local encoding on the fly (if necessary) rather than at menu creation time. This allows the system alphabet to change under us and our menus remain usable. - The Languages menu now lists all languages that are present in the LangNames file. In the case of selecting the UI language, those languages which are not available are shaded. svn path=/import/netsurf/; revision=1796
* [project @ 2005-07-11 18:10:10 by jmb]John Mark Bell2005-07-112-12/+46
| | | | | | Cache previous iconv conversion descriptor svn path=/import/netsurf/; revision=1792
* [project @ 2005-07-02 18:18:48 by bursa]James Bursa2005-07-022-4/+4
| | | | | | Fix file comment for Doxygen. svn path=/import/netsurf/; revision=1778
* [project @ 2005-07-02 14:35:43 by jmb]John Mark Bell2005-07-021-17/+13
| | | | | | Tidy up svn path=/import/netsurf/; revision=1773
* [project @ 2005-06-28 23:46:16 by jmb]John Mark Bell2005-06-281-0/+12
| | | | | | Using Iconv to convert between an encoding and itself is pretty pointless. svn path=/import/netsurf/; revision=1772
* [project @ 2005-06-27 01:57:54 by adrianl]Adrian Lees2005-06-271-3/+5
| | | | | | Fix termination of output from url_escape svn path=/import/netsurf/; revision=1770
* [project @ 2005-06-26 22:18:37 by jmb]John Mark Bell2005-06-262-0/+50
| | | | | | | Improve clarity of use of utf8_to_enc. Remove use of curl_escape - url_escape does similar things, just better. svn path=/import/netsurf/; revision=1766
* [project @ 2005-06-07 21:29:26 by jmb]John Mark Bell2005-06-074-64/+52
| | | | | | | Lose cnv_str_local_enc and friends. UTF-8 conversion functions now return an enumerated type allowing for fallbacks, if appropriate. svn path=/import/netsurf/; revision=1744
* [project @ 2005-05-24 20:22:14 by bursa]James Bursa2005-05-242-2/+0
| | | | | | Remove unnecessary include. svn path=/import/netsurf/; revision=1737
* [project @ 2005-05-23 22:27:37 by jmb]John Mark Bell2005-05-231-1/+8
| | | | | | Tighten up entry conditions svn path=/import/netsurf/; revision=1735
* [project @ 2005-05-11 20:33:25 by bursa]James Bursa2005-05-112-240/+0
| | | | | | Remove no longer used memory pool code. svn path=/import/netsurf/; revision=1720
* [project @ 2005-04-30 14:31:48 by bursa]James Bursa2005-04-302-94/+123
| | | | | | Fix bug in url_up_re which caused /xy/../ not to be recognised when xy was 2 characters. Add defines for match part numbers. Simplify part 6(g) of url_join(). svn path=/import/netsurf/; revision=1704
* [project @ 2005-04-23 22:26:05 by jmb]John Mark Bell2005-04-231-2/+31
| | | | | | Make url_join match the spec - see http://www.ics.uci.edu/~fielding/url/test1.html for testcases. svn path=/import/netsurf/; revision=1682
* [project @ 2005-04-23 02:58:27 by adrianl]Adrian Lees2005-04-231-0/+21
| | | | | | Query windows, desktop save protocol, confirm abort/quit when downloads in progress svn path=/import/netsurf/; revision=1679
* [project @ 2005-04-21 21:36:23 by adrianl]Adrian Lees2005-04-211-0/+9
| | | | | | Dragging URLs into toolbar URL icon; keyboard actions in textareas conform to Wimp's icon editing; display of scale % fixed for 120% svn path=/import/netsurf/; revision=1676
* [project @ 2005-04-16 08:19:56 by adrianl]Adrian Lees2005-04-161-0/+1
| | | | | | missing #include svn path=/import/netsurf/; revision=1651
* [project @ 2005-04-16 05:16:18 by jmb]John Mark Bell2005-04-161-3/+0
| | | | | | Lose \todo svn path=/import/netsurf/; revision=1649
* [project @ 2005-04-16 05:10:08 by jmb]John Mark Bell2005-04-161-1/+2
| | | | | | Don't unescape characters 0x80->0xFF svn path=/import/netsurf/; revision=1648
* [project @ 2005-04-16 05:09:32 by jmb]John Mark Bell2005-04-164-102/+316
| | | | | | | | | | | | Split out UTF-8 handling functions. Submit URL-encoded forms in sensible encoding: * First entry in accept-charset list, if present * Document encoding, otherwise We may want to explicitly look for UTF-8, to save converting. Convert cnv_str_local_enc/cnv_local_enc_str to use iconv (they're now veneers for utf8_[to/from]_enc). Provide mechanism for looking up local system charset (derived from system alphabet, under RISC OS) svn path=/import/netsurf/; revision=1647
* [project @ 2005-04-15 05:52:04 by adrianl]Adrian Lees2005-04-151-0/+4
| | | | | | Defined NOF_ELEMENTS utility macro svn path=/import/netsurf/; revision=1635
* [project @ 2005-04-03 10:56:49 by bursa]James Bursa2005-04-032-0/+1198
| | | | | | Talloc memory allocation functions from Samba. svn path=/import/netsurf/; revision=1591