Subject: CVS commit: pkgsrc/textproc/py-pygments
From: Thomas Klausner
Date: 2014-11-19 13:57:55
Message id: 20141119125755.78AD298@cvs.netbsd.org

Log Message:
Update to 2.0:

Version 2.0
-----------
(released Nov 9, 2014)

- Default lexer encoding is now "guess", i.e. UTF-8 / Locale / Latin1 is
  tried in that order.

- Major update to Swift lexer (pull request #410).

- Multiple fixes to lexer guessing in conflicting cases:

  * recognize HTML5 by doctype
  * recognize XML by XML declaration
  * don't recognize C/C++ as SystemVerilog

- Simplified regexes and builtin lists.

Version 2.0rc1
--------------
(released Oct 16, 2014)

- Dropped Python 2.4 and 2.5 compatibility.  This is in favor of single-source
  compatibility between Python 2.6, 2.7 and 3.3+.

- New website and documentation based on Sphinx (finally!)

- Lexers added:

  * APL (#969)
  * Agda and Literate Agda (pull request #203)
  * Alloy (pull request #355)
  * AmbientTalk
  * BlitzBasic (pull request #197)
  * ChaiScript (pull request #24)
  * Chapel (pull request #256)
  * Cirru (pull request #275)
  * Clay (pull request #184)
  * ColdFusion CFC (pull request #283)
  * Cryptol and Literate Cryptol (pull request #344)
  * Cypher (pull request #257)
  * Docker config files
  * EBNF (pull request #193)
  * Eiffel (pull request #273)
  * GAP (pull request #311)
  * Golo (pull request #309)
  * Handlebars (pull request #186)
  * Hy (pull request #238)
  * Idris and Literate Idris (pull request #210)
  * Igor Pro (pull request #172)
  * Inform 6/7 (pull request #281)
  * Intel objdump (pull request #279)
  * Isabelle (pull request #386)
  * Jasmin (pull request #349)
  * JSON-LD (pull request #289)
  * Kal (pull request #233)
  * Lean (pull request #399)
  * LSL (pull request #296)
  * Limbo (pull request #291)
  * Liquid (#977)
  * MQL (pull request #285)
  * MaskJS (pull request #280)
  * Mozilla preprocessors
  * Mathematica (pull request #245)
  * NesC (pull request #166)
  * Nit (pull request #375)
  * Nix (pull request #267)
  * Pan
  * Pawn (pull request #211)
  * Perl 6 (pull request #181)
  * Pig (pull request #304)
  * Pike (pull request #237)
  * QBasic (pull request #182)
  * Red (pull request #341)
  * ResourceBundle (#1038)
  * Rexx (pull request #199)
  * Rql (pull request #251)
  * Rsl
  * SPARQL (pull request #78)
  * Slim (pull request #366)
  * Swift (pull request #371)
  * Swig (pull request #168)
  * TADS 3 (pull request #407)
  * Todo.txt todo lists
  * Twig (pull request #404)

- Added a helper to "optimize" regular expressions that match one of many
  literal words; this can save 20% and more lexing time with lexers that
  highlight many keywords or builtins.

- New styles: "xcode" and "igor", similar to the default \ 
highlighting of
  the respective IDEs.

- The command-line "pygmentize" tool now tries a little harder to find the
  correct encoding for files and the terminal (#979).

- Added "inencoding" option for lexers to override \ 
"encoding" analogous
  to "outencoding" (#800).

- Added line-by-line "streaming" mode for pygmentize with the \ 
"-s" option.
  (pull request #165)  Only fully works for lexers that have no constructs spanning
  lines!

- Added an "envname" option to the LaTeX formatter to select a replacement
  verbatim environment (pull request #235).

- Updated the Makefile lexer to yield a little more useful highlighting.

- Lexer aliases passed to ``get_lexer_by_name()`` are now case-insensitive.

- File name matching in lexers and formatters will now use a regex cache
  for speed (pull request #205).

- Pygments will now recognize "vim" modelines when guessing the lexer for
  a file based on content (pull request #118).

- Major restructure of the ``pygments.lexers`` module namespace.  There are now
  many more modules with less lexers per module.  Old modules are still around
  and re-export the lexers they previously contained.

- The NameHighlightFilter now works with any Name.* token type (#790).

- Python 3 lexer: add new exceptions from PEP 3151.

- Opa lexer: add new keywords (pull request #170).

- Julia lexer: add keywords and underscore-separated number
  literals (pull request #176).

- Lasso lexer: fix method highlighting, update builtins. Fix
  guessing so that plain XML isn't always taken as Lasso (pull request #163).

- Objective C/C++ lexers: allow "@" prefixing any expression (#871).

- Ruby lexer: fix lexing of Name::Space tokens (#860) and of symbols
  in hashes (#873).

- Stan lexer: update for version 2.4.0 of the language (pull request #162, \ 
PR#255, PR#377).

- JavaScript lexer: add the "yield" keyword (pull request #196).

- HTTP lexer: support for PATCH method (pull request #190).

- Koka lexer: update to newest language spec (pull request #201).

- Haxe lexer: rewrite and support for Haxe 3 (pull request #174).

- Prolog lexer: add different kinds of numeric literals (#864).

- F# lexer: rewrite with newest spec for F# 3.0 (#842), fix a bug with
  dotted chains (#948).

- Kotlin lexer: general update (pull request #271).

- Rebol lexer: fix comment detection and analyse_text (pull request #261).

- LLVM lexer: update keywords to v3.4 (pull request #258).

- PHP lexer: add new keywords and binary literals (pull request #222).

- external/markdown-processor.py updated to newest python-markdown (pull request \ 
#221).

- CSS lexer: some highlighting order fixes (pull request #231).

- Ceylon lexer: fix parsing of nested multiline comments (#915).

- C family lexers: fix parsing of indented preprocessor directives (#944).

- Rust lexer: update to 0.9 language version (pull request #270, PR#388).

- Elixir lexer: update to 0.15 language version (pull request #392).

- Fix swallowing incomplete tracebacks in Python console lexer (#874).

Files:
RevisionActionfile
1.15modifypkgsrc/textproc/py-pygments/Makefile
1.10modifypkgsrc/textproc/py-pygments/PLIST
1.9modifypkgsrc/textproc/py-pygments/distinfo