Fossil SCM
Pull the latest changes in trunk over into the windows-i18n branch.
Commit
70743ebae5c3bb914295aeb2e5ccd2bda1b4b924
Parent
f25b6c00c8c7779…
8 files changed
+5
-1
+5
-1
+1
-1
+4
-8
+1
-1
+1
-3
+1
-1
+1
-3
+5
-1
| --- src/content.c | ||
| +++ src/content.c | ||
| @@ -79,11 +79,15 @@ | ||
| 79 | 79 | ** The cache will deallocate memory when it has finished with it. |
| 80 | 80 | */ |
| 81 | 81 | void content_cache_insert(int rid, Blob *pBlob){ |
| 82 | 82 | struct cacheLine *p; |
| 83 | 83 | if( contentCache.n>500 || contentCache.szTotal>50000000 ){ |
| 84 | - content_cache_expire_oldest(); | |
| 84 | + i64 szBefore; | |
| 85 | + do{ | |
| 86 | + szBefore = contentCache.szTotal; | |
| 87 | + content_cache_expire_oldest(); | |
| 88 | + }while( contentCache.szTotal>50000000 && contentCache.szTotal<szBefore ); | |
| 85 | 89 | } |
| 86 | 90 | if( contentCache.n>=contentCache.nAlloc ){ |
| 87 | 91 | contentCache.nAlloc = contentCache.nAlloc*2 + 10; |
| 88 | 92 | contentCache.a = fossil_realloc(contentCache.a, |
| 89 | 93 | contentCache.nAlloc*sizeof(contentCache.a[0])); |
| 90 | 94 |
| --- src/content.c | |
| +++ src/content.c | |
| @@ -79,11 +79,15 @@ | |
| 79 | ** The cache will deallocate memory when it has finished with it. |
| 80 | */ |
| 81 | void content_cache_insert(int rid, Blob *pBlob){ |
| 82 | struct cacheLine *p; |
| 83 | if( contentCache.n>500 || contentCache.szTotal>50000000 ){ |
| 84 | content_cache_expire_oldest(); |
| 85 | } |
| 86 | if( contentCache.n>=contentCache.nAlloc ){ |
| 87 | contentCache.nAlloc = contentCache.nAlloc*2 + 10; |
| 88 | contentCache.a = fossil_realloc(contentCache.a, |
| 89 | contentCache.nAlloc*sizeof(contentCache.a[0])); |
| 90 |
| --- src/content.c | |
| +++ src/content.c | |
| @@ -79,11 +79,15 @@ | |
| 79 | ** The cache will deallocate memory when it has finished with it. |
| 80 | */ |
| 81 | void content_cache_insert(int rid, Blob *pBlob){ |
| 82 | struct cacheLine *p; |
| 83 | if( contentCache.n>500 || contentCache.szTotal>50000000 ){ |
| 84 | i64 szBefore; |
| 85 | do{ |
| 86 | szBefore = contentCache.szTotal; |
| 87 | content_cache_expire_oldest(); |
| 88 | }while( contentCache.szTotal>50000000 && contentCache.szTotal<szBefore ); |
| 89 | } |
| 90 | if( contentCache.n>=contentCache.nAlloc ){ |
| 91 | contentCache.nAlloc = contentCache.nAlloc*2 + 10; |
| 92 | contentCache.a = fossil_realloc(contentCache.a, |
| 93 | contentCache.nAlloc*sizeof(contentCache.a[0])); |
| 94 |
+5
-1
| --- src/content.c | ||
| +++ src/content.c | ||
| @@ -79,11 +79,15 @@ | ||
| 79 | 79 | ** The cache will deallocate memory when it has finished with it. |
| 80 | 80 | */ |
| 81 | 81 | void content_cache_insert(int rid, Blob *pBlob){ |
| 82 | 82 | struct cacheLine *p; |
| 83 | 83 | if( contentCache.n>500 || contentCache.szTotal>50000000 ){ |
| 84 | - content_cache_expire_oldest(); | |
| 84 | + i64 szBefore; | |
| 85 | + do{ | |
| 86 | + szBefore = contentCache.szTotal; | |
| 87 | + content_cache_expire_oldest(); | |
| 88 | + }while( contentCache.szTotal>50000000 && contentCache.szTotal<szBefore ); | |
| 85 | 89 | } |
| 86 | 90 | if( contentCache.n>=contentCache.nAlloc ){ |
| 87 | 91 | contentCache.nAlloc = contentCache.nAlloc*2 + 10; |
| 88 | 92 | contentCache.a = fossil_realloc(contentCache.a, |
| 89 | 93 | contentCache.nAlloc*sizeof(contentCache.a[0])); |
| 90 | 94 |
| --- src/content.c | |
| +++ src/content.c | |
| @@ -79,11 +79,15 @@ | |
| 79 | ** The cache will deallocate memory when it has finished with it. |
| 80 | */ |
| 81 | void content_cache_insert(int rid, Blob *pBlob){ |
| 82 | struct cacheLine *p; |
| 83 | if( contentCache.n>500 || contentCache.szTotal>50000000 ){ |
| 84 | content_cache_expire_oldest(); |
| 85 | } |
| 86 | if( contentCache.n>=contentCache.nAlloc ){ |
| 87 | contentCache.nAlloc = contentCache.nAlloc*2 + 10; |
| 88 | contentCache.a = fossil_realloc(contentCache.a, |
| 89 | contentCache.nAlloc*sizeof(contentCache.a[0])); |
| 90 |
| --- src/content.c | |
| +++ src/content.c | |
| @@ -79,11 +79,15 @@ | |
| 79 | ** The cache will deallocate memory when it has finished with it. |
| 80 | */ |
| 81 | void content_cache_insert(int rid, Blob *pBlob){ |
| 82 | struct cacheLine *p; |
| 83 | if( contentCache.n>500 || contentCache.szTotal>50000000 ){ |
| 84 | i64 szBefore; |
| 85 | do{ |
| 86 | szBefore = contentCache.szTotal; |
| 87 | content_cache_expire_oldest(); |
| 88 | }while( contentCache.szTotal>50000000 && contentCache.szTotal<szBefore ); |
| 89 | } |
| 90 | if( contentCache.n>=contentCache.nAlloc ){ |
| 91 | contentCache.nAlloc = contentCache.nAlloc*2 + 10; |
| 92 | contentCache.a = fossil_realloc(contentCache.a, |
| 93 | contentCache.nAlloc*sizeof(contentCache.a[0])); |
| 94 |
+1
-1
| --- src/http.c | ||
| +++ src/http.c | ||
| @@ -100,11 +100,11 @@ | ||
| 100 | 100 | }else{ |
| 101 | 101 | zSep = "/"; |
| 102 | 102 | } |
| 103 | 103 | blob_appendf(pHdr, "POST %s%sxfer/xfer HTTP/1.0\r\n", g.urlPath, zSep); |
| 104 | 104 | if( g.urlProxyAuth ){ |
| 105 | - blob_appendf(pHdr, "Proxy-Authorization: %s\n", g.urlProxyAuth); | |
| 105 | + blob_appendf(pHdr, "Proxy-Authorization: %s\r\n", g.urlProxyAuth); | |
| 106 | 106 | } |
| 107 | 107 | if( g.urlPasswd && g.urlUser && g.urlPasswd[0]=='#' ){ |
| 108 | 108 | char *zCredentials = mprintf("%s:%s", g.urlUser, &g.urlPasswd[1]); |
| 109 | 109 | char *zEncoded = encode64(zCredentials, -1); |
| 110 | 110 | blob_appendf(pHdr, "Authorization: Basic %s\r\n", zEncoded); |
| 111 | 111 |
| --- src/http.c | |
| +++ src/http.c | |
| @@ -100,11 +100,11 @@ | |
| 100 | }else{ |
| 101 | zSep = "/"; |
| 102 | } |
| 103 | blob_appendf(pHdr, "POST %s%sxfer/xfer HTTP/1.0\r\n", g.urlPath, zSep); |
| 104 | if( g.urlProxyAuth ){ |
| 105 | blob_appendf(pHdr, "Proxy-Authorization: %s\n", g.urlProxyAuth); |
| 106 | } |
| 107 | if( g.urlPasswd && g.urlUser && g.urlPasswd[0]=='#' ){ |
| 108 | char *zCredentials = mprintf("%s:%s", g.urlUser, &g.urlPasswd[1]); |
| 109 | char *zEncoded = encode64(zCredentials, -1); |
| 110 | blob_appendf(pHdr, "Authorization: Basic %s\r\n", zEncoded); |
| 111 |
| --- src/http.c | |
| +++ src/http.c | |
| @@ -100,11 +100,11 @@ | |
| 100 | }else{ |
| 101 | zSep = "/"; |
| 102 | } |
| 103 | blob_appendf(pHdr, "POST %s%sxfer/xfer HTTP/1.0\r\n", g.urlPath, zSep); |
| 104 | if( g.urlProxyAuth ){ |
| 105 | blob_appendf(pHdr, "Proxy-Authorization: %s\r\n", g.urlProxyAuth); |
| 106 | } |
| 107 | if( g.urlPasswd && g.urlUser && g.urlPasswd[0]=='#' ){ |
| 108 | char *zCredentials = mprintf("%s:%s", g.urlUser, &g.urlPasswd[1]); |
| 109 | char *zEncoded = encode64(zCredentials, -1); |
| 110 | blob_appendf(pHdr, "Authorization: Basic %s\r\n", zEncoded); |
| 111 |
+4
-8
| --- src/makemake.tcl | ||
| +++ src/makemake.tcl | ||
| @@ -307,11 +307,11 @@ | ||
| 307 | 307 | # will run on the target platform. This is usually the same |
| 308 | 308 | # as BCC, unless you are cross-compiling. This C compiler builds |
| 309 | 309 | # the finished binary for fossil. The BCC compiler above is used |
| 310 | 310 | # for building intermediate code-generator tools. |
| 311 | 311 | # |
| 312 | -TCC = gcc -Os -Wall -DFOSSIL_I18N=0 -L$(ZLIBDIR)/lib -I$(ZLIBDIR)/include | |
| 312 | +TCC = gcc -Os -Wall -L$(ZLIBDIR)/lib -I$(ZLIBDIR)/include | |
| 313 | 313 | |
| 314 | 314 | # With HTTPS support |
| 315 | 315 | ifdef FOSSIL_ENABLE_SSL |
| 316 | 316 | TCC += -static -DFOSSIL_ENABLE_SSL=1 |
| 317 | 317 | endif |
| @@ -502,15 +502,13 @@ | ||
| 502 | 502 | INCL = -I. -I$(SRCDIR) -I$B\win\include -I$(DMDIR)\extra\include |
| 503 | 503 | |
| 504 | 504 | #SSL = -DFOSSIL_ENABLE_SSL=1 |
| 505 | 505 | SSL = |
| 506 | 506 | |
| 507 | -I18N = -DFOSSIL_I18N=0 | |
| 508 | - | |
| 509 | 507 | CFLAGS = -o |
| 510 | 508 | BCC = $(DMDIR)\bin\dmc $(CFLAGS) |
| 511 | -TCC = $(DMDIR)\bin\dmc $(CFLAGS) $(DMCDEF) $(I18N) $(SSL) $(INCL) | |
| 509 | +TCC = $(DMDIR)\bin\dmc $(CFLAGS) $(DMCDEF) $(SSL) $(INCL) | |
| 512 | 510 | LIBS = $(DMDIR)\extra\lib\ zlib wsock32 |
| 513 | 511 | } |
| 514 | 512 | writeln "SQLITE_OPTIONS = $SQLITE_OPTIONS\n" |
| 515 | 513 | writeln -nonewline "SRC = " |
| 516 | 514 | foreach s [lsort $src] { |
| @@ -645,15 +643,13 @@ | ||
| 645 | 643 | ZLIBDIR = $(MSCDIR)\extra\lib |
| 646 | 644 | ZLIB = zlib.lib |
| 647 | 645 | |
| 648 | 646 | INCL = -I. -I$(SRCDIR) -I$B\win\include -I$(MSCDIR)\extra\include -I$(ZINCDIR) |
| 649 | 647 | |
| 650 | -I18N = -DFOSSIL_I18N=0 | |
| 651 | - | |
| 652 | 648 | CFLAGS = -nologo -MT -O2 |
| 653 | 649 | BCC = $(CC) $(CFLAGS) |
| 654 | -TCC = $(CC) -c $(CFLAGS) $(MSCDEF) $(I18N) $(SSL) $(INCL) | |
| 650 | +TCC = $(CC) -c $(CFLAGS) $(MSCDEF) $(SSL) $(INCL) | |
| 655 | 651 | LIBS = $(ZLIB) ws2_32.lib $(SSLLIB) |
| 656 | 652 | LIBDIR = -LIBPATH:$(MSCDIR)\extra\lib -LIBPATH:$(ZLIBDIR) |
| 657 | 653 | } |
| 658 | 654 | regsub -all {[-]D} $SQLITE_OPTIONS {/D} MSC_SQLITE_OPTIONS |
| 659 | 655 | writeln "SQLITE_OPTIONS = $MSC_SQLITE_OPTIONS\n" |
| @@ -819,11 +815,11 @@ | ||
| 819 | 815 | |
| 820 | 816 | # define standard C-compiler and flags, used to compile |
| 821 | 817 | # the fossil binary. Some special definitions follow for |
| 822 | 818 | # special files follow |
| 823 | 819 | CC=$(PellesCDir)\bin\pocc.exe |
| 824 | -DEFINES=-DFOSSIL_I18N=0 -D_pgmptr=g.argv[0] | |
| 820 | +DEFINES=-D_pgmptr=g.argv[0] | |
| 825 | 821 | CCFLAGS=-T$(TARGETMACHINE_CC)-coff -Ot -W2 -Gd -Go -Ze -MT $(DEFINES) |
| 826 | 822 | INCLUDE=/I $(PellesCDir)\Include\Win /I $(PellesCDir)\Include /I $(ZLIBSRCDIR) /I $(SRCDIR) |
| 827 | 823 | |
| 828 | 824 | # define commands for building the windows resource files |
| 829 | 825 | RESOURCE=fossil.res |
| 830 | 826 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -307,11 +307,11 @@ | |
| 307 | # will run on the target platform. This is usually the same |
| 308 | # as BCC, unless you are cross-compiling. This C compiler builds |
| 309 | # the finished binary for fossil. The BCC compiler above is used |
| 310 | # for building intermediate code-generator tools. |
| 311 | # |
| 312 | TCC = gcc -Os -Wall -DFOSSIL_I18N=0 -L$(ZLIBDIR)/lib -I$(ZLIBDIR)/include |
| 313 | |
| 314 | # With HTTPS support |
| 315 | ifdef FOSSIL_ENABLE_SSL |
| 316 | TCC += -static -DFOSSIL_ENABLE_SSL=1 |
| 317 | endif |
| @@ -502,15 +502,13 @@ | |
| 502 | INCL = -I. -I$(SRCDIR) -I$B\win\include -I$(DMDIR)\extra\include |
| 503 | |
| 504 | #SSL = -DFOSSIL_ENABLE_SSL=1 |
| 505 | SSL = |
| 506 | |
| 507 | I18N = -DFOSSIL_I18N=0 |
| 508 | |
| 509 | CFLAGS = -o |
| 510 | BCC = $(DMDIR)\bin\dmc $(CFLAGS) |
| 511 | TCC = $(DMDIR)\bin\dmc $(CFLAGS) $(DMCDEF) $(I18N) $(SSL) $(INCL) |
| 512 | LIBS = $(DMDIR)\extra\lib\ zlib wsock32 |
| 513 | } |
| 514 | writeln "SQLITE_OPTIONS = $SQLITE_OPTIONS\n" |
| 515 | writeln -nonewline "SRC = " |
| 516 | foreach s [lsort $src] { |
| @@ -645,15 +643,13 @@ | |
| 645 | ZLIBDIR = $(MSCDIR)\extra\lib |
| 646 | ZLIB = zlib.lib |
| 647 | |
| 648 | INCL = -I. -I$(SRCDIR) -I$B\win\include -I$(MSCDIR)\extra\include -I$(ZINCDIR) |
| 649 | |
| 650 | I18N = -DFOSSIL_I18N=0 |
| 651 | |
| 652 | CFLAGS = -nologo -MT -O2 |
| 653 | BCC = $(CC) $(CFLAGS) |
| 654 | TCC = $(CC) -c $(CFLAGS) $(MSCDEF) $(I18N) $(SSL) $(INCL) |
| 655 | LIBS = $(ZLIB) ws2_32.lib $(SSLLIB) |
| 656 | LIBDIR = -LIBPATH:$(MSCDIR)\extra\lib -LIBPATH:$(ZLIBDIR) |
| 657 | } |
| 658 | regsub -all {[-]D} $SQLITE_OPTIONS {/D} MSC_SQLITE_OPTIONS |
| 659 | writeln "SQLITE_OPTIONS = $MSC_SQLITE_OPTIONS\n" |
| @@ -819,11 +815,11 @@ | |
| 819 | |
| 820 | # define standard C-compiler and flags, used to compile |
| 821 | # the fossil binary. Some special definitions follow for |
| 822 | # special files follow |
| 823 | CC=$(PellesCDir)\bin\pocc.exe |
| 824 | DEFINES=-DFOSSIL_I18N=0 -D_pgmptr=g.argv[0] |
| 825 | CCFLAGS=-T$(TARGETMACHINE_CC)-coff -Ot -W2 -Gd -Go -Ze -MT $(DEFINES) |
| 826 | INCLUDE=/I $(PellesCDir)\Include\Win /I $(PellesCDir)\Include /I $(ZLIBSRCDIR) /I $(SRCDIR) |
| 827 | |
| 828 | # define commands for building the windows resource files |
| 829 | RESOURCE=fossil.res |
| 830 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -307,11 +307,11 @@ | |
| 307 | # will run on the target platform. This is usually the same |
| 308 | # as BCC, unless you are cross-compiling. This C compiler builds |
| 309 | # the finished binary for fossil. The BCC compiler above is used |
| 310 | # for building intermediate code-generator tools. |
| 311 | # |
| 312 | TCC = gcc -Os -Wall -L$(ZLIBDIR)/lib -I$(ZLIBDIR)/include |
| 313 | |
| 314 | # With HTTPS support |
| 315 | ifdef FOSSIL_ENABLE_SSL |
| 316 | TCC += -static -DFOSSIL_ENABLE_SSL=1 |
| 317 | endif |
| @@ -502,15 +502,13 @@ | |
| 502 | INCL = -I. -I$(SRCDIR) -I$B\win\include -I$(DMDIR)\extra\include |
| 503 | |
| 504 | #SSL = -DFOSSIL_ENABLE_SSL=1 |
| 505 | SSL = |
| 506 | |
| 507 | CFLAGS = -o |
| 508 | BCC = $(DMDIR)\bin\dmc $(CFLAGS) |
| 509 | TCC = $(DMDIR)\bin\dmc $(CFLAGS) $(DMCDEF) $(SSL) $(INCL) |
| 510 | LIBS = $(DMDIR)\extra\lib\ zlib wsock32 |
| 511 | } |
| 512 | writeln "SQLITE_OPTIONS = $SQLITE_OPTIONS\n" |
| 513 | writeln -nonewline "SRC = " |
| 514 | foreach s [lsort $src] { |
| @@ -645,15 +643,13 @@ | |
| 643 | ZLIBDIR = $(MSCDIR)\extra\lib |
| 644 | ZLIB = zlib.lib |
| 645 | |
| 646 | INCL = -I. -I$(SRCDIR) -I$B\win\include -I$(MSCDIR)\extra\include -I$(ZINCDIR) |
| 647 | |
| 648 | CFLAGS = -nologo -MT -O2 |
| 649 | BCC = $(CC) $(CFLAGS) |
| 650 | TCC = $(CC) -c $(CFLAGS) $(MSCDEF) $(SSL) $(INCL) |
| 651 | LIBS = $(ZLIB) ws2_32.lib $(SSLLIB) |
| 652 | LIBDIR = -LIBPATH:$(MSCDIR)\extra\lib -LIBPATH:$(ZLIBDIR) |
| 653 | } |
| 654 | regsub -all {[-]D} $SQLITE_OPTIONS {/D} MSC_SQLITE_OPTIONS |
| 655 | writeln "SQLITE_OPTIONS = $MSC_SQLITE_OPTIONS\n" |
| @@ -819,11 +815,11 @@ | |
| 815 | |
| 816 | # define standard C-compiler and flags, used to compile |
| 817 | # the fossil binary. Some special definitions follow for |
| 818 | # special files follow |
| 819 | CC=$(PellesCDir)\bin\pocc.exe |
| 820 | DEFINES=-D_pgmptr=g.argv[0] |
| 821 | CCFLAGS=-T$(TARGETMACHINE_CC)-coff -Ot -W2 -Gd -Go -Ze -MT $(DEFINES) |
| 822 | INCLUDE=/I $(PellesCDir)\Include\Win /I $(PellesCDir)\Include /I $(ZLIBSRCDIR) /I $(SRCDIR) |
| 823 | |
| 824 | # define commands for building the windows resource files |
| 825 | RESOURCE=fossil.res |
| 826 |
+1
-1
| --- win/Makefile.PellesCGMake | ||
| +++ win/Makefile.PellesCGMake | ||
| @@ -61,11 +61,11 @@ | ||
| 61 | 61 | |
| 62 | 62 | # define standard C-compiler and flags, used to compile |
| 63 | 63 | # the fossil binary. Some special definitions follow for |
| 64 | 64 | # special files follow |
| 65 | 65 | CC=$(PellesCDir)\bin\pocc.exe |
| 66 | -DEFINES=-DFOSSIL_I18N=0 -D_pgmptr=g.argv[0] | |
| 66 | +DEFINES=-D_pgmptr=g.argv[0] | |
| 67 | 67 | CCFLAGS=-T$(TARGETMACHINE_CC)-coff -Ot -W2 -Gd -Go -Ze -MT $(DEFINES) |
| 68 | 68 | INCLUDE=/I $(PellesCDir)\Include\Win /I $(PellesCDir)\Include /I $(ZLIBSRCDIR) /I $(SRCDIR) |
| 69 | 69 | |
| 70 | 70 | # define commands for building the windows resource files |
| 71 | 71 | RESOURCE=fossil.res |
| 72 | 72 |
| --- win/Makefile.PellesCGMake | |
| +++ win/Makefile.PellesCGMake | |
| @@ -61,11 +61,11 @@ | |
| 61 | |
| 62 | # define standard C-compiler and flags, used to compile |
| 63 | # the fossil binary. Some special definitions follow for |
| 64 | # special files follow |
| 65 | CC=$(PellesCDir)\bin\pocc.exe |
| 66 | DEFINES=-DFOSSIL_I18N=0 -D_pgmptr=g.argv[0] |
| 67 | CCFLAGS=-T$(TARGETMACHINE_CC)-coff -Ot -W2 -Gd -Go -Ze -MT $(DEFINES) |
| 68 | INCLUDE=/I $(PellesCDir)\Include\Win /I $(PellesCDir)\Include /I $(ZLIBSRCDIR) /I $(SRCDIR) |
| 69 | |
| 70 | # define commands for building the windows resource files |
| 71 | RESOURCE=fossil.res |
| 72 |
| --- win/Makefile.PellesCGMake | |
| +++ win/Makefile.PellesCGMake | |
| @@ -61,11 +61,11 @@ | |
| 61 | |
| 62 | # define standard C-compiler and flags, used to compile |
| 63 | # the fossil binary. Some special definitions follow for |
| 64 | # special files follow |
| 65 | CC=$(PellesCDir)\bin\pocc.exe |
| 66 | DEFINES=-D_pgmptr=g.argv[0] |
| 67 | CCFLAGS=-T$(TARGETMACHINE_CC)-coff -Ot -W2 -Gd -Go -Ze -MT $(DEFINES) |
| 68 | INCLUDE=/I $(PellesCDir)\Include\Win /I $(PellesCDir)\Include /I $(ZLIBSRCDIR) /I $(SRCDIR) |
| 69 | |
| 70 | # define commands for building the windows resource files |
| 71 | RESOURCE=fossil.res |
| 72 |
+1
-3
| --- win/Makefile.dmc | ||
| +++ win/Makefile.dmc | ||
| @@ -15,15 +15,13 @@ | ||
| 15 | 15 | INCL = -I. -I$(SRCDIR) -I$B\win\include -I$(DMDIR)\extra\include |
| 16 | 16 | |
| 17 | 17 | #SSL = -DFOSSIL_ENABLE_SSL=1 |
| 18 | 18 | SSL = |
| 19 | 19 | |
| 20 | -I18N = -DFOSSIL_I18N=0 | |
| 21 | - | |
| 22 | 20 | CFLAGS = -o |
| 23 | 21 | BCC = $(DMDIR)\bin\dmc $(CFLAGS) |
| 24 | -TCC = $(DMDIR)\bin\dmc $(CFLAGS) $(DMCDEF) $(I18N) $(SSL) $(INCL) | |
| 22 | +TCC = $(DMDIR)\bin\dmc $(CFLAGS) $(DMCDEF) $(SSL) $(INCL) | |
| 25 | 23 | LIBS = $(DMDIR)\extra\lib\ zlib wsock32 |
| 26 | 24 | |
| 27 | 25 | SQLITE_OPTIONS = -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_STAT2 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 |
| 28 | 26 | |
| 29 | 27 | SRC = add_.c allrepo_.c attach_.c bag_.c bisect_.c blob_.c branch_.c browse_.c captcha_.c cgi_.c checkin_.c checkout_.c clearsign_.c clone_.c comformat_.c configure_.c content_.c db_.c delta_.c deltacmd_.c descendants_.c diff_.c diffcmd_.c doc_.c encode_.c event_.c export_.c file_.c finfo_.c glob_.c graph_.c gzip_.c http_.c http_socket_.c http_ssl_.c http_transport_.c import_.c info_.c leaf_.c login_.c main_.c manifest_.c md5_.c merge_.c merge3_.c name_.c path_.c pivot_.c popen_.c pqueue_.c printf_.c rebuild_.c report_.c rss_.c schema_.c search_.c setup_.c sha1_.c shun_.c skins_.c sqlcmd_.c stash_.c stat_.c style_.c sync_.c tag_.c tar_.c th_main_.c timeline_.c tkt_.c tktsetup_.c undo_.c update_.c url_.c user_.c verify_.c vfile_.c wiki_.c wikiformat_.c winhttp_.c xfer_.c zip_.c |
| 30 | 28 |
| --- win/Makefile.dmc | |
| +++ win/Makefile.dmc | |
| @@ -15,15 +15,13 @@ | |
| 15 | INCL = -I. -I$(SRCDIR) -I$B\win\include -I$(DMDIR)\extra\include |
| 16 | |
| 17 | #SSL = -DFOSSIL_ENABLE_SSL=1 |
| 18 | SSL = |
| 19 | |
| 20 | I18N = -DFOSSIL_I18N=0 |
| 21 | |
| 22 | CFLAGS = -o |
| 23 | BCC = $(DMDIR)\bin\dmc $(CFLAGS) |
| 24 | TCC = $(DMDIR)\bin\dmc $(CFLAGS) $(DMCDEF) $(I18N) $(SSL) $(INCL) |
| 25 | LIBS = $(DMDIR)\extra\lib\ zlib wsock32 |
| 26 | |
| 27 | SQLITE_OPTIONS = -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_STAT2 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 |
| 28 | |
| 29 | SRC = add_.c allrepo_.c attach_.c bag_.c bisect_.c blob_.c branch_.c browse_.c captcha_.c cgi_.c checkin_.c checkout_.c clearsign_.c clone_.c comformat_.c configure_.c content_.c db_.c delta_.c deltacmd_.c descendants_.c diff_.c diffcmd_.c doc_.c encode_.c event_.c export_.c file_.c finfo_.c glob_.c graph_.c gzip_.c http_.c http_socket_.c http_ssl_.c http_transport_.c import_.c info_.c leaf_.c login_.c main_.c manifest_.c md5_.c merge_.c merge3_.c name_.c path_.c pivot_.c popen_.c pqueue_.c printf_.c rebuild_.c report_.c rss_.c schema_.c search_.c setup_.c sha1_.c shun_.c skins_.c sqlcmd_.c stash_.c stat_.c style_.c sync_.c tag_.c tar_.c th_main_.c timeline_.c tkt_.c tktsetup_.c undo_.c update_.c url_.c user_.c verify_.c vfile_.c wiki_.c wikiformat_.c winhttp_.c xfer_.c zip_.c |
| 30 |
| --- win/Makefile.dmc | |
| +++ win/Makefile.dmc | |
| @@ -15,15 +15,13 @@ | |
| 15 | INCL = -I. -I$(SRCDIR) -I$B\win\include -I$(DMDIR)\extra\include |
| 16 | |
| 17 | #SSL = -DFOSSIL_ENABLE_SSL=1 |
| 18 | SSL = |
| 19 | |
| 20 | CFLAGS = -o |
| 21 | BCC = $(DMDIR)\bin\dmc $(CFLAGS) |
| 22 | TCC = $(DMDIR)\bin\dmc $(CFLAGS) $(DMCDEF) $(SSL) $(INCL) |
| 23 | LIBS = $(DMDIR)\extra\lib\ zlib wsock32 |
| 24 | |
| 25 | SQLITE_OPTIONS = -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -DSQLITE_ENABLE_STAT2 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 |
| 26 | |
| 27 | SRC = add_.c allrepo_.c attach_.c bag_.c bisect_.c blob_.c branch_.c browse_.c captcha_.c cgi_.c checkin_.c checkout_.c clearsign_.c clone_.c comformat_.c configure_.c content_.c db_.c delta_.c deltacmd_.c descendants_.c diff_.c diffcmd_.c doc_.c encode_.c event_.c export_.c file_.c finfo_.c glob_.c graph_.c gzip_.c http_.c http_socket_.c http_ssl_.c http_transport_.c import_.c info_.c leaf_.c login_.c main_.c manifest_.c md5_.c merge_.c merge3_.c name_.c path_.c pivot_.c popen_.c pqueue_.c printf_.c rebuild_.c report_.c rss_.c schema_.c search_.c setup_.c sha1_.c shun_.c skins_.c sqlcmd_.c stash_.c stat_.c style_.c sync_.c tag_.c tar_.c th_main_.c timeline_.c tkt_.c tktsetup_.c undo_.c update_.c url_.c user_.c verify_.c vfile_.c wiki_.c wikiformat_.c winhttp_.c xfer_.c zip_.c |
| 28 |
+1
-1
| --- win/Makefile.mingw | ||
| +++ win/Makefile.mingw | ||
| @@ -33,11 +33,11 @@ | ||
| 33 | 33 | # will run on the target platform. This is usually the same |
| 34 | 34 | # as BCC, unless you are cross-compiling. This C compiler builds |
| 35 | 35 | # the finished binary for fossil. The BCC compiler above is used |
| 36 | 36 | # for building intermediate code-generator tools. |
| 37 | 37 | # |
| 38 | -TCC = gcc -Os -Wall -DFOSSIL_I18N=0 -L$(ZLIBDIR)/lib -I$(ZLIBDIR)/include | |
| 38 | +TCC = gcc -Os -Wall -L$(ZLIBDIR)/lib -I$(ZLIBDIR)/include | |
| 39 | 39 | |
| 40 | 40 | # With HTTPS support |
| 41 | 41 | ifdef FOSSIL_ENABLE_SSL |
| 42 | 42 | TCC += -static -DFOSSIL_ENABLE_SSL=1 |
| 43 | 43 | endif |
| 44 | 44 |
| --- win/Makefile.mingw | |
| +++ win/Makefile.mingw | |
| @@ -33,11 +33,11 @@ | |
| 33 | # will run on the target platform. This is usually the same |
| 34 | # as BCC, unless you are cross-compiling. This C compiler builds |
| 35 | # the finished binary for fossil. The BCC compiler above is used |
| 36 | # for building intermediate code-generator tools. |
| 37 | # |
| 38 | TCC = gcc -Os -Wall -DFOSSIL_I18N=0 -L$(ZLIBDIR)/lib -I$(ZLIBDIR)/include |
| 39 | |
| 40 | # With HTTPS support |
| 41 | ifdef FOSSIL_ENABLE_SSL |
| 42 | TCC += -static -DFOSSIL_ENABLE_SSL=1 |
| 43 | endif |
| 44 |
| --- win/Makefile.mingw | |
| +++ win/Makefile.mingw | |
| @@ -33,11 +33,11 @@ | |
| 33 | # will run on the target platform. This is usually the same |
| 34 | # as BCC, unless you are cross-compiling. This C compiler builds |
| 35 | # the finished binary for fossil. The BCC compiler above is used |
| 36 | # for building intermediate code-generator tools. |
| 37 | # |
| 38 | TCC = gcc -Os -Wall -L$(ZLIBDIR)/lib -I$(ZLIBDIR)/include |
| 39 | |
| 40 | # With HTTPS support |
| 41 | ifdef FOSSIL_ENABLE_SSL |
| 42 | TCC += -static -DFOSSIL_ENABLE_SSL=1 |
| 43 | endif |
| 44 |
+1
-3
| --- win/Makefile.msc | ||
| +++ win/Makefile.msc | ||
| @@ -28,15 +28,13 @@ | ||
| 28 | 28 | ZLIBDIR = $(MSCDIR)\extra\lib |
| 29 | 29 | ZLIB = zlib.lib |
| 30 | 30 | |
| 31 | 31 | INCL = -I. -I$(SRCDIR) -I$B\win\include -I$(MSCDIR)\extra\include -I$(ZINCDIR) |
| 32 | 32 | |
| 33 | -I18N = -DFOSSIL_I18N=0 | |
| 34 | - | |
| 35 | 33 | CFLAGS = -nologo -MT -O2 |
| 36 | 34 | BCC = $(CC) $(CFLAGS) |
| 37 | -TCC = $(CC) -c $(CFLAGS) $(MSCDEF) $(I18N) $(SSL) $(INCL) | |
| 35 | +TCC = $(CC) -c $(CFLAGS) $(MSCDEF) $(SSL) $(INCL) | |
| 38 | 36 | LIBS = $(ZLIB) ws2_32.lib $(SSLLIB) |
| 39 | 37 | LIBDIR = -LIBPATH:$(MSCDIR)\extra\lib -LIBPATH:$(ZLIBDIR) |
| 40 | 38 | |
| 41 | 39 | SQLITE_OPTIONS = /DSQLITE_OMIT_LOAD_EXTENSION=1 /DSQLITE_THREADSAFE=0 /DSQLITE_DEFAULT_FILE_FORMAT=4 /DSQLITE_ENABLE_STAT2 /Dlocaltime=fossil_localtime /DSQLITE_ENABLE_LOCKING_STYLE=0 |
| 42 | 40 | |
| 43 | 41 |
| --- win/Makefile.msc | |
| +++ win/Makefile.msc | |
| @@ -28,15 +28,13 @@ | |
| 28 | ZLIBDIR = $(MSCDIR)\extra\lib |
| 29 | ZLIB = zlib.lib |
| 30 | |
| 31 | INCL = -I. -I$(SRCDIR) -I$B\win\include -I$(MSCDIR)\extra\include -I$(ZINCDIR) |
| 32 | |
| 33 | I18N = -DFOSSIL_I18N=0 |
| 34 | |
| 35 | CFLAGS = -nologo -MT -O2 |
| 36 | BCC = $(CC) $(CFLAGS) |
| 37 | TCC = $(CC) -c $(CFLAGS) $(MSCDEF) $(I18N) $(SSL) $(INCL) |
| 38 | LIBS = $(ZLIB) ws2_32.lib $(SSLLIB) |
| 39 | LIBDIR = -LIBPATH:$(MSCDIR)\extra\lib -LIBPATH:$(ZLIBDIR) |
| 40 | |
| 41 | SQLITE_OPTIONS = /DSQLITE_OMIT_LOAD_EXTENSION=1 /DSQLITE_THREADSAFE=0 /DSQLITE_DEFAULT_FILE_FORMAT=4 /DSQLITE_ENABLE_STAT2 /Dlocaltime=fossil_localtime /DSQLITE_ENABLE_LOCKING_STYLE=0 |
| 42 | |
| 43 |
| --- win/Makefile.msc | |
| +++ win/Makefile.msc | |
| @@ -28,15 +28,13 @@ | |
| 28 | ZLIBDIR = $(MSCDIR)\extra\lib |
| 29 | ZLIB = zlib.lib |
| 30 | |
| 31 | INCL = -I. -I$(SRCDIR) -I$B\win\include -I$(MSCDIR)\extra\include -I$(ZINCDIR) |
| 32 | |
| 33 | CFLAGS = -nologo -MT -O2 |
| 34 | BCC = $(CC) $(CFLAGS) |
| 35 | TCC = $(CC) -c $(CFLAGS) $(MSCDEF) $(SSL) $(INCL) |
| 36 | LIBS = $(ZLIB) ws2_32.lib $(SSLLIB) |
| 37 | LIBDIR = -LIBPATH:$(MSCDIR)\extra\lib -LIBPATH:$(ZLIBDIR) |
| 38 | |
| 39 | SQLITE_OPTIONS = /DSQLITE_OMIT_LOAD_EXTENSION=1 /DSQLITE_THREADSAFE=0 /DSQLITE_DEFAULT_FILE_FORMAT=4 /DSQLITE_ENABLE_STAT2 /Dlocaltime=fossil_localtime /DSQLITE_ENABLE_LOCKING_STYLE=0 |
| 40 | |
| 41 |