2
I Use This!
Low Activity

Commits : Listings

Analyzed 1 day ago. based on code collected 1 day ago.
Feb 14, 2025 — Feb 14, 2026
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
direction display
John-Mark Bell
as John Mark Bell
More... over 17 years ago
cue-{after,before}
John-Mark Bell
as John Mark Bell
More... over 17 years ago
color
John-Mark Bell
as John Mark Bell
More... over 17 years ago
caption-side
John-Mark Bell
as John Mark Bell
More... over 17 years ago
border-collapse {top,right,bottom,left} s/parse_length_specifier/parse_unit_specifier/g Fix error propagation in some cases.
John-Mark Bell
as John Mark Bell
More... over 17 years ago
border-{top,right,bottom,left}-{style,width}
John-Mark Bell
as John Mark Bell
More... over 17 years ago
Some kind of border-{top,right,bottom,left}-color parsing.
John-Mark Bell
as John Mark Bell
More... over 17 years ago
Fix memory corruption. This took far too long to debug. Bah.
John-Mark Bell
as John Mark Bell
More... over 17 years ago
A bunch of property parsers. Split out !important parsing into a separate function. Support for dumping bytecode to a file handle in some kind of human-readable format. Strings can be represented in the bytecode as a pointer, length pair rather than embedding the string data into the bytecode -- all strings are interned by the core syntax parser. Add todo relating to early destruction of parser object (it shouldn't be needed once parsing is complete). Note documented issue surrounding interned string dictionary, however. In general, it seems wasteful to create a new dictionary containing string representations of keywords for every single parser instance. It would be better to have one central (statically allocated?) dictionary for this and then each parser instance can have a smaller dictionary containing any unknown strings contained within the stylesheet being parsed (e.g. string constants or URLs).
John-Mark Bell
as John Mark Bell
More... over 17 years ago
Something approximating a parser for clear. Provide API to create/destroy css_styles and append them to css_rules.
John-Mark Bell
as John Mark Bell
More... over 17 years ago
Actually include the opcodes header. Fix typos.
John-Mark Bell
as John Mark Bell
More... over 17 years ago
Something approximating an enumeration of the opcode-specific value field. Some type-related pedantry, too.
John-Mark Bell
as John Mark Bell
More... over 17 years ago
Bytecode stuff
John-Mark Bell
as John Mark Bell
More... over 17 years ago
Parse common part of declarations. Stub out handlers for properties.
John-Mark Bell
as John Mark Bell
More... over 17 years ago
In hindsight, it's more likely that opcodes will be added than flags, so use 10 bits for the opcode and 8 for flags.
John-Mark Bell
as John Mark Bell
More... over 17 years ago
Provide example of typed parameter list
John-Mark Bell
as John Mark Bell
More... over 17 years ago
Document shorthand properties
John-Mark Bell
as John Mark Bell
More... over 17 years ago
Reduce space requirements by squashing opcode + flags + value into 32 bits. This has been achieved by reducing opcode's width from 16 to 8 bits. This is fine as there's 172 opcodes still available at present so plenty of room for expansion. Flags have been reduced from 16 to 10 bits wide and currently have 8 bits unused. This leaves 14 bits available for the opcode-specific value. No opcode needs all 14 bits at present. Inherit is now a global flag rather than a pre-defined value. This saves looking at the value field at all when styles are inherited and generally reduces complexity.
John-Mark Bell
as John Mark Bell
More... over 17 years ago
All properties done.
John-Mark Bell
as John Mark Bell
More... over 17 years ago
Beginnings of a bytecode format.
John-Mark Bell
as John Mark Bell
More... over 17 years ago
Style information for selector rulesets can be shared between the individual selectors in the ruleset. Therefore, hang it off the css_rule object, rather than having a separate copy for every selector in the ruleset. Selectors know which css_rule they belong to so can easily find the applicable style information.
John-Mark Bell
as John Mark Bell
More... over 17 years ago
Fix stupid.
John-Mark Bell
as John Mark Bell
More... over 17 years ago
Squash warning
John-Mark Bell
as John Mark Bell
More... over 17 years ago
Update comment
John-Mark Bell
as John Mark Bell
More... over 17 years ago
Fix parsing of combinators: the CSS 2.1 spec grammar contains inaccuracies -- combinators may be preceded by whitespace. Fix handling of whitespace after a selector list: again, the CSS 2.1 grammar isn't accurate here.
John-Mark Bell
as John Mark Bell
More... over 17 years ago
Provide an internal mechanism for dumping stylesheets to a file handle. Make the css21 test driver call this so we can see if it's working.
John-Mark Bell
as John Mark Bell
More... over 17 years ago
Finish selector list parsing
John-Mark Bell
as John Mark Bell
More... over 17 years ago
More work on selector list parsing
John-Mark Bell
as John Mark Bell
More... over 17 years ago
Modify CSS2.1 frontend test driver to use the public stylesheet API. Media type handling may need to change -- 32bits may not be large enough in the long term, and there's no sensible way of extending this without causing ABI breakage in the future.
John-Mark Bell
as John Mark Bell
More... over 17 years ago
Implement css_stylesheet_append_data and css_stylesheet_data_done
John-Mark Bell
as John Mark Bell
More... over 17 years ago