Fossil SCM

Remove a couple superfluous checks for markdown as an optional feature (i.e. now that it's always enabled).

mistachkin 2013-04-01 18:18 trunk
Commit 5acc36b1252f4d822722f07d6b28ce917a507373
-5
--- src/db.c
+++ src/db.c
@@ -2243,15 +2243,10 @@
22432243
**
22442244
** manifest If enabled, automatically create files "manifest" and
22452245
** (versionable) "manifest.uuid" in every checkout. The SQLite and
22462246
** Fossil repositories both require this. Default: off.
22472247
**
2248
-** markdown If enabled (and Fossil was compiled with markdown
2249
-** support), the markdown engine will be used to render
2250
-** embedded documentation conforming to the appropriate
2251
-** content types (e.g. "text/x-markdown"). Default: off.
2252
-**
22532248
** max-upload A limit on the size of uplink HTTP requests. The
22542249
** default is 250000 bytes.
22552250
**
22562251
** mtime-changes Use file modification times (mtimes) to detect when
22572252
** files have been modified. (Default "on".)
22582253
--- src/db.c
+++ src/db.c
@@ -2243,15 +2243,10 @@
2243 **
2244 ** manifest If enabled, automatically create files "manifest" and
2245 ** (versionable) "manifest.uuid" in every checkout. The SQLite and
2246 ** Fossil repositories both require this. Default: off.
2247 **
2248 ** markdown If enabled (and Fossil was compiled with markdown
2249 ** support), the markdown engine will be used to render
2250 ** embedded documentation conforming to the appropriate
2251 ** content types (e.g. "text/x-markdown"). Default: off.
2252 **
2253 ** max-upload A limit on the size of uplink HTTP requests. The
2254 ** default is 250000 bytes.
2255 **
2256 ** mtime-changes Use file modification times (mtimes) to detect when
2257 ** files have been modified. (Default "on".)
2258
--- src/db.c
+++ src/db.c
@@ -2243,15 +2243,10 @@
2243 **
2244 ** manifest If enabled, automatically create files "manifest" and
2245 ** (versionable) "manifest.uuid" in every checkout. The SQLite and
2246 ** Fossil repositories both require this. Default: off.
2247 **
 
 
 
 
 
2248 ** max-upload A limit on the size of uplink HTTP requests. The
2249 ** default is 250000 bytes.
2250 **
2251 ** mtime-changes Use file modification times (mtimes) to detect when
2252 ** files have been modified. (Default "on".)
2253
--- win/Makefile.mingw.mistachkin
+++ win/Makefile.mingw.mistachkin
@@ -44,14 +44,10 @@
4444
4545
#### Enable JSON (http://www.json.org) support using "cson"
4646
#
4747
FOSSIL_ENABLE_JSON = 1
4848
49
-#### Enable markdown support
50
-#
51
-FOSSIL_ENABLE_MARKDOWN = 1
52
-
5349
#### Enable HTTPS support via OpenSSL (links to libssl and libcrypto)
5450
#
5551
FOSSIL_ENABLE_SSL = 1
5652
5753
#### Enable scripting support via Tcl/Tk
@@ -189,16 +185,10 @@
189185
ifdef FOSSIL_ENABLE_JSON
190186
TCC += -DFOSSIL_ENABLE_JSON=1
191187
RCC += -DFOSSIL_ENABLE_JSON=1
192188
endif
193189
194
-# With markdown support
195
-ifdef FOSSIL_ENABLE_MARKDOWN
196
-TCC += -DFOSSIL_ENABLE_MARKDOWN=1
197
-RCC += -DFOSSIL_ENABLE_MARKDOWN=1
198
-endif
199
-
200190
#### We add the -static option here so that we can build a static
201191
# executable that will run in a chroot jail.
202192
#
203193
LIB = -static
204194
205195
--- win/Makefile.mingw.mistachkin
+++ win/Makefile.mingw.mistachkin
@@ -44,14 +44,10 @@
44
45 #### Enable JSON (http://www.json.org) support using "cson"
46 #
47 FOSSIL_ENABLE_JSON = 1
48
49 #### Enable markdown support
50 #
51 FOSSIL_ENABLE_MARKDOWN = 1
52
53 #### Enable HTTPS support via OpenSSL (links to libssl and libcrypto)
54 #
55 FOSSIL_ENABLE_SSL = 1
56
57 #### Enable scripting support via Tcl/Tk
@@ -189,16 +185,10 @@
189 ifdef FOSSIL_ENABLE_JSON
190 TCC += -DFOSSIL_ENABLE_JSON=1
191 RCC += -DFOSSIL_ENABLE_JSON=1
192 endif
193
194 # With markdown support
195 ifdef FOSSIL_ENABLE_MARKDOWN
196 TCC += -DFOSSIL_ENABLE_MARKDOWN=1
197 RCC += -DFOSSIL_ENABLE_MARKDOWN=1
198 endif
199
200 #### We add the -static option here so that we can build a static
201 # executable that will run in a chroot jail.
202 #
203 LIB = -static
204
205
--- win/Makefile.mingw.mistachkin
+++ win/Makefile.mingw.mistachkin
@@ -44,14 +44,10 @@
44
45 #### Enable JSON (http://www.json.org) support using "cson"
46 #
47 FOSSIL_ENABLE_JSON = 1
48
 
 
 
 
49 #### Enable HTTPS support via OpenSSL (links to libssl and libcrypto)
50 #
51 FOSSIL_ENABLE_SSL = 1
52
53 #### Enable scripting support via Tcl/Tk
@@ -189,16 +185,10 @@
185 ifdef FOSSIL_ENABLE_JSON
186 TCC += -DFOSSIL_ENABLE_JSON=1
187 RCC += -DFOSSIL_ENABLE_JSON=1
188 endif
189
 
 
 
 
 
 
190 #### We add the -static option here so that we can build a static
191 # executable that will run in a chroot jail.
192 #
193 LIB = -static
194
195
--- win/fossil.rc
+++ win/fossil.rc
@@ -108,13 +108,11 @@
108108
#endif
109109
#endif
110110
#ifdef FOSSIL_ENABLE_JSON
111111
VALUE "JsonEnabled", "Yes, cson " FOSSIL_JSON_API_VERSION "\0"
112112
#endif
113
-#ifdef FOSSIL_ENABLE_MARKDOWN
114113
VALUE "MarkdownEnabled", "Yes\0"
115
-#endif
116114
END
117115
END
118116
BLOCK "VarFileInfo"
119117
BEGIN
120118
VALUE "Translation", 0x409, 0x4B0
121119
--- win/fossil.rc
+++ win/fossil.rc
@@ -108,13 +108,11 @@
108 #endif
109 #endif
110 #ifdef FOSSIL_ENABLE_JSON
111 VALUE "JsonEnabled", "Yes, cson " FOSSIL_JSON_API_VERSION "\0"
112 #endif
113 #ifdef FOSSIL_ENABLE_MARKDOWN
114 VALUE "MarkdownEnabled", "Yes\0"
115 #endif
116 END
117 END
118 BLOCK "VarFileInfo"
119 BEGIN
120 VALUE "Translation", 0x409, 0x4B0
121
--- win/fossil.rc
+++ win/fossil.rc
@@ -108,13 +108,11 @@
108 #endif
109 #endif
110 #ifdef FOSSIL_ENABLE_JSON
111 VALUE "JsonEnabled", "Yes, cson " FOSSIL_JSON_API_VERSION "\0"
112 #endif
 
113 VALUE "MarkdownEnabled", "Yes\0"
 
114 END
115 END
116 BLOCK "VarFileInfo"
117 BEGIN
118 VALUE "Translation", 0x409, 0x4B0
119

Keyboard Shortcuts

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