Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor/milestore 3.4 #1841

Merged
merged 17 commits into from
Jan 13, 2016
Merged

Refactor/milestore 3.4 #1841

merged 17 commits into from
Jan 13, 2016

Conversation

mgreter
Copy link
Contributor

@mgreter mgreter commented Jan 8, 2016

Should pass sass/sass-spec#669

@xzyfer I'm pushing this here, since I had to fix some stuff in parser for the binary expression handling and could no longer wait. I consider the code base of this branch stable, but its need some more cleaning up. I'm also pretty sure that a few flags and ifs are no longer needed with this refactor.

Beside the fixes that are open in the other PRs, this mainly improves and fixes how we parse values and value schemas. I also added a pretty extensive test suite for this. It passes all expected tests against 3.4.21, minus the open sass bugs, plus the new extended test suite.

@mgreter mgreter self-assigned this Jan 8, 2016
@mgreter mgreter force-pushed the refactor/milestore-3.4 branch 2 times, most recently from b4a5d01 to 7ea7f1f Compare January 9, 2016 12:59
@mgreter
Copy link
Contributor Author

mgreter commented Jan 9, 2016

We got 💚 against ruby sass master (upcoming 3.4.21)

@mgreter
Copy link
Contributor Author

mgreter commented Jan 12, 2016

Rebased branch and renuked latest sass-specs PR ...

@mgreter mgreter added this to the 3.3.3 milestone Jan 12, 2016
@xzyfer
Copy link
Contributor

xzyfer commented Jan 12, 2016

There's really no way I can do a meaning review on a PR this big :(

Do what you need to do I guess.

- omit last delimiter semicolon in compressed mode
- shorten floats with leading zero in compressed mode
Probably needs some further code clean ups.
Starting point to improve and refactor interpolations
and binary expressions to the correct implementations.x
Ruby sass often uses inspect for error reporting etc.
We do have a inspect CRTP visitor class, but it requires
a valid context which is not always available. At some
point we should consolidate those two implementations.
Throw native C++ errors inside value operations
Fix delayed binary evaluations (with interpolations)
Also fixes a bunch of little internal issues
@mgreter mgreter force-pushed the refactor/milestore-3.4 branch from 7a49730 to 6d4f9a2 Compare January 12, 2016 23:32
mgreter added a commit that referenced this pull request Jan 13, 2016
@mgreter mgreter merged commit 46ed87a into sass:master Jan 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants