Check-in [e2431b17df]
Not logged in
Overview

SHA1 Hash:e2431b17df0b3865fde767b35937e8cd726d76b8
Date: 2009-11-09 21:32:36
User: drh
Comment:Fix an issue with the command-line timeline. Fix typos in documentation.
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/timeline.c from [0dbb20dfeb] to [f76d6fc0d6].

@@ -951,19 +951,20 @@
     zDate = mprintf("(SELECT mtime FROM plink WHERE cid=%d)", objid);
   }else if( name_to_uuid(&uuid, 0)==0 ){
     objid = db_int(0, "SELECT rid FROM blob WHERE uuid=%B", &uuid);
     zDate = mprintf("(SELECT mtime FROM plink WHERE cid=%d)", objid);
   }else{
+    const char *zShift = "";
     if( mode==3 || mode==4 ){
       fossil_fatal("cannot compute descendants or ancestors of a date");
     }
     if( mode==0 ){
-      mode = 1;
-      if( isIsoDate(zOrigin) ) zOrigin[9]++;
+      if( isIsoDate(zOrigin) ) zShift = ",'+1 day'";
     }
-    zDate = mprintf("(SELECT julianday(%Q, 'utc'))", zOrigin);
+    zDate = mprintf("(SELECT julianday(%Q%s, 'utc'))", zOrigin, zShift);
   }
+  if( mode==0 ) mode = 1;
   zSQL = mprintf("%z AND event.mtime %s %s",
      timeline_query_for_tty_m(),
      (mode==1 || mode==4) ? "<=" : ">=",
      zDate
   );

Modified www/build.wiki from [a81964674b] to [ef08562a8f].

@@ -40,21 +40,10 @@
 that appears right after the check-in comment at the top of the page.</p>
 
 <li><p>Finally, click on the
 "Zip Archive" link.  This link will build a ZIP archive of the
 complete source code and download it to your browser.
-
-<blockquote><i>
-Note to Mac users:  The ZIP archive constructed by Fossil is a well-formed
-ZIP archive.  However, the unarchiver that is built into the Mac has a bug
-in that it does not understand all well-formed ZIP archives.  So you may
-get an error when the Mac goes to automatically extract the downloaded ZIP
-archive.  We are still trying to figure out what it is about Fossil-generated
-ZIP archives that the Mac doesn't like.  Until we do,
-your work-around is to manually extract the ZIP archive using the
-"unzip" command from a command-line shell.
-</i></blockquote>
 </ol>
 
 <h2>2.0 Compiling</h2>
 
 <p>Follow these steps to compile:</p>

Modified www/quickstart.wiki from [9f4eaca262] to [83b4c8b851].

@@ -223,16 +223,16 @@
     #!/usr/local/bin/fossil<br>
     repository: /home/proj1/repos1.fossil
     </b></blockquote>
 
     <p>Adjust the paths in this CGI script to match your installation
-    and make sure that repository file at the directory that contains it
-    are both readable and writable by the user that CGI scripts run as.
+    and make sure both repository file and the directory that contains it
+    are readable and writable by the user that CGI scripts run as.
     Then point clients at the CGI script.  That's all there is to it!</p>
 
     <a name="inetdserver"></a>
-    <p>You can also run fossil off of inetd or xinetd.  For an inetd
+    <p>You can also run fossil from inetd or xinetd.  For an inetd
     installation, make an entry in /etc/inetd.conf that looks something
     like this:</p>
 
     <blockquote><b>
     80 stream tcp nowait.1000 root /usr/bin/fossil \<br>