Rob Kendrick
8e79665248
Initial attempt at implementing data: URLs. Needs cleaning and verifying that I'm using the fetcher API correctly. Appears to work, though.
...
svn path=/trunk/netsurf/; revision=3882
2008-03-05 14:21:29 +00:00
Daniel Silverstone
9b80498b42
Tidy up the DEP stuff a bit
...
svn path=/trunk/netsurf/; revision=3881
2008-03-05 12:30:29 +00:00
Michael Drake
f7be887580
Centered tables are a special case.
...
svn path=/trunk/netsurf/; revision=3880
2008-03-05 08:09:06 +00:00
Michael Drake
f5b638b8de
Squash warnings differently.
...
svn path=/trunk/netsurf/; revision=3879
2008-03-03 15:10:16 +00:00
Michael Drake
8eda5e9827
Squash two warnings.
...
svn path=/trunk/netsurf/; revision=3878
2008-03-03 14:52:29 +00:00
John Mark Bell
3986abd20b
Add testcase for non-fqdn -- already passes, but may as well keep it for regression testing.
...
svn path=/trunk/netsurf/; revision=3877
2008-03-03 13:21:02 +00:00
Michael Drake
5859cae5d4
Squash warning.
...
svn path=/trunk/netsurf/; revision=3875
2008-03-01 21:01:04 +00:00
Michael Drake
bae61d9224
Periodically reflow the page while fetching a page's objects. Make buffer all rendering default.
...
svn path=/trunk/netsurf/; revision=3874
2008-02-29 23:03:26 +00:00
Michael Drake
f752aca0d4
Fix align attributes on TABLE etc being overridden in the table's cells by the default alignment of cells with no align attribute.
...
svn path=/trunk/netsurf/; revision=3873
2008-02-28 20:36:09 +00:00
John Mark Bell
85bb19c93d
Mark old contents as stale if a conditional request succeeded so they'll be flushed from the cache as soon as they're unused.
...
svn path=/trunk/netsurf/; revision=3872
2008-02-27 19:13:35 +00:00
John Mark Bell
3a79bcb3da
Explicitly mark error pages as non-fresh so they'll get purged from the cache ASAP.
...
svn path=/trunk/netsurf/; revision=3871
2008-02-27 18:48:35 +00:00
John Mark Bell
89793c2171
Make content_reset actually do what it's meant to (i.e. reset the appropriate members)
...
Fix up CONTENT_MSG_REFRESH scheduled events to gracefully the refresh URL disappearing from under them.
svn path=/trunk/netsurf/; revision=3870
2008-02-27 18:38:41 +00:00
Michael Drake
748937547a
Don't meddle with blockquote's margins.
...
svn path=/trunk/netsurf/; revision=3869
2008-02-26 22:31:38 +00:00
John Mark Bell
1cf46a6792
SignednessWarnings.squash()
...
Aside from a number of instances of const being cast away (mostly relating to the urldb, which is correct to only export const data) this now builds warning-free with GCC 4 on x86, which is nice.
svn path=/trunk/netsurf/; revision=3868
2008-02-25 17:58:00 +00:00
John Mark Bell
674591f63d
s/FALSE/false/g
...
s/TRUE/true/g
svn path=/trunk/netsurf/; revision=3867
2008-02-25 17:08:09 +00:00
Michael Drake
a4e1ffda1a
Improve handling of HTML attributes / markup:
...
* Only apply presentational HTML attributes if no more
important CSS has been set for the property. (NetSurf used
to be a bit hit-and-miss when presentational markup and
CSS were mixed.)
* Change table cellpadding and border handling to happen as
soon the boxes styles are available, rather than after the
whole table has been constructed. Also fix default table
border colour.
* Improve handling of CENTER tag and ALIGN attribute. These
could not be correctly supported in the default CSS file,
so block level element alignment is now done during box
construction. (Fixes #1891379 , #1824492 , #1723853 )
Form improvements:
* Small MAXLENGTH values on text inputs now reduce element
width. (Fixes #1894854 )
* Prevent select option text from wrapping.
svn path=/trunk/netsurf/; revision=3866
2008-02-25 16:37:48 +00:00
Michael Drake
11959f49f8
Set default max fetchers per host option to 2.
...
svn path=/trunk/netsurf/; revision=3865
2008-02-25 11:10:09 +00:00
John Mark Bell
1fc91faff1
Also flag box as invisible so it'll have no effect on layout
...
svn path=/trunk/netsurf/; revision=3864
2008-02-25 08:56:11 +00:00
John Mark Bell
73c02364a8
Ignore spurious top-level framesets correctly (previously declared memory exhaustion, which is obviously wrong)
...
svn path=/trunk/netsurf/; revision=3863
2008-02-25 08:53:04 +00:00
Michael Drake
369344518a
For form gadgets, specified percentage width is inclusive of margin, border and padding space.
...
svn path=/trunk/netsurf/; revision=3859
2008-02-17 18:22:06 +00:00
James Bursa
9f9d9c9d4f
Update SSL certificates to the latest Mozilla certificates using curl/lib/mk-ca-bundle.pl. Number of certificates increased from 94 to 114.
...
svn path=/trunk/netsurf/; revision=3858
2008-02-14 03:39:31 +00:00
Michael Drake
a86e38d9cc
Tweak select element style.
...
svn path=/trunk/netsurf/; revision=3856
2008-02-11 21:18:53 +00:00
Michael Drake
7d748ae2ff
Select element width is width of longest option text.
...
svn path=/trunk/netsurf/; revision=3855
2008-02-11 17:53:00 +00:00
James Bursa
455aefbb91
Make GIF decoding work correctly on big-endian (colors were wrong).
...
svn path=/trunk/netsurf/; revision=3854
2008-02-10 00:35:03 +00:00
John Mark Bell
55445a0daf
Reinstate WARNFLAGS
...
Make RISC OS build CFLAGS specify -mpoke-function-name
svn path=/trunk/netsurf/; revision=3853
2008-02-09 22:37:51 +00:00
John Mark Bell
2c2ac87e37
Prevent tabbing into textfields whose styling is display: none;
...
svn path=/trunk/netsurf/; revision=3849
2008-02-07 00:50:37 +00:00
James Bursa
5c1f3bd8c8
Move SVG code into a new library, libsvgtiny.
...
svn path=/trunk/netsurf/; revision=3837
2008-02-03 19:11:36 +00:00
Michael Drake
61e70fee80
Fix makefile and RISC OS !Run file.
...
svn path=/trunk/netsurf/; revision=3834
2008-02-03 18:54:21 +00:00
Michael Drake
7177f59309
Improve float positioning.
...
svn path=/trunk/netsurf/; revision=3833
2008-02-03 18:44:24 +00:00
Daniel Silverstone
35e8419fc6
Stop the repeating LEMON/DEP for the CSS parser with Makefile.unix
...
svn path=/trunk/netsurf/; revision=3832
2008-02-03 18:37:26 +00:00
John Mark Bell
7f70acaca6
Silence noisy logging
...
svn path=/trunk/netsurf/; revision=3830
2008-02-03 18:21:49 +00:00
Michael Drake
1d849805b4
Include string.h. Thanks to joty.
...
svn path=/trunk/netsurf/; revision=3829
2008-02-03 16:43:16 +00:00
Michael Drake
d67a84f7e3
Turn debug output off again. Remove extraneous include.
...
svn path=/trunk/netsurf/; revision=3828
2008-02-03 14:29:07 +00:00
Michael Drake
8491aecb35
Ensure min line length takes into account margins, borders and paddings of objects.
...
svn path=/trunk/netsurf/; revision=3827
2008-02-03 14:24:46 +00:00
John Mark Bell
ad6fcea6b0
Add url_fragment to extract fragment from URL
...
Optionally allow url_compare to ignore fragments in comparison
Fix handling of url_compare result in a few places
Fix redirects which contain fragments in the Location header
svn path=/trunk/netsurf/; revision=3826
2008-02-03 12:04:48 +00:00
Michael Drake
eb2c2e3f63
Remove dubious default CSS rule.
...
svn path=/trunk/netsurf/; revision=3822
2008-02-02 13:36:30 +00:00
Michael Drake
43e365f0aa
Ensure button style is the same as input type=button.
...
svn path=/trunk/netsurf/; revision=3820
2008-02-02 09:53:42 +00:00
Michael Drake
477cfc8baf
Treat font tag relative sizes of +/- >1 the same as one.
...
svn path=/trunk/netsurf/; revision=3817
2008-02-02 00:48:39 +00:00
Michael Drake
87c68e38eb
Update GTK form style.
...
svn path=/trunk/netsurf/; revision=3816
2008-02-02 00:36:50 +00:00
John Mark Bell
04c38876b3
Remove unnecessary #ifdef riscos
...
svn path=/trunk/netsurf/; revision=3815
2008-02-02 00:25:21 +00:00
Michael Drake
2e6d221a42
Fix GTK build.
...
svn path=/trunk/netsurf/; revision=3814
2008-02-02 00:22:08 +00:00
Michael Drake
120ca506c1
Make text input boxes with height:auto; and no initial value get a sensible height. Make all form elements have their dimensions based on the configured minimum font size, if the current text size is smaller. Remove redundant code for setting radio icon and checkbox sizes. All em/ex based sizes now respect the min font size, when it's in effect. Updated default styles for form elements.
...
svn path=/trunk/netsurf/; revision=3813
2008-02-02 00:13:19 +00:00
John Mark Bell
83941da263
Add function to dump working stylesheets
...
svn path=/trunk/netsurf/; revision=3811
2008-01-31 01:47:57 +00:00
Michael Drake
0309c25c2e
Revert last change because it made the tracker almost unusable.
...
svn path=/trunk/netsurf/; revision=3810
2008-01-30 22:09:41 +00:00
John Mark Bell
cc3481a2ff
Make core fetching code handle verifiability of transactions
...
Make core fetching code be responsible for inserting cookies into the urldb
Provide accessor to a fetch's parent url (this is defined as being the URL of the verifiable fetch which caused this one to occur)
Make fetchcache's 3xx handling use the parent url when spawning new fetches
svn path=/trunk/netsurf/; revision=3809
2008-01-30 19:56:41 +00:00
Michael Drake
087516561f
Support SUP and SUB tags with relative position in default CSS file.
...
svn path=/trunk/netsurf/; revision=3808
2008-01-30 18:30:59 +00:00
John Mark Bell
9164f247c2
Ensure plq is terminated when looking for an URL path.
...
Ensure fetchcache_redirect() normalizes the redirect destination.
svn path=/trunk/netsurf/; revision=3807
2008-01-30 01:44:57 +00:00
Michael Drake
1952b8b9ba
Stop min gif delay option growing every time choices are saved on nsgtk. Use same scale factor as RISC OS.
...
svn path=/trunk/netsurf/; revision=3805
2008-01-29 20:46:10 +00:00
Michael Drake
0c311cf6a2
Add stylesheet for GTK specific rules.
...
svn path=/trunk/netsurf/; revision=3802
2008-01-29 14:00:56 +00:00
Michael Drake
b74a1a173e
Tidy default form element styles.
...
svn path=/trunk/netsurf/; revision=3801
2008-01-29 13:03:29 +00:00