FIXED: Don't use undefined version string
FIXED: Fix memory leak in ITMZ reader
FIXED: Update cpack generator for macOS
Fix fsf address in files licenses.
UPDATED: Adjust cmake to only make library when included from a parent project
Changes since 0.15.0:
Bugfixes
* Fix highlighting of Markdown files, see #963 and #977
* Fix base16 theme (was broken since in v0.14), see #972, #934 and
#979 (@mk12).
* Users suffering from #865 ("no color for bat in ssh from a Windows
client") can use the ansi-dark and ansi-light themes from now on.
New syntaxes
* Fortran, see #957
* Email (@mariozaizar)
* QML, see #962 (@pylipp)
v4-3-2: Deprecation Warning Enhancement
v4-3-1: Fixing the issue with exclude_path and hash calculations when dictionaries were inside iterables. https://github.com/seperman/deepdiff/issues/174
v4-3-0: adding exclude_obj_callback
v4-2-0: .json property is finally removed. Fix for Py3.10. Dropping support for EOL Python 3.4. Ignoring private keys when calculating hashes. For example init is not a part of hash calculation anymore. Fix for 166 Problem with comparing lists, with an boolean as element.
v4-0-9: Fixing the bug for hashing custom unhashable objects
v4-0-8: Adding ignore_nan_inequality for float('nan')
These PLIST files have been autogenerated by mk/haskell.mk using
HS_UPDATE_PLIST=yes during a bulk build. They will help to track changes
to the packages. The Haskell packages didn't have PLIST files because
their paths contained package hashes. These hashes are now determined by
mk/haskell.mk, which makes it easy to generate easy to read PLIST files.
General:
* The \input primitive in all TeX engines, including tex, now also accepts a
group-delimited filename argument, as a system-dependent extension. The usage
with a standard space/token-delimited filename is completely unchanged. The
group-delimited argument was previously implemented in LuaTeX; now it is available
in all engines. ASCII double quote characters (") are removed from the filename,
but it is otherwise left unchanged after tokenization. This does not currently
affect LaTeX’s \input command, as that is a macro redefinition of the standard
\input primitive.
* New option –cnf-line for kpsewhich, tex, mf, and all other engines, to support
arbitrary configuration settings on the command line.
* The addition of various primitives to various engines in this and previous years
is intended to result in a common set of functionality available across
all engines.
epTeX, eupTeX: New primitives \Uchar, \Ucharcat, \current(x)spacingmode, \ifincsname;
revise \fontchar?? and \iffontchar. For eupTeX only: \currentcjktoken.
LuaTeX: Integration with HarfBuzz library, available as new engines luahbtex
(used for lualatex) and luajithbtex. New primitives: \eTeXgluestretchorder,
\eTeXglueshrinkorder.
pdfTeX: New primitive \pdfmajorversion; this merely changes the version number
in the PDF output; it has no effect on any PDF content. \pdfximage and similar
now search for image files in the same way as \openin.
pTeX: New primitives \ifjfont, \iftfont. Also in epTeX, upTeX, eupTeX.
XeTeX: Fixes for \Umathchardef, \XeTeXinterchartoks, \pdfsavepos.
Dvips: Output encodings for bitmap fonts, for better copy/paste capabilities.
Upstream changes:
version 1.63: Tue 02 Jul 2019 04:35:01 PM CEST
Improvements:
- dataToXML auto-detects XML string when it starts with a BOM.
version 1.62: Wed 15 May 15:14:28 CEST 2019
Fixes:
- empty list elements are not an error [Rob De Langhe]
- facet date_whiteSpace [Ferruccio Zamuner]
Update ruby-treetop to 1.6.10.
pkgsrc changes:
* Update HOMEPAGE.
* Use --format-executable rubygem option and add ALTERNATIVES file.
Release note is not available but various bug fixes and improvements.
Version 2.13
* New Features:
- Add `jansson_version_str()` and `jansson_version_cmp()` for runtime
version checking
- Add `json_object_update_new()`, `json_object_update_existing_new()`
and `json_object_update_missing_new()` functions
- Add `json_object_update_recursive()`
* Build:
- Add ``-Wno-format-truncation`` to suppress format truncation warnings
* Bug fixes:
- Remove ``strtod`` macro definition for MinGW
- Add infinite loop check in `json_deep_copy()`
- Add ``pipe`` macro definition for MinGW
- Enhance ``JANSSON_ATTRS`` macro to support earlier C standard(C89)
- Update version detection for sphinx-build
* Documentation:
- Fix typos
- Document that call the custom free function to free the return value
of `json_dumps()` if you have a custom malloc/free
- Add vcpkg installation instructions
- Document that non-blocking file descriptor is not supported on
Update ruby-kramdown to 2.2.1.
pkgsrc change
* Add missing denendency to textproc/ruby-rexml.
* Add "USE_LANGUAGES= # none".
kramdown 2.2.1 released (2020-04-23)
Changes
1 bug fix:
* Don't set role=doc-toc in HTML converter because it is invalid for ul/ol
(fixes#653 by XhmikosR)
kramdown 2.2.0 released (2020-04-22)
This release is a hotchpotch of many small, internal changes, some minor
user visible changes and a few bug fixes. Special thanks to Ashwin Maroli
for his many contributions!
Changes
5 minor changes:
* Change output of MathJax math engine to be compatible with MathJax v2 and
v3 (fixes issue #626 by Abe Voelker) and wrap it in <div>/<span> tags for
attribute assignment (fixes issue #533 by Luc J. Bourhis)
* Make rexml a dependency due to it not being a default gem in the future
(PR #638 by David Rodriguez)
* Add WAI-ARIA role attributes to TOC and footnotes HTML (PR #646 by Maxime
Kjaer)
* Remove redundant line breaks in HTML output for CJK scripts (fixes issue
#587, PR #588 both by Fangyi Zhou); can be enabled via the new option
remove_line_breaks_for_cjk
* Several internal changes with respect to memory usage and performance (PRs
#600, #601, #621, #619, #641, #642, #597, #578, #598, #596 by Ashwin
Maroli)
pkgsrc changes:
- Remove no longer needed patches
Changes:
2.1.0
-----
* Improve legendastv provider matches
* Fix video extensions (.mk3d .ogm .ogv)
* Use new url to search for titles in legendastv provider
* Fix stevedore incompatibility
* Add support to webm video extension
* Make providers easier to be extended and customized
* Update podnapisi URL
* Add support to VIP/Donor accounts in legendastv provider
* Proper handling titles with year / country in legendastv provider
* Several minor enhancements in legendastv provider
* Add support for python 3.6, 3.7 and 3.8
* Drop support for python 3.3 and 3.4
* Do not discard providers bad zip/rar is downloaded
* SubsCenter provider removal
* Fix lxml parsing for Addic7ed provider
* Support titles with asterics in Addic7ed provider
* Add support to multi-episode search in Opensubtitles provider
* Fix multi-episode search in TVSubtitles provider
* Update to guessit 3
* Improve archive scanning
* Add Opensubtitles VIP provider
* Add country to Movie and Episode
* Add streaming_service to Video
* Add info property to Subtitle
* Do not search for subtitles if all required languages is already present
* Improve TVDB refiner to support series with comma
* Add alternative_titles to Video and enhance OMDB refiner to use alternative_titles
* Only compute video hashes when required
* Add apikey to OMDB refiner
* Fix Subtitle validation when unable to guess encoding
* Add support to rar in Dockerfile
The "demjson" module, and the included "jsonlint" script, provide methods
for encoding and decoding JSON formatted data, as well as checking JSON data
for errors and/or portability issues. The jsonlint command/script can be
used from the command line without needing any programming.
Although the standard Python library now includes basic JSON support (which
it did not when demjson was first written), this module provides a much more
comprehensive implementation with many features not found elsewhere. It is
especially useful for error checking or for parsing JavaScript data which
may not strictly be valid JSON data.
7.0.1:
Fixed
Bug where that caused incorrect sorting when using locales that have a "." character as the thousands separator.
7.0.0:
Added
Ability to deploy directly from TravisCI
Release checklist in RELEASING.md
Changed
Updated auxillary shell scripts to be written in python, and added ability to call these from tox
Improved Travis-CI experience
Update testing dependency versions
Removed
Support for Python 2
Changes since 0.14.0:
Features
* This release adds a new --diff/-d option that can be used to only show lines
surrounding Git changes, i.e. added, removed or modified lines. The amount of
additional context can be controlled with --diff-context=N. See #23 and #940
Bugfixes
* Error message printed in the middle of the output for another file, see #946
* Performance improvements when using custom caches (via bat cache --build): the
bat startup time should now be twice as fast (@lzutao).
Themes
* Updated version of the Solarized dark/light themes, see #941
bat as a library
* There are a few changes in the "low level" API (the Config struct has changed and
the error handler needs a new &mut dyn Write argument). The high-level API is not
affected.
goldmark is a Markdown parser written in Go. It is compliant with
CommonMark 0.29. Its features include:
- Standards-compliant. goldmark is fully compliant with the latest
CommonMark specification.
- Extensible. Do you want to add a @username mention syntax to
Markdown? You can easily do so in goldmark. You can add your AST
nodes, parsers for block-level elements, parsers for inline-level
elements, transformers for paragraphs, transformers for the whole
AST structure, and renderers.
- Performance. goldmark's performance is on par with that of cmark,
the CommonMark reference implementation written in C.
- Robust. goldmark is tested with go-fuzz, a fuzz testing tool.
- Built-in extensions. goldmark ships with common extensions like
tables, strikethrough, task lists, and definition lists.
- Depends only on standard libraries.
- Removes the obsolete patches for termios.
Changes since 0.13.0:
Features
* Added a new --file-name <name>… option to overwrite the displayed filename(s)
in the header. This is useful when piping input into bat. See #654 and #892 (@neuronull).
* Added a new --generate-config-file option to create an initial configuration file
at the right place. See #870 (@jmick414)
Bugfixes
* Performance problems with C# source code have been fixed, see #677 (@keith-hall)
* Performance problems with Makefiles have been fixed, see #750 (@keith-hall)
* Fix bug when highlighting Ruby files with unindented heredocs, see #914 (@keith-hall)
* A highlighting problem with Rust source code has been fixed, see #924 (@keith-hall)
* Windows: short files that do not require paging are displayed and then lost, see #887
* --highlight-line did not work correctly in combination with --tabs=0 and --wrap=never,
see #937
Other
* When saving/reading user-provided syntaxes or themes, bat will now maintain a
metadata.yaml file which includes information about the bat version which was
used to create the cached files. When loading cached files, we now print an error
if they have been created with an incompatible version. See #882
* Updated liquid dependency to 0.20, see #880 (@ignatenkobrain)
bat as a library
* A completely new "high level" API has been added that is much more convenient
to use. See the examples folder for the updated code. The older "low level"
API is still available (basically everything that is not in the root bat
module), but has been refactored quite a bit. It is recommended to only use
the new "high level" API, if possible. This will be much easier to keep stable.
Note that this should still be considered a "beta" release of bat-as-a-library.
For more details and some screenshots of the example programs, see #936.
* Stripped out a lot of binary-only dependencies, see #895 and #899 (@dtolnay)
This introduces a features = ["application"] which is enabled by default and pulls in
everything required by bat the application. When depending on bat as a library, downstream
Cargo.toml should disable this feature to cut out inapplicable heavy dependencies:
[dependencies]
bat = { version = "0.14", default-features = false }
Other optional functionality has also been put behind features: paging and git support.
* Allow using the library with older syntect, see #896 and #898 (@dtolnay)
New syntaxes
* Rego, see #872 (@patrick-east)
* Stylo, see #917
Thanks
Many thanks to @keith-hall for all the help with various Sublime syntax problems!
A vestigial reference to removed functionality was causing a failure to
link on macOS and SunOS. Separately, an expectation about the presence
of strtod_l(3) was causing a build failure on SunOS.
This is a dependency of wip/electrum, with the goal of importing
wip/electrum later on.
This library is an implementation of the JSON-RPC specification.
It supports both the original 1.0 specification, as well as the
new (proposed) 2.0 spec, which includes batch submission, keyword
arguments, etc.
Version 2.11.2
Fix a bug that caused callable objects with __getattr__, like Mock to be treated as a contextfunction().
Update wordcount filter to trigger Undefined methods by wrapping the input in soft_unicode().
Fix a hang when displaying tracebacks on Python 32-bit.
Showing an undefined error for an object that raises AttributeError on access doesn’t cause a recursion error.
Revert changes to PackageLoader from 2.10 which removed the dependency on setuptools and pkg_resources, and added limited support for namespace packages. The changes caused issues when using Pytest. Due to the difficulty in supporting Python 2 and PEP 451 simultaneously, the changes are reverted until 3.0.
Fix line numbers in error messages when newlines are stripped.
The special namespace() assignment object in templates works in async environments.
Fix whitespace being removed before tags in the middle of lines when lstrip_blocks is enabled.
NativeEnvironment doesn’t evaluate intermediate strings during rendering. This prevents early evaluation which could change the value of an expression.
Release Notes - Xerces-C++ - Version 3.2.3
** Bug
* [XERCESC-1963] - Custom HTTP headers missing with CURL NetAccessor
* [XERCESC-2126] - Type Confusion from DTDGrammar to SchemaGrammar
* [XERCESC-2146] - Patch to build with older GCC
* [XERCESC-2155] - fix build without pthread
* [XERCESC-2158] - XMLUTF8Transcoder: One multibyte UTF8 character is swallowed from the srcData when the resulting surrogate pair does not fit in toFill at the end
* [XERCESC-2160] - Postpone freeing the memory being used by CURL
* [XERCESC-2161] - No rule to make target '/src/xercesc/util/MsgLoaders/MsgCatalog/XercesMessages_en_US.Msg'
* [XERCESC-2168] - Memory leak in ValueVectorOf
* [XERCESC-2172] - There is an error in the parameters of the ThreadTtest8 script in Apache xerces-c++ XML's tests/script
* [XERCESC-2176] - Incorrect symbolic links created for Linux static library and MacOS static and shared libraries
* [XERCESC-2177] - invalid windows version check for `onXPOrLater`
* [XERCESC-2180] - Handle surrogate pairs when reading a QName instead of ASSERTing
* [XERCESC-2185] - Janitor.hpp fails to compile on Solaris with Solaris Studio 12.2 and 12.4
* [XERCESC-2186] - undef symbols on HPUX for ArrayJanitor
* [XERCESC-2187] - DOM tests crash on AIX
* [XERCESC-2189] - XMLChar with NEED_TO_GEN_TABLE has 2 buffer out of bounds reads
* [XERCESC-2194] - Including Xerces_autoconf_config.hpp on Windows fails due to undefined ssize_t
Release 0.16:
Docutils 0.15.x is the last version supporting Python 2.6, 3.3 and 3.4.
Docutils 0.16.x supports Python 2.7 and Python >= 3.5 natively,
without the use of the ``2to3`` tool.
* reStructuredText:
- Keep `backslash escapes`__ in the document tree. This allows, e.g.,
escaping of author-separators in `bibliographic fields`__.
* LaTeX writer:
- Informal titles of type "rubric" default to bold-italic and left aligned.
- Deprecate ``\docutilsrole`` prefix for styling commands:
use ``\DUrole`` instead.
- Fix topic subtitle.
- Add "latex writers" to the `config_section_dependencies`.
- Ignore classes for `rubric` elements
(class wrapper interferes with LaTeX formatting).
* tools/buildhtml.py
- New option "--html-writer" allows to select "html__" (default),
"html4" or "html5".
* docutils/io.py
- Remove the `handle_io_errors` option from io.FileInput/Output.
* docutils/nodes.py
- If `auto_id_prefix`_ ends with "%", this is replaced with the tag name.
* Various bugfixes and improvements (see HISTORY_).
0.2.3:
* Fixed typo.
* Fix typo in comment
* Use pointer to const for strings that aren't/shouldn't be modified
* Squash a couple of warnings in example-deconstructor-alt
* Fix spelling for error message
* Make appveyor config be a hidden file
* Add CHANGES file
* Always output document end before directive (YAML 1.2 compatibility)
* Output document end marker after open ended scalars
* change cmake target name from libOFF.a to libyaml.a
* include/yaml.h: fix comments
* Fixed missing token in example
* Avoid recursion in the document loader.
* Support %YAML 1.2 directives
* Change dllexport controlling macro to use _WIN32
ICU 66
It updates to Unicode 13 & CLDR 36.1. New, extra Q1 releases for low-risk integration of Unicode 13.
ICU 65
It updates to CLDR 36 locale data with many additions and corrections, and some new measurement units. The Java LocaleMatcher API is improved, and ported to C++. For building ICU data, there are new filtering options, and new tracing support for data loading in ICU4C.
v1.11.0
Closed Issues
Please bump mkdirp to fix mkdirp@0.5.1 vulnerability
Support optional-chaining
Please support es module
Support new js proposals: optional-chaining & pipeline-operator
Optional closing not implemented
6.2.0:
* Improved error reporting when trying to format an object of a non-formattable type
* Reduced library size by ~10%.
* Always print decimal point if # is specified
* Implemented the 'L' specifier for locale-specific numeric formatting to improve compatibility with std::format. The 'n' specifier is now deprecated and will be removed in the next major release.
* Moved OS-specific APIs such as windows_error from fmt/format.h to fmt/os.h. You can define FMT_DEPRECATED_INCLUDE_OS to automatically include fmt/os.h from fmt/format.h for compatibility but this will be disabled in the next major release.
* Added precision overflow detection in floating-point formatting.
* Implemented detection of invalid use of fmt::arg.
* Used type_identity to block unnecessary template argument deduction.
* Improved UTF-8 handling
* Added experimental dynamic argument storage
* Made fmt::join accept initializer_list
* Fixed handling of empty tuples
* Fixed handling of output iterators in format_to_n
* Fixed formatting of std::chrono::duration types to wide output
* Added const begin and end overload to buffers
* Added the ability to disable floating-point formatting via FMT_USE_FLOAT, FMT_USE_DOUBLE and FMT_USE_LONG_DOUBLE macros for extremely memory-constrained embedded system
* Made FMT_STRING work with constexpr string_view
* Implemented a minor optimization in the format string parser
* Improved attribute detection
* Improved documentation
* Fixed symbol visibility on Linux when compiling with -fvisibility=hidden
* Implemented various build configuration fixes and improvements
* Fixed various warnings and compilation issues
1.10.3
======
* Fixed ``TypeError`` (or wrong rendered class name) when an annotation is a generic class that has
a ``name`` property
1.10.2
======
* Fixed inner classes missing their parent class name(s) when rendered
1.10.1
======
* Fixed ``KeyError`` when encountering mocked annotations (``autodoc_mock_imports``)
1.10.0
======
* Rewrote the annotation formatting logic (fixes Python 3.5.2 compatibility regressions and an
``AttributeError`` regression introduced in v1.9.0)
* Fixed decorator classes not being processed as classes
1.9.0
=====
* Added support for typing_extensions_
* Added the ``typehints_document_rtype`` option (PR by Simon-Martin Schröder)
* Fixed metaclasses as annotations causing ``TypeError``
* Fixed rendering of ``typing.Literal``
* Fixed OSError when generating docs for SQLAlchemy mapped classes
* Fixed unparametrized generic classes being rendered with their type parameters
(e.g. ``Dict[~KT, ~VT]``)
.. _typing_extensions: https://pypi.org/project/typing-extensions/
1.8.0
=====
* Fixed regression which caused ``TypeError`` or ``OSError`` when trying to set annotations due to
PR #87
* Fixed unintentional mangling of annotation type names
* Added proper ``:py:data`` targets for ``NoReturn``, ``ClassVar`` and ``Tuple``
* Added support for inline type comments (like ``(int, str) -> None``) (PR by Bernát Gábor)
* Use the native AST parser for type comment support on Python 3.8+
1.7.0
=====
* Dropped support for Python 3.4
* Fixed unwrapped local functions causing errors (PR by Kimiyuki Onaka)
* Fixed ``AttributeError`` when documenting the ``__init__()`` method of a data class
* Added support for type hint comments (PR by Markus Unterwaditzer)
* Added flag for rendering classes with their fully qualified names (PR by Holly Becker)
1.6.0
=====
* Fixed ``TypeError`` when formatting annotations from a class that inherits from a concrete
generic type (report and tests by bpeake-illuscio)
* Added support for ``typing_extensions.Protocol`` (PR by Ian Good)
* Added support for ``typing.NewType`` (PR by George Leslie-Waksman)
1.5.2
=====
* Emit a warning instead of crashing when an unresolvable forward reference is encountered in type
annotations
1.5.1
=====
* Fixed escape characters in parameter default values getting lost during signature processing
* Replaced use of the ``config-inited`` event (which inadvertently required Sphinx 1.8) with the
``builder-inited`` event
1.5.0
=====
* The setting of the ``typing.TYPECHECKING`` flag is now configurable using the
``set_type_checking_flag`` option
1.4.0
=====
* The extension now sets ``typing.TYPECHECKING`` to ``True`` during setup to include conditional
imports which may be used in type annotations
* Fixed parameters with trailing underscores (PR by Daniel Knell)
* Fixed KeyError with private methods (PR by Benito Palacios Sánchez)
* Fixed deprecation warning about the use of formatargspec (PR by Y. Somda)
* The minimum Sphinx version is now v1.7.0
1.3.1
=====
* Fixed rendering of generic types outside the typing module (thanks to Tim Poterba for the PR)
Sphinx AutoAPI provides "autodoc" style documentation for multiple
programming languages without needing to load, run, or import the
project being documented.
libodfgen 0.1.7
- All:
+ switch to C++-11
+ fuzzing: correct many problem
+ support more text's style attributes
+ add support for named's graphic style
+ ods/odt: try to retrieve some MathML equations
- Chart:
+ support more attributes,
- Spreadsheet:
+ allow external file reference
+ do not create invalid file if there is more than 26*26 columns
- Other improvements and fixes.
1.3 [2020-03-31]
================
* option to add default values during validation
* add thread-safe API
* build static library by default (jsoncpp only builds static library by default)
Organize changelogs generated by versionadded, versionchanged, deprecated
directives. The log will be sorted by newest to oldest version. For HTML docs,
older versions will be collapsed by default.
pkgsrc changes:
- Fix LICENSE marker, lowdown is ISC licensed
- Enable test suite
- Remove forgotten checksum for patch-Makefile in distinfo
ChangeLog:
Version 0.6.4, 2020-03-29
- Enable and enforce portability by also running regression tests over
all operating systems and architectures. Updates oconfigure.
Version 5.8.0 (28 February 2020)
* Java bindings: Remove the obsolete senses API.
* swig-4.0 compatibility bug fix.
* English dict: Fixes to support questions ending in WH-words.
* Copy (merge) Richard van der Dys `node.js` bindings.
* English dict: Provide head and tail markers for all conjunctions.
* Remove the Python 2 bindings.
* Add dialect support to the library.
* English dict: support for archaic/poetic abbreviations
* English dict: introduce OH link for vocatives/invocations.
* English dict: improved parsing of imperatives.
* Add !!word/ link-parser command for displaying extended word dict info.
Version 5.7.0 (13 Sept 2019)
* Minor efficiency improvements to the SQL-backed dictionary.
* Incompatible change to the Exp traversal API.
* Remove the obsolete and unsupported "corpus statistics" code.
* Major performance improvement (3x-4x) for long sentences. #996
* Fix broken build on Windows.
* Convert Windows build to Visual Studio 2019.
* Fix a bug that causes random results on 32-bit systems. #1000
* Fix a bug that could cause missing linkages on some systems. #1007
dictd:
* add support for IPv6 (the default is IPv4)
- Add global configuration option "address_family" and
command line options --address-family
- Options "listen_to" and --listen-to accepts host name
in addition to IP address, "*" means "bind to all interfaces".
dict:
* add support for IPv6.
- New command line options -4 and -6.
- dict + dict:// URL: add support for IPv6 address
surrounded by [ and ] symbols
dictfmt:
* fix overlap of source and destination buffers in memcpy(3).
Use memmove(3) instead. This fixes failures on Linux/musl.
* DICTFMT_SORT environment variable may be used for
setting non-default sort(1)
Fix build on recent Solaris/IllumOS (missing -lnsl at link time)
Remove support for --use-dictorg and socks5. Clean-ups for build system.
Remove support for non-utf8 dictionaries.
tests:
* new test for dictd as a daemon
* always use @AWK@
* test/dictzip_test.in: avoid printing binary \0. This fixes test on some systems
2.0.3:
Changed
Drop legacy distutils in setup.py
Update benchmarking
Fixed
Decrease dict key reference
Remove double_precision and precise_float from help text
Update ruby-will-paginate to 3.3.0.
3.3.0 (2020-02-26)
* ActiveRecord: Avoid a count query in empty? #593
* Support MS SQL Server #540
* Avoid Ruby 2.7 warnings about keyword arguments #609
* Breaking: drop Ruby 1.9 compatibility
3.2.1 (2019-10-15)
* Ensure PageNumber is serialized as JSON number
3.2.0 (2019-10-09)
* Performance: avoid extending Numeric with PageNumber logic
* BREAKING: Integer === page_number is no longer true.
* Make pagination markup more accessible:
- container div now has role="navigation";
- container div now has aria-label="Pagination", translatable via
will_paginate.container_aria_label i18n key;
- individual page links now have aria-label="Page {N}", translatable
via will_paginate.page_aria_label i18n key;
- current page now has aria-current="page".
* Add support for will_paginate view helpers in Hanami View
* Add total_entries support for Mongoid
* Rails: avoid circular require warning
* Rails: fix serving HTTP 404s for WillPaginate::InvalidPage exceptions
3.1.8 (2019-08-19)
* Avoid warnings on Ruby 2.7
3.1.7 (2019-03-18)
* Rails 5.2.2.1 & 6.0.0 compatibility
Update ruby-unicode-display_width to 1.7.0.
## 1.7.0
- Unicode 13
## 1.6.1
- Fix that ambiguous and overwrite options where ignored for emoji-measuring
Update ruby-yard to 0.9.24.
pkgsrc change: fix redundant CATEGORIES.
# 0.9.24 - January 8th, 2020
[0.9.24]: https://github.com/lsegal/yard/compare/v0.9.23...v0.9.24
- Add {YARD::CodeObjects::NamespaceMapper.on_invalidate} callback when separator
cache is changed.
- Fix issue where Registry fails to resolve first-time lookups on instance methods.
# 0.9.23 - January 5th, 2020
[0.9.23]: https://github.com/lsegal/yard/compare/v0.9.22...v0.9.23
- Fix issues with double encoded code blocks when highlighted from an extra
file.
# 0.9.22 - December 31st, 2019
[0.9.22]: https://github.com/lsegal/yard/compare/v0.9.21...v0.9.22
- Revert jquery update in last release since it requires more changes. (#1298)
# 0.9.21 - December 31st, 2019
[0.9.21]: https://github.com/lsegal/yard/compare/v0.9.20...v0.9.21
- Updates to add support for Ruby 2.7.0 (#1290, #1296)
- Fix parsing of multiline method signatures (#1220)
- Remove RubyGems post install message (#1269)
- Improve object deletion from RegistryStore (#1284)
- Improve memory usage performance (#1260)
- Handle include and extend calls with explicit receivers (#1274)
- Fix deep nesting of TOC items (#1288)
- Fix highlighting for Asciidoc markup code blocks (#1276)
- Fix HTML formatting of script tags (#1263)
- Update jquery to 3.4.1 (#1294)
- Test fixes (#1244)
Update ruby-tilt to 2.0.10.
2.0.10 (2019-09-23)
* Remove test files from bundled gem (#339, greysteil)
* Fix warning when using yield in templates on ruby 2.7 (#343, jeremyevans)
Update ruby-temple to 0.8.2.
0.8.2
* Support TruffleRuby in Temple::Filters::StaticAnalyzer (#127)
* Support TruffleRuby in Temple::Filters::StringSplitter (#127)
0.8.1
* Stop relying on deprecated method in Rails (#121)
* Fix issue with --enable-frozen-string-literal
* Escape html in markdown
Update ruby-redcarpet to 3.5.0.
Version 3.5.0
* Avoid mutating the options hash passed to a render object.
Refs #663.
Max Schwenk
* Fix a segfault rendering quotes using StripDown and the :quote option.
Fixes#639.
* Fix warning: instance variable @options not initialized when running under
verbose mode (-w, $VERBOSE = true).
* Fix SmartyPants single quotes right after a link. For example:
[John](http://john.doe)'s cat
Will now properly converts ' to a right single quote (i.e. ’).
Fixes#624.
* Remove the rel and rev attributes from the output generated for footnotes as
they don't pass the HTML 5 validation.
Fixes#536.
* Automatically enable the fenced_code_blocks option passing a HTML_TOC object
to the Markdown object's constructor since some languages rely on the sharp
to comment code.
Fixes#451.
* Allow passing Range objects to the nesting_level option to have a higher
level of customization for table of contents:
Redcarpet::Render::HTML_TOC.new(nesting_level: 2..5)
Fixes#519.
Update ruby-plist to 3.5.0.
pkgsrc change: add "USE_LANGUAGES= # none".
3.5.0 (2018-12-22)
* Only ship the required libs in the gem artifact
(github.com/patsplat/plist/pull/48)
Update ruby-erubi to 1.9.0.
pkgsrc change: add "USE_LANGUAGES= # none".
=== 1.9.0 (2019-09-25)
* Change default :bufvar from 'String.new' to '::String.new' to work with BasicObject (jeremyevans)
In file included from src/JpCntx.cpp:39:0:
src/JpCntx.h: In member function 'void JapaneseContextAnalysis::HandleOneChar(const char*, PRUint32)':
src/JpCntx.h:72:55: error: array subscript has type 'char' [-Werror=char-subscripts]
mRelSample[jp2CharContext[mLastCharOrder][order]]++;
^
src/JpCntx.cpp: In member function 'void JapaneseContextAnalysis::HandleData(const char*, PRUint32)':
src/JpCntx.cpp:164:57: error: array subscript has type 'char' [-Werror=char-subscripts]
mRelSample[jp2CharContext[mLastCharOrder][order]]++;
^
The mentioned char arrays only contain small nonnegative numbers,
therefore their exact data type doesn't matter. It is now unsigned char.
The code should perhaps just refer to fcntl.h not sys/fcntl.h, but I've
special-cased SunOS for the chance "sys" is intended for portability to
an OS I'm not familiar with, for "simplicity".
The Python files are in src/jinja2, not jinja2. Since they haven't been
replaced in the past, it's probably ok to keep the few Unicode string
literals.
Changes since 0.12.1:
bat as a library
Beginning with this release, bat can be used as a library (#423).
This was a huge effort and I want to thank all people who made this possible:
@DrSensor, @mitsuhiko, @mre, @eth-p!
* Initial attempt in #469 (@mitsuhiko)
* Second attempt, complete restructuring of the bat crate, see #679
(@DrSensor)
* Updates to example, public API, error handling, further refactoring: #693#873#875 (@sharkdp)
I want to stress that this is the very first release of the library. Things are
very likely to change. A lot of things are still missing (including the
documentation).
That being said, you can start using it! See the example programs in examples/.
You can see the API documentation here: https://docs.rs/bat/
Features
* (Breaking change) Glob-based syntax mapping, see #877 and #592. With this
change, users need to update their bat config files (bat --config-file),
if they have any --map-syntax settings present.
The option now works like this:
--map-syntax <glob-pattern>:<syntax-name>
For more information, see the --help text, the man page or the README.
This new feature allows us to properly highlight files like:
- /etc/profile
- ~/.ssh/config
* --highlight-line now accepts line ranges, see #809 (@lkalir)
* A lot of updates to existing syntaxes via #644 (@benwaffle, @keith-hall)
* BAT_CACHE_PATH can be used to place cached bat assets in a non-standard
path, see #829 (@neuronull)
Bugfixes
* Do not pass '--no-init' on newer less versions, see #749 and #786
(@sharkdp)
* 'bat cache' still takes precedence over existing files, see #666
(@sharkdp)
* .sc files should be treated as scala files, see #443 (@benwaffle)
* Allow underscores and dashes in page names, see #670 (@LunarLambda)
* Keep empty lines empty, see #601 (@mbarbar)
* Wrapping does not work when piping, see #758 (@fusillicode, @allevo,
@gildo)
* Allow for non-unicode filenames, see #225 (@sharkdp)
* Empty file without header produces incomplete grid, see #798 (@eth-p)
* Files named build don't respect shebang lines, see #685 (@sharkdp)
Other
* Proper wrapping support for output with wide Unicode characters, see #811#787 and #815 (@Kogia-sima)
* Parametrizable names for man page and shell completion files, see #659#673#656 (@eth-p)
* Enabled LTO, making bat about 10% faster, see #719 (@bolinfest, @sharkdp)
* Suggestions non how to configure bat for MacOS dark mode, see README
(@jerguslejko)
* Extended "Integration with other tools" section (@eth-p)
* Updated instrutions on how to use bat as a man-pager, see #652, see #667
(@sharkdp)
* Add section concerning file encodings, see #688 and #568 (@sharkdp)
* Updated sort order of command-line options in --help text and manpage, see
#653 and #700 (@hrlmartins)
* Updates to the man page syntax, see #718 (@sharkdp)
* Japanese documentation updates, see #863 (@k-ta-yamada, @sorairolake and
@wt-l00)
* Accept "default" as a theme, see #757 (@fvictorio)
* Support combination of multiple styles at the same time, see #857
(@aslpavel)
* Updated Windows installation instructions, see #852 (@sorenbug)
* Updated man page, see #573 (@sharkdp)
New syntaxes
* Jinja2, see #648 (@Martin819)
* SaltStack SLS, see #658 (@Martin819)
* /etc/fstab, see #696 (@flopp and @eth-p)
* /etc/group and /etc/passwd, see #698 (@argentite)
* /proc/cpuinfo and /proc/meminfo, see #593 (@sharkdp)
* Nim, see #542 (@sharkdp)
* Vue, see #826 (@chaaaaarlotte)
* CoffeScript, see #833 (@sharkdp)
New themes
* Dracula, see #687 (@clarfon)
* Nord, see #760 (@crabique)
* Solarized light and dark, see #768 (@hakamadare)
Packaging
* bat is now in the official Ubuntu and Debian repositories, see #323 and
#705 (@MarcoFalke)
* bat can now be installed via MacPorts, see #675 (@bn3t)
* Install fish completions into 'vendor_completions.d', see #651 (@sharkdp)
Thanks
* To @eth-p for joining me as a maintainer! I'm very grateful for all the
work you put into managing and responding to issues, improving our
deployment, adding PR/issue templates (#837) as well as fixing bugs and
implementing new features.
There's more than one way to address the home-brewed build configuration
in use. For now, play along and add NetBSD to all the places that want
OS-specific entries. (Another way would be to populate all the
environment variables setup.py uses for alternate configuration sourcing
via the pkgsrc make file. Then we wouldn't have to patch setup.py at all.)
While here, also add TEST_DEPENDS entries.
2.1.0:
Added
Add ndigits option to intcomma
Show more than bytes for negative file sizes
2.0.0:
Note: Humanize 1.1.0 was meant to be tagged 2.0.0 because it drops support for Python 2, so is also released as 2.0.0. If you still support Python 2, use Humanize 1.0.0.
Added
Disambiguate naturaldate return: only append year if more than ~5 months away
Add scientific notation to string support
Add micro- and millisecond units to naturaldelta and naturaltime
Changed
Disambiguate naturaldate return: only append year if more than ~5 months away
Convert remaining tests to use pytest.mark.parametrize
Refactor some tests to use pytest.mark.parametrize
Removed
Drop support for EOL Python 2
Fixed
Fix intword returning 1000.0 million instead of 1.0 billion
Add ruby-actiontext60 package version 6.0.2.2.
Action Text
Action Text brings rich text content and editing to Rails. It includes the
[Trix editor](https://trix-editor.org) that handles everything from formatting
to links to quotes to lists to embedded images and galleries. The rich text
content generated by the Trix editor is saved in its own RichText model that's
associated with any existing Active Record model in the application. Any
embedded images (or other attachments) are automatically stored using Active
Storage and associated with the included RichText model.
You can read more about Action Text in the [Action Text
Overview](https://edgeguides.rubyonrails.org/action_text_overview.html) guide.
This is for Ruby on Rails 6.0.
v1.4.3:
* Fix PyPy 3 tests on xs:base64Binary and xs:hexBinary
* Separated the tests of schema proxy API and other schemas based tests
v1.4.2:
* Multiple XSD type associations on a token
* Extend xs:untypedAtomic type usage
* Increase the tests coverage to 95%
ChangeLog:
Features
The new remove-empty-columns and skip-trivial-records are
keystroke-savers for things which would other require DSL
syntax, as tracked in #274.
Bugfixes
A bug regarding optional regex-pattern groups was fixed in
#277.
As of #294 you can now specify --implicit-csv-header for the
join-file in mlr join.
A bug with spaces in XTAB-file values was fixed on #296.
A bug with missing final newline for XTAB-formatted files
using MMAP files was fixed on #301.
Documentation
Look-and-feel at http://johnkerl.org/miller/doc/ is (hopefully)
improved, including clearer visual indication of which section/page
you're currently looking at. Note that this change has been
live for a few weeks, as look-and-feel-related doc-mods from
post-5.6.2 were backported to http://johnkerl.org/miller/doc/.
#282 improves DSL-function documentation at
http://johnkerl.org/miller/doc/reference-dsl.html#Built-in_functions_for_filter_and_put,_summary
Note
Support for mmap mode has been entirely discontinued. This is an
invisible change and should not affect you at all. For anyone
interested in lower-level details, though, the summary is as follows:
For an incremental performance gain (perhaps 10-20% run time
at most, but see below), within the C source code one can use
the mmap system call to access input files via pointer arithmetic
rather than malloc-and-memcopy using stdio.
However mmap is not available when reading from standard
input -- it cannot be memory-mapped.
This means all file-format readers are implemented twice
within the Miller source code.
While I try to regression-test Miller thoroughly, running
all canned tests through mmap and stdio mode, I've nonetheless
found my mmap implementations liable to corner-cases which I
miss but users find: for example #29, #102, and #296.
As tracked on #160, various operating systems do not release
mmapped pages after use as one might intuit, meaning that for
large files and/or large numbers of files, I've for a long time
now needed to have Miller opt out of mmap usage for precisely
those cases which most need the performance gain: see #160,
#181, and #256.
Additionally, mmap is not used at all for Windows/MSYS2 so
there is nothing to lose there.
For these reasons, keeping mmap mode isn't worth the development
overhead.
As of release 5.6.3, the mlr executable will still accept the --mmap
and --no-mmap command-line flags as no-ops, for backward compatibility.
The caveat for you is that for everyday small files, the default
was previously mmap mode and is now stdio (except mlr ... < filename
or ... | mlr ... which have always used stdio). There is the off
chance that this will newly reveal an old, latent bug or two
somewhere.
I've re-run regressions in valgrind mode to aggressively catch any
errors, but, please let me know ASAP via GitHub issue of any
unexpected behavior in 5.7.0.
2.0.1
Fixed
Fix Windows build and test Python 3.5-3.8 on Windows
2.0.0
Added
Include license file in manifest
added "static" to C functions, where possible
bring back benchmark introduction
Add syntax highlighting to README
Test on new Travis CPUs
Test on GitHub Actions
Test on Python 3.9-dev to avoid surprises
Use Release Drafter to draft releases
Deploy from GitHub Actions instead of Travis CI
Autodeploy to PyPI from Travis CI
Lint with pre-commit: Black, isort, Flake8
Changed
Use Google's double-conversion lib to fix floating-point precision when converting doubles to and from strings, improves double encoding by 4-5x
Reduce default buffer on stack size
Update ultrajsondec.c
Indent dict values
Test with pytest
Less Travis
Update links
Tests: Remove unused, unmaintained blist
Only deploy sdist from Travis CI
Removed
Drop EOL Python 2.5-2.6, 3.2-3.4 and add 3.7-3.8
Remove serialization of date/datetime objects
Remove double_precision encoding option and precise_float decoding option
Remove generic serialization of objects/iterables
Remove support for __json__ method on str
Remove blist tests
Fixed
Fix for sort_keys bug and a typo
Fix for overflowing long causing invalid JSON
Following std JSON handling of None dict key
Fix for incorrect order when using OrderedDict
Fix reference counting bug for dict values
Fix a couple of memory leaks.
Correct JSON decoding implementation to die on trailing commas in Objects
fixup dconv_wrapper linkage
Fix Warning: 'classifiers' should be a list, got type 'filter'
Remove redundant license parameter
do not forcefully remove the build directory manually
Merged pull request to fix memory leak.
http -> https
bsdtar chooses the base system tar if it is libarchive tar (NetBSD
9/current, typically), and the package otherwise, so there is no need
to conditionalize setting bsdtar on NetBSD.
(As discussed on tech-pkg@.)
Only force bsdtar if NetBSD <=8.
(This is still being discussed on tech-pkg; apparently the previous
fix was not aware of the (rapidly moving around) discussion.)
Upstream chages (from CHANGELOG.md):
1.10.9 / 2020-03-01
Fixed
* [MRI] Raise an exception when Nokogiri detects a specific libxml2
edge case involving blank Schema nodes wrapped by Ruby objects
that would cause a segfault. Currently no fix is available upstream,
so we're preventing a dangerous operation and informing users to
code around it if possible. [#1985, #2001]
* [JRuby] Change NodeSet#to_a to return a RubyArray instead of Object,
for compilation under JRuby 9.2.9 and later. [#1968, #1969]
(Thanks, @headius!)
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
ChangeLog:
lowdown 0.6.1:
- Quick fix: we never actually... printed for the diff.
lowdown 0.6.0:
- Pull in newest oconfigure.
- Add common usage.
- Emit surrounding <p> for a list item if it's in a block and not already
containing block element(s).
- Bring docs up to date with code.
- Allow blank-separated definition key/value pairs to trigger block mode.
- Record whether a paragraph ends with a blank line or not.
- Proper styling of line prefixes.
- Get proper spacing for definition lists with -Tterm.
- Paragraphs in definition values don't get two newlines.
- Don't needlessly break up paragraphs that have a dli prefix in them when
within a list context.
- Show in alpha order.
- Document definition lists.
- Make line breaking around definition lists consistent.
- Merge multiple definition lists.
- Report definition list status.
- Complete parsing support for single-title description lists. There's
still work to be done, but this covers most uses.
- Recognise two newlines before a dli prefix as starting a block dli.
- Parse multiple definition list titles, don't parse zero-length trailing
definition list data, and properly form nroff definition lists w/multiple
datas.
- Add definition lists to -Tterm, documentation to nroff, forgotten header
change.
- Add nroff support for definition lists and clean up regular lists, too.
- Parse definition lists by default and add disabling documentation for them.
- Support for definition lists.
- const-ify and make sure formatters don't puke on definition lists.
- Add initial support for PHP Markdown Extra (and the many others inheriting
this functionality) definition lists. So far very simple and not enabled
by default.
ChangeLog:
v5.6.2
Bug fixes:
#271 fixes a corner-case bug with more than 100 CSV/TSV files with
headers of varying lengths.
Documentation:
The new http://johnkerl.org/miller/doc/whyc-details.html is an
elaboration on http://johnkerl.org/miller/doc/whyc.html which answers
a question posed by @BurntSushi on Reddit a couple years ago which
I did not address in detail at the time.
v5.6.1
The only change is that http://johnkerl.org/miller/doc is now
more mobile-friendly. All build artifacts are the same as at
https://github.com/johnkerl/miller/releases/tag/v5.6.0
v5.6.0
The new system DSL function allows you to run arbitrary shell commands
and store them in field values. Some example usages are documented
here. This is in response to issues #246 and #209.
There is now support for ASV and USV file formats. This is in response
to issue #245.
The new format-values verb allows you to apply numerical formatting
across all record values. This is in response to issue #252.
Documentation:
The new DKVP I/O in Python sample code now works for Python 2 as
well as Python 3.
There is a new cookbook entry on doing multiple joins. This is in
response to issue #235.
Bugfixes:
The toupper, tolower, and capitalize DSL functions
are now UTF-8 aware, thanks to @sheredom's marvelous
https://github.com/sheredom/utf8.h. The internationalization page
has also been expanded. This is in response to issue #254.
#250 fixes a bug using in-place mode in conjunction with verbs
(such as rename or sort) which take field-name lists as arguments.
#253 fixes a bug in the label when one or more names are common
between old and new.
#251 fixes a corner-case bug when (a) input is CSV; (b) the last
field ends with a comma and no newline; (c) input is from standard
input and/or --no-mmap is supplied.
v5.5.0
The new positional-indexing feature resolves#236 from @aborruso. You
can now get the name of the 3rd field of each record via $[[3]], and
its value by $[[[3]]]. These are both usable on either the left-hand
or right-hand side of assignment statements, so you can more easily
do things like renaming fields progrmatically within the DSL.
There is a new capitalize DSL function, complementing the
already-existing toupper. This stems from #236.
There is a new skip-trivial-records verb, resolving #197. Similarly,
there is a new remove-empty-columns verb, resolving #206. Both are
useful for data-cleaning use-cases.
Another pair is #181 and #256. While Miller uses mmap internally
(and invisibily) to get approximately a 20% performance boost over
not using it, this can cause out-of-memory issues with reading either
large files, or too many small ones. Now, Miller automatically avoids
mmap in these cases. You can still use --mmap or --no-mmap if you
want manual control of this.
There is a new --ivar option for the nest verb which complements
the already-existing --evar. This is from #260 thanks to @jgreely.
There is a new keystroke-saving urandrange DSL function:
urandrange(low, high) is the same as low + (high - low) *
urand(). This arose from #243.
There is a new -v option for the cat verb which writes a low-level
record-structure dump to standard error.
There is a new -N option for mlr which is a keystroke-saver for
--implicit-csv-header --headerless-csv-output.
Documentation:
The new FAQ entry
http://johnkerl.org/miller/doc/faq.html#How_to_escape_'%3F'_in_regexes%3Fresolves#203.
The new FAQ entry
http://johnkerl.org/miller/doc/faq.html#How_can_I_filter_by_date%3Fresolves#208.
#244 fixes a documentation issue while highlighting the need for #241.
Bugfixes:
There was a SEGV using nest within then-chains, fixed in response
to #220.
Quotes and backslashes weren't being escaped in JSON output with
--jvquoteall; reported on #222.
v5.4.0
The new clean-whitespace verb resolves#190 from @aborruso. Along with
the new functions strip, lstrip, rstrip, collapse_whitespace, and
clean_whitespace, there is now both coarse-grained and fine-grained
control over whitespace within field names and/or values. See the
linked-to documentation for examples.
The new altkv verb resolves#184 which was originally opened via an
email request. This supports mapping value-lists such as a,b,c,d to
alternating key-value pairs such as a=b,c=d.
The new fill-down verb resolves#189 by @aborruso. See the linked-to
documentation for examples.
The uniq verb now has a uniq -a which resolves#168 from @sjackman.
The new regextract and regextract_or_else functions resolve#183
by @aborruso.
The new ssub function arises from #171 by @dohse, as a simplified way
to avoid escaping characters which are special to regular-expression
parsers.
There are new localtime functions in response to #170 by
@sitaramc. However note that as discussed on #170 these do
not undo one another in all circumstances. This is a non-issue
for timezones which do not do DST. Otherwise, please use with
disclaimers: localdate, localtime2sec, sec2localdate, sec2localtime,
strftime_local, and strptime_local.
Builds:
Windows build-artifacts are now available in Appveyor at
https://ci.appveyor.com/project/johnkerl/miller/build/artifacts,
and will be attached to this and future releases. This resolves#167,
#148, and #109.
Travis builds at https://travis-ci.org/johnkerl/miller/builds now
run on OSX as well as Linux.
An Ubuntu 17 build issue was fixed by @singalen on #164.
Documentation:
put/filter documentation was confusing as reported by @NikosAlexandris
on #169.
The new FAQ entry
http://johnkerl.org/miller-releases/miller-head/doc/faq.html#How_to_rectangularize_after_joins_with_unpaired?
resolves#193 by @aborruso.
The new cookbook entry
http://johnkerl.org/miller/doc/cookbook.html#Options_for_dealing_with_duplicate_rows
arises from #168 from @sjackman.
The unsparsify documentation had some words missing as reported by
@tst2005 on #194.
There was a typo in the cookpage page
http://johnkerl.org/miller/doc/cookbook.html#Full_field_renames_and_reassigns
as fixed by @tst2005 in #192.
Bugfixes:
There was a memory leak for TSV-format files only as reported by
@treynr on #181.
Dollar sign in regular expressions were not being escaped properly
as reported by @dohse on #171.
v5.3.0
Comment strings in data files: mlr --skip-comments allows
you to filter out input lines starting with #, for all file
formats. Likewise, mlr --skip-comments-with X lets you specify
the comment-string X. Comments are only supported at start of data
line. mlr --pass-comments and mlr --pass-comments-with X allow you
to forward comments to program output as they are read.
The count-similar verb lets you compute cluster sizes by cluster
labels.
While Miller DSL arithmetic gracefully overflows from 64-integer
to double-precision float (see also here), there are now the
integer-preserving arithmetic operators .+ .- .* ./ .// for those
times when you want integer overflow.
There is a new bitcount function: for example, echo x=0xf0000206 |
mlr put '$y=bitcount($x)' produces x=0xf0000206,y=7.
Issue 158: mlr -T is an alias for --nidx --fs tab, and mlr -t is an
alias for mlr --tsvlite.
The mathematical constants π and e have been renamed from PI and
E to M_PI and M_E, respectively. (It's annoying to get a syntax
error when you try to define a variable named E in the DSL, when
A through D work just fine.) This is a backward incompatibility,
but not enough of us to justify calling this release Miller 6.0.0.
Documentation:
As noted here, while Miller has its own DSL there will always be
things better expressible in a general-purpose language. The new page
Sharing data with other languages shows how to seamlessly share data
back and forth between Miller, Ruby, and Python. SQL-input examples
and SQL-output examples contain detailed information the interplay
between Miller and SQL.
Issue 150 raised a question about suppressing numeric conversion. This
resulted in a new FAQ entry How do I suppress numeric conversion?,
as well as the longer-term follow-on issue 151 which will make
numeric conversion happen on a just-in-time basis.
To my surprise, csvlite format options weren’t listed in mlr --help
or the manpage. This has been fixed.
Documentation for auxiliary commands has been expanded, including
within the manpage.
Bugfixes:
Issue 159 fixes regex-match of literal dot.
Issue 160 fixes out-of-memory cases for huge files. This is an old
bug, as old as Miller, and is due to inadequate testing of huge-file
cases. The problem is simple: Miller prefers memory-mapped I/O
(using mmap) over stdio since mmap is fractionally faster. Yet as
any processing (even mlr cat) steps through an input file, more and
more pages are faulted in -- and, unfortunately, previous pages are
not paged out once memory pressure increases. (This despite gallant
attempts with madvise.) Once all processing is done, the memory is
released; there is no leak per se. But the Miller process can crash
before the entire file is read. The solution is equally simple: to
prefer stdio over mmap for files over 4GB in size. (This 4GB threshold
is tunable via the --mmap-below flag as described in the manpage.)
Issue 161 fixes a CSV-parse error (with error message "unwrapped
double quote at line 0") when a CSV file starts with the UTF-8
byte-order-mark ("BOM") sequence 0xef 0xbb 0xbf and the header line
has double-quoted fields. (Release 5.2.0 introduced handling for
UTF-8 BOMs, but missed the case of double-quoted header line.)
Issue 162 fixes a corner case doing multi-emit of aggregate variables
when the first variable name is a typo.
The Miller JSON parser used to error with Unable to parse JSON data:
Line 1 column 0: Unexpected 0x00 when seeking value on empty input,
or input with trailing whitespace; this has been fixed.
This is a minor release. It reflects the state of the code after
the migration from sourceforge.net to github.com. As such, it
shouldn't contain any user-visible changes, other than the switch
to the new DocBook CDN.
(Spurred by the fact net/scapy expects the SVG support introduced back
in 2015.)
0.15 (2019/07/14):
- text module:
- introduce UnicodeEngine
- MultiEngineText to express combined text data for TeX based engines and
the new UnicodeEngine
- Text and StackedText classes for simple typesetting operations on
UnicodeEngine text
- rename TexRunner and LatexRunner to TexEngine and LatexEngine
- rename cls argument of text.set to engine (with fallback and
deprecation warning in place)
- improve error handling when input cannot be encoded by texenc
- add support for virtual fonts in virtual fonts
- font maps: treat font files without extension as Type 1 (to
prevent warnings occuring especially with Minion or Libertine fonts)
- fix UnicodeDecodeError for invalid character responses by TeX/LaTeX
(reported by Gert Ingold)
- new examples:
- non-ASCII TeX encoding
- t1font:
- use integers in auto-guessed font descriptors to prevent an issue in pdftex
(reported by Michael Hartmann)
- fix typo: ItalicAngles -> ItalicAngle (thanks to Ross Moore)
- graph.axis.texter:
- unify exponential and mixed texter to default texter
- use MultiEngineText in all texters (decimal, default, factional)
- pdfwriter, pswriter, svgwriter:
- removed underscore in PS and PDF and SVG writer options strip_fonts,
text_as_path, mesh_as_bitmap, mesh_as_bitmap_resolution
(new: stripfonts, textaspath, meshasbitmap and meshasbitmapresolution)
to prevent ambiquity with write_ prefixes.
- Fix color output in SVG (reported by Michael Hartmann)
- deformer:
- Fix parallel deformer for empty normsubpaths (thanks to Michael J Gruber)
- graph.style:
- Use RGBA instead of ARGB in the bitmap fallback of graph.style.density
Fix saving SVG as supported modes are limited (thanks to Michael J Gruber)
- pattern:
- inject default linewidth (reported by Michael J Gruber)
- version control:
- switched to git on 2018/07/16 with main repository on GitHub
0.14.1 (2015/11/02):
- distribution:
- upload to PyPI (including old releases)
- remove old releases from sourceforge
- text module:
- fix load_def message parser (reported by Mico Filós)
- normpath:
- fix intersect with empty normsubpaths (bug #62, thanks to Florent Hivert)
0.14 (2015/04/30):
- new svgwriter module:
- complete SVG output
- SVG font output disabled by default due to missing support by
most browsers, fallback by rendering fonts as paths
- new svgfile module:
- SVG reader
- unparsed mode: embedd svg in other svg
- parsed mode: supports reading paths (including styles,
tranformations, etc.) into a PyX canvas
- bitmap module:
- using bytes in image type conversions and channel extraction
- color module:
- fix grey class
- fix rgb css binary issue and short code index error
- epsfile module:
- fix parsing of bounding box
- text module:
- no end of pages test when no dvi is created at all
- add chroot config option needed to use a chrooted TeX installation
- graph module:
- add xy12axesat feature to graphxyz
- canvas module:
- fix clipping and transformation applied together
- provide _repr_svg_ in canvas for use by IPython
- new constructor argument ipython_bboxenlarge
- deco module:
- remove shortcut for ornaments only to not skip global styles
Release 2.4.3:
Bugs fixed
* autodoc: ``*args`` and ``**kwarg`` in type comments are not handled
properly
* autodoc: classmethod coroutines are not detected
* intersphinx: ``:attr:`` reference to property is broken
* html search: Search breaks/hangs when built with dirhtml builder
* todo: emit doctree-resolved event with non-document node incorrectly
2.2.8 (February 27, 2020)
-------------------------
Add a provider back-end for Nuspell (thanks, Sander van Geloven). Nuspell is
a new spell-checker whose development has been supported by the Mozilla
foundation. It is backwards-compatible with Hunspell and Myspell
dictionaries, while supporting a wider range of language peculiarities,
improved suggestions, and easier maintainability of the code-base.
Doxygen documentation generation is now supported for Enchant (thanks,
Sander van Geloven).
The command-line parsing of the “enchant” program has been made more
friendly and reliable. The -L flag (show line numbers), which had not been
working for some time, has been fixed.
A buffer overflow in personal wordlist handling has been fixed.
Minor improvements were made to the tests (thanks, Sander van Geloven).
documentation:
* Update documentation about how to add a new format to omindex. Patch from
Bruno Baruffaldi.
indexers:
* Check for a BOM on HTML files, which for HTML5 should determine the encoding.
omega:
* Allow $if{COND} without any actions which is useful as a way to evaluate
something but ignore the result if you just want the side effects. Indeed
we were already recommending to use it if you want to ignore the return value
of $log. Fixes bug introduced in 1.4.14, reported by tuftedocelot.
* Add OmegaScript support for $jsonbool{COND} for encoding a boolean value for
use in JSON. This is equivalent to $if{COND,true,false} but more readable.
* Add OmegaScript support for $jsonobject{} which allows producing a JSON
object from an OmegaScript map.
* Allow specifying a format to $jsonarray{} so it is no longer restricted to
producing an array of strings.
* Add $keys{MAP} OmegaScript command which gives a sorted list of the keys from
an OmegaScript map.
portability:
* Simplify probes for snprintf. The broken snprintf in libbsd in Linux libc4
is from ~25 years ago so way too ancient to matter now, and all callers
already handle the pre-ISO semantics of returning -1 for an undersize buffer
so we don't need to run a test program to probe for this at configure time,
which is more cross-compile friendly.
* Avoid deprecation warning on recent Linux. We were including sys/sysctl.h if
it existed, which it does on Linux but we don't actually use it there.
Including it now warns that it is deprecated, so skip including it under
Linux. Reported on IRC by kumaran.
API:
* Database::check(): Fix checking of replication changesets. This reverts a
change incorrectly made in 1.3.7.
* Database::locked(): Return false instead of true for a closed inmemory DB.
* Database::commit(): If commit() failed with an exception while trying to add
pending changes (e.g. InvalidArgumentError due to a long term containing zero
bytes) then a subsequent commit() on the same object would throw the same
exception. Now we clear the pending changes in this situation (like we
already did for failure at other stages in the commit). This bug remains
unfixed for the chert backend as it's harder to fix there and the effort to
fix it and extra risk of breakage don't seem justified for a backend we
recommend people migrate away from.
* QueryParser::parse_query(): Optimise parsing of multi-word synonyms.
testsuite:
* Use 50-word synonym for qp_scale1 "large" case. 50 divides exactly into the
number of repetitions we do for the "small" case, which 60 (as used before)
doesn't. This makes the two cases a little more comparable and should help
make this testcase less flaky (see #764).
* Adjust testcase matches1 to work with remote shards where the matcher can
return slightly better bounds on the number of matches in some cases.
Resolves 2 XFAILs.
* The testharness get_remote_database() method is now supported for sharded
databases. This is needed for keepalive1 to run successfully under multi
test backends. Resolves 2 XFAILs of keepalive1.
* Improved test coverage:
+ Test locked() on a closed WritableDatabase, which already returns false (as
expected) in 1.4.x (but was broken on master).
+ Check multi databases in testsuite - this has been supported by
Database::check() since 1.4.12.
+ Also test OP_SYNONYM and OP_MAX in emptydb1.
+ Backport testcases boolorbug1, emptynot1, emptymaybe1 and
phraseweightcheckbug1 from git master - these are regression tests for
fixed bugs which only affected git master, but it's useful to confirm that
these bugs don't currently affect 1.4, and ensure they don't get introduced.
* perftest: Store memory sizes as long long since on Microsoft Windows long is
only 32 bits, which is less than common memory sizes.
matcher:
* Hoist positional check above OP_FILTER.
* Handle OP_FILTER with more than two subqueries correctly. Previously we'd
only check the first two subqueries in some situations.
remote backend:
* For a remote WritableDatabase, the client now keeps track of whether there
are pending changes, and if there aren't then we now do nothing for commit()
or cancel() calls. In particular this saves a message exchange when the
WritableDatabase destructor is called when changes have already been
committed with an explicit call to commit() (which is what we recommend
doing, since with an explicit call to commit() you get to see any exception
which gets thrown).
* When closing a remote prog WritableDatabase, previously an exception could
leave the remote connection open with the remote server running, and we'd
then wait for the specified timeout before closing the connection. Now we
close the connection before letting the exception propagate.
* Don't swallow exceptions from Database::close() on a remote database. If
we aren't in a transaction and so try to commit() and that fails then
previously the caller would have no indication of the failure.
* Fix handling the reported term weight when remote shards are searched.
Fixes 5 XFAILs in the testsuite.
* Add missing space to mismatching protocol versions error message.
build system:
* Fix to build when configured with --disable-backend-remote, broken by changes
in 1.4.14. Fixes#797, reported by Дилян Палаузов.
* The clang and icc compilers both define __GNUC__, which led our ABI mismatch
message to report them as "g++" with a bogus version (the version of GCC that
these compilers advertise themselves as, which for clang is always 4.2.0) -
now we report clang++ or icc along with the actual version of that compiler.
documentation:
* AUTHORS: Apply missed update to the thankyou list for 1.4.14.
* INSTALL: Note that MSVC 2019 works.
* INSTALL: Note that Xapian can use the system uuid.h on AIX and OpenBSD.
portability:
* Simplify probes for snprintf. The broken snprintf in libbsd in Linux libc4
is from ~25 years ago so way too ancient to matter now, and all callers
already handle the pre-ISO semantics of returning -1 for an undersize buffer
so we don't need to run a test program to probe for this at configure time,
which is more cross-compile friendly.
* Don't quote messages in #error - the quotes aren't required and appear in the
compiler output (at least with GCC and clang) making it less readable.
* Use a different approach for getting a 64-bit capable stat() for mingw32.
This means we now use the same stat variant for mingw32 and MSVC, which
seems a better plan.
* Work around unhelpful config.status behaviour. It comments out any #undef
lines in config.h, even those added via AH_TOP and AH_BOTTOM. Splitting
these lines means they don't match the regex hammer config.status uses.
* Avoid -Wdeprecated-copy warnings from clang 10.
* Avoid deprecation warning on recent Linux. We were including sys/sysctl.h if
it existed, which it does on Linux but we don't actually use it there.
Including it now warns that it is deprecated, so skip including it under
Linux. Reported on IRC by kumaran.
* Suppress GCC -Wduplicated-branches warning from our API headers in a
different way which avoids needing a compiler-specific #pragma.
* Workaround closefrom1 failure on macOS. It seems under macOS our fd tracking
can end up using fd 10 so start from 13 when testing closefrom() so we don't
close the fd which our fd tracking is using internally.
debug code:
* Log RemoteConnection::read_at_least() return value.
Release 1.2.8:
* Fix for issue where duplicate images with hyperlinks weren't handled
correctly.
* Removed ``ReservedWorksheetName`` exception which was used with the reserved
worksheet name "History" since this name is allowed in some Excel variants.
* Fix for worksheet objects (charts, images and textboxes) that are inserted
with an offset that starts in a hidden cell.
* Fix to allow handling of NoneType in :func:`add_write_handler`.
Release 2.4.2:
Bugs fixed
* autodoc: ``autodoc.typehints`` crashed when variable has unbound object
as a value
* autodoc: separator for keyword only arguments is not shown
* autodoc: IndexError is raised on suppressed type_comment found
* autodoc: typehints extension does not support parallel build
* autodoc: TypeError is raised on fetching type annotations
* crashed when extension assigns a value to ``env.indexentries``
* text: Remove debug print
* viewcode: Avoid to crash when non-python code given
v1.1.1:
* Change of *skip* validation mode with errors filtering in decode() or encode()
* Extension of location hints by argument to imported/included schemas
* Fixed lazy validation with identity constraints
* Fixed many W3C instance tests (remain ~100 over 15344 tests)
Release 2.4.1:
Bugs fixed
* html: crashed when on scaling SVG images which have float dimentions
* autodoc: TypeError: ‘getset_descriptor’ object is not iterable
Release 2.4.0:
Deprecated
The decode argument of sphinx.pycode.ModuleAnalyzer()
sphinx.directives.other.Index
sphinx.environment.temp_data['gloss_entries']
sphinx.environment.BuildEnvironment.indexentries
sphinx.environment.collectors.indexentries.IndexEntriesCollector
sphinx.ext.apidoc.INITPY
sphinx.ext.apidoc.shall_skip()
sphinx.io.FiletypeNotFoundError
sphinx.io.get_filetype()
sphinx.pycode.ModuleAnalyzer.encoding
sphinx.roles.Index
sphinx.util.detect_encoding()
sphinx.util.get_module_source()
sphinx.util.inspect.Signature
sphinx.util.inspect.safe_getmembers()
sphinx.writers.latex.LaTeXTranslator.settings.author
sphinx.writers.latex.LaTeXTranslator.settings.contentsname
sphinx.writers.latex.LaTeXTranslator.settings.docclass
sphinx.writers.latex.LaTeXTranslator.settings.docname
sphinx.writers.latex.LaTeXTranslator.settings.title
sphinx.writers.latex.ADDITIONAL_SETTINGS
sphinx.writers.latex.DEFAULT_SETTINGS
sphinx.writers.latex.LUALATEX_DEFAULT_FONTPKG
sphinx.writers.latex.PDFLATEX_DEFAULT_FONTPKG
sphinx.writers.latex.XELATEX_DEFAULT_FONTPKG
sphinx.writers.latex.XELATEX_GREEK_DEFAULT_FONTPKG
Features added
* inheritance_diagram: Make the background of diagrams transparent
* duration: Add sphinx.ext.durations to inspect which documents slow down the build
* LaTeX: Support a nested table
* LaTeX: Allow to override LATEXOPTS and LATEXMKOPTS via environment variable
* graphviz: Support :class: option
* html: :scale: option of image/figure directive not working for SVG images (imagesize-1.2.0 or above is required)
* imgconverter: Support illustrator file (.ai) to .png conversion
* autodoc: Support Positional-Only Argument separator (PEP-570 compliant)
* autodoc: Support type annotations for variables
* autodoc: Add new event: autodoc-before-process-signature
* autodoc: Support type_comment style (ex. # type: (str) -> str) annotation (python3.8+ or typed_ast is required)
* autodoc: Support instance variables without defaults (PEP-526)
* autodoc: Add a new extension sphinx.ext.autodoc.typehints. It shows typehints as object description if autodoc_typehints = "description" set. This is an experimental extension and it will be integrated into autodoc core in Sphinx-3.0
* SphinxTranslator now calls visitor/departure method for super node class if visitor/departure method for original node class not found
* Add new event: object-description-transform
* py domain: py:data and py:attribute take new options named :type: and :value: to describe its type and initial value
* py domain: :py:attr: is able to refer properties again
* apidoc: Add -q option for quiet mode
Bugs fixed
* html: Remove redundant type=”text/javascript” from <script> elements
* html: SVG image is not layouted as float even if aligned
* autodoc: failed to read the source codes encoeded in cp1251
* latex: warning for babel shown twice
* latex: LaTeX compilation falls into infinite loop (wrapfig issue)
* latex: :reversed: option for toctree does not effect to LaTeX build
* Wrong node-ids are generated in glossary directive
* apidoc: misdetects module name for .so file inside module
* apidoc: private members are not shown even if --private given
* apidoc: Support a python package consisted of __init__.so file
* napoleon: fails to parse tilde in :exc: role
* gettext: Absolute path used in message catalogs
* autodoc: nested partial functions are not listed
* autodoc: partial functions imported from other modules are listed as module members without :impoprted-members: option
* autodoc: Trailing comma in :members:: option causes cryptic warning
* autosummary: autosummary_imported_members is ignored on generating a stub file for submodule
* linkcheck: redirect is treated as an error
* HTML template: If navigation_with_keys option is activated, modifier keys are ignored, which means the feature can interfere with browser features
* std domain: Can’t assign numfig-numbers for custom container nodes
* std domain: enumerated nodes are marked as duplicated when extensions call note_explicit_target()
* dirhtml: Cross references are broken via intersphinx and :doc: role
* C++:
- Don’t crash when using the struct role in some cases.
- Don’t warn when using the var/member role for function parameters.
- Render call and braced-init expressions correctly.
* Filenames of images generated by sphinx.transforms.post_transforms.images.ImageConverter or its subclasses (used for latex build) are now sanitized, to prevent broken paths
Upstream changelog (from CHANGELOG.md):
## 1.10.8 / 2020-02-10
### Security
[MRI] Pulled in upstream patch from libxml that addresses CVE-2020-7595.
Full details are available in [#1992](https://github.com/sparklemotion/nokogiri/issues/1992).
Note that this patch is not yet (as of 2020-02-10) in an upstream release of libxml.
- Important (and possibly breaking) changes:
- Change default schema from JSON to Core.
Reason: This is the recommended Schema for YAML 1.2, and what people
would expect to be the default.
- load* in scalar context returns first document.
Reason: I think this is the most reasonable behaviour, and it
will continue to work the same if you later add documents to a file.
- Empty nodes in YAML 1.2 JSON Schema resolve to '' by default like
before, but now it can be configured
- Fix some control character escaping and encoding issues (issue#16, issue#17)
YAML::PP will now just assume all input data are unicode characters
and won't do an explicit utf8::upgrade
- Fix Core schema resolver for inf: add +.inf, +.Inf, +.INF
- Improve emitter regarding empty lists/hashes (no newline before []/{})
- Spelling and grammar fixes (PR#23 @gregoa)
- Fix YAML::PP::Grammar pod (PR#22 @gregoa)
- Fix yamlpp5-load-dump
- Fix error tokens output
- Update yaml-test-suite to data-2020-02-11