aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
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.
2010-12-14Merge branch 'nick/orber/old_ssl_option/OTP-8994' into maint-r13Erlang/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-14Support for recursive unions and structs. Break loop if recursive TypeCode.Niclas Eklund
2010-12-13Fix 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-10Merge branch 'maint-r13' of super:otp into nick/orber/recursive_types/OTP-8868Niclas Eklund
2010-12-10The SSL option {ssl_imp, old} was not used if ssl_generation was set to 2. ↵Niclas Eklund
Only R14B was affected by this.
2010-12-10Fix wrong erl_compare_ext result comparing listsVitaliy Batichko
Function erl_compare_ext of erl_interface library returns 1 instead -1 when comparing lists like [0] and [0, 1000]. Credits to: Evgeny Khirin <evgeny.khirin <at> erlios.com>
2010-12-10Correct erl_global{register, unregister} functionsVitaliy Batichko
C node needs DFLAG_DIST_MONITOR flag set when connecting, and support for processing monitoring start/end messages received from counterpart, to make global registration actually work.
2010-12-10Fix a couple typos in filename encoding docsTuncer Ayaz
2010-12-08Add PID (~p) type parameters to ei_formatVitaliy Batichko
2010-12-08Add char (~c) type parameters to ei_formatVitaliy Batichko
2010-12-08Update version numbersBjörn-Egil Dahlberg
2010-12-07Improve pad character handling in base64 MIME decoding functionsThomas O'Dowd
Implement the 'MAY' clauses from RFC4648 regarding the pad character to make mime_decode() and mime_decode_to_string() functions more tolerant of badly padded base64. The RFC is quoted below for easy reference. RFC4648 Section 3.3 with reference to MIME decoding: Furthermore, such specifications MAY ignore the pad character, "=", treating it as non-alphabet data, if it is present before the end of the encoded data. If more than the allowed number of pad characters is found at the end of the string (e.g., a base 64 string terminated with "==="), the excess pad characters MAY also be ignored.
2010-12-06Prepare releaseErlang/OTP
2010-12-06Merge branch 'mc/dialyzer-doc' into devNiclas Axelsson
* mc/dialyzer-doc: dialyzer: Update documentation
2010-12-06dialyzer: Update documentationMaria Christakis
2010-12-03Merge branch 'sverker/ets_compress/OTP-8922' into devSverker Eriksson
* sverker/ets_compress/OTP-8922: Fix ets_SUITE:types to not fail due to false mem leaks
2010-12-03Fix ets_SUITE:types to not fail due to false mem leaksSverker Eriksson
Waiting for table sys_dist to stablize after slave node has been stopped.
2010-12-03Merge branch 'pan/inet6_corrections/OTP-8969' into devRaimo Niskanen
* pan/inet6_corrections/OTP-8969: Stop using uncertain flags for getaddrinfo() Teach inet_test_lib to understand enetunreach Make windows inet_gethost work for ipv6
2010-12-03Merge branch 'ks/erl_bif_types-cleanup/OTP-8961' into devPatrik Nyblom
* ks/erl_bif_types-cleanup/OTP-8961: Fix type information of 'file' and 'code' modules Conflicts: lib/hipe/cerl/erl_bif_types.erl
2010-12-03Merge branch 'pan/unicode-filenames/OTP-8887' into devPatrik Nyblom
* pan/unicode-filenames/OTP-8887: (27 commits) Test and correct filelib and filename Add documentation to erlang.xml and slight correction to unicode_usage.xml Add section about Unicode file names to stdlib users guide Correct bug in file_name_SUITE making it fail on Unix instead of Windows7 Add documentation about raw filenames and Unicode file name translation mode Make filelib not crash on re codepoints beyond 255 in re when filename is raw Mend on_load_embedded testcase which did not handle windows links Correct testcase regarding windows versions supporting soft links. Teach filelib to use re in unicode mode when filenames are not raw Treat soft links on Windows correctly in file_name_SUITE Adapt new soft and hard link routines on Windos to Unicode Corrected testcases broken by unicode filenames Update preloaded prim_file Teach prim_file not to accept atoms and not to throw exceptions Adapt inet_drv to Visual Studio 2008 Teach spawn_executable about Unicode Convert filenames read on MacOSX to canonical form Teach file to accept codepoints beyond 255. Add testcases Correct shell utilities to handle unicode and possibly binaries ...
2010-12-03Merge branch 'lukas/common_test/extend_timeout_for_win' into devLukas Larsson
* lukas/common_test/extend_timeout_for_win: Update the support init_per_suite to extend the timeout for starting a slave node on windows.
2010-12-03Test and correct filelib and filenamePatrik Nyblom
2010-12-03Merge branch 'lukas/common_test/parallel_group_tc_fix/OTP-8921' into devLukas Larsson
* lukas/common_test/parallel_group_tc_fix/OTP-8921: Fix bug in verification where a tc_done/start event which was generated inbetween a tc_start and tc_done of a init_per_group could caused the validation to fail
2010-12-03Fix bug in verification where a tc_done/start event which was generated ↵Lukas Larsson
inbetween a tc_start and tc_done of a init_per_group could caused the validation to fail
2010-12-03Add documentation to erlang.xml and slight correction to unicode_usage.xmlPatrik Nyblom
2010-12-03Update the support init_per_suite to extend the timeout for starting a slave ↵Lukas Larsson
node on windows.
2010-12-02Merge branch 'bjorn/fix-compiler-bugs/OTP-8949' into devBjörn Gustavsson
* bjorn/fix-compiler-bugs/OTP-8949: beam_utils: Fix check_liveness/3 for receive loops beam_utils: Fix liveness analysis for gc_bif instructions
2010-12-02Merge branch 'raimo/windows-file-append-testcase' into devRaimo Niskanen
* raimo/windows-file-append-testcase: Run KERNEL file_SUITE:large_file on more platforms Add test case for append to file > 4 GB
2010-12-02beam_utils: Fix check_liveness/3 for receive loopsBjörn Gustavsson
Sometimes the beam_bool pass wants to know whether an y register will be killed by the code that follows and will do (effectively): beam_utils:is_killed({y,Y}, Code, L) When asked to calculate the liveness for an y register, beam_utils:is_killed/3 will loop forever if the code includes a receive loop. Since this rarely occurs, fix the problem in the simplest and most conservative way. Reported-by: Christopher Williams
2010-12-02Add section about Unicode file names to stdlib users guidePatrik Nyblom
2010-12-02Teach inet_test_lib to understand enetunreachPatrik Nyblom