aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
AgeCommit message (Collapse)AuthorFilesLines
2009-03-22Change the signature of init_progfile_dir() so the casting of theGuy Harris1-1/+1
function pointer (to main) to an argument to dladdr() is done in init_progfile_dir() rather than its callers. svn path=/trunk/; revision=27814
2009-03-22In Solaris, the second argument to dladdr() is just a void *, not aGuy Harris1-2/+1
const void *. svn path=/trunk/; revision=27813
2009-03-22Attempt to use dladdr() to get the pathname of the executable image ifGuy Harris1-1/+2
it's available and works. svn path=/trunk/; revision=27812
2009-03-19As suggested by Jakub Zawadzki: actually use sizeof(...) rather than a ↵Bill Meier25-204/+207
numeric constant in various places; svn path=/trunk/; revision=27800
2009-03-19-As suggested by Jakub Zawadzki: use sizeof(...) rather than a numeric ↵Bill Meier1-112/+125
constant in various places; Also: - Change indentation to be consistent; svn path=/trunk/; revision=27799
2009-03-19-As suggested by Jakub Zawadzki: use sizeof(...) rather than a numeric ↵Bill Meier1-814/+809
constant in various places; Also: - Change ct_port_to_str to be slightly simpler and more efficient; - Change indentation to be consistent; svn path=/trunk/; revision=27798
2009-03-18Use retx info in stats window.Martin Mathieson3-5/+36
User guide help not added yet, as having trouble building... svn path=/trunk/; revision=27776
2009-03-18 From Jakub Zawadzki: g_gnprintf & etc: Use size of buffer [not size -1];Bill Meier1-851/+883
From me: - As suggested by Jakub actually use sizeof(...) rather than a numeric constant in various places; - Use #if 0 rather than /* */ to comment out code; - Fix indentation to be consistent. svn path=/trunk/; revision=27773
2009-03-18From Jakub Zawadzki: g_gnprintf & etc: Use size of buffer [not size -1];Bill Meier1-3/+3
- As suggested actually use sizeof(...) rather than a numeric constant. - g_snprintf() and g_vsnprintf() since glib 1.3.12 do not return -1. svn path=/trunk/; revision=27772
2009-03-18From Jakub Zawadzki: Use size of buffer [not size -1];Bill Meier1-376/+371
Also: as suggested actually use sizeof() rather than a constant. From me: -Rework hostlist_port_to_str slightly to be simpler and more efficient; -Fix indentation to be consistent. svn path=/trunk/; revision=27771
2009-03-17Clean up indentation.Guy Harris1-27/+30
Cast the num_msus and num_bytes values to double before dividing them by the appropriate divisor, to make sure the division is done in floating point; that's only necessary in one case (when dividing by an integer), but we do it in all cases for regularity. g_strdup_printf() g_mallocs the string; use g_strdup() for the zero-divisor case, so that the string is g_mallocated in all cases. Note in a comment that they need to be freed. Make the array to which the strings in question are allocated arrays of "char *" rather than "const char *", to catch cases where a constant string is assigned to them. svn path=/trunk/; revision=27760
2009-03-17Get rid of another Clist.Anders Broman1-194/+178
svn path=/trunk/; revision=27757
2009-03-17Commited by mistake, reverting.Anders Broman1-36/+2
svn path=/trunk/; revision=27752
2009-03-16Fix syntax error.Guy Harris1-1/+1
svn path=/trunk/; revision=27747
2009-03-16Replace use of unneccessary (and deprecated) GtkCtree.Bill Meier1-1/+1
svn path=/trunk/; revision=27746
2009-03-16[Trivial] fix some wording in a commentBill Meier1-1/+1
svn path=/trunk/; revision=27743
2009-03-16Fix compilation: Mark unused arg as _U_.Michael Tüxen1-2/+2
svn path=/trunk/; revision=27742
2009-03-16Get rid of Clists, move a comment, move display as hex to gui_utils.Anders Broman8-457/+424
svn path=/trunk/; revision=27741
2009-03-15Add checkapi for deprecated Gtk APIs for which Wireshark is currently clean.Bill Meier1-1/+1
checkapi will Error if any of these APIs are seen. svn path=/trunk/; revision=27730
2009-03-13From Jakub Zawadzki (bug 3331):Stig Bjørlykke28-139/+68
g_free() is NULL safe, so we don't need check against it. svn path=/trunk/; revision=27718
2009-03-13From Bahaa Naamneh (bug 3332):Stig Bjørlykke1-5/+31
Disable the Auto-Completion feature in the Find Dialog when "String" or "Hex value" radio button is selected. svn path=/trunk/; revision=27717
2009-03-12From Jakub Zawadzki (bug3330):Stig Bjørlykke1-14/+27
Fix memleaks in expert_comp_dlg.c. svn path=/trunk/; revision=27712
2009-03-12From Jakub Zawadzki:Stig Bjørlykke9-46/+45
Use non-formatting functions when appropriate. svn path=/trunk/; revision=27709
2009-03-11Get the build going again on non-Windows compilers.Jaap Keuter2-7/+7
svn path=/trunk/; revision=27697
2009-03-11From Carlos Mendioroz:Anders Broman6-0/+3867
IAX2 calls statistics window ala RTP. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3217 svn path=/trunk/; revision=27696
2009-03-10Replace use of perror; Also: define various fcns as staticBill Meier1-12/+12
svn path=/trunk/; revision=27689
2009-03-09Fix a (very) minor memory leak; include tempfile.h only if _WIN32Bill Meier1-2/+3
svn path=/trunk/; revision=27686
2009-03-09Replace use of ("prohibited") tmpnam() with codeBill Meier1-8/+28
adapted from print_dlg.c; Also: fix some bugs wherein an incorrect filename could be printed if an error occurred opening/writing/etc an output file. svn path=/trunk/; revision=27680
2009-03-09Use "wshprint" (instead of "ethprint") for prefix of temp file name;Bill Meier1-6/+6
Also: add to comment about non-use of tmpnam svn path=/trunk/; revision=27679
2009-03-09Add $Id$Bill Meier1-0/+2
svn path=/trunk/; revision=27678
2009-03-09Fix non-ascii character in file...Bill Meier1-1/+1
svn path=/trunk/; revision=27677
2009-03-09stat() ==> ws_stat() [to keep checkAPIs happy];Bill Meier1-3/+4
Also: free() ==> g_free(); svn path=/trunk/; revision=27676
2009-03-09Use ws_fopen() [not fopen()] so that a path\filename withBill Meier1-1/+3
non-ascii charcters will work properly. svn path=/trunk/; revision=27675
2009-03-09 Fix File ! Export ! Selected Bytes [Windows] crash whichBill Meier1-7/+8
occurred if the file path\filename contained non-ascii characters. 1. Use ws_open() [not open()] so UTF8 path\filenames properly converted to UTF16 before the open; 2. If the open/write/close failed, fix crash due to NULL filename pointer used when trying to popup an error message box. svn path=/trunk/; revision=27674
2009-03-09Handle BASE_NONE as BASE_DEC until we get a proper handling of integerStig Bjørlykke1-0/+1
values with BASE_NONE and a value string. svn path=/trunk/; revision=27669
2009-03-08Remove a unused g_strdup().Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=27666
2009-03-08Don't close the UAT dialog when pressing Apply.Stig Bjørlykke1-14/+14
Default to the ok button in the UAT edit dialog. Append a ":" to the title labels in the edit and delete dialogs. svn path=/trunk/; revision=27665
2009-03-08Fix File ! Save As on Windows to properly delete an existing file even if the Bill Meier1-4/+7
path\filename contains non-ascii characters. svn path=/trunk/; revision=27662
2009-03-08add "PPP/SLIP" to the dialup interfacesUlf Lamping1-1/+2
svn path=/trunk/; revision=27660
2009-03-08Implemented edit dialogs for integer, string and range values inStig Bjørlykke1-4/+180
the submenu containing the preferences for the protocol. svn path=/trunk/; revision=27653
2009-03-08Trying to fix the build on non-Win32 platforms.Jaap Keuter1-1/+1
svn path=/trunk/; revision=27649
2009-03-08Get rid of more code related to the Clist removal.Anders Broman1-20/+1
svn path=/trunk/; revision=27648
2009-03-08Get rid of another Clist.Anders Broman1-282/+199
svn path=/trunk/; revision=27647
2009-03-07Fix "ansi_a_stat.c:314: warning: unused variable ‘default_titles’"Anders Broman1-2/+0
svn path=/trunk/; revision=27646
2009-03-07Get rid of another Clist.Anders Broman1-225/+169
svn path=/trunk/; revision=27645
2009-03-06Fix some usage of deprecated GTK+ functionsBill Meier2-3/+2
svn path=/trunk/; revision=27630
2009-03-06Rename a variable ('free') so checkAPIs doesn't incorrectly flag it.Bill Meier1-6/+6
svn path=/trunk/; revision=27627
2009-03-06Get rid of a Clist and move the functon to display floats with two decimals ↵Anders Broman5-289/+308
to gui_utils. svn path=/trunk/; revision=27621
2009-03-03Try to make the solaris buildbot happy.Anders Broman1-1/+21
svn path=/trunk/; revision=27583
2009-03-02Remove a variable that is no longer used as of svn rev 27580Stephen Fisher1-1/+1
svn path=/trunk/; revision=27581