Commit 089a5c16 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Release-1.3.4-20031005

parent f62ec116
...@@ -1737,7 +1737,7 @@ class C {}; ...@@ -1737,7 +1737,7 @@ class C {};
\endverbatim \endverbatim
\warning The image format for HTML is limited to what your \warning The image format for HTML is limited to what your
browser supports. For \f$\mbox{\LaTeX}\f$ the image format browser supports. For \f$\mbox{\LaTeX}\f$, the image format
must be Encapsulated PostScript (eps). must be Encapsulated PostScript (eps).
<br><br> <br><br>
Doxygen does not check if the image is in the correct format. Doxygen does not check if the image is in the correct format.
......
...@@ -200,6 +200,7 @@ followed by the descriptions of the tags grouped by category. ...@@ -200,6 +200,7 @@ followed by the descriptions of the tags grouped by category.
\refitem cfg_warnings WARNINGS \refitem cfg_warnings WARNINGS
\refitem cfg_xml_dtd XML_DTD \refitem cfg_xml_dtd XML_DTD
\refitem cfg_xml_output XML_OUTPUT \refitem cfg_xml_output XML_OUTPUT
\refitem cfg_xml_programlising XML_PROGRAMLISTING
\refitem cfg_xml_schema XML_SCHEMA \refitem cfg_xml_schema XML_SCHEMA
\endsecreflist \endsecreflist
...@@ -1232,6 +1233,14 @@ EXTRA_PACKAGES = times ...@@ -1232,6 +1233,14 @@ EXTRA_PACKAGES = times
which can be used by a validating XML parser to check the which can be used by a validating XML parser to check the
syntax of the XML files. syntax of the XML files.
\anchor cfg_xml_programlisting
<dt>\c XML_PROGRAMLISTING <dd>
\addindex XML_PROGRAMLISTING
If the \c XML_PROGRAMLISTING tag is set to \c YES Doxygen will
dump the program listings (including syntax highlighting
and cross-referencing information) to the XML output. Note that
enabling this will significantly increase the size of the XML output.
</dl> </dl>
\section autogen_output AUTOGEN_DEF related options \section autogen_output AUTOGEN_DEF related options
......
...@@ -2276,6 +2276,16 @@ void Config::create() ...@@ -2276,6 +2276,16 @@ void Config::create()
"syntax of the XML files. \n" "syntax of the XML files. \n"
); );
cs->addDependency("GENERATE_XML"); cs->addDependency("GENERATE_XML");
cb = addBool(
"XML_PROGRAMLISTING",
"If the XML_PROGRAMLISTING tag is set to YES Doxygen will \n"
"dump the program listings (including syntax highlighting \n"
"and cross-referencing information) to the XML output. Note that \n"
"enabling this will significantly increase the size of the XML output. \n",
TRUE
);
cb->addDependency("GENERATE_XML");
//-------------------------------------------------------------------------- //--------------------------------------------------------------------------
addInfo( "DEF","configuration options for the AutoGen Definitions output"); addInfo( "DEF","configuration options for the AutoGen Definitions output");
//-------------------------------------------------------------------------- //--------------------------------------------------------------------------
......
...@@ -198,6 +198,7 @@ bool GroupDef::insertMember(MemberDef *md,bool docOnly) ...@@ -198,6 +198,7 @@ bool GroupDef::insertMember(MemberDef *md,bool docOnly)
for ( ; (srcMi=srcMnii.current()) ; ++srcMnii ) for ( ; (srcMi=srcMnii.current()) ; ++srcMnii )
{ {
MemberDef *srcMd = srcMi->memberDef; MemberDef *srcMd = srcMi->memberDef;
if (srcMd==md) return FALSE; // already added before!
bool sameScope = srcMd->getOuterScope()==md->getOuterScope() || // same class or namespace bool sameScope = srcMd->getOuterScope()==md->getOuterScope() || // same class or namespace
// both inside a file => definition and declaration do not have to be in the same file // both inside a file => definition and declaration do not have to be in the same file
...@@ -208,8 +209,15 @@ bool GroupDef::insertMember(MemberDef *md,bool docOnly) ...@@ -208,8 +209,15 @@ bool GroupDef::insertMember(MemberDef *md,bool docOnly)
sameScope sameScope
) )
{ {
md->setGroupAlias(srcMd); if (srcMd->getGroupAlias()==0)
return FALSE; // member already added {
md->setGroupAlias(srcMd);
}
else
{
md->setGroupAlias(srcMd->getGroupAlias());
}
return FALSE; // member is the same as one that is already added
} }
} }
mni->append(new MemberInfo(md,md->protection(),md->virtualness(),FALSE)); mni->append(new MemberInfo(md,md->protection(),md->virtualness(),FALSE));
......
...@@ -293,9 +293,9 @@ void HtmlGenerator::writeFooterFile(QFile &file) ...@@ -293,9 +293,9 @@ void HtmlGenerator::writeFooterFile(QFile &file)
QTextStream t(&file); QTextStream t(&file);
t << "<hr size=\"1\"><address style=\"align: right;\"><small>\n"; t << "<hr size=\"1\"><address style=\"align: right;\"><small>\n";
t << theTranslator->trGeneratedAt( "$datetime", "$projectname" ); t << theTranslator->trGeneratedAt( "$datetime", "$projectname" );
t << " <a href=\"http://www.doxygen.org/index.html\">\n" t << " <a href=\"http://www.doxygen.org/index.html\">"
<< "<img src=\"doxygen.png\" alt=\"doxygen\" " << "<img src=\"doxygen.png\" alt=\"doxygen\" "
<< "align=\"middle\" border=0>\n" << "align=\"middle\" border=0>"
<< "</a> $doxygenversion"; << "</a> $doxygenversion";
t << "</small></address>\n" t << "</small></address>\n"
<< "</body>\n" << "</body>\n"
......
...@@ -156,6 +156,7 @@ QCString abbreviate(const char *s,const char *name) ...@@ -156,6 +156,7 @@ QCString abbreviate(const char *s,const char *name)
found = found || stripWord(result,"specifies "); found = found || stripWord(result,"specifies ");
found = found || stripWord(result,"contains "); found = found || stripWord(result,"contains ");
found = found || stripWord(result,"represents "); found = found || stripWord(result,"represents ");
found = found || stripWord(result,"implements ");
if (found) if (found)
{ {
stripWord(result,"a "); stripWord(result,"a ");
......
...@@ -259,6 +259,7 @@ class MemberDef : public Definition ...@@ -259,6 +259,7 @@ class MemberDef : public Definition
//void setBodyMember(MemberDef *md) { bodyMemb = md; } //void setBodyMember(MemberDef *md) { bodyMemb = md; }
void setDocsForDefinition(bool b) { docsForDefinition = b; } void setDocsForDefinition(bool b) { docsForDefinition = b; }
void setGroupAlias(MemberDef *md) { groupAlias = md; } void setGroupAlias(MemberDef *md) { groupAlias = md; }
MemberDef *getGroupAlias() const { return groupAlias; }
// cached typedef functions // cached typedef functions
bool isTypedefValCached() const { return m_isTypedefValCached; } bool isTypedefValCached() const { return m_isTypedefValCached; }
......
...@@ -3164,7 +3164,7 @@ PHPKW ("require"|"require_once"|"include"|"include_once"|"echo")[^a-zA-Z0-9_;] ...@@ -3164,7 +3164,7 @@ PHPKW ("require"|"require_once"|"include"|"include_once"|"echo")[^a-zA-Z0-9_;]
<FindMembers,FindFields,MemberSpec,FuncQual,SkipCurly,Operator,ClassVar,SkipInits,Bases>("//"{B}*)?"/**"/[^/*] { <FindMembers,FindFields,MemberSpec,FuncQual,SkipCurly,Operator,ClassVar,SkipInits,Bases>("//"{B}*)?"/**"/[^/*] {
removeSlashes=(yytext[1]=='/'); removeSlashes=(yytext[1]=='/');
lastDocContext = YY_START; lastDocContext = YY_START;
printf("Found comment block at %s:%d\n",yyFileName,yyLineNr); //printf("Found comment block at %s:%d\n",yyFileName,yyLineNr);
if (current_root->section & Entry::SCOPE_MASK) if (current_root->section & Entry::SCOPE_MASK)
{ {
current->inside = current_root->name+"::"; current->inside = current_root->name+"::";
......
...@@ -1257,9 +1257,12 @@ static void generateXMLForFile(FileDef *fd,QTextStream &ti) ...@@ -1257,9 +1257,12 @@ static void generateXMLForFile(FileDef *fd,QTextStream &ti)
t << " <detaileddescription>" << endl; t << " <detaileddescription>" << endl;
writeXMLDocBlock(t,fd->docFile(),fd->docLine(),fd,0,fd->documentation()); writeXMLDocBlock(t,fd->docFile(),fd->docLine(),fd,0,fd->documentation());
t << " </detaileddescription>" << endl; t << " </detaileddescription>" << endl;
t << " <programlisting>" << endl; if (Config_getBool("XML_PROGRAMLISTING"))
writeXMLCodeBlock(t,fd); {
t << " </programlisting>" << endl; t << " <programlisting>" << endl;
writeXMLCodeBlock(t,fd);
t << " </programlisting>" << endl;
}
t << " <location file=\"" << fd->getDefFileName() << "\"/>" << endl; t << " <location file=\"" << fd->getDefFileName() << "\"/>" << endl;
t << " </compounddef>" << endl; t << " </compounddef>" << endl;
t << "</doxygen>" << endl; t << "</doxygen>" << endl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment