http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=46474
User: eapache
Date: 2012/12/08 06:46 PM
Log:
Copy from trunk with manual intervention, to fix
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8073
------------------------------------------------------------------------
r43603 | guy | 2012-07-07 21:00:46 -0400 (Sat, 07 Jul 2012) | 26 lines
UATs could be put into "categories". The categories were defined only
implicitly by the #define name and string they were defined to; not all
UATs neatly fit into any of the categories, so some of them were put
into categories that weren't obviously correct for them, and one - the
display filter macro UAT - wasn't put into any category at all (which
caused crashes when editing them, as the GUI code that handled UAT
changes from a dialog assumed the category field was non-null).
The category was, in practice, used only to decide, in the
aforementioned GUI code, whether the packet summary pane needed to be
updated or not. It also offered no option of "don't update the packet
summary pane *and* don't redissect anything", which is what would be
appropriate for the display filter macro UAT.
Replace the category with a set of fields indicating what the UAT
affects; we currently offer "dissection", which applies to most UATs
(any UAT in libwireshark presumably affects dissection at a minimum) and
"the set of named fields that exist". Changing any UAT that affects
dissection requires a redissection; changing any UAT that affects the
set of named fields that exist requires a redissection *and* rebuilding
the packet summary pane.
Perhaps we also need "filtering", so that if you change a display filter
macro, we re-filter, in case the display is currently filtered with a
display filter that uses a macro that changed.
Directory: /trunk-1.8/asn1/c1222/
Changes Path Action
+1 -1 packet-c1222-template.c Modified
Directory: /trunk-1.8/epan/dfilter/
Changes Path Action
+1 -1 dfilter-macro.c Modified
Directory: /trunk-1.8/epan/dissectors/
Changes Path Action
+1 -1 packet-ber.c Modified
+1 -1 packet-bootp.c Modified
+1 -1 packet-c1222.c Modified
+1 -1 packet-dmp.c Modified
+1 -1 packet-dtls.c Modified
+1 -1 packet-ess.c Modified
+3 -1 packet-http.c Modified
+1 -1 packet-ieee80211.c Modified
+1 -1 packet-ieee802154.c Modified
(24 files not shown)