Commit graph

172 commits

Author SHA1 Message Date
wiz
84e123ddd2 Bump PKGREVISIONs for perl 5.30.0 2019-08-11 13:17:48 +00:00
jperkin
2a4591b17a erlang: Restore SunOS -shared fix lost in previous update. 2019-08-08 11:42:23 +00:00
nia
8fd3fa1b83 erlang: Update to 22.0.7
Erlang/OTP 22 is a new major release with new features and improvements as well as incompatibilities.

For a deeper dive into the hightligts of the OTP 22 release, you can read our blog here:

http://blog.erlang.org/OTP-22-Highlights/

Potential Incompatibilities

    gen_* behaviours: If logging of the last N messages through sys:log/2,3 is active for the server, this log is included in the terminate report.
    reltool: A new element, Opts, can now be included in a rel tuple in the reltool release specific configuration format: {rel, Name, Vsn, RelApps, Opts}.
    All external pids/ports/refs created by erlang:list_to_pid and similar functions now compare equal to any other pid/port/ref with same number from that node.
    The old legacy erl_interface library is deprecated as of OTP 22, and will be removed in OTP 23. This does not apply to the ei library.
    VxWorks is deprecated as of OTP 22 and will be removed in OTP 23.

Erts:

    Support for Erlang Distribution protocol to split the payload of large signals into several fragments.
    ETS option write_concurrency now also effects and improves scalability of ordered_set tables.
    The length/1 BIF used to calculate the length of the list in one go without yielding, even if the list was very long. Now it yields when called with long lists.
    A new (still experimental) module socket is introduced. It is implemented as a NIF and the idea is that it shall be as "close as possible" to the OS level socket interface.
    Added the NIF function enif_term_type, which helps avoid long sequences of enif_is_xyz by returning the type of the given term. This is especially helpful for NIFs that serialize terms, such as JSON encoders, where it can improve both performance and readability.

Compiler:

    The compiler has been rewritten to internally use an intermediate representation based on Static Single Assignment (SSA). The new intermediate representation makes more optimizations possible.
        The binary matching optimizations are now applicable in many more circumstances than before.
        Type optimizations are now applied across local function calls, and will remove a lot more redundant type tests than before.
    All compiler options that can be given in the source file can now be given in the option list on the command line for erlc.
    In OTP 22, HiPE (the native code compiler) is not fully functional. The reasons for this are new BEAM instructions for binary matching that the HiPE native code compiler does not support. If erlc is invoked with the +native option, and if any of the new binary matching instructions are used, the compiler will issue a warning and produce a BEAM file without native code.

Standard libraries:

    Cover now uses the counters module instead of ets for updating counters. The new function cover:local_only/0 allows running Cover in a restricted but faster local-only mode. The increase in speed will vary depending on the type of code being cover-compiled, as an example the compiler test suite runs more than twice as fast with the new Cover.
    A simple socket API is provided through the socket module. This is a low level API that does *not* replace gen_[tcp|udp|sctp]. It is intended to *eventually* replace the inet driver. It also provides a basic API that facilitates the implementation of other protocols than TCP, UDP and SCTP. Known issues are; No support for the Windows OS (currently), a small term leakage. This feature will be classed as experimental in OTP 22.
    SSL: now uses the new logger API, including log levels and verbose debug logging.
    SSL: Basic support for TLS 1.3 Server for experimental use.
    crypto: The new hash_info/1 and cipher_info/1 functions returns maps with information about the hash or cipher in the argument.
2019-08-01 11:43:00 +00:00
nia
b1c5ff7de7 Use https for erlang.org 2019-07-03 07:26:36 +00:00
nia
3cf4a5b37f lang/erlang: Add m4 to USE_TOOLS when erlang-hipe is enabled. 2019-05-05 21:09:11 +00:00
nia
a4a9373357 lang/erlang: Update to 21.3.6
Highlights from erlang 21.2 to 21.3:

    Kernel:
        The standard logger handler, logger_std_h, now has a new internal
        feature for log rotation. For full information see the documentation.

    SSL:
        The Reason part of the error return from the functions connect and
        handshake has a better and documented format. This is a potential
        incompatibility. See the documentation.
        Refactoring of state handling has improved the TLS application data
        throughput and reduced CPU overhead
        Code optimizations has reduced CPU load for encryption/decryption,
        especially for Erlang's distribution protocol over TLS
        Now supports active N

    Erl_interface:
        Support for plugin of a user supplied socket implementation has been added.

    OTP:
        The HTML reference documentation now shows the OTP version where
        modules and functions were first introduced. Versions of OTP older than R13B04 is not shown in the reference
        documentation
2019-04-23 18:47:16 +00:00
gutteridge
b256b29974 erlang: fix minor typo in Makefile 2019-03-20 01:25:48 +00:00
nia
839ee1d3ee erlang: Update to 21.2.6
Changes:

 ---------------------------------------------------------------------
 --- erts-10.2.4 -----------------------------------------------------
 ---------------------------------------------------------------------

 --- Fixed Bugs and Malfunctions ---

  OTP-14728    Application(s): erts
               Related Id(s): ERIERL-303

               When using the {linger,{true,T}} option;
               gen_tcp:listen/2 used the full linger time before
               returning for example eaddrinuse. This bug has now been
               corrected.

 ---------------------------------------------------------------------
 --- stdlib-3.7.1 ----------------------------------------------------
 ---------------------------------------------------------------------

 --- Fixed Bugs and Malfunctions ---

  OTP-15573    Application(s): stdlib
               Related Id(s): ERIERL-306

               Optimize pretty printing of terms. The slower behaviour
               was introduced in Erlang/OTP 20.
2019-02-25 12:17:24 +00:00
nia
362e463d4f erlang: Update to 21.2.5
Changes:

 ---------------------------------------------------------------------
 --- inets-7.0.5 -----------------------------------------------------
 ---------------------------------------------------------------------

 The inets-7.0.5 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15554    Application(s): inets
               Related Id(s): ERIERL-289

               Fixed bug that causes a crash in http client when using
               hostnames (e.g. localhost) with the the option
               ipv6_host_with_brackets set to true.

               This change also fixes a regression: httpc:request
               fails with connection error (nxdomain) if option
               ipv6_host_with_brackets set to true and host component
               of the URI is an IPv6 address.


 Full runtime dependencies of inets-7.0.5: erts-6.0, kernel-3.0,
 mnesia-4.12, runtime_tools-1.8.14, ssl-5.3.4, stdlib-3.5


 ---------------------------------------------------------------------
 ---------------------------------------------------------------------
 ---------------------------------------------------------------------
2019-02-13 11:54:18 +00:00
nia
b2d380da38 erlang: Update to 21.2.4.
Changes:

 ---------------------------------------------------------------------
 --- erts-10.2.3 -----------------------------------------------------
 ---------------------------------------------------------------------

 Note! The erts-10.2.3 application can *not* be applied independently
       of other applications on an arbitrary OTP 21 installation.

       On a full OTP 21 installation, also the following runtime
       dependencies have to be satisfied:
       -- kernel-6.1 (first satisfied in OTP 21.1)
       -- sasl-3.3 (first satisfied in OTP 21.2)


 --- Fixed Bugs and Malfunctions ---

  OTP-15536    Application(s): erts
               Related Id(s): ERL-827

               Fix bug where doing a gen_tcp:send on a socket with
               delay_send set to true could cause a segfault if the
               other side closes the connection.

               Bug was introduced in erts-10.2 (OTP-21.2).


  OTP-15537    Application(s): erts

               Fix a race condition when a port program closes that
               could result in the next started port to hang during
               startup.

               When this fault happens the following error is normally
               (but not always) logged:

               =ERROR REPORT==== 14-Jan-2019::10:45:52.868246 ===
               Bad input fd in erts_poll()! fd=11, port=#Port<0.505>,
               driver=spawn, name=/bin/sh -s unix:cmd

               Bug was introduced in erts-10.0 (OTP-21.0).


  OTP-15538    Application(s): erts
               Related Id(s): ERIERL-229

               Fix a bug where polling for external events could be
               delayed for a very long time if all active schedulers
               were 100% loaded.

               Bug was introduced in erts-10.2 (OTP-21.2).


 Full runtime dependencies of erts-10.2.3: kernel-6.1, sasl-3.3,
 stdlib-3.5


 ---------------------------------------------------------------------
 --- inets-7.0.4 -----------------------------------------------------
 ---------------------------------------------------------------------

 The inets-7.0.4 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15544    Application(s): inets
               Related Id(s): ERIERL-289

               Make sure ipv6 addresses with brackets in URIs are
               converted correctly before passing to lower level
               functions like gen_tcp and ssl functions. Could cause
               connection to fail.


 Full runtime dependencies of inets-7.0.4: erts-6.0, kernel-3.0,
 mnesia-4.12, runtime_tools-1.8.14, ssl-5.3.4, stdlib-3.5


 ---------------------------------------------------------------------
 ---------------------------------------------------------------------
 ---------------------------------------------------------------------
2019-01-26 21:08:11 +00:00
nia
f03db536f9 erlang: Update to version OTP-21.2.3. Should fix non-hipe builds...
---------------------------------------------------------------------
 --- compiler-7.3.1 --------------------------------------------------
 ---------------------------------------------------------------------

 The compiler-7.3.1 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15501    Application(s): compiler
               Related Id(s): ERL-514, ERL-807, OTP-14808

               An optimization that avoided allocation of a stack
               frame for some case expressions was introduced in OTP
               21. (ERL-504/OTP-14808) It turns out that in rare
               circumstances, this optimization is not safe.
               Therefore, this optimization has been disabled.

               A similar optimization will be included in OTP 22 in a
               safe way.


 Full runtime dependencies of compiler-7.3.1: crypto-3.6, erts-9.0,
 hipe-3.12, kernel-4.0, stdlib-2.5


 ---------------------------------------------------------------------
 --- erts-10.2.2 -----------------------------------------------------
 ---------------------------------------------------------------------

 Note! The erts-10.2.2 application can *not* be applied independently
       of other applications on an arbitrary OTP 21 installation.

       On a full OTP 21 installation, also the following runtime
       dependencies have to be satisfied:
       -- kernel-6.1 (first satisfied in OTP 21.1)
       -- sasl-3.3 (first satisfied in OTP 21.2)


 --- Fixed Bugs and Malfunctions ---

  OTP-15495    Application(s): erts
               Related Id(s): ERL-821

               Fixed a crash when dangling files were closed after
               init:restart/0.


  OTP-15509    Application(s): erts
               Related Id(s): PR-2027, PR-2093

               A bug that could cause dirty schedulers to become
               unresponsive has been fixed.


 Full runtime dependencies of erts-10.2.2: kernel-6.1, sasl-3.3,
 stdlib-3.5


 ---------------------------------------------------------------------
 --- ssl-9.1.2 -------------------------------------------------------
 ---------------------------------------------------------------------

 The ssl-9.1.2 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15477    Application(s): ssl
               Related Id(s): ERL-790

               Fix encoding of the SRP extension length field in ssl.
               The old encoding of the SRP extension length could
               cause interoperability problems with third party SSL
               implementations when SRP was used.


  OTP-15504    Application(s): ssl
               Related Id(s): ERL-371

               Guarantee active once data delivery, handling TCP
               stream properly.


  OTP-15505    Application(s): ssl

               Correct gen_statem returns for some error cases


 Full runtime dependencies of ssl-9.1.2: crypto-4.2, erts-10.0,
 inets-5.10.7, kernel-6.0, public_key-1.5, stdlib-3.5


 ---------------------------------------------------------------------
 --- xmerl-1.3.19 ----------------------------------------------------
 ---------------------------------------------------------------------

 The xmerl-1.3.19 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15492    Application(s): xmerl
               Related Id(s): ERIERL-283

               The charset detection parsing crash in some cases when
               the XML directive is not syntactic correct.


 Full runtime dependencies of xmerl-1.3.19: erts-6.0, kernel-3.0,
 stdlib-2.5


 ---------------------------------------------------------------------
 ---------------------------------------------------------------------
 ---------------------------------------------------------------------
2019-01-22 00:07:35 +00:00
nia
a4ebe5a27a erlang: Remove hipe from main PLIST. 2019-01-11 11:19:46 +00:00
nia
84e28b47f8 lang/erlang: Update to 21.2.2
---------------------------------------------------------------------
 --- erts-10.2.1 -----------------------------------------------------
 ---------------------------------------------------------------------

 Note! The erts-10.2.1 application can *not* be applied independently
       of other applications on an arbitrary OTP 21 installation.

       On a full OTP 21 installation, also the following runtime
       dependencies have to be satisfied:
       -- kernel-6.1 (first satisfied in OTP 21.1)
       -- sasl-3.3 (first satisfied in OTP 21.2)


 --- Fixed Bugs and Malfunctions ---

  OTP-15485    Application(s): erts

               Fixed bug on big endian architectures when changing
               file permissions or ownership with file:change_mode,
               change_owner, change_group or write_file_info. Bug
               exists since OTP-21.0.


  OTP-15486    Application(s): erts
               Related Id(s): PR-2061

               Fixed bug in atomics with option {signed,false} when
               returned values are (1 bsl 63) or larger. Could cause
               heap corruption leading to VM crash or other unpleasant
               symptoms. Bug exists since OTP-21.2 when module atomics
               was introduced.


  OTP-15487    Application(s): erts
               Related Id(s): ERL-804

               Fixed bug in operator band of two negative operands
               causing erroneous result if the absolute value of one
               of the operands have the lowest N*W bits as zero and
               the other absolute value is not larger than N*W bits. N
               is an integer of 1 or larger and W is 32 or 64
               depending on word size.


 Full runtime dependencies of erts-10.2.1: kernel-6.1, sasl-3.3,
 stdlib-3.5


 ---------------------------------------------------------------------
 --- ssl-9.1.1 -------------------------------------------------------
 ---------------------------------------------------------------------

 The ssl-9.1.1 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15489    Application(s): ssl
               Related Id(s): ERL-308

               Fixed renegotiation bug. Client did not handle server
               initiated renegotiation correctly after rewrite to two
               connection processes, due to ERL-622 commit
               d87ac1c55188f5ba5cdf72384125d94d42118c18. This could
               manifest it self as a " bad_record_mac" alert.

               Also included are some optimizations


 Full runtime dependencies of ssl-9.1.1: crypto-4.2, erts-10.0,
 inets-5.10.7, kernel-6.0, public_key-1.5, stdlib-3.5


 ---------------------------------------------------------------------
 ---------------------------------------------------------------------
 ---------------------------------------------------------------------


 ---------------------------------------------------------------------
 --- ssh-4.7.3 -------------------------------------------------------
 ---------------------------------------------------------------------

 The ssh-4.7.3 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15397    Application(s): ssh
               Related Id(s): ERL-801

               Fixed port leakage if a ssh:daemon call failed.


 Full runtime dependencies of ssh-4.7.3: crypto-4.2, erts-6.0,
 kernel-3.0, public_key-1.5.2, stdlib-3.3


 ---------------------------------------------------------------------
 ---------------------------------------------------------------------
 ---------------------------------------------------------------------
