Fossil SCM
Slightly simplify code. Add and modify tests. Merge changes from trunk.
Commit
a3f04386fe9de7eac665d4f7b04a348fec9fcb3c
Parent
e81fbfd0287d910…
6 files changed
+1
-3
+1
-3
+37
-1
+37
-1
+9
-8
+9
-8
+1
-3
| --- src/th_main.c | ||
| +++ src/th_main.c | ||
| @@ -1336,14 +1336,12 @@ | ||
| 1336 | 1336 | ){ |
| 1337 | 1337 | if( argc!=3 ){ |
| 1338 | 1338 | return Th_WrongNumArgs(interp, "unversioned content FILENAME"); |
| 1339 | 1339 | } |
| 1340 | 1340 | if( Th_IsRepositoryOpen() ){ |
| 1341 | - int rc; | |
| 1342 | 1341 | Blob content; |
| 1343 | - rc = unversioned_content(argv[2], &content); | |
| 1344 | - if( rc==0 ){ | |
| 1342 | + if( unversioned_content(argv[2], &content)==0 ){ | |
| 1345 | 1343 | Th_SetResult(interp, blob_str(&content), blob_size(&content)); |
| 1346 | 1344 | blob_reset(&content); |
| 1347 | 1345 | return TH_OK; |
| 1348 | 1346 | }else{ |
| 1349 | 1347 | return TH_ERROR; |
| 1350 | 1348 |
| --- src/th_main.c | |
| +++ src/th_main.c | |
| @@ -1336,14 +1336,12 @@ | |
| 1336 | ){ |
| 1337 | if( argc!=3 ){ |
| 1338 | return Th_WrongNumArgs(interp, "unversioned content FILENAME"); |
| 1339 | } |
| 1340 | if( Th_IsRepositoryOpen() ){ |
| 1341 | int rc; |
| 1342 | Blob content; |
| 1343 | rc = unversioned_content(argv[2], &content); |
| 1344 | if( rc==0 ){ |
| 1345 | Th_SetResult(interp, blob_str(&content), blob_size(&content)); |
| 1346 | blob_reset(&content); |
| 1347 | return TH_OK; |
| 1348 | }else{ |
| 1349 | return TH_ERROR; |
| 1350 |
| --- src/th_main.c | |
| +++ src/th_main.c | |
| @@ -1336,14 +1336,12 @@ | |
| 1336 | ){ |
| 1337 | if( argc!=3 ){ |
| 1338 | return Th_WrongNumArgs(interp, "unversioned content FILENAME"); |
| 1339 | } |
| 1340 | if( Th_IsRepositoryOpen() ){ |
| 1341 | Blob content; |
| 1342 | if( unversioned_content(argv[2], &content)==0 ){ |
| 1343 | Th_SetResult(interp, blob_str(&content), blob_size(&content)); |
| 1344 | blob_reset(&content); |
| 1345 | return TH_OK; |
| 1346 | }else{ |
| 1347 | return TH_ERROR; |
| 1348 |
+1
-3
| --- src/th_main.c | ||
| +++ src/th_main.c | ||
| @@ -1336,14 +1336,12 @@ | ||
| 1336 | 1336 | ){ |
| 1337 | 1337 | if( argc!=3 ){ |
| 1338 | 1338 | return Th_WrongNumArgs(interp, "unversioned content FILENAME"); |
| 1339 | 1339 | } |
| 1340 | 1340 | if( Th_IsRepositoryOpen() ){ |
| 1341 | - int rc; | |
| 1342 | 1341 | Blob content; |
| 1343 | - rc = unversioned_content(argv[2], &content); | |
| 1344 | - if( rc==0 ){ | |
| 1342 | + if( unversioned_content(argv[2], &content)==0 ){ | |
| 1345 | 1343 | Th_SetResult(interp, blob_str(&content), blob_size(&content)); |
| 1346 | 1344 | blob_reset(&content); |
| 1347 | 1345 | return TH_OK; |
| 1348 | 1346 | }else{ |
| 1349 | 1347 | return TH_ERROR; |
| 1350 | 1348 |
| --- src/th_main.c | |
| +++ src/th_main.c | |
| @@ -1336,14 +1336,12 @@ | |
| 1336 | ){ |
| 1337 | if( argc!=3 ){ |
| 1338 | return Th_WrongNumArgs(interp, "unversioned content FILENAME"); |
| 1339 | } |
| 1340 | if( Th_IsRepositoryOpen() ){ |
| 1341 | int rc; |
| 1342 | Blob content; |
| 1343 | rc = unversioned_content(argv[2], &content); |
| 1344 | if( rc==0 ){ |
| 1345 | Th_SetResult(interp, blob_str(&content), blob_size(&content)); |
| 1346 | blob_reset(&content); |
| 1347 | return TH_OK; |
| 1348 | }else{ |
| 1349 | return TH_ERROR; |
| 1350 |
| --- src/th_main.c | |
| +++ src/th_main.c | |
| @@ -1336,14 +1336,12 @@ | |
| 1336 | ){ |
| 1337 | if( argc!=3 ){ |
| 1338 | return Th_WrongNumArgs(interp, "unversioned content FILENAME"); |
| 1339 | } |
| 1340 | if( Th_IsRepositoryOpen() ){ |
| 1341 | Blob content; |
| 1342 | if( unversioned_content(argv[2], &content)==0 ){ |
| 1343 | Th_SetResult(interp, blob_str(&content), blob_size(&content)); |
| 1344 | blob_reset(&content); |
| 1345 | return TH_OK; |
| 1346 | }else{ |
| 1347 | return TH_ERROR; |
| 1348 |
+37
-1
| --- test/th1.test | ||
| +++ test/th1.test | ||
| @@ -1038,11 +1038,11 @@ | ||
| 1038 | 1038 | error expr for getParameter glob_match globalState hascap hasfeature\ |
| 1039 | 1039 | html htmlize http httpize if info insertCsrf lindex linecount list\ |
| 1040 | 1040 | llength lsearch markdown proc puts query randhex redirect regexp\ |
| 1041 | 1041 | reinitialize rename render repository return searchable set\ |
| 1042 | 1042 | setParameter setting stime string styleFooter styleHeader tclReady\ |
| 1043 | - trace unset uplevel upvar utime verifyCsrf wiki} | |
| 1043 | + trace unset unversioned uplevel upvar utime verifyCsrf wiki} | |
| 1044 | 1044 | set tcl_commands {tclEval tclExpr tclInvoke tclIsSafe tclMakeSafe} |
| 1045 | 1045 | if {$th1Tcl} { |
| 1046 | 1046 | test th1-info-commands-1 {$sorted_result eq [lsort "$base_commands $tcl_commands"]} |
| 1047 | 1047 | } else { |
| 1048 | 1048 | test th1-info-commands-1 {$sorted_result eq [lsort "$base_commands"]} |
| @@ -1562,9 +1562,45 @@ | ||
| 1562 | 1562 | } |
| 1563 | 1563 | |
| 1564 | 1564 | fossil test-th-source $th1FileName |
| 1565 | 1565 | test th1-source-1 {$RESULT eq {TH_RETURN: 0 1 2 3 4 5 6 7 8 9}} |
| 1566 | 1566 | file delete $th1FileName |
| 1567 | + | |
| 1568 | +############################################################################### | |
| 1569 | + | |
| 1570 | +# | |
| 1571 | +# TODO: Modify the result of this test if the list of unversioned files | |
| 1572 | +# changes. | |
| 1573 | +# | |
| 1574 | +run_in_checkout { | |
| 1575 | + fossil test-th-eval --open-config "unversioned list" | |
| 1576 | +} | |
| 1577 | + | |
| 1578 | +test th1-unversioned-1 {[normalize_result] eq \ | |
| 1579 | +{build-icons/linux.gif build-icons/linux64.gif build-icons/mac.gif\ | |
| 1580 | +build-icons/openbsd.gif build-icons/src.gif build-icons/win32.gif\ | |
| 1581 | +download.html download/fossil-linux-x86-1.32.zip\ | |
| 1582 | +download/fossil-linux-x86-1.33.zip download/fossil-linux-x86-1.34.zip\ | |
| 1583 | +download/fossil-linux-x86-1.35.zip download/fossil-macosx-x86-1.32.zip\ | |
| 1584 | +download/fossil-macosx-x86-1.33.zip download/fossil-macosx-x86-1.34.zip\ | |
| 1585 | +download/fossil-macosx-x86-1.35.zip download/fossil-openbsd-x86-1.32.zip\ | |
| 1586 | +download/fossil-openbsd-x86-1.33.zip download/fossil-openbsd-x86-1.34.tar.gz\ | |
| 1587 | +download/fossil-openbsd-x86-1.35.tar.gz download/fossil-src-1.32.tar.gz\ | |
| 1588 | +download/fossil-src-1.33.tar.gz download/fossil-src-1.34.tar.gz\ | |
| 1589 | +download/fossil-src-1.35.tar.gz download/fossil-w32-1.32.zip\ | |
| 1590 | +download/fossil-w32-1.33.zip download/fossil-w32-1.34.zip\ | |
| 1591 | +download/fossil-w32-1.35.zip download/releasenotes-1.32.html\ | |
| 1592 | +download/releasenotes-1.33.html download/releasenotes-1.34.html\ | |
| 1593 | +download/releasenotes-1.35.html index.wiki}} | |
| 1594 | + | |
| 1595 | +############################################################################### | |
| 1596 | + | |
| 1597 | +run_in_checkout { | |
| 1598 | + fossil test-th-eval --open-config \ | |
| 1599 | + {string length [unversioned content build-icons/src.gif]} | |
| 1600 | +} | |
| 1601 | + | |
| 1602 | +test th1-unversioned-2 {$RESULT eq {4592}} | |
| 1567 | 1603 | |
| 1568 | 1604 | ############################################################################### |
| 1569 | 1605 | |
| 1570 | 1606 | test_cleanup |
| 1571 | 1607 |
| --- test/th1.test | |
| +++ test/th1.test | |
| @@ -1038,11 +1038,11 @@ | |
| 1038 | error expr for getParameter glob_match globalState hascap hasfeature\ |
| 1039 | html htmlize http httpize if info insertCsrf lindex linecount list\ |
| 1040 | llength lsearch markdown proc puts query randhex redirect regexp\ |
| 1041 | reinitialize rename render repository return searchable set\ |
| 1042 | setParameter setting stime string styleFooter styleHeader tclReady\ |
| 1043 | trace unset uplevel upvar utime verifyCsrf wiki} |
| 1044 | set tcl_commands {tclEval tclExpr tclInvoke tclIsSafe tclMakeSafe} |
| 1045 | if {$th1Tcl} { |
| 1046 | test th1-info-commands-1 {$sorted_result eq [lsort "$base_commands $tcl_commands"]} |
| 1047 | } else { |
| 1048 | test th1-info-commands-1 {$sorted_result eq [lsort "$base_commands"]} |
| @@ -1562,9 +1562,45 @@ | |
| 1562 | } |
| 1563 | |
| 1564 | fossil test-th-source $th1FileName |
| 1565 | test th1-source-1 {$RESULT eq {TH_RETURN: 0 1 2 3 4 5 6 7 8 9}} |
| 1566 | file delete $th1FileName |
| 1567 | |
| 1568 | ############################################################################### |
| 1569 | |
| 1570 | test_cleanup |
| 1571 |
| --- test/th1.test | |
| +++ test/th1.test | |
| @@ -1038,11 +1038,11 @@ | |
| 1038 | error expr for getParameter glob_match globalState hascap hasfeature\ |
| 1039 | html htmlize http httpize if info insertCsrf lindex linecount list\ |
| 1040 | llength lsearch markdown proc puts query randhex redirect regexp\ |
| 1041 | reinitialize rename render repository return searchable set\ |
| 1042 | setParameter setting stime string styleFooter styleHeader tclReady\ |
| 1043 | trace unset unversioned uplevel upvar utime verifyCsrf wiki} |
| 1044 | set tcl_commands {tclEval tclExpr tclInvoke tclIsSafe tclMakeSafe} |
| 1045 | if {$th1Tcl} { |
| 1046 | test th1-info-commands-1 {$sorted_result eq [lsort "$base_commands $tcl_commands"]} |
| 1047 | } else { |
| 1048 | test th1-info-commands-1 {$sorted_result eq [lsort "$base_commands"]} |
| @@ -1562,9 +1562,45 @@ | |
| 1562 | } |
| 1563 | |
| 1564 | fossil test-th-source $th1FileName |
| 1565 | test th1-source-1 {$RESULT eq {TH_RETURN: 0 1 2 3 4 5 6 7 8 9}} |
| 1566 | file delete $th1FileName |
| 1567 | |
| 1568 | ############################################################################### |
| 1569 | |
| 1570 | # |
| 1571 | # TODO: Modify the result of this test if the list of unversioned files |
| 1572 | # changes. |
| 1573 | # |
| 1574 | run_in_checkout { |
| 1575 | fossil test-th-eval --open-config "unversioned list" |
| 1576 | } |
| 1577 | |
| 1578 | test th1-unversioned-1 {[normalize_result] eq \ |
| 1579 | {build-icons/linux.gif build-icons/linux64.gif build-icons/mac.gif\ |
| 1580 | build-icons/openbsd.gif build-icons/src.gif build-icons/win32.gif\ |
| 1581 | download.html download/fossil-linux-x86-1.32.zip\ |
| 1582 | download/fossil-linux-x86-1.33.zip download/fossil-linux-x86-1.34.zip\ |
| 1583 | download/fossil-linux-x86-1.35.zip download/fossil-macosx-x86-1.32.zip\ |
| 1584 | download/fossil-macosx-x86-1.33.zip download/fossil-macosx-x86-1.34.zip\ |
| 1585 | download/fossil-macosx-x86-1.35.zip download/fossil-openbsd-x86-1.32.zip\ |
| 1586 | download/fossil-openbsd-x86-1.33.zip download/fossil-openbsd-x86-1.34.tar.gz\ |
| 1587 | download/fossil-openbsd-x86-1.35.tar.gz download/fossil-src-1.32.tar.gz\ |
| 1588 | download/fossil-src-1.33.tar.gz download/fossil-src-1.34.tar.gz\ |
| 1589 | download/fossil-src-1.35.tar.gz download/fossil-w32-1.32.zip\ |
| 1590 | download/fossil-w32-1.33.zip download/fossil-w32-1.34.zip\ |
| 1591 | download/fossil-w32-1.35.zip download/releasenotes-1.32.html\ |
| 1592 | download/releasenotes-1.33.html download/releasenotes-1.34.html\ |
| 1593 | download/releasenotes-1.35.html index.wiki}} |
| 1594 | |
| 1595 | ############################################################################### |
| 1596 | |
| 1597 | run_in_checkout { |
| 1598 | fossil test-th-eval --open-config \ |
| 1599 | {string length [unversioned content build-icons/src.gif]} |
| 1600 | } |
| 1601 | |
| 1602 | test th1-unversioned-2 {$RESULT eq {4592}} |
| 1603 | |
| 1604 | ############################################################################### |
| 1605 | |
| 1606 | test_cleanup |
| 1607 |
+37
-1
| --- test/th1.test | ||
| +++ test/th1.test | ||
| @@ -1038,11 +1038,11 @@ | ||
| 1038 | 1038 | error expr for getParameter glob_match globalState hascap hasfeature\ |
| 1039 | 1039 | html htmlize http httpize if info insertCsrf lindex linecount list\ |
| 1040 | 1040 | llength lsearch markdown proc puts query randhex redirect regexp\ |
| 1041 | 1041 | reinitialize rename render repository return searchable set\ |
| 1042 | 1042 | setParameter setting stime string styleFooter styleHeader tclReady\ |
| 1043 | - trace unset uplevel upvar utime verifyCsrf wiki} | |
| 1043 | + trace unset unversioned uplevel upvar utime verifyCsrf wiki} | |
| 1044 | 1044 | set tcl_commands {tclEval tclExpr tclInvoke tclIsSafe tclMakeSafe} |
| 1045 | 1045 | if {$th1Tcl} { |
| 1046 | 1046 | test th1-info-commands-1 {$sorted_result eq [lsort "$base_commands $tcl_commands"]} |
| 1047 | 1047 | } else { |
| 1048 | 1048 | test th1-info-commands-1 {$sorted_result eq [lsort "$base_commands"]} |
| @@ -1562,9 +1562,45 @@ | ||
| 1562 | 1562 | } |
| 1563 | 1563 | |
| 1564 | 1564 | fossil test-th-source $th1FileName |
| 1565 | 1565 | test th1-source-1 {$RESULT eq {TH_RETURN: 0 1 2 3 4 5 6 7 8 9}} |
| 1566 | 1566 | file delete $th1FileName |
| 1567 | + | |
| 1568 | +############################################################################### | |
| 1569 | + | |
| 1570 | +# | |
| 1571 | +# TODO: Modify the result of this test if the list of unversioned files | |
| 1572 | +# changes. | |
| 1573 | +# | |
| 1574 | +run_in_checkout { | |
| 1575 | + fossil test-th-eval --open-config "unversioned list" | |
| 1576 | +} | |
| 1577 | + | |
| 1578 | +test th1-unversioned-1 {[normalize_result] eq \ | |
| 1579 | +{build-icons/linux.gif build-icons/linux64.gif build-icons/mac.gif\ | |
| 1580 | +build-icons/openbsd.gif build-icons/src.gif build-icons/win32.gif\ | |
| 1581 | +download.html download/fossil-linux-x86-1.32.zip\ | |
| 1582 | +download/fossil-linux-x86-1.33.zip download/fossil-linux-x86-1.34.zip\ | |
| 1583 | +download/fossil-linux-x86-1.35.zip download/fossil-macosx-x86-1.32.zip\ | |
| 1584 | +download/fossil-macosx-x86-1.33.zip download/fossil-macosx-x86-1.34.zip\ | |
| 1585 | +download/fossil-macosx-x86-1.35.zip download/fossil-openbsd-x86-1.32.zip\ | |
| 1586 | +download/fossil-openbsd-x86-1.33.zip download/fossil-openbsd-x86-1.34.tar.gz\ | |
| 1587 | +download/fossil-openbsd-x86-1.35.tar.gz download/fossil-src-1.32.tar.gz\ | |
| 1588 | +download/fossil-src-1.33.tar.gz download/fossil-src-1.34.tar.gz\ | |
| 1589 | +download/fossil-src-1.35.tar.gz download/fossil-w32-1.32.zip\ | |
| 1590 | +download/fossil-w32-1.33.zip download/fossil-w32-1.34.zip\ | |
| 1591 | +download/fossil-w32-1.35.zip download/releasenotes-1.32.html\ | |
| 1592 | +download/releasenotes-1.33.html download/releasenotes-1.34.html\ | |
| 1593 | +download/releasenotes-1.35.html index.wiki}} | |
| 1594 | + | |
| 1595 | +############################################################################### | |
| 1596 | + | |
| 1597 | +run_in_checkout { | |
| 1598 | + fossil test-th-eval --open-config \ | |
| 1599 | + {string length [unversioned content build-icons/src.gif]} | |
| 1600 | +} | |
| 1601 | + | |
| 1602 | +test th1-unversioned-2 {$RESULT eq {4592}} | |
| 1567 | 1603 | |
| 1568 | 1604 | ############################################################################### |
| 1569 | 1605 | |
| 1570 | 1606 | test_cleanup |
| 1571 | 1607 |
| --- test/th1.test | |
| +++ test/th1.test | |
| @@ -1038,11 +1038,11 @@ | |
| 1038 | error expr for getParameter glob_match globalState hascap hasfeature\ |
| 1039 | html htmlize http httpize if info insertCsrf lindex linecount list\ |
| 1040 | llength lsearch markdown proc puts query randhex redirect regexp\ |
| 1041 | reinitialize rename render repository return searchable set\ |
| 1042 | setParameter setting stime string styleFooter styleHeader tclReady\ |
| 1043 | trace unset uplevel upvar utime verifyCsrf wiki} |
| 1044 | set tcl_commands {tclEval tclExpr tclInvoke tclIsSafe tclMakeSafe} |
| 1045 | if {$th1Tcl} { |
| 1046 | test th1-info-commands-1 {$sorted_result eq [lsort "$base_commands $tcl_commands"]} |
| 1047 | } else { |
| 1048 | test th1-info-commands-1 {$sorted_result eq [lsort "$base_commands"]} |
| @@ -1562,9 +1562,45 @@ | |
| 1562 | } |
| 1563 | |
| 1564 | fossil test-th-source $th1FileName |
| 1565 | test th1-source-1 {$RESULT eq {TH_RETURN: 0 1 2 3 4 5 6 7 8 9}} |
| 1566 | file delete $th1FileName |
| 1567 | |
| 1568 | ############################################################################### |
| 1569 | |
| 1570 | test_cleanup |
| 1571 |
| --- test/th1.test | |
| +++ test/th1.test | |
| @@ -1038,11 +1038,11 @@ | |
| 1038 | error expr for getParameter glob_match globalState hascap hasfeature\ |
| 1039 | html htmlize http httpize if info insertCsrf lindex linecount list\ |
| 1040 | llength lsearch markdown proc puts query randhex redirect regexp\ |
| 1041 | reinitialize rename render repository return searchable set\ |
| 1042 | setParameter setting stime string styleFooter styleHeader tclReady\ |
| 1043 | trace unset unversioned uplevel upvar utime verifyCsrf wiki} |
| 1044 | set tcl_commands {tclEval tclExpr tclInvoke tclIsSafe tclMakeSafe} |
| 1045 | if {$th1Tcl} { |
| 1046 | test th1-info-commands-1 {$sorted_result eq [lsort "$base_commands $tcl_commands"]} |
| 1047 | } else { |
| 1048 | test th1-info-commands-1 {$sorted_result eq [lsort "$base_commands"]} |
| @@ -1562,9 +1562,45 @@ | |
| 1562 | } |
| 1563 | |
| 1564 | fossil test-th-source $th1FileName |
| 1565 | test th1-source-1 {$RESULT eq {TH_RETURN: 0 1 2 3 4 5 6 7 8 9}} |
| 1566 | file delete $th1FileName |
| 1567 | |
| 1568 | ############################################################################### |
| 1569 | |
| 1570 | # |
| 1571 | # TODO: Modify the result of this test if the list of unversioned files |
| 1572 | # changes. |
| 1573 | # |
| 1574 | run_in_checkout { |
| 1575 | fossil test-th-eval --open-config "unversioned list" |
| 1576 | } |
| 1577 | |
| 1578 | test th1-unversioned-1 {[normalize_result] eq \ |
| 1579 | {build-icons/linux.gif build-icons/linux64.gif build-icons/mac.gif\ |
| 1580 | build-icons/openbsd.gif build-icons/src.gif build-icons/win32.gif\ |
| 1581 | download.html download/fossil-linux-x86-1.32.zip\ |
| 1582 | download/fossil-linux-x86-1.33.zip download/fossil-linux-x86-1.34.zip\ |
| 1583 | download/fossil-linux-x86-1.35.zip download/fossil-macosx-x86-1.32.zip\ |
| 1584 | download/fossil-macosx-x86-1.33.zip download/fossil-macosx-x86-1.34.zip\ |
| 1585 | download/fossil-macosx-x86-1.35.zip download/fossil-openbsd-x86-1.32.zip\ |
| 1586 | download/fossil-openbsd-x86-1.33.zip download/fossil-openbsd-x86-1.34.tar.gz\ |
| 1587 | download/fossil-openbsd-x86-1.35.tar.gz download/fossil-src-1.32.tar.gz\ |
| 1588 | download/fossil-src-1.33.tar.gz download/fossil-src-1.34.tar.gz\ |
| 1589 | download/fossil-src-1.35.tar.gz download/fossil-w32-1.32.zip\ |
| 1590 | download/fossil-w32-1.33.zip download/fossil-w32-1.34.zip\ |
| 1591 | download/fossil-w32-1.35.zip download/releasenotes-1.32.html\ |
| 1592 | download/releasenotes-1.33.html download/releasenotes-1.34.html\ |
| 1593 | download/releasenotes-1.35.html index.wiki}} |
| 1594 | |
| 1595 | ############################################################################### |
| 1596 | |
| 1597 | run_in_checkout { |
| 1598 | fossil test-th-eval --open-config \ |
| 1599 | {string length [unversioned content build-icons/src.gif]} |
| 1600 | } |
| 1601 | |
| 1602 | test th1-unversioned-2 {$RESULT eq {4592}} |
| 1603 | |
| 1604 | ############################################################################### |
| 1605 | |
| 1606 | test_cleanup |
| 1607 |
+9
-8
| --- www/th1.md | ||
| +++ www/th1.md | ||
| @@ -164,10 +164,11 @@ | ||
| 164 | 164 | * render |
| 165 | 165 | * repository |
| 166 | 166 | * searchable |
| 167 | 167 | * setParameter |
| 168 | 168 | * setting |
| 169 | + * stime | |
| 169 | 170 | * styleHeader |
| 170 | 171 | * styleFooter |
| 171 | 172 | * tclEval |
| 172 | 173 | * tclExpr |
| 173 | 174 | * tclInvoke |
| @@ -175,11 +176,10 @@ | ||
| 175 | 176 | * tclMakeSafe |
| 176 | 177 | * tclReady |
| 177 | 178 | * trace |
| 178 | 179 | * unversioned content |
| 179 | 180 | * unversioned list |
| 180 | - * stime | |
| 181 | 181 | * utime |
| 182 | 182 | * verifyCsrf |
| 183 | 183 | * wiki |
| 184 | 184 | |
| 185 | 185 | Each of the commands above is documented by a block comment above their |
| @@ -519,10 +519,18 @@ | ||
| 519 | 519 | ----------------------------------------- |
| 520 | 520 | |
| 521 | 521 | * setting name |
| 522 | 522 | |
| 523 | 523 | Gets and returns the value of the specified setting. |
| 524 | + | |
| 525 | +<a name="stime"></a>TH1 stime Command | |
| 526 | +------------------------------------- | |
| 527 | + | |
| 528 | + * stime | |
| 529 | + | |
| 530 | +Returns the number of microseconds of CPU time consumed by the current | |
| 531 | +process in system space. | |
| 524 | 532 | |
| 525 | 533 | <a name="styleHeader"></a>TH1 styleHeader Command |
| 526 | 534 | ------------------------------------------------- |
| 527 | 535 | |
| 528 | 536 | * styleHeader TITLE |
| @@ -622,18 +630,10 @@ | ||
| 622 | 630 | * unversioned list |
| 623 | 631 | |
| 624 | 632 | Returns a list of the names of all unversioned files held in the local |
| 625 | 633 | repository. |
| 626 | 634 | |
| 627 | -<a name="stime"></a>TH1 stime Command | |
| -------------------------------------- | ||
| 628 | - | |
| 629 | - * stime | |
| 630 | - | |
| 631 | -Returns the number of microseconds of CPU time consumed by the current | |
| 632 | -process in system space. | |
| 633 | - | |
| 634 | 635 | <a name="utime"></a>TH1 utime Command |
| 635 | 636 | ------------------------------------- |
| 636 | 637 | |
| 637 | 638 | * utime |
| 638 | 639 | |
| 639 | 640 |
| --- www/th1.md | |
| +++ www/th1.md | |
| @@ -164,10 +164,11 @@ | |
| 164 | * render |
| 165 | * repository |
| 166 | * searchable |
| 167 | * setParameter |
| 168 | * setting |
| 169 | * styleHeader |
| 170 | * styleFooter |
| 171 | * tclEval |
| 172 | * tclExpr |
| 173 | * tclInvoke |
| @@ -175,11 +176,10 @@ | |
| 175 | * tclMakeSafe |
| 176 | * tclReady |
| 177 | * trace |
| 178 | * unversioned content |
| 179 | * unversioned list |
| 180 | * stime |
| 181 | * utime |
| 182 | * verifyCsrf |
| 183 | * wiki |
| 184 | |
| 185 | Each of the commands above is documented by a block comment above their |
| @@ -519,10 +519,18 @@ | |
| 519 | ----------------------------------------- |
| 520 | |
| 521 | * setting name |
| 522 | |
| 523 | Gets and returns the value of the specified setting. |
| 524 | |
| 525 | <a name="styleHeader"></a>TH1 styleHeader Command |
| 526 | ------------------------------------------------- |
| 527 | |
| 528 | * styleHeader TITLE |
| @@ -622,18 +630,10 @@ | |
| 622 | * unversioned list |
| 623 | |
| 624 | Returns a list of the names of all unversioned files held in the local |
| 625 | repository. |
| 626 | |
| 627 | <a name="stime"></a>TH1 stime Command |
| -------------------------------------- | |
| 628 | |
| 629 | * stime |
| 630 | |
| 631 | Returns the number of microseconds of CPU time consumed by the current |
| 632 | process in system space. |
| 633 | |
| 634 | <a name="utime"></a>TH1 utime Command |
| 635 | ------------------------------------- |
| 636 | |
| 637 | * utime |
| 638 | |
| 639 |
| --- www/th1.md | |
| +++ www/th1.md | |
| @@ -164,10 +164,11 @@ | |
| 164 | * render |
| 165 | * repository |
| 166 | * searchable |
| 167 | * setParameter |
| 168 | * setting |
| 169 | * stime |
| 170 | * styleHeader |
| 171 | * styleFooter |
| 172 | * tclEval |
| 173 | * tclExpr |
| 174 | * tclInvoke |
| @@ -175,11 +176,10 @@ | |
| 176 | * tclMakeSafe |
| 177 | * tclReady |
| 178 | * trace |
| 179 | * unversioned content |
| 180 | * unversioned list |
| 181 | * utime |
| 182 | * verifyCsrf |
| 183 | * wiki |
| 184 | |
| 185 | Each of the commands above is documented by a block comment above their |
| @@ -519,10 +519,18 @@ | |
| 519 | ----------------------------------------- |
| 520 | |
| 521 | * setting name |
| 522 | |
| 523 | Gets and returns the value of the specified setting. |
| 524 | |
| 525 | <a name="stime"></a>TH1 stime Command |
| 526 | ------------------------------------- |
| 527 | |
| 528 | * stime |
| 529 | |
| 530 | Returns the number of microseconds of CPU time consumed by the current |
| 531 | process in system space. |
| 532 | |
| 533 | <a name="styleHeader"></a>TH1 styleHeader Command |
| 534 | ------------------------------------------------- |
| 535 | |
| 536 | * styleHeader TITLE |
| @@ -622,18 +630,10 @@ | |
| 630 | * unversioned list |
| 631 | |
| 632 | Returns a list of the names of all unversioned files held in the local |
| 633 | repository. |
| 634 | |
| -------------------------------------- | |
| 635 | <a name="utime"></a>TH1 utime Command |
| 636 | ------------------------------------- |
| 637 | |
| 638 | * utime |
| 639 | |
| 640 |
+9
-8
| --- www/th1.md | ||
| +++ www/th1.md | ||
| @@ -164,10 +164,11 @@ | ||
| 164 | 164 | * render |
| 165 | 165 | * repository |
| 166 | 166 | * searchable |
| 167 | 167 | * setParameter |
| 168 | 168 | * setting |
| 169 | + * stime | |
| 169 | 170 | * styleHeader |
| 170 | 171 | * styleFooter |
| 171 | 172 | * tclEval |
| 172 | 173 | * tclExpr |
| 173 | 174 | * tclInvoke |
| @@ -175,11 +176,10 @@ | ||
| 175 | 176 | * tclMakeSafe |
| 176 | 177 | * tclReady |
| 177 | 178 | * trace |
| 178 | 179 | * unversioned content |
| 179 | 180 | * unversioned list |
| 180 | - * stime | |
| 181 | 181 | * utime |
| 182 | 182 | * verifyCsrf |
| 183 | 183 | * wiki |
| 184 | 184 | |
| 185 | 185 | Each of the commands above is documented by a block comment above their |
| @@ -519,10 +519,18 @@ | ||
| 519 | 519 | ----------------------------------------- |
| 520 | 520 | |
| 521 | 521 | * setting name |
| 522 | 522 | |
| 523 | 523 | Gets and returns the value of the specified setting. |
| 524 | + | |
| 525 | +<a name="stime"></a>TH1 stime Command | |
| 526 | +------------------------------------- | |
| 527 | + | |
| 528 | + * stime | |
| 529 | + | |
| 530 | +Returns the number of microseconds of CPU time consumed by the current | |
| 531 | +process in system space. | |
| 524 | 532 | |
| 525 | 533 | <a name="styleHeader"></a>TH1 styleHeader Command |
| 526 | 534 | ------------------------------------------------- |
| 527 | 535 | |
| 528 | 536 | * styleHeader TITLE |
| @@ -622,18 +630,10 @@ | ||
| 622 | 630 | * unversioned list |
| 623 | 631 | |
| 624 | 632 | Returns a list of the names of all unversioned files held in the local |
| 625 | 633 | repository. |
| 626 | 634 | |
| 627 | -<a name="stime"></a>TH1 stime Command | |
| -------------------------------------- | ||
| 628 | - | |
| 629 | - * stime | |
| 630 | - | |
| 631 | -Returns the number of microseconds of CPU time consumed by the current | |
| 632 | -process in system space. | |
| 633 | - | |
| 634 | 635 | <a name="utime"></a>TH1 utime Command |
| 635 | 636 | ------------------------------------- |
| 636 | 637 | |
| 637 | 638 | * utime |
| 638 | 639 | |
| 639 | 640 |
| --- www/th1.md | |
| +++ www/th1.md | |
| @@ -164,10 +164,11 @@ | |
| 164 | * render |
| 165 | * repository |
| 166 | * searchable |
| 167 | * setParameter |
| 168 | * setting |
| 169 | * styleHeader |
| 170 | * styleFooter |
| 171 | * tclEval |
| 172 | * tclExpr |
| 173 | * tclInvoke |
| @@ -175,11 +176,10 @@ | |
| 175 | * tclMakeSafe |
| 176 | * tclReady |
| 177 | * trace |
| 178 | * unversioned content |
| 179 | * unversioned list |
| 180 | * stime |
| 181 | * utime |
| 182 | * verifyCsrf |
| 183 | * wiki |
| 184 | |
| 185 | Each of the commands above is documented by a block comment above their |
| @@ -519,10 +519,18 @@ | |
| 519 | ----------------------------------------- |
| 520 | |
| 521 | * setting name |
| 522 | |
| 523 | Gets and returns the value of the specified setting. |
| 524 | |
| 525 | <a name="styleHeader"></a>TH1 styleHeader Command |
| 526 | ------------------------------------------------- |
| 527 | |
| 528 | * styleHeader TITLE |
| @@ -622,18 +630,10 @@ | |
| 622 | * unversioned list |
| 623 | |
| 624 | Returns a list of the names of all unversioned files held in the local |
| 625 | repository. |
| 626 | |
| 627 | <a name="stime"></a>TH1 stime Command |
| -------------------------------------- | |
| 628 | |
| 629 | * stime |
| 630 | |
| 631 | Returns the number of microseconds of CPU time consumed by the current |
| 632 | process in system space. |
| 633 | |
| 634 | <a name="utime"></a>TH1 utime Command |
| 635 | ------------------------------------- |
| 636 | |
| 637 | * utime |
| 638 | |
| 639 |
| --- www/th1.md | |
| +++ www/th1.md | |
| @@ -164,10 +164,11 @@ | |
| 164 | * render |
| 165 | * repository |
| 166 | * searchable |
| 167 | * setParameter |
| 168 | * setting |
| 169 | * stime |
| 170 | * styleHeader |
| 171 | * styleFooter |
| 172 | * tclEval |
| 173 | * tclExpr |
| 174 | * tclInvoke |
| @@ -175,11 +176,10 @@ | |
| 176 | * tclMakeSafe |
| 177 | * tclReady |
| 178 | * trace |
| 179 | * unversioned content |
| 180 | * unversioned list |
| 181 | * utime |
| 182 | * verifyCsrf |
| 183 | * wiki |
| 184 | |
| 185 | Each of the commands above is documented by a block comment above their |
| @@ -519,10 +519,18 @@ | |
| 519 | ----------------------------------------- |
| 520 | |
| 521 | * setting name |
| 522 | |
| 523 | Gets and returns the value of the specified setting. |
| 524 | |
| 525 | <a name="stime"></a>TH1 stime Command |
| 526 | ------------------------------------- |
| 527 | |
| 528 | * stime |
| 529 | |
| 530 | Returns the number of microseconds of CPU time consumed by the current |
| 531 | process in system space. |
| 532 | |
| 533 | <a name="styleHeader"></a>TH1 styleHeader Command |
| 534 | ------------------------------------------------- |
| 535 | |
| 536 | * styleHeader TITLE |
| @@ -622,18 +630,10 @@ | |
| 630 | * unversioned list |
| 631 | |
| 632 | Returns a list of the names of all unversioned files held in the local |
| 633 | repository. |
| 634 | |
| -------------------------------------- | |
| 635 | <a name="utime"></a>TH1 utime Command |
| 636 | ------------------------------------- |
| 637 | |
| 638 | * utime |
| 639 | |
| 640 |