* Fix test issues with wx.lib.introspect (#2717) * Add support for building on Windows ARM64 (#2521) * Incorporate many improvements to type stubs (#2665) * Fix building documentation with latest sphinx (#2672) * Build smaller architecture-specific wheels on macOS instead of large universal2 wheels * Calculate scroll based on child's relative position to scrolledpanel in wx.lib.scrolledpanel * Fix float -> int conversion issues in wx.lib.fancytext (#2703) * Replace deprecated NumPy type aliases * Use wx.StaticText in wx.lib.agw.hyperlink (#2686) * Implement partial support for pyproject.toml and other build process improvements * Remove use of six and most Python 2 compatibility code * Fix wxWidgets build on OpenSUSE (#558, #1067, #2422, #2532) * Fix more int conversions in wx.lib.agw.flatnotebook * Make build output reproducible * Enable overridding wx.Sizer.InformFirstDirection() (#2452) * Implement __iter__ for wxList iterator classes (fixes Python 3.13.1 issue) * Fix wx.lib.mixins.rubberband not clearing DC on redraw * Support implementing CreateBitmapBundle for custom ArtProvider * Fix float/int conversion issues in wx.lib.ogl * Include usage of wxMemoryFSHandler in webview demo * Fix crash when accessing wx.stc.StyledTextCtrl.DropTarget.Data (#2043) * Fix AuiManager pane minimizing issue * Add range field to wx.lib.agw.pygauge.PyGauge format string (#2583) * Fix pickling of wx.RealPoint (#2644) * Avoid calling FlatMenu Destroy() in a finally block (#2630) * Update wxApp.IsDisplayAvailable to work on Wayland * Fix InspectionTool crashes due to bad perspective string errors * Drop support for Python 3.8 (EOL) * Add CreateAccessible for Windows only * Added check condition to AuiManager LoadPerspective() * Fix RecursionError in platebtn bitmap getters * Add Python implementation of GetPaths (#1944) * Support Wayland GTK backend in Window.GetHandle * Refactor python only pdfviewer to support displaying pdf files where not all pages have the same size * Improve support when specifying a pre-existing toolbar as the target for the restore icon when minimizing a pane in agw.aui * Multiple bugfixes in pure python aui * pdfviewer: Add support for pymupdf renaming - remove python-3.13.1.patch OBS-URL: https://build.opensuse.org/package/show/X11:wxWidgets/python-wxPython?expand=0&rev=71
49 lines
1.9 KiB
Diff
49 lines
1.9 KiB
Diff
From 6a049ccc0ad96f25c3f7d8540b218ffe8921d8c5 Mon Sep 17 00:00:00 2001
|
|
From: Scott Talbert <swt@techie.net>
|
|
Date: Tue, 5 Dec 2023 23:42:21 -0500
|
|
Subject: [PATCH] Support building with Doxygen 1.9.7
|
|
|
|
Doxygen 1.9.7 made some changes whereby some method definitions are now
|
|
defined in separate XML files, with a "refid" that links to them. In
|
|
order to support this, we need to follow these "refids" to pick up the
|
|
method definition from the separate group XML files.
|
|
---
|
|
etgtools/extractors.py | 11 +++++++++++
|
|
1 file changed, 11 insertions(+)
|
|
|
|
diff --git a/etgtools/extractors.py b/etgtools/extractors.py
|
|
index 8c992cb14..5ae1361f9 100644
|
|
--- a/etgtools/extractors.py
|
|
+++ b/etgtools/extractors.py
|
|
@@ -62,6 +62,8 @@ def extract(self, element):
|
|
# class. Should be overridden in derived classes to get what each one
|
|
# needs in addition to the base.
|
|
self.name = element.find(self.nameTag).text
|
|
+ if self.name is None:
|
|
+ self.name = ''
|
|
if '::' in self.name:
|
|
loc = self.name.rfind('::')
|
|
self.name = self.name[loc+2:]
|
|
@@ -1574,12 +1576,21 @@ def addElement(self, element):
|
|
extractingMsg(kind, element)
|
|
for node in element.findall('sectiondef/memberdef'):
|
|
self.addElement(node)
|
|
+ for node in element.findall('sectiondef/member'):
|
|
+ node = self.resolveRefid(node)
|
|
+ self.addElement(node)
|
|
|
|
else:
|
|
raise ExtractorError('Unknown module item kind: %s' % kind)
|
|
|
|
return item
|
|
|
|
+ def resolveRefid(self, node):
|
|
+ from etgtools import XMLSRC
|
|
+ refid = node.get('refid')
|
|
+ fname = os.path.join(XMLSRC, refid.rsplit('_', 1)[0]) + '.xml'
|
|
+ root = et.parse(fname).getroot()
|
|
+ return root.find(".//memberdef[@id='{}']".format(refid))
|
|
|
|
|
|
def addCppFunction(self, type, name, argsString, body, doc=None, **kw):
|