2019-01-04 00:03:21 +00:00
nia
84371f0c9c erlang: update PLIST. 2019-01-03 23:14:26 +00:00
nia
848929c85f lang/erlang: Update to 21.2
---------------------------------------------------------------------
 --- HIGHLIGHTS ------------------------------------------------------
 ---------------------------------------------------------------------

  OTP-13468    Application(s): erts, sasl

               New counters and atomics modules supplies access to
               highly efficient operations on mutable fixed word sized
               variables.


  OTP-14669    Application(s): erts
               Related Id(s): PR-1989

               There is a new module persistent_term that implements a
               term storage suitable for terms that are frequently
               used but never or infrequently updated. Lookups are
               done in constant time without copying the terms.


  OTP-15094    Application(s): ssh
               Related Id(s): OTP-15419

               Added public key methods ssh-ed25519 and ssh-ed448.

               Requires OpenSSL 1.1.1 or higher as cryptolib under the
               OTP application crypto.


  OTP-15449    Application(s): ssl

               *** POTENTIAL INCOMPATIBILITY ***

               ssl now uses active n internally to boost performance.
               Old active once behavior can be restored by setting
               application variable see manual page for ssl
               application (man 6).


  OTP-15475    Application(s): erts
               Related Id(s): ERIERL-229

               Add a new pollset that is made to handle sockets that
               use {active, true} or {active, N}. The new pollset will
               not be polled by a pollthread, but instead polled by a
               normal scheduler.

               This change was made because of the overhead associated
               with constantly having to re-apply the ONESHOT
               mechanism on fds that all input events were
               interesting.

               The new pollset is only active on platforms that
               support concurrent kernel poll updates, i.e. Linux and
               BSD.


 ---------------------------------------------------------------------
 --- POTENTIAL INCOMPATIBILITIES -------------------------------------
 ---------------------------------------------------------------------

  OTP-15364    Application(s): kernel

               A new function, logger:update_handler_config/3 is
               added, and the handler callback changing_config now has
               a new argument, SetOrUpdate, which indicates if the
               configuration change comes from set_handler_config/2,3
               or update_handler_config/2,3.

               This allows the handler to consistently merge the new
               configuration with the old (if the change comes from
               update_handler_config/2,3) or with the default (if the
               change comes from set_handler_config/2,3).

               The built-in handlers logger_std_h and
               logger_disk_log_h are updated accordingly. A bug which
               could cause inconsistency between the handlers'
               internal state and the stored configuration is also
               corrected.


  OTP-15449    Application(s): ssl

               *** HIGHLIGHT ***

               ssl now uses active n internally to boost performance.
               Old active once behavior can be restored by setting
               application variable see manual page for ssl
               application (man 6).


 ---------------------------------------------------------------------
 --- asn1-5.0.8 ------------------------------------------------------
 ---------------------------------------------------------------------

 The asn1-5.0.8 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15470    Application(s): asn1
               Related Id(s): ERIERL-278

               Handle erroneous length during decode (BER only)
               without crashing.


 Full runtime dependencies of asn1-5.0.8: erts-7.0, kernel-3.0,
 stdlib-2.0


 ---------------------------------------------------------------------
 --- compiler-7.3 ----------------------------------------------------
 ---------------------------------------------------------------------

 The compiler-7.3 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15400    Application(s): compiler
               Related Id(s): ERL-759

               Fixed a rare internal consistency failure caused by a
               bug in the beam_jump pass. (Thanks to Simon Cornish for
               reporting this bug.)


  OTP-15435    Application(s): compiler
               Related Id(s): ERL-778

               The compiler could fail with an internal consistency
               check failure when compiling code that used the
               is_function/2 BIF.


  OTP-15437    Application(s): compiler, stdlib
               Related Id(s): ERL-762

               When an external fun was used, warnings for unused
               variables could be suppressed.


  OTP-15481    Application(s): compiler

               The compiler would crash when compiling an after block
               that called erlang:raise/3 like this:
               erlang:raise(Class, Stacktrace, Stacktrace)


 --- Improvements and New Features ---

  OTP-15245    Application(s): compiler, stdlib
               Related Id(s): ERL-706

               When specified, the +{source,Name} option will now
               override the actual file name in stack traces, instead
               of only affecting the return value of
               Mod:module_info().

               The +deterministic flag will also affect stack traces
               now, omitting all path information except the file
               name, fixing a long-standing issue where deterministic
               builds required deterministic paths.


 Full runtime dependencies of compiler-7.3: crypto-3.6, erts-9.0,
 hipe-3.12, kernel-4.0, stdlib-2.5


 ---------------------------------------------------------------------
 --- crypto-4.4 ------------------------------------------------------
 ---------------------------------------------------------------------

 The crypto-4.4 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15302    Application(s): crypto

               Updated the RSA options part in the crypto
               application's C-code, documentation and tests.


 --- Improvements and New Features ---

  OTP-15419    Application(s): crypto, public_key
               Related Id(s): OTP-15094

               Added ed25519 and ed448 sign/verify.

               Requires OpenSSL 1.1.1 or higher as cryptolib under the
               OTP application crypto.


  OTP-15467    Application(s): crypto

               Fixed valgrind warnings.


 Full runtime dependencies of crypto-4.4: erts-9.0, kernel-5.3,
 stdlib-3.4


 ---------------------------------------------------------------------
 --- erts-10.2 -------------------------------------------------------
 ---------------------------------------------------------------------

 Note! The erts-10.2 application can *not* be applied independently of
       other applications on an arbitrary OTP 21 installation.

       On a full OTP 21 installation, also the following runtime
       dependencies have to be satisfied:
       -- kernel-6.1 (first satisfied in OTP 21.1)
       -- sasl-3.3 (first satisfied in OTP 21.2)


 --- Fixed Bugs and Malfunctions ---

  OTP-12242    Application(s): erts
               Related Id(s): ERL-561

               When a process was waiting for a TCP socket send
               operation to complete, and another process closed the
               socket during that send, the sending process could
               hang. This bug has now been corrected.


  OTP-15343    Application(s): erts, stdlib
               Related Id(s): PR-1962

               Document bit_size in match specifications and allow it
               in ets:fun2ms.


  OTP-15346    Application(s): erts

               Fixed bug in ets:select_replace when called with a
               fully bound key could cause a following call to
               ets:next or ets:prev to crash the emulator or return
               invalid result.


  OTP-15360    Application(s): erts

               When a module has been purged from memory, any literals
               belonging to that module will be copied to all
               processes that hold references to them. The max heap
               size limit would be ignored in the garbage collection
               initiated when copying literals to a process. If the
               max heap size was exceeded, the process would typically
               be terminated in the following garbage collection.
               Corrected to terminate the process directly if copying
               a literal would exceed the max heap size.


  OTP-15389    Application(s): erts

               Fix compilation of run_erl on Solaris 11.4 and later.


  OTP-15436    Application(s): erts

               Fixed a bug where lists:reverse/1-2 could use far too
               many reductions. This bug was introduced in OTP 21.1.


  OTP-15446    Application(s): erts
               Related Id(s): PR-2024

               Fixed a bug where a dirty scheduler could stay awake
               forever if a distribution entry was removed as part of
               a dirty GC.


  OTP-15450    Application(s): erts
               Related Id(s): ERIERL-229

               Fix microstate accounting handing in various places.
               Most importantly the GC states when the GC is run on a
               dirty scheduler are now managed correctly.


  OTP-15461    Application(s): erts
               Related Id(s): ERL-784

               Fixed bug in file:sendfile when the send operation
               failed. For sockets in active modes it could cause
               emulator crash or a hanging call. For sockets with
               {active,false} an unexpected {inet_reply, _, _} message
               could be sent to the calling process. The bug exists
               since OTP-21.0.


  OTP-15465    Application(s): erts

               The erts configure script has been updated to reject
               any CFLAGS that does not have -O. This in order to
               prevent the common mistake of forgetting to add -O2 to
               custom CFLAGS.


  OTP-15474    Application(s): erts, stdlib
               Related Id(s): ERIERL-229

               Fix reduction count in lists:member/2


 --- Improvements and New Features ---

  OTP-13468    Application(s): erts, sasl

               *** HIGHLIGHT ***

               New counters and atomics modules supplies access to
               highly efficient operations on mutable fixed word sized
               variables.


  OTP-14669    Application(s): erts
               Related Id(s): PR-1989

               *** HIGHLIGHT ***

               There is a new module persistent_term that implements a
               term storage suitable for terms that are frequently
               used but never or infrequently updated. Lookups are
               done in constant time without copying the terms.


  OTP-15121    Application(s): erts, kernel
               Related Id(s): ERIERL-189, PR-1974

               A function inet:getifaddrs/1 that takes a list with a
               namespace option has been added, for platforms that
               support that feature, for example Linux (only?).


  OTP-15357    Application(s): erts, kernel
               Related Id(s): ERL-698

               Added the nopush option for TCP sockets, which
               corresponds to TCP_NOPUSH on *BSD and TCP_CORK on
               Linux.

               This is also used internally in file:sendfile to reduce
               latency on subsequent send operations.


  OTP-15371    Application(s): erts, stdlib

               List subtraction (The -- operator) will now yield
               properly on large inputs.


  OTP-15471    Application(s): erts, kernel
               Related Id(s): ERIERL-229

               Optimize handling of send_delay for tcp sockes to
               better work with the new pollthread implementation
               introduced in OTP-21.


  OTP-15472    Application(s): erts
               Related Id(s): ERIERL-229

               Optimize driver_set_timer with a zero timeout to
               short-circuit and not create any timer structure, but
               instead schedule the timer immediately.


  OTP-15473    Application(s): erts
               Related Id(s): ERIERL-229

               Add erl_xcomp_code_model_small as a cross configure
               variable in order to let the emulator be build with the
               assumption that a small code model will be used on the
               target machine.


  OTP-15475    Application(s): erts
               Related Id(s): ERIERL-229

               *** HIGHLIGHT ***

               Add a new pollset that is made to handle sockets that
               use {active, true} or {active, N}. The new pollset will
               not be polled by a pollthread, but instead polled by a
               normal scheduler.

               This change was made because of the overhead associated
               with constantly having to re-apply the ONESHOT
               mechanism on fds that all input events were
               interesting.

               The new pollset is only active on platforms that
               support concurrent kernel poll updates, i.e. Linux and
               BSD.


  OTP-15478    Application(s): erts
               Related Id(s): ERL-741

               Fix bug where emulator would segfault if a literal
               message was sent when sequence tracing was enabled.


 Full runtime dependencies of erts-10.2: kernel-6.1, sasl-3.3,
 stdlib-3.5


 ---------------------------------------------------------------------
 --- et-1.6.4 --------------------------------------------------------
 ---------------------------------------------------------------------

 The et-1.6.4 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15463    Application(s): et
               Related Id(s): ERL-780

               The scroll bar of the et_viewer window could not be
               dragged all the way to the top of the window. It would
               always stop at the second event. This is now corrected.


 Full runtime dependencies of et-1.6.4: erts-9.0, kernel-5.3,
 runtime_tools-1.10, stdlib-3.4, wx-1.2


 ---------------------------------------------------------------------
 --- hipe-3.18.2 -----------------------------------------------------
 ---------------------------------------------------------------------

 The hipe-3.18.2 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Improvements and New Features ---

  OTP-15482    Application(s): hipe

               The code was updated to avoid causing a dialyzer
               warning because of a tightened spec for
               beam_lib:info/1.


 Full runtime dependencies of hipe-3.18.2: compiler-5.0, erts-9.3,
 kernel-5.3, stdlib-3.4, syntax_tools-1.6.14


 ---------------------------------------------------------------------
 --- inets-7.0.3 -----------------------------------------------------
 ---------------------------------------------------------------------

 The inets-7.0.3 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15338    Application(s): inets
               Related Id(s): ERL-733

               Fixed http client to not send 'content-length' header
               in chunked encoded requests.


  OTP-15339    Application(s): inets
               Related Id(s): ERL-736

               Fixed http client to not drop explicit 'Content-Type'
               header in requests without a body such as requests with
               the 'Content-Type' of
               application/x-www-form-urlencoded.


 Full runtime dependencies of inets-7.0.3: erts-6.0, kernel-3.0,
 mnesia-4.12, runtime_tools-1.8.14, ssl-5.3.4, stdlib-3.5


 ---------------------------------------------------------------------
 --- kernel-6.2 ------------------------------------------------------
 ---------------------------------------------------------------------

 Note! The kernel-6.2 application can *not* be applied independently
       of other applications on an arbitrary OTP 21 installation.

       On a full OTP 21 installation, also the following runtime
       dependency has to be satisfied:
       -- erts-10.1 (first satisfied in OTP 21.1)


 --- Fixed Bugs and Malfunctions ---

  OTP-15364    Application(s): kernel

               *** POTENTIAL INCOMPATIBILITY ***

               A new function, logger:update_handler_config/3 is
               added, and the handler callback changing_config now has
               a new argument, SetOrUpdate, which indicates if the
               configuration change comes from set_handler_config/2,3
               or update_handler_config/2,3.

               This allows the handler to consistently merge the new
               configuration with the old (if the change comes from
               update_handler_config/2,3) or with the default (if the
               change comes from set_handler_config/2,3).

               The built-in handlers logger_std_h and
               logger_disk_log_h are updated accordingly. A bug which
               could cause inconsistency between the handlers'
               internal state and the stored configuration is also
               corrected.


  OTP-15388    Application(s): kernel
               Related Id(s): PR-1983

               Fix fallback when custom erl_epmd client does not
               implement address_please.


  OTP-15453    Application(s): kernel
               Related Id(s): ERL-782

               The logger ets table did not have the read_concurrency
               option. This is now added.


  OTP-15466    Application(s): kernel
               Related Id(s): ERL-788

               During system start, logger has a simple handler which
               prints to stdout. After the kernel supervision is
               started, this handler is removed and replaced by the
               default handler. Due to a bug, logger earlier issued a
               debug printout saying it received an unexpected
               message, which was the EXIT message from the simple
               handler's process. This is now corrected. The simple
               handler's process now unlinks from the logger process
               before terminating.


  OTP-15469    Application(s): kernel

               The logger handler logger_std_h would not re-create
               it's log file if it was removed. Due to this it could
               not be used with tools like 'logrotate'. This is now
               corrected.


 --- Improvements and New Features ---

  OTP-15121    Application(s): erts, kernel
               Related Id(s): ERIERL-189, PR-1974

               A function inet:getifaddrs/1 that takes a list with a
               namespace option has been added, for platforms that
               support that feature, for example Linux (only?).


  OTP-15357    Application(s): erts, kernel
               Related Id(s): ERL-698

               Added the nopush option for TCP sockets, which
               corresponds to TCP_NOPUSH on *BSD and TCP_CORK on
               Linux.

               This is also used internally in file:sendfile to reduce
               latency on subsequent send operations.


  OTP-15471    Application(s): erts, kernel
               Related Id(s): ERIERL-229

               Optimize handling of send_delay for tcp sockes to
               better work with the new pollthread implementation
               introduced in OTP-21.


 Full runtime dependencies of kernel-6.2: erts-10.1, sasl-3.0,
 stdlib-3.5


 ---------------------------------------------------------------------
 --- observer-2.8.2 --------------------------------------------------
 ---------------------------------------------------------------------

 The observer-2.8.2 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15365    Application(s): observer
               Related Id(s): ERL-722

               Literals such as #{"one"=>1} dumped to a crash dump
               would cause crashdump_viewer to crash.


  OTP-15377    Application(s): observer

               crashdump_viewer would sometimes crash when processing
               a dump which was truncated in the literals area. This
               is now corrected.


  OTP-15391    Application(s): observer

               Since OTP-20.2, crashdump_viewer was very slow when
               opening a crash dump with many processes. An ets:select
               per process could be removed, which improved the
               performance a lot.

               A bug when parsing heap data in a crashdump caused
               crashdump_viewer to crash when multiple Yc lines
               referenced the same reference counted binary. This is
               now corrected.


 Full runtime dependencies of observer-2.8.2: erts-7.0, et-1.5,
 kernel-3.0, runtime_tools-1.8.14, stdlib-3.5, wx-1.2


 ---------------------------------------------------------------------
 --- os_mon-2.4.7 ----------------------------------------------------
 ---------------------------------------------------------------------

 The os_mon-2.4.7 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15387    Application(s): os_mon
               Related Id(s): PR-1966

               Due to /proc restrictions in newer Android releases
               enforced by SELinux, cpu_sup is fixed so that it gets
               some basic CPU stats using the sysinfo syscall rather
               than reading /proc/loadavg.


 Full runtime dependencies of os_mon-2.4.7: erts-6.0, kernel-3.0,
 mnesia-4.12, otp_mibs-1.0.9, sasl-2.4, snmp-4.25.1, stdlib-2.0


 ---------------------------------------------------------------------
 --- public_key-1.6.4 ------------------------------------------------
 ---------------------------------------------------------------------

 The public_key-1.6.4 application can be applied independently of
 other applications on a full OTP 21 installation.

 --- Improvements and New Features ---

  OTP-15419    Application(s): crypto, public_key
               Related Id(s): OTP-15094

               Added ed25519 and ed448 sign/verify.

               Requires OpenSSL 1.1.1 or higher as cryptolib under the
               OTP application crypto.


 Full runtime dependencies of public_key-1.6.4: asn1-3.0, crypto-3.8,
 erts-6.0, kernel-3.0, stdlib-3.5


 ---------------------------------------------------------------------
 --- reltool-0.7.8 ---------------------------------------------------
 ---------------------------------------------------------------------

 The reltool-0.7.8 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15454    Application(s): reltool

               Reltool would earlier erroneously split paths like
               "c:\foo" into ["c","\foo"] when reading the $ERL_LIBS
               variable on windows. This is now corrected.


 Full runtime dependencies of reltool-0.7.8: erts-7.0, kernel-3.0,
 sasl-2.4, stdlib-3.4, tools-2.6.14, wx-1.2


 ---------------------------------------------------------------------
 --- sasl-3.3 --------------------------------------------------------
 ---------------------------------------------------------------------

 Note! The sasl-3.3 application can *not* be applied independently of
       other applications on an arbitrary OTP 21 installation.

       On a full OTP 21 installation, also the following runtime
       dependency has to be satisfied:
       -- erts-10.2 (first satisfied in OTP 21.2)


 --- Improvements and New Features ---

  OTP-13468    Application(s): erts, sasl

               *** HIGHLIGHT ***

               New counters and atomics modules supplies access to
               highly efficient operations on mutable fixed word sized
               variables.


 Full runtime dependencies of sasl-3.3: erts-10.2, kernel-5.3,
 stdlib-3.4, tools-2.6.14


 ---------------------------------------------------------------------
 --- ssh-4.7.2 -------------------------------------------------------
 ---------------------------------------------------------------------

 The ssh-4.7.2 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15413    Application(s): ssh

               Incompatibility with newer OpenSSH fixed. Previously
               versions 7.8 and later could cause Erlang SSH to exit.


  OTP-15416    Application(s): ssh

               The 'exec' option for ssh daemons had wrong format in
               the documentation.


 --- Improvements and New Features ---

  OTP-15094    Application(s): ssh
               Related Id(s): OTP-15419

               *** HIGHLIGHT ***

               Added public key methods ssh-ed25519 and ssh-ed448.

               Requires OpenSSL 1.1.1 or higher as cryptolib under the
               OTP application crypto.


  OTP-15312    Application(s): ssh

               The SSH property tests are now adapted to the PropEr
               testing tool.


  OTP-15314    Application(s): ssh

               The term "user" was not documented in the SSH app. A
               new chapter with terminology is added to the User's
               Manual where the term "user" is defined.

               A reference manual page about the module ssh_file is
               also added. This is the default callback module for
               user's keys, host keys etc.


  OTP-15424    Application(s): ssh

               Host and user key checking is made more robust.


 Full runtime dependencies of ssh-4.7.2: crypto-4.2, erts-6.0,
 kernel-3.0, public_key-1.5.2, stdlib-3.3


 ---------------------------------------------------------------------
 --- ssl-9.1 ---------------------------------------------------------
 ---------------------------------------------------------------------

 The ssl-9.1 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15368    Application(s): ssl

               PEM cache was not evicting expired entries due to due
               to timezone confusion.


  OTP-15384    Application(s): ssl
               Related Id(s): ERL-756

               Make sure an error is returned if a "transport_accept
               socket" is used in some other call than ssl:handshake*
               or ssl:controlling_process


  OTP-15402    Application(s): ssl

               Fix timestamp handling in the PEM-cache could cause
               entries to not be invalidated at the correct time.


  OTP-15412    Application(s): ssl
               Related Id(s): ERL-731

               Extend check for undelivered data at closing, could
               under some circumstances fail to deliver all data that
               was actually received.


  OTP-15415    Application(s): ssl
               Related Id(s): ERL-763

               Correct signature check for TLS-1.2 that allows
               different algorithms for signature of peer cert and
               peer cert key. Not all allowed combinations where
               accepted.


  OTP-15418    Application(s): ssl
               Related Id(s): ERL-770

               Correct gen_statem return value, could cause
               renegotiation to fail.


 --- Improvements and New Features ---

  OTP-15420    Application(s): ssl
               Related Id(s): ERIERL-268

               Add engine support for RSA key exchange


  OTP-15449    Application(s): ssl

               *** HIGHLIGHT ***

               *** POTENTIAL INCOMPATIBILITY ***

               ssl now uses active n internally to boost performance.
               Old active once behavior can be restored by setting
               application variable see manual page for ssl
               application (man 6).


 Full runtime dependencies of ssl-9.1: crypto-4.2, erts-10.0,
 inets-5.10.7, kernel-6.0, public_key-1.5, stdlib-3.5


 ---------------------------------------------------------------------
 --- stdlib-3.7 ------------------------------------------------------
 ---------------------------------------------------------------------

 The stdlib-3.7 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15343    Application(s): erts, stdlib
               Related Id(s): PR-1962

               Document bit_size in match specifications and allow it
               in ets:fun2ms.


  OTP-15378    Application(s): stdlib
               Related Id(s): ERL-696

               The beam() type in beam_lib is defined as module() |
               file:filename() | binary(). The module() is misleading.
               Giving the module name as an atom will only work if the
               BEAM file is in a current directory.

               To avoid confusion, module() has been removed from the
               type. That means that there will be a Dialyzer warning
               for code that call beam_lib with an atom as filename,
               but the calls will still work.


  OTP-15428    Application(s): stdlib
               Related Id(s): ERL-777

               unicode_util crashed on certain emoji grapheme clusters
               in binary strings.


  OTP-15437    Application(s): compiler, stdlib
               Related Id(s): ERL-762

               When an external fun was used, warnings for unused
               variables could be suppressed.


  OTP-15474    Application(s): erts, stdlib
               Related Id(s): ERIERL-229

               Fix reduction count in lists:member/2


 --- Improvements and New Features ---

  OTP-15245    Application(s): compiler, stdlib
               Related Id(s): ERL-706

               When specified, the +{source,Name} option will now
               override the actual file name in stack traces, instead
               of only affecting the return value of
               Mod:module_info().

               The +deterministic flag will also affect stack traces
               now, omitting all path information except the file
               name, fixing a long-standing issue where deterministic
               builds required deterministic paths.


  OTP-15371    Application(s): erts, stdlib

               List subtraction (The -- operator) will now yield
               properly on large inputs.


  OTP-15464    Application(s): stdlib

               calendar:system_time_to_rfc3339/1,2 no longer remove
               trailing zeros from fractions.


 Full runtime dependencies of stdlib-3.7: compiler-5.0, crypto-3.3,
 erts-10.0, kernel-6.0, sasl-3.0


 ---------------------------------------------------------------------
 --- tools-3.0.2 -----------------------------------------------------
 ---------------------------------------------------------------------

 The tools-3.0.2 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Improvements and New Features ---

  OTP-15476    Application(s): tools

               Remove emacs warnings and added more tests.


 Full runtime dependencies of tools-3.0.2: compiler-5.0, erts-9.1,
 kernel-5.4, runtime_tools-1.8.14, stdlib-3.4


 ---------------------------------------------------------------------
 --- wx-1.8.6 --------------------------------------------------------
 ---------------------------------------------------------------------

 The wx-1.8.6 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15426    Application(s): wx
               Related Id(s): ERL-755

               Fixed delayed delete bug which caused wx applications
               to crash on Mojave.


 Full runtime dependencies of wx-1.8.6: erts-6.0, kernel-3.0,
 stdlib-2.0


 ---------------------------------------------------------------------
 ---------------------------------------------------------------------
 ---------------------------------------------------------------------
