aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2011-07-07Allow appup instruction delete_module module which is not loadedSiri Hansen
The appup instruction 'delete_module' would cause a crash during upgrade if the module to be deleted was not loaded. The reason was that the release_handler tried to read the version number of the old module after the code path had changed to point to the new version of the application. Thus, if the module had not been loaded before the upgrade, there would no longer be any such module in the path (delete_module indicates that the module is deleted from the new version of the application). This is corrected by letting the release_handler read the old version of the module only if the module is updated - not if it is removed. And it is always read before the code path is changed.
2011-07-06Merge branch 'siri/sasl/new-app-vsn-path/OTP-9402' into devSiri Hansen
* siri/sasl/new-app-vsn-path/OTP-9402: Update code path for all applications that have new versions in a release
2011-07-06Merge branch 'hb/spec_bug/OTP-9413' into devHans Bolinder
* hb/spec_bug/OTP-9413: Correct the contract of io_lib:fread/2,3
2011-07-06Merge branch 'ia/ssl/connect-twice' into devIngela Anderton Andin
* ia/ssl/connect-twice: Added test case
2011-07-06Merge branch 'ia/ssl/improved-test-case' into devIngela Anderton Andin
* ia/ssl/improved-test-case: Improved test case so that it will not fail due to last_delay_timer = undefined
2011-07-05Correct the contract of io_lib:fread/2,3Hans Bolinder
2011-07-04Update code path for all applications that have new versions in a releaseSiri Hansen
If a new version of an application did not include any erlang module changes, the code path of the application was not updasted unless a 'load_object_code' instruction was added for the application. This would be a problem if e.g. only some files in the priv dir were changed, since calls to code:lib_dir or code:priv_dir would then point to the old location of the application. This has been corrected - now code:replace_path/2 will be called for all applications that are changed (i.e. when the application's vsn is changed in the .rel file).
2011-07-04Added test caseIngela Anderton Andin
2011-07-01Merge branch 'siri/reltool/empty-radiobox/OTP-9384' into devSiri Hansen
* siri/reltool/empty-radiobox/OTP-9384: Do not add an empty radio box on the releases tab for the start_clean release
2011-07-01Merge branch 'siri/reltool/duplicate-module-crash/OTP-9383' into devSiri Hansen
* siri/reltool/duplicate-module-crash/OTP-9383: Offer to set safe configuration if reltool:start fails
2011-07-01Merge branch 'siri/sasl/compiler-warnings/OTP-9295' into devSiri Hansen
* siri/sasl/compiler-warnings/OTP-9295: Remove compiler warning for using deprecated module rexexp
2011-06-30Do not add an empty radio box on the releases tab for the start_clean releaseSiri Hansen
First, the radiobox is changed to a listbox, since this will allow multiple selections. This is however for future use - for now a selection will only cause a printout in the erlang shell. Second, add kernel and stdlib to the list of applications in order to make the picture complete and avoid an empty list (radio) box for the start_clean release.
2011-06-30Merge branch 'egil/ei-fix-buffer-alignment/OTP-9390' into devBjörn-Egil Dahlberg
* egil/ei-fix-buffer-alignment/OTP-9390: Align ei buffer according to size of pointers
2011-06-30Improved test case so that it will not fail due to last_delay_timer = undefinedIngela Anderton Andin
2011-06-29Align ei buffer according to size of pointersBjörn-Egil Dahlberg
2011-06-29Removed global name from the certificate tabelIngela Anderton Andin
We want the certificate table to be handled the same way as the session table and not have a global name, so that we may easier create a separate ssl-manager to handle erlang distribution over ssl.
2011-06-28Merge branch 'ia/ssl/use-erlang-send-after-instead-of-timer-send-after' into devIngela Anderton Andin
* ia/ssl/use-erlang-send-after-instead-of-timer-send-after: Use erlang:send_after instead of timer:send_after Conflicts: lib/ssl/test/ssl_session_cache_SUITE.erl
2011-06-28Merge branch 'ia/ssl/inet-getopts-crash/OTP-9382' into devIngela Anderton Andin
* ia/ssl/inet-getopts-crash/OTP-9382: Handle inet:getopts/2 and inet:setopts/2 crashes
2011-06-28Merge branch 'dev' of super:otp into devMicael Karlberg
2011-06-28Merge branch 'maint-r14' into devMicael Karlberg
2011-06-28Prepare for releaseIngela Anderton Andin
2011-06-27Use erlang:send_after instead of timer:send_afterIngela Anderton Andin
Also save latest delay cleanup timer ref so that we can use erlang:read_timer to write a more reliable test case.
2011-06-27Handle inet:getopts/2 and inet:setopts/2 crashesIngela Anderton Andin
2011-06-27Rewrote test case so that it worksIngela Anderton Andin
2011-06-22Fixed non-related ftp test case.Micael Karlberg
[ftp] FTP client doesn't work with IPv6 host. Attila Rajmund Nohl OTP-9342 Merge branch 'bmk/inets/ftp/does_not_handle_ipv6/OTP-9342' into bmk/inets/inets57_integration2
2011-06-22Fixed non-related test case (ticket_6035).Micael Karlberg
2011-06-22Offer to set safe configuration if reltool:start failsSiri Hansen
If a module is duplicated in the library directories visible to reltool, and the configuration does not point out which file to use, then reltool:start will fail. This commit adds a pop-up which asks if it should continue with a "safe" configuration: [{incl_cond,exclude}, {app,kernel,[{incl_cond,include}]}, {app,stdlib,[{incl_cond,include}]}, {app,sasl,[{incl_cond,include}]}]
2011-06-22Add support for SQL_WLONGVARCHARHanfei Shen
2011-06-21Remove compiler warning for using deprecated module rexexpSiri Hansen
2011-06-20Add more specs and typesHans Bolinder
An incorrect spec, rpc:yield/1, has been fixed.
2011-06-20BugfixesHans Bolinder
2011-06-20Merge branch 'ia/odbc/on-more-platforms' into devIngela Anderton Andin
* ia/odbc/on-more-platforms: Added code to handle old postgres drivers on solaris and running against postgres for linux 64 bits (MySQL 64 seems to be broken). Enabled odbc tests on mac
2011-06-17Merge branch 'siri/sasl/release_handler-windows/OTP-9306' into devSiri Hansen
* siri/sasl/release_handler-windows/OTP-9306: Remove path to erts bin dir from erlsrv arguments
2011-06-17Corrected appup-file (missing ',').Micael Karlberg
2011-06-17Fixed ipv6 support detection.Micael Karlberg
2011-06-17(httpc) test case cleanups.Micael Karlberg
2011-06-17Added code to handle old postgres drivers on solaris and running againstIngela Anderton Andin
postgres for linux 64 bits (MySQL 64 seems to be broken).
2011-06-17Merge branch 'hb/parsetools/remove_dialyzer_warnings/OTP-8318' into devHans Bolinder
* hb/parsetools/remove_dialyzer_warnings/OTP-8318: Remove Dialyzer warnings
2011-06-16Enabled odbc tests on macIngela Anderton Andin
2011-06-16Merge branch 'ia/odbc/mysql' into devIngela Anderton Andin
* ia/odbc/mysql: Test odbc with MySQL
2011-06-16Merge branch 'ia/odbc/ipv6-solaris-eaddrnotavail' into devIngela Anderton Andin
* ia/odbc/ipv6-solaris-eaddrnotavail: Update to handle ipv6-solaris behaviour
2011-06-16Merge branch 'ia/odbc/type-issues' into devIngela Anderton Andin
* ia/odbc/type-issues: In some places SQLLEN should be used instead of SQLINTEGER to get correct type casting even on 64 bit platforms Changed SQLINTEGER to SQLSMALLINTEGER for sql_type in the function encode_data_type
2011-06-16Merge branch 'ia/ssl/longer-timeout-in-testcase' into devIngela Anderton Andin
* ia/ssl/longer-timeout-in-testcase: Time out in test case needs to be longer to make sure clean up is properly executed
2011-06-16Merge branch 'ia/ssl/test-case-without-named-table' into devIngela Anderton Andin
* ia/ssl/test-case-without-named-table: Changed test case so that we do not have to make ets-table named
2011-06-16Remove Dialyzer warningsHans Bolinder
The code that deals with the POSIX version of regexps has been commented out. Robert will add an option as well as some way to set the option in the source file later.
2011-06-15[httpc|httpd] Added support for IPv6 with ssl.Micael Karlberg
OTP-5566 Merge branch 'bmk/inets/handle_ipv6_with_ssl2/OTP-5566' into bmk/inets/inets57_integration2 Conflicts: lib/inets/doc/src/notes.xml lib/inets/src/inets_app/inets.appup.src lib/inets/test/inets_test_lib.erl
2011-06-15Uppdated appup-file.Micael Karlberg
2011-06-15Fixed IPv6 test case selection. That is if a IPv6 test case shouldMicael Karlberg
be run or not.
2011-06-15Stopping httpc client...Micael Karlberg
2011-06-15Added test cases for httpd.Micael Karlberg