summaryrefslogtreecommitdiff
path: root/ui/gtk
AgeCommit message (Collapse)AuthorFilesLines
2013-11-15From Dirk Jagdmann: Make sure err_str is initialized.Gerald Combs1-1/+1
svn path=/trunk/; revision=53347
2013-11-13Highlight selected sequence diagram items.Gerald Combs3-3/+3
Create a new dialog each time the user follows a stream. A lot of the follow code seems to assume one and only one dialog so there are likely outstanding bugs. Don't use the global cfile (should we deprecate its usage?). We want to move closer to multiple documents, not further away. Clean up after ourselves. Free our payload list and unlink our temp file. Make a bunch of gchar*s QStrings. Make sure our destructor gets called and use it. Make member variable and method names more consistent. svn path=/trunk/; revision=53306
2013-11-12Don't do our own line wrapping of the display filter, let GTK do it for us.Jeff Morriss1-21/+2
(With this change all the right-hand columns in this dialog will wrap if necessary whereas before only the display filter would wrap lines.) svn path=/trunk/; revision=53282
2013-11-12Use the right threshold.Irene Rüngeler1-1/+1
svn path=/trunk/; revision=53271
2013-11-11Sequence / flow diagram updates.Gerald Combs2-4/+3
Plumb some controls. Adjust dialog layout. Make sure sequence information is allocated and freed correctly. Remove a debugging statement. svn path=/trunk/; revision=53260
2013-11-10Add missing includes in order to remove exceptions.h from proto.h (next commit).Jakub Zawadzki22-0/+31
svn path=/trunk/; revision=53230
2013-11-10Move struct _ftype_t + callback typedefs + free macro to ftypes-int.hJakub Zawadzki1-0/+2
svn path=/trunk/; revision=53223
2013-11-10Move prototype of bytes_to_str, bytes_to_str_punct to correct header.Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=53214
2013-11-09Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8966 :Pascal Quantin1-2/+3
Initialize last entry of background_color array to avoid having a RGBA(0,0,0,0) transparent black svn path=/trunk/; revision=53205
2013-11-09Fix crash when displaying VoIP call flow (introduced in r52824)Pascal Quantin1-0/+13
svn path=/trunk/; revision=53204
2013-11-09Include <epan/to_str.h> only when needed.Jakub Zawadzki5-0/+5
svn path=/trunk/; revision=53189
2013-11-09Replace wtap_nstime with nstime_t, remove wtap_nstime_to_sec.Jakub Zawadzki1-1/+1
After r50154 nstime_t is inside wsutil/ so wiretap don't need it's own copy. svn path=/trunk/; revision=53184
2013-11-08The "file types" we have are actually combinations of types andGuy Harris7-16/+17
subtypes, e.g. Network Monitor version 1 and Network Monitor version 2 are separate "file types", even though they both come from Network Monitor. Rename various functions, #defines, and variables appropriately. svn path=/trunk/; revision=53166
2013-11-08Another one.Guy Harris1-1/+1
svn path=/trunk/; revision=53165
2013-11-08What matters is the encapsulation type, not the file type, so just testGuy Harris1-1/+1
for WTAP_ENCAP_BER, not for WTAP_FILE_BER. svn path=/trunk/; revision=53164
2013-11-07Try 2 to fix Mac OS X 10.5 buildbotAlexis La Goutte1-0/+1
Include old-gtk-compat.h svn path=/trunk/; revision=53140
2013-11-07Try to fix Mac OS 10.5 Buildbot (with old Glib...)Alexis La Goutte1-1/+2
gtk_dialog_get_action_area is available only Glib 2.14 svn path=/trunk/; revision=53137
2013-11-07Remove C++ commentsAlexis La Goutte1-1/+1
svn path=/trunk/; revision=53136
2013-11-07Add Edit Packet in Right ClickAlexis La Goutte1-2/+18
svn path=/trunk/; revision=53135
2013-11-07Add Packet Editor PreferenceAlexis La Goutte2-1/+12
svn path=/trunk/; revision=53134
2013-11-06Add support for displaying dates as year and day-of-year (1-origin).Guy Harris2-9/+24
In the process, fix various man page descriptions of the -t flag, and add support for UTC absolute times in the iousers and iostat TShark taps. svn path=/trunk/; revision=53114
2013-10-31Add licence information.Irene Rüngeler1-0/+24
svn path=/trunk/; revision=52999
2013-10-30Add initial support for geometry settings in the main window.Gerald Combs1-9/+0
In the current Qt startup sequence the main window + splash screen is displayed before the main preferences are loaded which means we can't immediately apply the correct geometry. For now, use an animation to morph from the default to the saved geometry after the prefs are loaded. Get rid of main_do_quit() (Qt) and main_window_exit() (Qt+GTK). It looks like they were unused. Add wsApp->isInitialized() and use it to see if we should exit() when the main window is closed. Otherwise we won't shut the application down and clean up properly. svn path=/trunk/; revision=52988
2013-10-29Make the packet analysis for SCTP independent from GTK and QT.Irene Rüngeler13-1844/+157
svn path=/trunk/; revision=52945
2013-10-29Revert part of 52896 and (for now) all of 52935. As Jeff pointed out,Gerald Combs3-2/+34
the PortableApps version relies on U3_-prefixed environment variables. svn path=/trunk/; revision=52941
2013-10-28Remove some (but not all) U3 remnants.Gerald Combs1-11/+0
svn path=/trunk/; revision=52935
2013-10-27Remove iplen and iphdrlen from struct _packet_info.Michael Mann1-1/+1
Dissectors should just use (reported) tvb length and taps have other ways to get the data. svn path=/trunk/; revision=52899
2013-10-27Remove U3 code and packaging.Gerald Combs2-23/+2
svn path=/trunk/; revision=52896
2013-10-26From robionekenobi via ↵Pascal Quantin3-9/+12
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9328 : Suppress some VS2013 warnings when compiling gtk ui svn path=/trunk/; revision=52880
2013-10-25More sequence dialog updates.Gerald Combs2-10/+20
Draw item labels and port numbers. Update the hint text. Make items selectable. Resize fonts similar to the GTK+ version. Add scrollbars. Update the cursor. Use pango_layout_set_ellipsize() in the GTK+ code. Fixup comments. svn path=/trunk/; revision=52855
2013-10-25Add a very small hack to make the UAT update callback error string freeable, andEvan Huus1-1/+7
convert all existing UAT update callbacks to use glib memory instead of ephemeral memory for that string. UAT code paths are entirely distinct from packet dissection, so using ephemeral memory was the wrong choice, because there was no guarantees about when it would be freed. The move away from emem still needs to be propogated deeper into the UAT code itself at some point. Net effect: remove another bunch of emem calls from dissectors, where replacing with wmem would have caused assertions. svn path=/trunk/; revision=52854
2013-10-25Mark unused parameter, remove moved .h file from Makefile.commonEvan Huus1-1/+0
svn path=/trunk/; revision=52831
2013-10-24Make things compile again.Jörg Mayer9-299/+11
svn path=/trunk/; revision=52828
2013-10-24Initial and woefully incomplete flow graph support.Gerald Combs7-759/+97
Copy common code from ui/gtk/flow_graph.c and ui/gtk/graph_analysis.[ch] to ui/tap-sequence-analysis.[ch]. Start using the name "sequence" in places. svn path=/trunk/; revision=52824
2013-10-24Revert previous commit of Irene, which doesn't work (yet).Michael Tüxen12-8/+1833
svn path=/trunk/; revision=52814
2013-10-24Move sctp_stat to ui to make it independent from gtk.Irene Rüngeler12-1833/+8
svn path=/trunk/; revision=52812
2013-10-23Bugfix "Restart the running live capture" when using multiple files makes a ↵Michael Mann1-0/+1
long filename. Bug 2274 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2274) Yes this solution leaks memory, but I think the handful of bytes leaked is worth fixing this nuisance. Won't backport until leak is fixed though. svn path=/trunk/; revision=52793
2013-10-23As suggested by Michael in ↵Jeff Morriss1-0/+1
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4605 : Add a tooltip to tell users they can click to see the other IP addresses for the selected interface. svn path=/trunk/; revision=52792
2013-10-23Add the ability to collapse subtrees with Shift+Left + additional menu ↵Michael Mann5-8/+95
items. Bug 9008 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9008). Currently this is only for GTK, but allows users to test it to see if its worth adding to Qt (my personal opinion is yes). From Jiří Engelthaler svn path=/trunk/; revision=52790
2013-10-23g_slist_free_full() is glib 2.28Anders Broman1-1/+1
Fix spelling. svn path=/trunk/; revision=52787
2013-10-23Make manual address resolution work again by putting the addressesAnders Broman1-1/+3
in a separate list and add that list when address resolution is rebuilt during rescan of packets. svn path=/trunk/; revision=52785
2013-10-19Only allow one popup dialog in UAT dialog. Editing/copying/deleting can ↵Michael Mann1-36/+60
modify the uat list and other open dialogs will not be aware of it and lead to unexpected behavior (including crashes). Fixes bug 9129 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9129) #BACKPORT(1.10) svn path=/trunk/; revision=52683
2013-10-18After looking for something in the column-*.h files andJörg Mayer5-5/+5
not finding it, I finally found it in column_info.h Renamed column_info.h to column-info.h to have consistency with the column*h files. svn path=/trunk/; revision=52667
2013-10-13SMB2 SRT can be very inaccurate in the presence of retransmissions: ↵Cal Turney1-3/+12
Retransmitted responses not only add additional (bogus) transactions but also the latency associated with them. This can greatly inflate the maximum and average SRT stats especially in the case of retransmissions triggered by the expiry of the rexmit timer (RTOs). Only calculating SRT for the first response received accomplishes this goal without requiring the TCP pref "Do not call subdissectors for error packets" to be set. svn path=/trunk/; revision=52592
2013-10-13Add CMake properties to targets so that they are logically organised when ↵Graham Bloice1-0/+2
using a Visual Studio solution. Add CMake properties to group the source files in epan into logical blocks when using a Visual Studio solution. svn path=/trunk/; revision=52580
2013-10-12Have pixbuf_to_widget() use a guint8 * to matchGerald Combs2-2/+2
gdk_pixbuf_new_from_inline(). svn path=/trunk/; revision=52562
2013-10-11Fix some formatting.Jeff Morriss1-11/+17
svn path=/trunk/; revision=52551
2013-10-11More ui/util.h includes.Gerald Combs3-0/+3
svn path=/trunk/; revision=52545
2013-10-11Include ui/util.h.Gerald Combs1-0/+1
svn path=/trunk/; revision=52544
2013-10-11There's no need to include prefs.h twice.Jeff Morriss1-2/+1
svn path=/trunk/; revision=52543