aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/decode_as_dlg.c
AgeCommit message (Collapse)AuthorFilesLines
2009-07-11From Artem Tamazov:Anders Broman1-0/+1
Analyze->Decode as... menu item becomes unavailable in some situations.(Ethernet-PW) https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3642 svn path=/trunk/; revision=29063
2009-05-04From Didier Gautheron (bug 3126):Stig Bjørlykke1-3/+4
Update expert info icon on redissect. svn path=/trunk/; revision=28269
2009-04-21Turn on -Wshorten-64-to-32 by default, and fix some issues that turnedGuy Harris1-1/+1
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
2009-03-19As suggested by Jakub Zawadzki: actually use sizeof(...) rather than a ↵Bill Meier1-16/+16
numeric constant in various places; svn path=/trunk/; revision=27800
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-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 Broman1-1/+35
svn path=/trunk/; revision=27741
2009-03-13From Jakub Zawadzki (bug 3331):Stig Bjørlykke1-2/+1
g_free() is NULL safe, so we don't need check against it. svn path=/trunk/; revision=27718
2008-12-10put the SCTP PPI for current DATA chunk into packet_info (and ppid array ↵Tomas Kukosa1-5/+5
renamed to ppids) svn path=/trunk/; revision=26958
2008-11-23Handle double-click and enter in "decode as" list as OK.Stig Bjørlykke1-38/+61
Reindent some blocks. svn path=/trunk/; revision=26831
2008-07-13From Francesco Fondelli:Jaap Keuter1-0/+8
Attached is a patch for: - PW Associated Channel Header dissection as per RFC 4385 - PW MPLS Control Word dissection as per RFC 4385 - mpls subdissector table indexed by label value - enhanced "what's past last mpls label?" heuristic - Ethernet PW (w/o CW) support as per RFC 4448 svn path=/trunk/; revision=25730
2008-06-29Fix some simple cases of GTK2 deprecated API usage by using a renamed or ↵Bill Meier1-17/+17
equivalent API gtk_container_border_width() ==> gtk_container_set_border_width() gtk_container_children() ==> gtk_container_get_children() gtk_entry_new_with_max_length() ==> gtk_entry_new(); gtk_entry_set_max_length() gtk_menu_append() ==> gtk_menu_shell_append() gtk_menu_prepend() ==> gtk_menu_shell_prepend() gtk_notebook_set_page() ==> gtk_notebook_set_current_page() gtk_paned_gutter_size() ==> gtk_paned_set_gutter_size() gtk_radio_button_group() ==> gtk_radio_button_get_group() gtk_signal_connect() ==> g_signal_connect() gtk_signal_disconnect() ==> g_signal_handler_disconnect() gtk_signal_emit_by_name() ==> g_signal_emit_by_name() gtk_signal_handler_block_by_data() ==> g_signal_handlers_block_matched() gtk_signal_handler_block_by_func() ==> g_signal_handlers_block_by_func() gtk_signal_handler_unblock_by_data() ==> g_signal-handlers_unblock_matched() gtk_signal_handler_unblock_by_func() ==> g_signal-handlers_unblock_by_func() gtk_spin_button_get_value_as_float() ==> gtk_spin_button_get_value() gtk_toggle_button_set_state() ==> gtk_toggle_button_set_active() svn path=/trunk/; revision=25634
2008-06-21Removed the usage of topic_available() as we now have all topics.Stig Bjørlykke1-18/+6
svn path=/trunk/; revision=25505
2008-04-16use a GTK_STOCK_CLEAR hereUlf Lamping1-1/+1
svn path=/trunk/; revision=25073
2008-04-13sort #includes by directoriesUlf Lamping1-9/+11
svn path=/trunk/; revision=24968
2008-04-12where it's not necessary, remove #include "compat_macros.h"Ulf Lamping1-1/+0
svn path=/trunk/; revision=24922
2008-04-11first round to replace SIGNAL_CONNECT with g_signal_connectUlf Lamping1-17/+17
This requires some casts to be added and I just don't want to add casts at all possible places. So I compile and only add casts where the (MSVC) compiler has a hard time. Unfortunately this won't find any problems in Linux/Unix only code - I'll keep an eye on the buildbot and try to fix things as I'm going on ... svn path=/trunk/; revision=24912
2008-04-11OBJECT_..._DATA --> g_object_..._dataBill Meier1-67/+67
svn path=/trunk/; revision=24891
2008-04-09Remove:Anders Broman1-4/+0
#ifdef NEED_G_ASCII_STRCASECMP_H #include "g_ascii_strcasecmp.h" #endif svn path=/trunk/; revision=24868
2008-04-06remove GTK1 codeUlf Lamping1-162/+0
svn path=/trunk/; revision=24815
2008-01-31Add missing g_object_unref for treeview models;Bill Meier1-0/+2
Remove not needed set_tree_model (stats_tree_stat.c) svn path=/trunk/; revision=24230
2007-11-28fix the path to include g_ascii_strcasecmp.hRonnie Sahlberg1-1/+1
svn path=/trunk/; revision=23636
2007-11-27strcasecmp(), strncasecmp(), g_strcasecmp(), and g_strncasecmp() delendaGuy Harris1-0/+4
est. Use g_ascii_strcasecmp() and g_ascii_strncasecmp(), and supply our own versions if they're missing from GLib (as is the case with GLib 1.x). In the code to build the list of named fields for Diameter, don't use g_strdown(); do our own g_ascii_-style upper-case to lower-case mapping in the hash function and use g_ascii_strcasecmp() in the compare function. We do this because there is no guarantee that toupper(), tolower(), and functions that use them will, for example, map between "I" and "i" in all locales; in Turkish locales, for example, there are, in both upper case and lower case, versions of "i" with and without a dot, and the upper-case version of "i" is "I"-with-a-dot and the lower-case version of "I" is "i"-without-a-dot. This causes strings that should match not to match. This finishes fixing bug 2010 - an earlier checkin prevented the crash (as there are other ways to produce the same crash, e.g. a bogus dictionary.xml file), but didn't fix the case-insensitive string matching. svn path=/trunk/; revision=23623
2007-04-23Add some GCC warnings to the standard set, and add some others to theGuy Harris1-2/+2
--enable-extra-gcc-checks set. If we turn on -pedantic, try turning on -Wno-long-long as well, so that it's not *so* pedantic that it rejects the 64-bit integral data types that we explicitly require. Constify a bunch of stuff, and make some other changes, to get rid of warnings. Clean up some indentation. svn path=/trunk/; revision=21526
2007-03-30Fix "Gtk-CRITICAL **: gtk_tree_selection_get_selected: assertionStephen Fisher1-1/+1
`selection->type != GTK_SELECTION_MULTIPLE' failed" error when opening the User Specified Decodes with multiple decodes setup. The problem is caused by the selection mode for the list being set to multiple. I changed it to none so that the user doesn't get the false impression that you can select only certain items and clear them (the clear button clears them all). svn path=/trunk/; revision=21287
2007-01-13New "decode as ..." feature for BER-encoded files (WTAP_FILE_BER). Graeme Lunt1-1/+12
A BER-encoded file can be dissected as one of a number of registered syntaxes (registered using register_ber_syntax_dissector()). Syntaxes may also be associated with OIDs (or other strings) using register_ber_oid_syntax(). A default syntax with which to dissect a BER-encoded file is determined from its filename (extension). For example, ".cer" and ".crt" files will be dissected as "Certificate". svn path=/trunk/; revision=20414
2006-10-17from Stephen Fisher:Ulf Lamping1-1/+1
Here is a patch for spelling typos in comments and strings in the gtk/ directories. svn path=/trunk/; revision=19568
2006-05-22Get rid of a bunch of "Ethereal"s and "ethereal"s in comments, GUIGuy Harris1-2/+2
strings, and function names. svn path=/trunk/; revision=18205
2005-08-20renamed ui_util.c/.h to gui_utils.c/.h to prevent confusion with identical ↵Ulf Lamping1-1/+1
named ui_util.h in / dir svn path=/trunk/; revision=15465
2005-08-10removed tons of MSVC const related warnings.Ulf Lamping1-8/+8
This might at some places interfere with the changes for gcc4, we might have to negotiate in that case :-) Please note that a lot of these warnings were GTK1.x related only! svn path=/trunk/; revision=15286
2005-08-06Squelch more const pointer warnings.Guy Harris1-1/+1
svn path=/trunk/; revision=15242
2005-08-05More char -> const char warning fixes.Jörg Mayer1-13/+13
Removed (very few) casts that only change the warning message but don't remove it (with gcc-4). svn path=/trunk/; revision=15227
2005-08-02Fix more "no previous declaration" warningsJörg Mayer1-1/+1
svn path=/trunk/; revision=15173
2005-07-24Constify to remove a bunch of warnings. Add some casts to squelchGuy Harris1-11/+12
(presumably-)harmless-but-otherwise-unremovable const-to-nonconst warnings. In the TACACS dissector, clean up the variables used in option parsing to avoid some const-to-nonconst warnings. Clean up some white space. svn path=/trunk/; revision=15043
2005-02-04huge cleanup of capture file API (functions in file.c/file.h).Ulf Lamping1-3/+3
This includes: all functions in file.h now have a cf_ prefix, will have doxygen tags, will have the capture_file *cf as the first parameter and I tried to generalize the return values for non trivial functions. Hopefully, I didn't introduced any new bugs, as I had to change a lot of files... svn path=/trunk/; revision=13289
2005-01-20add some more online help functionality and help buttons at various dialog ↵Ulf Lamping1-4/+23
boxes, if a help page *is* available. However, the new help system needs a lot more work before completed. svn path=/trunk/; revision=13152
2004-12-27Again, some warnings removed.Ulf Lamping1-1/+1
svn path=/trunk/; revision=12842
2004-10-14Fix bugs to get it working on gtk1 and gtk2.Michael Tüxen1-56/+33
Some clean ups. svn path=/trunk/; revision=12297
2004-10-12Support PPID and port number based selection for SCTP. From Irene Ruengeler.Michael Tüxen1-11/+221
svn path=/trunk/; revision=12284
2004-09-29Move various tables into the epan directory.Guy Harris1-1/+1
svn path=/trunk/; revision=12130
2004-09-16The list of protocols should be sorted in a case-insensitive fashion, soGuy Harris1-4/+4
giFT, iSCSI, and iSNS don't show up at the end. Protocol short names are ASCII, so just use "g_ascii_strcasecmp()". Clean up white space. svn path=/trunk/; revision=12020
2004-09-08sort_iter_compare_func() only needed with GTK2Ulf Lamping1-0/+2
svn path=/trunk/; revision=11937
2004-09-07Squelch a compiler warning.Guy Harris1-0/+1
svn path=/trunk/; revision=11933
2004-09-07added a Clear button to the Decode As dialog, also added some tooltips Ulf Lamping1-35/+67
svn path=/trunk/; revision=11929
2004-09-07replace the Cancel with a Close button, as pressing it will not rewind any ↵Ulf Lamping1-13/+12
previously applied operations svn path=/trunk/; revision=11928
2004-09-07two bugfixes: sort items in alphabetical order and don't do a ↵Ulf Lamping1-3/+48
OBJECT_GET_DATA on a NULL pointer svn path=/trunk/; revision=11925
2004-09-07First working implementation of "Decode As" for DCE-RPC interface bindings. ↵Ulf Lamping1-239/+90
Ethereal needs to capture the DCE-RPC bind sequence, to get a relationsship between the interface UUID and the current conversation. If this binding wasn't captured, one can use "Decode As" and choose the interface from a list corresponding to a specific conversation. Currently "only" implemented for connectionoriented (TCP) DCE-RPC, but connectionless is a work in progress. svn path=/trunk/; revision=11924
2004-09-06next steps for a "Decode As" for DCE-RPC interfaces (commented out)Ulf Lamping1-15/+207
svn path=/trunk/; revision=11917
2004-09-06Add the capability to chose to remap the fist two PPIDS in each SCTP packet ↵Michael Tüxen1-8/+28
to a different dissector. svn path=/trunk/; revision=11912