ftfy has gotten by for four years without dependencies on other Python libraries, but now we can spare ourselves some code and some maintenance burden by delegating certain tasks to other libraries that already solve them well. This version now depends on the html5lib and wcwidth libraries.
Feature changes:
The remove_control_chars fixer will now remove some non-ASCII control characters as well, such as deprecated Arabic control characters and byte-order marks. Bidirectional controls are still left as is.
This should have no impact on well-formed text, while cleaning up many characters that the Unicode Consortium deems "not suitable for markup" (see Unicode Technical Report #20).
The unescape_html fixer uses a more thorough list of HTML entities, which it imports from html5lib.
ftfy.formatting now uses wcwidth to compute the width that a string will occupy in a text console.
Heuristic changes:
Updated the data file of Unicode character categories to Unicode 9, as used in Python 3.6.0. (No matter what version of Python you're on, ftfy uses the same data.)
Pending deprecations:
The remove_bom option will become deprecated in 5.0, because it has been superseded by remove_control_chars.
ftfy 5.0 will remove the previously deprecated name fix_text_encoding. It was renamed to fix_encoding in 4.0.
ftfy 5.0 will require Python 3.2 or later, as planned. Python 2 users, please specify ftfy < 5 in your dependencies if you haven't already.
Version 4.2.0 (September 28, 2016)
Heuristic changes:
Math symbols next to currency symbols are no longer considered 'weird' by the heuristic. This fixes a false positive where text that involved the multiplication sign and British pounds or euros (as in '5×£35') could turn into Hebrew letters.
A heuristic that used to be a bonus for certain punctuation now also gives a bonus to successfully decoding other common codepoints, such as the non-breaking space, the degree sign, and the byte order mark.
In version 4.0, we tried to "future-proof" the categorization of emoji (as a kind of symbol) to include codepoints that would likely be assigned to emoji later. The future happened, and there are even more emoji than we expected. We have expanded the range to include those emoji, too.
ftfy is still mostly based on information from Unicode 8 (as Python 3.5 is), but this expanded range should include the emoji from Unicode 9 and 10.
Emoji are increasingly being modified by variation selectors and skin-tone modifiers. Those codepoints are now grouped with 'symbols' in ftfy, so they fit right in with emoji, instead of being considered 'marks' as their Unicode category would suggest.
This enables fixing mojibake that involves iOS's new diverse emoji.
An old heuristic that wasn't necessary anymore considered Latin text with high-numbered codepoints to be 'weird', but this is normal in languages such as Vietnamese and Azerbaijani. This does not seem to have caused any false positives, but it caused ftfy to be too reluctant to fix some cases of broken text in those languages.
The heuristic has been changed, and all languages that use Latin letters should be on even footing now.
Version 4.1.1 (April 13, 2016)
Bug fix: in the command-line interface, the -e option had no effect on Python 3 when using standard input. Now, it correctly lets you specify a different encoding for standard input.
Version 4.1.0 (February 25, 2016)
Heuristic changes:
ftfy can now deal with "lossy" mojibake. If your text has been run through a strict Windows-1252 decoder, such as the one in Python, it may contain the replacement character � (U+FFFD) where there were bytes that are unassigned in Windows-1252.
Although ftfy won't recover the lost information, it can now detect this situation, replace the entire lossy character with �, and decode the rest of the characters. Previous versions would be unable to fix any string that contained U+FFFD.
As an example, text in curly quotes that gets corrupted “ like this â€� now gets fixed to be “ like this �.
Updated the data file of Unicode character categories to Unicode 8.0, as used in Python 3.5.0. (No matter what version of Python you're on, ftfy uses the same data.)
Heuristics now count characters such as ~ and ^ as punctuation instead of wacky math symbols, improving the detection of mojibake in some edge cases.
New features:
A new module, ftfy.formatting, can be used to justify Unicode text in a monospaced terminal. It takes into account that each character can take up anywhere from 0 to 2 character cells.
Internally, the utf-8-variants codec was simplified and optimized.
Version 4.0.0 (April 10, 2015)
Breaking changes:
The default normalization form is now NFC, not NFKC. NFKC replaces a large number of characters with 'equivalent' characters, and some of these replacements are useful, but some are not desirable to do by default.
The fix_text function has some new options that perform more targeted operations that are part of NFKC normalization, such as fix_character_width, without requiring hitting all your text with the huge mallet that is NFKC.
If you were already using NFC normalization, or in general if you want to preserve the spacing of CJK text, you should be sure to set fix_character_width=False.
The remove_unsafe_private_use parameter has been removed entirely, after two versions of deprecation. The function name fix_bad_encoding is also gone.
New features:
Fixers for strange new forms of mojibake, including particularly clear cases of mixed UTF-8 and Windows-1252.
New heuristics, so that ftfy can fix more stuff, while maintaining approximately zero false positives.
The command-line tool trusts you to know what encoding your input is in, and assumes UTF-8 by default. You can still tell it to guess with the -g option.
The command-line tool can be configured with options, and can be used as a pipe.
Recognizes characters that are new in Unicode 7.0, as well as emoji from Unicode 8.0+ that may already be in use on iOS.
Deprecations:
fix_text_encoding is being renamed again, for conciseness and consistency. It's now simply called fix_encoding. The name fix_text_encoding is available but emits a warning.
Pending deprecations:
Python 2.6 support is largely coincidental.
Python 2.7 support is on notice. If you use Python 2, be sure to pin a version of ftfy less than 5.0 in your requirements.
rewrite of the construction algorithm to speed it up and save memory
1.9 [2015-10-10]
recompiled with Cython 0.23.4 for better compatibility with recent Python versions.
# 1.7.0.1 / 2017-01-04
## Bugs
* Fix OpenBSD support. (#1569) (related to #1543)
# 1.7.0 / 2016-12-26
## Features
* Remove deprecation warnings in Ruby 2.4.0 (#1545) (Thanks, @matthewd!)
* Support egcc compiler on OpenBSD (#1543) (Thanks, @frenkel and @knu!)
## Backwards incompatibilities.
This release ends support for:
* Ruby 1.9.2, for which official support ended on 2014-07-31
* Ruby 1.9.3, for which official support ended on 2015-02-23
* Ruby 2.0.0, for which official support ended on 2016-02-24
* MacRuby, which hasn't been actively supported since 2015-01-13 (see f76b9d6e99)
2.400 (2017-01-01)
- new release version
- remove author tests
- more spelling fixes
2.399_20161227
- FIXES#119468: [PATCH] spelling fixes (reported by GREGOA)
- possible fix for utf8 warnings under perl 5.8.x
2.399_20161210
- update to Unicode 9.0.0
- changed generation of tests so that TODO is no longer required when
the module author's perl doesn't support the newest Unicode version
Version 1.1.18
- Use p1_utils 1.0.6
- fix xref with otp 17
Version 1.1.17
- Add 'undefined' type to some record fields type specs
Version 1.1.16
- Improve XML generator
Release 0.9.6 - Dec 26 2016
---------------------------
* Fix for table with data but without a header.
* Add a warning when the number of series in a chart exceeds Excel's limit
of 255.
Release 0.9.5 - Dec 24 2016
---------------------------
* Fix for missing `remove_timezone` option in Chart class.
Release 0.9.4 - Dec 2 2016
--------------------------
* Added user definable removal of timezones in datetimes. See the
:func:`Workbook` constructor option ``remove_timezone`` and :ref:`Timezone
Handling in XlsxWriter <timezone_handling>`.
* Fix duplicate header warning in :func:`add_table` when there is only one
user defined header.
* Fix for `center_across` property in :func:`add_format`.
documentation:
* Replace auto-generated list of the supported MIME types with an
auto-generated table showing the extensions that are mapped to each MIME type
by default. Partly addresses #569, reported by catkin.
indexers:
* omindex: Add support for indexing markdown files (extension .md or .markdown,
mime-type text/markdown, using "markdown" to convert to HTML).
testsuite:
* Add support for "make installcheck" to run tests against installed version.
build system:
* configure: Fail with clear error with xapian-core < 1.4.0.
portability:
* Fix GCC -Wimplicit-fallthrough warning.
* Add missing <ctime> for time_t.
* Avoid snprintf_for formatting fixed-width integers - it results in warnings
about possible output truncation with GCC7 (which aren't actually possible
due to limited input range) and it's a bit heavyweight for this job anyway.
API:
* Add XAPIAN_AT_LEAST(A,B,C) macro.
* MSet::snippet(): Optimise snippet generation - it's now ~46% faster in a
simple test.
* Add Xapian::DOC_ASSUME_VALID flag which tells Database::get_document() that
it doesn't need to check that the passed docid is valid. Fixes#739,
reported by Germán M. Bravo.
* TfIdfWeight: Add support for the L wdf normalisation. Patch from Vivek Pal.
* BB2Weight: Fix weights when database has just one document. Our existing
attempt to clamp N to be at least 2 was ineffective due to computing
N - 2 < 0 in an unsigned type.
* DPHWeight: Fix reversed sign in quadratic formula, making the upper bound a
tiny amount higher.
* DLHWeight: Correct upper bound which was a bit too low, due to flawed logic
in its derivation. The new bound is slightly less tight (by a few percent).
* DLHWeight,DPHWeight: Avoid calculating log(0) when wdf is equal to the
document length.
* TermGenerator: Handle stemmer returning empty string - the Arabic stemmer
can currently do this (e.g. for a single tatweel) and user stemmers can too.
Fixes#741, reported by Emmanuel Engelhart.
* Database::check(): Fix check that the first docid in each doclength chunk is
more than the last docid in the previous chunk - this code was in the wrong
place so didn't actually work.
* Database::get_unique_terms(): Clamp returned value to be <= document length.
Ideally get_unique_terms() ought to only count terms with wdf > 0, but that's
expensive to calculate on demand.
glass backend:
* When compacting we now only write the iamglass file out once, and we write it
before we sync the tables but sync it after, which is more I/O friendly.
* Database::check(): Fix in SEGV when out == NULL and opts != 0.
* Fix potential SEGV with corrupt value stats.
chert backend:
* Fix potential SEGV with corrupt value stats.
build system:
* Add XO_REQUIRE autoconf macro to provide an easy way to handle version checks
in user configure scripts.
tools:
* quest: Support BM25+, LM and PL2+ weighting schemes.
* xapian-check: Fix when ellipses are shown in 't' mode. They were being shown
when there were exactly 6 entries, but we only start omitting entries when
there are *more* than 6. Fix applies to both glass and chert.
portability:
* Avoid using opendir()/readdir() in our closefrom() implementation as these
functions can call malloc(), which isn't safe to do between fork() and exec()
in a multi-threaded program, but after fork() is exactly where we want to
use closefrom(). Instead we now use getdirentries() on Linux and
getdirentriesattr() on OS X (OS X support bugs shaken out with help from
Germán M. Bravo).
* Support reading UUIDs from /proc/sys/kernel/random/uuid which is especially
useful when building for Android, as it avoids having to cross-build a UUID
library.
* Disable volatile workaround for excess precision SEGV for SSE - previously it
was only being disabled for SSE2.
* When building for x86 using a compiler where we don't know how to disable
use of 387 FP instructions, we now run remote servers for the testsuite under
valgrind --tool=none, like we do when --disable-sse is explicitly specified.
* Add alignment_cast<T> which has the same effect as reinterpret_cast<T> but
avoids warnings about alignment issues.
* Suppress warnings about unused private members. DLHWeight and DPHWeight
have an unused lower_bound member, which clang warns about, but we need to
keep them there in 1.4.x to preserve ABI compatibility.
* Remove workaround for g++ 2.95 bug as we require at least 4.7 now.
* configure: Probe for <cxxabi.h>. GCC added this header in GCC 3.1, which
is much older than we support, so we've just assumed it was available if
__GNUC__ was defined. However, clang lies and defines __GNUC__ yet doesn't
seem to reliably provide <cxxabi.h>, so we need to probe for it.
* Fix "unused assignment" warning.
* configure: Probe for __builtin_* functions. Previously we just checked for
__GNUC__ being defined, but it's cleaner to probe for them properly -
compilers other than GCC and those that pretend to be GCC might provide these
too.
* Use __builtin_clz() with compilers which support it to speed up encoding
and especially decoding of positional data. This speed up phrase searching
by ~0.5% in a simple test.
* Check signed right shift behaviour at compile time - we can use a test on a
constant expression which should optimise away to just the required version
of the code, which means that on platforms which perform sign-extension
(pretty much everything current it seems) we don't have to rely on the
compiler optimising a portable idiom down to the appropriate right shift
instruction.
* Improve configure check for log2(). We include <cmath> so the check really
should succeed if only std::log2() is declared.
* Enable win32-dll option to LT_INIT.
debug code:
* xapian-inspect:
+ Support glass instead of chert.
+ Allow control of showing keys/tags.
+ Use more mnemonic letters than X for command arguments in help.
pre-4.03 versions of OCaml can use the uchar library. Given that pkgsrc
uses 4.04 now, this library will always be empty, but it is needed for
dependency purposes.
* Fix handling of comments in the ppx.
* Fix printing of utf8 in attributes.
* Properly flush ppx errors. This bug was causing some blank error messages.
* Fix handling of whitespaces in <select> in the ppx.
* Use upstream filename as DISTNAME
* The latest version for Chromium build
Changelog:
0.999999999/1.0b10
Released on July 15, 2016
Fix attribute order going to the tree builder to be document order instead of reverse document order(!).
0.99999999/1.0b9
Released on July 14, 2016
Added ordereddict as a mandatory dependency on Python 2.6.
Added lxml, genshi, datrie, charade, and all extras that will do the right thing based on the specific interpreter implementation.
Now requires the mock package for the testsuite.
Cease supporting DATrie under PyPy.
Remove ``PullDOM`` support, as this hasn't ever been properly tested, doesn't entirely work, and as far as I can tell is completely unused by anyone.
Move testsuite to py.test.
Fix#124: move to webencodings for decoding the input byte stream; this makes html5lib compliant with the Encoding Standard, and introduces a required dependency on webencodings.
Cease supporting Python 3.2 (in both CPython and PyPy forms).
Fix comments containing double-dash with lxml 3.5 and above.
Use scripting disabled by default (as we don't implement scripting).
Fix#11, avoiding the XSS bug potentially caused by serializer allowing attribute values to be escaped out of in old browser versions, changing the quote_attr_values option on serializer to take one of three values, "always" (the old True value), "legacy" (the new option, and the new default), and "spec" (the old False value, and the old default).
Fix#72 by rewriting the sanitizer to apply only to treewalkers (instead of the tokenizer); as such, this will require amending all callers of it to use it via the treewalker API.
Drop support of charade, now that chardet is supported once more.
Replace the charset keyword argument on parse and related methods with a set of keyword arguments: override_encoding, transport_encoding, same_origin_parent_encoding, likely_encoding, and default_encoding.
Move filters._base, treebuilder._base, and treewalkers._base to .base to clarify their status as public.
Get rid of the sanitizer package. Merge sanitizer.sanitize into the sanitizer.htmlsanitizer module and move that to saniziter. This means anyone who used sanitizer.sanitize or sanitizer.HTMLSanitizer needs no code changes.
Rename treewalkers.lxmletree to .etree_lxml and treewalkers.genshistream to .genshi to have a consistent API.
Move a whole load of stuff (inputstream, ihatexml, trie, tokenizer, utils) to be underscore prefixed to clarify their status as private.
0.9999999/1.0b8
Released on September 10, 2015
Fix#195: fix the sanitizer to drop broken URLs (it threw an exception between 0.9999 and 0.999999).
0.999999/1.0b7
Released on July 7, 2015
Fix#189: fix the sanitizer to allow relative URLs again (as it did prior to 0.9999/1.0b5).
0.99999/1.0b6
Released on April 30, 2015
Fix#188: fix the sanitizer to not throw an exception when sanitizing bogus data URLs.
0.9999/1.0b5
Released on April 29, 2015
Fix#153: Sanitizer fails to treat some attributes as URLs. Despite how this sounds, this has no known security implications. No known version of IE (5.5 to current), Firefox (3 to current), Safari (6 to current), Chrome (1 to current), or Opera (12 to current) will run any script provided in these attributes.
Pass error message to the ParseError exception in strict parsing mode.
Allow data URIs in the sanitizer, with a whitelist of content-types.
Add support for Python implementations that don't support lone surrogates (read: Jython). Fixes#2.
Remove localization of error messages. This functionality was totally unused (and untested that everything was localizable), so we may as well follow numerous browsers in not supporting translating technical strings.
Expose treewalkers.pprint as a public API.
Add a documentEncoding property to HTML5Parser, fix#121.
1.21 Fri Dec 23 21:19:15 CET 2016
- Apply PR/171 (fixes issue/109) @perlpunk++
- No more "used only once" warnings for $YAML::Indent etc.
- Apply PR/170 (fixes issue/131) hiratara@cpan.org++
- Empty mapping value at the end resolves to null (was becoming empty
string)
- Apply PR/169 (PR/119) patrick.allen.higgins@gmail.com++
- Output key in warning when duplicate key was found
- Apply PR/157 and PR/168 (@lameventanas++ @perlpunk++)
- Allow reading and writing to IO::Handle
Upstream changes:
CHANGES IN formatR VERSION 1.4
NEW FEATURES
o `tidy_source()` can preserve line breaks in character strings in source code
MAJOR CHANGES
o the deprecated functions tidy.source(), tidy.dir(), and tidy.eval() have
been removed; use tidy_source(), tidy_dir() and tidy_eval() instead
o comments that begin with `#+` or `#-` are no longer wrapped; such comments
are treated as knitr chunk options in `knitr::spin()` (#52)
BUG FIXES
o `tidy_source()` should not write an extra space to the last line of code
(thanks, @mr-karan, #49)
o long strings (> 1000 characters) in source code can be preserved now
(thanks, @jholtman, #50)
o `tidy_source()` might move any lines of code starting with `else` back to
the previous lines (thanks, @Auburngrads, #51)
Upstream changes:
stringr 1.1.0
Add sample datasets: fruit, words and sentences.
fixed(), regex(), and coll() now throw an error if you use them with anything other than a plain string (#60). I've clarified that the replacement for perl() is regex() not regexp() (#61). boundary() has improved defaults when splitting on non-word boundaries (#58, @lmullen).
str_detect() now can detect boundaries (by checking for a str_count() > 0) (#120). str_subset() works similarly.
str_extract() and str_extract_all() now work with boundary(). This is particularly useful if you want to extract logical constructs like words or sentences. str_extract_all() respects the simplify argument when used with fixed() matches.
str_subset() now respects custom options for fixed() patterns (#79, @gagolews).
str_replace() and str_replace_all() now behave correctly when a replacement string contains $s, \\\\1, etc. (#83, #99).
str_split() gains a simplify argument to match str_extract_all() etc.
str_view() and str_view_all() create HTML widgets that display regular expression matches (#96).
word() returns NA for indexes greater than number of words (#112).
Remove BROKEN mark(build without Internet access)
Upstream changes:
## 1.1.2 (2016-09-30) **CRAN**
* [BUGFIX] round(), snprintf() is not C++98
-------------------------------------------------------------------------------
## 1.1.1 (2016-05-25) **CRAN**
* [BUGFIX] #214: allow a regex pattern like `.*` to match an empty string.
* [BUGFIX] #210: `stri_replace_all_fixed(c("1", "NULL"), "NULL", NA)`
now results in `c("1", NA)`.
* [NEW FEATURE] #199: `stri_sub<-` now allows for ignoring `NA` locations
(a new `omit_na` argument added).
* [NEW FEATURE] #207: `stri_sub<-` now allows for substring insertions
(via `length=0`).
* [NEW FUNCTION] #124: `stri_subset<-` functions added.
* [NEW FEATURE] #216: `stri_detect`, `stri_subset`, `stri_subset<-` gained
a `negate` argument.
* [NEW FUNCTION] #175: `stri_join_list` concatenates all strings
in a list of character vectors. Useful with, e.g., `stri_extract_all_regex`,
`stri_extract_all_words` etc.
=====================================
Features added
--------------
* 3214: Allow to suppress "unknown mimetype" warnings from epub builder using
:confval:`suppress_warnings`.
Bugs fixed
----------
* 3195: Can not build in parallel
* 3198: AttributeError is raised when toctree has 'self'
* 3211: Remove untranslated sphinx locale catalogs (it was covered by
untranslated it_IT)
* 3212: HTML Builders crashes with docutils-0.13
* 3207: more latex problems with references inside parsed-literal directive
(``\DUrole``)
* 3205: sphinx.util.requests crashes with old pyOpenSSL (< 0.14)
* 3220: KeyError when having a duplicate citation
* 3200: LaTeX: xref inside desc_name not allowed
* 3228: ``build_sphinx`` command crashes when missing dependency
* 2469: Ignore updates of catalog files for gettext builder. Thanks to
Hiroshi Ohkubo.
* 3183: Randomized jump box order in generated index page.
-----------
(codename Replacement, released on July 26th 2015)
- Added `target` parameter to urlize function.
- Added support for `followsymlinks` to the file system loader.
- The truncate filter now counts the length.
- Added equalto filter that helps with select filters.
- Changed cache keys to use absolute file names if available
instead of load names.
- Fixed loop length calculation for some iterators.
- Changed how Jinja2 enforces strings to be native strings in
Python 2 to work when people break their default encoding.
- Added :func:`make_logging_undefined` which returns an undefined
object that logs failures into a logger.
- If unmarshalling of cached data fails the template will be
reloaded now.
- Implemented a block ``set`` tag.
- Default cache size was incrased to 400 from a low 50.
- Fixed ``is number`` test to accept long integers in all Python versions.
- Changed ``is number`` to accept Decimal as a number.
- Added a check for default arguments followed by non-default arguments. This
change makes ``{% macro m(x, y=1, z) %}...{% endmacro %}`` a syntax error. The
previous behavior for this code was broken anyway (resulting in the default
value being applied to `y`).
- Add ability to use custom subclasses of ``jinja2.compiler.CodeGenerator`` and
``jinja2.runtime.Context`` by adding two new attributes to the environment
(`code_generator_class` and `context_class`) (pull request ``404``).
- added support for context/environment/evalctx decorator functions on
the finalize callback of the environment.
- escape query strings for urlencode properly. Previously slashes were not
escaped in that place.
- Add 'base' parameter to 'int' filter.
===========================
* docutils/languages/fa.py
docutils/parsers/rst/languages/fa.py
docutils/languages/la.py
docutils/parsers/rst/languages/la.py:
- Apply [ 133 ] Persian mappings by Shahin Azad.
- Apply [ 135 ] Language modules for Latvian by Alexander Smishlajev
* docutils/nodes.py
- Fix [ 253 ] Attribute key without value not allowed in XML.
* docutils/parsers/
- Apply [ 103 ] Recognize inline markups without word boundaries.
- Enable escaping in embedded URIs and aliases (fixes [ 284 ]).
* docutils/parsers/rst/__init__.py
- Fix [ 233 ] Change the base URL for the :rfc: role.
* docutils/parsers/rst/directives/tables.py
- Apply [ 120 ] tables accept option widths: list of relative widths, 'auto'
or 'grid'.
- Implement feature request [ 48 ]
Add :align: option to the table directives.
Thanks to Takeshi KOMIYA for the patch.
* docutils/parsers/rst/roles.py
- Fix [ 295 ] Class argument for custom role inheriting from math.
* docutils/parsers/rst/tableparser.py
- Really fix [ 159 ] Spurious table column alignment errors.
* docutils/transforms/frontmatter.py
- Add name of generic bibliographic fields as a "classes" attribute value
(after conversion to a valid identifier form).
* docutils/utils/error_reporting.py
- Fix [ 130 ] support streams expectiong byte-strings in ErrorOutput.
* docutils/utils/math/math2html.py
- Add ``\colon`` macro, fix spacing around colons. Fixes [ 246 ].
- New upstream version (additional macros, piecewise integrals and sums).
* docutils/writers/_html_base.py
- New auxiliary module for definitions common to all HTML writers.
* docutils/writers/html5_polyglot/
- New HTML writer generating clean, polyglot_ markup conforming to
`HTML 5`_.
The CSS stylesheets ``minimal.css`` and ``plain.css`` contain required
and recommended layout rules.
* docutils/writers/html4css1/__init__.py
- Add "docutils" to class values for "container" object to address [ 267 ].
- Apply patch [ 119 ] by Anatoly Techtonik: use absolute paths for
``default_stylesheet_path`` and ``default_template_path``.
- Fix [ 266 ] creating labels/class values in description list items.
- Do not use <sup> and <sub> tags inside <pre> (parsed-literal blocks).
- Fix footnotes with content that does not start with a paragraph.
- Use https in default MathJax URL (report Alan G Isaac).
- Outsourcing of common code to _html_base.py.
* docutils/writers/latex2e/__init__.py
- Fix [ 262 ] Use ``\linewidth`` instead of ``\textwidth`` for figures,
admonitions and docinfo.
- Use absolute path for ``default_template_path``.
- Removed deprecated options ``--use-latex-footnotes`` and
``--figure-footnotes``.
- Cleaner LaTeX code for enumerations and literal blocks.
- Use "hyperref" package together with "bookmark" (improved hyperlinking
by the same author).
- Fix [ 286 ] Empty column title cause invalid latex file.
- Fix [ 224 ] Fix rowspan support for tables.
- Let LaTeX determine the column widths in tables with "colwidths-auto".
Not suited for with multi-paragraph cells!
* docutils/writers/odf_odt/__init__.py
- remove decode.encode of filename stored in zip.
* docutils/writers/xetex/__init__.py
- LuaLaTex compatibility: do not load "xunicode".
* tools/
- New front-end ``rst2html5.py``.
* tox.ini
- Test py26, py27, py33 and py34.
To use, install the ``tox`` package via pip or easy_install and use
tox from the project root directory.
.. _polyglot: http://www.w3.org/TR/html-polyglot/
.. _HTML 5: http://www.w3.org/TR/html5/
.. _XHTML 1.0: http://www.w3.org/TR/xhtml1/
Common Changes
* CLDR 30.0.3
* Time zone database version 2016j
* ICU SVN repository structure change. See the note on the Source Code Access page for more information.
ICU4C Fixes
* 12815 uspoof_getSkeleton sets backwards-incompatible illegal argument exception
* 12822 digitlist.cpp won't compile on msvc under Node.js
* 12825 uspoof_check goes into an "infinite loop" when U+30FB is in an input string
* 12832 GreekUpper::toUpper skips the final character on a non-terminated UTF-8 string
* 12849 u_strToTitle returns incorrect length if destination is NULL
* 12868 uprv_convertToPosix() Windows bug
iso-codes 3.72
--------------
Dr. Tobias Quathamer <toddy@debian.org>
Thu, 8 Dec 2016
[ ISO 3166-2 ]
* Update from iso.org for Great Britain. Thanks to Vitali Yakavenka
for the bug report. Closes: alioth#315563
[ ISO 3166-2 translations ]
* German by Dr. Tobias Quathamer
3.7.0 (2016-12-10)
==================
Features added
--------------
* GH#217: ``XMLSyntaxError`` now behaves more like its ``SyntaxError``
baseclass. Patch by Philipp A.
* GH#216: ``HTMLParser()`` now supports the same ``collect_ids`` parameter
as ``XMLParser()``. Patch by Burak Arslan.
* GH#210: Allow specifying a serialisation method in ``xmlfile.write()``.
Patch by Burak Arslan.
* GH#203: New option ``default_doctype`` in ``HTMLParser`` that allows
disabling the automatic doctype creation. Patch by Shadab Zafar.
* GH#201: Calling the method ``.set('attrname')`` without value argument
(or ``None``) on HTML elements creates an attribute without value that
serialises like ``<div attrname></div>``. Patch by Daniel Holth.
* GH#197: Ignore form input fields in ``form_values()`` when they are
marked as ``disabled`` in HTML. Patch by Kristian Klemon.
Bugs fixed
----------
* GH#206: File name and line number were missing from XSLT error messages.
Patch by Marcus Brinkmann.
Other changes
-------------
* Log entries no longer allow anything but plain string objects as message text
and file name.
* ``zlib`` is included in the list of statically built libraries.
Upstream changes:
* Release 3.35
2016-11-29 Karl Williamson <khw@cpan.org>
Needed to 'make manifest' before uploading to CPAN. No changes beyond
version bump
* Release 3.35
2016-11-29 Karl Williamson <khw@cpan.org>
Stabilize t/search50.t. Thanks to rurban for the patch!
Turn off utf8 warnings when trying to see if a file is UTF-8 or not.
* Release 3.33
No changes since 3.32.
* Fix regression with upstream patch,
https://ssl.icu-project.org/trac/ticket/12827
Changelog:
Common Changes
CLDR 30.0.2: For details of the many changes in CLDR, see CLDR 30. Some things to note:
For some combinations of numbering system (arab, arabext, latn) and/or locale (ar, fa, he), there were changes to the bidirectional control characters used with certain symbols (percent, minus, plus), and changes to number patterns (currency and/or percent, including addition of bidirectional control characters in some cases).
New in this release, the bidirectional controls used for such purposes include U+061C ARABIC LETTER MARK (ALM), which requires use of the bidirectional algorithm from Unicode 6.3 or later.
The time separator for Norwegian locales (nb, nn) was changed to be ':' throughout.
Unicode 9.0: Version 9.0 adds exactly 7,500 characters, for a total of 128,172 characters. These additions include six new scripts, 19 symbols for the new 4K TV standard, and 72 new emoji characters.
Draft Emoji 4.0 data
Emoji updates for word & line breaking. (#12664 & Unicode 9 update #12526)
UBiDiTransform/BidiTransform API for convenient transformation of text between different Bidi layouts. (#11679)
MeasureFormat API for measurement unit display names. (#12029)
Most COUNT and LIMIT enum constants have been deprecated. (#12420)
SpoofChecker: Handling of "whole script confusables" has been removed from ICU, in accordance with its removal from UTS #39 Version 9.0.0 and the removal of the corresponding Unicode data file. (#12549)
Greek uppercasing ("el" locale ID) removes most diacritics. (#5456)
More robust locale data loading across ICU implementation code.
Reduced heap memory usage in DateTimePatternGenerator. (#11782)
ICU4C Specific Changes
The layout engine code has been removed; the ParagraphLayout is not deprecated and remains (and must now be built on top of HarfBuzz). See http://userguide.icu-project.org/layoutengine (#12708)
Windows: Supports & requires Visual Studio 2015.
Changes:
1.0.1
-----
- Remove support for old svn ignore format (1.6 and earlier)
- Misc bug fixes and improvements
1.0.0
-----
- Add support for GLSL filetypes
- Add support for tld filetype
- Add support for protobuf filetype
- Add zsh completion function
- Misc bug fixes and improvements
1.19 Fri Nov 18 19:46:44 CET 2016
- Apply PR/164 pod (link to YAML::Shell)
- Apply PR/151 Fix infinite loop for aliases without a name @bubaflub++
- Apply PR/142 Improve error messages @werekraken++
- Apply PR/162 Improve error messages
- Apply PR/163 Trailing spaces after inline seq/map work now
- Apply PR/154 Add test case for trailing comments @Varadinsky++
2016-11-26 Sean M. Burke sburke@cpan.org
* Release 1.30
* Many many (forty?) tables were missing the final character! Fixed.
* Minor stuff:
. Added just a few Arabesque things to U+FD__
. Renamed t/00400_just_load_module.t
to t/00400_just_load_main_module.t
. This is the first time non-7bit data appears in any Unidecode/x__.pm
files, although it is just in comments. (In x02.pm, x03.pm, xfd.pm)
But this is just THE SHAPE OF THINGS TO COME.
* Oh look, I blinked and a year went by. I've been spending about the
past *two* years trying to think of how Unidecode v2-and-later's data
tables should work.
* TODO: Kill the surrogatey "xD8", "xD9", "xDA", "xDB" blocks,
and actually handle surrogates (when properly encoded).
* TODO: Inaugurate the (private) Text::Unidecode::Blackbox namespace.
iso-codes 3.71
--------------
Dr. Tobias Quathamer <toddy@debian.org>
Tue, 15 Nov 2016
[ ISO 3166-1 ]
* Add short name of Czechia. Thanks to Jiri Bohac for the bug report
and patch. Closes: alioth#315551
[ ISO 3166-2 ]
* Update from iso.org for Czechia
[ ISO 3166-1 translations ]
* Indonesian by Andhika Padmawan (TP)
* Czech by Jiri Bohac
* German by Jiri Bohac
* French by Jiri Bohac
[ ISO 3166-2 translations ]
* German by Dr. Tobias Quathamer
[ ISO 4217 translations ]
* Indonesian by Andhika Padmawan (TP)
1.8.1
This is a re-release of v1.8 with fixed timestamps for files in .tar.gz
1.8
Maintenance release.
Release highlights:
Added parse_embed_pcdata parsing mode to reduce memory consumption for some documents
Added Latin-1 auto-detection support
When printing empty elements, a space is no longer added before / in format_raw mode
Fix compilation issues for Borland C++ 5.4 and some distributions of MinGW 3.8
Upstream changes:
3.52 - 2016-11-23 - minor maintenance release
- fixed: the previous fix was buggy...
3.51 - 2016-11-23 - minor maintenance release
- fixed: failing tests when XML::XPathEngine and XML::XPath not available
3.50 - 2016-11-22 - minor maintenance release
- added: the no_xxe option to XML::Twig::new, which causes the parse
to fail if external entities are used (to prevent malicious XML to
access the filesystem).
See RT#118097 https://rt.cpan.org/Public/Bug/Display.html?id=118097
- fixed: warning (and soon error) due to unescaped literal left braces
in regular expressions in the code generating Twig.pm
reported by trwyant
https://github.com/mirod/xmltwig/issues/26
- fixed: (partial fix) implement getNamespaces in XML::Twig::XPath::Elt
the expression doesn't crash the code, but doesn't return anything
interesting (yet)
reported by Nathan Glenn
https://github.com/mirod/xmltwig/issues/12
- fixed: various spelling mistakes
https://github.com/mirod/xmltwig/pull/24
thanks to James McCoy for the patch
- git repo cleanup, thanks to mjg17
This large commit accomplishes the following:
1) Switch USE_LANGUAGES=ada to require lang/gcc5-aux (gcc 5.4) instead
of lang/gcc-aux (gcc 4.9.2) on gcc.mk
2) Bump affected ports and fix paths as necessary
3) Upgrade devel/gprbuild to the latest release
- No longer requires lang/gnat_util
- gprslave requires gcc6-aux, so it was disabled for now
4) Fix lang/gnat_util but set PKG_SKIP_REASON
- It has no further purpose in the pkgsrc tree
- It has no practical purpose outside of the pkgsrc tree
- Indicate intent to remove from tree in Jan. 2017
5) Set devel/GPS as failed with PKG_FAIL_REASON
- This version of GPS is several years old and at the time they were
strongly tied to compiler.
- Latest release of GPS require gcc6-aux (not available) and several
new and complex dependencies
- maintainer (me) has no interest to continue supporting it
- Leaving GPS in place until Jan 2017 to give another person chance to
upgrade and take over support
- Latest version in FreeBSD Ports Collection as a reference point
This perl module handles the SOAP protocol. The first implementation
is SOAP1.1, which is still most often used. The SOAP1.2 definition
is provided via the separate distribution XML::Compile::SOAP12.
Many (professional) applications process XML messages based on a
formal specification, expressed in XML Schemas. XML::Compile
translates between XML and Perl with the help of such schemas. Your
Perl program only handles a tree of nested HASHes and ARRAYs, and
does not need to understand namespaces and other general XML and
schema nastiness.
The XML::Compile module suite has extensive regression testing.
Probably, you want to do regression testing as well. This module
provide functions which simplify writing tests for XML::Compile
related distributions.
Upstream changes:
podlators 4.09 (unreleased)
[Pod::Text] Use Pod::Simple's logic to determine the native code
points for NO BREAK SPACE and SOFT HYPHEN instead of hard-coding the
ASCII values. Hopefully fixes the case of mysterious disappearing
open brackets on EBCDIC systems. (#118240)
podlators 4.08 (2016-09-24)
[Pod::Man] Partially revert change in 4.00 to require the name option
(--name to pod2man) when generating man pages from standard input.
Historically, pod2man silently tolerated this, and there turned out to
be a lot of software that depended on this, making the change too
disruptive. Instead, silently set the man page title to STDIN in this
case, but warn about it in the documentation. (#117990)
[Pod::Man] Fix rendering bug for "TRUE (1)", which was recognized as
needing small caps and then erroneously as a man page reference,
resulting in escaped nroff. (Found by Dan Jacobson with the
XML::LibXML::Element man page.) (Debian Bug#836831)
[Pod::Man] Fix rendering bug causing "\s0(1)" to be mistakenly marked
as a man page reference, later confusing backslash escaping.
[Pod::Man] Add new lquote and rquote options (and corresponding
--lquote and --rquote flags to pod2man) to set the left and right
quotes for C<> text independently. (#103298)
Remove test for nested L<> markup, since an upcoming version of
Pod::Simple will drop support for this. (#114075)
Changes in 1.7.7:
At the suggestion of Peter Spiess-Knafl, we will bump the
SOVERSION independent of the MAJOR.MINOR.MICRO version, in case
we break binary compatibility.
Changes in 1.7.6:
Prevent possible SEGV. (Thanks to @ngg.)
Add RPATH for OSX libs. (Please let us know if this causes a problem.)
Changes in 1.7.5:
Fix locale for decimal points
Plus a fix for Android
int64_t for 64-bit integers
Optionally suppress space after comma
Avoid null for empty stringValue
Fix null ctor/dtor, using a "Meyers Singleton"
Thanks to @marklakata and @BillyDonahue in #488 in #490.
[Changes contributed by Nick Morrott]
- Fix typo in POD documentation (fixes#730).
[Changes contributed by Olly Betts]
- Allow building against xapian-core 1.4.x as well as xapian-core
1.2.x.
omindex:
+ Also index leafname with _ and & replaced by spaces. Literal spaces are
often avoided in filenames, and "hello_world.txt" ought to be searchable for
via "hello" and "world". Partly addresses #618, reported by Julien
Pfefferkorn.
+ Make named entity look-up (e.g. é -> 233) use the same keyword-lookup
table approach we already use for HTML tags and built-in MIME content-types,
rather than a std::map, which makes it faster while using less memory.
+ Avoid using the shell to run most external commands as it's unnecessary
overhead. For the built-in filters, the only cases which now use a shell
are where we run two unzip commands. For user-specified commands, a simple
and slightly conservative test is used, which should avoid a shell in most
common cases where it isn't needed. Notably, environment variables set
before the command are handled.
+ Track files which couldn't be indexed in the user metadata and skip them by
default on subsequent runs to avoid the costs of repeatedly running a
filter on a file it can't handle. Run omindex with --retry-failed to retry
such files.
+ Overhaul the "per-site" terms:
- 'H' prefix is hostname as before, except that if the term would be > 240
bytes (unlikely but possible) the end is hashed is the same way 'U'
prefix terms are.
- 'P' terms are now added for every directory level, not just the start
URL's path.
- A new 'J' prefix term is added with the start URL (less any trailing
'/'), which means all files indexed from a particular "site" are now
indexed by one term. See #376.
+ Add 'skip' pseudo-mimetype which extensions can be mapped to, and they will
then be reported and skipped (to complement the existing 'ignore'
pseudo-mimetype which causes files with the specified extension to be
quietly ignored).
+ Treat a command of 'true' specially as meaning make the text extraction a
no-op (as actually running /bin/true effectively would). This provides a
way to index some file types by only meta-data. Fixes#519, reported by
Brian Burton.
+ Add support for wildcard mimetypes */* and *. Combined with filter command
``true`` for indexing by meta-data only, you can specify a fall back case
of indexing by meta-data only using ``--filter '*:true'``. From a
suggestion by Brian Burton on xapian-discuss.
+ Index message/rfc822 and message/news. These are individually saved email
messages and news articles.
+ Index archived web page formats MAFF and MHTML.
+ Handle .xla, yet another XL extension.
+ Handle metadata in LibreOffice HTML export (dcterms.subject,
dcterms.description, dcterms.creator and dcterms.contributor).
+ Use zlib's gzopen() instead of invoking "gzip -dc" for compressed Abiword
documents.
+ Add support for %f in command passed to --filter to allow specifying
commands where the input file is not the final argument. Fixed#570,
reported by Charles Atkinson.
+ Allow --filter to handle commands which produce output in a temporary file
rather than on stdout.
+ Allow --filter to specify the character set of the output the filter
produces.
+ Handle application/vnd.ms-excel, text/x-perl and application/x-dvi via
default --filter settings instead of hardcoded cases (now possible thanks
to the new abilities that --filter has).
+ Add support for specifying a MIME subtype of '*' in --filter arguments.
+ Add -track-ctime option to allow omindex to pick up changes to file
ownership and permissions.
+ Index terms from the leafname with an 'F' prefix, rather than treating them
as more body text. (Fixes#633, reported by Emmanuel Garette)
+ The starting URL wasn't previously URL encoded. In 1.2.18, a minimally
intrusive fix was implemented. In 1.3.2, we now encode the starting URL
as we do for the rest of the filename.
+ Don't assume .doc is application/msword but let libmagic decide, since .doc
files may actually be RTF, and sometimes people use .doc for plain-text
documentation.
+ Add support for indexing 'topic' and 'created date' meta-data for
OpenDocument format and HTML.
+ Index "topic" for PDF documents.
+ Commit changes and exit, rather than skipping the current file on most
unexpected errors reading directories or initialising libmagic - otherwise
we can end up deleting a lot of database entries on errors like EHOSTDOWN
when indexing network mounts.
+ Add --opendir-sleep=SECS option to allow working around problems with
indexing files on Microsoft DFS shares.
+ If we get ENOTDIR trying to index a file, skip it quietly (unless in
verbose mode) as we already do if we get ENOENT, since ENOTDIR is what we
get if the file and the directory it was in got removed between us getting
the filename and trying to open it.
+ Handle ENOENT, ENOTDIR and EACCES from readdir().
+ If we've already opened the file (as we often will have if using a modern
libmagic with magic_descriptor() available), then use fstat() on that fd
rather than stat()/lstat() on the pathname.
+ Pass error message string and errno value in ReadError exceptions.
+ Report strerror(errno) if we can't read a file.
+ Filtering via text/html now handles HTML documents which specify a charset.
+ Add support for indexing Microsoft Publisher files using pub2xhtml.
+ Restrict the length of what we consider to be an extension, currently to 7
characters or whatever the longest extension in the mime_map is if it is
longer.
+ Avoid '//' in temporary filenames (cosmetic only).
+ Extend --filter to handle commands which produce HTML on stdout.
+ Don't report an error if a file is deleted (or renamed) between us reading
the directory entry for it and trying to read the file itself by default.
In --verbose mode, the situation is still reported, but now with a
specific message.
+ If omindex receives any of the signals SIGHUP, SIGINT, SIGQUIT or SIGTERM,
then kill any active external filter child process, then handle the signal
as we did before. If setpgid() is available, put each external filter in
its own process group and kill the whole process group when we get a
signal.
+ Use magic_descriptor() if the version of libmagic we're building against
is new enough to have it. This eliminates an extra opening of a file
being indexed in certain cases.
+ Use rst2html to handle .rst and .rest files.
+ Index title with an 'S' prefix rather than no prefix.
+ If the document with the highest existing docid before the run was updated,
we were reporting it as "added", but now we correctly report it as
"updated".
+ Catch and report std::exception explicitly, so failing to allocate memory
is no longer reported as "Unknown exception".
omindex-list: New tool to list URLs of all the documents in a database
(or list of databases) indexed by omindex.
* The HTML parser now explicitly handles <APPLET>, <OBJECT> and <TR>.
* Use a generated compact and efficient table to convert HTML tag names
to enum codes - this is both faster and smaller than the approach we were
using, with the benefit that the table is auto-generated.
* Always use our built-in conversion code for the character sets it can handle
(previously we'd use iconv if available; now we only use iconv for other
character sets). This gives us more consistent results, and in particular
means we now handle BOMs better (at least when using GNU iconv).
* A lot of data labelled as "iso-8859-1" is actually "windows-1252". The two
only differ in characters which are control characters in iso-8859-1, so
assume the latter when we see the former.
scriptindex:
+ Remove special error handling case noting that index=nopos was replaced
with indexnopos - this was removed in 1.1.0 so there's been enough time to
upgrade.
omega:
* Add support for sorting by more than one value - e.g. SORT=+1,-2
* Add $msizelower and $msizeupper which provide access to the lower and upper
bounds on the number of matches.
* Add support for $set{weighting,coord}.
* Add weightingpurefilter option. Normally a query consisting only of filter
terms won't have relevance weights calculated. This new option allows you to
specify a weighting scheme to use for such queries, with the same values
supported as for the existing weighting option. For example,
$set{weightingpurefilter,coord} will weight such queries by how many filter
terms match each document.
* $filters now includes DATEVALUE, which means we'll force the first page when
reloading or changing page starting from existing URLs upon upgrade to 1.4.1,
but the exact same existing URL could be for a search without the date filter
where we want to force the first page, so there's an inherent ambiguity
there. Forcing first page in this case seems the least problematic
side-effect.
* Implement $match command for omegascript. Patch from Richhiey Thomas.
* Add optional prefix argument to $terms.
* $snippet now uses MSet::snippet() instead of the Snipper class.
* Add $contains{STRING1,STRING2}. Contributed by Ayush Gupta.
* Add support for negated boolean filter terms, specified by CGI parameter "N".
* Support a direction prefix on SORT: '+' for ascending, '-' for descending.
SORTREVERSE set to non-0 now flips the direction. Fixes#697, reported by
Andy Chilton.
* Add options argument to $transform.
* Cache compiled regexps used in $transform.
* Add $ord OmegaScript command which returns the Unicode codepoint for the
first character of a UTF-8 string.
* Add $chr OmegaScript command which returns the UTF-8 string for given Unicode
codepoint.
* Add $csv OmegaScript command which escapes a string for use as a field in a
CSV file ("always quote" mode inspired by patch from Gaurav Arora.)
* New $filters encoding which avoids collisions. We also compare CGI parameter
xFILTERS to what $filters would have returned in previous releases, so that
on upgrades old format serialised filters are handled correctly.
* Fix $jsonarray not to prepend ']' to the first array element.
* Skip weighting scheme setup for a pure date range query - it won't be
weighted anyway, so we can avoid having to parse weighting scheme parameters,
etc.
* Use value ranges when date range filtering by value. Should be more
efficient than a MatchDecider, and will automatically take advantage of any
future value range optimisations in xapian-core.
* Add default_db and default_template config options. These allow the default
template and default database name to be set via the config file, rather than
being stuck with the respective defaults of "default" and "query". Fixes
#310, reported by Marco Hennigs.
* Add support for non-exclusive filters. Fixes#234, reported by Thomas
Viehmann.
* Fix handling of multiple P.<prefix> fields - previously only the first seen
was used. These fields are also now taken into account when deciding if the
query has changed. $query now returns an OmegaScript list with one entry for
each CGI parameter passed.
* Allow setting query expansion scheme to "bo1".
* Make the $json and $jsonarray force the text to be valid UTF-8, since
otherwise the output isn't valid JSON.
* Check parameters to $set{weighting,bm25 ...} and $set{weighting,trad ...}
converted OK. Based on patch from Aarsh Shah.
* Add support to $set{weighting,...} for bb2, dlh, dph, ifb2, ineb2, inl2, lm,
pl2 when we're built against a xapian-core which is new enough to have these
schemes.
* Add $snippet to generate a snippet of text tailored to the search.
* Add new $json and $jsonarray OmegaScript commands to support producing JSON
output.
* Add $truncate command which truncates a string after a word.
* Add support for $set{weighting,tfidf} to allow the new TfIdfWeight weighting
scheme to be used.
+ DEFAULTOP now defaults to AND rather than OR, since that matches what pretty
much every search engine does these days. Closes ticket#512.
* Allow mapping a query string prefix to more than one term prefix (which
xapian-core has supported since 1.0.4).
* Add support for search inputs for multiple probabilistic prefixes, with
support for per-prefix stemmers.
* Drop legacy support for handling '.' separated terms in xP - that changed in
Omega 0.9.7, more than 5 years ago now.
* Remove support for OLDP CGI parameter which was superseded by xP
approximately a decade ago, and isn't even documented!
* Drop special handling for R-prefixed terms in $prettyterm - we stopped
generating these in Xapian 1.0.
templates:
* Lower case all HTML tags, attributes and values; explicitly close <option>
tags. Patches from Vivek Pal and Nirmal Singhania.
* Migrate Omega Templates to HTML5. Patch from Nirmal Sighania.
* templates/query: Remove stray double quote from generated URL for spelling
suggestion when THRESHOLD is set. Patch from Nirmal Singhania.
* templates/opensearch: Change response feeds to support OpenSearch 1.1.
Patch from Nirmal Singhania.
* templates/query: Fix setting setting of prefix map for P - in 1.3.2, this
would failed to also search in the subject. Now it also searches in the
subject and topic.
* templates/query:
+ We now map unprefixed queries to include S-prefixed terms to match the
change in omindex to prefixing terms from the title with S. You may want
to make the same update to your own templates.
+ Set up prefixes for 'author:' and 'title:'.
API:
* Constructing a Query for a non-reference counted PostingSource object will
now try to clone the PostingSource object (as happened in 1.3.4 and
earlier). This clone code was removed as part of the changes in 1.3.5 to
support optional reference counting of PostingSource objects, but that breaks
the case when the PostingSource object is on the stack and goes out of scope
before the Query object is used. Issue reported by Till Schäfer and analysed
by Daniel Vrátil in a bug report against Akonadi:
https://bugs.kde.org/show_bug.cgi?id=363741
* Add BM25PlusWeight class implementing the BM25+ weighting scheme, implemented
by Vivek Pal (https://github.com/xapian/xapian/pull/104).
* Add PL2PlusWeight class implementing the PL2+ weighting scheme, implemented
by Vivek Pal (https://github.com/xapian/xapian/pull/108).
* LMWeight: Implement Dir+ weighting scheme as DIRICHLET_PLUS_SMOOTHING.
Patch from Vivek Pal.
* Add CoordWeight class implementing coordinate matching. This can be useful
for specialised uses - e.g. to implement sorting by the number of matching
filters.
* DLHWeight,DPHWeight,PL2Weight: With these weighting schemes, the formulae
can give a negative weight contribution for a term in extreme cases. We
used to try to handle this by calculating a per-term lower bound on the
contribution and subtracting this from the contribution, but this idea
is fundamentally flawed as the total offset it adds to a document depends on
what combination of terms that document matches, meaning in general the
offset isn't the same for every matching document. So instead we now clamp
each term's weight contribution to be >= 0.
* TfIdfWeight: Always scale term weight by wqf - this seems the logical
approach as it matches the weighting we'd get if we weighted every non-unique
term in the query, as well as being explicit in the Piv+ formula.
* Fix OP_SCALE_WEIGHT to work with all weighting schemes - previously it was
ignored when using PL2Weight and LMWeight.
* PL2Weight: Greatly improve upper bound on weight:
+ Split the weight equation into two parts and maximise each separately as
that gives an easily solvable problem, and in common cases the maximum is
at the same value of wdfn for both parts. In a simple test, the upper
bounds are now just over double the highest weight actually achieved -
previously they were several hundred times. This approach was suggested by
Aarsh Shah in: https://github.com/xapian/xapian/pull/48
+ Improve upper bound on normalised wdf (wdfn) - when wdf_upper_bound >
doclength_lower_bound, we get a tighter bound by evaluating at
wdf=wdf_upper_bound. In a simple test, this reduces the upper bound on
wdfn by 36-64%, and the upper bound on the weight by 9-33%.
* PL2Weight: Fix calculation of upper_bound when P2>0. P2 is typically
negative, but for a very common term it can be positive and then we should
use wdfn_lower not wdfn_upper to adjust P_max.
* Weight::unserialise(): Check serialised form is empty when unserialising
parameter-free schemes BoolWeight, DLHWeight and DPHWeight.
* TermGenerator::set_stopper_strategy(): New method to control how the Stopper
object is used. Patch from Arnav Jain.
* QueryParser: Fix handling of CJK query over multiple prefixes. Previously
all the n-gram terms were AND-ed together - now we AND together for each
prefix, then OR the results. Fixes#719, reported by Aaron Li.
* Add Database::get_revision() method which provides access to the database
revision number for chert and glass, intended for use by xapiand. Marked
as experimental, so we don't have to go through the usual deprecation cycle
if this proves not to be the approach we want to take. Fixes#709,
reported by German M. Bravo.
* Mark RangeProcessor constructor as `explicit`.
* Update to Unicode 9.0.0.
* Reimplement ESet and ESetIterator as we did for MSet and MSetIterator in
1.3.5. ESetIterator internally now counts down to the end of the ESet, so
the end test is now against 0, rather than against eset.size(). And more of
the trivial methods are now inlined, which reduces the number of relocations
needed to load the library, and should give faster code which is a very
similar size to before.
* MSetIterator and ESetIterator are now STL-compatible random_access_iterators
(previously they were only bidirectional_iterators).
* TfIdfWeight: Support freq and squared IDF normalisations. Patch from Vivek
Pal.
* New Xapian::Query::OP_INVALID to provide an "invalid" query object.
* Reject OP_NEAR/OP_PHRASE with non-leaf subqueries early to avoid a
potential segmentation fault if the non-leaf subquery decayed at
just the wrong moment. See #508.
* Reduce positional queries with a MatchAll or PostingSource subquery to
MatchNothing (since these subqueries have no positional information, so
the query can't match).
* Deprecate ValueRangeProcessor and introduce new RangeProcessor class as
a replacement. RangeProcessor()::operator()() method returns Xapian::Query,
so a range can expand to any query. OP_INVALID is used to signal that
a range is not recognised. Fixes#663.
* Combining of ranges over the same quantity with OP_OR is now handled by
an explicit "grouping" parameter, with a sensible default which works
for value range queries. Boolean term prefixes and FieldProcessor now
support "grouping" too, so ranges and other filters can now be grouped
together.
* Formally deprecate WritableDatabase::flush(). The replacement commit()
method was added in 1.1.0, so code can be switched to use this and still
work with 1.2.x.
* Fix handling of a self-initialised PIMPL object (e.g. Xapian::Query q(q);).
Previously the uninitialised pointer was copied to itself, resulting in
undefined behaviour when the object was used to destroyed. This isn't
something you'd see in normal code, but it's a cheap check which can probably
be optimised away by the compiler (GCC 6 does).
* The Snipper class has been replaced with a new MSet::snippet() method.
The implementation has also been redone - the existing implementation was
slower than ideal, and didn't directly consider the query so would sometimes
selects a snippet which doesn't contain any of the query terms (which users
quite reasonably found surprising). The new implementation is faster, will
always prefer snippets containing query terms, and also understands exact
phrases and wildcards. Fixes#211.
* Add optional reference counting support for ErrorHandler, ExpandDecider,
KeyMaker, PostingSource, Stopper and TermGenerator. Fixes#186, reported
by Richard Boulton. (ErrorHandler's reference counting isn't actually used
anywhere in xapian-core currently, but means we can hook it up in 1.4.x if
ticket #3 gets addressed).
* Deprecate public member variables of PostingSource. The new getters and/or
setters added in 1.2.23 and 1.3.5 are preferred. Fixes#499, reported by
Joost Cassee.
* Reimplement MSet and MSetIterator. MSetIterator internally now counts down
to the end of the MSet, so the end test is now against 0, rather than against
mset.size(). And more of the trivial methods are now inlined, which reduces
the number of relocations needed to load the library, and should give faster
code which is a very similar size to before.
* Only issue prefetch hints for documents if MSet::fetch() is called. It's not
useful to send the prefetch hint right before the actual read, which was
happening since the implementation of prefetch hints in 1.3.4. Fixes#671,
reported by Will Greenberg.
* Fix OP_ELITE_SET selection in multi-database case - we were selecting
different sets for each subdatabase, but removing the special case check for
termfreq_max == 0 solves that.
* Remove "experimental" marker from FieldProcessor, since we're happy with the
API as-is. Reported by David Bremner on xapian-discuss.
* Remove "experimental" marker from Database::check(). We've not had any
negative feedback on the current API.
* Databse::check() now checks that doccount <= last_docid.
* Database::compact() on a WritableDatabase with uncommitted changes could
produce a corrupted output. We now throw Xapian::InvalidOperationError in
this case, with a message suggesting you either commit() or open the database
from disk to compact from. Reported by Will Greenberg on #xapian-discuss
* Add Arabic stemmer. Patch from Assem Chelli in
https://github.com/xapian/xapian/pull/45
* Improve the Arabic stopword list. Patch from Assem Chelli.
* Make functions defined in xapian/iterator.h 'inline'.
* Don't force the user to specify the metric in the geospatial API -
GreatCircleMetric is probably what most users will want, so a sensible
default.
* Xapian::DBCHECK_SHOW_BITMAP: This was added in 1.3.0 (so has never been in
a stable release) and was superseded by Xapian::DBCHECK_SHOW_FREELIST in
1.3.2, so just remove it.
* Make setting an ErrorHandler a no-op - this feature is deprecated and we're
not aware of anyone using it. We're hoping to rework ErrorHandler in 1.4.x,
which will be simpler without having to support the current behaviour as well
as the new. See #3.
* Update to Unicode 8.0.0. Fixes#680.
* Overhaul database compaction API. Add a Xapian::Database::compact() method,
with the Database object specifying the source database(s).
Xapian::Compactor is now just a functor to use if you want to control
progress reporting and/or the merging of user metadata. The existing API
has been reimplemented using the new one, but is marked as deprecated.
* Add support for a default value when sorting. Fixes#452, patch from
Richard Boulton.
* Make all functor objects non-copyable. Previously some were, some weren't,
but it's hard to correctly make use of this ability. Fixes#681.
* Fix use after free with WILDCARD_LIMIT_MOST_FREQUENT. If we tried to open a
postlist after processing such a wildcard, the postlist hint could be
pointing to a PostList object which had been deleted. Fixes#696, reported
by coventry.
* Add support for optional reference counting of MatchSpy objects.
* Improve Document::get_description() - the output is now always valid UTF-8,
doesn't contain implementation details like "Document::Internal", and more
clearly reports if the document is linked to a database.
* Remove XAPIAN_CONST_FUNCTION marker from sortable_serialise_() helper, as it
writes to the passed in buffer, so it isn't const or pure. Fixes
decvalwtsource2 testcase failure when compiled with clang.
* Make PostingSource::set_maxweight() public - it's hard to wrap for the
bindings as a protected method. Fixes#498, reported by Richard Boulton.
* Database:
+ Add new flag Xapian::DB_RETRY_LOCK which allows opening a database for
writing to wait until it can get a write lock. (Fixes#275, reported by
Richard Boulton).
+ Fix Database::get_doclength_lower_bound() over multiple databases when some
are empty or consist only of zero-length documents. Previously this would
report a lower bound of zero, now it reports the same lowest bound as a
single database containing all the same documents.
+ Database::check(): When checking a single table, handle the ".glass"
extension on glass database tables, and use the extension to guide the
decision of which backend the table is from.
* Query:
+ Add new OP_WILDCARD query operator, which expands wildcards lazily, so now
we create the PostList tree for a wildcard directly, rather than creating
an intermediate Query tree. OP_WILDCARD offers a choice of ways to limit
wildcard expansion (no limit, throw an exception, use the first N by term
name, or use the most frequent N). (See tickets #48 and #608).
* QueryParser:
+ Add new set_max_expansion() method which provides access to OP_WILDCARD's
choice of ways to limit expansion and can set limits for partial terms as
well as for wildcards. Partial terms now default to the 100 most frequent
matching terms. (Completes #608, reported by boomboo).
+ Deprecate set_max_wildcard_expansion() in favour of set_max_expansion().
* Add support for optional reference counting of FieldProcessor and
ValueRangeProcessor objects.
* Update Unicode character database to Unicode 7.0.0.
* New Xapian::Snipper class from Mihai Bivol's GSOC 2012 project. (mostly
fixes#211)
* Fix all get_description() methods to always return UTF-8 text. (fixes#620)
* Database::check():
+ Alter to take its "out" parameter as a pointer to std::ostream instead of a
reference, and make passing NULL mean "do not produce output", and make
the second and third parameters optional, defaulting to a quiet check.
+ Escape invalid UTF-8 data in keys and tags reported by xapian-check, using
the same code we use to clean up strings returned by get_description()
methods.
+ Correct failure message which talks above the root block when it's actually
testing a leaf key.
+ Rename DBCHECK_SHOW_BITMAP to DBCHECK_SHOW_FREELIST (old name still
provided for now, but flagged as deprecated - DBCHECK_SHOW_BITMAP was new
in 1.3.0, so will likely be removed before 1.4.0).
* Methods and functions which take a string to unserialise now consistently
call that parameter "serialised".
* Weight: Make number of distinct terms indexing each document and the
collection frequency of the term available to subclasses. Patch from
Gaurav Arora's Language Modelling branch.
* WritableDatabase: Add support for multiple subdatabases, and support opening
a stub database containing multiple subdatabases as a WritableDatabase.
* WritableDatabase can now be constructed from just a pathname (defaulting to
opening the database with DB_CREATE_OR_OPEN).
* WritableDatabase: Add flags which can be bitwise OR-ed into the second
argument when constructing:
+ Xapian::DB_NO_SYNC: to disable use of fsync, etc
+ Xapian::DB_DANGEROUS: to enable in-place updates
+ Xapian::DB_BACKEND_CHERT: if creating, create a chert database
+ Xapian::DB_BACKEND_GLASS: if creating, create a glass database
+ Xapian::DB_NO_TERMLIST: create a database without a termlist (see #181)
+ Xapian::DB_FULL_SYNC flag - if this is set for a database, we use the Mac
OS X F_FULL_SYNC instead of fdatasync()/fsync()/etc on the version file
when committing.
* Database: Add optional flags argument to constructor - the following can be
bitwise OR-ed into it:
+ Xapian::DB_BACKEND_CHERT (only open a chert database)
+ Xapian::DB_BACKEND_GLASS (only open a glass database)
+ Xapian::DB_BACKEND_STUB (only open a stub database)
* Xapian::Auto::open_stub() and Xapian::Chert::open() are now deprecated in
favour of these new flags.
* Add LMWeight class, which implements the Unigram Language Modelling weighting
scheme. Patch from Gaurav Arora.
* Add implementations of a number of DfR weighting schemes (BB2, DLH, DPH,
IfB2, IneB2, InL2, PL2). Patches from Aarsh Shah.
* Add support for the Bo1 query expansion scheme. Patch from Aarsh Shah.
* Add Enquire::set_time_limit() method which sets a timelimit after which
check_at_least will be disabled.
* Database: Trying to perform operations on a database with no subdatabases now
throws InvalidOperationError not DocNotFoundError.
* Query: Implement new OP_MAX query operator, which returns the maximum weight
of any of its subqueries. (see #360)
* Query: Add methods to allow introspection on Query objects - currently you
can read the leaf type/operator, how many subqueries there are, and get a
particular subquery. For a query which is a term, Query::get_terms_begin()
allows you to get the term. (see #159)
* Query: Only simplify OP_SYNONYM with a single subquery if that subquery is a
term or MatchAll.
* Avoid two vector copies when storing term positions in most common cases.
* Reimplement version functions to use a single function in libxapian which
returns a pointer to a static const struct containing the version
information, with inline wrappers in the API header which call this. This
means we only need one relocation instead of 4, reducing library load time a
little.
* Make TermGenerator flags an anonymous enum, and typedef TermGenerator::flags
to int for backward compatibility with existing user code which uses it.
* Stem: Fix incorrect Unicode codepoints for o-double-acute and u-double-acute
in the Hungarian Snowball stemmer. Reported by Tom Lane to snowball-discuss.
* Stem: Add an early english stemmer.
* Provide the stopword lists from Snowball plus an Arabic one, installed in
${prefix}/share/xapian-core/stopwords/. Patch from Assem Chelli, fixes#269.
* Improve check for direct inclusion of Xapian subheaders in user code to
catch more cases.
* Add simple API to help with creating language-idiomatic iterator wrappers
in <xapian/iterator.h>.
* Give an compilation error if user code tries to include API headers other
than xapian.h directly - these other headers are an internal implementation
detail, but experience has shown that some people try to include them
directly. Please just use '#include <xapian.h>' instead.
* Update Unicode character database to Unicode 6.2.0.
* Add FieldProcessor class (ticket#128) - currently marked as an experimental
API while we sort out how best to sort out exactly how it interacts with
other QueryParser features.
* Add implementation of several TF-IDF weighting schemes via a new TfIdfWeight
class.
* Add ExpandDeciderFilterPrefix class which only return terms with a particular
prefix. (fixes#467)
* QueryParser: Adjust handling of Unicode opening/closing double quotes - if a
quoted boolean term was started with ASCII double quote, then only ASCII
double quote can end it, as otherwise it's impossible to quote a term
containing Unicode double quotes.
* Database::check(): If the database can't be opened, don't emit a bogus
warning about there being too many documents to cross-check doclens.
* TradWeight,BM25Weight: Throw SerialisationError instead of NetworkError if
unserialise() fails.
* QueryParser: Change the default stemming strategy to STEM_SOME, to eliminate
the API gotcha that setting a stemmer is ignored until you also set a
strategy.
* Deprecate Xapian::ErrorHandler. (ticket#3)
* Stem: Generate a compact and efficient table to decode language names. This
is both faster and smaller than the approach we were using, with the added
benefit that the table is auto-generated.
* xapian.h:
+ Add check for Qt headers being included before us and defining
'slots' as a macro - if they are, give a clear error advising how to work
around this (previously compilation would fail with a confusing error).
+ Add a similar check for Wt headers which also define 'slots' as a macro
by default.
* Update Unicode character database to Unicode 6.1.0. (ticket#497)
* TermIterator returned by Enquire::get_matching_terms_begin(),
Query::get_terms_begin(), Database::synonyms_begin(),
QueryParser::stoplist_begin(), and QueryParser::unstem_begin() now stores the
list of terms to iterate much more compactly.
* QueryParser:
+ Allow Unicode curly double quote characters to start and/or end phrases.
+ The set_default_op() method will now reject operators which don't make
sense to set. The operators which are allowed are now explicitly
documented in the API docs.
* Query: The internals have been completely reimplemented (ticket#280). The
notable changes are:
+ Query objects are smaller and should be faster.
+ More readable format for Query::get_description().
+ More compact serialisation format for Query objects.
+ Query operators are no longer flattened as you build up a tree (but the
query optimiser still combines groups of the same operator). This means
that Query objects are truly immutable, and so we don't need to copy Query
objects when composing them. This should also fix a few O(n*n) cases when
building up an n-way query pair-wise. (ticket#273)
+ The Query optimiser can do a few extra optimisations.
* There's now explicit support for geospatial search (this API is currently
marked as experimental). (ticket#481)
* There's now an API (currently experimental) for checking the integrity of
databases (partly addresses ticket#238).
* Database::reopen() now returns true if the database may have been reopened
(previously it returned void). (ticket#548)
* Deprecate Xapian::timeout in favour of POSIX type useconds_t.
* Deprecate Xapian::percent and use int instead in the API and our own code.
* Deprecate Xapian::weight typedef in favour of just using double and change
all uses in the API and our own code. (ticket#560)
* Rearrange members of Xapian::Error to reduce its size (from 48 to 40 bytes on
x86-64 Linux).
* Assignment operators for PositionIterator and TermIterator now return *this
rather than void.
* PositionIterator, PostingIterator, TermIterator and ValueIterator now
handle their reference counts in hand-crafted code rather than using
intrusive_ptr/RefCntPtr, which means the compiler can inline the destructor
and default constructor, so a comparison to an end iterator should now
optimise to a simple NULL pointer check, but without the issues which the
ValueIteratorEnd_ proxy class approach had (such as not working in templates
or some cases of overload resolution).
* Enquire:
+ Previously, Enquire::get_matching_terms_begin() threw InvalidArgumentError
if the query was empty. Now we just return an end iterator, which is more
consistent with how empty queries behave elsewhere.
+ Remove the deprecated old-style match spy approach of using a MatchDecider.
* Remove deprecated Sorter class and MultiValueSorter subclass.
* Xapian::Stem:
+ Add stemmers for Armenian (hy), Basque (eu), and Catalan (ca).
+ Stem::operator= now returns a reference to the assigned-to object.
testsuite:
* OP_SCALE_WEIGHT: Check top weight is non-zero - if it is zero, tests which
try to check that OP_SCALE_WEIGHT works will always pass.
* testsuite: Check SerialisationError descriptions from Xapian::Weight
subclasses mention the weighting scheme name.
* Merge queryparsertest and termgentest into apitest. Their testcases now use
the backend manager machinery in the testharness, so we don't have to
hard-code use of inmemory and chert backends, but instead run them under all
backends which support the required features. This fixes some test failures
when both chert and glass are disabled due to trying to run spelling tests
with the inmemory backend.
* Avoid overflowing collection frequency in totaldoclen1. We're trying to test
total document length doesn't wrap, so avoid collection freq overflowing in
the process, as that triggers errors when running the testsuite under ubsan.
We should handle collection frequency overflow better, but that's a separate
issue.
* Add some test coverage for ESet::get_ebound().
* Fix testcase notermlist1 to check correct table extension - ".glass" not
".DB" (chert doesn't support DB_NO_TERMLIST).
* unittest: We can't use Assert() to unit test noexcept code as it throws an
exception if it fails. Instead set up macros to set a variable and return if
an assertion fails in a unittest testcase, and check that variable in the
harness.
* Add unit test for internal C_isupper(), etc functions.
* If command line option --verbose/-v isn't specified, set the verbosity level
from environmental variable VERBOSE.
* Re-enable replicate3 for glass, as it no longer fails.
* Add more test coverage for get_unique_terms().
* Don't leave an extra fd open when starting xapian-tcpsrv for remotetcp tests.
* Extend checkstatsweight1 to check that Weight::get_collection_freq() returns
the same number as Database::get_collection_freq().
* queryparsertest: Add testcase for FieldProcessor on boolean prefix with
quoted contents.
* queryparsertest: Enable some disabled cases which actually work (in some
cases with slightly tweaked expected answers which are equivalent to those
that were shown).
* Make use of the new writable multidatabase feature to simplify the
multi-database handling in the test harness.
* Change querypairwise1_helper to repeat the query build 100 times, as with a
fast modern machine we were sometimes trying with so many subqueries that we
would run out of stack.
* apitest: Use Xapian::Database::check() in cursordelbug1. (partly addresses
#238)
* apitest: Test Query ops with a single MatchAll subquery.
* apitest: New testcase readonlyparentdir1 to ensure that commit works with a
read-only parent directory.
* tests/generate-api_generated: Test that the string returned by a
get_description() method isn't empty.
* Use git commit hash in title of test coverage reports generated from a git
tree.
* Make unittest use the test harness, so it gets all the valgrind and fd leak
checks, and other handy features all the other tests have.
* Improve test coverage in several places.
* Compress generated HTML files in coverage report.
matcher:
* Fix stats passed to Weight with OP_SYNONYM. Previously the number of
unique terms was never calculated, and a term which matched all documents
would be optimised to an all-docs postlist, which fails to supply the
correct wdf info.
* Use floating point calculation for OR synonym freq estimates. The division
was being done as an integer division, which means the result was always
getting rounded down rather than rounded to the nearest integer.
* Fix upper bound on matches for OP_XOR. Due to a reversed conditional, the
estimate could be one too low in some cases where the XOR matched all the
documents in the database.
* Improve lower bound on matches for OP_XOR. Previously the lower bound was
always set to 0, which is valid, but we can often do better.
* Optimise value range which is a superset of the bounds. If the value
frequency is equal to the doccount, such a range is equivalent to MatchAll,
and we now avoid having to read the valuestream at all.
* Optimise OP_VALUE_RANGE when the upper bound can't be exceeded. In this
case, we now use ValueGePostList instead of ValueRangePostList.
* Streamline collation of statistics for use by weighting schemes - tests show
a 2% or so increase in speed in some cases.
* If a term matches all documents and its weight doesn't depend on its wdf, we
can optimise it to MatchAll (the previous requirement that maxpart == 0 was
unnecessarily strict).
* Fix the check for a term which matches all documents to use the sub-db
termfreq, not the combined db termfreq.
* When we optimise a postlist for a term which matches all documents to use
MatchAll, we still need to set a weight object on it to get percentages
calculated correctly.
* Drop MatchNothing subqueries in OR-like situations in add_subquery() rather
than adding them and then handling it later.
* Handle the left side of AND_NOT and AND_MAYBE being MatchNothing in
add_subquery() rather than in done().
* Handle QueryAndLike with a MatchNothing subquery in add_subquery() rather
than done().
* Query: Multi-way operators now store their subquery pointers in a custom
class rather than std::vector<Xapian::Query>. The custom class take the
same amount of space, or often less. It's particularly efficient when
there are two subqueries, which is very desirable as we no longer flatten a
subtree of the same operator as we build the query.
* Optimise an unweighted query term which matches all the documents in a
subdatabase to use the "MatchAll" postlist. (ticket#387)
glass backend:
* Fix allterms with prefix on glass with uncommitted changes. Glass aims to
flush just the relevant postlist changes in this case but the end of the
range to flush was wrong, so we'd only actually flush changes for a term
exactly matching the prefix. Fixes#721.
* Fix Database::check() parsing of glass changes file header. In practice this
was unlikely to actually cause problems.
* Make glass the default backend. The format should now be stable, except
perhaps in the unlikely event that a bug emerges which requires a format
change to address.
* Don't explicitly store the 2 byte "component_of" counter for the first
component of every Btree entry in leaf blocks - instead use one of the upper
bits of the length to store a "first component" flag. This directly saves 2
bytes per entry in the Btree, plus additional space due to fewer blocks and
fewer levels being needed as a result. This particularly helps the position
table, which has a lot of entries, many of them very small. The saving would
be expected to be a little less than the saving from the change which shaved
2 bytes of every Btree item in 1.3.4 (since that saved 2 bytes multiple times
for large entries which get split into multiple items). A simple test
suggests a saving of several percent in total DB size, which fits that. This
change reduces the maximum component size to 8194, which affects tables
with a 64KB blocksize in normal use and tables with >= 16KB blocksize with
full compaction.
* Refactor glass backend key comparison - == and < operations are replaced by
a compare() function returns negative, 0 or positive (like strcmp(), memcmp()
and std::string::compare()). This allows us to avoid a final compare to
check for equality when binary chopping, and to terminate early if the binary
chop hits the exact entry.
* If a cursor is moved to an entry which doesn't exist, we need to step back to
the first component of previous entry before we can read its tag. However we
often don't actually read its tag (e.g. if we only wanted the key), so make
this stepping back lazy so we can avoid doing it when we don't want to read
the tag.
* Avoid creating std::string objects to hold data when compressing and
decompressing tags with zlib.
* Store minimum compression length per table in the version file, with 0
meaning "don't compress". Currently you can only change this setting with a
hex editor on the file, but now it is there we can later make use of it
without needing a database format change.
* Database::check() now performs additional consistency checks for glass.
Reported by Jean-Francois Dockes and Bob Cargill via xapian-discuss.
* Database::check(): check docids don't exceed db_last_docid when checking
a single glass table.
* We now throw DatabaseCorruptError in a few cases where it's appropriate
but we didn't previously, in particular in the case where all the files in a
DB have been truncated to zero size (which makes handling of this case
consistent with chert).
* Fix compaction to a single file which already exists. This was hanging.
Noted by Will Greenberg on #xapian.
* Shave 2 bytes of every Btree item (which will probably typically reduce
database size by several percent).
* More compact item format for branch blocks - 2 bytes per item smaller. This
means each branch block can branch more ways, reducing the number of Btree
levels needed, which is especially helpful for cold-cache search times.
* Track an upper bound on spelling word frequency. This isn't currently used,
but will be useful for improving the spelling algorithm, and we want to
stabilise the glass backend format. See #225, reported by Philip Neustrom.
* Support 64-bit docids in the glass backend on-disk format. This changes the
encoding used by pack_uint_preserving_sort() to one which supports 64 bit
values, and is a byte smaller for values 16384-32767, and the same size for
all other 32 bit values. Fixes#686, from original report by James Aylett.
* Use memcpy() not memmove() when no risk of overlap.
* Store length of just the key data itself, allowing keys to be up to 255 bytes
long - the previous limit was 252.
* Change glass to store DB stats in the version file. Previously we stored
them in a special item in the postlist table, but putting them in the version
file reduces the number of block reads required to open the database, is
simpler to deal with, and means we can potentially recalculate tight upper
and lower bounds for an existing database without having to commit a new
revision.
* Add support for a single-file variant for glass. Currently such databases
can only be opened for reading - to create one you need to use
xapian-compact (or its API equivalent). You can embed such databases within
another file, and open them by passing in a file descriptor open on that file
and positioned at the offset the database starts at). Database::check() also
supports them. Fixes#666, reported by Will Greenberg (and previously
suggested on xapian-discuss by Emmanuel Engelhart).
* Avoid potential DB corruption with full-compaction when using 64K blocks.
* Where posix_fadvise() is available, use it to prefetch postlist Btree blocks
from the level below the root block which will be needed for postlists of
terms in the query, and similarly for the docdata table when MSet::fetch() is
called. Based on patch by Will Greenberg in #671.
* When reporting freelist errors during a database check, distinguish between a
block in use and in the freelist, and a block in the freelist more than once.
* Fix compaction and database checking for the change to the format of keys
in the positionlist table which happened in 1.3.2.
* After splitting a block, we always insert the new block in the parent right
after the block it was split from - there's no need to binary chop.
* Avoid infinite recursion when we hit the end of the freelist block we're
reading and the end of the block we're writing at the same time.
* Fix freelist handling to allow for the newly loaded first block of the
freelist being already used up.
* 'brass' backend renamed to 'glass' - we decided to use names in ascending
alphabetical order to make it easier to understand which backend is newest,
and since 'flint' was used recently, we skipped over 'd', 'e' and 'f'.
* Change positionlist keys to be ordered by term first rather than docid first,
which helps phrase searching significantly. For more efficient indexing,
positionlist changes are now batched up in memory and written out in key
order.
* Use a separate cursor for each position list - now we're ordering the
position B-tree by term first, phrase matching would cause a single cursor
to cycle between disparate areas of the B-tree and reread the same blocks
repeatedly.
* Reference count blocks in the btree cursor, so cursors can cheaply share
blocks. This can significantly reduce the amount of memory used by cursors
for queries which contain a lot of terms (e.g. wildcards which expand to a
lot of terms).
* Under glass, optimise the turning of a query into a postlist to reuse the
cursor blocks which are the same as the previous term's postlist. This is
particularly effective for a wildcard query which expands to a lot of terms.
* Keep track of unused blocks in the Btrees using freelists rather than
bitmaps. (fixes#40)
* Eliminate the base files, and instead store the root block and freelist
pointers in the "iamglass" file.
* When compacting, sync all the tables together at the end.
* In DB_DANGEROUS mode, update the version file in-place.
* Only actually store the document data if it is non-empty. The table which
holds the document data is now lazily created, so won't exist if you never
set the document data.
* Iterating positional data now decodes it lazily, which should speed up
phrases which include common words.
* Compress changesets in brass replication. Increments the changeset version.
Ticket #348
* Restore two missing lines in database checking where we report a block with
the wrong level.
* When checking if a block was newly allocated in this revision, just look
at its revision number rather than consulting the base file's bitmap.
remote backend:
* Improve handling of invalid remote stub entries: Entries without a colon now
give an error rather than being quietly skipped; IPv6 isn't yet supported,
but entries with IPv6 addresses now result in saner errors (previously the
colons confused the code which looks for a port number).
* Fix hook for remote support of user weighting schemes. The commented-out
code used entirely the wrong class - now we use the server object we have
access to, and forward the method to the class which needs it.
* Avoid dividing zero by zero when calculating the average length for an empty
database.
* Bump remote protocol version to 38.0, due to extra statistics being tracked
for weighting.
* Make Weight::Internal track if any max_part values are set, so we don't need
to serialise them when they've not been set.
* Prefix compress list of terms and metadata keys in the remote protocol.
This requires a remote protocol major version bump.
* When propagating exceptions from a remote backend server, the protocol now
sends a numeric code to represent which exception is being propagated, rather
than the name of the type, as a number can be turned back into an exception
with a simple switch statement and is also less data to transfer.
(ticket#471)
* Remote protocol (these changes require a protocol major version bump):
+ Unify REPLY_GREETING and REPLY_UPDATE.
+ Send (last_docid - doccount) instead of last_docid and (doclen_ubound -
doclen_lbound) instead of doclen_ubound.
* Remove special check which gives a more helpful error message when a modern
client is used against a remote server running Xapian <= 0.9.6.
chert backend:
* When using 64-bit Xapian::docid, consistently use the actual maximum valid
docid value rather instead of the maximum value the type can hold.
* Where posix_fadvise() is available, use it to prefetch postlist Btree blocks
from the level below the root block which will be needed for postlists of
terms in the query, and similarly for the record table when MSet::fetch() is
called. Based on patch by Will Greenberg in #671.
* Fix problems with get_unique_terms() on a modified chert database.
* Fix xapian-check on a single chert table, which seg faulted in 1.3.2.
* Improve DBCHECK_FIX:
+ if fixing a whole database, we now take the revision from the first table
we successfully look at, which should be correct in most cases, and is
definitely better than trying to determine the revision of each broken
table independently.
+ handle a zero-sized .DB file.
+ After we successfully regenerate baseA, remove any empty baseB file to
prevent it causing problems. Tracked down with help from Phil Hands.
* Iterating positional data now decodes it lazily, which should speed up
phrases which include common words.
flint backend:
* Remove flint backend.
Changelog - uritemplate
=======================
3.0.0 - 2016-08-29
------------------
- Merge uritemplate.py into uritemplate
Changelog - uritemplate.py
==========================
2.0.0 - 2016-08-20
------------------
- Relicense uritemplate.py as Apache 2 and BSD (See
https://github.com/sigmavirus24/uritemplate/pull/23)
1.0.1 - 2016-08-18
------------------
- Fix some minor packaging problems.
1.0.0 - 2016-08-17
------------------
- Fix handling of Unicode values on Python 2.6 and 2.7 for urllib.quote.
- Confirm public stable API via version number.
Upstream changes:
0.39 Tues Sept 26 2016
This release simply corrects the rev number
0.38 Mon Sept 26 2016
118069: MYMETA must not be included
0.37 Fri Sept 23 2016
101145 Add support for IO::String and "in memory" files
107301 prStrWidth returns undef when string is '0'
41287 It seems that filehandles of TTF files are not closed
79703 Allow a handle to be provided instead of a file name
107299 Warnings on empty strings in prStrWidth/prText
117892 Could not open 'Reuse.pm' (0.36_02)
93049 PDF::Reuse Bookmarks bug and fix
97290 fix for uninitialized value $param{"Index"} when reading PDF version 1.5 file
43232 Wrong prototype for findFont()
46202 PDF-Reuse 0.35 prDoc/xrefSection problem
48804 Bad PDF Spins CPU
59359 qQ imbalance in Reuse.pm
104874 prMbox() not dealing with 0 ux/uy
Thanks to all who contributed patches for these fixes!
This is a Python implementation of the WHATWG Encoding standard.
In order to be compatible with legacy web content when interpreting
something like Content-Type: text/html; charset=latin1, tools need
to use a particular set of aliases for encoding labels as well as
some overriding rules. For example, US-ASCII and iso-8859-1 on the
web are actually aliases for windows-1252, and an UTF-8 or UTF-16
BOM takes precedence over any other encoding declaration. The
Encoding standard defines all such details so that implementations
do not have to reverse-engineer each other.
This module has encoding labels and BOM detection, but the actual
implementation for encoders and decoders is Python's.
This is not a legal value for CCVER anymore. The legal values are
"gcc47" or "gcc50". However, "gcc47" should be avoid. For now everything
should build with the primary base compiler on DragonFly.
Local changes:
- reuse upstream INSTALL_TARGET dirs
- depend on documentation installed by default
Upstream changelog
==================
1.6.1: August 9, 2014
- handle unicode arguments under Windows
1.6.0: June 12, 2014
- get rid of "helpful" message about namespaces
- update user guide
- Enhancements:
- add --stop option to val
- add global option --no-doc-namespace
- Build:
- let the make install target succeed even if docs aren't built.
1.5.0: Jul 7, 2013
- Bugs:
- avoid segfault on pyx non-existant file
- fix unescaping of entities straddling 4K byte boundary (Bug #102)
- Enhancements:
- unescape hex entities (&#xXX;)
- give a helpful message if doc has default namespace and
nothing matched
- add "_" and "DEFAULT" as names for document's top-level
default namespace
- Adding a global quiet option
- ed: Allow omitting value argument to create empty element.
- use default attribute values in sel subcommand
- Build:
- fix test variables to work with newer automake (1.11 -> 1.13)
- fix usage2c.awk for mawk
- scripts for building on mingw
1.4.2: Dec 28, 2012
- pyx: avoid segfault on documents with multiple attributes (Bug
#3595212)
1.4.1: Dec 8, 2012
- avoid segfault when attempting to edit the document node (Bug
#3575722)
- Packaging:
- include doc/xmlstar-fodoc-style.xsl in the dist so that the
--enable-build-docs option works from the tarball (Bug
#3580667)
- AC_SUBST PACKAGE_TARNAME for automake so that documentation is
installed to the right place (Bug #3561958)
- Test Suite:
- avoid test failures due to XML formatting and whitespace
changes (also fixes Bug #3572789)
- use automake's parallel test suite
- make bigxml tests much faster by using whitespace instead of nodes
- don't test str:replace() with ed: it doesn't work outside of
xslt in new libxslt
- ignore extra errors from libxml 2.9.0 bug
- let tests run using busybox
- add runAllTests.sh to run tests without make
1.4.0: Aug 26, 2012
- Documentation:
- executable name used in documentation now matches
--transform-program-name (Bug #3283713)
- added Makefile rules for generating documentation
(./configure --enable-build-docs)
- ed subcommand:
- relative XPaths are now handled correctly (Bug #3527850)
- the last nodeset inserted by an edit operation can be
accessed as the XPath variable $prev (or $xstar:prev)
- add --var option to define XPath variables
- allow ed -u -x to insert nodesets instead of converting to
string
- remove hard limit for number of edit operations (Bug
#3488240)
- pyx now handles namespaces correctly
3.1.5
* Avoid Rails 5 deprecation warning about original_exception
* No longer generates <a rel="start"> for first page link since "start"
is an invalid rel value
3.1.4 (seems not released)
3.1.3
* Rails 5 compatibility for inheriting query params in pagination links
* Fix locale load path so that application can override will_paginate's
built-in translations.
3.1.2
* Further fix security vulnerability when generating pagination URLs in
Rails.
3.1.1
* Fixed security vulnerability when generating pagination URLs in Rails.
3.1.0
* Rails 5.0 support
* Drop support for old Active Record finder params to paginate():
# now unsupported:
User.paginate(:page => 1, :order => 'created_at DESC', :conditions => ...)
# convert to Arel syntax instead:
User.order('created_at DESC').where(...).paginate(:page => 1)
# or, even better:
User.order('created_at DESC').where(...).page(1)
* Add support for pagination with Mongoid
# 0.9.5 - July 22nd, 2016
- `yard doc` will now generate `.yardoc/processing` and `.yardoc/complete` files
to allow other tools to properly detect when YARD is in the middle of parsing
source files, and when it has completed writing the database.
- Added support for on-demand generation of LibraryVersion objects using the
`:disk` source type. LibraryVersion objects pointing to a .yardoc database
directory will now auto-generate if there is a `source_path` attached.
- Added warning for macros attached to non-method objects.
- Fixed a few more parsing errors.
pkgsrc change: Remove overriding gemspec to fix parslet dependency
* Drop support for Ruby 1.8.
* Fix Rison.dump to encode numeric hash keys as strings
pkgsrc change: Add support for pkg_alternatives.
== 4.3.2 / May 23rd, 2016
* Fix additional case for CVE-2012-6684 [Joshua Siler]
== 4.3.1 / May 17th, 2016
* Fix additional case for CVE-2012-6684 [Joshua Siler]
== 4.3.0 / April 29th, 2016
* Remove JRuby and Windows cross compilation and support
* Add Ruby 2.2.3 testing and support
* include CVE-2012-6684 fix [Tomas Pospisek]
* fix by [Antonio Terceiro]
* see http://sources.debian.net/src/ruby-redcloth/4.2.9-4/debian/patches/0001-Filter-out-javascript-links-when-using-filter_html-o.patch/
* vulnerability reported by [Kousuke Ebihara]
* see http://co3k.org/blog/redcloth-unfixed-xss-en
== 4.2.9.1 / February 24, 2015
* Lazy-load latex_entities.yml [Charlie Somerville]
=== 1.6.8.1 / 2016-10-03
==== Dependency License Notes
Removes required dependency on the `pkg-config` gem. This dependency
was introduced in v1.6.8 and, because it's distributed under LGPL, was
objectionable to many Nokogiri users (#1488, #1496).
This version makes `pkg-config` an optional dependency. If it's
installed, it's used; but otherwise Nokogiri will attempt to work
around its absence.
=== 1.6.8 / unreleased
==== Security Notes
[MRI] Bundled libxml2 is upgraded to 2.9.4, which fixes many security issues. Many of these had previously been patched in the vendored libxml 2.9.2 in the 1.6.7.x branch, but some are newer.
See these libxml2 email posts for more:
* https://mail.gnome.org/archives/xml/2015-November/msg00012.html
* https://mail.gnome.org/archives/xml/2016-May/msg00023.html
For a more detailed analysis, you may care to read Canonical's take on these security issues:
* http://www.ubuntu.com/usn/usn-2994-1
[MRI] Bundled libxslt is upgraded to 1.1.29, which fixes a security issue as well as many long-known outstanding bugs, some features, some portability improvements, and general cleanup.
See this libxslt email post for more:
* https://mail.gnome.org/archives/xslt/2016-May/msg00004.html
==== Features
Several changes were made to improve performance:
* [MRI] Simplify NodeSet#to_a with a minor speed-up. (#1397)
* XML::Node#ancestors optimization. (#1297) (Thanks, Bruno Sutic!)
* Use Symbol#to_proc where we weren't previously. (#1296) (Thanks, Bruno Sutic!)
* XML::DTD#each uses implicit block calls. (Thanks, @glaucocustodio!)
* Fall back to the `pkg-config` gem if we're having trouble finding the system libxml2. This should help many FreeBSD users. (#1417)
* Set document encoding appropriately even on blank document. (#1043) (Thanks, @batter!)
==== Bug Fixes
* [JRuby] fix slow add_child (#692)
* [JRuby] fix load errors when deploying to JRuby/Torquebox (#1114) (Thanks, @atambo and @jvshahid!)
* [JRuby] fix NPE when inspecting nodes returned by NodeSet#drop (#1042) (Thanks, @mkristian!)
* [JRuby] fix nil attriubte node's namespace in reader (#1327) (Thanks, @codekitchen!)
* [JRuby] fix Nokogiri munging unicode characters that require more than 2 bytes (#1113) (Thanks, @mkristian!)
* [JRuby] allow unlinking an unparented node (#1112, #1152) (Thanks, @esse!)
* [JRuby] allow Fragment parsing on a frozen string (#444, #1077)
* [JRuby] HTML `style` tags are no longer encoded (#1316) (Thanks, @tbeauvais!)
* [MRI] fix assertion failure while accessing attribute node's namespace in reader (#843) (Thanks, @2potatocakes!)
* [MRI] fix issue with GCing namespace nodes returned in an xpath query. (#1155)
* [MRI] Ensure C strings are null-terminated. (#1381)
* [MRI] Ensure Rubygems is loaded before using mini_portile2 at installation. (#1393, #1411) (Thanks, @JonRowe!)
* [MRI] Handling another edge case where the `libxml-ruby` gem's global callbacks were smashing the heap. (#1426). (Thanks to @bbergstrom for providing an isolated test case!)
* [MRI] Ensure encodings are passed to Sax::Parser xmldecl callback. (#844)
* [MRI] Ensure default ns prefix is applied correctly when reparenting nodes to another document. (#391) (Thanks, @ylecuyer!)
* [MRI] Ensure Reader handles non-existent attributes as expected. (#1254) (Thanks, @ccutrer!)
* [MRI] Cleanup around namespace handling when reparenting nodes. (#1332, #1333, #1444) (Thanks, @cuttrer and @bradleybeddoes!)
* unescape special characters in CSS queries (#1303) (Thanks, @twalpole!)
* consistently handle empty documents (#1349)
* Update to mini_portile2 2.1.0 to address whitespace-handling during patching. (#1402)
* Fix encoding of xml node namespaces.
* Work around issue installing Nokogiri on overlayfs (commonly used in Docker containers). (#1370, #1405)
==== Other Notes
* Removed legacy code remaining from Ruby 1.8.x support.
* Removed legacy code remaining from REE support.
* Removing hacky workarounds for bugs in some older versions of libxml2.
* Handling C strings in a forward-compatible manner, see https://github.com/ruby/ruby/blob/v2_2_0/NEWS#L319
== 2.9.0 / 2016-06-13 Charlie Savage
* Revamp libxml-ruby's memory management to not cause crashes when used with Nokogiri (James Laird-Wah)
* Fix garbage collection issue that sometimes caused the library to hang (Charlie Savage)
* Improved multi-threading support (Charlie Savage)
* Fix crash sometimes caused by a xml node being being freed twice (Charlie Savage)
* Fix memory leak when setting the text content of a node (Charlie Savage)
* Set a default task in the Rakefile - use "test" (Robert Haines)
* Add "hanna_gudao" gem and add "rake-compiler" to develpoment dependencies (Robert Haines)
* Use Process.getrlimit instead of `ulimit` in the tests (Robert Haines)
* Build on smartos (Steven Williamson)
* Fix compiler warnings (Charlie Savage)
* Add Xcode project for easier debugging on OSX (Charlie Savage)
* Switch from unit test to minitest (Charlie Savage)
kramdown 1.12.0 released Published on Monday, 15 August 2016
This release features two enhancements for definition lists:
1. IALs can now be applied to definition terms:
{:.classy} term
: and its definition
2. IDs for definition terms can now be created automatically (similar to
header IDs) and optionally assigned a prefix:
{:auto_ids}
term1
: definition
term2
: definition
^
{:auto_ids-prefix}
term1
: definition
term2
: definition
Furthermore, compatibility of the GFM parser has been improved in regards
to list/blockquotes/codeblocks that are used directly after a paragraph
(i.e. without a blank line).
Changes
* 4 minor change:
- Allow using an IAL for definition terms (<dt>) as is already possible with
definitions themselves (<dd>)
- Added automatic generation of IDs (with optional prefix) for terms of
definition lists (fixes#355, requested by Greg Wilson)
- Removed obfuscation for e-mail links (fixes#343, requested by Anton
Tsyganenko)
- New option ¡Ægfm_quirks¡Ç for enabling/disabling parsing differences of
the GFM parser with respect to the kramdown parser
* 4 bug fixes:
- Added support for HTML5 element <main> (fixes#334, reported by
Jean-Michel Lacroix)
- Fixed math element output for HTML converter when no math engine is set
(fixes#342, reported by Adrian Sampson)
- Fixed problem when using custom HTML formatter for syntax highlighter
rouge (fixes#356, patch by Alexey Vasiliev)
- Better compatibility with GFM when lists/blockquotes/codeblocks are used
directly after a paragraph (fixes#336 (reported by Shuanglei Tao), #359
(reported by Matti Schneider) via the patch #358 by Shuanglei Tao)
* 3 other fixes and enhancements:
- Added some more examples for how list indentation works (fixes#353,
requested by Robbert Brak)
- Using RbConfig instead of deprecated Config for determining data directory
(fixes#345, patch by C«±dric Boutillier)
- JRuby is now also tested via TravisCI (fixes#363, patch by Shuanglei Tao)
kramdown 1.11.1 released Published on Sunday, 01 May 2016
This release fixes an emphasis parsing regression introduced in the last
version.
Changes
* 1 bug fix:
- Fixed emphasis parsing regression (fixes#333, reported by Marcus
Stollsteimer)
kramdown 1.11.0 released Published on Sunday, 01 May 2016
This release fixes some bugs and includes one minor change in regards to HTML
syntax highlighting.
Changes
* 1 minor change:
- The syntax highlighting language is now always included in the output as
class name even if a syntax highlighter is used (fixes#328, requested by
SLaks)
* 3 bug fixes:
- Fixed the GFM fenced code block parser to correctly split a provided
highlighter name into language name and options parts
- Fixed problem with underscores being processed even if inside a word
(fixes#323, reported by Haruki Kirigaya)
- Fixed HTML/XML parser to correctly, case sensitively parse XML (fixes
#310, reported by cabo)
* 2 other fixes:
- Updated copyright year (fixes#331, reported by Oscar Bj«Órkman)
- Updated supported Ruby version on installation page (reported by cabo)
Upstream changes:
2.030 2016-10-13
- Fix a font naming issue introduced while satisfying
Perl::Critic.
2.029 2016-10-10
- [RT #113293] Files with cross-reference streams weren't
correctly setting the max object number (report and
troubleshooting by Marco Pessotto).
- Handle TIFF images with strips that are wider than the image
(report and patch by Jeffrey Ratcliffe).
- [RT #98574] Increase test coverage of PDF::API2::Content (tests
by Phil Perry).
- A bunch of code cleanup and documentation updates by Paul
Cochrane.
- Add a missing prereq on Win32 systems (patch by Michiel Beijen).
- [RT #113514, #98552] Fix the dash() and renderingintent()
methods in ExtGState (reported by Vadim Repin and Phil Perry).
- Satisfy all Perl::Critic severity 5 policies.
- [RT #117940] Allow PNG, GIF, and PNM files to be opened from
filehandles in addition to filenames (patch by Johan Vromans).
- [RT #33970] Fail fast when a referenced file can't be opened
(requested by Barrie Slaymaker a mere 8.5 years ago).
- Add -simplex, -duplexfliplongedge and -duplexflipshortedge as
options to $pdf->preferences() (requested by Doug Poulin).
Upstream changes:
4.015 2016-10-14 20:48:13-04:00 America/New_York
- fix bugs introduced in 4.014 that would cause [Bugs] and [Legal]
to run even when they should've skipped
4.014 2016-09-18 22:25:51-04:00 America/New_York
- make links in [Bugs] use L<> (thanks, David Zurborg!)
- added debug level logging to the weaver, plugins, and
section. GitHub #42. (thanks, Dave Rolsky)
2016.9.19
=========
----
* Default image alt text option created and set to a default of empty string "" to maintain backward compatibility
* Fix#136: --default-image-alt now takes a string as argument
* Fix#113: Stop changing quiet levels on \/script tags.
* Merge #126: Fix deprecation warning on py3 due to html.escape
* Fix#145: Running test suite on Travis CI for Python 2.6.
0.10 Wednesday 14th September, 2016
Added ability to alter regex seperator (patch from Mark Fowler)
Switch distribution packaging back to ExtUtils::MakeMaker (RT#104876)
---------------------------------------
cmark 0.26.1
@jgm jgm released this Jul 16, 2016 . 18 commits to master since this release
* Removed unnecessary typedef that caused build failure on some platforms.
* Use $(MAKE) in Makefile instead of hardcoded make (#146, Tobias Kortkamp).
cmark 0.26.0
@jgm jgm released this Jul 15, 2016 . 23 commits to master since this release
* Implement spec changes for list items:
+ Empty list items cannot interrupt paragraphs.
+ Ordered lists cannot interrupt paragraphs unless they start with 1.
+ Removed "two blank lines break out of a list" feature.
* Fix sourcepos for blockquotes (#142).
* Fix sourcepos for atx headers (#141).
* Fix ATX headers and thematic breaks to allow tabs as well as spaces.
* Fix chunk_set_cstr with suffix of current string (#139, Nick Wellnhofer).
It's possible that cmark_chunk_set_cstr is called with a substring (suffix)
of the current string. Delay freeing of the chunk content to handle this
case correctly.
* Export targets on installation (Jonathan M?ller). This allows using them in
other cmake projects.
* Fix cmake warning about CMP0048 (Jonathan M?ller).
* commonmark renderer: Ensure we don't have a blank line before a code block
when it's the first thing in a list item.
* Change parsing of strong/emph in response to spec changes. process_emphasis
now gets better results in corner cases. The change is this: when
considering matches between an interior delimiter run (one that can open
and can close) and another delimiter run, we require that the sum of the
lengths of the two delimiter runs mod 3 is not 0.
* Ported Robin Stocker's changes to link parsing in jgm/CommonMark#101. This
uses a separate stack for brackets, instead of putting them on the
delimiter stack. This avoids the need for looking through the delimiter
stack for the next bracket.
* cmark_reference_lookup: Return NULL if reference is null string.
* Fix character type detection in commonmark.c (Nick Wellnhofer). Fixes test
failures on Windows and undefined behavior.
+ Implement cmark_isalpha.
+ Check for ASCII character before implicit cast to char.
+ Use internal ctype functions in commonmark.c.
* Better documentation of memory-freeing responsibilities. in cmark.h and its
man page (#124).
* Use library functions to insert nodes in emphasis/link processing.
Previously we did this manually, which introduces many places where errors
can creep in.
* Correctly handle list marker followed only by spaces. Previously when a
list marker was followed only by spaces, cmark expected the following
content to be indented by the same number of spaces. But in this case we
should treat the line just like a blank line and set list padding
accordingly.
* Fixed a number of issues relating to line wrapping.
+ Extend CMARK_OPT_NOBREAKS to all renderers and add --nobreaks.
+ Do not autowrap, regardless of width parameter, if CMARK_OPT_NOBREAKS
is set.
+ Fixed CMARK_OPT_HARDBREAKS for LaTeX and man renderers.
+ Ensure that no auto-wrapping occurs if CMARK_OPT_NOBREAKS is enabled,
or if output is CommonMark and CMARK_OPT_HARDBREAKS is enabled.
* Set stdin to binary mode on Windows (Nick Wellnhofer, #113). This fixes
EOLs when reading from stdin.
* Add library option to render softbreaks as spaces (Pavlo Kapyshin). Note
that the NOBREAKS option is HTML-only
* renderer: no_linebreaks instead of no_wrap. We generally want this option
to prohibit any breaking in things like headers (not just wraps, but
softbreaks).
* Coerce realurllen to int. This is an alternate solution for pull request #
132, which introduced a new warning on the comparison (Benedict Cohen).
* Remove unused variable link_text (Mathiew Duponchelle).
* Improved safety checks in buffer (Vicent Marti).
* Add new interface allowing specification of custom memory allocator for
nodes (Vicent Marti). Added cmark_node_new_with_mem,
cmark_parser_new_with_mem, cmark_mem to API.
* Reduce storage size for nodes by using bit flags instead of separate
booleans (Vicent Marti).
* config: Add SSIZE_T compat for Win32 (Vicent Marti).
* cmake: Global handler for OOM situations (Vicent Marti).
* Add tests for memory exhaustion (Vicent Marti).
* Document in man page and public header that one should use the same memory
allocator for every node in a tree.
* Fix ctypes in Python FFI calls (Nick Wellnhofer). This didn't cause
problems so far because all types are 32-bit on 32-bit systems and
arguments are passed in registers on x86-64. The wrong types could cause
crashes on other platforms, though.
* Remove spurious failures in roundtrip tests. In the commonmark writer we
separate lists, and lists and indented code, using a dummy HTML comment. So
in evaluating the round-trip tests, we now strip out these comments. We
also normalize HTML to avoid issues having to do with line breaks.
* Add 2016 to copyright (Kevin Burke).
* Added to_commonmark in test/cmark.py (for round-trip tests).
* spec_test.py - parameterize do_test with converter.
* spec_tests.py: exit code is now sum of failures and errors. This ensures
that a failing exit code will be given when there are errors, not just with
failures.
* Fixed round trip tests. Previously they actually ran cmark instead of the
round-trip version, since there was a bug in setting the ROUNDTRIP variable
(#131).
* Added new roundtrip_tests.py. This replaces the old use of simple shell
scripts. It is much faster, and more flexible. (We will be able to do
custom normalization and skip certain tests.)
* Fix tests under MinGW (Nick Wellnhofer).
* Fix leak in api_test (Mathieu Duponchelle).
* Makefile: have leakcheck stop on first error instead of going through all
the formats and options and probably getting the same output.
* Add regression tests (Nick Wellnhofer).
cmark 0.25.2
@jgm jgm released this Mar 26, 2016 . 114 commits to master since this release
* Open files in binary mode (#113, Nick Wellnhofer). Now that cmark supports
different line endings, files must be openend in binary mode on Windows.
* Reset partially_consumed_tab on every new line (#114, Nick Wellnhofer).
* Handle buffer split across a CRLF line ending (#117). Adds an internal
field to the parser struct to keep track of last_buffer_ended_with_cr.
Added test.
cmark 0.25.1
@jgm jgm released this Mar 25, 2016 . 122 commits to master since this release
* Release with no code changes. cmark version was mistakenly set to 0.25.1 in
the 0.25.0 release (#112), so this release just ensures that this will
cause no confusion later.
cmark 0.25.0
@jgm jgm released this Mar 25, 2016 . 124 commits to master since this release
* Fixed tabs in indentation (#101). This patch fixes S_advance_offset so that
it doesn't gobble a tab character when advancing less than the width of a
tab.
* Added partially_consumed_tab to parser. This keeps track of when we have
gotten partway through a tab when consuming initial indentation.
* Simplified add_line (only need parser parameter).
* Properly handle partially consumed tab. E.g. in
- foo
<TAB><TAB>bar
we should consume two spaces from the second tab, including two spaces
in the code block.
* Properly handle tabs with blockquotes and fenced blocks.
* Fixed handling of tabs in lists.
* Clarified logic in S_advance_offset.
* Use an assertion to check for in-range html_block_type. It's a programming
error if the type is out of range.
* Refactored S_processLines to make the logic easier to understand, and added
documentation (Mathieu Duponchelle).
* Removed unnecessary check for empty string_content.
* Factored out contains_inlines.
* Moved the cmake minimum version to top line of CMakeLists.txt (tinysun212).
* Fix ctype(3) usage on NetBSD (Kamil Rytarowski). We need to cast value
passed to isspace(3) to unsigned char to explicitly prevent possibly
undefined behavior.
* Compile in plain C mode with MSVC 12.0 or newer (Nick Wellnhofer). Under
MSVC, we used to compile in C++ mode to get some C99 features like mixing
declarations and code. With newer MSVC versions, it's possible to build in
plain C mode.
* Switched from "inline" to "CMARK_INLINE" (Nick Wellnhofer). Newer MSVC
versions support enough of C99 to be able to compile cmark in plain C mode.
Only the "inline" keyword is still unsupported. We have to use "__inline"
instead.
* Added include guards to config.h
* config.h.in - added compatibility snprintf, vsnprintf for MSVC.
* Replaced sprintf with snprintf (Marco Benelli).
* config.h: include stdio.h for _vscprintf etc.
* Include starg.h when needed in config.h.
* Removed an unnecessary C99-ism in buffer.c. This helps compiling on systems
like luarocks that don't have all the cmake configuration goodness (thanks
to carlmartus).
* Don't use variable length arrays (Nick Wellnhofer). They're not supported
by MSVC.
* Test with multiple MSVC versions under Appveyor (Nick Wellnhofer).
* Fix installation dir of man-pages on NetBSD (Kamil Rytarowski).
* Fixed typo in cmark.h comments (Chris Eidhof).
* Clarify in man page that cmark_node_free frees a node's children too.
* Fixed documentation of --width in man page.
* Require re2c >= 1.14.2 (#102).
* Generated scanners.c with more recent re2c.
(pkgsrc changes)
- Drop two patches accepted to upstream
Upstream changes:
1.25 - 2016-08-28, H.Merijn Brand
* Allow lc, uc, and coderef for csv () headers attribute
* Document for eof when the last line has an error (RT#115954)
* Allow csv () to call header () with all supported arguments
* Add some docs for bind_columns
Packaged for wip by Jonathan Schleifer, with improvements by
K.I.A.Derouiche and myself.
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.
* Wheel packages for Windows binaries.
* Adding an implicit resolver to a derived loader should not affect
the base loader (fixes issue #57).
* Uniform representation for OrderedDict across different versions
of Python (fixes issue #61).
* Fixed comparison to None warning (closes issue #64).
4.5.0
Customizable output format for redirected output
In a natural follow-on to the 4.4.0 redirected-output feature, the
4.5.0 release allows your tap-files to be in a different output
format from the main program output.
For example, using
mlr --icsv --opprint ... then put --ojson 'tee > "mytap-".$a.".dat",
$*' then ...
the input is CSV, the output is pretty-print tabular, but the
tee-files output is written in JSON format. Likewise --ofs, --ors,
--ops, --jvstack, and all other output-formatting options from the
main help at mlr -h and/or man mlr default to the main command-line
options, and may be overridden with flags supplied to mlr put and
mlr tee.
4.4.0
Redirected output, row-value shift, and other features
The principal feature of Miller 4.4.0 is redirected output. Inspired
by awk, Miller lets you tap/tee your data as it's processed, run
output through subordinate processes such as gzip and jq, split a
single file into multiple files per an account-ID column, and so
on.
Details:
http://johnkerl.org/miller/doc/reference.html#Redirected-output_statements_for_put
Other features:
mlr step -a shift allows you to place the previous record's
values alongside the current record's values:
http://johnkerl.org/miller/doc/reference.html#step
mlr head, when used without the group-by flag (-g), stops after
the specified number of records has been output. For example,
even with a multi-gigabyte data file, mlr head -n 10 hugefile.dat
will complete quickly after producing the first ten records
from the file.
The sec2gmtdate verb, and sec2gmtdate function for filter/put,
is new: please see
http://johnkerl.org/miller/doc/reference.html#sec2gmtdate and
http://johnkerl.org/miller/doc/reference.html#Functions_for_filter_and_put.
sec2gmt and sec2gmtdate both leave non-numbers as-is, rather
than formatting them as (error). This is particularly relevant
for formatting nullable epoch-seconds columns in SQL-table
output: if a column value is NULL then after sec2gmt or
sec2gmtdate it will still be NULL.
The dot operator has been universalized to work with any data
type and produce a string. For example, if the field n has
integers, then instead of typing mlr put '$name = "value:".string($n)'
you can now simply domlr put '$name = "value:".$n'. This is
particularly timely for creating filenames for redirected
print/dump/tee/emit output.
The online documents now have a copy of the Miller manpage:
http://johnkerl.org/miller/doc/manpage.html
Bugfix: inside filter/put, $x=="" was distinct from isempty($x).
This was nonsensical; now both are the same.
iso-codes 3.70
--------------
Dr. Tobias Quathamer <toddy@debian.org>
Mon, 29 Aug 2016
[ ISO 3166-2 ]
* Update name for ES-SS to Gipuzkoa, thanks to Albert Cervera
for the bug report. Closes: alioth#315433
[ ISO 3166-2 translations ]
* German by Dr. Tobias Quathamer
* Spanish by Dr. Tobias Quathamer
* French by Dr. Tobias Quathamer
[ ISO 639-2 translations ]
* Swedish by Anders Jonsson (TP)
26 August 2016
vobject 0.9.3 released
Release Notes
Fixed use of doc in setup.py for -OO mode
Added python3 compatibility for base64 encoding
Fixed ORG fields with multiple components
Handle pytz timezones in iCalendar serialization
Use logging instead of printing to stdout
13 March 2016
vobject 0.9.2 released
Release Notes
Better line folding for utf-8 strings
Convert unicode to utf-8 to be StringIO compatible
16 February 2016
vobject 0.9.1 released
Release Notes
Removed lock on dateutil version (>=2.4.0 now works)
3 February 2016
vobject 0.9.0 released
Release Notes
Python 3 compatible
Updated version of dateutil (2.4.0)
More comprehensive unit tests available in tests.py
Performance improvements in iteration
Test files are included in PyPI download package
28 January 2016
vobject 0.8.2 released
Release Notes
Removed unnecessary ez_setup call from setup.py
5.22:
Sonnet
* Install parsetrigrams tool for cross compiling
* hunspell: Load/Store a personal dictionary
* Support hunspell 1.4
* configwidget: notify about changed config when ignored words updated
* settings: don't immediately save the config when updating ignore list
* configwidget: fix saving when ignore words updated
* Fix failed to save ignore word issue
5.24:
Sonnet
* Mark helper exe as non-gui app
* Allow nsspellcheck to be compiled on mac per default
5.25:
Sonnet
* hunspell: Clean up code for searching for dictionaries, add XDG dirs
* Try to fix language filter usage of language detection a bit
The purpose of this package is to generate random (plausible) text
sentences and paargraphs based on a dictionary and a sample text.
By default this package will generate Lorem Ipsum style text, but
you can customize the generator to effectively load any dictionary
and any sample text you like.
Upstream changes:
0.30 2016-08-17
* Source repo moved from Subversion to Github
* Add -p to pdfstamp
* Add -g, -p, -u to pdfbklt
* Bug fixes
* Wasn't installing on Windows Perl 5.22 and up
* [rt.cpan.org] #116492: make install fails under Strawberry Perl
* [rt.cpan.org] #110855: Fix pod2man errors
* [rt.cpan.org] #86452: Parse error reading array
* [rt.cpan.org] #78351: Invalid version format (non-numeric data)
* [rt.cpan.org] #41085: ASCII85 decode broken
* [rt.cpan.org] #35871: lzw compression fixup
* [rt.cpan.org] #32210: pdfstamp patch for use strict
* [rt.cpan.org] #31353: adding first test
* fix Dict::read_stream() to write long streams to file as intended
* fix LZWDecode to handle streams longer than 4096 bytes
* close INFILE at start of release()
* Fix Dict to allow single stream filters rather than requiring an array
Changelog:
libodfgen 0.1.6
- All:
+ Support hatching fills.
+ Handle visibility and printability of objects.
+ Compute print orientation from page dimensions.
+ Allow to specify list label font and font size.
- Drawing/Presentation:
+ Handle fill properties in openPage(), allowing to set page
background.
- Spreadsheet:
+ Correctly emit merged cells.
+ Allow graphics anchored to a sheet cell.
+ Handle repeated rows/columns, specified by properties
table:number-rows-repeated and table:number-columns-repeated.
+ Add matrix operators ({, } and |).
+ Handle more cell attributes.
+ Increase precision of generated numbers.
- Text:
+ Allow to set header/footer style.
- Other improvements and fixes.
----------------------------------
iso-codes 3.69
--------------
Dr. Tobias Quathamer <toddy@debian.org>
Tue, 2 Aug 2016
[ ISO 3166-2 ]
* Fix typo for PH-NEC (Negros Occidental), thanks to Anders Jonsson
for the bug report.
* Update name for ES-BI to "Bizkaia", thanks to Albert Cervera
for the bug report. Closes: alioth#315432
[ ISO 3166-2 translations ]
* Swedish by Josef Andersson (TP)
* French by Christian Perrier
* German by Dr. Tobias Quathamer
[ ISO 3166-1 translations ]
* French by Christian Perrier
[ ISO 15924 translations ]
* French by Christian Perrier
[ ISO 4217 translations ]
* Croatian by Božidar Putanec (TP)
Version 1.1.15
- Update to p1_utils 1.0.5
Version 1.1.14
- Erlang OTP R19 compliance
- Fix compilation on rebar3
Version 1.1.13
- Use p1_utils 1.0.4
Version 1.1.12
- Generator improvements
Version 1.1.11
- Now properly includes Elixir lib/ directory in hex.pm package
Version 1.1.10
- Split build in two steps to fix link step on Ubuntu
- Clean Makefile.mix to remove duplicated code
Version 1.1.9
- Fix Linux build with Mix
Version 1.1.8
- Package priv/lib structure to make sure everything is properly
build by mix
Version 1.1.7
- Fix indent issue in Mix Makefile
Version 1.1.6
- Add missing Makefile.mix file in rebar hex.pm package
description
- Make sure priv dir is created when building with mix and
included in package dir list
Version 1.1.4
This is an Elixir friendly update:
- Add ability to return maps instead of xmlel record
- Add ability to tell parser to return Elixir structs instead of
records
- Add Elixir tests
----------------------------------------------
0.30 Aug 08 2016
used github as repository
added more abbreviations
set the default character set to en_US.UTF-8
added example/demo.pl script
0.99.4 2016-08-03
- fix tautology comparison in tautology in
`fjson_object_iter_equal`
Thanks to Andres Stieger for the patch
- improve build system to handle slightly older autoconf versions
- fix build problems with gcc6
Thanks to Andres Stieger for the patch
0.99.3 2016-07-11
- new dependency: autoconf-archive
- exit() is no longer called in unexpected situations
The previous code called exit on some occasions and did not
give the caller a chance to do any cleanup or handling on
it's own. This has completely been removed. Note that it was
very unlikely that this problem affected a caller, as exit()
was only called under very rare circumstances (e.g. OOM).
- fjson_version now returns configure VERSION
This avoid inconsistency.
- removal of Windows and Android bits
Thanks to Michael Biebl for the patch.
- fixes of the build system
Thanks to Michael Biebl for the patch.
- dropped support for Windows and Android as we do not target
these platforms
- "make distcheck" now works
- fix invalid Unicode representation for some non US-ASCII
characters when printed as string. Note that this could
potentially also lead to a segfault
This is a maintenance release with over 70 bug fixes and small
improvements., just to mention a few:
- max_matches option did not affect facet queries #2348
- support for Connector/J 5.1.36+ #2365
- UTF-8 support for extended wildcards (?,%) #2451
- group by aliased for JSON array #2452
- multi query with profiling enabled #2394
- ping to bad ha mirror pause accept thread at daemon #2363
- windows service does not handle system shutdown #2497
- 64-bit values comparison for ALL/ANY/INDEXOF functions #2437
- count(*) statement vs space characters at facet #2420
- better SphinxQL logs #2462, #2435
- lcs calculation for large delta position #2398
- official packages for Ubuntu 16.04 LTS
- added missing logrotate for some Debian/Ubuntu packages
- Ubuntu 16.04, Debian Jessie, RHEL/CentOS 7 packages use systemd
service script
3.6.1 (2016-07-24)
==================
Features added
--------------
* GH#180: Separate option ``inline_style`` for Cleaner that only removes ``style``
attributes instead of all styles. Patch by Christian Pedersen.
* GH#196: Windows build support for Python 3.5. Contribution by Maximilian Hils.
Bugs fixed
----------
* GH#199: Exclude ``file`` fields from ``FormElement.form_values`` (as browsers do).
Patch by Tomas Divis.
* GH#198, LP#1568167: Try to provide base URL from ``Resolver.resolve_string()``.
Patch by Michael van Tellingen.
* GH#191: More accurate float serialisation in ``objectify.FloatElement``.
Patch by Holger Joukl.
* LP#1551797: Repair XSLT error logging. Patch by Marcus Brinkmann.
Upstream changes:
1.95 2016-07-30
- Hopefully fix RT#116461
- https://rt.cpan.org/Public/Bug/Display.html?id=116461
- Makefile.PL shouldn't run "pkg-config libexslt" if LIBS or INC were
provided
- Thanks to NWELLNHOF for the report and a suggested fix.
--------------------------------------
(from: igerman98-20160407/Documentation/Changes)
since 20151222:
- some new words
- check for broken GNU grep during build
Upstream changes:
CHANGES IN highr VERSION 0.6
NEW FEATURES
o `hilight()` can deal with multibyte characters that cannot represented in
the system native encoding now (on Windows)
BUG FIXES
o blank lines before/after code are preserved in the hilight() output now
(thanks, Terry Therneau)
I built csvtomd to convert one or more CSV files into nicely-padded
Markdown tables. Now you can build your tables in Excel and convert
them for use in GitHub, Bitbucket, or Mou Markdown files without
having to construct them by hand.
jo creates a JSON string on stdout from words given it as arguments or
read from stdin. Without option -a it generates an object whereby each
word is a key=value (or key@value) pair with key being the JSON object
element and value its value. jo attempts to guess the type of value in
order to create number (using strtod(3)), string, or null values in
JSON.
Originally packaged in pkgsrc-wip by Frederic Cambus.
----------------------------------------
2.0128 2016-07-24
- Hopefully add the .pod files again as they were missing from 2.0127.
- https://github.com/shlomif/perl-XML-LibXML/issues/3
- Thanks to Paul Howarth for the report.
- This was caused by ExtUtils::Manifest just warning that the files
referenced in the "MANIFEST" file were not present and still
continuing to prepare the archive as usual. A "do-what-I-don't-want-to"
thing.
odt2tex is a simple command line tool that converts ODT (Libre/OpenOffice
text documents) to LaTeX .tex input files. It is released under the
MIT license and written in plain C depending only on two further
libraries: libzip and expat.
Upstream changes:
podlators 4.07 (2016-03-20)
[Pod::Man] Avoid undefined variable warnings when determining the
title for a Perl module at the top level of a distribution. Thanks,
Dave Mitchell. (#112625)
[Pod::Man] Fix font resets with nroff when fixed-width fonts are used
in the label for an =item. Previously, italic was being ended with
\f(CW even in nroff mode, which, with groff, only changes the font to
fixed-width and doesn't reset to a non-italic font. Thanks, Paul
Townsend. (#98199)
[Pod::Man] Suppress warnings about a missing Encode module if
PERL_CORE is set in the environment. Due to build ordering during
Perl core builds, Encode is expected to not yet be available during
the build step that sets PERL_CORE. Thanks, Dave Mitchell.
Upstream changes:
- 1.16 G6LM4EST Tue Jun 21 04:14:28:29 -0500 2016
* stopped using my old fragile package generation and manually updated
all distribution files (though Dist::Zilla should let me generate much
again)
* updated license to GPLv3+
* fixed 00pod.t and 01podc.t to eval the Test modules from issue and
patch: HTTPS://RT.CPAN.Org/Public/Bug/Display.html?id=85592 (Thanks
again MichielB.)
* replaced all old '&&' with 'and' in POD
- 1.14 G6JMERCY Sun Jun 19 14:27:12:34 -0500 2016
* separated old PT from VERSION to fix non-numeric issue:
HTTPS://RT.CPAN.Org/Public/Bug/Display.html?id=56073 (Thanks to
Slaven.)
* removed Unicode from POD but added encoding utf8 anyway to pass
tests and resolve issues:
HTTPS://RT.CPAN.Org/Public/Bug/Display.html?id=92434 and
HTTPS://RT.CPAN.Org/Public/Bug/Display.html?id=85592 (Thanks to
Sudhanshu and MichielB.)
Upstream changes:
1.24 - 2016-07-09, H.Merijn Brand
* Fix typo in docs example code (issue#4, joevak)
* Set auto-wrap on for csv2xls with embedded newlines
* Add examples/csv2xlsx, the MSExcel-2007+ version of csv2xls
Includes new feature to merge multiple CSV's into a single xlsx
* Slight modification in examples
* Fix parse error in complex option combo (RT#115953)
Upstream changes:
0.76 2016-07-06
* Added 'reset_macros' option to Text::BibTeX::File, in order
to remove all defined macros (except months)
0.76_02 2016-07-05
* Fix issue with binmode not being copied in Clone method.
* Make month abbreviations available always, and not only when
using Text::BibTeX::Bib.
* Added docs to supported options for Text::BibTeX::Entry.
0.76_01 2016-07-04
* Solved nasty bug when using lvalues as parameters (substr).
* Added tests.
0.75 2016-07-03
* Stable version with bytes/utf-8 support.
0.75_05 2016-07-02
* Get 5.8.x back aboard;
0.75_04 2016-07-01
* Fixed reference to empty function name;
0.75_03 2016-06-30
* Rename split_list to isplit_list, and creaed split_list wrapper;
* Added normalization option;
0.75_02 2016-06-25
* Minor fix for some perl version parsing problems.
0.75_01 2016-06-24
* Added binmode option. Should allow unicode handling directly.
0.74 2016-06-15
* Get perl 5.8.x back.
0.73 2016-06-14
* Change some documentation in order to use ->new method, instead
of older 'new Class()' approach;
* Add sensible default values to Text::BibTeX::NameFormat to reduce
the amount of segmentation faults for users forgetting arguments.
Upstream changes:
0.13 2016-04-17
- Eliminate a warning "Negative repeat count does nothing" in recent
perl5s in the test suite.
- https://rt.cpan.org/Ticket/Display.html?id=113841
- Thanks to KENTNL for the report and SREZIC for some guidance.
Upstream changes:
Version 2016060801 Wed Jun 8 14:40:04 CEST 2016
+ Removed the optional leading 0 from Australian postal codes -- use -lax
to enable this feature.
+ Improved the patterns for Belgian, Danish, Greenlandic, Swiss, Italian,
German, French, and Norwegian postal codes, only matching actual
valid codes.
This implies rewriting their tests from scratch.
+ Added patterns for postal codes for Liechtenstein, Luxembourg,
Monaco, San Marino, and Vatican City.
+ 2315992 tests in 73 files.
Patches have been applied upstream.
release notes:
This release of the yaml module includes bug fixes and major new features
such as:
* Support for the DataStream Protocol allowing point-to-point data streaming
over HTTP using YAML-serialized chunks of data;
the following user modules support this:
- DataStreamClient
- DataStreamRequestHandler
- DataStreamUtil
* new function naming convention
Release notes:
This release contains major new functionality and many bugfixes over
the previous version; major features include:
* SaxIterator class
* FileSaxIterator class
* massive improvements in SOAP compatibility support entailing significant
changes in the following modules:
- WSDL
- SoapClient
- SoapHandler
* QUnit-based testing infrastructure
libcsv is a small, simple and fast CSV library written in pure ANSI C89
that can read and write CSV data. It provides a straight-forward interface
using callback functions to handle parsed fields and rows and can parse
improperly formatted CSV files.
#------------------------------------------------------------------------
# Version 3.09
# -----------------------------------------------------------------------
* Add 3.08 Changelog item
#------------------------------------------------------------------------
# Version 3.08
# -----------------------------------------------------------------------
* Fixed test case
* Updated README and MANIFEST files
#------------------------------------------------------------------------
# Version 3.07
# -----------------------------------------------------------------------
* Tests no longer obfuscate the fact they didn't run
* Tests now explicitly run pdflatex or xelatex (adjusting to LaTeX::Driver)
Patches have been applied upstream.
Release notes:
* serialize binary values as base64-encoded strings
* user modules moved to top-level qore module directory from
version-specific module directory since they are valid for multiple
versions of qore
* serialize nan, +/-inf as null according to the JSON spec
* added detection for invalid JSON-RPC calls and added a more
user-friendly error message in the JsonRpcHandler module
* new functions added conforming to Qore's function naming convention,
old camel-case functions deprecated
* JSON tests ported to QUnit
* Qore 0.8.12 required as a minimum to build
* JSON output is more compact; fewer extransous whitespaces are used
1.7.4
Fix pkg-config
1.7.3
Fix static initialization of null with Myers Singleton. (Thanks @marklakata )
Fix other minor compiler and installation problems and warnings.
Fix amalgamated header.
-------------------------------------
2.028 2016-06-08
- [RT #113290] Fix for reading objects inside an object stream in
a large PDF (patch by Marco Pessotto).
- Eliminate an infinite loop when reading a corrupt dictionary.
-----------------------------
CHANGES IN Mini-XML 2.10 - 2016-06-12
- The version number in mxml.h was wrong (Bug #532)
- The mxml.spec file was out of date (Bug #521)
- Mini-XML no longer allows malformed element names (Bug #509)
- mxmlLoad* and mxmlSAXLoad* did not properly create text nodes when
MXML_TEXT_CALLBACK was specified (Bug #531)
- mxmlDelete used a recursive algorithm which could require large
amounts of stack space depending on the file (Bug #549, CVE-2016-4570)
- mxmlWrite* used a recursive algorithm which could require large
amounts of stack space depending on the file (Bug #549, CVE-2016-4571)
--------------------------------------------
Version 5.3.7: (7 May 2016)
* Fix another MacOS build break, regarding library exports.
Version 5.3.6: (30 April 2016)
* Add missing `parses-quotes-en.txt` file that python tests need.
* Fix build break related to lg_fgetc when libeditline is missing.
Version 5.3.5: (28 April 2016)
* Modified (hacked) Kazakh dictionary.
* MacOS bug fix: fgetc behaves oddly in OSX, see bug #293.
Version 5.3.4: (16 March 2016)
* Fix broken handling of apostrophe (issue #281).
* Revamp the README file; describe transitivity.
* Revised Turkish dictionary from Tatiana Batura, et al.
* Prototype Kazakh dictionary from Tatiana Batura, et al.
* Parse priority tweaks for the OpenCog chatbot.
* Fix Windows printing problem affecting some utf8 codepoints (issue #285).
Version 5.3.3: (23 December 2015)
* Improve support for quoted phrases.
* Fixes for assorted zero-infinitive speech acts.
* Add 37 paraphrasing verbs.
* Add Greek mythological names.
* A few dozen more common computing terms added to dictionary.
* Misc coordination and question fixes.
* Misc abbreviations.
* Vietnamese dictionaries!
* Major overhaul of subject-verb inversion.
* Performance improvements on long sentences. (pull #247)
* Change default setting of 'islands_ok' back to false (bug #140).
* Fix for build break on Mac OSX el_capitan w/clang (bug #255).
* Disable perl bindings by default; use Lingua::LinkParser
Version 5.3.2: (4 December 2015)
* Performance improvements, esp. for long sentences.
* Use std=c11 (the 2011 C standard) by default.
* Partial Irish English support.
* A few dozen common computing terms added to dictionary.
* Fix for build break on Mac OSX.
Version 5.3.1: (22 November 2015)
* Fix build break with SAT solver.
Version 5.3.0: (22 November 2015)
* Major redesign of the python bindings.
* Major redesign of sentence tokenization (the "wordgraph" design)
* Verb 'steal' is optionally transitive.
* Fixes for misc MSVC warnings.
* Hebrew dictionary expansion.
* Enhanced diagram printing, giving more space for link names.
* Minor work on phonetic agreement for 'a' vs. 'an'.
* Add ability to histogram the costs of different parses.
* Improve support for splitting sentences.
* Change default setting of 'islands_ok' to true.
* Improve performance on long sentences.
* Fix rare crash due to memory corruption on long sentences.
* Random morphology generation can be enabled at runtime.
* Remove obsolete, unmaintained MacOSX build file.
* Extensive updates to man page.
* Fix crash on long sentences (issue #137).
* Fix a memory leak in language bindings (issue #138).
* Remove bogus post-processor API function.
* Fix broken domain letter printing.
* New regex-file feature - negative regex'es.
* Correct the handling of moprhology stems with non-LL links.
* Fix !!LEFT-WALL and !!RIGHT-WALL
* SAT solver now linked statically.
* Assorted SAT sovler cleanup and improvements.
* Performance improvement in fast matcher: 15% faster on fixes.batch.
--------------------------------------
(from https://github.com/junghans/cwdiff/releases page)
on 13 Nov 2015
v0.4.0
dropped a2ps and out option, clean up
on 1 Jul 2015
v0.3.1
cwdiff: fix --diffopts option (fixes#4)
on 16 Mar 2015
v0.3.0
fixed Makefile
on 14 Mar 2015
v0.2.8
cwdiff: moved issue tracker to github
Should fix PR 51307.
Changes in version 1.13.4, released on July 14, 2016
--- MAJOR NEW FEATURES ---
* man.conf(5): Design and implement a simpler configuration file format.
* man(1): Leverage less(1) -T and :t in a way resembling ctags(1)
to jump to the definitions of various terms inside manual pages.
* soelim(1): New implementation by Baptiste Daroussin.
* privilege limitation: Use OpenBSD pledge(2) or OS X sandbox_init(3)
when available.
* man.cgi(8): Support short URIs like http://man.openbsd.org/mdoc .
* mandoc.css: Use one unified stylesheet rather than three different ones.
--- MAJOR FUNCTIONALLY RELEVANT BUGFIXES ---
* mdoc(7): Fix multiple aspects of SYNOPSIS .Nm formatting.
* man(1): Fix process group handling, avoiding unclean shutdowns.
--- PORTABILITY IMPROVEMENTS ---
* Correctly use the ohash(3) compatibility implementation
even when building without SQLite support.
* Add compat glue for building on Solaris 9 and 10.
* Let ./configure select a supported RE syntax for word boundaries.
* Support LDFLAGS, to be used for example for hardening options.
* Avoid mixing putchar(3) and putwchar(3) on the same file descriptor,
it resulted in output corruption on some platforms.
* Avoid reusing va_lists, use va_copy(3) for better portability.
* Do not hardcode the path to the more(1) program.
--- MINOR NEW FEATURES ---
* roff(7): Implement \n(.$ (number of macro arguments).
* roff(7): Fully implement \z (do not advance cursor).
* roff(7): Implement the `r' conditional (register exists).
* roff(7): Implement \\$* (interpolate all arguments).
* roff(7): Parse and ignore \, and \/ (italic corrections).
* When there is no -m, no -M, no MANPATH and no /etc/man.conf,
fall back to /usr/share/man:/usr/X11R6/man:/usr/local/man.
* man(1): Give manuals in purely numerical sections priority over
manuals of the same name in sections with an alphabetical suffix.
* man.cgi(8): Support "header.html" and "footer.html".
* man.cgi(8): Set the "autofocus" attribute on the query text box.
* man.cgi(8): Simplify the search form, drop two useless buttons.
* man.cgi(8): Delete the pseudo-manpath "mandoc", assume that
apropos(1) and man.cgi(8) are installed in the default manpath.
--- RELIABILITY BUGFIXES ---
* mdoc(7): Avoid a use after free and an assertion failure when nodes
are deleted during validation.
* mdoc(7): Avoid a NULL pointer access when .Bd has no arguments.
* mdoc(7): Avoid a NULL pointer access triggered by mismatching end macros.
* mdoc(7): Avoid an assertion when .Fo has no argument.
* mdoc(7): Avoid an assertion when .Ta<tab> occurs in .Bl -column.
* mdoc(7): Avoid an assertion when a body gets broken and has a tail.
* roff(7): Avoid an assertion caused by blanks inside \o.
* roff(7): Make .so links to gziped manuals work without mandoc.db(5).
* tbl(7): Avoid a use after free when the last line of a layout is empty.
* eqn(7): Avoid an infinite loop caused by recursive "define".
* makewhatis(8): Avoid a segfault caused by unusual directory structures.
* Fix handling of leading, trailing, and double colons in MANPATH and -m.
--- MINOR BUGFIXES ---
* mdoc(7): Put arguments to end macros of broken partial explicit blocks
inside the breaking block.
* mdoc(7): Let .Dv force normal font.
* mdoc(7): Make trailing whitespace significant in .Bl -tag widths.
* mdoc(7): Fix macro interpretation around tabs in .Bl -column.
* man(7): Use the default width for .RS without arguments.
* man(7): On a new RS nesting level, the saved width starts from
the default width, not from the saved width of the previous level.
* man(7): Allow .PD in next-line scope.
* man(7): Improve handling of empty .HP.
* man(7): Improve formatting of .br and .sp inside .HP.
* man(7): Do not mistreat empty arguments to font alternating
macros as vertical spacing requests.
* man(7): Allow fill mode changes in tagged paragraph next-line scope.
* man(7): Fix minor bugs in block rewinding and simplify the related code.
* man(7): Add missing line breaks before subsection headers.
* man(7): Give section and subsection headers hanging indentation.
* man(7): Make trailing whitespace significant in .TP widths.
* roff(7): Don't allow breaking the output line after hyphens
that immediately follow escape sequences.
* roff(7): Ignore blank characters at the beginning of conditional blocks.
* roff(7): Escape breakable hyphens only after handling input line traps.
* roff(7): Reject \[uD800] to \[uDFFF] (surrogates) in the parser.
* tbl(7): Allow more than one data field after T} on the same input line.
* terminal output: Apply bold and italic to non-ASCII Unicode codepoints.
* terminal output: Improve rounding rules for horizontal scaling widths.
* HTML output: Render ASCII_NBRSP as " ", not "-".
* man(1): Do not match the first part of a name if it continues with a dot.
* man(1): Keep working even if the current directory is unusable.
* man(1): Better error message when $PAGER is invalid.
* makewhatis(8): Improve handling of .Va and .Vt macros.
* apropos(1): Print "nothing appropriate" to stderr when appropriate.
* apropos(1): Abort with a useful error message when elementary
database operations like preparing queries or binding variables fail.
--- STRUCTURAL CHANGES, no functional change ---
* mdoc(7) and man(7): Unified data structures struct roff_node etc.
* mdoc(7) and man(7): Unified node handling library in roff.c.
* mdoc(7) and man(7): Seperate validation phase from parsing.
* roff(7): Major character table cleanup.
* Link with libz rather than forking gunzip(1).
--- THANKS TO ---
* Baptiste Daroussin (FreeBSD) for the new soelim(1)
and for release testing.
* Anthony Bentley (OpenBSD) for unifying mandoc.css, two nice
patches for man.cgi(8), some documentation patches, some bug
reports, and various useful discussions.
* Todd Miller (OpenBSD) for lots of help with process group and
signal handling, a few patches, some bug reports and some useful
discussions.
* Jonathan Gray (OpenBSD) for yet more testing with afl(1)
again resulting in more than half a dozen important bug reports.
* Svyatoslav Mishyn (Crux Linux) for some patches, several bug
reports, and extensive release testing.
* Christian Neukirchen (void Linux) for a number of compatibility
patches and suggestions and several bug reports.
* Christos Zoulas (NetBSD) for a bug fix patch and some useful
suggestions for cleanup.
* Florian Obser (OpenBSD) for a bugfix patch and some bug reports.
* Sevan Janiyan for help with Solaris compatibility and release
testing on many platforms.
* Jan Holzhueter and OpenCSW in general for help with Solaris
compatibility, and for providing me with a Solaris 9/10/11 testing
environment.
* Michael McConville (OpenBSD) for some simple cleanup patches.
* Thomas Klausner (NetBSD) for some bug reports and release testing.
* Christian Weisgerber, Dmitrij Czarkoff, Igor Sobrado,
Ken Westerback, Marc Espie, Mike Belopuhov, Rafael Neves,
Ted Unangst, Tim van der Molen, Theo Buehler, Theo de Raadt
(OpenBSD), Kurt Jaeger, Dag Erling Smoergrav (FreeBSD),
Joerg Sonnenberger (NetBSD), Carsten Kunze (Heirloom troff),
Daniel Levai, Fabian Raetz, Jan Stary, Jean-Yves Migeon,
Lorenzo Beretta, Markus Waldeck, Maxim Belooussov, Michael Reed,
Peter Bray, and Serguey Parkhomovsky for bug reports and feature
suggestions.
* Alexander Hall, Andrew Fresh, Antoine Jacoutot, Doug Hogan,
Jason McIntyre, Jasper Lievisse Adriaanse, Kent Spillner,
Nicholas Marriott, Peter Hessler, Sebastien Marie, Stefan Sperling,
and Theo de Raadt (OpenBSD) for helpful discussions and feedback.
- Drop patch, seems included now.
(upstream)
- Updated textproc/aha to 0.4.9
--------------------------------
Version 0.4.9 (recent):
- Fixed urls (thanks to Jeroen Wiert Pluimers)
- Fixed behaviour for non CSI codes (thanks to Jack Brear)
2016.5.29
=========
----
* Fix#125: --pad_tables now pads table cells to make them look nice.
* Fix#114: Break does not interrupt blockquotes
* Deprecation warnings for URL retrieval.
ocaml.mk structure and changed upstream to github.
Changes:
version 1.5
* Improve various commands of csvtool avoiding loading the whole CSV file to memory.
* As a consequence, one avoids some Stack_overflow exceptions for long files.
version 1.4.2
* Add the possibility to specify an output format to csvtool.
version 1.4.1
* Fix writing bug when excel_tricks is enabled.
version 1.4
* Optional discarding of spaces
* Special handling of files with a header
latest version of ocaml and its framework. Discussed on packages@ and
OK'd by jperkin.
Changes include:
1.2.8: Build against ocamlnet-4.1. Support -safe-string
1.2.7: tweaking support for oasis.
1.2.6: Adding _oasis file.
1.2.5: Build against ocamlnet-4.
1.2.4: Fixed bug in namespace-aware parsing (thanks to ygrek and Thomas
Leonard)
changes:
-security patches which we already had in pkgsrc are integrated
-Use more entropy for hash initialization than the original fix
to CVE-2012-0876
-Resolve troublesome internal call to srand that was introduced
with Expat 2.1.0 when addressing CVE-2012-0876
====== Features ======
* A new PPX has been added that allows to use tyxml with the HTML/SVG syntax, using the markup library (contribution by Anton 'aantron' Bachin).
* New Format-based printers are available, both as functors and has `pp` functions in the various implementations. Old printers are deprecated.
* Toplevel printers are now available for the `tyxml` library.
* The `str` library has been replaced by `re`.
* Various attributes arguments have been simplified. In particular:
* Constants arguments have been removed
* `` `On|`Off `` arguments are now replaced by booleans.
* Some arguments now use an option type.
* XML comments are now properly serialized (without escaping but with sanitization).
====== Elements and attributes ======
* Add srcset and sizes attributes (contribution by Stéphane 'slegrand45' Legrand).
* The arguments of the `sandbox` attributes are now more consistent (contributino by Anton 'aantron' Bachin).
* Various SVG attributes and elements are now properly named (contributino by Anton 'aantron' Bachin).
* Add inputmode attribute.
====== Documentation ======
* Both the API documentation and the manual have been completely rewritten! Do not hesitate to read them and provide feedback.
* Various examples have been added in the `example/` directory. (basic_website contributed by Edgar 'fxfactorial' Aroutiounian).
====== Renaming and deprecations ======
* Files in the `tyxml` library are now packed in a `Tyxml` module.
If you were using one of `Html5`, `Svg` and `Xml` module, simply open `Tyxml`.
* All Html5 modules are now named Html
* Various attributes and elements have been renamed. The original versions have been kept and marked deprecated.
* Various elements that were both deprecated in the HTML specification and not usable due to typing constraints have been removed.
Release 0.9.2 - June 13 2016
---------------------------
* Added workbook :func:`set_size` method to set the workbook
window size.
Release 0.9.1 - June 8 2016
---------------------------
* Added font support to chart :func:`set_table`.
* Documented used of font rotation in chart :ref:`data labels
<chart_series_option_data_labels>`.
Release 0.9.0 - June 7 2016
---------------------------
* Added :ref:`trendline properties
<chart_series_option_trendline>`:
``intercept``, ``display_equation`` and ``display_r_squared``.
Release 0.8.9 - June 1 2016
---------------------------
* Fix for :func:`insert_image` issue when handling images with
zero dpi.
Release 0.8.8 - May 31 2016
---------------------------
* Added workbook :func:`set_custom_property` method to set custom
document properties.
- Revision -r 1.14 to -r 1.15 update was actually below upstream update.
Just for record, this commit is actually removing one # line. Sorry.
(upstream)
- Updated textproc/p5-Net-Dict to 2.21
------------------------------------
2.21 2016-03-01 NEILB
- Use Test::RequiresInternet to skip tests if you don't have
an internet connection and ability to connect to dict.org's
DICT server. This is a holding position until I can add a
mock DICT server. Added a basic require test, so there's
always at least one test that should pass.
2.20 2016-02-27 NEILB
- Updated tests to reflect changes in dict.org databases.
Thanks to SREZIC for pointing out that they'd changed.
- Fixed typo in doc. Patch from Gregor Herrmann. RT#112367
- Dropped usage of "use vars".
----------------------------------
Revision: 2.84 Date: 2016/04/11 07:17:02
! lib/Encode/MIME/Header.pm
Pulled: Encode::MIME::Header:
Update description that this module is only for unstructured header
https://github.com/dankogai/p5-encode/pull/53
! lib/Encode/MIME/Header.pm t/mime-header.t
Pulled: Encode::MIME::Header: Fix valid_q_chars, '-' needs to be escaped
https://github.com/dankogai/p5-encode/pull/52
2.83 2016/03/24 07:49:54
! lib/Encode/MIME/Header.pm t/mime-header.t
Both decoder and encoder are rewritten by Pali Rohár.
Encoder should be now fully compliant of RFC 2047.
Decoder is less strict to be able to decode
strings generated by old versions of this module.
https://github.com/dankogai/p5-encode/pull/51
! t/mime-header.t
Add more test vectors from RFC2047, pp.11-12
! lib/Encode/Supported.pod
merge: Autrijus -> Audrey
https://github.com/dankogai/p5-encode/pull/50
2.82 2016/02/06 20:17:24
! lib/Encode/MIME/Header.pm
lib/Encode/MIME/Header/ISO_2022_JP.pm
t/mime-header.t
Reverted to 2.80 upon the request of whom submitted pull/48
2.81 2016/02/06 19:25:22
! lib/Encode/MIME/Header.pm
lib/Encode/MIME/Header/ISO_2022_JP.pm
t/mime-header.t
Merged: Encode::MIME::Header: Fix decoder and rewrite encoder
> Encoder should be now fully compliant of RFC 2047.
> Decoder is less strict to be able to decode strings
> generated by old versions of this module.
https://github.com/dankogai/p5-encode/pull/48
! t/mime-header.t
merge t/mime-header.t @ https://github.com/asjo/p5-encode19dcbff63e
! t/mime-header.t
Add more test vectors from RFC2047, pp.11-12
---------------------------------------------
0.02 2016-02-07 NEILB
- Switched to Dist::Zilla, fixing RT#107484 in the process, so the release
will have META.{json,yml} files.
- Moved test from test.pl in top directory to t/basic.t
- Updated format of this file to follow CPAN::Changes::Spec
-----------------------------------------
0.04 2016-02-12 NEILB
- Dropped use of 'use vars'
- Updated the Win32 installation instructions
- Added github repo to doc, along with an AUTHOR section,
and updated SEE ALSO.
- All the above changes submitted by ZORAN++
0.03 2016-02-04 NEILB
- Corrected the URL for the algorithm. PR from ZORAN++