| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
css21 is now language, as everything will share the same parsing rules (although there is facility to alter behaviour based upon the language level -- consult language->sheet->level and then decide what to do)
svn path=/trunk/libcss/; revision=5815
|
|
|
|
|
|
|
|
|
|
| |
use dict entries directly as strings.
iChange the way in which selectors are represented. This significantly reduces memory requirements -- reducing the approximate usage count (excludes the string dictionary, which is about 360k) of allzengarden.css from 4,535,400 bytes to 2,414,312 bytes on a 64bit platform.
The string dictionary is now created and owned by the stylesheet object. The parser is just given access to this so that it can store strings in it.
svn path=/trunk/libcss/; revision=5809
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5801
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5800
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5798
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5797
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5796
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5794
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5790
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5789
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5788
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5787
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5786
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5784
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5783
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5776
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5773
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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=5676
|
|
|
|
|
|
| |
Make lexer, core parser, and css21 parser constructors&destructors return errors
svn path=/trunk/libcss/; revision=5674
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5644
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5643
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5642
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5640
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5639
|
|
|
|
|
|
| |
display
svn path=/trunk/libcss/; revision=5638
|
|
|
|
|
|
|
|
| |
{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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Stub out handlers for properties.
svn path=/trunk/libcss/; revision=5620
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5604
|
|
|
|
|
|
|
|
| |
-- combinators may be preceded by whitespace.
Fix handling of whitespace after a selector list: again, the CSS 2.1 grammar isn't accurate here.
svn path=/trunk/libcss/; revision=5603
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5599
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5597
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5255
|
|
|
|
| |
svn path=/trunk/libcss/; revision=4964
|
|
|
|
| |
svn path=/trunk/libcss/; revision=4923
|
|
|
|
|
|
| |
first instance.
svn path=/trunk/libcss/; revision=4922
|
|
|
|
|
|
|
|
|
| |
having its own event type.
Store details about the current construct on the context stack.
Document block-content, selector, and declaration stuff.
svn path=/trunk/libcss/; revision=4921
|
|
|
|
| |
svn path=/trunk/libcss/; revision=4904
|
|
|
|
|
|
| |
effectively.
svn path=/trunk/libcss/; revision=4903
|
|
|
|
| |
svn path=/trunk/libcss/; revision=4901
|
|
|
|
| |
svn path=/trunk/libcss/; revision=4899
|
|
|
|
|
|
| |
Implement all the context-related event handlers in the stage 2 parser.
svn path=/trunk/libcss/; revision=4898
|
|
|
|
| |
svn path=/trunk/libcss/; revision=4855
|
|
Parser core doesn't need to know about css_stylesheet, so change its API.
svn path=/trunk/libcss/; revision=4854
|