Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixup nsurl handling to avoid locale specific character type implementation | Vincent Sanders | 2016-03-14 | 1 | -110/+224 |
| | |||||
* | Stop utf8 conversion leaking its strings. | Michael Drake | 2015-10-31 | 1 | -8/+16 |
| | |||||
* | Don't fail on URLs with no host. | Michael Drake | 2015-10-31 | 1 | -8/+4 |
| | |||||
* | Style guide adherence. | Michael Drake | 2015-10-31 | 1 | -11/+16 |
| | |||||
* | Make nsurl utf8 string conversion function consistent with nsurl API. | Michael Drake | 2015-10-25 | 1 | -1/+1 |
| | |||||
* | Rework IDN URL retrieval to return an nserror | Chris Young | 2015-10-24 | 1 | -26/+27 |
| | |||||
* | Add URL fragment | Chris Young | 2015-10-24 | 1 | -1/+1 |
| | |||||
* | Check we've obtained the host string | Chris Young | 2015-10-24 | 1 | -0/+5 |
| | |||||
* | Show the IDN decoded form in the URL bar on GTK if the option is set. | Chris Young | 2015-10-24 | 1 | -1/+1 |
| | |||||
* | Add a function to retrieve the decoded version of IDNA URLs | Chris Young | 2015-10-24 | 1 | -0/+45 |
| | |||||
* | Add tests for all asserts in nsurl API and for access and access_leaf | Vincent Sanders | 2015-07-09 | 1 | -0/+4 |
| | |||||
* | Add asserts to ensure operations not passed bad pointers | Vincent Sanders | 2015-07-09 | 1 | -0/+4 |
| | |||||
* | Improve component documentation. | Michael Drake | 2015-07-09 | 1 | -3/+12 |
| | |||||
* | Fix a signed comparison error in nsurl parsing. | Vincent Sanders | 2015-07-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | In utils/nsurl.c the function nsurl__create_from_section() has a section dealing with non-redundant ports (starting line 973). lwc_intern_string() was being called with negative lengths and as it takes a size_t (unsigned) so is getting passed a very large length which causes a segfault. this is supposed to be protected by the flag setting on line 969 however the arithmetic is all *unsigned* so the condition never matches (gdb) p length - (colon - pegs->at + skip) $9 = 18446744073709551608 changing the check arithmetic to be a simple comparison against length prevents this issue and reduces the amount of computation required. | ||||
* | Change LOG() macro to be varadic | Vincent Sanders | 2015-05-28 | 1 | -26/+23 |
| | | | | | | | | | | | | This changes the LOG macro to be varadic removing the need for all callsites to have double bracketing and allows for future improvement on how we use the logging macros. The callsites were changed with coccinelle and the changes checked by hand. Compile tested for several frontends but not all. A formatting annotation has also been added which allows the compiler to check the parameters and types passed to the logging. | ||||
* | Remove fragment from nsurl hash. | Michael Drake | 2015-03-27 | 1 | -3/+0 |
| | |||||
* | remove some warnings from freebsd build | Vincent Sanders | 2014-12-21 | 1 | -0/+1 |
| | |||||
* | fix dumb mistake in missing a close bracket. | Vincent Sanders | 2014-11-04 | 1 | -1/+1 |
| | |||||
* | change logic to check for false instead of not true to fix coverity 1250328 | Vincent Sanders | 2014-11-04 | 1 | -4/+4 |
| | |||||
* | Remove unused variable. | Michael Drake | 2014-10-30 | 1 | -1/+0 |
| | |||||
* | Add a nsurl_nice, which can replace url_nice. | Michael Drake | 2014-10-30 | 1 | -0/+104 |
| | |||||
* | update nsurl file header to contain references to the specifications it ↵ | Vincent Sanders | 2014-10-29 | 1 | -2/+8 |
| | | | | implements | ||||
* | mailto urls don't have passwords or ports, so we don't need to look for ':'. | Michael Drake | 2014-08-04 | 1 | -2/+4 |
| | |||||
* | Add debug. | Michael Drake | 2014-08-04 | 1 | -0/+16 |
| | |||||
* | Put ultra-verbose logging inside NSURL_DEBUG #ifdef. | Michael Drake | 2014-06-09 | 1 | -1/+3 |
| | |||||
* | fallback to old url creation behaviour if the IDNA host parse fails | Vincent Sanders | 2014-06-09 | 1 | -22/+59 |
| | |||||
* | IDNA2008 support. | Chris Young | 2014-06-04 | 1 | -5/+16 |
| | |||||
* | cleanup utils header, remove cruft and add documentation | Vincent Sanders | 2014-05-11 | 1 | -0/+11 |
| | |||||
* | make nsurl_defragment() API more obvious and remove duplicated parameter ↵ | Vincent Sanders | 2014-03-09 | 1 | -0/+9 |
| | | | | checking | ||||
* | Save a call to lwc_string_length. | Michael Drake | 2014-02-15 | 1 | -3/+2 |
| | |||||
* | Ensure allocation includes space for fragment. | Michael Drake | 2014-02-15 | 1 | -4/+6 |
| | |||||
* | Reject creation of http(s) urls without hosts. | Michael Drake | 2014-02-11 | 1 | -25/+53 |
| | |||||
* | Just ref a corestring. | Michael Drake | 2014-01-24 | 1 | -5/+3 |
| | |||||
* | Add function to get a nsurl's hash value. | Michael Drake | 2013-05-17 | 1 | -0/+65 |
| | |||||
* | Fix handling of junk input | John-Mark Bell | 2013-01-12 | 1 | -0/+3 |
| | |||||
* | Check if box with imagemap at point has area at point. | Michael Drake | 2012-11-22 | 1 | -3/+1 |
| | |||||
* | make nsurl_access() not assert with being passed a NULL url as it is assumed ↵ | Vincent Sanders | 2012-11-22 | 1 | -1/+3 |
| | | | | elsewhere this will never fail. | ||||
* | Fix join with rel part of " ". Add a few tests. | Michael Drake | 2012-11-02 | 1 | -0/+7 |
| | |||||
* | More useful title info for images. | Michael Drake | 2012-10-24 | 1 | -0/+32 |
| | |||||
* | Add nsurl_replace_query. Add tests. Make tester itterate remaining ↵ | Michael Drake | 2012-10-11 | 1 | -0/+83 |
| | | | | lwc_strings. | ||||
* | Fix dead store. | Michael Drake | 2012-10-11 | 1 | -1/+1 |
| | |||||
* | Ensure non-void functions have a return at the end, even though it shouldn't ↵ | Michael Drake | 2012-10-11 | 1 | -0/+4 |
| | | | | get there, to squash warning. | ||||
* | Add nusrl_parent function, to get parent path URL. | Michael Drake | 2012-10-06 | 1 | -8/+106 |
| | |||||
* | Don't let it read off the front of empty relative URLs. | Michael Drake | 2012-10-02 | 1 | -2/+2 |
| | |||||
* | Dodge a clang warning. | Michael Drake | 2012-08-09 | 1 | -5/+7 |
| | |||||
* | 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 |