Natalie Weizenbaum
033533ae75
Avoid deprecated analyzer APIs ( #735 )
2019-06-26 14:53:37 -07:00
Natalie Weizenbaum
7955bab749
Mark the pubspec as a release version
2019-06-24 14:55:19 -07:00
Natalie Weizenbaum
4716349a0e
Add new module-system features for existing functions ( #720 )
2019-06-18 12:03:12 -07:00
Natalie Weizenbaum
a87631777b
Declare a "sass" executable in the pubspec ( #712 )
2019-06-06 21:19:09 +01:00
Natalie Weizenbaum
bea609d74b
Add a top-level warn() function for functions and importers ( #711 )
...
In addition to being useful for users of Sass, this will make it
possible for core Sass functions to produce warnings without needing
an explicit reference to the evaluator.
2019-06-06 19:42:44 +01:00
Natalie Weizenbaum
48c284b4ef
Properly mark secure variables so they're decrypted by Travis ( #697 )
2019-05-31 17:01:33 +01:00
Natalie Weizenbaum
0fe0208f6e
Remove exponent notation for integers on Node.js
...
Closes #688
2019-05-21 13:36:36 -07:00
Natalie Weizenbaum
5ed3bbc9c7
Update dependencies
2019-05-15 18:17:06 -07:00
Natalie Weizenbaum
4b7699291c
Compile release executables in native mode ( #679 )
2019-05-15 16:02:02 -07:00
Natalie Weizenbaum
60fc306ab4
Release 1.20.1
...
This doesn't have any code changes, but I want to verify that the new
deployment infrastructure works and the only way to do that is to
actually deploy.
2019-05-03 13:13:20 -07:00
Natalie Weizenbaum
34c068a189
Generate a CSS file describing an error when one occurs ( #659 )
...
Closes #657
2019-05-02 18:14:25 -07:00
Natalie Weizenbaum
407eefded1
Add support for attribute selector modifiers ( #658 )
...
Closes #656
2019-04-30 11:31:18 -07:00
Natalie Weizenbaum
37f0740307
Allow ! in url()s ( #650 )
...
Closes #646
2019-04-18 17:37:20 -07:00
Natalie Weizenbaum
413c949446
Make FilesystemImport._loadPath absolute ( #651 )
...
This avoids having the effective load path change when the process's
working directory changes.
2019-04-18 16:34:48 -07:00
Natalie Weizenbaum
3b3a43a8f9
Add a --charset flag and API option ( #644 )
...
The automatic @charset adding is useful in general, but there are
consistently cases where it trips up naïve downstream tools. This
option makes it easier for users to control when it occurs.
2019-04-08 14:49:08 -07:00
Natalie Weizenbaum
8c9412b520
Fix importing files relative to "package:" imports ( #638 )
...
The PackageImporter wasn't accepting paths relative to its
canonicalized outputs as inputs.
Closes #631
2019-04-03 13:57:52 -07:00
Natalie Weizenbaum
9999835df0
Add a sass.types.Error constructor to the JS API ( #627 )
...
Closes #590
2019-04-03 01:07:12 -07:00
Natalie Weizenbaum
bc5e3c4f8f
Properly parse CR, CR LF, and FF as newlines everywhere ( #626 )
...
Closes #623
2019-03-18 16:50:23 -07:00
Natalie Weizenbaum
13d0820c37
Release 1.17.3 ( #622 )
2019-03-15 12:50:48 -07:00
Natalie Weizenbaum
e84c8b1995
Don't put style rules inside empty @keyframes rules ( #613 )
...
Closes #611
2019-03-07 17:04:30 -08:00
Natalie Weizenbaum
0929aa5ce2
Update pub credentials ( #605 )
...
Pub recently started requiring more OAuth2 scopes than our old
credentials held.
2019-02-22 15:53:44 -08:00
Natalie Weizenbaum
149bf85b4d
Explicitly mark classes as sealed ( #602 )
2019-02-20 16:39:46 -08:00
Natalie Weizenbaum
26401fb135
Fix an attribute selector quoting bug ( #599 )
...
Closes #598
2019-02-20 13:38:21 -08:00
Natalie Weizenbaum
7ca989a4f7
Produce a better error for invalid function contents ( #587 )
...
Closes #584
2019-02-04 13:14:25 -08:00
Natalie Weizenbaum
e8ac314f56
Support dart-lang/source_span#25 ( #566 )
...
This adds a --no-unicode option to disable Unicode span rendering,
decouples repl highlighting from SourceSpan.highlight, and updates
tests to work with the new error highlighting.
It also tightly scopes source spans for statements with children.
Previously, source spans for these nodes extended all the way through
any whitespace that followed the node. This led to messy-looking
multiline span highlights with dart-lang/source_span#25 .
Now, StylesheetParser.children doesn't consume trailing whitespace.
Instead, we add a helper method StylesheetParser._withChildren that
parses children, creates the appropriate span, and then consumes the
trailing whitespace.
2019-01-28 20:42:32 -05:00
Natalie Weizenbaum
9fdf5612ea
Fix a performance bug in BinaryOperatorExpression.span ( #569 )
...
Previously, evaluator called BinaryOperationExpression.span for each
binary operation it evaluated, which in turn called spanForList() to
create a span covering both child expressions. spanForList() then
called .span for both the left and right child operations *twice*,
leading to exponential behavior.
This is now avoided in three complementary ways:
1. The evaluator avoids eagerly calling AstNode.span, instead keeping
the original AstNode until the span itself needs to be accessed.
This means that a span will only be accessed when an error actually
occurs, and then only one operation's span will be accessed.
2. BinaryOperationExpression.span now iterates through any child
operations before calling their .span methods, so it only performs
O(1) allocations.
3. spanForList() now only calls each AstNode.span once.
2019-01-17 18:04:14 -05:00
Natalie Weizenbaum
b0242767ee
Temporarily limit source_span to 1.4.x ( #570 )
...
Getting all the tests update and the output looking nice is proving
more difficult than expected, and I want to unblock other pull
requests for Dart Sass in the meantime.
2019-01-15 03:02:06 -05:00
Natalie Weizenbaum
e3ae4705f1
Release 1.16.0 ( #562 )
2019-01-09 19:18:45 -05:00
Natalie Weizenbaum
55ebe56d3c
Add support for new special number strings ( #556 )
...
See sass/sass#2584
2019-01-09 15:50:04 -05:00
Natalie Weizenbaum
12f53f5e1c
Release 1.15.3 ( #561 )
2019-01-04 15:32:45 -05:00
Natalie Weizenbaum
dbda396401
Compile to JS with -O4 ( #555 )
...
Closes #526
2019-01-03 10:47:12 -08:00
Natalie Weizenbaum
f3db1d6a66
Properly merge "all and" media queries ( #539 )
...
Closes #537
2018-12-10 13:13:19 -08:00
Natalie Weizenbaum
dad8491035
Make types.String.prototype.setValue() de-quote a string ( #535 )
...
Closes #513
2018-12-06 15:06:32 -08:00
Natalie Weizenbaum
aa52cf1474
Always add quotes to attribute selector values that begin with -- ( #529 )
...
Closes #527
2018-11-16 13:51:36 -08:00
Natalie Weizenbaum
5d885e6905
Enforce non-whitespace formatting rules
2018-11-14 13:53:55 -08:00
Natalie Weizenbaum
50efdabcce
Add support for CSS Color Level 4 rgb() and hsl() syntax
...
Closes #497
2018-11-12 16:33:54 -08:00
Natalie Weizenbaum
bf71ca359d
Add support for interpolation in at-rule names ( #509 )
...
Closes #496
2018-11-01 14:31:46 -07:00
Natalie Weizenbaum
6bdb49a9d5
Properly escape U+0009 CHARACTER TABULATION in unquoted strings ( #504 )
2018-10-18 18:50:03 -07:00
Natalie Weizenbaum
d9c836e9d0
Remove the unused convert dependency ( #502 )
...
Closes #501
2018-10-17 17:34:19 -07:00
Natalie Weizenbaum
a25bbb3fc7
Add a ParenthesizedExpression class ( #503 )
...
This allows us to accurately track the source spans for parenthesized
expressions, which in turn allows us to print accurate error
indications.
Adding a new class for this more accurately represents the structure
of the expression, but it also involves an extra allocation during
parsing and an extra level of nesting during evaluation which could
have a small but real performance impact.
We could alternatively add a package-internal setter for
Expression.span, and update the source span for parenthesized
expressions after they're initially parsed. However, this has its own
downsides: it adds complexity and mutability to the object model; and
many expression classes currently use lazily-generated spans, so
making them settable would require adding extra slots on those
classes.
I decided to go with the extra class because it only adds overhead
when parentheses are actually used in practice, as opposed to adding
overhead to every list/color/etc. The runtime overhead is also likely
to be mitigated if at any point we add a constant-folding step.
2018-10-17 16:52:32 -07:00
Jen Thakar
9a1f322d7f
Remove space around combinators in compressed mode ( #494 )
...
Complex selectors like "a > b" will now be output as "a>b" in
compressed mode.
2018-10-11 18:03:09 -07:00
Natalie Weizenbaum
0595ac3e71
Fix an import-resolution bug ( #488 )
...
When a stylesheet is imported, the parsed stylesheet object is cached
based on its canonical URL. However, the stylesheet.span.sourceUrl was
based on the text of the import that was used to load that stylesheet.
The idea was to make the source URL in stack traces look nicer, but it
meant that relative URLs could be resolved based on the old importer's
URL before being sent to the new importer, which caused bugs.
Now stylesheet.span.sourceUrl is always the canonical URL of the
stylesheet, and thus safe to cache. We then use the import cache to
convert the canonical URL to a human-friendly URL at the point at
which we generate stack traces.
This also deprecates support for relative canonical URLs. The
semantics of these URLs were always unclear, and with the new change
in import internals the old behavior doesn't make much sense. It's
preserved for backwards-compatibility, but deprecated.
2018-10-11 15:06:26 -07:00
Natalie Weizenbaum
0620ccc19a
Fix @debug on stdin ( #493 )
2018-10-10 15:05:23 -07:00
Natalie Weizenbaum
ff3cea5312
Properly parse escaped digits at the beginning of identifiers ( #486 )
...
See sass/sass#1542
Closes sass/dart-sass#485
2018-09-26 21:01:46 -04:00
Progracientist
a6164217df
Prettify URIs ( #481 )
...
Closes #464
2018-09-26 13:39:49 -04:00
Natalie Weizenbaum
89b86be5e8
Enable full alpha hex support ( #478 )
...
Closes #371
2018-09-19 16:03:32 -04:00
Natalie Weizenbaum
918a3fedf2
Pass --omit-implicit-checks to dart2js in release mode ( #473 )
...
Substantially addresses #113
2018-09-11 14:39:47 -07:00
Natalie Weizenbaum
1a5eb2a2e3
Fix embedding source maps with non-ASCII characters ( #471 )
...
Closes #457
2018-09-11 12:13:43 -07:00
Natalie Weizenbaum
ede9c81e0b
Properly adjust source maps when prepending encoding information ( #470 )
...
Closes #469
2018-09-10 15:38:30 -07:00
Natalie Weizenbaum
edf3370cd9
Parse :nth-child() selectors with extra whitespace ( #467 )
...
As a side effect of the new parse, this also removes extra whitespace
from :nth-child() selectors.
Closes #465
2018-09-05 15:28:26 -07:00
Natalie Weizenbaum
048b17495e
Support browser hacks in plain CSS mode ( #468 )
...
Closes #466
2018-09-05 14:31:59 -07:00
Natalie Weizenbaum
9e5ef91f22
Add support for the single-equals operator in plain CSS ( #463 )
...
Closes #462
2018-08-31 18:15:23 -06:00
Natalie Weizenbaum
15202c48dc
Simplify trimming for extend ( #460 )
...
We were previously trimming at bath the compound selector level and
the selector list level. This now only trims at the selector list
level.
The _trim() function also took a list of selector lists, on the
idea (from Ruby Sass) that it could avoid trimming selectors generated
from the same extension that were very unlikely to be redundant. In
practice, though, the fact that we weaved together selector lists at
the compound level meant that we didn't have meaningful
known-non-redundant lists like Ruby Sass did, so this wasn't useful.
This has no behavioral effect, although it does seem to improve
performance slightly for extend-heavy stylesheets.
2018-08-30 01:02:05 -06:00
Natalie Weizenbaum
997e068499
Add support for extending selector lists ( #455 )
...
Closes #452
2018-08-17 13:32:10 -07:00
Natalie Weizenbaum
677d781c52
Fix a crash with nested media rules ( #454 )
...
Closes #453
2018-08-17 12:34:31 -07:00
Natalie Weizenbaum
c5dff3e841
Remove the source map comment from the JS blob we release ( #448 )
...
See bazelbuild/rules_sass#44
2018-08-15 13:28:02 -07:00
Natalie Weizenbaum
874ee0b076
Expose the SassException class publicly ( #446 )
2018-08-14 12:58:47 -07:00
Natalie Weizenbaum
0f7f9e69a7
Add support for plain CSS imports ( #436 )
...
Closes #424
2018-08-10 15:58:15 -07:00
Natalie Weizenbaum
534256a381
Merge branch '1.10.x' into master
2018-08-09 17:56:30 -07:00
Natalie Weizenbaum
511319a3b4
Declare support for test 1.0.0
...
Closes sass/homebrew-sass#10
2018-08-09 15:16:56 -07:00
Natalie Weizenbaum
89ce44aac4
Pass --no-preview-dart-2 to the Chocolatey script ( #434 )
...
I missed this in c462b82
.
Closes #433
2018-08-03 14:24:53 -07:00
Natalie Weizenbaum
5ee73e2ead
Release 1.10.2
...
This is just intended to trigger a new Chocolatey build.
Closes #413
2018-08-02 16:28:07 -07:00
Natalie Weizenbaum
313b939ed8
Add support for range-form media queries ( #423 )
...
See sass/sass#1864
2018-07-25 15:48:24 -07:00
Natalie Weizenbaum
e1750216ee
Don't crash when passing includePaths with importer
...
Closes #412
2018-07-23 16:20:06 -07:00
Natalie Weizenbaum
b5c9ed41b9
Declare support for Dart 2 ( #418 )
2018-07-23 13:31:38 -07:00
Natalie Weizenbaum
45da11dad5
Preserve nested media queries when they can't be merged ( #410 )
...
See sass/sass#1831
2018-07-18 12:12:17 -07:00
Natalie Weizenbaum
f740e97e05
Fix a typo in an error message ( #411 )
2018-07-18 12:11:24 -07:00
Natalie Weizenbaum
02781130b8
Give the dummy Node.js FileSystemException a usable toString() ( #407 )
...
Closes #406
2018-07-12 19:26:21 -07:00
Jenny Messerly
6d3cd8dd06
Fix --watch option with node on Mac OS ( #402 )
...
Closes #399
2018-07-11 13:15:55 -07:00
Natalie Weizenbaum
df7c1030cf
Don't emit ANSI codes to Windows terminals that don't support them ( #403 )
...
These codes *could* be supported on all Windows terminals, but
dart-lang/sdk#28614 means that they won't actually be recognized.
Partially addresses #395
2018-07-10 15:59:16 -07:00
Natalie Weizenbaum
9bb272dcff
Support Node Sass's sass.types.Color(argb) constructor ( #398 )
...
Closes #397
2018-07-03 17:09:54 -07:00
Natalie Weizenbaum
96c46a242e
Add a --stop-on-error flag ( #391 )
...
Closes #264
2018-06-29 18:12:36 -07:00
Natalie Weizenbaum
425305725b
Add a --poll option ( #390 )
...
Partially addresses #264 .
2018-06-28 18:20:28 -07:00
Natalie Weizenbaum
cd0211c2ab
Fix the Chocolatey version of the Dart SDK ( #389 )
...
Dev SDKs changed from 2.0.0.XX-dev to 2.0.0.XX-dev-Y.
2018-06-27 17:42:07 -07:00
Natalie Weizenbaum
c462b82102
Run snapshots in Dart 1 mode
...
Until dart-lang/sdk#33257 is fixed, this ensures that users get as
much performance as possible.
2018-06-27 15:51:16 -07:00
Natalie Weizenbaum
aa9aff8120
Release 1.7.2 ( #386 )
2018-06-27 12:56:23 -07:00
Natalie Weizenbaum
e95d57ce25
Fix @-moz-document parsing and add deprecation warnings ( #379 )
...
Partially addresses #378
Closes #372
2018-06-26 17:11:25 -07:00
Natalie Weizenbaum
3b6730369b
Pin the version of Dart that gets published ( #382 )
...
This version was set separately than the version we test against, for
some reason.
Closes #380
2018-06-25 13:14:36 -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
87e568faa4
Fix a bug where we were setting the base URL of stylesheets wrong ( #370 )
...
Closes #369
2018-06-20 17:43:40 -07:00
Natalie Weizenbaum
6693a82f3b
Use the latest test_descriptor features to clean up tests ( #366 )
2018-06-19 17:50:49 -07:00
Natalie Weizenbaum
c97e36409d
Support the latest version of cli_repl ( #362 )
2018-06-19 13:44:52 -07:00
Natalie Weizenbaum
c5071ef843
Stop using a deprecated API
2018-06-15 13:59:28 -07:00
Natalie Weizenbaum
b949f9fe72
Use Dart 2 constants
2018-06-15 13:59:28 -07:00
Natalie Weizenbaum
7a2d724cc9
Use of() constructors instead of from()
2018-06-14 16:15:27 -07:00
Natalie Weizenbaum
6ad67a6f28
Remove the workaround for dart-lang/sdk#30098
...
This un-reverts pull request #320 from sass/remove-path-workaround,
which was reverted by commit 0fb5d25ee2
.
2018-06-14 16:15:27 -07:00
Natalie Weizenbaum
7e19b9e7d6
Update the pubspec and changelog
...
[skip ci]
2018-06-13 18:28:52 -07:00
Natalie Weizenbaum
0cb2bfa0a5
Debounce filesystem events on Node
2018-06-13 16:41:29 -07:00
Natalie Weizenbaum
1ddc7c0e3e
Copy the implementation of PathMap
...
This allows us to continue supporting Dart 1. The version of path that
added PathMap only supports Dart 2, so we can't depend on it until we
support Dart 2 as well.
2018-06-13 12:14:21 -07:00
Natalie Weizenbaum
6bbb961675
Add a --watch command
...
Partially addresses #264
2018-06-09 14:13:36 -04:00
Natalie Weizenbaum
a2c0f15d67
Make ExecutableOptions.sourcesToDestinations a PathMap
2018-06-09 14:09:20 -04:00
Natalie Weizenbaum
f5e9dcb688
Expand dependencies on archive and analyzer ( #351 )
2018-06-08 21:14:00 -04:00
Natalie Weizenbaum
e2266ded68
Produce better errors when expected tokens are missing ( #344 )
2018-06-01 20:56:12 -04:00
Natalie Weizenbaum
c26903e30e
Don't consider drive separators to be path-separating colons ( #342 )
...
Closes #340
2018-05-31 20:38:45 -04:00
Natalie Weizenbaum
0fb5d25ee2
Revert "Merge pull request #320 from sass/remove-path-workaround"
...
This reverts commit 08bfb46f16
, reversing
changes made to ad73a91f84
.
2018-05-31 14:37:21 -04:00
Natalie Weizenbaum
942d1e4099
Error out on ambiguous imports ( #339 )
...
Closes #335
2018-05-30 21:03:23 -04:00
Natalie Weizenbaum
c854e341fe
Make the current pubspec a dev version
...
[skip ci]
2018-05-30 19:27:53 -04:00
Natalie Weizenbaum
920a79b408
Pubspec and changelog
...
[skip ci]
2018-05-30 19:15:06 -04:00
Natalie Weizenbaum
1d7b0aa5ad
Merge branch 'master' into jathak-interactive
2018-05-30 18:41:15 -04:00
Natalie Weizenbaum
d4655f22bd
Fix an Importer-calling bug ( #338 )
...
We were resolving URLs relative to the canonical URL rather than the
original URL, which broke importers for which those were different,
like the package importer.
Closes #334
2018-05-30 17:47:37 -04:00
Jen Thakar
930f361026
Merge branch 'master' of git://github.com/sass/dart-sass into interactive
2018-05-29 21:33:53 -07:00
Natalie Weizenbaum
ac8c01a595
Add an --update flag
...
Partially addresses #264
2018-05-28 16:58:09 -04:00
Natalie Weizenbaum
31c77fb1cc
Remove the workaround for dart-lang/sdk#30098
2018-05-28 15:23:47 -04:00
Jen Thakar
6351458f35
Merge branch 'master' of git://github.com/sass/dart-sass into interactive
2018-05-26 21:49:48 -07:00
Natalie Weizenbaum
1450c241c6
Support input:output syntax for compiling multiple files at once
...
Partially addresses #264
2018-05-20 20:57:33 +01:00
Jen Thakar
6d86b5fbdf
Merge branch 'master' of git://github.com/sass/dart-sass into interactive
2018-05-08 10:23:33 -07:00
Jen Thakar
adf2b80eeb
Update cli_repl version
2018-05-07 23:29:43 -07:00
Natalie Weizenbaum
2d72f1cdca
Add support for @elseif ( #317 )
...
Closes #316
2018-05-03 17:12:40 -07:00
Natalie Weizenbaum
b5fd1409ce
Fix relative imports through relative load paths in the Node API ( #315 )
...
Closes #314
2018-05-02 17:04:36 -07:00
Natalie Weizenbaum
c060f29ba9
Release 1.3.0
2018-04-25 18:11:55 -07:00
Natalie Weizenbaum
234aa12e08
Add CLI source map support ( #309 )
...
Partially addresses #2
2018-04-25 16:12:37 -07:00
Natalie Weizenbaum
19408d943b
Refactor the way CLI options are handled
...
Exposing the options through a stateless object makes it easier to
separate out the procedure of compilation from the logic behind
parsing each option.
2018-04-25 13:41:22 -07:00
Natalie Weizenbaum
9ea001598a
Add a Dart API for source map generation ( #299 )
...
Partially addresses #2
2018-04-19 16:51:20 -07:00
Natalie Weizenbaum
b23993ea66
Always emit units for non-length/angle 0 values ( #300 )
...
Closes #297
2018-04-19 15:20:17 -07:00
Natalie Weizenbaum
2e3f125e7d
Broaden some dependency constraints ( #298 )
2018-04-19 14:43:31 -07:00
Jen Thakar
7c64f222e0
Merge branch 'master' of git://github.com/sass/dart-sass into interactive
2018-04-14 20:28:15 -07:00
Jen Thakar
b9d1317d90
Update cli_repl to support running on Node
2018-04-14 20:24:28 -07:00
Natalie Weizenbaum
6fd0f6d6e3
Improve the error message for extending compound selectors. ( #294 )
...
Closes #286
2018-04-14 16:02:53 -07:00
Jen Thakar
74d3693ec6
Upgrade cli_repl to fix bug on Windows/Dart 2
2018-04-14 13:57:00 -07:00
Jen Thakar
d262e28603
Add interactive SassScript REPL
2018-04-14 11:40:04 -07:00
Natalie Weizenbaum
a31251fdc9
Create a directory for CSS output if necessary ( #291 )
...
Closes #288
2018-04-12 16:40:53 -07:00
Natalie Weizenbaum
5cce76b6d4
Use constants from dart2_constants ( #282 )
2018-04-04 15:49:07 -07:00
Natalie Weizenbaum
e131fd0a36
Stop using deprecated args APIs ( #278 )
2018-03-29 14:16:14 -07:00
Natalie Weizenbaum
dd61b8cf1d
Merge tag '1.1.0'
...
This will be released as 1.1.1, since 1.1.0 accidentally didn't
include 880c914
.
2018-03-27 14:20:45 -07:00
Natalie Weizenbaum
11a44b0557
Release 1.1.0
2018-03-27 13:47:49 -07:00
Natalie Weizenbaum
880c91444e
Add support for "sass input.scss output.css" ( #275 )
...
Closes #274
2018-03-27 13:45:03 -07:00
Natalie Weizenbaum
7b2dfef289
Release 1.0.0
2018-03-26 12:49:52 -07:00
Natalie Weizenbaum
4c293f3ca7
Allow "!" in custom property values ( #266 )
...
Closes #260
2018-03-22 17:07:19 -07:00
Natalie Weizenbaum
2dae4f61f3
Release 1.0.0-rc.1
2018-03-16 16:23:57 -07:00
John Harvey
e63b8e1b40
Add support for _index files ( #220 )
...
See sass/sass#690
2018-03-09 14:46:46 -08:00
Natalie Weizenbaum
33004e4eff
Release 1.0.0-beta.5.3
2018-03-02 17:58:34 -08:00
Natalie Weizenbaum
bacc380d5b
Don't deadlock on /* comments in the indented syntax
...
Closes #238
2018-02-23 16:29:23 -08:00
Natalie Weizenbaum
25d90e5525
Release 1.0.0-beta.5.2
2018-02-03 17:03:05 -08:00
Natalie Weizenbaum
4db5d49048
Pubspec and CHANGELOG
2018-02-03 13:25:07 -08:00
Natalie Weizenbaum
fb07af6956
Release 1.0.0-beta.5.1
...
I pushed 1.0.0-beta.5 before merging in the latest change, so this has
a different version number.
2018-02-02 17:39:16 -08:00
Natalie Weizenbaum
629ac3b187
Support args 1.0.0
...
Closes #214
2018-01-19 13:26:27 -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
c49e037e34
Fix round() for negative numbers ( #205 )
...
See sass/sass#2409
2017-12-15 15:11:32 -08:00
Natalie Weizenbaum
3f0422575f
Release 1.0.0-beta.4
2017-12-08 15:54:37 -08:00
Natalie Weizenbaum
8fd211d789
Clean up UTF-8 error handling in Dart
2017-12-02 16:37:57 -08:00
Natalie Weizenbaum
0a67d3845f
Add a dev dependency on fibers from NPM
2017-12-01 14:36:37 -08:00
Natalie Weizenbaum
0df3463213
Compile asynchronous code to synchronous ( #194 )
...
See #9
2017-12-01 14:29:11 -08:00
Natalie Weizenbaum
2cb325a3df
Fix a crash when extending :not(...) into :not(:not(...)) ( #192 )
...
Closes #191
2017-11-16 16:25:19 -08:00
Natalie Weizenbaum
bd1c788cd5
Release 1.0.0-beta.3
2017-11-03 14:47:22 -07:00
Natalie Weizenbaum
530c4244d0
Refactor some Node API testing
2017-10-20 16:56:54 -07:00
Natalie Weizenbaum
1651dcab96
Support dev SDKs on Chocolatey ( #183 )
...
Made possible by daftspaniel/Chocolatey-Packages#10
2017-10-13 15:44:27 -07:00
Natalie Weizenbaum
5987b12119
Merge pull request #179 from sass/dart-importer
...
Expose a Dart API for importers
2017-10-13 14:25:47 -07:00
Natalie Weizenbaum
7126cfcc0f
Use the latest version of the archive package
...
brendan-duncan/archive#41 has been fixed as of 1.0.32.
2017-10-13 13:00:23 -07:00
Natalie Weizenbaum
ed1d6ef6b1
Add importer infrastructure
...
This isn't yet exposed by any public-facing API.
2017-10-12 21:54:58 -07:00
Natalie Weizenbaum
d39060842c
Narrow the upper bound on the archive package
...
This works around brendan-duncan/archive#41.
Closes #180
2017-10-12 11:50:46 -07:00
Sam Rawlins
97f678a770
Read Sass from stdin ( #137 )
...
See #105
2017-10-06 18:59:49 -07:00
Natalie Weizenbaum
35f879abde
Don't crash on a fully-interpolated CSS variable name ( #177 )
...
Closes #176
2017-10-04 15:20:15 -07:00
Natalie Weizenbaum
8ba2ea670c
Release 1.0.0-beta.2
2017-07-14 18:52:13 -07:00
Natalie Weizenbaum
bf493b95a1
Remove dependency_override for test.
...
The stable version has been released.
2017-07-07 16:44:00 -07:00
Natalie Weizenbaum
6ed530c895
Test the Node.js API.
...
Closes #150
2017-07-06 17:39:07 -07:00
Sam Rawlins
7d92f2c1ad
Support lineFeed in the Node API ( #153 )
2017-06-15 15:19:26 -07:00
Natalie Weizenbaum
bd912aee4f
Release 1.0.0-beta.1.
2017-06-05 12:50:47 -07:00
Natalie Weizenbaum
ab48b7104d
Upgrade to the latest source_span. ( #151 )
2017-06-05 12:35:30 -07:00
Natalie Weizenbaum
4243535941
Update the formatter version.
2017-05-27 17:18:13 -07:00
Natalie Weizenbaum
4db551e603
Stop using scheduled_test. ( #142 )
2017-05-25 14:23:48 -07:00
Natalie Weizenbaum
7248cf0e27
Use real generic method syntax.
2017-05-18 17:11:32 -07:00
Natalie Weizenbaum
f00c6c8c5d
Compile JS with --trust-type-annotations.
2017-02-16 17:05:01 -08:00
Natalie Weizenbaum
e95847746f
Release 1.0.0-alpha.9.
2017-02-16 15:24:52 -08:00
Luis Vargas
cfc3a15041
Support package: URLs as a Dart library ( #53 )
2017-02-03 01:08:06 -08:00
Natalie Weizenbaum
35d1af51d1
Update namespace extend per sass/sass#2229. ( #106 )
2017-01-26 20:12:22 -08:00
Natalie Weizenbaum
54c65c1e8d
Pass keyword args through call().
2017-01-15 15:34:17 -08:00
Natalie Weizenbaum
bdad2fdce2
Bump version to 1.0.0-alpha.8.
2017-01-13 16:28:17 -08:00
Natalie Weizenbaum
5e80408f90
Add support for building a Chocolatey package. ( #98 )
...
Closes #67
2017-01-13 16:13:26 -08:00
Natalie Weizenbaum
de69e7ae1b
Parse terse indented mixin syntax.
2017-01-08 17:13:08 -08:00
Natalie Weizenbaum
d215742503
Bump the version to 1.0.0-alpha.7.
2017-01-06 21:48:11 -08:00
Natalie Weizenbaum
17521b5a3b
Update the pubspec and changelog.
2016-12-29 12:33:12 -08:00
Natalie Weizenbaum
bf1127bcf5
Bump version to 1.0.0-alpha.6.
2016-12-19 15:24:18 -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
5ac62e01ba
Bump version to 1.0.0-alpha.5.
2016-12-10 21:26:51 -08:00
Natalie Weizenbaum
224d9cdb47
Add CLI test files for Dart and Node.
...
More tests will be added in a future commit.
2016-12-02 16:09:20 -08:00
Natalie Weizenbaum
20fbe9b5ad
Use the released node_preamble.
2016-12-02 15:20:08 -08:00
Natalie Weizenbaum
71264f83bb
Use my fork of the node_preamble package.
...
We'll go back to the published package once
mbullington/node_preamble.dart#1 lands.
Closes #51
2016-12-02 14:26:27 -08:00
Natalie Weizenbaum
d71e530622
Fix bounds-checking for opacify() et al.
2016-11-14 22:46:58 -08:00
Natalie Weizenbaum
2edc6210d3
Bump version to 1.0.0-alpha.4.
2016-11-14 22:34:26 -08:00
Natalie Weizenbaum
5f78a8b40a
Fix an expression-parsing bug. ( #38 )
...
A binary operator followed by a unary operator (for example, `1 + - 2`)
would crash the parser.
2016-11-11 17:47:00 -08:00
Natalie Weizenbaum
d691c77db5
Don't duplicate line/column info in error output. ( #36 )
...
All span information is now presented as a stack frame, and elided if
it's redundant with the existing stack.
2016-11-08 12:22:55 -08:00
Natalie Weizenbaum
b41dcfb457
Tag 1.0.0-alpha.3.
2016-11-07 18:49:05 -08:00
Natalie Weizenbaum
bcd7f90ad8
Add a dependency on stack_trace.
...
Closes #26
2016-11-07 17:15:44 -08:00
Natalie Weizenbaum
bab6ebb59a
Track and use colors' original representations.
2016-11-02 17:37:10 -07:00
Natalie Weizenbaum
e0fd5ea65c
Fix a bug where names were broken through imports.
...
Closes #20
Closes #8
2016-11-01 14:43:46 -07:00
Adão Júnior
9e71e652ae
fix homepage link
2016-10-31 21:14:36 -02:00
Natalie Weizenbaum
64dc85c80c
Tag 1.0.0-alpha.1.
2016-10-31 13:19:10 -07:00
Natalie Weizenbaum
cb613ee2e4
Use a more conservative SDK version.
2016-10-14 17:40:56 -07:00
Natalie Weizenbaum
127c7f9df8
Declare an executable to pub.
2016-10-14 17:40:31 -07:00
Natalie Weizenbaum
44e1f895d8
Add a grinder task for making standalone packages.
2016-10-14 15:48:34 -07:00
Natalie Weizenbaum
aa614bd0cc
Print the version number.
2016-10-07 15:46:58 -07:00
Natalie Weizenbaum
483305e7bc
Update version to 1.0.0-dev.
2016-10-07 15:28:14 -07:00
Natalie Weizenbaum
d90b8e52ae
Support compiling to node.js.
2016-10-07 15:05:56 -07:00
Natalie Weizenbaum
8bbaf46fe6
Use the tuple package.
2016-09-30 12:41:41 -07:00
Natalie Weizenbaum
83c8c1a9b7
Add args support.
...
It doesn't really do anything yet.
2016-08-30 15:51:23 -07:00
Natalie Weizenbaum
f1ce6ea599
Format all code.
2016-08-30 15:51:23 -07:00
Natalie Weizenbaum
4de13946b9
Update pubspec.
2016-08-30 15:51:21 -07:00
Natalie Weizenbaum
5e93ee8667
Extend WIP
2016-08-30 15:51:19 -07:00
Natalie Weizenbaum
8d46af6b56
Add support for unrecognized at-rules.
2016-08-30 15:51:18 -07:00
Natalie Weizenbaum
162ea29c14
Use built-in string scanner methods.
2016-08-30 15:51:18 -07:00
Natalie Weizenbaum
2f332b4bbc
Add an executable and fix some bugs.
2016-08-30 15:51:15 -07:00
Natalie Weizenbaum
53c5fb8e13
Checked-mode clean.
2016-08-30 15:51:15 -07:00
Natalie Weizenbaum
cf28c7ed20
Template files.
2016-08-30 15:51:06 -07:00