Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: ccase/r13b04_d…
Commits on Jan 13, 2010
  1. Merge branch 'bg/otp_build-improvements' into ccase/r13b04_dev

    Erlang/OTP authored
    * bg/otp_build-improvements:
      Fix spelling, remove obsolete command
      Support updating preloaded files in a git repository
      Support updating the primary bootstrap in a git repository
      Determine which VCS is being used
      stdlib makefile: Add explicit rule
    
    OTP-8369: bg/otp_build-improvements
Commits on Jan 12, 2010
  1. Merge branch 'jv/binary_to_term-opts' into ccase/r13b04_dev

    Erlang/OTP authored
    * jv/binary_to_term-opts:
      document ErtsExternalDist flags and CON_ID mask
      add options to binary_to_term
    
    OTP-8367  There is new erlang:binary_to_binary/2 BIF that takes an option
              list. The option safe can be used to prevent creation of
              resources that are not garbage collected (such as atoms). (Thanks
              to Jayson Vantuyl.)
  2. Merge branch 'tc/premodern-fpe' into ccase/r13b04_dev

    Erlang/OTP authored
    * tc/premodern-fpe:
      Add -D_XOPEN_SOURCE to CPPFLAGS on Darwin platforms
      Test for reliable fpes on Darwin platforms without DARWIN_MODERN_MCONTEXT
    
    OTP-8368  The configure test for reliable floating point exceptions has
              been update to work on modern versions of Mac OS X. (Thanks to
              Trannie Carter.)
  3. Björn Gustavsson
  4. Björn Gustavsson

    Support updating preloaded files in a git repository

    bjorng authored
    The commands in otp_build for updating the checked-in preloaded
    modules only works in ClearCase.
    
    Add support updating the preloaded files in a git repository as well.
    
    Check the $version_controller variable so that we can have
    "otp_build update_preloaded" do different things depending on
    whether it is run in a ClearCase view or a git repository.
    
    When run in a git repository, "otp_build update_preloaded" will
    update and commit the preloaded modules (to undo the updating of
    the preloaded modules, do "git reset --hard HEAD^").
    
    Update the usage text to only show the commands relevant to
    the kind of VCS it is being run in.
  5. Björn Gustavsson

    Support updating the primary bootstrap in a git repository

    bjorng authored
    The commands in otp_build for updating the checked-in primary
    bootstrap only works in ClearCase.
    
    Add support updating the bootstrap in a git repository as well.
    
    Check the $version_controller variable so that we can have
    "otp_build update_primary" do different things depending on
    whether it is run in a ClearCase view or a git repository.
    
    When run in a git repository, "otp_build update_primary" will
    update and commit the bootstrap (to undo the updating of the
    bootstrap, do "git reset --hard HEAD^").
    
    Update the usage text to only show the commands relevant to
    the kind of VCS it is being run in.
  6. Björn Gustavsson

    Determine which VCS is being used

    bjorng authored
    We want to add the ability for otp_build to determine which
    version control system (VCS) is being used, so that the
    commands for updating the primary bootstrap and pre-loaded
    modules can be updated to do different things depending on
    the VCS.
    
    In the beginning of the otp_build script, set the variable
    "version_controller"  to either "none" (for no VCS), "git",
    or "clearcase".
  7. Björn Gustavsson

    stdlib makefile: Add explicit rule

    bjorng authored
    When building a primary bootstrap in a git repository, the file
    bootstrap/lib/stdlib/egen/erl_parse.erl would not get updated.
    With clearmake, this file is updated.
    
    Adding an explicit rule for the file make it it work with GNU Make.
    
    While at it, remove an out-commented rule.
