aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-04-08Merge branch 'ia/ssl/crypto/PSK-SRP/doc' into maintIngela Anderton Andin
* ia/ssl/crypto/PSK-SRP/doc: ssl & crypto: Documentation enhancements
2013-04-05Merge branch 'maint-r16' into maintPatrik Nyblom
Conflicts: erts/vsn.mk
2013-04-05ssl & crypto: Documentation enhancementsIngela Anderton Andin
OTP-10450
2013-04-05Merge branch 'hb/remove_unused_xml_files' into maintHans Bolinder
* hb/remove_unused_xml_files: Remove unused XML files
2013-04-04Prepare releaseErlang/OTP
2013-04-04Merge branch 'egil/r16/fix-delete_element/OTP-10932' into maint-r16Erlang/OTP
* egil/r16/fix-delete_element/OTP-10932: erts: Refactor erlang:insert_element/3 for clarity erts: Fix copy error in erlang:delete_element/2
2013-04-04Merge branch 'rickard/sys-flags/OTP-11000' into maint-r16Erlang/OTP
* rickard/sys-flags/OTP-11000: Fix `+sws' and `+swt' system flags
2013-04-04Merge branch 'rickard/thr_prgr_later_op/OTP-10994' into maint-r16Erlang/OTP
* rickard/thr_prgr_later_op/OTP-10994: Make port close not be delayed Be less eager requesting wakeup for cleanup jobs
2013-04-04Merge branch 'rickard/is_process_alive/OTP-10926' into maint-r16Erlang/OTP
* rickard/is_process_alive/OTP-10926: Fix erlang:is_process_alive/1
2013-04-04Make port close not be delayedPatrik Nyblom
Drivers are dereferenced when the port is completely gone, in the operation scheduled with erts_schedule_thr_prgr_later_op. If we use erts_schedule_thr_prgr_later_cleanup_op, it may not happen for a long time and the driver can not be unloaded. We can not dereference the driver before the thread_progress_later thing, because references to the driver may exist in other threads, so the unloading of the driver may free locks held by other schedulers and whatnot.
2013-04-04Remove unused XML filesHans Bolinder
incompatible.xml and highlights.xml haven't been included anywhere for a long time.
2013-04-04Merge branch 'siri/test_server/hanging-io-request/OTP-10991' into maintSiri Hansen
* siri/test_server/hanging-io-request/OTP-10991: [test_server] Don't hang due to invalid io request
2013-04-04Merge branch 'siri/common_test/force_stop-skip_rest/OTP-10856' into maintSiri Hansen
* siri/common_test/force_stop-skip_rest/OTP-10856: [common_test] Document '-force_stop skip_rest' option to ct_run [common_test] Add tests for repeated testruns [common_test] Add support for testing repeated testruns [common_test] Add -force_stop skip_rest option when repeating tests
2013-04-04Merge branch 'sv/stdlib/sys-get-state/OTP-11013' into maintFredrik Gustafsson
* sv/stdlib/sys-get-state/OTP-11013: Removed ?line macro add sys:get_state/1,2 and sys:replace_state/2,3 update sys:get_status/2,3 documentation for gen_event
2013-04-04Merge branch 'fredrik/erts/to_erl_handshake/OTP-11012' into maintFredrik Gustafsson
* fredrik/erts/to_erl_handshake/OTP-11012: Changed handshake from to_erl to run_erl, on behalf of shell search
2013-04-04Changed handshake from to_erl to run_erl, on behalf of shell searchFredrik Gustafsson
2013-04-04Update preloaded modulesFredrik Gustafsson
2013-04-04Merge branch 'ks/erlang-spawn_opt-process_level/OTP-11008' into maintFredrik Gustafsson
* ks/erlang-spawn_opt-process_level/OTP-11008: Fixed documentation for priority_level to spawn_opt Consistent definition of priority levels
2013-04-04Fixed documentation for priority_level to spawn_optFredrik Gustafsson
2013-04-04Consistent definition of priority levelsKostis Sagonas
In the specs and the documentation of the spawn_opt family of functions there is the following definition of priority levels: Level = low | normal | high However, the process_flag/1 function in that module reads: process_flag(Flag :: priority, Level) -> OldLevel Types: Level = OldLevel = priority_level() priority_level() = low | normal | high | max This is clearly inconsistent. Change specs to use the process_level() type declaration instead of re-defining it in various places.
2013-04-04Merge branch 'ia/ssl/PSK-SRP' into maintIngela Anderton Andin
* ia/ssl/PSK-SRP: ssl: Use new SRP crypto API crypto: New SRP API CRYPTO: add algorithms/0 function that returns a list off compiled in crypto algorithms ssl: Add option to list all available ciper suites and enhanced documentation SSL: add documentation for PSK and SRP ciphers options SSL: enable hash_size values for sha224, sha384 and sha512 SSL: add tests for PSK and SRP ciphers SSL: add TLS-SRP (RFC 5054) cipher suites CRYPTO: add support for RFC-2945 SRP-3 and RFC-5054 SRP-6a authentication crypto: Refactor mod_exp_nif SSL: add TLS PSK (RFC 4279 and RFC 5487) cipher suites
2013-04-03Fix `+sws' and `+swt' system flagsRickard Green
2013-04-03Be less eager requesting wakeup for cleanup jobsRickard Green
2013-04-03ssl: Use new SRP crypto APIIngela Anderton Andin
2013-04-03crypto: New SRP APIIngela Anderton Andin
Adjust API to better fit in with similar funtions in crypto
2013-04-03CRYPTO: add algorithms/0 function that returns a list off compiled in crypto ↵Andreas Schultz
algorithms add algorithms/0 function that returns a list off compiled in crypto algorithms and make tests suites with SHA226, SHA256, SHA384 and SHA512 conditional based on that
2013-04-03ssl: Add option to list all available ciper suites and enhanced documentationIngela Anderton Andin
2013-04-03Update primary bootstrapFredrik Gustafsson
2013-04-03Merge branch 'nox/fix-bc-optim/OTP-11005' into maintFredrik Gustafsson
* nox/fix-bc-optim/OTP-11005: Add a new option +clint0 to the compiler Fix optimization of some binary comprehensions
2013-04-03Merge branch 'nox/fix-snmp-gitignore/OTP-11004' into maintFredrik Gustafsson
* nox/fix-snmp-gitignore/OTP-11004: Fix SNMP gitignore files
2013-04-03Merge branch 'ta/ct_run-unused-fun/OTP-11003' into maintFredrik Gustafsson
* ta/ct_run-unused-fun/OTP-11003: ct_run: delete unused function
2013-04-03Merge branch 'bh/fix-erlsrv-usage-typo/OTP-11002' into maintFredrik Gustafsson
* bh/fix-erlsrv-usage-typo/OTP-11002: Correct typo in erlsrv usage.
2013-04-03Removed ?line macroFredrik Gustafsson
2013-04-02add sys:get_state/1,2 and sys:replace_state/2,3Steve Vinoski
At Erlang Factory 2013 there was discussion during one of the talks about the sys:get_status functions and how useful they were for debugging. Geoff Cant mentioned it would be very useful if the sys module also provided functions to use while debugging to get just the state of a process and also to be able to replace the state of a process, and many others in the audience appeared to agree. The sys:get_state/1,2 functions return the state of a gen_server, gen_fsm, or gen_event process. The return value varies depending on the process type: process state for a gen_server, state name and state data for a gen_fsm, and handler module, handler id, and handler state for each handler registered in a gen_event process. The sys:replace_state/2,3 functions allow the state of a gen_server, gen_fsm, or gen_event process to be replaced with a new state. These functions take a function argument that updates or replaces the process state; using a function to change the state eliminates the race condition of first reading the state via sys:get_state/1 or sys:get_state/2, using its return value to create a new state, and then replacing the old state with the new state, since during that time the process might have received other calls or messages that could have changed its state. * For a gen_server process, the state replacement function takes the process state as an argument and returns a new state. * For a gen_fsm process, the state replacement function gets a tuple of {StateName, StateData} and returns a similar tuple that specifies a new state name, new state data, or both. * For a gen_event process, the state replacement function is called for each registered event handler. It gets a tuple {Module, Id, HandlerState} and returns a similar tuple that specifies the same Module and Id values but may specify a different value for HandlerState. If the state replacement function crashes or results in an error, the original state of a gen_server or gen_fsm process is maintained; if such a crash occurs for a gen_event process, the original state of the event handler for which the state replacement function was called is maintained, but the states of other event handlers of the same gen_event process may still be updated if no errors or crashes occur while replacing their states. Add documentation for sys:get_state/1,2 and sys:replace_state/2,3. The documentation explicitly notes that the functions are intended for use during debugging. Add new tests for these functions to gen_server_SUITE, gen_fsm_SUITE, and gen_event_SUITE.
2013-04-02Merge branch 'mh/emacs-package/OTP-10999' into maintFredrik Gustafsson
* mh/emacs-package/OTP-10999: erlang-mode: Add autoload cookies for file extension associations
2013-04-02Merge branch 'sverk/meta-trace-leak' into maintSverker Eriksson
* sverk/meta-trace-leak: erts: Fix memleak related to meta tracing OTP-10997
2013-04-02Merge branch 'mh/dialyzer-scan-error/OTP-10996' into maintFredrik Gustafsson
* mh/dialyzer-scan-error/OTP-10996: Improve Dialyzer output for scan errors
2013-03-31ct_run: delete unused functionTuncer Ayaz
2013-03-31Fix SNMP gitignore filesAnthony Ramine
2013-03-30Merge branch 'hb/stdlib/erl_parse_abstract2/OTP-10992' into maintHans Bolinder
* hb/stdlib/erl_parse_abstract2/OTP-10992: Document erl_parse:abstract/2
2013-03-29update sys:get_status/2,3 documentation for gen_eventSteve Vinoski
Modify the documentation for the sys:get_status/2,3 functions to reflect that they also work on gen_event processes, and add a cross reference for gen_event:format_status/2 to go along with the existing cross references for gen_server and gen_fsm.
2013-03-29Document erl_parse:abstract/2Hans Bolinder
A bug has been fixed: when given the option {encoding,utf8} a list of floating point numbers (in the correct interval) was mistakenly returned as a string.
2013-03-29Merge branch 'hb/stdlib/unicode_bugfix/OTP-10990' into maintHans Bolinder
* hb/stdlib/unicode_bugfix/OTP-10990: Fix a bug in the Erlang scanner
2013-03-29Correct typo in erlsrv usage.Bryan Hunter
2013-03-28Merge branch 'sk/odbc64/OTP-10993' into maintFredrik Gustafsson
* sk/odbc64/OTP-10993: explain postgres pecularity for param query out parameters postgresql test case for 64bit bug for param_query rollback disabling scrollable_cursors for oracle drop procedure after testing set scrollable_cursors to off for oracle driver drop procedure after testing test case for stored procedure with (32bit) integer out params on 64bit platform odbcserver 64bit bug for SQL_C_SLONG type
2013-03-28Merge branch 'hm/reltool_relaxed_exclude' into maintSiri Hansen
OTP-10988 * hm/reltool_relaxed_exclude: [reltool] Add test case for missing application [reltool] Relax requirements on excluded applications
2013-03-28[common_test] Document '-force_stop skip_rest' option to ct_runSiri Hansen
2013-03-28[common_test] Add tests for repeated testrunsSiri Hansen
ct_repeate_testrun_SUITE is added, which tests the following options to ct_run: -repeat N -duration [-force_stop [skip_rest]] -until [-force_stop [skip_rest]]
2013-03-28[test_server] Don't hang due to invalid io requestSiri Hansen
A bug in test_server_gl caused io requests containing invalid data (i.e. not unicode:chardata()) to hang, since no io reply was sent. This has been corrected.
2013-03-28SSL: add documentation for PSK and SRP ciphers optionsAndreas Schultz