Blame SOURCES/doxygen-1.7.5-timestamp.patch

6f0f47
diff -up doxygen-1.7.5/src/configoptions.cpp.timestamp doxygen-1.7.5/src/configoptions.cpp
6f0f47
--- doxygen-1.7.5/src/configoptions.cpp.timestamp	2011-08-03 15:54:50.000000000 +0200
6f0f47
+++ doxygen-1.7.5/src/configoptions.cpp	2011-08-23 12:55:56.000000000 +0200
6f0f47
@@ -1173,6 +1173,14 @@ void addConfigOptions(Config *cfg)
6f0f47
   cs->setWidgetType(ConfigString::File);
6f0f47
   cs->addDependency("GENERATE_HTML");
6f0f47
   //----
6f0f47
+  cb = cfg->addBool(
6f0f47
+                 "HTML_TIMESTAMP",
6f0f47
+                 "If the HTML_TIMESTAMP tag is set to YES then the generated HTML\n"
6f0f47
+                 "documentation will contain the timesstamp.",
6f0f47
+                 FALSE
6f0f47
+                );
6f0f47
+  cb->addDependency("GENERATE_HTML");
6f0f47
+  //----
6f0f47
   cs = cfg->addString(
6f0f47
                  "HTML_STYLESHEET",
6f0f47
                  "The HTML_STYLESHEET tag can be used to specify a user-defined cascading\n"
6f0f47
diff -up doxygen-1.7.5/src/config.xml.timestamp doxygen-1.7.5/src/config.xml
6f0f47
--- doxygen-1.7.5/src/config.xml.timestamp	2011-08-03 15:54:48.000000000 +0200
6f0f47
+++ doxygen-1.7.5/src/config.xml	2011-08-23 12:55:56.000000000 +0200
6f0f47
@@ -819,6 +819,11 @@ The HTML_FOOTER tag can be used to speci
6f0f47
 each generated HTML page. If it is left blank doxygen will generate a 
6f0f47
 standard footer. 
6f0f47
 ' defval='' depends='GENERATE_HTML'/>
6f0f47
+    
6f0f47
+If the HTML_TIMESTAMP tag is set to YES then the generated HTML
6f0f47
+documentation will contain the timesstamp.
6f0f47
+' defval='' depends='GENERATE_HTML'/>
6f0f47
+
6f0f47
     
6f0f47
 The HTML_STYLESHEET tag can be used to specify a user-defined cascading 
6f0f47
 style sheet that is used by each HTML page. It can be used to 
6f0f47
diff -up doxygen-1.7.5/src/htmlgen.cpp.timestamp doxygen-1.7.5/src/htmlgen.cpp
6f0f47
--- doxygen-1.7.5/src/htmlgen.cpp.timestamp	2011-08-01 22:10:17.000000000 +0200
6f0f47
+++ doxygen-1.7.5/src/htmlgen.cpp	2011-08-23 13:01:16.000000000 +0200
6f0f47
@@ -88,7 +88,7 @@ static const char svgpan_script[]=
6f0f47
 
6f0f47
 static QCString g_header;
6f0f47
 static QCString g_footer;
6f0f47
-
6f0f47
+static bool timestamp=false;
6f0f47
 //------------------------- Pictures for the Tabs ------------------------
6f0f47
 
6f0f47
 // active
6f0f47
@@ -1072,6 +1072,8 @@ void HtmlGenerator::init()
6f0f47
   {
6f0f47
     g_footer = defaultHtmlFooter;
6f0f47
   }
6f0f47
+  if (Config_getBool("HTML_TIMESTAMP"))
6f0f47
+    timestamp=true;
6f0f47
   createSubDirs(d);
6f0f47
 
6f0f47
   QCString fileName=dname+"/tabs.css";
6f0f47
@@ -1285,7 +1287,7 @@ QCString HtmlGenerator::writeLogoAsStrin
6f0f47
   if (timeStamp)
6f0f47
   {
6f0f47
     result += theTranslator->trGeneratedAt(
6f0f47
-               dateToString(TRUE),
6f0f47
+               dateToString(timestamp),
6f0f47
                Config_getString("PROJECT_NAME")
6f0f47
               );
6f0f47
   }