Commit Graph

  • 128df75e05 Fixed potential NULL dereference Sam Lantinga 2024-07-21 14:32:19 -07:00
  • e53df5b07e stdinc: c23 deprecated _Static_assert in favor of static_assert Anonymous Maarten 2024-07-21 10:08:01 +02:00
  • bd27b89903 Prevent potential overflow in rectangle functions Sam Lantinga 2024-07-21 12:39:45 -07:00
  • 5d606eaae2 stdinc: c23 deprecated _Static_assert in favor of static_assert Anonymous Maarten 2024-07-21 10:08:01 +02:00
  • 22bfbdbc02 stdinc: c23 deprecated _Static_assert in favor of static_assert Anonymous Maarten 2024-07-21 10:08:01 +02:00
  • 4830fc4e40 Added more 8-bit blit test coverage Sam Lantinga 2024-07-21 11:11:02 -07:00
  • bab982f2e0 Don't recalculate the blit mapping when changing surfaces Sam Lantinga 2024-07-21 10:31:48 -07:00
  • 68cabc2837 Support SDL_EVENT_DROP_TEXT in Cocoa Dragon-Baroque 2024-07-16 19:55:20 +02:00
  • c040a02d6c Removed SDL_PROP_SURFACE_COLORSPACE_NUMBER Sam Lantinga 2024-07-21 08:43:51 -07:00
  • 4a7e95402f Sync SDL3 wiki -> header SDL Wiki Bot 2024-07-21 15:09:24 +00:00
  • e0fd59de64 Fixed floating point rectangles to be mathematically correct. Sam Lantinga 2024-07-21 00:36:42 -07:00
  • 9e978740c3 Removed unnecessary casts Sam Lantinga 2024-07-21 00:36:28 -07:00
  • 35ae56d344 Switched the rectangle tests to listing by name instead of by number. Sam Lantinga 2024-07-21 00:31:11 -07:00
  • f244f08165 Fixed building with SDL_VIDEO_OPENGL_WGL disabled (thanks @Please-just-dont!) Sam Lantinga 2024-07-20 21:24:02 -07:00
  • 78991bdb13 Revert "SDL_BlitSurfaceUnchecked() should invalidate the map when switching from scaled to unscaled blits" Sam Lantinga 2024-07-20 21:17:15 -07:00
  • b0a6afaa35 Updated documentation for SDL_GetPreferredLocales() Sam Lantinga 2024-07-20 20:12:55 -07:00
  • bce6d5b421 Actually, we still need size overflow checking in SDL_BlitSurfaceUncheckedScaled() Sam Lantinga 2024-07-20 18:53:31 -07:00
  • 9bdb3e8b6a Moved some error checking out of SDL_BlitSurfaceUncheckedScaled() Sam Lantinga 2024-07-20 18:51:42 -07:00
  • 1f3b2fc8b3 SDL_BlitSurfaceUnchecked() should invalidate the map when switching from scaled to unscaled blits Sam Lantinga 2024-07-20 18:44:23 -07:00
  • 979c71b18b Sync SDL3 wiki -> header SDL Wiki Bot 2024-07-21 01:22:39 +00:00
  • 6209c71f54 Added SDL_BlitSurface9Grid() and SDL_RenderTexture9Grid() Sam Lantinga 2024-07-20 16:39:09 -07:00
  • 9294476788 Added SDL_WriteSurfacePixel() and SDL_WriteSurfacePixelFloat() Sam Lantinga 2024-07-20 17:52:45 -07:00
  • 12e50d17a2 Removed SDL_SoftStretch() from the public API Sam Lantinga 2024-07-20 15:52:42 -07:00
  • 5ce81ebcc9 Corrected blit colorkey documentation Sam Lantinga 2024-07-20 15:44:44 -07:00
  • 67fa7a9138 SDL_BlitSurface() and SDL_BlitSurfaceScaled() now have a const dstrect parameter Sam Lantinga 2024-07-20 15:41:53 -07:00
  • 198caa54a1 Added SDL_RenderTextureTiled() Sam Lantinga 2024-07-20 13:47:01 -07:00
  • 9e55ee9391 Added SDL_BlitSurfaceTiledWithScale() Sam Lantinga 2024-07-20 14:37:49 -07:00
  • f47ddbf1ac Added SDL_BlitSurfaceTiled() Sam Lantinga 2024-07-20 11:53:36 -07:00
  • 71d2662a39 Fixed warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data Sam Lantinga 2024-07-20 11:16:53 -07:00
  • 03bb2c17ed Enable texture wrapping for SDL_RenderGeometry() Sam Lantinga 2024-07-17 22:49:05 -07:00
  • 6a74ade73d Make SDL_URIToLocal available to multiple platforms Frank Praznik 2024-07-19 11:42:53 -04:00
  • 6a62c54b93 Remove a duplicate definition that is already in SDL_guid.h hwsmm 2024-07-20 16:02:33 +09:00
  • e1aa995732 audio: recording devices also need to update their streams' channel maps. Ryan C. Gordon 2024-07-19 20:35:18 -04:00
  • 068c785491 audio: Assigning a device channel map to an audio stream was quietly failing. Ryan C. Gordon 2024-07-19 20:25:23 -04:00
  • 6d39c18dd3 ci: test the MSVC development archive for targeting arm64ec Anonymous Maarten 2024-07-19 19:54:29 +02:00
  • 476b987f1b intrinsics: avx, avx2 and avx512f are (currently) unsupported on arm64ec Anonymous Maarten 2024-07-20 00:10:19 +02:00
  • b3b74e8aed Fix SDL3ConfigVersion.cmake of VC development package for ARM64EC Anonymous Maarten 2024-07-19 22:49:18 +02:00
  • aafbbe4ebc Fixed warning C4090: 'function': different 'const' qualifiers Sam Lantinga 2024-07-19 15:38:41 -07:00
  • 64cb431ead Updated migration documentation for functions that now return temporary memory Sam Lantinga 2024-07-19 14:45:47 -07:00
  • f0a839b9b7 Removed SDL 2.1 note, we're not going to revisit this for SDL 3.0 Sam Lantinga 2024-07-19 13:38:41 -07:00
  • cc47969a79 cmake: actually check ARM64EC Anonymous Maarten 2024-07-19 20:11:58 +02:00
  • fc8cd657a5 Sync SDL3 wiki -> header SDL Wiki Bot 2024-07-19 20:08:05 +00:00
  • 02dceed760 Simpler pointer arithmetic Sam Lantinga 2024-07-19 12:51:59 -07:00
  • b80784fced SDL_GetGamepadBindings() follows the SDL_GetStringRule Sam Lantinga 2024-07-19 12:47:04 -07:00
  • 93db5ef135 Fixed documentation for SDL_GlobDirectory() Sam Lantinga 2024-07-19 12:42:37 -07:00
  • 0079b6d45f SDL_GetTouchFingers() follows the SDL_GetStringRule Sam Lantinga 2024-07-19 12:39:34 -07:00
  • 975457cfb6 Sync SDL3 wiki -> header SDL Wiki Bot 2024-07-19 19:23:24 +00:00
  • a340de6196 The candidates in SDL_EVENT_TEXT_EDITING_CANDIDATES should be a single allocation Sam Lantinga 2024-07-19 12:07:19 -07:00
  • bebde1c4c9 Make sure we're not trying to add temporary memory twice Sam Lantinga 2024-07-19 12:06:30 -07:00
  • 71a60d4c0e Updated documentation for functions that return temporary memory Sam Lantinga 2024-07-19 10:54:27 -07:00
  • 68322ac851 Ensure that all functions that follow the SDL_GetStringRule return temporary memory Sam Lantinga 2024-07-19 09:50:54 -07:00
  • fd9fe1bb7b Renamed event memory to temporary memory, since it's not just used for events Sam Lantinga 2024-07-19 09:50:25 -07:00
  • c4eac60000 SDL_GetClipboardData() follows the SDL_GetStringRule Sam Lantinga 2024-07-19 11:08:03 -07:00
  • 61a7a0e579 SDL_GUIDToString() follows the SDL_GetStringRule Sam Lantinga 2024-07-19 09:08:17 -07:00
  • 892df4bf4b SDL_GetWindowICCProfile() follows the SDL_GetStringRule Sam Lantinga 2024-07-18 22:20:17 -07:00
  • eb22fcce35 SDL_GetTouchDevices() follows the SDL_GetStringRule Sam Lantinga 2024-07-18 22:15:11 -07:00
  • 856d598d6e SDL_GetSensors() follows the SDL_GetStringRule Sam Lantinga 2024-07-18 22:10:29 -07:00
  • 4f8c348402 SDL_GetPreferredLocales() follows the SDL_GetStringRule Sam Lantinga 2024-07-18 22:07:05 -07:00
  • 9be73ed7c5 SDL_GetMice() follows the SDL_GetStringRule Sam Lantinga 2024-07-18 17:29:24 -07:00
  • 6ca18ed0e5 SDL_GetKeyboards() follows the SDL_GetStringRule Sam Lantinga 2024-07-18 17:18:56 -07:00
  • 5ce0aacaa4 SDL_GetGamepads() follows the SDL_GetStringRule Sam Lantinga 2024-07-18 17:04:57 -07:00
  • 4961af4569 SDL_GetJoysticks() follows the SDL_GetStringRule Sam Lantinga 2024-07-18 17:13:33 -07:00
  • b32c9615a7 SDL_GetHaptics() follows the SDL_GetStringRule Sam Lantinga 2024-07-18 17:08:30 -07:00
  • 9de8cb888a SDL_GetFullscreenDisplayModes() follows the SDL_GetStringRule Sam Lantinga 2024-07-18 17:02:47 -07:00
  • 9758e102bc SDL_GetDisplays() follows the SDL_GetStringRule Sam Lantinga 2024-07-18 16:44:56 -07:00
  • 01199469de SDL_GetCameras() follows the SDL_GetStringRule Sam Lantinga 2024-07-18 16:33:52 -07:00
  • 0fe6603747 SDL_GetCameraSupportedFormats() follows the SDL_GetStringRule Sam Lantinga 2024-07-18 09:44:06 -07:00
  • 637e9700dd Standardize placement of '*' in function declarations Sam Lantinga 2024-07-18 08:54:50 -07:00
  • bdafc8e212 SDL_GetWindows() follows the SDL_GetStringRule Sam Lantinga 2024-07-18 08:30:50 -07:00
  • 8ca6caeda5 SDL_GetAudioPlaybackDevices() and SDL_GetAudioRecordingDevices() follow the SDL_GetStringRule Sam Lantinga 2024-07-18 08:26:29 -07:00
  • bb96320cc4 Make sure we always copy the data returned using SDL_GetStringRule Sam Lantinga 2024-07-18 15:56:41 -07:00
  • ef884c8aa6 Transfer event memory between the local pool and the event queue Sam Lantinga 2024-07-19 00:19:08 -07:00
  • f95ecac300 Added SDL_ClaimEventMemory() Sam Lantinga 2024-07-18 18:04:49 -07:00
  • 2816745f48 Allow passing a pointer to SDL_FreeEventMemory() Sam Lantinga 2024-07-18 10:32:13 -07:00
  • 217330a7b3 Made return value descriptions more consistent across the API Sam Lantinga 2024-07-18 00:30:33 -07:00
  • d73c7311d5 Clarify that the SDL_GetStringRule means that SDL will automatically free the memory later. Sam Lantinga 2024-07-17 23:20:23 -07:00
  • 0d24b6e9f3 wayland: Use the compositor provided size during state transitions Frank Praznik 2024-07-18 16:33:01 -04:00
  • 25559faaea emscripten: restore key event prevent default behaviour Charlie Birks 2024-07-19 11:19:59 +01:00
  • 6e931bee01 emscripten: restore key event prevent default behaviour Charlie Birks 2024-07-19 11:19:59 +01:00
  • f8c1cd6622 ci: build MSVC workflows using Ninja generator Anonymous Maarten 2024-07-18 21:56:35 +02:00
  • a2a1d2de66 Add HAVE_UNSETENV to preprocessor guard Anonymous Maarten 2024-07-19 10:04:16 +02:00
  • 2d1d3d9fb2 cmake: fix building UWP with non-MSVC generator Anonymous Maarten 2024-07-18 22:32:49 +02:00
  • ccebbb6c6e Fix UWP build in non-UNICODE mode Anonymous Maarten 2024-07-19 00:28:49 +02:00
  • c59771d7fc cmake: detect ARM64EC Anonymous Maarten 2024-07-18 21:49:32 +02:00
  • fd32342ced ci: build MSVC workflows using Ninja generator Anonymous Maarten 2024-07-18 20:27:46 +02:00
  • ab4370c247 cmake: detect ARM64EC and enable SDL_LIBC by default Anonymous Maarten 2024-07-18 20:25:46 +02:00
  • 7fb8b62a4d cmake: fix building UWP with non-MSVC generator Anonymous Maarten 2024-07-18 20:24:54 +02:00
  • 11c0dfbdfe Fix UWP build in non-UNICODE mode Anonymous Maarten 2024-07-18 20:23:47 +02:00
  • 7d83e03ac2 Fix KMSDRM double buffering. vanfanel 2024-07-18 21:21:52 +02:00
  • 5ab1151508 Fix KMSDRM double buffering. vanfanel 2024-07-18 21:21:52 +02:00
  • 9af7a80767 OpenGL ES is still available on iOS Sam Lantinga 2024-07-18 09:27:16 -07:00
  • e949f12f63 Sync SDL3 wiki -> header SDL Wiki Bot 2024-07-18 01:04:46 +00:00
  • 38a301a3f9 Added automated tests to verify SDL_ClearSurface() and SDL_PremultiplySurfaceAlpha() Sam Lantinga 2024-07-17 16:30:45 -07:00
  • 02a072a1b7 Added SDL_ClearSurface() and SDL_ReadSurfacePixelFloat() Sam Lantinga 2024-07-17 16:25:00 -07:00
  • b07bd55baf Fixed use of SDL_expand_byte after flipping from bit loss to bit count Sam Lantinga 2024-07-17 15:38:44 -07:00
  • cd25cb3435 Check SDL_LockSurface() return value Sam Lantinga 2024-07-17 14:07:33 -07:00
  • eefcb62588 SDL_MUSTLOCK() returns true once a surface has the RLE flag set Sam Lantinga 2024-07-17 14:03:53 -07:00
  • de6595bda6 SDL_MUSTLOCK() should return true if the surface needs locking even if it's currently locked. Sam Lantinga 2024-07-17 13:35:18 -07:00
  • 334962b056 Enhancements for SDL_PremultiplyAlpha() Sam Lantinga 2024-07-17 12:50:56 -07:00
  • b99ea1ff75 wayland: Add SDL_VIDEO_DOUBLE_BUFFER support Frank Praznik 2024-07-17 18:24:47 -04:00