Sam Rawlins
54192ee815
Fix a new missing_return error in Dart 2.1.0-dev.0.0 ( #445 )
2018-08-14 13:11:21 -07:00
Natalie Weizenbaum
023bf91745
Add deprecation warnings for hex alpha colors ( #367 )
...
Also support unambiguous hex alpha colors.
Closes #360
See sass/sass#2179
2018-06-21 17:47:06 -07:00
Natalie Weizenbaum
b949f9fe72
Use Dart 2 constants
2018-06-15 13:59:28 -07:00
Natalie Weizenbaum
a31a147dd6
Stop using Delegating*.typed()
2018-06-14 16:15:27 -07:00
Natalie Weizenbaum
5cce76b6d4
Use constants from dart2_constants ( #282 )
2018-04-04 15:49:07 -07:00
Natalie Weizenbaum
9d3c8cdc1e
Allow mod 0 ( #255 )
...
Closes #254
2018-03-16 13:39:21 -07:00
Natalie Weizenbaum
f1e58e083e
Make SassList.contents private ( #227 )
...
This forces users to use Value.asList, which encourages them to be
aware that every value counts as a list.
2018-02-02 17:36:29 -08:00
Natalie Weizenbaum
a7ca1e0055
new SassString() defaults to quoted
...
We encourage API users to produce quoted strings when in doubt, so our
API should match that behavior.
2018-02-02 16:49:23 -08:00
Natalie Weizenbaum
9240f372aa
Fix a unit division bug
2018-01-23 12:51:33 -08:00
Natalie Weizenbaum
921e1fa204
Fix a unit optimization bug
2018-01-23 12:45:25 -08:00
Natalie Weizenbaum
123fe55017
Add SassString index helpers
...
We aren't using these in our own functions because, for
backwards-compatibility, these functions don't throw errors for
invalid indices.
2018-01-14 16:04:46 -08:00
Natalie Weizenbaum
9d207b13ec
SassNumber.assertIndexFor() -> Value.sassIndexToListIndex() ( #211 )
2018-01-14 13:38:43 -08:00
Natalie Weizenbaum
1e09cec5aa
Split Value and its subtypes into public and private interfaces ( #210 )
2018-01-13 01:30:42 -08:00
Natalie Weizenbaum
e5af175b55
Fix a couple number hashing bugs
2018-01-13 00:34:54 -08:00
Natalie Weizenbaum
b5a838c9c5
Improve callable and value documentation
...
This documentation now targets external users, since these are part of
the public API.
2018-01-13 00:34:54 -08:00
Natalie Weizenbaum
aa3c765b10
Allow var() in place of multiple arguments to color functions ( #208 )
...
See sass/sass#2440
2018-01-12 11:43:36 -08:00
Natalie Weizenbaum
74400dc4a4
Add asynchronous versions of several evaluation-related libraries
...
This allows us to support asynchronous importers and, eventually,
functions without breaking synchronous support. The copies were made
manually, but the eventual plan is to auto-generate the synchronous
versions by stripping all asynchrony from the async versions.
See #9
2017-12-01 14:29:11 -08:00
Sam Rawlins
3b6f5ec3a0
Add a separator character to ListSeparator ( #133 )
2017-05-25 12:56:12 -07:00
Natalie Weizenbaum
7248cf0e27
Use real generic method syntax.
2017-05-18 17:11:32 -07:00
Natalie Weizenbaum
79261fee8e
Add boolean short-circuiting.
2017-02-03 17:37:54 -08:00
Natalie Weizenbaum
4b614166ca
Fix numbers divided by colors.
2017-01-26 20:08:49 -08:00
Natalie Weizenbaum
04570bf828
Warn about named colors in interpolation.
2017-01-15 12:30:50 -08:00
Natalie Weizenbaum
2d28194e4c
Fix %.
2017-01-14 22:54:13 -08:00
Natalie Weizenbaum
ca4d411362
Fix str-slice() again.
2017-01-14 22:39:28 -08:00
Natalie Weizenbaum
566c06df0e
Fix unitless-to-unit number equality.
2017-01-14 22:17:57 -08:00
Natalie Weizenbaum
bf771689f3
Fix SassMap.asList's return type.
2017-01-08 21:39:30 -08:00
Natalie Weizenbaum
7564b6a51a
Include names in unit assertion errors.
2017-01-08 21:26:05 -08:00
Natalie Weizenbaum
7ccccbc2ba
Fix unit coercion in @for.
2017-01-06 17:46:12 -08:00
Natalie Weizenbaum
41772a1739
Fix str-slice(). ( #70 )
...
See sass/sass#2211
2016-12-18 17:54:35 -08:00
Natalie Weizenbaum
9d678469d0
Support var() in plain CSS color functions. ( #69 )
...
See sass/sass-spec#1002
See sass/sass#2175
2016-12-16 18:20:03 -08:00
Natalie Weizenbaum
c91ace92ab
Fix dp unit conversions. ( #68 )
...
See sass/sass#2143
2016-12-16 18:00:15 -08:00
Natalie Weizenbaum
a15bc625bf
Fix an RGB-to-HSL bug.
2016-11-05 23:42:07 -07:00
Natalie Weizenbaum
ce8e223d88
Make color equality consider alpha.
2016-11-05 22:28:34 -07:00
Natalie Weizenbaum
bab6ebb59a
Track and use colors' original representations.
2016-11-02 17:37:10 -07:00
Natalie Weizenbaum
9ec89f6944
Support get-function().
2016-10-28 15:28:05 -07:00
Natalie Weizenbaum
683f4afb40
Fix number multiplication.
2016-10-21 21:28:16 -07:00
Natalie Weizenbaum
271f899d3b
Support slash numbers in lists.
2016-10-20 17:50:02 -07:00
Natalie Weizenbaum
9cd43fff02
Fix adjust-color().
2016-10-19 23:09:03 -07:00
Natalie Weizenbaum
5d6ff2eadc
Fix unit conversion in division.
2016-10-19 23:02:33 -07:00
Natalie Weizenbaum
87e03f17eb
Properly cancel unknown units.
2016-10-19 18:53:57 -07:00
Natalie Weizenbaum
e4fd1beb7a
Fix a number division bug.
2016-10-19 18:45:16 -07:00
Natalie Weizenbaum
13156d5107
Disable implicit downcasts.
2016-10-19 17:56:48 -07:00
Natalie Weizenbaum
870a2a4f4a
Update number equality.
2016-10-18 21:39:29 -07:00
Natalie Weizenbaum
101904d26c
Fix unquoted + quoted.
2016-10-18 20:34:03 -07:00
Natalie Weizenbaum
cf3cf07c93
Preserve units through unary minus.
2016-10-18 18:32:54 -07:00
Natalie Weizenbaum
2b2061f7e5
Treat empty unquoted strings as blank.
2016-10-18 17:53:40 -07:00
Natalie Weizenbaum
5b4348f8bf
Fix broken type annotations.
2016-10-18 17:05:53 -07:00
Natalie Weizenbaum
4d54c5d351
Fix units for coercing number operations.
2016-10-18 16:48:42 -07:00
Natalie Weizenbaum
b5ccb26b9b
Consider null blank.
2016-10-18 15:23:19 -07:00
Natalie Weizenbaum
e7024437d8
Use Ruby Sass string semantics.
2016-10-18 15:17:46 -07:00