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
Michael Drake
83acae8e1f
Add default line-height for form elements. Fixes squashed Google homepage.
...
svn path=/trunk/netsurf/; revision=9012
2009-08-03 09:10:45 +00:00
John Mark Bell
9c9b5e9606
Search pkg-config for libcares, too.
...
svn path=/trunk/netsurf/; revision=9004
2009-08-03 00:21:10 +00:00
John Mark Bell
43941c53e8
C89.
...
svn path=/trunk/netsurf/; revision=9000
2009-08-02 21:51:24 +00:00
John Mark Bell
0665611cc2
Port to modified libcss API.
...
svn path=/trunk/netsurf/; revision=8997
2009-08-02 19:19:43 +00:00
John Tytgat
9d678ef7cd
Drop pkg-config on cairo, not needed here. Added const.
...
svn path=/trunk/netsurf/; revision=8985
2009-08-02 12:07:29 +00:00
François Revel
d16eb2d650
Typo.
...
svn path=/trunk/netsurf/; revision=8984
2009-08-02 11:31:35 +00:00
John Tytgat
7949bb9c5a
Update RISC OS cross building notes.
...
svn path=/trunk/netsurf/; revision=8953
2009-08-01 17:56:14 +00:00
Chris Young
3d3bd874dc
Disable resize with contents. This should stop the resize lockups once and for all.
...
svn path=/trunk/netsurf/; revision=8950
2009-08-01 13:16:16 +00:00
John Mark Bell
ed16129b0c
Prevent negative calculated width of replaced inlines in layout_minmax_line().
...
svn path=/trunk/netsurf/; revision=8933
2009-08-01 00:26:02 +00:00
John Mark Bell
3128ec1cdc
Actually handle failure to allocate bitmap structure or retrieve its data buffer pointer. I hope these longjmps are valid -- libpng's documentation is unhelpfully vague on this subject.
...
svn path=/trunk/netsurf/; revision=8924
2009-07-31 14:01:49 +00:00
Chris Young
e1004a0a81
Make polling function return after a fetch_free operation, as under certain (unknown)
...
circumstances it starts wandering off to nodes which don't exist (the same happens
when using NetSurf's rings).
Remove debug
svn path=/trunk/netsurf/; revision=8915
2009-07-30 21:59:26 +00:00
Chris Young
0cd96bdd5e
Correct definition
...
svn path=/trunk/netsurf/; revision=8899
2009-07-29 22:00:07 +00:00
Chris Young
d2c29dbe95
Keep a copy of the next_fetcher pointer to avoid a situation where the fetch gets
...
freed during the poll routine and the next pointer can no longer be read.
svn path=/trunk/netsurf/; revision=8898
2009-07-29 18:51:35 +00:00
Michael Drake
b18c0b0eca
Make it match the others in style.
...
svn path=/trunk/netsurf/; revision=8890
2009-07-29 11:56:26 +00:00
Michael Drake
0d5c1eada9
Remove the docs that have been moved to the wiki.
...
svn path=/trunk/netsurf/; revision=8889
2009-07-29 11:44:13 +00:00
Michael Drake
623808380a
Remove line that was removed in the other branch.
...
svn path=/trunk/netsurf/; revision=8887
2009-07-29 11:26:04 +00:00
Michael Drake
39546fd504
Merged revisions 8808,8862-8863 via svnmerge from
...
svn://svn.netsurf-browser.org/branches/paulblokus/textinput
........
r8808 | paulblokus | 2009-07-26 22:52:53 +0100 (Sun, 26 Jul 2009) | 2 lines
don't recalculate height already aviable
........
r8862 | paulblokus | 2009-07-28 21:39:06 +0100 (Tue, 28 Jul 2009) | 2 lines
added css.c and css.h files which caused svn errors after using svnmerge
........
r8863 | paulblokus | 2009-07-28 21:43:53 +0100 (Tue, 28 Jul 2009) | 3 lines
changed textarea redraw logic
little fix of KEY_DELETE_LINE_START jandling
........
svn path=/trunk/netsurf/; revision=8886
2009-07-29 11:03:34 +00:00
John Mark Bell
efc284836b
Sync with new libcss API. There's huge amounts of room for improvement in this implementation.
...
svn path=/trunk/netsurf/; revision=8883
2009-07-29 09:59:29 +00:00
Michael Drake
c63148ba63
Remove content doc, it's now on the wiki.
...
svn path=/trunk/netsurf/; revision=8852
2009-07-28 13:33:13 +00:00
Michael Drake
77c6009c86
Remove overview document which has already been migrated to the wiki. The rest will follow.
...
svn path=/trunk/netsurf/; revision=8851
2009-07-28 13:10:41 +00:00
Michael Drake
a6014fc344
Add README file.
...
svn path=/trunk/netsurf/; revision=8850
2009-07-28 13:09:42 +00:00
Michael Drake
e3861bbc1a
Remove dead doc.
...
svn path=/trunk/netsurf/; revision=8847
2009-07-28 11:52:23 +00:00
John Mark Bell
1b60cd63b7
Include size of lwc_context in content size.
...
svn path=/trunk/netsurf/; revision=8835
2009-07-28 00:21:36 +00:00
John Mark Bell
c75a613546
Add stylesheet size + size of imported sheets onto CSS content size.
...
Remove imported contents once we've fetched them and imported them into their parent (once this has happened, the content object is just an empty shell, so not worth keeping around).
svn path=/trunk/netsurf/; revision=8831
2009-07-27 19:40:55 +00:00
John Mark Bell
2c8a235a5d
Shrink allocated <style> source data block to minimum.
...
svn path=/trunk/netsurf/; revision=8828
2009-07-27 18:32:55 +00:00
John Mark Bell
bbdb07fe16
Fix RISC OS and Amiga builds.
...
The sooner this stuff is in the core, the better.
svn path=/trunk/netsurf/; revision=8827
2009-07-27 18:01:54 +00:00
John Mark Bell
3be8193500
Port r8808 to trunk.
...
svn path=/trunk/netsurf/; revision=8825
2009-07-27 14:58:06 +00:00
John Mark Bell
1916193813
Slight optimisation
...
svn path=/trunk/netsurf/; revision=8824
2009-07-27 14:57:40 +00:00
Michael Drake
abd76d327e
Delete old CSS document, because it's out-of-date. Should we move the other docs to the wiki?
...
svn path=/trunk/netsurf/; revision=8823
2009-07-27 14:39:33 +00:00
John Mark Bell
3f62ae40d4
Retrieve charset specified on the HTTP layer.
...
svn path=/trunk/netsurf/; revision=8821
2009-07-27 13:56:05 +00:00
John Mark Bell
b5d55eb295
Consider stylesheet media types
...
svn path=/trunk/netsurf/; revision=8820
2009-07-27 13:49:10 +00:00
John Mark Bell
e5f55a27ef
Fix potential crash when inline replaced elements have percentage width.
...
svn path=/trunk/netsurf/; revision=8814
2009-07-27 10:22:44 +00:00
John Mark Bell
4aaf13f9ed
Respect configured font size
...
svn path=/trunk/netsurf/; revision=8813
2009-07-27 10:00:31 +00:00
Chris Young
51ab05d49f
Revert r8804. This is still occuring, on two different XOOPS sites.
...
svn path=/trunk/netsurf/; revision=8807
2009-07-26 19:21:14 +00:00
Chris Young
a4d3cabd34
Allow the user to disable URL suggestion.
...
svn path=/trunk/netsurf/; revision=8806
2009-07-26 18:47:15 +00:00
Chris Young
22dd183a1b
Updated version from Samir Hawamdeh
...
svn path=/trunk/netsurf/; revision=8805
2009-07-26 16:26:24 +00:00
Chris Young
9c7423c90a
Remove setting incremental_reflow off by default. Whatever the cause, the libcss
...
changes appear to have fixed it.
svn path=/trunk/netsurf/; revision=8804
2009-07-26 16:24:26 +00:00
Chris Young
d63daf0525
Minor corrections for libcss build
...
svn path=/trunk/netsurf/; revision=8803
2009-07-26 16:23:34 +00:00
Chris Young
055ab3ee17
Ensure quirks.css gets recognised as CSS
...
svn path=/trunk/netsurf/; revision=8802
2009-07-26 16:04:02 +00:00
Chris Young
f899bd2076
Fix logic
...
svn path=/trunk/netsurf/; revision=8801
2009-07-26 15:56:38 +00:00
John Mark Bell
24881dfb98
Something approximating error reporting. This really needs addressing properly.
...
svn path=/trunk/netsurf/; revision=8791
2009-07-25 21:42:27 +00:00
John Mark Bell
f734aaace5
Make round-to-nearest clearer.
...
svn path=/trunk/netsurf/; revision=8786
2009-07-25 17:21:35 +00:00
John Mark Bell
c51b14383c
Now that libwapcaplet guarantees NUL-termination of strings, stop copying them unnecessarily.
...
svn path=/trunk/netsurf/; revision=8785
2009-07-25 15:47:11 +00:00
John Mark Bell
2c00c55963
Simplify line-height calculation, deferring to nscss_len2px.
...
svn path=/trunk/netsurf/; revision=8783
2009-07-25 13:20:12 +00:00
John Mark Bell
2939ec04de
More consistent conversion of lengths to pixels.
...
We now calculate the nearest whole number of pixels required for 1 unit, then multiply that by the requested length.
This means that 2 * len2px(1, cm) == len2px(2, cm), for example.
svn path=/trunk/netsurf/; revision=8782
2009-07-25 13:19:11 +00:00
Michael Drake
3c8f684145
Mention how to get LibCSS.
...
svn path=/trunk/netsurf/; revision=8776
2009-07-24 21:47:31 +00:00
John Mark Bell
12e49b11c2
Fix crash when a style element is not used because of mismatched media or type.
...
svn path=/trunk/netsurf/; revision=8768
2009-07-24 01:48:53 +00:00
John Mark Bell
4af04582ad
Fix textarea line height.
...
svn path=/trunk/netsurf/; revision=8766
2009-07-24 01:03:17 +00:00
John Mark Bell
7ee7281fcd
Fix font config stuff
...
svn path=/trunk/netsurf/; revision=8765
2009-07-24 00:43:02 +00:00