aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2011-01-06Fix erroneous fail info of a hipe_bs_primopKostis Sagonas
2010-12-29Merge branch 'ao/percept-web-stop-rebased' into devBjörn-Egil Dahlberg
* ao/percept-web-stop-rebased: Verifies the consistency of stopping behavior. Fixes a bug found in percept:stop_webserver/1, where it doesn't stop the webserver completely OTP-9012
2010-12-29Verifies the consistency of stopping behavior.Ahmed Omar
Updated the test case webserver to cover both stopping functions stop_webserver/1 and stop_webserver/0.
2010-12-29Fixes a bug found in percept:stop_webserver/1, where it doesn't stop the ↵Ahmed Omar
webserver completely percept:stop_webserver/1 will only stop the httpd service in inets, but not the percept_httpd process. As a result, when trying to start the webserver again it will return {error, already_started}. Test case was updated to simulate this case and fix is included to stop the webserver in a consistent way wether stop_webserver/0 or stop_webserver/1 was used.
2010-12-29Merge branch 'ao/percept-race-cond' into devBjörn-Egil Dahlberg
* ao/percept-race-cond: Fixes a race condition found in percept_db start/1 function. OTP-9012
2010-12-29Merge branch 'maint-r14' into devPatrik Nyblom
Conflicts: lib/stdlib/vsn.mk
2010-12-29Merge branch 'pan/r14b01-dialyzer-type-corrections' into devPatrik Nyblom
* pan/r14b01-dialyzer-type-corrections: Correct type specs in io
2010-12-28Prepare releaseErlang/OTP
2010-12-28Correct type specs in ioPatrik Nyblom
2010-12-28Remove dead code (and dialyzer errors) from filename and rePatrik Nyblom
2010-12-28Set types correctly for open_port({spawn_executable, ...Patrik Nyblom
2010-12-28Fix native code compiler infinite loop and update type info for 're'Kostis Sagonas
The introduction of filenames being unicode binaries revealed a problem in the type analysis of the native code compiler which resulted in an infinite loop when compiling the 'filename' module. In addition, the hard-coded type information for the built-in functions of the 're' module was out-of-date, which resulted in erroneous type information for 'filelib' functions being stored in the PLT.
2010-12-21Correct type specs in ioPatrik Nyblom
2010-12-21Merge branch 'ja/fix-hipe-spec-ets-new' into devNiclas Axelsson
2010-12-21Merge branch 'sa/dialyzer-or-fix' into devNiclas Axelsson
2010-12-21Merge branch 'pan/r14b01-dialyzer-type-corrections' into devPatrik Nyblom
* pan/r14b01-dialyzer-type-corrections: Remove faulty change left by mistake in epp OTP-9008
2010-12-21Remove faulty change left by mistake in eppPatrik Nyblom
2010-12-21Merge branch 'pan/r14b01-dialyzer-type-corrections' into devPatrik Nyblom
* pan/r14b01-dialyzer-type-corrections: Removed dead code Remove dead code (and dialyzer errors) from filename and re Set types correctly for open_port({spawn_executable, ... OTP-9008
2010-12-21Merge branch 'bjorn/compiler/export-type/OTP-8998' into devBjörn Gustavsson
* bjorn/compiler/export-type/OTP-8998: compiler: Don't include -export_type as attributes in BEAM files
2010-12-21compiler: Don't include -export_type as attributes in BEAM filesBjörn Gustavsson
Similar to -spec and -type, -export_type should be not be included as attributes (and therefore loaded) in BEAM files, but only in the abstract code chunk.
2010-12-21Merge branch 'bjorn/bs-zero-width-bug/OTP-8997' into devBjörn Gustavsson
* bjorn/bs-zero-width-bug/OTP-8997: Fix type-checking of variable used in zero-width bit syntax construction
2010-12-21Fix type-checking of variable used in zero-width bit syntax constructionBjörn Gustavsson
<<A:0>> will always produce an empty binary, regardless of the type of A. The bug is in the run-time system. Fix it so that a non-numeric value for A will cause a badarg exception. Reported-by: Zvi
2010-12-20Merge branch 'maint-r14' into devIngela Anderton Andin
2010-12-20Merge commit 'build/maint-r14/2010-12-20_15.15' into maint-r14Ingela Anderton Andin
2010-12-20Merge branch 'pan/unicode-filenames/testcase-correction' into devPatrik Nyblom
* pan/unicode-filenames/testcase-correction: Make file_name_SUITE:very_icky work on Windows OTP-8887
2010-12-20Merge branch 'ks/r14b01-hipe-fix' into devPatrik Nyblom
* ks/r14b01-hipe-fix: Fix native code compiler infinite loop and update type info for 're' OTP-9008
2010-12-20Fix bug in the handling of 'or' by DialyzerStavros Aronis
Dialyzer had a minor issue when the arguments of the built-in function 'or' had the fixed value 'false'. This testcase should return no warnings: -module(false_false). -export([false_or/0]). false_or() -> false or false.
2010-12-20Merge branch 'pan/bad-dist-msg/OTP-8993' into devPatrik Nyblom
* pan/bad-dist-msg/OTP-8993: Remove ancient distribution message DOP_NODE_LINK from all code Teach VM not to dump core on bad dist message structure
2010-12-20Removed dead codePatrik Nyblom
2010-12-20Make file_name_SUITE:very_icky work on WindowsPatrik Nyblom
2010-12-17Remove dead code (and dialyzer errors) from filename and rePatrik Nyblom
2010-12-17Merge branch 'maint-r14' into devNiclas Eklund
2010-12-17Merge branch 'maint-r13' into maint-r14Niclas Eklund
Conflicts: lib/orber/doc/src/notes.xml lib/orber/vsn.mk
2010-12-17Update release notesErlang/OTP
2010-12-17Merge branch 'ia/ssl/session-and-cert-cache-handling/OTP-8965' into maint-r14Erlang/OTP
* ia/ssl/session-and-cert-cache-handling/OTP-8965: Prepare for release Cache invalidation and consistent user closing Cache invaldation first version does not break old test cases
2010-12-17Merge branch 'rickard/ets-tab-delete/OTP-8999' into devRickard Green
* rickard/ets-tab-delete/OTP-8999: Safe deallocation of ETS-table structures Fix rwlock resource leak when hitting system limit Conflicts: erts/emulator/beam/erl_process.h erts/emulator/beam/erl_process.c
2010-12-17Merge branch 'bmk/inets/httpd_hrl_file_install/OTP-8988' into devIngela Anderton Andin
* bmk/inets/httpd_hrl_file_install/OTP-8988: External include files
2010-12-17Cleaned up meaningless code discovered thanks to coverIngela Anderton Andin
2010-12-16External include filesMicael Karlberg
HTTPD header file install "fixed". That is, the include files in the include dir are installed in the include dir (by the Makefile in the src/inets_app). New wrapper header files (with the same names httpd.hrl and mod_auth.hrl) has been created in the src/http_server dir (which in turn is installed in the src/http_server dir by the Makefile in the src/http_server dir).
2010-12-16Set types correctly for open_port({spawn_executable, ...Patrik Nyblom
2010-12-16Merge branch 'nick/orber/old_ssl_option/OTP-8994' into maint-r14Erlang/OTP
* nick/orber/old_ssl_option/OTP-8994: The SSL option {ssl_imp, old} was not used if ssl_generation was set to 2. Only R14B was affected by this. Conflicts: lib/orber/doc/src/notes.xml lib/orber/vsn.mk
2010-12-16Merge branch 'nick/orber/recursive_types/OTP-8868' into maint-r14Erlang/OTP
* nick/orber/recursive_types/OTP-8868: Support for recursive unions and structs. Break loop if recursive TypeCode. Added basic tests for recursive uinions and structs. Removed test code. Added partial support for recursive IDL types. Conflicts: lib/ic/doc/src/notes.xml lib/ic/vsn.mk lib/orber/vsn.mk
2010-12-16Fix type specification of the ets:new/2 BIFJesper Louis Andersen
The options for the ets:new/2 call has changed recently. There are read_concurrency hints as well as compressed tables. The hipe/dialyzer did not take this into account. This patch corrects the problem by going through the documentation and altering the type specification. The error fixed is with the dialyzer. When constructing an ETS table with, e.g., {read_concurrency, true}, the dialyzer will report that the caller of ets:new/2 will not return. ; First, we update the documentation from the ets man page. ; Second, we reorder the type specification of keypos so they appear in the same order as in the documentation. ; Finally, we add the missing read_concurrency and compressed Tweak options.
2010-12-16Safe deallocation of ETS-table structuresRickard Green
Ensure that all threads potentially accessing an ETS-table have dropped all references to the table before deallocating it.
2010-12-16Prepare for releaseIngela Anderton Andin
2010-12-16Cache invalidation and consistent user closingIngela Anderton Andin
Added cache invalidation control of ssl certificates so that sessions will not be reused if file content is changed. There was a glitch in ssl:close that made it possible to to get eaddrinuse even though reuseadder-option was used. Also improved tests for better user-close handling.
2010-12-16Cache invaldation first version does not break old test casesIngela Anderton Andin
2010-12-15kernel: fix faulty distribution testcaseBjörn-Egil Dahlberg
2010-12-15Remove ancient distribution message DOP_NODE_LINK from all codePatrik Nyblom
2010-12-15Fixes a race condition found in percept_db start/1 function.Ahmed Omar
When function start/1 finds an instance of percept_db running, it will send a message to stop it and spawn a process to start a new one, which leads to a race condition. The function will return {restarted, pid()} but the pid() will die once it tries to create the ets table.