Commit daa0336a authored by Dimitri van Heesch's avatar Dimitri van Heesch

Release-1.3-rc2-20030126

parent 92792d3a
...@@ -107,7 +107,7 @@ BINARY_TOC = NO ...@@ -107,7 +107,7 @@ BINARY_TOC = NO
TOC_EXPAND = NO TOC_EXPAND = NO
DISABLE_INDEX = NO DISABLE_INDEX = NO
ENUM_VALUES_PER_LINE = 4 ENUM_VALUES_PER_LINE = 4
GENERATE_TREEVIEW = NO GENERATE_TREEVIEW = YES
TREEVIEW_WIDTH = 250 TREEVIEW_WIDTH = 250
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# configuration options related to the LaTeX output # configuration options related to the LaTeX output
......
DOXYGEN Version 1.3-rc2-20030119 DOXYGEN Version 1.3-rc2-20030126
Please read the installation section of the manual Please read the installation section of the manual
(http://www.doxygen.org/install.html) for instructions. (http://www.doxygen.org/install.html) for instructions.
-------- --------
Dimitri van Heesch (19 January 2003) Dimitri van Heesch (26 January 2003)
DOXYGEN Version 1.3_rc2_20030119 DOXYGEN Version 1.3_rc2_20030126
Please read INSTALL for compilation instructions. Please read INSTALL for compilation instructions.
...@@ -17,4 +17,4 @@ to subscribe to the lists or to visit the archives. ...@@ -17,4 +17,4 @@ to subscribe to the lists or to visit the archives.
Enjoy, Enjoy,
Dimitri van Heesch (dimitri@stack.nl) (19 January 2003) Dimitri van Heesch (dimitri@stack.nl) (26 January 2003)
1.3-rc2-20030119 1.3-rc2-20030126
...@@ -33,16 +33,17 @@ class LinkedTextImpl; ...@@ -33,16 +33,17 @@ class LinkedTextImpl;
class LinkedTextHandler; class LinkedTextHandler;
class DocHandler; class DocHandler;
struct MemberReference : public IMemberReference class MemberReference : public IMemberReference
{ {
virtual ~MemberReference() {} public:
virtual IMember *member() const; virtual ~MemberReference() {}
virtual const IString *memberName() const { return &m_name; } virtual IMember *member() const;
void initialize(MainHandler *m); virtual const IString *memberName() const { return &m_name; }
void initialize(MainHandler *m);
QString m_memId;
StringImpl m_name; QString m_memId;
MainHandler *m_mainHandler; StringImpl m_name;
MainHandler *m_mainHandler;
}; };
class MemberReferenceIterator : public BaseIterator<IMemberReferenceIterator,IMemberReference,MemberReference> class MemberReferenceIterator : public BaseIterator<IMemberReferenceIterator,IMemberReference,MemberReference>
......
Summary: A documentation system for C/C++. Summary: A documentation system for C/C++.
Name: doxygen Name: doxygen
Version: 1.3_rc2_20030119 Version: 1.3_rc2_20030126
Release: 1 Release: 1
Epoch: 1 Epoch: 1
Source0: ftp://ftp.stack.nl/pub/users/dimitri/%{name}-%{version}.src.tar.gz Source0: ftp://ftp.stack.nl/pub/users/dimitri/%{name}-%{version}.src.tar.gz
......
...@@ -2195,10 +2195,10 @@ void ClassDef::determineIntfUsageRelation() ...@@ -2195,10 +2195,10 @@ void ClassDef::determineIntfUsageRelation()
} }
#endif #endif
PackageDef *ClassDef::packageDef() const //PackageDef *ClassDef::packageDef() const
{ //{
return m_fileDef ? m_fileDef->packageDef() : 0; // return m_fileDef ? m_fileDef->packageDef() : 0;
} //}
QCString ClassDef::compoundTypeString() const QCString ClassDef::compoundTypeString() const
{ {
......
...@@ -138,7 +138,7 @@ class ClassDef : public Definition ...@@ -138,7 +138,7 @@ class ClassDef : public Definition
/*! Returns the Java package this class is in or 0 if not applicable. /*! Returns the Java package this class is in or 0 if not applicable.
*/ */
PackageDef *packageDef() const; //PackageDef *packageDef() const;
MemberDef *getMemberByName(const QCString &); MemberDef *getMemberByName(const QCString &);
......
...@@ -1966,10 +1966,9 @@ void Config::create() ...@@ -1966,10 +1966,9 @@ void Config::create()
"If the GENERATE_TREEVIEW tag is set to YES, a side panel will be\n" "If the GENERATE_TREEVIEW tag is set to YES, a side panel will be\n"
"generated containing a tree-like index structure (just like the one that \n" "generated containing a tree-like index structure (just like the one that \n"
"is generated for HTML Help). For this to work a browser that supports \n" "is generated for HTML Help). For this to work a browser that supports \n"
"JavaScript and frames is required (for instance Mozilla, Netscape 4.0+, \n" "JavaScript, DHTML, CSS and frames is required (for instance Mozilla, \n"
"or Internet explorer 4.0+). Note that for large projects the tree generation \n" "Netscape 6.0+, Internet explorer 5.0+, or Konqueror). Windows users are \n"
"can take a very long time. In such cases it is better to disable this feature. \n" "probably better off using the HTML help feature. \n",
"Windows users are probably better off using the HTML help feature. \n",
FALSE FALSE
); );
cb->addDependency("GENERATE_HTML"); cb->addDependency("GENERATE_HTML");
......
...@@ -664,3 +664,16 @@ const QList<ListItemInfo> *Definition::specialListItems() const ...@@ -664,3 +664,16 @@ const QList<ListItemInfo> *Definition::specialListItems() const
return m_specialListItems; return m_specialListItems;
} }
QCString Definition::convertNameToFile(const char *name,bool allowDots) const
{
if (!m_ref.isEmpty())
{
return name;
}
else
{
return ::convertNameToFile(name,allowDots);
}
}
...@@ -132,6 +132,7 @@ class Definition ...@@ -132,6 +132,7 @@ class Definition
void makePartOfGroup(GroupDef *gd); void makePartOfGroup(GroupDef *gd);
GroupList *partOfGroups() const { return m_partOfGroups; } GroupList *partOfGroups() const { return m_partOfGroups; }
QCString convertNameToFile(const char *name,bool allowDots=FALSE) const;
protected: protected:
int m_startBodyLine; // line number of the start of the definition int m_startBodyLine; // line number of the start of the definition
......
...@@ -225,7 +225,7 @@ static QCString findAndCopyImage(const char *fileName,DocImage::Type type) ...@@ -225,7 +225,7 @@ static QCString findAndCopyImage(const char *fileName,DocImage::Type type)
return result; return result;
} }
/*! Collects the parameters found with @param or @retval commands /*! Collects the parameters found with \@param or \@retval commands
* in a global list g_paramsFound. If \a isParam is set to TRUE * in a global list g_paramsFound. If \a isParam is set to TRUE
* and the parameter is not an actual parameter of the current * and the parameter is not an actual parameter of the current
* member g_memberDef, than a warning is raised (unless warnings * member g_memberDef, than a warning is raised (unless warnings
......
...@@ -35,13 +35,18 @@ void FileName::generateDiskNames() ...@@ -35,13 +35,18 @@ void FileName::generateDiskNames()
//QCString commonPrefix; //QCString commonPrefix;
FileDef *fd=first(); FileDef *fd=first();
int count=0; int count=0;
while (fd) { if (!fd->isReference()) count++; fd=next(); } while (fd)
{
if (!fd->isReference()) count++;
fd=next();
}
if (count==1) if (count==1)
{ {
fd=first(); fd=first();
// skip references // skip references
while (fd && fd->isReference()) fd=next(); while (fd && fd->isReference()) fd=next();
// name if unique, so diskname is simply the name // name if unique, so diskname is simply the name
//printf("!!!!!!!! Unique disk name=%s for fd=%s\n",name.data(),fd->diskname.data());
fd->diskname=name.copy(); fd->diskname=name.copy();
} }
else if (count>1) // multiple occurrences of the same file name else if (count>1) // multiple occurrences of the same file name
...@@ -84,6 +89,7 @@ void FileName::generateDiskNames() ...@@ -84,6 +89,7 @@ void FileName::generateDiskNames()
{ {
QCString prefix = fd->path.right(fd->path.length()-j-1); QCString prefix = fd->path.right(fd->path.length()-j-1);
fd->setName(prefix+name); fd->setName(prefix+name);
//printf("!!!!!!!! non unique disk name=%s for fd=%s\n",(prefix+name).data(),fd->diskname.data());
fd->diskname=prefix+name; fd->diskname=prefix+name;
} }
fd=next(); fd=next();
......
This diff is collapsed.
...@@ -13,8 +13,10 @@ ...@@ -13,8 +13,10 @@
#include "qtbc.h" #include "qtbc.h"
#include <qtextstream.h> #include <qtextstream.h>
#include <qlist.h>
class QFile; class QFile;
struct FTVNode;
/*! A class that generated the FTV Help specific file. /*! A class that generated the FTV Help specific file.
* This file is used in conjunction with additional FTV web browser code * This file is used in conjunction with additional FTV web browser code
...@@ -30,7 +32,7 @@ class FTVHelp ...@@ -30,7 +32,7 @@ class FTVHelp
int incContentsDepth(); int incContentsDepth();
int decContentsDepth(); int decContentsDepth();
/*! return the current depth of the contents tree */ /*! return the current depth of the contents tree */
int contentsDepth() { return m_dc; } int contentsDepth() const { return m_indent; }
void addContentsItem(bool isDir, void addContentsItem(bool isDir,
const char *ref, const char *ref,
const char *file, const char *file,
...@@ -38,11 +40,18 @@ class FTVHelp ...@@ -38,11 +40,18 @@ class FTVHelp
const char *name); const char *name);
private: private:
void generateTreeView();
void generateTree(QTextStream &t,const QList<FTVNode> &nl,int level);
void generateIndent(QTextStream &t,FTVNode *n,int level);
void generateLink(QTextStream &t,FTVNode *n);
FTVHelp(); FTVHelp();
~FTVHelp();
QFile *m_cf; QFile *m_cf;
QTextStream m_cts; QTextStream m_cts;
int m_dc; //int m_dc;
static FTVHelp *m_theInstance; static FTVHelp *m_theInstance;
QList<FTVNode> *m_indentNodes;
int m_indent;
}; };
#endif /* FTVHELP_H */ #endif /* FTVHELP_H */
......
...@@ -597,14 +597,14 @@ void LatexDocVisitor::visitPost(DocHtmlTable *t) ...@@ -597,14 +597,14 @@ void LatexDocVisitor::visitPost(DocHtmlTable *t)
} }
else else
{ {
m_t << "\\\\\\hline\n\\end{TabularC}\n"; m_t << "\\end{TabularC}\n";
} }
} }
void LatexDocVisitor::visitPre(DocHtmlCaption *) void LatexDocVisitor::visitPre(DocHtmlCaption *)
{ {
if (m_hide) return; if (m_hide) return;
m_t << "\\\\\\hline\n\\end{TabularC}\n\\centering\n\\caption{"; m_t << "\\end{TabularC}\n\\centering\n\\caption{";
} }
void LatexDocVisitor::visitPost(DocHtmlCaption *) void LatexDocVisitor::visitPost(DocHtmlCaption *)
......
...@@ -1853,6 +1853,11 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'")) ...@@ -1853,6 +1853,11 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'"))
current->reset(); current->reset();
} }
} }
<FindFields>"[" { // attribute list in IDL
squareCount=1;
lastSquareContext = YY_START;
BEGIN(SkipSquare);
}
/* /*
<FindFieldArg>"," { unput(*yytext); BEGIN(FindFields); } <FindFieldArg>"," { unput(*yytext); BEGIN(FindFields); }
*/ */
......
...@@ -1054,6 +1054,7 @@ void TagFileParser::buildLists(Entry *root) ...@@ -1054,6 +1054,7 @@ void TagFileParser::buildLists(Entry *root)
QString fullName = m_tagName+":"+tfi->path+stripPath(tfi->name); QString fullName = m_tagName+":"+tfi->path+stripPath(tfi->name);
fe->fileName = fullName; fe->fileName = fullName;
//printf("new FileDef() filename=%s\n",tfi->filename.data());
FileDef *fd = new FileDef(m_tagName+":"+tfi->path, FileDef *fd = new FileDef(m_tagName+":"+tfi->path,
tfi->name,m_tagName, tfi->name,m_tagName,
tfi->filename tfi->filename
......
...@@ -41,7 +41,7 @@ class TranslatorJapaneseEn : public TranslatorEnglish ...@@ -41,7 +41,7 @@ class TranslatorJapaneseEn : public TranslatorEnglish
/*! returns the name of the package that is included by LaTeX */ /*! returns the name of the package that is included by LaTeX */
virtual QCString idLanguageCharset() virtual QCString idLanguageCharset()
{ {
#ifdef _WIN32 #ifdef __CYGWIN__
return "Shift_JIS"; return "Shift_JIS";
#else #else
return "euc-jp"; return "euc-jp";
...@@ -61,13 +61,13 @@ class TranslatorJapaneseEn : public TranslatorEnglish ...@@ -61,13 +61,13 @@ class TranslatorJapaneseEn : public TranslatorEnglish
} }
}; };
class TranslatorJapanese : public TranslatorAdapter_1_2_18 class TranslatorJapanese : public Translator
{ {
private: private:
/*! The decode() can change euc into sjis */ /*! The decode() can change euc into sjis */
inline QCString decode(const QCString & sInput) inline QCString decode(const QCString & sInput)
{ {
#ifdef _WIN32 #ifdef __CYGWIN__
return JapaneseEucToSjis(sInput); return JapaneseEucToSjis(sInput);
#else #else
return sInput; return sInput;
...@@ -83,7 +83,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_2_18 ...@@ -83,7 +83,7 @@ class TranslatorJapanese : public TranslatorAdapter_1_2_18
/*! returns the name of the package that is included by LaTeX */ /*! returns the name of the package that is included by LaTeX */
virtual QCString idLanguageCharset() virtual QCString idLanguageCharset()
{ {
#ifdef _WIN32 #ifdef __CYGWIN__
return "Shift_JIS"; return "Shift_JIS";
#else #else
return "euc-jp"; return "euc-jp";
...@@ -1387,5 +1387,23 @@ class TranslatorJapanese : public TranslatorAdapter_1_2_18 ...@@ -1387,5 +1387,23 @@ class TranslatorJapanese : public TranslatorAdapter_1_2_18
{ {
return "非推奨一覧"; return "非推奨一覧";
} }
//////////////////////////////////////////////////////////////////////////
// new since 1.2.18
//////////////////////////////////////////////////////////////////////////
/*! Used as a header for declaration section of the events found in
* a C# program
*/
virtual QCString trEvents()
{
return "イベント";
}
/*! Header used for the documentation section of a class' events. */
virtual QCString trEventDocumentation()
{
return "イベントの解説";
}
}; };
#endif #endif
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