Permalink
Commits on Apr 15, 2013
  1. Merge branch 'nox/file-receive-optim/OTP-11040' into maint

    gustehn committed Apr 15, 2013
    * nox/file-receive-optim/OTP-11040:
      Optimize communication with file io server
Commits on Apr 12, 2013
  1. Merge branch 'anders/diameter/watchdog_leak/OTP-11019' into maint

    Anders Svensson
    Anders Svensson committed Apr 12, 2013
    * anders/diameter/watchdog_leak/OTP-11019:
      Minor doc fix
      Add testcase to exercise reconnect behaviour
      Fix watchdog table leak
  2. Merge branch 'anders/diameter/address_config/OTP-10986' into maint

    Anders Svensson
    Anders Svensson committed Apr 12, 2013
    * anders/diameter/address_config/OTP-10986:
      Comment fix
      More robust listening port lookup in test suites
      Update example client to allow default local address
      Make explicit local address to diameter_tcp:start/3 optional
      Add transport interface 'connected' message with local address list
Commits on Apr 11, 2013
  1. Minor doc fix

    Anders Svensson
    Anders Svensson committed Apr 8, 2013
  2. Add testcase to exercise reconnect behaviour

    Anders Svensson
    Anders Svensson committed Apr 8, 2013
  3. Merge branch 'lh/otp-optims/OTP-11035' into maint

    gustehn committed Apr 11, 2013
    * lh/otp-optims/OTP-11035:
      Use erlang:demonitor's flush option on timeout
      Don't lookup the node unless required in gen:call/{3,4}
  4. Comment fix

    Anders Svensson
    Anders Svensson committed Apr 7, 2013
  5. More robust listening port lookup in test suites

    Anders Svensson
    Anders Svensson committed Apr 7, 2013
    In particular, remove timing dependence by using diameter_reg:wait/1 to
    wait on the term registered by diameter_{tcp,sctp} when opening a
    listening socket.
  6. Update example client to allow default local address

    Anders Svensson
    Anders Svensson committed Apr 6, 2013
    Note that the semantics of client:connect/1 have changed slightly: the
    second element in an argument 3-tuple is a remote address, the local
    address being the transport module's default. Previously it was
    interpreted as a common local/remote address.
  7. Make explicit local address to diameter_tcp:start/3 optional

    Anders Svensson
    Anders Svensson committed Mar 27, 2013
    Use the default address address (as selected by gen_tcp) if none is
    configured, passing it in the new 'connected' message introduced by the
    previous commit.
    
    The corresponding update to diameter_sctp has to wait until problems
    with inet:sockname/1 are resolved: the function currently only returns
    one address, and sometimes {0,0,0,0}. See OTP-11018.
  8. Add transport interface 'connected' message with local address list

    Anders Svensson
    Anders Svensson committed Apr 6, 2013
    A transport module can return a local address list from its start/3
    function in order to specify addresses to be used as Host-IP-Address
    during capabilities exchange. Now allow addresses to be communicated in
    a 'connected' message in the case of a connecting transport, so that
    diameter_tcp (in particular) can make local address configuration
    optional, communicating the gen_tcp default after connection
    establishment instead.
  9. Optimize communication with file io server

    nox committed Apr 5, 2013
    The file module communicates with a file io server with the following
    protocol for file operations:
    
    > {file_request,From,ReplyAs,Request}
    < {file_reply,ReplyAs,Reply}
    
    The ReplyAs value is sent by the client side to match against when
    receiving the reply and is otherwise left untouched and passed as is by
    the server.
    
    This commit enables receive optimizations by using the reference of the
    server monitor, changing the protocol to:
    
    > {file_request,From,MonitorRef,Request}
    < {file_reply,MonitorRef,Reply}
    
    As the shape of the messages is not changed, backwards compatibility is
    not a concern.
  10. Merge branch 'sverk/dets_remove_test_otp_9607' into maint

    sverker committed Apr 11, 2013
    * sverk/dets_remove_test_otp_9607:
      stdlib: Fix unstable testcase ets_SUITE:delete_large_named_table
      stdlib: Remove obsolete testcase dets_SUITE:otp_9607
  11. Merge branch 'ks/hipe-cleanup-escaping/OTP-11031' into maint

    gustehn committed Apr 11, 2013
    * ks/hipe-cleanup-escaping/OTP-11031:
      Loosen the assumptions of code that handles escaping functions
