|
From: <sv...@va...> - 2008-06-12 06:57:37
|
Author: cerion
Date: 2008-06-12 07:57:43 +0100 (Thu, 12 Jun 2008)
New Revision: 435
Log:
Update user manual for added options
- log dir
- working dir
Modified:
trunk/doc/options_dialog.html
trunk/valkyrie/core/valkyrie_object.cpp
trunk/valkyrie/help/html_urls.cpp
trunk/valkyrie/help/html_urls.h
Modified: trunk/doc/options_dialog.html
===================================================================
--- trunk/doc/options_dialog.html 2008-06-11 20:40:46 UTC (rev 434)
+++ trunk/doc/options_dialog.html 2008-06-12 06:57:43 UTC (rev 435)
@@ -109,6 +109,24 @@
the "%s" string is replaced with the targed url.<br>
Example: "mozilla -remote openUrl(%s,new-tab)".</p></dd>
<dt>
+<a name="log_dir"></a><span><b class="command">Log Dir:</b></span>
+</dt>
+<dd><p>This determines the default directory for the user to save
+ their log files.<br>
+ Note: When running, Valkyrie generates temporary log files. These
+ are stored under /tmp/valkyrie_logs (this can be changed when building Valkyrie).<br>
+ Example: "./".<br>
+ Example: "/home/myself/valkyrie_logs".</p></dd>
+<dt>
+<a name="working_dir"></a><span><b class="command">Working Dir:</b></span>
+</dt>
+<dd><p>This determines the working directory under which valgrind runs
+ (and therefore also the program being run by Valgrind). This does
+ not change the current working directory of Valkyrie itself, but the
+ that of the program being run.<br>
+ Example: "./".<br>
+ Example: "/home/myself/valkyrie_working_dir".</p></dd>
+<dt>
<a name="user_font_general"></a><span><b class="command">General Font:</b></span>
</dt>
<dd><p>This is the general application font.
Modified: trunk/valkyrie/core/valkyrie_object.cpp
===================================================================
--- trunk/valkyrie/core/valkyrie_object.cpp 2008-06-11 20:40:46 UTC (rev 434)
+++ trunk/valkyrie/core/valkyrie_object.cpp 2008-06-12 06:57:43 UTC (rev 435)
@@ -100,11 +100,11 @@
addOpt( DFLT_LOGDIR, VkOPTION::NOT_POPT, VkOPTION::WDG_LEDIT,
"valkyrie", '\0', "default-logdir",
"", "", VK_LOGS_DIR,
- "Log Dir:", "", "" );
+ "Log Dir:", "", urlValkyrie::logDir );
addOpt( WORKING_DIR, VkOPTION::ARG_STRING, VkOPTION::WDG_LEDIT,
"valkyrie", '\0', "working-dir",
"<dir>", "", "./",
- "Working Dir:", "dir under which to run valgrind", "" );
+ "Working Dir:", "dir under which to run valgrind", urlValkyrie::workingDir );
/* path to valgrind executable (maybe found by configure) */
addOpt( VG_EXEC, VkOPTION::NOT_POPT, VkOPTION::WDG_LEDIT,
Modified: trunk/valkyrie/help/html_urls.cpp
===================================================================
--- trunk/valkyrie/help/html_urls.cpp 2008-06-11 20:40:46 UTC (rev 434)
+++ trunk/valkyrie/help/html_urls.cpp 2008-06-12 06:57:43 UTC (rev 435)
@@ -38,6 +38,8 @@
const char* toolTips = "options_dialog.html#tool_tips";
const char* toolLabels = "options_dialog.html#tool_label";
const char* browser = "options_dialog.html#browser";
+ const char* logDir = "options_dialog.html#log_dir";
+ const char* workingDir = "options_dialog.html#working_dir";
const char* userFontGen = "options_dialog.html#user_font_general";
const char* userFontTool = "options_dialog.html#user_font_tool";
const char* palette = "options_dialog.html#palette";
Modified: trunk/valkyrie/help/html_urls.h
===================================================================
--- trunk/valkyrie/help/html_urls.h 2008-06-11 20:40:46 UTC (rev 434)
+++ trunk/valkyrie/help/html_urls.h 2008-06-12 06:57:43 UTC (rev 435)
@@ -36,6 +36,8 @@
extern const char* toolTips;
extern const char* toolLabels;
extern const char* browser;
+ extern const char* logDir;
+ extern const char* workingDir;
extern const char* userFontGen;
extern const char* userFontTool;
extern const char* palette;
|