1598 Commits

Author SHA1 Message Date
Connor Skees
fbcee00bdd allow NaN to take units and refactor math.acos 2020-07-26 23:45:02 -04:00
Connor Skees
78da4ad2fe use macro to simplify declaration of trig fns 2020-07-26 22:17:52 -04:00
Connor Skees
e67b0dc440 implement builtin math functions sin, tan, acos, asin, and atan 2020-07-26 22:11:19 -04:00
Connor Skees
eee5eeb826 implement builtin function math.cos 2020-07-26 22:04:07 -04:00
Connor Skees
2265e7eb74 implement builtin function math.sqrt 2020-07-26 21:24:21 -04:00
Connor Skees
53cf2816e0 use None to represent NaN 2020-07-26 19:38:41 -04:00
Connor Skees
dbfa691505 resolve clippy lints 2020-07-26 13:49:13 -04:00
Connor Skees
ee57cda9c5 give better error messages for undefined modules and functions 2020-07-26 13:44:30 -04:00
Connor Skees
0916dcc5bd support the @use ... as ...; syntax 2020-07-26 13:36:01 -04:00
Connor Skees
eeb0b0a924 implement builtin sass:math function clamp 2020-07-26 13:21:59 -04:00
Connor Skees
3fae0a9621 alias sass:color builtin functions 2020-07-26 00:58:09 -04:00
Connor Skees
67fffe7498 alias sass:meta builtin functions 2020-07-26 00:47:40 -04:00
Connor Skees
b3d20a574a alias sass:string builtin functions 2020-07-26 00:25:58 -04:00
Connor Skees
ca4c5da73e alias sass:map builtin functions 2020-07-26 00:22:44 -04:00
Connor Skees
21e096247e alias sass:list builtin functions 2020-07-26 00:20:20 -04:00
Connor Skees
d6126110e9 alias sass:selector builtin functions 2020-07-26 00:15:34 -04:00
Connor Skees
15f657df6d implement builtin sass:math variables 2020-07-26 00:10:55 -04:00
Connor Skees
060641b86d implement aliased sass:math functions 2020-07-26 00:05:13 -04:00
Connor Skees
c0631c75a0 resolve parsing error involving toplevel, multiline comments 2020-07-25 20:30:01 -04:00
Connor Skees
8c23ec046e allow loading of builtin modules 2020-07-25 20:05:46 -04:00
Connor Skees
31cdc97232 create @use specific tests 2020-07-25 19:23:37 -04:00
Connor Skees
3a7a3f508a initial parsing work for modules 2020-07-25 19:22:12 -04:00
Connor Skees
dee6699bde remove superfluous parser creation 2020-07-25 18:33:59 -04:00
Connor Skees
7f25d526f5 more liberally throw away comments alongside whitespace 2020-07-25 15:03:49 -04:00
Connor Skees
3757c39c6f resolve panic from the input foo($--) 2020-07-25 14:45:11 -04:00
Connor Skees
f2cd74528b remove unwrap from next_is_hyphen() 2020-07-25 01:05:42 -04:00
Connor Skees
91b000ac0d bump version to 0.10.0 2020-07-24 23:59:36 -04:00
Connor Skees
98fcc76a65 resolve wasm build issues 2020-07-24 23:58:26 -04:00
Connor Skees
9dc87f4c96 bump dependencies 2020-07-24 23:54:19 -04:00
Connor Skees
a48e50f6e4 update changelog and passing tests 2020-07-24 23:49:26 -04:00
Connor Skees
68e5f40f7d load paths take at most one per arg 2020-07-24 23:34:25 -04:00
Connor Skees
bafafcf0b4 deduplicate @import test filenames 2020-07-24 20:24:47 -04:00
Connor Skees
67cbf9591a allow !optional in @extend 2020-07-24 20:23:54 -04:00
Connor Skees
5634681fa2 lazily evaluate default variable values 2020-07-24 20:13:14 -04:00
Connor Skees
01a11d7787 add unit test for lasso regression 2020-07-24 20:00:29 -04:00
Connor Skees
fa06351af0 drop lasso back down to 0.2.0 due to regressions 2020-07-24 17:54:48 -04:00
Joe Ling - uni laptop
745fbc4e95 added tests for trailing commas and css imports 2020-07-24 15:40:39 -04:00
Joe Ling - uni laptop
428599f091 fixed test tempfile naming 2020-07-24 15:40:39 -04:00
Joe Ling - uni laptop
be4d02490c added comma separated imports 2020-07-24 15:40:34 -04:00
Ivan Tham
741f560e90 bump lasso 0.3 2020-07-22 17:23:47 -04:00
Ivan Tham
55c2aa2749
refactor load_paths 2020-07-16 21:15:24 +08:00
Connor Skees
938ba492c4 simplify somewhat how load paths are calculated from the cli 2020-07-16 00:22:50 -04:00
Connor Skees
179b368ef8 add cli option to read Sass from stdin 2020-07-16 00:20:51 -04:00
Connor Skees
fb724b8bee use dynamic dispatch to simplify file io a bit 2020-07-16 00:07:59 -04:00
Connor Skees
d5d527ab70 implement configuration: allows_charset 2020-07-16 00:02:42 -04:00
Connor Skees
2ea48b4445 implement unicode error message configuration 2020-07-15 23:54:46 -04:00
Connor Skees
9d55adf927 improve documentation for Options struct 2020-07-15 14:03:11 -04:00
Connor Skees
2b59bdf961 implement option for quiet output 2020-07-15 13:40:39 -04:00
Connor Skees
f8453e4a0a disallow interpolation in the name of mixin declarations 2020-07-15 13:20:50 -04:00
Joe Ling - uni laptop
1307005639 fmt fixed 2020-07-15 13:57:48 +01:00