From ac568ebbe879e74e8d3a1d052f0f2fc3117051f0 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Fri, 28 Jun 2019 17:55:14 +0200 Subject: doc: Add links between dist flags and external tags (DTD updated) DTD updated to allow seealso-marker inside taglist. --- erts/doc/src/erl_dist_protocol.xml | 32 ++++++++++++++++++++++++++------ erts/doc/src/erl_ext_dist.xml | 33 ++++++++++++++++++--------------- lib/erl_docgen/priv/dtd/common.dtd | 2 +- 3 files changed, 45 insertions(+), 22 deletions(-) diff --git a/erts/doc/src/erl_dist_protocol.xml b/erts/doc/src/erl_dist_protocol.xml index 5dfe34cfae..0c1100d394 100644 --- a/erts/doc/src/erl_dist_protocol.xml +++ b/erts/doc/src/erl_dist_protocol.xml @@ -811,7 +811,8 @@ DiB == gen_digest(ChA, ICA)? -define(DFLAG_NEW_FUN_TAGS,16#80). -

The node understand new fun tags.

+

The node understands the + NEW_FUN_EXT tag.

-define(DFLAG_EXTENDED_PIDS_PORTS,16#100). @@ -820,13 +821,18 @@ DiB == gen_digest(ChA, ICA)? -define(DFLAG_EXPORT_PTR_TAG,16#200). +

The node understands the + EXPORT_EXT tag.

-define(DFLAG_BIT_BINARIES,16#400). +

The node understands the + BIT_BINARY_EXT tag.

-define(DFLAG_NEW_FLOATS,16#800). -

The node understands new float format.

+

The node understands the + NEW_FLOAT_EXT tag.

-define(DFLAG_UNICODE_IO,16#1000). @@ -835,21 +841,34 @@ DiB == gen_digest(ChA, ICA)?

The node implements atom cache in distribution header.

+ -define(DFLAG_SMALL_ATOM_TAGS, 16#4000). -

The node understand the SMALL_ATOM_EXT tag.

+

The node understands the + SMALL_ATOM_EXT tag.

+ -define(DFLAG_UTF8_ATOMS, 16#10000). -

The node understand UTF-8 encoded atoms.

+

The node understands UTF-8 atoms encoded with + + ATOM_UTF8_EXT and + + SMALL ATOM_UTF8_EXT.

-define(DFLAG_MAP_TAG, 16#20000). -

The node understand the map tag.

+

The node understands the map tag + MAP_EXT.

+ -define(DFLAG_BIG_CREATION, 16#40000). -

The node understand big node creation.

+

The node understands big node creation tags + NEW_PID_EXT, + NEW_PORT_EXT and + NEWER_REFERENCE_EXT. +

-define(DFLAG_SEND_SENDER, 16#80000). @@ -873,6 +892,7 @@ DiB == gen_digest(ChA, ICA)? control messages instead of the non-PAYLOAD variants.

+ -define(DFLAG_FRAGMENTS, 16#800000).

Use fragmented diff --git a/erts/doc/src/erl_ext_dist.xml b/erts/doc/src/erl_ext_dist.xml index 5d6605b69a..1b736813af 100644 --- a/erts/doc/src/erl_ext_dist.xml +++ b/erts/doc/src/erl_ext_dist.xml @@ -264,7 +264,7 @@ consists of. Length is a 2 byte big-endian integer if flag LongAtoms has been set, otherwise a 1 byte integer. When distribution flag - + DFLAG_UTF8_ATOMS has been exchanged between both nodes in the @@ -316,8 +316,8 @@

Fragmented distribution messages are only used if the receiving node signals that it supports them via the - DFLAG_FRAGMENTS distribution - flag.

+ DFLAG_FRAGMENTS + distribution flag.

A process must complete the sending of a fragmented message before it can start sending any other message on the same distribution channel.

@@ -640,8 +640,9 @@

NEW_PORT_EXT was introduced in OTP 19, but only to be decoded and echoed back. Not encoded for local ports.

-

In OTP 23 distribution flag - DFLAG_BIG_CREATION became mandatory. All ports are now +

In OTP 23 distribution flag + DFLAG_BIG_CREATION + became mandatory. All ports are now encoded using NEW_PORT_EXT, even external ports received as PORT_EXT from older nodes.

@@ -724,10 +725,11 @@

NEW_PID_EXT was introduced in OTP 19, but only to be decoded and echoed back. Not encoded for local processes.

-

In OTP 23 distribution flag - DFLAG_BIG_CREATION became mandatory. All pids are now - encoded using NEW_PID_EXT, even external pids received as PID_EXT from older nodes. +

In OTP 23 distribution flag + DFLAG_BIG_CREATION + became mandatory. All pids are now encoded using NEW_PID_EXT, + even external pids received as + PID_EXT from older nodes.

@@ -1054,11 +1056,12 @@

NEWER_REFERENCE_EXT was introduced in OTP 19, but only to be decoded and echoed back. Not encoded for local references.

-

In OTP 23 distribution flag - DFLAG_BIG_CREATION became mandatory. All references are now - encoded using NEWER_REFERENCE_EXT, even external references - received as NEW_REFERENCE_EXT - from older nodes. +

In OTP 23 distribution flag + DFLAG_BIG_CREATION + became mandatory. All references are now encoded using + NEWER_REFERENCE_EXT, even external references received as + NEW_REFERENCE_EXT + from older nodes.

@@ -1415,7 +1418,7 @@

SMALL_ATOM_EXT was introduced in ERTS 5.7.2 and require an exchange of distribution flag - + DFLAG_SMALL_ATOM_TAGS in the distribution handshake. diff --git a/lib/erl_docgen/priv/dtd/common.dtd b/lib/erl_docgen/priv/dtd/common.dtd index 0ccd52068b..0feb09eac2 100644 --- a/lib/erl_docgen/priv/dtd/common.dtd +++ b/lib/erl_docgen/priv/dtd/common.dtd @@ -67,7 +67,7 @@ - + -- cgit v1.2.3