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
2a40448c
Commit
2a40448c
authored
Mar 28, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add space between br and / for better compatibility
parent
1134237a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
37 additions
and
90 deletions
+37
-90
context.cpp
src/context.cpp
+1
-1
htmldocvisitor.cpp
src/htmldocvisitor.cpp
+2
-2
htmlgen.cpp
src/htmlgen.cpp
+32
-85
memberdef.cpp
src/memberdef.cpp
+1
-1
vhdldocgen.cpp
src/vhdldocgen.cpp
+1
-1
No files found.
src/context.cpp
View file @
2a40448c
...
...
@@ -2663,7 +2663,7 @@ class TextGeneratorHtml : public TextGeneratorIntf
void
writeBreak
(
int
indent
)
const
{
m_ts
<<
"<br/>"
;
m_ts
<<
"<br
/>"
;
for
(
int
i
=
0
;
i
<
indent
;
i
++
)
{
m_ts
<<
" "
;
...
...
src/htmldocvisitor.cpp
View file @
2a40448c
...
...
@@ -237,7 +237,7 @@ void HtmlDocVisitor::visit(DocURL *u)
void
HtmlDocVisitor
::
visit
(
DocLineBreak
*
)
{
if
(
m_hide
)
return
;
m_t
<<
"<br/>
\n
"
;
m_t
<<
"<br
/>
\n
"
;
}
void
HtmlDocVisitor
::
visit
(
DocHorRuler
*
hr
)
...
...
@@ -1780,7 +1780,7 @@ void HtmlDocVisitor::visitPre(DocVhdlFlow *vf)
m_t
<<
"</a>"
;
if
(
vf
->
hasCaption
())
{
m_t
<<
"<br/>"
;
m_t
<<
"<br
/>"
;
}
}
}
...
...
src/htmlgen.cpp
View file @
2a40448c
...
...
@@ -2181,25 +2181,11 @@ void HtmlGenerator::endClassDiagram(const ClassDiagram &d,
void
HtmlGenerator
::
startMemberList
()
{
DBG_HTML
(
t
<<
"<!-- startMemberList -->"
<<
endl
)
//if (Config_getBool("HTML_ALIGN_MEMBERS"))
//{
//}
//else
//{
// t << "<ul>" << endl;
//}
}
void
HtmlGenerator
::
endMemberList
()
{
DBG_HTML
(
t
<<
"<!-- endMemberList -->"
<<
endl
)
//if (Config_getBool("HTML_ALIGN_MEMBERS"))
//{
//}
//else
//{
// t << "</ul>" << endl;
//}
}
// anonymous type:
...
...
@@ -2254,93 +2240,63 @@ void HtmlGenerator::endMemberTemplateParams(const char *anchor,const char *inher
void
HtmlGenerator
::
insertMemberAlign
(
bool
templ
)
{
DBG_HTML
(
t
<<
"<!-- insertMemberAlign -->"
<<
endl
)
//if (Config_getBool("HTML_ALIGN_MEMBERS"))
//{
QCString
className
=
templ
?
"memTemplItemRight"
:
"memItemRight"
;
t
<<
" </td><td class=
\"
"
<<
className
<<
"
\"
valign=
\"
bottom
\"
>"
;
//}
QCString
className
=
templ
?
"memTemplItemRight"
:
"memItemRight"
;
t
<<
" </td><td class=
\"
"
<<
className
<<
"
\"
valign=
\"
bottom
\"
>"
;
}
void
HtmlGenerator
::
startMemberDescription
(
const
char
*
anchor
,
const
char
*
inheritId
)
{
DBG_HTML
(
t
<<
"<!-- startMemberDescription -->"
<<
endl
)
//if (Config_getBool("HTML_ALIGN_MEMBERS"))
//{
if
(
m_emptySection
)
{
t
<<
"<table class=
\"
memberdecls
\"
>"
<<
endl
;
m_emptySection
=
FALSE
;
}
t
<<
"<tr class=
\"
memdesc:"
<<
anchor
;
if
(
inheritId
)
{
t
<<
" inherit "
<<
inheritId
;
}
t
<<
"
\"
><td class=
\"
mdescLeft
\"
> </td><td class=
\"
mdescRight
\"
>"
;
//}
//else
//{
// t << "<dl class=\"el\"><dd class=\"mdescRight\">";
//}
t
<<
"<tr class=
\"
memdesc:"
<<
anchor
;
if
(
inheritId
)
{
t
<<
" inherit "
<<
inheritId
;
}
t
<<
"
\"
><td class=
\"
mdescLeft
\"
> </td><td class=
\"
mdescRight
\"
>"
;
}
void
HtmlGenerator
::
endMemberDescription
()
{
DBG_HTML
(
t
<<
"<!-- endMemberDescription -->"
<<
endl
)
//if (Config_getBool("HTML_ALIGN_MEMBERS"))
//{
t
<<
"<br/></td></tr>"
<<
endl
;
//}
//else
//{
// t << "<br/></dl>";
//}
t
<<
"<br /></td></tr>"
<<
endl
;
}
void
HtmlGenerator
::
startMemberSections
()
{
DBG_HTML
(
t
<<
"<!-- startMemberSections -->"
<<
endl
)
//if (Config_getBool("HTML_ALIGN_MEMBERS"))
//{
m_emptySection
=
TRUE
;
// we postpone writing <table> until we actually
// write a row to prevent empty tables, which
// are not valid XHTML!
//}
m_emptySection
=
TRUE
;
// we postpone writing <table> until we actually
// write a row to prevent empty tables, which
// are not valid XHTML!
}
void
HtmlGenerator
::
endMemberSections
()
{
DBG_HTML
(
t
<<
"<!-- endMemberSections -->"
<<
endl
)
//if (Config_getBool("HTML_ALIGN_MEMBERS"))
//{
if
(
!
m_emptySection
)
{
t
<<
"</table>"
<<
endl
;
}
//}
if
(
!
m_emptySection
)
{
t
<<
"</table>"
<<
endl
;
}
}
void
HtmlGenerator
::
startMemberHeader
(
const
char
*
anchor
)
{
DBG_HTML
(
t
<<
"<!-- startMemberHeader -->"
<<
endl
)
//if (Config_getBool("HTML_ALIGN_MEMBERS"))
//{
if
(
!
m_emptySection
)
{
t
<<
"</table>"
;
m_emptySection
=
TRUE
;
}
if
(
m_emptySection
)
{
t
<<
"<table class=
\"
memberdecls
\"
>"
<<
endl
;
m_emptySection
=
FALSE
;
}
t
<<
"<tr class=
\"
heading
\"
><td colspan=
\"
2
\"
><h2 class=
\"
groupheader
\"
>"
;
//}
//else
//{
// startGroupHeader(FALSE);
//}
if
(
!
m_emptySection
)
{
t
<<
"</table>"
;
m_emptySection
=
TRUE
;
}
if
(
m_emptySection
)
{
t
<<
"<table class=
\"
memberdecls
\"
>"
<<
endl
;
m_emptySection
=
FALSE
;
}
t
<<
"<tr class=
\"
heading
\"
><td colspan=
\"
2
\"
><h2 class=
\"
groupheader
\"
>"
;
if
(
anchor
)
{
t
<<
"<a name=
\"
"
<<
anchor
<<
"
\"
></a>"
<<
endl
;
...
...
@@ -2350,28 +2306,19 @@ void HtmlGenerator::startMemberHeader(const char *anchor)
void
HtmlGenerator
::
endMemberHeader
()
{
DBG_HTML
(
t
<<
"<!-- endMemberHeader -->"
<<
endl
)
//if (Config_getBool("HTML_ALIGN_MEMBERS"))
//{
t
<<
"</h2></td></tr>"
<<
endl
;
//}
//else
//{
// endGroupHeader(FALSE);
//}
t
<<
"</h2></td></tr>"
<<
endl
;
}
void
HtmlGenerator
::
startMemberSubtitle
()
{
DBG_HTML
(
t
<<
"<!-- startMemberSubtitle -->"
<<
endl
)
//if (Config_getBool("HTML_ALIGN_MEMBERS"))
t
<<
"<tr><td class=
\"
ititle
\"
colspan=
\"
2
\"
>"
;
t
<<
"<tr><td class=
\"
ititle
\"
colspan=
\"
2
\"
>"
;
}
void
HtmlGenerator
::
endMemberSubtitle
()
{
DBG_HTML
(
t
<<
"<!-- endMemberSubtitle -->"
<<
endl
)
//if (Config_getBool("HTML_ALIGN_MEMBERS"))
t
<<
"</td></tr>"
<<
endl
;
t
<<
"</td></tr>"
<<
endl
;
}
void
HtmlGenerator
::
startIndexList
()
...
...
@@ -3324,11 +3271,11 @@ void HtmlGenerator::lineBreak(const char *style)
{
if
(
style
)
{
t
<<
"<br class=
\"
"
<<
style
<<
"
\"
/>"
<<
endl
;
t
<<
"<br class=
\"
"
<<
style
<<
"
\"
/>"
<<
endl
;
}
else
{
t
<<
"<br/>"
<<
endl
;
t
<<
"<br
/>"
<<
endl
;
}
}
...
...
src/memberdef.cpp
View file @
2a40448c
...
...
@@ -1573,7 +1573,7 @@ void MemberDef::writeDeclaration(OutputList &ol,
);
}
bool
htmlOn
=
ol
.
isEnabled
(
OutputGenerator
::
Html
);
if
(
htmlOn
&&
/*Config_getBool("HTML_ALIGN_MEMBERS") &&*/
!
ltype
.
isEmpty
())
if
(
htmlOn
&&
!
ltype
.
isEmpty
())
{
ol
.
disable
(
OutputGenerator
::
Html
);
}
...
...
src/vhdldocgen.cpp
View file @
2a40448c
...
...
@@ -2222,7 +2222,7 @@ void VhdlDocGen::writeVHDLDeclaration(MemberDef* mdef,OutputList &ol,
}
bool
htmlOn
=
ol
.
isEnabled
(
OutputGenerator
::
Html
);
if
(
htmlOn
&&
/*Config_getBool("HTML_ALIGN_MEMBERS") &&*/
!
ltype
.
isEmpty
())
if
(
htmlOn
&&
!
ltype
.
isEmpty
())
{
ol
.
disable
(
OutputGenerator
::
Html
);
}
...
...
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