e64e648b61
Add custom global variables
2025-01-02 12:52:20 -05:00
qaqland
692dc39f55
fix overflow in string.split, close #101 ( #102 )
CI / tests (push) Has been cancelled
CI / fmt (push) Has been cancelled
CI / clippy (push) Has been cancelled
CI / bootstrap (push) Has been cancelled
2024-09-07 17:51:38 -04:00
Connor Skees
e0bb9e2eab
bump version to 0.13.4
2024-08-04 18:54:56 +00:00
Connor Skees
c80ab399aa
clippy
2024-08-04 18:27:24 +00:00
Connor Skees
e0f0be112a
remove lifetime from lexer
2024-08-04 18:03:04 +00:00
Connor Skees
f16fc40bde
support $keys... argument to map-has-key
2024-08-04 17:43:02 +00:00
Connor Skees
1afbacb7c1
parse aliased named colors as colors
2024-08-04 16:42:45 +00:00
Connor Skees
05e3c94e00
bump version to 0.13.3
2024-05-19 04:06:29 +00:00
Connor Skees
b63697548d
minor api changes
2024-05-19 03:54:54 +00:00
Connor Skees
de68f3f375
clippy
2024-05-19 03:45:20 +00:00
Connor Skees
c494abc78e
add string.split error tests
2024-05-19 03:45:20 +00:00
Connor Skees
8831279ee1
remove unused map property from parsers
2024-05-19 03:45:20 +00:00
Matyáš Pokorný
a1ca700bff
Add logger trait ( #93 )
...
Introduced a new `Logger` trait which can be used to access all log events
emitted during compilation. Currently these only include messages emitted by the
`@debug` and `@warn` statements.
Changes were implemented in a backwards-compatible manner, but the current
`Options::quiet` method has been marked as deprecated, as its behavior can be
achieved using the `NullLogger` structure. The default logger used is
`StdLogger` which writes all log events to standard error. This reflect the
default behavior prior to introduction of `Logger`.
With these new changes, it is also now possible to properly test the `@debug`
and `@warn` statements.
2024-05-18 23:44:40 -04:00
David James
8d3258dcd4
implement and test string.split #95 ( #96 )
...
Co-authored-by: David James <xpe@ixm.local>
2024-05-11 15:30:41 -04:00
Connor Skees
3d02a5f6fb
bump version to 0.13.2
2024-02-07 05:26:21 +00:00
Connor Skees
11366ab701
resolve deprecation warning from IndexMap
2024-02-07 05:24:29 +00:00
Paolo Barbolini
318c984169
Bump dependencies ( #89 )
2024-02-06 14:03:57 -05:00
Kevin Wenner
f7f620e44d
Fix @forward
statement altering the scope of the forwarded module ( #85 )
...
* avoid mutating forwarded module scope
* fix by adding scope to ForwardedModule instead
- add a test reproducing the issue
* fix verbose and no-color sass cli flags
2023-09-27 22:15:46 -07:00
Connor Skees
491be199f7
bump MSRV to 1.64.0
2023-07-14 16:08:34 +00:00
Connor Skees
5b6a06d3c8
resolve remaining clap deprecations
2023-07-14 15:45:40 +00:00
Connor Skees
69e0938b01
ignore more false positive clippy lints
2023-07-09 23:32:13 +00:00
Connor Skees
7d1c5099a0
install components in ci
2023-07-09 22:12:12 +00:00
Connor Skees
a919927101
bump version to 0.13.0
2023-07-09 22:00:50 +00:00
Connor Skees
67044cdb85
ignore false positive clippy lint
2023-07-09 21:56:15 +00:00
Connor Skees
402578136f
rename children => body
2023-07-09 21:39:43 +00:00
Dirk Stolle
343c7124a4
fix some typos ( #78 )
2023-07-09 21:21:42 +00:00
greenwoodcm
beb64abac4
support $keys...
argument for map.get
( #83 )
...
per the sass-lang docs [1], the user should be able to invoke
`map.get($my-map, "key1", "key2")` to perform a nested lookup
of the two keys. the current implementation fails if provided
more than two arguments to `map.get`. this change implements
the nested get. fixes #80 .
[1] https://sass-lang.com/documentation/modules/map/
2023-07-09 13:55:45 -04:00
Connor Skees
346b8c127b
allow building docs with stable rust compiler
2023-06-30 06:22:25 +00:00
Connor Skees
8b34d0ee2a
expose more AST internals in grass_compiler
2023-06-30 05:34:05 +00:00
Connor Skees
8363ca1dd3
various module system improvements and bug fixes
2023-05-20 18:13:15 +00:00
Connor Skees
28c2269bb1
bump version to 0.12.4
2023-05-12 02:44:14 +00:00
Connor Skees
eecff6d58a
implement builtin fn map.deep-remove
2023-05-12 02:34:25 +00:00
Connor Skees
f811b243c7
implement builtin fn map.deep-merge(..)
2023-05-11 16:38:56 +00:00
Connor Skees
712a14b36e
bump version to 0.12.3
2023-02-18 15:09:23 -05:00
Connor Skees
b13fcc3f08
expose more internals
2023-02-18 15:05:51 -05:00
connorskees
dc6a2d1165
resolve more todos
2023-02-02 06:14:10 +00:00
connorskees
cd193dd006
bump version to 0.12.2
2023-02-01 02:45:17 +00:00
connorskees
942bb20d75
revert float formatting change
...
this change does fix more number tests, but i'm not certain that
it doesn't break cases we don't test for.
it only solves extremely niche edge cases, so for now reverting
until we can be more certain in a later release
2023-02-01 02:42:19 +00:00
Roland Fredenhagen
1e440a0d2c
fix calc whitespace ( #71 )
2023-01-31 18:57:10 -05:00
connorskees
45ad97e0be
fix typo in docs
2023-01-25 03:35:46 +00:00
connorskees
40d2aa232a
improve code coverage
2023-01-21 23:06:43 +00:00
connorskees
5889859968
increase selector code coverage
2023-01-20 22:59:27 +00:00
connorskees
d0d9459d8e
improve compressed output for selectors and colors
2023-01-18 05:55:55 +00:00
connorskees
3b7f4dd039
use compressed output in doc example
...
makes this feature more discoverable, as it's typically what users want
2023-01-18 02:17:35 +00:00
connorskees
23abe152bd
increase code coverage
2023-01-18 01:39:40 +00:00
connorskees
0de3d2709f
resolve all failing color spec tests
2023-01-17 05:22:34 +00:00
connorskees
a7c2ca7b82
clippy
2023-01-16 22:32:03 +00:00
connorskees
f5a654fe5b
simplify builtin fn argument handling
2023-01-16 06:46:56 +00:00
connorskees
95efc582b5
naively cache imports in certain cases
2023-01-11 14:59:28 +00:00
connorskees
3cb5e66fda
resolve edge case when interpolated parent selector expands to be larger than source span _and_ it contains an escaped character
2023-01-11 01:10:36 +00:00