History of src/th.h of a496d8e88dc0c0a7
Not logged in

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

History of file src/th.h at check-in a496d8e88dc0c0a7

2025-04-19
16:55
Experimental changes to TH1 to try to make it resistant to coding errors that could lead to XSS or SQL injection attacks. file: [549dd1af2f] check-in: [b0b4492480] user: drh branch: th1-taint, size: 9000
2023-05-15
16:43
Potential fix for [746a5106f92287036c12c945d9d7358a1263301e]. file: [e26d06c009] check-in: [d6a4ab2276] user: stephan branch: trunk, size: 7185
2021-03-18
22:57
Add compile-time option to enable TH1 memory leak tracking. Also, fix a TH1 memory leak and improve a couple #ifdef's. file: [7e47343d87] check-in: [e5293dc281] user: mistachkin branch: th1-malloc-debugging, size: 6655
2021-01-27
13:32
More TH1 performance optimizations: Go directly to malloc() rather than through the Th_Malloc() intermediary. file: [41356351a6] check-in: [9b4f2d8e98] user: drh branch: trunk, size: 6220
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: [2abe3f3d6c] check-in: [36f0e47b32] user: mistachkin branch: trunk, size: 6067
2016-01-18
02:21
Add the 'array exists' and 'array names' sub-commands to TH1. file: [26b934e34a] check-in: [fd4ada4a11] user: mistachkin branch: tclPlatform, size: 6045
2015-06-11
21:25
Further improvements to the Tcl integration subsystem. file: [1e7ae1613a] check-in: [18fc492a95] user: mistachkin branch: trunk, size: 5918
2015-04-05
18:17
Add the 'info commands' and 'info vars' sub-commands to the TH1 core language, with tests. file: [331b9aaf01] check-in: [810e6c1e68] user: mistachkin branch: trunk, size: 5919
2015-01-23
21:03
Correct casing of 'Tcl' where needed. file: [19979061d5] check-in: [967050341d] user: mistachkin branch: trunk, size: 5737
2014-09-05
06:23
Minor enhancements to the Tcl integration subsystem. file: [3d96cf226c] check-in: [946c3eb640] user: mistachkin branch: trunk, size: 5737
2014-04-04
08:16
Fix error-handling in parsing of binary/octal/hex integers for th1. Add test-cases for it. file: [f55e2863d3] check-in: [a306f771d8] user: jan.nijtmans branch: trunk, size: 5732
2014-04-03
15:14
Add support for hex (0x), octal (0o) and binary (0b) integers, just as Tcl. Adapted from patch provided by Sergei Gavrikov. file: [2966150d34] check-in: [1f6734c30b] user: jan.nijtmans branch: trunk, size: 5710
2014-02-15
05:23
Cleanup makefile for MSVC and add optional Tcl support to it. file: [b91330a3f5] check-in: [4321595901] user: mistachkin branch: trunk, size: 5641
2014-02-14
13:37
Cherrypick [252aff3e62] and related clean-ups: Use built-in Tcl for "diff --tk" implementation if possible. Fallback is to spawn an external "tclsh" as before. This makes "fossil diff --tk" work with ActiveState Tcl on Win32 out-of-the-box. file: [3e4928dfc5] check-in: [f325b2343e] user: jan.nijtmans branch: branch-1.28, size: 5629
2014-02-04
20:30
Cleanup use of Tcl integration for launching the Tk diff viewer internally. file: [1e7b5b4877] check-in: [fe9990adc7] user: mistachkin branch: trunk, size: 5641
09:34
Use built-in Tcl for "diff --tk" implementation if possible. Fallback is to spawn an external "tclsh" as before. file: [7b78a932b3] check-in: [252aff3e62] user: jan.nijtmans branch: trunk, size: 5638
2014-01-24
09:54
Put Th_SubCommand constant tables in constant memory. file: [cb27ffe89d] check-in: [dce90fe35e] user: jan.nijtmans branch: trunk, size: 5567
2014-01-14
12:50
Fix several issues with the TH1 unset command, including a memory leak. Add more tests. file: [76d19d7776] check-in: [e4047acb76] user: mistachkin branch: th1UnsetVar, size: 5555
2014-01-13
23:06
Trim trailing whitespace in TH1 and align some comments. file: [9ea5f7f0e7] check-in: [5a9f9ba61d] user: mistachkin branch: th1Work, size: 5556
2013-09-25
23:56
Add formal unloading support to the Tcl integration subsystem. This is necessary to prevent a deadlock while exiting the process when Tcl is loaded. Add runtime detection of the ability to directly invoke an objProc for a Tcl command. Support USE_TCL_STUBS define in the version information. file: [e0461c004e] check-in: [6b58c67ed8] user: mistachkin branch: trunk, size: 5578
2012-11-24
14:44
Add the "query" command to the TH1 language, used to query the repository database. file: [dc507dba5d] check-in: [f6ac3c6f3d] user: drh branch: ticket-enhancements, size: 5474
2012-07-16
19:21
More minor internal consistency cleanups. file: [472a2118c2] check-in: [495f26a00e] user: stephan branch: th1-query-api, size: 18357
18:56
Cleanups requested by DRH, plus some incidental consistency/maintenance-related cleanups found along the way. file: [e2eb85ead2] check-in: [c25a5d199b] user: stephan branch: th1-query-api, size: 18025
2012-07-15
17:33
Started adding infrastructure to allow us to expand the ob handler support to include more types. Added another th1 test script. file: [79b5d0281b] check-in: [726f998b5f] user: stephan branch: th1-query-api, size: 12175
13:14
Minor cleanups. Made Th_Ob_Man opaque. Renamed TH_USE_xxx to TH_ENABLE_xxx. file: [862e5bac57] check-in: [3d243a5681] user: stephan branch: th1-query-api, size: 11509
12:27
Refactored th1/sqlite bits to use Th_Data_Get/Set(), removed sqlite data from Th_Interp class. Other minor cleanups. file: [3251735c73] check-in: [3167ff33f8] user: stephan branch: th1-query-api, size: 11525
11:16
Refactord ob api to only swap out the Vtab output state, as opposed to the whole Vtab state (which includes the allocator). file: [1a4bfda056] check-in: [d9e0ee2f1e] user: stephan branch: th1-query-api, size: 12287
10:59
Added ability to tie client data/finalizer to th1, allowing a refactoring of OB manager to use per-interpreter-instance state instead of global state. file: [d6b66703cb] check-in: [147c602d93] user: stephan branch: th1-query-api, size: 12497
00:39
Added flags arg to Th_Render to allow us to eventually customize its output a bit. file: [b6df3bdc11] check-in: [3ab06e8962] user: stephan branch: th1-query-api, size: 11713
2012-07-14
20:45
Refactored th1 query API to use (query foo) instead of query_foo. Added th1_query.wiki doc page. file: [72877c7449] check-in: [bd98f0f430] user: stephan branch: th1-query-api, size: 9835
19:19
Documented the "ob" API, added "ob level". file: [200750a96e] check-in: [66104f8b5d] user: stephan branch: th1-query-api, size: 9592
18:32
Added PHP-like "ob" (output buffering) API to th1. Refactred Th_Vtab allocator to use a single realloc()-like interface. file: [8017c2d209] check-in: [b793063954] user: stephan branch: th1-query-api, size: 9461
14:02
Refactored Th_ToXXX() to live on top of Th_TryXXX() to simplify some downstream code. file: [9314466a1e] check-in: [7554072246] user: stephan branch: th1-query-api, size: 9383
13:51
moved th1 argv funcs into their own registration unit. Renamed argv_getat to argv_at. file: [ee13b2accb] check-in: [3b25f80edd] user: stephan branch: th1-query-api, size: 9237
13:43
Refactored th1 function registration code to be reusable across modules. file: [3d23440a15] check-in: [e923b4a64d] user: stephan branch: th1-query-api, size: 9165
13:20
minor generic cleanups in th1 before continuing on to real work... file: [98e13ab577] check-in: [1767603f23] user: stephan branch: th1-query-api, size: 8458
11:54
Refactored th1's output mechanism: moved output API to Th_Vtab to support arbitrary output destinations, the intention being to be able to support an output buffer stack analog to PHP's ob_start(), ob_get_clean() and friends. file: [7055ecc5af] check-in: [3c0209f5dc] user: stephan branch: th1-query-api, size: 8131
11:15
Cleanups in the th1 query statement finalization. file: [16247eaedb] check-in: [4fdf0ac279] user: stephan branch: th1-query-api, size: 6739
00:20
added th1 query API. file: [94a7857549] check-in: [c3b10e12a1] user: stephan branch: th1-query-api, size: 5851
2012-03-29
14:54
Add vim modline everywhere file: [85050d5b63] check-in: [a496d8e88d] user: mgagnon branch: mgagnon_fix, size: 5466
2011-11-04
21:57
Deleted: Replace the TH1 interpreter with Jim Tcl. check-in: [863e789e83] user: steveb branch: jimtcl, size: 0
2011-10-26
14:57
Perform lazy setup of the Tcl integration subsystem when it is actually enabled. file: [6d108f597b] check-in: [e49581506a] user: mistachkin branch: tcl-integration, size: 5424
2011-08-27
14:42
Initial code to support TH1/Tcl integration. file: [56f0a129ad] check-in: [f723647710] user: mistachkin branch: tcl-integration, size: 5424
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: [ab705d6d8d] check-in: [0c99a1554a] user: drh branch: trunk, size: 5353
2008-02-13
16:21
Create the interface between TH1 and the rest of fossil. Subscript is still being used, though. This is a preparatory step toward cutting over to TH1. file: [7d3866629e] check-in: [13e16c824a] user: drh branch: trunk, size: 5596
15:04
Added: Add the TH1 code to the source tree and makefile. But do not yet make any calls to TH1. file: [bbcc39a9d6] check-in: [4ee9e31a2d] user: drh branch: trunk, size: 5656