summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
Commit message (Collapse)AuthorAgeFilesLines
* issue #7973: C++ grouped functions in namespace have disapeardDimitri van Heesch2020-08-241-30/+42
| | | | | - reverted some of the change that introduced the problem - fixed the original problem (#7216) in a different way
* Improvement of line count for e.g. warningsalbert-github2020-08-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When having a file like (but extended example based on a problem found in CGAL where line numbers were a bit off): ``` /*! The <hr2> class `Face_filtered_graph` is an adaptor that creates a filtered view of a graph */ struct Face_filtered_graph_no_det { /*! * \brief constructs an empty face filtered graph (no face is selected) * * * * * * * * * <table class="params"> * something * something * </table> * * * * * * * * * <table class="params"> * something * something * </table> */ Face_filtered_graph_no_det(); } ``` we get: ``` .../no_det.h:1: warning: Unsupported xml/html tag <hr2> found .../no_det.h:5: warning: expected <tr> tag but found TK_LNKWORD token instead! .../no_det.h:17: warning: expected <tr> tag but found TK_LNKWORD token instead! ``` instead of: ``` .../no_det.h:1: warning: Unsupported xml/html tag <hr2> found .../no_det.h:14: warning: expected <tr> tag but found TK_LNKWORD token instead! .../no_det.h:26: warning: expected <tr> tag but found TK_LNKWORD token instead! ``` Line counting is in an interpreter, especially when merging blocks etc.) a difficult situation. - `util.cpp`: `\ilinebr` is an internal newline, but the line count should not be increased - `commentscan.l` - put empty lines in output as well otherwise they are missing in the line count - don't insert `\n` to separate blocks, but use the artificial `\ilinebr` - properly initialize the `docLine` (important for examples were at the beginning of the block there are a number of newlines
* issue #7951: Doxywizard 1.8.19 (Windows): Source code directory seems to be ↵Dimitri van Heesch2020-08-101-2/+2
| | | | ignored
* Refactoring: changed QValueList to std::vector for template engineDimitri van Heesch2020-08-061-1/+2
|
* New option allowing processing using multiple threadsDimitri van Heesch2020-08-051-4/+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.
* Merge branch 'albert-github-feature/bug_py_empty_comment'Dimitri van Heesch2020-08-051-0/+49
|\
| * Moved stripIndentation() to util, make it safe for empty inputDimitri van Heesch2020-08-051-0/+49
|/
* issue #7727: warning: documented symbol `static bool (long-winded C++ type)' ↵Dimitri van Heesch2020-08-041-64/+32
| | | | was not declared or defined.
* issue #7881: More flexible and correct detection of direction of an argument ↵Dimitri van Heesch2020-07-311-1/+1
| | | | (another fix)
* issue #7881: More flexible and correct detection of direction of an argument ↵Dimitri van Heesch2020-07-301-7/+10
| | | | (fix)
* Simplified extractDirection()Dimitri van Heesch2020-07-301-20/+4
| | | | Also fixed bug preventing direction to be stripped from the parameter documentation.
* Merge branch 'feature/bug_direction' of ↵Dimitri van Heesch2020-07-301-4/+19
|\ | | | | | | https://github.com/albert-github/doxygen into albert-github-feature/bug_direction
| * More flexible and correct detection of direction of an argumentalbert-github2020-06-281-4/+19
| | | | | | | | | | | | | | | | | | | | | | | | In the current version a line like: ``` uint8_t innInstances, ///< [inn]Number of CIP node instances. ``` was seen as an input parameter. Also not all combinations were checked (`[inout]` was OK but `[outin]` wasn't although `[in,out]` and `[out,in]` were working in the tokenizer. Line up the detection of the direction between the tokenizer and the method `extractDirection` Note: this problem was found when working on #7879.
* | Better handling of \\ilinebrDimitri van Heesch2020-07-281-6/+9
|/ | | | | | | - Routines to strip leading and trailing whitespace now also take \\ilinebr into account - Added a number of cases in doctokenizer.l where \\ilinebr wasn't handled yet.
* Don't crash if output subdirectories already existtttapa2020-06-181-4/+8
| | | See doxygen/doxygen#7860
* Multi-threaded parsing: added locks around global dataDimitri van Heesch2020-06-171-18/+20
|
* Refactor: modernize markdown and make it thread-safeDimitri van Heesch2020-06-161-2/+4
|
* Incorrect label in map of dot files in xhtml (#7840)albert-github2020-06-131-0/+10
| | | | | | | When a filename of a file starts with a digit the mapping of the resulting dot files results in message like: ``` Syntax of value for attribute id of map is not valid ``` an id cannot start with a digit, so an "a" is placed in front of it (unconditionally to overcome problems with a double label id i.e filename 087.cpp and a087.cpp).
* Catch all wrong mkdir calls (coverity)albert-github2020-06-121-2/+8
| | | | | - Always catch the output of `mkdir` - corrected an incorrect message (context.cpp)
* Refactor: modernize configuration valuesDimitri van Heesch2020-06-041-31/+21
|
* Added experimental multi-thread input processing support.Dimitri van Heesch2020-05-311-4/+14
| | | | | 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!
* Issue #7804 String double quotes in C get misinterpreted by pdflatexalbert-github2020-05-271-0/+1
| | | | The `"` quote is in some LaTeX language packages redefined to be used to create a umlaut / umlaut / tréma and in normal running text they have to replaced / escaped,
* Reduce use of WIN32 defines outside of portableDimitri van Heesch2020-05-161-19/+10
|
* RefactoringDimitri van Heesch2020-05-151-126/+0
| | | | | | | | | | | - 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
* issue #7762 C# mode completely brokenalbert-github2020-05-091-0/+2
| | | | In case a `#` is used in the path this is not escaped and this gives a problem in label names for LaTeX and in file references for HTML>
* Refactoring: size_t type conversions and QList in DotManagerDimitri van Heesch2020-05-021-1/+1
|
* Refactoring: Introduce type names for commonly used container typesDimitri van Heesch2020-05-011-2/+2
|
* Refactoring: modernize g_inputFiles and the parameters of readFileOrDirectoryDimitri van Heesch2020-04-301-1/+1
|
* Refactoring: replace Doxygen::namespaceAliasDict by Doxygen::namespaceAliasMapDimitri van Heesch2020-04-291-10/+14
|
* Refactor: improve encapsulation for ArgumentListDimitri van Heesch2020-04-251-9/+9
|
* Fixes missing include and missing html extension logicDimitri van Heesch2020-04-251-1/+1
|
* Performance improvements after profilingDimitri van Heesch2020-04-241-71/+75
| | | | | 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.
* Changed fix as proposedDimitri van Heesch2020-04-091-5/+0
|
* Fixed shadowing issue in getFortranDefs and other shadowing casesDimitri van Heesch2020-04-091-7/+7
|
* Replaced MemberNameSDict by MemberNameLinkedMap based on LinkedMapDimitri van Heesch2020-04-081-43/+37
|
* Replaced FileNameDict/FileNameList by FileNameLinkedMapDimitri van Heesch2020-04-061-21/+17
|
* Merge branch 'remove_tcl'Dimitri van Heesch2020-03-221-3/+0
|\
| * Remove support for TCL (code is too buggy and unmaintained, language not ↵Dimitri van Heesch2020-03-151-3/+0
| | | | | | | | very popular)
* | Merge pull request #7657 from cmorty/fixmessagesDimitri van Heesch2020-03-221-304/+304
|\ \ | | | | | | Add message format-checking
| * | Fix not correctly formatted messagesMoritz 'Morty' Strübe2020-03-211-304/+304
| | |
* | | Incorrect link generated for cite and xref (#7648)albert-github2020-03-211-0/+1
|/ / | | | | Incorrect links were generated for the cite and xref commands, the link text was not translated to a RTF link label.
* | Doxygen version information (#7645)albert-github2020-03-171-1/+15
|/ | | | | - add doxygen version to rtf, comment, output - remove duplicate code (getFullVersion) - more clear name to get doxygen version (getVersion becomes getrDoxygenVersion). Also to overcomecofusion with the version information for files.
* Fixed unsigned/signed character warningsDimitri van Heesch2020-03-111-5/+5
|
* Remove dead code and fix more warningsDimitri van Heesch2020-03-081-3/+3
|
* Enabled stricter compiler warnings and fixed all new warningsDimitri van Heesch2020-03-081-491/+32
|
* Merge pull request #7612 from albert-github/feature/issue_7583Dimitri van Heesch2020-02-271-2/+7
|\ | | | | issue #7583 External Links in Inheritance Diagrams open in the Image Frame.
| * issue #7583 External Links in Inheritance Diagrams open in the Image Frame.albert-github2020-02-241-2/+7
| | | | | | | | When having a function it opens in the current frame and uses the complete frame. Images (e.g. inherited diagrams) are displayed in a small "sub frame" and when displaying the link here it is not readable and furthermore the user doesn't know anything about the "sub frame". In case of an image the link should be displayed in the parent frame of the image.
* | Merge branch 'xreflists'Dimitri van Heesch2020-02-271-32/+14
|\ \
| * | Restructure the way RefLists are handledDimitri van Heesch2020-02-271-32/+14
| |/
* | Removing warnings from doxygen internal documentationalbert-github2020-02-251-3/+3
|/ | | | Although there is not a lot of doxygen internal documentation, it still should not produce warnings.