aboutsummaryrefslogtreecommitdiffstats
path: root/color_filters.h
AgeCommit message (Collapse)AuthorFilesLines
2015-02-07Qt: Add the Coloring Rules dialog.Gerald Combs1-9/+4
Merge in the old ColorDialog which was a placeholder for color_filter_add_cb. Change-Id: I48d188509f480b8514122b4011ac9d8790fcca10 Reviewed-on: https://code.wireshark.org/review/6996 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
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>
2013-12-03Avoid including <epan/epan.h> in dissectors.Jakub Zawadzki1-2/+4
svn path=/trunk/; revision=53774
2013-12-03Dissectors should not use dfilter.h, don't include it.Jakub Zawadzki1-1/+1
XXX ncp2222 dissector is using dfilter_compile(), why? svn path=/trunk/; revision=53766
2013-04-26Fix a whole bunch of doxygen warnings, mostly typos or renamed parameters.Evan Huus1-1/+0
svn path=/trunk/; revision=49053
2013-02-28color_edit_dlg update:Bill Meier1-13/+25
- Significantly simplify & rework code; - Use GtkColorChooser instead of GtkColorSelection if GTK 3.4 or newer. - Minor UI cleanup (default buttons & etc) - Fix crash which occurred in the (existing) GTK3 related code. - Fix some other relatively minor bugs (including some minor memory leaks); - Remove some old, commented-out code; - Use a more consistent naming scheme for certain variables. svn path=/trunk/; revision=47958
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2011-12-29Add 'extern "C"' wrappers and #include guards to various header files.Gerald Combs1-1/+7
svn path=/trunk/; revision=40321
2011-07-01Renamed "___tmp_color_filter___" to "___conversation_color_filter___"Stig Bjørlykke1-1/+1
in the coloring rule name to better describe where it comes from. svn path=/trunk/; revision=37859
2011-03-08Removal of the old packet-list in favor of the new packet list.Sake Blok1-4/+0
It compiles with "./configure without options" on my Mac. Let's see what the buildbots have to say about it :-) svn path=/trunk/; revision=36161
2010-08-26Doxygen fixes.Anders Broman1-0/+1
svn path=/trunk/; revision=33942
2009-09-21Store 'color_filter' as const in 'frame_data'Kovarththanan Rajaratnam1-1/+1
svn path=/trunk/; revision=30051
2009-09-06Add NEW_PACKET_LIST guard to color_filters_colorize_packet()Kovarththanan Rajaratnam1-16/+18
svn path=/trunk/; revision=29729
2008-01-14This patch adds support for configuration profiles, which can be used toStig Bjørlykke1-0/+3
configure and use more than one set of preferences and configuration files. This can be found in the "Configuration Profiles..." menu item from the Edit menu, or by pressing Shift-Ctrl-A. It's also possible to start wireshark and tshark with a named profile by using the "-C ProfileName" option. A new status pane in the main window will show the current profile. The configuration files currently stored in the Profiles are: - Preferences - Capture Filters - Display Filters - Coloring Rules - Disabled Protocols - User Accessible Tables The recent data are by design not added to the profile. Planned future enhancements: - make a more convenient function to switch between profiles - add a "clone profile" button to copy an existing profile - make the profiles list active and accept return as OK - save users "Decode as" in the profile - make new, clone and deletion of profiles more secure - make some of the recent values available in the profile This patch also fixes: - setting default status pane sizes - a bug setting status pane for packets when not having main lower pane. svn path=/trunk/; revision=24089
2007-12-15Changes the name of the menu item "View/Reset Coloring" toSake Blok1-0/+6
"View/Reset Coloring 1-10" and adds sensitivity to it so that it will be greyed out when none of the temporary color filters are used. (as per discussion on wireshark-dev some time ago) svn path=/trunk/; revision=23879
2007-12-14Warning fixes: function declaration isn’t a prototypeJörg Mayer1-1/+1
svn path=/trunk/; revision=23862
2007-11-25Reset the temporary coloring filters to defaults instead of doing itSake Blok1-1/+8
implicitly by calling "color_filters_init()". This should probably fix the crashes experienced when pressing ctrl-space a couple of times svn path=/trunk/; revision=23583
2007-11-25Fixes crashing when opening color filters and pressing OKSake Blok1-2/+3
(introduced in SVN 23560) svn path=/trunk/; revision=23582
2007-11-24This patch adds (ten) temporary coloring rules which will only live until ↵Sake Blok1-1/+8
Wireshark is quit. Temporary coloring filters can be set by: - pressing <ctrl>-<digit> will create a conversation coloring filter based on the addresses of the currently selected packet (order TCP/UDP/IP/Ethernet) This can also be achieved from the "View|Colorize Conversation" menu. - Rightclicking on a packet in the packet-list will give the option to "Colorize Conversation" just as "Conversation Filter" does. - Rightclicking on an item in the packet-detail-list will give the option to "Colorize with filter" which works similar to "Apply as filter" Temporary filters can be cleared from the same menus or by pressing <ctrl>-<space>. This patch also adds an item to the above mentioned menu's to add a permanent color filter in the same way. The colors for the temporary coloring rules are now hardcoded as I do not know how to change the color of menu-items and therefore I chose to use icons to show the actual color of each of the ten temporary coloring rules. Is it at all possible to have different menu items in different colors? One other way of solving this is to recreate the icons on the fly after changing the colors. I will have a look into that once it is clear whether I can use different colors within the menu structure. svn path=/trunk/; revision=23560
2007-11-10This patch makes it possible to disable individual coloring rules Sake Blok1-1/+2
without having to delete them. The patch has been tested on Fedora-7 with GTK+ 1.2.10 and GTK+ 2.10.11. Since I don't know how to use "strikethrough" in clists in GTK1 there is a little difference in how the disabled coloring rules are displayed. In GTK2 they are striked through and in GTK1 they are shown in lightgrey on a white background. Any info on how to use strikthrough in clists within GTK1 is more than welcome :-) svn path=/trunk/; revision=23421
2006-10-03fix the memory leak problem mentioned lately by adding and using ↵Ulf Lamping1-1/+2
color_filters_cleanup() svn path=/trunk/; revision=19422
2006-10-03Implement a real "Cancel" button for the coloring rules dialog - this was a ↵Ulf Lamping1-43/+83
hard one! It seems to be working without bugs and as designed now. As this was a huge internal change, new bugs are very probable - please report. The implementation isn't still perfect, a new dialog internal list could possibly be removed again. However, I want to check in at this condition, just in case I make things worse - again. svn path=/trunk/; revision=19413
2006-10-02further code cleanup: don't use the term "marked" for the color filters, the ↵Ulf Lamping1-3/+3
right term is "selected". That caused me "concerns" wether the marked feature of the packet list was involved - which is actually not svn path=/trunk/; revision=19399
2006-10-02various (huge) code cleanup incl. splitting of the coloring dialog and the ↵Ulf Lamping1-2/+5
actual color rule edit dialog into two files - this makes the things much more clearer now (at least for me) svn path=/trunk/; revision=19392
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2005-08-05More char -> const char warning fixes.Jörg Mayer1-1/+1
Removed (very few) casts that only change the warning message but don't remove it (with gcc-4). svn path=/trunk/; revision=15227
2005-03-27add a new checkitem "Colorize Packet List" into the View menuUlf Lamping1-0/+7
keep it's setting in the recent file svn path=/trunk/; revision=13929
2005-03-26move some color_filter related things from file.c to color_filters.cUlf Lamping1-0/+15
svn path=/trunk/; revision=13920
2005-03-26code cleanup: use common prefix for all functions in color_filters.hUlf Lamping1-25/+26
svn path=/trunk/; revision=13910
2005-03-25code cleanup: the term filter_list was used with different meanings ↵Ulf Lamping1-1/+1
throughout the code, and the filter_list of the color_filters is "global". use appropriate prefixes to avoid confusion and bugs svn path=/trunk/; revision=13905
2004-07-24"color_filters.h" doesn't need to include "epan/dfilter/dfilter.h";Guy Harris1-1/+0
anything that includes "color_filters.h" also includes "epan/dfilter/dfilter.h" either directly or indirectly. svn path=/trunk/; revision=11504
2004-07-24Move the color-filter related stuff out of "color.h" intoGuy Harris1-0/+26
"color_filters.h", as that's the appropriate place for it - "color.h" should just deal with "color_t". svn path=/trunk/; revision=11503
2004-07-24Move color_filters.c and color_filters.h up to the top-level directory,Guy Harris1-0/+79
as they're now (theoretically) toolkit-independent (modulo changes that might be required to the code to update filter lists when a new filter is read in). svn path=/trunk/; revision=11500