root/tags/lgt2220/UPGRADING

Revision 1741, 4.5 KB (checked in by pmoura, 4 years ago)

Corrected typo.

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