Fossil SCM

Merge support for HTTPS back into trunk. (It got lost during the conversion from GPL to BSD.)

drh 2010-05-16 19:36 trunk merge
Commit 68fa646f49d1a889d6bdfd093b03e3ff36cb4c29
+5
--- Makefile
+++ Makefile
@@ -30,10 +30,13 @@
3030
# for building intermediate code-generator tools.
3131
#
3232
#TCC = gcc -O6
3333
#TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage
3434
TCC = gcc -g -Os -Wall
35
+
36
+# To add support for HTTPS
37
+TCC += -DFOSSIL_ENABLE_SSL
3538
3639
#### Extra arguments for linking the finished binary. Fossil needs
3740
# to link against the Z-Lib compression library. There are no
3841
# other dependencies. We sometimes add the -static option here
3942
# so that we can build a static executable that will run in a
@@ -44,13 +47,15 @@
4447
# LIB += lsocket
4548
# Solaris 10 needs:
4649
# LIB += -lsocket -lnsl
4750
# My assumption is that the Sol10 flags will work for Sol8/9 and possibly 11.
4851
#
52
+# If using HTTPS:
53
+LIB += -lcrypto -lssl
4954
5055
#### Tcl shell for use in running the fossil testsuite.
5156
#
5257
TCLSH = tclsh
5358
5459
# You should not need to change anything below this line
5560
###############################################################################
5661
include $(SRCDIR)/main.mk
5762
--- Makefile
+++ Makefile
@@ -30,10 +30,13 @@
30 # for building intermediate code-generator tools.
31 #
32 #TCC = gcc -O6
33 #TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage
34 TCC = gcc -g -Os -Wall
 
 
 
35
36 #### Extra arguments for linking the finished binary. Fossil needs
37 # to link against the Z-Lib compression library. There are no
38 # other dependencies. We sometimes add the -static option here
39 # so that we can build a static executable that will run in a
@@ -44,13 +47,15 @@
44 # LIB += lsocket
45 # Solaris 10 needs:
46 # LIB += -lsocket -lnsl
47 # My assumption is that the Sol10 flags will work for Sol8/9 and possibly 11.
48 #
 
 
49
50 #### Tcl shell for use in running the fossil testsuite.
51 #
52 TCLSH = tclsh
53
54 # You should not need to change anything below this line
55 ###############################################################################
56 include $(SRCDIR)/main.mk
57
--- Makefile
+++ Makefile
@@ -30,10 +30,13 @@
30 # for building intermediate code-generator tools.
31 #
32 #TCC = gcc -O6
33 #TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage
34 TCC = gcc -g -Os -Wall
35
36 # To add support for HTTPS
37 TCC += -DFOSSIL_ENABLE_SSL
38
39 #### Extra arguments for linking the finished binary. Fossil needs
40 # to link against the Z-Lib compression library. There are no
41 # other dependencies. We sometimes add the -static option here
42 # so that we can build a static executable that will run in a
@@ -44,13 +47,15 @@
47 # LIB += lsocket
48 # Solaris 10 needs:
49 # LIB += -lsocket -lnsl
50 # My assumption is that the Sol10 flags will work for Sol8/9 and possibly 11.
51 #
52 # If using HTTPS:
53 LIB += -lcrypto -lssl
54
55 #### Tcl shell for use in running the fossil testsuite.
56 #
57 TCLSH = tclsh
58
59 # You should not need to change anything below this line
60 ###############################################################################
61 include $(SRCDIR)/main.mk
62
+5
--- Makefile
+++ Makefile
@@ -30,10 +30,13 @@
3030
# for building intermediate code-generator tools.
3131
#
3232
#TCC = gcc -O6
3333
#TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage
3434
TCC = gcc -g -Os -Wall
35
+
36
+# To add support for HTTPS
37
+TCC += -DFOSSIL_ENABLE_SSL
3538
3639
#### Extra arguments for linking the finished binary. Fossil needs
3740
# to link against the Z-Lib compression library. There are no
3841
# other dependencies. We sometimes add the -static option here
3942
# so that we can build a static executable that will run in a
@@ -44,13 +47,15 @@
4447
# LIB += lsocket
4548
# Solaris 10 needs:
4649
# LIB += -lsocket -lnsl
4750
# My assumption is that the Sol10 flags will work for Sol8/9 and possibly 11.
4851
#
52
+# If using HTTPS:
53
+LIB += -lcrypto -lssl
4954
5055
#### Tcl shell for use in running the fossil testsuite.
5156
#
5257
TCLSH = tclsh
5358
5459
# You should not need to change anything below this line
5560
###############################################################################
5661
include $(SRCDIR)/main.mk
5762
--- Makefile
+++ Makefile
@@ -30,10 +30,13 @@
30 # for building intermediate code-generator tools.
31 #
32 #TCC = gcc -O6
33 #TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage
34 TCC = gcc -g -Os -Wall
 
 
 
