Fossil SCM
Fix comment and documentation typos.
Commit
35d43fd98f1bb689c174668a95df50eccaf0a819
Parent
88c4a53e34ca8fa…
6 files changed
+1
-1
+1
-1
+1
-1
+1
-1
+1
-1
+1
-1
+1
-1
| --- src/blob.c | ||
| +++ src/blob.c | ||
| @@ -1028,11 +1028,11 @@ | ||
| 1028 | 1028 | ** COMMAND: test-uncompress |
| 1029 | 1029 | ** |
| 1030 | 1030 | ** Usage: %fossil test-uncompress IN OUT |
| 1031 | 1031 | ** |
| 1032 | 1032 | ** Read the content of file IN, uncompress that content, and write the |
| 1033 | -** result into OUT. This command is intended for testing of the the | |
| 1033 | +** result into OUT. This command is intended for testing of the | |
| 1034 | 1034 | ** blob_compress() function. |
| 1035 | 1035 | */ |
| 1036 | 1036 | void uncompress_cmd(void){ |
| 1037 | 1037 | Blob f; |
| 1038 | 1038 | if( g.argc!=4 ) usage("INPUTFILE OUTPUTFILE"); |
| 1039 | 1039 |
| --- src/blob.c | |
| +++ src/blob.c | |
| @@ -1028,11 +1028,11 @@ | |
| 1028 | ** COMMAND: test-uncompress |
| 1029 | ** |
| 1030 | ** Usage: %fossil test-uncompress IN OUT |
| 1031 | ** |
| 1032 | ** Read the content of file IN, uncompress that content, and write the |
| 1033 | ** result into OUT. This command is intended for testing of the the |
| 1034 | ** blob_compress() function. |
| 1035 | */ |
| 1036 | void uncompress_cmd(void){ |
| 1037 | Blob f; |
| 1038 | if( g.argc!=4 ) usage("INPUTFILE OUTPUTFILE"); |
| 1039 |
| --- src/blob.c | |
| +++ src/blob.c | |
| @@ -1028,11 +1028,11 @@ | |
| 1028 | ** COMMAND: test-uncompress |
| 1029 | ** |
| 1030 | ** Usage: %fossil test-uncompress IN OUT |
| 1031 | ** |
| 1032 | ** Read the content of file IN, uncompress that content, and write the |
| 1033 | ** result into OUT. This command is intended for testing of the |
| 1034 | ** blob_compress() function. |
| 1035 | */ |
| 1036 | void uncompress_cmd(void){ |
| 1037 | Blob f; |
| 1038 | if( g.argc!=4 ) usage("INPUTFILE OUTPUTFILE"); |
| 1039 |
+1
-1
| --- src/cson_amalgamation.c | ||
| +++ src/cson_amalgamation.c | ||
| @@ -1583,11 +1583,11 @@ | ||
| 1583 | 1583 | */ |
| 1584 | 1584 | #define CSON_CAST(T,V) ((T*)((V)->value)) |
| 1585 | 1585 | /** |
| 1586 | 1586 | Assumes V is a pointer to memory which is allocated as part of a |
| 1587 | 1587 | cson_value instance (the bytes immediately after that part). |
| 1588 | - Returns a pointer a a cson_value by subtracting sizeof(cson_value) | |
| 1588 | + Returns a pointer a cson_value by subtracting sizeof(cson_value) | |
| 1589 | 1589 | from that address and casting it to a (cson_value*) |
| 1590 | 1590 | */ |
| 1591 | 1591 | #define CSON_VCAST(V) ((cson_value *)(((unsigned char *)(V))-sizeof(cson_value))) |
| 1592 | 1592 | |
| 1593 | 1593 | /** |
| 1594 | 1594 |
| --- src/cson_amalgamation.c | |
| +++ src/cson_amalgamation.c | |
| @@ -1583,11 +1583,11 @@ | |
| 1583 | */ |
| 1584 | #define CSON_CAST(T,V) ((T*)((V)->value)) |
| 1585 | /** |
| 1586 | Assumes V is a pointer to memory which is allocated as part of a |
| 1587 | cson_value instance (the bytes immediately after that part). |
| 1588 | Returns a pointer a a cson_value by subtracting sizeof(cson_value) |
| 1589 | from that address and casting it to a (cson_value*) |
| 1590 | */ |
| 1591 | #define CSON_VCAST(V) ((cson_value *)(((unsigned char *)(V))-sizeof(cson_value))) |
| 1592 | |
| 1593 | /** |
| 1594 |
| --- src/cson_amalgamation.c | |
| +++ src/cson_amalgamation.c | |
| @@ -1583,11 +1583,11 @@ | |
| 1583 | */ |
| 1584 | #define CSON_CAST(T,V) ((T*)((V)->value)) |
| 1585 | /** |
| 1586 | Assumes V is a pointer to memory which is allocated as part of a |
| 1587 | cson_value instance (the bytes immediately after that part). |
| 1588 | Returns a pointer a cson_value by subtracting sizeof(cson_value) |
| 1589 | from that address and casting it to a (cson_value*) |
| 1590 | */ |
| 1591 | #define CSON_VCAST(V) ((cson_value *)(((unsigned char *)(V))-sizeof(cson_value))) |
| 1592 | |
| 1593 | /** |
| 1594 |
+1
-1
| --- src/name.c | ||
| +++ src/name.c | ||
| @@ -333,11 +333,11 @@ | ||
| 333 | 333 | ** takes its parameters and returns its value, and in that it does not |
| 334 | 334 | ** treat errors as fatal. zName must be a UUID, as described for |
| 335 | 335 | ** name_to_uuid(). zType is also as described for that function. If |
| 336 | 336 | ** zName does not resolve, 0 is returned. If it is ambiguous, a |
| 337 | 337 | ** negative value is returned. On success the rid is returned and |
| 338 | -** pUuid (if it is not NULL) is set to the a newly-allocated string, | |
| 338 | +** pUuid (if it is not NULL) is set to a newly-allocated string, | |
| 339 | 339 | ** the full UUID, which must eventually be free()d by the caller. |
| 340 | 340 | */ |
| 341 | 341 | int name_to_uuid2(const char *zName, const char *zType, char **pUuid){ |
| 342 | 342 | int rid = symbolic_name_to_rid(zName, zType); |
| 343 | 343 | if((rid>0) && pUuid){ |
| 344 | 344 |
| --- src/name.c | |
| +++ src/name.c | |
| @@ -333,11 +333,11 @@ | |
| 333 | ** takes its parameters and returns its value, and in that it does not |
| 334 | ** treat errors as fatal. zName must be a UUID, as described for |
| 335 | ** name_to_uuid(). zType is also as described for that function. If |
| 336 | ** zName does not resolve, 0 is returned. If it is ambiguous, a |
| 337 | ** negative value is returned. On success the rid is returned and |
| 338 | ** pUuid (if it is not NULL) is set to the a newly-allocated string, |
| 339 | ** the full UUID, which must eventually be free()d by the caller. |
| 340 | */ |
| 341 | int name_to_uuid2(const char *zName, const char *zType, char **pUuid){ |
| 342 | int rid = symbolic_name_to_rid(zName, zType); |
| 343 | if((rid>0) && pUuid){ |
| 344 |
| --- src/name.c | |
| +++ src/name.c | |
| @@ -333,11 +333,11 @@ | |
| 333 | ** takes its parameters and returns its value, and in that it does not |
| 334 | ** treat errors as fatal. zName must be a UUID, as described for |
| 335 | ** name_to_uuid(). zType is also as described for that function. If |
| 336 | ** zName does not resolve, 0 is returned. If it is ambiguous, a |
| 337 | ** negative value is returned. On success the rid is returned and |
| 338 | ** pUuid (if it is not NULL) is set to a newly-allocated string, |
| 339 | ** the full UUID, which must eventually be free()d by the caller. |
| 340 | */ |
| 341 | int name_to_uuid2(const char *zName, const char *zType, char **pUuid){ |
| 342 | int rid = symbolic_name_to_rid(zName, zType); |
| 343 | if((rid>0) && pUuid){ |
| 344 |
+1
-1
| --- src/setup.c | ||
| +++ src/setup.c | ||
| @@ -1172,11 +1172,11 @@ | ||
| 1172 | 1172 | "Enable hyperlinks for \"nobody\" based on User-Agent and Javascript", |
| 1173 | 1173 | "auto-hyperlink", "autohyperlink", 1, 0); |
| 1174 | 1174 | @ <p>Enable hyperlinks (the equivalent of the "h" permission) for all users |
| 1175 | 1175 | @ including user "nobody", as long as (1) the User-Agent string in the |
| 1176 | 1176 | @ HTTP header indicates that the request is coming from an actual human |
| 1177 | - @ being and not a a robot or spider and (2) the user agent is able to | |
| 1177 | + @ being and not a robot or spider and (2) the user agent is able to | |
| 1178 | 1178 | @ run Javascript in order to set the href= attribute of hyperlinks. Bots |
| 1179 | 1179 | @ and spiders can forge a User-Agent string that makes them seem to be a |
| 1180 | 1180 | @ normal browser and they can run javascript just like browsers. But most |
| 1181 | 1181 | @ bots do not go to that much trouble so this is normally an effective |
| 1182 | 1182 | @ defense.</p> |
| 1183 | 1183 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -1172,11 +1172,11 @@ | |
| 1172 | "Enable hyperlinks for \"nobody\" based on User-Agent and Javascript", |
| 1173 | "auto-hyperlink", "autohyperlink", 1, 0); |
| 1174 | @ <p>Enable hyperlinks (the equivalent of the "h" permission) for all users |
| 1175 | @ including user "nobody", as long as (1) the User-Agent string in the |
| 1176 | @ HTTP header indicates that the request is coming from an actual human |
| 1177 | @ being and not a a robot or spider and (2) the user agent is able to |
| 1178 | @ run Javascript in order to set the href= attribute of hyperlinks. Bots |
| 1179 | @ and spiders can forge a User-Agent string that makes them seem to be a |
| 1180 | @ normal browser and they can run javascript just like browsers. But most |
| 1181 | @ bots do not go to that much trouble so this is normally an effective |
| 1182 | @ defense.</p> |
| 1183 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -1172,11 +1172,11 @@ | |
| 1172 | "Enable hyperlinks for \"nobody\" based on User-Agent and Javascript", |
| 1173 | "auto-hyperlink", "autohyperlink", 1, 0); |
| 1174 | @ <p>Enable hyperlinks (the equivalent of the "h" permission) for all users |
| 1175 | @ including user "nobody", as long as (1) the User-Agent string in the |
| 1176 | @ HTTP header indicates that the request is coming from an actual human |
| 1177 | @ being and not a robot or spider and (2) the user agent is able to |
| 1178 | @ run Javascript in order to set the href= attribute of hyperlinks. Bots |
| 1179 | @ and spiders can forge a User-Agent string that makes them seem to be a |
| 1180 | @ normal browser and they can run javascript just like browsers. But most |
| 1181 | @ bots do not go to that much trouble so this is normally an effective |
| 1182 | @ defense.</p> |
| 1183 |
+1
-1
| --- src/sync.c | ||
| +++ src/sync.c | ||
| @@ -277,11 +277,11 @@ | ||
| 277 | 277 | /* |
| 278 | 278 | ** COMMAND: sync |
| 279 | 279 | ** |
| 280 | 280 | ** Usage: %fossil sync ?URL? ?options? |
| 281 | 281 | ** |
| 282 | -** Synchronize all sharable changes between the local repository and a a | |
| 282 | +** Synchronize all sharable changes between the local repository and a | |
| 283 | 283 | ** remote repository. Sharable changes include public check-ins and |
| 284 | 284 | ** edits to wiki pages, tickets, and technical notes. |
| 285 | 285 | ** |
| 286 | 286 | ** If URL is not specified, then the URL from the most recent clone, push, |
| 287 | 287 | ** pull, remote-url, or sync command is used. See "fossil help clone" for |
| 288 | 288 |
| --- src/sync.c | |
| +++ src/sync.c | |
| @@ -277,11 +277,11 @@ | |
| 277 | /* |
| 278 | ** COMMAND: sync |
| 279 | ** |
| 280 | ** Usage: %fossil sync ?URL? ?options? |
| 281 | ** |
| 282 | ** Synchronize all sharable changes between the local repository and a a |
| 283 | ** remote repository. Sharable changes include public check-ins and |
| 284 | ** edits to wiki pages, tickets, and technical notes. |
| 285 | ** |
| 286 | ** If URL is not specified, then the URL from the most recent clone, push, |
| 287 | ** pull, remote-url, or sync command is used. See "fossil help clone" for |
| 288 |
| --- src/sync.c | |
| +++ src/sync.c | |
| @@ -277,11 +277,11 @@ | |
| 277 | /* |
| 278 | ** COMMAND: sync |
| 279 | ** |
| 280 | ** Usage: %fossil sync ?URL? ?options? |
| 281 | ** |
| 282 | ** Synchronize all sharable changes between the local repository and a |
| 283 | ** remote repository. Sharable changes include public check-ins and |
| 284 | ** edits to wiki pages, tickets, and technical notes. |
| 285 | ** |
| 286 | ** If URL is not specified, then the URL from the most recent clone, push, |
| 287 | ** pull, remote-url, or sync command is used. See "fossil help clone" for |
| 288 |
+1
-1
| --- www/bugtheory.wiki | ||
| +++ www/bugtheory.wiki | ||
| @@ -112,11 +112,11 @@ | ||
| 112 | 112 | and is not shared with other repositories during a sync, push, or pull. |
| 113 | 113 | |
| 114 | 114 | Each repository also defines scripts used to generate web pages for |
| 115 | 115 | creating new tickets, viewing existing tickets, and modifying an |
| 116 | 116 | existing ticket. These scripts consist of HTML with an embedded |
| 117 | -scripts written an a Tcl-like language called "TH1". Every new fossil | |
| 117 | +scripts written a Tcl-like language called "TH1". Every new fossil | |
| 118 | 118 | repository is created with default scripts. Paul Ruizendaal has written |
| 119 | 119 | documentation on the TH1 language that is available at |
| 120 | 120 | [http://www.sqliteconcepts.org/THManual.pdf]. Administrators wishing to |
| 121 | 121 | customize their ticket entry, viewing, and editing screens should |
| 122 | 122 | modify the default scripts to suit their needs. These screen generator |
| 123 | 123 |
| --- www/bugtheory.wiki | |
| +++ www/bugtheory.wiki | |
| @@ -112,11 +112,11 @@ | |
| 112 | and is not shared with other repositories during a sync, push, or pull. |
| 113 | |
| 114 | Each repository also defines scripts used to generate web pages for |
| 115 | creating new tickets, viewing existing tickets, and modifying an |
| 116 | existing ticket. These scripts consist of HTML with an embedded |
| 117 | scripts written an a Tcl-like language called "TH1". Every new fossil |
| 118 | repository is created with default scripts. Paul Ruizendaal has written |
| 119 | documentation on the TH1 language that is available at |
| 120 | [http://www.sqliteconcepts.org/THManual.pdf]. Administrators wishing to |
| 121 | customize their ticket entry, viewing, and editing screens should |
| 122 | modify the default scripts to suit their needs. These screen generator |
| 123 |
| --- www/bugtheory.wiki | |
| +++ www/bugtheory.wiki | |
| @@ -112,11 +112,11 @@ | |
| 112 | and is not shared with other repositories during a sync, push, or pull. |
| 113 | |
| 114 | Each repository also defines scripts used to generate web pages for |
| 115 | creating new tickets, viewing existing tickets, and modifying an |
| 116 | existing ticket. These scripts consist of HTML with an embedded |
| 117 | scripts written a Tcl-like language called "TH1". Every new fossil |
| 118 | repository is created with default scripts. Paul Ruizendaal has written |
| 119 | documentation on the TH1 language that is available at |
| 120 | [http://www.sqliteconcepts.org/THManual.pdf]. Administrators wishing to |
| 121 | customize their ticket entry, viewing, and editing screens should |
| 122 | modify the default scripts to suit their needs. These screen generator |
| 123 |