aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2017-05-10Cover the first clause of v3_core:bin_expand_string/4Björn Gustavsson
The uncovered clause was introduced in bee8f839296e.
2017-05-10compile_SUITE: Test the r16, r17, r18, r19 optionsBjörn Gustavsson
Also test other options that turns off certain optimizations or instruction sets.
2017-05-10erl_bifs: Remove pure BIFs serving no useful purposeBjörn Gustavsson
Functions that can are known be pure can be evaluated at compile-time if the arguments are literals and if the result is expressible as a literal. list_to_ref/1 and list_to_port/1 returns terms that cannot be expressed as literals, so the optimization is not possible. The argument for port_to_list/1 is never a literal, so there is no way to evaluate it at compile-time. Therefore, marking those functions as pure serves no useful purpose. Note: list_to_pid/1 *is* marked as pure, but only so that we can test the code in sys_core_fold that rejects pure functions that evaluate to at term that is not possible to express as a literal. It is sufficient to have one pure function of that kind.
2017-05-10erl_bifs: Remove erlang:hash/2 from list of pure functionsBjörn Gustavsson
erlang:hash/2 was removed in c5d9b970fb5b3a71.
2017-05-09[emacs] fixup Forgot prognDan Gudmundsson
2017-05-09Merge branch 'siri/ct_netconfc/multiple-channels/OTP-14284'Siri Hansen
* siri/ct_netconfc/multiple-channels/OTP-14284: [ct_netconfc] Update documentation [ct_netconfc] Start multiple sessions per SSH connection
2017-05-09[emacs] Fix paranthesis error advice-addSiri Hansen
2017-05-09Merge branch 'ingela/ssl/server-hostname-verify/OTP-14197'Ingela Anderton Andin
* ingela/ssl/server-hostname-verify/OTP-14197: ssl: Add hostname check of server certificate
2017-05-09Merge pull request #1439 from josevalim/jv-atu8-functionBjörn Gustavsson
Add a test for utf8 function names
2017-05-08[ct_netconfc] Update documentationSiri Hansen
* Remove edoc comments in ct_netconfc.erl * Rewrite ct_netconfc.xml to use specs for functions and types * Add documentation of new functions in ct_netconfc
2017-05-08Merge pull request #1445 from kanatohodets/file_server_childspec_typo_fixBjörn Gustavsson
Fix typo in child spec for file_server
2017-05-08Merge pull request #1428 from martincox/masterIngela Andin
Error when a non-DST time is passed to the httpd_util:rfc1123_date/1 function OTP-14394
2017-05-08Add a test for utf8 function namesJosé Valim
The test found a bug in v3_kernel_pp which was not taking into account utf8 atoms. The bug has also been fixed.
2017-05-08Merge pull request #1442 from bjorng/bjorn/compiler/fix-slimBjörn Gustavsson
Make 'slim' slim again
2017-05-08[ct_netconfc] Start multiple sessions per SSH connectionSiri Hansen
The following new functions are added to ct_netconfc: * connect/1,2 - open an SSH connection to a netconf server * disconnect/1 - close the given SSH connectoin * session/1,2,3 - open an SSH channel on the give connection and send 'hello' to start a netconf session. This allows running multiple channels on on SSH connection, realizing one netconf session per channel. The existing ct_netconfc:open will always run one channel(session) per SSH connection.
2017-05-06Fix typo in child spec for file_serverBen Tyler
'modeules' -> 'modules' Introduced in 3edc6dbf8f150bb6ba7c800ed5cc379771f8b279 (present in 20.0-rc1, but not in the 19 release series).
2017-05-06ssl: Add hostname check of server certificateIngela Anderton Andin
When the server_name_indication is sent automatize the clients check of that the hostname is present in the servers certificate. Currently server_name_indication shall be on the dns_id format. If server_name_indication is disabled it is up to the user to do its own check in the verify_fun.
2017-05-05Merge pull request #1438 from josevalim/patch-10Björn Gustavsson
Remove unused variable warning in compile_SUITE
2017-05-05Make 'slim' slim againBjörn Gustavsson
The undocumented compiler option 'slim' is used when compiling the primary bootstrap. The purpose is to make the bootstrap smaller and to avoid unnecessary churn in the git repository. That is, the BEAM file should be different only if the actual code in the file is different, and not if it has merely been re-compiled on a different computer. Two commits have fattened the 'slim' option. In 36f7087ae0f, extra chunks are included even in slim BEAM files. In dfb899c0229f7, the "Dbgi" were added as an extra chunk, causing it to be included in slim files. Make 'slim' slim again by only including the essential chunks and the attribute chunk (as was the case before the {extra,...} option was added).
2017-05-05Fixed typo.Alexander Pugachev
2017-05-04Update copyright yearRaimo Niskanen
2017-05-04Add missing release note for older debugger versionPeter Andersson
2017-05-04Fix missing release noteRaimo Niskanen
2017-05-04Merge branch 'rand/arbitrary_normal_distributions'Raimo Niskanen
* rand/arbitrary_normal_distributions: Disable heavy test case
2017-05-04Merge branch 'raimo/rand-dev/OTP-14295'Raimo Niskanen
* raimo/rand-dev/OTP-14295: Adjust timetrap
2017-05-04Remove unused variable warning in compile_SUITEJosé Valim
2017-05-03Merge branch 'dgud/mnesia/snmp-sup'Dan Gudmundsson
* dgud/mnesia/snmp-sup: mnesia: Remove not used mnesia_snmp_sup Do not call which_applications()
2017-05-03ssl: Move missing release note fix to correct placeIngela Anderton Andin
Commit 87584ae85893df917ca83cb0c40748fd4da0f3bc added missing release note but not in the correct place.
2017-05-02Added test in httpd_basic_SUTE to validate the correct handling of non-DST datesMartin Cox
in the httpd_util:rfc1123_date/1 function.
2017-05-02Merge branch 'ingela/ssl/missing-relnote'Ingela Anderton Andin
* ingela/ssl/missing-relnote: ssl: Add missing release note
2017-05-02ssl: Add missing release noteIngela Anderton Andin
2017-05-02Merge branch 'maint'Hans Bolinder
* maint: Updated OTP version Prepare release inets: Add missing release note dialyzer: Fix a bug regarding unknown types erl_mseg.c: don't use invalid indices in - > cache_powered_node[] Fix release note for OTP-14290 Conflicts: OTP_VERSION erts/emulator/sys/common/erl_mseg.c erts/vsn.mk lib/dialyzer/src/dialyzer_analysis_callgraph.erl
2017-05-02Merge remote-tracking branch 'origin/hasse/correct_unknown_types'Hans Bolinder
* origin/hasse/correct_unknown_types: hipe: Fix unknown type dialyzer: Fix unknown type
2017-05-02mnesia: Remove not used mnesia_snmp_supDan Gudmundsson
It is not used anymore, snmp indecies are now ets tables and not processes.
2017-05-02Merge branch 'maint-19' into maintHans Bolinder
* maint-19: Updated OTP version Prepare release inets: Add missing release note dialyzer: Fix a bug regarding unknown types erl_mseg.c: don't use invalid indices in - > cache_powered_node[] Fix release note for OTP-14290
2017-05-02Do not call which_applications()Dan Gudmundsson
Which may hang if an application start does wait for tables during initilization.
2017-05-02Merge branch 'ingela/ssl/prepare-release'Ingela Anderton Andin
* ingela/ssl/prepare-release: ssl: Prepare for release
2017-05-02Disable heavy test caseRaimo Niskanen
2017-05-02Adjust timetrapRaimo Niskanen
2017-05-02Merge branch 'dgud/wx/fixup-batch-break'Dan Gudmundsson
* dgud/wx/fixup-batch-break: Fixup batch break
2017-04-28ssl: Prepare for releaseIngela Anderton Andin
2017-04-28Prepare releaseErlang/OTP
2017-04-28Merge branch 'ingela/fix-inets-releasnote' into maint-19Erlang/OTP
* ingela/fix-inets-releasnote: inets: Add missing release note
2017-04-28Merge branch 'zandra/kernel/nodenames/OTP-13805'Zandra Norman
* zandra/kernel/nodenames/OTP-13805: kernel: Do not allow unicode in nodenames
2017-04-28kernel: Do not allow unicode in nodenamesZandra Norman
Verify that unicode isn't used in a node name and logi an info message if it is. Filter the head part of the name a bit harder to work with epmd.
2017-04-28Merge branch 'hans/ssh/cuddle_tests'Hans Nilsson
2017-04-28Merge branch 'hans/ssh/draft-ietf-curdle-ssh-ext-info/OTP-14193'Hans Nilsson
2017-04-28Merge branch 'ingela/gen_fsm-doc-fix'Ingela Anderton Andin
* ingela/gen_fsm-doc-fix: stdlib: Adhere to DTD
2017-04-28stdlib: Adhere to DTDIngela Anderton Andin
2017-04-28Merge branch 'peppe/common_test/user_css_problem/OTP-14332'Peter Andersson
* peppe/common_test/user_css_problem/OTP-14332: Add details about CSS usage in the User's Guide OTP-14332