wireshark/epan
Roland Knall acc581081e Plugin Interface: Add GUI callbacks
Rename ext_menubar to a more appropriate plugin_if.

 External menus can be implemented by plugins to present
 additional menus for deep-packet analysis. One side-effect
 of such menus being implemented as plugins is, that they
 are being executed in different threads and therefore can
 only use limited access to the main GUI. Also, there is
 no safe cross-gui (GTK and Qt) way for many features.

 This patch implements a first functionality, by which a
 plugin implemented using ext_menubar can apply a display
 filter to the main view.

 For now the implementation supports filtering, as well as
 saving a preference.

Change-Id: Iffe4caa954bbeb8ce356352de4dae348a50efba9
Reviewed-on: https://code.wireshark.org/review/8773
Reviewed-by: Roland Knall <rknall@gmail.com>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-06-25 16:23:08 +00:00
..
compress Add '*.nativecodeanalysis.xml' to 'clean' targets 2015-01-02 01:45:16 +00:00
crypt airpdcap: fix V512 warning reported by PVS-Studio 2015-06-07 13:07:33 +00:00
dfilter Make FT_{U}INT64 behave more like FT_{U}INT32, add support for FT_{U}INT{40,48,56} 2015-02-21 16:57:52 +00:00
dissectors fix the 'then' statement is equivalent to the 'else' statement found by PVS Studio (V523) 2015-06-25 15:40:54 +00:00
ftypes Remove another batch of deprecated tvb_length calls 2015-06-24 04:30:35 +00:00
nghttp2 Don't export libnghttp2 routines outside libwireshark. 2015-06-24 17:13:09 +00:00
wmem Add a test-programs target everywhere. 2015-03-13 22:41:40 +00:00
wslua Fix "Unescaped left brace in regex is deprecated" 2015-06-22 22:44:36 +00:00
CMakeLists.txt Plugin Interface: Add GUI callbacks 2015-06-25 16:23:08 +00:00
CMakeListsCustom.txt.example
Makefile.am 1.99.7 → 1.99.8 2015-06-18 20:04:03 +00:00
Makefile.common Plugin Interface: Add GUI callbacks 2015-06-25 16:23:08 +00:00
Makefile.nmake Add a test-programs target everywhere. 2015-03-13 22:41:40 +00:00
addr_and_mask.c
addr_and_mask.h
addr_resolv.c Fix memory leak printing eui64s 2015-06-21 18:40:01 +00:00
addr_resolv.h Add tvb_get_ether_name 2015-03-03 07:19:42 +00:00
address.h Address.h : fix api reference warning 2015-04-29 08:11:55 +00:00
address_types.c Address types: fix no previous prototype for ... [-Wmissing-prototypes] 2015-03-03 15:36:23 +00:00
address_types.h Add name resolution support to address type. 2015-02-19 13:09:41 +00:00
afn.c Add "Editor modelines"; Adjust whitespace as needed. 2015-01-02 00:49:09 +00:00
afn.h
aftypes.c
aftypes.h
app_mem_usage.c
app_mem_usage.h
arcnet_pids.h
arptypes.h
asm_utils.c
asm_utils.h
asm_utils_win32_x86.asm
asn1.c Stop using atof/strtod (fixes column sorting of float types) 2015-06-25 15:38:45 +00:00
asn1.h
ax25_pids.h
bridged_pids.h
charsets.c
charsets.h
chdlctypes.h
circuit.c Remove some apparently-unnecessary includes of emem.h. 2015-01-18 19:36:36 +00:00
circuit.h
color_dissector_filters.c
color_dissector_filters.h
column-info.h
column-utils.c Eliminate the hf member out of the address structure. 2015-02-09 03:48:53 +00:00
column-utils.h
column.c Clean up ftype-conversion and dfilter error message string handling. 2015-01-18 10:22:59 +00:00
column.h
conv_id.h
conversation.c Update some comments to reflect reality. 2015-01-18 21:02:40 +00:00
conversation.h
conversation_debug.h
conversation_table.c Further refactor SRT stats. 2015-06-21 03:35:13 +00:00
conversation_table.h Update some comments to reflect reality. 2015-01-18 21:02:40 +00:00
crc6-tvb.c
crc6-tvb.h
crc8-tvb.c
crc8-tvb.h
crc10-tvb.c
crc10-tvb.h
crc16-tvb.c Add "seed" capabilities to crc16_x25_ccitt (now crc16_x25_ccitt_seed) so we can remove CRC algorithm calculation in packet-assa_r3.c. 2015-03-03 05:12:10 +00:00
crc16-tvb.h Add "seed" capabilities to crc16_x25_ccitt (now crc16_x25_ccitt_seed) so we can remove CRC algorithm calculation in packet-assa_r3.c. 2015-03-03 05:12:10 +00:00
crc32-tvb.c
crc32-tvb.h
decode_as.c Qt: Fix DecodeAs 2015-03-14 14:26:17 +00:00
decode_as.h
diam_dict.h
diam_dict.l Allow empty-element Diameter Applications and use that format. 2015-05-08 04:23:10 +00:00
disabled_protos.c
disabled_protos.h
dissector_filters.c
dissector_filters.h
doxygen.cfg.in
dtd.h
dtd_grammar.lemon
dtd_parse.h
dtd_parse.l
dtd_preparse.l
dvb_chartbl.c Replace bytes_to_ep_str_punct with wmem equivalent. 2015-01-07 18:12:35 +00:00
dvb_chartbl.h
dwarf.c dwarf.c: fix V629 warning reported by PVS-Studio 2015-06-07 14:34:36 +00:00
dwarf.h
eap.h
eapol_keydes_types.h
enterprise-numbers [Automatic update for 2015-06-21] 2015-06-21 15:09:43 +00:00
epan-int.h
epan.c Reduce epan dependence on dissectors by having print module "cache" the protocol and field ids that it needs. 2015-03-20 05:30:52 +00:00
epan.h Bluetooth/GUI: ATT: Add Server Attribute Table 2015-02-07 16:35:39 +00:00
epan_dissect.h
etypes.h Improve VN-Tag dissector. 2015-05-20 14:57:51 +00:00
ex-opt.c
ex-opt.h
except.c Print unsigned long values with %lu, not %ld. 2015-06-06 01:40:08 +00:00
except.h
exceptions.h
exntest.c Revert "exntest: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang" 2015-02-24 19:34:50 +00:00
expert.c Expert Info dialog. 2015-05-08 04:29:59 +00:00
expert.h Expert Info dialog. 2015-05-08 04:29:59 +00:00
exported_pdu.c Add ability to export PDUs for heuristic dissectors also 2015-06-25 00:10:13 +00:00
exported_pdu.h Add ability to export PDUs for heuristic dissectors also 2015-06-25 00:10:13 +00:00
filter_expressions.c Clear the filter expression list in prefs.c. 2015-02-20 23:16:54 +00:00
filter_expressions.h Clear the filter expression list in prefs.c. 2015-02-20 23:16:54 +00:00
follow.c ui/follow: fix The 'find_addr[UDP_STREAM]' variable is assigned values twice successively. Perhaps this is a mistake. Found by PVS Studio (V519) 2015-06-06 17:11:45 +00:00
follow.h follow.h: fix api reference warning 2015-04-29 08:32:58 +00:00
frame_data.c Remove some apparently-unnecessary includes of emem.h. 2015-01-18 20:19:05 +00:00
frame_data.h Fix diagnostics macros and squelch a gcc warning. 2015-02-14 19:46:42 +00:00
frame_data_sequence.c
frame_data_sequence.h
funnel.c
funnel.h Clean up ftype-conversion and dfilter error message string handling. 2015-01-18 10:22:59 +00:00
g_int64_hash_routines.c Fix FSF address. 2015-02-16 21:35:49 +00:00
g_int64_hash_routines.h Fix declaration and export the routines. 2015-02-16 19:51:08 +00:00
garrayfix.h
gcp.c [GCP] Add a command string when there's no context tracking. 2015-05-13 12:35:14 +00:00
gcp.h
geoip_db.c We need epan/wmem/wmem.h regardless of whether we have GeoIP. 2015-01-18 10:49:02 +00:00
geoip_db.h Remove emem from GeoIP 2015-01-18 04:14:03 +00:00
golay.c
golay.h
guid-utils.c Remove some apparently-unnecessary includes of emem.h. 2015-01-18 20:19:05 +00:00
guid-utils.h guid_to_ep_str -> guid_to_str 2015-01-08 07:18:09 +00:00
iax2_codec_type.h
in_cksum.c Fix MSCV 2015RC Warning in_cksum.c(92): warning C4311: 'type cast': 2015-06-08 11:13:23 +00:00
in_cksum.h
ip_opts.h
ipproto.c
ipproto.h
ipv4.c
ipv4.h
ipv6-utils.h
lapd_sapi.h
llcsaps.h
next_tvb.c Remove deprecated tvb_length calls 2015-06-24 00:31:25 +00:00
next_tvb.h Replace se alloced memory in compare stat tap. 2015-01-16 00:37:02 +00:00
nlpid.h
oids.c (Trivial) Fix printf-related 'Mismatch on sign' warnings 2015-02-09 18:57:14 +00:00
oids.h Convert OID APIs to use wmem. 2015-01-19 02:52:11 +00:00
oids_test.c Convert OID APIs to use wmem. 2015-01-19 02:52:11 +00:00
osi-utils.c Pass tvb and offset into print_nsap_net() and print_area() to "hide" the tvb_get_ptr call that dissectors are using. 2015-02-27 07:37:40 +00:00
osi-utils.h Pass tvb and offset into print_nsap_net() and print_area() to "hide" the tvb_get_ptr call that dissectors are using. 2015-02-27 07:37:40 +00:00
oui.c
oui.h
packet-range.c
packet-range.h
packet.c Add ability to export PDUs for heuristic dissectors also 2015-06-25 00:10:13 +00:00
packet.h Add ability to export PDUs for heuristic dissectors also 2015-06-25 00:10:13 +00:00
packet_info.h Remove pkt_comment member from packet_info structure. 2015-01-02 00:00:57 +00:00
params.h
plugin_if.c Plugin Interface: Add GUI callbacks 2015-06-25 16:23:08 +00:00
plugin_if.h Plugin Interface: Add GUI callbacks 2015-06-25 16:23:08 +00:00
ppptypes.h
prefs-int.h Add a preferences editor frame. 2015-06-18 00:46:50 +00:00
prefs.c Initialize default stats before using them 2015-06-24 19:48:09 +00:00
prefs.h Have a #define for whether the capture buffer size can be set. 2015-03-25 03:22:33 +00:00
print.c print blank strings in -Tfields 2015-06-24 23:14:37 +00:00
print.h Reduce epan dependence on dissectors by having print module "cache" the protocol and field ids that it needs. 2015-03-20 05:30:52 +00:00
print.ps
print_stream.c Add "Editor modelines"; Adjust whitespace as needed. 2015-01-02 00:49:09 +00:00
print_stream.h
proto.c Fix proto_tree_add_bytes_item() when we fail to decode number from string 2015-06-25 01:46:13 +00:00
proto.h proto.h: fix clang++ 3.6 warning 2015-05-24 18:31:16 +00:00
ps.h
ptvcursor.h
radius_dict.l Consistently use the "g_string_free returns a C string pointer" idiom. 2015-01-13 23:14:13 +00:00
range.c Add the Display Filter Expression dialog. 2015-06-03 02:27:00 +00:00
range.h Add the Display Filter Expression dialog. 2015-06-03 02:27:00 +00:00
reassemble.c Remove deprecated tvb_length calls 2015-06-24 00:31:25 +00:00
reassemble.h [Reassembly] Fix a reassembly case where the two fragments are in the same 2015-03-18 05:32:06 +00:00
reassemble_test.c More emem removal. 2015-02-06 08:11:49 +00:00
reedsolomon.c
reedsolomon.h
req_resp_hdrs.c Fix some cases where we're shifting a signed 1 left. 2015-04-30 22:22:59 +00:00
req_resp_hdrs.h
rtd_table.c Add a strlen cast. 2015-06-22 15:53:35 +00:00
rtd_table.h rtd_table.h: fix parameter 'srt/srt_array' not found in the function declaration [-Wdocumentation] 2015-06-22 20:56:43 +00:00
rtp_pt.h Replace tabs by spaces when editor modelines has "expandtab" 2015-02-13 17:34:53 +00:00
sctpppids.h
show_exception.c
show_exception.h
slow_protocol_subtypes.h
sminmpec.c [Automatic update for 2015-06-21] 2015-06-21 15:09:43 +00:00
sminmpec.h Netflow/Ipfix: Add Citrix Netscaler AppFlow 2015-03-19 14:27:24 +00:00
srt_table.c srt_table: fix conversion shortens 64-bit value into a 32-bit value 2015-06-21 05:42:59 +00:00
srt_table.h srt_table.h: fix parameter 'opt_arg/filter' not found in the function declaration [-Wdocumentation] 2015-06-22 23:43:42 +00:00
stat_groups.h Add TapParameterDialog. 2015-06-08 19:51:34 +00:00
stat_tap_ui.c
stat_tap_ui.h Mark items unused or rarely-used as appropriate. 2015-06-11 17:22:17 +00:00
stats_tree.c Clean up stats_tree_presentation. 2015-06-05 21:39:08 +00:00
stats_tree.h Small parenthesis fix 2015-01-08 11:59:11 +00:00
stats_tree_priv.h Add TapParameterDialog. 2015-06-08 19:51:34 +00:00
stream.c [MSVC 2015] Try to fix warinings turned errors. 2015-06-04 15:10:15 +00:00
stream.h
strutil.c Remove some apparently-unnecessary includes of emem.h. 2015-01-18 20:19:05 +00:00
strutil.h
t35.c
t35.h
tap-voip.h
tap.c Have per-queued-packet flags, including "is a packet in error". 2015-05-16 18:38:26 +00:00
tap.h tap: Add ability to reject/ignore "error" packets in tap 2015-05-16 12:13:45 +00:00
tfs.c TFS: Mutualize Response/Request TFS 2015-06-15 19:55:58 +00:00
tfs.h TFS: Mutualize Response/Request TFS 2015-06-15 19:55:58 +00:00
time_fmt.h
timestamp.c
timestamp.h
timestats.c Some typos fixed. 2015-01-09 14:07:06 +00:00
timestats.h Some typos fixed. 2015-01-09 14:07:06 +00:00
to_str-int.h Make FT_{U}INT64 behave more like FT_{U}INT32, add support for FT_{U}INT{40,48,56} 2015-02-21 16:57:52 +00:00
to_str.c Fix memory leak printing eui64s 2015-06-21 18:40:01 +00:00
to_str.h to_str.h: fix api reference 2015-04-29 10:55:40 +00:00
tpg.c
tpg.h
tvbparse.c epan: fix build error with gcc5 2015-02-24 09:10:46 +00:00
tvbparse.h
tvbtest.c Remove deprecated tvb_length calls 2015-06-24 00:31:25 +00:00
tvbuff-int.h Remove tvb_ from the names of wsutil mempbrk routines. 2015-02-21 20:39:25 +00:00
tvbuff.c Remove tvb_ from the names of wsutil mempbrk routines. 2015-02-21 20:39:25 +00:00
tvbuff.h Remove the last deprecated tvb_length calls 2015-06-24 17:32:40 +00:00
tvbuff_base64.c
tvbuff_composite.c Remove deprecated tvb_length calls 2015-06-24 00:31:25 +00:00
tvbuff_real.c Remove some apparently-unnecessary includes of emem.h. 2015-01-18 20:19:05 +00:00
tvbuff_subset.c Remove deprecated tvb_length calls 2015-06-24 00:31:25 +00:00
tvbuff_zlib.c
uat-int.h Fix handling of invalid UAT items 2015-02-15 23:52:24 +00:00
uat.c Fix handling of invalid UAT items 2015-02-15 23:52:24 +00:00
uat.h Use an "Open" instead of a "Save" dialog for UAT prefs. 2015-05-28 21:16:39 +00:00
uat_load.l Fix x64 compilation warning 2015-04-27 14:40:16 +00:00
value_string.c emem is dead! Long live wmem! 2015-02-04 06:59:55 +00:00
value_string.h Convert val_to_str_ext -> val_to_str_ext_wmem for calls that don't have valid packet scope (GUI). 2015-02-03 13:03:32 +00:00
x264_prt_id.h
xdlc.c Remove some apparently-unnecessary includes of emem.h. 2015-01-18 20:19:05 +00:00
xdlc.h