Blame SOURCES/doxygen-1.7.5-timestamp.patch

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