/ Check-in [2c3af657]
Login

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

Overview
Comment:Correct comments and enhance readability of the mkvsix tool.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 2c3af657fee6153842d660a6ce29aa7d791ebd38
User & Date: mistachkin 2012-10-15 20:28:22
Context
2012-10-17
13:15
Remove an incorrect "#ifndef SQLITE_OMIT_AUTOVACUUM" from pager. check-in: bf44d73d user: drh tags: trunk
2012-10-16
23:17
Enable optimization of IN operators on constraints to virtual tables. check-in: aa650746 user: drh tags: vtab-IN-opt
23:08
Merge updates from trunk. check-in: f021559d user: mistachkin tags: configReadOnly
21:08
An optimization that converts "a IN (b)" into "a==b". Seems to work, but needs additional test cases. Leaf check-in: 8b4c3c5e user: drh tags: degenerate_IN
2012-10-15
20:28
Correct comments and enhance readability of the mkvsix tool. check-in: 2c3af657 user: mistachkin tags: trunk
18:02
Hold the mutex on the shared-cache for the duration of a VACUUM operation. check-in: 629a42d4 user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to tool/mkvsix.tcl.

   350    350   # NOTE: Extract the template package to the staging directory.
   351    351   #
   352    352   eval $extractCommand
   353    353   
   354    354   ###############################################################################
   355    355   
   356    356   #
   357         -# NOTE: Process each file in the master file list.  There are actually four
   358         -#       parallel lists that contain the source file names, destination file
   359         -#       names, the platform-neutral flags, and the use-subst flags.  When the
          357  +# NOTE: Process each file in the master file list.  There are actually seven
          358  +#       parallel lists that contain the source file names, the destination file
          359  +#       names, the build-neutral flags, the platform-neutral flags, the
          360  +#       use-subst flags, the no-debug flags, and the no-retail flags.  If the
   360    361   #       platform-neutral flag is non-zero, the file is not platform-specific.
   361         -#       When the use-subst flag is non-zero, the file is considered to be a
   362         -#       text file that may contain Tcl variable and/or command replacements,
   363         -#       to be dynamically replaced during processing.  If the source file name
   364         -#       is an empty string, then the destination file name will be assumed to
   365         -#       already exist in the staging directory and will not be copied; however,
   366         -#       dynamic replacements may still be performed on the destination file
   367         -#       prior to the package being re-zipped.
          362  +#       If the build-neutral flag is non-zero, the file is not build-specific.
          363  +#       If the use-subst flag is non-zero, the file is considered to be a text
          364  +#       file that may contain Tcl variable and/or command replacements, to be
          365  +#       dynamically replaced during processing.  If the no-debug flag is
          366  +#       non-zero, the file will be skipped when processing for the debug build.
          367  +#       If the no-retail flag is non-zero, the file will be skipped when
          368  +#       processing for the retail build.  If the source file name is an empty
          369  +#       string, then the destination file name will be assumed to already exist
          370  +#       in the staging directory and will not be copied; however, dynamic
          371  +#       replacements may still be performed on the destination file prior to
          372  +#       the package being re-zipped.
   368    373   #
   369         -foreach sourceFileName $fileNames(source) \
   370         -    destinationFileName $fileNames(destination) \
   371         -    buildNeutral $fileNames(buildNeutral) platformNeutral \
   372         -    $fileNames(platformNeutral) useSubst $fileNames(subst) \
   373         -    noDebug $fileNames(noDebug) noRetail $fileNames(noRetail) {
          374  +foreach sourceFileName      $fileNames(source) \
          375  +        destinationFileName $fileNames(destination) \
          376  +        buildNeutral        $fileNames(buildNeutral) \
          377  +        platformNeutral     $fileNames(platformNeutral) \
          378  +        useSubst            $fileNames(subst) \
          379  +        noDebug             $fileNames(noDebug) \
          380  +        noRetail            $fileNames(noRetail) {
   374    381     #
   375    382     # NOTE: If the current file is build-neutral, then only one build will
   376    383     #       be processed for it, namely "CommonConfiguration"; otherwise, each
   377    384     #       supported build will be processed for it individually.
   378    385     #
   379    386     foreach buildName \
   380    387         [expr {$buildNeutral ? [list CommonConfiguration] : $buildNames}] {