Commit graph

862 commits

Author SHA1 Message Date
albert-github
f24f5b8d2d issue #10726 Error in processing Fortran file with character string returning function
sonarcloud: Remove this empty statement.
2024-03-11 14:20:29 +01:00
albert-github
afd34bed00 issue #10726 Error in processing Fortran file with character string returning function
Define some standard Fortran words (starting with a `C`) that should not trigger as start of a fixed form comment line.
2024-03-11 14:00:04 +01:00
Dimitri van Heesch
9312abbf9a
Refactoring: replace BufStr with normal std::string 2024-02-25 15:20:02 +01:00
Dimitri van Heesch
88b17f4084
issue #10639 template instantiation generates warning: no matching class member found for 2024-02-24 12:15:45 +01:00
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
2447842733 Refactoring: Fixing warnings like: Use the "nullptr" literal (2)
Fixing sonar cloud warnings like: Use the "nullptr" literal
2024-02-19 20:33:16 +01:00
Dimitri van Heesch
a3285f73c8
Performance optimisations for functions on the critical path
- for `SymbolResolver` using `std::vector` to keep track of visited keys is
  faster than using `std::set` (because of a typical small container size)
- `computeQualifiedIndex()` was called very frequently, so optimizing the code
  helps.
2024-02-18 21:16:46 +01:00
Dimitri van Heesch
88dd1ae1b6
issue #10640 copydoc on template function causes warning: @copybrief or @copydoc target not found 2024-02-18 13:29:09 +01:00
Dimitri van Heesch
e477e70f22
issue #10656 Protected types inherited documentation does not extend template instantiation past first level of inheritance 2024-02-16 20:54:47 +01:00
Dimitri van Heesch
aa744b4ccc
Restructured the code a bit
- 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
2024-02-11 14:23:34 +01:00
Dimitri van Heesch
dba1577cce
issue #10582 Problem matching arguments of functions (parameter matching on function pointers) 2024-01-28 16:23:45 +01:00
albert-github
da2492757e Show emoji in HTML treeview
After review, spelling corrections
2024-01-27 10:31:41 +01:00
albert-github
d184092c1b Show emoji in HTML treeview
Show emoji in the HTML treeview as emoji and not as  text
2024-01-22 19:03:55 +01:00
Dimitri van Heesch
dc6385cd13
issue #10559 \ref fails to resolve reference to a member of a struct nested in a class template specialization (C++) 2024-01-20 20:57:31 +01:00
Dimitri van Heesch
db523de714
issue #10559 \ref fails to resolve reference to a member of a struct nested in a class template specialization (C++) 2024-01-18 21:12:32 +01:00
Dimitri van Heesch
cc40991905
Replace 0 terminated array by std::vector 2024-01-16 20:24:01 +01:00
Dimitri van Heesch
797f94f92b
Merge branch 'feature/bug_srclangext_enum_class' of https://github.com/albert-github/doxygen into albert-github-feature/bug_srclangext_enum_class 2024-01-16 20:02:47 +01:00
Dimitri van Heesch
f4e3751432
Refactoring: using std::string_view for the internal Markdown processing functions 2024-01-14 20:24:06 +01:00
albert-github
8a32a9a687 Make SrcLangExt an enum class
Remove 2 sonarcloud messages
2024-01-14 17:31:39 +01:00
albert-github
0d4551b78a Make SrcLangExt an enum class
Make `SrcLangExt` an `enum class` so no no numbers can be used..
2024-01-14 16:30:55 +01:00
Dimitri van Heesch
ca615835cc
Refactoring: Avoid creating QCString from 0 pointer.
To prepare to migrate from QCString to std::string, 0 pointer initialization
should be avoided as this is undefined behavior for std::string.
2024-01-05 10:59:51 +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
3a40ec2df7
Refactoring: make QCString::length() return size_t type 2023-12-26 09:49:59 +01:00
Dimitri van Heesch
97618c3a50
Refactoring: QCString::resize
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)
2023-12-25 14:32:24 +01:00
Dimitri van Heesch
0e92a0c1b0
Allow optional width= and height= specifiers for PROJECT_LOGO 2023-12-18 20:56:40 +01:00
Dimitri van Heesch
7fc4bce2bf
issue #10473 doxygen hangs forever after "Building directory list..." 2023-12-15 21:24:23 +01:00
Dimitri van Heesch
f1cb5def27
issue #10449 \include{doc} ignores EXAMPLE_PATH 2023-12-03 15:36:45 +01:00
Dimitri van Heesch
36735cd707
issue #10449 \include{doc} ignores EXAMPLE_PATH
Relaxed the requirement that, when EXAMPLE_PATH is not set, only
an absolute path is resolved. If a relative path from where doxygen is
run exists, this is now also accepted. Works for \include and
\include{doc} equally.
2023-12-03 15:25:41 +01:00
Dimitri van Heesch
627ee6dcb3
issue #10449 \include{doc} ignores EXAMPLE_PATH 2023-12-03 13:55:57 +01:00
Dimitri van Heesch
332323e611
Added const to a couple for references 2023-11-25 13:42:18 +01:00
Dimitri van Heesch
52811731a3
issue #10395 Doxygen link generation does not find concepts unless complete path is specified 2023-11-11 14:38:43 +01:00
Dimitri van Heesch
9b5d3a8bbe
Fixed shadowing warning on older compilers 2023-11-09 20:29:45 +01:00
Dimitri van Heesch
7868f44d4f
Fix potential crash introduced by 83739289f7 2023-11-09 20:25:40 +01:00
Dimitri van Heesch
83739289f7
issue #10349 Autolinks to functions point to the struct with the same name 2023-11-05 13:26:28 +01:00
Dimitri van Heesch
847e2f02e7
Added option HTML_PROJECT_COOKIE
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.
2023-11-01 22:12:47 +01:00
Dimitri van Heesch
2f3a72e836
Javascript persistency improvements
- Use session storage for Chromium based browsers when using session cookies for Firefox.
- Store per project cookies (based on PROJECT_NAME + PROJECT_NUMBER setting in the config file)
2023-10-31 21:14:40 +01:00
albert-github
907c56ee40 More consistent warning messages
In the jabref-5.11 package we see a few, less consistent warning messages like:
```
.../jabref-5.11/src/main/java/org/jabref/gui/fieldeditors/URLUtil.java:140: warning: reached end of file while inside a 'code' block!
The command that should end the block seems to be missing!
```
i.e. warning distributed over multiple lines

