| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
fix error: global flags not at the start of the expression at position 1
|
|/ |
|
|\
| |
| | |
Bump version to 1.4.0
|
|/ |
|
|\
| |
| | |
fix IE's rules limit - log as warning
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| | |
| | | |
Fix DeprecationWarning on inspect.getargspec in python3
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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().
|
|\ \
| | |
| | | |
Fix DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| | |
| | | |
use pathlib2 instead of pathlib
|
| |/ |
|
|\ \
| |/
|/| |
Fix collections deprecation warning
|
|/ |
|
|\
| |
| | |
Add selector-append function support
|
| |
| |
| |
| |
| | |
Sass selector-append function is the same as append-selector in compass
so we can just add teh alias for it.
|
|\ \
| | |
| | | |
Fix FutureWarning
|
| |/
| |
| |
| |
| |
| | |
Possible nested set at position 329
Fixes: https://github.com/Kronuz/pyScss/issues/376
|
|\ \
| | |
| | | |
[#404] Linear gradient zero division.
|
| | | |
|
| |/
| |
| |
| | |
would be zero, it would be marked as the max value and used in the denominator of a fraction.
|
|\ \
| |/
|/| |
Add compatibility against Pytest 5.4+
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
The direct construction of nodes is deprecated since Pytest 5.4 [0]:
> The construction of nodes now should use the named constructor
from_parent. This limitation in api surface intends to enable
better/simpler refactoring of the collection tree.
This means that instead of MyItem(name="foo", parent=collector, obj=42)
one now has to invoke MyItem.from_parent(collector, name="foo").
[0]: https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent
Fixes: https://github.com/Kronuz/pyScss/issues/407
Signed-off-by: Stanislav Levin <slev@altlinux.org>
|
|\
| |
| | |
Fixed compile error with msvc
|
|/ |
|
|\
| |
| | |
Bump version to 1.3.7
|
|/ |
|
|\
| |
| | |
Make C extension optional
|
|/
|
|
|
|
|
|
|
| |
C excension is just a speedup, so we don't need to fail the installation
if the build is failed.
It's a follow-up fix for 6ec33af0d01fe73d5ce2c48a9d784fb47596d641.
Closes: issue #393
|
|\
| |
| | |
Bump version to 1.3.6
|
|/ |
|
|\
| |
| | |
Enable PyPI deployment
|
|/ |
|
|\
| |
| | |
Revert "Let the speedup block locator complain about surplus closing"
|
|/
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
make it work with setuptools v46
|
|/ |
|
|\
| |
| | |
Travis fix
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
|\
| |
| | |
Add meta-information that this package is not "zip_safe"
|
|/
|
|
|
| |
This module contains binary shared-library code and thus cannot be used as a
zip file.
|
|\
| |
| | |
Let the speedup block locator complain about surplus closing braces.
|
|/
|
|
|
|
|
|
|
| |
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 functions
|
|/ |
|