Fossil

File History
Login

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

History of src/th_lang.c

2017-10-04
05:35
Improvement to TH_RETURN handling needed for TH1 hooks. Update and correct TH1 hook tests. Add draft documentation for TH1 hooks. file: [728f38a9] check-in: [36f0e47b] user: mistachkin branch: trunk, size: 29681
2017-10-02
15:23
Add docs and tests for the TH1 'string index' command added by check-in [0c57ba3eb4]. Also, fix issue with handling of the special 'end' index. file: [61367ec8] check-in: [e9845e59] user: mistachkin branch: trunk, size: 29633
2017-09-30
01:09
Add [string index] TH1 command file: [303c2c06] check-in: [0c57ba3e] user: andygoth branch: trunk, size: 29631
2016-01-28
20:18
Correct some TH1 command syntax comments. file: [ea485752] check-in: [2948c3fe] user: mistachkin branch: trunk, size: 28777
2016-01-26
14:12
Redo TIP #440 alternative - again - now using the "info runtime" command. file: [b525cbb4] check-in: [9633f6ac] user: jan.nijtmans branch: tip-440-alt, size: 29082
10:22
Alternative TIP #440 implementation, based on TIP #59 file: [bea9891a] check-in: [2ba6587c] user: jan.nijtmans branch: tip-440-alt, size: 29527
2016-01-20
22:41
Of course, the value of "::tcl::pkgconfig get engine" should be "TH1" file: [e04dbc49] check-in: [fd00816d] user: jan.nijtmans branch: tip-440-alt, size: 30269
22:33
How about the TIP #59 way of TIP #440? "::tcl::pkgconfig get engine" -> "core" file: [9b05851f] check-in: [fbc9e292] user: jan.nijtmans branch: tip-440-alt, size: 30270
13:04
(experiment) Implement "package require Tcl" according to the alternative TIP #440 implementation. file: [eeb8590a] check-in: [6bb2308f] user: jan.nijtmans branch: tip-440-alt, size: 29546
2016-01-18
02:21
Add the 'array exists' and 'array names' sub-commands to TH1. file: [06a9347a] check-in: [fd4ada4a] user: mistachkin branch: tclPlatform, size: 28765
2015-11-21
18:37
Revise TH1 proc_command fix from the previous check-in so it more closely matches the original fix from [f2d87242503d7a7d]. file: [e37a4bae] check-in: [c66083ed] user: mistachkin branch: trunk, size: 27519
17:25
If the proc argument list is an empty list, don't segfault by accessing memory outside the bounds of the array. For example, as used in the footer /artifact/7f36cbf30a82ef3cec30c1917a96415fa7d76eeb?txt=1&ln=3 file: [5bd2c197] check-in: [7c3cb470] user: andybradford branch: trunk, size: 27505
2015-07-15
00:54
Add 'double' and 'integer' classes to the 'string is' command in TH1. file: [a536a5ce] check-in: [5e9c7a4a] user: mistachkin branch: trunk, size: 27489
00:31
Add 'list' class to the 'string is' command in TH1. file: [01764db1] check-in: [c3ffd0e3] user: mistachkin branch: trunk, size: 27014
2015-06-04
17:51
Fix memory leak in the 'info commands' and 'info vars' TH1 sub-commands. Reported to the mailing list by Sergei Gavrikov. file: [71435ded] check-in: [1079c245] user: mistachkin branch: trunk, size: 26771
2015-05-27
03:58
Add minimal 'lsearch' command to TH1. Only exact case-sensitive matching is supported. file: [866a5c65] check-in: [eabd7290] user: mistachkin branch: lsearchCmd, size: 26695
2015-04-05
18:17
Add the 'info commands' and 'info vars' sub-commands to the TH1 core language, with tests. file: [f6085bbe] check-in: [810e6c1e] user: mistachkin branch: trunk, size: 26008
2014-01-24
10:04
Eliminate two unneeded type-casts and a compiler warning (signed<>unsigned compare) file: [e18896a1] check-in: [17f7b650] user: jan.nijtmans branch: trunk, size: 25058
09:54
Put Th_SubCommand constant tables in constant memory. file: [e405ec62] check-in: [dce90fe3] user: jan.nijtmans branch: trunk, size: 25059
2014-01-16
07:05
Fix various corner cases for the TH1 'string first' and 'string last' sub-commands. file: [2a34ab0b] check-in: [f61958b1] user: mistachkin branch: trunk, size: 25027
06:31
Fix typo in TH1 'string last' error message. file: [fe6fadef] check-in: [dd8d3176] user: mistachkin branch: trunk, size: 24926
2014-01-13
23:06
Trim trailing whitespace in TH1 and align some comments. file: [b0c4694b] check-in: [5a9f9ba6] user: mistachkin branch: th1Work, size: 24927
2013-05-08
17:12
Improved the out-of-bounds error message in Th_CallSubCommand(). file: [c0c6607e] check-in: [60e96223] user: stephan branch: trunk, size: 25030
16:57
Fixed an array-bounds access violation in Th_SubCommand. Problem reported via the mailing list. file: [2b00822c] check-in: [05ec4ed3] user: stephan branch: trunk, size: 25014
2012-11-24
14:44
Add the "query" command to the TH1 language, used to query the repository database. file: [6d19a8a1] check-in: [f6ac3c6f] user: drh branch: ticket-enhancements, size: 24893
2012-11-23
21:45
Add the [string trimleft] and [string trimright] commands to TH1. file: [3662908a] check-in: [b28ae72e] user: drh branch: ticket-enhancements, size: 24894
16:37
Add the [string trim ...] command to TH1. Accept query parameters in tktview. file: [c158ef23] check-in: [7ba3f653] user: drh branch: ticket-enhancements, size: 24663
2012-07-22
17:40
Pulled in minor memleak fix [bee0036681]. file: [18bca7c6] check-in: [11abffbb] user: stephan branch: trunk, size: 24196
16:54
Fixed a memleak in the th1 variadic proc args support. file: [c4c3211c] check-in: [bee00366] user: stephan branch: th1-query-api, size: 24846
2012-07-16
18:56
Cleanups requested by DRH, plus some incidental consistency/maintenance-related cleanups found along the way. file: [ab9f8c38] check-in: [c25a5d19] user: stephan branch: th1-query-api, size: 24795
2012-07-15
13:14
Minor cleanups. Made Th_Ob_Man opaque. Renamed TH_USE_xxx to TH_ENABLE_xxx. file: [ef7625e4] check-in: [3d243a56] user: stephan branch: th1-query-api, size: 24796
00:57
Fixed a missing NUL terminator. file: [3e685acd] check-in: [66da00e9] user: stephan branch: th1-query-api, size: 25126
00:39
Added flags arg to Th_Render to allow us to eventually customize its output a bit. file: [7599cde1] check-in: [3ab06e89] user: stephan branch: th1-query-api, size: 25078
2012-07-14
20:45
Refactored th1 query API to use (query foo) instead of query_foo. Added th1_query.wiki doc page. file: [65fc5633] check-in: [bd98f0f4] user: stephan branch: th1-query-api, size: 24808
19:48
Fixed a segfault in proc_command() caused by invalid inspection of an empty array. file: [36167e49] check-in: [f2d87242] user: stephan branch: th1-query-api, size: 24350
18:32
Added PHP-like "ob" (output buffering) API to th1. Refactred Th_Vtab allocator to use a single realloc()-like interface. file: [c35567dc] check-in: [b7930639] user: stephan branch: th1-query-api, size: 24322
13:43
Refactored th1 function registration code to be reusable across modules. file: [19fa9554] check-in: [e923b4a6] user: stephan branch: th1-query-api, size: 24241
13:20
minor generic cleanups in th1 before continuing on to real work... file: [5705aff4] check-in: [1767603f] user: stephan branch: th1-query-api, size: 24571
2011-11-05
03:05
Always skip adding script commands that have a NULL name or function pointer. file: [f60e4d5f] check-in: [1b1fd235] user: mistachkin branch: trunk, size: 24145
2010-10-14
19:23
Additional compiler warning fixes. file: [f05d1b1a] check-in: [c345445c] user: drh branch: trunk, size: 24071
2009-01-24
10:44
Fix some compiler warnings. file: [2c954f31] check-in: [cd965de6] user: drh branch: trunk, size: 24037
2008-10-24
16:36
Modify the TH1 script interperter to use native characters rather than unsigned characters. Fix a bug in the combobox extension command of TH1. file: [8af8d738] check-in: [0c99a155] user: drh branch: trunk, size: 24027
2008-02-13
15:04
Add the TH1 code to the source tree and makefile. But do not yet make any calls to TH1. file: [1db6c88c] check-in: [4ee9e31a] user: drh branch: trunk, size: 24118 Added