73 commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
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 |
||
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. |
||
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 --------------------------------------------------------------------- --------------------------------------------------------------------- --------------------------------------------------------------------- |
||
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 --------------------------------------------------------------------- --------------------------------------------------------------------- --------------------------------------------------------------------- |
||
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 --------------------------------------------------------------------- --------------------------------------------------------------------- --------------------------------------------------------------------- |
||
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 --------------------------------------------------------------------- --------------------------------------------------------------------- --------------------------------------------------------------------- |
||
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 --------------------------------------------------------------------- --------------------------------------------------------------------- --------------------------------------------------------------------- |
||
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 --------------------------------------------------------------------- --------------------------------------------------------------------- --------------------------------------------------------------------- |
||
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 --------------------------------------------------------------------- --------------------------------------------------------------------- --------------------------------------------------------------------- |
||
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 --------------------------------------------------------------------- --------------------------------------------------------------------- --------------------------------------------------------------------- |
||
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 |
||
fhajny
|
23102e5da7 | lang/erlang: Fix patch file, __STDC_VERSION__ might not be defined. | ||
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 |
||
nia
|
d58164ec2c | lang/erlang: make the SCTP patch work again. | ||
jperkin
|
057a18c0dc | erlang: Fix _XOPEN_SOURCE configuration. | ||
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. |
||
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. |
||
jperkin
|
a0e8de0055 | erlang: Fix build with SunOS/C99. | ||
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 |
||
fhajny
|
f76ec96c9c |
lang/erlang: Fix incorrect internal consistency failure
for binary matching code. Bump PKGREVISION. |
||
jperkin
|
3c29507106 |
erlang: Compile via CC wrapper to ensure correct flags.
Fixes SSP build of crypto_callback library. Bump PKGREVISION. |
||
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. |
||
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 |
||
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 |
||
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 |
||
joerg
|
c8d2daa426 | Avoid non-portable recognition of defined() in expanded macros. | ||
he
|
2210967601 |
Don't invade the implementation namespace.
There's no guarantee that __errno is free for own use. (On NetBSD it isn't!) |
||
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 |
||
jperkin
|
ddc0fe61fc | Use GCC -shared on SunOS. Fixes shared libraries. Bump PKGREVISION. | ||
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 |
||
jperkin
|
89bd65ba1d | Use CC for linking. Fixes SunOS SSP builds. | ||
fhajny
|
5bb022a7b2 |
Update lang/erlang* to 18.3.
Some highlights of the release are: - New statistics info about runnable and active processes & ports. - Time warp improvements: dbg:p/2 and erlang:trace/3 with monotonic_timestamp | strict_monotonic_timestamp. - Introduced a validation callback for heart. - The module overload in sasl has been deprecated. - ~90 contributions since 18.2 Full release notes: http://erlang.org/download/otp_src_18.3.readme |
||
fhajny
|
6035f7453d |
Update lang/erlang to 18.2.1.
erlang 18.2.1 Due to a bug in the handling of paths on windows none of the following would work with paths containing a space: - ct_run - dialyzer - erlc - escript - typer This also contains a fix for HiPE enabled emulator for FreeBSD. erlang 18.2 - ssl: Add configurable upper limit for session cache. - erts: Add function enif_getenv to read OS environment variables in a portable way from NIFs. - kernel: Add {line_delim, byte()} option to inet:setopts/2 and decode_packet/3 - ssh: The 'ecdsa-sha2-nistp256', 'ecdsa-sha2-nistp384' and 'ecdsa-sha2-nistp521' signature algorithms for ssh are implemented. See RFC 5656. - ssh: The ssh:daemon option dh_gex_groups is extended to read a user provided ssh moduli file with generator-modulus pairs. The file is in openssh format. - Thanks to 41 different contributors! |
||
dholland
|
41c6e246f4 | Add patch comments. | ||
joerg
|
08f8698cbb | Unbreak build due to differences in the SCTP implementation. | ||
agc
|
54622f28e2 |
Add SHA512 digests for distfiles for lang category
Problems found with existing digests: Package nhc98 distfile nhc98src-1.22.tar.gz a8adc8f22371998ee0657bc0e01058a57d876abc [recorded] 81975fcb5f1dda5efeaabc30ce8c6dceae55e591 [calculated] Problems found locating distfiles: Package gcc-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2 Package gcc-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2 Package gcc-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2 Package gcc-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2 Package gcc-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2 Package ghc7: missing distfile ghc-7.6.3-boot-i386-unknown-freebsd.tar.xz Package icc11: missing distfile l_cproc_p_11.1.080.tgz Package jini: missing distfile jini-1_2_1_001-src.zip Package oo2c: missing distfile oo2c_32-2.0.11.tar.bz2 Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2 Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2 Package oracle-jdk8: missing distfile jdk-8u60-linux-i586.tar.gz Package oracle-jdk8: missing distfile jdk-8u60-solaris-x64.tar.gz Package oracle-jre8: missing distfile jre-8u60-linux-i586.tar.gz Package oracle-jre8: missing distfile jre-8u60-solaris-x64.tar.gz Package sun-jdk6: missing distfile jdk-6u45-linux-i586.bin Package sun-jdk6: missing distfile jdk-6u45-solaris-i586.sh Package sun-jdk7: missing distfile jdk-7u72-linux-i586.tar.gz Package sun-jdk7: missing distfile jdk-7u72-solaris-i586.tar.gz Package sun-jre6: missing distfile jce_policy-6.zip Package sun-jre6: missing distfile jre-6u45-linux-x64.bin Package sun-jre6: missing distfile jre-6u45-solaris-x64.sh Package sun-jre7: missing distfile jre-7u72-linux-i586.tar.gz Package sun-jre7: missing distfile jre-7u72-solaris-i586.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail. |
||
fhajny
|
0b0f497c03 |
Update lang/erlang to 18.1.
Some highlights of the release are: - ssl: Add possibility to downgrade an SSL/TLS connection to a tcp connection, and give back the socket control to a user process. - ssh: The following new key exchange algorithms are implemented: 'ecdh-sha2-nistp256', 'ecdh-sha2-nistp384', 'ecdh-sha2-nistp521', 'diffie-hellman-group14-sha1', 'diffie-hellman-group-exchange-sha1' and 'diffie-hellman-group-exchange-sha256'. This raises the security level considerably. - kernel,stdlib,sasl: A mechanism for limiting the amount of text that the built-in error logger events will produce has been introduced. It is useful for limiting both the size of log files and the CPU time used to produce them. Full release notes: http://www.erlang.org/download/otp_src_18.1.readme |
||
fhajny
|
f1980674b0 |
Update erlang to 18.0.
- Starting from 18.0 Erlang/OTP is released under the APL 2.0 - erts: The time functionality has been extended. This includes a new API for time, as well as "time warp" modes which alters the behavior when system time changes. You are strongly encouraged to use the new API instead of the old API based on erlang:now/0. erlang:now/0 has been deprecated since it is a scalability bottleneck. - erts: Beside the API changes and time warp modes a lot of scalability and performance improvements regarding time management has been made - erts: The previously introduced "eager check I/O" feature is now enabled by default. - erts/compiler: enhanced support for maps. Big maps new uses a HAMT (Hash Array Mapped Trie) representation internally which makes them more efficient. There is now also support for variables as map keys. - dialyzer: The -dialyzer() attribute can be used for suppressing warnings in a module by specifying functions or warning options. - ssl: Remove default support for SSL-3.0 and added padding check for TLS-1.0 due to the Poodle vulnerability. - ssl: Remove default support for RC4 cipher suites, as they are consider too weak. - stdlib: Allow maps for supervisor flags and child specs - stdlib: New functions in ets: - take/2. Works the same as ets:delete/2 but also returns the deleted object(s). - ets:update_counter/4 with a default object as argument Full changelog: http://www.erlang.org/download/otp_src_18.0.readme |
||
fhajny
|
69570fa8e4 |
Update lang/erlang to 17.5.
erlang-17.5 ================================ Highlights: - ERTS: Added command line argument option for setting the initial size of process dictionaries. - Diameter: configurable incoming_max len and string_decode for diameter messages - Bugfixes and minor small features in applications such as compiler, common_test, crypto, debugger, eldap, erts, hipe, inets, ssh, ssl,... Full changelog: http://www.erlang.org/download/otp_src_17.5.readme erlang-17.4 ================================ Highlights: - eldap: Nearly all TCP options are possible to give in the eldap:open/2 call. - ssh: Added API functions ptty_alloc/3 and ptty_alloc/4, to allocate a pseudo tty. - ssl: Handle servers that may send an empty SNI extension to the client. Full changelog: http://www.erlang.org/download/otp_src_17.4.readme erlang-17.3 ================================ Highlights: - erts: Introduced enif_schedule_nif() which allows a long running NIF to be broken into separate NIF invocations without the help of a wrapper function written in Erlang - common_test: Experimental support for running Quickcheck and PropEr tests from common_test suites is added. Examples of usage in the suites for the ssh and inets applications - Bugfixes and minor new features in applications such as asn1, erts, kernel, stdlib, diameter, ssh, mnesia, ssl, jinterface Full changelog: http://www.erlang.org/download/otp_src_17.3.readme erlang-17.1 ================================ Highlights: - crypto: Add aes_cfb8 cypher to crypto:block_encrypt and block_decrypt. - diameter: Add result code counters for CEA, DWA, and DPA. - erts: The following built in functions in the erlang and binary modules now bump an appropriate amount of reductions and yield when out of reductions: binary_to_list/1, binary_to_list/3, bitstring_to_list/1, list_to_binary/1, iolist_to_binary/1, list_to_bitstring/1, binary:list_to_bin/1 - hipe: Handle Maps instructions get_map_elements, put_map_assoc, put_map_exact in the HiPE native code compiler. - mnesia: The time for inserting locks for a transaction with large number of locks is reduced significantly. - ssh: Option max_sessions added to ssh:daemon/{2,3}. - stdlib: Add maps:get/3 to maps module. The function will return the supplied default value if the key does not exist in the map. Full changelog: http://www.erlang.org/download/otp_src_17.1.readme erlang-17.0 ================================ Highlights: - Erlang/OTP has been ported to the realtime operating system OSE. - Maps, a new dictionary data type (experimental) - A more natural mapping from ASN.1 OCTET STRING and BIT STRING to Erlang types, and other ASN.1 improvements and optimizations - The {active, N} socket option for TCP, UDP, and SCTP - A new (optional) scheduler utilization balancing mechanism - Migration of memory carriers has been enabled by default on all ERTS internal memory allocators - Increased garbage collection tenure rate - Experimental "dirty schedulers" functionality - Funs can now be given names - Miscellaneous unicode support enhancements - A new version scheme for OTP its applications has been introduced Full changelog: http://www.erlang.org/download/otp_src_17.0.readme erlang 16.1.3.1 (R16B03-1) ================================ Highlights: - The ODBC application was missing in the prebuilt Windows installers - 3 corrections in the SSL application: - Add missing validation of the server_name_indication option and test for its explicit use. - Elliptic curve selection in server mode now properly selects a curve suggested by the client, if possible. - The server did not indicate support for secure renegotiation during TLS extension handling. - In the syntax tools application a bug was introduced which broke reverting of local funs. This is now corrected (thanks to Anthony Ramine) - wx - Solved a problem which caused the debugger to crash when closing a window. Fixed static linking on Mac. - xmerl - Fixed a problem in the SAX-parser when the header of the next document was appearing in the buffer when using the xmerl_sax_parser:stream/2 function. Full changelog: http://www.erlang.org/download/otp_src_R16B03-1.readme erlang-16.1.3 (R16B03) ================================ Highlights: - A new memory allocation feature called "super carrier" has been introduced. It can for example be used for pre-allocation of all memory that the runtime system should be able to use. It is enabled by passing the +MMscs (size in MB) command line argument. For more information see the documentation of the +MMsco, +MMscrfsd, +MMscrpm, +MMscs, +MMusac, and, +Mlpm command line arguments in the erts_alloc(3) documentation. - The ldap client eldap now supports the start_tls operation. This upgrades an existing tcp connection to encryption using tls, see eldap:start_tls/2 and /3. - The ftp client (inets application) now supports ftp over tls (ftps). Full changelog: http://www.erlang.org/download/otp_src_R16B03.readme |
||
jperkin
|
cac68a8eda |
Fix build with DTrace 1.11 and newer which is more strict about objects
with no probes enabled. Bump PKGREVISION. |
||
asau
|
12db2f4ca9 |
Update Erlang/OTP to R16B02.
R16B02 is the second maintenance release for the R16B major release. You can find the README file for the release at http://www.erlang.org/download/otp_src_R16B02.readme R16B01 is the first maintenance release for the R16B major release. You can find the README file for the release at http://www.erlang.org/download/otp_src_R16B01.readme Highlights for R16B01: OTP-10279 == erts == Support for migration of memory carriers between memory allocator instances has been introduced. By default this feature is not enabled and do not effect the characteristics of the system. When enabled it has the following impact on the characteristics of the system: -- Reduced memory footprint when the memory load is unevenly distributed between scheduler specific allocator instances. -- Depending on the default allocaton strategy used on a specific allocator there might or might not be a slight performance loss. -- When enabled on the fix_alloc allocator, a different strategy for management of fix blocks will be used. -- The information returned from erlang:system_info({allocator, A}), and erlang:system_info({allocator_sizes, A}) will be slightly different when this feature has been enabled. An mbcs_pool tuple will be present giving information about abandoned carriers, and in the fix_alloc case no fix_types tuple will be present. For more information, see the documentation of the +M<S>acul command line argument. OTP-11009 == ssl public_key crypto common_test dialyzer ssh stdlib snmp inets == Integrate elliptic curve contribution from Andreas Schultz In order to be able to support elliptic curve cipher suites in SSL/TLS, additions to handle elliptic curve infrastructure has been added to public_key and crypto. This also has resulted in a rewrite of the crypto API to gain consistency and remove unnecessary overhead. All OTP applications using crypto has been updated to use the new API. Impact: Elliptic curve cryptography (ECC) offers equivalent security with smaller key sizes than other public key algorithms. Smaller key sizes result in savings for power, memory, bandwidth, and computational cost that make ECC especially attractive for constrained environments. OTP-11159 == erts == Lift static limitation (FD_SETSIZE) for file descriptors on Mac OS X. (Thanks to Anthony Ramine) |
||
jperkin
|
f9e5719572 | Avoid -Werror=return-type errors. Fixes SunOS build. | ||
asau
|
45a92e075d |
Update to Erlang/OTP R16B (designated as 16.1 in pkgsrc).
R16B is a major new release of Erlang/OTP. Detailed information on changes can be fetched at http://www.erlang.org/download/otp_src_R16B.readme --- HIGHLIGHTS ---------------------------------------------------------- OTP-7786 == ssh == Added User Guide for the SSH application OTP-9892 == erts == Process optimizations. The most notable: -- New internal process table implementation allowing for both parallel reads as well as writes. Especially read operations have become really cheap. This reduce contention in various situations. For example when, spawning processes, terminating processes, sending messages, etc. -- Optimizations of run queue management reducing contention. -- Optimizations of process state changes reducing contention. These changes imply changes of the characteristics the system. Most notable: changed timing in the system. OTP-9974 == erts == Non-blocking code loading. Earlier when an Erlang module was loaded, all other execution in the VM were halted while the load operation was carried out in single threaded mode. Now modules are loaded without blocking the VM. Processes may continue executing undisturbed in parallel during the entire load operation. The load operation is completed by making the loaded code visible to all processes in a consistent way with one single atomic instruction. Non-blocking code loading will improve realtime characteristics when modules are loaded/upgraded on a running SMP system. OTP-10256 == inets == httpc: The HTTP client now supports HTTPS through proxies OTP-10336 == erts == Major port improvements. The most notable: -- New internal port table implementation allowing for both parallel reads as well as writes. Especially read operations have become really cheap.This reduce contention in various situations. For example when, creating ports, terminating ports, etc. -- Dynamic allocation of port structures. This allow for a much larger maximum amount of ports allowed as a default. The previous default of 1024 has been raised to 65536. Maximum amount of ports can be set using the +Q command line flag of erl(1). The previously used environment variable ERL_MAX_PORTS has been deprecated and scheduled for removal in OTP-R17. -- Major rewrite of scheduling of port tasks. Major benefits of the rewrite are reduced contention on run queue locks, and reduced amount of memory allocation operations needed. The rewrite was also necessary in order to make it possible to schedule signals from processes to ports. -- Improved internal thread progress functionality for easy management of unmanaged threads. This improvement was necessary for the rewrite of the port task scheduling. -- Rewrite of all process to port signal implementations in order to make it possible to schedule those operations. All port operations can now be scheduled which allows for reduced lock contention on the port lock as well as truly asynchronous communication with ports. -- Optimized lookup of port handles from drivers. -- Optimized driver lookup when creating ports. -- Preemptable erlang:ports/0 BIF. -- Improving responsiveness by bumping reductions for a process calling a driver callback directly. These changes imply changes of the characteristics of the system. The most notable: -- Order of signal delivery -- The previous implementation of the VM has delivered signals from processes to ports in a synchronous stricter fashion than required by the language. As of ERTS version 5.10, signals are truly asynchronously delivered. The order of signal delivery still adheres to the requirements of the language, but only to the requirements. That is, some signal sequences that previously always were delivered in one specific order may now from time to time be delivered in different orders. This may cause Erlang programs that have made false assumptions about signal delivery order to fail even though they previously succeeded. For more information about signal ordering guarantees, see the chapter on communication in the ERTS user's guide. The +n command line flag of erl(1) can be helpful when trying to find signaling order bugs in Erlang code that have been exposed by these changes. -- Latency of signals sent from processes to ports -- Signals from processes to ports where previously always delivered immediately. This kept latency for such communication to a minimum, but it could cause lock contention which was very expensive for the system as a whole. In order to keep this latency low also in the future, most signals from processes to ports are by default still delivered immediately as long as no conflicts occur. Such conflicts include not being able to acquire the port lock, but also include other conflicts. When a conflict occur, the signal will be scheduled for delivery at a later time. A scheduled signal delivery may cause a higher latency for this specific communication, but improves the overall performance of the system since it reduce lock contention between schedulers. The default behavior of only scheduling delivery of these signals on conflict can be changed by passing the +spp command line flag to erl(1). The behavior can also be changed on port basis using the parallelism option of the open_port/2 BIF. -- Execution time of the erlang:ports/0 BIF -- Since erlang:ports/0 now can be preempted, the responsiveness of the system as a whole has been improved. A call to erlang:ports/0 may, however, take a much longer time to complete than before. How much longer time heavily depends on the system load. -- Reduction cost of calling driver callbacks -- Calling a driver callback is quite costly. This was previously not reflected in reduction cost at all. Since the reduction cost now has increased, a process performing lots of direct driver calls will be scheduled out more frequently than before. Potential incompatibilities: -- driver_send_term() has been deprecated and has been scheduled for removal in OTP-R17. Replace usage of driver_send_term() with usage of erl_drv_send_term(). -- driver_output_term() has been deprecated and has been scheduled for removal in OTP-R17. Replace usage of driver_output_term() with usage of erl_drv_output_term(). -- The new function erl_drv_busy_msgq_limits() has been added in order to able to control management of port queues. The driver API version has been bumped to 2.1 from 2.0 due to the above changes in the driver API. OTP-10410 == asn1 == The options for the ASN.1 compiler has been drastically simplified. The backend is chosen by using ber, per, or uper. The options optimize, nif, and driver are no longer needed. The old options will still work, but will issue a warning. Another change is that generated encode/2 function will always return a binary (some backends used to return an iolist). OTP-10588 == asn1 == The ASN.1 compiler will now always include necessary run-time functions in the generated Erlang modules (except for asn1rt_nif which is still neeeded). If the option 'inline' is used the ASN.1 compiler will generate a warning. But if '{inline,OutputFile}' is use, the ASN.1 compiler will refuse to compile the file. (Use a .set.asn file if you need to remove the output file.) The 'BIT STRING' type will now be decoded as Erlang bitstrings by default. Use the new legacy_bit_string option to encode as lists of ones and zeroes. (The compact_bit_string option still works as before.) Open types are now always returned as binaries (when there is no information allowing them to be decoded). --- POTENTIAL INCOMPATIBILITIES ----------------------------------------- OTP-9052 == common_test == Removed depricated run_test program, use ct_run instead. OTP-9881 == common_test == It is now possible to let a test specification include other test specifications. Included specs can either be joined with the source spec (and all other joined specs), resulting in one single test run, or they can be executed in separate test runs. Also, a start flag/option, join_specs, has been introduced, to be used in combination with the spec option. With join_specs, Common Test can be told to either join multiple test specifications, or run them separately. Without join_specs, the latter behaviour is default. Note that this is a change compared to earlier versions of Common Test, where specifications could only be joined. More information can be found in the Running Tests chapter in the User's Guide (see the Test Specifications section). OTP-10117 == inviso == The inviso application has been removed. OTP-10170 == erts pman == Tuple funs (deprecated in R15B) are no longer supported. OTP-10195 == edoc == Since EDoc 0.7.7 (R14B02) separate values of union types can be annotated. However, the parser has hitherto chosen not to add the necessary parentheses due to backwards compatibility. From this release on code traversing the output of edoc_parser needs to take care of parentheses around separate values of union types. Examples of such code are layout modules and doclet modules. OTP-10336 == erts == Major port improvements. The most notable: -- New internal port table implementation allowing for both parallel reads as well as writes. Especially read operations have become really cheap.This reduce contention in various situations. For example when, creating ports, terminating ports, etc. -- Dynamic allocation of port structures. This allow for a much larger maximum amount of ports allowed as a default. The previous default of 1024 has been raised to 65536. Maximum amount of ports can be set using the +Q command line flag of erl(1). The previously used environment variable ERL_MAX_PORTS has been deprecated and scheduled for removal in OTP-R17. -- Major rewrite of scheduling of port tasks. Major benefits of the rewrite are reduced contention on run queue locks, and reduced amount of memory allocation operations needed. The rewrite was also necessary in order to make it possible to schedule signals from processes to ports. -- Improved internal thread progress functionality for easy management of unmanaged threads. This improvement was necessary for the rewrite of the port task scheduling. -- Rewrite of all process to port signal implementations in order to make it possible to schedule those operations. All port operations can now be scheduled which allows for reduced lock contention on the port lock as well as truly asynchronous communication with ports. -- Optimized lookup of port handles from drivers. -- Optimized driver lookup when creating ports. -- Preemptable erlang:ports/0 BIF. -- Improving responsiveness by bumping reductions for a process calling a driver callback directly. These changes imply changes of the characteristics of the system. The most notable: -- Order of signal delivery -- The previous implementation of the VM has delivered signals from processes to ports in a synchronous stricter fashion than required by the language. As of ERTS version 5.10, signals are truly asynchronously delivered. The order of signal delivery still adheres to the requirements of the language, but only to the requirements. That is, some signal sequences that previously always were delivered in one specific order may now from time to time be delivered in different orders. This may cause Erlang programs that have made false assumptions about signal delivery order to fail even though they previously succeeded. For more information about signal ordering guarantees, see the chapter on communication in the ERTS user's guide. The +n command line flag of erl(1) can be helpful when trying to find signaling order bugs in Erlang code that have been exposed by these changes. -- Latency of signals sent from processes to ports -- Signals from processes to ports where previously always delivered immediately. This kept latency for such communication to a minimum, but it could cause lock contention which was very expensive for the system as a whole. In order to keep this latency low also in the future, most signals from processes to ports are by default still delivered immediately as long as no conflicts occur. Such conflicts include not being able to acquire the port lock, but also include other conflicts. When a conflict occur, the signal will be scheduled for delivery at a later time. A scheduled signal delivery may cause a higher latency for this specific communication, but improves the overall performance of the system since it reduce lock contention between schedulers. The default behavior of only scheduling delivery of these signals on conflict can be changed by passing the +spp command line flag to erl(1). The behavior can also be changed on port basis using the parallelism option of the open_port/2 BIF. -- Execution time of the erlang:ports/0 BIF -- Since erlang:ports/0 now can be preempted, the responsiveness of the system as a whole has been improved. A call to erlang:ports/0 may, however, take a much longer time to complete than before. How much longer time heavily depends on the system load. -- Reduction cost of calling driver callbacks -- Calling a driver callback is quite costly. This was previously not reflected in reduction cost at all. Since the reduction cost now has increased, a process performing lots of direct driver calls will be scheduled out more frequently than before. Potential incompatibilities: -- driver_send_term() has been deprecated and has been scheduled for removal in OTP-R17. Replace usage of driver_send_term() with usage of erl_drv_send_term(). -- driver_output_term() has been deprecated and has been scheduled for removal in OTP-R17. Replace usage of driver_output_term() with usage of erl_drv_output_term(). -- The new function erl_drv_busy_msgq_limits() has been added in order to able to control management of port queues. The driver API version has been bumped to 2.1 from 2.0 due to the above changes in the driver API. OTP-10410 == asn1 == The options for the ASN.1 compiler has been drastically simplified. The backend is chosen by using ber, per, or uper. The options optimize, nif, and driver are no longer needed. The old options will still work, but will issue a warning. Another change is that generated encode/2 function will always return a binary (some backends used to return an iolist). OTP-10417 == kernel sasl == It is no longer possible to have {Mod,Vsn} in the 'modules' list in a .app file. This was earlier possible, although never documented in the .app file reference manual. It was however visible in the documentation of application:load/[1,2], where the same term as in a .app file can be used as the first argument. The possibility has been removed since the Vsn part was never used. OTP-10451 == ssl == Remove filter mechanisms that made error messages backwards compatible with old ssl but hid information about what actually happened. This does not break the documented API however other reason terms may be returned, so code that matches on the reason part of {error, Reason} may fail. OTP-10490 == stdlib == If a child process fails in its start function, then the error reason was earlier only reported as an error report from the error_handler, and supervisor:start_link would only return {error,shutdown}. This has been changed so the supervisor will now return {error,{shutdown,Reason}}, where Reason identifies the failing child and its error reason. (Thanks to Tomas Pihl) OTP-10523 == tools == A new function, cover:flush(Nodes), is added which will fetch data from remote nodes without stopping cover on those nodes. This is used by test_server and common_test when it is safe to assume that the node will be terminated after the test anyway. The purpose is to avoid processes crashing when re-loading the original beam if the processes is still running old code. Remote nodes will now continue to count code coverage if the connection to the main node is broken. Earlier, a broken connection would cause the cover_server on the remote node to die and thus any still cover compiled modules would cause process crash when trying to insert cover data in ets tables that used to exist on the cover_server. The new functionality also involves synchronization with the main node if the nodes are reconnected. OTP-10588 == asn1 == The ASN.1 compiler will now always include necessary run-time functions in the generated Erlang modules (except for asn1rt_nif which is still neeeded). If the option 'inline' is used the ASN.1 compiler will generate a warning. But if '{inline,OutputFile}' is use, the ASN.1 compiler will refuse to compile the file. (Use a .set.asn file if you need to remove the output file.) The 'BIT STRING' type will now be decoded as Erlang bitstrings by default. Use the new legacy_bit_string option to encode as lists of ones and zeroes. (The compact_bit_string option still works as before.) Open types are now always returned as binaries (when there is no information allowing them to be decoded). OTP-10613 == ssl == Removed deprecated function ssl:pid/0, it has been pointless since R14 but has been keep for backwards compatibility. OTP-10633 == erts == Erlang specification 4.7.3 defines max tuple size to 65535 elements It is now enforced to no more than 16777215 elements (arity 24 bits) Previous edge cases (28 bits) were not validated and could cause undefined behaviour. OTP-10647 == erts == The previous default of a maximum of 32768 simultaneous processes has been raised to 262144. This value can be changed using the the +P command line flag of erl(1). Note that the value passed now is considered as a hint, and that actual value chosen in most cases will be a power of two. OTP-10812 == stdlib == filelib:wildcard("some/relative/path/*.beam", Path) would fail to match any file. That is, filelib:wildcard/2 would not work if the first component of the pattern did not contain any wildcard characters. (A previous attempt to fix the problem in R15B02 seems to have made matters worse.) (Thanks to Samuel Rivas and Tuncer Ayaz.) There is also an incompatible change to the Path argument. It is no longer allowed to be a binary. OTP-10872 == erts == As of ERTS-5.10/OTP-R16A node names passed in the EPMD protocol are required to be encoded in UTF-8. Since EPMD previously accepted latin1 encoded node names this is an incompatibility. However, since Erlang nodes always have required characters in node names to be 7-bit ASCII characters (and still do require this), this incompatibility should not effect anyone using EPMD as an Erlang Port Mapper Daemon. |
||
asau
|
4b963f3929 |
Update to Erlang/OTP R15B03-1
Changes in R15B03-1 After the release of R15B03 a very unfortunate bug in ssl:ssl_accept/2 (accept with timeout) was detected. This bug will have negative impact on a number of popular http servers and server frameworks written in Erlang. The differences from R15B03 are in ssl-5.1.2 and erts-5.9.3.1. Full log at http://www.erlang.org/download/otp_src_R15B03-1.readme Changes in R15B03 Mostly bug fixes and small improvements. Full log at http://www.erlang.org/download/otp_src_R15B03.readme Changes in R15B02 Highlights OTP-8871 == ssl == Experimental support for TLS 1.1 is now available, will be officially supported from OTP-R16. Thanks to Andreas Schultz for implementing the first version. OTP-8872 == ssl == Experimental support for TLS 1.2 is now available, will be officially supported from OTP-R16. Thanks to Andreas Schultz for implementing the first version. OTP-10113 == ssl == Removed some bottlenecks increasing the applications parallelism especially for the client side. Full log at http://www.erlang.org/download/otp_src_R15B02.readme |
||
joerg
|
8e98e3b242 | Explicitly include sys/vmmeter.h on NetBSD. | ||
asau
|
bbf29c150d |
Update to Erlang/OTP R15B02
Changes in Erlang/OTP R15B01 Highlights: * Dialyzer: The type analysis tool Dialyzer is optimized to be generally faster. - It can now also run in parallel (default) on SMP systems and by this perform the analysis significantly faster (Thanks to Stavros Aronis and Kostis Sagonas) * The SSL application now has experimental support for the TLS 1.1 and 1.2 standards as well (Thanks to Andreas Schultz). * CommonTest: It is now possible to sort the generated html tables. A Netconf client (ct_netconf) which support basic netconf over ssh is added * Diameter: Statistics counters related to Diameter messages can now be retrieved by calling the diameter:service_info/2 function. * Various smaller optimizations in the Erlang VM * This release also contains 66 contributions from users outside the Ericsson team |
||
asau
|
18ecbad8d1 |
Update to Erlang/OTP R15B01
Presumably fixes PR pkg/46297 Changes in Erlang/OTP R15B01 Highlights: * Added erlang:statistics(scheduler_wall_time) to ensure correct determination of scheduler utilization. Measuring scheduler utilization is strongly preferred over CPU utilization, since CPU utilization gives very poor indications of actual scheduler/vm usage. * Changed ssh implementation to use the public_key application for all public key handling. This is also a first step for enabling a callback API for supplying public keys and handling keys protected with password phrases. Additionally the test suites where improved so that they do not copy the users keys to test server directories as this is a security liability. Also ipv6 and file access issues found in the process has been fixed. * When an escript ends now all printout to standard output and standard error gets out on the terminal. This bug has been corrected by changing the behaviour of erlang:halt/0,1, which should fix the same problem for other escript-like applications, i.e. that data stored in the output port driver buffers got lost when printing on a TTY and exiting through erlang:halt/0,1. The BIF:s erlang:halt/0,1 has gotten improved semantics and there is a new BIF erlang:halt/2 to accomplish something like the old semantics. See the documentation. * The DTrace source patch from Scott Lystig Fritchie is integrated in the source tree. Using an emulator with dtrace probe is still not supported for production use, but may be a valuable debugging tool. * Added Torbjörn Törnkvists LDAP client as a new application called eldap. * Added options for the ssh client to support user keys files that are password protected. Changes in Erlang/OTP R15B Highlights: * Line number and filename information are now included in exception backtraces. This information will be pretty-printed in the shell and used in crash reports etc. In practice it will be much easier to find where something failed. * The driver interface has been changed to enable 64-bit aware drivers. Most importantly the return types for ErlDrvEntry callbacks 'call' and 'control' has been changed which require drivers to be changed. * New in this release is the support for 64 bit Windows. The self extracting installer can be found here. * CommonTest hooks are now in a final supported version. * There is a new GUI tool in the observer application which integrates pman, etop, appmon and tv into one tool. The tool does also contain functions for activating tracing in an easy way. * The Erlang distribution can now be run over the new SSL implementation. Changes in Erlang/OTP R15A Notable changes: OTP-9468 'Line numbers in exceptions' OTP-9451 'Parallel make' OTP-4779 A new GUI for Observer. Integrating pman, etop and tv into observer with tracing facilities. OTP-7775 A number of memory allocation optimizations have been implemented. Most optimizations reduce contention caused by synchronization between threads during allocation and deallocation of memory. Most notably: Synchronization of memory management in scheduler specific allocator instances has been rewritten to use lock-free synchronization. Synchronization of memory management in scheduler specific pre-allocators has been rewritten to use lock-free synchronization. The 'mseg_alloc' memory segment allocator now use scheduler specific instances instead of one instance. Apart from reducing contention this also ensures that memory allocators always create memory segments on the local NUMA node on a NUMA system. OTP-9632 An ERTS internal, generic, many to one, lock-free queue for communication between threads has been introduced. The many to one scenario is very common in ERTS, so it can be used in a lot of places in the future. Currently it is used by scheduling of certain jobs, and the async thread pool, but more uses are planned for the future. Drivers using the driver_async functionality are not automatically locked to the system anymore, and can be unloaded as any dynamically linked in driver. Scheduling of ready async jobs is now also interleaved in between other jobs. Previously all ready async jobs were performed at once. OTP-9631 The ERTS internal system block functionality has been replaced by new functionality for blocking the system. The old system block functionality had contention issues and complexity issues. The new functionality piggy-backs on thread progress tracking functionality needed by newly introduced lock-free synchronization in the runtime system. When the functionality for blocking the system isn't used, there is more or less no overhead at all. This since the functionality for tracking thread progress is there and needed anyway. |
||
fhajny
|
d2bd6601d4 |
Update erlang to R14B04
This release is mainly a stabilization of the R14B03 release (but as usual there are some new functionality as well). One pkgsrc change: add flex to USE_TOOLS, so that megaco_flex_scanner_drv gets built on all SunOS flavors. Read full announcement at http://www.erlang.org/download/otp_src_R14B04.readme |
||
hans
|
b8cc478001 | Don't use SIOCGIFHWADDR on SunOS. | ||
asau
|
0dbd52d48d |
Update Erlang to R14B03
Highlights: - Initial release of the diameter application. - Strengthened random number generation. - Some fixes for bugs that caused crashes. Read full announcement at http://www.erlang.org/download/otp_src_R14B03.readme |