forked from erlang/erlang
Compare commits
7 Commits
erlang_27.
...
main
Author | SHA256 | Date | |
---|---|---|---|
39305bc146 | |||
e094262ff2 | |||
267827a484 | |||
3765fd0394 | |||
2c5a2efd61 | |||
6010b00fba | |||
76303320e0 |
BIN
OTP-27.3.4.tar.gz
(Stored with Git LFS)
BIN
OTP-27.3.4.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
OTP-28.0.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
OTP-28.0.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
191
erlang.changes
191
erlang.changes
@@ -1,3 +1,194 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 02 09:53:48 UTC 2025 - Matwey Kornilov <matwey.kornilov@gmail.com>
|
||||||
|
|
||||||
|
- Changes for 28.0.2:
|
||||||
|
* compiler: Fixed a bug that could cause empty bitstring matches
|
||||||
|
to always succeed, even when they should not.
|
||||||
|
* public_key: Adjustments in include file to retain compatibility
|
||||||
|
with supported ASN-1 standards, although not all record and
|
||||||
|
macros are explicitly documented.
|
||||||
|
* public_key: Handle certificates that are signed with RSASSA-PSS
|
||||||
|
but the PSS params are specified in the 'SignatureAlgorithm' of
|
||||||
|
the signed cert and not in the signer's 'SubjectPublicKeyInfo'.
|
||||||
|
* public_key: Add modern ASN-1 specs to be able to retain support
|
||||||
|
for ExtensionRequest from legacy PKCS-9 spec.
|
||||||
|
* kernel: socket:sendv/3 with 'nowait' sometimes return
|
||||||
|
'completion' without 'CompletionInfo' (Windows only).
|
||||||
|
* kernel: prim_net nif used incorrect encoding for family
|
||||||
|
resulting in non-functional address selection.
|
||||||
|
* kernel: socket:accept can return unexpected 'select_sent'.
|
||||||
|
* kernel: net_kernel could be blocked for a very long time when
|
||||||
|
selecting distribution module for a connection if the DNS
|
||||||
|
service was slow. This prevented any new connections to be set
|
||||||
|
up during that time.
|
||||||
|
* kernel: Improved documentation of CompletionStatus for
|
||||||
|
asynchronous (nowait) socket operations.
|
||||||
|
* wx: Don't include gl.beam in pre-built source tar file, since
|
||||||
|
it depends on local configure results.
|
||||||
|
* ssh: Fix file handle id generation.
|
||||||
|
* ssh: Fixes a badmatch error, when SFTP operation cannot be
|
||||||
|
processed due to channel closed in parallel.
|
||||||
|
* stdlib: A set of small bugs in sort stability for
|
||||||
|
`lists:sort/1` and `lists:keysort/1` has been fixed. The bug
|
||||||
|
happened for only some, seemingly random, element sequences.
|
||||||
|
Most sorts were stable.
|
||||||
|
* stdlib: Fixed bug in io_lib:bformat/2 which crashed if format
|
||||||
|
string contained unicode characters.
|
||||||
|
* debugger: Fixed debugger priv dir, which was removed and caused
|
||||||
|
crashes when the icons could not be found.
|
||||||
|
* erts: prim_net nif used incorrect encoding for family resulting
|
||||||
|
in non-functional address selection.
|
||||||
|
* erts: Fix windows uninstall command.
|
||||||
|
* erts: With this change erlang will start if it receives short
|
||||||
|
(ms-dos compatible) path to executable.
|
||||||
|
* erts: The maximum amount of connections for epmd on Windows
|
||||||
|
platforms has been increased from 64 to 1024.
|
||||||
|
* ssl: Improve error message for bad arguments to underlying
|
||||||
|
connect.
|
||||||
|
- Changes for 28.0.1:
|
||||||
|
* eldap: With this change eldap's 'not' function will have specs
|
||||||
|
fixed.
|
||||||
|
* xmerl: The type specs of xmerl_scan:file/2 and
|
||||||
|
xmerl_scan:string/2 has been updated to return t:dynamic/0. Due
|
||||||
|
to hook functions they can return any user defined term.
|
||||||
|
* public_key: Add back some ASN-1 macros and definitions that
|
||||||
|
should be included in API.
|
||||||
|
* asn1: The ASN.1 compiler could generate code that would cause
|
||||||
|
Dialyzer with the unmatched_returns option to emit warnings.
|
||||||
|
* kernel: Fix bug where calling io:setopts/1 in a shell without
|
||||||
|
the line_history option would always disable line_history. This
|
||||||
|
bug was introduced in Erlang/OTP 28.0.
|
||||||
|
* ssh: Various channel closing robustness improvements. Avoid
|
||||||
|
crashes when channel handling process closes channel and
|
||||||
|
immediately exits. Avoid breaking the protocol by sending
|
||||||
|
duplicated channel-close messages. Cleanup channels which
|
||||||
|
timeout during closing procedure.
|
||||||
|
* ssh: Improved interoperability with clients acting as Paramiko.
|
||||||
|
* stdlib: Properly strip the leading / and drive letter from
|
||||||
|
filepaths when zipping and unzipping archives.
|
||||||
|
* debugger: Restore deleted icon so that debugger does not crash
|
||||||
|
on startup.
|
||||||
|
* erts: Fix Erlang to not crash when t:io:standard_error/0 is a
|
||||||
|
terminal but t:io:standard_io/0 is not. This bug has existed
|
||||||
|
since Erlang/OTP 28.0 and only effects Windows.
|
||||||
|
* erts: In a debug build, the BIFs for the native debugger could
|
||||||
|
cause a lock order violation diagnostic from the lock checker.
|
||||||
|
* erts: When building ERTS make sure correct pcre2.h file is
|
||||||
|
included even if CFLAGS contains extra include paths.
|
||||||
|
* ssl: hs_keylog callback properly handle alert in initial
|
||||||
|
states, where encryption is not yet used. Also add keylog
|
||||||
|
callback invocation for corner-case where server alert is
|
||||||
|
encrypted with application secrets as client is already in
|
||||||
|
connection state.
|
||||||
|
* ssl: The documentation for SSL option verify_fun has been
|
||||||
|
improved.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 9 15:34:16 UTC 2025 - Matwey Kornilov <matwey.kornilov@gmail.com>
|
||||||
|
|
||||||
|
- Version 28.0:
|
||||||
|
* Functionality making it possible for processes to enable
|
||||||
|
reception of priority messages has been introduced in accordance with EEP 76.
|
||||||
|
* Comprehensions have been extended with “zip generators”
|
||||||
|
allowing multiple generators to be run in parallel.
|
||||||
|
* Generators in comprehensions can now be strict, meaning that if
|
||||||
|
the generator pattern does not match, an exception will be raised
|
||||||
|
instead of silently ignore the value that didn’t match.
|
||||||
|
* It is now possible to use any base for floating point numbers
|
||||||
|
as per EEP 75: Based Floating Point Literals.
|
||||||
|
* For certain types of errors, the compiler can now suggest
|
||||||
|
corrections. For example, when attempting to use variable A
|
||||||
|
that is not defined but A0 is, the compiler could emit the
|
||||||
|
following message: variable 'A' is unbound, did you mean 'A0'?
|
||||||
|
* The size of an atom in the Erlang source code was limited to
|
||||||
|
255 bytes in previous releases, meaning that an atom containing
|
||||||
|
only emojis could contain only 63 emojis. While atoms are still
|
||||||
|
only allowed to contain 255 characters, the number of bytes is no
|
||||||
|
longer limited.
|
||||||
|
* The warn_deprecated_catch option enables warnings for use of
|
||||||
|
old-style catch expressions on the form catch Expr instead of
|
||||||
|
the modern try ... catch ... end.
|
||||||
|
* Provided that the map argument for a maps:put/3 call is known
|
||||||
|
to the compiler to be a map, the compiler will replace such
|
||||||
|
calls with the corresponding update using the map syntax.
|
||||||
|
* Some BIFs with side-effects (such as binary_to_atom/1) are
|
||||||
|
optimized in try ... catch in the same way as guard BIFs in
|
||||||
|
order to gain performance.
|
||||||
|
* The compiler’s alias analysis pass is now both faster and less
|
||||||
|
conservative, allowing optimizations of records and binary
|
||||||
|
construction to be applied in more cases.
|
||||||
|
* The trace:system/3 function has been added. It has a similar
|
||||||
|
interface as erlang:system_monitor/2 but it also supports trace
|
||||||
|
sessions.
|
||||||
|
* os:set_signal/2 now supports setting handlers for the
|
||||||
|
SIGWINCH, SIGCONT, and SIGINFO signals.
|
||||||
|
* The two new BIFs erlang:processes_iterator/0 and
|
||||||
|
erlang:process_next/1 make it possible to iterate over the
|
||||||
|
process table in a way that scales better than erlang:processes/0.
|
||||||
|
* The erl -noshell mode has been updated to have two sub modes
|
||||||
|
called raw and cooked, where cooked is the old default
|
||||||
|
behaviour and raw can be used to bypass the line-editing support of
|
||||||
|
the native terminal. Using raw mode it is possible to read
|
||||||
|
keystrokes as they occur without the user having to press Enter.
|
||||||
|
Also, the raw mode does not echo the typed characters to stdout.
|
||||||
|
* The shell now prints a help message explaining how to interrupt
|
||||||
|
a running command when stuck executing a command for longer
|
||||||
|
than 5 seconds.
|
||||||
|
* The join(Binaries, Separator) function that joins a list of
|
||||||
|
binaries has been added to the binary module.
|
||||||
|
* By default, sets created by module sets will now be represented
|
||||||
|
as maps.
|
||||||
|
* Module re has been updated to use the newer PCRE2
|
||||||
|
library instead of the PCRE library.
|
||||||
|
* There is a new zstd module that does Zstandard compression.
|
||||||
|
* The ancient ASN.1 modules used in public_key has been replaced
|
||||||
|
with more modern versions, but we have strived to keep the
|
||||||
|
documented Erlang API for the public_key application compatible.
|
||||||
|
* EEP 69: Nominal Types has been implemented.
|
||||||
|
* The data handling for tls-v1.3 has been optimized.
|
||||||
|
* The indent-region in Emacs command will now handle multiline
|
||||||
|
strings better.
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 16 15:06:41 UTC 2025 - Matwey Kornilov <matwey.kornilov@gmail.com>
|
||||||
|
|
||||||
|
- Changes for 27.3.4.1:
|
||||||
|
* ssl: hs_keylog callback properly handle alert in initial
|
||||||
|
states, where encryption is not yet used. Also add keylog
|
||||||
|
callback invocation for corner-case where server alert is
|
||||||
|
encrypted with application secrets as client is already in
|
||||||
|
connection state.
|
||||||
|
* ssl: The documentation for SSL option verify_fun has been
|
||||||
|
improved.
|
||||||
|
* kernel: A remote shell can now exit by closing the input
|
||||||
|
stream, without terminating the remote node.
|
||||||
|
* kernel: Document default buffer sizes
|
||||||
|
* asn1: The ASN.1 compiler could generate code that would cause
|
||||||
|
Dialyzer with the unmatched_returns option to emit warnings.
|
||||||
|
* xmerl: The type specs of xmerl_scan:file/2 and
|
||||||
|
xmerl_scan:string/2 has been updated to return t:dynamic/0. Due
|
||||||
|
to hook functions they can return any user defined term.
|
||||||
|
* eldap: With this change eldap's 'not' function will have specs
|
||||||
|
fixed.
|
||||||
|
* ssh: Various channel closing robustness improvements. Avoid
|
||||||
|
crashes when channel handling process closes channel and
|
||||||
|
immediately exits. Avoid breaking the protocol by sending
|
||||||
|
duplicated channel-close messages. Cleanup channels which
|
||||||
|
timeout during closing procedure.
|
||||||
|
* ssh: Improved interoperability with clients acting as Paramiko.
|
||||||
|
* stdlib: The save_module/1 command in the shell now saves both
|
||||||
|
the locally defined records and the imported records using the
|
||||||
|
rr/1 command.
|
||||||
|
* stdlib: It's now possible to write lists:map(fun is_atom/1, [])
|
||||||
|
or lists:map(fun my_func/1, []), in the shell, instead of
|
||||||
|
lists:map(fun erlang:is_atom/1, []) or lists:map(fun
|
||||||
|
shell_default:my_func/1, []).
|
||||||
|
* stdlib: Properly strip the leading / and drive letter from
|
||||||
|
filepaths when zipping and unzipping archives.
|
||||||
|
* stdlib: Shell no longer crashes when requesting to autocomplete
|
||||||
|
map keys containing non-atoms.
|
||||||
|
* stdlib: A remote shell can now exit by closing the input
|
||||||
|
stream, without terminating the remote node.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 09 06:19:01 UTC 2025 - Matwey Kornilov <matwey.kornilov@gmail.com>
|
Fri May 09 06:19:01 UTC 2025 - Matwey Kornilov <matwey.kornilov@gmail.com>
|
||||||
|
|
||||||
|
@@ -23,14 +23,12 @@
|
|||||||
%define _fillupdir %{_localstatedir}/adm/fillup-templates
|
%define _fillupdir %{_localstatedir}/adm/fillup-templates
|
||||||
%endif
|
%endif
|
||||||
Name: erlang
|
Name: erlang
|
||||||
Version: 27.3.4
|
Version: 28.0.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: General-purpose programming language and runtime environment
|
Summary: General-purpose programming language and runtime environment
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://www.erlang.org
|
URL: https://www.erlang.org
|
||||||
Source0: https://github.com/erlang/otp/archive/OTP-%{version}.tar.gz
|
Source0: https://github.com/erlang/otp/archive/OTP-%{version}.tar.gz
|
||||||
# The link comes from ./make/ex_doc_link file
|
|
||||||
Source1: https://github.com/elixir-lang/ex_doc/releases/download/v0.34.1/ex_doc_otp_26
|
|
||||||
Source3: %{name}-rpmlintrc
|
Source3: %{name}-rpmlintrc
|
||||||
Source5: erlang.sysconfig
|
Source5: erlang.sysconfig
|
||||||
Source6: macros.erlang
|
Source6: macros.erlang
|
||||||
@@ -45,6 +43,7 @@ Patch4: erlang-not-install-misc.patch
|
|||||||
BuildRequires: Mesa-devel
|
BuildRequires: Mesa-devel
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: dejavu-fonts
|
BuildRequires: dejavu-fonts
|
||||||
|
BuildRequires: ex_doc
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: fop
|
BuildRequires: fop
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@@ -249,7 +248,6 @@ A Graphics System used to write platform independent user interfaces.
|
|||||||
%patch -P 0 -p1 -b .rpath
|
%patch -P 0 -p1 -b .rpath
|
||||||
%patch -P 4 -p1
|
%patch -P 4 -p1
|
||||||
cp %{SOURCE9} .
|
cp %{SOURCE9} .
|
||||||
install -m 0755 %{SOURCE1} ./bin/ex_doc
|
|
||||||
|
|
||||||
# enable dynamic linking for ssl
|
# enable dynamic linking for ssl
|
||||||
sed -i 's|SSL_DYNAMIC_ONLY=no|SSL_DYNAMIC_ONLY=yes|' erts/configure
|
sed -i 's|SSL_DYNAMIC_ONLY=no|SSL_DYNAMIC_ONLY=yes|' erts/configure
|
||||||
|
BIN
ex_doc_otp_26
(Stored with Git LFS)
BIN
ex_doc_otp_26
(Stored with Git LFS)
Binary file not shown.
Reference in New Issue
Block a user