Fossil SCM

Fix comment and documentation typos.

drh 2016-08-27 21:16 trunk
Commit 35d43fd98f1bb689c174668a95df50eccaf0a819
+1 -1
--- src/blob.c
+++ src/blob.c
@@ -1028,11 +1028,11 @@
10281028
** COMMAND: test-uncompress
10291029
**
10301030
** Usage: %fossil test-uncompress IN OUT
10311031
**
10321032
** 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
10341034
** blob_compress() function.
10351035
*/
10361036
void uncompress_cmd(void){
10371037
Blob f;
10381038
if( g.argc!=4 ) usage("INPUTFILE OUTPUTFILE");
10391039
--- 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
--- src/cson_amalgamation.c
+++ src/cson_amalgamation.c
@@ -1583,11 +1583,11 @@
15831583
*/
15841584
#define CSON_CAST(T,V) ((T*)((V)->value))
15851585
/**
15861586
Assumes V is a pointer to memory which is allocated as part of a
15871587
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)
15891589
from that address and casting it to a (cson_value*)
15901590
*/
15911591
#define CSON_VCAST(V) ((cson_value *)(((unsigned char *)(V))-sizeof(cson_value)))
15921592
15931593
/**
15941594
--- 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 @@
333333
** takes its parameters and returns its value, and in that it does not
334334
** treat errors as fatal. zName must be a UUID, as described for
335335
** name_to_uuid(). zType is also as described for that function. If
336336
** zName does not resolve, 0 is returned. If it is ambiguous, a
337337
** 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,
339339
** the full UUID, which must eventually be free()d by the caller.
340340
*/
341341
int name_to_uuid2(const char *zName, const char *zType, char **pUuid){
342342
int rid = symbolic_name_to_rid(zName, zType);
343343
if((rid>0) && pUuid){
344344
--- 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 @@
11721172
"Enable hyperlinks for \"nobody\" based on User-Agent and Javascript",
11731173
"auto-hyperlink", "autohyperlink", 1, 0);
11741174
@ <p>Enable hyperlinks (the equivalent of the "h" permission) for all users
11751175
@ including user "nobody", as long as (1) the User-Agent string in the
11761176
@ 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
11781178
@ run Javascript in order to set the href= attribute of hyperlinks. Bots
11791179
@ and spiders can forge a User-Agent string that makes them seem to be a
11801180
@ normal browser and they can run javascript just like browsers. But most
11811181
@ bots do not go to that much trouble so this is normally an effective
11821182
@ defense.</p>
11831183
--- 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 @@
277277
/*
278278
** COMMAND: sync
279279
**
280280
** Usage: %fossil sync ?URL? ?options?
281281
**
282
-** Synchronize all sharable changes between the local repository and a a
282
+** Synchronize all sharable changes between the local repository and a
283283
** remote repository. Sharable changes include public check-ins and
284284
** edits to wiki pages, tickets, and technical notes.
285285
**
286286
** If URL is not specified, then the URL from the most recent clone, push,
287287
** pull, remote-url, or sync command is used. See "fossil help clone" for
288288
--- 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
--- www/bugtheory.wiki
+++ www/bugtheory.wiki
@@ -112,11 +112,11 @@
112112
and is not shared with other repositories during a sync, push, or pull.
113113
114114
Each repository also defines scripts used to generate web pages for
115115
creating new tickets, viewing existing tickets, and modifying an
116116
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
118118
repository is created with default scripts. Paul Ruizendaal has written
119119
documentation on the TH1 language that is available at
120120
[http://www.sqliteconcepts.org/THManual.pdf]. Administrators wishing to
121121
customize their ticket entry, viewing, and editing screens should
122122
modify the default scripts to suit their needs. These screen generator
123123
--- 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

Keyboard Shortcuts

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