Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | reverted changes to run under python 2.6 | lookshe | 2016-02-08 | 1 | -4/+2 |
| | |||||
* | Merge branch 'master' into flatten_tree | lookshe | 2016-02-08 | 1 | -2/+4 |
|\ | |||||
| * | syntax-highlighting: always use utf-8 to avoid ascii codec issues | Jason A. Donenfeld | 2016-01-18 | 1 | -0/+3 |
| | | |||||
* | | reverted syntax-hightling.py to python2 | lookshe | 2016-01-14 | 1 | -9/+10 |
|/ | |||||
* | filters: port syntax-highlighting.py to python 3.x | Christian Hesse | 2015-10-12 | 1 | -10/+9 |
| | | | | Signed-off-by: Christian Hesse <mail@eworm.de> | ||||
* | filters: Improved syntax-highlighting.py | Stefan Tatschner | 2014-01-13 | 1 | -19/+33 |
| | | | | | | | | | | | | | | | | - Switched back to python2 according to a problem in pygments with python3. With the next release of pygments this problem should be fixed. Issue see here: https://bitbucket.org/birkenfeld/pygments-main/issue/901/problems-with-python3 - Just read the stdin, decode it to utf-8 and ignore unknown signs. This ensures that even destroyed files do not cause any errors in the filter. - Improved language guessing: -> At first use guess_lexer_for_filename for a better detection of the used programming languages (even mixed cases will be detected, e.g. php + html). -> If nothing was found look if there is a shebang and use guess_lexer. -> As default/fallback choose TextLexer. Signed-off-by: Stefan Tatschner <stefan@sevenbyte.org> | ||||
* | Fix UTF-8 with syntax-highlighting.py | Přemysl Janouch | 2014-01-08 | 1 | -0/+1 |
| | | | | | | | Previously the script tried to encode output from Pygments with the ASCII codec, which failed. Signed-off-by: Přemysl Janouch <p.janouch@gmail.com> | ||||
* | filters: import more modern scripts | Jason A. Donenfeld | 2013-05-27 | 1 | -0/+38 |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> |