doxygen/libmscgen
albert-github bf8262ea61 Fix a number of compiler warnings
```
.../markdown.cpp(3060,7): warning: variable 'sp' set but not used [-Wunused-but-set-variable]
  int sp=0;

doxygen.cpp(1348,7): warning: variable 'iteration' set but not used [-Wunused-but-set-variable]
  int iteration=0;

dotfilepatcher.cpp(338,7): warning: variable 'lineNr' set but not used
      [-Wunused-but-set-variable]
  int lineNr=1;

scanner.l(6825,47): warning: use of bitwise '|' with boolean operands
      [-Wbitwise-instead-of-logical]
                                          if ((yyextra->docBlockName=="verbatim") | (yyextra->docBlockName=="code") || (yyex...
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                                  ||
scanner.l(6825,47): note: cast one or both operands to int to silence this warning

mscgen_lexer.l(47,20): warning: unused function 'stateToString' [-Wunused-function]
static const char *stateToString(int state);
```

- corrected syntax problem
- removed unused variables
- doxygen.cpp commented as `iteration` was still present in commented `printf` statements
2022-10-05 14:26:30 +02:00
..
CMakeLists.txt issue #8855 Unable to build 1.9.2 2021-10-27 16:41:28 +02:00
COPYING issue #6880 mscgen links placed in the wrong place when using SVG output 2019-06-23 20:50:56 +02:00
gd.c Fix a number of compiler warnings in the 64bit build for Windows 2020-03-02 20:10:51 +01:00
gd.h spelling: represented 2019-11-12 01:16:26 -05:00
gd_color.c issue #6880 mscgen links placed in the wrong place when using SVG output 2019-06-23 20:50:56 +02:00
gd_color.h issue #6880 mscgen links placed in the wrong place when using SVG output 2019-06-23 20:50:56 +02:00
gd_errors.h issue #6880 mscgen links placed in the wrong place when using SVG output 2019-06-23 20:50:56 +02:00
gd_intern.h Fixed a couple of compiler warnings on Windows 2019-09-12 19:13:40 +02:00
gd_lodepng.c issue #6880 mscgen links placed in the wrong place when using SVG output 2019-06-23 20:50:56 +02:00
gd_security.c issue #6880 mscgen links placed in the wrong place when using SVG output 2019-06-23 20:50:56 +02:00
gdfonts.c issue #6880 mscgen links placed in the wrong place when using SVG output 2019-06-23 20:50:56 +02:00
gdfonts.h issue #7195 reserved identifier violation 2021-07-12 11:29:53 +02:00
gdfontt.c issue #6880 mscgen links placed in the wrong place when using SVG output 2019-06-23 20:50:56 +02:00
gdfontt.h issue #7195 reserved identifier violation 2021-07-12 11:29:53 +02:00
gdhelpers.c issue #6880 mscgen links placed in the wrong place when using SVG output 2019-06-23 20:50:56 +02:00
gdhelpers.h issue #6880 mscgen links placed in the wrong place when using SVG output 2019-06-23 20:50:56 +02:00
gdtables.c issue #6880 mscgen links placed in the wrong place when using SVG output 2019-06-23 20:50:56 +02:00
mscgen_adraw.c issue #6880 mscgen links placed in the wrong place when using SVG output 2019-06-23 20:50:56 +02:00
mscgen_adraw.h spelling: output 2019-11-12 01:08:08 -05:00
mscgen_adraw_int.h Spelling corrections for libmscgen directory 2019-11-05 15:58:43 +01:00
mscgen_api.c Coverity uninitialized variable in mscgen_api.cpp 2020-06-12 15:28:22 +02:00
mscgen_api.h Correction obvious documentation errors in mscgen 2019-07-01 11:52:36 +02:00
mscgen_bool.h issue #6880 mscgen links placed in the wrong place when using SVG output 2019-06-23 20:50:56 +02:00
mscgen_config.h issue #6880 mscgen links placed in the wrong place when using SVG output 2019-06-23 20:50:56 +02:00
mscgen_gd_out.c Fix a number of compiler warnings in the 64bit build for Windows 2020-03-02 20:10:51 +01:00
mscgen_language.h issue #6880 mscgen links placed in the wrong place when using SVG output 2019-06-23 20:50:56 +02:00
mscgen_language.y Incorrect line count in case of an error in msc input 2020-11-20 16:25:30 +01:00
mscgen_lexer.h Incorrect line count in case of an error in msc input 2020-11-20 16:25:30 +01:00
mscgen_lexer.l Fix a number of compiler warnings 2022-10-05 14:26:30 +02:00
mscgen_msc.c spelling: attribute 2019-11-12 00:09:43 -05:00
mscgen_msc.h spelling: column 2019-11-12 00:23:45 -05:00
mscgen_null_out.c issue #6880 mscgen links placed in the wrong place when using SVG output 2019-06-23 20:50:56 +02:00
mscgen_ps_out.c issue #6880 mscgen links placed in the wrong place when using SVG output 2019-06-23 20:50:56 +02:00
mscgen_safe.c issue #6880 mscgen links placed in the wrong place when using SVG output 2019-06-23 20:50:56 +02:00
mscgen_safe.h issue #6880 mscgen links placed in the wrong place when using SVG output 2019-06-23 20:50:56 +02:00
mscgen_svg_out.c issue #6880 mscgen links placed in the wrong place when using SVG output 2019-06-23 20:50:56 +02:00
mscgen_usage.c Spelling corrections for libmscgen directory 2019-11-05 15:58:43 +01:00
mscgen_usage.h issue #6880 mscgen links placed in the wrong place when using SVG output 2019-06-23 20:50:56 +02:00
mscgen_utf8.c spelling: manifest 2019-11-12 01:00:08 -05:00
mscgen_utf8.h issue #6880 mscgen links placed in the wrong place when using SVG output 2019-06-23 20:50:56 +02:00
README.txt issue #6880 mscgen links placed in the wrong place when using SVG output 2019-06-23 20:50:56 +02:00

Issue 6880 (https://github.com/doxygen/doxygen/issues/6880) required fixes to the mscgen tool.
Since this tool is no longer maintained, it was decided to build mscgen as part of doxygen.
This directory contains the mscgen code.

Since mscgen depends on libgd for PNG output, a part of the gd library is included as well.
Instead of using libpng as PNG generator, the lodepng library is used. This PNG library was
already part of doxygen. Module gd_lodepng.c was added to make libgd use lodepng.

Original copyright statement follows:

LICENCE
=======

Mscgen, Copyright (C) 2010 Michael C McTernan,
                      Michael.McTernan.2001@cs.bris.ac.uk
Mscgen comes with ABSOLUTELY NO WARRANTY.  Mscgen is free software, and you
are welcome to redistribute it under certain conditions; see the COPYING
file for details.