2019-01-03 22:58:36 +00:00
nia
a47c3e5bff erlang: Update to version 21.1.4.
Changes:

 ---------------------------------------------------------------------
 --- kernel-6.1.1 ----------------------------------------------------
 ---------------------------------------------------------------------

 Note! The kernel-6.1.1 application can *not* be applied independently
       of other applications on an arbitrary OTP 21 installation.

       On a full OTP 21 installation, also the following runtime
       dependency has to be satisfied:
       -- erts-10.1 (first satisfied in OTP 21.1)


 --- Fixed Bugs and Malfunctions ---

  OTP-15438    Application(s): kernel
               Related Id(s): ERL-781

               Fix bug causing net_kernel process crash on connection
               attempt from node with name identical to local node.


 Full runtime dependencies of kernel-6.1.1: erts-10.1, sasl-3.0,
 stdlib-3.5


 ---------------------------------------------------------------------
 ---------------------------------------------------------------------
 ---------------------------------------------------------------------
2018-11-30 13:47:02 +00:00
nia
721a655dea erlang: Update to 21.1.3.
---------------------------------------------------------------------
 --- erts-10.1.3 -----------------------------------------------------
 ---------------------------------------------------------------------

 Note! The erts-10.1.3 application can *not* be applied independently
       of other applications on an arbitrary OTP 21 installation.

       On a full OTP 21 installation, also the following runtime
       dependency has to be satisfied:
       -- kernel-6.1 (first satisfied in OTP 21.1)


 --- Improvements and New Features ---

  OTP-15430    Application(s): erts
               Related Id(s): ERIERL-237

               Added an optional ./configure flag to compile the
               emulator with spectre mitigation:
               --with-spectre-mitigation

               Note that this requires a recent version of GCC with
               support for spectre mitigation and the
               --mindirect-branch=thunk flag, such as 8.1.


 Full runtime dependencies of erts-10.1.3: kernel-6.1, sasl-3.0.1,
 stdlib-3.5


 ---------------------------------------------------------------------
 --- compiler-7.2.7 --------------------------------------------------
 ---------------------------------------------------------------------

 The compiler-7.2.7 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15353    Application(s): compiler
               Related Id(s): ERL-753

               Fixed a bug where incorrect code was generated
               following a binary match guard.


 Full runtime dependencies of compiler-7.2.7: crypto-3.6, erts-9.0,
 hipe-3.12, kernel-4.0, stdlib-2.5


 ---------------------------------------------------------------------
 --- erts-10.1.2 -----------------------------------------------------
 ---------------------------------------------------------------------

 Note! The erts-10.1.2 application can *not* be applied independently
       of other applications on an arbitrary OTP 21 installation.

       On a full OTP 21 installation, also the following runtime
       dependency has to be satisfied:
       -- kernel-6.1 (first satisfied in OTP 21.1)


 --- Fixed Bugs and Malfunctions ---

  OTP-15421    Application(s): erts

               Fixed a rare bug where files could be closed on a
               normal instead of an IO scheduler, resulting in system
               instability if the operation blocked.


 Full runtime dependencies of erts-10.1.2: kernel-6.1, sasl-3.0.1,
 stdlib-3.5


 ---------------------------------------------------------------------
 --- public_key-1.6.3 ------------------------------------------------
 ---------------------------------------------------------------------

 The public_key-1.6.3 application can be applied independently of
 other applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15367    Application(s): public_key

               Add DSA SHA2 oids in public_keys ASN1-spec and
               public_key:pkix_sign_types/1


 Full runtime dependencies of public_key-1.6.3: asn1-3.0, crypto-3.8,
 erts-6.0, kernel-3.0, stdlib-3.5


 ---------------------------------------------------------------------
 ---------------------------------------------------------------------
 ---------------------------------------------------------------------
