| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
This reverts commit d4e4511b19f4126d9271a6e3a8fa2eb716da7e85.
|
| |
|
|
|
|
| |
This reverts commit 1cf126f91eb533783409da95b117207d8c13d9aa.
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
* maint:
Updated OTP version
Prepare release
Update copyright year
|
| | |
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The <c>size/1</c> BIF is not optimized by the JIT, and its use can
result in worse types for Dialyzer.
When one knows that the value being tested must be a tuple,
<c>tuple_size/1</c> should always be preferred.
When one knows that the value being tested must be a binary,
<c>byte_size/1</c> should be preferred. However, <c>byte_size/1</c> also
accepts a bitstring (rounding up size to a whole number of bytes), so
one must make sure that the call to <c>byte_size/</c> is preceded by a
call to <c>is_binary/1</c> to ensure that bitstrings are rejected. Note
that the compiler removes redundant calls to <c>is_binary/1</c>, so if
one is not sure whether previous code had made sure that the argument is
a binary, it does not harm to add an <c>is_binary/1</c> test immediately
before the call to <c>byte_size/1</c>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|\
| |
| |
| |
| | |
Fix typos in lib/tftp
OTP-17874
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
This reverts commit 1cc1d15c4e54c1d9d8c34a4c66193a95b10c479a.
|
| |
|
|
|
|
|
|
| |
Some applications missed some runtime dependencies because the test
that no dependencies were missing was broken since 77046ef3d886
(in 2016).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
We add `seemfa`, `seeerl`, `seetype`, `seeapp`, `seecom`, `seecref`
, `seefile` and `seeguide` in order to make it easier to reason
about what each link points to without examining the target.
This information will then be embedded in the EEP-48 chunks for
usage by other tools.
The tool used can be found here:
https://gist.github.com/garazdawi/68527d92ae5b37c8f129bfbdfffdfa68
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
* maint:
Updated OTP version
Prepare release
# Conflicts:
# OTP_VERSION
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | | |
* lukas/stdlib/ets_benchmark_fix:
otp: Remove empty benchmark test spec files
ets: Do not use OTP-23 fetures in benchmark code
|
| | | |
|
|\ \ \
| |/ /
|/| /
| |/
| |
| | |
* maint:
tftp: Fix -behaviour warnings
tftp: Fix erlang:get_stacktrace warning
|
| | |
|
| | |
|
| | |
|
|/
|
|
| |
The added make target is described in HOWTO/TESTING.md.
|
| |
|
|
|
|
| |
introduced after OTP_R13B03.
|
| |
|
| |
|
|
|
|
| |
(cherry picked from commit 1b36c8ff81e896f9aa172603962f838d980668a0)
|
| |
|
| |
|
|
|
|
| |
Change-Id: I014b191da144c299d056eb155ed99ace710112b1
|
|
|
|
| |
Change-Id: Ie0f52e82484462f8f7ec58c37ce16081af432797
|
|
|
|
| |
Change-Id: Ie23a40e7159fe632cf5514ac617de17c5d5b5ce2
|
|
|
|
| |
Change-Id: I585ba5097632d460705257f03cb44adf8038f0be
|
|
|
|
| |
Change-Id: Ie1e8a3fa458ee38a1c0b6a0f19e27e76c267688e
|
|
- Create directory structure
- Move code, tests, documentation from inets
- Add inets_tftp_wrapper
- Add tftp app to run-dialyzer script
Change-Id: I6a142ae66cecb9a1821cbf9ea6a45f66a836763d
|