1. 20 Dec, 2003 1 commit
  2. 19 Dec, 2003 1 commit
  3. 17 Dec, 2003 1 commit
  4. 08 Dec, 2003 1 commit
  5. 14 Nov, 2003 1 commit
  6. 01 Nov, 2003 1 commit
  7. 29 Oct, 2003 1 commit
  8. 28 Oct, 2003 2 commits
  9. 21 Oct, 2003 2 commits
  10. 19 Oct, 2003 3 commits
  11. 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.
      76e95df0
    • 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
      871611bb
  12. 09 Oct, 2003 1 commit
  13. 08 Oct, 2003 1 commit
  14. 07 Oct, 2003 1 commit
  15. 29 Sep, 2003 2 commits
    • Daniel Veillard's avatar
      Adding a configure option to remove tree manipulation code which is not · 652327a7
      Daniel Veillard authored
      * configure.in entities.c tree.c valid.c xmllint.c
        include/libxml/tree.h include/libxml/xmlversion.h.in:
        Adding a configure option to remove tree manipulation
        code which is not strictly needed by the parser.
      Daniel
      652327a7
    • Daniel Veillard's avatar
      Okay this is scary but it is just adding a configure option to disable · a9cce9cd
      Daniel Veillard authored
      * 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
      a9cce9cd
  16. 28 Sep, 2003 1 commit
    • Daniel Veillard's avatar
      cleanup, creating a new legacy.c module, made sure make tests ran in · 4432df23
      Daniel Veillard authored
      * Makefile.am: cleanup, creating a new legacy.c module,
        made sure make tests ran in reduced conditions
      * SAX.c SAX2.c configure.in entities.c globals.c parser.c
        parserInternals.c tree.c valid.c xlink.c xmlIO.c xmlcatalog.c
        xmlmemory.c xpath.c xmlmemory.c include/libxml/xmlversion.h.in:
        increased the modularization, allow to configure out
        validation code and legacy code, added a configuration
        option --with-minimum compiling only the mandatory code
        which then shrink to 200KB.
      Daniel
      4432df23
  17. 26 Sep, 2003 1 commit
    • Daniel Veillard's avatar
      added the same htmlRead APIs than their XML counterparts new parser · 9475a352
      Daniel Veillard authored
      * HTMLparser.c testHTML.c xmllint.c include/libxml/HTMLparser.h:
        added the same htmlRead APIs than their XML counterparts
      * include/libxml/parser.h: new parser options, not yet implemented,
        added an options field to the context.
      * tree.c: patch from Shaun McCance to fix bug #123238 when ]]>
        is found within a cdata section.
      * result/noent/cdata2 result/cdata2 result/cdata2.rdr
        result/cdata2.sax test/cdata2: add one more cdata test
      Daniel
      9475a352
  18. 24 Sep, 2003 1 commit
    • Daniel Veillard's avatar
      adding repeated parsing and validating tests make the new DOM tree · e96a2a4b
      Daniel Veillard authored
      * Makefile.am: adding repeated parsing and validating tests
      * SAX2.c parser.c tree.c include/libxml/parser.h: make the new
        DOM tree building interfaces use the dictionary from the
        parsing context to build the element and attributes names
        as well as formatting spaces and short text nodes
      * include/libxml/dict.h dict.c: added some reference counting
        for xmlDictPtr because they can be shared by documents and
        a parser context.
      * xmlreader.c: a bit of cleanup, remove the specific tree freeing
        functions and use the standard ones now.
      * xmllint.c: add --nodict
      * python/libxml.c: fix a stupid bug so that ns() works on
        attribute nodes.
      Daniel
      e96a2a4b
  19. 23 Sep, 2003 1 commit
    • Daniel Veillard's avatar
      adding a new set of API for parsing xmlReadDoc() xmlReadFile() ... · 16fa96c5
      Daniel Veillard authored
      * 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
      16fa96c5
  20. 22 Sep, 2003 1 commit
  21. 19 Sep, 2003 1 commit
    • Daniel Veillard's avatar
      preparing a 2.6.0-beta2 release avoid a warning avoid duplicate code in · e72c508c
      Daniel Veillard authored
      * configure.in: preparing a 2.6.0-beta2 release
      * xmlIO.c: avoid a warning
      * tree.c: avoid duplicate code in xmlReplaceNode as pointed out
        by Chris Ryland
      * include/libxml/dict.h: add a QName access lookup to the
        dictionary.
      * xmlreader.c include/libxml/xmlreader.h: adding const access
        based on the dictionary interface for string read from the
        reader, the node content access is still TODO, it's too different
      Daniel
      e72c508c
  22. 18 Sep, 2003 1 commit
    • Daniel Veillard's avatar
      add streaming on memory regression tests, found bad bugs in the reader · 5335055e
      Daniel Veillard authored
      * Makefile.am: add streaming on memory regression tests, found
        bad bugs in the reader interface
      * xmlreader.c: fixing bugs w.r.t. very large names, and special
        condition in end of file.
      * xmlIO.c tree.c include/libxml/tree.h include/libxml/xmlIO.h:
        adding immutable buffers, and parser input based on those,
        but this should not be used (yet) for general parsing
      * parser.c: added a comment about using immutable buffers for
        general parsing.
      * result/bigname.xml.rdr result/bigname2.xml.rdr: fixing the
        output of the regression tests
      * xmllint.c: using the immutable buffers when streaming on
        mmaped file (--stream --memory)
      Daniel
      5335055e
  23. 14 Sep, 2003 1 commit
    • Daniel Veillard's avatar
      factoring of more error handling code, serious size reduction and more · bdbe0d4e
      Daniel Veillard authored
      * parser.c include/libxml/xmlerror.h: factoring of more
        error handling code, serious size reduction and more lisibility
        of the resulting code.
      * parserInternals.c parser.c include/libxml/parserInternals.h
        include/libxml/parser.h: changing the way VC:Proper Group/PE Nesting
        checks are done, use a counter for entities. Entities where freed and
        reallocated at the same address failing the check.
      * tree.c: avoid a warning
      * result/valid/* result/VC/*: this slightly changes some validation
        error messages.
      Daniel
      bdbe0d4e
  24. 12 Sep, 2003 1 commit
  25. 11 Sep, 2003 1 commit
    • Daniel Veillard's avatar
      adding namespace checkings while making sure they still parse as · 3b7840cd
      Daniel Veillard authored
      * parser.c parserInternals.c tree.c include/libxml/parser.h
        include/libxml/xmlerror.h: adding namespace checkings
        while making sure they still parse as wellformed documents.
        Add an nsWellFormed status report to the context, and
        provide new appropriate error codes.
      * Makefile.am result/namespaces/* test/namespaces/*: add
        specific regression testing for the new namespace support
      * test/att5 result/noent/att5 result/att5 result/att5.sax:
        add more coverage for the attribute parsing and normalization
        code.
      Daniel
      3b7840cd
  26. 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
      Daniel
      07cb8226
  27. 19 Aug, 2003 2 commits
  28. 08 Aug, 2003 1 commit
    • Daniel Veillard's avatar
      hum try to avoid some troubles when the library is not initialized and one · 70bcb0ea
      Daniel Veillard authored
      * HTMLtree.c tree.c threads.c: hum try to avoid some troubles
        when the library is not initialized and one try to save, the
        locks in threaded env might not been initialized, playing safe
      * xmlschemastypes.c: apply patch for hexBinary from Charles Bozeman
      * test/schemas/hexbinary_* result/schemas/hexbinary_*: also added
        his tests to the regression suite.
      Daniel
      70bcb0ea
  29. 04 Aug, 2003 3 commits
  30. 29 Jul, 2003 1 commit
  31. 07 Jul, 2003 1 commit