Skip to content
Commits on Jun 3, 2010
  1. @bjorng
  2. @kostis @bjorng
  3. @kostis @bjorng

    Minor fix in a print message

    kostis committed with bjorng Mar 22, 2010
  4. @bjorng

    Add handling of unknown types

    Maria Christakis committed with bjorng Mar 22, 2010
  5. @kostis @bjorng

    Add declaration for exported types

    kostis committed with bjorng Mar 21, 2010
  6. @kostis @bjorng
  7. @kostis @bjorng

    erl_scan: Add declarations for exported types

    While at it, added some types to a record
    and did some cleanups suggested by tidier.
    kostis committed with bjorng Mar 19, 2010
  8. @kostis @bjorng
  9. @kostis @bjorng
  10. @kostis @bjorng
  11. @kostis @bjorng
  12. @kostis @bjorng
  13. @kostis @bjorng
  14. @kostis @bjorng

    Add infrastructure for the -export_type() attribute

    erl_lint has been updated so that it takes the new -export_type()
    attribute into account.
    This means:
     - do not complain about types which are defined but nowhere used in the
       module but exported to other modules
     - check that all types which are exported are indeed defined in the module
     - warn when there are multiple occurrences of exported types.
    
    In doing this change, I've also taken the liberty to introduce many types and
    specs for functions of this module and to do small cleanups here and there.
    kostis committed with bjorng Mar 4, 2010
  15. OTP-8665 epp bug

    The Erlang code preprocessor (epp) did not correctly handle premature
    end-of-input when defining macros. This bug, introduced in STDLIB 1.16, has
    been fixed.
    Hans Bolinder committed with Erlang/OTP Jun 3, 2010
  16. Merge branch 'pan/otp_8579_autoimport_override' into dev

    * origin/pan/otp_8579_autoimport_override:
      Update preloaded modules
      Update primary bootstrap
      Remove outcommented code from erl_lint
      Make port_command/3 auto-imported
      Remove (harmless) warnings about min/max in core applications
      Autoimport min/2 and max/2
      Improve coverage of erl_int in testcases
      Change warning to error for nowarn_bif_clash compiler directive
      Add -compile({no_auto_import,[F/A]}) doc to compiler.xml
      Add some testcases to compiler to verify that overriding really happens
      Return nowarn_bif_clash functionality but with warning
      Teach erl_lint to better override BIFs with local functions and imports
      Teach compiler to override autoimport with import
      First prototype for local functions overriding autoimported
    
    OTP-8579  Local functions should override auto-imported
    
    Local and imported functions now override the autoimported
    BIFs when the names clash. The pre R14 behaviour was that
    autoimported BIFs would override local functions. To avoid
    that old programs change behaviour, the following will
    generate an error:
    
    Doing a call without explicit module name to a local function
    having a name clashing with the name of an autoimported BIF
    that was present (and autoimported) before OTP R14A
    Explicitly importing a function having a name clashing with
    the name of an autoimported BIF that was present (and
    autoimported) before OTP R14A Using any form of the old
    compiler directive nowarn_bif_clash
    
    If the BIF was added or autoimported in OTP R14A or later,
    overriding it with an import or a local function will only
    result in a warning,
    
    To resolve clashes, you can either use the explicit module
    name erlang to call the BIF, or you can remove the autoimport
    of that specific BIF by using the new compiler directive
    -compile({no_auto_import,[F/A]})., which makes all calls to
    the local or imported function without explicit module name
    pass without warnings or errors.
    
    The change makes it possible to add autoimported BIFs without
    breaking or silently changing old code in the future. However
    some current code ingeniously utilizing the old behaviour or
    the nowarn_bif_clash compiler directive, might need changing
    to be accepted by the compiler.
    Erlang/OTP committed Jun 3, 2010
  17. Merge branch 'pan/otp_8577_re_pattern_doc' into dev

    * pan/otp_8577_re_pattern_doc:
      Add documentation of what part of a re mp() can be used for guard tests
    
    OTP-8577 Document re_pattern properties
    
    Some properties of a compiled re pattern are defined to allow for guard
    tests.
    Erlang/OTP committed Jun 3, 2010
  18. Merge branch 'pan/otp_8611_standard_io' into dev

    * pan/otp_8611_standard_io:
      Teach file:write/read/read_line about named io_servers
    
    OTP-8611 file:write,read and read_line on named io_device()
    
    The file module's functions write,read and read_line now handles named
    io_servers like 'standard_io' and 'standard_error' correctly.
    Erlang/OTP committed Jun 3, 2010
  19. Merge branch 'pan/unregister_error' into dev

    * pan/unregister_error:
      Add possibly missing process lock before unregistering oneself
      Keep process lock over trace of unregister
    
    OTP-8663 Unregister may crash VM
    
    Extreme combinations of register/unregister in a highly parallell SMP
    application could crash the VM. The error is corrected.
    Erlang/OTP committed Jun 3, 2010
  20. Merge branch 'pan/otp_8086_ms_grammar' into dev

    * pan/otp_8086_ms_grammar:
      Add match_specification grammar documentation specifically for ets
    
    OTP-8086 Grammar for match specification describes tracing only
    
    The grammar for match specifications in ERTS users guide only described the
    tracing dialect of match specifications. An informal grammar for the ETS
    dialect is added.
    Erlang/OTP committed Jun 3, 2010
  21. Merge branch 'pan/otp_3626_win_find_executable' into dev

    * pan/otp_3626_win_find_executable:
      Teach os.erl to find executable names with extension (i.e. .exe) on windows
    
    OTP-3626 os:find_executable bug on Windows
    
    os:find_executable can now be fed with the complete name of the executable
    on Windows and still find it. I.e os:find_executable("werl.exe") will work
    as os:find_executable("werl").
    Erlang/OTP committed Jun 3, 2010
  22. @dgud

    Fixed a bug in the spec which caused dsa parameters to be lost in the…

    … certificates.
    dgud committed with Erlang/OTP Jun 3, 2010
Commits on Jun 2, 2010
  1. @bmk

    OTP-8529: Raise condition processing replies

    bmk committed with Erlang/OTP Jun 2, 2010
  2. @bmk

    OTP-8634: Pending counter raise condition.

    bmk committed with Erlang/OTP Jun 2, 2010
  3. @bufflig

    Update preloaded modules

    bufflig committed Jun 2, 2010
  4. @bufflig

    Update primary bootstrap

    bufflig committed Jun 2, 2010
  5. @bufflig
  6. @bufflig
  7. @bufflig
  8. @bufflig

    Autoimport min/2 and max/2

    bufflig committed Jun 2, 2010
  9. @bufflig
  10. @bufflig
  11. @bufflig
  12. @bufflig
  13. @bufflig

    Return nowarn_bif_clash functionality but with warning

    Wrote and changed some tests in stdlib:erl_lint_SUITE
    
    nowarn_bif_clash is obsoleted but will remove warnings and errors about bif
    clashes. The recommended way is to use no_auto_import directives instead.
    
    Hopefully erlang.erl is the only user in the world of nowarn_bif_clash.
    bufflig committed May 26, 2010
Something went wrong with that request. Please try again.