Commits on Jan 11, 2010
  1. Merge branch 'kj/epmd-port2resp-trunc-extra' into ccase/r13b04_dev

    Erlang/OTP authored
    * kj/epmd-port2resp-trunc-extra:
      Handle "extra" field according to specs in ALIVE2_REQ and PORT2_RESP.
    
    OTP-8361  EPMD now correctly handles the extra data field which can be
              given in the ALIVE2_REQ request and retrieved in the PORT2_RESP
              response. (Thanks to Klas Johansson.)
  2. Merge branch 'dgud/dbg_mac_menu' into ccase/r13b04_dev

    Erlang/OTP authored
    * dgud/dbg_mac_menu:
      Dbg: Expand the module listbox when window grows.
      Dbg: Cut variable bindings after 80 chars.
      Dbg: Fixed documentation links to the new index.html
      Dbg Fixed mac gui issues
    
    OTP-8346  Miscellaneous corrections of the WX version of the debugger.
Commits on Jan 8, 2010
  1. Jayson Vantuyl Björn Gustavsson

    document ErtsExternalDist flags and CON_ID mask

    jvantuyl authored bjorng committed
    In the ErtsExternalDist structure, the flags field holds a combination of flags
    (tagged into the high bits) and the connection ID (in the low bits).  This
    wasn't clearing indicated anywhere.  This patch adds a comment before the flags
    and mask that indicates their use and relation to each other.  This will help
    guide people through the code and reduce the likelihood that someone will add a
    flag without adjusting the mask.
  2. Jayson Vantuyl Björn Gustavsson

    add options to binary_to_term

    jvantuyl authored bjorng committed
    term_to_binary and binary_to_term are powerful tools that can be used easily in
    lieu of a custom binary network protocol.  Unfortunately, carefully crafted
    data can be used to exhaust the memory in an Erlang node by merely attempting
    to decode binaries.  This makes it unsafe to receive data from untrusted
    sources.
    
    This is possible because binary_to_term/1 will allocate new atoms and new
    external function references.  These data structures are not garbage collected.
    
    This patch implements the new form of binary_to_term that takes a list of
    options, and a simple option called 'safe'.  If specified, this option will
    cause decoding to fail with a badarg error if an atom or external function
    reference would be allocated.
    
    In the general case, it will happily decode any Erlang term other than those
    containing new atoms or new external function references.  However, fun, pid,
    and ref data types can embed atoms.  They might fail to decode if one of these
    embedded atoms is new to the node.  This may be an issue if encoded binaries
    are transferred between nodes or persisted between invocations of Erlang.
Commits on Jan 7, 2010
  1. OTP-8358 A race bug affecting pg2:get_local_members/1 has been fixed.…

    Hans Bolinder authored Erlang/OTP committed
    … The
    
              bug was introduced in R13B03.
Commits on Jan 6, 2010
  1. Björn Gustavsson

    Update preloaded files

    bjorng authored Erlang/OTP committed
  2. Björn Gustavsson

    Mark concat_binary/1 as deprecated

    bjorng authored Erlang/OTP committed
Commits on Jan 4, 2010
  1. Old release notes removed

    Niclas Eklund authored Erlang/OTP committed
Commits on Dec 23, 2009
  1. Updated version and release note

    Niclas Eklund authored Erlang/OTP committed
Commits on Dec 21, 2009
  1. Klas Johansson

    Handle "extra" field according to specs in ALIVE2_REQ and PORT2_RESP.

    klajo authored
    Don't let the length field pollute the value of the "extra" field in
    ALIVE2_REQ.  Extra was read, starting at the second byte of the two
    byte length field, which meant that it was included in the result and
    the last byte of the value was skipped:
    
        if "extra" is <<1, 2>>, return <<0, 2, 1, 2>> not <<0, 2, 2, 1>>
    
    Increment the offset correctly when sending PORT2_RESP, in order to
    make sure the "extra" field won't be truncated:
    
        if "extra" is <<>>, return <<0, 0>> not <<0>>
        if "extra" is <<1, 2>>, return <<0, 2, 1, 2>> not <<0, 2, 1>>
    
    Allow null characters in "extra".
  2. Klas Johansson

    Order version fields in documentation for ALIVE2_REQ correctly

    klajo authored Erlang/OTP committed
    Place HighestVersion before LowestVersion, since that is what the
    source code does (erl_epmd.erl and epmd_srv.c).
  3. Fixed missing eix file

    Niclas Eklund authored Erlang/OTP committed
  4. Removed superfluous backslash

    Niclas Eklund authored Erlang/OTP committed
  5. Removed 011 in documentation files

    Niclas Eklund authored Erlang/OTP committed