2018-11-29 15:21:26 +00:00
nia
cae8756db1 lang/erlang: update to 21.1.1.
changes in erlang/OTP 21.1.1:

 ---------------------------------------------------------------------
 --- compiler-7.2.6 --------------------------------------------------
 ---------------------------------------------------------------------

 The compiler-7.2.6 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15335    Application(s): compiler
               Related Id(s): ERL-689, OTP-15219

               In rare circumstances, the matched out tail of a binary
               could be the entire original binary. (There was partial
               correction to this problem in version 7.2.5 of the
               compiler application.)


 Full runtime dependencies of compiler-7.2.6: crypto-3.6, erts-9.0,
 hipe-3.12, kernel-4.0, stdlib-2.5


 ---------------------------------------------------------------------
 --- eldap-1.2.6 -----------------------------------------------------
 ---------------------------------------------------------------------

 The eldap-1.2.6 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15342    Application(s): eldap
               Related Id(s): ERIERL-242

               A race condition at close could cause the eldap client
               to exit with a badarg message as cause.


 Full runtime dependencies of eldap-1.2.6: asn1-3.0, erts-6.0,
 kernel-3.0, ssl-5.3.4, stdlib-2.0


 ---------------------------------------------------------------------
 --- erts-10.1.1 -----------------------------------------------------
 ---------------------------------------------------------------------

 Note! The erts-10.1.1 application can *not* be applied independently
       of other applications on an arbitrary OTP 21 installation.

       On a full OTP 21 installation, also the following runtime
       dependency has to be satisfied:
       -- kernel-6.1 (first satisfied in OTP 21.1)


 --- Fixed Bugs and Malfunctions ---

  OTP-14297    Application(s): erts
               Related Id(s): OTP-15141

               A bug where the socket option 'pktoptions' caused a
               read of uninitialized memory has been fixed. Would
               cause malfunction on FreeBSD.


  OTP-15318    Application(s): erts

               Fixed a memory leak on errors when reading files.


  OTP-15333    Application(s): erts
               Related Id(s): ERL-737

               File access through UNC paths works again on Windows.
               This regression was introduced in OTP 21.


 Full runtime dependencies of erts-10.1.1: kernel-6.1, sasl-3.0.1,
 stdlib-3.5


 ---------------------------------------------------------------------
 --- ssl-9.0.3 -------------------------------------------------------
 ---------------------------------------------------------------------

 The ssl-9.0.3 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15337    Application(s): ssl
               Related Id(s): ERL-738

               Correct alert handling with new TLS sender process,
               from ssl-9.0.2. CLOSE ALERTS could under some
               circumstances be encoded using an incorrect cipher
               state. This would cause the peer to regard them as
               unknown messages.


  OTP-15348    Application(s): ssl
               Related Id(s): ERL-747

               Correct handling of socket packet option with new TLS
               sender process, from ssl-9.0.2. When changing the
               socket option {packet, 1|2|3|4} with ssl:setopts/2 the
               option must internally be propagated to the sender
               process as well as the reader process as this
               particular option also affects the data to be sent.


 Full runtime dependencies of ssl-9.0.3: crypto-4.2, erts-10.0,
 inets-5.10.7, kernel-6.0, public_key-1.5, stdlib-3.5


 ---------------------------------------------------------------------
 ---------------------------------------------------------------------
 ---------------------------------------------------------------------

