Fossil SCM

Update TH1 docs.

mistachkin 2016-01-18 01:42 tclPlatform
Commit d4bdaeab305b0632b62e762a5f3195d914bf80a0
1 file changed +15 -6
+15 -6
--- www/th1.md
+++ www/th1.md
@@ -116,10 +116,17 @@
116116
117117
All of the above commands work as in the original Tcl. Refer to the
118118
<a href="https://www.tcl-lang.org/man/tcl/contents.htm">Tcl documentation</a>
119119
for details.
120120
121
+Summary of Core TH1 Variables
122
+-----------------------------
123
+
124
+ * tcl\_platform(engine) -- _This will always have the value "TH1"._
125
+ * tcl\_platform(platform) -- _This will have the value "windows" or "unix"._
126
+ * th\_stack\_trace -- _This will contain error stack information._
127
+
121128
TH1 Extended Commands
122129
---------------------
123130
124131
There are many new commands added to TH1 and used to access the special
125132
features of Fossil. The following is a summary of the extended commands:
@@ -130,14 +137,14 @@
130137
* checkout
131138
* combobox
132139
* date
133140
* decorate
134141
* dir
135
- * enable_output
142
+ * enable\_output
136143
* encode64
137144
* getParameter
138
- * glob_match
145
+ * glob\_match
139146
* globalState
140147
* hascap
141148
* hasfeature
142149
* html
143150
* htmlize
@@ -248,14 +255,14 @@
248255
If DETAILS is non-zero, the result will be a list-of-lists, with each
249256
element containing at least three elements: the file name, the file
250257
size (in bytes), and the file last modification time (relative to the
251258
time zone configured for the repository).
252259
253
-<a name="enable_output"></a>TH1 enable_output Command
------------------------------------------------------
260
+<a name="enable_output"></a>TH1 enable\_output Command
261
+------------------------------------------------------
254262
255
- * enable_output BOOLEAN
263
+ * enable\_output BOOLEAN
256264
257265
Enable or disable sending output when the combobox, puts, or wiki
258266
commands are used.
259267
260268
<a name="encode64"></a>TH1 encode64 Command
@@ -271,14 +278,14 @@
271278
* getParameter NAME ?DEFAULT?
272279
273280
Returns the value of the specified query parameter or the specified
274281
default value when there is no matching query parameter.
275282
276
-<a name="glob_match"></a>TH1 glob_match Command
------------------------------------------------
283
+<a name="glob_match"></a>TH1 glob\_match Command
284
+------------------------------------------------
277285
278
- * glob_match ?-one? ?--? patternList string
286
+ * glob\_match ?-one? ?--? patternList string
279287
280288
Checks the string against the specified glob pattern -OR- list of glob
281289
patterns and returns non-zero if there is a match.
282290
283291
<a name="globalState"></a>TH1 globalState Command
284292
--- www/th1.md
+++ www/th1.md
@@ -116,10 +116,17 @@
116
117 All of the above commands work as in the original Tcl. Refer to the
118 <a href="https://www.tcl-lang.org/man/tcl/contents.htm">Tcl documentation</a>
119 for details.
120
 
 
 
 
 
 
 
121 TH1 Extended Commands
122 ---------------------
123
124 There are many new commands added to TH1 and used to access the special
125 features of Fossil. The following is a summary of the extended commands:
@@ -130,14 +137,14 @@
130 * checkout
131 * combobox
132 * date
133 * decorate
134 * dir
135 * enable_output
136 * encode64
137 * getParameter
138 * glob_match
139 * globalState
140 * hascap
141 * hasfeature
142 * html
143 * htmlize
@@ -248,14 +255,14 @@
248 If DETAILS is non-zero, the result will be a list-of-lists, with each
249 element containing at least three elements: the file name, the file
250 size (in bytes), and the file last modification time (relative to the
251 time zone configured for the repository).
252
253 <a name="enable_output"></a>TH1 enable_output Command
------------------------------------------------------
 
 
254
255 * enable_output BOOLEAN
256
257 Enable or disable sending output when the combobox, puts, or wiki
258 commands are used.
259
260 <a name="encode64"></a>TH1 encode64 Command
@@ -271,14 +278,14 @@
271 * getParameter NAME ?DEFAULT?
272
273 Returns the value of the specified query parameter or the specified
274 default value when there is no matching query parameter.
275
276 <a name="glob_match"></a>TH1 glob_match Command
------------------------------------------------
 
 
277
278 * glob_match ?-one? ?--? patternList string
279
280 Checks the string against the specified glob pattern -OR- list of glob
281 patterns and returns non-zero if there is a match.
282
283 <a name="globalState"></a>TH1 globalState Command
284
--- www/th1.md
+++ www/th1.md
@@ -116,10 +116,17 @@
116
117 All of the above commands work as in the original Tcl. Refer to the
118 <a href="https://www.tcl-lang.org/man/tcl/contents.htm">Tcl documentation</a>
119 for details.
120
121 Summary of Core TH1 Variables
122 -----------------------------
123
124 * tcl\_platform(engine) -- _This will always have the value "TH1"._
125 * tcl\_platform(platform) -- _This will have the value "windows" or "unix"._
126 * th\_stack\_trace -- _This will contain error stack information._
127
128 TH1 Extended Commands
129 ---------------------
130
131 There are many new commands added to TH1 and used to access the special
132 features of Fossil. The following is a summary of the extended commands:
@@ -130,14 +137,14 @@
137 * checkout
138 * combobox
139 * date
140 * decorate
141 * dir
142 * enable\_output
143 * encode64
144 * getParameter
145 * glob\_match
146 * globalState
147 * hascap
148 * hasfeature
149 * html
150 * htmlize
@@ -248,14 +255,14 @@
255 If DETAILS is non-zero, the result will be a list-of-lists, with each
256 element containing at least three elements: the file name, the file
257 size (in bytes), and the file last modification time (relative to the
258 time zone configured for the repository).
259
 
------------------------------------------------------
260 <a name="enable_output"></a>TH1 enable\_output Command
261 ------------------------------------------------------
262
263 * enable\_output BOOLEAN
264
265 Enable or disable sending output when the combobox, puts, or wiki
266 commands are used.
267
268 <a name="encode64"></a>TH1 encode64 Command
@@ -271,14 +278,14 @@
278 * getParameter NAME ?DEFAULT?
279
280 Returns the value of the specified query parameter or the specified
281 default value when there is no matching query parameter.
282
 
------------------------------------------------
283 <a name="glob_match"></a>TH1 glob\_match Command
284 ------------------------------------------------
285
286 * glob\_match ?-one? ?--? patternList string
287
288 Checks the string against the specified glob pattern -OR- list of glob
289 patterns and returns non-zero if there is a match.
290
291 <a name="globalState"></a>TH1 globalState Command
292

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button