aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/sctp_graph_dlg.c
AgeCommit message (Collapse)AuthorFilesLines
2015-12-19sctp_graph_dlg: fix Expression 'tsn->secs >= min_secs' is always true. ↵Alexis La Goutte1-2/+2
Unsigned type value is always >= 0 min_secs is always set to 0 Change-Id: I62e3a5b71b423ae9ae15be1206bd1deeb9962760 Reviewed-on: https://code.wireshark.org/review/12400 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-12-07SCTP: Fix warning found by PVS Studioruengeler1-4/+4
Change-Id: I713eb6eff3681573baf77274847a32a4cc6b9ee0 Reviewed-on: https://code.wireshark.org/review/12408 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-10-05SCTP I-DATA supportruengeler1-2/+2
Change-Id: I459942b9e3287d500dda517568252d4cb56d3216 Reviewed-on: https://code.wireshark.org/review/10802 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Michael Tüxen <tuexen@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Tüxen <tuexen@wireshark.org>
2015-10-01Revert "SCTP: Add I_DATA support"Michael Tüxen1-2/+2
This reverts commit 4e9361dc88eefef27d031e29e2f8ca9891cc03eb. Change-Id: Ia7aee9ffbe5bc5d3ae88e957c234cbee7b65f457 Reviewed-on: https://code.wireshark.org/review/10723 Reviewed-by: Michael Tüxen <tuexen@wireshark.org>
2015-10-01Revert "Fix typos."Michael Tüxen1-2/+2
This reverts commit e47ea6d7493c60e1761da4f5fbb6bee68fdb5847. Change-Id: Ia5b7f5cdb1f17705010ac60bd2105156014f6d00 Reviewed-on: https://code.wireshark.org/review/10721 Reviewed-by: Michael Tüxen <tuexen@wireshark.org>
2015-10-01Fix typos.Michael Tüxen1-2/+2
Change-Id: I3c03cbb064d1d7ffd579982b2e670b84b1768db2 Reviewed-on: https://code.wireshark.org/review/10717 Reviewed-by: Michael Tüxen <tuexen@wireshark.org>
2015-10-01SCTP: Add I_DATA supportruengeler1-2/+2
Change-Id: Ib8566b7d94fdafdb9735b356d129f378c94af3cf Reviewed-on: https://code.wireshark.org/review/10716 Reviewed-by: Michael Tüxen <tuexen@wireshark.org> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
2015-02-15ui/gtk/*.c: Add editor modelines; As needed: Fix indentationBill Meier1-0/+13
Change-Id: I8cd9d9fe5f12c284f46b8f725766f681faccd753 Reviewed-on: https://code.wireshark.org/review/7138 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2015-01-01Remove unneeded includes from ui folderMartin Mathieson1-7/+0
Change-Id: Ifd1eebff9080cd3867e44e4dcb2d2681370ed60a Reviewed-on: https://code.wireshark.org/review/6128 Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2014-03-15Fix -Wabsolute-value in GTK SCTP Graph (Found by Clang 3.5)Alexis La Goutte1-2/+2
sctp_graph_dlg.c:1562:18: error: taking the absolute value of unsigned type 'unsigned int' has no effect [-Werror,-Wabsolute-value] sctp_graph_dlg.c:1562:18: note: remove the call to 'abs' since unsigned values cannot be negative sctp_graph_dlg.c:1574:18: error: taking the absolute value of unsigned type 'unsigned int' has no effect [-Werror,-Wabsolute-value] sctp_graph_dlg.c:1574:18: note: remove the call to 'abs' since unsigned values cannot be negative Change-Id: If3cdce123256543a95fe0b596eee962e1d93d118 Reviewed-on: https://code.wireshark.org/review/674 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-03-11Migrate GTK icon handling to GTK 3.10 APIBalint Reczey1-1/+2
GtkStockItem usage is deprecated with all the GTK_STOCK_.* stock ids. We keep a stock id based approach but without relying on GTK's GtkStockItem system. We create our own internal stock ids for {icon, label} tuples and keep the original GTK stock id #define-s and values to preserve backward compatibility. Change-Id: Ia0b35a5903f079e92c8026e3df21bbf0be2d06b0 Reviewed-on: https://code.wireshark.org/review/302 Reviewed-by: Gerald Combs <gerald@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2013-11-17Move the epan/filesystem.c routines to wsutil; they're not specific toGuy Harris1-1/+1
packet dissection, they're specific to the entire Wireshark suite of programs. svn path=/trunk/; revision=53377
2013-11-10Add missing includes in order to remove exceptions.h from proto.h (next commit).Jakub Zawadzki1-0/+2
svn path=/trunk/; revision=53230
2013-10-29Make the packet analysis for SCTP independent from GTK and QT.Irene Rüngeler1-1/+2
svn path=/trunk/; revision=52945
2013-10-26From robionekenobi via ↵Pascal Quantin1-2/+4
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-24Revert previous commit of Irene, which doesn't work (yet).Michael Tüxen1-1/+1
svn path=/trunk/; revision=52814
2013-10-24Move sctp_stat to ui to make it independent from gtk.Irene Rüngeler1-1/+1
svn path=/trunk/; revision=52812
2013-04-19Show Forward_Tsn chunks in the graphIrene Rüngeler1-1/+7
svn path=/trunk/; revision=48925
2013-03-28Follow up on bug 8416.Jaap Keuter1-1/+1
Remove C++ incompatibilities in GTK+ 3 code. svn path=/trunk/; revision=48606
2013-03-21From beroset:Bill Meier1-16/+16
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 attachment #10404 Note: The following parts of the patch had been previously done: asn1/snmp/packet-snmp-template.c epan/dissectors/packet-snmp.c epan/dissectors/packet-x11.c Also; hostlist_table.c: code under '#ifdef HAVE_GEOIP' didn't compile and needed a few additional patches. svn path=/trunk/; revision=48447
2013-02-21Don't yell at the user quite so much. Remove exclamation points fromGerald Combs1-2/+2
some error messages and rephrase some others. svn path=/trunk/; revision=47787
2013-01-16Remove redundant call to gtk_box_set_child_packing().Bill Meier1-1/+0
svn path=/trunk/; revision=47128
2013-01-06Use gdk_cairo_set_source_rgba and GdkRGBAAnders Broman1-13/+14
svn path=/trunk/; revision=46977
2012-12-26Fix a bunch of warnings.Guy Harris1-4/+4
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
2012-12-05Fix numerous instances of a variable/parameter name "shadowing" a library ↵Bill Meier1-4/+4
function name; (At least some (gcc ?) compilers give a "shadow" warning for these). svn path=/trunk/; revision=46402
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45016
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-06-03g_filename_display_basename() returns a g_mallocated string, so itsGuy Harris1-1/+4
callers either need to free it or their callers need to free it or.... This means that cf_get_display_name() must always return a g_mallocated string and its callers or... must free it. For some of those callers, create a new set_window_title() routine to do the work - they're all using the same pattern. svn path=/trunk/; revision=43047
2012-04-21More GTK3 adaptationsAnders Broman1-1/+1
svn path=/trunk/; revision=42187
2012-04-21Missing includeAnders Broman1-1/+1
svn path=/trunk/; revision=42177
2012-04-21Replace gtk_vbox_new() and gtk_hbox_new() with ws_gtk_box_new().Anders Broman1-1/+1
svn path=/trunk/; revision=42176
2012-04-15Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-1/+0
svn path=/trunk/; revision=42086
2012-03-28From Irene Ruengeler: Fix a crash.Michael Tüxen1-3/+5
svn path=/trunk/; revision=41818
2012-01-16Move some headers for UI stuff, and the alert_box.c UI-specific file, toGuy Harris1-2/+2
the ui directory. (Perhaps some other files that would be used by all flavors of Wireshark, for any GUI toolkit or for someting such as ncurses, and not for any command-line tool such as TShark, should be moved there as well.) Shuffle some #includes to put the "ui/XXX.h" includes together. svn path=/trunk/; revision=40529
2012-01-15Move gtk to ui/gtk.Jörg Mayer1-0/+1867
This looses the last checkin to gtk, will add this manually back. svn path=/trunk/; revision=40518