summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Better termination messagealbert-github2019-11-2223-111/+101
| | | | | In case a `WARN_LOGFILE` is used it in this file no clear whether doxygen finished correctly or exited beforehand in case a fatal error. Now a 'Exiting...' is also given in the warning log file in case an error is a fatal error.
* Made code.l scanner reentrantDimitri van Heesch2019-11-214-2522/+2655
|
* Remove bogus flex codeDimitri van Heesch2019-11-1816-125/+0
|
* Replace set of g_inside* booleans with a single g_lang variableDimitri van Heesch2019-11-181-18/+10
|
* Made commentcnv.l reentrantDimitri van Heesch2019-11-171-466/+493
|
* Merge branch 'master' of github.com:doxygen/doxygenDimitri van Heesch2019-11-164-1/+21
|\
| * Merge pull request #7395 from albert-github/feature/bug_code_hr_mdDimitri van Heesch2019-11-161-1/+1
| |\ | | | | | | Problem with horizontal ruler directly after fenced code section
| | * Problem with horizontal ruler directly after fenced code sectionalbert-github2019-11-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When having a fenced code block directly followed by a horizontal ruler like: ``` ~~~ B ~~~ --- ``` we get the warning: ``` bb.md:5: warning: unexpected command endcode ``` due to the fact that the markdown parser replaces the `~~~` by a `@code` / `endcode` block and then handles the horizontal ruler `---` but this is seen as a level 2 header on the previous part resulting in the markdown code: ``` @page md_bb bb @subsection autotoc_md0 @code B @endcode ``` The problem also occurs when a fenced code block is created with back tics. By adding a `\n` this problem is fixed.
| * | Merge pull request #7402 from albert-github/feature/bug_hhcDimitri van Heesch2019-11-163-0/+20
| |\ \ | | | | | | | | HHC and directory elements starting with "."
| | * | HHC and directory elements starting with "."albert-github2019-11-153-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on the question 'Doxygen failed to run html help compiler, hhc.exe error HHC5010 when running from folder that has a parent folder that starts with “.”/ (https://stackoverflow.com/questions/58861908/doxygen-failed-to-run-html-help-compiler-hhc-exe-error-hhc5010-when-running-fro). In we https://social.msdn.microsoft.com/Forums/en-US/0681145c-223b-498c-b7bf-be83209cbf4e/issue-with-html-workshop-in-a-windows-container?forum=visualstudiogeneral see: HTML Help 1.x command line compiler hhc.exe cannot compile CHM file to folder whose full path contains folder name starting with dot. If you have that problem, you probably specified output path with folder starting with dot, e.g. "d:\My files.NET\documentation". You can use dots in folder names but not at the beginning. We first convert the current path to a short name path and set this as current directory, this is only done on Windows other systems are not touched.
* | | | issue #7348 Better warning in case a graph would have been to largeDimitri van Heesch2019-11-169-10/+32
|/ / /
* | | Merge pull request #7397 from albert-github/feature/issue_7396Dimitri van Heesch2019-11-161-8/+8
|\ \ \ | | | | | | | | issue #7396 Illegal Character in XML output
| * | | Illegal Character in XML outputalbert-github2019-11-131-8/+8
| | |/ | |/| | | | | | | The usage of, the unusual, `&` in a filename caused troubles as the filenames in the file strings in the location element were not translated to XML.
* | | Merge pull request #7394 from RockinRoel/issue_7393Dimitri van Heesch2019-11-161-0/+1
|\ \ \ | | | | | | | | Fix line count after multiline close group
| * | | Fix line count after multiline close groupRoel Standaert2019-11-121-0/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix for issue #7393 When closing a group on multiple lines, like: /*! @} */ The line count of subsequent lines is wrong (it's one line less than it should be).
* | | Merge pull request #7392 from albert-github/feature/issue_7290Dimitri van Heesch2019-11-161-2/+2
|\ \ \ | | | | | | | | issue #7290 error: Problem running ghostscript gs -q -g562x56 -r384x384x -sDEVICE=ppmraw -sOutputFile=_form0.pnm -dNOPAUSE -dBATCH -- _form0.ps. Check your installation!
| * | | issue #7290 error: Problem running ghostscript gs -q -g562x56 -r384x384x ↵albert-github2019-11-121-2/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -sDEVICE=ppmraw -sOutputFile=_form0.pnm -dNOPAUSE -dBATCH -- _form0.ps. Check your installation! @maehr had a talk with Robin Watts and Ken Sharp at IRC and there seem to be basically 3 different problems: * `-r%dx%d` (the dimension for `r` shouldn't be `-r384x384x`, but `-r384x384`), * misuse / unnecessary use of `--` and * since 9.50 the command needs more control access (that might be worked around by either whitelisting the file via `--permit-file-read=_form0.eps` (only works from 9.50 and upwards) or generally accepting any file with `-dNOSAFER` (works since quite some time). The second option is considered to be unsafe if we would process any file, but in this case we process self produced / controlled files. I don't know if doxygen has any threat model that it assumes. ). > Ken Sharp: Yeah the %dx is wrong, as Robin says its sheer luck that works the -- isn't needed and is what's causing the first problem and file control is the new bugbear The suggestions have been implemented and test / docs works now with old and new version.
* | | issue #7403: xref versus namespace in multiple fileDimitri van Heesch2019-11-162-3/+3
| | |
* | | Fixed issue with "QGDict::hashAsciiKey: Invalid null key" in pre.lDimitri van Heesch2019-11-161-0/+4
| | |
* | | remove debug printsDimitri van Heesch2019-11-161-2/+2
| |/ |/|
* | issue #7325: Endless loop in preprocessor due to #define A()Dimitri van Heesch2019-11-141-20/+43
|/
* Merge branch 'master' of github.com:doxygen/doxygenDimitri van Heesch2019-11-106-2/+25
|\
| * Merge pull request #7344 from albert-github/feature/bug_tclDimitri van Heesch2019-11-106-2/+25
| |\ | | | | | | Small improvements of TCL output
| | * Small improvements of TCL outputalbert-github2019-10-211-7/+8
| | | | | | | | | | | | | | | | | | Undoing changes for (due to problems with doxygen tests): - in case of `##` comment blocks the last line was not always show - in case of multiple comment blocks, properly separate them
| | * Small improvements of TCL outputalbert-github2019-10-216-10/+32
| | | | | | | | | | | | | | | | | | | | | - handling of the used filename, sometimes the filename was not set resulting in case of a warning with file `<unknown>`, also improving, slightly, the line reference. - in case of `##` comment blocks the last line was not always show - in case of multiple comment blocks, properly separate them - correct handling tab character in source code output (*gen)
* | | Simplied the logic for moving documentation to the most nested EntryDimitri van Heesch2019-11-101-23/+21
| | |
* | | Merge branch 'feature/issue_7295' of ↵Dimitri van Heesch2019-11-101-0/+17
|\ \ \ | |/ / |/| | | | | https://github.com/albert-github/doxygen into albert-github-feature/issue_7295
| * | issue #7295 Doxygen documentation of C++17 nested namespace erroneousalbert-github2019-10-061-0/+17
| | | | | | | | | | | | documentation has to be added to the "last" entry not to the "first" / "top"
* | | Merge branch 'feature/bug_warn_illegal_command' of ↵Dimitri van Heesch2019-11-101-6/+12
|\ \ \ | | | | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_warn_illegal_command
| * | | Better warning message in case of illegal commandalbert-github2019-11-061-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Correcting compilation errors and warnings like: ``` error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive] char *cmd_start = (tok==TK_COMMAND_AT ? "@" : "\\"); warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] char *cmd_start = "\\"; ```
| * | | Better warning message in case of illegal commandalbert-github2019-11-061-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When having a problem like: ``` /** \file * * \link Something \see nothing2 \endlink * * \link Something @see nothing3 \endlink */ ``` We will get a.o. the warnings: ``` .../aa.h:3: warning: Illegal command see as part of a \link .../aa.h:5: warning: Illegal command see as part of a \link ``` it is not clear what the problem is. With this patch we get a little bit clearer warning: ``` .../aa.h:3: warning: Illegal command \see as part of a \link .../aa.h:5: warning: Illegal command @see as part of a \link ```
* | | | Fixed use of uninitialized pointer in preprocessorDimitri van Heesch2019-11-0915-19/+19
| | | |
* | | | Remove global state from constexp lexerDimitri van Heesch2019-11-096-52/+98
| | | |
* | | | Merge branch 'master' of github.com:doxygen/doxygenDimitri van Heesch2019-11-0938-60/+59
|\ \ \ \
| * \ \ \ Merge pull request #7377 from albert-github/feature/bug_spell_srcDimitri van Heesch2019-11-0638-60/+59
| |\ \ \ \ | | |/ / / | |/| | | Spelling corrections for src directory
| | * | | Spelling corrections for src directoryalbert-github2019-11-0538-60/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Spelling corrections as found by codespell and in #561. Some reported problems were already fixed, others are fixed here, with some exceptions (a,o.): - "referenceby" in defgen.cpp as this is in the output and I cannot oversee the consequences (looks like none, but ...) - "HANGEUL_CHARSET" left as is as in some MS documentation is written: 'HANGUL_CHARSET: Also spelled "Hangeul". Specifies the Hangul Korean character set.' (https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-wmf/0d0b32ac-a836-4bd2-a112-b6000a1b4fc9).
* | | | | Make preprocess code reentrantDimitri van Heesch2019-11-094-1638/+1687
| | | | |
* | | | | Fixed use of uninitialized data in VHDL generatorDimitri van Heesch2019-11-091-5/+8
|/ / / /
* | | | Merge branch 'master' of github.com:doxygen/doxygenDimitri van Heesch2019-11-051-0/+7
|\ \ \ \
| * | | | QGDict::hashAsciiKey: Invalid null key due to empty procedure namealbert-github2019-11-041-0/+7
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When having a problem like: ``` namespace eval ::tk::dialog {} namespace eval ::tk::dialog::file {} namespace eval ::tk::dialog::file::chooseDir { namespace import -force ::tk::msgcat::* } proc ::tk::dialog::file::chooseDir:: {args} { } ``` This will lead to the following warnings: ``` QGDict::hashAsciiKey: Invalid null key .../aa.tcl:9: warning: Illegal member name found. ``` this is due to the fact that the procedure name definition ends with `::` and thus actually has an empty procedure name (this is legal in TCL). (see also: https://stackoverflow.com/questions/58683103/meaning-of-a-proc-name-ending-with). In case of an empty name the last component is taken for the name too.
* | | | issue #7302: Determination of anonymous is too restrictiveDimitri van Heesch2019-11-0515-92/+82
|/ / /
* | | Changed implementation to use SkipString/SkipStringS.Dimitri van Heesch2019-11-021-6/+10
| | |
* | | Merge branch 'feature/bug_code_string' of ↵Dimitri van Heesch2019-11-021-0/+6
|\ \ \ | | | | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_code_string
| * | | Code highlighting.albert-github2019-10-101-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case we have an example like (based on issue #7302): ``` /// @file /// Something template <char C> struct one { }; /// The struct single_009 the char struct single_009 : one<' '> { }; /// The struct single_010 the char struct single_039 : one<'\''> { }; /// The struct single_040 the char ( struct single_040 : one<'('> { }; /// The struct single_041 the char ) struct single_041 : one<')'> { }; /// The struct single_042 the char * struct single_042 : one<'*'> { }; struct single_058 : one<':'> { }; /// The struct single_059 the char ; struct single_059 : one<';'> { }; /// The struct single_060 the char < struct single_060 : one<'<'> { }; /// The struct single_061 the char = struct single_061 : one<'='> { }; /// The struct single_062 the char > struct single_062 : one<'>'> { }; /// The struct single_063 the char ? struct single_063 : one<'?'> { }; ``` The result is that in the code section there are no links to the structs 41, 61, 62 as the `(` and `<` block it till the corresponding `)` and `>` is found. Analogous problem for the double quote version.
* | | | Merge pull request #7323 from albert-github/feature/bug_empty_html_tagDimitri van Heesch2019-11-021-18/+26
|\ \ \ \ | | | | | | | | | | Skip empty HTML tag
| * | | | Skip empty HTML tagalbert-github2019-10-151-18/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to the fact that an empty HTML tag (like `<strike/>` is seen as a start tag the rest of a documentation block is handled with the strikethrough. Same problem occurs for other tags as well, in most cases empty HTML tags should be left out of the output (and just give the warning about the empty tag). Mentioned example: ``` /** Before a strike: <strike/> after strike */ void fie_b_strike(void); ```
* | | | | Merge pull request #7364 from albert-github/feature/issue_7358Dimitri van Heesch2019-11-021-1/+1
|\ \ \ \ \ | | | | | | | | | | | | issue #7358: Ternary conditional and null-coalescing operator in constructor results in faulty warning
| * | | | | issue #7358: Ternary conditional and null-coalescing operator in constructor ↵albert-github2019-10-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | results in faulty warning Problem due to the implementation of "Support for C# nullable types (Origin: bugzilla #638606)" (issue #4064, pull request #645). The used condition was a bit to stringent so later on the function was not recognized as constructor.
* | | | | | Removing left over debug statementsalbert-github2019-11-012-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | Removing some leftover debug statements from38f1441dc329e72ba4c782fdc721ce5199e01a67 and 6216208b0a4288a41450e4d37226f0e4c492128c
* | | | | | Merge branch 'master' into feature/bug_param_missing_warnDimitri van Heesch2019-11-0170-3932/+2833
|\ \ \ \ \ \