From: <sv...@va...> - 2010-09-14 20:48:24
|
Author: cerion Date: 2010-09-14 21:48:11 +0100 (Tue, 14 Sep 2010) New Revision: 512 Log: Finished off the VkConfig refactoring, providing a more reasonable interface to config-related stuff: - VkCfg : namespace for general static data/functions - VkCfgProj : project settings - VkCfgGlbl : non-project settings (help_bookmarks, etc) The 'project' concept of working is finished off with this too. Still a bit more complex than I'd like, but the best I could come up with - If anyone can come up with something better, that still allows command-line use of Vk without needing to setup a project, let me know! Further: - Help history & bookmarks now saved correctly via vkcfg, not misc files. - Removed the pseudo-options from valkyrie_object, and put them into VkCfgGlbl, where they belong. - Moved general utils functions from vk_config to... (wait for it)... utils! Modified: trunk/ trunk/src/help/help_about.cpp trunk/src/help/help_handbook.cpp trunk/src/main.cpp trunk/src/mainwindow.cpp trunk/src/mainwindow.h trunk/src/objects/tool_object.cpp trunk/src/objects/valgrind_object.cpp trunk/src/objects/valkyrie_object.cpp trunk/src/objects/valkyrie_object.h trunk/src/objects/vk_objects.cpp trunk/src/objects/vk_objects.h trunk/src/options/valkyrie_options_page.cpp trunk/src/options/vk_option.cpp trunk/src/options/vk_option.h trunk/src/options/vk_options_dialog.cpp trunk/src/options/vk_options_dialog.h trunk/src/options/vk_options_page.cpp trunk/src/options/vk_parse_cmdline.cpp trunk/src/options/vk_parse_cmdline.h trunk/src/options/widgets/opt_base_widget.cpp trunk/src/options/widgets/opt_ck_widget.cpp trunk/src/options/widgets/opt_lb_widget.cpp trunk/src/src.pro trunk/src/toolview/helgrindview.cpp trunk/src/toolview/memcheckview.cpp trunk/src/toolview/vglogview.cpp trunk/src/utils/ trunk/src/utils/vk_config.cpp trunk/src/utils/vk_config.h trunk/src/utils/vk_logpoller.cpp trunk/src/utils/vk_utils.cpp trunk/src/utils/vk_utils.h trunk/valkyrie.pro trunk/vk_config.pri [... diff too large to include ...] |