root/tags/lgt2171/UPGRADING

Revision 1031, 3.7 KB (checked in by pmoura, 4 years ago)

Added note on removed list predicate nth/3.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1=================================================================
2Logtalk - Object oriented extension to Prolog
3Release 2.17.1
4
5Copyright (c) 1998-2004 Paulo Moura.  All Rights Reserved.
6=================================================================
7
8
9
10Upgrading from Logtalk 1.x
11==========================
12
13Logtalk 2.x is not compatible with programs written for version 1.x.
14However, you should be able to translate most programs to make them
15run under this new version. Most of the examples provided with previous
16versions have been rewritten to run under version 2.x. Use them as
17translation examples.
18
19
20Upgrading from a previous Logtalk 2.x version
21=============================================
22
23If your Logtalk programs depend on some of the example files, it is
24advisable that you check your code against the new version before
25throwing away the older release.
26
27Logtalk source files will need to be recompiled because of the changes
28done in the version 2.5.0 to improve message sending performance.
29
30Logtalk version 2.7.0 provides the first cut of the Logtalk standard library.
31Most examples have been rewritten to take advantage of the library.
32
33Logtalk version 2.8.0 introduces a small change on the logtalk_compile/1-2
34and logtalk_load/1-2 predicates that may imply updating your loader utility
35files: the first argument is now always a list of entities even if we want
36to compile or load a single entity.
37
38Logtalk version 2.9.0 changes compiled code functors postfixes from "_sdcl"
39and "_sdef" to  "_idcl" and "_idef", implying recompilation of all objects,
40protocols, and categories.
41
42Logtalk version 2.10.0 changes some of the semantics of object dynamic
43predicates. See the release notes for a description of the changes.
44
45Logtalk version 2.14.4 removes the definition of the deprecated built-in
46predicate logtalk_version/3 (use current_logtalk_flag/3 instead).
47
48Logtalk version 2.14.5 changes compiled code in order to correct a bug
49where sending messages such as true/0 to an unknown object will succeeded
50instead of throwing the expected exception, implying recompilation of all
51objects, protocols, and categories.
52
53Logtalk version 2.14.7 changes compiled code in order to optimize the
54code generated by the compilation of dynamic predicate clauses.
55
56Logtalk version 2.15.0 changes the "authors" key in  the directive info/1 to
57"author". All the XSLT, DTD, and XSD files have been update to conform to
58this change. If you use the directive info/1 in your programs, you will need
59to apply this change to take advantage of automatic generation of documenting
60files.
61
62Logtalk version 2.15.3 changes the format of the runtime entity tables,
63implying recompilation of all objects, protocols, and categories.
64
65Logtalk version 2.15.6 renamed the compiler option "named_anonymous_vars" to
66"underscore_vars" and changed the possible option values form "on/off" to
67"dont_care/singletons".
68
69Logtalk 2.16.0 improves support for the declaration and use of operators
70local to objects and categories. Recompilation of any objects and categories
71containing operator declarations is needed in order to take advantage of the
72improvements made.
73
74Logtalk 2.16.1 now checks for attempts to redefined built-in Logtalk control
75constructs when compiling source files. These checks may generate compilation
76errors on files containing bugs that are not detected on previous versions of
77the compiler.
78
79Logtalk version 2.16.2 changed the possible option values of the read-only
80compiler option "startup_message" to "none", "banner", and "flags". Default
81value is "flags" (print both banner and default flag values).
82
83Logtalk version 2.17.1 removes predicate nth/3 from library entities listp,
84list, and difflist (replaced by the predicates nth0/3 and nth1/3).
Note: See TracBrowser for help on using the browser.