Fossil

Timeline
Login

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

53 check-ins tagged with "th1-query-api"

2012-08-03
18:41
merged in [336e1355b927f]. Closed-Leaf check-in: 82e78034 user: stephan tags: th1-query-api
2012-07-22
17:59
merged in trunk [11abffbb497d67a], added a test script to check a th1 memleak case. check-in: 13b0e0b4 user: stephan tags: th1-query-api
16:54
Fixed a memleak in the th1 variadic proc args support. check-in: bee00366 user: stephan tags: th1-query-api
13:11
Minor usage simplifications in the th1 argv API. check-in: 24b9fbca user: stephan tags: th1-query-api
11:55
Reduced the set of th1-exported SQLITE_xxx constants to those which are actually used in script APIs. Minor doc updates. check-in: 8e040551 user: stephan tags: th1-query-api
11:39
minor th1 doc and script code cleanups. check-in: 2b4b2a50 user: stephan tags: th1-query-api
2012-07-20
18:54
Fixed a c99ism and a missing return statement. check-in: c01764b0 user: stephan tags: th1-query-api
11:56
Removed unneeded th.c/blob.h dep (having it does not fix parallel builds). check-in: dff26b75 user: stephan tags: th1-query-api
2012-07-19
18:03
Merged in [0c0f268ff3], minor th1-internal doc addition. check-in: 56db3533 user: stephan tags: th1-query-api
2012-07-16
19:35
Removed 2x extraneous #include "th.h". check-in: 27dc9b0b user: stephan tags: th1-query-api
19:21
More minor internal consistency cleanups. check-in: 495f26a0 user: stephan tags: th1-query-api
18:56
Cleanups requested by DRH, plus some incidental consistency/maintenance-related cleanups found along the way. check-in: c25a5d19 user: stephan tags: th1-query-api
14:36
Minor doc correction. check-in: 42957281 user: stephan tags: th1-query-api
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. check-in: 726f998b user: stephan tags: th1-query-api
15:28
Added query reset, refactored bind commands to accept their indexes in the same way as the col commands do (and expanded the remaining col commands which did not do so). check-in: f2ee33d4 user: stephan tags: th1-query-api
14:54
Made the query col argument ordering more flexible/forgiving. check-in: a561c439 user: stephan tags: th1-query-api
14:31
th1 query API now accepts the statement ID as the first arg after the query command or later on after the subcommand, for all subcommands where this makes sense. check-in: 09d7df15 user: stephan tags: th1-query-api
13:14
Minor cleanups. Made Th_Ob_Man opaque. Renamed TH_USE_xxx to TH_ENABLE_xxx. check-in: 3d243a56 user: stephan tags: th1-query-api
12:52
Made a few more functions static. th1 ob doc additions. check-in: 8027581c user: stephan tags: th1-query-api
12:27
Refactored th1/sqlite bits to use Th_Data_Get/Set(), removed sqlite data from Th_Interp class. Other minor cleanups. check-in: 3167ff33 user: stephan tags: th1-query-api
11:16
Refactord ob api to only swap out the Vtab output state, as opposed to the whole Vtab state (which includes the allocator). check-in: d9e0ee2f user: stephan tags: th1-query-api
11:04
minor doc additions. check-in: 236cf135 user: stephan tags: th1-query-api
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. check-in: 147c602d user: stephan tags: th1-query-api
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. check-in: 9b3a11e1 user: stephan tags: th1-query-api
09:20
Added incr as built-in function. check-in: dc3c8ac3 user: stephan tags: th1-query-api
00:57
Fixed a missing NUL terminator. check-in: 66da00e9 user: stephan tags: th1-query-api
00:39
Added flags arg to Th_Render to allow us to eventually customize its output a bit. check-in: 3ab06e89 user: stephan tags: th1-query-api
2012-07-14
22:38
Added strftime support to the th1 query API. check-in: 6e2f9edc user: stephan tags: th1-query-api
21:36
Fixed short-form flag handling for th1 argv command in CLI mode. It now handles GET/POST params. check-in: 413a33f2 user: stephan tags: th1-query-api
21:13
Refactored th1 argv_xxx to (argv xxx). Added th1_argv.wiki doc. check-in: 615ee717 user: stephan tags: th1-query-api
20:59
Refactored th1 query API col_xxx and bind_xxx to (col xxx) and (bind xxx). check-in: 8260fdc9 user: stephan tags: th1-query-api
20:45
Refactored th1 query API to use (query foo) instead of query_foo. Added th1_query.wiki doc page. check-in: bd98f0f4 user: stephan tags: th1-query-api
20:11
Added th1_ob.wiki embedded doc. check-in: 905f67d0 user: stephan tags: th1-query-api
19:48
Fixed a segfault in proc_command() caused by invalid inspection of an empty array. check-in: f2d87242 user: stephan tags: th1-query-api
19:19
Documented the "ob" API, added "ob level". check-in: 66104f8b user: stephan tags: th1-query-api
18:55
Fixed a crash case off-by-1 in th1 (ob get). check-in: ef68eb01 user: stephan tags: th1-query-api
18:44
i think i fixed the th.c-needs-blob.h build problem (again). Merged in 9f83e033a2304a9. check-in: 960576b9 user: stephan tags: th1-query-api
18:32
Added PHP-like "ob" (output buffering) API to th1. Refactred Th_Vtab allocator to use a single realloc()-like interface. check-in: b7930639 user: stephan tags: th1-query-api
14:02
Refactored Th_ToXXX() to live on top of Th_TryXXX() to simplify some downstream code. check-in: 75540722 user: stephan tags: th1-query-api
13:51
moved th1 argv funcs into their own registration unit. Renamed argv_getat to argv_at. check-in: 3b25f80e user: stephan tags: th1-query-api
13:43
Refactored th1 function registration code to be reusable across modules. check-in: e923b4a6 user: stephan tags: th1-query-api
13:20
minor generic cleanups in th1 before continuing on to real work... check-in: 1767603f user: stephan tags: th1-query-api
12:02
Refactored sendText() to use the new output abstraction layer. check-in: d3a62349 user: stephan tags: th1-query-api
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. check-in: 3c0209f5 user: stephan tags: th1-query-api
11:15
Cleanups in the th1 query statement finalization. check-in: 4fdf0ac2 user: stephan tags: th1-query-api
11:14
Added g.interp cleanup to db_close() to allow th1 to clean up any statement handles it creates. check-in: 008a16c0 user: stephan tags: th1-query-api
10:26
Fixed a memleak in the cleanup of th1 query_prepare statement. check-in: eb4a373e user: stephan tags: th1-query-api
10:22
Added docs for the th1 query API. Added basic th1 argv-handling API. check-in: a8eace9a user: stephan tags: th1-query-api
10:17
Minor improvements to the previous find_option() commit. check-in: 23200840 user: stephan tags: th1-query-api
09:14
find_option() now accepts --long=VAL and --short=VAL forms, in addition to the conventional --long VAL and -short VAL. Long-form has had this feature a while (apparently) but it has not been documented AFAIK. check-in: aa3ea63c user: stephan tags: th1-query-api
02:13
Added th1 query_bind functions. check-in: e3000244 user: stephan tags: th1-query-api
00:56
Added query_col_int and query_col_double. Renamed query_column_xxx to query_col_xxx. check-in: b01eb58b user: stephan tags: th1-query-api
00:20
added th1 query API. check-in: c3b10e12 user: stephan tags: th1-query-api