aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2011-11-30Add file/line info in a particular Dialyzer crashStavros Aronis
2011-11-30Fix Dialyzer's warnings in HiPEStavros Aronis
2011-11-30Fix Dialyzer's warning for its own codeStavros Aronis
2011-11-30Fix crash in TyperStavros Aronis
2011-11-30No warnings for underspecs with remote typesStavros Aronis
2011-11-30Merge branch 'siri/stdlib/dialyzer-supervisor/OTP-9741'Siri Hansen
* siri/stdlib/dialyzer-supervisor/OTP-9741: Add test for upgrade of supervisor Fix dialyzer warnings in supervisor
2011-11-30Keep unpack_release backwards compatible with old systools:make_tarSiri Hansen
systools:make_tar has recently been updated to store the .rel file in both releases and releases/<vsn> directories. Ths same commit removed copying of this file from releases to releases/<vsn> in release_handler:unpack_release. This commit adde this copy again to make sure the file is not lost if the tar file was created with an older systools.
2011-11-30Merge branch 'bjorn/deprecate-tuple-funs/OTP-9649'Björn Gustavsson
* bjorn/deprecate-tuple-funs/OTP-9649: erts: Warn the first time a tuple fun is called otp_mibs: Eliminate use of tuple fun os_mon: Eliminate use of tuple fun asn1: Eliminate use of tuple fun parsetools: Eliminate use of tuple fun mnesia tests: Eliminate use of tuple fun snmp: Eliminate use of tuple fun wrap_log_reader_SUITE: Eliminate use of tuple fun big_SUITE: Eliminate use of tuple fun file_SUITE: Eliminate use of tuple fun fprof: Eliminate use of tuple fun xref_compiler: Eliminate use of tuple fun shell: Eliminate use of tuple funs erl_eval: Eliminate use of tuple funs user_sup: Eliminate use of tuple fun
2011-11-30Merge branch 'siri/sasl/duplicate-rel-file/OTP-9746'Siri Hansen
* siri/sasl/duplicate-rel-file/OTP-9746: Add copy of rel file in releases/<vsn> in release tar file
2011-11-30Merge branch 'bjorn/llvm-issues/OTP-9712'Björn Gustavsson
* bjorn/llvm-issues/OTP-9712: INSTALL.md: Update build instructions for Lion Fix clang linking problem configure: Define NO_JUMP_TABLE if all we have is llvm-gcc beam_emu.c: Eliminate warnings when NO_JUMP_TABLE is defined beam_emu.c: Use the correct void* type for computed gotos MacOS X: Completely remove obsolete -no-cpp-precomp option
2011-11-30Merge branch 'siri/stdlib/dialyzer-log_mf_h/OTP-9754'Siri Hansen
* siri/stdlib/dialyzer-log_mf_h/OTP-9754: Fix dialyzer warning about gen_event callback init/1 in log_mf_h
2011-11-30Fix dialyzer warning about gen_event callback init/1 in log_mf_hSiri Hansen
The warning is about log_mf_h having a different spec for gen_event callback init/1 than defined in gen_event.erl. log_mf_h allows return value {error,Reason}, while gen_even only specifies successful return values. This commit add {error,Reason} as a valid return value to the gen_event callback, since this is handled by the code.
2011-11-30Test cases where failing due to timing issues in test case codeIngela Anderton Andin
2011-11-30otp_mibs: Eliminate use of tuple funBjörn Gustavsson
2011-11-30os_mon: Eliminate use of tuple funBjörn Gustavsson
2011-11-30asn1: Eliminate use of tuple funBjörn Gustavsson
2011-11-29Add test for upgrade of supervisorSiri Hansen
The test is added in release_handler_SUITE since this makes it possible to test the full upgrade instead of just a simple library test of supervisor:code_change.
2011-11-29Fix dialyzer warnings in supervisorSiri Hansen
Dialyzer complained over a mismatch between the callback spec of Mod:code_change in gen_server and the spec of supervisor:code_change (which is the implementation of a gen_server Mod:code_change). This commit changes the callback spec to allow {error,Reason} as return value. Also, release_handler is updated to handle this return value.
2011-11-29parsetools: Eliminate use of tuple funBjörn Gustavsson
2011-11-29Implement file:sendfileTuncer Ayaz
Allow Erlang code to use sendfile() where available by wrapping it as file:sendfile/4 and file:sendfile/2. sendfile(2) - Linux man page: "sendfile() copies data between one file descriptor and another. Because this copying is done within the kernel, sendfile() is more efficient than the combination of read(2) and write(2), which would require transferring data to and from user space."
2011-11-29mnesia tests: Eliminate use of tuple funBjörn Gustavsson
2011-11-29snmp: Eliminate use of tuple funBjörn Gustavsson
2011-11-29wrap_log_reader_SUITE: Eliminate use of tuple funBjörn Gustavsson
2011-11-29file_SUITE: Eliminate use of tuple funBjörn Gustavsson
2011-11-29fprof: Eliminate use of tuple funBjörn Gustavsson
2011-11-29xref_compiler: Eliminate use of tuple funBjörn Gustavsson
2011-11-29shell: Eliminate use of tuple funsBjörn Gustavsson
2011-11-29erl_eval: Eliminate use of tuple funsBjörn Gustavsson
2011-11-29user_sup: Eliminate use of tuple funBjörn Gustavsson
2011-11-29Merge branch 'bjorn/erts/remove-useless-variable'Björn Gustavsson
* bjorn/erts/remove-useless-variable: erl_process.c: Remove the redundant variable 'processes_busy' Update primary bootstrap otp_internal: Deprecate ssl:pid/1
2011-11-28Add ssl (and crypto and public_key) ensure tests.Micael Karlberg
That is, for test cases that depend of a running ssl app, added tests that ssl is actually running (actually the key app here is crypto, since the simplest way to test if ssl works is by testing if crypto does...).
2011-11-28Merge branch 'ac/xpath-scan'Henrik Nord
* ac/xpath-scan: Treat , as special in xmerl_xpath_scan. OTP-9753
2011-11-28otp_internal: Deprecate ssl:pid/1Björn Gustavsson
2011-11-28Be more forgiving when waiting for the response...Micael Karlberg
2011-11-28Merge branch 'bjorn/compiler/options/OTP-9752'Björn Gustavsson
* bjorn/compiler/options/OTP-9752: filename documentation: Recommend against using filename:find_src/1,2 Teach filename:find_src/1,2 to handle slim or stripped BEAM files filename: Eliminate failing call to Mod:module_info(source_file) filename.erl:filter_options/1: Remove handling of dead options compiler: Don't include {cwd,_} in module_info(compile) compiler: Don't include source code options in module_info(compile) hipe: Teach hipe to handle slim or stripped BEAM files
2011-11-28Merge branch 'bjorn/code-loading'Björn Gustavsson
* bjorn/code-loading: code: Clean up loading of code_server prerequisites beam_load.c: Add init_iff_file() for verifying the IFF header beam_code.c: Don't reinvent state initialization and deallocation beam_load.c: Optimize code:get_chunk/2 beam_load.c: Eliminate memory leak in code:make_stub_module/3
2011-11-28kernel: Adjust sctp test skip for interesting error value from MontavistaRaimo Niskanen
2011-11-28kernel: Adjust test to allow for creative auto alias on MacOS XRaimo Niskanen
2011-11-28stdlib: Fix typo in unicode_usage.xmlRaimo Niskanen
Reported by Uwe Dauernheim.
2011-11-28Merge branch 'bjorn/fix-failing-tests'Björn Gustavsson
* bjorn/fix-failing-tests: erlc_SUITE:arg_overflow/1: Lower number of options for MacOS X Lion tar_SUITE: Don't do symlink tests on Windows erlc_SUITE: Fix failing compile_mib/1 test case
2011-11-28Merge branch 'bjorn/hipe/remove-single-func-comp/OTP-9751'Björn Gustavsson
* bjorn/hipe/remove-single-func-comp/OTP-9751: hipe: Remove single function compilation
2011-11-28hipe: Remove single function compilationBjörn Gustavsson
Compiling single functions (as opposed to whole modules) to native code complicates code management in HiPE. It would also vastly complicate whole-module optimizations, such as returning multiple return values instead of tuples within a module. As a first step, remove the external interface for the single compilation feature. In the future, there are many things that could be restructured and simplified.
2011-11-28Merge branch 'ia/ssl/passive-receive-during-renegotiation-bug/OTP-9744'Ingela Anderton Andin
2011-11-28If a passive receive was ongoing during a renegotiation the processIngela Anderton Andin
evaluating ssl:recv could be left hanging for ever.
2011-11-28Send ssl_closed notification to active ssl user when a tcp error occursIngela Anderton Andin
2011-11-28Merge branch 'bjorn/major-release-cleanups'Björn Gustavsson
* bjorn/major-release-cleanups: observer tests: Test compatibility with R13, not R12 emulator tests: Test compatibility with R13, not R12 Teach the compiler the 'r14' option erl_lint: The types introduced in R12B-5 are no longer "newly introduced" otp_internal: Stop warning for functions removed in R12 or earlier Conflicts: lib/stdlib/src/otp_internal.erl
2011-11-28Exits from undefined functions or function cluases nowMicael Karlberg
also include extra info, such as line numbers.
2011-11-28Handle more possible results from parsing the response.Micael Karlberg
2011-11-28Send ssl_closed notification to active ssl user when a tcp error occursIngela Anderton Andin
2011-11-28Merge branch 'ia/ssl/rizzoduong_beast_countermeasure/OTP-9757'Ingela Anderton Andin
* ia/ssl/rizzoduong_beast_countermeasure/OTP-9757: Implementation of 1/n-1 splitting countermeasure Rizzo/Duong-Beast