Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Dec 17, 2009
  1. 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.)
  2. @bjorng

    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.)
  3. @psyeugenic

    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. @bjorng

    Add a link to EEP8

    bjorng authored Erlang/OTP committed
    Suggested by Vlad Dumitrescu.
Commits on Dec 15, 2009
  1. Updated README.win32 for compiling with VS2008 and issues with mc.exe

    Andrew Thompson authored
    Visual Studio 2008 puts some things in different places and doesn't
    include the Message Compiler (mc.exe).
  2. Allow mc.sh and rc.sh to work when path to mc/rc.exe has spaces

    Andrew Thompson authored
    The eval call in these scripts was failing for me because the path to
    them on my windows machine contained spaces. I also fixed some
    copy/paste-os from when (evidently) the mc.sh script was created by
    copying the rc.sh script and modifying it.
  3. Merge branch 'dgud/gitignore' into ccase/r13b04_dev

    Erlang/OTP authored
  4. Merge branch 'sc/ei_decode_skip_fun' into ccase/r13b04_dev

    Erlang/OTP authored
    * sc/ei_decode_skip_fun:
      Fix ei_skip_term() handling of funs encoded as NEW_FUN_EXT
  5. @bjorng

    Deprecate concat_binary/1

    bjorng authored Erlang/OTP committed
  6. @dgud
  7. @dgud

    Added wx derivates.

    dgud authored
  8. @dgud

    Added a indentation when using electric-comma.

    dgud authored
    In the following code
        case X of foo -> 25
        	                 end,
    
    Automatically indent the line you stand on (end,) before
    adding newline and indent again.
    
    That way 'end' will be indented correctly after the comma is written.
  9. @psyeugenic

    Include the test suites for erl_interface

    psyeugenic authored Erlang/OTP committed
  10. Merge branch 'sc/darwin_build_rm_dSYMN' into ccase/r13b04_dev

    Erlang/OTP authored
    * sc/darwin_build_rm_dSYMN:
      Fix 'make clean' in erts with debug builds under Darwin
  11. @lthor

    OTP-8308 Added an xsl transform from OTP xml documentation to a file

    lthor authored Erlang/OTP committed
              (.eix) of erlang terms that can be read by the erldoc
              application. Erldoc handles the documentation search mechanism at
              erlang.org. Added generation of eix files to
              otp_release_targets.mk. Fixed a copyright date error in
              db_html.xsl .
Commits on Dec 14, 2009
  1. @dotsimon

    Fix 'make clean' in erts with debug builds under Darwin

    dotsimon authored
    The Apple compiler creates DWARF debugging symbols in a bundle (ie. a
    directory) named <name>.dSYM
    In order for make clean to work correctly, the rm command needs -r
  2. @dotsimon
  3. @bjorng

    Update bootstrap compiler

    bjorng authored Erlang/OTP committed
  4. Merge branch 'bg/on_load' into ccase/r13b04_dev

    Erlang/OTP authored
    * bg/on_load:
      Test on_load functions that don't return 'ok'
      Change the expected return value for on_load functions
    
    OTP-8339  The expected return value for an on_load function has been
              changed. (See the section about code loading in the Reference
              manual.)
  5. Merge branch 'bg/compiler-bopt-bug' into ccase/r13b04_dev

    Erlang/OTP authored
    * bg/compiler-bopt-bug:
      beam_bool: Fix generation of code that does not validate
      Fix crash in beam_bool
    
    OTP-8338  Using complex boolean expressions in ifs could cause the compiler
              to either crash or teminate with an internal error. (Thanks to
              Simon Cornish.)
  6. Merge branch 'as/c_nc-fix' into ccase/r13b04_dev

    Erlang/OTP authored
    * as/c_nc-fix:
      c_SUITE: Use new style guard tests
      Fix c:nc to use outdir or cwd to find compiled object file
    
    OTP-8337  c:nc/{1,2} used to assume that the beam file was created in the
              same directory as the source code and failed to load the code if
              it was not. Corrected to look for the beam file in the current
              directory or in the directory specified by the {outdir,Dir}
              option. (Thanks to Alex Suraci.)
  7. @bjorng
  8. @bjorng

    Fix c:nc to use outdir or cwd to find compiled object file

    Alex Suraci authored bjorng committed
    Before this patch, c:nc would naively assume the object file was created
    in the same location as the .erl file. This is often false, for example
    when an outdir is specified (often the case in make:all([netload])) or
    calling with c:nc("foo/bar") (because compile:file places bar.beam in
    the cwd, not foo/).
    
    [ Squashed in minor style changes. /bg ]
  9. OTP-8340 A bug concerning bit comprehensions has been fixed in Cover.…

    Hans Bolinder authored Erlang/OTP committed
    … The
    
              bug was introduced in R13B03. (Thanks to Matthew Sackman.)
