Fossil SCM

merge trunk

jan.nijtmans 2012-11-22 12:59 ticket-d17d6e5b17 merge
Commit 6e9c044e3b726ece0c6c9d5a1c3dd29d06cab0aa
+4 -1
--- src/content.c
+++ src/content.c
@@ -667,11 +667,14 @@
667667
668668
669669
/*
670670
** COMMAND: test-content-put
671671
**
672
-** Extract a blob from a file and write it into the database
672
+** Usage: %fossil test-content-put FILE
673
+**
674
+** Read the content of FILE and add it to the Blob table as a new
675
+** artifact using a direct call to content_put().
673676
*/
674677
void test_content_put_cmd(void){
675678
int rid;
676679
Blob content;
677680
if( g.argc!=3 ) usage("FILENAME");
678681
--- src/content.c
+++ src/content.c
@@ -667,11 +667,14 @@
667
668
669 /*
670 ** COMMAND: test-content-put
671 **
672 ** Extract a blob from a file and write it into the database
 
 
 
673 */
674 void test_content_put_cmd(void){
675 int rid;
676 Blob content;
677 if( g.argc!=3 ) usage("FILENAME");
678
--- src/content.c
+++ src/content.c
@@ -667,11 +667,14 @@
667
668
669 /*
670 ** COMMAND: test-content-put
671 **
672 ** Usage: %fossil test-content-put FILE
673 **
674 ** Read the content of FILE and add it to the Blob table as a new
675 ** artifact using a direct call to content_put().
676 */
677 void test_content_put_cmd(void){
678 int rid;
679 Blob content;
680 if( g.argc!=3 ) usage("FILENAME");
681
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -364,10 +364,14 @@
364364
# will run on the platform that is doing the build. This is used
365365
# to compile code-generator programs as part of the build process.
366366
# See TCC below for the C compiler for building the finished binary.
367367
#
368368
BCC = gcc
369
+
370
+#### Enable compiling with debug symbols (much larger binary)
371
+#
372
+# FOSSIL_ENABLE_SYMBOLS = 1
369373
370374
#### Enable JSON (http://www.json.org) support using "cson"
371375
#
372376
# FOSSIL_ENABLE_JSON = 1
373377
@@ -442,10 +446,17 @@
442446
# as BCC, unless you are cross-compiling. This C compiler builds
443447
# the finished binary for fossil. The BCC compiler above is used
444448
# for building intermediate code-generator tools.
445449
#
446450
TCC = $(PREFIX)gcc -Os -Wall -L$(ZLIBDIR) -I$(ZINCDIR)
451
+
452
+#### Add the necessary command line options to build with debugging
453
+# symbols, if enabled.
454
+#
455
+ifdef FOSSIL_ENABLE_SYMBOLS
456
+TCC += -g
457
+endif
447458
448459
#### Compile resources for use in building executables that will run
449460
# on the target platform.
450461
#
451462
RCC = $(PREFIX)windres -I$(SRCDIR) -I$(ZINCDIR)
452463
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -364,10 +364,14 @@
364 # will run on the platform that is doing the build. This is used
365 # to compile code-generator programs as part of the build process.
366 # See TCC below for the C compiler for building the finished binary.
367 #
368 BCC = gcc
 
 
 
 
369
370 #### Enable JSON (http://www.json.org) support using "cson"
371 #
372 # FOSSIL_ENABLE_JSON = 1
373
@@ -442,10 +446,17 @@
442 # as BCC, unless you are cross-compiling. This C compiler builds
443 # the finished binary for fossil. The BCC compiler above is used
444 # for building intermediate code-generator tools.
445 #
446 TCC = $(PREFIX)gcc -Os -Wall -L$(ZLIBDIR) -I$(ZINCDIR)
 
 
 
 
 
 
 
447
448 #### Compile resources for use in building executables that will run
449 # on the target platform.
450 #
451 RCC = $(PREFIX)windres -I$(SRCDIR) -I$(ZINCDIR)
452
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -364,10 +364,14 @@
364 # will run on the platform that is doing the build. This is used
365 # to compile code-generator programs as part of the build process.
366 # See TCC below for the C compiler for building the finished binary.
367 #
368 BCC = gcc
369
370 #### Enable compiling with debug symbols (much larger binary)
371 #
372 # FOSSIL_ENABLE_SYMBOLS = 1
373
374 #### Enable JSON (http://www.json.org) support using "cson"
375 #
376 # FOSSIL_ENABLE_JSON = 1
377
@@ -442,10 +446,17 @@
446 # as BCC, unless you are cross-compiling. This C compiler builds
447 # the finished binary for fossil. The BCC compiler above is used
448 # for building intermediate code-generator tools.
449 #
450 TCC = $(PREFIX)gcc -Os -Wall -L$(ZLIBDIR) -I$(ZINCDIR)
451
452 #### Add the necessary command line options to build with debugging
453 # symbols, if enabled.
454 #
455 ifdef FOSSIL_ENABLE_SYMBOLS
456 TCC += -g
457 endif
458
459 #### Compile resources for use in building executables that will run
460 # on the target platform.
461 #
462 RCC = $(PREFIX)windres -I$(SRCDIR) -I$(ZINCDIR)
463
+1 -1
--- src/manifest.c
+++ src/manifest.c
@@ -833,11 +833,11 @@
833833
default: {
834834
SYNTAX("unrecognized card");
835835
}
836836
}
837837
}
838
- if( x.z<x.zEnd ) SYNTAX("card in the wrong order");
838
+ if( x.z<x.zEnd ) SYNTAX("extra characters at end of card");
839839
840840
if( p->nFile>0 || p->zRepoCksum!=0 || p->zBaseline ){
841841
if( p->nCChild>0 ) SYNTAX("M-card in check-in");
842842
if( p->rDate<=0.0 ) SYNTAX("missing date for check-in");
843843
if( p->nField>0 ) SYNTAX("J-card in check-in");
844844
--- src/manifest.c
+++ src/manifest.c
@@ -833,11 +833,11 @@
833 default: {
834 SYNTAX("unrecognized card");
835 }
836 }
837 }
838 if( x.z<x.zEnd ) SYNTAX("card in the wrong order");
839
840 if( p->nFile>0 || p->zRepoCksum!=0 || p->zBaseline ){
841 if( p->nCChild>0 ) SYNTAX("M-card in check-in");
842 if( p->rDate<=0.0 ) SYNTAX("missing date for check-in");
843 if( p->nField>0 ) SYNTAX("J-card in check-in");
844
--- src/manifest.c
+++ src/manifest.c
@@ -833,11 +833,11 @@
833 default: {
834 SYNTAX("unrecognized card");
835 }
836 }
837 }
838 if( x.z<x.zEnd ) SYNTAX("extra characters at end of card");
839
840 if( p->nFile>0 || p->zRepoCksum!=0 || p->zBaseline ){
841 if( p->nCChild>0 ) SYNTAX("M-card in check-in");
842 if( p->rDate<=0.0 ) SYNTAX("missing date for check-in");
843 if( p->nField>0 ) SYNTAX("J-card in check-in");
844
--- win/Makefile.mingw.mistachkin
+++ win/Makefile.mingw.mistachkin
@@ -35,10 +35,14 @@
3535
# will run on the platform that is doing the build. This is used
3636
# to compile code-generator programs as part of the build process.
3737
# See TCC below for the C compiler for building the finished binary.
3838
#
3939
BCC = gcc
40
+
41
+#### Enable compiling with debug symbols (much larger binary)
42
+#
43
+# FOSSIL_ENABLE_SYMBOLS = 1
4044
4145
#### Enable JSON (http://www.json.org) support using "cson"
4246
#
4347
FOSSIL_ENABLE_JSON = 1
4448
@@ -112,11 +116,18 @@
112116
# will run on the target platform. This is usually the same
113117
# as BCC, unless you are cross-compiling. This C compiler builds
114118
# the finished binary for fossil. The BCC compiler above is used
115119
# for building intermediate code-generator tools.
116120
#
117
-TCC = $(PREFIX)gcc -g -Os -Wall -L$(ZLIBDIR) -I$(ZINCDIR)
121
+TCC = $(PREFIX)gcc -Os -Wall -L$(ZLIBDIR) -I$(ZINCDIR)
122
+
123
+#### Add the necessary command line options to build with debugging
124
+# symbols, if enabled.
125
+#
126
+ifdef FOSSIL_ENABLE_SYMBOLS
127
+TCC += -g
128
+endif
118129
119130
#### Compile resources for use in building executables that will run
120131
# on the target platform.
121132
#
122133
RCC = $(PREFIX)windres -I$(SRCDIR) -I$(ZINCDIR)
123134
--- win/Makefile.mingw.mistachkin
+++ win/Makefile.mingw.mistachkin
@@ -35,10 +35,14 @@
35 # will run on the platform that is doing the build. This is used
36 # to compile code-generator programs as part of the build process.
37 # See TCC below for the C compiler for building the finished binary.
38 #
39 BCC = gcc
 
 
 
 
40
41 #### Enable JSON (http://www.json.org) support using "cson"
42 #
43 FOSSIL_ENABLE_JSON = 1
44
@@ -112,11 +116,18 @@
112 # will run on the target platform. This is usually the same
113 # as BCC, unless you are cross-compiling. This C compiler builds
114 # the finished binary for fossil. The BCC compiler above is used
115 # for building intermediate code-generator tools.
116 #
117 TCC = $(PREFIX)gcc -g -Os -Wall -L$(ZLIBDIR) -I$(ZINCDIR)
 
 
 
 
 
 
 
118
119 #### Compile resources for use in building executables that will run
120 # on the target platform.
121 #
122 RCC = $(PREFIX)windres -I$(SRCDIR) -I$(ZINCDIR)
123
--- win/Makefile.mingw.mistachkin
+++ win/Makefile.mingw.mistachkin
@@ -35,10 +35,14 @@
35 # will run on the platform that is doing the build. This is used
36 # to compile code-generator programs as part of the build process.
37 # See TCC below for the C compiler for building the finished binary.
38 #
39 BCC = gcc
40
41 #### Enable compiling with debug symbols (much larger binary)
42 #
43 # FOSSIL_ENABLE_SYMBOLS = 1
44
45 #### Enable JSON (http://www.json.org) support using "cson"
46 #
47 FOSSIL_ENABLE_JSON = 1
48
@@ -112,11 +116,18 @@
116 # will run on the target platform. This is usually the same
117 # as BCC, unless you are cross-compiling. This C compiler builds
118 # the finished binary for fossil. The BCC compiler above is used
119 # for building intermediate code-generator tools.
120 #
121 TCC = $(PREFIX)gcc -Os -Wall -L$(ZLIBDIR) -I$(ZINCDIR)
122
123 #### Add the necessary command line options to build with debugging
124 # symbols, if enabled.
125 #
126 ifdef FOSSIL_ENABLE_SYMBOLS
127 TCC += -g
128 endif
129
130 #### Compile resources for use in building executables that will run
131 # on the target platform.
132 #
133 RCC = $(PREFIX)windres -I$(SRCDIR) -I$(ZINCDIR)
134

Keyboard Shortcuts

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