Skip to content
Commits on Aug 14, 2012
  1. @bufflig

    Teach caret to appear correctly after focus loss

    bufflig committed Jul 27, 2012
    Incorrect window was used to calculate x position.
  2. @bufflig
  3. @bufflig

    Make get/putenv and erlexec understand Unicode

    bufflig committed Jul 26, 2012
    Putenv and getenv needs to convert to the proper environment
    strings in Unicode depending on platform and user settings for filename
    encoding. Also erlexec needs to pass environment strings in an appropriate
    way for kernel to pick up. All environment strings on the command
    line, as well as home directory, is now passed in UTF8 on windows
    and in whatever encoding you have on Unix, kernel tries to convert all
    parameters and environments from UTF8 before making strings.
  4. @sverker
  5. @sverker
Commits on Aug 13, 2012
  1. @gustehn

    Merge branch 'mh/doc-now-vs-timestamp/OTP-10180' into maint

    gustehn committed Aug 13, 2012
    * mh/doc-now-vs-timestamp/OTP-10180:
      Doc fix: link from erlang:now/0 to os:timestamp/0
Commits on Aug 7, 2012
  1. @sirihansen

    Update preloaded

    sirihansen committed Aug 7, 2012
    erl_prim_loader.beam
  2. @sirihansen

    Fix flattening of paths in erl_prim_loader

    sirihansen committed Aug 7, 2012
    When correcting OTP-10071, a new error was introduced in
    erl_prim_loader. In order to improve ability to detect if a file was
    inside the primary archive, all paths were flattened - i.e. "."  and
    ".." were removed. This implementation had some faults, and it did not
    take symlinks into account. This has been corrected.
Commits on Aug 1, 2012
  1. @PiotrSikora @proxyles

    Fix support for leap seconds-aware timezones

    PiotrSikora committed with proxyles Jul 14, 2012
    erlang:universaltime_to_localtime is leap seconds-aware (since 2008),
    however erlang:localtime_to_universaltime is not, which gives
    surprising results on systems configured with leap seconds-aware
    timezones:
    
    1> erlang:universaltime_to_localtime({{2012,1,1},{0,0,0}}).
    {{2012,1,1},{0,0,0}}
    2> erlang:localtime_to_universaltime({{2012,1,1},{0,0,0}}).
    {{2012,1,1},{0,0,24}}
    
    and completely breaks calendar:local_time_to_universal_time_dst:
    
    3> calendar:local_time_to_universal_time_dst({{2011,1,1},{0,0,0}}).
    []
    
    Signed-off-by: Piotr Sikora <piotr.sikora@frickle.com>
  2. @PiotrSikora @proxyles

    Fix use of "clever" mktime

    PiotrSikora committed with proxyles Jul 14, 2012
    Commit 1eef765 introduced regression (conditional _always_ evaluates
    to true) in which erlang:localtime_to_universaltime/2 stopped working
    on systems configured with timezone without DST (i.e. UTC) on *BSD
    platforms:
    
    1> erlang:localtime_to_universaltime({{2012,1,1},{0,0,0}}, true).
    ** exception error: bad argument
    
    Signed-off-by: Piotr Sikora <piotr.sikora@frickle.com>
Commits on Jul 31, 2012
  1. @rickard-green

    Merge branch 'rickard/cerl-emacs-gdb' into maint

    rickard-green committed Jul 31, 2012
    * rickard/cerl-emacs-gdb:
      Use annotate level 1 for 'gdb' with 'emacs' in 'cerl'
  2. @rickard-green

    Merge branch 'rickard/proc-lock-queues/OTP-10163' into maint

    rickard-green committed Jul 31, 2012
    * rickard/proc-lock-queues/OTP-10163:
      Use static allocation of process lock queues
  3. @rickard-green

    Merge branch 'rickard/dealloc/OTP-10162' into maint

    rickard-green committed Jul 31, 2012
    * rickard/dealloc/OTP-10162:
      Improve the enqueue operation of delayed dealloc
      Implement delayed aux work wake up
  4. @jkloetzke

    erlsrv: gracefully stop emulator on Windows shutdown

    jkloetzke committed Jul 31, 2012
    Windows will send the SERVICE_CONTROL_SHUTDOWN event to the service control
    handler when shutting down the system. Instead of ignoring the event, erlsrv
    will now invoke the stop action.  Likewise, the Erlang emulator (and it's port
    drivers) must not quit upon reception of the CTRL_SHUTDOWN_EVENT event in the
    console control handler.
  5. @rickard-green

    Use static allocation of process lock queues

    rickard-green committed Jul 25, 2012
    By using statically allocated lock queues there is no longer
    any need for locking corresponding pix lock when process
    locks have been transferred after a wait. This costs us 3 words
    extra in process structure, but improves performance during
    contention.
  6. @rickard-green

    Improve the enqueue operation of delayed dealloc

    rickard-green committed Jul 19, 2012
    The enqueue operation have been re-written to behave better
    during heavy contention by spreading writes over multiple
    locations. This enqueue operation also take advantage of the
    delayed aux work wake up functionality and can by this omit
    one memory barrier.
  7. @rickard-green

    Implement delayed aux work wake up

    rickard-green committed Jul 25, 2012
    By using a delayed aux work wake up approach, a memory barrier
    can be omitted in the delayed dealloc enqueue operation. The
    amount of operations, on the potentially contended, wake up
    structure is also reduced.
Commits on Jul 27, 2012
  1. @rickard-green
