1. 08 Jan, 2018 1 commit
  2. 08 Dec, 2017 1 commit
  3. 27 Nov, 2017 13 commits
  4. 14 Nov, 2017 5 commits
    • Nick Wellnhofer's avatar
      Don't touch CFLAGS in configure.ac · 8cb8e317
      Nick Wellnhofer authored
      CFLAGS shouldn't be touched by configure.ac. The variable is supplied by
      the user and must come after other flags, so flags like warning options
      can be overridden.
      Rename CFLAGS to EXTRA_CFLAGS and add the value to AM_CFLAGS. This also
      makes it possible to override flags for each Automake program or library.
    • Nick Wellnhofer's avatar
      Fix callback signature in testapi.c · 00859f91
      Nick Wellnhofer authored
    • Nick Wellnhofer's avatar
      Ignore function pointer cast warnings · 13acadbb
      Nick Wellnhofer authored
      Use GCC pragmas as these warnings are enabled by -Wpedantic and there's
      no way to disable them selectively.
    • Nick Wellnhofer's avatar
      Simplify XPath NaN, inf and -0 handling · 8813f397
      Nick Wellnhofer authored
      Use C99 macros NAN, INFINITY, isnan, isinf. If they're not available:
      - Assume that (0.0 / 0.0) generates a NaN and !(x == x) tests for NaN.
      - Use C89's HUGE_VAL for INFINITY.
      Remove manual handling of NaN, infinity and negative zero in functions
      xmlXPathValueFlipSign and xmlXPathDivValues.
      Remove xmlXPathGetSign. All the tests for negative zero can be replaced
      with a test for negative or positive zero.
      Simplify xmlXPathRoundFunction.
      Remove Trio dependency.
      This should work on IEEE 754 compliant implementations even if the C99
      macros aren't available, but will likely break some ancient platforms.
      If problems arise, my plan is to port the relevant trionan.c solution
      to xpath.c. Note that non-compliant implementations are impossible
      to fully support, anyway, since XPath requires IEEE 754.
    • Nick Wellnhofer's avatar
      Revert "Compile testapi with -Wno-unused-function" · 86182390
      Nick Wellnhofer authored
      This reverts commit f404c4f5.
      The change broke non-GCC compilers.
  5. 09 Nov, 2017 7 commits
  6. 04 Nov, 2017 4 commits
  7. 02 Nov, 2017 1 commit
    • Daniel Veillard's avatar
      Release of libxnl2-2.9.7 · bc5a5d65
      Daniel Veillard authored
      * configure.ac doc/news.html : update for release
      * doc/news.html doc/xmlcatalog.1 doc/xmlcatalog_man.html: regenerated
  8. 24 Oct, 2017 2 commits
  9. 21 Oct, 2017 6 commits
    • Jan Pokorný's avatar
      xmlcatalog: restore ability to query system catalog easily · 6b780f65
      Jan Pokorný authored
      I've noticed that easy way of locating a DocBook XSLT in a configure
      script of another project doesn't work anymore.  It is using something
      like: xmlcatalog "" ${DOCBOOK_XSL_URI}/${DOCBOOK_XSL_PATH}.  The script
      is then forced to a plain, suboptimal search using find utility.
      Indeed, I retrospectively realize that the check was working just
      by mere accident given that the window this presumably side-effect
      was applicable had not lasted long, some 8 months between
      introducing xmlInitializeCatalog in the LIBXML_TEST_VERSION-rooted
      call chain, and
      reverting that again.
      So while one can state /etc/xml/catalog constant explicitly, in
      some use cases (such as the mentioned one -- that's why I wanted
      to omit stating the full path in the first place), this is rather
      an implementation detail, perhaps subject to change from that POV.
      Therefore I propose to restore that behaviour in the targeted
      manner without global disruptions this time around.
      As a side-effect, this fixes indenting of the affected part.
    • Nick Wellnhofer's avatar
      Fix mixed decls and code in timsort.h · 5e986e3b
      Nick Wellnhofer authored
    • Nick Wellnhofer's avatar
      Fix deprecated Travis compiler flag · cfa912dd
      Nick Wellnhofer authored
    • Nick Wellnhofer's avatar
      Rework handling of return values in thread tests · cf820462
      Nick Wellnhofer authored
      Pass a struct to each thread that contains the filename and the return
      value. This avoids casting a DWORD to a pointer on Windows.
    • J. Peter Mugaas's avatar
      Add declaration for DllMain · f05af837
      J. Peter Mugaas authored
      Fixes a compiler warning.
    • J. Peter Mugaas's avatar
      Fix preprocessor conditional in threads.h · 882a165a
      J. Peter Mugaas authored
      Make sure that the preprocessor conditions and types for xmlDllMain
      match exactly in threads.h and threads.c.