summaryrefslogtreecommitdiffstats
path: root/src/doxygen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-03-19 17:44:21 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-03-19 17:44:21 (GMT)
commit92fa8641e981d7a6e9f5d2c7e16e8ffbe78d06fe (patch)
treecf16207c2ec24e065b19418ceabdc18560052288 /src/doxygen.cpp
parent2c5c887899dcce964bbed13a3d022efc26fa2b46 (diff)
downloadDoxygen-92fa8641e981d7a6e9f5d2c7e16e8ffbe78d06fe.zip
Doxygen-92fa8641e981d7a6e9f5d2c7e16e8ffbe78d06fe.tar.gz
Doxygen-92fa8641e981d7a6e9f5d2c7e16e8ffbe78d06fe.tar.bz2
Release 1.1.1-20000319
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r--src/doxygen.cpp21
1 files changed, 15 insertions, 6 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index 2cb5483..94b25b4 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -84,7 +84,7 @@ StringDict excludeNameDict(1009); // sections
FileNameDict includeNameDict(1009); // include names
FileNameDict exampleNameDict(1009); // examples
FileNameDict imageNameDict(257); // images
-DefineDict defineDict(10007); // all defines
+//DefineDict defineDict(10007); // all defines
StringDict typedefDict(1009); // all typedefs
GroupDict groupDict(257); // all groups
FormulaDict formulaDict(1009); // all formulas
@@ -122,7 +122,7 @@ void clearAll()
includeNameDict.clear();
exampleNameDict.clear();
imageNameDict.clear();
- defineDict.clear();
+ //defineDict.clear();
typedefDict.clear();
groupDict.clear();
formulaDict.clear();
@@ -475,7 +475,6 @@ static void addMemberToGroups(Entry *root,MemberDef *md)
}
}
-
//----------------------------------------------------------------------
// build a list of all classes mentioned in the documentation
// and all classes that have a documentation block before their definition.
@@ -956,7 +955,11 @@ static MemberDef *addVariableToFile(Entry *root,MemberDef::MemberType mtype,
NamespaceDef *nd = 0;
if (!scope.isEmpty())
{
- nd = namespaceDict[scope];
+ QCString nscope=removeAnnonymousScopes(scope);
+ if (!nscope.isEmpty())
+ {
+ nd = namespaceDict[nscope];
+ }
}
if (nd && !nd->name().isEmpty() && nd->name().at(0)!='@')
{
@@ -3516,7 +3519,7 @@ void generateFileDocs()
{
fd->writeDocumentation(*outputList);
}
- if (src && !fd->isReference()) // TODO: can this be TRUE for tag files?
+ if (src && !fd->isReference())
{
fd->writeSource(*outputList);
}
@@ -3739,6 +3742,7 @@ void findDefineDocumentation(Entry *root)
bool ambig;
md->setBodyDef(findFileDef(&inputNameDict,root->fileName,ambig));
md->addSectionsToDefinition(root->anchors);
+ addMemberToGroups(root,md);
}
md=mn->next();
}
@@ -3769,6 +3773,7 @@ void findDefineDocumentation(Entry *root)
bool ambig;
md->setBodyDef(findFileDef(&inputNameDict,root->fileName,ambig));
md->addSectionsToDefinition(root->anchors);
+ addMemberToGroups(root,md);
}
}
md=mn->next();
@@ -3969,7 +3974,9 @@ void buildExampleList(Entry *root)
else
{
PageInfo *pi=new PageInfo(root->name,root->doc,root->args);
- setFileNameForSections(root->anchors,root->name);
+ setFileNameForSections(root->anchors,
+ convertSlashes(pi->name,TRUE)+"-example"
+ );
exampleList.inSort(pi);
exampleDict.insert(root->name,pi);
}
@@ -4788,6 +4795,7 @@ int main(int argc,char **argv)
}
parseConfig(config);
+ configStrToVal();
if (updateConfig)
{
@@ -4795,6 +4803,7 @@ int main(int argc,char **argv)
exit(1);
}
+ substituteEnvironmentVars();
checkConfig();
/**************************************************************************