| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats | Akihiro Motoki | 2021-03-08 | 1 | -3/+4 |
| | | | | | | | | | | | | | | | | | | | | 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 unused variable | Germán Méndez Bravo | 2018-08-23 | 1 | -3/+3 |
| | | |||||
| * | Using hashtables as cached restriction sets | German M. Bravo | 2014-09-22 | 1 | -45/+30 |
| | | |||||
| * | Added hashtable | German M. Bravo | 2014-09-22 | 1 | -51/+37 |
| | | |||||
| * | Removed leftover call to Pattern_regex() in Scanner_token which made it slower | German M. Bravo | 2014-09-19 | 1 | -2/+0 |
| | | |||||
| * | Fixed compiler warnings | German M. Bravo | 2014-09-18 | 1 | -2/+0 |
| | | |||||
| * | Make scanner errors slightly more friendly to read. | Eevee (Alex Munroe) | 2014-09-02 | 1 | -13/+0 |
| | | |||||
| * | Remove extraneous Pattern_setup function from speedups. | Eevee (Alex Munroe) | 2014-08-29 | 1 | -25/+12 |
| | | |||||
| * | Speedups C code: spaces -> tabs | German M. Bravo | 2014-06-03 | 1 | -1/+1 |
| | | |||||
| * | Fix some declaration-after-statement gripes in the C. | Eevee (Alex Munroe) | 2014-05-21 | 1 | -1/+1 |
| | | |||||
| * | Made the speedups module Unicode-aware! | Eevee (Alex Munroe) | 2014-03-29 | 1 | -4/+5 |
| | | | | | | | | | As part of this, I also got to (had to) remove the inlining of line numbers into the source code delimited by NULs; instead, the scanner and its pending blocks now just track the current line number. Works on both 2 and 3, too. | ||||
| * | Correctly support scanning zero-length strings. | Eevee (Alex Munroe) | 2013-08-23 | 1 | -9/+7 |
| | | |||||
| * | Improved errors returned from the scanner | German M. Bravo | 2013-08-18 | 1 | -2/+2 |
| | | |||||
| * | Debugging prints improved | German M. Bravo | 2013-08-16 | 1 | -2/+2 |
| | | |||||
| * | Fixed a few bugs in the scanner | German M. Bravo | 2013-08-16 | 1 | -5/+22 |
| | | |||||
| * | Some parser fixes. Allow arbitrary units. | Eevee (Alex Munroe) | 2013-07-31 | 1 | -3/+3 |
| | | | | | | | | | | The C-based scanner ignored restriction lists due to only accepting tuples and lists, whereas yapps usually passes in sets. It should now be in line with the Python scanner. Also, it turns out that variables in functions could cause parse errors that were being ignored; this is now fixed. | ||||
| * | Checks for unsatable C objects. Fixes #48 | German M. Bravo | 2012-02-05 | 1 | -1/+20 |
| | | |||||
| * | Added scanner cache | German M. Bravo | 2011-12-30 | 1 | -2/+2 |
| | | |||||
| * | Scanner activated | German M. Bravo | 2011-12-26 | 1 | -0/+3 |
| | | |||||
| * | Scanner speed fixed | German M. Bravo | 2011-12-26 | 1 | -105/+110 |
| | | |||||
| * | Using PyMem for allocating memory | German M. Bravo | 2011-12-26 | 1 | -12/+27 |
| | | |||||
| * | C extension modules for scanning and locating blocks finished (scanning ↵ | German M. Bravo | 2011-12-25 | 1 | -0/+406 |
| seems slower atm) | |||||
