summaryrefslogtreecommitdiffstats
path: root/src/dirdef.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix issues caused by QCString::rawData and QCString::operator[]Dimitri van Heesch2021-04-261-2/+2
| | | | | - methods were marked const but still returned a non-const reference, cause wrongly optimized code for some platforms/compilers
* Refactoring: remove implicit conversion from QCString to const char *Dimitri van Heesch2021-04-221-42/+40
| | | | | | | | | | | | | | | | | This commit changes the following in relation to string use - The implicit convert from 'QCString' to 'const char *' is removed - Strings parameters use 'const QCString &' as much as possible in favor over 'const char *' - 'if (s)' where s is a QCString has been replaced by 'if(!s.isEmpty())' - data() now always returns a valid C-string and not a 0-pointer. - when passing a string 's' to printf and related functions 'qPrint(s)' is used instead of 's.data()' - for empty string arguments 'QCString()' is used instead of '0' - The copy() operation has been removed - Where possible 'qstrcmp(a,b)==0' has been replaces by 'a==b' and 'qstrcmp(a,b)<0' has been replaced by 'a<b' - Parameters of string type that were default initialized with '= 0' are no initialized with '= QCString()'
* issue #2732: Adding support for C++ concepts (Origin: bugzilla #499352)Dimitri van Heesch2021-04-081-0/+4
|
* Refactoring: Add TextStream buffer to improve output writing performanceDimitri van Heesch2021-03-281-2/+2
| | | | | - direct use of std::stringstream and std::ostream gave a 30% drop in performance.
* Refactoring: replace QFile/FTextStream with fstream/stringstreamDimitri van Heesch2021-03-181-10/+9
|
* Refactoring: modernize FileListDimitri van Heesch2021-01-221-40/+25
|
* Refactoring: modernize IncludeInfo listDimitri van Heesch2021-01-221-21/+15
|
* Refactoring: modernize LayoutNavEntry and LayoutDocEntry listsDimitri van Heesch2021-01-221-9/+3
|
* Refactoring: replace FilePairDict by FilePairLinkedMapDimitri van Heesch2021-01-221-22/+21
|
* Refactoring: moderize Doxygen::dirRelationsDimitri van Heesch2021-01-021-3/+1
|
* Refactoring: replace Doxygen::directories by Doxygen::dirLinkedMapDimitri van Heesch2021-01-011-29/+28
|
* Replaced UsedDirsContainer with UsedDirLinkedMapDimitri van Heesch2020-12-301-24/+34
| | | | | UsedDirLinkedMap is based on the LinkedMap container; this reduces the amount of unmanaged raw pointers, while still allowing quick lookup and range based loops.
* Substitute `QDict<UsedDir>` with `std::map<QCString, UsedDir * >`.David Hebbeker2020-12-291-12/+15
| | | This allows to use range based for loops.
* Refactoring: replacing dynamic_cast by static_cast to improve performanceDimitri van Heesch2020-11-131-2/+30
|
* Refactor: modernize markdown and make it thread-safeDimitri van Heesch2020-06-161-5/+10
|
* Add `const` qualifier to UsedDir::m_dir. (#7820)David Hebbeker2020-06-131-1/+1
|
* Refactor: modernize configuration valuesDimitri van Heesch2020-06-041-7/+5
|
* Did a bit of restructuring and fixed some compiler warningsDimitri van Heesch2020-05-101-10/+1
|
* Copied implementation of `QGList::inSort()` to sortInDirList.David Hebbeker2020-05-051-0/+10
|
* Replaced calls to DirDef::append() to DirDef::push_back().David Hebbeker2020-05-051-1/+1
| | | | | | There is no inSort() in current QList or std container. Thus it was replaced by the sequence of adding an item and sorting the list afterwards. (cherry picked from commit 91370bf84ac299fcb773e1b9d81e8f5c56da0725)
* Create compareDirDefs for sorting.David Hebbeker2020-05-051-1/+6
|
* Replaced DirList::count() by DirList::size().David Hebbeker2020-05-021-2/+2
| | | | (cherry picked from commit 38d38b225f1e8698e5813e16356e8929fcec1e81)
* For loops on QListIterator by range loops.David Hebbeker2020-05-021-7/+3
| | | | (cherry picked from commit 3a90e663f701e7f414d31d54264ce66d62c17976)
* Replaced FileNameDict/FileNameList by FileNameLinkedMapDimitri van Heesch2020-04-061-49/+46
|
* Enabled stricter compiler warnings and fixed all new warningsDimitri van Heesch2020-03-081-9/+7
|
* 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).
* refactoring dot.cppThomas Haller2019-06-131-0/+1
|
* Improved const correctness and added support for inline namespacesDimitri van Heesch2019-04-211-2/+2
|
* Refactored Definition and derived classes such that they are abstract interfacesDimitri van Heesch2019-02-281-33/+110
|
* Added *.ice files as a recognized file type.Mark Spruiell2018-10-221-0/+6
| | | | Added a Slice-optimized output mode.
* Include "empty" directories in the documentation if they contain a `.dox` ↵Christoph Lipka2018-04-141-2/+2
| | | | file (or similar) documenting the directory itself.
* Avoid generating unused dir_* output files for non HTML output formatsDimitri van Heesch2017-06-121-0/+6
|
* Fixup man only output to use generator state push popArtur Kink2016-09-261-1/+2
|
* For manpages remove trailing dash when no brief descriptionArtur Kink2016-09-251-1/+4
|
* Bug 763105 - Directory list is not generated in HTML outputDimitri van Heesch2016-03-191-63/+86
|
* Improved sorting performance for directories and filesDimitri van Heesch2016-01-311-5/+30
|
* Minor performance improvement sorting directoriesDimitri van Heesch2016-01-311-1/+2
|
* Changed configuration mechanism to directly access options in order to ↵Dimitri van Heesch2016-01-171-15/+15
| | | | improve performance
* Merge pull request #415 from albert-github/feature/bug_758132_1Dimitri van Heesch2015-12-031-0/+2
|\ | | | | Bug 758132 - Brief description of non documented functions
| * Bug 758132 - Brief description of non documented functionsalbert-github2015-11-221-0/+2
| | | | | | | | | | In case a function or an other item is not documented and EXTRACT_ALL has not been specified it should not appear in the list with brief description of functions etc. (This patch supersedes the patch as proposed in pull request 411 based on the comments from Dimitri van Heesch)
* | Fix computeCommonDirPrefix sometimes not finding the correct prefixTomasz Śniatowski2015-12-031-0/+1
|/ | | | | | | | | | The code in some cases would search backwards in a string starting from an offset beyond the string's length. Adjust so that doesn't happen and the code doesn't mistakenly assume there is no common dir prefix. This bug has in some scenarios led to absolute paths being used for dir_(md5).html links, making doxygen output needlessly depend on details of build-time paths.
* Added support for directory dependency graphs to template engineDimitri van Heesch2015-08-281-7/+2
|
* Merge pull request #272 from albert-github/feature/bug_unusedDimitri van Heesch2015-01-031-2/+1
|\ | | | | Remove unused local and static global variables
| * Remove unused local and static global variablesalbert-github2014-12-271-2/+1
| | | | | | | | Remove unused local and static global variables. Variables have been identified by Understand (version 758) from Scitools.
* | Fixed a couple of cases where sharing string data could lead to corruptionDimitri van Heesch2015-01-021-1/+1
|/ | | | | Also made dangerous string access more visible by introducing rawData(). This replaces data() which will now return a constant string.
* Fixed several Coverity warningsDimitri van Heesch2014-11-151-1/+1
|
* Bug 736992 - Member functions omitted from tagfileDimitri van Heesch2014-09-221-22/+47
|
* Added directory info to the contextDimitri van Heesch2014-03-011-0/+6
|
* Bug 721302 - [Latex/PDF] Merging brief and detailed description in file sectionalbert-github2014-01-011-0/+1
| | | | | | Not only for Man pages the extra returns are necessary but also for LaTeX output. The change in filedef.cpp is a direct consequence of t the bug report. The groupdef.cpp has been tested on propriety code and the namespacedef.cpp and dirdef.cpp directly follow from code similarity.
* Reduced and improved functionality of QListDimitri van Heesch2013-12-301-9/+7
| | | | | | | | | - operations on current index and node (next(), prev(), last(), first()) have been removed. - access to internal nodes has been removed. - old QList has been renamed to QInternalList for use inside qtools only. - added type safe compare, new, and delete operations (compareValues(), newValue(), deleteValue()). - add compareValues also to QDict for consistency. - changed doxygen's implementation to comply with the new QList and QDict interface.