Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Copyright update. | Georg Brandl | 2017-01-22 | 1 | -1/+1 |
| | |||||
* | some pep8 fixups | Georg Brandl | 2016-02-14 | 1 | -2/+2 |
| | |||||
* | Merged in chebee7i/pygments-main/lexer_comments (pull request #253) | Tim Hatch | 2015-10-31 | 1 | -68/+172 |
|\ | | | | | | | (with conflicts resolved) | ||||
| * | Fixes noted by pylint, mostly. | Tim Hatch | 2015-10-14 | 1 | -8/+8 |
| | | |||||
| * | Small problem with overriding get_tokens_unprocessed in the docs (thanks M. ↵ | Georg Brandl | 2015-10-12 | 1 | -1/+0 |
| | | | | | | | | Harnisch). | ||||
| * | Copyright year update. | Georg Brandl | 2015-01-21 | 1 | -1/+1 |
| | | |||||
| * | Default lexer encoding is now "guess", i.e. UTF-8 / Locale / Latin1 is | Georg Brandl | 2014-11-06 | 1 | -5/+4 |
| | | | | | | | | tried in that order. | ||||
| * | Improve comment around inherit handling. | Tim Hatch | 2014-10-28 | 1 | -1/+3 |
| | | |||||
| * | Improve comments for RegexLexer inheritance. | Tim Hatch | 2014-10-28 | 1 | -0/+6 |
| | | |||||
| * | Fix inheritance repetition problem. __mro__ already includes cls. | Tim Hatch | 2014-10-28 | 1 | -1/+1 |
| | | |||||
| * | Overhaul encoding handling in cmdline even more. | Georg Brandl | 2014-10-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | 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. | ||||
| * | Closes #800: Add "inencoding" option to override "encoding". | Georg Brandl | 2014-10-08 | 1 | -1/+3 |
| | | |||||
| * | Closes #979: improve encoding behavior of cmdline invocations | Georg Brandl | 2014-10-07 | 1 | -9/+5 |
| | | | | | | | | | | | | | | | | 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. | ||||
| * | Move specialcasing of words() to any subclass of Future | Tim Hatch | 2014-10-03 | 1 | -5/+7 |
| | | | | | | | | | | | | The idea here is that plugins might want to provide some other optimization we haven't dreamed up yet, and to do so this way means they don't need to change with RegexLexerMeta (and it will be easier to support in regexlint). | ||||
| * | Add a profiling lexer subclass. | Georg Brandl | 2014-09-20 | 1 | -2/+59 |
| | | |||||
| * | regexopt: return the uncompiled regex. | Georg Brandl | 2014-09-20 | 1 | -2/+2 |
| | | |||||
| * | Add module to optimize regexes that consist of a long |-separated list of ↵ | Georg Brandl | 2014-09-16 | 1 | -3/+21 |
| | | | | | | | | literals. | ||||
| * | pygments.lexer: small PEP8 overhaul. | Georg Brandl | 2014-09-16 | 1 | -8/+11 |
| | | |||||
| * | Add support for default state transition in ExtendedRegexLexer | Gaurav Jain | 2014-05-18 | 1 | -9/+10 |
| | | |||||
| * | Allow default state transitions to allow for state strings as well as tuples | Gaurav Jain | 2014-05-02 | 1 | -5/+7 |
| | | |||||
| * | Add ability to specify default state transition | Gaurav Jain | 2014-04-29 | 1 | -6/+19 |
| | | | | | | | | Certain lexers are forced to match an extra empty token if they want to make a state transition. By adding the ability to specfiy a default state transition to take, we can avoid creating extra tokens | ||||
| * | use versionadded directives | Georg Brandl | 2014-01-19 | 1 | -1/+3 |
| | | |||||
| * | Finalize single-source port for Py2.[67] and Py3.3+. | Georg Brandl | 2014-01-18 | 1 | -19/+17 |
| | | |||||
| * | futurizing: move to print_function and "except X as Y" syntax | Georg Brandl | 2014-01-18 | 1 | -1/+1 |
| | | |||||
| * | new year in copyright notice | Georg Brandl | 2014-01-10 | 1 | -1/+1 |
| | | |||||
| * | Closes #851: remove BOM also with explicit encoding | Georg Brandl | 2014-01-09 | 1 | -0/+2 |
| | | |||||
| * | Fix docstring of get_tokens_unprocessed. | Georg Brandl | 2013-11-24 | 1 | -1/+3 |
| | | |||||
* | | Remove commented lines, as they are no longer necessary. | chebee7i | 2013-11-13 | 1 | -0/+2 |
|/ | |||||
* | Fix: undefined `statestack` variable in ↵ | Stephan Jorek | 2013-10-03 | 1 | -1/+1 |
| | | | | `pygments.lexer.ExtendedRegexLexer.get_tokens_unprocessed(?)` | ||||
* | fixed bug in ExtendedRegexLexer | Rob Reilink | 2013-01-13 | 1 | -1/+1 |
| | |||||
* | Merged in andyli/pygments-main/ExtendedRegexLexer-tuple-newstate (pull ↵ | Georg Brandl | 2013-01-09 | 1 | -8/+70 |
|\ | | | | | | | request #131: ExtendedRegexLexer handles tuple new_state the same way as RegexLexer) | ||||
| * | Merged in alastairh/pygments (pull request #141: Improve and unify C family ↵ | Georg Brandl | 2013-01-09 | 1 | -17/+18 |
| |\ | | | | | | | | | | language lexers) | ||||
| | * | Happy new year 2013. | Georg Brandl | 2013-01-09 | 1 | -1/+1 |
| | | | |||||
| | * | Whitespace cleanup. | Georg Brandl | 2013-01-09 | 1 | -3/+2 |
| | | | |||||
| | * | Remove BOM when the input is unicode. | Andy Li | 2012-12-12 | 1 | -1/+4 |
| | | | |||||
| | * | fixed #822 (remove BOM if present) | Andy Li | 2012-12-08 | 1 | -0/+1 |
| | | | |||||
| * | | Remove the unnecessary analyse_text methods, reduce the default priorities. ↵ | Alastair Houghton | 2013-01-03 | 1 | -11/+10 |
| | | | | | | | | | | | | Also remove some trailing whitespace and tighten-up a couple of except clauses. | ||||
| * | | Added support for inheritance to RegexLexer, so that subclasses can | Alastair Houghton | 2012-12-19 | 1 | -4/+66 |
| |/ | | | | | | | | | | | | | | | selectively inherit tokendefs from their superclasses. Used this new ability to simplify and unify the C family languages in compiled.py, and to add support for Objective-C++. Also added code to support autodetection of language for .h files, with the default being C if no content is provided, since Objective-C uses the .h file extension. | ||||
* | | ExtendedRegexLexer handles tuple new_state the same way as RegexLexer. | Andy Li | 2012-11-24 | 1 | -1/+7 |
|/ | |||||
* | Closes #777: fix position in case of unexpected EOL. | Robert Lehmann | 2012-05-31 | 1 | -1/+1 |
| | |||||
* | Closes #692: when using chardet mode, look for BOM and default to replace ↵ | Georg Brandl | 2012-02-06 | 1 | -2/+19 |
| | | | | errorhandling. | ||||
* | Copyright update. | Georg Brandl | 2012-02-05 | 1 | -1/+1 |
| | |||||
* | Closes #693: fix ObjectiveC lexer throwing errors sometimes because ↵ | Georg Brandl | 2012-02-05 | 1 | -6/+8 |
| | | | | bygroups() does not skip empty groups for callbacks. | ||||
* | Fix subclassing of regex lexers with their own token defs. | Georg Brandl | 2012-02-04 | 1 | -1/+1 |
| | |||||
* | Fix current copyright year. | Georg Brandl | 2011-07-09 | 1 | -1/+1 |
| | |||||
* | Patch to allow Jgments to pull out the raw regexes easier (#477) | Tim Hatch | 2010-12-21 | 1 | -38/+56 |
| | |||||
* | - Added the ``ensurenl`` lexer option, which can be used to suppress the | Georg Brandl | 2010-02-18 | 1 | -2/+13 |
| | | | | | | | | automatic addition of a newline to the lexer input. - Fixed a bug in `do_insertions()` used for multi-lexer languages. - Added tests for standard lexer whitespace options. | ||||
* | Remove compatibility "sets" imports. | Georg Brandl | 2010-02-18 | 1 | -5/+0 |
| | |||||
* | Remove undefined name from __all__. | Georg Brandl | 2010-02-18 | 1 | -1/+1 |
| | |||||
* | Happy new year! | Georg Brandl | 2010-01-01 | 1 | -1/+1 |
| |