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
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
|
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE chapter SYSTEM "chapter.dtd">
<chapter>
<header>
<copyright>
<year>2007</year><year>2018</year>
<holder>Ericsson AB. All Rights Reserved.</holder>
</copyright>
<legalnotice>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
</legalnotice>
<title>Syntax_Tools Release Notes</title>
<prepared>otp_appnotes</prepared>
<docno>nil</docno>
<date>nil</date>
<rev>nil</rev>
<file>notes.xml</file>
</header>
<p>This document describes the changes made to the Syntax_Tools
application.</p>
<section><title>Syntax_Tools 2.1.5</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p> Fix a bug regarding reverting map types. </p>
<p>
Own Id: OTP-15098 Aux Id: ERIERL-177 </p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Update to use the new string api instead of the old.</p>
<p>
Own Id: OTP-15036</p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 2.1.4</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p> Removed all old unused files in the documentation.
</p>
<p>
Own Id: OTP-14475 Aux Id: ERL-409, PR-1493 </p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 2.1.3</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
General Unicode improvements.</p>
<p>
Own Id: OTP-14462</p>
</item>
<item>
<p> A process trapping exits and calling <c>erl_tidy</c>
no longer hangs if an error occurs. </p>
<p>
Own Id: OTP-14471 Aux Id: ERL-413 </p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 2.1.2</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p> Miscellaneous updates due to atoms containing
arbitrary Unicode characters. </p>
<p>
Own Id: OTP-14285</p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 2.1.1</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
The address to the FSF in the license header has been
updated.</p>
<p>
Own Id: OTP-14084</p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 2.1</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p> Fix a bug where <c>erl_tidy</c> crashed on the tilde
character when printing to standard output. </p>
<p>
Own Id: OTP-13725 Aux Id: ERL-151, PR-1071 </p>
</item>
<item>
<p><c>merl_transform</c> could get into an infinite loop
when syntactically incorrect text was passed to a
<c>merl:qquote/2,3</c> call.</p>
<p>
Own Id: OTP-13755</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>Improve types and specs in OTP documentation generated
from Erlang source files. </p>
<p>
Own Id: OTP-13720 Aux Id: ERL-120 </p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 2.0</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>The abstract data type in <c>erl_syntax</c> is
augmented with types and function specifications.</p>
<p>The module <c>erl_prettypr</c> pretty prints types and
function specification, and the output can be parsed.</p>
<p>The types of record fields are no longer ignored. As a
consequence <c>erl_syntax_lib:analyze_record_field/1</c>
returns <c>{Default, Type}</c> instead of <c>Default</c>.
The functions <c>analyze_record_attribute</c>,
<c>analyze_attribute</c>, <c>analyze_form</c>, and
<c>analyze_forms</c> in the <c>erl_syntax_lib</c> module
are also affected by this incompatible change.</p>
<p>
*** POTENTIAL INCOMPATIBILITY ***</p>
<p>
Own Id: OTP-12863</p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 1.7</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>Use the new <c>erl_anno</c> module.</p>
<p>
Own Id: OTP-12732</p>
</item>
<item>
<p>The <c>merl</c> module has been added to the
<c>syntax_tools</c> application. The Merl library is a
simpler way to work with erl_syntax parse trees.</p>
<p>
Own Id: OTP-12769</p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 1.6.18</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Fix bad format of error in epp_dodger:parse_file/3</p>
<p>
Own Id: OTP-12406</p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 1.6.17</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Teach Maps to erl_syntax</p>
<p>
Affected functions:</p> <list>
<item>erl_syntax:abstract/1</item>
<item>erl_syntax:concrete/1</item>
<item>erl_syntax:is_leaf/1</item>
<item>erl_syntax:is_literal/1</item> </list>
<p>
Own Id: OTP-12265</p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 1.6.16</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p> The default encoding for Erlang source files is now
UTF-8. As a temporary measure to ease the transition from
the old default of Latin-1, if EDoc encounters byte
sequences that are not valid UTF-8 sequences, EDoc will
re-try in Latin-1 mode. This workaround will be removed
in a future release. </p>
<p>
Own Id: OTP-12008</p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 1.6.15</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Fix reverting map in syntax_tools</p>
<p>
There was a bug in erl_syntax when running e.g.
erl_syntax:revert_forms, affecting maps. Instead of
getting Key/Value you got Key/Key in the resulting
abstract form.</p>
<p>
Own Id: OTP-11930</p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 1.6.14</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Application upgrade (appup) files are corrected for the
following applications: </p>
<p>
<c>asn1, common_test, compiler, crypto, debugger,
dialyzer, edoc, eldap, erl_docgen, et, eunit, gs, hipe,
inets, observer, odbc, os_mon, otp_mibs, parsetools,
percept, public_key, reltool, runtime_tools, ssh,
syntax_tools, test_server, tools, typer, webtool, wx,
xmerl</c></p>
<p>
A new test utility for testing appup files is added to
test_server. This is now used by most applications in
OTP.</p>
<p>
(Thanks to Tobias Schlager)</p>
<p>
Own Id: OTP-11744</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Add implementation of having erl_tidy print to screen
instead of writing to the file provided. (Thanks to Aaron
France)</p>
<p>
Own Id: OTP-11632</p>
</item>
<item>
<p>
Support Maps syntax in syntax_tools (Thanks to Anthony
Ramine).</p>
<p>
Own Id: OTP-11663</p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 1.6.13</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
In syntax_tools-1.6.12 (OTP R16B03) a bug was introduced
which broke reverting of local implicit funs. Implicit
funs were mistakenly thought to be using abstract terms
for their name and arity. This has now been corrected.
(Thanks to Anthony Ramine)</p>
<p>
Own Id: OTP-11576</p>
</item>
</list>
</section>
<section><title>Improvements and New Features</title>
<list>
<item>
<p> The default encoding of Erlang files has been changed
from ISO-8859-1 to UTF-8. </p> <p> The encoding of XML
files has also been changed to UTF-8. </p>
<p>
Own Id: OTP-10907</p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 1.6.12</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Fix transformation of implicit funs in igor (Thanks to
Anthony Ramine)</p>
<p>
Own Id: OTP-11506</p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 1.6.11</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p> Miscellaneous updates due to Unicode support. </p>
<p>
Own Id: OTP-10820</p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 1.6.10</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p> Support for Unicode has been implemented. </p>
<p>
Own Id: OTP-10302</p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 1.6.9</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>
Syntax Tools 1.6.9</p>
<p>
Minor bugfixes, spec annotations and documentation
cleanup. Thanks to Richard Carlsson</p>
<p>
Own Id: OTP-10208</p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 1.6.8</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p>Minor suppressions and fixes of compilation
warnings</p>
<p>
Own Id: OTP-10016</p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 1.6.7.2</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>Variables are now now allowed in '<c>fun M:F/A</c>' as
suggested by Richard O'Keefe in EEP-23.</p>
<p>The representation of '<c>fun M:F/A</c>' in the
abstract format has been changed in an incompatible way.
Tools that directly read or manipulate the abstract
format (such as parse transforms) may need to be updated.
The compiler can handle both the new and the old format
(i.e. extracting the abstract format from a pre-R15 BEAM
file and compiling it using compile:forms/1,2 will work).
The <c>syntax_tools</c> application can also handle both
formats.</p>
<p>
*** POTENTIAL INCOMPATIBILITY ***</p>
<p>
Own Id: OTP-9643</p>
</item>
<item>
<p>
Eliminate use of deprecated regexp module</p>
<p>
Own Id: OTP-9810</p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 1.6.7.1</title>
<section><title>Fixed Bugs and Malfunctions</title>
<list>
<item>
<p> In a file containing declarations and comments
without any empty lines between them, the
<c>recomment_forms()</c> function would associate a
multi-line comment with the declaration above it rather
than the one following it. (Thanks to Richard Carlsson
and Kostis Sagonas.) </p>
<p>
Own Id: OTP-9180</p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 1.6.7</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>Miscellaneous updates</p>
<p>
Own Id: OTP-8976</p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 1.6.6</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Minor changes and clean-ups.</p>
<p>
Own Id: OTP-8709</p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 1.6.5</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>The documentation is now possible to build in an open
source environment after a number of bugs are fixed and
some features are added in the documentation build
process. </p>
<p>- The arity calculation is updated.</p>
<p>- The module prefix used in the function names for
bif's are removed in the generated links so the links
will look like
"http://www.erlang.org/doc/man/erlang.html#append_element-2"
instead of
"http://www.erlang.org/doc/man/erlang.html#erlang:append_element-2".</p>
<p>- Enhanced the menu positioning in the html
documentation when a new page is loaded.</p>
<p>- A number of corrections in the generation of man
pages (thanks to Sergei Golovan)</p>
<p>- The legal notice is taken from the xml book file so
OTP's build process can be used for non OTP
applications.</p>
<p>
Own Id: OTP-8343</p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 1.6.4</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
The documentation is now built with open source tools
(xsltproc and fop) that exists on most platforms. One
visible change is that the frames are removed.</p>
<p>
Own Id: OTP-8201</p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 1.6.3</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Miscellaneous updates.</p>
<p>
Own Id: OTP-8190</p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 1.6.2</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Miscellanous updates.</p>
<p>
Own Id: OTP-8038</p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 1.6</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Miscellaneous updates.</p>
<p>
Own Id: OTP-7877</p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 1.5.6</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Minor updates.</p>
<p>
Own Id: OTP-7642</p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 1.5.5</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Minor changes.</p>
<p>
Own Id: OTP-7388</p>
</item>
</list>
</section>
</section>
<section><title>Syntax_Tools 1.5.4</title>
<section><title>Improvements and New Features</title>
<list>
<item>
<p>
Minor updates, mostly cosmetic.</p>
<p>
Own Id: OTP-7243</p>
</item>
</list>
</section>
</section>
<section>
<title>Syntax_Tools 1.5.3</title>
<section>
<title>Fixed Bugs and Malfunctions</title>
<list type="bulleted">
<item>
<p>A missing directory (<c>examples</c>) has been added and
another broken link in the documentation has been fixed.</p>
<p>Own Id: OTP-6468</p>
</item>
</list>
</section>
</section>
<section>
<title>Syntax_Tools 1.5.2</title>
<section>
<title>Fixed Bugs and Malfunctions</title>
<list type="bulleted">
<item>
<p>Fixed some broken links in the documentation.</p>
<p>Own Id: OTP-6420</p>
</item>
</list>
</section>
</section>
<section>
<title>Syntax_Tools 1.5.1</title>
<p>Miscellaneous changes.</p>
</section>
</chapter>
|