Commit graph

103 commits

Author SHA1 Message Date
albert-github
7059075d72 Refactoring: Fixing warnings like: Use the "nullptr" literal (3)
Fixing sonar cloud warnings like: Use the "nullptr" literal
Some were missed before or even not reported by sonarcloud
2024-02-20 14:43:42 +01:00
albert-github
6b70d803fe Fixing warnings like: Use the "nullptr" literal
Fixing sonar cloud warnings like: `Use the "nullptr" literal`
2023-12-26 12:50:05 +01:00
Dimitri van Heesch
6d80fc7e5d
Add support for C++20 modules 2023-08-16 16:52:56 +02:00
Dimitri van Heesch
b1f61eada8
Refectoring: make MemberVector hold non-const MemberDef pointers 2022-12-30 16:33:42 +01:00
Dimitri van Heesch
ade6104730
issue #9587: Autolinks to functions do not take effect 2022-09-18 15:05:41 +02:00
Dimitri van Heesch
35711f2d14
Fix regressions introduced by changing the way references are resolved
- grouped members where stored in the tag file without scope
- strong enum values where not linkable
2022-06-06 19:31:37 +02:00
albert-github
7b6405bd09 Don't create anchor for \name command
Do not create an anchor for a `\name` command,  the same `\name` can be used multiple times in the same file / documentation block (most notably the `\name` without a text) leading to multiple anchors with the same values.
Furthermore the anchor is internally generated by doxygen, so the user has no, natural, way to reference it.

The function `visibleMembergGroup` is not used anywheer, so obsolete and thus removed.
2022-03-20 13:09:59 +01:00
Dimitri van Heesch
446038e8e4
Refactoring: replace old style casts 2022-01-03 20:59:23 +01:00
Dimitri van Heesch
f74a0c5caf
Make generateFileDocs() process files in parallel 2021-08-24 20:36:59 +02:00
Dimitri van Heesch
58264d82ea
Refactoring: replaced MemberDef::isDetailedSectionLinkable() by hasDetailedSection()
- make filtering if detailed section is present more inline with
  contents
- split of MemberVector as simpler version of MemberList
- introduce MemberListContainer type as a replacement for inFile and
  inGroup booleans.
- improved const use a bit
2021-08-05 21:40:15 +02:00
Dimitri van Heesch
55e86052e0
Fix issues caused by QCString::rawData and QCString::operator[]
- methods were marked const but still returned a non-const reference,
  cause wrongly optimized code for some platforms/compilers
2021-04-26 19:32:20 +02:00
Dimitri van Heesch
592aaa4f17
Refactoring: remove implicit conversion from QCString to const char *
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()'
2021-04-22 19:34:13 +02:00
Dimitri van Heesch
c48639744a
Refactoring: Add TextStream buffer to improve output writing performance
- direct use of std::stringstream and std::ostream gave a 30%
  drop in performance.
