Fossil

File History
Login

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

History of src/th.c

2016-01-18
17:48
Improve some comments. file: [2aeace70] check-in: [dda5d11d] user: mistachkin branch: trunk, size: 83569
02:22
Fix comment. file: [4844178b] check-in: [1a3f326b] user: mistachkin branch: tclPlatform, size: 83280
02:21
Add the 'array exists' and 'array names' sub-commands to TH1. file: [c26b7de9] check-in: [fd4ada4a] user: mistachkin branch: tclPlatform, size: 83347
2016-01-17
23:00
Minor naming tweak. file: [68e0f147] check-in: [07324777] user: mistachkin branch: tclPlatform, size: 82103
22:17
Add support for the tcl_platform(platform) and tcl_platform(engine) array elements to TH1. file: [c9c1c71d] check-in: [663b722e] user: mistachkin branch: tclPlatform, size: 82107
2015-04-05
19:37
Change the name of a new TH1 function to help clarify its purpose. file: [e9840f21] check-in: [22b3d0b6] user: mistachkin branch: trunk, size: 81443
18:17
Add the 'info commands' and 'info vars' sub-commands to the TH1 core language, with tests. file: [c9b9e604] check-in: [810e6c1e] user: mistachkin branch: trunk, size: 81415
2015-04-02
20:15
More fixes to TH1 integer and expression processing. file: [cead0ace] check-in: [fc248d66] user: mistachkin branch: trunk, size: 79278
2015-04-01
08:52
Fix interpretation of '+' or '-' as invalid integers. Noted on ML by Sergei Gavrikov. Thanks! file: [f5750c7b] check-in: [4ae42e36] user: jan.nijtmans branch: trunk, size: 78931
2014-08-28
00:00
Fix TH1 expression parsing when there are unbalanced parenthesis. Add more tests. file: [f3e2d60e] check-in: [00c01d7a] user: mistachkin branch: th1ExprFix, size: 78972
2014-08-25
17:52
Fix assert in the TH1 expression parser reported on the mailing list. file: [a777ad68] check-in: [cd644057] user: mistachkin branch: th1ExprFix, size: 78552
2014-07-31
20:46
th1 parse error reporting tweaks from Sergei Gavrikov. file: [3a7a898e] check-in: [2ba71f51] user: stephan branch: trunk, size: 78565
2014-04-07
19:08
Fix fossil test-th-eval 'expr 0+0x0bc': TH_ERROR: expected number, got: "0x0bc" file: [f456996e] check-in: [b153caf6] user: jan.nijtmans branch: trunk, size: 78473
2014-04-04
12:18
Cherry-pick [ee1aa460a4]: Fix using the unary bitwise NOT operator in TH1. Update to SQLite 3.8.4.3 file: [94cafb27] check-in: [97608a6b] user: jan.nijtmans branch: branch-1.28, size: 76545
11:07
Another test-case which gave an expected error-message, with fix: before: $ fossil test-th-eval "expr 0+0b" TH_ERROR: syntax error in expression: "0+0b" after: $ ./fossil test-th-eval "expr 0+0b" TH_ERROR: expected number, got: "0b" file: [393cec79] check-in: [b78ae90a] user: jan.nijtmans branch: trunk, size: 78477
11:01
unused variable file: [8cff6367] check-in: [0f3ed70b] user: jan.nijtmans branch: trunk, size: 78477
10:57
Code simplification. No change in functionality. file: [a6169913] check-in: [8d627980] user: jan.nijtmans branch: trunk, size: 78496
10:20
Fix error-handling in parsing of binary/octal/hex integers for th1. Add test-cases for it. file: [70b14453] check-in: [99901fbf] user: jan.nijtmans branch: trunk, size: 78622
08:48
Fix one situation in which integers still could fool the number parser. Add test-case for it. file: [5996cb0c] check-in: [9fdc7a04] user: jan.nijtmans branch: trunk, size: 78640
08:16
Fix error-handling in parsing of binary/octal/hex integers for th1. Add test-cases for it. file: [08defa34] check-in: [a306f771] user: jan.nijtmans branch: trunk, size: 78623
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: [a2dd34a3] check-in: [1f6734c3] user: jan.nijtmans branch: trunk, size: 77965
2014-04-01
22:28
Fix using the unary bitwise NOT operator in TH1. file: [6f539ee3] check-in: [ee1aa460] user: mistachkin branch: trunk, size: 76767
2014-02-04
20:32
Fix a couple corner cases for the TH1 expr command. file: [496a089a] check-in: [e4e2b2e4] user: mistachkin branch: trunk, size: 76708
2014-01-15
01:29
Improve a comment. file: [4fb1e7e4] check-in: [5e368e91] user: mistachkin branch: trunk, size: 76486
01:26
For the TH1 unset command, simplify removal of variable from the call frame. file: [79622497] check-in: [95292a13] user: mistachkin branch: trunk, size: 76484
2014-01-14
13:30
Simplify usage of the new TH1 Find structure. file: [0de77ff5] check-in: [b0eb21b6] user: mistachkin branch: th1UnsetVar, size: 76470
13:25
Fix another possible memory leak in a corner case. Add more tests. Improve comments on the new Find structure. file: [4afdfce7] check-in: [9b3b1d07] user: mistachkin branch: th1UnsetVar, size: 76532
12:50
Fix several issues with the TH1 unset command, including a memory leak. Add more tests. file: [d7441913] check-in: [e4047acb] user: mistachkin branch: th1UnsetVar, size: 75806
2014-01-13
23:27
Make sure that TH1 variables get removed from the call frame upon being unset. file: [c63b4dc6] check-in: [fa17f1ce] user: mistachkin branch: th1Work, size: 74001
23:06
Trim trailing whitespace in TH1 and align some comments. file: [86c7ac59] check-in: [5a9f9ba6] user: mistachkin branch: th1Work, size: 73889
2014-01-09
19:11
Make sure the TH1 'info exists' sub-command preserves the existing interp error stack trace. file: [f8517170] check-in: [9765b037] user: mistachkin branch: trunk, size: 73975
2014-01-05
23:05
Make sure the TH1 unset command fails if the variable does not exist. file: [2ffbe2e4] check-in: [99bdfa0b] user: mistachkin branch: trunk, size: 73791
22:53
Fix TH1 'info exists' command for variables that have been unset. file: [d42f128b] check-in: [7164f52b] user: mistachkin branch: trunk, size: 73791
2014-01-03
23:18
Fix memory leaks in the TH1 divide-by-zero handling. Add more tests. file: [48f823dd] check-in: [60acb318] user: mistachkin branch: trunk, size: 73745
2013-12-29
00:53
Fix floating-point divide by zero issue in TH1 reported on the mailing list and add tests. file: [3e856fe6] check-in: [479b3de1] user: mistachkin branch: trunk, size: 73664
2013-10-11
08:36
Make sure that EVERY source file includes "config.h" before any other system includes. This is the first step in making fossil compile for Win64 using MinGW. file: [412d1b50] check-in: [c30cd93b] user: jan.nijtmans branch: trunk, size: 73506
2013-08-20
08:08
Eliminate some unnecessary variables. Eliminate some (harmless) compiler warnings with gcc 4.8.1. Remove some spaces at the end of lines. No functional changes. file: [62ecf482] check-in: [4e092e0f] user: jan.nijtmans branch: trunk, size: 73503
2013-06-20
13:18
Fixed modulo/divide by 0 in TH1, per ML bug report from Eduardo Morras. file: [327c2faf] check-in: [fded1d05] user: stephan branch: trunk, size: 73501
2012-11-24
14:44
Add the "query" command to the TH1 language, used to query the repository database. file: [a561c58c] check-in: [f6ac3c6f] user: drh branch: ticket-enhancements, size: 73212
2012-11-04
12:59
Fix typos. file: [63d1bbb5] check-in: [45065c5c] user: dmitry branch: spelling, size: 73039
2012-09-05
12:55
const-qualification file: [3118428f] check-in: [645f3483] user: jan.nijtmans branch: eclipse-project, size: 73048
2012-07-20
18:54
Fixed a c99ism and a missing return statement. file: [27c40633] check-in: [c01764b0] user: stephan branch: th1-query-api, size: 90436
2012-07-19
18:03
Merged in [0c0f268ff3], minor th1-internal doc addition. file: [61b51a92] check-in: [56db3533] user: stephan branch: th1-query-api, size: 90414
2012-07-16
19:21
More minor internal consistency cleanups. file: [ac5baa6d] check-in: [495f26a0] user: stephan branch: th1-query-api, size: 90308
18:56
Cleanups requested by DRH, plus some incidental consistency/maintenance-related cleanups found along the way. file: [4abae97e] check-in: [c25a5d19] user: stephan branch: th1-query-api, size: 89946
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: [fe4923f6] check-in: [726f998b] user: stephan branch: th1-query-api, size: 88993
13:14
Minor cleanups. Made Th_Ob_Man opaque. Renamed TH_USE_xxx to TH_ENABLE_xxx. file: [8dffdb5d] check-in: [3d243a56] user: stephan branch: th1-query-api, size: 87882
12:27
Refactored th1/sqlite bits to use Th_Data_Get/Set(), removed sqlite data from Th_Interp class. Other minor cleanups. file: [c1abbb62] check-in: [3167ff33] user: stephan branch: th1-query-api, size: 87327
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: [687f0c4c] check-in: [d9e0ee2f] user: stephan branch: th1-query-api, size: 88777
11:04
minor doc additions. file: [91a75935] check-in: [236cf135] user: stephan branch: th1-query-api, size: 88275
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: [5792a201] check-in: [147c602d] user: stephan branch: th1-query-api, size: 87854
09:23
Added push/pop as aliases for start/end in the ob API. Fixed a horrible size calculation bug which triggered an assert() for ob nesting levels deeper than 2. file: [1938ba8d] check-in: [9b3a11e1] user: stephan branch: th1-query-api, size: 85247
00:39
Added flags arg to Th_Render to allow us to eventually customize its output a bit. file: [3104bd50] check-in: [3ab06e89] user: stephan branch: th1-query-api, size: 84477
2012-07-14
19:19
Documented the "ob" API, added "ob level". file: [85d4dab9] check-in: [66104f8b] user: stephan branch: th1-query-api, size: 85614
18:55
Fixed a crash case off-by-1 in th1 (ob get). file: [0a8839d7] check-in: [ef68eb01] user: stephan branch: th1-query-api, size: 82896
18:32
Added PHP-like "ob" (output buffering) API to th1. Refactred Th_Vtab allocator to use a single realloc()-like interface. file: [ad5a3e75] check-in: [b7930639] user: stephan branch: th1-query-api, size: 82897
14:02
Refactored Th_ToXXX() to live on top of Th_TryXXX() to simplify some downstream code. file: [798989c3] check-in: [75540722] user: stephan branch: th1-query-api, size: 76019
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: [5f672a8d] check-in: [3c0209f5] user: stephan branch: th1-query-api, size: 75314
11:15
Cleanups in the th1 query statement finalization. file: [1f6f2804] check-in: [4fdf0ac2] user: stephan branch: th1-query-api, size: 74727
10:26
Fixed a memleak in the cleanup of th1 query_prepare statement. file: [df4b569a] check-in: [eb4a373e] user: stephan branch: th1-query-api, size: 74464
00:20
added th1 query API. file: [2bc1ec16] check-in: [c3b10e12] user: stephan branch: th1-query-api, size: 74423
2012-06-27
12:30
Begin a branch that is modified to use sqlite4 instead of sqlite3 as the storage engine. This check-in compiles (on unix) but does not work. file: [84b84bb1] check-in: [68239127] user: drh branch: sqlite4, size: 73042
2012-03-29
14:54
Add vim modline everywhere file: [5c2e5d51] check-in: [a496d8e8] user: mgagnon branch: mgagnon_fix, size: 73084
2011-10-10
20:02
Fix some compiler warnings. file: [9b086aa0] check-in: [496edc21] user: drh branch: trunk, size: 73042
2010-08-31
05:12
compile warning fixes (uninitialized vars) file: [7485390e] check-in: [3c326ea4] user: ron branch: trunk, size: 73034
2009-11-01
19:25
Update to the latest version of SQLite (3.6.20rc1) and fix some compiler warnings. file: [b97a4128] check-in: [dffe11c2] user: drh branch: trunk, size: 73032
2009-01-24
10:44
Fix some compiler warnings. file: [ca17d876] check-in: [cd965de6] user: drh branch: trunk, size: 73024
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: [05228f97] check-in: [0c99a155] user: drh branch: trunk, size: 73016
2008-05-05
17:24
Add the ability to modify global settings (such as the proxy setting) even when there are no repositories defined. file: [7781ea6e] check-in: [4e683ef0] user: drh branch: trunk, size: 74578
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: [a687d76a] check-in: [4ee9e31a] user: drh branch: trunk, size: 74579 Added