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
bdbc5d8a
Commit
bdbc5d8a
authored
Dec 07, 2013
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #61 from albert-github/feature/bug_719639
Bug 719639 - @xrefitem with empty heading string
parents
e6e3da98
a481a84f
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
43 additions
and
8 deletions
+43
-8
commands.doc
doc/commands.doc
+21
-1
docbookvisitor.cpp
src/docbookvisitor.cpp
+3
-1
htmldocvisitor.cpp
src/htmldocvisitor.cpp
+3
-0
latexdocvisitor.cpp
src/latexdocvisitor.cpp
+3
-1
mandocvisitor.cpp
src/mandocvisitor.cpp
+3
-1
perlmodgen.cpp
src/perlmodgen.cpp
+4
-2
rtfdocvisitor.cpp
src/rtfdocvisitor.cpp
+3
-1
xmldocvisitor.cpp
src/xmldocvisitor.cpp
+3
-1
No files found.
doc/commands.doc
View file @
bdbc5d8a
...
...
@@ -230,7 +230,7 @@ Structural indicators
any of the commands.
The title is optional, so this command can also be used to add a number of
entities to an existing group using \
@{ and
\@} like this:
entities to an existing group using \
c \@{ and \c
\@} like this:
\verbatim
/*! \addtogroup mygrp
...
...
@@ -1740,6 +1740,26 @@ void setPosition(double x,double y,double z,double t)
Note the use of escaped quotes for the second and third argument of the
\c \\xrefitem command.
In case parameter "(heading)" is the empty string no heading is generated. This can be useful
when used in combination with the \ref cmdpage "\\page" command e.g.
\verbatim
/** @page my_errors My Errors
* @brief Errors page
*
* Errors page contents.
*/
/** \error ERROR 101: in case a file can not be opened.
Check about file system read/write access. */
#define MY_ERR_CANNOT_OPEN_FILE 101
/** \error ERROR 102: in case a file can not be closed.
Check about file system read/write access. */
#define MY_ERR_CANNOT_CLOSE_FILE 102
\endverbatim
with \c \\error defined as
\verbatim ALIASES += "error=\xrefitem my_errors \"\" \"\"" \endverbatim
<hr>
\htmlonly <center> \endhtmlonly
...
...
src/docbookvisitor.cpp
View file @
bdbc5d8a
...
...
@@ -1160,6 +1160,7 @@ void DocbookDocVisitor::visitPost(DocParamList *)
void
DocbookDocVisitor
::
visitPre
(
DocXRefItem
*
x
)
{
if
(
m_hide
)
return
;
if
(
x
->
title
().
isEmpty
())
return
;
m_t
<<
"<para><link linkend=
\"
"
;
m_t
<<
x
->
file
()
<<
"_1"
<<
x
->
anchor
();
m_t
<<
"
\"
>"
;
...
...
@@ -1168,9 +1169,10 @@ void DocbookDocVisitor::visitPre(DocXRefItem *x)
m_t
<<
" "
;
}
void
DocbookDocVisitor
::
visitPost
(
DocXRefItem
*
)
void
DocbookDocVisitor
::
visitPost
(
DocXRefItem
*
x
)
{
if
(
m_hide
)
return
;
if
(
x
->
title
().
isEmpty
())
return
;
m_t
<<
"</para>"
;
}
...
...
src/htmldocvisitor.cpp
View file @
bdbc5d8a
...
...
@@ -1777,6 +1777,8 @@ void HtmlDocVisitor::visitPost(DocParamList *)
void
HtmlDocVisitor
::
visitPre
(
DocXRefItem
*
x
)
{
if
(
m_hide
)
return
;
if
(
x
->
title
().
isEmpty
())
return
;
forceEndParagraph
(
x
);
bool
anonymousEnum
=
x
->
file
()
==
"@"
;
if
(
!
anonymousEnum
)
...
...
@@ -1798,6 +1800,7 @@ void HtmlDocVisitor::visitPre(DocXRefItem *x)
void
HtmlDocVisitor
::
visitPost
(
DocXRefItem
*
x
)
{
if
(
m_hide
)
return
;
if
(
x
->
title
().
isEmpty
())
return
;
m_t
<<
"</dd></dl>"
<<
endl
;
forceStartParagraph
(
x
);
}
...
...
src/latexdocvisitor.cpp
View file @
bdbc5d8a
...
...
@@ -1515,6 +1515,7 @@ void LatexDocVisitor::visitPost(DocParamList *pl)
void
LatexDocVisitor
::
visitPre
(
DocXRefItem
*
x
)
{
if
(
m_hide
)
return
;
if
(
x
->
title
().
isEmpty
())
return
;
m_t
<<
"
\\
begin{DoxyRefDesc}{"
;
filter
(
x
->
title
());
m_t
<<
"}"
<<
endl
;
...
...
@@ -1534,9 +1535,10 @@ void LatexDocVisitor::visitPre(DocXRefItem *x)
m_t
<<
"}]"
;
}
void
LatexDocVisitor
::
visitPost
(
DocXRefItem
*
)
void
LatexDocVisitor
::
visitPost
(
DocXRefItem
*
x
)
{
if
(
m_hide
)
return
;
if
(
x
->
title
().
isEmpty
())
return
;
m_t
<<
"
\\
end{DoxyRefDesc}"
<<
endl
;
}
...
...
src/mandocvisitor.cpp
View file @
bdbc5d8a
...
...
@@ -933,6 +933,7 @@ void ManDocVisitor::visitPost(DocParamList *pl)
void
ManDocVisitor
::
visitPre
(
DocXRefItem
*
x
)
{
if
(
m_hide
)
return
;
if
(
x
->
title
().
isEmpty
())
return
;
if
(
!
m_firstCol
)
{
m_t
<<
endl
;
...
...
@@ -944,9 +945,10 @@ void ManDocVisitor::visitPre(DocXRefItem *x)
m_t
<<
".RS 4"
<<
endl
;
}
void
ManDocVisitor
::
visitPost
(
DocXRefItem
*
)
void
ManDocVisitor
::
visitPost
(
DocXRefItem
*
x
)
{
if
(
m_hide
)
return
;
if
(
x
->
title
().
isEmpty
())
return
;
if
(
!
m_firstCol
)
m_t
<<
endl
;
m_t
<<
".RE"
<<
endl
;
m_t
<<
".PP"
<<
endl
;
...
...
src/perlmodgen.cpp
View file @
bdbc5d8a
...
...
@@ -1349,7 +1349,7 @@ void PerlModDocVisitor::visitPost(DocParamList *)
.
closeHash
();
}
void
PerlModDocVisitor
::
visitPre
(
DocXRefItem
*
)
void
PerlModDocVisitor
::
visitPre
(
DocXRefItem
*
x
)
{
#if 0
m_output.add("<xrefsect id=\"");
...
...
@@ -1360,12 +1360,14 @@ void PerlModDocVisitor::visitPre(DocXRefItem *)
m_output.add("</xreftitle>");
m_output.add("<xrefdescription>");
#endif
if
(
x
->
title
().
isEmpty
())
return
;
openItem
(
"xrefitem"
);
openSubBlock
(
"content"
);
}
void
PerlModDocVisitor
::
visitPost
(
DocXRefItem
*
)
void
PerlModDocVisitor
::
visitPost
(
DocXRefItem
*
x
)
{
if
(
x
->
title
().
isEmpty
())
return
;
closeSubBlock
();
closeItem
();
#if 0
...
...
src/rtfdocvisitor.cpp
View file @
bdbc5d8a
...
...
@@ -1579,6 +1579,7 @@ void RTFDocVisitor::visitPost(DocParamList *pl)
void
RTFDocVisitor
::
visitPre
(
DocXRefItem
*
x
)
{
if
(
m_hide
)
return
;
if
(
x
->
title
().
isEmpty
())
return
;
bool
anonymousEnum
=
x
->
file
()
==
"@"
;
DBG_RTF
(
"{
\\
comment RTFDocVisitor::visitPre(DocXRefItem)}
\n
"
);
m_t
<<
"{"
;
// start param list
...
...
@@ -1624,9 +1625,10 @@ void RTFDocVisitor::visitPre(DocXRefItem *x)
m_lastIsPara
=
FALSE
;
}
void
RTFDocVisitor
::
visitPost
(
DocXRefItem
*
)
void
RTFDocVisitor
::
visitPost
(
DocXRefItem
*
x
)
{
if
(
m_hide
)
return
;
if
(
x
->
title
().
isEmpty
())
return
;
DBG_RTF
(
"{
\\
comment RTFDocVisitor::visitPost(DocXRefItem)}
\n
"
);
m_t
<<
"
\\
par"
<<
endl
;
decIndentLevel
();
...
...
src/xmldocvisitor.cpp
View file @
bdbc5d8a
...
...
@@ -1012,6 +1012,7 @@ void XmlDocVisitor::visitPost(DocParamList *)
void
XmlDocVisitor
::
visitPre
(
DocXRefItem
*
x
)
{
if
(
m_hide
)
return
;
if
(
x
->
title
().
isEmpty
())
return
;
m_t
<<
"<xrefsect id=
\"
"
;
m_t
<<
x
->
file
()
<<
"_1"
<<
x
->
anchor
();
m_t
<<
"
\"
>"
;
...
...
@@ -1021,9 +1022,10 @@ void XmlDocVisitor::visitPre(DocXRefItem *x)
m_t
<<
"<xrefdescription>"
;
}
void
XmlDocVisitor
::
visitPost
(
DocXRefItem
*
)
void
XmlDocVisitor
::
visitPost
(
DocXRefItem
*
x
)
{
if
(
m_hide
)
return
;
if
(
x
->
title
().
isEmpty
())
return
;
m_t
<<
"</xrefdescription>"
;
m_t
<<
"</xrefsect>"
;
}
...
...
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