Did you know ... Search Documentation:
Title for pldoc(default)
Branch: development (switch to stable),
version to version

SWI-Prolog Changelog from version 8.1.26 to 8.1.27

[Apr 4 2020]

  • FIXED: Possible wrong NaN from the nexttoward/1 function.
  • PORT: 1.0**NaN is not always 1.0 in all C versions.

[Apr 3 2020]

  • MODIFIED: float_fractional_part/1 and float_integer_part/1 functions to return standard NaN (fix) or raise an exception if float_undefined is set to error.
  • INSTALL: When installing tests, add them to the optional component "Tests"
  • TEST: Fixed test thread/thr_local_1.pl.
  • FIXED: Ensure we have a universal NaN that is 1.5NaN. This test failed on mipsel.
  • TEST: Fixed test_clause_gc.pl test as this can run out of stack since we combine the stacks.
  • TEST: Provide test_tmp_dir search path when running installed tests such that they can run without writing in the test directory.
  • TEST: remove protocol(x) from thread_agc test.
  • DOC: Provide pldoc_to_tex flag when generating LaTeX, so code can decide to avoid loading dependencies that may not be present.

[Apr 2 2020]

  • PORT: Replace GCC __sync_* functions by more recent __atomic_* primitives to improve portability.
  • DOC: PL_initialise() referred to old libpl.dll. Gerhard Groehner.
  • ENHANCED: Use temporary allocation for buffers and discard large buffers when making them empty.
  • ENHANCED: Use new tmp_malloc() for segstacks (used as temporary store for many operations that iterate over complex terms).

[Mar 31 2020]

  • CLEANUP: No longer allocate array for built-in atoms. This array is no longer used (saves 85Kbytes memory).
  • INSTALL: Added CMake option SWIPL_INSTALL_IN_SHARE=ON to install architecture indepedent files in <prefix>/share/swipl/. Currently only used for the documentation and examples. Future versions may also place the library here. Lev Lamberov, Debian maintainer.

[Mar 30 2020]

[Mar 29 2020]

[Mar 27 2020]

  • FIXED: Stack alloc statistics
  • ENHANCED: Use new mmap() based allocation more generally for large temporary allocations. Currently used by findall/3 and friends. There are more candidates where this can help, such as buffers and stacks for cycle detection, enumerating large terms, etc.
  • BUILD: Install the manual index as part of the documentation installation. Lev Lamberov.
  • ENHANCED: Use mmap() based allocation for the stacks such that we can release these to the OS if we use an allocator that is not well suited for huge temporary stack allocations.

[Mar 26 2020]

[Mar 25 2020]

  • ADDED: check_installation/0: check for tcmalloc.
  • PORT: Make tcmalloc setup work on MacOS. Signalled by Paulo Moura.
  • PORT: Use our internal PL_dlsym() and work without tcmalloc
  • ADDED: thread_idle/2 and, when linked to tcmalloc, malloc_property/1 and set_malloc/1.
  • ADDED: Detect tcmalloc() and link swipl using this if provided.
  • PORT: Added CMake script to find tcmalloc

Package archive

[Apr 3 2020]

  • BUILD: Doc build depends on package itself.

Package bdb

[Apr 3 2020]

  • TEST: use test_tmp_dir to find a writeable place for the test output.
  • FIXED: If a database cannot be opened it is still around as a current database and closing it (explicitly or at the end of the process) crashes.

Package clib

[Mar 28 2020]

  • PORT: Another use of `extern environ` that blocks MacOS 10.6.

Package http

[Apr 3 2020]

  • DOC: Avoid building docs to load SSL

[Mar 29 2020]

Package pcre

[Mar 26 2020]

Package semweb

[Apr 3 2020]

  • TEST: Avoid creating g1.rec for a normal test run.

[Apr 2 2020]

  • PORT: Use GCC __atomic instructions.

Package ssl

[Apr 1 2020]

  • TEST: Recreate the test certificates with 2048 bit keys since later versions of Debian (at least) will no longer accept 1024-bit keys
  • FIXED: Timeout handling with OpenSSL 1.1.1e and later. Resolved by Matt Lilley.

[Mar 28 2020]

  • TEST: Document failing server test when using OpenSSL 1.1.1e

[Mar 27 2020]

  • FIXED: ssl_context/3: declare new cacerts option
  • ENHANCED: avoid blocking if the SSL server tests fails.
  • TEST: Cleanup test module (unneeded path handling, redundant newlines in debug/3 messages).

Package zlib

[Apr 3 2020]

  • TEST: Search for a writable directory for test_tmp_dirthe test files based on the (new) test_tmp_dir path alias.