summaryrefslogtreecommitdiffstats
path: root/Modules/expat
Commit message (Collapse)AuthorAgeFilesLines
* bpo-31170: Update libexpat from 2.2.3 to 2.2.4 (#3315)Victor Stinner2017-09-0619-58/+581
| | | | | | | | | | | | | | | | Fix copying of partial characters for UTF-8 input (libexpat bug 115): https://github.com/libexpat/libexpat/issues/115 (cherry picked from commit 759e30ec47048cb9835c62aaeac48748c8151390) The standard header stdbool.h is not available with old Visual Studio compilers Cherry-picked from libexpat b4b89c2ab0cc5325a41360c25ef9d2ccbe617e5c. expat: Add artificial scopes in xmltok.c utf8_toUtf8() to fix c89 compilation. Cherry-picked from libexpat commit e0b290eb3d8f4c4b45137a7d7f4f8db812145bd2
* bpo-30947: Update libexpat from 2.2.1 to 2.2.3 (#3106) (#3145)Victor Stinner2017-08-187-102/+709
| | | | | | | | | | | | | | | | | | * bpo-30947: Update libexpat from 2.2.1 to 2.2.3 * Add NEWS entry * Add new loadlibrary.c * expat_external.h: restore include "pyexpatns.h" * PCbuild: add expat/loadlibrary.c * Define XML_POOR_ENTROPY to compile expat Python 2.7 backport: add expat/loadlibrary.c to PC/VS9.0/ project files (_elementtree and pyexpat). (cherry picked from commit 93d0cb58b4da2a88c56f472c6c19491cc7a390df)
* [2.7] bpo-30797: Avoid _GNU_SOURCE redefined warning in xmlparse.c (GH-2670) ↵Segev Finer2017-07-111-1/+1
| | | | | | | | | | (#2672) * [2.7] Avoid _GNU_SOURCE redefined warning in xmlparse.c (GH-2670) (cherry picked from commit f52325598e7a9683787d76a42009fc16790a0089) * [2.7] Avoid _GNU_SOURCE redefined warning in xmlparse.c (GH-2670). (cherry picked from commit f52325598e7a9683787d76a42009fc16790a0089)
* [2.7] bpo-30694: Upgrade Modules/expat/ to libexpat 2.2.1 (#2300) (#2312)Victor Stinner2017-06-218-158/+889
| | | | | | | | | | | * bpo-30694: Upgrade Modules/expat/ to libexpat 2.2.1 (#2300) New file: Modules/expat/siphash.h. (cherry picked from commit 5ff7132313eb651107b179d20218dfe5d4e47f13) * siphash.h: Address lack of stdint.h for Visual Studio 2003-2008 (cherry picked from libexpat commit c74d380b8f0b5215153d840d2af9455d9c53b960)
* bpo-29591: Upgrade Modules/expat to libexpat 2.2 (#2164) (#2202)Victor Stinner2017-06-1512-472/+521
| | | | | | | | | | | | | | | | | | | | | | * bpo-29591: Upgrade Modules/expat to libexpat 2.2 * bpo-29591: Restore Python changes on expat * bpo-29591: Remove expat config of unsupported platforms Remove the configuration (Modules/expat/*config.h) of unsupported platforms: * Amiga * MacOS Classic on PPC32 * Open Watcom * bpo-29591: Remove useless XML_HAS_SET_HASH_SALT The XML_HAS_SET_HASH_SALT define of Modules/expat/expat.h became useless since our local expat copy was upgrade to expat 2.1 (it's now expat 2.2.0). (cherry picked from commit 23ec4b57e1359f9c539b8defc317542173ae087e)
* Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-021-1/+1
| | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed to fix the grammar.
* Issue #22463: Backport compiler warning fixes and workaroundsMartin Panter2016-06-211-6/+6
| | | | | | | | | | | | | | * Set but unused variable in Parser/pgen.c in non-debug builds. Patch by Christian Heimes. * Unused static function in Modules/readline.c. Patch by Georg Brandl. * main_window unused in Modules/tkappinit.c. Patch by Gregory P. Smith. * Dead assignment in Modules/_ctypes/cfield.c. Extracted from patch by Brett Cannon. * Expression result unused in PyObject_INIT macro expansions. Based on patches by Christian Heimes. * Load expat_config.h and therefore pyconfig.h before C stdlib headers are loaded. This silences pre-processor warnings including '_POSIX_C_SOURCE redefined'. Extracted from patch by Christian Heimes.
* upgrade expt to 2.1.1 (closes #26556)Benjamin Peterson2016-06-113-6/+24
|
* Issue #17047: remove doubled words found in 2.7 to 3.4 Modules/*,Terry Jan Reedy2013-03-111-1/+1
| | | | as reported by Serhiy Storchaka and Matthew Barnett.
* Update the embedded copy of the expat XML parser to 2.1.0. It bringsGregory P. Smith2012-07-1412-253/+373
| | | | | | | | | with it a vareity of bug fixes, both security and behavior. See http://www.libexpat.org/ for the list. NOTE: I already backported the expat hash randomization fix in March. Fixes issue #14340.
* Fixes Issue 14234: fix for the previous commit, keep compilation whenGregory P. Smith2012-03-151-0/+2
| | | | | using --with-system-expat working when the system expat does not have salted hash support.
* Fixes Issue #14234: CVE-2012-0876: Randomize hashes of xml attributesGregory P. Smith2012-03-143-59/+128
| | | | | | in the hash table internal to the pyexpat module's copy of the expat library to avoid a denial of service due to hash collisions. Patch by David Malcolm with some modifications by the expat project.
* Merged revisions 84743 via svnmerge fromMatthias Klose2010-09-121-0/+21
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84743 | matthias.klose | 2010-09-12 18:31:58 +0200 (So, 12 Sep 2010) | 3 lines - Issue #9817: Add expat COPYING file; add expat, libffi and expat licenses to Doc/license.rst. ........
* - Expat: Fix DoS via XML document with malformed UTF-8 sequencesMatthias Klose2010-01-221-0/+3
| | | | (CVE_2009_3560).
* Expat could crash if given the wrong kind of input by never stopping itsBrett Cannon2009-08-131-1/+1
| | | | | | tokenizing step. Thanks to Ivan Krstić for the patch.
* Handle failures from lookup.Neal Norwitz2006-08-131-0/+4
| | | | Klocwork 341-342
* - back out Expat change; the final fix to Expat will be differentFred Drake2006-07-061-2/+0
| | | | | - change the pyexpat wrapper to not be so sensitive to this detail of the Expat implementation (the ex-crasher test still passes)
* SF bug #1296433 (Expat bug #1515266): Unchecked calls to character dataFred Drake2006-07-011-0/+2
| | | | | | | | handler would cause a segfault. This merges in Expat's lib/xmlparse.c revisions 1.154 and 1.155, which fix this and a closely related problem (the later does not affect Python). Moved the crasher test to the tests for xml.parsers.expat.
* [ 1295808 ] expat symbols should be namespaced in pyexpatv2.5b1Trent Mick2006-06-192-0/+128
| | | | (http://python.org/sf/1295808)
* Upgrade pyexpat to expat 2.0.0 (http://python.org/sf/1462338).Trent Mick2006-06-1910-306/+361
|
* Fix breakage from patch 1471883 (r45800 & r45808) on OSF/1.Neal Norwitz2006-05-023-8/+8
| | | | | | The problem was that pyconfig.h was being included before some system headers which caused redefinitions and other breakage. This moves system headers after expat_config.h which includes pyconfig.h.
* Further changes for #1471883: Edit Misc/NEWS, andMartin v. Löwis2006-04-291-0/+19
| | | | add expat_config.h.
* Remove two instances of trailing commas. Resolves patch #1209781.Georg Brandl2006-02-191-1/+1
|
* Fix icc warnings: using wrong enum typeNeal Norwitz2006-01-071-2/+2
|
* update to Expat 1.95.8Fred Drake2004-08-037-361/+789
|
* remove support for missing ANSI C header files (limits.h, stddef.h, etc).Skip Montanaro2004-02-101-6/+0
|
* Update to Expat 1.95.7; there are no changes to the Expat sources.Fred Drake2003-10-2113-1045/+604
|
* Integrate the patch from expat.h 1.51; needed for some C compilers.Fred Drake2003-02-071-21/+24
| | | | Closes SF bug #680797.
* Update to the final version released as Expat 1.95.6 (maintainingFred Drake2003-01-281-78/+66
| | | | Martin's integration changes).
* Undo inclusion of Python.h. Remove HAVE_MEMCPY section.Martin v. Löwis2003-01-261-12/+0
| | | | Update Windows command line.
* Uncomment usage of expat_config.hMartin v. Löwis2003-01-251-0/+2
|
* Incorporate Expat 1.95.6.Martin v. Löwis2003-01-2510-3941/+5444
|
* Remove RCSId; this produces annoying warnings.Fred Drake2002-07-171-3/+0
| | | | | This is already removed from Expat 1.95.4, so the problem will not recur when we update.
* Patch #551011: Fix compilation problems with Cygwin.Martin v. Löwis2002-05-081-1/+1
|
* Define VERSION in expat.h.Martin v. Löwis2002-02-131-0/+4
|
* "Generate" from expat.h.in, for 1.95.2.Martin v. Löwis2002-02-121-0/+735
|
* Disable usage of Expat's config.h.Martin v. Löwis2002-02-113-0/+6
|
* Initial revisionMartin v. Löwis2002-02-1117-0/+11093