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
Low level spell checker and morphological analyzer based on the famous
'hunspell' library <https://hunspell.github.io>. The package can
analyze or check individual words as well as parse text, latex, html
or xml documents. For a more user-friendly interface use the
'spelling' package which builds on this package to automate checking
of files, documentation and vignettes in all common formats.
Spell checking common document formats including latex, markdown,
manual pages, and description files. Includes utilities to automate
checking of documentation and vignettes as a unit test during 'R CMD
check'. Both British and American English are supported out of the box
and other languages can be added. In addition, packages may define a
'wordlist' to allow custom terminology without having to abuse
punctuation.
Add ruby-inifile version 3.0.0 package required by new ruby-train-core.
This is a native Ruby package for reading and writing INI files.
Description
-----------
Although made popular by Windows, INI files can be used on any system thanks
to their flexibility. They allow a program to store configuration data, which
can then be easily parsed and changed. Two notable systems that use the INI
format are Samba and Trac.
More information about INI files can be found on the
[Wikipedia Page](http://en.wikipedia.org/wiki/INI_file).
v3.3.1 Mon Jan 13 10:27:16 CST 2020
========================================
[FIXES]
Some regexes would be shown as invalid when used with the -Q option. Since
the -Q tells ack to treat the regex as a literal, this shouldn't be
possible. (GH#294)
v3.3.0 Sat Dec 28 16:00:21 CST 2019
========================================
[FEATURES]
The error message ack displays when the regex passed is invalid has been
improved. The message is more readable and includes a pointer to the
offending part of the regex. For example:
$ ack 'status: (open|closed|in progress'
ack: Invalid regex 'status: (open|closed|in progress'
Regex: status: (open|closed|in progress
^---HERE Unmatched ( in regex
Added many new file and directory exclusions to speed up file selection.
* Python's *.pyc, *.pyd and *.pyo compiled files
* Python's __pycache__ and .pytest_cache directories
* Linux *.so shared object files
* Windows dynamic-link library *.dll files
* gettext compiled *.mo translation files
* macOS's __MACOSX directories and .DS_Store files
Reorganized the --help menu to put "action" options like -f, -g and -l at
the top of the listing.
The --show-types option only has an effect with -f or -g. ack will now
tell you if you use --show-types without -f or -g when it will have no
effect.
Improved the error message when ack gets passed two options that can't be
used together.
[FIXES]
Fixed the behavior of --break and --heading. Using --break would
implicitly set --noheading, and --heading would implicitly set --nobreak.
The following pairs of options don't make sense to use together, and ack will now warn you if you try:
* -x and --files-from
* -v and -o
* -v and --output
* -v and --passthru
Fixed the minimum version of the Getopt::Long module required. (GH #287)
The line number and filename separators in --passthru mode now work the
same as in context (-A/-B/-C) mode. (GH #291)
v3.2.0 Sun Nov 3 22:52:18 CST 2019
========================================
[FEATURES]
Added "-t X" as a short alias for --type=X.
Added "-T X" as a short alias for --type=noX.
The feature of using the name of the type as an option is deprecated. For
example, ack currently lets you use "--perl" instead of "--type=perl" or
"-t perl", This is now deprecated and will be removed in a future release.
Removed support for Parrot (--parrot).
v3.1.3 Sat Oct 19 19:23:48 CDT 2019
========================================
No changes to functionality. Fixed a problem with version numbers.
Thanks to Dan Book for his help.
See b3c43d4410
v3.1.2 Mon Oct 14 21:47:51 CDT 2019
========================================
[SPEEDUP]
Using -w with a pattern that ended with a metacharacter would be slower
than it should be because it would skip an optimization. Now it's fixed.
(GH #181, #251)
[FIXES]
Fixed test failures that would sometimes happen on Windows machines because
of taint mode. Thanks, Tomasz Konojacki. (GH #235)
Remove the use of the version.pm module.
v3.1.1 Sat Aug 31 22:56:10 CDT 2019
========================================
[SPEEDUP]
Improved the speed up the -l, -L and -c options by pre-scanning the file
in bulk before doing line-by-line scan. (GH #221)
ack now uses File::Next 1.18 which calls stat() only once per file or
directory, instead of sometimes calling it twice. This should improve the
time spent traversing directories.
[FIXES]
On Windows, patterns with $ to mark the end of the line would not match.
(GH #229)
[DOCUMENTATION]
Fixed docs that referred to --range-stop instead of --range-end. (GH #228)
v3.1.0 Thu Aug 22 22:43:15 CDT 2019
========================================
[FEATURES]
Added the --range-start and --range-end options to allow searching only
ranges of each file. (GH #165)
v3.0.3 Tue Aug 20 23:42:02 CDT 2019
========================================
[FIXES]
Made smartcase's check for lowercase patterns smarter.
[DOCUMENTATION]
Updated many URLs, especially in the config. (GH #223)
v3.0.2 Thu Jul 4 21:42:43 CDT 2019
========================================
[FIXES]
ack's smart-case feature would think that a pattern like "select \S+ from"
is looking for a uppercase letter, and so would not make a case-insensitive
search. Now, ack knows that uppercase letters in metacharacters don't
count as looking for a uppercase letter. (GH #156, 187, 214)
v3.0.1 Tue Jun 25 20:47:58 CDT 2019
========================================
[FIXES]
The -s option tells ack not to complain about missing or unreadable files
it tries to search. The -s option would not always work in conjection with
the -x option. Now it does. Thanks, Anders Eriksson and M. Scott Ford.
(GH #175)
ack would die if you specified a --output option that didn't use one
of Perl's special match variables. Now it won't. Thanks, M. Scott
Ford. (GH #210)
[INTERNALS]
Added a Dockerfile for use when working on ack development. Thanks,
M. Scott Ford. (GH #208)
v3.0.0 Mon May 27 21:46:34 CDT 2019
========================================
First official release of ack verison 3.
See "Release notes for ack 3.0.0" at the bottom of this document for
details of what has changed between ack 2.x and ack 3.
[FIXES]
Fixed a failing test if Pod::Perldoc::ToTextOverstrike was being
used. (GH#202)
2.999_08 Sun May 19 20:33:13 CDT 2019
=====================================
[ENHANCEMENTS]
Consolidated the manual and FAQ into one document, accessible with --man.
Cookbook.pm has been moved to dev for future use.
Added SVG filetype.
[FIXES]
Invalid options used to cause an error message triplicate. Fixes GH #192.
2.999_07 Sun Mar 31 21:54:55 CDT 2019
=====================================
[ENHANCEMENTS]
Added --help-colors and --help-rgb-colors options to display colors
available for color options.
Many more mutex options have been added to help users know when they've
made a mistake. For example, it doesn't make sense to have -C to show
context when using -f to get a file list.
Overhauled the handling of mutually exclusive options. We now properly
handle mutex options even if they are abbreviated. The actual argument
used is now shown. Fixes GH #57.
2.999_06 Thu Jan 10 20:37:23 CST 2019
=====================================
[ENHANCEMENTS]
The --tt option for Template Toolkit is now --ttml. The short version
still works.
The standalone version of ack no longer supports the --faq or --cookbook
options, which never worked right for it anyway. Instead, --man includes
the FAQ and Cookbook.
The --man option no longer uses the `perldoc` program for rendering the
documentation. This means you'll have to pipe it into your own pager if
you want scrolling, but it makes it much more portable.
[FIXES]
ack would stop finding files if there was a file named "0" in the current
directory. Thanks, Rob Hoelz. (GH #162)
[REMOVED FUNCTIONALITY]
The --lines option has been removed. (GH #167)
The -u short alias for --underline has been removed. (GH #173)
2.999_05 Sun Oct 21 21:37:39 CDT 2018
=====================================
[ENHANCEMENTS]
Add -p as a shorter version of --proximate.
2.999_04 Thu Sep 6 17:45:07 CDT 2018
=====================================
[ENHANCEMENTS]
Added -P as a negation of --proximate. It is the same as --proximate=0.
If you have --proximate in an .ackrc, -P can be used to cancel it.
Added --ts for Typescript.
2.999_03 Fri Jan 19 11:02:46 CST 2018
=====================================
[ENHANCEMENTS]
The check for whether we need to scan the entire file line-by-line now
reads 10M of file instead of just 100K.
Removed support for the ACK_OPTIONS environment variable. Use an ackrc
file instead. If you have ACK_OPTIONS set, ack will give a warning.
Lots of internal speedups.
2.999_02 Mon Jan 8 23:03:42 CST 2018
=====================================
[ENHANCEMENTS]
Added an optimization to make ack only do a line-by-line search of a
file if there's a match somewhere in the file. This gives ack a 20-30%
in timings of common cases.
2.999_01 Mon Jan 1 22:11:17 CST 2018
=====================================
[ENHANCEMENTS]
Added --pod as a filetype, recognizing .pod as its extension. This is
Perl's POD (Plain Old Documentation) format.
Added --markdown as a filetype, recognizing .md and .markdown as
extensions.
--pager is no longer allowed in a project .ackrc file. --match and
--output are not allowed in any .ackrc file.
ack 3's new features are listed below for now.
[FIXES]
--lines had some mutex options that were not getting checked. Now,
--lines is mutex with --passthru, --match and all context options.
=============================
# Release notes for ack 3.0.0
=============================
# New features
ack 3 is a greplike tool optimized for searching large code trees.
Improvements over ack 2 include:
* Improved `-w` option.
* `-w` option will warn if your pattern does not lend itself to
word matching.
* `-i`, `-I` and `--smart-case`
* `--proximate=N` option
* Added `--pod` and `--markdown`.
* Added `GNUmakefile` to the list of makefile specs.
* Added `-S` as a synonym for `--smart-case`.
# Bug fixes
* Column numbers were not getting colorized in the output. Added
`--color-colno` option and `ACK_COLOR_COLNO` environment variable.
* A pattern that wanted whitespace at the end could match the
linefeed at the end of a line. This is no longer possible.
# Incompatibilities with ack 2
## ack 3 requires Perl 5.10.1
ack 2 only needed Perl 5.8.8. This shouldn't be a problem since 5.10.1
has been out since 2009.
## ack 3 no longer highlights capture groups.
ack 2 would highlight your capture groups. For example,
ack '(set|get)_foo_(name|id)'
would highlight the `set` or `get`, and the `name` or `id`, but not the
full `set_user_id` that was matched.
This feature was too confusing and has been removed. Now, the entire
matching string is highlighted.
## ack 3's --output allows fewer special variables
In ack 2, you could put any kind of Perl code in the `--output`
option and it would get `eval`uated at run time, which would let
you do tricky stuff like this gem from Mark Fowler
(http://www.perladvent.org/2014/2014-12-21.html):
ack --output='$&: @{[ eval "use LWP::Simple; 1" && length LWP::Simple::get($&) ]} bytes' \
'https?://\S+' list.txt
http://google.com/: 19529 bytes
http://metacpan.org/: 7560 bytes
http://www.perladvent.org/: 5562 bytes
This has been a security problem in the past, and so in ack 3 we
no longer `eval` the contents of `--output`. You're now restricted
to the following variables: `$1` thru `$9`, `$_`, `$.`, `$&`, ``$` ``,
`$'` and `$+`. You can also embed `\t`, `\n` and `\r` ,
and `$f` as stand-in for `$filename` in `ack2 --output` .
2.28 Mon Mar 18 22:48:57 CDT 2019
====================================
[ENHANCEMENTS]
The --help-rgb-colors option now displays the RGB codes organized by
HSL values for easier picking. Thanks, Bill Ricker.
2.26 Sun Mar 17 22:00:00 CDT 2019
====================================
[ENHANCEMENTS]
Added --help-colors and --help-rgb-colors options to display colors
available for color options.
Clarified the docs for --lines option. Thanks, Rob Hoelz. (GH #673)
[FIXES]
Use File::Temp for temp files during tests on Win32. Thanks, Tim Gim Yee.
(GH #671)
Version 2.11.1
- Fix a bug that prevented looking up a key after an attribute
(``{{ data.items[1:] }}``) in an async template.
Version 2.11.0
- Drop support for Python 2.6, 3.3, and 3.4. This will be the last
version to support Python 2.7 and 3.5.
- Added a new ``ChainableUndefined`` class to support getitem and
getattr on an undefined object.
- Allow ``{%+`` syntax (with NOP behavior) when ``lstrip_blocks`` is
disabled.
- Added a ``default`` parameter for the ``map`` filter.
- Exclude environment globals from
:func:`meta.find_undeclared_variables`.
- Float literals can be written with scientific notation, like
2.56e-3.
- Int and float literals can be written with the '_' separator for
legibility, like 12_345.
- Fix a bug causing deadlocks in ``LRUCache.setdefault``.
- The ``trim`` filter takes an optional string of characters to trim.
- A new ``jinja2.ext.debug`` extension adds a ``{% debug %}`` tag to
quickly dump the current context and available filters and tests.
- Lexing templates with large amounts of whitespace is much faster.
- Parentheses around comparisons are preserved, so
``{{ 2 * (3 < 5) }}`` outputs "2" instead of "False".
- Add new ``boolean``, ``false``, ``true``, ``integer`` and ``float``
tests.
- The environment's ``finalize`` function is only applied to the
output of expressions (constant or not), not static template data.
- When providing multiple paths to ``FileSystemLoader``, a template
can have the same name as a directory.
- Always return :class:`Undefined` when omitting the ``else`` clause
in a ``{{ 'foo' if bar }}`` expression, regardless of the
environment's ``undefined`` class. Omitting the ``else`` clause is a
valid shortcut and should not raise an error when using
:class:`StrictUndefined`.
- Fix behavior of ``loop`` control variables such as ``length`` and
``revindex0`` when looping over a generator.
- Async support is only loaded the first time an environment enables
it, in order to avoid a slow initial import.
- In async environments, the ``|map`` filter will await the filter
call if needed.
- In for loops that access ``loop`` attributes, the iterator is not
advanced ahead of the current iteration unless ``length``,
``revindex``, ``nextitem``, or ``last`` are accessed. This makes it
less likely to break ``groupby`` results.
- In async environments, the ``loop`` attributes ``length`` and
``revindex`` work for async iterators.
- In async environments, values from attribute/property access will
be awaited if needed.
- :class:`~loader.PackageLoader` doesn't depend on setuptools or
pkg_resources.
- ``PackageLoader`` has limited support for :pep:`420` namespace
packages.
- Support :class:`os.PathLike` objects in
:class:`~loader.FileSystemLoader` and :class:`~loader.ModuleLoader`.
- :class:`~nativetypes.NativeTemplate` correctly handles quotes
between expressions. ``"'{{ a }}', '{{ b }}'"`` renders as the tuple
``('1', '2')`` rather than the string ``'1, 2'``.
- Creating a :class:`~nativetypes.NativeTemplate` directly creates a
:class:`~nativetypes.NativeEnvironment` instead of a default
:class:`Environment`.
- After calling ``LRUCache.copy()``, the copy's queue methods point to
the correct queue.
- Compiling templates always writes UTF-8 instead of defaulting to the
system encoding.
- ``|wordwrap`` filter treats existing newlines as separate paragraphs
to be wrapped individually, rather than creating short intermediate
lines.
- Add ``break_on_hyphens`` parameter to ``|wordwrap`` filter.
- Cython compiled functions decorated as context functions will be
passed the context.
- When chained comparisons of constants are evaluated at compile time,
the result follows Python's behavior of returning ``False`` if any
comparison returns ``False``, rather than only the last one.
- Tracebacks for exceptions in templates show the correct line numbers
and source for Python >= 3.7.
- Tracebacks for template syntax errors in Python 3 no longer show
internal compiler frames.
- Add a ``DerivedContextReference`` node that can be used by
extensions to get the current context and local variables such as
``loop``.
- Constant folding during compilation is applied to some node types
that were previously overlooked.
- ``TemplateSyntaxError.source`` is not empty when raised from an
included template.
- Passing an ``Undefined`` value to ``get_template`` (such as through
``extends``, ``import``, or ``include``), raises an
``UndefinedError`` consistently. ``select_template`` will show the
undefined message in the list of attempts rather than the empty
string.
- ``TemplateSyntaxError`` can be pickled.
4.5.0:
Features added
* A new function ``indent()`` was added to insert tail whitespace for pretty-printing
an XML tree.
Bugs fixed
* Tail text of nodes that get removed from a document using item
deletion disappeared silently instead of sticking with the node that was removed.
Other changes
* MacOS builds are 64-bit-only by default.
Set CFLAGS and LDFLAGS explicitly to override it.
* Linux/MacOS Binary wheels now use libxml2 2.9.10 and libxslt 1.1.34.
* The package version number is now available as ``lxml.__version__``.
build with qt5 5.14
All frameworks
Port from QRegExp to QRegularExpression
Port from qrand to QRandomGenerator
Fix compilation with Qt 5.15 (e.g. endl is now Qt::endl,
QHash insertMulti now requires using QMultiHash...)
Attica
Don't use a verified nullptr as a data source
Support multiple children elements in comment elements
Set a proper agent string for Attica requests
Baloo
Correctly report if baloo_file is unavailable
Check cursor_open return value
Initialise QML monitor values
Move URL parsing methods from kioslave to query object
Breeze Icons
Change XHTML icon to be a purple HTML icon
Merge headphones and zigzag in the center
Add application/x-audacity-project icon
Add 32px preferences-system
Add application/vnd.apple.pkpass icon
icon for ktimetracker using the PNG in the app repo, to be replaced
with real breeze SVG
add kipi icon, needs redone as a breeze theme svg [or just kill off kipi]
Extra CMake Modules
[android] Fix apk install target
Support PyQt5 compiled with SIP 5
Framework Integration
Remove ColorSchemeFilter from KStyle
KDE Doxygen Tools
Display fully qualified class/namespace name as page header
KCalendarCore
Improve README.md to have an Introduction section
Make incidence geographic coordinate also accessible as a property
Fix RRULE generation for timezones
KCMUtils
Deprecate KCModuleContainer
KCodecs
Fix invalid cast to enum by changing the type to int rather than enum
KCompletion
Deprecate KPixmapProvider
[KHistoryComboBox] Add method to set an icon provider
KConfig
kconfig EBN transport protocol cleanup
Expose getter to KConfigWatcher's config
Fix writeFlags with KConfigCompilerSignallingItem
Add a comment pointing to the history of Cut and Delete sharing a shortcut
KConfigWidgets
Rename "Configure Shortcuts" to "Configure Keyboard Shortcuts"
KContacts
Align ECM and Qt setup with Frameworks conventions
Specify ECM dependency version as in any other framework
KCoreAddons
Add KPluginMetaData::supportsMimeType
[KAutoSaveFile] Use QUrl::path() instead of toLocalFile()
Unbreak build w/ PROCSTAT: add missing impl. of KProcessList::processInfo
[KProcessList] Optimize KProcessList::processInfo
[KAutoSaveFile] Improve the comment in tempFileName()
Fix KAutoSaveFile broken on long path
KDeclarative
[KeySequenceHelper] Grab actual window when embedded
Add optional subtitle to grid delegate
[QImageItem/QPixmapItem] Don't lose precision during calculation
KFileMetaData
Partial fix for accentuated characters in file name on Windows
Remove unrequired private declarations for taglibextractor
Partial solution to accept accentuated characters on windows
xattr: fix crash on dangling symlinks
KIconThemes
Set breeze as default theme when reading from configuration file
Deprecate the top-level IconSize() function
Fix centering scaled icons on high dpi pixmaps
KImageFormats
pic: Fix Invalid-enum-value undefined behaviour
KIO
[KFilePlacesModel] Fix supported scheme check for devices
Embed protocol data also for Windows version of trash ioslave
Adding support for mounting KIOFuse URLs for applications that don't use KIO
Add truncation support to FileJob
Deprecate KUrlPixmapProvider
Deprecate KFileWidget::toolBar
[KUrlNavigator] Add RPM support to krarc:
KFilePlaceEditDialog: fix crash when editing the Trash place
Add button to open the folder in filelight to view more details
Show more details in warning dialog shown before starting a
privileged operation
KDirOperator: Use a fixed line height for scroll speed
Additional fields such as deletion time and original path are now
shown in the file properties dialog
KFilePlacesModel: properly parent tagsLister to avoid memleak.
HTTP ioslave: call correct base class in virtual_hook(). The
base of HTTP ioslave is TCPSlaveBase, not SlaveBase
Ftp ioslave: fix 4 character time interpreted as year
Re-add KDirOperator::keyPressEvent to preserve BC
Use QStyle for determining icon sizes
Kirigami
ActionToolBar: Only show the overflow button if there are visible
items in the menu
Don't build and install app templates on android
Don't hardcode the margin of the CardsListView
Add support for custom display components to Action
Let the other components grow if there's more things on the header
Remove dynamic item creation in DefaultListItemBackground
reintroduce the collapse button
Show application window icon on AboutPage
KItemModels
Add KColumnHeadersModel
KJS
Added tests for Math.exp()
Added tests for various assignment operators
Test special cases of multiplicate operators (*, / and %)
KNewStuff
Ensure the dialog title is correct with an uninitialised engine
Don't show the info icon on the big preview delegate
Support archive installs with adoption commands
Send along the config name with requests
KPeople
Expose enum to the metaobject compiler
KQuickCharts
Also correct the shader header files
Correct license headers for shaders
KService
Deprecate KServiceTypeProfile
KTextEditor
Add "line-count" property to the ConfigInterface
Avoid unwanted horizontal scrolling
KWayland
[plasmashell] Update docs for panelTakesFocus to make it generic
[plasmashell] Add signal for panelTakesFocus changing
KXMLGUI
KActionCollection: provide a changed() signal as a replacement for removed()
Adjust keyboard shortcut configuration window's title
NetworkManagerQt
Manager: add support for AddAndActivateConnection2
cmake: Consider NM headers as system includes
Sync Utils::securityIsValid with NetworkManager
Plasma Framework
[ToolTip] Round position
Enable wheel events on Slider {}
Sync QWindow flag WindowDoesNotAcceptFocus to wayland plasmashell interface
[calendar] Check out of bounds array access in QLocale lookup
[Plasma Dialog] Use QXcbWindowFunctions for setting window types Qt
WindowFlags doesn't know
[PC3] Complete plasma progress bar animation
[PC3] Only show progress bar indicator when the ends won't overlap
[RFC] Fix Display Configuration icon margins
[ColorScope] Work with plain QObjects again
[Breeze Desktop Theme] Add monochrome user-desktop icon
Remove default width from PlasmaComponents3.Button
[PC3 ToolButton] Have the label take into account complementary color schemes
Added background colors to active and inactive icon view
QQC2StyleBridge
[ToolTip] Round position
Update size hint when font changes
Solid
Display first / in mounted storage access description
Ensure mounted nfs filesystems matches their fstab declared counterpart
Sonnet
The signal done is deprecated in favour of spellCheckDone, now correctly emitted
Syntax Highlighting
LaTeX: fix brackets in some commands
TypeScript: add "bigint" primitive type
Python: improve numbers, add octals, binaries and "breakpoint" keyword
SELinux: add "glblub" keyword and update permissions list
Several enhancements to gitolite syntax definition
- Added option to specify worksheet "object positioning" for images and
charts to define how they move or size with underlying cells. See
ww_object_position_options and working_with_object_positioning.