1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +03:00
XML parser and toolkit
Go to file
Sam James a0f9211b52 python/Makefile.am: use *_LIBADD, not *_LDFLAGS for LIBS
This fixes over-linking in the built Python modules with various libraries.

*_LIBADD is intended for adding additional libraries for linking, while
*_LDFLAGS is for miscellaneous extra flags (possibly user-supplied).

If using -Wl,-as-needed within user-supplied LDFLAGS, it is passed too
late (after the library link line) and therefore has no effect.

Notes:

* Noticed while working on Gentoo's migration to libxcrypt because
libxml2's Python modules were linking to libcrypt (and other libraries)
unexpectedly.

* It was suggested we could actually stop linking explicitly with all
of Python's libraries / don't copy its LDFLAGS, but this resolves
the original issue downstream and is a separate discussion. I couldn't
find any clear documentation for/against such a change.

Bug: https://bugs.gentoo.org/798942
Signed-off-by: Sam James <sam@gentoo.org>
2022-01-16 13:58:43 +01:00
bakefile Fix typos 2020-03-08 17:41:53 +01:00
doc Fix some validation errors in the FAQ 2021-05-23 11:57:12 +02:00
example Large batch of typo fixes 2019-09-30 18:04:38 +02:00
fuzz Release of libxml2-2.9.12 2021-05-13 20:56:16 +02:00
include Add missing file xmlwin32version.h.in to EXTRA_DIST 2021-05-21 12:23:02 +02:00
macos Stop including ansidecl.h 2017-11-27 14:35:29 +01:00
optim Fix typos 2020-03-08 17:41:53 +01:00
os400 Fix typos 2020-03-08 17:41:53 +01:00
python python/Makefile.am: use *_LIBADD, not *_LDFLAGS for LIBS 2022-01-16 13:58:43 +01:00
result Fix regression parsing public IDs literals in HTML 2022-01-10 13:37:59 +01:00
test Fix regression parsing public IDs literals in HTML 2022-01-10 13:37:59 +01:00
vms Remove unused AC_CHECKs 2017-11-27 14:35:29 +01:00
VxWorks apply a couple of fixes based on a Coverity report forwarded by Derrick 2008-06-10 14:56:11 +00:00
win32 Fix variable name in win32/configure.js 2020-09-21 11:00:23 +02:00
xstc Fix typos 2020-03-08 17:41:53 +01:00
.gitattributes Fix .gitattributes 2020-07-23 20:46:42 +02:00
.gitignore Add some generated test files to .gitignore 2019-01-06 14:25:18 +01:00
.gitlab-ci.yml Only run a few CI tests unless scheduled 2021-02-22 22:29:28 +01:00
.travis.yml Enable more undefined behavior sanitizers 2019-11-02 17:53:23 +01:00
acinclude.m4 More updates and cleanups on autotools and Makefiles 2012-08-17 10:04:30 +08:00
AUTHORS more work on the xml reader interfaces. updated Igor's mail and the Web 2002-12-18 14:53:54 +00:00
autogen.sh Fix check for libtool in autogen.sh 2022-01-16 13:58:39 +01:00
buf.c Reset HTML parser input before reporting error 2020-07-11 14:39:52 +02:00
buf.h Fix and add const qualifiers 2014-10-13 16:06:21 +08:00
build_glob.py patch from Stphane Bidoul for setting up threads global defaults. this 2003-05-15 22:11:36 +00:00
c14n.c Fix return value of xmlC14NDocDumpMemory 2020-06-24 20:07:32 +02:00
catalog.c Fix typos 2020-03-08 17:41:53 +01:00
ChangeLog Fix typos 2020-03-08 17:41:53 +01:00
check-relaxng-test-suite2.py patches from John Carr to start cleaning up 'make diskcheck' problems c.f. 2008-01-11 07:19:24 +00:00
check-relaxng-test-suite.py patches from John Carr to start cleaning up 'make diskcheck' problems c.f. 2008-01-11 07:19:24 +00:00
check-xinclude-test-suite.py Large batch of typo fixes 2019-09-30 18:04:38 +02:00
check-xml-test-suite.py Large batch of typo fixes 2019-09-30 18:04:38 +02:00
check-xsddata-test-suite.py patches from John Carr to start cleaning up 'make diskcheck' problems c.f. 2008-01-11 07:19:24 +00:00
chvalid.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
chvalid.def Remove executable bit from non-executable files 2019-09-16 15:48:59 +02:00
CMakeLists.txt Use version in configure.ac for CMake 2021-06-07 21:43:08 +02:00
config.h.cmake.in Update config.h.cmake.in 2020-07-12 18:42:18 +02:00
configure.ac Release of libxml2-2.9.12 2021-05-13 20:56:16 +02:00
CONTRIBUTING Update GitLab CI config 2019-10-20 18:15:34 +02:00
Copyright Cleanup the Copyright to be pure MIT Licence wording 2012-09-20 21:46:19 +08:00
dbgen.pl add a Timingtests target to check bad behaviour from the streaming engine 2003-09-17 22:33:22 +00:00
dbgenattr.pl add a Timingtests target to check bad behaviour from the streaming engine 2003-09-17 22:33:22 +00:00
debugXML.c Fix typos 2020-03-08 17:41:53 +01:00
dict.c Fix typos 2020-03-08 17:41:53 +01:00
DOCBparser.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
elfgcchack.h Rebuild docs 2019-09-30 18:05:45 +02:00
enc.h Large batch of typo fixes 2019-09-30 18:04:38 +02:00
encoding.c Remove unused variable in xmlCharEncOutFunc 2021-05-23 11:55:32 +02:00
entities.c Validate UTF8 in xmlEncodeEntities 2021-04-22 11:57:32 +02:00
error.c Fix error reporting with xi:fallback 2020-08-17 01:17:39 +02:00
genChRanges.py Large batch of typo fixes 2019-09-30 18:04:38 +02:00
gentest.py Fix typos 2020-03-08 17:41:53 +01:00
genUnicode.py Add const in five places to move 1 KiB to .rdata 2017-08-28 21:27:03 +02:00
global.data Fix SetGenericErrorFunc and SetStructured clash 2009-08-24 17:34:25 +02:00
globals.c Fix typos 2020-03-08 17:41:53 +01:00
hash.c Fix typos 2020-03-08 17:41:53 +01:00
HTMLparser.c Different approach to fix quadratic behavior in HTML push parser 2022-01-10 14:50:20 +01:00
HTMLtree.c Fix whitespace when serializing empty HTML documents 2021-06-07 15:09:53 +02:00
INSTALL.libxml2 Add instructions on how to use CMake to compile libxml 2021-05-21 12:22:13 +02:00
legacy.c Legacy needs xmlSAX2StartElement() and xmlSAX2EndElement(). 2014-02-10 10:32:45 +08:00
libxml2-config.cmake.cmake.in Add variables for configured options to CMake config files 2021-01-05 22:03:47 +01:00
libxml2-config.cmake.in Add variables for configured options to CMake config files 2021-01-05 22:03:47 +01:00
libxml2.doap Add myself to maintainers 2022-01-16 13:52:21 +01:00
libxml2.syms Add xmlPopOutputCallbacks 2020-02-11 11:32:23 +01:00
libxml-2.0-uninstalled.pc.in build: Add @LZMA_LIBS@ to libxml’s pkg-config files 2013-10-29 17:35:36 +08:00
libxml-2.0.pc.in build: Add @LZMA_LIBS@ to libxml’s pkg-config files 2013-10-29 17:35:36 +08:00
libxml.3 libxml(3) manpage typo fix 2012-08-17 11:59:01 +08:00
libxml.h Large batch of typo fixes 2019-09-30 18:04:38 +02:00
libxml.m4 Fix warnings in libxml.m4 with autoconf 2.70+. 2021-02-20 16:48:20 +01:00
libxml.spec.in Fix some release issues on Fedora 30 2019-10-23 18:13:08 +02:00
list.c Fix typos 2020-03-08 17:41:53 +01:00
MAINTAINERS Update MAINTAINERS file to match Gnome stuff, Daniel 2007-09-04 08:10:09 +00:00
Makefile.am Add CMake files to EXTRA_DIST 2020-11-30 11:22:53 +01:00
Makefile.tests Fix typos 2020-03-08 17:41:53 +01:00
Makefile.win Release 0.2, 80% rewrite, nothing left intact ... Daniel 1998-08-13 03:39:55 +00:00
nanoftp.c Fix typos 2020-03-08 17:41:53 +01:00
nanohttp.c Fix typos 2020-03-08 17:41:53 +01:00
NEWS Large batch of typo fixes 2019-09-30 18:04:38 +02:00
parser.c fix: avoid segfault at exit when using custom memory functions 2021-05-20 13:38:54 -04:00
parserInternals.c Fix slow parsing of HTML with encoding errors 2021-02-20 21:28:56 +01:00
pattern.c Large batch of typo fixes 2019-09-30 18:04:38 +02:00
README Fix typos 2020-03-08 17:41:53 +01:00
README.cvs-commits Update information about contributing 2017-11-27 13:42:30 +01:00
README.tests Update README.tests 2012-05-07 15:23:25 +08:00
README.zOS Large batch of typo fixes 2019-09-30 18:04:38 +02:00
regressions.py new files for running regression tests under Python. Not yet complete, but 2004-06-27 02:07:51 +00:00
regressions.xml new files for running regression tests under Python. Not yet complete, but 2004-06-27 02:07:51 +00:00
relaxng.c Fix typos 2020-03-08 17:41:53 +01:00
rngparser.c Fix typos: dictio{ nn -> n }ar{y,ies} 2016-04-15 22:22:48 +08:00
runsuite.c Large batch of typo fixes 2019-09-30 18:04:38 +02:00
runtest.c Fix memory leak in runtest.c 2020-08-17 01:17:39 +02:00
runxmlconf.c Fix typos 2020-03-08 17:41:53 +01:00
save.h Large batch of typo fixes 2019-09-30 18:04:38 +02:00
SAX2.c Fix quadratic runtime when parsing CDATA sections 2021-02-03 13:57:26 +01:00
SAX.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
schematron.c Fix typos 2020-03-08 17:41:53 +01:00
testapi.c Release of libxml2-2.9.11 2021-05-13 15:35:21 +02:00
testAutomata.c Remove executable bit from non-executable files 2019-09-16 15:48:59 +02:00
testC14N.c Fix Windows compiler warning in testC14N.c 2019-01-06 14:32:28 +01:00
testchar.c Large batch of typo fixes 2019-09-30 18:04:38 +02:00
testdict.c Remove various unused value assignments 2014-10-27 21:18:57 +08:00
testdso.c warning patches from Peter Breitenlohner serious DTD parsing speedups, 2005-01-25 00:22:52 +00:00
testHTML.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
testlimits.c Large batch of typo fixes 2019-09-30 18:04:38 +02:00
testModule.c Fix some format string warnings with possible format string vulnerability 2016-05-23 15:01:07 +08:00
testOOM.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
testOOMlib.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
testOOMlib.h integrated the Out Of Memory test from Havoc Pennington #109368 a lot of 2003-04-24 16:06:47 +00:00
testReader.c Remove executable bit from non-executable files 2019-09-16 15:48:59 +02:00
testrecurse.c Large batch of typo fixes 2019-09-30 18:04:38 +02:00
testRegexp.c Fix Regextests 2019-09-25 15:27:45 +02:00
testRelax.c Fix -Wcast-function-type warnings (GCC 8) 2019-01-06 14:25:12 +01:00
testSAX.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
testSchemas.c Fix -Wcast-function-type warnings (GCC 8) 2019-01-06 14:25:12 +01:00
testThreads.c Merge testThreadsWin32.c into testThreads.c 2019-01-06 14:32:28 +01:00
testURI.c add --relative to testURI 2018-11-29 22:11:59 +01:00
testXPath.c Big space and tab cleanup 2012-09-11 13:26:36 +08:00
threads.c Fix potentially-uninitialized critical section in Win32 DLL builds 2020-02-11 11:34:15 +01:00
timsort.h Large batch of typo fixes 2019-09-30 18:04:38 +02:00
TODO Fix typos 2020-03-08 17:41:53 +01:00
TODO_SCHEMAS merged the current state of XML Schemas implementation, it is not 2002-04-16 15:50:10 +00:00
tree.c Fix xmlGetNodePath with invalid node types 2021-03-13 18:46:00 +01:00
trio.c Fix typos 2020-03-08 17:41:53 +01:00
trio.h Fix typos 2020-03-08 17:41:53 +01:00
triodef.h Fix typos 2020-03-08 17:41:53 +01:00
trionan.c Fix typos 2020-03-08 17:41:53 +01:00
trionan.h Fix typos 2020-03-08 17:41:53 +01:00
triop.h Fix typos 2020-03-08 17:41:53 +01:00
triostr.c Fix typos 2020-03-08 17:41:53 +01:00
triostr.h Fix typos 2020-03-08 17:41:53 +01:00
uri.c Fix xmlURIEscape memory leaks. 2020-11-09 18:17:01 +01:00
valid.c Fix typos 2020-03-08 17:41:53 +01:00
xinclude.c Fix user-after-free with xmllint --xinclude --dropdtd 2021-04-22 19:44:26 +02:00
xlink.c Fix libz and liblzma detection 2017-11-27 14:33:37 +01:00
xml2-config.1 xml2-config: Add a --dynamic switch to print only shared libraries 2019-07-17 23:24:24 +10:00
xml2-config.in Fix xml2-config error code 2019-11-11 11:29:17 +01:00
xml2Conf.sh.in xml2-config: Add a --dynamic switch to print only shared libraries 2019-07-17 23:24:24 +10:00
xmlcatalog.c Fix typos 2020-03-08 17:41:53 +01:00
xmlIO.c Fix buffering in xmlOutputBufferWrite 2021-07-27 16:12:54 +02:00
xmllint.c Fix dangling pointer with xmllint --dropdtd 2021-04-22 19:24:50 +02:00
xmlmemory.c Fix typos 2020-03-08 17:41:53 +01:00
xmlmodule.c Large batch of typo fixes 2019-09-30 18:04:38 +02:00
xmlreader.c Avoid call stack overflow with XML reader and recursive XIncludes 2020-11-09 17:55:44 +01:00
xmlregexp.c Patch to forbid epsilon-reduction of final states 2021-07-06 21:59:25 +02:00
xmlsave.c Fix regression in xmlNodeDumpOutputInternal 2021-05-25 11:16:13 +02:00
xmlschemas.c Revert "Make schema validation fail with multiple top-level elements" 2022-01-15 18:18:22 +01:00
xmlschemastypes.c update for xsd:language type check 2021-05-03 18:10:51 +02:00
xmlstring.c Use strcmp when fuzzing 2020-08-08 20:37:30 +02:00
xmlunicode.c Add const in five places to move 1 KiB to .rdata 2017-08-28 21:27:03 +02:00
xmlwriter.c Fix error code in xmlTextWriterStartDocument 2019-10-14 17:06:36 +02:00
xpath.c Fix XPath recursion limit 2021-06-02 17:39:41 +02:00
xpointer.c Fix null pointer deref in xmlXPtrRangeInsideFunction 2020-12-06 17:26:36 +01:00
xzlib.c Large batch of typo fixes 2019-09-30 18:04:38 +02:00
xzlib.h Large batch of typo fixes 2019-09-30 18:04:38 +02:00

                  XML toolkit from the GNOME project

Full documentation is available on-line at
    http://xmlsoft.org/

This code is released under the MIT Licence see the Copyright file.

To build on an Unixised setup:
   ./configure ; make ; make install
   if the ./configure file does not exist, run ./autogen.sh instead.
To build on Windows:
   see instructions on win32/Readme.txt

To assert build quality:
   on an Unixised setup:
      run make tests
   otherwise:
       There is 3 standalone tools runtest.c runsuite.c testapi.c, which
       should compile as part of the build or as any application would.
       Launch them from this directory to get results, runtest checks 
       the proper functioning of libxml2 main APIs while testapi does
       a full coverage check. Report failures to the list.

To report bugs, follow the instructions at: 
  http://xmlsoft.org/bugs.html

A mailing-list xml@gnome.org is available, to subscribe:
    http://mail.gnome.org/mailman/listinfo/xml

The list archive is at:
    http://mail.gnome.org/archives/xml/

All technical answers asked privately will be automatically answered on
the list and archived for public access unless privacy is explicitly
required and justified.

Daniel Veillard

$Id$