aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
AgeCommit message (Collapse)AuthorFilesLines
2009-05-20From Jakub Zawadzki via bug 3421:Gerald Combs2-2/+2
e_ip->ip_ttl is currently always set to 0, in attachment fix. I also (in same patch, sorry) submit cleanup to use ep_alloc() instead of static e_ip buffers, I didn't test it, but I hope it's ok. There's note about static buffers in doc/README.tapping, which should also be updated, but I don't feel so good with my English :) From me: Rename e_ip to ws_ip. Update the static buffers note in README.tapping. svn path=/trunk/; revision=28425
2009-05-19expert_comp: Fix some memory leaks (several non-trivial);Bill Meier1-22/+42
Fix hack wherein a ptr was stored using the address of an int (could cause Win64 crash ?) Use consistent indentation; svn path=/trunk/; revision=28410
2009-05-18prefs_column: fix a small memory leak.Bill Meier1-2/+1
svn path=/trunk/; revision=28403
2009-05-18Use g_strdup_printf() instead of g_snprintf() with a fixed buffer.Stig Bjørlykke1-11/+9
svn path=/trunk/; revision=28402
2009-05-18Fix a small memory leak.Stig Bjørlykke1-0/+2
svn path=/trunk/; revision=28401
2009-05-18pixmap_save: fix a small memory leak.Bill Meier1-8/+6
svn path=/trunk/; revision=28400
2009-05-18mtp3_summary: fix a small memory leak.Bill Meier1-3/+4
svn path=/trunk/; revision=28399
2009-05-18prefs_capture: Interface Options Edit dialog: code cleanup;Bill Meier1-286/+288
- Fix typo which caused Properties|Descriptions value field to be incorrectly right-justified; - Fix several (small) memory leaks; - Rename variables & rework comments: What was a clist was replaced by a treeview/liststore; - Remove a left-over line of code still calling a gtk_clist function; - Rename some constants and variables to more closely reflect usage; - Add some defensive coding; - Use gtk_combo_box_get_active_text if GTK+ is 2.6 or greater; - Simplify code in several places; - Use consistent indentation; svn path=/trunk/; revision=28398
2009-05-18Don't skipp the first entry.Anders Broman1-18/+20
svn path=/trunk/; revision=28393
2009-05-17From Roland Illig via bug 1764:Gerald Combs1-3/+4
The hexdump of the "Follow TCP Stream" feature creates a file that is about 160 characters wide. That's far beyond the size of my screen. The appended patch suggests a narrower layout. From me: Add a note about prepending each line with "C" or "S" instead. svn path=/trunk/; revision=28386
2009-05-14Extend error reporting from PortAudio library.Jaap Keuter1-0/+69
svn path=/trunk/; revision=28358
2009-05-13Remove airpcap_get_all_channels_list, it isn't usedJörg Mayer2-54/+0
anywhere. svn path=/trunk/; revision=28354
2009-05-13Forgot to convert the types in these files as well.Jörg Mayer2-19/+19
svn path=/trunk/; revision=28353
2009-05-13() -> (void)Jörg Mayer1-2/+2
svn path=/trunk/; revision=28352
2009-05-13Don't check if unsigned values are > 0.Stig Bjørlykke3-13/+9
Removed some unused variables and marked some unused arguments. svn path=/trunk/; revision=28351
2009-05-13Migrate the Airpcap UI code from GtkCombos (deprecated) to GtkComboBoxes.Gerald Combs8-831/+553
Consolidate some common code. Rename a bunch of variables. Remove some unused code. Fix an offset flag bug in airpcap_loader.c. This had to be merged by hand with r28349. Hopefully none of those changes were clobbered. svn path=/trunk/; revision=28350
2009-05-13Do not prototype static functions in the header file.Stig Bjørlykke2-113/+38
Removed some unused empty functions. Mark some unused arguments. Removed some unused variables. svn path=/trunk/; revision=28349
2009-05-13Make it compile without warnings on OSX.Stig Bjørlykke1-2/+2
Removed unused wep_closed_24.xpm. svn path=/trunk/; revision=28348
2009-05-13Fixed some compiler warnings on OSX.Stig Bjørlykke1-9/+5
Removed some unused variables. svn path=/trunk/; revision=28347
2009-05-13Removed some unused variables.Stig Bjørlykke1-7/+3
svn path=/trunk/; revision=28346
2009-05-13Initialize some uninitialized variables.Stig Bjørlykke1-3/+3
svn path=/trunk/; revision=28345
2009-05-13Removed an unused variable.Stig Bjørlykke1-3/+0
svn path=/trunk/; revision=28344
2009-05-13ULONG -> guint32Jörg Mayer1-1/+1
svn path=/trunk/; revision=28339
2009-05-11#if 0 out an unused function declaration. Make itJörg Mayer2-2/+5
match its implementation return type anyway. The Airpcap icon should only depend of HAVE_AIRPCAP but not on _WIN32 svn path=/trunk/; revision=28330
2009-05-08Make gtk/capture_if_details_dlg_win32.c compileable using MSVC6 with SDKTomas Kukosa1-1/+6
svn path=/trunk/; revision=28314
2009-05-08Clist -> list_storeAnders Broman1-160/+338
svn path=/trunk/; revision=28310
2009-05-08Warningfix:Jörg Mayer9-9/+9
function() -> function(void) svn path=/trunk/; revision=28302
2009-05-07Restore original spacing in several constant strings Bill Meier1-4/+4
(as it was before I introduced some incorrect 'tabification' in SVN 27773) svn path=/trunk/; revision=28294
2009-05-07Change some usage of tabs within string constants to spaces.Bill Meier1-4/+4
svn path=/trunk/; revision=28293
2009-05-07gtk_check_menu_item_set_show_toggle() is deprecated and not needed.Bill Meier1-1/+0
[show_toggle is always TRUE]. svn path=/trunk/; revision=28292
2009-05-06Analyze!EnabledProtocols: Remove unnecessary line of code added in the ↵Bill Meier1-1/+0
previous commit; svn path=/trunk/; revision=28290
2009-05-06Analyze!Enabled Protocols: For OK/Apply/Cancel: Cancel reverts to "Last ↵Bill Meier1-10/+24
Saved" (ie: state after any Apply) svn path=/trunk/; revision=28289
2009-05-05Get rid of deprecated functions by removingAnders Broman1-37/+0
"#if 0":ed code. svn path=/trunk/; revision=28278
2009-05-05Get rid of deprecated functions:Anders Broman1-1/+1
gtk_type_class (); -> g_type_class_ref (); svn path=/trunk/; revision=28277
2009-05-05prefs_dlg: Cancel always reverts to "Last Saved" [Part 1]Bill Meier1-0/+57
svn path=/trunk/; revision=28276
2009-05-05The reason why the expert_item value is null when performing a retap isGuy Harris1-15/+17
that a retap doesn't build the protocol tree unless there's a tap with a filter; presumably "the expert_item value" refers to the item to which expert information is being attached. However, if there's no protocol item, the only thing expert_add_info_format() doesn't do is set the severity and group for a protocol item, but the expert info composite dialog doesn't appear to look at that. Thus, it appears we can just use cf_retap_packets(); do so, as it's faster. svn path=/trunk/; revision=28270
2009-05-04From Didier Gautheron (bug 3126):Stig Bjørlykke8-18/+28
Update expert info icon on redissect. svn path=/trunk/; revision=28269
2009-05-04prefs_column: Rework & cleanup Column Preferences dialog codeBill Meier2-157/+260
- Re-create packet-list only when Columns change vs every time Edit!Preferences invoked; - Select next row in Column List after delete of a row; - Remove no-longer needed code; - ... svn path=/trunk/; revision=28268
2009-05-04Fix some spelling, reword some comments & etc.Bill Meier1-20/+20
svn path=/trunk/; revision=28267
2009-05-03prefs_dlg: Fix an inadvertant character deletion in last commit;Bill Meier1-1/+1
svn path=/trunk/; revision=28266
2009-05-03prefs_dlg: use consistent indentationBill Meier1-299/+312
svn path=/trunk/; revision=28265
2009-05-01Use consistent indentationBill Meier1-310/+325
svn path=/trunk/; revision=28233
2009-04-29Add the ability to push and pop messages in to and out of the welcomeGerald Combs3-25/+84
screen header, similar to the status bar. Hide the welcome body if the message stack length is > 0. Use this to display the "Waiting for capture input data..." message when we're capturing from a pipe. This lets the user know what's going on and keeps them from clicking on a welcome screen item while we're waiting for data to arrive. You can see this in action by running (sleep 5; cat /path/to/a/capture) | wireshark -k -i - svn path=/trunk/; revision=28196
2009-04-28find_dlg: handler_id returned from g_signal_connect is gulong (not int)Bill Meier1-2/+2
svn path=/trunk/; revision=28189
2009-04-27follow_stream: Oops: revert making functions static.Bill Meier1-16/+16
svn path=/trunk/; revision=28178
2009-04-27follow_stream: Don't load follow text twice when initially building the window;Bill Meier1-18/+19
Also: Define various internal functions as static; svn path=/trunk/; revision=28177
2009-04-24From Artem Tamazov (bug 3436):Stig Bjørlykke1-2/+2
Initialize some pointers. svn path=/trunk/; revision=28147
2009-04-22More float-constant-not-double-constant fixes.Guy Harris1-1/+1
svn path=/trunk/; revision=28116
2009-04-21From Artem Tamazov: Fix compilation for Visual C++ 7.1.Gerald Combs1-1/+14
svn path=/trunk/; revision=28110
2009-04-21Turn on -Wshorten-64-to-32 by default, and fix some issues that turnedGuy Harris38-98/+98
up (99 44/100% of which were assignments of double-precision floating-point constants to floats). Hopefully this will catch at least some P64 issues on UN*X. svn path=/trunk/; revision=28108