1. 30 Sep, 2019 1 commit
  2. 17 Jun, 2017 1 commit
    • Nick Wellnhofer's avatar
      Fix doc/examples/index.py · b9b4b6b5
      Nick Wellnhofer authored
      In my previous commit that silenced some test output I didn't realize
      that doc/examples/Makefile.am was autogenerated.
      
      Also make index.py output deterministic by sorting the glob results.
      b9b4b6b5
  3. 08 Sep, 2012 1 commit
  4. 06 Aug, 2012 1 commit
    • Daniel Richard G's avatar
      Various "make distcheck" and portability fixups · 5706b6d8
      Daniel Richard G authored
      Makefile.am:
      
      * 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
         pass
      
      configure.in:
      
      * 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
         implemented)
      
      * 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 !=
         srcdir
      
      doc/Makefile.am:
      
      * 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)
      
      doc/devhelp/Makefile.am:
      
      * Qualified appropriate files with $(srcdir)
      
      * Added an "uninstall-local" rule so that "make distcheck" passes
      
      doc/examples/Makefile.am:
      
      * Rather than use a wildcard that doesn't work, use a substitution that
         most Make programs can handle
      
      doc/examples/index.py:
      
      * Do the same here
      
      include/libxml/nanoftp.h:
      
      * 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)
      
      include/libxml/xmlversion.h.in:
      
      * Support ancient GCCs (I was actually able to build the library with 2.5
         but for this bit)
      
      python/Makefile.am:
      
      * Expanded CLEANFILES to allow "make distcheck" to pass
      
      python/tests/Makefile.am:
      
      * Define CLEANFILES instead of a "clean" rule, and added tmp.xml to allow
         "make distcheck" to pass
      
      testRelax.c:
      
      * Use HAVE_MMAP instead of the less explicit HAVE_SYS_MMAN_H (as some
         systems have the header but not the function)
      
      testSchemas.c:
      
      * Use HAVE_MMAP instead of the less explicit HAVE_SYS_MMAN_H
      
      testapi.c:
      
      * Don't use putenv() if it's not available
      
      threads.c:
      
      * 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
      
      trio.c:
      
      * Define isascii() if the system doesn't provide it
      
      trio.h:
      
      * 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
      
      win32/configure.js:
      
      * Added support for the LZMA compression option
      
      win32/Makefile.{bcb,mingw,msvc}:
      
      * 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
      
      xml2-config.in:
      
      * @MODULE_PLATFORM_LIBS@ (usually "-ldl") needs to be in there in order for
         `xml2-config --libs` to provide a complete set of dependencies
      
      xmllint.c:
      
      * Use HAVE_MMAP instead of the less-explicit HAVE_SYS_MMAN_H
      5706b6d8
  5. 30 Aug, 2008 1 commit
  6. 29 Aug, 2008 1 commit
  7. 08 Feb, 2008 1 commit
  8. 11 Jan, 2008 1 commit
  9. 05 Jan, 2006 1 commit
  10. 01 Apr, 2005 1 commit
    • Daniel Veillard's avatar
      revamped the elfgcchack.h format to cope with gcc4 change of aliasing · 5d4644ef
      Daniel Veillard authored
      * doc/apibuild.py doc/elfgcchack.xsl: revamped the elfgcchack.h
        format to cope with gcc4 change of aliasing allowed scopes, had
        to add extra informations to doc/libxml2-api.xml to separate
        the header from the c module source.
      * *.c: updated all c library files to add a #define bottom_xxx
        and reimport elfgcchack.h thereafter, and a bit of cleanups.
      * doc//* testapi.c: regenerated when rebuilding the API
      Daniel
      5d4644ef
  11. 15 Jan, 2005 1 commit
  12. 10 Nov, 2004 1 commit
  13. 21 Oct, 2004 1 commit
  14. 27 Jun, 2004 1 commit
    • Daniel Veillard's avatar
      hack based on Arjan van de Ven suggestion to reduce ELF footprint and · a2351322
      Daniel Veillard authored
      * elfgcchack.h doc/elfgcchack.xsl libxml.h: hack based on Arjan van de
        Ven suggestion to reduce ELF footprint and generated code. Based on
        aliasing of libraries function to generate direct call instead of
        indirect ones
      * doc/libxml2-api.xml doc/Makefile.am doc/apibuild.py: added automatic
        generation of elfgcchack.h based on the API description, extended
        the API description to show the conditionals configuration flags
        required for symbols.
      * nanohttp.c parser.c xmlsave.c include/libxml/*.h: lot of cleanup
      * doc/*: regenerated the docs.
      Daniel
      a2351322
  15. 18 Apr, 2004 1 commit
  16. 28 Mar, 2004 1 commit
  17. 26 Mar, 2004 2 commits
  18. 25 Mar, 2004 1 commit
  19. 04 Mar, 2004 1 commit
  20. 31 Jan, 2004 2 commits
  21. 25 Jan, 2004 1 commit
  22. 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
        dictionnary.
      * 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
      Daniel
      4773df2a
  23. 17 Dec, 2003 1 commit
  24. 05 Dec, 2003 1 commit
    • Daniel Veillard's avatar
      cleanup the make rebuild in doc, this include new directive to stop · 1e90661b
      Daniel Veillard authored
      * globals.c xmlwriter.c doc/apibuild.py include/libxml/globals.h
        include/libxml/pattern.h include/libxml/schemasInternals.h
        include/libxml/xmlexports.h include/libxml/xmlwriter.h: cleanup
        the make rebuild in doc, this include new directive to stop
        documentation warnings
      * doc/* doc/html/*: rebuilt the docs
      * pattern.c xmlreader.c include/libxml/pattern.h
        include/libxml/xmlreader.h: adding xmlTextReaderPreservePattern()
        to save nodes while scanning the tree with the reader, cleanup
        the way element were freed, and xmlTextReaderPreserve()
        implementation, the API might change for namespace binding support
        when compiling patterns.
      * doc/examples/*: added reader3.c exposing the xmlTextReaderPreserve()
      Daniel
      1e90661b
  25. 20 Nov, 2003 2 commits
  26. 19 Nov, 2003 1 commit
  27. 13 Nov, 2003 2 commits
  28. 12 Nov, 2003 3 commits
  29. 11 Nov, 2003 1 commit
    • Daniel Veillard's avatar
      less verbose on difference cleanup fixed xmlCleanupParser() doc work on · d8cf9061
      Daniel Veillard authored
      * check-xinclude-test-suite.py: less verbose on difference
      * libxml.spec.in: cleanup
      * parser.c: fixed xmlCleanupParser() doc
      * doc/Makefile.am doc/apibuild.py doc/libxml2-api.xml
        doc/examples/Makefile.am doc/examples/example1.c
        doc/examples/examples.xml doc/examples/index.py
        doc/examples/test1.xml: work on adding C examples and
        generating automated information about those. examples.xml
        is autogenerated describing the examples.
      * example/Makefile.am: cleanup
      Daniel
      d8cf9061