Commit Graph

103 Commits

Author SHA1 Message Date
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