Age | Commit message (Collapse) | Author |
|
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.
|
|
* lukas/common_test/suite_callback/OTP-8851:
Update init_per_suite to not crash when there is no suite/0
Update links info in ct_hooks to point to the right place
Update ct_hooks to fail gracefully when a hook is entered incorrectly in suite/0
|
|
* mh/emacs-indent-variables-are-safe:
Declare indentation options as "safe" in erlang-mode for Emacs
OTP-9122
|
|
* gl/gen_server-doc:
Update Handling Other Messages section in gen_server, gen_fsm, gen_events overviews
OTP-9121
|
|
* ks/reltool-spec-fixes:
Fix erroneous types
Eliminate two dialyzer warnings
Cleanup
Code cleanups and simplifications
Fix a bug in the calculation of circular dependencies
Use lists:foreach/2 when the return is not needed
Put files alphabetically
Fix two erroneous specs of reltool.erl
OTP-9120
|
|
* sverker/clarify_nif_resource_doc:
clarify NIF resource object deallocation documentation
|
|
In the erl_nif documentation, clarify how and when NIF resource
objects can be deallocated. Specifically, add focus for the case of
calling enif_release_resource immediately after obtaining a resource
term from enif_make_resource, since this is likely to be a common
approach NIFs use to manage resources.
Also fix a couple misspellings in the erl_nif documentation.
|
|
Emacs has a facility for setting options on a per-file basis based on
comments in the source file. By default, all options are considered
"unsafe", and the user is queried before the variable is set. This
patch declares the variables erlang-indent-level, erlang-indent-guard
and erlang-argument-indent to be safe, if the value specified in the
source file is valid.
Such declarations usually look like this:
%% -*- erlang-indent-level: 2 -*-
and appear on the first line of the file.
|
|
* aronisstav/dialyzer/dialyzer_tests/OTP-9116:
Increase timetrap of options1 suite
Write output_plt even when plt_check is ok
Create plt with erts, kernel and stdlib only
Update test results as they currently appear in dev
Major restructure of dialyzer's testsuite
Add 'apps' option to the erlang interface
Update spec file to work with new common test structure
Test suites for Dialyzer
|
|
|
|
|
|
|
|
"When I run mnesia:first on an empty fragmented table, it tries to
access the fragment with the number one beyond the maximum. In the
sample code below, I create a table with two fragments, 'foo' and
'foo_frag2', but mnesia tries to access 'foo_frag3':"
|
|
A miss introduced when converting to common_test
|
|
OTP-9115
|
|
|
|
* ks/typer: (22 commits)
Add release notes and up version
Strengthen some specs
Allow for --show_success_typings spelling also
Add '--show_success_typings' option
Fix crash in oveloaded contracts with overlapping domains
Fix a type error and do some further cleanup
Type cleanups and simplifications
Cleanup the analysis record
Remove typer_annotator.erl and typer.hrl
Remove typer_info.erl file
Remove typer_options.erl file
Remove typer_preprocess.erl file
Delete typer_map.erl file, really this time
Delete typer_map.erl file
Various cleanups
Fix Typer's hanging when module name doesn't match filename
Moved option to its proper position
Clean up of comments
Up version to reflect major rewrite
Add '--no_spec' option to Typer
...
OTP-9113
|
|
|
|
* hb/erl_docgen/bug_fixes/OTP-8975:
Minor improvement of a script
|
|
|
|
* lukas/tools/cover_mem_footprint/OTP-9043:
Fix spelling on analyse
Add short sleep to prevent timing issues on slow machines
Update cover tests which depend on compiled files to be skipped if the compile testcase is skipped
Conflicts:
lib/tools/test/cover_SUITE.erl
|
|
|
|
* kenneth/asn1/componentrelation/OTP-9092:
Fixed crash in asn1ct_check occuring for SEQUENCE with extension mark and component relation attribute.
|
|
|
|
|
|
* ia/public_key/doc/link-fix:
Removed white space in function name tag as it breaks links
|
|
|
|
|
|
snmpc to snmpc(command)...
|
|
An unnecessary include directive has been removed.
|
|
* hb/edoc/wiki_encoding/OTP-9109:
Add encoding when parsing Wiki text
|
|
* hb/edoc/elib_private/OTP-9110:
Clean up edoc_lib(3)
|
|
* ia/odbc/prepare-release-and-bettre-error-msg/OTP-9111:
Prepare relese and improved error messages OTP-9111
|
|
|
|
* ia/public_key/prepare-release:
Prepare for release
|
|
* ia/ssl/prepare-release:
Prepare for release
|
|
* jk/ssl_connection_hibernate:
Add the option { hibernate_after, int() } to ssl:connect and ssl:listen
OTP-9106
|
|
component relation attribute.
|
|
httpd_response:send_chunk handles empty list and empty binary -
i.e. no chunk is sent, but it does not handle a list with an
empty binary [<<>>]. This will be sent as an empty chunk - which
in turn will be encoded by http_chunk to the same as a final
chunk, which will make the http client believe that the end of
the page is reached.
|
|
|
|
|
|
|
|
|
|
The <c>edoc_lib</c> module is meant to be private, but since it is
referred to from other man pages it has been included in the OTP
documentation. This change makes all functions private except those
referred to from other pages.
|
|
|
|
5.4 appear in two places).
|
|
EDoc used to fail on strings such as "���".
Thanks to Richard Carlsson.
|
|
|
|
|
|
OTP-9107
|