aboutsummaryrefslogtreecommitdiffstats
path: root/docbook
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2022-07-21 12:44:49 +0100
committerA Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2022-08-02 13:16:46 +0000
commit80f16015e2af296fb5ab8f676979bfed9731171f (patch)
treedfb8ee5ec394efce82985c6643917d082339e424 /docbook
parent269e4b7d10757df04a4d4122ebeb68edf7713922 (diff)
epan: Refactor floating point display types
Remove the redundant BASE_FLOAT field display type. The name BASE_FLOAT is meaningless and the value aliased to BASE_NONE. Require BASE_NONE instead of BASE_FLOAT (corresponding to the printf() %g format). Add new float display types using BASE_DEC, BASE_HEX and BASE_EXP corresponfing to %f, %a and %e respectively. Add support for BASE_CUSTOM with floats.
Diffstat (limited to 'docbook')
-rw-r--r--docbook/release-notes.adoc4
1 files changed, 4 insertions, 0 deletions
diff --git a/docbook/release-notes.adoc b/docbook/release-notes.adoc
index f219149412..52a340ec66 100644
--- a/docbook/release-notes.adoc
+++ b/docbook/release-notes.adoc
@@ -281,6 +281,10 @@ Too many protocols have been updated to list here.
* proto.h: The field display types "STR_ASCII" and "STR_UNICODE" have been removed.
Use "BASE_NONE" instead.
+* proto.h: The field display types for floats have been extended and refactored.
+ The type BASE_FLOAT has been removed. Use BASE_NONE instead. New display
+ types for floats are BASE_DEC, BASE_HEX, BASE_EXP and BASE_CUSTOM.
+
== Getting Wireshark
Wireshark source code and installation packages are available from