Commits on Jul 25, 2012
  1. @legoscia

    Doc fix: link from erlang:now/0 to os:timestamp/0

    legoscia committed Jul 25, 2012
    Sometimes os:timestamp/0 is more appropriate than erlang:now/0.  The
    documentation for the former has a link to the latter; this patch adds
    a link in the other direction to make os:timestamp/0 more visible.
Commits on Jul 20, 2012
  1. @mikesperber

    Revise the autoconf tests for double middle endianness.

    mikesperber committed Jul 20, 2012
    The previous iteration didn't work for big-endian systems.  Now use
    code very close to what Erts does internally.
    
    Also, only warn when the double endianness is unknown - i.e. when
    we're cross-compiling.
Commits on Jul 18, 2012
  1. @proxyles

    Update preloaded

    proxyles committed Jul 18, 2012
  2. @proxyles

    Merge branch 'ta/prim_archive-reloading' into maint

    proxyles committed Jul 18, 2012
    * ta/prim_archive-reloading:
      escript_SUITE: remove gratuitous space
      [erts,kernel,stdlib] fix escript/primary archive reloading
    
    Conflicts:
    	erts/preloaded/src/erl_prim_loader.erl
    
    OTP-10151
  3. @proxyles

    Merge branch 'ms/correct-formating-in-exit' into maint

    proxyles committed Jul 18, 2012
    * ms/correct-formating-in-exit:
      Correct formating in exit error messages
    
    OTP-10148
Commits on Jul 17, 2012
  1. @mikesperber

    Add test for floating-point output to float_SUITE.

    mikesperber committed Jul 17, 2012
    This catches endianness problems, such as recently reported for ARMs.
Commits on Jul 16, 2012
  1. Merge branch 'hb/erl_docgen/cref_spaces/OTP-10138' into maint

    Hans Bolinder committed Jul 16, 2012
    * hb/erl_docgen/cref_spaces/OTP-10138:
      erts: add space before '*' in some function prototypes
      ic: add space before '*' in some function prototypes
      Fix a bug regarding spaces in C function prototypes
Commits on Jul 11, 2012
  1. erts: add space before '*' in some function prototypes

    Hans Bolinder committed Jul 9, 2012
Commits on Jul 10, 2012
  1. @proxyles

    Fix the erlc -MP flag

    Richard Carlsson committed with proxyles Mar 8, 2012
    Because of a copy-and-paste error in erlc.c, the -MP flag had the same
    effect as -MG. As a workaround, you had to pass +makedep_phony to enable
    the MP option. This patch makes -MP work as intended.
  2. @sirihansen

    Update preloaded

    sirihansen committed Jul 9, 2012
    erl_prim_loader.beam
Commits on Jul 9, 2012
  1. @sirihansen

    Add comments to make erl_prim_loader primary archive handling more re…

    sirihansen committed Jul 9, 2012
    …adable
    
    This commit introduces no functional change. It only adds comments and
    changes some function/variable names.
  2. @sirihansen

    Fix erl_prim_loader errors in handling of primary archive

    sirihansen committed Jul 9, 2012
    The following errors have been corrected:
    
    * If primary archive was named "xxx", then a file in the same
      directory named "xxxyyy" would be interpreted as a file named yyy
      inside the archive.
    
    * erl_prim_loader did not correctly create and normalize absolute
      paths for primary archive and files inside it, so unless given with
      exact same path files inside the archive would not be found. E.g. if
      escript was started as /full/path/to/xxx then "./xxx/file" would not
      be found since erl_prim_loader would try to match /full/path/to/xxx
      with /full/path/to/./xxx. Same problem with ../.
    
    * Depending on how the primary archive was built,
      erl_prim_loader:list_dir/1 would sometimes return an empty string
      inside the file list. This was a virtual element representing the
      top directory of the archive. This has been removed.
    
    Thanks to Tuncer Ayaz and Shunichi Shinohara for reporting and
    co-authoring corrections.
Commits on Jul 6, 2012
  1. @tuncer

    [erts,kernel,stdlib] fix escript/primary archive reloading

    tuncer committed Sep 1, 2011
    If the mtime of an escript/primary archive file changes after being
    added to the code path, correctly reload the archive and update the
    cache.
    
    The existing code didn't consider that it might be a zip archive and failed:
    
        =ERROR REPORT==== 3-Aug-2011::09:21:21 ===
        File operation error: bad_central_directory. Target:
        /escript_archive/module.beam. Function: get_file. Process: code_server.
    
    Thanks David Reid and Hakan Mattson.
  2. @proxyles

    Merge branch 'sz/dtrace-message-send-fix' into maint

    proxyles committed Jul 6, 2012
    * sz/dtrace-message-send-fix:
      DTrace bug in message-send
    
    OTP-10142
Commits on Jul 5, 2012
  1. @tuncer

    Fix various doc typos for R15B02

    tuncer committed Apr 10, 2012
  2. @tuncer

    Fix various code typos for R15B02

    tuncer committed Apr 10, 2012
Commits on Jul 4, 2012
  1. @sverker

    Merge branch 'sverk/hipe-arm-fix' into maint

    sverker committed Jul 4, 2012
    * sverk/hipe-arm-fix:
      hipe_arm.c: remove dead code
      Workaround gcc bug affecting ARM debug build
      Fix compile error of HIPE enabled DEBUG emulator for ARM
      Fix hipe bif calling bug on ARM
      Add armv7l and armv5tejl as a recognized ARM architectures
    
    OTP-10137
Something went wrong with that request. Please try again.