Fossil SCM
Update TH1 docs.
Commit
d4bdaeab305b0632b62e762a5f3195d914bf80a0
Parent
07324777f2f13e3…
1 file changed
+15
-6
+15
-6
| --- www/th1.md | ||
| +++ www/th1.md | ||
| @@ -116,10 +116,17 @@ | ||
| 116 | 116 | |
| 117 | 117 | All of the above commands work as in the original Tcl. Refer to the |
| 118 | 118 | <a href="https://www.tcl-lang.org/man/tcl/contents.htm">Tcl documentation</a> |
| 119 | 119 | for details. |
| 120 | 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 | + | |
| 121 | 128 | TH1 Extended Commands |
| 122 | 129 | --------------------- |
| 123 | 130 | |
| 124 | 131 | There are many new commands added to TH1 and used to access the special |
| 125 | 132 | features of Fossil. The following is a summary of the extended commands: |
| @@ -130,14 +137,14 @@ | ||
| 130 | 137 | * checkout |
| 131 | 138 | * combobox |
| 132 | 139 | * date |
| 133 | 140 | * decorate |
| 134 | 141 | * dir |
| 135 | - * enable_output | |
| 142 | + * enable\_output | |
| 136 | 143 | * encode64 |
| 137 | 144 | * getParameter |
| 138 | - * glob_match | |
| 145 | + * glob\_match | |
| 139 | 146 | * globalState |
| 140 | 147 | * hascap |
| 141 | 148 | * hasfeature |
| 142 | 149 | * html |
| 143 | 150 | * htmlize |
| @@ -248,14 +255,14 @@ | ||
| 248 | 255 | If DETAILS is non-zero, the result will be a list-of-lists, with each |
| 249 | 256 | element containing at least three elements: the file name, the file |
| 250 | 257 | size (in bytes), and the file last modification time (relative to the |
| 251 | 258 | time zone configured for the repository). |
| 252 | 259 | |
| 253 | -<a name="enable_output"></a>TH1 enable_output Command | |
| ------------------------------------------------------ | ||
| 260 | +<a name="enable_output"></a>TH1 enable\_output Command | |
| 261 | +------------------------------------------------------ | |
| 254 | 262 | |
| 255 | - * enable_output BOOLEAN | |
| 263 | + * enable\_output BOOLEAN | |
| 256 | 264 | |
| 257 | 265 | Enable or disable sending output when the combobox, puts, or wiki |
| 258 | 266 | commands are used. |
| 259 | 267 | |
| 260 | 268 | <a name="encode64"></a>TH1 encode64 Command |
| @@ -271,14 +278,14 @@ | ||
| 271 | 278 | * getParameter NAME ?DEFAULT? |
| 272 | 279 | |
| 273 | 280 | Returns the value of the specified query parameter or the specified |
| 274 | 281 | default value when there is no matching query parameter. |
| 275 | 282 | |
| 276 | -<a name="glob_match"></a>TH1 glob_match Command | |
| ------------------------------------------------ | ||
| 283 | +<a name="glob_match"></a>TH1 glob\_match Command | |
| 284 | +------------------------------------------------ | |
| 277 | 285 | |
| 278 | - * glob_match ?-one? ?--? patternList string | |
| 286 | + * glob\_match ?-one? ?--? patternList string | |
| 279 | 287 | |
| 280 | 288 | Checks the string against the specified glob pattern -OR- list of glob |
| 281 | 289 | patterns and returns non-zero if there is a match. |
| 282 | 290 | |
| 283 | 291 | <a name="globalState"></a>TH1 globalState Command |
| 284 | 292 |
| --- 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 |