Patch Package: OTP 17.4 Git Tag: OTP-17.4 Date: 2014-12-11 Trouble Report Id: OTP-10027, OTP-11216, OTP-11542, OTP-11766, OTP-12031, OTP-12036, OTP-12066, OTP-12078, OTP-12117, OTP-12159, OTP-12174, OTP-12180, OTP-12185, OTP-12187, OTP-12188, OTP-12189, OTP-12190, OTP-12196, OTP-12197, OTP-12200, OTP-12205, OTP-12208, OTP-12210, OTP-12211, OTP-12212, OTP-12213, OTP-12214, OTP-12215, OTP-12216, OTP-12221, OTP-12222, OTP-12224, OTP-12225, OTP-12231, OTP-12233, OTP-12238, OTP-12249, OTP-12250, OTP-12252, OTP-12255, OTP-12256, OTP-12259, OTP-12260, OTP-12262, OTP-12263, OTP-12264, OTP-12265, OTP-12266, OTP-12267, OTP-12268, OTP-12269, OTP-12273, OTP-12275, OTP-12276, OTP-12277, OTP-12278, OTP-12281, OTP-12283, OTP-12287, OTP-12289, OTP-12290, OTP-12291, OTP-12295, OTP-12296, OTP-12298, OTP-12300, OTP-12302, OTP-12304, OTP-12306, OTP-12308, OTP-12311, OTP-12312, OTP-12314, OTP-12315, OTP-12316, OTP-12318, OTP-12319, OTP-12321, OTP-12322, OTP-12323, OTP-12325, OTP-12326, OTP-12328, OTP-12329, OTP-12334, OTP-12341, OTP-12346, OTP-12347, OTP-12348, OTP-12357, OTP-12358 Seq num: seq12493, seq12556, seq12669, seq12700, seq12715, seq12728, seq12730, seq12733, seq12736, seq12739, seq12745, seq12753 System: OTP Release: 17 Application: asn1-3.0.3, common_test-1.9, compiler-5.0.3, crypto-3.4.2, debugger-4.0.2, dialyzer-2.7.3, diameter-1.8, edoc-0.7.16, eldap-1.1, erl_docgen-0.3.7, erl_interface-3.7.20, erts-6.3, eunit-2.2.9, hipe-3.11.2, inets-5.10.4, jinterface-1.5.12, kernel-3.1, megaco-3.17.3, mnesia-4.12.4, observer-2.0.3, odbc-2.10.22, otp_mibs-1.0.10, parsetools-2.0.12, percept-0.8.10, runtime_tools-1.8.15, snmp-5.1.1, ssh-3.1, ssl-5.3.8, stdlib-2.3, syntax_tools-1.6.17, test_server-3.7.2, tools-2.7.1, wx-1.3.2 Predecessor: OTP 17.3.4 Check out the git tag OTP-17.4, and build a full OTP system including documentation. Apply one or more applications from this build as patches to your installation using the 'otp_patch_apply' tool. For information on install requirements, see descriptions for each application version below. --------------------------------------------------------------------- --- asn1-3.0.3 ------------------------------------------------------ --------------------------------------------------------------------- The asn1-3.0.3 application can be applied independently of other applications on a full OTP 17 installation. --- Fixed Bugs and Malfunctions --- OTP-12205 Application(s): asn1 When decoding BER, primitives with an indefinite length will be immediately rejected. (Thanks to Simon Cornish for reporting this bug.) OTP-12318 Application(s): asn1 BER: A bug with compliance to X.680 (200811) s31.2.7 has been fixed. Basically, when TagDefault is AUTOMATIC then tags are IMPLICIT unless EXPLICIT is given. OTP-12326 Application(s): asn1 Usage of the EXTERNAL 1994 variant type was broken. Full runtime dependencies of asn1-3.0.3: erts-6.0, kernel-3.0, stdlib-2.0 --------------------------------------------------------------------- --- common_test-1.9 ------------------------------------------------- --------------------------------------------------------------------- Note! The common_test-1.9 application can *not* be applied independently of other applications on an arbitrary OTP 17 installation. On a full OTP 17 installation, also the following runtime dependency has to be satisfied: -- test_server-3.7.1 (first satisfied in OTP 17.1) --- Fixed Bugs and Malfunctions --- OTP-11766 Application(s): common_test, test_server Related Id(s): seq12556 The source code to html code generator in Test Server (and Common Test) would fail to generate anchors in the html code for functions with non-expandable macros, resulting in bad html links to such functions. This correction lets the code generator ignore macros that can't be expanded (i.e. not pre-process them), so that correct anchors will always be produced. OTP-12031 Application(s): common_test OTP-11971 erroneously changed the handling of relative paths (import/export files) specified in the cover spec file. This is now corrected so these are expected to be relative to the directory where the cover spec file itself is stored. OTP-12159 Application(s): common_test Common Test would sometimes crash while trying to print large amounts of SASL reports to log on a computer with a slow file system. This problem (due to an error in IO message buffering in ct_logs) has been fixed. OTP-12329 Application(s): common_test The common_test telnet client, ct_telnet and friends, had some unstable test cases. Some of these were caused by the unix_telnet callback sending an extra newline after sending the password. This caused the server to send an extra prompt back which confused the tests. The extra newline is no longer sent. Also, debug printouts and logging from the telnet client is improved, and some test cases are slightly modified in order to stabilize the test. OTP-12334 Application(s): common_test ct_netconfc did not expect the return value {error,timeout} from ssh_connection:subsystem/4. This has been corrected. --- Improvements and New Features --- OTP-12252 Application(s): common_test Related Id(s): seq12730 A new option, {newline,boolean()} is added to all functions in ct_telnet that send data (command strings) to the telnet server. By default, ct_telnet adds a newline to all command strings, and by setting the new option to false this behavior is turned off. OTP-12348 Application(s): common_test, erl_interface, megaco, odbc, test_server, wx Distribute autoconf helpers to applications at build time instead of having multiple identical copies committed in the repository. Full runtime dependencies of common_test-1.9: compiler-5.0, crypto-3.3, debugger-4.0, erts-6.0, inets-5.10, kernel-3.0, runtime_tools-1.8.14, sasl-2.4, snmp-4.25.1, ssh-3.0.1, stdlib-2.0, test_server-3.7.1, tools-2.6.14, webtool-0.8.10, xmerl-1.3.7 --------------------------------------------------------------------- --- compiler-5.0.3 -------------------------------------------------- --------------------------------------------------------------------- The compiler-5.0.3 application can be applied independently of other applications on a full OTP 17 installation. --- Fixed Bugs and Malfunctions --- OTP-12262 Application(s): compiler Named funs with the same name and arity could get mixed up with each other. OTP-12347 Application(s): compiler, dialyzer Coalesce map keys in dialyzer mode This fixes a regression introduced in commit 805f9c89fc01220bc1bb0f27e1b68fd4eca688ba The problem occurred with compounded map keys compiled with dialyzer option turned on, '+dialyzer'. Reported by: Ivan Uemlianin Full runtime dependencies of compiler-5.0.3: crypto-3.3, erts-6.0, hipe-3.10.3, kernel-3.0, stdlib-2.0 --------------------------------------------------------------------- --- crypto-3.4.2 ---------------------------------------------------- --------------------------------------------------------------------- The crypto-3.4.2 application can be applied independently of other applications on a full OTP 17 installation. --- Improvements and New Features --- OTP-12215 Application(s): crypto, erts Related Id(s): seq12700 Add configure option --with-ssl-incl=PATH to support OpenSSL installations with headers and libraries at different places. OTP-12316 Application(s): crypto, erts Related Id(s): seq12753 Add configure option --with-ssl-rpath to control which runtime library path to use for dynamic linkage toward OpenSSL. Full runtime dependencies of crypto-3.4.2: erts-6.0, kernel-3.0, stdlib-2.0 --------------------------------------------------------------------- --- debugger-4.0.2 -------------------------------------------------- --------------------------------------------------------------------- The debugger-4.0.2 application can be applied independently of other applications on a full OTP 17 installation. --- Fixed Bugs and Malfunctions --- OTP-12197 Application(s): debugger, eunit, kernel, percept, test_server Make sure to install .hrl files when needed OTP-12357 Application(s): debugger Invoking debugger functions ia/1 and iaa/1 crashed, when it tried to invoke the old and removed gs based gui functions. Full runtime dependencies of debugger-4.0.2: compiler-5.0, erts-6.0, kernel-3.0, stdlib-2.0, wx-1.2 --------------------------------------------------------------------- --- dialyzer-2.7.3 -------------------------------------------------- --------------------------------------------------------------------- The dialyzer-2.7.3 application can be applied independently of other applications on a full OTP 17 installation. --- Fixed Bugs and Malfunctions --- OTP-12225 Application(s): dialyzer When compiling Erlang source, Dialyzer now ignores the environment variable ERL_COMPILER_OPTIONS as well as skips the Erlang Compiler option warnings_as_errors. OTP-12319 Application(s): dialyzer Dialyzer did not check the type of record elements when updating them. The bug, introduced in Erlang/OTP 17.1, has been corrected. (Thanks to Nicolas Dudebout for pointing it out.) OTP-12347 Application(s): compiler, dialyzer Coalesce map keys in dialyzer mode This fixes a regression introduced in commit 805f9c89fc01220bc1bb0f27e1b68fd4eca688ba The problem occurred with compounded map keys compiled with dialyzer option turned on, '+dialyzer'. Reported by: Ivan Uemlianin Full runtime dependencies of dialyzer-2.7.3: compiler-5.0, erts-6.0, hipe-3.10.3, kernel-3.0, stdlib-2.0, syntax_tools-1.6.14, wx-1.2 --------------------------------------------------------------------- --- diameter-1.8 ---------------------------------------------------- --------------------------------------------------------------------- The diameter-1.8 application can be applied independently of other applications on a full OTP 17 installation. --- Fixed Bugs and Malfunctions --- OTP-12196 Application(s): diameter Fix remote diameter_request table leak. An outgoing request whose pick_peer callback selected a transport on another node resulted in an orphaned table entry on that node. OTP-12233 Application(s): diameter Fix handling of 3xxx Result-Code without E-bit. OTP-12233 broke the population of the errors field of the diameter_packet record when an incoming request with an E-bit/Result-Code mismatch was detected, causing a 4-tuple to be inserted as Result-Code in a diameter_avp record. OTP-12281 Application(s): diameter Related Id(s): seq12728 Fix ignored connect timer. There are two timers governing the establishment of peer connections: connect_timer and watchdog_timer. The former is the RFC 6733 Tc timer, and is used at initial connection establishment. The latter is RFC 3539 TwInit, and is used for connection reestablishment. A connecting transport erroneously used watchdog_timer in both cases. --- Improvements and New Features --- OTP-12308 Application(s): diameter Order candidate peers in pick_peer callbacks. The order of candidate peers presented to a diameter_app(3) pick_peer callback has previously not been documented, but there are use cases that are simplified by an ordering. The order is now determined by the filter. Full runtime dependencies of diameter-1.8: erts-6.0, kernel-3.0, ssl-5.3.4, stdlib-2.0 --------------------------------------------------------------------- --- edoc-0.7.16 ----------------------------------------------------- --------------------------------------------------------------------- The edoc-0.7.16 application can be applied independently of other applications on a full OTP 17 installation. --- Fixed Bugs and Malfunctions --- OTP-12190 Application(s): edoc, erl_docgen, stdlib Maps: Properly align union typed assoc values in documentation Full runtime dependencies of edoc-0.7.16: erts-6.0, inets-5.10, kernel-3.0, stdlib-2.0, syntax_tools-1.6.14, xmerl-1.3.7 --------------------------------------------------------------------- --- eldap-1.1 ------------------------------------------------------- --------------------------------------------------------------------- The eldap-1.1 application can be applied independently of other applications on a full OTP 17 installation. --- Fixed Bugs and Malfunctions --- OTP-12311 Application(s): eldap Fixed that eldap:open did not use the Timeout parameter when calling ssl:connect. (Thanks Wiesław Bieniek for reporting) --- Improvements and New Features --- OTP-12174 Application(s): eldap Added the LDAP filter extensibleMatch. Full runtime dependencies of eldap-1.1: asn1-3.0, erts-6.0, kernel-3.0, ssl-5.3.4, stdlib-2.0 --------------------------------------------------------------------- --- erl_docgen-0.3.7 ------------------------------------------------ --------------------------------------------------------------------- The erl_docgen-0.3.7 application can be applied independently of other applications on a full OTP 17 installation. --- Fixed Bugs and Malfunctions --- OTP-12190 Application(s): edoc, erl_docgen, stdlib Maps: Properly align union typed assoc values in documentation Full runtime dependencies of erl_docgen-0.3.7: edoc-0.7.13, erts-6.0, stdlib-2.0, xmerl-1.3.7 --------------------------------------------------------------------- --- erl_interface-3.7.20 -------------------------------------------- --------------------------------------------------------------------- The erl_interface-3.7.20 application can be applied independently of other applications on a full OTP 17 installation. --- Fixed Bugs and Malfunctions --- OTP-12268 Application(s): erl_interface, erts Use C99 function isfinite() instead of finite() when available on non GCC compilers. --- Improvements and New Features --- OTP-12348 Application(s): common_test, erl_interface, megaco, odbc, test_server, wx Distribute autoconf helpers to applications at build time instead of having multiple identical copies committed in the repository. OTP-12358 Application(s): erl_interface, jinterface Related Id(s): OTP-12178 Added an .appup file for the application. --------------------------------------------------------------------- --- erts-6.3 -------------------------------------------------------- --------------------------------------------------------------------- The erts-6.3 application can be applied independently of other applications on a full OTP 17 installation. --- Fixed Bugs and Malfunctions --- OTP-12188 Application(s): erts Fix HiPE debug lock checking on OS X 64bit Position-independent code is mandatory on OS X. We use r11 as an intermediate register to fill BIF_P->hipe.bif_callee. This fixes the following error when doing `make debug FLAVOR=smp`: clang -cc1as: fatal error: error in backend: 32-bit absolute addressing is not supported in 64-bit mode OTP-12208 Application(s): erts Fix race bug that could cause VM crash in erlang:port_get_data/1 if the port was closed by a concurrent process. Also fix fatal bug if port_set_data/2 is called with a non-immediate data term. Both bugs exist since R16B01. OTP-12216 Application(s): erts Related Id(s): seq12700 Correct make variable SSL_DED_LD_RUNTIME_LIBRARY_PATH when erl_xcomp_sysroot ends with a slash. OTP-12222 Application(s): erts Fix two cases of unreachable code caused by false use of assigment operators. OTP-12231 Application(s): erts Fix bug when hipe compiled code makes tail call to a BIF that disables GC while trapping (sush as binary_to_list, list_to_binary, binary_to_term, term_to_binary). OTP-12249 Application(s): erts Fix bug when a migrated empty memory carrier is reused just before it should be destroyed by the thread that created it. OTP-12266 Application(s): erts Prevents compile-time errors in NIFs, when the compiler is instructed to treat missing field initializers as errors, by adding an initializer for the new options field which was added to ErlNifEntry for 17.3. OTP-12267 Application(s): erts Fixed CPU topology detection on FreeBSD systems where Erlang/OTP is compiled by new C compilers (including, but possibly not limited to, gcc 4.9 and clang). OTP-12268 Application(s): erl_interface, erts Use C99 function isfinite() instead of finite() when available on non GCC compilers. OTP-12269 Application(s): erts Fix bug on windows where an incorrect number of links could be returned when doing file:read_file_info on a directory. OTP-12273 Application(s): erts Fix rare bug when purging module on VM started with +Meamin. OTP-12275 Application(s): erts Related Id(s): seq12739 Repair run_erl terminal window size adjustment sent from to_erl. This was broken in OTP 17.0 which could lead to strange cursor behaviour in the to_erl shell. OTP-12289 Application(s): erts Fixed bug on windows causing gen_tcp/udp to return an error when given an fd to work with. OTP-12290 Application(s): erts Fix various internal erts issues where negating a signed integer in C would trigger undefined behavior. This fixes issues when dividing with bignums and list_to_integer. OTP-12291 Application(s): erts When flushing output to stdout on windows, the emulator could sometimes hang indefinitely waiting for the flush to complete. This has been fixed. OTP-12295 Application(s): erts Fix so that non-smp emulators with dirty scheduler support shows the correct number of dirty schedulers when calling erlang:system_info(system_version). OTP-12298 Application(s): erts, runtime_tools Add nif_version to erlang:system_info/1 in order to get the NIF API version of the runtime system in a way similar to driver_version. OTP-12300 Application(s): erts Fix bug that could cause the return value from dirty NIF with zero arity to be treated as garbage, leading to VM crash. OTP-12323 Application(s): erts Improve allocation carrier migration search logic. This will reduce the risk of failed migrations that could lead to excess memory consumption. It will also improve smp performance due to reduced memory contention on the migration pool. --- Improvements and New Features --- OTP-12117 Application(s): erts Introduced support for eager check I/O. By default eager check I/O will be disabled, but this will most likely be changed in OTP 18. When eager check I/O is enabled, schedulers will more frequently check for I/O work. Outstanding I/O operations will however not be prioritized to the same extent as when eager check I/O is disabled. Eager check I/O can be enabled using the erl command line argument: +secio true Characteristics impact when enabled: -- Lower latency and smoother management of externally triggered I/O operations. -- A slightly reduced priority of externally triggered I/O operations. OTP-12189 Application(s): erts Fix erts .app-file OTP-12215 Application(s): crypto, erts Related Id(s): seq12700 Add configure option --with-ssl-incl=PATH to support OpenSSL installations with headers and libraries at different places. OTP-12250 Application(s): erts Optimization of atomic memory operations with release barrier semantics on 32-bit PowerPC when using the implementation included in OTP. OTP-12287 Application(s): erts Minor adjustment of scheduler activation code making sure that an activation of a scheduler is not prevented by its run-queue being non-empty. (Thanks to Songlu Cai) OTP-12302 Application(s): erts Improved support for atomic memory operations provided by the libatomic_ops library. Most importantly support for use of native double word atomics when implemented by libatomic_ops (for example, implemented for ARM). The $ERL_TOP/HOWTO/INSTALL.md document now also more clearly describes when you want to build together with a libatomic_ops installation. OTP-12316 Application(s): crypto, erts Related Id(s): seq12753 Add configure option --with-ssl-rpath to control which runtime library path to use for dynamic linkage toward OpenSSL. OTP-12321 Application(s): erts Added systemd notify support to epmd Full runtime dependencies of erts-6.3: kernel-3.0, sasl-2.4, stdlib-2.0 --------------------------------------------------------------------- --- eunit-2.2.9 ----------------------------------------------------- --------------------------------------------------------------------- The eunit-2.2.9 application can be applied independently of other applications on a full OTP 17 installation. --- Fixed Bugs and Malfunctions --- OTP-12197 Application(s): debugger, eunit, kernel, percept, test_server Make sure to install .hrl files when needed OTP-12200 Application(s): eunit, otp_mibs, ssh, ssl Make sure the clean rule for ssh, ssl, eunit and otp_mibs actually removes generated files. Full runtime dependencies of eunit-2.2.9: erts-6.0, kernel-3.0, stdlib-2.0 --------------------------------------------------------------------- --- hipe-3.11.2 ----------------------------------------------------- --------------------------------------------------------------------- The hipe-3.11.2 application can be applied independently of other applications on a full OTP 17 installation. --- Fixed Bugs and Malfunctions --- OTP-12322 Application(s): hipe Fixed internal elf_format hrl file to contain valid erlang Full runtime dependencies of hipe-3.11.2: compiler-5.0, erts-6.0, kernel-3.0, stdlib-2.0, syntax_tools-1.6.14 --------------------------------------------------------------------- --- inets-5.10.4 ---------------------------------------------------- --------------------------------------------------------------------- The inets-5.10.4 application can be applied independently of other applications on a full OTP 17 installation. --- Fixed Bugs and Malfunctions --- OTP-12221 Application(s): inets Fixed a spelling mistake in httpc documentation. --- Improvements and New Features --- OTP-12255 Application(s): inets Add option {ftp_extension, boolean} to enable use of extended commands EPSV and EPRT, as specified in RFC 2428, for IPv4 instead of using the legacy commands. Ipv6 can not be supported without the extended commands. Full runtime dependencies of inets-5.10.4: erts-6.0, kernel-3.0, mnesia-4.12, runtime_tools-1.8.14, ssl-5.3.4, stdlib-2.0 --------------------------------------------------------------------- --- jinterface-1.5.12 ----------------------------------------------- --------------------------------------------------------------------- The jinterface-1.5.12 application can be applied independently of other applications on a full OTP 17 installation. --- Fixed Bugs and Malfunctions --- OTP-12210 Application(s): jinterface handle empty .erlang.cookie without crashing and OtpErlangList.clone must not return null OTP-12211 Application(s): jinterface This fixes all the compilation warnings in the Java code --- Improvements and New Features --- OTP-12358 Application(s): erl_interface, jinterface Related Id(s): OTP-12178 Added an .appup file for the application. --------------------------------------------------------------------- --- kernel-3.1 ------------------------------------------------------ --------------------------------------------------------------------- Note! The kernel-3.1 application can *not* be applied independently of other applications on an arbitrary OTP 17 installation. On a full OTP 17 installation, also the following runtime dependency has to be satisfied: -- erts-6.1.2 (first satisfied in OTP 17.1.2) --- Fixed Bugs and Malfunctions --- OTP-12197 Application(s): debugger, eunit, kernel, percept, test_server Make sure to install .hrl files when needed OTP-12276 Application(s): kernel Removed the undocumented application environment variable 'raw_files' from the kernel application. This variable was checked (by call to application:get_env/2) each time a raw file was to be opened in the file module. OTP-12314 Application(s): kernel A bug has been fixed when using the netns option to gen_udp, which accidentally only worked if it was the last option. --- Improvements and New Features --- OTP-12296 Application(s): kernel Updated documentation for inet buffer size options. OTP-12325 Application(s): kernel Introduce new option 'raw' in file_info and link_info functions. This option allows the caller not to go through the file server for information about files guaranteed to be local. Full runtime dependencies of kernel-3.1: erts-6.1.2, sasl-2.4, stdlib-2.0 --------------------------------------------------------------------- --- megaco-3.17.3 --------------------------------------------------- --------------------------------------------------------------------- The megaco-3.17.3 application can be applied independently of other applications on a full OTP 17 installation. --- Improvements and New Features --- OTP-12348 Application(s): common_test, erl_interface, megaco, odbc, test_server, wx Distribute autoconf helpers to applications at build time instead of having multiple identical copies committed in the repository. Full runtime dependencies of megaco-3.17.3: asn1-3.0, debugger-4.0, erts-6.0, et-1.5, kernel-3.0, runtime_tools-1.8.14, stdlib-2.0 --------------------------------------------------------------------- --- mnesia-4.12.4 --------------------------------------------------- --------------------------------------------------------------------- The mnesia-4.12.4 application can be applied independently of other applications on a full OTP 17 installation. --- Fixed Bugs and Malfunctions --- OTP-12278 Application(s): mnesia Fixed a spelling mistake in mnesia documentation. OTP-12304 Application(s): mnesia Related Id(s): seq12745 Matching data with mnesia:match_object/1 did not work as expected in some cases, when data was written in the same transaction before the matching was invoked. Full runtime dependencies of mnesia-4.12.4: erts-6.0, kernel-3.0, stdlib-2.0 --------------------------------------------------------------------- --- observer-2.0.3 -------------------------------------------------- --------------------------------------------------------------------- The observer-2.0.3 application can be applied independently of other applications on a full OTP 17 installation. --- Fixed Bugs and Malfunctions --- OTP-12078 Application(s): observer A note saying only R15B nodes can be observed is removed from the user guide. Full runtime dependencies of observer-2.0.3: erts-6.0, et-1.5, inets-5.10, kernel-3.0, runtime_tools-1.8.14, stdlib-2.0, wx-1.2 --------------------------------------------------------------------- --- odbc-2.10.22 ---------------------------------------------------- --------------------------------------------------------------------- The odbc-2.10.22 application can be applied independently of other applications on a full OTP 17 installation. --- Fixed Bugs and Malfunctions --- OTP-12260 Application(s): odbc OS X Mavericks is based on Darwin version 13.x, and Yosemite on 14.x. Change the ODBC configure.in script to recognize these versions. --- Improvements and New Features --- OTP-12346 Application(s): odbc The commands longer than 127 chars sent to odbc server crashed it, e.g. a connection string with driver path and some additional parameters. OTP-12348 Application(s): common_test, erl_interface, megaco, odbc, test_server, wx Distribute autoconf helpers to applications at build time instead of having multiple identical copies committed in the repository. Full runtime dependencies of odbc-2.10.22: erts-6.0, kernel-3.0, stdlib-2.0 --------------------------------------------------------------------- --- otp_mibs-1.0.10 ------------------------------------------------- --------------------------------------------------------------------- The otp_mibs-1.0.10 application can be applied independently of other applications on a full OTP 17 installation. --- Fixed Bugs and Malfunctions --- OTP-12200 Application(s): eunit, otp_mibs, ssh, ssl Make sure the clean rule for ssh, ssl, eunit and otp_mibs actually removes generated files. Full runtime dependencies of otp_mibs-1.0.10: erts-6.0, kernel-3.0, mnesia-4.12, snmp-4.25.1, stdlib-2.0 --------------------------------------------------------------------- --- parsetools-2.0.12 ----------------------------------------------- --------------------------------------------------------------------- The parsetools-2.0.12 application can be applied independently of other applications on a full OTP 17 installation. --- Fixed Bugs and Malfunctions --- OTP-12238 Application(s): parsetools The line counter becomes invalid when rules with linewrap are used. This issue appears because the parsing FSM does not roll back the line counter after attempting such a rule. Full runtime dependencies of parsetools-2.0.12: erts-6.0, kernel-3.0, stdlib-2.0 --------------------------------------------------------------------- --- percept-0.8.10 -------------------------------------------------- --------------------------------------------------------------------- The percept-0.8.10 application can be applied independently of other applications on a full OTP 17 installation. --- Fixed Bugs and Malfunctions --- OTP-12197 Application(s): debugger, eunit, kernel, percept, test_server Make sure to install .hrl files when needed Full runtime dependencies of percept-0.8.10: erts-6.0, inets-5.10, kernel-3.0, runtime_tools-1.8.14, stdlib-2.0 --------------------------------------------------------------------- --- runtime_tools-1.8.15 -------------------------------------------- --------------------------------------------------------------------- The runtime_tools-1.8.15 application can be applied independently of other applications on a full OTP 17 installation. --- Fixed Bugs and Malfunctions --- OTP-12298 Application(s): erts, runtime_tools Add nif_version to erlang:system_info/1 in order to get the NIF API version of the runtime system in a way similar to driver_version. Full runtime dependencies of runtime_tools-1.8.15: erts-6.0, kernel-3.0, mnesia-4.12, stdlib-2.0 --------------------------------------------------------------------- --- snmp-5.1.1 ------------------------------------------------------ --------------------------------------------------------------------- The snmp-5.1.1 application can be applied independently of other applications on a full OTP 17 installation. --- Fixed Bugs and Malfunctions --- OTP-11216 Application(s): snmp [agent] Improved documentation for the functions for loading and unloading mibs, see snmpa:load_mibs/1,2,3 and snmpa:unload_mibs/1,2,3 for more info. Also added new functions for loading and unloading a single mib, see snmpa:load_mib/1,2 and snmpa:unload_mib/1,2 for more info. OTP-12066 Application(s): snmp Related Id(s): seq12669 [compiler] Refinement of type Opaque was not allowed. MIB constructs such as "SYNTAX Opaque (SIZE(0..65535))" was previously not allowed, this has now been fixed. See the standard ALARM-MIB for eaxmple. --- Improvements and New Features --- OTP-10027 Application(s): snmp [manager] Remove deprecated functions. Full runtime dependencies of snmp-5.1.1: crypto-3.3, erts-6.0, kernel-3.0, mnesia-4.12, runtime_tools-1.8.14, stdlib-2.0 --------------------------------------------------------------------- --- ssh-3.1 --------------------------------------------------------- --------------------------------------------------------------------- Note! The ssh-3.1 application can *not* be applied independently of other applications on an arbitrary OTP 17 installation. On a full OTP 17 installation, also the following runtime dependency has to be satisfied: -- stdlib-2.3 (first satisfied in OTP 17.4) --- Fixed Bugs and Malfunctions --- OTP-12200 Application(s): eunit, otp_mibs, ssh, ssl Make sure the clean rule for ssh, ssl, eunit and otp_mibs actually removes generated files. OTP-12256 Application(s): ssh Improved Property Tests (Thanks to Thomas, John and Tobias at QuviQ) OTP-12277 Application(s): ssh Related Id(s): seq12736 Correct typo of renegotiate that could cause rekeying to fail OTP-12306 Application(s): ssh The {timeout, Timeout} option passed to ssh_sftp:start_channel was not applied to the early phases of the SSH protocol. This patch passes the Timeout through to ssh:connect. In case the timeout occurs during these phases, {error, timeout} is returned. (Thanks to Simon Cornish) --- Improvements and New Features --- OTP-11542 Application(s): ssh Related Id(s): seq12493, OTP-11631 Added API functions ptty_alloc/3 and ptty_alloc/4, to allocate a pseudo tty. OTP-12180 Application(s): ssh, stdlib Related Id(s): seq12715 Supports tar file creation on other media than file systems mounted on the local machine. The erl_tar api is extended with erl_tar:init/3 that enables usage of user provided media storage routines. A ssh-specific set of such routines is hidden in the new function ssh_sftp:open_tar/3 to simplify creating a tar archive on a remote ssh server. A chunked file reading option is added to erl_tar:add/3,4 to save memory on e.g small embedded systems. The size of the slices read from a file in that case can be specified. OTP-12185 Application(s): ssh Always send SSH_DISCONNECT protocol messages when peer sends corrupt messages. OTP-12312 Application(s): ssh Related Id(s): OTP-12180 Hooks for funs that can change binaries sent to remote sites from erl_tar for renote tar file creation are added. See ssh_sftp:open_tar/3,4 for details. The hooks could also be used to read remote tar files that need transformation before file extraction. Those hooks are intended for encryption and decryption of tar files. Effort is put into memory, disk and network resource economy. Full runtime dependencies of ssh-3.1: crypto-3.3, erts-6.0, kernel-3.0, public_key-0.22, stdlib-2.3 --------------------------------------------------------------------- --- ssl-5.3.8 ------------------------------------------------------- --------------------------------------------------------------------- The ssl-5.3.8 application can be applied independently of other applications on a full OTP 17 installation. --- Fixed Bugs and Malfunctions --- OTP-12200 Application(s): eunit, otp_mibs, ssh, ssl Make sure the clean rule for ssh, ssl, eunit and otp_mibs actually removes generated files. --- Improvements and New Features --- OTP-12341 Application(s): ssl Change code to reflect that state data may be secret to avoid breaking dialyzer contracts. Full runtime dependencies of ssl-5.3.8: crypto-3.3, erts-6.0, kernel-3.0, public_key-0.22, stdlib-2.0 --------------------------------------------------------------------- --- stdlib-2.3 ------------------------------------------------------ --------------------------------------------------------------------- Note! The stdlib-2.3 application can *not* be applied independently of other applications on an arbitrary OTP 17 installation. On a full OTP 17 installation, also the following runtime dependencies have to be satisfied: -- erts-6.2 (first satisfied in OTP 17.3) -- kernel-3.0.2 (first satisfied in OTP 17.1.2) --- Fixed Bugs and Malfunctions --- OTP-12036 Application(s): stdlib The documentation of string:tokens/2 now explicitly specifies that adjacent separator characters do not give any empty strings in the resulting list of tokens. OTP-12187 Application(s): stdlib Fix broken deprecation warnings in ssh application OTP-12190 Application(s): edoc, erl_docgen, stdlib Maps: Properly align union typed assoc values in documentation OTP-12212 Application(s): stdlib Fix filelib:wildcard/2 when 'Cwd' ends with a dot OTP-12213 Application(s): stdlib Allow Name/Arity syntax in maps values inside attributes. OTP-12224 Application(s): stdlib Fix edlin to correctly save text killed with ctrl-u. Prior to this fix, entering text into the Erlang shell and then killing it with ctrl-u followed by yanking it back with ctrl-y would result in the yanked text being the reverse of the original killed text. OTP-12263 Application(s): stdlib Related Id(s): seq12733 If a callback function was terminated with exit/1, there would be no stack trace in the ERROR REPORT produced by gen_server. This has been corrected. To keep the backwards compatibility, the actual exit reason for the process is not changed. OTP-12264 Application(s): stdlib Warnings produced by ms_transform could point out the wrong line number. --- Improvements and New Features --- OTP-12180 Application(s): ssh, stdlib Related Id(s): seq12715 Supports tar file creation on other media than file systems mounted on the local machine. The erl_tar api is extended with erl_tar:init/3 that enables usage of user provided media storage routines. A ssh-specific set of such routines is hidden in the new function ssh_sftp:open_tar/3 to simplify creating a tar archive on a remote ssh server. A chunked file reading option is added to erl_tar:add/3,4 to save memory on e.g small embedded systems. The size of the slices read from a file in that case can be specified. OTP-12315 Application(s): stdlib I/O requests are optimized for long message queues in the calling process. Full runtime dependencies of stdlib-2.3: compiler-5.0, crypto-3.3, erts-6.2, kernel-3.0.2, sasl-2.4 --------------------------------------------------------------------- --- syntax_tools-1.6.17 --------------------------------------------- --------------------------------------------------------------------- The syntax_tools-1.6.17 application can be applied independently of other applications on a full OTP 17 installation. --- Fixed Bugs and Malfunctions --- OTP-12265 Application(s): syntax_tools Teach Maps to erl_syntax Affected functions: -- erl_syntax:abstract/1 -- erl_syntax:concrete/1 -- erl_syntax:is_leaf/1 -- erl_syntax:is_literal/1 Full runtime dependencies of syntax_tools-1.6.17: erts-6.0, kernel-3.0, stdlib-2.0 --------------------------------------------------------------------- --- test_server-3.7.2 ----------------------------------------------- --------------------------------------------------------------------- Note! The test_server-3.7.2 application can *not* be applied independently of other applications on an arbitrary OTP 17 installation. On a full OTP 17 installation, also the following runtime dependency has to be satisfied: -- syntax_tools-1.6.16 (first satisfied in OTP 17.1.1) --- Fixed Bugs and Malfunctions --- OTP-11766 Application(s): common_test, test_server Related Id(s): seq12556 The source code to html code generator in Test Server (and Common Test) would fail to generate anchors in the html code for functions with non-expandable macros, resulting in bad html links to such functions. This correction lets the code generator ignore macros that can't be expanded (i.e. not pre-process them), so that correct anchors will always be produced. OTP-12197 Application(s): debugger, eunit, kernel, percept, test_server Make sure to install .hrl files when needed --- Improvements and New Features --- OTP-12348 Application(s): common_test, erl_interface, megaco, odbc, test_server, wx Distribute autoconf helpers to applications at build time instead of having multiple identical copies committed in the repository. Full runtime dependencies of test_server-3.7.2: erts-6.0, inets-5.10, kernel-3.0, observer-2.0, runtime_tools-1.8.14, stdlib-2.0, syntax_tools-1.6.16, tools-2.6.14 --------------------------------------------------------------------- --- tools-2.7.1 ----------------------------------------------------- --------------------------------------------------------------------- The tools-2.7.1 application can be applied independently of other applications on a full OTP 17 installation. --- Fixed Bugs and Malfunctions --- OTP-12214 Application(s): tools Fixed a typo in erlang-mode comment. OTP-12283 Application(s): tools Add a skeleton for -spec in Erlang mode for Emacs --- Improvements and New Features --- OTP-12328 Application(s): tools Cover no longer crashes when compiling receive and the like with just an after clause. Thanks to José Valim for providing a fix. Full runtime dependencies of tools-2.7.1: compiler-5.0, erts-6.0, inets-5.10, kernel-3.0, runtime_tools-1.8.14, stdlib-2.0, webtool-0.8.10 --------------------------------------------------------------------- --- wx-1.3.2 -------------------------------------------------------- --------------------------------------------------------------------- The wx-1.3.2 application can be applied independently of other applications on a full OTP 17 installation. --- Fixed Bugs and Malfunctions --- OTP-12259 Application(s): wx Fixed a minor typo in the graphicsContext example. --- Improvements and New Features --- OTP-12348 Application(s): common_test, erl_interface, megaco, odbc, test_server, wx Distribute autoconf helpers to applications at build time instead of having multiple identical copies committed in the repository. Full runtime dependencies of wx-1.3.2: erts-6.0, kernel-3.0, stdlib-2.0 --------------------------------------------------------------------- --------------------------------------------------------------------- ---------------------------------------------------------------------