Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| 43a8836c | 2020-05-31 18:46:21 | Fix rebuilding docs, by hiding __attribute__((...)) behind a macro. When enabled via `./configure --enable-rebuild-docs`, `make -C doc libxml2-api.xml` will invoke apibuild.py to rebuild libxml2-api.xml from the sources. But the code added in 9fa3200cb366c726f7c8ef234282603bb9e8816d made it error out with ``` Parsing ../parser.c Parse Error: parsing type : expecting a name ('Got token ', ('sep', '(')) ('Last token: ', ('sep', '(')) ('Token queue: ', [('name', 'destructor'), ('sep', ')'), ('sep', ')')]) ('Line 14689 end: ', '') ``` | ||
| 20c60886 | 2020-03-08 17:19:42 | Fix typos Resolves #133. | ||
| 2e55f6dc | 2019-09-30 17:30:17 | Make apibuild.py ignore ATTRIBUTE_NO_SANITIZE | ||
| 37189c08 | 2019-07-08 12:18:24 | dict.h: gcc 2.95 doesn't allow multiple storage classes This is a partial revert of commit c71f9305. I'm not sure what issue this commit was trying to solve but it seems to be related to a circular dependency. It might be related to tree.h being included from dict.h which is unnecessary. Resolves !22. | ||
| 57d4329b | 2018-01-23 17:33:42 | Merge testThreadsWin32.c into testThreads.c Apply the same cross-platform modifications as previously in runtest.c. | ||
| 8effcb57 | 2016-05-09 10:31:09 | Fix apibuild for a recently added construct commit c71f9305a99b6aa03cb08fab31106c9c56f1be4f added __XML_EXTERNC cpp construct which not understood by apibuild, leading to make dist failures, ask to ignore that construct. | ||
| d8a75bff | 2013-03-28 00:16:42 | Converting apibuild.py to python3 not finished .... | ||
| 3e031b7d | 2012-08-24 16:52:44 | Switching XPath node sorting to Timsort I use libxml xpath engine on quite large (and mostly "flat") xml files. It seems that Shellsort, that is used in xmlXPathNodeSetSort is a performance bottleneck for my case. I have read some posts about sorting in libxml in the libxml archive, but I agree that qsort was not the way to go. I experimented with Timsort instead and my results were good for me. For about 10000 nodes, my test was about 5x faster with Timsort, for 1000 nodes about 10% faster, for small data files, the difference was not measurable. * timsort.h: the algorithm, kept in a separate header * xpath.c: plug in the new algorithm in xmlXPathNodeSetSort * Makefile.am: add the header to the EXTRA_DIST * doc/apibuild.py: avoid indexing the new header | ||
| 64d11249 | 2012-08-15 09:10:50 | Fix missing xmlsave.h module which was ignored in recent builds due to "save.h" rule discarding it too | ||
| 28cc42d0 | 2012-08-10 10:00:18 | Regenerating docs and API files Various cleanups * configure.in: force regeneration of APIs in my environment * buf.c buf.h enc.h encoding.c include/libxml/tree.h include/libxml/xmlerror.h save.h tree.c: various comment cleanups pointed by apibuild * doc/apibuild.py: added the 3 new internal headers in the excludes * doc/libxml2-api.xml doc/libxml2-refs.xml: regenerated the API * doc/symbols.xml: listing new entry points for 2.9.0 * doc/devhelp/*: regenerated | ||
| 79ee284a | 2012-05-15 10:25:31 | Fix various problems with "make dist" * tree.c: missing documentation for xmlBufferDetach * doc/symbols.xml: add two new symbols xmlTextReaderRelaxNGValidateCtxt and xmlBufferDetach * doc/apibuild.py: ignore internal header xzlib.h | ||
| 29341682 | 2009-09-10 18:23:39 | Release of libxml2-2.7.4 * configure.in: new version * libxml.spec.in: cleanup * xmlregexp.c: fix a comment * doc/apibuild.py: update * doc/*: regenerate everything | ||
| 7b465bdf | 2009-07-24 09:02:51 | Fixed apibuild.py, regenerated doc and interfaces * doc/apibuild.py: fixed the parsing after the change of macro name * doc/* testapi.c: regenerated | ||
| f63085de | 2009-01-18 20:53:59 | port patch from Marcus Meissner to add gcc checking for printf like * include/libxml/parser.h include/libxml/xmlwriter.h include/libxml/relaxng.h include/libxml/xmlversion.h.in include/libxml/xmlwin32version.h.in include/libxml/valid.h include/libxml/xmlschemas.h include/libxml/xmlerror.h: port patch from Marcus Meissner to add gcc checking for printf like functions parameters, should fix #65068 * doc/apibuild.py doc/*: modified the script accordingly and regenerated * xpath.c xmlmemory.c threads.c: fix a few warnings Daniel svn path=/trunk/; revision=3813 | ||
| d4d47057 | 2009-01-18 17:26:02 | apply patch from Marcus Meissner to add gcc attribute alloc_size should * include/libxml/xmlversion.h.in include/libxml/xmlmemory.h: apply patch from Marcus Meissner to add gcc attribute alloc_size should fix #552505 * doc/apibuild.py doc/* testapi.c: regenerate the API * include/libxml/parserInternals.h: fix a comment problem raised by apibuild.py daniel svn path=/trunk/; revision=3811 | ||
| 28b7b4bd | 2008-08-30 08:19:02 | regenerated Daniel * doc/* testapi.c: regenerated Daniel svn path=/trunk/; revision=3786 | ||
| dee23485 | 2008-04-11 12:58:43 | added new function xmlSchemaValidCtxtGetParserCtxt based on Holger * include/libxml/xmlschemas.h xmlschemas.c: added new function xmlSchemaValidCtxtGetParserCtxt based on Holger Kaelberer patch * doc/apibuild.py doc/*: regenerated the doc, chased why the new function didn't got any documentation, added more checking in the generator * include/libxml/relaxng.h include/libxml/schematron.h include/libxml/xmlschemas.h include/libxml/c14n.h include/libxml/xmlregexp.h include/libxml/globals.h include/libxml/xmlreader.h threads.c xmlschemas.c: various changes and cleanups following the new reports Daniel svn path=/trunk/; revision=3738 | ||
| 6ad5c4af | 2006-10-11 16:43:06 | fixed a weird error where validity context whould not show up if warnings * valid.c: fixed a weird error where validity context whould not show up if warnings were disabled pointed out by Bob Stayton * xmlIO.c doc/generator.py: cleanup and fix to regenerate the docs * doc//* testapi.c: rebuilt the docs Daniel | ||
| 33b20b70 | 2005-09-12 21:43:20 | release of 2.6.22 updated doc and rebuild. added XML_SAVE_NO_XHTML * NEWS configure.in doc//*: release of 2.6.22 updated doc and rebuild. * xmlsave.c include/libxml/xmlsave.h: added XML_SAVE_NO_XHTML xmlSaveOption * xmlschemas.c: minor cleanups Daniel | ||
| 99b78502 | 2005-09-11 22:04:08 | started work needed to generate devhelp content, not too hard based on the * configure.in doc/Makefile.am doc/apibuild.py doc/libxml2-api.xml doc/devhelp/*: started work needed to generate devhelp content, not too hard based on the existing format and extractor. Daniel | ||
| 5eee767c | 2005-08-22 21:22:27 | rescanned code and rebuilt small cleanup cleanup problems from code * elfgcchack.h testapi.c doc/*: rescanned code and rebuilt * xmlregexp.c: small cleanup * include/libxml/schematron.h include/libxml/xmlexports.h include/libxml/xmlversion.h.in: cleanup problems from code scanner Daniel | ||
| 95175012 | 2005-07-03 16:09:51 | fixing #307823 and a couple of assorted bugs fixed conditionals in * testapi.c runsuite.c runtest.c: fixing #307823 and a couple of assorted bugs * python/generator.py python/libxml2-python-api.xml: fixed conditionals in generator too * doc/apibuild.py doc/libxml2-api.xml doc/* elfgcchack.h: some cleanups too and rebuilt Daniel | ||
| fbb619f4 | 2005-06-06 13:49:18 | Enhanced xmlXPathRunStreamEval, fixed handling of depth/level for cases * xpath.c, pattern.c: Enhanced xmlXPathRunStreamEval, fixed handling of depth/level for cases like union operator (bug #306348 reported by Bob Stayton). Also enhanced several comments throughout pattern.c. * doc/apibuild.py: fixed problem in handling of 'signed' declaration. Rebuilt the docs. | ||
| 99dd7636 | 2005-05-06 11:40:56 | fixing bug #303068 increasing the nanoftp buffer. fixed __attribute() * nanoftp.c: fixing bug #303068 increasing the nanoftp buffer. * doc/apibuild.py: fixed __attribute() parsing problem * doc/* testapi.c: regenerated the descriptions and docs. Daniel | ||
| 771971f2 | 2005-04-02 10:49:51 | preparing release 2.6.19, updated docs and rebuilding. Daniel * doc/* configure.in NEWS: preparing release 2.6.19, updated docs and rebuilding. Daniel | ||
| 5d4644ef | 2005-04-01 13:11:58 | revamped the elfgcchack.h format to cope with gcc4 change of aliasing * doc/apibuild.py doc/elfgcchack.xsl: revamped the elfgcchack.h format to cope with gcc4 change of aliasing allowed scopes, had to add extra informations to doc/libxml2-api.xml to separate the header from the c module source. * *.c: updated all c library files to add a #define bottom_xxx and reimport elfgcchack.h thereafter, and a bit of cleanups. * doc//* testapi.c: regenerated when rebuilding the API Daniel | ||
| f6b71bd1 | 2005-01-04 17:50:14 | making DSO support an option code and documentation cleanups regenerated * configure.in: making DSO support an option * xmlmodule.c xmlreader.c include/libxml/xmlmodule.h: code and documentation cleanups * elfgcchack.h testapi.c doc/*: regenerated the docs and checks for new module * test/valid/REC-xml-19980210.xml: fix a small change introduced previously Daniel | ||
| 21e4ef20 | 2005-01-02 09:53:13 | Re-examined the problems of configuring a "minimal" library. Synchronized the header files with the library code in order to assure that all the various conditionals (LIBXML_xxxx_ENABLED) were the same in both. Modified the API database content to more accurately reflect the conditionals. Enhanced the generation of that database. Although there was no substantial change to any of the library code's logic, a large number of files were modified to achieve the above, and the configuration script was enhanced to do some automatic enabling of features (e.g. --with-xinclude forces --with-xpath). Additionally, all the format errors discovered by apibuild.py were corrected. * configure.in: enhanced cross-checking of options * doc/apibuild.py, doc/elfgcchack.xsl, doc/libxml2-refs.xml, doc/libxml2-api.xml, gentest.py: changed the usage of the <cond> element in module descriptions * elfgcchack.h, testapi.c: regenerated with proper conditionals * HTMLparser.c, SAX.c, globals.c, tree.c, xmlschemas.c, xpath.c, testSAX.c: cleaned up conditionals * include/libxml/[SAX.h, SAX2.h, debugXML.h, encoding.h, entities.h, hash.h, parser.h, parserInternals.h, schemasInternals.h, tree.h, valid.h, xlink.h, xmlIO.h, xmlautomata.h, xmlreader.h, xpath.h]: synchronized the conditionals with the corresponding module code * doc/examples/tree2.c, doc/examples/xpath1.c, doc/examples/xpath2.c: added additional conditions required for compilation * doc/*.html, doc/html/*.html: rebuilt the docs | ||
| e43cc574 | 2004-11-03 11:50:29 | more fixes and extending the tests coverage more hardeing of APIs skip * gentest.py testapi.c: more fixes and extending the tests coverage * xmlwriter.c list.c: more hardeing of APIs * doc/apibuild.py: skip testapi.c when scanning the C files. Daniel | ||
| add93d3e | 2004-07-06 22:47:07 | fixed a bug which prevented building with --with-minimum Daniel * elfgcchack.h doc/apibuild.py doc/libxml2-api.xml: fixed a bug which prevented building with --with-minimum Daniel | ||
| a2351322 | 2004-06-27 12:08:10 | hack based on Arjan van de Ven suggestion to reduce ELF footprint and * elfgcchack.h doc/elfgcchack.xsl libxml.h: hack based on Arjan van de Ven suggestion to reduce ELF footprint and generated code. Based on aliasing of libraries function to generate direct call instead of indirect ones * doc/libxml2-api.xml doc/Makefile.am doc/apibuild.py: added automatic generation of elfgcchack.h based on the API description, extended the API description to show the conditionals configuration flags required for symbols. * nanohttp.c parser.c xmlsave.c include/libxml/*.h: lot of cleanup * doc/*: regenerated the docs. Daniel | ||
| 189f46b1 | 2004-01-25 21:03:04 | preparing release 2.6.5, rebuilt the docs, checked rngparser stuff does * configure.in NEWS doc/*: preparing release 2.6.5, rebuilt the docs, checked rngparser stuff does not end up in the tarball Daniel | ||
| a2e844a3 | 2004-01-06 11:52:13 | moved string and UTF8 routines out of parser.c and encoding.c into a new * encoding.c, parser.c, xmlstring.c, Makefile.am, include/libxml/Makefile.am, include/libxml/catalog.c, include/libxml/chvalid.h, include/libxml/encoding.h, include/libxml/parser.h, include/libxml/relaxng.h, include/libxml/tree.h, include/libxml/xmlwriter.h, include/libxml/xmlstring.h: moved string and UTF8 routines out of parser.c and encoding.c into a new module xmlstring.c with include file include/libxml/xmlstring.h mostly using patches from Reid Spencer. Since xmlChar now defined in xmlstring.h, several include files needed to have a #include added for safety. * doc/apibuild.py: added some additional sorting for various references displayed in the APIxxx.html files. Rebuilt the docs, and also added new file for xmlstring module. * configure.in: small addition to help my testing; no effect on normal usage. * doc/search.php: added $_GET[query] so that persistent globals can be disabled (for recent versions of PHP) | ||
| 09a4d0ab | 2004-01-05 14:28:43 | fixed apibuild.py's generation of "constructors" to be in alphabetical * doc/apibuild.py, doc/APIconstructors.html, doc/libxml2-refs.xml, win32/libxml2.def.src: fixed apibuild.py's generation of "constructors" to be in alphabetical order (instead of previous random sequence); regenerated resulting files. | ||
| cf9eadf7 | 2003-12-25 13:24:05 | fixed missing dictionaries for Memory and Doc parser contexts (problem * xmlschemas.c: fixed missing dictionaries for Memory and Doc parser contexts (problem reported on mailing list) * doc/apibuild.py: small change to prevent duplicate lines on API functions list. It will take effect the next time the docs are rebuilt. | ||
| 966668a7 | 2003-12-20 02:10:28 | fixed xmlXPathReturnString to cater for NULL pointer (bug 129561) added * include/libxml/xpathInternals.h: fixed xmlXPathReturnString to cater for NULL pointer (bug 129561) * globals.c: added comment to suppress documentation warning * doc/apibuild.py: fixed problem which caused last APIchunkxx.html to be lost. Rebuilt doc/* (including adding APIchunk26.html) | ||
| 1e90661b | 2003-12-05 14:57:46 | cleanup the make rebuild in doc, this include new directive to stop * globals.c xmlwriter.c doc/apibuild.py include/libxml/globals.h include/libxml/pattern.h include/libxml/schemasInternals.h include/libxml/xmlexports.h include/libxml/xmlwriter.h: cleanup the make rebuild in doc, this include new directive to stop documentation warnings * doc/* doc/html/*: rebuilt the docs * pattern.c xmlreader.c include/libxml/pattern.h include/libxml/xmlreader.h: adding xmlTextReaderPreservePattern() to save nodes while scanning the tree with the reader, cleanup the way element were freed, and xmlTextReaderPreserve() implementation, the API might change for namespace binding support when compiling patterns. * doc/examples/*: added reader3.c exposing the xmlTextReaderPreserve() Daniel | ||
| 1a79241a | 2003-11-18 23:52:38 | do not package cvs versioning temp files. more cleanup, slightly improved * Makefile.am: do not package cvs versioning temp files. * doc/apibuild.py doc/libxml2-api.xml doc/newapi.xsl: more cleanup, slightly improved the API xml format, fixed a lot of small rendering problems * doc/html/libxml*.html: rebuilt Daniel | ||
| be586972 | 2003-11-18 20:56:51 | modified the file header to add more informations, painful... updated to * include/libxml/*.h include/libxml/*.h.in: modified the file header to add more informations, painful... * genChRanges.py genUnicode.py: updated to generate said changes in headers * doc/apibuild.py: extract headers, add them to libxml2-api.xml * *.html *.xsl *.xml: updated the stylesheets to flag geprecated APIs modules. Updated the stylesheets, some cleanups, regenerated * doc/html/*.html: regenerated added back book1 and libxml-lib.html Daniel | ||
| e8ba84ef | 2003-11-18 13:54:15 | cleaned up the build process to remove all remains from the old gtk-doc * doc/Makefile.am doc/*.xsl doc/*.html doc/apibuild.py: cleaned up the build process to remove all remains from the old gtk-doc inherited, libxml2-refs.xml is now generated by apibuild.py, the stylesheets have been improved, and the API*html now generated are XHTML1 valid too Daniel | ||
| b1d53165 | 2003-11-18 06:54:40 | minor enhancement to prevent comment with unreferenced variable. edited * genChRanges.py, chvalid.c, include/libxml/chvalid.h: minor enhancement to prevent comment with unreferenced variable. * threads.c xmlreader.c xmlwriter.c: edited some comments to improve auto-generation of documentation * apibuild.py: minor change to an error message | ||
| bff06bff | 2003-11-17 16:58:05 | more cleanup, improving navigation updated the result Daniel * doc/apibuild.py doc/libxml2-api.xml doc/newapi.xsl: more cleanup, improving navigation * doc/html/*.html: updated the result Daniel | ||
| 2925c0a0 | 2003-11-17 13:58:17 | improvement of the stylesheets, fixed a API generation problem, switched * doc/Makefile.am doc/apibuild.py doc/libxml2-api.xml doc/newapi.xsl: improvement of the stylesheets, fixed a API generation problem, switched the stylesheet and Makefile to build the HTML output. * doc/html/*.html: complete update, ditched some old files, might introduce some breakage... Daniel | ||
| d8cf9061 | 2003-11-11 21:12:36 | less verbose on difference cleanup fixed xmlCleanupParser() doc work on * check-xinclude-test-suite.py: less verbose on difference * libxml.spec.in: cleanup * parser.c: fixed xmlCleanupParser() doc * doc/Makefile.am doc/apibuild.py doc/libxml2-api.xml doc/examples/Makefile.am doc/examples/example1.c doc/examples/examples.xml doc/examples/index.py doc/examples/test1.xml: work on adding C examples and generating automated information about those. examples.xml is autogenerated describing the examples. * example/Makefile.am: cleanup Daniel | ||
| 196b3886 | 2003-10-18 12:42:41 | enhanced to include enough comments to make the api doc generation happy. * genChRanges.py, chvalid.c, include/libxml/chvalid.h, doc/apibuild.py: enhanced to include enough comments to make the api doc generation happy. | ||
| fc8dc355 | 2003-10-18 09:07:46 | added new APIs for creating reader from sources or reusing a reader with a * xmlreader.c include/libxml/xmlreader.h: added new APIs for creating reader from sources or reusing a reader with a new source, like the xmlReadxx and xmlCtxtReadxxx * win32/libxml2.def.src doc/libxml2-api.xml doc/apibuild.py doc/Makefile.am: regenerated the APIs * doc/xml.html: applied a patch from Stefan Kost for namesapce docs Daniel | ||
| 16fa96c5 | 2003-09-23 21:50:54 | adding a new set of API for parsing xmlReadDoc() xmlReadFile() ... * parser.c include/libxml/parser.h: adding a new set of API for parsing xmlReadDoc() xmlReadFile() ... xmlReadIO() and xmlCtxtReadDoc() ... xmlCtxtReadIO(). That with a clear define of xmlParserOption, xmlCtxtUseOptions() should simplify custom parsing without being tempted to use global variables, and xmlCtxtReset() should allow reuse of a context for multiple parsing. * xmllint.c: switched to use xmlReadXXX, allow options to be used simultaneously with less troubles. * tree.c: simple warning removal * doc/apibuild.py: small fix * doc/libxml2-api.xml win32/libxml2.def.src: updated Daniel | ||
| cdfa286c | 2003-08-29 06:03:38 | enhanced code to compensate for pollution from Igor's header taint (quick * doc/apibuild.py, doc/libxml2-api.xml: enhanced code to compensate for pollution from Igor's header taint (quick before Daniel notices) | ||
| d433046a | 2003-04-29 12:40:16 | fixing a function comment switching to the XML/XSLT doc generation closing * xmlschemas.c doc/libxml2-api.xml: fixing a function comment * doc/Makefile.am doc/apibuild.py doc/gnome-xml.sgml: switching to the XML/XSLT doc generation closing #111799 * doc/html/*: complete update of the HTML results Daniel | ||
| 92fc02cc | 2003-04-24 23:12:35 | preparing release 2.5.7 updated and rebuilt the docs fixed the script * NEWS configure.in: preparing release 2.5.7 * doc/*: updated and rebuilt the docs * doc/apibuild.py: fixed the script Daniel | ||
| de0a0a5a | 2003-04-24 17:12:57 | make sure the OOM code don't get in the way of the builds automatic update * Makefile.am doc/apibuild.py: make sure the OOM code don't get in the way of the builds * doc/libxml2-api.xml python/libxml2class.txt: automatic update Daniel | ||
| 71531f33 | 2003-02-05 13:19:53 | comments cleanups use xmllint for doing the RelaxNG tests preparing 2.5.2 * HTMLparser.c tree.c xmlIO.c: comments cleanups * Makefile.am: use xmllint for doing the RelaxNG tests * configure.in: preparing 2.5.2 made schemas support default to on instead of off * relaxng.c: removed the verbosity * xmllint.c: added --relaxng option * python/generator.py python/libxml_wrap.h: prepared the integration of the new RelaxNG module and schemas * result/relaxng/*: less verbose output Daniel | ||
| 540a31a3 | 2003-01-21 11:21:07 | applied a new patch from St | ||
| c1eed320 | 2002-12-12 11:01:32 | preparing release of 2.4.30 fixups to the api builder, gives enum values, * configure.in: preparing release of 2.4.30 * doc/apibuild.py doc/libxml2-api.xml: fixups to the api builder, gives enum values, fix functype return type, put back fields in structs * doc/*: updated the docs rebuilt Daniel | ||
| 000eafb5 | 2002-12-12 10:04:22 | fixups to the api builder, gives enum values, fix functype return type * doc/apibuild.py doc/libxml2-api.xml: fixups to the api builder, gives enum values, fix functype return type Daniel | ||
| 024b5701 | 2002-12-12 00:15:55 | patch from Mark Vadok about htmlNodeDumpOutput location. removed an * HTMLtree.c include/libxml/HTMLtree.h: patch from Mark Vadok about htmlNodeDumpOutput location. * xpath.c: removed an undefined function signature * doc/apibuild.py doc/libxml2-api.xml: the script was exporting too many symbols in the API breaking the python bindings. Updated with the libxslt/libexslt changes. Daniel | ||
| a9b66d00 | 2002-12-11 14:23:49 | new API building Python script, does the C parsing directly, generates a * doc/apibuild.py doc/libxml2-api.xml doc/Makefile.am: new API building Python script, does the C parsing directly, generates a better API description including structure fieds defs and enums. Still a couple of bugs, but good enough for the python wrappers now. * DOCBparser.c SAX.c nanohttp.c parser.c parserInternals.c tree.c valid.c xmlIO.c xmlmemory.c xmlreader.c xmlregexp.c xmlschemas.c include/libxml/schemasInternals.h include/libxml/tree.h: more cleanup based on the python analysis script reports. * libxml.spec.in: make sure the API XML description is part of the devel package. Daniel |