Commit Graph

1069 Commits

Author SHA1 Message Date
Natalie Weizenbaum
7e6f03fc18
Run the Dart CLI tests from app snapshots on CI (#383)
This substantially speeds up the test time, and once we re-enable Dart
2 support is should work around dart-lang/sdk#33257.
2018-06-27 13:12:16 -07:00
Natalie Weizenbaum
aa9aff8120
Release 1.7.2 (#386) 2018-06-27 12:56:23 -07:00
Natalie Weizenbaum
39eeeb51ef
Add a missing _ignoreErrors() call in StylesheetGraph (#377)
We weren't ignoring errors when reloading a file, which meant that
syntax errors would get surfaced in the wrong place and cause a crash.

Closes #359
2018-06-26 20:10:46 -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
576c1c6441
Merge pull request #384 from sass/clean-grind
Clean up Grinder files
2018-06-26 16:44:00 -07:00
Nick Schonning
cfaeab9568 Create CODE_OF_CONDUCT.md (#385)
Copied from Ruby-Sass
2018-06-25 18:15:29 -07:00
Natalie Weizenbaum
a87300a1e9 Use camel-case for grinder task names
This also causes Grinder to use hyphen-separated names for them on the
CLI, rather than underscore-separated.
2018-06-25 16:40:26 -07:00
Natalie Weizenbaum
458598ed83 Remove the constraint on which Dart versions can compile Sass to JS
Sass's entire SDK constraint is now within the constraint, so it no
longer does anything.
2018-06-25 16:40:19 -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
69e79d610a
Temporarily disable deploying to Bazel (#376)
It looks like @sassbot doesn't have permissions to push to Bazel yet.

See bazelbuild/rules_sass#28
2018-06-22 12:45:42 -07:00
Natalie Weizenbaum
44b23d1874
Fetch the pull request body using @sassbot's credentials (#375)
This avoids running into GitHub's low rate limits for unauthenticated
requests.
2018-06-21 17:59:01 -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
d6dc8c9d15
Pin Dart to 2.0.0-dev.63 (#374)
Rolling forward is blocked on dart-lang/sdk#33574.
2018-06-21 17:19:38 -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
fdbccc8625
Ensure that source map comment URLs are relative to the CSS file (#365)
Closes #364
2018-06-19 17:50:37 -07:00
Natalie Weizenbaum
281838e0da
Deploy to Bazel on release (#358)
Closes bazelbuild/rules_sass#28
2018-06-19 14:00:06 -07:00
Natalie Weizenbaum
c97e36409d
Support the latest version of cli_repl (#362) 2018-06-19 13:44:52 -07:00
Natalie Weizenbaum
61eea4abd8
Format with the latest formatter version (#363) 2018-06-19 12:46:24 -07:00
Natalie Weizenbaum
6e6bfd350c Mark the pub deploy script as executable
[skip ci]
2018-06-15 15:59:37 -07:00
Natalie Weizenbaum
033d4e21dd
Merge pull request #357 from sass/dart-2
Get warning-clean and stop using dart2_constants
2018-06-15 14:37:09 -07:00
Natalie Weizenbaum
c5071ef843 Stop using a deprecated API 2018-06-15 13:59:28 -07:00
Natalie Weizenbaum
c626bf5613 Remove casts that are now unnecessary 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
6ee8db39a6
Fix deploy scripts (#355)
Also add messages to make it clear which script is running in which
Travis task.
2018-06-15 13:20:44 -07:00
Natalie Weizenbaum
048cbe197a
Automate benchmarking and update benchmarks (#356)
Closes #293
2018-06-15 11:29:42 -07:00
Natalie Weizenbaum
c2c77a5ae9
Merge pull request #353 from sass/dart-2
Drop support for Dart 1
2018-06-14 17:33:57 -07:00
Natalie Weizenbaum
a31a147dd6 Stop using Delegating*.typed() 2018-06-14 16:15:27 -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
847b639b1e Stop testing against Dart's stable channel
Once Dart 2 stable is released, we'll resume testing against stable
releases.
2018-06-14 16:13:39 -07:00
Natalie Weizenbaum
e0c6268efd
Debounce watch events on all platforms (#354)
This doesn't flake as often on Dart as it does on Node, but it does
flake.
2018-06-14 16:12:16 -07:00
Natalie Weizenbaum
c0a3f9d3fb
Merge pull request #352 from sass/watch
Add a --watch command
2018-06-13 18:29:37 -07:00
Natalie Weizenbaum
7e19b9e7d6 Update the pubspec and changelog
[skip ci]
2018-06-13 18:28:52 -07:00
Natalie Weizenbaum
a511716397 Load files from their canonical URLs in compileStylesheet() 2018-06-13 17:19:04 -07:00
Natalie Weizenbaum
f074152f61 Add a tick in a test that's failing on Windows 2018-06-13 16:42:10 -07:00
Natalie Weizenbaum
0519163ae3 Use the standard tick helper rather than a custom sleep 2018-06-13 16:41:29 -07:00
Natalie Weizenbaum
0cb2bfa0a5 Debounce filesystem events on Node 2018-06-13 16:41:29 -07:00
Natalie Weizenbaum
b28380f8cd Don't try to recompile removed files 2018-06-13 16:41:29 -07:00
Natalie Weizenbaum
e05e9c7f91 Stop using Set.of() 2018-06-13 16:41:29 -07:00
Natalie Weizenbaum
5efa7bf48a Normalize path separators in watch test expectations 2018-06-13 16:41:29 -07:00
Natalie Weizenbaum
0836afdc97 Avoid Future<void> because it's not Dart 1-compatible 2018-06-13 15:12:18 -07:00
Natalie Weizenbaum
1942466924 Code review changes 2018-06-13 15:12:18 -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
3362273c29 Disallow --update and --watch with --interactive 2018-06-09 14:09:20 -04:00
Natalie Weizenbaum
caef625899 Move compileStylesheet to its own file 2018-06-09 14:09:20 -04:00
Natalie Weizenbaum
e6c821e719 Add modification methods to StylesheetGraph 2018-06-08 21:48:39 -04:00
Natalie Weizenbaum
edc42a5075
Merge pull request #349 from sass/update-fix
Fix some --update bugs
2018-06-08 21:47:12 -04:00