Skip to content

Commit

Permalink
Made MSCGEN_PATH obsolete now that mscgen code is part of doxygen
Browse files Browse the repository at this point in the history
  • Loading branch information
doxygen committed Jun 24, 2019
1 parent 1fae484 commit 873e0cc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 35 deletions.
12 changes: 1 addition & 11 deletions src/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3248,17 +3248,6 @@ where `loc1` and `loc2` can be relative or absolute paths or URLs.
super classes. Setting the tag to \c NO turns the diagrams off. Note that
this option also works with \ref cfg_have_dot "HAVE_DOT" disabled, but it is recommended to
install and use \c dot, since it yields more powerful graphs.
]]>
</docs>
</option>
<option type='string' id='MSCGEN_PATH' format='dir' defval=''>
<docs>
<![CDATA[
You can define message sequence charts within doxygen comments using the \ref cmdmsc "\\msc"
command. Doxygen will then run the <a href="http://www.mcternan.me.uk/mscgen/">mscgen tool</a>) to
produce the chart and insert it in the documentation. The <code>MSCGEN_PATH</code> tag allows you to
specify the directory where the \c mscgen tool resides. If left empty the tool is assumed to
be found in the default search path.
]]>
</docs>
</option>
Expand Down Expand Up @@ -3641,5 +3630,6 @@ remove the intermediate dot files that are used to generate the various graphs.
<option type='obsolete' id='XML_SCHEMA'/>
<option type='obsolete' id='XML_DTD'/>
<option type='obsolete' id='PERL_PATH'/>
<option type='obsolete' id='MSCGEN_PATH'/>
</group>
</doxygenconfig>
24 changes: 0 additions & 24 deletions src/configimpl.l
Original file line number Diff line number Diff line change
Expand Up @@ -1565,30 +1565,6 @@ void Config::checkAndCorrect()
dotPath="";
}

// check mscgen path
QCString &mscgenPath = ConfigImpl_getString("MSCGEN_PATH");
if (!mscgenPath.isEmpty())
{
QFileInfo dp(mscgenPath+"/mscgen"+portable_commandExtension());
if (!dp.exists() || !dp.isFile())
{
warn_uncond("the mscgen tool could not be found at %s\n",mscgenPath.data());
mscgenPath="";
}
else
{
mscgenPath=dp.dirPath(TRUE).utf8()+"/";
#if defined(_WIN32) // convert slashes
uint i=0,l=mscgenPath.length();
for (i=0;i<l;i++) if (mscgenPath.at(i)=='/') mscgenPath.at(i)='\\';
#endif
}
}
else // make sure the string is empty but not null!
{
mscgenPath="";
}

// check plantuml path
QCString &plantumlJarPath = ConfigImpl_getString("PLANTUML_JAR_PATH");
if (!plantumlJarPath.isEmpty())
Expand Down

0 comments on commit 873e0cc

Please sign in to comment.