OSDN Git Service

Update documents
authorargius <argius.net@gmail.com>
Sat, 18 Jan 2014 06:14:49 +0000 (15:14 +0900)
committerargius <argius.net@gmail.com>
Sat, 18 Jan 2014 06:14:49 +0000 (15:14 +0900)
FEATURE.md
FEATURE_ja.md
MANUAL.html
MANUAL.md
README_ja.md

index 620857f..e5b688b 100644 (file)
@@ -3,11 +3,15 @@
 
 ## New Features
 
+The new features in version 4.1 are nothing.
+
+
 The new features in version 4 are listed below:
 
 Special command "-s" - Executing file as script
-:   Execute a file as script (JavaScript).
+:   Execute a file as script.
     This feature can be used instead of a command class.
+    (On version 4.0, only JavaScript was supported.)
 
 Special command "?" - display environment info (not OS ENV)
 :   Display System Properties. (System.getProperty)
@@ -24,6 +28,25 @@ For more details, see MANUAL.html file.
 
 ## Changes
 
+The major changes on version 4.1 are listed below:
+
+Enhance Scripting support
+:   On version 4.0, the scripting feature (command "-s") was limited,
+    such as only JavaScript, only by file, and stateless.
+    On version 4.1, it has been improved as follows:
+
+     * Any Script Language (as long as its Script Engine exists)
+     * Parameters As Script
+     * Script Context (global scope bindings)
+
+
+Change the layout of Text Search Panel
+:   In version 3.0, the information tree had been added, but the search panel
+    still had been left below the console window.
+    In version 4.1, the search panel has been moved below the status bar
+    of the window.
+
+
 The major changes since version 3 are listed below:
 
 Requires Java6 and later
index 9cc15b5..c7f2893 100644 (file)
@@ -3,6 +3,9 @@
 
 ## 新機能
 
+バージョン4.1で追加された新機能はありません。
+
+
 バージョン4の主な新機能は以下のとおりです。
 各機能の詳細については、マニュアル(MANUAL_ja.html)をご覧ください。
 
 
 ## 変更点
 
+バージョン4.1での主な変更は以下のとおりです。
+
+スクリプト機能の強化
+:   バージョン4.0では、スクリプト機能("-s"コマンド)は、
+    JavaScriptのみ使用可能、ファイルからだけ実行可能、ステートレス
+    のように限定的でした。
+    バージョン4.1で、スクリプト機能は次のように強化されました。
+
+     * どのスクリプト言語でも使える (スクリプトエンジンに対応していれば)
+     * パラメータをスクリプトとして使える
+     * Script Context の導入 (グローバルスコープバインディング)
+
+
+検索パネルの位置を変更
+:   バージョン3.0から、情報ツリーが追加され、そのツリー内も検索が
+    できるようになっているのにも関わらず、検索パネルの位置は
+    テキスト入力欄の下になっていました。
+    バージョン4.1で、検索パネルをステータスバーの上に表示するように
+    変更しました。
+
+
 バージョン3から4への主な変更点は以下のとおりです。
 
 Java6以降のみサポート
index 8b4af46..e15a8a0 100644 (file)
 <p>In CUI mode, to start edit tool, specifies --edit option.</p>\r
 <pre><code># command line\r
 $ stew --edit\r
+\r
 # running stew\r
 &gt; --edit</code></pre>\r
 <p>In GUI mode, executes &quot;Edit Connectors&quot; to start edit dialog.</p>\r
@@ -281,14 +282,30 @@ alias search=[select * from]
 <h3 id="load---executes-file-content-as-sql"><a href="#TOC">load - Executes file content as SQL</a></h3>\r
 <pre><code>&gt; load [&lt;SQL-file&gt; | &lt;data-file&gt; &lt;table-name&gt; [ HEADER ]]</code></pre>\r
 <p>This command executes the SQL read from specified file.</p>\r
