The NetBSD Project

CVS log for pkgsrc/textproc/py-pygments/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / textproc / py-pygments

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.51 / (download) - annotate - [select for diffs], Wed Nov 22 10:07:37 2023 UTC (4 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, HEAD
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored) to selected 1.10 (colored)

py-pygments: updated to 2.17.2

Version 2.17.2
* Fix a packaging issue on macOS

Revision 1.50 / (download) - annotate - [select for diffs], Sun Nov 19 16:17:50 2023 UTC (4 months, 1 week ago) by wiz
Branch: MAIN
Changes since 1.49: +5 -11 lines
Diff to previous 1.49 (colored) to selected 1.10 (colored)

py-pygments: update to 2.17.1.

Version 2.17.1
--------------
(released November 19, 2023)

- Updated lexers:

  * TOML: Fix bug making lexing of single-quoted strings too eager

Version 2.17.0
--------------
(released November 18, 2023)

- New lexers:

  * JSX (#2524, #709)
  * Kusto (#2552)
  * ldaprc (#2532)
  * LDIF (#2489)
  * PRQL (#2507, #2523, #2559)
  * Visual Prolog and Visual Prolog Grammar (#2480)
  * Vyper (#2531, #2579)

- Updated lexers:

  * Cypher: fix comment matching, add missing keywords (#2504)
  * Fortran: add ``elseif`` keyword (#2528)
  * Lean: make it available as ``lean3``, in preparation for
    a possible switch to ``lean`` highlighting as Lean 4 (#2546)
  * JSON: add MIME types and file extensions for several line-delimited
    JSON formats (#2490)
  * Nix: many improvements (#2551, #1800)
  * OCaml: Add ``and`` keyword, remove ``value`` from keywords (#2521)
  * Python: add ``starlark`` and ``bazel`` aliases (#2517, #2516)
  * Snowball: Treat ``len`` like ``size`` (#2508)
  * Spice: add ``panic`` keyword and ``->`` operator (#2510)
  * squid.conf: fix catastrophic backtracking (#2583)
  * TOML: rewritten, with many fixes (#2576)
  * Turtle: support blank nodes (#2581)
  * Wikitext: fix erroneous highlighting of LanguageConverter markup
    (#2493), add missing variant languages (#2494)
  * CMake: support ``[=[ bracketed arguments ]=]``` (#2549)

- Fix ctags support and tests (#2487)
- Include ``Lexer.add_filter`` in the documentation (#2519)
- Add a ``Lean3Lexer`` alias (#2546)
- The ``pygments.styles`` module contains a new ``STYLES`` variable
  with a dictionary of built-in styles.  The old ``STYLE_MAP`` variable,
  which uses a different format, is kept for backwards compatibility.
- On Windows, add a new installation extra (``windows-terminal``) which pulls in
  dependencies for colored console output. See :doc:`cmdline` for more details.
  (#2505)
- Support more file types in ``autopygmentize`` script (#2513)
- Change color of numbers in ``rrt`` style (#2526)
- Fix error when trying to look up plugin formatters by file extension
  of the output format (#2563)
- Use Hatchling as a build backend instead of setuptools.
  This change is transparent to most users. Distribution packagers
  who build without build isolation need to add hatchling as a build
  dependency and remove setuptools. People downloading source distributions
  and wheels from PyPI directly should note that they now have ``pygments``
  in their file names instead of ``Pygments``. (#2573)
- Improve the test framework to also check for lost tokens when processing the
  snippets and example files (#2582.)
- Improve the *Dracula* style definition to make it easier to maintain (#2575)

Revision 1.49 / (download) - annotate - [select for diffs], Sat Oct 28 19:57:19 2023 UTC (5 months ago) by wiz
Branch: MAIN
Changes since 1.48: +3 -1 lines
Diff to previous 1.48 (colored) to selected 1.10 (colored)

python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.

Revision 1.48 / (download) - annotate - [select for diffs], Sun Aug 6 20:23:35 2023 UTC (7 months, 3 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored) to selected 1.10 (colored)

py-pygments: updated to 2.16.1

Version 2.16.1
--------------

- Fix ``native`` style missing from style list

Version 2.16.0
--------------
(released August 6th, 2023)

- New lexers:

  * ASN.1
  * Blueprint
  * BQN
  * DNS zone files
  * GraphQL
  * Linux desktop files (following the specification of the
    Freedesktop group, formerly known as XDG)
  * NVIDIA PTX
  * OpenSCAD
  * systemd
  * TLS presentation language
  * Verifpal
  * YARA

- Updated lexers:

  * ASC: Add ``application/pem-certificate-chain`` mimetype
  * C/C++: Refine keyword lists
  * Carbon: Fix long processing times on invalid input, fix number
    lexing
  * Elpi: Handle quotations
  * Go: Support additional built-ins
  * HTTP: Support empty headers
    also recognize responses in ``analyse_text`` implementation
    highlight URL encoded data
  * Igor Pro: Update to Igor Pro 9
  * lean: Recognize expressions nested within attributes
  * Macaulay2: Update builtins
  * Markdown: Allow extra characters after language name
    in code blocks
  * NestedText: Update to version 3
  * scdoc: Improve language guessing implementation
  * Spice: Update to latest version
  * Transact SQL: Add Pre-sorted Group keyword
  * Uxntal: Update for current runes
  * Wikitext: Fix templates in wiki links; fix a language converter false
    positive; add bold italic markup

- Add ``Generic.EmphStrong`` token for bold italic markup
- Add Lightbulb style
- Improve contrast in Monokai style
- Add documentation how to create terminal code highlighting commands
- Add support for loading TrueType fonts to the ``ImageFormatter``

Revision 1.47 / (download) - annotate - [select for diffs], Wed Apr 19 05:04:48 2023 UTC (11 months, 1 week ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored) to selected 1.10 (colored)

py-pygments: updated to 2.15.1

Version 2.15.1
--------------
- Updated lexers:
  * Java properties: Fix catastrophic backtracking

- Fix Python console traceback lexing being too strict
  and sometimes reordering output

Revision 1.46 / (download) - annotate - [select for diffs], Mon Apr 17 06:59:57 2023 UTC (11 months, 1 week ago) by adam
Branch: MAIN
Changes since 1.45: +4 -5 lines
Diff to previous 1.45 (colored) to selected 1.10 (colored)

py-pygments: updated to 2.15.0

Version 2.15.0
--------------
- Added lexers:

  * Carbon
  * Dax
  * MediaWiki Wikitext
  * PostgreSQL Explain
  * WGSL (WebGPU Shading Language)
  * X++

- Updated lexers:

  * AMDGPU: Add support for ``scratch_`` instructions, the ``attr*.*`` argument,
    as well as the ``off`` modifier
  * APDL: Miscellaneous improvements
  * bash/tcsh:

    - Move ``break`` to keywords
    - Improve bash math expansion lexing

  * Chapel: Support attributes
  * CMake: Implement bracket style comments
  * CSS: Improve lexing of numbers inside function calls
  * diff: Support normal diff syntax, as opposed to unified diff syntax
  * GLSL, HLSL:

    - Support line continuations in preprocessor code
    - Improve preprocessor directive handling

  * LilyPond: minor update of builtins
  * PHP: support attributes
    parameters
  * Python:

    - Add missing builtins
    - Fix inconsistent lexing of ``None``

  * Rebol/Red: Don't require script headers
  * Spice: Update keywords
  * SQL+Jinja (``analyse_text`` method): Fix catastrophic backtracking
  * Terraform: Add ``hcl`` alias

- Declare support for Python 3.11 and drop support for Python 3.6
- Update ``native`` style to improve contrast
- Update `github-dark`` style to match latest Primer style
- Revert a change that made guessing lexers based on file names slower
  on Python 3.10 and older
- Fix some places where a locale-dependent encoding could unintentionally
  be used instead of UTF-8
- Fix Python traceback handling
- Groff formatter: sort color definitions for reproducibility
- Move project metadata to ``pyproject.toml``, remove ``setup.py``
  and ``setup.cfg``

- The top-level ``Makefile`` has been removed. Instead, all shortcuts
  for developing are now defined and run through tox.  The ``doc`` folder
  still contains a ``Makefile`` as an alternative to ``tox -e doc``.

Revision 1.45 / (download) - annotate - [select for diffs], Tue Jan 24 12:50:34 2023 UTC (14 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1
Changes since 1.44: +4 -9 lines
Diff to previous 1.44 (colored) to selected 1.10 (colored)

py-pygments: updated to 2.14.0

Version 2.14.0
--------------
- Added lexers:
  * Arturo
  * GAP session
  * Fift
  * func
  * Jsonnet
  * Minecraft schema
  * MIPS
  * Phix
  * Portugol
  * TL-b
  * World of Warcraft TOC format
  * Wren

- Updated lexers:
  * Abap: Update keywords
  * Alloy: Update for Alloy 6
  * C family (C, C++ and many others):
    - Fix an issue where a chunk would be wrongly recognized as a function
      definition due to braces in comments
    - Improve parantheses handling for function definitions

  * C#: Fix number and operator recognition
  * CSound: Updated builtins
  * F#: Add ``.fsx`` file extension
  * gas (GNU assembler): recognize braces as punctuation
  * HTTP: Add `CONNECT` keyword
  * Inform 6: Fix lexing of properties and doubles
  * INI: Allow comments that are not their own line
  * Java properties: Fix issue with whitespace-delimited keys, support
    comments starting with `!` and escapes, no longer support undocumented
    `;` and `//` comments
  * LilyPond: Improve heuristics, add ``\maxima`` duration
  * LLVM: Add opaque pointer type
  * Macaulay2: Update keywords
  * Minecraft-related lexers (SNB and Minecraft function) moved to
    ``pygments.lexers.minecraft``
  * Nim: General improvements
  * Nix: Fix single quotes inside indented strings
  * Objective J: Fix catastrophic backtracking
  * NASM: Add support for SSE/AVX/AVX-512 registers as well as 'rel'
    and 'abs' address operators
  * Powershell:
    - Add ``local:`` keyword
    - Allow continuations without markers

  * Solidity: Add boolean operators
  * Spice: Add ``enum`` keyword and fix a bug regarding binary,
    hexadecimal and octal number tokens
  * YAML: Accept colons in key names

- Fix `make mapfiles` when Pygments is not installed in editable mode
- Support more filetypes and compression types in `autopygmentize`
- Merge consecutive tokens in Autohotkey, Clay
- Add ``.nasm`` as a recognized file type for NASM
- Add ``*Spec.hs`` as a recognized file type for ``HSpec``
- Add ``*.pyi`` (for typing stub files) as a recognized file type for
  Python
- The HTML lexer no longer emits empty spans for whitespace
- Fix ``IRCFormatter`` inserting linenumbers incorrectly

Revision 1.44 / (download) - annotate - [select for diffs], Mon Nov 28 20:54:40 2022 UTC (15 months, 4 weeks ago) by abs
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored) to selected 1.10 (colored)

Fix _PYTHON_VERSION check to avoid error

Replace .if ${_PYTHON_VERSION} < 38 with .if ${_PYTHON_VERSION} == 37
as otherwise will fail when ${_PYTHON_VERSION} is "none".

Triggered for "make clean-depends" for a package with
PYTHON_VERSIONS_ACCEPTED=27 which depends on textproc/py-pygments

Revision 1.43 / (download) - annotate - [select for diffs], Mon Sep 5 07:38:41 2022 UTC (18 months, 3 weeks ago) by martin
Branch: MAIN
CVS Tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3
Changes since 1.42: +5 -6 lines
Diff to previous 1.42 (colored) to selected 1.10 (colored)

Revert previous - this seems to be only papering over a not yet discovered
bug somewhere else that (sometimes) makes _PYTHON_VERSION non-numerical.

Revision 1.42 / (download) - annotate - [select for diffs], Sun Sep 4 05:48:05 2022 UTC (18 months, 3 weeks ago) by martin
Branch: MAIN
Changes since 1.41: +6 -5 lines
Diff to previous 1.41 (colored) to selected 1.10 (colored)

Comment out broken comparision .if ${_PYTHON_VERSION} < 38
make[7]: "/usr/pkgsrc/textproc/py-pygments/Makefile" line 22: String comparison operator must be either == or !=

Revision 1.41 / (download) - annotate - [select for diffs], Tue Aug 16 14:01:18 2022 UTC (19 months, 1 week ago) by adam
Branch: MAIN
Changes since 1.40: +7 -2 lines
Diff to previous 1.40 (colored) to selected 1.10 (colored)

py-pygments: updated to 2.13.0

Version 2.13.0
--------------

- Added lexers:

  * COMAL-80
  * JMESPath
  * Sql+Jinja

- Updated lexers:

  * Ada: support Ada 2022
    because it disturbs lexing of aspects
  * Agda: allow straight quotes in module names
  * C family (C, C++ and many others): allow comments between
    elements of function headers, e.g. between the arguments and
    the opening brace for the body
  * C++: Resolve several cases of ``Error`` tokens
  * Coq: add some common keywords, improve recognition of ``Set``
    and qualified identifiers
  * F*: Allow C-style comments anywhere in a line
  * Fortran: fix catastrophic backtracking with backslashes in strings

  * Go: add support for generics
  * Inform: update for version 6.40
  * Isabelle: recognize cartouches
  * Java: support multiline strings aka. text blocks
  * Kotlin: add ``value`` modifier
  * LilyPond: add some missing builtins
  * Macaulay2: update builtins
  * Matlab session: fix traceback when a line continuation ellipsis
    appears in the output
  * .NET: add aliases for LibreOffice Basic, OpenOfficeBasic and
    StarOffice Basic
  * Nim: use ``Name.Builtin`` instead of ``Keyword.Type``
  * PHP: fix `\"$var\"` inside strings
  * Python: only recognize ``\N``, ``\u`` and ``\U`` escape sequences
    in string literals, but not in bytes literals where they are
    not supported
  * Tcl: support ``${name}`` variables
  * Terraform: accept leading whitespace for `<<` heredoc
    delimiters
  * Teraterm: Various improvements
  * Spice: add support for the recently added features including more
    builtin functions and bin, oct, hex number formats

- Added styles:

  * GitHub dark
  * StarOffice
  * Nord (`nord` and `nord-darker`)

- Pygments now tries to use the ``importlib.metadata`` module to
  discover plugins instead of the slower ``pkg_resources``
  particular, this largely speeds up the ``pygmentize`` script when
  the lexer is not specified.

  ``importlib.metadata`` is only available in the Python standard
  library since Python 3.8. For older versions, there exists an
  ``importlib_metadata`` backport on PyPI. For this reason, Pygments
  now defines a packaging extra ``plugins``, which adds a requirement
  on ``importlib_metadata`` if the Python version is older than
  3.8. Thus, in order to install Pygments with optimal plugin
  support even for old Python versions, you should do::

     pip install pygments[plugins]

  Pygments still falls back on ``pkg_resources`` if neither
  ``importlib.metadata`` nor ``importlib_metadata`` is found, but it
  will be slower.

- Silently ignore ``BrokenPipeError`` in the command-line interface

- The ``HtmlFormatter`` now uses the ``linespans`` attribute for
  ``anchorlinenos`` if the ``lineanchors`` attribute is unset
- The ``highlight``, ``lex`` and ``format`` functions no longer
  wrongly report "argument must be a lexer/formatter instance, not a
  class" in some cases where this is not the actual problem
- Fix warnings in doc build
- The ``codetagify`` filter now recognizes ``FIXME`` tags by default
- The ``pygmentize`` command now recognizes if the ``COLORTERM``
  environment variable is set to a value indicating that true-color
  support is available.  In that case, it uses the ``TerminalTrueColorFormatter``
  by default
- Remove redundant caches for filename patterns
- Use new non-deprecated Pillow API for text bounding box in ``ImageFormatter``

- Remove ``default_style``
- Stop treating ``DeprecationWarnings`` as errors in the unit tests

Revision 1.40 / (download) - annotate - [select for diffs], Tue Apr 26 10:53:29 2022 UTC (23 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2
Changes since 1.39: +3 -2 lines
Diff to previous 1.39 (colored) to selected 1.10 (colored)

py-pygments: updated to 2.12.0

Version 2.12.0
--------------
- Added lexers:
  * Cplint
  * Macaulay2
  * Minecraft
  * Qlik
  * ``UnixConfigLexer`` for "colon-separated" config files, like ``/etc/passwd``

- Updated lexers:
  * Agda: Update keyword list
  * C family: Fix identifiers after ``case`` statements
  * Clojure: Highlight ratios
  * Csound: Update to 6.17
  * CSS: Update the list of properties
  * Elpi:
    - Fix catastrophic backtracking
    - Fix handling of ``->``

  * Futhark: Add missing tokens
  * Gherkin: Add ``But``
  * Inform6: Update to 6.36
  * JSON: Support C comments in JSON
  * LilyPond:
    - Fix incorrect lexing of names containing a built-in
    - Fix properties containing dashes

  * PHP: Update builtin function and keyword list
  * Scheme: Various improvements
  * Spice: Update the keyword list, add new types
  * Terraform:
    - Support non-idiomatic comments
    - Fix class name lexing

- Add ``plugins`` argument to ``get_all_lexers()``.
- Bump minimal Python version to 3.6
- Fix multiple lexers marking whitespace as ``Text``
- Remove various redundant uses of ``re.UNICODE``
- Associate ``.resource`` with the Robot framework
- Associate ``.cljc`` with Clojure
- Associate ``.tpp`` with C++
- Remove traces of Python 2 from the documentation
- The ``native`` style was updated to meet the WCAG AAA contrast guidelines
- Fix various typos
- Fix ``Groff`` formatter not inheriting token styles correctly
- Various improvements to the CI
- The Ada lexer has been moved to a separate file
- When ``linenos=table`` is used, the ``<table>`` itself is now wrapped with a ``<div class="highlight">`` tag instead of placing it inside the ``<td class="code">`` cell

Revision 1.39 / (download) - annotate - [select for diffs], Fri Jan 7 12:20:37 2022 UTC (2 years, 2 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1
Changes since 1.38: +2 -3 lines
Diff to previous 1.38 (colored) to selected 1.10 (colored)

py-pygments: updated to 2.11.2

Version 2.11.2
--------------
- Updated lexers:
  * C-family: Fix incorrect handling of labels
  * Java: Fixed an issue with ``record`` keywords result in ``Error`` tokens in some cases

- Fix links to line numbers not working correctly
- Remove ``underline`` from ``Whitespace`` style in the ``Tango`` theme
- Fix ``IRC`` and ``Terminal256`` formatters not backtracking correctly for custom token types, resulting in some unstyled tokens

Version 2.11.1
--------------
- Updated lexers:
  * C-family: Handle return types with multiple tokens (e.g. ``unsigned int``)
  * JSON: Fix a regression which caused whitespace before ``:`` to result in ``Error`` tokens
  * SPICE: Various improvements

Revision 1.38 / (download) - annotate - [select for diffs], Wed Jan 5 15:41:26 2022 UTC (2 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.37: +4 -2 lines
Diff to previous 1.37 (colored) to selected 1.10 (colored)

python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Jan 4 20:55:03 2022 UTC (2 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.36: +2 -1 lines
Diff to previous 1.36 (colored) to selected 1.10 (colored)

*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS

Revision 1.36 / (download) - annotate - [select for diffs], Thu Dec 30 17:05:08 2021 UTC (2 years, 2 months ago) by adam
Branch: MAIN
Changes since 1.35: +4 -3 lines
Diff to previous 1.35 (colored) to selected 1.10 (colored)

py-pygments: updated to 2.11.0

Version 2.11.0
--------------

- Added lexers:

  * BDD
  * Elpi
  * LilyPond
  * Maxima
  * Rita
  * Savi
  * Sed
  * Sophia contracts
  * Spice
  * ``.SRCINFO``

- Updated lexers:

  * ABNF: Allow one-character rules
  * Assembly: Fix incorrect token endings
  * Bibtex: Distinguish between ``comment`` and ``commentary``
  * C family: Support unicode identifiers
  * CDDL: Fix slow lexing speed
  * Debian control: Add missing fields
  * Devicetree: Recognize hexadecimal addresses for nodes
  * GDScript: Add ``void`` data type
  * GSQL

    - Fix comment handling
    - Fix catastrophic backtracking

  * HTML, XML: Improve comment handling
  * Java: Add ``yield``
  * Makefiles
  * objdump-nasm: Improve handling of ``--no-show-raw-insn`` dumps
  * Prolog: Support escaped ``\`` inside quoted strings
  * Python:

    - Support ``~`` in tracebacks
    - Support the pattern matching keywords

  * RobotFramework: Improve empty brace handling
  * Terraform

    - Add the 'set' type
    - Support heredocs

- Added styles:

  * Dracula
  * Friendly Grayscale
  * LilyPond
  * One-Dark

.. note::

  All of the new styles unfortunately do not conform to WCAG recommendations.

- There is new infrastructure in place to improve style accessibility. The default style has been updated to conform to WCAG recommendations. All styles are now checked for sufficient contrast by default to prevent regressions.
- Clean up unused imports
- Fix multiple lexers producing repeated single-character tokens
- Fix multiple lexers marking whitespace as ``Text``
- Remove duplicated assignments in the Paraiso style
- ``pygmentize`` supports JSON output for the various list functions now, making it easier to consume them from scripts.
- Use the ``shell`` lexer for ``kshrc`` files
- Use the ``ruby`` lexer for ``Vagrantfile`` files
- Use the C lexer for ``.xbm`` and ``.xpm`` files
- Add a ``groff`` formatter
- Update documentation
- Line anchors now link to themselves
- Add official support for Python 3.10
- Fix several missing colors in dark styles: Gruvbox dark, Monokai, Rrt, Sas, Strata dark
- Associate more file types with ``man`` pages
- The ``HtmlFormatter`` can now emit tooltips for each token to ease debugging of lexers
- Add ``f90`` as an alias for ``fortran``

Revision 1.35 / (download) - annotate - [select for diffs], Wed Aug 25 07:25:59 2021 UTC (2 years, 7 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored) to selected 1.10 (colored)

py-pygments: updated to 2.10.0

Version 2.10.0

- Added lexers:

  * ASC armored files
  * GSQL
  * Javascript REPL
  * procfile
  * Smithy

- Updated lexers:

  * C-family: Fix preprocessor token issues
  * C#
  * CSound
  * Fennel
  * JavaScript
  * LLVM
  * Rust

    - Fix lexing of "break" and "continue"
    - Improve attribute handling

  * Scala: Add support for the ``\`` operator
  * Swift
  * Tcl: Allow ``,`` and ``@`` in strings

- Fix assert statements in TNT lexer.
- Token types across all lexers have been unified (using the most common token
  type name)
- Improve Jasmin min score analysis
- Add new alias for Go files
- Fix multi-line console highlighting
- Add a new trivial lexer which outputs everything as `Text.Generic.Output`
- Use the ``.ini`` lexer for ``systemd`` files
- Fix a ``FutureWarning`` related to ``words()``
- ``pwsh`` is now recognized as an alias for PowerShell

Revision 1.34 / (download) - annotate - [select for diffs], Thu May 6 07:40:56 2021 UTC (2 years, 10 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored) to selected 1.10 (colored)

py-pygments: updated to 2.9.0

Version 2.9.0
-------------

- Added lexers:
  * APDL, gcode
  * Kuin
  * NestedText
  * OMG IDL
  * TEAL
  * ThingsDB
  * WebAssembly

- Updated lexers:
  * AMDGPU
  * APL
  * C/C++: Improve namespace handling
  * Chapel
  * Coq
  * Cython
  * Groovy
  * JavaScript
  * Julia
  * Octave: Allow multiline and block-percent comments
  * PowerShell: Improve lexing of ``:``
  * PromQL
  * Python: Improve float parsing
  * Rust
  * Scala: Rewrite to support Scala3
  * Swift
  * Terraform: Support 0.14 syntax
  * Velocity: Detect multi-line patterns

- Add Pango formatter
- Autopygmentize uses ``file`` first instead of ``pygments -N``
- Fix links
- Fix issue with LaTeX formatter and ``minted``
- Improve alias order
- Improve line number colors
- Fix CTag related issue
- Recognize ``.leex`` as Elixir templates

- Updated `filename` handling in HTML formatter if `linenos='table'`

  * Previously the filename would be emitted within the `<td>` holding the
    code, but outside the `<pre>`. This would invariably break the alignment
    with line numbers.
  * Now if `filename` is specified, a separate `<tr>` is emitted before the
    table content which contains a single `<th>` with `colspan=2` so it
    spans both the line number and code columns. The filename is still
    within `<span class="filename">...</span>` so any existing styles
    should still apply, although the CSS path may need to change.
  * For an example of the new output format see
    `table_cls_step_1_start_1_special_0_noanchor_filename.html`
    in the `tests/html_linenos_expected_output/` directory.
  * For more details and discussion see the issue
    https://github.com/pygments/pygments/issues/1757

- Added styles:

  * Gruvbox light+dark

Revision 1.33 / (download) - annotate - [select for diffs], Tue Apr 6 15:27:29 2021 UTC (2 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.32: +5 -7 lines
Diff to previous 1.32 (colored) to selected 1.10 (colored)

py-pygments: updated to 2.8.1

Version 2.8.1
-------------
(released March 7, 2021)

- Fix issue with LaTeX formatter and ``minted``

Version 2.8.0
-------------
(released February 14, 2021)

- Added lexers:

  * AMDGPU
  * CDDL
  * Futhark
  * Graphviz/DOT

- Updated lexers:

  * AutoIt: Support single quoted strings
  * C/C++ & related: Fix mishandling '*/'
  * Cocoa: Add builtin types
  * Console
  * Eiffel: Fix performance issues
  * Fortran: Improve combined keyword detection
  * J: Fix operator ``?`` lexing
  * JavaScript/TypeScript: Fix escapes in backtick strings
  * Kotlin: Improve string interpolation, modifier keyword handling, and various small issues
  * LESS: Support single-line comments
  * Matlab:

    - Add support for class properties
    - Update builtin functions
    - Various cleanups

  * Python: Improve handling of raw f-strings
  * Ruby: Better method name handling
  * Stata: Updated keywords

- Added styles:

  * Material
  * Zenburn

- The `pygmentize` script now uses `argparse`, all options should work
  as before

- Add `pygmentize -C` option to guess a lexer from content

- With this release, Pygments moves to a new internal testing system
  See ``Contributing.md`` for details. The main advantage of this new change
  is a much better test coverage of all existing example lexers. It also makes
  it much easier to add new test snippets.
- Make guessing prefer Python 3 lexer
- Do not guess MIME or SQL without reason
- Changed setuptools to use a declarative config through ``setup.cfg``.
  Building Pygments now requires setuptools 39.2+.
- Add markdown to MarkdownLexer aliases
- Change line number handling

  * In ``<table>`` based output, the ``td.linenos`` element will have either a
    ``normal`` or ``special`` class attached. Previously, only ``special`` line
    numbers got a class. This prevents styles from getting applied twice -
    once via ``<pre>``, once via ``<span class="special">``. This also means
    that ``td.linenos pre`` is no longer styled, instead, use
    ``td.linenos .normal`` and ``td.linenos .special``.
  * In the "inline" style, the DOM element order was changed. The line number
    is added first, then the line is wrapped is wrapped by the highlighter.
    This fixes lines not being fully highlighted.
  * The visual output for inline and non-inline line numbers & highlighting,
    as well as class-based and inline styling is now consistent.
  * Line number styles are set to ``background-color: transparent`` and
    ``color: inherit`` by default. This works much better with dark styles
    which don't have colors set for line numbers.

- Remove "raw" alias from RawTokenLexer, so that it cannot be
  selected by alias.
- Fix RawTokenLexer to work in Python 3 and handle exceptions.
- Add prompt colors to the Solarized theme
- Image formatter supports background colors now
- Add support for anchors in conjunction with inline line numbers
- Modernize the codebase using ``pyupgrade``
- Add support for line numbers to the ``terminal256`` formatter
- Improve ``analyze_text`` logic for ``ECL``
- Improve ``analyze_text`` logic for ``CBM Basic V2``
- Improve LaTeX formatter

Version 2.7.4
-------------
(released January 12, 2021)

- Updated lexers:

  - Apache configurations: Improve handling of malformed tags
  - CSS: Add support for variables
  - Crystal
  - Coq
  - Fortran: Add missing keywords
  - Ini
  - JavaScript and variants
  - Markdown
  - Shell

    - Lex trailing whitespace as part of the prompt
    - Add missing ``in`` keyword

  - SQL - Fix keywords
  - Typescript: Fix incorrect punctuation handling

- Fix infinite loop in SML lexer
- Fix backtracking string regexes in JavaScript/TypeScript, Modula2
  and many other lexers
- Limit recursion with nesting Ruby heredocs
- Fix a few inefficient regexes for guessing lexers
- Fix the raw token lexer handling of Unicode
- Revert a private API change in the HTML formatter
  please note that private APIs remain subject to change!
- Fix several exponential/cubic-complexity regexes found by
  Ben Caller/Doyensec
- Fix incorrect MATLAB example

Thanks to Google's OSS-Fuzz project for finding many of these bugs.

Version 2.7.3
-------------
(released December 6, 2020)

- Updated lexers:

  * Ada
  * HTML
  * Java
  * JavaScript
  * JSON
  * Lean
  * LLVM
  * Mason
  * MySQL
  * Rust
  * Turtle

- Deprecated JsonBareObjectLexer, which is now identical to JsonLexer
- The ``ImgFormatter`` now calculates the exact character width, which fixes some issues with overlapping text
- Documentation fixes
- Fixed duplicated Juttle language alias
- Added support for Kotlin scripts
- Removed CSS rule which forced margin to 0


Version 2.7.2
-------------
(released October 24, 2020)

- Updated lexers:

  * Latex
  * LLVM
  * SPARQL

- Fix Python console/traceback lexer problems with custom exceptions without messages
- Allow loading ttc fonts on Mac/image formatter
- Improve ``analyze_text`` across a variety of lexers
- Remove CSS rule which forced the vertical padding to 0 for line numbers
- Fix ``TNTLexer`` crashing on unexpected EOL
- ``regexlint`` can be now run locally as part of ``tox`` tests
- Fix typos
- Add Python 3.9 as a supported version


Version 2.7.1
-------------
(released September 16, 2020)

- Fixed a regression in the JSON lexer


Version 2.7.0
-------------
(released September 12, 2020)

- Added lexers:

  * Arrow
  * BARE
  * Devicetree
  * F*
  * GDScript
  * Pointless
  * PromQL
  * PsySH
  * Singularity
  * TiddlyWiki5
  * TNT
  * YANG

- Updated lexers:

  * APL
  * C++
  * Chapel
  * CMake
  * CSound
  * Cython
  * Dart
  * Fennel
  * Fortran
  * GAS
  * HTTP
  * Inform 6
  * Javascript
  * JSON
  * Lean
  * Matlab
  * Markdown
  * MySQL
  * NASM
  * Nim
  * PostgreSQL
  * PowerShell
  * Protobuf
  * Robot
  * SQL
  * SystemVerilog
  * TeraTerm
  * XML

- Added a new filter for math symbols
- The Kconfig lexer will match Kconfig derivative names now
- Improved HTML formatter output
- ``.markdown`` is now recognized as an extension for Markdown files
- Fixed line number colors for Solarized
- Improvements to exception handling
- Improvements to tests
- Various code cleanups


Version 2.6.1
-------------
(released March 8, 2020)

- This release fixes a packaging issue. No functional changes.


Version 2.6
-----------
(released March 8, 2020)

- Running Pygments on Python 2.x is no longer supported.
  (The Python 2 lexer still exists.)

- Added lexers:

  * Linux kernel logs
  * LLVM MIR
  * MiniScript
  * Mosel
  * Parsing Expression Grammar
  * ReasonML
  * Ride
  * Sieve
  * USD
  * WebIDL

- Updated lexers:

  * Apache2
  * Chapel
  * CSound
  * D
  * Haskell
  * Idris
  * Perl6/Raku lexer
  * Python3
  * Rust: Updated lexer to cover more builtins (mostly macros) and miscellaneous
    new syntax
  * SQL: Add temporal support keywords

- The 256-color/true-color terminal formatters now support the italic attribute
  in styles
- Support HTTP 2/3 header
- Support missing reason in HTTP header
- Boogie/Silver: support line continuations and triggers, move contract keywords
  to separate category
- GAS: support C-style comments
- Fix names in S lexer
- Fix numeric literals in Ada
- Recognize ``.mjs`` files as Javascript
- Recognize ``.eex`` files as Elixir
- Fix ``re.MULTILINE`` usage
- Recognize ``pipenv`` and ``poetry`` dependency & lock files
- Improve font search on Windows
- Remove unused script block

Revision 1.32 / (download) - annotate - [select for diffs], Sun May 17 21:38:46 2020 UTC (3 years, 10 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.31: +4 -2 lines
Diff to previous 1.31 (colored) to selected 1.10 (colored)

pytest from versioned depends

Revision 1.31 / (download) - annotate - [select for diffs], Mon Mar 9 18:34:23 2020 UTC (4 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.30: +7 -7 lines
Diff to previous 1.30 (colored) to selected 1.10 (colored)

py-pygments: updated to 2.5.2

Version 2.5.2

Fix incompatibility with some setuptools versions
Fix lexing of ReST field lists
Fix lexing of Matlab keywords as field names
Recognize double-quoted strings in Matlab
Avoid slow backtracking in Vim lexer
Fix Scala highlighting of types
Highlight field lists more consistently in ReST
Fix highlighting Matlab keywords in field names
Recognize Matlab double quoted strings
Add some Terraform keywords
Update Modelica lexer to 3.4
Update Crystal examples


Version 2.5.1

This release fixes a packaging issue. No functional changes.


Version 2.5.0

Added lexers:

Email
Erlang, Elixir shells
Notmuch
Scdoc
Solidity
Zeek (new name for Bro)
Zig

Updated lexers:

Apache2 Configuration
Bash sessions
CSound
Dart
Dockerfile
Emacs Lisp
Handlebars
Java
Logtalk
Matlab
Praat
Python3
Ruby
YAML
Velocity

Added styles:

Inkpot

The PythonLexer class is now an alias for the former Python3Lexer. The old PythonLexer is available as Python2Lexer. Same change has been done for the PythonTracebackLexer. The python3 option for the PythonConsoleLexer is now true by default.
Bump NasmLexer priority over TasmLexer for .asm files
Default font in the ImageFormatter has been updated
Test suite switched to py.test, removed nose dependency
Reduce TeraTerm lexer score ãàit used to match nearly all languages
Treat Skylark/Starlark files as Python files
Image formatter: actually respect line_number_separator option
Add LICENSE file to wheel builds
Agda: fix lambda highlighting
Dart: support @ annotations
Dockerfile: accept FROM ... AS syntax
Emacs Lisp: add more string functions
GAS: accept registers in directive arguments
Java: make structural punctuation (braces, parens, colon, comma) Punctuation, not Operator
Java: support var contextual keyword
Matlab: Fix recognition of function keyword
Python: recognize .jy filenames
Python: recognize f string prefix
Ruby: support squiggly heredocs
Shell sessions: recognize Virtualenv prompt
Velocity: support silent reference syntax

Revision 1.30 / (download) - annotate - [select for diffs], Sun Jan 26 17:32:17 2020 UTC (4 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored) to selected 1.10 (colored)

all: migrate homepages from http to https

pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Aug 3 12:28:49 2019 UTC (4 years, 7 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.28: +5 -2 lines
Diff to previous 1.28 (colored) to selected 1.10 (colored)

py-pygments: updated to 2.4.2

Version 2.4.2
- Fix encoding error when guessing lexer with given ``encoding`` option


Version 2.4.1
- Updated lexers:
  * Coq
  * MSDOS Session
  * NASM
  * Objective-C
  * Prolog
  * TypeScript
- Support CSS variables in stylesheets
- Fix F# lexer name
- Fix ``TerminalFormatter`` using bold for bright text


Version 2.4.0
- Added lexers:
  * Augeas
  * BBC Basic
  * Boa
  * Charm++ CI
  * DASM16
  * FloScript
  * FreeFem++
  * Hspec
  * Pony
  * SGF
  * Slash
  * Slurm
  * Tera Term Language
  * TOML
  * Unicon
  * VBScript

- Updated lexers:
  * Apache2
  * Cypher
  * LLVM
  * Makefiles
  * PHP
  * Rust
  * SQL
  * Stan
  * Stata
  * Terraform
  * YAML

- Add solarized style
- Add support for Markdown reference-style links
- Add license information to generated HTML/CSS files
- Change ANSI color names
- Fix catastrophic backtracking in the bash lexer
- Fix documentation failing to build using Sphinx 2.0
- Fix incorrect links in the Lisp and R lexer documentation
- Fix rare unicode errors on Python 2.7
- Fix lexers popping from an empty stack
- TypoScript uses ``.typoscript`` now
- Updated Trove classifiers and ``pip`` requirements

Revision 1.28 / (download) - annotate - [select for diffs], Sun Dec 16 17:56:54 2018 UTC (5 years, 3 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4
Changes since 1.27: +7 -7 lines
Diff to previous 1.27 (colored) to selected 1.10 (colored)

py-pygments: updated to 2.3.1

Version 2.3.1

- Updated lexers:
  * ASM
  * Chapel
  * Clean
  * CSound
  * Elm
  * Fortran
  * GLSL
  * Haskell
  * Hy
  * Igor Pro
  * PowerShell
  * Python
  * SLexer
  * YAML

- Fix invalid string escape sequences
- Fix FutureWarning introduced by regex changes in Python 3.7


Version 2.3.0

- Added lexers:
  * Fennel
  * HLSL

- Updated lexers:
  * Dockerfile

- Minimum Python versions changed to 2.7 and 3.5
- Added support for Python 3.7 generator changes
- Fix incorrect token type in SCSS for single-quote strings
- Use terminal256 formatter if TERM contains 256
- Fix incorrect handling of GitHub style fences in Markdown
- Fix %a not being highlighted in Python3 strings

Revision 1.27 / (download) - annotate - [select for diffs], Sat Feb 18 13:09:11 2017 UTC (7 years, 1 month ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored) to selected 1.10 (colored)

Version 2.2.0

- Added lexers:
  * AMPL
  * TypoScript
  * Varnish config
  * Clean
  * WDiff
  * Flatline
  * Silver
  * HSAIL
  * JSGF
  * NCAR command language
  * Extempore
  * Cap'n Proto
  * Whiley
  * Monte
  * Crystal
  * Snowball
  * CapDL
  * NuSMV
  * SAS, Stata
- Added the ability to load lexer and formatter classes directly from files
  with the `-x` command line option and the `lexers.load_lexer_from_file()`
  and `formatters.load_formatter_from_file()` functions.
- Added `lexers.find_lexer_class_by_name()`.
- Added new token types and lexing for magic methods and variables in Python
  and PHP.
- Added a new token type for string affixes and lexing for them in Python, C++
  and Postgresql lexers.
- Added a new token type for heredoc (and similar) string delimiters and
  lexing for them in C++, Perl, PHP, Postgresql and Ruby lexers.
- Styles can now define colors with ANSI colors for use in the 256-color
  terminal formatter.
- Improved the CSS lexer.
- Added "Rainbow Dash" style.
- Delay loading `pkg_resources`, which takes a long while to import.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Jan 3 13:23:04 2017 UTC (7 years, 2 months ago) by jperkin
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored) to selected 1.10 (colored)

Use "${MV} || ${TRUE}" and "${RM} -f" consistently in post-install targets.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Dec 15 09:42:49 2016 UTC (7 years, 3 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4
Changes since 1.24: +2 -3 lines
Diff to previous 1.24 (colored) to selected 1.10 (colored)

Version 2.1.3
- Fixed regression in Bash lexer

Revision 1.24 / (download) - annotate - [select for diffs], Sun Aug 28 15:48:35 2016 UTC (7 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q3-base, pkgsrc-2016Q3
Changes since 1.23: +1 -3 lines
Diff to previous 1.23 (colored) to selected 1.10 (colored)

Remove unnecessary PLIST_SUBST and FILES_SUBST that are now provided
by the infrastructure.

Mark a couple more packages as not ready for python-3.x.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Jun 8 17:43:40 2016 UTC (7 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored) to selected 1.10 (colored)

Switch to MASTER_SITES_PYPI.

Revision 1.20.6.1 / (download) - annotate - [select for diffs], Tue Jan 19 19:05:21 2016 UTC (8 years, 2 months ago) by bsiegert
Branch: pkgsrc-2015Q4
Changes since 1.20: +7 -8 lines
Diff to previous 1.20 (colored) next main 1.21 (colored) to selected 1.10 (colored)

Pullup ticket #4900 - requested by wiz
textproc/py-pygments: security fix

Revisions pulled up:
- textproc/py-pygments/Makefile                                 1.21-1.22
- textproc/py-pygments/distinfo                                 1.13
- textproc/py-pygments/patches/patch-img.py                     1.1

---
   Module Name:    pkgsrc
   Committed By:   wiz
   Date:           Sun Jan 17 14:22:11 UTC 2016

   Modified Files:
           pkgsrc/textproc/py-pygments: Makefile distinfo
   Added Files:
           pkgsrc/textproc/py-pygments/patches: patch-img.py

   Log Message:
   Fix for code-injection vulnerability (CVE-2015-8557) from upstream.

   From Rin Okuyama in PR 50661.

---
   Module Name:    pkgsrc
   Committed By:   wiz
   Date:           Sun Jan 17 16:03:13 UTC 2016

   Modified Files:
           pkgsrc/textproc/py-pygments: Makefile

   Log Message:
   Comment out py-sphinx build dependency since it introduces a cycle.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Jan 17 16:03:13 2016 UTC (8 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1
Changes since 1.21: +3 -2 lines
Diff to previous 1.21 (colored) to selected 1.10 (colored)

Comment out py-sphinx build dependency since it introduces a cycle.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Jan 17 14:22:11 2016 UTC (8 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.20: +6 -8 lines
Diff to previous 1.20 (colored) to selected 1.10 (colored)

Fix for code-injection vulnerability (CVE-2015-8557) from upstream.

From Rin Okuyama in PR 50661.

Revision 1.20 / (download) - annotate - [select for diffs], Fri May 22 08:18:01 2015 UTC (8 years, 10 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2
Branch point for: pkgsrc-2015Q4
Changes since 1.19: +3 -4 lines
Diff to previous 1.19 (colored) to selected 1.10 (colored)

Changes 2.0.2:
* Fix Python tracebacks getting duplicated in the console lexer
* Backquote-delimited identifiers are now recognized in F#

Revision 1.19 / (download) - annotate - [select for diffs], Sun Mar 15 20:13:24 2015 UTC (9 years ago) by hiramatsu
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored) to selected 1.10 (colored)

Set MAINTAINER to pkgsrc-users.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Jan 23 07:07:42 2015 UTC (9 years, 2 months ago) by obache
Branch: MAIN
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 (colored) to selected 1.10 (colored)

PYVERSSUFFIX also must be in FILES_SUBST, for ALTERNATIVES.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jan 1 11:36:07 2015 UTC (9 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.16: +6 -1 lines
Diff to previous 1.16 (colored) to selected 1.10 (colored)

Rename bin/pygmentize to pygmentize${PYVERSSUFFIX} to fix conflict with
other python versions of the same package. Add ALTERNATIVES file.
Bump PKGREVISION.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Nov 23 15:08:11 2014 UTC (9 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored) to selected 1.10 (colored)

Update to 2.0.1:

Version 2.0.1
-------------
(released Nov 10, 2014)

- Fix an encoding issue when using ``pygmentize`` with the ``-o`` option.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Nov 19 12:57:55 2014 UTC (9 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored) to selected 1.10 (colored)

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).

Revision 1.14 / (download) - annotate - [select for diffs], Sat Jan 25 10:30:25 2014 UTC (10 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.13: +1 -4 lines
Diff to previous 1.13 (colored) to selected 1.10 (colored)

Mark packages as not ready for python-3.x where applicable;
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE=  33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE=  33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.

Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.

Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.

Whitespace cleanups and other nits corrected, where necessary.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Mar 3 07:31:30 2013 UTC (11 years ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored) to selected 1.10 (colored)

Update Pygments to 1.6.

Version 1.6
-----------
(released Feb 3, 2013)

- Lexers added:

  * Dylan console (PR#149)
  * Logos (PR#150)
  * Shell sessions (PR#158)

- Fix guessed lexers not receiving lexer options (#838).

- Fix unquoted HTML attribute lexing in Opa (#841).

- Fixes to the Dart lexer (PR#160).


Version 1.6rc1
--------------
(released Jan 9, 2013)

- Lexers added:

  * AspectJ (PR#90)
  * AutoIt (PR#122)
  * BUGS-like languages (PR#89)
  * Ceylon (PR#86)
  * Croc (new name for MiniD)
  * CUDA (PR#75)
  * Dg (PR#116)
  * IDL (PR#115)
  * Jags (PR#89)
  * Julia (PR#61)
  * Kconfig (#711)
  * Lasso (PR#95, PR#113)
  * LiveScript (PR#84)
  * Monkey (PR#117)
  * Mscgen (PR#80)
  * NSIS scripts (PR#136)
  * OpenCOBOL (PR#72)
  * QML (PR#123)
  * Puppet (PR#133)
  * Racket (PR#94)
  * Rdoc (PR#99)
  * Robot Framework (PR#137)
  * RPM spec files (PR#124)
  * Rust (PR#67)
  * Smali (Dalvik assembly)
  * SourcePawn (PR#39)
  * Stan (PR#89)
  * Treetop (PR#125)
  * TypeScript (PR#114)
  * VGL (PR#12)
  * Visual FoxPro (#762)
  * Windows Registry (#819)
  * Xtend (PR#68)

- The HTML formatter now supports linking to tags using CTags files, when the
  python-ctags package is installed (PR#87).

- The HTML formatter now has a "linespans" option that wraps every line in a
  <span> tag with a specific id (PR#82).

- When deriving a lexer from another lexer with token definitions, definitions
  for states not in the child lexer are now inherited.  If you override a state
  in the child lexer, an "inherit" keyword has been added to insert the base
  state at that position (PR#141).

- The C family lexers now inherit token definitions from a common base class,
  removing code duplication (PR#141).

- Use "colorama" on Windows for console color output (PR#142).

- Fix Template Haskell highlighting (PR#63).

- Fix some S/R lexer errors (PR#91).

- Fix a bug in the Prolog lexer with names that start with 'is' (#810).

- Rewrite Dylan lexer, add Dylan LID lexer (PR#147).

- Add a Java quickstart document (PR#146).

- Add a "external/autopygmentize" file that can be used as .lessfilter (#802).

Revision 1.12 / (download) - annotate - [select for diffs], Thu Oct 25 06:56:51 2012 UTC (11 years, 5 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.11: +1 -3 lines
Diff to previous 1.11 (colored) to selected 1.10 (colored)

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Oct 17 22:16:36 2012 UTC (11 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.10: +3 -1 lines
Diff to previous 1.10 (colored)

Allow python-3.x.

Revision 1.10 / (download) - annotate - [selected], Tue Apr 17 17:35:25 2012 UTC (11 years, 11 months ago) by drochner
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

update to 1.5
changes:
-many more lexers
-bugfixes

Revision 1.9 / (download) - annotate - [select for diffs], Sat Feb 4 12:35:12 2012 UTC (12 years, 1 month ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1
Changes since 1.8: +3 -1 lines
Diff to previous 1.8 (colored) to selected 1.10 (colored)

No compiler is requilred.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Feb 28 08:54:04 2011 UTC (13 years, 1 month ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1
Changes since 1.7: +9 -2 lines
Diff to previous 1.7 (colored) to selected 1.10 (colored)

Update Pygments to 1.4.
While here, add PKG_RUN_TEST support.

Version 1.4
-----------
(codename Unschärfe, released Jan 03, 2010)

- Lexers added:

  * Factor (#520)
  * PostScript (#486)
  * Verilog (#491)
  * BlitzMax Basic (#478)
  * Ioke (#465)
  * Java properties, split out of the INI lexer (#445)
  * Scss (#509)
  * Duel/JBST
  * XQuery (#617)
  * Mason (#615)
  * GoodData (#609)
  * SSP (#473)
  * Autohotkey (#417)
  * Google Protocol Buffers
  * Hybris (#506)

- Do not fail in analyse_text methods (#618).

- Performance improvements in the HTML formatter (#523).

- With the ``noclasses`` option in the HTML formatter, some styles
  present in the stylesheet were not added as inline styles.

- Four fixes to the Lua lexer (#480, #481, #482, #497).

- More context-sensitive Gherkin lexer with support for more i18n translations.

- Support new OO keywords in Matlab lexer (#521).

- Small fix in the CoffeeScript lexer (#519).

- A bugfix for backslashes in ocaml strings (#499).

- Fix unicode/raw docstrings in the Python lexer (#489).

- Allow PIL to work without PIL.pth (#502).

- Allow seconds as a unit in CSS (#496).

- Support ``application/javascript`` as a JavaScript mime type (#504).

- Support `Offload <http://offload.codeplay.com>`_ C++ Extensions as
  keywords in the C++ lexer (#484).

- Escape more characters in LaTeX output (#505).

- Update Haml/Sass lexers to version 3 (#509).

- Small PHP lexer string escaping fix (#515).

- Support comments before preprocessor directives, and unsigned/
  long long literals in C/C++ (#613, #616).

- Support line continuations in the INI lexer (#494).

- Fix lexing of Dylan string and char literals (#628).

- Fix class/procedure name highlighting in VB.NET lexer (#624).

Revision 1.7 / (download) - annotate - [select for diffs], Wed Mar 10 14:06:55 2010 UTC (14 years ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored) to selected 1.10 (colored)

Update pygments to 1.3.1.
While here, fixes(?) LICENSE from modified-bsd to 2-clause-bsd.

Version 1.3.1
-------------
(bugfix release, released Mar 05, 2010)

- The ``pygmentize`` script was missing from the distribution.


Version 1.3
-----------
(codename Schneeglöckchen, released Mar 01, 2010)

- Added the ``ensurenl`` lexer option, which can be used to suppress the
  automatic addition of a newline to the lexer input.

- Lexers added:

  * Ada
  * Coldfusion
  * Modula-2
  * haXe
  * R console
  * Objective-J
  * Haml and Sass
  * CoffeeScript

- Enhanced reStructuredText highlighting.

- Added support for PHP 5.3 namespaces in the PHP lexer.

- Added a bash completion script for `pygmentize`, to the external/
  directory (#466).

- Fixed a bug in `do_insertions()` used for multi-lexer languages.

- Fixed a Ruby regex highlighting bug (#476).

- Fixed regex highlighting bugs in Perl lexer (#258).

- Add small enhancements to the C lexer (#467) and Bash lexer (#469).

- Small fixes for the Tcl, Debian control file, Nginx config,
  Smalltalk, Objective-C, Clojure, Lua lexers.

- Gherkin lexer: Fixed single apostrophe bug and added new i18n keywords.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Feb 11 12:57:38 2010 UTC (14 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored) to selected 1.10 (colored)

Update to Pygments 1.2.2:
- Various bugfixes and improvements to the lexers
- New lexers for Antlr/Ragel, Asymptote, Ba(sh), Erlang shell, Go, Gherkin,
  GLSL, Prolog, Evoque, Modelica, Rebol, MXML, Cython, ABAP, ASP.net,
  Vala, Newspeak, CMake and OOC
- New style: Monokai

Revision 1.5 / (download) - annotate - [select for diffs], Tue May 19 08:59:36 2009 UTC (14 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2
Changes since 1.4: +1 -2 lines
Diff to previous 1.4 (colored) to selected 1.10 (colored)

Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT
block). Uncomment some commented out LICENSE lines while here.

Revision 1.4 / (download) - annotate - [select for diffs], Tue May 12 13:45:01 2009 UTC (14 years, 10 months ago) by obache
Branch: MAIN
Changes since 1.3: +4 -2 lines
Diff to previous 1.3 (colored) to selected 1.10 (colored)

Update Pygments to 1.0.
While here, set LICENSE.

Version 1.0
-----------
(codename Dreiundzwanzig, released Nov 23, 2008)

- Don't use join(splitlines()) when converting newlines to ``\n``,
  because that doesn't keep all newlines at the end when the
  ``stripnl`` lexer option is False.

- Add ``-N`` option to command-line interface to get a lexer name
  for a given filename.

- Add Tango style, written by Andre Roberge for the Crunchy project.

- Add Python3TracebackLexer and ``python3`` option to
  PythonConsoleLexer.

- Fix a few bugs in the Haskell lexer.

- Fix PythonTracebackLexer to be able to recognize SyntaxError and
  KeyboardInterrupt (#360).

- Provide one formatter class per image format, so that surprises like::

    pygmentize -f gif -o foo.gif foo.py

  creating a PNG file are avoided.

- Actually use the `font_size` option of the image formatter.

- Fixed numpy lexer that it doesn't listen for `*.py` any longer.

- Fixed HTML formatter so that text options can be Unicode
  strings (#371).

- Unified Diff lexer supports the "udiff" alias now.

- Fix a few issues in Scala lexer (#367).

- RubyConsoleLexer now supports simple prompt mode (#363).

- JavascriptLexer is smarter about what constitutes a regex (#356).

- Add Applescript lexer, thanks to Andreas Amann (#330).

- Make the codetags more strict about matching words (#368).

- NginxConfLexer is a little more accurate on mimetypes and
  variables (#370).

Revision 1.3 / (download) - annotate - [select for diffs], Tue Nov 18 07:29:11 2008 UTC (15 years, 4 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4
Changes since 1.2: +3 -4 lines
Diff to previous 1.2 (colored) to selected 1.10 (colored)

Update Pygments to 0.11.1.

Pygments changelog
==================

Version 0.11.1
--------------
(released Aug 24, 2008)

- Fix a Jython compatibility issue in pygments.unistring (#358).


Version 0.11
------------
(codename Strauenei, released Aug 23, 2008)

Many thanks go to Tim Hatch for writing or integrating most of the bug
fixes and new features.

- Lexers added:

  * Nasm-style assembly language, thanks to delroth
  * YAML, thanks to Kirill Simonov
  * ActionScript 3, thanks to Pierre Bourdon
  * Cheetah/Spitfire templates, thanks to Matt Good
  * Lighttpd config files
  * Nginx config files
  * Gnuplot plotting scripts
  * Clojure
  * POV-Ray scene files
  * Sqlite3 interactive console sessions
  * Scala source files, thanks to Krzysiek Goj

- Lexers improved:
  * C lexer highlights standard library functions now and supports C99
    types.
  * Bash lexer now correctly highlights heredocs without preceding
    whitespace.
  * Vim lexer now highlights hex colors properly and knows a couple
    more keywords.
  * Irc logs lexer now handles xchat's default time format (#340) and
    correctly highlights lines ending in ``>``.
  * Support more delimiters for perl regular expressions (#258).
  * ObjectiveC lexer now supports 2.0 features.

- Added "Visual Studio" style.

- Updated markdown processor to Markdown 1.7.

- Support roman/sans/mono style defs and use them in the LaTeX
  formatter.

- The RawTokenFormatter is no longer registered to ``*.raw`` and it's
  documented that tokenization with this lexer may raise exceptions.

- New option ``hl_lines`` to HTML formatter, to highlight certain
  lines.

- New option ``prestyles`` to HTML formatter.

- New option *-g* to pygmentize, to allow lexer guessing based on
  filetext (can be slowish, so file extensions are still checked
  first).

- ``guess_lexer()`` now makes its decision much faster due to a cache
  of whether data is xml-like (a check which is used in several
  versions of ``analyse_text()``.  Several lexers also have more
  accurate ``analyse_text()`` now.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Sep 12 05:32:38 2008 UTC (15 years, 6 months ago) by epg
Branch: MAIN
CVS Tags: pkgsrc-2008Q3-base, pkgsrc-2008Q3, cube-native-xorg-base, cube-native-xorg
Changes since 1.1: +1 -2 lines
Diff to previous 1.1 (colored) to selected 1.10 (colored)

Default EGG_NAME to ${DISTNAME} in egg.mk and drop EGG_NAME from packages that
set it to ${DISTNAME}.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Fri Aug 1 08:31:38 2008 UTC (15 years, 8 months ago) by obache
Branch: TNF
CVS Tags: pkgsrc-base
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.10 (colored)

Import py24-pygments-0.10 as textproc/py-pygments.

Pygments is a syntax highlighting package written in Python.

It is a generic syntax highlighter for general use in all kinds of software
such as forum systems, wikis or other applications that need to prettify
source code. Highlights are:

* a wide range of common languages and markup formats is supported
* special attention is paid to details, increasing quality by a fair amount
* support for new languages and formats are added easily
* a number of output formats, presently HTML, LaTeX, RTF and ANSI sequences
* it is usable as a command-line tool and as a library
* ... and it highlights even Brainfuck!

Revision 1.1 / (download) - annotate - [select for diffs], Fri Aug 1 08:31:38 2008 UTC (15 years, 8 months ago) by obache
Branch: MAIN
Diff to selected 1.10 (colored)

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>