wxWidgets/tests
Vadim Zeitlin 99d9a81e28 Fix crash when unbinding event handlers from other handlers
Calling Unbind() on another handler from the currently executing handler which
had been bound after (and hence executed before) the handler being unbound
resulted in a crash previously as the iterators used in the loop over all
dynamic event handlers became invalid.

Fix this by storing the dynamic event table entries in a vector instead of a
list (which is also more memory and speed efficient anyhow) and null the
deleted entries instead of removing them to avoid invalidating the iterators
and only really remove them once we finish iterating.

Closes #17229.
2015-12-08 03:02:37 +01:00
..
any Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
archive Remove support for Digital Mars compiler. 2014-05-16 13:01:23 +00:00
arrays Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
base64 Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
benchmarks Fix crash in graphics benchmark 2015-12-06 17:31:24 +01:00
cmdline Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
config Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
controls Document and test wxDatePickerCtrl::SetRange() date-clamping behaviour. 2015-07-17 17:59:40 +02:00
datetime Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
drawing Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
events Fix crash when unbinding event handlers from other handlers 2015-12-08 03:02:37 +01:00
exec Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
file Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
filekind Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
filename Fix recently added wxFileName::MakeRelativeTo() unit test for non-Unix. 2015-05-30 03:38:03 +02:00
filesys Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
font Revert "Disable wxFont::SetStrikethrough() test under wxOSX." 2015-05-22 03:28:07 +04:00
fontmap Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
formatconverter Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
fswatcher Use FSEvents in wxFileSystemWatcher on OS X 2015-06-06 02:37:35 +04:00
geometry Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
graphics Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
hashes Fix g++ version test in the previous commit. 2015-06-21 02:42:34 +02:00
html Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
image Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
interactive Add wxStandardPaths::GetUserDir() to get Desktop, Download etc 2015-10-04 01:05:23 +02:00
intl Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
lists Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
log Remove MSVC6 support. 2014-05-15 22:32:17 +00:00
longlong Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
mbconv Add a test checking that conversions involving surrogates work 2015-11-13 20:32:24 +01:00
menu Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
misc Fix mismatched new[]/delete in a test case. 2015-06-19 16:32:14 +02:00
net Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
regex Remove MSVC6 support. 2014-05-15 22:32:17 +00:00
scopeguard Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
sizers Rename wxBoxSizer::m_minSize to avoid clash with the base class 2015-10-11 01:00:38 +02:00
streams Add a check for wxSocketServer creation to the unit tests. 2015-06-23 19:11:31 +02:00
strings Avoid warnings about narrowing casts in the long long tests. 2015-06-21 15:56:06 +02:00
textfile Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
thread Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
toplevel Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
uris Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
validators This statement that will cause segmentation fault before. Now it ok and enable it 2014-09-23 17:44:30 +00:00
vectors Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
weakref Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
window Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
xlocale Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
xml Add support for DOCTYPE to wxXmlDocument. 2015-04-26 15:36:48 +02:00
asserthelper.cpp Replace anonymous namespace with a named one in the test helpers. 2014-07-14 19:17:12 +00:00
asserthelper.h Replace anonymous namespace with a named one in the test helpers. 2014-07-14 19:17:12 +00:00
descrip.mms Fixes for OpenVMS on IA64 2011-09-29 13:47:38 +00:00
dummy.cpp
horse.ani
horse.bmp
horse.cur
horse.gif
horse.ico
horse.jpg
horse.pcx
horse.png
horse.pnm
horse.tga
horse.tif
horse.xpm Convert all XPM files to Unix EOLs. 2015-03-19 21:46:05 +01:00
makefile.bcc Add unit test for wxFlexGridSizer layout logic. 2015-04-08 23:35:19 +02:00
makefile.gcc Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
Makefile.in Add unit test for wxFlexGridSizer layout logic. 2015-04-08 23:35:19 +02:00
makefile.vc Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
runtests.bat Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
test_vc7_printfbench.vcproj Sync EOL normalization settings. 2015-03-17 13:47:20 -06:00
test_vc7_test_drawing.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
test_vc7_test_drawingplugin.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
test_vc7_test_gui.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
test_vc7_test.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
test_vc8_printfbench.vcproj Sync EOL normalization settings. 2015-03-17 13:47:20 -06:00
test_vc8_test_drawing.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
test_vc8_test_drawingplugin.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
test_vc8_test_gui.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
test_vc8_test.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
test_vc9_printfbench.vcproj Sync EOL normalization settings. 2015-03-17 13:47:20 -06:00
test_vc9_test_drawing.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
test_vc9_test_drawingplugin.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
test_vc9_test_gui.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
test_vc9_test.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
test.bkl Add unit test for wxFlexGridSizer layout logic. 2015-04-08 23:35:19 +02:00
test.cpp Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
testableframe.cpp Ensure that wxTestableFrame is shown on the (main) screen. 2014-05-27 17:27:10 +00:00
testableframe.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
testdata.fc
testdate.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
testfile.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
testimage.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
testprec.h Add WX_ASSERT_FAILS_WITH_ASSERT_MESSAGE helper. 2015-04-08 23:35:19 +02:00