SHA256
8
0
forked from pool/doxygen
Files
doxygen/doxygen-1.7.0-modify_footer.patch
Petr Gajdos f15ea0efdd - updated to 1.7.2:
* Changed the default font of the LaTeX output to helvetica.
  * Changed the way parameters and return values are represented 
    in the LaTeX and RTF output. They are now listed using tables. 
  *  added support for Apple's block object extension for C/Obj-C/C++.
  * added support for detecting Python constructors and destructors.
  * id 624575: Added \endinternal command that can be used to force 
    the end of a section started with \internal.
  * id 552605: Added parsing support for PHP 5.3+ style namespaces.
  * id 582532: added \mscfile command which can be used to insert a 
    message sequence chart given a .msc file. Also added a new 
    config option MSCFILE_DIRS to provide directories were msc 
    files are searched (Thanks to Adrien for the patch).
  * Added support for type specifiers for documenting PHP 
    parameters, format: "@param type $paramname docs"
  * Added support for rendering formulas in the HTML output using 
    MathJax instead of using prerendered bitmaps. For this purpose 
    the options USE_MATHJAX and MATHJAX_RELPATH were added. 
  * Many bugfixes.
  * For details see http://www.stack.nl/~dimitri/doxygen/changelog.html.

- updated to 1.7.2:
  * Changed the default font of the LaTeX output to helvetica.
  * Changed the way parameters and return values are represented
    in the LaTeX and RTF output. They are now listed using tables.
  *  added support for Apple's block object extension for C/Obj-C/C++.
  * added support for detecting Python constructors and destructors.
  * id 624575: Added \endinternal command that can be used to force
    the end of a section started with \internal.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/doxygen?expand=0&rev=22
2010-10-11 14:08:58 +00:00

69 lines
3.7 KiB
Diff

Index: src/config.xml
===================================================================
--- src/config.xml.orig
+++ src/config.xml
@@ -762,6 +762,11 @@ The HTML_FOOTER tag can be used to speci
each generated HTML page. If it is left blank doxygen will generate a
standard footer.
' defval='' depends='GENERATE_HTML'/>
+ <option type='bool' id='HTML_FOOTER_DESCRIPTION' docs='
+The HTML_FOOTER_DATE_AND_PROJECT_NAME tag can be used to add build date,
+project name and Doxygen version to HTML footer.
+standard footer.
+' defval='' depends='GENERATE_HTML'/>
<option type='string' id='HTML_STYLESHEET' format='file' docs='
The HTML_STYLESHEET tag can be used to specify a user-defined cascading
style sheet that is used by each HTML page. It can be used to
Index: src/htmlgen.cpp
===================================================================
--- src/htmlgen.cpp.orig
+++ src/htmlgen.cpp
@@ -969,10 +969,16 @@ void HtmlGenerator::writeFooterFile(QFil
{
FTextStream t(&file);
t << "<hr class=\"footer\"/><address class=\"footer\"><small>\n";
+ if (Config_getBool("HTML_FOOTER_DESCRIPTION")) {
t << theTranslator->trGeneratedAt( "$datetime", "$projectname" );
- t << "&#160;<a href=\"http://www.doxygen.org/index.html\">"
+ t << "&#160;";
+ }
+ t << "<a href=\"http://www.doxygen.org/index.html\">"
<< "<img class=\"footer\" src=\"$relpath$doxygen.png\" alt=\"doxygen\"/>"
- << "</a> $doxygenversion";
+ << "</a>";
+ if (Config_getBool("HTML_FOOTER_DESCRIPTION")) {
+ t << " $doxygenversion";
+ }
t << "</small></address>\n"
<< "</body>\n"
<< "</html>\n";
Index: src/configoptions.cpp
===================================================================
--- src/configoptions.cpp.orig
+++ src/configoptions.cpp
@@ -1096,6 +1096,15 @@ void addConfigOptions(Config *cfg)
cs->setWidgetType(ConfigString::File);
cs->addDependency("GENERATE_HTML");
//----
+ cb = cfg->addBool(
+ "HTML_FOOTER_DESCRIPTION",
+ "If the HTML_FOOTER_DESCRIPTION tag is set to YES, Doxygen will \n"
+ "add generated date, project name and doxygen version to HTML footer.",
+ FALSE
+ );
+ //cs->setDefaultValue("FALSE");
+ cs->addDependency("GENERATE_HTML");
+ //----
cs = cfg->addString(
"HTML_STYLESHEET",
"The HTML_STYLESHEET tag can be used to specify a user-defined cascading\n"
@@ -1146,7 +1155,7 @@ void addConfigOptions(Config *cfg)
"If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML\n"
"page will contain the date and time when the page was generated. Setting\n"
"this to NO can help when comparing the output of multiple runs.",
- TRUE
+ FALSE
);
cb->addDependency("GENERATE_HTML");
//----