1. 13 Oct, 2014 1 commit
  2. 01 Apr, 2013 1 commit
  3. 30 Oct, 2012 1 commit
  4. 11 Sep, 2012 2 commits
  5. 22 Aug, 2012 1 commit
    • Daniel Veillard's avatar
      Expose xmlBufShrink in the public tree API · 82cdfc4e
      Daniel Veillard authored
      As suggested by Andrew W. Nosenko:
      Proposal: expose the new xmlBufShrink() to the "public" API for
      compatibility with xmlBufUse().
      Reason: the following scenario:
      1. Read something into  xmlParserInputBuffer (e.g. using
      2. Extract content through xmlBufContent()
      3. Extract content length through xmlBufUse().  Result have type
      4. Use this content
      5. Now, you need to shrink the buffer.  How to do it?  Doing that
      through legacy xmlBufferShrink() is unsafe because it uses 'unsigned
      int' and the whole point of introducing the new API was handling the
      cases, when 'unsigned int' is not enough.  Therefore, need to use the
      new xmlBufShrink().  But it is "private".
      Therefore, I propose to expose the new xmlBufShrink() in the same way,
      as xmlBufContent() and xmlBufUse() are exposed.
  6. 20 Aug, 2012 1 commit
  7. 15 Aug, 2012 1 commit
  8. 13 Aug, 2012 2 commits
  9. 06 Aug, 2012 1 commit
    • Daniel Richard G's avatar
      Various "make distcheck" and portability fixups · 5706b6d8
      Daniel Richard G authored
      * Don't use @VAR@, use $(VAR). Autoconf's AC_SUBST provides us the Make
         variable, it allows overriding the value at the command line, and
         (notably) it avoids a Make parse error in the libxml2_la_LDFLAGS
         assignment when @MODULE_PLATFORM_LIBS@ is empty
      * Changed how the THREADS_W32 mechanism switches the build between
         testThreads.c and testThreadsWin32.c as appropriate; using AM_CONDITIONAL
         allows this to work cleanly and plays well with dependencies
      * testapi.c should be specified as BUILT_SOURCES
      * Create symlinks to the test/ and result/ subdirs so that the runtests
         target is usable in out-of-source-tree builds
      * Don't do MAKEFLAGS+=--silent as this is not portable to non-GNU Makes
      * Fixed incorrect find(1) syntax in the "cleanup" rule, and doing "rm -f"
         instead of just "rm" is good form
      * (DIST)CLEANFILES needed a bit more coverage to allow "make distcheck" to
      * Need AC_PROG_LN_S to create test/ and result/ symlinks in Makefile.am
      * AC_LIBTOOL_WIN32_DLL and AM_PROG_LIBTOOL are obsolete; these have been
         superceded by LT_INIT
      * Don't rebuild docs by default, as this requires GNU Make (as
      * Check for uint32_t as some platforms don't provide it
      * Check for some more functions, and undefine HAVE_MMAP if we don't also
         HAVE_MUNMAP (one system I tested on actually needed this)
      * Changed THREADS_W32 from a filename insert into an Automake conditional
      * The "Copyright" file will not be in the current directory if builddir !=
      * EXTRA_DIST cannot use wildcards when they refer to generated files; this
         breaks dependencies. What I did was define EXTRA_DIST_wc, which uses GNU
         Make $(wildcard) directives to build up a list of files, and EXTRA_DIST,
         as a literal expansion of EXTRA_DIST_wc. I also added a new rule,
         "check-extra-dist", to simplify checking that the two variables are
         equivalent. (Note that this works only when builddir == srcdir)
         (I can implement this differently if desired; this is just one way of
         doing it)
      * Don't define an "all" target; this steps on Automake's toes
      * Fixed up the "libxml2-api.xml ..." rule by using $(wildcard) for
         dependencies (as Make doesn't process the wildcards otherwise) and
         qualifying appropriate files with $(srcdir)
         (Note that $(srcdir) is not needed in the dependencies, thanks to VPATH,
         which we can count on as this is GNU-Make-only code anyway)
      * Qualified appropriate files with $(srcdir)
      * Added an "uninstall-local" rule so that "make distcheck" passes
      * Rather than use a wildcard that doesn't work, use a substitution that
         most Make programs can handle
      * Do the same here
      * Some platforms (e.g. MSVC 6) already #define INVALID_SOCKET:
           user@host:/cygdrive/c/Program Files/Microsoft Visual Studio/VC98/\
           Include$ grep -R INVALID_SOCKET .
           ./WINSOCK.H:#define INVALID_SOCKET  (SOCKET)(~0)
           ./WINSOCK2.H:#define INVALID_SOCKET  (SOCKET)(~0)
      * Support ancient GCCs (I was actually able to build the library with 2.5
         but for this bit)
      * Expanded CLEANFILES to allow "make distcheck" to pass
      * Define CLEANFILES instead of a "clean" rule, and added tmp.xml to allow
         "make distcheck" to pass
      * Use HAVE_MMAP instead of the less explicit HAVE_SYS_MMAN_H (as some
         systems have the header but not the function)
      * Use HAVE_MMAP instead of the less explicit HAVE_SYS_MMAN_H
      * Don't use putenv() if it's not available
      * This fixes the following build error on Solaris 8:
           libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./include -I./include \
           -D_REENTRANT -D__EXTENSIONS__ -D_REENTRANT -Dsparc -Xa -mt -v \
           -xarch=v9 -xcrossfile -xO5 -c threads.c  -KPIC -DPIC -o threads.o
           "threads.c", line 442: controlling expressions must have scalar type
           "threads.c", line 512: controlling expressions must have scalar type
           cc: acomp failed for threads.c
           *** Error code 1
      * Define isascii() if the system doesn't provide it
      * The trio library's HAVE_CONFIG_H header is not the same as LibXML2's
         HAVE_CONFIG_H header; this change is needed to avoid a double-inclusion
      * Added support for the LZMA compression option
      * Added appropriate bits to support WITH_LZMA=1
      * Install the header files under $(INCPREFIX)\libxml2\libxml instead of
         $(INCPREFIX)\libxml, to mirror the install location on Unix+Autotools
      * @MODULE_PLATFORM_LIBS@ (usually "-ldl") needs to be in there in order for
         `xml2-config --libs` to provide a complete set of dependencies
      * Use HAVE_MMAP instead of the less-explicit HAVE_SYS_MMAN_H
  10. 23 May, 2012 2 commits
  11. 15 May, 2012 1 commit
  12. 25 May, 2011 1 commit
  13. 04 Nov, 2010 1 commit
  14. 24 Aug, 2009 1 commit
    • Daniel Veillard's avatar
      Regenerated API and symbols · f447ab8f
      Daniel Veillard authored
      * doc/Makefile.am: make the check for symbols pbm a make api failure
      * doc/symbols.xml: added xmlXIncludeProcessTreeFlagsData
      * doc//* elfgcchack.h libxml2.syms testapi.c: regenerated
  15. 21 Aug, 2009 1 commit
  16. 10 Aug, 2009 1 commit
  17. 24 Jul, 2009 1 commit
  18. 25 Mar, 2009 1 commit
  19. 18 Jan, 2009 1 commit
    • Daniel Veillard's avatar
      apply patch from Marcus Meissner to add gcc attribute alloc_size should · d4d47057
      Daniel Veillard authored
      * 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
      svn path=/trunk/; revision=3811
  20. 27 Nov, 2008 1 commit
  21. 01 Sep, 2008 1 commit
    • Daniel Veillard's avatar
      Borland C fix from Moritz Both regenerate, workaround a problem for buffer · da3fee40
      Daniel Veillard authored
      * trionan.c: Borland C fix from Moritz Both
      * testapi.c: regenerate, workaround a problem for buffer testing
      * xmlIO.c HTMLtree.c: new internal entry point to hide even better
      * tree.c: harden the code around buffer allocation schemes
      * parser.c: restore the warning when namespace names are not absolute
      * runxmlconf.c: continue regression tests if we get the expected
        number of errors
      * Makefile.am: run the python tests on make check
      * xmlsave.c: handle the HTML documents and trees
      * python/libxml.c: convert python serialization to the xmlSave APIs
        and avoid some horrible hacks
      svn path=/trunk/; revision=3790
  22. 30 Aug, 2008 2 commits
  23. 27 Aug, 2008 1 commit
    • Daniel Veillard's avatar
      fix a small initialization problem raised by Ashwin increase testing · 2cba4158
      Daniel Veillard authored
      * threads.c: fix a small initialization problem raised by Ashwin
      * testapi.c gentest.py: increase testing especially for document
        with an internal subset, and entities
      * tree.c: fix a deallocation issue when unlinking entities from
        a document.
      * valid.c: fix a missing entry point test not found previously.
      * doc/*: regenerated the APIs, docs etc.
      svn path=/trunk/; revision=3778
  24. 04 Aug, 2008 1 commit
  25. 29 Jul, 2008 1 commit
  26. 12 May, 2008 1 commit
  27. 11 Apr, 2008 1 commit
    • Daniel Veillard's avatar
      added new function xmlSchemaValidCtxtGetParserCtxt based on Holger · dee23485
      Daniel Veillard authored
      * 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
      * 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
      svn path=/trunk/; revision=3738
  28. 31 Mar, 2008 1 commit
  29. 22 May, 2007 1 commit
    • William M. Brack's avatar
      Fixed typo in xmlCharEncFirstLine pointed out by Mark Rowe (bug #440159) · 38d452ac
      William M. Brack authored
      * encoding.c: Fixed typo in xmlCharEncFirstLine pointed out
        by Mark Rowe (bug #440159)
      * include/libxml/xmlversion.h.in: Added check for definition of
        _POSIX_C_SOURCE to avoid warnings on Apple OS/X (patch from
        Wendy Doyle and Mark Rowe, bug #346675)
      * schematron.c, testapi.c, tree.c, xmlIO.c, xmlsave.c: minor
        changes to fix compilation warnings - no change to logic.
      svn path=/trunk/; revision=3618
  30. 08 Feb, 2007 1 commit
  31. 11 Jan, 2007 1 commit
  32. 25 Oct, 2006 1 commit
  33. 13 Oct, 2006 2 commits
  34. 11 Oct, 2006 1 commit
  35. 12 Aug, 2006 1 commit