Version 1.6
-----------
(released Feb 3, 2013)
- Lexers added:
* Dylan console (PR#149)
* Logos (PR#150)
* Shell sessions (PR#158)
- Fix guessed lexers not receiving lexer options (#838).
- Fix unquoted HTML attribute lexing in Opa (#841).
- Fixes to the Dart lexer (PR#160).
Version 1.6rc1
--------------
(released Jan 9, 2013)
- Lexers added:
* AspectJ (PR#90)
* AutoIt (PR#122)
* BUGS-like languages (PR#89)
* Ceylon (PR#86)
* Croc (new name for MiniD)
* CUDA (PR#75)
* Dg (PR#116)
* IDL (PR#115)
* Jags (PR#89)
* Julia (PR#61)
* Kconfig (#711)
* Lasso (PR#95, PR#113)
* LiveScript (PR#84)
* Monkey (PR#117)
* Mscgen (PR#80)
* NSIS scripts (PR#136)
* OpenCOBOL (PR#72)
* QML (PR#123)
* Puppet (PR#133)
* Racket (PR#94)
* Rdoc (PR#99)
* Robot Framework (PR#137)
* RPM spec files (PR#124)
* Rust (PR#67)
* Smali (Dalvik assembly)
* SourcePawn (PR#39)
* Stan (PR#89)
* Treetop (PR#125)
* TypeScript (PR#114)
* VGL (PR#12)
* Visual FoxPro (#762)
* Windows Registry (#819)
* Xtend (PR#68)
- The HTML formatter now supports linking to tags using CTags files, when the
python-ctags package is installed (PR#87).
- The HTML formatter now has a "linespans" option that wraps every line in a
<span> tag with a specific id (PR#82).
- When deriving a lexer from another lexer with token definitions, definitions
for states not in the child lexer are now inherited. If you override a state
in the child lexer, an "inherit" keyword has been added to insert the base
state at that position (PR#141).
- The C family lexers now inherit token definitions from a common base class,
removing code duplication (PR#141).
- Use "colorama" on Windows for console color output (PR#142).
- Fix Template Haskell highlighting (PR#63).
- Fix some S/R lexer errors (PR#91).
- Fix a bug in the Prolog lexer with names that start with 'is' (#810).
- Rewrite Dylan lexer, add Dylan LID lexer (PR#147).
- Add a Java quickstart document (PR#146).
- Add a "external/autopygmentize" file that can be used as .lessfilter (#802).
2013-02-18 MeCab 0.996
* fixes missing linkage with iconv.
* Add function to generate new CSV file from adding costs and left/right context
ID of CVS for user's dictionary.
* Add Lattice::set_result() method for generated analysis result to Lattice
2013-01-24 MeCab 0.995
* Reimplementation of partial analysis function
* Add API for partial analysis function (Lattice:set_boundary_constrant,
Lattice::set_feature_constranit)
wrong SONAME being set, in this case to '../librarian/.libs/librarian.so'.
Fixes a number of packages and PR#37842.
Bump PKGREVISION, binary package needs to be updated.
* Fix MASTER_SITES, sf.net no longer has distfile.
* Fix HOMEPAGE.
Changelog:
* Change command name to markdown_py from markdown.
* Drop python 2.3 and 2.4 support.
* Many bugfixes.
Upstream changes:
2013-02-16 David E. Wheeler <david@justatheory.org>
* Release 3.25
Improved the warning when "=item" types mismatch within one
"=over"/"=back" block.
2013-02-14 David E. Wheeler <david@justatheory.org>
* Release 3.24
Fixed corner case bug for unlikely scenario in which non-UTF-8
text could be parsed as UTF-8. Grant McLean.
XHTML IDs can no longer end with punctuation. Thanks to Smylers
for the patch.
Fixed test failure on Perl 5.6.2.
Changed the default installation location from "perl" to "site" on
5.12 and higher, since as of that version of Perl, dual-life
modules no longer need to be installed in "perl" to replace
in-core versions. Patch from tzccinct.
Fixed hash order dependency test failures on Perl 5.17. Thanks to
Yves Orton for the patch.
Inlined the code that tries to guess a Pod file's encoding. This
reduces the time Pod::Simple takes to build the core Perl
documentation by 15-20%. Thanks to Dagfinn Ilmari Mannsåker for
the patch!
Added a warning when "=item" types mismatch within one
"=over"/"=back" block. Marc Green/Google Summer of Code, with
assist from RJBS.
Fixed regression introduced in 3.22 in which "C< >" tags were
incorrectly treated as verbatim text in table of contents items
emitted by Pod::Simple::XHTML. Thanks to Randy Stauner for the
report and to Thomas Sibley for the fix!
Loosened up the matching of "L< >" tags for man pages so that they
allow names with dots, underscores, and any other chararacters
other than "/", just so long as they end in '[(][-a-zA-Z0-9]+[)]'.
Thanks to Dave Rolsky and Kevin Ryde for the reports (RT #82975 &
RT #82972).
Fixed inverted mapping of "keyboard" to "kbd" in
Pod::Simple::HTML. Thanks to Robert Boisvert for the bug report
(RT #79201).
Added two new Tagmap entries to Pod::Simple::HTML: "preformat"
maps to "pre", and "teletype" maps to "tt". Suggested by Robert
Boisvert (RT #79201).
"X< >" tags are now ignored by the pull parser when it searches
for titles, as is any trailing whitespace. Thanks to Patrice Dumas
for the report (RT #74389).
- fixed a bug in ezxml_add_child() that can occur when adding tags out of order
- for consistency, ezxml_set_attr() now returns the tag given
- added ezxml_move() and supporting functions ezxml_cut() and ezxml_insert()
- fixed a bug where parsing an empty file could cause a segfault
2013-02-04 (1.7.7)
* Security fix for JSON create_additions default value and
JSON::GenericObject. It should not be possible to create additions unless
explicitely requested by setting the create_additions argument to true or
using the JSON.load/dump interface. If JSON::GenericObject is supposed to
be automatically deserialised, this has to be explicitely enabled by
setting
JSON::GenericObject.json_createble = true
as well.
* Remove useless assert in fbuffer implementation.
* Apply patch attached to https://github.com/flori/json/issues#issue/155
provided by John Shahid <jvshahid@gmail.com>, Thx!
* Add license information to rubygems spec data, reported by Jordi Massaguer
Pla <jmassaguerpla@suse.de>.
* Improve documentation, thx to Zachary Scott <zachary@zacharyscott.net>.
2013/02/11 (diffstat 1.56)
+ add -K option which attempts to improve the annotation of "only"
files by looking for a match in the resulting set of files and
inferring whether the file was added or removed (request by Marc
Haber).
+ add check of command-line options for valid numbers.
+ improve merging of patches for the same filename (report/testcase by
Paul E McKenney).
+ document -d option in manpage.
+ document -b, -C, -s option in usage (patch by Tim Waugh, Red Hat
#852770)
+ modify configure script as done for byacc in 2012/10/03, making the
2.52-patches the prerequisite and adding support for --datarootdir
option.
+ update config.guess, config.sub
+ add logic to handle SVN diffs when the pathnames contain spaces
(patch by Stuart Prescott, Debian #675475).
+ fix typo in package/debian/control
2012/01/03 (diffstat 1.55)
+ add -R option, like patch's, to reverse the order of the comparison.
+ FreeBSD ports/148604, ports/149500 reported that lzcat may not
support extracting files compressed in xz format (patch by Frederic
Culot, FreeBSD #149500).
+ address documentation issue raised in Novell #739210
+ correct typo s/Solaris/Solar/.
+ updated configure script macros:
CF_ANSI_CC_CHECK CF_DISABLE_LEAKS CF_GCC_ATTRIBUTES CF_GCC_WARNINGS
CF_MAKE_TAGS CF_MSG_LOG CF_PATH_PROG CF_WITH_INSTALL_PREFIX
CF_XOPEN_SOURCE
+ update config.guess, config.sub
2010/10/10 (diffstat 1.54)
+ change Debian package script to use native format.
+ correct counts used for new files when -S/-D options are used.
+ minor typography improvement to manpage (patch by Solar Designer)
+ remove the temporary directory on error, introduced in 1.48+ (patch
by Solar Designer).
2010/07/19 (diffstat 1.53)
+ add missing "break" statement which left "-c" option falling-through
into "-C".
2010/07/16 (diffstat 1.52)
+ add "-C" option to show the histogram using SGR colors.
+ add "-s" option to show only the summary line.
+ add configure check for "xz", using this in preference to "lzcat"
(FreeBSD #148604).
+ also escape literal dashes used as part of the histogram in the
manpage.
+ modify hyphens vs dashes in manpage per
http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html
(patch by Francois Marier).
+ drop mkdirs.sh, use "mkdir -p"
+ add configure checks for ctags and lint.
+ updated configure macros
+ reformat CHANGES to work with metrics script.
+ fix strict gcc warnings, e.g., using const.
+ improve a case where filenames have embedded blanks (patch by Reinier
Post).
+ update config.guess, config.sub
= Release History
== 2.5.0 / 2013-01-27 Charlie Savage
* Compatibility with older versions for IO::write (rb_io_bufwrite is specific
to ruby >= 1.9.3?)
and symbols are VALUE not ID (julp).
* Fix version for xmlTextWriterSetQuoteChar, it appeared in libxml2 2.9.0, last
version (julp)
* Update use of LIBXML_VERSION (julp).
* Fix misuse of rb_scan_args (julp).
* Update documentation, including DTD docs and added XML Writer (julp).
* Added a new XML::Writer class (julp).
* Improved xml reader api and add namespace support. Note that passing a
numeric value to XML::Reader::move_to_attribute has been deprecated. Instead
you should now use #move_to_attribute_no. (julp).
* Improve error handling and messages (Jarl Friis)
== 1.5.6 / unreleased
* Features
* Improved performance of XML::Document#collect_namespaces. #761 (Thanks, Juergen Mangler!)
* New callback SAX::Document#processing_instruction (Thanks, Kitaiti Makoto!)
* Node#native_content= allows setting unescaped node contant. #768
* XPath lookup with namespaces supports symbol keys. #729 (Thanks, Ben Langfeld.)
* XML::Node#[]= stringifies values. #729 (Thanks, Ben Langfeld.)
* bin/nokogiri will process a document from $stdin
* bin/nokogiri -e will execute a program from the command line
* bin/nokogiri --version will print the Xerces and NekoHTML versions when ran with JRuby.
* Bugfixes
* Nokogiri now detects XSLT transform errors. #731 (Thanks, Justin Fitzsimmons!)
* Don't throw an Error when trying to replace top-level text node in DocumentFragment. #775
* Raise an ArgumentError if an invalid encoding is passed to the SAX parser. #756 (Thanks, Bradley Schaefer!)
* [JRuby] space prior to xml preamble causes nokogiri to fail parsing. (fixed along with #748) #790
* [JRuby] Fixed the bug Nokogiri::XML::Node#content inconsistency between Java and C. #794, #797
* [JRuby] raises INVALID_CHARACTER_ERR exception when EntityReference name starts with '#'. #719
* [JRuby] doesn't coerce namespaces out of strings on a direct subclass of Node. #715
* [JRuby] Node#content now renders newlines properly. #737 (Thanks, Piotr Szmielew!)
* [JRuby] Unknown namespace are ignore when the recover option is used. #748
* [JRuby] XPath queries for namespaces should not throw exceptions when called twice in a row. #764
* [JRuby] More consistent (with libxml2) whitespace formatting when emitting XML. #771
* [JRuby] namespaced attributes broken when appending raw xml to builder. #770
* [JRuby] Nokogiri::XML::Document#wrap raises undefined method `length' for nil:NilClass when trying to << to a node. #781
* [JRuby] Fixed "bad file descriptor" bug when closing open file descriptors. #495
* [JRuby] JRuby/CRuby incompatibility for attribute decorators. #785
* [JRuby] Issues parsing valid XML with no internal subset in the DTD. #547, #811
* [JRuby] Issues parsing valid node content when it contains colons. #728
* [JRuby] Correctly parse the doc type of html documents. #733
* [JRuby] Include dtd in the xml output when a builder is used with create_internal_subset. #751
* [JRuby] builder requires textwrappers for valid utf8 in jruby, not in mri. #784
2012-11-29 (1.7.6)
* Add GeneratorState#merge alias for JRuby, fix state accessor methods. Thx to
jvshahid@github.
* Increase hash likeness of state objects.
== 1.2.1 / 2013-02-09
* Bugs Fixed:
* As seen in https://github.com/rspec/rspec-expectations/pull/200, the
release of Diff::LCS 1.2 introduced an unnecessary public API change to
Diff::LCS::Hunk (see the change at
https://github.com/rspec/rspec-expectations/commit/3d6fc82c for details).
The new method name (and behaviour) is more correct, but I should not have
renamed the function or should have at least provided an alias. This
release restores Diff::LCS::Hunk#unshift as an alias to
#merge. Note that the old #unshift behaviour was incorrect and will not be
restored.
== 1.2.0 / 2013-01-21
* Minor Enhancements:
* Added special case handling for Diff::LCS.patch so that it handles patches
that are empty or contain no changes.
* Added two new methods (#patch\_me and #unpatch\_me) to the includable
module.
* Bugs Fixed:
* Fixed issue #1 patch direction detection.
https://github.com/halostatue/diff-lcs/issues/1
* Resolved issue #2 by handling string[string.size, 1] properly (it returns
"" not nil). https://github.com/halostatue/diff-lcs/issues/2
* Michael Granger (ged) fixed an implementation error in Diff::LCS::Change
and added specs in pull request #8. Thanks!
https://github.com/halostatue/diff-lcs/issues/8
* Made the code auto-testable.
* Vít Ondruch (voxik) provided the latest version of the GPL2 license file in
pull request #10. Thanks! https://github.com/halostatue/diff-lcs/issues/10
* Fixed a documentation issue with the includable versions of #patch! and
#unpatch! where they implied that they would replace the original value.
Given that Diff::LCS.patch always returns a copy, the documentation was
incorrect and has been corrected. To provide the behaviour that was
originally documented, two new methods were added to provide this
behaviour. Found by scooter-dangle in issue #12. Thanks!
https://github.com/halostatue/diff-lcs/issues/12
* Code Style Changes:
* Removed trailing spaces.
* Calling class methods using '.' instead of '::'.
* Vít Ondruch (voxik) removed unnecessary shebangs in pull request #9.
Thanks! https://github.com/halostatue/diff-lcs/issues/9
* Kenichi Kamiya (kachick) removed some warnings of an unused variable in
lucky pull request #13. https://github.com/halostatue/diff-lcs/issues/13
Thanks!
* Embarked on a major refactoring to make the files a little more manageable
and understand the code on a deeper level.
* Adding to http://travis-ci.org.
2.8.0
* Improved NRLModel query prefix expansion.
* Support for plain SQL queries in the Virtuoso backend.
* Introduced new query language flag QueryLanguageSparqlNoInference.
This language is not supported by any backends. It is supposed to
be used in clients like Nepomuk to avoid the usage of long user
types which are harder to read.
* Convert Virtuoso IRI_ID values into simple literal strings. At some
point if the need arises we might call ID_TO_IRI() to convert them
into URIs.
* New boolean option "noStatementSignals" in the Virtuoso backend which
will disable Model::statementsAdded() and friends.
* Improved local unix socket communication in the server/client system:
A custom socket implementation as a replacment for QLocalSocket makes
it possible to use one socket across threads.
2.7.6
* Support for the new SPARQL 1.1 DELETE statement which omits the graph
to delete from for faster removeAllStatement execution.
* Support for the new default graph query result format of Virtuoso >= 6.1.5
* Fixed apidox generation with Doxygen 1.8.0.
2.7.5
* Be less strict when converting a string to a QDateTime:
- Allow an empty time part, ie. "2011-10-04".
- Allow the usage of a space instead of "T" to separate date from time.
* Fixed URI parsing in the SparqlModel.
* Fixed an endless loop in the VirtuosoModel destruction which can happen
in rare error cases.
* Fixed serialization of non-string literal values.
* Support Turtle result encoding in the SPARQL model.
2013-01-22 Rasqal Version 0.9.30 Released
Removed RDQL support as promised. So long and thanks for all the
queries. Use SPARQL instead.
Improved floating equality, comparison and promotion rules
Made other fixes and improvements including fixing reported issues:
0000506, 0000511 and 0000523.
The Levenshtein distance is a metric for measuring the amount
of difference between two sequences (i.e., the so called edit
distance). The Levenshtein distance between two sequences is
given by the minimum number of operations needed to transform
one sequence into the other, where an operation is an
insertion, deletion, or substitution of a single element.
The two sequences can be two strings, two arrays, or two other
objects responding to :each. All sequences are by generic
(fast) C code.
All objects in the sequences should respond to :hash and :eql?.
More information about the Levenshtein distance algorithm:
http://en.wikipedia.org/wiki/Levenshtein_distance .
Also bump PKGREVISION for a few packages using it.
The packages I did this for:
net/yaz
lang/parrot
misc/openoffice3 (where I noticed the run-time failure due to missing shared library)
www/webkit-gtk
sysutils/open-vm-tools
inputmethod/ibus-qt
I didn't do this recursively or for all packages using icu
since I didn't know if they used the shared library directly,
some use was optional. The list of packages I didn't touch:
devel/devhelp
databases/idzebra
databases/sqlite3
devel/gnustep-base/
finance/gnucash
games/openttd
graphics/shotwell
lang/mono
meta-pkgs/boost
misc/calibre
misc/libreoffice
news/tin
textproc/php-intl
www/deforaos-surfer
www/epiphany
www/liferea-current
www/midori
CHANGES
version 3.42
date: 2012-11-06
# minor maintenance release
fixed: bug, elements created with XML::Twig::Elt->parse were
garbage collected too early,
see http://stackoverflow.com/questions/13263193/xmltwig-changes-erased
added: some tests
version 3.41
date 2012-08-08
# minor maintenance release
fixed: META.json generation
version 3.40
date: 2012-05-10
# minor maintenance release
added: support for alternations ('|') at the top level of handler
triggers and navigation
you can now have twig_handlers => { 't1|t2' => \&handler }
and $elt->children( 't1|t2')
added: the discard_all_spaces option that discards more aggressively
non-significant white spaces
see RT #71164https://rt.cpan.org/Ticket/Display.html?id=71164
fixed: used $[ instead of $] in 3 tests,
see RT#72765 https://rt.cpan.org/Ticket/Display.html?id=72765
reported by Kevin Ryde
fixed: did not use Text::Wrap with indented_c
see RT #71375https://rt.cpan.org/Ticket/Display.html?id=71375
reported and patch provided by Martin Strömberg
fixed: doc change for XML::Twig::Elt flush, see RT #72279https://rt.cpan.org/Ticket/Display.html?id=72279
fixed: replaced HTML::TreeBuilder::as_XML with am XML::Twig specific
version, to avoid bugs in the original version and improve
stability of the output
Upstream changes:
2.020 2013-01-20
- Give a more informative error message when a PDF file using a
cross-reference stream is encountered. The Known Issues section
of the documentation includes pointers on how to add support in
case someone else can get to this before I do.
- Text using TrueType fonts is now searchable again. In version
0.61, an undocumented -unicodemap option was added to nearly all
of the font resource methods, which only included a ToUnicode
CMap if it was set (and it's required in order for PDF readers
to be able to identify individual characters if BaseEncoding
isn't present, which it isn't for TrueType fonts).
I've left the -unicodemap option in place, and it's still
undocumented (except here), but it's now on by default. Call
$pdf->ttfont($fontfile, -unicodemap => 0) if you want to disable
it for performance or file size reasons.
- Add a note to the stringify method's documentation saying that
it's a destructive operation.
- The various filter types have their own classes in the
PDF::API2::Basic::PDF::Filter namespace now, rather than having
all of the packages in Filter.pm.
- To facilitate testing and ensure that identically-generated PDFs
have identical output in Perl 5.17.5 or later, PDF dictionary
keys are now sorted during output.
Add LICENSE
Upstream changes:
2013-01-22 Jarkko Hietaniemi <jhi@google.com>
* Resolve https://rt.cpan.org/Ticket/Display.html?id=69029
Do not die (adist()) on empty pattern string.
* Resolve https://rt.cpan.org/Ticket/Display.html?id=36707
Do not die on undefined inputs, just return undef.
* Resolve https://rt.cpan.org/Ticket/Display.html?id=82341
Explicitly specify the licensing to be Artistic 2 or LGPL 2.
* Modernize all the tests to use Test::More.
* Add some tests for UTF-8 inputs.
* Mark some stalled/ancient bugs as resolved.
* Delete the hopelessly obsolete BUGS file.
* Released as 3.27.
enca-1.14
- Allow standard names for belarusian and slovenian languages, thanks
to Branislav Geržo for suggestion.
- Reset strictness when check buffer less than file size, thanks to
Sam Liao.
- Fixed typos in man page, thanks to A. Costa.
2012-XX-XX Redland Version 1.0.16 Released
librdf_model_contains_statement() and
librdf_storage_contains_statement() now return 0 for invalid statements
Postgres, MySQL and Hashes storage bug fixes.
Multiple other API bug fixes
Multiple build fixes to help building on Windows. (Daniel Richard G.)
Requires [1]Raptor 2.0.7 or newer
Fixed Issues: [2]0000443, [3]0000460, [4]0000497, [5]0000518 and
[6]0000519
## python-markdown2 2.1.0
- ["nofollow" extra, issue #74, pull #104] Add `rel="nofollow"` support
(mostly by https://github.com/cdman):
$ echo '[link](http://example)' | markdown2 -x nofollow
<p><a rel="nofollow" href="http://example">link</a></p>
Limitation: This *can* add a duplicate 'rel' attribute to raw HTML links
in the input.
0.8.0:
This release finally lands the support for both .xls and .xlsx files.
Many thanks to John Machin for all his work on making this happen.
Opening of .xlsx files is seamless, just use xlrd as you did before and
it all should "just work".
xlrd 0.8.0 is also the first release that that targets Python 2.6 and
2.7, but no Python 3 just yet. Python 2.5 and below may work but are not
supported. If you need to use Python 2.5 or earlier, please stick to
xlrd 0.7.x.
0.7.9:
This release fixes an annoying merge bug on my part that resulted in a
"NameError: global name 'BYTES_X00' is not defined" error where opening
certain Excel files.
0.7.8:
This release features the following changes:
- Compatibility with Python 2.1 and 2.2 is restored.
- Fix for github issue #7: assertion error when reading file with
xlwt-written bitmap. The assertion is now ignored and a warning logged
if verbosity > 0.
- superfluous zero bytes at end of xls OBJECT records are now ignored.
* Consolidated and simplified the character encoding detection code
* Issue 346 (the gb2312 encoding isn't always upgraded to gb18030)
* Issue 350 (HTTP Last-Modified example is incorrect in documentation)
* Issue 352 (importing lxml.etree changes what exceptions libxml2 throws)
* Issue 356 (add support for the HTML5 attributes `poster` and `preload`)
* Issue 364 (enclosure-sniffing microformat code can throw ValueError)
* Issue 373 (support RFC822-ish dates with swapped days and months)
* Issue 376 (uppercase 'X' in hex character references cause ValueError)
* Issue 382 (don't strip inline user:password credentials from FTP URL's)
cssselect parses CSS3 Selectors and translate them to XPath 1.0
expressions. Such expressions can be used in lxml or another XPath
engine to find the matching elements in an XML or HTML document.
This module used to live inside of lxml as lxml.cssselect before
it was extracted as a stand-alone project.
Source Code Beautifier for C, C++, C#, ObjectiveC, D, Java, Pawn
and VALA. The goals of this project are simple: Create a highly
configurable, easily modifiable source code beautifier.
Sed 4.2.2
* don't misbehave (truncate input) for lines of length 2^31 and longer
* fix endless loop on incomplete multibyte sequences
* -u also does unbuffered input, rather than unbuffered output only
* New command `F' to print current input file name
* sed -i, s///w, and the `w' and `W' commands also obey the --binary option
(and create CR/LF-terminated files if the option is absent)
* --posix fails for scripts (or fragments as passed to the -e option) that
end in a backslash, as they are not portable.
* New option -z (--null-data) to separate lines by ASCII NUL characters.
* \x26 (and similar escaped sequences) produces a literal & in the
replacement argument of the s/// command, rather than including the
matched text.
enca-1.13 2010-02-09
- Reverse usage of temp file while converting using recode to prevent
file truncation (bug #1135).
enca-1.12 2009-10-29
- Fixes some minor memory leaks.
- Fixes little problems in autoconf scripts.
enca-1.11 2009-09-25
- Dropped scanf configure test which is not used at all.
- Fixes some wrong format strings.
enca-1.10 2009-08-25
+ Enca is back alive or at least in maintenance mode.
* Enca now lives in git repository, see <http://gitorious.org/enca>.
- Add missing charset koi8u to belarussian language.
- Fixed some typos in program and documentation.
Upstream changes:
0.2.1 2012-12-02 17:44:34 Europe/Oslo
Updated all traits to use Moose::Util::meta_attribute_alias()
to specify trait aliases. Requires at least Moose 0.89.
Fixed bug with duplicate class names being returned by
Data::Visitor::Callback when traversing a Moose type constraint
on perl 5.17.6. Reported by Andreas J. König. (RT #81519)
0.1.1 2011-10-23 14:56:18 Europe/Oslo
Fixed bug with has_xpath_value_map throwing exception if
xpath_value query returns empty result set. (RT #71815)
Reported by Jeffery M. Thompson.
0.1.0 2011-09-27 14:46:03 Europe/Oslo
Added multiple helper/sugar functions. (GitHub #2)
Fixed problem with XML::Rabbit::Role::Node->dump_xml() throwing
exception because of wide characters in print.
0.0.4 2011-03-22 16:16:02 Europe/Oslo
Fixed missing trait imports in XML::Rabbit::Role::Node.
Upstream changes:
1.49 - April 7, 2011
- Some correctness and Modern Perl changes to the rss2html.pl
script (it still appears to be very hairy.)
- Add support for parsing rssCloud:
- https://rt.cpan.org/Ticket/Display.html?id=67241
- Thanks to STUIFZAND for the patch.
Upstream changes:
2012-07-10 Dave Cross <dave@dave.org.uk>
* Change the User Agent to identify as XML::Feed (SZABGAB)
as two sites refused to server the default user agent:
http://code.foo.no/feed gave 'Bad Behavior'
http://thorsen.pm/atom gave 'Forbidden'
2012-04-10 Jakob Voss <voss@gbv.de>
* Add support for RFC 5005 Feed Paging and Archiving in Atom feeds
2012-04-05 Dave Cross <dave@dave.org.uk>
* lib/XML/Feed.pm: Remove svn tag.
* lib/XML/Feed.pm: Changed contact details from non-working 6A email address.
* lib/XML/Feed.pm, lib/XML/Feed/Format/Atom.pm, lib/XML/Feed/Format/RSS.pm:
Added an image() method to Feed objects. Does something useful for RSS feeds;
not for Atom feeds currently.
2012-04-10 Jakob Voss <voss@gbv.de>
* Changes, lib/XML/Feed.pm, lib/XML/Feed/Format/Atom.pm,
lib/XML/Feed/Format/RSS.pm, t/02-create.t: Add support for RFC 5005 Feed
Paging and Archiving in Atom feeds
2012-04-06 Dave Cross <dave@dave.org.uk>
* Changes, lib/XML/Feed.pm: Bump version for release.
2012-03-06 Gabor Szabo <szabgab@gmail.com>
* lib/XML/Feed.pm, lib/XML/Feed/Entry.pm: add links to the POD
2012-02-19 Gabor Szabo <szabgab@gmail.com>
* lib/XML/Feed/Entry/Format/Atom.pm, lib/XML/Feed/Entry/Format/RSS.pm,
lib/XML/Feed/Format/Atom.pm, lib/XML/Feed/Format/RSS.pm: split up files to
individual packages
2011-12-11 Dave Cross <dave@dave.org.uk>
* MANIFEST, lib/XML/Feed/Format/RSS.pm, t/22-bug73160.t,
t/samples/rss10-datespaces.xml: Added tests for bug 73160. And code to make
them pass.
2011-09-03 Dave Cross <dave@dave.org.uk>
* MANIFEST, lib/XML/Feed.pm, lib/XML/Feed/Format/Atom.pm,
lib/XML/Feed/Format/RSS.pm, t/20-no-enclosures.t, t/21-rss2-permalinks.t,
t/samples/rss20-p.xml: Closed a few tickets from the RT queue as an excuse
for a new release. Bumped to version 0.46.
2011-07-30 Dave Cross <dave@dave.org.uk>
* MANIFEST, MANIFEST.SKIP, lib/XML/Feed.pm, lib/XML/Feed/Format/Atom.pm,
t/18-double2.t, t/19-double3.t, t/samples/rss20-double.xml: Another round of
changes to fix (and test)
https://rt.cpan.org/Public/Bug/Display.html?id=44899
* 9306 Layout Engine changes for harfbuzz integration
* 9677 Affixes set with e.g. DecimalFormat::setPositivePrefix now ignored for parse
* 9714 OS/400 test failures
* 9728 Fail building icu4c with mingw-w64
* 9737 Locale::GetDefault() in locid.cpp is not thread-safe
* 9771 Updated Currency from/to data (CLDR 5470)
* 9748 Visual Studio 2010/2012 issues
* 9780 UNUM_PARSE_INT_ONLY no longer handles grouping sep
* 9783 New Turkish Lira symbol
* 9789 Date format parsing problem with new CLDR data
* 9793 Currency data integration issue with CLDR 5470 changes
* 9801 UCONFIG_NO_CONVERSION test failure
* 9802 No data test failure
2.13 Thu 20 Dec 2012 19:34:44 GMT
- Under the newer combined RFC6350 - every END:VCARD must
be followed by \r\n (including last one)- reported by ysth
- Fix for tests, should now work under Perl 5.17.6 - Ron Savage
This builds with gcc 4.7, but it causes all the mecab-* packages
to segfault during build. Tell DragonFly explicitly to use gcc 4.4
to build the base package. The rest can continue to use gcc 4.7
without issue.
= Release History
== 2.4.0 / 2012-12-14 Charlie Savage
* Support libxml 2.9.0 (Daniel Veillard)
* Extensive new interfaces for xml schema functionality including suppor for
schemal elements, types, facets and attributes (Anton Sozontov)
* Fix Encoding#from_s bug and update docs (Nikita Afanasenko)
* Node#content= encoding (Nikita Afanasenko)
Fixed GH#30: Specifying empty definitions for a definition list now works
Better fix for the output of closed/open elements
Using the already defined tags for HTML elements without a body
and better output for unknown elements.
Fixed: Using a block IAL before a definition list now works
Fixed problem with the output of empty i/b HTML tags
Document fix of doc/quickref.page
* add :string/:char, remove :regexp/:function color from Terminal encoder [GH
#29, thanks to Kyrylo Silin]
* allow - in line number anchor prefix for HTML encoder [GH #32, thanks to
shurizzle]
* Fix HTML scanner: Don¡Çt crash if HTML in a diff contains a JavaScript tag.
Upstream changes:
1.6001 2012-12-05 10:03:13
[BUG FIXES]
- Resolve issue #71: SV leaks in VM frames
1.6000_01 2012-11-04 09:56:45
- The bytecode version is now 1.6. So all the cache will be discarded.
[FEATURES]
- Add opcodes: find_file, suffix, is_code_ref, merge_file in
order to enhance template syntaxes (doy)
Update DEPENDS
Upstream changes:
1.5025 2012-10-20 21:45:27
[BUG FIXES]
- Fix a bug that constants with unary operators might result in
wrong values (thanks to @doy)
1.5024 2012-10-15 18:02:29
[BUG FIXES]
- Fix false assertion failure
(This change affects only to -DDEBUGGING enabled perl)
1.5023 2012-10-15 08:22:14
[TEST]
- Apply issue #66 again
- 1.5022 was identical to 1.5021 (thanks to @doy)
1.5022 2012-10-15 00:15:18
[TEST]
- Do not depend on extra modules in tests (issue #66, @nihen).
1.5021 2012-10-15 00:07:54
[BUG FIXES]
- Fix an issue that recursive call of render() may cause SEGV
thanks to doy for reporting this issue (isseu #65).
1.5020 2012-10-14 23:06:49
[BUG FIXES]
- Fix deploying issues reported at 1.5017, again.
thanks to @woremacx for reporting it.
- Fix a bug that calling macro which encloses outer variables,
may clobber other variables, thanks to @ktat for reporting it.
1.5019 2012-10-03 12:28:20
[BUG FIXES]
- Revert 1.5016's bugfix which introduced a more serious problem.
The complete bufix will be applied to 1.5020.
1.5018 2012-09-30 13:41:13
[FEATURES]
- "html_builder_module" option to import HTML builders;
functions imported with this option are wrapped by html_builder()
1.5017 2012-08-04 19:31:59
[BUG FIXES]
- Fix a problem on Win32
1.5016 2012-08-04 19:19:15
[BUG FIXES]
- Fix a bug that reloading templates could fail on deploying
- Fix a problem on 5.17
1.5015 2012-07-13 19:31:53
[IMPROVEMENT]
- Enhance extensibility for custom parsers (shmorimo)
1.5014 2012-06-26 19:41:20
[IMPROVEMENT]
- Add scalar::split() to Bridge::Star (tokuhirom)
1.5013 2012-06-12 23:46:44
[IMPROVEMENT]
- Add "macro" option to Text::Xslate->new() (gunyoki)
1.5012 2012-05-21 15:52:59
[IMPROVEMENT]
- imporve error messages when the parser reaches EOF
1.5011 2012-05-21 15:45:00
[BUG FIXES]
- add warning about https://github.com/xslate/p5-Text-Xslate/issues/55
For backword compatibility, we don't change its behavior, but
it is likely to a problem so we warnn about it.
1.5010 2012-05-04 01:04:47
[TEST FIXES]
- Make `HANRESS_OPTIONS=j9 make test` work (@punytan)
1.5009 2012-03-30 09:19:18
[IMPROVEMENT]
- Documentation improvement
1.5008 2012-03-28 09:39:45
[BUG FIXES]
- Fix a typo in an error messages (issues/53, thanks to wchristian)
- Fix an undefined behavior that giving utf8-encoded *bytes* as
params made mojibake in use of caches
Upstream changes:
Release 0.66 - 29 October, 2012
-------------------------------
* Fix a segmentation fault with strcat and no string limit.
Release 0.65 - 26 September, 2012
---------------------------------
* Patch to support @ and ~ in names (thanks to Philip Kime)
Release 0.64 - 8 July, 2012
---------------------------
* Patch to expand macro size limit (thanks to Philip Kime)
Release 0.63 - 12 May, 2012
---------------------------
* Patch on what to consider whitespaces (thanks to Philip Kime)
* zoem-11-166 released.
* The default search path was changed. The obsolete PREFIX/zoem/mac
component was dropped, and PREFIX/aephea was added. Now, if zoem and
aephea are both configured with the same prefix for installation (e.g.
--prefix=/usr/local or --prefix=$HOME/local), then aephea include
-- files
will be found automatically by zoem.
* set#3 can now splice into a variable (that is, the string
refered to by a macro). This is achieved by pairing the respective
keys {start} and {width} with appropriate values in the first
argument to set#3. The start position is relative to an offst
of zero, so
\set{foo}{kaboom}
\set{{start}{2}{width}{3}}{foo}{za}
'\foo'
yields 'kazam'.
* The example zoem solution 8q2.azm to the N queens problem
has been updated. It now pretty-prints asciific chess boards using the
new splice mode to set#3.
* Small documentation fixes.
* Parses valid and invalid HTML documents to a tree
* Support for minidom, ElementTree (including cElementTree and lxml.etree), BeautifulSoup (deprecated) and custom simpletree output formats
* DOM to SAX converter
* Reports parse errors
* Character encoding detection
* Filtering and serializing of trees
* HTML+CSS sanitizer
* Many unit tests
Upstream changes:
4.80 Nov 1st, 2012
[NEW FEATURES]
- New built-in constraint_methods to test the number of values submitted for a
particular field:
FV_num_values(1),
FV_num_values_between(1,2), # inclusive
One way that garbage can get through a Data::FormValidator profile is
when two values are submitted when only one is intended. In this
case, this application could end up with a values like this:
ARRAY(0x841214c)
Using these new constraints, you can precisely control how many values
are allowed for each field.
[INTERNAL]
- Source control hosting has been moved to http://hub.darcs.net
You can now browse, pull and fork the darcs repo through this website.
4.71 Oct 2nd, 2012
[BUG FIXES]
- Custom messages for built-in constraints work again. It appears that this
was broken in 4.70, which triggered a sleeper bug.
(Thanks to Lee Carmichael, Mark Stosberg, RT##73235)
4.70 11/11/11
[NEW FEATURES]
- Built-in constraints in Constraints.pm can now be renamed:
constraint_methods => {
first_names => {
constraint_method => FV_max_length(3),
name => 'custom_length',
}
},
(Thanks to heinst@arqs.com.br for the suggestion, RT#49477)
[INTERNALS]
- modernize Constraints.pm and Results.pm a bit.
- Module::Build added to configure_requires in Build.PL
4.67 11/11/11
[INTERNALS]
- modernize FormValidator.pm internals a bit
- Update META.yml to exclude an internal package from getting indexed.
Portability:
* Fix python build by using libxsltmod_la_CPPFLAGS instead of AM_CPPFLAGS,
* configure should be more careful with linker script,
* add gcrypt library in LIBADD, not LDFLAGS, as recommended
Bug fixes:
* Fix generate-id() to avoid generating the same ID,
* Fix crash with empty xsl:key/@match attribute,
* Crash when passing an uninitialized variable to document(),
* Add missing test docs to EXTRA_DIST,
* Fix regression: Default namespace not correctly used
Cleanups:
* Remove xsltTransStorageAdd and xsltTransStorageRemove from symbols.xml,
* autogen.sh cleanup,
* consistent use of xslt processor,
* Add object files in tests/plugins to .gitignore,
* Fix error on bug-165 regression test,
* Remove xsltTransStorageAdd and xsltTransStorageRemove
* 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