summaryrefslogtreecommitdiff
path: root/src/parse
Commit message (Collapse)AuthorAgeFilesLines
...
* Use css_fixed for fixed-point arithmetic. Simplify HSL->RGB conversion a little.John Mark Bell2011-01-211-112/+86
| | | | | | Add test data for white and black svn path=/trunk/libcss/; revision=11437
* Add transparent keyword to colour value parsingVincent Sanders2011-01-211-0/+6
| | | | svn path=/trunk/libcss/; revision=11436
* improve accuracy of lightness and saturationVincent Sanders2011-01-211-27/+42
| | | | svn path=/trunk/libcss/; revision=11434
* Fix GCC3 build. LibCSS doesn't currently build natively on RO.Michael Drake2011-01-211-1/+1
| | | | svn path=/trunk/libcss/; revision=11433
* integer based HSL to RGBVincent Sanders2011-01-211-7/+15
| | | | svn path=/trunk/libcss/; revision=11432
* mostly working integer implementationVincent Sanders2011-01-211-7/+49
| | | | svn path=/trunk/libcss/; revision=11431
* improve hsl hue angle representationVincent Sanders2011-01-211-12/+14
| | | | svn path=/trunk/libcss/; revision=11430
* add hsl colour supportVincent Sanders2011-01-213-3/+179
| | | | svn path=/trunk/libcss/; revision=11429
* Fix shared library buildJohn Mark Bell2011-01-201-2/+2
| | | | svn path=/trunk/libcss/; revision=11427
* Ensure there are zero global symbols without css_ or css__ in front of them. ↵Daniel Silverstone2011-01-2039-431/+431
| | | | | | This helps prevent confusion if someone else wants a function called parse_background or similar svn path=/trunk/libcss/; revision=11416
* Merge parser autogeneration and string handling refactor branch ↵Vincent Sanders2011-01-19121-11161/+3089
| | | | | | r=jmb,kinnison,vince svn path=/trunk/libcss/; revision=11408
* simple properties split in parse similar to select in preparation for future ↵Vincent Sanders2011-01-02125-10456/+11968
| | | | | | generation svn path=/trunk/libcss/; revision=11188
* Hack around platform headers doing the likes of typedef float FLOAT;John Mark Bell2010-12-295-13/+14
| | | | svn path=/trunk/libcss/; revision=11138
* Fix obvious bugDaniel Silverstone2010-12-201-1/+1
| | | | svn path=/trunk/libcss/; revision=11111
* Provide notification hook for imported stylesheets, to enable clients to ↵John Mark Bell2010-12-051-0/+12
| | | | | | parallelise their processing svn path=/trunk/libcss/; revision=10999
* Add support for rgba() colours. Thanks jmb.Michael Drake2010-12-053-11/+42
| | | | svn path=/trunk/libcss/; revision=10993
* alter external representation of colours to be AARRGGBB (r=jmb)Vincent Sanders2010-12-041-156/+156
| | | | svn path=/trunk/libcss/; revision=10985
* Ensure than trailing tokens are cleaned on completion of inline style parsingJohn Mark Bell2010-04-271-1/+3
| | | | svn path=/trunk/libcss/; revision=10501
* Make libcss suitable for the new libwapcaplet behaviour.Daniel Silverstone2010-03-288-513/+515
| | | | svn path=/trunk/libcss/; revision=10168
* Fix libcss to use new libwapcaplet behaviour.Daniel Silverstone2010-03-2719-912/+465
| | | | | | | TODO: update the tests to include a refcounting proof svn path=/trunk/libcss/; revision=10162
* Lose redundant assignments.John Mark Bell2009-11-225-7/+7
| | | | | | | | Drop some dead code. Avoid a potential NULL dereference. Add missing "break" in initial substate of block context parser svn path=/trunk/libcss/; revision=9678
* It turns out that using magic values for text-align is simpler than having ↵John Mark Bell2009-08-225-88/+24
| | | | | | an entirely new property for html alignment. svn path=/trunk/libcss/; revision=9387
* -libcss-alignJohn Mark Bell2009-08-215-2/+85
| | | | svn path=/trunk/libcss/; revision=9378
* Remove pointless todosJohn Mark Bell2009-08-031-2/+0
| | | | svn path=/trunk/libcss/; revision=9028
* s/opcode/opcode_t/John Mark Bell2009-08-031-1/+1
| | | | svn path=/trunk/libcss/; revision=9020
* More apparent warnings squashedJohn Mark Bell2009-08-021-3/+6
| | | | svn path=/trunk/libcss/; revision=8993
* Avoid potential warning.John Mark Bell2009-08-021-1/+8
| | | | svn path=/trunk/libcss/; revision=8991
* Use unsigned int for bitfields. Apparently, using uint32_t confuses some ↵John Mark Bell2009-08-021-2/+2
| | | | | | compilers. svn path=/trunk/libcss/; revision=8990
* More rigorous handling of EOF.John Mark Bell2009-07-311-7/+75
| | | | | | Expand test data for this. svn path=/trunk/libcss/; revision=8931
* If, after parsing the media list, we've ended up with no media whatsoever, ↵John Mark Bell2009-07-271-1/+6
| | | | | | then the list must have been blank, which implies CSS_MEDIA_ALL. svn path=/trunk/libcss/; revision=8822
* Don't intern lower-case versions of strings. Use ↵John Mark Bell2009-07-2719-582/+1913
| | | | | | lwc_context_string_caseless_isequal, instead. svn path=/trunk/libcss/; revision=8815
* Purge use of alloca()John Mark Bell2009-07-221-2/+10
| | | | svn path=/trunk/libcss/; revision=8715
* Fix rgb() colour parser not to swap g and b.Michael Drake2009-07-221-34/+34
| | | | svn path=/trunk/libcss/; revision=8696
* Colour names are case insensitiveJohn Mark Bell2009-07-171-1/+1
| | | | svn path=/trunk/libcss/; revision=8605
* Change mechanism for handling case sensitivity of element names. Now has ↵John Mark Bell2009-07-171-4/+1
| | | | | | | | another selection handler callback for this. Change selector hash to use an ASCII case-insensitive hash function. svn path=/trunk/libcss/; revision=8602
* Hacky avoidance of element name case insensitivity. The correct solution is ↵John Mark Bell2009-07-161-1/+4
| | | | | | for the client to tell us the sensitivity when creating the stylesheet. svn path=/trunk/libcss/; revision=8573
* Make list-style shorthand parser attempt to parse a list-style-type value ↵John Mark Bell2009-07-071-5/+5
| | | | | | before anything else. This way, list-style: none will do the right thing as list-style-image defaults to none, anyway. svn path=/trunk/libcss/; revision=8385
* Fixup parsing of empty inline styles -- previously, it would emit the ↵John Mark Bell2009-07-011-5/+9
| | | | | | START_STYLESHEET and START_RULESET events twice. svn path=/trunk/libcss/; revision=8242
* It probably helps to remember that @import also contains URL data.John Mark Bell2009-07-011-1/+19
| | | | svn path=/trunk/libcss/; revision=8229
* Make all URIs absoluteJohn Mark Bell2009-07-014-18/+67
| | | | svn path=/trunk/libcss/; revision=8228
* Fix list-style shorthand parserJohn Mark Bell2009-06-271-0/+8
| | | | svn path=/trunk/libcss/; revision=8073
* Fix font shorthand parser to reject spurious instances of inheritJohn Mark Bell2009-06-271-0/+32
| | | | svn path=/trunk/libcss/; revision=8069
* Fix comma separated list parsingJohn Mark Bell2009-06-271-1/+2
| | | | svn path=/trunk/libcss/; revision=8067
* Fix border + outline shorthand property parsersJohn Mark Bell2009-06-271-0/+40
| | | | svn path=/trunk/libcss/; revision=8066
* Fix azimuth parserJohn Mark Bell2009-06-271-2/+2
| | | | svn path=/trunk/libcss/; revision=8055
* Fix cue and pause shorthand parsersJohn Mark Bell2009-06-271-0/+16
| | | | svn path=/trunk/libcss/; revision=8051
* Fix padding shorthand parser in the face of inherit.John Mark Bell2009-06-272-0/+9
| | | | | | Document same fix to margin shorthand parser. svn path=/trunk/libcss/; revision=8049
* Less pointless inliningJohn Mark Bell2009-06-272-58/+58
| | | | svn path=/trunk/libcss/; revision=8033
* Fix margin shorthand parserJohn Mark Bell2009-06-261-0/+7
| | | | svn path=/trunk/libcss/; revision=8029
* It helps if you remember to disable debug againJohn Mark Bell2009-06-261-1/+1
| | | | svn path=/trunk/libcss/; revision=8025