changes in erlang/OTP 21.1:


 ---------------------------------------------------------------------
 --- HIGHLIGHTS ------------------------------------------------------
 ---------------------------------------------------------------------

  OTP-15133    Application(s): ssh
               Related Id(s): OTP-15240

               The key exchange methods
               'curve25519-sha256@libssh.org', 'curve25519-sha256' and
               'curve448-sha512' are implemented. The last two are
               defined in
               https://tools.ietf.org/html/draft-ietf-curdle-ssh-curves

               They all depends on that OpenSSL 1.1.1 or higher is
               used as cryptolib.


  OTP-15134    Application(s): crypto, public_key

               The typing in the CRYPTO and PUBLIC_KEY applications
               are reworked and a few mistakes are corrected.

               The documentation is now generated from the typing and
               some clarifications are made.

               A new chapter on Algorithm Details such as key sizes
               and availability is added to the CRYPTO User's Guide.


  OTP-15145    Application(s): erts, kernel
               Related Id(s): ERIERL-187

               The socket options recvtos, recvttl, recvtclass and
               pktoptions have been implemented in the socket modules.
               See the documentation for the gen_tcp, gen_udp and inet
               modules. Note that support for these in the runtime
               system is platform dependent. Especially for pktoptions
               which is very Linux specific and obsoleted by the RFCs
               that defined it.


  OTP-15209    Application(s): ssh
               Related Id(s): OTP-15164

               The cipher 'chacha20-poly1305@openssh.com' is now
               supported if OpenSSL 1.1.1 or higher is used as
               cryptolib.


 ---------------------------------------------------------------------
 --- asn1-5.0.7 ------------------------------------------------------
 ---------------------------------------------------------------------

 The asn1-5.0.7 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-14440    Application(s): asn1
               Related Id(s): ERIERL-220

               A bug in ASN.1 BER decoding has been fixed. When
               decoding a recursively enclosed term the length was not
               propagated to that term decoding, so if the length of
               the enclosed term was longer than the enclosing that
               error was not detected.

               A hard coded C stack limitation for decoding recursive
               ASN.1 terms has been introduced. This is currently set
               to 8 kWords giving a nesting depth of about 1000
               levels. Deeper terms can not be decoded, which should
               not be much of a real world limitation.


 Full runtime dependencies of asn1-5.0.7: erts-7.0, kernel-3.0,
 stdlib-2.0


 ---------------------------------------------------------------------
 --- common_test-1.16.1 ----------------------------------------------
 ---------------------------------------------------------------------

 The common_test-1.16.1 application can be applied independently of
 other applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15307    Application(s): common_test

               The Logger handler cth_log_redirect earlier called the
               report callback (report_cb) before calling the logger
               formatter. In some cases this would fail, since
               cth_log_redirect could not handle report callbacks with
               two arguments. This is now corrected, so only the
               formatter will call the report callback.


 Full runtime dependencies of common_test-1.16.1: compiler-6.0,
 crypto-3.6, debugger-4.1, erts-7.0, ftp-1.0.0, inets-6.0, kernel-4.0,
 observer-2.1, runtime_tools-1.8.16, sasl-2.4.2, snmp-5.1.2, ssh-4.0,
 stdlib-3.5, syntax_tools-1.7, tools-2.8, xmerl-1.3.8


 ---------------------------------------------------------------------
 --- compiler-7.2.5 --------------------------------------------------
 ---------------------------------------------------------------------

 The compiler-7.2.5 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15186    Application(s): compiler
               Related Id(s): ERL-665

               Fixed a bug that prevented certain variable-sized
               binary comprehensions from compiling.


  OTP-15188    Application(s): compiler
               Related Id(s): ERL-658

               When compiling from Core Erlang, funs created in
               certain expressions that were only used for their
               side-effects were subtly broken.


  OTP-15218    Application(s): compiler
               Related Id(s): ERL-684

               There could be an internal consistency failure when a
               receive was nested in a try/catch.


  OTP-15219    Application(s): compiler
               Related Id(s): ERL-689

               In rare circumstances, the matched out tail of a binary
               could be the entire original binary.


  OTP-15227    Application(s): compiler
               Related Id(s): ERL-699

               When is_map_key/2 was used in a guard together with the
               not/1 or or/2 operators, the error behavior could be
               wrong when is_map_key/2 was passed a non-map as the
               second argument.

               In rare circumstances, compiling code that uses
               is_map_key/2 could cause an internal consistency check
               failure.


  OTP-15235    Application(s): compiler
               Related Id(s): ERL-703

               The compiler could crash when compiling a function with
               multiple receives in multiple clauses.


 Full runtime dependencies of compiler-7.2.5: crypto-3.6, erts-9.0,
 hipe-3.12, kernel-4.0, stdlib-2.5


 ---------------------------------------------------------------------
 --- crypto-4.3.3 ----------------------------------------------------
 ---------------------------------------------------------------------

 The crypto-4.3.3 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15212    Application(s): crypto
               Related Id(s): ERL-675, PR1899, PR838

               The RSA options rsa_mgf1_md, rsa_oaep_md, and
               rsa_oaep_label were always disabled. They will now be
               enabled when a suitable cryptolib is used.

               They are still experimental and may change without
               prior notice.


  OTP-15283    Application(s): crypto

               The ciphers aes_ige256 and blowfish_cbc had naming
               issues in crypto:next_iv/2.


  OTP-15303    Application(s): crypto

               the RSA_SSLV23_PADDING is disabled if LibreSSL is used
               as cryptlib. This is due to compilation problems.

               This will be investigated further in the future.


 --- Improvements and New Features ---

  OTP-14717    Application(s): crypto
               Related Id(s): OTP-15244

               The supported named elliptic curves are now reported in
               crypto:supports/0 in a new entry tagged by 'curves'.

               The function crypto:ec_curves/0 is kept for
               compatibility.


  OTP-15134    Application(s): crypto, public_key

               *** HIGHLIGHT ***

               The typing in the CRYPTO and PUBLIC_KEY applications
               are reworked and a few mistakes are corrected.

               The documentation is now generated from the typing and
               some clarifications are made.

               A new chapter on Algorithm Details such as key sizes
               and availability is added to the CRYPTO User's Guide.


  OTP-15153    Application(s): crypto

               Support for SHA3 both as a separate hash and in HMAC is
               now available if OpenSSL 1.1.1 or higher is used as
               cryptolib.

               Available lengths are reported in the 'hashs' entry in
               crypto:supports/0 as sha3_*.


  OTP-15164    Application(s): crypto
               Related Id(s): OTP-15209

               The mac algorithm poly1305 and the cipher algorithm
               chacha20 are now supported if OpenSSL 1.1.1 or higher
               is used as cryptolib.


  OTP-15240    Application(s): crypto
               Related Id(s): OTP-15133

               The key exchange Edward curves x25519 and x448 are now
               supported if OpenSSL 1.1.1 or higher is used as
               cryptolib.


  OTP-15260    Application(s): crypto

               The supported RSA options for sign/verify and
               encrypt/decrypt are now reported in crypto:supports/0
               in a new entry tagged by 'rsa_opts'.

               The exakt set is still experimental and may change
               without prior notice.


  OTP-15286    Application(s): crypto

               The cipher aes_ccm is added.


 Full runtime dependencies of crypto-4.3.3: erts-9.0, kernel-5.3,
 stdlib-3.4


 ---------------------------------------------------------------------
 --- debugger-4.2.6 --------------------------------------------------
 ---------------------------------------------------------------------

 The debugger-4.2.6 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15190    Application(s): debugger, edoc, eldap, et, eunit, ftp,
               hipe, jinterface, megaco, observer, odbc, os_mon,
               otp_mibs, parsetools, reltool, sasl, tftp, xmerl

               Improved documentation.


 Full runtime dependencies of debugger-4.2.6: compiler-5.0, erts-9.0,
 kernel-5.3, stdlib-3.4, wx-1.2


 ---------------------------------------------------------------------
 --- dialyzer-3.3.1 --------------------------------------------------
 ---------------------------------------------------------------------

 The dialyzer-3.3.1 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Improvements and New Features ---

  OTP-15268    Application(s): dialyzer
               Related Id(s): ERL-680

               Optimize Dialyzer's handling of left-associative use of
               andalso and orelse in guards.


 Full runtime dependencies of dialyzer-3.3.1: compiler-7.0, erts-9.0,
 hipe-3.16.1, kernel-5.3, stdlib-3.4, syntax_tools-2.0, wx-1.2


 ---------------------------------------------------------------------
 --- diameter-2.1.6 --------------------------------------------------
 ---------------------------------------------------------------------

 The diameter-2.1.6 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15198    Application(s): diameter
               Related Id(s): ERIERL-213

               Fix function_clause when sending an outgoing request
               after DPA has been sent in response to an incoming DPR.
               The caused the diameter_peer_fsm gen_server associated
               with the peer connection to fail, which could then
               result in the transport connection being reset before
               the peer closed it upon reception of DPA.


 Full runtime dependencies of diameter-2.1.6: erts-10.0, kernel-3.2,
 ssl-9.0, stdlib-2.4


 ---------------------------------------------------------------------
 --- edoc-0.9.4 ------------------------------------------------------
 ---------------------------------------------------------------------

 The edoc-0.9.4 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15190    Application(s): debugger, edoc, eldap, et, eunit, ftp,
               hipe, jinterface, megaco, observer, odbc, os_mon,
               otp_mibs, parsetools, reltool, sasl, tftp, xmerl

               Improved documentation.


 Full runtime dependencies of edoc-0.9.4: erts-6.0, inets-5.10,
 kernel-3.0, stdlib-2.5, syntax_tools-1.6.14, xmerl-1.3.7


 ---------------------------------------------------------------------
 --- eldap-1.2.5 -----------------------------------------------------
 ---------------------------------------------------------------------

 The eldap-1.2.5 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15190    Application(s): debugger, edoc, eldap, et, eunit, ftp,
               hipe, jinterface, megaco, observer, odbc, os_mon,
               otp_mibs, parsetools, reltool, sasl, tftp, xmerl

               Improved documentation.


 Full runtime dependencies of eldap-1.2.5: asn1-3.0, erts-6.0,
 kernel-3.0, ssl-5.3.4, stdlib-2.0


 ---------------------------------------------------------------------
 --- erl_docgen-0.8.1 ------------------------------------------------
 ---------------------------------------------------------------------

 The erl_docgen-0.8.1 application can be applied independently of
 other applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-14406    Application(s): erl_docgen

               Indexing for the online search function has been
               corrected for CREF documents.


 Full runtime dependencies of erl_docgen-0.8.1: edoc-0.7.13, erts-9.0,
 stdlib-3.4, xmerl-1.3.7


 ---------------------------------------------------------------------
 --- erl_interface-3.10.4 --------------------------------------------
 ---------------------------------------------------------------------

 The erl_interface-3.10.4 application can be applied independently of
 other applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15161    Application(s): erl_interface
               Related Id(s): ERIERL-191

               Make ei_connect and friends also accept state
               ok_simultaneous during handshake, which means the other
               node has initiated a connection setup that will be
               cancelled in favor of this connection.


  OTP-15171    Application(s): erl_interface

               Fixed bug in ei_receive_msg, ei_xreceive_msg,
               ei_receive_msg_tmo and ei_xreceive_msg_tmo. The
               x->index was set to entire buffer size instead of the
               number of bytes actually received.


  OTP-15191    Application(s): erl_interface

               Fixed bug in ei_connect_init which could be provoked if
               called by concurrent threads. ei_connect_init called
               posix interface gethostbyname which is documented as
               not thread safe.


  OTP-15277    Application(s): erl_interface
               Related Id(s): PR-1929

               Fixed bug in erl_compare_ext() ignoring the tail of
               lists of otherwise equal content. Example: [a | b] and
               [a | c] compared equal and {[a], b} and {[a], c}
               compared equal.


 ---------------------------------------------------------------------
 --- erts-10.1 -------------------------------------------------------
 ---------------------------------------------------------------------

 Note! The erts-10.1 application can *not* be applied independently of
       other applications on an arbitrary OTP 21 installation.

       On a full OTP 21 installation, also the following runtime
       dependency has to be satisfied:
       -- kernel-6.1 (first satisfied in OTP 21.1)


 --- Fixed Bugs and Malfunctions ---

  OTP-15038    Application(s): erts
               Related Id(s): ERL-602

               Fix the seq_trace token to not be cleared when a
               process receives messages sent by erts. Some examples
               of when this could happen is all port BIFs, i.e.
               open_port, port_command etc etc.

               Fix so that messages sent by nifs can be traced using
               normal and seq_trace tracing.


  OTP-15180    Application(s): erts
               Related Id(s): ERL-648

               Fixed specs and documentation for process_info item
               monitored_by to include port identifiers and nif
               resources as possible types.


  OTP-15181    Application(s): erts

               Fix bug in generation of erl_crash.dump, which could
               cause VM to crash.

               Bug exist since erts-9.2 (OTP-20.2).


  OTP-15205    Application(s): erts

               Fix bug where ctrl-break or ctrl-c would not trigger
               the break mode properly on Windows. This bug was
               introduced in erts-10.0 (OTP-21).


  OTP-15206    Application(s): erts

               Fix a performance bug for reception of UDP packages,
               where a memory buffer would be reallocated when it
               should not have been.

               Introduce a limit on the maximum automatic increase of
               the UDP user-space buffer to the theoretical max of the
               network PATH, i.e. 65535.


  OTP-15208    Application(s): erts
               Related Id(s): ERL-677, PR-1897

               Fix alignment of erts allocator state internally in
               erts. With the improper alignment the emulator would
               refuse to start when compiled with clang on 32-bit
               systems.


  OTP-15210    Application(s): erts

               Fix bug where too many concurrent calls to
               erlang:open_port({spawn,"cmd"},...) would result in the
               emulator terminating with the reason "Failed to write
               to erl_child_setup: ". After this fix the open_port
               call will throw an emfile exception instead.


  OTP-15217    Application(s): erts

               Upgraded the ERTS internal PCRE library from version
               8.41 to version 8.42. See
               http://pcre.org/original/changelog.txt for information
               about changes made to PCRE. This library implements
               major parts of the re regular expressions module.


  OTP-15236    Application(s): erts
               Related Id(s): ERL-692

               Fix open_port({fd,X,Y}, ...) to release the file
               descriptors from the pollset when closing the port.
               Without this fix the same file descriptor number could
               not be reused when doing multiple open_port and
               port_close sequences.


  OTP-15276    Application(s): erts
               Related Id(s): PR-1920

               Fixed bug in float_to_list/2 and float_to_binary/2 with
               options [{decimals,0},compact] causing totally wrong
               results. Bug exists since OTP-21.0.


  OTP-15278    Application(s): erts

               Fixed bug in erlang:memory causing ets to report too
               much. This small false memory leak (16 bytes each time)
               can only happen when a specific race condition occurs
               between scheduler threads on a table with option
               write_concurrency.


  OTP-15282    Application(s): erts

               Minor configure test fixes


  OTP-15297    Application(s): erts, kernel
               Related Id(s): OTP-15279, OTP-15280

               Improved robustness of distribution connection setup.
               In OTP-21.0 a truly asynchronous connection setup was
               introduced. This is further improvement on that work to
               make the emulator more robust and also be able to
               recover in cases when involved Erlang processes
               misbehave.


 --- Improvements and New Features ---

  OTP-15145    Application(s): erts, kernel
               Related Id(s): ERIERL-187

               *** HIGHLIGHT ***

               The socket options recvtos, recvttl, recvtclass and
               pktoptions have been implemented in the socket modules.
               See the documentation for the gen_tcp, gen_udp and inet
               modules. Note that support for these in the runtime
               system is platform dependent. Especially for pktoptions
               which is very Linux specific and obsoleted by the RFCs
               that defined it.


 Full runtime dependencies of erts-10.1: kernel-6.1, sasl-3.0.1,
 stdlib-3.5


 ---------------------------------------------------------------------
 --- et-1.6.3 --------------------------------------------------------
 ---------------------------------------------------------------------

 The et-1.6.3 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15190    Application(s): debugger, edoc, eldap, et, eunit, ftp,
               hipe, jinterface, megaco, observer, odbc, os_mon,
               otp_mibs, parsetools, reltool, sasl, tftp, xmerl

               Improved documentation.


 Full runtime dependencies of et-1.6.3: erts-9.0, kernel-5.3,
 runtime_tools-1.10, stdlib-3.4, wx-1.2


 ---------------------------------------------------------------------
 --- eunit-2.3.7 -----------------------------------------------------
 ---------------------------------------------------------------------

 The eunit-2.3.7 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15190    Application(s): debugger, edoc, eldap, et, eunit, ftp,
               hipe, jinterface, megaco, observer, odbc, os_mon,
               otp_mibs, parsetools, reltool, sasl, tftp, xmerl

               Improved documentation.


 Full runtime dependencies of eunit-2.3.7: erts-9.0, kernel-5.3,
 stdlib-3.4


 ---------------------------------------------------------------------
 --- ftp-1.0.1 -------------------------------------------------------
 ---------------------------------------------------------------------

 The ftp-1.0.1 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15190    Application(s): debugger, edoc, eldap, et, eunit, ftp,
               hipe, jinterface, megaco, observer, odbc, os_mon,
               otp_mibs, parsetools, reltool, sasl, tftp, xmerl

               Improved documentation.


 Full runtime dependencies of ftp-1.0.1: erts-7.0, kernel-6.0,
 stdlib-3.5


 ---------------------------------------------------------------------
 --- hipe-3.18.1 -----------------------------------------------------
 ---------------------------------------------------------------------

 The hipe-3.18.1 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15190    Application(s): debugger, edoc, eldap, et, eunit, ftp,
               hipe, jinterface, megaco, observer, odbc, os_mon,
               otp_mibs, parsetools, reltool, sasl, tftp, xmerl

               Improved documentation.


 Full runtime dependencies of hipe-3.18.1: compiler-5.0, erts-9.3,
 kernel-5.3, stdlib-3.4, syntax_tools-1.6.14


 ---------------------------------------------------------------------
 --- inets-7.0.2 -----------------------------------------------------
 ---------------------------------------------------------------------

 The inets-7.0.2 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15192    Application(s): inets

               Enhance error handling, that is mod_get will return 403
               if a path is a directory and not a file.


  OTP-15241    Application(s): inets

               Do not use chunked-encoding with 1xx, 204 and 304
               responses when using mod_esi. Old behavior was not
               compliant with HTTP/1.1 RFC and could cause clients to
               hang when they received 1xx, 204 or 304 responses that
               included an empty chunked-encoded body.


  OTP-15242    Application(s): inets

               Add robust handling of chunked-encoded HTTP responses
               with an empty body (1xx, 204, 304). Old behavior could
               cause the client to hang when connecting to a faulty
               server implementation.


 Full runtime dependencies of inets-7.0.2: erts-6.0, kernel-3.0,
 mnesia-4.12, runtime_tools-1.8.14, ssl-5.3.4, stdlib-3.5


 ---------------------------------------------------------------------
 --- jinterface-1.9.1 ------------------------------------------------
 ---------------------------------------------------------------------

 The jinterface-1.9.1 application can be applied independently of
 other applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15190    Application(s): debugger, edoc, eldap, et, eunit, ftp,
               hipe, jinterface, megaco, observer, odbc, os_mon,
               otp_mibs, parsetools, reltool, sasl, tftp, xmerl

               Improved documentation.


 ---------------------------------------------------------------------
 --- kernel-6.1 ------------------------------------------------------
 ---------------------------------------------------------------------

 Note! The kernel-6.1 application can *not* be applied independently
       of other applications on an arbitrary OTP 21 installation.

       On a full OTP 21 installation, also the following runtime
       dependency has to be satisfied:
       -- erts-10.1 (first satisfied in OTP 21.1)


 --- Fixed Bugs and Malfunctions ---

  OTP-15143    Application(s): kernel

               The values all and none are documented as valid value
               for the Kernel configuration parameter logger_level,
               but would cause a crash during node start. This is now
               corrected.


  OTP-15162    Application(s): kernel
               Related Id(s): ERIERL-191

               Fix some potential buggy behavior in how ticks are sent
               on inter node distribution connections. Tick is now
               sent to c-node even if there are unsent buffered data,
               as c-nodes need ticks in order to send reply ticks. The
               amount of sent data was also calculated wrongly when
               ticks were suppressed due to unsent buffered data.


  OTP-15170    Application(s): kernel

               Non semantic change in dist_util.erl to silence
               dialyzer warning.


  OTP-15182    Application(s): kernel
               Related Id(s): ERL-643

               Fixed net_kernel:connect_node(node()) to return true
               (and do nothing) as it always has before OTP-21.0. Also
               documented this successful "self connect" as the
               expected behavior.


  OTP-15228    Application(s): kernel

               The single_line option on logger_formatter would in
               some cases add an unwanted comma after the association
               arrows in a map. This is now corrected.


  OTP-15297    Application(s): erts, kernel
               Related Id(s): OTP-15279, OTP-15280

               Improved robustness of distribution connection setup.
               In OTP-21.0 a truly asynchronous connection setup was
               introduced. This is further improvement on that work to
               make the emulator more robust and also be able to
               recover in cases when involved Erlang processes
               misbehave.


 --- Improvements and New Features ---

  OTP-15132    Application(s): kernel

               A new macro, ?LOG(Level,...), is added. This is
               equivalent to the existing ?LOG_<LEVEL>(...) macros.

               A new variant of Logger report callback is added, which
               takes an extra argument containing options for size
               limiting and line breaks. Module proc_lib in STDLIB
               uses this for crash reports.

               Logger configuration is now checked a bit more for
               errors.


  OTP-15145    Application(s): erts, kernel
               Related Id(s): ERIERL-187

               *** HIGHLIGHT ***

               The socket options recvtos, recvttl, recvtclass and
               pktoptions have been implemented in the socket modules.
               See the documentation for the gen_tcp, gen_udp and inet
               modules. Note that support for these in the runtime
               system is platform dependent. Especially for pktoptions
               which is very Linux specific and obsoleted by the RFCs
               that defined it.


  OTP-15146    Application(s): kernel

               Add logger:set_application_level/2 for setting the
               logger level of all modules in one application.


 Full runtime dependencies of kernel-6.1: erts-10.1, sasl-3.0,
 stdlib-3.5


 ---------------------------------------------------------------------
 --- megaco-3.18.4 ---------------------------------------------------
 ---------------------------------------------------------------------

 The megaco-3.18.4 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15190    Application(s): debugger, edoc, eldap, et, eunit, ftp,
               hipe, jinterface, megaco, observer, odbc, os_mon,
               otp_mibs, parsetools, reltool, sasl, tftp, xmerl

               Improved documentation.


 Full runtime dependencies of megaco-3.18.4: asn1-3.0, debugger-4.0,
 erts-7.0, et-1.5, kernel-3.0, runtime_tools-1.8.14, stdlib-2.5


 ---------------------------------------------------------------------
 --- mnesia-4.15.5 ---------------------------------------------------
 ---------------------------------------------------------------------

 The mnesia-4.15.5 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15201    Application(s): mnesia
               Related Id(s): PR-1881

               Fixed type spec for mnesia:change_config/2.


  OTP-15221    Application(s): mnesia
               Related Id(s): ERIERL-217

               When master node is set do not force a load from
               ram_copies replica when there are no available
               disc_copies, since that would load an empty table. Wait
               until a disk replica is available or until user
               explicitly force_loads the table.


  OTP-15226    Application(s): mnesia
               Related Id(s): ERIERL-221

               Allow to add replicas even if all other replicas are
               down when the other replicas are not stored on disk.


  OTP-15231    Application(s): mnesia
               Related Id(s): PR-1858

               Fixed mnesia:delete_object/1 bug, where delete_object
               was deleting the record if it was written in the same
               transaction even if it was written to a different
               value.


  OTP-15243    Application(s): mnesia

               Fixed a bug where the bag table index data was not
               deleted when objects were deleted.


 Full runtime dependencies of mnesia-4.15.5: erts-9.0, kernel-5.3,
 stdlib-3.4


 ---------------------------------------------------------------------
 --- observer-2.8.1 --------------------------------------------------
 ---------------------------------------------------------------------

 The observer-2.8.1 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15190    Application(s): debugger, edoc, eldap, et, eunit, ftp,
               hipe, jinterface, megaco, observer, odbc, os_mon,
               otp_mibs, parsetools, reltool, sasl, tftp, xmerl

               Improved documentation.


 Full runtime dependencies of observer-2.8.1: erts-7.0, et-1.5,
 kernel-3.0, runtime_tools-1.8.14, stdlib-3.5, wx-1.2


 ---------------------------------------------------------------------
 --- odbc-2.12.2 -----------------------------------------------------
 ---------------------------------------------------------------------

 The odbc-2.12.2 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15190    Application(s): debugger, edoc, eldap, et, eunit, ftp,
               hipe, jinterface, megaco, observer, odbc, os_mon,
               otp_mibs, parsetools, reltool, sasl, tftp, xmerl

               Improved documentation.


 Full runtime dependencies of odbc-2.12.2: erts-6.0, kernel-3.0,
 stdlib-2.0


 ---------------------------------------------------------------------
 --- os_mon-2.4.6 ----------------------------------------------------
 ---------------------------------------------------------------------

 The os_mon-2.4.6 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15190    Application(s): debugger, edoc, eldap, et, eunit, ftp,
               hipe, jinterface, megaco, observer, odbc, os_mon,
               otp_mibs, parsetools, reltool, sasl, tftp, xmerl

               Improved documentation.


 Full runtime dependencies of os_mon-2.4.6: erts-6.0, kernel-3.0,
 mnesia-4.12, otp_mibs-1.0.9, sasl-2.4, snmp-4.25.1, stdlib-2.0


 ---------------------------------------------------------------------
 --- otp_mibs-1.2.1 --------------------------------------------------
 ---------------------------------------------------------------------

 The otp_mibs-1.2.1 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15190    Application(s): debugger, edoc, eldap, et, eunit, ftp,
               hipe, jinterface, megaco, observer, odbc, os_mon,
               otp_mibs, parsetools, reltool, sasl, tftp, xmerl

               Improved documentation.


 Full runtime dependencies of otp_mibs-1.2.1: erts-6.0, kernel-3.0,
 mnesia-4.12, snmp-4.25.1, stdlib-2.0


 ---------------------------------------------------------------------
 --- parsetools-2.1.8 ------------------------------------------------
 ---------------------------------------------------------------------

 The parsetools-2.1.8 application can be applied independently of
 other applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15190    Application(s): debugger, edoc, eldap, et, eunit, ftp,
               hipe, jinterface, megaco, observer, odbc, os_mon,
               otp_mibs, parsetools, reltool, sasl, tftp, xmerl

               Improved documentation.


 Full runtime dependencies of parsetools-2.1.8: erts-6.0, kernel-3.0,
 stdlib-2.5


 ---------------------------------------------------------------------
 --- public_key-1.6.2 ------------------------------------------------
 ---------------------------------------------------------------------

 The public_key-1.6.2 application can be applied independently of
 other applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15284    Application(s): public_key

               Removed #DSAPrivateKey{} as acceptable input to
               public_key:verify/5.


 --- Improvements and New Features ---

  OTP-15134    Application(s): crypto, public_key

               *** HIGHLIGHT ***

               The typing in the CRYPTO and PUBLIC_KEY applications
               are reworked and a few mistakes are corrected.

               The documentation is now generated from the typing and
               some clarifications are made.

               A new chapter on Algorithm Details such as key sizes
               and availability is added to the CRYPTO User's Guide.


 Full runtime dependencies of public_key-1.6.2: asn1-3.0, crypto-3.8,
 erts-6.0, kernel-3.0, stdlib-3.5


 ---------------------------------------------------------------------
 --- reltool-0.7.7 ---------------------------------------------------
 ---------------------------------------------------------------------

 The reltool-0.7.7 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15190    Application(s): debugger, edoc, eldap, et, eunit, ftp,
               hipe, jinterface, megaco, observer, odbc, os_mon,
               otp_mibs, parsetools, reltool, sasl, tftp, xmerl

               Improved documentation.


 Full runtime dependencies of reltool-0.7.7: erts-7.0, kernel-3.0,
 sasl-2.4, stdlib-3.4, tools-2.6.14, wx-1.2


 ---------------------------------------------------------------------
 --- runtime_tools-1.13.1 --------------------------------------------
 ---------------------------------------------------------------------

 The runtime_tools-1.13.1 application can be applied independently of
 other applications on a full OTP 21 installation.

 --- Improvements and New Features ---

  OTP-15163    Application(s): runtime_tools
               Related Id(s): PR-1844

               Optimize observer by using new system_info(ets_count)
               instead of more expensive length(ets:all()).


 Full runtime dependencies of runtime_tools-1.13.1: erts-8.0,
 kernel-5.0, mnesia-4.12, stdlib-3.0


 ---------------------------------------------------------------------
 --- sasl-3.2.1 ------------------------------------------------------
 ---------------------------------------------------------------------

 The sasl-3.2.1 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15190    Application(s): debugger, edoc, eldap, et, eunit, ftp,
               hipe, jinterface, megaco, observer, odbc, os_mon,
               otp_mibs, parsetools, reltool, sasl, tftp, xmerl

               Improved documentation.


 Full runtime dependencies of sasl-3.2.1: erts-9.0, kernel-5.3,
 stdlib-3.4, tools-2.6.14


 ---------------------------------------------------------------------
 --- snmp-5.2.12 -----------------------------------------------------
 ---------------------------------------------------------------------

 The snmp-5.2.12 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15287    Application(s): snmp
               Related Id(s): ERIERL-206

               Conversion of (agent) Audit Trail Log (ATL) failed due
               to invalid log entries.

               The conversion aborted completely midway because the
               ATL contained invalid entries. The conversion has been
               improved so that it now firstly handles encountered
               errors and write an informative message (into the
               converted stream) and secondly keeps count of the
               number of successful or failed entry conversions. See
               log_to_txt for more info.

               The reason the ATL contained invalid entries have also
               been fixed. The reason was that for some outgoing
               messages (not response):

               -- encrypted (v3 messages)

               Was logged "as is" (encrypted) without the info to
               decrypt, making conversion impossible (which was the
               reason the log contained bad entries).

               -- un-encrypted

               Was not logged at all.


  OTP-15290    Application(s): snmp

               [compiler] Spurious version message removed. The snmp
               mib compiler printed an spurious version message if the
               'version' option was provided.


 Full runtime dependencies of snmp-5.2.12: crypto-3.3, erts-6.0,
 kernel-3.0, mnesia-4.12, runtime_tools-1.8.14, stdlib-2.5


 ---------------------------------------------------------------------
 --- ssh-4.7.1 -------------------------------------------------------
 ---------------------------------------------------------------------

 The ssh-4.7.1 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Improvements and New Features ---

  OTP-15020    Application(s): ssh

               Extended the undocumented ssh_dbg debug module with an
               api for a circular trace buffer. This makes it easy to
               record the last low-level events before an error is
               detected. It is intended for solving difficult errors.


  OTP-15133    Application(s): ssh
               Related Id(s): OTP-15240

               *** HIGHLIGHT ***

               The key exchange methods
               'curve25519-sha256@libssh.org', 'curve25519-sha256' and
               'curve448-sha512' are implemented. The last two are
               defined in
               https://tools.ietf.org/html/draft-ietf-curdle-ssh-curves

               They all depends on that OpenSSL 1.1.1 or higher is
               used as cryptolib.


  OTP-15209    Application(s): ssh
               Related Id(s): OTP-15164

               *** HIGHLIGHT ***

               The cipher 'chacha20-poly1305@openssh.com' is now
               supported if OpenSSL 1.1.1 or higher is used as
               cryptolib.


 Full runtime dependencies of ssh-4.7.1: crypto-4.2, erts-6.0,
 kernel-3.0, public_key-1.5.2, stdlib-3.3


 ---------------------------------------------------------------------
 --- ssl-9.0.2 -------------------------------------------------------
 ---------------------------------------------------------------------

 The ssl-9.0.2 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15122    Application(s): ssl

               Use separate processes for sending and receiving
               application data for TLS connections to avoid potential
               deadlock that was most likely to occur when using TLS
               for Erlang distribution. Note does not change the API.


  OTP-15168    Application(s): ssl

               Correct handling of empty server SNI extension


  OTP-15172    Application(s): ssl

               Correct PSK cipher suite handling and add
               selected_cipher_suite to connection information


  OTP-15173    Application(s): ssl

               Adopt to the fact that cipher suite sign restriction
               are relaxed in TLS-1.2


  OTP-15174    Application(s): ssl

               Enhance error handling of non existing PEM files


  OTP-15216    Application(s): ssl

               Correct close handling of transport accepted sockets in
               the error state


  OTP-15224    Application(s): ssl

               Correct PEM cache to not add references to empty
               entries when PEM file does not exist.


  OTP-15285    Application(s): ssl

               Correct handling of all PSK cipher suites

               Before only some PSK suites would be correctly
               negotiated and most PSK ciphers suites would fail the
               connection.


 --- Improvements and New Features ---

  OTP-12983    Application(s): ssl

               TLS will now try to order certificate chains if they
               appear to be unordered. That is prior to TLS 1.3,
               тАЬcertificate_listтАЭ ordering was required to be strict,
               however some implementations already allowed for some
               flexibility. For maximum compatibility, all
               implementations SHOULD be prepared to handle
               potentially extraneous certificates and arbitrary
               orderings from any TLS version.


  OTP-15060    Application(s): ssl

               TLS will now try to reconstructed an incomplete
               certificate chains from its local CA-database and use
               that data for the certificate path validation. This
               especially makes sense for partial chains as then the
               peer might not send an intermediate CA as it is
               considered the trusted root in that case.


  OTP-15193    Application(s): ssl

               Option keyfile defaults to certfile and should be
               trumped with key. This failed for engine keys.


  OTP-15234    Application(s): ssl

               Error message improvement when own certificate has
               decoding issues, see also issue ERL-668.


  OTP-15281    Application(s): ssl

               Correct dialyzer spec for key option


 Full runtime dependencies of ssl-9.0.2: crypto-4.2, erts-10.0,
 inets-5.10.7, kernel-6.0, public_key-1.5, stdlib-3.5


 ---------------------------------------------------------------------
 --- stdlib-3.6 ------------------------------------------------------
 ---------------------------------------------------------------------

 The stdlib-3.6 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15252    Application(s): stdlib
               Related Id(s): ERL-667

               The specs of filename:basedir/2,3 are corrected.


 --- Improvements and New Features ---

  OTP-15253    Application(s): stdlib
               Related Id(s): ERL-55, OTP-13229

               Let dets:open_file() exit with a badarg message if
               given a raw file name (a binary).


  OTP-15304    Application(s): stdlib

               The Format argument of the formatting functions in
               modules io and io_lib is accepted even if it is, for
               example, a list of binaries. This is how it used to be
               before Erlang/OTP 21.0.


 Full runtime dependencies of stdlib-3.6: compiler-5.0, crypto-3.3,
 erts-10.0, kernel-6.0, sasl-3.0


 ---------------------------------------------------------------------
 --- syntax_tools-2.1.6 ----------------------------------------------
 ---------------------------------------------------------------------

 The syntax_tools-2.1.6 application can be applied independently of
 other applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15207    Application(s): syntax_tools
               Related Id(s): PR-1888

               Fix the TypeName type in erl_syntax_lib.


  OTP-15291    Application(s): syntax_tools
               Related Id(s): ERL-719

               Correct unfolding of the stacktrace variable.


  OTP-15294    Application(s): syntax_tools

               Correct erl_syntax:revert/1 bug regarding the types
               map() and tuple().


 --- Improvements and New Features ---

  OTP-15165    Application(s): syntax_tools
               Related Id(s): PR-1842

               Support bitstrings as literals in module erl_syntax.


 Full runtime dependencies of syntax_tools-2.1.6: compiler-7.0,
 erts-9.0, kernel-5.0, stdlib-3.4


 ---------------------------------------------------------------------
 --- tftp-1.0.1 ------------------------------------------------------
 ---------------------------------------------------------------------

 The tftp-1.0.1 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15190    Application(s): debugger, edoc, eldap, et, eunit, ftp,
               hipe, jinterface, megaco, observer, odbc, os_mon,
               otp_mibs, parsetools, reltool, sasl, tftp, xmerl

               Improved documentation.


 Full runtime dependencies of tftp-1.0.1: kernel-6.0, stdlib-3.5


 ---------------------------------------------------------------------
 --- tools-3.0.1 -----------------------------------------------------
 ---------------------------------------------------------------------

 The tools-3.0.1 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Improvements and New Features ---

  OTP-15213    Application(s): tools
               Related Id(s): PR-1807

               The HTML pages generated by cover:analyse_to_file/1 and
               related functions is improved for readability.


  OTP-15239    Application(s): tools
               Related Id(s): PR-1728

               Add alignment functionality in emacs.


 Full runtime dependencies of tools-3.0.1: compiler-5.0, erts-9.1,
 kernel-5.4, runtime_tools-1.8.14, stdlib-3.4


 ---------------------------------------------------------------------
 --- wx-1.8.5 --------------------------------------------------------
 ---------------------------------------------------------------------

 The wx-1.8.5 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15230    Application(s): wx
               Related Id(s): PR-1860

               Fixed compilation warning on Darwin.


 Full runtime dependencies of wx-1.8.5: erts-6.0, kernel-3.0,
 stdlib-2.0


 ---------------------------------------------------------------------
 --- xmerl-1.3.18 ----------------------------------------------------
 ---------------------------------------------------------------------

 The xmerl-1.3.18 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15190    Application(s): debugger, edoc, eldap, et, eunit, ftp,
               hipe, jinterface, megaco, observer, odbc, os_mon,
               otp_mibs, parsetools, reltool, sasl, tftp, xmerl

               Improved documentation.


 Full runtime dependencies of xmerl-1.3.18: erts-6.0, kernel-3.0,
 stdlib-2.5


 ---------------------------------------------------------------------
 ---------------------------------------------------------------------
 ---------------------------------------------------------------------
