------------------------------------------------------------------- Wed Nov 23 15:49:50 UTC 2016 - ronisbr@gmail.com - Run spec-cleaner. - Remove unecessary `BuildRoot` in .spec. - Remove two non-breaking spaces in .spec that were leading to a rpmlint warning. - Version bump to 3.3.6. Upstream changelog: Version 3.3.6 ------------- * Feature - Expose the Sass language version via the C API (@chriseppstein, #2021) * Fixes - Incorrectly erring on comments in at-rules (@mgreter, #1233) - Incorrectly dropping internal state of AST nodes (@mgreter, #1661) - Incorrectly parsing the calc function (@mgreter, #1706) - Segfault during error handling (@mgreter, #2016) - Incorrectly identifying the selectors with type-of (@mgreter, #2020) - Incorrectly erring on ID selectors starting with a number (@mgreter, @2023) - Producing incorrect output when compile with MSVC (@mgreter, #2039) - Various segfaults and incorrect output from @extend (@mgreter, #2017 #2031) Version 3.3.5 ------------- * Expose our memory allocator This feature has taken many proposed forms over the last 4 months. After much patent and considered discussion by @am11 @mgreter @saper and @xoofx you can now access our memory allocator on the C-API. void* sass_alloc_memory(size_t size) char* sass_copy_c_string(const char* str) void sass_free_memory(void* ptr) * Features - Re-add sass_option_push_include_path and sass_option_push_plugin_path (@xoofx, #1974) * Build - Enable address sanitizer for clang (@mgreter, #2003) - MSVC assert too strict (@mgreter, #1985) - Update Sass spec (@xzyfer, 1967) * Fixes - Incorrectly erring on @extend and @media (@mgreter, #2009 #2007, #1927, #1923) - Incorrectly erring on @extend and interpolated selectors (@mgreter, #2000) - Builds not failing when Sass spec fails to load (@saper, #1997) - Incorrectly erring on Sass comments in selectors (@mgreter, #1996) - Incorrectly erring on @extend and interpolated selectors with the !optional flag (@mgreter, #1993) - Incorrectly treating 0 and false as the same value when used as map keys (@mgreter, #1991) - Incorrectly erring on escaped and unicode selectors (@mgreter, #1977) - Incorrectly rendering @extend and @supports (@mgreter, #1971) - Incorrectly erring on functions beginning with calc (@mgreter, #1969) - Incorrectly quoting interpolated strings in selectors (@mgreter, #1947) - Incorrectly escaped escaped strings in selectors (@mgreter, #1945) - Incorrectly duplicating executing of function in interpolated string (@mgreter, #1944) - Prevent parsing url() resulting in an endless loop (@mgreter, #1931) - Compilation error with using -DDEBUG flag (@tony, #1917) - Incorrectly removing @media blocks that contain only CSS comments (@mgreter, #1889) - Better handling of / in function arguments (@mgreter, #1417) Version 3.3.4 ------------- * Fixes - Inconsistent error message produced when nesting functions and mixins (@xzyfer, #1941) - Ensure custom importers are executed for all @imports (@xzyfer, #1935) - Ensure custom importers are executed in the correct order (@xzyfer, #1921) - Possible segfault when generating sourcemaps (@usta, #1920) - Memory leak (@usta, #1919) - Unused variable warning (@xzyfer, #1918) - Segfaulting when @extending an undefined selector (@mgreter, #1916) - Incorrectly erring when @extending inside a mixin (@xzyfer, #1915) - Handle signed char when considering @charset (@asottile, #1914) - New link to sassc-ruby in documentation (@itkrt2y, #1910) - Incorrectly quoting interpolated strings join with + (@mgreter, #1907) - Incorrectly erring when using & and interpolation together (@xzyfer, #1904) - Incorrectly duplicating nested pseudo selectors (@mgreter, #1901) - Unused function breaking breaking unity builds (@drewwells, #1896) - Segfaulting when url() is empty (@xzyfer, #1886) - Should error when & is used without a parent selector (@xzyfer, #1644) Version 3.3.3 ------------- * Parser and rendering refactorings LibSass is now able to use stringification functions for its internal AST objects whenever its needed. Previously this was only possible when we had access to a context instance, which sometimes made it impossible to invoke the right code path. This tight coupling has been factored out and we can now use these more freely to get our output even closer to ruby sass. Parser now supports multiple operations without parentheses (a > b == c) correctly and an extensive generated test suite for > this feature was added to sass-spec. * Full support for variable arguments Since the introduction variable arguments in Sass 3.3 LibSass has been playing whack-a-mole with bug fixes. As of this release we should have argument handling compatible with the latest stable Ruby Sass. Thanks to @davidkpiano for his many detailed bug reports and his fantastic sassdash library whose extensive test suite helped make this possible. * Lots of bug-fixes There were two weeks of ongoing bug slaughtering by @mgreter after new-years eve, which resulted in over 80 closed issues (there are 117 closed github issues in total for this release). @xzyfer also had a good streak with 14 closed issues. Special thanks to @ksmadsen for his c++11 random_device fix. Also a big thanks for our continuing contributors @am11 and @saper for their inputs, feedback and pull requests. - Ensure we keep around memory for parser source (@mgreter, #1884) - Avoid wrong error due to misused map object in At_Rule (@mgreter, #1881) - Implement css linefeed \a handling better (@mgreter, #1880) - Improve parsing for complex number units (@mgreter, #1879) - Fix potential issue with wrong std container usage (@mgreter, #1878) - Improve parsing for complex number units (@mgreter, #1877) - Improve operating on numbers with complex units (@mgreter, #1876) - Make generating source excerpt on error unicode aware (@mgreter, #1875) - Improve error handling API (always return formatted json) (@mgreter, #1874) - Improve identifier schema to include variables (@mgreter, #1872) - Disable error check for extend placement check (@mgreter, #1870) - Improve pseudo selector parsing (@mgreter, #1864) - Fix each iteration over selector lists (@mgreter, #1863) - Use to_sass for @debug, @warn and @error message (@mgreter, #1862) - Improve lower/upper boundary check error in for loop (@mgreter, #1861) - Implement incompatible unit test for interpolation in eval (@mgreter, #1860) - Implement correct empty list to_sass output (@mgreter, #1859) - Remove To_String by using AST->to_string and inspect (@mgreter, #1858) - Update license year range to 2016 (@pra85, #1857) - Incorrect 'Invalid UTF-8' error with a specific input length (@mgreter, #1856) - Adds include headers to VS meta files on windows (@am11, #1850) - Implement missing error checks (@mgreter, #1848) - Fix SmartOS compilation once and for all (@mgreter, #1847) - Relative imports fail when outside working directory (@mgreter, #1846) - Disable error for empty source string on context (@mgreter, #1845) - Fix expression parsing with comment between factors (@mgreter, #1844) - Refactor/milestone 3.4 (@mgreter, #1841) - @custom-media throws error (@mgreter, #1839) - Fix iterating over parent selector list with @each (@mgreter, #1837) - Include unconditionally (@saper, #1835) - No file information for empty source string (@mgreter, #1834) - Improve parsing of media queries with comments (@mgreter, #1833) - Prevent segfault with nested properties edge case (@mgreter, #1832) - Implement extend for wrapped selectors (@mgreter, #1831) - Only parse interpolations in kept block comments (@mgreter, #1830) - Implement import recursion check (@mgreter, #1829) - Error on invalid parent selector placements (@mgreter, #1828) - Fix look-ahead of parent selector with trailing BEM separator (@mgreter, #1827) - Fix join_paths when left path is not canonical (@mgreter, #1826) - Error incorrectly thrown for &__ selector (@mgreter, #1825) - Update .editorconfig (@numeraltwo, #1824) - Ampersand glued to the selector should be rejected (@mgreter, #1822) - Selector-unify should return null instead of an empty list (@xzyfer, #1819, #1820) - Fix interpolations returning quoted string in selectors (@xzyfer, #1818) - Adds CRLF awareness to Util::quote() (@am11, #1817) - Fix multiple issues with function parameter binding (@xzyfer, #1815) - While loops should release their local env when exiting early (@xzyfer, #1814) - Regression in variable scoping causing segfault (@xzyfer, #1813) - Incorrect output for unknown at-rules (@mgreter, #1812) - Emit DLL which exports symbols on windows VS (@am11, #1811) - Add exit code for explicit test (@am11, #1810) - Support multiline url declarations (@xzyfer, #1809) - Incompatible units error in interpolations (@mgreter, #1804) - Segfault on missing semicolon (@mgreter, #1803) - Infinite import loop results in a stack overflow (@mgreter, #1801) - Segmentation fault for interpolations in certain comments (@mgreter, #1798) - Placeholder selector inside :not() (@mgreter, #1797) - Append function doesn't appear to append correctly inside loops (@mgreter, #1796) - Media queries fail to parse when comment is present (@mgreter, #1794) - Incompatible units error for expressions in media queries (@mgreter, #1793) - Incorrectly building dynamic library on Windows (@mgreter, #1790) - Fix libsass build for SmartOS (@mgreter, #1782) - Fix-up some docs on importers (undefined variables) (@asottile, #1780) - Using 'calc' shoes an Error: Incompatible units: 'px' and '%' (@mgreter, #1776) - Converts wchar_t* to UTF-8 std::string on windows (@am11, #1774) - String Interpolation incorrectly quotes parent selectors (@xzyfer, #1770) - @debug on an empty list should produce () (@mgreter, #1768) - Removing duplicated content from c api example (@rodneyrehm, #1767) - Comments between binary operands prevents evaluation (@mgreter, #1765) - Add crutch to help browsers interpreting source-maps (@mgreter, #1759) - bug with & (parent-selector) and @each directive in 3.3.2 (@mgreter, #1757) - Fix possible segfault in Each expansion (@mgreter, #1756) - Remove sixtuplet flag on Colors and fix edge case (@mgreter, #1755) - Refactor to remove Context dependency from To_String (@mgreter, #1754) - Segmentation fault @each with argslist node-sass 3.4.2 (@mgreter, #1752) - Wrong line reported in invalid operands for multiplication (@mgreter, #1751) - Implement variable shadow scoping (@mgreter, #1748) - Nested styles refer to top-level parent in source-map line number (@mgreter, #1747) - Variables in control flow should not be accessible in outer scopes (@mgreter, #1746) - Fix #1742 - same expression on both sides of && (@saper, #1744) - Don't allocate std::random_device statically (@ksmadsen, #1743) - Ampersands in :not selector (@mgreter, #1741) - Improve binary expressions to preserve white-space at operands (@mgreter, #1739) - Defer creation of hash maps into eval stage (@mgreter, #1736) - Fix edge-case for extend with Wrapped_Selector (@mgreter, #1735) - Interpolated, double-quoted vars can produce an empty output (@mgreter, #1734) - Fix error messages for min and max (@xzyfer, #1731) - Multiple nth-child selector with @extend compiles wrong (@mgreter, #1729) - Fix Binary operators adjacent to interpolations (@mgreter, #1728) - Allow multiple unparenthesized expressions for operators (@mgreter, #1727) - Error: Import may not be used within controls or mixins. $100 - Different results with @each and @for loop (@mgreter, #1723) - Extra white-space after "#{}" interpolation (@mgreter, #1722) - Fixes for Windows version (@Taritsyn, #1721) - @each on nested lists assigns the wrong value. (@mgreter, #1709) - Avoid some clang compiler warnings (@mgreter, #1707) - Implement rounding precision (@mgreter, #1704) - No error for @extend %an-undefined-placeholder (@mgreter, #1670) - Error on @debug, @warn or @error in properties (@mgreter, #1653) - Improve selector look-ahead for "negative" binomials (@mgreter, #1652) - @extend inside @at-root doesn't work (@mgreter, #1651) - Space in argument for :nth-of-type(2n - 1) results in error (@mgreter, #1650) - All interpolation is unquoted (@xzyfer, #1647) - Arglist as single arg for varargs improperly gets destructed (@xzyfer, #1645) - Use the correct parsing semantics for @import url() (@xzyfer, #1597) - Single comma separated must be surrounded by () on inspect. (@mgreter, #1583) - Error message mismatch for empty interpolation as an argument (@mgreter, #1564) - Error message mismatch for min (@xzyfer, #1559) - Disallow functions to be defined in control directives or mixins (@mgreter, #1550) - Minor issue parsing number units after double dash (@mgreter, #1526) - Fixes some clang warnings (@mgreter, #1523) - Better support for @-moz-document (@mgreter, #1401) - Quoted colors in maps produces 'Duplicate key "transparent" in map' (@mgreter, #1169) - Permit multiline in URL (@xzyfer, #1096) - No error for missing imported base class in @extend (@mgreter, #871) * Improved spec tests With this release we have a bit more than 275 new spec tests. We started to include error tests too, which was quite difficult at the beginning, since we need to get the output 100% correct to really pass a spec test, although we really only test the first line for error specs so far. None the less, with this release a lot more error messages are matching the ones of ruby sass and we also catch more cases. But we still let a lot more syntax silently pass than ruby sass does. ------------------------------------------------------------------- Fri Jul 15 01:26:38 UTC 2016 - jengelh@inai.de - Add libsass-am.diff, libsass-vers.diff to do proper versioning on shared library. - Drop useless with-pic (only for — unbuilt — static libs) ------------------------------------------------------------------- Wed Jul 13 07:38:21 UTC 2016 - psimons@suse.com - Remove redundant "Obsoletes" attribute from spec file. New versions implicitly obsolete older versions of the same package; this doesn't need to be stated explicitly. ------------------------------------------------------------------- Sun Jul 3 11:08:48 UTC 2016 - psimons@suse.com - Build a shared library instead of a static one. - Rename the main package to match the shared library's SONAME. - Enable "make check" test suite. - Run the spec file through spec-cleaner. ------------------------------------------------------------------- Tue Jan 5 17:32:22 UTC 2016 - dmueller@suse.com - add license ------------------------------------------------------------------- Tue Jan 04 08:43:58 UTC 2016 - cbosdonnat@suse.com - Release 3.3.2