| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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=5676
|
|
|
|
|
|
| |
Make lexer, core parser, and css21 parser constructors&destructors return errors
svn path=/trunk/libcss/; revision=5674
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5648
|
|
|
|
|
|
| |
Make the css21 test driver call this so we can see if it's working.
svn path=/trunk/libcss/; revision=5602
|
|
|
|
|
|
| |
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.
svn path=/trunk/libcss/; revision=5439
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5261
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5258
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5256
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5255
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5215
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Implement all the context-related event handlers in the stage 2 parser.
svn path=/trunk/libcss/; revision=4898
|
|
|
|
|
|
| |
that have been pushed back have already been interned, so it's stupid to re-intern every time. This has required that the lexer permits its clients to modify the data members of the css_token object. That's fine, as it assumes nothing about them (they're basically just a window onto the internal lexer state, anyway).
svn path=/trunk/libcss/; revision=4857
|
|
|
|
|
|
| |
Parser core doesn't need to know about css_stylesheet, so change its API.
svn path=/trunk/libcss/; revision=4854
|
|
|
|
| |
svn path=/trunk/libcss/; revision=4852
|
|
|
|
|
|
|
|
| |
Parse errors in blocks are ignored -- it'll be up to the client to deal with this.
Fix processing of malformed decl-list entries (e.g. foo: bar; !important;)
Fix test driver to calculate remaining length correctly.
svn path=/trunk/libcss/; revision=4849
|
|
|
|
|
|
| |
Fix malformed selector input to actually result in a terminated block.
svn path=/trunk/libcss/; revision=4848
|
|
|
|
| |
svn path=/trunk/libcss/; revision=4847
|
|
|
|
|
|
| |
Implement recovery from malformed selectors
svn path=/trunk/libcss/; revision=4846
|
|
|
|
| |
svn path=/trunk/libcss/; revision=4828
|
|
|
|
| |
svn path=/trunk/libcss/; revision=4826
|
|
|
|
|
|
|
|
|
|
|
| |
Things missing:
1) Recovery after parse errors
2) Event emission (the locations of DEBUG_EVENTS are about right for this)
3) A second-stage parser
4) Any kind of testsuite
svn path=/trunk/libcss/; revision=4825
|
|
|
|
| |
svn path=/trunk/libcss/; revision=4663
|
|
|
|
| |
svn path=/trunk/libcss/; revision=4455
|
|
|
|
| |
svn path=/trunk/libcss/; revision=4126
|
|
|
|
|
|
| |
Fix test #44's expected token data.
svn path=/trunk/libcss/; revision=4125
|
|
|
|
|
|
|
| |
Significantly more tests for the lexer -- this basically covers all the non-OOD/EOF cases
Fix bug in lexing of "/x" -- the CHAR(/) was getting dropped by the "don't emit comment tokens" logic
svn path=/trunk/libcss/; revision=4120
|
|
|
|
|
|
|
|
| |
verify that the data contained within emitted tokens is as expected.
Very trivial testdata to exercise this.
svn path=/trunk/libcss/; revision=4115
|
|
Currently comprises a lexer.
svn path=/trunk/libcss/; revision=4112
|