aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2011-05-13Merge branch 'hb/stdlib/specs/OTP-9267' into devHans Bolinder
* hb/stdlib/specs/OTP-9267: Types and specifications have been modified and added Conflicts: lib/stdlib/src/timer.erl
2011-05-13Merge branch 'hb/kernel/doc_specs/OTP-9272' into devHans Bolinder
* hb/kernel/doc_specs/OTP-9272: Use Erlang specs and types for documentation
2011-05-13Merge branch 'hb/kernel/specs/OTP-9268' into devHans Bolinder
* hb/kernel/specs/OTP-9268: Types and specifications have been modified and added
2011-05-13Ssl sometimes fails when reusing a sessionIngela Anderton Andin
Invalidation of a session for reusing should first flag that the session may no longer be reused and then later when all possible pending reuses have been handled delete the session from the database. This could otherwise cause the client to terminate due to {badarg,[{erlang,byte_size,[undefined]}, and the server to terminate due to {{badmatch,{resumed,undefined}}.
2011-05-13Bugfix in rb:filter when using 're' (regexp) and 'no'Siri Hansen
There was an inconsistency in the filter function, as filter([{Key,Regexp,re,no}]) did not work in the same way as filter([{Key,Value,no}]) The first filter only returned 'proplist' reports, while the second returned *all* reports that didn't match the Value. This has been corrected so both filters now return all reports that don't match.
2011-05-12Don't attempt to do supervisor:delete_child for temporary childSiri Hansen
After a bug fix supervisor does no longer save childspecs for temporary children. Due to this, all calls to supervisor:delete_child will fail for temporary children. rb:stop is therefore now rewritten to only do supervisor:terminate_child.
2011-05-12Never fail when stopping rb, and fix file descriptor leakSiri Hansen
rb:stop did sometimes return {error,running}. This came from supervisor:delete_child and happened when the rb_server has not yet terminated when this function was called. Instead of having a separate gen_server call to rb_server for stopping the process, supervisor:terminate_child is now called. This is a synchronous function - i.e. it waits for the process to actually terminate before it returns. A file descriptor leak in rb:scan_files is corrected. The index file was never closed after reading.
2011-05-12Types and specifications have been modified and addedHans Bolinder
2011-05-12Calling gen_tcp:connect with option {ip, {127,0,0,1}} results in an exit withMicael Karlberg
reason badarg. Neither SSL nor INETS catches this, resulting in crashes with incomprehensible reasons. OTP-9289
2011-05-12Calling gen_tcp:connect with option {ip, {127,0,0,1}} results in an exit withMicael Karlberg
reason badarg. Neither SSL nor INETS catches this, resulting in crashes with incomprehensible reasons. OTP-9289
2011-05-12Merge branch 'dgud/mnesia/add_index_crash/OTP-9285' into devDan Gudmundsson
* dgud/mnesia/add_index_crash/OTP-9285: Fix mnesia crash when adding index on non loaded tables.
2011-05-12Merge branch 'dgud/mnesia/startup-timing' into devDan Gudmundsson
* dgud/mnesia/startup-timing: Use recover_nodes when deciding alive nodes
2011-05-12Use recover_nodes when deciding alive nodesDan Gudmundsson
Fixes timing issue in test cases
2011-05-12Verify that remote data is commited before dirty ops beginDan Gudmundsson
2011-05-12Fix mnesia own small test framework so it works with the re-written tests.Dan Gudmundsson
2011-05-12rHans Bolinder
Use Erlang specs and types for documentation
2011-05-11Also updated release notes.Micael Karlberg
2011-05-11Corrected test case that failed because of the removal of a catch in timer:tcKenneth Lundin
The test case is called test_inline and is using the wrong module name 'Mod1' instead of 'Mod'. This has never been working correcty but was hidden by the catch in timer:tc.
2011-05-11Merge branch 'bmk/snmp/counter32_decode/OTP-9022' into ↵Micael Karlberg
bmk/snmp/snmp420_integration Conflicts: lib/snmp/src/app/snmp.appup.src OTP-9022
2011-05-11Fixed httpc manager crashIngela Anderton Andin
httpc manager crashes.When a request results in a retry, the request id will be "reused" in the previous implementation a race condition could occur causing the manager to crash. This is now avoided by using proc_lib:init_ack and gen_server:enter_loop to allow more advanced initialization of httpc_handlers without blocking the httpc_manger and eliminating extra processes that can cause race conditions.
2011-05-11Add timer:tc/1 which measures elapsed time for a fun/0Dan Gudmundsson
Also removes the 'catch' from timer:tc functions which masked errors in measuring code.
2011-05-11Windows fixes, content_viewer window size was wrong and removed focus stealingDan Gudmundsson
2011-05-11Fix mnesia crash when adding index on non loaded tables.Dan Gudmundsson
This could happen on ram_copies tables.
2011-05-11Updated appup file also (to handle snmp_pdus).Micael Karlberg
2011-05-11Use Erlang specs and types for documentationHans Bolinder
2011-05-11Cosmetics.Micael Karlberg
2011-05-11Release notes, test case and some minor decode fixesMicael Karlberg
(allow only 32 bit values when decoding).
2011-05-11Merge branch 'gl/erl_do_receive_msg/OTP-9241' into devBjörn-Egil Dahlberg
* gl/erl_do_receive_msg/OTP-9241: The function 'erl_xreceive_msg' returned garbage in the 'to' and 'to_name' members of the message. The reason for that was found in the 'erl_do_receive_msg' function. When no 'pid' is provided by the sender, like when doing rpc calls as those uses registered name sends, it doesn't initialize the 'to' member and also the 'to_name' member is copied by the function.
2011-05-11Allow Dets tablenames to be arbitrary termsHans Bolinder
2011-05-11Dialyzer cleanup (removed unused function clauses).Micael Karlberg
2011-05-10Update OpenSSL license text in cryptoPatrik Nyblom
2011-05-10Link OpenSSL libraries static on WindowsPatrik Nyblom
2011-05-10Merge branch 'siri/stdlib/list-to-set-for-dynamic-temporary-procs/OTP-9242' ↵Siri Hansen
into dev * siri/stdlib/list-to-set-for-dynamic-temporary-procs/OTP-9242: Change list to set in supervisor for saving pids of dynamic temprary children
2011-05-10Merge branch 'siri/sasl/log_mf_h-env-missing/OTP-9185' into devSiri Hansen
* siri/sasl/log_mf_h-env-missing/OTP-9185: Fail sasl startup if some, but not all, environment variables related to log_mf_h are given
2011-05-10Changed copyright year.Lars Thorsen
2011-05-10Removed an overflow warning.Lars Thorsen
2011-05-10Fix fop 1.0 crash when building pdfLars Thorsen
2011-05-10Fix separator error in tokenlists.Lars Thorsen
2011-05-10Added the xmerl test suites.Lars Thorsen
2011-05-10Using the same testdata for testing xmerl_scan and xmerl_sax_parser.Lars Thorsen
2011-05-10Add test suite for xmerlBjörn Gustavsson
2011-05-10xmerl: Add doc/examples directoryBjörn Gustavsson
Needed by the test suite.
2011-05-09Types and specifications have been modified and addedHans Bolinder
2011-05-09Merge branch 'sa/dialyzer-tests' into devHenrik Nord
* sa/dialyzer-tests: (22 commits) Update dialyzer.spec Add race/ets_insert_public Add opaque/ewgi,ewgi2 Add opaque/schuett_bug Add small/param_types_crash Add small/file_open_encoding Add small/false_false Add small/ets_update_counter Add small/bin_compr Add small/tuple_set_crash Add small/refine_failing Add small/not_bogus_warning Add small/none_scc_inf_loop Add small/guards Add small/guard_warnings Add small/confusing_record_warning Add small/blame_contract_range Update small/recursive_types2 source Update opaque/zoltan_kis* sources Update options1/compiler results ... OTP-9278
2011-05-09Merge branch 'ks/list_to_bitstring' into devHenrik Nord
* ks/list_to_bitstring: Fix handling of <<_:N,_:_*M>> type expressions Fix the argument of erlang:list_to_bitstring/1 Move function to its proper place Remove unneeded function 'sequence/2' OTP-9277
2011-05-09Add ticet number for tm/xmerl_attr_charref_fixHenrik Nord
OTP-9274
2011-05-09Merge branch 'tm/xmerl_attr_charref_fix' into devHenrik Nord
* tm/xmerl_attr_charref_fix: Prevent xmerl from over-normalizing character references in attributes
2011-05-09Merge branch 'lukas/common_test/timeout_location_fix/OTP-9265' into devLukas Larsson
* lukas/common_test/timeout_location_fix/OTP-9265: Fix ct_framework to not crash when error_notification location is undefined.
2011-05-06Merge branch 'kj/eunit-race-cond' into devHenrik Nord
* kj/eunit-race-cond: Don't let eunit_surefire report back to eunit when stopping Wait until all eunit listeners terminate OTP-9269
2011-05-06Merge branch 'lukas/common_test/ct_hook_bugs/OTP-9264' into devLukas Larsson
* lukas/common_test/ct_hook_bugs/OTP-9264: Fix bug which would make cth's to not be removed when out of scope when adding a cth in suite/0 and crashing in pre_init_per_suite.