John Mark Bell
5c1be65e31
Squash warning
...
svn path=/trunk/netsurf/; revision=3984
2008-03-19 17:40:17 +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
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
1d849805b4
Include string.h. Thanks to joty.
...
svn path=/trunk/netsurf/; revision=3829
2008-02-03 16:43:16 +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
John Mark Bell
78d194cb77
Rework handling of HTTP redirects -- we now count the number of redirects followed for a given item and abort if a fixed limit is reached. This fixes sites which have pages that redirect to themselves.
...
Redirect handling is now transparent to clients of fetchcache.
The new scheme works as follows:
1) Request content for URL (fetchcache()
2) Start fetch of content (fetchcache_go()
3) If no redirect, continue through LOADING, READY, DONE etc. states as before
If redirect, receive NEWPTR for each redirect that occurs, then continue
through LOADING, READY, DONE etc. states as before.
The upshot of this is that redirects result in extra contents being created. It also means that, until LOADING has been received, the content (and thus the URL being fetched) may change. Therefore, fetchcache clients should expect to have to deal with transient data prior to LOADING occurring.
As a necessary side-effect of this, the HTML object URLs and CSS @import URLs are no longer stored alongside the relevant contents. These URLs can be accessed by interrogating the url member of struct content anyway, so it was a rather redundant scheme before.
svn path=/trunk/netsurf/; revision=3787
2008-01-28 01:35:00 +00:00
John Mark Bell
ae3555ccdd
Fixes for targetting NetBSD (Thanks to Adam Hoka)
...
svn path=/trunk/netsurf/; revision=3775
2008-01-26 16:44:17 +00:00
Michael Drake
d13ac3b066
Increase default font size and line spacing.
...
svn path=/trunk/netsurf/; revision=3660
2007-12-09 11:13:25 +00:00
James Bursa
aa24cdff0d
Bug fixes in parse_length, parse_clip, css_dump_style, css_dump_length by Franz Korntner.
...
svn path=/trunk/netsurf/; revision=3635
2007-10-28 17:01:53 +00:00
Richard Wilson
8df0a5ad40
No longer assert on invalid input to hex_colour.
...
svn path=/trunk/netsurf/; revision=3626
2007-10-09 16:41:57 +00:00
Richard Wilson
7163f5aadd
Fix parsing of invalid colour values becoming CSS_COLOR_NONE. Make all colour parsing code common.
...
svn path=/trunk/netsurf/; revision=3625
2007-10-09 16:25:25 +00:00
Michael Drake
686c98fafd
Allow hex CSS colour values with omitted hash. Fix #rgb and #rrggbb handling to only accept hex characters.
...
svn path=/trunk/netsurf/; revision=3620
2007-10-03 06:47:45 +00:00
James Bursa
09b1dcb23d
Remove restriction of @import coming at the start, because multiple inline stylesheets are parsed as one stylesheet, so may contain @import in the middle.
...
svn path=/trunk/netsurf/; revision=3616
2007-10-02 04:50:25 +00:00
Daniel Silverstone
d1382c6d0e
Provide the facility to set the DPI of the display by removing the assumptions of 90.0 dpi from the CSS and layout engines.
...
svn path=/trunk/netsurf/; revision=3528
2007-08-19 10:08:49 +00:00
Vincent Sanders
2f864eeecc
Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text
...
svn path=/trunk/netsurf/; revision=3486
2007-08-08 16:16:03 +00:00
Daniel Silverstone
6807b4208a
Remove the netsurf/ from the include paths and rationalise use of <> vs "" 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
2007-05-30 22:39:54 +00:00
James Bursa
828bac39e4
Fix various warnings.
...
svn path=/trunk/netsurf/; revision=3263
2007-05-02 03:17:19 +00:00
John Mark Bell
9c048ad076
Fix invalidation of unwanted contents.
...
svn path=/trunk/netsurf/; revision=3214
2007-03-19 00:04:09 +00:00
John Mark Bell
f261e4426a
Lose noisy logging
...
svn path=/trunk/netsurf/; revision=3213
2007-03-18 23:48:12 +00:00
John Mark Bell
947ab0dcd2
Ensure content structures are zero initialised.
...
Make css_destroy check that the stylesheet pointer exists (content
destructors may be called whilst the content is still loading - e.g. if
the content type isn't permissable in the context it was loaded from).
Fixes 1627413, 1580980.
svn path=/trunk/netsurf/; revision=3212
2007-03-18 20:19:13 +00:00
John Mark Bell
703b5fea73
Ensure content owners check that they are still interested in a content
...
when receiving notification that the content's in error. This prevents
content pointers being corrupted when redirects occur. Fixes 1522002,
1551475.
svn path=/trunk/netsurf/; revision=3211
2007-03-18 17:09:55 +00:00
John Mark Bell
9cf5122797
Content handlers should not call warn_user - they should broadcast the
...
error using content_broadcast and leave it to the content owner(s) to
decide what to do about it.
Only use warn_user for top-level contents.
svn path=/trunk/netsurf/; revision=3204
2007-03-11 22:08:57 +00:00
Rob Kendrick
b6cc8cc6eb
Remove .cvsignore files, and replicate functionality with svn:ignore attributes
...
svn path=/trunk/netsurf/; revision=3166
2007-02-04 13:00:06 +00:00
John Mark Bell
25213dca24
Fix handling of cookies in unverifiable transactions caused by a redirect from a fetch into a browser window which was varifiable.
...
svn path=/trunk/netsurf/; revision=3165
2007-02-02 23:08:13 +00:00
James Bursa
a0b6661eb6
Make GTK build compile on FreeBSD.
...
svn path=/trunk/netsurf/; revision=3154
2007-01-29 22:27:15 +00:00
Michael Drake
ba23e4b693
Update project URL.
...
svn path=/trunk/netsurf/; revision=3073
2006-11-27 15:35:18 +00:00
Richard Wilson
fdbb855a9c
Fix accidental press of delete :-s
...
svn path=/trunk/netsurf/; revision=2852
2006-08-15 19:33:42 +00:00
Richard Wilson
8852cdd109
Treat unitless CSS values as pixels (fix 1527056)
...
svn path=/trunk/netsurf/; revision=2851
2006-08-15 19:20:36 +00:00
Richard Wilson
307ae1c40c
Fix the small NetSurf build.
...
svn path=/trunk/netsurf/; revision=2714
2006-07-04 23:43:49 +00:00
Richard Wilson
59b7ce9194
Don't assert() for AUTH or SSL codes (fix 1498477)
...
svn path=/trunk/netsurf/; revision=2713
2006-07-04 22:03:39 +00:00
John Mark Bell
4e6974b523
Fix background: parsing & lose potential memory leak
...
svn path=/trunk/netsurf/; revision=2660
2006-06-28 15:38:46 +00:00
Daniel Silverstone
35bb5f96d5
[project @ 2006-03-19 17:49:32 by dsilvers]
...
Add support for a few more CSS cursors and tidy the GUI_POINTER_* stuff to support what we already had
svn path=/import/netsurf/; revision=2135
2006-03-19 17:49:32 +00:00
John Mark Bell
c4260ee25e
[project @ 2006-03-17 02:08:42 by jmb]
...
Fix behaviour of clip property parser when presented with invalid data
svn path=/import/netsurf/; revision=2133
2006-03-17 02:08:42 +00:00
Daniel Silverstone
05b214a5d5
[project @ 2006-03-09 19:04:13 by dsilvers]
...
css.[ch]: Add css_len2pt to convert a CSS length to points for use on systems
which actually recognise that DPI might not be 90 all the time.
svn path=/import/netsurf/; revision=2114
2006-03-09 19:04:13 +00:00
John Mark Bell
e4e01d338f
[project @ 2006-02-11 21:58:56 by jmb]
...
Permit negative text indent
svn path=/import/netsurf/; revision=2075
2006-02-11 21:58:56 +00:00
John Mark Bell
9a35230e88
[project @ 2006-02-05 22:22:35 by jmb]
...
Fix bad read
svn path=/import/netsurf/; revision=2057
2006-02-05 22:22:35 +00:00
John Mark Bell
611ec68e46
[project @ 2006-01-02 23:31:28 by jmb]
...
Implement font default option properly
svn path=/import/netsurf/; revision=1969
2006-01-02 23:31:29 +00:00
James Bursa
08e8ee3ed1
[project @ 2005-08-21 12:04:17 by bursa]
...
Change void * parameters to intptr_t to make them correct for storing integers or pointers.
svn path=/import/netsurf/; revision=1852
2005-08-21 12:04:18 +00:00
James Bursa
3b4baa8008
[project @ 2005-08-04 22:51:42 by bursa]
...
Fix strndup() compiler warnings.
svn path=/import/netsurf/; revision=1840
2005-08-04 22:51:42 +00:00
John Mark Bell
94433308d1
[project @ 2005-07-31 22:06:03 by jmb]
...
Ignore @import rules which occur after a valid rule.
svn path=/import/netsurf/; revision=1835
2005-07-31 22:06:03 +00:00
John Mark Bell
0686a76649
[project @ 2005-07-31 15:55:36 by jmb]
...
Make length -> pixel conversion more accurate.
Fix handling of CSS <numbers>
Fix border widths.
svn path=/import/netsurf/; revision=1832
2005-07-31 15:55:36 +00:00
James Bursa
22640f85e0
[project @ 2005-05-22 21:50:14 by bursa]
...
Add BOX_TEXT type to distinguish boxes which came from an inline element to boxes which came from a text node. Add inline_parent pointer to box structure. Rewrite text-decoration support to take advantage of the new data (line colours are now correct). Note: there is a clipping issue in redraw.
svn path=/import/netsurf/; revision=1732
2005-05-22 21:50:14 +00:00
James Bursa
ff74a126f7
[project @ 2005-05-21 23:30:19 by bursa]
...
Improve selector specificity support by adding "working stylesheets" with pre-sorted lists of rules. This also simplifies css_get_style(). The stylesheet origin is now encoded in the specificity. Improve output of css_dump_style().
svn path=/import/netsurf/; revision=1729
2005-05-21 23:30:19 +00:00
Richard Wilson
a01210941b
[project @ 2005-04-20 03:58:40 by rjw]
...
Fix parsing of 0 values without a unit for background-position and font-size.
svn path=/import/netsurf/; revision=1672
2005-04-20 03:58:40 +00:00
Richard Wilson
487cad486d
[project @ 2005-04-14 19:54:24 by rjw]
...
Implement HTML table border setting. Improve support for the collapsing border model.
svn path=/import/netsurf/; revision=1632
2005-04-14 19:54:24 +00:00
James Bursa
2920bca14a
[project @ 2005-04-09 09:47:36 by bursa]
...
Move HTML contents almost fully over to talloc(), simplifying code. Improvements to title attributes, broken forms, cellpadding. Reorder functions in box_construct.c.
svn path=/import/netsurf/; revision=1608
2005-04-09 09:47:37 +00:00
James Bursa
640c6833cf
[project @ 2005-04-03 14:17:05 by bursa]
...
Use talloc_realloc() instead of realloc() for c->source_data, since that is now managed by talloc.
svn path=/import/netsurf/; revision=1593
2005-04-03 14:17:05 +00:00
Richard Wilson
511891d27c
[project @ 2005-03-23 18:14:38 by rjw]
...
Fix incorrect background position calculations. Modify CSS parser to pass all background-position testcases.
svn path=/import/netsurf/; revision=1574
2005-03-23 18:14:38 +00:00
Richard Wilson
b832e05f03
[project @ 2005-03-22 00:10:42 by rjw]
...
Experimental cellpadding support
svn path=/import/netsurf/; revision=1569
2005-03-22 00:10:42 +00:00
James Bursa
d249f20d1e
[project @ 2005-02-19 23:40:15 by bursa]
...
Add const qualifiers to css_len2px arguments.
svn path=/import/netsurf/; revision=1516
2005-02-19 23:40:15 +00:00
James Bursa
04f0525fbf
[project @ 2005-01-24 23:02:37 by bursa]
...
Reformat pages loaded from memory cache to window width.
svn path=/import/netsurf/; revision=1467
2005-01-24 23:02:37 +00:00
Richard Wilson
ee6d869916
[project @ 2005-01-17 23:06:33 by rjw]
...
Fix URI memory leakage
svn path=/import/netsurf/; revision=1458
2005-01-17 23:06:33 +00:00
Richard Wilson
71ad0bdf69
[project @ 2005-01-16 21:39:21 by rjw]
...
Read content, counter-reset and counter-increment properties.
svn path=/import/netsurf/; revision=1456
2005-01-16 21:39:21 +00:00
John Mark Bell
9905ab9818
[project @ 2005-01-16 00:48:47 by jmb]
...
Fixup my inability to remember how things should work
svn path=/import/netsurf/; revision=1453
2005-01-16 00:48:47 +00:00
John Mark Bell
01564e642d
[project @ 2005-01-16 00:08:47 by jmb]
...
Fixup missed css_style free
svn path=/import/netsurf/; revision=1451
2005-01-16 00:08:47 +00:00
John Mark Bell
1e592489b1
[project @ 2005-01-16 00:03:45 by jmb]
...
Create interface for duplication and destruction of css_style structs.
svn path=/import/netsurf/; revision=1450
2005-01-16 00:03:45 +00:00
Richard Wilson
1487697cb3
[project @ 2005-01-15 22:11:53 by rjw]
...
Background work for CSS counters (CSS 2.1/12.4)
svn path=/import/netsurf/; revision=1449
2005-01-15 22:11:53 +00:00
John Mark Bell
15e08b5252
[project @ 2005-01-11 19:39:49 by jmb]
...
Handle property: inherit; properly
svn path=/import/netsurf/; revision=1441
2005-01-11 19:39:49 +00:00
John Mark Bell
0890fd790d
[project @ 2005-01-08 01:42:08 by jmb]
...
Fix parsing of multiple occurrences of S
Fix parsing of blocks (missing ws after any)
svn path=/import/netsurf/; revision=1436
2005-01-08 01:42:08 +00:00
John Mark Bell
fbe6486e0b
[project @ 2005-01-05 20:22:57 by jmb]
...
Fix syntax error reporting
svn path=/import/netsurf/; revision=1435
2005-01-05 20:22:57 +00:00
John Mark Bell
a016a10539
[project @ 2005-01-05 20:20:32 by jmb]
...
Tokeniser now passes whitespace to the parser (fixes ancestor combinators)
svn path=/import/netsurf/; revision=1434
2005-01-05 20:20:32 +00:00
John Mark Bell
77de9c1336
[project @ 2005-01-03 02:09:20 by jmb]
...
Shift + Click == download
svn path=/import/netsurf/; revision=1429
2005-01-03 02:09:20 +00:00
John Mark Bell
270ae1d043
[project @ 2005-01-03 00:45:43 by jmb]
...
class and id attributes are case-sensitive (HTML4.01)
svn path=/import/netsurf/; revision=1427
2005-01-03 00:45:43 +00:00
James Bursa
64928d9a67
[project @ 2005-01-02 14:42:16 by bursa]
...
Fix some compiler warnings.
svn path=/import/netsurf/; revision=1426
2005-01-02 14:42:16 +00:00
Michael Drake
6dba177b3d
[project @ 2004-12-07 09:25:00 by tlsa]
...
Fix navajowhite named colour.
svn path=/import/netsurf/; revision=1387
2004-12-07 09:25:00 +00:00
John Mark Bell
2b91efdc1e
[project @ 2004-12-07 02:25:14 by jmb]
...
Support SVG 1.0 named colours (plus feldspar, lightslateblue and violetred).
svn path=/import/netsurf/; revision=1386
2004-12-07 02:25:14 +00:00
James Bursa
37d7353f43
[project @ 2004-12-01 21:48:11 by bursa]
...
Implement table cell padding and separated borders model for tables. Min/max width calculations still need implementing.
svn path=/import/netsurf/; revision=1378
2004-12-01 21:48:11 +00:00
James Bursa
0685aeaa3f
[project @ 2004-10-07 09:34:15 by bursa]
...
Fix #include path.
svn path=/import/netsurf/; revision=1307
2004-10-07 09:34:15 +00:00
John Mark Bell
c358b80cc5
[project @ 2004-09-13 23:56:18 by jmb]
...
Make fonts user-configurable.
This loses font-style support, though it shouldn't be hard to put it back again.
svn path=/import/netsurf/; revision=1274
2004-09-13 23:56:18 +00:00
John Tytgat
7264ae50e5
[project @ 2004-08-14 15:07:19 by joty]
...
- Rename len() to css_len2px().
- Less compiler warnings concerning float/int implicit casts.
- More stddef.h type usuage.
svn path=/import/netsurf/; revision=1232
2004-08-14 15:07:21 +00:00
John Tytgat
402c4ca66c
[project @ 2004-08-14 14:30:10 by joty]
...
Removed a chunk of Norcroft compiler warnings. Re-ident some pieces.
svn path=/import/netsurf/; revision=1231
2004-08-14 14:30:12 +00:00
James Bursa
bc727dda1c
[project @ 2004-08-11 19:02:32 by bursa]
...
Start work on removing instances and making content types non-shareable. Clean up some #includes.
svn path=/import/netsurf/; revision=1211
2004-08-11 19:02:32 +00:00
John Mark Bell
c9bd6fa9fc
[project @ 2004-08-09 16:11:58 by jmb]
...
Rework the interface of the URL handing module to allow for multiple error types.
Modify save_complete URL rewriting appropriately.
svn path=/import/netsurf/; revision=1206
2004-08-09 16:11:58 +00:00
John Mark Bell
e81a96fb53
[project @ 2004-08-06 21:16:03 by jmb]
...
Fix bug in merging of selector lists
svn path=/import/netsurf/; revision=1186
2004-08-06 21:16:03 +00:00
John Mark Bell
603196e720
[project @ 2004-08-05 01:57:14 by jmb]
...
:first-child pseudo class support
Merge global and element selector lists for more accurate selector matching
svn path=/import/netsurf/; revision=1180
2004-08-05 01:57:14 +00:00
John Mark Bell
d18b55984f
[project @ 2004-08-01 23:59:16 by jmb]
...
Break out uri(...) parsing into separate function
svn path=/import/netsurf/; revision=1177
2004-08-01 23:59:16 +00:00
John Mark Bell
6103e3f0cd
[project @ 2004-08-01 21:56:47 by jmb]
...
Rationalise top, bottom, right and left property handling
svn path=/import/netsurf/; revision=1174
2004-08-01 21:56:47 +00:00
John Mark Bell
3b660a7e33
[project @ 2004-08-01 14:13:47 by jmb]
...
Internal representation and parsing of most CSS2 properties.
svn path=/import/netsurf/; revision=1172
2004-08-01 14:13:47 +00:00
John Mark Bell
d601aa7188
[project @ 2004-07-30 21:53:52 by jmb]
...
Implement some CSS3 attribute selectors
svn path=/import/netsurf/; revision=1167
2004-07-30 21:53:52 +00:00
John Mark Bell
6560a2ae5f
[project @ 2004-07-16 20:22:31 by jmb]
...
Add overflow support.
Re-tabulate property table in ruleset.c
svn path=/import/netsurf/; revision=1087
2004-07-16 20:22:31 +00:00
John Mark Bell
faef35e6e9
[project @ 2004-07-16 20:21:33 by jmb]
...
Add overflow. Hyphenate some identities correctly
svn path=/import/netsurf/; revision=1086
2004-07-16 20:21:33 +00:00
John Tytgat
4cca5c72ed
[project @ 2004-07-01 20:27:49 by joty]
...
Log the CSS URL too when there is a syntax error detected.
svn path=/import/netsurf/; revision=1036
2004-07-01 20:27:49 +00:00
John Mark Bell
da1ad11a35
[project @ 2004-06-25 21:25:33 by jmb]
...
Increase limit of property name to 25 chars to accommodate background-attachment.
This was missed from the original background properties checkin
svn path=/import/netsurf/; revision=1011
2004-06-25 21:25:33 +00:00
James Bursa
0df8b0734d
[project @ 2004-06-25 20:24:06 by bursa]
...
Fix parsing of invalid color declarations.
svn path=/import/netsurf/; revision=1010
2004-06-25 20:24:06 +00:00
James Bursa
aa6e904604
[project @ 2004-06-25 14:28:29 by bursa]
...
Parse CSS background shorthand property. Background rendering improvements.
svn path=/import/netsurf/; revision=1006
2004-06-25 14:28:29 +00:00
James Bursa
496bfa6d74
[project @ 2004-06-24 23:29:31 by bursa]
...
Simplify and improve parse_background_position(). Implement css_parse_rgb(). Fix truncation of paragraphs with background images.
svn path=/import/netsurf/; revision=1003
2004-06-24 23:29:31 +00:00
John Mark Bell
913498394c
[project @ 2004-06-24 00:07:28 by jmb]
...
Support for background: meta-property. background-position isn't handled here. this needs fixing.
svn path=/import/netsurf/; revision=1001
2004-06-24 00:07:28 +00:00
John Mark Bell
b8896816c3
[project @ 2004-06-15 20:45:02 by jmb]
...
rgb() support
svn path=/import/netsurf/; revision=974
2004-06-15 20:45:02 +00:00
James Bursa
b448838fbf
[project @ 2004-06-15 18:56:52 by bursa]
...
Parse FUNCTION correctly.
svn path=/import/netsurf/; revision=971
2004-06-15 18:56:52 +00:00
John Mark Bell
e932715010
[project @ 2004-06-11 12:51:40 by jmb]
...
Fix for crash caused by inline style attributes specifying background images.
svn path=/import/netsurf/; revision=961
2004-06-11 12:51:40 +00:00
James Bursa
d938fe135b
[project @ 2004-06-10 23:55:23 by bursa]
...
Split fetchcache() into fetchcache() and fetchcache_go() to solve problems of callbacks being called before fetchcache() returns. Fix <style> breakage. Error handling fixes & improvements.
svn path=/import/netsurf/; revision=957
2004-06-10 23:55:23 +00:00
James Bursa
08177fa581
[project @ 2004-06-10 20:41:26 by bursa]
...
Add global content list. Better error handling in content code. Improved code documentation. Remove some obsolete functions. Implement debug window listing contents.
svn path=/import/netsurf/; revision=951
2004-06-10 20:41:26 +00:00
John Mark Bell
78594f3f60
[project @ 2004-06-09 19:55:06 by jmb]
...
Implement background-image, background-repeat, background-position and background-attachment CSS properties.
background-attachment and background-position need more work.
Some redraw issues remain.
svn path=/import/netsurf/; revision=938
2004-06-09 19:55:06 +00:00
James Bursa
5a79489248
[project @ 2004-05-21 10:17:55 by bursa]
...
Revert this change because it breaks the autobuilder.
svn path=/import/netsurf/; revision=877
2004-05-21 10:17:55 +00:00
John Tytgat
b922c8d127
[project @ 2004-05-21 09:42:16 by joty]
...
Bring css_parser_Alloc() declaration inline with its implementation.
svn path=/import/netsurf/; revision=876
2004-05-21 09:42:16 +00:00
Matthew Hambley
5de4fdf37b
[project @ 2004-05-20 20:55:36 by matthewh]
...
Added a .cvsignore file to hide automatically built files
svn path=/import/netsurf/; revision=874
2004-05-20 20:55:36 +00:00
James Bursa
bb41604045
[project @ 2004-05-05 16:33:15 by bursa]
...
Fix some compiler warnings. Ignore size attribute for file inputs.
svn path=/import/netsurf/; revision=828
2004-05-05 16:33:15 +00:00
James Bursa
da96f9da00
[project @ 2004-05-02 23:31:46 by bursa]
...
Remove debugging code.
svn path=/import/netsurf/; revision=819
2004-05-02 23:31:46 +00:00
John Mark Bell
8cb321ec78
[project @ 2004-05-02 00:21:40 by jmb]
...
Minimal fixes to allow compilation with Norcroft
svn path=/import/netsurf/; revision=813
2004-05-02 00:21:41 +00:00
John Mark Bell
dcfa1164d3
[project @ 2004-05-01 20:16:38 by jmb]
...
Escape @import in doxygen comments
svn path=/import/netsurf/; revision=809
2004-05-01 20:16:38 +00:00
James Bursa
d7a4adf481
[project @ 2004-05-01 17:48:38 by bursa]
...
CSS parsing improvements: new tokeniser using re2c, improve memory-exhaustion behaviour, plug leaks, reduce memory usage, clean up code, add source documention.
svn path=/import/netsurf/; revision=806
2004-05-01 17:48:38 +00:00
John Mark Bell
8e16babeaa
[project @ 2004-04-18 21:10:02 by jmb]
...
Work around the lack of a '#' at the start of a colour specified in #rrggbb format
svn path=/import/netsurf/; revision=793
2004-04-18 21:10:02 +00:00
James Bursa
a168eaaed6
[project @ 2004-04-14 12:53:14 by bursa]
...
Merge css_create() into css_convert().
svn path=/import/netsurf/; revision=782
2004-04-14 12:53:14 +00:00
John Mark Bell
a260f648f8
[project @ 2004-04-02 23:12:26 by jmb]
...
Implement CSS cursor property
svn path=/import/netsurf/; revision=705
2004-04-02 23:12:26 +00:00
James Bursa
ead74d2f01
[project @ 2004-03-29 21:27:52 by bursa]
...
Implement CSS universal selector.
svn path=/import/netsurf/; revision=690
2004-03-29 21:27:52 +00:00
James Bursa
2c757c1e79
[project @ 2004-03-22 00:36:53 by bursa]
...
Implement most of CSS borders.
svn path=/import/netsurf/; revision=650
2004-03-22 00:36:53 +00:00
James Bursa
3f6812c112
[project @ 2004-03-13 20:45:41 by bursa]
...
Use option_font_size when calculating keyword font-size.
svn path=/import/netsurf/; revision=618
2004-03-13 20:45:41 +00:00
James Bursa
fba46de9cb
[project @ 2004-03-11 02:19:13 by bursa]
...
Add source_data to content structure and remove equivalents from individual contents.
svn path=/import/netsurf/; revision=606
2004-03-11 02:19:14 +00:00
James Bursa
1c85bf0429
[project @ 2004-03-02 18:02:17 by bursa]
...
Add new url functions and modify to use them.
svn path=/import/netsurf/; revision=578
2004-03-02 18:02:41 +00:00
James Bursa
765c02622b
[project @ 2004-02-13 23:07:42 by bursa]
...
Add font size configuration and fix proxy options bug.
svn path=/import/netsurf/; revision=538
2004-02-13 23:07:42 +00:00
James Bursa
b0c5b74987
[project @ 2004-02-02 00:22:59 by bursa]
...
Start at margin / padding / border support.
svn path=/import/netsurf/; revision=529
2004-02-02 00:22:59 +00:00
John Mark Bell
edf9d941f1
[project @ 2004-02-01 22:42:40 by jmb]
...
Add text-indent support.
svn path=/import/netsurf/; revision=527
2004-02-01 22:42:40 +00:00
John Mark Bell
00ef17153c
[project @ 2004-01-31 21:18:44 by jmb]
...
text-transform support.
svn path=/import/netsurf/; revision=521
2004-01-31 21:18:44 +00:00
John Mark Bell
bf3e41a93d
[project @ 2004-01-30 22:28:32 by jmb]
...
Add font-variant support. Update TODO-CSS appropriately
svn path=/import/netsurf/; revision=518
2004-01-30 22:28:32 +00:00
James Bursa
94786d1a56
[project @ 2004-01-28 23:15:12 by bursa]
...
Dump font-family in css_dump_style().
svn path=/import/netsurf/; revision=516
2004-01-28 23:15:12 +00:00
James Bursa
ae4cb4c56d
[project @ 2004-01-28 23:08:28 by bursa]
...
Improve font-family.
svn path=/import/netsurf/; revision=515
2004-01-28 23:08:28 +00:00
John Mark Bell
1ee029cee6
[project @ 2004-01-28 21:48:10 by jmb]
...
Add font-family support. Still needs a little work, but works fine as is.
Add CSS rules for text formatting HTML tags (<DFN> <CITE> <CODE> etc.)
Update TODO lists.
svn path=/import/netsurf/; revision=514
2004-01-28 21:48:10 +00:00
James Bursa
1e0630b290
[project @ 2004-01-23 15:06:04 by bursa]
...
Fix orange.
svn path=/import/netsurf/; revision=494
2004-01-23 15:06:04 +00:00
John Mark Bell
6b367e0795
[project @ 2004-01-20 20:13:43 by jmb]
...
View source for CSS files.
svn path=/import/netsurf/; revision=492
2004-01-20 20:13:43 +00:00
John Mark Bell
0dab93fe76
[project @ 2004-01-20 19:08:34 by jmb]
...
Allow toggling of POST support.
Add new toolbar icon numbers to riscos/gui.h
svn path=/import/netsurf/; revision=490
2004-01-20 19:08:34 +00:00
John Mark Bell
62245d13ec
[project @ 2004-01-05 02:10:59 by jmb]
...
Add ability to turn off browser features in build.
This may be useful when hunting down bugs.
svn path=/import/netsurf/; revision=480
2004-01-05 02:10:59 +00:00
James Bursa
ce0d5294d5
[project @ 2003-12-27 20:15:22 by bursa]
...
Use charset from Content-Type header.
svn path=/import/netsurf/; revision=460
2003-12-27 20:15:23 +00:00
John Mark Bell
4da66aef4b
[project @ 2003-12-27 01:37:51 by jmb]
...
Reduce compiler warnings
svn path=/import/netsurf/; revision=455
2003-12-27 01:37:51 +00:00
John Mark Bell
59fb052818
[project @ 2003-12-27 00:11:57 by jmb]
...
Tidy code to reduce compiler warnings. htmlredraw.c and plugin.c produce
the most now. Hopefully I haven't broken anything ;)
svn path=/import/netsurf/; revision=451
2003-12-27 00:11:57 +00:00
James Bursa
894703b53b
[project @ 2003-12-26 16:20:57 by bursa]
...
Enable cookies.
svn path=/import/netsurf/; revision=443
2003-12-26 16:20:57 +00:00
James Bursa
f1b59814f8
[project @ 2003-12-26 00:17:55 by bursa]
...
New url_join using liburi, <base href=...>.
svn path=/import/netsurf/; revision=441
2003-12-26 00:17:55 +00:00
James Bursa
9472e0c668
[project @ 2003-11-19 19:57:11 by bursa]
...
Minor improvements to the parser.
svn path=/import/netsurf/; revision=419
2003-11-19 19:57:11 +00:00
James Bursa
b1a8dce16c
[project @ 2003-11-05 16:25:35 by bursa]
...
Improved text-decoration support.
svn path=/import/netsurf/; revision=403
2003-11-05 16:25:35 +00:00
James Bursa
2ecfeff7e1
[project @ 2003-10-25 16:22:40 by bursa]
...
Minor tidy.
svn path=/import/netsurf/; revision=378
2003-10-25 16:22:40 +00:00
James Bursa
28f974f00f
[project @ 2003-10-25 14:13:49 by bursa]
...
URL encoded POST support.
svn path=/import/netsurf/; revision=375
2003-10-25 14:13:49 +00:00
John Mark Bell
9fd638f098
[project @ 2003-10-19 17:17:26 by jmb]
...
Make text-decoration span child elements.
Add text-decoration to css_dump()
svn path=/import/netsurf/; revision=371
2003-10-19 17:17:26 +00:00
John Mark Bell
c97107af5c
[project @ 2003-10-17 23:47:13 by jmb]
...
Add text-decoration support. Overline needs work. a:link defaults to
being underlined.
svn path=/import/netsurf/; revision=368
2003-10-17 23:47:13 +00:00
James Bursa
13d6923b5e
[project @ 2003-10-17 17:39:29 by bursa]
...
Implement :link, ignore stylesheets with syntax errors, parse pseudo classes.
svn path=/import/netsurf/; revision=367
2003-10-17 17:39:29 +00:00
James Bursa
a808d816ee
[project @ 2003-10-16 20:48:22 by bursa]
...
Add fallback rule for general CSS syntax, handle [attr=NUMBER].
svn path=/import/netsurf/; revision=366
2003-10-16 20:48:22 +00:00
James Bursa
e33b401cb8
[project @ 2003-10-16 12:43:53 by bursa]
...
Buffer css and scan in one piece to fix tokens split across blocks.
svn path=/import/netsurf/; revision=365
2003-10-16 12:43:53 +00:00
John Mark Bell
0e5d05b125
[project @ 2003-10-10 18:13:36 by jmb]
...
CSS visibility support (not collapse)
svn path=/import/netsurf/; revision=361
2003-10-10 18:13:36 +00:00
James Bursa
4ccdd4c7d2
[project @ 2003-10-07 21:34:27 by bursa]
...
Implement white-space property, rename struct node to struct css_node and NODE_* to CSS_NODE_*.
svn path=/import/netsurf/; revision=347
2003-10-07 21:34:27 +00:00
James Bursa
15a37bb9ed
[project @ 2003-10-02 11:12:44 by bursa]
...
Fix bugs in css_match_rule().
svn path=/import/netsurf/; revision=342
2003-10-02 11:12:44 +00:00
James Bursa
ba64beed38
[project @ 2003-09-30 20:34:35 by bursa]
...
Implement background and font properties.
svn path=/import/netsurf/; revision=336
2003-09-30 20:34:35 +00:00
James Bursa
fd7078b1ad
[project @ 2003-09-28 17:37:43 by bursa]
...
Implement CSS specificity and fix bugs.
svn path=/import/netsurf/; revision=329
2003-09-28 17:37:43 +00:00
James Bursa
1975b5cd1a
[project @ 2003-09-27 23:36:34 by bursa]
...
Implement CSS attribute selectors and parent / preceding combinators.
svn path=/import/netsurf/; revision=324
2003-09-27 23:36:34 +00:00
James Bursa
5363548052
[project @ 2003-09-21 22:47:08 by bursa]
...
Implement display: inline-block and work on textarea.
svn path=/import/netsurf/; revision=307
2003-09-21 22:47:08 +00:00
James Bursa
86c2bb138a
[project @ 2003-09-08 22:47:38 by bursa]
...
Reduce default font size and increase line spacing.
svn path=/import/netsurf/; revision=273
2003-09-08 22:47:38 +00:00
James Bursa
9fa8f4037a
[project @ 2003-09-07 21:08:13 by bursa]
...
Document cache and content, split struct content up.
svn path=/import/netsurf/; revision=270
2003-09-07 21:08:13 +00:00
James Bursa
5c310d84dc
[project @ 2003-08-29 12:57:14 by bursa]
...
Better handling of server HTTP errors.
svn path=/import/netsurf/; revision=259
2003-08-29 12:57:14 +00:00
James Bursa
1548c232ca
[project @ 2003-08-27 20:09:57 by bursa]
...
Fix negative dimensions, more gui cleanup.
svn path=/import/netsurf/; revision=252
2003-08-27 20:09:57 +00:00
James Bursa
e13bb8daa8
[project @ 2003-07-20 13:58:12 by bursa]
...
Line-height fixes.
svn path=/import/netsurf/; revision=240
2003-07-20 13:58:12 +00:00
James Bursa
c17ede41d1
[project @ 2003-07-20 13:13:09 by bursa]
...
Improve line-height.
svn path=/import/netsurf/; revision=239
2003-07-20 13:13:09 +00:00
James Bursa
c7520629b0
[project @ 2003-07-16 17:38:46 by bursa]
...
Make fetchcache return 0 on failure to parse URL.
svn path=/import/netsurf/; revision=225
2003-07-16 17:38:46 +00:00
James Bursa
889ae885c6
[project @ 2003-07-14 22:57:45 by bursa]
...
Add content instances.
svn path=/import/netsurf/; revision=216
2003-07-14 22:57:45 +00:00
James Bursa
9317e33d0b
[project @ 2003-07-09 21:33:01 by bursa]
...
More work on <object> and plugins.
svn path=/import/netsurf/; revision=213
2003-07-09 21:33:01 +00:00
James Bursa
b8db0a695c
[project @ 2003-07-04 21:18:24 by bursa]
...
Make css_dump_style public.
svn path=/import/netsurf/; revision=203
2003-07-04 21:18:24 +00:00
James Bursa
c3d3a1baae
[project @ 2003-07-02 14:30:53 by bursa]
...
Make hash function case insensitive.
svn path=/import/netsurf/; revision=198
2003-07-02 14:30:53 +00:00
James Bursa
017fc4eb4b
[project @ 2003-06-30 12:44:02 by bursa]
...
New file headers.
svn path=/import/netsurf/; revision=190
2003-06-30 12:44:03 +00:00
James Bursa
1145b231d4
[project @ 2003-06-26 11:41:26 by bursa]
...
Implement HTTP redirects.
svn path=/import/netsurf/; revision=187
2003-06-26 11:41:26 +00:00
James Bursa
0c0ff3c596
[project @ 2003-06-17 19:24:20 by bursa]
...
Change fetchcache system to store loading contents in cache.
svn path=/import/netsurf/; revision=180
2003-06-17 19:24:21 +00:00
James Bursa
0993296a77
[project @ 2003-06-05 14:39:54 by bursa]
...
Undo accidental commit.
svn path=/import/netsurf/; revision=165
2003-06-05 14:39:54 +00:00
Philip Pemberton
e1b6179f9b
[project @ 2003-06-05 14:33:18 by philpem]
...
Added test GIF
svn path=/import/netsurf/; revision=164
2003-06-05 14:33:18 +00:00
James Bursa
0285c2984f
[project @ 2003-04-25 08:03:15 by bursa]
...
Various memory fixes.
svn path=/import/netsurf/; revision=128
2003-04-25 08:03:15 +00:00
James Bursa
09b1ede5a3
[project @ 2003-04-15 17:53:00 by bursa]
...
Inline images and related.
svn path=/import/netsurf/; revision=125
2003-04-15 17:53:00 +00:00
James Bursa
63b6455f73
[project @ 2003-04-13 12:50:10 by bursa]
...
style element, CSS fixes, id selectors.
svn path=/import/netsurf/; revision=124
2003-04-13 12:50:10 +00:00
James Bursa
7c94cf8be9
[project @ 2003-04-10 21:44:45 by bursa]
...
Memory usage cleaning.
svn path=/import/netsurf/; revision=121
2003-04-10 21:44:45 +00:00
James Bursa
230cb5f01f
[project @ 2003-04-09 21:57:09 by bursa]
...
Table layout fixes, allowed type list.
svn path=/import/netsurf/; revision=119
2003-04-09 21:57:09 +00:00
James Bursa
46edb645e1
[project @ 2003-04-06 18:09:34 by bursa]
...
@import, more status messages.
svn path=/import/netsurf/; revision=116
2003-04-06 18:09:34 +00:00
James Bursa
2253e38be8
[project @ 2003-04-05 21:38:06 by bursa]
...
External stylesheets.
svn path=/import/netsurf/; revision=115
2003-04-05 21:38:06 +00:00
James Bursa
75768e6700
[project @ 2003-04-05 16:24:43 by bursa]
...
Re-implement style attributes.
svn path=/import/netsurf/; revision=114
2003-04-05 16:24:43 +00:00
James Bursa
004f6c31e3
[project @ 2003-04-05 15:35:55 by bursa]
...
Use hash-table to store CSS rules.
svn path=/import/netsurf/; revision=113
2003-04-05 15:35:55 +00:00
James Bursa
4421b2e633
[project @ 2003-04-04 15:19:31 by bursa]
...
New CSS parser.
svn path=/import/netsurf/; revision=112
2003-04-04 15:19:32 +00:00
James Bursa
eb256015ad
[project @ 2003-04-01 21:33:08 by bursa]
...
CSS parser changes.
svn path=/import/netsurf/; revision=111
2003-04-01 21:33:08 +00:00
James Bursa
c520b30412
[project @ 2003-04-01 20:18:18 by bursa]
...
CSS parser progress.
svn path=/import/netsurf/; revision=110
2003-04-01 20:18:18 +00:00
James Bursa
6e0fdd2078
[project @ 2003-03-25 21:03:14 by bursa]
...
New CSS parser.
svn path=/import/netsurf/; revision=108
2003-03-25 21:03:14 +00:00