summaryrefslogtreecommitdiff
path: root/utils/nsurl.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove fragment from nsurl hash.Michael Drake2015-03-271-3/+0
|
* remove some warnings from freebsd buildVincent Sanders2014-12-211-0/+1
|
* fix dumb mistake in missing a close bracket.Vincent Sanders2014-11-041-1/+1
|
* change logic to check for false instead of not true to fix coverity 1250328Vincent Sanders2014-11-041-4/+4
|
* Remove unused variable.Michael Drake2014-10-301-1/+0
|
* Add a nsurl_nice, which can replace url_nice.Michael Drake2014-10-301-0/+104
|
* update nsurl file header to contain references to the specifications it ↵Vincent Sanders2014-10-291-2/+8
| | | | implements
* mailto urls don't have passwords or ports, so we don't need to look for ':'.Michael Drake2014-08-041-2/+4
|
* Add debug.Michael Drake2014-08-041-0/+16
|
* Put ultra-verbose logging inside NSURL_DEBUG #ifdef.Michael Drake2014-06-091-1/+3
|
* fallback to old url creation behaviour if the IDNA host parse failsVincent Sanders2014-06-091-22/+59
|
* IDNA2008 support.Chris Young2014-06-041-5/+16
|
* cleanup utils header, remove cruft and add documentationVincent Sanders2014-05-111-0/+11
|
* make nsurl_defragment() API more obvious and remove duplicated parameter ↵Vincent Sanders2014-03-091-0/+9
| | | | checking
* Save a call to lwc_string_length.Michael Drake2014-02-151-3/+2
|
* Ensure allocation includes space for fragment.Michael Drake2014-02-151-4/+6
|
* Reject creation of http(s) urls without hosts.Michael Drake2014-02-111-25/+53
|
* Just ref a corestring.Michael Drake2014-01-241-5/+3
|
* Add function to get a nsurl's hash value.Michael Drake2013-05-171-0/+65
|
* Fix handling of junk inputJohn-Mark Bell2013-01-121-0/+3
|
* Check if box with imagemap at point has area at point.Michael Drake2012-11-221-3/+1
|
* make nsurl_access() not assert with being passed a NULL url as it is assumed ↵Vincent Sanders2012-11-221-1/+3
| | | | elsewhere this will never fail.
* Fix join with rel part of " ". Add a few tests.Michael Drake2012-11-021-0/+7
|
* More useful title info for images.Michael Drake2012-10-241-0/+32
|
* Add nsurl_replace_query. Add tests. Make tester itterate remaining ↵Michael Drake2012-10-111-0/+83
| | | | lwc_strings.
* Fix dead store.Michael Drake2012-10-111-1/+1
|
* Ensure non-void functions have a return at the end, even though it shouldn't ↵Michael Drake2012-10-111-0/+4
| | | | get there, to squash warning.
* Add nusrl_parent function, to get parent path URL.Michael Drake2012-10-061-8/+106
|
* Don't let it read off the front of empty relative URLs.Michael Drake2012-10-021-2/+2
|
* Dodge a clang warning.Michael Drake2012-08-091-5/+7
|
* Fix FTP detection. Thanks to Etienne Cochard <etienne.cochard@gmail.com> ↵Daniel Silverstone2012-05-231-1/+1
| | | | | | for spotting the bug. svn path=/trunk/netsurf/; revision=13930
* Reworked r13532 in a cleaner way. The FLEX_ARRAY_LEN_DECL macro from utils.h ↵François Revel2012-03-191-5/+1
| | | | | | should be used when declaring an empty array at end of struct. svn path=/trunk/netsurf/; revision=13535
* Workaround use of C99 flex array. gcc2 did not support it, only 0-len ↵François Revel2012-03-191-1/+5
| | | | | | arrays. Possibly a FLEX_ARRAY_LEN macro could be defined in utils.h instead. svn path=/trunk/netsurf/; revision=13532
* Fix const correctnessJohn Mark Bell2011-12-041-3/+3
| | | | svn path=/trunk/netsurf/; revision=13228
* Rename nsurl_enquire to nsurl_has_component.Michael Drake2011-11-271-1/+1
| | | | 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-281-0/+60
| | | | svn path=/trunk/netsurf/; revision=13087
* 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
* 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