31
31
<p>This document describes the changes made to the EDoc
34
<section><title>Edoc 0.7.9.1</title>
36
<section><title>Improvements and New Features</title>
40
Miscellaneous documentation build updates</p>
49
<section><title>Edoc 0.7.9</title>
51
<section><title>Fixed Bugs and Malfunctions</title>
54
<p><c>no_return</c> is a new built-in type. </p>
60
synchronized with edoc development version</p>
62
forgot to ensure that xmerl is found in path for
63
include_lib to work</p>
65
fix -spec declaration that doesn't work in R13B04</p>
67
eliminate warnings about unused imports</p>
69
removed CVS-keywords from source files (Thanks to Richard
76
Add a proplist() type</p>
78
Recently I was adding specs to an API and found that
79
there is no canonical proplist() type defined. (Thanks to
86
Removed some never-matching clauses reported by dialyzer
87
Fix macro expansion in comments following Erlang types
88
URI-escape bytes as two hex digits always (reported by
89
Alfonso De Gregorio) Updated author e-mail Recognize some
90
more URI schemas in wiki text, in particular https
91
(Thanks to Richard Carlsson)</p>
100
<section><title>Edoc 0.7.8</title>
102
<section><title>Fixed Bugs and Malfunctions</title>
106
Fix infinite loop for malformed edoc input</p>
108
When processing an edoc comment with ``` in it, if the
109
comment ends without a matching ''' then an infinite loop
110
occurs in the function edoc_wiki:strip_empty_lines/2.
111
This change fixes that by adding a clause to return from
112
the function upon the end of the comment input. This
113
allows an error to be thrown to indicate the problem,
114
which is the same behaviour as leaving either `` or `
115
unmatched. (Thanks to Taylor Venable)</p>
120
<p> Bugs concerning the option
121
<c>report_missing_types</c> that was added in EDoc-0.7.7
122
have been corrected: the option was misspelled in the
123
source, and local definitions as well as the function
124
tags <c>@private</c> and <c>@hidden</c> were not handled
125
correctly. (Thanks to Manolis Papadakis.) </p>
134
<section><title>Edoc 0.7.7</title>
136
<section><title>Fixed Bugs and Malfunctions</title>
139
<p> Add encoding when parsing Wiki text. EDoc used to
140
fail on strings such as "���". (Thanks to Richard
149
<section><title>Improvements and New Features</title>
152
<p> It is now possible to use Erlang specifications and
153
types in EDoc documentation. Erlang specifications and
154
types will be used unless there is also a function
155
specification (<c>@spec</c>) or a type alias
156
(<c>@type</c>) with the same name. In the current
157
implementation the placement of <c>-spec</c> matters: it
158
should be placed where the <c>@spec</c> would otherwise
159
have been placed. </p>
160
<p>Not all Erlang types are included in the
161
documentation, but only those exported by some
162
<c>export_type</c> declaration or used by some documented
163
Erlang specification (<c>-spec</c>). </p>
164
<p> There is currently no support for overloaded Erlang
166
<p> The syntax definitions of EDoc have been augmented to
167
cope with most of the Erlang types. (But we recommend
168
that Erlang types should be used instead.) </p>
169
<p> <c>edoc:read_source()</c> takes one new option,
170
<c>report_missing_types</c>. <c>edoc_layout:module()</c>
171
takes one new option, <c>pretty_printer</c>. </p>
176
<p> The <c>edoc_lib</c> module is meant to be private,
177
but since it is referred to from other man pages it has
178
been included in the OTP documentation. The modifications
179
introduced in this ticket make all functions private
180
except those referred to from other pages. </p>
34
189
<section><title>Edoc 0.7.6.8</title>
36
191
<section><title>Improvements and New Features</title>