Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jun 19, 2010
  1. Fix name clash on MacOSX

    authored
Commits on Jun 18, 2010
  1. Rewrite ethread library

    authored
    Large parts of the ethread library have been rewritten. The ethread
    library is an Erlang runtime system internal portable thread library
    used by the ERTS.
    
    Most notable improvement is a reader optimized rwlock implementation
    which dramatically improve performance of read-lock/read-unlock
    performance on multi processor systems by avoiding ping-ponging the
    rwlock cache line. The reader optimized rwlock implementation is
    used by misc rwlocks in the runtime system that are known to be
    read-locked frequently, and can be enabled on ETS tables by passing
    the '{read_concurrency, true}' option upon table creation.
    
    The changed API of the ethread library has also caused modifications
    in the Erlang runtime system. Preparations for the to come "delayed
    deallocation" feature has also been done since it depends on the
    ethread library.
Commits on Jun 15, 2010
  1. The R14A release

    Erlang/OTP authored
    Final merge of all unexpected differences from dev to release.
Commits on Jun 14, 2010
  1. OTP-8710 Fix emulator crash caused by setting CPU topology

    authored Erlang/OTP committed
    A user defined CPU topology set via a call to <seealso
    marker="erlang#system_flag_cpu_topology">erlang:system_flag(cpu_topology,
    CPUTopology)</seealso> was not properly verified, and could in worst case
    cause an emulator crash. The emulator crash could only occur when a user
    defined CPU topology already existed and was redefined.
Commits on Jun 11, 2010
  1. Björn Gustavsson

    Update release notes

    bjorng authored Erlang/OTP committed
  2. Merge branch 'se/port_SUITE_env' into dev

    Erlang/OTP authored
    * se/port_SUITE_env:
      fix open_port with many unset env vars
      allow open_port with env vars with trailing '=' on Windows
    
    OTP-8701 se/port_SUITE_env
    
    open_port/2 with the spawn and spawn_executable options can include an
    {env,Env} option. In some cases unsetting variables would not work on Unix
    (typically if more variables were unset than were actually present in the
    environment).
  3. Merge branch 'peppe/common_test_r14_dev_2' into dev

    Erlang/OTP authored
    * peppe/common_test_r14_dev_2:
      Misc documentation updates
      Add documentation for run_test program
      Step vsn for test_server to 3.4
      Make {repeat*,N} property in group execute the group N times exactly
      Fix so that ct_run converts relative diretories in the code path to absolute
      Fix bug in handling framework:end_tc timeouts
      Fix bug that prevents the interactive shell mode to start properly
      Fix failing multiply timetrap test case
      Minor fixes in code and test suites
      Add support for executing pre-loaded suites (e.g. modules loaded as binaries)
      Add test suite for remote loading of binary suites
      Fix error with {repeat,0} property in groups causing double iterations
      Add support for config info functions (e.g. init_per_suite/0)
      Add support for dynamic timetrap handling
      Have end_per_testcase run even after timetrap_timeout and abort_testcase
      Flush old DOWN messages in demonitor
      Add groups in test specifications
      Add new tests for test case groups and test specifications
      Improve and fix various test suites
      Add event_handler_init start flag that can pass init arguments to event handlers
      ...
    
    OTP-8703 peppe/common_test_r14_dev_2
Commits on Jun 10, 2010
  1. Sverker Eriksson Björn Gustavsson

    fix open_port with many unset env vars

    sverker authored bjorng committed
    The erlang:open_port spawn and spawn_executable directives can include
        an {env, Env} directive to set up environment variables for the
        spawned process. Variables can be unset with {"NameOfVariable",false}.
        A bug in ert/emulator/sys/unix/sys.c could cause unset variables
        to not be unset. This would typically happen if there where more
        variables to be unset than there where already set variables in the
        destination evironment.
    
        Fix this problem for unix and add a new regression test for it to
        the port test suite. Windows does not seem to have the same problem.
  2. Sverker Eriksson Björn Gustavsson

    allow open_port with env vars with trailing '=' on Windows

    sverker authored bjorng committed
    Same problem that Steve Vinoski fixed for Unix. Similar fix done in
    erts/emulator/sys/win32/sys_env.c for Windows.
    
    Copy-paste from his commit-message:
    
    The erlang:open_port spawn and spawn_executable directives can include
        an {env, Env} directive to set up environment variables for the
        spawned process. A bug in ert/emulator/sys/unix/sys.c prevented
        applications from using {env, Env} to set an environment variable
        whose value ended with a '=' (equal sign) character; the code mistook
        the trailing equal sign as an indication that an environment variable
        was to be cleared from the environment of the spawned process.
    
        For example, passing an {env, Env} of
    
        {env, [{"foo", "bar="}]}
    
        would result in the code in sys.c seeing a string of the form
    
        "foo=bar="
    
        The code would see the final '=' character and assume the directive
        wanted to clear a variable named "foo=bar" from the environment of the
        spawned process, rather than seeing it as a directive to set the
        environment variable "foo" to the value "bar=".