2021-03-28 14:25:48 +02:00
Dimitri van Heesch
fa1897b188
Refactoring: replace QFile/FTextStream with fstream/stringstream 2021-03-18 21:57:40 +01:00
Dimitri van Heesch
cc0baded76
Refactoring: modernize MemberList 2021-01-22 21:45:19 +01:00
Dimitri van Heesch
a95ab81997
Refactoring: make setAnchors() a member of MemberList 2020-11-28 17:02:52 +01:00
Dimitri van Heesch
784313b824
Refactoring: replacing dynamic_cast by static_cast to improve performance 2020-11-13 20:43:43 +01:00
Dimitri van Heesch
075229e586
Refactoring: Introduce immutable and mutable interfaces
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.
2020-11-09 19:47:45 +01:00
Dimitri van Heesch
8578e6bead
issue #7973: C++ grouped functions in namespace have disapeard
- reverted some of the change that introduced the problem
- fixed the original problem (#7216) in a different way
2020-08-24 11:05:08 +02:00
Dimitri van Heesch
1708261ebe
Refactoring: Introduce type names for commonly used container types 2020-05-01 20:34:38 +02:00
Dimitri van Heesch
4658413ff3
Enabled stricter compiler warnings and fixed all new warnings 2020-03-08 14:31:54 +01:00
Dimitri van Heesch
aca13723a9
Restructure the way RefLists are handled 2020-02-27 22:39:20 +01:00
Dimitri van Heesch
bc17f30dd7
issue #7403: xref versus namespace in multiple file 2019-11-16 13:45:21 +01:00
Dimitri van Heesch
38f1441dc3
Replaced QList<ListItemInfo> with std::vector<ListItemInfo> 2019-10-29 22:54:24 +01:00
Dimitri van Heesch
8723f80b37
issue #7216: non-const getGroupDef() called on aliased member (cleanup + null pointer fix) 2019-08-26 20:41:47 +02:00
Dimitri van Heesch
12d999af79
issue #7216: non-const getGroupDef() called on aliased member 2019-08-25 16:12:28 +02:00
albert-github
3c3efc26e6 Correction warning message
Consistency
2019-06-01 16:01:16 +02:00
Dimitri van Heesch
2c72e1c70c
Fixed issue with counting member lists 2019-04-22 16:52:32 +02:00
Dimitri van Heesch
6216208b0a
Improved const correctness and added support for inline namespaces 2019-04-21 16:01:25 +02:00
Dimitri van Heesch
593bbe0492
Merge pull request #6834 from albert-github/feature/bug_399222
Bug 399222 - SORT_BRIEF_DOCS produces wrong results
2019-02-17 21:16:23 +01:00
Dimitri van Heesch
af363c50c6
Remove persistent storage of Entry objects 2019-02-17 12:39:58 +01:00
albert-github
1de12cd29a Bug 399222 - SORT_BRIEF_DOCS produces wrong results
Grouped brief (with `\{ ..\}` descriptions were not sorted when `SORT_BRIEF_DOCS` was set, the detailed documentation was sorted already.
2019-02-13 14:34:22 +01:00
Mark Spruiell
3a97099d5e
Added *.ice files as a recognized file type.
Added a Slice-optimized output mode.
2018-10-22 15:21:42 -04:00
Dimitri van Heesch
f37c0e58c4 Bug 768830 - Doxygen segfault (return code 134) when parsing a c++ enum class contained in a class 2016-07-31 12:47:33 +02:00
Dimitri van Heesch
790887ea3f Bug 753500 - $file when using @name is wrong 2015-09-14 19:58:04 +02:00
Dimitri van Heesch
48ced3ea80 Fixed various issues found by PVS-Studio. 2015-08-18 21:07:17 +02:00
Dimitri van Heesch
e11b487853 Bump copyright year 2015-02-26 20:39:53 +01:00
Dimitri van Heesch
312bef563a Fixed a couple of cases where sharing string data could lead to corruption
Also made dangerous string access more visible by introducing rawData().
This replaces data() which will now return a constant string.
2015-01-02 10:45:18 +01:00
Dimitri van Heesch
c6e4122657 Bug 740218 - Full scope needed when making link inside cross-referenced section 2014-11-17 20:42:40 +01:00
Dimitri van Heesch
b9ad9a03cf Bug 736992 - Member functions omitted from tagfile 2014-09-22 20:23:28 +02:00
Dimitri van Heesch
a28ff2331d Updated copyright 2014-02-11 20:20:55 +01:00
Dimitri van Heesch
6e51abf630 Reduced and improved functionality of QList
- 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.
2013-12-30 18:55:14 +01:00
Dimitri van Heesch
deaa34e0c1 Release-1.8.3.1-20130324 2013-03-24 11:51:51 +00:00
Dimitri van Heesch
dcd4714c44 Release-1.8.3.1 2013-01-20 13:31:30 +00:00
Dimitri van Heesch
fee4053bd3 Release-1.8.2-20121118 2012-11-18 21:43:28 +00:00
Dimitri van Heesch
55e5055cfb Release-1.8.1 2012-05-19 12:11:23 +00:00
Dimitri van Heesch
44ca9512aa Release-1.8.0-20120429 2012-04-29 17:51:51 +00:00
Dimitri van Heesch
34d4ace6d4 Release-1.7.6.1-20120220 2012-02-20 21:09:54 +00:00
Dimitri van Heesch
c604d141eb Release-1.7.4-20110426 2011-04-26 10:48:48 +00:00
Dimitri van Heesch
145b564516 Release-1.7.4 2011-03-28 14:10:48 +00:00