When having the simple file:
```
\mainpage The main page
\page pg1 The first page
\section sect_1_1 first section first page
\section sect_1_2 second section first page
\page pg2 The second page
\section sect_2_1 first section second page
\section sect_2_2 second section second page
```
and doing a "normal" internal doxygen search for the word `page` we get:
```
Page
page
```
though all the words `page` are in lowercase in the text, the automatic conversion to uppercase should not take place.
When having the simple file:
```
\mainpage The main page
\page pg1 The first page
\section sect_1_1 first section first page
\section sect_1_2 second section first page
\page pg2 The second page
\section sect_2_1 first section second page
\section sect_2_2 second section second page
```
and doing a "normal" internal doxygen search for the word `second` we get a.o.
```
first section second page
The second page
second section first page
second section second page
```
but when searching for `second page` we get
```
first section second page
The second page
```
so we are missing the reference to
```
second section second page
```
this is due to the filtering of the words in the string and omitting double words.
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)
Doxygen stores a couple of settings persistently in the browser (via e.g. cookies).
By default these settings apply to all HTML pages generated by doxygen across all projects.
The HTML_PROJECT_COOKIE tag can be used to store the settings under a project specific
key, such that the user preferences will be stored separately.
Removing warnings on Windows of the form:
```
warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
```
(see also the GitHub actions)
Official support for dark mode.
- Darkmode can be controlled via the new HTML_DARKMODE option.
- LIGHT: always produce light output
- DARK: always preoduce dark output
- AUTO_LIGHT: produce light output unless the user preference says
otherwise (new default)
- AUTO_DARK: produce dark outut unless the user preference says
otherwise
- TOGGLE: allow the user to toggle between light and dark mode at run
time.
- Cleaned up the existing style sheets a bit
- Restructured the formula generator code and made it suitable for darkmode
formulas
- Changed the colors of the dot generated images a bit so they also look
ok on a black background.
- The transparency options for formulas and dot images have become
obsolete.
- Split of IndexIntf and IndexList into indexlist.h
- Used a vector of std::variant to store the indices to avoid virtual
dispatch (should allow for better compiler optimisation)
- Used dispatch_call helper to implement efficient foreach construct on the index list
(optimized version std::visit that uses switch on the
variant's index() instead of a jump table).
- replaced raw FTVNode pointer by std::shared_ptr.
- improve encapsulation of EclipseHelp object by moving details to the
implementation file
- also used the dispatch_call helper for searchindex which had a
hardcoded switch per method
Analogous to the normal page handling (see `util.cpp`, function `externalLinkTarget`) in case of `EXT_LINKS_IN_WINDOW` is set switch relevant search output to new window.