summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Stub out a CSS 2.1 stage 2 parser.John Mark Bell2008-08-015-10/+128
| | | | | | Parser core doesn't need to know about css_stylesheet, so change its API. svn path=/trunk/libcss/; revision=4854
* Allow silencing of parser test driver.John Mark Bell2008-08-011-1/+2
| | | | svn path=/trunk/libcss/; revision=4852
* Silence debugJohn Mark Bell2008-08-011-1/+1
| | | | svn path=/trunk/libcss/; revision=4851
* EOF isn't a parse errorJohn Mark Bell2008-08-011-2/+0
| | | | svn path=/trunk/libcss/; revision=4850
* Fix handling of empty strings.John Mark Bell2008-08-011-28/+16
| | | | | | | | Parse errors in blocks are ignored -- it'll be up to the client to deal with this. Fix processing of malformed decl-list entries (e.g. foo: bar; !important;) Fix test driver to calculate remaining length correctly. svn path=/trunk/libcss/; revision=4849
* Fix at-rule processing.John Mark Bell2008-07-311-7/+5
| | | | | | Fix malformed selector input to actually result in a terminated block. svn path=/trunk/libcss/; revision=4848
* Something approximating recovery from malformed at-rules.John Mark Bell2008-07-311-6/+141
| | | | svn path=/trunk/libcss/; revision=4847
* Improve recovery from malformed declarationsJohn Mark Bell2008-07-311-69/+195
| | | | | | Implement recovery from malformed selectors svn path=/trunk/libcss/; revision=4846
* Generate and emit eventsJohn Mark Bell2008-07-302-0/+110
| | | | svn path=/trunk/libcss/; revision=4828
* Implement error recovery for malformed declarations.John Mark Bell2008-07-301-12/+176
| | | | svn path=/trunk/libcss/; revision=4826
* Implement the first-stage parser.John Mark Bell2008-07-303-0/+1765
| | | | | | | | | | | Things missing: 1) Recovery after parse errors 2) Event emission (the locations of DEBUG_EVENTS are about right for this) 3) A second-stage parser 4) Any kind of testsuite svn path=/trunk/libcss/; revision=4825
* Correctly process unterminated strings.John Mark Bell2008-06-262-26/+37
| | | | svn path=/trunk/libcss/; revision=4455
* Pedantic linewrappingJohn Mark Bell2008-05-201-2/+8
| | | | | | Flag todo relating to handling of unexpected end of string svn path=/trunk/libcss/; revision=4185
* Fix testdriver to accept # in inputJohn Mark Bell2008-05-031-2/+4
| | | | | | | Significantly more tests for the lexer -- this basically covers all the non-OOD/EOF cases Fix bug in lexing of "/x" -- the CHAR(/) was getting dropped by the "don't emit comment tokens" logic svn path=/trunk/libcss/; revision=4120
* Add spaceJohn Mark Bell2008-05-011-1/+1
| | | | svn path=/trunk/libcss/; revision=4114
* Import beginnings of a CSS parsing library.John Mark Bell2008-05-0112-0/+2745
Currently comprises a lexer. svn path=/trunk/libcss/; revision=4112