Fossil SCM

merged trunk changes

wolfgang 2010-09-08 17:23 wolfgangFormat2CSS merge
Commit a2d5230d24b9f1759c8a1ad95ab963b8a3a2cec2
+2 -2
--- src/winhttp.c
+++ src/winhttp.c
@@ -16,13 +16,13 @@
1616
*******************************************************************************
1717
**
1818
** This file implements a very simple (and low-performance) HTTP server
1919
** for windows.
2020
*/
21
-#if defined( __MINGW32__) || defined(__DMC__) || defined(_MSC_VER)
22
-/* This code is for win32 only */
2321
#include "config.h"
22
+#ifdef _WIN32
23
+/* This code is for win32 only */
2424
#include "winhttp.h"
2525
#include <windows.h>
2626
2727
/*
2828
** The HttpRequest structure holds information about each incoming
2929
--- src/winhttp.c
+++ src/winhttp.c
@@ -16,13 +16,13 @@
16 *******************************************************************************
17 **
18 ** This file implements a very simple (and low-performance) HTTP server
19 ** for windows.
20 */
21 #if defined( __MINGW32__) || defined(__DMC__) || defined(_MSC_VER)
22 /* This code is for win32 only */
23 #include "config.h"
 
 
24 #include "winhttp.h"
25 #include <windows.h>
26
27 /*
28 ** The HttpRequest structure holds information about each incoming
29
--- src/winhttp.c
+++ src/winhttp.c
@@ -16,13 +16,13 @@
16 *******************************************************************************
17 **
18 ** This file implements a very simple (and low-performance) HTTP server
19 ** for windows.
20 */
 
 
21 #include "config.h"
22 #ifdef _WIN32
23 /* This code is for win32 only */
24 #include "winhttp.h"
25 #include <windows.h>
26
27 /*
28 ** The HttpRequest structure holds information about each incoming
29
+2 -2
--- src/winhttp.c
+++ src/winhttp.c
@@ -16,13 +16,13 @@
1616
*******************************************************************************
1717
**
1818
** This file implements a very simple (and low-performance) HTTP server
1919
** for windows.
2020
*/
21
-#if defined( __MINGW32__) || defined(__DMC__) || defined(_MSC_VER)
22
-/* This code is for win32 only */
2321
#include "config.h"
22
+#ifdef _WIN32
23
+/* This code is for win32 only */
2424
#include "winhttp.h"
2525
#include <windows.h>
2626
2727
/*
2828
** The HttpRequest structure holds information about each incoming
2929
--- src/winhttp.c
+++ src/winhttp.c
@@ -16,13 +16,13 @@
16 *******************************************************************************
17 **
18 ** This file implements a very simple (and low-performance) HTTP server
19 ** for windows.
20 */
21 #if defined( __MINGW32__) || defined(__DMC__) || defined(_MSC_VER)
22 /* This code is for win32 only */
23 #include "config.h"
 
 
24 #include "winhttp.h"
25 #include <windows.h>
26
27 /*
28 ** The HttpRequest structure holds information about each incoming
29
--- src/winhttp.c
+++ src/winhttp.c
@@ -16,13 +16,13 @@
16 *******************************************************************************
17 **
18 ** This file implements a very simple (and low-performance) HTTP server
19 ** for windows.
20 */
 
 
21 #include "config.h"
22 #ifdef _WIN32
23 /* This code is for win32 only */
24 #include "winhttp.h"
25 #include <windows.h>
26
27 /*
28 ** The HttpRequest structure holds information about each incoming
29
+1 -1
--- www/index.wiki
+++ www/index.wiki
@@ -88,11 +88,11 @@
8888
7. <b>Robust &amp; Reliable</b> -
8989
Fossil stores content using an [./fileformat.wiki | enduring file format]
9090
in an SQLite database so that transactions are
9191
atomic even if interrupted by a power loss or system crash. Furthermore,
9292
automatic [./selfcheck.wiki | self-checks] verify that all aspects of
93
- the repository are consistent prior to each commit. In nearly three years
93
+ the repository are consistent prior to each commit. In over three years
9494
of operation, no work has ever been lost after having been committed to
9595
a Fossil repository.
9696
9797
<hr>
9898
<h3>Links For Fossil Users:</h3>
9999
--- www/index.wiki
+++ www/index.wiki
@@ -88,11 +88,11 @@
88 7. <b>Robust &amp; Reliable</b> -
89 Fossil stores content using an [./fileformat.wiki | enduring file format]
90 in an SQLite database so that transactions are
91 atomic even if interrupted by a power loss or system crash. Furthermore,
92 automatic [./selfcheck.wiki | self-checks] verify that all aspects of
93 the repository are consistent prior to each commit. In nearly three years
94 of operation, no work has ever been lost after having been committed to
95 a Fossil repository.
96
97 <hr>
98 <h3>Links For Fossil Users:</h3>
99
--- www/index.wiki
+++ www/index.wiki
@@ -88,11 +88,11 @@
88 7. <b>Robust &amp; Reliable</b> -
89 Fossil stores content using an [./fileformat.wiki | enduring file format]
90 in an SQLite database so that transactions are
91 atomic even if interrupted by a power loss or system crash. Furthermore,
92 automatic [./selfcheck.wiki | self-checks] verify that all aspects of
93 the repository are consistent prior to each commit. In over three years
94 of operation, no work has ever been lost after having been committed to
95 a Fossil repository.
96
97 <hr>
98 <h3>Links For Fossil Users:</h3>
99
--- www/password.wiki
+++ www/password.wiki
@@ -60,20 +60,20 @@
6060
the web interface or direct SQL manipulation of the USER table.
6161
Note also that the password field is
6262
essentially ignored for the special users named "anonymous", "developer",
6363
"reader", and "nobody". It is not possible to authenticate as users
6464
"developer", "reader", or "nobody" and the authentication protocol
65
-for "anonymous" use one-time captchas not persistent passwords.
65
+for "anonymous" uses one-time captchas not persistent passwords.
6666
6767
<h2>Web Interface Authentication</h2>
6868
6969
When a user logs into Fossil using the web interface, the login name
7070
and password are sent in the clear to the server. The server then
7171
hashes the password and compares it against the value stored in USER.PW.
7272
If they match, the server sets a cookie on the client to record the
7373
login. This cookie contains a large amount of high-quality randomness
74
-and is thus impossible to guess. The value of the cookie and the IP
74
+and is thus intractable to guess. The value of the cookie and the IP
7575
address of the client is stored in the USER.COOKIE and USER.IPADDR fields
7676
of the USER table on the server.
7777
The USER.CEXPIRE field holds an expiration date
7878
for the cookie, encoded as a julian day number. On all subsequent
7979
HTTP requests, the cookie value is matched against the USER table to
8080
--- www/password.wiki
+++ www/password.wiki
@@ -60,20 +60,20 @@
60 the web interface or direct SQL manipulation of the USER table.
61 Note also that the password field is
62 essentially ignored for the special users named "anonymous", "developer",
63 "reader", and "nobody". It is not possible to authenticate as users
64 "developer", "reader", or "nobody" and the authentication protocol
65 for "anonymous" use one-time captchas not persistent passwords.
66
67 <h2>Web Interface Authentication</h2>
68
69 When a user logs into Fossil using the web interface, the login name
70 and password are sent in the clear to the server. The server then
71 hashes the password and compares it against the value stored in USER.PW.
72 If they match, the server sets a cookie on the client to record the
73 login. This cookie contains a large amount of high-quality randomness
74 and is thus impossible to guess. The value of the cookie and the IP
75 address of the client is stored in the USER.COOKIE and USER.IPADDR fields
76 of the USER table on the server.
77 The USER.CEXPIRE field holds an expiration date
78 for the cookie, encoded as a julian day number. On all subsequent
79 HTTP requests, the cookie value is matched against the USER table to
80
--- www/password.wiki
+++ www/password.wiki
@@ -60,20 +60,20 @@
60 the web interface or direct SQL manipulation of the USER table.
61 Note also that the password field is
62 essentially ignored for the special users named "anonymous", "developer",
63 "reader", and "nobody". It is not possible to authenticate as users
64 "developer", "reader", or "nobody" and the authentication protocol
65 for "anonymous" uses one-time captchas not persistent passwords.
66
67 <h2>Web Interface Authentication</h2>
68
69 When a user logs into Fossil using the web interface, the login name
70 and password are sent in the clear to the server. The server then
71 hashes the password and compares it against the value stored in USER.PW.
72 If they match, the server sets a cookie on the client to record the
73 login. This cookie contains a large amount of high-quality randomness
74 and is thus intractable to guess. The value of the cookie and the IP
75 address of the client is stored in the USER.COOKIE and USER.IPADDR fields
76 of the USER table on the server.
77 The USER.CEXPIRE field holds an expiration date
78 for the cookie, encoded as a julian day number. On all subsequent
79 HTTP requests, the cookie value is matched against the USER table to
80
--- www/quickstart.wiki
+++ www/quickstart.wiki
@@ -232,16 +232,19 @@
232232
233233
<blockquote>
234234
<b>fossil ui</b> <i>repository-filename</i>
235235
</blockquote>
236236
237
- <p>The difference between these two command is that <b>ui</b>
238
- attempts to automatically start your web browser pointing at the
239
- server whereas <b>server</b> does not.
237
+ <p>The <b>ui</b> command is intended for accessing the web interface
238
+ from a local desktop. The <b>ui</b> command binds to the loopback IP
239
+ address only (and is thus makes the web interface visible only on the
240
+ local machine) and it automatically start your web browser pointing at the
241
+ server. For cross-machine collaboration, use the <b>server</b> command,
242
+ which binds on all IP addresses and does not try to start a web browser.
240243
You can omit the <i>repository-filename</i> if you are within
241
- a checked-out local tree. This server uses port 8080 by default
242
- but you can specify a different port using the <b>-port</b> command.</p>
244
+ a checked-out local tree. The <b>server</b> uses port 8080 by default
245
+ but you can specify a different port using the <b>-port</b> option.</p>
243246
244247
<p>Command-line servers like this are useful when two people want
245248
to share a repository on temporary or ad-hoc basis. For a more
246249
permanent installation, you should use either the CGI server or the
247250
inetd server.
248251
--- www/quickstart.wiki
+++ www/quickstart.wiki
@@ -232,16 +232,19 @@
232
233 <blockquote>
234 <b>fossil ui</b> <i>repository-filename</i>
235 </blockquote>
236
237 <p>The difference between these two command is that <b>ui</b>
238 attempts to automatically start your web browser pointing at the
239 server whereas <b>server</b> does not.
 
 
 
240 You can omit the <i>repository-filename</i> if you are within
241 a checked-out local tree. This server uses port 8080 by default
242 but you can specify a different port using the <b>-port</b> command.</p>
243
244 <p>Command-line servers like this are useful when two people want
245 to share a repository on temporary or ad-hoc basis. For a more
246 permanent installation, you should use either the CGI server or the
247 inetd server.
248
--- www/quickstart.wiki
+++ www/quickstart.wiki
@@ -232,16 +232,19 @@
232
233 <blockquote>
234 <b>fossil ui</b> <i>repository-filename</i>
235 </blockquote>
236
237 <p>The <b>ui</b> command is intended for accessing the web interface
238 from a local desktop. The <b>ui</b> command binds to the loopback IP
239 address only (and is thus makes the web interface visible only on the
240 local machine) and it automatically start your web browser pointing at the
241 server. For cross-machine collaboration, use the <b>server</b> command,
242 which binds on all IP addresses and does not try to start a web browser.
243 You can omit the <i>repository-filename</i> if you are within
244 a checked-out local tree. The <b>server</b> uses port 8080 by default
245 but you can specify a different port using the <b>-port</b> option.</p>
246
247 <p>Command-line servers like this are useful when two people want
248 to share a repository on temporary or ad-hoc basis. For a more
249 permanent installation, you should use either the CGI server or the
250 inetd server.
251

Keyboard Shortcuts

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