Commits on Jun 9, 2010
  1. Peter Andersson RaimoNiskanen

    Add -erl_args flag to run_test program

    pekadan authored RaimoNiskanen committed
    With -erl_args it's possible to divide the start options on the command line and this way specify explicitly which options are meant for Common Test, and which are meant for other OTP applications (or ERTS).
  2. Peter Andersson RaimoNiskanen

    Fix error installing the run_test program

    pekadan authored RaimoNiskanen committed
  3. Peter Andersson RaimoNiskanen

    Add run_test program for Common Test

    pekadan authored RaimoNiskanen committed
    Common Test may now be started with the program run_test instead of the legacy shell script with the same name.
    
    Minor updates have also been made to the Webtool application.
  4. RaimoNiskanen

    Update preloaded files

    RaimoNiskanen authored Erlang/OTP committed
  5. Merge branch 'pan/otp_8692_static_config_cache' into dev

    Erlang/OTP authored
    * pan/otp_8692_static_config_cache:
      Teach rc.sh to use tail -n +2 instead of tail +2
      Make win32.config.cache static and copied when doing otp_build configure
  6. Merge branch 'pan/otp_8669_doc_autoimported' into dev

    Erlang/OTP authored
    * pan/otp_8669_doc_autoimported:
      Change documentation for erlang:min/2,max/2 and port_command/3 to
    
    OTP-8669 erlang:min, erlang:max and erlang:port_command/3 autoimported
    
    The recently added BIFs erlang:min/2, erlang:max/2 and
    erlang:port_command/3 are now auto-imported (as they were originally
    intended to be). Due to the recent compiler change (OTP-8579), the only
    impact on old code defining it's own min/2, max/2 or port_command/3
    functions will be a warning, the local functions will still be used. The
    warning can be removed by using
    -compile({no_auto_import,[min/2,max/2,port_command/3]}). in the source
    file.
Commits on Jun 8, 2010
  1. Merge branch 'bg/bif-types' into dev

    Erlang/OTP authored
    * bg/bif-types:
      Add type information for erlang:garbage_collect_message_area/0
      Add type information for erts_debug:* BIFs
      Add type information for erlang:port_call/2
      Add type information for erlang:display* BIFs
      Add type information for the BIFs in the binary module
      Introduce and use the t_endian() helper
      Add type information for erlang:binary_part/2,3
      Add type info for erlang:append/2 and erlang:subtract/2
      Add type information for the erlang:adler32* BIFs
      Add ppc64 return for erlang:system_info(hipe_architecture)
      Test that all BIFs have known types
      erl_types: Export is_erl_type/1
  2. Patrik Nyblom

    Teach rc.sh to use tail -n +2 instead of tail +2

    U-KRAKEN\pan authored bufflig committed
  3. Patrik Nyblom

    Make win32.config.cache static and copied when doing otp_build configure

    U-KRAKEN\pan authored bufflig committed
  4. Merge branch 'bg/nif_error' into dev

    Erlang/OTP authored
    * commit 'bg/nif_error':
      crypto: Add type specs for all documented functions
      crypto: Use erlang:nif_error/1 to squelch false Dialyzer warnings
      Add erlang:nif_error/1,2
  5. Merge branch 'pg/fix_erts_bld_string_n' into dev

    Erlang/OTP authored
    * pg/fix_erts_bld_string_n:
      Fix erts_bld_string_n (called by enif_make_string and erlang:decode_packet/3) to work with 8 bits characters
    
    OTP-8685 pg/fix_erts_bld_string_n
    
    Fix bug causing erlang:decode_packet and enif_make_string to generate
    faulty strings with negative character values for ascii values larger than
    127. (Thanks to Paul Guyot)
