aboutsummaryrefslogtreecommitdiffstats
path: root/ui
AgeCommit message (Collapse)AuthorFilesLines
2012-09-24Just as we don't show the "Wireless Settings" button for non-AirPcapGuy Harris1-12/+13
adapters, we don't show the "Remote Settings" button for local adapters. (Back when the buttons were in the Capture Options dialog, always having the button there and making it sensitive or insensitive based on the interface you specified may have made sense; now that it's in a dialog popped up when you double-click on a particular interface, so the dialog always applies to a particular interface, it no longer makes sense.) Get rid of the unused E_OPT_REMOTE_BT_KEY key. svn path=/trunk/; revision=45085
2012-09-23Glib type checking might be cheap, but there's no need to do it twice.Jakub Zawadzki1-12/+17
(Actually many GtkTreeModel don't check types at all). svn path=/trunk/; revision=45073
2012-09-23Store pointers to previously displayed and captured packet, not nstime_t deltas.Jakub Zawadzki1-22/+0
This commit reduces size (from 144B to 128B on AMD64) of frame_data structure. Part of bug 5821: Reduce per-packet memory requirements. svn path=/trunk/; revision=45071
2012-09-23Display the "no interfaces" message in qtshark on any type of error,Evan Huus1-1/+2
as otherwise certain errors result in just a blank box. Also be sure to free the error string after QT's got its own copy. svn path=/trunk/; revision=45068
2012-09-23Speedup loading capture files by about 20%-30% (wireshark only)Jakub Zawadzki1-2/+1
Right now packetlist model is used only by one treeview, so we can check if packetlist->view has connected model if no, don't emit row-inserted signal. svn path=/trunk/; revision=45063
2012-09-22Fix for bug 7744:Jaap Keuter1-24/+19
Have the DND data receiver make sure that the URI-list is always correctly terminated. Do so for any source, either X server, Windows or OS X. svn path=/trunk/; revision=45058
2012-09-22Do not display a "Wireless Settings" button for non-AirPcap interfaces;Guy Harris2-14/+13
it can confuse users, so that they ask why this is grayed out on their non-Windows machine and ask how to enable it. Nobody uses the AIRPCAP_OPTIONS_ADVANCED_KEY datum attached to the box in which the button appears, so get rid of it. svn path=/trunk/; revision=45056
2012-09-22Change "LED" to "icon" and add a packet comment icon to the corresponding ↵Chris Maynard2-9/+15
expert info tab if the preference for displaying them is enabled. Basically, extend the fix for bug 3196 to include the packet comments tab. Also, fix some typos. svn path=/trunk/; revision=45053
2012-09-20Fix a read-after-free (as detected by Valgrind):Jeff Morriss1-1/+5
Go to the next element in the recent cf list before freeing the current element. svn path=/trunk/; revision=45026
2012-09-20Have File->import write pcapng files.Anders Broman2-1/+64
svn path=/trunk/; revision=45025
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss11-31/+9
svn path=/trunk/; revision=45017
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss186-523/+151
svn path=/trunk/; revision=45016
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss39-111/+33
svn path=/trunk/; revision=45015
2012-09-19Add gzip support to the Win32 "Save As" dialog. Don't crash in the Win32Gerald Combs3-29/+65
merge dialog if we cancel. Adjust the size and location of the controls in the Win32 open and merge file templates. svn path=/trunk/; revision=45014
2012-09-19Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7731 :Jeff Morriss1-3/+3
Allow the configured number of dfilters to be added to the drop-down list (instead of limiting the list--on a freshly installed system with no recent dfilters--to just 2). Regression caused by r42439. svn path=/trunk/; revision=45012
2012-09-19Use g_new instead of g_malloc to avoid manual C-style casting in C++ code.Evan Huus1-1/+1
svn path=/trunk/; revision=44998
2012-09-19Use guilibsdll and htmlhelp.lib in the Qt build.Gerald Combs1-1/+1
svn path=/trunk/; revision=44996
2012-09-18Fix format string.Guy Harris1-1/+1
svn path=/trunk/; revision=44994
2012-09-18Remove a debugging mesage.Gerald Combs1-1/+0
svn path=/trunk/; revision=44993
2012-09-18Fix call to g_filename_to_uri(), and do error checking.Guy Harris1-2/+11
svn path=/trunk/; revision=44992
2012-09-18import_text_dialog.cpp: Use the common help URL routines.Gerald Combs3-17/+22
main_window.cpp: QMessageBox::exec returns a StandardButton, not a ButtonRole. help_dlg.c: Remove extra blank lines. svn path=/trunk/; revision=44991
2012-09-18Fix compilation on Windows.Gerald Combs1-1/+1
svn path=/trunk/; revision=44989
2012-09-18Move the UI-independent help URL code to ui/help_url.[ch].Gerald Combs10-445/+545
svn path=/trunk/; revision=44987
2012-09-18Add python cache and temporary files to the list of files to clean up.Jeff Morriss3-3/+8
svn path=/trunk/; revision=44974
2012-09-18If we have PYTHON use make-tap-reg.py (in both autofoo and Windows): it'sJeff Morriss2-6/+22
slightly faster than the old shell-script version on *NIX and it seems significantly faster on Windows. svn path=/trunk/; revision=44972
2012-09-18If we have PYTHON use make-tap-reg.py (like we do on Windows): it's slightlyJeff Morriss1-3/+8
faster than the old shell-script version (~150 msec instead of ~500 msec on my system). svn path=/trunk/; revision=44971
2012-09-18Add Gerald's recent qt text-import work to CMake build.Evan Huus1-0/+3
svn path=/trunk/; revision=44963
2012-09-18Make the help button do something.Gerald Combs2-0/+9
svn path=/trunk/; revision=44960
2012-09-18Adjust the Import Text dialog size policy, although it's still notGerald Combs1-33/+39
quite right. svn path=/trunk/; revision=44958
2012-09-17Restore set_last_open_dir. We need it on Windows.Gerald Combs2-0/+7
svn path=/trunk/; revision=44957
2012-09-17Add a text import dialog. Use libui.Gerald Combs12-56/+1127
svn path=/trunk/; revision=44956
2012-09-17callsinfo->stop_fd not set in all branches for UNISTIM.Anders Broman1-5/+7
svn path=/trunk/; revision=44940
2012-09-17Minor cleanup:Bill Meier1-28/+14
- remove unneeded gtk_table_resize() [in prep for using gtk_grid for GTK3]; - use g_hash_table)_full() to specify function to free 'value' - Fix some whitespace. svn path=/trunk/; revision=44933
2012-09-17Minor cleanup:Bill Meier1-57/+51
- simplify code related to use of GHashTables; - use consistent whitespace and formatting style. svn path=/trunk/; revision=44932
2012-09-16Cleanup:Bill Meier1-50/+38
- remove unneeded gtk_table_resize() [in prep for using GtkGrid for GTK3]; - simplify code relating to use of a GHashTable; - add comment about use of !! magic !! numeric constants; - do some additional whitespace cleanup. svn path=/trunk/; revision=44931
2012-09-16Trivial cleanup:Bill Meier1-120/+122
- Remove unneeded #includes; - Use consistent whitespace and formatting style. svn path=/trunk/; revision=44930
2012-09-16(trivial) fix a typoBill Meier1-1/+1
svn path=/trunk/; revision=44929
2012-09-15Trivial whitespace formatting cleanup;Bill Meier1-122/+128
svn path=/trunk/; revision=44919
2012-09-15Minor cleanup:Bill Meier1-48/+10
- Remove unneeded #includes; - Remove unused function [which uses deprecated gtk_table...()]; - Use consistent whitespace formatting style. svn path=/trunk/; revision=44918
2012-09-15Trivial cleanup;Bill Meier1-65/+67
Remove a few unneeded initializers; Fix a few typos in comments; Use consistent formatting style. svn path=/trunk/; revision=44917
2012-09-15From Niels Widger via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7725Evan Huus2-0/+11
Add get_filter method to Wireshark's Lua interface (to correspond with the already-exposed set_filter method). svn path=/trunk/; revision=44916
2012-09-15Don't redefine WIRESHARK_UI_SRCAnders Broman1-5/+0
svn path=/trunk/; revision=44914
2012-09-15text_import_scanner_lex.h and text_import_scanner.c are now part ofGuy Harris2-7/+7
libui, not libgtkui. svn path=/trunk/; revision=44913
2012-09-15*Do* use DIRTY_GENERATED_C_FILES, as it's defined; sadly, flex doesn'tGuy Harris1-2/+4
generate warning-free files. svn path=/trunk/; revision=44911
2012-09-15DIRTY_GENERATED_C_FILES is empty, and isn't used by ui/gtk/Makefile.am,Guy Harris2-6/+2
so get rid of it, and stop using it in ui/gtk/Makefile.make; we don't want to encourage people to create source files that get warnings. svn path=/trunk/; revision=44910
2012-09-15Nobody uses DIRTY_GENERATED_C_FILES, so get rid of it; we don't want toGuy Harris1-4/+1
encourage people to create source files that get warnings. svn path=/trunk/; revision=44909
2012-09-14libgtkui_dirty → libui_dirty.Gerald Combs2-8/+8
svn path=/trunk/; revision=44907
2012-09-14More fixes for the text import move.Gerald Combs4-11/+11
svn path=/trunk/; revision=44906
2012-09-14Deletions from the last commit didn't make it for some reason.Gerald Combs4-1215/+0
svn path=/trunk/; revision=44905
2012-09-14Create a common libui using CMake similar to what we do with Autotools.Gerald Combs10-30/+1283
Move the GTK+ text import code to the common UI directory. Create wtap_encap_requires_phdr() from code in file_import_dlg.c. svn path=/trunk/; revision=44904