Fossil SCM

Omit TH1 hooks setting when it is not enabled.

mistachkin 2014-09-09 21:24 trunk
Commit ff8ac8db0aea46b3e49fad088b77ad28bd76c884
2 files changed +2 +2
--- src/configure.c
+++ src/configure.c
@@ -97,11 +97,13 @@
9797
{ "timeline-max-comment", CONFIGSET_SKIN },
9898
{ "timeline-plaintext", CONFIGSET_SKIN },
9999
{ "adunit", CONFIGSET_SKIN },
100100
{ "adunit-omit-if-admin", CONFIGSET_SKIN },
101101
{ "adunit-omit-if-user", CONFIGSET_SKIN },
102
+#ifdef FOSSIL_ENABLE_TH1_HOOKS
102103
{ "th1-hooks", CONFIGSET_TH1 },
104
+#endif
103105
{ "th1-setup", CONFIGSET_TH1 },
104106
{ "th1-uri-regexp", CONFIGSET_TH1 },
105107
106108
#ifdef FOSSIL_ENABLE_TCL
107109
{ "tcl", CONFIGSET_TH1 },
108110
--- src/configure.c
+++ src/configure.c
@@ -97,11 +97,13 @@
97 { "timeline-max-comment", CONFIGSET_SKIN },
98 { "timeline-plaintext", CONFIGSET_SKIN },
99 { "adunit", CONFIGSET_SKIN },
100 { "adunit-omit-if-admin", CONFIGSET_SKIN },
101 { "adunit-omit-if-user", CONFIGSET_SKIN },
 
102 { "th1-hooks", CONFIGSET_TH1 },
 
103 { "th1-setup", CONFIGSET_TH1 },
104 { "th1-uri-regexp", CONFIGSET_TH1 },
105
106 #ifdef FOSSIL_ENABLE_TCL
107 { "tcl", CONFIGSET_TH1 },
108
--- src/configure.c
+++ src/configure.c
@@ -97,11 +97,13 @@
97 { "timeline-max-comment", CONFIGSET_SKIN },
98 { "timeline-plaintext", CONFIGSET_SKIN },
99 { "adunit", CONFIGSET_SKIN },
100 { "adunit-omit-if-admin", CONFIGSET_SKIN },
101 { "adunit-omit-if-user", CONFIGSET_SKIN },
102 #ifdef FOSSIL_ENABLE_TH1_HOOKS
103 { "th1-hooks", CONFIGSET_TH1 },
104 #endif
105 { "th1-setup", CONFIGSET_TH1 },
106 { "th1-uri-regexp", CONFIGSET_TH1 },
107
108 #ifdef FOSSIL_ENABLE_TCL
109 { "tcl", CONFIGSET_TH1 },
110
+2
--- src/db.c
+++ src/db.c
@@ -2201,11 +2201,13 @@
22012201
{ "ssl-identity", 0, 40, 0, 0, "" },
22022202
#ifdef FOSSIL_ENABLE_TCL
22032203
{ "tcl", 0, 0, 0, 0, "off" },
22042204
{ "tcl-setup", 0, 40, 1, 1, "" },
22052205
#endif
2206
+#ifdef FOSSIL_ENABLE_TH1_HOOKS
22062207
{ "th1-hooks", 0, 0, 0, 0, "off" },
2208
+#endif
22072209
{ "th1-setup", 0, 40, 1, 1, "" },
22082210
{ "th1-uri-regexp", 0, 40, 1, 0, "" },
22092211
{ "web-browser", 0, 32, 0, 0, "" },
22102212
{ "white-foreground", 0, 0, 0, 0, "off" },
22112213
{ 0,0,0,0,0,0 }
22122214
--- src/db.c
+++ src/db.c
@@ -2201,11 +2201,13 @@
2201 { "ssl-identity", 0, 40, 0, 0, "" },
2202 #ifdef FOSSIL_ENABLE_TCL
2203 { "tcl", 0, 0, 0, 0, "off" },
2204 { "tcl-setup", 0, 40, 1, 1, "" },
2205 #endif
 
2206 { "th1-hooks", 0, 0, 0, 0, "off" },
 
2207 { "th1-setup", 0, 40, 1, 1, "" },
2208 { "th1-uri-regexp", 0, 40, 1, 0, "" },
2209 { "web-browser", 0, 32, 0, 0, "" },
2210 { "white-foreground", 0, 0, 0, 0, "off" },
2211 { 0,0,0,0,0,0 }
2212
--- src/db.c
+++ src/db.c
@@ -2201,11 +2201,13 @@
2201 { "ssl-identity", 0, 40, 0, 0, "" },
2202 #ifdef FOSSIL_ENABLE_TCL
2203 { "tcl", 0, 0, 0, 0, "off" },
2204 { "tcl-setup", 0, 40, 1, 1, "" },
2205 #endif
2206 #ifdef FOSSIL_ENABLE_TH1_HOOKS
2207 { "th1-hooks", 0, 0, 0, 0, "off" },
2208 #endif
2209 { "th1-setup", 0, 40, 1, 1, "" },
2210 { "th1-uri-regexp", 0, 40, 1, 0, "" },
2211 { "web-browser", 0, 32, 0, 0, "" },
2212 { "white-foreground", 0, 0, 0, 0, "off" },
2213 { 0,0,0,0,0,0 }
2214

Keyboard Shortcuts

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