summaryrefslogtreecommitdiffstats
path: root/src/code.l
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* 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
| |\