1
<?xml version="1.0" encoding="latin1" ?>
2
<!DOCTYPE chapter SYSTEM "chapter.dtd">
9
<holder>Ericsson AB, All Rights Reserved</holder>
12
The contents of this file are subject to the Erlang Public License,
13
Version 1.1, (the "License"); you may not use this file except in
14
compliance with the License. You should have received a copy of the
15
Erlang Public License along with this software. If not, it can be
16
retrieved online at http://www.erlang.org/.
18
Software distributed under the License is distributed on an "AS IS"
19
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
20
the License for the specific language governing rights and limitations
23
The Initial Developer of the Original Code is Ericsson AB.
26
<title>Tools Release Notes</title>
32
<p>This document describes the changes made to the Tools application.</p>
34
<section><title>Tools 2.6.2</title>
36
<section><title>Fixed Bugs and Malfunctions</title>
39
<p>A bug in the Xref scanner has been fixed.</p>
44
<p>A bug in Fprof where the function 'undefined' appeared
45
to call 'undefined' has been corrected.</p>
54
<section><title>Tools 2.6.1</title>
56
<section><title>Improvements and New Features</title>
59
<p>The documentation has been updated so as to reflect
60
the last updates of the Erlang shell as well as the minor
61
modifications of the control sequence <c>p</c> of the
62
<c>io_lib</c> module.</p> <p>Superfluous empty lines have
63
been removed from code examples and from Erlang shell
66
Own Id: OTP-6944 Aux Id: OTP-6554, OTP-6911 </p>
69
<p><c>tuple_size/1</c> and <c>byte_size/1</c> have been
70
substituted for <c>size/1</c>.</p>
75
<p>The coverage analysis tool <c>cover</c> now handles
76
the short-circuit Boolean expressions <c>andalso/2</c>
77
and <c>orelse/2</c> properly.</p>
86
<section><title>Tools 2.6</title>
88
<section><title>Fixed Bugs and Malfunctions</title>
92
The <c>cover</c> tool could use huge amounts of memory
93
when used in a distributed system.</p>
104
<title>Tools 2.5.5</title>
107
<title>Fixed Bugs and Malfunctions</title>
108
<list type="bulleted">
110
<p>Missing buffer-local declaration in erlang.el has been
111
added. Before this fix there could araise problems in
112
other emacs modes after visiting a buffer using the
114
<p>Own Id: OTP-6721</p>
117
<p>Key-map for 'backward-delete-char-untabif updated to work
118
proparly with Xemacs.</p>
119
<p>Own Id: OTP-6723</p>
125
<title>Improvements and New Features</title>
126
<list type="bulleted">
128
<p>Minor updates of Xref.</p>
129
<p>Own Id: OTP-6586</p>
132
<p>Minor Makefile changes.</p>
133
<p>Own Id: OTP-6689 Aux Id: OTP-6742 </p>
136
<p>"C-u C-c C-k" now does a compile with both "debug_info"
137
and "export_all".</p>
138
<p>Own Id: OTP-6741</p>
145
<title>Tools 2.5.4.1</title>
148
<title>Improvements and New Features</title>
149
<list type="bulleted">
151
<p>Changes due to internal interface changes in the erts
152
application which are needed at compile-time. No
153
functionality has been changed.</p>
154
<p>Own Id: OTP-6611 Aux Id: OTP-6580 </p>
161
<title>Tools 2.5.4</title>
164
<title>Fixed Bugs and Malfunctions</title>
165
<list type="bulleted">
167
<p>Made change to support the function erlang-find-tag for
168
xemacs and emacs-21.</p>
169
<p>Own Id: OTP-6512</p>
175
<title>Improvements and New Features</title>
176
<list type="bulleted">
178
<p>Minor updates of xref for future compatibility.</p>
179
<p>Own Id: OTP-6513</p>
186
<title>Tools 2.5.3</title>
189
<title>Fixed Bugs and Malfunctions</title>
190
<list type="bulleted">
192
<p><c>eprof</c> did not work reliably in the SMP emulator,
193
because the trace receiver process could not process the
194
trace messages fast enough. Therefore, <c>eprof</c> now
195
blocks the other schedulers while profiling.</p>
196
<p>Own Id: OTP-6373</p>
203
<title>Tools 2.5.2</title>
206
<title>Fixed Bugs and Malfunctions</title>
207
<list type="bulleted">
209
<p>Fprof traces could become truncated for the SMP emulator.
210
This bug has now been corrected.</p>
211
<p>Own Id: OTP-6246</p>
218
<title>Tools 2.5.1</title>
221
<title>Fixed Bugs and Malfunctions</title>
222
<list type="bulleted">
224
<p>eprof now works somewhat better in the SMP emulator.</p>
225
<p>Own Id: OTP-6152</p>
232
<title>Tools 2.5</title>
235
<title>Fixed Bugs and Malfunctions</title>
236
<list type="bulleted">
238
<p>Fixed some bugs in <c>make</c>:</p>
239
<p><c>make:files/1,2</c> can now handle a file in another
240
directory as argument, similar to <c>make:all/0,1</c>.</p>
241
<p>When specifying a file name including the <c>.erl</c>
242
extension in <c>Emakefile</c>, <c>make:all/0,1</c> looked
243
for the object code in the wrong place.</p>
244
<p>When specifying a file name including the <c>.erl</c>
245
extension in <c>Emakefile</c> and some compile options
246
for the file, <c>make:files/0,1</c> did not use the
247
options as it should do.</p>
248
<p>Own Id: OTP-6057 Aux Id: seq10299</p>
251
<p><c>cover</c>: When <c>cover:stop()</c> was called,
252
the cover compiled code was not unloaded (as stated in
253
the documentation) but simply marked as 'old'. This
254
meant that processes lingering in (or with funs
255
referencing to) the cover compiled code would survive
256
even when the cover server and its ETS tables was
258
<p>Now the cover compiled code is unloaded, meaning that
259
processes lingering in/with references to it will be
260
killed when <c>cover:stop</c> is called, instead of
261
later crashing with <c>badarg</c> when trying to bump
262
counters in ETS tables no longer existing.</p>
268
<title>Improvements and New Features</title>
269
<list type="bulleted">
271
<p>Replaced call to deprecated function
272
<c>file:file_info/1</c> with call to
273
<c>filelib:is_dir/1</c> and <c>filelib:is_regular/1</c>
274
in <c>tags.erl</c>.</p>
275
<p>Own Id: OTP-6079</p>
282
<title>Tools 2.4.7</title>
285
<title>Fixed Bugs and Malfunctions</title>
286
<list type="bulleted">
288
<p>A bug in <c>fprof</c> profiling causing erroneous
289
inconsistent trace failure has been corrected.</p>
290
<p>Own Id: OTP-5922 Aux Id: seq10203 </p>
297
<title>Tools 2.4.6</title>
300
<title>Fixed Bugs and Malfunctions</title>
301
<list type="bulleted">
303
<p>Emacs: <c>erlang-man-function</c> and
304
<c>erlang-man-module</c> used a pattern matching to find
305
the requested module that sometimes yielded unexpected
306
results. For example, <c>erlang-man-module file</c> would
307
display the man page for <c>CosFileTransfer_File</c>.</p>
308
<p>Own Id: OTP-5746 Aux Id: seq10096</p>
311
<p>Some compiler warnings and Dialyzer warnings were
312
eliminated in the Tools application.</p>
313
<p>When tracing to a port (which <c>fprof</c> does),
314
there could be fake schedule out/schedule in messages
315
sent for a process that had exited.</p>
316
<p>Own Id: OTP-5757</p>
323
<title>Tools 2.4.5</title>
326
<title>Fixed Bugs and Malfunctions</title>
327
<list type="bulleted">
329
<p>The cross reference tool <c>xref</c> did not handle the new
330
<c>fun M:F/A</c> construct properly. This problem has been
332
<p>Own Id: OTP-5653</p>
339
<title>Tools 2.4.4</title>
342
<title>Fixed Bugs and Malfunctions</title>
343
<list type="bulleted">
345
<p>The <c>cover</c> tool did not escape '<' and '>' not
346
beeing part of HTML tags in HTML log files.</p>
347
<p>Own Id: OTP-5588</p>
354
<title>Tools 2.4.3</title>
357
<title>Improvements and New Features</title>
358
<list type="bulleted">
360
<p>It is now possible to encrypt the debug information in
361
beam files, to help keep the source code secret. See
362
<c>compile(3)</c> for how to provide the key for encrypting,
363
and <c>beam_lib(3)</c> for how to provide the key for
364
decryption so that tools such as Debugger, <c>xref</c>, or
365
<c>cover</c> can be used.</p>
366
<p>The <c>beam_lib:chunks/2</c> functions now accepts an
367
additional chunk type '<c>compile_info</c>' to retrieve
368
the compilation information directly as a term. (Thanks
369
to Tobias Lindahl.)</p>
370
<p>Own Id: OTP-5460 Aux Id: seq9787</p>
377
<title>Tools 2.4.2</title>
380
<title>Fixed Bugs and Malfunctions</title>
381
<list type="bulleted">
383
<p>The <c>cover</c> tool could not analyze empty modules on
385
<p>Own Id: OTP-5418</p>
392
<title>Tools 2.4.1</title>
395
<title>Fixed Bugs and Malfunctions</title>
396
<list type="bulleted">
398
<p>The <c>xref</c> analysis <c>locals_not_used</c> could
399
return too many functions. This problem has been fixed.</p>
400
<p>Own Id: OTP-5071</p>
403
<p>The <c>cover</c> tool could not always compile parse
404
transformed modules. This problem has been fixed.</p>
405
<p>Own Id: OTP-5305</p>