Michael Drake
16489d1b12
No space between rows of floats.
...
svn path=/trunk/netsurf/; revision=3895
2008-03-07 18:36:04 +00:00
John Mark Bell
8f999376d5
Bring definition of {escape} in line with CSS 2.1 spec.
...
Require units when parsing css lengths.
Correctly ignore background: meta-properties which have multiple instances of sub-properties (e.g. foo { background: red pink; })
svn path=/trunk/netsurf/; revision=3893
2008-03-06 23:20:32 +00:00
Michael Drake
10a339e41d
Fix standard make file for new data: URL stuff.
...
svn path=/trunk/netsurf/; revision=3892
2008-03-06 20:21:28 +00:00
Michael Drake
ceb5f5ff7f
Round percentage widths to nearest pixel instead of down.
...
svn path=/trunk/netsurf/; revision=3891
2008-03-06 19:41:49 +00:00
Rob Kendrick
fed99c2cb5
jmb's rework of data: URL handling
...
svn path=/trunk/netsurf/; revision=3890
2008-03-06 11:28:00 +00:00
Rob Kendrick
58ee433b67
Add another check for malformed data: URLs
...
svn path=/trunk/netsurf/; revision=3889
2008-03-05 23:09:36 +00:00
Rob Kendrick
b168d636d0
Many data: fixes. Acid2 no longer crashes NetSurf.
...
svn path=/trunk/netsurf/; revision=3888
2008-03-05 22:57:46 +00:00
Rob Kendrick
c9bd38f5dd
Check for calloc() failing
...
svn path=/trunk/netsurf/; revision=3885
2008-03-05 15:01:42 +00:00
Rob Kendrick
0e43415013
Use curl_free() when freeing data: URLs that are URL-encoded instead of using free()
...
svn path=/trunk/netsurf/; revision=3884
2008-03-05 14:57:33 +00:00
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