summaryrefslogtreecommitdiff
path: root/catalog.c
Commit message (Collapse)AuthorAgeFilesLines
...
* fixed the main issues reported by Peter Breitenlohner cleanup speedupDaniel Veillard2004-02-251-25/+31
| | | | | | | * catalog.c: fixed the main issues reported by Peter Breitenlohner * parser.c: cleanup * valid.c: speedup patch from Petr Pajas Daniel
* minor error cleanup for gcc-3.3.[12] compilation warnings.William M. Brack2003-11-141-1/+1
| | | | | | * catalog.c,relaxng.c,testAutomata.c,xpointer.c,genChRanges.py, chvalid.c,include/libxml/chvalid.h,doc/examples/test1.c: minor error cleanup for gcc-3.3.[12] compilation warnings.
* Changed all (?) occurences where validation macros (IS_xxx) hadWilliam M. Brack2003-10-181-6/+6
| | | | | | | | | | | | * include/libxml/parserInternals.h HTMLparser.c HTMLtree.c SAX2.c catalog.c debugXML.c entities.c parser.c relaxng.c testSAX.c tree.c valid.c xmlschemas.c xmlschemastypes.c xpath.c: Changed all (?) occurences where validation macros (IS_xxx) had single-byte arguments to use IS_xxx_CH instead (e.g. IS_BLANK changed to IS_BLANK_CH). This gets rid of many warning messages on certain platforms, and also high- lights places in the library which may need to be enhanced for proper UTF8 handling.
* enhanced macros to avoid breaking ABI from previous versions. modified toWilliam M. Brack2003-10-181-1/+1
| | | | | | | | | | | | * genChRanges.py, chvalid.c, include/libxml/chvalid.h, include/libxml/parserInternals.h: enhanced macros to avoid breaking ABI from previous versions. * catalog.c, parser.c, tree.c: modified to use IS_* macros defined in parserInternals.h. Makes maintenance much easier. * testHTML.c, testSAX.c, python/libxml.c: minor fixes to avoid compilation warnings * configuration.in: fixed pushHTML test error; enhanced for better devel (me) testing
* new files for a different method for doing range validation of characterWilliam M. Brack2003-10-111-4/+4
| | | | | | | | | | * genChRange.py, chvalid.def, chvalid.c, include/libxml/chvalid.h: new files for a different method for doing range validation of character data. * Makefile.am, parserInternals.c, include/libxml/Makefile.am, include/libxml/parserInternals.h: modified for new range method. * catalog.c: small enhance for warning message (using one of the new range routines)
* Setting up the framework for structured error reporting, touches a lot ofDaniel Veillard2003-10-101-2/+2
| | | | | | | | | | | * HTMLparser.c c14n.c catalog.c error.c globals.c parser.c parserInternals.c relaxng.c valid.c xinclude.c xmlIO.c xmlregexp.c xmlschemas.c xpath.c xpointer.c include/libxml/globals.h include/libxml/parser.h include/libxml/valid.h include/libxml/xmlerror.h: Setting up the framework for structured error reporting, touches a lot of modules, but little code now the error handling trail has been cleaned up. Daniel
* comment fix migrating the catalog code to the new infrastructure DanielDaniel Veillard2003-10-091-31/+69
| | | | | | | * xinclude.c: comment fix * catalog.c include/libxml/xmlerror.h: migrating the catalog code to the new infrastructure Daniel
* Okay this is scary but it is just adding a configure option to disableDaniel Veillard2003-09-291-0/+6
| | | | | | | | | | | | | | | | | | * HTMLtree.c SAX2.c c14n.c catalog.c configure.in debugXML.c encoding.c entities.c nanoftp.c nanohttp.c parser.c relaxng.c testAutomata.c testC14N.c testHTML.c testRegexp.c testRelax.c testSchemas.c testXPath.c threads.c tree.c valid.c xmlIO.c xmlcatalog.c xmllint.c xmlmemory.c xmlreader.c xmlschemas.c example/gjobread.c include/libxml/HTMLtree.h include/libxml/c14n.h include/libxml/catalog.h include/libxml/debugXML.h include/libxml/entities.h include/libxml/nanohttp.h include/libxml/relaxng.h include/libxml/tree.h include/libxml/valid.h include/libxml/xmlIO.h include/libxml/xmlschemas.h include/libxml/xmlversion.h.in include/libxml/xpathInternals.h python/libxml.c: Okay this is scary but it is just adding a configure option to disable output, this touches most of the files. Daniel
* trying to fix #118754 of possible recursion in the catalogs. NotDaniel Veillard2003-08-041-3/+32
| | | | | | | | | * catalog.c: trying to fix #118754 of possible recursion in the catalogs. Not fantastically happy about the current fix since it's likely to break under very thread intensive concurrent access to the catalog. Better solution might to keep the depth an extra argument to the resolution functions. Daniel
* Fixed multithreading problemWilliam M. Brack2003-07-041-1/+3
|
* removed multiple warning, this fixed a bug and should close #111574 DanielDaniel Veillard2003-05-091-1/+1
| | | | | | * DOCBparser.c catalog.c parser.c relaxng.c: removed multiple warning, this fixed a bug and should close #111574 Daniel
* try to find more places where xmlCanonicPath() must be used to convertDaniel Veillard2003-04-231-1/+1
| | | | | | | * DOCBparser.c SAX.c catalog.c debugXML.c parser.c: try to find more places where xmlCanonicPath() must be used to convert filenames to URLs, trying to fix #111088 Daniel
* added xmlMallocAtomic() to be used when allocating blocks which do notDaniel Veillard2003-04-191-2/+2
| | | | | | | | | | | | * DOCBparser.c HTMLparser.c c14n.c catalog.c encoding.c globals.c nanohttp.c parser.c parserInternals.c relaxng.c tree.c uri.c xmlmemory.c xmlreader.c xmlregexp.c xpath.c xpointer.c include/libxml/globals.h include/libxml/xmlmemory.h: added xmlMallocAtomic() to be used when allocating blocks which do not contains pointers, add xmlGcMemSetup() and xmlGcMemGet() to allow registering the full set of functions needed by a garbage collecting allocator like libgc, ref #109944 Daniel
* added support for large file, tested with a 3+GB instance, and someDaniel Veillard2003-04-181-0/+5
| | | | | | | | | * libxml.h include/libxml/parser.h parser.c xmlIO.c DOCBparser.c: added support for large file, tested with a 3+GB instance, and some cleanup. * catalog.c: added a TODO * Makefile.am: added some "make tests" comments Daniel
* fixed Red Hat bug #86118 use libxml2.spec instead of libxml.spec fixedDaniel Veillard2003-03-211-1/+1
| | | | | | | | | | | * configure.in Makefile.am: fixed Red Hat bug #86118 use libxml2.spec instead of libxml.spec * relaxng.c: fixed some of the error reporting excessive verbosity * catalog.c debugXML.c valid.c xmlreader.c xmlschemas.c xpath.c xmlschemastypes.c: removed some warnings from gcc * doc/libxml2-api.xml: rebuilt Daniel
* fixed bug #104817 with delegateURI fixing bugs #104123 and #104125 DanielDaniel Veillard2003-02-041-1/+2
| | | | | | * catalog.c: fixed bug #104817 with delegateURI * xpath.c: fixing bugs #104123 and #104125 Daniel
* a bit more cleanup DanielDaniel Veillard2002-12-111-15/+16
| | | | | * catalog.c doc/libxml2-api.xml: a bit more cleanup Daniel
* completed the #96963 fixIgor Zlatkovic2002-11-061-0/+2
|
* fixed bug #96963, reverted to old behaviour of xmlLoadCatalogsIgor Zlatkovic2002-10-311-2/+2
|
* Applied the VMS update patch from Craig A. Berry update DanielDaniel Veillard2002-10-221-1/+1
| | | | | | | | | | | * vms/build_libxml.com vms/config.vms vms/readme.vms include/libxml/parser.h include/libxml/parserInternals.h include/libxml/tree.h include/libxml/xmlIO.h HTMLparser.c catalog.c debugXML.c parser.c parserInternals.c tree.c triodef.h trionan.c uri.c xmlIO.c xpath.c: Applied the VMS update patch from Craig A. Berry * doc/*.html: update Daniel
* tried to fix bug #91500 where doc->children may be overriden by a call toDaniel Veillard2002-10-221-1/+1
| | | | | | | | * parser.c: tried to fix bug #91500 where doc->children may be overriden by a call to xmlParseBalancedChunkMemory() * catalog.c: tried to fix bug #90945 w.r.t. parsing of system identifiers in SGML catalogs containing '&' Daniel
* fixed lists in XML_CATALOG_FILESIgor Zlatkovic2002-10-041-9/+28
|
* preparing 2.4.18 updated and rebuilt the web site implement the newLIBXML_2_4_18Daniel Veillard2002-03-181-0/+1
| | | | | | | | | | | | | * configure.in: preparing 2.4.18 * doc/*: updated and rebuilt the web site * *.c libxml.h: implement the new IN_LIBXML scheme discussed with the Windows and Cygwin maintainers. * parser.c: humm, changed the way the SAX parser work when xmlSubstituteEntitiesDefault(1) is set, it will then do the entity registration and loading by itself in case the user provided SAX getEntity() returns NULL. * testSAX.c: added --noent to test the behaviour. Daniel
* applied 42 documentation patches from Charlie Bozeman. Regenerated theDaniel Veillard2001-12-311-8/+9
| | | | | | * *.c include/libxml/*.h doc/html/*: applied 42 documentation patches from Charlie Bozeman. Regenerated the HTML docs. Daniel
* use the URL notation file:// for default catalog paths DanielDaniel Veillard2001-11-151-2/+2
| | | | | * catalog.c: use the URL notation file:// for default catalog paths Daniel
* releasing 2.4.9 fixing catalog breakages fixed more problems in catalogDaniel Veillard2001-11-061-49/+65
| | | | | | | | | | * configure.in include/libxml/xmlwin32version.h: releasing 2.4.9 fixing catalog breakages * Makefile.am catalog.c result/catalogs/catal result/catalogs/mycatalog.* test/catalogs/catal*: fixed more problems in catalog support, added more regression tests for both XML and SGML catalog handling Daniel
* dohhhh XML catalog add and remove ops were broken too. Side effect of theDaniel Veillard2001-11-051-0/+6
| | | | | | * catalog.c: dohhhh XML catalog add and remove ops were broken too. Side effect of the progressive catalog loading Daniel
* Fixed SGML catalogs breakage of 2.4.7, added a couple of really neededDaniel Veillard2001-11-041-8/+71
| | | | | | | | | | * include/libxml/catalog.h catalog.c: Fixed SGML catalogs breakage of 2.4.7, added a couple of really needed APIs like xmlCatalogIsEmpty() and xmlNewCatalog() * xmlcatalog.c: updated --sgml --noout to be a suitable replacement for install-catalog * configure.in: preparing 2.4.8 Daniel
* Justin Fletcher pointed out that xmlParseXMLCatalog was not used anymore !Daniel Veillard2001-10-301-71/+0
| | | | | | * catalog.c: Justin Fletcher pointed out that xmlParseXMLCatalog was not used anymore ! Daniel
* - include/libxml/globals.h include/libxml/threads.h threads.cDaniel Veillard2001-10-171-1/+2
| | | | | | testThreads.c: far more testing, cleaning up bugs - *.c : make sure globals.h is always included. Daniel
* serious cleanup on the management of the XML catalog tree, more testsDaniel Veillard2001-10-161-60/+101
| | | | | | | * catalog.c: serious cleanup on the management of the XML catalog tree, more tests done, especially with the catalog PI. Daniel
* avoid a problem in catalog cleanup on SMP if catalogs were notDaniel Veillard2001-10-161-0/+3
| | | | | | * catalog.c: avoid a problem in catalog cleanup on SMP if catalogs were not initialized. Daniel
* trying to cleanup the not thread safe parts of the library. DanielDaniel Veillard2001-10-161-53/+112
| | | | | | * catalog.c xpath.c: trying to cleanup the not thread safe parts of the library. Daniel
* started integrating the non-controversial parts of Gary PenningtonDaniel Veillard2001-10-111-2/+2
| | | | | | | | | * HTMLtree.c catalog.c debugXML.c entities.c nanoftp.c parser.c valid.c xmlmemory.c xpath.c xpointer.c: started integrating the non-controversial parts of Gary Pennington multithread patches * catalog.c: corrected a small bug introduced Daniel
* very serious cleanup, isolating unportable code and as much as possibleDaniel Veillard2001-10-111-590/+1058
| | | | | | | * catalog.c include/libxml/catalog.h: very serious cleanup, isolating unportable code and as much as possible the accesses to the global shared catalog. May need more testing ! Daniel
* preparing 2.4.6 release updated and rebuilt the docs fixed a number ofLIBXML_2_4_6Daniel Veillard2001-10-101-1/+1
| | | | | | | * configure.in: preparing 2.4.6 release * doc/xml.html doc/html/*: updated and rebuilt the docs * include/libxml/*.h *.c: fixed a number of teh/the widht/width typos Daniel
* adding SGML super catalog support adding one API and one flag --sgml toDaniel Veillard2001-10-081-9/+117
| | | | | | | * include/libxml/catalog.h catalog.c xmlcatalog.c: adding SGML super catalog support adding one API and one flag --sgml to xmlcatalog Daniel
* Justin Fletcher provided cleaup code in case HAVE_STAT is not defined IgorDaniel Veillard2001-10-011-51/+82
| | | | | | | | * catalog.c: Justin Fletcher provided cleaup code in case HAVE_STAT is not defined * include/win32config.h: Igor Zlatkovic suggested to have HAVE_STAT defined there Daniel
* fixed catalog.c typoWilliam M. Brack2001-09-281-4/+4
|
* removed a couple of warning try to solve the linking problem on platformsDaniel Veillard2001-09-201-0/+3
| | | | | | | * catalog.c xmlcatalog.c: removed a couple of warning * xpath.c: try to solve the linking problem on platforms needing trio to compile Daniel
* removed a duplicate affectation Justin Fletcher DanielDaniel Veillard2001-09-011-1/+0
| | | | | * catalog.c: removed a duplicate affectation Justin Fletcher Daniel
* added a --convert option to xmlcatalog to convert SGML ones to the XMLDaniel Veillard2001-08-251-8/+116
| | | | | | | | * include/libxml/catalog.h catalog.c xmlcatalog.c: added a --convert option to xmlcatalog to convert SGML ones to the XML syntax. * xmllint.c: small cleanup for $SGML_CATALOG_FILES support. Daniel
* started some serious testing and fixed a few bug and optmization needs.Daniel Veillard2001-08-231-9/+140
| | | | | | * catalog.c xmlIO.c: started some serious testing and fixed a few bug and optmization needs. Daniel
* preparing for a 2.4.3 release even if it may not be ready yet redirectedDaniel Veillard2001-08-231-5/+78
| | | | | | | | | | | | * Makefile.am configure.in include/libxml/xmlwin32version.h: preparing for a 2.4.3 release even if it may not be ready yet * catalog.c parser.c xmlIO.c include/libxml/catalog.h: redirected all file parsing lookup to go through the entity resolver, add to add an API to bypass it (needed to load catalogs themselves), some cleanup on the catalog code too. * nanoftp.c: small cleanup * doc/catalog.html: small update Daniel
* fixed bugi #59406 in SGML catalog parsing reported by Jun Kuriyama DanielDaniel Veillard2001-08-231-1/+3
| | | | | | * catalog.c: fixed bugi #59406 in SGML catalog parsing reported by Jun Kuriyama Daniel
* added documentation about Catalog support, misses an API descriptionDaniel Veillard2001-08-221-0/+7
| | | | | | | * doc/catalog.html doc/xml.html: added documentation about Catalog support, misses an API description * doc/html/*: reextracted the API pages Daniel
* Added the part about section 7.2 on URI resolution, fixed a side effect inDaniel Veillard2001-08-221-1/+226
| | | | | | | | * include/libxml/catalog.h catalog.c xmlIO.c HTMLparser.c: Added the part about section 7.2 on URI resolution, fixed a side effect in the HTML parser, look complete and ready to rock except the URI/SystemID part! Daniel
* added support and APIs needed for the catalog PI cleanup DanielDaniel Veillard2001-08-221-2/+158
| | | | | | | | * include/libxml/catalog.h include/libxml/parser.h include/libxml/xmlerror.h catalog.c parser.c parserInternals.c xmlIO.c: added support and APIs needed for the catalog PI * include/libxml/xmlIO.h: cleanup Daniel
* starts to look okay, really plugged the new framework, cleaned a lot ofDaniel Veillard2001-08-221-143/+443
| | | | | | | | | | | * catalog.c parser.c xmlIO.c xmlcatalog.c xmllint.c include/libxml/catalog.h: starts to look okay, really plugged the new framework, cleaned a lot of stuff, added some APIs, except the PI's support missing this should be mostly complete * result/catalogs/* test/catalogs/*: added new test, enriched the existing one with URN ID tests Daniel
* fixed nextCatalog started adding a small regression test DanielDaniel Veillard2001-08-211-1/+3
| | | | | | | * catalog.c: fixed nextCatalog * result/catalogs/docbook test/catalogs/*: started adding a small regression test Daniel