summaryrefslogtreecommitdiff
path: root/content/urldb.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Make urldb_add_url IPv6-awareRob Kendrick2010-12-041-6/+7
| | | | svn path=/trunk/netsurf/; revision=10990
* Merge treeview-redux to trunkJohn Mark Bell2010-10-051-40/+24
| | | | svn path=/trunk/netsurf/; revision=10865
* move url database test to test directoryVincent Sanders2010-06-291-214/+0
| | | | svn path=/trunk/netsurf/; revision=10589
* remove _GNU_SOURCE define from everywhere.Vincent Sanders2010-04-241-1/+0
| | | | | | strndup is not standard so provide an implementation. svn path=/trunk/netsurf/; revision=10474
* remove uneccissary includesVincent Sanders2010-01-291-1/+0
| | | | svn path=/trunk/netsurf/; revision=9931
* Treat decomposed URLs with no path component as being for the path "/".John Mark Bell2009-11-221-0/+7
| | | | svn path=/trunk/netsurf/; revision=9703
* Fix the other half of this NULL dereference issueJohn Mark Bell2009-11-221-1/+2
| | | | svn path=/trunk/netsurf/; revision=9695
* Ensure urldb file handle is closed on error.John Mark Bell2009-11-221-1/+6
| | | | svn path=/trunk/netsurf/; revision=9693
* Don't call memcpy when p->segment is NULLJohn Mark Bell2009-11-221-1/+2
| | | | svn path=/trunk/netsurf/; revision=9687
* - content/urldb.c(auth_data): Removed;John Tytgat2009-08-041-58/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (prot_space_data): Added, it lives linked in the leaf host_part struct and together with its scheme and port (which defins canonical root url) and realm this defines a protection space. (path_data): Removed auth_data field and replaced by a prot_space_data pointer. (host_part::prot_space): Added linked list of protection space data structs. (urldb_get_auth_details): Given an URL fetch fetches its auth. (urldb_set_auth_details): Creates or updates the contents of a protection space to which given URL belongs. (urldb_destroy_host_tree): Delete protection data space structures using urldb_destroy_prot_space. (urldb_destroy_prot_space): Added. - content/urldb.h(urldb_get_auth_details): Added realm parameter. - content/fetchers/fetch_curl.c(fetch_curl_set_options): Update urldb_get_auth_details call (we don't know realm at this point). - content/fetchcache.c(fetchcache_callback, fetchcache_auth): At FETCH_AUTH, use realm to determine if we really don't know auth data and if so, refetch content. - content/content.h(struct content): Add content::tried_with_auth. - content/content.c(content_create): Initialize content::tried_with_auth. - riscos/401login.c(ro_gui_401login_open): Show known authentication data in dialogue so user can see what was wrong with it and correct it. Solves bug #2830829. svn path=/trunk/netsurf/; revision=9045
* Drop pkg-config on cairo, not needed here. Added const.John Tytgat2009-08-021-2/+2
| | | | svn path=/trunk/netsurf/; revision=8985
* Fix serialisation of page titles.John Mark Bell2009-07-041-1/+1
| | | | svn path=/trunk/netsurf/; revision=8313
* Remove spurious "domain" variable from urldb_iterate_partial().John Mark Bell2009-05-281-4/+4
| | | | | | | Lose unnecessary increment of rptr in cookie domain prefix matching. Record that, in the long term, we need some kind of TLD service to consult so that (e.g.) .co.uk is not considered a valid domain prefix. svn path=/trunk/netsurf/; revision=7600
* Fix url completion when last character in url bar is a /John Mark Bell2009-04-161-6/+7
| | | | svn path=/trunk/netsurf/; revision=7105
* Ensure that neither the current fetch host nor the referrer is an IP address ↵John Mark Bell2009-02-131-3/+15
| | | | | | before attempting to domain match them. svn path=/trunk/netsurf/; revision=6466
* Even fuzzier domain matching.John Mark Bell2009-02-131-23/+45
| | | | svn path=/trunk/netsurf/; revision=6463
* Document the assumption that all URLs passed into urldb are already ↵John Mark Bell2009-02-061-0/+4
| | | | | | normalised. Violate this precondition at your peril. svn path=/trunk/netsurf/; revision=6371
* Let's try that again. Now actually passes the regression tests.John Mark Bell2009-01-311-6/+7
| | | | svn path=/trunk/netsurf/; revision=6317
* Fix urldb_match_path().John Mark Bell2009-01-311-5/+13
| | | | | | Fix test code. svn path=/trunk/netsurf/; revision=6316
* urldb_destroy_path_tree() -> iterationJohn Mark Bell2009-01-311-9/+24
| | | | svn path=/trunk/netsurf/; revision=6315
* urldb_save_cookie_paths() -> iterationJohn Mark Bell2009-01-311-15/+27
| | | | svn path=/trunk/netsurf/; revision=6314
* Initialising variables helpsJohn Mark Bell2009-01-311-1/+1
| | | | svn path=/trunk/netsurf/; revision=6313
* urldb_delete_cookie_paths() -> iterationJohn Mark Bell2009-01-311-18/+35
| | | | svn path=/trunk/netsurf/; revision=6312
* Make urldb_dump_paths iterateJohn Mark Bell2009-01-311-10/+21
| | | | svn path=/trunk/netsurf/; revision=6311
* Make urldb_match_path() iterate.John Mark Bell2009-01-311-13/+16
| | | | svn path=/trunk/netsurf/; revision=6310
* Make urldb_iterate_entries_path use iterationJohn Mark Bell2009-01-301-28/+38
| | | | svn path=/trunk/netsurf/; revision=6304
* Pedantic linewrappingJohn Mark Bell2009-01-301-5/+10
| | | | svn path=/trunk/netsurf/; revision=6303
* Make urldb_iterate_partial_path iterate over the tree and not recurse.John Mark Bell2009-01-301-25/+59
| | | | svn path=/trunk/netsurf/; revision=6302