summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* .gitignore: Split up and rearrange .gitignore filesNick Wellnhofer2023-04-301-0/+15
|
* examples: Don't call xmlCleanupParser and xmlMemoryDumpNick Wellnhofer2023-04-3018-272/+101
| | | | | | | xmlCleanupParser is dangerous and shouldn't be called in most cases. Being part of the examples led many people to use it incorrectly. xmlMemoryDump is an obsolete way to test for memory leaks.
* Regenerate docs and testapi.cNick Wellnhofer2023-04-2625-629/+547
|
* win32: Remove broken libxml2.def.srcNick Wellnhofer2023-03-121-1/+0
| | | | Fixes #472.
* Remove symbols from version scriptNick Wellnhofer2023-01-174-1927/+0
| | | | | | | | | | | | | | | | The version script didn't account for symbols disabled by configuration options. This has caused problems on some OSs in the past and breaks lld 16 which enables --no-undefined-version by default. A proper fix would be rather involved, so we simply remove all symbols from the version script. This is an ELF-only feature and libxml2 never made use of symbol versioning anyway. Ultimately, this removes the need for a lot of bookkeeping without tangible benefits. We have to keep the version nodes to avoid errors when running binaries linked against older versions of libxml2. Fixes #473.
* doc: Remove ancient filesNick Wellnhofer2022-12-222-636/+0
|
* doc/libxml2-api.xml: RegenerateNick Wellnhofer2022-12-081-135/+82
|
* Remove XMLCALL and XMLCDECL macros from public headersNick Wellnhofer2022-12-081-2/+0
|
* Use python3 not pythonRoss Burton2022-12-072-2/+2
| | | | | | | | | | | | | As per https://peps.python.org/pep-0394/, the python binary can be one of the following options: - Python 2 - Python 3 - Not exist All of the scripts in libxml2 use 'python', which may not exist. As Python 2 reached EOL on the 1st January 2020, it's safe to move the scripts to use python3 explicitly.
* doc: Remove xmlDllMain from documentation and version scriptNick Wellnhofer2022-11-041-3/+0
| | | | This is a Windows-only symbol.
* doc: Mention ${sysconfdir} in man pagesNick Wellnhofer2022-11-042-4/+7
| | | | Fixes #395.
* doc: Document xmlcatalog --convertNick Wellnhofer2022-11-041-0/+10
| | | | Fixes #417.
* doc: Document xmllint --nodict and --pedanticNick Wellnhofer2022-11-041-0/+19
| | | | Fixes #418.
* doc: Fix indentation in source XML filesNick Wellnhofer2022-11-042-1319/+1319
|
* xmllint: Document --quiet optionNick Wellnhofer2022-09-061-0/+8
|
* Move automata test to runtest.cNick Wellnhofer2022-09-021-1/+0
|
* Fix compiler warning in examplesNick Wellnhofer2022-09-021-1/+1
|
* Remove xmlErrMemory from symbolsNick Wellnhofer2022-08-261-1/+1
| | | | This function was never publically declared.
* Consolidate private header filesNick Wellnhofer2022-08-261-6/+0
| | | | | | | | | | | Private functions were previously declared - in header files in the root directory - in public headers guarded with IN_LIBXML - in libxml.h - redundantly in source files that used them. Consolidate all private header files in include/private.
* Move some HTML functions to correct header fileNick Wellnhofer2022-08-245-43/+43
|
* Mark more functions setting globals as deprecatedNick Wellnhofer2022-08-242-4/+4
|
* Rebuild documentationNick Wellnhofer2022-08-2413-102/+102
|
* Improve cross-references in API docsNick Wellnhofer2022-08-241-0/+14
| | | | | Also cross-reference keywords followed by a period. This is still a hack but catches quite a few more keywords.
* Rebuild documentationNick Wellnhofer2022-08-2450-12324/+48158
|
* Switch back to HTML output for API documentationNick Wellnhofer2022-08-242-5/+3
|
* Mark most SAX1 functions as deprecatedNick Wellnhofer2022-08-244-34/+34
| | | | No compiler warnings generated yet.
* Introduce xmlNewSAXParserCtxt and htmlNewSAXParserCtxtNick Wellnhofer2022-08-245-2/+33
| | | | | Add API functions to create a parser context with a custom SAX handler without having to mess with ctxt->sax manually.
* Improve documentation of globalsNick Wellnhofer2022-08-242-20/+28
| | | | | | Document more global variables as deprecated. Some of the variables don't generate deprecation warnings yet, but they shouldn't be used in new code.
* Fix documentation parserNick Wellnhofer2022-08-243-8/+15
| | | | Reset comment right after adding to the index.
* Rebuild API documentationNick Wellnhofer2022-08-246-53/+26
|
* Support comments for global variables in documentationNick Wellnhofer2022-08-242-44/+111
| | | | This was never implemented.
* Fix update call in apibuild.pyNick Wellnhofer2022-08-241-6/+6
| | | | | There are still a few places where try/except is used for branching. This is a bad idea since it can hide errors like this one.
* Don't index anything in DOC_DISABLE sectionsNick Wellnhofer2022-08-242-22/+12
| | | | | | | | Somewhat misleadingly, the DOC_DISABLE directive only disabled warnings. Now we really stop the documentation generator from indexing. This results in additional warnings for xmlThrDef* functions. This should be fixed by documenting or deprecating them.
* Rebuild documentationNick Wellnhofer2022-08-1949-4548/+4548
|
* Port doc/examples/index.py to Python 3Nick Wellnhofer2022-08-182-128/+112
| | | | | - Make sure that examples.xml is generated deterministically - Sort includes by line number
* Fix order of exports in libxml2-api.xmlNick Wellnhofer2022-08-181-12/+6
| | | | | | The values passed to the `uniq` function are dictionary keys and should already be unique. On older Python versions, this would reshuffle the list after it had just been sorted.
* Remove libxml2-refs.xmlNick Wellnhofer2022-08-182-32134/+0
| | | | The cross-reference was only used by the old website.
* Cleanup files generated by test suiteNick Wellnhofer2022-08-171-0/+1
| | | | Fixes make distcheck.
* Add uninstall target for examplesNick Wellnhofer2022-08-171-0/+5
| | | | Fixes make distcheck.
* Rebuild documentationNick Wellnhofer2022-08-1726-2979/+2975
|
* Don't autogenerate doc/examples/Makefile.amNick Wellnhofer2022-08-172-6/+1
|
* Avoid calling xmlSetTreeDocNick Wellnhofer2022-06-202-4/+4
| | | | | Create text nodes with xmlNewDocText or set the document directly to avoid xmlSetTreeDoc being called when the node is inserted.
* Redirect examples test output to /dev/nullNick Wellnhofer2022-04-231-10/+10
| | | | Regressed in commit c61e1273.
* Fix warnings when testing --with-minimum buildNick Wellnhofer2022-04-2124-139/+25
| | | | | | There's no simple way to make the doc/examples tests handle different configurations. But these tests aren't especially valuable, so remove the result file checks.
* Add configuration flag for XPointer locations supportNick Wellnhofer2022-04-211-19/+25
| | | | | | | | | | | | | | | | | | | | | Add a new configuration flag that controls whether the outdated support for XPointer locations (ranges and points) is enabled. --with-xptr-locs # Autotools LIBXML2_WITH_XPTR_LOCS # CMake The latest spec for what it essentially an XPath extension seems to be this working draft from 2002: https://www.w3.org/TR/xptr-xpointer/ The xpointer() scheme is listed as "being reviewed" in the XPointer registry since at least 2006. libxml2 seems to be the only modern software that tries to implement this spec, but the code has many bugs and quality issues. The flag defaults to "off" and support for this extensions has to be requested explicitly. The relevant API functions are deprecated.
* Regenerate api.xml and testapi.cNick Wellnhofer2022-04-212-3257/+2994
|
* Use portable python shebangsDavid Seifert2022-04-062-2/+2
| | | | | * In conda or Gentoo Prefix, we don't want to use the system python and instead rely on PATH lookup.
* Move doc/examples tests to new test suiteNick Wellnhofer2022-04-041-2/+2
|
* Move regexp tests to runtestNick Wellnhofer2022-04-041-1/+0
|
* Remove major parts of old test suiteNick Wellnhofer2022-04-041-8/+0
| | | | | | | | | | | | | | | | | | | Remove all the parts of the old test suite which are covered by runtest.c for quite some time. The following test programs are removed: - testC14N - testHTML - testReader - testRelax - testSAX - testSchemas - testURI - testXPath This also removes a few results of unimportant tests only run by the old test suite.