Commits on Dec 18, 2009
  1. Dan Gudmundsson Björn Gustavsson

    Dbg: Expand the module listbox when window grows.

    dgud authored bjorng committed
  2. Dan Gudmundsson Björn Gustavsson

    Dbg: Cut variable bindings after 80 chars.

    dgud authored bjorng committed
    This is an optimization to avoid sending huge terms to the gui
    just to step by them and update variables again.
    
    Even better would be to only update if necessary.
  3. Dan Gudmundsson Björn Gustavsson

    Dbg: Fixed documentation links to the new index.html

    dgud authored bjorng committed
  4. Dan Gudmundsson Björn Gustavsson

    Dbg Fixed mac gui issues

    dgud authored bjorng committed
  5. Trannie Carter Björn Gustavsson

    Add -D_XOPEN_SOURCE to CPPFLAGS on Darwin platforms

    nottwo authored bjorng committed
    ucontext routines are deprecated in Snow Leopard and defining
    _XOPEN_SOURCE is the suggested remedy.
  6. Trannie Carter Björn Gustavsson

    Test for reliable fpes on Darwin platforms without DARWIN_MODERN_MCON…

    nottwo authored bjorng committed
    …TEXT
    
    The mcontext_t structure changed between Tiger & Leopard and the erts
    configure script doesn't take this into account when testing for
    reliable floating point exceptions.  HiPE is not enabled when reliable
    fpes are not detected.
    
    The PPC test preserves the pre-modern mcontext_t and so builds on Tiger,
    but I suspect that PPC/Leopard is broken.  I don't have the header files
    to check modern PPC mcontext_t so I haven't changed that part of the test.
  7. Merge branch 'dgud/emacs-improvements' into ccase/r13b04_dev

    Erlang/OTP authored
    * dgud/emacs-improvements:
      Emacs: Added indentation inside parenthesis
      More -spec indentation fixes.
  8. Dan Gudmundsson

    Emacs: Added indentation inside parenthesis

    dgud authored
    Used in records or tuple creation:
    -record(record3, {a = 8#42423 bor
    		      8#4234,
    		  b = 8#5432
    		      bor 2#1010101
    		  c = 123 +
    		      234,
    		  d}).
    
    and in functions calls
        call(2#42423 bor
    	     #4234,
    	 2#5432,
    	 other_arg),
Commits on Dec 17, 2009
  1. Dan Gudmundsson

    More -spec indentation fixes.

    dgud authored
  2. Merge branch 'at/windows_build_fixes' into ccase/r13b04_dev

    Erlang/OTP authored
    * at/windows_build_fixes:
      Updated README.win32 for compiling with VS2008 and issues with mc.exe
      Allow mc.sh and rc.sh to work when path to mc/rc.exe has spaces
    
    OTP-8345  Building on Windows will now work if the paths to mc.exe and
              rc.exe contain spaces. The README.win32 file has been updated
              with some information about building using Visual Studio 2008.
              (Thanks to Andrew Thompson.)
  3. Björn Gustavsson

    Send up AssocID as unsigned

    bjorng authored Erlang/OTP committed
    It must be unsigned so that prim_inet will not reject
    when it is sent down again.
    
    (Suggested fix by Raimo for a bug reported by Simon Cornish.)
  4. Björn-Egil Dahlberg

    Fix duplicate ei_tracelevel symbol

    psyeugenic authored Erlang/OTP committed
    The symbol ei_tracelevel was not declared extern which could
    crash the linking step on some compilers.
    
    Updated .gitignore to ignore object files in erl_interface.
Commits on Dec 16, 2009
  1. Björn Gustavsson

    Add a link to EEP8

    bjorng authored Erlang/OTP committed
    Suggested by Vlad Dumitrescu.
Something went wrong with that request. Please try again.