summaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* Fix const correctnessJohn Mark Bell2011-12-042-4/+4
| | | | svn path=/trunk/netsurf/; revision=13228
* Rename nsurl_enquire to nsurl_has_component.Michael Drake2011-11-272-2/+2
| | | | svn path=/trunk/netsurf/; revision=13183
* Don't escape '|'.Michael Drake2011-11-231-1/+1
| | | | svn path=/trunk/netsurf/; revision=13162
* Fix handling of bad mailto: urls.Michael Drake2011-11-031-13/+71
| | | | svn path=/trunk/netsurf/; revision=13113
* Fix empty port separator and redundant port removal when credentials are ↵Michael Drake2011-10-311-2/+2
| | | | | | present. svn path=/trunk/netsurf/; revision=13108
* Test numbers before calling strncmp.Michael Drake2011-10-311-6/+5
| | | | svn path=/trunk/netsurf/; revision=13107
* Make sure port's just 80, before removing in http case.Michael Drake2011-10-311-0/+2
| | | | svn path=/trunk/netsurf/; revision=13106
* nsurl optimisation: Remove a load of branches into fewer.Michael Drake2011-10-311-47/+46
| | | | svn path=/trunk/netsurf/; revision=13105
* Remove some code that's not needed. Fix redundant port handling.Michael Drake2011-10-311-17/+5
| | | | svn path=/trunk/netsurf/; revision=13104
* Don't need to generate string from scratch in nsurl_defragment, just copy.Michael Drake2011-10-311-7/+10
| | | | svn path=/trunk/netsurf/; revision=13103
* nsurl optimisation: Don't use separate allocations for nsurl strings.Michael Drake2011-10-311-347/+438
| | | | svn path=/trunk/netsurf/; revision=13102
* Function for adding fragment onto nsurl.Michael Drake2011-10-282-1/+79
| | | | svn path=/trunk/netsurf/; revision=13087
* Appease ancient Perl installs.John Mark Bell2011-10-241-5/+27
| | | | svn path=/trunk/netsurf/; revision=13079
* Use local variables instead of global filehandlesJohn Mark Bell2011-10-171-17/+17
| | | | svn path=/trunk/netsurf/; revision=13068
* Don't need to rescan authority if there was no scheme. Bring documentation ↵Michael Drake2011-10-151-18/+20
| | | | | | back into sync with code. Make pre-authority slash skipping more robust. svn path=/trunk/netsurf/; revision=13061
* Move timeval_subtract to utils/log.c & make it static, as it's not used ↵John Mark Bell2011-10-153-30/+29
| | | | | | anywhere else svn path=/trunk/netsurf/; revision=13059
* Fix handling of no schemeJohn Mark Bell2011-10-151-0/+2
| | | | svn path=/trunk/netsurf/; revision=13055
* Move nsurl test suite into test/John Mark Bell2011-10-141-175/+7
| | | | | | | | Fix up llcache tester to reflect nsurl changes Make handling of http:,http:/,http:// consistent Fix buffer overflow when presented with an input string: "http://" svn path=/trunk/netsurf/; revision=13051
* Remove unused variable.Michael Drake2011-10-141-5/+0
| | | | svn path=/trunk/netsurf/; revision=13048
* Improve bad URL handling.Michael Drake2011-10-141-0/+2
| | | | svn path=/trunk/netsurf/; revision=13045
* Fix double inclusion of host/port separator when login credentials are ↵Michael Drake2011-10-131-5/+51
| | | | | | present. Add tests to tester. svn path=/trunk/netsurf/; revision=13040
* Add nsurl testing rig.Michael Drake2011-10-111-0/+126
| | | | svn path=/trunk/netsurf/; revision=13035
* Set scheme_end marker after advance due to leading whitespace.Michael Drake2011-10-111-1/+1
| | | | svn path=/trunk/netsurf/; revision=13034
* Pedantic spacing fix.Michael Drake2011-10-081-1/+1
| | | | svn path=/trunk/netsurf/; revision=13009
* Add function to get at url length.Michael Drake2011-10-082-0/+20
| | | | svn path=/trunk/netsurf/; revision=13003
* Handle joining to a base with no path.Michael Drake2011-10-071-2/+4
| | | | svn path=/trunk/netsurf/; revision=12983
* Remove unused url_normalise() and don't include regex.h.Michael Drake2011-10-062-199/+1
| | | | svn path=/trunk/netsurf/; revision=12971
* Only need to cope with trailing whitespace if it exists.Michael Drake2011-10-061-10/+24
| | | | svn path=/trunk/netsurf/; revision=12969
* Ensure trailing whitespace is ignored.Michael Drake2011-10-051-0/+9
| | | | svn path=/trunk/netsurf/; revision=12960
* Optimise nsurl__is_no_escape.Michael Drake2011-10-051-93/+28
| | | | svn path=/trunk/netsurf/; revision=12957
* Make sure the fragment remover sets the nsurl to NULL on failure.Michael Drake2011-10-051-0/+1
| | | | svn path=/trunk/netsurf/; revision=12956
* Namespaceing.Michael Drake2011-10-051-11/+13
| | | | svn path=/trunk/netsurf/; revision=12955
* Handle % in URL without 2 hex digits after.Michael Drake2011-10-051-2/+8
| | | | svn path=/trunk/netsurf/; revision=12953
* Fix upper case hex and return -1 for invalid hex.Michael Drake2011-10-051-7/+11
| | | | svn path=/trunk/netsurf/; revision=12952
* make url character checks table driven and remove expensive strchrVincent Sanders2011-10-051-19/+150
| | | | svn path=/trunk/netsurf/; revision=12951
* Handle upper case hex.Michael Drake2011-10-051-2/+2
| | | | svn path=/trunk/netsurf/; revision=12950
* make nsurl__create_from_section correctly escape characters as per RFC3986Vincent Sanders2011-10-042-9/+34
| | | | svn path=/trunk/netsurf/; revision=12948
* Ensure refcounts add upJohn Mark Bell2011-10-031-0/+1
| | | | svn path=/trunk/netsurf/; revision=12944
* Remove LOG.Michael Drake2011-10-031-1/+1
| | | | svn path=/trunk/netsurf/; revision=12936
* Fix host/path with no scheme.Michael Drake2011-10-031-3/+5
| | | | svn path=/trunk/netsurf/; revision=12935
* More conversion to nsurl. (box->href, object params, imagemaps, (i)frames)Michael Drake2011-10-031-0/+6
| | | | svn path=/trunk/netsurf/; revision=12933
* Fix parse of url with host name only.Michael Drake2011-10-031-0/+2
| | | | svn path=/trunk/netsurf/; revision=12925
* Fragment component doesn't include hash.Michael Drake2011-10-031-2/+13
| | | | svn path=/trunk/netsurf/; revision=12924
* lwc version of ring function.Michael Drake2011-09-291-0/+19
| | | | svn path=/trunk/netsurf/; revision=12911
* Add function to get a nsurl with fragment removed from a nsurl.Michael Drake2011-09-282-0/+47
| | | | svn path=/trunk/netsurf/; revision=12903
* Squash erroneous warnings abuout uninitalised variable use from gcc 3.4.6.Michael Drake2011-09-271-11/+11
| | | | svn path=/trunk/netsurf/; revision=12901
* Port fetch layer to nsurl. Remove unused fetch_get_referer function.Michael Drake2011-09-271-4/+4
| | | | svn path=/trunk/netsurf/; revision=12899
* s/nsurl_get_lwc/nsurl_get_component/Michael Drake2011-09-272-2/+2
| | | | svn path=/trunk/netsurf/; revision=12898
* Add nsurl_get_lwc function.Michael Drake2011-09-262-0/+69
| | | | svn path=/trunk/netsurf/; revision=12894
* Simply return bool from nsurl_compare.Michael Drake2011-09-262-32/+32
| | | | svn path=/trunk/netsurf/; revision=12889