aboutsummaryrefslogtreecommitdiffstats
path: root/ui
AgeCommit message (Collapse)AuthorFilesLines
2013-08-23When we close a main window, delete the welcome screen, which in turnGerald Combs2-3/+5
deletes the interface list, which in turn kills off the dumpcap process it may be running. This should hopefully keep us from leaving dumpcap processes running in the background on Windows. (Am I the only one running QtShark on that platform?) svn path=/trunk/; revision=51485
2013-08-23For the Windows Open dialog for capture files, get rid of the "(*.*)" inGuy Harris1-5/+54
the "All Files" entry (the current UI guidelines from Microsoft say to do so, and that's what Paint does, at least), and add an "All Capture Files" entry with all the file extensions for the file types we support (it'll pick up all text files, but there's not much we can do about that, and it won't pick up files with *no* extension or weird extensions, such as you might get from UN*X systems or from WinDump commands, but at least it'll filter out some other crud). Fix what appear to be memory leaks; that should be backported unless I've missed something and they aren't leaks. Fix an out-of-date comment, and add an additional comment. svn path=/trunk/; revision=51481
2013-08-22Split EXTRA_LIBFILES into EXTRA_LIBFILES and EXTRA_BINFILES. Try usingGerald Combs1-14/+27
macdeployqt to build our OS X bundle. svn path=/trunk/; revision=51480
2013-08-21The export PDU mechanism creates a new capture which contains only theMartin Kaiser4-33/+109
exported PDUs. The currently opened capture file is closed. Make sure that this does not discard any unsaved data. Ask the user for confirmation and save the changes before running the export. svn path=/trunk/; revision=51459
2013-08-18addr_resolution_dlg.c: In function 'ipv6_hash_table_to_texbuff':Anders Broman1-1/+1
addr_resolution_dlg.c:185: warning: unused parameter 'key' svn path=/trunk/; revision=51416
2013-08-18Use g_hastable() for IPv6 name reslution.Anders Broman1-1/+25
svn path=/trunk/; revision=51415
2013-08-15Add $Id$, arrange that it's expanded, use native line endings.Guy Harris1-0/+2
svn path=/trunk/; revision=51379
2013-08-15Add $Id$, arrange that it's expanded, use native line endings.Guy Harris1-0/+2
svn path=/trunk/; revision=51378
2013-08-14Global variables considered harmful.Guy Harris2-2/+2
svn path=/trunk/; revision=51352
2013-08-14Get rid of -Wshadow warning - I guess we're including something thatGuy Harris39-175/+175
gets <getopt.h>, so we get the optarg global. svn path=/trunk/; revision=51350
2013-08-13Add missing return (reported as missing break by coverity)Martin Mathieson1-1/+2
svn path=/trunk/; revision=51336
2013-08-13Show the Lua plugin being loaded in the splash screen.Stig Bjørlykke1-1/+4
svn path=/trunk/; revision=51335
2013-08-12Fix shorten-64-to-32 error when build with clang 3.4Alexis La Goutte1-1/+1
mcast_stream.c:393:29: error: implicit conversion loses integer precision: 'long' to 'gint32' (aka 'int') [-Werror,-Wshorten-64-to-32] usec = buffer[cur].tv_usec - buffer[prev].tv_usec; ~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ svn path=/trunk/; revision=51316
2013-08-12Double click Lua scripts in About Plugins list to open in an editor.Stig Bjørlykke1-0/+36
svn path=/trunk/; revision=51314
2013-08-11Use g_hashtable for IPv4 name resolution.Anders Broman1-72/+30
svn path=/trunk/; revision=51301
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-2/+0
In file included from main_menubar.c:110: ../../ui/gtk/proto_help.h:39:5: error: '@return' command used in a comment that is attached to a function returning void [-Werror,-Wdocumentation] * @return void ~^~~~~~~~~~~ ../../ui/gtk/proto_help.h:47:5: error: '@return' command used in a comment that is attached to a function returning void [-Werror,-Wdocumentation] * @return void ~^~~~~~~~~~~ svn path=/trunk/; revision=51279
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-3/+1
../../ui/gtk/gui_stat_menu.h:47:11: error: parameter 'group' not found in the function declaration [-Werror,-Wdocumentation] * @param group the menu group this stat should be registered to ^~~~~ svn path=/trunk/; revision=51277
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-2/+2
../../ui/gtk/filter_autocomplete.h:41:15: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param event ~~~~~~~~~~~^ ../../ui/gtk/filter_autocomplete.h:49:15: error: empty paragraph passed to '@param' command [-Werror,-Wdocumentation] * @param event ~~~~~~~~~~~^ svn path=/trunk/; revision=51276
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-5/+5
../ui/preference_utils.h:40:11: error: parameter 'pref:' not found in the function declaration [-Werror,-Wdocumentation] * @param pref: A preference. ^~~~~ ../ui/preference_utils.h:40:11: note: did you mean 'pref'? * @param pref: A preference. ^~~~~ pref ../ui/preference_utils.h:41:11: error: parameter 'unused:' not found in the function declaration [-Werror,-Wdocumentation] * @param unused: unused ^~~~~~~ ../ui/preference_utils.h:41:11: note: did you mean 'unused'? * @param unused: unused ^~~~~~~ unused ../ui/preference_utils.h:48:11: error: parameter 'pref:' not found in the function declaration [-Werror,-Wdocumentation] * @param pref: A preference. ^~~~~ ../ui/preference_utils.h:48:11: note: did you mean 'pref'? * @param pref: A preference. ^~~~~ pref ../ui/preference_utils.h:49:11: error: parameter 'changed_p:' not found in the function declaration [-Werror,-Wdocumentation] * @param changed_p: A pointer to a gboolean. Set to TRUE if the prefere... ^~~~~~~~~~ ../ui/preference_utils.h:49:11: note: did you mean 'changed_p'? * @param changed_p: A pointer to a gboolean. Set to TRUE if the prefere... ^~~~~~~~~~ changed_p ../ui/preference_utils.h:60:11: error: parameter 'unused:' not found in the function declaration [-Werror,-Wdocumentation] * @param unused: unused ^~~~~~~ ../ui/preference_utils.h:60:11: note: did you mean 'unused'? * @param unused: unused ^~~~~~~ unused svn path=/trunk/; revision=51274
2013-08-10Fix (-W)documentation error found by ClangAlexis La Goutte1-4/+4
./packet_list_utils.h:37:11: error: parameter 'col[IN]' not found in the function declaration [-Werror,-Wdocumentation] * @param col[IN] The column number. ^~~~~~~ ./packet_list_utils.h:38:11: error: parameter 'cf[IN]' not found in the function declaration [-Werror,-Wdocumentation] * @param cf[IN] The capture file containing the packet data. ^~~~~~ ./packet_list_utils.h:47:11: error: parameter 'col[IN]' not found in the function declaration [-Werror,-Wdocumentation] * @param col[IN] The column number. ^~~~~~~ ./packet_list_utils.h:48:11: error: parameter 'cf[IN]' not found in the function declaration [-Werror,-Wdocumentation] * @param cf[IN] The capture file containing the packet data. ^~~~~~ svn path=/trunk/; revision=51273
2013-08-09Replace tabs with spaces. Add modelines.Chris Maynard1-21/+34
svn path=/trunk/; revision=51237
2013-08-09Patch for bug 9014. If the relative time is negative, it is set to that of ↵Cal Turney1-11/+21
the previous packet. Since the packet is not discarded, its metadata is included in the stats. svn path=/trunk/; revision=51236
2013-08-08Apply same changes to common stats to tshark tapMartin Mathieson1-6/+12
svn path=/trunk/; revision=51222
2013-08-08Improve stats of broadcast messagesMartin Mathieson1-18/+40
svn path=/trunk/; revision=51219
2013-08-08Compile on Qt < 5.0.Gerald Combs1-1/+1
svn path=/trunk/; revision=51201
2013-08-08Add initial capture filter support.Gerald Combs21-45/+1010
Add CaptureFilterCombo and CaptureFilterEdit classes, similar to their display filter counterparts. Add a CaptureFilterSyntaxWorker class which runs a syntax check in a background thread similar to the threaded code in capture_dlg.c. Add a bunch of related signal and slot plumbing. Other minor fixups. svn path=/trunk/; revision=51200
2013-08-07Make sure we copy our support files to DESTDIR.Gerald Combs1-3/+8
svn path=/trunk/; revision=51194
2013-08-07Do not use overlapping memory in g_snprintf.Stig Bjørlykke1-12/+13
Use consistent spacing between title and value. svn path=/trunk/; revision=51181
2013-08-06Replace hfinfo pointer to same_name_prev, with same_name_prev_id.Jakub Zawadzki3-8/+8
svn path=/trunk/; revision=51175
2013-08-06Remove hfinfo->bitshift member, add hfinfo_bitshift() to get it.Jakub Zawadzki3-6/+6
svn path=/trunk/; revision=51174
2013-08-05Use a hastable for port resolution. Currently one table for the 4 protocols ↵Anders Broman1-0/+31
with resolution. SCTP and DCCP should perhaps be splited out to their own tables. svn path=/trunk/; revision=51153
2013-08-05Added gtk_adjustment_get_step_increment compat.Stig Bjørlykke1-0/+1
svn path=/trunk/; revision=51147
2013-08-05From Øyvin Richardsen:Stig Bjørlykke2-20/+125
- Added up/down scrolling in Flow Graph window. - Avoid segfault when mouse clicking below the last packet in the graph. - Fixed the Comment heading. svn path=/trunk/; revision=51145
2013-08-02Add some casts.Jeff Morriss1-18/+18
svn path=/trunk/; revision=51122
2013-08-02- Use a hashtable for eth lookup.Anders Broman1-0/+88
Currently broken get_ether_addr(). - Show hastable content in address dlg.(temp solution). svn path=/trunk/; revision=51119
2013-08-01Move a bunch of the crypt modules and pint.h into wsutil.Jeff Morriss3-3/+3
This means wsutil now links against libcrypt. Protect a bunch of the crypt header files from multiple inclusion. svn path=/trunk/; revision=51100
2013-08-01Remove fdata->opt_comment, add pkt_comment to pinfoJakub Zawadzki5-39/+36
Original (read from file) comments can be accessed by pkthdr->opt_comment Keep user comments in seperated BST, add new method for epan session to get it. svn path=/trunk/; revision=51090
2013-07-31From r50772 we don't need first_packet in modify_time_perform(), so we can ↵Jakub Zawadzki1-34/+5
remove whole initialization op. svn path=/trunk/; revision=51078
2013-07-31Add some very basic framework to fetch statistics of memory usage per component.Jakub Zawadzki1-31/+21
Use it in memory_dlg. svn path=/trunk/; revision=51069
2013-07-30Add a routine to get application memory usage to epan.Anders Broman1-105/+5
svn path=/trunk/; revision=51023
2013-07-29support exporting decrypted DVB-CI/CI+ SAC messagesMartin Kaiser1-0/+1
using the new export PDU mechanism svn path=/trunk/; revision=51019
2013-07-28Close a memory leak.Guy Harris1-2/+3
svn path=/trunk/; revision=50993
2013-07-28Remove unused variable caught by GCC 4.8.Evan Huus1-3/+0
svn path=/trunk/; revision=50992
2013-07-28Explain what the big loop in update_properties_all() is doing, andGuy Harris1-24/+108
what's done after that. If we want to set the all-interfaces capture filter string, just set it, don't add anything to the drop-down list for it. If, after we've succeeded starting a capture, all active interfaces have the same capture filter, *do* add that filter to the all-interfaces recent capture filters list. Also, free g_strduped capture filter strings when we're done with them. svn path=/trunk/; revision=50986
2013-07-28Add a comment.Guy Harris1-1/+3
In recent_add_cfilter(), the list we're working on is cfilter_list; properly remove an item from it - don't assign the result to recent_cfilter_list, assign it to cfilter_list. This may fix some crashes and Valgrind errors. svn path=/trunk/; revision=50984
2013-07-28Looks like cfilter_combo_utils.c got removed.Jörg Mayer1-1/+0
svn path=/trunk/; revision=50978
2013-07-27Have separate lists of recent capture filters for all interfaces, inGuy Harris8-135/+167
addition to a "global" list. Store all of those lists in the recent file. Maintain the lists in ui/recent.c, rather than attaching them to widgets; have the code that populates the combo boxes get the lists from the ui/recent.c code. This makes a little more of the code GUI-toolkit-independent, and should fix bug 7278. #BACKPORT 1.10, 1.8 svn path=/trunk/; revision=50956
2013-07-26Follow-up to r50935: add support for 64-bit value strings in more places thatEvan Huus1-0/+1
need it, I think this is all of them. svn path=/trunk/; revision=50941
2013-07-26Fix bug #8980 - IO graph/advanced, max/min/summ error on frames with ↵Jakub Zawadzki1-1/+1
multiple Diameter messages tap_iostat_packet() was fetching only first item for FT_RELATIVE_TIME. svn path=/trunk/; revision=50923
2013-07-26From Thomas ERSFELD (GSoC13)Alexis La Goutte1-0/+6
Automatic resize the content of UAT window dialog svn path=/trunk/; revision=50916