~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to lib/stdlib/doc/src/notes.xml

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2010-03-09 17:34:57 UTC
  • mfrom: (10.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100309173457-4yd6hlcb2osfhx31
Tags: 1:13.b.4-dfsg-3
Manpages in section 1 are needed even if only arch-dependent packages are
built. So, re-enabled them.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
<chapter>
5
5
  <header>
6
6
    <copyright>
7
 
      <year>2004</year><year>2009</year>
 
7
      <year>2004</year><year>2010</year>
8
8
      <holder>Ericsson AB. All Rights Reserved.</holder>
9
9
    </copyright>
10
10
    <legalnotice>
13
13
      compliance with the License. You should have received a copy of the
14
14
      Erlang Public License along with this software. If not, it can be
15
15
      retrieved online at http://www.erlang.org/.
16
 
    
 
16
 
17
17
      Software distributed under the License is distributed on an "AS IS"
18
18
      basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
19
19
      the License for the specific language governing rights and limitations
20
20
      under the License.
21
 
    
 
21
 
22
22
    </legalnotice>
23
23
 
24
24
    <title>STDLIB Release Notes</title>
30
30
  </header>
31
31
  <p>This document describes the changes made to the STDLIB application.</p>
32
32
 
 
33
<section><title>STDLIB 1.16.5</title>
 
34
 
 
35
    <section><title>Fixed Bugs and Malfunctions</title>
 
36
      <list>
 
37
        <item>
 
38
          <p>
 
39
            Because of a race condition, using filelib:ensure_dir/1
 
40
            from multiple processes to create the same path or parts
 
41
            of the same directory structure, filelib:ensure_dir/1
 
42
            could return a meaningless {error,eexist}. That race
 
43
            condition has been eliminated, and {error,eexist} will
 
44
            now be returned only if there exists a regular file,
 
45
            device file, or some other non-directory file with the
 
46
            same name. (Thanks to Tuncer Ayaz.)</p>
 
47
          <p>
 
48
            Own Id: OTP-8389</p>
 
49
        </item>
 
50
        <item>
 
51
            <p>A number of bugs concerning re and unicode are
 
52
            corrected:</p>
 
53
            <p>re:compile no longer looses unicode option, which also
 
54
            fixes bug in re:split.</p>
 
55
            <p>re:replace now handles unicode charlist replacement
 
56
            argument</p>
 
57
            <p>re:replace now handles unicode RE charlist argument
 
58
            correctly</p>
 
59
            <p>re:replace now handles binary unicode output correctly
 
60
            when nothing is replaced.</p>
 
61
            <p>Most code, testcases and error isolation done by Rory
 
62
            Byrne.</p>
 
63
          <p>
 
64
            Own Id: OTP-8394</p>
 
65
        </item>
 
66
        <item>
 
67
          <p>
 
68
            The loading of native code was not properly atomic in the
 
69
            SMP emulator, which could cause crashes. Also a per-MFA
 
70
            information table for the native code has now been
 
71
            protected with a lock since it turns that it could be
 
72
            accessed concurrently in the SMP emulator. (Thanks to
 
73
            Mikael Pettersson.)</p>
 
74
          <p>
 
75
            Own Id: OTP-8397</p>
 
76
        </item>
 
77
        <item>
 
78
          <p>
 
79
            user.erl (used in oldshell) is updated to handle unicode
 
80
            in prompt strings (io:get_line/{1,2}). io_lib is also
 
81
            updated to format prompts with the 't' modifier (i.e. ~ts
 
82
            instead of ~s).</p>
 
83
          <p>
 
84
            Own Id: OTP-8418 Aux Id: OTP-8393 </p>
 
85
        </item>
 
86
        <item>
 
87
          <p>
 
88
            The re module: A regular expression with an option change
 
89
            at the start of a pattern that had top-level alternatives
 
90
            could cause overwriting and/or a crash. (Thanks to
 
91
            Michael Santos.)</p>
 
92
          <p>
 
93
            Own Id: OTP-8438</p>
 
94
        </item>
 
95
      </list>
 
96
    </section>
 
97
 
 
98
 
 
99
    <section><title>Improvements and New Features</title>
 
100
      <list>
 
101
        <item>
 
102
          <p>
 
103
            The ability for the gen_server and gen_fsm callback
 
104
            modules to format their own state for display under the
 
105
            sys:get_status/1,2 calls has been restored and
 
106
            documented. (Thanks to Steve Vinoski.)</p>
 
107
          <p>
 
108
            Own Id: OTP-8324</p>
 
109
        </item>
 
110
        <item>
 
111
          <p>
 
112
            c:nc/{1,2} used to assume that the beam file was created
 
113
            in the same directory as the source code and failed to
 
114
            load the code if it was not. Corrected to look for the
 
115
            beam file in the current directory or in the directory
 
116
            specified by the <c>{outdir,Dir}</c> option. (Thanks to
 
117
            Alex Suraci.)</p>
 
118
          <p>
 
119
            Own Id: OTP-8337</p>
 
120
        </item>
 
121
        <item>
 
122
            <p>The documentation is now possible to build in an open
 
123
            source environment after a number of bugs are fixed and
 
124
            some features are added in the documentation build
 
125
            process. </p>
 
126
            <p>- The arity calculation is updated.</p>
 
127
            <p>- The module prefix used in the function names for
 
128
            bif's are removed in the generated links so the links
 
129
            will look like
 
130
            "http://www.erlang.org/doc/man/erlang.html#append_element-2"
 
131
            instead of
 
132
            "http://www.erlang.org/doc/man/erlang.html#erlang:append_element-2".</p>
 
133
            <p>- Enhanced the menu positioning in the html
 
134
            documentation when a new page is loaded.</p>
 
135
            <p>- A number of corrections in the generation of man
 
136
            pages (thanks to Sergei Golovan)</p>
 
137
            <p>- The legal notice is taken from the xml book file so
 
138
            OTP's build process can be used for non OTP
 
139
            applications.</p>
 
140
          <p>
 
141
            Own Id: OTP-8343</p>
 
142
        </item>
 
143
        <item>
 
144
          <p>
 
145
            Shell tab completion now works for quoted module and
 
146
            function names. (Thanks to Ulf Wiger.)</p>
 
147
          <p>
 
148
            Own Id: OTP-8383</p>
 
149
        </item>
 
150
        <item>
 
151
          <p>
 
152
            Explicit top directories in archive files are now
 
153
            optional.</p>
 
154
          <p>
 
155
            For example, if an archive (app-vsn.ez) just contains an
 
156
            app-vsn/ebin/mod.beam file, the file info for the app-vsn
 
157
            and app-vsn/ebin directories are faked using the file
 
158
            info from the archive file as origin. The virtual
 
159
            direcories can also be listed. For short, the top
 
160
            directories are virtual if they does not exist.</p>
 
161
          <p>
 
162
            Own Id: OTP-8387</p>
 
163
        </item>
 
164
        <item>
 
165
            <p>Macros overloading has been implemented. (Thanks to
 
166
            Christopher Faulet.)</p>
 
167
          <p>
 
168
            Own Id: OTP-8388</p>
 
169
        </item>
 
170
        <item>
 
171
            <p>The new function <c>shell:prompt_func/1</c> and the
 
172
            new application configuration parameter
 
173
            <c>shell_prompt_func</c> can be used for customizing the
 
174
            Erlang shell prompt.</p>
 
175
          <p>
 
176
            Own Id: OTP-8393</p>
 
177
        </item>
 
178
        <item>
 
179
          <p>
 
180
            Improved handling of typed records in escripts</p>
 
181
          <p>
 
182
            Own Id: OTP-8434</p>
 
183
        </item>
 
184
        <item>
 
185
          <p>
 
186
            Added supervisor:count_children/1 to count the number of
 
187
            children being managed without the memory impact of
 
188
            which_children/1. (Thanks to Jay Nelson.)</p>
 
189
          <p>
 
190
            Own Id: OTP-8436</p>
 
191
        </item>
 
192
      </list>
 
193
    </section>
 
194
 
 
195
</section>
 
196
 
33
197
<section><title>STDLIB 1.16.4</title>
34
198
 
35
199
    <section><title>Improvements and New Features</title>