2018-11-09 17:16:01 +00:00
maya
22b1591b19 erlang: correct typo.
pointed out by Michael Taylor in PR pkg/53567
2018-09-26 05:41:43 +00:00
maya
6ba2685739 erlang: bump PKGREVISION for previous.
This builds fine, but failed at runtime!
2018-09-18 04:12:38 +00:00
maya
ca3979425a erlang: Use existing workaround to deal with netbsd's kqueue
implementation limitation.

From Michael Taylor in PR pkg/53576, also in upstream ERL-725
2018-09-18 04:12:04 +00:00
maya
2813c03e03 erlang: limit pgo disabled for netbsd 8.0. Will be fixed in 8.1 release.
PR pkg/53567.
2018-09-18 03:48:40 +00:00
fhajny
23102e5da7 lang/erlang: Fix patch file, __STDC_VERSION__ might not be defined. 2018-09-13 09:17:40 +00:00
schmonz
474f2a9226 Update to 21.0.9. From the release announcements:
--- POTENTIAL INCOMPATIBILITIES -------------------------------------

   OTP-15225    Application(s): erts

                Fixed a bug causing some Erlang references to be
                inconsistently ordered. This could for example cause
                failure to look up certain elements with references as
                keys in search data structures. This bug was introduced
                in R13B02.

                Thanks to Simon Cornish for finding the bug and
                supplying a fix.


  --- compiler-7.2.4 --------------------------------------------------

  --- Fixed Bugs and Malfunctions ---

   OTP-15292    Application(s): compiler

                Fix a regression in OTP-15204 that removed .beam file
                metadata that some external build tools relied on.

   OTP-15204    Application(s): compiler
                Related Id(s): ERL-679

                Fixed an issue where files compiled with the
                +deterministic option differed if they were compiled in
                a different directory but were otherwise identical.

  OTP-15156    Application(s): compiler
               Related Id(s): ERL-655

               In rare cases involving matching of binary literal
               strings, the compiler could optimize away code that
               should be executed.


  OTP-15157    Application(s): compiler

               There could be an internal consistency check failure
               when compiling code that called map_get(Key, Map) and
               then updated the same map.


  OTP-15166    Application(s): compiler
               Related Id(s): ERL-660

               In rare circumstances, the compiler could crash in
               beam_jump when compiling a floating point operation.

  OTP-15150    Application(s): compiler
               Related Id(s): ERL-650

               The compiler could could crash when compiling a
               complicated function that used the binary syntax.

  Full runtime dependencies of compiler-7.2.4: crypto-3.6, erts-9.0,
  hipe-3.12, kernel-4.0, stdlib-2.5


  --- erts-10.0.8 -----------------------------------------------------

  --- Fixed Bugs and Malfunctions ---

   OTP-15289    Application(s): erts
                Related Id(s): ERIERL-235, ERL-576, OTP-14943

                As of ERTS version 10.0 (OTP 21.0) the erl_child_setup
                program, which creates port programs, ignores TERM
                signals. This setting was unintentionally inherited by
                port programs. Handling of TERM signals in port
                programs has now been restored to the default behavior.
                That is, terminate the process.

   OTP-15296    Application(s): erts
                Related Id(s): ERIERL-226, OTP-15279

                The fix made for OTP-15279 in erts-10.07 (OTP-21.0.8)
                was not complete. It could cause a new connection
                attempt to be incorrectly aborted in certain cases.
                This fix will amend that flaw.

   OTP-15275    Application(s): erts
                Related Id(s): PR-1943

                A process could get stuck in an infinite rescheduling
                loop between normal and dirty schedulers. This bug was
                introduced in ERTS version 10.0.

                Thanks to Maxim Fedorov for finding and fixing this
                issue.

   OTP-15279    Application(s): erts
                Related Id(s): ERIERL-226

                Garbage collection of a distribution entry could cause
                an emulator crash if net_kernel had not brought
                previous connection attempts on it down properly.

   OTP-15237    Application(s): erts

                A race between termination of a process and resume of
                the same process via erlang:resume_process/1 could
                cause the VM to crash. This bug was introduced in erts
                version 10.0 (OTP 21.0).

   OTP-15269    Application(s): erts
                Related Id(s): ERL-713

                When tracing on running, in trace events could be lost
                when a process was rescheduled between a dirty and a
                normal scheduler.

   OTP-15223    Application(s): erts

                Fixed a bug which caused an emulator crash when
                enif_send() was called by a NIF that executed on a
                dirty scheduler. The bug was either triggered when the
                NIF called enif_send() without a message environment,
                or when the process executing the NIF was send traced.

   OTP-15225    Application(s): erts

                *** POTENTIAL INCOMPATIBILITY ***

                Fixed a bug causing some Erlang references to be
                inconsistently ordered. This could for example cause
                failure to look up certain elements with references as
                keys in search data structures. This bug was introduced
                in R13B02.

                Thanks to Simon Cornish for finding the bug and
                supplying a fix.

  OTP-15169    Application(s): erts

               Fixed a bug that prevented the noshell option from
               working correctly on Mac OS X and BSD.

  OTP-15184    Application(s): erts

               Fixed a crash when matching directly against a literal
               map using a single key that had been saved on the
               stack.

  OTP-15196    Application(s): erts

               Fix node crash when passing a bad time option to
               file:read_file_info/2.

   OTP-15154    Application(s): erts

                Fixed a scheduler bug that caused normal schedulers to
                run dirty code.

   OTP-15183    Application(s): erts
                Related Id(s): ERL-670

                Fixed a bug in erlang:trace_info/2 which caused the
                emulator to crash when a bad argument was passed. The
                bug was introduced in ERTS version 10.0.

  OTP-15067    Application(s): erts
               Related Id(s): ERL-573

               Fixed a rare bug that could cause processes to be
               scheduled after they had been freed.

  OTP-15158    Application(s): erts
               Related Id(s): ERL-654

               Fixed a race condition in the inet driver that could
               cause receive to hang when the emulator was compiled
               with gcc 8.

  OTP-15147    Application(s): erts
               Related Id(s): ERL-644

               The keys used in os:getenv and os:putenv are
               case-insensitive again on Windows.

  Full runtime dependencies of erts-10.0.8: kernel-6.0, sasl-3.0.1,
  stdlib-3.5


  --- kernel-6.0.1 ----------------------------------------------------

  --- Fixed Bugs and Malfunctions ---

   OTP-15280    Application(s): kernel
                Related Id(s): ERIERL-226, OTP-15279

                Fixed bug in net_kernel that could cause an emulator
                crash if certain connection attempts failed. Bug exists
                since kernel-6.0 (OTP-21.0).

  Full runtime dependencies of kernel-6.0.1: erts-10.0, sasl-3.0,
  stdlib-3.5


 --- crypto-4.3.2 ----------------------------------------------------

 --- Fixed Bugs and Malfunctions ---

  OTP-15233    Application(s): crypto

               Update the crypto engine functions to handle multiple
               loads of an engine.

               engine_load/3/4 is updated so it doesn't add the engine
               ID to OpenSSLs internal list of engines which makes it
               possible to run the engine_load more than once if it
               doesn't contain global data.

               Added ensure_engine_loaded/2/3 which guarantees that
               the engine just is loaded once and the following calls
               just returns a reference to it. This is done by add the
               ID to the internal OpenSSL list and check if it is
               already registered when the function is called.

               Added ensure_engine_unloaded/1/2 to unload engines
               loaded with ensure_engine_loaded.

               Then some more utility functions are added.

               engine_add/1, adds the engine to OpenSSL internal list

               engine_remove/1, remove the engine from OpenSSL
               internal list

               engine_get_id/1, fetch the engines id

               engine_get_name/1, fetch the engine name

   OTP-15194    Application(s): crypto
                Related Id(s): ERL-673

                Fixed a node crash in crypto:compute_key(ecdh, ...)
                when passing a wrongly typed Others argument.

 Full runtime dependencies of crypto-4.3.2: erts-9.0, kernel-5.3,
 stdlib-3.4


 --- public_key-1.6.1 ------------------------------------------------

  OTP-15151    Application(s): public_key
               Related Id(s): OTP-15113

               Some of the keylengths in the newly generated moduli
               file in public_key are not universally supported. This
               could cause the SSH key exchange
               diffie-hellman-group-exchange-sha* to fail.

               Those keylengths are now removed.

 Full runtime dependencies of public_key-1.6.1: asn1-3.0, crypto-3.8,
 erts-6.0, kernel-3.0, stdlib-3.5


 --- stdlib-3.5.1 ----------------------------------------------------

  OTP-15159    Application(s): stdlib

               Fix a bug that could cause a crash when formatting a
               list of non-characters using the control sequences p or
               P and limiting the output with the option chars_limit.

 Full runtime dependencies of stdlib-3.5.1: compiler-5.0, crypto-3.3,
 erts-10.0, kernel-6.0, sasl-3.0
