Commit graph

6159 commits

Author SHA1 Message Date
gdt
20433e1220 bl3 on libiconv (from wip/libunistring)
add bl3 file (for guile2, following wip/libunistring)
2012-12-06 00:10:26 +00:00
cheusov
5547f12dc3 Update to 2j (Unfortunately upstream does not provide NEWS or CHANGES) 2012-12-05 21:10:11 +00:00
darcy
74c4593d47 Add py-sphinx-theme-cloud. 2012-12-04 18:15:41 +00:00
darcy
e35a7316a3 Add cloud theme for sphinx. 2012-12-04 15:19:52 +00:00
wen
68e7a1aa40 Update to 1.5025
Update DEPENDS

Upstream changes:
1.5025 2012-10-20 21:45:27
    [BUG FIXES]
    - Fix a bug that constants with unary operators might result in
      wrong values (thanks to @doy)

1.5024 2012-10-15 18:02:29
    [BUG FIXES]
    - Fix false assertion failure
      (This change affects only to -DDEBUGGING enabled perl)

1.5023 2012-10-15 08:22:14
    [TEST]
    - Apply issue #66 again
    - 1.5022 was identical to 1.5021 (thanks to @doy)

1.5022 2012-10-15 00:15:18
    [TEST]
    - Do not depend on extra modules in tests (issue #66, @nihen).

1.5021 2012-10-15 00:07:54
    [BUG FIXES]
    - Fix an issue that recursive call of render() may cause SEGV
      thanks to doy for reporting this issue (isseu #65).

1.5020 2012-10-14 23:06:49
    [BUG FIXES]
    - Fix deploying issues reported at 1.5017, again.
      thanks to @woremacx for reporting it.
    - Fix a bug that calling macro which encloses outer variables,
      may clobber other variables, thanks to @ktat for reporting it.

1.5019 2012-10-03 12:28:20
    [BUG FIXES]
    - Revert 1.5016's bugfix which introduced a more serious problem.
      The complete bufix will be applied to 1.5020.

1.5018 2012-09-30 13:41:13
    [FEATURES]
    - "html_builder_module" option to import HTML builders;
      functions imported with this option are wrapped by html_builder()

1.5017 2012-08-04 19:31:59
    [BUG FIXES]
    - Fix a problem on Win32

1.5016 2012-08-04 19:19:15
    [BUG FIXES]
    - Fix a bug that reloading templates could fail on deploying
    - Fix a problem on 5.17

1.5015 2012-07-13 19:31:53
    [IMPROVEMENT]
    - Enhance extensibility for custom parsers (shmorimo)

1.5014 2012-06-26 19:41:20
    [IMPROVEMENT]
    - Add scalar::split() to Bridge::Star (tokuhirom)

1.5013 2012-06-12 23:46:44
    [IMPROVEMENT]
    - Add "macro" option to Text::Xslate->new() (gunyoki)

1.5012 2012-05-21 15:52:59
    [IMPROVEMENT]
    - imporve error messages when the parser reaches EOF

1.5011 2012-05-21 15:45:00
    [BUG FIXES]
    - add warning about https://github.com/xslate/p5-Text-Xslate/issues/55
      For backword compatibility, we don't change its behavior, but
      it is likely to a problem so we warnn about it.

1.5010 2012-05-04 01:04:47
    [TEST FIXES]
    - Make `HANRESS_OPTIONS=j9 make test` work (@punytan)

1.5009 2012-03-30 09:19:18
    [IMPROVEMENT]
    - Documentation improvement

1.5008 2012-03-28 09:39:45
    [BUG FIXES]
    - Fix a typo in an error messages (issues/53, thanks to wchristian)
    - Fix an undefined behavior that giving utf8-encoded *bytes* as
      params made mojibake in use of caches
2012-12-03 15:03:02 +00:00
wen
a4dd7874bf Update to 0.66
Upstream changes:
Release 0.66 - 29 October, 2012
-------------------------------
* Fix a segmentation fault with strcat and no string limit.

Release 0.65 - 26 September, 2012
---------------------------------
* Patch to support @ and ~ in names (thanks to Philip Kime)

Release 0.64 - 8 July, 2012
---------------------------
* Patch to expand macro size limit (thanks to Philip Kime)

Release 0.63 - 12 May, 2012
---------------------------
* Patch on what to consider whitespaces (thanks to Philip Kime)
2012-12-03 14:46:02 +00:00
cheusov
86e83dc84d Update zoem to 11.166
*  zoem-11-166 released.

   *  The default search path was changed. The obsolete PREFIX/zoem/mac
      component was dropped, and PREFIX/aephea was added.  Now, if zoem and
      aephea are both configured with the same prefix for installation (e.g.
      --prefix=/usr/local or --prefix=$HOME/local), then aephea include
      -- files
      will be found automatically by zoem.

   *  set#3 can now splice into a variable (that is, the string
      refered to by a macro). This is achieved by pairing the respective
      keys {start} and {width} with appropriate values in the first
      argument to set#3. The start position is relative to an offst
      of zero, so

      \set{foo}{kaboom}
      \set{{start}{2}{width}{3}}{foo}{za}
      '\foo'

      yields 'kazam'.

   *  The example zoem solution 8q2.azm to the N queens problem
      has been updated. It now pretty-prints asciific chess boards using the
      new splice mode to set#3.

   *  Small documentation fixes.
2012-12-02 09:50:02 +00:00
adam
dc9880df64 Changes 0.95:
* Parses valid and invalid HTML documents to a tree
* Support for minidom, ElementTree (including cElementTree and lxml.etree), BeautifulSoup (deprecated) and custom simpletree output formats
* DOM to SAX converter
* Reports parse errors
* Character encoding detection
* Filtering and serializing of trees
* HTML+CSS sanitizer
* Many unit tests
2012-12-01 18:37:51 +00:00
wen
5ced506c3c Update to 4.80
Upstream changes:
4.80 Nov 1st, 2012

    [NEW FEATURES]
    - New built-in constraint_methods to test the number of values submitted for a
      particular field:

        FV_num_values(1),
        FV_num_values_between(1,2),  # inclusive

      One way that garbage can get through a Data::FormValidator profile is
      when two values are submitted when only one is intended. In this
      case, this application could end up with a values like this:

          ARRAY(0x841214c)

     Using these new constraints, you can precisely control how many values
     are allowed for each field.

    [INTERNAL]
    - Source control hosting has been moved to http://hub.darcs.net
      You can now browse, pull and fork the darcs repo through this website.


4.71 Oct 2nd, 2012

    [BUG FIXES]
    - Custom messages for built-in constraints work again. It appears that this
      was broken in 4.70, which triggered a sleeper bug.

      (Thanks to Lee Carmichael, Mark Stosberg, RT##73235)

4.70 11/11/11

    [NEW FEATURES]
    - Built-in constraints in Constraints.pm can now be renamed:

        constraint_methods => {
            first_names =>  {
                constraint_method => FV_max_length(3),
                name => 'custom_length',
            }
        },

     (Thanks to heinst@arqs.com.br for the suggestion, RT#49477)

    [INTERNALS]
    - modernize Constraints.pm and Results.pm a bit.
    - Module::Build added to configure_requires in Build.PL

4.67 11/11/11

    [INTERNALS]
    - modernize FormValidator.pm internals a bit
    - Update META.yml to exclude an internal package from getting indexed.
2012-12-01 13:57:18 +00:00
adam
293016d308 Changes 1.1.28:
Portability:
* Fix python build by using libxsltmod_la_CPPFLAGS instead of AM_CPPFLAGS,
* configure should be more careful with linker script,
* add gcrypt library in LIBADD, not LDFLAGS, as recommended
Bug fixes:
* Fix generate-id() to avoid generating the same ID,
* Fix crash with empty xsl:key/@match attribute,
* Crash when passing an uninitialized variable to document(),
* Add missing test docs to EXTRA_DIST,
* Fix regression: Default namespace not correctly used
Cleanups:
* Remove xsltTransStorageAdd and xsltTransStorageRemove from symbols.xml,
* autogen.sh cleanup,
* consistent use of xslt processor,
* Add object files in tests/plugins to .gitignore,
* Fix error on bug-165 regression test,
* Remove xsltTransStorageAdd and xsltTransStorageRemove
2012-11-27 12:17:50 +00:00
drochner
0fba10066c update to 0.6.8
change: Handle signed units
2012-11-23 17:35:00 +00:00
drochner
31043ee6a5 update to 1.77.1
too many changes to list here, see the bundled changelog
2012-11-23 17:33:36 +00:00
joerg
a888fd0740 Uses pangox. 2012-11-23 11:37:16 +00:00
joerg
aa7d735f9a Mark a bunch of functions as void reflecting the lack of return values. 2012-11-19 03:05:04 +00:00
joerg
c9e4445cd2 Fix build with new libxml2 API. 2012-11-19 03:01:44 +00:00
asau
e74da60860 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-11-18 02:25:37 +00:00
joerg
7a8f93ea3e Fix namespace placement of operator <<. 2012-11-18 01:53:07 +00:00
joerg
2d4127811f Global constants may not have non-trivial constructors. 2012-11-16 20:08:25 +00:00
joerg
9f69b78b6f Fix an obvious infinite loop. Don't redefine variables. 2012-11-16 01:07:26 +00:00
adam
65e9dc66be Changes 1.16.43:
* Bug fixes.
2012-11-14 16:43:10 +00:00
bsiegert
b2569a20c2 Apply patch-ak only on systems other than Darwin. Fixes PR#47032
(which I reported).
2012-11-13 19:02:26 +00:00
jakllsch
f76d361c61 +py-prettytable 2012-11-11 21:36:16 +00:00
jakllsch
3dbc016a66 add py-prettytable 0.6.1
A simple Python library for easily displaying tabular data in a visually
appealing ASCII table format.
2012-11-11 21:35:17 +00:00
adam
6a371338f4 Changes 50.1:
* Unicode 6.2: Turkish Lira Sign, improved word & line segmentation (BreakIterator) for symbols
* CLDR 22.1: Data coverage & quality improved across all major languages; new short width type for weekday names; new zhuyin (Bopomofo) collation for Chinese; improved data for CompactDecimalFormat & RBNF
* Time zone data: 2012h
* Ordinal-number support in MessageFormat & PluralRules
* Deprecate setLocale(locale) in PluralFormat
* Dictionary-based break iterators (word segmentation):
* Support Chinese & Japanese, use more compact dictionary format, port all but Khmer support to Java
* Update Khmer dictionary
* Change Java util.ListFormat to text.ListFormatter and other updates, use CLDR data, port to C++
* Add updated IBM-eucJP and IBM-5233 converter
* Improve number formatting performance
* C++ GenderInfo: Effective combined gender of a list of people's genders (ported from Java)
* Thread safety support cannot be removed (see the Readme)
* Default compilers: Clang is now used if available (see the Readme)
* C++ Collator API cleanup, subclassing-API-breaking changes (see the Readme)
* Add option to genrb tool for writing java resource bundle files
* Time zone format APIs
2012-11-07 20:59:50 +00:00
gls
139405d310 Ensure interpreter is properly set in all places.
Implement test target to ease further updates.
2012-11-03 20:33:04 +00:00
joerg
0ba46a2a7f Apply some void love. 2012-11-01 19:26:14 +00:00
prlw1
96f6757701 Update yelp-xsl to 3.6.1
* Added support for depth attribute on section links
* Improved various bits of the build process (Colin Walters)
* Corrected jQuery.Syntax license info (Steve Magoun)
* Updated translations
2012-10-29 12:43:21 +00:00
prlw1
229219cda7 Update itstool to 1.2.0
* Added new "join mode" for multilingual XML formats
* Correctly handle ITS version attribute
* Better handling of multiple localization notes
* XML path markers are now in dedicated comments
* Show language code when failing to get translation from PO
* Added more regression tests
* Handle UTF-8 in attribute values
* Don't output non-translatable external ref messages
* Better error handling
2012-10-29 12:41:00 +00:00
joerg
b2427e50de Disable two warnings for Clang to unbreak -Werror. 2012-10-26 20:16:44 +00:00
cheusov
f5b2d08763 Fix build failure 2012-10-25 22:47:33 +00:00
cheusov
1fcc7c4033 Remove equeue from DEPENDS. This library is now a part of ocamlnet.
Discussed with jaapb@
2012-10-25 20:18:36 +00:00
asau
1f96787c11 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-25 06:55:37 +00:00
jaapb
dc07155ac5 Updated package to its latest version, 1.2.3, and cleaned up package by
adding license, making native code support conditional on the architecture as
in other OCaml packages and adding PLIST_VARS support.

Changelog (excluding bugfixes and changes to deal with new versions of other
packages):
-  1.2.1: Revised documentation
   Addition: Pxp_event.unwrap_document
   Addition: Pxp_dtd.Entity.lookup
   Addition: node method entity_id
   Addition: Pxp_event.close_entities
   Removed: Pxp_core_types_type, Pxp_type_anchor. Pxp_core_types  has now three
   submodules A, S, I taking over the roles
   Removed: E_pinstr_member. Instead, E_pinstr events are emitted
   Renaming, and addition: `Entry_content has been renamed to
   `Entry_element_content. A new `Entry_content with different  semantics has
   been added, now conforming to a standard production.
   Improvement: The parser also accepts a BOM as UTF-8 sequence.  Also, the
   autodetection of the encoding for UTF-16 has been  enhanced
-  1.2.0test*: New ~minimization option for the  [write] and [display] methods
   (user wish).
   Improvement: better control what is printed as DTD for  document#write and
   #display
-  1.1.95: Addition of ulex lexing.
   Revised namespace handling: There are now namespace_scope  objects keeping
   the scoping structure of the namespaces.  The namespace_info stuff has been
   removed. The "display"  methods can print XML while respecting the scoping
   structure.
   New exceptions Namespace_not_managed, Namespace_prefix_not_managed,
   Namespace_not_in_scope (all replacing Not_found). Methods  of
   namespace_manager may raise these exceptions.
   The event-based representation of XML is now symmetrical  to the tree-based
   representation, such that it is possible  to convert one representation into
   the other without loss.  The type of events had to be changed to achieve
   this effect.
   The new module Pxp_event contains functions for the event-based
   representation.
   Addition of pxp-pp, the PXP preprocessor.
-  1.1.94: The Pxp_reader module has been completely rewritten. This fixes some
   problems with relative URLs. - Pxp_yacc has been split up into four modules:
   Pxp_tree_parser contains now the parser API returning object trees,
   Pxp_dtd_parser is the parser API returning DTDs, Pxp_ev_parser is the
   event-based API, and Pxp_core_parser is the core of the parser. Pxp_yacc is
   still available as compatibility API. As part of the module redesign,
   Pxp_types includes now parts of its interface from Pxp_core_types_type. I
   hope this style of programming is comprehensible. - The event-based parser
   can now preprocess namespaces.
   Furthermore, there are normalization filters.
-  1.1.92: The whole lexing stuff has been restructured. There is a new tool,
   lexpp, that generates the lexers from only five files. Furthermore, much
   more 8 bit character sets are now supported as internal encodings. In
   previous versions of PXP, the internal representation of the XML trees was
   restricted to either UTF-8 or ISO-8859-1. Now, a number of additional
   encodings are supported, including the whole ISO-8859 series.
-  1.1.91: The curly braces can now even be used inside attributes, and escape
   from normal XML parsing.
   There is a new entry point Entry_expr for event-based parsing that expects
   either a single element, a single processing instruction, or a single
   comment, or whitespace. This allows more fine-grained control of what is
   parsed.
   There is now a "pull parser". In contrast to the "push parser" introduced in
   1.1.90, the calling order of parser and parser user have been inverted, i.e.
   the user calls the parser to get ("pull") the next event instead of letting
   the parser call back a user function ("push"). An interesting application is
   that O'Caml's lazy streams can be used to analyze events. An example can be
   found in examles/pullparser.
-  1.1.90: This version introduces a new event-based interface in Pxp_yacc. For
   start tags, end tags, data strings, and several other things that are found
   in the XML source so-called events are generated, and a user function is
   called for every event. See the directory examples/eventparser for examples.
   Another innovation is support for curly braces as escape characters. Inside
   elements, the left curly brace escapes from XML parsing and starts a foreign
   parser until the matching right curly brace is found:

   <element> ... { foreign syntax } ... </element>

   The curly braces are borrowed from the XQuery draft standard. They cannot
   yet be used inside attribute values. Curly braces are mostly useful in
   conjunction with event-based parsing, because it is not yet possible to
   include the "value" of the curly brace expression into XML trees.
   It is even possible to call the XML parser from the foreign parser as
   subparser. However, there not yet enough entry points for the event-based
   parser (e.g. you cannot parse just the following processing instruction,
   only misc* element misc* or whole documents are possible).
2012-10-24 13:15:32 +00:00
drochner
4989b8a4c6 add "test" target (it throws some errors) 2012-10-22 10:52:03 +00:00
wiz
96c5b5898c Update to 1.21:
[Changes for 1.21 - 2012-09-20]

* Tests all green on CPAN Testers. releasing to public.

[Changes for 1.21_01 - 2012-06-22]

* Synchronize JSON::Syck with YAML::Syck version number
* Add DumpInto functions (YAML+Syck) which dump into
  a provided scalar instead of a newly allocated one
* Modify DumpFile functions to output directly to the
  specified file/filehandle instead of buffering all
  output in memory.
* Avoid modifying numbers into strings when emitting
2012-10-21 23:11:57 +00:00
wiz
ff16d9ec19 Update to 2.47:
$Revision: 2.47 $ $Date: 2012/08/15 05:36:16 $
! Encode.pm
  POD Fixes: Copyright and mail address
! Makefile.PL
  Added LICENSE => 'perl'
! lib/Encode/GSM0338.pm t/gsm0338.t
  REALLY fixed RT#75670: Wrong decoding for GSM 3.38 character \x09
  ucm/gsm0338.ucm is dropped from MANIFEST since 2.25
  but I was fixing the wrong file!
  https://rt.cpan.org/Ticket/Display.html?id=75670

! 2.46 2012/08/12 05:49:30
! Encode.pm
  Fixed: RT#78917 for I18N-Charset: Fails with Encode 2.45
  To be more exact, 2.45 broke Encode->encodings(':all')
  https://rt.cpan.org/Ticket/Display.html?id=78917

2.45 2012/08/05 23:08:49
! lib/Encode/Alias.pm
  Addressed RT#78125: Missed Mac Alias x-mac-ce
  https://rt.cpan.org/Ticket/Display.html?id=78125
! lib/Encode/Unicode/UTF7.pm
  Applied the patch in RT#76711
  https://rt.cpan.org/Ticket/Display.html?id=76711
! ucm/gsm0338.ucm
  Addressed RT#75670: Wrong decoding for GSM 3.38 character \x09
  https://rt.cpan.org/Ticket/Display.html?id=75670
! Encode.pm
  Applied the patch in RT#72519
  https://rt.cpan.org/Ticket/Display.html?id=72519
! Unicode/Unicode.xs
  t/Unicode.t
  Bug fixes in Unicode.xs by chansen
  https://github.com/dankogai/p5-encode/pull/5
! Encode.pm
  various POD improvements by daxim
  https://github.com/dankogai/p5-encode/pull/4
2012-10-21 23:10:14 +00:00
wiz
7965e42bd9 Update to 1.78:
1.78            Thu  6 Sep 13:17:28 IDT 2012
    - Add output_method method, update documentation of media_type
    (dorian@cpan).
        - Thanks, Dorian!
2012-10-21 22:31:56 +00:00
wiz
955ff7d3cc Update to 2.0007:
2.0007          Wed 17 Oct 18:38:37 IST 2012
    - Fix for build failures on Windows with Microsoft Visual C++.
        - https://rt.cpan.org/Ticket/Display.html?id=80229
        - Thanks to Desmond Daignault for the report and an initial patch.
        - Patch modified by Shlomi Fish

2.0006          Sat 13 Oct 22:27:54 IST 2012
    - When xml2-config returns several paths, the configuration failed.
    Fixed that.
        - https://rt.cpan.org/Public/Bug/Display.html?id=80167
        - Thanks to VOVKASM for the report and fix.

2.0005          Sat 13 Oct 13:18:48 IST 2012
    - Added t/style-trailing-space.t and removed trailing space.
    - Add a check for the existence of included C headers (*.h) files
    in Makefile.PL to avoid failed compilations.
        - Using Devel::CheckLib.
        - Thanks to its maintainers!

2.0004          Tue  7 Aug 23:04:55 IDT 2012
    - Add a way to specify a different compiler to be used in the
    "Makefile" by calling Makefile.PL with the CC environment variable
    set to the path to the alternate compiler.
        - This way we can use
        in order to compile faster.
    - LibXML.pm (_clone): Fix typo in line_numbers handling.
        - Thanks to Bernhard Reutner-Fischer for the report and fix.

2.0003          Fri 27 Jul 17:11:21 IDT 2012
    - Patch to a potential NULL dereference in xpath.c.
        - Thanks to Ville Skytt
    - Fix NodeList::item() calling a 1-indxed array reference.
        - See:
        - https://bitbucket.org/shlomif/perl-xml-libxml/pull-request/18
        - Thanks to Tim Brody
    - Add the scripts/tag-release.pl script to tag a release using
    Mercurial.

2.0002          Sun Jul  8 18:09:13 IDT 2012
    - Applied spelling fixes correction patch by
    Ville Skytt
        - Thanks, Ville!
2012-10-21 22:30:28 +00:00
wiz
2aab0e78fa Update to 3.0.1. Remove unnecessary setuptools dependency.
Mark as python3-ready.

3.0.1 (2012-10-14)
==================

Bugs fixed
----------

* LP#1065924: Element proxies could disappear during garbage collection
  in PyPy without proper cleanup.

* GH#71: Failure to work with libxml2 2.6.x.

* LP#1065139: static MacOS-X build failed in Py3.


3.0 (2012-10-08)
================

Bugs fixed
----------

* End-of-file handling was incorrect in iterparse() when reading from
  a low-level C file stream and failed in libxml2 2.9.0 due to its
  improved consistency checks.

Other changes
-------------

* The build no longer uses Cython by default unless the generated C files
  are missing.  To use Cython, pass the option "--with-cython".  To ignore
  the fatal build error when Cython is required but not available (e.g. to
  run special setup.py commands that do not actually run a build), pass
  "--without-cython".


3.0beta1 (2012-09-26)
=====================

Features added
--------------

* Python level access to (optional) libxml2 memory debugging features
  to simplify debugging of memory leaks etc.

Bugs fixed
----------

* Fix a memory leak in XPath by switching to Cython 0.17.1.

* Some tests were adapted to work with PyPy.

Other changes
-------------

* The code was adapted to work with the upcoming libxml2 2.9.0 release.


3.0alpha2 (2012-08-23)
======================

Features added
--------------

* The ``.iter()`` method of elements now accepts ``tag`` arguments like
  ``"{*}name"`` to search for elements with a given local name in any
  namespace. With this addition, all combinations of wildcards now work
  as expected:
  ``"{ns}name"``, ``"{}name"``, ``"{*}name"``, ``"{ns}*"``, ``"{}*"``
  and ``"{*}*"``.  Note that ``"name"`` is equivalent to ``"{}name"``,
  but ``"*"`` is ``"{*}*"``.
  The same change applies to the ``.getiterator()``, ``.itersiblings()``,
  ``.iterancestors()``, ``.iterdescendants()``, ``.iterchildren()``
  and ``.itertext()`` methods;the ``strip_attributes()``,
  ``strip_elements()`` and ``strip_tags()`` functions as well as the
  ``iterparse()`` class.

* C14N allows specifying the inclusive prefixes to be promoted
  to top-level during exclusive serialisation.

Bugs fixed
----------

* Passing long Unicode strings into the ``feed()`` parser interface
  failed to read the entire string.


3.0alpha1 (2012-07-31)
======================

Features added
--------------

* Initial support for building in PyPy (through cpyext).

* DTD objects gained an API that allows read access to their
  declarations.

* ``xpathgrep.py`` gained support for parsing line-by-line (e.g.
  from grep output) and for surrounding the output with a new root
  tag.

* ``E-factory`` in ``lxml.builder`` accepts subtypes of known data
  types (such as string subtypes) when building elements around them.

* Tree iteration and ``iterparse()`` with a selective ``tag``
  argument supports passing a set of tags.  Tree nodes will be
  returned by the iterators if they match any of the tags.

Bugs fixed
----------

* The ``.find*()`` methods in ``lxml.objectify`` no longer use XPath
  internally, which makes them faster in many cases (especially when
  short circuiting after a single or couple of elements) and fixes
  some behavioural differences compared to ``lxml.etree``.  Note that
  this means that they no longer support arbitrary XPath expressions
  but only the subset that the ``ElementPath`` language supports.
  The previous implementation was also redundant with the normal
  XPath support, which can be used as a replacement.

* ``el.find('*')`` could accidentally return a comment or processing
  instruction that happened to be in the wrong spot.  (Same for the
  other ``.find*()`` methods.)

* The error logging is less intrusive and avoids a global setup where
  possible.

* Fixed undefined names in html5lib parser.

* ``xpathgrep.py`` did not work in Python 3.

* ``Element.attrib.update()`` did not accept an ``attrib`` of
  another Element as parameter.

* For subtypes of ``ElementBase`` that make the ``.text`` or ``.tail``
  properties immutable (as in objectify, for example), inserting text
  when creating Elements through the E-Factory feature of the class
  constructor would fail with an exception, stating that the text
  cannot be modified.

Other changes
--------------

* The code base was overhauled to properly use 'const' where the API
  of libxml2 and libxslt requests it.  This also has an impact on the
  public C-API of lxml itself, as defined in ``etreepublic.pxd``, as
  well as the provided declarations in the ``lxml/includes/`` directory.
  Code that uses these declarations may have to be adapted.  On the
  plus side, this fixes several C compiler warnings, also for user
  code, thus making it easier to spot real problems again.

* The functionality of "lxml.cssselect" was moved into a separate PyPI
  package called "cssselect".  To continue using it, you must install
  that package separately.  The "lxml.cssselect" module is still
  available and provides the same interface, provided the "cssselect"
  package can be imported at runtime.

* Element attributes passed in as an ``attrib`` dict or as keyword
  arguments are now sorted by (namespaced) name before being created
  to make their order predictable for serialisation and iteration.
  Note that adding or deleting attributes afterwards does not take
  that order into account, i.e. setting a new attribute appends it
  after the existing ones.

* Several classes that are for internal use only were removed
  from the ``lxml.etree`` module dict:
  ``_InputDocument, _ResolverRegistry, _ResolverContext, _BaseContext,
  _ExsltRegExp, _IterparseContext, _TempStore, _ExceptionContext,
  __ContentOnlyElement, _AttribIterator, _NamespaceRegistry,
  _ClassNamespaceRegistry, _FunctionNamespaceRegistry,
  _XPathFunctionNamespaceRegistry, _ParserDictionaryContext,
  _FileReaderContext, _ParserContext, _PythonSaxParserTarget,
  _TargetParserContext, _ReadOnlyProxy, _ReadOnlyPIProxy,
  _ReadOnlyEntityProxy, _ReadOnlyElementProxy, _OpaqueNodeWrapper,
  _OpaqueDocumentWrapper, _ModifyContentOnlyProxy,
  _ModifyContentOnlyPIProxy, _ModifyContentOnlyEntityProxy,
  _AppendOnlyElementProxy, _SaxParserContext, _FilelikeWriter,
  _ParserSchemaValidationContext, _XPathContext,
  _XSLTResolverContext, _XSLTContext, _XSLTQuotedStringParam``

* Several internal classes can no longer be inherited from:
  ``_InputDocument, _ResolverRegistry, _ExsltRegExp, _ElementUnicodeResult,
  _IterparseContext, _TempStore, _AttribIterator, _ClassNamespaceRegistry,
  _XPathFunctionNamespaceRegistry, _ParserDictionaryContext,
  _FileReaderContext, _PythonSaxParserTarget, _TargetParserContext,
  _ReadOnlyPIProxy, _ReadOnlyEntityProxy, _OpaqueDocumentWrapper,
  _ModifyContentOnlyPIProxy, _ModifyContentOnlyEntityProxy,
  _AppendOnlyElementProxy, _FilelikeWriter, _ParserSchemaValidationContext,
  _XPathContext, _XSLTResolverContext, _XSLTContext, _XSLTQuotedStringParam,
  _XSLTResultTree, _XSLTProcessingInstruction``


2.3.6 (2012-09-28)
==================

Bugs fixed
----------

* Passing long Unicode strings into the ``feed()`` parser interface
  failed to read the entire string.


2.3.5 (2012-07-31)
==================

Bugs fixed
----------

* Crash when merging text nodes in ``element.remove()``.

* Crash in sax/target parser when reporting empty doctype.


2.3.4 (2012-03-26)
==================

Bugs fixed
----------

* Crash when building an nsmap (Element property) with empty
  namespace URIs.

* Crash due to race condition when errors (or user messages) occur
  during threaded XSLT processing.

* XSLT stylesheet compilation could ignore compilation errors.

2.3.3 (2012-01-04)
==================

Features added
--------------

* ``lxml.html.tostring()`` gained new serialisation options
  ``with_tail`` and ``doctype``.

Bugs fixed
----------

* Fixed a crash when using ``iterparse()`` for HTML parsing and
  requesting start events.

* Fixed parsing of more selectors in cssselect.  Whitespace before
  pseudo-elements and pseudo-classes is significant as it is a
  descendant combinator.
  "E :pseudo" should parse the same as "E \*:pseudo", not "E:pseudo".
  Patch by Simon Sapin.

* lxml.html.diff no longer raises an exception when hitting
  'img' tags without 'src' attribute.
2012-10-21 21:34:42 +00:00
cheusov
91fb1483ca Add CONFLICTS with groff 2012-10-21 21:24:44 +00:00
cheusov
bb97a98721 Add CONFLICTS with mdocml and ja-groff; Add LICENSE; Fix pkglint warning 2012-10-21 21:23:45 +00:00
drochner
6db913ab78 update to 0.6.7
changes:
* Fix 'green' colour
* Build fixes
2012-10-19 18:19:33 +00:00
taca
48459b03c2 Reset PKGREVISION by updating both php53 and php54. 2012-10-19 14:58:31 +00:00
wiz
e1d9bd0b71 Allow python-3.x. 2012-10-17 22:16:36 +00:00
wiz
3d55c462bf Use REPLACE_PYTHON to fix /usr/bin/env usage.
Allow python-3.x.
Bump PKGREVISION.
2012-10-17 22:14:44 +00:00
kleink
4c984ac7f4 Update p5-Text-vCard to 2.12:
2.12 Mon 10 Sep 2012 21:09:45 BST
    - perltidy everything
    - Adding base64 encode/decode (doriantaylor)
2012-10-16 10:00:05 +00:00
wiz
6d8a374424 Fix build with perl-5.16.
From macports.
2012-10-15 12:45:25 +00:00
ryoon
2b959f9077 Add json-c 2012-10-11 15:41:25 +00:00
ryoon
8db49df6a7 Import json-c-0.10 as textproc/json-c.
JSON-C implements a reference counting object model that allows
you to easily construct JSON objects in C, output them as JSON
formatted strings and parse JSON formatted strings back into the
C representation of JSON objects.
2012-10-11 15:40:40 +00:00
wen
93a52ba0f4 Update to 1.0.5
Based on PR #46593 submitted by Wen Heping(myself)

Upstream changes:
v1.0.5 - 2012-09-03
made automatic protocol links more strict: Only whitespace before and at the end are allowed.
Bugfix: Don't allow ftp:/broken (Only one slash) to be a link.

v1.0.4
html2rest: Handle double link/image substitution and raise better error messages
Bugfix in unittests (include test README file in python package). Thanks to Wen Heping for reporting this.


v1.0.3
Bugfix: AttributeError: 'module' object has no attribute 'interesting_cdata' from HTMLParser patch. Thanks to Wen Heping for reporting this.
Fix a bug in get_long_description() ReSt test for Py3k and his unittests.
Use Travis CI, too.

v1.0.2
Fix "AttributeError: 'NoneType' object has no attribute 'parent'" in html2creole.

v1.0.1
Fix "TypeError: expected string or buffer" in rest2html.
Bugfix in exception handling.

v1.0.0
Change API: Replace 'parser_kwargs' and 'emitter_kwargs' with separate arguments. (More information on API Wiki Page)

v0.9.2
Turn zip_safe in setup.py on and change unittests API.

v0.9.1
Many Bugfixes, tested with CPython 2.6, 2.7, 3.2 and PyPy v1.6

v0.9.0
Add Python v3 support (like http://python3porting.com/noconv.html strategy)
move unittests into creole/tests/
Tested with Python 2.7.1, 3.2 and PyPy v1.6.1 15798ab8cf48 jit

v0.8.5
Bugfix in html2creole: ignore links without href

v0.8.4
Bugfix in html parser if list tag has attributes: https://code.google.com/p/python-creole/issues/detail?id=19#c4

v0.8.3
Better error message if given string is not unicode: https://code.google.com/p/python-creole/issues/detail?id=19

v0.8.2
Bugfix in get_long_description() error handling (local variable 'long_description_origin' referenced before assignment)

v0.8.1
Bugfix for installation under python 2.5
Note: setup helper changed: rename GetLongDescription(...) to get_long_description(...)

v0.8
New GetLongDescription() helper for setup.py, see: https://code.google.com/p/python-creole/wiki/UseInSetup

v0.7.3
Bugfix in html2rest:
table without <th> header
new line after table
create reference hyperlinks in table cells intead of embedded urls.
Don't always use raise_unknown_node()
Add child content to raise_unknown_node()


v0.7.2
Activate ---- to <hr> in html2rest
Update demo.py

v0.7.1
Bugfix if docutils are not installed
API change: rest2html is now here: from creole.rest2html.clean_writer import rest2html

v0.7.0
NEW: Add a html2reStructuredText converter (only a subset of reSt supported)

v0.6.1
Bugfix: separate lines with one space in "wiki style line breaks" mode

v0.6
NEW: html2textile converter
some API changed!

v0.5
API changed:
Html2CreoleEmitter optional argument 'unknown_emit' takes now a callable for handle unknown html tags.
No macros used as default in creole2html converting.
We remove the support for callable macros. Only dict and modules are allowed.
remove unknown html tags is default behaviour in html2creole converting.

restructure and cleanup sourcecode files.

v0.4
only emit children of empty tags like div and span (contributed by Eric O'Connell)
remove inter wiki links and doesn't check the protocol

v0.3.3
Use  when {{{ ... }}} is inline and not <pre>, see: PyLucid Forum Thread
Bugfix in html2creole: insert newline before new list. TODO: apply to all block tags: issues 16

v0.3.2
Bugfix for spaces after Headline: issues 15

v0.3.1
Make argument 'block_rules' in Parser() optional

v0.3.0
creole2html() has the optional parameter 'blog_line_breaks' to switch from default blog to wiki line breaks

v0.2.8
bugfix in setup.py

v0.2.7
handle obsolete non-closed <br> tag

v0.2.6
bugfix in setup.py
Cleanup DocStrings
add unittests
2012-10-11 15:35:09 +00:00