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