Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | | | ||||||
| | * | Add support for partials and path segments for Handlebars. | Christian Hammond | 2016-11-04 | 12 | -0/+3295 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This introduces support for some missing features to the Handlebars lexer: Partials and path segments. Partials mostly appeared to work before, but the `>` in `{{> ... }}` would appear as a syntax error, as could other components of the partial. This change introduces support for: * Standard partials: `{{> partialName}}` * Partials with parameters: `{{> partialName varname="value"}}` * Ddynamic partials: `{{> (partialFunc)}}` * Ddynamic partials with lookups: `{{> (lookup ../path "partialName")}}` * Partial blocks: `{{> @partial-block}}` * Inline partials: `{{#*inline}}..{{/inline}}` It also introduces support for path segments, which can reference content in the current context or in a parent context. For instance, `this.name`, `this/name`, `./name`, `../name`, `this/name`, etc. These are all now tracked as variables. | |||||
| * | 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 | |
| | | | | ||||||
| | * | | 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 | |
| | | |\ | ||||||
| | | | * | Merge with mallegonian/pygments-main (pull request #458) | Tim Hatch | 2015-10-14 | 2 | -44/+29 | |
| | | | |\ | ||||||
| | | | | * | Merged in hhsprings/pygments-main (pull request #479) | Tim Hatch | 2015-10-14 | 1 | -0/+1 | |
| | | | | |\ | ||||||
| | | | | | * | Highlight prompts different in TerminalFormatter | Tim Hatch | 2015-10-14 | 1 | -0/+1 | |
| | | | |_|/ | | | |/| | | ||||||
| | | | | * | Merged in jonashaag/pygments-main/jonashaag/fix-typo-1441310321454 (pull ↵ | Tim Hatch | 2015-10-13 | 1 | -43/+27 | |
| | | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | request #496) Fix typo | |||||
| | | | | | * | Address problems with linenos in terminal formatter by rewriting | Tim Hatch | 2015-10-07 | 1 | -43/+27 | |
| | | | |_|/ | | | |/| | | | | | | | | | | | | | | Fixes #1147 | |||||
| | | | | * | Fix typo | Jonas Haag | 2015-09-03 | 1 | -1/+1 | |
| | | | |/ | | | |/| | ||||||
| | | | * | Add IRC formatter | Trevor Bergeron | 2015-03-16 | 2 | -0/+183 | |
| | | |/ | ||||||
| | * | | Fix Shell Injection in FontManager._get_nix_font_path | Javantea | 2015-09-28 | 1 | -2/+3 | |
| | |/ | ||||||
| | * | Fixed style inheritance for non-standard token types in HTML output. | Georg Brandl | 2015-03-08 | 1 | -1/+10 | |
| | | | ||||||
| | * | fixup elisp lexer a bit | Georg Brandl | 2015-02-21 | 1 | -1/+0 | |
| | | | ||||||
| | * | Revert changes to pygments/formatters/_mapping.py | Edoardo Tenani | 2015-02-18 | 1 | -0/+1 | |
| | | |