summaryrefslogtreecommitdiffstats
path: root/src/code.l
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Merge remote-tracking branch 'doxygen/master'Joe George2018-11-021-0/+1
|\
| * Merge pull request #6470 from albert-github/feature/issue_6469Dimitri van Heesch2018-10-271-0/+1
| |\ | | | | | | Issue 6469: Java method calls are ignored in generating call/caller graph with Graphviz
| | * Issue 6469: Java method calls are ignored in generating call/caller graph ↵albert-github2018-08-291-0/+1
| | | | | | | | | | | | | | | | | | with Graphviz Added possibility for `List<String> list = new ArrayList<>();` and `List<String> list = new ArrayList<String>();` i.e. the `<...>` in the `new` part
* | | Added *.ice files as a recognized file type.Mark Spruiell2018-10-221-2/+2
|/ / | | | | | | Added a Slice-optimized output mode.
* | Bug 749049 - Doxygen not creating call graphs for C# methods if namespace ↵albert-github2018-10-201-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | contains the classname Problem is the '.' in the namespace name. For Csharp: namespace N1.n2 { is equivalent to namespace N1 { namespace N2 { This splitting has to be considered in the scanner so the different namespaces are mentioned. In the code.l the '.' was not handled.
* | Merge pull request #6489 from albert-github/feature/bug_cs_using_linkDimitri van Heesch2018-09-231-1/+1
|\ \ | | | | | | Don't link to non existing / not accessible namespaces , in CSharp, in the source code
| * | Don't link to non existing / not accessible namespaces , in CSharp, in the ↵albert-github2018-09-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | source code In the following the 'test' and 'System' were linked in the source code, this should not be the case. using test; using System; using System.IO; namespace NON { }
* | | Merge branch 'master' of github.com:doxygen/doxygenDimitri van Heesch2018-09-101-1/+3
|\ \ \ | |/ /
| * | 'self' keyword in PHP documentationalbert-github2018-08-061-1/+3
| |/ | | | | | | In PHP the word `self` was not color coded and the functions were nor referenced in the CALL / CALLER graphs, / REFERENCES / REFERENCED lists.
* | Changed state guard instead of adding pattern check+rejectDimitri van Heesch2018-09-101-8/+1
| |
* | Bug 634830 - Automatic links don't work correctly with operator< and operator<=albert-github2018-08-111-0/+7
|/ | | | | A longer match was chosen by 'lex' resulting in that 'operator<' and 'operator<=' and the first argument were not correctly linked and color coded. We now test if the "operator" match is present, if so we use the right rule for operator.
* Moved duplicated code into dedicated function skipLanguageSpecificKeywordDimitri van Heesch2018-07-301-4/+9
|
* Bug 734820 - "remove" is treated as a keyword (green) in the source browser ↵albert-github2018-07-261-4/+4
| | | | | | for C++ Removed "remove" as keyword for C type of languages.
* Bug 727103 - Misparsed comments leading to missing call graphalbert-github2018-05-121-0/+3
| | | | | | Handling comment block in scanner.l and code.l in an analogous way. The problem is caused by a non terminated comment bock in a comment block. It is strongly advised not to use comment blocks inside other comment blocks and otherwise fix the message.
* Merge pull request #677 from albert-github/feature/bug_743539Dimitri van Heesch2018-04-221-0/+1
|\ | | | | Bug 743539 - Field with name "internal" confuses documentation builder.
| * Merge branch 'master' into feature/bug_743539Dimitri van Heesch2018-04-221-0/+6
| |\
| * | Bug 743539 - Field with name "internal" confuses documentation builder.albert-github2018-03-061-0/+1
| | | | | | | | | | | | internal is not a Java reserved word / keyword but was handled as such.
* | | Merge pull request #681 from albert-github/feature/bug_794509Dimitri van Heesch2018-04-221-1/+1
|\ \ \ | |_|/ |/| | Bug 794509 - c# see langword broken
| * | Bug 794509 - c# see langword brokenalbert-github2018-03-231-1/+1
| |/ | | | | | | | | - code.l: The word 'null' was not recognized as reserved word - docparser.l The attribute 'langword' should not generate a link but the 'langword' value as code.
* | Bug 611240 - C# keywords 'get' and 'set' are highlighted as reserved words ↵albert-github2018-02-281-0/+6
|/ | | | | | in C++ documentation source browser. In case of Cpp don't see 'get' and 'set' as keywords, but in case the keyword rule is used REJECT the rule and give other rules a chance (e.g. the function rule).
* More typosluz.paz2018-01-041-1/+1
|
* add the number of conditionals path and bugfixJoenio Costa2017-06-281-2/+52
| | | | | | | | | | | | | * Rebased with upstream master * Added build instructions to README * Bug 398942 - fixes the problem with instance variables and arguments with the same name Signed-off-by: Antonio Terceiro <terceiro@softwarelivre.org> Signed-off-by: João M. Miranda <joaomm88@gmail.com> Signed-off-by: Paulo Meirelles <paulo@softwarelivre.org> Signed-off-by: Vinicius Daros <vkdaros@mercurio.eclipse.ime.usp.br> Signed-off-by: Jonathan Moraes <arkyebr@gmail.com>
* Function declaration following a function definition incorrectly listed as ↵Dimitri van Heesch2017-04-021-11/+1
| | | | calling dependencing
* Merge pull request #521 from albert-github/feature/bug_722112Dimitri van Heesch2016-09-211-1/+7
|\ | | | | Bug 722112 - 'static' and 'throw' C++ keywords not colored
| * Bug 722112 - 'static' and 'throw' C++ keywords not coloredalbert-github2016-09-111-1/+7
| | | | | | | | In case we don't specify a name with a type in the prototype of a function the type is still stored and should be moved to the type/
* | flex: use %option instead of command line options.Adrian Negreanu2016-09-211-0/+2
| |