1.2.1.0
* Add traverse
1.2.0.11
* Dropped upper version bounds of dependencies because it's to much
work to maintain.
1.2.0.10
* Support criterion-1.2
1.2.0.9
* Support base-4.10
1.2.0.8
* Support HUnit-1.5.
1.2.0.7
* Fix build of benchmarks when getting the sources from Hackage.
1.2.0.6
* Add Travis CI support
* Add Semigroup s => Semigroup (CI s) instance
1.2.0.5
* Support HUnit-1.3
* Support criterion-1.1
* Updated .nix files
1.2.0.4
* Fixed#17: https://github.com/basvandijk/case-insensitive/issues/17
1.2.0.3
* Add CHANGELOG to extra-source files so that it shows up on Hackage
1.2.0.2
* Bump base and deepseq upper bounds for GHC 7.10 compatibility
* Add case-insensitive.nix and default.nix
* Fix#14: Build failure with GHC 7.2.2
* Fix#8: Don't unnecessarily use NoImplicitPrelude
0.14.8, released 2019-05-01
#78, add strMap
0.14.7, released 2018-09-18
#75, escape single quote (') characters as '
#72, update some dead URLs
0.14.6, released 2018-02-27
Fix up source positions on bogus <! markers
0.14.5, released 2018-02-27
Fix up source positions on bogus <? markers
0.14.4, released 2018-02-26
#71, fix up source positions on bogus comments
0.14.3, released 2018-01-21
#70, fix up source positions on comments
0.14.2, released 2017-11-30
#66, make sure positions are correct for lone & characters
0.14.1, released 2017-02-25
#63, add maybeAttrib
0.14, released 2016-06-11
#14, eliminate Text.HTML.Download
0.13.10, released 2016-05-06
#51, improve the Haddock documentation
#52, fix some > 16bit HTML entities
* Breaking change: Switch RegExp API from the previously used
Monad(fail) to MonadFail(fail) to denote matching failures
* Define Extract Text instances for strict and lazy Text types
* Compatibility with base-4.13.0
* Explicitly declare all modules Safe under SafeHaskell for GHC 7.4
and higher
3.1.14.0
* Add parseFromFile to Text.Parsec.Text.Lazy and Text.Parsec.Text
(#103, #104).
* Clarify Haddock documentation in various places (#105,#101,#102).
* Add support for base-4.13.
3.1.13.0
* Add official support for SafeHaskell.
NOTE: This is the first version whose SafeHaskell properties have
become an intentional part of the API contract; previous versions
were merely accidentally safe-inferred (or not depending on various
factors; in other words, this was a fragile property). If you rely
on SafeHaskell to consider module imports from parsec safe, this is
the first version of parsec which actually guarantees a well-defined
state; you can declare this requirement by either specifying
build-depends: parsec >= 3.1.13.0 && < 3.2
or, starting with cabal-version:2.0, via
build-depends: parsec ^>= 3.1.13.0
* Drop support for GHC 7.0, GHC 7.2, and GHC 7.4.1; support window
starts with GHC 7.4.2.
3.1.12.0
* Support limited to GHC 7.0 & GHC 7.2 only
* Add MonadFail instance for ParsecT
* Add Semigroup/Monoid instances for ParsecT (#80,#82)
* Fix space leak in Applicative/Monad interface (#37)
* Add parserTrace and parserTraced combinators for debugging.
3.1.11
* Include README.md in package.
3.1.10
* Most types now have a Typeable instance. Some instances are dropped
from older versions of GHC (sorry about that!).
* The token-parser now rejects Unicode numeric escape sequences for
characters outside the Unicode range.
* The token-parser now loses less precision when parsing literal
doubles.
* Documentation fixes and corrections.
* We no longer test parsec builds on GHC 7.4.
- 0.9.1.2 (2019-10-02)
* Bump QuickCheck dependency to 2.13
* Bump containers dependency to 0.6
* Check in generated code
* Regenerate .travis.yml using haskell-ci
- 0.9.1.1 (2018-06-12)
* Fix generated source code on Hackage
- 0.9.1.0
* Add `u` element to HTML5
* Add `role` attribute to HTML5
* Bump HUnit dependency to 1.6
* Bump QuickCheck dependency to 2.11
- 0.9.0.1
* Fix CHANGELOG
- 0.9.0.0
* Bump blaze-html dependency to 0.8. This has a few consequences:
- Make `MarkupM` finally adhere to the Monad laws
- Stricten the `IsString` instance to only work with `MarkupM ()` and
not `MarkupM a`
- Change the type of `contents` to `MarkupM a -> MarkupM a`
- Add a `Semigroup` instance for `MarkupM`
- 0.7.1.1
- 0.8.1.3
* Bump HUnit dependency to 1.5
- 0.8.1.2
* Bump QuickCheck dependency to 2.9
- 0.8.1.1
* Bump HUnit dependency to 1.3
- 0.8.1.0
* Add `<main>` element to HTML5
- 0.8.0.2
* Relax blaze-builder dependency to include 0.3 again
- 0.8.0.1
* Bump QuickCheck dependency to 2.8
- 0.8.0.0
* Bump blaze-builder dependency to 0.4
- 0.7.1.0
* Add `itemscope` and `itemprop` attributes
* Constraint `blaze-markup` dependency
Changes in 1.2.1:
- Fixed: extraneous error message due to switch fallthrough.
Changes in 1.2:
- Added: yaml-json to convert YAML back into JSON. Doesn't suport YAML
aliases yet.
- Changed: Makefile no longer hardcodes /usr/local/{include,lib}.
- Changed: no longer requires nonstandard libc headers (err.h).
- Changed: small documentation tweaks.
- Removed: cleanup function; let OS handle it.
- Removed: version number from usage output.
0.13.2.1
* Improved performance of Data.Attoparsec.Text.asciiCI
0.13.2.0
* pure is now strict in Position
0.13.1.0
* runScanner now correctly returns the final state
(https://github.com/bos/attoparsec/issues/105).
* Parser, ZeptoT, Buffer, and More now expose Semigroup instances.
* Parser, and ZeptoT now expose MonadFail instances.
0.13.0.2
* Restore the fast specialised character set implementation for Text
* Move testsuite from test-framework to tasty
* Performance optimization of takeWhile and takeWhile1
0.13.0.1
* Fixed a bug in the implementations of inClass and notInClass for
Text (https://github.com/bos/attoparsec/issues/103)
0.13.0.0
* Made the parser type in the Zepto module a monad transformer (needed
by aeson's string unescaping parser).
0.12.1.6
* Fixed a case folding bug in the ByteString version of stringCI.
0.12.1.5
* Fixed an indexing bug in the new Text implementation of string,
reported by Michel Boucey.
0.12.1.4
* Fixed a case where the string parser would consume an unnecessary
amount of input before failing a match, when it could bail much
earlier (https://github.com/bos/attoparsec/issues/97)
* Added more context to error messages
(https://github.com/bos/attoparsec/pull/79)
0.12.1.3
* Fixed incorrect tracking of Text lengths
(https://github.com/bos/attoparsec/issues/80)
Release 2.3.1:
Bugs fixed
* sphinx-autogen: raises AttributeError
Release 2.3.0:
Incompatible changes
* end-before option of literalinclude directive does not match the first line of the code block.
* Change default User-Agent header to "Sphinx/X.Y.Z requests/X.Y.Z python/X.Y.Z". It can be changed via user_agent.
* text: content of admonitions starts after a blank line
Deprecated
sphinx.builders.gettext.POHEADER
sphinx.io.SphinxStandaloneReader.app
sphinx.io.SphinxStandaloneReader.env
sphinx.util.texescape.tex_escape_map
sphinx.util.texescape.tex_hl_escape_map_new
sphinx.writers.latex.LaTeXTranslator.no_contractions
Features added
* C++, support bit-fields.
* html: Eliminate prompt characters of doctest block from copyable text
* html: Use favicon for OpenSearch if available
* html theme: agogo theme now supports rightsidebar option
* Add PEP-561 Support
* latex: Allow to load additonal LaTeX packages via extrapackages key of latex_elements
* Add new config variable: user_agent
* LaTeX: have backslash also be an inline literal word wrap break character
* LaTeX: Support upLaTeX as a new latex_engine (experimental)
* Improve a warning message when extensions are not parallel safe
* Improve Intersphinx performance for multiple remote inventories.
* apidoc: .so file support
* autosummary: emit autodoc-skip-member event on generating stub file
* i18n: make explicit titles in toctree translatable
* linkcheck: Add linkcheck_auth option to provide authentication information when doing linkcheck builds
* linkcheck: Handles HTTP 308 Permanent Redirect
* html: Wrap section number in span tag
* gettext: Add gettext_last_translator' and :confval:`gettext_language_team to customize headers of POT file
Bugs fixed
* LaTeX: Longtable before header has incorrect distance (refs: latex3/latex2e#173)
* LaTeX: Avoid section names at the end of a page
* LaTeX: Do not replace unicode characters by LaTeX macros on unicode supported LaTeX engines: ¶, §, €, ∞, ±, →, ‣, –, superscript and subscript digits go through “as is” (as default OpenType font supports them)
* linkcheck: Be defensive and handle newly defined HTTP error code
* linkcheck: Failure on parsing content
* image URLs containing data: causes gettext builder crashed
* i18n: Error when compiling message catalogs on Hindi
* i18n: KeyError is raised if section title and table title are same
* i18n: rst_prolog breaks the translation
* mathbase: Some deprecated functions have removed
* autodoc: mock object does not work as a class decorator
* epub: Wrong internal href fragment links
* Allow not to install sphinx.testing as runtime (mainly for ALT Linux)
* html: search result was broken with empty html_file_suffix
* LaTeX does not wrap long code lines at backslash character
* LaTeX: PDF build breaks if admonition of danger type contains code-block long enough not to fit on one page
* LaTeX: code-block in a danger type admonition can easily spill over bottom of page
* texinfo: Code examples broken following “sidebar”
* An orphan warning is emitted for included document on Windows. Thanks to @drillan
* Fix smartypants module calls re.sub() with wrong options
* HTML search: If a search term is partially matched in the title and fully matched in a text paragraph on the same page, the search does not include this match.
* config.py shouldn’t pop extensions from overrides
* text: extra spaces are inserted to hyphenated words on folding lines
* LaTeX: xelatex converts straight double quotes into right curly ones (shows when smartquotes is False)
* LaTeX: even with smartquotes off, PDF output transforms straight quotes and consecutive hyphens into curly quotes and dashes
* LaTeX: multi-line display of authors on title page has ragged edges
* Sphinx crashes with docutils-0.16b0
* sphinx-build: A console message is wrongly highlighted
* sphinx-build: -D option does not considers 0 and 1 as a boolean value
v1.0.18:
* Fix for *ModelVisitor.iter_unordered_content()*
* Fixed default converter, AbderaConverter and JsonMLConverter for xs:anyType decode
* Fixed validation tests with all converters
* Added UnorderedConverter to validation tests
Changes in 0.91:
- Fix to missing MD5 linkage in Cocoapod file.
Changes in 0.90:
- Fix to avoid duplicate images being copied to an libxlsxwriter
file. Excel uses an optimization where it only stores one copy of
a repeated/duplicate image in a workbook. Libxlsxwriter didn't do
this which meant that the file size would increase when then was a
large number of repeated images. This release fixes that issue and
replicates Excel's behavior.
Release 1.2.7:
* Fix for duplicate images being copied to an XlsxWriter file. Excel uses an
optimization where it only stores one copy of a repeated/duplicate image in
a workbook. XlsxWriter didn't do this which meant that the file size would
increase when then was a large number of repeated images. This release fixes
that issue and replicates Excel's behavior.
* Added documentation on :ref:`num_format_categories` and
:ref:`num_format_locale`.
* Added note to :func:`protect()` about how it is possible to encrypt an
XlsxWriter file using a third party, cross platform, open source tool called
`msoffice-crypt <https://github.com/herumi/msoffice>`_.
Changes:
- Added support for default hyperlink style in worksheet_write_url().
- Added support for hyperlink in images, see
worksheet_insert_image_opt().
- Fixed several worksheet_write_url() edge cases.
- fixed default colour output in BBCode
(https://gitlab.com/saalen/highlight/issues/134)
- fixed corner case in sh.lang
- fixed syntax tests with UTF-8 input
(https://gitlab.com/saalen/highlight/issues/123)
- added support for Bash in outhtml_codefold.lua plug-in
- added ballerina.lang
- added block strings to java.lang
- added author hints in themes and language definitions
- added C++20 reserved words in c.lang
- added editorconfig file and validated all files accordingly (thanks to
Tristano Ajmone)
- CLI: fixed `--list-scripts` with `-d` or HIGHLIGHT_DATADIR env variable
(https://gitlab.com/saalen/highlight/issues/139)
- GUI W32: replaced multibyte path trace window by startup hint if
NtfsDisable8dot3NameCreation is set
- GUI: removed AsciiDoc instruction lines from the README popup window
documentation:
* Improve omindex --help docs for --duplicates.
* Document that $log will start to return an error message in 1.5.0, and that
one can wrap it using a $if with no action now to be future-proof.
indexers:
* Add built-in support for iso-8859-15 so we can handle it without iconv.
This charset is a variant of iso-8859-1 with 8 characters changed, most
notably including the euro currency symbol. It's the most commonly seen
charset we didn't have built-in support for.
* Optimise converting us-ascii to UTF-8 to do nothing, like we already do when
converting UTF-8 to UTF-8.
* scriptindex:
+ Add new 'gap' action which provides a way to leave a gap in the term
positions between fields to prevent phrases and positional operators from
matching across fields.
omega:
* Fix error handling in $lookup. We now check for errors from cdb_init()
and cdb_get(). We've never checked for errors from cdb_init(), while
for cdb_get() this bug was introduced by a warning fix in 1.2.20.
templates:
* Future-proof use of $log against changes in 1.5.0.
API:
* Xapian::QueryParser: Handle "" inside a quoted phrase better. In a quoted
boolean term, "" is treated as an escaped ", so handle it in a compatible way
for quoted phrases. Previously we'd drop out of the phrase and start a new
phrase. Fixes#630, reported by Austin Clements.
* Xapian::Stem: The constructor which takes a stemmer name now takes an
optional second bool parameter - if this is true, then an unknown stemmer
name falls back to using the "none" stemmer instead of throwing an exception.
This allows simply constructing a stemmer from an ISO language code without
having to worry about whether there's a stemmer for that language, and
without having to handle an exception if there isn't.
* Xapian::Stem: Fix a bug with handling 4-byte UTF-8 sequences which
potentially affects most of the stemmers. None of the stemmers work in
languages where 4-byte UTF-8 sequences are part of the alphabet, but this
bug could result in invalid UTF-8 sequences in terms generated from text
containing high Unicode codepoints such as emoji, which can cause issues (for
example, in some language bindings). Fix synced from Snowball git post
2.0.0. Reported by Ilari Nieminen in
https://github.com/snowballstem/snowball/issues/89.
* Xapian::Stem: Add a new is_none() method which tests if this is a "none"
stemmer.
* Xapian::Weight: The total length of all documents is now made available to
Xapian::Weight subclasses, and this is now used by DLHWeight, DPHWeight and
LMWeight. To maintain ABI compatibility, internally this still fetches the
average length and the number of documents, multiplies them, then rounds the
result, but in the next release series this will be handled directly.
* Xapian::Database::locked() on an inmemory database used to always return
false, but an inmemory Database is always actually a WritableDatabase
underneath, so now we always report true in this case because it's really
always report being locked for writing.
* Fix write one past end of std::vector on certain QueryParser parser errors.
This is undefined behaviour, but the write was always into reserved space, so
in practice we'd actually get away with it (it was noticed because it
triggers an error when running under ubsan and using libc++). Reported by
Germán M. Bravo.
* MSet::get_matches_estimated(): Improve rounding of result - a bug meant we
would almost always round down.
* Optimise test for UTF-8 continuation character. Performing a signed char
comparison shaves an instruction or two on most architectures.
* Database::get_revision(): Return revision 0 for a Database with no shards
rather that throwing InvalidOperationError.
* DPHWeight: Avoid dividing by 0 when searching a sharded database when one
shard is empty. The result wasn't used in this case, but it's still
undefined behaviour. Detected by UBSan.
testsuite:
* Fix failing multi_glass_remoteprog_glass tests on x86. When the tests are
run under valgrind, remote servers should be run using the runsrv wrapper
script, but this wasn't happening for remote servers in multi-databases - now
it is. Also, previously runsrv only used valgrind for the remote for an x86
build that didn't use SSE, but it seems there are x87 instructions in libc
that are affected by valgrind not providing excess precision, so do this for
x86 builds which use SSE too. Together these changes fix failures of
topercent2, xor2, tradweight1 under backend multi_glass_remoteprog_glass on
x86.
* Fix C++ One-Definition Rule (ODR) violation in testsuite code. Two different
source files linked into apitest were each defining a different `struct
test`. Wrap each in an anonymous namespace to localise it to the file it is
defined and used in. This was probably harmless in practice, unless trying
to build with Link-Time Optimisation or similar (which is how it was
detected).
* Test all language codes in stemlangs1. The testsuite hardcodes a list of
supported language codes which hadn't been updated since 2008.
* Improve DateRangeProcessor test coverage.
* The "singlefile" test harness backend manager now creates databases by
compacting the corresponding underlying backend database (creating it first
if need be) rather than always creating a temporary database to compact.
* Enable compaction testcases for multi and singlefile test harness backends.
* Add generated database support for remoteprog and remotetcp test harness
backends. Implemented by Tanmay Sachan.
* Add test harness support for running testcases using a multi database
comprised of one local and one remote shard, or two remote shards.
Implemented by Tanmay Sachan.
* Check if removing existing multi stub failed. Previously if removing an
existing stub failed, the test harness would create a temporary new stub and
then try to rename it over the old one, which will always fail on Microsoft
Windows.
* Wait for xapian-tcpsrv processes to finish before moving on to the next
testcase under __WIN32__ like we already do on POSIX platforms.
matcher:
* Handle pruning under a positional check. This used to be impossible, but
since 1.4.13 it can happen as we now hoist AND_NOT to just below where we
hoist the positional checks. The code on master already handles pruning here
so this bug is specific to the RELEASE/1.4 branch. Fixes#796, reported by
Oliver Runge.
* When searching with collapsing over multiple shards, at least some of which
are remote, uncollapsed_upper_bound could be too low and
uncollapsed_lower_bound too high. This was causing assertion failures in
testcases msize1 and msize2 under test harness backends
multi_glass_remoteprog_glass and multi_remoteprog_glass.
* Internally we no longer calculate a bogus total_term_count as the sum of
total_length * doc_count for all shards. Instead we just use the sum of
total_length, which gives the total number of term occurrences. This change
should improve the estimated collection_freq values for synonyms.
* Several places where we might divide zero by zero in a database where wdf was
always zero have been fixed.
* Optimise OP_AND_NOT better. We now combine its left argument with other
connected and-like subqueries, and gather up and hoist the negated subqueries
and apply them together above the combined and-like subqueries, just below
any positional filters.
* Optimise OP_AND_MAYBE better. We now combine its left argument with other
connected and-like subqueries, and gather up and hoist the optional
subqueries and apply them together above the combined and-like subqueries and
any hoisted positional filters.
* Treat all BoolWeight queries as scaled by 0 - we can optimise better if we
know the query is unweighted.
build system:
* configure: Stop using AC_FUNC_MEMCMP. The autoconf manual marks it as
"obsolescent", and it seems clear that nobody's relying on it as we're
missing the "'AC_LIBOBJ' replacement for 'memcmp'" which it would try to
use if needed.
glass backend:
* Allow zlib compression to reduce size by one byte. We were specifying an
output buffer size one byte smaller than the input, but it appears zlib won't
use the final byte in the buffer, so we actually need to pass the input size
as the output buffer size.
* Only try to compress Btree item values > 18 bytes, which saves CPU time
without sacrificing any significant size savings.
remote backend:
* Fix match stats when searching with collapsing over multiple shards and at
least some shards are remote. Bug discovered by Tanmay Sachan's test harness
improvements.
* Ignore orphaned remote protocol replies which can happen when searching with
a remote shard if an exception is thrown by another shard. Bug discovered
by Tanmay Sachan's test harness improvements.
* Wait for xapian-progsrv child to exit when a remote Database or
WritableDatabase object is closed under __WIN32__ like we already do for
POSIX platforms.
documentation:
* HACKING: Replace release docs with pointer to the developer guide where they
are now maintained.
* Correct documentation of initial messages in replication protocol.
tools:
* quest: Report bounds and estimate of number of matches.
* xapian-delve: Improve output when database revision information is not
available. We now specially handle the cases of a DB with multiple shards
and a backend which doesn't support get_revision().
portability:
* Eliminate 2 uses of atoi(). These are potentially problematic in a
multithreaded application if setlocale() is called by another thread at the
same time. See #665.
* Don't check __GNUC__ in visibility.h as the configure probe before defining
XAPIAN_ENABLE_VISIBILITY checks that the visibility attributes work. This
probably makes no difference in practice, as all compilers we're aware of
which support symbol visibility also define __GNUC__.
* Document Sun C++ requires --disable-shared. Closes#631.
* Fix warning from GCC 9 with -Wdeprecated-copy (which is enabled by -Wextra)
if a reference to an Error object is thrown.
* Suppress GCC warning in our API headers when compiling code using Xapian with
GCC and -Wduplicated-branches.
* Mark some internal classes as final (following GCC -Wsuggest-final-types
suggestions to allow some method calls to be devirtualised).
* Fix to build with --enable-maintainer-mode and Perl < 5.10, which doesn't
have the `//=` operator. It's unlikely developers will have such an old
Perl, but the mingw environment on appveyor CI does. The use of `//=` was
introduced by changes in 1.4.10.
* Noteworthy changes in release 3.3 (2018-12-20) [stable]
** Bug fixes
Some uses of \b in the C locale and with the DFA matcher would fail, e.g.,
the following would print nothing (it should print the input line):
echo 123-x|LC_ALL=C grep '.\bx'
Using a multibyte locale, using certain regexp constructs (some ranges,
backreferences), or forcing use of the PCRE matcher via --perl-regexp (-P)
would avoid the bug.
[bug introduced in grep 2.3]
* Noteworthy changes in release 3.2 (2018-12-20) [stable]
** Changes in behavior
The --files-without-match (-L) option now causes grep to succeed
when a file is listed, instead of when a line is selected. This
resembles what git-grep does.
** Bug fixes
The --recursive (-r) option no longer fails on MS-Windows.
[bug introduced in grep 2.11]
** Improvements
An over-30x performance improvement when many 'or'd expressions
share a common prefix, thanks to improvements in gnulib's dfa.c,
by Norihiro Tanaka. See gnulib commits v0.1-2110-ge648401be,
v0.1-2111-g4299106ce, v0.1-2117-g617a60974
An additional 3-23% speed-up when searching large files, via
increased initial buffer size.
grep now diagnoses stack overflow. Before grep-2.6, the included
regexp code would detect it. Since 2.6, grep defaulted to using
glibc's regexp, which lost that capability.