Age | Commit message (Collapse) | Author |
|
erl_expand_records now adds "erlang:" to calls to BIFs, so we
can simplify the code.
|
|
As the next step in eliminating sys_pre_expand, teach
erl_expand_records to handle calls without explicit module name. If
such call refer to a BIF or imported function, add an explicit module
name.
That means that any subsequent pass will know that a call without
a module name is always to a local function defined in the module.
|
|
The sys_pre_expand module used to do a lot more (translate records and
funs, for example), but now it does very little. Most of the code is
an identify transformation of the abstract format.
The identity transformation part of the code must be maintained and
kept correct when new forms are added to the abstract format. That
adds to the maintance burden. It also adds (slightly) to compilation
times. Therefore, we want to eliminate sys_pre_expand, moving all of
its (non-identity) transformations to better places.
As a preliminary first step, move the code that adds the pre-defined
functions (such as module_info/0) to a new function in erl_internal.
|
|
The comment in the catch-all clause in munge_expr/2 will always be
stale. There is no way it can be kept up to date.
For example, 'eof' is listed, but 'eof' is a top-level form and is
actually handled in the catch-all clause for munge/4.
|
|
* maint:
beam_lib: Correct type for the abstract code chunk
|
|
The abstract_code chunk can also contain {eof,_}, {error,_}, and
{warning,_} in addition to the abstract forms that make up the Erlang
syntax proper.
|
|
* maint:
observer: Fix error msg loop in table viewer
|
|
* dgud/observer/table-viewer-bug/ERL-237/OTP-13845:
observer: Fix error msg loop in table viewer
|
|
When observing mnesia table on remote node and connection to that node
is lost, a loop of error messages occur if mnesia is not running on
the observer node. ERL-237
|
|
* maint:
dialyzer: Increase time limit of suites
dialyzer: Remove a check that always fails
dialyzer: Optimize an opaque type case
|
|
* hasse/dialyzer/fix_forms_to_type/OTP-13682:
dialyzer: Increase time limit of suites
dialyzer: Remove a check that always fails
dialyzer: Optimize an opaque type case
|
|
* maint:
Fix xmllint-warnings
|
|
* hasse/doc/fix_xmllint_warnings:
Fix xmllint-warnings
|
|
* maint:
Emacs: make tags unit test more robust
Emacs: extend support for compile options
Function instead of lambda in advice
Enable tag completion in emacs erlang shell
|
|
* dgud/tools/emacs-mode-tag-fixes/PR-1106:
Emacs: make tags unit test more robust
Emacs: extend support for compile options
Function instead of lambda in advice
Enable tag completion in emacs erlang shell
|
|
|
|
The syntax was limited to atoms, strings and 2-tuples. This covers most
compile options but not for example {d,Macro,Value}.
Add support for N-tuples and lists.
Add a related unit test case.
|
|
Lambda advice cannot easily be updated.
|
|
Completion in erlang shell buffer only works in Emacs 25.
Minor cleanup of completion stuff.
Add test-case for completion at point.
Avoid inf-loop in erlang-end-of-clause when buffer starts with
whitespace.
|
|
* maint:
Ensure correct mbuf_sz value in process structure
|
|
* rickard/mbuf_sz/OTP-13851:
Ensure correct mbuf_sz value in process structure
|
|
The test 'proper' takes some time.
|
|
|
|
Fix a mistake in commit 85f6fe3b.
Instead of using the declared opaque type, the form's type is used in
a case where the opaque type is turned into a non-opaque type. The
result is more general types (smaller Erlang terms) and faster
analyses.
|
|
* maint:
Improve accuracy of timeouts using premature timeouts
|
|
* rickard/premature-timeout/OTP-13698:
Improve accuracy of timeouts using premature timeouts
|
|
* maint:
Fix is-dirty-cpu/is-dirty-io scheduler predicates
|
|
* rickard/ds-pred/OTP-13852:
Fix is-dirty-cpu/is-dirty-io scheduler predicates
|
|
|
|
* maint:
make, ct_make: Handle warning attributes in source files
|
|
* bjorn/fix-make/OTP-13855:
make, ct_make: Handle warning attributes in source files
|
|
* gotthardp/crypto/add-cmac/ERL-82/PR-1138/OTP-13779:
Skip the cmac test cases on older OpenSSL
Added a reference to cmac RFC in the description part of the man page
Fix building crypto/cmac_nif on 64-bit machines.
crypto:cmac calculating the Cipher-based Message Authentication Code
|
|
|
|
* raimo/gen_statem-callback_mode/OTP-13752:
ssl: Upgrade suite testing skipped if stdlib upgrade is required
Fix version numbers and dependencies
Conflicts:
lib/ssl/src/ssl.appup.src
lib/ssl/vsn.mk
|
|
|
|
|
|
|
|
Fixes problems found by test suites as well as by Codenomicon/Defensics:
- reduce max random padding to 15 bytes (Codenomicon/Defensics)
- inclomplete pdu handling (Codenomicon/Defensics)
- badmatch
- non-blocking send fixes deadlock in ssh_connection_SUITE:interrupted_send
|
|
|
|
* ingela/ssl/cuddle:
ssl: Test and test suites shall be independent of each other
|
|
|
|
|
|
|
|
* ingela/ssl/gracefulness/OTP-13834:
ssl: Gracefulness behaviour when receiving partially malformed messages
|
|
|
|
|
|
* ingela/ssl/ERL-232/OTP-13853:
ssl: Remove clause that postponed unexpected messages
|
|
|
|
* ingela/ssl/tests-timouts:
ssl: Timeout tuning
|
|
Skip some test on really slow solaris machines
|