| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
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=6482
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6481
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6480
|
|
|
|
|
|
|
|
|
| |
saner, as any node may match a pseudo class, not just the immediate target of the selection.
Munge test data to no longer expect :active to match -- there's currently no way to specify which node(s) in the tree have which pseudo classes applying to them.
The pseudo classes on @page are no longer supported (namely, :left, :right, :first). These, and @page itself, probably want a dedicated API, as they are nothing to do with normal selection. Probably something like css_error css_select_page_margins(ctx, CSS_PAGE_LEFT, &computed);
svn path=/trunk/libcss/; revision=6476
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6474
|
|
|
|
|
|
| |
deprecated)
svn path=/trunk/libcss/; revision=6454
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6453
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6442
|
|
|
|
|
|
| |
Move list-style-position to make room for it.
svn path=/trunk/libcss/; revision=6440
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6435
|
|
|
|
|
|
| |
now either embedded directly in the computed style object, or are comprised of an array of objects (rather than pointers to objects)
svn path=/trunk/libcss/; revision=6432
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6430
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6418
|
|
|
|
|
|
|
|
| |
bits form a bitfield of dimensions to tile in).
Implement a couple more property handlers
svn path=/trunk/libcss/; revision=6416
|
|
|
|
|
|
| |
inherited.
svn path=/trunk/libcss/; revision=6408
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6407
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6404
|
|
|
|
|
|
|
|
| |
Refactor stuff while we're at it.
Selector chains containing universal simple components are expensive to match/reject, as they require matching details on every previous sibling/ancestor (depending on the combinator type). Thus, we aim to handle the universal case last, to have the best chance of avoiding it.
svn path=/trunk/libcss/; revision=6403
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6402
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6401
|
|
|
|
|
|
| |
It's far better that the client creates computed style objects which we then populate. This will allow more efficient composition of styles as, in the most common case, it won't require any memory allocation.
svn path=/trunk/libcss/; revision=6390
|
|
|
|
|
|
|
| |
Make css_computed_style_create() private.
Implement css_computed_style_[create,destroy]().
svn path=/trunk/libcss/; revision=6389
|
|
|
|
|
|
| |
Minor fix for an accessor.
svn path=/trunk/libcss/; revision=6387
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6386
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6385
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6384
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6383
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6382
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6381
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6380
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6379
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6378
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6377
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6376
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6375
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6374
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6373
|
|
|
|
|
|
| |
Define css_unit type.
svn path=/trunk/libcss/; revision=6372
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6369
|
|
|
|
|
|
| |
Fixes to bit allocations.
svn path=/trunk/libcss/; revision=6367
|
|
|
|
|
|
| |
Add a couple of types to types.h -- the fixed point stuff needs thinking about.
svn path=/trunk/libcss/; revision=6365
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6292
|
|
|
|
|
|
| |
I've no useful ideas as to how to represent content:
svn path=/trunk/libcss/; revision=6291
|
|
|
|
|
|
| |
complete.
svn path=/trunk/libcss/; revision=6289
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6286
|
|
|
|
| |
svn path=/trunk/libcss/; revision=6284
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use pointers to parserutils_hash_entry directly in stylesheet datastructures.
The upshot of this for allzengarden.css is:
5506 slots used (of 8192 => 67.211914%)
Data:
8 full blocks: 32768 bytes
9 partial blocks: 35124 bytes (of 36864 => 95.279945%)
Total: 69936 (4112) (32)
Hash structures: 65584
i.e. a total string dictionary size of 135,520 bytes, which is some 74,056 bytes less than before.
svn path=/trunk/libcss/; revision=5859
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This approximately halves the size of the interned string table.
We now have the following for allzengarden.css:
5507 slots used (of 8192 => 67.224121%)
Data:
3 full blocks: 12288 bytes
10 partial blocks: 38946 bytes (of 40960 => 95.083008%)
Total: 53488 (4112) (32)
Entries:
21 full blocks: 86016 bytes
1 partial blocks: 2096 bytes (of 4096 => 51.171875%)
Total: 90496 (4112) (32)
Hash structures: 65592
Which gives a total dictionary size of 209,576 bytes.
Note that 43% of this is parserutils_hash_entry structures (length-pointer pairs). It would be good, therefore, to be able to purge these.
svn path=/trunk/libcss/; revision=5852
|
|
|
|
|
|
|
|
|
|
| |
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
|