Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
b12b7063
Commit
b12b7063
authored
Nov 05, 2000
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Release-1.2.3-20001105
parent
4da971ee
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
70 additions
and
71 deletions
+70
-71
INSTALL
INSTALL
+2
-2
README
README
+2
-2
VERSION
VERSION
+1
-1
Makefile.in
addon/configgen/Makefile.in
+2
-2
Makefile.in
addon/doxywizard/Makefile.in
+2
-2
Makefile.in
addon/xmlread/Makefile.in
+2
-2
configure
configure
+0
-2
external.doc
doc/external.doc
+4
-4
index.doc
doc/index.doc
+1
-1
doxygen.spec
packages/rpm/doxygen.spec
+1
-1
Makefile.in
qtools/Makefile.in
+2
-2
Makefile.in
src/Makefile.in
+6
-6
diagram.cpp
src/diagram.cpp
+4
-2
doxygen.cpp
src/doxygen.cpp
+21
-24
filedef.h
src/filedef.h
+2
-1
index.cpp
src/index.cpp
+16
-16
memberdef.cpp
src/memberdef.cpp
+1
-0
scanner.l
src/scanner.l
+1
-1
No files found.
INSTALL
View file @
b12b7063
DOXYGEN Version 1.2.3
DOXYGEN Version 1.2.3
-20001105
Please read the installation section of the manual for instructions.
Please read the installation section of the manual for instructions.
--------
--------
Dimitri van Heesch (
30 Octo
ber 2000)
Dimitri van Heesch (
05 Novem
ber 2000)
README
View file @
b12b7063
DOXYGEN Version 1.2.3
DOXYGEN Version 1.2.3
-20001105
Please read INSTALL for compilation instructions.
Please read INSTALL for compilation instructions.
...
@@ -7,4 +7,4 @@ The latest version of doxygen can be obtained at
...
@@ -7,4 +7,4 @@ The latest version of doxygen can be obtained at
Enjoy,
Enjoy,
Dimitri van Heesch (
30 Octo
ber 2000)
Dimitri van Heesch (
05 Novem
ber 2000)
VERSION
View file @
b12b7063
1.2.3
1.2.3
-20001105
addon/configgen/Makefile.in
View file @
b12b7063
...
@@ -16,7 +16,7 @@ all: Makefile.configgen config.h config.l
...
@@ -16,7 +16,7 @@ all: Makefile.configgen config.h config.l
$(MAKE)
-f
Makefile.configgen
$@
$(MAKE)
-f
Makefile.configgen
$@
Makefile.configgen
:
configgen.pro
Makefile.configgen
:
configgen.pro
$(PERL)
$(TMAKE)
configgen.pro
>
Makefile.configgen
export
TMAKEPATH
=
$(TMAKEPATH)
;
$(PERL)
$(TMAKE)
configgen.pro
>
Makefile.configgen
config.h
:
$(CFGGEN_DIR)/configgen config_templ.h
config.h
:
$(CFGGEN_DIR)/configgen config_templ.h
$(CFGGEN_DIR)
/configgen config_templ.h
>
config.h
$(CFGGEN_DIR)
/configgen config_templ.h
>
config.h
...
@@ -28,7 +28,7 @@ $(CFGGEN_DIR)/configgen: Makefile.configgen configgen.cpp
...
@@ -28,7 +28,7 @@ $(CFGGEN_DIR)/configgen: Makefile.configgen configgen.cpp
$(MAKE)
-f
Makefile.configgen
$(MAKE)
-f
Makefile.configgen
tmake
:
tmake
:
$(PERL)
$(TMAKE)
configgen.pro
>
Makefile.configgen
export
TMAKEPATH
=
$(TMAKEPATH)
;
$(PERL)
$(TMAKE)
configgen.pro
>
Makefile.configgen
install
:
install
:
$(CP)
config.l config.h ../../src
$(CP)
config.l config.h ../../src
...
...
addon/doxywizard/Makefile.in
View file @
b12b7063
...
@@ -18,7 +18,7 @@ all: $(CFGGENBIN_DIR)/configgen config.h config.l doxywizard.cpp doxywizard.h \
...
@@ -18,7 +18,7 @@ all: $(CFGGENBIN_DIR)/configgen config.h config.l doxywizard.cpp doxywizard.h \
$(MAKE)
-f
Makefile.doxywizard
$@
$(MAKE)
-f
Makefile.doxywizard
$@
Makefile.doxywizard
:
doxywizard.pro doxywizard.t
Makefile.doxywizard
:
doxywizard.pro doxywizard.t
$(PERL)
$(TMAKE)
doxywizard.pro
>
Makefile.doxywizard
export
TMAKEPATH
=
$(TMAKEPATH)
;
$(PERL)
$(TMAKE)
doxywizard.pro
>
Makefile.doxywizard
config.l
:
$(CFGGENBIN_DIR)/configgen $(CFGGENSRC_DIR)/config_templ.l
config.l
:
$(CFGGENBIN_DIR)/configgen $(CFGGENSRC_DIR)/config_templ.l
$(CFGGENBIN_DIR)
/configgen
$(CFGGENSRC_DIR)
/config_templ.l
>
config.l
$(CFGGENBIN_DIR)
/configgen
$(CFGGENSRC_DIR)
/config_templ.l
>
config.l
...
@@ -36,7 +36,7 @@ $(CFGGENBIN_DIR)/configgen: $(CFGGENSRC_DIR)/configgen.cpp
...
@@ -36,7 +36,7 @@ $(CFGGENBIN_DIR)/configgen: $(CFGGENSRC_DIR)/configgen.cpp
$(MAKE)
-C
$(CFGGENSRC_DIR)
$(MAKE)
-C
$(CFGGENSRC_DIR)
tmake
:
tmake
:
$(PERL)
$(TMAKE)
doxywizard.pro
>
Makefile.doxywizard
export
TMAKEPATH
=
$(TMAKEPATH)
;
$(PERL)
$(TMAKE)
doxywizard.pro
>
Makefile.doxywizard
clean
:
Makefile.doxywizard
clean
:
Makefile.doxywizard
$(MAKE)
-f
Makefile.doxywizard clean
$(MAKE)
-f
Makefile.doxywizard clean
...
...
addon/xmlread/Makefile.in
View file @
b12b7063
...
@@ -5,8 +5,8 @@ distclean: clean
...
@@ -5,8 +5,8 @@ distclean: clean
$(RM)
-f
Makefile.xmlread
$(RM)
-f
Makefile.xmlread
tmake
:
tmake
:
$(PERL)
$(TMAKE)
xmlread.pro
>
Makefile.xmlread
export
TMAKEPATH
=
$(TMAKEPATH)
;
$(PERL)
$(TMAKE)
xmlread.pro
>
Makefile.xmlread
Makefile.xmlread
:
xmlread.pro
Makefile.xmlread
:
xmlread.pro
$(PERL)
$(TMAKE)
xmlread.pro
>
Makefile.xmlread
export
TMAKEPATH
=
$(TMAKEPATH)
;
$(PERL)
$(TMAKE)
xmlread.pro
>
Makefile.xmlread
configure
View file @
b12b7063
...
@@ -337,8 +337,6 @@ VERSION = `cat VERSION`
...
@@ -337,8 +337,6 @@ VERSION = `cat VERSION`
INSTALL =
$f_prefix
INSTALL =
$f_prefix
INSTTOOL =
$f_insttool
INSTTOOL =
$f_insttool
DOXYDOCS = ..
DOXYDOCS = ..
export TMAKEPATH
EOF
EOF
if
test
"
$f_dot
"
!=
NO
;
then
if
test
"
$f_dot
"
!=
NO
;
then
...
...
doc/external.doc
View file @
b12b7063
...
@@ -25,7 +25,7 @@ reasons to not include all sources for these with every run of doxygen:
...
@@ -25,7 +25,7 @@ reasons to not include all sources for these with every run of doxygen:
You may want to link to these pages instead of generating the documentation
You may want to link to these pages instead of generating the documentation
in your local output directory.
in your local output directory.
<dt>Compilation speed:<dd> External projects typically have a different update
<dt>Compilation speed:<dd> External projects typically have a different update
frequency f
or
m your own project. It does not make much sense to let doxygen
frequency f
ro
m your own project. It does not make much sense to let doxygen
parse the sources for these external project over and over again, even if
parse the sources for these external project over and over again, even if
nothing has changed.
nothing has changed.
<dt>Memory:<dd> For very large source trees, letting doxygen parse all sources
<dt>Memory:<dd> For very large source trees, letting doxygen parse all sources
...
@@ -50,7 +50,7 @@ you should specify the name of the tag files after
...
@@ -50,7 +50,7 @@ you should specify the name of the tag files after
the \ref cfg_tagfiles "TAGFILES" option in the configuration file.
the \ref cfg_tagfiles "TAGFILES" option in the configuration file.
A tag file does not contain information about where the external documentation
A tag file does not contain information about where the external documentation
is located. This could be a directory or URL. So when you include a tag
is located. This could be a directory or
an
URL. So when you include a tag
file you have to specify where the external documentation is located.
file you have to specify where the external documentation is located.
There are two ways to do this:
There are two ways to do this:
<dl>
<dl>
...
@@ -89,7 +89,7 @@ The directory structure looks as follows:
...
@@ -89,7 +89,7 @@ The directory structure looks as follows:
\endverbatim
\endverbatim
\par
\par
Then
relevate
parts of the configuration files look as follows:
Then
the relevant
parts of the configuration files look as follows:
\par
\par
proj.cfg:
proj.cfg:
\verbatim
\verbatim
...
@@ -115,7 +115,7 @@ can use the \ref doxytag_usage "doxytag" tool to extract a tag file from
...
@@ -115,7 +115,7 @@ can use the \ref doxytag_usage "doxytag" tool to extract a tag file from
the generated HTML sources. This tool depends on the particular structure
the generated HTML sources. This tool depends on the particular structure
of the generated output and on some special markers that are generated by
of the generated output and on some special markers that are generated by
doxygen. Since this type of extraction is brittle and error prone I
doxygen. Since this type of extraction is brittle and error prone I
suggest to only use this approach if there is no alternative. The
suggest
you
to only use this approach if there is no alternative. The
doxytag tool may even become obsolete in the future.
doxytag tool may even become obsolete in the future.
\htmlonly
\htmlonly
...
...
doc/index.doc
View file @
b12b7063
...
@@ -68,7 +68,7 @@ It can help you in three ways:
...
@@ -68,7 +68,7 @@ It can help you in three ways:
for this manual).
for this manual).
</ol>
</ol>
Doxygen is developed
on
<a href="http://www.linux.org">Linux</a>,
Doxygen is developed
under
<a href="http://www.linux.org">Linux</a>,
but is set-up to be highly portable. As a result, it runs on most
but is set-up to be highly portable. As a result, it runs on most
other UNIX flavors as well. Furthermore, an executable for
other UNIX flavors as well. Furthermore, an executable for
Windows 9x/NT is also available.
Windows 9x/NT is also available.
...
...
packages/rpm/doxygen.spec
View file @
b12b7063
Name: doxygen
Name: doxygen
Version: 1.2.3
Version: 1.2.3
-20001105
Summary: documentation system for C, C++ and IDL
Summary: documentation system for C, C++ and IDL
Release: 1
Release: 1
Source0: doxygen-%{version}.src.tar.gz
Source0: doxygen-%{version}.src.tar.gz
...
...
qtools/Makefile.in
View file @
b12b7063
...
@@ -17,10 +17,10 @@ all: Makefile.qtools Makefile
...
@@ -17,10 +17,10 @@ all: Makefile.qtools Makefile
$(MAKE)
-f
Makefile.qtools
$@
$(MAKE)
-f
Makefile.qtools
$@
Makefile.qtools
:
qtools.pro
Makefile.qtools
:
qtools.pro
$(PERL)
$(TMAKE)
qtools.pro
>
Makefile.qtools
export
TMAKEPATH
=
$(TMAKEPATH)
;
$(PERL)
$(TMAKE)
qtools.pro
>
Makefile.qtools
tmake
:
tmake
:
$(PERL)
$(TMAKE)
qtools.pro
>
Makefile.qtools
export
TMAKEPATH
=
$(TMAKEPATH)
;
$(PERL)
$(TMAKE)
qtools.pro
>
Makefile.qtools
clean
:
Makefile.qtools
clean
:
Makefile.qtools
$(MAKE)
-f
Makefile.qtools clean
$(MAKE)
-f
Makefile.qtools clean
...
...
src/Makefile.in
View file @
b12b7063
...
@@ -20,18 +20,18 @@ all: Makefile.doxygen Makefile.doxytag Makefile.doxysearch Makefile
...
@@ -20,18 +20,18 @@ all: Makefile.doxygen Makefile.doxytag Makefile.doxysearch Makefile
$(MAKE)
-f
Makefile.doxysearch
$@
$(MAKE)
-f
Makefile.doxysearch
$@
Makefile.doxygen
:
doxygen.pro doxygen.t
Makefile.doxygen
:
doxygen.pro doxygen.t
$(PERL)
$(TMAKE)
doxygen.pro
>
Makefile.doxygen
export
TMAKEPATH
=
$(TMAKEPATH)
;
$(PERL)
$(TMAKE)
doxygen.pro
>
Makefile.doxygen
Makefile.doxytag
:
doxytag.pro doxytag.t
Makefile.doxytag
:
doxytag.pro doxytag.t
$(PERL)
$(TMAKE)
doxytag.pro
>
Makefile.doxytag
export
TMAKEPATH
=
$(TMAKEPATH)
;
$(PERL)
$(TMAKE)
doxytag.pro
>
Makefile.doxytag
Makefile.doxysearch
:
doxysearch.pro
Makefile.doxysearch
:
doxysearch.pro
$(PERL)
$(TMAKE)
doxysearch.pro
>
Makefile.doxysearch
export
TMAKEPATH
=
$(TMAKEPATH)
;
$(PERL)
$(TMAKE)
doxysearch.pro
>
Makefile.doxysearch
tmake
:
tmake
:
$(PERL)
$(TMAKE)
doxygen.pro
>
Makefile.doxygen
export
TMAKEPATH
=
$(TMAKEPATH)
;
$(PERL)
$(TMAKE)
doxygen.pro
>
Makefile.doxygen
$(PERL)
$(TMAKE)
doxytag.pro
>
Makefile.doxytag
export
TMAKEPATH
=
$(TMAKEPATH)
;
$(PERL)
$(TMAKE)
doxytag.pro
>
Makefile.doxytag
$(PERL)
$(TMAKE)
doxysearch.pro
>
Makefile.doxysearch
export
TMAKEPATH
=
$(TMAKEPATH)
;
$(PERL)
$(TMAKE)
doxysearch.pro
>
Makefile.doxysearch
clean
:
Makefile.doxygen Makefile.doxytag Makefile.doxysearch
clean
:
Makefile.doxygen Makefile.doxytag Makefile.doxysearch
$(MAKE)
-f
Makefile.doxygen clean
$(MAKE)
-f
Makefile.doxygen clean
...
...
src/diagram.cpp
View file @
b12b7063
...
@@ -1235,13 +1235,15 @@ void ClassDiagram::writeFigure(QTextStream &output,const char *path,
...
@@ -1235,13 +1235,15 @@ void ClassDiagram::writeFigure(QTextStream &output,const char *path,
if
(
Config
::
usePDFLatexFlag
)
if
(
Config
::
usePDFLatexFlag
)
{
{
QCString
epstopdfCmd
(
4096
);
QCString
epstopdfCmd
(
4096
);
epstopdfCmd
.
sprintf
(
"epstopdf
\"
%s.eps
\"
-outfile=
\"
%s.pdf
\"
"
,
//epstopdfCmd.sprintf("epstopdf \"%s.eps\" -outfile=\"%s.pdf\"",
epsBaseName
.
data
(),
epsBaseName
.
data
());
// epsBaseName.data(),epsBaseName.data());
//printf("Converting eps using `%s'\n",epstopdfCmd.data());
if
(
iSystem
(
epstopdfCmd
)
!=
0
)
if
(
iSystem
(
epstopdfCmd
)
!=
0
)
{
{
err
(
"Error: Problems running epstopdf. Check your TeX installation!
\n
"
);
err
(
"Error: Problems running epstopdf. Check your TeX installation!
\n
"
);
return
;
return
;
}
}
printf
(
"done
\n
"
);
}
}
}
}
...
...
src/doxygen.cpp
View file @
b12b7063
...
@@ -1717,14 +1717,16 @@ static void buildMemberList(Entry *root)
...
@@ -1717,14 +1717,16 @@ static void buildMemberList(Entry *root)
)
)
{
{
// see if we need to create a new member
// see if we need to create a new member
found
=
nsName
==
rnsName
||
// members are in the same namespace
found
=
(
nd
&&
rnd
&&
nsName
==
rnsName
)
||
// members are in the same namespace
((
fd
!=
0
&&
// no external reference
((
fd
!=
0
&&
// no external reference and
fd
->
absFilePath
()
==
root
->
fileName
// prototype in the same file
fd
->
absFilePath
()
==
root
->
fileName
// prototype in the same file
)
||
)
||
md
->
getGroupDef
()
!=
0
// member is part of a group
md
->
getGroupDef
()
!=
0
// member is part of a group
);
);
// otherwise, allow a duplicate global member with the same argument list
// otherwise, allow a duplicate global member with the same argument list
//printf("combining function with prototype found=%d `%s'<->`%s'!\n",
// found,fd->absFilePath().data(),root->fileName.data());
// merge members documentation and properties
// merge members documentation and properties
mergeArguments
(
root
->
argList
,
md
->
argumentList
());
mergeArguments
(
root
->
argList
,
md
->
argumentList
());
if
(
!
md
->
documentation
()
&&
!
root
->
doc
.
isEmpty
())
if
(
!
md
->
documentation
()
&&
!
root
->
doc
.
isEmpty
())
...
@@ -1963,12 +1965,16 @@ static void transferFunctionDocumentation()
...
@@ -1963,12 +1965,16 @@ static void transferFunctionDocumentation()
if
(
md
->
isPrototype
())
mdec
=
md
;
if
(
md
->
isPrototype
())
mdec
=
md
;
if
(
md
->
isFunction
()
&&
!
md
->
isStatic
()
&&
!
md
->
isPrototype
())
mdef
=
md
;
if
(
md
->
isFunction
()
&&
!
md
->
isStatic
()
&&
!
md
->
isPrototype
())
mdef
=
md
;
}
}
//printf("mdef=(%p,%s) mdec=(%p,%s)\n",
// mdef, mdef ? mdef->name().data() : "",
// mdec, mdec ? mdec->name().data() : "");
if
(
mdef
&&
mdec
&&
if
(
mdef
&&
mdec
&&
matchArguments
(
mdef
->
argumentList
(),
mdec
->
argumentList
())
matchArguments
(
mdef
->
argumentList
(),
mdec
->
argumentList
())
)
/* match found */
)
/* match found */
{
{
//printf("Found member %s: def in %s and dec in %s\n",
//printf("Found member %s: def in %s and dec in %s\n",
// mn->memberName(),mdef->getFileDef()->name(),mdec->getFileDef()->name());
// mn->memberName(),mdef->getFileDef()->name().data(),
// mdec->getFileDef()->name().data());
/* copy documentation between function definition and declaration */
/* copy documentation between function definition and declaration */
if
(
mdec
->
briefDescription
())
if
(
mdec
->
briefDescription
())
...
@@ -2520,6 +2526,8 @@ static void addMemberDocs(Entry *root,
...
@@ -2520,6 +2526,8 @@ static void addMemberDocs(Entry *root,
}
}
else
else
{
{
//printf("Adding docs md->docs=`%s' root->docs=`%s'!\n",
// md->documentation().data(),root->doc.data());
// documentation outside a compound overrides the documentation inside it
// documentation outside a compound overrides the documentation inside it
if
(
/* !md->isStatic() && !root->stat && do not replace doc of a static */
if
(
/* !md->isStatic() && !root->stat && do not replace doc of a static */
(
(
...
@@ -5118,29 +5126,19 @@ static void copyStyleSheet()
...
@@ -5118,29 +5126,19 @@ static void copyStyleSheet()
static
void
readFiles
(
BufStr
&
output
)
static
void
readFiles
(
BufStr
&
output
)
{
{
QCString
*
s
=
inputFiles
.
first
();
QCString
*
s
=
inputFiles
.
first
();
// char *p=output.data();
while
(
s
)
while
(
s
)
{
{
QCString
fileName
=*
s
;
QCString
fileName
=*
s
;
//int fileSize=fi->fileInfo()->size();
int
fileNameSize
=
fileName
.
length
();
int
fileNameSize
=
fileName
.
length
();
//int streamLength=fileSize+fileNameSize+4;
//QCString fileText(streamLength);
// add begin filename marker
// add begin filename marker
// *p++=0x06;
output
.
addChar
(
0x06
);
output
.
addChar
(
0x06
);
// copy filename
// copy filename
// memcpy(p,fileName.data(),fileNameSize);
// p+=fileNameSize;
output
.
addArray
(
fileName
.
data
(),
fileNameSize
);
output
.
addArray
(
fileName
.
data
(),
fileNameSize
);
// add end filename marker
// add end filename marker
// *p++=0x06;
output
.
addChar
(
0x06
);
output
.
addChar
(
0x06
);
// *p++='\n'; // to make ^ work while scanning the first line of a file!
output
.
addChar
(
'\n'
);
output
.
addChar
(
'\n'
);
if
(
Config
::
preprocessingFlag
)
if
(
Config
::
preprocessingFlag
)
{
{
...
@@ -5158,10 +5156,7 @@ static void readFiles(BufStr &output)
...
@@ -5158,10 +5156,7 @@ static void readFiles(BufStr &output)
s
=
inputFiles
.
next
();
s
=
inputFiles
.
next
();
//printf("-------> adding new line\n");
//printf("-------> adding new line\n");
}
}
// *p++='\0';
output
.
addChar
(
0
);
output
.
addChar
(
0
);
//printf("Output after preprocessing:\n---------\n%s\n----------\n",output.data());
//printf("Final length = %d\n",p-output.data());
}
}
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
...
@@ -5177,7 +5172,8 @@ static int readDir(QFileInfo *fi,
...
@@ -5177,7 +5172,8 @@ static int readDir(QFileInfo *fi,
QStrList
*
patList
,
QStrList
*
patList
,
QStrList
*
exclPatList
,
QStrList
*
exclPatList
,
StringList
*
resultList
,
StringList
*
resultList
,
StringDict
*
resultDict
StringDict
*
resultDict
,
bool
errorIfNotExist
)
)
{
{
QDir
dir
((
const
char
*
)
fi
->
absFilePath
());
QDir
dir
((
const
char
*
)
fi
->
absFilePath
());
...
@@ -5193,7 +5189,7 @@ static int readDir(QFileInfo *fi,
...
@@ -5193,7 +5189,7 @@ static int readDir(QFileInfo *fi,
{
{
if
(
exclDict
==
0
||
exclDict
->
find
(
cfi
->
absFilePath
())
==
0
)
if
(
exclDict
==
0
||
exclDict
->
find
(
cfi
->
absFilePath
())
==
0
)
{
// file should not be excluded
{
// file should not be excluded
if
(
!
cfi
->
exists
()
||
!
cfi
->
isReadable
()
)
if
(
(
!
cfi
->
exists
()
||
!
cfi
->
isReadable
())
&&
errorIfNotExist
)
{
{
err
(
"Error: source %s is not a readable file or directory... skipping.
\n
"
,
cfi
->
absFilePath
().
data
());
err
(
"Error: source %s is not a readable file or directory... skipping.
\n
"
,
cfi
->
absFilePath
().
data
());
}
}
...
@@ -5233,7 +5229,7 @@ static int readDir(QFileInfo *fi,
...
@@ -5233,7 +5229,7 @@ static int readDir(QFileInfo *fi,
{
{
cfi
->
setFile
(
cfi
->
absFilePath
());
cfi
->
setFile
(
cfi
->
absFilePath
());
totalSize
+=
readDir
(
cfi
,
fnList
,
fnDict
,
exclDict
,
totalSize
+=
readDir
(
cfi
,
fnList
,
fnDict
,
exclDict
,
patList
,
exclPatList
,
resultList
,
resultDict
);
patList
,
exclPatList
,
resultList
,
resultDict
,
errorIfNotExist
);
}
}
}
}
++
it
;
++
it
;
...
@@ -5288,7 +5284,8 @@ static int readFileOrDirectory(const char *s,
...
@@ -5288,7 +5284,8 @@ static int readFileOrDirectory(const char *s,
QStrList
*
patList
,
QStrList
*
patList
,
QStrList
*
exclPatList
,
QStrList
*
exclPatList
,
StringList
*
resultList
,
StringList
*
resultList
,
StringDict
*
resultDict
StringDict
*
resultDict
,
bool
errorIfNotExist
=
TRUE
)
)
{
{
QFileInfo
fi
(
s
);
QFileInfo
fi
(
s
);
...
@@ -5297,7 +5294,7 @@ static int readFileOrDirectory(const char *s,
...
@@ -5297,7 +5294,7 @@ static int readFileOrDirectory(const char *s,
{
{
if
(
exclDict
==
0
||
exclDict
->
find
(
fi
.
absFilePath
())
==
0
)
if
(
exclDict
==
0
||
exclDict
->
find
(
fi
.
absFilePath
())
==
0
)
{
{
if
(
!
fi
.
exists
()
||
!
fi
.
isReadable
()
)
if
(
(
!
fi
.
exists
()
||
!
fi
.
isReadable
())
&&
errorIfNotExist
)
{
{
err
(
"Error: source %s is not a readable file or directory... skipping.
\n
"
,
s
);
err
(
"Error: source %s is not a readable file or directory... skipping.
\n
"
,
s
);
}
}
...
@@ -5333,7 +5330,7 @@ static int readFileOrDirectory(const char *s,
...
@@ -5333,7 +5330,7 @@ static int readFileOrDirectory(const char *s,
}
}
else
if
(
fi
.
isDir
())
// readable dir
else
if
(
fi
.
isDir
())
// readable dir
totalSize
+=
readDir
(
&
fi
,
fnList
,
fnDict
,
exclDict
,
patList
,
totalSize
+=
readDir
(
&
fi
,
fnList
,
fnDict
,
exclDict
,
patList
,
exclPatList
,
resultList
,
resultDict
);
exclPatList
,
resultList
,
resultDict
,
errorIfNotExist
);
}
}
}
}
return
totalSize
;
return
totalSize
;
...
@@ -5725,7 +5722,7 @@ int main(int argc,char **argv)
...
@@ -5725,7 +5722,7 @@ int main(int argc,char **argv)
while
(
s
)
while
(
s
)
{
{
readFileOrDirectory
(
s
,
0
,
0
,
0
,
&
Config
::
filePatternList
,
readFileOrDirectory
(
s
,
0
,
0
,
0
,
&
Config
::
filePatternList
,
0
,
0
,
&
excludeNameDict
);
0
,
0
,
&
excludeNameDict
,
FALSE
);
s
=
Config
::
excludeSources
.
next
();
s
=
Config
::
excludeSources
.
next
();
}
}
...
...
src/filedef.h
View file @
b12b7063
...
@@ -124,7 +124,8 @@ class FileDef : public Definition
...
@@ -124,7 +124,8 @@ class FileDef : public Definition
//void setGenerateSource(bool b) { isSource=b; }
//void setGenerateSource(bool b) { isSource=b; }
bool
generateSourceFile
()
const
bool
generateSourceFile
()
const
{
return
!
isReference
()
&&
{
return
!
isReference
()
&&
(
Config
::
sourceBrowseFlag
||
Config
::
verbatimHeaderFlag
);
(
Config
::
sourceBrowseFlag
||
Config
::
verbatimHeaderFlag
)
&&
name
().
right
(
4
)
!=
".doc"
&&
name
().
right
(
4
)
!=
".txt"
;
}
}
void
addIncludeDependency
(
FileDef
*
fd
,
const
char
*
incName
,
bool
local
);
void
addIncludeDependency
(
FileDef
*
fd
,
const
char
*
incName
,
bool
local
);
...
...
src/index.cpp
View file @
b12b7063
...
@@ -631,23 +631,23 @@ void writeNamespaceIndex(OutputList &ol)
...
@@ -631,23 +631,23 @@ void writeNamespaceIndex(OutputList &ol)
if
(
nd
->
isLinkableInProject
())
if
(
nd
->
isLinkableInProject
())
{
{
ol
.
writeStartAnnoItem
(
"namespace"
,
nd
->
getOutputFileBase
(),
0
,
nd
->
name
());
ol
.
writeStartAnnoItem
(
"namespace"
,
nd
->
getOutputFileBase
(),
0
,
nd
->
name
());
ol
.
docify
(
" ("
);
if
(
!
nd
->
briefDescription
().
isEmpty
())
if
(
!
nd
->
briefDescription
().
isEmpty
())
{
{
ol
.
docify
(
" ("
);
OutputList
briefOutput
(
&
ol
);
OutputList
briefOutput
(
&
ol
);
parseDoc
(
briefOutput
,
parseDoc
(
briefOutput
,
nd
->
getDefFileName
(),
nd
->
getDefLine
(),
nd
->
getDefFileName
(),
nd
->
getDefLine
(),
nd
->
name
(),
0
,
nd
->
name
(),
0
,
abbreviate
(
nd
->
briefDescription
(),
nd
->
name
()));
abbreviate
(
nd
->
briefDescription
(),
nd
->
name
()));
ol
+=
briefOutput
;
ol
+=
briefOutput
;
ol
.
docify
(
")"
);
}
}
else
//else
{
//{
ol
.
startEmphasis
();
// ol.startEmphasis();
parseText
(
ol
,
theTranslator
->
trNoDescriptionAvailable
());
// parseText(ol,theTranslator->trNoDescriptionAvailable());
ol
.
endEmphasis
();
// ol.endEmphasis();
}
//}
ol
.
docify
(
")"
);
ol
.
writeEndAnnoItem
(
nd
->
getOutputFileBase
());
ol
.
writeEndAnnoItem
(
nd
->
getOutputFileBase
());
if
(
hasHtmlHelp
)
if
(
hasHtmlHelp
)
{
{
...
@@ -707,23 +707,23 @@ void writeAnnotatedClassList(OutputList &ol)
...
@@ -707,23 +707,23 @@ void writeAnnotatedClassList(OutputList &ol)
default:
type
=
"interface"
;
break
;
default:
type
=
"interface"
;
break
;
}
}
ol
.
writeStartAnnoItem
(
type
,
cd
->
getOutputFileBase
(),
0
,
cd
->
displayName
());
ol
.
writeStartAnnoItem
(
type
,
cd
->
getOutputFileBase
(),
0
,
cd
->
displayName
());
ol
.
docify
(
" ("
);
if
(
!
cd
->
briefDescription
().
isEmpty
())
if
(
!
cd
->
briefDescription
().
isEmpty
())
{
{
ol
.
docify
(
" ("
);
OutputList
briefOutput
(
&
ol
);
OutputList
briefOutput
(
&
ol
);
parseDoc
(
briefOutput
,
parseDoc
(
briefOutput
,
cd
->
getDefFileName
(),
cd
->
getDefLine
(),
cd
->
getDefFileName
(),
cd
->
getDefLine
(),
cd
->
name
(),
0
,
cd
->
name
(),
0
,
abbreviate
(
cd
->
briefDescription
(),
cd
->
name
()));
abbreviate
(
cd
->
briefDescription
(),
cd
->
name
()));
ol
+=
briefOutput
;
ol
+=
briefOutput
;
ol
.
docify
(
")"
);
}
}
else
//else
{
//{
ol
.
startEmphasis
();
// ol.startEmphasis();
parseText
(
ol
,
theTranslator
->
trNoDescriptionAvailable
());
// parseText(ol,theTranslator->trNoDescriptionAvailable());
ol
.
endEmphasis
();
// ol.endEmphasis();
}
//}
ol
.
docify
(
")"
);
ol
.
writeEndAnnoItem
(
cd
->
getOutputFileBase
());
ol
.
writeEndAnnoItem
(
cd
->
getOutputFileBase
());
if
(
Config
::
generateHtml
&&
Config
::
htmlHelpFlag
)
if
(
Config
::
generateHtml
&&
Config
::
htmlHelpFlag
)
{
{
...
...
src/memberdef.cpp
View file @
b12b7063
...
@@ -189,6 +189,7 @@ static void writeTemplatePrefix(OutputList &ol,ArgumentList *al,bool br=TRUE)
...
@@ -189,6 +189,7 @@ static void writeTemplatePrefix(OutputList &ol,ArgumentList *al,bool br=TRUE)
while
(
a
)
while
(
a
)
{
{
ol
.
docify
(
a
->
type
);
ol
.
docify
(
a
->
type
);
ol
.
docify
(
" "
);
ol
.
docify
(
a
->
name
);
ol
.
docify
(
a
->
name
);
if
(
a
->
defval
.
length
()
!=
0
)
if
(
a
->
defval
.
length
()
!=
0
)
{
{
...
...
src/scanner.l
View file @
b12b7063
...
@@ -1309,7 +1309,7 @@ TITLE [tT][iI][tT][lL][eE]
...
@@ -1309,7 +1309,7 @@ TITLE [tT][iI][tT][lL][eE]
if ( *yytext == ',' )
if ( *yytext == ',' )
{
{
int i=oldType.length();
int i=oldType.length();
while (i>0 && (oldType[i-1]=='*' || oldType[i-1]==' ')) i--;
while (i>0 && (oldType[i-1]=='*' || oldType[i-1]=='
&' || oldType[i-1]=='
')) i--;
current->type = oldType.left(i);
current->type = oldType.left(i);
current->doc = oldDocs;
current->doc = oldDocs;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment