1. 22 Jan, 2018 1 commit
  2. 08 Jan, 2018 3 commits
  3. 08 Dec, 2017 1 commit
  4. 27 Nov, 2017 13 commits
  5. 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.
      8cb8e317
    • Nick Wellnhofer's avatar
      Fix callback signature in testapi.c · 00859f91
      Nick Wellnhofer authored
      00859f91
    • 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.
      13acadbb
    • 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.
      8813f397
    • 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.
      86182390
  6. 09 Nov, 2017 7 commits
  7. 04 Nov, 2017 4 commits
  8. 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
      bc5a5d65
  9. 24 Oct, 2017 2 commits
  10. 21 Oct, 2017 3 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
      
        054c716e
      
      introducing xmlInitializeCatalog in the LIBXML_TEST_VERSION-rooted
      call chain, and
      
        f65128f3
      
      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.
      6b780f65
    • Nick Wellnhofer's avatar
      Fix mixed decls and code in timsort.h · 5e986e3b
      Nick Wellnhofer authored
      5e986e3b
    • Nick Wellnhofer's avatar
      Fix deprecated Travis compiler flag · cfa912dd
      Nick Wellnhofer authored
      cfa912dd