Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow for CSS variable in pygments stylesheets | Sylvain Corlay | 2019-05-02 | 1 | -3/+8 |
| | |||||
* | Fix ResourceWarning: unclosed file | Micka?l Schoentgen | 2019-01-07 | 2 | -5/+5 |
| | | | | Also uniformize usage of the 'with' contact manager to prevent resource leaks. | ||||
* | Merge fix for recently introduced failures. | Matth?us G. Chajdas | 2018-12-19 | 2 | -5/+5 |
|\ | |||||
| * | Fix a few markup problems in the docs. | Georg Brandl | 2018-12-18 | 1 | -2/+2 |
| | | |||||
| * | Update ansi color name change version. | Matth?us G. Chajdas | 2018-12-16 | 1 | -2/+2 |
| | | |||||
| * | Merged in mortenlund/pygments-main (pull request #777) | Anteru | 2018-12-16 | 1 | -3/+9 |
| |\ | | | | | | | | | | | | | | | | | | | | | | Change ansi color names to more saying names Approved-by: Morten E. Lund <melund@gmail.com> Approved-by: jonathanslenders <jonathan@slenders.be> Approved-by: Anteru <bitbucket@ca.sh13.net> | ||||
| * | | Fix more instances of invalid string escapes | Georg Brandl | 2018-11-28 | 1 | -1/+1 |
| | | | | | | | | | | | | Also, raise on warnings from Pygments only. | ||||
* | | | Update remaining color names | Morten Enemark Lund | 2018-12-18 | 2 | -62/+62 |
| |/ |/| | |||||
* | | Use replace instead of strip | Morten Enemark Lund | 2018-08-21 | 1 | -2/+2 |
| | | |||||
* | | Ensure terminal formatter works with new ansi colors names | Morten Enemark Lund | 2018-08-21 | 1 | -2/+2 |
| | | |||||
* | | Change ansi color names to more saying names | Morten Enemark Lund | 2018-08-04 | 1 | -1/+7 |
|/ | | | | | | The ansi color names are changed to names which are easier to understand and align with color names of other projects and terminals. (e.g. ``#ansifuchsia`` to ``ansibrightmagenta``) This also drops the # prefix to the color names. Hashtag # is usually used for hex colors and the names are already prefixed with `ansi`. Furthermore, it allows the new and old set of names to be exclusive. | ||||
* | -x functionality updates, Python 3 compatibility fix | Georg Brandl | 2017-01-22 | 1 | -4/+6 |
| | |||||
* | Merged in tprynn/pygments-main/command-line-lexer-formatter (pull request #559) | Georg Brandl | 2017-01-22 | 12 | -12/+49 |
|\ | | | | | | | Custom Lexer/Formatter File Loading | ||||
| * | style fixups | Georg Brandl | 2017-01-22 | 1 | -6/+6 |
| | | |||||
| * | Merged in AndreBremer/pygments-main (pull request #597) | Georg Brandl | 2017-01-22 | 12 | -12/+12 |
| |\ | | | | | | | | | | Image Formatter: Mac-specific lookup for fonts (fixes #868) | ||||
| | * | Copyright update. | Georg Brandl | 2017-01-22 | 12 | -12/+12 |
| | | | |||||
| * | | Python 2.6 compatibility fixes and optimization. | abremer | 2016-05-27 | 1 | -2/+2 |
| | | | |||||
| * | | Added Mac-specific lookup for fonts (fixes #868). | abremer | 2016-05-27 | 1 | -0/+37 |
| |/ | |||||
* | | Add load_from_file functions to __all__ in lexers and formatters | Tanner Prynn | 2016-02-29 | 1 | -1/+1 |
| | | |||||
* | | bring this branch up-to-date with master, and resolve merge conflicts in ↵ | Tanner Prynn | 2016-02-26 | 1 | -0/+33 |
|\ \ | |/ |/| | | | lexerdev documentation | ||||
| * | Use exec instead of imp.load_source | Tanner Prynn | 2016-02-26 | 1 | -9/+7 |
| | | | | | | | | Custom lexer/formatter are no longer added to sys.modules() | ||||
| * | Update pull request per comments by birkenfeld. | Tanner Prynn | 2016-02-24 | 1 | -10/+24 |
| | | | | | | | | | | | | | | Add optional function parameter for the class name to instantiate, and update cli to support this. Move error handling to within the loading functions; they now only raise ClassNotFound. Modify doc with these updates and the version number. Test case clean up and additions. | ||||
| * | Add additional command line option to prevent users from using eval() on ↵ | Tanner Prynn | 2016-02-22 | 1 | -0/+21 |
| | | | | | | | | | | | | | | | | untrusted files Finish custom-formatter loading and fill in some docstrings Add load_?_from_file functions to API documentation pep8 compliance | ||||
* | | merge with stable | Georg Brandl | 2016-02-26 | 1 | -4/+32 |
|\ \ | |||||
| * | | Rename ansilist that now is a set, slipped though PR 531 review | Matthias Bussonnier | 2016-02-14 | 1 | -4/+4 |
| | | | |||||
| * | | Add authors entry, changelog for PR#531 and fixup a few style issues. | Georg Brandl | 2016-02-14 | 1 | -11/+9 |
| | | | |||||
| * | | Merged in Carreau/pygments-main/256ansi (pull request #531) | Georg Brandl | 2016-02-14 | 1 | -4/+34 |
| |\ \ | | |/ | |/| | | | | Allow ansi escape sequence as color format | ||||
| | * | Update to leave compatibility for other formatters. | Matthias Bussonnier | 2016-02-12 | 2 | -23/+20 |
| | | | |||||
| | * | Handle some `#ansi*` in HtmlFormatter | Matthias Bussonnier | 2016-02-08 | 1 | -2/+19 |
| | | | |||||
| | * | Add documentation on non-extended foreground color for Terminal256 styles | Matthias Bussonnier | 2016-02-07 | 1 | -0/+7 |
| | | | |||||
| | * | merge with origin | Matthias Bussonnier | 2015-12-18 | 1 | -1/+10 |
| | |\ | |||||
| | | * | Allow ansi escape sequence as color format | Matthias Bussonnier | 2015-11-04 | 1 | -1/+10 |
| | | | | |||||
* | | | | Fixed Python 3 regression in image formatter (closes #1215) | Georg Brandl | 2016-02-26 | 1 | -1/+1 |
|/ / / | |||||
* | | | Added a mapping table for LaTeX encodings and added utf8 (closes #1152) | Georg Brandl | 2016-02-02 | 1 | -1/+8 |
| | | | |||||
* | | | Fixed HTML formatter output with leading empty lines (closes #1111) | Georg Brandl | 2016-02-02 | 1 | -1/+3 |
| | | | |||||
* | | | Make "make mapfiles" Python3 compatible. | Georg Brandl | 2016-02-02 | 1 | -1/+1 |
| | | | |||||
* | | | Fixed image formatter font searching on Macs (closes #1188) | Georg Brandl | 2016-02-02 | 1 | -3/+7 |
| | | | |||||
* | | | "make check" style fixes. | Georg Brandl | 2016-01-16 | 1 | -1/+1 |
| | | | |||||
* | | | Fix byte decoding in py3 for ImageFormatter | Rishav Kundu | 2016-01-07 | 1 | -1/+1 |
| | | | | | | | | | | | | subprocess.communicate returns a bytes object | ||||
* | | | merge | Georg Brandl | 2016-01-04 | 1 | -0/+10 |
|\ \ \ | |||||
| * | | | Add filename parameter to HtmlFormatter | Alexander Todorov | 2015-11-29 | 1 | -0/+10 |
| |/ / | |||||
* | | | HTML formatter: pep8 | Georg Brandl | 2016-01-04 | 1 | -22/+22 |
|/ / | |||||
* | | move `.replace` immediately after `read()`, and | hhsprings | 2015-11-09 | 1 | -2/+9 |
| | | | | | | | | explain in a comment that it's for windows. | ||||
* | | _mapping.py should keep NL not CRNL. | hhsprings | 2015-11-07 | 1 | -3/+3 |
|/ | |||||
* | Closes #1160: fix docstring markup. | Georg Brandl | 2015-10-20 | 1 | -1/+1 |
| | |||||
* | Closes #1142: add 16-million color terminal formatter. | Georg Brandl | 2015-10-17 | 2 | -4/+63 |
| | |||||
* | Optimized HtmlFormatter to run ~10x faster for long lines | Giedrius Dubinskas | 2015-10-16 | 1 | -11/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Changed string concatenation to list extend/join to reduce memory allocations. How to reproduce: Test data: $ echo '{' $(for i in {1..10000}; do printf '"key%d":"value %d", ' $i $i; done) '}' > /tmp/one-line.json Before: $ time ./pygmentize -O encoding=utf-8 -O stripnl=False -f html -l 'json' > /dev/null < /tmp/one-line.json real 0m5.597s user 0m4.400s sys 0m1.158s After: $ time ./pygmentize -O encoding=utf-8 -O stripnl=False -f html -l 'json' > /dev/null < /tmp/one-line.json real 0m0.347s user 0m0.309s sys 0m0.029s | ||||
* | Avoid the shell entirely when finding fonts. | Tim Hatch | 2015-10-16 | 1 | -10/+8 |
| | | | | Manually tested on OS X. | ||||
* | Merged in Javantea/pygments-main (pull request #501) | Tim Hatch | 2015-10-16 | 4 | -44/+212 |
|\ | | | | | | | Fix Shell Injection in FontManager._get_nix_font_path | ||||
| * | Merge with jjatria/pygments-main (praat) (pull request #492) | Tim Hatch | 2015-10-14 | 4 | -44/+212 |
| |\ |