Age | Commit message (Collapse) | Author |
|
See also https://bugs.erlang.org/browse/ERL-845.
[Kostis:]
My suggestion is that the compiler refuses to compile modules that
contain specs for functions that are not from this module. I do not
remember when / why this `feature' was introduced, but thinking about
it I see a lot of (ugly) semantics issues with it. For example, should
one be allowed to declare in the foo module that lists:flatten/1 takes
an integer() as an argument and returns a binary()? Should one be
allowed to declare a spec in some module m1 for a function of m2 that
is not defined in m2?
There are all kinds of checks that will need to be added to dialyzer
to protect itself from these semantics issues. The compiler already
refuses to compile modules that contain specs for non-existing
functions of the module. Similarly, it should refuse to compile
modules that contain specs for functions of other modules - unless it
can somehow check that these functions are indeed defined, but it is
not how the compiler currently works.
|
|
* hans/crypto/cuddle_docs:
crypto: Doc link fixes
|
|
|
|
* hans/crypto/new_supports_1/OTP-15771:
crypto: Document supports/1
|
|
* ingela/ssl/better-interop-tests:
ssl: Add new interop test suite
ssl: Use diffrent digest for some TLS/DTLS versions
|
|
Remove test form "ECC suites" that are covered by the new interop
suite or by the fairly new ssl_cipher_suite_SUITE.
|
|
|
|
* lukas/erts/distr-frag-fixes:
erts: Add documentation for distribution fragments
|
|
* lukas/OTP-22/misc-fixes/OTP-15791:
erts: Fix so that non-oneshot pollset on OpenBSD works
erts: Remove dead cpu info code in erlexec
erts: Remove -instr from erlexec flags
|
|
* elbrujohalcon/stdlib/gb_trees_opaque_type_docs/PR-2198:
Remove description of structure of opaque type `gb_trees:tree/2`.
|
|
The poll code for kevent on OpenBSD and NetBSD had not been fixed
to work properly when disabling events in the scheduler poll-set.
Because they use ONESHOT the delete operation was built into the
trigger and thus a lot of code was not needed when doing oneshot,
however it is needed when doing non-oneshot.
|
|
Since it's an opaque type, its internal structure shouldn't be
part of the docs. Otherwise it leads misguided devs to the
assumption that they can pattern-match on it, when they shouldn't.
|
|
* sverker/tw-assert:
erts: Fix bug in timer wheel at cancel during bump yield
erts: Tidy up some harmless code typos
|
|
* sverker/erl_interface/bitstring-api:
erl_interface: Tweak bit string encode/decode API
|
|
This was previously used when erlexec needed to decide
whether to run the smp or non-smp emulator.
|
|
|
|
* lukas/OTP-22/misc-fixes/OTP-15788:
erts: Fix PGO configure test for gcc
|
|
|
|
* hans/ssh/prepare_for_release/OTP-15782:
ssh: Prepare for release - runtime dependencies
|
|
|
|
|
|
* lukas/erts/distr-frag-fixes:
Update run-dialyzer script to be more generic and aggressive
erts: Fix memory leak for down/exit message
|
|
This version will abort when errors are found when building the PLT.
|
|
The problem was that some on some platforms -fprofile-generate
does not imply -lgcov which means that it will not
link.
|
|
* lukas/OTP-22/misc-fixes:
erts: Restart driver_SUITE:polling node at failure
|
|
|
|
* lukas/kernel/double-sname-fix/ERL-912/OTP-15786:
kernel: Multiple -sname or -name would be ignored
|
|
|
|
'ingela/ssl/backported-ssl-enhancments/ERL-929/ERL-893/PR-2215/OTP-15785' into maint
|
|
|
|
Do not document http_packet() in ssl but refer to description of
erlang:decode_packet/3.
Change-Id: Ib2d0e4fc9605e40fe98bb249bc17fc39046d137a
Conflicts:
lib/ssl/src/ssl.erl
|
|
Change-Id: I7987e80cca7af184a9f40cdcd8ea8f07c318ba0d
|
|
Remove support of version tuples (e.g. {3,3}) from API function
ssl:eccs/1.
Update function spec and documentation.
Change-Id: I891e42a2ca31c3e06b4edeeb866c0df874f2035b
Conflicts:
lib/ssl/doc/src/ssl.xml
lib/ssl/src/ssl.erl
|
|
Change 'term()' to 'any()'. Allow 'undefined' for all fields
of #ssl_options{}.
Change-Id: I00632bfd2b172974a99680a82f326f25b92b9974
Conflicts:
lib/ssl/src/ssl_internal.hrl
|
|
Change-Id: I99cd0bebd80b3e55fd522457fa126e5bc198657b
Conflicts:
lib/ssl/src/ssl_handshake.erl
|
|
Change-Id: Ic4895195569073916f158a06b95061939f15cfc0
Conflicts:
lib/ssl/doc/src/ssl.xml
lib/ssl/src/ssl.erl
|
|
Change-Id: I4874f18bd1396f6efc0fe6e3efe791f2dae56243
|
|
Change-Id: Iafbf60765b4635d6a50286080716c67231bb5cd9
|
|
Update type spec for digest_type() to reflect that functions
with this type accept the (wrong) atom 'sha1'. The right
behavior would be to only accept 'sha' as that is the only
valid value of crypto:sha1().
Update rsa_digest_oid/1 and ecdsa_digest_oid/1 to accept digest
'sha'.
Change-Id: I03219396b797435298e098e03b93286b352e07e2
|
|
Document type inet:stat_option() to resolve missing anchor
warnings when this type is referenced in other applications.
Change-Id: Ifbf775c2f67b48bcf7d0cf21c39065d3dacc4f55
|
|
Changed function specs and ssl.xml for generation of documentation
according to the new way.
Change-Id: I17b59b80f9072c3d2c20aea1b102f1e9c86987a0
Conflicts:
lib/ssl/doc/src/ssl.xml
lib/ssl/src/ssl.erl
|
|
|
|
|
|
The net module uses socket, but when the system has
been built with --disable-esock, there is no socket...
|
|
|
|
Forgot about using 'otp_build update_preloaded --no-commit'
when updating the preloaded and compiled with plain erlc...
Caused problems for dyalizer...
OTP-15658
|
|
OTP-15658
|
|
The config options --[en|dis]able-esock now works as
expected.
|
|
The optional socket module is now not included in
the app file if esock is not enabled.
OTP-15658
|
|
The SASL file systools_make has a hardcoded list of the
preloaded modules (yuck). This now can handle that the
socket module has been disabled (this is temporary).
OTP-15658
|