Commits on Apr 10, 2013
  1. Merge branch 'mar/cover-fix/OTP-11028' into maint

    gustehn committed Apr 10, 2013
    * mar/cover-fix/OTP-11028:
      Delete ets tables when stopped
      fix a race condition when there're several applications in apps directory
  2. Merge branch 'sa/dialyzer-bitstring-fixes/OTP-11027' into maint

    gustehn committed Apr 10, 2013
    * sa/dialyzer-bitstring-fixes/OTP-11027:
      Minor refactorings
      Fix minor error in natively compiled module list
      Fix notification for duplicate modules
      Fix an error in the type inference of bitstring data
  3. Fix watchdog table leak

    Anders Svensson
    Anders Svensson committed Apr 8, 2013
    A service process maintains a table keyed on watchdog process pids. When
    a watchdog process dies the corresponding entry should be removed but
    this was broken in commit f115a9f, causing entries with watchdog state
    DOWN to accumulate.
    
    Watchdog processes die as a result of diameter:remove_transport/2, or
    when a peer reestablishes a connection in the listening case. Neither is
    typically a frequent occurrence.
    
    The fault manifests itself in the return value of
    diameter:service_info(SvcName, transport), which displays entries for
    watchdog processes that are no longer alive.
  4. Update preloaded modules

    gustehn committed Apr 10, 2013
  5. Merge branch 'atj/atj-fix-message_que_len-typo/OTP-11024' into maint

    gustehn committed Apr 10, 2013
    * atj/atj-fix-message_que_len-typo/OTP-11024:
      Fix typo in type: erlang:process_info_item()
  6. Merge branch 'siri/common_test/unexpected_io/OTP-10494' into maint

    sirihansen committed Apr 10, 2013
    * siri/common_test/unexpected_io/OTP-10494:
      [common_test] Add test for unexpected I/O
      [common_test] Send unexpected logging to test_server's unexpected_io.log
      [test_server] Add test_server_io:print_unexpected/1
Commits on Apr 9, 2013
  1. Merge branch 'fredrik/stdlib/fix_broken_link' into maint

    gustehn committed Apr 9, 2013
    * fredrik/stdlib/fix_broken_link:
      Fixed broken links in sys.html
  2. Merge branch 'hb/debugger/strings/OTP-10899' into maint

    uabboli committed Apr 9, 2013
    * hb/debugger/strings/OTP-10899:
      Ignore JPG files
Commits on Apr 8, 2013
  1. Ignore JPG files

    uabboli committed Apr 8, 2013
  2. Merge branch 'anders/diameter/service_config/OTP-11017' into maint

    Anders Svensson
    Anders Svensson committed Apr 8, 2013
    * anders/diameter/service_config/OTP-11017:
      Fix handling of unknown options to diameter:start_service/2
  3. Merge branch 'anders/diameter/release_notes/OTP-11014' into maint

    Anders Svensson
    Anders Svensson committed Apr 8, 2013
    * anders/diameter/release_notes/OTP-11014:
      Fix faulty capitalization in generated release notes
  4. Merge branch 'fredrik/ssh/ssh_daemon_pass_arg/OTP-10975' into maint

    gustehn committed Apr 8, 2013
    * fredrik/ssh/ssh_daemon_pass_arg/OTP-10975:
      ssh: If not valid expression, rather than generate a error, try to use the cmd.
  5. Merge branch 'siri/cuddle-with-tests' into maint

    sirihansen committed Apr 8, 2013
    * siri/cuddle-with-tests:
      [reltool] Clean up work dir after test
      [observer] Add debug printouts in ttb_SUITE
  6. [common_test] Send unexpected logging to test_server's unexpected_io.log

    sirihansen committed Apr 5, 2013
    If it could not be decided which test case a certain log printout
    belonged to, the common test framework log was earlier used. Such
    printouts are now instead sent to unexpected_io.log in test_server so
    that there is only one place to look for "missing" printouts.
  7. [test_server] Add test_server_io:print_unexpected/1

    sirihansen committed Apr 5, 2013
    To use from any process to print a string in the unexpected_io.log.
  8. Minor refactorings

    aronisstav committed Mar 26, 2013
  9. Fix minor error in natively compiled module list

    aronisstav committed Mar 25, 2013
    Even though dialyzer_typesig is the module doing most of the work, compiling it
    to native code twice will not make it faster than the rest. :-)
  10. Fix notification for duplicate modules

    aronisstav committed Mar 25, 2013
    Dialyzer fails when asked to analyze multiple modules with the same name, but
    the error message was erroneous. With this patch Dialyzer generates a correct
    error message.
    
    Bug reported and patch submitted by Maxim Treskin.