From 720d85edd0316e1cedec3402e204ce418174305d Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Thu, 17 Nov 2011 21:22:48 +0000 Subject: Release-1.7.5.1-20111117 --- INSTALL | 4 +- README | 4 +- configure | 2 +- doc/docblocks.doc | 2 +- doc/doxygen_manual.tex | 1 - doc/language.doc | 2 +- doc/translator_report.txt | 2 +- examples/example.tag | 7 - qtools/Doxyfile | 2 +- src/Makefile.in | 3 +- src/classdef.cpp | 14 +- src/code.l | 26 +- src/config.xml | 19 +- src/configoptions.cpp | 18 +- src/dirdef.cpp | 14 +- src/doctokenizer.l | 7 +- src/dot.cpp | 43 +- src/doxygen.cpp | 143 +-- src/doxygen.css | 5 +- src/doxygen_css.h | 5 +- src/entry.h | 3 +- src/filedef.cpp | 20 +- src/fortrancode.l | 2 +- src/fortranscanner.l | 16 +- src/groupdef.cpp | 2 +- src/header.html | 1 + src/header_html.h | 1 + src/htmlgen.cpp | 5 +- src/index.cpp | 702 +------------ src/index.h | 5 +- src/layout.cpp | 24 +- src/libdoxygen.pro.in | 1 + src/libdoxygen.t | 15 +- src/memberlist.cpp | 5 +- src/namespacedef.cpp | 12 +- src/navtree.js | 36 +- src/navtree_js.h | 36 +- src/pagedef.cpp | 3 +- src/scanner.l | 39 +- src/search.css | 5 + src/search.js | 69 ++ src/search_css.h | 5 + src/search_js.h | 69 ++ src/searchindex.cpp | 771 ++++++++++++++ src/searchindex.h | 8 + src/sizzle.js | 10 + src/sizzle_js.h | 10 + src/svgpan.js | 3 +- src/svgpan_js.h | 3 +- src/tclscanner.l | 1041 ++++++++++--------- src/util.cpp | 7 + src/vhdlcode.l | 35 +- src/vhdldocgen.cpp | 1795 +++++++++++++++++--------------- src/vhdldocgen.h | 102 +- src/vhdlscanner.h | 60 +- src/vhdlscanner.l | 2499 +++++++++++++-------------------------------- winbuild/Doxygen.vcproj | 22 + winbuild/runbison.bat | 4 + 58 files changed, 3656 insertions(+), 4113 deletions(-) diff --git a/INSTALL b/INSTALL index 8615b17..12d9eb0 100644 --- a/INSTALL +++ b/INSTALL @@ -1,7 +1,7 @@ -DOXYGEN Version 1.7.5.1-20111027 +DOXYGEN Version 1.7.5.1-20111117 Please read the installation section of the manual (http://www.doxygen.org/install.html) for instructions. -------- -Dimitri van Heesch (27 October 2011) +Dimitri van Heesch (17 November 2011) diff --git a/README b/README index 978a647..ace5715 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -DOXYGEN Version 1.7.5.1_20111027 +DOXYGEN Version 1.7.5.1_20111117 Please read INSTALL for compilation instructions. @@ -26,4 +26,4 @@ forum. Enjoy, -Dimitri van Heesch (dimitri@stack.nl) (27 October 2011) +Dimitri van Heesch (dimitri@stack.nl) (17 November 2011) diff --git a/configure b/configure index b43bf32..42088c1 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=20111027 +doxygen_version_mmn=20111117 bin_dirs=`echo $PATH | sed -e "s/:/ /g"` diff --git a/doc/docblocks.doc b/doc/docblocks.doc index ea51edd..2e6878d 100644 --- a/doc/docblocks.doc +++ b/doc/docblocks.doc @@ -414,7 +414,7 @@ Here is the same example again but now using doxygen style comments: \endhtmlonly Since python looks more like Java than like C or C++, you should set -\ref cfg_optimize_output_java "OPTMIZE_OUTPUT_JAVA" to \c YES in the +\ref cfg_optimize_output_java "OPTIMIZE_OUTPUT_JAVA" to \c YES in the config file. diff --git a/doc/doxygen_manual.tex b/doc/doxygen_manual.tex index 4db934f..9dfd459 100644 --- a/doc/doxygen_manual.tex +++ b/doc/doxygen_manual.tex @@ -13,7 +13,6 @@ % input used in their production; they are not affected by this license. \documentclass[a4paper]{report} -\usepackage{a4wide} \usepackage{makeidx} \usepackage{fancyhdr} \usepackage{float} diff --git a/doc/language.doc b/doc/language.doc index 51bcfec..a155d48 100644 --- a/doc/language.doc +++ b/doc/language.doc @@ -23,7 +23,7 @@ text fragments, generated by doxygen, can be produced in languages other than English (the default). The output language is chosen through the configuration file (with default name and known as Doxyfile). -Currently (version 1.7.4), 39 languages +Currently (version 1.7.5), 39 languages are supported (sorted alphabetically): Afrikaans, Arabic, Armenian, Brazilian Portuguese, Catalan, Chinese, Chinese Traditional, Croatian, Czech, Danish, Dutch, English, diff --git a/doc/translator_report.txt b/doc/translator_report.txt index fd23384..f53d003 100644 --- a/doc/translator_report.txt +++ b/doc/translator_report.txt @@ -1,4 +1,4 @@ -(1.7.4) +(1.7.5) Doxygen supports the following 39 languages (sorted alphabetically): diff --git a/examples/example.tag b/examples/example.tag index a38ab5c..593dc85 100644 --- a/examples/example.tag +++ b/examples/example.tag @@ -3,12 +3,5 @@ Test class_test.html - - void - example - class_test.html - a47b775f65718978f1ffcd96376f8ecfa - () - diff --git a/qtools/Doxyfile b/qtools/Doxyfile index 5934468..c57b15f 100644 --- a/qtools/Doxyfile +++ b/qtools/Doxyfile @@ -165,8 +165,8 @@ QHG_LOCATION = GENERATE_ECLIPSEHELP = YES ECLIPSE_DOC_ID = org.doxygen.qtools DISABLE_INDEX = YES -ENUM_VALUES_PER_LINE = 4 GENERATE_TREEVIEW = YES +ENUM_VALUES_PER_LINE = 4 USE_INLINE_TREES = YES TREEVIEW_WIDTH = 250 EXT_LINKS_IN_WINDOW = NO diff --git a/src/Makefile.in b/src/Makefile.in index 6be0bff..19bcf7a 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -49,6 +49,7 @@ distclean: clean ce_parse.cpp ce_parse.h doxytag.cpp tag.cpp commentscan.cpp \ declinfo.cpp defargs.cpp commentcnv.cpp doctokenizer.cpp \ pycode.cpp pyscanner.cpp fortrancode.cpp fortranscanner.cpp \ - vhdlscanner.cpp vhdlcode.cpp tclscanner.cpp + vhdlscanner.cpp vhdlcode.cpp tclscanner.cpp vhdlparser.h \ + vhdlparser.cpp FORCE: diff --git a/src/classdef.cpp b/src/classdef.cpp index 4dd9860..fd3aedf 100644 --- a/src/classdef.cpp +++ b/src/classdef.cpp @@ -1774,7 +1774,7 @@ void ClassDef::writeDeclarationLink(OutputList &ol,bool &found,const char *heade { ol.writeString(" "); ol.insertMemberAlign(); - VhdlDocGen::writeClassType(this,ol,cname); + ol.writeString(VhdlDocGen::getProtectionName((VhdlDocGen::VhdlClasses)protection())); } ol.endMemberItem(); @@ -1962,12 +1962,7 @@ void ClassDef::writeDocumentation(OutputList &ol) endTitle(ol,getOutputFileBase(),displayName()); writeDocumentationContents(ol,pageTitle); - if (generateTreeView) - { - writeNavigationPath(ol); - } - - endFile(ol,TRUE); + endFileWithNavPath(this,ol); if (Config_getBool("SEPARATE_MEMBER_PAGES")) { @@ -3153,7 +3148,6 @@ void ClassDef::determineIntfUsageRelation() QCString ClassDef::compoundTypeString() const { - if (m_impl->compType==Interface && getLanguage()==SrcLangExt_ObjC) return "class"; if (getLanguage()==SrcLangExt_Fortran) { switch (m_impl->compType) @@ -3175,7 +3169,7 @@ QCString ClassDef::compoundTypeString() const case Class: return "class"; case Struct: return "struct"; case Union: return "union"; - case Interface: return "interface"; + case Interface: return getLanguage()==SrcLangExt_ObjC ? "class" : "interface"; case Protocol: return "protocol"; case Category: return "category"; case Exception: return "exception"; @@ -3714,7 +3708,7 @@ void ClassDef::writeMemberDeclarations(OutputList &ol,MemberList::ListType lt,co { if (getLanguage()==SrcLangExt_VHDL) // use specific declarations function { - VhdlDocGen::writeVhdlDeclarations(ml,ol,0,this,0); + VhdlDocGen::writeVhdlDeclarations(ml,ol,0,this,0,0); } else // use generic declaration function { diff --git a/src/code.l b/src/code.l index a4313c4..ffcc64c 100644 --- a/src/code.l +++ b/src/code.l @@ -655,7 +655,7 @@ static void setParameterList(MemberDef *md) } } -static ClassDef *stripClassName(const char *s) +static ClassDef *stripClassName(const char *s,Definition *d=g_currentDefinition) { int pos=0; QCString type = s; @@ -667,11 +667,11 @@ static ClassDef *stripClassName(const char *s) ClassDef *cd=0; if (!g_classScope.isEmpty()) { - cd=getResolvedClass(g_currentDefinition,g_sourceFileDef,g_classScope+"::"+clName); + cd=getResolvedClass(d,g_sourceFileDef,g_classScope+"::"+clName); } if (cd==0) { - cd=getResolvedClass(g_currentDefinition,g_sourceFileDef,clName); + cd=getResolvedClass(d,g_sourceFileDef,clName); } //printf("stripClass trying `%s' = %p\n",clName.data(),cd); if (cd) @@ -701,7 +701,7 @@ static MemberDef *setCallContextForVar(const QCString &name) if (md) { //printf("name=%s scope=%s\n",locName.data(),scope.data()); - g_theCallContext.setClass(stripClassName(md->typeString())); + g_theCallContext.setClass(stripClassName(md->typeString(),md->getOuterScope())); return md; } } @@ -714,7 +714,7 @@ static MemberDef *setCallContextForVar(const QCString &name) if (md) { //printf("name=%s scope=%s\n",locName.data(),scope.data()); - g_theCallContext.setClass(stripClassName(md->typeString())); + g_theCallContext.setClass(stripClassName(md->typeString(),md->getOuterScope())); return md; } } @@ -747,7 +747,7 @@ static MemberDef *setCallContextForVar(const QCString &name) if (g_scopeStack.top()!=CLASSBLOCK) { //fprintf(stderr,"class member `%s' mcd=%s\n",name.data(),mcd->name().data()); - g_theCallContext.setClass(stripClassName(md->typeString())); + g_theCallContext.setClass(stripClassName(md->typeString(),md->getOuterScope())); } return md; } @@ -763,7 +763,7 @@ static MemberDef *setCallContextForVar(const QCString &name) MemberDef *md=mn->getFirst(); if (!md->isStatic() || md->getBodyDef()==g_sourceFileDef) { - g_theCallContext.setClass(stripClassName(md->typeString())); + g_theCallContext.setClass(stripClassName(md->typeString(),md->getOuterScope())); return md; } return 0; @@ -782,7 +782,7 @@ static MemberDef *setCallContextForVar(const QCString &name) // defined as external. if (!md->isStatic() || md->getBodyDef()==g_sourceFileDef) { - g_theCallContext.setClass(stripClassName(md->typeString())); + g_theCallContext.setClass(stripClassName(md->typeString(),md->getOuterScope())); //printf("returning member %s in source file %s\n",md->name().data(),g_sourceFileDef->name().data()); return md; } @@ -801,7 +801,7 @@ static void updateCallContextForSmartPointer() MemberDef *md; if (cd && (md=cd->isSmartPointer())) { - ClassDef *ncd = stripClassName(md->typeString()); + ClassDef *ncd = stripClassName(md->typeString(),md->getOuterScope()); if (ncd) { g_theCallContext.setClass(ncd); @@ -890,7 +890,7 @@ static bool getLinkInScope(const QCString &c, // scope //fprintf(stderr,"d=%p linkable=%d\n",d,d?d->isLinkable():0); if (d && d->isLinkable()) { - g_theCallContext.setClass(stripClassName(md->typeString())); + g_theCallContext.setClass(stripClassName(md->typeString(),md->getOuterScope())); //printf("g_currentDefinition=%p g_currentMemberDef=%p g_insideBody=%d\n", // g_currentDefinition,g_currentMemberDef,g_insideBody); @@ -1106,7 +1106,7 @@ static bool generateClassMemberLink(CodeOutputInterface &ol,MemberDef *xmd,const } } - ClassDef *typeClass = stripClassName(removeAnonymousScopes(xmd->typeString())); + ClassDef *typeClass = stripClassName(removeAnonymousScopes(xmd->typeString()),xmd->getOuterScope()); //fprintf(stderr,"%s -> typeName=%p\n",xmd->typeString(),typeClass); g_theCallContext.setClass(typeClass); @@ -1219,7 +1219,7 @@ static void generateMemberLink(CodeOutputInterface &ol,const QCString &varName, vmd->getClassDef()==jcd) { //printf("Found variable type=%s\n",vmd->typeString()); - ClassDef *mcd=stripClassName(vmd->typeString()); + ClassDef *mcd=stripClassName(vmd->typeString(),vmd->getOuterScope()); if (mcd && mcd->isLinkable()) { if (generateClassMemberLink(ol,mcd,memName)) return; @@ -1240,7 +1240,7 @@ static void generateMemberLink(CodeOutputInterface &ol,const QCString &varName, vmd->getClassDef()==vcd) { //printf("Found variable type=%s\n",vmd->typeString()); - ClassDef *mcd=stripClassName(vmd->typeString()); + ClassDef *mcd=stripClassName(vmd->typeString(),vmd->getOuterScope()); if (mcd && mcd->isLinkable()) { if (generateClassMemberLink(ol,mcd,memName)) return; diff --git a/src/config.xml b/src/config.xml index 159fb1b..5ce921c 100644 --- a/src/config.xml +++ b/src/config.xml @@ -209,8 +209,13 @@ For example adding "sideeffect=\par Side Effects:\n" will allow you to put the command \sideeffect (or @sideeffect) in the documentation, which will result in a user-defined paragraph with heading "Side Effects:". You can put \n's in the value part of an alias to insert newlines. -'> - +'/> +