- Keeps "value" and "override" bool together override + apply functions
- Packs booleans together using bitfields to reduce memory footprint
- Fixes issue with applying the correct default value when no overrules are given
- Reduce code duplication
Implemented an explicit / implicit switch so the last explicit setting of `\inheritancegraph / `\hideinheritancegraph` will be used.
NOTE: this is just an implementation for the inheritancegraph and when acceptable it should be extended to other "show" / "hide" constructs.
Make QCString behavior more similar to std::string
- Replace resize(0) by clear()
- Replace resize(n+1) by resize(n)
- Replace truncate(n) by resize(n)
For different graphs graphs it is possible to steer the creation process on a 1 to 1 base (commands like \callgraph and \hidecallgraph).
Introducing for the inline sources:
```
\showinlinesource and \hideinlinesource
```
For call / caller / include / included by graphs it is possible to steer the graph creation process on a 1 to 1 base (commands like \callgraph and \hidecallgraph).
Introducing for the directory graphs:
```
\inheritancegraph and \hideinheritacegraph
```
For call / caller / include / included by graphs it is possible to steer the graph creation process on a 1 to 1 base (commands like \callgraph and \hidecallgraph).
Introducing for the directory graphs:
```
\collaborationgraph and \hidecollaborationgraph
```
For call / caller / include / included by graphs it is possible to steer the graph creation process on a 1 to 1 base (commands like \callgraph and \hidecallgraph).
Introducing for the group dependency graphs:
```
\groupgraph and \hidegroupgraph
```
For call / caller / include / included by graphs it is possible to steer the graph creation process on a 1 to 1 base (commands like \callgraph and \hidecallgraph).
Introducing for the directory graphs:
```
\directorygraph and \hidedirectorygraph
```
For the `INCLUDE_GRAPH` and the `INCLUDED_BY_GRAPH` it is possible to get a warning like:
```
warning: Included by graph for 'includes.h' not generated, too many nodes (268), threshold is 250. Consider increasing DOT_GRAPH_MAX_NODES.
```
This warning is quite disruptive especially in case `WARN_AS_ERROR` is set. The only way to prevent the warning and its consequences is to increase the `DOT_GRAPH_MAX_NODES` meaning there there might be some very large graphs (also at other places) or the set `INCLUDED_BY_GRAPH=NO` meaning, potential, loosing quite a few useful graphs.
For call / caller graphs it is possible to steer the graph creation process on a 1 to 1 base (commands like `\callgraph` and `\hidecallgraph`).
Introducing for the include graphs:
- `\includegraph` and `\hideincludegraph`
- `\includedbygraph` and `\hideincludedbygraph`
Note: we needed to set in the `layout_defailt.xml`:
```
<includegraph visible="yes"/>
<includedbygraph visible="yes"/>
```
as otherwise `\includegraph`and `\includedbygraph` won't work.
This changes the variable name from 'stat' to 'isStatic'.
Otherwise the 'stat' name come into conflict with 'stat'
macro in mingw-w64 headers. This fixes the following error:
commentscan.l:3074:21: error: no member named '_stat64' in 'Entry'
yyextra->current->stat = TRUE;
~~~~~~~~~~~~~~~~ ^
The 'stat' macro is defined in sys/stat.h file in mingw-w64
like this '#define stat _stat64'
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()'
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!
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.
Analogous to call graph and caller graph this patch provides an implementation for the referenced by relation and references relation.
Providing the commands:
- referencedbyrelation
- hidereferencedbyrelation
- referencesrelation
- hidereferencesrelation
Motivation is that some lists can get extremely large and also there is now more symmetry between the textual and graphical out.