Fossil

File History
Login

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

History of src/th.h

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: [2abe3f3d] check-in: [36f0e47b] user: mistachkin branch: trunk, size: 6067
2016-01-18
02:21
Add the 'array exists' and 'array names' sub-commands to TH1. file: [26b934e3] check-in: [fd4ada4a] user: mistachkin branch: tclPlatform, size: 6045
2015-06-11
21:25
Further improvements to the Tcl integration subsystem. file: [1e7ae161] check-in: [18fc492a] 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: [331b9aaf] check-in: [810e6c1e] user: mistachkin branch: trunk, size: 5919
2015-01-23
21:03
Correct casing of 'Tcl' where needed. file: [19979061] check-in: [96705034] user: mistachkin branch: trunk, size: 5737
2014-09-05
06:23
Minor enhancements to the Tcl integration subsystem. file: [3d96cf22] check-in: [946c3eb6] 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: [f55e2863] check-in: [a306f771] 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: [2966150d] check-in: [1f6734c3] user: jan.nijtmans branch: trunk, size: 5710
2014-02-15
05:23
Cleanup makefile for MSVC and add optional Tcl support to it. file: [b91330a3] check-in: [43215959] 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: [3e4928df] check-in: [f325b234] 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: [1e7b5b48] check-in: [fe9990ad] 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: [7b78a932] check-in: [252aff3e] user: jan.nijtmans branch: trunk, size: 5638
2014-01-24
09:54
Put Th_SubCommand constant tables in constant memory. file: [cb27ffe8] check-in: [dce90fe3] 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: [76d19d77] check-in: [e4047acb] user: mistachkin branch: th1UnsetVar, size: 5555
2014-01-13
23:06
Trim trailing whitespace in TH1 and align some comments. file: [9ea5f7f0] check-in: [5a9f9ba6] 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: [e0461c00] check-in: [6b58c67e] 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: [dc507dba] check-in: [f6ac3c6f] user: drh branch: ticket-enhancements, size: 5474
2012-07-16
19:21
More minor internal consistency cleanups. file: [472a2118] check-in: [495f26a0] 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: [e2eb85ea] check-in: [c25a5d19] 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: [79b5d028] check-in: [726f998b] 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: [862e5bac] check-in: [3d243a56] 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: [3251735c] check-in: [3167ff33] 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: [1a4bfda0] check-in: [d9e0ee2f] 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: [d6b66703] check-in: [147c602d] 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: [b6df3bdc] check-in: [3ab06e89] 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: [72877c74] check-in: [bd98f0f4] user: stephan branch: th1-query-api, size: 9835
19:19
Documented the "ob" API, added "ob level". file: [200750a9] check-in: [66104f8b] 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: [8017c2d2] check-in: [b7930639] 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: [9314466a] check-in: [75540722] 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: [ee13b2ac] check-in: [3b25f80e] user: stephan branch: th1-query-api, size: 9237
13:43
Refactored th1 function registration code to be reusable across modules. file: [3d23440a] check-in: [e923b4a6] user: stephan branch: th1-query-api, size: 9165
13:20
minor generic cleanups in th1 before continuing on to real work... file: [98e13ab5] check-in: [1767603f] 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: [7055ecc5] check-in: [3c0209f5] user: stephan branch: th1-query-api, size: 8131
11:15
Cleanups in the th1 query statement finalization. file: [16247eae] check-in: [4fdf0ac2] user: stephan branch: th1-query-api, size: 6739
00:20
added th1 query API. file: [94a78575] check-in: [c3b10e12] user: stephan branch: th1-query-api, size: 5851
2012-03-29
14:54
Add vim modline everywhere file: [85050d5b] check-in: [a496d8e8] user: mgagnon branch: mgagnon_fix, size: 5466
2011-10-26
14:57
Perform lazy setup of the Tcl integration subsystem when it is actually enabled. file: [6d108f59] check-in: [e4958150] user: mistachkin branch: tcl-integration, size: 5424
2011-08-27
14:42
Initial code to support TH1/Tcl integration. file: [56f0a129] check-in: [f7236477] 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: [ab705d6d] check-in: [0c99a155] 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: [7d386662] check-in: [13e16c82] user: drh branch: trunk, size: 5596
15:04
Add the TH1 code to the source tree and makefile. But do not yet make any calls to TH1. file: [bbcc39a9] check-in: [4ee9e31a] user: drh branch: trunk, size: 5656 Added