-<p>When If a parameter is specified, executes file content as SQL, otherwise, two or more parameters, imports the file as data file. The file format is automatically selected by file extension. *. .csv : CSV format *. .xml : XML format (definition: src/net/argius/stew/io/stew-table.dtd) *. otherwise: TSV format</p>\r
+<p>When If a parameter is specified, executes file content as SQL, otherwise, two or more parameters, imports the file as data file. The file format is automatically selected by file extension.</p>\r
+<ul>\r
+<li>.csv : CSV format</li>\r
+<li>.xml : XML format (definition: src/net/argius/stew/io/stew-table.dtd)</li>\r
+<li>otherwise: TSV format</li>\r
+</ul>\r
 <p>(implementation detail: this is basically same as import command, executes as not batch but executes by record)</p>\r
 <h3 id="import---imports-from-file"><a href="#TOC">import - Imports from file</a></h3>\r
 <pre><code>import &lt;data-file&gt; &lt;table-name&gt; [ HEADER ]</code></pre>\r
-<p>This command imports from file as data file. The file format is automatically selected by file extension. *. .csv : CSV format *. .xml : XML format (definition: src/net/argius/stew/io/stew-table.dtd) *. otherwise: TSV format</p>\r
+<p>This command imports from file as data file. The file format is automatically selected by file extension.</p>\r
+<ul>\r
+<li>.csv : CSV format</li>\r
+<li>.xml : XML format (definition: src/net/argius/stew/io/stew-table.dtd)</li>\r
+<li>otherwise: TSV format</li>\r
+</ul>\r
 <p>(implementation detail: this is basically same as load command, but uses Statement#addBatch.)</p>\r
 <h3 id="export---exports-to-file"><a href="#TOC">export - Exports to file</a></h3>\r
-<p>This command exports result of command to the specified file. The file format is automatically selected by file extension. *. .htm,html : HTML format *. .csv : CSV format *. .xml : XML format (definition: src/net/argius/stew/io/stew-table.dtd) *. others: TSV format</p>\r
+<p>This command exports result of command to the specified file. The file format is automatically selected by file extension.</p>\r
+<ul>\r
+<li>.htm,html : HTML format</li>\r
+<li>.csv : CSV format</li>\r
+<li>.xml : XML format (definition: src/net/argius/stew/io/stew-table.dtd)</li>\r
+<li>others: TSV format</li>\r
+</ul>\r
 <h3 id="time---measures-time-to-execute-sql"><a href="#TOC">time - Measures time to execute SQL</a></h3>\r
 <pre><code>&gt; time [&lt;count&gt;] &lt;SQL&gt;</code></pre>\r
 <p>This command executes specified SQL and measures its execution time.</p>\r
@@ -337,8 +354,8 @@ Selected 42 records.</code></pre>
 <pre><code>&gt; upload &lt;file&gt; &lt;SQL(UPDATE|INSERT)&gt;</code></pre>\r
 <p>This command registers a data file to the column that specified by place-holder.</p>\r
 <h3 id="wait---waits-for-specified-interval"><a href="#TOC">wait - Waits for specified interval</a></h3>\r
-<pre><code>&gt; wait seconds()</code></pre>\r
-<p>This command waits for the interval that specified number of seconds. It may be useful for executing multiple commands.</p>\r
+<pre><code>&gt; wait seconds</code></pre>\r
+<p>This command waits for the interval that specified number (mixed decimal) of seconds. It may be useful for executing multiple commands.</p>\r
 <h2 id="the-gui-mode"><a href="#TOC">The GUI Mode</a></h2>\r
 <h3 id="common-behaviors"><a href="#TOC">Common Behaviors</a></h3>\r
 <p>Standard commands, &quot;undo&quot;, &quot;redo&quot;, &quot;cut&quot;, &quot;copy&quot;, &quot;paste&quot;, and &quot;select all&quot;, can use in all text components via context menu or shortcut key.</p>\r
index c598eaf..d58d3f1 100644 (file)
--- a/MANUAL.md
+++ b/MANUAL.md
@@ -76,6 +76,7 @@ In CUI mode, to start edit tool, specifies --edit option.
 
     # command line
     $ stew --edit
+
     # running stew
     > --edit
 
@@ -295,9 +296,10 @@ This command executes the SQL read from specified file.
 When If a parameter is specified, executes file content as SQL,
 otherwise, two or more parameters, imports the file as data file.
 The file format is automatically selected by file extension.
- *. .csv : CSV format
- *. .xml : XML format (definition: src/net/argius/stew/io/stew-table.dtd)
- *. otherwise: TSV format
+
+ * .csv : CSV format
+ * .xml : XML format (definition: src/net/argius/stew/io/stew-table.dtd)
+ * otherwise: TSV format
 
 (implementation detail: this is basically same as import command,
                         executes as not batch but executes by record)
@@ -309,9 +311,10 @@ The file format is automatically selected by file extension.
 
 This command imports from file as data file.
 The file format is automatically selected by file extension.
- *. .csv : CSV format
- *. .xml : XML format (definition: src/net/argius/stew/io/stew-table.dtd)
- *. otherwise: TSV format
+
+ * .csv : CSV format
+ * .xml : XML format (definition: src/net/argius/stew/io/stew-table.dtd)
+ * otherwise: TSV format
 
 (implementation detail: this is basically same as load command,
                         but uses Statement#addBatch.)
@@ -321,10 +324,11 @@ The file format is automatically selected by file extension.
 
 This command exports result of command to the specified file.
 The file format is automatically selected by file extension.
- *. .htm,html : HTML format
- *. .csv : CSV format
- *. .xml : XML format (definition: src/net/argius/stew/io/stew-table.dtd)
- *. others: TSV format
+
+ * .htm,html : HTML format
+ * .csv : CSV format
+ * .xml : XML format (definition: src/net/argius/stew/io/stew-table.dtd)
+ * others: TSV format
 
 
 ### time - Measures time to execute SQL
@@ -417,9 +421,9 @@ This command registers a data file to the column that specified by place-holder.
 
 ### wait - Waits for specified interval
 
-    > wait seconds()
+    > wait seconds
 
-This command waits for the interval that specified number of seconds.
+This command waits for the interval that specified number (mixed decimal) of seconds.
 It may be useful for executing multiple commands.
 
 
index 4b97f3e..c3f350b 100644 (file)
@@ -32,12 +32,11 @@ Stewは、JDBCを使ったSQLツール環境です。
 
 インストール
     リリースパッケージのZIPファイルを適当なディレクトリに展開するだけです。
-    最小限にしたい場合は本体JARファイル(stew.jar)と起動スクリプト(stew.bat or stew.sh)です。
-    起動スクリプトも自前で用意していただくのであれば不要です。
+    最小限にしたい場合は本体JARファイル(stew.jar)だけ取り出してください。
 
 バージョンアップ
     インストールしたファイルの最新版を上書きしてください。
-    "connector.properties"はバージョン2以降は互換性がありますので、
+    接続設定ファイル"connector.properties"はバージョン2以降は互換性がありますので、
     移行の際はそのままお使いいただけます。
 
 アンインストール
@@ -53,6 +52,6 @@ Apache License 2.0 を採用しています。
 
 ## 4. 既知の問題
 
\9b´æ\96°æ¨©é\99\90ã\81®ã\83\81ã\82§ã\83\83ã\82¯ã\81¯ã\80\81æ\9b´æ\96°æ¨©é\99\90の参照権限が無いと正しく判定できないという問題があります。
\9b´æ\96°æ¨©é\99\90ã\81®ã\83\81ã\82§ã\83\83ã\82¯ã\81¯ã\80\81権é\99\90設å®\9aè\87ªä½\93の参照権限が無いと正しく判定できないという問題があります。
 
 Look&Feelの実装によっては上手く動作しない機能があるかもしれません。