aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-04-17[socket] Type maniaMicael Karlberg
Why can't we all just get along? Casting to shut the compiler up.
2019-04-17[socket] Debug fixesMicael Karlberg
When setting (otp) debug to true, some debug printouts could become "laaarge". Removed the data from those printout to avoid problems.
2019-04-17[socket|test] Test case tweakingMicael Karlberg
2019-04-17[socket] Building term with terms from different env (again)Micael Karlberg
When building the (recv) select message, used terms from different environments, which is not allowed. OTP-15496
2019-04-17[socket] Building term with terms from different envMicael Karlberg
When building the (accept) select message, used terms from different environments, which is not allowed. OTP-15496
2019-04-17[socket] Fixed acceptor environment leakMicael Karlberg
Did the free and assign new acceptor in the wrong order, thereby causing an (acceptor) environment leak. OTP-15496
2019-04-17[socket] Fixed various windows issuesMicael Karlberg
Building on windows broken again: * The 'inline' keywork needs som work on windows. * Function was outside of if-def. * Missing prototypes resulted in default prototypes. In this case, the actual problem was missing if-defs for win32 (that made functions exist on windows when they should not). Not sure why it compiled just fine on win32 but not win64 though.
2019-04-17[socket] Fixed beamsMicael Karlberg
Forgot about using 'otp_build update_preloaded --no-commit' when updating the preloaded and compiled with plain erlc... Caused problems for dyalizer... OTP-15658
2019-04-17[socket|test] Commented out setting debug during closeMicael Karlberg
2019-04-17[socket] Make use of the new select (read|write) functionsMicael Karlberg
Make use of the new select functions; enif_select_[read|write], for read and write select. These functions allows us to construct the select message ourseves: {'$socket', Socket, select, Ref} This is in preparations for when we introduce the 'nowait' (or something similar) value for the timeout argument (in accept, read and write funcions). It also solves (we hope) the term leakage problems (it was difficult to free the environment when there was only one/socket). OTP-15496
2019-04-17[socket|net] Make set|get options safe and type prefixMicael Karlberg
Firstly, make sure socket (and own) options manipulations are safe by adding a mutex that we take in the setopt and getopt functions. Secondly, change type prefix of various types from 'Socket' to 'ESock' (for instance; SocketDescriptor -> ESockDescriptor). OTP-15496
2019-04-17[socket] Restructure the close function(s)Micael Karlberg
To increase readability the close function has been slightly restructured.
2019-04-17[socket] Restructure the recvmsg result checkMicael Karlberg
To increase readability the recvmsg result check has been slightly restructured. In this case we made use of the error case function (fail) of the recv result check.
2019-04-17[socket] Restructure the recvfrom result checkMicael Karlberg
To increase readability the recvfrom result check has been slightly restructured. In this case we made use pf the error case function (fail) of the recv result check.
2019-04-17[socket] Restructure the recv result checkMicael Karlberg
To increase readability the recv result check has been slightly restructured.
2019-04-17[socket] Restructure the send result checkMicael Karlberg
To increase readability the send result check has been slightly restructured.
2019-04-17[socket] Messages from the nif code now has a proper socketMicael Karlberg
The messages sent from the nif code to an erlang process has been changed to: {'$socket', Socket :: socket(), Tag :: atom(), Info :: term()} This is in preparation for (using) the new enif select API. OTP-15496
2019-04-17[esock] Fixed socket close raceMicael Karlberg
Used ref from wrong environment when building reply.
2019-04-17Merge branch 'bmk/20190415/fix_timestamp_type'Micael Karlberg
2019-04-17Merge branch 'maint'Micael Karlberg
* maint: Updated OTP version Prepare release
2019-04-17Merge branch 'maint-20' into maintMicael Karlberg
* maint-20: Updated OTP version Prepare release # Conflicts: # OTP_VERSION # erts/doc/src/notes.xml # erts/vsn.mk # lib/common_test/doc/src/notes.xml # lib/common_test/vsn.mk # lib/erl_interface/doc/src/notes.xml # lib/erl_interface/vsn.mk # lib/snmp/doc/src/notes.xml # lib/snmp/vsn.mk # lib/ssh/doc/src/notes.xml # lib/ssh/vsn.mk # lib/tools/doc/src/notes.xml # lib/tools/vsn.mk # make/otp_version_tickets # otp_versions.table
2019-04-17Merge branch 'hasse/stdlib/erl_pp_newlines/OTP-15755'Hans Bolinder
* hasse/stdlib/erl_pp_newlines/OTP-15755: stdlib: Adjust test suites and docs due to erl_pp changes stdlib: Let the Pretty Printer output more on one line
2019-04-16Updated OTP versionOTP-20.3.8.21Erlang/OTP
2019-04-16Prepare releaseErlang/OTP
2019-04-16Merge branch 'rickard/make-fixes-20/OTP-15657' into maint-20Erlang/OTP
* rickard/make-fixes-20/OTP-15657: Remove own configured RM make variable
2019-04-16Merge branch 'rickard/make-fixes-20/OTP-15551' into maint-20Erlang/OTP
* rickard/make-fixes-20/OTP-15551: Fix install phase in build system
2019-04-16Merge branch 'sverker/doc-big-creation-tags/OTP-15766' into maint-20Erlang/OTP
* sverker/doc-big-creation-tags/OTP-15766: erts: Document NEW_PID, NEW_PORT, NEWER_REFERENCE erts: Add missing docs for DFLAG_MAP_TAG and DFLAG_BIG_CREATION
2019-04-16Merge branch 'hans/ssh/accept_callback_socket/OTP-15763' into maint-20Erlang/OTP
* hans/ssh/accept_callback_socket/OTP-15763: ssh: Present peername for accept_callback fun also for Sockets
2019-04-16Merge branch 'lukas/erl_interface/depend-fix/OTP-15757' into maint-20Erlang/OTP
* lukas/erl_interface/depend-fix/OTP-15757: erl_interface: Generate dependencies at compile time
2019-04-16Merge branch 'rickard/ts-find-ubuntu-inst/OTP-15716' into maint-20Erlang/OTP
* rickard/ts-find-ubuntu-inst/OTP-15716: Find installed OTP for Ubuntu
2019-04-16Merge branch ↵Erlang/OTP
'max-au/erts/maint-20/dirty_scheduler_shutdown/PR-2172/OTP-15690' into maint-20 * max-au/erts/maint-20/dirty_scheduler_shutdown/PR-2172/OTP-15690: erts: Use smp prefix on runq erts: release dirty runqueue lock before entering endless loop when BEAM is shutting down
2019-04-16Merge branch 'sverker/ets-no-mbuf-trapping/OTP-15660' into maint-20Erlang/OTP
* sverker/ets-no-mbuf-trapping/OTP-15660: erts: Remove ets traversal yielding if heap fragment
2019-04-16Merge branch 'bmk/snmp/20190328/get_mechanism/OTP-15691' into maint-20Erlang/OTP
* bmk/snmp/20190328/get_mechanism/OTP-15691: [snmp|manager|test] Add bind_to for agents [snmp|agent] Verbose (debug) improvements [snmp|agent] Add the net-if data (Extra) argument to get-callbacks [snmp|agent] Add the default get-mechanism module snmpa_get [snmp|agent] Add the get-mechanism behaviour [snmp|agent] Add/update/export useful types [snmp|agent] Build order [snmp|agent] Handle new get-mechanism config
2019-04-16Merge branch 'siri/ct/safe-write-log-cache/ERIERL-342/OTP-15758' into maint-20Erlang/OTP
* siri/ct/safe-write-log-cache/ERIERL-342/OTP-15758: [ct] Make sure log cache file is completely written before it is read
2019-04-16Merge branch 'siri/ct/fuzzer_support/ERIERL-143/OTP-14746' into maint-20Erlang/OTP
* siri/ct/fuzzer_support/ERIERL-143/OTP-14746: [ct] Fix bug with faulty suite name in end_per_suite config [ct] Add {testcase,TC,RepeatProps} syntax for repeating test cases [ct] Add post_groups/2 and post_all/3 hook functions # Conflicts: # lib/common_test/test/Makefile
2019-04-16Merge branch 'siri/ct/reset_curr_tc/ERIERL-334/OTP-15717' into maint-20Erlang/OTP
* siri/ct/reset_curr_tc/ERIERL-334/OTP-15717: [ct] Cleanup after timetrap timeout or kill during framework call or hook
2019-04-16Merge branch 'maint'Siri Hansen
2019-04-16[ct] Remove deprecated call to erlang:get_stacktrace()Siri Hansen
2019-04-16Merge branch 'maint'Siri Hansen
2019-04-16Merge branch 'siri/ct/fuzzer_support/ERIERL-143/OTP-14746' into maintSiri Hansen
* siri/ct/fuzzer_support/ERIERL-143/OTP-14746: [ct] Fix bug with faulty suite name in end_per_suite config [ct] Add {testcase,TC,RepeatProps} syntax for repeating test cases [ct] Add post_groups/2 and post_all/3 hook functions
2019-04-16Merge branch 'maint'Siri Hansen
2019-04-16Merge branch 'siri/ct/safe-write-log-cache/ERIERL-342/OTP-15758' into maintSiri Hansen
* siri/ct/safe-write-log-cache/ERIERL-342/OTP-15758: [ct] Make sure log cache file is completely written before it is read
2019-04-16Merge branch 'maint'Siri Hansen
2019-04-16Merge branch 'siri/ct/reset_curr_tc/ERIERL-334/OTP-15717' into maintSiri Hansen
* siri/ct/reset_curr_tc/ERIERL-334/OTP-15717: [ct] Cleanup after timetrap timeout or kill during framework call or hook
2019-04-16Merge pull request #2208 from elbrujohalcon/elbrujohalcon.cpu_sup.specsRickard Green
Fix specs and type definitions in cpu_sup OTP-15770
2019-04-16Merge branch 'maint'Lukas Larsson
2019-04-15Merge commit 'f16f18f' into maintLukas Larsson
2019-04-15[snmp|agent] Fix typesMicael Karlberg
There no timestamp type in os (but there is in erlang).
2019-04-15Merge branch 'hasse/fix_doc_links'Hans Bolinder
* hasse/fix_doc_links: edoc: Fix doc links syntax_tools: Fix doc link
2019-04-15Rephrase progress printoutBjörn Gustavsson
Use the progressive verb form for consistency with other progress printouts from Makefiles.