Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Documenting the TCL interface (CVS 149) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
7e0bacedf928095b29e7166eacd2356e |
User & Date: | drh 2000-09-30 22:46:06.000 |
Context
2000-09-30
| ||
23:00 | Version 1.0.8 (CVS 494) (check-in: 384909e50f user: drh tags: trunk) | |
22:46 | Documenting the TCL interface (CVS 149) (check-in: 7e0bacedf9 user: drh tags: trunk) | |
2000-09-29
| ||
15:15 | Fix a problem with the configure script (CVS 1703) (check-in: ed5f5404ad user: drh tags: trunk) | |
Changes
Changes to Makefile.in.
︙ | |||
209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 | 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 | + + + - + + | crosscompile.html: $(TOP)/www/crosscompile.tcl tclsh $(TOP)/www/crosscompile.tcl >crosscompile.html mingw.html: $(TOP)/www/mingw.tcl tclsh $(TOP)/www/mingw.tcl >mingw.html tclsqlite.html: $(TOP)/www/tclsqlite.tcl tclsh $(TOP)/www/tclsqlite.tcl >tclsqlite.html # Files to be published on the website. # PUBLISH = \ sqlite.tar.gz \ index.html \ sqlite.html \ changes.html \ fileformat.html \ lang.html \ opcode.html \ arch.html \ arch.png \ vdbe.html \ c_interface.html \ crosscompile.html \ |
︙ |
Changes to VERSION.
| 1 | - + |
|
Changes to src/tclsqlite.c.
︙ | |||
19 20 21 22 23 24 25 | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | - + | ** Author contact information: ** drh@hwaci.com ** http://www.hwaci.com/drh/ ** ************************************************************************* ** A TCL Interface to SQLite ** |
︙ | |||
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | + - + | char ** azCol, /* Data for each column */ char ** azN /* Name for each column */ ){ CallbackData *cbData = (CallbackData*)clientData; int i, rc; if( cbData->zArray[0] ){ if( cbData->once ){ Tcl_SetVar2(cbData->interp, cbData->zArray, "*", "", 0); for(i=0; i<nCol; i++){ Tcl_SetVar2(cbData->interp, cbData->zArray, "*", azN[i], TCL_LIST_ELEMENT|TCL_APPEND_VALUE); } } for(i=0; i<nCol; i++){ char *z = azCol[i]; if( z==0 ) z = ""; Tcl_SetVar2(cbData->interp, cbData->zArray, azN[i], z, 0); } }else{ for(i=0; i<nCol; i++){ char *z = azCol[i]; if( z==0 ) z = ""; Tcl_SetVar(cbData->interp, azN[i], z, 0); } } cbData->once = 0; rc = Tcl_EvalObj(cbData->interp, cbData->pCode); |
︙ |
Changes to www/changes.tcl.
︙ | |||
12 13 14 15 16 17 18 19 20 21 22 23 24 25 | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | + + + + | } proc chng {date desc} { puts "<DT><B>$date</B></DT>" puts "<DD><P><UL>$desc</UL></P></DD>" } chng {2000 Sep 30 (1.0.8)} { <li>Begin writing documentation on the TCL interface.</li> } chng {2000 Sep 29 (Not Released)} { <li>Added the <b>sqlite_get_table()</b> API</li> <li>Updated the documtation for due to the above change.</li> <li>Modified the <b>sqlite</b> shell to make use of the new sqlite_get_table() API in order to print a list of tables in multiple columns, similar to the way "ls" prints filenames.</li> |
︙ |
Changes to www/index.tcl.
1 2 3 | 1 2 3 4 5 6 7 8 9 10 11 | - + | # # Run this TCL script to generate HTML for the index.html file. # |
︙ | |||
36 37 38 39 40 41 42 | 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | - + | <li>A database is just a directory of GDBM files.</li> <li>Unlimited length records.</li> <li>Import and export data from <a href="http://www.postgresql.org/">PostgreSQL</a>.</li> <li>Very simple <a href="c_interface.html">C/C++ interface</a> requires the use of only three functions and one opaque structure.</li> |
︙ | |||
96 97 98 99 100 101 102 103 104 105 106 107 108 109 | 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | + | <p>The following documentation is currently available:</p> <p><ul> <li>Information on the <a href="sqlite.html">sqlite</a> command-line utility.</li> <li>The <a href="lang.html">SQL Language</a> subset understood by SQLite.</li> <li>The <a href="c_interface.html">C/C++ Interface</a>.</li> <li>The <a href="tclsqlite.html">Tcl Interface</a>.</li> <li>The <a href="fileformat.html">file format</a> used by SQLite databases.</li> <li>The <a href="arch.html">Architecture of the SQLite Library</a> describes how the library is put together.</li> <li>A description of the <a href="opcode.html">virtual machine</a> that SQLite uses to access the database.</li> <li>Instructions for building <a href="crosscompile.html">SQLite for Win98/NT</a> using the |
︙ |
Added www/tclsqlite.tcl.