summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Clearify in ct_property_test documentationHansN/common_test/rephrase_ct_prop_test_docHans Nilsson2019-11-291-4/+3
|
* Merge branch 'bmk/erts/esock/20191127/extended_error_on_old_linux/OTP-16302' ↵Micael Karlberg2019-11-291-0/+6
|\ | | | | | | into maint
| * [esock] Add explicit include of linux typesMicael Karlberg2019-11-271-0/+6
| | | | | | | | | | | | | | | | | | On some old linux platforms the errqueue does not explicitly include the linux types include file. Therefor we (always) do this to avoid the problem of trying to figure out if we need to. OTP-16302
* | Merge branch 'lukas/erts/ets-smp-1-optimization/OTP-16315/OTP-16316' into maintLukas Larsson2019-11-295-109/+172
|\ \ | | | | | | | | | | | | | | | | | | * lukas/erts/ets-smp-1-optimization/OTP-16315/OTP-16316: erts: Optimize dec_term for atoms when used by ets compressed erts: Optimize meta table lock to not be taken when +S 1 ets: Remove table locking when using smp 1
| * | erts: Optimize dec_term for atoms when used by ets compressedLukas Larsson2019-11-151-16/+23
| | | | | | | | | | | | | | | | | | We don't need to do a size check of the atoms as we know that they will be valid atoms when extracted from ets as they were valid when we put them into ets.
| * | erts: Optimize meta table lock to not be taken when +S 1Lukas Larsson2019-11-152-8/+23
| | | | | | | | | | | | | | | | | | ets tables can only be accessed from normal schedulers, so when there is only one normal scheduler we don't have to take any locks.
| * | ets: Remove table locking when using smp 1Lukas Larsson2019-11-154-86/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we only have one normal scheduler we know that only one thread can access an ETS table at a time, so we don't need to optimize away that. This approach reads and checks the global variable erts_no_schedulers each time, it could be optimized to use the table flags field instead. Though I'm not sure how much that would help. With this change doing ets:lookup/2 och a small value is about twice as fast.
* | | Merge branch 'ingela/inets/warnings' into maintIngela Anderton Andin2019-11-291-7/+1
|\ \ \ | | | | | | | | | | | | | | | | * ingela/inets/warnings: inets: Remove legacy call to random module
| * | | inets: Remove legacy call to random moduleIngela Anderton Andin2019-11-271-7/+1
| | | |
* | | | Merge branch 'peterdmv/eunit/remove_warnings/OTP-16313' into maintPéter Dimitrov2019-11-281-2/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * peterdmv/eunit/remove_warnings/OTP-16313: eunit: Remove compiler warnings
| * | | | eunit: Remove compiler warningsPéter Dimitrov2019-11-261-2/+5
| | | | |
* | | | | Merge branch 'dgud/wx/fix-ifdef' into maintDan Gudmundsson2019-11-2813-2510/+2691
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * dgud/wx/fix-ifdef: Fix awk warning about missing file Fix deprecated warning Add wxMouseEvent:getWheelAxis function Fix enum that have changed values Fix bad compiler test
| * | | | | Fix awk warning about missing fileDan Gudmundsson2019-11-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For edoc all files does not exists when doc is not built yet. And we don't want to build the doc in the normal src build.
| * | | | | Fix deprecated warningDan Gudmundsson2019-11-271-22/+32
| | | | | | | | | | | | | | | | | | | | | | | | Modernize usage, i.e. copy from current gen_server.
| * | | | | Add wxMouseEvent:getWheelAxis functionDan Gudmundsson2019-11-219-2476/+2560
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows users see if the events was from the horizontal mouse wheel. Have not changed the wxMouse record, would be incompatible, but this allows the user to check for it in an event callback.
| * | | | | Fix enum that have changed valuesDan Gudmundsson2019-11-213-9/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some more enums have been added/changed definitions and can no longer be constants in wx.hrl
| * | | | | Fix bad compiler testDan Gudmundsson2019-11-202-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Turned the tests the wrong way and compilation failed with wxWidget-3.0 and wxMac.
* | | | | | Merge branch 'peterdmv/inets/httpc_chunked_encoding/ERL-1090/OTP-16300' into ↵Péter Dimitrov2019-11-282-6/+58
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | maint * peterdmv/inets/httpc_chunked_encoding/ERL-1090/OTP-16300: inets: Fix handling of HTTP HEAD requests in httpc
| * | | | | | inets: Fix handling of HTTP HEAD requests in httpcPéter Dimitrov2019-11-212-6/+58
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | httpc could not handle HEAD requests when the response contained the header 'Transfer-Encoding: chunked' and no message-body. According to RFC2616 a server MUST NOT return a message-body in the response. This commit fixes httpc while preserving its robust behavior to gracefully handle a faulty response with chunked-encoded empty message-body.
* | | | | | Merge branch 'hans/ftp/fix_warnings/OTP-16318' into maintHans Nilsson2019-11-281-2/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * hans/ftp/fix_warnings/OTP-16318: ftp: Make var anonymous to remove erlc warning
| * | | | | | ftp: Make var anonymous to remove erlc warningHans Nilsson2019-11-281-2/+2
| | | | | | |
* | | | | | | Merge branch 'hans/tftp/fix_warnings/OTP-16317' into maintHans Nilsson2019-11-282-11/+13
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | * hans/tftp/fix_warnings/OTP-16317: tftp: Fix -behaviour warnings tftp: Fix erlang:get_stacktrace warning
| * | | | | | tftp: Fix -behaviour warningsHans Nilsson2019-11-281-4/+7
| | | | | | |
| * | | | | | tftp: Fix erlang:get_stacktrace warningHans Nilsson2019-11-281-7/+6
|/ / / / / /
* | | | | | Merge branch 'rickard/nodedown-reason/OTP-16216' into maintRickard Green2019-11-2713-176/+357
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rickard/nodedown-reason/OTP-16216: net_kernel: save connection pending owners in map net_kernel: save connection owners in map Fix race causing nodedown reason to be lost
| * | | | | net_kernel: save connection pending owners in mapRickard Green2019-11-211-13/+11
| | | | | |
| * | | | | net_kernel: save connection owners in mapRickard Green2019-11-211-28/+32
| | | | | |
| * | | | | Fix race causing nodedown reason to be lostRickard Green2019-11-2113-137/+316
| | | | | |
* | | | | | Merge branch 'hans/crypto/cuddle_tests' into maintHans Nilsson2019-11-274-32/+180
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * hans/crypto/cuddle_tests: crypto: Add prop__crypto_init_update to property tests crypto: New common libfile for property tests in crypto
| * | | | | | crypto: Add prop__crypto_init_update to property testsHans Nilsson2019-11-212-3/+51
| | | | | | |
| * | | | | | crypto: New common libfile for property tests in cryptoHans Nilsson2019-11-213-30/+130
| | | | | | |
* | | | | | | Merge branch 'bmk/erts/esock/20191125/add_getifaddrs_in_net/OTP-16212' into ↵Micael Karlberg2019-11-2716-64/+1258
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | | | | | | | maint
| * | | | | | [kernel|net] Moved some functions out of the netns testsMicael Karlberg2019-11-261-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | OTP-16212
| * | | | | | [enet] Moved net test suite into its proper placeMicael Karlberg2019-11-253-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moved the net test suite into the kernel app, where it belongs (since thats where the net module exist). OTP-16212
| * | | | | | [enet|doc] Review updateMicael Karlberg2019-11-252-15/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated/changed according to review comments. OTP-16212
| * | | | | | [enet|doc] Add documentation for the new getifaddrs functionsMicael Karlberg2019-11-251-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | OTP-16212
| * | | | | | [esock] Add new sockaddr "type" for family packetMicael Karlberg2019-11-254-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added the sockaddr_ll used by family packet. And also documentation for same. OTP-16212
| * | | | | | [enet] Physical Address as a binaryMicael Karlberg2019-11-251-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | OTP-16212
| * | | | | | [enet] Make it possible to filter on socket address family packetMicael Karlberg2019-11-251-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | OTP-16212
| * | | | | | [enet] Make it possible to filter on flags in getifaddrsMicael Karlberg2019-11-251-11/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make it possible to *also* filter on flags in getifaddrs/1,2. OTP-16212
| * | | | | | [enet] Add first version of filter arg to getifaddrsMicael Karlberg2019-11-251-3/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added the function getifaddrs/1,2 that takes a filter argument, which makes it possible to filter out only those interfaces that "belong" to that specific (socket) address family. OTP-16212
| * | | | | | [enet] Add getifaddrs to the net moduleMicael Karlberg2019-11-251-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add getifaddrs to the net module. OTP-16212
| * | | | | | [enet] Add getifaddrsMicael Karlberg2019-11-257-11/+979
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It works, but some of the packet address fields are still not translated (just integers for now). OTP-16212
| * | | | | | [enet] Add check for include (new) file netpacket/packet.hMicael Karlberg2019-11-251-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | OTP-16212
| * | | | | | [enet] Renaming of some of the interlal functionsMicael Karlberg2019-11-251-46/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of the (internal) functions wher prefixed 'n' (net). This has been changed to 'enet_' instead (this is to avoid possible name clashes). And also to make the code slightly more readable. OTP-16212
* | | | | | | Merge branch ↵Micael Karlberg2019-11-275-25/+23
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 'bmk/kernel/enet/20191125/make_net_doc_always_included/OTP-16294' into maint
| * | | | | | | [kernel] Attempt to resolve make awk warningMicael Karlberg2019-11-255-25/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building kernal from its top directory, an awk warning is generated (cd lib/kernel && make) from make in the doc/src directory even though nothing is actually built there. The root cause is the target 'xmllint' and the variables that are evaluated (in the otp_release_target.mk), containing all xml files in kernel doc. Some of which are *generated* (at a later stage) and therefor does not yet exist... Trying to always include the net documentation to avoid the above generation. OTP-16294
* | | | | | | | Merge branch 'ingela/inets/warnings' into maintIngela Anderton Andin2019-11-271-15/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ingela/inets/warnings: inets: Remove legacy code
| * | | | | | | | inets: Remove legacy codeIngela Anderton Andin2019-11-261-15/+1
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | Use module rand instead of random
* | | | | | | | Merge branch 'ingela/ssl/typo' into maintIngela Anderton Andin2019-11-271-5/+5
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ingela/ssl/typo: ssl: Fix typo