Markdown is a text-to-HTML filter; it translates an easy-to-read /
easy-to-write structured text format into HTML. Markdown's text
format is most similar to that of plain text email, and supports
features such as headers, *emphasis*, code blocks, blockquotes, and
links. -- http://daringfireball.net/projects/markdown/
This is a fast and complete Python implementation of the Markdown
spec.
This is an update of ocaml-text to version 0.6. According to the upstream
changelog, the only changes are to the build system. This version works with
ocaml 4.00.
3.10 (2011-05-30)
-----------------
* Do not try to build LibYAML bindings on platforms other than CPython
(Thank to olt(at)bogosoft(dot)com).
* Clear cyclic references in the parser and the emitter
(Thank to kristjan(at)ccpgames(dot)com).
* Dropped support for Python 2.3 and 2.4.
3.09 (2009-08-31)
-----------------
* Fixed an obscure scanner error not reported when there is
no line break at the end of the stream (Thank to Ingy).
* Fixed use of uninitialized memory when emitting anchors with
LibYAML bindings (Thank to cegner(at)yahoo-inc(dot)com).
* Fixed emitting incorrect BOM characters for UTF-16 (Thank to
Valentin Nechayev)
* Fixed the emitter for folded scalars not respecting the preferred
line width (Thank to Ingy).
* Fixed a subtle ordering issue with emitting '%TAG' directives
(Thank to Andrey Somov).
* Fixed performance regression with LibYAML bindings.
* Update MASTER_SITES
* Cannot connect to HOMEPAGE
* Update license, and remove RESTRICTED
* For example, ~/.termcap is needed, because this package uses Term::Cap
Changelog:
* Add a commandline option
* Change termcap handling
3.101641 from CPAN into textproc/p5-Dist-Zilla-Plugin-PodWeaver.
[PodWeaver] is the bridge between Dist::Zilla and Pod::Weaver. It rips
apart your kinda-Pod and reconstructs it as boring old real Pod.
from CPAN into textproc/p5-Pod-Elemental-PerlMunger.
This role is to be included in classes that rewrite the documentation of
a Perl document, stripping out all the Pod, munging it, and replacing it
into the Perl.
CPAN into textproc/p5-Pod-Weaver.
Pod::Weaver is a system for building Pod documents from templates.
It doesn't perform simple text substitution, but instead builds a
Pod::Elemental::Document. Its plugins sketch out a series of sections
that will be produced based on an existing Pod document or other
provided information.
CPAN into textproc/p5-Pod-Elemental.
Pod::Elemental is a system for treating a Pod (plain old documentation)
documents as trees of elements. This model may be familiar from many other
document systems, especially the HTML DOM. Pod::Elemental's document object
model is much less sophisticated than the HTML DOM, but still makes a lot
of document transformations easy.
In general, you'll want to read in a Pod document and then perform a number
of prepackaged transformations on it. The most common of these will be the
Pod5 transformation, which assumes that the basic meaning of Pod commands
described in the Perl 5 documentation hold: =begin, =end, and =for commands
mark regions of the document, leading whitespace marks a verbatim paragraph,
and so on. The Pod5 transformer also eliminates the need to track elements
representing vertical whitespace.
from CPAN into textproc/p5-String-Truncate.
String::Truncate handles the simple but common problem of long strings and
finite terminal width by eliding or truncating parts of the string from the
left, right, middle or both ends, respectively.
Upstream changes:
-----------------
Release highlights
------------------
Added full complement of styles to Open Blocks and Normal Paragraphs???those
with a minimalist bent could construct virtually any document using just Title,
Normal Paragraph and Open Block syntaxes.
Other additions and changes
---------------------------
Increased default maximum include depth from 5 to 10.
Emit warning if maximum include depth is exceeded.
Suppress repeated console messages.
Music filter: removed --beams=None option from abc2ly invocation because it
is broken on LilyPond 2.14 (Ubuntu 12.04).
Replaced obsolete <tt> tag with <code> in HTML backends.
Allow configuration attribute entries to create a new section (previously
you could only modify existing sections). See: discussion list.
Documented {wj} (word-joiner) attribute and updated FAQ. See: discussion
list.
FAQ: Added How can I place a footnote immediately following quoted text?
See discussion list.
Added Greek language configuration file. Contributed by Michael
Dourmousoglou. See discussion list.
FAQ: Added Using roles to select fonts for PDF. Submitted by Lex Trotman
and based on solution by Antonio Borneo. See: discussion list.
Apply same monospaced font size to all monospaced text.
Changed 0 number padding to spaces in numbered GNU source-highlight
outputs.
Allow highlight source highlighter to use python for Python {language}
name. r1142: Update the AsciiDoc source filter to allow the use of the
highlight source code highlighter. See discussion list.
Vim syntax highlighter: Don?t confuse trailing open block delimiter with
section underline.
Added skip option to paragraphs (c.f. Delimited Block skip option).
Bug fixes
FIXED: latex, music and graphviz filters: When the filter output image is
data-uri encoded write it to the indir (instead of the outdir) so that encoder
can find it. See discussion list.
FIXED: Escape the ] character inside inline macros. See discussion list.
FIXED: source highlighter filter: Pass role attribute to HTML backends.
FIXED: source highlight filter: docbook backend: role attribute was not
passed to listings without a title. Patch submitted by Lex Trotman. See
discussion list.
FIXED: music2png.py: FOPException: Raster ByteInterleavedRaster error (FOP
1.0, ImageMagick 6.6.9-7).
** Bug fixes
grep -i, in a multi-byte locale, when matching a line containing a character
like the UTF-8 Turkish I-with-dot (U+0130) (whose lower-case representation
occupies fewer bytes), would print an incomplete output line.
Similarly, with a matched line containing a character (e.g., the Latin
capital I in a Turkish UTF-8 locale), where the lower-case representation
occupies more bytes, grep could print garbage.
[bug introduced in grep-2.6]
--include and --exclude can again be combined, and again apply to
the command line, e.g., "grep --include='*.[ch]' --exclude='system.h'
PATTERN *" again reads all *.c and *.h files except for system.h.
[bug introduced in grep-2.6]
** New features
'grep' without -z now treats a sparse file as binary, if it can
easily determine that the file is sparse.
** Dropped features
Bootstrapping with Makefile.boot has been broken since grep 2.6,
and was removed.
dictl.in:
Fix for Debian bug #677868 reported by Stepan Golosunov.
dictd.8:
Fixes for mistypes found by A. Costa. Thanks!
dictzip:
Fix for sf.net bug #3390567 reported by Ivo Danihelka.
INSTALL:
Fix for sf.net bug #3398178
colorit:
Fix for option -c. Now it works correctly.
examples/dictd_virtual.conf:
Fix incorrect keyword for virtual database.
Thanks to Marc-Jano Knopp for the report!
Update to dictem-1.0.3
- fix: "dictem-get-matches" function returns dictionary names
without ":" in the end.
- fix. insertion of text produced by "dict" client of by user's
database is always made IN THE END of dictem buffer. This fixes
the problems with hightlighting in match/define mixed results.
- Fix failure when dictem-use-user-databases-only is t. The problem
was that dictem-last-database variable was initialized
incorrectly.
* Buildlink to print/poppler-cpp
* Fix build with popplar-0.20
Changelog:
Release 1.3.0 [2012-02-14]
- Experimental support for libunac (removing accents and ligatures before search)
- Recursive search [--recursive] (by Mahmut Gundes)
- Don't use colors on dumb terminals
- A few minor bug fixes
- Use poppler-cpp instead of the poppler core library (by Pino Toscano)
EmPy is a system for embedding Python expressions and statements in template
text; it takes an EmPy source file, processes it, and produces output. This is
accomplished via expansions, which are special signals to the EmPy system and
are set off by a special prefix (by default the at sign, @). EmPy can expand
arbitrary Python expressions and statements in this way, as well as a variety
of special forms. Textual data not explicitly delimited in this way is sent
unaffected to the output, allowing Python to be used in effect as a markup
language. Also supported are callbacks via hooks, recording and playback via
diversions, and dynamic, chainable filters. The system is highly configurable
via command line options and embedded commands.
textproc/p5-Text-Format from 0.52nb5 to 0.56.
pkgsrc changes:
- adjust meta information (DISTNAME, LICENSE, HOMEPAGE)
Upstream changes:
0.56 Thu May 31 09:23:26 IDT 2012
- Add "use warnings;" to lib/Text/Format.pm .
- Add t/pod.t .
- Add t/pod-coverage.t .
0.55 Thu May 31 09:17:32 IDT 2012
- Fix small spelling error in the POD:
- closing https://rt.cpan.org/Ticket/Display.html?id=77481
- Thanks to Salvatore Bonaccorso and the Debian people
for the report and the patch.
- ( There were also some duplicate bug report in the rt.cpan.org queue
by accident. )
0.54 Fri May 25 02:33:47 IDT 2012
- Convert t/justify.t and t/format.t to Test::More, "use strict;"
and "use warnings;" and cleaned them up.
- fix a warning generated by a call to defined(@array)
- https://rt.cpan.org/Ticket/Display.html?id=77413
- thanks to H. Merijn Brand for the report.
0.53 Fri Jan 28 13:02:01 IST 2011
- Adopted by Shlomi Fish (while disclaiming all rights).
- Convert the build system to Module-Build, while adding keywords
and resources.
- The archive name is now the more standard Text-Format-0.53.tar.gz.
- Fix some typos in the documentation.
1) Remove lang/gnat-aux dependency
2) USE_LANGUAGES+= ada (invokes lang/gcc-aux dependency)
3) Improve shared library rpath definition required when built by compiler
not installed at ${LOCALBASE}
4) Restore use of pkgsrc wrappers
from 0.22nb2 to 0.26.
pkgsrc notes:
- ignoring requirement bump of Math::BigInt to 1.997, because it's neither
documented why and the test succeed with bundled 1.994, too
(skip updating lang/perl5 to 5.16.0 for now ^^)
Upstream changes:
0.26 -- Sat Jun 09 13:30:16 CDT 2012
* Avoid Modification of a read-only value attempted errors
* dump Data::Dumper strings when rtest fails
* Add tests from Crypt::X509 that found the last Modification of a read-only value attempted error
0.25 -- Fri Jun 08 19:31:59 CDT 2012
* fix a spelling mistake [gregor herrmann]
* Add use strict and fix errors
* Fix decoding of indefinite sequences with ANY
* POD additions for ANY
* EXPLICIT ops must pass their cVAR to their child op
* Swallow a , after a }
0.24 -- Mon Jun 04 17:11:08 CDT 2012
* spelling fix [gregor herrmann]
* Added tests for extension markers (fails currently) [Niels Laukens]
* Bugfix for extension markerss in SETs and CHOICEs [Niels Laukens]
* Skip attempting to encode opEXTENSIONS inside of CHOICE
* Support for default explicit tagging [Peter Mogensen]
* Added tests and doc for explicit tagging [Peter Mogensen]
* Add new opEXPLICIT for sequences that are inserted for EXPLICIT tags
0.23 -- Thu May 03 16:32:46 CDT 2012
* Added support for EXTENSION MARKERS (...) (Niels Laukens)
* Switch to Dist::Zilla for building
in textproc/p5-Filter from 1.39 to 1.45.
Upstream changes:
1.45 2012-06-19 rurban
----
* Sync perlfilter.pod with core improvements
1.44 2012-06-18 rurban
----
* Sync t/call.t with core fixes in 2adbc9b6
1.43 21 Feb 2012 rurban
----
* Fix more windows tests:
http://www.cpantesters.org/cpan/report/9e790a72-6bf5-1014-9f3b-641f296be760
1.42 20 Feb 2012 rurban
----
* Improve t/tee.t test 5 on windows which allows all Administrator
members read-access [RT #75164]
1.41 18 Feb 2012 rurban
----
* Hide example packages from the pause indexer
1.40 9 Feb 2012 rurban
----
* Fix tee and all tests to work with Perl 5.14 and higher.
PVIO has no IV field anymore, so abuse the empty IoOFP,
which is only used for printing, not reading.
Fixes [RT #56875] and more.
Tested for 5.6.2, 5.8.4, 5.8.5, 5.8.8, 5.8.9, 5.10.1, 5.12.4,
5.14.2, 5.15.7
from 3.19 to 3.22.
Upstream changes:
2012-05-27 David E. Wheeler <david@justatheory.org>
* Release 3.22
Fix but where Pod::Simple would whine about non-ASCII bytes in
code or comments. Now only does so for Pod (in the absence of an
"=encoding" tag. Broken in 3.21. Grant McLean.
2012-05-23 David E. Wheeler <david@justatheory.org>
* Release 3.21
NOTE: COMPATABILITY CHANGE: The 'codes_in_verbatim' option in
Pod::Simple::XHTML is no longer enabled by default. This brings it
agreement with the other formatting classes, and eliminates
unexpected behavior in XHTML-formatted Pod. Users who depended on
this functionality can still get it by enabling
'codes_in_verbatim' in their code.
Fixed some typos in the documentation. Thanks to Jonathan Yu via
the Debian packagers via Florian Ragwitz (RT #75532).
Now emit a warning the first time a non-ASCII byte is encountered
when no "=encoding" has been seen. Grant McLean.
When a non-ASCII byte is encounted before an "=encoding" line has
been seen, a heuristic (as described in perlpodspec) is applied to
select UTF-8 encoding if the non-ASCII bytes form a valid UTF-8
byte sequence, or Latin-1 otherwise. Grant McLean.
Added 'handle_code' method to Pod::Simple::XHTML. This allows
subclasses to override the handling of verbatim blocks, and makes
for a more cohesive interface, to boot. Gisle Aas.
Subsequent text segments are now joined together and passed as a
single unit to text handling code. This makes it easier for custom
handlers to process complete blocks of text in a single call to
'handle_text', rather than in dribs and drabs. Gisle Aas.
Replaced naive text wrapping code in Pod::Simple::DumpAsXML with
Text::Wrap, which was already used for similar purposes elsewhere
in Pod::Simple. Gisle Aas.
2012-03-01 David E. Wheeler <david@justatheory.org>
* Release 3.20
Removed use of 'done_testing' in t/xhtml15.t, which was added in
v3.19. Thanks to Paul Howarth for the catch.
Fixed quoting of links in a regular expression Pod::Simple::Text.
Reported by Father Chrysostomos.
Fix test failure on case-insensitive, non-case-preserving file systems
(VMS I'm looking at *you*). Patch from Craig A. Berry.
Pod::Simple::HTML no longer emits "href='#___top'" if a TOC
(index) is not output. Patch from Rick Myers.
Fixed links in the TOC of XHTML output to use IDs derived from encoded
text, rather than raw Pod, so that it will link to the ID actually
generated for the section. Thanks to Randy Stauner for the report
(with test case!) (RT #72544).
PullParser now throws an exception on an attempt to set a source
more than once. Necessary because data from the previous source
will be cached, so the new source would be ignored anyway. Create a
new PullParser, instead. Thanks to Paul Boldra for the report (RT
#74265).
textproc/p5-Regexp-Common from 2011041701 to 2011121001.
Upstream changes:
Version 2011121001 Sat Dec 10 21:32:49 CET 2011
+ Fixed a few cases where $[ was used instead of $].
(RT 73033 by Father Chrysostomos <sprout@cpan.org>)
+ Typo fix in docs (P Ramakers <pramakers@gmail.com>)
+ Add an explicite 1 to end the main module; otherwise it may fail under Mason
(Luciano Rocha <luciano.rocha@booking.com>)
from 1.96nb1 to 2.00.01 (upstream 2.0001).
Upstream changes:
2.0001 Wed Jun 20 19:40:05 IDT 2012
- Remove the leftover perl-libxml-libxml.h from the distribution.
- https://rt.cpan.org/Ticket/Display.html?id=77924
- Thanks to Martin Mann for the report.
2.0000 Tue Jun 19 23:04:23 IDT 2012
- Fix warnings that appear when compiling using the clang C compiler by
default.
- https://rt.cpan.org/Ticket/Display.html?id=77802
- Thanks to duvny for the report, and to seldon, doy and Zefram
for their assistance in fixing the warnings.
- Fix tests and run-time errors when Hash::FieldHash is installed
by no longer using Hash::FieldHash.
- https://rt.cpan.org/Ticket/Display.html?id=77576
- Thanks to hsk@fli-leibniz.de for reporting it, and to
Father Chrysostomos ( http://search.cpan.org/~sprout/ ) and
Mons Anderson for some diagnosis.
1.99 Thu May 31 10:21:23 IDT 2012
- Apply a patch from Mons Anderson ( mons@cpan.org ) for fixing the
overloading.
- t/62overload.t
- Thanks to Mons.
- Fix test failures (and general functionality) on 64-bit big endian
platforms
- https://rt.cpan.org/Ticket/Display.html?id=77340
- Thanks to Gregor Herrmann and Niko Tyni from the
Debian Perl group.
1.98 Sun May 13 21:02:14 IDT 2012
- Make sure parse_string() and load_xml() also accept references to
strings (to avoid unnecessary copying).
- See: https://rt.cpan.org/Ticket/Display.html?id=64051
1.97 Mon Apr 30 20:31:24 IDT 2012
- Apply a test and a fix to correct keep_blanks having no effect on
parse_balanced_chunk.
- fixes https://rt.cpan.org/Ticket/Display.html?id=76696
- Add t/30keep_blanks.t .
- Thanks to SREZIC for the report, the test and the fix.
from 0.96nb6 to 0.99.
pkgsrc changes:
- importing new package for extracted XML::SAX::Base module
Upstream changes (not noted by Author!):
- extracted XML::SAX::Base and XML::SAX::Exception module
- improved/fixed CDSect parsing
textproc/p5-XML-SAX-Base, because scheduled update of XML::SAX to 0.96
in textproc/p5-XML-SAX extracted XML::SAX::Base into an own distribution
again.
This module has a very simple task - to be a base class for PerlSAX drivers
and filters. It's default behaviour is to pass the input directly to the
output unchanged. It can be useful to use this module as a base class so
you don't have to, for example, implement the characters() callback.
from 0.88 to 0.90.
Upstream changes since 0.88:
0.90 - 2012-06-15, H.Merijn Brand
* Drop 5.005 support (5.6.1 is now minimum)
* Introduce record_number
* Try harder to get the complete input parsed for the current record
when hitting errors on parsing seekable IO (only works in 5.14.0 and up)
* Tested with perl 5.6.1 .. 5.17.0 (99 versions of perl) on Linux, HP-UX,
AIX, and Windows
* SvSETMAGIC was missing for tied variables causing weird actions at a
distance, e.g. in printf (Thanks TonyC for finding this)
* UTF8 flag was not always reset when using bound variables (TonyC)
CPAN into textproc/p5-Pod-Eventual.
POD is a pretty simple format to write, but it can be a big pain to deal
with reading it and doing anything useful with it. Most existing POD
parsers care about semantics, like whether a =item occurred after an =over
but before a back, figuring out how to link a L<>, and other things like
that.
Pod::Eventual is much less ambitious and much more stupid. Fortunately,
stupid is often better. (That's what I keep telling myself, anyway.)
Pod::Eventual reads line-based input and produces events describing each
POD paragraph or directive it finds. Once complete events are immediately
passed to the handle_event method. This method should be implemented by
Pod::Eventual subclasses. If it isn't, Pod::Eventual's own handle_event
will be called, and will raise an exception.
textproc/p5-String-Errf.
String::Errf provides errf, a simple string formatter that works something
like sprintf. It is implemented using String::Formatter and Sub::Exporter.
from CPAN into textproc/p5-String-Formatter.
String::Formatter is a tool for building sprintf-like formatting routines.
It supports named or positional formatting, custom conversions, fixed
string interpolation, and simple width-matching out of the box. It is easy
to alter its behavior to write new kinds of format string expanders. For
most cases, it should be easy to build all sorts of formatters out of the
options built into String::Formatter.
* 9242 ICU4C fails to parse pattern containing EEE properly whilst ICU4J parses it successfully
* 9258 Number format performance
* 9283 uregex_open fails for look-behind assertion + case-insensitive
* 9284 Date format roundtrip test failure
* 9295 HPPA endianness detection
* 9313 Problem building ICU4C with Cygwin/MSVC
* 9332 Linux s390 endianness detection
* 9336 Problem building ICU4C 49.1.1 on zOS
2012-06-24 Raptor2 Version 2.0.8 Released
Added support for RDFa 1.1 via updated librdfa
Multiple portability fixes for Windows and Solarises. (Daniel Richard G.)
Multiple minor fixes and improvements
Fixed reported issues: 0000381, 0000487, 0000505 and 0000507
2.8.0: May 23 2012
Features: - add lzma compression support (Anders F Bjorklund)
Documentation: xmlcatalog: Add uri and delegateURI to possible add types in man page. (Ville Skyttä), Update README.tests (Daniel Veillard), URI handling code is not OOM resilient (Daniel Veillard), Fix an error in comment (Daniel Veillard), Fixed bug #617016 (Daniel Mustieles), Fixed two typos in the README document (Daniel Neel), add generated html files (Anders F Bjorklund), Clarify the need to use xmlFreeNode after xmlUnlinkNode (Daniel Veillard), Improve documentation a bit (Daniel Veillard), Updated URL for lxml python bindings (Daniel Veillard)
Portability: Restore code for Windows compilation (Daniel Veillard), Remove git error message during configure (Christian Dywan), xmllint: Build fix for endTimer if !defined(HAVE_GETTIMEOFDAY) (Patrick R. Gansterer), remove a bashism in confgure.in (John Hein), undef ERROR if already defined (Patrick R. Gansterer), Fix library problems with mingw-w64 (Michael Cronenworth), fix windows build. ifdef addition from bug 666491 makes no sense (Rob Richards), prefer native threads on win32 (Sam Thursfield), Allow to compile with Visual Studio 2010 (Thomas Lemm), Fix mingw's snprintf configure check (Andoni Morales), fixed a 64bit big endian issue (Marcus Meissner), Fix portability failure if netdb.h lacks NO_ADDRESS (Daniel Veillard), Fix windows build from lzma addition (Rob Richards), autogen: Only check for libtoolize (Colin Walters), Fix the Windows build files (Patrick von Reth), 634846 Remove a linking option breaking Windows VC10 (Daniel Veillard), 599241 fix an initialization problem on Win64 (Andrew W. Nosenko), fix win build (Rob Richards)
Bug fixes: Part for rand_r checking missing (Daniel Veillard), Cleanup on randomization (Daniel Veillard), Fix undefined reference in python module (Pacho Ramos), Fix a race in xmlNewInputStream (Daniel Veillard), Fix weird streaming RelaxNG errors (Noam), Fix various bugs in new code raised by the API checking (Daniel Veillard), Fix various problems with "make dist" (Daniel Veillard), Fix a memory leak in the xzlib code (Daniel Veillard), HTML parser error with <noscript> in the <head> (Denis Pauk), XSD: optional element in complex type extension (Remi Gacogne), Fix html serialization error and htmlSetMetaEncoding() (Daniel Veillard), Fix a wrong return value in previous patch (Daniel Veillard), Fix an uninitialized variable use (Daniel Veillard), Fix a compilation problem with --minimum (Brandon Slack), Remove redundant and ungarded include of resolv.h (Daniel Veillard), xinclude with parse="text" does not use the entity loader (Shaun McCance), Allow to parse 1 byte HTML files (Denis Pauk), Patch that fixes the skipping of the HTML_PARSE_NOIMPLIED flag (Martin Schröder), Avoid memory leak if xmlParserInputBufferCreateIO fails (Lin Yi-Li), Prevent an infinite loop when dumping a node with encoding problems (Timothy Elliott), xmlParseNodeInContext problems with an empty document (Tim Elliott), HTML element position is not detected propperly (Pavel Andrejs), Fix an off by one pointer access (Jüri Aedla), Try to fix a problem with entities in SAX mode (Daniel Veillard), Fix a crash with xmllint --path on empty results (Daniel Veillard), Fixed bug #667946 (Daniel Mustieles), Fix a logic error in Schemas Component Constraints (Ryan Sleevi), Fix a wrong enum type use in Schemas Types (Nico Weber), Fix SAX2 builder in case of undefined attributes namespace (Daniel Veillard), Fix SAX2 builder in case of undefined element namespaces (Daniel Veillard), fix reference to STDOUT_FILENO on MSVC (Tay Ray Chuan), fix a pair of possible out of array char references (Daniel Veillard), Fix an allocation error when copying entities (Daniel Veillard), Make sure the parser returns when getting a Stop order (Chris Evans), Fix some potential problems on reallocation failures(parser.c) (Xia Xinfeng), Fix a schema type duration comparison overflow (Daniel Veillard), Fix an unimplemented part in RNG value validation (Daniel Veillard), Fix missing error status in XPath evaluation (Daniel Veillard), Hardening of XPath evaluation (Daniel Veillard), Fix an off by one error in encoding (Daniel Veillard), Fix RELAX NG include bug #655288 (Shaun McCance), Fix XSD validation bug #630130 (Toyoda Eizi), Fix some potential problems on reallocation failures (Chris Evans), __xmlRaiseError: fix use of the structured callback channel (Dmitry V. Levin), __xmlRaiseError: fix the structured callback channel's data initialization (Dmitry V. Levin), Fix memory corruption when xmlParseBalancedChunkMemoryInternal is called from xmlParseBalancedChunk (Rob Richards), Small fix for previous commit (Daniel Veillard), Fix a potential freeing error in XPath (Daniel Veillard), Fix a potential memory access error (Daniel Veillard), Reactivate the shared library versionning script (Daniel Veillard)
Improvements: use mingw C99 compatible functions {v}snprintf instead those from MSVC runtime (Roumen Petrov), New symbols added for the next release (Daniel Veillard), xmlTextReader bails too quickly on error (Andy Lutomirski), Use a hybrid allocation scheme in xmlNodeSetContent (Conrad Irwin), Use buffers when constructing string node lists. (Conrad Irwin), Add HTML parser support for HTML5 meta charset encoding declaration (Denis Pauk), wrong message for double hyphen in comment XML error (Bryan Henderson), Fix "make tst" to grab lzma lib too (Daniel Veillard), Add "whereis" command to xmllint shell (Ryan), Improve xmllint shell (Ryan), add function xmlTextReaderRelaxNGValidateCtxt() (Noam Postavsky), Add --system support to autogen.sh (Daniel Veillard), Add hash randomization to hash and dict structures (Daniel Veillard), included xzlib in dist (Anders F Bjorklund), move xz/lzma helpers to separate included files (Anders F Bjorklund), add generated devhelp files (Anders F Bjorklund), add XML_WITH_LZMA to api (Anders F Bjorklund), autogen.sh: Honor NOCONFIGURE environment variable (Colin Walters), Improve the error report on undefined REFs (Daniel Veillard), Add exception for new W3C PI xml-model (Daniel Veillard), Add options to ignore the internal encoding (Daniel Veillard), testapi: use the right type for the check (Stefan Kost), various: handle return values of write calls (Stefan Kost), testWriter: xmltefan Kost), xmlmemory: add a cast as size_t has no portable printf modifier (Stefan Kost), __xmlRaiseError: remove redundant schannel initialization (Dmitry V. Levin), __xmlRaiseError: do cheap code check early (Dmitry V. Levin)
Cleanups: Cleanups be Weber), Cleanups of lzma support (Daniel Veillard), Augment the list of ignored files (Daniel Veillard), python: remove unused variable (Stefan Kost), python: flag two unused args (Stefan Kost), configure: acconfig.h is deprecated since autoconf-2.50 (Stefan Kost), xpath: remove unused variable (Stefan Kost)
== 1.5.4 / unreleased
* Features
* The "nokogiri" script now has more verbose output when passed the `--rng` option. #675 (Thanks, Dan Radez!)
* Build support on hardened Debian systems that use `-Werror=format-security`. #680.
* Better build support for systems with pkg-config. #584
* Better build support for systems with multiple iconv installations.
* Bugfixes
* Segmentation fault when creating a comment node for a DocumentFragment. #677, #678.
* Treat '.' as xpath in at() and search(). #690
* [MRI, Security] Default parse options for XML documents were
changed to not make network connections during document parsing,
to avoid XXE vulnerability. #693
To re-enable this behavior, the configuration method `nononet` may
be called, like this:
Nokogiri::XML::Document.parse(xml) { |config| config.nononet }
Insert your own joke about double-negatives here.
TyXML is an OCaml library that allows you to build XML trees whose validity is
insured by the typechecker. It supports XHTML 1.0 and 1.1, HTML5 and SVG
(partial).
2.8.0: May 23 2012
Features: - add lzma compression support (Anders F Bjorklund)
Documentation: xmlcatalog: Add uri and delegateURI to possible
add types in man page. (Ville Skyttä), Update README.tests
(Daniel Veillard), URI handling code is not OOM resilient
(Daniel Veillard), Fix an error in comment (Daniel Veillard),
Fixed bug #617016 (Daniel Mustieles), Fixed two typos in the
README document (Daniel Neel), add generated html files (Anders
F Bjorklund), Clarify the need to use xmlFreeNode after
xmlUnlinkNode (Daniel Veillard), Improve documentation a bit
(Daniel Veillard), Updated URL for lxml python bindings (Daniel
Veillard)
Portability: Restore code for Windows compilation (Daniel
Veillard), Remove git error message during configure (Christian
Dywan), xmllint: Build fix for endTimer if !defined(HAVE_GETTIMEOFDAY)
(Patrick R. Gansterer), remove a bashism in confgure.in (John
Hein), undef ERROR if already defined (Patrick R. Gansterer),
Fix library problems with mingw-w64 (Michael Cronenworth), fix
windows build. ifdef addition from bug 666491 makes no sense
(Rob Richards), prefer native threads on win32 (Sam Thursfield),
Allow to compile with Visual Studio 2010 (Thomas Lemm), Fix
mingw's snprintf configure check (Andoni Morales), fixed a
64bit big endian issue (Marcus Meissner), Fix portability
failure if netdb.h lacks NO_ADDRESS (Daniel Veillard), Fix
windows build from lzma addition (Rob Richards), autogen: Only
check for libtoolize (Colin Walters), Fix the Windows build
files (Patrick von Reth), 634846 Remove a linking option breaking
Windows VC10 (Daniel Veillard), 599241 fix an initialization
problem on Win64 (Andrew W. Nosenko), fix win build (Rob
Richards)
Bug fixes: Part for rand_r checking missing (Daniel Veillard),
Cleanup on randomization (Daniel Veillard), Fix undefined
reference in python module (Pacho Ramos), Fix a race in
xmlNewInputStream (Daniel Veillard), Fix weird streaming RelaxNG
errors (Noam), Fix various bugs in new code raised by the API
checking (Daniel Veillard), Fix various problems with "make
dist" (Daniel Veillard), Fix a memory leak in the xzlib code
(Daniel Veillard), HTML parser error with <noscript> in the
<head> (Denis Pauk), XSD: optional element in complex type
extension (Remi Gacogne), Fix html serialization error and
htmlSetMetaEncoding() (Daniel Veillard), Fix a wrong return
value in previous patch (Daniel Veillard), Fix an uninitialized
variable use (Daniel Veillard), Fix a compilation problem with
--minimum (Brandon Slack), Remove redundant and ungarded include
of resolv.h (Daniel Veillard), xinclude with parse="text" does
not use the entity loader (Shaun McCance), Allow to parse 1
byte HTML files (Denis Pauk), Patch that fixes the skipping of
the HTML_PARSE_NOIMPLIED flag (Martin Schröder), Avoid memory
leak if xmlParserInputBufferCreateIO fails (Lin Yi-Li), Prevent
an infinite loop when dumping a node with encoding problems
(Timothy Elliott), xmlParseNodeInContext problems with an empty
document (Tim Elliott), HTML element position is not detected
propperly (Pavel Andrejs), Fix an off by one pointer access
(Jüri Aedla), Try to fix a problem with entities in SAX mode
(Daniel Veillard), Fix a crash with xmllint --path on empty
results (Daniel Veillard), Fixed bug #667946 (Daniel Mustieles),
Fix a logic error in Schemas Component Constraints (Ryan Sleevi),
Fix a wrong enum type use in Schemas Types (Nico Weber), Fix
SAX2 builder in case of undefined attributes namespace (Daniel
Veillard), Fix SAX2 builder in case of undefined element
namespaces (Daniel Veillard), fix reference to STDOUT_FILENO
on MSVC (Tay Ray Chuan), fix a pair of possible out of array
char references (Daniel Veillard), Fix an allocation error when
copying entities (Daniel Veillard), Make sure the parser returns
when getting a Stop order (Chris Evans), Fix some potential
problems on reallocation failures(parser.c) (Xia Xinfeng), Fix
a schema type duration comparison overflow (Daniel Veillard),
Fix an unimplemented part in RNG value validation (Daniel
Veillard), Fix missing error status in XPath evaluation (Daniel
Veillard), Hardening of XPath evaluation (Daniel Veillard),
Fix an off by one error in encoding (Daniel Veillard), Fix
RELAX NG include bug #655288 (Shaun McCance), Fix XSD validation
bug #630130 (Toyoda Eizi), Fix some potential problems on
reallocation failures (Chris Evans), __xmlRaiseError: fix use
of the structured callback channel (Dmitry V. Levin),
__xmlRaiseError: fix the structured callback channel's data
initialization (Dmitry V. Levin), Fix memory corruption when
xmlParseBalancedChunkMemoryInternal is called from
xmlParseBalancedChunk (Rob Richards), Small fix for previous
commit (Daniel Veillard), Fix a potential freeing error in
XPath (Daniel Veillard), Fix a potential memory access error
(Daniel Veillard), Reactivate the shared library versionning
script (Daniel Veillard)
Improvements: use mingw C99 compatible functions {v}snprintf
instead those from MSVC runtime (Roumen Petrov), New symbols
added for the next release (Daniel Veillard), xmlTextReader
bails too quickly on error (Andy Lutomirski), Use a hybrid
allocation scheme in xmlNodeSetContent (Conrad Irwin), Use
buffers when constructing string node lists. (Conrad Irwin),
Add HTML parser support for HTML5 meta charset encoding
declaration (Denis Pauk), wrong message for double hyp"whereis"
command to xmllint shell (Ryan), Improve xmllint shell (Ryan),
add function xmlTextReaderRelaxNGValidateCtxt() (Noam Postavsky),
Add --system support to autogen.sh (Daniel Veillard), Add hash
randomization to hash and dict structures (Daniel Veillard),
included xzlib in dist (Anders F Bjorklund), move xz/lzma
helpers to separate included files (Anders F Bjorklund), add
generated devhelp files (Anders F Bjorklund), add XML_WITH_LZMA
to api (Anders F Bjorklund), autogen.sh: Honor NOCONFIGURE
environment variable (Colin Walters), Improve the error report
on undefined REFs (Daniel Veillard), Add exception for new W3C
PI xml-model (Daniel Veillard), Add options to ignore the
internal encoding (Daniel Veillard), testapi: use the right
type for the check (Stefan Kost), various: handle return values
of write calls (Stefan Kost), testWriter:
xmlTextWriterWriteFormatElement wants an int instead of a long
int (Stefan Kost), runxmlconf: update to latest testsuite
version (Stefan Kost), configure: add -Wno-long-long to CFLAGS
(Stefan Kost), configure: support silent automake rules if
possible (Stefan Kost), xmlmemory: add a cast as size_t has no
portable printf modifier (Stefan Kost), __xmlRaiseError: remove
redundant schannel initialization (Dmitry V. Levin), __xmlRaiseError:
do cheap code check early (Dmitry V. Levin)
Cleanups: Cleanups before 2.8.0-rc2 (Daniel Veillard), Avoid
an extra operation (Daniel Veillard), Remove vestigial
de-ANSI-fication support. (Javier Jardón), autogen.sh: Fix
typo (Javier Jardón), Do not use unsigned but unsigned int
(Daniel Veillard), Remove two references to u_short (Daniel
Veillard), Fix -Wempty-body warning from clang (Nico Weber),
Cleanups of lzma support (Daniel Veillard), Augment the list
of ignored files (Daniel Veillard), python: remove unused
variable (Stefan Kost), python: flag two unused args (Stefan
Kost), configure: acconfig.h is deprecated since autoconf-2.50
(Stefan Kost), xpath: remove unused variable (Stefan Kost)
== 1.5.3 / 2012-06-01
* Features
* Support for "prefixless" CSS selectors ~, > and + like jQuery
supports. #621, #623. (Thanks, David Lee!)
* Attempting to improve installation on homebrew 0.9 (with regards
to iconv). Isn't package management convenient?
* Bugfixes
* Custom xpath functions with empty nodeset arguments cause a
segfault. #634.
* Nokogiri::XML::Node#css now works for XML documents with default
namespaces when the rule contains attribute selector without
namespace.
* Fixed marshalling bugs around how arguments are passed to (and
returned from) XSLT custom xpath functions. #640.
* Nokogiri::XML::Reader#outer_xml is broken in JRuby #617
* Nokogiri::XML::Attribute on JRuby returns a nil namespace #647
* Nokogiri::XML::Node#namespace= cannot set a namespace without a
prefix on JRuby #648
* [JRuby] 1.9 mode causes dead lock while running rake #571
* HTML::Document#meta_encoding does not raise exception on docs with
malformed content-type. #655
* Fixing segfault related to unsupported encodings in in-context
parsing on 1.8.7. #643
* [JRuby] Concurrency issue in XPath parsing. #682
commit 40e6cde2d3e1a4f9f6bc14a243b22b4ae3311ca2
Author: Thomas Leitner <t_leitner@gmx.at>
Date: Wed May 9 19:53:47 2012 +0200
Updated release notes and version number
doc/news/release_0_13_6.page
doc/sidebar.template
lib/kramdown/version.rb
man/man1/kramdown.1.erb
commit 7f66dca331f78d84ef22c489c755360b304cb41f
Author: Thomas Leitner <t_leitner@gmx.at>
Date: Tue May 8 21:20:46 2012 +0200
Fixed bug RF#29557: Parsing fails with lists with empty list item
If a list item is completely empty, it needs to be handled specially,
which is done now.
lib/kramdown/converter/kramdown.rb
lib/kramdown/parser/kramdown/list.rb
test/testcases/block/08_list/special_cases.html
test/testcases/block/08_list/special_cases.text
commit ac00ea8ea590ece6c7a6c53b30920114f349b79b
Author: Thomas Leitner <t_leitner@gmx.at>
Date: Tue May 8 20:02:43 2012 +0200
Fixed problem with CDATA section in non-XHTML pages
The HTML parser does not parse CDATA in script tags and
therefore the CDATA tags were displayed in MathJax output.
By commenting out the CDATA tags (with LaTeX comment syntax)
we avoid this problem.
lib/kramdown/converter/html.rb
lib/kramdown/parser/html.rb
test/testcases/block/15_math/normal.html
= Change Log
Below is a complete listing of changes for each revision of FasterCSV.
== 1.5.5
* Removed setup.rb due to licensing concerns.
* Updated and clarified Copyright notices.
* Improved stray quoting error message (patch by Edvard Majakari).
* Improved line ending detection algorithm (patch by Alexey Smolianinov).
2012-05-12 (1.7.3)
* Work around Rubinius encoding issues using iconv for conversion instead.
2012-05-11 (1.7.2)
* Fix some encoding issues, that cause problems for the pure and the
extension variant in jruby 1.9 mode.
2012-04-28 (1.7.1)
* Some small fixes for building
* Backport gnulib change to deal with removal of gets function.
This is a build-time-only fix. (Mentioned in Fedora bug #821791)
* Version 1.1.1 - May 2012, by Martin von Gagern
* Added Serbian translation.
* Updated Danish and Vietnamese translations.
* Work around a bug in the formatting of the man page.
(Debian bug #669340)
It often happens that you have text data in Unicode, but you need
to represent it in ASCII. For example when integrating with legacy
code that doesn't support Unicode, or for ease of entry of non-Roman
names on a US keyboard, or when constructing ASCII machine identifiers
from human-readable Unicode strings that should still be somewhat
intelligeble (a popular example of this is when making an URL slug
from an article title).
Note that this module generally produces better results than simply
stripping accents from characters (which can be done in Python with
built-in functions). It is based on hand-tuned character mappings
that for example also contain ASCII approximations for symbols and
non-Latin alphabets.
This is a Python port of Text::Unidecode Perl module by Sean M.
Burke.
2012-05-13 Rasqal Version 0.9.29 Released
Supports all of SPARQL 1.0 by passing 100% of the approved tests
Added support for XSD date
Made XSD dateTime and XSD date equality and comparison work
Make limit and offset check work properly in a subquery
Correctly handle errors during aggregation expressions evaluation
Fix blank node generation when made in a CONSTRUCT to match SPARQL
Added SPARQL 1.1 draft UUID() and STRUUID() support
Requires Raptor 2.0.7+
RDQL support will be removed in the next release (0.9.30)
Made other fixes and improvements including fixing reported issues:
0000493, 0000494 0000504
Release 2.0.3 - 2012/05/29
--------------------------
Improvements
^^^^^^^^^^^^
* [doc] Added about release procedure.
* Removed restriction that the max number of opened files is 4096.
* [experimental] Added table plugin.
* [doc] Added more descriptions about :doc:`/commmands/select` command.
* [doc] Made execution example copy & paste friendly.
* [windows] Supported build with Visual Studio 2010 Express and
CMake. See :doc:`/install/windows` about details.
* [doc][solaris] Added a document about building on Solaris.
See :doc:`/install/solaris` about details.
* [doc][yum] Updated epel-release package version.
[Reported by IWAI, Masaharu]
* [doc][cenos6] Disabled Repoforge for Munin for CentOS 6.
[Reported by IWAI, Masaharu]
* Started distributing source archive in zip format.
* [munin] groonga_dist Munin plugin supported an object that has
separated files.
* Started using Travis CI.
* [yum] Changed RPM package name that provides yum repository from
groonga-repository to groonga-release to follow RPM package name
convension such as centos-release and fedora-release.
Fixes
^^^^^
* [doc] Fixed a command to update yum repository.
[Suggested by IWAI, Masaharu]
* [deb] Fixed a bug that log_repoen command in logrotate uses wrong protocol.
* Fixed broken ERROR tag in XML response.
[#1363] [GitHub#13] [Patch by IWAI, Masaharu]
* Fixed a bug that grn_ctx isn't fully cleared by grn_ctx_fin().
* Fixed a bug that ``&!`` set operation doesn't work with grouped
expression. [#1372]
* Fixed a bug that a record key registered via index source isn't normalized.
* Minor changes to the documentation
* Strip potentially dangerous ENTITY declarations in encoded feeds
* feedparser will now try to continue parsing despite compression errors
* Fix issue 321 a little more (the initial fix missed a code path)
* Issue 337 (`_parse_date_rfc822()` returns None on single-digit days)
* Issue 343 (add magnet links to the ACCEPTABLE_URI_SCHEMES)
* Issue 344 (handle deflated data with no headers nor checksums)
* Issue 347 (support `itunes:image` elements with a `url` attribute)
* Fix mistakes, typos, and bugs in the unit test code
* Fix crash in Python 2.4 and 2.5 if the feed has a UTF_32 byte order mark
* Replace the RFC822 date parser for more extensibility
* Issue 304 (handle RFC822 dates with timezones like GMT+00:00)
* Issue 309 (itunes:keywords should be split by commas, not whitespace)
* Issue 310 (pubDate should map to `published`, not `updated`)
* Issue 313 (include the compression test files in MANIFEST.in)
* Issue 314 (far-flung RFC822 dates don't throw OverflowError on x64)
* Issue 315 (HTTP server for unit tests runs on 0.0.0.0)
* Issue 321 (malformed URIs can cause ValueError to be thrown)
* Issue 322 (HTTP redirect to HTTP 304 causes SAXParseException)
* Issue 323 (installing chardet causes 11 unit test failures)
* Issue 325 (map `description_detail` to `summary_detail`)
* Issue 326 (Unicode filename causes UnicodeEncodeError if locale is ASCII)
* Issue 327 (handle RFC822 dates with extraneous commas)
* Issue 328 (temporarily map `updated` to `published` due to issue 310)
* Issue 329 (escape backslashes in Windows path in docs/introduction.rst)
* Issue 331 (don't escape backslashes that are in raw strings in the docs)
Due to unicode in one of the PLIST files, the package failed during packaging
due to a libarchive translation error on DragonFly. Apparently Linux suffers
from this as well.
The last update was 9 years ago. Updating to current version fixes the
problem for DragonFly. Linux restriction removed under the assumption that
it also works now.
Due to unicode in one of the PLIST files, the package failed during packaging
due to a libarchive translation error on DragonFly. Apparently Linux suffers
from this as well.
The last update was 9 years ago. Updating to current version fixes the
problem for DragonFly. Linux restriction removed under the assumption that
it also works now.
Due to unicode in one of the PLIST files, the package failed during packaging
due to a libarchive translation error on DragonFly. Apparently Linux suffers
from this as well.
The last update was 9 years ago. Updating to current version fixes the
problem for DragonFly. Linux restriction removed under the assumption that
it also works now.
The FlightCrew files all use DOS line endings.
The patches all use unix line endings.
All source files have to have the line endings converted before applying
a patch to them. The last patch added 2012-01-16 to fix build with Boost
wasn't applied to a converted source file and thus the package failed in
the patch phase.
Three main modules and some supporting program files are contained. For
more details read following POD documentations:
Text::LineFold - Line Folding for Plain Text
Unicode::GCString - String as Sequence of UAX #29 Grapheme Clusters
Unicode::LineBreak - UAX #14 Unicode Line Breaking Algorithm
1.57 17 Dec 2011
[FIXES]
- Test for undef streams instead of truth, to allow streams like '' or '0'
Thanks to Thorsten Schwander for the patch
- Failed to parse PDF 1.5 cross reference streams where a
1024-byte boundary happened to fall between "endstream" and
"endobj" do to a logic error.
Thanks to Thorsten Schwander for the report and fix suggestion
1.56 13 Dec 2011
[FIXES]
- Workaround for corrupt PDFs that have 'n' records in their index that point to byte zero
of the file. Silently treat those as 'f' records. Yet another case of Acrobat supporting
broken PDFs, so the rest of us have to support them too...
Thanks to Mark Hunnibell for a sample PDF that demonstrated the problem
Pkgsrc changes:
---------------
Deal with /usr/bin/env python
Upstream changes:
-----------------
0.9.9 final 120131
- FEATURE: Implemented API for ``MarginRule`` objects inside ``CSSPageRule``, see http://www.w3.org/TR/css3-page/. You can also use e.g. ``CSSPageRule['@top-left']`` to retrieve the MarginRule it it is set etc. All dict like methods should be there. If a margin is set twice or more all properties are merged into a single margin rule. Double set properties are all kept though (see below).
- FEATURE: ``parseStyle()`` has optional parameter ``validate=False`` now too to disable validation (default is always ``True``).
- FEATURE: ``CSSStyleDeclaration.setProperty`` has new option ``replace=True``. if True (DEFAULT) the given property will replace a present property. If False a new property will be added always. The difference to `normalize` is that two or more properties with the same name may be set, useful for e.g. stuff like::
background: red;
background: rgba(255, 0, 0, 0.5);
which defines the same property but only capable UAs use the last property value, older ones use the first value.
+ CHANGE: @rules attribute ``atkeyword`` value is now normalized. The actual keyword (example ``@IMPorT``) is kept and is optionally reserialized but in the example ``atkeyword == '@import'``
- BUGFIX: 'auto' is now an invalid CSSPageRule pagename.
- BUGFIX: Fixed issue for GoogleAppEngine (GAE) which somehow handles codecs differently. ``parseUrl`` should work now.
0.9.8
-----
0.9.8 final 111210
- FEATURE: Feature Request (#4) to be able to disable validation of a stylesheet has been implemented. Add Parameter ``validate=False`` for parsing.
+ BUGFIX: Fixed#5 Unicode escaping inside strings. Thanks to Simon Sapin
+ BUGFIX: The integer is optional in counter-reset and counter-increment, and not only on the first counter. Thanks to Simon Sapin
+ BUGFIX: Fix for unicode replacements by Denis Bilenko, thanks! https://bitbucket.org/cthedot/cssutils/pull-request/1/fix-a-bug-in-regex-which-accidentally
- IMPROVEMENT: ``parseStyle`` moved to CSSParser, thanks to Simon Sapin
0.9.8a3 110727
+ BUGFIX: Fixed validation of ``size`` property (thanks to Simon Sapin)
+ BUGFIX: Fixed Issue #55 (thanks to Simon Sapin): `outline-color` property was missing from validation.
+ BUGFIX: Fixed resolution of encoding detection of a stylesheet which did not use @charset in certain circumstances (mainly when imported sheets use different encoding than importing one which should be quite rare actually).
- FEATURE: Added ``URIValue.absoluteUri`` (thanks to Simon Sapin)
- FEATURE: Issue #53 feature request: Added new Preference option ``cssutils.ser.prefs.indentClosingBrace``. Defines if closing brace of block is indented to match indentation of the block (default) oder match indentation of selector.
- FEATURE: Feature request: Added new Preference option ``cssutils.ser.prefs.omitLeadingZero``. Defines if values between -1 and 1 should omit the 0, like ``.5px``. Minified settings do this, else 0 is kept by default.
+ CHANGE (minor): Some error messages have slightly changed due to a simpler compatibility to Python 3. Problem are any ``u'...'`` texts inside error messages which now are simplified, some without and quotes. Changed are e.g. error messages by ``Property``.
- **IMPROVEMENT**: Python 3 support. At least the unittests run in Python 2.5, 2.6, 2.7, 3.2 and Jython 2.5.1 now. Both encutils (with support by Fredrik Hedman, thanks!) and cssutils (thanks to Jaraco) and the CSS codec (thanks to Walter Dörwald) seem to work with Python 3 (tested on Python 3.2.1 Win64). Tests use Mock instead of MiniMock now as former is available for Python 2.x and 3.x.
- **IMPROVEMENT**: Parsing of longer (and probably invalid) ``font`` or ``font-family`` values was *extremely* slow due to a very complex regex. This has been changed and parsing of specific stylesheets using these values should be much faster now. (``macros[Profiles.CSS_LEVEL_2]['font-family']`` is gone so if you used this in your own validation modules you need to check the source in `profiles.py`.)
- IMPROVEMENT: Fixed Issue #54 (thanks to Simon Sapin): Short hand like `#f80` color value object have correct red, green and blue property values now. Also ``hsl()`` and ``hsla()`` colors report (almost) correct values (due to rounding problems).
- **Source control has moved to bitbucket https://bitbucket.org/cthedot/cssutils**. Older Issues are currently still at Google Code, newer at Bitbucket. Please do not use Google Code for new issue reports anymore!
0.9.8a2 110611
- BUGFIX: Fixed Issue #59 which showed a rather strange problem with longer space separated lists of font-family values being so slow to actually stop parsing.
- BUGFIX/IMPROVEMENT: Fixed Issue #48. ``CSSParser.parseUrl()`` uses the defined fetcher of this parser *for the initial stylesheet* at url too and not just the imported sheets *from* this sheet.
- BUGFIX: Fixed Issue #50 which prevented cssutils parsing the acid2.css file correctly. Problem were selectors starting directly with ``[class]`` (an attribute selector).
+ **API CHANGE (major)**
(Known) named colors are parsed as ColorValue objects now. These are the 16 simple colors (black, white, etc) and `transparent` but not all Extended color keywords yet. Also changed ``ColorValue.type`` to ``Value.COLOR_VALUE``. ColorValue has additional properties ``red, green, blue, alpha`` and ``colorType`` which is one of IDENT, HASH or FUNCTION for now.
+ API CHANGE (minor)
Removed already DEPRECATED ``cssutils.parse`` and ``CSSParser.parse``. Use the more specific functions/methods ``parseFile parseString parseUrl`` instead.
Removed already DEPRECATED ``cssutils.log.setlog`` and ``.setloglevel``. Use ``.setLog`` and ``.setLevel`` instead.
Removed already DEPRECATED ``cssutils.ser.keepUnkownAtRules`` (note the typo). Use ``.keepUnknownAtRules`` instead.
- IMPROVEMENT: Added validation profiles for some properties from `CSS Backgrounds and Borders Module Level 3 <http://www.w3.org/TR/css3-background/>`__, `CSS3 Basic User Interface Module <http://www.w3.org/TR/css3-ui/#resize>`__, `CSS Text Level 3 <http://www.w3.org/TR/css3-text/>`__
mainly `cursor`, `outline`, `resize`, `box-shadow`, `text-shadow`
0.9.8a1 101212
+ **API CHANGE (major)**
replace CSSValue with PropertyValue, Value and other classes.
NEW CLASSES:
:class:`cssutils.css.PropertyValue`
replaces CSSValue and CSSValueList
- is iterable (iterates over all single Value objects which in soruce CSS might be separated by "," "/" or " "
- a comma separated list of IDENT values is no longer handled as a single String (e.g. ``Arial, sans-serif``)
:class:`cssutils.css.Value`
replaces CSSPrimitiveValue with separate ``value`` and ``type`` info (value is typed, so e.g. string for e.g. STRING, IDENT or URI values, int or float) and is base class for more specific values like:
:class:`cssutils.css.URIValue`
replaces CSSPrimitiveValue, additional attribute ``uri``
:class:`cssutils.css.DimensionValue`
replaces CSSPrimitiveValue, additional attribute ``dimension``
:class:`cssutils.css.ColorValue`
replaces CSSPrimitiveValue, additional attribute ``red``, ``green``, ``blue`` and ``alpha``
**TODO: Not yet complete, only rgb, rgba, hsl, hsla and has values use this object and color and alpha information no done yet!**
:class:`cssutils.css.CSSFunction`
replaces CSSPrimitiveValue function, not complete yet
also renamed ``ExpressionValue`` to :class:`cssutils.css.MSValue` with new API
- IMPROVEMENT/CHANGE: Validation of color values is tighter now. Values like ``hsl(1, 2, 3)`` do not validate as it must be ``hsl(1, 2%, 3%)``. This mostly effects HSL/A and RGB/A notation.
- **IMPROVEMENT**: New Value parsing and API accelerate parsing of style declarations which take about 20-30% less time now. Of course this depends on the complexity of your styles.
+ BUGFIX: fixes issue #41, #42, #45, #46
PropertyValue.value returns value without any comments now, else use PropertyValue.cssText
- FEATURE: ``cssutils.replaceUrls()`` accepts as first argument a `cssutils.css.CSSStyleSheet` but now also a
:class:`cssutils.css.CSSStyleDeclaration` object, so may be used like the following which is useful when you work with HTML style attributes::
>>> style = cssutils.parseStyle("background-image: url(1.png), url('2.png')")
>>> cssutils.replaceUrls(style, lambda url: 'prefix/'+url)
>>> print style.cssText
background-image: url(prefix/1.png), url(prefix/2.png)
(I omitted the validation error message as more than one background-image is not yet defined in the cssutils validator but does parse through without problems)
+ CHANGE: explicit `+` of any dimension, percentage of number value is kept now instead of being stripped as if put explicitly in the author SHOULD have meant something ;)
Changes in 1.0.6
* New option :break_lines for the HTML encoder (splits tokens at line
breaks). [GH-15, thanks to Etienne Massip]
* Improved speed of :line_numbers => :inline option for the HTML encoder.
* Fixed wrong HTML file type. (was :page) [GH-16, thanks to Doug Hammond]
* The CSS Scanner now highlights tokens like url(...) as :function instead of
:string. [GH-13, thanks to Joel Holdbrooks]
Release 2.0.2 - 2012/04/29
--------------------------
Improvements
^^^^^^^^^^^^
* [pkg-config] Removed needless MessagePack dependency.
* [rpm][fedora] Supported libedit. [#1325] [Suggested by IWAI, Masaharu]
* [rpm] Supported zlib and LZO. [#1324] [Patch by IWAI, Masaharu]
* [groonga] Improved daemoinzed timing. Groonga server daemonizes
after socket is listened. It means that groonga server is ready when
groonga server is daemonized. [#1326]
* [admin] Supported suggest in groonga administration page.
* [dump] Ignored MeCab tokenizer load error.
* Supported CMake.
* [load] Supported error report when a column value can't be set.
* Supported similar search. ``select --filter "column *S 'TEXT'"``
is the similar search syntax. [#1342]
* [apt][yum] Changed package sign key.
* Supported Ubuntu Precise Pangolin.
* [apt] Added a new groonga-keyring deb package for the groonga's
package sign key.
Fixes
^^^^^
* [deb][rpm] Used ``--bind-address`` option instead of deprecated
``--address`` option.
[#1320] [Patch by IWAI, Masaharu]
* [deb] Renamed groonga-server package's configuration file to
/etc/default/groonga-server from /etc/default/groonga.
* [rpm][fedora] Fixed upgrade condition in %post server.
[GitHub#11] [Patch by Daiki Ueno]
* [rpm] Removed needless change logs. [#1328] [Patch by IWAI, Masaharu]
* [deb][rpm] Added missing curl dependency.
[GitHub#12] [Patch by IWAI, Masaharu]
* [rpm] Removed needleess ruby package dependency from groonga package.
[#1330] [Suggested by IWAI, Masaharu]
* [deb] Added missing default values to groonga-server's
configuration file.
* Fixed a crash bug that is caused when searching with updaging very large
inverted index. [#1329]
* Fixed a bug that strings are compared as characters instead of byte string.
[#1340] [Reported by Shinya Kawaji]
.. _release-2-0-1:
Release 2.0.1 - 2012/03/29
--------------------------
Improvements
^^^^^^^^^^^^
* Supported build in other directory.
[#1298] [Reported by Kazuhiko]
* [solaris] Supported build on Solaris 11. [Reported by Kazuhiko]
* [test] Supported functional test.
* [test] Required ``--with-ruby19`` configure option for testing by Ruby.
* [dump] Supported records dump for a table that has default tokenizer.
* [suggest] Added ``similar_search`` option.
* [groonga] Removed deprecated options, ``-a``, ``--address`` and
``--admin-html-path``.
* Added more return value checks. [GitHub#9] [Reported by Markus Elfring]
* [dat] Supported term extract operation.
* Added `logos <http://groonga.org/logo/>`_ .
* Updated HTML design.
* Renamed ``grntest`` to ``groonga-benchmark``.
* Supported ``autogen.sh`` on CentOS 5.
* [linux] Added ``vm.overcommit_memory`` kernel parameter value
check. [#1289]
* ``grn_snip`` uses ``grn_obj`` mechanism. [#1054]
Fixes
^^^^^
* Fixed a bug that uninstall task doesn't uninstall installed Ruby
scripts. [#1299] [Reported by Kazuhiko]
* Added a missing Gemfile. [#1302] [Reported by Kazuhiko]
* Fixed a bug that some indexed records aren't found. The feature is
only used by mroonga. [#1303]
* [groonga] Appended missing ``-id`` to ``--server-id`` option name.
* Fixed a bug that latin1 normalization may access unexpected memory.
2012-04-28 (1.7.0)
* Add JSON::GenericObject for method access to objects transmitted via JSON.
2012-04-27 (1.6.7)
* Fix possible crash when trying to parse nil value.