diff options
author | João Valverde <j@v6e.pt> | 2023-11-07 00:15:08 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2023-11-08 11:45:54 +0000 |
commit | bc64efa5382960245fac31a3316a600b8af4fd0c (patch) | |
tree | 1b530755585a3cfc8b2b8381b75542a55c5f8e7d /doc/release-notes.adoc | |
parent | 4205d411634887519ffa1fdac5d55e46313f7795 (diff) |
dfilter: Replace macro UAT config file and update GUI
Remove the UAT macro usage. The UAT API is nifty for dissectors
but clunky for everything else.
This allows using a hash table to store macros, that is the natural
data structure for the use case (and faster).
It also allows using the existing filter GUI dialog, adapted for
display filter macros. The difference isn't huge but it's better
and less limited than the more generic UAT dialog, with room for
improvement. Changing the UAT dialog for filter specific
use cases is difficult.
The config file is renamed to "dmacros" and uses the same format
as "dfilter", that is more amenable and forgiving for hand-editing
than the UAT storage format.
There is some logic to convert the "dfilter_macros" UAT config
file to a "dmacros" filter config file, for backward-compatibility.
The conversion is only done if there is no existing "dmacros" file
in the profile folder.
Diffstat (limited to 'doc/release-notes.adoc')
-rw-r--r-- | doc/release-notes.adoc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/release-notes.adoc b/doc/release-notes.adoc index 7a1ad16f05..118b912e2a 100644 --- a/doc/release-notes.adoc +++ b/doc/release-notes.adoc @@ -69,6 +69,13 @@ The following features are new (or have been significantly updated) since versio * Display filter autocompletions now also include display filter functions. +* The display filter macro configuration file has changed format. It now uses + the same format as the "dfilters" file and has been renamed accordingly to + "dmacros". Internally it no longer uses the UAT API and the display filter macro + GUI dialog has been updated. There is some basic migration logic implemented + but it is advisable to check that the "dfilter_macros" (old) and + "dmacros" (new) files in the profile directory are consistent. + //=== Removed Features and Support // === Removed Dissectors |