and
```
.../jabref-5.11/docs/code-howtos/openoffice/code-reorganization.md:20: warning: image file name layers-v1.svg is ambiguous.
Possible candidates:
   E:/Fossies/jabref-5.11/docs/code-howtos/openoffice/layers-v1.svg
   E:/Fossies/jabref-5.11/docs/images/layers-v1.svg

```
- empty line at the end
- no single quotes around `layers-v1.svg`
- indentation by 3 instead of 2 spaces
2023-10-23 11:19:13 +02:00
Dimitri van Heesch
d788d9d88a
Regression fix broken link to source code when CREATE_SUBDIRS is enabled 2023-10-15 11:37:41 +02:00
Dimitri van Heesch
67591cb731
Fix link generation done by createHtmlUrl(). 2023-10-07 19:31:34 +02:00
Dimitri van Heesch
66e3e94112
Reduce code duplication 2023-10-07 16:12:00 +02:00
Dimitri van Heesch
afc902a24a
Merge pull request #10345 from albert-github/feature/bug_project_icon
Add project icon to HTML output
2023-10-06 19:44:49 +02:00
Dimitri van Heesch
19012e55ce
Improve snippet handling 2023-10-06 19:20:11 +02:00
albert-github
7b183c64a4 Add project icon to HTML output
Add the possibility for a prject icon to the HTML output, this is typically shown in the tabs of a HTML browser.
2023-10-05 18:30:17 +02:00
Sebastian Javier D'Alessandro Szymanowski
0268ceef25 Add missing C++20 module file extension
Signed-off-by: Sebastian Javier D'Alessandro Szymanowski <sdalessandro@fi.uba.ar>
2023-09-18 22:20:50 -03:00
Dimitri van Heesch
1108dde1ce
Reduce code duplication 2023-09-18 21:25:29 +02:00
Dimitri van Heesch
c253bfefc1
Merge branch 'feature/bug_python_virtual_2' of https://github.com/albert-github/doxygen into albert-github-feature/bug_python_virtual_2 2023-09-18 20:55:49 +02:00
Dimitri van Heesch
13ca294191
Refactoring: Wrap Entry::section in type safe class EntryType 2023-09-17 22:44:55 +02:00
albert-github
23bf5de384 Warning about internal doxygen inconsistency for python packages (2)
In the Ansible package (through Fossies) we get warnings like:
```
.../lib/ansible/module_utils/facts/virtual/base.py:27: warning: Internal inconsistency: scope for class ansible::module_utils::facts::virtual ::base::Virtual not found!
```
Due to the naming of python the classes in doxygen it is possible that those names will contain reserved names as the path is used in the identification of the class (here virtual).

When `::` is directly in front or after of the word it is a class name and no space should be appended.

A first attempt to get was made by means of #10290 though this had problems with the `operator` keyword as noted in #10304 and had to be reverted.
2023-09-16 17:56:38 +02:00
Dimitri van Heesch
242a9a69a4
Merge branch 'master' into feature/issue_10304 2023-09-15 20:49:58 +02:00
albert-github
fd97948879 Correcting count for volatile when checking redundant white space
Correcting count for volatile
2023-09-14 11:16:20 +02:00