File: notes_history.html

package info (click to toggle)
erlang-doc-html 1%3A11.b.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 23,284 kB
  • ctags: 10,724
  • sloc: erlang: 505; ansic: 323; makefile: 62; perl: 61; sh: 45
file content (580 lines) | stat: -rw-r--r-- 14,149 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- This document was generated using DocBuilder 3.3.3 -->
<HTML>
<HEAD>
  <TITLE>STDLIB Release Notes</TITLE>
  <SCRIPT type="text/javascript" src="../../../../doc/erlresolvelinks.js">
</SCRIPT>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#FF00FF"
      ALINK="#FF0000">
<CENTER>
<A HREF="http://www.erlang.se"><IMG BORDER=0 ALT="[Ericsson AB]" SRC="min_head.gif"></A>
</CENTER>
<A NAME="1"><!-- Empty --></A>
<H2>1 STDLIB Release Notes</H2>
<A NAME="1.1"><!-- Empty --></A>
<H3>1.1 STDLIB 1.13</H3>
<A NAME="1.1.1"><!-- Empty --></A>
<H4>1.1.1 Fixed Bugs and Malfunctions</H4>

<P>
<UL>

<LI>
         For the bit syntax, when matching with a size field that
         is bound during the same matching, a warning for unused
         variable was emitted. This bug has been fixed.<BR>

         Own Id: OTP-4858<BR>


</LI>


<LI>
         When parsing a badly formed file <CODE>epp</CODE> hangs. This
         problem has been fixed.<BR>

         Own Id: OTP-4871 Aux Id: OTP-4870 <BR>


</LI>


<LI>
         Bugs concerning guards have been fixed in the Erlang
         interpreter.<BR>

         Own Id: OTP-4885<BR>


</LI>


<LI>
         The linter now checks the record name when calling the
         function <CODE>erlang:is_record/2</CODE>.<BR>

         Own Id: OTP-4886<BR>


</LI>


<LI>
         Guards of mach specifications are corrected to resemble
         the semantics of guards in real code more closely. The
         implementation now corresponds to the documentation in
         ERTS User's Guide. The following things are corrected:<BR>

         
<UL>

<LI>
Guard sematics was wrong when it came to logical
         operators and exceptions.
         <CODE>{'or', {'is_integer','$1'}, {'or', '$1', '$1'}}</CODE>
         evaluated to <CODE>true</CODE> with <CODE>'$1'</CODE> bound to an
         integer.
</LI>


<LI>
Unary + and - was not implemented
</LI>


<LI>
Calling operators as Bif's was not supported by
         <CODE>ets/dbg:fun2ms</CODE> (<CODE>erlang:'or'(A,B)</CODE> etc)
</LI>


<LI>
Old typetests (like <CODE>integer(X)</CODE> instead of
         <CODE>is_integer(X)</CODE>) was not supported by
         <CODE>ets/dbg:fun2ms</CODE>
</LI>


<LI>
Semicolon (;) in guards was not supported by
         <CODE>ets/dbg:fun2ms</CODE>
</LI>


</UL>

         *** POTENTIAL INCOMPATIBILITY ***<BR>

         Own Id: OTP-4927<BR>


</LI>


<LI>
         A bug that could cause a crash has been fixed in the
         <CODE>file_sorter</CODE> module. The crash could only occur
         when sorting or merging to a file and the input function
         returned <CODE>{end_of_input, Value}</CODE>.<BR>

         Own Id: OTP-5009<BR>


</LI>


<LI>
         A function clause exit in <CODE>filelib:fold_files/5</CODE> has
         been fixed.<BR>

         Own Id: OTP-5137<BR>


</LI>


<LI>
         <CODE>filelib:fold_files/5</CODE> has been fixed to not include
         directories that match the regular expression in the
         result. In this process, <CODE>filelib:is_regular/1</CODE> has
         been added to the module.<BR>

                 WARNING the behaviour of <CODE>filelib:fold_files/5</CODE> has
         also been changed so the regexp match is tried not on
         the full name, but locally in each traversed directory.<BR>

         Own Id: OTP-5171 Aux Id: OTP-5128 <BR>


