Skip to content

Commit 707831e

Browse files
author
dimitri
committed
Release-1.6.3-20100324
1 parent 23b0a90 commit 707831e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+2663
-1468
lines changed

INSTALL

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
DOXYGEN Version 1.6.3
1+
DOXYGEN Version 1.6.3-20100324
22

33
Please read the installation section of the manual
44
(http://www.doxygen.org/install.html) for instructions.
55

66
--------
7-
Dimitri van Heesch (21 February 2010)
7+
Dimitri van Heesch (24 March 2010)

LANGUAGE.HOWTO

+5-4
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ This short howto explains how to add support for a new language to Doxygen:
22

33
Just follow these steps:
44

5-
1) Tell me for which language you want to add support. If no one else
5+
1) Tell me which language you want to add support for. If no one else
66
is already working on support for that language, you will be
77
assigned as the maintainer for the language. I'll create a
88
list on Doxygen's homepage, so everyone knows who is doing what.
99
2) Create a copy of translator_en.h and name it
10-
translator_<your_2_letter_counter_code>.h
10+
translator_<your_2_letter_country_code>.h
1111
I'll use xx in the rest of this document.
1212
3) Edit language.cpp:
1313
- Add a #include<translator_xx.h>
@@ -21,8 +21,9 @@ Just follow these steps:
2121
after the if { ... }
2222
4) Edit libdoxygen.pro.in and add translator_xx.h to the HEADERS line.
2323
5) Edit translator_xx.h:
24-
- Rename TRANSLATOR_EN_H to TRANSLATOR_XX_H twice.
25-
- Rename TranslatorEnglish to TranslatorYourLanguage
24+
- Change TRANSLATOR_EN_H to TRANSLATOR_XX_H (in both the #include line and
25+
the #define line).
26+
- Change TranslatorEnglish to TranslatorYourLanguage
2627
- In the member idLanguage() change "english" into the name of your
2728
language (use lower case characters only). Depending on the language you
2829
may also wish to change the member functions latexLanguageSupportCommand()

README

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
DOXYGEN Version 1.6.3
1+
DOXYGEN Version 1.6.3_20100324
22

33
Please read INSTALL for compilation instructions.
44

@@ -17,4 +17,4 @@ to subscribe to the lists or to visit the archives.
1717

1818
Enjoy,
1919

20-
Dimitri van Heesch ([email protected]) (21 February 2010)
20+
Dimitri van Heesch ([email protected]) (24 March 2010)

configure

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ doxygen_version_minor=6
2020
doxygen_version_revision=3
2121

2222
#NOTE: Setting version_mmn to "NO" will omit mmn info from the package.
23-
doxygen_version_mmn=NO
23+
doxygen_version_mmn=20100324
2424

2525
bin_dirs=`echo $PATH | sed -e "s/:/ /g"`
2626

doc/install.doc

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ tools should be installed.
5959
<A HREF="http://www.trolltech.com/products/qt.html">Qt</A>
6060
\latexonly(see {\tt http://www.trolltech.com/products/qt.html})\endlatexonly
6161
\addindex Qt
62-
version 3.3 or higher.
62+
version 4.3 or higher.
6363
This is needed to build the GUI front-end doxywizard.
6464
<li>A \f$\mbox{\LaTeX}\f$ distribution: for instance
6565
<a href="http://www.tug.org/interest.html#free">teTeX 1.0</a>
@@ -110,7 +110,7 @@ Compilation is now done by performing the following steps:
110110
See the <code>PLATFORMS</code> file for a list of possible platform
111111
options.
112112

113-
If you have Qt-3.3.x installed and want to build the GUI
113+
If you have Qt-4.3 or higher installed and want to build the GUI
114114
front-end, you should run the configure script with
115115
the <code>--with-doxywizard</code> option:
116116

@@ -409,7 +409,7 @@ containing a \c Doxygen.sln file. Open this file in Visual Studio.
409409
You can now build the Release or Debug flavor of Doxygen and Doxytag by right-clicking
410410
the project in the solutions explorer, and selecting Build.
411411

412-
Note that compiling Doxywizard currently requires Qt version 3
412+
Note that compiling Doxywizard currently requires Qt version 4
413413
(see http://www.trolltech.com/products/qt/qt3).
414414
If you do not have a commercial license, you can build Doxywizard with the open
415415
source version (see http://qtwin.sourceforge.net/qt3-win32/compile-msvc-2005.php),

qtools/Doxyfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ DOXYFILE_ENCODING = UTF-8
77
PROJECT_NAME = Qtools
88
PROJECT_NUMBER =
99
OUTPUT_DIRECTORY = ../qtools_docs
10-
CREATE_SUBDIRS = YES
10+
CREATE_SUBDIRS = NO
1111
OUTPUT_LANGUAGE = English
1212
BRIEF_MEMBER_DESC = YES
1313
REPEAT_BRIEF = YES

qtools/qdatetime.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ bool QDate::isValid( int y, int m, int d )
491491

492492
bool QDate::leapYear( int y )
493493
{
494-
return y % 4 == 0 && y % 100 != 0 || y % 400 == 0;
494+
return (y % 4 == 0 && y % 100 != 0) || (y % 400 == 0);
495495
}
496496

497497
/*!

src/classdef.cpp

+40-2
Original file line numberDiff line numberDiff line change
@@ -1360,6 +1360,42 @@ void ClassDef::writeAuthorSection(OutputList &ol)
13601360
ol.popGeneratorState();
13611361
}
13621362

1363+
1364+
void ClassDef::writeSummaryLinks(OutputList &ol)
1365+
{
1366+
ol.pushGeneratorState();
1367+
ol.disableAllBut(OutputGenerator::Html);
1368+
QListIterator<LayoutDocEntry> eli(
1369+
LayoutDocManager::instance().docEntries(LayoutDocManager::Class));
1370+
LayoutDocEntry *lde;
1371+
bool first=TRUE;
1372+
for (eli.toFirst();(lde=eli.current());++eli)
1373+
{
1374+
if (lde->kind()==LayoutDocEntry::ClassNestedClasses &&
1375+
m_impl->innerClasses &&
1376+
m_impl->innerClasses->declVisible()
1377+
)
1378+
{
1379+
LayoutDocEntrySection *ls = (LayoutDocEntrySection*)lde;
1380+
writeSummaryLink(ol,"nested-classes",ls->title,first);
1381+
}
1382+
else if (lde->kind()== LayoutDocEntry::MemberDecl)
1383+
{
1384+
LayoutDocEntryMemberDecl *lmd = (LayoutDocEntryMemberDecl*)lde;
1385+
MemberList * ml = getMemberList(lmd->type);
1386+
if (ml && ml->declVisible())
1387+
{
1388+
writeSummaryLink(ol,ml->listTypeAsString(),lmd->title,first);
1389+
}
1390+
}
1391+
}
1392+
if (!first)
1393+
{
1394+
ol.writeString(" </div>\n");
1395+
}
1396+
ol.popGeneratorState();
1397+
}
1398+
13631399
// write all documentation for this class
13641400
void ClassDef::writeDocumentation(OutputList &ol)
13651401
{
@@ -1394,11 +1430,12 @@ void ClassDef::writeDocumentation(OutputList &ol)
13941430
writeNavigationPath(ol);
13951431
}
13961432
ol.endQuickIndices();
1397-
ol.startContents();
1398-
startTitle(ol,getOutputFileBase());
1433+
1434+
startTitle(ol,getOutputFileBase(),this);
13991435
ol.parseText(pageTitle);
14001436
addGroupListToTitle(ol,this);
14011437
endTitle(ol,getOutputFileBase(),name());
1438+
ol.startContents();
14021439

14031440
{
14041441
ol.pushGeneratorState();
@@ -1669,6 +1706,7 @@ void ClassDef::writeMemberList(OutputList &ol)
16691706
startTitle(ol,0);
16701707
ol.parseText(displayName()+" "+theTranslator->trMemberList());
16711708
endTitle(ol,0,0);
1709+
ol.startContents();
16721710
ol.parseText(theTranslator->trThisIsTheListOfAllMembers());
16731711
ol.writeObjectLink(getReference(),getOutputFileBase(),0,displayName());
16741712
ol.parseText(theTranslator->trIncludingInheritedMembers());

src/classdef.h

+1
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ class ClassDef : public Definition
311311
void writeMemberList(OutputList &ol);
312312
void writeDeclaration(OutputList &ol,MemberDef *md,bool inGroup);
313313
void writeQuickMemberLinks(OutputList &ol,MemberDef *md) const;
314+
void writeSummaryLinks(OutputList &ol);
314315
void reclassifyMember(MemberDef *md,MemberDef::MemberType t);
315316

316317
bool visited;

src/classlist.cpp

+34-3
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,42 @@ ClassListIterator::ClassListIterator(const ClassList &cllist) :
6464
{
6565
}
6666

67+
bool ClassSDict::declVisible(const ClassDef::CompoundType *filter) const
68+
{
69+
static bool hideUndocClasses = Config_getBool("HIDE_UNDOC_CLASSES");
70+
static bool extractLocalClasses = Config_getBool("EXTRACT_LOCAL_CLASSES");
71+
if (count()>0)
72+
{
73+
ClassSDict::Iterator sdi(*this);
74+
ClassDef *cd=0;
75+
for (sdi.toFirst();(cd=sdi.current());++sdi)
76+
{
77+
if (cd->name().find('@')==-1 &&
78+
(filter==0 || *filter==cd->compoundType())
79+
)
80+
{
81+
bool isLink = cd->isLinkable();
82+
if (isLink ||
83+
(!hideUndocClasses &&
84+
(!cd->isLocal() || extractLocalClasses)
85+
)
86+
)
87+
{
88+
return TRUE;
89+
}
90+
}
91+
}
92+
}
93+
return FALSE;
94+
}
95+
6796
void ClassSDict::writeDeclaration(OutputList &ol,const ClassDef::CompoundType *filter,
6897
const char *header,bool localNames)
6998
{
7099
static bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN");
71100
static bool vhdlOpt = Config_getBool("OPTIMIZE_OUTPUT_VHDL");
101+
static bool hideUndocClasses = Config_getBool("HIDE_UNDOC_CLASSES");
102+
static bool extractLocalClasses = Config_getBool("EXTRACT_LOCAL_CLASSES");
72103
if (count()>0)
73104
{
74105
ClassSDict::Iterator sdi(*this);
@@ -82,14 +113,14 @@ void ClassSDict::writeDeclaration(OutputList &ol,const ClassDef::CompoundType *f
82113
{
83114
bool isLink = cd->isLinkable();
84115
if (isLink ||
85-
(!Config_getBool("HIDE_UNDOC_CLASSES") &&
86-
(!cd->isLocal() || Config_getBool("EXTRACT_LOCAL_CLASSES"))
116+
(!hideUndocClasses &&
117+
(!cd->isLocal() || extractLocalClasses)
87118
)
88119
)
89120
{
90121
if (!found)
91122
{
92-
ol.startMemberHeader();
123+
ol.startMemberHeader("nested-classes");
93124
if (header)
94125
{
95126
ol.parseText(header);

src/classlist.h

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ class ClassSDict : public SDict<ClassDef>
5454
int compareItems(GCI item1,GCI item2);
5555
void writeDeclaration(OutputList &ol,const ClassDef::CompoundType *filter=0,
5656
const char *header=0,bool localNames=FALSE);
57+
bool declVisible(const ClassDef::CompoundType *filter=0) const;
5758
};
5859

5960
#endif

src/code.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class MemberDef;
2828
void parseCCode(CodeOutputInterface &,const char *,const QCString &,
2929
bool ,const char *,FileDef *fd=0,
3030
int startLine=-1,int endLine=-1,bool inlineFragment=FALSE,
31-
MemberDef *memberDef=0);
31+
MemberDef *memberDef=0,bool showLineNumbers=TRUE);
3232
void resetCCodeParserState();
3333
void codeFreeScanner();
3434

src/code.l

+2-2
Original file line numberDiff line numberDiff line change
@@ -3343,7 +3343,7 @@ void resetCCodeParserState()
33433343
void parseCCode(CodeOutputInterface &od,const char *className,const QCString &s,
33443344
bool exBlock, const char *exName,FileDef *fd,
33453345
int startLine,int endLine,bool inlineFragment,
3346-
MemberDef *memberDef)
3346+
MemberDef *memberDef,bool showLineNumbers)
33473347
{
33483348
//printf("***parseCode() exBlock=%d exName=%s fd=%p\n",exBlock,exName,fd);
33493349
if (s.isEmpty()) return;
@@ -3378,7 +3378,7 @@ void parseCCode(CodeOutputInterface &od,const char *className,const QCString &s,
33783378
g_exampleBlock = exBlock;
33793379
g_exampleName = exName;
33803380
g_sourceFileDef = fd;
3381-
g_lineNumbers = fd!=0;
3381+
g_lineNumbers = fd!=0 && showLineNumbers;
33823382
if (exBlock && fd==0)
33833383
{
33843384
// create a dummy filedef for the example

src/commentscan.l

+14-2
Original file line numberDiff line numberDiff line change
@@ -1031,13 +1031,25 @@ RCSTAG "$"{ID}":"[^\n$]+"$"
10311031
<Comment>".," { // . with comma such as "e.g.,"
10321032
addOutput(yytext);
10331033
}
1034+
<Comment>"...\\"[ \t] { // ellipsis with escaped space.
1035+
addOutput("... ");
1036+
}
1037+
<Comment>".."[\.]?/[^ \t\n] { // internal ellipsis
1038+
addOutput(yytext);
1039+
}
10341040
<Comment>(\n|\\_linebr)({B}*(\n|\\_linebr))+ { // at least one blank line (or blank line command)
1035-
if (inContext!=OutputBrief)
1041+
if (inContext==OutputXRef)
1042+
{
1043+
// see bug 613024, we need to put the newlines after ending the XRef section.
1044+
setOutput(OutputDoc);
1045+
addOutput("\n\n");
1046+
}
1047+
else if (inContext!=OutputBrief)
10361048
{
10371049
addOutput("\n\n");
10381050
setOutput(OutputDoc);
10391051
}
1040-
else
1052+
else // inContext==OutputBrief
10411053
{ // only go to the detailed description if we have
10421054
// found some brief description and not just whitespace
10431055
endBrief(FALSE);

src/config.l

+29
Original file line numberDiff line numberDiff line change
@@ -1387,6 +1387,35 @@ void Config::check()
13871387
depth=1000;
13881388
}
13891389

1390+
int &hue = Config_getInt("HTML_COLORSTYLE_HUE");
1391+
if (hue<0)
1392+
{
1393+
hue=0;
1394+
}
1395+
else if (hue>=360)
1396+
{
1397+
hue=hue%360;
1398+
}
1399+
1400+
int &sat = Config_getInt("HTML_COLORSTYLE_SAT");
1401+
if (sat<0)
1402+
{
1403+
sat=0;
1404+
}
1405+
else if (sat>255)
1406+
{
1407+
sat=255;
1408+
}
1409+
int &gamma = Config_getInt("HTML_COLORSTYLE_GAMMA");
1410+
if (gamma<40)
1411+
{
1412+
gamma=40;
1413+
}
1414+
else if (gamma>240)
1415+
{
1416+
gamma=240;
1417+
}
1418+
13901419

13911420
// add default words if needed
13921421
QStrList &annotationFromBrief = Config_getList("ABBREVIATE_BRIEF");

0 commit comments

Comments
 (0)