2018-09-12 20:01:12 +00:00
maya
4488b41f10 erlang: disable PGO on netbsd. gcov doesn't work on netbsd-8 at least.
From Michael Taylor in PR pkg/53567
2018-09-03 17:40:32 +00:00
fhajny
577ed6d6bf Remove duplicate SunOS-only items from PLIST. Fixes non-SunOS builds. 2018-09-03 14:51:02 +00:00
wiz
93b46879c7 Recursive bump for perl5-5.28.0 2018-08-22 09:43:40 +00:00
nia
d58164ec2c lang/erlang: make the SCTP patch work again. 2018-08-14 18:40:42 +00:00
jperkin
057a18c0dc erlang: Fix _XOPEN_SOURCE configuration. 2018-07-26 16:01:45 +00:00
jperkin
5393242c73 *: Move SUBST_STAGE from post-patch to pre-configure
Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.
2018-07-04 13:40:07 +00:00
fhajny
930fabde78 lang/erlang*: Update to 21.0
Potential Incompatibilities
- All Corba applications are now moved from the OTP repository
- A new Corba repository will be created https://github.com/erlang
- New applications ftp and tftp, moved from inets
- ssl no longer supports 3_DES cipher suites or RSA-key exchange
  cipher suites by default
- Erlang:monitor on a primitive node (erl_interface, jinterface, etc)
  will no longer fail with badarg exception. Instead a monitor will be
  created, but it will only supervise the connection to the node.

Erts:
- Enhanced IO scalability
- Support for usage of distribution controller processes for
  alternative transports, routing etc
- compact instructions on 64bit systems for code below 4GB 20% less
  memory for loaded code
- Rewrite of the efile-driver with NIFs and "Dirty schedulers"
  resulting in faster file operations
