aboutsummaryrefslogtreecommitdiffstats
path: root/ui
Commit message (Collapse)AuthorAgeFilesLines
* replace "unsigned" datatype with "guint". Some mpeg files needed "unsigned ↵Michael Mann2013-01-046-10/+10
| | | | | | | | int" instead. bugs 7825-7827 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7825) svn path=/trunk/; revision=46928
* Use ws_gtk_grid...() in place of gtk_table...();Bill Meier2013-01-031-121/+132
| | | | | | | | | Add an XXX comment as to an apparent limit on the number of characters in a tooltip (at least in one case). Do some minor whitespace and long-lines cleanup. svn path=/trunk/; revision=46921
* Use ws_gtk_grid...() instead of gtk_table...();Bill Meier2013-01-031-107/+107
| | | | | | | | | Fix a minor difference in window handling between Gtk2 & Gtk3: Use gtk_box_pack_start() instead of gtk_container_add() in one case. Also; Do some whitespace and formatting style cleanup. svn path=/trunk/; revision=46920
* Use ws_gtk_grid...() instead of gtk_table...();Bill Meier2013-01-031-46/+46
| | | | | | | | | | Set the default window size to show the complete window; Fix a minor difference in window handling between Gtk2 & Gtk3: Use gtk_box_pack_start() instead of gtk_container_add() in one case. Also; misc minor cleanup. svn path=/trunk/; revision=46918
* Replace use of gtk_table...() by ws_gtk_grid...().Bill Meier2013-01-031-18/+18
| | | | svn path=/trunk/; revision=46917
* Use ws_gtk_grid...() in place of gtk_table...();Bill Meier2013-01-031-14/+14
| | | | | | | | Also: Fix a minor difference in window handling between Gtk2 & Gtk3: Use gtk_box_pack_start() instead of gtk_container_add(0 in one case. svn path=/trunk/; revision=46915
* Replace use of gtk_table...() by ws_gtk_grid...().Bill Meier2013-01-031-9/+9
| | | | | | Untested (since I don't know Lua) (but should be Ok). svn path=/trunk/; revision=46914
* From Chris Maynard Wireshark crashes when attempting to obtain help from ↵Anders Broman2013-01-031-2/+1
| | | | | | various dialogs svn path=/trunk/; revision=46912
* Move the font preferences to the colors pane and change its name toGerald Combs2013-01-038-206/+247
| | | | | | | | | "Font and Colors". Use a GtkFontButton to select the font and update the sample text accordingly. Instead of attempting to resize the sample color text (which didn't appear to work) scroll to the text that matches the current combo box selection. svn path=/trunk/; revision=46909
* Use ws_gtk_grid...() in place of gtk_table...();Bill Meier2013-01-021-29/+30
| | | | | | | Also: Fix a minor difference in window handling between Gtk2 & Gtk3: Use gtk_box_pack_start() instead of gtk_container_add(0 in one case. svn path=/trunk/; revision=46908
* Fix a minor window handling difference between GTK2 & GTK3:Bill Meier2013-01-021-203/+204
| | | | | | Use gtk_box_pack_start() instead of gtk_container_add() in several places. svn path=/trunk/; revision=46906
* Fix a GTK3 issue:Bill Meier2013-01-021-1/+1
| | | | | | Use gtk_box_pack_start() instead of gtk_container_add(). svn path=/trunk/; revision=46904
* Fix some GTK3 issues:Bill Meier2013-01-021-504/+572
| | | | | | | | | | | Use gtk_box_pack_start() instead of gtk_container_add() in several places. Also: Remove several no-effect calls to gtk_box_set_child_packing(); Use consistent whitespace & formatting style; Fix some long lines. svn path=/trunk/; revision=46903
* Use scrolled-windows to enclose "custom" prefs pages (User Interface, ↵Bill Meier2013-01-011-2/+11
| | | | | | | | | | | | | | | | | | | | Layout, etc) in the same manner as to "protocol prefs" pages. This ensures that the bottom row buttons won't disappear off the bottom of the prefs window if one (or more) of the custom prefs pages is too large to fit vertically within the available screen space. In Wireshark 1.8, more items were added to the "User Interface" prefs page thus leading to an increased possibility of this issue occurring. I believe this fixes Bug #8078. #Backport Wireshark 1.8 svn path=/trunk/; revision=46885
* Make sure moc can find config.h.Gerald Combs2012-12-311-1/+1
| | | | svn path=/trunk/; revision=46876
* It might help for the Qt version of Wireshark to link against the QtGerald Combs2012-12-312-31/+36
| | | | | | | libraries and to have a main() function. Replace some manual Makefile rules with an implicit rule. svn path=/trunk/; revision=46875
* Update Makefile to add packet_comment_dialog filesAlexis La Goutte2012-12-312-0/+3
| | | | svn path=/trunk/; revision=46874
* Add a .cpp target for each ui_*.h prerequisite.Gerald Combs2012-12-311-13/+13
| | | | svn path=/trunk/; revision=46868
* Move profile deletion code from profile_dlg.c to profile.c. Add leftGerald Combs2012-12-3011-44/+216
| | | | | | | | mouse and context (right mouse) signals to label stacks and use them to pop up profile menus in the status bar. Add profile actions (manage, new, edit, delete) to the profile dialog. svn path=/trunk/; revision=46863
* Add a few consts to fix some compiler (GCC) errors.Bill Meier2012-12-291-1/+2
| | | | svn path=/trunk/; revision=46849
* Add a vertical scrollbar to the summary dialog window.Bill Meier2012-12-291-2/+8
| | | | | | | | | | (The window has gotten pretty tall; Creating a multiline 'Capture File Comments'" entry may make the buttons inaccessible w/o a scrollbar). ##backport 1.8 svn path=/trunk/; revision=46844
* Show the current profile name. Fix the packet status.Gerald Combs2012-12-293-5/+16
| | | | svn path=/trunk/; revision=46839
* Fix distcheck.Gerald Combs2012-12-291-0/+1
| | | | svn path=/trunk/; revision=46838
* Add profile_dialog.Gerald Combs2012-12-293-0/+11
| | | | svn path=/trunk/; revision=46837
* Try to fix compilation on Windows.Gerald Combs2012-12-291-0/+4
| | | | svn path=/trunk/; revision=46836
* Profile switching works when we have a capture file open so go ahead andGerald Combs2012-12-291-12/+12
| | | | | | enable it. svn path=/trunk/; revision=46835
* Remove some duplicate code from ui/profile.c and move in more code fromGerald Combs2012-12-2919-284/+988
| | | | | | | | | | | | | | ui/gtk/profile_dialog.c. Use the correct profile list in profile_dialog.c so that deletion works. Add a profile dialog to the Qt port. For some reason it crashes when changing configuration profiles, which might be related to bug 7722. Move the Qt configuration profile initialization from main.cpp to wireshark_application.cpp. Make sure QMenuBar doesn't grab the configuration profiles action on OS X. Add more role color names to tango_colors.h. svn path=/trunk/; revision=46834
* Fix [ 76%] Building C object ui/CMakeFiles/ui.dir/profile.c.o ui/profile.c: ↵Alexis La Goutte2012-12-281-4/+4
| | | | | | In function ‘init_profile_list’: ui/profile.c:194:20: error: variable ‘fl_entry’ set but not used [-Werror=unused-but-set-variable] cc1: all warnings being treated as errors svn path=/trunk/; revision=46824
* Fix [76%] Building C object ui/CMakeFiles/ui.dir/profile.c.o ui/profile.c: ↵Alexis La Goutte2012-12-282-2/+2
| | | | | | In function ‘init_profile_list’: ui/profile.c:195:20: error: variable ‘profile’ set but not used [-Werror=unused-but-set-variable] cc1: all warnings being treated as errors svn path=/trunk/; revision=46823
* Remove an unused variable.Gerald Combs2012-12-271-2/+1
| | | | svn path=/trunk/; revision=46811
* Make sure our loops terminate.Gerald Combs2012-12-271-1/+5
| | | | svn path=/trunk/; revision=46810
* Move common profile code to ui/profile.[ch].Gerald Combs2012-12-275-335/+494
| | | | svn path=/trunk/; revision=46808
* Cast away another const warning that only shows up under really recent GCCs.Evan Huus2012-12-261-10/+16
| | | | svn path=/trunk/; revision=46785
* if 0 out debug codeAnders Broman2012-12-261-0/+2
| | | | svn path=/trunk/; revision=46784
* if 0 out debug codeAnders Broman2012-12-261-2/+2
| | | | svn path=/trunk/; revision=46783
* Move summary related stuff to summary_dlgAnders Broman2012-12-265-80/+92
| | | | svn path=/trunk/; revision=46782
* Fix another discarded qualifier error.Guy Harris2012-12-264-20/+3
| | | | | | | Remove some redundant declarations/definitions from ui/gtk/capture_dlg.h. svn path=/trunk/; revision=46780
* Squelch some more discarding-qualifiers warnings.Guy Harris2012-12-262-5/+5
| | | | svn path=/trunk/; revision=46771
* simple_dialog_primary_start() and simple_dialog_primary_end() are nowGuy Harris2012-12-261-4/+4
| | | | | | declared as returning const char *s; make it so. svn path=/trunk/; revision=46767
* Hopefully this case is OK in C++; bit-fields can't be enums in standardGuy Harris2012-12-261-1/+1
| | | | | | C, so.... svn path=/trunk/; revision=46764
* Fix a bunch of warnings.Guy Harris2012-12-2657-293/+295
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cast away some implicit 64-bit-to-32-bit conversion errors due to use of sizeof. Cast away some implicit 64-bit-to-32-bit conversion errors due to use of strtol() and strtoul(). Change some data types to avoid those implicit conversion warnings. When assigning a constant to a float, make sure the constant isn't a double, by appending "f" to the constant. Constify a bunch of variables, parameters, and return values to eliminate warnings due to strings being given const qualifiers. Cast away those warnings in some cases where an API we don't control forces us to do so. Enable a bunch of additional warnings by default. Note why at least some of the other warnings aren't enabled. randpkt.c and text2pcap.c are used to build programs, so they don't need to be in EXTRA_DIST. If the user specifies --enable-warnings-as-errors, add -Werror *even if the user specified --enable-extra-gcc-flags; assume they know what they're doing and are willing to have the compile fail due to the extra GCC warnings being treated as errors. svn path=/trunk/; revision=46748
* The inverse of GINT_TO_POINTER() is GPOINTER_TO_INT(); use it. ThatGuy Harris2012-12-241-5/+5
| | | | | | squelches some warnings. svn path=/trunk/; revision=46729
* The inverse of GINT_TO_POINTER() is GPOINTER_TO_INT(); use it (thisGuy Harris2012-12-241-1/+1
| | | | | | squelches some warnings). svn path=/trunk/; revision=46728
* Cast away warnings implicit 64-bit-to-32-bit conversions. (We shouldGuy Harris2012-12-242-9/+10
| | | | | | | | | | | | | | probably have routines that convert strings to numbers and do range checks, and should also ignore values in the recent and preferences files that are out of range.) Cast a string to "char *" to squelch an otherwise-unavoidable warning about qualifiers being ignored. The media type for raw binary data is application/octet-stream, not application octet_stream. svn path=/trunk/; revision=46727
* Use the types that PortAudio specifies for values passed to or returnedGuy Harris2012-12-231-14/+11
| | | | | | | | | from PortAudio; that squelches some implicit 64-bit-to-32-bit conversion warnings. Mark unused arguments with _U_ rather than adding fake usages for them. svn path=/trunk/; revision=46717
* Add ui_packet_comment_dialog.h and ui_time_shift_dialog.h.Gerald Combs2012-12-231-1/+3
| | | | svn path=/trunk/; revision=46711
* Qt: Implement packet comments. Fix packet detail updates.Gerald Combs2012-12-2317-17/+305
| | | | | | | | | | GTK+: Shorten the packet comment menu item name. Remove a couple of unneeded includes. Both: Add an arbitrary 20 MB limit when fetching all packet comments. Use a color from the Tango palette for comments. svn path=/trunk/; revision=46709
* Add the time shift dialog.Gerald Combs2012-12-233-0/+11
| | | | svn path=/trunk/; revision=46708
* Remove unneeded initializations, and one redundant if condition.Evan Huus2012-12-2217-31/+31
| | | | svn path=/trunk/; revision=46702
* Remove one unneeded initializer and add one missing initializer, as foundEvan Huus2012-12-222-2/+2
| | | | | | by CppCheck. svn path=/trunk/; revision=46700