summaryrefslogtreecommitdiff
path: root/src/parse
Commit message (Collapse)AuthorAgeFilesLines
* Tidy things up somewhat.John Mark Bell2008-11-285-594/+610
| | | | | | css21 is now language, as everything will share the same parsing rules (although there is facility to alter behaviour based upon the language level -- consult language->sheet->level and then decide what to do) svn path=/trunk/libcss/; revision=5815
* css_string is now the same as a parserutils_dict_entry. This allows us to ↵John Mark Bell2008-11-274-387/+385
| | | | | | | | | | use dict entries directly as strings. iChange the way in which selectors are represented. This significantly reduces memory requirements -- reducing the approximate usage count (excludes the string dictionary, which is about 360k) of allzengarden.css from 4,535,400 bytes to 2,414,312 bytes on a 64bit platform. The string dictionary is now created and owned by the stylesheet object. The parser is just given access to this so that it can store strings in it. svn path=/trunk/libcss/; revision=5809
* Don't intern strings for CSS_TOKEN_S tokens. This is pointless, as all we ↵John Mark Bell2008-11-271-1/+5
| | | | | | care about is the token type in this case. svn path=/trunk/libcss/; revision=5806
* z-indexJohn Mark Bell2008-11-261-4/+53
| | | | svn path=/trunk/libcss/; revision=5805
* word-spacingJohn Mark Bell2008-11-261-4/+57
| | | | svn path=/trunk/libcss/; revision=5804
* widthJohn Mark Bell2008-11-261-4/+56
| | | | svn path=/trunk/libcss/; revision=5803
* widowsJohn Mark Bell2008-11-261-4/+49
| | | | svn path=/trunk/libcss/; revision=5802
* white-spaceJohn Mark Bell2008-11-262-4/+44
| | | | svn path=/trunk/libcss/; revision=5801
* volumeJohn Mark Bell2008-11-262-5/+96
| | | | svn path=/trunk/libcss/; revision=5800
* visibilityJohn Mark Bell2008-11-261-4/+35
| | | | svn path=/trunk/libcss/; revision=5799
* vertical-alignJohn Mark Bell2008-11-262-5/+94
| | | | svn path=/trunk/libcss/; revision=5798
* unicode-bidiJohn Mark Bell2008-11-252-5/+38
| | | | svn path=/trunk/libcss/; revision=5797
* text-transformJohn Mark Bell2008-11-252-5/+42
| | | | svn path=/trunk/libcss/; revision=5796
* text-indentJohn Mark Bell2008-11-251-4/+54
| | | | svn path=/trunk/libcss/; revision=5795
* text-alignJohn Mark Bell2008-11-252-5/+40
| | | | svn path=/trunk/libcss/; revision=5794
* table-layoutJohn Mark Bell2008-11-251-4/+33
| | | | svn path=/trunk/libcss/; revision=5793
* stressJohn Mark Bell2008-11-251-4/+48
| | | | svn path=/trunk/libcss/; revision=5792
* speech-rateJohn Mark Bell2008-11-252-5/+80
| | | | svn path=/trunk/libcss/; revision=5790
* speakJohn Mark Bell2008-11-252-5/+37
| | | | svn path=/trunk/libcss/; revision=5789
* speak-punctuationJohn Mark Bell2008-11-252-5/+35
| | | | svn path=/trunk/libcss/; revision=5788
* speak-numeralJohn Mark Bell2008-11-252-5/+36
| | | | svn path=/trunk/libcss/; revision=5787
* speak-headerJohn Mark Bell2008-11-252-5/+35
| | | | svn path=/trunk/libcss/; revision=5786
* richnessJohn Mark Bell2008-11-251-4/+50
| | | | svn path=/trunk/libcss/; revision=5785
* positionJohn Mark Bell2008-11-252-5/+44
| | | | svn path=/trunk/libcss/; revision=5784
* pitchJohn Mark Bell2008-11-252-5/+72
| | | | svn path=/trunk/libcss/; revision=5783
* pitch-rangeJohn Mark Bell2008-11-251-4/+48
| | | | svn path=/trunk/libcss/; revision=5782
* pause-beforeJohn Mark Bell2008-11-251-4/+52
| | | | svn path=/trunk/libcss/; revision=5781
* Fix previous commitJohn Mark Bell2008-11-251-1/+1
| | | | svn path=/trunk/libcss/; revision=5780
* pause-afterJohn Mark Bell2008-11-251-4/+52
| | | | svn path=/trunk/libcss/; revision=5779
* page-break-insideJohn Mark Bell2008-11-251-4/+33
| | | | 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-252-29/+336
| | | | | | | | | | | | | 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-252-5/+80
| | | | | | 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
* All numerical values are represented in 22:10 fixed point.John Mark Bell2008-11-231-17/+18
| | | | 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-201-1/+4
| | | | svn path=/trunk/libcss/; revision=5758
* Port css21 frontend to new object APIJohn Mark Bell2008-11-092-116/+102
| | | | svn path=/trunk/libcss/; revision=5676
* Port libcss to new lpu API.John Mark Bell2008-11-094-109/+132
| | | | | | Make lexer, core parser, and css21 parser constructors&destructors return errors svn path=/trunk/libcss/; revision=5674
* Function to extract an integer from a css_string.John Mark Bell2008-10-261-1/+1
| | | | | | | | | | 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