* Unicode 6.2: Turkish Lira Sign, improved word & line segmentation (BreakIterator) for symbols
* CLDR 22.1: Data coverage & quality improved across all major languages; new short width type for weekday names; new zhuyin (Bopomofo) collation for Chinese; improved data for CompactDecimalFormat & RBNF
* Time zone data: 2012h
* Ordinal-number support in MessageFormat & PluralRules
* Deprecate setLocale(locale) in PluralFormat
* Dictionary-based break iterators (word segmentation):
* Support Chinese & Japanese, use more compact dictionary format, port all but Khmer support to Java
* Update Khmer dictionary
* Change Java util.ListFormat to text.ListFormatter and other updates, use CLDR data, port to C++
* Add updated IBM-eucJP and IBM-5233 converter
* Improve number formatting performance
* C++ GenderInfo: Effective combined gender of a list of people's genders (ported from Java)
* Thread safety support cannot be removed (see the Readme)
* Default compilers: Clang is now used if available (see the Readme)
* C++ Collator API cleanup, subclassing-API-breaking changes (see the Readme)
* Add option to genrb tool for writing java resource bundle files
* Time zone format APIs
* Added support for depth attribute on section links
* Improved various bits of the build process (Colin Walters)
* Corrected jQuery.Syntax license info (Steve Magoun)
* Updated translations
* Added new "join mode" for multilingual XML formats
* Correctly handle ITS version attribute
* Better handling of multiple localization notes
* XML path markers are now in dedicated comments
* Show language code when failing to get translation from PO
* Added more regression tests
* Handle UTF-8 in attribute values
* Don't output non-translatable external ref messages
* Better error handling
adding license, making native code support conditional on the architecture as
in other OCaml packages and adding PLIST_VARS support.
Changelog (excluding bugfixes and changes to deal with new versions of other
packages):
- 1.2.1: Revised documentation
Addition: Pxp_event.unwrap_document
Addition: Pxp_dtd.Entity.lookup
Addition: node method entity_id
Addition: Pxp_event.close_entities
Removed: Pxp_core_types_type, Pxp_type_anchor. Pxp_core_types has now three
submodules A, S, I taking over the roles
Removed: E_pinstr_member. Instead, E_pinstr events are emitted
Renaming, and addition: `Entry_content has been renamed to
`Entry_element_content. A new `Entry_content with different semantics has
been added, now conforming to a standard production.
Improvement: The parser also accepts a BOM as UTF-8 sequence. Also, the
autodetection of the encoding for UTF-16 has been enhanced
- 1.2.0test*: New ~minimization option for the [write] and [display] methods
(user wish).
Improvement: better control what is printed as DTD for document#write and
#display
- 1.1.95: Addition of ulex lexing.
Revised namespace handling: There are now namespace_scope objects keeping
the scoping structure of the namespaces. The namespace_info stuff has been
removed. The "display" methods can print XML while respecting the scoping
structure.
New exceptions Namespace_not_managed, Namespace_prefix_not_managed,
Namespace_not_in_scope (all replacing Not_found). Methods of
namespace_manager may raise these exceptions.
The event-based representation of XML is now symmetrical to the tree-based
representation, such that it is possible to convert one representation into
the other without loss. The type of events had to be changed to achieve
this effect.
The new module Pxp_event contains functions for the event-based
representation.
Addition of pxp-pp, the PXP preprocessor.
- 1.1.94: The Pxp_reader module has been completely rewritten. This fixes some
problems with relative URLs. - Pxp_yacc has been split up into four modules:
Pxp_tree_parser contains now the parser API returning object trees,
Pxp_dtd_parser is the parser API returning DTDs, Pxp_ev_parser is the
event-based API, and Pxp_core_parser is the core of the parser. Pxp_yacc is
still available as compatibility API. As part of the module redesign,
Pxp_types includes now parts of its interface from Pxp_core_types_type. I
hope this style of programming is comprehensible. - The event-based parser
can now preprocess namespaces.
Furthermore, there are normalization filters.
- 1.1.92: The whole lexing stuff has been restructured. There is a new tool,
lexpp, that generates the lexers from only five files. Furthermore, much
more 8 bit character sets are now supported as internal encodings. In
previous versions of PXP, the internal representation of the XML trees was
restricted to either UTF-8 or ISO-8859-1. Now, a number of additional
encodings are supported, including the whole ISO-8859 series.
- 1.1.91: The curly braces can now even be used inside attributes, and escape
from normal XML parsing.
There is a new entry point Entry_expr for event-based parsing that expects
either a single element, a single processing instruction, or a single
comment, or whitespace. This allows more fine-grained control of what is
parsed.
There is now a "pull parser". In contrast to the "push parser" introduced in
1.1.90, the calling order of parser and parser user have been inverted, i.e.
the user calls the parser to get ("pull") the next event instead of letting
the parser call back a user function ("push"). An interesting application is
that O'Caml's lazy streams can be used to analyze events. An example can be
found in examles/pullparser.
- 1.1.90: This version introduces a new event-based interface in Pxp_yacc. For
start tags, end tags, data strings, and several other things that are found
in the XML source so-called events are generated, and a user function is
called for every event. See the directory examples/eventparser for examples.
Another innovation is support for curly braces as escape characters. Inside
elements, the left curly brace escapes from XML parsing and starts a foreign
parser until the matching right curly brace is found:
<element> ... { foreign syntax } ... </element>
The curly braces are borrowed from the XQuery draft standard. They cannot
yet be used inside attribute values. Curly braces are mostly useful in
conjunction with event-based parsing, because it is not yet possible to
include the "value" of the curly brace expression into XML trees.
It is even possible to call the XML parser from the foreign parser as
subparser. However, there not yet enough entry points for the event-based
parser (e.g. you cannot parse just the following processing instruction,
only misc* element misc* or whole documents are possible).
[Changes for 1.21 - 2012-09-20]
* Tests all green on CPAN Testers. releasing to public.
[Changes for 1.21_01 - 2012-06-22]
* Synchronize JSON::Syck with YAML::Syck version number
* Add DumpInto functions (YAML+Syck) which dump into
a provided scalar instead of a newly allocated one
* Modify DumpFile functions to output directly to the
specified file/filehandle instead of buffering all
output in memory.
* Avoid modifying numbers into strings when emitting
2.0007 Wed 17 Oct 18:38:37 IST 2012
- Fix for build failures on Windows with Microsoft Visual C++.
- https://rt.cpan.org/Ticket/Display.html?id=80229
- Thanks to Desmond Daignault for the report and an initial patch.
- Patch modified by Shlomi Fish
2.0006 Sat 13 Oct 22:27:54 IST 2012
- When xml2-config returns several paths, the configuration failed.
Fixed that.
- https://rt.cpan.org/Public/Bug/Display.html?id=80167
- Thanks to VOVKASM for the report and fix.
2.0005 Sat 13 Oct 13:18:48 IST 2012
- Added t/style-trailing-space.t and removed trailing space.
- Add a check for the existence of included C headers (*.h) files
in Makefile.PL to avoid failed compilations.
- Using Devel::CheckLib.
- Thanks to its maintainers!
2.0004 Tue 7 Aug 23:04:55 IDT 2012
- Add a way to specify a different compiler to be used in the
"Makefile" by calling Makefile.PL with the CC environment variable
set to the path to the alternate compiler.
- This way we can use
in order to compile faster.
- LibXML.pm (_clone): Fix typo in line_numbers handling.
- Thanks to Bernhard Reutner-Fischer for the report and fix.
2.0003 Fri 27 Jul 17:11:21 IDT 2012
- Patch to a potential NULL dereference in xpath.c.
- Thanks to Ville Skytt
- Fix NodeList::item() calling a 1-indxed array reference.
- See:
- https://bitbucket.org/shlomif/perl-xml-libxml/pull-request/18
- Thanks to Tim Brody
- Add the scripts/tag-release.pl script to tag a release using
Mercurial.
2.0002 Sun Jul 8 18:09:13 IDT 2012
- Applied spelling fixes correction patch by
Ville Skytt
- Thanks, Ville!
Mark as python3-ready.
3.0.1 (2012-10-14)
==================
Bugs fixed
----------
* LP#1065924: Element proxies could disappear during garbage collection
in PyPy without proper cleanup.
* GH#71: Failure to work with libxml2 2.6.x.
* LP#1065139: static MacOS-X build failed in Py3.
3.0 (2012-10-08)
================
Bugs fixed
----------
* End-of-file handling was incorrect in iterparse() when reading from
a low-level C file stream and failed in libxml2 2.9.0 due to its
improved consistency checks.
Other changes
-------------
* The build no longer uses Cython by default unless the generated C files
are missing. To use Cython, pass the option "--with-cython". To ignore
the fatal build error when Cython is required but not available (e.g. to
run special setup.py commands that do not actually run a build), pass
"--without-cython".
3.0beta1 (2012-09-26)
=====================
Features added
--------------
* Python level access to (optional) libxml2 memory debugging features
to simplify debugging of memory leaks etc.
Bugs fixed
----------
* Fix a memory leak in XPath by switching to Cython 0.17.1.
* Some tests were adapted to work with PyPy.
Other changes
-------------
* The code was adapted to work with the upcoming libxml2 2.9.0 release.
3.0alpha2 (2012-08-23)
======================
Features added
--------------
* The ``.iter()`` method of elements now accepts ``tag`` arguments like
``"{*}name"`` to search for elements with a given local name in any
namespace. With this addition, all combinations of wildcards now work
as expected:
``"{ns}name"``, ``"{}name"``, ``"{*}name"``, ``"{ns}*"``, ``"{}*"``
and ``"{*}*"``. Note that ``"name"`` is equivalent to ``"{}name"``,
but ``"*"`` is ``"{*}*"``.
The same change applies to the ``.getiterator()``, ``.itersiblings()``,
``.iterancestors()``, ``.iterdescendants()``, ``.iterchildren()``
and ``.itertext()`` methods;the ``strip_attributes()``,
``strip_elements()`` and ``strip_tags()`` functions as well as the
``iterparse()`` class.
* C14N allows specifying the inclusive prefixes to be promoted
to top-level during exclusive serialisation.
Bugs fixed
----------
* Passing long Unicode strings into the ``feed()`` parser interface
failed to read the entire string.
3.0alpha1 (2012-07-31)
======================
Features added
--------------
* Initial support for building in PyPy (through cpyext).
* DTD objects gained an API that allows read access to their
declarations.
* ``xpathgrep.py`` gained support for parsing line-by-line (e.g.
from grep output) and for surrounding the output with a new root
tag.
* ``E-factory`` in ``lxml.builder`` accepts subtypes of known data
types (such as string subtypes) when building elements around them.
* Tree iteration and ``iterparse()`` with a selective ``tag``
argument supports passing a set of tags. Tree nodes will be
returned by the iterators if they match any of the tags.
Bugs fixed
----------
* The ``.find*()`` methods in ``lxml.objectify`` no longer use XPath
internally, which makes them faster in many cases (especially when
short circuiting after a single or couple of elements) and fixes
some behavioural differences compared to ``lxml.etree``. Note that
this means that they no longer support arbitrary XPath expressions
but only the subset that the ``ElementPath`` language supports.
The previous implementation was also redundant with the normal
XPath support, which can be used as a replacement.
* ``el.find('*')`` could accidentally return a comment or processing
instruction that happened to be in the wrong spot. (Same for the
other ``.find*()`` methods.)
* The error logging is less intrusive and avoids a global setup where
possible.
* Fixed undefined names in html5lib parser.
* ``xpathgrep.py`` did not work in Python 3.
* ``Element.attrib.update()`` did not accept an ``attrib`` of
another Element as parameter.
* For subtypes of ``ElementBase`` that make the ``.text`` or ``.tail``
properties immutable (as in objectify, for example), inserting text
when creating Elements through the E-Factory feature of the class
constructor would fail with an exception, stating that the text
cannot be modified.
Other changes
--------------
* The code base was overhauled to properly use 'const' where the API
of libxml2 and libxslt requests it. This also has an impact on the
public C-API of lxml itself, as defined in ``etreepublic.pxd``, as
well as the provided declarations in the ``lxml/includes/`` directory.
Code that uses these declarations may have to be adapted. On the
plus side, this fixes several C compiler warnings, also for user
code, thus making it easier to spot real problems again.
* The functionality of "lxml.cssselect" was moved into a separate PyPI
package called "cssselect". To continue using it, you must install
that package separately. The "lxml.cssselect" module is still
available and provides the same interface, provided the "cssselect"
package can be imported at runtime.
* Element attributes passed in as an ``attrib`` dict or as keyword
arguments are now sorted by (namespaced) name before being created
to make their order predictable for serialisation and iteration.
Note that adding or deleting attributes afterwards does not take
that order into account, i.e. setting a new attribute appends it
after the existing ones.
* Several classes that are for internal use only were removed
from the ``lxml.etree`` module dict:
``_InputDocument, _ResolverRegistry, _ResolverContext, _BaseContext,
_ExsltRegExp, _IterparseContext, _TempStore, _ExceptionContext,
__ContentOnlyElement, _AttribIterator, _NamespaceRegistry,
_ClassNamespaceRegistry, _FunctionNamespaceRegistry,
_XPathFunctionNamespaceRegistry, _ParserDictionaryContext,
_FileReaderContext, _ParserContext, _PythonSaxParserTarget,
_TargetParserContext, _ReadOnlyProxy, _ReadOnlyPIProxy,
_ReadOnlyEntityProxy, _ReadOnlyElementProxy, _OpaqueNodeWrapper,
_OpaqueDocumentWrapper, _ModifyContentOnlyProxy,
_ModifyContentOnlyPIProxy, _ModifyContentOnlyEntityProxy,
_AppendOnlyElementProxy, _SaxParserContext, _FilelikeWriter,
_ParserSchemaValidationContext, _XPathContext,
_XSLTResolverContext, _XSLTContext, _XSLTQuotedStringParam``
* Several internal classes can no longer be inherited from:
``_InputDocument, _ResolverRegistry, _ExsltRegExp, _ElementUnicodeResult,
_IterparseContext, _TempStore, _AttribIterator, _ClassNamespaceRegistry,
_XPathFunctionNamespaceRegistry, _ParserDictionaryContext,
_FileReaderContext, _PythonSaxParserTarget, _TargetParserContext,
_ReadOnlyPIProxy, _ReadOnlyEntityProxy, _OpaqueDocumentWrapper,
_ModifyContentOnlyPIProxy, _ModifyContentOnlyEntityProxy,
_AppendOnlyElementProxy, _FilelikeWriter, _ParserSchemaValidationContext,
_XPathContext, _XSLTResolverContext, _XSLTContext, _XSLTQuotedStringParam,
_XSLTResultTree, _XSLTProcessingInstruction``
2.3.6 (2012-09-28)
==================
Bugs fixed
----------
* Passing long Unicode strings into the ``feed()`` parser interface
failed to read the entire string.
2.3.5 (2012-07-31)
==================
Bugs fixed
----------
* Crash when merging text nodes in ``element.remove()``.
* Crash in sax/target parser when reporting empty doctype.
2.3.4 (2012-03-26)
==================
Bugs fixed
----------
* Crash when building an nsmap (Element property) with empty
namespace URIs.
* Crash due to race condition when errors (or user messages) occur
during threaded XSLT processing.
* XSLT stylesheet compilation could ignore compilation errors.
2.3.3 (2012-01-04)
==================
Features added
--------------
* ``lxml.html.tostring()`` gained new serialisation options
``with_tail`` and ``doctype``.
Bugs fixed
----------
* Fixed a crash when using ``iterparse()`` for HTML parsing and
requesting start events.
* Fixed parsing of more selectors in cssselect. Whitespace before
pseudo-elements and pseudo-classes is significant as it is a
descendant combinator.
"E :pseudo" should parse the same as "E \*:pseudo", not "E:pseudo".
Patch by Simon Sapin.
* lxml.html.diff no longer raises an exception when hitting
'img' tags without 'src' attribute.
JSON-C implements a reference counting object model that allows
you to easily construct JSON objects in C, output them as JSON
formatted strings and parse JSON formatted strings back into the
C representation of JSON objects.
Based on PR #46593 submitted by Wen Heping(myself)
Upstream changes:
v1.0.5 - 2012-09-03
made automatic protocol links more strict: Only whitespace before and at the end are allowed.
Bugfix: Don't allow ftp:/broken (Only one slash) to be a link.
v1.0.4
html2rest: Handle double link/image substitution and raise better error messages
Bugfix in unittests (include test README file in python package). Thanks to Wen Heping for reporting this.
v1.0.3
Bugfix: AttributeError: 'module' object has no attribute 'interesting_cdata' from HTMLParser patch. Thanks to Wen Heping for reporting this.
Fix a bug in get_long_description() ReSt test for Py3k and his unittests.
Use Travis CI, too.
v1.0.2
Fix "AttributeError: 'NoneType' object has no attribute 'parent'" in html2creole.
v1.0.1
Fix "TypeError: expected string or buffer" in rest2html.
Bugfix in exception handling.
v1.0.0
Change API: Replace 'parser_kwargs' and 'emitter_kwargs' with separate arguments. (More information on API Wiki Page)
v0.9.2
Turn zip_safe in setup.py on and change unittests API.
v0.9.1
Many Bugfixes, tested with CPython 2.6, 2.7, 3.2 and PyPy v1.6
v0.9.0
Add Python v3 support (like http://python3porting.com/noconv.html strategy)
move unittests into creole/tests/
Tested with Python 2.7.1, 3.2 and PyPy v1.6.1 15798ab8cf48 jit
v0.8.5
Bugfix in html2creole: ignore links without href
v0.8.4
Bugfix in html parser if list tag has attributes: https://code.google.com/p/python-creole/issues/detail?id=19#c4
v0.8.3
Better error message if given string is not unicode: https://code.google.com/p/python-creole/issues/detail?id=19
v0.8.2
Bugfix in get_long_description() error handling (local variable 'long_description_origin' referenced before assignment)
v0.8.1
Bugfix for installation under python 2.5
Note: setup helper changed: rename GetLongDescription(...) to get_long_description(...)
v0.8
New GetLongDescription() helper for setup.py, see: https://code.google.com/p/python-creole/wiki/UseInSetup
v0.7.3
Bugfix in html2rest:
table without <th> header
new line after table
create reference hyperlinks in table cells intead of embedded urls.
Don't always use raise_unknown_node()
Add child content to raise_unknown_node()
v0.7.2
Activate ---- to <hr> in html2rest
Update demo.py
v0.7.1
Bugfix if docutils are not installed
API change: rest2html is now here: from creole.rest2html.clean_writer import rest2html
v0.7.0
NEW: Add a html2reStructuredText converter (only a subset of reSt supported)
v0.6.1
Bugfix: separate lines with one space in "wiki style line breaks" mode
v0.6
NEW: html2textile converter
some API changed!
v0.5
API changed:
Html2CreoleEmitter optional argument 'unknown_emit' takes now a callable for handle unknown html tags.
No macros used as default in creole2html converting.
We remove the support for callable macros. Only dict and modules are allowed.
remove unknown html tags is default behaviour in html2creole converting.
restructure and cleanup sourcecode files.
v0.4
only emit children of empty tags like div and span (contributed by Eric O'Connell)
remove inter wiki links and doesn't check the protocol
v0.3.3
Use when {{{ ... }}} is inline and not <pre>, see: PyLucid Forum Thread
Bugfix in html2creole: insert newline before new list. TODO: apply to all block tags: issues 16
v0.3.2
Bugfix for spaces after Headline: issues 15
v0.3.1
Make argument 'block_rules' in Parser() optional
v0.3.0
creole2html() has the optional parameter 'blog_line_breaks' to switch from default blog to wiki line breaks
v0.2.8
bugfix in setup.py
v0.2.7
handle obsolete non-closed <br> tag
v0.2.6
bugfix in setup.py
Cleanup DocStrings
add unittests
Upstream changes:
Release 0.9.1 (2012-06-17)
==========================
* docutils/setup.py
- Fix [ 3527842 ]. Under Python3, converted tests and tools were
installed in the PYTHONPATH. Converted tests are now
stored in ``test3/``, tools no longer need conversion.
If you installed one of Docutils versions 0.7 ... 0.9 with
``setup.py install`` under Python3, remove the spurious
``test/`` and ``tools/`` directories in the site library root.
* docutils/test/
- Make tests independent from the location of the ``test/`` directory.
- Use converted sources (from the ``build/`` directory) for tests under
Python3.
* docutils/tools/
- Make tools compatible with both, Python 2 and 3 without 2to3-conversion.
* docutils/io.py
- Fix writing binary data to sys.stdout under Python3 (allows
``rst2odt.py`` to be used with output redirection).
* docutils/parsers/rst/directives/misc.py
- Fix [ 3525847 ]. Catch and report UnicodeEncodeError with
``locale == C`` and 8-bit char in path argument of `include` directive.
* docutils/test/alltests.py
- class `Tee`: catch UnicodeError when writing to "ascii" stream or
file under Python3.
Xapian-core 1.2.12 (2012-06-27):
build system:
* 1.2.11 had its library version information incorrectly set. This resulted in
the shared library having an incorrect SONAME - e.g. on Linux,
libxapian.so.21 instead of libxapian.so.22. This release has been made to
fix this problem.
documentation:
* AUTHORS: Add the GSoC students.
Xapian-core 1.2.11 (2012-06-26):
API:
* Add new QueryParser::STEM_ALL_Z stemming strategy, which stems all terms and
adds a Z prefix. (Patch from Sehaj Singh Kalra, fixes ticket#562)
* Add TermGenerator::set_stemming_strategy() method, with strategies which
correspond to those of QueryParser. Based on patch from Sehaj Singh Kalra,
with some tweaks for adding term positions in more cases. (Fixes ticket#563)
* Correct "BM25Weight" to "TradWeight" in exception message from TradWeight.
* We were failing to call init() for user-defined Weight objects providing the
term-independent weight. These now get called with init(0.0).
* Xapian::Auto::open_stub() now throws a Xapian::DatabaseOpeningError exception
if the stub file can't be opened. Previously we failed to check for this
condition, which resulted in us treating the file as empty.
testsuite:
* When the testsuite is using valgrind, we used to run remote servers under
valgrind too (but with --tool=none) to get consistent behaviour as valgrind's
emulation of x87 excess precision isn't exact. Now we only do this if x87 FP
instructions are actually in use (which means x86 architecture and configure
run with --disable-sse).
* Make sure XAPIAN_MAX_CHANGESETS gets unset after replication testcases which
set it, so further testcases don't waste time generating changesets.
* Improved test coverage (including more tests for closed databases -
ticket#337).
brass backend:
* After closing the database, methods which try to use the termlist would throw
FeatureUnavailableError with message "Database has no termlist", assuming
that the termlist table not being open meant it wasn't present. Fix to check
if the postlist_table is open to determine which case we're in.
chert backend:
* After closing the database, methods which try to use the termlist would throw
FeatureUnavailableError with message "Database has no termlist", assuming
that the termlist table not being open meant it wasn't present. Fix to check
if the postlist_table is open to determine which case we're in.
inmemory backend:
* Check if the database is closed in metadata_keys_begin() for InMemory
Databases.
build system:
* xapian-config: Don't interpret a missing .la file as meaning that we only
have static libraries.
documentation:
* Fix API documentation for Query constructors - both XOR and ELITE_SET can
take any number of subqueries, not only exactly two.
* Backport missing API documentation comments for operator++ and operator*
methods or PositionIterator, PostingIterator and TermGenerator.
* docs/replication.rst: Update documentation - since 1.2.5, the value of
XAPIAN_MAX_CHANGESETS determines how many changesets we keep.
* docs/admin_notes.rst: Correction - we don't "create a lock file", we "lock a
file".
* Fix API documentation for TradWeight constructor - "k1" should be "k".
portability:
* configure: Overhaul handling of compilers which pretend to be GCC. Clang
is now detected, and we only pass it warning flags it actually understands.
And we now check for symbol visibility support with Intel's compiler.
* configure: Solaris automatically pulls in library dependencies, so set
link_all_deplibs_CXX=no there.
* configure: We now check -Bsymbolic-functions for all compilers.
* configure: Enable -Wdouble-promotion for GCC >= 4.6.
* Pass -ldl last when compiling zlib-vg.so, as that seems to be needed on
Ubuntu 12.04.
* Fix incorrect use of "delete" which should be "delete []". This is
undefined behaviour in C++, though the type is POD, so in practice this
probably worked OK on many platforms.
* In BM25Weight when k1 or b is zero (not the default), we used to multiply
an uninitialised double by zero, which is undefined behaviour, but in
practice will often give zero, leading to the desired results.
* 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).
Xapian-core 1.2.10 (2012-05-09):
API:
testsuite:
* apitest: Extend tradweight1 to test that TradWeight(0) means that wdf and
document length don't affect the weight of a term.
* termgentest: Check that TermGenerator discards words > 64 bytes.
matcher:
* Don't count unweighted subqueries of MultiAndPostList in percentage
calculations, as OP_FILTER maps to MultiAndPostList now. (ticket#590)
brass backend:
* When compacting, if the output database is empty, don't write out a metainfo
tag. Take care not to divide by zero when computing the percentage size
change for a table.
chert backend:
* When compacting, if the output database is empty, don't write out a metainfo
tag. Take care not to divide by zero when computing the percentage size
change for a table.
documentation:
* API documentation:
+ Note version when Database::close() was added.
+ Fix switched lower and upper in API documentation for Weight methods
get_doclength_lower_bound() and get_doclength_upper_bound(). Correct
maximum to minimum in get_doclength_lower_bound() comment and note that this
excludes zero length documents. Fix "An lower" to "A lower".
* docs/admin_notes.html: Mention that postlist and termlist tables also hold
value info for chert. Mention that xapian-chert-update was removed in 1.3.0.
Mention that you need to use copydatabase from 1.2.x to convert flint to
chert.
* HACKING: Update section on patches to mention git (git diff and git
format-patch), and using "-r" with normal diff, and also that ptardiff offers
a nice way to diff against an unpacked tarball.
debug code:
* Fix use of AssertEq() on NULL, which doesn't compile, at least with recent
GCC.
Xapian-core 1.2.9 (2012-03-08):
API:
* QueryParser: Fix FLAG_AUTO_SYNONYMS not to enable auto multi-word synonyms
too (but in a different way to trunk so as to not break the ABI).
matcher:
* Fix issue with running AND, OR and XOR queries against a database with no
documents in it - this was leading to a divide by zero, which led to
MSet::get_matches_estimated() reporting 2147483648 on i386.
build system:
* Remove configure's --with-stlport and --with-stlport-compiler options, as
they don't allow you to actually specify what you need to (at least to use
the Debian STLport package), and instead document what to pass to configure
to enable building with STLport (though it seems to no longer be actively
maintained, and the debug mode (which is probably the most interesting
feature now) doesn't seem to work on Debian stable).
documentation:
* Document that OP_ELITE_SET with non-term subqueries might pick subqueries
which don't match anything. Closes ticket#49.
* Document that you can define a static operator delete method in your subclass
if deallocation needs to be handled specially. (Closes ticket#554)
* Assorted minor documentation improvements.
portability:
* Address new warnings from GCC 4.6.
* Fix argument order when linking xapian-check to fix mingw build.
(ticket#567)
* Add some missing explicit header includes to fix build with STLport.
The textproc/cabocha package has been failing on i386 DragonFly for
months. This was caused by segaults in two utilities provided by yamcha:
pkemine and mktrie.
Google brought up some pastebin sniplets indicating others had run into
the same issue, confirming the fixes. With the revised yamcha utilities,
textproc/cabocha builds nicely on DragonFly.
Although Ruby 1.9.2 is still supported version, Ruby 1.9.3 has enough
compatibility for pkgsrc's packages and migration terms on pkgsrc now
ended.
And it costs to supporing multiple versions of Ruby along with multiple
versions of Ruby on Rails, too.
== 1.3.0 / 2012-08-19
* Ruby 1.8 and 1.9 support
* Tested, documented, refactored and made +faster+
* Added tons of syntax files
{lib/textpow/syntax}[https://github.com/grosser/textpow/tree/master/lib/textpow/syntax]
* Most nested ("include") syntaxes work out of the box
* Includes all the syntaxes from ultraviolet to improve testability
== 1.5.5 / unreleased
* Features
* Much-improved support for JRuby in 1.9 mode! Yay!
* Bugfixes
* Regression in JRuby Nokogiri add_previous_sibling (1.5.0 -> 1.5.1) #691
(Thanks, John Shahid!)
* JRuby unable to create HTML doc if URL arg provided #674 (Thanks, John
Shahid!)
* JRuby raises NullPointerException when given HTML document is nil or empty
string. #699
* JRuby 1.9 error, uncaught throw 'encoding_found', has been fixed. #673
* Invalid encoding returned in JRuby with US-ASCII. #583
* XmlSaxPushParser raises IndexOutOfBoundsException when over 512 characters
are given. #567, #615
* When xpath evaluation returns empty NodeSet, decorating NodeSet's base
document raises exception. #514
* JRuby raises exception when xpath with namespace is specified. pull
request #681 (Thanks, Piotr Szmielew)
* JRuby renders nodes without their namespace when subclassing Node. #695
* JRuby raises NAMESPACE_ERR (org.w3c.dom.DOMException) while instantiating
RDF::RDFXML::Writer. #683
* JRuby is not able to use namespaces in xpath. #493
kramdown 0.14.0 released
Published on Sunday, 16 September 2012
First of all please note that this release contains a backwards-incompatible
change: The syntax for specifying a code language for a code block or code
span has changed. Instead of using lang='CODELANG' one has to use
.language-CODELANG now.
This change has been introduced to avoid problems because the lang="..."
attribute is used by HTML for other purposes than setting the code
language. Furthermore using .language-CODELANG is also proposed by HTML5 and
it seems to be a good way to achieve the needed functionality.
Other changes in this release include the possibility of setting the code
language on the starting line of a fenced code block and a way of excluding
certain headers from the table of contents by assigning the .no_toc class to
them. Changes
* 2 major changes
o Code language is now specified via .language-CODELANG instead of
lang='CODELANG'
o Implemented support for setting language on fenced code block starting
line (initial patch by Bran)
* 1 minor change
o Headers with an ID can be prevented from showing in the TOC by assigning
the .no_toc class to them (patch by Tim Bates)
* 1 bug fix
o Numeric instead of symbolic HTML entities are now the default fallback
(patch by Gioele Barabucci)
kramdown 0.13.8 released
Published on Friday, 31 August 2012
This release brings two new options (one for adjusting header levels and the
other for enabling/disabling coderay). And the usual bug fixes. Changes
* 2 minor changes
o New option header_offset for offsetting all header levels (initial patch
by Michal Till)
o New option enable_coderay for enabling/disabling coderay (initial patch by
Bran)
* 5 bug fixes
o Reserved HTML characters in abbreviation titles are now correctly output
(patch by Alex Tomlins)
o Similar abbreviations (like CSS and CSS3) are now correctly parsed
o Fixed bug RF#29626: Text of mailto-link was sometimes wrongly obfuscated
(reported by B Wright)
o Fixed known Ruby 1.9.3 problem with RakeTest task (patch by Gioele
Barabucci)
o Fixed double output of ¡Æmarkdown¡Ç attribute on HTML elements in kramdown
converter
* 1 documentation change
o README file is now called README.md and uses kramdown syntax (patch by
Bran)
Portability:
* xincludestyle wasn't protected with LIBXML_XINCLUDE_ENABLED,
* Portability fix for testThreads.c,
* FreeBSD portability fixes,
* check for gmtime - on mingw* hosts will enable date-time function,
* use only native crypto-API for mingw* hosts,
* autogen: Only check for libtoolize,
* minimal mingw support,
* configure: acconfig.h is deprecated since autoconf-2.50,
* Fix a small out of tree compilation issue,
* Fix python generator to not use deprecated xmllib,
* link python module with python library
Documentation:
* Tiny doc improvement,
* Various documentation fixes for docs on internals
Bug fixes
upstream changes:
version: 0.84
date: Fri Jul 13 18:17:27 GMT 2012
changes:
- Resolve distribution error that caused .git to be shipped in the .tar.gz
version: 0.83
date: Fri Jul 13 15:44:03 GMT 2012
changes:
- Only call stat() and tell() on a filehandle if fileno existed
- Explicit tied() call on globs to avoid a 5.16 deprecation warning
version: 0.82
date: Thu Jul 12 18:49:45 GMT 2012
changes:
- Test scalar @array rather than deprecated defined @array (Sebastian Stumpf)
from 0.90 to 0.91.
Upstream changes:
0.91 - 2012-08-21, H.Merijn Brand
* Prevent test-failures for long doubles on weird architectures
* More utf-8 tests for te change of 0.90
* Update test case now 5.005 is not supported anymore
* Rip out the tell/seek introduced in 0.90
textproc/p5-Lingua-EN-Tagger from 0.16nb2 to 0.20.
pkgsrc changes:
- add newly introduced dependency to www/p5-HTML-Tagset
Upstream changes since 0.16:
0.20 Aaron Coburn 7/6/12
Escaped curly braces in regex patterns.
In perl 5.17 this becomes necessary.
0.19 Aaron Coburn 5/28/12
Added missing metadata fields to
Makefile.PL
0.18 Aaron Coburn 5/11/12
Added requirement for 5.8 for proper
unicode support. Modified get_sentences
routine for $ chars as with preceeding
issue.
0.17 Aaron Coburn 5/10/12
Added better error handling for loading
YAML files. Fixed error in get_sentences
routine related to (, [ and { characters
being fused to the preceding word.
Packaged for wip by phonohawk and Moritz Wilhelmy.
tDOM combines high performance XML data processing with easy and
powerful Tcl scripting functionality. tDOM should be one of the
fastest ways to manipulate XML with a scripting language and uses very
little memory in the process (for example the DOM tree of the XML
recommendation in XML (160K) needs only about 450K in memory)! The
tDOM project was started by Jochen Loewer. It is currently maintained
by Rolf Ade.
- Flag (interactive) was removed from the following functions:
dictem-select-strategy, dictem-select-database, dictem-read-query
and dictem-run. This fixes Debian bug #564251.
Tcl-expat does not need to create lib/tcl. This is done already by the
lang/tcl package. Attempting the pre-install target fails when built
by a non-root user so just remove this redundant target.
** Bug fixes
grep -i '^$' could exit 0 (i.e., report a match) in a multi-byte locale,
even though there was no match, and the command generated no output.
E.g., seq 2 | LC_ALL=en_US.utf8 grep -il '^$' would mistakenly print
"(standard input)". Related, seq 9 | LC_ALL=en_US.utf8 grep -in '^$'
would print "2:4:6:8:10:12:14:16" and exit 0. Now it prints nothing
and exits with status of 1. [bug introduced in grep-2.6]
'grep' no longer falsely reports text files as being binary on file
systems that compress contents or that store tiny contents in metadata.
Upstream changes:
2012-08-14 David E. Wheeler <david@justatheory.org>
* Release 3.23
Eliminated nested elements in table of contents (index) items
output of Pod::Simple::XHTML. This was especially problematic for
headers that included links, as the TOC then got nested anchor
elements, which simply would not work. Thanks to Ben Bullock for
the report and test case (RT #77686).
Fixed semantically invalid nested XHTML generated by
Pod::Simple::XHTML since v3.21. Gisle Aas.
Improved support for nested "C< >" tags in Pod::Simple::XHTML.
Gisle Aas.
No longer tries to decode a string with the "utf8" flag set, as
the double-decoding only triggered an error. Grant McLean.
Added documentation note that the API expects encoded text
(octets). Grant McLean.
Added "parse_characters()" option to specify that strings to are
already decoded from octets into characters. Grant McLean.
Markdown is a text-to-HTML filter; it translates an easy-to-read /
easy-to-write structured text format into HTML. Markdown's text
format is most similar to that of plain text email, and supports
features such as headers, *emphasis*, code blocks, blockquotes, and
links. -- http://daringfireball.net/projects/markdown/
This is a fast and complete Python implementation of the Markdown
spec.
This is an update of ocaml-text to version 0.6. According to the upstream
changelog, the only changes are to the build system. This version works with
ocaml 4.00.
3.10 (2011-05-30)
-----------------
* Do not try to build LibYAML bindings on platforms other than CPython
(Thank to olt(at)bogosoft(dot)com).
* Clear cyclic references in the parser and the emitter
(Thank to kristjan(at)ccpgames(dot)com).
* Dropped support for Python 2.3 and 2.4.
3.09 (2009-08-31)
-----------------
* Fixed an obscure scanner error not reported when there is
no line break at the end of the stream (Thank to Ingy).
* Fixed use of uninitialized memory when emitting anchors with
LibYAML bindings (Thank to cegner(at)yahoo-inc(dot)com).
* Fixed emitting incorrect BOM characters for UTF-16 (Thank to
Valentin Nechayev)
* Fixed the emitter for folded scalars not respecting the preferred
line width (Thank to Ingy).
* Fixed a subtle ordering issue with emitting '%TAG' directives
(Thank to Andrey Somov).
* Fixed performance regression with LibYAML bindings.
* Update MASTER_SITES
* Cannot connect to HOMEPAGE
* Update license, and remove RESTRICTED
* For example, ~/.termcap is needed, because this package uses Term::Cap
Changelog:
* Add a commandline option
* Change termcap handling
3.101641 from CPAN into textproc/p5-Dist-Zilla-Plugin-PodWeaver.
[PodWeaver] is the bridge between Dist::Zilla and Pod::Weaver. It rips
apart your kinda-Pod and reconstructs it as boring old real Pod.
from CPAN into textproc/p5-Pod-Elemental-PerlMunger.
This role is to be included in classes that rewrite the documentation of
a Perl document, stripping out all the Pod, munging it, and replacing it
into the Perl.
CPAN into textproc/p5-Pod-Weaver.
Pod::Weaver is a system for building Pod documents from templates.
It doesn't perform simple text substitution, but instead builds a
Pod::Elemental::Document. Its plugins sketch out a series of sections
that will be produced based on an existing Pod document or other
provided information.
CPAN into textproc/p5-Pod-Elemental.
Pod::Elemental is a system for treating a Pod (plain old documentation)
documents as trees of elements. This model may be familiar from many other
document systems, especially the HTML DOM. Pod::Elemental's document object
model is much less sophisticated than the HTML DOM, but still makes a lot
of document transformations easy.
In general, you'll want to read in a Pod document and then perform a number
of prepackaged transformations on it. The most common of these will be the
Pod5 transformation, which assumes that the basic meaning of Pod commands
described in the Perl 5 documentation hold: =begin, =end, and =for commands
mark regions of the document, leading whitespace marks a verbatim paragraph,
and so on. The Pod5 transformer also eliminates the need to track elements
representing vertical whitespace.
from CPAN into textproc/p5-String-Truncate.
String::Truncate handles the simple but common problem of long strings and
finite terminal width by eliding or truncating parts of the string from the
left, right, middle or both ends, respectively.
Upstream changes:
-----------------
Release highlights
------------------
Added full complement of styles to Open Blocks and Normal Paragraphs???those
with a minimalist bent could construct virtually any document using just Title,
Normal Paragraph and Open Block syntaxes.
Other additions and changes
---------------------------
Increased default maximum include depth from 5 to 10.
Emit warning if maximum include depth is exceeded.
Suppress repeated console messages.
Music filter: removed --beams=None option from abc2ly invocation because it
is broken on LilyPond 2.14 (Ubuntu 12.04).
Replaced obsolete <tt> tag with <code> in HTML backends.
Allow configuration attribute entries to create a new section (previously
you could only modify existing sections). See: discussion list.
Documented {wj} (word-joiner) attribute and updated FAQ. See: discussion
list.
FAQ: Added How can I place a footnote immediately following quoted text?
See discussion list.
Added Greek language configuration file. Contributed by Michael
Dourmousoglou. See discussion list.
FAQ: Added Using roles to select fonts for PDF. Submitted by Lex Trotman
and based on solution by Antonio Borneo. See: discussion list.
Apply same monospaced font size to all monospaced text.
Changed 0 number padding to spaces in numbered GNU source-highlight
outputs.
Allow highlight source highlighter to use python for Python {language}
name. r1142: Update the AsciiDoc source filter to allow the use of the
highlight source code highlighter. See discussion list.
Vim syntax highlighter: Don?t confuse trailing open block delimiter with
section underline.
Added skip option to paragraphs (c.f. Delimited Block skip option).
Bug fixes
FIXED: latex, music and graphviz filters: When the filter output image is
data-uri encoded write it to the indir (instead of the outdir) so that encoder
can find it. See discussion list.
FIXED: Escape the ] character inside inline macros. See discussion list.
FIXED: source highlighter filter: Pass role attribute to HTML backends.
FIXED: source highlight filter: docbook backend: role attribute was not
passed to listings without a title. Patch submitted by Lex Trotman. See
discussion list.
FIXED: music2png.py: FOPException: Raster ByteInterleavedRaster error (FOP
1.0, ImageMagick 6.6.9-7).
** Bug fixes
grep -i, in a multi-byte locale, when matching a line containing a character
like the UTF-8 Turkish I-with-dot (U+0130) (whose lower-case representation
occupies fewer bytes), would print an incomplete output line.
Similarly, with a matched line containing a character (e.g., the Latin
capital I in a Turkish UTF-8 locale), where the lower-case representation
occupies more bytes, grep could print garbage.
[bug introduced in grep-2.6]
--include and --exclude can again be combined, and again apply to
the command line, e.g., "grep --include='*.[ch]' --exclude='system.h'
PATTERN *" again reads all *.c and *.h files except for system.h.
[bug introduced in grep-2.6]
** New features
'grep' without -z now treats a sparse file as binary, if it can
easily determine that the file is sparse.
** Dropped features
Bootstrapping with Makefile.boot has been broken since grep 2.6,
and was removed.
dictl.in:
Fix for Debian bug #677868 reported by Stepan Golosunov.
dictd.8:
Fixes for mistypes found by A. Costa. Thanks!
dictzip:
Fix for sf.net bug #3390567 reported by Ivo Danihelka.
INSTALL:
Fix for sf.net bug #3398178
colorit:
Fix for option -c. Now it works correctly.
examples/dictd_virtual.conf:
Fix incorrect keyword for virtual database.
Thanks to Marc-Jano Knopp for the report!
Update to dictem-1.0.3
- fix: "dictem-get-matches" function returns dictionary names
without ":" in the end.
- fix. insertion of text produced by "dict" client of by user's
database is always made IN THE END of dictem buffer. This fixes
the problems with hightlighting in match/define mixed results.
- Fix failure when dictem-use-user-databases-only is t. The problem
was that dictem-last-database variable was initialized
incorrectly.
* Buildlink to print/poppler-cpp
* Fix build with popplar-0.20
Changelog:
Release 1.3.0 [2012-02-14]
- Experimental support for libunac (removing accents and ligatures before search)
- Recursive search [--recursive] (by Mahmut Gundes)
- Don't use colors on dumb terminals
- A few minor bug fixes
- Use poppler-cpp instead of the poppler core library (by Pino Toscano)
EmPy is a system for embedding Python expressions and statements in template
text; it takes an EmPy source file, processes it, and produces output. This is
accomplished via expansions, which are special signals to the EmPy system and
are set off by a special prefix (by default the at sign, @). EmPy can expand
arbitrary Python expressions and statements in this way, as well as a variety
of special forms. Textual data not explicitly delimited in this way is sent
unaffected to the output, allowing Python to be used in effect as a markup
language. Also supported are callbacks via hooks, recording and playback via
diversions, and dynamic, chainable filters. The system is highly configurable
via command line options and embedded commands.
textproc/p5-Text-Format from 0.52nb5 to 0.56.
pkgsrc changes:
- adjust meta information (DISTNAME, LICENSE, HOMEPAGE)
Upstream changes:
0.56 Thu May 31 09:23:26 IDT 2012
- Add "use warnings;" to lib/Text/Format.pm .
- Add t/pod.t .
- Add t/pod-coverage.t .
0.55 Thu May 31 09:17:32 IDT 2012
- Fix small spelling error in the POD:
- closing https://rt.cpan.org/Ticket/Display.html?id=77481
- Thanks to Salvatore Bonaccorso and the Debian people
for the report and the patch.
- ( There were also some duplicate bug report in the rt.cpan.org queue
by accident. )
0.54 Fri May 25 02:33:47 IDT 2012
- Convert t/justify.t and t/format.t to Test::More, "use strict;"
and "use warnings;" and cleaned them up.
- fix a warning generated by a call to defined(@array)
- https://rt.cpan.org/Ticket/Display.html?id=77413
- thanks to H. Merijn Brand for the report.
0.53 Fri Jan 28 13:02:01 IST 2011
- Adopted by Shlomi Fish (while disclaiming all rights).
- Convert the build system to Module-Build, while adding keywords
and resources.
- The archive name is now the more standard Text-Format-0.53.tar.gz.
- Fix some typos in the documentation.
1) Remove lang/gnat-aux dependency
2) USE_LANGUAGES+= ada (invokes lang/gcc-aux dependency)
3) Improve shared library rpath definition required when built by compiler
not installed at ${LOCALBASE}
4) Restore use of pkgsrc wrappers
from 0.22nb2 to 0.26.
pkgsrc notes:
- ignoring requirement bump of Math::BigInt to 1.997, because it's neither
documented why and the test succeed with bundled 1.994, too
(skip updating lang/perl5 to 5.16.0 for now ^^)
Upstream changes:
0.26 -- Sat Jun 09 13:30:16 CDT 2012
* Avoid Modification of a read-only value attempted errors
* dump Data::Dumper strings when rtest fails
* Add tests from Crypt::X509 that found the last Modification of a read-only value attempted error
0.25 -- Fri Jun 08 19:31:59 CDT 2012
* fix a spelling mistake [gregor herrmann]
* Add use strict and fix errors
* Fix decoding of indefinite sequences with ANY
* POD additions for ANY
* EXPLICIT ops must pass their cVAR to their child op
* Swallow a , after a }
0.24 -- Mon Jun 04 17:11:08 CDT 2012
* spelling fix [gregor herrmann]
* Added tests for extension markers (fails currently) [Niels Laukens]
* Bugfix for extension markerss in SETs and CHOICEs [Niels Laukens]
* Skip attempting to encode opEXTENSIONS inside of CHOICE
* Support for default explicit tagging [Peter Mogensen]
* Added tests and doc for explicit tagging [Peter Mogensen]
* Add new opEXPLICIT for sequences that are inserted for EXPLICIT tags
0.23 -- Thu May 03 16:32:46 CDT 2012
* Added support for EXTENSION MARKERS (...) (Niels Laukens)
* Switch to Dist::Zilla for building
in textproc/p5-Filter from 1.39 to 1.45.
Upstream changes:
1.45 2012-06-19 rurban
----
* Sync perlfilter.pod with core improvements
1.44 2012-06-18 rurban
----
* Sync t/call.t with core fixes in 2adbc9b6
1.43 21 Feb 2012 rurban
----
* Fix more windows tests:
http://www.cpantesters.org/cpan/report/9e790a72-6bf5-1014-9f3b-641f296be760
1.42 20 Feb 2012 rurban
----
* Improve t/tee.t test 5 on windows which allows all Administrator
members read-access [RT #75164]
1.41 18 Feb 2012 rurban
----
* Hide example packages from the pause indexer
1.40 9 Feb 2012 rurban
----
* Fix tee and all tests to work with Perl 5.14 and higher.
PVIO has no IV field anymore, so abuse the empty IoOFP,
which is only used for printing, not reading.
Fixes [RT #56875] and more.
Tested for 5.6.2, 5.8.4, 5.8.5, 5.8.8, 5.8.9, 5.10.1, 5.12.4,
5.14.2, 5.15.7
from 3.19 to 3.22.
Upstream changes:
2012-05-27 David E. Wheeler <david@justatheory.org>
* Release 3.22
Fix but where Pod::Simple would whine about non-ASCII bytes in
code or comments. Now only does so for Pod (in the absence of an
"=encoding" tag. Broken in 3.21. Grant McLean.
2012-05-23 David E. Wheeler <david@justatheory.org>
* Release 3.21
NOTE: COMPATABILITY CHANGE: The 'codes_in_verbatim' option in
Pod::Simple::XHTML is no longer enabled by default. This brings it
agreement with the other formatting classes, and eliminates
unexpected behavior in XHTML-formatted Pod. Users who depended on
this functionality can still get it by enabling
'codes_in_verbatim' in their code.
Fixed some typos in the documentation. Thanks to Jonathan Yu via
the Debian packagers via Florian Ragwitz (RT #75532).
Now emit a warning the first time a non-ASCII byte is encountered
when no "=encoding" has been seen. Grant McLean.
When a non-ASCII byte is encounted before an "=encoding" line has
been seen, a heuristic (as described in perlpodspec) is applied to
select UTF-8 encoding if the non-ASCII bytes form a valid UTF-8
byte sequence, or Latin-1 otherwise. Grant McLean.
Added 'handle_code' method to Pod::Simple::XHTML. This allows
subclasses to override the handling of verbatim blocks, and makes
for a more cohesive interface, to boot. Gisle Aas.
Subsequent text segments are now joined together and passed as a
single unit to text handling code. This makes it easier for custom
handlers to process complete blocks of text in a single call to
'handle_text', rather than in dribs and drabs. Gisle Aas.
Replaced naive text wrapping code in Pod::Simple::DumpAsXML with
Text::Wrap, which was already used for similar purposes elsewhere
in Pod::Simple. Gisle Aas.
2012-03-01 David E. Wheeler <david@justatheory.org>
* Release 3.20
Removed use of 'done_testing' in t/xhtml15.t, which was added in
v3.19. Thanks to Paul Howarth for the catch.
Fixed quoting of links in a regular expression Pod::Simple::Text.
Reported by Father Chrysostomos.
Fix test failure on case-insensitive, non-case-preserving file systems
(VMS I'm looking at *you*). Patch from Craig A. Berry.
Pod::Simple::HTML no longer emits "href='#___top'" if a TOC
(index) is not output. Patch from Rick Myers.
Fixed links in the TOC of XHTML output to use IDs derived from encoded
text, rather than raw Pod, so that it will link to the ID actually
generated for the section. Thanks to Randy Stauner for the report
(with test case!) (RT #72544).
PullParser now throws an exception on an attempt to set a source
more than once. Necessary because data from the previous source
will be cached, so the new source would be ignored anyway. Create a
new PullParser, instead. Thanks to Paul Boldra for the report (RT
#74265).
textproc/p5-Regexp-Common from 2011041701 to 2011121001.
Upstream changes:
Version 2011121001 Sat Dec 10 21:32:49 CET 2011
+ Fixed a few cases where $[ was used instead of $].
(RT 73033 by Father Chrysostomos <sprout@cpan.org>)
+ Typo fix in docs (P Ramakers <pramakers@gmail.com>)
+ Add an explicite 1 to end the main module; otherwise it may fail under Mason
(Luciano Rocha <luciano.rocha@booking.com>)
from 1.96nb1 to 2.00.01 (upstream 2.0001).
Upstream changes:
2.0001 Wed Jun 20 19:40:05 IDT 2012
- Remove the leftover perl-libxml-libxml.h from the distribution.
- https://rt.cpan.org/Ticket/Display.html?id=77924
- Thanks to Martin Mann for the report.
2.0000 Tue Jun 19 23:04:23 IDT 2012
- Fix warnings that appear when compiling using the clang C compiler by
default.
- https://rt.cpan.org/Ticket/Display.html?id=77802
- Thanks to duvny for the report, and to seldon, doy and Zefram
for their assistance in fixing the warnings.
- Fix tests and run-time errors when Hash::FieldHash is installed
by no longer using Hash::FieldHash.
- https://rt.cpan.org/Ticket/Display.html?id=77576
- Thanks to hsk@fli-leibniz.de for reporting it, and to
Father Chrysostomos ( http://search.cpan.org/~sprout/ ) and
Mons Anderson for some diagnosis.
1.99 Thu May 31 10:21:23 IDT 2012
- Apply a patch from Mons Anderson ( mons@cpan.org ) for fixing the
overloading.
- t/62overload.t
- Thanks to Mons.
- Fix test failures (and general functionality) on 64-bit big endian
platforms
- https://rt.cpan.org/Ticket/Display.html?id=77340
- Thanks to Gregor Herrmann and Niko Tyni from the
Debian Perl group.
1.98 Sun May 13 21:02:14 IDT 2012
- Make sure parse_string() and load_xml() also accept references to
strings (to avoid unnecessary copying).
- See: https://rt.cpan.org/Ticket/Display.html?id=64051
1.97 Mon Apr 30 20:31:24 IDT 2012
- Apply a test and a fix to correct keep_blanks having no effect on
parse_balanced_chunk.
- fixes https://rt.cpan.org/Ticket/Display.html?id=76696
- Add t/30keep_blanks.t .
- Thanks to SREZIC for the report, the test and the fix.
from 0.96nb6 to 0.99.
pkgsrc changes:
- importing new package for extracted XML::SAX::Base module
Upstream changes (not noted by Author!):
- extracted XML::SAX::Base and XML::SAX::Exception module
- improved/fixed CDSect parsing
textproc/p5-XML-SAX-Base, because scheduled update of XML::SAX to 0.96
in textproc/p5-XML-SAX extracted XML::SAX::Base into an own distribution
again.
This module has a very simple task - to be a base class for PerlSAX drivers
and filters. It's default behaviour is to pass the input directly to the
output unchanged. It can be useful to use this module as a base class so
you don't have to, for example, implement the characters() callback.
from 0.88 to 0.90.
Upstream changes since 0.88:
0.90 - 2012-06-15, H.Merijn Brand
* Drop 5.005 support (5.6.1 is now minimum)
* Introduce record_number
* Try harder to get the complete input parsed for the current record
when hitting errors on parsing seekable IO (only works in 5.14.0 and up)
* Tested with perl 5.6.1 .. 5.17.0 (99 versions of perl) on Linux, HP-UX,
AIX, and Windows
* SvSETMAGIC was missing for tied variables causing weird actions at a
distance, e.g. in printf (Thanks TonyC for finding this)
* UTF8 flag was not always reset when using bound variables (TonyC)
CPAN into textproc/p5-Pod-Eventual.
POD is a pretty simple format to write, but it can be a big pain to deal
with reading it and doing anything useful with it. Most existing POD
parsers care about semantics, like whether a =item occurred after an =over
but before a back, figuring out how to link a L<>, and other things like
that.
Pod::Eventual is much less ambitious and much more stupid. Fortunately,
stupid is often better. (That's what I keep telling myself, anyway.)
Pod::Eventual reads line-based input and produces events describing each
POD paragraph or directive it finds. Once complete events are immediately
passed to the handle_event method. This method should be implemented by
Pod::Eventual subclasses. If it isn't, Pod::Eventual's own handle_event
will be called, and will raise an exception.
textproc/p5-String-Errf.
String::Errf provides errf, a simple string formatter that works something
like sprintf. It is implemented using String::Formatter and Sub::Exporter.
from CPAN into textproc/p5-String-Formatter.
String::Formatter is a tool for building sprintf-like formatting routines.
It supports named or positional formatting, custom conversions, fixed
string interpolation, and simple width-matching out of the box. It is easy
to alter its behavior to write new kinds of format string expanders. For
most cases, it should be easy to build all sorts of formatters out of the
options built into String::Formatter.
* 9242 ICU4C fails to parse pattern containing EEE properly whilst ICU4J parses it successfully
* 9258 Number format performance
* 9283 uregex_open fails for look-behind assertion + case-insensitive
* 9284 Date format roundtrip test failure
* 9295 HPPA endianness detection
* 9313 Problem building ICU4C with Cygwin/MSVC
* 9332 Linux s390 endianness detection
* 9336 Problem building ICU4C 49.1.1 on zOS
2012-06-24 Raptor2 Version 2.0.8 Released
Added support for RDFa 1.1 via updated librdfa
Multiple portability fixes for Windows and Solarises. (Daniel Richard G.)
Multiple minor fixes and improvements
Fixed reported issues: 0000381, 0000487, 0000505 and 0000507
2.8.0: May 23 2012
Features: - add lzma compression support (Anders F Bjorklund)
Documentation: xmlcatalog: Add uri and delegateURI to possible add types in man page. (Ville Skyttä), Update README.tests (Daniel Veillard), URI handling code is not OOM resilient (Daniel Veillard), Fix an error in comment (Daniel Veillard), Fixed bug #617016 (Daniel Mustieles), Fixed two typos in the README document (Daniel Neel), add generated html files (Anders F Bjorklund), Clarify the need to use xmlFreeNode after xmlUnlinkNode (Daniel Veillard), Improve documentation a bit (Daniel Veillard), Updated URL for lxml python bindings (Daniel Veillard)
Portability: Restore code for Windows compilation (Daniel Veillard), Remove git error message during configure (Christian Dywan), xmllint: Build fix for endTimer if !defined(HAVE_GETTIMEOFDAY) (Patrick R. Gansterer), remove a bashism in confgure.in (John Hein), undef ERROR if already defined (Patrick R. Gansterer), Fix library problems with mingw-w64 (Michael Cronenworth), fix windows build. ifdef addition from bug 666491 makes no sense (Rob Richards), prefer native threads on win32 (Sam Thursfield), Allow to compile with Visual Studio 2010 (Thomas Lemm), Fix mingw's snprintf configure check (Andoni Morales), fixed a 64bit big endian issue (Marcus Meissner), Fix portability failure if netdb.h lacks NO_ADDRESS (Daniel Veillard), Fix windows build from lzma addition (Rob Richards), autogen: Only check for libtoolize (Colin Walters), Fix the Windows build files (Patrick von Reth), 634846 Remove a linking option breaking Windows VC10 (Daniel Veillard), 599241 fix an initialization problem on Win64 (Andrew W. Nosenko), fix win build (Rob Richards)
Bug fixes: Part for rand_r checking missing (Daniel Veillard), Cleanup on randomization (Daniel Veillard), Fix undefined reference in python module (Pacho Ramos), Fix a race in xmlNewInputStream (Daniel Veillard), Fix weird streaming RelaxNG errors (Noam), Fix various bugs in new code raised by the API checking (Daniel Veillard), Fix various problems with "make dist" (Daniel Veillard), Fix a memory leak in the xzlib code (Daniel Veillard), HTML parser error with <noscript> in the <head> (Denis Pauk), XSD: optional element in complex type extension (Remi Gacogne), Fix html serialization error and htmlSetMetaEncoding() (Daniel Veillard), Fix a wrong return value in previous patch (Daniel Veillard), Fix an uninitialized variable use (Daniel Veillard), Fix a compilation problem with --minimum (Brandon Slack), Remove redundant and ungarded include of resolv.h (Daniel Veillard), xinclude with parse="text" does not use the entity loader (Shaun McCance), Allow to parse 1 byte HTML files (Denis Pauk), Patch that fixes the skipping of the HTML_PARSE_NOIMPLIED flag (Martin Schröder), Avoid memory leak if xmlParserInputBufferCreateIO fails (Lin Yi-Li), Prevent an infinite loop when dumping a node with encoding problems (Timothy Elliott), xmlParseNodeInContext problems with an empty document (Tim Elliott), HTML element position is not detected propperly (Pavel Andrejs), Fix an off by one pointer access (Jüri Aedla), Try to fix a problem with entities in SAX mode (Daniel Veillard), Fix a crash with xmllint --path on empty results (Daniel Veillard), Fixed bug #667946 (Daniel Mustieles), Fix a logic error in Schemas Component Constraints (Ryan Sleevi), Fix a wrong enum type use in Schemas Types (Nico Weber), Fix SAX2 builder in case of undefined attributes namespace (Daniel Veillard), Fix SAX2 builder in case of undefined element namespaces (Daniel Veillard), fix reference to STDOUT_FILENO on MSVC (Tay Ray Chuan), fix a pair of possible out of array char references (Daniel Veillard), Fix an allocation error when copying entities (Daniel Veillard), Make sure the parser returns when getting a Stop order (Chris Evans), Fix some potential problems on reallocation failures(parser.c) (Xia Xinfeng), Fix a schema type duration comparison overflow (Daniel Veillard), Fix an unimplemented part in RNG value validation (Daniel Veillard), Fix missing error status in XPath evaluation (Daniel Veillard), Hardening of XPath evaluation (Daniel Veillard), Fix an off by one error in encoding (Daniel Veillard), Fix RELAX NG include bug #655288 (Shaun McCance), Fix XSD validation bug #630130 (Toyoda Eizi), Fix some potential problems on reallocation failures (Chris Evans), __xmlRaiseError: fix use of the structured callback channel (Dmitry V. Levin), __xmlRaiseError: fix the structured callback channel's data initialization (Dmitry V. Levin), Fix memory corruption when xmlParseBalancedChunkMemoryInternal is called from xmlParseBalancedChunk (Rob Richards), Small fix for previous commit (Daniel Veillard), Fix a potential freeing error in XPath (Daniel Veillard), Fix a potential memory access error (Daniel Veillard), Reactivate the shared library versionning script (Daniel Veillard)
Improvements: use mingw C99 compatible functions {v}snprintf instead those from MSVC runtime (Roumen Petrov), New symbols added for the next release (Daniel Veillard), xmlTextReader bails too quickly on error (Andy Lutomirski), Use a hybrid allocation scheme in xmlNodeSetContent (Conrad Irwin), Use buffers when constructing string node lists. (Conrad Irwin), Add HTML parser support for HTML5 meta charset encoding declaration (Denis Pauk), wrong message for double hyphen in comment XML error (Bryan Henderson), Fix "make tst" to grab lzma lib too (Daniel Veillard), Add "whereis" command to xmllint shell (Ryan), Improve xmllint shell (Ryan), add function xmlTextReaderRelaxNGValidateCtxt() (Noam Postavsky), Add --system support to autogen.sh (Daniel Veillard), Add hash randomization to hash and dict structures (Daniel Veillard), included xzlib in dist (Anders F Bjorklund), move xz/lzma helpers to separate included files (Anders F Bjorklund), add generated devhelp files (Anders F Bjorklund), add XML_WITH_LZMA to api (Anders F Bjorklund), autogen.sh: Honor NOCONFIGURE environment variable (Colin Walters), Improve the error report on undefined REFs (Daniel Veillard), Add exception for new W3C PI xml-model (Daniel Veillard), Add options to ignore the internal encoding (Daniel Veillard), testapi: use the right type for the check (Stefan Kost), various: handle return values of write calls (Stefan Kost), testWriter: xmltefan Kost), xmlmemory: add a cast as size_t has no portable printf modifier (Stefan Kost), __xmlRaiseError: remove redundant schannel initialization (Dmitry V. Levin), __xmlRaiseError: do cheap code check early (Dmitry V. Levin)
Cleanups: Cleanups be Weber), Cleanups of lzma support (Daniel Veillard), Augment the list of ignored files (Daniel Veillard), python: remove unused variable (Stefan Kost), python: flag two unused args (Stefan Kost), configure: acconfig.h is deprecated since autoconf-2.50 (Stefan Kost), xpath: remove unused variable (Stefan Kost)
== 1.5.4 / unreleased
* Features
* The "nokogiri" script now has more verbose output when passed the `--rng` option. #675 (Thanks, Dan Radez!)
* Build support on hardened Debian systems that use `-Werror=format-security`. #680.
* Better build support for systems with pkg-config. #584
* Better build support for systems with multiple iconv installations.
* Bugfixes
* Segmentation fault when creating a comment node for a DocumentFragment. #677, #678.
* Treat '.' as xpath in at() and search(). #690
* [MRI, Security] Default parse options for XML documents were
changed to not make network connections during document parsing,
to avoid XXE vulnerability. #693
To re-enable this behavior, the configuration method `nononet` may
be called, like this:
Nokogiri::XML::Document.parse(xml) { |config| config.nononet }
Insert your own joke about double-negatives here.