Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 1, 2010
  1. @bjorng

    Add test suite for parsetools

    bjorng authored Erlang/OTP committed
  2. Missing EIX file added

    Niclas Eklund authored Erlang/OTP committed
  3. In some cases SSH ceased to collect more data from the transport layer.

    Niclas Eklund authored Erlang/OTP committed
  4. @lthor

    OTP-8343 The documentation is now possible to build in an open source

    lthor authored Erlang/OTP committed
              environment after a number of bugs are fixed and some features
              are added in the documentation build process.
    
              - The arity calculation is updated.
    
              - The module prefix used in the function names for bif's are
              removed in the generated links so the links will look like
              "http://www.erlang.org/doc/man/erlang.html#append_element-2"
              instead of
              "http://www.erlang.org/doc/man/erlang.html#erlang:append_element-
              2".
    
              - Enhanced the menu positioning in the html documentation when a
              new page is loaded.
    
              - A number of corrections in the generation of man pages (thanks
              to Sergei Golovan)
    
              - The legal notice is taken from the xml book file so OTP's build
              process can be used for non OTP applications.
  5. Merge branch 'bg/hipe-fixes' into ccase/r13b04_dev

    Erlang/OTP authored
    * bg/hipe-fixes:
      compiler: make ignore_native_errors also handle internal hipe errors
      re tests: disable native-code compilation for huge modules
      Teach the compiler the no_native option
Commits on Jan 31, 2010
  1. @bjorng

    kernel/src/Makefile: fix broken 'clean' target

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

    hipe_mfait_lock needs to be below proc_main.

    rickard-green authored Erlang/OTP committed
  3. Merge branch 'bg/cleanup-tests' into ccase/r13b04_dev

    Erlang/OTP authored
    * bg/cleanup-tests:
      file_SUITE: eliminate a warning for an unused variable
      kernel tests: modernize guard tests
      unicode_SUITE: replace deprecated concat_binary/1 with list_to_binary/1
      stdlib tests: modernize guard tests
      Test suites: fix creation of Emakefiles
Commits on Jan 30, 2010
  1. @bjorng

    compiler: make ignore_native_errors also handle internal hipe errors

    bjorng authored
    We must also catch exits, not only errors, since the hipe
    compilers does an exit/1 if an internal error is found.
  2. @bjorng

    re tests: disable native-code compilation for huge modules

    bjorng authored
    Two generated modules contains too big functions for the
    native-code compiler to handle (even the BEAM compiler
    struggles when compiling them).
  3. @bjorng

    Teach the compiler the no_native option

    bjorng authored
    Implement the 'no_native' option to disable native-code
    compilation. If given in a module like this:
    
    -compile(no_native).
    
    it will override a 'native' option given on the command
    line.
  4. @bjorng

    Update copyright header

    bjorng authored Erlang/OTP committed
  5. Merge branch 'ta/ensure_dir_eexist' into ccase/r13b04_dev

    Erlang/OTP authored
    * ta/ensure_dir_eexist:
      filelib_SUITE: strenghten tests of filelib:ensure_dir/1
      Don't return a false {error,eexist} in filelib:ensure_dir/1
    
    OTP-8389  Because of a race condition, using filelib:ensure_dir/1 from
              multiple processes to create the same path or parts of the same
              directory structure, filelib:ensure_dir/1 could return a
              meaningless {error,eexist}. That race condition has been
              eliminated, and {error,eexist} will now be returned only if there
              exists a regular file, device file, or some other non-directory
              file with the same name. (Thanks to Tuncer Ayaz.)
  6. Merge branch 'mp/hipe-smp-fixes' into ccase/r13b04_dev

    Erlang/OTP authored
    * mp/hipe-smp-fixes:
      work around hipe_mfa_info_table lock omission
      fix hipe loader SMP non-atomicity error
    
    OTP-8397  The loading of native code was not properly atomic in the SMP
              emulator, which could cause crashes. Also a per-MFA information
              table for the native code has now been protected with a lock
              since it turns that it could be accessed concurrently in the SMP
              emulator. (Thanks to Mikael Pettersson.)
Commits on Jan 29, 2010
  1. @bjorng
  2. @bjorng
  3. @bjorng
  4. @bjorng

    stdlib tests: modernize guard tests

    bjorng authored
    Don't change any guard tests in the id_transform_SUITE
    module, because it intentionally use the old guard tests
    to test that id_transform can handle them.
  5. @bjorng

    Test suites: fix creation of Emakefiles

    bjorng authored
    The Emakefiles in some test suite directories are only appended
    to, never created from scratch, which can cause problems
    especially when swithching branches in a git repository.
  6. @lthor

    OTP-8343 The documentation is now possible to build in an open source

    lthor authored Erlang/OTP committed
              environment after a number of bugs are fixed and some features
              are added in the documentation build process.
    
              - The arity calculation is updated.
    
              - The module prefix used in the function names for bif's are
              removed in the generated links so the links will look like
              "http://www.erlang.org/doc/man/erlang.html#append_element-2"
              instead of
              "http://www.erlang.org/doc/man/erlang.html#erlang:append_element-
              2".
    
              - Enhanced the menu positioning in the html documentation when a
              new page is loaded.
    
              - A number of corrections in the generation of man pages (thanks
              to Sergei Golovan)
    
              - The legal notice is taken from the xml book file so OTP's build
              process can be used for non OTP applications.
