Ann: SWI-Prolog 6.6.2

Jan Wielemaker <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
Hi,

I have uploaded SWI-Prolog 6.6.2 in the stable stream. This version
mostly fixes stability issues and updated a number of packages to the
latest version.  I expect 6.6.2 to be the last 6.6 release.  Highlights:

   * Kernel issues: Windows stdio handling, GC crash related to Goal@Var,
     Atom-GC crash that notably triggers on slow single core hardware
     (e.g., arm systems).

   * Various fixes to alarm handling

   * Updated HTTP libraries.  Some small additions, some cleanup of the
     interfaces (adding new, deprecating old).  Mostly small stuff.

   * ODBC: Better type handling (int32 and Unicode VARCHAR).

   * Semweb (RDF).  Added nquad support, fixed various bugs in the
     Turtle parser.  Small stuff.

   * Fixed a crash loading HTML5 using the XML parser.  Various small
     stuff.

   * SSL: fixed crash, memory leaks and portability issues.

   * IDE: better handling of IDE-in-a-thread, support %! PlDoc syntax.

Thanks for reporting bugs and submitting patches!

	Enjoy --- Jan


========================================
SWI-Prolog Changelog since version 6.6.1
========================================

  * FIXED: Only wrap the console if input, output and error are attached
    to a console.

  * PORT: Fixed winsock2.h include

  * PORT: Fixed Windows identification of console I/O using GetFileType().

  * MODIFIED: Only enable colour I/O if stdin, out and error are attached
    to a terminal.  If you want colour anyway, load library(ansi_term)
    explicitly.

  * FIXED: Possible crash in GC related to Goal@Var.  Keri Harris.

  * FIXED: Possible crash resulting from
    786402392f3ff2c7d68db9c81b22cf304e4b4153

  * FIXED: Avoid getting into the GMP danger zone with
    exponentiation. Ulrich Neumerkel.

  * FIXED: suboptimal deletion procedure in heaps Made heap operations
    run orders of magnitude slower than they should.

  * FIXED: avoid possible race during atom GC when findall/3 results are
    being collected

  * FIXED: Bug#142: Atom-GC crash related to findall/3.  Hard to trigger,
    except when using slow single core hardware.  Thanks to Eugeniy
    Meshcheryakov and Keri Harris for finding this and helping.

  * TEST: Some more test output stream issues

  * TEST: Some more writing to user_error.  Eugeniy Meshcheryakov.

  * TEST: Min test script (src/test.pl) now sends all progress to
    =user_error= instead of =user_output=.

  * FIXED: Consistent handling of end-of-clause when reading from strings.



===============
Package archive
===============

  * FIXED: archive ordering using compare

============
Package clib
============

  * MODIFIED: uri_is_global/1 fails for a single-letter scheme.
    This avoids misinterpretation of DOS path names.

  * FIXED: Removing pending alarms on thread exit could loop.

  * DOC: Document the fact that alarms are thread-specific

  * FIXED: Remove alarms related to a thread if the thread terminates.


