2001-06-06 20:40:57 +01:00
|
|
|
=================================================================
|
|
|
|
Logtalk - Object oriented extension to Prolog
|
2005-08-08 13:13:45 +01:00
|
|
|
Release 2.25.1
|
2001-06-06 20:40:57 +01:00
|
|
|
|
2005-01-13 12:22:42 +00:00
|
|
|
Copyright (c) 1998-2005 Paulo Moura. All Rights Reserved.
|
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
|
|
|
|
|
|
|
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.
|