This patch adds support for configuration profiles, which can be used to
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 14 Jan 2008 16:40:23 +0000 (16:40 +0000)
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 14 Jan 2008 16:40:23 +0000 (16:40 +0000)
commit84aa0430416e8b1258b4a0d71cc21193c13f404a
tree78bc861dc4a2907a73ee807f8893914875221a25
parent6026eabe54ad8b375b74ec2b6cf8cc24d38be5d3
This patch adds support for configuration profiles, which can be used to
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.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24089 f5534014-38df-0310-8fa8-9805f1628bb7
37 files changed:
color_filters.c
color_filters.h
disabled_protos.c
docbook/user-guide.xml
docbook/wsug_graphics/ws-gui-config-profiles.png [new file with mode: 0644]
docbook/wsug_src/WSUG_chapter_customize.xml
epan/addr_resolv.c
epan/dissectors/packet-radius.c
epan/dissectors/packet-xml.c
epan/filesystem.c
epan/filesystem.h
epan/libwireshark.def
epan/oids.c
epan/plugins.c
epan/prefs.c
epan/prefs.h
epan/proto.c
epan/proto.h
epan/uat.c
epan/uat.h
epan/wslua/init_wslua.c
epan/wslua/wslua_util.c
filters.c
gtk/Makefile.am
gtk/Makefile.common
gtk/about_dlg.c
gtk/help_dlg.c
gtk/help_dlg.h
gtk/main.c
gtk/main.h
gtk/menu.c
gtk/profile_dlg.c [new file with mode: 0644]
gtk/profile_dlg.h [new file with mode: 0644]
gtk/recent.c
gtk/recent.h
tshark.c
update.c