aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/main.h
AgeCommit message (Collapse)AuthorFilesLines
2012-01-15Move gtk to ui/gtk.Jörg Mayer1-366/+0
This looses the last checkin to gtk, will add this manually back. svn path=/trunk/; revision=40518
2012-01-09It appears that the intent of r35027 was to use reset_tap_update_timer() notJeff Morriss1-2/+0
just on Windows or when we have threads, so make it so. svn path=/trunk/; revision=40420
2011-11-07Change the use of threads from "mostly always, depending on yourGerald Combs1-2/+2
configure options and Gtk+ and GLib versions" to "always". svn path=/trunk/; revision=39751
2011-10-20Back out infrastructure change. We missed supportingMichael Tüxen1-3/+0
stdin and pipes. svn path=/trunk/; revision=39498
2011-10-20Use a global list containing all interfaces and only changeMichael Tüxen1-0/+3
properties of the entries when changes are made in the GUI. Do not misuse the list of interfaces specified on the command line anymore. This patch does not provide any new functionality, it just provides the base for future extensions like removing remote interface, mulitple airpcap devices and multiple pipes. This patch was provided by Irene Ruengeler. svn path=/trunk/; revision=39495
2011-03-08Removal of the old packet-list in favor of the new packet list.Sake Blok1-1/+1
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-29Doxygen changes.Anders Broman1-1/+1
svn path=/trunk/; revision=33993
2010-08-26Fix a number of doxygen directives.Anders Broman1-5/+5
svn path=/trunk/; revision=33929
2010-08-16From Cal Turney:Anders Broman1-1/+9
1. Restore the functionality of <Ctrl>A and <Ctrl>X to the filter textbox. 2. Assign intuitive shortcuts without consuming any new shortcut letters. 3. Add 'Un-Time Reference All Packets' to the menu. 4. Disallow the marking or ignoring of all packets in the capture. 5. Make the Mark/Ignore/Time Reference-related menu items context sensitive. 6. Add 'ref_time_count' to the capture_file structure 7. Utilize marked/ignored/ref_time_count vars to prevent needless looping thru the entire packet list by exiting the loop when it becomes zero. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5115 svn path=/trunk/; revision=33817
2010-07-07Remove the #ifdefs and code related to the switch to gtk_combo_box().Anders Broman1-1/+2
svn path=/trunk/; revision=33465
2010-04-27Added Manual IP address resolve functions.Stig Bjørlykke1-0/+3
This can later be extended with ethernet and probably other addresses. svn path=/trunk/; revision=32571
2009-11-19Add a custom column from the packet details popup menu.Stig Bjørlykke1-0/+7
This fixes bug 4246. svn path=/trunk/; revision=31020
2009-10-05Prototype reset_tap_update_timer() in main.hStig Bjørlykke1-0/+5
svn path=/trunk/; revision=30322
2009-09-28Remove config.h to avoid multiple inclusions in C files.Stig Bjørlykke1-4/+0
svn path=/trunk/; revision=30178
2009-08-14Make 'Apply as filter'/'Prepare filter' work for new packet list.Kovarththanan Rajaratnam1-2/+0
svn path=/trunk/; revision=29419
2009-06-30Introduce experimental new feature: GTK2 tree view based packet listStephen Fisher1-0/+2
To use the GTK2 based packet list, define NEW_PACKET_LIST when compiling. To do this with gcc, set the environment variable CPPFLAGS to "-DNEW_PACKET_LIST" and re-run configure. Many features do not yet work. This work began with prototypes by Ulf quite a while back. I've put quite a bit of work into this so far and as discussed with a few of the core team members at Sharkfest09 and it was decided that it would be best to commit what I have so far to allow others to help work on this. svn path=/trunk/; revision=28892
2009-06-21"main_menu.[ch]" -> "menus.[ch]"; it handles not only the main menu, butGuy Harris1-1/+1
context menus. Note why we have an empty hex dump pane context menu. svn path=/trunk/; revision=28794
2009-05-04From Didier Gautheron (bug 3126):Stig Bjørlykke1-0/+3
Update expert info icon on redissect. svn path=/trunk/; revision=28269
2009-04-08Add some more "copy" functionality:Sake Blok1-5/+13
- Enabled "Copy Description" in the main menu and gave it accelerator key CTRL+SHIFT+D - Added "Copy Fieldname" to copy the fieldname of the selected field in the detail view (Acc.Key: CTRL+SHIFT+F) - Added "Copy Value" to copy the value of the selected field in the detail view (Acc.Key: CTRL+SHIFT+V) - Updated documentation to reflect the changes svn path=/trunk/; revision=28006
2008-06-24Add gtk/capture_globals.h, to declare global_capture_opts, so files thatGuy Harris1-4/+0
don't need global_capture_opts don't need to have it declared and thus don't need capture_options defined. Include gtk/capture_globals in the files in question. Change some more capture_opts references to refer to global_capture_opts. Change some global_capture_opts references in routines with a capture_opts argument to refer to capture_opts. The structure type is capture_options, not capture_opts; fix some references. Include <sys/types.h>, if it's present, in capture_opts.h, so we get gid_t defined. Clean up indentation. svn path=/trunk/; revision=25574
2008-06-24For now, just refer to global_capture_opts, replacing references to theGuy Harris1-0/+4
now-defult global capture_opts pointer; we eventually should try to minimize the use of global variables. Export global_capture_opts from gtk/main.h. Clean up indentation. svn path=/trunk/; revision=25571
2008-06-24Have capture_info_ui_create() and capture_info_open() take a pointer toGuy Harris1-5/+0
the capture_opts structure as an argument, rather than just a pointer to the interface name. Don't declare a global "capture_opts" pointer, as we don't define it any more. svn path=/trunk/; revision=25570
2008-04-12proto_draw -> main_proto_drawUlf Lamping1-2/+2
svn path=/trunk/; revision=24954
2008-04-12rename menu -> main_menuUlf Lamping1-1/+1
remove old (and unused and confusing) ../menu.h svn path=/trunk/; revision=24947
2008-04-12move statusbar related code from main.c into it's own main_statusbar.cUlf Lamping1-18/+0
svn path=/trunk/; revision=24937
2008-04-12move drag_and_drop declarations into it's own fileUlf Lamping1-11/+0
svn path=/trunk/; revision=24927
2008-03-11From Francesco Fondelli (bug 2349):Stig Bjørlykke1-0/+7
Attached is a patch to export packets data as "C Arrays". I often have the need to [re]send data captured with wireshark using a raw/pf_packet socket. Output format is one char[] per packet, it looks like almost the same as the one produced by "Follow TCP stream". svn path=/trunk/; revision=24604
2008-01-31If "!=" or "ne" are used in a display filter, warn the user that the resultsGerald Combs1-4/+16
may be unexpected. svn path=/trunk/; revision=24232
2008-01-24Always return a valid profile name from get_profile_name().Stig Bjørlykke1-3/+0
svn path=/trunk/; revision=24175
2008-01-14This patch adds support for configuration profiles, which can be used toStig Bjørlykke1-1/+10
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-11-24This patch adds (ten) temporary coloring rules which will only live until ↵Sake Blok1-0/+11
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-06-04Fix for bug #93: changes to the columns has no effect until restartStephen Fisher1-0/+2
These changes allow the packet list clist to be destroyed and recreated with the new column titles/values/order that the user changed in the preferences without restarting Wireshark. svn path=/trunk/; revision=22038
2007-03-08from Sake Blok:Ulf Lamping1-0/+3
I have changed the patch according to your suggestions and also changed the doc[book] files accordingly. I tested the patch and it does seem to work fine on my test-system. ULFL: In addition, I've added the en-/disabling to the other (already existing) Copy menu items - some just did nothing, some crashed if nothing was selected. I've also sligthly changed the menu seperators and made both context menus look a bit more identical. svn path=/trunk/; revision=21005
2006-11-16Fix for bug 948, "Apply capture preferences not applying." Now when the userStephen Fisher1-0/+3
changes a capture option in the preferences, it will show up right away in the capture options dialog. svn path=/trunk/; revision=19908
2006-08-16Add support for AirPcap, an upcoming wireless product from CACE. SupportGerald Combs1-0/+5
is disabled by default, and can be enabled by setting AIRPCAP_CONFIG in config.nmake. The code is currently limited to Windows, but should be adaptable to other platforms. The official announcement won't come until next week, so you'll have to read the source for details. :) svn path=/trunk/; revision=18928
2006-06-12update of "Edit" menu:Ulf Lamping1-0/+16
Add missing "Find Next Mark" and "Find Previous Mark" functionality to the "Edit" menu. "unify" the menu items of "Time Reference" and "Mark Frame" functionality (both main and packet list context menus) ... we need to update the User's Guide screenshots anyway because of the Wireshark changes :-) svn path=/trunk/; revision=18438
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2006-05-11Removal of useless "Field Information" introduced in r18125Graeme Lunt1-12/+0
svn path=/trunk/; revision=18133
2006-05-11From Greg Morris:Anders Broman1-0/+7
add copy functionality to the details window. Also includes a change in the copy function of the hex data window to allow copying just the text strings instead of all of the hex data. svn path=/trunk/; revision=18129
2006-05-10"Field Information" context menu item that will bring up a web page ↵Graeme Lunt1-0/+11
reference to a field type of FT_OID svn path=/trunk/; revision=18125
2005-09-21fix/add doxygen commentsUlf Lamping1-4/+8
svn path=/trunk/; revision=15941
2005-08-20- Declare some functions staticJörg Mayer1-0/+2
- Add plugins_dlg.h - Include .h files in their respective .c files - Include .h and remove extern declarations in .c files - set eol-style and keywords on gui_utils.[hc] svn path=/trunk/; revision=15471
2005-08-02Fix more "no previous declaration" warningsJörg Mayer1-0/+3
svn path=/trunk/; revision=15173
2005-07-25two bugfixes:Ulf Lamping1-1/+1
- don't use GtkSelectionData after returned to GTK, as it might free this data immediately (copy the data instead and free it after usage) - fix return value handling for DnD merge, so it will work again svn path=/trunk/; revision=15056
2005-07-19fix various doxygen warningsUlf Lamping1-1/+1
svn path=/trunk/; revision=14958
2005-03-11from Stefano Pettini: add CSV export function, similar to PSML exportUlf Lamping1-0/+7
svn path=/trunk/; revision=13724
2005-02-06Don't have "set_menus_for_captured_packets()" callGuy Harris1-4/+0
"main_set_for_capture_file()"; it should only deal with menus, not anything else - and it gets called while the menus are being set up, which is before the main window has been completely created, so "main_widgets_show_or_hide()", which is called by "main_set_for_capture_file()", gets errors trying to show or hide widgets the pointers to which are null. svn path=/trunk/; revision=13328
2005-02-05completely hide the main window panes, if we currently don't have a capture ↵Ulf Lamping1-0/+4
file. svn path=/trunk/; revision=13312
2005-02-05fixed the dnd_init declarationUlf Lamping1-1/+3
(we have to do something about the non existing win32 compile dependencies, this is just a pain) svn path=/trunk/; revision=13309
2005-02-05rename kill_capture_child to capture_kill_child to have a common prefixUlf Lamping1-0/+4
split drag and drop support out of main.c into new file drag_and_drop.c, to reduce the size of main.c a bit. Hopefully this won't break unix builds because of missing #include's, I will keep an eye on the buildbot svn path=/trunk/; revision=13308