</LI>


</UL>
<A NAME="1.1.2"><!-- Empty --></A>
<H4>1.1.2 Improvements and New Features</H4>

<P>
<UL>

<LI>
         The initial shell process started in parallel with the
         <CODE>init</CODE> boot process. This made it possible to pipe
         commands to the shell that got evaluated before the system
         had booted properly. Also the shell was normally accessible
         before <CODE>.erlang</CODE> had been evaluated and this caused
         problems especially related to code loading. This has now
         been fixed so that the initial shell is not accessible
         until after the init boot routine has finished and
         <CODE>.erlang</CODE> has been evaluated. Note that the shell
         starts before any <CODE>-s</CODE> arguments are executed.<BR>

         Own Id: OTP-4877<BR>


</LI>


<LI>
         It is now possible to compile files with <CODE>erlc</CODE> without
         getting a lot of (for compilation) unneccessary code
         loaded and executed (like distribution, inet config,
         etc). <CODE>erlc</CODE> now also calls <CODE>erl</CODE> with <CODE>-boot
         start_clean</CODE> (so that SASL is not started even if
         <CODE>start_sasl</CODE> is default boot script).<BR>

         Own Id: OTP-4878<BR>


</LI>


<LI>
         Dets tables can now be opened or closed in parallel. In
         particular, if some table is being repaired, other tables
         can still be opened or closed.<BR>

         Own Id: OTP-4908<BR>


</LI>


<LI>
         The new STDLIB module <CODE>qlc</CODE> implements a query
         language with a list comprehension syntax completely
         embedded in Erlang. There is support for reading data
         from ETS, Dets, and Mnesia tables as well as for defining
         other sources of data. For easy testing queries can be
         stated in the Erlang shell. The <CODE>qlc</CODE> module aims at
         replacing Mnemosyne. See <CODE>qlc(3)</CODE> for details and
         examples.<BR>

         Own Id: OTP-5043<BR>


</LI>


<LI>
         Some support for records has been added to the Erlang
         shell. There are commands for reading record definitions
         from files and for manipulating record definitions in the
         shell. The record syntax can be used in the shell and
         return values are printed as records when possible using
         the records definitions known to the shell. New commands
         in the shell are <CODE>rd/2</CODE>, <CODE>rf/0,1</CODE>,
         <CODE>rl/0,1</CODE>, <CODE>rp/1</CODE>, and <CODE>rr/1,2,3</CODE>. Existing
         functions in <CODE>user_default.erl</CODE> with any of these
         names need to be renamed. See <CODE>shell(3)</CODE> for further
         details.<BR>

         *** POTENTIAL INCOMPATIBILITY ***<BR>

         Own Id: OTP-5063<BR>


</LI>


<LI>
         A new function, <CODE>string:to_integer/1,</CODE> has been added.
         <BR>

         Own Id: OTP-5081 Aux Id: OTP-5136 <BR>


</LI>


<LI>
         The new function <CODE>dets:repair_continuation/2</CODE> can be
         used for restoring an opaque continuation returned by
         <CODE>dets:select/1</CODE> or <CODE>dets:select/3</CODE> if the
         continuation has passed through the external term format
         (been sent between nodes or stored on disk).<BR>

         Own Id: OTP-5126<BR>


</LI>


<LI>
         A new function, <CODE>string:to_float/1,</CODE> has been added.
         <BR>

         Own Id: OTP-5136 Aux Id: OTP-5081 <BR>


</LI>


<LI>
         Test cases have been added for <CODE>string</CODE>.<BR>

         Own Id: OTP-5138<BR>


</LI>


</UL>
<A NAME="1.2"><!-- Empty --></A>
<H3>1.2 STDLIB 1.12.8</H3>
<A NAME="1.2.1"><!-- Empty --></A>
<H4>1.2.1 Improvements and New Features</H4>

<P>
<UL>

