Commit Graph

1006 Commits

Author SHA1 Message Date
Natalie Weizenbaum
136cfc2518
Clean up the BuiltInCallable API (#190) 2017-11-16 13:05:48 -08:00
Samuel Kelemen
8d50462d7a Fix grammar issue (#189)
ln43 `Identical to than libsass` -> `Identical to libsass`
2017-11-09 11:56:08 -08:00
Natalie Weizenbaum
cede973af2 Add a CHANGELOG entry for Node Sass importers 2017-11-03 14:55:30 -07:00
Natalie Weizenbaum
bd1c788cd5 Release 1.0.0-beta.3 2017-11-03 14:47:22 -07:00
Natalie Weizenbaum
40bcf98e0c Add exports to importer.dart
This matches the APIs of other sub-directories.
2017-11-03 14:42:05 -07:00
Natalie Weizenbaum
3397bc21f3
Add a README section on the JS API (#187) 2017-11-03 14:23:48 -07:00
Natalie Weizenbaum
68719b8f5a
Merge pull request #186 from sass/node-importer
Add synchronous Node importer support
2017-11-03 14:02:04 -07:00
Natalie Weizenbaum
e0ae8c907c Add synchronous Node importer support
See #9
2017-11-03 12:28:56 -07:00
Natalie Weizenbaum
4e6e04faa5 Add tests for Node importers
These have been validated against node-sass itself, but they aren't
yet run supported by Dart Sass.
2017-11-02 18:12:47 -07:00
Natalie Weizenbaum
530c4244d0 Refactor some Node API testing 2017-10-20 16:56:54 -07:00
Natalie Weizenbaum
7463e88310 Fix an analysis hint (#184) 2017-10-13 20:21:37 -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
834c8f073c Fix a Windows test (#185)
Fix a Windows test

We needed to use the Node-compatible path library.
2017-10-13 15:44:15 -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
a003e5c31f Expose a Dart API for importers
Closes #172
2017-10-12 21:54:58 -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
e79bba4fae Allow packages to be built with Dart dev releases (#182) 2017-10-12 12:22:01 -07:00
Natalie Weizenbaum
164f532ea2 Remove unused arguments from cli_shared.dart (#181) 2017-10-12 12:03:57 -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
4697dcad47 Run Travis against Dart's dev channel by default (#178)
All new Dart releases for the near future will be in the 2.0.0 dev
branch, so we should test against that.
2017-10-05 18:46:10 -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
f417ec79af Test against the latest stable Dart release (#175) 2017-09-29 16:18:35 -07:00
Natalie Weizenbaum
dbeefd939f Properly parse numbers with exponents (#173) 2017-09-29 15:31:21 -07:00
Natalie Weizenbaum
7b6c2545d1 Remove an extra "nvm install" from the Travis config (#174) 2017-09-28 15:24:11 -07:00
Natalie Weizenbaum
8ba2ea670c Release 1.0.0-beta.2 2017-07-14 18:52:13 -07:00
Natalie Weizenbaum
10ef04bad6 Fix analysis hints 2017-07-14 18:51:55 -07:00
Natalie Weizenbaum
71157cece7 Merge pull request #167 from sass/non-sass-errors
Produce better messages for non-Sass errors

Closes #160
2017-07-14 17:01:41 -07:00
Natalie Weizenbaum
53a8c553de Add tests. 2017-07-14 16:29:53 -07:00
Natalie Weizenbaum
342e1b39b4 Gracefully handle IO errors. 2017-07-14 16:29:23 -07:00
Natalie Weizenbaum
7c133c73a3 Gracefully handle argument parse errors 2017-07-13 16:11:24 -07:00
Natalie Weizenbaum
9f85a4dc34 Default --color to true when using a terminal 2017-07-13 16:11:24 -07:00
Natalie Weizenbaum
1bbbf4f593 Remove a debugging print. 2017-07-12 18:00:19 -07:00
Natalie Weizenbaum
8a4c645087 Merge pull request #166 from sass/js-api-error
Fully support the error value for the Node render() functions
2017-07-09 18:31:38 -07:00
Natalie Weizenbaum
a1c0f41180 Add changelog entries. 2017-07-09 18:31:05 -07:00
Natalie Weizenbaum
dfcbf78e7c Fully support the error value for the Node render() functions
Closes #109
2017-07-09 18:18:56 -07:00
Natalie Weizenbaum
c5bf54a41f Move exception-formatting logic into SassException
There was a bunch of custom formatting logic in the executable, which
made it difficult to work with exceptions programatically.
2017-07-09 18:18:56 -07:00
Natalie Weizenbaum
214a2af2e9 Fully support the return value for the Node render() functions (#165)
Closes #11
2017-07-09 14:52:14 -07:00
Natalie Weizenbaum
15d2064f33 Merge pull request #164 from sass/renames
Rename some APIs for greater clarity.
2017-07-07 18:11:29 -07:00
Natalie Weizenbaum
f1c23e7484 Rename "toCss" to "serialize"
This matches the filename and the name of the visitor.
2017-07-07 17:53:03 -07:00
Natalie Weizenbaum
7ed5ad1a05 Rename "perform" to "evaluate"
We were using these terms interchangeably, but we should be
consistent.
2017-07-07 17:53:03 -07:00
Natalie Weizenbaum
970755d82e Rename "render" to "compile"
"Render" is a strange term for compilation that kind of got copied
over from Haml and endured due to inertia.
2017-07-07 17:53:03 -07:00
Natalie Weizenbaum
03315f55f9 Update Dart SDKs to test on Travis. 2017-07-07 16:59:09 -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
2ff46cb149 Support outputStyle in the JS API (#163)
Closes #8
2017-07-07 16:39:58 -07:00
Natalie Weizenbaum
74cb974455 Support includePaths in the JS API (#162)
Closes #7
2017-07-07 14:50:12 -07:00
Natalie Weizenbaum
f41df9f7bd Add support indentedSyntax to the JS API (#161)
Partially addresses #7
2017-07-07 01:40:15 -07:00
Natalie Weizenbaum
8f836df66c Add support for the data option to the JS API (#159)
Also add renderString to the Dart API.

Partially addresses #7
2017-07-07 00:57:10 -07:00
Natalie Weizenbaum
91ebf98c7f Merge pull request #158 from sass/node-api-tests
Test the Node.js API.
2017-07-06 23:58:00 -07:00