Commit graph

11 commits

Author SHA1 Message Date
Tanjeff-N. Moos
ebf51f227c sconsDoxy: Restructure code: close file in case of exception.
Up to now, the file was opened, then DoxyfileParse() was invoked, then the file
was closed. If DoxyfileParse() throws an exception, the file would not be
closed. The new solution auto-closes the file in any case.
2022-07-31 16:22:56 +02:00
Tanjeff-N. Moos
035a38b177 sconsDoxy: Better fix: get_contents() -> get_text_contents(). 2022-07-30 09:19:08 +02:00
Tanjeff-N. Moos
865fe4e3c5 sconsDoxy: Bugfix: Convert <bytes> object to <string>.
In DoxyfileParse(), the 'file_contents' parameter is a <bytes> object.
Since the shlex.shlex() member doesn't accept <bytes> objects, we
convert it to a <str>.
2022-07-29 21:31:17 +02:00
Mats Wichmann
cce3dad4fe sconsDoxy: Run converters on chapel and doxygen tools
Signed-off-by: Mats Wichmann <mats@linux.com>
2021-03-05 08:55:42 -07:00
Russel Winder
35e74d755d sconsDoxy: Import the final state of the Mercurial repository without the history. 2020-06-02 19:26:31 +01:00
Richard van der Hoff
0224e8e22a Fix a TypeError in DoxyEmitter
There is a problem with 7674543f, in that if HTML_FILE_EXTENSION or
MAN_EXTENSION is not specified, we'll try to concatenate a string with
None, and get a type error. We should check that they are set before
trying to use them.
2013-08-12 22:06:23 +01:00
Richard van der Hoff
c876fe0044 Add support for @INCLUDE tags in doxyfiles
Doxygen configs can include other doxygen configs. Add support for
@INCLUDE tag.
2013-08-12 22:34:57 +01:00
Richard van der Hoff
3926ea513a Fix Doxyfile parsing when the first tag occurs on the first line.
Also, add a couple of regression tests.
2013-08-12 15:38:49 +01:00
Richard van der Hoff
0d12211c55 Assume we are not generating man pages by default.
Set output_formats["MAN"] to "NO", by default, as suggested at
http://www.scons.org/wiki/DoxygenBuilder#Note_added_by_Reinderien. Despite
what the Doxygen docs say, GENERATE_MAN is off by default, and a
browse of the source suggests that it's been that way since at least
2008 / Doxygen 1.5.7.
2013-08-12 12:32:21 +01:00
Russel Winder
92cee51e2e Backout of pull request #2, 12:f443da08d6ef, as per Eric's comments on BitBucket. 2013-08-12 17:35:23 +01:00
Russel Winder
eb47568aaa Restructure so that the plugin is a module and a package, it's just more flexible.
Clarify notes regarding history.
2013-08-12 16:05:59 +01:00