| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
svn path=/trunk/libcss/; revision=5779
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5778
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5777
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5776
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5775
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5774
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5773
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5772
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
max-width
min-height
min-width
orphans
outline-color
outline-style
TODO: fix all instances of the creation of bytecode with parameters. Currently, they only consult value to determine if there are additional parameters. This means that, in the case of inherit and the default value being one which takes parameters, spurious space is allocated in the bytecode.
svn path=/trunk/libcss/; revision=5771
|
|
|
|
|
|
| |
Fix parse_border_side_* to emit lengths correctly.
svn path=/trunk/libcss/; revision=5770
|
|
|
|
|
|
| |
Apparently, upper-greek doesn't exist, so remove it from the bytecode.
svn path=/trunk/libcss/; revision=5769
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5768
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5767
|
|
|
|
|
|
| |
Add testcase to exercise this.
svn path=/trunk/libcss/; revision=5766
|
|
|
|
|
|
|
| |
More test data, which covers everything.
Fix includes in libcss/types.h
svn path=/trunk/libcss/; revision=5764
|
|
|
|
|
|
| |
It appears that negative values are broken, at least.
svn path=/trunk/libcss/; revision=5763
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5762
|
|
|
|
|
|
|
| |
TODO: parse floats
TODO: values with units may contain floats, not integers
svn path=/trunk/libcss/; revision=5761
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5760
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5759
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5758
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5676
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5675
|
|
|
|
|
|
| |
Make lexer, core parser, and css21 parser constructors&destructors return errors
svn path=/trunk/libcss/; revision=5674
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5648
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5647
|
|
|
|
|
|
| |
This is delightful. I get to rework the lexer state machine. Grr.
svn path=/trunk/libcss/; revision=5646
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5628
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Some type-related pedantry, too.
svn path=/trunk/libcss/; revision=5623
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5621
|
|
|
|
|
|
| |
Stub out handlers for properties.
svn path=/trunk/libcss/; revision=5620
|
|
|
|
|
|
| |
10 bits for the opcode and 8 for flags.
svn path=/trunk/libcss/; revision=5619
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5618
|