aboutsummaryrefslogtreecommitdiffstats
path: root/disabled_protos.c
AgeCommit message (Collapse)AuthorFilesLines
2013-07-12Move disabled_protos.{h,c} into epan.Jeff Morriss1-412/+0
svn path=/trunk/; revision=50521
2013-04-09Don't try to open <home>/.wireshark on Windows: Wireshark hasn't written toJeff Morriss1-2/+2
that directory since 2001 and reading from that directory was only left in for backwards compatibility with versions prior to r4702. I think it's now safe to remove that backwards compatibility. This eliminates the last argument of get_persconffile_path(). https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8437 svn path=/trunk/; revision=48797
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45015
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-05-22Note that, given that ws_rename() is a wrapper around ws_stdio_rename()Guy Harris1-1/+8
on Windows, and that ws_stdio_rename() uses MoveFileEx() with MOVEFILE_REPLACE_EXISTING and should therefore remove the target if it exists, the extra "remove the target first" stuff should not be necessary on Windows - if we remove it, it also keeps the code from removing the target and then having the rename fail, with the result that the target no longer exists. svn path=/trunk/; revision=42776
2010-03-11Squelch some compiler warnings.Guy Harris1-3/+3
svn path=/trunk/; revision=32165
2008-05-22Move the file utility functions from wiretap to libwsutil so thatJeff Morriss1-9/+9
libwireshark (and the plugins using those functions) do not depend on wiretap on Windows. While doing that, rename the eth_* functions to ws_*. svn path=/trunk/; revision=25354
2008-01-15Discard existing list of disabled protocols in read_disabled_protos_list()Stig Bjørlykke1-13/+25
even if disabled_protos file does not exist. This fixes a problem with disabled protocols when changing profile. svn path=/trunk/; revision=24102
2008-01-14This patch adds support for configuration profiles, which can be used toStig Bjørlykke1-5/+2
configure and use more than one set of preferences and configuration files. This can be found in the "Configuration Profiles..." menu item from the Edit menu, or by pressing Shift-Ctrl-A. It's also possible to start wireshark and tshark with a named profile by using the "-C ProfileName" option. A new status pane in the main window will show the current profile. The configuration files currently stored in the Profiles are: - Preferences - Capture Filters - Display Filters - Coloring Rules - Disabled Protocols - User Accessible Tables The recent data are by design not added to the profile. Planned future enhancements: - make a more convenient function to switch between profiles - add a "clone profile" button to copy an existing profile - make the profiles list active and accept return as OK - save users "Decode as" in the profile - make new, clone and deletion of profiles more secure - make some of the recent values available in the profile This patch also fixes: - setting default status pane sizes - a bug setting status pane for packets when not having main lower pane. svn path=/trunk/; revision=24089
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2005-11-06replace *a lot* of file related calls by their GLib counterparts. This is ↵Ulf Lamping1-8/+9
necessary for the switch to GTK 2.6 (at least on WIN32). to do this, I've added file_util.h to wiretap (would file_compat.h be a better name?), and provide compat_macros like eth_open() instead of open(). While at it, move other file related things there, like #include <io.h>, definition of O_BINARY and alike, so it's all in one place. deleted related things from config.h.win32 As of these massive changes, I'm almost certain that this will break the Unix build. I'll keep an eye on the buildbot so hopefully everything is working again soon. svn path=/trunk/; revision=16403
2005-08-08various code cleanup:Ulf Lamping1-2/+1
-use g_snprintf instead of sprintf and snprintf -use g_strdup_printf where appropriate -remove #include "snprintf.h" (as only g_snprintf should be used) -replace some more alloc/realloc/calloc/free with their glib pendants svn path=/trunk/; revision=15264
2005-07-23More 'char*' -> 'const char*' changes to fix warnings.Jörg Mayer1-5/+6
svn path=/trunk/; revision=15015
2005-07-19from Graeme Hewson: "Fixes for ethereal config files"Ulf Lamping1-1/+1
svn path=/trunk/; revision=14956
2005-03-24Plug some more small leaks.Guy Harris1-2/+4
svn path=/trunk/; revision=13889
2004-09-11Use _WIN32 rather than WIN32 to determine if we're compiling on Win32;Guy Harris1-1/+1
according to Gisle Vanem, WIN32 isn't a built-in in MSVC, but _WIN32 is. svn path=/trunk/; revision=11972
2004-07-18Set the svn:eol-style property on all text files to "native", so thatGuy Harris1-1/+1
they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. svn path=/trunk/; revision=11400
2004-01-03Apply the patches from Tadaaki Nagao for a global version of disabledRichard Sharpe1-57/+103
protocols ... svn path=/trunk/; revision=9538
2003-11-16Export "protocol_t" as an opaque type.Guy Harris1-2/+4
Make "proto_is_protocol_enabled()" and "proto_get_protocol_short_name()" take a "protocol_t *" as an argument, so they don't have to look up the "protocol_t" - this will probably speed them up considerably, and they're called on almost every dissector handoff. Get rid of a number of "proto_is_protocol_enabled()" calls that aren't necessary (dissectors called through handles, including those called through dissector tables, or called as heuristic dissectors, aren't even called if their protocol isn't enabled). Change some direct dissector calls to go through handles. svn path=/trunk/; revision=8979
2003-08-07Fix up the handling of end-of-line comments if there's white spaceGuy Harris1-8/+5
between a protocol name and a comment. svn path=/trunk/; revision=8146
2003-08-07From Michael Lum: add the ability to have a preferences file containingGuy Harris1-0/+350
a list of disabled protocols, and to save that list from the Edit > Protocols dialog box. Add checks for read errors in "read_prefs()". Clean up white space. svn path=/trunk/; revision=8144