35
36 #### Extra arguments for linking the finished binary. Fossil needs
37 # to link against the Z-Lib compression library. There are no
38 # other dependencies. We sometimes add the -static option here
39 # so that we can build a static executable that will run in a
@@ -44,13 +47,15 @@
44 # LIB += lsocket
45 # Solaris 10 needs:
46 # LIB += -lsocket -lnsl
47 # My assumption is that the Sol10 flags will work for Sol8/9 and possibly 11.
48 #
 
 
49
50 #### Tcl shell for use in running the fossil testsuite.
51 #
52 TCLSH = tclsh
53
54 # You should not need to change anything below this line
55 ###############################################################################
56 include $(SRCDIR)/main.mk
57
--- Makefile
+++ Makefile
@@ -30,10 +30,13 @@
30 # for building intermediate code-generator tools.
31 #
32 #TCC = gcc -O6
33 #TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage
34 TCC = gcc -g -Os -Wall
35
36 # To add support for HTTPS
37 TCC += -DFOSSIL_ENABLE_SSL
38
39 #### Extra arguments for linking the finished binary. Fossil needs
40 # to link against the Z-Lib compression library. There are no
41 # other dependencies. We sometimes add the -static option here
42 # so that we can build a static executable that will run in a
@@ -44,13 +47,15 @@
47 # LIB += lsocket
48 # Solaris 10 needs:
49 # LIB += -lsocket -lnsl
50 # My assumption is that the Sol10 flags will work for Sol8/9 and possibly 11.
51 #
52 # If using HTTPS:
53 LIB += -lcrypto -lssl
54
55 #### Tcl shell for use in running the fossil testsuite.
56 #
57 TCLSH = tclsh
58
59 # You should not need to change anything below this line
60 ###############################################################################
61 include $(SRCDIR)/main.mk
62
--- Makefile.w32
+++ Makefile.w32
@@ -16,10 +16,14 @@
1616
1717
#### The suffix to add to executable files. ".exe" for windows.
1818
# Nothing for unix.
1919
#
2020
E = .exe
21
+
22
+#### Enable HTTPS support via OpenSSL (links to libssl and libcrypto)
23
+#
24
+# FOSSIL_ENABLE_SSL=1
2125
2226
#### Enable HTTPS support via OpenSSL (links to libssl and libcrypto)
2327
#
2428
# FOSSIL_ENABLE_SSL=1
2529
2630
2731
ADDED src/http_ssl.c
--- Makefile.w32
+++ Makefile.w32
@@ -16,10 +16,14 @@
16
17 #### The suffix to add to executable files. ".exe" for windows.
18 # Nothing for unix.
19 #
20 E = .exe
 
 
 
 
21
22 #### Enable HTTPS support via OpenSSL (links to libssl and libcrypto)
23 #
24 # FOSSIL_ENABLE_SSL=1
25
26
27 DDED src/http_ssl.c
--- Makefile.w32
+++ Makefile.w32
@@ -16,10 +16,14 @@
16
17 #### The suffix to add to executable files. ".exe" for windows.
18 # Nothing for unix.
19 #
20 E = .exe
21
22 #### Enable HTTPS support via OpenSSL (links to libssl and libcrypto)
23 #
24 # FOSSIL_ENABLE_SSL=1
25
26 #### Enable HTTPS support via OpenSSL (links to libssl and libcrypto)
27 #
28 # FOSSIL_ENABLE_SSL=1
29
30
31 DDED src/http_ssl.c
--- Makefile.w32
+++ Makefile.w32
@@ -16,10 +16,14 @@
1616
1717
#### The suffix to add to executable files. ".exe" for windows.
1818
# Nothing for unix.
1919
#
2020
E = .exe
21
+
22
+#### Enable HTTPS support via OpenSSL (links to libssl and libcrypto)
23
+#
24
+# FOSSIL_ENABLE_SSL=1
2125
2226
#### Enable HTTPS support via OpenSSL (links to libssl and libcrypto)
2327
#
2428
# FOSSIL_ENABLE_SSL=1
2529
2630
2731
ADDED src/http_ssl.c
--- Makefile.w32
+++ Makefile.w32
@@ -16,10 +16,14 @@
16
17 #### The suffix to add to executable files. ".exe" for windows.
18 # Nothing for unix.
19 #
20 E = .exe
 
 
 
 
21
22 #### Enable HTTPS support via OpenSSL (links to libssl and libcrypto)
23 #
24 # FOSSIL_ENABLE_SSL=1
25
26
27 DDED src/http_ssl.c
--- Makefile.w32
+++ Makefile.w32
@@ -16,10 +16,14 @@
16
17 #### The suffix to add to executable files. ".exe" for windows.
18 # Nothing for unix.
19 #
20 E = .exe
21
22 #### Enable HTTPS support via OpenSSL (links to libssl and libcrypto)
23 #
24 # FOSSIL_ENABLE_SSL=1
25
26 #### Enable HTTPS support via OpenSSL (links to libssl and libcrypto)
27 #
28 # FOSSIL_ENABLE_SSL=1
29
30
31 DDED src/http_ssl.c
--- a/src/http_ssl.c
+++ b/src/http_ssl.c
@@ -0,0 +1,78 @@
1
+voidg.g.urlPg.ur(c)me, g.urlPort,g.urlPath = g.g.urlHg.g.urlNg.urlPg.urlName, g.urlPort,g.useProxy?g.urlHostname:g.urlGNU General Public
2
+** License version 2 as published by the Free Software Foundation._STRINGSlsendif
3
+ }
4
+
5
+ = (const unsigned char *) }
6
+
7
+OSTNAMg.urlNg.urlN!= 200cWITHOUT ANY WARRANTY%s\r\n"
8
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9
+** General Public License for more details.
10
+**
11
+** You should have received a copy of the GNU General Public
12
+** License along with this library; if not, write to the
13
+** Free Software Foundation, Inc., 59 Temple Place - Suite 330,
14
+** Boston, MA 02111-1307, USA"Host: %s\r\n"
15
+
16
+
17
+ \r\n",
18
+ , g.urlHostnameBIO_write(bio, connStr, strle,);
19
+ }else{:%d\r\n, g.proxyOrigPort:%dproxyOrigPortoidg.g.urlPg.urlName, g.urlPort,g.urlPath = g.g.urlHg.g.urlNg.urlPg.urlName, g.urlPort,g.useProxy?g.urlHostname:ef HAVE_BIO_ADDR_HOSTNAME_STRINGSlsendif
20
+ }
21
+
22
+ = (const unsigned char *) }
23
+
24
+OSTNAMg.urlNg.urlN!= 200connStr, *bbuf;
25
+ Blobif( !g.urlProxyAut
26
+"Host: %s\r\n"
27
+
28
+ \r\n",
29
+ , g.urlHostname);
30
+ }e
31
+"Host: %s\r\n"
32
+
33
+
34
+ \r\n",
35
+ , g.urlHostnameBIO_write(bio, connStr, str#include "config.h"r
36
+#ifdef FOSSIL_ENABLE_SSLgurlPath = g.g.urlHgABLE_SSLg.urlPath = g.g.urlort** Make sure the CERT tame:g.urlName,
37
+ 2);
38
+ trusted2 blob_reset(&ans);const char *identityFile = ( g.zSSLIdentity!= 0) ? g.zSSLIdentity : identityFile identityFile, SSL_FILETYPE_PEM)!=1char *connStr ;%d", g.urlName, g.urlPort);VconnStr);
39
+ free(connStrSSL_get_verify_result(ssloidg.g.urlPg.ur©me, g.urlPort,g.urlPath = g.g.urlHg.g.urlNg.urlPg.urlName, g.urlPrlHostnameBIO_write(bio, connStr, strle,);
40
+ }else{:%d\r\n, g.proxyOrigPort:%dproxyOrigPortoidg.g.urlPg.urlName, g.urlPort,g.urlPath = g.g.urlHg.g.urlNg.urlPg.urlName, g.urlPort,g.useProxy?g.urlHostname:g.urlName,
41
+ g.useProxy?g.proxyOrigPort:g.urlPg.urlNg.urlN def HAVE_BIO_ADDR_HOSTNAME_STRINGSlsendif
42
+ }
43
+
44
+ = (const unsigned char *) }
45
+
46
+OSTNAMg.urlNg.urlN!= 200connStr, *bbuf;
47
+ Blobif( !g.urlProxyAut
48
+"Home, type)
49
+ @ );
50
+ ;
51
+ db_multi_exec(zSql);
52
+1;g.useProxy?g.urlHostname:g.urlName!='a' =='a' Blob ans2;[a=always/N]? ", &ans2);
53
+ trusted2 blob_reset(&ans);char *voidg.g.urlPg.ur(c)me, g.urlPort,g.urlPath = g.g.urlHg.g.urlNg.urlPg.urlName, g.urlPort,g.useProxy?g.urlHostname:g.urlGNU General Public
54
+** License version 2 as published by the Free Software Foundation._STRINGSlsendif
55
+ }
56
+
57
+ = (const unsigned char *) }
58
+
59
+OSTNAMg.urlNg.urlN!= 200cWITHOUT ANY WARRANTY%s\r\n"
60
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
61
+** General Public License for more details.
62
+**
63
+** You should have received a copy of the GNU General Public
64
+** License along with this library; if not, write to the
65
+** Free Software Foundation, Inc., 59 Temple Place - Suite 330,
66
+** Boston, MA 02111-1307, USA"Host: %s\r\n"
67
+
68
+
69
+ \r\n",
70
+ , g.urlHostnameBIO_write(bio, connStr, strle,);
71
+ }else{:%d\r\n, g.proxyOrigPort:)me, g.urlPort,g.urlPath = g.g.urlHg.g.urlNg.urlPg.urlName, g.urlPort,g.useProxy?g.urlHostname:g.urlGNU General Public
72
+** License version 2 as published by the Free Software Foundation._STRINGSlsendif
73
+ }
74
+
75
+ = (const unsigned char *) }
76
+
77
+OSTNAMg.urlNg.urlN!= 200cWITHOUT ANY WARRANTY%s\r\n"
78
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPBlob ans;blob_zero(&ans)
--- a/src/http_ssl.c
+++ b/src/http_ssl.c
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
--- a/src/http_ssl.c
+++ b/src/http_ssl.c
@@ -0,0 +1,78 @@
1 voidg.g.urlPg.ur(c)me, g.urlPort,g.urlPath = g.g.urlHg.g.urlNg.urlPg.urlName, g.urlPort,g.useProxy?g.urlHostname:g.urlGNU General Public
2 ** License version 2 as published by the Free Software Foundation._STRINGSlsendif
3 }
4
5 = (const unsigned char *) }
6
7 OSTNAMg.urlNg.urlN!= 200cWITHOUT ANY WARRANTY%s\r\n"
8 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9 ** General Public License for more details.
10 **
11 ** You should have received a copy of the GNU General Public
12 ** License along with this library; if not, write to the
13 ** Free Software Foundation, Inc., 59 Temple Place - Suite 330,
14 ** Boston, MA 02111-1307, USA"Host: %s\r\n"
15
16
17 \r\n",
18 , g.urlHostnameBIO_write(bio, connStr, strle,);
19 }else{:%d\r\n, g.proxyOrigPort:%dproxyOrigPortoidg.g.urlPg.urlName, g.urlPort,g.urlPath = g.g.urlHg.g.urlNg.urlPg.urlName, g.urlPort,g.useProxy?g.urlHostname:ef HAVE_BIO_ADDR_HOSTNAME_STRINGSlsendif
20 }
21
22 = (const unsigned char *) }
23
24 OSTNAMg.urlNg.urlN!= 200connStr, *bbuf;
25 Blobif( !g.urlProxyAut
26 "Host: %s\r\n"
27
28 \r\n",
29 , g.urlHostname);
30 }e
31 "Host: %s\r\n"
32
33
34 \r\n",
35 , g.urlHostnameBIO_write(bio, connStr, str#include "config.h"r
36 #ifdef FOSSIL_ENABLE_SSLgurlPath = g.g.urlHgABLE_SSLg.urlPath = g.g.urlort** Make sure the CERT tame:g.urlName,
37 2);
38 trusted2 blob_reset(&ans);const char *identityFile = ( g.zSSLIdentity!= 0) ? g.zSSLIdentity : identityFile identityFile, SSL_FILETYPE_PEM)!=1char *connStr ;%d", g.urlName, g.urlPort);VconnStr);
39 free(connStrSSL_get_verify_result(ssloidg.g.urlPg.ur©me, g.urlPort,g.urlPath = g.g.urlHg.g.urlNg.urlPg.urlName, g.urlPrlHostnameBIO_write(bio, connStr, strle,);
40 }else{:%d\r\n, g.proxyOrigPort:%dproxyOrigPortoidg.g.urlPg.urlName, g.urlPort,g.urlPath = g.g.urlHg.g.urlNg.urlPg.urlName, g.urlPort,g.useProxy?g.urlHostname:g.urlName,
41 g.useProxy?g.proxyOrigPort:g.urlPg.urlNg.urlN def HAVE_BIO_ADDR_HOSTNAME_STRINGSlsendif
42 }
43
44 = (const unsigned char *) }
45
46 OSTNAMg.urlNg.urlN!= 200connStr, *bbuf;
47 Blobif( !g.urlProxyAut
48 "Home, type)
49 @ );
50 ;
51 db_multi_exec(zSql);
52 1;g.useProxy?g.urlHostname:g.urlName!='a' =='a' Blob ans2;[a=always/N]? ", &ans2);
53 trusted2 blob_reset(&ans);char *voidg.g.urlPg.ur(c)me, g.urlPort,g.urlPath = g.g.urlHg.g.urlNg.urlPg.urlName, g.urlPort,g.useProxy?g.urlHostname:g.urlGNU General Public
54 ** License version 2 as published by the Free Software Foundation._STRINGSlsendif
55 }
56
57 = (const unsigned char *) }
58
59 OSTNAMg.urlNg.urlN!= 200cWITHOUT ANY WARRANTY%s\r\n"
60 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
61 ** General Public License for more details.
62 **
63 ** You should have received a copy of the GNU General Public
64 ** License along with this library; if not, write to the
65 ** Free Software Foundation, Inc., 59 Temple Place - Suite 330,
66 ** Boston, MA 02111-1307, USA"Host: %s\r\n"
67
68
69 \r\n",
70 , g.urlHostnameBIO_write(bio, connStr, strle,);
71 }else{:%d\r\n, g.proxyOrigPort:)me, g.urlPort,g.urlPath = g.g.urlHg.g.urlNg.urlPg.urlName, g.urlPort,g.useProxy?g.urlHostname:g.urlGNU General Public
72 ** License version 2 as published by the Free Software Foundation._STRINGSlsendif
73 }
74
75 = (const unsigned char *) }
76
77 OSTNAMg.urlNg.urlN!= 200cWITHOUT ANY WARRANTY%s\r\n"
78 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPBlob ans;blob_zero(&ans)
+1 -1
--- a/src/http_ssl.c
+++ b/src/http_ssl.c
@@ -33,7 +33,7 @@
3333
3434
\r\n",
3535
, g.urlHostnameBIO_write(bio, connStr, str#include "config.h"r
36
-#ifdef FOSSIL_ENABLE_SSLgurlPath = g.g.urlHgABLE_SSLg.urlPath = g.BLE_SSLg.urlPath = g.g.urlort** Make sure the CERT tame:g.urlName,
36
+#ifdef FOSSIL_ENABLE_SSLgurlPath = g.g.urlHgABLE_SSLg.urlPath = g.g.urlort** Make sure the CERT tame:g.urlName,
3737
2);
3838
trusted2 blob_reset(&ans);const char *identityFile = ( g.zSSLIdentity!= 0) ? g.zSSLIdentity : identityFile identityFile, SSL_FILETYPE_PEM)!=1char *connStr ;%d", g.urlName, g.urlPort);VconnStr);
3939
free(connStrSSL_get_verify_result(ssloidg.g.urlPg.ur©me, g.urlPort,g.urlPath = g.g.urlHg.g.urlNg.urlPg.urlName, g.urlPrlHostnameBIO_write(bio, connStr, strle,);
--- a/src/http_ssl.c
+++ b/src/http_ssl.c
@@ -33,7 +33,7 @@
33
34 \r\n",
35 , g.urlHostnameBIO_write(bio, connStr, str#include "config.h"r
36 #ifdef FOSSIL_ENABLE_SSLgurlPath = g.g.urlHgABLE_SSLg.urlPath = g.BLE_SSLg.urlPath = g.g.urlort** Make sure the CERT tame:g.urlName,
37 2);
38 trusted2 blob_reset(&ans);const char *identityFile = ( g.zSSLIdentity!= 0) ? g.zSSLIdentity : identityFile identityFile, SSL_FILETYPE_PEM)!=1char *connStr ;%d", g.urlName, g.urlPort);VconnStr);
39 free(connStrSSL_get_verify_result(ssloidg.g.urlPg.ur©me, g.urlPort,g.urlPath = g.g.urlHg.g.urlNg.urlPg.urlName, g.urlPrlHostnameBIO_write(bio, connStr, strle,);
--- a/src/http_ssl.c
+++ b/src/http_ssl.c
@@ -33,7 +33,7 @@
33
34 \r\n",
35 , g.urlHostnameBIO_write(bio, connStr, str#include "config.h"r
36 #ifdef FOSSIL_ENABLE_SSLgurlPath = g.g.urlHgABLE_SSLg.urlPath = g.g.urlort** Make sure the CERT tame:g.urlName,
37 2);
38 trusted2 blob_reset(&ans);const char *identityFile = ( g.zSSLIdentity!= 0) ? g.zSSLIdentity : identityFile identityFile, SSL_FILETYPE_PEM)!=1char *connStr ;%d", g.urlName, g.urlPort);VconnStr);
39 free(connStrSSL_get_verify_result(ssloidg.g.urlPg.ur©me, g.urlPort,g.urlPath = g.g.urlHg.g.urlNg.urlPg.urlName, g.urlPrlHostnameBIO_write(bio, connStr, strle,);
+12 -2
--- src/main.mk
+++ src/main.mk
@@ -40,10 +40,11 @@
4040
$(SRCDIR)/file.c \
4141
$(SRCDIR)/finfo.c \
4242
$(SRCDIR)/graph.c \
4343
$(SRCDIR)/http.c \
4444
$(SRCDIR)/http_socket.c \
45
+ $(SRCDIR)/http_ssl.c \
4546
$(SRCDIR)/http_transport.c \
4647
$(SRCDIR)/info.c \
4748
$(SRCDIR)/login.c \
4849
$(SRCDIR)/main.c \
4950
$(SRCDIR)/manifest.c \
@@ -111,10 +112,11 @@
111112
file_.c \
112113
finfo_.c \
113114
graph_.c \
114115
http_.c \
115116
http_socket_.c \
117
+ http_ssl_.c \
116118
http_transport_.c \
117119
info_.c \
118120
login_.c \
119121
main_.c \
120122
manifest_.c \
@@ -182,10 +184,11 @@
182184
$(OBJDIR)/file.o \
183185
$(OBJDIR)/finfo.o \
184186
$(OBJDIR)/graph.o \
185187
$(OBJDIR)/http.o \
186188
$(OBJDIR)/http_socket.o \
189
+ $(OBJDIR)/http_ssl.o \
187190
$(OBJDIR)/http_transport.o \
188191
$(OBJDIR)/info.o \
189192
$(OBJDIR)/login.o \
190193
$(OBJDIR)/main.o \
191194
$(OBJDIR)/manifest.o \
@@ -267,16 +270,16 @@
267270
# noop
268271
269272
clean:
270273
rm -f $(OBJDIR)/*.o *_.c $(APPNAME) VERSION.h
271274
rm -f translate makeheaders mkindex page_index.h headers
272
- rm -f add.h allrepo.h attach.h bag.h blob.h branch.h browse.h captcha.h cgi.h checkin.h checkout.h clearsign.h clone.h comformat.h configure.h content.h db.h delta.h deltacmd.h descendants.h diff.h diffcmd.h doc.h encode.h file.h finfo.h graph.h http.h http_socket.h http_transport.h info.h login.h main.h manifest.h md5.h merge.h merge3.h name.h pivot.h pqueue.h printf.h rebuild.h report.h rss.h schema.h search.h setup.h sha1.h shun.h skins.h stat.h style.h sync.h tag.h th_main.h timeline.h tkt.h tktsetup.h undo.h update.h url.h user.h verify.h vfile.h wiki.h wikiformat.h winhttp.h xfer.h zip.h
275
+ rm -f add.h allrepo.h attach.h bag.h blob.h branch.h browse.h captcha.h cgi.h checkin.h checkout.h clearsign.h clone.h comformat.h configure.h content.h db.h delta.h deltacmd.h descendants.h diff.h diffcmd.h doc.h encode.h file.h finfo.h graph.h http.h http_socket.h http_ssl.h http_transport.h info.h login.h main.h manifest.h md5.h merge.h merge3.h name.h pivot.h pqueue.h printf.h rebuild.h report.h rss.h schema.h search.h setup.h sha1.h shun.h skins.h stat.h style.h sync.h tag.h th_main.h timeline.h tkt.h tktsetup.h undo.h update.h url.h user.h verify.h vfile.h wiki.h wikiformat.h winhttp.h xfer.h zip.h
273276
274277
page_index.h: $(TRANS_SRC) mkindex
275278
./mkindex $(TRANS_SRC) >$@
276279
headers: page_index.h makeheaders VERSION.h
277
- ./makeheaders add_.c:add.h allrepo_.c:allrepo.h attach_.c:attach.h bag_.c:bag.h blob_.c:blob.h branch_.c:branch.h browse_.c:browse.h captcha_.c:captcha.h cgi_.c:cgi.h checkin_.c:checkin.h checkout_.c:checkout.h clearsign_.c:clearsign.h clone_.c:clone.h comformat_.c:comformat.h configure_.c:configure.h content_.c:content.h db_.c:db.h delta_.c:delta.h deltacmd_.c:deltacmd.h descendants_.c:descendants.h diff_.c:diff.h diffcmd_.c:diffcmd.h doc_.c:doc.h encode_.c:encode.h file_.c:file.h finfo_.c:finfo.h graph_.c:graph.h http_.c:http.h http_socket_.c:http_socket.h http_transport_.c:http_transport.h info_.c:info.h login_.c:login.h main_.c:main.h manifest_.c:manifest.h md5_.c:md5.h merge_.c:merge.h merge3_.c:merge3.h name_.c:name.h pivot_.c:pivot.h pqueue_.c:pqueue.h printf_.c:printf.h rebuild_.c:rebuild.h report_.c:report.h rss_.c:rss.h schema_.c:schema.h search_.c:search.h setup_.c:setup.h sha1_.c:sha1.h shun_.c:shun.h skins_.c:skins.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h th_main_.c:th_main.h timeline_.c:timeline.h tkt_.c:tkt.h tktsetup_.c:tktsetup.h undo_.c:undo.h update_.c:update.h url_.c:url.h user_.c:user.h verify_.c:verify.h vfile_.c:vfile.h wiki_.c:wiki.h wikiformat_.c:wikiformat.h winhttp_.c:winhttp.h xfer_.c:xfer.h zip_.c:zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h VERSION.h
280
+ ./makeheaders add_.c:add.h allrepo_.c:allrepo.h attach_.c:attach.h bag_.c:bag.h blob_.c:blob.h branch_.c:branch.h browse_.c:browse.h captcha_.c:captcha.h cgi_.c:cgi.h checkin_.c:checkin.h checkout_.c:checkout.h clearsign_.c:clearsign.h clone_.c:clone.h comformat_.c:comformat.h configure_.c:configure.h content_.c:content.h db_.c:db.h delta_.c:delta.h deltacmd_.c:deltacmd.h descendants_.c:descendants.h diff_.c:diff.h diffcmd_.c:diffcmd.h doc_.c:doc.h encode_.c:encode.h file_.c:file.h finfo_.c:finfo.h graph_.c:graph.h http_.c:http.h http_socket_.c:http_socket.h http_ssl_.c:http_ssl.h http_transport_.c:http_transport.h info_.c:info.h login_.c:login.h main_.c:main.h manifest_.c:manifest.h md5_.c:md5.h merge_.c:merge.h merge3_.c:merge3.h name_.c:name.h pivot_.c:pivot.h pqueue_.c:pqueue.h printf_.c:printf.h rebuild_.c:rebuild.h report_.c:report.h rss_.c:rss.h schema_.c:schema.h search_.c:search.h setup_.c:setup.h sha1_.c:sha1.h shun_.c:shun.h skins_.c:skins.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h th_main_.c:th_main.h timeline_.c:timeline.h tkt_.c:tkt.h tktsetup_.c:tktsetup.h undo_.c:undo.h update_.c:update.h url_.c:url.h user_.c:user.h verify_.c:verify.h vfile_.c:vfile.h wiki_.c:wiki.h wikiformat_.c:wikiformat.h winhttp_.c:winhttp.h xfer_.c:xfer.h zip_.c:zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h VERSION.h
278281
touch headers
279282
headers: Makefile
280283
Makefile:
281284
add_.c: $(SRCDIR)/add.c translate
282285
./translate $(SRCDIR)/add.c >add_.c
@@ -479,10 +482,17 @@
479482
480483
$(OBJDIR)/http_socket.o: http_socket_.c http_socket.h $(SRCDIR)/config.h
481484
$(XTCC) -o $(OBJDIR)/http_socket.o -c http_socket_.c
482485
483486
http_socket.h: headers
487
+http_ssl_.c: $(SRCDIR)/http_ssl.c translate
488
+ ./translate $(SRCDIR)/http_ssl.c >http_ssl_.c
489
+
490
+$(OBJDIR)/http_ssl.o: http_ssl_.c http_ssl.h $(SRCDIR)/config.h
491
+ $(XTCC) -o $(OBJDIR)/http_ssl.o -c http_ssl_.c
492
+
493
+http_ssl.h: headers
484494
http_transport_.c: $(SRCDIR)/http_transport.c translate
485495
./translate $(SRCDIR)/http_transport.c >http_transport_.c
486496
487497
$(OBJDIR)/http_transport.o: http_transport_.c http_transport.h $(SRCDIR)/config.h
488498
$(XTCC) -o $(OBJDIR)/http_transport.o -c http_transport_.c
489499
--- src/main.mk
+++ src/main.mk
@@ -40,10 +40,11 @@
40 $(SRCDIR)/file.c \
41 $(SRCDIR)/finfo.c \
42 $(SRCDIR)/graph.c \
43 $(SRCDIR)/http.c \
44 $(SRCDIR)/http_socket.c \
 
45 $(SRCDIR)/http_transport.c \
46 $(SRCDIR)/info.c \
47 $(SRCDIR)/login.c \
48 $(SRCDIR)/main.c \
49 $(SRCDIR)/manifest.c \
@@ -111,10 +112,11 @@
111 file_.c \
112 finfo_.c \
113 graph_.c \
114 http_.c \
115 http_socket_.c \
 
116 http_transport_.c \
117 info_.c \
118 login_.c \
119 main_.c \
120 manifest_.c \
@@ -182,10 +184,11 @@
182 $(OBJDIR)/file.o \
183 $(OBJDIR)/finfo.o \
184 $(OBJDIR)/graph.o \
185 $(OBJDIR)/http.o \
186 $(OBJDIR)/http_socket.o \
 
187 $(OBJDIR)/http_transport.o \
188 $(OBJDIR)/info.o \
189 $(OBJDIR)/login.o \
190 $(OBJDIR)/main.o \
191 $(OBJDIR)/manifest.o \
@@ -267,16 +270,16 @@
267 # noop
268
269 clean:
270 rm -f $(OBJDIR)/*.o *_.c $(APPNAME) VERSION.h
271 rm -f translate makeheaders mkindex page_index.h headers
272 rm -f add.h allrepo.h attach.h bag.h blob.h branch.h browse.h captcha.h cgi.h checkin.h checkout.h clearsign.h clone.h comformat.h configure.h content.h db.h delta.h deltacmd.h descendants.h diff.h diffcmd.h doc.h encode.h file.h finfo.h graph.h http.h http_socket.h http_transport.h info.h login.h main.h manifest.h md5.h merge.h merge3.h name.h pivot.h pqueue.h printf.h rebuild.h report.h rss.h schema.h search.h setup.h sha1.h shun.h skins.h stat.h style.h sync.h tag.h th_main.h timeline.h tkt.h tktsetup.h undo.h update.h url.h user.h verify.h vfile.h wiki.h wikiformat.h winhttp.h xfer.h zip.h
273
274 page_index.h: $(TRANS_SRC) mkindex
275 ./mkindex $(TRANS_SRC) >$@
276 headers: page_index.h makeheaders VERSION.h
277 ./makeheaders add_.c:add.h allrepo_.c:allrepo.h attach_.c:attach.h bag_.c:bag.h blob_.c:blob.h branch_.c:branch.h browse_.c:browse.h captcha_.c:captcha.h cgi_.c:cgi.h checkin_.c:checkin.h checkout_.c:checkout.h clearsign_.c:clearsign.h clone_.c:clone.h comformat_.c:comformat.h configure_.c:configure.h content_.c:content.h db_.c:db.h delta_.c:delta.h deltacmd_.c:deltacmd.h descendants_.c:descendants.h diff_.c:diff.h diffcmd_.c:diffcmd.h doc_.c:doc.h encode_.c:encode.h file_.c:file.h finfo_.c:finfo.h graph_.c:graph.h http_.c:http.h http_socket_.c:http_socket.h http_transport_.c:http_transport.h info_.c:info.h login_.c:login.h main_.c:main.h manifest_.c:manifest.h md5_.c:md5.h merge_.c:merge.h merge3_.c:merge3.h name_.c:name.h pivot_.c:pivot.h pqueue_.c:pqueue.h printf_.c:printf.h rebuild_.c:rebuild.h report_.c:report.h rss_.c:rss.h schema_.c:schema.h search_.c:search.h setup_.c:setup.h sha1_.c:sha1.h shun_.c:shun.h skins_.c:skins.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h th_main_.c:th_main.h timeline_.c:timeline.h tkt_.c:tkt.h tktsetup_.c:tktsetup.h undo_.c:undo.h update_.c:update.h url_.c:url.h user_.c:user.h verify_.c:verify.h vfile_.c:vfile.h wiki_.c:wiki.h wikiformat_.c:wikiformat.h winhttp_.c:winhttp.h xfer_.c:xfer.h zip_.c:zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h VERSION.h
278 touch headers
279 headers: Makefile
280 Makefile:
281 add_.c: $(SRCDIR)/add.c translate
282 ./translate $(SRCDIR)/add.c >add_.c
@@ -479,10 +482,17 @@
479
480 $(OBJDIR)/http_socket.o: http_socket_.c http_socket.h $(SRCDIR)/config.h
481 $(XTCC) -o $(OBJDIR)/http_socket.o -c http_socket_.c
482
483 http_socket.h: headers
 
 
 
 
 
 
 
484 http_transport_.c: $(SRCDIR)/http_transport.c translate
485 ./translate $(SRCDIR)/http_transport.c >http_transport_.c
486
487 $(OBJDIR)/http_transport.o: http_transport_.c http_transport.h $(SRCDIR)/config.h
488 $(XTCC) -o $(OBJDIR)/http_transport.o -c http_transport_.c
489
--- src/main.mk
+++ src/main.mk
@@ -40,10 +40,11 @@
40 $(SRCDIR)/file.c \
41 $(SRCDIR)/finfo.c \
42 $(SRCDIR)/graph.c \
43 $(SRCDIR)/http.c \
44 $(SRCDIR)/http_socket.c \
45 $(SRCDIR)/http_ssl.c \
46 $(SRCDIR)/http_transport.c \
47 $(SRCDIR)/info.c \
48 $(SRCDIR)/login.c \
49 $(SRCDIR)/main.c \
50 $(SRCDIR)/manifest.c \
@@ -111,10 +112,11 @@
112 file_.c \
113 finfo_.c \
114 graph_.c \
115 http_.c \
116 http_socket_.c \
117 http_ssl_.c \
118 http_transport_.c \
119 info_.c \
120 login_.c \
121 main_.c \
122 manifest_.c \
@@ -182,10 +184,11 @@
184 $(OBJDIR)/file.o \
185 $(OBJDIR)/finfo.o \
186 $(OBJDIR)/graph.o \
187 $(OBJDIR)/http.o \
188 $(OBJDIR)/http_socket.o \
189 $(OBJDIR)/http_ssl.o \
190 $(OBJDIR)/http_transport.o \
191 $(OBJDIR)/info.o \
192 $(OBJDIR)/login.o \
193 $(OBJDIR)/main.o \
194 $(OBJDIR)/manifest.o \
@@ -267,16 +270,16 @@
270 # noop
271
272 clean:
273 rm -f $(OBJDIR)/*.o *_.c $(APPNAME) VERSION.h
274 rm -f translate makeheaders mkindex page_index.h headers
275 rm -f add.h allrepo.h attach.h bag.h blob.h branch.h browse.h captcha.h cgi.h checkin.h checkout.h clearsign.h clone.h comformat.h configure.h content.h db.h delta.h deltacmd.h descendants.h diff.h diffcmd.h doc.h encode.h file.h finfo.h graph.h http.h http_socket.h http_ssl.h http_transport.h info.h login.h main.h manifest.h md5.h merge.h merge3.h name.h pivot.h pqueue.h printf.h rebuild.h report.h rss.h schema.h search.h setup.h sha1.h shun.h skins.h stat.h style.h sync.h tag.h th_main.h timeline.h tkt.h tktsetup.h undo.h update.h url.h user.h verify.h vfile.h wiki.h wikiformat.h winhttp.h xfer.h zip.h
276
277 page_index.h: $(TRANS_SRC) mkindex
278 ./mkindex $(TRANS_SRC) >$@
279 headers: page_index.h makeheaders VERSION.h
280 ./makeheaders add_.c:add.h allrepo_.c:allrepo.h attach_.c:attach.h bag_.c:bag.h blob_.c:blob.h branch_.c:branch.h browse_.c:browse.h captcha_.c:captcha.h cgi_.c:cgi.h checkin_.c:checkin.h checkout_.c:checkout.h clearsign_.c:clearsign.h clone_.c:clone.h comformat_.c:comformat.h configure_.c:configure.h content_.c:content.h db_.c:db.h delta_.c:delta.h deltacmd_.c:deltacmd.h descendants_.c:descendants.h diff_.c:diff.h diffcmd_.c:diffcmd.h doc_.c:doc.h encode_.c:encode.h file_.c:file.h finfo_.c:finfo.h graph_.c:graph.h http_.c:http.h http_socket_.c:http_socket.h http_ssl_.c:http_ssl.h http_transport_.c:http_transport.h info_.c:info.h login_.c:login.h main_.c:main.h manifest_.c:manifest.h md5_.c:md5.h merge_.c:merge.h merge3_.c:merge3.h name_.c:name.h pivot_.c:pivot.h pqueue_.c:pqueue.h printf_.c:printf.h rebuild_.c:rebuild.h report_.c:report.h rss_.c:rss.h schema_.c:schema.h search_.c:search.h setup_.c:setup.h sha1_.c:sha1.h shun_.c:shun.h skins_.c:skins.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h th_main_.c:th_main.h timeline_.c:timeline.h tkt_.c:tkt.h tktsetup_.c:tktsetup.h undo_.c:undo.h update_.c:update.h url_.c:url.h user_.c:user.h verify_.c:verify.h vfile_.c:vfile.h wiki_.c:wiki.h wikiformat_.c:wikiformat.h winhttp_.c:winhttp.h xfer_.c:xfer.h zip_.c:zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h VERSION.h
281 touch headers
282 headers: Makefile
283 Makefile:
284 add_.c: $(SRCDIR)/add.c translate
285 ./translate $(SRCDIR)/add.c >add_.c
@@ -479,10 +482,17 @@
482
483 $(OBJDIR)/http_socket.o: http_socket_.c http_socket.h $(SRCDIR)/config.h
484 $(XTCC) -o $(OBJDIR)/http_socket.o -c http_socket_.c
485
486 http_socket.h: headers
487 http_ssl_.c: $(SRCDIR)/http_ssl.c translate
488 ./translate $(SRCDIR)/http_ssl.c >http_ssl_.c
489
490 $(OBJDIR)/http_ssl.o: http_ssl_.c http_ssl.h $(SRCDIR)/config.h
491 $(XTCC) -o $(OBJDIR)/http_ssl.o -c http_ssl_.c
492
493 http_ssl.h: headers
494 http_transport_.c: $(SRCDIR)/http_transport.c translate
495 ./translate $(SRCDIR)/http_transport.c >http_transport_.c
496
497 $(OBJDIR)/http_transport.o: http_transport_.c http_transport.h $(SRCDIR)/config.h
498 $(XTCC) -o $(OBJDIR)/http_transport.o -c http_transport_.c
499
+12 -2
--- src/main.mk
+++ src/main.mk
@@ -40,10 +40,11 @@
4040
$(SRCDIR)/file.c \
4141
$(SRCDIR)/finfo.c \
4242
$(SRCDIR)/graph.c \
4343
$(SRCDIR)/http.c \
4444
$(SRCDIR)/http_socket.c \
45
+ $(SRCDIR)/http_ssl.c \
4546
$(SRCDIR)/http_transport.c \
4647
$(SRCDIR)/info.c \
4748
$(SRCDIR)/login.c \
4849
$(SRCDIR)/main.c \
4950
$(SRCDIR)/manifest.c \
@@ -111,10 +112,11 @@
111112
file_.c \
112113
finfo_.c \
113114
graph_.c \
114115
http_.c \
115116
http_socket_.c \
117
+ http_ssl_.c \
116118
http_transport_.c \
117119
info_.c \
118120
login_.c \
119121
main_.c \
120122
manifest_.c \
@@ -182,10 +184,11 @@
182184
$(OBJDIR)/file.o \
183185
$(OBJDIR)/finfo.o \
184186
$(OBJDIR)/graph.o \
185187
$(OBJDIR)/http.o \
186188
$(OBJDIR)/http_socket.o \
189
+ $(OBJDIR)/http_ssl.o \
187190
$(OBJDIR)/http_transport.o \
188191
$(OBJDIR)/info.o \
189192
$(OBJDIR)/login.o \
190193
$(OBJDIR)/main.o \
191194
$(OBJDIR)/manifest.o \
@@ -267,16 +270,16 @@
267270
# noop
268271
269272
clean:
270273
rm -f $(OBJDIR)/*.o *_.c $(APPNAME) VERSION.h
271274
rm -f translate makeheaders mkindex page_index.h headers
272
- rm -f add.h allrepo.h attach.h bag.h blob.h branch.h browse.h captcha.h cgi.h checkin.h checkout.h clearsign.h clone.h comformat.h configure.h content.h db.h delta.h deltacmd.h descendants.h diff.h diffcmd.h doc.h encode.h file.h finfo.h graph.h http.h http_socket.h http_transport.h info.h login.h main.h manifest.h md5.h merge.h merge3.h name.h pivot.h pqueue.h printf.h rebuild.h report.h rss.h schema.h search.h setup.h sha1.h shun.h skins.h stat.h style.h sync.h tag.h th_main.h timeline.h tkt.h tktsetup.h undo.h update.h url.h user.h verify.h vfile.h wiki.h wikiformat.h winhttp.h xfer.h zip.h
275
+ rm -f add.h allrepo.h attach.h bag.h blob.h branch.h browse.h captcha.h cgi.h checkin.h checkout.h clearsign.h clone.h comformat.h configure.h content.h db.h delta.h deltacmd.h descendants.h diff.h diffcmd.h doc.h encode.h file.h finfo.h graph.h http.h http_socket.h http_ssl.h http_transport.h info.h login.h main.h manifest.h md5.h merge.h merge3.h name.h pivot.h pqueue.h printf.h rebuild.h report.h rss.h schema.h search.h setup.h sha1.h shun.h skins.h stat.h style.h sync.h tag.h th_main.h timeline.h tkt.h tktsetup.h undo.h update.h url.h user.h verify.h vfile.h wiki.h wikiformat.h winhttp.h xfer.h zip.h
273276
274277
page_index.h: $(TRANS_SRC) mkindex
275278
./mkindex $(TRANS_SRC) >$@
276279
headers: page_index.h makeheaders VERSION.h
277
- ./makeheaders add_.c:add.h allrepo_.c:allrepo.h attach_.c:attach.h bag_.c:bag.h blob_.c:blob.h branch_.c:branch.h browse_.c:browse.h captcha_.c:captcha.h cgi_.c:cgi.h checkin_.c:checkin.h checkout_.c:checkout.h clearsign_.c:clearsign.h clone_.c:clone.h comformat_.c:comformat.h configure_.c:configure.h content_.c:content.h db_.c:db.h delta_.c:delta.h deltacmd_.c:deltacmd.h descendants_.c:descendants.h diff_.c:diff.h diffcmd_.c:diffcmd.h doc_.c:doc.h encode_.c:encode.h file_.c:file.h finfo_.c:finfo.h graph_.c:graph.h http_.c:http.h http_socket_.c:http_socket.h http_transport_.c:http_transport.h info_.c:info.h login_.c:login.h main_.c:main.h manifest_.c:manifest.h md5_.c:md5.h merge_.c:merge.h merge3_.c:merge3.h name_.c:name.h pivot_.c:pivot.h pqueue_.c:pqueue.h printf_.c:printf.h rebuild_.c:rebuild.h report_.c:report.h rss_.c:rss.h schema_.c:schema.h search_.c:search.h setup_.c:setup.h sha1_.c:sha1.h shun_.c:shun.h skins_.c:skins.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h th_main_.c:th_main.h timeline_.c:timeline.h tkt_.c:tkt.h tktsetup_.c:tktsetup.h undo_.c:undo.h update_.c:update.h url_.c:url.h user_.c:user.h verify_.c:verify.h vfile_.c:vfile.h wiki_.c:wiki.h wikiformat_.c:wikiformat.h winhttp_.c:winhttp.h xfer_.c:xfer.h zip_.c:zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h VERSION.h
280
+ ./makeheaders add_.c:add.h allrepo_.c:allrepo.h attach_.c:attach.h bag_.c:bag.h blob_.c:blob.h branch_.c:branch.h browse_.c:browse.h captcha_.c:captcha.h cgi_.c:cgi.h checkin_.c:checkin.h checkout_.c:checkout.h clearsign_.c:clearsign.h clone_.c:clone.h comformat_.c:comformat.h configure_.c:configure.h content_.c:content.h db_.c:db.h delta_.c:delta.h deltacmd_.c:deltacmd.h descendants_.c:descendants.h diff_.c:diff.h diffcmd_.c:diffcmd.h doc_.c:doc.h encode_.c:encode.h file_.c:file.h finfo_.c:finfo.h graph_.c:graph.h http_.c:http.h http_socket_.c:http_socket.h http_ssl_.c:http_ssl.h http_transport_.c:http_transport.h info_.c:info.h login_.c:login.h main_.c:main.h manifest_.c:manifest.h md5_.c:md5.h merge_.c:merge.h merge3_.c:merge3.h name_.c:name.h pivot_.c:pivot.h pqueue_.c:pqueue.h printf_.c:printf.h rebuild_.c:rebuild.h report_.c:report.h rss_.c:rss.h schema_.c:schema.h search_.c:search.h setup_.c:setup.h sha1_.c:sha1.h shun_.c:shun.h skins_.c:skins.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h th_main_.c:th_main.h timeline_.c:timeline.h tkt_.c:tkt.h tktsetup_.c:tktsetup.h undo_.c:undo.h update_.c:update.h url_.c:url.h user_.c:user.h verify_.c:verify.h vfile_.c:vfile.h wiki_.c:wiki.h wikiformat_.c:wikiformat.h winhttp_.c:winhttp.h xfer_.c:xfer.h zip_.c:zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h VERSION.h
278281
touch headers
279282
headers: Makefile
280283
Makefile:
281284
add_.c: $(SRCDIR)/add.c translate
282285
./translate $(SRCDIR)/add.c >add_.c
@@ -479,10 +482,17 @@
479482
480483
$(OBJDIR)/http_socket.o: http_socket_.c http_socket.h $(SRCDIR)/config.h
481484
$(XTCC) -o $(OBJDIR)/http_socket.o -c http_socket_.c
482485
483486
http_socket.h: headers
487
+http_ssl_.c: $(SRCDIR)/http_ssl.c translate
488
+ ./translate $(SRCDIR)/http_ssl.c >http_ssl_.c
489
+
490
+$(OBJDIR)/http_ssl.o: http_ssl_.c http_ssl.h $(SRCDIR)/config.h
491
+ $(XTCC) -o $(OBJDIR)/http_ssl.o -c http_ssl_.c
492
+
493
+http_ssl.h: headers
484494
http_transport_.c: $(SRCDIR)/http_transport.c translate
485495
./translate $(SRCDIR)/http_transport.c >http_transport_.c
486496
487497
$(OBJDIR)/http_transport.o: http_transport_.c http_transport.h $(SRCDIR)/config.h
488498
$(XTCC) -o $(OBJDIR)/http_transport.o -c http_transport_.c
489499
--- src/main.mk
+++ src/main.mk
@@ -40,10 +40,11 @@
40 $(SRCDIR)/file.c \
41 $(SRCDIR)/finfo.c \
42 $(SRCDIR)/graph.c \
43 $(SRCDIR)/http.c \
44 $(SRCDIR)/http_socket.c \
 
45 $(SRCDIR)/http_transport.c \
46 $(SRCDIR)/info.c \
47 $(SRCDIR)/login.c \
48 $(SRCDIR)/main.c \
49 $(SRCDIR)/manifest.c \
@@ -111,10 +112,11 @@
111 file_.c \
112 finfo_.c \
113 graph_.c \
114 http_.c \
115 http_socket_.c \
 
116 http_transport_.c \
117 info_.c \
118 login_.c \
119 main_.c \
120 manifest_.c \
@@ -182,10 +184,11 @@
182 $(OBJDIR)/file.o \
183 $(OBJDIR)/finfo.o \
184 $(OBJDIR)/graph.o \
185 $(OBJDIR)/http.o \
186 $(OBJDIR)/http_socket.o \
 
187 $(OBJDIR)/http_transport.o \
188 $(OBJDIR)/info.o \
189 $(OBJDIR)/login.o \
190 $(OBJDIR)/main.o \
191 $(OBJDIR)/manifest.o \
@@ -267,16 +270,16 @@
267 # noop
268
269 clean:
270 rm -f $(OBJDIR)/*.o *_.c $(APPNAME) VERSION.h
271 rm -f translate makeheaders mkindex page_index.h headers
272 rm -f add.h allrepo.h attach.h bag.h blob.h branch.h browse.h captcha.h cgi.h checkin.h checkout.h clearsign.h clone.h comformat.h configure.h content.h db.h delta.h deltacmd.h descendants.h diff.h diffcmd.h doc.h encode.h file.h finfo.h graph.h http.h http_socket.h http_transport.h info.h login.h main.h manifest.h md5.h merge.h merge3.h name.h pivot.h pqueue.h printf.h rebuild.h report.h rss.h schema.h search.h setup.h sha1.h shun.h skins.h stat.h style.h sync.h tag.h th_main.h timeline.h tkt.h tktsetup.h undo.h update.h url.h user.h verify.h vfile.h wiki.h wikiformat.h winhttp.h xfer.h zip.h
273
274 page_index.h: $(TRANS_SRC) mkindex
275 ./mkindex $(TRANS_SRC) >$@
276 headers: page_index.h makeheaders VERSION.h
277 ./makeheaders add_.c:add.h allrepo_.c:allrepo.h attach_.c:attach.h bag_.c:bag.h blob_.c:blob.h branch_.c:branch.h browse_.c:browse.h captcha_.c:captcha.h cgi_.c:cgi.h checkin_.c:checkin.h checkout_.c:checkout.h clearsign_.c:clearsign.h clone_.c:clone.h comformat_.c:comformat.h configure_.c:configure.h content_.c:content.h db_.c:db.h delta_.c:delta.h deltacmd_.c:deltacmd.h descendants_.c:descendants.h diff_.c:diff.h diffcmd_.c:diffcmd.h doc_.c:doc.h encode_.c:encode.h file_.c:file.h finfo_.c:finfo.h graph_.c:graph.h http_.c:http.h http_socket_.c:http_socket.h http_transport_.c:http_transport.h info_.c:info.h login_.c:login.h main_.c:main.h manifest_.c:manifest.h md5_.c:md5.h merge_.c:merge.h merge3_.c:merge3.h name_.c:name.h pivot_.c:pivot.h pqueue_.c:pqueue.h printf_.c:printf.h rebuild_.c:rebuild.h report_.c:report.h rss_.c:rss.h schema_.c:schema.h search_.c:search.h setup_.c:setup.h sha1_.c:sha1.h shun_.c:shun.h skins_.c:skins.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h th_main_.c:th_main.h timeline_.c:timeline.h tkt_.c:tkt.h tktsetup_.c:tktsetup.h undo_.c:undo.h update_.c:update.h url_.c:url.h user_.c:user.h verify_.c:verify.h vfile_.c:vfile.h wiki_.c:wiki.h wikiformat_.c:wikiformat.h winhttp_.c:winhttp.h xfer_.c:xfer.h zip_.c:zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h VERSION.h
278 touch headers
279 headers: Makefile
280 Makefile:
281 add_.c: $(SRCDIR)/add.c translate
282 ./translate $(SRCDIR)/add.c >add_.c
@@ -479,10 +482,17 @@
479
480 $(OBJDIR)/http_socket.o: http_socket_.c http_socket.h $(SRCDIR)/config.h
481 $(XTCC) -o $(OBJDIR)/http_socket.o -c http_socket_.c
482
483 http_socket.h: headers
 
 
 
 
 
 
 
484 http_transport_.c: $(SRCDIR)/http_transport.c translate
485 ./translate $(SRCDIR)/http_transport.c >http_transport_.c
486
487 $(OBJDIR)/http_transport.o: http_transport_.c http_transport.h $(SRCDIR)/config.h
488 $(XTCC) -o $(OBJDIR)/http_transport.o -c http_transport_.c
489
--- src/main.mk
+++ src/main.mk
@@ -40,10 +40,11 @@
40 $(SRCDIR)/file.c \
41 $(SRCDIR)/finfo.c \
42 $(SRCDIR)/graph.c \
43 $(SRCDIR)/http.c \
44 $(SRCDIR)/http_socket.c \
45 $(SRCDIR)/http_ssl.c \
46 $(SRCDIR)/http_transport.c \
47 $(SRCDIR)/info.c \
48 $(SRCDIR)/login.c \
49 $(SRCDIR)/main.c \
50 $(SRCDIR)/manifest.c \
@@ -111,10 +112,11 @@
112 file_.c \
113 finfo_.c \
114 graph_.c \
115 http_.c \
116 http_socket_.c \
117 http_ssl_.c \
118 http_transport_.c \
119 info_.c \
120 login_.c \
121 main_.c \
122 manifest_.c \
@@ -182,10 +184,11 @@
184 $(OBJDIR)/file.o \
185 $(OBJDIR)/finfo.o \
186 $(OBJDIR)/graph.o \
187 $(OBJDIR)/http.o \
188 $(OBJDIR)/http_socket.o \
189 $(OBJDIR)/http_ssl.o \
190 $(OBJDIR)/http_transport.o \
191 $(OBJDIR)/info.o \
192 $(OBJDIR)/login.o \
193 $(OBJDIR)/main.o \
194 $(OBJDIR)/manifest.o \
@@ -267,16 +270,16 @@
270 # noop
271
272 clean:
273 rm -f $(OBJDIR)/*.o *_.c $(APPNAME) VERSION.h
274 rm -f translate makeheaders mkindex page_index.h headers
275 rm -f add.h allrepo.h attach.h bag.h blob.h branch.h browse.h captcha.h cgi.h checkin.h checkout.h clearsign.h clone.h comformat.h configure.h content.h db.h delta.h deltacmd.h descendants.h diff.h diffcmd.h doc.h encode.h file.h finfo.h graph.h http.h http_socket.h http_ssl.h http_transport.h info.h login.h main.h manifest.h md5.h merge.h merge3.h name.h pivot.h pqueue.h printf.h rebuild.h report.h rss.h schema.h search.h setup.h sha1.h shun.h skins.h stat.h style.h sync.h tag.h th_main.h timeline.h tkt.h tktsetup.h undo.h update.h url.h user.h verify.h vfile.h wiki.h wikiformat.h winhttp.h xfer.h zip.h
276
277 page_index.h: $(TRANS_SRC) mkindex
278 ./mkindex $(TRANS_SRC) >$@
279 headers: page_index.h makeheaders VERSION.h
280 ./makeheaders add_.c:add.h allrepo_.c:allrepo.h attach_.c:attach.h bag_.c:bag.h blob_.c:blob.h branch_.c:branch.h browse_.c:browse.h captcha_.c:captcha.h cgi_.c:cgi.h checkin_.c:checkin.h checkout_.c:checkout.h clearsign_.c:clearsign.h clone_.c:clone.h comformat_.c:comformat.h configure_.c:configure.h content_.c:content.h db_.c:db.h delta_.c:delta.h deltacmd_.c:deltacmd.h descendants_.c:descendants.h diff_.c:diff.h diffcmd_.c:diffcmd.h doc_.c:doc.h encode_.c:encode.h file_.c:file.h finfo_.c:finfo.h graph_.c:graph.h http_.c:http.h http_socket_.c:http_socket.h http_ssl_.c:http_ssl.h http_transport_.c:http_transport.h info_.c:info.h login_.c:login.h main_.c:main.h manifest_.c:manifest.h md5_.c:md5.h merge_.c:merge.h merge3_.c:merge3.h name_.c:name.h pivot_.c:pivot.h pqueue_.c:pqueue.h printf_.c:printf.h rebuild_.c:rebuild.h report_.c:report.h rss_.c:rss.h schema_.c:schema.h search_.c:search.h setup_.c:setup.h sha1_.c:sha1.h shun_.c:shun.h skins_.c:skins.h stat_.c:stat.h style_.c:style.h sync_.c:sync.h tag_.c:tag.h th_main_.c:th_main.h timeline_.c:timeline.h tkt_.c:tkt.h tktsetup_.c:tktsetup.h undo_.c:undo.h update_.c:update.h url_.c:url.h user_.c:user.h verify_.c:verify.h vfile_.c:vfile.h wiki_.c:wiki.h wikiformat_.c:wikiformat.h winhttp_.c:winhttp.h xfer_.c:xfer.h zip_.c:zip.h $(SRCDIR)/sqlite3.h $(SRCDIR)/th.h VERSION.h
281 touch headers
282 headers: Makefile
283 Makefile:
284 add_.c: $(SRCDIR)/add.c translate
285 ./translate $(SRCDIR)/add.c >add_.c
@@ -479,10 +482,17 @@
482
483 $(OBJDIR)/http_socket.o: http_socket_.c http_socket.h $(SRCDIR)/config.h
484 $(XTCC) -o $(OBJDIR)/http_socket.o -c http_socket_.c
485
486 http_socket.h: headers
487 http_ssl_.c: $(SRCDIR)/http_ssl.c translate
488 ./translate $(SRCDIR)/http_ssl.c >http_ssl_.c
489
490 $(OBJDIR)/http_ssl.o: http_ssl_.c http_ssl.h $(SRCDIR)/config.h
491 $(XTCC) -o $(OBJDIR)/http_ssl.o -c http_ssl_.c
492
493 http_ssl.h: headers
494 http_transport_.c: $(SRCDIR)/http_transport.c translate
495 ./translate $(SRCDIR)/http_transport.c >http_transport_.c
496
497 $(OBJDIR)/http_transport.o: http_transport_.c http_transport.h $(SRCDIR)/config.h
498 $(XTCC) -o $(OBJDIR)/http_transport.o -c http_transport_.c
499
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -74,10 +74,11 @@
7474
wiki
7575
wikiformat
7676
winhttp
7777
xfer
7878
zip
79
+ http_ssl
7980
}
8081
8182
# Name of the final application
8283
#
8384
set name fossil
8485
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -74,10 +74,11 @@
74 wiki
75 wikiformat
76 winhttp
77 xfer
78 zip
 
79 }
80
81 # Name of the final application
82 #
83 set name fossil
84
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -74,10 +74,11 @@
74 wiki
75 wikiformat
76 winhttp
77 xfer
78 zip
79 http_ssl
80 }
81
82 # Name of the final application
83 #
84 set name fossil
85
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -74,10 +74,11 @@
7474
wiki
7575
wikiformat
7676
winhttp
7777
xfer
7878
zip
79
+ http_ssl
7980
}
8081
8182
# Name of the final application
8283
#
8384
set name fossil
8485
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -74,10 +74,11 @@
74 wiki
75 wikiformat
76 winhttp
77 xfer
78 zip
 
79 }
80
81 # Name of the final application
82 #
83 set name fossil
84
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -74,10 +74,11 @@
74 wiki
75 wikiformat
76 winhttp
77 xfer
78 zip
79 http_ssl
80 }
81
82 # Name of the final application
83 #
84 set name fossil
85

Keyboard Shortcuts

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