2007-06-12 11:39:47 +01:00
|
|
|
================================================================
|
|
|
|
Logtalk - Open source object-oriented logic programming language
|
2007-06-24 14:27:35 +01:00
|
|
|
Release 2.30.2
|
2001-06-06 20:40:57 +01:00
|
|
|
|
2007-01-10 12:46:10 +00:00
|
|
|
Copyright (c) 1998-2007 Paulo Moura. All Rights Reserved.
|
2007-06-12 11:39:47 +01:00
|
|
|
================================================================
|
2001-06-06 20:40:57 +01:00
|
|
|
|
|
|
|
|
|
|
|
Upgrading from Logtalk 1.x
|
|
|
|
==========================
|
|
|
|
|
2005-08-08 13:13:45 +01:00
|
|
|
Logtalk 2.x is not compatible with programs written for Logtalk 1.x.
|
2001-06-06 20:40:57 +01:00
|
|
|
However, you should be able to translate most programs to make them
|
2005-08-08 13:13:45 +01:00
|
|
|
run under Logtalk 2.x. Most of the examples provided with Logtalk 1.x
|
|
|
|
have been rewritten to run under Logtalk 2.x. You may use them as
|
2001-06-06 20:40:57 +01:00
|
|
|
translation examples.
|
|
|
|
|
|
|
|
|
2005-08-08 13:13:45 +01:00
|
|
|
Upgrading from a previous Logtalk 2.x versions
|
|
|
|
==============================================
|
2001-06-06 20:40:57 +01:00
|
|
|
|
2006-11-07 18:11:49 +00:00
|
|
|
Changes in the Logtalk compiler between releases may render Prolog config
|
|
|
|
files from older versions incompatible with new ones. You may need to update
|
|
|
|
your local Logtalk user files by running e.g. the "cplgtdirs" shell script.
|
|
|
|
|
2001-06-06 20:40:57 +01:00
|
|
|
If your Logtalk programs depend on some of the example files, it is
|
|
|
|
advisable that you check your code against the new version before
|
|
|
|
throwing away the older release.
|
|
|
|
|
|
|
|
Logtalk source files will need to be recompiled because of the changes
|
|
|
|
done in the version 2.5.0 to improve message sending performance.
|
|
|
|
|
|
|
|
Logtalk version 2.7.0 provides the first cut of the Logtalk standard library.
|
|
|
|
Most examples have been rewritten to take advantage of the library.
|
|
|
|
|
|
|
|
Logtalk version 2.8.0 introduces a small change on the logtalk_compile/1-2
|
|
|
|
and logtalk_load/1-2 predicates that may imply updating your loader utility
|
|
|
|
files: the first argument is now always a list of entities even if we want
|
2002-01-07 22:59:00 +00:00
|
|
|
to compile or load a single entity.
|
|
|
|
|
|
|
|
Logtalk version 2.9.0 changes compiled code functors postfixes from "_sdcl"
|
2004-03-03 04:07:59 +00:00
|
|
|
and "_sdef" to "_idcl" and "_idef", implying recompilation of all objects,
|
2002-01-07 22:59:00 +00:00
|
|
|
protocols, and categories.
|
2002-04-03 14:26:59 +01:00
|
|
|
|
|
|
|
Logtalk version 2.10.0 changes some of the semantics of object dynamic
|
|
|
|
predicates. See the release notes for a description of the changes.
|
2002-11-04 21:29:14 +00:00
|
|
|
|
2004-03-03 04:07:59 +00:00
|
|
|
Logtalk version 2.14.4 removes the definition of the deprecated built-in
|
2002-11-04 21:29:14 +00:00
|
|
|
predicate logtalk_version/3 (use current_logtalk_flag/3 instead).
|
2002-12-20 02:06:55 +00:00
|
|
|
|
|
|
|
Logtalk version 2.14.5 changes compiled code in order to correct a bug
|
|
|
|
where sending messages such as true/0 to an unknown object will succeeded
|
2004-03-03 04:07:59 +00:00
|
|
|
instead of throwing the expected exception, implying recompilation of all
|
2002-12-20 02:06:55 +00:00
|
|
|
objects, protocols, and categories.
|
2003-01-09 21:29:22 +00:00
|
|
|
|
|
|
|
Logtalk version 2.14.7 changes compiled code in order to optimize the
|
|
|
|
code generated by the compilation of dynamic predicate clauses.
|
2003-02-05 00:15:28 +00:00
|
|
|
|
|
|
|
Logtalk version 2.15.0 changes the "authors" key in the directive info/1 to
|
|
|
|
"author". All the XSLT, DTD, and XSD files have been update to conform to
|
|
|
|
this change. If you use the directive info/1 in your programs, you will need
|
|
|
|
to apply this change to take advantage of automatic generation of documenting
|
|
|
|
files.
|
2003-06-26 15:52:54 +01:00
|
|
|
|
|
|
|
Logtalk version 2.15.3 changes the format of the runtime entity tables,
|
2004-03-03 04:07:59 +00:00
|
|
|
implying recompilation of all objects, protocols, and categories.
|
2004-02-09 14:18:27 +00:00
|
|
|
|
2005-02-10 00:02:06 +00:00
|
|
|
Logtalk version 2.15.6 renamed the compiler flag "named_anonymous_vars" to
|
2004-02-09 14:18:27 +00:00
|
|
|
"underscore_vars" and changed the possible option values form "on/off" to
|
|
|
|
"dont_care/singletons".
|
2004-03-03 04:07:59 +00:00
|
|
|
|
|
|
|
Logtalk 2.16.0 improves support for the declaration and use of operators
|
|
|
|
local to objects and categories. Recompilation of any objects and categories
|
2004-03-23 17:51:43 +00:00
|
|
|
containing operator declarations is needed in order to take advantage of the
|
2004-03-03 04:07:59 +00:00
|
|
|
improvements made.
|
2004-04-02 15:39:36 +01:00
|
|
|
|
|
|
|
Logtalk 2.16.1 now checks for attempts to redefined built-in Logtalk control
|
|
|
|
constructs when compiling source files. These checks may generate compilation
|
|
|
|
errors on files containing bugs that are not detected on previous versions of
|
|
|
|
the compiler.
|
|
|
|
|
|
|
|
Logtalk version 2.16.2 changed the possible option values of the read-only
|
2005-02-10 00:02:06 +00:00
|
|
|
compiler flag "startup_message" to "none", "banner", and "flags". Default
|
2004-04-02 15:39:36 +01:00
|
|
|
value is "flags" (print both banner and default flag values).
|
2004-06-06 23:46:45 +01:00
|
|
|
|
|
|
|
Logtalk version 2.17.1 removes predicate nth/3 from library entities listp,
|
|
|
|
list, and difflist (replaced by the predicates nth0/3 and nth1/3).
|
2004-08-16 17:41:11 +01:00
|
|
|
|
|
|
|
Logtalk version 2.20.0 updates the semantics of the uses/1 entity directive
|
|
|
|
to accept as argument a single object identifier (this change is needed in
|
|
|
|
order to ensure compatibility with the new uses/2 predicate directive).
|
2004-10-17 23:37:16 +01:00
|
|
|
|
|
|
|
Logtalk version 2.21.2 adds a new clause to the code generated when compiling
|
|
|
|
entity in order to support the new alias/1 predicate property, implying
|
|
|
|
recompilation of all objects, protocols, and categories.
|
2004-11-29 20:36:31 +00:00
|
|
|
|
|
|
|
Logtalk version 2.22.0 adds support for using the notation <library>(<file>)
|
|
|
|
when compiling and loading source files. Logtalk applications using this new
|
|
|
|
notation will need to be modified in order to run in previous Logtalk versions.
|
|
|
|
In addition, the exceptions generated by the predicates logtalk_compile/1-2
|
|
|
|
and logtalk_load/1-2 have been updated to take into account this new feature.
|
2004-12-25 03:06:18 +00:00
|
|
|
|
|
|
|
Logtalk version 2.22.2 adds stricter checking for the documenting directives
|
|
|
|
(info/1 and info/2), which can lead to compilation errors on entities which
|
|
|
|
compiled successfully on previous Logtalk versions.
|
2005-02-10 00:02:06 +00:00
|
|
|
|
|
|
|
Logtalk version 2.22.5 adds new predicates to all config files (consult the
|
|
|
|
release notes for details). If you are using custom config files, be sure to
|
|
|
|
update them by coping the definition of the new predicates.
|
2005-03-06 21:19:09 +00:00
|
|
|
|
|
|
|
Logtalk version 2.23.0 features new, optimized implementations of the database
|
2005-05-24 00:33:41 +01:00
|
|
|
built-in methods, implying the recompilation of all objects, protocols, and
|
|
|
|
categories.
|
|
|
|
|
|
|
|
Logtalk version 2.25.0 drops support for source metafiles and .mlgt file name
|
2005-08-08 13:13:45 +01:00
|
|
|
extension as this version features a new, file-based compiler supporting the
|
2005-05-24 00:33:41 +01:00
|
|
|
definition of any number of entities in a single file. Older code using source
|
|
|
|
metafiles will need to rename the file name extensions from .mlgt to .lgt.
|
2005-08-08 13:13:45 +01:00
|
|
|
|
|
|
|
Logtalk version 2.25.1 updates the compiler to generate XML documenting files
|
|
|
|
whose names always contain the arity of the entity identifier appended at the
|
|
|
|
end (using the format "_arity"). This change implied updates to the lgt2xml.*
|
|
|
|
and lgt2html.* shell scripts which render them incompatible with the XML files
|
|
|
|
generated by previous Logtalk versions.
|
2006-02-10 17:44:05 +00:00
|
|
|
|
|
|
|
Logtalk version 2.27.0 changes representation of declared predicates in order
|
|
|
|
to support the new predicate property non_terminal/1, implying recompilation
|
|
|
|
of all objects, protocols, and categories.
|
2006-03-26 18:31:34 +01:00
|
|
|
|
|
|
|
Logtalk version 2.27.1 optimizes the generation of predicate definition and
|
|
|
|
declaration linking clauses, resulting in small performance improvements and
|
|
|
|
in space savings for the Prolog code generated when compiling Logtalk entities.
|
|
|
|
Recompilation of all objects, protocols, and categories is necessary in order
|
|
|
|
to take advantage of this optimizations.
|
2006-11-07 18:11:49 +00:00
|
|
|
|
|
|
|
Logtalk 2.28.0 changes representation of meta-predicates, implying the
|
|
|
|
recompilation of all objects, protocols, and categories that define them.
|
|
|
|
In addition, in order to close some security holes where meta-predicates
|
|
|
|
could be used to bypass predicate scope declarations, meta-predicates that
|
|
|
|
use closures must be re-implemented to use the new call/N Logtalk built-in
|
|
|
|
predicate. The directive metapredicate/1 is now deprecated, the directive
|
|
|
|
meta_predicate/1 should be used instead. There are also changes to the
|
2006-12-28 13:03:34 +00:00
|
|
|
config files that render the Logtalk runtime incompatible with the config
|
2006-11-07 18:11:49 +00:00
|
|
|
files of previous versions.
|
2006-12-28 13:03:34 +00:00
|
|
|
|
|
|
|
Logtalk 2.29.0 makes some incompatible changes to the experimental support
|
|
|
|
for multi-threading programming that may imply updating any application that
|
|
|
|
uses the multi-threading predicates. The default value of the compiler flag
|
|
|
|
events/1 is now off. Applications using event-driven programming must either
|
|
|
|
turn this flag on or compile source files with the events(on) option. The
|
|
|
|
library protocol "event_handlersp" is now deprecated; new code should use
|
|
|
|
instead the built-in "monitoring" protocol. The new support for "threaded"
|
2007-02-19 18:58:28 +00:00
|
|
|
and "synchronized" entity properties implies recompilation of all objects
|
|
|
|
and categories.
|
2007-01-10 12:46:10 +00:00
|
|
|
|
|
|
|
Logtalk 2.29.2 removes the built-in predicate threaded_discard/1.
|
2007-03-28 23:44:31 +01:00
|
|
|
|
|
|
|
Logtalk 2.29.5 adds a new compiler option, "reload", whose default value is
|
|
|
|
defined in the config files. This makes previous config files incompatible
|
|
|
|
with this new Logtalk version.
|
2007-06-12 11:39:47 +01:00
|
|
|
|
|
|
|
Logtalk 2.30.0 adds two new compiler options, "xmldir" and "tmpdir", allowing
|
|
|
|
a per-project definition of directories for storing XML documenting files and
|
|
|
|
for storing intermediate compilation files (e.g. Prolog files). Removed from
|
|
|
|
the config files the predicate '$lgt_alt_directory'/2. Older config files are
|
|
|
|
incompatible with this new Logtalk version.
|