summaryrefslogtreecommitdiff
path: root/ui
AgeCommit message (Collapse)AuthorFilesLines
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
2013-07-26gtk_widget_modify_font() has been renamed to gtk_widget_override_font() in GTK3Bill Meier3-0/+16
svn path=/trunk/; revision=50915
2013-07-26Oups... Revert my change (See revision 50905)Alexis La Goutte1-0/+2
svn path=/trunk/; revision=50907
2013-07-26Fix compilation of qtsharkAlexis La Goutte1-3/+1
ui/qt/uat_dialog.cpp: In member function ‘void UatDialog::stringPrefTextChanged(const QString&)’: ui/qt/uat_dialog.cpp:371:10: error: variable ‘enable_ok’ set but not used [-Werror=unused-but-set-variable] And remove a tabs svn path=/trunk/; revision=50906
2013-07-26Guess what the intent of the enable_ok Boolean was.Guy Harris1-1/+1
svn path=/trunk/; revision=50905
2013-07-26Call on_uatTreeWidget_itemActivated directly. Fixes compilation onGerald Combs1-1/+1
older versions of Qt. svn path=/trunk/; revision=50904
2013-07-26From Cal Turney and Jiří Engelthaler viaJeff Morriss1-3/+0
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8908 : The fix for bug 5585 (r35583) is no longer necessary (thanks to r50516) and it causes the screen to flicker when clicking on bytes in the bytes pane. svn path=/trunk/; revision=50903
2013-07-26Add missing ui_uat_dialog.h dependency.Evan Huus1-0/+2
The fact that we're listing these manually is kind of ugly... svn path=/trunk/; revision=50898
2013-07-25Add a UAT dialog. Make UAT preferences uat_t * instead of void *.Gerald Combs16-25/+955
C++-ize the UAT headers. Add an ElidedLabel widget. Use it in the File Set, Profile, and UAT dialogs. Update the Qt README. svn path=/trunk/; revision=50896
2013-07-25Fix some warnings that show up on OS X.Guy Harris1-121/+124
Clean up indentation (use 4-space indentation, and no tabs). svn path=/trunk/; revision=50888
2013-07-25Commiting Jakub Zawadzkis memory_dlg even if he does not think it's ready ↵Anders Broman1-0/+834
yet so others can add to it if they like. Fixed it to work on Windows too. It can always be removed if nothing comes of it. svn path=/trunk/; revision=50885
2013-07-24Add a note about possible improvements.Gerald Combs1-0/+4
svn path=/trunk/; revision=50867
2013-07-24Don't cast away constness, and constify a function parameter.Guy Harris1-3/+3
svn path=/trunk/; revision=50860