summaryrefslogtreecommitdiff
path: root/content/urldb.h
Commit message (Collapse)AuthorAgeFilesLines
* - content/urldb.c(auth_data): Removed;John Tytgat2009-08-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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
* Remove two unused functions.James Bursa2008-06-141-4/+0
| | | | svn path=/trunk/netsurf/; revision=4333
* Fix type of value_was_quoted member of cookie_data struct.John Mark Bell2008-05-161-1/+1
| | | | svn path=/trunk/netsurf/; revision=4166
* const fixes in plotters and history coreRob Kendrick2008-04-071-1/+1
| | | | svn path=/trunk/netsurf/; revision=4083
* Work on cookies to bring our behaviour closer to the spec and other browsers:John Mark Bell2008-01-171-0/+1
| | | | | | | | | | | | | | | | + Improve handling of quoted cookies -- now processes nested quotes correctly + Improve cookie output -- now knows which version it's outputting for and processes things appropriately + Add assertion that we're dealing with a domain cookie in the case where the cookie domain and URL host part don't match during validation. + Tidy up fix for broken domain cookie setting -- it's now less confusing to read. + Preserve cookie value quoting, regardless of its necessity. + Modify Cookie file format to save value_was_quoted flag -- version number bumped to 101. + Add more testcases. svn path=/trunk/netsurf/; revision=3708
* Update all source code file headers to reflect GPL version 2 only and ↵Vincent Sanders2007-08-081-3/+14
| | | | | | contain appropriate licence text svn path=/trunk/netsurf/; revision=3486
* Remove the netsurf/ from the include paths and rationalise use of <> vs "" ↵Daniel Silverstone2007-05-301-2/+2
| | | | | | | | | | | | | | in includes NetSurf includes are now done with ""s and other system includes with <>s as C intended. The scandeps tool has been updated to only look for ""ed includes, and to verify that the files exist in the tree before adding them to the dependency lines. The depend rule has therefore been augmented to make sure the autogenerated files are built before it is run. This is untested under self-hosted RISC OS builds. All else tested and works. svn path=/trunk/netsurf/; revision=3307
* Handle cookies in unverifiable transactionsJohn Mark Bell2007-01-271-2/+3
| | | | svn path=/trunk/netsurf/; revision=3151
* Add URLdb destruction functionalityJohn Mark Bell2006-12-081-0/+3
| | | | svn path=/trunk/netsurf/; revision=3115
* Update project URL.Michael Drake2006-11-271-1/+1
| | | | svn path=/trunk/netsurf/; revision=3073
* Experimental new frames code.Richard Wilson2006-09-021-0/+5
| | | | svn path=/trunk/netsurf/; revision=2906
* Allow the user to delete cookies.Richard Wilson2006-07-161-0/+1
| | | | svn path=/trunk/netsurf/; revision=2770
* Extent cookie_update API to allow notification of deleted domains. Fix nodes ↵Richard Wilson2006-07-161-1/+2
| | | | | | not being re-calculated. svn path=/trunk/netsurf/; revision=2765
* Add basic cookie viewer, make trees use textarea components for UTF8 ↵Richard Wilson2006-07-131-0/+26
| | | | | | editing, trim headers, fix tree redraw issues. svn path=/trunk/netsurf/; revision=2739
* Rewrite cookie parser to be more tolerant of junk inputJohn Mark Bell2006-06-241-3/+0
| | | | | | No longer need urldb_init; remove it. svn path=/trunk/netsurf/; revision=2643
* Merge cookies changes into head - unvalidated transactions and a UI John Mark Bell2006-06-191-0/+9
| | | | | | still need implementing. svn path=/trunk/netsurf/; revision=2632
* Provide persistent flag for urldb entries.John Mark Bell2006-06-141-0/+1
| | | | | | | Make hotlist use this, rather than abusing the last visited date. This fixes the hotlist being copied to global history issue. svn path=/trunk/netsurf/; revision=2619
* Use database's copy of URL for new global history entriesJohn Mark Bell2006-04-151-0/+1
| | | | svn path=/trunk/netsurf/; revision=2534
* Store URLs explicitly in URL database for faster access.John Mark Bell2006-04-111-2/+4
| | | | | | Iteration callbacks now passed url_data struct to remove need to look up svn path=/trunk/netsurf/; revision=2522
* Unify information databasesJohn Mark Bell2006-04-091-0/+65
svn path=/trunk/netsurf/; revision=2519