Website changes for version 3.3.8. Remove a C++-ism from test8.c. (CVS 3468)

FossilOrigin-Name: 465ce5b2fe4462191dd02672838f3f903cd0f976
This commit is contained in:
drh 2006-10-08 18:56:57 +00:00
parent 9f4683cd42
commit 383736b7c9
7 changed files with 115 additions and 53 deletions

View File

@ -1,5 +1,5 @@
C Fix\sincorrect\sdoclist\sinitialization\sin\sterm_select_all().\ndocListRestrictColumn()\sgenerates\sa\sDL_POSITIONS\sdoclist,\swhich\smeans\nthat\safter\sthe\sfirst\sdoclist\sis\sprocessed,\sthe\ssecond\sdoclist\sis\ninitialized\sas\sDL_POSITIONS,\sbut\swith\sDL_POSITIONS_OFFSETS\sdata.\n(Note\sthat\sDL_DEFAULT\sis\snow\sDL_POSITIONS,\swhich\smasks\sthis\sbug.)\s(CVS\s3467) C Website\schanges\sfor\sversion\s3.3.8.\s\sRemove\sa\sC++-ism\sfrom\stest8.c.\s(CVS\s3468)
D 2006-10-05T21:48:56 D 2006-10-08T18:56:57
F Makefile.in 4379c909d46b38b8c5db3533084601621d4f14b2 F Makefile.in 4379c909d46b38b8c5db3533084601621d4f14b2
F Makefile.linux-gcc 2d8574d1ba75f129aba2019f0b959db380a90935 F Makefile.linux-gcc 2d8574d1ba75f129aba2019f0b959db380a90935
F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028 F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@ -38,7 +38,7 @@ F main.mk 22acd3d279ec40ba6959af643ba25975fcfbdcc7
F mkdll.sh cbc7d92d02f9317a3d24ab55bb727275417260ca F mkdll.sh cbc7d92d02f9317a3d24ab55bb727275417260ca
F mkopcodec.awk bd46ad001c98dfbab07b1713cb8e692fa0e5415d F mkopcodec.awk bd46ad001c98dfbab07b1713cb8e692fa0e5415d
F mkopcodeh.awk cde995d269aa06c94adbf6455bea0acedb913fa5 F mkopcodeh.awk cde995d269aa06c94adbf6455bea0acedb913fa5
F mkso.sh 125868def279650a07d3f0f5e8476fecf99613fd F mkso.sh 24bde4c09e6fe80f718db3c31c068f45e13a2f2c
F publish.sh 0803a2952107454d3eaf2e239bd6699951ecfbab F publish.sh 0803a2952107454d3eaf2e239bd6699951ecfbab
F spec.template b2f6c4e488cbc3b993a57deba22cbc36203c4da3 F spec.template b2f6c4e488cbc3b993a57deba22cbc36203c4da3
F sqlite.pc.in 30552343140c53304c2a658c080fbe810cd09ca2 F sqlite.pc.in 30552343140c53304c2a658c080fbe810cd09ca2
@ -99,7 +99,7 @@ F src/test4.c 8b784cd82de158a2317cb4ac4bc86f91ad315e25
F src/test5.c 7162f8526affb771c4ed256826eee7bb9eca265f F src/test5.c 7162f8526affb771c4ed256826eee7bb9eca265f
F src/test6.c 60a02961ceb7b3edc25f5dc5c1ac2556622a76de F src/test6.c 60a02961ceb7b3edc25f5dc5c1ac2556622a76de
F src/test7.c 03fa8d787f6aebc6d1f72504d52f33013ad2c8e3 F src/test7.c 03fa8d787f6aebc6d1f72504d52f33013ad2c8e3
F src/test8.c cdde31e45651081a88845d5e66eeed450a7e2a3e F src/test8.c 48b7ac78ca3c93210b7355da94325baa901ecfeb
F src/test_async.c e3deaedd4d86a56391b81808fde9e44fbd92f1d3 F src/test_async.c e3deaedd4d86a56391b81808fde9e44fbd92f1d3
F src/test_autoext.c bbb70bc1c83bd273cf59908ca9b486ae5df55a59 F src/test_autoext.c bbb70bc1c83bd273cf59908ca9b486ae5df55a59
F src/test_loadext.c 22065d601a18878e5542191001f0eaa5d77c0ed8 F src/test_loadext.c 22065d601a18878e5542191001f0eaa5d77c0ed8
@ -359,7 +359,7 @@ F www/autoinc.tcl b357f5ba954b046ee35392ce0f884a2fcfcdea06
F www/c_interface.tcl b51b08591554c16a0c3ef718364a508ac25abc7e F www/c_interface.tcl b51b08591554c16a0c3ef718364a508ac25abc7e
F www/capi3.tcl 7a7cc225fe02eb7ab861a6019b08baa0014409e1 F www/capi3.tcl 7a7cc225fe02eb7ab861a6019b08baa0014409e1
F www/capi3ref.tcl 9a54c86c93b29e682417d6b2a038f0dc9e4f19fb F www/capi3ref.tcl 9a54c86c93b29e682417d6b2a038f0dc9e4f19fb
F www/changes.tcl 7bbcf947aa71d4760cbd286ba176466e729c974f F www/changes.tcl d87a40a48bfbfbf762e8cee8f6e86faac7e9c857
F www/common.tcl 14d121c28532ad20c3e349caa4db708b0b822083 F www/common.tcl 14d121c28532ad20c3e349caa4db708b0b822083
F www/compile.tcl 276546d7eb445add5a867193bbd80f6919a6b084 F www/compile.tcl 276546d7eb445add5a867193bbd80f6919a6b084
F www/conflict.tcl cdd0f4b59b0ba6d61f67e6a38f3ae45853bacb30 F www/conflict.tcl cdd0f4b59b0ba6d61f67e6a38f3ae45853bacb30
@ -371,14 +371,14 @@ F www/datatypes.tcl 7c786d2e8ff434346764534ec015966d17efce60
F www/different.tcl 7d528e1371655f6fcd32e8354c5b49f8ede332e7 F www/different.tcl 7d528e1371655f6fcd32e8354c5b49f8ede332e7
F www/direct1b.gif 32b48b764244817b6b591898dc52a04299a7b8a7 F www/direct1b.gif 32b48b764244817b6b591898dc52a04299a7b8a7
F www/docs.tcl 09eeac4e565789a67abc63f166a9ae7f3050454d F www/docs.tcl 09eeac4e565789a67abc63f166a9ae7f3050454d
F www/download.tcl d56a1c30b1c3c18f62926a806179976eb133ce94 F www/download.tcl e20b6b7ae9ab89acb59c01f28f434e8a757d9573
F www/dynload.tcl 02eb8273aa78cfa9070dd4501dca937fb22b466c F www/dynload.tcl 02eb8273aa78cfa9070dd4501dca937fb22b466c
F www/faq.tcl 705c986e40775cc3d92a1676dcbb55f00f0459c5 F www/faq.tcl 705c986e40775cc3d92a1676dcbb55f00f0459c5
F www/fileformat.tcl 900c95b9633abc3dcfc384d9ddd8eb4876793059 F www/fileformat.tcl 900c95b9633abc3dcfc384d9ddd8eb4876793059
F www/formatchng.tcl bbb8af1ee494a71031acac4c8d8c51535f23b9df F www/formatchng.tcl bbb8af1ee494a71031acac4c8d8c51535f23b9df
F www/fullscanb.gif f7c94cb227f060511f8909e10f570157263e9a25 F www/fullscanb.gif f7c94cb227f060511f8909e10f570157263e9a25
F www/index-ex1-x-b.gif f9b1d85c3fa2435cf38b15970c7e3aa1edae23a3 F www/index-ex1-x-b.gif f9b1d85c3fa2435cf38b15970c7e3aa1edae23a3
F www/index.tcl 7b9c5747a838501dace958131755651d6ca31adb F www/index.tcl 00623a29cd03225cbd1d050d90d2a43485f3e357
F www/indirect1b1.gif adfca361d2df59e34f9c5cac52a670c2bfc303a1 F www/indirect1b1.gif adfca361d2df59e34f9c5cac52a670c2bfc303a1
F www/lang.tcl fb1070256c211a3dec735e1273c506c1f8db7556 F www/lang.tcl fb1070256c211a3dec735e1273c506c1f8db7556
F www/lockingv3.tcl f59b19d6c8920a931f096699d6faaf61c05db55f F www/lockingv3.tcl f59b19d6c8920a931f096699d6faaf61c05db55f
@ -402,7 +402,7 @@ F www/tclsqlite.tcl bb0d1357328a42b1993d78573e587c6dcbc964b9
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
F www/whentouse.tcl 97e2b5cd296f7d8057e11f44427dea8a4c2db513 F www/whentouse.tcl 97e2b5cd296f7d8057e11f44427dea8a4c2db513
P d16523e555afa1e6e89409f614fd665261fa3865 P 144e3f11e22c6efd6f2d960599ab2d93542db406
R 895b4b138542723e01540e6597db54e9 R d4e345fce021c2c12806a776fa6efc70
U shess U drh
Z 86792b975cde027833bca5b3fe682bf1 Z 2b7e1cfdf38d724357c4a2900ff4d781