Commits on Jun 7, 2010
  1. Björn Gustavsson RaimoNiskanen

    Test that all BIFs have known types

    bjorng authored RaimoNiskanen committed
    Add a test that will verify that BIFs have type information in
    hiper/cerl/erl_bif_types.erl.
  2. Merge branch 'ms/file-exclusive-mode' into dev

    Erlang/OTP authored
    * ms/file-exclusive-mode:
      Update preloaded modules
      Support opening files in exclusive mode
    
    OTP-8670 ms/file-exclusive-mode
    
    There is a new option 'exclusive' to file:open/2 that uses the OS O_EXCL
    flag where supported to open the file in exclusive mode.
  3. Paul Guyot RaimoNiskanen

    Fix erts_bld_string_n (called by enif_make_string and erlang:decode_p…

    pguyot authored RaimoNiskanen committed
    …acket/3) to work with 8 bits characters
  4. Björn-Egil Dahlberg

    Merge OTP-8681

    psyeugenic authored Erlang/OTP committed
Commits on Jun 4, 2010
  1. Merge branch 'egil/call-time-trace-patterns' into dev

    Erlang/OTP authored
    * egil/call-time-trace-patterns:
      Fix ops.tab to include i_return_time_trace
      Let trace_call_time_SUITE scheduling test be more relaxed
      Add documentation for call time breakpoints
      Fix bp_hash_put to do hash value after rehash
      Extend trace_call_time_SUITE with bif-tests
      Fix assertion in trace_pattern for bifs
      Teach erlang:system_info/1 to list snifs
      Add bif tests to call time trace tests
      Teach call time trace patterns to include bifs
      Fix BeamInstr code array in export.h
      Add trace call_time tests for nifs and bifs
      Teach call count tracing to use atomics
      Add first phase of trace call time test suite
      Add a scheduler array for BpData at BeamInstr[-4]
      Add search keys in breakpoints and a searchfunction
      Fix BeamInstr for call_time
      Teach call_time trace to use intruction pointers
      Add return_time trace and PSD deletions
      Remove trailing character in beam_bif_load
      Fix set_function_break to use correct breakpoint
      ...
    
    OTP-8677 egil/call-time-trace-patterns
  2. Patrik Nyblom
  3. RaimoNiskanen
  4. Michael Santos RaimoNiskanen

    Support opening files in exclusive mode

    msantos authored RaimoNiskanen committed
    Add an option that atomically tests for the existence of a file and
    creates it if the file does not exist, by passing the O_EXCL flag
    to open() on Unix and CREATE_NEW flag on Windows. Support for O_EXCL
    varies across platforms and filesystems.
    
    {ok, Fd} = file:open("/tmp/foo", [write,exclusive]),
    {error, eexist} = file:open("/tmp/foo", [write,exclusive]).
  5. Fix scheduler_suspend test when schedulers online isn't equal to the …

    authored Erlang/OTP committed
    …amount of schedulers
Commits on Jun 3, 2010
  1. Björn-Egil Dahlberg RaimoNiskanen

    Fix ops.tab to include i_return_time_trace

    psyeugenic authored RaimoNiskanen committed
    Without the instruction defined in ops the interpreter will not
    compile when using NO_JUMPTABLE.
  2. Björn-Egil Dahlberg RaimoNiskanen
  3. Björn-Egil Dahlberg RaimoNiskanen

    Add documentation for call time breakpoints

    psyeugenic authored RaimoNiskanen committed
    Documented call time breakpoints in
        - erlang:trace_pattern/3
        - erlang:trace_info/2
  4. Björn-Egil Dahlberg RaimoNiskanen

    Fix bp_hash_put to do hash value after rehash

    psyeugenic authored RaimoNiskanen committed
    If a rehash was done the old hash value was used. This was incorrect.
  5. Björn-Egil Dahlberg RaimoNiskanen

    Extend trace_call_time_SUITE with bif-tests

    psyeugenic authored RaimoNiskanen committed
  6. Björn-Egil Dahlberg RaimoNiskanen

    Fix assertion in trace_pattern for bifs

    psyeugenic authored RaimoNiskanen committed
Something went wrong with that request. Please try again.