aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-07-17Fix testcases after removal of non-smp emulatorLukas Larsson
2017-07-17erts: Cleanup alloc.types after non-smp removalLukas Larsson
2017-07-17erts: Cleanup configure and makefiles after non-smp removalLukas Larsson
2017-07-17erts: Cleanup removal of non-smp emulatorsLukas Larsson
2017-07-17erts: Remove ERTS_SMP and USE_THREAD definesLukas Larsson
This refactor was done using the unifdef tool like this: for file in $(find erts/ -name *.[ch]); do unifdef -t -f defile -o $file $file; done where defile contained: #define ERTS_SMP 1 #define USE_THREADS 1 #define DDLL_SMP 1 #define ERTS_HAVE_SMP_EMU 1 #define SMP 1 #define ERL_BITS_REENTRANT 1 #define ERTS_USE_ASYNC_READY_Q 1 #define FDBLOCK 1 #undef ERTS_POLL_NEED_ASYNC_INTERRUPT_SUPPORT #define ERTS_POLL_ASYNC_INTERRUPT_SUPPORT 0 #define ERTS_POLL_USE_WAKEUP_PIPE 1 #define ERTS_POLL_USE_UPDATE_REQUESTS_QUEUE 1 #undef ERTS_HAVE_PLAIN_EMU #undef ERTS_SIGNAL_STATE
2017-07-17erts: Remove usage of sys.h from etc toolsLukas Larsson
2017-07-17Merge pull request #1514 from alexandre-tsu-manuel/patch-1Lukas Larsson
Fix a typo in comment in beam_emu : purpouses -> purposes
2017-07-17Merge pull request #1512 from indradhanush/bugfix/doc-genstatemdocRaimo Niskanen
Fix typo doc of init in gen_statem
2017-07-16Fix a typo in comment in beam_emu : purpouses -> purposesAlexandre Manuel
2017-07-13Merge branch 'maint'Sverker Eriksson
2017-07-13Merge branch 'sverker/big-bxor-bug/ERL-450/OTP-14514' into maintSverker Eriksson
* sverker/big-bxor-bug/ERL-450/OTP-14514: erts: Fix bug in bxor of a big negative number
2017-07-12erts: Fix bug in bxor of a big negative numberSverker Eriksson
Wrong result for (X bsl WS) bxor Y. where X is any negative integer Y is any integer that does not require more words than X WS is erlang:system_info(wordsize) or larger Fix: The subtraction of 1 (for 2-complement conversion) must be carried along all the way to the last words.
2017-07-12Merge branch 'maint'John Högberg
2017-07-11Fix typo doc of init in gen_statemIndradhanush Gupta
2017-07-11kvakvs/disksup-path-cut/ERL-343/PR-1502/OTP-14513Lukas Larsson
Fixes ERL-343 parsing 'df' output by os_mon:disksup on POSIX and SUSv3 systems
2017-07-11Fix building debug emulator on windowsJohn Högberg
CFLAGS weren't updated to include the sys/common directory for this build target.
2017-07-10Merge branch 'maint'Lukas Larsson
2017-07-10Merge pull request #1508 from essen/rand-seed-typoLukas Larsson
Fix typo in rand.xml: superseeded -> superseded
2017-07-10Fix typo in rand.xml: superseeded -> supersededLoïc Hoguin
2017-07-10Merge branch 'maint'Ingela Anderton Andin
2017-07-10Merge branch 'ingela/public_key/ssl/CRL-error-propagation/OTP-14236' into maintIngela Anderton Andin
* ingela/public_key/ssl/CRL-error-propagation/OTP-14236: ssl: Try to make asn1 decode errors of certificates as specific as possible ssl,public_key: Provide details for CRL check failiures when revokation state can not be determined ssl: Enhance error logging
2017-07-10Merge branch 'maint'Ingela Anderton Andin
2017-07-10Merge pull request #1504 from vances/issue-erl-443Ingela Andin
Log actual http status code of response. OTP-14510
2017-07-10Merge pull request #1505 from mikpe/erts-alignmentJohn Högberg
erts: ensure alignment of VM core types
2017-07-10josevalim/jv-op-stacktrace-entry/PR-1478/OTP-14508Lukas Larsson
Add stacktrace entries to BIF calls from emulator
2017-07-07ssl: Try to make asn1 decode errors of certificates as specific as possibleIngela Anderton Andin
2017-07-07ssl,public_key: Provide details for CRL check failiures when revokation ↵Ingela Anderton Andin
state can not be determined
2017-07-07ssl: Enhance error loggingIngela Anderton Andin
2017-07-07Merge branch 'maint'Hans Nilsson
2017-07-07Merge branch 'hans/crypto/EVP-sign-verify/OTP-13704' into maintHans Nilsson
2017-07-07crypto: test case for sign/verify ecdsa with sha256 etcHans Nilsson
2017-07-07crypto: test case for sign/verify dss with sha256 etcHans Nilsson
In OpenSSL version >= 1.0.1 the hash algos sha, sha224, sha256, sha384 and sha512 are supported. In 1.0.0 sha, sha224 and sha256 are supported In 0.9.8 sha is supported
2017-07-07public_key: Update for new crypto:sign and crypto:verify from PR838Hans Nilsson
2017-07-07public_key: doc for new sign/4 and verify/5Hans Nilsson
2017-07-07crypto: doc sign/5 and verify/6Hans Nilsson
2017-07-07crypto: tests for rsa sign/verify from PR838Hans Nilsson
2017-07-07crypto: Fix compatibility problems with openssl 1.0.0 cryptolibHans Nilsson
2017-07-07crypto: introduced preproc symbol HAS_EVP_PKEY_CTXHans Nilsson
2017-07-07crypto: pk verify with new function from PR838Hans Nilsson
Same comment as previous commit applies.
2017-07-07crypto: pk sign with new function from PR838Hans Nilsson
The function pkey_verify_nif handles pk signing with a general approach that is enabled by EVP api in OpenSSL 1.0.0 The rejected PR838 introduced that function and lots of other stuff so far neglected. It also made some different rsa padding methods possible (included). Since the crypto code base has changed significantly, it was an overhelming work to try a git merge. Therefore this commit is a manual move of the source code from the PR into current maint. This commit concentrates to use the new function compatible with the old functions. This includes some #if:s for different versions, compatibility code for 0.9.8. Lacking: test cases, exporting the more general erlang api, documentation...
2017-07-07crypto: Made {rsa,dss,ecdsa}_{sign,verify}_nif similar and all with evp apiHans Nilsson
2017-07-07Merge pull request #1503 from profil/maintHans Nilsson
Add support for binary input in ssh_io OTP-14506
2017-07-07Merge branch 'maint'Siri Hansen
2017-07-07Add stacktrace entries to BIF calls from emulatorJosé Valim
The goal of this change is to improve debugging of emulator calls. For example, the following code rem(1, y) will error with atom `badarith` when y is 0 and the stacktrace has no entry for `erlang:rem/2`, making such cases very hard to debug. This patch makes it so the stacktrace includes `erlang:rem(1, 0)`. The following emulator BIFs have been changed: * band/2 * bnot/1 * bor/2 * bsl/2 * bsr/2 * bxor/2 * div/2 * element/2 * int_div/2 * rem/2 * sminus/2 * splus/2 * stimes/2
2017-07-07Merge branch 'siri/unicode-in-release-handling/OTP-14463' into maintSiri Hansen
* siri/unicode-in-release-handling/OTP-14463: [sasl] Improve handling of unicode strings and atoms [reltool] Improve handling of unicode strings and atoms
2017-07-07[sasl] Improve handling of unicode strings and atomsSiri Hansen
2017-07-07[reltool] Improve handling of unicode strings and atomsSiri Hansen
2017-07-07Update primary bootstrapBjörn Gustavsson
2017-07-07Merge branch 'siri/appups-21'Siri Hansen
* siri/appups-21: Update sasl/test/test_lib.hrl with recent versions of kernel and stdlib Update appups in kernel, stdlib, and sasl for OTP-21.0
2017-07-07Merge pull request #1080 from josevalim/jv-sys-core-replaceBjörn Gustavsson
Introduce a new core pass called sys_core_alias OTP-14505