aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/prefs_dlg.c
AgeCommit message (Collapse)AuthorFilesLines
2008-04-23Rename "Taps/Statistics" preference group to be simply "Statistics".Martin Mathieson1-1/+1
"Tap" is a term likely only to be known to developers, and "Statistics" matches the Menu item under which all of the affected windows are launched. svn path=/trunk/; revision=25151
2008-04-21Rename prefs_rtp_player files to prefs_taps.Martin Mathieson1-1/+1
(see rev 25133) svn path=/trunk/; revision=25143
2008-04-21Allow configuration of tap update interval.Martin Mathieson1-15/+7
- rename rtp_player config group to taps/statistics - will rename prefs_rtp_player files later (svn didn't seem keen to rename with changes present, and output says its just a copy/delete anyway...) svn path=/trunk/; revision=25133
2008-04-17Added an option to display hidden protocol items.Stig Bjørlykke1-7/+12
svn path=/trunk/; revision=25108
2008-04-14From Jim Young (bug 2212):Sake Blok1-1/+1
Add the profile name to the title of all the configuration windows. (this is a rewrite of Jim's patch) svn path=/trunk/; revision=25016
2008-04-13change all preferences related filenames from xy_prefs to prefs_xyUlf Lamping1-8/+8
svn path=/trunk/; revision=24975
2008-04-13sort #includes by directoriesUlf Lamping1-21/+22
svn path=/trunk/; revision=24969
2008-04-12move stock icon code from toolbar.c into specific stock_icons file(s)Ulf Lamping1-1/+1
svn path=/trunk/; revision=24921
2008-04-11last round to replace SIGNAL_CONNECT with g_signal_connectUlf Lamping1-9/+9
svn path=/trunk/; revision=24918
2008-04-11replace all appearances of BUTTON_NEW_FROM_STOCK with GTK2's ↵Ulf Lamping1-1/+1
gtk_button_new_from_stock svn path=/trunk/; revision=24904
2008-04-11OBECT_..._DATA --> g_object_..._dataBill Meier1-56/+56
svn path=/trunk/; revision=24894
2008-04-09Remove:Anders Broman1-3/+0
#ifdef NEED_G_ASCII_STRCASECMP_H #include "g_ascii_strcasecmp.h" #endif svn path=/trunk/; revision=24868
2008-04-08remove GTK1 specific font handlingUlf Lamping1-1/+1
svn path=/trunk/; revision=24842
2008-04-07remove GTK1 codeUlf Lamping1-149/+2
svn path=/trunk/; revision=24823
2008-03-01Include epan/strutil.h for gtk-1.2 builds.Michael Tüxen1-0/+1
svn path=/trunk/; revision=24513
2008-02-29Next attempt to cleanup some string functions, including:Stig Bjørlykke1-14/+16
strncpy -> g_strlcpy, strncat -> g_strlcat svn path=/trunk/; revision=24504
2008-02-01Rewrote some prohibited APIs in gtk/ (sprintf, strcpy, strcat).Stig Bjørlykke1-13/+13
If we get some truncated strings we probably overwrote some buffers... svn path=/trunk/; revision=24239
2008-01-18Move libsmi settings from virtual mibs protocol page to name resolution page.Jaap Keuter1-7/+3
svn path=/trunk/; revision=24131
2008-01-17Whitespace cleanup of AIRPCAP code.Jaap Keuter1-59/+59
svn path=/trunk/; revision=24127
2008-01-16From Jim Young:Jaap Keuter1-1/+27
This patch provides a new RTP Player preferences dialog. It allows one to select the maximum number of visable channels in the RTP Player window. The default is four (4) channels which is the maximum number of usable channels that the RTP Player can display and still have access to the bottom row buttons on a 1024*768 resolution display. Specifying a value less than 1 or greater than 10 will be result in the RTP Player displaying the default 4 channels. svn path=/trunk/; revision=24112
2007-11-29hide implementation of module listTomas Kukosa1-9/+9
(it makes easier change from GList to GTree as we have many modules now and GList implementation is slow for searching) svn path=/trunk/; revision=23669
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-4/+8
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-11-21Avoid redraw hex dump windows if redissecting.Stig Bjørlykke1-6/+6
svn path=/trunk/; revision=23532
2007-05-16Fix bug #1548: call of "Protocol Preferences" results in GTK error msgStephen Fisher1-5/+7
at the command line svn path=/trunk/; revision=21808
2007-03-19This change allows a structure to be created under the "Protocols" section ↵Graeme Lunt1-27/+65
of the preferences. A new function is introduced, prefs_register_protocol_subtree(), that allows the subtree the protocol should appear under to be specified. The subtree is specified as a string, with a '/' delimiting each subtree element. For example, prefs_register_protocol(proto_dap, prefs_register_dap); becomes prefs_register_protocol_subtree("OSI/X.500", proto_dap, prefs_register_dap); The function will create all the intermediate subtree nodes that are required, if they don't already exist. This allows the grouping of procotols which should make the list of protocols more manageable as even more are added. The current aim is to group by protocol family e.g. + OSI + X.400 X.411 X.420 + X.500 DISP DAP DOP DSP + X.509 X509AF X509CE ... but others grouping could be envisioned (e.g. by first letter). As the intermediate nodes may already have preferences (e.g. OSI), then modules are now allowed to have submodules. Previously each node was either a subtree or held preferences. This is consistent with the "User Interface" node. The subtree structure has no effect on how the preferences are saved to file, and the "Protocol Preferences..." menu option will bring up the preferences expanded to the correct node. In addition, a new "blank page" has been introduced for intermediate nodes that have no preferences (and is also used when the "Protocols" node itself is chosen). This prevents confusion when the user moves from a node with preferences to a node without preferences, but the page old page is still shown. There is also a change to prevent '#' characters in a value being treated as a comment when parsing the preferences file. (There is nothing that adds comments when writing the preferences file.) svn path=/trunk/; revision=21066
2007-02-03second iteration:Luis Ontanon1-1/+45
* fields of an uat table now are passed using an array of uat_filed_t * field callbacks take two more userdata arguments * add some macros to define uat field callbacks. * uats can be registered as preferences for a specific protocol - the preference widget is a button that opens the uat's window * dfilter-macro => reflect changes to API svn path=/trunk/; revision=20695
2006-12-05From Giorgio Tino: Add a "static text" protocol preference type. ThisGerald Combs1-5/+53
can be used to add descriptive text inline with other preference items. The "preference" contents are not written to disk. Fixup whitespace. svn path=/trunk/; revision=20037
2006-11-17Fix buildJaap Keuter1-0/+2
svn path=/trunk/; revision=19919
2006-11-17code cleanupUlf Lamping1-3/+0
svn path=/trunk/; revision=19918
2006-11-16Fix for bug 948, "Apply capture preferences not applying." Now when the userStephen Fisher1-0/+9
changes a capture option in the preferences, it will show up right away in the capture options dialog. svn path=/trunk/; revision=19908
2006-10-20AirPcap fixes from Giorgio Tino:Gerald Combs1-0/+71
1) When choosing to Merge, Import or Keep decryption keys, key lists will be saved to the preferences file AND into the registry. 2) Now if you check/uncheck the WEP deccryption checkbox in the Preferences..., the AirPcap toolbar will be modified as well. svn path=/trunk/; revision=19646
2006-10-19Add support for:Gerald Combs1-0/+14
- The AirPcap Multi-Channel Aggregator (which is marketspeak for an "any" device) - Merging the 802.11 dissector WEP key list with AirPcap's - Decrypting WEP in the adapter, in Wireshark, or not at all Update the release notes. svn path=/trunk/; revision=19599
2006-10-03As Stephen Fisher noted, the Apply button should also save the changed ↵Ulf Lamping1-0/+5
settings (if the Save button is disabled) svn path=/trunk/; revision=19418
2006-10-03now: Don't have a Save button in the following settings dialogs:Ulf Lamping1-24/+55
- Edit/Preferences - View/Coloring Rules - Capture/Capture Filters - Analyze/Display Filters - Analyze/Enabled Protocols The settings will be automatically saved when pressing the Ok button. If someone really wants the explicit Save buttons as before - you can get them back at the Edit/Preferences/User Interface page. svn path=/trunk/; revision=19415
2006-09-29from Stephen Fisher:Ulf Lamping1-1/+1
Attached is a patch for consideration that changes the title in the preferences notebook to be the full description of the preference (but leaves the short name in the preferences list on the left). svn path=/trunk/; revision=19370
2006-09-29fix the context menu "Protocol Preferences" bug AGAIN (bug introduced again ↵Ulf Lamping1-1/+1
in 19291) svn path=/trunk/; revision=19369
2006-09-22Add support for reading from stdin under Windows. Based on a patch sentGerald Combs1-1/+1
in last year by Gianluca Varenni. Add partial support for reading from named pipes (currently disabled). Move utf_8to16() and utf_16to8() to a separate module (unicode-utils.[ch]) so that we don't have to cut and paste code in dumpcap.c. Fix up whitespace. svn path=/trunk/; revision=19291
2006-08-28fix #1061: the logic to search for a specific protocol page was missing the ↵Ulf Lamping1-2/+7
changes of the scrollable window indirection svn path=/trunk/; revision=19069
2006-08-14Put protocol preferences in a scrolled window, in case a particularGerald Combs1-13/+18
protocol has a lot of preference items. Change the number of configurable ESP SAs to 16 (in case someone needs do decrypt many sessions in a single trace file). Fix up whitespace. svn path=/trunk/; revision=18903
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
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2006-04-20add a Help button to the Preferences dialogUlf Lamping1-2/+13
svn path=/trunk/; revision=17935
2005-09-26fix #322, 2nd try: don't pass NULL to gtk_tree_iter_free(), this seems to ↵Ulf Lamping1-1/+2
cause an assert on some GTK versions svn path=/trunk/; revision=16011
2005-09-25fix #322: packet detail window -> Protocol Preferences: tree not expandedUlf Lamping1-15/+101
also removed global notebook value svn path=/trunk/; revision=16004
2005-09-01convert to g_snprintf()Ronnie Sahlberg1-1/+0
also make range_convert_range() return an emem allocated string svn path=/trunk/; revision=15660
2005-08-20- Declare some functions staticJörg Mayer1-2/+2
- Add plugins_dlg.h - Include .h files in their respective .c files - Include .h and remove extern declarations in .c files - set eol-style and keywords on gui_utils.[hc] svn path=/trunk/; revision=15471
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-07-24Constify to remove a bunch of warnings. Add some casts to squelchGuy Harris1-2/+2
(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-4/+4
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