1. 11 Sep, 2012 1 commit
  2. 28 Jul, 2005 1 commit
    • Daniel Veillard's avatar
      a lot of small cleanups based on Linus' sparse check output. Daniel · 24505b0f
      Daniel Veillard authored
      * HTMLparser.c SAX2.c encoding.c globals.c parser.c relaxng.c
        runsuite.c runtest.c schematron.c testHTML.c testReader.c
        testRegexp.c testSAX.c testThreads.c valid.c xinclude.c xmlIO.c
        xmllint.c xmlmodule.c xmlschemas.c xpath.c xpointer.c: a lot of
        small cleanups based on Linus' sparse check output.
  3. 21 Jul, 2005 1 commit
    • Daniel Veillard's avatar
      applied a patch from Marcus Boerger to fix problems with calling · ffa3c749
      Daniel Veillard authored
      * error.c globals.c parser.c runtest.c testHTML.c testSAX.c
        threads.c valid.c xmllint.c xmlreader.c xmlschemas.c xmlstring.c
        xmlwriter.c include/libxml/parser.h include/libxml/relaxng.h
        include/libxml/valid.h include/libxml/xmlIO.h
        include/libxml/xmlerror.h include/libxml/xmlexports.h
        include/libxml/xmlschemas.h: applied a patch from Marcus Boerger
        to fix problems with calling conventions on Windows this should
        fix #309757
  4. 02 Jan, 2005 1 commit
    • William M. Brack's avatar
      Re-examined the problems of configuring a "minimal" library. · 21e4ef20
      William M. Brack authored
      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
  5. 27 Jun, 2004 1 commit
  6. 02 Jun, 2004 1 commit
  7. 01 Mar, 2004 1 commit
  8. 28 Feb, 2004 1 commit
  9. 22 Feb, 2004 1 commit
  10. 23 Jan, 2004 1 commit
    • Daniel Veillard's avatar
      added io1.c an example ox xmlIO usage and io1.res test result, fixed a · 4773df2a
      Daniel Veillard authored
      * doc/examples/*: added io1.c an example ox xmlIO usage and io1.res
        test result, fixed a awful lot of memory leaks showing up in
        testWriter.c, changed the examples and the Makefiles to test
        memory leaks.
      * xmlwriter.c: fixed a memory leak
      * Makefile.am: run the doc/examples regression tests as part of
        make tests
      * xpath.c include/libxml/xpath.h: added xmlXPathCtxtCompile() to
        compile an XPath expression within a context, currently the goal
        is to be able to reuse the XSLT stylesheet dictionnary, but this
        opens the door to others possible optimizations.
      * dict.c include/libxml/dict.h: added xmlDictCreateSub() which allows
        to build a new dictionnary based on another read-only dictionnary.
        This is needed for XSLT to keep the stylesheet dictionnary read-only
        while being able to reuse the strings for the transformation
      * xinclude.c: fixed a dictionnar reference counting problem occuring
        when document parsing failed.
      * testSAX.c: adding option --repeat for timing 100times the parsing
      * doc/* : rebuilt all the docs
  11. 27 Oct, 2003 1 commit
  12. 18 Oct, 2003 2 commits
    • William M. Brack's avatar
      Changed all (?) occurences where validation macros (IS_xxx) had · 76e95df0
      William M. Brack authored
      * 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.
    • William M. Brack's avatar
      enhanced macros to avoid breaking ABI from previous versions. modified to · 871611bb
      William M. Brack authored
      * 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
  13. 30 Sep, 2003 1 commit
  14. 10 Sep, 2003 1 commit
    • Daniel Veillard's avatar
      Time to commit 3 days of work rewriting the parser internal, · 07cb8226
      Daniel Veillard authored
      fixing bugs and migrating to SAX2 interface by default. There
      is some work letf TODO, like namespace validation and attributes
      normalization (this break C14N right now)
      * Makefile.am: fixed the test rules
      * include/libxml/SAX2.h include/libxml/parser.h
        include/libxml/parserInternals.h SAX2.c parser.c
        parserInternals.c: changing the parser, migrating to SAX2,
        adding new interface to switch back to SAX1 or initialize a
        SAX block for v1 or v2. Most of the namespace work is done
        below SAX, as well as attribute defaulting
      * globals.c: changed initialization of the default SAX handlers
      * hash.c tree.c include/libxml/hash.h: added QName specific handling
      * xmlIO.c: small fix
      * xmllint.c testSAX.c: provide a --sax1 switch to test the old
        version code path
      * result/p3p result/p3p.sax result/noent/p3p test/p3p: the new code
        pointed out a typo in a very old test namespace
  15. 07 Sep, 2003 1 commit
  16. 20 Mar, 2002 1 commit
    • Daniel Veillard's avatar
      I wanted to see the real speed at the SAX interface after a little too · e50f3b5d
      Daniel Veillard authored
      * testSAX.c: I wanted to see the real speed at the SAX interface
        after a little too many Ximianer started complaining about the
        parser speed.
        added a --quiet option:
        paphio:~/XML -> ls -l db100000.xml
        -rw-rw-r--    1 veillard www      20182040 Mar 20 10:30 db100000.xml
        paphio:~/XML -> time ./testSAX --quiet db100000.xml
        3200006 callbacks generated
        real	0m1.270s
        Which means 16MBytes/s and 3Mcallback/s
  17. 18 Mar, 2002 1 commit
    • Daniel Veillard's avatar
      humm, changed the way the SAX parser work when · 5997aca8
      Daniel Veillard authored
      * 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.
  18. 31 Dec, 2001 1 commit
  19. 13 Oct, 2001 1 commit
    • Daniel Veillard's avatar
      Applied the last patches from Gary, cleanup, activated threading all user · d0463560
      Daniel Veillard authored
      * include/libxml/SAX.h include/libxml/globals.h include/libxml/parser.h
        include/libxml/parserInternals.h include/libxml/tree.h
        include/libxml/xmlerror.h HTMLparser.c SAX.c error.c globals.c
        nanoftp.c nanohttp.c parser.c parserInternals.c testDocbook.c
        testHTML.c testSAX.c tree.c uri.c xlink.c xmlmemory.c:
        Applied the last patches from Gary, cleanup, activated threading
        all user accessible global variables are now handled in globals.[ch]
        Still a bit rought but make tests passes with either
        --with-threads defined at configure time or not.
      * Makefile.am example/Makefile.am: added globals.[ch] and threads
        linking options
  20. 03 Aug, 2001 1 commit
    • Daniel Veillard's avatar
      applied Win32 Facelift No.2 patches from Igor Zlatkovic for Windows/MSC · 50f34371
      Daniel Veillard authored
      * DOCBparser.c Makefile.am nanohttp.c parser.c testHTML.c
        testSAX.c xmlIO.c xmllint.c include/win32config.h
        include/libxml/xmlversion.h.in include/libxml/xmlwin32version.h
        include/libxml/xmlwin32version.h.in win32/README.MSDev
        win32/dsp/*: applied Win32 Facelift No.2 patches from
        Igor Zlatkovic for Windows/MSC
  21. 24 Jun, 2001 1 commit
    • Daniel Veillard's avatar
      Summer's cleanup, a really big one: · c5d64345
      Daniel Veillard authored
      * AUTHORS: added William and Bjorn
      * include/libxml/*.h *.c README doc/*.html etc.: changed old email to
        daniel@veillard.com hopefully I won't have to do this again
      * doc/Makefile.am doc/html/*.html: cleanup makefile, checked that
        docs can be rebuilt cleanly now
      * include/libxml/xml*version.h*: removed include/libxml/xmlversion.h
        from CVs it's generated, added include/libxml/xmlwin32version.h
        also generated but which should change far less frequently.
      * catalog.c nanoftp.c: made sure to include libxml.h not
        libxml/xmlversion.h directly
      * include/libxml/*.h: include xmlwin32version.h instead of xmlversion.h
        when compiling on WIN32 and MSC
  22. 21 Apr, 2001 1 commit
  23. 26 Mar, 2001 1 commit
  24. 24 Mar, 2001 1 commit
    • Daniel Veillard's avatar
      Huge cleanup, I switched to compile with · 56a4cb8c
      Daniel Veillard authored
      -Wall -g -O -ansi -pedantic -W -Wunused -Wimplicit
      -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat
      -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow
      -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return
      -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline
      - HTMLparser.[ch] HTMLtree.c SAX.c debugXML.c encoding.[ch]
        encoding.h entities.c error.c list.[ch] nanoftp.c
        nanohttp.c parser.[ch] parserInternals.[ch] testHTML.c
        testSAX.c testURI.c testXPath.c tree.[ch] uri.c
        valid.[ch] xinclude.c xmlIO.[ch] xmllint.c xmlmemory.c
        xpath.c xpathInternals.h xpointer.[ch] example/gjobread.c:
        Cleanup, staticfied a number of non-exported functions,
        detected and cleaned up a dozen of problem found this way,
        avoided a lot of public function name/typedef/system names clashes
      - doc/xml.html: updated
      - configure.in: switched private flags to the really pedantic ones.
  25. 07 Nov, 2000 1 commit
    • Daniel Veillard's avatar
      Various patches and bug fixes, and XInclude progresses: · c2def84b
      Daniel Veillard authored
      - nanohttp.[ch]: applied Wayne Davison patches to access
        the WWW-Authorization header.
      - parser.c: Closed Bug#30847: Problems when switching encoding
        in short files by applying Simon Berg's patch.
      - valid.c: fixed a validation problem
      - hash.c parser.h parserInternals.h testHTML.c testSAX.c tree.h
        xmlerror.h xmlmemory.h xmlversion.h.in: applied a DLL patch from
        Wayne Davison
      - xpointer.[ch]: added first version of xmlXPtrBuildNodeList()
        need to be extended to non full nodes selections.
      - xinclude.c: starts to work decently
  26. 25 Oct, 2000 1 commit
    • Daniel Veillard's avatar
      patched to redirrect all "out of context" error messages to · d6d7f7bf
      Daniel Veillard authored
      a reconfigurable routine. The changes are:
      * xmlerror.h : added the export of an error context type (void *)
        an error handler type xmlGenericErrorFunc there is an interface
        xmlSetGenericErrorFunc(void *ctx, xmlGenericErrorFunc handler);
        to reset the error handling routine and its argument
        (by default it's equivalent to respectively fprintf and stderr.
      * all the c files: all wild accesses to stderr or stdout within
        the library have been replaced to calls to the handler.
  27. 15 Oct, 2000 1 commit
  28. 09 Oct, 2000 1 commit
  29. 06 Oct, 2000 1 commit
    • Daniel Veillard's avatar
      Tried to build libxml2-2.2.5 · 7e99c63b
      Daniel Veillard authored
      Automake is a fucking piece of ugly shit full of tricks and without
      any kind of sensible documentation or logic :-(((((((((
      Daniel, pissed !
  30. 17 Aug, 2000 1 commit
  31. 12 Aug, 2000 1 commit
    • Daniel Veillard's avatar
      Large sync between my W3C base and Gnome's one: · 87b95395
      Daniel Veillard authored
      - parser.[ch]: added xmlGetFeaturesList() xmlGetFeature() and xmlAddFeature()
      - tree.[ch]: added xmlAddChildList()
      - xmllint.c: MAP_FAILED macro test
      - parser.h: added xmlParseCtxtExternalEntity()
      - valid.c: applied bug fixes removed warning
      - tree.c: added CDATA block to elements content
      - testSAX.c: cleanup of output
      - testHTML.c: added SAX testing
      - encoding.c: better error recovery
      - SAX.c, parser.c: fixed one of the external entity processing of the OASis testsuite
      - Makefile.am: added HTML SAX regression tests
      - configure.in: bumped to 2.2.2
      - test/HTML/ result/HTML: added a few of HTML tests, and added the SAX results
  32. 14 Jul, 2000 1 commit
    • Daniel Veillard's avatar
      - doc/encoding.html doc/xml.html: added I18N doc · 32bc74ef
      Daniel Veillard authored
      - encoding.[ch] HTMLtree.[ch] parser.c HTMLparser.c: I18N encoding
        improvements, both parser and filters, added ASCII & HTML,
        fixed the ISO-Latin-1 one
      - xmllint.c testHTML.c: added/made visible --encode
      - debugXML.c : cleanup
      - most .c files: applied patches due to warning on Windows and
        when using Sun Pro cc compiler
      - xpath.c : cleanup memleaks
      - nanoftp.c : added a TESTING preprocessor flag for standalong
        compile so that people can report bugs more easilly
      - nanohttp.c : ditched socklen_t which was a portability mess
        and replaced it with unsigned int.
      - tree.[ch]: added xmlHasProp()
      - TODO: updated
      - test/ : added more test for entities, NS, encoding, HTML, wap
      - configure.in: preparing for 2.2.0 release
  33. 24 Apr, 2000 1 commit
    • Daniel Veillard's avatar
      removed extraneous xmlRemoveProp definition added item about · 06047432
      Daniel Veillard authored
      * tree.h: removed extraneous xmlRemoveProp definition
      * TODO: added item about --disable-corba configure switch
      * tree.c parser.c: fixed problems for xmlCopyDoc and postvalidation
      * nanoftp.c: fixed include problems giving troubles on AIX and
      * xmlIO.[ch] valid.h tree.[ch] xlink.c xmlmemory.c uri.c
        parser.c nanoftp.c nanohttp.c SAX.c testSAX.c :
        comment and headers changes to lower gtk-doc number of warnings
      * doc/html/*: rebuilt docs
  34. 12 Apr, 2000 1 commit
  35. 03 Apr, 2000 1 commit
  36. 14 Mar, 2000 1 commit
  37. 28 Dec, 1999 1 commit
  38. 22 Dec, 1999 1 commit
  39. 01 Dec, 1999 1 commit
    • Daniel Veillard's avatar
      - added the patch from Carl Nygard <cnygard@bellatlantic.net> · f5c2c870
      Daniel Veillard authored
         which allow impressive speed improvement on dataset with large text
         pieces, but at the cost of broken binary compatibility and slightly
         bigger memory usage.  Configure with --with-buffers to activate them,
         they are protected with XML_USE_BUFFER_CONTENT define.
       - added xmlCleanupPredefinedEntities(), memory allocation cleanup