summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Er yeah, it probably helps to initialise your allocation function pointer.John Mark Bell2009-02-121-0/+3
| | | | svn path=/trunk/libcss/; revision=6458
* Synchronise media type bitfield with reality -- it's 64bits wide.John Mark Bell2009-02-122-3/+3
| | | | svn path=/trunk/libcss/; revision=6453
* Handle as much voice-family as we can.John Mark Bell2009-02-111-4/+86
| | | | svn path=/trunk/libcss/; revision=6445
* And the initial value of quotes, too.John Mark Bell2009-02-111-3/+1
| | | | svn path=/trunk/libcss/; revision=6444
* Handle quotesJohn Mark Bell2009-02-111-4/+62
| | | | svn path=/trunk/libcss/; revision=6443
* Modify encoding of quotes. Move clip to accommodate.John Mark Bell2009-02-111-7/+7
| | | | svn path=/trunk/libcss/; revision=6442
* Rework font-family handler to a) compile and b) reflect the changes made to ↵John Mark Bell2009-02-111-89/+28
| | | | | | the font-family representation. svn path=/trunk/libcss/; revision=6441
* Change encoding of font-familyJohn Mark Bell2009-02-111-33/+33
| | | | | | Move list-style-position to make room for it. svn path=/trunk/libcss/; revision=6440
* Something approximating font-family. This is hideous.John Mark Bell2009-02-112-7/+158
| | | | svn path=/trunk/libcss/; revision=6439
* Squash memory leakJohn Mark Bell2009-02-111-0/+2
| | | | svn path=/trunk/libcss/; revision=6438
* Handle cursorJohn Mark Bell2009-02-111-7/+113
| | | | svn path=/trunk/libcss/; revision=6436
* Handle counter-increment/counter-resetJohn Mark Bell2009-02-111-19/+96
| | | | svn path=/trunk/libcss/; revision=6435
* Handle content, not that we actually do anything with the data we read, however.John Mark Bell2009-02-111-4/+53
| | | | svn path=/trunk/libcss/; revision=6434
* Handle as much of clip as we canJohn Mark Bell2009-02-111-2/+28
| | | | svn path=/trunk/libcss/; revision=6433
* Change the representation of any data that includes a css_string. They're ↵John Mark Bell2009-02-113-38/+14
| | | | | | 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
* More property handlersJohn Mark Bell2009-02-111-51/+186
| | | | svn path=/trunk/libcss/; revision=6431
* More property handlersJohn Mark Bell2009-02-111-115/+385
| | | | svn path=/trunk/libcss/; revision=6430
* More property handlersJohn Mark Bell2009-02-111-40/+47
| | | | svn path=/trunk/libcss/; revision=6426
* Sync azimuth with current idiom.John Mark Bell2009-02-111-15/+24
| | | | | | A couple more property handlers svn path=/trunk/libcss/; revision=6425
* More property handlersJohn Mark Bell2009-02-111-93/+66
| | | | svn path=/trunk/libcss/; revision=6424
* More property handlersJohn Mark Bell2009-02-111-71/+198
| | | | svn path=/trunk/libcss/; revision=6423
* More property handlersJohn Mark Bell2009-02-111-60/+226
| | | | svn path=/trunk/libcss/; revision=6422
* More property handlersJohn Mark Bell2009-02-111-30/+100
| | | | svn path=/trunk/libcss/; revision=6421
* More property handlersJohn Mark Bell2009-02-111-37/+91
| | | | svn path=/trunk/libcss/; revision=6420
* More property handlersJohn Mark Bell2009-02-111-255/+252
| | | | svn path=/trunk/libcss/; revision=6419
* Border colours. Factor out common code.John Mark Bell2009-02-111-63/+58
| | | | svn path=/trunk/libcss/; revision=6418
* More property handlersJohn Mark Bell2009-02-111-17/+47
| | | | svn path=/trunk/libcss/; revision=6417
* Restore the magical properties of background-repeat values (the bottom two ↵John Mark Bell2009-02-111-17/+86
| | | | | | | | bits form a bitfield of dimensions to tile in). Implement a couple more property handlers svn path=/trunk/libcss/; revision=6416
* So, it transpires that we don't need the selection context in the property ↵John Mark Bell2009-02-112-231/+283
| | | | | | | | handlers after all. Remove that, then. Implement handlers for a few properties. svn path=/trunk/libcss/; revision=6414
* Implement sort ordering. Inevitably, this is more comment than code.John Mark Bell2009-02-101-17/+110
| | | | svn path=/trunk/libcss/; revision=6413
* Purge side bits. These cause more trouble than they're worth, and it's not ↵John Mark Bell2009-02-105-177/+455
| | | | | | as if there's a dearth of opcode space. svn path=/trunk/libcss/; revision=6410
* Much API cleanup.John Mark Bell2009-02-102-23/+1660
| | | | | | | | Dispatch property handling through a table. Implement cascade_style. All property handlers are stubs at present. svn path=/trunk/libcss/; revision=6409
* Distinguish between pseudo classes and pseudo elementsJohn Mark Bell2009-02-105-11/+53
| | | | svn path=/trunk/libcss/; revision=6406
* Musings about a potential optimisationJohn Mark Bell2009-02-091-0/+6
| | | | svn path=/trunk/libcss/; revision=6405
* Match detailsJohn Mark Bell2009-02-091-5/+42
| | | | svn path=/trunk/libcss/; revision=6404
* This is more likely to handle universal simple_selectors correctly.John Mark Bell2009-02-091-41/+143
| | | | | | | | 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 Bell2009-02-091-6/+107
| | | | svn path=/trunk/libcss/; revision=6402
* Beginnings of a handler function table.John Mark Bell2009-02-091-8/+11
| | | | svn path=/trunk/libcss/; revision=6401
* Iterate over the selectors in a stylesheet which match the current node's name.John Mark Bell2009-02-091-3/+76
| | | | svn path=/trunk/libcss/; revision=6400
* Traverse stylesheet tree iteratively.John Mark Bell2009-02-091-22/+60
| | | | svn path=/trunk/libcss/; revision=6399
* Further tweaks. We need to know the <sheet,rule> pair from which a property ↵John Mark Bell2009-02-071-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 Bell2009-02-071-10/+76
| | | | svn path=/trunk/libcss/; revision=6392
* Fix build.John Mark Bell2009-02-071-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 Bell2009-02-073-21/+6
| | | | | | 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 Bell2009-02-074-3/+150
| | | | | | | Make css_computed_style_create() private. Implement css_computed_style_[create,destroy](). svn path=/trunk/libcss/; revision=6389
* Mutators for computed styleJohn Mark Bell2009-02-072-1/+1628
| | | | svn path=/trunk/libcss/; revision=6388
* Fill in members of css_computed_{style,uncommon}John Mark Bell2009-02-051-0/+1
| | | | | | Add a couple of types to types.h -- the fixed point stuff needs thinking about. svn path=/trunk/libcss/; revision=6365
* Fiddle around with css_select_style()'s API. Add some documentation.John Mark Bell2009-01-271-2/+23
| | | | svn path=/trunk/libcss/; revision=6285
* Introduce ability to create/destroy selection contexts.John Mark Bell2009-01-262-1/+221
| | | | svn path=/trunk/libcss/; revision=6284
* Use a chaining hash for selectors -- permits easy sorting of hash entries by ↵John Mark Bell2009-01-262-125/+111
| | | | | | specificity/rule index. svn path=/trunk/libcss/; revision=6280