b52bdc
%global modname lxml
b52bdc
b52bdc
Name:           python-%{modname}
b52bdc
Version:        4.2.3
5ad97a
Release:        4%{?dist}
b52bdc
Summary:        XML processing library combining libxml2/libxslt with the ElementTree API
b52bdc
b52bdc
License:        BSD
b52bdc
URL:            http://lxml.de
b52bdc
Source0:        http://lxml.de/files/%{modname}-%{version}.tgz
b52bdc
b52bdc
# Fix for CVE-2020-27783: mXSS due to the use of improper parser
b52bdc
# Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1901633
b52bdc
# Two upstream commits combined:
b52bdc
#   Version 4.6.1: https://github.com/lxml/lxml/commit/89e7aad6e7ff9ecd88678ff25f885988b184b26e
b52bdc
#   Version 4.6.2: https://github.com/lxml/lxml/commit/a105ab8dc262ec6735977c25c13f0bdfcdec72a7
b52bdc
Patch0:         CVE-2020-27783.patch
b52bdc
47306d
# Fix for CVE-2021-28957: missing input sanitization
47306d
# for formaction HTML5 attributes which may lead to XSS
47306d
# Fixed upstream: https://github.com/lxml/lxml/commit/2d01a1ba8984e0483ce6619b972832377f208a0d
47306d
Patch1: CVE-2021-28957.patch
47306d
5ad97a
# Fix for CVE-2021-43818: HTML Cleaner allows crafted
5ad97a
# and SVG embedded scripts to pass through
5ad97a
# Fixed upstream:
5ad97a
# https://github.com/lxml/lxml/commit/12fa9669007180a7bb87d990c375cf91ca5b664a
5ad97a
# https://github.com/lxml/lxml/commit/f2330237440df7e8f39c3ad1b1aa8852be3b27c0
5ad97a
Patch2: CVE-2021-43818.patch
5ad97a
5ad97a
# Make test more resilient against changes in latest libxslt releases
5ad97a
# Fixed upstream: https://github.com/lxml/lxml/commit/acef361ca80ff9afd828d91c98ea91c92f9d09af
5ad97a
Patch3: fix-threading-tests.patch
5ad97a
b52bdc
BuildRequires:  gcc
b52bdc
BuildRequires:  libxml2-devel
b52bdc
BuildRequires:  libxslt-devel
b52bdc
b52bdc
%global _description \
b52bdc
lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries. It\
b52bdc
provides safe and convenient access to these libraries using the ElementTree It\
b52bdc
extends the ElementTree API significantly to offer support for XPath, RelaxNG,\
b52bdc
XML Schema, XSLT, C14N and much more.To contact the project, go to the project\
b52bdc
home page < or see our bug tracker at case you want to use the current ...
b52bdc
b52bdc
%description %{_description}
b52bdc
b52bdc
%package -n     python3-%{modname}
b52bdc
Summary:        %{summary}
b52bdc
BuildRequires:  python3-devel
b52bdc
BuildRequires:  python3-setuptools
b52bdc
BuildRequires:  python3-Cython
b52bdc
Recommends:     python3-cssselect
b52bdc
Recommends:     python3-html5lib
b52bdc
Recommends:     python3-beautifulsoup4
b52bdc
%{?python_provide:%python_provide python3-%{modname}}
b52bdc
b52bdc
%description -n python3-%{modname} %{_description}
b52bdc
b52bdc
Python 3 version.
b52bdc
b52bdc
%prep
b52bdc
%autosetup -n %{modname}-%{version} -p1
b52bdc
b52bdc
%build
b52bdc
export WITH_CYTHON=true
b52bdc
%py3_build
b52bdc
b52bdc
%install
b52bdc
%py3_install
b52bdc
b52bdc
%check
5ad97a
# The tests assume inplace build, so we copy the built library to source-dir.
5ad97a
# If not done that, Python can either import the tests or the extension modules, but not both.
5ad97a
cp -a build/lib.%{python3_platform}-%{python3_version}/* src/
5ad97a
# The options are: verbose, unit, functional
5ad97a
%{python3} test.py -vuf
b52bdc
b52bdc
%files -n python3-%{modname}
b52bdc
%license doc/licenses/ZopePublicLicense.txt LICENSES.txt
b52bdc
%doc README.rst src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt
b52bdc
%{python3_sitearch}/%{modname}/
b52bdc
%{python3_sitearch}/%{modname}-*.egg-info/
b52bdc
b52bdc
%changelog
5ad97a
* Thu Jan 06 2022 Charalampos Stratakis <cstratak@redhat.com> - 4.2.3-4
5ad97a
- Security fix for CVE-2021-43818
5ad97a
Resolves: rhbz#2032569
5ad97a
47306d
* Wed Mar 24 2021 Charalampos Stratakis <cstratak@redhat.com> - 4.2.3-3
47306d
- Security fix for CVE-2021-28957
47306d
Resolves: rhbz#1941534
47306d
b52bdc
* Tue Dec 08 2020 Charalampos Stratakis <cstratak@redhat.com> - 4.2.3-2
b52bdc
- Security fix for CVE-2020-27783: mXSS due to the use of improper parser
b52bdc
Resolves: rhbz#1901633
b52bdc
b52bdc
* Thu Aug 02 2018 Sebastian Kisela <skisela@redhat.com> - 4.2.3-1
b52bdc
- New upstream release 4.2.3
b52bdc
b52bdc
* Sun Jul 22 2018 Charalampos Stratakis <cstratak@redhat.com> - 4.1.1-3
b52bdc
- Conditionalize the python2 subpackage
b52bdc
b52bdc
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.1-2
b52bdc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b52bdc
b52bdc
* Sun Nov 05 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.1.1-1
b52bdc
- Update to 4.1.1
b52bdc
b52bdc
* Tue Oct 10 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.0.0-2
b52bdc
- Conditionally allow building without Cython
b52bdc
b52bdc
* Thu Oct 05 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.0.0-1
b52bdc
- Update to 4.0.0
b52bdc
b52bdc
* Sat Aug 12 2017 Kevin Fenzi <kevin@scrye.com> - 3.8.0-1
b52bdc
- Update to 3.8.0. Fixes bug #1458529
b52bdc
b52bdc
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.2-4
b52bdc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
b52bdc
b52bdc
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.2-3
b52bdc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b52bdc
b52bdc
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.2-2
b52bdc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b52bdc
b52bdc
* Mon Jan 09 2017 Fabio Alessandro Locati <fale@fedoraproject.org> - 3.7.2-1
b52bdc
- Update to 3.7.2
b52bdc
b52bdc
* Sun Dec 25 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 3.7.1-1
b52bdc
- Update to 3.7.1
b52bdc
b52bdc
* Tue Dec 13 2016 Stratakis Charalampos <cstratak@redhat.com> - 3.7.0-2
b52bdc
- Rebuild for Python 3.6
b52bdc
b52bdc
* Sun Dec 11 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 3.7.0-1
b52bdc
- Update to 3.7.0
b52bdc
b52bdc
* Thu Sep 08 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 3.6.4-1
b52bdc
- Update to 3.6.4
b52bdc
b52bdc
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.4-5
b52bdc
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
b52bdc
b52bdc
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.4-4
b52bdc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b52bdc
b52bdc
* Thu Jan 21 2016 Dan Horák <dan[at]danny.cz> - 3.4.4-3
b52bdc
- fix conditional
b52bdc
b52bdc
* Fri Nov 06 2015 Robert Kuska <rkuska@redhat.com> - 3.4.4-2
b52bdc
- Rebuilt for Python3.5 rebuild
b52bdc
b52bdc
* Fri Aug 28 2015 Peter Robinson <pbrobinson@fedoraproject.org> 3.4.4-1
b52bdc
- Update to 3.4.4
b52bdc
- Use %%license, cleanup spec
b52bdc
b52bdc
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.6-2
b52bdc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b52bdc
b52bdc
* Fri Aug 29 2014 Jeffrey C. Ollie <jeff@ocjtech.us> - 3.3.6-1
b52bdc
- 3.3.6 (2014-08-28)
b52bdc
- ==================
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
- ----------
b52bdc
-
b52bdc
- * Prevent tree cycle creation when adding Elements as siblings.
b52bdc
-
b52bdc
- * LP#1361948: crash when deallocating Element siblings without parent.
b52bdc
-
b52bdc
- * LP#1354652: crash when traversing internally loaded documents in XSLT
b52bdc
-   extension functions.
b52bdc
b52bdc
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
b52bdc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
b52bdc
b52bdc
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.5-3
b52bdc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b52bdc
b52bdc
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 3.3.5-2
b52bdc
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
b52bdc
b52bdc
* Mon Apr 28 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.5-1
b52bdc
- 3.3.5 (2014-04-18)
b52bdc
- ==================
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
- ----------
b52bdc
-
b52bdc
- * HTML cleaning could fail to strip javascript links that mix control
b52bdc
-   characters into the link scheme.
b52bdc
b52bdc
* Mon Apr 28 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.4-1
b52bdc
- 3.3.4 (2014-04-03)
b52bdc
- ==================
b52bdc
-
b52bdc
- Features added
b52bdc
- --------------
b52bdc
-
b52bdc
- * Source line numbers above 65535 are available on Elements when
b52bdc
-   using libxml2 2.9 or later.
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
- ----------
b52bdc
-
b52bdc
- * lxml.html.fragment_fromstring() failed for bytes input in Py3.
b52bdc
b52bdc
* Wed Mar 26 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.3-4
b52bdc
- Fix macro definition
b52bdc
b52bdc
* Wed Mar 26 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.3-3
b52bdc
- Add python3-cssselect to correct package
b52bdc
b52bdc
* Mon Mar 24 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.3-3
b52bdc
- python3-cssselect is not available on F19
b52bdc
b52bdc
* Mon Mar 24 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.3-2
b52bdc
- BZ#1075070  add requires and buildrequires for cssselect
b52bdc
b52bdc
* Tue Mar 11 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.3-1
b52bdc
- 3.3.3 (2014-03-04)
b52bdc
- ==================
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
- ----------
b52bdc
-
b52bdc
- * LP#1287118: Crash when using Element subtypes with ``__slots__``.
b52bdc
-
b52bdc
- Other changes
b52bdc
- -------------
b52bdc
-
b52bdc
- * The internal classes ``_LogEntry`` and ``_Attrib`` can no longer be
b52bdc
-   subclassed from Python code.
b52bdc
b52bdc
* Tue Mar 11 2014 Alexander Todorov <atodorov@redhat.com> - 3.3.2-2
b52bdc
- Add check section #1075070
b52bdc
b52bdc
* Fri Feb 28 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.2-1
b52bdc
- 3.3.2 (2014-02-26)
b52bdc
- ==================
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
- ----------
b52bdc
-
b52bdc
- * The properties ``resolvers`` and ``version``, as well as the methods
b52bdc
-   ``set_element_class_lookup()`` and ``makeelement()``, were lost from
b52bdc
-   ``iterparse`` objects.
b52bdc
-
b52bdc
- * LP#1222132: instances of ``XMLSchema``, ``Schematron`` and ``RelaxNG``
b52bdc
-   did not clear their local ``error_log`` before running a validation.
b52bdc
-
b52bdc
- * LP#1238500: lxml.doctestcompare mixed up "expected" and "actual" in
b52bdc
-   attribute values.
b52bdc
-
b52bdc
- * Some file I/O tests were failing in MS-Windows due to incorrect temp
b52bdc
-   file usage.  Initial patch by Gabi Davar.
b52bdc
-
b52bdc
- * LP#910014: duplicate IDs in a document were not reported by DTD
b52bdc
-   validation.
b52bdc
-
b52bdc
- * LP#1185332: ``tostring(method="html")`` did not use HTML serialisation
b52bdc
-   semantics for trailing tail text.  Initial patch by Sylvain Viollon.
b52bdc
-
b52bdc
- * LP#1281139: ``.attrib`` value of Comments lost its mutation methods
b52bdc
-   in 3.3.0.  Even though it is empty and immutable, it should still
b52bdc
-   provide the same interface as that returned for Elements.
b52bdc
b52bdc
* Fri Feb 28 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.2-1
b52bdc
- 3.3.1 (2014-02-12)
b52bdc
- ==================
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
- ----------
b52bdc
-
b52bdc
- * LP#1014290: HTML documents parsed with ``parser.feed()`` failed to find
b52bdc
-   elements during tag iteration.
b52bdc
-
b52bdc
- * LP#1273709: Building in PyPy failed due to missing support for
b52bdc
-   ``PyUnicode_Compare()`` and ``PyByteArray_*()`` in PyPy's C-API.
b52bdc
-
b52bdc
- * LP#1274413: Compilation in MSVC failed due to missing "stdint.h" standard
b52bdc
-   header file.
b52bdc
-
b52bdc
- * LP#1274118: iterparse() failed to parse BOM prefixed files.
b52bdc
b52bdc
* Mon Jan 27 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.0-2
b52bdc
- Update Cython requirement to >= 0.20
b52bdc
b52bdc
* Mon Jan 27 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.0-1
b52bdc
- 3.3.0 (2014-01-26)
b52bdc
- ==================
b52bdc
-
b52bdc
- Features added
b52bdc
- --------------
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
- ----------
b52bdc
-
b52bdc
- * The heuristic that distinguishes file paths from URLs was tightened
b52bdc
-   to produce less false negatives.
b52bdc
-
b52bdc
- Other changes
b52bdc
- -------------
b52bdc
-
b52bdc
-
b52bdc
- 3.3.0beta5 (2014-01-18)
b52bdc
- =======================
b52bdc
-
b52bdc
- Features added
b52bdc
- --------------
b52bdc
-
b52bdc
- * The PEP 393 unicode parsing support gained a fallback for wchar strings
b52bdc
-   which might still be somewhat common on Windows systems.
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
- ----------
b52bdc
-
b52bdc
- * Several error handling problems were fixed throughout the code base that
b52bdc
-   could previously lead to exceptions being silently swallowed or not
b52bdc
-   properly reported.
b52bdc
-
b52bdc
- * The C-API function ``appendChild()`` is now deprecated as it does not
b52bdc
-   propagate exceptions (its return type is ``void``).  The new function
b52bdc
-   ``appendChildToElement()`` was added as a safe replacement.
b52bdc
-
b52bdc
- * Passing a string into ``fromstringlist()`` raises an exception instead of
b52bdc
-   parsing the string character by character.
b52bdc
-
b52bdc
- Other changes
b52bdc
- -------------
b52bdc
-
b52bdc
- * Document cleanup code was simplified using the new GC features in
b52bdc
-   Cython 0.20.
b52bdc
-
b52bdc
-
b52bdc
- 3.3.0beta4 (2014-01-12)
b52bdc
- =======================
b52bdc
-
b52bdc
- Features added
b52bdc
- --------------
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
- ----------
b52bdc
-
b52bdc
- * The (empty) value returned by the ``attrib`` property of Entity and
b52bdc
-   Comment objects was mutable.
b52bdc
-
b52bdc
- * Element class lookup wasn't available for the new pull parsers or when
b52bdc
-   using a custom parser target.
b52bdc
-
b52bdc
- * Setting Element attributes on instantiation with both the ``attrib``
b52bdc
-   argument and keyword arguments could modify the mapping passed as
b52bdc
-   ``attrib``.
b52bdc
-
b52bdc
- * LP#1266171: DTDs instantiated from internal/external subsets (i.e.
b52bdc
-   through the docinfo property) lost their attribute declarations.
b52bdc
-
b52bdc
- Other changes
b52bdc
- -------------
b52bdc
-
b52bdc
- * Built with Cython 0.20pre (gitrev 012ae82eb) to prepare support for
b52bdc
-   Python 3.4.
b52bdc
-
b52bdc
-
b52bdc
- 3.3.0beta3 (2014-01-02)
b52bdc
- =======================
b52bdc
-
b52bdc
- Features added
b52bdc
- --------------
b52bdc
-
b52bdc
- * Unicode string parsing was optimised for Python 3.3 (PEP 393).
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
- ----------
b52bdc
-
b52bdc
- * HTML parsing of Unicode strings could misdecode the input on some
b52bdc
-   platforms.
b52bdc
-
b52bdc
- * Crash in xmlfile() when closing open elements out of order in an error
b52bdc
-   case.
b52bdc
-
b52bdc
- Other changes
b52bdc
- -------------
b52bdc
-
b52bdc
-
b52bdc
- 3.3.0beta2 (2013-12-20)
b52bdc
- =======================
b52bdc
-
b52bdc
- Features added
b52bdc
- --------------
b52bdc
-
b52bdc
- * ``iterparse()`` supports the ``recover`` option.
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
- ----------
b52bdc
-
b52bdc
- * Crash in ``iterparse()`` for HTML parsing.
b52bdc
-
b52bdc
- * Crash in target parsing with attributes.
b52bdc
-
b52bdc
- Other changes
b52bdc
- -------------
b52bdc
-
b52bdc
- * The safety check in the read-only tree implementation (e.g. used by
b52bdc
-   ``PythonElementClassLookup``) raises a more appropriate
b52bdc
-   ``ReferenceError`` for illegal access after tree disposal instead of
b52bdc
-   an ``AssertionError``. This should only impact test code that
b52bdc
-   specifically checks the original behaviour.
b52bdc
-
b52bdc
-
b52bdc
- 3.3.0beta1 (2013-12-12)
b52bdc
- =======================
b52bdc
-
b52bdc
- Features added
b52bdc
- --------------
b52bdc
-
b52bdc
- * New option ``handle_failures`` in ``make_links_absolute()`` and
b52bdc
-   ``resolve_base_href()`` (lxml.html) that enables ignoring or
b52bdc
-   discarding links that fail to parse as URLs.
b52bdc
-
b52bdc
- * New parser classes ``XMLPullParser`` and ``HTMLPullParser`` for
b52bdc
-   incremental parsing, as implemented for ElementTree in Python 3.4.
b52bdc
-
b52bdc
- * ``iterparse()`` enables recovery mode by default for HTML parsing
b52bdc
-   (``html=True``).
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
- ----------
b52bdc
-
b52bdc
- * LP#1255132: crash when trying to run validation over non-Element (e.g.
b52bdc
-   comment or PI).
b52bdc
-
b52bdc
- * Error messages in the log and in exception messages that originated
b52bdc
-   from libxml2 could accidentally be picked up from preceding warnings
b52bdc
-   instead of the actual error.
b52bdc
-
b52bdc
- * The ``ElementMaker`` in lxml.objectify did not accept a dict as
b52bdc
-   argument for adding attributes to the element it's building. This
b52bdc
-   works as in lxml.builder now.
b52bdc
-
b52bdc
- * LP#1228881: ``repr(XSLTAccessControl)`` failed in Python 3.
b52bdc
-
b52bdc
- * Raise ``ValueError`` when trying to append an Element to itself or
b52bdc
-   to one of its own descendants, instead of running into an infinite
b52bdc
-   loop.
b52bdc
-
b52bdc
- * LP#1206077: htmldiff discarded whitespace from the output.
b52bdc
-
b52bdc
- * Compressed plain-text serialisation to file-like objects was broken.
b52bdc
-
b52bdc
- * lxml.html.formfill: Fix textarea form filling.
b52bdc
-   The textarea used to be cleared before the new content was set,
b52bdc
-   which removed the name attribute.
b52bdc
-
b52bdc
- Other changes
b52bdc
- -------------
b52bdc
-
b52bdc
- * Some basic API classes use freelists internally for faster
b52bdc
-   instantiation.  This can speed up some ``iterparse()`` scenarios,
b52bdc
-   for example.
b52bdc
-
b52bdc
- * ``iterparse()`` was rewritten to use the new ``*PullParser``
b52bdc
-   classes internally instead of being a parser itself.
b52bdc
b52bdc
* Mon Nov 11 2013 Jeffrey Ollie <jeff@ocjtech.us> - 3.2.4-1
b52bdc
- 3.2.4 (2013-11-07)
b52bdc
- ==================
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
- ----------
b52bdc
-
b52bdc
- * Memory leak when creating an XPath evaluator in a thread.
b52bdc
-
b52bdc
- * LP#1228881: ``repr(XSLTAccessControl)`` failed in Python 3.
b52bdc
-
b52bdc
- * Raise ``ValueError`` when trying to append an Element to itself or
b52bdc
-   to one of its own descendants.
b52bdc
-
b52bdc
- * LP#1206077: htmldiff discarded whitespace from the output.
b52bdc
-
b52bdc
- * Compressed plain-text serialisation to file-like objects was broken.
b52bdc
b52bdc
* Wed Sep 18 2013 Jeffrey Ollie <jeff@ocjtech.us> - 3.2.3-2
b52bdc
- Add requirement for on python-cssselect for the python2 version
b52bdc
b52bdc
* Sun Jul 28 2013 Jeffrey Ollie <jeff@ocjtech.us> - 3.2.3-1
b52bdc
- and here's a version 3.2.3. The last release accidentally lost the ability
b52bdc
- to work on Python 2.4. There are no other changes over 3.2.2.
b52bdc
-
b52bdc
- 3.2.2 (2013-07-28)
b52bdc
- ==================
b52bdc
-
b52bdc
- Features added
b52bdc
- --------------
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
- ----------
b52bdc
-
b52bdc
- * LP#1185701: spurious XMLSyntaxError after finishing iterparse().
b52bdc
-
b52bdc
- * Crash in lxml.objectify during xsi annotation.
b52bdc
-
b52bdc
- Other changes
b52bdc
- -------------
b52bdc
-
b52bdc
- * Return values of user provided element class lookup methods are now
b52bdc
-   validated against the type of the XML node they represent to prevent
b52bdc
-   API class mismatches.
b52bdc
b52bdc
* Sun May 12 2013 Jeffrey Ollie <jeff@ocjtech.us> - 3.2.1-1
b52bdc
- 3.2.1 (2013-05-11)
b52bdc
- ==================
b52bdc
-
b52bdc
- Features added
b52bdc
- --------------
b52bdc
-
b52bdc
- * The methods ``apply_templates()`` and ``process_children()`` of XSLT
b52bdc
-   extension elements have gained two new boolean options ``elements_only``
b52bdc
-   and ``remove_blank_text`` that discard either all strings or
b52bdc
-   whitespace-only strings from the result list.
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
- ----------
b52bdc
-
b52bdc
- * When moving Elements to another tree, the namespace cleanup mechanism
b52bdc
-   no longer drops namespace prefixes from attributes for which it finds
b52bdc
-   a default namespace declaration, to prevent them from appearing as
b52bdc
-   unnamespaced attributes after serialisation.
b52bdc
-
b52bdc
- * Returning non-type objects from a custom class lookup method could lead
b52bdc
-   to a crash.
b52bdc
-
b52bdc
- * Instantiating and using subtypes of Comments and ProcessingInstructions
b52bdc
-   crashed.
b52bdc
b52bdc
* Fri May 10 2013 Jeffrey Ollie <jeff@ocjtech.us> - 3.2.0-1
b52bdc
- 3.2.0 (2013-04-28)
b52bdc
- ==================
b52bdc
-
b52bdc
- Features added
b52bdc
- --------------
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
- ----------
b52bdc
-
b52bdc
- * LP#690319: Leading whitespace could change the behaviour of the string
b52bdc
-   parsing functions in ``lxml.html``.
b52bdc
-
b52bdc
- * LP#599318: The string parsing functions in ``lxml.html`` are more robust
b52bdc
-   in the face of uncommon HTML content like framesets or missing body tags.
b52bdc
-   Patch by Stefan Seelmann.
b52bdc
-
b52bdc
- * LP#712941: I/O errors while trying to access files with paths that
b52bdc
-   contain non-ASCII characters could raise ``UnicodeDecodeError`` instead
b52bdc
-   of properly reporting the ``IOError``.
b52bdc
-
b52bdc
- * LP#673205: Parsing from in-memory strings disabled network access in the
b52bdc
-   default parser and made subsequent attempts to parse from a URL fail.
b52bdc
-
b52bdc
- * LP#971754: lxml.html.clean appends 'nofollow' to 'rel' attributes instead
b52bdc
-   of overwriting the current value.
b52bdc
-
b52bdc
- * LP#715687: lxml.html.clean no longer discards scripts that are explicitly
b52bdc
-   allowed by the user provided whitelist.  Patch by Christine Koppelt.
b52bdc
-
b52bdc
- 3.1.2 (2013-04-12)
b52bdc
- ==================
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
- ----------
b52bdc
-
b52bdc
- * LP#1136509: Passing attributes through the namespace-unaware API of
b52bdc
-   the sax bridge (i.e. the ``handler.startElement()`` method) failed
b52bdc
-   with a ``TypeError``.  Patch by Mike Bayer.
b52bdc
-
b52bdc
- * LP#1123074: Fix serialisation error in XSLT output when converting
b52bdc
-   the result tree to a Unicode string.
b52bdc
-
b52bdc
- * GH#105: Replace illegal usage of ``xmlBufLength()`` in libxml2 2.9.0
b52bdc
-   by properly exported API function ``xmlBufUse()``.
b52bdc
-
b52bdc
- 3.1.1 (2013-03-29)
b52bdc
- ==================
b52bdc
-
b52bdc
- Features added
b52bdc
- --------------
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
- ----------
b52bdc
-
b52bdc
- * LP#1160386: Write access to ``lxml.html.FormElement.fields`` raised
b52bdc
-   an AttributeError in Py3.
b52bdc
-
b52bdc
- * Illegal memory access during cleanup in incremental xmlfile writer.
b52bdc
-
b52bdc
- Other changes
b52bdc
- -------------
b52bdc
-
b52bdc
- * The externally useless class ``lxml.etree._BaseParser`` was removed
b52bdc
-   from the module dict.
b52bdc
b52bdc
* Fri Mar  8 2013 Jeffrey Ollie <jeff@ocjtech.us> - 3.1.0-1
b52bdc
- 3.1.0 (2013-02-10)
b52bdc
- ==================
b52bdc
-
b52bdc
- Features added
b52bdc
- --------------
b52bdc
-
b52bdc
- * GH#89: lxml.html.clean allows overriding the set of attributes that it
b52bdc
-   considers 'safe'.  Patch by Francis Devereux.
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
- ----------
b52bdc
-
b52bdc
- * LP#1104370: ``copy.copy(el.attrib)`` raised an exception.  It now returns
b52bdc
-   a copy of the attributes as a plain Python dict.
b52bdc
-
b52bdc
- * GH#95: When used with namespace prefixes, the  ``el.find*()`` methods
b52bdc
-   always used the first namespace mapping that was provided for each
b52bdc
-   path expression instead of using the one that was actually passed
b52bdc
-   in for the current run.
b52bdc
-
b52bdc
- * LP#1092521, GH#91: Fix undefined C symbol in Python runtimes compiled
b52bdc
-   without threading support.  Patch by Ulrich Seidl.
b52bdc
-
b52bdc
- Other changes
b52bdc
- -------------
b52bdc
-
b52bdc
-
b52bdc
- 3.1beta1 (2012-12-21)
b52bdc
- =====================
b52bdc
-
b52bdc
- Features added
b52bdc
- --------------
b52bdc
-
b52bdc
- * New build-time option ``--with-unicode-strings`` for Python 2 that
b52bdc
-   makes the API always return Unicode strings for names and text
b52bdc
-   instead of byte strings for plain ASCII content.
b52bdc
-
b52bdc
- * New incremental XML file writing API ``etree.xmlfile()``.
b52bdc
-
b52bdc
- * E factory in lxml.objectify is callable to simplify the creation of
b52bdc
-   tags with non-identifier names without having to resort to getattr().
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
- ----------
b52bdc
-
b52bdc
- * When starting from a non-namespaced element in lxml.objectify, searching
b52bdc
-   for a child without explicitly specifying a namespace incorrectly found
b52bdc
-   namespaced elements with the requested local name, instead of restricting
b52bdc
-   the search to non-namespaced children.
b52bdc
-
b52bdc
- * GH#85: Deprecation warnings were fixed for Python 3.x.
b52bdc
-
b52bdc
- * GH#33: lxml.html.fromstring() failed to accept bytes input in Py3.
b52bdc
-
b52bdc
- * LP#1080792: Static build of libxml2 2.9.0 failed due to missing file.
b52bdc
-
b52bdc
- Other changes
b52bdc
- -------------
b52bdc
-
b52bdc
- * The externally useless class ``_ObjectifyElementMakerCaller`` was
b52bdc
-   removed from the module API of lxml.objectify.
b52bdc
-
b52bdc
- * LP#1075622: lxml.builder is faster for adding text to elements with
b52bdc
-   many children.  Patch by Anders Hammarquist.
b52bdc
b52bdc
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-2
b52bdc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b52bdc
b52bdc
* Mon Oct 15 2012 Jeffrey Ollie <jeff@ocjtech.us> - 3.0.1-1
b52bdc
- 3.0.1 (2012-10-14)
b52bdc
- Bugs fixed
b52bdc
-
b52bdc
-  * LP#1065924: Element proxies could disappear during garbage collection
b52bdc
-    in PyPy without proper cleanup.
b52bdc
-  * GH#71: Failure to work with libxml2 2.6.x.
b52bdc
-  * LP#1065139: static MacOS-X build failed in Py3.
b52bdc
b52bdc
* Wed Oct 10 2012 Jeffrey Ollie <jeff@ocjtech.us> - 3.0-1
b52bdc
- 3.0 (2012-10-08)
b52bdc
- ================
b52bdc
-
b52bdc
- Features added
b52bdc
- --------------
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
- ----------
b52bdc
-
b52bdc
- * End-of-file handling was incorrect in iterparse() when reading from
b52bdc
-   a low-level C file stream and failed in libxml2 2.9.0 due to its
b52bdc
-   improved consistency checks.
b52bdc
-
b52bdc
- Other changes
b52bdc
- -------------
b52bdc
-
b52bdc
- * The build no longer uses Cython by default unless the generated C files
b52bdc
-   are missing.  To use Cython, pass the option "--with-cython".  To ignore
b52bdc
-   the fatal build error when Cython is required but not available (e.g. to
b52bdc
-   run special setup.py commands that do not actually run a build), pass
b52bdc
-   "--without-cython".
b52bdc
-
b52bdc
-
b52bdc
- 3.0beta1 (2012-09-26)
b52bdc
- =====================
b52bdc
-
b52bdc
- Features added
b52bdc
- --------------
b52bdc
-
b52bdc
- * Python level access to (optional) libxml2 memory debugging features
b52bdc
-   to simplify debugging of memory leaks etc.
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
- ----------
b52bdc
-
b52bdc
- * Fix a memory leak in XPath by switching to Cython 0.17.1.
b52bdc
-
b52bdc
- * Some tests were adapted to work with PyPy.
b52bdc
-
b52bdc
- Other changes
b52bdc
- -------------
b52bdc
-
b52bdc
- * The code was adapted to work with the upcoming libxml2 2.9.0 release.
b52bdc
-
b52bdc
-
b52bdc
- 3.0alpha2 (2012-08-23)
b52bdc
- ======================
b52bdc
-
b52bdc
- Features added
b52bdc
- --------------
b52bdc
-
b52bdc
- * The .iter() method of elements now accepts tag arguments like "{*}name"
b52bdc
-   to search for elements with a given local name in any namespace.  With
b52bdc
-   this addition, all combinations of wildcards now work as expected:
b52bdc
-   "{ns}name", "{}name", "{*}name", "{ns}*", "{}*" and "{*}*".  Note that
b52bdc
-   "name" is equivalent to "{}name", but "*" is "{*}*".  The same change
b52bdc
-   applies to the .getiterator(), .itersiblings(), .iterancestors(),
b52bdc
-   .iterdescendants(), .iterchildren() and .itertext() methods,  the
b52bdc
-   strip_attributes(), strip_elements() and strip_tags() functions as well
b52bdc
-   as the iterparse() function.
b52bdc
-
b52bdc
- * C14N allows specifying the inclusive prefixes to be promoted to
b52bdc
-   top-level during exclusive serialisation.
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
- ----------
b52bdc
-
b52bdc
- * Passing long Unicode strings into the feed() parser interface failed to
b52bdc
-   read the entire string.
b52bdc
-
b52bdc
- Other changes
b52bdc
- -------------
b52bdc
-
b52bdc
-
b52bdc
- 3.0alpha1 (2012-07-31)
b52bdc
- ======================
b52bdc
-
b52bdc
- Features added
b52bdc
- --------------
b52bdc
-
b52bdc
- * Initial support for building in PyPy (through cpyext).
b52bdc
-
b52bdc
- * DTD objects gained an API that allows read access to their
b52bdc
-   declarations.
b52bdc
-
b52bdc
- * xpathgrep.py gained support for parsing line-by-line (e.g.
b52bdc
-   from grep output) and for surrounding the output with a new root
b52bdc
-   tag.
b52bdc
-
b52bdc
- * E-factory in lxml.builder accepts subtypes of known data
b52bdc
-   types (such as string subtypes) when building elements around them.
b52bdc
-
b52bdc
- * Tree iteration and iterparse() with a selective tag
b52bdc
-   argument supports passing a set of tags.  Tree nodes will be
b52bdc
-   returned by the iterators if they match any of the tags.
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
- ----------
b52bdc
-
b52bdc
- * The .find*() methods in lxml.objectify no longer use XPath
b52bdc
-   internally, which makes them faster in many cases (especially when
b52bdc
-   short circuiting after a single or couple of elements) and fixes
b52bdc
-   some behavioural differences compared to lxml.etree.  Note that
b52bdc
-   this means that they no longer support arbitrary XPath expressions
b52bdc
-   but only the subset that the ElementPath language supports.
b52bdc
-   The previous implementation was also redundant with the normal
b52bdc
-   XPath support, which can be used as a replacement.
b52bdc
-
b52bdc
- * el.find('*') could accidentally return a comment or processing
b52bdc
-   instruction that happened to be in the wrong spot.  (Same for the
b52bdc
-   other .find*() methods.)
b52bdc
-
b52bdc
- * The error logging is less intrusive and avoids a global setup where
b52bdc
-   possible.
b52bdc
-
b52bdc
- * Fixed undefined names in html5lib parser.
b52bdc
-
b52bdc
- * xpathgrep.py did not work in Python 3.
b52bdc
-
b52bdc
- * Element.attrib.update() did not accept an attrib of
b52bdc
-   another Element as parameter.
b52bdc
-
b52bdc
- * For subtypes of ElementBase that make the .text or .tail
b52bdc
-   properties immutable (as in objectify, for example), inserting text
b52bdc
-   when creating Elements through the E-Factory feature of the class
b52bdc
-   constructor would fail with an exception, stating that the text
b52bdc
-   cannot be modified.
b52bdc
-
b52bdc
- Other changes
b52bdc
- --------------
b52bdc
-
b52bdc
- * The code base was overhauled to properly use 'const' where the API
b52bdc
-   of libxml2 and libxslt requests it.  This also has an impact on the
b52bdc
-   public C-API of lxml itself, as defined in etreepublic.pxd, as
b52bdc
-   well as the provided declarations in the lxml/includes/ directory.
b52bdc
-   Code that uses these declarations may have to be adapted.  On the
b52bdc
-   plus side, this fixes several C compiler warnings, also for user
b52bdc
-   code, thus making it easier to spot real problems again.
b52bdc
-
b52bdc
- * The functionality of "lxml.cssselect" was moved into a separate PyPI
b52bdc
-   package called "cssselect".  To continue using it, you must install
b52bdc
-   that package separately.  The "lxml.cssselect" module is still
b52bdc
-   available and provides the same interface, provided the "cssselect"
b52bdc
-   package can be imported at runtime.
b52bdc
-
b52bdc
- * Element attributes passed in as an attrib dict or as keyword
b52bdc
-   arguments are now sorted by (namespaced) name before being created
b52bdc
-   to make their order predictable for serialisation and iteration.
b52bdc
-   Note that adding or deleting attributes afterwards does not take
b52bdc
-   that order into account, i.e. setting a new attribute appends it
b52bdc
-   after the existing ones.
b52bdc
-
b52bdc
- * Several classes that are for internal use only were removed
b52bdc
-   from the lxml.etree module dict:
b52bdc
-   _InputDocument, _ResolverRegistry, _ResolverContext, _BaseContext,
b52bdc
-   _ExsltRegExp, _IterparseContext, _TempStore, _ExceptionContext,
b52bdc
-   __ContentOnlyElement, _AttribIterator, _NamespaceRegistry,
b52bdc
-   _ClassNamespaceRegistry, _FunctionNamespaceRegistry,
b52bdc
-   _XPathFunctionNamespaceRegistry, _ParserDictionaryContext,
b52bdc
-   _FileReaderContext, _ParserContext, _PythonSaxParserTarget,
b52bdc
-   _TargetParserContext, _ReadOnlyProxy, _ReadOnlyPIProxy,
b52bdc
-   _ReadOnlyEntityProxy, _ReadOnlyElementProxy, _OpaqueNodeWrapper,
b52bdc
-   _OpaqueDocumentWrapper, _ModifyContentOnlyProxy,
b52bdc
-   _ModifyContentOnlyPIProxy, _ModifyContentOnlyEntityProxy,
b52bdc
-   _AppendOnlyElementProxy, _SaxParserContext, _FilelikeWriter,
b52bdc
-   _ParserSchemaValidationContext, _XPathContext,
b52bdc
-   _XSLTResolverContext, _XSLTContext, _XSLTQuotedStringParam
b52bdc
-
b52bdc
- * Several internal classes can no longer be inherited from:
b52bdc
-   _InputDocument, _ResolverRegistry, _ExsltRegExp, _ElementUnicodeResult,
b52bdc
-   _IterparseContext, _TempStore, _AttribIterator, _ClassNamespaceRegistry,
b52bdc
-   _XPathFunctionNamespaceRegistry, _ParserDictionaryContext,
b52bdc
-   _FileReaderContext, _PythonSaxParserTarget, _TargetParserContext,
b52bdc
-   _ReadOnlyPIProxy, _ReadOnlyEntityProxy, _OpaqueDocumentWrapper,
b52bdc
-   _ModifyContentOnlyPIProxy, _ModifyContentOnlyEntityProxy,
b52bdc
-   _AppendOnlyElementProxy, _FilelikeWriter, _ParserSchemaValidationContext,
b52bdc
-   _XPathContext, _XSLTResolverContext, _XSLTContext,
b52bdc
-   _XSLTQuotedStringParam, _XSLTResultTree, _XSLTProcessingInstruction
b52bdc
b52bdc
* Thu Sep 27 2012 Jeffrey Ollie <jeff@ocjtech.us> - 2.3.5-1
b52bdc
- Bugs fixed
b52bdc
-
b52bdc
-  * Crash when merging text nodes in element.remove().
b52bdc
-  * Crash in sax/target parser when reporting empty doctype.
b52bdc
b52bdc
* Thu Sep 27 2012 Jeffrey Ollie <jeff@ocjtech.us> - 2.3.4-1
b52bdc
- Bugs fixed
b52bdc
-
b52bdc
-  * Crash when building an nsmap (Element property) with empty namespace
b52bdc
-    URIs.
b52bdc
-  * Crash due to race condition when errors (or user messages) occur during
b52bdc
-    threaded XSLT processing (or compilation).
b52bdc
-  * XSLT stylesheet compilation could ignore compilation errors.
b52bdc
b52bdc
* Sat Aug 04 2012 David Malcolm <dmalcolm@redhat.com> - 2.3.3-4
b52bdc
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
b52bdc
b52bdc
* Fri Aug  3 2012 David Malcolm <dmalcolm@redhat.com> - 2.3.3-3
b52bdc
- remove rhel logic from with_python3 conditional
b52bdc
b52bdc
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.3-2
b52bdc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b52bdc
b52bdc
* Thu Jan  5 2012 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.3.3-1
b52bdc
- 2.3.3 (2012-01-04)
b52bdc
- Features added
b52bdc
-
b52bdc
-  * lxml.html.tostring() gained new serialisation options with_tail and
b52bdc
-    doctype.
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
-
b52bdc
-  * Fixed a crash when using iterparse() for HTML parsing and requesting
b52bdc
-    start events.
b52bdc
-  * Fixed parsing of more selectors in cssselect. Whitespace before pseudo-
b52bdc
-    elements and pseudo-classes is significant as it is a descendant
b52bdc
-    combinator. "E :pseudo" should parse the same as "E *:pseudo", not
b52bdc
-    "E:pseudo". Patch by Simon Sapin.
b52bdc
-  * lxml.html.diff no longer raises an exception when hitting 'img' tags
b52bdc
-    without 'src' attribute.
b52bdc
b52bdc
* Mon Nov 14 2011 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.3.2-1
b52bdc
- 2.3.2 (2011-11-11)
b52bdc
- Features added
b52bdc
-
b52bdc
-   * lxml.objectify.deannotate() has a new boolean option
b52bdc
-     cleanup_namespaces to remove the objectify namespace declarations
b52bdc
-     (and generally clean up the namespace declarations) after removing
b52bdc
-     the type annotations.
b52bdc
-   * lxml.objectify gained its own SubElement() function as a copy of
b52bdc
-     etree.SubElement to avoid an otherwise redundant import of
b52bdc
-     lxml.etree on the user side.
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
-
b52bdc
-    * Fixed the "descendant" bug in cssselect a second time (after a first
b52bdc
-      fix in lxml 2.3.1). The previous change resulted in a serious
b52bdc
-      performance regression for the XPath based evaluation of the
b52bdc
-      translated expression. Note that this breaks the usage of some
b52bdc
-      of the generated XPath expressions as XSLT location paths that
b52bdc
-      previously worked in 2.3.1.
b52bdc
-    * Fixed parsing of some selectors in cssselect. Whitespace after
b52bdc
-      combinators ">", "+" and "~" is now correctly ignored. Previously
b52bdc
-      it was parsed as a descendant combinator. For example, "div> .foo"
b52bdc
-      was parsed the same as "div>* .foo" instead of "div>.foo". Patch by
b52bdc
-      Simon Sapin.
b52bdc
b52bdc
* Sun Sep 25 2011 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.3.1-1
b52bdc
- Features added
b52bdc
- --------------
b52bdc
-
b52bdc
- * New option kill_tags in lxml.html.clean to remove specific
b52bdc
-   tags and their content (i.e. their whole subtree).
b52bdc
-
b52bdc
- * pi.get() and pi.attrib on processing instructions to parse
b52bdc
-   pseudo-attributes from the text content of processing instructions.
b52bdc
-
b52bdc
- * lxml.get_include() returns a list of include paths that can be
b52bdc
-   used to compile external C code against lxml.etree.  This is
b52bdc
-   specifically required for statically linked lxml builds when code
b52bdc
-   needs to compile against the exact same header file versions as lxml
b52bdc
-   itself.
b52bdc
-
b52bdc
- * Resolver.resolve_file() takes an additional option
b52bdc
-   close_file that configures if the file(-like) object will be
b52bdc
-   closed after reading or not.  By default, the file will be closed,
b52bdc
-   as the user is not expected to keep a reference to it.
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
- ----------
b52bdc
-
b52bdc
- * HTML cleaning didn't remove 'data:' links.
b52bdc
-
b52bdc
- * The html5lib parser integration now uses the 'official'
b52bdc
-   implementation in html5lib itself, which makes it work with newer
b52bdc
-   releases of the library.
b52bdc
-
b52bdc
- * In lxml.sax, endElementNS() could incorrectly reject a plain
b52bdc
-   tag name when the corresponding start event inferred the same plain
b52bdc
-   tag name to be in the default namespace.
b52bdc
-
b52bdc
- * When an open file-like object is passed into parse() or
b52bdc
-   iterparse(), the parser will no longer close it after use.  This
b52bdc
-   reverts a change in lxml 2.3 where all files would be closed.  It is
b52bdc
-   the users responsibility to properly close the file(-like) object,
b52bdc
-   also in error cases.
b52bdc
-
b52bdc
- * Assertion error in lxml.html.cleaner when discarding top-level elements.
b52bdc
-
b52bdc
- * In lxml.cssselect, use the xpath 'A//B' (short for
b52bdc
-   'A/descendant-or-self::node()/B') instead of 'A/descendant::B' for the
b52bdc
-   css descendant selector ('A B'). This makes a few edge cases to be
b52bdc
-   consistent with the selector behavior in WebKit and Firefox, and makes
b52bdc
-   more css expressions valid location paths (for use in xsl:template
b52bdc
-   match).
b52bdc
-
b52bdc
- * In lxml.html, non-selected <option> tags no longer show up in the
b52bdc
-   collected form values.
b52bdc
-
b52bdc
- * Adding/removing <option> values to/from a multiple select form
b52bdc
-   field properly selects them and unselects them.
b52bdc
-
b52bdc
- Other changes
b52bdc
- --------------
b52bdc
-
b52bdc
- * Static builds can specify the download directory with the
b52bdc
-   --download-dir option.
b52bdc
b52bdc
b52bdc
* Tue Apr 19 2011 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.3-1
b52bdc
- 2.3 (2011-02-06)
b52bdc
- ================
b52bdc
-
b52bdc
- Features added
b52bdc
- --------------
b52bdc
-
b52bdc
- * When looking for children, ``lxml.objectify`` takes '{}tag' as
b52bdc
-   meaning an empty namespace, as opposed to the parent namespace.
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
- ----------
b52bdc
-
b52bdc
- * When finished reading from a file-like object, the parser
b52bdc
-   immediately calls its ``.close()`` method.
b52bdc
-
b52bdc
- * When finished parsing, ``iterparse()`` immediately closes the input
b52bdc
-   file.
b52bdc
-
b52bdc
- * Work-around for libxml2 bug that can leave the HTML parser in a
b52bdc
-   non-functional state after parsing a severly broken document (fixed
b52bdc
-   in libxml2 2.7.8).
b52bdc
-
b52bdc
- * ``marque`` tag in HTML cleanup code is correctly named ``marquee``.
b52bdc
-
b52bdc
- Other changes
b52bdc
- --------------
b52bdc
-
b52bdc
- * Some public functions in the Cython-level C-API have more explicit
b52bdc
-   return types.
b52bdc
-
b52bdc
- 2.3beta1 (2010-09-06)
b52bdc
- =====================
b52bdc
-
b52bdc
- Features added
b52bdc
- --------------
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
- ----------
b52bdc
-
b52bdc
- * Crash in newer libxml2 versions when moving elements between
b52bdc
-   documents that had attributes on replaced XInclude nodes.
b52bdc
-
b52bdc
- * ``XMLID()`` function was missing the optional ``parser`` and
b52bdc
-   ``base_url`` parameters.
b52bdc
-
b52bdc
- * Searching for wildcard tags in ``iterparse()`` was broken in Py3.
b52bdc
-
b52bdc
- * ``lxml.html.open_in_browser()`` didn't work in Python 3 due to the
b52bdc
-   use of os.tempnam.  It now takes an optional 'encoding' parameter.
b52bdc
-
b52bdc
- Other changes
b52bdc
- --------------
b52bdc
-
b52bdc
- 2.3alpha2 (2010-07-24)
b52bdc
- ======================
b52bdc
-
b52bdc
- Features added
b52bdc
- --------------
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
- ----------
b52bdc
-
b52bdc
- * Crash in XSLT when generating text-only result documents with a
b52bdc
-   stylesheet created in a different thread.
b52bdc
-
b52bdc
- Other changes
b52bdc
- --------------
b52bdc
-
b52bdc
- * ``repr()`` of Element objects shows the hex ID with leading 0x
b52bdc
-   (following ElementTree 1.3).
b52bdc
-
b52bdc
- 2.3alpha1 (2010-06-19)
b52bdc
- ======================
b52bdc
-
b52bdc
- Features added
b52bdc
- --------------
b52bdc
-
b52bdc
- * Keyword argument ``namespaces`` in ``lxml.cssselect.CSSSelector()``
b52bdc
-   to pass a prefix-to-namespace mapping for the selector.
b52bdc
-
b52bdc
- * New function ``lxml.etree.register_namespace(prefix, uri)`` that
b52bdc
-   globally registers a namespace prefix for a namespace that newly
b52bdc
-   created Elements in that namespace will use automatically.  Follows
b52bdc
-   ElementTree 1.3.
b52bdc
-
b52bdc
- * Support 'unicode' string name as encoding parameter in
b52bdc
-   ``tostring()``, following ElementTree 1.3.
b52bdc
-
b52bdc
- * Support 'c14n' serialisation method in ``ElementTree.write()`` and
b52bdc
-   ``tostring()``, following ElementTree 1.3.
b52bdc
-
b52bdc
- * The ElementPath expression syntax (``el.find*()``) was extended to
b52bdc
-   match the upcoming ElementTree 1.3 that will ship in the standard
b52bdc
-   library of Python 3.2/2.7.  This includes extended support for
b52bdc
-   predicates as well as namespace prefixes (as known from XPath).
b52bdc
-
b52bdc
- * During regular XPath evaluation, various ESXLT functions are
b52bdc
-   available within their namespace when using libxslt 1.1.26 or later.
b52bdc
-
b52bdc
- * Support passing a readily configured logger instance into
b52bdc
-   ``PyErrorLog``, instead of a logger name.
b52bdc
-
b52bdc
- * On serialisation, the new ``doctype`` parameter can be used to
b52bdc
-   override the DOCTYPE (internal subset) of the document.
b52bdc
-
b52bdc
- * New parameter ``output_parent`` to ``XSLTExtension.apply_templates()``
b52bdc
-   to append the resulting content directly to an output element.
b52bdc
-
b52bdc
- * ``XSLTExtension.process_children()`` to process the content of the
b52bdc
-   XSLT extension element itself.
b52bdc
-
b52bdc
- * ISO-Schematron support based on the de-facto Schematron reference
b52bdc
-   'skeleton implementation'.
b52bdc
-
b52bdc
- * XSLT objects now take XPath object as ``__call__`` stylesheet
b52bdc
-   parameters.
b52bdc
-
b52bdc
- * Enable path caching in ElementPath (``el.find*()``) to avoid parsing
b52bdc
-   overhead.
b52bdc
-
b52bdc
- * Setting the value of a namespaced attribute always uses a prefixed
b52bdc
-   namespace instead of the default namespace even if both declare the
b52bdc
-   same namespace URI.  This avoids serialisation problems when an
b52bdc
-   attribute from a default namespace is set on an element from a
b52bdc
-   different namespace.
b52bdc
-
b52bdc
- * XSLT extension elements: support for XSLT context nodes other than
b52bdc
-   elements: document root, comments, processing instructions.
b52bdc
-
b52bdc
- * Support for strings (in addition to Elements) in node-sets returned
b52bdc
-   by extension functions.
b52bdc
-
b52bdc
- * Forms that lack an ``action`` attribute default to the base URL of
b52bdc
-   the document on submit.
b52bdc
-
b52bdc
- * XPath attribute result strings have an ``attrname`` property.
b52bdc
-
b52bdc
- * Namespace URIs get validated against RFC 3986 at the API level
b52bdc
-   (required by the XML namespace specification).
b52bdc
-
b52bdc
- * Target parsers show their target object in the ``.target`` property
b52bdc
-   (compatible with ElementTree).
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
- ----------
b52bdc
-
b52bdc
- * API is hardened against invalid proxy instances to prevent crashes
b52bdc
-   due to incorrectly instantiated Element instances.
b52bdc
-
b52bdc
- * Prevent crash when instantiating ``CommentBase`` and friends.
b52bdc
-
b52bdc
- * Export ElementTree compatible XML parser class as
b52bdc
-   ``XMLTreeBuilder``, as it is called in ET 1.2.
b52bdc
-
b52bdc
- * ObjectifiedDataElements in lxml.objectify were not hashable.  They
b52bdc
-   now use the hash value of the underlying Python value (string,
b52bdc
-   number, etc.) to which they compare equal.
b52bdc
-
b52bdc
- * Parsing broken fragments in lxml.html could fail if the fragment
b52bdc
-   contained an orphaned closing '' tag.
b52bdc
-
b52bdc
- * Using XSLT extension elements around the root of the output document
b52bdc
-   crashed.
b52bdc
-
b52bdc
- * ``lxml.cssselect`` did not distinguish between ``x[attr="val"]`` and
b52bdc
-   ``x [attr="val"]`` (with a space).  The latter now matches the
b52bdc
-   attribute independent of the element.
b52bdc
-
b52bdc
- * Rewriting multiple links inside of HTML text content could end up
b52bdc
-   replacing unrelated content as replacements could impact the
b52bdc
-   reported position of subsequent matches.  Modifications are now
b52bdc
-   simplified by letting the ``iterlinks()`` generator in ``lxml.html``
b52bdc
-   return links in reversed order if they appear inside the same text
b52bdc
-   node.  Thus, replacements and link-internal modifications no longer
b52bdc
-   change the position of links reported afterwards.
b52bdc
-
b52bdc
- * The ``.value`` attribute of ``textarea`` elements in lxml.html did
b52bdc
-   not represent the complete raw value (including child tags etc.). It
b52bdc
-   now serialises the complete content on read and replaces the
b52bdc
-   complete content by a string on write.
b52bdc
-
b52bdc
- * Target parser didn't call ``.close()`` on the target object if
b52bdc
-   parsing failed.  Now it is guaranteed that ``.close()`` will be
b52bdc
-   called after parsing, regardless of the outcome.
b52bdc
-
b52bdc
- Other changes
b52bdc
- -------------
b52bdc
-
b52bdc
- * Official support for Python 3.1.2 and later.
b52bdc
-
b52bdc
- * Static MS Windows builds can now download their dependencies
b52bdc
-   themselves.
b52bdc
-
b52bdc
- * ``Element.attrib`` no longer uses a cyclic reference back to its
b52bdc
-   Element object.  It therefore no longer requires the garbage
b52bdc
-   collector to clean up.
b52bdc
-
b52bdc
- * Static builds include libiconv, in addition to libxml2 and libxslt.
b52bdc
b52bdc
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.8-4
b52bdc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b52bdc
b52bdc
* Wed Dec 29 2010  David Malcolm <dmalcolm@redhat.com> - 2.2.8-3
b52bdc
- rebuild for newer python3
b52bdc
b52bdc
* Fri Nov  5 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.8-2
b52bdc
- Rebuild for newer libxml2
b52bdc
b52bdc
* Mon Sep  6 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.8-1
b52bdc
- 2.2.8 (2010-09-02)
b52bdc
- Bugs fixed
b52bdc
-
b52bdc
-     * Crash in newer libxml2 versions when moving elements between
b52bdc
-       documents that had attributes on replaced XInclude nodes.
b52bdc
-     * Import fix for urljoin in Python 3.1+.
b52bdc
b52bdc
* Tue Aug 24 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.7-3
b52bdc
- Don't byte-compile files during install because setup.py doesn't
b52bdc
  properly byte compile for Python version 3.2
b52bdc
b52bdc
* Sun Aug 22 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.7-2
b52bdc
- Rebuild for Python 3.2
b52bdc
b52bdc
* Mon Jul 26 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.7-1
b52bdc
- 2.2.7 (2010-07-24)
b52bdc
- Bugs fixed
b52bdc
-
b52bdc
-     * Crash in XSLT when generating text-only result documents with a stylesheet created in a different thread.
b52bdc
b52bdc
* Mon Jul 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.2.6-4
b52bdc
- actually add the patch this time
b52bdc
b52bdc
* Mon Jul 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.2.6-3
b52bdc
- workaround for 2to3 issue (patch 0; bug 600036)
b52bdc
b52bdc
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.2.6-2
b52bdc
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
b52bdc
b52bdc
* Tue Mar  2 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.6-1
b52bdc
- 2.2.6 (2010-03-02)
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
-
b52bdc
-    * Fixed several Python 3 regressions by building with Cython 0.11.3.
b52bdc
b52bdc
* Mon Mar  1 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.5-1
b52bdc
- 2.2.5 (2010-02-28)
b52bdc
-
b52bdc
- Features added
b52bdc
-
b52bdc
-    * Support for running XSLT extension elements on the input root node
b52bdc
-      (e.g. in a template matching on "/").
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
-
b52bdc
-    * Crash in XPath evaluation when reading smart strings from a document
b52bdc
-      other than the original context document.
b52bdc
-    * Support recent versions of html5lib by not requiring its XHTMLParser
b52bdc
-      in htmlparser.py anymore.
b52bdc
-    * Manually instantiating the custom element classes in lxml.objectify
b52bdc
-      could crash.
b52bdc
-    * Invalid XML text characters were not rejected by the API when they
b52bdc
-      appeared in unicode strings directly after non-ASCII characters.
b52bdc
-    * lxml.html.open_http_urllib() did not work in Python 3.
b52bdc
-    * The functions strip_tags() and strip_elements() in lxml.etree did
b52bdc
-      not remove all occurrences of a tag in all cases.
b52bdc
-    * Crash in XSLT extension elements when the XSLT context node is not
b52bdc
-      an element.
b52bdc
b52bdc
* Mon Feb 15 2010 Thomas Spura <tomspur@fedoraproject.org> - 2.2.4-2
b52bdc
- update to current python3 guidelines
b52bdc
- be more explicit in %%files
b52bdc
- use %%global and not %%define
b52bdc
- create docs subpackage
b52bdc
- add stripping 3-byte Byte Order Marker from src/lxml/tests/test_errors.py
b52bdc
  to get 2to3 to work (dmalcolm)
b52bdc
- fixes FTBFS (#564674)
b52bdc
b52bdc
* Thu Jan 14 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.4-1
b52bdc
- Update to 2.2.4
b52bdc
- Enable Python 3 subpackage
b52bdc
b52bdc
* Thu Nov  5 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.3-3
b52bdc
- F-13's python build chain must be a little different...
b52bdc
b52bdc
* Thu Nov  5 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.3-2
b52bdc
- Add option to build a Python 3 subpackage, original patch by David Malcolm
b52bdc
b52bdc
* Fri Oct 30 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.3-1
b52bdc
- 2.2.3 (2009-10-30)
b52bdc
- Bugs fixed
b52bdc
-
b52bdc
-    * The resolve_entities option did not work in the incremental feed
b52bdc
-      parser.
b52bdc
-    * Looking up and deleting attributes without a namespace could hit a
b52bdc
-      namespaced attribute of the same name instead.
b52bdc
-    * Late errors during calls to SubElement() (e.g. attribute related
b52bdc
-      ones) could leave a partially initialised element in the tree.
b52bdc
-    * Modifying trees that contain parsed entity references could result
b52bdc
-      in an infinite loop.
b52bdc
-    * ObjectifiedElement.__setattr__ created an empty-string child element
b52bdc
-      when the attribute value was rejected as a non-unicode/non-ascii
b52bdc
-      string
b52bdc
-    * Syntax errors in lxml.cssselect could result in misleading error
b52bdc
-      messages.
b52bdc
-    * Invalid syntax in CSS expressions could lead to an infinite loop in
b52bdc
-      the parser of lxml.cssselect.
b52bdc
-    * CSS special character escapes were not properly handled in
b52bdc
-      lxml.cssselect.
b52bdc
-    * CSS Unicode escapes were not properly decoded in lxml.cssselect.
b52bdc
-    * Select options in HTML forms that had no explicit value attribute
b52bdc
-      were not handled correctly. The HTML standard dictates that their
b52bdc
-      value is defined by their text content. This is now supported by
b52bdc
-      lxml.html.
b52bdc
-    * XPath raised a TypeError when finding CDATA sections. This is now
b52bdc
-      fully supported.
b52bdc
-    * Calling help(lxml.objectify) didn't work at the prompt.
b52bdc
-    * The ElementMaker in lxml.objectify no longer defines the default
b52bdc
-      namespaces when annotation is disabled.
b52bdc
-    * Feed parser failed to honour the 'recover' option on parse errors.
b52bdc
-    * Diverting the error logging to Python's logging system was broken.
b52bdc
b52bdc
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-2
b52bdc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b52bdc
b52bdc
* Sun Jun 21 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.2-1
b52bdc
- 2.2.2 (2009-06-21)
b52bdc
- Features added
b52bdc
-
b52bdc
-    * New helper functions strip_attributes(), strip_elements(),
b52bdc
-      strip_tags() in lxml.etree to remove attributes/subtrees/tags
b52bdc
-      from a subtree.
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
-
b52bdc
-    * Namespace cleanup on subtree insertions could result in missing
b52bdc
-      namespace declarations (and potentially crashes) if the element
b52bdc
-      defining a namespace was deleted and the namespace was not used
b52bdc
-      by the top element of the inserted subtree but only in deeper
b52bdc
-      subtrees.
b52bdc
-    * Raising an exception from a parser target callback didn't always
b52bdc
-      terminate the parser.
b52bdc
-    * Only {true, false, 1, 0} are accepted as the lexical representation
b52bdc
-      for BoolElement ({True, False, T, F, t, f} not any more), restoring
b52bdc
-      lxml <= 2.0 behaviour.
b52bdc
b52bdc
* Tue Jun  2 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.1-1
b52bdc
- 2.2.1 (2009-06-02)
b52bdc
- Features added
b52bdc
-
b52bdc
-    * Injecting default attributes into a document during XML Schema
b52bdc
-      validation (also at parse time).
b52bdc
-    * Pass huge_tree parser option to disable parser security restrictions
b52bdc
-      imposed by libxml2 2.7.
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
-
b52bdc
-    * The script for statically building libxml2 and libxslt didn't work
b52bdc
-      in Py3.
b52bdc
-    * XMLSchema() also passes invalid schema documents on to libxml2 for
b52bdc
-      parsing (which could lead to a crash before release 2.6.24).
b52bdc
b52bdc
* Tue Mar 24 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2-1
b52bdc
- 2.2 (2009-03-21)
b52bdc
- Features added
b52bdc
-
b52bdc
-    * Support for standalone flag in XML declaration through
b52bdc
-      tree.docinfo.standalone and by passing standalone=True/False on
b52bdc
-      serialisation.
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
-
b52bdc
-    * Crash when parsing an XML Schema with external imports from a
b52bdc
-      filename.
b52bdc
b52bdc
* Fri Feb 27 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2-0.8.beta4
b52bdc
- 2.2beta4 (2009-02-27)
b52bdc
- Features added
b52bdc
-
b52bdc
-    * Support strings and instantiable Element classes as child arguments
b52bdc
-      to the constructor of custom Element classes.
b52bdc
-    * GZip compression support for serialisation to files and file-like
b52bdc
-      objects.
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
-
b52bdc
-    * Deep-copying an ElementTree copied neither its sibling PIs and
b52bdc
-      comments nor its internal/external DTD subsets.
b52bdc
-    * Soupparser failed on broken attributes without values.
b52bdc
-    * Crash in XSLT when overwriting an already defined attribute using
b52bdc
-      xsl:attribute.
b52bdc
-    * Crash bug in exception handling code under Python 3. This was due to
b52bdc
-      a problem in Cython, not lxml itself.
b52bdc
-    * lxml.html.FormElement._name() failed for non top-level forms.
b52bdc
-    * TAG special attribute in constructor of custom Element classes was
b52bdc
-      evaluated incorrectly.
b52bdc
-
b52bdc
- Other changes
b52bdc
-
b52bdc
-    * Official support for Python 3.0.1.
b52bdc
-    * Element.findtext() now returns an empty string instead of None for
b52bdc
-      Elements without text content.
b52bdc
b52bdc
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-0.7.beta3
b52bdc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
b52bdc
b52bdc
* Tue Feb 17 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2-0.6.beta3
b52bdc
- 2.2beta3 (2009-02-17)
b52bdc
- Features added
b52bdc
-
b52bdc
-    * XSLT.strparam() class method to wrap quoted string parameters that
b52bdc
-     require escaping.
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
-
b52bdc
-    * Memory leak in XPath evaluators.
b52bdc
-    * Crash when parsing indented XML in one thread and merging it with
b52bdc
-      other documents parsed in another thread.
b52bdc
-    * Setting the base attribute in lxml.objectify from a unicode string
b52bdc
-      failed.
b52bdc
-    * Fixes following changes in Python 3.0.1.
b52bdc
-    * Minor fixes for Python 3.
b52bdc
-
b52bdc
- Other changes
b52bdc
-
b52bdc
-    * The global error log (which is copied into the exception log) is now
b52bdc
-      local to a thread, which fixes some race conditions.
b52bdc
-    * More robust error handling on serialisation.
b52bdc
b52bdc
* Sun Jan 25 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2-0.5.beta2
b52bdc
- 2.2beta2 (2009-01-25)
b52bdc
- Bugs fixed
b52bdc
-
b52bdc
-    * Potential memory leak on exception handling. This was due to a
b52bdc
-      problem in Cython, not lxml itself.
b52bdc
-    * iter_links (and related link-rewriting functions) in lxml.html would
b52bdc
-      interpret CSS like url("link") incorrectly (treating the quotation
b52bdc
-      marks as part of the link).
b52bdc
-    * Failing import on systems that have an io module.
b52bdc
b52bdc
* Fri Dec 12 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2-0.4.beta1
b52bdc
- 2.2beta1 (2008-12-12)
b52bdc
- Features added
b52bdc
-
b52bdc
-    * Allow lxml.html.diff.htmldiff to accept Element objects,
b52bdc
-      not just HTML strings.
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
-
b52bdc
-    * Crash when using an XPath evaluator in multiple threads.
b52bdc
-    * Fixed missing whitespace before Link:... in lxml.html.diff.
b52bdc
-
b52bdc
- Other changes
b52bdc
-
b52bdc
-    * Export lxml.html.parse.
b52bdc
b52bdc
* Fri Nov 28 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2-0.3.alpha1
b52bdc
- Rebuild for Python 2.6
b52bdc
b52bdc
* Mon Nov 24 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2-0.2.alpha1
b52bdc
- Don't forget to upload the sources!
b52bdc
b52bdc
* Mon Nov 24 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2-0.1.alpha1
b52bdc
- 2.2alpha1 (2008-11-23)
b52bdc
- Features added
b52bdc
-
b52bdc
-    * Support for XSLT result tree fragments in XPath/XSLT extension
b52bdc
-      functions.
b52bdc
-    * QName objects have new properties namespace and localname.
b52bdc
-    * New options for exclusive C14N and C14N without comments.
b52bdc
-    * Instantiating a custom Element classes creates a new Element.
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
-
b52bdc
-    * XSLT didn't inherit the parse options of the input document.
b52bdc
-    * 0-bytes could slip through the API when used inside of Unicode
b52bdc
-      strings.
b52bdc
-    * With lxml.html.clean.autolink, links with balanced parenthesis, that
b52bdc
-      end in a parenthesis, will be linked in their entirety (typical with
b52bdc
-      Wikipedia links).
b52bdc
b52bdc
* Mon Nov 17 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.1.3-1
b52bdc
- 2.1.3 (2008-11-17)
b52bdc
- Bugs fixed
b52bdc
-
b52bdc
-    * Ref-count leaks when lxml enters a try-except statement while an
b52bdc
-      outside exception lives in sys.exc_*(). This was due to a problem
b52bdc
-      in Cython, not lxml itself.
b52bdc
-    * Parser Unicode decoding errors could get swallowed by other
b52bdc
-      exceptions.
b52bdc
-    * Name/import errors in some Python modules.
b52bdc
-    * Internal DTD subsets that did not specify a system or public ID
b52bdc
-      were not serialised and did not appear in the docinfo property
b52bdc
-      of ElementTrees.
b52bdc
-    * Fix a pre-Py3k warning when parsing from a gzip file in Py2.6.
b52bdc
-    * Test suite fixes for libxml2 2.7.
b52bdc
-    * Resolver.resolve_string() did not work for non-ASCII byte strings.
b52bdc
-    * Resolver.resolve_file() was broken.
b52bdc
-    * Overriding the parser encoding didn't work for many encodings.
b52bdc
b52bdc
* Fri Sep  5 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.1.2-1
b52bdc
- 2.1.2 (2008-09-05)
b52bdc
- Features added
b52bdc
-
b52bdc
-    * lxml.etree now tries to find the absolute path name of files when
b52bdc
-      parsing from a file-like object. This helps custom resolvers when
b52bdc
-      resolving relative URLs, as lixbml2 can prepend them with the path of
b52bdc
-      the source document.
b52bdc
-
b52bdc
- Bugs fixed
b52bdc
-
b52bdc
-    * Memory problem when passing documents between threads.
b52bdc
-    * Target parser did not honour the recover option and raised an exception
b52bdc
-      instead of calling .close() on the target.
b52bdc
b52bdc
* Fri Jul 25 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.1.1-1
b52bdc
- Update to 2.1.1
b52bdc
b52bdc
* Fri Jun 20 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.7-1
b52bdc
- Update to 2.0.7
b52bdc
- Update download URL
b52bdc
b52bdc
* Sat May 31 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.6-1
b52bdc
- Update to 2.0.6
b52bdc
b52bdc
* Thu May  8 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.5-1
b52bdc
- Update to 2.0.5
b52bdc
b52bdc
* Wed Mar 26 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.3-1
b52bdc
- Update to 2.0.3
b52bdc
b52bdc
* Sat Feb 23 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.2-1
b52bdc
- Update to 2.0.2
b52bdc
b52bdc
* Tue Feb 19 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.1-1
b52bdc
- Update to 2.0.1
b52bdc
b52bdc
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.3.6-2
b52bdc
- Autorebuild for GCC 4.3
b52bdc
b52bdc
* Sun Nov  4 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.3.6-1
b52bdc
- Update to 1.3.6.
b52bdc
b52bdc
* Mon Oct 22 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.3.5-1
b52bdc
- Update to 1.3.5.
b52bdc
b52bdc
* Thu Aug 30 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.3.4-1
b52bdc
- Update to 1.3.4.
b52bdc
b52bdc
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1.3.3-3
b52bdc
- Rebuild for selinux ppc32 issue.
b52bdc
b52bdc
* Tue Aug 28 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.3.3-2
b52bdc
- BR python-setuptools-devel
b52bdc
b52bdc
* Mon Jul 30 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.3.3-1
b52bdc
- Update to 1.3.3
b52bdc
b52bdc
* Fri Jan 19 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.1.2-1
b52bdc
- Update to 1.1.2
b52bdc
b52bdc
* Thu Dec 14 2006 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.0.3-3
b52bdc
- Rebuild for new Python
b52bdc
b52bdc
* Sat Sep 16 2006 Shahms E. King <shahms@shahms.com> 1.0.3-2
b52bdc
- Rebuild for FC6
b52bdc
b52bdc
* Thu Aug 17 2006 Shahms E. King <shahms@shahms.com> 1.0.3-1
b52bdc
- Update to new upstream version
b52bdc
b52bdc
* Fri Aug 11 2006 Shahms E. King <shahms@shahms.com> 1.0.2-2
b52bdc
- Include, don't ghost .pyo files per new guidelines
b52bdc
b52bdc
* Fri Jul 07 2006 Shahms E. King <shahms@shahms.com> 1.0.2-1
b52bdc
- Update to new upstream release
b52bdc
b52bdc
* Mon Jun 26 2006 Shahms E. King <shahms@shahms.com> 1.0.1-1
b52bdc
- Update to new upstream release
b52bdc
b52bdc
* Fri Jun 02 2006 Shahms E. King <shahms@shahms.com> 1.0-1
b52bdc
- Update to new upstream 1.0 release
b52bdc
b52bdc
* Wed Apr 26 2006 Shahms E. King <shahms@shahms.com> 0.9.1-3
b52bdc
- Add python-setuptools to BuildRequires
b52bdc
- Use dist tag
b52bdc
b52bdc
* Wed Apr 26 2006 Shahms E. King <shahms@shahms.com> 0.9.1-2
b52bdc
- Fix summary and description
b52bdc
b52bdc
* Tue Apr 18 2006 Shahms E. King <shahms@shahms.com> 0.9.1-1
b52bdc
- update the new upstream version
b52bdc
- remove Pyrex build req
b52bdc
b52bdc
* Tue Dec 13 2005 Shahms E. King <shahms@shahms.com> 0.8-1
b52bdc
- Initial package