./lang/erlang-doc, Documentation for Erlang, a concurrent functional programming language

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 20.1, Package name: erlang-doc-20.1, Maintainer: pkgsrc-users

Erlang is a programming language which has many features more commonly
associated with an operating system than with a programming language:
concurrent processes, scheduling, memory management, distribution,
networking, etc.

This package provides the documentation for Erlang and its components.


Required to build:
[pkgtools/cwrappers]

Master sites:


Version history: (Expand)


CVS history: (Expand)


   2017-10-02 20:10:39 by Filip Hajny | Files touched by this commit (6) | Package updated
Log message:
Update lang/erlang* to 20.1.

Some highlights for 20.1:

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

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

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

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

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

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

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

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

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

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

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

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

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

- tools/fprof: When sampling multiple processes and analyzing with
  totals set to true, the output now sums together all caller and
  callee entries which concerns the same function.
   2017-07-04 13:40:48 by Filip Hajny | Files touched by this commit (10) | Package updated
Log message:
Update lang/erlang* to 20.0.

Potential Incompatibilities
---------------------------

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

Highlights
----------

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

Some highlights for 19.3:

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

Full release notes:

  http://erlang.org/download/otp_src_19.3.readme
   2017-01-03 09:37:01 by Filip Hajny | Files touched by this commit (7) | Package updated
Log message:
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
   2016-10-02 12:12:36 by Filip Hajny | Files touched by this commit (7) | Package updated
Log message:
Update lang/erlang* to 19.1.

Some highlights of the release are:

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

You can find the Release Notes with more detailed info at

http://www.erlang.org/download/otp_src_19.1.readme
   2016-08-09 17:03:15 by Filip Hajny | Files touched by this commit (8) | Package updated
Log message:
Update lang/erlang to 19.0 (R19)

- compiler, stdlib:
  - New preprocessor macros ?FUNCTION_NAME, ?FUNCTION_ARITY
  - New preprocessor directives -error(Term) and -warning(Term) to
    cause a compilation error or warning, respectively.
- gen_statem a new state machine behavior
- mnesia_ext: plugin of external storage solutions to mnesia
- crypto: uses EVP interface in OpenSSL resulting in generally
  better performance and support for HW acceleration
- ssh: performance improvements, uses the new gen_statem behavior
- ssl: enhanced error log messages
- dialyzer: the support for maps is very much extended both the
  type specification syntax and the type analysis.
- erts:
  - erlang:open_port(spawn, ...) 3-5 times faster
  - tracing, extensive improvements (scalability, speed, match
    specifications on send/receive, support for lttng, ...)
  - dirty schedulers improved
  - per process configurable handling of message_queue
  - fast loading of multiple modules
  - max_heap_size process flag
- erts/kernel: Experimental support for Unix Domain Sockets

Full changelog:

  http://erlang.org/download/otp_src_19.0.readme
   2016-04-21 13:24:23 by Filip Hajny | Files touched by this commit (7) | Package updated
Log message:
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
   2015-12-31 20:47:41 by Filip Hajny | Files touched by this commit (7) | Package updated
Log message:
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!