summaryrefslogtreecommitdiff
path: root/content/urldb.c
Commit message (Collapse)AuthorAgeFilesLines
* enable use of netsurf public suffix library to prevent supercookiesVincent Sanders2016-09-201-0/+18
|
* if the cookie is a session cookie indicate itVincent Sanders2016-09-131-0/+6
| | | | | previously session cookies were simply displayed as having an expiry in 1970 which was unhelpful.
* make urldb parsing of ascii data explicitVincent Sanders2016-09-101-7/+10
|
* ensure url database destructor cleans up correctlyVincent Sanders2016-08-091-2/+7
|
* extend url database unit testing to cover more APIVincent Sanders2016-08-091-10/+24
|
* fix urldb warning and test buildVincent Sanders2016-08-081-3/+4
|
* update urldb dump to use LOG rather than writing to stderr directlyVincent Sanders2016-08-081-8/+19
|
* msplit public url database API out for frontendsVincent Sanders2016-06-131-3/+5
|
* move bitmap API header to core include directoryVincent Sanders2016-05-261-1/+1
|
* move image content handlers to accomodate core build changesVincent Sanders2016-05-231-1/+1
|
* Reduce unecessary use of networking headersVincent Sanders2016-04-171-1/+1
| | | | | | | | The utility configuration header dragged in a number of bsd sockets and related API as a side effect of setting up the configuration. By splitting the header and API setup into a separate header only the small number of places that need the functionality explitly include it.
* urldb no longer uses curl directly but it does need correct network includesVincent Sanders2016-04-171-0/+1
| | | | | | The update to remove curl usage from urldb must pull in the utility config header instead to get inet_aton and such or compoles on some platforms fail.
* create date and time to seconds since epoch processing utility functionVincent Sanders2016-04-161-12/+11
| | | | | | | currently NetSurf uses curl_getdate to convert textural date and time strings into seconds since epoch. It is betetr to move this functionality to a utility function so curl_getdate can easily be replaced if required.
* revert urldb include fixes as tehy cause build issues elsewhere and failed ↵Vincent Sanders2016-02-121-4/+0
| | | | to fix the warning
* fix more freebsd warningsVincent Sanders2016-02-121-0/+4
|
* URLdb doesn't store 'mailto' urls, so add early exit to lookup.Michael Drake2016-01-081-0/+6
|
* Fix crazy indentation.Michael Drake2016-01-081-3/+2
|
* fixup all the remaining logging macro callsitesVincent Sanders2015-05-281-2/+2
| | | | | The semantic patch tool appears to have missed some difficult to reason about callsites which have now been manually cleaned up
* Change LOG() macro to be varadicVincent Sanders2015-05-281-21/+20
| | | | | | | | | | | | 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.
* Move bitmap operations into an operation table.Vincent Sanders2015-04-131-9/+12
| | | | | | | The generic bitmap handlers provided by each frontend are called back from the core and therefore should be in an operation table. This was one of the very few remaining interfaces stopping the core code from being split into a library.
* Remove url from content thumbnailers APIVincent Sanders2015-03-151-5/+7
| | | | | | | | | | | | | | | | The content thumbnailers for each frontend were being provided the contents url. This was only ever used to call the urldb thumbnail setting API. This changes it so the single callsite that passed a valid url adds the bitmap to that url itself in desktop_history.c instead of forcing every frontend to require the urldb API. Additionally the old API could pass the url as NULL which was causing asserts where this was not an expected parameter value. Because of this this fixes bug #2286 which was also present in the monkey frontend as both called nsurl_access() on the url without the NULL check and caused an assertion.
* Doxygen fixesVincent Sanders2014-11-091-2/+2
|
* restructure urldb sourceVincent Sanders2014-11-011-2478/+2322
| | | | | remove forward declarations and restructure. exported functions are also now documented in the urldb.h header.
* Move host_is_ip_address into urldb, as that's the only thing that cares.Michael Drake2014-10-311-7/+100
|
* remove the die API from the core.Vincent Sanders2014-10-261-12/+15
| | | | | | | | The die() API for abnormal termination does not belong within the core of netsurf and instead errors are propogated back to the callers. This is the final part of this change and the API is now only used within some parts of the frontends
* Remove unused #includeMichael Drake2014-05-151-1/+0
| | | | Persistent thumbnail code was ripped out of urldb ages ago.
* make nsurl_defragment() API more obvious and remove duplicated parameter ↵Vincent Sanders2014-03-091-14/+5
| | | | checking
* Get referer host from referer url.Michael Drake2013-11-181-1/+1
|
* Fix leak of path_query, when there is no host and scheme isn't file.Michael Drake2013-10-231-2/+6
|
* Remove old hotlist, cookies, and history_global_core modules.Michael Drake2013-09-021-1/+0
| | | | New versions of expand/collapse node functions for these modules aren't yet implemented.
* Use new cookie manager.Michael Drake2013-09-021-39/+8
|
* Make the parasitic hack of the old tree code more robust. Now if the ↵Michael Drake2013-07-261-11/+48
| | | | temp_treeview_test option is set, the global history and cookie manager will be replaced with their respective new implementations.
* Don't call cookies delete here, the cookie manager has already deleted it. ↵Michael Drake2013-07-241-1/+0
| | | | (Calling it only added the cookie again, cos the old cookie manager was braindead.)
* Fix up for cookies_old rename.Michael Drake2013-07-221-1/+1
|
* move options includeVincent Sanders2013-05-281-1/+1
|
* Use hash generated by nsurl rather than doing it ourselvesRob Kendrick (humdrum)2013-05-201-15/+15
|
* Add explanitory comment and make bloom size be a #defineRob Kendrick (humdrum)2013-05-171-2/+11
|
* urldb maintains a bloom filter of URLs contained within and consults it when ↵Rob Kendrick (humdrum)2013-05-171-1/+31
| | | | searching
* Rough implementation of httponly cookie supportDaniel Silverstone2012-11-091-5/+21
|
* Remove special RISC OS handling of thumbnail files. (The feature has been ↵Michael Drake2012-10-141-28/+1
| | | | broken for ages.)
* Fix up ripples from urldb change.Michael Drake2012-10-111-0/+2
|
* Port urldb to nsurl. Won't build since rest of NS needs ported to new urldb ↵Michael Drake2012-10-081-294/+344
| | | | | | | | | | | | | | | | | | API. + urldb API now takes URLs as nsurl, rather than string. + urldb internally stores full URLs with nsurl ref. + urldb internally stores schemes as lwc_string. + Load and save of cookies and URL file may be slower since we now need to create a nsurl. + Everything else should be faster, and there should be much less allocating/freeing and much less parsing of the same url over and over again. + Updated urldbtest for new urldb API. + urldbtest now cleans up at the end + Added lwc_string itterator to end of urldbtest + Adding some broken URLs (such as http:domain/) will now work, since nsurl fixes (http://domain/) them.
* Add comment.Michael Drake2012-10-051-0/+3
|
* Improve comment.Michael Drake2012-10-051-1/+1
|
* doxygen serious warning cleanupVincent Sanders2012-07-241-1/+1
|
* NetSurf options rework (a=vince r=daniels,jmb)Vincent Sanders2012-03-221-1/+3
| | | | svn path=/trunk/netsurf/; revision=13548
* Prevent use after free in cookie updateJohn Mark Bell2012-01-021-1/+2
| | | | svn path=/trunk/netsurf/; revision=13365
* Fix cookie expirationJohn Mark Bell2011-11-221-11/+9
| | | | svn path=/trunk/netsurf/; revision=13161
* Minor fix for path defaulting: retain rightmost / iff it's the first ↵John Mark Bell2011-01-291-4/+8
| | | | | | character in the path svn path=/trunk/netsurf/; revision=11524
* Brain fix on last night's IPv6 modificationsRob Kendrick2010-12-051-1/+1
| | | | svn path=/trunk/netsurf/; revision=11000