aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-06-04erts: Add system_info(ets_count)Sverker Eriksson
2018-06-04Merge branch 'hasse/dialyzer/improve_contract_warnings/OTP-14982'Hans Bolinder
* hasse/dialyzer/improve_contract_warnings/OTP-14982: erts: Improve contracts of zlib kernel: Improve contracts erts: Improve a contract stdlib: Improve a contract compiler: Improve a contract dialyzer: Refine the test for overspecified functions
2018-06-04Merge branch 'hans/public_key/match_fun_https/OTP-14962'Hans Nilsson
* hans/public_key/match_fun_https/OTP-14962: public_key: Testcase for cert with wildcard in SAN public_key: Doc public_key: Matchfun for HTTPS
2018-06-04Merge branch 'hans/crypto/EVP_DH_key/OTP-14864'Hans Nilsson
* hans/crypto/EVP_DH_key/OTP-14864: crypto: Valgrind suggestions
2018-06-04crypto: Valgrind suggestionsHans Nilsson
2018-06-04public_key: Testcase for cert with wildcard in SANHans Nilsson
2018-06-04public_key: DocHans Nilsson
2018-06-04public_key: Matchfun for HTTPSHans Nilsson
2018-06-04Merge branch 'hasse/syntax_tools/fix_map_type/OTP-15098/ERIERL-177'Hans Bolinder
* hasse/syntax_tools/fix_map_type/OTP-15098/ERIERL-177: syntax_tools: Fix a bug regarding reverting map types.
2018-06-04Fix *case bugs for binariesDan Gudmundsson
Bad optimizing code introduced in 5c51e87bee9d
2018-06-04Merge pull request #1806 from bitnitdit/erlang-xml-typosLukas Larsson
Fix typos in erlang.xml
2018-06-04sys_core_fold: Fix name capture problemBjörn Gustavsson
sys_core_fold could do unsafe transformations on the code from the old inliner (invoked using the compiler option `{inline,[{F/A}]}` to request inlining of specific functions). To explain the bug, let's first look at an example that sys_core_fold handles correctly. Consider this code: 'foo'/2 = fun (Arg1,Arg2) -> let <B> = Arg2 in let <A,B> = <B,Arg1> in {A,B} In this example, the lets can be completely eliminated, since the arguments for the lets are variables (as opposed to expressions). Since the variable B is rebound in the inner let, `sys_core_fold` must take special care when doing the substitutions. Here is the correct result: 'foo'/2 = fun (Arg1, Arg2) -> {Arg2,Arg1} Consider a slight modifictation of the example: 'bar'/2 = fun (Arg1,Arg2) -> let <B> = [Arg2] in let <A,B> = <B,[Arg1]> in {A,B} Here some of the arguments for the lets are expressions, so the lets must be kept. sys_core_fold does not handle this example correctly: 'bar'/2 = fun (Arg1,Arg2) -> let <B> = [Arg2] in let <B> = [Arg1] in {B,B} In the inner let, the variable A has been eliminated and replaced with the variable B in the body (the first B in the tuple). Since the B in the outer let is never used, the outer let will be eliminated, giving: 'bar'/2 = fun (Arg1,Arg2) -> let <B> = [Arg1] in {B,B} To handle this example correctly, sys_core_fold must rename the variable B in the inner let like this to avoid capturing B: 'bar'/2 = fun (Arg1,Arg2) -> let <B> = [Arg2] in let <NewName> = [Arg1] in {B,NewName} (Note: The `v3_kernel` pass alreday handles those examples correctly in case `sys_core_fold` has been disabled.)
2018-06-04sys_core_inline: Avoid spurious warningsBjörn Gustavsson
Add more `compiler_generated` attributes to avoid spurious compiler warnings triggered by the bug fix in the next commit.
2018-06-04Merge branch 'lukas/stdlib/fix-io_o_request_raise/OTP-15101'Lukas Larsson
* lukas/stdlib/fix-io_o_request_raise/OTP-15101: stdlib: Fix io:put_chars/2 error
2018-06-04Merge branch 'lukas/erts/fix-scheduler-data-sched-out-bug/OTP-13123'Lukas Larsson
* lukas/erts/fix-scheduler-data-sched-out-bug/OTP-13123: erts: Make sure scheduler_data is set
2018-06-04Merge branch 'lukas/otp/fix-mkdir-makefile-error'Lukas Larsson
2018-06-02Fix typo in inet docArtur Cygan
2018-06-01Merge branch 'hans/ssh/channel_polish/OTP-15083'Hans Nilsson
* hans/ssh/channel_polish/OTP-15083: ssh: Better crash report for bad channel callback module
2018-06-01Merge branch 'hans/ssh/channel_testsuite/OTP-15051'Hans Nilsson
* hans/ssh/channel_testsuite/OTP-15051: ssh: Channel testsuite
2018-06-01Merge branch 'hans/ssh/rm_depr'Hans Nilsson
* hans/ssh/rm_depr: ssh: Change get_stacktrace
2018-06-01Merge branch 'hasse/stdlib/iso3339_fix'Hans Bolinder
* hasse/stdlib/iso3339_fix: stdlib: Add links to RFC 3339 in calendar(3)
2018-05-30Update gen_event.xmlArtur Cygan
Missing space
2018-05-30syntax_tools: Fix a bug regarding reverting map types.Hans Bolinder
2018-05-30ssh: Channel testsuiteHans Nilsson
2018-05-30ssh: Better crash report for bad channel callback moduleHans Nilsson
2018-05-30stdlib: Fix io:put_chars/2 errorLukas Larsson
Before this fix an error in io:put_chars/2 would signal a fault in io:put_chars/3 because of the way that raise is used and there is no such function.
2018-05-30ssh: Change get_stacktraceHans Nilsson
2018-05-30stdlib: Add links to RFC 3339 in calendar(3)Hans Bolinder
2018-05-29do not call abort_signal_task() with invalid dataMikael Pettersson
2018-05-29Revert "Updated OTP version"Henrik
This reverts commit 5bbd2e175f50be3f3778a5d8e6ca9ec93c192d02.
2018-05-29Revert "Prepare release"Henrik
This reverts commit fd8e49b5bddceaae803670121b603b5eee8c5c08.
2018-05-29Updated OTP_VERSION for Release CandidateOTP-21.0-rc2Henrik
2018-05-29erts: Improve contracts of zlibHans Bolinder
2018-05-28kernel: Improve contractsHans Bolinder
2018-05-28erts: Improve a contractHans Bolinder
2018-05-28stdlib: Improve a contractHans Bolinder
2018-05-28compiler: Improve a contractHans Bolinder
2018-05-25erts: Make sure scheduler_data is setLukas Larsson
If scheduler_data is not set correctly on normal schedulers the code in erts_schedule_time_break and possibly others will trigger asserts.
2018-05-25Updated OTP versionErlang/OTP
2018-05-25Prepare releaseErlang/OTP
2018-05-25dialyzer: Refine the test for overspecified functionsHans Bolinder
The -Woverspecs (-Wspecdiffs) option generates warnings in a few more cases. The refinement is analogous to the test that -Wunderspecs already does: it checks if the contract has nothing in common with some element (see erl_types:t_elements/1) of the success typing.
2018-05-24Merge branch 'siri/logger-fix'Siri Hansen
* siri/logger-fix: Update documentation of logger and error_logger Change type name logger:log() to logger:log_event() Update preloaded Update primary bootstrap Rename module logger_simple to logger_simple_h Change env var logger_log_progress to logger_progress_reports Remove HandlerId from handler callback functions and add it to Config Change handler id for sasl handler from sasl_h to sasl Change Compare parameter to logger_filters:domain/2 Update Logger documentation Rename reset_module_level to unset_module_level Allow chars_limit to limit strings Add logger:update_formatter_config/2,3 Set legacy_header=true for kernel's default handler only Improve documentation of logger and error_logger Use system_time instead of monotonic_time as timestamp in logger
2018-05-24Merge pull request #1816 from cspiegel/netns-bind-device-typespecsRaimo Niskanen
OTP-14359: Add typespecs for netns and bind_to_device options
2018-05-24Merge remote-tracking branch 'origin/henrik/update-copyright-year'Henrik
2018-05-24Update copyright yearHenrik Nord
2018-05-24Merge pull request #1821 from IngelaAndin/ingela/ssl/DTLS-transparancyIngela Andin
ssl: Generalize DTLS packet multiplexing OTP-14888
2018-05-23Update logger.xmlKenneth Lundin
corrected spelling reffering -> referring
2018-05-23ssl: Generalize DTLS packet multiplexingIngela Anderton Andin
We want to prepare the code for more advanced DTLS usage and possibility to run over SCTP. First assumption was that the demultiplexer process "dtls listener" was needed for UDP only and SCTP could be made more TLS like. However the assumption seems not to hold. This commit prepares for customization possibilities.
2018-05-23Update documentation of logger and error_loggerSiri Hansen
2018-05-23Change type name logger:log() to logger:log_event()Siri Hansen