summaryrefslogtreecommitdiff
path: root/scss
Commit message (Collapse)AuthorAgeFilesLines
* fix error: global flags not at the start of the expression at position 1tst2022-11-031-1/+1
|
* Bump version to 1.4.0Ivan Kolodyazhny2022-02-231-3/+3
|
* Merge pull request #412 from return42/masterIvan Kolodyazhny2022-02-231-2/+2
|\ | | | | fix IE's rules limit - log as warning
| * fix IE's rules limit - log as warningMarkus Heiser2020-09-091-2/+2
| | | | | | | | | | | | | | | | | | | | As far as I know [1] IE 11 supports 65534 rules. BTW fix logging class from error to warning [2]. [1] https://forums.asp.net/t/2059387.aspx?IE+10+and+11+CSS+Style+Sheet+Rules [2] bdb02e8d Warning about IE 4095 maximum and improved debug_info Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
* | Merge pull request #416 from amotoki/fix-getargspec-warningIvan Kolodyazhny2022-02-231-3/+10
|\ \ | | | | | | Fix DeprecationWarning on inspect.getargspec in python3
| * | Fix DeprecationWarning on inspect.getargspec in python3Akihiro Motoki2021-02-181-3/+10
| |/ | | | | | | | | | | | | | | | | | | inspect.getargspec() is deprecated in python3 and the usage of inspect.signature() or inspect.getfullargspec() is recommended. The only different between getargspec and getfullargspec is that "keywords" attribute in getargspec() return value corresponds to "varkw" attribute in case of getfullargspec(). This commit changes the code to try getfullargspec() first and then fallback to getargspec().
* | Merge pull request #417 from amotoki/warning-PY_SSIZE_T_CLEANIvan Kolodyazhny2022-02-233-14/+20
|\ \ | | | | | | Fix DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
| * | Fix DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formatsAkihiro Motoki2021-03-083-14/+20
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We see the following warning when scss is used with python 3.8. scss/compiler.py:359: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats for c_lineno, c_property, c_codestr in locate_blocks(rule.unparsed_contents): This warning was introduced by https://bugs.python.org/issue36381 to warn about an upcoming Python C API change. The meaning of PY_SSIZE_T_CLEAN is described in https://python.readthedocs.io/en/stable/c-api/arg.html#strings-and-buffers. What we need to do are: * find all usages of PyArg_Parse with # formats and related functions. Ensure that the type of the length argument is a Py_ssize_t. * Add #define PY_SSIZE_T_CLEAN above the #include <Python.h>. Signed-off-by: Akihiro Motoki <amotoki@gmail.com>
* | Fix collections deprecation warningChris Sewell2020-09-031-1/+4
|/
* Merge pull request #399 from e0ne/selector-append-funcIvan Kolodyazhny2020-09-031-0/+2
|\ | | | | Add selector-append function support
| * Add selector-append function supportIvan Kolodyazhny2020-04-141-0/+2
| | | | | | | | | | Sass selector-append function is the same as append-selector in compass so we can just add teh alias for it.
* | Merge pull request #403 from Azd325/masterIvan Kolodyazhny2020-09-031-1/+1
|\ \ | | | | | | Fix FutureWarning
| * | Fix FutureWarningTim Kleinschmidt2020-07-161-1/+1
| |/ | | | | | | | | | | Possible nested set at position 329 Fixes: https://github.com/Kronuz/pyScss/issues/376
* | Added end-of-file newline.matyasrichter2020-07-201-1/+1
| |
* | Fixed an issue where in a gradient where the only non-percetage stop value ↵matyasrichter2020-07-203-1/+10
|/ | | | would be zero, it would be marked as the max value and used in the denominator of a fraction.
* Fixed compile error with msvc see #396js2020-03-271-1/+1
|
* Bump version to 1.3.7Ivan Kolodyazhny2020-03-261-3/+3
|
* Bump version to 1.3.6Ivan Kolodyazhny2020-03-211-2/+2
|
* Revert "Let the speedup block locator complain about surplus closing"Ivan Kolodyazhny2020-03-211-6/+0
| | | | | | | | | | Commit 4cf0cb606ad32a04774a0a3ca9186e238bf61c1f adds some backward-incompatible changes to pyScss: not it fails on a valid sass/scss filed. It means that Python and C implementation of parsers are different. This patch reverts the commit mentioned above to have the same functionality between Python and C implementations.
* Fix unused variableGermán Méndez Bravo2018-08-231-3/+3
|
* Fix guarded statementGermán Méndez Bravo2018-08-231-1/+2
|
* Let the speedup block locator complain about surplus closing braces.Martin Natano2016-09-291-0/+6
| | | | | | | | | This brings the behaviour of the speedup module more in line with the behaviour of the locate_block() function as implemented in python. e.g. try: $ echo 'a{}}' | pyscss
* Add support for CSS shape functionsKevin Bieri2016-08-031-0/+4
|
* Bump version to 1.3.5v1.3.51.3.xEevee (Lexy Munroe)2016-06-081-2/+2
|
* Merge pull request #343 from PhilipGarnero/allow-dots-in-filenamesEevee2016-06-0819-5/+43
|\ | | | | better check on file path to allow dots in filenames
| * better check on file path to allow dots in filenamesPhilip Garnero2015-07-0319-5/+43
| | | | | | | | fixes issue #334
* | Merge pull request #332 from dexbol/narrow-buildEevee2016-06-081-1/+5
|\ \ | | | | | | Workaround for narrow Python build
| * | Workaround for narrow Python builddexbol2015-03-231-1/+5
| | | | | | | | | | | | More info: http://stackoverflow.com/questions/7105874/valueerror-unichr-arg-not-in-range0x10000-narrow-python-build-please-hel
* | | Avoid precision loss when converting between units. Fixes #330Eevee (Lexy Munroe)2016-06-084-10/+36
| | |
* | | if()'s arguments are evaluated lazily. Fixes #339Eevee (Lexy Munroe)2016-06-086-31/+76
| | |
* | | Leave invert(N) alone; it's a CSS filter. Fixes #331Eevee (Lexy Munroe)2016-06-082-0/+11
| | |
* | | Support trailing combinators in selectors. Fixes #351Eevee (Lexy Munroe)2016-06-083-5/+48
| | |
* | | Support -moz-calc and -webkit-calc, too. Fixes #348Eevee (Lexy Munroe)2016-06-084-4/+8
| | |
* | | "opacity" in IE filter nonsense should be case-insensitive, re #341Eevee (Lexy Munroe)2016-06-082-6/+6
| | |
* | | Strip scalar null properties from output. Fixes #337Eevee (Lexy Munroe)2016-06-081-0/+2
| | |
* | | append() should default to spaces. Fixes #335Eevee (Lexy Munroe)2016-06-083-22/+31
| | |
* | | Compass should treat currentColor as a color. Fixes #354Eevee (Lexy Munroe)2016-06-083-3/+15
| | |
* | | Add the Sass 3.4 *-exists functions. Fixes #226, #229, #353Eevee (Lexy Munroe)2016-06-086-13/+116
| | |
* | | Avoid stripping inline comments that are part of URLs. Fixes #350Eevee (Lexy Munroe)2016-06-084-1/+15
| | |
* | | Fix fonts extension under Python 3, and fix expected outputEevee (Lexy Munroe)2016-06-082-7/+7
| | |
* | | Put @imported rules in the place they were imported. Fixes #352Eevee (Lexy Munroe)2016-06-083-74/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There was some old code that grouped rules by the literal file they came from -- even if @imported -- solely for the sake of some debug code that I'm not convinced is particularly useful. I removed the grouping, which ensures that an @import in the middle of a file will correctly leave its rules in that position. Also inlined a few very short methods that weren't used anywhere else and mostly just made browsing the code more confusing than necessary. I think this might break the repl, but it was already broken, so.
* | | Fixes length calculation for str_slice edge casesWilliam Anderson2015-08-041-2/+2
| | |
* | | Adds test for str_slice edge casesWilliam Anderson2015-08-041-0/+3
| | |
* | | Increases parity of str-slice with Sass str-sliceWilliam Anderson2015-08-041-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | relates to issue #338 When using str-slice the compiler should correct for out of bounds or index zero, like ruby Sass. This is also essential for use with the Bourbon library as of 4.2.3 and its implementation of is-length, which is handled perfectly fine by Ruby Sass.
* | | Added source_files to legacy compilerGerman M. Bravo2015-07-191-1/+7
| | |
* | | Improved deprecation warning messagesGerman M. Bravo2015-07-171-2/+2
| |/ |/|
* | Added less2scss commandGerman M. Bravo2015-04-101-0/+106
|/
* Don't truncate alpha in rgba(...) to two places. Fixes #329.Eevee (Alex Munroe)2015-02-231-1/+1
|
* commentEevee (Alex Munroe)2015-01-221-0/+7
|
* Fix (by ignoring) bare properties in @variables.Eevee (Alex Munroe)2015-01-161-3/+1
|