Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Enumerate pseudo classes and elements | John Mark Bell | 2009-02-10 | 1 | -0/+20 |
| | | | | svn path=/trunk/libcss/; revision=6407 | ||||
* | Distinguish between pseudo classes and pseudo elements | John Mark Bell | 2009-02-10 | 7 | -13/+57 |
| | | | | svn path=/trunk/libcss/; revision=6406 | ||||
* | Musings about a potential optimisation | John Mark Bell | 2009-02-09 | 1 | -0/+6 |
| | | | | svn path=/trunk/libcss/; revision=6405 | ||||
* | Match details | John Mark Bell | 2009-02-09 | 2 | -5/+64 |
| | | | | svn path=/trunk/libcss/; revision=6404 | ||||
* | This is more likely to handle universal simple_selectors correctly. | John Mark Bell | 2009-02-09 | 2 | -44/+149 |
| | | | | | | | | 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 | ||||
* | Match selector chains. Universal selectors will probably break this. | John Mark Bell | 2009-02-09 | 2 | -7/+116 |
| | | | | svn path=/trunk/libcss/; revision=6402 | ||||
* | Beginnings of a handler function table. | John Mark Bell | 2009-02-09 | 2 | -9/+20 |
| | | | | svn path=/trunk/libcss/; revision=6401 | ||||
* | Iterate over the selectors in a stylesheet which match the current node's name. | John Mark Bell | 2009-02-09 | 1 | -3/+76 |
| | | | | svn path=/trunk/libcss/; revision=6400 | ||||
* | Traverse stylesheet tree iteratively. | John Mark Bell | 2009-02-09 | 1 | -22/+60 |
| | | | | svn path=/trunk/libcss/; revision=6399 | ||||
* | Further tweaks. We need to know the <sheet,rule> pair from which a property ↵ | John Mark Bell | 2009-02-07 | 1 | -2/+8 |
| | | | | | | got set so that we can determine whether a subsequently defined rule overrides it. svn path=/trunk/libcss/; revision=6395 | ||||
* | Beginnings of a style selection algorithm. | John Mark Bell | 2009-02-07 | 1 | -10/+76 |
| | | | | svn path=/trunk/libcss/; revision=6392 | ||||
* | Fix build. | John Mark Bell | 2009-02-07 | 1 | -1/+18 |
| | | | | | | Sketch out a struct containing the state needed during selection. We need to know the specificity, origin, and importance of the source of the current property value. We also need to know whether the property has been set at all (as this is not available by simply inspecting the computed style struct). svn path=/trunk/libcss/; revision=6391 | ||||
* | Oh look, I've changed my mind again. | John Mark Bell | 2009-02-07 | 5 | -23/+10 |
| | | | | | | 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 | ||||
* | More API changes. | John Mark Bell | 2009-02-07 | 6 | -7/+152 |
| | | | | | | | Make css_computed_style_create() private. Implement css_computed_style_[create,destroy](). svn path=/trunk/libcss/; revision=6389 | ||||
* | Mutators for computed style | John Mark Bell | 2009-02-07 | 2 | -1/+1628 |
| | | | | svn path=/trunk/libcss/; revision=6388 | ||||
* | It probably helps to ensure the allocation routine is accessible. | John Mark Bell | 2009-02-07 | 1 | -1/+4 |
| | | | | | | Minor fix for an accessor. svn path=/trunk/libcss/; revision=6387 | ||||
* | More accessors | John Mark Bell | 2009-02-06 | 1 | -0/+102 |
| | | | | svn path=/trunk/libcss/; revision=6386 | ||||
* | More accessors | John Mark Bell | 2009-02-06 | 1 | -0/+68 |
| | | | | svn path=/trunk/libcss/; revision=6385 | ||||
* | More accessors | John Mark Bell | 2009-02-06 | 1 | -0/+67 |
| | | | | svn path=/trunk/libcss/; revision=6384 | ||||
* | More accessors | John Mark Bell | 2009-02-06 | 1 | -0/+39 |
| | | | | svn path=/trunk/libcss/; revision=6383 | ||||
* | More accessors | John Mark Bell | 2009-02-06 | 1 | -0/+40 |
| | | | | svn path=/trunk/libcss/; revision=6382 | ||||
* | More accessors | John Mark Bell | 2009-02-06 | 1 | -2/+161 |
| | | | | svn path=/trunk/libcss/; revision=6381 | ||||
* | More accessors | John Mark Bell | 2009-02-06 | 1 | -0/+81 |
| | | | | svn path=/trunk/libcss/; revision=6380 | ||||
* | More accessors | John Mark Bell | 2009-02-06 | 1 | -0/+120 |
| | | | | svn path=/trunk/libcss/; revision=6379 | ||||
* | More accessors | John Mark Bell | 2009-02-06 | 1 | -0/+160 |
| | | | | svn path=/trunk/libcss/; revision=6378 | ||||
* | More accessors | John Mark Bell | 2009-02-06 | 1 | -0/+90 |
| | | | | svn path=/trunk/libcss/; revision=6377 | ||||
* | More accessors | John Mark Bell | 2009-02-06 | 1 | -0/+172 |
| | | | | svn path=/trunk/libcss/; revision=6376 | ||||
* | More accessors | John Mark Bell | 2009-02-06 | 1 | -0/+218 |
| | | | | svn path=/trunk/libcss/; revision=6375 | ||||
* | More accessors | John Mark Bell | 2009-02-06 | 1 | -1/+168 |
| | | | | svn path=/trunk/libcss/; revision=6374 | ||||
* | I've changed my mind. Don't assume that _INHERIT doesn't exist here. | John Mark Bell | 2009-02-06 | 1 | -15/+56 |
| | | | | svn path=/trunk/libcss/; revision=6373 | ||||
* | Some property accessors. | John Mark Bell | 2009-02-06 | 2 | -5/+149 |
| | | | | | | Define css_unit type. svn path=/trunk/libcss/; revision=6372 | ||||
* | Bit allocations. | John Mark Bell | 2009-02-06 | 1 | -0/+49 |
| | | | | svn path=/trunk/libcss/; revision=6369 | ||||
* | Enumerated values for properties. | John Mark Bell | 2009-02-05 | 2 | -16/+501 |
| | | | | | | Fixes to bit allocations. svn path=/trunk/libcss/; revision=6367 | ||||
* | Fill in members of css_computed_{style,uncommon} | John Mark Bell | 2009-02-05 | 3 | -17/+105 |
| | | | | | | Add a couple of types to types.h -- the fixed point stuff needs thinking about. svn path=/trunk/libcss/; revision=6365 | ||||
* | cursor:, which I omitted from the previous commit. | John Mark Bell | 2009-01-29 | 1 | -4/+11 |
| | | | | svn path=/trunk/libcss/; revision=6292 | ||||
* | More maths. I have no idea if this approach is sane, btw. More importantly, ↵ | John Mark Bell | 2009-01-29 | 1 | -11/+24 |
| | | | | | | I've no useful ideas as to how to represent content: svn path=/trunk/libcss/; revision=6291 | ||||
* | Create header containing computed style representation. This isn't remotely ↵ | John Mark Bell | 2009-01-27 | 2 | -6/+138 |
| | | | | | | complete. svn path=/trunk/libcss/; revision=6289 | ||||
* | I guess it helps if you commit the header, too. | John Mark Bell | 2009-01-27 | 1 | -2/+6 |
| | | | | svn path=/trunk/libcss/; revision=6286 | ||||
* | Fiddle around with css_select_style()'s API. Add some documentation. | John Mark Bell | 2009-01-27 | 1 | -2/+23 |
| | | | | svn path=/trunk/libcss/; revision=6285 | ||||
* | Introduce ability to create/destroy selection contexts. | John Mark Bell | 2009-01-26 | 4 | -1/+261 |
| | | | | svn path=/trunk/libcss/; revision=6284 | ||||
* | Use a chaining hash for selectors -- permits easy sorting of hash entries by ↵ | John Mark Bell | 2009-01-26 | 2 | -125/+111 |
| | | | | | | specificity/rule index. svn path=/trunk/libcss/; revision=6280 | ||||
* | More font and voice family tests. | Michael Drake | 2009-01-26 | 1 | -0/+39 |
| | | | | svn path=/trunk/libcss/; revision=6279 | ||||
* | Propagate specificity of simple selectors to the head of each combinator chain. | John Mark Bell | 2009-01-26 | 1 | -0/+3 |
| | | | | | | This saves us having to calculate the specificity every time we want it. svn path=/trunk/libcss/; revision=6278 | ||||
* | Assert preconditions, rather than returning runtime errors. | John Mark Bell | 2009-01-25 | 1 | -19/+22 |
| | | | | | | Squash leakage of selectors array in selector/page rules. svn path=/trunk/libcss/; revision=6274 | ||||
* | Implement css_stylesheet_{add,remove}_rule, thus (de)populating the selector ↵ | John Mark Bell | 2009-01-25 | 1 | -7/+191 |
| | | | | | | hash. svn path=/trunk/libcss/; revision=6273 | ||||
* | Add ability to delete items from the selector hash (we use lazy deletion, as ↵ | John Mark Bell | 2009-01-25 | 2 | -3/+50 |
| | | | | | | it's simpler) svn path=/trunk/libcss/; revision=6272 | ||||
* | Clean up rules when destroying sheet | John Mark Bell | 2009-01-25 | 1 | -1/+12 |
| | | | | svn path=/trunk/libcss/; revision=6271 | ||||
* | Remove redundant fields | John Mark Bell | 2009-01-25 | 1 | -6/+0 |
| | | | | svn path=/trunk/libcss/; revision=6270 | ||||
* | Destroy rules | John Mark Bell | 2009-01-25 | 1 | -4/+81 |
| | | | | svn path=/trunk/libcss/; revision=6269 | ||||
* | Destroy selectors | John Mark Bell | 2009-01-25 | 1 | -5/+17 |
| | | | | svn path=/trunk/libcss/; revision=6268 |