From 383736b7c92a707d0bfa1a8b030bd890f131f5c1 Mon Sep 17 00:00:00 2001 From: drh Date: Sun, 8 Oct 2006 18:56:57 +0000 Subject: [PATCH] Website changes for version 3.3.8. Remove a C++-ism from test8.c. (CVS 3468) FossilOrigin-Name: 465ce5b2fe4462191dd02672838f3f903cd0f976 --- manifest | 22 +++++----- manifest.uuid | 2 +- mkso.sh | 2 +- src/test8.c | 7 +-- www/changes.tcl | 15 +++++++ www/download.tcl | 110 +++++++++++++++++++++++++++++++---------------- www/index.tcl | 10 ++++- 7 files changed, 115 insertions(+), 53 deletions(-) diff --git a/manifest b/manifest index 1b0599eeff..8bda8f7a1c 100644 --- a/manifest +++ b/manifest @@ -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) -D 2006-10-05T21:48:56 +C Website\schanges\sfor\sversion\s3.3.8.\s\sRemove\sa\sC++-ism\sfrom\stest8.c.\s(CVS\s3468) +D 2006-10-08T18:56:57 F Makefile.in 4379c909d46b38b8c5db3533084601621d4f14b2 F Makefile.linux-gcc 2d8574d1ba75f129aba2019f0b959db380a90935 F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028 @@ -38,7 +38,7 @@ F main.mk 22acd3d279ec40ba6959af643ba25975fcfbdcc7 F mkdll.sh cbc7d92d02f9317a3d24ab55bb727275417260ca F mkopcodec.awk bd46ad001c98dfbab07b1713cb8e692fa0e5415d F mkopcodeh.awk cde995d269aa06c94adbf6455bea0acedb913fa5 -F mkso.sh 125868def279650a07d3f0f5e8476fecf99613fd +F mkso.sh 24bde4c09e6fe80f718db3c31c068f45e13a2f2c F publish.sh 0803a2952107454d3eaf2e239bd6699951ecfbab F spec.template b2f6c4e488cbc3b993a57deba22cbc36203c4da3 F sqlite.pc.in 30552343140c53304c2a658c080fbe810cd09ca2 @@ -99,7 +99,7 @@ F src/test4.c 8b784cd82de158a2317cb4ac4bc86f91ad315e25 F src/test5.c 7162f8526affb771c4ed256826eee7bb9eca265f F src/test6.c 60a02961ceb7b3edc25f5dc5c1ac2556622a76de F src/test7.c 03fa8d787f6aebc6d1f72504d52f33013ad2c8e3 -F src/test8.c cdde31e45651081a88845d5e66eeed450a7e2a3e +F src/test8.c 48b7ac78ca3c93210b7355da94325baa901ecfeb F src/test_async.c e3deaedd4d86a56391b81808fde9e44fbd92f1d3 F src/test_autoext.c bbb70bc1c83bd273cf59908ca9b486ae5df55a59 F src/test_loadext.c 22065d601a18878e5542191001f0eaa5d77c0ed8 @@ -359,7 +359,7 @@ F www/autoinc.tcl b357f5ba954b046ee35392ce0f884a2fcfcdea06 F www/c_interface.tcl b51b08591554c16a0c3ef718364a508ac25abc7e F www/capi3.tcl 7a7cc225fe02eb7ab861a6019b08baa0014409e1 F www/capi3ref.tcl 9a54c86c93b29e682417d6b2a038f0dc9e4f19fb -F www/changes.tcl 7bbcf947aa71d4760cbd286ba176466e729c974f +F www/changes.tcl d87a40a48bfbfbf762e8cee8f6e86faac7e9c857 F www/common.tcl 14d121c28532ad20c3e349caa4db708b0b822083 F www/compile.tcl 276546d7eb445add5a867193bbd80f6919a6b084 F www/conflict.tcl cdd0f4b59b0ba6d61f67e6a38f3ae45853bacb30 @@ -371,14 +371,14 @@ F www/datatypes.tcl 7c786d2e8ff434346764534ec015966d17efce60 F www/different.tcl 7d528e1371655f6fcd32e8354c5b49f8ede332e7 F www/direct1b.gif 32b48b764244817b6b591898dc52a04299a7b8a7 F www/docs.tcl 09eeac4e565789a67abc63f166a9ae7f3050454d -F www/download.tcl d56a1c30b1c3c18f62926a806179976eb133ce94 +F www/download.tcl e20b6b7ae9ab89acb59c01f28f434e8a757d9573 F www/dynload.tcl 02eb8273aa78cfa9070dd4501dca937fb22b466c F www/faq.tcl 705c986e40775cc3d92a1676dcbb55f00f0459c5 F www/fileformat.tcl 900c95b9633abc3dcfc384d9ddd8eb4876793059 F www/formatchng.tcl bbb8af1ee494a71031acac4c8d8c51535f23b9df F www/fullscanb.gif f7c94cb227f060511f8909e10f570157263e9a25 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/lang.tcl fb1070256c211a3dec735e1273c506c1f8db7556 F www/lockingv3.tcl f59b19d6c8920a931f096699d6faaf61c05db55f @@ -402,7 +402,7 @@ F www/tclsqlite.tcl bb0d1357328a42b1993d78573e587c6dcbc964b9 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0 F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b F www/whentouse.tcl 97e2b5cd296f7d8057e11f44427dea8a4c2db513 -P d16523e555afa1e6e89409f614fd665261fa3865 -R 895b4b138542723e01540e6597db54e9 -U shess -Z 86792b975cde027833bca5b3fe682bf1 +P 144e3f11e22c6efd6f2d960599ab2d93542db406 +R d4e345fce021c2c12806a776fa6efc70 +U drh +Z 2b7e1cfdf38d724357c4a2900ff4d781 diff --git a/manifest.uuid b/manifest.uuid index 822f425122..cad9a466aa 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -144e3f11e22c6efd6f2d960599ab2d93542db406 \ No newline at end of file +465ce5b2fe4462191dd02672838f3f903cd0f976 \ No newline at end of file diff --git a/mkso.sh b/mkso.sh index b26382c99a..9050d74255 100644 --- a/mkso.sh +++ b/mkso.sh @@ -11,7 +11,7 @@ cd tsrc rm shell.c TCLDIR=/home/drh/tcltk/846/linux/846linux 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 if test $i != 'keywordhash.c'; then CMD="cc -fPIC $OPTS -O2 -I. -I$TCLDIR -c $i" diff --git a/src/test8.c b/src/test8.c index 818e6e5833..92ca8e27e4 100644 --- a/src/test8.c +++ b/src/test8.c @@ -13,7 +13,7 @@ ** is not included in the SQLite library. It is used for automated ** 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 "tcl.h" @@ -653,11 +653,12 @@ static int echoBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo){ for(ii=0; iinConstraint; ii++){ const struct sqlite3_index_constraint *pConstraint; struct sqlite3_index_constraint_usage *pUsage; + int iCol; pConstraint = &pIdxInfo->aConstraint[ii]; pUsage = &pIdxInfo->aConstraintUsage[ii]; - int iCol = pConstraint->iColumn; + iCol = pConstraint->iColumn; if( pVtab->aIndex[iCol] ){ char *zCol = pVtab->aCol[iCol]; char *zOp = 0; @@ -762,8 +763,8 @@ int echoUpdate( /* If apData[0] is an integer and nData>1 then do an UPDATE */ if( nData>1 && sqlite3_value_type(apData[0])==SQLITE_INTEGER ){ - z = sqlite3_mprintf("UPDATE %Q", pVtab->zTableName); char *zSep = " SET"; + z = sqlite3_mprintf("UPDATE %Q", pVtab->zTableName); bindArgOne = (apData[1] && sqlite3_value_type(apData[1])==SQLITE_INTEGER); bindArgZero = 1; diff --git a/www/changes.tcl b/www/changes.tcl index 9803f1c68a..37e90f528b 100644 --- a/www/changes.tcl +++ b/www/changes.tcl @@ -25,6 +25,21 @@ proc chng {date desc} { puts "

    $desc

" } +chng {2006 October 9 (3.3.8)} { +
  • Support for full text search using the +FTS1 module +(beta)
  • +
  • Added OS-X locking patches (beta - disabled by default)
  • +
  • Introduce extended error codes and add error codes for various +kinds of I/O errors.
  • +
  • Added support for IF EXISTS on CREATE/DROP TRIGGER/VIEW
  • +
  • Fix the regression test suite so that it works with Tcl8.5
  • +
  • Enhance sqlite3_set_authorizer() to provide notification of calls to + SQL functions.
  • +
  • Added experimental API: sqlite3_auto_extension()
  • +
  • Various minor bug fixes
  • +} + chng {2006 August 12 (3.3.7)} {
  • Added support for virtual tables diff --git a/www/download.tcl b/www/download.tcl index 1a4a8c11f8..fa46c63306 100644 --- a/www/download.tcl +++ b/www/download.tcl @@ -1,7 +1,7 @@ # # 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 header {SQLite Download Page} @@ -11,9 +11,10 @@ puts { } proc Product {pattern desc} { - regsub VERSION $pattern {([0-9][0-9a-z._]+)} p2 - set p2 [string map {* .*} $p2] - regsub VERSION $pattern {*} p3 + regsub {V[23]} $pattern {*} p3 + regsub V2 $pattern {(2[0-9a-z._]+)} pattern + regsub V3 $pattern {(3[0-9a-z._]+)} pattern + set p2 [string map {* .*} $pattern] set flist [glob -nocomplain $p3] foreach file [lsort -dict $flist] { if {![regexp ^$p2\$ $file all version]} continue @@ -43,73 +44,86 @@ proc Heading {title} { Heading {Precompiled Binaries for Linux} -Product sqlite3-VERSION.bin.gz { - A command-line program for accessing and modifing +Product sqlite3-V3.bin.gz { + A command-line program for accessing and modifying + SQLite version 3.* databases. + See the documentation for additional information. +} + +Product sqlite-V3.bin.gz { + A command-line program for accessing and modifying SQLite databases. See the documentation for additional information. } -Product sqlite-VERSION.bin.gz { - A command-line program for accessing and modifing - SQLite databases. - See the documentation for additional information. -} - -Product tclsqlite-VERSION.so.gz { - Bindings for TCL. You can import this shared library into either +Product tclsqlite-V3.so.gz { + Bindings for Tcl/Tk. + You can import this shared library into either tclsh or wish to get SQLite database access from Tcl/Tk. See the documentation for details. } -Product sqlite-VERSION.so.gz { - A precompiled shared-library for Linux. This is the same as - tclsqlite.so.gz but without the TCL bindings. +Product sqlite-V3.so.gz { + A precompiled shared-library for Linux without the TCL bindings. } -Product sqlite-devel-VERSION-1.i386.rpm { +Product fts1-V3.so.gz { + A precompiled + FTS Module + for Linux. +} + +Product sqlite-devel-V3.i386.rpm { RPM containing documentation, header files, and static library for SQLite version VERSION. } -Product sqlite-VERSION-1.i386.rpm { +Product sqlite-V3-1.i386.rpm { RPM containing shared libraries and the sqlite command-line 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 - version VERSION. + version VERSION and later. } Heading {Precompiled Binaries For Windows} -Product sqlite-VERSION.zip { +Product sqlite-V3.zip { A command-line program for accessing and modifing SQLite databases. See the documentation for additional information. } -Product tclsqlite-VERSION.zip { - Bindings for TCL. You can import this shared library into either +Product tclsqlite-V3.zip { + Bindings for Tcl/Tk. + You can import this shared library into either tclsh or wish to get SQLite database access from Tcl/Tk. See the documentation for details. } -Product sqlitedll-VERSION.zip { +Product sqlitedll-V3.zip { This is a DLL of the SQLite library without the TCL bindings. The only external dependency is MSVCRT.DLL. } -Product sqlite*_analyzer-VERSION.zip { +Product fts1dll-V3.zip { + A precompiled + FTS Module + for win32. +} + +Product sqlite*_analyzer-V3.zip { An analysis program for database files compatible with SQLite version - VERSION. + VERSION and later. } Heading {Source Code} -Product {sqlite-VERSION.tar.gz} { +Product {sqlite-V3.tar.gz} { A tarball of the complete source tree for SQLite version VERSION 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. Unlike the tarballs below, all of the preprocessing and automatic 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. } -Product {sqlite-VERSION-tea.tar.gz} { - A tarball of proprocessed source code together with a - Tcl Extension Architecture (TEA) compatible configure script and - makefile. +Product {sqlite-V3-tea.tar.gz} { + A tarball of proprocessed source code together with a + Tcl Extension Architecture (TEA) + 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 } Heading {Cross-Platform Binaries} -Product {sqlite-VERSION.kit} { +Product {sqlite-V3.kit} { A starkit containing 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 { diff --git a/www/index.tcl b/www/index.tcl index b084b93d75..052eadf181 100644 --- a/www/index.tcl +++ b/www/index.tcl @@ -66,6 +66,14 @@ proc newsitem {date title text} { puts "
    " } +newsitem {2006-Oct-9} {Version 3.3.8} { + Version 3.3.8 adds support for full-text search using the + FTS1 + module. 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} { Version 3.3.7 includes support for loadable extensions and virtual tables. But both features are still considered "beta" and their @@ -103,4 +111,4 @@ puts {

    Old news...

    } -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 $}