2021-04-06 17:27:30 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
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
|
2020-05-17 23:38:47 by Adam Ciarcinski | Files touched by this commit (14) |
Log message:
pytest from versioned depends
|
2020-03-09 19:34:23 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
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
|
2020-01-26 18:32:28 by Roland Illig | Files touched by this commit (981) |
Log message:
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.
|
2019-08-03 14:28:49 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
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
|
2018-12-16 18:56:54 by Adam Ciarcinski | Files touched by this commit (4) | |
Log message:
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
|
2017-02-18 14:09:11 by Adam Ciarcinski | Files touched by this commit (3) |
Log message:
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.
|
2017-01-03 14:23:05 by Jonathan Perkin | Files touched by this commit (52) |
Log message:
Use "${MV} || ${TRUE}" and "${RM} -f" consistently in \
post-install targets.
|
2016-12-15 10:42:49 by Adam Ciarcinski | Files touched by this commit (4) |
Log message:
Version 2.1.3
- Fixed regression in Bash lexer
|
2016-08-28 17:48:37 by Thomas Klausner | Files touched by this commit (112) |
Log message:
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.
|