Blame SOURCES/doxygen-1.7.5-timestamp.patch

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