View File

@ -1 +1 @@
144e3f11e22c6efd6f2d960599ab2d93542db406 465ce5b2fe4462191dd02672838f3f903cd0f976

View File

@ -11,7 +11,7 @@ cd tsrc
rm shell.c rm shell.c
TCLDIR=/home/drh/tcltk/846/linux/846linux TCLDIR=/home/drh/tcltk/846/linux/846linux
TCLSTUBLIB=$TCLDIR/libtclstub8.4g.a TCLSTUBLIB=$TCLDIR/libtclstub8.4g.a
OPTS='-DUSE_TCL_STUBS=1 -DNDEBUG=1' OPTS='-DUSE_TCL_STUBS=1 -DNDEBUG=1 -DHAVE_DLOPEN=1'
for i in *.c; do for i in *.c; do
if test $i != 'keywordhash.c'; then if test $i != 'keywordhash.c'; then
CMD="cc -fPIC $OPTS -O2 -I. -I$TCLDIR -c $i" CMD="cc -fPIC $OPTS -O2 -I. -I$TCLDIR -c $i"

View File

@ -13,7 +13,7 @@
** is not included in the SQLite library. It is used for automated ** is not included in the SQLite library. It is used for automated
** testing of the SQLite library. ** testing of the SQLite library.
** **
** $Id: test8.c,v 1.42 2006/09/11 00:34:22 drh Exp $ ** $Id: test8.c,v 1.43 2006/10/08 18:56:57 drh Exp $
*/ */
#include "sqliteInt.h" #include "sqliteInt.h"
#include "tcl.h" #include "tcl.h"
@ -653,11 +653,12 @@ static int echoBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo){
for(ii=0; ii<pIdxInfo->nConstraint; ii++){ for(ii=0; ii<pIdxInfo->nConstraint; ii++){
const struct sqlite3_index_constraint *pConstraint; const struct sqlite3_index_constraint *pConstraint;
struct sqlite3_index_constraint_usage *pUsage; struct sqlite3_index_constraint_usage *pUsage;
int iCol;
pConstraint = &pIdxInfo->aConstraint[ii]; pConstraint = &pIdxInfo->aConstraint[ii];
pUsage = &pIdxInfo->aConstraintUsage[ii]; pUsage = &pIdxInfo->aConstraintUsage[ii];
int iCol = pConstraint->iColumn; iCol = pConstraint->iColumn;
if( pVtab->aIndex[iCol] ){ if( pVtab->aIndex[iCol] ){
char *zCol = pVtab->aCol[iCol]; char *zCol = pVtab->aCol[iCol];
char *zOp = 0; char *zOp = 0;
@ -762,8 +763,8 @@ int echoUpdate(
/* If apData[0] is an integer and nData>1 then do an UPDATE */ /* If apData[0] is an integer and nData>1 then do an UPDATE */
if( nData>1 && sqlite3_value_type(apData[0])==SQLITE_INTEGER ){ if( nData>1 && sqlite3_value_type(apData[0])==SQLITE_INTEGER ){
z = sqlite3_mprintf("UPDATE %Q", pVtab->zTableName);
char *zSep = " SET"; char *zSep = " SET";
z = sqlite3_mprintf("UPDATE %Q", pVtab->zTableName);
bindArgOne = (apData[1] && sqlite3_value_type(apData[1])==SQLITE_INTEGER); bindArgOne = (apData[1] && sqlite3_value_type(apData[1])==SQLITE_INTEGER);
bindArgZero = 1; bindArgZero = 1;

View File

@ -25,6 +25,21 @@ proc chng {date desc} {
puts "<DD><P><UL>$desc</UL></P></DD>" puts "<DD><P><UL>$desc</UL></P></DD>"
} }
chng {2006 October 9 (3.3.8)} {
<li>Support for full text search using the
<a href="http://www.sqlite.org/cvstrac/wiki?p=FullTextIndex">FTS1 module</a>
(beta)</li>
<li>Added OS-X locking patches (beta - disabled by default)</li>
<li>Introduce extended error codes and add error codes for various
kinds of I/O errors.</li>
<li>Added support for IF EXISTS on CREATE/DROP TRIGGER/VIEW</li>
<li>Fix the regression test suite so that it works with Tcl8.5</li>
<li>Enhance sqlite3_set_authorizer() to provide notification of calls to
SQL functions.</li>
<li>Added experimental API: sqlite3_auto_extension()</li>
<li>Various minor bug fixes</li>
}
chng {2006 August 12 (3.3.7)} { chng {2006 August 12 (3.3.7)} {
<li>Added support for <li>Added support for
<a href="http://www.sqlite.org/cvstrac/wiki?p=VirtualTables">virtual tables</a> <a href="http://www.sqlite.org/cvstrac/wiki?p=VirtualTables">virtual tables</a>

View File

@ -1,7 +1,7 @@
# #
# Run this TCL script to generate HTML for the download.html file. # Run this TCL script to generate HTML for the download.html file.
# #
set rcsid {$Id: download.tcl,v 1.22 2005/09/17 19:28:46 drh Exp $} set rcsid {$Id: download.tcl,v 1.23 2006/10/08 18:56:57 drh Exp $}
source common.tcl source common.tcl
header {SQLite Download Page} header {SQLite Download Page}
@ -11,9 +11,10 @@ puts {
} }
proc Product {pattern desc} { proc Product {pattern desc} {
regsub VERSION $pattern {([0-9][0-9a-z._]+)} p2 regsub {V[23]} $pattern {*} p3
set p2 [string map {* .*} $p2] regsub V2 $pattern {(2[0-9a-z._]+)} pattern
regsub VERSION $pattern {*} p3 regsub V3 $pattern {(3[0-9a-z._]+)} pattern
set p2 [string map {* .*} $pattern]
set flist [glob -nocomplain $p3] set flist [glob -nocomplain $p3]
foreach file [lsort -dict $flist] { foreach file [lsort -dict $flist] {
if {![regexp ^$p2\$ $file all version]} continue if {![regexp ^$p2\$ $file all version]} continue
@ -43,73 +44,86 @@ proc Heading {title} {
Heading {Precompiled Binaries for Linux} Heading {Precompiled Binaries for Linux}
Product sqlite3-VERSION.bin.gz { Product sqlite3-V3.bin.gz {
A command-line program for accessing and modifing A command-line program for accessing and modifying
SQLite version 3.* databases.
See <a href="sqlite.html">the documentation</a> for additional information.
}
Product sqlite-V3.bin.gz {
A command-line program for accessing and modifying
SQLite databases. SQLite databases.
See <a href="sqlite.html">the documentation</a> for additional information. See <a href="sqlite.html">the documentation</a> for additional information.
} }
Product sqlite-VERSION.bin.gz { Product tclsqlite-V3.so.gz {
A command-line program for accessing and modifing Bindings for <a href="http://www.tcl.tk/">Tcl/Tk</a>.
SQLite databases. You can import this shared library into either
See <a href="sqlite.html">the documentation</a> for additional information.
}
Product tclsqlite-VERSION.so.gz {
Bindings for TCL. You can import this shared library into either
tclsh or wish to get SQLite database access from Tcl/Tk. tclsh or wish to get SQLite database access from Tcl/Tk.
See <a href="tclsqlite.html">the documentation</a> for details. See <a href="tclsqlite.html">the documentation</a> for details.
} }
Product sqlite-VERSION.so.gz { Product sqlite-V3.so.gz {
A precompiled shared-library for Linux. This is the same as A precompiled shared-library for Linux without the TCL bindings.
<b>tclsqlite.so.gz</b> but without the TCL bindings.
} }
Product sqlite-devel-VERSION-1.i386.rpm { Product fts1-V3.so.gz {
A precompiled
<a href="http://www.sqlite.org/cvstrac/wiki?p=FtsOne">FTS Module</a>
for Linux.
}
Product sqlite-devel-V3.i386.rpm {
RPM containing documentation, header files, and static library for RPM containing documentation, header files, and static library for
SQLite version VERSION. SQLite version VERSION.
} }
Product sqlite-VERSION-1.i386.rpm { Product sqlite-V3-1.i386.rpm {
RPM containing shared libraries and the <b>sqlite</b> command-line RPM containing shared libraries and the <b>sqlite</b> command-line
program for SQLite version VERSION. program for SQLite version VERSION.
} }
Product sqlite*_analyzer-VERSION.bin.gz { Product sqlite*_analyzer-V3.bin.gz {
An analysis program for database files compatible with SQLite An analysis program for database files compatible with SQLite
version VERSION. version VERSION and later.
} }
Heading {Precompiled Binaries For Windows} Heading {Precompiled Binaries For Windows}
Product sqlite-VERSION.zip { Product sqlite-V3.zip {
A command-line program for accessing and modifing SQLite databases. A command-line program for accessing and modifing SQLite databases.
See <a href="sqlite.html">the documentation</a> for additional information. See <a href="sqlite.html">the documentation</a> for additional information.
} }
Product tclsqlite-VERSION.zip { Product tclsqlite-V3.zip {
Bindings for TCL. You can import this shared library into either Bindings for <a href="http://www.tcl.tk/">Tcl/Tk</a>.
You can import this shared library into either
tclsh or wish to get SQLite database access from Tcl/Tk. tclsh or wish to get SQLite database access from Tcl/Tk.
See <a href="tclsqlite.html">the documentation</a> for details. See <a href="tclsqlite.html">the documentation</a> for details.
} }
Product sqlitedll-VERSION.zip { Product sqlitedll-V3.zip {
This is a DLL of the SQLite library without the TCL bindings. This is a DLL of the SQLite library without the TCL bindings.
The only external dependency is MSVCRT.DLL. The only external dependency is MSVCRT.DLL.
} }
Product sqlite*_analyzer-VERSION.zip { Product fts1dll-V3.zip {
A precompiled
<a href="http://www.sqlite.org/cvstrac/wiki?p=FtsOne">FTS Module</a>
for win32.
}
Product sqlite*_analyzer-V3.zip {
An analysis program for database files compatible with SQLite version An analysis program for database files compatible with SQLite version
VERSION. VERSION and later.
} }
Heading {Source Code} Heading {Source Code}
Product {sqlite-VERSION.tar.gz} { Product {sqlite-V3.tar.gz} {
A tarball of the complete source tree for SQLite version VERSION A tarball of the complete source tree for SQLite version VERSION
including all of the documentation. including all of the documentation.
} }
Product {sqlite-source-VERSION.zip} { Product {sqlite-source-V3.zip} {
This ZIP archive contains pure C source code for the SQLite library. This ZIP archive contains pure C source code for the SQLite library.
Unlike the tarballs below, all of the preprocessing and automatic Unlike the tarballs below, all of the preprocessing and automatic
code generation has already been done on these C source code, so they code generation has already been done on these C source code, so they
@ -118,24 +132,48 @@ Product {sqlite-source-VERSION.zip} {
MS-Windows users who lack the build support infrastructure of Unix. MS-Windows users who lack the build support infrastructure of Unix.
} }
Product {sqlite-VERSION-tea.tar.gz} { Product {sqlite-V3-tea.tar.gz} {
A tarball of proprocessed source code together with a A tarball of proprocessed source code together with a
Tcl Extension Architecture (TEA) compatible configure script and <a href="http://www.tcl.tk/doc/tea/">Tcl Extension Architecture (TEA)</a>
makefile. compatible configure script and makefile.
} }
Product {sqlite-VERSION.src.rpm} { Product {sqlite-V3.src.rpm} {
An RPM containing complete source code for SQLite version VERSION An RPM containing complete source code for SQLite version VERSION
} }
Heading {Cross-Platform Binaries} Heading {Cross-Platform Binaries}
Product {sqlite-VERSION.kit} { Product {sqlite-V3.kit} {
A <a href="http://www.equi4.com/starkit.html">starkit</a> containing A <a href="http://www.equi4.com/starkit.html">starkit</a> containing
precompiled SQLite binaries and Tcl bindings for Linux-x86, Windows, precompiled SQLite binaries and Tcl bindings for Linux-x86, Windows,
and Mac OS-X. and Mac OS-X ppc and x86.
} }
Heading {Historical Binaries And Source Code}
Product sqlite-V2.bin.gz {
A command-line program for accessing and modifying
SQLite version 2.* databases on Linux-x86.
}
Product sqlite-V2.zip {
A command-line program for accessing and modifying
SQLite version 2.* databases on win32.
}
Product sqlite*_analyzer-V2.bin.gz {
An analysis program for version 2.* database files on Linux-x86
}
Product sqlite*_analyzer-V2.zip {
An analysis program for version 2.* database files on win32.
}
Product {sqlite-source-V2.zip} {
This ZIP archive contains C source code for the SQLite library
version VERSION.
}
puts { puts {
</table> </table>

View File

@ -66,6 +66,14 @@ proc newsitem {date title text} {
puts "<hr width=\"50%\">" puts "<hr width=\"50%\">"
} }
newsitem {2006-Oct-9} {Version 3.3.8} {
Version 3.3.8 adds support for full-text search using the
<a href="http://www.sqlite.org/cvstrac/wiki?p=FtsOne">FTS1
module.</a> There are also minor bug fixes. Upgrade only if
you want to try out the new full-text search capabilities or if
you are having problems with 3.3.7.
}
newsitem {2006-Aug-12} {Version 3.3.7} { newsitem {2006-Aug-12} {Version 3.3.7} {
Version 3.3.7 includes support for loadable extensions and virtual Version 3.3.7 includes support for loadable extensions and virtual
tables. But both features are still considered "beta" and their tables. But both features are still considered "beta" and their
@ -103,4 +111,4 @@ puts {
<p align="right"><a href="oldnews.html">Old news...</a></p> <p align="right"><a href="oldnews.html">Old news...</a></p>
</td></tr></table> </td></tr></table>
} }
footer {$Id: index.tcl,v 1.142 2006/08/12 14:38:47 drh Exp $} footer {$Id: index.tcl,v 1.143 2006/10/08 18:56:57 drh Exp $}