-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Updated libsass to master ~ 3.0rc1 #444
Conversation
Might want to check because some of the old int returns are now C99 booleans |
We just released RC2. Just wanted to make you aware of some interface changes! See sass/libsass#505 for more info. |
I have upgraded to newest libsass and rewired bindings (to match the interface changes) and sass.js. The code is in my local test-libsass-05.10.2014 branch. There are 4 out of 474 tests failing, all related to source-map. Apparently, upstream isn't generating source-maps (for example Also, libsass is now using C++11 features. So I have updated the .travis.yml. Node v0.10 exits gracefully (all green, just 4 tests are failing..) but v0.11 is throwing segmentation fault when it hits the first source-map (failing) test. See this travis-ci build. You can clone my branch with: Few points:
|
We were uncertain whether it was "ok" or not to use C++11 features. Will that be that ok for node-sass? (I'm assuming it will, given your update to .travis.yml, but I wanted to check.) I plan to look into the sourcemap support in node-sass/libsass. There are no tests for sourcemaps in sass-spec, so it's possible we introduced a regression we're unaware of in libsass. |
If you are referring to sourcemap mappings, you might need to take a look at this: sass/libsass#324. I can vouch for LESS' sourcemap to be the most complete/comprehensive sourcemaps for CSS superset (there a comparison with ruby-sass as well, lessc takes the lead there). This issue I am having is with the source-map not being generated/returned from libsass. Some interface flag might be causing this. I don't know if other libsass' downstreams are testing whether source-map has generated at all.. Because for node-sass it is still failing four tests. |
It's FIXED!!! ㊗️ Had to change Never give up is the way to go.. 😄 |
@am11, you are a hero ;-) |
Updated libsass to current master, including Thar Be Dragons and added new files and config to bindings.gyp
Still need to get it building on Linux (and travis) and windows as well.
Sass-spec is passing on mac
474 passing (4s)
but there's a load of updates there as well, will send a separate PR for that.