Commit Graph

  • 009318c5a9 Fix warnings when building with -DSDL_LIBC=OFF on Linux Anonymous Maarten 2024-03-18 20:39:47 +01:00
  • f59dbf6a12 cmake: add -Wimplicit-fallthrough warning Anonymous Maarten 2024-03-18 17:56:22 +01:00
  • 086a7a4687 Fixed signed/unsigned comparison warning Sam Lantinga 2024-03-18 09:48:45 -07:00
  • 491f18eea3 Fixed uninitialized signal_id Sam Lantinga 2024-03-18 09:12:51 -07:00
  • 90e2551c4f Sort the SDL API symbols Sam Lantinga 2024-03-18 09:03:36 -07:00
  • 0d0aaa2d75 Sync SDL3 wiki -> header SDL Wiki Bot 2024-03-18 15:57:23 +00:00
  • 92d01ef12a You can pass NULL to SDL_GetPathInfo() and SDL_GetStoragePathInfo() to test for the existence of a file. Sam Lantinga 2024-03-18 08:43:22 -07:00
  • ebb6582534 wayland: Handle the toplevel export property as a string Frank Praznik 2024-03-18 11:39:11 -04:00
  • 9072b994f7 src/filesystem/unix/SDL_sysfilesystem.c add <stdio.h> inclusion Petar Popovic 2024-03-18 13:22:12 +01:00
  • 6af979975f Add missing break Mathieu Eyraud 2024-03-18 13:09:55 +01:00
  • fc26d5d328 Sync SDL3 wiki -> header SDL Wiki Bot 2024-03-18 04:28:30 +00:00
  • a1a0156756 Renamed SDL_SizeIO() SDL_GetIOSize() Sam Lantinga 2024-03-17 17:13:39 -07:00
  • df0f5deddf Added SDL_IOFromDynamicMem() Sam Lantinga 2024-03-17 17:11:20 -07:00
  • 350a49e1cc PSP/Joystick: fix formatting rofl0r 2024-03-17 20:34:26 +01:00
  • bc19e38728 PSP: don't block on joystick event query rofl0r 2024-03-17 20:15:53 +01:00
  • 12245e4c75 PSP/Joystick: fix formatting rofl0r 2024-03-17 20:34:26 +01:00
  • 7169db1e62 PSP: don't block on joystick event query rofl0r 2024-03-17 20:15:53 +01:00
  • c17d2246fb PSP/Joystick: fix formatting rofl0r 2024-03-17 20:34:26 +01:00
  • 86f223d664 PSP: don't block on joystick event query rofl0r 2024-03-17 20:15:53 +01:00
  • 747300b356 SDL file times are 64-bit integers representing nanoseconds since the Unix epoch Sam Lantinga 2024-03-17 13:11:13 -07:00
  • 9153287fa0 Added storage filesystem operations to the exported function list Sam Lantinga 2024-03-17 13:02:35 -07:00
  • e7b9f75e62 Sync SDL3 wiki -> header SDL Wiki Bot 2024-03-17 19:29:22 +00:00
  • d65ae710a1 Renamed SDL_LogGetOutputFunction() and SDL_LogSetOutputFunction() to match SDL 3.0 naming convention Sam Lantinga 2024-03-17 09:50:28 -07:00
  • d8a54cd4f8 Updated "see also" references to be more consistent Sam Lantinga 2024-03-17 11:00:15 -07:00
  • 228a2954d7 Added a mapping for the Defender Joystick Cobra R4 (thanks @kotenok2000!) Sam Lantinga 2024-03-17 12:12:31 -07:00
  • 3d6d4ca2cd Use the CRC as part of the unique key for mappings Sam Lantinga 2024-03-17 12:12:07 -07:00
  • 2d6c100058 Added a mapping for the Defender Joystick Cobra R4 (thanks @kotenok2000!) Sam Lantinga 2024-03-17 12:12:31 -07:00
  • 07f04bb35e Use the CRC as part of the unique key for mappings Sam Lantinga 2024-03-17 12:12:07 -07:00
  • d972244d3a Added a mapping for the Defender Joystick Cobra R4 (thanks @kotenok2000!) Sam Lantinga 2024-03-17 12:12:31 -07:00
  • 4697153d1e Use the CRC as part of the unique key for mappings Sam Lantinga 2024-03-17 12:12:07 -07:00
  • 9d83c0a65d filesystem: Rename some internal symbols to remove "FSops" terminology. Ryan C. Gordon 2024-03-17 12:04:43 -04:00
  • 4ecea42fb0 testautomation_math.c: use isinf(V) instead of fpclassify(V) == FP_INFINITE Petar Popovic 2024-03-17 18:43:25 +01:00
  • cb39740cfd wayland: Remove additional instance of setting the viewport source rect Frank Praznik 2024-03-17 13:10:48 -04:00
  • a206e1e3c0 Sync SDL3 wiki -> header SDL Wiki Bot 2024-03-17 15:40:25 +00:00
  • 2f78e5f321 All storage interface functions are optional Sam Lantinga 2024-03-16 18:33:36 -07:00
  • f460f42e70 Added filesystem operations to SDL_Storage Sam Lantinga 2024-03-16 11:03:41 -07:00
  • 7a088527c1 Removed the reserved parameter from SDL_EnumerateDirectoryCallback Sam Lantinga 2024-03-16 09:18:32 -07:00
  • ec3ba387d1 Added SDL_OpenFileStorage() for local file storage Sam Lantinga 2024-03-16 09:08:00 -07:00
  • ee0a23c7ab The storage ready callback is optional Sam Lantinga 2024-03-16 08:45:01 -07:00
  • db0c1d7aeb Added portable file and directory operations (thanks @icculus!) Sam Lantinga 2024-03-16 08:15:13 -07:00
  • fe5c34d4bd Renamed storage functions to match SDL 3.0 naming convention Sam Lantinga 2024-03-16 07:40:01 -07:00
  • 4c3e5cf1d1 wayland: Always use the entire buffer for the viewport source Frank Praznik 2024-03-17 10:42:06 -04:00
  • 24aedc1439 wayland: Always use the entire buffer for the viewport source Frank Praznik 2024-03-17 10:42:06 -04:00
  • 1bab87399f wayland: Always use the entire buffer for the viewport source Frank Praznik 2024-03-17 10:38:55 -04:00
  • e5812a9fd2 testpen: don't include math.h Anonymous Maarten 2024-03-16 19:52:37 +01:00
  • 2f13f66c71 testautomation: fix renderer leak in video tests Anonymous Maarten 2024-03-16 17:59:36 +01:00
  • 9ccde0def4 Sync SDL3 wiki -> header SDL Wiki Bot 2024-03-16 14:20:24 +00:00
  • 744227e6ab Add SDL_storage Ethan Lee 2024-03-08 14:38:46 -05:00
  • 4fc749443f Added dialog files to the Xcode build Sam Lantinga 2024-03-15 16:27:02 -07:00
  • 25c64a954d Removed UIKit_SetWindowMouseGrab(), mouse grab isn't supported on iOS Sam Lantinga 2024-03-15 16:26:40 -07:00
  • 41e187be4f Adjust Steam button names to match SDL Sam Lantinga 2024-03-15 16:05:19 -07:00
  • 572e088b8f SDL_IOFromMem/SDL_IOFromConstMem: free userdata on close Anonymous Maarten 2024-03-15 23:55:29 +01:00
  • ea60c2079b dialog: Pass the Wayland or X11 parent window handle to the file dialog portal Frank Praznik 2024-03-15 13:30:21 -04:00
  • d523cd069f dialog: Detect if the file chooser portal is available Frank Praznik 2024-03-15 13:29:02 -04:00
  • 19764ffcc8 wayland: Add the xdg-foreign-unstable-v2 protocol Frank Praznik 2024-03-15 11:36:05 -04:00
  • db31367999 testffmpeg: use SDL_free instead of free Anonymous Maarten 2024-03-15 21:21:59 +01:00
  • f8c2ec5462 testffmpeg: use Uint64 instead of __u64 Anonymous Maarten 2024-03-15 21:21:35 +01:00
  • 2b45452dd5 Adding comments to init-flags SDL_INIT_AUDIO and SDL_INIT_SENSOR that they imply SDL_INIT_EVENTS Petar Popovic 2024-03-15 20:10:54 +01:00
  • fa7ec59ecd Sync SDL3 wiki -> header SDL Wiki Bot 2024-03-15 19:59:26 +00:00
  • ec6de7017c Merge pull request #9254 from icculus/sdl3-rwops-hidden-interface Ryan C. Gordon 2024-03-15 15:58:41 -04:00
  • b7cda16613 iostream: Final fixes before merging. Ryan C. Gordon 2024-03-15 15:34:29 -04:00
  • c175eb488c iostream: Note that the new name has nothing to do with C++'s iostream class. Ryan C. Gordon 2024-03-15 01:16:31 -04:00
  • 5a21d87e69 rwops: Changed filenames that reference "rwops" to "iostream". Ryan C. Gordon 2024-03-14 23:30:59 -04:00
  • 6776b6108a iostream: "free*" params should be "closeio". Ryan C. Gordon 2024-03-14 23:14:46 -04:00
  • 5440fd7d12 README-migration.md: Fixed some RWops mistakes. Ryan C. Gordon 2024-03-14 23:13:26 -04:00
  • 3a344cf877 rwops: Fixed some SDL2 symbols that got missed. Ryan C. Gordon 2024-03-14 21:57:21 -04:00
  • 5f64cc511e rwops: Fixed build on Android. Ryan C. Gordon 2024-03-14 19:35:02 -04:00
  • fc7afa9cbf rwops: Renamed SDL_RWops to SDL_IOStream, and other related symbols. Ryan C. Gordon 2024-03-14 19:32:50 -04:00
  • fe33b2a81b rwops: Give implementations access to status value. Ryan C. Gordon 2024-03-14 13:43:22 -04:00
  • 447c29e65c include: Added missing RWops documentation. Ryan C. Gordon 2024-03-13 12:36:59 -04:00
  • cc58da4c63 rwops: Add SDL_GetRWStatus, make the statuses into an enum. Ryan C. Gordon 2024-03-13 12:29:17 -04:00
  • e35c304022 rwops: Add properties for some of the internal implementation details. Ryan C. Gordon 2024-03-13 10:12:14 -04:00
  • 7d4d8ccde0 rwops: Rename everything from SDL_RWxxx to SDL_XxxRW. Ryan C. Gordon 2024-03-12 16:01:59 -04:00
  • 655ceb3b31 rwops: Renamed SDL_CreateRW and SDL_DestroyRW to SDL_OpenRW and SDL_CloseRW. Ryan C. Gordon 2024-03-12 09:01:37 -04:00
  • 525919b315 rwops: Reworked RWops for SDL3. Ryan C. Gordon 2024-03-12 01:14:38 -04:00
  • 495e432fb9 Sync SDL3 wiki -> header SDL Wiki Bot 2024-03-14 22:41:24 +00:00
  • 70c2e15615 Add file dialogs Semphris 2024-03-10 17:27:42 -04:00
  • b8daf14fe5 If a mapping specifies a crc, don't match for controllers that don't have that CRC Sam Lantinga 2024-03-14 13:26:56 -07:00
  • 30e93b40c2 If a mapping specifies a crc, don't match for controllers that don't have that CRC Sam Lantinga 2024-03-14 13:26:56 -07:00
  • 6c11449cd4 Added a note for the SDL_CommonEvent type Sam Lantinga 2024-03-14 09:00:47 -07:00
  • 209a87bf24 Added missing default case (thanks @sezero!) Sam Lantinga 2024-03-14 08:52:59 -07:00
  • 442073f379 Added missing reserved field in SDL_CameraDeviceEvent (thanks @Saalvage!) Sam Lantinga 2024-03-14 08:51:48 -07:00
  • 9bef331dc8 Note that SDL_UserEvent and SDL_Event type are intentionally Uint32 Sam Lantinga 2024-03-14 08:49:02 -07:00
  • 717f297849 Add 'wl_list_for_each_safe' to the clang-format macro list Frank Praznik 2024-03-14 10:09:47 -04:00
  • 525c317ed9 wayland: Add cursor-shape-v1 protocol support Frank Praznik 2024-03-14 09:49:40 -04:00
  • 3875ef4552 Removed duplicated line (thanks @sechshelme!) Sam Lantinga 2024-03-13 13:47:32 -07:00
  • 4686a737a9 wayland: Minor cursor code cleanup Frank Praznik 2024-03-13 11:52:51 -04:00
  • 1973edb9b7 WIN_UpdateKeymap: cleanup code a bit Dimitriy Ryazantcev 2024-03-13 17:04:03 +02:00
  • 27b1b6d4eb Add checks for memfd_create() and posix_fallocate() to the autotools build Frank Praznik 2024-03-13 11:21:14 -04:00
  • 59d4a39456 Add checks for memfd_create() and posix_fallocate() to the autotools build Frank Praznik 2024-03-13 11:21:14 -04:00
  • 24269007d8 Fix build (C90 declaration order) Frank Praznik 2024-03-12 22:05:37 -04:00
  • d849036927 wayland: Allocate the cursor shared memory buffer entirely in memory, if possible. Frank Praznik 2024-03-12 17:39:32 -04:00
  • 0a86f8eb6e Move some code blocks inside SDL_VIDEO_RENDER_SW, where it belongs (#9259) Anthony 2024-03-13 04:15:46 +00:00
  • 88bdc028ec Fix build (C90 declaration order) Frank Praznik 2024-03-12 22:05:37 -04:00
  • d3c89bb479 wayland: Allocate the cursor shared memory buffer entirely in memory, if possible. Frank Praznik 2024-03-12 17:39:32 -04:00
  • c2e9693de5 wayland: Add cursor-shape-v1 protocol support Frank Praznik 2024-03-12 19:49:36 -04:00
  • 9bdb992925 wayland: Allocate the cursor shared memory buffer entirely in memory, if possible. Frank Praznik 2024-03-12 17:39:32 -04:00
  • 41b7036f37 testffmpeg: added support for EGL OES frame formats Sam Lantinga 2024-03-12 16:12:08 -07:00
  • 5be47255ba Removed incorrect mapping for a HORI controller Sam Lantinga 2024-03-11 17:11:20 -07:00
  • e54774faca Removed incorrect mapping for a HORI controller Sam Lantinga 2024-03-11 17:11:20 -07:00