============
Package http
============

  * FIXED: Conditionally load code that depends on is_dict/1

  * FIXED: Json convert rule ordering if last properties are ignored.

  * UPDATED: library(mimetype): Mime type for Turtle, added n-triples
    and nquads.

  * ADDED: setting http:prefix to library(http/http_path).  Fixes
    undocumented dependencies on ClioPatria.

  * ADDED: Bug#159: http_open/3: support for method(put).  Raivo Laanemets

  * ENHANCED: Do not print somewhat alarming messages on normal termination
    of HTTP handler threads.

  * CLEANUP: Use new functionality from library(http/http_host).
    Deprecate redundant predicates.

  * ADDED: library(http/http_host): http_public_url/2,
    http_public_host_url/2, ttp_public_host/4 Deprecated
    http_current_host/4.

  * DOC: Add PlDoc module comments to remaining files.

  * FIXED: Type error when computing the layout of a JSON term that embeds
    dicts in a list.

  * FIXED: json_write_dict/3: handling of the option tag(Name)

  * ADDED: directory_index//2 to library(http/http_dirindex) to allow
    for embedded listings. Also added options for sorting files.

  * ADDED: library(http_dirindex): pass page style dir_index(Dir, Title)
    to allow for styling the page.

  * FIXED: Parsing of "Status NNN Comment" from CGI replies.

  * ADDED: library(http/http_json) to deal with dicts

  * ADDED: library(http/json): json_read_dict/2,3, json_write_dict/2,3
    and atom_json_dict/3, to support JSON I/O using version 7 extended
    types dict and string.

  * ADDED: json_write/3: support dict as representation for JSON objects.

  * FIXED: Only redirect on a Location header if there is no Status or
    Status = 3XX.

  * ADDED: reply_json/3: a status(Code) option to force status replies
    other than 200.  Discussed with Wouter Beek.

  * ADDED: Allows passing status(Code) as extra header info to HTTP
    replies. The given code overrules the default code given with the
    action.

  * MODIFIED: Process the CGI Status: Code header to a numeric HTTP code.

  * ADDED: http_link_to_id/3: allow parameter as `file' of path.

  * ADDED: openid_current_url/2 to get the OpenID library's idea about
    the global server location.

  * ADDED: html_current_resource/1 to allow for conditional dependencies

===============
Package ltx2htm
===============

  * ADDED: \nodcgref{name}{arity}

  * ADDED: Translate \includegraphics for image file formats

  * ENHANCED: Better footnotes.  Anne Ogborn

===========
Package nlp
===========

  * ADDED: Sandbox declarations

============
Package odbc
============

  * FIXED: map nvarchar Prolog type to SQL_WVARCHAR SQL type

  * ENHANCED: support reading from nvarchar(max) database columns

  * FIXED: restrict SQLINTEGER prepared statement parameters to 32 bit
    integers

=============
Package pldoc
=============

  * FIXED: Update links in the manual when viewed through pldoc.
    Anne Ogborn.

==============
Package semweb
==============

  * DOC: Avoid misinterpretation of <prefix>:<local>

  * FIXED: Bug#160: rdf_load_library/2 claims non-existence of URLs.

  * FIXED: Turtle parser on """"\"""" (should read '""')

  * DOC: Updated docs to add a new index.  Haitao Zhang.

  * FIXED: Include <assert.h>

  * FIXED: EOF cannot appear in an IRIREF.  Wouter Beek

  * FIXED: rdf_meta/1: pass non-compliant arguments verbatim instead of
    failing the expansion.

  * ADDED: library(semweb/rdf_ntriples): Support nquads format.

  * DELETED: rdf_db:rdf_input/3 hook that was used by old ClioPatria
    versions. Please upgrade ClioPatria if this hits you.

  * MODIFIED: rdf_load/2: default graph for loading RDF from an URL now
    normalizes the URL and removes a possible #fragment.  This ensures
    that rdf_load/2 for e.g., skos:Concept and skos:prefLabel load the
    same graph.

  * DOC: rdf_load/2 updates

  * MODIFIED: Load a TRiG file into a single graph if the format =turtle=
    is explicitly specified.

  * ADDED: Sandbox declarations

  * FIXED: Turtle parser: allow last statement to end in EOF.  Wouter Beek.

  * ADDED: Extend library(semweb/rdf_http_plugin) to support
    library(http/http_ssl_plugin), so that we can load RDF directly from
    https servers.

============
Package sgml
============

  * FIXED: sgml_parse/2 using parse(content) if a `end` callback is
    defined.

  * FIXED: Default charset of HTML5 files is UTF-8

  * DOC: load_html/3.

  * MODIFIED: HTML5 DTD to accommodate RDFa attributes.

  * DOC: \verb$ error

  * ENHANCED: Added type checking on element content instead of using
    assertion/1.  Alan Baljeu.

  * FIXED: Crash when loading implicit DTD.  Occurs when loading HTML5
    using load_xml/3.

===========
Package ssl
===========

  * FIXED: possible crash when validating SSL context role

  * FIXED: Various memory leaks.  SSL contexts are now reclaimed by the
    garbage collector.  Implemented by Matt Lilley.

  * PORT: Check for fcntl.h and unistd.h in configure

============
Package xpce
============

  * ADDED: Support for using the %! comment syntax

  * FIXED: Menu entries to edit Prolog customization file.  Bob Minors.

  * FIXED: Wrap many toplevel goals accessing the GUI in in_pce_thread/1.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.