summaryrefslogtreecommitdiff
path: root/include/libcss/stylesheet.h
Commit message (Collapse)AuthorAgeFilesLines
* Various changes which modify API and ABI:Michael Drake2013-12-131-1/+0
| | | | | | | | | - 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.
* Make "params" argument to css_stylesheet_create const. Thanks to James ↵Michael Drake2011-09-021-1/+1
| | | | | | Montgomerie. svn path=/trunk/libcss/; revision=12697
* Add structure versioning for client inputJohn Mark Bell2011-03-131-0/+7
| | | | svn path=/trunk/libcss/; revision=12007
* Minor documentation fixes.John Mark Bell2011-02-021-6/+7
| | | | | | Move typedef -- types.h was probably a bad idea, in hindsight. svn path=/trunk/libcss/; revision=11600
* add system font hookVincent Sanders2011-02-021-0/+34
| | | | svn path=/trunk/libcss/; revision=11599
* Provide hook for system colour name -> RGB conversionJohn Mark Bell2011-01-291-5/+48
| | | | svn path=/trunk/libcss/; revision=11522
* Provide notification hook for imported stylesheets, to enable clients to ↵John Mark Bell2010-12-051-2/+21
| | | | | | parallelise their processing svn path=/trunk/libcss/; revision=10999
* Sprinkle some C++ scoping aroundJohn Mark Bell2010-10-231-0/+9
| | | | svn path=/trunk/libcss/; revision=10901
* Fix libcss to use new libwapcaplet behaviour.Daniel Silverstone2010-03-271-2/+2
| | | | | | | TODO: update the tests to include a refcounting proof svn path=/trunk/libcss/; revision=10162
* Origin and media are not properties of the stylesheet. John Mark Bell2010-01-121-4/+1
| | | | | | | | | They are properties of the context in which the stylesheet is used. Therefore, for top-level sheets, this information must be provided at selection time. For child sheets, the origin is inherited from their parent and the applicable media types are specified on the linking mechanism. svn path=/trunk/libcss/; revision=9802
* Calculate the in-memory size of stylesheets and provide some API to access this.John Mark Bell2009-07-271-0/+2
| | | | svn path=/trunk/libcss/; revision=8830
* Make all URIs absoluteJohn Mark Bell2009-07-011-0/+14
| | | | svn path=/trunk/libcss/; revision=8228
* Support for parsing inline stylesJohn Mark Bell2009-06-261-1/+2
| | | | svn path=/trunk/libcss/; revision=8024
* Quirks mode parsingJohn Mark Bell2009-02-151-2/+4
| | | | svn path=/trunk/libcss/; revision=6519
* Port libcss to libwapcaplet.Daniel Silverstone2009-02-141-2/+2
| | | | | | | | | 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
* Rework handling of imported stylesheets.John Mark Bell2009-02-141-8/+9
| | | | | | 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
* Drop css_error_handler and rename css_alloc to css_allocator_fnDaniel Silverstone2009-02-141-1/+1
| | | | svn path=/trunk/libcss/; revision=6482
* Synchronise media type bitfield with reality -- it's 64bits wide.John Mark Bell2009-02-121-2/+2
| | | | svn path=/trunk/libcss/; revision=6453
* Make stylesheet component constructors/destructors report errorsJohn Mark Bell2008-11-091-3/+3
| | | | svn path=/trunk/libcss/; revision=5675
* Create a parser instance for a stylesheet. Also create a level-specific ↵John Mark Bell2008-09-251-1/+1
| | | | | | frontend. This probably wants reworking as we don't really want to be switching on the language level every time we want to interact with the parser frontend. svn path=/trunk/libcss/; revision=5437
* Mechanism for the client to select the language level.John Mark Bell2008-09-251-1/+2
| | | | svn path=/trunk/libcss/; revision=5436
* Add API to get/set a stylesheet's disabled stateJohn Mark Bell2008-09-251-2/+3
| | | | svn path=/trunk/libcss/; revision=5435
* Implement most of stylesheet's public APIJohn Mark Bell2008-09-251-0/+2
| | | | svn path=/trunk/libcss/; revision=5434
* Public stylesheet API & stubbed out implementations.John Mark Bell2008-09-251-0/+36
Make public headers use libcss_ as their guard macro prefix. svn path=/trunk/libcss/; revision=5433