Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
50 most recent check-ins related to "th1-query-api"
2012-08-03
| ||
18:41 | merged in [336e1355b927f]. Leaf check-in: 82e78034da user: stephan tags: th1-query-api | |
2012-07-27
| ||
00:26 | Fix another faulty though harmless memset() initialization. check-in: 336e1355b9 user: drh tags: trunk | |
2012-07-22
| ||
17:59 | merged in trunk [11abffbb497d67a], added a test script to check a th1 memleak case. check-in: 13b0e0b4d4 user: stephan tags: th1-query-api | |
17:40 | Pulled in minor memleak fix [bee0036681]. check-in: 11abffbb49 user: stephan tags: trunk | |
16:54 | Fixed a memleak in the th1 variadic proc args support. check-in: bee0036681 user: stephan tags: th1-query-api | |
13:11 | Minor usage simplifications in the th1 argv API. check-in: 24b9fbca0f 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: 8e04055133 user: stephan tags: th1-query-api | |
11:39 | minor th1 doc and script code cleanups. check-in: 2b4b2a5091 user: stephan tags: th1-query-api | |
2012-07-20
| ||
18:54 | Fixed a c99ism and a missing return statement. check-in: c01764b0d1 user: stephan tags: th1-query-api | |
11:56 | Removed unneeded th.c/blob.h dep (having it does not fix parallel builds). check-in: dff26b750e user: stephan tags: th1-query-api | |
2012-07-19
| ||
18:03 | Merged in [0c0f268ff3], minor th1-internal doc addition. check-in: 56db35330d user: stephan tags: th1-query-api | |
15:41 | Fix the db_is_writable() routine to return FALSE if the database is not even open. check-in: 0c0f268ff3 user: drh tags: trunk | |
2012-07-16
| ||
19:35 | Removed 2x extraneous #include "th.h". check-in: 27dc9b0b38 user: stephan tags: th1-query-api | |
19:21 | More minor internal consistency cleanups. check-in: 495f26a00e 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: c25a5d199b user: stephan tags: th1-query-api | |
14:36 | Minor doc correction. check-in: 4295728159 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: 726f998b5f 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: f2ee33d460 user: stephan tags: th1-query-api | |
14:54 | Made the query col argument ordering more flexible/forgiving. check-in: a561c43919 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: 09d7df1597 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: 3d243a5681 user: stephan tags: th1-query-api | |
12:52 | Made a few more functions static. th1 ob doc additions. check-in: 8027581c5e 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: 3167ff33f8 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: d9e0ee2f1e user: stephan tags: th1-query-api | |
11:04 | minor doc additions. check-in: 236cf13594 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: 147c602d93 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: 9b3a11e160 user: stephan tags: th1-query-api | |
09:20 | Added incr as built-in function. check-in: dc3c8ac3de user: stephan tags: th1-query-api | |
00:57 | Fixed a missing NUL terminator. check-in: 66da00e969 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: 3ab06e8962 user: stephan tags: th1-query-api | |
2012-07-14
| ||
22:38 | Added strftime support to the th1 query API. check-in: 6e2f9edc29 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: 413a33f20f user: stephan tags: th1-query-api | |
21:13 | Refactored th1 argv_xxx to (argv xxx). Added th1_argv.wiki doc. check-in: 615ee71798 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: 8260fdc99a 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: bd98f0f430 user: stephan tags: th1-query-api | |
20:11 | Added th1_ob.wiki embedded doc. check-in: 905f67d0d3 user: stephan tags: th1-query-api | |
19:48 | Fixed a segfault in proc_command() caused by invalid inspection of an empty array. check-in: f2d8724250 user: stephan tags: th1-query-api | |
19:19 | Documented the "ob" API, added "ob level". check-in: 66104f8b5d user: stephan tags: th1-query-api | |
18:55 | Fixed a crash case off-by-1 in th1 (ob get). check-in: ef68eb0106 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: 960576b961 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: b793063954 user: stephan tags: th1-query-api | |
16:51 | Merge the root-tag branch into trunk. check-in: 9f83e033a2 user: drh tags: trunk | |
14:02 | Refactored Th_ToXXX() to live on top of Th_TryXXX() to simplify some downstream code. check-in: 7554072246 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: 3b25f80edd user: stephan tags: th1-query-api | |
13:43 | Refactored th1 function registration code to be reusable across modules. check-in: e923b4a64d user: stephan tags: th1-query-api | |
13:20 | minor generic cleanups in th1 before continuing on to real work... check-in: 1767603f23 user: stephan tags: th1-query-api | |
12:02 | Refactored sendText() to use the new output abstraction layer. check-in: d3a6234974 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: 3c0209f5dc user: stephan tags: th1-query-api | |
11:15 | Cleanups in the th1 query statement finalization. check-in: 4fdf0ac279 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: 008a16c0e5 user: stephan tags: th1-query-api | |