aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-10-24erl_interface: Remove unused fileBjörn-Egil Dahlberg
2016-10-24erl_interface: Fix broken links in documentationBjörn-Egil Dahlberg
2016-10-24erl_interface: Fix xmllint problemsBjörn-Egil Dahlberg
2016-10-24erl_interface: Fix editorial changesBjörn-Egil Dahlberg
2016-10-24Don't let inline_list_funcs degrade optimizationsBjörn Gustavsson
83199af0263 refactored sys_core_fold to break out the code for the inline_lists_funcs option to its own module. Unfortunately, it also accidentally turned off compile-time evaluation of calls to BIFs with wholly or partial constant arguments. For example, the code for the following funtion gets much worse when inline_list_funcs is used: b() -> R0 = #r{}, R1 = setelement(1+2, R0, "deux"), R2 = setelement(1+3, R1, "trois"), R3 = setelement(1+5, R2, "cinq"), R4 = setelement(1+2, R3, "DEUX"), R4. ERL-285
2016-10-21Change two calls to file_close/1 to allow {error,einval}Kostis Sagonas
2016-10-21Merge branch 'fishcakez/dialyzer/fix_attribute_bug/ERL-283/OTP-13979' into maintHans Bolinder
* fishcakez/dialyzer/fix_attribute_bug/ERL-283/OTP-13979: dialyzer: Fix error handling of bad -dialyzer() attributes
2016-10-21dialyzer: Fix error handling of bad -dialyzer() attributesHans Bolinder
If a dialyzer module attribute references an undefined (local) function an error tuple is thrown but no caught. This leads to a 'nocatch' error and not the intended "clean" error.
2016-10-20Merge branch 'sverker/ei_connect_xinit/PR-1202/OTP-13981' into maintSverker Eriksson
* sverker/ei_connect_xinit/PR-1202: use only two low bits of creation
2016-10-20erl_interface: Editorial changesxsipewe
2016-10-20erl_interface: Refactor documentationBjörn-Egil Dahlberg
2016-10-19Eliminate unmatched return dialyzer warningsKostis Sagonas
The code contained a lot of unmatched return warnings, mostly in function calls that were executed only for their side-effects. Also, there were various places where possible errors were not checked and now they are. This may cause crashes, both in the ftp testsuite (which I have not run) and in situations were errors occur but are ignored.
2016-10-19Declare types and specsKostis Sagonas
2016-10-19Code cleanupsKostis Sagonas
2016-10-19Eliminate dialyzer warning about unreachable clauseKostis Sagonas
2016-10-19Merge branch 'gomoripeti/stdlib/ms_fix/PR-1203/OTP-13974' into maintHans Bolinder
* gomoripeti/stdlib/ms_fix/PR-1203/OTP-13974: dbg:fun2ms: allow empty list as head
2016-10-19Merge branch 'raimo/gen_statem-improvements/OTP-13929' into maintRaimo Niskanen
* raimo/gen_statem-improvements/OTP-13929: Fix race condition in cancel_timer/1 Use parameterized types Implement state timeouts Improve docs and types Change state entry events into state enter calls Improve docs Improve docs Implement state entry events Implement call/3 dirty_timeout
2016-10-19Merge branch ↵Raimo Niskanen
'raimo/erts/fix-configure-to-check-in-libsct-for-sctp-funcs/ERL-262/OTP-13956' into maint * raimo/erts/fix-configure-to-check-in-libsct-for-sctp-funcs/ERL-262/OTP-13956: Configure enable libsctp dependency Revert "Check libsctp for sctp funcs in configure.in"
2016-10-18Merge branch 'hans/inets/ftp_multiline_resp/PR-1196/OTP-13960' into maintHans Nilsson
2016-10-18Merge branch 'hans/inets/ftp_locks/OTP-13967' into maintHans Nilsson
2016-10-18Merge branch 'maint-19' into maintHans Nilsson
2016-10-18Merge branch 'lukas/erts/etp-disasm' into maintLukas Larsson
* lukas/erts/etp-disasm: erts: Add etp-disasm gdb macro
2016-10-18erts: Add etp-disasm gdb macroLukas Larsson
2016-10-17Updated OTP versionOTP-19.1.5Erlang/OTP
2016-10-17Prepare releaseErlang/OTP
2016-10-17Merge branch 'hans/ssh/rekey_problem/OTP-13972' into maint-19Erlang/OTP
* hans/ssh/rekey_problem/OTP-13972: ssh: fix renegotiation problem ssh: test case for renegotiation with openssh client
2016-10-17ssh: fix renegotiation problemHans Nilsson
2016-10-17ssh: test case for renegotiation with openssh clientHans Nilsson
2016-10-17Merge branch 'egil/erl_docgen/reformat-docgen-encoding/OTP-13971' into maintBjörn-Egil Dahlberg
* egil/erl_docgen/reformat-docgen-encoding/OTP-13971: Reformat docgen xml encoding
2016-10-17Avoid some error reports when stopping mnesiaDan Gudmundsson
Worker processes can cause error reports if the main mnesia processes dissapear.
2016-10-17Clarify permission bits in file.xmlMagnus Henoch
In commit 3d70cee4034e, this text was changed to suggest that a list of Unix-specific permission bits would follow, but no such list was added. Let's revert back to the previous wording, so people won't look for a list that isn't there.
2016-10-17wx: Improve error handlingDan Gudmundsson
Fix error handling in gl as in wx.
2016-10-17Configure enable libsctp dependencyRaimo Niskanen
2016-10-14Merge branch 'ingela/ssl/tune-timeouts-basic_SUITE' into maintIngela Anderton Andin
* ingela/ssl/tune-timeouts-basic_SUITE: ssl: Tune timeout for old solaris machine
2016-10-14ssl: Tune timeout for old solaris machineIngela Anderton Andin
2016-10-14ftp: New DBG alternative: ct:palHans Nilsson
2016-10-14ftp: added forgotten inet:setopts active onceHans Nilsson
2016-10-14ftp: socket wrapper changed suddenly and erroneouslyHans Nilsson
2016-10-14Merge branch 'maint-19' into maintHans Nilsson
2016-10-14Fix race condition in cancel_timer/1Raimo Niskanen
2016-10-13dbg:fun2ms: allow empty list as headPéter Gömöri
Running 'dbg:fun2ms(fun([]) -> return_trace() end' resulted in an error "dbg:fun2ms requires fun with single variable or list parameter" But the empty list is actually a list and it is a valid value as a match-spec head (matching on arity-0 functions). Although its practical use is questionable this commit eliminates a small limitation of ms_transform which is not present in the match-spec grammar.
2016-10-13Updated OTP versionOTP-19.1.4Erlang/OTP
2016-10-13Prepare releaseErlang/OTP
2016-10-13Merge branch 'hans/ssh/harmful_badmatch/OTP-13966' into maint-19Erlang/OTP
* hans/ssh/harmful_badmatch/OTP-13966: ssh: Removed matching of 'ok' after send which could cause error reports ssh: ssh_protocol_SUITE test for handling of illegal info_lines ssh: property test case for illegal infoline and close This tests an illegal client that sends an info line and closes 'immediatly'.
2016-10-13ssh: Removed matching of 'ok' after send which could cause error reportsHans Nilsson
2016-10-13ssh: ssh_protocol_SUITE test for handling of illegal info_linesHans Nilsson
2016-10-13ssh: property test case for illegal infoline and closeHans Nilsson
This tests an illegal client that sends an info line and closes 'immediatly'.
2016-10-13Revert "Check libsctp for sctp funcs in configure.in"Raimo Niskanen
This reverts commit 52fae83743a6e84d719f4f82fe45e6e0efdbd6f0: Check libsctp for sctp funcs in configure.in Call AC_CHECK_LIB before calling AC_CHECK_FUNCS to check for functions in libsctp. Otherwise AC_CHECK_FUNCS will not link with libsctp to see if function exists. Reverting to the old behaviour of not checking for libsctp before checking for sctp functions. Then it works on Linux by loading libsctp and looking up the symbols i runtime, and it works on FreeBSD since there is no separate libsctp to link against - the functions are part of the default system libraries.
2016-10-13handle send_to_non_existing_process trace event in fprofAndreas Schultz
fprof did not handle this trace event. Sending to a non existing process should not be much different from sending to an existing process, so duplicate that logic.
2016-10-13use only two low bits of creationAlexandre Snarskii