summaryrefslogtreecommitdiff
path: root/src/parse/properties/utils.c
Commit message (Collapse)AuthorAgeFilesLines
* Units: parse new unit namesJohn-Mark Bell2019-03-101-0/+8
|
* Parsing: Fix undefined shift in css__parse_hash_colour.Michael Drake2018-07-281-2/+2
| | | | | | | | | | uint a = 0xff; a << 24 `a` gets promoted to int, which can't store the value. src/parse/properties/utils.c:655:16: runtime error: left shift of 255 by 24 places cannot be represented in type 'int' src/parse/properties/utils.c:889:15: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
* Add support for new length units.Lucas Neves2017-11-131-0/+26
|
* Strip trailing whitespace.Michael Drake2017-09-041-29/+29
|
* strncasecmp is defined in strings.hVincent Sanders2014-09-051-0/+1
|
* Fix destruction of wrong style. Coverity #1137922.Michael Drake2013-12-151-1/+1
|
* Update for new lpu API.Michael Drake2013-12-141-1/+1
|
* Various changes which modify API and ABI:Michael Drake2013-12-131-2/+1
| | | | | | | | | - Remove client allocation function. - Change node_classes callback not to yield array ownership to libcss. - Node bloom filters now built by, during selection libcss. - Added selection callbacks to get and set data on document nodes. Test suite, example, and documentation updated to match.
* Apply slightly modified patch from Murat Gocmen.Michael Drake2013-09-101-4/+12
|
* Correct type of out parameterJohn Mark Bell2012-03-241-1/+1
| | | | svn path=/trunk/libcss/; revision=13644
* @font-face support. Credit: James MontgomerieJohn Mark Bell2011-12-041-3/+42
| | | | | | Things missing: parser tests; the following descriptors: font-feature-settings, font-stretch, font-variant, unicode-range. svn path=/trunk/libcss/; revision=13244
* Saturated maths in css fixed point Vincent Sanders2011-03-121-15/+15
| | | | svn path=/trunk/libcss/; revision=11975
* Centralise handling of transparent colours.John Mark Bell2011-01-291-15/+18
| | | | | | Add support for currentColor svn path=/trunk/libcss/; revision=11525
* Provide hook for system colour name -> RGB conversionJohn Mark Bell2011-01-291-8/+13
| | | | svn path=/trunk/libcss/; revision=11522
* Rename all css_[^_] internal symbols to css__ so that they're nicely namespacedDaniel Silverstone2011-01-261-21/+21
| | | | svn path=/trunk/libcss/; revision=11492
* Trivial optimisation of HSL->RGB conversionJohn Mark Bell2011-01-221-3/+4
| | | | svn path=/trunk/libcss/; revision=11456
* 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
* 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-211-2/+176
| | | | svn path=/trunk/libcss/; revision=11429
* Ensure there are zero global symbols without css_ or css__ in front of them. ↵Daniel Silverstone2011-01-201-26/+26
| | | | | | 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-191-1590/+189
| | | | | | 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-021-2/+1537
| | | | | | generation svn path=/trunk/libcss/; revision=11188
* Add support for rgba() colours. Thanks jmb.Michael Drake2010-12-051-10/+39
| | | | 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
* Fix libcss to use new libwapcaplet behaviour.Daniel Silverstone2010-03-271-13/+7
| | | | | | | TODO: update the tests to include a refcounting proof svn path=/trunk/libcss/; revision=10162
* Lose redundant assignments.John Mark Bell2009-11-221-2/+2
| | | | | | | | 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
* Remove pointless todosJohn Mark Bell2009-08-031-2/+0
| | | | svn path=/trunk/libcss/; revision=9028
* More apparent warnings squashedJohn Mark Bell2009-08-021-3/+6
| | | | svn path=/trunk/libcss/; revision=8993
* Don't intern lower-case versions of strings. Use ↵John Mark Bell2009-07-271-3/+10
| | | | | | lwc_context_string_caseless_isequal, instead. svn path=/trunk/libcss/; revision=8815
* 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
* Fix comma separated list parsingJohn Mark Bell2009-06-271-1/+2
| | | | svn path=/trunk/libcss/; revision=8067
* Factor comma-separated list parsing out of voice-family parserJohn Mark Bell2009-06-251-0/+316
| | | | svn path=/trunk/libcss/; revision=7980
* Centralise !important handling.John Mark Bell2009-06-181-46/+0
| | | | | | Document background-attachment parser and make it behave correctly. svn path=/trunk/libcss/; revision=7856
* Define error semantics, actually document functions, general tidying.John Mark Bell2009-06-181-22/+124
| | | | svn path=/trunk/libcss/; revision=7854
* Avoid dereferencing NULL pointerJohn Mark Bell2009-05-271-1/+2
| | | | svn path=/trunk/libcss/; revision=7584
* Split out utility functions and aural property parsers.John Mark Bell2009-05-261-0/+486
svn path=/trunk/libcss/; revision=7557