Commits on Jan 27, 2010
  1. @bjorng

    work around hipe_mfa_info_table lock omission

    Mikael Pettersson authored bjorng committed
    HiPE maintains per-MFA information such as native code entry
    point in a table. This table was thought to be read-only at
    runtime, except when the loader populates it, so it employed
    no locking. That turned out to be incorrect: if there is an
    apply of a previously unseen MFA, a native code stub for that
    MFA is created and recorded in the table, causing it to grow.
    
    Work around this for now by slapping a mutex around accesses
    to that table.
    
    Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>
  2. @bjorng

    fix hipe loader SMP non-atomicity error

    Mikael Pettersson authored bjorng committed
    Loading native code is a multi-step operation that needs to be
    atomic, but the HiPE loader failed to ensure that.
    This caused corruption of runtime system structure in some cases.
    
    Fix by blocking multi_scheduling around main loader entry points.
    
    Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>
  3. @bjorng

    Update preloaded files

    bjorng authored Erlang/OTP committed
  4. Merge branch 'rb/stdlib_re_unicode_fixes' into ccase/r13b04_dev

    Erlang/OTP authored
    * rb/stdlib_re_unicode_fixes:
      Fix lost unicode option in re:compile()
      Refactor out repeated block in re module
      Fix re:replace/4 to handle unicode charlist Replacement argument
      Fix re:replace/4 to handle unicode charlist RE argument
      Fix re:replace/4 to handle binary unicode output when nothing replaced
    
    OTP-8394  A number of bugs concerning re and unicode are corrected:
              - re:compile no longer loses unicode option, which also fixes bug
                in re:split.
              - re:replace now handles unicode charlist replacement argument
              - re:replace now handles unicode RE charlist argument correctly
              - re:replace now handles binary unicode output correctly when
              nothing is replaced.
    
              Most code, testcases and error isolation done by Rory Byrne.
  5. @bufflig @bjorng

    Fix lost unicode option in re:compile()

    bufflig authored bjorng committed
    Noticed-by: Rory Byrne
  6. @jinsky @bjorng

    Refactor out repeated block in re module

    jinsky authored bjorng committed
  7. @jinsky @bjorng

    Fix re:replace/4 to handle unicode charlist Replacement argument

    jinsky authored bjorng committed
    A bug in re:replace/4 causes a badarg exception to be thrown when the
    Replacement argument is a charlist containing non-ascii codepoints.
    
    The problem is that the code incorrectly assumes that the Replacement
    text is iodata() and calls iolist_to_binary/1 on it. This patch fixes
    it to obey the 'unicode' option and handle charlist() Replacement
    arguments correctly.
  8. @bufflig @bjorng

    Fix re:replace/4 to handle unicode charlist RE argument

    bufflig authored bjorng committed
    The real problem is in the re:run/3 BIF.
    
    Noticed-by: Rory Byrne
    Tests-by: Rory Byrne
  9. @jinsky @bjorng

    Fix re:replace/4 to handle binary unicode output when nothing replaced

    jinsky authored bjorng committed
    A bug with re:replace/4 causes an exception when: (a) it's given a
    unicode charlist as input; (b) it's set to {return,binary}; and
    (c) it finds nothing to replace.
    
    The problem is: when re:replace/4 does not find anything to replace
    in its Subject input, it calls iolist_to_binary on this data. This
    fails if the original input is a charlist with non-ascii codepoints.
  10. OTP-8387 Explicit top directories in archive files are now optional.

    Håkan Mattsson authored Erlang/OTP committed
              For example, if an archive (app-vsn.ez) just contains an
              app-vsn/ebin/mod.beam file, the file info for the app-vsn and
              app-vsn/ebin directories are faked using the file info from the
              archive file as origin. The virtual direcories can also be
              listed. For short, the top directories are virtual if they does
              not exist.
  11. @bufflig

    Added a small timeout to take care of race in newshell. Also removed …

    bufflig authored Erlang/OTP committed
    …deletion of files when compiled with debug option. Changed LC_CTYPE for sunos of certain versions.
Commits on Jan 26, 2010
  1. @lthor

    OTP-8343 The documentation is now possible to build in an open source

    lthor authored Erlang/OTP committed
              environment after a number of bugs are fixed and some features
              are added in the documentation build process.
    
              - The arity calculation is updated.
    
              - The module prefix used in the function names for bif's are
                removed in the generated links so the links will look like
    
                http://www.erlang.org/doc/man/erlang.html#append_element-2
    
                instead of
    
                http://www.erlang.org/doc/man/erlang.html#erlang:append_element-2
    
              - Enhanced the menu positioning in the html documentation when a
                new page is loaded.
              - A number of corrections in the generation of man pages (thanks
                to Sergei Golovan)
              - Moved some man pages to more apropriate sections, pages in
                section 4 moved to 5 and pages in 6 moved to 7.
              - The legal notice is taken from the xml book file so OTP's
                build process can be used for non OTP applications.
Commits on Jan 25, 2010
  1. @klajo

    Test that "extra" is handled according to specs in ALIVE2_REQ and POR…

    klajo authored Erlang/OTP committed
    …T2_RESP
  2. Merge branch 'ta/os_timestamp_no_mutex' into ccase/r13b04_dev

    Erlang/OTP authored
    * ta/os_timestamp_no_mutex:
      Remove mutex lock around sys_gettimeofday() in os:timestamp/0
    
    OTP-8390  An unecessary lock operation in os:timestamp/0 has been
              eliminated, making it slightly more efficient. (Thanks to Jonas
              Falkevik and Tuncer Ayaz.)
  3. @sverker

    OTP-8377 ETS bug causing the memory counter from ets:info for

    sverker authored Erlang/OTP committed
              ordered_set's to sometimes get out of synch and absurdly high.
Something went wrong with that request. Please try again.