netsurf/riscos
John Tytgat 2261b616f6 - content/urldb.c(auth_data): Removed;
(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
2009-08-04 23:02:23 +00:00
..
configure Refactor text plotter and other font functions to remove dependency on CSS. 2009-07-21 10:59:53 +00:00
gui ploter refactor of rectangle handling 2009-07-08 22:04:40 +00:00
scripts Build !Run at compile time. This ensures that the WimpSlot size is always correct. 2008-12-09 11:12:58 +00:00
templates Use ccres (http://www.riscos.info/index.php/CCres) to compile textual 2008-08-06 21:46:53 +00:00
401login.c - content/urldb.c(auth_data): Removed; 2009-08-04 23:02:23 +00:00
artworks.c More aliasing 2009-03-28 19:19:05 +00:00
artworks.h Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text 2007-08-08 16:16:03 +00:00
assert.c - Compiler warning squash 2008-07-26 22:29:15 +00:00
awrender.s Add GCCSDK 4 support (cross-compile, static ELF only atm); Ignore codedocs directory during 'svn status'. 2008-03-22 00:49:56 +00:00
bitmap.c Squash warnings 2009-03-27 02:46:30 +00:00
bitmap.h Squash warnings 2009-03-27 02:46:30 +00:00
buffer.c Limit scope of manually-defined NDEBUG. Purge a bunch of redundant #undef NDEBUG. 2009-05-28 10:39:53 +00:00
buffer.h Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text 2007-08-08 16:16:03 +00:00
configure.c Insert a redundant return, as scan-build fails to notice that die() never returns. 2009-05-29 22:56:09 +00:00
configure.h Make ro_gui_configure_register static. 2008-08-04 21:52:28 +00:00
cookies.c Add missing return in error case. 2009-05-29 22:58:13 +00:00
cookies.h Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text 2007-08-08 16:16:03 +00:00
debugwin.c Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text 2007-08-08 16:16:03 +00:00
dialog.c Aliasing fixes 2009-03-28 01:15:02 +00:00
dialog.h Assorted saving-related changes (WIP) 2009-01-10 00:18:34 +00:00
download.c Lose redundant assignment 2009-05-29 22:59:42 +00:00
draw.c Squash warnings 2009-03-27 02:25:57 +00:00
draw.h - Include utils/config.h before each WITH_* test entiry enabling/disabling the object file. 2008-07-26 23:42:24 +00:00
filetype.c Squash warning. 2009-03-27 02:24:00 +00:00
font.c Merge LibCSS port to trunk. 2009-07-23 23:05:34 +00:00
global_history.c Add missing return statement. 2009-05-29 23:00:34 +00:00
global_history.h Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text 2007-08-08 16:16:03 +00:00
gui.c Merge LibCSS port to trunk. 2009-07-23 23:05:34 +00:00
gui.h Refactor text plotter and other font functions to remove dependency on CSS. 2009-07-21 10:59:53 +00:00
help.c Remove redundant variable 2009-05-29 23:02:13 +00:00
help.h Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text 2007-08-08 16:16:03 +00:00
history.c Aliasing fixes 2009-03-28 01:09:03 +00:00
hotlist.c Add missing return. 2009-05-29 23:02:59 +00:00
image.c Squash warning 2009-03-27 02:15:24 +00:00
image.h Merge LibCSS port to trunk. 2009-07-23 23:05:34 +00:00
menus.c NETSURF_USE_DRAW should apply to the Draw content handler only. 2009-06-20 19:38:56 +00:00
menus.h Next batch of menu changes; clarify some key presses 2009-02-01 02:19:01 +00:00
message.c - Compiler warning squash 2008-07-26 22:29:15 +00:00
message.h - Compiler warning squash 2008-07-26 22:29:15 +00:00
options.h - Compiler warning squash 2008-07-26 22:29:15 +00:00
oslib_pre7.h Update my e-mail address. 2008-08-05 01:30:31 +00:00
palettes.c Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text 2007-08-08 16:16:03 +00:00
palettes.h Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text 2007-08-08 16:16:03 +00:00
plotters.c Refactor text plotter and other font functions to remove dependency on CSS. 2009-07-21 10:59:53 +00:00
plugin.c Merge LibCSS port to trunk. 2009-07-23 23:05:34 +00:00
plugin.h Merge LibCSS port to trunk. 2009-07-23 23:05:34 +00:00
print.c Refactor text plotter and other font functions to remove dependency on CSS. 2009-07-21 10:59:53 +00:00
print.h Purge WITH_PRINT 2009-02-22 15:16:04 +00:00
query.c Assorted saving-related changes (WIP) 2009-01-10 00:18:34 +00:00
query.h Assorted saving-related changes (WIP) 2009-01-10 00:18:34 +00:00
save_complete.c Fix RISC OS and Amiga builds. 2009-07-27 18:01:54 +00:00
save_complete.h Purge WITH_SAVE_COMPLETE 2009-03-29 00:22:20 +00:00
save_draw.c Refactor text plotter and other font functions to remove dependency on CSS. 2009-07-21 10:59:53 +00:00
save_draw.h NETSURF_USE_DRAW should apply to the Draw content handler only. 2009-06-20 19:38:56 +00:00
save_pdf.c Divorce PDF export and printing. 2009-02-17 16:37:51 +00:00
save_pdf.h Update my e-mail address. 2008-08-05 01:30:31 +00:00
save.c Merge LibCSS port to trunk. 2009-07-23 23:05:34 +00:00
save.h RFix immediate menu-related problems; changes to follow 2009-01-31 03:43:06 +00:00
schedule.c make schedule_run return if it has active jobs to schedule 2009-02-11 22:33:55 +00:00
search.c Squash warnings. 2009-03-27 01:34:32 +00:00
sprite.c NETSURF_USE_DRAW should apply to the Draw content handler only. 2009-06-20 19:38:56 +00:00
sprite.h - Include utils/config.h before each WITH_* test entiry enabling/disabling the object file. 2008-07-26 23:42:24 +00:00
sslcert.c Merged revisions 7764-7977,7979-8058 via svnmerge from 2009-06-27 13:59:25 +00:00
textarea.c Merged revisions 7764-7977,7979-8058 via svnmerge from 2009-06-27 13:59:25 +00:00
textarea.h Merged revisions 7764-7977,7979-8058 via svnmerge from 2009-06-27 13:59:25 +00:00
textselection.c Merge LibCSS port to trunk. 2009-07-23 23:05:34 +00:00
textselection.h Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text 2007-08-08 16:16:03 +00:00
theme_install.c Add missing return statement. 2009-05-29 23:13:28 +00:00
theme.c Lose redundant code. Actually ensure that mode is initialised in ro_gui_theme_update_toolbar_icon(). 2009-05-28 12:38:36 +00:00
theme.h Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text 2007-08-08 16:16:03 +00:00
thumbnail.c Squash warnings 2009-03-27 01:24:32 +00:00
thumbnail.h - Compiler warning squash 2008-07-26 22:29:15 +00:00
tinct.h Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text 2007-08-08 16:16:03 +00:00
treeview.c Merged revisions 7764-7977,7979-8058 via svnmerge from 2009-06-27 13:59:25 +00:00
treeview.h - Compiler warning squash 2008-07-26 22:29:15 +00:00
ucstables.c Add missing break statement 2009-05-29 23:14:16 +00:00
ucstables.h - Compiler warning squash 2008-07-26 22:29:15 +00:00
uri.c Constify ro_uri_launch() 2009-07-01 12:05:51 +00:00
uri.h Constify ro_uri_launch() 2009-07-01 12:05:51 +00:00
url_complete.c Whoops. Lose spurious ')'. 2009-05-30 00:29:46 +00:00
url_complete.h s/wchar_t/uint32_t/g 2008-05-16 09:37:22 +00:00
url_protocol.c Constify ro_uri_launch() 2009-07-01 12:05:51 +00:00
url_protocol.h Purge WITH_URL 2009-02-22 15:19:06 +00:00
wimp_event.c Another wimp_window_state->wimp_open conversion. 2009-03-27 17:54:33 +00:00
wimp_event.h Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text 2007-08-08 16:16:03 +00:00
wimp.c Stop ro_gui_get_icon_string() returning a pointer to a location on the stack. 2009-05-30 00:26:04 +00:00
wimp.h - Teached ro_gui_set_icon_string() and ro_gui_get_icon_string() about the difference between direct and indirect icons. 2008-08-05 01:23:04 +00:00
wimputils.h Aliasing fun. This is ugly. 2009-03-28 19:10:29 +00:00
window.c Merge LibCSS port to trunk. 2009-07-23 23:05:34 +00:00