Fossil SCM

Merged trunk [693ab93b7d] to quiet down -Wall. Removed a trailing comma from an enum (-Wall mode).

stephan 2011-09-16 18:57 UTC json merge
Commit 98cdd410df5134cc9db6c82a50ce2c8738f06782
+2 -2
--- src/http_ssl.c
+++ src/http_ssl.c
@@ -249,11 +249,11 @@
249249
int j;
250250
for( j = 0; j < mdLength; ++j ) {
251251
BIO_printf(mem, " %02x", md[j]);
252252
}
253253
}
254
- BIO_write(mem, "", 1); // null-terminate mem buffer
254
+ BIO_write(mem, "", 1); /* nul-terminate mem buffer */
255255
BIO_get_mem_data(mem, &desc);
256256
257257
if( hasSavedCertificate ){
258258
warning = "WARNING: Certificate doesn't match the "
259259
"saved certificate for this host!";
@@ -304,11 +304,11 @@
304304
BIO *mem;
305305
char *zCert, *zHost;
306306
307307
mem = BIO_new(BIO_s_mem());
308308
PEM_write_bio_X509(mem, cert);
309
- BIO_write(mem, "", 1); // null-terminate mem buffer
309
+ BIO_write(mem, "", 1); /* nul-terminate mem buffer */
310310
BIO_get_mem_data(mem, &zCert);
311311
zHost = mprintf("cert:%s", g.urlName);
312312
db_set(zHost, zCert, 1);
313313
free(zHost);
314314
BIO_free(mem);
315315
--- src/http_ssl.c
+++ src/http_ssl.c
@@ -249,11 +249,11 @@
249 int j;
250 for( j = 0; j < mdLength; ++j ) {
251 BIO_printf(mem, " %02x", md[j]);
252 }
253 }
254 BIO_write(mem, "", 1); // null-terminate mem buffer
255 BIO_get_mem_data(mem, &desc);
256
257 if( hasSavedCertificate ){
258 warning = "WARNING: Certificate doesn't match the "
259 "saved certificate for this host!";
@@ -304,11 +304,11 @@
304 BIO *mem;
305 char *zCert, *zHost;
306
307 mem = BIO_new(BIO_s_mem());
308 PEM_write_bio_X509(mem, cert);
309 BIO_write(mem, "", 1); // null-terminate mem buffer
310 BIO_get_mem_data(mem, &zCert);
311 zHost = mprintf("cert:%s", g.urlName);
312 db_set(zHost, zCert, 1);
313 free(zHost);
314 BIO_free(mem);
315
--- src/http_ssl.c
+++ src/http_ssl.c
@@ -249,11 +249,11 @@
249 int j;
250 for( j = 0; j < mdLength; ++j ) {
251 BIO_printf(mem, " %02x", md[j]);
252 }
253 }
254 BIO_write(mem, "", 1); /* nul-terminate mem buffer */
255 BIO_get_mem_data(mem, &desc);
256
257 if( hasSavedCertificate ){
258 warning = "WARNING: Certificate doesn't match the "
259 "saved certificate for this host!";
@@ -304,11 +304,11 @@
304 BIO *mem;
305 char *zCert, *zHost;
306
307 mem = BIO_new(BIO_s_mem());
308 PEM_write_bio_X509(mem, cert);
309 BIO_write(mem, "", 1); /* nul-terminate mem buffer */
310 BIO_get_mem_data(mem, &zCert);
311 zHost = mprintf("cert:%s", g.urlName);
312 db_set(zHost, zCert, 1);
313 free(zHost);
314 BIO_free(mem);
315
+1 -1
--- src/json.c
+++ src/json.c
@@ -67,11 +67,11 @@
6767
6868
FSL_JSON_E_DB = 4000,
6969
FSL_JSON_E_STMT_PREP = FSL_JSON_E_DB + 1,
7070
FSL_JSON_E_STMT_BIND = FSL_JSON_E_DB + 2,
7171
FSL_JSON_E_STMT_EXEC = FSL_JSON_E_DB + 3,
72
-FSL_JSON_E_DB_LOCKED = FSL_JSON_E_DB + 4,
72
+FSL_JSON_E_DB_LOCKED = FSL_JSON_E_DB + 4
7373
};
7474
#endif
7575
7676
/*
7777
** Holds keys used for various JSON API properties.
7878
--- src/json.c
+++ src/json.c
@@ -67,11 +67,11 @@
67
68 FSL_JSON_E_DB = 4000,
69 FSL_JSON_E_STMT_PREP = FSL_JSON_E_DB + 1,
70 FSL_JSON_E_STMT_BIND = FSL_JSON_E_DB + 2,
71 FSL_JSON_E_STMT_EXEC = FSL_JSON_E_DB + 3,
72 FSL_JSON_E_DB_LOCKED = FSL_JSON_E_DB + 4,
73 };
74 #endif
75
76 /*
77 ** Holds keys used for various JSON API properties.
78
--- src/json.c
+++ src/json.c
@@ -67,11 +67,11 @@
67
68 FSL_JSON_E_DB = 4000,
69 FSL_JSON_E_STMT_PREP = FSL_JSON_E_DB + 1,
70 FSL_JSON_E_STMT_BIND = FSL_JSON_E_DB + 2,
71 FSL_JSON_E_STMT_EXEC = FSL_JSON_E_DB + 3,
72 FSL_JSON_E_DB_LOCKED = FSL_JSON_E_DB + 4
73 };
74 #endif
75
76 /*
77 ** Holds keys used for various JSON API properties.
78
+1 -1
--- src/json.c
+++ src/json.c
@@ -67,11 +67,11 @@
6767
6868
FSL_JSON_E_DB = 4000,
6969
FSL_JSON_E_STMT_PREP = FSL_JSON_E_DB + 1,
7070
FSL_JSON_E_STMT_BIND = FSL_JSON_E_DB + 2,
7171
FSL_JSON_E_STMT_EXEC = FSL_JSON_E_DB + 3,
72
-FSL_JSON_E_DB_LOCKED = FSL_JSON_E_DB + 4,
72
+FSL_JSON_E_DB_LOCKED = FSL_JSON_E_DB + 4
7373
};
7474
#endif
7575
7676
/*
7777
** Holds keys used for various JSON API properties.
7878
--- src/json.c
+++ src/json.c
@@ -67,11 +67,11 @@
67
68 FSL_JSON_E_DB = 4000,
69 FSL_JSON_E_STMT_PREP = FSL_JSON_E_DB + 1,
70 FSL_JSON_E_STMT_BIND = FSL_JSON_E_DB + 2,
71 FSL_JSON_E_STMT_EXEC = FSL_JSON_E_DB + 3,
72 FSL_JSON_E_DB_LOCKED = FSL_JSON_E_DB + 4,
73 };
74 #endif
75
76 /*
77 ** Holds keys used for various JSON API properties.
78
--- src/json.c
+++ src/json.c
@@ -67,11 +67,11 @@
67
68 FSL_JSON_E_DB = 4000,
69 FSL_JSON_E_STMT_PREP = FSL_JSON_E_DB + 1,
70 FSL_JSON_E_STMT_BIND = FSL_JSON_E_DB + 2,
71 FSL_JSON_E_STMT_EXEC = FSL_JSON_E_DB + 3,
72 FSL_JSON_E_DB_LOCKED = FSL_JSON_E_DB + 4
73 };
74 #endif
75
76 /*
77 ** Holds keys used for various JSON API properties.
78
--- src/style.c
+++ src/style.c
@@ -805,10 +805,11 @@
805805
void page_test_env(void){
806806
char c;
807807
int i;
808808
char zCap[30];
809809
login_check_credentials();
810
+ if( !g.perm.Admin && !g.perm.Setup ){ login_needed(); return; }
810811
style_header("Environment Test");
811812
#if !defined(_WIN32)
812813
@ uid=%d(getuid()), gid=%d(getgid())<br />
813814
#endif
814815
@ g.zBaseURL = %h(g.zBaseURL)<br />
815816
--- src/style.c
+++ src/style.c
@@ -805,10 +805,11 @@
805 void page_test_env(void){
806 char c;
807 int i;
808 char zCap[30];
809 login_check_credentials();
 
810 style_header("Environment Test");
811 #if !defined(_WIN32)
812 @ uid=%d(getuid()), gid=%d(getgid())<br />
813 #endif
814 @ g.zBaseURL = %h(g.zBaseURL)<br />
815
--- src/style.c
+++ src/style.c
@@ -805,10 +805,11 @@
805 void page_test_env(void){
806 char c;
807 int i;
808 char zCap[30];
809 login_check_credentials();
810 if( !g.perm.Admin && !g.perm.Setup ){ login_needed(); return; }
811 style_header("Environment Test");
812 #if !defined(_WIN32)
813 @ uid=%d(getuid()), gid=%d(getgid())<br />
814 #endif
815 @ g.zBaseURL = %h(g.zBaseURL)<br />
816
--- www/reviews.wiki
+++ www/reviews.wiki
@@ -8,10 +8,11 @@
88
by Juho Veps&#228;l&#228;inen.
99
* [http://blog.fupps.com/2010/12/04/exploring-the-fossil-dvcs |
1010
Exploring the Fossil DVCS] by Jan-Piet Mens.
1111
* [http://blog.mired.org/2011/02/fossil-sweet-spot-in-vcs-space.html |
1212
Fossil - a sweet spot in the VCS space] by Mike Meyer.
13
+ * [http://blog.s11n.net/?p=72|Four reasons to take a closer look at the Fossil SCM] by Stephan Beal
1314
1415
<b>See Also:</b>
1516
1617
* [./quotes.wiki | Short Quotes on Fossil, Git, And DVCSes]
1718
@@ -39,11 +40,11 @@
3940
life easier on most of my projects, and being able to move commits to
4041
another branch after the fact and shared-by-default branches are good
4142
features. Also not having a misanthropic command line interface.
4243
</blockquote>
4344
44
-<b>Stephen Beal writes on 2009-01-11:</b>
45
+<b>Stephan Beal writes on 2009-01-11:</b>
4546
4647
<blockquote>
4748
Sometime in late 2007 I came across a link to fossil on
4849
<a href="http://www.sqlite.org/">sqlite.org</a>. It
4950
was a good thing I bookmarked it, because I was never able to find the
@@ -136,12 +137,12 @@
136137
137138
138139
In summary:
139140
140141
I remember my first reaction to fossil being, "this will be an
141
-excellent solution for small projects [like the dozens we've all got
142
+excellent solution for small projects (like the dozens we've all got
142143
sitting on our hard drives but which don't justify the hassle of
143
-version control]." A year of daily use in over 15 source trees has
144
+version control)." A year of daily use in over 15 source trees has
144145
confirmed that, and I continue to heartily recommend fossil to other
145146
developers I know who also have their own collection of "unhosted" pet
146147
projects.
147148
</blockquote>
148149
--- www/reviews.wiki
+++ www/reviews.wiki
@@ -8,10 +8,11 @@
8 by Juho Veps&#228;l&#228;inen.
9 * [http://blog.fupps.com/2010/12/04/exploring-the-fossil-dvcs |
10 Exploring the Fossil DVCS] by Jan-Piet Mens.
11 * [http://blog.mired.org/2011/02/fossil-sweet-spot-in-vcs-space.html |
12 Fossil - a sweet spot in the VCS space] by Mike Meyer.
 
13
14 <b>See Also:</b>
15
16 * [./quotes.wiki | Short Quotes on Fossil, Git, And DVCSes]
17
@@ -39,11 +40,11 @@
39 life easier on most of my projects, and being able to move commits to
40 another branch after the fact and shared-by-default branches are good
41 features. Also not having a misanthropic command line interface.
42 </blockquote>
43
44 <b>Stephen Beal writes on 2009-01-11:</b>
45
46 <blockquote>
47 Sometime in late 2007 I came across a link to fossil on
48 <a href="http://www.sqlite.org/">sqlite.org</a>. It
49 was a good thing I bookmarked it, because I was never able to find the
@@ -136,12 +137,12 @@
136
137
138 In summary:
139
140 I remember my first reaction to fossil being, "this will be an
141 excellent solution for small projects [like the dozens we've all got
142 sitting on our hard drives but which don't justify the hassle of
143 version control]." A year of daily use in over 15 source trees has
144 confirmed that, and I continue to heartily recommend fossil to other
145 developers I know who also have their own collection of "unhosted" pet
146 projects.
147 </blockquote>
148
--- www/reviews.wiki
+++ www/reviews.wiki
@@ -8,10 +8,11 @@
8 by Juho Veps&#228;l&#228;inen.
9 * [http://blog.fupps.com/2010/12/04/exploring-the-fossil-dvcs |
10 Exploring the Fossil DVCS] by Jan-Piet Mens.
11 * [http://blog.mired.org/2011/02/fossil-sweet-spot-in-vcs-space.html |
12 Fossil - a sweet spot in the VCS space] by Mike Meyer.
13 * [http://blog.s11n.net/?p=72|Four reasons to take a closer look at the Fossil SCM] by Stephan Beal
14
15 <b>See Also:</b>
16
17 * [./quotes.wiki | Short Quotes on Fossil, Git, And DVCSes]
18
@@ -39,11 +40,11 @@
40 life easier on most of my projects, and being able to move commits to
41 another branch after the fact and shared-by-default branches are good
42 features. Also not having a misanthropic command line interface.
43 </blockquote>
44
45 <b>Stephan Beal writes on 2009-01-11:</b>
46
47 <blockquote>
48 Sometime in late 2007 I came across a link to fossil on
49 <a href="http://www.sqlite.org/">sqlite.org</a>. It
50 was a good thing I bookmarked it, because I was never able to find the
@@ -136,12 +137,12 @@
137
138
139 In summary:
140
141 I remember my first reaction to fossil being, "this will be an
142 excellent solution for small projects (like the dozens we've all got
143 sitting on our hard drives but which don't justify the hassle of
144 version control)." A year of daily use in over 15 source trees has
145 confirmed that, and I continue to heartily recommend fossil to other
146 developers I know who also have their own collection of "unhosted" pet
147 projects.
148 </blockquote>
149

Keyboard Shortcuts

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