aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissector_filters.h
AgeCommit message (Collapse)AuthorFilesLines
2016-03-28Qt: Make conversation menu items static.Gerald Combs1-2/+2
Add a ConversationAction and ColorizeAction classes which respectively handle conversation filtering and colorization. Move conversation menu initialization to initConversationMenus and call it once at startup. This keeps us from leaking quite a bit of memory each time we select a packet or proto tree item. Bug: 12044 Change-Id: I32e8cedaba08a419d5da6a7a9db31c910909f450 Reviewed-on: https://code.wireshark.org/review/14516 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
2015-10-29Move the definition of MAX_NUM_COLOR_CONVERSATION_COLORS.Guy Harris1-2/+0
It's only used by the GTK+ main menubar code, so put it there. I guess the Qt UI either doesn't have such a limit or defines it itself. Change-Id: I221be506ac40eee33514301db737ef7e22deb7a6 Reviewed-on: https://code.wireshark.org/review/11385 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-10-29Tweak some names to better reflect what the named items are.Guy Harris1-5/+5
The old "dissector filter" code used "_filter_" in some names; the new code used "_conv_", but they're not checking whether a *conversation* is valid and building a *conversation* string, they're checking whether a *filter* can be generated and building that *filter* string. Change-Id: Iea6b1cbeb0fedefdb1fff6c23d7dee9d6e684c15 Reviewed-on: https://code.wireshark.org/review/11383 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-10-29Better explain what these are all about.Guy Harris1-1/+2
Change-Id: I52cf53ec5d32da85ad62b2b75066dc6255f6095f Reviewed-on: https://code.wireshark.org/review/11381 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-10-29"Color dissector filters" are just filters.Guy Harris1-0/+65
Rename the color_dissector_filters.[ch] files to just dissector_filters.[ch], and rename the routines not to include the string "color_", as those filters can be used as color filters *or* display filters. Remove "color_" from other places where we're not doing colorization. In the GTK+ code, combine the two loops that add menu items for filters in the dissector-provided filters list into one. Change-Id: I08ecccc6b1b1be675e4129a0589f36c9f240407c Reviewed-on: https://code.wireshark.org/review/11379 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-10-27Replace all "dissector filter" registrations with "dissector color filter" ↵Michael Mann1-61/+0
registration. In the GTK, there was "colorize" (via context menu using color_dissector_filter.{c,h}) or "not colorize" (via main menu using dissector_filters.{c,h}). In Qt, you have the option to colorize (via context menu using color_dissector_filter.{c,h}) or not colorize (via main menu using color_dissector_filter.{c,h}). Combine all into "colorize" and convert GTK to use color_dissector_filter.{c,h} in the "not colorize" main menu like Qt. Change-Id: Ib3ca1c822f5f66ab5b812632d808f7905b328483 Reviewed-on: https://code.wireshark.org/review/11263 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-02-25Remove trailing whitespaceBill Meier1-1/+1
Change-Id: I8116f63ff88687c8db3fd6e8e23b22ab2f759af0 Reviewed-on: https://code.wireshark.org/review/385 Reviewed-by: Bill Meier <wmeier@newsguy.com> Tested-by: Bill Meier <wmeier@newsguy.com>
2013-03-01Export libwireshark symbols using WS_DLL_PUBLIC defineBalint Reczey1-2/+3
Also remove old WS_VAR_IMPORT define and related Makefile magic everywhere in the project. svn path=/trunk/; revision=47992
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2010-08-28Doxygen changes.Anders Broman1-3/+5
svn path=/trunk/; revision=33981
2007-08-16experimental feature: dissector filtersUlf Lamping1-0/+60
add the possibility, that a dissector writer can provide (usually non-trivial) display filters specific for the protocol in question (with an example in packet-dcerpc-pn-io.c), that will appear in the GUI svn path=/trunk/; revision=22530