Fossil SCM

Fixed typos in comments

aku 2007-08-25 03:23 trunk
Commit 609e4caf29779af84e9bfdb6ddbb6112daa37a87
2 files changed +3 -4 +5 -5
+3 -4
--- src/delta.c
+++ src/delta.c
@@ -185,11 +185,11 @@
185185
*pz = (char*)z;
186186
return v;
187187
}
188188
189189
/*
190
-** Return the number digits in the base-46 representation of a positive integer
190
+** Return the number digits in the base-64 representation of a positive integer
191191
*/
192192
static int digit_count(int v){
193193
unsigned int i, x;
194194
for(i=1, x=64; v>=x; i++, x <<= 6){}
195195
return i;
@@ -234,13 +234,12 @@
234234
** Output Format:
235235
**
236236
** The delta begins with a base64 number followed by a newline. This
237237
** number is the number of bytes in the TARGET file. Thus, given a
238238
** delta file z, a program can compute the size of the output file
239
-** simply by calling reading the first line and decoding the base-64
240
-** number found there. The delta_output_size() routine does exactly
241
-** this.
239
+** simply by reading the first line and decoding the base-64 number
240
+** found there. The delta_output_size() routine does exactly this.
242241
**
243242
** After the initial size number, the delta consists of a series of
244243
** literal text segments and commands to copy from the SOURCE file.
245244
** A copy command looks like this:
246245
**
247246
--- src/delta.c
+++ src/delta.c
@@ -185,11 +185,11 @@
185 *pz = (char*)z;
186 return v;
187 }
188
189 /*
190 ** Return the number digits in the base-46 representation of a positive integer
191 */
192 static int digit_count(int v){
193 unsigned int i, x;
194 for(i=1, x=64; v>=x; i++, x <<= 6){}
195 return i;
@@ -234,13 +234,12 @@
234 ** Output Format:
235 **
236 ** The delta begins with a base64 number followed by a newline. This
237 ** number is the number of bytes in the TARGET file. Thus, given a
238 ** delta file z, a program can compute the size of the output file
239 ** simply by calling reading the first line and decoding the base-64
240 ** number found there. The delta_output_size() routine does exactly
241 ** this.
242 **
243 ** After the initial size number, the delta consists of a series of
244 ** literal text segments and commands to copy from the SOURCE file.
245 ** A copy command looks like this:
246 **
247
--- src/delta.c
+++ src/delta.c
@@ -185,11 +185,11 @@
185 *pz = (char*)z;
186 return v;
187 }
188
189 /*
190 ** Return the number digits in the base-64 representation of a positive integer
191 */
192 static int digit_count(int v){
193 unsigned int i, x;
194 for(i=1, x=64; v>=x; i++, x <<= 6){}
195 return i;
@@ -234,13 +234,12 @@
234 ** Output Format:
235 **
236 ** The delta begins with a base64 number followed by a newline. This
237 ** number is the number of bytes in the TARGET file. Thus, given a
238 ** delta file z, a program can compute the size of the output file
239 ** simply by reading the first line and decoding the base-64 number
240 ** found there. The delta_output_size() routine does exactly this.
 
241 **
242 ** After the initial size number, the delta consists of a series of
243 ** literal text segments and commands to copy from the SOURCE file.
244 ** A copy command looks like this:
245 **
246
+5 -5
--- todo.txt
+++ todo.txt
@@ -3,11 +3,11 @@
33
* Use the wiki_convert() routine to render comments and other text
44
on web pages.
55
66
* If the server does not have write permission on the database
77
file, or on the directory containing the database file (and
8
- it is thus unable to update database because it cannot create
8
+ it is thus unable to update the database because it cannot create
99
a rollback journal) then it currently fails silently on a push.
1010
It needs to return a helpful error.
1111
1212
* If the server returns an error (for example if the outbound /xfer
1313
message exceeds the maximum POST size of the server) the client
@@ -25,29 +25,29 @@
2525
the ipaddr.
2626
2727
* Additional information displayed for the "vinfo" page:
2828
2929
+ All leaves of this version that are not included in the
30
- decendent list. With date, user, comment, and hyperlink.
31
- Leaves in the decendent table should be marked as such.
30
+ descendant list. With date, user, comment, and hyperlink.
31
+ Leaves in the descendant table should be marked as such.
3232
See the compute_leaves() function to see how to find all
3333
leaves.
3434
+ Add file diff links to the file change list.
3535
3636
* Timeline enhanced so that you can specify a range of dates.
3737
3838
* The /xfer handler (for push, pull, and clone) does not do
3939
delta compression. This results in excess bandwidth usage.
40
- There are some code in xfer.c that are sketches of ideas on
40
+ There are some pieces in xfer.c that are sketches of ideas on
4141
how to do delta compression, but nothing has been implemented.
4242
4343
* Enhancements to the diff and tkdiff commands in the cli.
4444
Allow the entire tree or a subtree to be diffed, not just a
4545
single file. Allow diffs against any two arbitrary versions,
4646
not just diffs against the current check-out. Allow
4747
configuration options to replace tkdiff with some other
48
- visual differ of the users choice.
48
+ visual differ of the users choice. Example: eskil.
4949
5050
* Ticketing interface (expand this bullet)
5151
5252
+ Create new tickets as files in the file hierarchy
5353
+ Append remarks to a ticket
5454
--- todo.txt
+++ todo.txt
@@ -3,11 +3,11 @@
3 * Use the wiki_convert() routine to render comments and other text
4 on web pages.
5
6 * If the server does not have write permission on the database
7 file, or on the directory containing the database file (and
8 it is thus unable to update database because it cannot create
9 a rollback journal) then it currently fails silently on a push.
10 It needs to return a helpful error.
11
12 * If the server returns an error (for example if the outbound /xfer
13 message exceeds the maximum POST size of the server) the client
@@ -25,29 +25,29 @@
25 the ipaddr.
26
27 * Additional information displayed for the "vinfo" page:
28
29 + All leaves of this version that are not included in the
30 decendent list. With date, user, comment, and hyperlink.
31 Leaves in the decendent table should be marked as such.
32 See the compute_leaves() function to see how to find all
33 leaves.
34 + Add file diff links to the file change list.
35
36 * Timeline enhanced so that you can specify a range of dates.
37
38 * The /xfer handler (for push, pull, and clone) does not do
39 delta compression. This results in excess bandwidth usage.
40 There are some code in xfer.c that are sketches of ideas on
41 how to do delta compression, but nothing has been implemented.
42
43 * Enhancements to the diff and tkdiff commands in the cli.
44 Allow the entire tree or a subtree to be diffed, not just a
45 single file. Allow diffs against any two arbitrary versions,
46 not just diffs against the current check-out. Allow
47 configuration options to replace tkdiff with some other
48 visual differ of the users choice.
49
50 * Ticketing interface (expand this bullet)
51
52 + Create new tickets as files in the file hierarchy
53 + Append remarks to a ticket
54
--- todo.txt
+++ todo.txt
@@ -3,11 +3,11 @@
3 * Use the wiki_convert() routine to render comments and other text
4 on web pages.
5
6 * If the server does not have write permission on the database
7 file, or on the directory containing the database file (and
8 it is thus unable to update the database because it cannot create
9 a rollback journal) then it currently fails silently on a push.
10 It needs to return a helpful error.
11
12 * If the server returns an error (for example if the outbound /xfer
13 message exceeds the maximum POST size of the server) the client
@@ -25,29 +25,29 @@
25 the ipaddr.
26
27 * Additional information displayed for the "vinfo" page:
28
29 + All leaves of this version that are not included in the
30 descendant list. With date, user, comment, and hyperlink.
31 Leaves in the descendant table should be marked as such.
32 See the compute_leaves() function to see how to find all
33 leaves.
34 + Add file diff links to the file change list.
35
36 * Timeline enhanced so that you can specify a range of dates.
37
38 * The /xfer handler (for push, pull, and clone) does not do
39 delta compression. This results in excess bandwidth usage.
40 There are some pieces in xfer.c that are sketches of ideas on
41 how to do delta compression, but nothing has been implemented.
42
43 * Enhancements to the diff and tkdiff commands in the cli.
44 Allow the entire tree or a subtree to be diffed, not just a
45 single file. Allow diffs against any two arbitrary versions,
46 not just diffs against the current check-out. Allow
47 configuration options to replace tkdiff with some other
48 visual differ of the users choice. Example: eskil.
49
50 * Ticketing interface (expand this bullet)
51
52 + Create new tickets as files in the file hierarchy
53 + Append remarks to a ticket
54

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button