Fossil SCM
Fixed typos in comments
Commit
609e4caf29779af84e9bfdb6ddbb6112daa37a87
Parent
22c1ac41d4c02c4…
2 files changed
+3
-4
+5
-5
+3
-4
| --- src/delta.c | ||
| +++ src/delta.c | ||
| @@ -185,11 +185,11 @@ | ||
| 185 | 185 | *pz = (char*)z; |
| 186 | 186 | return v; |
| 187 | 187 | } |
| 188 | 188 | |
| 189 | 189 | /* |
| 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 | |
| 191 | 191 | */ |
| 192 | 192 | static int digit_count(int v){ |
| 193 | 193 | unsigned int i, x; |
| 194 | 194 | for(i=1, x=64; v>=x; i++, x <<= 6){} |
| 195 | 195 | return i; |
| @@ -234,13 +234,12 @@ | ||
| 234 | 234 | ** Output Format: |
| 235 | 235 | ** |
| 236 | 236 | ** The delta begins with a base64 number followed by a newline. This |
| 237 | 237 | ** number is the number of bytes in the TARGET file. Thus, given a |
| 238 | 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. | |
| 239 | +** simply by reading the first line and decoding the base-64 number | |
| 240 | +** found there. The delta_output_size() routine does exactly this. | |
| 242 | 241 | ** |
| 243 | 242 | ** After the initial size number, the delta consists of a series of |
| 244 | 243 | ** literal text segments and commands to copy from the SOURCE file. |
| 245 | 244 | ** A copy command looks like this: |
| 246 | 245 | ** |
| 247 | 246 |
| --- 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 |
M
todo.txt
+5
-5
| --- todo.txt | ||
| +++ todo.txt | ||
| @@ -3,11 +3,11 @@ | ||
| 3 | 3 | * Use the wiki_convert() routine to render comments and other text |
| 4 | 4 | on web pages. |
| 5 | 5 | |
| 6 | 6 | * If the server does not have write permission on the database |
| 7 | 7 | 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 | |
| 9 | 9 | a rollback journal) then it currently fails silently on a push. |
| 10 | 10 | It needs to return a helpful error. |
| 11 | 11 | |
| 12 | 12 | * If the server returns an error (for example if the outbound /xfer |
| 13 | 13 | message exceeds the maximum POST size of the server) the client |
| @@ -25,29 +25,29 @@ | ||
| 25 | 25 | the ipaddr. |
| 26 | 26 | |
| 27 | 27 | * Additional information displayed for the "vinfo" page: |
| 28 | 28 | |
| 29 | 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. | |
| 30 | + descendant list. With date, user, comment, and hyperlink. | |
| 31 | + Leaves in the descendant table should be marked as such. | |
| 32 | 32 | See the compute_leaves() function to see how to find all |
| 33 | 33 | leaves. |
| 34 | 34 | + Add file diff links to the file change list. |
| 35 | 35 | |
| 36 | 36 | * Timeline enhanced so that you can specify a range of dates. |
| 37 | 37 | |
| 38 | 38 | * The /xfer handler (for push, pull, and clone) does not do |
| 39 | 39 | 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 | |
| 41 | 41 | how to do delta compression, but nothing has been implemented. |
| 42 | 42 | |
| 43 | 43 | * Enhancements to the diff and tkdiff commands in the cli. |
| 44 | 44 | Allow the entire tree or a subtree to be diffed, not just a |
| 45 | 45 | single file. Allow diffs against any two arbitrary versions, |
| 46 | 46 | not just diffs against the current check-out. Allow |
| 47 | 47 | configuration options to replace tkdiff with some other |
| 48 | - visual differ of the users choice. | |
| 48 | + visual differ of the users choice. Example: eskil. | |
| 49 | 49 | |
| 50 | 50 | * Ticketing interface (expand this bullet) |
| 51 | 51 | |
| 52 | 52 | + Create new tickets as files in the file hierarchy |
| 53 | 53 | + Append remarks to a ticket |
| 54 | 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 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 |