summaryrefslogtreecommitdiff
path: root/utils/url.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Update all source code file headers to reflect GPL version 2 only and ↵Vincent Sanders2007-08-081-3/+14
| | | | | | contain appropriate licence text svn path=/trunk/netsurf/; revision=3486
* Remove the netsurf/ from the include paths and rationalise use of <> vs "" ↵Daniel Silverstone2007-05-301-3/+3
| | | | | | | | | | | | | | in includes NetSurf includes are now done with ""s and other system includes with <>s as C intended. The scandeps tool has been updated to only look for ""ed includes, and to verify that the files exist in the tree before adding them to the dependency lines. The depend rule has therefore been augmented to make sure the autogenerated files are built before it is run. This is untested under self-hosted RISC OS builds. All else tested and works. svn path=/trunk/netsurf/; revision=3307
* Bring percent-encoding closer to what other browsers do.John Mark Bell2007-02-111-8/+13
| | | | svn path=/trunk/netsurf/; revision=3179
* Fix 1535120, 1528673Richard Wilson2006-12-011-0/+36
| | | | svn path=/trunk/netsurf/; revision=3087
* Update project URL.Michael Drake2006-11-271-1/+1
| | | | svn path=/trunk/netsurf/; revision=3073
* Correcly encode spaces for url-encoded form submission.John Mark Bell2006-09-191-6/+12
| | | | svn path=/trunk/netsurf/; revision=2960
* Expose url component functions.Richard Wilson2006-09-021-23/+27
| | | | svn path=/trunk/netsurf/; revision=2907
* 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-031-2/+2
| | | | svn path=/trunk/netsurf/; revision=2705
* Implement component-wise URL comparisonJohn Mark Bell2006-07-021-0/+66
| | | | svn path=/trunk/netsurf/; revision=2697
* 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
* Merge cookies changes into head - unvalidated transactions and a UI John Mark Bell2006-06-191-0/+52
| | | | | | 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
* Unify information databasesJohn Mark Bell2006-04-091-0/+59
| | | | svn path=/trunk/netsurf/; revision=2519
* [project @ 2006-02-19 18:26:23 by jmb]John Mark Bell2006-02-191-2/+113
| | | | | | | | Rewrite HTTP authentication. Fix extraction of realm from WWW-Authenticate header. Tidy up login dialog code. svn path=/import/netsurf/; revision=2085
* [project @ 2005-07-23 20:43:37 by bursa]James Bursa2005-07-231-98/+132
| | | | | | 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 14:35:20 by jmb]John Mark Bell2005-07-161-1/+2
| | | | | | | | | | | | | | | | | | - 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-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-261-0/+49
| | | | | | | 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-04-30 14:31:48 by bursa]James Bursa2005-04-301-93/+121
| | | | | | 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-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-02-14 22:35:05 by jmb]John Mark Bell2005-02-141-1/+1
| | | | | | Fix bug in regex svn path=/import/netsurf/; revision=1513
* [project @ 2005-02-14 21:20:26 by jmb]John Mark Bell2005-02-141-3/+3
| | | | | | | Make regex work with latest unixlib. Fix incorrect return value svn path=/import/netsurf/; revision=1512
* [project @ 2005-02-03 13:18:22 by rjw]Richard Wilson2005-02-031-1/+1
| | | | | | Implementation of URL suggestion svn path=/import/netsurf/; revision=1488
* [project @ 2005-01-02 14:41:07 by bursa]James Bursa2005-01-021-2/+2
| | | | | | regexec() returns int, not a pointer. svn path=/import/netsurf/; revision=1425
* [project @ 2005-01-02 04:01:21 by jmb]John Mark Bell2005-01-021-1/+1
| | | | | | Lose warning svn path=/import/netsurf/; revision=1420
* [project @ 2004-10-01 21:31:55 by jmb]John Mark Bell2004-10-011-6/+39
| | | | | | | | | | | | A somewhat better implementation of referrers which no longer sends the referer if the URL schemes don't match. Things to do: 1) Preservation of referer across redirects (see comment in browser.c:284) 2) GUI templates/code for configuration of referer sending (simple on/off toggle only) 3) Make referer sending when fetching objects/stylesheets for a page pay attention to option_send_referer? 4) Handle the case where the referer is in the form of http://moo:foo@mysite.com/ (ie the login details embedded in the referer - not good). svn path=/import/netsurf/; revision=1297
* [project @ 2004-08-14 15:07:19 by joty]John Tytgat2004-08-141-20/+17
| | | | | | | | - Rename len() to css_len2px(). - Less compiler warnings concerning float/int implicit casts. - More stddef.h type usuage. svn path=/import/netsurf/; revision=1232
* [project @ 2004-08-09 16:11:58 by jmb]John Mark Bell2004-08-091-97/+117
| | | | | | | Rework the interface of the URL handing module to allow for multiple error types. Modify save_complete URL rewriting appropriately. svn path=/import/netsurf/; revision=1206
* [project @ 2004-08-06 22:20:36 by jmb]John Mark Bell2004-08-061-4/+6
| | | | | | Make the likes of <a href="#foo"> work svn path=/import/netsurf/; revision=1188
* [project @ 2004-06-08 10:56:21 by bursa]James Bursa2004-06-081-2/+4
| | | | | | Ignore whitespace at the start and end of URLs. svn path=/import/netsurf/; revision=935
* [project @ 2004-05-07 19:04:59 by bursa]James Bursa2004-05-071-1/+2
| | | | | | Fix possible buffer under-read. svn path=/import/netsurf/; revision=840
* [project @ 2004-04-13 23:21:03 by bursa]James Bursa2004-04-131-2/+2
| | | | | | Make scheme matching stricter. svn path=/import/netsurf/; revision=779
* [project @ 2004-04-12 20:43:29 by bursa]James Bursa2004-04-121-3/+7
| | | | | | Fix bug in url_join(). svn path=/import/netsurf/; revision=763
* [project @ 2004-03-27 23:18:52 by bursa]James Bursa2004-03-271-3/+100
| | | | | | Implement url_nice() and make save boxes use it to choose the default filename. svn path=/import/netsurf/; revision=682
* [project @ 2004-03-02 18:02:17 by bursa]James Bursa2004-03-021-0/+437
Add new url functions and modify to use them. svn path=/import/netsurf/; revision=578