aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-05-29Merge branch 'dgud/wx/tune-break-loop'Dan Gudmundsson
* dgud/wx/tune-break-loop: wx: Tune when to break command loop in driver
2017-05-24Merge branch 'rickard/escript-space-path-fix/OTP-14433'Rickard Green
* rickard/escript-space-path-fix/OTP-14433: escript: Do not split path to Erlang system into multiple words
2017-05-24Merge pull request #1475 from rickard-green/rickard/escript-emulator-fixRickard Green
Fix erlang system lookup from escript bug introduced in PR #1293 OTP-14201
2017-05-24wx: Tune when to break command loop in driverDan Gudmundsson
Exit command loop less often too avoid expensive event checking while in batch mode.
2017-05-24Merge branch 'sverker/test-cuddle'Sverker Eriksson
2017-05-24Merge pull request #1477 from bjorng/bjorn/compiler/fix-native-from-core/ERL-417Björn Gustavsson
Correct handling of module name in compile:forms/1,2 OTP-14408
2017-05-24Merge branch 'lars/erl_docgen/fix-erl-func-sort/OTP-14431'Lars Thorsen
* lars/erl_docgen/fix-erl-func-sort/OTP-14431: [erl_docgen] Sort left side index only on erl function name
2017-05-24[erl_docgen] Sort left side index only on erl function nameLars Thorsen
2017-05-24Merge branch 'lars/orber/disable-ssl-verify-hostname-in-test/OTP-14432'Lars Thorsen
* lars/orber/disable-ssl-verify-hostname-in-test/OTP-14432: [orber] Remove old ssl test cases [orber] Disable SSL verify hostname check in the tests
2017-05-24Merge pull request #1468 from weisslj/fix-httpc-redirect-timeoutIngela Andin
Fix httpc timeout for redirects OTP-14429
2017-05-24Merge branch 'dgud/erts/revert-default-process-name'Dan Gudmundsson
* dgud/erts/revert-default-process-name: Revert setting default argv0 name
2017-05-23escript: Do not split path to Erlang system into multiple wordsRickard Green
escript failed to start Erlang systems with spaces in the absolute path (when absolute path was used).
2017-05-23Fix erlang system lookup from escript bug introduced in PR #1293Rickard Green
Erlang system found in PATH was used even when explicitly pointing out the escript binary in another Erlang system.
2017-05-23erts: Reduce runtime for nif_SUITE hash testsSverker Eriksson
and base allowed hash deviation on nr of standard deviations to make it easier to fiddle with the work load.
2017-05-23Merge branch 'lukas/kernel/ipv6_skip_tc_fixes'Lukas Larsson
* lukas/kernel/ipv6_skip_tc_fixes: kernel: Skip ipv6 tcs when cpiv6 is disabled
2017-05-23Merge pull request #1469 from josevalim/jv-unicode-normalize-errorDan Gudmundsson
Return error tuple on unicode normalization functions
2017-05-23Merge branch 'lukas/kernel/distribution_early_reject/OTP-14426'Lukas Larsson
* lukas/kernel/distribution_early_reject/OTP-14426: kernel: Add early reject of invalid node names
2017-05-23Merge pull request #1440 from jj1bdx/jj1bdx-inet-ipv6-doc-fixRaimo Niskanen
kernel: inet - fix invalid IPv4-mapped-address examples
2017-05-23kernel: Add early reject of invalid node namesLukas Larsson
2017-05-23Merge branch 'lukas/doc/extend-secure-distr-warn/OTP-14425'Lukas Larsson
* lukas/doc/extend-secure-distr-warn/OTP-14425: otp: Extend secure distribution docs warnings
2017-05-23otp: Extend secure distribution docs warningsLukas Larsson
Warnings have been added to the relevant documentation about not using un-secure distributed nodes in exposed environments.
2017-05-23Merge branch 'lukas/erts/signal_service_docs/OTP-14186'Lukas Larsson
* lukas/erts/signal_service_docs/OTP-14186: kernel: Add doc link from os man page to signal service
2017-05-23kernel: Add doc link from os man page to signal serviceLukas Larsson
2017-05-23Merge branch 'hans/ssh/cuddle_tests'Hans Nilsson
2017-05-23ssh: Use undocumented ssh_dbg:ct_auth() in ssh_algorithms_SUITEHans Nilsson
2017-05-23ssh: Undocumented ssh_dbg extendedHans Nilsson
with auth/0 auth/1 auth/2 ct_auth/0 ct_messages/0
2017-05-23ssh: ssh_dbg print some server-sig-algs infoHans Nilsson
2017-05-23ssh: disable faulty ssh_upgrade_SUITEHans Nilsson
2017-05-23ssh: fix ssh_property_testHans Nilsson
2017-05-23Revert setting default argv0 nameDan Gudmundsson
Changing argv[0] from emu name to progname if ESCRIPT_NAME was not set caused to many failing scripts, revert that part of the change. See 86f6a9856
2017-05-23Merge branch 'lukas/erts/etp-processes-ports-optimization'Lukas Larsson
* lukas/erts/etp-processes-ports-optimization: erts: Optimize etp-processes and etp-ports
2017-05-23Merge branch 'sverker/enif_select-testing'Sverker Eriksson
* sverker/enif_select-testing: erts: Fix nif_SUITE:monitor_frenzy for threadless erts: Improve message flush in nif_SUITE erts: Test monitor resource destructor from thread
2017-05-23erts: Fix nif_SUITE:monitor_frenzy for threadlessSverker Eriksson
2017-05-23erts: Improve message flush in nif_SUITESverker Eriksson
Pass number of expected messages in order to wait longer for messages (for slow machines) while not wasting test time waiting for nothing.
2017-05-23erts: Test monitor resource destructor from threadSverker Eriksson
which is scheduled on non-smp VM.
2017-05-23Correct handling of module name in compile:forms/1,2Björn Gustavsson
compile:forms/1,2 is documented to return: {ok,ModuleName,BinaryOrCode} However, if one of the options 'from_core', 'from_asm', or 'from_beam' is given, ModuleName will be returned as []. A worse problem is that is that if one those options are combined with the 'native' option, compilation will crash. Correct compile:forms/1,2 to pick up the module name from the forms provided (either Core Erlang, Beam assembly code, or a Beam file). Reported here: https://bugs.erlang.org/browse/ERL-417
2017-05-23Fix httpc timeout for redirectsJohannes Weißl
Probably since 6153ba7 (OTP R13B04) the httpc timeout setting does not work for redirects (when autoredirect is true). With this patch a new timer is started for the new (redirected) requests. This means that a simple redirected request could return after 2*timeout milliseconds. This is the first part to fix https://bugs.erlang.org/browse/ERL-420
2017-05-22kernel: Skip ipv6 tcs when cpiv6 is disabledLukas Larsson
For some reason doing a gen_udp:open(0, [inet6,{ipv6_v6only,true}]) works on some systems where ipv6 is disabled. So instead we explicitly require the localhost ip to do the test at which seems to work better. ipv6 was disabled in sysctl using the line net.ipv6.conf.all.disable_ipv6=1 when this behaviour was found.
2017-05-22Merge branch 'hasse/stdlib/linter_check_dialyzer/OTP-14323'Hans Bolinder
* hasse/stdlib/linter_check_dialyzer/OTP-14323: stdlib: Warn for bad type variables of parameterized types
2017-05-22Merge branch 'hasse/dialyzer/fix_type_variable_bug/OTP-14423'Hans Bolinder
* hasse/dialyzer/fix_type_variable_bug/OTP-14423: dialyzer: Warn for bad type variables of parameterized types mnesia: Correct a type declaration
2017-05-22dialyzer: Warn for bad type variables of parameterized typesHans Bolinder
As of commit 854ee8b (Erlang/OTP 18) warnings about using '_' as type variable in parameterized types have not been output. The code of erl_types:t_var_names() is corrected. The spec is also corrected (thanks to Kostis for pointing out the bug).
2017-05-22mnesia: Correct a type declarationHans Bolinder
2017-05-22Return error tuple on unicode normalization functionsJosé Valim
Prior to this patch, the normalization functions in the unicode module would raise a function clause error for non-utf8 binaries. This patch changes it so it returns {error, SoFar, Invalid} as characters_to_binary and characters_to_list does in the unicode module. Note string:next_codepoint/1 and string:next_grapheme had to be changed accordingly and also return an error tuple.
2017-05-22stdlib: Warn for bad type variables of parameterized typesHans Bolinder
The linter emits warnings about using '_' as type variable in parameterized types.
2017-05-22Merge branch 'raimo/gen_statem-dev'Raimo Niskanen
* raimo/gen_statem-dev: Fix documentation details
2017-05-22Fix documentation detailsRaimo Niskanen
2017-05-22Merge branch 'ingela/dtls/windows-econnreset'Ingela Anderton Andin
* ingela/dtls/windows-econnreset: ssl: Handle econnreset windows obscurities
2017-05-22ssl: Handle econnreset windows obscuritiesIngela Anderton Andin
An UDP socket does note have a connection and should not recive econnreset, however this happens on on some windows versions. Just ignoring it appears to make things work as expected!
2017-05-22Merge branch 'hans/ssh/trim_state'Hans Nilsson
2017-05-22Merge branch 'hans/ssh/rsa-sha2-star_hostkey'Hans Nilsson