Skip to content

Commit 730aa9f

Browse files
committed
Merge branch 'master' into feature/bug_512677_trivial
# Conflicts: # addon/doxmlparser/doxmlparser/compound.py
2 parents ffcfe7d + cbd8c4b commit 730aa9f

File tree

203 files changed

+7382
-2864
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

203 files changed

+7382
-2864
lines changed

.github/workflows/build_cmake.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
}
109109
steps:
110110
- name: Checkout doxygen
111-
uses: actions/checkout@v5
111+
uses: actions/checkout@v6
112112
with:
113113
fetch-depth: 0
114114

@@ -368,7 +368,7 @@ jobs:
368368
endif()
369369
370370
- name: Archive build artifacts
371-
uses: actions/upload-artifact@v5
371+
uses: actions/upload-artifact@v6
372372
with:
373373
name: "${{ matrix.config.name }} build artifacts"
374374
path: build/bin/
@@ -417,14 +417,14 @@ jobs:
417417
endif()
418418
419419
- name: Archive html documentation artifacts
420-
uses: actions/upload-artifact@v5
420+
uses: actions/upload-artifact@v6
421421
with:
422422
name: "Html documentation artifacts"
423423
path: build/html/
424424
if: matrix.config.name == 'Ubuntu Latest GCC Release (Intel)'
425425

426426
- name: Archive Latex documentation artifacts
427-
uses: actions/upload-artifact@v5
427+
uses: actions/upload-artifact@v6
428428
with:
429429
name: "Latex documentation artifacts"
430430
path: build/latex/doxygen_manual.pdf
@@ -440,7 +440,7 @@ jobs:
440440
if (NOT result EQUAL 0)
441441
message(FATAL_ERROR "Building internal documentation failed")
442442
endif()
443-
if: matrix.config.name == 'Ubuntu Latest GCC Release (Intel)'
443+
if: ${{ github.ref_name == 'master' && github.event_name == 'push' && matrix.config.name == 'Ubuntu Latest GCC Release (Intel)' }}
444444

445445
- name: Publish Internal documentation to Github pages
446446
uses: peaceiris/actions-gh-pages@v4
@@ -449,6 +449,6 @@ jobs:
449449
external_repository: doxygen/doxygen-docs
450450
publish_dir: build/doxygen_docs/html
451451
force_orphan: true
452-
if: ${{ github.event_name == 'push' && matrix.config.name == 'Ubuntu Latest GCC Release (Intel)' }}
452+
if: ${{ github.ref_name == 'master' && github.event_name == 'push' && matrix.config.name == 'Ubuntu Latest GCC Release (Intel)' }}
453453

454454

.github/workflows/coverity.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
outputs:
2020
should_run: ${{ steps.should_run.outputs.should_run }}
2121
steps:
22-
- uses: actions/checkout@v5
22+
- uses: actions/checkout@v6
2323
- name: print latest_commit
2424
run: echo ${{ github.sha }}
2525

@@ -40,7 +40,7 @@ jobs:
4040

4141
steps:
4242
- name: Checkout doxygen
43-
uses: actions/checkout@v5
43+
uses: actions/checkout@v6
4444

4545
- name: Download Coverity
4646
run: |

.github/workflows/docker_publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ jobs:
1717

1818
steps:
1919
- name: Checkout repository
20-
uses: actions/checkout@v5
20+
uses: actions/checkout@v6
2121

2222
- name: Log in to the Container registry
23-
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef
23+
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9
2424
with:
2525
registry: ${{ env.REGISTRY }}
2626
username: ${{ github.actor }}
2727
password: ${{ secrets.GITHUB_TOKEN }}
2828

2929
- name: Extract metadata (tags, labels) for Docker
3030
id: meta
31-
uses: docker/metadata-action@318604b99e75e41977312d83839a89be02ca4893
31+
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051
3232
with:
3333
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
3434

.github/workflows/doxmlparser-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v5
15+
- uses: actions/checkout@v6
1616
- name: Set up Python
1717
uses: actions/setup-python@v6
1818
with:

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ option(enable_tracing "Enable tracing option in release builds [development]" O
3838
option(enable_lex_debug "Enable debugging info for lexical scanners in release builds [development]" OFF)
3939

4040
if(CMAKE_BUILD_TYPE STREQUAL "Release")
41-
if (CYGWIN OR MINGW)
41+
if (CYGWIN OR MINGW OR NOT "${CMAKE_TOOLCHAIN_FILE}" STREQUAL "")
4242
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION FALSE)
4343
else()
4444
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE)
@@ -92,7 +92,7 @@ if(NOT DEFINED MACOS_VERSION_MIN) # to allow overruling with -DMACOS_VERSION_MIN
9292
set(MACOS_VERSION_MIN 10.15) # needs std::filesystem
9393
endif()
9494
if(build_wizard AND CMAKE_SYSTEM MATCHES "Darwin")
95-
set(MACOS_VERSION_MIN 11.0) # needs Qt
95+
set(MACOS_VERSION_MIN 13.0) # needs Qt6
9696
endif()
9797
endif()
9898

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.16.0
1+
1.17.0

addon/doxmlparser/doxmlparser/compound.py

Lines changed: 674 additions & 16 deletions
Large diffs are not rendered by default.

addon/doxmlparser/doxmlparser/index.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -986,6 +986,7 @@ class CompoundKind(str, Enum):
986986
TYPE='type'
987987
CONCEPT='concept'
988988
MODULE='module'
989+
REQUIREMENT='requirement'
989990

990991

991992
class MemberKind(str, Enum):
@@ -1196,7 +1197,7 @@ def validate_CompoundKind(self, value):
11961197
self.gds_collector_.add_message('Value "%(value)s"%(lineno)s is not of the correct base simple type (str)' % {"value": value, "lineno": lineno, })
11971198
return False
11981199
value = value
1199-
enumerations = ['class', 'struct', 'union', 'interface', 'protocol', 'category', 'exception', 'file', 'namespace', 'group', 'page', 'example', 'dir', 'type', 'concept', 'module']
1200+
enumerations = ['class', 'struct', 'union', 'interface', 'protocol', 'category', 'exception', 'file', 'namespace', 'group', 'page', 'example', 'dir', 'type', 'concept', 'module', 'requirement']
12001201
if value not in enumerations:
12011202
lineno = self.gds_get_node_lineno_()
12021203
self.gds_collector_.add_message('Value "%(value)s"%(lineno)s does not match xsd enumeration restriction on CompoundKind' % {"value" : encode_str_2_3(value), "lineno": lineno} )

addon/doxyapp/doxyapp.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,8 @@ static void findXRefSymbols(FileDef *fd)
138138
fileToString(fd->absFilePath()),
139139
lang,
140140
FALSE,
141-
FALSE,
142-
QCString(),
143-
fd);
141+
CodeParserOptions()
142+
.setFileDef(fd));
144143
}
145144

146145
static void listSymbol(Definition *d)

addon/doxyparse/doxyparse.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ static void findXRefSymbols(FileDef *fd)
111111

112112
// parse the source code
113113
intf->parseCode(parseList, QCString(), fileToString(fd->absFilePath()), lang,
114-
FALSE, FALSE, QCString(), fd);
114+
FALSE, CodeParserOptions().setFileDef(fd));
115115
}
116116

117117
static bool ignoreStaticExternalCall(const MemberDef *context, const MemberDef *md) {

0 commit comments

Comments
 (0)