Commits on Dec 13, 2009
  1. @rickard-green

    OTP-8341 Minor alignment adjustments of scheduler specific data.

    rickard-green authored Erlang/OTP committed
  2. @bjorng
  3. @bjorng

    Change the expected return value for on_load functions

    bjorng authored
    An on_load function is supposed to return 'true' to indicate
    that the module should be loaded, and 'false' if it should be
    unloaded. But returning any other term, as well as causing an
    exception, will also unload the module.
    
    Since we don't like boolean values mixed with other values,
    change the expected return value as follows:
    
    * If 'ok' is returned, the module will remain loaded and become
      callable.
    
    * If any other value is returned (or an exception is generated),
      the module will be unloaded. Also, if the returned value is
      not an atom, send a warning message to the error_logger
      (using error_logger:warning_msg/2).
    
    The new interpretation of the return value means that an on_load
    function can now directly return the return value from
    erlang:load_nif/2.
Commits on Dec 11, 2009
  1. @bjorng

    beam_bool: Fix generation of code that does not validate

    bjorng authored
    The following code (by Simon Cornish)
    
    bad(XDo1, XDo2, Do3) ->
        Do1    = (XDo1 =/= []),
        Do2    = (XDo2 =/= []),
        CH1 = if Do1 == true;
    	     Do1 == false,Do2==false,Do3 == blah ->
    		  ch1;
    	     true ->
    		  no
    	  end,
        CH2 = if Do1 == true;
    	     Do1 == false,Do2==false,Do3 == xx ->
    		  ch2;
    	     true ->
    		  no
    	  end,
        {CH1,CH2}.
    
    is optimized by beam_bool even though the optimization is not
    safe. The trouble is that an assignment to {y,0} no longer
    occurs on all paths leading to its use.
    
    The bug is in dst_regs/2 which is supposed to return a set
    of all registers assigned in a code block, but it ignores
    registers assigned in 'move' instructions.
    
    Fix the bug by taking 'move' instructions into account. This change
    is safe since it can only cause more registers to be added
    to the MustBeKilled and MustBeUnused sets in ensure_opt_safe/6,
    which means that it can only cause the optimization to be turned
    off for code that used to be optimized.
  2. @rickard-green

    OTP-8323 Miscellaneous cross compilation improvements. For example, one

    rickard-green authored Erlang/OTP committed
              new mandatory configuration variable that replaces all other
              previously mandatory configuration variables, and better
              documentation. Note that old cross compilation configurations
              cannot be used without modifications.
    
              For more information see the $ERL_TOP/xcomp/README file.
  3. Merge branch 'po/blowfish_ecb_cbc_ofb-rebased' into ccase/r13b04_dev

    Erlang/OTP authored
    * po/blowfish_ecb_cbc_ofb-rebased:
      Add Blowfish tests
      Add Blowfish ECB, CBC and OFB modes
    
    OTP-8331  The crypto module now supports Blowfish in ECB, CBC and OFB
              modes. (Thanks to Paul Oliver.)
  4. @puzza007 @bjorng

    Add Blowfish tests

    puzza007 authored bjorng committed
  5. @puzza007 @bjorng

    Add Blowfish ECB, CBC and OFB modes

    puzza007 authored bjorng committed
    My previous patch added CFB mode.  This patch adds all remaining
    Blowfish modes.  According to the man page
    
    http://www.fifi.org/cgi-bin/man2html/usr/share/man/man3/blowfish.3ssl.gz
    
    these are available in all versions of OpenSSL.
    
    [ Squashed in elimination of signed/unsigned compiler warnings. /bg ]
  6. @bjorng

    Update bootstrap compiler

    bjorng authored Erlang/OTP committed
  7. Merge branch 'bg/slimmer-history' into ccase/r13b04_dev

    Erlang/OTP authored
    * bg/slimmer-history:
      beam_makepos: Do not put any dates in generated files
      compiler: Teach 'slim' to omit compilation info
Something went wrong with that request. Please try again.