Fossil SCM

Fix typos.

dmitry 2012-11-04 12:59 trunk
Commit 45065c5c282cda9916c4c224f4e962a1fc791252
+3 -3
--- src/add.c
+++ src/add.c
@@ -53,11 +53,11 @@
5353
".fos-wal",
5454
".fos-shm",
5555
};
5656
5757
/* Names of auxiliary files generated by SQLite when the "manifest"
58
- ** properity is enabled
58
+ ** property is enabled
5959
*/
6060
static const char *const azManifest[] = {
6161
"manifest",
6262
"manifest.uuid",
6363
};
@@ -451,11 +451,11 @@
451451
fossil_panic("no checkout to add to");
452452
}
453453
db_begin_transaction();
454454
455455
/* step 1:
456
- ** Populate the temp table "sfile" with the names of all unmanged
456
+ ** Populate the temp table "sfile" with the names of all unmanaged
457457
** files currently in the check-out, except for files that match the
458458
** --ignore or ignore-glob patterns and dot-files. Then add all of
459459
** the files in the sfile temp table to the set of managed files.
460460
*/
461461
db_multi_exec("CREATE TEMP TABLE sfile(x TEXT PRIMARY KEY)");
@@ -487,11 +487,11 @@
487487
fossil_print("DELETED %s\n", zFile);
488488
nDelete++;
489489
}
490490
}
491491
db_finalize(&q);
492
- /* show cmmand summary */
492
+ /* show command summary */
493493
fossil_print("added %d files, deleted %d files\n", nAdd, nDelete);
494494
495495
db_end_transaction(isTest);
496496
}
497497
498498
--- src/add.c
+++ src/add.c
@@ -53,11 +53,11 @@
53 ".fos-wal",
54 ".fos-shm",
55 };
56
57 /* Names of auxiliary files generated by SQLite when the "manifest"
58 ** properity is enabled
59 */
60 static const char *const azManifest[] = {
61 "manifest",
62 "manifest.uuid",
63 };
@@ -451,11 +451,11 @@
451 fossil_panic("no checkout to add to");
452 }
453 db_begin_transaction();
454
455 /* step 1:
456 ** Populate the temp table "sfile" with the names of all unmanged
457 ** files currently in the check-out, except for files that match the
458 ** --ignore or ignore-glob patterns and dot-files. Then add all of
459 ** the files in the sfile temp table to the set of managed files.
460 */
461 db_multi_exec("CREATE TEMP TABLE sfile(x TEXT PRIMARY KEY)");
@@ -487,11 +487,11 @@
487 fossil_print("DELETED %s\n", zFile);
488 nDelete++;
489 }
490 }
491 db_finalize(&q);
492 /* show cmmand summary */
493 fossil_print("added %d files, deleted %d files\n", nAdd, nDelete);
494
495 db_end_transaction(isTest);
496 }
497
498
--- src/add.c
+++ src/add.c
@@ -53,11 +53,11 @@
53 ".fos-wal",
54 ".fos-shm",
55 };
56
57 /* Names of auxiliary files generated by SQLite when the "manifest"
58 ** property is enabled
59 */
60 static const char *const azManifest[] = {
61 "manifest",
62 "manifest.uuid",
63 };
@@ -451,11 +451,11 @@
451 fossil_panic("no checkout to add to");
452 }
453 db_begin_transaction();
454
455 /* step 1:
456 ** Populate the temp table "sfile" with the names of all unmanaged
457 ** files currently in the check-out, except for files that match the
458 ** --ignore or ignore-glob patterns and dot-files. Then add all of
459 ** the files in the sfile temp table to the set of managed files.
460 */
461 db_multi_exec("CREATE TEMP TABLE sfile(x TEXT PRIMARY KEY)");
@@ -487,11 +487,11 @@
487 fossil_print("DELETED %s\n", zFile);
488 nDelete++;
489 }
490 }
491 db_finalize(&q);
492 /* show command summary */
493 fossil_print("added %d files, deleted %d files\n", nAdd, nDelete);
494
495 db_end_transaction(isTest);
496 }
497
498
+1 -1
--- src/blob.c
+++ src/blob.c
@@ -671,11 +671,11 @@
671671
void blob_vappendf(Blob *pBlob, const char *zFormat, va_list ap){
672672
if( pBlob ) vxprintf(pBlob, zFormat, ap);
673673
}
674674
675675
/*
676
-** Initalize a blob to the data on an input channel. Return
676
+** Initialize a blob to the data on an input channel. Return
677677
** the number of bytes read into the blob. Any prior content
678678
** of the blob is discarded, not freed.
679679
*/
680680
int blob_read_from_channel(Blob *pBlob, FILE *in, int nToRead){
681681
size_t n;
682682
--- src/blob.c
+++ src/blob.c
@@ -671,11 +671,11 @@
671 void blob_vappendf(Blob *pBlob, const char *zFormat, va_list ap){
672 if( pBlob ) vxprintf(pBlob, zFormat, ap);
673 }
674
675 /*
676 ** Initalize a blob to the data on an input channel. Return
677 ** the number of bytes read into the blob. Any prior content
678 ** of the blob is discarded, not freed.
679 */
680 int blob_read_from_channel(Blob *pBlob, FILE *in, int nToRead){
681 size_t n;
682
--- src/blob.c
+++ src/blob.c
@@ -671,11 +671,11 @@
671 void blob_vappendf(Blob *pBlob, const char *zFormat, va_list ap){
672 if( pBlob ) vxprintf(pBlob, zFormat, ap);
673 }
674
675 /*
676 ** Initialize a blob to the data on an input channel. Return
677 ** the number of bytes read into the blob. Any prior content
678 ** of the blob is discarded, not freed.
679 */
680 int blob_read_from_channel(Blob *pBlob, FILE *in, int nToRead){
681 size_t n;
682
+1 -1
--- src/browse.c
+++ src/browse.c
@@ -20,11 +20,11 @@
2020
#include "config.h"
2121
#include "browse.h"
2222
#include <assert.h>
2323
2424
/*
25
-** This is the implemention of the "pathelement(X,N)" SQL function.
25
+** This is the implementation of the "pathelement(X,N)" SQL function.
2626
**
2727
** If X is a unix-like pathname (with "/" separators) and N is an
2828
** integer, then skip the initial N characters of X and return the
2929
** name of the path component that begins on the N+1th character
3030
** (numbered from 0). If the path component is a directory (if
3131
--- src/browse.c
+++ src/browse.c
@@ -20,11 +20,11 @@
20 #include "config.h"
21 #include "browse.h"
22 #include <assert.h>
23
24 /*
25 ** This is the implemention of the "pathelement(X,N)" SQL function.
26 **
27 ** If X is a unix-like pathname (with "/" separators) and N is an
28 ** integer, then skip the initial N characters of X and return the
29 ** name of the path component that begins on the N+1th character
30 ** (numbered from 0). If the path component is a directory (if
31
--- src/browse.c
+++ src/browse.c
@@ -20,11 +20,11 @@
20 #include "config.h"
21 #include "browse.h"
22 #include <assert.h>
23
24 /*
25 ** This is the implementation of the "pathelement(X,N)" SQL function.
26 **
27 ** If X is a unix-like pathname (with "/" separators) and N is an
28 ** integer, then skip the initial N characters of X and return the
29 ** name of the path component that begins on the N+1th character
30 ** (numbered from 0). If the path component is a directory (if
31
+1 -1
--- src/captcha.c
+++ src/captcha.c
@@ -13,11 +13,11 @@
1313
** [email protected]
1414
** http://www.hwaci.com/drh/
1515
**
1616
*******************************************************************************
1717
**
18
-** This file contains code to a simple text-based CAPTCHA. Though eaily
18
+** This file contains code to a simple text-based CAPTCHA. Though easily
1919
** defeated by a sophisticated attacker, this CAPTCHA does at least make
2020
** scripting attacks more difficult.
2121
*/
2222
#include <assert.h>
2323
#include "config.h"
2424
--- src/captcha.c
+++ src/captcha.c
@@ -13,11 +13,11 @@
13 ** [email protected]
14 ** http://www.hwaci.com/drh/
15 **
16 *******************************************************************************
17 **
18 ** This file contains code to a simple text-based CAPTCHA. Though eaily
19 ** defeated by a sophisticated attacker, this CAPTCHA does at least make
20 ** scripting attacks more difficult.
21 */
22 #include <assert.h>
23 #include "config.h"
24
--- src/captcha.c
+++ src/captcha.c
@@ -13,11 +13,11 @@
13 ** [email protected]
14 ** http://www.hwaci.com/drh/
15 **
16 *******************************************************************************
17 **
18 ** This file contains code to a simple text-based CAPTCHA. Though easily
19 ** defeated by a sophisticated attacker, this CAPTCHA does at least make
20 ** scripting attacks more difficult.
21 */
22 #include <assert.h>
23 #include "config.h"
24
+1 -1
--- src/cgi.c
+++ src/cgi.c
@@ -965,11 +965,11 @@
965965
return zOut;
966966
}
967967
968968
/*
969969
** Return the name of the i-th CGI parameter. Return NULL if there
970
-** are fewer than i registered CGI parmaeters.
970
+** are fewer than i registered CGI parameters.
971971
*/
972972
const char *cgi_parameter_name(int i){
973973
if( i>=0 && i<nUsedQP ){
974974
return aParamQP[i].zName;
975975
}else{
976976
--- src/cgi.c
+++ src/cgi.c
@@ -965,11 +965,11 @@
965 return zOut;
966 }
967
968 /*
969 ** Return the name of the i-th CGI parameter. Return NULL if there
970 ** are fewer than i registered CGI parmaeters.
971 */
972 const char *cgi_parameter_name(int i){
973 if( i>=0 && i<nUsedQP ){
974 return aParamQP[i].zName;
975 }else{
976
--- src/cgi.c
+++ src/cgi.c
@@ -965,11 +965,11 @@
965 return zOut;
966 }
967
968 /*
969 ** Return the name of the i-th CGI parameter. Return NULL if there
970 ** are fewer than i registered CGI parameters.
971 */
972 const char *cgi_parameter_name(int i){
973 if( i>=0 && i<nUsedQP ){
974 return aParamQP[i].zName;
975 }else{
976
+2 -2
--- src/checkin.c
+++ src/checkin.c
@@ -717,11 +717,11 @@
717717
int verifyDate, /* Verify that child is younger */
718718
Blob *pCksum, /* Repository checksum. May be 0 */
719719
const char *zDateOvrd, /* Date override. If 0 then use 'now' */
720720
const char *zUserOvrd, /* User override. If 0 then use g.zLogin */
721721
const char *zBranch, /* Branch name. May be 0 */
722
- const char *zColor, /* One-time gackground color. May be 0 */
722
+ const char *zColor, /* One-time background color. May be 0 */
723723
const char *zBrClr, /* Persistent branch color. May be 0 */
724724
const char **azTag, /* Tags to apply to this check-in */
725725
int *pnFBcard /* Number of generated B- and F-cards */
726726
){
727727
char *zDate; /* Date of the check-in */
@@ -1250,11 +1250,11 @@
12501250
db_begin_transaction();
12511251
}
12521252
12531253
/* Step 1: Insert records for all modified files into the blob
12541254
** table. If there were arguments passed to this command, only
1255
- ** the identified fils are inserted (if they have been modified).
1255
+ ** the identified files are inserted (if they have been modified).
12561256
*/
12571257
db_prepare(&q,
12581258
"SELECT id, %Q || pathname, mrid, %s, chnged, %s FROM vfile "
12591259
"WHERE chnged==1 AND NOT deleted AND is_selected(id)",
12601260
g.zLocalRoot, glob_expr("pathname", db_get("crnl-glob","")),
12611261
--- src/checkin.c
+++ src/checkin.c
@@ -717,11 +717,11 @@
717 int verifyDate, /* Verify that child is younger */
718 Blob *pCksum, /* Repository checksum. May be 0 */
719 const char *zDateOvrd, /* Date override. If 0 then use 'now' */
720 const char *zUserOvrd, /* User override. If 0 then use g.zLogin */
721 const char *zBranch, /* Branch name. May be 0 */
722 const char *zColor, /* One-time gackground color. May be 0 */
723 const char *zBrClr, /* Persistent branch color. May be 0 */
724 const char **azTag, /* Tags to apply to this check-in */
725 int *pnFBcard /* Number of generated B- and F-cards */
726 ){
727 char *zDate; /* Date of the check-in */
@@ -1250,11 +1250,11 @@
1250 db_begin_transaction();
1251 }
1252
1253 /* Step 1: Insert records for all modified files into the blob
1254 ** table. If there were arguments passed to this command, only
1255 ** the identified fils are inserted (if they have been modified).
1256 */
1257 db_prepare(&q,
1258 "SELECT id, %Q || pathname, mrid, %s, chnged, %s FROM vfile "
1259 "WHERE chnged==1 AND NOT deleted AND is_selected(id)",
1260 g.zLocalRoot, glob_expr("pathname", db_get("crnl-glob","")),
1261
--- src/checkin.c
+++ src/checkin.c
@@ -717,11 +717,11 @@
717 int verifyDate, /* Verify that child is younger */
718 Blob *pCksum, /* Repository checksum. May be 0 */
719 const char *zDateOvrd, /* Date override. If 0 then use 'now' */
720 const char *zUserOvrd, /* User override. If 0 then use g.zLogin */
721 const char *zBranch, /* Branch name. May be 0 */
722 const char *zColor, /* One-time background color. May be 0 */
723 const char *zBrClr, /* Persistent branch color. May be 0 */
724 const char **azTag, /* Tags to apply to this check-in */
725 int *pnFBcard /* Number of generated B- and F-cards */
726 ){
727 char *zDate; /* Date of the check-in */
@@ -1250,11 +1250,11 @@
1250 db_begin_transaction();
1251 }
1252
1253 /* Step 1: Insert records for all modified files into the blob
1254 ** table. If there were arguments passed to this command, only
1255 ** the identified files are inserted (if they have been modified).
1256 */
1257 db_prepare(&q,
1258 "SELECT id, %Q || pathname, mrid, %s, chnged, %s FROM vfile "
1259 "WHERE chnged==1 AND NOT deleted AND is_selected(id)",
1260 g.zLocalRoot, glob_expr("pathname", db_get("crnl-glob","")),
1261
+1 -1
--- src/clone.c
+++ src/clone.c
@@ -70,11 +70,11 @@
7070
*/
7171
void delete_private_content(void){
7272
fix_private_blob_dependencies(1);
7373
db_multi_exec(
7474
"DELETE FROM blob WHERE rid IN private;"
75
- "DELETE FROM delta wHERE rid IN private;"
75
+ "DELETE FROM delta WHERE rid IN private;"
7676
"DELETE FROM private;"
7777
"DROP TABLE IF EXISTS modreq;"
7878
);
7979
}
8080
8181
--- src/clone.c
+++ src/clone.c
@@ -70,11 +70,11 @@
70 */
71 void delete_private_content(void){
72 fix_private_blob_dependencies(1);
73 db_multi_exec(
74 "DELETE FROM blob WHERE rid IN private;"
75 "DELETE FROM delta wHERE rid IN private;"
76 "DELETE FROM private;"
77 "DROP TABLE IF EXISTS modreq;"
78 );
79 }
80
81
--- src/clone.c
+++ src/clone.c
@@ -70,11 +70,11 @@
70 */
71 void delete_private_content(void){
72 fix_private_blob_dependencies(1);
73 db_multi_exec(
74 "DELETE FROM blob WHERE rid IN private;"
75 "DELETE FROM delta WHERE rid IN private;"
76 "DELETE FROM private;"
77 "DROP TABLE IF EXISTS modreq;"
78 );
79 }
80
81
+6 -6
--- src/configure.c
+++ src/configure.c
@@ -15,11 +15,11 @@
1515
**
1616
*******************************************************************************
1717
**
1818
** This file contains code used to manage repository configurations.
1919
**
20
-** By "responsitory configure" we mean the local state of a repository
20
+** By "repository configure" we mean the local state of a repository
2121
** distinct from the versioned files.
2222
*/
2323
#include "config.h"
2424
#include "configure.h"
2525
#include <assert.h>
@@ -54,11 +54,11 @@
5454
const char *zHelp; /* What it does */
5555
} aGroupName[] = {
5656
{ "/email", CONFIGSET_ADDR, "Concealed email addresses in tickets" },
5757
{ "/project", CONFIGSET_PROJ, "Project name and description" },
5858
{ "/skin", CONFIGSET_SKIN | CONFIGSET_CSS,
59
- "Web interface apparance settings" },
59
+ "Web interface appearance settings" },
6060
{ "/css", CONFIGSET_CSS, "Style sheet" },
6161
{ "/shun", CONFIGSET_SHUN, "List of shunned artifacts" },
6262
{ "/ticket", CONFIGSET_TKT, "Ticket setup", },
6363
{ "/user", CONFIGSET_USER, "Users and privilege settings" },
6464
{ "/xfer", CONFIGSET_XFER, "Transfer setup", },
@@ -164,11 +164,11 @@
164164
}
165165
166166
/*
167167
** Return a pointer to a string that contains the RHS of an IN operator
168168
** that will select CONFIG table names that are part of the configuration
169
-** that matchines iMatch.
169
+** that matches iMatch.
170170
*/
171171
const char *configure_inop_rhs(int iMask){
172172
Blob x;
173173
int i;
174174
const char *zSep = "";
@@ -305,11 +305,11 @@
305305
configHasBeenReset |= m;
306306
}
307307
308308
/*
309309
** Create the temporary _xfer_reportfmt and _xfer_user tables that are
310
-** necessary in order to evalute the SQL text generated by the
310
+** necessary in order to evaluate the SQL text generated by the
311311
** configure_render_special_name() routine.
312312
**
313313
** If replaceFlag is true, then the setup is such that the content in
314314
** the SQL text will completely replace the current repository configuration.
315315
** If replaceFlag is false, then the SQL text will be merged with the
@@ -460,11 +460,11 @@
460460
** /reportfmt $MTIME $TITLE owner $VALUE cols $VALUE sqlcode $VALUE
461461
** /concealed $MTIME $HASH content $VALUE
462462
**
463463
** OLD FORMAT:
464464
**
465
-** The old format is retained for backwards compatiblity, but is deprecated.
465
+** The old format is retained for backwards compatibility, but is deprecated.
466466
** The cutover from old format to new was on 2011-04-25. After sufficient
467467
** time has passed, support for the old format will be removed.
468468
**
469469
** zName is either the NAME of an element of the CONFIG table, or else
470470
** one of the special names "@shun", "@reportfmt", "@user", or "@concealed".
@@ -782,11 +782,11 @@
782782
** Where METHOD is one of: export import merge pull push reset. All methods
783783
** accept the -R or --repository option to specific a repository.
784784
**
785785
** %fossil configuration export AREA FILENAME
786786
**
787
-** Write to FILENAME exported configuraton information for AREA.
787
+** Write to FILENAME exported configuration information for AREA.
788788
** AREA can be one of: all email project shun skin ticket user
789789
**
790790
** %fossil configuration import FILENAME
791791
**
792792
** Read a configuration from FILENAME, overwriting the current
793793
--- src/configure.c
+++ src/configure.c
@@ -15,11 +15,11 @@
15 **
16 *******************************************************************************
17 **
18 ** This file contains code used to manage repository configurations.
19 **
20 ** By "responsitory configure" we mean the local state of a repository
21 ** distinct from the versioned files.
22 */
23 #include "config.h"
24 #include "configure.h"
25 #include <assert.h>
@@ -54,11 +54,11 @@
54 const char *zHelp; /* What it does */
55 } aGroupName[] = {
56 { "/email", CONFIGSET_ADDR, "Concealed email addresses in tickets" },
57 { "/project", CONFIGSET_PROJ, "Project name and description" },
58 { "/skin", CONFIGSET_SKIN | CONFIGSET_CSS,
59 "Web interface apparance settings" },
60 { "/css", CONFIGSET_CSS, "Style sheet" },
61 { "/shun", CONFIGSET_SHUN, "List of shunned artifacts" },
62 { "/ticket", CONFIGSET_TKT, "Ticket setup", },
63 { "/user", CONFIGSET_USER, "Users and privilege settings" },
64 { "/xfer", CONFIGSET_XFER, "Transfer setup", },
@@ -164,11 +164,11 @@
164 }
165
166 /*
167 ** Return a pointer to a string that contains the RHS of an IN operator
168 ** that will select CONFIG table names that are part of the configuration
169 ** that matchines iMatch.
170 */
171 const char *configure_inop_rhs(int iMask){
172 Blob x;
173 int i;
174 const char *zSep = "";
@@ -305,11 +305,11 @@
305 configHasBeenReset |= m;
306 }
307
308 /*
309 ** Create the temporary _xfer_reportfmt and _xfer_user tables that are
310 ** necessary in order to evalute the SQL text generated by the
311 ** configure_render_special_name() routine.
312 **
313 ** If replaceFlag is true, then the setup is such that the content in
314 ** the SQL text will completely replace the current repository configuration.
315 ** If replaceFlag is false, then the SQL text will be merged with the
@@ -460,11 +460,11 @@
460 ** /reportfmt $MTIME $TITLE owner $VALUE cols $VALUE sqlcode $VALUE
461 ** /concealed $MTIME $HASH content $VALUE
462 **
463 ** OLD FORMAT:
464 **
465 ** The old format is retained for backwards compatiblity, but is deprecated.
466 ** The cutover from old format to new was on 2011-04-25. After sufficient
467 ** time has passed, support for the old format will be removed.
468 **
469 ** zName is either the NAME of an element of the CONFIG table, or else
470 ** one of the special names "@shun", "@reportfmt", "@user", or "@concealed".
@@ -782,11 +782,11 @@
782 ** Where METHOD is one of: export import merge pull push reset. All methods
783 ** accept the -R or --repository option to specific a repository.
784 **
785 ** %fossil configuration export AREA FILENAME
786 **
787 ** Write to FILENAME exported configuraton information for AREA.
788 ** AREA can be one of: all email project shun skin ticket user
789 **
790 ** %fossil configuration import FILENAME
791 **
792 ** Read a configuration from FILENAME, overwriting the current
793
--- src/configure.c
+++ src/configure.c
@@ -15,11 +15,11 @@
15 **
16 *******************************************************************************
17 **
18 ** This file contains code used to manage repository configurations.
19 **
20 ** By "repository configure" we mean the local state of a repository
21 ** distinct from the versioned files.
22 */
23 #include "config.h"
24 #include "configure.h"
25 #include <assert.h>
@@ -54,11 +54,11 @@
54 const char *zHelp; /* What it does */
55 } aGroupName[] = {
56 { "/email", CONFIGSET_ADDR, "Concealed email addresses in tickets" },
57 { "/project", CONFIGSET_PROJ, "Project name and description" },
58 { "/skin", CONFIGSET_SKIN | CONFIGSET_CSS,
59 "Web interface appearance settings" },
60 { "/css", CONFIGSET_CSS, "Style sheet" },
61 { "/shun", CONFIGSET_SHUN, "List of shunned artifacts" },
62 { "/ticket", CONFIGSET_TKT, "Ticket setup", },
63 { "/user", CONFIGSET_USER, "Users and privilege settings" },
64 { "/xfer", CONFIGSET_XFER, "Transfer setup", },
@@ -164,11 +164,11 @@
164 }
165
166 /*
167 ** Return a pointer to a string that contains the RHS of an IN operator
168 ** that will select CONFIG table names that are part of the configuration
169 ** that matches iMatch.
170 */
171 const char *configure_inop_rhs(int iMask){
172 Blob x;
173 int i;
174 const char *zSep = "";
@@ -305,11 +305,11 @@
305 configHasBeenReset |= m;
306 }
307
308 /*
309 ** Create the temporary _xfer_reportfmt and _xfer_user tables that are
310 ** necessary in order to evaluate the SQL text generated by the
311 ** configure_render_special_name() routine.
312 **
313 ** If replaceFlag is true, then the setup is such that the content in
314 ** the SQL text will completely replace the current repository configuration.
315 ** If replaceFlag is false, then the SQL text will be merged with the
@@ -460,11 +460,11 @@
460 ** /reportfmt $MTIME $TITLE owner $VALUE cols $VALUE sqlcode $VALUE
461 ** /concealed $MTIME $HASH content $VALUE
462 **
463 ** OLD FORMAT:
464 **
465 ** The old format is retained for backwards compatibility, but is deprecated.
466 ** The cutover from old format to new was on 2011-04-25. After sufficient
467 ** time has passed, support for the old format will be removed.
468 **
469 ** zName is either the NAME of an element of the CONFIG table, or else
470 ** one of the special names "@shun", "@reportfmt", "@user", or "@concealed".
@@ -782,11 +782,11 @@
782 ** Where METHOD is one of: export import merge pull push reset. All methods
783 ** accept the -R or --repository option to specific a repository.
784 **
785 ** %fossil configuration export AREA FILENAME
786 **
787 ** Write to FILENAME exported configuration information for AREA.
788 ** AREA can be one of: all email project shun skin ticket user
789 **
790 ** %fossil configuration import FILENAME
791 **
792 ** Read a configuration from FILENAME, overwriting the current
793
+4 -4
--- src/content.c
+++ src/content.c
@@ -20,15 +20,15 @@
2020
#include "config.h"
2121
#include "content.h"
2222
#include <assert.h>
2323
2424
/*
25
-** The artifact retrival cache
25
+** The artifact retrieval cache
2626
*/
2727
static struct {
2828
i64 szTotal; /* Total size of all entries in the cache */
29
- int n; /* Current number of eache entries */
29
+ int n; /* Current number of cache entries */
3030
int nAlloc; /* Number of slots allocated in a[] */
3131
int nextAge; /* Age counter for implementing LRU */
3232
int skipCnt; /* Used to limit entries expelled from cache */
3333
struct cacheLine { /* One instance of this for each cache entry */
3434
int rid; /* Artifact id */
@@ -42,11 +42,11 @@
4242
**
4343
** Artifacts whose record ID are in missingCache cannot be retrieved
4444
** either because they are phantoms or because they are a delta that
4545
** depends on a phantom. Artifacts whose content we are certain is
4646
** available are in availableCache. If an artifact is in neither cache
47
- ** then its current availablity is unknown.
47
+ ** then its current availability is unknown.
4848
*/
4949
Bag missing; /* Cache of artifacts that are incomplete */
5050
Bag available; /* Cache of artifacts that are complete */
5151
} contentCache;
5252
@@ -471,11 +471,11 @@
471471
** If the record already exists but is a phantom, the pBlob content
472472
** is inserted and the phatom becomes a real record.
473473
**
474474
** The original content of pBlob is not disturbed. The caller continues
475475
** to be responsible for pBlob. This routine does *not* take over
476
-** responsiblity for freeing pBlob.
476
+** responsibility for freeing pBlob.
477477
*/
478478
int content_put_ex(
479479
Blob *pBlob, /* Content to add to the repository */
480480
const char *zUuid, /* SHA1 hash of reconstructed pBlob */
481481
int srcId, /* pBlob is a delta from this entry */
482482
--- src/content.c
+++ src/content.c
@@ -20,15 +20,15 @@
20 #include "config.h"
21 #include "content.h"
22 #include <assert.h>
23
24 /*
25 ** The artifact retrival cache
26 */
27 static struct {
28 i64 szTotal; /* Total size of all entries in the cache */
29 int n; /* Current number of eache entries */
30 int nAlloc; /* Number of slots allocated in a[] */
31 int nextAge; /* Age counter for implementing LRU */
32 int skipCnt; /* Used to limit entries expelled from cache */
33 struct cacheLine { /* One instance of this for each cache entry */
34 int rid; /* Artifact id */
@@ -42,11 +42,11 @@
42 **
43 ** Artifacts whose record ID are in missingCache cannot be retrieved
44 ** either because they are phantoms or because they are a delta that
45 ** depends on a phantom. Artifacts whose content we are certain is
46 ** available are in availableCache. If an artifact is in neither cache
47 ** then its current availablity is unknown.
48 */
49 Bag missing; /* Cache of artifacts that are incomplete */
50 Bag available; /* Cache of artifacts that are complete */
51 } contentCache;
52
@@ -471,11 +471,11 @@
471 ** If the record already exists but is a phantom, the pBlob content
472 ** is inserted and the phatom becomes a real record.
473 **
474 ** The original content of pBlob is not disturbed. The caller continues
475 ** to be responsible for pBlob. This routine does *not* take over
476 ** responsiblity for freeing pBlob.
477 */
478 int content_put_ex(
479 Blob *pBlob, /* Content to add to the repository */
480 const char *zUuid, /* SHA1 hash of reconstructed pBlob */
481 int srcId, /* pBlob is a delta from this entry */
482
--- src/content.c
+++ src/content.c
@@ -20,15 +20,15 @@
20 #include "config.h"
21 #include "content.h"
22 #include <assert.h>
23
24 /*
25 ** The artifact retrieval cache
26 */
27 static struct {
28 i64 szTotal; /* Total size of all entries in the cache */
29 int n; /* Current number of cache entries */
30 int nAlloc; /* Number of slots allocated in a[] */
31 int nextAge; /* Age counter for implementing LRU */
32 int skipCnt; /* Used to limit entries expelled from cache */
33 struct cacheLine { /* One instance of this for each cache entry */
34 int rid; /* Artifact id */
@@ -42,11 +42,11 @@
42 **
43 ** Artifacts whose record ID are in missingCache cannot be retrieved
44 ** either because they are phantoms or because they are a delta that
45 ** depends on a phantom. Artifacts whose content we are certain is
46 ** available are in availableCache. If an artifact is in neither cache
47 ** then its current availability is unknown.
48 */
49 Bag missing; /* Cache of artifacts that are incomplete */
50 Bag available; /* Cache of artifacts that are complete */
51 } contentCache;
52
@@ -471,11 +471,11 @@
471 ** If the record already exists but is a phantom, the pBlob content
472 ** is inserted and the phatom becomes a real record.
473 **
474 ** The original content of pBlob is not disturbed. The caller continues
475 ** to be responsible for pBlob. This routine does *not* take over
476 ** responsibility for freeing pBlob.
477 */
478 int content_put_ex(
479 Blob *pBlob, /* Content to add to the repository */
480 const char *zUuid, /* SHA1 hash of reconstructed pBlob */
481 int srcId, /* pBlob is a delta from this entry */
482
+7 -7
--- src/db.c
+++ src/db.c
@@ -213,11 +213,11 @@
213213
214214
/*
215215
** Install a commit hook. Hooks are installed in sequence order.
216216
** It is an error to install the same commit hook more than once.
217217
**
218
-** Each commit hook is called (in order of accending sequence) at
218
+** Each commit hook is called (in order of ascending sequence) at
219219
** each commit operation. If any commit hook returns non-zero,
220220
** the subsequence commit hooks are omitted and the transaction
221221
** rolls back rather than commit. It is the responsibility of the
222222
** hooks themselves to issue any error messages.
223223
*/
@@ -325,11 +325,11 @@
325325
return sqlite3_bind_blob(pStmt->pStmt, paramIdx(pStmt, zParamName),
326326
blob_buffer(pBlob), blob_size(pBlob), SQLITE_STATIC);
327327
}
328328
329329
/* bind_str() treats a Blob object like a TEXT string and binds it
330
-** to the SQL variable. Constrast this to bind_blob() which treats
330
+** to the SQL variable. Contrast this to bind_blob() which treats
331331
** the Blob object like an SQL BLOB.
332332
*/
333333
int db_bind_str(Stmt *pStmt, const char *zParamName, Blob *pBlob){
334334
return sqlite3_bind_text(pStmt->pStmt, paramIdx(pStmt, zParamName),
335335
blob_buffer(pBlob), blob_size(pBlob), SQLITE_STATIC);
@@ -449,11 +449,11 @@
449449
blob_append(pBlob, sqlite3_column_blob(pStmt->pStmt, N),
450450
sqlite3_column_bytes(pStmt->pStmt, N));
451451
}
452452
453453
/*
454
-** Initialize a blob to an ephermeral copy of the content of a
454
+** Initialize a blob to an ephemeral copy of the content of a
455455
** column in the current row. The data in the blob will become
456456
** invalid when the statement is stepped or reset.
457457
*/
458458
void db_ephemeral_blob(Stmt *pStmt, int N, Blob *pBlob){
459459
blob_init(pBlob, sqlite3_column_blob(pStmt->pStmt, N),
@@ -1460,13 +1460,13 @@
14601460
sqlite3_result_text(context, g.zLogin, -1, SQLITE_STATIC);
14611461
}
14621462
}
14631463
14641464
/*
1465
-** Implement the cgi() SQL function. cgi() takes a an argument which is
1465
+** Implement the cgi() SQL function. cgi() takes an argument which is
14661466
** a name of CGI query parameter. The value of that parameter is returned,
1467
-** if available. optional second argument will be returned if the first
1467
+** if available. Optional second argument will be returned if the first
14681468
** doesn't exist as a CGI parameter.
14691469
*/
14701470
static void db_sql_cgi(sqlite3_context *context, int argc, sqlite3_value **argv){
14711471
const char* zP;
14721472
if( argc!=1 && argc!=2 ) return;
@@ -2156,11 +2156,11 @@
21562156
** Ex: meld "%baseline" "%original" "%merge" "%output"
21572157
**
21582158
** http-port The TCP/IP port number to use by the "server"
21592159
** and "ui" commands. Default: 8080
21602160
**
2161
-** https-login Send login creditials using HTTPS instead of HTTP
2161
+** https-login Send login credentials using HTTPS instead of HTTP
21622162
** even if the login page request came via HTTP.
21632163
**
21642164
** ignore-glob The VALUE is a comma or newline-separated list of GLOB
21652165
** (versionable) patterns specifying files that the "extra" command will
21662166
** ignore. Example: *.o,*.obj,*.exe
@@ -2294,11 +2294,11 @@
22942294
usage("?PROPERTY? ?VALUE?");
22952295
}
22962296
}
22972297
22982298
/*
2299
-** The input in a a timespan measured in days. Return a string which
2299
+** The input in a timespan measured in days. Return a string which
23002300
** describes that timespan in units of seconds, minutes, hours, days,
23012301
** or years, depending on its duration.
23022302
*/
23032303
char *db_timespan_name(double rSpan){
23042304
if( rSpan<0 ) rSpan = -rSpan;
23052305
--- src/db.c
+++ src/db.c
@@ -213,11 +213,11 @@
213
214 /*
215 ** Install a commit hook. Hooks are installed in sequence order.
216 ** It is an error to install the same commit hook more than once.
217 **
218 ** Each commit hook is called (in order of accending sequence) at
219 ** each commit operation. If any commit hook returns non-zero,
220 ** the subsequence commit hooks are omitted and the transaction
221 ** rolls back rather than commit. It is the responsibility of the
222 ** hooks themselves to issue any error messages.
223 */
@@ -325,11 +325,11 @@
325 return sqlite3_bind_blob(pStmt->pStmt, paramIdx(pStmt, zParamName),
326 blob_buffer(pBlob), blob_size(pBlob), SQLITE_STATIC);
327 }
328
329 /* bind_str() treats a Blob object like a TEXT string and binds it
330 ** to the SQL variable. Constrast this to bind_blob() which treats
331 ** the Blob object like an SQL BLOB.
332 */
333 int db_bind_str(Stmt *pStmt, const char *zParamName, Blob *pBlob){
334 return sqlite3_bind_text(pStmt->pStmt, paramIdx(pStmt, zParamName),
335 blob_buffer(pBlob), blob_size(pBlob), SQLITE_STATIC);
@@ -449,11 +449,11 @@
449 blob_append(pBlob, sqlite3_column_blob(pStmt->pStmt, N),
450 sqlite3_column_bytes(pStmt->pStmt, N));
451 }
452
453 /*
454 ** Initialize a blob to an ephermeral copy of the content of a
455 ** column in the current row. The data in the blob will become
456 ** invalid when the statement is stepped or reset.
457 */
458 void db_ephemeral_blob(Stmt *pStmt, int N, Blob *pBlob){
459 blob_init(pBlob, sqlite3_column_blob(pStmt->pStmt, N),
@@ -1460,13 +1460,13 @@
1460 sqlite3_result_text(context, g.zLogin, -1, SQLITE_STATIC);
1461 }
1462 }
1463
1464 /*
1465 ** Implement the cgi() SQL function. cgi() takes a an argument which is
1466 ** a name of CGI query parameter. The value of that parameter is returned,
1467 ** if available. optional second argument will be returned if the first
1468 ** doesn't exist as a CGI parameter.
1469 */
1470 static void db_sql_cgi(sqlite3_context *context, int argc, sqlite3_value **argv){
1471 const char* zP;
1472 if( argc!=1 && argc!=2 ) return;
@@ -2156,11 +2156,11 @@
2156 ** Ex: meld "%baseline" "%original" "%merge" "%output"
2157 **
2158 ** http-port The TCP/IP port number to use by the "server"
2159 ** and "ui" commands. Default: 8080
2160 **
2161 ** https-login Send login creditials using HTTPS instead of HTTP
2162 ** even if the login page request came via HTTP.
2163 **
2164 ** ignore-glob The VALUE is a comma or newline-separated list of GLOB
2165 ** (versionable) patterns specifying files that the "extra" command will
2166 ** ignore. Example: *.o,*.obj,*.exe
@@ -2294,11 +2294,11 @@
2294 usage("?PROPERTY? ?VALUE?");
2295 }
2296 }
2297
2298 /*
2299 ** The input in a a timespan measured in days. Return a string which
2300 ** describes that timespan in units of seconds, minutes, hours, days,
2301 ** or years, depending on its duration.
2302 */
2303 char *db_timespan_name(double rSpan){
2304 if( rSpan<0 ) rSpan = -rSpan;
2305
--- src/db.c
+++ src/db.c
@@ -213,11 +213,11 @@
213
214 /*
215 ** Install a commit hook. Hooks are installed in sequence order.
216 ** It is an error to install the same commit hook more than once.
217 **
218 ** Each commit hook is called (in order of ascending sequence) at
219 ** each commit operation. If any commit hook returns non-zero,
220 ** the subsequence commit hooks are omitted and the transaction
221 ** rolls back rather than commit. It is the responsibility of the
222 ** hooks themselves to issue any error messages.
223 */
@@ -325,11 +325,11 @@
325 return sqlite3_bind_blob(pStmt->pStmt, paramIdx(pStmt, zParamName),
326 blob_buffer(pBlob), blob_size(pBlob), SQLITE_STATIC);
327 }
328
329 /* bind_str() treats a Blob object like a TEXT string and binds it
330 ** to the SQL variable. Contrast this to bind_blob() which treats
331 ** the Blob object like an SQL BLOB.
332 */
333 int db_bind_str(Stmt *pStmt, const char *zParamName, Blob *pBlob){
334 return sqlite3_bind_text(pStmt->pStmt, paramIdx(pStmt, zParamName),
335 blob_buffer(pBlob), blob_size(pBlob), SQLITE_STATIC);
@@ -449,11 +449,11 @@
449 blob_append(pBlob, sqlite3_column_blob(pStmt->pStmt, N),
450 sqlite3_column_bytes(pStmt->pStmt, N));
451 }
452
453 /*
454 ** Initialize a blob to an ephemeral copy of the content of a
455 ** column in the current row. The data in the blob will become
456 ** invalid when the statement is stepped or reset.
457 */
458 void db_ephemeral_blob(Stmt *pStmt, int N, Blob *pBlob){
459 blob_init(pBlob, sqlite3_column_blob(pStmt->pStmt, N),
@@ -1460,13 +1460,13 @@
1460 sqlite3_result_text(context, g.zLogin, -1, SQLITE_STATIC);
1461 }
1462 }
1463
1464 /*
1465 ** Implement the cgi() SQL function. cgi() takes an argument which is
1466 ** a name of CGI query parameter. The value of that parameter is returned,
1467 ** if available. Optional second argument will be returned if the first
1468 ** doesn't exist as a CGI parameter.
1469 */
1470 static void db_sql_cgi(sqlite3_context *context, int argc, sqlite3_value **argv){
1471 const char* zP;
1472 if( argc!=1 && argc!=2 ) return;
@@ -2156,11 +2156,11 @@
2156 ** Ex: meld "%baseline" "%original" "%merge" "%output"
2157 **
2158 ** http-port The TCP/IP port number to use by the "server"
2159 ** and "ui" commands. Default: 8080
2160 **
2161 ** https-login Send login credentials using HTTPS instead of HTTP
2162 ** even if the login page request came via HTTP.
2163 **
2164 ** ignore-glob The VALUE is a comma or newline-separated list of GLOB
2165 ** (versionable) patterns specifying files that the "extra" command will
2166 ** ignore. Example: *.o,*.obj,*.exe
@@ -2294,11 +2294,11 @@
2294 usage("?PROPERTY? ?VALUE?");
2295 }
2296 }
2297
2298 /*
2299 ** The input in a timespan measured in days. Return a string which
2300 ** describes that timespan in units of seconds, minutes, hours, days,
2301 ** or years, depending on its duration.
2302 */
2303 char *db_timespan_name(double rSpan){
2304 if( rSpan<0 ) rSpan = -rSpan;
2305
+1 -1
--- src/delta.c
+++ src/delta.c
@@ -16,11 +16,11 @@
1616
*******************************************************************************
1717
**
1818
** This module implements the delta compress algorithm.
1919
**
2020
** Though developed specifically for fossil, the code in this file
21
-** is generally appliable and is thus easily separated from the
21
+** is generally applicable and is thus easily separated from the
2222
** fossil source code base. Nothing in this file depends on anything
2323
** else in fossil.
2424
*/
2525
#include <stdio.h>
2626
#include <assert.h>
2727
--- src/delta.c
+++ src/delta.c
@@ -16,11 +16,11 @@
16 *******************************************************************************
17 **
18 ** This module implements the delta compress algorithm.
19 **
20 ** Though developed specifically for fossil, the code in this file
21 ** is generally appliable and is thus easily separated from the
22 ** fossil source code base. Nothing in this file depends on anything
23 ** else in fossil.
24 */
25 #include <stdio.h>
26 #include <assert.h>
27
--- src/delta.c
+++ src/delta.c
@@ -16,11 +16,11 @@
16 *******************************************************************************
17 **
18 ** This module implements the delta compress algorithm.
19 **
20 ** Though developed specifically for fossil, the code in this file
21 ** is generally applicable and is thus easily separated from the
22 ** fossil source code base. Nothing in this file depends on anything
23 ** else in fossil.
24 */
25 #include <stdio.h>
26 #include <assert.h>
27
--- src/descendants.c
+++ src/descendants.c
@@ -13,11 +13,11 @@
1313
** [email protected]
1414
** http://www.hwaci.com/drh/
1515
**
1616
*******************************************************************************
1717
**
18
-** This file contains code used to find decendants of a version
18
+** This file contains code used to find descendants of a version
1919
** or leaves of a version tree.
2020
*/
2121
#include "config.h"
2222
#include "descendants.h"
2323
#include <assert.h>
@@ -24,11 +24,11 @@
2424
2525
2626
/*
2727
** Create a temporary table named "leaves" if it does not
2828
** already exist. Load this table with the RID of all
29
-** check-ins that are leaves which are decended from
29
+** check-ins that are leaves which are descended from
3030
** check-in iBase.
3131
**
3232
** A "leaf" is a check-in that has no children in the same branch.
3333
** There is a separate permanent table LEAF that contains all leaves
3434
** in the tree. This routine is used to compute a subset of that
@@ -71,11 +71,11 @@
7171
bag_init(&pending);
7272
bag_insert(&pending, iBase);
7373
7474
/* This query returns all non-branch-merge children of check-in :rid.
7575
**
76
- ** If a a child is a merge of a fork within the same branch, it is
76
+ ** If a child is a merge of a fork within the same branch, it is
7777
** returned. Only merge children in different branches are excluded.
7878
*/
7979
db_prepare(&q1,
8080
"SELECT cid FROM plink"
8181
" WHERE pid=:rid"
8282
--- src/descendants.c
+++ src/descendants.c
@@ -13,11 +13,11 @@
13 ** [email protected]
14 ** http://www.hwaci.com/drh/
15 **
16 *******************************************************************************
17 **
18 ** This file contains code used to find decendants of a version
19 ** or leaves of a version tree.
20 */
21 #include "config.h"
22 #include "descendants.h"
23 #include <assert.h>
@@ -24,11 +24,11 @@
24
25
26 /*
27 ** Create a temporary table named "leaves" if it does not
28 ** already exist. Load this table with the RID of all
29 ** check-ins that are leaves which are decended from
30 ** check-in iBase.
31 **
32 ** A "leaf" is a check-in that has no children in the same branch.
33 ** There is a separate permanent table LEAF that contains all leaves
34 ** in the tree. This routine is used to compute a subset of that
@@ -71,11 +71,11 @@
71 bag_init(&pending);
72 bag_insert(&pending, iBase);
73
74 /* This query returns all non-branch-merge children of check-in :rid.
75 **
76 ** If a a child is a merge of a fork within the same branch, it is
77 ** returned. Only merge children in different branches are excluded.
78 */
79 db_prepare(&q1,
80 "SELECT cid FROM plink"
81 " WHERE pid=:rid"
82
--- src/descendants.c
+++ src/descendants.c
@@ -13,11 +13,11 @@
13 ** [email protected]
14 ** http://www.hwaci.com/drh/
15 **
16 *******************************************************************************
17 **
18 ** This file contains code used to find descendants of a version
19 ** or leaves of a version tree.
20 */
21 #include "config.h"
22 #include "descendants.h"
23 #include <assert.h>
@@ -24,11 +24,11 @@
24
25
26 /*
27 ** Create a temporary table named "leaves" if it does not
28 ** already exist. Load this table with the RID of all
29 ** check-ins that are leaves which are descended from
30 ** check-in iBase.
31 **
32 ** A "leaf" is a check-in that has no children in the same branch.
33 ** There is a separate permanent table LEAF that contains all leaves
34 ** in the tree. This routine is used to compute a subset of that
@@ -71,11 +71,11 @@
71 bag_init(&pending);
72 bag_insert(&pending, iBase);
73
74 /* This query returns all non-branch-merge children of check-in :rid.
75 **
76 ** If a child is a merge of a fork within the same branch, it is
77 ** returned. Only merge children in different branches are excluded.
78 */
79 db_prepare(&q1,
80 "SELECT cid FROM plink"
81 " WHERE pid=:rid"
82
+2 -2
--- src/diff.c
+++ src/diff.c
@@ -23,11 +23,11 @@
2323
#include <assert.h>
2424
2525
2626
#if INTERFACE
2727
/*
28
-** Allowed flag parameters to the text_diff() and html_sbsdiff() funtions:
28
+** Allowed flag parameters to the text_diff() and html_sbsdiff() functions:
2929
*/
3030
#define DIFF_CONTEXT_MASK ((u64)0x0000ffff) /* Lines of context. Default if 0 */
3131
#define DIFF_WIDTH_MASK ((u64)0x00ff0000) /* side-by-side column width */
3232
#define DIFF_IGNORE_EOLWS ((u64)0x01000000) /* Ignore end-of-line whitespace */
3333
#define DIFF_SIDEBYSIDE ((u64)0x02000000) /* Generate a side-by-side diff */
@@ -2089,11 +2089,11 @@
20892089
int fnid; /* Filename ID */
20902090
int fid; /* File instance ID */
20912091
int mid; /* Manifest where file was checked in */
20922092
int cid; /* Checkout ID */
20932093
Blob treename; /* FILENAME translated to canonical form */
2094
- char *zFilename; /* Cannonical filename */
2094
+ char *zFilename; /* Canonical filename */
20952095
Annotator ann; /* The annotation of the file */
20962096
int i; /* Loop counter */
20972097
const char *zLimit; /* The value to the --limit option */
20982098
int iLimit; /* How far back in time to look */
20992099
int showLog; /* True to show the log */
21002100
--- src/diff.c
+++ src/diff.c
@@ -23,11 +23,11 @@
23 #include <assert.h>
24
25
26 #if INTERFACE
27 /*
28 ** Allowed flag parameters to the text_diff() and html_sbsdiff() funtions:
29 */
30 #define DIFF_CONTEXT_MASK ((u64)0x0000ffff) /* Lines of context. Default if 0 */
31 #define DIFF_WIDTH_MASK ((u64)0x00ff0000) /* side-by-side column width */
32 #define DIFF_IGNORE_EOLWS ((u64)0x01000000) /* Ignore end-of-line whitespace */
33 #define DIFF_SIDEBYSIDE ((u64)0x02000000) /* Generate a side-by-side diff */
@@ -2089,11 +2089,11 @@
2089 int fnid; /* Filename ID */
2090 int fid; /* File instance ID */
2091 int mid; /* Manifest where file was checked in */
2092 int cid; /* Checkout ID */
2093 Blob treename; /* FILENAME translated to canonical form */
2094 char *zFilename; /* Cannonical filename */
2095 Annotator ann; /* The annotation of the file */
2096 int i; /* Loop counter */
2097 const char *zLimit; /* The value to the --limit option */
2098 int iLimit; /* How far back in time to look */
2099 int showLog; /* True to show the log */
2100
--- src/diff.c
+++ src/diff.c
@@ -23,11 +23,11 @@
23 #include <assert.h>
24
25
26 #if INTERFACE
27 /*
28 ** Allowed flag parameters to the text_diff() and html_sbsdiff() functions:
29 */
30 #define DIFF_CONTEXT_MASK ((u64)0x0000ffff) /* Lines of context. Default if 0 */
31 #define DIFF_WIDTH_MASK ((u64)0x00ff0000) /* side-by-side column width */
32 #define DIFF_IGNORE_EOLWS ((u64)0x01000000) /* Ignore end-of-line whitespace */
33 #define DIFF_SIDEBYSIDE ((u64)0x02000000) /* Generate a side-by-side diff */
@@ -2089,11 +2089,11 @@
2089 int fnid; /* Filename ID */
2090 int fid; /* File instance ID */
2091 int mid; /* Manifest where file was checked in */
2092 int cid; /* Checkout ID */
2093 Blob treename; /* FILENAME translated to canonical form */
2094 char *zFilename; /* Canonical filename */
2095 Annotator ann; /* The annotation of the file */
2096 int i; /* Loop counter */
2097 const char *zLimit; /* The value to the --limit option */
2098 int iLimit; /* How far back in time to look */
2099 int showLog; /* True to show the log */
2100
+1 -1
--- src/encode.c
+++ src/encode.c
@@ -134,11 +134,11 @@
134134
}
135135
136136
/*
137137
** Convert the input string into a form that is suitable for use as
138138
** a token in the HTTP protocol. Spaces are encoded as '+' and special
139
-** characters are encoded as "%HH" where HH is a two-digit hexidecimal
139
+** characters are encoded as "%HH" where HH is a two-digit hexadecimal
140140
** representation of the character. The "/" character is encoded
141141
** as "%2F".
142142
*/
143143
char *httpize(const char *z, int n){
144144
return EncodeHttp(z, n, 1);
145145
--- src/encode.c
+++ src/encode.c
@@ -134,11 +134,11 @@
134 }
135
136 /*
137 ** Convert the input string into a form that is suitable for use as
138 ** a token in the HTTP protocol. Spaces are encoded as '+' and special
139 ** characters are encoded as "%HH" where HH is a two-digit hexidecimal
140 ** representation of the character. The "/" character is encoded
141 ** as "%2F".
142 */
143 char *httpize(const char *z, int n){
144 return EncodeHttp(z, n, 1);
145
--- src/encode.c
+++ src/encode.c
@@ -134,11 +134,11 @@
134 }
135
136 /*
137 ** Convert the input string into a form that is suitable for use as
138 ** a token in the HTTP protocol. Spaces are encoded as '+' and special
139 ** characters are encoded as "%HH" where HH is a two-digit hexadecimal
140 ** representation of the character. The "/" character is encoded
141 ** as "%2F".
142 */
143 char *httpize(const char *z, int n){
144 return EncodeHttp(z, n, 1);
145
+1 -1
--- src/glob.c
+++ src/glob.c
@@ -216,11 +216,11 @@
216216
return *z==0;
217217
}
218218
219219
/*
220220
** Return true (non-zero) if zString matches any of the patterns in
221
-** the Glob. The value returned is actually a 1-basd index of the pattern
221
+** the Glob. The value returned is actually a 1-based index of the pattern
222222
** that matched. Return 0 if none of the patterns match zString.
223223
**
224224
** A NULL glob matches nothing.
225225
*/
226226
int glob_match(Glob *pGlob, const char *zString){
227227
--- src/glob.c
+++ src/glob.c
@@ -216,11 +216,11 @@
216 return *z==0;
217 }
218
219 /*
220 ** Return true (non-zero) if zString matches any of the patterns in
221 ** the Glob. The value returned is actually a 1-basd index of the pattern
222 ** that matched. Return 0 if none of the patterns match zString.
223 **
224 ** A NULL glob matches nothing.
225 */
226 int glob_match(Glob *pGlob, const char *zString){
227
--- src/glob.c
+++ src/glob.c
@@ -216,11 +216,11 @@
216 return *z==0;
217 }
218
219 /*
220 ** Return true (non-zero) if zString matches any of the patterns in
221 ** the Glob. The value returned is actually a 1-based index of the pattern
222 ** that matched. Return 0 if none of the patterns match zString.
223 **
224 ** A NULL glob matches nothing.
225 */
226 int glob_match(Glob *pGlob, const char *zString){
227
--- src/http_socket.c
+++ src/http_socket.c
@@ -126,11 +126,11 @@
126126
}
127127
}
128128
129129
/*
130130
** Open a socket connection. The identify of the server is determined
131
-** by global varibles that are set using url_parse():
131
+** by global variables that are set using url_parse():
132132
**
133133
** g.urlName Name of the server. Ex: www.fossil-scm.org
134134
** g.urlPort TCP/IP port to use. Ex: 80
135135
**
136136
** Return the number of errors.
137137
--- src/http_socket.c
+++ src/http_socket.c
@@ -126,11 +126,11 @@
126 }
127 }
128
129 /*
130 ** Open a socket connection. The identify of the server is determined
131 ** by global varibles that are set using url_parse():
132 **
133 ** g.urlName Name of the server. Ex: www.fossil-scm.org
134 ** g.urlPort TCP/IP port to use. Ex: 80
135 **
136 ** Return the number of errors.
137
--- src/http_socket.c
+++ src/http_socket.c
@@ -126,11 +126,11 @@
126 }
127 }
128
129 /*
130 ** Open a socket connection. The identify of the server is determined
131 ** by global variables that are set using url_parse():
132 **
133 ** g.urlName Name of the server. Ex: www.fossil-scm.org
134 ** g.urlPort TCP/IP port to use. Ex: 80
135 **
136 ** Return the number of errors.
137
+1 -1
--- src/http_ssl.c
+++ src/http_ssl.c
@@ -182,11 +182,11 @@
182182
}
183183
}
184184
185185
/*
186186
** Open an SSL connection. The identify of the server is determined
187
-** by global varibles that are set using url_parse():
187
+** by global variables that are set using url_parse():
188188
**
189189
** g.urlName Name of the server. Ex: www.fossil-scm.org
190190
** g.urlPort TCP/IP port to use. Ex: 80
191191
**
192192
** Return the number of errors.
193193
--- src/http_ssl.c
+++ src/http_ssl.c
@@ -182,11 +182,11 @@
182 }
183 }
184
185 /*
186 ** Open an SSL connection. The identify of the server is determined
187 ** by global varibles that are set using url_parse():
188 **
189 ** g.urlName Name of the server. Ex: www.fossil-scm.org
190 ** g.urlPort TCP/IP port to use. Ex: 80
191 **
192 ** Return the number of errors.
193
--- src/http_ssl.c
+++ src/http_ssl.c
@@ -182,11 +182,11 @@
182 }
183 }
184
185 /*
186 ** Open an SSL connection. The identify of the server is determined
187 ** by global variables that are set using url_parse():
188 **
189 ** g.urlName Name of the server. Ex: www.fossil-scm.org
190 ** g.urlPort TCP/IP port to use. Ex: 80
191 **
192 ** Return the number of errors.
193
--- src/http_transport.c
+++ src/http_transport.c
@@ -292,11 +292,11 @@
292292
}
293293
}
294294
295295
/*
296296
** This routine is called when the outbound message is complete and
297
-** it is time to being recieving a reply.
297
+** it is time to being receiving a reply.
298298
*/
299299
void transport_flip(void){
300300
if( g.urlIsSsh ){
301301
fprintf(sshOut, "\n\n");
302302
}else if( g.urlIsFile ){
303303
--- src/http_transport.c
+++ src/http_transport.c
@@ -292,11 +292,11 @@
292 }
293 }
294
295 /*
296 ** This routine is called when the outbound message is complete and
297 ** it is time to being recieving a reply.
298 */
299 void transport_flip(void){
300 if( g.urlIsSsh ){
301 fprintf(sshOut, "\n\n");
302 }else if( g.urlIsFile ){
303
--- src/http_transport.c
+++ src/http_transport.c
@@ -292,11 +292,11 @@
292 }
293 }
294
295 /*
296 ** This routine is called when the outbound message is complete and
297 ** it is time to being receiving a reply.
298 */
299 void transport_flip(void){
300 if( g.urlIsSsh ){
301 fprintf(sshOut, "\n\n");
302 }else if( g.urlIsFile ){
303
+7 -7
--- src/json.c
+++ src/json.c
@@ -322,11 +322,11 @@
322322
sprintf(buf+7,"%04d", code);
323323
return buf;
324324
}
325325
326326
/*
327
-** Adds v to the API-internal cleanup mechanism. key is ingored
327
+** Adds v to the API-internal cleanup mechanism. key is ignored
328328
** (legacy) but might be re-introduced and "should" be a unique
329329
** (app-wide) value. Failure to insert an item may be caused by any
330330
** of the following:
331331
**
332332
** - Allocation error.
@@ -824,11 +824,11 @@
824824
v = cson_value_new_array();
825825
g.json.gc.v = v;
826826
g.json.gc.a = cson_value_get_array(v);
827827
cson_value_add_reference(v)
828828
/* Needed to allow us to include this value in other JSON
829
- containers without transfering ownership to those containers.
829
+ containers without transferring ownership to those containers.
830830
All other persistent g.json.XXX.v values get appended to
831831
g.json.gc.a, and therefore already have a live reference
832832
for this purpose.
833833
*/
834834
;
@@ -1466,11 +1466,11 @@
14661466
** If payload is not NULL and resultCode is 0 then it is set as the
14671467
** "payload" property of the returned object. If resultCode is 0 then
14681468
** it defaults to g.json.resultCode. If resultCode is (or defaults to)
14691469
** non-zero and payload is not NULL then this function calls
14701470
** cson_value_free(payload) and does not insert the payload into the
1471
-** response. In either case, onwership of payload is transfered to (or
1471
+** response. In either case, ownership of payload is transfered to (or
14721472
** shared with, if the caller holds a reference) this function.
14731473
**
14741474
** pMsg is an optional message string property (resultText) of the
14751475
** response. If resultCode is non-0 and pMsg is NULL then
14761476
** json_err_cstr() is used to get the error string. The caller may
@@ -1537,11 +1537,11 @@
15371537
}
15381538
if(g.json.param.v){
15391539
tmp = g.json.param.v;
15401540
SET("$params");
15411541
}
1542
- if(0){/*Only for debuggering, add some info to the response.*/
1542
+ if(0){/*Only for debugging, add some info to the response.*/
15431543
tmp = cson_value_new_integer( g.json.cmd.offset );
15441544
cson_object_set( o, "cmd.offset", tmp );
15451545
cson_object_set( o, "isCGI", cson_value_new_bool( g.isHTTP ) );
15461546
}
15471547
}
@@ -1552,11 +1552,11 @@
15521552
the JSON exit paths use (and they call it after processing,
15531553
just before they end).
15541554
*/
15551555
double span;
15561556
span = END_TIMER;
1557
- /* i'm actually seeing sub-ms runtimes in some tests, but a time of
1557
+ /* I'm actually seeing sub-ms runtimes in some tests, but a time of
15581558
0 is "just wrong", so we'll bump that up to 1ms.
15591559
*/
15601560
cson_object_set(o,"procTimeMs", cson_value_new_integer((cson_int_t)((span>1.0)?span:1)));
15611561
}
15621562
if(g.json.warnings){
@@ -2184,11 +2184,11 @@
21842184
}
21852185
}
21862186
21872187
21882188
/*
2189
-** Impl of /json/rebuild. Requires admin previleges.
2189
+** Impl of /json/rebuild. Requires admin privileges.
21902190
*/
21912191
static cson_value * json_page_rebuild(){
21922192
if( !g.perm.Admin ){
21932193
json_set_err(FSL_JSON_E_DENIED,"Requires 'a' privileges.");
21942194
return NULL;
@@ -2357,11 +2357,11 @@
23572357
** in the argument dispatching code, any -FLAGS must come after the final
23582358
** sub- (or subsub-) command.
23592359
**
23602360
** The commands include:
23612361
**
2362
-** anonymousPassord
2362
+** anonymousPassword
23632363
** artifact
23642364
** branch
23652365
** cap
23662366
** config
23672367
** diff
23682368
--- src/json.c
+++ src/json.c
@@ -322,11 +322,11 @@
322 sprintf(buf+7,"%04d", code);
323 return buf;
324 }
325
326 /*
327 ** Adds v to the API-internal cleanup mechanism. key is ingored
328 ** (legacy) but might be re-introduced and "should" be a unique
329 ** (app-wide) value. Failure to insert an item may be caused by any
330 ** of the following:
331 **
332 ** - Allocation error.
@@ -824,11 +824,11 @@
824 v = cson_value_new_array();
825 g.json.gc.v = v;
826 g.json.gc.a = cson_value_get_array(v);
827 cson_value_add_reference(v)
828 /* Needed to allow us to include this value in other JSON
829 containers without transfering ownership to those containers.
830 All other persistent g.json.XXX.v values get appended to
831 g.json.gc.a, and therefore already have a live reference
832 for this purpose.
833 */
834 ;
@@ -1466,11 +1466,11 @@
1466 ** If payload is not NULL and resultCode is 0 then it is set as the
1467 ** "payload" property of the returned object. If resultCode is 0 then
1468 ** it defaults to g.json.resultCode. If resultCode is (or defaults to)
1469 ** non-zero and payload is not NULL then this function calls
1470 ** cson_value_free(payload) and does not insert the payload into the
1471 ** response. In either case, onwership of payload is transfered to (or
1472 ** shared with, if the caller holds a reference) this function.
1473 **
1474 ** pMsg is an optional message string property (resultText) of the
1475 ** response. If resultCode is non-0 and pMsg is NULL then
1476 ** json_err_cstr() is used to get the error string. The caller may
@@ -1537,11 +1537,11 @@
1537 }
1538 if(g.json.param.v){
1539 tmp = g.json.param.v;
1540 SET("$params");
1541 }
1542 if(0){/*Only for debuggering, add some info to the response.*/
1543 tmp = cson_value_new_integer( g.json.cmd.offset );
1544 cson_object_set( o, "cmd.offset", tmp );
1545 cson_object_set( o, "isCGI", cson_value_new_bool( g.isHTTP ) );
1546 }
1547 }
@@ -1552,11 +1552,11 @@
1552 the JSON exit paths use (and they call it after processing,
1553 just before they end).
1554 */
1555 double span;
1556 span = END_TIMER;
1557 /* i'm actually seeing sub-ms runtimes in some tests, but a time of
1558 0 is "just wrong", so we'll bump that up to 1ms.
1559 */
1560 cson_object_set(o,"procTimeMs", cson_value_new_integer((cson_int_t)((span>1.0)?span:1)));
1561 }
1562 if(g.json.warnings){
@@ -2184,11 +2184,11 @@
2184 }
2185 }
2186
2187
2188 /*
2189 ** Impl of /json/rebuild. Requires admin previleges.
2190 */
2191 static cson_value * json_page_rebuild(){
2192 if( !g.perm.Admin ){
2193 json_set_err(FSL_JSON_E_DENIED,"Requires 'a' privileges.");
2194 return NULL;
@@ -2357,11 +2357,11 @@
2357 ** in the argument dispatching code, any -FLAGS must come after the final
2358 ** sub- (or subsub-) command.
2359 **
2360 ** The commands include:
2361 **
2362 ** anonymousPassord
2363 ** artifact
2364 ** branch
2365 ** cap
2366 ** config
2367 ** diff
2368
--- src/json.c
+++ src/json.c
@@ -322,11 +322,11 @@
322 sprintf(buf+7,"%04d", code);
323 return buf;
324 }
325
326 /*
327 ** Adds v to the API-internal cleanup mechanism. key is ignored
328 ** (legacy) but might be re-introduced and "should" be a unique
329 ** (app-wide) value. Failure to insert an item may be caused by any
330 ** of the following:
331 **
332 ** - Allocation error.
@@ -824,11 +824,11 @@
824 v = cson_value_new_array();
825 g.json.gc.v = v;
826 g.json.gc.a = cson_value_get_array(v);
827 cson_value_add_reference(v)
828 /* Needed to allow us to include this value in other JSON
829 containers without transferring ownership to those containers.
830 All other persistent g.json.XXX.v values get appended to
831 g.json.gc.a, and therefore already have a live reference
832 for this purpose.
833 */
834 ;
@@ -1466,11 +1466,11 @@
1466 ** If payload is not NULL and resultCode is 0 then it is set as the
1467 ** "payload" property of the returned object. If resultCode is 0 then
1468 ** it defaults to g.json.resultCode. If resultCode is (or defaults to)
1469 ** non-zero and payload is not NULL then this function calls
1470 ** cson_value_free(payload) and does not insert the payload into the
1471 ** response. In either case, ownership of payload is transfered to (or
1472 ** shared with, if the caller holds a reference) this function.
1473 **
1474 ** pMsg is an optional message string property (resultText) of the
1475 ** response. If resultCode is non-0 and pMsg is NULL then
1476 ** json_err_cstr() is used to get the error string. The caller may
@@ -1537,11 +1537,11 @@
1537 }
1538 if(g.json.param.v){
1539 tmp = g.json.param.v;
1540 SET("$params");
1541 }
1542 if(0){/*Only for debugging, add some info to the response.*/
1543 tmp = cson_value_new_integer( g.json.cmd.offset );
1544 cson_object_set( o, "cmd.offset", tmp );
1545 cson_object_set( o, "isCGI", cson_value_new_bool( g.isHTTP ) );
1546 }
1547 }
@@ -1552,11 +1552,11 @@
1552 the JSON exit paths use (and they call it after processing,
1553 just before they end).
1554 */
1555 double span;
1556 span = END_TIMER;
1557 /* I'm actually seeing sub-ms runtimes in some tests, but a time of
1558 0 is "just wrong", so we'll bump that up to 1ms.
1559 */
1560 cson_object_set(o,"procTimeMs", cson_value_new_integer((cson_int_t)((span>1.0)?span:1)));
1561 }
1562 if(g.json.warnings){
@@ -2184,11 +2184,11 @@
2184 }
2185 }
2186
2187
2188 /*
2189 ** Impl of /json/rebuild. Requires admin privileges.
2190 */
2191 static cson_value * json_page_rebuild(){
2192 if( !g.perm.Admin ){
2193 json_set_err(FSL_JSON_E_DENIED,"Requires 'a' privileges.");
2194 return NULL;
@@ -2357,11 +2357,11 @@
2357 ** in the argument dispatching code, any -FLAGS must come after the final
2358 ** sub- (or subsub-) command.
2359 **
2360 ** The commands include:
2361 **
2362 ** anonymousPassword
2363 ** artifact
2364 ** branch
2365 ** cap
2366 ** config
2367 ** diff
2368
--- src/json_detail.h
+++ src/json_detail.h
@@ -117,11 +117,11 @@
117117
**
118118
** By the time the callback is called, json_page_top() (HTTP mode) or
119119
** json_cmd_top() (CLI mode) will have set up the JSON-related
120120
** environment. Implementations may generate a "result payload" of any
121121
** JSON type by returning its value from this function (ownership is
122
-** tranferred to the caller). On error they should set
122
+** transferred to the caller). On error they should set
123123
** g.json.resultCode to one of the FossilJsonCodes values and return
124124
** either their payload object or NULL. Note that NULL is a legal
125125
** success value - it simply means the response will contain no
126126
** payload. If g.json.resultCode is non-zero when this function
127127
** returns then the top-level dispatcher will destroy any payload
@@ -133,16 +133,16 @@
133133
**
134134
** a) Permissions checking (inspecting g.perm).
135135
** b) generating a response payload (if applicable)
136136
** c) Setting g.json's error state (if applicable). See json_set_err().
137137
**
138
-** It is imperitive that NO callback functions EVER output ANYTHING to
138
+** It is imperative that NO callback functions EVER output ANYTHING to
139139
** stdout, as that will effectively corrupt any JSON output, and
140140
** almost certainly will corrupt any HTTP response headers. Output
141141
** sent to stderr ends up in my apache log, so that might be useful
142
-** for debuggering in some cases, but no such code should be left
143
-** enabled for non-debuggering builds.
142
+** for debugging in some cases, but no such code should be left
143
+** enabled for non-debugging builds.
144144
*/
145145
typedef cson_value * (*fossil_json_f)();
146146
147147
/*
148148
** Holds name-to-function mappings for JSON page/command dispatching.
@@ -175,11 +175,11 @@
175175
** Which mode(s) of execution does func() support:
176176
**
177177
** <0 = CLI only, >0 = HTTP only, 0==both
178178
**
179179
** Now that we can simulate POST in CLI mode, the distinction
180
- ** between them has disappeared in most (or all) cases, so 0 is the
180
+ ** between them has disappeared in most (or all) cases, so 0 is
181181
** the standard value.
182182
**
183183
** 201207: this is not needed any more. We can get rid of it. Or
184184
** keep it around in case it becomes useful again at some point.
185185
*/
@@ -208,11 +208,11 @@
208208
** pages must be an array of JsonPageDef commands which we can
209209
** dispatch. The final item in the array MUST have a NULL name
210210
** element.
211211
**
212212
** This function takes the command specified in
213
-** json_comand_arg(1+g.json.dispatchDepth) and searches pages for a
213
+** json_command_arg(1+g.json.dispatchDepth) and searches pages for a
214214
** matching name. If found then that page's func() is called to fetch
215215
** the payload, which is returned to the caller.
216216
**
217217
** On error, g.json.resultCode is set to one of the FossilJsonCodes
218218
** values and NULL is returned. If non-NULL is returned, ownership is
@@ -251,11 +251,11 @@
251251
**
252252
** b) We are running in JSON CLI mode, but no POST data has been fed
253253
** in.
254254
**
255255
** Whether or not we need to take args from CLI or POST data makes a
256
-** difference in argument/parameter handling in many JSON rountines,
256
+** difference in argument/parameter handling in many JSON routines,
257257
** and thus this distinction.
258258
*/
259259
char fossil_has_json();
260260
261261
enum json_get_changed_files_flags {
262262
--- src/json_detail.h
+++ src/json_detail.h
@@ -117,11 +117,11 @@
117 **
118 ** By the time the callback is called, json_page_top() (HTTP mode) or
119 ** json_cmd_top() (CLI mode) will have set up the JSON-related
120 ** environment. Implementations may generate a "result payload" of any
121 ** JSON type by returning its value from this function (ownership is
122 ** tranferred to the caller). On error they should set
123 ** g.json.resultCode to one of the FossilJsonCodes values and return
124 ** either their payload object or NULL. Note that NULL is a legal
125 ** success value - it simply means the response will contain no
126 ** payload. If g.json.resultCode is non-zero when this function
127 ** returns then the top-level dispatcher will destroy any payload
@@ -133,16 +133,16 @@
133 **
134 ** a) Permissions checking (inspecting g.perm).
135 ** b) generating a response payload (if applicable)
136 ** c) Setting g.json's error state (if applicable). See json_set_err().
137 **
138 ** It is imperitive that NO callback functions EVER output ANYTHING to
139 ** stdout, as that will effectively corrupt any JSON output, and
140 ** almost certainly will corrupt any HTTP response headers. Output
141 ** sent to stderr ends up in my apache log, so that might be useful
142 ** for debuggering in some cases, but no such code should be left
143 ** enabled for non-debuggering builds.
144 */
145 typedef cson_value * (*fossil_json_f)();
146
147 /*
148 ** Holds name-to-function mappings for JSON page/command dispatching.
@@ -175,11 +175,11 @@
175 ** Which mode(s) of execution does func() support:
176 **
177 ** <0 = CLI only, >0 = HTTP only, 0==both
178 **
179 ** Now that we can simulate POST in CLI mode, the distinction
180 ** between them has disappeared in most (or all) cases, so 0 is the
181 ** the standard value.
182 **
183 ** 201207: this is not needed any more. We can get rid of it. Or
184 ** keep it around in case it becomes useful again at some point.
185 */
@@ -208,11 +208,11 @@
208 ** pages must be an array of JsonPageDef commands which we can
209 ** dispatch. The final item in the array MUST have a NULL name
210 ** element.
211 **
212 ** This function takes the command specified in
213 ** json_comand_arg(1+g.json.dispatchDepth) and searches pages for a
214 ** matching name. If found then that page's func() is called to fetch
215 ** the payload, which is returned to the caller.
216 **
217 ** On error, g.json.resultCode is set to one of the FossilJsonCodes
218 ** values and NULL is returned. If non-NULL is returned, ownership is
@@ -251,11 +251,11 @@
251 **
252 ** b) We are running in JSON CLI mode, but no POST data has been fed
253 ** in.
254 **
255 ** Whether or not we need to take args from CLI or POST data makes a
256 ** difference in argument/parameter handling in many JSON rountines,
257 ** and thus this distinction.
258 */
259 char fossil_has_json();
260
261 enum json_get_changed_files_flags {
262
--- src/json_detail.h
+++ src/json_detail.h
@@ -117,11 +117,11 @@
117 **
118 ** By the time the callback is called, json_page_top() (HTTP mode) or
119 ** json_cmd_top() (CLI mode) will have set up the JSON-related
120 ** environment. Implementations may generate a "result payload" of any
121 ** JSON type by returning its value from this function (ownership is
122 ** transferred to the caller). On error they should set
123 ** g.json.resultCode to one of the FossilJsonCodes values and return
124 ** either their payload object or NULL. Note that NULL is a legal
125 ** success value - it simply means the response will contain no
126 ** payload. If g.json.resultCode is non-zero when this function
127 ** returns then the top-level dispatcher will destroy any payload
@@ -133,16 +133,16 @@
133 **
134 ** a) Permissions checking (inspecting g.perm).
135 ** b) generating a response payload (if applicable)
136 ** c) Setting g.json's error state (if applicable). See json_set_err().
137 **
138 ** It is imperative that NO callback functions EVER output ANYTHING to
139 ** stdout, as that will effectively corrupt any JSON output, and
140 ** almost certainly will corrupt any HTTP response headers. Output
141 ** sent to stderr ends up in my apache log, so that might be useful
142 ** for debugging in some cases, but no such code should be left
143 ** enabled for non-debugging builds.
144 */
145 typedef cson_value * (*fossil_json_f)();
146
147 /*
148 ** Holds name-to-function mappings for JSON page/command dispatching.
@@ -175,11 +175,11 @@
175 ** Which mode(s) of execution does func() support:
176 **
177 ** <0 = CLI only, >0 = HTTP only, 0==both
178 **
179 ** Now that we can simulate POST in CLI mode, the distinction
180 ** between them has disappeared in most (or all) cases, so 0 is
181 ** the standard value.
182 **
183 ** 201207: this is not needed any more. We can get rid of it. Or
184 ** keep it around in case it becomes useful again at some point.
185 */
@@ -208,11 +208,11 @@
208 ** pages must be an array of JsonPageDef commands which we can
209 ** dispatch. The final item in the array MUST have a NULL name
210 ** element.
211 **
212 ** This function takes the command specified in
213 ** json_command_arg(1+g.json.dispatchDepth) and searches pages for a
214 ** matching name. If found then that page's func() is called to fetch
215 ** the payload, which is returned to the caller.
216 **
217 ** On error, g.json.resultCode is set to one of the FossilJsonCodes
218 ** values and NULL is returned. If non-NULL is returned, ownership is
@@ -251,11 +251,11 @@
251 **
252 ** b) We are running in JSON CLI mode, but no POST data has been fed
253 ** in.
254 **
255 ** Whether or not we need to take args from CLI or POST data makes a
256 ** difference in argument/parameter handling in many JSON routines,
257 ** and thus this distinction.
258 */
259 char fossil_has_json();
260
261 enum json_get_changed_files_flags {
262
--- src/json_login.c
+++ src/json_login.c
@@ -169,11 +169,11 @@
169169
170170
For non-anonymous users we could also simply query the
171171
user.cexpire db field after calling login_set_user_cookie(),
172172
but for anonymous we need to get the time when the cookie is
173173
set because anon does not get a db entry like normal users
174
- do. Anonyous cookies currently have a hard-coded lifetime in
174
+ do. Anonymous cookies currently have a hard-coded lifetime in
175175
login_set_anon_cookie() (currently 6 hours), which we "should
176176
arguably" change to use the time configured for non-anonymous
177177
users (see login_set_user_cookie() for details).
178178
*/
179179
return payload;
@@ -186,17 +186,17 @@
186186
*/
187187
cson_value * json_page_logout(){
188188
cson_value const *token = g.json.authToken;
189189
/* Remember that json_mode_bootstrap() replaces the login cookie
190190
with the JSON auth token if the request contains it. If the
191
- reqest is missing the auth token then this will fetch fossil's
191
+ request is missing the auth token then this will fetch fossil's
192192
original cookie. Either way, it's what we want :).
193193
194194
We require the auth token to avoid someone maliciously
195195
trying to log someone else out (not 100% sure if that
196196
would be possible, given fossil's hardened cookie, but
197
- i'll assume it would be for the time being).
197
+ I'll assume it would be for the time being).
198198
*/
199199
;
200200
if(!token){
201201
g.json.resultCode = FSL_JSON_E_MISSING_AUTH;
202202
}else{
203203
--- src/json_login.c
+++ src/json_login.c
@@ -169,11 +169,11 @@
169
170 For non-anonymous users we could also simply query the
171 user.cexpire db field after calling login_set_user_cookie(),
172 but for anonymous we need to get the time when the cookie is
173 set because anon does not get a db entry like normal users
174 do. Anonyous cookies currently have a hard-coded lifetime in
175 login_set_anon_cookie() (currently 6 hours), which we "should
176 arguably" change to use the time configured for non-anonymous
177 users (see login_set_user_cookie() for details).
178 */
179 return payload;
@@ -186,17 +186,17 @@
186 */
187 cson_value * json_page_logout(){
188 cson_value const *token = g.json.authToken;
189 /* Remember that json_mode_bootstrap() replaces the login cookie
190 with the JSON auth token if the request contains it. If the
191 reqest is missing the auth token then this will fetch fossil's
192 original cookie. Either way, it's what we want :).
193
194 We require the auth token to avoid someone maliciously
195 trying to log someone else out (not 100% sure if that
196 would be possible, given fossil's hardened cookie, but
197 i'll assume it would be for the time being).
198 */
199 ;
200 if(!token){
201 g.json.resultCode = FSL_JSON_E_MISSING_AUTH;
202 }else{
203
--- src/json_login.c
+++ src/json_login.c
@@ -169,11 +169,11 @@
169
170 For non-anonymous users we could also simply query the
171 user.cexpire db field after calling login_set_user_cookie(),
172 but for anonymous we need to get the time when the cookie is
173 set because anon does not get a db entry like normal users
174 do. Anonymous cookies currently have a hard-coded lifetime in
175 login_set_anon_cookie() (currently 6 hours), which we "should
176 arguably" change to use the time configured for non-anonymous
177 users (see login_set_user_cookie() for details).
178 */
179 return payload;
@@ -186,17 +186,17 @@
186 */
187 cson_value * json_page_logout(){
188 cson_value const *token = g.json.authToken;
189 /* Remember that json_mode_bootstrap() replaces the login cookie
190 with the JSON auth token if the request contains it. If the
191 request is missing the auth token then this will fetch fossil's
192 original cookie. Either way, it's what we want :).
193
194 We require the auth token to avoid someone maliciously
195 trying to log someone else out (not 100% sure if that
196 would be possible, given fossil's hardened cookie, but
197 I'll assume it would be for the time being).
198 */
199 ;
200 if(!token){
201 g.json.resultCode = FSL_JSON_E_MISSING_AUTH;
202 }else{
203
+1 -1
--- src/json_tag.c
+++ src/json_tag.c
@@ -285,11 +285,11 @@
285285
" CASE event.type"
286286
" WHEN 'ci' THEN 'checkin'"
287287
" WHEN 'w' THEN 'wiki'"
288288
" WHEN 'e' THEN 'event'"
289289
" WHEN 't' THEN 'ticket'"
290
- " ELSE 'WTF?'"
290
+ " ELSE 'unknown'"
291291
" END"
292292
" AS eventType"
293293
" FROM event, blob"
294294
" WHERE blob.rid=event.objid"
295295
;
296296
--- src/json_tag.c
+++ src/json_tag.c
@@ -285,11 +285,11 @@
285 " CASE event.type"
286 " WHEN 'ci' THEN 'checkin'"
287 " WHEN 'w' THEN 'wiki'"
288 " WHEN 'e' THEN 'event'"
289 " WHEN 't' THEN 'ticket'"
290 " ELSE 'WTF?'"
291 " END"
292 " AS eventType"
293 " FROM event, blob"
294 " WHERE blob.rid=event.objid"
295 ;
296
--- src/json_tag.c
+++ src/json_tag.c
@@ -285,11 +285,11 @@
285 " CASE event.type"
286 " WHEN 'ci' THEN 'checkin'"
287 " WHEN 'w' THEN 'wiki'"
288 " WHEN 'e' THEN 'event'"
289 " WHEN 't' THEN 'ticket'"
290 " ELSE 'unknown'"
291 " END"
292 " AS eventType"
293 " FROM event, blob"
294 " WHERE blob.rid=event.objid"
295 ;
296
--- src/json_timeline.c
+++ src/json_timeline.c
@@ -629,11 +629,11 @@
629629
cson_value * rowV;
630630
cson_object * row;
631631
/*printf("rid=%d\n",rid);*/
632632
pMan = manifest_get(rid, CFTYPE_TICKET);
633633
if(!pMan){
634
- /* this might be an attachment? i'm seeing this with
634
+ /* this might be an attachment? I'm seeing this with
635635
rid 15380, uuid [1292fef05f2472108].
636636
637637
/json/artifact/1292fef05f2472108 returns not-found,
638638
probably because we haven't added artifact/ticket
639639
yet(?).
640640
--- src/json_timeline.c
+++ src/json_timeline.c
@@ -629,11 +629,11 @@
629 cson_value * rowV;
630 cson_object * row;
631 /*printf("rid=%d\n",rid);*/
632 pMan = manifest_get(rid, CFTYPE_TICKET);
633 if(!pMan){
634 /* this might be an attachment? i'm seeing this with
635 rid 15380, uuid [1292fef05f2472108].
636
637 /json/artifact/1292fef05f2472108 returns not-found,
638 probably because we haven't added artifact/ticket
639 yet(?).
640
--- src/json_timeline.c
+++ src/json_timeline.c
@@ -629,11 +629,11 @@
629 cson_value * rowV;
630 cson_object * row;
631 /*printf("rid=%d\n",rid);*/
632 pMan = manifest_get(rid, CFTYPE_TICKET);
633 if(!pMan){
634 /* this might be an attachment? I'm seeing this with
635 rid 15380, uuid [1292fef05f2472108].
636
637 /json/artifact/1292fef05f2472108 returns not-found,
638 probably because we haven't added artifact/ticket
639 yet(?).
640
+1 -1
--- src/json_wiki.c
+++ src/json_wiki.c
@@ -210,11 +210,11 @@
210210
return json_get_wiki_page_by_name(zPageName, contentFormat);
211211
}else{
212212
int rid = symbolic_name_to_rid( zSymname ? zSymname : zPageName, "w" );
213213
if(rid<0){
214214
json_set_err(FSL_JSON_E_AMBIGUOUS_UUID,
215
- "UUID [%s] is ambiguious.", zSymname);
215
+ "UUID [%s] is ambiguous.", zSymname);
216216
return NULL;
217217
}else if(rid==0){
218218
json_set_err(FSL_JSON_E_RESOURCE_NOT_FOUND,
219219
"UUID [%s] does not resolve to a wiki page.", zSymname);
220220
return NULL;
221221
--- src/json_wiki.c
+++ src/json_wiki.c
@@ -210,11 +210,11 @@
210 return json_get_wiki_page_by_name(zPageName, contentFormat);
211 }else{
212 int rid = symbolic_name_to_rid( zSymname ? zSymname : zPageName, "w" );
213 if(rid<0){
214 json_set_err(FSL_JSON_E_AMBIGUOUS_UUID,
215 "UUID [%s] is ambiguious.", zSymname);
216 return NULL;
217 }else if(rid==0){
218 json_set_err(FSL_JSON_E_RESOURCE_NOT_FOUND,
219 "UUID [%s] does not resolve to a wiki page.", zSymname);
220 return NULL;
221
--- src/json_wiki.c
+++ src/json_wiki.c
@@ -210,11 +210,11 @@
210 return json_get_wiki_page_by_name(zPageName, contentFormat);
211 }else{
212 int rid = symbolic_name_to_rid( zSymname ? zSymname : zPageName, "w" );
213 if(rid<0){
214 json_set_err(FSL_JSON_E_AMBIGUOUS_UUID,
215 "UUID [%s] is ambiguous.", zSymname);
216 return NULL;
217 }else if(rid==0){
218 json_set_err(FSL_JSON_E_RESOURCE_NOT_FOUND,
219 "UUID [%s] does not resolve to a wiki page.", zSymname);
220 return NULL;
221
+5 -5
--- src/login.c
+++ src/login.c
@@ -354,11 +354,11 @@
354354
" cexpire=0 WHERE uid=%d"
355355
" AND login NOT IN ('anonymous','nobody',"
356356
" 'developer','reader')", g.userUid);
357357
cgi_replace_parameter(cookie, NULL)
358358
/* At the time of this writing, cgi_replace_parameter() was
359
- ** "NULL-value-safe", and i'm hoping the NULL doesn't cause any
359
+ ** "NULL-value-safe", and I'm hoping the NULL doesn't cause any
360360
** downstream problems here. We could alternately use "" here.
361361
*/
362362
;
363363
}
364364
}
@@ -467,11 +467,11 @@
467467
const char *zNew1, *zNew2;
468468
const char *zAnonPw = 0;
469469
const char *zGoto = P("g");
470470
int anonFlag;
471471
char *zErrMsg = "";
472
- int uid; /* User id loged in user */
472
+ int uid; /* User id logged in user */
473473
char *zSha1Pw;
474474
const char *zIpAddr; /* IP address of requestor */
475475
476476
login_check_credentials();
477477
sqlite3_create_function(g.db, "constant_time_cmp", 2, SQLITE_UTF8, 0,
@@ -760,11 +760,11 @@
760760
);
761761
return uid;
762762
}
763763
764764
/*
765
-** This routine examines the login cookie to see if it exists and and
765
+** This routine examines the login cookie to see if it exists and
766766
** is valid. If the login cookie checks out, it then sets global
767767
** variables appropriately. Global variables set include g.userUid
768768
** and g.zLogin and the g.perm family of permission booleans.
769769
**
770770
** If the
@@ -1160,11 +1160,11 @@
11601160
@ <input type="hidden" name="csrf" value="%s(g.zCsrfToken)" />
11611161
}
11621162
11631163
/*
11641164
** Before using the results of a form, first call this routine to verify
1165
-** that ths Anti-CSRF token is present and is valid. If the Anti-CSRF token
1165
+** that this Anti-CSRF token is present and is valid. If the Anti-CSRF token
11661166
** is missing or is incorrect, that indicates a cross-site scripting attach
11671167
** so emits an error message and abort.
11681168
*/
11691169
void login_verify_csrf_secret(void){
11701170
if( g.okCsrf ) return;
@@ -1341,11 +1341,11 @@
13411341
zSelfCode
13421342
);
13431343
while( db_step(&q)==SQLITE_ROW ){
13441344
const char *zRepoName = db_column_text(&q, 1);
13451345
if( file_size(zRepoName)<0 ){
1346
- /* Silently remove non-existant repositories from the login group. */
1346
+ /* Silently remove non-existent repositories from the login group. */
13471347
const char *zLabel = db_column_text(&q, 0);
13481348
db_multi_exec(
13491349
"DELETE FROM config WHERE name GLOB 'peer-*-%q'",
13501350
&zLabel[10]
13511351
);
13521352
--- src/login.c
+++ src/login.c
@@ -354,11 +354,11 @@
354 " cexpire=0 WHERE uid=%d"
355 " AND login NOT IN ('anonymous','nobody',"
356 " 'developer','reader')", g.userUid);
357 cgi_replace_parameter(cookie, NULL)
358 /* At the time of this writing, cgi_replace_parameter() was
359 ** "NULL-value-safe", and i'm hoping the NULL doesn't cause any
360 ** downstream problems here. We could alternately use "" here.
361 */
362 ;
363 }
364 }
@@ -467,11 +467,11 @@
467 const char *zNew1, *zNew2;
468 const char *zAnonPw = 0;
469 const char *zGoto = P("g");
470 int anonFlag;
471 char *zErrMsg = "";
472 int uid; /* User id loged in user */
473 char *zSha1Pw;
474 const char *zIpAddr; /* IP address of requestor */
475
476 login_check_credentials();
477 sqlite3_create_function(g.db, "constant_time_cmp", 2, SQLITE_UTF8, 0,
@@ -760,11 +760,11 @@
760 );
761 return uid;
762 }
763
764 /*
765 ** This routine examines the login cookie to see if it exists and and
766 ** is valid. If the login cookie checks out, it then sets global
767 ** variables appropriately. Global variables set include g.userUid
768 ** and g.zLogin and the g.perm family of permission booleans.
769 **
770 ** If the
@@ -1160,11 +1160,11 @@
1160 @ <input type="hidden" name="csrf" value="%s(g.zCsrfToken)" />
1161 }
1162
1163 /*
1164 ** Before using the results of a form, first call this routine to verify
1165 ** that ths Anti-CSRF token is present and is valid. If the Anti-CSRF token
1166 ** is missing or is incorrect, that indicates a cross-site scripting attach
1167 ** so emits an error message and abort.
1168 */
1169 void login_verify_csrf_secret(void){
1170 if( g.okCsrf ) return;
@@ -1341,11 +1341,11 @@
1341 zSelfCode
1342 );
1343 while( db_step(&q)==SQLITE_ROW ){
1344 const char *zRepoName = db_column_text(&q, 1);
1345 if( file_size(zRepoName)<0 ){
1346 /* Silently remove non-existant repositories from the login group. */
1347 const char *zLabel = db_column_text(&q, 0);
1348 db_multi_exec(
1349 "DELETE FROM config WHERE name GLOB 'peer-*-%q'",
1350 &zLabel[10]
1351 );
1352
--- src/login.c
+++ src/login.c
@@ -354,11 +354,11 @@
354 " cexpire=0 WHERE uid=%d"
355 " AND login NOT IN ('anonymous','nobody',"
356 " 'developer','reader')", g.userUid);
357 cgi_replace_parameter(cookie, NULL)
358 /* At the time of this writing, cgi_replace_parameter() was
359 ** "NULL-value-safe", and I'm hoping the NULL doesn't cause any
360 ** downstream problems here. We could alternately use "" here.
361 */
362 ;
363 }
364 }
@@ -467,11 +467,11 @@
467 const char *zNew1, *zNew2;
468 const char *zAnonPw = 0;
469 const char *zGoto = P("g");
470 int anonFlag;
471 char *zErrMsg = "";
472 int uid; /* User id logged in user */
473 char *zSha1Pw;
474 const char *zIpAddr; /* IP address of requestor */
475
476 login_check_credentials();
477 sqlite3_create_function(g.db, "constant_time_cmp", 2, SQLITE_UTF8, 0,
@@ -760,11 +760,11 @@
760 );
761 return uid;
762 }
763
764 /*
765 ** This routine examines the login cookie to see if it exists and
766 ** is valid. If the login cookie checks out, it then sets global
767 ** variables appropriately. Global variables set include g.userUid
768 ** and g.zLogin and the g.perm family of permission booleans.
769 **
770 ** If the
@@ -1160,11 +1160,11 @@
1160 @ <input type="hidden" name="csrf" value="%s(g.zCsrfToken)" />
1161 }
1162
1163 /*
1164 ** Before using the results of a form, first call this routine to verify
1165 ** that this Anti-CSRF token is present and is valid. If the Anti-CSRF token
1166 ** is missing or is incorrect, that indicates a cross-site scripting attach
1167 ** so emits an error message and abort.
1168 */
1169 void login_verify_csrf_secret(void){
1170 if( g.okCsrf ) return;
@@ -1341,11 +1341,11 @@
1341 zSelfCode
1342 );
1343 while( db_step(&q)==SQLITE_ROW ){
1344 const char *zRepoName = db_column_text(&q, 1);
1345 if( file_size(zRepoName)<0 ){
1346 /* Silently remove non-existent repositories from the login group. */
1347 const char *zLabel = db_column_text(&q, 0);
1348 db_multi_exec(
1349 "DELETE FROM config WHERE name GLOB 'peer-*-%q'",
1350 &zLabel[10]
1351 );
1352
+4 -4
--- src/main.c
+++ src/main.c
@@ -150,11 +150,11 @@
150150
int xlinkClusterOnly; /* Set when cloning. Only process clusters */
151151
int fTimeFormat; /* 1 for UTC. 2 for localtime. 0 not yet selected */
152152
int *aCommitFile; /* Array of files to be committed */
153153
int markPrivate; /* All new artifacts are private if true */
154154
int clockSkewSeen; /* True if clocks on client and server out of sync */
155
- char isHTTP; /* True if erver/CGI modes, else assume CLI. */
155
+ char isHTTP; /* True if server/CGI modes, else assume CLI. */
156156
char javascriptHyperlink; /* If true, set href= using script, not HTML */
157157
158158
int urlIsFile; /* True if a "file:" url */
159159
int urlIsHttps; /* True if a "https:" url */
160160
int urlIsSsh; /* True if an "ssh:" url */
@@ -1526,11 +1526,11 @@
15261526
** eventually have a problem/collision with this.
15271527
**
15281528
** Disabled by stephan when running in JSON mode because this
15291529
** particular parameter name is very common and i have had no end
15301530
** of grief with this handling. The JSON API never relies on the
1531
- ** handling below, and by disabling it in JSON mode i can remove
1531
+ ** handling below, and by disabling it in JSON mode I can remove
15321532
** lots of special-case handling in several JSON handlers.
15331533
*/
15341534
#ifdef FOSSIL_ENABLE_JSON
15351535
if(!g.json.isJsonMode){
15361536
#endif
@@ -1682,11 +1682,11 @@
16821682
** If there is a line of the form:
16831683
**
16841684
** redirect: * URL
16851685
**
16861686
** Then a redirect is made to URL if no match is found. Otherwise a
1687
-** very primative error message is returned.
1687
+** very primitive error message is returned.
16881688
*/
16891689
void redirect_web_page(int nRedirect, char **azRedirect){
16901690
int i; /* Loop counter */
16911691
const char *zNotFound = 0; /* Not found URL */
16921692
const char *zName = P("name");
@@ -1884,11 +1884,11 @@
18841884
** The "ui" command automatically starts a web browser after initializing
18851885
** the web server. The "ui" command also binds to 127.0.0.1 and so will
18861886
** only process HTTP traffic from the local machine.
18871887
**
18881888
** In the "server" command, the REPOSITORY can be a directory (aka folder)
1889
-** that contains one or more rspositories with names ending in ".fossil".
1889
+** that contains one or more repositories with names ending in ".fossil".
18901890
** In that case, the first element of the URL is used to select among the
18911891
** various repositories.
18921892
**
18931893
** By default, the "ui" command provides full administrative access without
18941894
** having to log in. This can be disabled by setting turning off the
18951895
--- src/main.c
+++ src/main.c
@@ -150,11 +150,11 @@
150 int xlinkClusterOnly; /* Set when cloning. Only process clusters */
151 int fTimeFormat; /* 1 for UTC. 2 for localtime. 0 not yet selected */
152 int *aCommitFile; /* Array of files to be committed */
153 int markPrivate; /* All new artifacts are private if true */
154 int clockSkewSeen; /* True if clocks on client and server out of sync */
155 char isHTTP; /* True if erver/CGI modes, else assume CLI. */
156 char javascriptHyperlink; /* If true, set href= using script, not HTML */
157
158 int urlIsFile; /* True if a "file:" url */
159 int urlIsHttps; /* True if a "https:" url */
160 int urlIsSsh; /* True if an "ssh:" url */
@@ -1526,11 +1526,11 @@
1526 ** eventually have a problem/collision with this.
1527 **
1528 ** Disabled by stephan when running in JSON mode because this
1529 ** particular parameter name is very common and i have had no end
1530 ** of grief with this handling. The JSON API never relies on the
1531 ** handling below, and by disabling it in JSON mode i can remove
1532 ** lots of special-case handling in several JSON handlers.
1533 */
1534 #ifdef FOSSIL_ENABLE_JSON
1535 if(!g.json.isJsonMode){
1536 #endif
@@ -1682,11 +1682,11 @@
1682 ** If there is a line of the form:
1683 **
1684 ** redirect: * URL
1685 **
1686 ** Then a redirect is made to URL if no match is found. Otherwise a
1687 ** very primative error message is returned.
1688 */
1689 void redirect_web_page(int nRedirect, char **azRedirect){
1690 int i; /* Loop counter */
1691 const char *zNotFound = 0; /* Not found URL */
1692 const char *zName = P("name");
@@ -1884,11 +1884,11 @@
1884 ** The "ui" command automatically starts a web browser after initializing
1885 ** the web server. The "ui" command also binds to 127.0.0.1 and so will
1886 ** only process HTTP traffic from the local machine.
1887 **
1888 ** In the "server" command, the REPOSITORY can be a directory (aka folder)
1889 ** that contains one or more rspositories with names ending in ".fossil".
1890 ** In that case, the first element of the URL is used to select among the
1891 ** various repositories.
1892 **
1893 ** By default, the "ui" command provides full administrative access without
1894 ** having to log in. This can be disabled by setting turning off the
1895
--- src/main.c
+++ src/main.c
@@ -150,11 +150,11 @@
150 int xlinkClusterOnly; /* Set when cloning. Only process clusters */
151 int fTimeFormat; /* 1 for UTC. 2 for localtime. 0 not yet selected */
152 int *aCommitFile; /* Array of files to be committed */
153 int markPrivate; /* All new artifacts are private if true */
154 int clockSkewSeen; /* True if clocks on client and server out of sync */
155 char isHTTP; /* True if server/CGI modes, else assume CLI. */
156 char javascriptHyperlink; /* If true, set href= using script, not HTML */
157
158 int urlIsFile; /* True if a "file:" url */
159 int urlIsHttps; /* True if a "https:" url */
160 int urlIsSsh; /* True if an "ssh:" url */
@@ -1526,11 +1526,11 @@
1526 ** eventually have a problem/collision with this.
1527 **
1528 ** Disabled by stephan when running in JSON mode because this
1529 ** particular parameter name is very common and i have had no end
1530 ** of grief with this handling. The JSON API never relies on the
1531 ** handling below, and by disabling it in JSON mode I can remove
1532 ** lots of special-case handling in several JSON handlers.
1533 */
1534 #ifdef FOSSIL_ENABLE_JSON
1535 if(!g.json.isJsonMode){
1536 #endif
@@ -1682,11 +1682,11 @@
1682 ** If there is a line of the form:
1683 **
1684 ** redirect: * URL
1685 **
1686 ** Then a redirect is made to URL if no match is found. Otherwise a
1687 ** very primitive error message is returned.
1688 */
1689 void redirect_web_page(int nRedirect, char **azRedirect){
1690 int i; /* Loop counter */
1691 const char *zNotFound = 0; /* Not found URL */
1692 const char *zName = P("name");
@@ -1884,11 +1884,11 @@
1884 ** The "ui" command automatically starts a web browser after initializing
1885 ** the web server. The "ui" command also binds to 127.0.0.1 and so will
1886 ** only process HTTP traffic from the local machine.
1887 **
1888 ** In the "server" command, the REPOSITORY can be a directory (aka folder)
1889 ** that contains one or more repositories with names ending in ".fossil".
1890 ** In that case, the first element of the URL is used to select among the
1891 ** various repositories.
1892 **
1893 ** By default, the "ui" command provides full administrative access without
1894 ** having to log in. This can be disabled by setting turning off the
1895
--- src/makeheaders.c
+++ src/makeheaders.c
@@ -747,11 +747,11 @@
747747
#define TT_String 6 /* String or character constants. ".." or '.' */
748748
#define TT_Braces 7 /* All text between { and a matching } */
749749
#define TT_EOF 8 /* End of file */
750750
#define TT_Error 9 /* An error condition */
751751
#define TT_BlockComment 10 /* A C-Style comment at the left margin that
752
- * spans multple lines */
752
+ * spans multiple lines */
753753
#define TT_Other 0 /* None of the above */
754754
755755
/*
756756
** Get a single low-level token from the input file. Update the
757757
** file pointer so that it points to the first character beyond the
@@ -1486,11 +1486,11 @@
14861486
** At this point, we know we have a type declaration that is bounded
14871487
** by pList and pEnd and has the name pName.
14881488
*/
14891489
14901490
/*
1491
- ** If the braces are followed immedately by a semicolon, then we are
1491
+ ** If the braces are followed immediately by a semicolon, then we are
14921492
** dealing a type declaration only. There is not variable definition
14931493
** following the type declaration. So reset...
14941494
*/
14951495
if( pEnd->pNext==0 || pEnd->pNext->zText[0]==';' ){
14961496
*pReset = ';';
@@ -1882,11 +1882,11 @@
18821882
**
18831883
** pEnd is the token that ends the object. It can be either a ';' or
18841884
** a '='. If it is '=', then assume we have a variable definition.
18851885
**
18861886
** If pEnd is ';', then the determination is more difficult. We have
1887
-** to search for an occurance of an ID followed immediately by '('.
1887
+** to search for an occurrence of an ID followed immediately by '('.
18881888
** If found, we have a prototype. Otherwise we are dealing with a
18891889
** variable definition.
18901890
*/
18911891
static int isVariableDef(Token *pFirst, Token *pEnd){
18921892
if( pEnd && pEnd->zText[0]=='=' &&
@@ -2636,11 +2636,11 @@
26362636
DeclClearProperty(p,DP_Flag);
26372637
}
26382638
}
26392639
26402640
/*
2641
- ** Call ScanText() recusively (this routine is called from ScanText())
2641
+ ** Call ScanText() recursively (this routine is called from ScanText())
26422642
** to include declarations required to come before these declarations.
26432643
*/
26442644
for(p=pDecl; p; p=p->pSameName){
26452645
if( DeclHasProperty(p,DP_Flag) ){
26462646
if( p->zDecl[0]=='#' ){
@@ -2760,11 +2760,11 @@
27602760
/* printf("END SCANTEXT\n"); */
27612761
}
27622762
27632763
/*
27642764
** Provide a full declaration to any object which so far has had only
2765
-** a foward declaration.
2765
+** a forward declaration.
27662766
*/
27672767
static void CompleteForwardDeclarations(GenState *pState){
27682768
Decl *pDecl;
27692769
int progress;
27702770
27712771
--- src/makeheaders.c
+++ src/makeheaders.c
@@ -747,11 +747,11 @@
747 #define TT_String 6 /* String or character constants. ".." or '.' */
748 #define TT_Braces 7 /* All text between { and a matching } */
749 #define TT_EOF 8 /* End of file */
750 #define TT_Error 9 /* An error condition */
751 #define TT_BlockComment 10 /* A C-Style comment at the left margin that
752 * spans multple lines */
753 #define TT_Other 0 /* None of the above */
754
755 /*
756 ** Get a single low-level token from the input file. Update the
757 ** file pointer so that it points to the first character beyond the
@@ -1486,11 +1486,11 @@
1486 ** At this point, we know we have a type declaration that is bounded
1487 ** by pList and pEnd and has the name pName.
1488 */
1489
1490 /*
1491 ** If the braces are followed immedately by a semicolon, then we are
1492 ** dealing a type declaration only. There is not variable definition
1493 ** following the type declaration. So reset...
1494 */
1495 if( pEnd->pNext==0 || pEnd->pNext->zText[0]==';' ){
1496 *pReset = ';';
@@ -1882,11 +1882,11 @@
1882 **
1883 ** pEnd is the token that ends the object. It can be either a ';' or
1884 ** a '='. If it is '=', then assume we have a variable definition.
1885 **
1886 ** If pEnd is ';', then the determination is more difficult. We have
1887 ** to search for an occurance of an ID followed immediately by '('.
1888 ** If found, we have a prototype. Otherwise we are dealing with a
1889 ** variable definition.
1890 */
1891 static int isVariableDef(Token *pFirst, Token *pEnd){
1892 if( pEnd && pEnd->zText[0]=='=' &&
@@ -2636,11 +2636,11 @@
2636 DeclClearProperty(p,DP_Flag);
2637 }
2638 }
2639
2640 /*
2641 ** Call ScanText() recusively (this routine is called from ScanText())
2642 ** to include declarations required to come before these declarations.
2643 */
2644 for(p=pDecl; p; p=p->pSameName){
2645 if( DeclHasProperty(p,DP_Flag) ){
2646 if( p->zDecl[0]=='#' ){
@@ -2760,11 +2760,11 @@
2760 /* printf("END SCANTEXT\n"); */
2761 }
2762
2763 /*
2764 ** Provide a full declaration to any object which so far has had only
2765 ** a foward declaration.
2766 */
2767 static void CompleteForwardDeclarations(GenState *pState){
2768 Decl *pDecl;
2769 int progress;
2770
2771
--- src/makeheaders.c
+++ src/makeheaders.c
@@ -747,11 +747,11 @@
747 #define TT_String 6 /* String or character constants. ".." or '.' */
748 #define TT_Braces 7 /* All text between { and a matching } */
749 #define TT_EOF 8 /* End of file */
750 #define TT_Error 9 /* An error condition */
751 #define TT_BlockComment 10 /* A C-Style comment at the left margin that
752 * spans multiple lines */
753 #define TT_Other 0 /* None of the above */
754
755 /*
756 ** Get a single low-level token from the input file. Update the
757 ** file pointer so that it points to the first character beyond the
@@ -1486,11 +1486,11 @@
1486 ** At this point, we know we have a type declaration that is bounded
1487 ** by pList and pEnd and has the name pName.
1488 */
1489
1490 /*
1491 ** If the braces are followed immediately by a semicolon, then we are
1492 ** dealing a type declaration only. There is not variable definition
1493 ** following the type declaration. So reset...
1494 */
1495 if( pEnd->pNext==0 || pEnd->pNext->zText[0]==';' ){
1496 *pReset = ';';
@@ -1882,11 +1882,11 @@
1882 **
1883 ** pEnd is the token that ends the object. It can be either a ';' or
1884 ** a '='. If it is '=', then assume we have a variable definition.
1885 **
1886 ** If pEnd is ';', then the determination is more difficult. We have
1887 ** to search for an occurrence of an ID followed immediately by '('.
1888 ** If found, we have a prototype. Otherwise we are dealing with a
1889 ** variable definition.
1890 */
1891 static int isVariableDef(Token *pFirst, Token *pEnd){
1892 if( pEnd && pEnd->zText[0]=='=' &&
@@ -2636,11 +2636,11 @@
2636 DeclClearProperty(p,DP_Flag);
2637 }
2638 }
2639
2640 /*
2641 ** Call ScanText() recursively (this routine is called from ScanText())
2642 ** to include declarations required to come before these declarations.
2643 */
2644 for(p=pDecl; p; p=p->pSameName){
2645 if( DeclHasProperty(p,DP_Flag) ){
2646 if( p->zDecl[0]=='#' ){
@@ -2760,11 +2760,11 @@
2760 /* printf("END SCANTEXT\n"); */
2761 }
2762
2763 /*
2764 ** Provide a full declaration to any object which so far has had only
2765 ** a forward declaration.
2766 */
2767 static void CompleteForwardDeclarations(GenState *pState){
2768 Decl *pDecl;
2769 int progress;
2770
2771
+4 -4
--- src/manifest.c
+++ src/manifest.c
@@ -450,11 +450,11 @@
450450
}
451451
452452
/*
453453
** B <uuid>
454454
**
455
- ** A B-line gives the UUID for the baselinen of a delta-manifest.
455
+ ** A B-line gives the UUID for the baseline of a delta-manifest.
456456
*/
457457
case 'B': {
458458
if( p->zBaseline ) SYNTAX("more than one B-card");
459459
p->zBaseline = next_token(&x, &sz);
460460
if( p->zBaseline==0 ) SYNTAX("missing UUID on B-card");
@@ -1154,11 +1154,11 @@
11541154
** the filename table if it is not there already.
11551155
*/
11561156
static void add_one_mlink(
11571157
int mid, /* The record ID of the manifest */
11581158
const char *zFromUuid, /* UUID for the mlink.pid. "" to add file */
1159
- const char *zToUuid, /* UUID for the mlink.fid. "" to delele */
1159
+ const char *zToUuid, /* UUID for the mlink.fid. "" to delete */
11601160
const char *zFilename, /* Filename */
11611161
const char *zPrior, /* Previous filename. NULL if unchanged */
11621162
int isPublic, /* True if mid is not a private manifest */
11631163
int mperm /* 1: exec, 2: symlink */
11641164
){
@@ -1341,11 +1341,11 @@
13411341
}
13421342
isPublic = !content_is_private(cid);
13431343
13441344
/* Try to make the parent manifest a delta from the child, if that
13451345
** is an appropriate thing to do. For a new baseline, make the
1346
- ** previoius baseline a delta from the current baseline.
1346
+ ** previous baseline a delta from the current baseline.
13471347
*/
13481348
if( (pParent->zBaseline==0)==(pChild->zBaseline==0) ){
13491349
content_deltify(pid, cid, 0);
13501350
}else if( pChild->zBaseline==0 && pParent->zBaseline!=0 ){
13511351
content_deltify(pParent->pBaseline->rid, cid, 0);
@@ -1734,11 +1734,11 @@
17341734
}else{
17351735
tid = rid;
17361736
}
17371737
if( tid ){
17381738
switch( p->aTag[i].zName[0] ){
1739
- case '-': type = 0; break; /* Cancel prior occurances */
1739
+ case '-': type = 0; break; /* Cancel prior occurrences */
17401740
case '+': type = 1; break; /* Apply to target only */
17411741
case '*': type = 2; break; /* Propagate to descendants */
17421742
default:
17431743
fossil_fatal("unknown tag type in manifest: %s", p->aTag);
17441744
return 0;
17451745
--- src/manifest.c
+++ src/manifest.c
@@ -450,11 +450,11 @@
450 }
451
452 /*
453 ** B <uuid>
454 **
455 ** A B-line gives the UUID for the baselinen of a delta-manifest.
456 */
457 case 'B': {
458 if( p->zBaseline ) SYNTAX("more than one B-card");
459 p->zBaseline = next_token(&x, &sz);
460 if( p->zBaseline==0 ) SYNTAX("missing UUID on B-card");
@@ -1154,11 +1154,11 @@
1154 ** the filename table if it is not there already.
1155 */
1156 static void add_one_mlink(
1157 int mid, /* The record ID of the manifest */
1158 const char *zFromUuid, /* UUID for the mlink.pid. "" to add file */
1159 const char *zToUuid, /* UUID for the mlink.fid. "" to delele */
1160 const char *zFilename, /* Filename */
1161 const char *zPrior, /* Previous filename. NULL if unchanged */
1162 int isPublic, /* True if mid is not a private manifest */
1163 int mperm /* 1: exec, 2: symlink */
1164 ){
@@ -1341,11 +1341,11 @@
1341 }
1342 isPublic = !content_is_private(cid);
1343
1344 /* Try to make the parent manifest a delta from the child, if that
1345 ** is an appropriate thing to do. For a new baseline, make the
1346 ** previoius baseline a delta from the current baseline.
1347 */
1348 if( (pParent->zBaseline==0)==(pChild->zBaseline==0) ){
1349 content_deltify(pid, cid, 0);
1350 }else if( pChild->zBaseline==0 && pParent->zBaseline!=0 ){
1351 content_deltify(pParent->pBaseline->rid, cid, 0);
@@ -1734,11 +1734,11 @@
1734 }else{
1735 tid = rid;
1736 }
1737 if( tid ){
1738 switch( p->aTag[i].zName[0] ){
1739 case '-': type = 0; break; /* Cancel prior occurances */
1740 case '+': type = 1; break; /* Apply to target only */
1741 case '*': type = 2; break; /* Propagate to descendants */
1742 default:
1743 fossil_fatal("unknown tag type in manifest: %s", p->aTag);
1744 return 0;
1745
--- src/manifest.c
+++ src/manifest.c
@@ -450,11 +450,11 @@
450 }
451
452 /*
453 ** B <uuid>
454 **
455 ** A B-line gives the UUID for the baseline of a delta-manifest.
456 */
457 case 'B': {
458 if( p->zBaseline ) SYNTAX("more than one B-card");
459 p->zBaseline = next_token(&x, &sz);
460 if( p->zBaseline==0 ) SYNTAX("missing UUID on B-card");
@@ -1154,11 +1154,11 @@
1154 ** the filename table if it is not there already.
1155 */
1156 static void add_one_mlink(
1157 int mid, /* The record ID of the manifest */
1158 const char *zFromUuid, /* UUID for the mlink.pid. "" to add file */
1159 const char *zToUuid, /* UUID for the mlink.fid. "" to delete */
1160 const char *zFilename, /* Filename */
1161 const char *zPrior, /* Previous filename. NULL if unchanged */
1162 int isPublic, /* True if mid is not a private manifest */
1163 int mperm /* 1: exec, 2: symlink */
1164 ){
@@ -1341,11 +1341,11 @@
1341 }
1342 isPublic = !content_is_private(cid);
1343
1344 /* Try to make the parent manifest a delta from the child, if that
1345 ** is an appropriate thing to do. For a new baseline, make the
1346 ** previous baseline a delta from the current baseline.
1347 */
1348 if( (pParent->zBaseline==0)==(pChild->zBaseline==0) ){
1349 content_deltify(pid, cid, 0);
1350 }else if( pChild->zBaseline==0 && pParent->zBaseline!=0 ){
1351 content_deltify(pParent->pBaseline->rid, cid, 0);
@@ -1734,11 +1734,11 @@
1734 }else{
1735 tid = rid;
1736 }
1737 if( tid ){
1738 switch( p->aTag[i].zName[0] ){
1739 case '-': type = 0; break; /* Cancel prior occurrences */
1740 case '+': type = 1; break; /* Apply to target only */
1741 case '*': type = 2; break; /* Propagate to descendants */
1742 default:
1743 fossil_fatal("unknown tag type in manifest: %s", p->aTag);
1744 return 0;
1745
+1 -1
--- src/md5.c
+++ src/md5.c
@@ -366,11 +366,11 @@
366366
}
367367
368368
369369
/*
370370
** Compute the MD5 checksum of a file on disk. Store the resulting
371
-** checksum in the blob pCksum. pCksum is assumed to be ininitialized.
371
+** checksum in the blob pCksum. pCksum is assumed to be initialized.
372372
**
373373
** Return the number of errors.
374374
*/
375375
int md5sum_file(const char *zFilename, Blob *pCksum){
376376
FILE *in;
377377
--- src/md5.c
+++ src/md5.c
@@ -366,11 +366,11 @@
366 }
367
368
369 /*
370 ** Compute the MD5 checksum of a file on disk. Store the resulting
371 ** checksum in the blob pCksum. pCksum is assumed to be ininitialized.
372 **
373 ** Return the number of errors.
374 */
375 int md5sum_file(const char *zFilename, Blob *pCksum){
376 FILE *in;
377
--- src/md5.c
+++ src/md5.c
@@ -366,11 +366,11 @@
366 }
367
368
369 /*
370 ** Compute the MD5 checksum of a file on disk. Store the resulting
371 ** checksum in the blob pCksum. pCksum is assumed to be initialized.
372 **
373 ** Return the number of errors.
374 */
375 int md5sum_file(const char *zFilename, Blob *pCksum){
376 FILE *in;
377
+1 -1
--- src/merge3.c
+++ src/merge3.c
@@ -83,11 +83,11 @@
8383
**
8484
** (0) The number of lines to copy
8585
** (1) The number of lines to delete
8686
** (2) The number of liens to insert
8787
**
88
-** Suppose we want to advance over sz lines of the originl file. This routine
88
+** Suppose we want to advance over sz lines of the original file. This routine
8989
** returns true if that advance would land us on a copy operation. It
9090
** returns false if the advance would end on a delete.
9191
*/
9292
static int ends_at_CPY(int *aC, int sz){
9393
while( sz>0 && (aC[0]>0 || aC[1]>0 || aC[2]>0) ){
9494
--- src/merge3.c
+++ src/merge3.c
@@ -83,11 +83,11 @@
83 **
84 ** (0) The number of lines to copy
85 ** (1) The number of lines to delete
86 ** (2) The number of liens to insert
87 **
88 ** Suppose we want to advance over sz lines of the originl file. This routine
89 ** returns true if that advance would land us on a copy operation. It
90 ** returns false if the advance would end on a delete.
91 */
92 static int ends_at_CPY(int *aC, int sz){
93 while( sz>0 && (aC[0]>0 || aC[1]>0 || aC[2]>0) ){
94
--- src/merge3.c
+++ src/merge3.c
@@ -83,11 +83,11 @@
83 **
84 ** (0) The number of lines to copy
85 ** (1) The number of lines to delete
86 ** (2) The number of liens to insert
87 **
88 ** Suppose we want to advance over sz lines of the original file. This routine
89 ** returns true if that advance would land us on a copy operation. It
90 ** returns false if the advance would end on a delete.
91 */
92 static int ends_at_CPY(int *aC, int sz){
93 while( sz>0 && (aC[0]>0 || aC[1]>0 || aC[2]>0) ){
94
+1 -1
--- src/mkindex.c
+++ src/mkindex.c
@@ -46,11 +46,11 @@
4646
** understood to be help text for the command specified. This help
4747
** text is accumulated and a table containing the text for each command
4848
** is generated. That table is used implement the "fossil help" command
4949
** and the "/help" HTTP method.
5050
**
51
-** Multiple occurrances of WEBPAGE: or COMMAND: (but not both) can appear
51
+** Multiple occurrences of WEBPAGE: or COMMAND: (but not both) can appear
5252
** before each function name. In this way, webpages and commands can
5353
** have aliases.
5454
*/
5555
#include <stdio.h>
5656
#include <stdlib.h>
5757
--- src/mkindex.c
+++ src/mkindex.c
@@ -46,11 +46,11 @@
46 ** understood to be help text for the command specified. This help
47 ** text is accumulated and a table containing the text for each command
48 ** is generated. That table is used implement the "fossil help" command
49 ** and the "/help" HTTP method.
50 **
51 ** Multiple occurrances of WEBPAGE: or COMMAND: (but not both) can appear
52 ** before each function name. In this way, webpages and commands can
53 ** have aliases.
54 */
55 #include <stdio.h>
56 #include <stdlib.h>
57
--- src/mkindex.c
+++ src/mkindex.c
@@ -46,11 +46,11 @@
46 ** understood to be help text for the command specified. This help
47 ** text is accumulated and a table containing the text for each command
48 ** is generated. That table is used implement the "fossil help" command
49 ** and the "/help" HTTP method.
50 **
51 ** Multiple occurrences of WEBPAGE: or COMMAND: (but not both) can appear
52 ** before each function name. In this way, webpages and commands can
53 ** have aliases.
54 */
55 #include <stdio.h>
56 #include <stdlib.h>
57
+2 -2
--- src/name.c
+++ src/name.c
@@ -62,11 +62,11 @@
6262
** * "current"
6363
** * "prev" or "previous"
6464
** * "next"
6565
**
6666
** Return the RID of the matching artifact. Or return 0 if the name does not
67
-** match any known object. Or return -1 if the name is ambiguious.
67
+** match any known object. Or return -1 if the name is ambiguous.
6868
**
6969
** The zType parameter specifies the type of artifact: ci, t, w, e, g.
7070
** If zType is NULL or "" or "*" then any type of artifact will serve.
7171
** zType is "ci" in most use cases since we are usually searching for
7272
** a check-in.
@@ -377,11 +377,11 @@
377377
378378
/*
379379
** WEBPAGE: ambiguous
380380
** URL: /ambiguous?name=UUID&src=WEBPAGE
381381
**
382
-** The UUID given by the name paramager is ambiguous. Display a page
382
+** The UUID given by the name parameter is ambiguous. Display a page
383383
** that shows all possible choices and let the user select between them.
384384
*/
385385
void ambiguous_page(void){
386386
Stmt q;
387387
const char *zName = P("name");
388388
--- src/name.c
+++ src/name.c
@@ -62,11 +62,11 @@
62 ** * "current"
63 ** * "prev" or "previous"
64 ** * "next"
65 **
66 ** Return the RID of the matching artifact. Or return 0 if the name does not
67 ** match any known object. Or return -1 if the name is ambiguious.
68 **
69 ** The zType parameter specifies the type of artifact: ci, t, w, e, g.
70 ** If zType is NULL or "" or "*" then any type of artifact will serve.
71 ** zType is "ci" in most use cases since we are usually searching for
72 ** a check-in.
@@ -377,11 +377,11 @@
377
378 /*
379 ** WEBPAGE: ambiguous
380 ** URL: /ambiguous?name=UUID&src=WEBPAGE
381 **
382 ** The UUID given by the name paramager is ambiguous. Display a page
383 ** that shows all possible choices and let the user select between them.
384 */
385 void ambiguous_page(void){
386 Stmt q;
387 const char *zName = P("name");
388
--- src/name.c
+++ src/name.c
@@ -62,11 +62,11 @@
62 ** * "current"
63 ** * "prev" or "previous"
64 ** * "next"
65 **
66 ** Return the RID of the matching artifact. Or return 0 if the name does not
67 ** match any known object. Or return -1 if the name is ambiguous.
68 **
69 ** The zType parameter specifies the type of artifact: ci, t, w, e, g.
70 ** If zType is NULL or "" or "*" then any type of artifact will serve.
71 ** zType is "ci" in most use cases since we are usually searching for
72 ** a check-in.
@@ -377,11 +377,11 @@
377
378 /*
379 ** WEBPAGE: ambiguous
380 ** URL: /ambiguous?name=UUID&src=WEBPAGE
381 **
382 ** The UUID given by the name parameter is ambiguous. Display a page
383 ** that shows all possible choices and let the user select between them.
384 */
385 void ambiguous_page(void){
386 Stmt q;
387 const char *zName = P("name");
388
+1 -1
--- src/printf.c
+++ src/printf.c
@@ -24,11 +24,11 @@
2424
** Conversion types fall into various categories as defined by the
2525
** following enumeration.
2626
*/
2727
#define etRADIX 1 /* Integer types. %d, %x, %o, and so forth */
2828
#define etFLOAT 2 /* Floating point. %f */
29
-#define etEXP 3 /* Exponentional notation. %e and %E */
29
+#define etEXP 3 /* Exponential notation. %e and %E */
3030
#define etGENERIC 4 /* Floating or exponential, depending on exponent. %g */
3131
#define etSIZE 5 /* Return number of characters processed so far. %n */
3232
#define etSTRING 6 /* Strings. %s */
3333
#define etDYNSTRING 7 /* Dynamically allocated strings. %z */
3434
#define etPERCENT 8 /* Percent symbol. %% */
3535
--- src/printf.c
+++ src/printf.c
@@ -24,11 +24,11 @@
24 ** Conversion types fall into various categories as defined by the
25 ** following enumeration.
26 */
27 #define etRADIX 1 /* Integer types. %d, %x, %o, and so forth */
28 #define etFLOAT 2 /* Floating point. %f */
29 #define etEXP 3 /* Exponentional notation. %e and %E */
30 #define etGENERIC 4 /* Floating or exponential, depending on exponent. %g */
31 #define etSIZE 5 /* Return number of characters processed so far. %n */
32 #define etSTRING 6 /* Strings. %s */
33 #define etDYNSTRING 7 /* Dynamically allocated strings. %z */
34 #define etPERCENT 8 /* Percent symbol. %% */
35
--- src/printf.c
+++ src/printf.c
@@ -24,11 +24,11 @@
24 ** Conversion types fall into various categories as defined by the
25 ** following enumeration.
26 */
27 #define etRADIX 1 /* Integer types. %d, %x, %o, and so forth */
28 #define etFLOAT 2 /* Floating point. %f */
29 #define etEXP 3 /* Exponential notation. %e and %E */
30 #define etGENERIC 4 /* Floating or exponential, depending on exponent. %g */
31 #define etSIZE 5 /* Return number of characters processed so far. %n */
32 #define etSTRING 6 /* Strings. %s */
33 #define etDYNSTRING 7 /* Dynamically allocated strings. %z */
34 #define etPERCENT 8 /* Percent symbol. %% */
35
+4 -4
--- src/rebuild.c
+++ src/rebuild.c
@@ -205,11 +205,11 @@
205205
**
206206
** If the zFNameFormat variable is set, then this routine is
207207
** called to run "fossil deconstruct" instead of the usual
208208
** "fossil rebuild". In that case, instead of rebuilding the
209209
** cross-referencing information, write the file content out
210
-** to the approriate directory.
210
+** to the appropriate directory.
211211
**
212212
** In both cases, this routine automatically recurses to process
213213
** other artifacts that are deltas off of the current artifact.
214214
** This is the most efficient way to extract all of the original
215215
** artifact content from the Fossil repository.
@@ -317,11 +317,11 @@
317317
tag_add_artifact("sym-", "trunk", zUuid, 0, 2, 0, 0);
318318
tag_add_artifact("", "branch", zUuid, "trunk", 2, 0, 0);
319319
}
320320
321321
/*
322
-** Core function to rebuild the infomration in the derived tables of a
322
+** Core function to rebuild the information in the derived tables of a
323323
** fossil repository from the blobs. This function is shared between
324324
** 'rebuild_database' ('rebuild') and 'reconstruct_cmd'
325325
** ('reconstruct'), both of which have to regenerate this information
326326
** from scratch.
327327
**
@@ -952,11 +952,11 @@
952952
prefixLength = 2;
953953
}else{
954954
if( zPrefixOpt[0]>='0' && zPrefixOpt[0]<='9' && !zPrefixOpt[1] ){
955955
prefixLength = (int)(*zPrefixOpt-'0');
956956
}else{
957
- fossil_fatal("N(%s) is not a a valid prefix length!",zPrefixOpt);
957
+ fossil_fatal("N(%s) is not a valid prefix length!",zPrefixOpt);
958958
}
959959
}
960960
/* open repository and open query for all artifacts */
961961
db_find_and_open_repository(OPEN_ANY_SCHEMA, 0);
962962
privateFlag = find_option("private",0,0)!=0;
@@ -974,11 +974,11 @@
974974
if( file_access(zDestDir, W_OK) ){
975975
fossil_fatal("DESTINATION(%s) is not writeable!",zDestDir);
976976
}
977977
#else
978978
/* write access on windows is not checked, errors will be
979
- ** dected on blob_write_to_file
979
+ ** detected on blob_write_to_file
980980
*/
981981
#endif
982982
if( prefixLength ){
983983
zFNameFormat = mprintf("%s/%%.%ds/%%s",zDestDir,prefixLength);
984984
}else{
985985
--- src/rebuild.c
+++ src/rebuild.c
@@ -205,11 +205,11 @@
205 **
206 ** If the zFNameFormat variable is set, then this routine is
207 ** called to run "fossil deconstruct" instead of the usual
208 ** "fossil rebuild". In that case, instead of rebuilding the
209 ** cross-referencing information, write the file content out
210 ** to the approriate directory.
211 **
212 ** In both cases, this routine automatically recurses to process
213 ** other artifacts that are deltas off of the current artifact.
214 ** This is the most efficient way to extract all of the original
215 ** artifact content from the Fossil repository.
@@ -317,11 +317,11 @@
317 tag_add_artifact("sym-", "trunk", zUuid, 0, 2, 0, 0);
318 tag_add_artifact("", "branch", zUuid, "trunk", 2, 0, 0);
319 }
320
321 /*
322 ** Core function to rebuild the infomration in the derived tables of a
323 ** fossil repository from the blobs. This function is shared between
324 ** 'rebuild_database' ('rebuild') and 'reconstruct_cmd'
325 ** ('reconstruct'), both of which have to regenerate this information
326 ** from scratch.
327 **
@@ -952,11 +952,11 @@
952 prefixLength = 2;
953 }else{
954 if( zPrefixOpt[0]>='0' && zPrefixOpt[0]<='9' && !zPrefixOpt[1] ){
955 prefixLength = (int)(*zPrefixOpt-'0');
956 }else{
957 fossil_fatal("N(%s) is not a a valid prefix length!",zPrefixOpt);
958 }
959 }
960 /* open repository and open query for all artifacts */
961 db_find_and_open_repository(OPEN_ANY_SCHEMA, 0);
962 privateFlag = find_option("private",0,0)!=0;
@@ -974,11 +974,11 @@
974 if( file_access(zDestDir, W_OK) ){
975 fossil_fatal("DESTINATION(%s) is not writeable!",zDestDir);
976 }
977 #else
978 /* write access on windows is not checked, errors will be
979 ** dected on blob_write_to_file
980 */
981 #endif
982 if( prefixLength ){
983 zFNameFormat = mprintf("%s/%%.%ds/%%s",zDestDir,prefixLength);
984 }else{
985
--- src/rebuild.c
+++ src/rebuild.c
@@ -205,11 +205,11 @@
205 **
206 ** If the zFNameFormat variable is set, then this routine is
207 ** called to run "fossil deconstruct" instead of the usual
208 ** "fossil rebuild". In that case, instead of rebuilding the
209 ** cross-referencing information, write the file content out
210 ** to the appropriate directory.
211 **
212 ** In both cases, this routine automatically recurses to process
213 ** other artifacts that are deltas off of the current artifact.
214 ** This is the most efficient way to extract all of the original
215 ** artifact content from the Fossil repository.
@@ -317,11 +317,11 @@
317 tag_add_artifact("sym-", "trunk", zUuid, 0, 2, 0, 0);
318 tag_add_artifact("", "branch", zUuid, "trunk", 2, 0, 0);
319 }
320
321 /*
322 ** Core function to rebuild the information in the derived tables of a
323 ** fossil repository from the blobs. This function is shared between
324 ** 'rebuild_database' ('rebuild') and 'reconstruct_cmd'
325 ** ('reconstruct'), both of which have to regenerate this information
326 ** from scratch.
327 **
@@ -952,11 +952,11 @@
952 prefixLength = 2;
953 }else{
954 if( zPrefixOpt[0]>='0' && zPrefixOpt[0]<='9' && !zPrefixOpt[1] ){
955 prefixLength = (int)(*zPrefixOpt-'0');
956 }else{
957 fossil_fatal("N(%s) is not a valid prefix length!",zPrefixOpt);
958 }
959 }
960 /* open repository and open query for all artifacts */
961 db_find_and_open_repository(OPEN_ANY_SCHEMA, 0);
962 privateFlag = find_option("private",0,0)!=0;
@@ -974,11 +974,11 @@
974 if( file_access(zDestDir, W_OK) ){
975 fossil_fatal("DESTINATION(%s) is not writeable!",zDestDir);
976 }
977 #else
978 /* write access on windows is not checked, errors will be
979 ** detected on blob_write_to_file
980 */
981 #endif
982 if( prefixLength ){
983 zFNameFormat = mprintf("%s/%%.%ds/%%s",zDestDir,prefixLength);
984 }else{
985
+2 -2
--- src/report.c
+++ src/report.c
@@ -118,11 +118,11 @@
118118
return "";
119119
}
120120
121121
/*
122122
** Remove blank lines from the beginning of a string and
123
-** all whitespace from the end. Removes whitespace preceeding a NL,
123
+** all whitespace from the end. Removes whitespace preceding a NL,
124124
** which also converts any CRNL sequence into a single NL.
125125
*/
126126
char *remove_blank_lines(const char *zOrig){
127127
int i, j, n;
128128
char *z;
@@ -1092,11 +1092,11 @@
10921092
return 0;
10931093
}
10941094
10951095
/*
10961096
** Generate a report. The rn query parameter is the report number.
1097
-** The output is written to stdout as flat file. The zFilter paramater
1097
+** The output is written to stdout as flat file. The zFilter parameter
10981098
** is a full WHERE-condition.
10991099
*/
11001100
void rptshow(
11011101
const char *zRep,
11021102
const char *zSepIn,
11031103
--- src/report.c
+++ src/report.c
@@ -118,11 +118,11 @@
118 return "";
119 }
120
121 /*
122 ** Remove blank lines from the beginning of a string and
123 ** all whitespace from the end. Removes whitespace preceeding a NL,
124 ** which also converts any CRNL sequence into a single NL.
125 */
126 char *remove_blank_lines(const char *zOrig){
127 int i, j, n;
128 char *z;
@@ -1092,11 +1092,11 @@
1092 return 0;
1093 }
1094
1095 /*
1096 ** Generate a report. The rn query parameter is the report number.
1097 ** The output is written to stdout as flat file. The zFilter paramater
1098 ** is a full WHERE-condition.
1099 */
1100 void rptshow(
1101 const char *zRep,
1102 const char *zSepIn,
1103
--- src/report.c
+++ src/report.c
@@ -118,11 +118,11 @@
118 return "";
119 }
120
121 /*
122 ** Remove blank lines from the beginning of a string and
123 ** all whitespace from the end. Removes whitespace preceding a NL,
124 ** which also converts any CRNL sequence into a single NL.
125 */
126 char *remove_blank_lines(const char *zOrig){
127 int i, j, n;
128 char *z;
@@ -1092,11 +1092,11 @@
1092 return 0;
1093 }
1094
1095 /*
1096 ** Generate a report. The rn query parameter is the report number.
1097 ** The output is written to stdout as flat file. The zFilter parameter
1098 ** is a full WHERE-condition.
1099 */
1100 void rptshow(
1101 const char *zRep,
1102 const char *zSepIn,
1103
+1 -1
--- src/search.c
+++ src/search.c
@@ -93,11 +93,11 @@
9393
/*
9494
** Compare a search pattern against an input string and return a score.
9595
**
9696
** Scoring:
9797
** * All terms must match at least once or the score is zero
98
-** * 10 bonus points if the first occurrance is an exact match
98
+** * 10 bonus points if the first occurrence is an exact match
9999
** * 1 additional point for each subsequent match of the same word
100100
** * Extra points of two consecutive words of the pattern are consecutive
101101
** in the document
102102
*/
103103
int search_score(Search *p, const char *zDoc){
104104
--- src/search.c
+++ src/search.c
@@ -93,11 +93,11 @@
93 /*
94 ** Compare a search pattern against an input string and return a score.
95 **
96 ** Scoring:
97 ** * All terms must match at least once or the score is zero
98 ** * 10 bonus points if the first occurrance is an exact match
99 ** * 1 additional point for each subsequent match of the same word
100 ** * Extra points of two consecutive words of the pattern are consecutive
101 ** in the document
102 */
103 int search_score(Search *p, const char *zDoc){
104
--- src/search.c
+++ src/search.c
@@ -93,11 +93,11 @@
93 /*
94 ** Compare a search pattern against an input string and return a score.
95 **
96 ** Scoring:
97 ** * All terms must match at least once or the score is zero
98 ** * 10 bonus points if the first occurrence is an exact match
99 ** * 1 additional point for each subsequent match of the same word
100 ** * Extra points of two consecutive words of the pattern are consecutive
101 ** in the document
102 */
103 int search_score(Search *p, const char *zDoc){
104
+1 -1
--- src/setup.c
+++ src/setup.c
@@ -309,11 +309,11 @@
309309
/* user doing the editing is ADMIN. Disallow editing */
310310
char *inherit[128];
311311
int a[128];
312312
char *oa[128];
313313
314
- /* Must have ADMIN privleges to access this page
314
+ /* Must have ADMIN privileges to access this page
315315
*/
316316
login_check_credentials();
317317
if( !g.perm.Admin ){ login_needed(); return; }
318318
319319
/* Check to see if an ADMIN user is trying to edit a SETUP account.
320320
--- src/setup.c
+++ src/setup.c
@@ -309,11 +309,11 @@
309 /* user doing the editing is ADMIN. Disallow editing */
310 char *inherit[128];
311 int a[128];
312 char *oa[128];
313
314 /* Must have ADMIN privleges to access this page
315 */
316 login_check_credentials();
317 if( !g.perm.Admin ){ login_needed(); return; }
318
319 /* Check to see if an ADMIN user is trying to edit a SETUP account.
320
--- src/setup.c
+++ src/setup.c
@@ -309,11 +309,11 @@
309 /* user doing the editing is ADMIN. Disallow editing */
310 char *inherit[128];
311 int a[128];
312 char *oa[128];
313
314 /* Must have ADMIN privileges to access this page
315 */
316 login_check_credentials();
317 if( !g.perm.Admin ){ login_needed(); return; }
318
319 /* Check to see if an ADMIN user is trying to edit a SETUP account.
320
+1 -1
--- src/sha1.c
+++ src/sha1.c
@@ -271,11 +271,11 @@
271271
}
272272
273273
274274
/*
275275
** Compute the SHA1 checksum of a file on disk. Store the resulting
276
-** checksum in the blob pCksum. pCksum is assumed to be ininitialized.
276
+** checksum in the blob pCksum. pCksum is assumed to be initialized.
277277
**
278278
** Return the number of errors.
279279
*/
280280
int sha1sum_file(const char *zFilename, Blob *pCksum){
281281
FILE *in;
282282
--- src/sha1.c
+++ src/sha1.c
@@ -271,11 +271,11 @@
271 }
272
273
274 /*
275 ** Compute the SHA1 checksum of a file on disk. Store the resulting
276 ** checksum in the blob pCksum. pCksum is assumed to be ininitialized.
277 **
278 ** Return the number of errors.
279 */
280 int sha1sum_file(const char *zFilename, Blob *pCksum){
281 FILE *in;
282
--- src/sha1.c
+++ src/sha1.c
@@ -271,11 +271,11 @@
271 }
272
273
274 /*
275 ** Compute the SHA1 checksum of a file on disk. Store the resulting
276 ** checksum in the blob pCksum. pCksum is assumed to be initialized.
277 **
278 ** Return the number of errors.
279 */
280 int sha1sum_file(const char *zFilename, Blob *pCksum){
281 FILE *in;
282
+2 -2
--- src/shell.c
+++ src/shell.c
@@ -304,11 +304,11 @@
304304
}
305305
306306
/*
307307
** A global char* and an SQL function to access its current value
308308
** from within an SQL statement. This program used to use the
309
-** sqlite_exec_printf() API to substitue a string into an SQL statement.
309
+** sqlite_exec_printf() API to substitute a string into an SQL statement.
310310
** The correct way to do this with sqlite3 is to use the bind API, but
311311
** since the shell is built around the callback paradigm it would be a lot
312312
** of work. Instead just use this hack, which is quite harmless.
313313
*/
314314
static const char *zShellStatic = 0;
@@ -1148,11 +1148,11 @@
11481148
zSql = zLeftover;
11491149
while( IsSpace(zSql[0]) ) zSql++;
11501150
continue;
11511151
}
11521152
1153
- /* save off the prepared statment handle and reset row count */
1153
+ /* save off the prepared statement handle and reset row count */
11541154
if( pArg ){
11551155
pArg->pStmt = pStmt;
11561156
pArg->cnt = 0;
11571157
}
11581158
11591159
--- src/shell.c
+++ src/shell.c
@@ -304,11 +304,11 @@
304 }
305
306 /*
307 ** A global char* and an SQL function to access its current value
308 ** from within an SQL statement. This program used to use the
309 ** sqlite_exec_printf() API to substitue a string into an SQL statement.
310 ** The correct way to do this with sqlite3 is to use the bind API, but
311 ** since the shell is built around the callback paradigm it would be a lot
312 ** of work. Instead just use this hack, which is quite harmless.
313 */
314 static const char *zShellStatic = 0;
@@ -1148,11 +1148,11 @@
1148 zSql = zLeftover;
1149 while( IsSpace(zSql[0]) ) zSql++;
1150 continue;
1151 }
1152
1153 /* save off the prepared statment handle and reset row count */
1154 if( pArg ){
1155 pArg->pStmt = pStmt;
1156 pArg->cnt = 0;
1157 }
1158
1159
--- src/shell.c
+++ src/shell.c
@@ -304,11 +304,11 @@
304 }
305
306 /*
307 ** A global char* and an SQL function to access its current value
308 ** from within an SQL statement. This program used to use the
309 ** sqlite_exec_printf() API to substitute a string into an SQL statement.
310 ** The correct way to do this with sqlite3 is to use the bind API, but
311 ** since the shell is built around the callback paradigm it would be a lot
312 ** of work. Instead just use this hack, which is quite harmless.
313 */
314 static const char *zShellStatic = 0;
@@ -1148,11 +1148,11 @@
1148 zSql = zLeftover;
1149 while( IsSpace(zSql[0]) ) zSql++;
1150 continue;
1151 }
1152
1153 /* save off the prepared statement handle and reset row count */
1154 if( pArg ){
1155 pArg->pStmt = pStmt;
1156 pArg->cnt = 0;
1157 }
1158
1159
+1 -1
--- src/sqlcmd.c
+++ src/sqlcmd.c
@@ -103,11 +103,11 @@
103103
sqlite3_result_error(context, "input is not zlib compressed", -1);
104104
}
105105
}
106106
107107
/*
108
-** This is the "automatic extensionn" initializer that runs right after
108
+** This is the "automatic extension" initializer that runs right after
109109
** the connection to the repository database is opened. Set up the
110110
** database connection to be more useful to the human operator.
111111
*/
112112
static int sqlcmd_autoinit(
113113
sqlite3 *db,
114114
--- src/sqlcmd.c
+++ src/sqlcmd.c
@@ -103,11 +103,11 @@
103 sqlite3_result_error(context, "input is not zlib compressed", -1);
104 }
105 }
106
107 /*
108 ** This is the "automatic extensionn" initializer that runs right after
109 ** the connection to the repository database is opened. Set up the
110 ** database connection to be more useful to the human operator.
111 */
112 static int sqlcmd_autoinit(
113 sqlite3 *db,
114
--- src/sqlcmd.c
+++ src/sqlcmd.c
@@ -103,11 +103,11 @@
103 sqlite3_result_error(context, "input is not zlib compressed", -1);
104 }
105 }
106
107 /*
108 ** This is the "automatic extension" initializer that runs right after
109 ** the connection to the repository database is opened. Set up the
110 ** database connection to be more useful to the human operator.
111 */
112 static int sqlcmd_autoinit(
113 sqlite3 *db,
114
+3 -3
--- src/style.c
+++ src/style.c
@@ -700,11 +700,11 @@
700700
{ "span.note",
701701
"format for leading text for notes",
702702
@ font-weight: bold;
703703
},
704704
{ "span.textareaLabel",
705
- "format for textare labels",
705
+ "format for textarea labels",
706706
@ font-weight: bold;
707707
},
708708
{ "table.usetupLayoutTable",
709709
"format for the user setup layout table",
710710
@ outline-style: none;
@@ -800,11 +800,11 @@
800800
@ color: blue;
801801
@ background-color: #d5d5ff;
802802
@ border: 1px blue solid;
803803
},
804804
{ "p.missingPriv",
805
- "format for missing priviliges note on user setup page",
805
+ "format for missing privileges note on user setup page",
806806
@ color: blue;
807807
},
808808
{ "span.wikiruleHead",
809809
"format for leading text in wikirules definitions",
810810
@ font-weight: bold;
@@ -934,11 +934,11 @@
934934
{ "span.diffln",
935935
"line numbers in a diff",
936936
@ color: #a0a0a0;
937937
},
938938
{ "span.modpending",
939
- "Moderation Pending message on timelin",
939
+ "Moderation Pending message on timeline",
940940
@ color: #b03800;
941941
@ font-style: italic;
942942
},
943943
{ 0,
944944
0,
945945
--- src/style.c
+++ src/style.c
@@ -700,11 +700,11 @@
700 { "span.note",
701 "format for leading text for notes",
702 @ font-weight: bold;
703 },
704 { "span.textareaLabel",
705 "format for textare labels",
706 @ font-weight: bold;
707 },
708 { "table.usetupLayoutTable",
709 "format for the user setup layout table",
710 @ outline-style: none;
@@ -800,11 +800,11 @@
800 @ color: blue;
801 @ background-color: #d5d5ff;
802 @ border: 1px blue solid;
803 },
804 { "p.missingPriv",
805 "format for missing priviliges note on user setup page",
806 @ color: blue;
807 },
808 { "span.wikiruleHead",
809 "format for leading text in wikirules definitions",
810 @ font-weight: bold;
@@ -934,11 +934,11 @@
934 { "span.diffln",
935 "line numbers in a diff",
936 @ color: #a0a0a0;
937 },
938 { "span.modpending",
939 "Moderation Pending message on timelin",
940 @ color: #b03800;
941 @ font-style: italic;
942 },
943 { 0,
944 0,
945
--- src/style.c
+++ src/style.c
@@ -700,11 +700,11 @@
700 { "span.note",
701 "format for leading text for notes",
702 @ font-weight: bold;
703 },
704 { "span.textareaLabel",
705 "format for textarea labels",
706 @ font-weight: bold;
707 },
708 { "table.usetupLayoutTable",
709 "format for the user setup layout table",
710 @ outline-style: none;
@@ -800,11 +800,11 @@
800 @ color: blue;
801 @ background-color: #d5d5ff;
802 @ border: 1px blue solid;
803 },
804 { "p.missingPriv",
805 "format for missing privileges note on user setup page",
806 @ color: blue;
807 },
808 { "span.wikiruleHead",
809 "format for leading text in wikirules definitions",
810 @ font-weight: bold;
@@ -934,11 +934,11 @@
934 { "span.diffln",
935 "line numbers in a diff",
936 @ color: #a0a0a0;
937 },
938 { "span.modpending",
939 "Moderation Pending message on timeline",
940 @ color: #b03800;
941 @ font-style: italic;
942 },
943 { 0,
944 0,
945
+1 -1
--- src/tag.c
+++ src/tag.c
@@ -341,11 +341,11 @@
341341
** %fossil tag add ?--raw? ?--propagate? TAGNAME CHECK-IN ?VALUE?
342342
**
343343
** Add a new tag or property to CHECK-IN. The tag will
344344
** be usable instead of a CHECK-IN in commands such as
345345
** update and merge. If the --propagate flag is present,
346
-** the tag value propages to all descendants of CHECK-IN
346
+** the tag value propagates to all descendants of CHECK-IN
347347
**
348348
** %fossil tag cancel ?--raw? TAGNAME CHECK-IN
349349
**
350350
** Remove the tag TAGNAME from CHECK-IN, and also remove
351351
** the propagation of the tag to any descendants.
352352
--- src/tag.c
+++ src/tag.c
@@ -341,11 +341,11 @@
341 ** %fossil tag add ?--raw? ?--propagate? TAGNAME CHECK-IN ?VALUE?
342 **
343 ** Add a new tag or property to CHECK-IN. The tag will
344 ** be usable instead of a CHECK-IN in commands such as
345 ** update and merge. If the --propagate flag is present,
346 ** the tag value propages to all descendants of CHECK-IN
347 **
348 ** %fossil tag cancel ?--raw? TAGNAME CHECK-IN
349 **
350 ** Remove the tag TAGNAME from CHECK-IN, and also remove
351 ** the propagation of the tag to any descendants.
352
--- src/tag.c
+++ src/tag.c
@@ -341,11 +341,11 @@
341 ** %fossil tag add ?--raw? ?--propagate? TAGNAME CHECK-IN ?VALUE?
342 **
343 ** Add a new tag or property to CHECK-IN. The tag will
344 ** be usable instead of a CHECK-IN in commands such as
345 ** update and merge. If the --propagate flag is present,
346 ** the tag value propagates to all descendants of CHECK-IN
347 **
348 ** %fossil tag cancel ?--raw? TAGNAME CHECK-IN
349 **
350 ** Remove the tag TAGNAME from CHECK-IN, and also remove
351 ** the propagation of the tag to any descendants.
352
+4 -4
--- src/th.c
+++ src/th.c
@@ -77,11 +77,11 @@
7777
** For scalar variables, Th_Variable.zData is never 0. Th_Variable.nData
7878
** stores the number of bytes in the value pointed to by zData.
7979
**
8080
** For an array variable, Th_Variable.zData is 0 and pHash points to
8181
** a hash table mapping between array key name (a th1 string) and
82
-** a the pointer to the Th_Variable structure holding the scalar
82
+** a pointer to the Th_Variable structure holding the scalar
8383
** value.
8484
*/
8585
struct Th_Variable {
8686
int nRef; /* Number of references to this structure */
8787
int nData; /* Number of bytes at Th_Variable.zData */
@@ -252,11 +252,11 @@
252252
return -1;
253253
}
254254
255255
/*
256256
** Argument pEntry points to an entry in a stack frame hash table
257
-** (Th_Frame.paVar). Decrement the refrerence count of the Th_Variable
257
+** (Th_Frame.paVar). Decrement the reference count of the Th_Variable
258258
** structure that the entry points to. Free the Th_Variable if its
259259
** reference count reaches 0.
260260
**
261261
** Argument pContext is a pointer to the interpreter structure.
262262
*/
@@ -876,11 +876,11 @@
876876
Th_Command *p = (Th_Command *)(pEntry->pData);
877877
const char **azArg = (const char **)argv;
878878
rc = p->xProc(interp, p->pContext, argc, azArg, argl);
879879
}
880880
881
- /* If an error occured, add this command to the stack trace report. */
881
+ /* If an error occurred, add this command to the stack trace report. */
882882
if( rc==TH_ERROR ){
883883
char *zRes;
884884
int nRes;
885885
char *zStack = 0;
886886
int nStack = 0;
@@ -1059,11 +1059,11 @@
10591059
static Th_Variable *thFindValue(
10601060
Th_Interp *interp,
10611061
const char *zVar, /* Pointer to variable name */
10621062
int nVar, /* Number of bytes at nVar */
10631063
int create, /* If true, create the variable if not found */
1064
- int arrayok /* If true, an array is Ok. Othewise array==error */
1064
+ int arrayok /* If true, an array is Ok. Otherwise array==error */
10651065
){
10661066
const char *zOuter;
10671067
int nOuter;
10681068
const char *zInner;
10691069
int nInner;
10701070
--- src/th.c
+++ src/th.c
@@ -77,11 +77,11 @@
77 ** For scalar variables, Th_Variable.zData is never 0. Th_Variable.nData
78 ** stores the number of bytes in the value pointed to by zData.
79 **
80 ** For an array variable, Th_Variable.zData is 0 and pHash points to
81 ** a hash table mapping between array key name (a th1 string) and
82 ** a the pointer to the Th_Variable structure holding the scalar
83 ** value.
84 */
85 struct Th_Variable {
86 int nRef; /* Number of references to this structure */
87 int nData; /* Number of bytes at Th_Variable.zData */
@@ -252,11 +252,11 @@
252 return -1;
253 }
254
255 /*
256 ** Argument pEntry points to an entry in a stack frame hash table
257 ** (Th_Frame.paVar). Decrement the refrerence count of the Th_Variable
258 ** structure that the entry points to. Free the Th_Variable if its
259 ** reference count reaches 0.
260 **
261 ** Argument pContext is a pointer to the interpreter structure.
262 */
@@ -876,11 +876,11 @@
876 Th_Command *p = (Th_Command *)(pEntry->pData);
877 const char **azArg = (const char **)argv;
878 rc = p->xProc(interp, p->pContext, argc, azArg, argl);
879 }
880
881 /* If an error occured, add this command to the stack trace report. */
882 if( rc==TH_ERROR ){
883 char *zRes;
884 int nRes;
885 char *zStack = 0;
886 int nStack = 0;
@@ -1059,11 +1059,11 @@
1059 static Th_Variable *thFindValue(
1060 Th_Interp *interp,
1061 const char *zVar, /* Pointer to variable name */
1062 int nVar, /* Number of bytes at nVar */
1063 int create, /* If true, create the variable if not found */
1064 int arrayok /* If true, an array is Ok. Othewise array==error */
1065 ){
1066 const char *zOuter;
1067 int nOuter;
1068 const char *zInner;
1069 int nInner;
1070
--- src/th.c
+++ src/th.c
@@ -77,11 +77,11 @@
77 ** For scalar variables, Th_Variable.zData is never 0. Th_Variable.nData
78 ** stores the number of bytes in the value pointed to by zData.
79 **
80 ** For an array variable, Th_Variable.zData is 0 and pHash points to
81 ** a hash table mapping between array key name (a th1 string) and
82 ** a pointer to the Th_Variable structure holding the scalar
83 ** value.
84 */
85 struct Th_Variable {
86 int nRef; /* Number of references to this structure */
87 int nData; /* Number of bytes at Th_Variable.zData */
@@ -252,11 +252,11 @@
252 return -1;
253 }
254
255 /*
256 ** Argument pEntry points to an entry in a stack frame hash table
257 ** (Th_Frame.paVar). Decrement the reference count of the Th_Variable
258 ** structure that the entry points to. Free the Th_Variable if its
259 ** reference count reaches 0.
260 **
261 ** Argument pContext is a pointer to the interpreter structure.
262 */
@@ -876,11 +876,11 @@
876 Th_Command *p = (Th_Command *)(pEntry->pData);
877 const char **azArg = (const char **)argv;
878 rc = p->xProc(interp, p->pContext, argc, azArg, argl);
879 }
880
881 /* If an error occurred, add this command to the stack trace report. */
882 if( rc==TH_ERROR ){
883 char *zRes;
884 int nRes;
885 char *zStack = 0;
886 int nStack = 0;
@@ -1059,11 +1059,11 @@
1059 static Th_Variable *thFindValue(
1060 Th_Interp *interp,
1061 const char *zVar, /* Pointer to variable name */
1062 int nVar, /* Number of bytes at nVar */
1063 int create, /* If true, create the variable if not found */
1064 int arrayok /* If true, an array is Ok. Otherwise array==error */
1065 ){
1066 const char *zOuter;
1067 int nOuter;
1068 const char *zInner;
1069 int nInner;
1070
+1 -1
--- src/th_main.c
+++ src/th_main.c
@@ -486,11 +486,11 @@
486486
487487
/*
488488
** TH1 command: stime
489489
**
490490
** Return the number of microseconds of CPU time consumed by the current
491
-** process in systsem space.
491
+** process in system space.
492492
*/
493493
static int stimeCmd(
494494
Th_Interp *interp,
495495
void *p,
496496
int argc,
497497
--- src/th_main.c
+++ src/th_main.c
@@ -486,11 +486,11 @@
486
487 /*
488 ** TH1 command: stime
489 **
490 ** Return the number of microseconds of CPU time consumed by the current
491 ** process in systsem space.
492 */
493 static int stimeCmd(
494 Th_Interp *interp,
495 void *p,
496 int argc,
497
--- src/th_main.c
+++ src/th_main.c
@@ -486,11 +486,11 @@
486
487 /*
488 ** TH1 command: stime
489 **
490 ** Return the number of microseconds of CPU time consumed by the current
491 ** process in system space.
492 */
493 static int stimeCmd(
494 Th_Interp *interp,
495 void *p,
496 int argc,
497
+6 -6
--- src/timeline.c
+++ src/timeline.c
@@ -882,11 +882,11 @@
882882
** b=TIMEORTAG before this event
883883
** c=TIMEORTAG "circa" this event
884884
** n=COUNT max number of events in output
885885
** p=UUID artifact and up to COUNT parents and ancestors
886886
** d=UUID artifact and up to COUNT descendants
887
-** dp=UUUID The same as d=UUID&p=UUID
887
+** dp=UUID The same as d=UUID&p=UUID
888888
** t=TAGID show only check-ins with the given tagid
889889
** r=TAGID show check-ins related to tagid
890890
** u=USER only if belonging to this user
891891
** y=TYPE 'ci', 'w', 't', 'e'
892892
** s=TEXT string search (comment and brief)
@@ -902,11 +902,11 @@
902902
**
903903
** p= and d= can appear individually or together. If either p= or d=
904904
** appear, then u=, y=, a=, and b= are ignored.
905905
**
906906
** If a= and b= appear, only a= is used. If neither appear, the most
907
-** recent events are choosen.
907
+** recent events are chosen.
908908
**
909909
** If n= is missing, the default count is 20.
910910
*/
911911
void page_timeline(void){
912912
Stmt q; /* Query used to generate the timeline */
@@ -1085,14 +1085,14 @@
10851085
" WHERE tagid=%d AND tagtype>0 AND rid=blob.rid)", tagid);
10861086
10871087
if( zBrName ){
10881088
url_add_parameter(&url, "r", zBrName);
10891089
/* The next two blob_appendf() calls add SQL that causes checkins that
1090
- ** are not part of the branch which are parents or childen of the branch
1091
- ** to be included in the report. This related check-ins are useful
1092
- ** in helping to visualize what has happened on a quiescent branch
1093
- ** that is infrequently merged with a much more activate branch.
1090
+ ** are not part of the branch which are parents or children of the
1091
+ ** branch to be included in the report. This related check-ins are
1092
+ ** useful in helping to visualize what has happened on a quiescent
1093
+ ** branch that is infrequently merged with a much more activate branch.
10941094
*/
10951095
blob_appendf(&sql,
10961096
" OR EXISTS(SELECT 1 FROM plink JOIN tagxref ON rid=cid"
10971097
" WHERE tagid=%d AND tagtype>0 AND pid=blob.rid)",
10981098
tagid
10991099
--- src/timeline.c
+++ src/timeline.c
@@ -882,11 +882,11 @@
882 ** b=TIMEORTAG before this event
883 ** c=TIMEORTAG "circa" this event
884 ** n=COUNT max number of events in output
885 ** p=UUID artifact and up to COUNT parents and ancestors
886 ** d=UUID artifact and up to COUNT descendants
887 ** dp=UUUID The same as d=UUID&p=UUID
888 ** t=TAGID show only check-ins with the given tagid
889 ** r=TAGID show check-ins related to tagid
890 ** u=USER only if belonging to this user
891 ** y=TYPE 'ci', 'w', 't', 'e'
892 ** s=TEXT string search (comment and brief)
@@ -902,11 +902,11 @@
902 **
903 ** p= and d= can appear individually or together. If either p= or d=
904 ** appear, then u=, y=, a=, and b= are ignored.
905 **
906 ** If a= and b= appear, only a= is used. If neither appear, the most
907 ** recent events are choosen.
908 **
909 ** If n= is missing, the default count is 20.
910 */
911 void page_timeline(void){
912 Stmt q; /* Query used to generate the timeline */
@@ -1085,14 +1085,14 @@
1085 " WHERE tagid=%d AND tagtype>0 AND rid=blob.rid)", tagid);
1086
1087 if( zBrName ){
1088 url_add_parameter(&url, "r", zBrName);
1089 /* The next two blob_appendf() calls add SQL that causes checkins that
1090 ** are not part of the branch which are parents or childen of the branch
1091 ** to be included in the report. This related check-ins are useful
1092 ** in helping to visualize what has happened on a quiescent branch
1093 ** that is infrequently merged with a much more activate branch.
1094 */
1095 blob_appendf(&sql,
1096 " OR EXISTS(SELECT 1 FROM plink JOIN tagxref ON rid=cid"
1097 " WHERE tagid=%d AND tagtype>0 AND pid=blob.rid)",
1098 tagid
1099
--- src/timeline.c
+++ src/timeline.c
@@ -882,11 +882,11 @@
882 ** b=TIMEORTAG before this event
883 ** c=TIMEORTAG "circa" this event
884 ** n=COUNT max number of events in output
885 ** p=UUID artifact and up to COUNT parents and ancestors
886 ** d=UUID artifact and up to COUNT descendants
887 ** dp=UUID The same as d=UUID&p=UUID
888 ** t=TAGID show only check-ins with the given tagid
889 ** r=TAGID show check-ins related to tagid
890 ** u=USER only if belonging to this user
891 ** y=TYPE 'ci', 'w', 't', 'e'
892 ** s=TEXT string search (comment and brief)
@@ -902,11 +902,11 @@
902 **
903 ** p= and d= can appear individually or together. If either p= or d=
904 ** appear, then u=, y=, a=, and b= are ignored.
905 **
906 ** If a= and b= appear, only a= is used. If neither appear, the most
907 ** recent events are chosen.
908 **
909 ** If n= is missing, the default count is 20.
910 */
911 void page_timeline(void){
912 Stmt q; /* Query used to generate the timeline */
@@ -1085,14 +1085,14 @@
1085 " WHERE tagid=%d AND tagtype>0 AND rid=blob.rid)", tagid);
1086
1087 if( zBrName ){
1088 url_add_parameter(&url, "r", zBrName);
1089 /* The next two blob_appendf() calls add SQL that causes checkins that
1090 ** are not part of the branch which are parents or children of the
1091 ** branch to be included in the report. This related check-ins are
1092 ** useful in helping to visualize what has happened on a quiescent
1093 ** branch that is infrequently merged with a much more activate branch.
1094 */
1095 blob_appendf(&sql,
1096 " OR EXISTS(SELECT 1 FROM plink JOIN tagxref ON rid=cid"
1097 " WHERE tagid=%d AND tagtype>0 AND pid=blob.rid)",
1098 tagid
1099
+2 -2
--- src/tkt.c
+++ src/tkt.c
@@ -91,11 +91,11 @@
9191
** variables.
9292
**
9393
** Fields of the TICKET table that begin with "private_" are
9494
** expanded using the db_reveal() function. If g.perm.RdAddr is
9595
** true, then the db_reveal() function will decode the content
96
-** using the CONCEALED table so that the content legable.
96
+** using the CONCEALED table so that the content legible.
9797
** Otherwise, db_reveal() is a no-op and the content remains
9898
** obscured.
9999
*/
100100
static void initializeVariablesFromDb(void){
101101
const char *zName;
@@ -499,11 +499,11 @@
499499
500500
/*
501501
** WEBPAGE: tktnew
502502
** WEBPAGE: debug_tktnew
503503
**
504
-** Enter a new ticket. the tktnew_template script in the ticket
504
+** Enter a new ticket. The tktnew_template script in the ticket
505505
** configuration is used. The /tktnew page is the official ticket
506506
** entry page. The /debug_tktnew page is used for debugging the
507507
** tktnew_template in the ticket configuration. /debug_tktnew works
508508
** just like /tktnew except that it does not really save the new ticket
509509
** when you press submit - it just prints the ticket artifact at the
510510
--- src/tkt.c
+++ src/tkt.c
@@ -91,11 +91,11 @@
91 ** variables.
92 **
93 ** Fields of the TICKET table that begin with "private_" are
94 ** expanded using the db_reveal() function. If g.perm.RdAddr is
95 ** true, then the db_reveal() function will decode the content
96 ** using the CONCEALED table so that the content legable.
97 ** Otherwise, db_reveal() is a no-op and the content remains
98 ** obscured.
99 */
100 static void initializeVariablesFromDb(void){
101 const char *zName;
@@ -499,11 +499,11 @@
499
500 /*
501 ** WEBPAGE: tktnew
502 ** WEBPAGE: debug_tktnew
503 **
504 ** Enter a new ticket. the tktnew_template script in the ticket
505 ** configuration is used. The /tktnew page is the official ticket
506 ** entry page. The /debug_tktnew page is used for debugging the
507 ** tktnew_template in the ticket configuration. /debug_tktnew works
508 ** just like /tktnew except that it does not really save the new ticket
509 ** when you press submit - it just prints the ticket artifact at the
510
--- src/tkt.c
+++ src/tkt.c
@@ -91,11 +91,11 @@
91 ** variables.
92 **
93 ** Fields of the TICKET table that begin with "private_" are
94 ** expanded using the db_reveal() function. If g.perm.RdAddr is
95 ** true, then the db_reveal() function will decode the content
96 ** using the CONCEALED table so that the content legible.
97 ** Otherwise, db_reveal() is a no-op and the content remains
98 ** obscured.
99 */
100 static void initializeVariablesFromDb(void){
101 const char *zName;
@@ -499,11 +499,11 @@
499
500 /*
501 ** WEBPAGE: tktnew
502 ** WEBPAGE: debug_tktnew
503 **
504 ** Enter a new ticket. The tktnew_template script in the ticket
505 ** configuration is used. The /tktnew page is the official ticket
506 ** entry page. The /debug_tktnew page is used for debugging the
507 ** tktnew_template in the ticket configuration. /debug_tktnew works
508 ** just like /tktnew except that it does not really save the new ticket
509 ** when you press submit - it just prints the ticket artifact at the
510
+2 -2
--- src/tktsetup.c
+++ src/tktsetup.c
@@ -96,12 +96,12 @@
9696
static void tktsetup_generic(
9797
const char *zTitle, /* Page title */
9898
const char *zDbField, /* Configuration field being edited */
9999
const char *zDfltValue, /* Default text value */
100100
const char *zDesc, /* Description of this field */
101
- char *(*xText)(const char*), /* Validitity test or NULL */
102
- void (*xRebuild)(void), /* Run after successulf update */
101
+ char *(*xText)(const char*), /* Validity test or NULL */
102
+ void (*xRebuild)(void), /* Run after successful update */
103103
int height /* Height of the edit box */
104104
){
105105
const char *z;
106106
int isSubmit;
107107
108108
--- src/tktsetup.c
+++ src/tktsetup.c
@@ -96,12 +96,12 @@
96 static void tktsetup_generic(
97 const char *zTitle, /* Page title */
98 const char *zDbField, /* Configuration field being edited */
99 const char *zDfltValue, /* Default text value */
100 const char *zDesc, /* Description of this field */
101 char *(*xText)(const char*), /* Validitity test or NULL */
102 void (*xRebuild)(void), /* Run after successulf update */
103 int height /* Height of the edit box */
104 ){
105 const char *z;
106 int isSubmit;
107
108
--- src/tktsetup.c
+++ src/tktsetup.c
@@ -96,12 +96,12 @@
96 static void tktsetup_generic(
97 const char *zTitle, /* Page title */
98 const char *zDbField, /* Configuration field being edited */
99 const char *zDfltValue, /* Default text value */
100 const char *zDesc, /* Description of this field */
101 char *(*xText)(const char*), /* Validity test or NULL */
102 void (*xRebuild)(void), /* Run after successful update */
103 int height /* Height of the edit box */
104 ){
105 const char *z;
106 int isSubmit;
107
108
+4 -4
--- src/update.c
+++ src/update.c
@@ -106,12 +106,12 @@
106106
int nChng; /* Number of file renames */
107107
int *aChng; /* Array of file renames */
108108
int i; /* Loop counter */
109109
int nConflict = 0; /* Number of merge conflicts */
110110
int nOverwrite = 0; /* Number of unmanaged files overwritten */
111
- int nUpdate = 0; /* Number of chagnes of any kind */
112
- Stmt mtimeXfer; /* Statment to transfer mtimes */
111
+ int nUpdate = 0; /* Number of changes of any kind */
112
+ Stmt mtimeXfer; /* Statement to transfer mtimes */
113113
114114
if( !internalUpdate ){
115115
undo_capture_command_line();
116116
url_proxy_options();
117117
}
@@ -151,13 +151,13 @@
151151
}
152152
}
153153
}
154154
155155
/* If no VERSION is specified on the command-line, then look for a
156
- ** descendent of the current version. If there are multiple descendents,
156
+ ** descendent of the current version. If there are multiple descendants,
157157
** look for one from the same branch as the current version. If there
158
- ** are still multiple descendents, show them all and refuse to update
158
+ ** are still multiple descendants, show them all and refuse to update
159159
** until the user selects one.
160160
*/
161161
if( tid==0 ){
162162
int closeCode = 1;
163163
compute_leaves(vid, closeCode);
164164
--- src/update.c
+++ src/update.c
@@ -106,12 +106,12 @@
106 int nChng; /* Number of file renames */
107 int *aChng; /* Array of file renames */
108 int i; /* Loop counter */
109 int nConflict = 0; /* Number of merge conflicts */
110 int nOverwrite = 0; /* Number of unmanaged files overwritten */
111 int nUpdate = 0; /* Number of chagnes of any kind */
112 Stmt mtimeXfer; /* Statment to transfer mtimes */
113
114 if( !internalUpdate ){
115 undo_capture_command_line();
116 url_proxy_options();
117 }
@@ -151,13 +151,13 @@
151 }
152 }
153 }
154
155 /* If no VERSION is specified on the command-line, then look for a
156 ** descendent of the current version. If there are multiple descendents,
157 ** look for one from the same branch as the current version. If there
158 ** are still multiple descendents, show them all and refuse to update
159 ** until the user selects one.
160 */
161 if( tid==0 ){
162 int closeCode = 1;
163 compute_leaves(vid, closeCode);
164
--- src/update.c
+++ src/update.c
@@ -106,12 +106,12 @@
106 int nChng; /* Number of file renames */
107 int *aChng; /* Array of file renames */
108 int i; /* Loop counter */
109 int nConflict = 0; /* Number of merge conflicts */
110 int nOverwrite = 0; /* Number of unmanaged files overwritten */
111 int nUpdate = 0; /* Number of changes of any kind */
112 Stmt mtimeXfer; /* Statement to transfer mtimes */
113
114 if( !internalUpdate ){
115 undo_capture_command_line();
116 url_proxy_options();
117 }
@@ -151,13 +151,13 @@
151 }
152 }
153 }
154
155 /* If no VERSION is specified on the command-line, then look for a
156 ** descendent of the current version. If there are multiple descendants,
157 ** look for one from the same branch as the current version. If there
158 ** are still multiple descendants, show them all and refuse to update
159 ** until the user selects one.
160 */
161 if( tid==0 ){
162 int closeCode = 1;
163 compute_leaves(vid, closeCode);
164
+1 -1
--- src/verify.c
+++ src/verify.c
@@ -13,11 +13,11 @@
1313
** [email protected]
1414
** http://www.hwaci.com/drh/
1515
**
1616
*******************************************************************************
1717
**
18
-** This file contains code used to help verify the integrity of the
18
+** This file contains code used to help verify the integrity of
1919
** the repository.
2020
**
2121
** This file primarily implements the verify_before_commit() interface.
2222
** Any function can call verify_before_commit() with a record id (RID)
2323
** as an argument. Then before the next change to the database commits,
2424
--- src/verify.c
+++ src/verify.c
@@ -13,11 +13,11 @@
13 ** [email protected]
14 ** http://www.hwaci.com/drh/
15 **
16 *******************************************************************************
17 **
18 ** This file contains code used to help verify the integrity of the
19 ** the repository.
20 **
21 ** This file primarily implements the verify_before_commit() interface.
22 ** Any function can call verify_before_commit() with a record id (RID)
23 ** as an argument. Then before the next change to the database commits,
24
--- src/verify.c
+++ src/verify.c
@@ -13,11 +13,11 @@
13 ** [email protected]
14 ** http://www.hwaci.com/drh/
15 **
16 *******************************************************************************
17 **
18 ** This file contains code used to help verify the integrity of
19 ** the repository.
20 **
21 ** This file primarily implements the verify_before_commit() interface.
22 ** Any function can call verify_before_commit() with a record id (RID)
23 ** as an argument. Then before the next change to the database commits,
24
+2 -2
--- src/wiki.c
+++ src/wiki.c
@@ -27,11 +27,11 @@
2727
** Return true if the input string is a well-formed wiki page name.
2828
**
2929
** Well-formed wiki page names do not begin or end with whitespace,
3030
** and do not contain tabs or other control characters and do not
3131
** contain more than a single space character in a row. Well-formed
32
-** names must be between 3 and 100 chracters in length, inclusive.
32
+** names must be between 3 and 100 characters in length, inclusive.
3333
*/
3434
int wiki_name_is_wellformed(const unsigned char *z){
3535
int i;
3636
if( z[0]<=0x20 ){
3737
return 0;
@@ -882,11 +882,11 @@
882882
** FILE or from standard input.
883883
**
884884
** %fossil wiki list
885885
**
886886
** Lists all wiki entries, one per line, ordered
887
-** case-insentively by name.
887
+** case-insensitively by name.
888888
**
889889
*/
890890
void wiki_cmd(void){
891891
int n;
892892
db_find_and_open_repository(0, 0);
893893
--- src/wiki.c
+++ src/wiki.c
@@ -27,11 +27,11 @@
27 ** Return true if the input string is a well-formed wiki page name.
28 **
29 ** Well-formed wiki page names do not begin or end with whitespace,
30 ** and do not contain tabs or other control characters and do not
31 ** contain more than a single space character in a row. Well-formed
32 ** names must be between 3 and 100 chracters in length, inclusive.
33 */
34 int wiki_name_is_wellformed(const unsigned char *z){
35 int i;
36 if( z[0]<=0x20 ){
37 return 0;
@@ -882,11 +882,11 @@
882 ** FILE or from standard input.
883 **
884 ** %fossil wiki list
885 **
886 ** Lists all wiki entries, one per line, ordered
887 ** case-insentively by name.
888 **
889 */
890 void wiki_cmd(void){
891 int n;
892 db_find_and_open_repository(0, 0);
893
--- src/wiki.c
+++ src/wiki.c
@@ -27,11 +27,11 @@
27 ** Return true if the input string is a well-formed wiki page name.
28 **
29 ** Well-formed wiki page names do not begin or end with whitespace,
30 ** and do not contain tabs or other control characters and do not
31 ** contain more than a single space character in a row. Well-formed
32 ** names must be between 3 and 100 characters in length, inclusive.
33 */
34 int wiki_name_is_wellformed(const unsigned char *z){
35 int i;
36 if( z[0]<=0x20 ){
37 return 0;
@@ -882,11 +882,11 @@
882 ** FILE or from standard input.
883 **
884 ** %fossil wiki list
885 **
886 ** Lists all wiki entries, one per line, ordered
887 ** case-insensitively by name.
888 **
889 */
890 void wiki_cmd(void){
891 int n;
892 db_find_and_open_repository(0, 0);
893
--- src/wikiformat.c
+++ src/wikiformat.c
@@ -1078,11 +1078,11 @@
10781078
return rc;
10791079
}
10801080
10811081
/*
10821082
** Resolve a hyperlink. The zTarget argument is the content of the [...]
1083
-** in the wiki. Append to the output string whatever text is approprate
1083
+** in the wiki. Append to the output string whatever text is appropriate
10841084
** for opening the hyperlink. Write into zClose[0...nClose-1] text that will
10851085
** close the markup.
10861086
**
10871087
** Actually, this routine might or might not append the hyperlink, depending
10881088
** on current rendering rules: specifically does the current user have
@@ -1106,11 +1106,11 @@
11061106
**
11071107
** [2010-02-27 07:13]
11081108
*/
11091109
static void openHyperlink(
11101110
Renderer *p, /* Rendering context */
1111
- const char *zTarget, /* Hyperlink traget; text within [...] */
1111
+ const char *zTarget, /* Hyperlink target; text within [...] */
11121112
char *zClose, /* Write hyperlink closing text here */
11131113
int nClose, /* Bytes available in zClose[] */
11141114
const char *zOrig /* Complete document text */
11151115
){
11161116
const char *zTerm = "</a>";
11171117
--- src/wikiformat.c
+++ src/wikiformat.c
@@ -1078,11 +1078,11 @@
1078 return rc;
1079 }
1080
1081 /*
1082 ** Resolve a hyperlink. The zTarget argument is the content of the [...]
1083 ** in the wiki. Append to the output string whatever text is approprate
1084 ** for opening the hyperlink. Write into zClose[0...nClose-1] text that will
1085 ** close the markup.
1086 **
1087 ** Actually, this routine might or might not append the hyperlink, depending
1088 ** on current rendering rules: specifically does the current user have
@@ -1106,11 +1106,11 @@
1106 **
1107 ** [2010-02-27 07:13]
1108 */
1109 static void openHyperlink(
1110 Renderer *p, /* Rendering context */
1111 const char *zTarget, /* Hyperlink traget; text within [...] */
1112 char *zClose, /* Write hyperlink closing text here */
1113 int nClose, /* Bytes available in zClose[] */
1114 const char *zOrig /* Complete document text */
1115 ){
1116 const char *zTerm = "</a>";
1117
--- src/wikiformat.c
+++ src/wikiformat.c
@@ -1078,11 +1078,11 @@
1078 return rc;
1079 }
1080
1081 /*
1082 ** Resolve a hyperlink. The zTarget argument is the content of the [...]
1083 ** in the wiki. Append to the output string whatever text is appropriate
1084 ** for opening the hyperlink. Write into zClose[0...nClose-1] text that will
1085 ** close the markup.
1086 **
1087 ** Actually, this routine might or might not append the hyperlink, depending
1088 ** on current rendering rules: specifically does the current user have
@@ -1106,11 +1106,11 @@
1106 **
1107 ** [2010-02-27 07:13]
1108 */
1109 static void openHyperlink(
1110 Renderer *p, /* Rendering context */
1111 const char *zTarget, /* Hyperlink target; text within [...] */
1112 char *zClose, /* Write hyperlink closing text here */
1113 int nClose, /* Bytes available in zClose[] */
1114 const char *zOrig /* Complete document text */
1115 ){
1116 const char *zTerm = "</a>";
1117
+1 -1
--- src/winhttp.c
+++ src/winhttp.c
@@ -271,11 +271,11 @@
271271
DWORD nMsg;
272272
DWORD nErr = GetLastError();
273273
LPWSTR tmp = NULL;
274274
char *zMsg = NULL;
275275
276
- /* Try first to get the error text in english. */
276
+ /* Try first to get the error text in English. */
277277
nMsg = FormatMessageW(
278278
FORMAT_MESSAGE_ALLOCATE_BUFFER |
279279
FORMAT_MESSAGE_FROM_SYSTEM |
280280
FORMAT_MESSAGE_IGNORE_INSERTS,
281281
NULL,
282282
--- src/winhttp.c
+++ src/winhttp.c
@@ -271,11 +271,11 @@
271 DWORD nMsg;
272 DWORD nErr = GetLastError();
273 LPWSTR tmp = NULL;
274 char *zMsg = NULL;
275
276 /* Try first to get the error text in english. */
277 nMsg = FormatMessageW(
278 FORMAT_MESSAGE_ALLOCATE_BUFFER |
279 FORMAT_MESSAGE_FROM_SYSTEM |
280 FORMAT_MESSAGE_IGNORE_INSERTS,
281 NULL,
282
--- src/winhttp.c
+++ src/winhttp.c
@@ -271,11 +271,11 @@
271 DWORD nMsg;
272 DWORD nErr = GetLastError();
273 LPWSTR tmp = NULL;
274 char *zMsg = NULL;
275
276 /* Try first to get the error text in English. */
277 nMsg = FormatMessageW(
278 FORMAT_MESSAGE_ALLOCATE_BUFFER |
279 FORMAT_MESSAGE_FROM_SYSTEM |
280 FORMAT_MESSAGE_IGNORE_INSERTS,
281 NULL,
282
+1 -1
--- src/xfer.c
+++ src/xfer.c
@@ -548,11 +548,11 @@
548548
**
549549
** The NONCE is the SHA1 hash of the remainder of the input.
550550
** SIGNATURE is the SHA1 checksum of the NONCE concatenated
551551
** with the users password.
552552
**
553
-** The parameters to this routine are ephermeral blobs holding the
553
+** The parameters to this routine are ephemeral blobs holding the
554554
** LOGIN, NONCE and SIGNATURE.
555555
**
556556
** This routine attempts to locate the user and verify the signature.
557557
** If everything checks out, the USER.CAP column for the USER table
558558
** is consulted to set privileges in the global g variable.
559559
--- src/xfer.c
+++ src/xfer.c
@@ -548,11 +548,11 @@
548 **
549 ** The NONCE is the SHA1 hash of the remainder of the input.
550 ** SIGNATURE is the SHA1 checksum of the NONCE concatenated
551 ** with the users password.
552 **
553 ** The parameters to this routine are ephermeral blobs holding the
554 ** LOGIN, NONCE and SIGNATURE.
555 **
556 ** This routine attempts to locate the user and verify the signature.
557 ** If everything checks out, the USER.CAP column for the USER table
558 ** is consulted to set privileges in the global g variable.
559
--- src/xfer.c
+++ src/xfer.c
@@ -548,11 +548,11 @@
548 **
549 ** The NONCE is the SHA1 hash of the remainder of the input.
550 ** SIGNATURE is the SHA1 checksum of the NONCE concatenated
551 ** with the users password.
552 **
553 ** The parameters to this routine are ephemeral blobs holding the
554 ** LOGIN, NONCE and SIGNATURE.
555 **
556 ** This routine attempts to locate the user and verify the signature.
557 ** If everything checks out, the USER.CAP column for the USER table
558 ** is consulted to set privileges in the global g variable.
559
+2 -2
--- src/xfersetup.c
+++ src/xfersetup.c
@@ -48,12 +48,12 @@
4848
static void xfersetup_generic(
4949
const char *zTitle, /* Page title */
5050
const char *zDbField, /* Configuration field being edited */
5151
const char *zDfltValue, /* Default text value */
5252
const char *zDesc, /* Description of this field */
53
- char *(*xText)(const char*), /* Validitity test or NULL */
54
- void (*xRebuild)(void), /* Run after successulf update */
53
+ char *(*xText)(const char*), /* Validity test or NULL */
54
+ void (*xRebuild)(void), /* Run after successful update */
5555
int height /* Height of the edit box */
5656
){
5757
const char *z;
5858
int isSubmit;
5959
6060
--- src/xfersetup.c
+++ src/xfersetup.c
@@ -48,12 +48,12 @@
48 static void xfersetup_generic(
49 const char *zTitle, /* Page title */
50 const char *zDbField, /* Configuration field being edited */
51 const char *zDfltValue, /* Default text value */
52 const char *zDesc, /* Description of this field */
53 char *(*xText)(const char*), /* Validitity test or NULL */
54 void (*xRebuild)(void), /* Run after successulf update */
55 int height /* Height of the edit box */
56 ){
57 const char *z;
58 int isSubmit;
59
60
--- src/xfersetup.c
+++ src/xfersetup.c
@@ -48,12 +48,12 @@
48 static void xfersetup_generic(
49 const char *zTitle, /* Page title */
50 const char *zDbField, /* Configuration field being edited */
51 const char *zDfltValue, /* Default text value */
52 const char *zDesc, /* Description of this field */
53 char *(*xText)(const char*), /* Validity test or NULL */
54 void (*xRebuild)(void), /* Run after successful update */
55 int height /* Height of the edit box */
56 ){
57 const char *z;
58 int isSubmit;
59
60

Keyboard Shortcuts

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