- non-smp VM removed
- link and monitor optimized for scalability
- os:getenv/putenv now work on thread-safe emulation. No longer in
  sync with libc getenv(3). Manual synchronization will be needed.

Compiler:
- Misc compiler optimizations including contributions from the Elixir
  team resulting in 10% improvements in benchmarks
- "Tuple calls" have been removed from the run-time system.
- Code such as f({ok, Val}) -> {ok, Val} is now automatically
  rewritten to f({ok, Val} = Tuple) -> Tuple. this reduces code size,
  execution time, and removed GC pressure.
- More information in stacktrace from a number of operators
- erlang:get_stacktrace/0 deprecated to be replaced with try ... catch
  C:R:Stacktrace -> ...
- Creation of small maps with literal keys optimized.
- A new predefined macro OTP_RELEASE and preprocessor directives -if
  and -elif

Security:
- DTLS is now supported in the SSL application
- Enhanced support for distribution over TLS
- "unsecure" ciphers removed from defaults in SSL and SSH.
- A new option value defined to facilitate implementing exec servers.
  Old option kept for compatibility, but now gives errors on stderror.

Standard libraries:
- New API for logging, logger
- New uri_string module for parsing URIs according to "The standard"
- New function lists:search(list,fun/1) -> {ok, Value} | false
- Changed default behaviour of .erlang loading. escript, erlc,
  dialyzer and typer no longer load an .erlang at all.
2018-07-03 11:01:21 +00:00
fhajny
635fb08180 lang/erlang: Avoid RELRO check fail on the megaco driver. 2018-04-01 20:29:38 +00:00
fhajny
9a8b7f247d lang/erlang: Update to 20.3.
ssl:
- Added new API functions to facilitate cipher suite
  handling

erts, observer:
- More crash dump info such as: process binary virtual
  heap stats, full info for process causing out-of-mem
  during GC, more port related info, and dirty scheduler
  info.

inets:
- Add support for unix domain sockets in the http client.
2018-03-16 11:45:29 +00:00
jperkin
a0e8de0055 erlang: Fix build with SunOS/C99. 2018-01-29 16:54:38 +00:00
fhajny
1ae94db05e Update lang/erlang* to 20.2.
Some highlights:

crypto, ssl:
- The crypto API is extended to use private/public keys
  stored in an Engine for sign/verify or encrypt/decrypt
  operations.
- The ssl application provides an API to use this new
  engine concept in TLS.

ssh:
- SSH can now fetch the host key from the private keys
  stored in an Engine. See the crypto application for
  details about Engines.

ssl:
- A new command line option -ssl_dist_optfile has been
  added to facilitate specifying the many options needed
  when using SSL as the distribution protocol.

stdlib:
- Improve performance of the new string functionality
  when handling ASCII characters.

Full release notes:

  http://www.erlang.org/download/otp_src_20.2.readme
2017-12-13 14:45:20 +00:00
fhajny
f76ec96c9c lang/erlang: Fix incorrect internal consistency failure
for binary matching code. Bump PKGREVISION.
2017-10-17 14:47:36 +00:00
jperkin
3c29507106 erlang: Compile via CC wrapper to ensure correct flags.
Fixes SSP build of crypto_callback library.  Bump PKGREVISION.
2017-10-04 16:20:51 +00:00
fhajny
eefd48c3b0 Update lang/erlang* to 20.1.
Some highlights for 20.1:

- crypto, public_key: Extend crypto and public_key functions sign and
  verify with:
  - support for RSASSA-PS padding for signatures and for saltlength
    setting
  - X9.31 RSA padding.
  - sha, sha224, sha256, sha384, and sha512 for dss signatures as
    mentioned in NIST SP 800-57 Part 1.
  - ripemd160 to be used for rsa signatures.

- A new tuple in crypto:supports/0 reports supported MAC algorithms.

- diameter:
  - Add service option decode_format to allow incoming messages to be
    decoded into maps instead of records.
  - Decode performance has been improved.
  - Add service/transport option avp_dictionaries to give better
    support for dictionaries only defining AVPs.

- erts: Upgraded the ERTS internal PCRE library from version 8.40 to
  version 8.41.

- erts, kernel, tools: Profiling with lock counting can now be fully
  toggled at runtime in the lock counting emulator (-emu_type lcnt).

- erts: The zlib module has been refactored and all its operations
  will now yield appropriately, allowing them to be used freely in
  concurrent applications.

- erts, tools: Add erlang:iolist_to_iovec/1, which converts an
  iolist() to an erlang:iovec(), which is suitable for use with
  enif_inspect_iovec().

- erts: Add new nif API functions for managing an I/O Queue.

- observer/crashdump_viewer:
  - Reading of crash dumps with many binaries is optimized.
  - A progress bar is shown when the detail view for a process is
    opened.
  - The cdv script now sets ERL_CRASH_DUMP_SECONDS=0 to avoid
    generating a new crash dump from the node running the Crashdump
    Viewer.

- observer: Add system statistics and limits to frontpage in observer.

- public_key, ssl**: Improved error propagation and reports

- ssh: A new option modify_algorithms is implemented. It enables
  specifying changes on the default algorithms list.

- tools/xref: The predefined Xref analysis locals_not_used now
  understands the -on_load() attribute and does not report unused
  functions.

- tools/fprof: When sampling multiple processes and analyzing with
  totals set to true, the output now sums together all caller and
  callee entries which concerns the same function.
2017-10-02 18:10:38 +00:00
fhajny
d9c70b5163 Update lang/erlang* to 20.0.
Potential Incompatibilities
---------------------------

- ERTS:
  - The non SMP Erlang VM is deprecated and not built by default
  - Remove deprecated erlang:hash/2
  - erlang:statistics/1 with scheduler_wall_time now also includes
    info about dirty CPU schedulers.
  - The new purge strategy introduced in OTP 19.1 is mandatory and
    slightly incompatible for processes holding funs
  - The NIF library reload is not supported anymore.
  - Atoms can now contain arbitrary unicode characters which means
    that the DFLAG_UTF8_ATOMS capability in the distribution protocol
    must be supported if an OTP 20 node should accept the connection
    with another node or library.
- Asn1: Deprecated module and functions removed (asn1rt,
  asn1ct:encode/3 and decode/3)
- Ssh: client only option in a call to start a daemon will now fail

Highlights
----------

- Erts:
  - Dirty schedulers enabled and supported on VM with SMP support.
  - support for "dirty" BIFs and "dirty" GC.
  - erlang:garbage_collect/2 for control of minor or major GC
  - Erlang literals are no longer copied when sending messages.
  - Improved performance for large ETS tables, >256 entries (except
    ordered_set)
  - erlang:system_info/1 atom_count and atom_limit
  - Reduced memory pressure by converting sub-binaries to
    heap-binaries during GC
  - enif_select, map an external event to message
  - Improvements of timers internally in the VM resulting in reduced
    memory consumption and more efficient administration for timers
- Compiler:
  - Code generation for complicated guards is improved.
  - Warnings for repeated identical map keys. #{'a'=>1, 'b'=>2,
    'a'=>3} will warn for the repeated key a.
  - By default there is now a warning when export_all is used. Can be
    disabled
  - Pattern matching for maps is optimized
  - New option deterministic to omit path to source + options info the
    BEAM file.
  - Atoms may now contain arbitrary unicode characters.
  - compile:file/2 has an option to include extra chunks in the BEAM
    file.
- Misc other applications
  - Significantly updated string module with unicode support and many
    new functions
  - crypto now supports OpenSSL 1.1
  - Unnamed ets tables optimized
  - gen_fsm is deprecated and replaced by gen_statem
  - A new event manager to handle a subset of OS signals in Erlang
  - Optimized sets add_element, del_element and union
  - Added rand:jump/0-1
  - When a gen_server crashes, the stacktrace for the client will be
    printed to facilitate debugging.
  - take/2 has been added to dict, orddict, and gb_trees.
  - take_any/2 has been added to gb_trees
  - erl_tar support for long path names and new file formats
  - asn1: the new maps option changes the representation of SEQUENCE
    to be maps instead of records
  - A TLS client will by default call
    public_key:pkix_verify_hostname/2 to verify the hostname
  - ssl: DTLS documented in the API, experimental
  - ssh: improving security, removing and adding algorithms
  - New math:fmod/2
2017-07-04 11:40:48 +00:00
fhajny
3989149637 Use USE_GLOBAL_DEPS that some Erlang packages seem to use to rely on system dependencies. 2017-04-13 18:24:45 +00:00
fhajny
7ff576c8af Update lang/erlang* to 19.3.
Some highlights for 19.3:

- crypto, ssh: The implementation of the key exchange algorithms
  diffie-hellman-group-exchange-sha* are optimized, up to a factor of 11
  for the slowest ( = biggest and safest) group size.
- dialyzer: The peak memory consumption is reduced. Analyzing modules
  with binary construction with huge strings is now much faster.
- erts: A received SIGTERM signal to beam will generate a 'stop' message
  to the init process and terminate the Erlang VM nicely. This is
  equivalent to calling init:stop/0.
- kernel: The functions in the 'file' module that take a list of paths
  (e.g. file:path_consult/2) will now continue to search in the path if
  the path contains something that is not a directory.
- public_key: New function pkix_verify_hostname/2,3 Implements
  certificate hostname checking. See the manual and RFC 6125.
- public_key, ssh: The ssh host key fingerprint generation now also
  takes a list of algorithms and returns a list of corresponding
  fingerprints. See public_key:ssh_hostkey_fingerprint/2 and the option
  silently_accept_hosts in ssh:connect.
- ssl: Move PEM cache to a dedicated process, to avoid making the SSL
  manager process a bottleneck. This improves scalability of TLS
  connections.
- stdlib: filename:safe_relative_path/1 to sanitize a relative path has
  been added.

Full release notes:

  http://erlang.org/download/otp_src_19.3.readme
2017-03-17 14:37:04 +00:00
wiz
cdf9656837 Remove patch that is not in distinfo after update. 2017-01-05 08:35:56 +00:00
fhajny
0178a47d23 Update lang/erlang{,-doc,-man} to 19.2.
Erlang/OTP 19.2 is the second service release for the 19 major release.
The service release contains mostly bug fixes and characteristics
improvements.

Some highlights for 19.2

* STDLIB: The new behaviour gen_statem has been improved with 3 new
  features: the possibility to use old style non-proxy timeouts
  for gen_statem:call/2,3, state entry code, and state
  timeouts. These are backwards compatible. Minor code and
  documentation improvements has been performed including a
  borderline semantics correction of timeout zero handling.

* SSL: Experimental version of DTLS. It is runnable but not complete
  and cannot be considered reliable for production usage. To use
  DTLS add the option {protocol, dtls} to ssl:connect and ssl:listen.

* SSH: Extended the option silently_accept_hosts for ssh:connect to
  make it possible for the client to check the SSH host key
  fingerprint string. Se the reference manual for SSH.

* ~40 contributions since the previous service release OTP 19.1

You can find the README and the full listing of changes for this
service release at

http://www.erlang.org/download/otp_src_19.2.readme
2017-01-03 08:37:00 +00:00
joerg
c8d2daa426 Avoid non-portable recognition of defined() in expanded macros. 2016-12-17 23:27:23 +00:00
rillig
702ed5c7a4 Fixed pkglint warnings. 2016-12-17 12:55:29 +00:00
he
c2744c1468 Remove entries which are (no longer?) installed on NetBSD/i386 or NetBSD/amd64. 2016-10-04 08:16:13 +00:00
he
2210967601 Don't invade the implementation namespace.
There's no guarantee that __errno is free for own use.
(On NetBSD it isn't!)
2016-10-04 07:21:30 +00:00
fhajny
8923c5014c Update lang/erlang* to 19.1.
Some highlights of the release are:

- erts: Improved dirty scheduler support. A purge of a module will
- not have to wait for completion of all ongoing dirty NIF calls.
- erts: Improved accuracy of timeouts on MacOS X.
- kernel: Add net_kernel:setopts/2 and net_kernel:getopts/2 to
- control options for distribution sockets in runtime.
- asn1: Compiling multiple ASN.1 modules in the same directory with
- parallel make (make -j) should now be safe.
- httpd: support for PUT and DELETE in mod_esi
- ~30 contributions since 19.0

You can find the Release Notes with more detailed info at

http://www.erlang.org/download/otp_src_19.1.readme
2016-10-02 10:12:36 +00:00
jperkin
ddc0fe61fc Use GCC -shared on SunOS. Fixes shared libraries. Bump PKGREVISION. 2016-09-05 16:03:38 +00:00
fhajny
c3a99f95aa Update lang/erlang to 19.0 (R19)
- compiler, stdlib:
  - New preprocessor macros ?FUNCTION_NAME, ?FUNCTION_ARITY
  - New preprocessor directives -error(Term) and -warning(Term) to
    cause a compilation error or warning, respectively.
- gen_statem a new state machine behavior
- mnesia_ext: plugin of external storage solutions to mnesia
- crypto: uses EVP interface in OpenSSL resulting in generally
  better performance and support for HW acceleration
- ssh: performance improvements, uses the new gen_statem behavior
- ssl: enhanced error log messages
- dialyzer: the support for maps is very much extended both the
  type specification syntax and the type analysis.
- erts:
  - erlang:open_port(spawn, ...) 3-5 times faster
  - tracing, extensive improvements (scalability, speed, match
    specifications on send/receive, support for lttng, ...)
  - dirty schedulers improved
  - per process configurable handling of message_queue
  - fast loading of multiple modules
  - max_heap_size process flag
- erts/kernel: Experimental support for Unix Domain Sockets

Full changelog:

  http://erlang.org/download/otp_src_19.0.readme
2016-08-09 15:03:15 +00:00