Blake-Madden and Vadim Zeitlin
8b080b8cb0
Add system color change responsiveness to ribbon
...
Add new wxRibbonArtProvider::UpdateColoursFromSystem() and implement it
in wxRibbonMSWArtProvider.
Closes #26644 .
2026-07-01 03:19:51 +02:00
Blake-Madden and Vadim Zeitlin
6c3b09b8d3
Add wxWebViewConfiguration::DisableGPUAcceleration()
...
This function may be called before creating any wxWebView objects in
case of problems due to the use of hardware acceleration.
Closes #26626 .
2026-07-01 03:17:22 +02:00
Blake-Madden and Vadim Zeitlin
9956c25c07
Add parent distribution info to wxGetOsDescription()
...
Add fields for the information about the distribution this one is based
on to wxLinuxDistributionInfo and add them wxGetOsDescription() if
available/applicable.
Closes #26641 .
2026-07-01 02:47:00 +02:00
Blake-Madden and Vadim Zeitlin
2071271018
Fix appearance of wxRibbon in dark mode ribbon under Linux/KDE
...
Under KDE, the ribbon takes a blue hue because its system gray has a
blue tint in it that gets amplified here. This balances this to look
more like how dark mode is under macOS and MSW.
Closes #26627 .
2026-06-27 19:09:01 +02:00
Blake-Madden and Vadim Zeitlin
b3dea2e64d
Don't write unnecessary auto render value to SVG output
...
Also avoid extra spaces in the output if the attribute value is empty
and so the attribute is not specified.
Closes #26620 .
2026-06-23 19:50:44 +02:00
Blake-Madden and Vadim Zeitlin
bf46cc25d7
Fix typo in wxWebView documentation
...
Closes #26619 .
2026-06-23 19:30:15 +02:00
Blake-Madden and Vadim Zeitlin
e871f1a841
Add wxWebView::PrintToPDF()
...
Add a possibility to save the page as PDF, possibly with some
non-default print settings.
Closes #26583 .
2026-06-21 18:51:38 +02:00
Blake-Madden and Vadim Zeitlin
4eb22403a5
Remove plugin interface from test_drawing
...
This was never used and doesn't seem like it ever will be.
Closes #26568 .
2026-06-16 00:02:56 +02:00
Blake-Madden and Vadim Zeitlin
9f397d5977
Fix repaint artifacts in Edge-based wxWebView
...
When an Edge-based wxWebView is a child of a more complex control and
that control is hidden and then shown again, artifacts from the old
window will appear in the web view window.
Fix this by forcing a repaint, in a non-trivial way because the native
window optimizes away most attempts to do it, whenever the window is
shown.
Closes #26566 .
2026-06-11 23:48:36 +02:00
Blake-Madden and Vadim Zeitlin
6f24da9068
Avoid events being sent to half-destroyed wxWebViewEdge
...
Ensure that the control doesn't get any size/focus events while it's
being already destroyed.
See #26566 .
2026-06-11 23:47:46 +02:00
Blake-Madden and Vadim Zeitlin
860966c1ed
Fix display issues with ribbon icons in high DPI
...
Also fix support for small button icons.
Closes #26409 .
2026-06-06 15:53:36 +02:00
Blake-Madden
23775dfda6
Use wxStrlcpy instead of wcscpy
...
This is being overly cautious since cchResult is verified above, but doesn't hurt
2026-05-25 08:08:48 -04:00
Blake-Madden
0b87887a99
Fix buffer size in characters, not bytes, for GetMenuItemInfo in dark mode menu handler
...
This is now it's done in mdi.cpp
2026-05-25 07:12:50 -04:00
Blake-Madden
b172228646
Get charset from CHARFORMAT in wxTextCtrl instead of hardcoding ANSI_CHARSET
2026-05-25 06:47:33 -04:00
Blake-Madden
4b720bb216
Replace wxStrcpy with wxStrlcpy
2026-05-25 06:35:25 -04:00
Blake-Madden
b6bfeaac49
Fix typo in UuidToCForm format string and use bounded wxSnprintf
2026-05-25 06:26:45 -04:00
Blake-Madden
313fbb08b4
Fix off-by-one buffer overflow in wxWebViewIE
...
wcscpy calling wasn't leaving space for the nul terminator
2026-05-25 06:08:59 -04:00
Blake-Madden and Vadim Zeitlin
8b430b4897
Fix user scaling in SVG sample
...
Add missing conversion to the device units for the SVG view box.
Closes #26396 .
Closes #26500 .
2026-05-23 16:40:12 +02:00
Blake-Madden and Vadim Zeitlin
ee4fbdfb88
Add getters to wxSVGAttributes, add unit tests
...
Closes #26479 .
2026-05-21 22:45:09 +02:00
Blake-Madden and Vadim Zeitlin
6d818815c8
Add accessibility support to wxSVGFileDC
...
Adds an ARIA group builder and wrapper for drawing commands within SVG
output.
Closes #26379 .
2026-04-15 02:30:09 +02:00
Blake-Madden and Vadim Zeitlin
b226c77ec2
Use unique clip/gradient IDs across all wxSVGFileDC objects
...
Unix builds / Ubuntu 18.04 wxGTK 3 compatible 3.0 (push) Has been cancelled
Unix builds / Ubuntu 24.04 wxGTK ASAN not compatible (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK UTF-8 (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxQt (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxX11 (push) Has been cancelled
Unix builds / Ubuntu 20.04 wxGTK 3 with clang (push) Has been cancelled
Unix builds / Ubuntu 22.04 wxGTK with wx containers (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxDFB (push) Has been cancelled
Unix builds / Ubuntu 24.04 wxGTK UBSAN (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK 3 static with gcc 4.8 (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK 2 (push) Has been cancelled
CMake builds / Ubuntu 22.04 wxGTK 3 (push) Has been cancelled
CMake builds / macOS latest wxGTK 3 Unix Makefiles (push) Has been cancelled
CMake builds / MSW/MSVC wxMSW (push) Has been cancelled
CMake builds / MSW/Clang wxMSW (push) Has been cancelled
CMake builds / macOS latest wxOSX Ninja (push) Has been cancelled
CMake builds / macOS 14 wxOSX Xcode (push) Has been cancelled
CMake builds / macOS 14 wxIOS (push) Has been cancelled
CMake builds / MSW/MSVC wxQt 5.15 (push) Has been cancelled
CMake builds / MSW/MSVC wxQt 6.10 (push) Has been cancelled
Mac builds / wxMac ARM ASAN not compatible (push) Has been cancelled
Mac builds / wxMac Universal C++14 (push) Has been cancelled
Mac builds / wxiOS Simulator on Silicon Mac (push) Has been cancelled
Mac builds / wxiOS (push) Has been cancelled
Mac builds / wxMac Intel C++17 (push) Has been cancelled
Mac Xcode builds / iOS Simulator static (push) Has been cancelled
Mac Xcode builds / macOS dynamic Release (push) Has been cancelled
Mac Xcode builds / iOS static Debug (push) Has been cancelled
MSW builds / wxMSW vs2022 DLL Debug x64 (push) Has been cancelled
MSW builds / wxMSW vs2022 DLL Release x64 (push) Has been cancelled
MSW builds / wxMSW vs2022 Debug Win32 (push) Has been cancelled
MSW builds / wxMSW vs2022 Release arm64 (push) Has been cancelled
MSW builds / wxMSW vs2026 DLL Release x64 (push) Has been cancelled
MSW cross-builds / wxMSW 64 bits not compatible (push) Has been cancelled
MSW cross-builds / wxMSW/Univ (push) Has been cancelled
MSW cross-builds / wxMSW 32 bits (push) Has been cancelled
Code Checks / Check Spelling (push) Has been cancelled
Code Checks / Check Whitespace (push) Has been cancelled
Code Checks / Check Mixed EOL (push) Has been cancelled
Code Checks / Check C++ Style (push) Has been cancelled
Code Checks / Check All Headers In allheaders.h (push) Has been cancelled
No Response / no-response (push) Has been cancelled
This is useful if you need to combine output SVGs as it avoids ID
clashes.
Closes #26366 .
2026-04-10 02:22:08 +02:00
Blake-Madden and Vadim Zeitlin
2dece883ff
Fix swapped clip ID and nesting level variables in SVG DC
...
m_clipUniqueId and m_clipNestingLevel were used in each other's places;
unique IDs were based on nesting level and vice versa.
2026-04-09 03:02:23 +02:00
Blake-Madden and Vadim Zeitlin
b13d5f857c
Clip rect should use no stroke, not gray
2026-04-09 03:02:10 +02:00
Blake-Madden and Vadim Zeitlin
f1d1678e62
Fix incorrect substring size when processing bitmaps.
...
Also, use replace Mid() with substr() and use constexpr and preallocate
string memory.
2026-04-09 03:00:25 +02:00
Blake-Madden and Vadim Zeitlin
38bd238d92
Fix special characters such as "&" in wxSVGFileDC title
...
Escape them to preserve the special characters.
Closes #26355 .
2026-04-06 01:37:50 +02:00
Blake-Madden and Vadim Zeitlin
7b175b92b3
Update very outdated SVG support description in the documentation
...
Say "most web browsers" instead of Netscape and don't mention Adobe any
more.
Also use HTTPS in the links.
See #26347 .
2026-04-05 18:33:19 +02:00
Blake-Madden and Vadim Zeitlin
83d3774a10
Add wxSVGFileDC::Save()
...
This function allows to check if the SVG file was written successfully.
Closes #26347 .
2026-04-05 18:30:54 +02:00
Blake-Madden
9a5b1b6d66
Fix IsOK() returning false when bitmap processing was actually successful
2026-04-04 11:57:27 -04:00
Blake-Madden
880c280c81
Add way to get generated SVG content from wxSVGFileDC
...
This can be retrieved even if the content wasn't written to a file (e.g., file name was empty in the CTORs).
2026-04-04 11:55:45 -04:00
Blake-Madden and Vadim Zeitlin
08038496d4
Document subcontrol access within wxEditableListBox
...
Closes #26326 .
2026-04-02 22:58:55 +02:00
Blake-Madden and Vadim Zeitlin
6894d4c7a2
Fix static build regression in wxGTK due to wxMoveToTrash()
...
Move this function to core library and only define it under the
platforms that implement it.
This commit is best view using Git --color-moved option.
Closes #26290 .
2026-03-17 01:19:59 +01:00
Blake-Madden and Vadim Zeitlin
f327b40d7c
Document WebKitGTK 2.42 rendering issues
...
Added note about WebKitGTK 2.42 DMA-BUF issues and workaround.
Closes #26288 .
2026-03-15 21:13:00 +01:00
Blake-Madden and Vadim Zeitlin
400780a33f
Add wxMoveToTrash function
...
Implement it for Windows, macOS and GTK.
Closes #26256 .
2026-03-13 15:58:03 +01:00
Blake-Madden and Vadim Zeitlin
d9018cdb44
Add wxRibbonMSWFlatArtProvider, a (Fluent UI like) flat theme
...
Also add some previously missing checks to other art providers and
improve their documentation.
Closes #26253 .
2026-03-13 15:47:20 +01:00
Blake-Madden and Vadim Zeitlin
82f3989c82
Add new Print function to WebView that takes printer settings
...
Implement it for Edge, GTK and macOS backends and simply fall through to
Print() without parameters for the other ones.
Closes #26239 .
2026-03-13 15:39:54 +01:00
Blake-Madden and Vadim Zeitlin
69d0c4a3ae
Edge WebView fixes
...
Use ICoreWebView2_22::
AddWebResourceRequestedFilterWithRequestSourceKinds() when available
(closes #25816 ).
Also fix memory file system issues.
Closes #25816 .
Closes #26214 .
2026-02-23 11:33:40 +01:00
Blake-Madden and Vadim Zeitlin
7a5aeaa159
Prevent wxTextEntryDialog from being resized in unexpected ways
...
Don't allow shrinking the dialog below its minimum size.
Also don't allow resizing single line entry dialogs vertically at all,
as the extra vertical space would be wasted anyhow and just makes the
dialog look bad.
Closes #25739 .
Closes #26213 .
2026-02-20 22:00:55 +01:00
Blake-Madden and Vadim Zeitlin
00d87581c0
Update wxFrame documentation for macOS style
...
Document deprecation of metallic look style on macOS.
Closes #26114 .
Closes #26119 .
2026-01-28 01:13:57 +01:00
Blake-Madden and Vadim Zeitlin
2448754ad8
Forbid mistakenly creating wxColour from bool
...
Prevent the code doing this (almost surely unintentionally) from
compiling.
This required adding overloaded ctors to avoid ambiguity for the calls
that should compile.
See #25938 .
2025-11-01 15:27:40 +01:00
Blake-Madden
fec49ff9ea
Add and use new wxCheckedStaticCast helper
2025-10-27 12:18:32 -04:00
Blake-Madden
8a8bbbe5cf
Use wxASSERT_MSG where needed
2025-10-21 20:01:32 -04:00
Blake-Madden
af620627aa
Add pointer check to suppress PREFast null deref warning
2025-10-21 19:53:56 -04:00
Blake-Madden
d6d2a39d55
When dynamic cast was used and pointer wasn't check, replace with DEBUG type check and static_cast
...
Other existing dynamic casts where return pointer was validated is left in place.
2025-10-21 19:48:30 -04:00
Blake-Madden
362f29ae2b
Undo bitmap check that didn't serve a purpose
2025-10-20 17:13:02 -04:00
Blake-Madden
ba29bc8619
Fix DeletePage when zero is given
...
Would then try to call SetActivePage with max size_t. Code is now simplified and stays within boundary of the number of pages.
2025-10-20 16:33:24 -04:00
Blake-Madden
68cf76956f
Fix wrong flag being toggled in toolbar
2025-10-20 16:30:44 -04:00
Blake-Madden
62384e2da5
Add consistent use of wxDynamicCast
2025-10-20 16:30:16 -04:00
Blake-Madden
e2581a0a15
Add bitmap and pointer validations
2025-10-20 16:29:40 -04:00
Blake-Madden
8c3ca65118
Fix wrong colors being copied and returned
2025-10-20 16:25:36 -04:00
Blake-Madden and Vadim Zeitlin
23083720a9
Fix bitmap position in wxDC::DrawLabel() in high DPI
...
Unix builds / Ubuntu 18.04 wxGTK 3 compatible 3.0 (push) Has been cancelled
Unix builds / Ubuntu 24.04 wxGTK ASAN not compatible (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK UTF-8 (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxQt (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxX11 (push) Has been cancelled
Unix builds / Ubuntu 20.04 wxGTK 3 with clang (push) Has been cancelled
Unix builds / Ubuntu 22.04 wxGTK with wx containers (push) Has been cancelled
Unix builds / Ubuntu 24.04 wxGTK UBSAN (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxDFB (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK 3 static with gcc 4.8 (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK 2 (push) Has been cancelled
CMake builds / Ubuntu 22.04 wxGTK 3 (push) Has been cancelled
CMake builds / MSW/MSVC wxMSW (push) Has been cancelled
CMake builds / MSW/Clang wxMSW (push) Has been cancelled
CMake builds / macOS latest wxOSX Ninja (push) Has been cancelled
CMake builds / macOS 14 wxOSX Xcode (push) Has been cancelled
CMake builds / macOS 14 wxIOS (push) Has been cancelled
CMake builds / MSW/MSVC wxQt 5.15 (push) Has been cancelled
CMake builds / MSW/MSVC wxQt 6.8 (push) Has been cancelled
Mac builds / wxMac ARM ASAN not compatible (push) Has been cancelled
Mac builds / wxMac Universal C++14 (push) Has been cancelled
Mac builds / wxiOS Simulator on Silicon Mac (push) Has been cancelled
Mac builds / wxiOS (push) Has been cancelled
Mac builds / wxMac Intel C++17 (push) Has been cancelled
Mac Xcode builds / iOS Simulator static (push) Has been cancelled
Mac Xcode builds / macOS dynamic Release (push) Has been cancelled
Mac Xcode builds / iOS static Debug (push) Has been cancelled
MSW builds / wxMSW vs2022 DLL Debug x64 (push) Has been cancelled
MSW builds / wxMSW vs2022 DLL Release x64 (push) Has been cancelled
MSW builds / wxMSW vs2022 Debug Win32 (push) Has been cancelled
MSW builds / wxMSW vs2022 Release arm64 (push) Has been cancelled
MSW cross-builds / wxMSW 64 bits not compatible (push) Has been cancelled
MSW cross-builds / wxMSW/Univ (push) Has been cancelled
MSW cross-builds / wxMSW 32 bits (push) Has been cancelled
Code Checks / Check Spelling (push) Has been cancelled
Code Checks / Check Whitespace (push) Has been cancelled
Code Checks / Check Mixed EOL (push) Has been cancelled
Code Checks / Check C++ Style (push) Has been cancelled
Code Checks / Check All Headers In allheaders.h (push) Has been cancelled
Use bitmap size in logical, not physical, pixels to position it
correctly.
Closes #25888 .
2025-10-19 15:59:16 +02:00
Blake-Madden and Vadim Zeitlin
3f9d34b4a1
Check that wxRibbonBar tab icon is valid before using it
...
Using invalid item resulted in an assert, avoid it by checking if it is
valid before using it.
Also avoid calling GetIcon() and GetLogicalWidth() twice in a row by
storing the result in a variable.
Closes #25881 .
Co-authored-by: Vadim Zeitlin <vadim@wxwidgets.org >
2025-10-15 22:19:44 +02:00
Blake-Madden and Vadim Zeitlin
33b289bb9b
Fix harmless unused parameter warning in wxOSX
...
Add missing WXUNUSED().
Closes #25880 .
2025-10-15 22:12:31 +02:00
Blake-Madden and Vadim Zeitlin
16f0c702c8
Expand wxDEBUG_LEVEL explanation in debugging overview
...
Expand on how wxDEBUG_LEVEL differences between library and app work.
Mention the CMake flag used to control the library's wxDEBUG_LEVEL value.
Closes #25876 .
2025-10-14 12:44:28 +02:00
Blake-Madden and Vadim Zeitlin
d0318096de
Document wxBUILD_DEBUG_LEVEL in CMake overview
...
Unix builds / Ubuntu 18.04 wxGTK 3 compatible 3.0 (push) Has been cancelled
Unix builds / Ubuntu 24.04 wxGTK ASAN not compatible (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK UTF-8 (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxQt (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxX11 (push) Has been cancelled
Unix builds / Ubuntu 20.04 wxGTK 3 with clang (push) Has been cancelled
Unix builds / Ubuntu 22.04 wxGTK with wx containers (push) Has been cancelled
Unix builds / Ubuntu 24.04 wxGTK UBSAN (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxDFB (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK 3 static with gcc 4.8 (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK 2 (push) Has been cancelled
CMake builds / Ubuntu 22.04 wxGTK 3 (push) Has been cancelled
CMake builds / MSW/MSVC wxMSW (push) Has been cancelled
CMake builds / MSW/Clang wxMSW (push) Has been cancelled
CMake builds / macOS latest wxOSX Ninja (push) Has been cancelled
CMake builds / macOS 14 wxOSX Xcode (push) Has been cancelled
CMake builds / macOS 14 wxIOS (push) Has been cancelled
CMake builds / MSW/MSVC wxQt 5.15 (push) Has been cancelled
CMake builds / MSW/MSVC wxQt 6.8 (push) Has been cancelled
Mac builds / wxMac ARM ASAN not compatible (push) Has been cancelled
Mac builds / wxMac Universal C++14 (push) Has been cancelled
Mac builds / wxiOS Simulator on Silicon Mac (push) Has been cancelled
Mac builds / wxiOS (push) Has been cancelled
Mac builds / wxMac Intel C++17 (push) Has been cancelled
Mac Xcode builds / iOS Simulator static (push) Has been cancelled
Mac Xcode builds / macOS dynamic Release (push) Has been cancelled
Mac Xcode builds / iOS static Debug (push) Has been cancelled
Code Checks / Check Spelling (push) Has been cancelled
Code Checks / Check Whitespace (push) Has been cancelled
Code Checks / Check Mixed EOL (push) Has been cancelled
Code Checks / Check C++ Style (push) Has been cancelled
Code Checks / Check All Headers In allheaders.h (push) Has been cancelled
MSW builds / wxMSW vs2022 DLL Debug x64 (push) Has been cancelled
MSW builds / wxMSW vs2022 DLL Release x64 (push) Has been cancelled
MSW builds / wxMSW vs2022 Debug Win32 (push) Has been cancelled
MSW builds / wxMSW vs2022 Release arm64 (push) Has been cancelled
MSW cross-builds / wxMSW 64 bits not compatible (push) Has been cancelled
MSW cross-builds / wxMSW/Univ (push) Has been cancelled
MSW cross-builds / wxMSW 32 bits (push) Has been cancelled
Update Documentation / Update Online Documentation (push) Has been cancelled
Closes #25870 .
2025-10-09 23:21:13 +02:00
Blake-Madden and Vadim Zeitlin
216c9b4250
Add support for reserving number of images in ribbon's image list
...
Allow optionally specifying the number of initial images in
wxRibbonBar::GetButtonImageList().
Closes #25868 .
2025-10-09 23:19:28 +02:00
Blake-Madden and Vadim Zeitlin
534f238a6a
Generic image list: use initalCount argument to reserve elements
...
This can be a decent optimization that makes use of the currently unused
parameter.
See #25868 .
2025-10-09 23:19:08 +02:00
Blake-Madden and Vadim Zeitlin
ac1dc58a2e
Document more wxRibbonBar functions
...
Add documentation for some previously undocumented member functions.
Closes #25865 .
2025-10-07 10:31:35 +02:00
Blake-Madden and Vadim Zeitlin
5de9ceb603
Clarify wxLog::SetActiveTarget()
...
Closes #25852 .
2025-10-02 21:16:32 +02:00
Blake-Madden and Vadim Zeitlin
84fddf8b92
macOS: fix warning about unused variable
...
Closes #25823 .
2025-09-23 15:04:07 +02:00
Blake-Madden and Vadim Zeitlin
8c68c1a17f
Upgrade auto-downloaded WebView2 version
...
Download 1.0.3485.44 instead of 1.0.1722.45 used before.
Also document how to update SHA256 hash in the build script.
Closes #25817 .
2025-09-20 13:24:50 +02:00
Blake-Madden and Vadim Zeitlin
a278bec2ff
Explain that clip paths don't work in NanoSVG, offer workaround
...
Closes #25805 .
2025-09-18 01:25:35 +02:00
Blake-Madden
aef78cba70
Migrate some affine matrix tests to Catch2
2025-09-08 10:55:54 -04:00
Blake-Madden
e804937586
Improve test case name
2025-09-08 10:21:57 -04:00
Blake-Madden
8b56a66aaf
Suppress -Wunused-but-set-variable warning with clang
2025-09-08 10:20:54 -04:00
Blake-Madden
1780193eab
Upgrade format unit tests to Catch2
2025-09-08 09:57:50 -04:00
Blake-Madden and Vadim Zeitlin
affc1b2da1
Initialize value to suppress false positive warning from MSVC
...
MSVC gives a "possibly uninitialized variable" warning even if this
can't happen as FromString() always fills it in if it returns true.
Initialize the variable just to avoid this warning.
Closes #25771 .
2025-09-08 14:53:41 +02:00
Blake-Madden
8a02590d6e
Upgrade wxRegion unit tests to Catch2
2025-09-08 07:45:06 -04:00
Blake-Madden
559ce0ae15
Upgrade thread unit tests to Catch2
2025-09-08 06:37:15 -04:00
Blake-Madden
35a838a681
Upgrade fontmapper unit tests to Catch2
2025-09-08 06:32:35 -04:00
Blake-Madden
2bc4bcb3a1
Migrate fuzzer unit test to Catch2
2025-09-07 18:38:37 -04:00
Blake-Madden
c8d018dd64
Upgrade tests to Catch2
2025-09-02 19:24:40 -04:00
Blake-Madden and Vadim Zeitlin
c2d1c9f731
Upgrade Base64 tests to Catch2
...
No real changes, just remove the CppUnit-compatible macros.
Closes #25747 .
2025-09-01 15:23:25 +02:00
Blake-Madden and GitHub
65f28116f4
Initialize character before using it
2025-08-26 10:34:13 -04:00
Blake-Madden and GitHub
2c3ab07427
Initialize pointer to null before using it
2025-08-26 10:31:50 -04:00
Blake-Madden and Vadim Zeitlin
54f61689b0
Add tests preset to CMake
...
Sets `wxBUILD_TESTS` to `ALL`.
Closes #25690 .
2025-08-17 23:45:16 +02:00
Blake-Madden and Vadim Zeitlin
74467930d6
Silence MSVC "possibly uninitialized" warning in WebP
...
Initialize variables to make it clear to the compiler that they always
have well-defined values.
Closes #25693 .
2025-08-13 23:09:53 +02:00
Blake-Madden and GitHub
ba7b31ba81
Explain the direction that Rotate goes
2025-08-04 05:39:42 -04:00
Blake-Madden and GitHub
ec29dbdc30
Minor formatting fix
2025-08-04 05:36:12 -04:00
Blake-Madden and Vadim Zeitlin
24338bec88
Add unit tests for wxSize::IsFullySpecified()
...
Closes #25647 .
2025-07-25 00:33:47 +02:00
Blake-Madden and Vadim Zeitlin
2fba397e53
Fix a few issues in the translations
...
Code Checks / Check Spelling (push) Has been cancelled
Code Checks / Check Whitespace (push) Has been cancelled
Code Checks / Check Mixed EOL (push) Has been cancelled
Code Checks / Check C++ Style (push) Has been cancelled
Code Checks / Check All Headers In allheaders.h (push) Has been cancelled
No Response / no-response (push) Has been cancelled
Unix builds / Ubuntu 24.04 wxGTK with ASAN (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK 3 compatible 3.0 (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK UTF-8 (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxQt (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxX11 (push) Has been cancelled
Unix builds / Ubuntu 20.04 wxGTK 3 with clang (push) Has been cancelled
Unix builds / Ubuntu 22.04 wxGTK with wx containers (push) Has been cancelled
Unix builds / Ubuntu 24.04 wxGTK with UBSAN (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxDFB (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK 3 static with gcc 4.8 (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK 2 (push) Has been cancelled
CMake builds / Ubuntu 22.04 wxGTK 3 (push) Has been cancelled
CMake builds / MSW/MSVC wxMSW (push) Has been cancelled
CMake builds / MSW/Clang wxMSW (push) Has been cancelled
CMake builds / macOS latest wxOSX Ninja (push) Has been cancelled
CMake builds / macOS 14 wxOSX Xcode (push) Has been cancelled
CMake builds / macOS 14 wxIOS (push) Has been cancelled
CMake builds / MSW/MSVC wxQt 5.15 (push) Has been cancelled
CMake builds / MSW/MSVC wxQt 6.8 (push) Has been cancelled
Mac builds / wxMac Universal C++14 (push) Has been cancelled
Mac builds / wxMac ARM with ASAN (push) Has been cancelled
Mac builds / wxiOS (push) Has been cancelled
Mac builds / wxMac Intel C++17 (push) Has been cancelled
Mac Xcode builds / iOS Simulator static (push) Has been cancelled
Mac Xcode builds / macOS dynamic Release (push) Has been cancelled
Mac Xcode builds / iOS static Debug (push) Has been cancelled
MSW builds / wxMSW vs2022 DLL Debug x64 (push) Has been cancelled
MSW builds / wxMSW vs2022 DLL Release x64 (push) Has been cancelled
MSW builds / wxMSW vs2022 Debug Win32 (push) Has been cancelled
MSW builds / wxMSW vs2022 Release arm64 (push) Has been cancelled
MSW cross-builds / wxMSW 64 bits (push) Has been cancelled
MSW cross-builds / wxMSW/Univ (push) Has been cancelled
MSW cross-builds / wxMSW 32 bits (push) Has been cancelled
Fix malformed pipes, incorrect numbers, wrong translation, missing
trailing punctuations.
Closes #25649 .
2025-07-20 14:35:20 +02:00
Blake-Madden and Vadim Zeitlin
e7155d72dc
Cache wxVERSION and wxCOPYRIGHT CMake variable
...
This makes them available to the applications using CMake.
Closes #25596 .
2025-07-12 16:49:03 +02:00
Blake-Madden and Vadim Zeitlin
5aac02dddf
Fix minor typos in comments
...
Closes #25629 .
2025-07-12 16:06:05 +02:00
Blake-Madden and Vadim Zeitlin
0b3ef1feaa
Fix and clarify wxRect2DDouble explainations
...
See #25629 .
2025-07-12 16:05:36 +02:00
Blake-Madden and Vadim Zeitlin
a1a0d38508
Add functions for testing wxColour opacity
...
Add IsTransparent(), IsOpaque() and IsTranslucent() as more readable
synonyms for testing the value of GetAlpha() directly.
Closes #25628 .
2025-07-12 16:04:01 +02:00
Blake-Madden and Vadim Zeitlin
f305d67b9e
Make wxNumberFormatter::RemoveTrailingZeroes() public
...
This function can be helpful in the application too.
Closes #25614 .
2025-07-09 19:55:32 +02:00
Blake-Madden and Vadim Zeitlin
6c287d77ad
Initialize wxSize members in their declarations
...
This allows to default this class ctor.
No real changes.
Closes #25589 .
2025-07-02 23:40:28 +02:00
Blake-Madden and Vadim Zeitlin
a3705b9cdf
Improve handling of copyright in 3rd party libs wxVersionInfo
...
Return copyright string for libjpeg.
Improve its formatting for libpng, libtiff and PCRE.
Closes #25523 .
2025-06-30 15:51:49 +02:00
Blake-Madden and Vadim Zeitlin
a3b5ecd127
Fix typos and wrong articles in comments and docs
...
Closes #25582 .
2025-06-29 16:27:11 +02:00
Blake-Madden and Vadim Zeitlin
529f5f702e
Fix minor typo in wxApp documentation
...
Unix builds / Ubuntu 24.04 wxGTK with ASAN (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK 3 compatible 3.0 (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK UTF-8 (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxQt (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxX11 (push) Has been cancelled
Unix builds / Ubuntu 20.04 wxGTK 3 with clang (push) Has been cancelled
Unix builds / Ubuntu 22.04 wxGTK with wx containers (push) Has been cancelled
Unix builds / Ubuntu 24.04 wxGTK with UBSAN (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxDFB (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK 3 static with gcc 4.8 (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK 2 (push) Has been cancelled
CMake builds / Ubuntu 22.04 wxGTK 3 (push) Has been cancelled
CMake builds / MSW/MSVC wxMSW (push) Has been cancelled
CMake builds / MSW/Clang wxMSW (push) Has been cancelled
CMake builds / macOS latest wxOSX Ninja (push) Has been cancelled
CMake builds / macOS 14 wxOSX Xcode (push) Has been cancelled
CMake builds / macOS 14 wxIOS (push) Has been cancelled
CMake builds / MSW/MSVC wxQt 5.15 (push) Has been cancelled
CMake builds / MSW/MSVC wxQt 6.8 (push) Has been cancelled
Mac builds / wxMac Universal C++14 (push) Has been cancelled
Mac builds / wxMac ARM with ASAN (push) Has been cancelled
Mac builds / wxiOS (push) Has been cancelled
Mac builds / wxMac Intel C++17 (push) Has been cancelled
Mac Xcode builds / iOS Simulator static (push) Has been cancelled
Mac Xcode builds / macOS dynamic Release (push) Has been cancelled
Mac Xcode builds / iOS static Debug (push) Has been cancelled
Code Checks / Check Spelling (push) Has been cancelled
Code Checks / Check Whitespace (push) Has been cancelled
Code Checks / Check Mixed EOL (push) Has been cancelled
Code Checks / Check C++ Style (push) Has been cancelled
Code Checks / Check All Headers In allheaders.h (push) Has been cancelled
Update Documentation / Update Online Documentation (push) Has been cancelled
No Response / no-response (push) Has been cancelled
Closes #25557 .
2025-06-24 17:19:50 +02:00
Blake-Madden and Vadim Zeitlin
c5a7b6372c
Add an example of using wxVersionInfo to the documentation
...
Closes #25525 .
2025-06-24 17:00:22 +02:00
Blake-Madden and Vadim Zeitlin
2f91f82faa
Fix a couple of misspellings in comments in ZIP streams code
...
Closes #25524 .
2025-06-16 19:14:13 +02:00
Blake-Madden and Vadim Zeitlin
53eb24201a
Document wxPoint2DDouble and wxOutCode
...
Closes #25520 .
2025-06-16 19:13:19 +02:00
Blake-Madden and Vadim Zeitlin
759213a301
Improve wxRect2DDouble
...
Add functions to give it parity with wxRect.
Add wxNODISCARDS where appropriate.
Extend the documentation, notably explaining behaviour differing from
wxRect.
Closes #25497 .
2025-06-09 22:47:22 +02:00
Blake-Madden and Vadim Zeitlin
c1fa7055f6
Fix wxInfoBar buttons regression after custom checkbox addition
...
Update the functions dealing with buttons to take into account the extra
sizer added in cd07eabd54 (Add support for "Do not show this again"
checkbox to wxInfoBar, 2025-05-12) which broke the existing logic.
See #25394 , #25461 .
Closes #25489 .
Closes #25493 .
2025-06-03 03:25:56 +02:00
Blake-Madden and Vadim Zeitlin
c52ec537fd
Fix wxINFOBAR_CHECKBOX style getting lost under MSW
...
Pass the style to wxWindow::Create() instead of calling SetWindowStyle()
ourselves: this ensures that wxINFOBAR_CHECKBOX is not overwritten by
the base class default style in wxMSW wxWindow::Create().
Closes #25461 .
2025-05-29 01:27:59 +02:00
Blake-Madden and Vadim Zeitlin
9402c42345
Explain how to include an out-of-tree wxWidgets folder in CMake
...
Closes #25458 .
2025-05-29 01:26:42 +02:00
Blake-Madden and Vadim Zeitlin
3fc7ffc2ef
Check result of downloading WebView2 from CMake
...
Abort the build immediately if downloading failed instead of running
into problems later.
Closes #25457 .
2025-05-29 01:25:33 +02:00
Blake-Madden and Vadim Zeitlin
cd07eabd54
Add support for "Do not show this again" checkbox to wxInfoBar
...
Closes #25394 .
2025-05-26 17:54:07 +02:00
Blake-Madden and Vadim Zeitlin
d137d1e1e0
Add wxGraphicsContext overloads taking wx{Rect,Point}2DDouble
...
Unix builds / Ubuntu 24.04 wxGTK with ASAN (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK 3 compatible 3.0 (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK UTF-8 (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxQt (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxX11 (push) Has been cancelled
Unix builds / Ubuntu 20.04 wxGTK 3 with clang (push) Has been cancelled
Unix builds / Ubuntu 22.04 wxGTK with wx containers (push) Has been cancelled
Unix builds / Ubuntu 24.04 wxGTK with UBSAN (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxDFB (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK 3 static with gcc 4.8 (push) Has been cancelled
Unix builds / Ubuntu 18.04 wxGTK 2 (push) Has been cancelled
CMake builds / Ubuntu 22.04 wxGTK 3 (push) Has been cancelled
CMake builds / Windows MSVC (push) Has been cancelled
CMake builds / macOS latest wxOSX Ninja (push) Has been cancelled
CMake builds / macOS 14 wxOSX Xcode (push) Has been cancelled
CMake builds / macOS 14 wxIOS (push) Has been cancelled
CMake builds / Windows wxQt 6.8 (push) Has been cancelled
Mac builds / wxMac Universal C++14 (push) Has been cancelled
Mac builds / wxMac ARM with ASAN (push) Has been cancelled
Mac builds / wxiOS (push) Has been cancelled
Mac builds / wxMac Intel C++17 (push) Has been cancelled
Mac Xcode builds / iOS Simulator static (push) Has been cancelled
Mac Xcode builds / macOS dynamic Release (push) Has been cancelled
Mac Xcode builds / iOS static Debug (push) Has been cancelled
MSW builds / wxMSW vs2022 DLL Debug x64 (push) Has been cancelled
MSW builds / wxMSW vs2019 DLL Release x64 (push) Has been cancelled
MSW builds / wxMSW vs2019 Debug Win32 (push) Has been cancelled
MSW builds / wxMSW vs2022 Release arm64 (push) Has been cancelled
MSW builds / msw-msys2-clang (push) Has been cancelled
MSW cross-builds / wxMSW 64 bits (push) Has been cancelled
MSW cross-builds / wxMSW/Univ (push) Has been cancelled
MSW cross-builds / wxMSW 32 bits (push) Has been cancelled
Code Checks / Check Spelling (push) Has been cancelled
Code Checks / Check Whitespace (push) Has been cancelled
Code Checks / Check Mixed EOL (push) Has been cancelled
Code Checks / Check C++ Style (push) Has been cancelled
Code Checks / Check All Headers In allheaders.h (push) Has been cancelled
Update Documentation / Update Online Documentation (push) Has been cancelled
No Response / no-response (push) Has been cancelled
Also, add missing documentation for ClearRectangle().
Closes #25444 .
2025-05-24 18:47:45 +02:00
Blake-Madden and Vadim Zeitlin
8a8b8d3a83
Document GetPreferredUILanguages()
...
Closes #25381 .
2025-05-09 17:48:33 +02:00