aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2011-08-29Merge branch 'dev' into majorHenrik Nord
2011-08-29Merge branch 'ml/two-trivial-documentation-fixes' into devHenrik Nord
* ml/two-trivial-documentation-fixes: Fix trivial documentation errors OTP-9498
2011-08-29Merge branch 'ia/odbc/more-driver-issues' into devIngela Anderton Andin
* ia/odbc/more-driver-issues: Skip utf8 test case on linux 64 due to old driver
2011-08-26Skip utf8 test case on linux 64 due to old driverIngela Anderton Andin
When the test environment supports a newer Postgres driver, (newer than psqlODBC 08.04.0200) the utf8 test case should work as expected and can be enabled again.
2011-08-26Merge branch 'dev' into majorHans Bolinder
* dev: Improve types and specifications of the inet modules
2011-08-26Merge branch 'hb/inet_types_and_specs/OTP-9260' into devHans Bolinder
* hb/inet_types_and_specs/OTP-9260: Improve types and specifications of the inet modules
2011-08-26Merge branch 'dev' into majorBjörn Gustavsson
* dev: code: Optimize purge/1 and soft_purge/1 using check_old_code/1 Add erlang:check_old_code/1 check_process_code/2: Quickly return 'false' if there is no old code
2011-08-26Merge branch 'bjorn/erts/old-code-checking-improvements/OTP-9495' into devBjörn Gustavsson
* bjorn/erts/old-code-checking-improvements/OTP-9495: code: Optimize purge/1 and soft_purge/1 using check_old_code/1 Add erlang:check_old_code/1 check_process_code/2: Quickly return 'false' if there is no old code
2011-08-26code: Optimize purge/1 and soft_purge/1 using check_old_code/1Björn Gustavsson
While at it, eliminate an unnecessary use of throw/catch in the implementation of soft_purge/1.
2011-08-25Improve types and specifications of the inet modulesHans Bolinder
2011-08-25Update primary bootstrapBjörn Gustavsson
2011-08-25Merge branch 'bjorn/line-numbers-in-exceptions/OTP-9468' into majorBjörn Gustavsson
* bjorn/line-numbers-in-exceptions/OTP-9468: (51 commits) debugger: By default, only save non-tail-recursive calls debugger: Add line_number_SUITE debugger: Include line numbers in exceptions Update examples in the documentation to include line numbers Update documentation for erlang:raise/3 and erlang:get_stacktrace/0 beam_lib: Retain the "Line" chunk when stripping BEAM files erl: Add +L to suppress loading of line number information compiler: Add no_line_info for suppressing line/1 instructions exception_SUITE: Test line numbers in exceptions common_test: Use line numbers in exceptions common_test tests: Don't do detailed testing of the stack backtrace test_server: Refactor init_per_testcase/3 into two functions Implement process_info(Pid, current_{location,stacktrace}) beam_emu: Factor out saving of stack trace from save_stacktrace() compiler: Don't create filenames starting with "./" ops.tab: Remove line instructions before tail-recursive calls Lookup and include filenames and line numbers in exceptions Fix decrement of continuation pointers Refactor building of the exception stacktrace BEAM loader: Load the line table ...
2011-08-25Merge branch 'dev' into majorHenrik Nord
2011-08-25Add erlang:check_old_code/1Björn Gustavsson
Add erlang:check_old_code/1 to quickly check whether a module has old code. If there is no old code, there is no need to call erlang:check_process_code/2 for all processes, which will save some time if there are many processes.
2011-08-25check_process_code/2: Quickly return 'false' if there is no old codeBjörn Gustavsson
There is no need to suspend the process if the module has no old code. Measurements show that this change will make erlang:check_process_code/2 in an SMP emulator about four times faster if the module has no old code.
2011-08-24Merge branch 'anders/diameter/augment_inherited_enums/OTP-9469' into devAnders Svensson
* anders/diameter/augment_inherited_enums/OTP-9469: Allow @enum when AVP is defined in an inherited dictionary.
2011-08-24Merge branch 'anders/diameter/optional_appid_in_spec/OTP-9467' into devAnders Svensson
* anders/diameter/optional_appid_in_spec/OTP-9467: @id required in dictionary files only when @messages is specified.
2011-08-24Merge remote branch 'upstream/dev' into devAnders Svensson
2011-08-24Merge branch 'hw/update-chmod-without-f' into devHenrik Nord
* hw/update-chmod-without-f: Again: Call chmod without the "-f" flag OTP-9491
2011-08-24Merge branch 'ao/fix-percept-msgs' into devHenrik Nord
* ao/fix-percept-msgs: Fix message handling in select requests Add demonitor to avoid keeping DOWN message in the queue OTP-9490
2011-08-24Fix message handling in select requestsAhmed Omar
percept_db used to send results in untagged messages, and use a non selective receive to extract them. When percept is used from the shell process, this can confuse other messages with the actual result. Add a tag to the message to be {result, Result}.
2011-08-24Add demonitor to avoid keeping DOWN message in the queueAhmed Omar
fix one spec in do_start/0
2011-08-24Merge branch 'sa/dialyzer-server-loop-fix' into devHenrik Nord
* sa/dialyzer-server-loop-fix: Fix server loop detection OTP-9489
2011-08-24Merge branch 'rc/r14-gc-fix' into devHenrik Nord
* rc/r14-gc-fix: fix 64-bit issues in the garbage collection OTP-9488
2011-08-24Merge branch 'ta/nif-strict-aliasing' into devHenrik Nord
* ta/nif-strict-aliasing: erts: use a union to avoid strict aliasing issues erts: adapt matrix_nif to R14 erl_nif API changes OTP-9487
2011-08-23Merge branch 'gs/yecc-example' into devHenrik Nord
* gs/yecc-example: Fix incorrect order of pseudo variables in yecc example OTP-9484
2011-08-23Merge branch 'sa/dialyzer-small-fixes' into devHenrik Nord
* sa/dialyzer-small-fixes: Fix dialyzer warning on default clause for binary comprehension Update results of race_SUITE/extract_translations Update results of small_SUITE/flatten Add codec_can and list_to_bitstring tests Fix bug when reporting unused functions Update Dialyzer's r9c_suite results OTP-9483
2011-08-23Merge branch 'nick/ssh/stop_channel_tampers_with_trap_exit_flag/OTP-9386' ↵Niclas Eklund
into dev * nick/ssh/stop_channel_tampers_with_trap_exit_flag/OTP-9386: Corrected year in license header. OTP-9386 - Calling ssh_sftp:stop_channel/1 resulted in that the trap_exit flag was set to true for the invoking process.
2011-08-23Merge branch 'nick/lht-idl-compiler-opt/OTP-9460' into devNiclas Eklund
* nick/lht-idl-compiler-opt/OTP-9460: [IC] Changed version, added release note and updated license headers. ic: Fix typo, #ifudef -> #ifndef
2011-08-23Fix missing comma in code exampleRaimo Niskanen
Courtesy of William B. Morgan at Bigpoint Inc.
2011-08-19Merge branch 'hb/correction_zip_open/OTP-9472' into devHans Bolinder
* hb/correction_zip_open/OTP-9472: Fix a bug in zip:zip_open/1,2.
2011-08-18Fix incorrect order of pseudo variables in yecc examplegarrett
The example is for converting from infix to prefix. This change uses to correct ordering of the triplet.
2011-08-18[IC] Changed version, added release note and updated license headers.Niclas Eklund
2011-08-18Fix a bug in zip:zip_open/1,2.Hans Bolinder
zip:zip_open/1,2 did not accept binary archives. Also corrected the contracts of t/1 and tt/1.
2011-08-18debugger: By default, only save non-tail-recursive callsBjörn Gustavsson
By default, the debugger use to save all calls on its simulated stack. That could facilitate finding errors, but it could also mean that the Debugger could become very slow while executing tail-recursive code.
2011-08-18debugger: Add line_number_SUITEBjörn Gustavsson
2011-08-18debugger: Include line numbers in exceptionsBjörn Gustavsson
2011-08-18Update examples in the documentation to include line numbersBjörn Gustavsson
2011-08-18Update documentation for erlang:raise/3 and erlang:get_stacktrace/0Björn Gustavsson
2011-08-18beam_lib: Retain the "Line" chunk when stripping BEAM filesBjörn Gustavsson
2011-08-18erl: Add +L to suppress loading of line number informationBjörn Gustavsson
2011-08-18compiler: Add no_line_info for suppressing line/1 instructionsBjörn Gustavsson
Also update the r12 and r13 options so that they imply no_line_info.
2011-08-18exception_SUITE: Test line numbers in exceptionsBjörn Gustavsson
2011-08-18common_test: Use line numbers in exceptionsBjörn Gustavsson
Remove the old kludgy parse transformations and line numbers macros in common_test and test_server, and use the line numbers in exceptions instead.
2011-08-18common_test tests: Don't do detailed testing of the stack backtraceBjörn Gustavsson
The exact layout of the stack backtrace is an implementation detail that may be changed at any time.
2011-08-18test_server: Refactor init_per_testcase/3 into two functionsBjörn Gustavsson
2011-08-18Implement process_info(Pid, current_{location,stacktrace})Björn Gustavsson
2011-08-18Merge branch 'hb/correction_of_zip_contracts/OTP-9471' into devHans Bolinder
* hb/correction_of_zip_contracts/OTP-9471: Correct contracts in the zip module
2011-08-18Merge branch 'hb/et/remove_dialyzer_warnings/OTP-9470' into devHans Bolinder
* hb/et/remove_dialyzer_warnings/OTP-9470: Remove Dialyzer warnings
2011-08-17Correct contracts in the zip moduleHans Bolinder
The contracts of zip:zip_list_dir/1 and zip:zip_get/2 have been corrected.