summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Copyright update.Georg Brandl2017-01-22238-240/+240
|
* modeline: work for the first N lines and add a test to keep it that wayGeorg Brandl2017-01-222-4/+31
|
* minor style fixupGeorg Brandl2017-01-221-13/+17
|
* Add support for partials and path segments for Handlebars.Christian Hammond2016-11-042-3/+52
| | | | | | | | | | | | | | | | | | | 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.
* Merged in singingwolfboy/pygments-main/regex-flags (pull request #687)Georg Brandl2017-01-181-3/+4
|\ | | | | | | Pull flags out of regular expressions
| * Pull flags out of regular expressionsDavid Baumgold2016-12-291-3/+4
| |
* | Merged in takluyver/pygments-main/delay-pkg-resources (pull request #690)Georg Brandl2017-01-1711-24/+36
|\ \ | | | | | | | | | Delay loading pkg_resources until it is needed.
| * \ Merged in jayvdb/pygments-main (pull request #665)Georg Brandl2017-01-178-17/+29
| |\ \ | | | | | | | | | | | | Provide explanation when a test is skipped
| | * \ Merged in daisuzu/pygments-main (pull request #644)Georg Brandl2017-01-178-18/+30
| | |\ \ | | | | | | | | | | | | | | | Add map support to ProtoBufLexer
| | | * \ Merged in ashsearle/pygments-main (pull request #659)Georg Brandl2017-01-171-8/+8
| | | |\ \ | | | | | | | | | | | | | | | | | | JavaScript/ES2015 fixes
| | | | * | Fix for floats with leading/trailing ., reclassify es2015 arrow notation as ↵Ash Searle2016-09-011-8/+8
| | | | |/ | | | | | | | | | | | | | | | punctuation and add new es2015 regex flags (sticky and unicode)
| | | * | Update mapfiles.Georg Brandl2017-01-171-1/+1
| | | | |
| | | * | Gas lexer: whitespace already includes comments.Georg Brandl2017-01-171-3/+1
| | | | |
| | | * | Merged in smvv/pygments-main (pull request #682)Georg Brandl2017-01-174-3/+17
| | | |\ \ | | | | | | | | | | | | | | | | | | Support semicolon comments besides hash comments
| | | | * \ Merged in vakaras/pygments-main (pull request #679)Georg Brandl2017-01-173-1/+15
| | | | |\ \ | | | | | | | | | | | | | | | | | | | | | Small changes for the Silver verification language
| | | | | * \ Merged in tehunger/pygments-main (pull request #685)Georg Brandl2017-01-172-1/+14
| | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Two Haskell fixes
| | | | | | * | Support GHC DataKinds extension. Closes #820.Tom Hunger2016-12-192-0/+8
| | | | | | | |
| | | | | | * | Add `family` as a keyword to support Haskell's type families. See #820.Tom Hunger2016-12-192-1/+6
| | | | | | |/
| | | | | * | Merged in takluyver/pygments-main/py3-float-e (pull request #618)Georg Brandl2017-01-171-2/+2
| | | | | |\ \ | | | | | | |/ | | | | | | | | | | | | | | Add '1e6' as float token for Python3Lexer
| | | | | * | Add '1e6' as float token for Python3LexerThomas Kluyver2016-07-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The parent class (PythonLexer) has this, but it's missing from the subclass. 1e6 is a valid float token in Python 3 as well.
| | | | * | | Added new default file name for the Silver language.Vytautas Astrauskas2016-11-151-1/+1
| | | | | | |
| | | | * | | Added missing forperm keyword for the Silver verification language.Vytautas Astrauskas2016-11-151-1/+1
| | | | | |/ | | | | |/|
| | | * | | Support gas semicolon comments besides hash commentsSander Mathijs van Veen2016-12-041-3/+3
| | | |/ /
| | * | | Add map support to ProtoBufLexerdaisuzu2016-07-301-1/+1
| | | |/ | | |/|
| * | | Provide explanation when a test is skippedJohn Vandenberg2016-09-203-7/+7
| | |/ | |/| | | | | | | | | | | | | | | | SkipTest messages are shown when running the test suite with verbosity, such as `nosetests -v`. They help the user see how to fix the problem, in order to achieve higher coverage when running the test suite.
* | | Delay loading pkg_resources until it is needed.Thomas Kluyver2017-01-131-17/+11
|/ / | | | | | | Improves startup performance of applications loading pygments.
* | Merged in josiahschwab/pygments-main/fortran-exponent-letter (pull request #656)Georg Brandl2016-08-191-2/+2
|\ \ | |/ |/| | | Fortran exponent letter
| * Add exponent-letter D to Fortran lexerJosiah Schwab2016-08-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the Fortran specification, the exponent-letter within a signed-real-literal-constant is E or D. Therefore, both 3.14159e0 and 3.14159d0 should be classified as a Number.Float. The current behavior is >>> print(highlight("3.14159d0", FortranLexer(), HtmlFormatter())) <div class="highlight"><pre><span></span><span class="mf">3.14159</span><span class="n">d0</span> </pre></div> where the only the significand is classified as a Number.Float while the exponent-letter and exponent are classified as Name.Variable. After this patch the behavior is >>> print(highlight("3.14159d0", FortranLexer(), HtmlFormatter())) <div class="highlight"><pre><span></span><span class="mf">3.14159d0</span> </pre></div> which is the expected behavior.
| * Created new branch fortran-exponent-letterJosiah Schwab2016-08-190-0/+0
|/
* Merged in kneufeld/pygments-main (pull request #605)Georg Brandl2016-06-162-1/+5
|\ | | | | | | text files should parse properly
| * TextLexer has no priority and comes late in alphabet so thereforeKurt Neufeld2016-06-031-0/+3
| | | | | | | | it will never be selected as default for *.txt files
| * ResourceLexer.analyse_text must return float or NoneKurt Neufeld2016-06-031-1/+2
| |
* | Only += is an operatorCamil Staps2016-06-161-3/+1
| |
* | Fixes #1246Camil Staps2016-06-161-0/+2
| |
* | Re-add more comment forms in Properties lexer to unbreak testsTim Hatch2016-06-031-0/+2
| |
* | Merged in pull request #595 (cmrx64/pygments-main)Tim Hatch2016-06-0386-1008/+12645
|\ \
| * \ Merged in camilstaps/pygments-main (pull request #598)Tim Hatch2016-06-031-10/+23
| |\ \ | | | | | | | | | | | | Clean lexer fixes: hierarchical module names; quantified inputs; generics
| | * | Clean lexer fixes: hierarchical module names; quantified inputs; genericsCamil Staps2016-05-311-10/+23
| | | |
| * | | Merged in jesquik/pygments-main-1243 (pull request #604)Tim Hatch2016-06-0325-886/+2174
| |\ \ \ | | | | | | | | | | | | | | | Fixes Issue #1243
| | * \ \ Merged in kneufeld/pygments-main (pull request #602)Tim Hatch2016-06-0321-885/+2010
| | |\ \ \ | | | |_|/ | | |/| | | | | | | Default
| | | * | Fix some unicode-related tests on Python 2.Tim Hatch2016-06-036-818/+820
| | | | | | | | | | | | | | | | | | | | Regexopt does the wrong then when given a mix of string types (as happens in Python 2).
| | | * | Merged in pull request #594 (bicycle1885/pygments-main)Tim Hatch2016-06-021-90/+206
| | | |\ \
| | | | * | fix JuliaLexer and JuliaConsoleLexerKenta Sato2016-05-121-90/+206
| | | | | |
| | | * | | Merge with -mainTim Hatch2016-06-023-2/+175
| | | |\ \ \
| | | | * \ \ Merged in domspad/pygments-main2 (pull request #603)Tim Hatch2016-06-021-1/+64
| | | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | test for unicode chars in julia
| | | | | * | | typodomspad2016-06-021-2/+2
| | | | | | | |
| | | | | * | | added test for python3 at operatordomspad2016-06-021-1/+64
| | | | | | | |
| | | | * | | | python typosdomspad2016-06-021-2/+2
| | | | | | | |
| | | | * | | | test for unicode chars in julia`domspad2016-06-021-0/+60
| | | | |/ / /
| | | | * | | Merged in jesquik/pygments-main (pull request #600)Tim Hatch2016-06-022-2/+52
| | | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Added Python cls builtin word token recognition