summaryrefslogtreecommitdiff
path: root/src/bytecode
Commit message (Collapse)AuthorAgeFilesLines
* Units: parse new unit namesJohn-Mark Bell2019-03-101-1/+7
|
* Add support for new length units.Lucas Neves2017-11-131-0/+13
|
* Add codes to flexbox properties.Lucas Neves2017-10-211-4/+74
|
* Strip trailing whitespace.Michael Drake2017-09-041-1/+1
|
* Parsing: Add support for parsing the CSS3 box-sizing property.Michael Drake2017-04-271-0/+5
|
* Share colour enum values.Michael Drake2014-11-071-3/+3
|
* Column rule colour of "invert" is not allowed.Michael Drake2014-11-071-1/+0
|
* Add support for parsing the writing-mode property. Thanks to Caitlin Potter.Caitlin Potter2013-09-101-0/+6
|
* Update to new NSBUILD infrastructureDaniel Silverstone2012-06-291-1/+1
| | | | svn path=/trunk/libcss/; revision=14004
* Add support for parsing CSS3 Multi-column layout properties:Michael Drake2012-01-281-0/+83
| | | | | | | | | | | | | | | | | | + break-after + break-before + break-inside + column-count + column-fill + column-gap + column-rule-color + column-rule-style + column_rule-width + column_span + column_width TODO: Shorthand properties (columns, column-rule) TODO: Selection svn path=/trunk/libcss/; revision=13412
* Add support for opacity propertyJohn Mark Bell2011-01-291-0/+4
| | | | svn path=/trunk/libcss/; revision=11527
* Centralise handling of transparent colours.John Mark Bell2011-01-291-4/+10
| | | | | | Add support for currentColor svn path=/trunk/libcss/; revision=11525
* Merge parser autogeneration and string handling refactor branch ↵Vincent Sanders2011-01-191-6/+8
| | | | | | r=jmb,kinnison,vince svn path=/trunk/libcss/; revision=11408
* It turns out that using magic values for text-align is simpler than having ↵John Mark Bell2009-08-221-8/+4
| | | | | | an entirely new property for html alignment. svn path=/trunk/libcss/; revision=9387
* -libcss-alignJohn Mark Bell2009-08-211-0/+7
| | | | svn path=/trunk/libcss/; revision=9378
* s/opcode/opcode_t/John Mark Bell2009-08-031-3/+3
| | | | svn path=/trunk/libcss/; revision=9020
* Avoid type collisions when used from C++John Mark Bell2009-08-021-1/+1
| | | | svn path=/trunk/libcss/; revision=8996
* Factor out common code from top,right,bottom,left parsersJohn Mark Bell2009-05-271-8/+6
| | | | svn path=/trunk/libcss/; revision=7578
* A bunch of c89.John Mark Bell2009-04-152-84/+84
| | | | | | | Lose trailing commas. GCC 2.95 compatibility. svn path=/trunk/libcss/; revision=7099
* Port to new buildsystemJohn Mark Bell2009-03-241-47/+1
| | | | svn path=/trunk/libcss/; revision=6856
* Completely change the approach used for presentational hints.John Mark Bell2009-03-231-103/+2
| | | | | | | | This one stands a chance of working sanely. While this compiles, please don't expect it to link. svn path=/trunk/libcss/; revision=6820
* Purge side bits. These cause more trouble than they're worth, and it's not ↵John Mark Bell2009-02-102-84/+93
| | | | | | as if there's a dearth of opcode space. svn path=/trunk/libcss/; revision=6410
* Purge stylesheet dumping code from the library.John Mark Bell2009-01-193-1835/+1
| | | | | | | Create a common header for the test harnesses to use, instead. Fix z-index dumping while we're at it. svn path=/trunk/libcss/; revision=6146
* Fix play-duringJohn Mark Bell2009-01-181-0/+1
| | | | svn path=/trunk/libcss/; revision=6130
* Don't build the serialisation code in release modeJohn Mark Bell2009-01-142-0/+4
| | | | svn path=/trunk/libcss/; revision=6064
* Complete bytecode dumping code.John Mark Bell2009-01-122-23/+1624
| | | | | | 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
* voice-familyJohn Mark Bell2009-01-101-1/+2
| | | | svn path=/trunk/libcss/; revision=6015
* Beginnings of font-familyJohn Mark Bell2008-12-041-0/+1
| | | | svn path=/trunk/libcss/; revision=5882
* counter-incrementJohn Mark Bell2008-12-041-4/+2
| | | | svn path=/trunk/libcss/; revision=5878
* Changes to the encoding of content in bytecode to better match the spec.John Mark Bell2008-12-031-1/+5
| | | | | | Beginnings of a content property parser. svn path=/trunk/libcss/; revision=5874
* Something approximating clipJohn Mark Bell2008-12-021-1/+7
| | | | svn path=/trunk/libcss/; revision=5870
* Fix up azimuth to cater for !important after property value.John Mark Bell2008-12-011-4/+4
| | | | | | Something approximating background-position. svn path=/trunk/libcss/; revision=5866
* The advantage of interning strings is that you don't have to store their ↵John Mark Bell2008-12-011-7/+6
| | | | | | | | 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
* page-break-insideJohn Mark Bell2008-11-251-1/+1
| | | | svn path=/trunk/libcss/; revision=5778
* max-heightJohn Mark Bell2008-11-251-14/+14
| | | | | | | | | | | | | 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
* list-style-type.John Mark Bell2008-11-251-8/+7
| | | | | | Apparently, upper-greek doesn't exist, so remove it from the bytecode. svn path=/trunk/libcss/; revision=5769
* border-collapseJohn Mark Bell2008-10-261-0/+3
| | | | | | | | {top,right,bottom,left} s/parse_length_specifier/parse_unit_specifier/g Fix error propagation in some cases. svn path=/trunk/libcss/; revision=5634
* A bunch of property parsers.John Mark Bell2008-10-253-0/+281
| | | | | | | | | | 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-231-0/+5
| | | | | | 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-221-2/+2
| | | | | | 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-221-0/+164
svn path=/trunk/libcss/; revision=5621