<LI>
         The functions <CODE>ets:insert_new/2</CODE> and
         <CODE>dets:insert_new/2</CODE> are added. Please consult
         the manual pages for details.<BR>

         Own Id: OTP-5075<BR>


</LI>


<LI>
         New function: <CODE>proc_lib:hibernate/3.</CODE> Processes spawned
         using <CODE>proc_lib</CODE> (also indirectly, such as
         <CODE>gen_server</CODE> process), should use this function
         instead of the BIF <CODE>erlang:hibernate/3</CODE> directly to
         ensure that the exception handler for the process continues
         to work when the process is awaken.<BR>

         Own Id: OTP-5077<BR>


</LI>


</UL>
<A NAME="1.3"><!-- Empty --></A>
<H3>1.3 STDLIB 1.12.6</H3>
<A NAME="1.3.1"><!-- Empty --></A>
<H4>1.3.1 Fixed Bugs and Malfunctions</H4>

<P>
<UL>

<LI>
         If many files or sockets were open (more than 256),
         <CODE>beam_lib</CODE> operations could fail. Corrected.<BR>

         Own Id: OTP-5046 Aux Id: OTP-4997, seq8590 <BR>


</LI>


</UL>
<A NAME="1.4"><!-- Empty --></A>
<H3>1.4 STDLIB 1.12.5</H3>
<A NAME="1.4.1"><!-- Empty --></A>
<H4>1.4.1 Fixed Bugs and Malfunctions</H4>

<P>
<UL>

<LI>
         When opening a Dets table read only an attempt was made
         to re-hash the table resulting in an error message. This
         problem has been fixed.<BR>

         Own Id: OTP-4989 Aux Id: seq8536 <BR>


</LI>


</UL>
<A NAME="1.4.2"><!-- Empty --></A>
<H4>1.4.2 Improvements and New Features</H4>

<P>
<UL>

<LI>
         If a <CODE>gen_server</CODE>, <CODE>gen_event</CODE> or <CODE>gen_fsm</CODE>
         process exits with <CODE>{undef,[{M,F,A}|...]}</CODE>, the error
         report will now state if the function call failed because
         the module could not be loaded or because the function was
         not exported.<BR>

         Own Id: OTP-4952 Aux Id: OTP-4925 <BR>


</LI>


</UL>
<A NAME="1.5"><!-- Empty --></A>
<H3>1.5 STDLIB 1.12.4</H3>
<A NAME="1.5.1"><!-- Empty --></A>
<H4>1.5.1 Fixed Bugs and Malfunctions</H4>

<P>
<UL>

<LI>
         The shell function <CODE>c:regs()</CODE> did crash if there was
         a registered port among the registered names. This is now
         corrected.<BR>

         Own Id: OTP-4890<BR>


</LI>


<LI>
         A bug has been fixed in <CODE>dets</CODE>: not all objects were
         always visible in tables with more than 131072 keys.<BR>

         Own Id: OTP-4906<BR>


</LI>


<LI>
         A bug has been fixed in <CODE>dets</CODE>: when trying to
         repair a version 9 table, a <CODE>not_a_dets_file</CODE> error
         message was returned unnecessarily often.<BR>

         Own Id: OTP-4907<BR>


</LI>


</UL>
<A NAME="1.5.2"><!-- Empty --></A>
<H4>1.5.2 Improvements and New Features</H4>

<P>
<UL>

<LI>
         Starting Erlang with the <CODE>+Bi</CODE> flag (to ignore ^C), now
         also disables the quit ('q') option in the JCL menu.<BR>

         Own Id: OTP-4897<BR>


</LI>


</UL>
<A NAME="1.6"><!-- Empty --></A>
<H3>1.6 STDLIB 1.12.3</H3>
<A NAME="1.6.1"><!-- Empty --></A>
<H4>1.6.1 Fixed Bugs and Malfunctions</H4>

<P>
<UL>

<LI>
         A bug in <CODE>erl_scan</CODE> caused the compiler to hang when
         end-of-file in a comment was encountered. This is now
         corrected.<BR>

         Own Id: OTP-4787<BR>


