| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
svn path=/trunk/libcss/; revision=5676
|
|
|
|
|
|
|
|
|
|
| |
Use this in font-weight parsing.
TODO: NUMBER tokens may contain [-+]? ([0-9]+ | [0-9]* '.' [0-9]+). The lexer currently doesn't cater for the [-+]? part. This is a bug (inherited from the grammar in the spec), and must be fixed.
TODO: integer_from_css_string probably wants to pass out the number of characters processed so that the client can determine if the input was valid for their context.
svn path=/trunk/libcss/; revision=5645
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5644
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5643
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5642
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5641
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5640
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5639
|
|
|
|
|
|
| |
display
svn path=/trunk/libcss/; revision=5638
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5637
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5636
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5635
|
|
|
|
|
|
|
|
| |
{top,right,bottom,left}
s/parse_length_specifier/parse_unit_specifier/g
Fix error propagation in some cases.
svn path=/trunk/libcss/; revision=5634
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5633
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5630
|
|
|
|
|
|
|
|
|
|
| |
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).
svn path=/trunk/libcss/; revision=5627
|
|
|
|
|
|
| |
Provide API to create/destroy css_styles and append them to css_rules.
svn path=/trunk/libcss/; revision=5625
|
|
|
|
|
|
| |
Fix typos.
svn path=/trunk/libcss/; revision=5624
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5621
|
|
Stub out handlers for properties.
svn path=/trunk/libcss/; revision=5620
|