wireshark/ui
Peter Wu 5539dba1df Do not apply color rule filter every dissection
Introduce a frame_data flag "need_colorize" to indicate that coloring
rules need to be evaluated and set it for the GUI (not tshark). This
restores the original performance characteristics.

It additionally fixes a regression where the color filter name and
filter is not shown anymore in the tree (I guess it is related to the
edt->tree being NULL when re-selected, resulting in empty color_filter).

Remaining problems:

 - Display filter cannot contain frame.coloring_rule.* fields. Code is
   present to enable this, but then a method is needed to avoid an
   expensive second calculation (which is why it is disabled).
 - The columns are still not updated after coloring rule change.
 - The two frame.coloring_rule fields in the tree are not updated when
   the coloring rule is changed (e.g. Ctrl-1).

The last two issues were supposed to be fixed by the previous patch, but
there is probably some missing code... Tested with GTK and Qt.

Bug: 11980
Change-Id: I3ef7713b28db242e178d20f6a5f333374718b52e
Reviewed-on: https://code.wireshark.org/review/13170
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-01-13 07:38:25 +00:00
..
cli Fix type: strlen returns a size_t 2016-01-12 15:17:40 +00:00
gtk Do not apply color rule filter every dissection 2016-01-13 07:38:25 +00:00
qt Do not apply color rule filter every dissection 2016-01-13 07:38:25 +00:00
win32 No need for toolkit-dependent color initialization. 2016-01-01 04:15:29 +00:00
alert_box.c
alert_box.h
capture.c Allow "capture info data" to not be a singleton. 2015-12-19 14:22:56 +00:00
capture.h Allow "capture info data" to not be a singleton. 2015-12-19 14:22:56 +00:00
capture_globals.h Allow "capture info data" to not be a singleton. 2015-12-19 14:22:56 +00:00
capture_ui_utils.c Qt: Use uniform interface display name 2015-12-02 09:57:35 +00:00
capture_ui_utils.h Qt: Use uniform interface display name 2015-12-02 09:57:35 +00:00
CMakeLists.txt Cleanup follow stream code 2016-01-03 15:24:21 +00:00
console.c
console.h
decode_as_utils.c PPP: fix registration of CRTP (CNTCP) protocol 2016-01-04 19:17:50 +00:00
decode_as_utils.h
doxygen.cfg.in
export_object.c Clean up includes of unistd.h, fcntl.h, and sys/stat.h. 2015-11-07 21:52:23 +00:00
export_object.h
export_object_dicom.c
export_object_http.c
export_object_smb.c
export_object_tftp.c
file_dialog.h
filters.c Clean up includes of unistd.h, fcntl.h, and sys/stat.h. 2015-11-07 21:52:23 +00:00
filters.h
help_url.c
help_url.h
iface_lists.c Fix memory leaks in all_ifaces when interface list changes 2015-12-11 10:38:32 +00:00
iface_lists.h ui: Update interfaces when when changing profile. 2015-12-02 11:33:24 +00:00
io_graph_item.c
io_graph_item.h
language.c Misc minor issues caught by cppcheck 2015-11-17 04:18:37 +00:00
language.h
last_open_dir.h
main_statusbar.h
Makefile.am
Makefile.common Refactor "Follow Stream" functionality on all GUI interfaces. 2016-01-12 15:08:18 +00:00
Makefile.nmake
mcast_stream.c Fix crash in UDP Multicast Streams dialog 2015-11-27 21:15:11 +00:00
mcast_stream.h Fix crash in UDP Multicast Streams dialog 2015-11-27 21:15:11 +00:00
packet_list_utils.c Qt: Add missing multi-field column validation 2015-12-20 08:21:02 +00:00
packet_list_utils.h
persfilepath_opt.c
persfilepath_opt.h
preference_utils.c Fix warnings for epan/prefs.c [-Wcast-qual] 2016-01-08 15:28:45 +00:00
preference_utils.h
profile.c
profile.h
progress_dlg.h
proto_hier_stats.c
proto_hier_stats.h
recent.c Qt: Add missing multi-field column validation 2015-12-20 08:21:02 +00:00
recent.h Qt: use recent.gui_bytes_view preference to remember bits / byte view 2015-12-18 06:46:46 +00:00
recent_utils.h
rtp_media.c
rtp_media.h Split RTP player tapping, decoding, and plotting. 2015-10-21 17:52:15 +00:00
rtp_stream.c Clean up includes of unistd.h, fcntl.h, and sys/stat.h. 2015-11-07 21:52:23 +00:00
rtp_stream.h Disable RTP player debug logs that were presumably left activated by mistake 2015-11-01 17:19:42 +00:00
service_response_time.c
service_response_time.h
simple_dialog.h
software_update.c
software_update.h
ssl_key_export.c
ssl_key_export.h
tap-iax2-analysis.c
tap-iax2-analysis.h
tap-rlc-graph.c Always supply a g_mallocated error message from select_rlc_lte_session(). 2015-12-29 08:01:54 +00:00
tap-rlc-graph.h Always supply a g_mallocated error message from select_rlc_lte_session(). 2015-12-29 08:01:54 +00:00
tap-rtp-analysis.h
tap-rtp-common.c Make address_to_display() use proper (non-)constness 2015-11-29 00:25:11 +00:00
tap-rtp-common.h
tap-sctp-analysis.c Fix indentation. 2016-01-12 05:20:42 +00:00
tap-sctp-analysis.h Move some definitions and declarations around. 2016-01-12 07:22:30 +00:00
tap-sequence-analysis.c Make address_to_display() use proper (non-)constness 2015-11-29 00:25:11 +00:00
tap-sequence-analysis.h Only store frame number and not a pointer to frame_data structure in seq_analysis_item_t 2015-10-26 23:57:51 +00:00
tap-tcp-stream.c Use address functions instead of ADDRESS macros in ui. 2015-10-22 11:46:12 +00:00
tap-tcp-stream.h
tap_export_pdu.c Add wtap_dump_open_tempfile routines, to write to a temporary file. 2015-11-12 00:59:40 +00:00
tap_export_pdu.h
text_import.c text_import: Argument with 'nonnull' attribute passed null found by Clang Analyzer 2015-12-13 12:50:25 +00:00
text_import.h Clean up more includes of wtap.h. 2016-01-06 00:25:19 +00:00
text_import_scanner.h
text_import_scanner.l Use noyywrap rather than defining our own yywrap functions. 2015-12-05 08:06:50 +00:00
time_shift.c
time_shift.h
traffic_table_ui.c Make address_to_display() use proper (non-)constness 2015-11-29 00:25:11 +00:00
traffic_table_ui.h
ui_util.h No need for toolkit-dependent color initialization. 2016-01-01 04:15:29 +00:00
util.c
util.h
voip_calls.c Qt: various fixes to VoIP calls / RTP player windows 2015-12-09 16:54:33 +00:00
voip_calls.h Qt: various fixes to VoIP calls / RTP player windows 2015-12-09 16:54:33 +00:00