summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Changed std::unique_ptr<Entry> to std::shared_ptr<Entry> at avoid use after ↵Dimitri van Heesch2019-12-0820-189/+189
| | | | free issues
* Added missing debug flags for scanner that were made reentrantDimitri van Heesch2019-12-055-2/+11
|
* remove noexcept from parser interface for better portabilityDimitri van Heesch2019-12-051-1/+1
|
* Split language parser into "outline parser" and "code parser"Dimitri van Heesch2019-12-0344-705/+636
|
* Made scanner.l reentrantDimitri van Heesch2019-12-014-3334/+3377
|
* Fix regression when expanding macro to an empty stringDimitri van Heesch2019-12-011-3/+4
|
* Merge branch 'master' of github.com:doxygen/doxygenDimitri van Heesch2019-11-251-5/+10
|\
| * Merge pull request #7416 from albert-github/feature/bug_UCS_BEDimitri van Heesch2019-11-241-5/+10
| |\ | | | | | | Problem converting UCS big endian file
| | * Problem converting UCS big endian filealbert-github2019-11-221-5/+10
| | | | | | | | | | | | | | | When having a file with a Big Endian BOM this is not always handled in a correct way when using the generic UCS-2 approach, using the explicit version works well. (problems see with a gcc (SUSE Linux) 7.4.1 20190905 [gcc-7-branch revision 275407] and glibc-2.26-lp151.18.7.x86_64).
* | | Fixed preprocessor hangup regressionDimitri van Heesch2019-11-251-11/+20
| | |
* | | Fixed preprocessor issue that resulted in "More #endif's than #if's found." ↵Dimitri van Heesch2019-11-251-1/+1
|/ / | | | | | | warning.
* | Fixed endless loop during preprocessingDimitri van Heesch2019-11-241-0/+3
| |
* | Fixed line count misaligned introduced with JAVADOC_BANNERDimitri van Heesch2019-11-241-36/+38
| |
* | Cleanup scanner.l code and namingDimitri van Heesch2019-11-241-2756/+2723
|/
* 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
| | | | |