Fossil

History of src/th_lang.c of ea7f3297046747a1
Login

History of src/th_lang.c of ea7f3297046747a1

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

History of file src/th_lang.c at check-in ea7f3297046747a1

2023-02-03
15:15
Attempt to fix various harmless compiler warnings reported by Clang-15. ... (file: [e9c9acc0cd] check-in: [e486a0acbc] user: drh branch: trunk, size: 32094)
2021-09-21
08:01
Corrected th1 lappend to persist its result, as reported in [forum:97f8815dd3ddd7df|forum post 97f8815dd3ddd7df]. ... (file: [281fc2eaf6] check-in: [cb531a5416] user: stephan branch: trunk, size: 32021)
2021-02-11
03:01
Add the "lappend" TH1 command. All built-in skins now respond to the "desktoponly" and "wideonly" classes on the main menu. ... (file: [10ea27ac22] check-in: [d4c91b40a4] user: drh branch: trunk, size: 31968)
2021-01-26
23:05
Fix a harmless compiler warning. ... (file: [e10427606b] check-in: [6dc53820ac] user: drh branch: new-main-menu, size: 31203)
21:53
The main menu for web display is now derived from the "mainmenu" setting, for the built-in skins. Customized skins that ignore the mainmenu setting continue to operate as before. Added the "string match" TH1 command to help. ... (file: [0effd60e42] check-in: [923841b709] user: drh branch: new-main-menu, size: 31169)
13:50
Add "foreach" loops to TH1. ... (file: [95ac492d2f] check-in: [3316b29225] user: drh branch: trunk, size: 30590)
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: [728f38a941] check-in: [36f0e47b32] 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: [61367ec8f0] check-in: [e9845e5904] user: mistachkin branch: trunk, size: 29633)
2017-09-30
01:09
Add [string index] TH1 command ... (file: [303c2c061c] check-in: [0c57ba3eb4] user: andygoth branch: trunk, size: 29631)
2016-01-28
20:18
Correct some TH1 command syntax comments. ... (file: [ea48575293] check-in: [2948c3fe22] user: mistachkin branch: trunk, size: 28777)
2016-01-26
14:12
Redo TIP #440 alternative - again - now using the "info runtime" command. ... (file: [b525cbb44f] check-in: [9633f6ac94] user: jan.nijtmans branch: tip-440-alt, size: 29082)
10:22
Alternative TIP #440 implementation, based on TIP #59 ... (file: [bea9891a1c] check-in: [2ba6587cc5] 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: [e04dbc49d3] check-in: [fd00816d95] 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: [9b05851f81] check-in: [fbc9e292ec] user: jan.nijtmans branch: tip-440-alt, size: 30270)
13:04
(experiment) Implement "package require Tcl" according to the alternative TIP #440 implementation. ... (file: [eeb8590ac7] check-in: [6bb2308fcb] 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: [06a9347ab2] check-in: [fd4ada4a11] 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: [e37a4bae6c] check-in: [c66083eded] 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: [5bd2c19779] check-in: [7c3cb470e6] user: andybradford branch: trunk, size: 27505)
2015-07-15
00:54
Add 'double' and 'integer' classes to the 'string is' command in TH1. ... (file: [a536a5cee2] check-in: [5e9c7a4a78] user: mistachkin branch: trunk, size: 27489)
00:31
Add 'list' class to the 'string is' command in TH1. ... (file: [01764db148] check-in: [c3ffd0e396] 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: [71435ded9e] check-in: [1079c2459b] 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: [866a5c6508] check-in: [eabd7290fb] 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: [f6085bbe7c] check-in: [810e6c1e68] user: mistachkin branch: trunk, size: 26008)
2014-01-24
10:04
Eliminate two unneeded type-casts and a compiler warning (signed<>unsigned compare) ... (file: [e18896a178] check-in: [17f7b650af] user: jan.nijtmans branch: trunk, size: 25058)
09:54
Put Th_SubCommand constant tables in constant memory. ... (file: [e405ec6268] check-in: [dce90fe35e] 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: [2a34ab0b92] check-in: [f61958b183] user: mistachkin branch: trunk, size: 25027)
06:31
Fix typo in TH1 'string last' error message. ... (file: [fe6fadef9c] check-in: [dd8d317670] user: mistachkin branch: trunk, size: 24926)
2014-01-13
23:06
Trim trailing whitespace in TH1 and align some comments. ... (file: [b0c4694bcc] check-in: [5a9f9ba61d] user: mistachkin branch: th1Work, size: 24927)
2013-05-08
17:12
Improved the out-of-bounds error message in Th_CallSubCommand(). ... (file: [c0c6607eb1] check-in: [60e9622313] user: stephan branch: trunk, size: 25030)
16:57
Fixed an array-bounds access violation in Th_SubCommand. Problem reported via the mailing list. ... (file: [2b00822c31] check-in: [05ec4ed3c4] 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: [6d19a8a13f] check-in: [f6ac3c6f3d] user: drh branch: ticket-enhancements, size: 24893)
2012-11-23
21:45
Add the [string trimleft] and [string trimright] commands to TH1. ... (file: [3662908a48] check-in: [b28ae72e84] user: drh branch: ticket-enhancements, size: 24894)
16:37
Add the [string trim ...] command to TH1. Accept query parameters in tktview. ... (file: [c158ef230a] check-in: [7ba3f65382] user: drh branch: ticket-enhancements, size: 24663)
2012-07-22
17:40
Pulled in minor memleak fix [bee0036681]. ... (file: [18bca7c6d5] check-in: [11abffbb49] user: stephan branch: trunk, size: 24196)
16:54
Fixed a memleak in the th1 variadic proc args support. ... (file: [c4c3211c2f] check-in: [bee0036681] 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: [ab9f8c3844] check-in: [c25a5d199b] 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: [ef7625e462] check-in: [3d243a5681] user: stephan branch: th1-query-api, size: 24796)
00:57
Fixed a missing NUL terminator. ... (file: [3e685acd99] check-in: [66da00e969] 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: [7599cde1d1] check-in: [3ab06e8962] 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: [65fc56338a] check-in: [bd98f0f430] 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: [36167e49b6] check-in: [f2d8724250] 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: [c35567dc16] check-in: [b793063954] user: stephan branch: th1-query-api, size: 24322)
13:43
Refactored th1 function registration code to be reusable across modules. ... (file: [19fa9554aa] check-in: [e923b4a64d] user: stephan branch: th1-query-api, size: 24241)
13:20
minor generic cleanups in th1 before continuing on to real work... ... (file: [5705aff44b] check-in: [1767603f23] user: stephan branch: th1-query-api, size: 24571)
2012-03-29
14:54
Add vim modline everywhere ... (file: [cdf3c5cf38] check-in: [a496d8e88d] user: mgagnon branch: mgagnon_fix, size: 24187)
2011-11-05
03:05
Always skip adding script commands that have a NULL name or function pointer. ... (file: [f60e4d5f59] check-in: [1b1fd23590] user: mistachkin branch: trunk, size: 24145)
2011-11-04
21:57
Replace the TH1 interpreter with Jim Tcl. ... (check-in: [863e789e83] user: steveb branch: jimtcl, size: 0)
2010-10-14
19:23
Additional compiler warning fixes. ... (file: [f05d1b1ab5] check-in: [c345445cad] user: drh branch: trunk, size: 24071)
2009-01-24
10:44
Fix some compiler warnings. ... (file: [2c954f31ba] check-in: [cd965de682] 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: [8af8d7380e] check-in: [0c99a1554a] 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: [1db6c88ca5] check-in: [4ee9e31a2d] user: drh branch: trunk, size: 24118)