From bbcf980f4a694461bc9ea7bd2b92b8be3e1d4636 Mon Sep 17 00:00:00 2001 From: dimitri Date: Sun, 25 Sep 2011 13:05:36 +0000 Subject: Release-1.7.5.1-20110925 --- Doxyfile | 2 +- INSTALL | 4 +- README | 4 +- configure | 2 +- doc/config.doc | 4 +- doc/index.doc | 2 +- doc/language.doc | 4 +- doc/translator_report.txt | 69 +---- qtools/Doxyfile | 10 +- src/cite.cpp | 15 +- src/classdef.cpp | 22 +- src/classdef.h | 2 +- src/config.xml | 12 +- src/configoptions.cpp | 12 +- src/definition.cpp | 6 +- src/definition.h | 2 +- src/docsets.cpp | 4 +- src/docsets.h | 8 +- src/doctokenizer.l | 7 +- src/dot.cpp | 3 - src/doxygen.bst | 4 +- src/doxygen.cpp | 88 +++--- src/doxygen_bst.h | 4 +- src/eclipsehelp.cpp | 6 +- src/eclipsehelp.h | 4 +- src/filedef.cpp | 155 ++++++---- src/filedef.h | 6 +- src/ftvhelp.cpp | 598 +++++++----------------------------- src/ftvhelp.h | 7 +- src/groupdef.cpp | 4 +- src/htmldocvisitor.cpp | 2 +- src/htmlgen.cpp | 204 +++++-------- src/htmlgen.h | 3 +- src/htmlhelp.cpp | 11 +- src/htmlhelp.h | 8 +- src/index.cpp | 668 ++++++++++++++++++++++++++++------------ src/index.h | 51 ++-- src/latexgen.cpp | 4 +- src/latexgen.h | 1 + src/layout.cpp | 25 +- src/layout.h | 7 +- src/layout_default.h | 6 +- src/layout_default.xml | 6 +- src/libdoxygen.t | 3 + src/mandocvisitor.cpp | 2 +- src/mangen.h | 1 + src/memberlist.cpp | 35 ++- src/namespacedef.cpp | 2 +- src/navtree.css | 6 +- src/navtree.js | 243 +++++++++++---- src/navtree_css.h | 6 +- src/navtree_js.h | 243 +++++++++++---- src/outputgen.h | 1 + src/outputlist.h | 2 + src/pagedef.cpp | 2 +- src/perlmodgen.cpp | 2 +- src/pre.l | 66 +++- src/qhp.cpp | 3 +- src/qhp.h | 3 +- src/rtfgen.h | 1 + src/svgpan.js | 19 +- src/svgpan_js.h | 19 +- src/tagreader.cpp | 2 +- src/translator_am.h | 2 +- src/translator_id.h | 761 +++++++++++++++++++++++++++++++--------------- src/xmlgen.cpp | 4 +- winbuild/Doxygen.vcproj | 2 +- 67 files changed, 1934 insertions(+), 1562 deletions(-) diff --git a/Doxyfile b/Doxyfile index fe3e33a..621c9d9 100644 --- a/Doxyfile +++ b/Doxyfile @@ -185,7 +185,7 @@ QHP_SECT_FILTER_ATTRS = QHG_LOCATION = GENERATE_ECLIPSEHELP = NO ECLIPSE_DOC_ID = org.doxygen.Project -DISABLE_INDEX = NO +DISABLE_INDEX = YES ENUM_VALUES_PER_LINE = 4 GENERATE_TREEVIEW = YES USE_INLINE_TREES = YES diff --git a/INSTALL b/INSTALL index 5011525..f50fc35 100644 --- a/INSTALL +++ b/INSTALL @@ -1,7 +1,7 @@ -DOXYGEN Version 1.7.5.1 +DOXYGEN Version 1.7.5.1-20110925 Please read the installation section of the manual (http://www.doxygen.org/install.html) for instructions. -------- -Dimitri van Heesch (21 August 2011) +Dimitri van Heesch (25 September 2011) diff --git a/README b/README index 12752cd..5fe20b2 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -DOXYGEN Version 1.7.5.1 +DOXYGEN Version 1.7.5.1_20110925 Please read INSTALL for compilation instructions. @@ -26,4 +26,4 @@ forum. Enjoy, -Dimitri van Heesch (dimitri@stack.nl) (21 August 2011) +Dimitri van Heesch (dimitri@stack.nl) (25 September 2011) diff --git a/configure b/configure index a67f0e4..084edff 100755 --- a/configure +++ b/configure @@ -20,7 +20,7 @@ doxygen_version_minor=7 doxygen_version_revision=5.1 #NOTE: Setting version_mmn to "NO" will omit mmn info from the package. -doxygen_version_mmn=NO +doxygen_version_mmn=20110925 bin_dirs=`echo $PATH | sed -e "s/:/ /g"` diff --git a/doc/config.doc b/doc/config.doc index 21b8262..022f4cd 100644 --- a/doc/config.doc +++ b/doc/config.doc @@ -1711,7 +1711,9 @@ and does not have live searching capabilities. might be necessary to disable the index and replace it with your own. The \c DISABLE_INDEX tag can be used to turn on/off the condensed index at top of each page. A value of NO (the default) enables the index and the - value YES disables it. + value \c YES disables it. Since the tabs have the same information as the + navigation tree you can set this option to \c NO if you already set + \ref cfg_generate_treeview "GENERATE_TREEVIEW" to \c YES. \anchor cfg_enum_values_per_line
\c ENUM_VALUES_PER_LINE
diff --git a/doc/index.doc b/doc/index.doc index 0609b11..fca1bd3 100644 --- a/doc/index.doc +++ b/doc/index.doc @@ -14,7 +14,7 @@ * input used in their production; they are not affected by this license. * */ -/*! \page index +/*! \mainpage \if logo_on
\htmlonly diff --git a/doc/language.doc b/doc/language.doc index bced9a4..51bcfec 100644 --- a/doc/language.doc +++ b/doc/language.doc @@ -164,7 +164,7 @@ when the translator was updated. Indonesian Hendy Irawan ceefour at gauldong dot net - 1.4.6 + up-to-date Italian @@ -359,7 +359,7 @@ when the translator was updated. Hungarian & Ákos Kiss & {\tt\tiny akiss at users dot sourceforge dot net} & 1.4.6 \\ ~ & Földvári György & {\tt\tiny [unreachable] foldvari lost at cyberspace} & ~ \\ \hline - Indonesian & Hendy Irawan & {\tt\tiny ceefour at gauldong dot net} & 1.4.6 \\ + Indonesian & Hendy Irawan & {\tt\tiny ceefour at gauldong dot net} & up-to-date \\ \hline Italian & Alessandro Falappa & {\tt\tiny alessandro at falappa dot net} & 1.7.5 \\ ~ & Ahmed Aldo Faisal & {\tt\tiny aaf23 at cam dot ac dot uk} & ~ \\ diff --git a/doc/translator_report.txt b/doc/translator_report.txt index 46cb70f..fd23384 100644 --- a/doc/translator_report.txt +++ b/doc/translator_report.txt @@ -10,7 +10,7 @@ Norwegian, Persian, Polish, Portuguese, Romanian, Russian, Serbian, SerbianCyrilic, Slovak, Slovene, Spanish, Swedish, Turkish, Ukrainian, and Vietnamese. -Of them, 15 translators are up-to-date, 24 translators are based on +Of them, 16 translators are up-to-date, 23 translators are based on some adapter class, and 2 are English based. ---------------------------------------------------------------------- @@ -19,7 +19,7 @@ alphabetically). This means that they derive from the Translator class and they implement all 228 of the required methods. Anyway, there still may be some details listed even for them: - TranslatorArmenian -- Change the base class to Translator. + TranslatorArmenian TranslatorBrazilian TranslatorCatalan TranslatorChinesetraditional -- Reimplementation using UTF-8 suggested. @@ -32,6 +32,7 @@ still may be some details listed even for them: TranslatorFrench -- Reimplementation using UTF-8 suggested. TranslatorGerman TranslatorGreek + TranslatorIndonesian -- Reimplementation using UTF-8 suggested. TranslatorPortuguese TranslatorSlovak @@ -81,9 +82,6 @@ must be implemented to become up-to-date: TranslatorLithuanian 1.4.6 36 methods to implement (15 %) Note: Reimplementation using UTF-8 suggested. - TranslatorIndonesian 1.4.6 35 methods to implement (15 %) - Note: Reimplementation using UTF-8 suggested. - TranslatorHungarian 1.4.6 36 methods to implement (15 %) Note: Reimplementation using UTF-8 suggested. @@ -115,6 +113,7 @@ for occurence of the method identifiers: QCString trDCOPMethods() QCString trDirDependency(const char *) QCString trFunctionPrototypeDocumentation() + QCString trGraphicalHierarchy() QCString trSearchForIndex() @@ -200,12 +199,6 @@ TranslatorArabic (TranslatorAdapter_1_4_6) 35 methods to implement (15 %) virtual QCString trNoDescriptionAvailable() -TranslatorArmenian (TranslatorAdapter_1_7_5) ------------------- - - Implements 228 of the required methods (100 %). - - TranslatorChinesetraditional (Translator) ---------------------------- @@ -302,60 +295,10 @@ TranslatorHungarian (TranslatorAdapter_1_4_6) 36 methods to implement (15 %) virtual QCString trSubprogramDocumentation() -TranslatorIndonesian (TranslatorAdapter_1_4_6) 35 methods to implement (15 %) +TranslatorIndonesian (Translator) -------------------- - Implements 193 of the required methods (84 %). - - Missing methods (should be implemented): - - virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) - virtual QCString trSearching() - virtual QCString trNoMatches() - virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) - virtual QCString trLoading() - virtual QCString trSubprograms() - virtual QCString trDateTime(int year, int month, int day, int dayOfWeek, int hour, int minutes, int seconds, bool includeTime) - virtual QCString trModulesListDescription(bool extractAll) - virtual QCString trModulesList() - virtual QCString trTypeConstraints() - virtual QCString trFileIn(const char * name) - virtual QCString trGlobalNamespace() - virtual QCString trMemberFunctionDocumentationFortran() - virtual QCString trCompoundListDescriptionFortran() - virtual QCString trTypeDocumentation() - virtual QCString trModuleReference(const char * namespaceName) - virtual QCString trModulesMemberDescription(bool extractAll) - virtual QCString trModulesMembers() - virtual QCString trDirDepGraph(const char * name) - virtual QCString trModulesIndex() - virtual QCString trDirRelation(const char * name) - virtual QCString trCompoundListFortran() - virtual QCString trDataTypes() - virtual QCString trCiteReferences() - virtual QCString trDirDependency(const char * name) - virtual QCString trCopyright() - virtual QCString trIncludesFileIn(const char * name) - virtual QCString trCompoundIndexFortran() - virtual QCString trSubprogram(bool first_capital, bool singular) - virtual QCString trCallerGraph() - virtual QCString trCompoundReferenceFortran(const char * clName, ClassDef::CompoundType compType, bool isTemplate) - virtual QCString trType(bool first_capital, bool singular) - virtual QCString trModule(bool first_capital, bool singular) - virtual QCString trCompoundMembersFortran() - virtual QCString trSubprogramDocumentation() - - Obsolete methods (should be removed, never used): - - virtual QCString trHeaderFilesDescription() - virtual QCString trField(bool first_capital, bool) - virtual QCString trPackageDocumentation() - virtual QCString trSources() - virtual QCString trReimplementedForInternalReasons() - virtual QCString trInterfaces() - virtual QCString trHeaderFiles() - virtual QCString trBugsAndLimitations() - virtual QCString trNoDescriptionAvailable() + Implements 228 of the required methods (100 %). TranslatorItalian (TranslatorAdapter_1_7_5) 3 methods to implement (1 %) diff --git a/qtools/Doxyfile b/qtools/Doxyfile index 0923047..5934468 100644 --- a/qtools/Doxyfile +++ b/qtools/Doxyfile @@ -45,7 +45,7 @@ SYMBOL_CACHE_SIZE = 0 # Build related configuration options #--------------------------------------------------------------------------- EXTRACT_ALL = YES -EXTRACT_PRIVATE = YES +EXTRACT_PRIVATE = NO EXTRACT_STATIC = YES EXTRACT_LOCAL_CLASSES = YES EXTRACT_LOCAL_METHODS = NO @@ -129,7 +129,7 @@ IGNORE_PREFIX = Q #--------------------------------------------------------------------------- # configuration options related to the HTML output #--------------------------------------------------------------------------- -GENERATE_HTML = NO +GENERATE_HTML = YES HTML_OUTPUT = HTML_FILE_EXTENSION = .html HTML_HEADER = @@ -164,10 +164,10 @@ QHP_SECT_FILTER_ATTRS = QHG_LOCATION = GENERATE_ECLIPSEHELP = YES ECLIPSE_DOC_ID = org.doxygen.qtools -DISABLE_INDEX = NO +DISABLE_INDEX = YES ENUM_VALUES_PER_LINE = 4 GENERATE_TREEVIEW = YES -USE_INLINE_TREES = NO +USE_INLINE_TREES = YES TREEVIEW_WIDTH = 250 EXT_LINKS_IN_WINDOW = NO FORMULA_FONTSIZE = 10 @@ -175,7 +175,7 @@ FORMULA_TRANSPARENT = YES USE_MATHJAX = NO MATHJAX_RELPATH = http://www.mathjax.org/mathjax SEARCHENGINE = YES -SERVER_BASED_SEARCH = YES +SERVER_BASED_SEARCH = NO #--------------------------------------------------------------------------- # configuration options related to the LaTeX output #--------------------------------------------------------------------------- diff --git a/src/cite.cpp b/src/cite.cpp index 018d9cf..d19dfc1 100644 --- a/src/cite.cpp +++ b/src/cite.cpp @@ -75,10 +75,11 @@ bool CiteDict::writeAux() QFileInfo fi(bibFile); // open file (with .bib extension) if (fi.exists()) { - if (!copyFile(bibFile,m_baseFileName+"_"+bibFile)) + if (!copyFile(bibFile,m_baseFileName+"_"+fi.fileName().data())) { return FALSE; } + bibFile = fi.fileName().data(); if (bibFile.right(4)==".bib") { bibFile = bibFile.left(bibFile.length()-4); @@ -300,9 +301,17 @@ void CiteDict::resolve() { QCString bibFile = bibdata; if (!bibFile.isEmpty() && bibFile.right(4)!=".bib") bibFile+=".bib"; - if (!bibFile.isEmpty()) + QFileInfo fi(bibFile); + if (fi.exists()) + { + if (!bibFile.isEmpty()) + { + copyFile(bibFile,latexOutputDir+fi.fileName().data()); + } + } + else { - copyFile(bibFile,latexOutputDir+bibFile); + err("Error: bib file %s not found!\n",bibFile.data()); } bibdata = citeDataList.next(); } diff --git a/src/classdef.cpp b/src/classdef.cpp index c69c300..f868037 100644 --- a/src/classdef.cpp +++ b/src/classdef.cpp @@ -2023,7 +2023,7 @@ void ClassDef::writeQuickMemberLinks(OutputList &ol,MemberDef *currentMd) const if (createSubDirs) ol.writeString("../../"); ol.writeString(md->getOutputFileBase()+Doxygen::htmlFileExtension+"#"+md->anchor()); ol.writeString("\">"); - ol.writeString(md->name()); + ol.writeString(convertToHtml(md->name())); ol.writeString(""); } ol.writeString("\n"); @@ -2080,7 +2080,7 @@ void ClassDef::writeMemberList(OutputList &ol) { if (getOuterScope()!=Doxygen::globalScope) { - writeNavigationPath(ol); + writeNavigationPath(ol,FALSE); } ol.endQuickIndices(); } @@ -3209,26 +3209,18 @@ QCString ClassDef::getOutputFileBase() const // point to simple struct inside a group return partOfGroups()->at(0)->getOutputFileBase(); } - else if (inlineSimpleClasses && m_impl->isSimple && (scope=getOuterScope()) && - ( - (scope==Doxygen::globalScope && getFileDef() && getFileDef()->isLinkableInProject()) || - scope->isLinkableInProject() - ) - ) + else if (inlineSimpleClasses && m_impl->isSimple && (scope=getOuterScope())) { - if (scope==Doxygen::globalScope) // simple struct embedded in file + if (scope==Doxygen::globalScope && getFileDef() && getFileDef()->isLinkableInProject()) // simple struct embedded in file { return getFileDef()->getOutputFileBase(); } - else // simple struct embedded in other container (namespace/group/class) + else if (scope->isLinkableInProject()) // simple struct embedded in other container (namespace/group/class) { return getOuterScope()->getOutputFileBase(); } } - else - { - return getXmlOutputFileBase(); - } + return getXmlOutputFileBase(); } QCString ClassDef::getInstanceOutputFileBase() const @@ -3754,7 +3746,7 @@ bool ClassDef::isLocal() const return m_impl->isLocal; } -ClassSDict *ClassDef::getInnerClasses() +ClassSDict *ClassDef::getClassSDict() { return m_impl->innerClasses; } diff --git a/src/classdef.h b/src/classdef.h index 9673ec9..f2d5b3a 100644 --- a/src/classdef.h +++ b/src/classdef.h @@ -113,7 +113,7 @@ class ClassDef : public Definition bool isLocal() const; /*! returns the classes nested into this class */ - ClassSDict *getInnerClasses(); + ClassSDict *getClassSDict(); /*! returns TRUE if this class has documentation */ bool hasDocumentation() const; diff --git a/src/config.xml b/src/config.xml index f9bd11c..8f4d36d 100644 --- a/src/config.xml +++ b/src/config.xml @@ -1004,9 +1004,11 @@ the directory name containing the HTML and XML files should also have this name. ' defval='org.doxygen.Project' depends='GENERATE_ECLIPSEHELP'/>