Commit Graph

29 Commits

Author SHA1 Message Date
nex3 1d29067586 Fixing Sass color-parsing bug. Thanks to Polar Humenn for pointing this out.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@586 7063305b-7217-0410-af8c-cdc13e5119b9
2007-08-16 18:00:43 +00:00
nex3 6fa6d6c772 Foundations of support for SassScripty functions. This also means that something like url(foo.png) in SassScript doesn't break, fixing a bug pointed out by Gioele. Thanks!
git-svn-id: svn://hamptoncatlin.com/haml/trunk@577 7063305b-7217-0410-af8c-cdc13e5119b9
2007-08-04 06:05:03 +00:00
nex3 af8ca8d0af Sass has a unary minus! Yay!
git-svn-id: svn://hamptoncatlin.com/haml/trunk@538 7063305b-7217-0410-af8c-cdc13e5119b9
2007-06-25 08:00:21 +00:00
nex3 90e14a666d Fix a minor issue with number parsing.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@418 7063305b-7217-0410-af8c-cdc13e5119b9
2007-03-17 02:08:55 +00:00
nex3 3237705d59 Some cleaning up of regexen.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@417 7063305b-7217-0410-af8c-cdc13e5119b9
2007-03-17 02:07:08 +00:00
nex3 660d273a3c Sass-constant colors expand properly, and HTML4 color literals are parsed.
Thanks to Tom Stuart.


git-svn-id: svn://hamptoncatlin.com/haml/trunk@416 7063305b-7217-0410-af8c-cdc13e5119b9
2007-03-17 02:03:10 +00:00
nex3 03c644e5a6 Added lots of :nodocs: and
git-svn-id: svn://hamptoncatlin.com/haml/trunk@384 7063305b-7217-0410-af8c-cdc13e5119b9
2007-03-01 05:52:47 +00:00
nex3 71397ced0c Sass Number parsing bug fixed.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@365 7063305b-7217-0410-af8c-cdc13e5119b9
2007-02-11 07:16:19 +00:00
nex3 87e5f9b392 Sass numbers have units attached.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@361 7063305b-7217-0410-af8c-cdc13e5119b9
2007-02-10 06:38:50 +00:00
nex3 15ca29614b Sass automatically concatenates adjacent values.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@360 7063305b-7217-0410-af8c-cdc13e5119b9
2007-02-10 05:06:47 +00:00
nex3 048b345e1c Sass reports illegal operations better.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@358 7063305b-7217-0410-af8c-cdc13e5119b9
2007-02-10 02:55:55 +00:00
nex3 c882f79c78 Sass colors can handle capital letters.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@347 7063305b-7217-0410-af8c-cdc13e5119b9
2007-02-05 00:53:31 +00:00
nex3 9a22c3717e Added a bunch of tests for Sass... almost at 100% rcov!
git-svn-id: svn://hamptoncatlin.com/haml/trunk@322 7063305b-7217-0410-af8c-cdc13e5119b9
2007-01-31 04:30:30 +00:00
nex3 7aedfff581 Cleaner exception handling in Sass::Constant.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@319 7063305b-7217-0410-af8c-cdc13e5119b9
2007-01-28 17:24:08 +00:00
nex3 e0ed883ae6 Errors raised by Sass::Constant and friends now subclasses of Sass::SyntaxError.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@318 7063305b-7217-0410-af8c-cdc13e5119b9
2007-01-28 10:28:19 +00:00
nex3 8895413d4e Modulo, making constant script pretty much complete.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@264 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-24 23:53:38 +00:00
nex3 f2f6081875 Constant division, subtraction, bugfixes.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@262 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-24 23:43:24 +00:00
nex3 c232d19f15 Constant multiplication.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@261 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-24 23:05:07 +00:00
nex3 67397758bd Plus operation defined for all constants.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@259 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-24 00:23:28 +00:00
nex3 0a13b9f3eb Not all operations are symmetric.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@258 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-23 22:58:27 +00:00
nex3 99ee33a7bd More operator/constant structure changes, plus operator defined for numbers.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@257 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-23 22:57:31 +00:00
nex3 4246a12203 More advanced operation stuff.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@256 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-23 22:34:12 +00:00
nex3 8116d203e8 Framework for Constant operations.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@255 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-23 22:32:05 +00:00
nex3 16ebd26a04 Really adding Color literal.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@254 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-23 22:31:32 +00:00
nex3 808dcec05f Color literal.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@253 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-23 21:51:44 +00:00
nex3 e794493bc8 Number literal.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@251 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-23 21:23:27 +00:00
nex3 c5b044d4b0 Proper constant substitution.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@248 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-23 03:06:52 +00:00
nex3 b8082abeb8 More advanced constant arithmetic.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@244 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-22 10:28:17 +00:00
nex3 1d5f2103b7 Basics of constant arithmetic.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@241 7063305b-7217-0410-af8c-cdc13e5119b9
2006-12-22 06:22:15 +00:00