1 EDoc Release Notes
This document describes the changes made to the EDoc application.
1.1 Edoc 0.12
Improvements and New Features
-
Remove Inets dependency from EDoc.
Own Id: OTP-15999 Aux Id: PR-2317
-
Add support for overloaded Erlang specifications.
Own Id: OTP-16407 Aux Id: PR-2430
-
Refactored the internal handling of deprecated and removed functions.
Own Id: OTP-16469
1.2 Edoc 0.11
Improvements and New Features
-
Correct links in the documentation.
Own Id: OTP-15761
1.3 Edoc 0.10
Improvements and New Features
-
Print a helpful message explaining that adding {preprocess, true} can help if reading a source file fails.
Own Id: OTP-15605 Aux Id: ERL-841
1.4 Edoc 0.9.4
Fixed Bugs and Malfunctions
-
Improved documentation.
Own Id: OTP-15190
1.5 Edoc 0.9.3
Fixed Bugs and Malfunctions
-
Types and function specifications including the map() type are pretty-printed correctly.
Own Id: OTP-15117
Improvements and New Features
-
Update to use the new string api instead of the old.
Own Id: OTP-15036
1.6 Edoc 0.9.2
Fixed Bugs and Malfunctions
-
The map type is correctly denoted as map() in function specifications and types.
Own Id: OTP-14777
1.7 Edoc 0.9.1
Improvements and New Features
-
Tools are updated to show Unicode atoms correctly.
Own Id: OTP-14464
1.8 Edoc 0.9
Improvements and New Features
-
To support stable builds, edoc no longer includes time stamps in the footer for generated files.
Own Id: OTP-14277
-
Miscellaneous updates due to atoms containing arbitrary Unicode characters.
Own Id: OTP-14285
1.9 Edoc 0.8.1
Improvements and New Features
-
Document the function tags @param and @returns.
Own Id: OTP-13930 Aux Id: PR-1175
1.10 Edoc 0.8
Improvements and New Features
-
Improve types and specs in OTP documentation generated from Erlang source files.
Own Id: OTP-13720 Aux Id: ERL-120
1.11 Edoc 0.7.19
Improvements and New Features
-
Handle typed record fields.
Own Id: OTP-13558
1.12 Edoc 0.7.18
Fixed Bugs and Malfunctions
-
Assign correct names to list arguments.
Own Id: OTP-13234 Aux Id: ERL-63
Improvements and New Features
-
Unless the sort_functions option is true, edoc_layout does not sort functions.
Own Id: OTP-13302
1.13 Edoc 0.7.17
Improvements and New Features
-
Remove functionality related to packages
Own Id: OTP-12431
1.14 Edoc 0.7.16
Fixed Bugs and Malfunctions
-
Maps: Properly align union typed assoc values in documentation
Own Id: OTP-12190
1.15 Edoc 0.7.15
Fixed Bugs and Malfunctions
-
Fix spec to doc generation from erl_docgen and edoc for maps
Own Id: OTP-12058
1.16 Edoc 0.7.14
Fixed Bugs and Malfunctions
-
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.
Own Id: OTP-12008
1.17 Edoc 0.7.13
Fixed Bugs and Malfunctions
-
Application upgrade (appup) files are corrected for the following applications:
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
A new test utility for testing appup files is added to test_server. This is now used by most applications in OTP.
(Thanks to Tobias Schlager)
Own Id: OTP-11744
1.18 Edoc 0.7.12.1
Improvements and New Features
-
The encoding of the notes.xml file has been changed from latin1 to utf-8 to avoid future merge problems.
Own Id: OTP-11310
1.19 Edoc 0.7.12
Fixed Bugs and Malfunctions
-
EDoc sometimes failed to associate a comment with the preceding type declaration. This bug has been fixed. (Thanks to Serge Aleynikov for reporting the bug.)
Own Id: OTP-10866
Improvements and New Features
-
Miscellaneous updates due to Unicode support.
Own Id: OTP-10820
1.20 Edoc 0.7.11
Improvements and New Features
-
Since EDoc 0.7.7 (R14B02) separate values of union types can be annotated. However, the parser has hitherto chosen not to add the necessary parentheses due to backwards compatibility.
From this release on code traversing the output of edoc_parser needs to take care of parentheses around separate values of union types. Examples of such code are layout modules and doclet modules.
*** POTENTIAL INCOMPATIBILITY ***
Own Id: OTP-10195
-
Support for Unicode has been implemented.
Own Id: OTP-10302
-
Where necessary a comment stating encoding has been added to Erlang files. The comment is meant to be removed in Erlang/OTP R17B when UTF-8 becomes the default encoding.
Own Id: OTP-10630
1.21 Edoc 0.7.10
Fixed Bugs and Malfunctions
-
List behaviour callbacks in Edoc when using -callback attribute. (Thanks to Magnus Henoch.)
Added special case for file names under Windows. (Thanks to Beads Land-Trujillo.)
Own Id: OTP-10174
1.22 Edoc 0.7.9.1
Improvements and New Features
-
Miscellaneous documentation build updates
Own Id: OTP-9813
1.23 Edoc 0.7.9
Fixed Bugs and Malfunctions
-
no_return is a new built-in type.
Own Id: OTP-9350
-
synchronized with edoc development version
forgot to ensure that xmerl is found in path for include_lib to work
fix -spec declaration that doesn't work in R13B04
eliminate warnings about unused imports
removed CVS-keywords from source files (Thanks to Richard Carlsson )
Own Id: OTP-9463
-
Add a proplist() type
Recently I was adding specs to an API and found that there is no canonical proplist() type defined. (Thanks to Ryan Zezeski)
Own Id: OTP-9499
-
Removed some never-matching clauses reported by dialyzer Fix macro expansion in comments following Erlang types URI-escape bytes as two hex digits always (reported by Alfonso De Gregorio) Updated author e-mail Recognize some more URI schemas in wiki text, in particular https (Thanks to Richard Carlsson)
Own Id: OTP-9590
1.24 Edoc 0.7.8
Fixed Bugs and Malfunctions
-
Fix infinite loop for malformed edoc input
When processing an edoc comment with ``` in it, if the comment ends without a matching ''' then an infinite loop occurs in the function edoc_wiki:strip_empty_lines/2. This change fixes that by adding a clause to return from the function upon the end of the comment input. This allows an error to be thrown to indicate the problem, which is the same behaviour as leaving either `` or ` unmatched. (Thanks to Taylor Venable)
Own Id: OTP-9165
-
Bugs concerning the option report_missing_types that was added in EDoc-0.7.7 have been corrected: the option was misspelled in the source, and local definitions as well as the function tags @private and @hidden were not handled correctly. (Thanks to Manolis Papadakis.)
Own Id: OTP-9301
1.25 Edoc 0.7.7
Fixed Bugs and Malfunctions
-
Add encoding when parsing Wiki text. EDoc used to fail on strings such as "äåö". (Thanks to Richard Carlsson.)
Own Id: OTP-9109
Improvements and New Features
-
It is now possible to use Erlang specifications and types in EDoc documentation. Erlang specifications and types will be used unless there is also a function specification (@spec) or a type alias (@type) with the same name. In the current implementation the placement of -spec matters: it should be placed where the @spec would otherwise have been placed.
Not all Erlang types are included in the documentation, but only those exported by some export_type declaration or used by some documented Erlang specification (-spec).
There is currently no support for overloaded Erlang specifications.
The syntax definitions of EDoc have been augmented to cope with most of the Erlang types. (But we recommend that Erlang types should be used instead.)
edoc:read_source() takes one new option, report_missing_types. edoc_layout:module() takes one new option, pretty_printer.
Own Id: OTP-8525
-
The edoc_lib module is meant to be private, but since it is referred to from other man pages it has been included in the OTP documentation. The modifications introduced in this ticket make all functions private except those referred to from other pages.
Own Id: OTP-9110
1.26 Edoc 0.7.6.8
Improvements and New Features
-
Compiler warnings were eliminated.
Own Id: OTP-8855
1.27 Edoc 0.7.6.7
Fixed Bugs and Malfunctions
-
Edoc now uses the new API functions to inets instead of the deprecated ones.
Own Id: OTP-8749
1.28 Edoc 0.7.6.6
Improvements and New Features
-
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.
- The arity calculation is updated.
- 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".
- Enhanced the menu positioning in the html documentation when a new page is loaded.
- A number of corrections in the generation of man pages (thanks to Sergei Golovan)
- The legal notice is taken from the xml book file so OTP's build process can be used for non OTP applications.
Own Id: OTP-8343
1.29 Edoc 0.7.6.5
Improvements and New Features
-
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.
Own Id: OTP-8201
1.30 Edoc 0.7.6.4
Improvements and New Features
-
Miscellaneous updates.
Own Id: OTP-8190
1.31 Edoc 0.7.6.3
Improvements and New Features
-
The copyright notices have been updated.
Own Id: OTP-7851
1.32 Edoc 0.7.6.2
Improvements and New Features
-
Minor updates.
Own Id: OTP-7642
1.33 Edoc 0.7.6.1
Fixed Bugs and Malfunctions
-
Correction to work with new versions of STDLIB that no longer has the erl_internal:obsolete/3 function.
Own Id: OTP-7539
1.34 Edoc 0.7.6
Improvements and New Features
-
Minor changes.
Own Id: OTP-7388
1.35 Edoc 0.7.5
Improvements and New Features
-
Minor updates, mostly cosmetic.
Own Id: OTP-7243
1.36 Edoc 0.7.3
Improvements and New Features
-
Minor Makefile changes.
Own Id: OTP-6689
-
Dialyzer warnings were eliminated.
Own Id: OTP-6737
1.37 EDoc 0.7.2
Fixed Bugs and Malfunctions
-
Some missing files have been added: ~/include/edoc_doclet.hrl, ~/priv/edoc.dtd, ~/priv/erlang.png
Own Id: OTP-6457
Improvements and New Features
-
- Undefined macros only cause warnings, not errors.
- New, built-in @version macro.
- Documented the @docfile and @headerfile generic tags.
- Added recognition of "TODO:" as a wiki equivalent for @todo tags.
- Added documentation about overview pages.
- 'where' and ',' are allowed as separators in specs.
- Corrected ambiguity in spec grammar (possible incompatibility issue - parentheses may need to be added in some cases, in existing code).
- Experimental (and undocumented) support for @param and @return tags and corresponding "..." annotations on @spec parameters.
*** POTENTIAL INCOMPATIBILITY ***
Own Id: OTP-6568
1.38 EDoc 0.7.1
Fixed Bugs and Malfunctions
-
Fixed some broken links in the documentation.
Own Id: OTP-6419
1.39 EDoc 0.7.0
Miscellaneous changes.