Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: ccase/r13b04_d…
Commits on Feb 2, 2010
  1. @bjorng

    Update copyright headers

    bjorng authored Erlang/OTP committed
  2. Merge branch 'cf/epp-macro-overloading' into ccase/r13b04_dev

    Erlang/OTP authored
    * cf/epp-macro-overloading:
      yecc_SUITE: Adjustment for modified error tuple
      epp_SUITE: Increase code coverage
      Minor corrections and clean-ups
      documentation: Macros overloading partly rewritten
      update the documentation on preprocessor in the reference manual
      epp: change rules to choose the right version of a macro
      epp: Add support of macros overloading
      epp: fix bug in the function scan_undef
    
    OTP-8388  Macros overloading has been implemented. (Thanks to Christopher
              Faulet.)
  3. @bmk

    OTP-8317 & OTP-8362.

    bmk authored Erlang/OTP committed
  4. Merge branch 'sf/erl_match-longlong' into ccase/r13b04_dev

    Erlang/OTP authored
    * sf/erl_match-longlong:
      erl_interface: Allow erl_match() to match ERL_LONGLONG and ERL_U_LONGLONG terms
    
    OTP-8400  Allow erl_match() to match ERL_LONGLONG and ERL_U_LONGLONG terms
              (Thanks to Scott Lystig Fritchie).
Commits on Feb 1, 2010
  1. @bjorng

    yecc_SUITE: Adjustment for modified error tuple

    Hans Bolinder authored bjorng committed
  2. @bjorng

    epp_SUITE: Increase code coverage

    Hans Bolinder authored bjorng committed
  3. @bjorng

    Minor corrections and clean-ups

    Hans Bolinder authored bjorng committed
  4. @bjorng

    documentation: Macros overloading partly rewritten

    Hans Bolinder authored bjorng committed
  5. @capflam @bjorng

    update the documentation on preprocessor in the reference manual

    capflam authored bjorng committed
    New section added on Macros Overloading
  6. @capflam @bjorng

    epp: change rules to choose the right version of a macro

    capflam authored bjorng committed
    Now, when we have only the constant definition of a macro (without
    arguments), we always use it. In all other cases, we try to find the
    exact matching definition. We throw an error if we don't find it.
  7. @capflam @bjorng

    epp: Add support of macros overloading

    capflam authored bjorng committed
    This feature simplifies the definition of macros by avoiding to have a
    different name for each version (with different arities) of the same
    macros. New rules:
    - can have multiple definitions of the same macro with different arities
    - cannot overload macro with the same arity
    - the overloading of predefined macros (?MODULE, ?LINE, ...) is forbidden
    - the directive '-undef' removes all definitions of a macro
  8. @capflam @bjorng

    epp: fix bug in the function scan_undef

    capflam authored bjorng committed
    The dict St#epp.uses that helps to find circular macros was not correctly
    updated.
  9. @bjorng

    Add test suite for parsetools

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

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

    Niclas Eklund authored Erlang/OTP committed
  12. @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.
  13. 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
Something went wrong with that request. Please try again.