Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | -x functionality updates, Python 3 compatibility fix | Georg Brandl | 2017-01-22 | 1 | -1/+1 |
| | |||||
* | Merged in tprynn/pygments-main/command-line-lexer-formatter (pull request #559) | Georg Brandl | 2017-01-22 | 1 | -2/+2 |
|\ | | | | | | | Custom Lexer/Formatter File Loading | ||||
| * | Copyright update. | Georg Brandl | 2017-01-22 | 1 | -2/+2 |
| | | |||||
* | | Update pull request per comments by birkenfeld. | Tanner Prynn | 2016-02-24 | 1 | -32/+27 |
| | | | | | | | | | | | | | | 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 | -9/+25 |
| | | | | | | | | | | | | | | | | untrusted files Finish custom-formatter loading and fill in some docstrings Add load_?_from_file functions to API documentation pep8 compliance | ||||
* | | add basic CLI support for custom lexers/formatters | Tanner Prynn | 2016-02-22 | 1 | -11/+39 |
|/ | |||||
* | Fixes noted by pylint, mostly. | Tim Hatch | 2015-10-14 | 1 | -5/+6 |
| | |||||
* | merge with stable | Georg Brandl | 2015-01-21 | 1 | -36/+48 |
|\ | |||||
| * | cmdline: more coverage | Georg Brandl | 2014-11-11 | 1 | -7/+2 |
| | | |||||
| * | Fix -H return codes and test them. | Georg Brandl | 2014-11-11 | 1 | -2/+3 |
| | | |||||
| * | (Hopefully) fix test_cmdline failures under Windows without colorama. | Georg Brandl | 2014-11-11 | 1 | -2/+2 |
| | | |||||
| * | Reorder logic in cmdline.main a bit. | Georg Brandl | 2014-11-11 | 1 | -12/+14 |
| | | |||||
| * | Bring pygments.cmdline coverage to ~100%, fix a few glitches in the process. | Georg Brandl | 2014-11-11 | 1 | -14/+11 |
| | | |||||
| * | merge with stable | Georg Brandl | 2014-11-10 | 1 | -2/+19 |
| |\ | |||||
| | * | Add a -v command line switch that shows the full traceback. | Georg Brandl | 2014-11-10 | 1 | -2/+19 |
| | | | |||||
* | | | Copyright year update. | Georg Brandl | 2015-01-21 | 1 | -2/+2 |
| | | | |||||
* | | | (Hopefully) fix test_cmdline failures under Windows without colorama. | Georg Brandl | 2014-11-11 | 1 | -2/+2 |
|/ / | |||||
* | | Wrap the whole inner body of main() in the try-except. | Georg Brandl | 2014-11-10 | 1 | -40/+41 |
|/ | |||||
* | Fix leftover debugging "raise". Add test coverage for errors and exceptions ↵ | Georg Brandl | 2014-11-10 | 1 | -8/+14 |
| | | | | in cmdline_main. | ||||
* | Closes #1058: Fix an encoding issue when using ``pygmentize`` with the ↵ | Georg Brandl | 2014-11-10 | 1 | -56/+57 |
| | | | | ``-o`` option. | ||||
* | Appease pyflakes. | Georg Brandl | 2014-11-06 | 1 | -0/+2 |
| | |||||
* | cmdline: wrap outfile directly with colorama only if output to terminal | Georg Brandl | 2014-10-14 | 1 | -17/+25 |
| | | | | Add special handling for Python 3. | ||||
* | Refine streaming mode a bit: | Georg Brandl | 2014-10-08 | 1 | -6/+22 |
| | | | | | | | | * flush output file after writing a line (important in Py3) * disallow -s and input file name * disallow -s without -l * use binary stdin on Py3 * add to usage doc. | ||||
* | Merged in __russ__/pygments-main (pull request #165) | Georg Brandl | 2014-10-08 | 1 | -102/+119 |
|\ | |||||
| * | Overhaul encoding handling in cmdline even more. | Georg Brandl | 2014-10-08 | 1 | -38/+28 |
| | | | | | | | | | | | | | | Now the encoding guessed for the input file will be used for an output file. We now always read and write to the terminal .buffer on Python 3, which allows us to override the terminal encoding and use our guessing algorithm. | ||||
| * | Fix calling "pygmentize" without any args. | Georg Brandl | 2014-10-08 | 1 | -4/+0 |
| | | |||||
| * | Closes #799: read from binary buffer stdin on Python 3 if explicit encoding ↵ | Georg Brandl | 2014-10-08 | 1 | -4/+12 |
| | | | | | | | | given | ||||
| * | Closes #963: always guess lexer when reading from stdin. | Georg Brandl | 2014-10-07 | 1 | -11/+5 |
| | | |||||
| * | Closes #979: improve encoding behavior of cmdline invocations | Georg Brandl | 2014-10-07 | 1 | -11/+26 |
| | | | | | | | | | | | | | | | | Now the preferred locale encoding is used for stdin/stdout if the encoding is not set on the file objects. Also, code from input files is tried to be decoded as UTF-8, the locale encoding and finally latin-1 as a last resort if no encoding option is given. | ||||
| * | Closes #980: fix DeprecationWarnings (mostly due to files closed by __del__) ↵ | Georg Brandl | 2014-10-07 | 1 | -1/+2 |
| | | | | | | | | | | | | on Py3. Also fix a bunch of other uses of open() to use the with statement. | ||||
| * | fix spelling in new class name | Georg Brandl | 2014-04-14 | 1 | -2/+2 |
| | | |||||
| * | Merge remote-tracking branch 'pr230/master' | Tim Hatch | 2014-04-14 | 1 | -0/+10 |
| |\ | | | | | | | | | | | | | Conflicts: pygments/formatters/latex.py | ||||
| | * | Update the patch from #493 to work with tip. | Jonathan Protzenko | 2013-08-21 | 1 | -0/+10 |
| | | | |||||
| * | | manual prettifying and small fixes after futurize run | Georg Brandl | 2014-01-18 | 1 | -2/+4 |
| | | | |||||
| * | | futurizing: move to print_function and "except X as Y" syntax | Georg Brandl | 2014-01-18 | 1 | -66/+67 |
| | | | |||||
| * | | new year in copyright notice | Georg Brandl | 2014-01-10 | 1 | -2/+2 |
| | | | |||||
| * | | Fix options with "=" in them. | Jonathan Protzenko | 2013-09-04 | 1 | -1/+1 |
| |/ | |||||
* | | removed pointless code and trimmed the -s help docs | russ | 2013-02-13 | 1 | -9/+4 |
| | | |||||
* | | added -s option to support line-by-line formatting of stdin stream | russ | 2013-02-13 | 1 | -3/+32 |
|/ | |||||
* | Closes #838: fix lexers not receiving command-line options when guessing by ↵ | Georg Brandl | 2013-01-18 | 1 | -4/+4 |
| | | | | content. | ||||
* | Happy new year 2013. | Georg Brandl | 2013-01-09 | 1 | -2/+2 |
| | |||||
* | More fixed for PEP-8 formatting. | Grigory Petrov | 2012-12-25 | 1 | -6/+6 |
| | |||||
* | Modified by Tim Hatch request. | Grigory Petrov | 2012-12-24 | 1 | -1/+1 |
| | |||||
* | Fixed code style to be PEP-8 compatible. | Grigory Petrov | 2012-12-23 | 1 | -1/+1 |
| | |||||
* | pygmentize on Windows now uses color output if 'colorama' python package is ↵ | Grigory Petrov | 2012-12-23 | 1 | -0/+8 |
| | | | | available. | ||||
* | Happy new year. | Georg Brandl | 2012-08-19 | 1 | -1/+1 |
| | |||||
* | Closes #691: Fix Python 3 terminal highlighting with pygmentize. | Georg Brandl | 2012-02-06 | 1 | -0/+3 |
| | |||||
* | Copyright update. | Georg Brandl | 2012-02-05 | 1 | -1/+1 |
| | |||||
* | Update copyright years. | Georg Brandl | 2011-09-10 | 1 | -1/+1 |
| | |||||
* | Fix current copyright year. | Georg Brandl | 2011-07-09 | 1 | -1/+1 |
| |