aboutsummaryrefslogtreecommitdiffstats
path: root/ui
AgeCommit message (Collapse)AuthorFilesLines
2012-05-16Free memory when create_tempfile() failed.Jakub Zawadzki2-0/+6
svn path=/trunk/; revision=42654
2012-05-16Check the return value of create_tempfile. Fixes CIDs 280527 and 280528.Gerald Combs2-26/+47
svn path=/trunk/; revision=42645
2012-05-15Don't leak an open file handle (CID 702423).Gerald Combs1-0/+1
svn path=/trunk/; revision=42642
2012-05-12From Akos Lukovics:pascal1-1/+3
Fix div-by-zero error in the moving average filter of IO graph https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6236 svn path=/trunk/; revision=42598
2012-05-12Fix bug #7251Jakub Zawadzki1-2/+2
We're already checking in gtk if end highlight offsets don't exceed len. Do the same for start offset. I wonder if it this checks should be also done when adding items to tree... svn path=/trunk/; revision=42596
2012-05-11Clean up indentation. (HT should not be assumed to work on 4-space tabGuy Harris1-628/+627
stops.) svn path=/trunk/; revision=42580
2012-05-11proto_registrar_get_ftype() returns an FT_ value; make its return typeGuy Harris2-0/+37
"enum ftenum" to reflect that, and fix the "switch doesn't handle XXX" warnings that provokes. svn path=/trunk/; revision=42579
2012-05-10Avoid needlessly shadowing a variable.Martin Mathieson1-1/+0
svn path=/trunk/; revision=42551
2012-05-07Avoid calling tvb_get_ptr() on 0-length TVBs.Jakub Zawadzki2-22/+7
It seems to be better fix than r42420 svn path=/trunk/; revision=42460
2012-05-05AFAICT '#include sys/types.h' is not needed for these files.Bill Meier15-60/+0
svn path=/trunk/; revision=42446
2012-05-05AFAICT '#include sys/types.h' is not needed for these files.Bill Meier85-299/+0
svn path=/trunk/; revision=42443
2012-05-05Cosmetic change....Bill Meier1-1/+1
svn path=/trunk/; revision=42440
2012-05-05Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6892 :Jeff Morriss1-4/+14
Sort the recent filters list by "most recently used" (that is, put the most recently used filter at the head of the list). svn path=/trunk/; revision=42439
2012-05-05Clean up white space and indentation; remove tabs.Jeff Morriss1-37/+36
svn path=/trunk/; revision=42438
2012-05-04Fix opening packet window when frame has got cap_len = 0 (i.e. last frame ↵Jakub Zawadzki1-2/+19
from mime_file reader) Workaround, if someone has better idea how to fix it, please do. svn path=/trunk/; revision=42420
2012-05-04Add proto_hier_tree_model.c to CMakeListsJakub Zawadzki1-0/+1
svn path=/trunk/; revision=42419
2012-05-04cleanup proto_hier_tree_model a little.Jakub Zawadzki1-19/+17
svn path=/trunk/; revision=42415
2012-05-04Fix memleak of GtkTextBufferJakub Zawadzki1-1/+4
svn path=/trunk/; revision=42414
2012-05-04From Jakub Zawadzki: Use custom model in Filter Expression dialog.Anders Broman4-36/+519
svn path=/trunk/; revision=42411
2012-05-04From Evan Huus: - Make sure that unsupported link-layer types *always* have ↵Anders Broman2-21/+57
a dlt of -1 in the `device.links` list so that we can tell if they're unsupported. - When building the combo-box of link-layer types, make the unsupported ones insensitive (disabled), and be sure to default to a supported one if we have one. - Compiling a capture filter requires a supported link-layer type, so disable the 'Compile BPF' button if there are none. - It is not always a programming error to have no active pointer in the combo-box, as this can happen when all the available entries are unsupported (and thus disabled). Don't abort with g_assert_not_reached() when this happens. - Unlock the `pcap_compile_mtx` mutex in all cases after compiling a packet filter. This was causing a deadlock (complete program hang) if you tried to compile two different filters in a row on the same interface. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7135 svn path=/trunk/; revision=42410
2012-05-03From Klaus Heckelmann via ↵Chris Maynard2-14/+16
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7221: Avoid wireshark crash on platforms where an 8 byte alignment is required by changing the resp_time field in the icmp_transaction_t from a double to an nstime_t. svn path=/trunk/; revision=42393
2012-04-28Test a return value to avoid an initialised warning from clang.Martin Mathieson1-6/+5
svn path=/trunk/; revision=42313
2012-04-27Fix sigsegv in filter expression dialog when user clicked on some ↵Jakub Zawadzki1-1/+1
BASE_CUSTOM field. svn path=/trunk/; revision=42301
2012-04-27Don't store protocol field names in Filter Expression dialog.Jakub Zawadzki1-21/+40
Using gtk_tree_view_column_set_cell_data_func() and formating string on request gives significant speedup (before patch: 12.392ms, after: 9.779ms). svn path=/trunk/; revision=42291
2012-04-26Get rid of tabs; make white space consistent.Guy Harris1-53/+43
Get rid of gtk_widget_set_size_request() calls - at least on my machine and GTK+ version, they make some of the items too small to show the full text. Let GTK+ figure out how big things have to be - and if that makes the toolbar too wide, redesign the toolbar. svn path=/trunk/; revision=42277
2012-04-26Consistently InterCapitalize StatusBar.Guy Harris1-8/+8
Separate "Toolbar" from the toolbar name in the View menu items. Use "l", rather than "W", as the whatchamacallit for the wireless toolbar - "W" is already used for "show packet in new window". svn path=/trunk/; revision=42275
2012-04-26While we're at it, add back the shortcuts, or whatever the heck theGuy Harris1-3/+3
Alt+{letter}+... things are called, for the Expand and Collapse items. svn path=/trunk/; revision=42274
2012-04-26Restore Accelerators for "Expand Subtree", "Expand All" and "Collapse All".Anders Broman1-4/+4
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7197 svn path=/trunk/; revision=42261
2012-04-24Add missing ";"Anders Broman1-2/+2
svn path=/trunk/; revision=42222
2012-04-23Get it compiling...Michael Tüxen1-21/+24
svn path=/trunk/; revision=42214
2012-04-23Use a crosshair cursor insted of the XOR thingy.Anders Broman1-33/+97
Selected with a define to make it easily reversed if some one does not like it. svn path=/trunk/; revision=42210
2012-04-23Fix a compile error (missing semi-colon) when building for gtk3Bill Meier1-1/+1
svn path=/trunk/; revision=42209
2012-04-23g_object_unref(cursor) craches pre GTK 3.0 protect it withAnders Broman1-1/+5
#if GTK_CHECK_VERSION(3,0,0) svn path=/trunk/; revision=42207
2012-04-23Fix bug #7178 reported by aparanruengeler1-0/+13
svn path=/trunk/; revision=42206
2012-04-23Use GtkFontChooser if GTK >= 3.2Anders Broman2-2/+14
svn path=/trunk/; revision=42205
2012-04-23Get rid of GTK warning when START was hit in the "Capture Interfaces Dialog" ↵ruengeler1-0/+12
while a device was hidden. svn path=/trunk/; revision=42204
2012-04-22Add casts to make in compile on WindowsAnders Broman1-3/+3
svn path=/trunk/; revision=42191
2012-04-22Use g_object_unrefAnders Broman1-1/+1
svn path=/trunk/; revision=42190
2012-04-21Another cut-and-pasteo.Guy Harris1-2/+2
svn path=/trunk/; revision=42188
2012-04-21More GTK3 adaptationsAnders Broman23-36/+36
svn path=/trunk/; revision=42187
2012-04-21port gtk_scrollbar_new() gtk_paned_new() gtk_separator_new() to GTK2Anders Broman6-8/+38
svn path=/trunk/; revision=42186
2012-04-21Fix probable cut-and-pasteo.Guy Harris1-2/+2
svn path=/trunk/; revision=42185
2012-04-21Clean up indentation (get rid of 4-space tabs).Guy Harris1-3/+3
svn path=/trunk/; revision=42184
2012-04-21gtk_button_box_new() for pre GTK 3.0Anders Broman2-0/+14
svn path=/trunk/; revision=42183
2012-04-21Clean up indentation - don't use 4-space tabs.Guy Harris1-51/+49
svn path=/trunk/; revision=42182
2012-04-21GTK+ 1.x is no longer supported, and there's no toggle_tree to move anyGuy Harris1-1/+0
more; remove a comment. svn path=/trunk/; revision=42181
2012-04-21"homogeneous" is a Boolean; we can just pass it on to gtk_hbox_new() andGuy Harris1-13/+4
gtk_vbox_new(). svn path=/trunk/; revision=42180
2012-04-21Include "ui/gtk/gui_utils.h" so the ws_gtk_box routines are declared.Guy Harris4-0/+4
svn path=/trunk/; revision=42179
2012-04-21Replace gtk_vbox_new() and gtk_hbox_new() with ws_gtk_box_new().Anders Broman14-33/+33
svn path=/trunk/; revision=42178
2012-04-21Missing includeAnders Broman2-2/+2
svn path=/trunk/; revision=42177