summaryrefslogtreecommitdiff
path: root/lib/kernel/include
Commit message (Collapse)AuthorAgeFilesLines
* Make new link protocol mandatoryRickard Green2022-06-131-1/+2
|
* Make version 4 external node container types mandatoryRickard Green2022-06-131-0/+7
|
* Update copyright yearErlang/OTP2022-04-111-1/+1
|
* erl_interface: Remove old distribution handshakeSverker Eriksson2022-04-041-4/+2
|
* Update copyright yearErlang/OTP2022-02-151-1/+1
|
* Fix typos in lib/kernelKian-Meng, Ang2021-12-231-1/+1
| | | | Co-authored-by: Björn Gustavsson <bgustavsson@gmail.com>
* Merge branch 'maint'Rickard Green2021-12-132-2/+2
|\ | | | | | | | | * maint: Update copyright year
| * Update copyright yearRickard Green2021-12-132-2/+2
| |
* | erts,kernel: Make DFLAG_HANDSHAKE_23 mandatorySverker Eriksson2021-11-181-1/+2
| | | | | | | | ToDo: Cleanup old handshake code.
* | Introduce a scheme for reusing mandatory distribution flagsBjörn Gustavsson2021-06-231-29/+77
|/ | | | | | | | | | | | | | | | | | | | During distribution connect setup between two nodes, the nodes exchange flags words encoding their capabilities. The connection setup is aborted if one of the node lacks a capability that the other node requires. In version 5 of the protocol (introduced in OTP R6), there are 32 possible capabilities (each encoded in a single bit). Since it seemed that we would soon run out of capabilitiy bits, protocol version 6 (introduced in OTP 23) expanded the number of possible capability bits to 64. To avoid having to extend the number of capabilites yet again from 64 to 128 in some future release, this commit introduces a scheme to allow reusing the bit numbers for capabilities that are now mandatory. The scheme is described in lib/kernel/include/dist.hrl. There are 10 mandatory capability bits as of OTP 25. This scheme will allow reusing 9 of those capability bits as early as in OTP 27.
* Support of 64-bit portsRickard Green2020-12-161-1/+1
|
* Merge DFLAG_BIG_PIDS and DFLAG_HUGE_REFS into DFLAG_V4_PIDS_REFSRickard Green2020-11-161-1/+1
|
* Merge branch 'rickard/alias/OTP-16718' into rickard/alias/master/OTP-16718Rickard Green2020-11-121-0/+2
|\ | | | | | | | | | | | | | | | | * rickard/alias/OTP-16718: User defined tag in monitor messages Use alias in gen behaviours Introduce aliases for processes Introduce internal references containing pid of creator Allow huge remote references
| * Introduce aliases for processesRickard Green2020-11-121-0/+1
| |
| * Allow huge remote referencesRickard Green2020-11-031-0/+1
| | | | | | | | | | We previously only allowed references with 3 number words. This has now been increased to 5.
* | logger.hrl: use fully qualifier call to erlang:applyMaxim Fedorov2020-10-171-1/+1
|/ | | | | | When a module has local apply/3 function, logging macros do not work correctly due to "ambiguous call of overridden pre R14 auto-imported BIF apply/3"
* kernel: Add dynamic node name featureSverker Eriksson2020-03-192-0/+2
|
* Implement EEP-48 aka doc chunksLukas Larsson2020-02-241-0/+14
|
* Improve distribution handshakeSverker Eriksson2020-01-142-3/+16
|
* Distributed spawn improvementsRickard Green2019-12-181-0/+1
|
* erts: Implement fragmentation of distrubution messagesLukas Larsson2019-02-221-0/+1
|
* erts: Move reason in dist messages to payloadLukas Larsson2019-02-211-0/+2
| | | | | | | | | | | | | | | | | | The dist messages EXIT, EXIT2 and MONITOR_DOWN have been updated with new versions that send the reason term as part of the payload of the message instead of as part of the control message. This allows the decode of the reason to be done by the receiving process instead of the dist entry which in turn makes it possible for multiple decodes to be done in parallel. This change is done in order to make it easier to fragment the potentially large payload of EXIT, EXIT2 and MONITOR_DOWN into multiple distribution messages. OTP-15611
* [logger] Add ?LOG macro which takes Level as argumentSiri Hansen2018-07-131-0/+4
|
* Update copyright yearHenrik Nord2018-06-182-2/+2
|
* Add loggerSiri Hansen2018-04-261-0/+49
|
* Lift the type restrictions on seq_trace token labelsJohn Högberg2018-03-231-0/+1
| | | | OTP-14899
* erts,kernel: Add dist_util:strict_order_flags/0Sverker Eriksson2018-03-021-5/+0
| | | | | to replace DFLAGS_STRICT_ORDER_DELIVERY and remove that compile time dependency.
* kernel: Remove DFLAGS_ALL from dist.hrlSverker Eriksson2018-03-021-21/+0
| | | | and remove use in dist_util:check_mandatory
* Introduce sender in distributed signals and dflag configurationRickard Green2017-08-282-0/+33
|
* Support for distribution controller processesRickard Green2017-08-281-3/+6
|
* Update copyright yearRaimo Niskanen2017-05-041-1/+1
|
* Fixed typos in lib/kernelAndrew Dryga2017-02-141-1/+1
|
* Allow for easier enabling of distribution debugLuis Rascao2016-09-191-1/+1
| | | | Also update already deprecated calls.
* kernel: Add net_kernel:setopts/2 and getopts/2Sverker Eriksson2016-08-151-2/+6
|
* Merge branch 'henrik/update-copyrightyear'Henrik Nord2016-04-135-5/+5
|\ | | | | | | | | * henrik/update-copyrightyear: update copyright-year
| * update copyright-yearHenrik Nord2016-03-155-5/+5
| |
* | erts: Add DFLAG_BIG_CREATIONSverker Eriksson2016-04-071-0/+1
|/ | | | | to let future nodes know that we can handle NEW_PID_EXT, NEW_PORT_EXT and NEWER_REFERENCE_EXT.
* Update Kernel and STDLIBHans Bolinder2015-10-081-14/+17
| | | | | Record field types have been modified due to commit 8ce35b2: "Take out automatic insertion of 'undefined' from typed record fields".
* Change license text to APLv2Bruce Yinhe2015-06-186-59/+65
|
* erts: Add distribution capability flag for maps DFLAG_MAP_TAGSverker Eriksson2014-03-141-1/+2
| | | | | This is just a preparation to allow detection of older nodes that do not understand maps (R16 and older).
* Update copyright yearsBjörn-Egil Dahlberg2013-01-251-1/+1
|
* Merge branch 'sverk/r16/utf8-atoms'Sverker Eriksson2013-01-231-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sverk/r16/utf8-atoms: erl_interface: Fix bug when transcoding atoms from and to UTF8 erl_interface: Changed erlang_char_encoding interface erts: Testcase doing unicode atom printout with ~w erl_interface: even more utf8 atom stuff erts: Fix bug in analyze_utf8 causing faulty latin1 detection Add UTF-8 node name support for epmd workaround... Fix merge conflict with hasse UTF-8 atom documentation test case erl_interface: utf8 atoms continued Add utf8 atom distribution test cases atom fixes for NIFs and atom_to_binary UTF-8 support for distribution Implement UTF-8 atom support for jinterface erl_interface: Enable decode of unicode atoms stdlib: Fix printing of unicode atoms erts: Change internal representation of atoms to utf8 erts: Refactor rename DFLAG(S)_INTERNAL_TAGS for conformity Conflicts: erts/emulator/beam/io.c OTP-10753
| * UTF-8 support for distributionRickard Green2013-01-161-0/+1
| |
* | [hipe, kernel, stdlib] Correct a few typesHans Bolinder2013-01-211-27/+32
|/ | | | | | | The type ascii_string() in the base64 module has been corrected. The type file:file_info() has been cleaned up. The type file:fd() has been made opaque in the documentation. The type nodes() has been removed from erl_bif_types.erl.
* Update copyright yearsBjörn-Egil Dahlberg2011-12-094-4/+4
|
* Teach #file_info spec unix epochs for file timesBjörn-Egil Dahlberg2011-12-081-4/+5
|
* Move distribution headers from kernel/src to kernel/includePatrik Nyblom2011-09-013-0/+153
|
* Types and specifications have been modified and addedHans Bolinder2011-05-091-11/+4
|
* Merge branch 'ks/types' into devErlang/OTP2010-03-091-27/+14
|\ | | | | | | | | | | | | | | * ks/types: file.hrl: Move out type declarations kernel: Add types and specs OTP-8494 ks/types
| * file.hrl: Move out type declarationsKostis Sagonas2010-03-071-22/+9
|/ | | | | | | | | Having various type declarations in the file.hrl file was once upon a time necessary since the system could not really handle remote types. Now it can and these declarations should not be there but appear in file.erl instead. This means that files that need to use these types can refer to them using a remote type reference, and not having to include file.hrl - at least not for this reason.