summaryrefslogtreecommitdiff
path: root/pygments
Commit message (Collapse)AuthorAgeFilesLines
* Bump version to 1.5.Georg Brandl2012-03-101-1/+1
|
* Move Kotlin to JVM lexers, add changelog and authors entry.Georg Brandl2012-03-103-140/+121
|
* Merged in jstrachan/pygments-main (pull request #58)Georg Brandl2012-03-102-0/+139
|\
| * add support for Kotlin programming languageJames Strachan2012-03-052-0/+139
| |
* | Fixes #746: OCaml allows (*) as an operator, not comment start.Georg Brandl2012-03-101-1/+1
| |
* | Add changelog entry and author for Tea lexer.Georg Brandl2012-03-101-0/+1
| |
* | Style fixes, remove unneeded import.Georg Brandl2012-03-103-12/+16
| |
* | Merged in jaxzin/pygments-main (pull request #56)Georg Brandl2012-03-104-3/+95
|\ \
| * | Added support for Tea. http://teatrove.orgBrian R. Jackson2012-02-254-3/+95
| | |
* | | Merged in jpolley_atlassian/pygments-main (pull request #55)Georg Brandl2012-03-101-2/+2
|\ \ \
| * | | Extend the parsing of Generic.Prompt when lexing a shell session to support ↵James Polley2012-02-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the case where the shell is running inside a virtualenv In this case, prompts look like this: (virtualenv-name)user@host:~$
* | | | Update lexer mapping.Georg Brandl2012-03-101-2/+2
| | | |
* | | | Merged in rafaelmartins/pygments-main (pull request #60)Georg Brandl2012-03-1016-232/+240
|\ \ \ \
| * \ \ \ Merge with http://code.timhatch.com/hg/pygments-timGeorg Brandl2012-03-1016-229/+237
| |\ \ \ \
| | * | | | Fix some Elixir issues found with regexlintTim Hatch2012-03-091-3/+4
| | | | | |
| | * | | | Merge pygments-main with pygments-timTim Hatch2012-03-094-3/+135
| | |\ \ \ \
| | * | | | | Simplify some trivial character classesTim Hatch2012-03-091-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --- pygments/lexers/other.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
| | * | | | | Simplify character classesTim Hatch2012-03-092-16/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --- pygments/lexers/text.py | 20 +++++++++++--------- pygments/lexers/web.py | 14 +++++++------- 2 files changed, 18 insertions(+), 16 deletions(-)
| | * | | | | Support exactly one close paren in ObjectiveJ typesTim Hatch2012-03-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a bug that would eat all except one close paren, if this capture group matched multiple times. --- pygments/lexers/web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
| | * | | | | Fix infinite loop bug in DarcsPatchLexerTim Hatch2012-03-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --- pygments/lexers/text.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
| | * | | | | Simplify character classes, ordering fixesTim Hatch2012-03-095-22/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --- pygments/lexers/agile.py | 6 +++--- pygments/lexers/jvm.py | 16 ++++++++-------- pygments/lexers/math.py | 2 +- pygments/lexers/other.py | 8 ++++---- pygments/lexers/text.py | 11 +++++------ 5 files changed, 21 insertions(+), 22 deletions(-)
| | * | | | | [\w_] is the same as \w in FantomLexer; minor space fixTim Hatch2012-03-091-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --- pygments/lexers/compiled.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
| | * | | | | [\w_] is the same as \wTim Hatch2012-03-093-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --- pygments/lexers/agile.py | 12 ++++++------ pygments/lexers/other.py | 4 ++-- pygments/lexers/text.py | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-)
| | * | | | | Move verilog package/import up in match orderTim Hatch2012-03-091-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lines that have leading whitespace should now match correctly. --- pygments/lexers/hdl.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)
| | * | | | | Remove trailing whitespace from DTD lexerTim Hatch2012-03-091-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --- pygments/lexers/web.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
| | * | | | | Fix a couple of empty matchesTim Hatch2012-03-092-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --- pygments/lexers/math.py | 2 +- pygments/lexers/web.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
| | * | | | | Minor lint fixesTim Hatch2012-03-093-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --- pygments/lexers/other.py | 12 ++++++------ pygments/lexers/shell.py | 6 +++--- pygments/lexers/sql.py | 8 ++++---- 3 files changed, 13 insertions(+), 13 deletions(-)
| | * | | | | Fix an ordering issue in CoqLexerTim Hatch2012-03-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --- pygments/lexers/functional.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
| | * | | | | Fix broken unicode constants in XQueryLexerTim Hatch2012-03-091-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --- pygments/lexers/web.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
| | * | | | | Fix a '\b' into r'\b' to match word boundaryTim Hatch2012-03-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --- pygments/lexers/templates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
| | * | | | | Remove duplicates from character classesTim Hatch2012-03-094-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --- pygments/lexers/compiled.py | 2 +- pygments/lexers/functional.py | 2 +- pygments/lexers/other.py | 4 ++-- pygments/lexers/web.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-)
| | * | | | | Fix a bunch of minor issues noticed by regexlintTim Hatch2012-03-098-32/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --- pygments/lexers/agile.py | 8 ++++---- pygments/lexers/dotnet.py | 8 ++++---- pygments/lexers/functional.py | 5 ++++- pygments/lexers/hdl.py | 5 +++-- pygments/lexers/other.py | 2 +- pygments/lexers/templates.py | 31 ++++++++++++++++--------------- pygments/lexers/text.py | 4 ++-- pygments/lexers/web.py | 6 +++--- 8 files changed, 37 insertions(+), 32 deletions(-)
| | * | | | | Fix a data loss bug in mupad lexerTim Hatch2012-03-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --- pygments/lexers/math.py | 4 ++-- tests/examplefiles/function.mu | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 tests/examplefiles/function.mu
| | * | | | | Fix a data loss bug in antlr lexerTim Hatch2012-03-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --- pygments/lexers/parsers.py | 2 +- tests/examplefiles/antlr_throws | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 tests/examplefiles/antlr_throws
| | * | | | | Merge pygments-main with pygments-timTim Hatch2012-02-2710-93/+96
| | |\ \ \ \ \ | | | |_|_|/ / | | |/| | | |
| | | * | | | Merge pygments-main with pygments-timTim Hatch2012-01-0310-95/+98
| | | |\ \ \ \
| | | | * | | | Bulk changes to improve many lexers inner workingsTim Hatch2011-03-1910-95/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on a suspicion that most examplefiles only exercise a small part of the lexers, I've written some code to find suspicious parts of regular expressions, then gone back over those to fix them. Most of these affect whether the regex does what it looks like it does, but none of them should appreciably change the function of the lexer. * a few cases which used capturing groups + bygroups incorrectly (most were harmless, but I think one could have generated a traceback in its previous state) * a few cases which could match empty string, without a callback (this is highly discouraged, because if an op doesn't consume any characters, it might be possible to enter an empty loop). I'll revisit individually the cases where a callback or state push is used. * many cases with embedded newlines in non-verbose regexes * many, many cases with reversed (else|elseif) style alternations
| * | | | | | | Patch from Dietmar Winkler: Adds `semiLinear` and `homotopy` to the list of ↵Georg Brandl2012-03-071-3/+3
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | functions | and operators respectively.
* | | | | | | Added more vim and bash configuration file names.Rafael G. Martins2012-03-102-2/+3
| |_|_|_|/ / |/| | | | |
* | | | | | Fix Elixir lexerCarlos Galdino2012-03-061-1/+1
|/ / / / / | | | | | | | | | | | | | | | When negating expressions the exclamation mark is treated as Name token.
* | | | | Scilab: fix string expr and "$" builtin.Georg Brandl2012-02-292-2/+4
| | | | |
* | | | | Add changelog entry and fix test suite to cope with Elixir console lexer.Georg Brandl2012-02-291-7/+15
| | | | |
* | | | | Add Elixir and Elixir Console lexerCarlos Galdino2012-02-292-1/+123
|/ / / /
* | | | Scilab: move builtins to separate file and small fixes.Georg Brandl2012-02-183-40/+36
| | | |
* | | | Add the support of the Scilab languagesylvestre2012-02-182-1/+96
| | | |
* | | | Closes #739: replace generator-send with custom class to work under 2.4.Georg Brandl2012-02-181-7/+16
| |_|/ |/| |
* | | mergeGeorg Brandl2012-02-122-2/+4
|\ \ \
| * | | Closes #737: CSharpASP: remove unconditional 0.001 from analyse_textGeorg Brandl2012-02-121-1/+3
| | | |
| * | | Closes #738: allow backticked strings in nasm.Georg Brandl2012-02-121-1/+1
| | | |
* | | | Improved Clojure highlighting.Anthony Grimes2012-02-101-11/+25
|/ / /