Nathan Weizenbaum
d978423377
Enable sourcemaps by default.
...
This also adds support for customizing sourcemap links on the command
line and via the Ruby option API.
Closes #1189
2014-06-13 18:17:10 -07:00
Nathan Weizenbaum
f031572b41
Add an is-superselector function.
2014-06-13 15:12:34 -07:00
Nathan Weizenbaum
b2eaca2d33
Add a simple-selectors function.
2014-06-13 15:08:52 -07:00
Nathan Weizenbaum
b123af9570
Add a selector-unify function.
2014-06-13 15:08:51 -07:00
Nathan Weizenbaum
9688f02db5
Add a selector-replace function.
2014-06-13 15:08:50 -07:00
Nathan Weizenbaum
f895460270
Add a selector-extend function.
2014-06-13 15:07:49 -07:00
Nathan Weizenbaum
8721402712
Add a selector-append function.
2014-06-13 15:07:48 -07:00
Nathan Weizenbaum
ac260ab6d9
Support placeholder but not parent selectors in selector fns.
2014-06-13 15:00:36 -07:00
Nathan Weizenbaum
67161f4fb6
Add a selector-nest function.
2014-06-13 14:58:04 -07:00
Nathan Weizenbaum
aacedc0c74
Add a selector-parse function.
2014-06-13 13:45:03 -07:00
Nathan Weizenbaum
783a3098c0
Merge branch 'stable'
...
Conflicts:
doc-src/SASS_CHANGELOG.md
lib/sass/exec.rb
2014-06-13 13:43:18 -07:00
Nathan Weizenbaum
83b8385923
Merge branch 'stable' into fix-deprecation-warning-file-existsp
2014-06-13 13:24:48 -07:00
Seiei Higa
83a1bb0973
Fix deprecation warning File.exists? -> File.exist?
2014-06-14 04:13:50 +09:00
Nathan Weizenbaum
c28c70ecc9
Make @extend :not(.foo) work again.
2014-06-06 18:41:58 -07:00
Nathan Weizenbaum
6d62912561
Support placeholder selectors in selector pseudoclasses.
2014-06-06 17:30:20 -07:00
Nathan Weizenbaum
1bd375aa89
Add superselector support for selector pseudoclasses.
...
This also adds a new superselector test file.
2014-06-06 16:57:38 -07:00
Nathan Weizenbaum
41badb634a
Add some failing tests for selector pseudoclass extension.
2014-06-06 16:57:38 -07:00
Nathan Weizenbaum
8b2607f8f5
Fully parse selectors nested within pseudoclass selectors.
2014-06-06 16:57:38 -07:00
Nathan Weizenbaum
9e58d2ec89
Disallow functions named "and", "or", or "not".
...
Closes #1265
2014-06-06 13:19:13 -07:00
Nathan Weizenbaum
730f8ca1f8
:nth-match has been folded into :nth-column.
...
:column() has also been replaced by "||". This removes the :column
tests; "||" support will be added later.
2014-05-30 16:21:45 -07:00
Nathan Weizenbaum
b875485ab1
Merge branch 'stable'
...
Conflicts:
lib/sass/selector/comma_sequence.rb
lib/sass/selector/sequence.rb
test/sass/scss/scss_test.rb
2014-05-30 13:25:26 -07:00
Nathan Weizenbaum
274cd1b9be
Fix @media interpolation errors.
...
Closes #1260
2014-05-30 13:09:46 -07:00
Nathan Weizenbaum
1675d6796f
Fix a sass-convert comma-folding bug.
...
Closes #1257
2014-05-30 12:54:40 -07:00
Nathan Weizenbaum
04d4d6bb8f
Fix a failing string-parsing test.
2014-05-09 14:09:33 -07:00
Nathan Weizenbaum
a39f21ce3e
Merge remote-tracking branch 'origin/stable' into stable
2014-05-09 13:58:38 -07:00
Nathan Weizenbaum
58caba0e11
Merge remote-tracking branch 'origin/stable'
2014-05-09 13:54:44 -07:00
Nathan Weizenbaum
1085c2e0d6
Merge branch 'stable'
...
Conflicts:
VERSION
doc-src/SASS_CHANGELOG.md
test/sass/scss/scss_test.rb
2014-05-09 13:54:39 -07:00
Nathan Weizenbaum
b5c2c536d0
Don't split a block with @at-root unless necessary.
...
Closes #1239
2014-05-09 13:27:09 -07:00
Chris Eppstein
cc015c4896
The reject method doesn't have a side-effect.
2014-05-08 16:08:32 -07:00
Nathan Weizenbaum
fd4508b89a
Merge branch 'stable'
...
Conflicts:
doc-src/SASS_CHANGELOG.md
2014-05-02 16:13:15 -07:00
Nathan Weizenbaum
13e10845ab
Add a test for source range calculation and fix a related failure.
2014-05-02 16:09:00 -07:00
Nathan Weizenbaum
c24ed3c30a
Follow the CSS spec when parsing strings.
...
Closes #1237
2014-05-02 15:08:34 -07:00
Nathan Weizenbaum
3835bf3d81
Merge branch 'stable'
...
Conflicts:
VERSION
doc-src/SASS_CHANGELOG.md
2014-04-25 18:19:59 -07:00
Nathan Weizenbaum
fd0718d612
Fix another comment-parsing bug.
...
Closes #1228
2014-04-25 14:42:48 -07:00
Nathan Weizenbaum
fb36e6503c
Fix a comment-parsing bug.
...
Closes #1226
2014-04-25 14:06:44 -07:00
Nathan Weizenbaum
d45d0d2365
Respect CSS "/" in Number#inspect.
...
Closes #1229
2014-04-25 13:41:51 -07:00
Nathan Weizenbaum
7e552e747f
Remove support for SassScript from the selector classes themselves.
2014-04-18 17:37:34 -07:00
Nathan Weizenbaum
3157c58eef
Do less work when initially parsing selectors.
...
Previously, selectors were fully parsed twice: once during the initial
document parse, and again once interpolation had been resolved. This
meant that a considerable amount of extra work was expended during the
initial parse, and selector interpolation had to be manually encoded
in the parse functions.
Now selectors are initially parsed very generously, just extracting
interpolation and verifying that parentheses are balanced. This has
the positive side effect of dramatically reducing the amount of
backtracking that has to be done when parsing nested selectors.
2014-04-18 16:31:40 -07:00
Nathan Weizenbaum
5369e18e10
Merge branch 'stable'
...
Conflicts:
VERSION
doc-src/SASS_CHANGELOG.md
2014-04-14 19:36:54 -07:00
Nathan Weizenbaum
dafaa32451
Avoid unnecessary interpolation in sass-convert.
...
Closes #1208
2014-04-11 12:43:14 -07:00
Nathan Weizenbaum
ac554ff53d
Support scientific notation and identifier units in numbers.
...
Closes #1020
2014-04-04 16:54:57 -07:00
Nathan Weizenbaum
25c4b18f08
Merge branch 'stable'
2014-04-04 15:40:41 -07:00
Nathan Weizenbaum
0cc2437141
Properly parse negative numbers preceded by a comment.
...
This follows the CSS Syntax Level 3 spec for how unary minus is parsed.
See #1020
2014-04-04 15:40:06 -07:00
Nathan Weizenbaum
e0574a17b1
Fix the build.
...
Closes #1195
2014-04-04 13:19:12 -07:00
Nathan Weizenbaum
2b87b837b7
Update encoding support to match the Syntax Level 3 spec.
...
This also changes the Sass output to always be UTF-8. Non UTF-8
encodings were already broken with source maps, and there was no good
way to fix them.
See #1020
2014-03-25 18:52:13 -07:00
Nathan Weizenbaum
0db0355a4d
Merge branch 'stable'
2014-03-21 16:39:17 -07:00
Nathan Weizenbaum
fda58a6c34
Merge remote-tracking branch 'origin/stable' into stable
...
Conflicts:
test/sass/scss/scss_test.rb
2014-03-21 16:37:25 -07:00
Chris Eppstein
91074e6915
Merge remote-tracking branch 'nex3/stable' into stable
2014-03-21 16:06:10 -07:00
Nathan Weizenbaum
e6867da261
Merge branch 'stable'
...
Conflicts:
doc-src/SASS_CHANGELOG.md
lib/sass/script/value/deprecated_false.rb
test/sass/functions_test.rb
2014-03-21 16:03:24 -07:00
Chris Eppstein
67c681b4b2
Merge branch 'stable_3_2' into stable
...
Conflicts:
lib/sass/util.rb
2014-03-21 15:45:22 -07:00