After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 683215 - new command \condnot
new command \condnot
Status: VERIFIED OBSOLETE
Product: doxygen
Classification: Other
Component: general
1.8.1.2-SVN
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2012-09-02 17:37 UTC by albert
Modified: 2013-01-05 13:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
PATCH: Add command \condnot (7.27 KB, patch)
2012-09-02 17:41 UTC, albert
none Details | Review

Description albert 2012-09-02 17:37:06 UTC
In bug_630645 there are 2 problems described.
- add command \condnot
- extend logical expression with \cond (and \if) command

This bug is a request for the add of the command \condnot:

In Doxygen it is possible to have some documentation depending of the setting
of ENABLED_SECTIONS by means of the kewords:
\if, \ifnot, \else, \elseif, \endif these keywords work within one
documentation block;
\cond and \endcond work in different comment blocks.

In the current project I need a \condnot (analogous to \ifnot).

I would therefore propose to add the keyword \condnoy to Doxygen.
Comment 1 albert 2012-09-02 17:41:03 UTC
Created attachment 223207 [details] [review]
PATCH: Add command \condnot

Adding the command \condnot to Doxygen and to the documentation.
Comment 2 Dimitri van Heesch 2012-10-07 09:05:07 UTC
This patch was already included in the current SVN release. I've now set it to ASSIGNED.
Comment 3 Dimitri van Heesch 2012-12-21 10:28:51 UTC
With the addition expressions for the @cond guard, the @condnot is not really needed anymore:

@condnot A
is equivalent to
@cond (!A)
and @condnot without guard doesn't make sense. 

So I decide to not include this command in 1.8.3.
Comment 4 Dimitri van Heesch 2012-12-26 16:08:59 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.3. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.
Comment 5 albert 2013-01-05 13:31:03 UTC
This command is with the extensions to the \cond command superfluous, see bug630645.
\condnot x can now be written as \cond !x.