summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Support pointers in the expected bytecode.John Mark Bell2009-01-143-14/+110
| | | | | | Add a simple test that uses this functionality. svn path=/trunk/libcss/; revision=6065
* Don't build the serialisation code in release modeJohn Mark Bell2009-01-144-0/+8
| | | | svn path=/trunk/libcss/; revision=6064
* @import tests and support in the test harness.John Mark Bell2009-01-142-17/+21
| | | | svn path=/trunk/libcss/; revision=6063
* Make @import actually create a rule and attempt some kind of fetch logic.John Mark Bell2009-01-143-1/+90
| | | | | | | There's still a bunch of outstanding functionality here (like URL resolution and media list parsing). Also, there's currently no way of telling the client to stop fetching data for a stylesheet (and, more importantly, not to attempt to access the stylesheet again as it's about to be destroyed) svn path=/trunk/libcss/; revision=6062
* at-rule test data. Only @charset for now.John Mark Bell2009-01-142-0/+25
| | | | svn path=/trunk/libcss/; revision=6061
* Add support for non-selector rule types (currently only charset rules)John Mark Bell2009-01-141-41/+91
| | | | svn path=/trunk/libcss/; revision=6060
* Create charset rule objects.John Mark Bell2009-01-143-3/+58
| | | | svn path=/trunk/libcss/; revision=6059
* More selector tests.John Mark Bell2009-01-131-0/+181
| | | | svn path=/trunk/libcss/; revision=6056
* Make the automated parser test harness compare selectorsJohn Mark Bell2009-01-133-1/+295
| | | | | | Some testdata for selectors svn path=/trunk/libcss/; revision=6055
* Point in the direction of the bytecode documentation before someone ↵John Mark Bell2009-01-121-1/+2
| | | | | | complains that they don't know what hexnum is meant to represent. svn path=/trunk/libcss/; revision=6054
* Document testdata formatJohn Mark Bell2009-01-121-0/+48
| | | | svn path=/trunk/libcss/; revision=6053
* Testcase for colour specifiers. Should cover most things.John Mark Bell2009-01-121-0/+19
| | | | | | This (or something similar) will need migrating to the automated data at some point. svn path=/trunk/libcss/; revision=6052
* Just the one iteration -- I'm fed up of waiting for this to finish.John Mark Bell2009-01-121-1/+1
| | | | | | Multiple iterations are only of any use for benchmarking, anyway. svn path=/trunk/libcss/; revision=6051
* 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
* Something approximating the beginnings of an automated test harness for the ↵John Mark Bell2009-01-125-2/+327
| | | | | | parser. svn path=/trunk/libcss/; revision=6049
* Complete bytecode dumping code.John Mark Bell2009-01-123-60/+1689
| | | | | | Change a few opcode values to be more consistent (namely, bit 7 set generally implies that there's data to follow). svn path=/trunk/libcss/; revision=6048
* Slightly more obvious logic. This code still sucks.John Mark Bell2009-01-121-15/+15
| | | | svn path=/trunk/libcss/; revision=6047
* Lose a todo. I don't think we want to have the lexer split up dimensions ↵John Mark Bell2009-01-121-1/+0
| | | | | | into value + unit pairs. svn path=/trunk/libcss/; revision=6046
* When parsing colours, it helps to remember that percentages aren't ↵John Mark Bell2009-01-121-17/+13
| | | | | | necessarily integers. svn path=/trunk/libcss/; revision=6045
* Parse units. This is the only place where we actually have to perform string ↵John Mark Bell2009-01-121-8/+86
| | | | | | comparisons rather than simply comparing pointers. Calling strncasecmp for such short strings may incur an excessive overhead. If so, we can perform the comparison ourselves, thus avoiding the function call. Making the lexer separate the units from the value probably isn't helpful, particularly thanks to the need to handle "color: 0f0000;" in quirks mode (this will be lexed as a dimension). svn path=/trunk/libcss/; revision=6044
* Fix testcase.John Mark Bell2009-01-121-1/+1
| | | | svn path=/trunk/libcss/; revision=6043
* Make rgb() parsing work.John Mark Bell2009-01-121-1/+32
| | | | svn path=/trunk/libcss/; revision=6042
* Make integer parsing more robustJohn Mark Bell2009-01-122-45/+30
| | | | svn path=/trunk/libcss/; revision=6041
* Beginnings of a colour specifier parser.John Mark Bell2009-01-114-50/+111
| | | | svn path=/trunk/libcss/; revision=6037
* Document the grammar of colour specifiersJohn Mark Bell2009-01-101-0/+7
| | | | svn path=/trunk/libcss/; revision=6020
* text-decorationJohn Mark Bell2009-01-102-7/+65
| | | | svn path=/trunk/libcss/; revision=6018
* quotesJohn Mark Bell2009-01-101-5/+136
| | | | svn path=/trunk/libcss/; revision=6017
* play-duringJohn Mark Bell2009-01-102-6/+74
| | | | svn path=/trunk/libcss/; revision=6016
* voice-familyJohn Mark Bell2009-01-103-7/+312
| | | | svn path=/trunk/libcss/; revision=6015
* Squash memory leaksJohn Mark Bell2009-01-101-4/+19
| | | | svn path=/trunk/libcss/; revision=6014
* Yet more font-family. This should now be complete.John Mark Bell2009-01-101-7/+73
| | | | | | If you thought the code was ugly before, this is worse. svn path=/trunk/libcss/; revision=6013
* Fix buffer overflows. Remind me to refactor this code -- it's ugly.John Mark Bell2009-01-101-4/+6
| | | | svn path=/trunk/libcss/; revision=6012
* Port to modified parserutils API.John Mark Bell2009-01-061-222/+242
| | | | svn path=/trunk/libcss/; revision=5973
* A little more work on font-family.John Mark Bell2008-12-052-32/+85
| | | | svn path=/trunk/libcss/; revision=5883
* Beginnings of font-familyJohn Mark Bell2008-12-042-6/+193
| | | | svn path=/trunk/libcss/; revision=5882
* Clarify font-familyJohn Mark Bell2008-12-042-6/+12
| | | | svn path=/trunk/libcss/; revision=5881
* cursorJohn Mark Bell2008-12-042-6/+264
| | | | svn path=/trunk/libcss/; revision=5880
* counter-resetJohn Mark Bell2008-12-041-5/+163
| | | | svn path=/trunk/libcss/; revision=5879
* counter-incrementJohn Mark Bell2008-12-043-15/+169
| | | | svn path=/trunk/libcss/; revision=5878
* Factor out common part of content parser.John Mark Bell2008-12-031-435/+311
| | | | | | This simplifies and shortens the code. svn path=/trunk/libcss/; revision=5877
* Finish contentJohn Mark Bell2008-12-031-1/+238
| | | | svn path=/trunk/libcss/; revision=5876
* Factor out parsing of the value part of list-style-type.John Mark Bell2008-12-031-36/+68
| | | | | | Use this when parsing counter functions. svn path=/trunk/libcss/; revision=5875
* Changes to the encoding of content in bytecode to better match the spec.John Mark Bell2008-12-034-12/+285
| | | | | | Beginnings of a content property parser. svn path=/trunk/libcss/; revision=5874
* Something approximating clipJohn Mark Bell2008-12-024-17/+138
| | | | svn path=/trunk/libcss/; revision=5870
* Rather less memory corruption.John Mark Bell2008-12-021-8/+8
| | | | svn path=/trunk/libcss/; revision=5869
* border-spacingJohn Mark Bell2008-12-021-5/+90
| | | | svn path=/trunk/libcss/; revision=5867
* Fix up azimuth to cater for !important after property value.John Mark Bell2008-12-012-13/+157
| | | | | | Something approximating background-position. svn path=/trunk/libcss/; revision=5866
* Finish azimuthJohn Mark Bell2008-12-012-2/+72
| | | | svn path=/trunk/libcss/; revision=5865
* The advantage of interning strings is that you don't have to store their ↵John Mark Bell2008-12-013-30/+20
| | | | | | | | length everywhere. Purge the length part from the encoding of a string in the bytecode. Fix bytecode dump code to cope with this. svn path=/trunk/libcss/; revision=5864
* Given that we're going to be copying selector details, anyway, it seems ↵John Mark Bell2008-12-013-64/+26
| | | | | | pointless to create objects on the heap which can equally well be on the stack, given the shortness of their lifetime. svn path=/trunk/libcss/; revision=5863