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