summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* pause-afterJohn Mark Bell2008-11-251-4/+52
| | | | svn path=/trunk/libcss/; revision=5779
* page-break-insideJohn Mark Bell2008-11-252-5/+34
| | | | svn path=/trunk/libcss/; revision=5778
* page-break-beforeJohn Mark Bell2008-11-251-4/+39
| | | | svn path=/trunk/libcss/; revision=5777
* page-break-afterJohn Mark Bell2008-11-252-5/+42
| | | | svn path=/trunk/libcss/; revision=5776
* padding-{top,right,bottom,left}John Mark Bell2008-11-251-24/+68
| | | | svn path=/trunk/libcss/; revision=5775
* Fix todo from r5771.John Mark Bell2008-11-251-50/+52
| | | | svn path=/trunk/libcss/; revision=5774
* overflowJohn Mark Bell2008-11-252-5/+39
| | | | svn path=/trunk/libcss/; revision=5773
* outline-widthJohn Mark Bell2008-11-251-4/+19
| | | | svn path=/trunk/libcss/; revision=5772
* max-heightJohn Mark Bell2008-11-253-43/+350
| | | | | | | | | | | | | max-width min-height min-width orphans outline-color outline-style TODO: fix all instances of the creation of bytecode with parameters. Currently, they only consult value to determine if there are additional parameters. This means that, in the case of inherit and the default value being one which takes parameters, spurious space is allocated in the bytecode. svn path=/trunk/libcss/; revision=5771
* margin-{bottom,left,right,top}John Mark Bell2008-11-251-33/+74
| | | | | | Fix parse_border_side_* to emit lengths correctly. svn path=/trunk/libcss/; revision=5770
* list-style-type.John Mark Bell2008-11-253-13/+87
| | | | | | Apparently, upper-greek doesn't exist, so remove it from the bytecode. svn path=/trunk/libcss/; revision=5769
* list-style-positionJohn Mark Bell2008-11-252-5/+36
| | | | svn path=/trunk/libcss/; revision=5768
* list-style-imageJohn Mark Bell2008-11-251-4/+48
| | | | svn path=/trunk/libcss/; revision=5767
* Fix rounding when fractional part is close to 1.John Mark Bell2008-11-242-3/+10
| | | | | | Add testcase to exercise this. svn path=/trunk/libcss/; revision=5766
* Fix number parsing and make test code automatically determine correctness.John Mark Bell2008-11-244-15/+107
| | | | | | | More test data, which covers everything. Fix includes in libcss/types.h svn path=/trunk/libcss/; revision=5764
* Some kind of testsuite for number parsing.John Mark Bell2008-11-235-1/+177
| | | | | | It appears that negative values are broken, at least. svn path=/trunk/libcss/; revision=5763
* All numerical values are represented in 22:10 fixed point.John Mark Bell2008-11-234-33/+126
| | | | svn path=/trunk/libcss/; revision=5762
* Something approximating line-heightJohn Mark Bell2008-11-211-4/+66
| | | | | | | TODO: parse floats TODO: values with units may contain floats, not integers svn path=/trunk/libcss/; revision=5761
* letter-spacingJohn Mark Bell2008-11-201-4/+57
| | | | svn path=/trunk/libcss/; revision=5760
* heightJohn Mark Bell2008-11-201-4/+56
| | | | svn path=/trunk/libcss/; revision=5759
* Make integer_from_css_string return the number of input bytes processed.John Mark Bell2008-11-202-3/+9
| | | | svn path=/trunk/libcss/; revision=5758
* Port css21 frontend to new object APIJohn Mark Bell2008-11-093-119/+104
| | | | svn path=/trunk/libcss/; revision=5676
* Make stylesheet component constructors/destructors report errorsJohn Mark Bell2008-11-093-60/+96
| | | | svn path=/trunk/libcss/; revision=5675
* Port libcss to new lpu API.John Mark Bell2008-11-0910-144/+174
| | | | | | Make lexer, core parser, and css21 parser constructors&destructors return errors svn path=/trunk/libcss/; revision=5674
* Support signs on numbers, percentages, and dimensionsJohn Mark Bell2008-10-273-12/+79
| | | | svn path=/trunk/libcss/; revision=5648
* Really stop on first non-digitJohn Mark Bell2008-10-271-1/+1
| | | | svn path=/trunk/libcss/; revision=5647
* Update Lexer/Token documentation to handle CSS numbers correctly.John Mark Bell2008-10-272-3/+3
| | | | | | This is delightful. I get to rework the lexer state machine. Grr. svn path=/trunk/libcss/; revision=5646
* Function to extract an integer from a css_string.John Mark Bell2008-10-262-2/+44
| | | | | | | | | | Use this in font-weight parsing. TODO: NUMBER tokens may contain [-+]? ([0-9]+ | [0-9]* '.' [0-9]+). The lexer currently doesn't cater for the [-+]? part. This is a bug (inherited from the grammar in the spec), and must be fixed. TODO: integer_from_css_string probably wants to pass out the number of characters processed so that the client can determine if the input was valid for their context. svn path=/trunk/libcss/; revision=5645
* font-variant, font-weightJohn Mark Bell2008-10-262-9/+92
| | | | svn path=/trunk/libcss/; revision=5644
* font-styleJohn Mark Bell2008-10-262-5/+39
| | | | svn path=/trunk/libcss/; revision=5643
* font-sizeJohn Mark Bell2008-10-262-5/+101
| | | | svn path=/trunk/libcss/; revision=5642
* floatJohn Mark Bell2008-10-261-4/+35
| | | | svn path=/trunk/libcss/; revision=5641
* empty-cellsJohn Mark Bell2008-10-262-4/+36
| | | | svn path=/trunk/libcss/; revision=5640
* elevationJohn Mark Bell2008-10-262-5/+78
| | | | svn path=/trunk/libcss/; revision=5639
* directionJohn Mark Bell2008-10-262-9/+119
| | | | | | display svn path=/trunk/libcss/; revision=5638
* cue-{after,before}John Mark Bell2008-10-261-8/+99
| | | | svn path=/trunk/libcss/; revision=5637
* colorJohn Mark Bell2008-10-261-4/+47
| | | | svn path=/trunk/libcss/; revision=5636
* caption-sideJohn Mark Bell2008-10-261-4/+33
| | | | svn path=/trunk/libcss/; revision=5635
* border-collapseJohn Mark Bell2008-10-263-26/+275
| | | | | | | | {top,right,bottom,left} s/parse_length_specifier/parse_unit_specifier/g Fix error propagation in some cases. svn path=/trunk/libcss/; revision=5634
* border-{top,right,bottom,left}-{style,width}John Mark Bell2008-10-262-49/+185
| | | | svn path=/trunk/libcss/; revision=5633
* Some kind of border-{top,right,bottom,left}-color parsing.John Mark Bell2008-10-251-24/+67
| | | | svn path=/trunk/libcss/; revision=5630
* Fix memory corruption. This took far too long to debug. Bah.John Mark Bell2008-10-251-1/+2
| | | | svn path=/trunk/libcss/; revision=5628
* A bunch of property parsers.John Mark Bell2008-10-257-55/+558
| | | | | | | | | | Split out !important parsing into a separate function. Support for dumping bytecode to a file handle in some kind of human-readable format. Strings can be represented in the bytecode as a pointer, length pair rather than embedding the string data into the bytecode -- all strings are interned by the core syntax parser. Add todo relating to early destruction of parser object (it shouldn't be needed once parsing is complete). Note documented issue surrounding interned string dictionary, however. In general, it seems wasteful to create a new dictionary containing string representations of keywords for every single parser instance. It would be better to have one central (statically allocated?) dictionary for this and then each parser instance can have a smaller dictionary containing any unknown strings contained within the stylesheet being parsed (e.g. string constants or URLs). svn path=/trunk/libcss/; revision=5627
* Something approximating a parser for clear.John Mark Bell2008-10-235-8/+175
| | | | | | Provide API to create/destroy css_styles and append them to css_rules. svn path=/trunk/libcss/; revision=5625
* Actually include the opcodes header.John Mark Bell2008-10-222-2/+3
| | | | | | Fix typos. svn path=/trunk/libcss/; revision=5624
* Something approximating an enumeration of the opcode-specific value field.John Mark Bell2008-10-222-2/+633
| | | | | | Some type-related pedantry, too. svn path=/trunk/libcss/; revision=5623
* Bytecode stuffJohn Mark Bell2008-10-222-0/+166
| | | | svn path=/trunk/libcss/; revision=5621
* Parse common part of declarations.John Mark Bell2008-10-224-6/+1888
| | | | | | Stub out handlers for properties. svn path=/trunk/libcss/; revision=5620
* In hindsight, it's more likely that opcodes will be added than flags, so use ↵John Mark Bell2008-10-221-5/+5
| | | | | | 10 bits for the opcode and 8 for flags. svn path=/trunk/libcss/; revision=5619
* Provide example of typed parameter listJohn Mark Bell2008-10-211-0/+9
| | | | svn path=/trunk/libcss/; revision=5618