Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dl/feat/mouse scrolling in generic spinctrl #1

Open
wants to merge 184 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
184 commits
Select commit Hold shift + click to select a range
1314ec7
Remove unused mentions of wxScreenDC from the samples
vadz Oct 7, 2024
78ff188
Remove calls to wxScreenDC::{Start,End}DrawingOnTop()
vadz Oct 7, 2024
3543cb4
Stop using wxScreenDC in GetDPIHelper()
vadz Oct 7, 2024
ee978a1
Use unused variables like they were likely meant to be used
lanurmi Oct 9, 2024
463d903
Add the wxWARN_UNUSED attribute for wxColour; remove unused
lanurmi Oct 10, 2024
a76d664
Add the wxWARN_UNUSED attribute for wxStringTokenizer; remove unused
lanurmi Oct 10, 2024
1d0e1b6
Add the wxWARN_UNUSED attribute for wxSize, wxRect, wx(Real)Point; re…
lanurmi Oct 10, 2024
0a75b8a
Add the wxWARN_UNUSED attribute for wxLongLong, wxULongLong
lanurmi Oct 10, 2024
55f0b7f
Add the wxWARN_UNUSED attribute for wxArrayString
lanurmi Oct 10, 2024
00df475
Add the wxWARN_UNUSED attribute for wxDateTime
lanurmi Oct 10, 2024
7abc628
Fix always using "All pages" in wxGTK wxPrintDialog
vadz Oct 11, 2024
9b1231e
Handle passing root item to wxTreeListCtrl::Select() gracefully
vadz Oct 12, 2024
27a58fe
Fix minor typo in wxNotebook::InsertPage() comment
Blake-Madden Oct 9, 2024
fcf4883
Merge branch 'warn-more-unused' of https://github.com/lanurmi/wxWidgets
vadz Oct 12, 2024
74daaf8
Let wxMenuEvent carry an optional wxMenuItem to be able to have acces…
mxdamien Oct 11, 2024
eb10935
In case the wxMenuEvent parameter in wxFrameBase::OnMenuHighlight car…
mxdamien Oct 11, 2024
c1e2acd
MSW: Find a wxMenuItem object corresponding to a given ID by iteratin…
mxdamien Oct 11, 2024
ae6dc7b
Add GetAllHeaderValues() to wxWebResponse
dinkelacker Oct 14, 2024
8395e57
Add support for multiple headers with same name to wxWebRequest
dinkelacker Oct 14, 2024
7e32de0
Fix wxOSX wxScreenDC compilation against SDK 15.0
csomor Oct 14, 2024
9c4a376
Document that wxScreenDC doesn't work in more places
vadz Oct 7, 2024
3557edb
Merge branch 'deprecate-screendc'
vadz Oct 15, 2024
eda54e8
Merge branch 'dl/fix/missing_help_text_statbar' of https://github.com…
vadz Oct 15, 2024
d2ee8f6
wxQt: Reduce flicker when hovering over pane buttons
AliKet Oct 13, 2024
2d258d8
Link aui sample with wxxml library in CMake build too
vadz Jan 21, 2024
e249e36
Generalize CheckExpectedJSON()
dinkelacker Oct 15, 2024
0fce060
Add headers test
dinkelacker Oct 15, 2024
1000d67
Add fallback to URLSession webrequest backend
dinkelacker Oct 15, 2024
3b2971e
Improve test output on failure
dinkelacker Oct 15, 2024
d1a9ec6
Refactor wxWinHTTPQueryHeaderString()
dinkelacker Oct 15, 2024
38c56c0
Fix newly introduced headers test
dinkelacker Oct 15, 2024
9849124
Provide a way to store AUI layouts in any custom format
vadz Jan 21, 2024
51c5df6
Always use DIPs when saving/restoring AUI layouts
vadz Feb 21, 2024
83916ed
Update docks sizes before serializing them
vadz Oct 15, 2024
41377dd
Avoid invalid icon filename from mime type lookup with some GTK themes
paulcor Oct 15, 2024
9c5ddf3
Request a more reasonable icon size from mime type lookup with GTK
paulcor Oct 15, 2024
69e9d6a
Avoid invalid file name extensions from mime globs files
paulcor Oct 15, 2024
ac0ea56
Update config.{guess,sub} scripts to latest versions
paulcor Oct 15, 2024
bd35a3c
Use AC_C_BIGENDIAN
paulcor Oct 15, 2024
fc2b6e6
Update pkg-config macros
paulcor Oct 15, 2024
a163c31
Fix queries of non-existent HTTP header strings
dinkelacker Oct 16, 2024
819b205
Merge branch 'webresponse-getheaders' of https://github.com/dinkelack…
vadz Oct 16, 2024
8698e76
Merge branch 'aui-serialize'
vadz Oct 16, 2024
dd6efcb
Avoid spurious "maybe uninitialized" MSVC warnings
vadz Oct 16, 2024
2f426ce
Avoid harmless signed/unsigned comparison warning
vadz Oct 16, 2024
c4ae08f
Remove redundant variable declaration
vadz Oct 16, 2024
8048733
Avoid MSVC warnings about shadowing member variables
vadz Oct 16, 2024
f64031f
Improve wxQt installation docs
vadz Oct 16, 2024
fe162f5
Remove unused UL macro from wxMSW code
vadz Oct 18, 2024
a83d1b9
Don't use wxLongLongNative in wxOSX code
vadz Oct 18, 2024
719169c
Avoid harmless unused parameter warning in wxiOS header
vadz Oct 18, 2024
7aa6da0
Remove wxUSE_LONGLONG and always use wxLongLong_t
vadz Oct 18, 2024
55cd1c6
Keep wxLongLongNative and wxULongLongNative defined
vadz Oct 18, 2024
f07405d
Remove "const" from wxAuiManager::LoadLayout() documentation
mcorino Oct 18, 2024
fb04f7c
Update list of locales to install
swt2c Oct 17, 2024
670ae7b
Make macOS date picker control locale aware
utelle Oct 11, 2023
e5f95a3
Document wxUILocale::UseLocaleName()
utelle Oct 16, 2023
5f7d255
Add wxTextCtrl::SearchText() for MSW
Blake-Madden Aug 12, 2024
66fe889
Merge branch 'qt-msw-clean'
vadz Oct 18, 2024
8d234aa
Run macOS CI builds using macos-14 GitHub image
vadz Oct 18, 2024
210e8a7
Merge branch 'drop-longlongwx'
vadz Oct 19, 2024
3c84312
Get rid of a useless sizer in wxAuiManager
vadz Apr 30, 2024
025b7ec
Fix indentation in wxAuiManager::LayoutAll()
vadz Oct 15, 2024
574dc66
Don't use non-const reference in wxAuiManager code unnecessarily
vadz Oct 15, 2024
c68c66e
Put private helper functions inside an anonymous namespace
vadz Oct 15, 2024
1d87f91
Make FindDocks() helper more ergonomic and a bit more efficient
vadz Oct 15, 2024
1712ab5
Initialize wxSecretStore::m_valid in its dummy implementation
vadz Oct 18, 2024
6dfa8d0
Avoid integer overflow in base64 test case
vadz Oct 18, 2024
1018154
Avoid undefined behaviour in signed integer shift in wxLongLong
vadz Oct 19, 2024
1ee2480
Avoid undefined behaviour in wxLongLong unit tests
vadz Oct 19, 2024
942ad9b
Avoid undefined behaviour when handling events in wxWebSessionCURL
vadz Oct 19, 2024
8ddc73f
Return correct constant from wxMBConvUTFXX::GetLength() on error
vadz Oct 19, 2024
0637f72
Avoid undefined behaviour due to unaligned pointer access
vadz Oct 19, 2024
5e0ad67
Avoid signed multiplication overflow in wxDataInputStream::Read64()
vadz Oct 19, 2024
4875fa3
Add a CI job using UBSAN
vadz Oct 20, 2024
33ee1c7
Fix height of wxOwnerDrawnComboBox popup at different DPI
MaartenBent Oct 20, 2024
27fe76f
Fix wxPropGrid editor appearance after DPI change
MaartenBent Oct 20, 2024
7a1bfc4
Exit with error if UBSAN detects any failures
vadz Oct 20, 2024
816b02e
Remove cast from wxWindowBase to wxWindow in RemoveChild()
vadz Oct 20, 2024
5156c40
Reset status bar pointer in wxFrameBase itself
vadz Oct 20, 2024
652866b
Reset tool bar pointer in wxFrameBase itself too
vadz Oct 20, 2024
5d10c50
Remove cast resulting in undefined behaviour from wxDynamicCast()
vadz Oct 20, 2024
a0cf2f4
Initialize member of wxAuiNotebookPage
vadz Oct 21, 2024
f6b4acf
Change wxSizer::Detach(wxWindow*) to take wxWindowBase* instead
vadz Oct 21, 2024
18ff090
Avoid undefined behaviour in wxDataViewColumnBase ctor
vadz Oct 21, 2024
4ada028
Avoid undefined behaviour in wxScrollHelperBase ctor
vadz Oct 21, 2024
2138c71
Deprecate wxPickerBase::SetTextCtrl() and SetPickerCtrl()
vadz Oct 21, 2024
a791ac7
Initialize wxPickerBase members in their declarations
vadz Oct 21, 2024
405b6f5
Remove wxPickerBase::OnTextCtrlDelete() which seems unnecessary
vadz Oct 21, 2024
eb718b6
Fix incorrect cast in wxPGComboBoxEditor::OnEvent()
vadz Oct 21, 2024
ab17506
Avoid integer overflow in wxSpinButton::SetRange()
vadz Oct 21, 2024
124bde6
Fix bad cast of wxPGRootProperty to wxPropertyCategory
vadz Oct 21, 2024
782513c
Avoid undefined behaviour in generic wxIcon::CopyFromBitmap()
vadz Oct 21, 2024
b4fcafe
Initialize wxSashEvent::m_dragStatus
vadz Oct 21, 2024
c949ca0
Avoid integer overflow in wxBoxSizer::RepositionChildren()
vadz Oct 21, 2024
1355cad
Fix deleting stack pointer in event propagation test case
vadz Oct 21, 2024
7b6d56f
Remove almost empty src/generic/icon.cpp
vadz Oct 21, 2024
d30e4d6
Avoid harmless MSVS 2022 shadowing warning in array test
vadz Oct 21, 2024
95a00c2
Avoid refreshing wxCheckBox in wxMSW if its value doesn't change
vadz Oct 23, 2024
a86db8a
Make checkboxes in the toolbar sample a bit less weird
vadz Oct 23, 2024
0150248
Merge branch 'combo-popup-dpi' of https://github.com/MaartenBent/wxWi…
vadz Oct 23, 2024
247dbc5
Allow setting wxInfoBar colours before creating it
sz5000 Oct 22, 2024
47a5a5b
Merge branch 'aui-cleanup'
vadz Oct 23, 2024
71527f6
Merge branch 'ci-ubsan'
vadz Oct 23, 2024
09b6dad
Fully disassociate HWND in OnEndSession
vslavik Oct 22, 2024
cdf8d0a
Fix checked toolbar items colour in dark mode under Windows 11
sz5000 Oct 21, 2024
c301af4
Fix wxMSW toolbar drop down arrow appearance in dark mode
sz5000 Oct 22, 2024
0f443ac
Use C++11 range for loops in wxModalDialogHook
vadz Oct 23, 2024
3026cf6
Add wxModalDialogHook::GetOpenCount()
vadz Oct 23, 2024
3f836cf
Remove wxGTK-specific wxOpenModalDialogsCount
vadz Oct 23, 2024
b12ba61
Get rid of CppUnit boilerplate in modal dialog test cases
vadz Oct 24, 2024
0193f41
Veto closing top level windows if any modal dialogs are shown
vadz Oct 23, 2024
bebbf22
Avoid spurious error about unregistering classes on session end
vadz Oct 23, 2024
8d14be4
Always send wxEVT_END_SESSION in wxMSW exactly once
vadz Oct 23, 2024
e92eb74
Don't destroy any windows during the session shutdown
vadz Oct 24, 2024
d8b547c
Document that wxEVT_END_SESSION handler shouldn't use any UI
vadz Oct 24, 2024
dab393f
Make sure we generate wxEVT_QUERY_END_SESSION only once too
vadz Oct 25, 2024
40744a0
Close all windows in wxApp::OnQueryEndSession()
vadz Oct 25, 2024
00ecdd0
Use correct DPI for wxTabFrame used by wxAuiNotebook in wxMSW
vadz Oct 26, 2024
e582a0c
Simplify code initializing pane best size in wxAuiManager
vadz Oct 26, 2024
b4736f1
Use current, and not best, size when adding panes to wxAuiManager
vadz Oct 26, 2024
9a24f3a
Allow setting flags of wxAuiManager used by wxAuiNotebook
vadz Oct 26, 2024
d51cd22
Fix typos in wxWebViewConfiguration docs
PBfordev Oct 26, 2024
8db7bbb
Accept the URL to open as command line argument in webview sample
vadz Oct 26, 2024
b1442f2
Restore use of screen coordinates in wxAuiManager::ShowHint()
vadz Oct 26, 2024
42f43fd
Fix fading in hints shown when dragging wxAuiNotebook pages
vadz Oct 26, 2024
0d44e61
Default "offset" parameter of CalculateHintRect() to zero
vadz Oct 26, 2024
49c20d4
Simplify wxAuiNotebook code by using GetScreenRect()
vadz Oct 26, 2024
5bb09d9
Set focus to the URL field in webview sample initially
vadz Oct 26, 2024
bbaf7d1
Simplify wxLogDebug() in wxWebRequestCURL code
vadz Oct 26, 2024
9e7b08c
Add some tracing to SourceSocketPoller code
vadz Oct 26, 2024
4e0fca8
Fix crash when connection is refused in wxWebRequestCURL
vadz Oct 26, 2024
d96127b
Remove unnecessary array copying from ownerdrw sample
vadz Oct 27, 2024
580f2d6
Improve ownerdrw sample appearance in high DPI
vadz Oct 27, 2024
1826e65
Fix default background colour of ownerdrawn wxListBox items
vadz Oct 27, 2024
926ab60
Factor out common part of wxListBoxItem and wxCheckListBoxItem
vadz Oct 27, 2024
c70a281
Fix compilation of <wx/archive.h> on Clang 19 on Fedora
lanurmi Oct 28, 2024
86dae55
Add a trivial test for wxArchiveIterator::operator=()
lanurmi Oct 28, 2024
3572ed5
Use white background for wxHtmlWinParser without a window
Blake-Madden Oct 27, 2024
f89cbe6
wxQt: translate QPainter of wxClientDC into window client area.
Oct 28, 2024
4e15b57
Merge branch 'fix-archive-clang19' of https://github.com/lanurmi/wxWi…
vadz Oct 28, 2024
74a1997
Merge branch 'endsession-fixes'
vadz Oct 28, 2024
795c02c
Make wxWARN_UNUSED work with Clang (again)
lanurmi Oct 24, 2024
6bcbcf9
Make wxMSW date/time picker controls locale aware
utelle Oct 14, 2023
2765d80
Do offset wxClientDC and wxPaintDC by client area origin in wxMSW
vadz Oct 28, 2024
d266287
Fix origin of wxOverlay for wxFrame with toolbar in wxMSW
vadz Oct 28, 2024
c183a0c
Remove unnecessary offset of hint rectangle by client area origin
vadz Oct 28, 2024
d6e2f8f
Remove unneeded code and variable in wxAuiManager code
vadz Oct 28, 2024
790aa18
Fix crash in wxPropertyGrid with wxGTK3 after recent change
vadz Oct 30, 2024
76cb9b6
Add parameter validity check to wxPropertyGrid::RefreshProperty()
vadz Oct 30, 2024
c28eb2b
Also add the check to wxPropertyGrid::DrawItemAndValueRelated()
vadz Oct 30, 2024
d48fbd1
Add tracing of mouse press and release events to wxGTK too
vadz Oct 30, 2024
138090c
Don't cast g_lastButtonNumber unnecessarily in wxGTK wxDropSource
vadz Oct 30, 2024
bd60c91
Use a RAII helper instead of resetting g_lastMouseEvent manually
vadz Oct 30, 2024
5851e34
Revert "Don't prevent the other button release handlers from running …
vadz Oct 30, 2024
c172039
Replace wxPROCESS_EVENT_ONCE() macro with a function
vadz Oct 30, 2024
ba3119e
Fix bug with unexpected events after dismissing a modal dialog
vadz Oct 31, 2024
ccfcfbd
Make log messages in enter/leave callbacks different
vadz Oct 31, 2024
36ccedc
Send wxEVT_{ENTER,LEAVE}_WINDOW for window-less wxGTK windows too
vadz Oct 31, 2024
c6bcc29
Fix coordinates in click events sent to window with capture
vadz Oct 31, 2024
a47b560
Fix wxGETTEXT_IN_CONTEXT* with wxNO_IMPLICIT_WXSTRING_ENCODING
Oct 28, 2024
8b71472
Don't break AUI layout if Update() is called while iconized
vadz Nov 1, 2024
d20fb1c
Return empty size from iconized wxFrame GetClientSize() in wxMSW
vadz Nov 1, 2024
d3f788f
Don't leave wxGUIEventLoop::m_lastEvent uninitialized
vadz Nov 1, 2024
3cce839
Merge branch 'msw-offset-fixes'
vadz Nov 2, 2024
6277278
Merge branch 'aui-hint-fixes'
vadz Nov 2, 2024
297223e
Merge branch 'webrequest-curl-close-crash'
vadz Nov 2, 2024
3966608
Merge branch 'lbox-ownerdraw-bg'
vadz Nov 2, 2024
ec7cfdf
Merge branch 'pg-fixes'
vadz Nov 2, 2024
48df3a3
wxHtmlPrintout i18n and DPI fixes
Blake-Madden Oct 27, 2024
a32caee
Mention that wxHTML can handle background-color style
Blake-Madden Oct 28, 2024
b7bc6a1
Merge branches 'gtk-mouse-click', 'gtk-click-captured' and 'gtk-enter…
vadz Nov 2, 2024
d7528e3
Merge branch 'aui-update-iconized'
vadz Nov 2, 2024
12b09a5
Provide wxXmlResourceHandler for wxVListBox
wsu-cb Oct 9, 2024
50252c9
Remove stray zero-width space from Italian translations
bovirus Nov 2, 2024
b6e88ef
wxQt: fix wxClientDC clipping
Nov 2, 2024
b21642b
Fix loading BMP files which use 32bpp but do not have valid alpha (#2…
paulcor Nov 5, 2024
06490f1
Ignore commit reformatting variables assignments for git-blame
vadz Nov 3, 2024
d148f1c
Use correct name for all Paul Cornett's commits
vadz Nov 10, 2024
11f0add
Account for axis sign when handling device origin in wxMSW wxDC
vadz Nov 3, 2024
b3751da
Document that XRC default_size for bitmaps is in DIPs
vadz Nov 10, 2024
fd28beb
Define wxPLURAL regardless of WXINTL_NO_GETTEXT_MACRO
lanurmi Nov 7, 2024
1ba62a6
Fix non-ASCII msgids with wxGETTEXT_IN_CONTEXT_PLURAL
lanurmi Nov 7, 2024
0da3395
Add mouse scrolling to wxSpinCtrlGenericBase
mxdamien Nov 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ db31a0161503c6ea4cc461f4e10b67830b7d6b52
# Fix comment typos in sources, 2021-10-02
668a2186cd89fd4576bed224df3624811eebeca1

# Wrap variable initializations after '=' consistently, 2019-11-22
2bc6e50eded2a14099655ce0b4c7df582b87c93a

# Remove all trailing spaces, 2019-01-30
8fbca5cb70c8b647d5bd2cacb1e0a2a00358f351

Expand Down
57 changes: 47 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ jobs:
skip_samples: true
use_asan: true
use_xvfb: true
- name: Ubuntu 22.04 wxGTK UTF-8 C++20
- name: Ubuntu 22.04 wxGTK with UBSAN
runner: ubuntu-22.04
configure_flags: --with-cxx=20 --enable-utf8 --enable-utf8only
use_asan: true
configure_flags: --with-cxx=20
use_ubsan: true
use_xvfb: true
build_out_of_tree_samples: true
- name: Ubuntu 18.04 wxX11
Expand Down Expand Up @@ -286,11 +286,18 @@ jobs:
fi

if [ ${{ matrix.use_asan }} ]; then
wxASAN_CFLAGS="-fsanitize=address -fno-omit-frame-pointer"
wxASAN_CXXFLAGS=$wxASAN_CFLAGS
wxASAN_LDFLAGS="-fsanitize=address"
wxSANITIZER_FLAGS='-fsanitize=address'

echo 'ASAN_OPTIONS=fast_unwind_on_malloc=0' >> $GITHUB_ENV
elif [ ${{ matrix.use_ubsan }} ]; then
wxSANITIZER_FLAGS='-fsanitize=undefined'
fi

./configure $wxCONFIGURE_OPTIONS --enable-debug "CFLAGS=$wxASAN_CFLAGS" "CXXFLAGS=$wxASAN_CXXFLAGS" "LDFLAGS=$wxASAN_LDFLAGS" || rc=$?
if [ -n "$wxSANITIZER_FLAGS" ]; then
./configure $wxCONFIGURE_OPTIONS --enable-debug \
"CFLAGS=$wxSANITIZER_FLAGS -fno-omit-frame-pointer" \
"CXXFLAGS=$wxSANITIZER_FLAGS -fno-omit-frame-pointer" \
"LDFLAGS=$wxSANITIZER_FLAGS" || rc=$?
else
./configure $wxCONFIGURE_OPTIONS --disable-debug_info || rc=$?
fi
Expand Down Expand Up @@ -349,7 +356,11 @@ jobs:

httpbin_launch

export ASAN_OPTIONS=fast_unwind_on_malloc=0
if [ ${{ matrix.use_ubsan }} ]; then
# First run wiht UBSAN: halt on first error to make sure we fail if
# any UB is detected.
export UBSAN_OPTIONS=halt_on_error=1
fi

# Explicitly use bash because /bin/sh doesn't have pipefail option
/bin/bash -o pipefail -c './test 2>&1 | tee test.out' || rc=$?
Expand All @@ -363,6 +374,15 @@ jobs:
fi
fi

if [ ${{ matrix.use_ubsan }} ]; then
if grep -qF ': runtime error: ' test.out; then
export UBSAN_OPTIONS=print_stacktrace=1
echo '+++ UB detected, rerunning the tests to show all occurrences +++'
./test
# Leave rc set to non-zero value to indicate failure.
fi
fi

if [ -n "$rc" ]; then
httpbin_show_log
exit $rc
Expand All @@ -384,16 +404,21 @@ jobs:
if [ -f wx_dbgsym_available ]; then
export LSAN_OPTIONS=suppressions=$(pwd)/misc/suppressions/lsan
else
ASAN_OPTIONS=detect_leaks=0
ASAN_OPTIONS="$ASAN_OPTIONS detect_leaks=0"
fi
export ASAN_OPTIONS="$ASAN_OPTIONS fast_unwind_on_malloc=0"

# Running all tests at once fails, apparently due to running out of
# memory when using ASAN, work around this problem by excluding
# RichTextCtrlTestCase whose Table sub-test seems to be problematic.
wx_tests_selection='~[.] ~RichTextCtrlTestCase'
fi

if [ ${{ matrix.use_ubsan }} ]; then
# First run with UBSAN: halt on first error to make sure we fail if
# any UB is detected.
export UBSAN_OPTIONS=halt_on_error=1
fi

# The tests only work reliably with native windows
export QT_USE_NATIVE_WINDOWS=1

Expand All @@ -413,6 +438,17 @@ jobs:
xvfb-run -a -s '-screen 0 1600x1200x24' ./test_gui -c Title WebView >/dev/null 2>&1 || echo 'First wxWebView test failure ignored.'

/bin/bash -o pipefail -c "xvfb-run -a -s '-screen 0 1600x1200x24' ./test_gui -d 1 $wx_tests_selection 2>&1 | tee -a test_gui.out" || rc=$?

if [ ${{ matrix.use_ubsan }} ]; then
if grep -qF ': runtime error: ' test_gui.out; then
echo "\n\n+++ UB detected, rerunning the tests to show all occurrences +++\n"
export UBSAN_OPTIONS=print_stacktrace=1
xvfb-run -a -s '-screen 0 1600x1200x24' ./test_gui $wx_tests_selection
# rc should be already set to non-zero value, but make sure of it.
rc=1
fi
fi

if [ -n "$rc" ]; then
if grep -qF '(core dumped)' test_gui.out; then
echo '*** Test crashed, trying to get more information ***'
Expand All @@ -421,6 +457,7 @@ jobs:
exit $rc
fi


- name: Building samples
if: matrix.skip_samples != true
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ jobs:
runner: ubuntu-22.04
cmake_generator: Unix Makefiles
cmake_samples: ALL
- name: macOS 12 wxOSX
runner: macos-12
- name: macOS 14 wxOSX
runner: macos-14
cmake_generator: Xcode
- name: macOS 12 wxIOS
runner: macos-12
- name: macOS 14 wxIOS
runner: macos-14
cmake_generator: Xcode
cmake_defines: -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_FIND_ROOT_PATH=/usr/local -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED=NO
cmake_samples: OFF
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ jobs:
runner: self-hosted
arch: arm64
configure_flags: --with-cxx=14 --enable-universal_binary=arm64,x86_64 --disable-shared --disable-debug --enable-optimise
- name: wxMac macOS 12
runner: macos-12
- name: wxMac macOS 14
runner: macos-14
arch: x86_64
configure_flags: --disable-sys-libs
- name: wxiOS
runner: macos-12
runner: macos-14
arch: x86_64
configure_flags: --with-osx_iphone --enable-monolithic --disable-sys-libs --host=i686-apple-darwin_sim --build=x86_64-apple-darwin17.7.0
configure_env: PKG_CONFIG_LIBDIR=/dev/null
Expand Down
1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Martin Ettl <[email protected]> <[email protected]>
Mathew Maidment <[email protected]>
Micha Ahrweiler <[email protected]>
ousnius <[email protected]> <[email protected]>
Paul Cornett <[email protected]>
Paul Kulchenko <[email protected]> <[email protected]>
Pavel O. <[email protected]>
Pavel O. <[email protected]> <[email protected]>
Expand Down
Loading
Loading