aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-03-20HiPE: Don't fail the compilation for unimplemented instructionsBjörn Gustavsson
2019-03-20Merge pull request #2162 from ↵Ingela Andin
danbaranov/public-key-less-strict-county-name-check public_key: Work around for certificates with 3 character country codes OTP-15687
2019-03-20stdlib: Optimize handling of Unicode in the string moduleHans Bolinder
Unroll some of the functions returning codepoints and grapheme clusters.
2019-03-20stdlib: Optimize handling of Unicode in the string moduleHans Bolinder
The unicode_util:cp() function handles deep lists faster by returning the rest of the input more balanced to the right than before.
2019-03-20stdlib: Fix a bug in string:lexemes()Hans Bolinder
2019-03-20Optimize moving of several Y registers to X registersBjörn Gustavsson
Introduce move_src_window[234] instructions for moving several consecutively numbered Y registers to discontiguously numbered X registers. This optimization is effective because the compiler has sorted the `move` instructions in Y register order.
2019-03-20Improve the ETS benchmark in the test suite ets_SUITEKjell Winblad
* Refactor the code to make it easier to configure the benchmark * Add a test case for long benchmark runs. The new test case is run by the OTP-team's benchmark infrastructure and can help in keeping track of how the performance of ETS is affected by code changes.
2019-03-20[socket|test] Improve test case preconditionMicael Karlberg
Added a fun for precondition check run before each test case is actually run. The primary reason for this is the api_to_connect test case, which does not work for a number of platforms. Also, moved the IPv6 check into this fun (instead of an explicit skip in the test case fun) for the IPv6 test cases.
2019-03-20Merge branch 'sverker/nif-test-cuddle'Sverker Eriksson
2019-03-20[xmerl] Normalize attribute correctly when references are usedLars Thorsen
2019-03-20ssl: Correct handling of crypto exception handling.Ingela Anderton Andin
Documentation was incorrect, and new specs provided dialyzer errors.
2019-03-20Merge branch 'john/kernel/fix-code-suite-on_load_trace_on_load'John Högberg
* john/kernel/fix-code-suite-on_load_trace_on_load: code_SUITE: Always disable tracing after 'upgrade' test code_SUITE: Fix on_load_trace_on_load test
2019-03-19Merge branch 'sverker/enif_whereis_pid-dirty-dtor'Sverker Eriksson
into sverker/master/enif_whereis_pid-dirty-dtor
2019-03-19Add possibility to also get size of data from erlang:dist_ctrl_get_data()Rickard Green
2019-03-19erts: Add test of enif_whereis* from resource destructorSverker Eriksson
2019-03-19erts: Simplify nif_SUITE:nif_whereis* testsSverker Eriksson
and change some argc checks from badarg to assert.
2019-03-19erts: Schedule resource destructors alwaysSverker Eriksson
to run user NIF code in a more known execution context. Fixes problems like user calling enif_whereis_pid() in destructor which may need to release process main lock in order to lock reg_tab.
2019-03-19allowed 3 letters country code to be validDenis Baranov
Some certificate issuers like Apple use USA instead of US as a country name. This makes handshake with a server not possible as this considered as not valid certificate. This commit eases that requirement to allow both 2 and 3 letters country names.
2019-03-19Optimize map updating instructionsBjörn Gustavsson
2019-03-19Optimize funs converted to literalsBjörn Gustavsson
2019-03-19Combine move and init to move_shiftBjörn Gustavsson
2019-03-19Remove the move_dup instructionBjörn Gustavsson
move_dup is used very infrequently.
2019-03-19Optimize some common uses of '+' and '-'Björn Gustavsson
2019-03-19Extend move_shift to accept a literal Src operandBjörn Gustavsson
2019-03-19Tune the move_jump instructionBjörn Gustavsson
With the new compiler, it has become less common with a move to x(0) before a jump. Change the move_jump instruction to take a destination as well as a source.
2019-03-19Eliminate i_length_setup with a literal list operandBjörn Gustavsson
2019-03-19Replace swap_temp with swap more aggressivelyBjörn Gustavsson
Also support swap of Y registers.
2019-03-19beam_makeops: Eliminate warningBjörn Gustavsson
2019-03-19Add another move_shift variationBjörn Gustavsson
It turns out that sequences such as the following are common: move x0 Y1 move Y2 x0
2019-03-19Combine move with trimBjörn Gustavsson
It is relatively common to move something from a Y register to an X register before trimming.
2019-03-19Refactor put_list instructions for readabilityBjörn Gustavsson
Apart from the refactoring, the instruction "put_list x c y" is replaced with "put_list x n y".
2019-03-19Combine is_tuple with is_tagged_tupleBjörn Gustavsson
2019-03-19beam_load.c: Introduce the GENOP_NAME_ARITY() macroBjörn Gustavsson
Introduce the GENOP_NAME_ARITY() macro to avoid setting the arity wrong for for an instruction.
2019-03-19beam_debug: Stop disassembling after call_nifBjörn Gustavsson
That will avoid showing garbage instructions that will never be executed.
2019-03-19beam_debug: Properly disassemble i_bs_match_string_yfWWBjörn Gustavsson
2019-03-19Merge pull request #2180 from IngelaAndin/ingela/public_key/ERL-842Ingela Andin
public_key: Add AES 256 encryption for old PEM encryption mechanism OTP-13726
2019-03-19Merge branch 'hans/ssh/uses_new_crypto_api/OTP-15673'Hans Nilsson
* hans/ssh/uses_new_crypto_api/OTP-15673: ssh: Use the exceptions as error return change ssh: Use new crypto API
2019-03-19ssh: Use the exceptions as error return changeHans Nilsson
2019-03-19ssh: Use new crypto APIHans Nilsson
2019-03-19Merge branch 'hans/crypto/new_api/OTP-15644'Hans Nilsson
* hans/crypto/new_api/OTP-15644: (26 commits) crypto: Add FIPS testing for a couple of algorithms crypto: Sort ciphers in alphabetic order in testsuite crypto: Better error report in crypto_SUITE crypto: Wrong ifdef symbol used for ENGINE crypto: Handle EVP_CIPHER_CTX copying correctly crypto: Fix bug in ng_api crypto: Better error descriptions crypto: Fix bug for older cryptolib crypto: Fix leak for eddsa detected by Valgrind crypto: Testcase for TLS using new API crypto: Rename SSL special functions crypto: New function for SSL app crypto: Remove compat specials from crypto_init crypto: Exceptions as error return in api_ng crypto: Relocate the new api code inside the crypto.erl file crypto: Cleaning of comments + spec fixing crypto: Remove unused variables in test case crypto: Test fixes for stream api emulated by the new api crypto: Shrink aes.c,h (remove aes_ctr_stream_* funcs) crypto: Remove chacha20.c,h and rc4.c,h ...
2019-03-19[xmerl] Replace character refs correctly in attributesLars Thorsen
2019-03-19Merge branch 'maint'Rickard Green
* maint: Updated OTP version Prepare release
2019-03-19Merge branch 'maint-21' into maintRickard Green
* maint-21: Updated OTP version Prepare release
2019-03-19Merge branch 'maint'Rickard Green
* maint: Add smoke test for erl_call Add new api functions to ei_fake_prog Fix timeout value when waiting for emulator start Fix initialization of erl_call
2019-03-19Merge branch 'rickard/erl_call/ERL-881/OTP-15676' into maintRickard Green
* rickard/erl_call/ERL-881/OTP-15676: Add smoke test for erl_call Add new api functions to ei_fake_prog Fix timeout value when waiting for emulator start Fix initialization of erl_call
2019-03-19Add missing cipher modes to crypto:cipher_info/1 resultLoïc Hoguin
2019-03-19Make crypto:cipher_info work for all ciphers and aliasesLoïc Hoguin
2019-03-19crypto: Add FIPS testing for a couple of algorithmsHans Nilsson
in crypto_SUITE.
2019-03-19crypto: Sort ciphers in alphabetic order in testsuiteHans Nilsson
2019-03-19crypto: Better error report in crypto_SUITEHans Nilsson