2781 Commits

Author SHA1 Message Date
Cobrand
c06bf403ed Merge pull request #1409 from HalloIhr0/metal-symbol-lookup-fix
Added macos check to SDL_Metal_DestroyView call
2024-06-15 17:09:40 +02:00
Cobrand
ebd9a246e1 Merge pull request #1408 from antonilol/version
Allow comparing Version by deriving PartialOrd and Ord, add constant with the version the bindings were compiled with
2024-06-15 17:02:09 +02:00
Antoni Spaanderman
2d6d87213f fix docs and add to changelog 2024-06-15 16:36:47 +02:00
Antoni Spaanderman
232ab1501c Allow comparing Version by deriving PartialOrd and Ord, add constant with the version the bindings were compiled with 2024-06-15 16:35:58 +02:00
Cobrand
0b740d968b Merge pull request #1407 from nathanvoglsam/use_ios_framework
Add new use_ios_framework for linking to SDL2.framework on iOS
2024-06-15 16:06:26 +02:00
HalloIhr0
39af724d26 Added macos check to SDL_Metal_DestroyView call 2024-06-15 15:06:44 +02:00
Nathan Voglsam
2a9eb7d9bb Update readme and changelog 2024-06-15 14:06:34 +10:00
Cobrand
380c6f1c98 Changes to Readme 2024-06-14 17:02:52 +02:00
Nathan Voglsam
d5d9ea1ab4 Add new use_ios_framework for linking to SDL2.framework on iOS 2024-06-14 18:50:14 +10:00
Cobrand
4d5a1d9bc4 Prepare for 0.37.0 2024-06-13 18:27:12 +02:00
Cobrand
48509eaa82 Merge pull request #1390 2024-06-13 17:21:09 +02:00
Cobrand
b3ac580054 Merge pull request #1404: make SdlDrop zero sized 2024-06-13 17:11:01 +02:00
Cobrand
b98948ce71 Merge pull request #1389: misc fixes/clippy suggestions 2024-06-13 17:01:53 +02:00
Cobrand
30bf63f28d Merge pull request #1406 from Cobrand/master
Rollup of bindgen update to 2.26.0, event.is_touch(), FP render functions
2024-06-13 16:37:18 +02:00
Cobrand
8b44c79742 fix pipeline for sdl 2.26 (2) 2024-06-13 16:20:09 +02:00
Cobrand
3cc0976abb fix pipeline for sdl 2.26 2024-06-13 16:09:10 +02:00
Cobrand
c916cb4566 fmt 2024-06-13 15:52:12 +02:00
chqoot-vgxu
b71573c10a Add RenderCopyF and RenderCopyExF wrappers 2024-06-13 15:45:28 +02:00
chqoot-vgxu
8a4c9b7571 Add support for FP render functions 2024-06-13 15:45:19 +02:00
Cobrand
fc3e3737b6 Add Event::is_touch() 2024-06-13 15:44:00 +02:00
Cobrand
0ab402a616 fix bindgen 2024-06-13 15:37:12 +02:00
Cobrand
22a8c3114f Merge pull request #1397 from sandydoo/fix-static-linking
Fix static linking
2024-06-13 12:28:07 +02:00
Cobrand
79f9ac7de5 Merge pull request #1398 from Player01osu/fix-rect-shifted-logic
Fix rect shifted logic
2024-06-13 12:23:05 +02:00
Cobrand
c4ed97c4be Merge pull request #1394 from antonilol/palette_doc
fix function docs of Palette::new
2024-06-13 12:19:05 +02:00
Cobrand
4e9af374fb Merge pull request #1393 from tesuji/needless-bundled
do not init submodule if not enabling bundle feature
2024-06-13 12:18:37 +02:00
Cobrand
09dbf6f1d5 Merge pull request #1391 from evmar/doc-fix
fix documentation on EventPump
2024-06-13 12:18:25 +02:00
Cobrand
c02e391967 Merge pull request #1386 from MichaelJ10/patch-1
Added a SDL_SetWindowResizable for sdl2::video::Window
2024-06-13 11:52:30 +02:00
Cobrand
726613ed81 Merge pull request #1385 from Noahnoah55/master
Upgrade to raw-window-handle 0.6
2024-06-13 11:51:47 +02:00
Cobrand
28063b79be Merge pull request #1380 from rofferom/controller-map-vendor-product
controller: Add vendor_id() and product_id()
2024-06-13 11:51:23 +02:00
Cobrand
7596bbd53d Merge pull request #1354 from marc0246/vulkano-example
Fix UB in the vulkano example
2024-06-13 11:50:40 +02:00
Cobrand
4756373b46 Merge pull request #1375 from AgostonSzepessy/bump-cmake-dependency
Bump minimum cmake dependency to 0.1.47
2024-06-13 11:44:30 +02:00
Cobrand
ba37d2e596 Merge pull request #1378 from hvox/master
Fix bug in Keycode type
2024-06-13 11:44:03 +02:00
Cobrand
f3083ef3d0 Merge pull request #1405 from Cobrand/master
Fix pipeline
2024-06-13 11:41:41 +02:00
Cobrand
9dea5a6a5b screw this, remove video test 2024-06-12 19:53:53 +02:00
Cobrand
6e0eca4fab test fix vcpkg 2024-06-12 19:39:13 +02:00
Antoni Spaanderman
995d2399fc fix changelog: remove duplicate entry and fix spelling 2024-06-11 18:44:00 +02:00
Antoni Spaanderman
a8fb6bdfc1 update changelog 2024-06-11 18:40:48 +02:00
Antoni Spaanderman
f2e2f24559 update changelog 2024-06-11 17:30:20 +02:00
Antoni Spaanderman
6a8f13b153 update changelog 2024-06-11 17:26:29 +02:00
Antoni Spaanderman
3fc0e7d46d make SdlDrop zero sized and use more conventional field name 2024-06-10 14:12:16 +02:00
Antoni Spaanderman
3bf53495cc use map_err 2024-06-10 13:18:29 +02:00
Antoni Spaanderman
fa0c28999f remove std::error::Error::description impls and add source impls
and fix a Display impl
2024-06-10 13:01:42 +02:00
Antoni Spaanderman
de06c73e68 fix use of deprecated {max,min}_value functions
and reduce heap allocations
2024-06-10 12:13:33 +02:00
Antoni Spaanderman
465034236c fix mutation through immutable pointer 2024-06-10 07:37:55 +02:00
player01osu
93be31c109 Fix rect shifted logic
Shifting rect should not offset by rect point.
2024-05-08 06:12:38 +07:00
Sander
02354b2dd4 Fix static linking 2024-05-05 20:07:18 +00:00
Antoni Spaanderman
7c6b24cae0 fix function docs of Palette::new
see https://wiki.libsdl.org/SDL2/SDL_AllocPalette
2024-04-30 07:27:49 +02:00
Antoni Spaanderman
c9c5bcb396 revert fix to copy_ex for now 2024-04-29 14:06:18 +02:00
Antoni Spaanderman
332355d0ea fix access through "too small" pointer and shrink unsafe block 2024-04-29 13:59:23 +02:00
Antoni Spaanderman
37c3213acb fix clippy::transmute_ptr_to_ref and remove allow attribute 2024-04-29 13:57:13 +02:00