summaryrefslogtreecommitdiffstats
path: root/src/pycode.l
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring: modernize MemberListDimitri van Heesch2021-01-221-1/+1
|
* Refactoring: replace MemberSDict by MemberLinkedRefMapDimitri van Heesch2021-01-041-7/+7
|
* Protect mutable access to members in code generators with mutexesDimitri van Heesch2020-11-281-0/+9
|
* Issue #8206: Incorrect XHTML resultsDimitri van Heesch2020-11-271-3/+2
| | | | | | | | | | | | Changes: - Change TooltipManager back into a singleton - Give the OutputList object a unique output id - Increment the id at each startFile() atomically - Pass the id to the HTML code generator - Store tooltips per output id. - Keep track of tooltips that are already written for a given id - for output formats other than HTML the output id is 0 and tooltips are not collected and written
* Refactoring: replacing dynamic_cast by static_cast to improve performanceDimitri van Heesch2020-11-131-10/+10
|
* Refactoring: Introduce immutable and mutable interfacesDimitri van Heesch2020-11-091-7/+15
| | | | | | Split Definition/ClassDef/NamespaceDef/MemberDef into a immutable and mutable part Aliases are immutable, other symbols are stored using an immutable interface but can be made mutable explicitly by dynamic casting.
* Merge branch 'symbolresolver'Dimitri van Heesch2020-10-281-4/+8
|\
| * Refactoring: introduce SymbolResolver to group symbol lookup routinesDimitri van Heesch2020-10-281-4/+8
| | | | | | | | - Main goal was to avoid use of global state.
* | Merge pull request #8122 from albert-github/feature/bug_warn_lexDimitri van Heesch2020-10-241-1/+1
|\ \ | |/ |/| Remove warnings from lexers
| * Remove warnings from lexersalbert-github2020-10-201-1/+1
| | | | | | | | | | | | | | | | Remove warnings (Windows 64 bit compilation) like: ``` warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data ``` from the different lexers by making use of more consistent data types.
* | Refactoring: modernize Doxygen::symbolMapDimitri van Heesch2020-10-231-15/+3
|/
* Refactoring: modernize TooltipManager class and source reference listsDimitri van Heesch2020-10-201-5/+4
| | | | | - Tooltips are now collected per file instead of globally - Source reference lists now use STL containers
* issue #8098: Python Decorator written below @brief tag and above the ↵Dimitri van Heesch2020-10-161-0/+7
| | | | function leads to documentation error
* Refactoring: Introduce ScopedTypeVariantDimitri van Heesch2020-10-101-161/+54
| | | | | | - Avoid creating new symbol definitions while generating syntax highlighted code. - Add some locking around shared data collection (search index & tooltips) to support concurrent processing - Unify some code that was duplicated in code.l and pycode.l
* Refactoring: making pycode.l reentrantDimitri van Heesch2020-09-061-1174/+1231
|
* Enabled stricter compiler warnings and fixed all new warningsDimitri van Heesch2020-03-081-23/+30
|
* Fix compiler warnings on Windows (Visual Studio)Dimitri van Heesch2020-02-121-0/+3
|
* Split language parser into "outline parser" and "code parser"Dimitri van Heesch2019-12-031-0/+29
|
* Remove bogus flex codeDimitri van Heesch2019-11-181-9/+0
|
* 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).
* Fix typosluz.paz2019-09-281-2/+2
| | | | | | Found via ``` codespell -q 3 -S *.js,*.po,./src/translator*,*.eps,./doc/changelog.doc -L ang,ans,attribs,ba,behaviour,classe,colour,german,iff,initialise,nam,nd,que,russian,statics,te,tim,uint ```
* Consistent way to show scanner statealbert-github2019-09-051-0/+2
| | | | | 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.
* Some fixes and restructuringDimitri van Heesch2019-08-061-0/+8
| | | | | | - moved unescapeCharsInString to util.cpp - restructured flow keyword counting - make flow keyword counting work for python and fortran code as well
* Merge branch 'feature/bug_endblock_msg' of ↵Dimitri van Heesch2019-08-041-4/+4
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_endblock_msg
| * Correction warning messagealbert-github2019-06-011-4/+4
| | | | | | | | Consistency
* | Improved constness and avoid using non-const members of aliasesDimitri van Heesch2019-07-291-11/+11
|/
* Further const correctness changesDimitri van Heesch2019-05-051-2/+2
|
* Improved const correctness and added support for inline namespacesDimitri van Heesch2019-04-211-18/+18
|
* Refactored Definition and derived classes such that they are abstract interfacesDimitri van Heesch2019-02-281-5/+5
|
* 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.
* Fixed some more small memory leaksDimitri van Heesch2018-12-261-2/+4
|
* Update pycode.lArmin Müller2018-08-211-2/+2
|
* Small problems when displaying python codealbert-github2018-05-221-4/+26
| | | | | | - with was not colored (in pyscanner the KEYWORD item was not used, so removed as dead code) - incorrect handling of a 'triquote' at end of string - incorrect handling of a stringprefix followed by the end of a string
* flex: use %option instead of command line options.Adrian Negreanu2016-09-211-0/+2
|
* Python strip code commentsalbert-github2016-09-031-1/+1
| | | | | | | | | | | | | | | | In python the STRIP_CODE_COMMENTS didn't work properly, the "## /file" was not seen by the rule <*>{POUNDCOMMENT}" as the longer "<*>"#".* took precedence. Example file bb.py: ## \file # ## pyfie docu # \include aa.h # \include bb.py # \include cc.f # def pyfie(): pass
* Bug 770660 - Code snippet always shows line numbers from 1albert-github2016-09-031-8/+9
| | | | | | | | | This patch makes the handling of the \snippet and other commands consistent between the different languages (no line numbers anymore with python) and also introduces analogous to \includelineno the command \snippetlineno. Some non relevant changes: - *code.l Calculation of the end line was incorrect, in case of a snippet the end line was the number of lines of the snippet and not reltive to the start line. - *code.l made consistent over the different laguages, enabling exBlock and inlineFragment - testing/indexpage.xml in test 14 the \snippet command was used with python and giving line numbers, linenumbers are now gone (consistency)
* Determination of end of parameter listalbert-github2016-08-271-0/+4
| | | | The determination of a parameter list should not stop at a newline character.
* Bug 766464 - python: missing cross-links in sources (option SOURCE_BROWSER = ↵albert-github2016-05-161-0/+16
| | | | | | YES) Linking first element after "self" or "cls"
* Changed configuration mechanism to directly access options in order to ↵Dimitri van Heesch2016-01-171-3/+3
| | | | improve performance
* Minor change to pycode.l:codifyLinesDimitri van Heesch2015-12-261-3/+3
|
* Merge branch 'feature/bug_593642' of ↵Dimitri van Heesch2015-12-261-29/+110
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_593642
| * Bug 593642 - Python: STRIP_CODE_COMMENTS Doesn't work within the source codealbert-github2015-12-251-29/+110
| | | | | | | | In case STRIP_CODE_COMMENTS is set the doxygen specific comment is stripped from the output.
* | Bug 735152 - Python: Allow undocumented "cls" parameter for class methodsalbert-github2015-12-261-0/+8
|/ | | | Made 'cls' parameter analogous to the 'self' parameter. See also https://www.python.org/dev/peps/pep-0008 (paragraph: Function and method arguments)
* Fixed preprocessor macros for flex version checklameventanas2015-11-251-1/+1
|
* Support flex-2.6.0Dimitri van Heesch2015-11-221-1/+1
|
* Support flex-2.6.0Heiko Becker2015-11-221-1/+1
| | | | | | The version checks only considered YY_FLEX_SUBMINOR_VERSION and did not take YY_FLEX_MINOR_VERSION into account, which made them fail with flex-2.6.0.
* drop #include <unistd.h>Adrian Negreanu2015-05-151-2/+2
| | | | Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
* Bump copyright yearDimitri van Heesch2015-02-261-1/+1
|
* Remove unused local and static global variablesalbert-github2014-12-271-1/+0
| | | | Remove unused local and static global variables. Variables have been identified by Understand (version 758) from Scitools.
* Updated copyrightDimitri van Heesch2014-02-111-1/+1
|