Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix FTP detection. Thanks to Etienne Cochard <etienne.cochard@gmail.com> ↵ | Daniel Silverstone | 2012-05-23 | 1 | -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 Revel | 2012-03-19 | 1 | -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 Revel | 2012-03-19 | 1 | -1/+5 |
| | | | | | | arrays. Possibly a FLEX_ARRAY_LEN macro could be defined in utils.h instead. svn path=/trunk/netsurf/; revision=13532 | ||||
* | Fix const correctness | John Mark Bell | 2011-12-04 | 1 | -3/+3 |
| | | | | svn path=/trunk/netsurf/; revision=13228 | ||||
* | Rename nsurl_enquire to nsurl_has_component. | Michael Drake | 2011-11-27 | 1 | -1/+1 |
| | | | | svn path=/trunk/netsurf/; revision=13183 | ||||
* | Don't escape '|'. | Michael Drake | 2011-11-23 | 1 | -1/+1 |
| | | | | svn path=/trunk/netsurf/; revision=13162 | ||||
* | Fix handling of bad mailto: urls. | Michael Drake | 2011-11-03 | 1 | -13/+71 |
| | | | | svn path=/trunk/netsurf/; revision=13113 | ||||
* | Fix empty port separator and redundant port removal when credentials are ↵ | Michael Drake | 2011-10-31 | 1 | -2/+2 |
| | | | | | | present. svn path=/trunk/netsurf/; revision=13108 | ||||
* | Test numbers before calling strncmp. | Michael Drake | 2011-10-31 | 1 | -6/+5 |
| | | | | svn path=/trunk/netsurf/; revision=13107 | ||||
* | Make sure port's just 80, before removing in http case. | Michael Drake | 2011-10-31 | 1 | -0/+2 |
| | | | | svn path=/trunk/netsurf/; revision=13106 | ||||
* | nsurl optimisation: Remove a load of branches into fewer. | Michael Drake | 2011-10-31 | 1 | -47/+46 |
| | | | | svn path=/trunk/netsurf/; revision=13105 | ||||
* | Remove some code that's not needed. Fix redundant port handling. | Michael Drake | 2011-10-31 | 1 | -17/+5 |
| | | | | svn path=/trunk/netsurf/; revision=13104 | ||||
* | Don't need to generate string from scratch in nsurl_defragment, just copy. | Michael Drake | 2011-10-31 | 1 | -7/+10 |
| | | | | svn path=/trunk/netsurf/; revision=13103 | ||||
* | nsurl optimisation: Don't use separate allocations for nsurl strings. | Michael Drake | 2011-10-31 | 1 | -347/+438 |
| | | | | svn path=/trunk/netsurf/; revision=13102 | ||||
* | Function for adding fragment onto nsurl. | Michael Drake | 2011-10-28 | 1 | -0/+60 |
| | | | | svn path=/trunk/netsurf/; revision=13087 | ||||
* | Don't need to rescan authority if there was no scheme. Bring documentation ↵ | Michael Drake | 2011-10-15 | 1 | -18/+20 |
| | | | | | | back into sync with code. Make pre-authority slash skipping more robust. svn path=/trunk/netsurf/; revision=13061 | ||||
* | Fix handling of no scheme | John Mark Bell | 2011-10-15 | 1 | -0/+2 |
| | | | | svn path=/trunk/netsurf/; revision=13055 | ||||
* | Move nsurl test suite into test/ | John Mark Bell | 2011-10-14 | 1 | -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 Drake | 2011-10-14 | 1 | -5/+0 |
| | | | | svn path=/trunk/netsurf/; revision=13048 | ||||
* | Improve bad URL handling. | Michael Drake | 2011-10-14 | 1 | -0/+2 |
| | | | | svn path=/trunk/netsurf/; revision=13045 | ||||
* | Fix double inclusion of host/port separator when login credentials are ↵ | Michael Drake | 2011-10-13 | 1 | -5/+51 |
| | | | | | | present. Add tests to tester. svn path=/trunk/netsurf/; revision=13040 | ||||
* | Add nsurl testing rig. | Michael Drake | 2011-10-11 | 1 | -0/+126 |
| | | | | svn path=/trunk/netsurf/; revision=13035 | ||||
* | Set scheme_end marker after advance due to leading whitespace. | Michael Drake | 2011-10-11 | 1 | -1/+1 |
| | | | | svn path=/trunk/netsurf/; revision=13034 | ||||
* | Pedantic spacing fix. | Michael Drake | 2011-10-08 | 1 | -1/+1 |
| | | | | svn path=/trunk/netsurf/; revision=13009 | ||||
* | Add function to get at url length. | Michael Drake | 2011-10-08 | 1 | -0/+9 |
| | | | | svn path=/trunk/netsurf/; revision=13003 | ||||
* | Handle joining to a base with no path. | Michael Drake | 2011-10-07 | 1 | -2/+4 |
| | | | | svn path=/trunk/netsurf/; revision=12983 | ||||
* | Only need to cope with trailing whitespace if it exists. | Michael Drake | 2011-10-06 | 1 | -10/+24 |
| | | | | svn path=/trunk/netsurf/; revision=12969 | ||||
* | Ensure trailing whitespace is ignored. | Michael Drake | 2011-10-05 | 1 | -0/+9 |
| | | | | svn path=/trunk/netsurf/; revision=12960 | ||||
* | Optimise nsurl__is_no_escape. | Michael Drake | 2011-10-05 | 1 | -93/+28 |
| | | | | svn path=/trunk/netsurf/; revision=12957 | ||||
* | Make sure the fragment remover sets the nsurl to NULL on failure. | Michael Drake | 2011-10-05 | 1 | -0/+1 |
| | | | | svn path=/trunk/netsurf/; revision=12956 | ||||
* | Namespaceing. | Michael Drake | 2011-10-05 | 1 | -11/+13 |
| | | | | svn path=/trunk/netsurf/; revision=12955 | ||||
* | Handle % in URL without 2 hex digits after. | Michael Drake | 2011-10-05 | 1 | -2/+8 |
| | | | | svn path=/trunk/netsurf/; revision=12953 | ||||
* | Fix upper case hex and return -1 for invalid hex. | Michael Drake | 2011-10-05 | 1 | -7/+11 |
| | | | | svn path=/trunk/netsurf/; revision=12952 | ||||
* | make url character checks table driven and remove expensive strchr | Vincent Sanders | 2011-10-05 | 1 | -19/+150 |
| | | | | svn path=/trunk/netsurf/; revision=12951 | ||||
* | Handle upper case hex. | Michael Drake | 2011-10-05 | 1 | -2/+2 |
| | | | | svn path=/trunk/netsurf/; revision=12950 | ||||
* | make nsurl__create_from_section correctly escape characters as per RFC3986 | Vincent Sanders | 2011-10-04 | 1 | -9/+24 |
| | | | | svn path=/trunk/netsurf/; revision=12948 | ||||
* | Ensure refcounts add up | John Mark Bell | 2011-10-03 | 1 | -0/+1 |
| | | | | svn path=/trunk/netsurf/; revision=12944 | ||||
* | Remove LOG. | Michael Drake | 2011-10-03 | 1 | -1/+1 |
| | | | | svn path=/trunk/netsurf/; revision=12936 | ||||
* | Fix host/path with no scheme. | Michael Drake | 2011-10-03 | 1 | -3/+5 |
| | | | | svn path=/trunk/netsurf/; revision=12935 | ||||
* | More conversion to nsurl. (box->href, object params, imagemaps, (i)frames) | Michael Drake | 2011-10-03 | 1 | -0/+6 |
| | | | | svn path=/trunk/netsurf/; revision=12933 | ||||
* | Fix parse of url with host name only. | Michael Drake | 2011-10-03 | 1 | -0/+2 |
| | | | | svn path=/trunk/netsurf/; revision=12925 | ||||
* | Fragment component doesn't include hash. | Michael Drake | 2011-10-03 | 1 | -2/+13 |
| | | | | svn path=/trunk/netsurf/; revision=12924 | ||||
* | Add function to get a nsurl with fragment removed from a nsurl. | Michael Drake | 2011-09-28 | 1 | -0/+32 |
| | | | | svn path=/trunk/netsurf/; revision=12903 | ||||
* | Squash erroneous warnings abuout uninitalised variable use from gcc 3.4.6. | Michael Drake | 2011-09-27 | 1 | -11/+11 |
| | | | | svn path=/trunk/netsurf/; revision=12901 | ||||
* | s/nsurl_get_lwc/nsurl_get_component/ | Michael Drake | 2011-09-27 | 1 | -1/+1 |
| | | | | svn path=/trunk/netsurf/; revision=12898 | ||||
* | Add nsurl_get_lwc function. | Michael Drake | 2011-09-26 | 1 | -0/+45 |
| | | | | svn path=/trunk/netsurf/; revision=12894 | ||||
* | Simply return bool from nsurl_compare. | Michael Drake | 2011-09-26 | 1 | -30/+31 |
| | | | | svn path=/trunk/netsurf/; revision=12889 | ||||
* | Change if/else if ladder to a switch. | Michael Drake | 2011-09-26 | 1 | -16/+21 |
| | | | | svn path=/trunk/netsurf/; revision=12887 | ||||
* | Add means to find out if a NetSurf URL object contains a given component. | Michael Drake | 2011-09-26 | 1 | -0/+59 |
| | | | | svn path=/trunk/netsurf/; revision=12883 | ||||
* | Don't return length from nsurl_access. | Michael Drake | 2011-09-26 | 1 | -2/+1 |
| | | | | svn path=/trunk/netsurf/; revision=12882 |