aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2016-10-26Log terminate to sys debugRaimo Niskanen
2016-10-26Optimize event timeoutRaimo Niskanen
Do not start an event timer unless there are no enqueued events.
2016-10-26Rework timeout handlingRaimo Niskanen
Handling of timers and timeouts has been cleaned up and generalized. Semantic change regarding state timeout zero: Previously if one state caused a state timeout zero and managed to stay in the same state to insert additional timeout zero(s) in the next state callback invocation, then there would be only one timeout zero event. The mindset was that the machine was faster then the timeout zero. This has changed with the mindset that all state callback invocations should be independent, so now the machine will get one state timeout zero event per started state timeout zero. Note that just using zero timeouts is fairly esoteric...
2016-10-25Merge branch 'hans/inets/kostis_ftp_dialyzer_fixes/PR-1207/OTP-13982' into maintHans Nilsson
2016-10-25mnesia: Don't show error_logger messages in testsBjörn-Egil Dahlberg
2016-10-25New commands to ease looking up OTP documentationLeo Liu
- erldoc-browse: open the manual entry for an MFA in the browser - erldoc-apropos: list MFAs containing a substring - erldoc-browse-topic: open user guides in the browser
2016-10-24Merge branch 'dgud/wx/scale-factor' into maintDan Gudmundsson
* dgud/wx/scale-factor: wx: Improve error handling wx: Add wxWindow:getContentScaleFactor
2016-10-24Merge branch 'dgud/mnesia/fix-blocked/OTP-13970' into maintDan Gudmundsson
* dgud/mnesia/fix-blocked/OTP-13970: Avoid some error reports when stopping mnesia mnesia: Fix double blocked tables which could cause a crash
2016-10-24Merge branch 'dgud/tools/emacs/prefer-space/ERL-1200' into maintDan Gudmundsson
* dgud/tools/emacs/prefer-space/ERL-1200: Fix whitespace setting in test files Fix all whitespace-related issues in erlang.el
2016-10-24Fix whitespace setting in test filesDan Gudmundsson
Continuation of the previous commit on test files, which gave whitespace diffs for tabs vs spaces depending on personal settings. And we want to encourage space instead of tabs.
2016-10-24Merge branch 'egil/erl_interface/doc-update/OTP-13980' into maintBjörn-Egil Dahlberg
* egil/erl_interface/doc-update/OTP-13980: erl_interface: Remove CDATA tag except for example code erl_interface: Remove unused file erl_interface: Fix broken links in documentation erl_interface: Fix xmllint problems erl_interface: Fix editorial changes erl_interface: Editorial changes erl_interface: Refactor documentation
2016-10-24erl_interface: Remove CDATA tag except for example codeBjörn-Egil Dahlberg
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-24Fix doc and type for state enter callsRaimo Niskanen
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-21ssl: Change to more modest timeoutsIngela Anderton Andin
This should be fine as timeout problem was due to test case bug that treated a stream as if it was packet oriented.
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-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-17Prepare releaseErlang/OTP
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-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-13Prepare releaseErlang/OTP
2016-10-13ssh: Removed matching of 'ok' after send which could cause error reportsHans Nilsson