summaryrefslogtreecommitdiffstats
path: root/src/code.l
Commit message (Collapse)AuthorAgeFilesLines
* issue #7747 Three-way comparison operatoralbert-github2020-05-041-1/+1
| | | | Implementation of the C++2x three-way / spaceship operator.
* Undefined control sequence for formula using MathJax (#7712)albert-github2020-04-251-0/+3
| | | | | | | | | | | | | | | | | When having a code comment like: ``` @code sub postprocess { s/\(?\@xref\{(?:[^\}]*)\}(?:[^.<]|(?:<[^<>]*>))*\.\)?//g; s/\s+\(\@pxref\{(?:[^\}]*)\}\)//g; } @endcode ``` and using MathJax the `/(` is seen as a the beginning of a formula, but should be seen as text and can now lead to "Undefined control sequence". (The problem comes originally from code as generated by the doxygen-perl-filter for converting perl code in something doxygen does understand). This problem is similar to the problems solved in pull request #7697, but not handled here. This pull request will see `\(` (and its counter part `\)` as complete entities and replace them in a similar way as done in #7697 (but now in an earlier stage but the `&zwj;` will be properly filtered in the different output formats.
* Fixed shadowing issue in getFortranDefs and other shadowing casesDimitri van Heesch2020-04-091-2/+2
|
* Replaced MemberNameSDict by MemberNameLinkedMap based on LinkedMapDimitri van Heesch2020-04-081-24/+16
|
* Added missing #includesDimitri van Heesch2020-04-061-0/+4
|
* Replaced FileNameDict/FileNameList by FileNameLinkedMapDimitri van Heesch2020-04-061-10/+9
|
* Fixed sig11 regression while parsing cast to function pointerDimitri van Heesch2020-03-111-4/+4
|
* Enabled stricter compiler warnings and fixed all new warningsDimitri van Heesch2020-03-081-18/+24
|
* Fix compiler warnings on Windows (Visual Studio)Dimitri van Heesch2020-02-121-0/+3
|
* Changed std::unique_ptr<Entry> to std::shared_ptr<Entry> at avoid use after ↵Dimitri van Heesch2019-12-081-0/+4
| | | | free issues
* Added missing debug flags for scanner that were made reentrantDimitri van Heesch2019-12-051-0/+3
|
* Split language parser into "outline parser" and "code parser"Dimitri van Heesch2019-12-031-8/+6
|
* Made scanner.l reentrantDimitri van Heesch2019-12-011-1/+1
|
* Made code.l scanner reentrantDimitri van Heesch2019-11-211-2515/+2637
|
* Remove bogus flex codeDimitri van Heesch2019-11-181-10/+0
|
* Replace set of g_inside* booleans with a single g_lang variableDimitri van Heesch2019-11-181-18/+10
|
* Spelling corrections for src directoryalbert-github2019-11-051-1/+1
| | | | | | | | 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).
* 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.
* | Removed commented out lineDimitri van Heesch2019-11-011-1/+0
| |
* | Merge branch '191031/g_bracketCont' of https://github.com/cheoljoo/doxygen ↵Dimitri van Heesch2019-11-011-1/+1
|\ \ | | | | | | | | | into cheoljoo-191031/g_bracketCont
| * | bug fix of g_bracketCount in case of if( myobject.getPair() )Charles.Lee2019-10-311-1/+1
| | |
* | | Merge pull request #7353 from albert-github/feature/issue_7119Dimitri van Heesch2019-10-281-1/+1
|\ \ \ | | | | | | | | issue #7119 Doxygen does not link to C# snippets - regression
| * | | issue #7119 Doxygen does not link to C# snippets - regressionalbert-github2019-10-271-1/+1
| | |/ | |/| | | | | | | Looks like the `isLinkableIeInProject` is a bit to strict and `isLinkable` has to be used (also the original pull request #6489 still works OK).
* | | Changed ArgumentList to be an STL containerDimitri van Heesch2019-10-271-9/+5
|/ /
* | Avoid code duplication and make the keyword matching more robustDimitri van Heesch2019-09-241-9/+11
| |
* | Bug 340202 - @code: static_cast, const_cast, etc C++ keywordsalbert-github2019-09-231-1/+13
| | | | | | | | | | | | | | The `*_cast` had already been introduced, but there were some other places that needed the "REJECT" as well. Also the cast was missing a whitesace between the cast name and the `<`. Tested also against he doxygen internal documentation.
* | Reduce the use of QString in favor of the more efficient QCStringDimitri van Heesch2019-09-211-3/+2
| |
* | Consistent way to show scanner statealbert-github2019-09-051-0/+3
| | | | | | | | | | Create a consistent way to display the state mnemonics of the different scanners (analogous to the fortranscanner.l) Use an automatic procedure to generate the routine with the translation of the states to a string.
* | Merge pull request #7124 from albert-github/feature/issue_7123Dimitri van Heesch2019-08-071-13/+13
|\ \ | | | | | | issue #7123: some code line are missed in the xml file for java
| * | issue #7124: some code line are missed in the xml file for javaalbert-github2019-07-141-13/+13
| | | | | | | | | | | | | | | When already in a comment block don't reset the last comment type. Problem also occurs with e.g. C
* | | Some fixes and restructuringDimitri van Heesch2019-08-061-4/+4
| | | | | | | | | | | | | | | | | | - moved unescapeCharsInString to util.cpp - restructured flow keyword counting - make flow keyword counting work for python and fortran code as well
* | | doxyparse addon new features and bugfixesJoenio Costa2019-08-051-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this commit is a squashed merge from lots of doxyparse evolution and concentrates contributions from many authors, all listed at the end of this message as Signed-off-by follow a list of all improvements and bugfixes on doxyparse: * workarounding strings replaced by doxygen core * print missing module name for some C code (analizo/analizo#155) * do not count/print 'void' as a function argument * rough instructions for doxyparse release * limit identifiers to 1024 chars (analizo/analizo#135) * removing "\\" from function signatures (analizo/analizo#138) * fix override args references (analizo/analizo#79) * check if new_data in removeDoubleQuotes function is empty (analizo/analizo#120) * removing double quotes from function signature (analizo/analizo#117) * check if ArgumentList is null (analizo/analizo#116) * don't report same module/class more than once (analizo/analizo#112) * add missing key "defines:" to all modules (analizo/analizo#111) * check if string is larger than 1 before removing surrounding quotes (analizo/analizo#110) * doxyparse properly detects package methods * output inheritance as list instead of hash * start yaml document: --- * adding double quoted in module name (analizo/analizo#106) * added --version flag to doxyparse * removing double quotes from function arguments list * fix doxyparse segfault for python source files * using quotes to surround members definition on yaml * add the number of conditionals path * generate configvalues.h * adding .cs (csharp) as non-C file extension * adding .pyw (python) as non-C file extension * adding .py (python) as non-C file extension Signed-off-by: Antonio Terceiro <terceiro@softwarelivre.org> Signed-off-by: Henrique Dutra <hld@henriquedutra.com.br> Signed-off-by: Igor Ribeiro Barbosa Duarte <igor.ribeiro.duarte@gmail.com> Signed-off-by: João M. Miranda <joaomm88@gmail.com> Signed-off-by: Jonathan Moraes <arkyebr@gmail.com> Signed-off-by: Kleber <kleberbritomoreira10@gmail.com> Signed-off-by: leonardork <leodegolim@yahoo.com.br> Signed-off-by: Marcelo Ferreira <marcelohpf@gmail.com> Signed-off-by: Mateus Andrade <mateusandrade080@gmail.com> Signed-off-by: Matheus Miranda <matheusmirandalacerda@gmail.com> Signed-off-by: Paulo Meirelles <paulo@softwarelivre.org> Signed-off-by: Sabryna de Sousa <sabryna.sousa1323@gmail.com> Signed-off-by: Vinicius Daros <vkdaros@mercurio.eclipse.ime.usp.br> Signed-off-by: VinyPinheiro <viny-pinheiro@hotmail.com>
* | | Merge branch 'feature/bug_endblock_msg' of ↵Dimitri van Heesch2019-08-041-15/+15
|\ \ \ | | | | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_endblock_msg
| * | | Correction warning messagealbert-github2019-06-011-15/+15
| |/ / | | | | | | | | | Consistency
* | | issue 7068: "QGDict::hashAsciiKey: Invalid null key" error messages (part 4)Dimitri van Heesch2019-08-031-1/+1
| | |
* | | issue 7068: "QGDict::hashAsciiKey: Invalid null key" error messages (part 3)Dimitri van Heesch2019-08-011-5/+5
| | |
* | | Improved constness and avoid using non-const members of aliasesDimitri van Heesch2019-07-291-28/+27
| | |
* | | code.l: make CallContext independent of global variablesAdrian Negreanu2019-07-261-20/+20
|/ /
* | Merge pull request #6957 from ↵Dimitri van Heesch2019-05-211-0/+18
|\ \ | |/ |/| | | | | cfriedt/feature/cfriedt/6955/allow-javadoc-style-comment-blocks-with-a-doxyfile-variable Allow Javadoc-style comment blocks with a Doxyfile variable
| * make similar javadoc banner change for stripping special comments from codeChristopher Friedt2019-05-091-0/+18
| |
* | Add const correctness for argument listsDimitri van Heesch2019-05-051-2/+2
| |
* | Further const correctness changesDimitri van Heesch2019-05-051-3/+3
|/
* Improved const correctness and added support for inline namespacesDimitri van Heesch2019-04-211-25/+25
|
* Refactored Definition and derived classes such that they are abstract interfacesDimitri van Heesch2019-02-281-9/+9
|
* Merge pull request #6776 from albert-github/feature/bug_xhtml_tooltipDimitri van Heesch2019-02-091-5/+0
|\ | | | | Double id for tooltips in XHTML possible.
| * Double id for tooltips in XHTML Possible.albert-github2019-01-181-5/+0
| | | | | | | | The tooltips (XHTML) should not be displayed per code fragment but for the entire (output) file as otherwise tooltips might be added multiple times resulting in double IDs.
* | Remove dead codeDimitri van Heesch2019-01-211-16/+0
|/
* Minor restructuringDimitri van Heesch2018-11-181-6/+37
|