aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-05-27Merge branch 'maint'Ingela Anderton Andin
2019-05-27Merge branch 'ingela/public_key/ERL-915/OTP-15843' into maintIngela Anderton Andin
* ingela/public_key/ERL-915/OTP-15843: public_key: Update dialyzer specs to better conform to accepted input
2019-05-27Merge pull request #2248 from bjorng/bjorn/compiler/move-core-opts-to-ssaBjörn Gustavsson
Move type-based optimizations from Core Erlang passes to SSA passes
2019-05-27Merge branch 'maint'Björn Gustavsson
* maint: Fix unsafe negative type inference
2019-05-27Merge branch 'bjorn/compiler/fix-unsafe-type-inference/OTP-15838' into maintBjörn Gustavsson
* bjorn/compiler/fix-unsafe-type-inference/OTP-15838: Fix unsafe negative type inference
2019-05-24Merge pull request #2233 from hygonsoc/masterRickard Green
add Hygon Dhyana support to enable cmpxchg and sse2 support. OTP-15840
2019-05-24Merge branch 'maint'Björn Gustavsson
* maint: Fix sticky class in exception
2019-05-24Merge branch 'bjorn/erts/fix-wrong-class/ERIERL-367/OTP-15834' into maintBjörn Gustavsson
* bjorn/erts/fix-wrong-class/ERIERL-367/OTP-15834: Fix sticky class in exception
2019-05-24Merge branch 'maint'Péter Dimitrov
* maint: ssl: Improve standards compliance document ssl: Update standards compliance ssl: Add openssl interop test for TLS 1.3 client ssl: Improve interoperability with openssl ssl: Implement hello_retry_request (client) ssl: Generate only one key_share entry (client) ssl: Remove calls to tls_connection:next_record/1 ssl: Implement peer verification ssl: Validate selected cipher suite and key_share ssl: Add tests for TLS 1.3 client ssl: Implement basic TLS 1.3 client
2019-05-24Merge pull request #2234 from peterdmv/peterdmv/ssl/tls13-clientPéter Dimitrov
Add basic TLS 1.3 client
2019-05-24Fix unsafe negative type inferenceBjörn Gustavsson
The type optimizer pass (`beam_ssa_type`) could make unsafe negative inferences. That is, incorrectly infer that a variable could *not* have a particular type. This bug was found when adding another optimization. It is not clear how write a failing test case without that added optimization.
2019-05-24Merge branch 'maint'Micael Karlberg
2019-05-24Merge branch 'bmk/erts/esock/timestamps/OTP-15566' into maintMicael Karlberg
2019-05-24ssl: Improve standards compliance documentPéter Dimitrov
OTP-15431
2019-05-23ssl: Update standards compliancePéter Dimitrov
2019-05-23Merge branch 'maint'Micael Karlberg
2019-05-23Merge branch ↵Micael Karlberg
'bmk/erts/esock/20190517/nsupports_options_tcp_invalid_flags/OTP-15827' into maint
2019-05-23ssl: Add openssl interop test for TLS 1.3 clientPéter Dimitrov
2019-05-23ssl: Improve interoperability with opensslPéter Dimitrov
Handle the NewSessionTicket post-handshake message that is sent by openssl s_server after a successful handshake.
2019-05-23Simplify sys_core_fold by removing obsoleted optimizationsBjörn Gustavsson
Simplify sys_core_fold by removing optimizations by removing the optimizations that have been obsoleted by the preceding commits.
2019-05-23ETS testing: Improve visualization of ETS throughput benchmark resultsKjell Winblad
This commit makes it possible to see relative differences in the HTML page that visualizes results from the ETS throughput benchmark that is included in the test suite ets_SUITE. This change will make it easier to compare different ETS table configurations and implementations.
2019-05-23Optimize is_function/{1,2} callsBjörn Gustavsson
Remove is_function/1,2 tests if that are known to never fail.
2019-05-23Optimize expression comparing a boolean to 'false'Björn Gustavsson
2019-05-23Implement '==' optimization in beam_ssa_typeBjörn Gustavsson
`=:=` is faster than `==`, so when they would return the same result, we want to replace `==` with `=:=`. There is currently such an optimization in sys_core_fold, but the optimimization will be more effective if done in beam_ssa_type because beam_ssa_type has better type information.
2019-05-23Merge pull request #2212 from andrenth/file-open-directoriesJohn Högberg
file: allow open/2 to work on directories OTP-15835
2019-05-23Merge branch 'maint'Björn Gustavsson
* maint: Eliminate compiler crash when compiling complex receive statements
2019-05-23Merge branch 'bjorn/compiler/fix-receive-patch/ERL-950/OTP-15832' into maintBjörn Gustavsson
* bjorn/compiler/fix-receive-patch/ERL-950/OTP-15832: Eliminate compiler crash when compiling complex receive statements
2019-05-23Fix sticky class in exceptionBjörn Gustavsson
When catching an exception re-throwing with a changed class, the class could be changed to the original class if the exception got caught and rethrown in (for example) an after block: sticky_class() -> try try throw(reason) catch throw:Reason:Stack -> erlang:raise(error, Reason, Stack) end after ok end.
2019-05-22Merge branch 'maint'Micael Karlberg
2019-05-22Merge branch 'bmk/snmp/20190522/random_to_rand/OTP-15331' into maintMicael Karlberg
2019-05-22Merge branch 'maint'Micael Karlberg
2019-05-22Merge branch 'bmk/snmp/20190522/get_stacktrace/OTP-15332' into maintMicael Karlberg
2019-05-22Merge branch 'maint'Sverker Eriksson
2019-05-22Merge branch 'sverker/stdlib/binary-referenced_byte_size-doc' into maintSverker Eriksson
PR-2245 ERL-914 * sverker/stdlib/binary-referenced_byte_size-doc: stdlib: Improve example for binary:referenced_byte_size/1
2019-05-22[snmp] Replaced usage of random with randMicael Karlberg
Use of the deprecated module random has been replaced by the module rand. OTP-15331
2019-05-22[snmp] Remove use of the deprecated get_stacktrace functionMicael Karlberg
Removed the use of the deprecated erlang:stacktrace() function. Instead make use of the 'catch Class:Error:Stacktrace' feature. OTP-15332
2019-05-22Merge branch 'maint'Sverker Eriksson
2019-05-22Merge branch 'sverker/erts/system_monitor-doc/ERL-936' into maintSverker Eriksson
* sverker/erts/system_monitor-doc: erts: Add some erl_nif doc clarifications erts: Clarify erlang:system_monitor/2 semantics
2019-05-22erts: Add some erl_nif doc clarificationsSverker Eriksson
2019-05-22erts: Clarify erlang:system_monitor/2 semanticsSverker Eriksson
2019-05-22ssl: Implement hello_retry_request (client)Péter Dimitrov
2019-05-22[esock] Removed (use of) clock_gettimeMicael Karlberg
We no longer use clock_gettime to get time. Instead we use enif_monotonic_time(ERL_NIF_USEC) and enif_time_offset(ERL_NIF_USEC). OTP-15566, OTP-15686
2019-05-22[esock] Explicitly (configure) check for time functionsMicael Karlberg
Explicitly autoconf check for functions localtime_r and strftime, which are used in prettyfying timestamps. Also make use of the results from these checks (HAVE_...) If not found, timestamps will just be an integer (which is better then nothing). OTP-15566
2019-05-22Merge branch 'maint'Björn Gustavsson
* maint: Fix non-terminating compilation Fix compiler crash when funs were matched
2019-05-22Merge branch 'bjorn/compiler/fix-freeze/ERL-948/OTP-15828' into maintBjörn Gustavsson
* bjorn/compiler/fix-freeze/ERL-948/OTP-15828: Fix non-terminating compilation
2019-05-22Merge pull request #2236 from bjorng/bjorn/compiler/fix-fun-duplicationBjörn Gustavsson
Fix compiler crash when funs were matched OTP-15833
2019-05-22[esock] Replace usage of clock_gettime(CLOCK_REALTIME, ...)Micael Karlberg
The usage of the function clock_gettime(CLOCK_REALTIME, ...) has been replaced with enif_monotonic_time(ERL_NIF_USEC) and enif_time_offset(ERL_NIF_USEC). For now its if-def'ed so that we still *can* use clock_gettime, but for the momemnt its not used even if its available. OTP-15566, OTP-15686
2019-05-22public_key: Update dialyzer specs to better conform to accepted inputIngela Anderton Andin
2019-05-22Merge branch 'maint'Hans Nilsson
* maint: crypto: Re-enable aes_ctr for openssl cryptolib < 1.0.1 use correct module name for standard_error
2019-05-22Merge branch 'hans/crypto/enable_aes_ctr/OTP-15829' into maintHans Nilsson
* hans/crypto/enable_aes_ctr/OTP-15829: crypto: Re-enable aes_ctr for openssl cryptolib < 1.0.1