Timeline
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2014-09-05
08:22
src/th.h: bring the latest version from Fossil project. Leaf check-in: b451d1045f user: sg tags: trunk
2014-09-02
06:18
Bring the latest fixes from Fossil project (fix TH1 expression parsing when there are unbalanced parenthesis). check-in: 7f25d2e49e user: sg tags: trunk
2014-08-12
10:58
src/th.c: bring up the latest changes from Fossil project. Closed-Leaf check-in: 9e81c34d11 user: sg tags: mistake
2014-08-01
09:10
src/th_shell.c:Th_EvalFile(): further simplification. check-in: 0c7cf304db user: sg tags: trunk
08:12
src/th.c: bring up the latest tweaks from Fossil project (2ba71f5105); src/th_shell.c: simplified due this change (no odd work-arounds any more). check-in: a2239c061d user: sg tags: trunk
2014-05-08
20:25
No changes in code. Someone made a proposal: Use linenoise for TH1 shell. Linenoise? I agree that linenoise is a brilliant. But, why not to use readline which has been installed already? How to embed readline bloodlessly? Use socat: socat READLINE,history=$HOME/.th_history EXEC:thsh,pty. Read on that, Readline input line support for all. check-in: 8dcb479b0f user: sg tags: trunk
2014-04-07
19:35
Bring the latest TH1 sources from Fossil project. check-in: c31685d1fd user: sg tags: trunk
2014-04-04
19:49
Merge oct-and-hex branch to trunk check-in: 5f50bc1151 user: sg tags: trunk
2014-04-01
22:34
Bring the latest TH1 sources from Fossil project. check-in: 115a208e63 user: sg tags: trunk
2014-02-20
06:56
Fixed [puts] command. Use fwrite() insteat printf(). This lets to get correct output for any blob, for example, for such a case, puts "[string repeat \x00 8]!\n" check-in: 888f6f66d1 user: sg tags: trunk
2014-02-19
07:54
src/th_shell.c:Th_EvalFile(): miss space in error message, fixed. check-in: 44110b1e60 user: sg tags: trunk
07:47
src/th_shell.c: Enter new TH service function Th_ErrorMessageStr() to make error messages with strerror() appendix. check-in: 3912bcb50e user: sg tags: trunk
2014-02-17
07:21
src/th_shell.c: replace default TH [error] and [return] commands (only the shell needs this "workaround"). check-in: a4e1a61782 user: sg tags: trunk
2014-02-15
17:36
Bring the latest TH sources from Fossil project. check-in: c280b5c3a6 user: sg tags: trunk
2014-02-14
06:37
Change default thsh prompt, now it is "(%d) th>". check-in: 7b1605ec94 user: sg tags: trunk
06:26
Make Mr. proper after the previous check-in. check-in: bb80cc6ff3 user: sg tags: trunk
06:22
Forget [repeat] command, keep it simple. check-in: 20dd7e15e2 user: sg tags: trunk
2014-02-12
16:01
src/th_shell.c:thGetClock(): fix integer overflow; Makefile: allow use of long long. check-in: 195532f9e4 user: sg tags: trunk
2014-02-05
06:02
Bring the latest FOSSIL's TH sources. check-in: d383550248 user: sg tags: trunk
2014-01-24
14:20
Bring up the latest TH1 sources from Fossil project. check-in: e342c0db15 user: sg tags: trunk
2014-01-16
08:30
Bring-up the latest th_lang.c from Fossil project. check-in: dc13c49c38 user: sg tags: trunk
2014-01-15
20:32
Updated test procedure: run any test in global scope (frame #0). check-in: dab69c4863 user: sg tags: trunk
20:25
No changes in code. Updated unset.test (skip some tests if tclsh used as test shell). check-in: 775f2ea3dd user: sg tags: trunk
13:22
Fixed boundaries checks in string sub-commands: string first and string last. Added inital string.test. check-in: 7eb8e6cdb5 user: sg tags: trunk
12:06
No changes in code. Updated test infrastructure. REMOVED test/ALL.test. Added new test iterator (sh+awk), tester.tcl now outputs only test titles and results (no summary). Updated Makefile. More styling in tests. check-in: b3a7ef0cf8 user: sg tags: trunk
06:17
Bring up the latest TH1 sources from Fossil trunk. check-in: 6658622faa user: sg tags: trunk
2014-01-14
15:22
Bring up the latest TH1 sources from 'th1UnsetVar' branch (credits to Joe Mistachkin). check-in: 97e3f36913 user: sg tags: trunk
05:56
Bring up the latest TH1 sources from Fossil project. check-in: 9db6c0169f user: sg tags: trunk
2014-01-13
08:59
Skip TH1 unset tests if TESTSHELL is tclsh. check-in: 67ed68a803 user: sg tags: trunk
08:46
Fixed unset command (refer to Th_GetVar() for a check). Added new test for this case. check-in: e3825f639e user: sg tags: trunk
07:14
No changes in code. Simplified tester's output, mass rename test headers (now titles start with th1- prefix). check-in: 29f569185a user: sg tags: trunk
2014-01-12
22:31
Avoid a buffer overflow in time/repeat command, e.g.: rename repeat morelongname; morelongname. check-in: dc88b12dfe user: sg tags: trunk
20:34
Added [repeat] command. NOTE1: this command is based on the [time] command. NOTE2: it twice as fast as an equal [for] loop. check-in: 9446c2a54f user: sg tags: trunk
19:29
No changes in code. Add an important comment for benchmark results. check-in: 93ca57d3b1 user: sg tags: trunk
19:02
Added a slightly modified (and cut) benchmark test from Jim Tcl Project. Remember that in Tcl TH1, Everything is a String. check-in: 22b95d2de5 user: sg tags: trunk
13:37
Makefile: new TESTSHELL variable. If that set that will used to run tester.tcl. The built thsh is used by default as TESTSHELL. check-in: a7e2e791ce user: sg tags: trunk
2014-01-11
16:54
Modified tester and tests to use tclsh if needed. check-in: 385d38e470 user: sg tags: trunk
13:53
Pretty print of stack trace. check-in: 0a7f338463 user: sg tags: trunk
2014-01-10
17:23
Minor styling. check-in: c465fb4098 user: sg tags: trunk
08:02
No changes in code. Styling a test. check-in: 3578468dbe user: sg tags: trunk
07:39
Use safe malloc/free/realloc like Fossil's ones. check-in: be7cd2e3b7 user: sg tags: trunk
07:07
No need to save and restore TH result if a th_prompt* is not set. check-in: 872ed5db2b user: sg tags: trunk
06:35
No changes in code. Update exists.test. check-in: 8985c3e69d user: sg tags: trunk
06:05
Bring up the latest th.c from Fossil project. check-in: 7a036d30bf user: sg tags: trunk
2014-01-09
17:10
Clean-up tests. check-in: 20f449074d user: sg tags: trunk
17:06
Th_ExistsVar() does reset th_stack_trace in variable does not exists: Th_Exists_Var -> thFindValue() -> Th_ErrorResult -> ... reset stack. Updated interface thFindValue (s/arrayok/flags/). No need anymore to mess with ::th_stack_trace on prompt checks. Added a test for the issue. check-in: 3903d08b04 user: sg tags: trunk
09:30
Updated test suite: added incr.test, fixed version.test. check-in: baaf861da9 user: sg tags: trunk
09:29
Now [incr] is implemented as TH command. Used separate functions to output TH prompts. Further clean-ups. check-in: 397f95e04f user: sg tags: trunk
2014-01-08
23:51
Simplified [time] command. Be more strict in naming. check-in: 73fd070469 user: sg tags: trunk
08:28
Added test for argc, argv, and argv0. check-in: 29a79ff055 user: sg tags: trunk