258 Commits

Author SHA1 Message Date
Connor Skees
10059daad9 rustfmt 2022-12-26 19:11:43 -05:00
Connor Skees
31bbe8f60f make path input more permissive 2022-12-26 19:07:25 -05:00
Connor Skees
ffaee04613
rewrite parsing, evaluation, and serialization (#67)
Adds support for the indented syntax, plain CSS imports, `@forward`, and many other previously missing features.
2022-12-26 15:33:04 -05:00
Connor Skees
bd83410a8a bump version to 0.11.2 2022-09-03 19:42:27 -04:00
Connor Skees
95230c0df9 expose error kind 2022-09-03 19:24:44 -04:00
Connor Skees
d349591926 clippy 2022-09-02 17:05:04 -04:00
Connor Skees
78f482c9bb bump version to 0.11.1 2022-09-02 16:22:15 -04:00
Connor Skees
fa5789aa97 clippy 2022-05-31 09:50:48 -04:00
Connor Skees
93ad5caa39 bump version to 0.11.0 2022-04-03 19:36:32 -04:00
Connor Skees
15a58313e5 fmt, clippy 2022-02-08 20:22:38 -05:00
Chris Morgan
3c5463ac4c
File system interception, and various other matters (#55) 2022-02-03 17:41:10 -05:00
Connor Skees
dd92ebf39b bump version to 0.10.8 2021-09-20 21:33:15 -04:00
Connor Skees
c43b3a7661 bump version to 0.10.7 2021-08-15 23:33:54 -04:00
Connor Skees
1a72f06f78 bump version to 0.10.6 2021-07-25 13:02:58 -04:00
Connor Skees
94fe52a81d support compressed lists and number values 2021-07-25 09:57:55 -04:00
Connor Skees
36411e36d3 space between styles inside @supports 2021-07-24 00:58:12 -04:00
Connor Skees
0edb60e2b3 support three level extend loop
the last feature stopping us from semantic parity with `dart-sass` when
compiling bootstrap.

this was a difficult bug -- it essentially boiled down to the fact that
we weren't applying extensions to _super_ selectors.

i suspect that this has somehow broken another feature of `@extend`, but
all of our unit tests, the sass spec, and bootstrap seem to be correct,
so i am considering this implemented.
2021-07-22 21:23:09 -04:00
Connor Skees
6d0eaef9c0 make option builder methods const 2021-07-11 17:04:46 -04:00
Connor Skees
adfecfa83e remove peekmore dependency 2021-07-11 15:12:46 -04:00
Ivan Tham
a5f3823521
add compressed output (#33) 2021-07-08 10:05:23 -04:00
Connor Skees
2ff3524ac2 support arg to map-merge 2021-07-03 23:17:31 -04:00
Connor Skees
150ba14b74 clippy 2021-07-03 19:15:31 -04:00
Connor Skees
d7e7053d03 ignore clippy::multiple_crate_versions 2020-11-16 14:17:49 -05:00
Connor Skees
32863c21fd update newly passing tests 2020-11-16 03:47:54 -05:00
Connor Skees
f17a1e6da2 placate clippy 2020-11-16 03:25:55 -05:00
Connor Skees
7b4465250e allow unimplemented!() 2020-08-19 06:20:04 -04:00
Connor Skees
2c5b7c9198 update newly passing tests 2020-08-15 22:25:11 -04:00
Connor Skees
46ecbfffe5 update newly passing tests 2020-08-12 16:27:16 -04:00
Connor Skees
10b333f663 update newly passing tests from module system 2020-08-07 02:24:17 -04:00
Connor Skees
074d679cbd support the @use ... with (...) syntax 2020-08-06 21:05:40 -04:00
Connor Skees
28701b2707 Merge branch 'master' of https://github.com/connorskees/grass into modules 2020-08-01 15:12:24 -04:00
Ivan Tham
ed85ad55a2 elide lifetime for Default Options impl 2020-08-01 14:57:15 -04:00
Connor Skees
a7325436ca respect $module argument to get-function 2020-07-30 17:46:56 -04:00
Connor Skees
2265e7eb74 implement builtin function math.sqrt 2020-07-26 21:24:21 -04:00
Connor Skees
3a7a3f508a initial parsing work for modules 2020-07-25 19:22:12 -04:00
Connor Skees
98fcc76a65 resolve wasm build issues 2020-07-24 23:58:26 -04:00
Connor Skees
a48e50f6e4 update changelog and passing tests 2020-07-24 23:49:26 -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
Joe Ling - uni laptop
1307005639 fmt fixed 2020-07-15 13:57:48 +01:00
Joe Ling - uni laptop
9135dd4782 fixed clippy errors again by addign inline for options::default 2020-07-15 13:53:15 +01:00
Joe Ling - uni laptop
07524e0905 fixed clippy errors 2020-07-15 13:42:18 +01:00
Joe Ling - uni laptop
50d1987af2 Added grass::Options and implemented options.load_paths 2020-07-15 12:37:19 +01:00
Joe Ling - uni laptop
5c20c00d6d updated comments for import and from_paths 2020-07-13 18:53:53 +01:00
Joe Ling - uni laptop
ec5ab05330 added find_import to import and renamed lib method to from_paths 2020-07-13 18:18:25 +01:00
Joe Ling - uni laptop
33a2c7efbf fixed fmt and clippy warnings 2020-07-13 16:17:16 +01:00
Joe Ling - uni laptop
afbae12b72 fixed formatting 2020-07-13 15:39:14 +01:00
Joe Ling - uni laptop
fe26350932 Added load_paths for @import 2020-07-13 14:52:52 +01:00