Blame SOURCES/doxygen-1.7.5-timestamp.patch

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