SDL/test
Frank Praznik b871ac0d97 Add support for non-constrained and non-grabbing popups
By default, popups are automatically constrained to be completely within display bounds, so as not to cut off information and result in an unusable menu, or unreadable tooltip. In some cases, however, this is not wanted, so a property to toggle this behavior is added.

There are also cases where the client may not want a popup menu to implicitly grab the keyboard focus, as is the default behavior, so popup menus now respect the focusable flag/property, as well as being able to toggle focus grabbing via SDL_SetWindowFocusable().
2025-04-29 12:02:14 -04:00
..
android android: reduce visiblity as much as possible 2025-03-19 23:36:08 +01:00
emscripten emscripten: pass --no-sandbox to the chrome web driver 2025-01-22 02:48:32 +01:00
n3ds
testgpu GPU: Remove D3D11 shaders from testgpu_spinning_cube 2024-11-12 17:32:25 -08:00
win32 sdlprocdump: fix minidump filename 2024-08-30 14:18:03 +02:00
CMakeLists.txt Added an example of fullscreen shader effects with the GPU renderer 2025-03-14 09:26:30 -07:00
COPYING
LICENSE.txt Updated copyright for 2025 2025-01-01 07:45:52 -08:00
audiofile.bmp
build-shaders.sh Added an example of fullscreen shader effects with the GPU renderer 2025-03-14 09:26:30 -07:00
checkkeys.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
childprocess.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
gamepad_axis.bmp
gamepad_axis.h
gamepad_axis_arrow.bmp
gamepad_axis_arrow.h
gamepad_back.bmp
gamepad_back.h
gamepad_battery.bmp
gamepad_battery.h
gamepad_battery_unknown.bmp
gamepad_battery_unknown.h
gamepad_battery_wired.bmp
gamepad_battery_wired.h
gamepad_button.bmp
gamepad_button.h
gamepad_button_background.bmp
gamepad_button_background.h
gamepad_button_small.bmp
gamepad_button_small.h
gamepad_face_abxy.bmp
gamepad_face_abxy.h
gamepad_face_axby.bmp Added SDL_GAMEPAD_TYPE_GAMECUBE 2025-04-27 11:01:50 -07:00
gamepad_face_axby.h Added SDL_GAMEPAD_TYPE_GAMECUBE 2025-04-27 11:01:50 -07:00
gamepad_face_bayx.bmp
gamepad_face_bayx.h
gamepad_face_sony.bmp
gamepad_face_sony.h
gamepad_front.bmp
gamepad_front.h
gamepad_touchpad.bmp
gamepad_touchpad.h
gamepad_wired.bmp testcontroller: show gamepad connection state 2024-12-27 13:58:49 -08:00
gamepad_wired.h testcontroller: show gamepad connection state 2024-12-27 13:58:49 -08:00
gamepad_wireless.bmp testcontroller: show gamepad connection state 2024-12-27 13:58:49 -08:00
gamepad_wireless.h testcontroller: show gamepad connection state 2024-12-27 13:58:49 -08:00
gamepadutils.c Added SDL_GAMEPAD_TYPE_GAMECUBE 2025-04-27 11:01:50 -07:00
gamepadutils.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
glass.bmp
glass.h
icon.bmp
icon.h
icon2x.bmp Added support for high-DPI cursors and icons 2024-08-01 13:48:28 -07:00
logaudiodev.bmp
loopwave.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
main.cpp
moose.dat
msdf_font.bmp test/msdf_font.bmp: mark as non-executable. 2025-04-26 02:39:20 +03:00
msdf_font.csv windows: Fix stale zoom/iconic state in WM_WINDOWPOSCHANGED handler 2025-04-25 16:21:44 -07:00
physaudiodev.bmp
picture.xbm
pretest.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
relative_mode.markdown Removed SDL_bool in favor of plain bool 2024-09-18 08:32:30 -07:00
sample.bmp
sample.wav
sdl-test_round.bmp Add system tray support (#10873) 2024-12-24 10:36:39 -08:00
soundboard.bmp
soundboard_levels.bmp
speaker.bmp
sword.wav examples/audio/04-multiple-streams: Remove drag-and-drop support. 2024-12-10 23:10:43 -05:00
template.test.in build: Fix testprocess invocation during "as-installed" tests 2024-09-25 14:48:26 -07:00
testasyncio.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testatomic.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testaudio.c testaudio: Use SDL_SetAppMetadata at startup. 2025-04-25 13:03:09 -04:00
testaudiohotplug.c Remove redundant casts 2025-02-21 10:09:10 -08:00
testaudioinfo.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testaudiorecording.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testaudiostreamdynamicresample.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testautomation.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testautomation_audio.c test/testautomation_audio.c: Free variables before returning 2025-02-16 16:57:56 -08:00
testautomation_blit.c Adding void to empty function prototype parenthesis 2024-09-11 19:44:52 -07:00
testautomation_clipboard.c clipboard: Ensure SDL_ClearClipboardData clears data even when no data has been set 2025-01-02 07:23:27 -08:00
testautomation_events.c Wake the main thread for main function dispatch 2025-02-25 12:50:41 -08:00
testautomation_guid.c SDL_test: use SDLCALL calling convention 2024-09-06 14:19:05 +02:00
testautomation_hints.c tests: port failing SDL_Hint tests from pysdl2 to testautomation 2025-04-01 21:31:10 +02:00
testautomation_images.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testautomation_images.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testautomation_intrinsics.c test/testautomation_intrinsics.c: Free variables before returning 2025-02-16 07:50:07 -08:00
testautomation_iostream.c Removed SDL_bool in favor of plain bool 2024-09-18 08:32:30 -07:00
testautomation_joystick.c Removed SDL_bool in favor of plain bool 2024-09-18 08:32:30 -07:00
testautomation_keyboard.c testautomation keyboard: use `space` instead of `a` 2024-11-08 07:01:50 -08:00
testautomation_log.c Added SDL_LogTrace() 2024-09-17 02:04:54 -07:00
testautomation_main.c tests: include SDL_build_config.h when HAVE_BUILD_CONFIG is defined 2024-12-29 20:08:06 +01:00
testautomation_math.c Removed SDL_bool in favor of plain bool 2024-09-18 08:32:30 -07:00
testautomation_mouse.c test: Fix mouse focus test on X11 2024-10-10 11:37:45 -04:00
testautomation_pixels.c Fix testautomation pixels_saveLoadBMP big endian issue 2024-12-22 12:08:54 -08:00
testautomation_platform.c Removed SDL_bool in favor of plain bool 2024-09-18 08:32:30 -07:00
testautomation_properties.c Removed SDL_bool in favor of plain bool 2024-09-18 08:32:30 -07:00
testautomation_rect.c tests: port failing SDL_Rect tests from pysdl2 to testautomation 2025-04-01 21:31:10 +02:00
testautomation_render.c tests: port failing SDL_Renderer test from pysdl2 to testautomation 2025-04-01 21:31:10 +02:00
testautomation_sdltest.c fix integer overflow ub in testautomation_sdltest 2025-01-06 13:18:03 -05:00
testautomation_stdlib.c Fixed sscanf("026", "%1x%1x%1x", &r, &g, &b) 2025-03-10 14:45:08 -07:00
testautomation_subsystems.c Verify that the subsystems were successfully initialized 2024-09-15 12:04:10 -07:00
testautomation_suites.h pen: Rework public API. 2024-08-09 22:09:23 -04:00
testautomation_surface.c Added tests to cover invalid surface blits 2025-04-22 13:05:38 -07:00
testautomation_time.c Removed SDL_bool in favor of plain bool 2024-09-18 08:32:30 -07:00
testautomation_timer.c Removed SDL_bool in favor of plain bool 2024-09-18 08:32:30 -07:00
testautomation_video.c tests: port failing window test from pysdl2 to testautomation 2025-04-01 21:31:10 +02:00
testbounds.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testcamera.c testcamera: SDL_AppQuit destroys state and SDL 2025-02-21 23:04:13 -08:00
testclipboard.c tests: Add showing/setting the primary selection text to testclipboard 2025-02-27 12:35:37 -05:00
testcolorspace.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testcontroller.c testcontroller: create window with high pixel density 2025-02-22 09:02:01 -08:00
testcustomcursor.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testdialog.c Formatting spaces around pointer symbol. 2025-02-03 17:03:26 -08:00
testdisplayinfo.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testdraw.c Remove redundant casts 2025-02-21 10:09:10 -08:00
testdrawchessboard.c Remove redundant casts 2025-02-21 10:09:10 -08:00
testdropfile.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testerror.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testevdev.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testffmpeg.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testffmpeg_vulkan.c Remove newlines from error messages 2025-01-23 11:45:04 -08:00
testffmpeg_vulkan.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testfile.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testfilesystem.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testgeometry.c Removed width/height parameters from LoadTexture() 2025-03-14 11:38:13 -07:00
testgl.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testgles.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testgles2.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testgpu_simple_clear.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testgpu_spinning_cube.c Add 'const' to pointer parameters 2025-02-21 15:59:40 -08:00
testgpurender_effects.c Add SDL_CreateGPURenderer 2025-04-07 09:26:03 -07:00
testgpurender_effects_CRT.frag.dxil.h Added an example of fullscreen shader effects with the GPU renderer 2025-03-14 09:26:30 -07:00
testgpurender_effects_CRT.frag.hlsl Added an example of fullscreen shader effects with the GPU renderer 2025-03-14 09:26:30 -07:00
testgpurender_effects_CRT.frag.msl.h Added an example of fullscreen shader effects with the GPU renderer 2025-03-14 09:26:30 -07:00
testgpurender_effects_CRT.frag.spv.h Added an example of fullscreen shader effects with the GPU renderer 2025-03-14 09:26:30 -07:00
testgpurender_effects_grayscale.frag.dxil.h Added an example of fullscreen shader effects with the GPU renderer 2025-03-14 09:26:30 -07:00
testgpurender_effects_grayscale.frag.hlsl Added an example of fullscreen shader effects with the GPU renderer 2025-03-14 09:26:30 -07:00
testgpurender_effects_grayscale.frag.msl.h Added an example of fullscreen shader effects with the GPU renderer 2025-03-14 09:26:30 -07:00
testgpurender_effects_grayscale.frag.spv.h Added an example of fullscreen shader effects with the GPU renderer 2025-03-14 09:26:30 -07:00
testgpurender_msdf.c Removed width/height parameters from LoadTexture() 2025-03-14 11:38:13 -07:00
testgpurender_msdf.frag.dxil.h Added support for custom shaders with the GPU renderer 2025-03-14 09:26:30 -07:00
testgpurender_msdf.frag.hlsl Added support for custom shaders with the GPU renderer 2025-03-14 09:26:30 -07:00
testgpurender_msdf.frag.msl.h Added support for custom shaders with the GPU renderer 2025-03-14 09:26:30 -07:00
testgpurender_msdf.frag.spv.h Added support for custom shaders with the GPU renderer 2025-03-14 09:26:30 -07:00
testhaptic.c Add and use SDL_HapticEffectID typedef 2025-04-24 08:51:55 -07:00
testhittesting.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testhotplug.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testiconv.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testime.c Removed width/height parameters from LoadTexture() 2025-03-14 11:38:13 -07:00
testintersections.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testkeys.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testloadso.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testlocale.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testlock.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testmanymouse.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testmessage.c Updated for SDL style 2025-03-20 16:42:40 -07:00
testmodal.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testmouse.c Handle global mouse state for Emscripten (#12669) 2025-04-02 07:21:21 -07:00
testmultiaudio.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testnative.c Removed width/height parameters from LoadTexture() 2025-03-14 11:38:13 -07:00
testnative.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testnativecocoa.m
testnativew32.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testnativewayland.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testnativex11.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testoffscreen.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testoverlay.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testpen.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testplatform.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testpopup.c Add support for non-constrained and non-grabbing popups 2025-04-29 12:02:14 -04:00
testpower.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testprocess.c Make sure stdio handles are in blocking mode 2024-10-14 22:10:49 -07:00
testqsort.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testrelative.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testrendercopyex.c Removed width/height parameters from LoadTexture() 2025-03-14 11:38:13 -07:00
testrendertarget.c Removed width/height parameters from LoadTexture() 2025-03-14 11:38:13 -07:00
testresample.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testrumble.c Remove even more newlines from log messages 2025-01-23 09:32:50 -08:00
testrwlock.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testscale.c Removed width/height parameters from LoadTexture() 2025-03-14 11:38:13 -07:00
testsem.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testsensor.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testshader.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testshape.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testsprite.c Removed width/height parameters from LoadTexture() 2025-03-14 11:38:13 -07:00
testspriteminimal.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testspritesurface.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
teststreaming.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testsurround.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testthread.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testtime.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testtimer.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testtray.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testurl.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testutils.c Removed width/height parameters from LoadTexture() 2025-03-14 11:38:13 -07:00
testutils.h Removed width/height parameters from LoadTexture() 2025-03-14 11:38:13 -07:00
testver.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testviewport.c Removed width/height parameters from LoadTexture() 2025-03-14 11:38:13 -07:00
testvulkan.c Remove even more newlines from log messages 2025-01-23 09:32:50 -08:00
testwaylandcustom.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testwm.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testyuv.bmp
testyuv.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testyuv_cvt.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testyuv_cvt.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
torturethread.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
trashcan.bmp
unifont-15.1.05-license.txt Updated unifont to version 15.1.05 2024-06-27 17:43:03 -07:00
unifont-15.1.05.hex Updated unifont to version 15.1.05 2024-06-27 17:43:03 -07:00
utf8.txt