| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This reverts commit d4e4511b19f4126d9271a6e3a8fa2eb716da7e85.
|
| |
|
|
|
|
| |
This reverts commit 1cf126f91eb533783409da95b117207d8c13d9aa.
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
* maint:
Updated OTP version
Prepare release
Update copyright year
|
| | |
|
|\ \
| |/
| |
| |
| | |
* maint:
Removed unnecessary <em> tags
|
| | |
|
| |
| |
| |
| | |
This reverts commit 587341d994f91af5b30483ee9434e932e3d7b802.
|
| | |
|
|/ |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 'deterministic-build' of https://github.com/TD5/otp:
make: Allow OTP to be built deterministically
compiler: Make test_lib robust to +deterministic
compiler: Make compiler forward +determinsitic flag to epp
compiler: Make yecc respect +deterministic
compiler: Make leex respect +deterministic
compiler: Make asn1ct_gen respect +deterministic
compiler: Make EPP respect +deterministic
OTP-18165
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a --enable-deterministic-build to the configure script,
which sets ERL_DETERMINISTIC=yes throughout the relevant
Makefiles, which then invoke the relevant build stages with the
+deterministic option.
This addresses absolute paths being included in generated .erl files
and compiled .beam files that resulted in builds from different source
directories generating different artefacts (which is a component of the
issue in erlang#4482).
I think it would make sense to make this the default at some stage, but
I've put the change behind a flag for now to decouple
making deterministic OTP builds possible from making them the default.
Having +deterministic set results in compiler options being
removed from the module info for modules where this options was used.
This may have other implications for users of OTP.
For tests themselves, +determinism is not set, since many test cases
depend on accessing the test module's compilation options, or other
features not available in deterministic mode, in order to configure
themselves. For tests of the determinism feature specifically,
+deterministic must be explicitly passed to the compiler within the
relevant test cases.
|
|/ |
|
|\
| |
| | |
remove extra argument
|
| | |
|
| |
| |
| |
| | |
This reverts commit a2c8df222e6d02fa518d5d6cbbea75a9dd720d30.
|
| | |
|
| |
| |
| |
| |
| |
| | |
* Use {feature, <feature>, enable|disable} in options
and -compile(..)
* Use -feature(<feature>, enable|disable) in module
|
| |
| |
| |
| | |
This reverts commit 435bc5e68dd45ff6f7992077998930519208e910.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Add knowledge about new Meta chunk
* Add knowledge about new macros
* Make some tests pass in a Bad Way, by using functions that should
not be available at runtime
Co-authored-by: Lukas Larsson <garazdawi@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Utility and features specifications in erl_features
* Compiler support
* Add predefined macros for features
* Add support for parsing (long) options to erlc
* Conditionally allow 'else' (also used in preprocessor) as keyword
* This will be needed for EEP49
* Add feature info in new Meta chunk in beam file
* Add warning for atoms that are keywords in features
* Add new feature description options to erlc
* -list-feature to list existing features in short form
* -describe-feature <ftr> to get long description of feature
* Runtime support
* Store enabled features with persistent_term (only set at startup)
* Check features in Meta chunk to determine whether load is allowed
* Features use for test (in erl_features) active when env variable
OTP_TEST_FEATURES is set to true
* init of erl_features is lazy
* Using on_load functions only work after code_server is up
and running.
|
| |
| |
| |
| | |
This reverts commit 95f5a792610ed4c87457863cb03b047414ad4a14.
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
Pass Anno to ExternalFunctionHandler in erl_eval
OTP-17925
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This allows code using `erl_eval` to provide better
stacktraces if desired. For this purpose, we also
make sure all errors raised from `erl_eval` pass
through the ExternalFunctionHandler.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Fixes analysing a wild attribute to return Info
OTP-17894
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
As per issue #4671:
erl_syntax_lib:analyze_attribute({attribute,17,mark,mark_1}).
returns {mark, {mark, mark_1}} due to the attribute being wrapped on
line 1320:
{A, analyze_attribute(A, Node)}
when what would be expected as per the documentation is:
{mark, mark1}
Returning *just* the Info from {_, Info} = analyze_wild_attribute(Node)
within analyze_attribute/2, this double wrapping does not occur, fixing
the original issue.
|
| |/ /
|/| | |
|
| |/
|/| |
|
|/ |
|
|
|
|
|
|
| |
Removing ?t retained for backward compatibility allows to
search for test_server callsites easier.
Replace ?t:fail and test_server:fail with ct:fail.
|
| |
|
|
|
|
| |
This reverts commit 221e41bd32e433f6e08bbfedb013fc49c9aa1283.
|
| |
|
| |
|
|\
| |
| | |
Fix erl_syntax:function_type/2 spec
|
| | |
|
| |
| |
| |
| | |
This reverts commit 1cc1d15c4e54c1d9d8c34a4c66193a95b10c479a.
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
* maint:
Updated OTP version
Prepare release
# Conflicts:
# OTP_VERSION
|
| | |
|
| |
| |
| |
| | |
This reverts commit bbc0f3386c2546af25936730742d8dee1664f1dd.
|
| | |
|
|\ \
| |/
| |
| |
| |
| | |
* maint:
beam_lib, cover: Don't crash when an abstract code backend is missing
Handle macros in patterns
|