summaryrefslogtreecommitdiff
path: root/pygments
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * | | | | | | | Ensure that number literals with base syntax use a single tokenGaurav Jain2014-04-201-0/+1
| | | | | | | | | | |
| | | * | | | | | | | Reorder regex matches to ensure number match is before textGaurav Jain2014-04-201-1/+1
| | | | | | | | | | |
| | | * | | | | | | | Add handling of arthmetic base syntax for math expressionsGaurav Jain2014-04-201-0/+1
| | | |/ / / / / / /
| | * | | | | | | | Merged in jaingaurav2/pygments-main-958 (pull request #329)Georg Brandl2014-04-221-3/+3
| | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for kind paramter for integer and real types
| | | * | | | | | | | Add support for kind paramter for integer and real typesGaurav Jain2014-04-171-3/+3
| | | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integers and reals can have an optional kind parameter specified with an underscore. This could have the format of any variable name. Additionally added example file to demonstrate usage.
| | * | | | | | | | Merged in jaingaurav2/pygments-main-974 (pull request #328)Georg Brandl2014-04-224-16/+23
| | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed LiveScript backslash strings to terminate on whitespace
| | | * \ \ \ \ \ \ \ Merged in jaingaurav2/pygments-main-cmake (pull request #327)Georg Brandl2014-04-223-16/+17
| | | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add analyse_text method to CMake lexer
| | | | * \ \ \ \ \ \ \ Merged in jaingaurav2/pygments-main-975 (pull request #331)Georg Brandl2014-04-222-15/+16
| | | | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move order of comment match after operator match
| | | | | * \ \ \ \ \ \ \ Merged in dietmarw/pygments-main (pull request #324)Georg Brandl2014-04-221-7/+8
| | | | | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Corrects class name detection and adds missing function names.
| | | | | | * | | | | | | | Add "for" on the exclude list for highlighting class names.Dietmar Winkler2014-04-211-2/+3
| | | | | | | | | | | | | |
| | | | | | * | | | | | | | Adds missing function names to "functions" group.Dietmar Winkler2014-04-161-3/+5
| | | | | | | | | | | | | |
| | | | | | * | | | | | | | Correcting the class name detection.Dietmar Winkler2014-04-161-2/+0
| | | | | | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These lines were detecting false positives. Removing for now.
| | | | | * | | | | | | | Change the Factor lexer to use non-capturing groups where appropriate.John Benediktsson2014-04-211-8/+8
| | | | | | | | | | | | |
| | | | | * | | | | | | | Fix highlighting of single-character CHAR: in the Factor lexer.John Benediktsson2014-04-211-1/+1
| | | | | |/ / / / / / /
| | | | * | | | | | | | Restore order of comment regex. Instead copy better expression from root state.Gaurav Jain2014-04-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous commit does not handle all situations. Instead the comment regex needs to be copied from the root state. Added additional test lines in the example file for testing.
| | | | * | | | | | | | Move order of comment match after operator matchGaurav Jain2014-04-191-2/+2
| | | | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since -- can be used in an operator, match operators before comments. The exmaple file has been updated to add such an operator. Also the package-qualified import has been made more generic.
| | | * | | | | | | | Minor style fix to remove space around "=" for kwargsGaurav Jain2014-04-181-1/+1
| | | | | | | | | | |
| | | * | | | | | | | Add analyse_text method to CMake lexerGaurav Jain2014-04-161-0/+6
| | | |/ / / / / / /
| | * | | | | | | | Fixed LiveScript backslash strings to terminate on whitespaceGaurav Jain2014-04-171-1/+1
| | |/ / / / / / /
| * | | | | | | | If encoding fails use ? as ANSI fallback characterGaurav Jain2014-04-151-3/+3
| |/ / / / / / /
* | | | | | | | Tweaking clojure keyword lexingTim Gilbert2014-04-161-1/+1
|/ / / / / / /
* | | | | | | Many minor style fixes (trailing whitespace, tabs, etc.)Georg Brandl2014-04-159-76/+74
| | | | | | |
* | | | | | | Use importable module names for the Paraiso styles.Georg Brandl2014-04-153-14/+26
| | | | | | |
* | | | | | | Merged in jaingaurav2/pygments-main (pull request #307)Tim Hatch2014-04-141-0/+13
|\ \ \ \ \ \ \
| * | | | | | | Added support for iVar block parsingGaurav Jain2014-03-231-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ass seen with Issue #933, the lexer fails to identify methods as after parsing the @implementation keyword as it is still in the 'statement' state and methods are only parsed in the 'root' state. The block after the class name needs to have a seperate state similar to the 'function' state so that we return to the 'root' state after exiting the block.
* | | | | | | | Merged in jaingaurav2/pygments-main (pull request #314)Tim Hatch2014-04-1421-233/+1970
|\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merged in ssproessig/pygments-main (pull request #266)Tim Hatch2014-04-1485-1255/+5629
| |\ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ Merged in jlafon/pygments-main-redo-247 (pull request #318)Tim Hatch2014-04-141-9/+16
| | |\ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ Merge branch 'master' of ↵Jharrod LaFon2014-04-141-9/+16
| | | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gitifyhg::ssh://hg@bitbucket.org/jlafon/pygments-main-redo-247 * 'master' of gitifyhg::ssh://hg@bitbucket.org/jlafon/pygments-main-redo-247: Wire up paraiso styles Added Para?so styles fixed autopygmentize to work with nonencoded files, passed options, and .zshrc. Added Handlebars lexer
| | | | * | | | | | | | Correctly recognize PHP identifiers with Unicode charactersJharrod LaFon2014-04-141-13/+16
| | | | | | | | | | | |
| | | | * | | | | | | | Correctly match valid identifiers in PHP that include unicode charactersJharrod LaFon2014-04-1483-1247/+5295
| | | | |\ \ \ \ \ \ \ \
| | | | * | | | | | | | | Improved the regex matching the PHP identifiersChristophe Coevoet2013-10-181-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refs #917
| | * | | | | | | | | | | Merged in kwadrat/pygments-main (pull request #319)Tim Hatch2014-04-142-1/+28
| | |\ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: pygments/lexers/other.py
| | | * | | | | | | | | | Fixed #161Piotr Kasprzyk2014-04-152-1/+26
| | |/ / / / / / / / / /
| | * | | | | | | | | | Merged in tboyt/pygments-main (pull request #186)Tim Hatch2014-04-142-2/+66
| | |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: pygments/lexers/_mapping.py pygments/lexers/templates.py
| | | * | | | | | | | | | Added Handlebars lexerThomas Boyt2013-04-092-1/+65
| | | | | | | | | | | | |
| | * | | | | | | | | | | Wire up paraiso stylesTim Hatch2014-04-141-0/+2
| | | | | | | | | | | | |
| | * | | | | | | | | | | Merged in idleberg/pygments-main (pull request #228)Tim Hatch2014-04-142-0/+238
| | |\ \ \ \ \ \ \ \ \ \ \ | | | |_|_|/ / / / / / / / | | |/| | | | | | | | | |
| | | * | | | | | | | | | Added Para?so stylesJan T. Sott2013-08-152-0/+238
| | | | |_|_|_|_|/ / / / | | | |/| | | | | | | |
| | * | | | | | | | | | Merged in jstvz/pygments-main (pull request #288)Tim Hatch2014-04-141-6/+267
| | |\ \ \ \ \ \ \ \ \ \
| | | * | | | | | | | | | SLexer: Escape periods in built-in functions.James Estevez2014-03-041-193/+193
| | | | | | | | | | | | |
| | | * | | | | | | | | | SLexer: Remove months from list of keyword constantsJames Estevez2014-03-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit removes `months\.(abb|name)?` from the list of constants as its already included with other built-ins.
| | | * | | | | | | | | | Issue #412: Add built-in functions to SLexerJames Estevez2014-02-161-8/+269
| | | | |_|_|_|_|_|_|/ / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The R lexer does not recognize: - any built-in functions, - any data structures, - all built-in constants, - exponents on floating points with decimals, but no mantissa This update to `math.py` adds a list of only those functions contained within `package:base`, output from R with via the `builtins(TRUE)` function. Keywords for Keyword.Constant, Keyword.Namespace, and Keyword.Type were manually subsetted from the resulting list. This is the approach used by the Mathematica and Numpy lexers. The update to `test.R` adds a sample of the builtin functions, data structures, and namespace functions, along with an example of a floating point with a decimal, but no fractional part.
| | * | | | | | | | | | Fixes for SPARQL lexerTim Hatch2014-04-142-11/+23
| | | | | | | | | | | |
| | * | | | | | | | | | Merged in alexsdutton/pygments-main (pull request #78)Tim Hatch2014-04-1482-2468/+20156
| | |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: AUTHORS pygments/lexers/_mapping.py
| | | * \ \ \ \ \ \ \ \ \ Merged in jlafon/pygments-main-redo-pr-251 (pull request #317)Tim Hatch2014-04-146-190/+652
| | | |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: pygments/lexers/jvm.py
| | | | * \ \ \ \ \ \ \ \ \ Merged in ziggix/pygments-main (pull request #211)Tim Hatch2014-04-1482-1256/+4840
| | | | |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: pygments/lexers/_mapping.py pygments/lexers/other.py
| | | | | * | | | | | | | | | Minor changes to limbo lexerTim Hatch2014-04-142-4/+4
| | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | Merged in userdima/pygments-main (pull request #291)Tim Hatch2014-04-141-0/+100
| | | | | |\ \ \ \ \ \ \ \ \ \
| | | | | | * | | | | | | | | | Added lexer for Inferno's limbo programming languageZubr Kabbi2014-03-031-0/+100
| | | | | | |/ / / / / / / / /