Commit Graph

313 Commits

Author SHA1 Message Date
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