Commit graph

20 commits

Author SHA1 Message Date
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.
2013-06-08 06:48:24 +00:00
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
2013-01-23 21:46:06 +00:00
asau
88feb4ac62 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-02 20:11:34 +00:00
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
2012-09-12 19:13:26 +00:00
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.
2012-04-12 12:14:12 +00:00
fhajny
a330dd9c3e Update erlang-doc and erlang-man to R14B04. 2012-01-23 09:32:39 +00:00
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
2011-05-26 20:19:43 +00:00
asau
786ef722e5 Update to Erlang/OTP R14B02
Highlights composed by Matthew Sporleder.


Changes in R14B02 (http://www.erlang.org/download/otp_src_R14B02.readme)

- It is now possible to use Erlang specifications and types
  in EDoc documentation
- All tests in Erlang/OTP have been converted to be run with
  Common Test as the backend instead of Test Server.
- From this release, the previously experimental halfword
  emulator is now official
- Dependency generation for Makefiles has been added to the
  compiler and erlc
- Add a --fullpath option to Dialyzer (include version 2.4.2)
- Many fixes in erts
- Remove hipe constants pool
- Partial support for recursive structs and unions
- It is now possible to use SSH to sign and verify binary data.
- typer has been rewritten


Changes R14B01 (http://www.erlang.org/download/otp_src_R14B01.readme)

- New ETS option compressed, to enable a more compact storage
  format at the expence of heavier table operations
- There is now a new function inet:getifaddrs/0 modeled after
  C library function getifaddrs() on BSD and Linux that reports
  existing interfaces and their addresses on the host
- Multiple crashes and infinite loops fixed
- AES CTR encryption support in crypto
- erl_call: remove get_hostent
- The Erlang VM now supports Unicode filenames
- New ETS option compressed


Changes in R14B (http://www.erlang.org/download/otp_src_R14B.readme)

- Large parts of the ethread library have been rewritten.
- The changed API of the ethread library has also caused
  modifications in the Erlang runtime system.
- Some Built In Functions (BIFs) are now autoimported
- Added erlang:system_info(build_type)
- A number of memory leaks in the crypto NIF library have been fixed
- erl_call: fix multiple buffer overflows
- NIF 64-bit integer support
- Removed some potential vulnerabilities from the Erlang Port
  Mapper Daemon (epmd)
- Replaced the old http client api module (http) with the new,
  httpc in the users guide.
- inet6 improvements
- ssh fixes
- many ssl improvements/fixes
- wx crash fix


Changes in R14A (http://www.erlang.org/download/otp_src_R14A.readme)

- R14A is a major new release of Erlang/OTP.
- The module binary from EEP31 (and EEP9) is implemented
- It is now possible for the user to provide specific callback
  modules that handle test configuration data
- New NIF features
- Receive statements that can only read out a newly created
  reference are now specially optimized so that it will execute
  in constant time regardless of the number of messages in the
  receive queue for the process.
- The run_test script has been replaced by a program (with the
  same name) which can be executed without explicit installation
- eprof has been reimplemented with support in the Erlang
  virtual machine and is now both faster (i.e. slows down the
  code being measured less) and scales much better


Changes in R13B04 (http://www.erlang.org/download/otp_src_R13B04.readme)

- Many documentation and documentation build improvements
- cross-compile/build improvements
- buffer overflow fix
- telnet keep alive fixes
- compiler crash on boolean ifs
- -Werror for erlc fixed
- macro overloading implemented
- the crypto module now supports Blowfish
- explicit top directories in archive files are now optional
- add lock profiling tool: lcnt
- httpd methods "PUT" and "DELETE" now allowed + others fixes
  to resolver routine
- compression supported when copying between mnesia nodes
2011-04-14 19:34:07 +00:00
joerg
82de426431 Fix PLIST. 2009-12-21 12:07:27 +00:00
asau
4ff0a75e45 Deduplicate, move common code into more appropriate place. 2009-12-15 13:53:24 +00:00
asau
cf86d09104 Follow Erlang/OTP update to R13B03.
While here, simplify PLIST generation.
2009-12-15 13:32:10 +00:00
joerg
edbc2fac64 Replace @exec/@unexec with @pkgdir or drop it. 2009-06-14 20:34:12 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
joerg
a8a3c01339 Explicitly add pax dependency in those Makefiles that use it (or have
patches to add it). Drop pax from the default USE_TOOLS list.
Make bsdtar the default for those places that wanted gtar to extract
long links etc, as bsdtar can be built of the tree.
2008-05-25 21:42:20 +00:00
ghen
7f7e86aea1 Full DESTDIR support for erlang packages. 2008-01-04 14:10:05 +00:00
ghen
f85f155b40 Update erlang, erland-doc and erlang-man to 12.0, aka R12B-0.
This builds again on x86_64 platforms, is@ will test further.

This release supports new language extensions bitstring and binary
comprehensions.

Other major changes are listed on <http://www.erlang.org/doc/highlights.html>.
See <http://www.erlang.org/download/otp_src_R12B-0.readme> for full detail.
2008-01-04 14:05:05 +00:00
joerg
5a4f6849f1 Fix dependency on erlang. 2007-08-03 23:48:56 +00:00
obache
16840ad30a Update erlang to 11.5, aka R11B-5.
Pkgsrc changes:
* Drop dependency on X11.
  GS (Graphic System) doesn't use X11 directly, using `wish' command.
  Wish command will be picked up from PATH, to use GS, install wish command
  from x11/tk.
  (closes PR 35373, PR 36418)
* FIxed to install crypto library correctly.
  (closes PR 36616)

Changes list is too long. See attached URL for more detail.

Bug fix release : otp_src_R11B-5
Build date      : 2007-06-12
http://www.erlang.org/download/otp_src_R11B-5.readme

Bug fix release : otp_src_R11B-4
Build date      : 2007-03-28
http://www.erlang.org/download/otp_src_R11B-4.readme

Bug fix release : otp_src_R11B-3
Build date      : 2007-01-30
http://www.erlang.org/download/otp_src_R11B-3.readme

Bug fix release : otp_src_R11B-2
Build date      : 2006-11-07
http://www.erlang.org/download/otp_src_R11B-2.readme

Bug fix release : otp_src_R11B-1
Build date      : 2006-08-29
http://www.erlang.org/download/otp_src_R11B-1.readme
2007-07-28 14:27:09 +00:00
ghen
6196d0fe39 Update to Erlang R11B-0 (erlang-11.0). Changes since R10B:
=== SMP Support ===

The major news is the support for SMP (Symmetric MultiProcessing).

SMP is supported by most modern operating systems like Linux, Windows, Mac OSx,
Solaris and is becoming more important now when dual processors,
hyper-threading technology and multi-core systems are a reality.

With Erlang, most of the problems which occur in multi-threaded programs have
been solved once and for all in the Erlang VM and do not have to be handled by
the application programmers.

In the SMP version of the Erlang virtual machine, there can be many process
schedulers running in separate OS threads. As default there will be as many
schedulers as there are processors or processor cores on the system.

The SMP support is totally transparent for the Erlang programs. That is, there
is no need to change or recompile existing programs. Programs with built-in
assumptions about sequential execution must be rewritten in order to take
advantage of the SMP support, however.

In this release, the Erlang VM supports SMP with focus on stability. There will
follow a number of subsequent steps with necessary optimizations and support
for more platforms.

=== Erlang Language and Related Issues ===

    * The andalso and orelse operators are now allowed to be used in guards.
      That also applies to match specifications.

    * The BIF is_record/3 can now be used in guards. Also, is_record/3 can now
      be called without an erlang: module prefix for consistency with the other
      is_* functions.

    * The compiler options ignore_try and ignore_cond, which allowed code that
      used unquoted try or cond as atoms or record tags, has been removed. Old
      code that depended on the options need to be revised to have occurrences
      of try or cond as atom or record tags single-quoted. (Note: Although cond
      is a reserved keyword, there is no cond statement. It might be introduced
      in a future release.)

    * (ERTS 5.4.8) The new fun M:F/A construct creates a fun that refers to the
      latest version of M:F/A. This syntax is meant to replace tuple funs {M,F}
      which have many problems.

    * (ERTS 5.4.8) The new type test is_function(Fun, Arity) -- which may be
      used in guards -- test whether Fun is a fun that can be applied to Arity
      arguments.

=== New Applications ===

Dialyzer

Dialyzer is a static analysis tool that identifies software discrepancies such
as type errors, unreachable code, unnecessary tests, etc in single Erlang
modules or entire (sets of) applications.

Inviso

The Inviso application, together with some new extensions to Runtime_Tools, is
aimed at providing features for efficient tracing of production Erlang/OTP
systems:

    * Distributed tracing - tracing on any number of Erlang nodes.
    * Autostart - tracing during system start-up.
    * Overload protection - mechanisms for suspending and later reactivating
      tracing, should an overload situation occur.
    * Enhanced use of meta tracing.
    * Trace cases - predefined specifications of what to trace.
    * Off-line merging and formatting of log files.

Inviso is still under development. An easier-to-use trace tool, using the
features listed above, is planned to be released as an R11B patch in Q3/Q4
2006.

SSH

The SSH application is an Erlang implementation of the secure shell protocol.
It is considered to be a beta release, meaning there can be changes made to the
API before it reaches 1.0.

=== Existing Applications ===

Compiler

(Compiler 4.3.6) It is now possible to encrypt the debug information in Beam
files.

Debugger

(Debugger 2.0) The debugger can now handle the try/catch language construct.

Inets

The Erlang implementation of the TFTP procotcol, tftp, is now documented.

Kernel

In Kernel 2.10.X, several bug fixes and improvements have been made in global ,
the global name registration facility.

OS_Mon

(OS_Mon 2.0) The entire OS_Mon application (code and documentation) has been
reviewed and consequently updated with the goal to make the application more
robust, homogeneous and easier to configure.

STDLIB

Added the zip module with functions for reading and creating zip archives.
2006-08-17 16:16:30 +00:00
ghen
48cf376d24 Import erlang-doc, the documentation for Erlang. 2006-03-29 21:40:51 +00:00