summaryrefslogtreecommitdiffstats
path: root/src/pre.l
Commit message (Collapse)AuthorAgeFilesLines
* issue #7927: PREDEFINED fails to replace argumentDimitri van Heesch2020-08-301-15/+28
|
* Merge branch 'feature/issue_7872' of ↵Dimitri van Heesch2020-08-291-1/+1
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/issue_7872
| * issue #7872 A define containing a doxygen start of comment breaks the parseralbert-github2020-06-261-1/+1
| | | | | | | | Not only the preprocessor suffered from the "problem" but also the source code (e.g. with `SOURCE_BROWSER`) gave some strange / missing results.
* | issue #7954: The Doxygen uses too much memory (or has probably a memory ↵Dimitri van Heesch2020-08-171-20/+42
| | | | | | | | leak) (part 2)
* | issue #7954: The Doxygen uses too much memory (or has probably a memory leak)Dimitri van Heesch2020-08-161-74/+121
| |
* | New option allowing processing using multiple threadsDimitri van Heesch2020-08-051-19/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduces new option NUM_PROC_THREADS. It specifies the number threads doxygen is allowed to use during processing. When set to 0 doxygen will based this on the number of cores available in the system. You can set it explicitly to a value larger than 0 to get more control over the balance between CPU load and processing speed. At this moment only the input processing can be done using multiple threads. I plan to extend this with more parallel processing in the future. Since this is still an experimental feature the default is set to 1, which efficively disables parallel processing. Please report any issues you encounter that appear when changing the default. Note that generating dot graphs in parallel is still controlled separately by the DOT_NUM_THREADS setting.
* | issue #7934: include dependency graph: The boxes of files shows the name of ↵Dimitri van Heesch2020-07-311-2/+2
| | | | | | | | the included file not its own filename
* | issue #7890 Macro Expansion brokenalbert-github2020-07-021-2/+2
| | | | | | | | The defines from the doxygen configuration file were not taken into account du a wrong primary key.
* | Fix for compile issue on TravisDimitri van Heesch2020-06-291-1/+1
| |
* | Refactor: make preprocessor run in parallelDimitri van Heesch2020-06-281-360/+287
|/ | | | | And at the same time make sure it gives the same results as when processed using a single thread.
* Multi-threaded parsing: added locks around global dataDimitri van Heesch2020-06-171-1/+27
|
* Refactor: modernize configuration valuesDimitri van Heesch2020-06-041-12/+8
|
* Added experimental multi-thread input processing support.Dimitri van Heesch2020-05-311-1/+25
| | | | | This is disabled by default. It can be enabled by setting MULTITHREADED_INPUT to 1 in doxygen.h. Still has many data races, so don't use for anything other than development!
* Refactoring: Removed creation of MemberDef's for macro definitions from pre.lDimitri van Heesch2020-05-221-38/+28
|
* Refactoring: Introduce type names for commonly used container typesDimitri van Heesch2020-05-011-15/+12
|
* Performance improvements after profilingDimitri van Heesch2020-04-241-3/+1
| | | | | In some cases performance dropped when upgrading from version 1.8.16 to 1.8.17 or 1.8.18. With these changes the performance should be back to normal again.
* Refactoring: changed Doxygen::expandAsDefinedDict to Doxygen::expandAsDefinedSetDimitri van Heesch2020-04-181-3/+5
|
* 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-10/+5
|
* Replaced FileNameDict/FileNameList by FileNameLinkedMapDimitri van Heesch2020-04-061-4/+4
|
* Fixed issue creating std::string from null pointerDimitri van Heesch2020-03-301-10/+10
|
* Fix for compile issue on Travis-CIDimitri van Heesch2020-03-291-1/+2
|
* Migrated some code in pre.l to use STL containers (part 2)Dimitri van Heesch2020-03-291-286/+251
|
* Revert addition of std::string conversion operator for QCString (part 2)Dimitri van Heesch2020-03-291-1/+1
|
* Revert addition of std::string conversion operator for QCStringDimitri van Heesch2020-03-291-6/+6
|
* Migrated some code in pre.l to use STL containersDimitri van Heesch2020-03-281-139/+125
|
* Merge branch 'master' of github.com:doxygen/doxygenDimitri van Heesch2020-03-281-1/+3
|\
| * Merge pull request #7632 from albert-github/feature/bug_ftn_preprocDimitri van Heesch2020-03-271-1/+3
| |\ | | | | | | Fortran function definitions at begin of a line
| | * Function definitions at begin of a linealbert-github2020-03-081-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we have an Fortran source that needs preprocessing like: ``` INTEGER FUNCTION & BI() END FUNCTION BI ``` the preprocessor will output: ``` 00001 INTEGER FUNCTION & 00002 00003 END FUNCTION BI ``` we see that the function name (and argumentlist (`BI()`) are gone, resulting in the error: ``` Error in file .../test.F90 line: 4, state: 4(SubprogBody) ``` The original problem came from the `BIND` attribute (as found by Fossies in the HDF5 package), but the example has been reduced to the above example.
* | | Fix for unused variable JAVASCRIPT_LICENSE_TEXT.Dimitri van Heesch2020-03-281-8/+3
|/ /
* | Merge branch 'compilerwarnings'Dimitri van Heesch2020-03-081-40/+44
|\ \ | |/ |/|
| * Enabled stricter compiler warnings and fixed all new warningsDimitri van Heesch2020-03-081-44/+48
| |
* | Fix a number of compiler warnings in the 64bit build for WindowsDimitri van Heesch2020-03-021-6/+6
|/
* Specifying filename in preprocessor debug outputalbert-github2020-02-231-3/+3
| | | | Especially when running with `QUIET=YES` it is no clear which file is preprocessed, so the filename is added to the preprocessor debug output
* Removed Doxygen::gatherDefines as it was not used anymoreDimitri van Heesch2020-02-151-1/+0
|
* Fix compiler warnings on Windows (Visual Studio)Dimitri van Heesch2020-02-121-0/+3
|
* issue #7527: Doxygen 1.8.17: regression of C macro expansionDimitri van Heesch2020-01-251-1/+19
|
* Make commentscan.l reentrantDimitri van Heesch2019-12-301-3/+1
|
* Wrong reference to code linealbert-github2019-12-251-2/+0
| | | | The newline was handled twice and thus the prprocessor giving out too many lines, resulting in a shift in line numbers
* Merge branch 'feature/bug_config' of ↵Dimitri van Heesch2019-12-201-1/+4
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_config
| * Checking of right usage of configuration list itemsalbert-github2019-11-251-1/+4
| | | | | | | | In case of a configuration list item has an equal sign in it ('=') some extra restriction are imposed / made more understandable.
* | issue #7446: C#: parameter named `extends` is broken in the documentationDimitri van Heesch2019-12-201-1/+1
| |
* | issue #7326: Incorrect display of multiline #define valueDimitri van Heesch2019-12-141-1/+9
| |
* | Renamed Portables to PortableDimitri van Heesch2019-12-081-1/+1
| |
* | Merge branch 'memory_leakage_fix' of https://github.com/virusxp/doxygen into ↵Dimitri van Heesch2019-12-081-1/+1
|\ \ | | | | | | | | | virusxp-memory_leakage_fix
| * | Refactoring of portable.h and portable.cpp functions to be contained in a ↵Tobias Off2019-11-281-1/+1
| | | | | | | | | | | | | | | | | | namespace Fixing some memory issues caused by not correctly freed pointers
* | | Fix regression when expanding macro to an empty stringDimitri van Heesch2019-12-011-3/+4
| | |
* | | 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
| |