</LI>


<LI>
         The linter now reports errors for unsafe variables when
         the option <CODE>nowarn_unused_vars</CODE> is given.<BR>

         Own Id: OTP-4831 Aux Id: seq8202 <BR>


</LI>


<LI>
                 <CODE>gen_server:cast/2</CODE> now crashes for invalid
         arguments.<BR>

                 <CODE>gen_server:abcast/2-3</CODE> now crashes for invalid
         arguments. The behaviour when casting to the name
         <CODE>global</CODE> has been corrected. Previously,
         <CODE>gen_server:abcast(global,[node@host])</CODE> tried to
         cast to the globally registered name <CODE>node@host</CODE>,
         which is more of a bug than less. Now such a call will
         cast to the registered name <CODE>global</CODE> at the node
         <CODE>node@host</CODE> as (probably) expected.<BR>

                 An <CODE>rpc:call/5</CODE> and <CODE>rpc:block_call/5</CODE> having a
         timeout argument has been added.<BR>

                 <CODE>rpc:abcast/2-3</CODE> has been improved not to get stuck
         waiting for connection setup if the remote node is not
         connected. In this case the send is spawned off to a
         temporary process.<BR>

                 Two typos in the docs for module <CODE>calendar</CODE> has
         been corrected thanks to Bengt Kleberg.<BR>

         *** POTENTIAL INCOMPATIBILITY ***<BR>

         Own Id: OTP-4844 Aux Id: seq8226 <BR>


</LI>


</UL>
<A NAME="1.6.2"><!-- Empty --></A>
<H4>1.6.2 Improvements and New Features</H4>

<P>
<UL>

<LI>
         The <CODE>f/1</CODE> shell command did not work correctly with
         restricted shell.<BR>

         Own Id: OTP-4818<BR>


</LI>


</UL>
<A NAME="1.7"><!-- Empty --></A>
<H3>1.7 STDLIB 1.12.2</H3>
<A NAME="1.7.1"><!-- Empty --></A>
<H4>1.7.1 Fixed Bugs and Malfunctions</H4>

<P>
<UL>

<LI>
         <CODE>gen_server</CODE>: the internal function <CODE>get_parent,</CODE>
         called by <CODE>gen_server:enter_loop/[4,5],</CODE> now returns
         the pid of parents that are registered processes, instead of
         returning their name. The reason for this is that
         <CODE>gen_server</CODE> relies on that the parent is represented
         as a pid. This error in <CODE>get_parent/0</CODE> had the effect
         that the terminate function of the child was not run when
         it was shutdown.<BR>

         Own Id: OTP-4820 Aux Id: seq8170 <BR>


</LI>


</UL>
<A NAME="1.8"><!-- Empty --></A>
<H3>1.8 STDLIB 1.12.1</H3>
<A NAME="1.8.1"><!-- Empty --></A>
<H4>1.8.1 Fixed Bugs and Malfunctions</H4>

<P>
<UL>

<LI>
                 The code server could hang if invoked early in the startup.
         For example if the emulator was started with
         &#34;<CODE>-s file eval Filename</CODE> and <CODE>Filename</CODE> contained
         a call to <CODE>code:add_patha/1</CODE> the code server
         accidentally tried to execute code in an unloaded module
         from inside the code that loaded a module - hence hangup.
         This bug has now been fixed.<BR>

                 Note! Starting Erlang through code loading from a remote
         Erlang boot server will not work after this patch. It will
         be fixed in a later patch. Rumours has it that remote boot
         server code loading did not work before this patch either.
         It is not a commonly used feature.<BR>

         *** POTENTIAL INCOMPATIBILITY ***<BR>

         Own Id: OTP-4802 Aux Id: seq8314 <BR>


</LI>


</UL>
<CENTER>
<HR>
<SMALL>
Copyright &copy; 1991-2006
<A HREF="http://www.erlang.se">Ericsson AB</A><BR>
</SMALL>
</CENTER>
</BODY>
</HTML>