from the git log:
* allow module to be imported
* set UTF-8 as default encoding
* better handling of Google Docs HTML
* better handling of more edge-case inputs
* nitpicky bugfixes to whitespace, emphasis, etc.
* new config options
1.2.15.0 Tue Apr 16 23:43:24 UTC 2013
[Changes contributed by Olly Betts]
- Remove superfluous duplicate method wrappers from WritableDatabase
for methods wrapped in Database parent class.
- Improve test coverage.
- Fix minor typo in POD documentation.
1.2.14.0 Thu Mar 14 23:12:38 UTC 2013
[Changes contributed by Olly Betts]
- Perl 5.16.1 adds a '.' after "at foo line 123" so adjust regexp in
testcase t/10query.t to allow an optional '.' there. (ticket#610)
1.2.13.0 Wed Jan 9 11:19:20 UTC 2013
[Changes contributed by Adam Sjøgren]
- Wrap 2 and 3 parameter forms of StringValueRangeProcessor
constructor so prefixes and suffixes can be specified.
(ticket#607)
[Changes contributed by Olly Betts]
- Wrap the zero argument Query constructor.
- Add wrappers for Query::MatchAll and Query::MatchNothing.
- Don't pointlessly reinitialise default std::string parameters to an
empty string (performance and code size micro-optimisation).
1.2.12.0 Wed Jun 27 12:17:26 UTC 2012
- No change except for bumping the version to indicate compatibility
with Xapian 1.2.12.
1.2.11.0 Tue Jun 26 12:13:39 UTC 2012
- No change except for bumping the version to indicate compatibility
with Xapian 1.2.11.
1.2.10.0 Wed May 9 10:45:51 UTC 2012
[Changes contributed by Olly Betts]
- Wrap Database::close() (was previously only wrapped for
WritableDatabase).
- Suppress warnings about "not a known MakeMaker parameter name" in a
way which also works for newer versions of Perl.
1.2.9.0 Thu Mar 8 07:19:27 UTC 2012
[Changes contributed by Olly Betts]
- Wrap Document::get_docid() method.
- Fix "Use of qw(...) as parentheses is deprecated" warnings in tests
with Perl 5.14.
- Improve test coverage of TermGenerator (backported from trunk).
Omega 1.2.15 (2013-04-16):
omega:
* Don't pointlessly link utf8convert.o into the omega CGI.
Omega 1.2.14 (2013-03-14):
indexers:
* omindex:
+ Correct "max" -> "min" when reserving space for shared strings in .xlsx
files. This just means we now reserve a more appropriate amount of space
to start with.
+ Ignore .com files by default.
Omega 1.2.13 (2013-01-09):
indexers:
* omindex:
+ Extracting text using external filters now works for filenames containing a
newline character - previously the newline got lost during escaping for the
shell.
+ Fix segfault when -F option without a ':' is passed.
+ Skip a file if we get a read error while calculating the MD5 checksum (used
for duplicate detection) - previously we used a checksum of the file up to
that point.
+ Avoid rereading SVG and Atom files when we calculate their MD5 checksums.
+ Improvement --help output and man page, most notably:
- Say explicitly that --sample-size accepts the same formats as --max-size.
- Note default size limit on files to index is unlimited.
+ When generating a sample for a CSV file, limit the size we pre-allocate to
the CSV file size if that's smaller than the requested sample size, in case
the user sets that limit very high.
omega:
* Fix to decode %-encoded character at the end of the query string.
Omega 1.2.12 (2012-06-27):
No changes since 1.2.11 except to bump the version - this release was made to
fix an incorrect library version information update in xapian-core 1.2.11.
Omega 1.2.11 (2012-06-26):
indexers:
* Change HTML parser's handling of multiple <body> tags and of text outside of
<body> to match the behaviour of modern web browsers. (ticket#599)
* omindex:
+ Add command line option to control the size of the document sample stored.
Patch from Mihai Bivol.
+ Rework .xlsx parsing to substitute the shared strings into the positions
they are used in, so that the sample actually matches what appears in the
spreadsheet, and to index calculated cell contents.
+ Improve handling of headers and footers in OpenDocument documents.
+ pdftotext outputs a formfeed between each page, which messes up our "empty
body" check, so trim any trailing formfeeds before this check.
Omega 1.2.10 (2012-05-09):
indexers:
* Add support for CDATA to HTML/XML parser.
* omindex:
+ Add --max-size option, based on patch from ndaley in ticket#587.
+ Add support for atom feed files, patch from Mihai Bivol in ticket#595.
+ If the document with the highest existing docid before the run was updated,
we were reporting it as "added", but now we correctly report it as
"updated". (Backported from 1.3.0).
+ Catch and report std::exception explicitly, so failing to allocate memory
is no longer reported as "Unknown exception". (Backported from 1.3.0).
Omega 1.2.9 (2012-03-08):
documentation:
* docs/overview.html:
+ Document that libmagic is used to determine the MIME type if the extension
isn't known. Partly addresses ticket#569.
+ We now limit time as well as CPU and memory for external filters.
indexers:
* Our HTML parser now ignores sections bracketed by <!--UdmComment--> and
<!--/UdmComment-->, like we already do for <!--htdig_noindex-->.
* omindex: Add more extensions to the default ignore list: bin dat db fon jar
lnk pyc pyd pyo sqlite sqlite3 sqlite-journal tmp ttf
Xapian-core 1.2.15 (2013-04-16):
API:
* QueryParser/TermGenerator: Don't include CJK codepoints which are
punctuation in N-grams.
* TermGenerator: Fix bug where we failed to generate the first bigram
from the second sequence of N-grammable CJK characters in a piece of text.
brass backend:
* Call fdatasync()/fsync() when creating the "iambrass" file.
chert backend:
* Call fdatasync()/fsync() when creating the "iamchert" file.
flint backend:
* Call fdatasync()/fsync() when creating the "iamflint" file.
tools:
* delve: If -v is specified more than once, show even more info in some cases.
Xapian-core 1.2.14 (2013-03-14):
API:
* MSet::get_document(): Don't cache retrieved Document objects unless they
were requested with fetch(). This avoids using a lot of memory when many
MSet entries are retrieved. (Fixes#604)
matcher:
* Check if a candidate document has at least the minimum weight needed
before checking positional information, which speeds up slow phrase
searches (partly addresses #394).
brass backend:
* Fix multipass compaction not to damage document values, and to merge the
database stats correctly. (fixes#615)
chert backend:
* Fix multipass compaction not to damage document values, and to merge the
database stats correctly. (fixes#615)
flint backend:
* Fix multipass compaction bug. (fixes#615)
tools:
* xapian-replicate:
+ Fix handling of delays between replication events - the subtraction of the
target time and the current time was reversed, so we wouldn't sleep when
before the deadline, but would sleep after it for the amount we'd missed it
by.
+ On Microsoft Windows, we no longer sleep for more than 43 years if the
target time for a replication event had already passed. (Fixes#472)
Xapian-core 1.2.13 (2013-01-09):
API:
* TermGenerator: Add new method TermGenerator::set_max_word_length() to allow
this limit to be adjusted by the user.
* QueryParser: Implicitly close any unclosed brackets at the end of the query
string. Patch from Sehaj Singh Kalra.
* DateValueRangeProcessor: Add extra constructor overloaded form so that in
DateValueRangeProcessor(1, "date:"), the const char * gets interpreted as
std::string rather than bool.
matcher:
* Improved fix for #590 - count all matching LeafPostList objects with a Weight
object rather than trying to prune at the MultiAndPostList level based on
max_wt (if wdf is always zero for a term, BM25 gives max_wt of 0, which lead
to us never counting that subquery.
* Fix calculation of 0.0/0.0 in some cases. This then got used as a minimum
weight, but it seems this gives -nan (at least on x86-64 Linux) so it may
have been harmless in practice.
* We no longer use the highest weighted MSet entry to calculate percentages, so
remove code which finds it.
brass backend:
* Close excess file handles before we get the fcntl lock, which avoids the
lock being released again if one is open on the lock file. Notably this
avoids a situation where multiple threads in the same process could succeed
in locking a database concurrently.
chert backend:
* Close excess file handles before we get the fcntl lock, which avoids the
lock being released again if one is open on the lock file. Notably this
avoids a situation where multiple threads in the same process could succeed
in locking a database concurrently.
flint backend:
* Close excess file handles before we get the fcntl lock, which avoids the
lock being released again if one is open on the lock file. Notably this
avoids a situation where multiple threads in the same process could succeed
in locking a database concurrently.
remote backend:
* Improve the UnimplementedError message for a MatchSpy subclass which doesn't
implement name() so it's clearer that it is this particular subclass which
can't be used remotely, rather than all MatchSpy objects.
documentation:
* valueranges.html: Update documentation to reflect change in Xapian 1.1.2 -
DateValueRangeProcessor and StringValueRangeProcessor now support a prefix or
suffix.
* Clarify that the "reverse" parameter of set_sort_by_relevance_then_value()
and set_sort_by_relevance_then_key() only affects the ordering of the
value/key part of the sort.
* docs/quickstart.html: Fix seriously outdated statement that Xapian doesn't
create the database directory - that changed in 0.7.2 (released 2003-07-11).
* HACKING: Try to make it clearer we're looking for a dual-licence on submitted
patches.
tools:
* xapian-replicate:
+ Add a --full-copy option to force a full copy to be sent. (ticket#436)
+ Add --quiet option, and be a little more verbose by default.
+ Allow files > 32G to be be copied by replication.
+ Fix "if (fd > 0)" tests in some replication code to be "if (fd >= 0)".
In practice this is unlikely to actually have caused problems since
stdin is typically still open and using fd 0.
+ Simplify how we open the .DB file on the replication slave to just call
open() once with O_CREAT, rather than once without, than stat() if that
fails, and then again with O_CREAT|O_TRUNC if stat() doesn't show an
ordinary file exists.
examples:
* quest:
+ New --flags command line option to allow setting arbitrary QueryParser
flags.
+ Align option descriptions in --help output, and make the initial letter of
such descriptions consistently lowercase.
Bug fixes:
* fix for enumset.h not being installed on Windows
* zOS pkgdata fix
* Test fixes
* Region enumeration fix
* make stable sort faster
* host failures for DateFormatTest
* LayoutEngine security patches (see above)
* ubrk fix for word_POSIX infinite loop
* fix memory leak/crash in LayoutEngine
* fix header guard typo in layout/TibetanReordering.h
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.
While doing that, also bump freetype2 dependency to current pkgsrc
version.
Suggested by tron in PR 47882
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.
Features:
Support for Python3,
Add xmlXPathSetContextNode and xmlXPathNodeEval
Documentation:
Add documentation for xmllint --xpath
Fix the URL of the SAX documentation from James
Fix spelling of "length"
Portability:
Fix python bindings with versions older than 2.7
rebuild docs:Makefile.am
elfgcchack.h after rebuild in doc
elfgcchack for buf module
Fix a uneeded and wrong extra link parameter
Few cleanup patches for Windows
Fix rpmbuild --nocheck
Fix for win32/configure.js and WITH_THREAD_ALLOC
Fix Broken multi-arch support in xml2-config
Fix a portability issue for GCC < 3.4.0
Windows build fixes
Fix a thread portability problem
Downgrade autoconf requirement to 2.63
Bug Fixes:
Fix a linking error for python bindings
Fix a couple of return without value
Improve the hashing functions
Improve handling of xmlStopParser()
Remove risk of lockup in dictionary initialization
Activate detection of encoding in external subset
Fix an output buffer flushing conversion bug
Fix an old bug in xmlSchemaValidateOneElement
Fix configure cannot remove messages
fix schema validation in combination with xsi:nil
xmlCtxtReadFile doesn't work with literal IPv6 URLs
Fix a few problems with setEntityLoader
Detect excessive entities expansion upon replacement
Fix the flushing out of raw buffers on encoding conversions
Fix some buffer conversion issues
When calling xmlNodeDump make sure we grow the buffer quickly
Fix an error in the progressive DTD parsing code
xmllint should not load DTD by default when using the reader
Try IBM-037 when looking for EBCDIC handlers
Fix potential out of bound access
Fix large parse of file from memory
Fix a bug in the nsclean option of the parser
Fix a regression in 2.9.0 breaking validation while streaming
Remove potential calls to exit()
Improvements:
Regenerated API, and testapi, rebuild documentation
Fix tree iterators broken by 2to3 script
update all tests for Python3 and Python2
A few more fixes for python 3 affecting libxml2.py
Fix compilation on Python3
Converting apibuild.py to python3
First pass at starting porting to python3
updated configure.in for python3
Add support for xpathRegisterVariable in Python
Added a regression tests from bug 694228 data
Cache presence of '<' in entities content
Avoid extra processing on entities
Python binding for xmlRegisterInputCallback
Python bindings: DOM casts everything to xmlNode
Define LIBXML_THREAD_ALLOC_ENABLED via xmlversion.h
Adding streaming validation to runtest checks
Add a --pushsmall option to xmllint
Cleanups:
Switched comment in file to UTF-8 encoding
Extend gitignore
Silent the new python test on input
Cleanup of a duplicate test
Cleanup on duplicate test expressions
Fix compiler warning after 153cf15905cf4ec080612ada6703757d10caba1e
Spec cleanups and a fix for multiarch support
Silence a clang warning
Cleanup the Copyright to be pure MIT Licence wording
rand_seed should be static in dict.c
Fix typos in parser comments
Upstream changes:
1.52 2013-05-21
- Add t/style-trailing-space.t.
- Got rid of trailing space.
- Convert to t/cpan-changes.t .
1.51 2013-05-11
- Sort the XML namespaces before outputting.
- became broken in perl-5.18.0-RC1.
CRF++ is a simple, customizable, and open source implementation of Conditional
Random Fields (CRFs) for segmenting/labeling sequential data. CRF++ is designed
for generic purpose and will be applied to a variety of NLP tasks, such as Named
Entity Recognition, Information Extraction and Text Chunking.
Version 2.7
-----------
(codename Translation, released on May 20th 2013)
- Choice and prefix loaders now dispatch source and template lookup
separately in order to work in combination with module loaders as
advertised.
- Fixed filesizeformat.
- Added a non-silent option for babel extraction.
- Added `urlencode` filter that automatically quotes values for
URL safe usage with utf-8 as only supported encoding. If applications
want to change this encoding they can override the filter.
- Added `keep-trailing-newline` configuration to environments and
templates to optionally preserve the final trailing newline.
- Accessing `last` on the loop context no longer causes the iterator
to be consumed into a list.
- Python requirement changed: 2.6, 2.7 or >= 3.3 are required now,
supported by same source code, using the "six" compatibility library.
- Allow `contextfunction` and other decorators to be applied to `__call__`.
- Added support for changing from newline to different signs in the `wordwrap`
filter.
- Added support for ignoring memcache errors silently.
- Added support for keeping the trailing newline in templates.
- Added finer grained support for stripping whitespace on the left side
of blocks.
- Added `map`, `select`, `reject`, `selectattr` and `rejectattr`
filters.
- Added support for `loop.depth` to figure out how deep inside a recursive
loop the code is.
- Disabled py_compile for pypy and python 3.
* Added "center" style hint for block title and desc
* Added style hints for new Getting Started designs
* Fixed incorrect automatic link role for guide links
* Support for Mallard conditional language test tokens
* Added style="continues" for Mallard lists and steps
* Better handling of broken internal Mallard links
* MathML support for Mallard and DocBook
* Audio and video support for DocBook
* Ability to set poster image for video
* TTML subtitles for audio and inline media
* Updated media controls
* Fixed #hash auto-expanding and colorizing
* Translator and publisher credits
* Use quote char on :before for blockquote
* ARIA landmark roles
* Changed marker for expanders
* Switched ui:expanded to non-experimental
* Experimental Mallard UI overlays
* Dropped unused DocBook utility XSLT
* Use itstool "join mode" for translations
* More experimental thumbnail link styles
* Many translation updates
3.2.1 (2013-05-11)
==================
Features added
--------------
* The methods ``apply_templates()`` and ``process_children()`` of XSLT
extension elements have gained two new boolean options ``elements_only``
and ``remove_blank_text`` that discard either all strings or whitespace-only
strings from the result list.
Bugs fixed
----------
* When moving Elements to another tree, the namespace cleanup mechanism
no longer drops namespace prefixes from attributes for which it finds
a default namespace declaration, to prevent them from appearing as
unnamespaced attributes after serialisation.
* Returning non-type objects from a custom class lookup method could lead
to a crash.
* Instantiating and using subtypes of Comments and ProcessingInstructions
crashed.
Other changes
-------------
3.2.0 (2013-04-28)
==================
Features added
--------------
Bugs fixed
----------
* LP#690319: Leading whitespace could change the behaviour of the string
parsing functions in ``lxml.html``.
* LP#599318: The string parsing functions in ``lxml.html`` are more robust
in the face of uncommon HTML content like framesets or missing body tags.
Patch by Stefan Seelmann.
* LP#712941: I/O errors while trying to access files with paths that contain
non-ASCII characters could raise ``UnicodeDecodeError`` instead of properly
reporting the ``IOError``.
* LP#673205: Parsing from in-memory strings disabled network access in the
default parser and made subsequent attempts to parse from a URL fail.
* LP#971754: lxml.html.clean appends 'nofollow' to 'rel' attributes instead
of overwriting the current value.
* LP#715687: lxml.html.clean no longer discards scripts that are explicitly
allowed by the user provided whitelist. Patch by Christine Koppelt.
Other changes
-------------
3.1.2 (2013-04-12)
==================
Features added
--------------
Bugs fixed
----------
* LP#1136509: Passing attributes through the namespace-unaware API of
the sax bridge (i.e. the ``handler.startElement()`` method) failed
with a ``TypeError``. Patch by Mike Bayer.
* LP#1123074: Fix serialisation error in XSLT output when converting
the result tree to a Unicode string.
* GH#105: Replace illegal usage of ``xmlBufLength()`` in libxml2 2.9.0
by properly exported API function ``xmlBufUse()``.
Other changes
-------------
3.1.1 (2013-03-29)
==================
Features added
--------------
Bugs fixed
----------
* LP#1160386: Write access to ``lxml.html.FormElement.fields`` raised
an AttributeError in Py3.
* Illegal memory access during cleanup in incremental xmlfile writer.
Other changes
-------------
* The externally useless class ``lxml.etree._BaseParser`` was removed
from the module dict.
Java 5. Changes from 9.4 to 9.5:
The bulk of the open source parts of Saxon (the parts maintained by Saxonica) are now licensed under Mozilla Public License version 2.0, replacing MPL 1.0.
There have been some other changes to third-party open source components, notably the introduction of a new regular expression engine derived from Jakarta (Apache license), and the dropping of the old Base64 conversion code (Netscape license).
Users interested in building the product from source code need to be aware that the build process now includes a preprocessing phase that generate separate Java code for the EE, PE, and HE editions. The raw (before preprocessing) source code is published in the Subversion repository, but for building Saxon-HE, a more convenient place to start is the post-preprocessing Java code issued on SourceForge as a source.zip download.
A consequence of this change is that the JAR files for Saxon-HE, Saxon-PE, and Saxon-EE contain different class files having the same names. Therefore, the JAR files for different editions should not co-exist on the classpath. If you use internal Saxon APIs in an application, you may need to check that the methods you call are available in all three editions. This won't be a problem for interfaces that are clearly user-facing, but it could be an issue for applications that penetrate deeper into the internals.
More changes here:
http://www.saxonica.com/documentation/index.html#!changes
Common Changes
==============
CLDR 23: Collation tailorings put native script first; non-Gregorian calendar formats are more consistent; much improved data for Armenian (hy), Georgian (ka), Mongolian (mn), and Welsh (cy); …
Time zone data: 2013b
Date format/parse now supports CLDR short weekday names ("EEEEEE", "cccccc").
Support DisplayContext for date formatting, locale display names.
DateTimePatternGenerator behavior is now much more consistent between C and J.
Support new timezone pattern characters in LDML spec: X+, x+, O, OOOO, V, VV, VVV.
Updated SpoofChecker for v5 of UTS39.
AlphabeticIndex enhancements:
New thread-safe ImmutableIndex sub-API
Build an index for a custom Collator.
Make data-driven for Chinese collations.
New API for CLDR script metadata.
ICU4C Specific Changes
======================
Support for “dangi” Korean luni-solar calendar (already in ICU4J).
Add CompactDecimalFormat (already in ICU4J).
Add TerritoryContainment APIs (already in ICU4J).
UnicodeString default constructor and destructor now inline.
Layout engine now supports 'morx' tables.
Fixed some ICU 50 regressions:
Affixes set with e.g. DecimalFormat::setPositivePrefix were ignored for parse.
UNUM_PARSE_INT_ONLY no longer handled grouping separator.
Add ucal_getTimeZoneID.
The C++ AlphabeticIndex implementation is now on par with Java, including full support for all Chinese collation tailorings.
U8_NEXT() and similar low-level macros now support NUL-terminated UTF-8 strings.
New macros like U8_NEXT_OR_FFFD() return U+FFFD for an ill-formed sequence.
Conversion: New "good one-way" mapping type, for example for Variation Selector sequences.
Upstream changes:
2013-05-04 David E. Wheeler <david@justatheory.org>
* Release 3.28
Removed use of 'done_testing' in t/white.t, which was added in
v3.27. Thanks to Paul Howarth for the catch.
Fixed inproperly calculated number of skipped tests in t/xhtml01.t
when HTML::Entities is not intalled.
2013-05-03 David E. Wheeler <david@justatheory.org>
* Release 3.27
Added new warnings as defined by Pod::Checker, thanks to RJBS:
+ "=over" without "=back"
+ "L<>" starts or ends with whitespace
+ raw "|" or "/" in "L<text|link>" text
Added ->keep_encoding_directive, which is false by default, to
prevent formatters from emitting a document's '=encoding'
directive in most cases. That they emitted the encoding was a bug
introduced in v3.26 (RT #84093). Now, only the DumpAsText and
DumpAsXML formats set it to true. Patch from Patrice Dumas.
2013-02-27 David E. Wheeler <david@justatheory.org>
* Release 3.26
Fixed another test script to skip all tests when Encode is not
installed.
Added 'encoding()' and 'detected_encoding()' to return the current
encoding and the encoding actually to decode the input file. The
value from "=encoding" is also now kept in the output tree. Patch
from Patrice Dumas (RT #74390).
Upstream changes:
2.0016 Sat 13 Apr 22:36:51 IDT 2013
- Don't enable XML_PARSE_HUGE by default.
- Fix the previous version due to a mercurial SNAFU.
2.0015 Sat 13 Apr 02:30:33 IDT 2013
- Don't enable XML_PARSE_HUGE by default.
- https://bitbucket.org/shlomif/perl-xml-libxml/pull-request/19
- Thanks to Grant McLean ( https://metacpan.org/author/GRANTM ) for
the bug report and patch.
2.0014 Wed 5 Dec 11:06:26 IST 2012
- Got 40reader_mem_error.t to not fetch the external DTDs.
- https://rt.cpan.org/Public/Bug/Display.html?id=81703
- Thanks to Alexandr Ciornii (CHORNY) for the report and Slaven
Rezic (SREZIC) for the analysis and a proposed fix.
2.0013 Tue 4 Dec 17:40:27 IST 2012
- Fix a memory error (double-free) in XML::LibXML::Reader if we reached
EOF and
then called destroy.
- discovered by Shlomi Fish.
- Fixed by Shlomi Fish.
- see t/40reader_mem_error.t
2.0012 Fri 9 Nov 06:39:32 IST 2012
- Fix support for references to scalars with overloaded stringification
magic.
- https://rt.cpan.org/Public/Bug/Display.html?id=77864
- Thanks to Christian Hansen (CHANSEN) for a report, a testcase, and
a patch.
2.0011 Thu 8 Nov 00:25:15 IST 2012
- Fix crash in removeChild() when not expanding entities
- https://rt.cpan.org/Ticket/Display.html?id=80395
- "removeChild() segfaults when not expanding entities"
- Thanks to GUIDO@cpan.org for the report, for a test case (that
was adapted into t/48_removeChild_crashes_rt_80395.t ) and for
a patch to fix it.
2.0010 Thu 1 Nov 20:13:08 IST 2012
- Passing debug (an undocumented option) to check_lib in Makefile.PL.
- This way we get more meaningful traces on perl Makefile.PL DEBUG=1.
- Thanks to MSTROUT for the report and a proposed fix.
2.0009 Thu 1 Nov 16:26:45 IST 2012
- Fix libxml2 detection in Strawberry Perl.
- Another Devel::CheckOS fallout.
- Thanks to KMX for the report and for a proposed fix. The actual fix
was made to be more generic considering the use-cases.
- https://rt.cpan.org/Ticket/Display.html?id=80540
2.0008 Mon 22 Oct 12:09:11 IST 2012
- Fix build error when using non-standard libxml2 installation
- https://rt.cpan.org/Ticket/Display.html?id=80332
- Thanks to L RW for the report.
Upstream changes:
0.52 ( 4-29-13 )
- Added proper binmode setting when outputting XML to address deficiences on Win32 ( such as failing Strawberry perl due to line endings )
- Added evil OS check in file writing code to address differences in how files must be opened to write utf8 on win32 versus linux/cygwin.
- Added note regarding using utf8 flag instead of using encoding(utf8)
- Altered UTF8 test to also write XML containing UTF8 to a file.
0.51 ( 4-28-13 )
- New 'unsafe' parsing mode, giving a 30% speed increase with some downfalls
- New 'read_more' function, allowing more data to be read in before parsing into a tree
- Fixed some memory leaks
- Added 'Controversy' section to documentation
- Updated speed comparisons for feed2.xml, adding a comparison against XML::Fast as well
as a comparison of running in 'unsafe' mode.
- Spelling correction
- "Modernized" file handling using my variables
0.50 ( 4-24-13 )
- Remove debugging print statements that were left in
- Include the new test cases in the distribution
0.49 ( 4-23-13 )
- Fixes to find_by_perl
Can now be accessed in an object or namespace flexibly.
Now ignores case of keys.
Keys with underscores can be used.
Will work properly when passed a single node instead of an array reference of nodes.
- Fixes to xget
Method of deferencing has been changed to be compatible with newer versions of perl ( 5.10.2+ )
- Fixed handling of nodes named 'value'; they will no longer crash the XS code
- Added a new function similar to new called 'simple', that works in the same way but automatically uses the 'simple' parser
- Altered handling of node values in simple mode, so that it stores values when mixed with nodes or atttributes under 'content' ( like XML::Simple )
This feature was requested by users so it has been added. Note that it only does this when the value is not composed of just spaces and carriage returns.
0.48 ( 4-22-13 )
- Revert code back to 0.45 version
Changes lost in the process:
Content is not stored in the 'content' key any more; it is stored as the node itself when the node contains nothing else. As God intended.
Memory leak fixes
Quote handling
- Code copyright returned fully to David Helkowski; any changes by other parties have been discarded. Any code ported in from other open source projects removed.
This has been done intentionally so as to make it possible to relicense the software commerically.
- XS code modofied to work in a multi-threaded environment
- Reverting Makefile.PL back to original wierd hackish fixes. They are there for specific reasons.
This the br.ispell dictionary for Brazilian Portuguese. It's freely available
under the terms of the GNU GPL. You can freely redistribute and/or use it for
spell checking through ispell. The main page (in Portuguese) for this dictionary
is http://www.ime.usp.br/~ueda/br.ispell.
Adjust DEPENDS
Upstream changes:
2.0001 2013-04-24 16:24:22
[FEATURES]
- Support PUREPERL_ONLY build
See the Lancaster Consensu:
219db464af/lancaster-consensus.md (specifying-pure-perl-builds)
2.0000 2013-02-20 09:21:08
- No code change from 1.9999_01
1.9999_01 2013-02-16 15:44:31
[CHANGES]
- Migrate from Any::Moose to Mouse because Any::Moose is deprecated
1.6002 2012-12-19 22:54:55
[BUG FIXES]
- Fix a bug where TTerse created no variable scopes (thanks to Yappo)
This an ispell dictionary for Galician, using the "Minimos" standard. It's
freely available under the terms of the GNU GPL, version 2. You can freely
redistribute and/or use it for spell checking with the program ispell.
Ispell dictionary for Kurdish.
The original word list used for this package was augmented using Scannell's web
crawling software and then hand-checked.
pkgsrc-wip in 2004 by Chris Pinnock (cjep@users.sourceforge.net) References
PR pkg/25023
This package provides the dictionaries and affix files for spellchecking
of Lithuanian texts.
The latest version of the affix tables and dictionaries can be found
at ftp://ftp.akl.lt/ispell-lt/ . The mailing list of the project is
available at https://lists.akl.lt/mailman/listinfo/ispell-lt . A
browsable web interface to the project CVS repository is available at
http://sraige.mif.vu.lt/cvs/ispell-lt/
The software is available under the provisions of a BSD-style license.
The full text of the license is available in the COPYING file.
The project has been sponsored by the Information Society Development
Committee of the Government of Republic of Lithuania.
1) Shorter package name;
2) Be consistent with kde3-l18n-*, kde4-l10n-*, hunspell-*, aspell-*,
lang-* PKG_OPTIONS;
3) Simplify modifications to PKGNAME in some Makefiles;
4) Accordance with international language naming standards;
and rename the ispell-base package to ispell, to be consistent with aspell
and hunspell. Bump PKGREVISION where necessary.
the user to disable tests and NLS (enabled by default), and add PKG_OPTION
for gobject-introspection. EXTRACT_SUFX is now .tar.xz. Buildlink pthread
and textproc/json-c. Add PKG_BUILD_OPTIONS to buildlink3.mk. No noticeable
changes by default. PLIST uses PLIST_VARS as supplied by options.mk for
introspection and nls PKG_OPTIONS. Passes pkglint. From ChangeLog:
Translation additions/updates:
Assamese, Bengali Brazilian, British Bulgarian, Catalan, Catalan
(Valencian), Czech, Danish, English, Esperanto, Estonian, French, Galician,
German, Greek, Hindi, Hungarian, India, Indonesian, Italian, Japanese,
Korean, Kyrgyz, Latvian, Lithuanian, Norwegian (bokmal), Odia, Polish,
Portuguese, Portuguese (Brazilian), Punjabi, Russian, Serbian, Slovak,
Slovenian, Spanish, Swedish, Tadjik, Telugu, Traditional Chinese
translation (Hong Kong and Taiwan), Turkish, Ukrainian, Uyghur, Vietnamese
docs: Fix xinclude fallback for annotation glossary
variant: Fix documentation and annotations for deserialize()
Update Visual Studio Solution Files
Visual Studio Builds: Support building introspection files
Update build/win32/config.h.win32(.in)
Update Visual Studio Property Sheets
node: add (transfer none) annotations to the new typed initializers
Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
path: Fix get all object members with wildcard
path: Fix get all array elements with wildcard
Using the same data as in tests, asking for $['store']['book'][*] JSON path
should return all the book objects in an array.
But that array is returned inside another array, dupped several times.
Fix VS 2008 poperty sheet
Cleanup/fix Visual C++ build files
build: Bump up the requirement for GLib
build: Use the symbols file to generate our public ABI
symbols: Re-sort
tests: Put g_type_init() under conditional compilation
Use typed initializers for JsonNode
Use the new typed JsonNode initializers
The typed setters in JsonArray and JsonObject should use the JsonNode
typed initializers.
Consolidate null handling in JsonArray and JsonObject
node: Add typed initializers
tests/reader: Improve test coverage
reader: "null" is a value
scanner: Remove unused functions
tests: Improve coverage
gobject: Use JsonSerializable API
Instead of directly accessing the vfunc from the interface vtable.
tests: Improve coverage
builder: Conform to the coding style
Function arguments should be aligned on different lines.
array: Relax preconditions on array and object methods
array: Relax add_string_element() preconditions
tests/parser: Check negative numeric values
tests/invalid: Improve test coverage
parser: Empty member names are not valid
build: Fix test-report generation
tests/invalid: Add more invalid JSON tests
tests/invalid: Check invalid assignments
parser: Use error codes for invalid assignments
tests: Move the invalid JSON unit to its own file
parser: Consolidate value parsing
parser: Show the column in the error message
parser: Fix small leak in json_parse_statement
reader: Do not do strict type validation on numeric types
node: Implicitly convert numeric types
generator: Use JsonValue, not GValue
doap: Change my email address to @gnome.org
Post-release version bump to 0.15.3
docs: Add missing symbols
build: Drop dependency on gnome-autogen.sh
Use autoreconf instead.
symbols: Add missing functions
build: Add abicheck.sh
scanner: Mark all symbols as internal
Use lcov instead of gcov for test coverage reports
With lcov we get nicer reporting tools, with HTML output.
node: Replace GValue with JsonValue
Add JsonValue
path: Pass int width for printf field width, not long
Signed-off-by: Fran Diéguez <fran.dieguez@mabishu.com>
Fix "install" paths in VS property sheets
Remove JSON_DISABLE_DEPRECATED
Prevent .po file updates on simple 'make'
autogen.sh: remove out-of-tree check
Fix VS property sheets
docs: Use markdown in the README
docs: Fix typo in JsonObject's description
Use the new GLib deprecation scheme
Use g_value_[sg]et_schar() with GLib 2.31
The non-explicitly signed variant is deprecated.
Adapt to the demise of single includes in GLib
Update VS9 property sheet
build: Fix srcdir != builddir
Changelog:
Version 2013031301 Wed Mar 13 12:03:41 CET 2013
+ Pattern for IPv6 addresses. Requested by Guy Edwards and many others.
RT 50693.
Version 2013031201 Tue Mar 12 15:44:48 CET 2013
+ Allow host/domain names to start with a digit, using
$RE{net}{domain}{-rfc1101}. Requested by Guy Edwards and many others.
RT 23626.
Version 2013031101 Mon Mar 11 21:02:45 CET 2013
+ For integers and decimal numbers (reals), allow the user to specify the
pattern of the signs (leading sign, and for reals, the sign of the exponent).
This gives the user the option to ask for a pattern that matches unsigned
numbers (by specifying the empty string as the pattern).
Requested by "Wilson, Jonathan" <jonathan.wilson@Vanderbilt.Edu>.
Version 2013030901 Sat Mar 9 14:51:42 CET 2013
+ Use (?-1) instead of (??{ }) for the recursive balanced pattern.
This makes the pattern unavailable for pre-5.010 perls.
Changelog:
31-Jan-2013 Marek Rouchal <marekr@cpan.org>
-----------------------------------------------------------------------------
Version 1.60
+ removed Pod::Checker and Pod::Usage from this distribution - they are now
separate distros and are subjects to be refactored, to be based upon
Pod::Simple. Thanks to rjbs for reminding me of this.
25-Jan-2012 Marek Rouchal <marekr@cpan.org>
-----------------------------------------------------------------------------
Version 1.51
+ CPAN#74271: Pod::Parser should not flag L<text|hyperlink>
undo change CPAN#47473: L<alt text|URL> _is_ allowed (see discussion on
pod-people and p5p); confirmed by blead change; references:
http://code.activestate.com/lists/perl-pod-people/1690/http://code.activestate.com/lists/perl-pod-people/1393/http://perl5.git.perl.org/perl.git/commit/f6e963e4dd62b8e3c01b31f4a4dd57e47e104997
+ bump all module versions (except Pod::PlainText) to 1.51
+ update META.yml (thanks rjbs for the hint)
16-Jan-2012 Marek Rouchal <marekr@cpan.org>
-----------------------------------------------------------------------------
Version 1.50
+ fix whitespace (esp. CR [\r] related) issues with different Perl versions
on Windows (with Perl 5.8.8 [Activestate], and 5.6.1 [SUA])
+ merge latest core (5.14.x) changes to this distro
+ CPAN#73446: fix minor POD error in InputObjects.pm
+ CPAN#43955: podchecker fails to detect superfluous =cut directive:
implemented (and extended by a check for superfluous =pod commands) and
documented in Pod::Checker; also added a note in the POD of all modules
that they are part of the Pod::Parser distribution
+ CPAN#46695: use consistent version (1.50) for distribution and all Pod::
modules in this distro (except for Pod::PlainText, which stays at 2.05)
+ CPAN#52086: mismatch between distro and module version:
same as above
+ CPAN#55121: correction for Pod::Find and t/pod/find.t on VMS
+ CPAN#47473: podchecker on L<> url with alt text
... causes an error in Pod::Checker now
+ CPAN#57954: Pod::Usage does not find perldoc when perl is relocatable
... use $Config{scriptdirexp} instead of scriptdir
+ CPAN#61223: podchecker notice missing blank line before command
implemented with more tests in poderrs.t and self test of all *.pms
+ CPAN#66614: parse of no final newline vs perl -w
... a rare case, but fixed nevertheless
+ CPAN#68157: Pod-Parser-1.38/lib/Pod/Usage.pm question/bug
... pass through formatting options to Pod::Text
+ CPAN#70771: mishandles symbolic links in @INC
... fixed by making the paths in @INC absolute, using Cwd::abs_path()
+ CPAN#71139: 3 possible optimisations
... applied
+ several other rt.cpan.org tickets processed and closed
2.00 Wed Apr 17 22:49:41 CDT 2013
====================================
The first version of ack 2.0.
# Incompatibilities with ack 1.x
ack 2 makes some big changes in its behaviors that could trip up
users who are used to the idiosyncracies of ack 1.x. These changes
could affect your searching happiness, so please read them.
* ack's default behavior is now to search all files that it identifies
as being text. ack 1.x would only search files that were of a file
type that it recognized.
* Removed the `-a` and `-u` options since the default is to search
all text files.
* Removed the `--binary` option. ack 2.0 will not find and search
through binary files.
* Removed the `--skipped` option.
* Removed the `--invert-file-match` option. `-v` now works with
`-g`. To list files that do not match `/foo/`
ack -g foo -v
* `-g` now obeys all regex options: `-i`, `-w`, `-Q`, `-v`
* Removed the `-G` switch, because it was too confusing to have two
regexes specified on the command line. Now you use the `-x` switch
to pipe filenames from one `ack` invocation into another.
To search files with filename matching "sales" for the string "foo":
ack -g sales | ack -x foo
# New features in ack 2.0
ack 2.0 will:
* By default searches all text files, as identified by Perl's `-T` operator
* We will no longer have a `-a` switch.
* improved flexibility in defining filetype selectors
* name equality ($filename eq 'Makefile')
* glob-style matching (`*.pl` identifies a Perl file)
* regex-style matching (`/\.pl$/i` identifies a Perl file)
* shebang-line matching (shebang line matching `/usr/bin/perl/`
identifies a Perl file)
* support for multiple ackrc files
* global ackrc (/etc/ackrc)
* https://github.com/petdance/ack/issues/#issue/79
* user-specific ackrc (~/.ackrc)
* per-project ackrc files (~/myproject/.ackrc)
* you can use --dump to figure which options are set where
* all inclusion/exclusion rules will be in the ackrc files
* ack 2.0 has a set of definitions for filetypes, directories to
include or exclude, etc, *but* these are only included so you don't
need to ship an ackrc file to a new machine. You may tell ack to
disregard these defaults if you like.
* In addition to the classic `--thpppt` option to draw Bill the
Cat, `ack --bar` will draw (of course) Admiral Ackbar.
form fixed `0' to main Python distribution version (PY_DISTVERSION)
so that packages will be updated with main Python distribution update.
no objection in tech-pkg@ for a week.
## 1.3.7 (2013-04-09)
* Erubis: Check for the correct constant (#183, mattwildig)
* Don't fail when BasicObject is defined in 1.8 (#182, technobrat, judofyr)
1) Shorter package name;
2) Be consistent with kde3-i18n-*, kde4-l10n-*, hunspell-*, lang-*
PKG_OPTIONS;
3) Simplify modifications to PKGNAME in their Makefiles;
4) Accordance with international language naming standards;
5) Facilitate the addition of other dictionaries which are variants of the
same language (ex. Portuguese and Norwegian);
May this commit not cause anything to explode, hairs to gray, nerds to rage
File too long (should be no more than 24 lines).
Line too long (should be no more than 80 characters).
Trailing empty lines.
Trailing white-space.
Trucated the long files as best as possible while preserving the most info
contained in them.
## 1.3.6 (2013-03-17)
* Accept Hash that implements #path as options (#180, lawso017)
* Changed extension for CsvTemplate from '.csv' to '.rcsv' (#177, alexgb)
COMMENT should not be longer than 70 characters.
COMMENT should not begin with 'A'.
COMMENT should not begin with 'An'.
COMMENT should not begin with 'a'.
COMMENT should not end with a period.
COMMENT should start with a capital letter.
pkglint warnings. Some files also got minor formatting, spelling, and style
corrections.
by zecrazytux and fhajny.
Markdown is a text-to-HTML conversion tool for web writers. Markdown
allows you to write using an easy-to-read, easy-to-write plain text
format, then convert it to structurally valid XHTML (or HTML).
The overriding design goal for Markdown's formatting syntax is to make
it as readable as possible. The idea is that a Markdown-formatted
document should be publishable as-is, as plain text, without looking
like it's been marked up with tags or formatting instructions. While
Markdown's syntax has been influenced by several existing text-to-HTML
filters, the single biggest source of inspiration for Markdown's
syntax is the format of plain text email.
Original Markdown implementation is written in Perl. Discount provides a
Markdown CLI tool and a library, written in C.
Upstream changes:
0.97 - 2013-03-30, H.Merijn Brand
* Regain the speed from 0.91 (buffer back to 1k)
* Minor cleanup in XS code
* Add diag_verbose attribute
0.96 - 2013-03-26, H.Merijn Brand
* No need to require Test::Harness if unused (RT#82693)
* parse ("") should return one empty field, not undef
* Now that we know the record number, show it in auto_diag
0.95 - 2013-01-13, H.Merijn Brand
* Introduce allow_unquoted_escape as workaround for RT#81295
* Update copyright to 2013
* Introduce print_hr () for RT#76143
* Dropped plans to support EBCDIC
* Better error handling on the Client::LocalSocketClient
* New DataStream class which shares code between the server and client
* New boolean option "emptyGraphs" in the Virtuoso backend, which can
enable/disable checks for empty graphs
* New boolean option "fakeBooleans" in the virtuoso backend, which can
enable/disable fake boolean support
* Client and Server code optimizations
0.10.0
02/11/2012 - trueg
Added nmm:TVSeason and friends to make TV seasons fully
qualified resources.
02/28/2012 - Evgeny Egorochkin
Fixed nmo:messageHeader cardinality restriction.
0.9.0
01/05/2012 - trueg
Added properties nfo:depicts and nfo:depiction
Made nmm:artwork a subproperty of nfo:depiction
12/13/2011 - trueg
Added nrl:DefiningProperty and nrl:NonDefiningProperty
12/12/2011 - trueg
Set nao:userVisible on the following classes and properties:
nao:score
nao:hasSubResource
nao:hasSuperResource
nrl:Graph
rdf:Property
rdfs:Class
rdfs:Resource
nie:hasPart
nie:isPartOf
nfo:hasHash
nuao:Event
08/23/2011 - trueg
Added class nfo:LocalFileDataObject
0.8.1
11/25/2011 - trueg
Fixed domain of nmm:setSize to nmm:MusicAlbum
0.8.0
08/18/2011 - trueg
Made nfo:FileName a sub-property of nao:prefLabel
08/14/2011 - trueg
Added nfo:WebDataObject
08/05/2011 - trueg
Fixed range of nexif:orientation
Added nmm:setNumber and nmm:setSize
07/24/2011 - trueg
Added nmm:albumTrackCount
07/15/2011 - trueg
nmm:MusicPiece is a subclass of nfo:Audio instead of nfo:Media
Added focus event handling:
nuao:FocusEvent
nuao:totalFocusDuration
nuao:initiatingAgent
nuao:targettedResource
pimo:person is a sub-class of nao:Party
Added nfo:colorCount and nfo:paletteSize
06/27/2011 - trueg
Made ncal:comment a subproperty of nie:comment
06/14/2011 - grundleborg
Added new more specific way of specifying the IM
availability status:
nco:imStatusType
nco:IMStatusType
nco:IMStatusTypeOffline
nco:IMStatusTypeAvailable
nco:IMStatusTypeAway
nco:IMStatusTypeExtendedAway
nco:IMStatusTypeHidden
nco:IMStatusTypeBusy
nco:IMStatusTypeUnknown
06/05/2011 - trueg
Added nie:modified and nie:contentModified
05/24/2011 - trueg
Fixed ranges of
nmm:albumPeakGain
nmm:trackGain
nmm:trackPeakGain
nmm:albumGain
0.7.1
06/14/2011 - trueg
Fixed domain of nao:maintainedBy
Docutils 0.10 is compatible with Python versions from 2.4 to 3.2.
General:
SmartQuotes transform for typographic quotes and dashes.
docutils/math, docutils/error_reporting.py, and docutils/urischemes.py moved to the utils package. Code importing these modules needs to adapt, e.g.:
try:
import docutils.math as math
except ImportError:
import docutils.utils.math as math
enhanced math and error handling.
docutils/io.py
FileInput/FileOutput: no system-exit on IOError. The handle_io_errors option is ignored.
docutils/writers/html4css1/__init__.py
Use <code> tag for inline "code", do not drop nested inline nodes (syntax highlight tokens).
Customizable MathJax URL (based on patch by Dmitry Shachnev).
No line break after opening inline math tag.
docutils/writers/latex2e/__init__.py, docutils/writers/xetex/__init__.py
Fix section numbering by LaTeX.
docutils/writers/s5_html/__init__.py
Fix [ 3556388 ] Mathjax does not work with rst2s5.
1.7.0
-----
* [Add load_options/dump_options to MultiJson](a153956be6)
* [MultiJson does not modify arguments](58525b01c4)
* [Enable quirks_mode by default for json_gem/json_pure adapters](1fd4e6635c)
* [Add JrJackson adapter](4dd86fa963)
* [Raise ArgumentError on bad adapter input](911a3756bd)
3.1.0 (2013-02-10)
==================
Features added
--------------
* GH#89: lxml.html.clean allows overriding the set of attributes that it
considers 'safe'. Patch by Francis Devereux.
Bugs fixed
----------
* LP#1104370: ``copy.copy(el.attrib)`` raised an exception. It now returns
a copy of the attributes as a plain Python dict.
* GH#95: When used with namespace prefixes, the ``el.find*()`` methods
always used the first namespace mapping that was provided for each
path expression instead of using the one that was actually passed
in for the current run.
* LP#1092521, GH#91: Fix undefined C symbol in Python runtimes compiled
without threading support. Patch by Ulrich Seidl.
Other changes
-------------
3.1beta1 (2012-12-21)
=====================
Features added
--------------
* New build-time option ``--with-unicode-strings`` for Python 2 that
makes the API always return Unicode strings for names and text
instead of byte strings for plain ASCII content.
* New incremental XML file writing API ``etree.xmlfile()``.
* E factory in lxml.objectify is callable to simplify the creation of
tags with non-identifier names without having to resort to getattr().
Bugs fixed
----------
* When starting from a non-namespaced element in lxml.objectify, searching
for a child without explicitly specifying a namespace incorrectly found
namespaced elements with the requested local name, instead of restricting
the search to non-namespaced children.
* GH#85: Deprecation warnings were fixed for Python 3.x.
* GH#33: lxml.html.fromstring() failed to accept bytes input in Py3.
* LP#1080792: Static build of libxml2 2.9.0 failed due to missing file.
Other changes
-------------
* The externally useless class ``_ObjectifyElementMakerCaller`` was
removed from the module API of lxml.objectify.
* LP#1075622: lxml.builder is faster for adding text to elements with
many children. Patch by Anders Hammarquist.
2013-02-26 Raptor2 Version 2.0.9 Released
Added full parsing and serializing support for Turtle Terse RDF Triple
Language W3C Candidate Recommendation 19 February 2013
Added CMake build framework for building Raptor on Microsoft (Daniel
Richard G.)
Made a few minor fixes and improvements
Fixed reported issues: 0000499, 0000508, 0000520, 0000521 and 0000526
== 2.6.0 / 2013-02-16 Charlie Savage
* Fix uninitialized constant LibXML::XML::Error::I18N (NameError) that occurred
with older versions of libxml.
* Various updates/fixes to new XML::Writer class and update how flushing works
(julp)
## 4.0.0
* The Haml exectutable now accepts an `--autoclose` option. You can now
specify a list of tags that should be autoclosed
* The `:ruby` filter no longer redirects $stdout to the Haml document, as this
is not thread safe. Instead it provides a `haml_io` local variable, which is
an IO object that writes to the document.
* HTML5 is now the default output format rather than XHTML. This was already
the default on Rails 3+, so many users will notice no difference.
* The :sass filter now wraps its output in a script tag, as do the new :less and
:scss filters. The :coffee filter wraps its output in a script tag.
* Haml now supports only Rails 3 and above, and Ruby 1.8.7 and above. If you
still need support for Rails 2 and Ruby 1.8.6, please use Haml 3.1.x which
will continue to be maintained for bug fixes.
* The :javascript and :css filters no longer add CDATA tags when the format is
html4 or html5. This can be overridden by setting the `cdata` option to
`true`. CDATA tags are always added when the format is xhtml.
* HTML2Haml has been extracted to a separate gem, creatively named "html2haml".
* The `:erb` filter now uses Rails's safe output buffer to provide XSS safety.
* Haml's internals have been refactored to move the parser, compiler and options
handling into independent classes, rather than including them all in the
Engine module. You can also specify your own custom Haml parser or compiler
class in Haml::Options in order to extend or modify Haml reasonably easily.
* Add an {file:REFERENCE.md#hyphenate_data_attrs-option `:hyphenate_data_attrs`
option} that converts underscores to hyphens in your HTML5 data keys. This is
a language change from 3.1 and is enabled by default.
(thanks to [Andrew Smith](https://github.com/fullsailor))
* All Hash attribute values are now treated as HTML5 data, regardless of key.
Previously only the "data" key was treated this way. Allowing arbitrary keys
means you can now easily use this feauture for Aria attributes, among other
uses.
(thanks to [Elvin Efendi](https://github.com/ElvinEfendi))
* Added `remove_whitespace` option to always remove all whitespace around Haml
tags. (thanks to [Tim van der Horst](https://github.com/vdh))
* Haml now flattens deeply nested data attribute hashes. For example:
`.foo{:data => {:a => "b", :c => {:d => "e", :f => "g"}}}`
would render to:
`<div class='foo' data-a='b' data-c-d='e' data-c-f='g'></div>`
(thanks to [Péter Pál Koszta](https://github.com/koszta))
* Filters that rely on third-party template engines are now implemented using
[Tilt](github.com/rtomayko/tilt). Several new filters have been added, namely
SCSS (:scss), LessCSS, (:less), and Coffeescript (:coffee/:coffeescript).
Though the list of "official" filters is kept intentionally small, Haml comes
with a helper method that makes adding support for other Tilt-based template
engines trivial.
As of 4.0, Haml will also ship with a "haml-contrib" gem that includes useful
but less-frequently used filters and helpers. This includes several additional
filters such as Nokogiri, Yajl, Markaby, and others.
* Generate object references based on `#to_key` if it exists in preference to
`#id`.
* Performance improvements.
(thanks to [Chris Heald](https://github.com/cheald))
* Helper `list_of` takes an extra argument that is rendered into list item
attributes.
(thanks [Iain Barnett](http://iainbarnett.me.uk/))
* Fix parser to allow lines ending with `some_method?` to be a Ruby multinline.
(thanks to [Brad Ediger](https://github.com/bradediger))
* Always use :xhtml format when the mime_type of the rendered template is
'text/xml'.
(thanks to [Stephen Bannasch](https://github.com/stepheneb))
* html2haml now includes an `--html-attributes` option.
(thanks [Stefan Natchev](https://github.com/snatchev))
* Fix for inner whitespace removal in loops.
(thanks [Richard Michael](https://github.com/richardkmichael))
* Use numeric character references rather than HTML entities when escaping
double quotes and apostrophes in attributes. This works around some bugs in
Internet Explorer earlier than version 9.
(thanks [Doug Mayer](https://github.com/doxavore))
* Fix multiline silent comments: Haml previously did not allow free indentation
inside multline silent comments.
* Fix ordering bug with partial layouts on Rails.
(thanks [Sam Pohlenz](https://github.com/spohlenz))
* Add command-line option to suppress script evaluation.
* It's now possible to use Rails's asset helpers inside the Sass and SCSS
filters. Note that to do so, you must make sure sass-rails is loaded in
production, usually by moving it out of the assets gem group.
* The Haml project now uses [semantic versioning](http://semver.org/).
## 3.2.0
The Haml 3.2 series was released only as far as 3.2.0.rc.4, but then was
renamed to Haml 4.0 when the project adopted semantic versioning.
## 3.1.8
* Fix for line numbers reported from exceptions in nested blocks
(thanks to Grant Hutchins & Sabrina Staedt).
based on PR pkg/47636.
Mar 13 2011 Jeff Fearn <Jeff.Fearn@gmail.com>
Release 4.1
Doc typo fixes. (Ansgar Burchardt) RT #66404
Use same version in all packages for CPAN indexing. RT #66111
Moved perlcritic tests to xt/author
Fix Authors is all PM files
Nov 24 2010 Jeff Fearn <Jeff.Fearn@gmail.com>
Release 4.0
Added NoExpand option to allow entities to be left untouched in xml.
Added ErrorContext option to allow better reporting of error locations.
Expanded tests to test these options.
Added EncodeAmp option to encode unencoded ampersans on parsing.
Switched to Module::Build
Added Perl::Critic tests
Fixed Perl::Critic complaints
Switched t/10main.t to Test::More
Added create_makefile_pl to Build.pl
Bumped HTML::Element req to 4.1 for proper entity handling
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.