summaryrefslogtreecommitdiff
path: root/test/lex.c
Commit message (Collapse)AuthorAgeFilesLines
* Update for new lpu API.Michael Drake2013-12-141-10/+1
|
* Various changes which modify API and ABI:Michael Drake2013-12-131-1/+1
| | | | | | | | | - 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.
* Fix test build.Michael Drake2012-01-261-2/+2
| | | | svn path=/trunk/libcss/; revision=13409
* Rename all css_[^_] internal symbols to css__ so that they're nicely namespacedDaniel Silverstone2011-01-261-5/+5
| | | | svn path=/trunk/libcss/; revision=11492
* Remove Aliases file nonsenseJohn Mark Bell2010-12-041-4/+4
| | | | svn path=/trunk/libcss/; revision=10983
* Remove use of lwc_initialise and also parserutils.h includes. r=vinceDaniel Silverstone2010-12-041-1/+0
| | | | svn path=/trunk/libcss/; revision=10964
* Remove initialisation of libparserutils from testsDaniel Silverstone2010-12-041-5/+0
| | | | svn path=/trunk/libcss/; revision=10962
* Remove libcss_initialise/finalise.John Mark Bell2010-12-041-2/+3
| | | | | | Fix testsuite to compile (it passes, too) svn path=/trunk/libcss/; revision=10955
* And again.John Mark Bell2009-04-171-2/+4
| | | | svn path=/trunk/libcss/; revision=7125
* More c89ismsJohn Mark Bell2009-04-151-1/+2
| | | | svn path=/trunk/libcss/; revision=7100
* Just the one iteration, thanks. Also, no spam.John Mark Bell2009-01-121-1/+5
| | | | | | More importantly, make this build when we have spam enabled. svn path=/trunk/libcss/; revision=6050
* More modifications to allow numerous iterations for profiling.John Mark Bell2008-11-301-38/+46
| | | | | | | | | | | Overall time breakdown for allzengarden.css is approximately: lex : 37% core : 43% lang : 20% svn path=/trunk/libcss/; revision=5857
* css_string is now the same as a parserutils_dict_entry. This allows us to ↵John Mark Bell2008-11-271-15/+15
| | | | | | | | | | 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
* Port libcss to new lpu API.John Mark Bell2008-11-091-5/+4
| | | | | | Make lexer, core parser, and css21 parser constructors&destructors return errors svn path=/trunk/libcss/; revision=5674
* Fix compilation of test drivers on 64bit platforms.John Mark Bell2008-09-051-13/+23
| | | | svn path=/trunk/libcss/; revision=5261
* Only intern strings when we get a token from the lexer. Strings in tokens ↵John Mark Bell2008-08-011-1/+1
| | | | | | that have been pushed back have already been interned, so it's stupid to re-intern every time. This has required that the lexer permits its clients to modify the data members of the css_token object. That's fine, as it assumes nothing about them (they're basically just a window onto the internal lexer state, anyway). svn path=/trunk/libcss/; revision=4857
* Whoops. Missed this when adding the invalid string stuff.John Mark Bell2008-07-151-0/+3
| | | | svn path=/trunk/libcss/; revision=4663
* Import beginnings of a CSS parsing library.John Mark Bell2008-05-011-0/+184
Currently comprises a lexer. svn path=/trunk/libcss/; revision=4112