summaryrefslogtreecommitdiffstats
path: root/src/doxygen.cpp
Commit message (Collapse)AuthorAgeFilesLines
* issue #7973: C++ grouped functions in namespace have disapeardDimitri van Heesch2020-08-241-5/+6
| | | | | - reverted some of the change that introduced the problem - fixed the original problem (#7216) in a different way
* Format for size_t (in e.g. warnings)albert-github2020-08-181-1/+1
| | | | This one was a bit hidden in conditional compilation (see also #7966).
* Format for size_t (in e.g. warnings)albert-github2020-08-171-1/+1
| | | | | | | | | | | From the C standard paragraph 7.21.6.1 The fprintf function ``` z Specifies that a following d, i, o, u, x, or X conversion specifier applies to a size_t or the corresponding signed integer type argument; or that a following n conversion specifier applies to a pointer to a signed integer type corresponding to size_t argument. ```
* issue #7954: The Doxygen uses too much memory (or has probably a memory leak)Dimitri van Heesch2020-08-161-10/+10
|
* Fixed a couple of compiler warnings on LinuxDimitri van Heesch2020-08-081-5/+5
|
* Implement better solution for ThreadPool and std::packaged_taskDimitri van Heesch2020-08-061-2/+2
| | | | | | | | | | | | Careful analysis of the compilation problems with Visual Studio revealed that moving a std::packaged_task<R()> into a std::packaged_task<void()> is a bit controversal as to whether or not it is supposed to work at all or if it triggers undefined behavior. I've now implemented the second solution as suggested here: https://stackoverflow.com/a/31078143/784672 This avoid such conversion altogether and make the Threadpool class more generic again.
* Implemented workaround for Visual Studio bug in std::packaged_taskDimitri van Heesch2020-08-051-4/+6
|
* New option allowing processing using multiple threadsDimitri van Heesch2020-08-051-17/+16
| | | | | | | | | | | | | | | | | | 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.
* Replaced QDict<void> by StringUnorderedSet used to keep track of visited pathsDimitri van Heesch2020-08-021-3/+10
|
* Added configuration options to better control the sqlite3 output.Dimitri van Heesch2020-07-301-8/+12
| | | | | | | | | | | | Still requires cmake -Duse_sqlite=YES to compile in support (and libsqlite3) New configuration options available: - GENERATE_SQLITE3 enable/disable SQLITE3 output - SQLITE3_OUTPUT configure directory where output is written to (default: sqlite3) - SQLITE3_RECREATE_DB controls if existing database file is overwritten (default: YES)
* Additional tweaks to get markdown tables inside ALIASES workDimitri van Heesch2020-07-271-2/+2
| | | | | | | | | | - Changed \_linebr to \ilinebr - \ilinebr is now also passed to doctokenizer - Also fixes issue #7493 regarding \snippet inside markdown tables and dealing with wrong line on issues detected by docparser after a markdown table. - Added function tracing to markdown (enabled with -d markdown in a debug build)
* issue #7900: Incorrect warning regarding no matching class member foundDimitri van Heesch2020-07-251-1/+1
|
* Refactor: Modernize clang parser and make it run with multiple threadsDimitri van Heesch2020-07-161-87/+189
|
* Merge branch 'master' of github.com:doxygen/doxygenDimitri van Heesch2020-07-071-1/+1
|\
| * Compilation warning in debug.cppalbert-github2020-07-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | When compiling debug.cpp on a 32-bit Windows system we get the warning: ``` ...\doxygen\src\debug.cpp(121): warning C4244: 'return': conversion from '_Rep' to 'int', possible loss of data with [ _Rep=__int64 ] ``` as we only use the seconds representation of the elapsed time we can do the conversion to seconds in the Timer class.
* | Refactoring: replace QDict<void> by StringUnorderedSet for g_processedFiles ↵Dimitri van Heesch2020-07-071-17/+18
|/ | | | and g_filesToProcess
* Fixed anothing compilation issue when use_libclang was not enabledDimitri van Heesch2020-06-291-10/+8
|
* Refactor: make preprocessor run in parallelDimitri van Heesch2020-06-281-19/+26
| | | | | 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-3/+0
|
* Refactor: modernize markdown and make it thread-safeDimitri van Heesch2020-06-161-3/+6
|
* Revert pull request #7703: make declArgumentList be from declaration, and ↵Dimitri van Heesch2020-06-071-3/+3
| | | | argumentList from definition
* Issue #7831: Error building docs after 0df1623c9363d52a2b04457233dcf2c64319b03cDimitri van Heesch2020-06-051-18/+29
|
* Refactor: modernize configuration valuesDimitri van Heesch2020-06-041-132/+111
|
* Added experimental multi-thread input processing support.Dimitri van Heesch2020-05-311-40/+74
| | | | | 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-0/+35
|
* Reduce use of WIN32 defines outside of portableDimitri van Heesch2020-05-161-4/+0
|
* RefactoringDimitri van Heesch2020-05-151-3/+2
| | | | | | | | | | | - Makes doxycfg library more self contained - renames _doxygen library to doxymain - Modernizes Debug implementation - Moves Doxygen::runningTime into Debug - Moves full version string to libversion - Removed mentioning of file version in messages (when FILE_VERSION_FILTER is used) - Move substitute functions into QCString
* Merge pull request #7703 from elrond79/set_defname_if_not_protoDimitri van Heesch2020-05-101-3/+3
|\ | | | | make declArgumentList be from declaration, and argumentList from definition
| * try to make it so that argumentList is always from the definitionPaul Molodowitch2020-04-151-3/+3
| | | | | | | | ...whereas the declArgumentList is always from the declaration
* | Did a bit of restructuring and fixed some compiler warningsDimitri van Heesch2020-05-101-11/+11
| |
* | Combined logic in a single expressionDimitri van Heesch2020-05-091-3/+6
| |
* | issue #7747 Three-way comparison operatoralbert-github2020-05-041-2/+4
| | | | | | | | Implementation of the C++2x three-way / spaceship operator.
* | Refactoring: size_t type conversions and QList in DotManagerDimitri van Heesch2020-05-021-2/+6
| |
* | Refactoring: Introduce type names for commonly used container typesDimitri van Heesch2020-05-011-11/+11
| |
* | Refactoring: modernize g_inputFiles and the parameters of readFileOrDirectoryDimitri van Heesch2020-04-301-103/+131
| |
* | Refactoring: replace Doxygen::namespaceAliasDict by Doxygen::namespaceAliasMapDimitri van Heesch2020-04-291-8/+4
| |
* | Refactoring: migrate type of Doxygen::inputPaths to std::setDimitri van Heesch2020-04-291-8/+9
| |
* | Refactoring: replaced killDict by killSetDimitri van Heesch2020-04-271-29/+27
| |
* | Refactoring: migrate MemberNameInfoSDict to MemberNameInfoLinkedMapDimitri van Heesch2020-04-271-171/+155
| |
* | Refactoring: Improve encapsulation of MemberInfo classDimitri van Heesch2020-04-271-2/+2
| |
* | Fixed 2 small memory leaksDimitri van Heesch2020-04-261-16/+16
| |
* | Refactor: remove symbolStorage references (dead code)Dimitri van Heesch2020-04-251-13/+0
| |
* | Refactor: improve encapsulation for ArgumentListDimitri van Heesch2020-04-251-5/+5
| |
* | moved separate doxygen tag to tagfile attributeDimitri van Heesch2020-04-251-5/+3
| |
* | Merge branch 'feature/bug_tag_doxygen' of ↵Dimitri van Heesch2020-04-251-0/+7
|\ \ | | | | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_tag_doxygen
| * | Add doxygen version information to tag filealbert-github2020-04-201-0/+7
| | | | | | | | | | | | | | | Add doxygen version information to doxygen tag file. currently this information is not used inside doxygen , but is useful for checking with which version of doxygen is used when debugging problems.
* | | Performance improvements after profilingDimitri van Heesch2020-04-241-43/+46
|/ / | | | | | | | | 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-7/+2
| |
* | issue #7698: forward declaration of template classesDimitri van Heesch2020-04-161-20/+22
| |
* | Fix for crash in addEnumValuesToEnum() (better solution)Dimitri van Heesch2020-04-151-8/+13
|/