| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
- Remove client allocation function.
- Change node_classes callback not to yield array ownership to libcss.
- Node bloom filters now built by, during selection libcss.
- Added selection callbacks to get and set data on document nodes.
Test suite, example, and documentation updated to match.
|
|
|
|
| |
svn path=/trunk/libcss/; revision=14004
|
|
|
|
| |
svn path=/trunk/libcss/; revision=11557
|
|
|
|
|
|
| |
This helps prevent confusion if someone else wants a function called parse_background or similar
svn path=/trunk/libcss/; revision=11416
|
|
|
|
|
|
|
| |
TODO: update the tests to include a refcounting proof
svn path=/trunk/libcss/; revision=10162
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2) Cache unused css_style objects with chunks of size 16, 32, 48, and 64 bytes
The above should reduce heap churn somewhat.
Further improvements are possible:
1) Make the property parsers write the parsed values direct into the output
bytecode, instead of into a temporary object which is then merged into
the output.
2) Perform similar caching for css_rule and selector objects.
3) Shrink-wrap finalised output styles rather than leaving them oversized.
4) Perform measurement to determine the optimal chunk sizes (power-of-2 makes
maths simple and 16 is plucked from thin air) and cache bucket count/sizes.
svn path=/trunk/libcss/; revision=9502
|
|
|
|
| |
svn path=/trunk/libcss/; revision=8384
|
|
|
|
| |
svn path=/trunk/libcss/; revision=7852
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6856
|
|
|
|
|
|
|
|
| |
This one stands a chance of working sanely.
While this compiles, please don't expect it to link.
svn path=/trunk/libcss/; revision=6820
|
|
|
|
|
|
|
|
|
| |
It passes the tests, perhaps we need more of them.
Lifetimes of lwc_string objects really need attention before we can consider
this finished.
svn path=/trunk/libcss/; revision=6517
|
|
|
|
|
|
| |
Un-inline string->fixed conversion routine.
svn path=/trunk/libcss/; revision=6513
|
|
|
|
|
|
| |
No longer is the client called back mid-parse. Instead, they must acquire details of and process imported stylesheets after css_stylesheet_data_done() has been called on the parent sheet. The return code of css_stylesheet_data_done() informs the client of the need to process imported sheets.
svn path=/trunk/libcss/; revision=6504
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6480
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6214
|
|
|
|
|
|
| |
Add some more constants.
svn path=/trunk/libcss/; revision=6206
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6194
|
|
|
|
|
|
| |
Range check azimuth angles.
svn path=/trunk/libcss/; revision=6183
|
|
|
|
|
|
| |
Fix #rgb/#rrggbb parsing to ensure that the characters are valid hex digits.
svn path=/trunk/libcss/; revision=6167
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6041
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6037
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5762
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5758
|
|
|
|
| |
svn path=/trunk/libcss/; revision=5647
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
Currently comprises a lexer.
svn path=/trunk/libcss/; revision=4112
|