299 Commits
Author SHA1 Message Date
biroder 244ae85833 Bump SDL to fix build with CMake 4.x 2025-07-02 14:22:55 +03:00
Antoni Spaanderman 89f3ebef3c fix windows build by adding a library (#1488) 2025-06-23 12:08:27 +02:00
Kevin Nakamura 1eafd6f516 Explicitly set -std=gnu99 (via CMAKE_C_STANDARD) for linux targets when using the bundled feature. (#1480) 2025-06-22 21:25:29 -04:00
Antoni Spaanderman 829071af17 suppress warnings: unknown edition and unexpected cfg (#1471) 2025-03-26 09:07:07 +01:00
Antoni Spaanderman 6534b96f3b use TTF_GlyphIsProvided32 and TTF_GlyphMetrics32 instead of the 16 bit ones (#1414)
* use TTF_GlyphIsProvided32 and TTF_GlyphMetrics32 instead of the 16 bit ones

* update changelog
2025-03-21 14:22:14 +01:00
Alexander Cieslewiczandciciplusplus dc6f555c31 Replace slashes in NDK path when building for android on windows (#1462)
On windows the ANDROID_NDK_HOME path can use backslashes. This causes
issues in cmake. Replaces \ with / on windows compilation hosts.

Co-authored-by: ciciplusplus <ciciplusplus@gmail.com>
2025-03-19 09:12:14 +01: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 b98948ce71 Merge pull request #1389: misc fixes/clippy suggestions 2024-06-13 17:01:53 +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 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 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
Sander 02354b2dd4 Fix static linking 2024-05-05 20:07:18 +00:00
Antoni Spaanderman 3e1a370bc7 add null terminator to string that is passed to a c function
or use c string literal instead
2024-04-29 06:55:48 +02:00
Lzu Tao 6e1b82e08a do not init submodule if not enabling bundle feature 2024-04-29 07:43:02 +07:00
Antoni Spaanderman edc92fe328 apply clippy fixes on sdl2-sys/build.rs 2024-04-28 22:26:37 +02:00
Antoni Spaanderman 3487ca3291 fix copy_ex in a different way that does not require changing sdl2-sys/sdl_bindings.rs 2024-04-24 17:16:45 +02:00
Antoni Spaanderman b3d1bd7b85 apply clippy fixes 2024-04-24 15:51:30 +02:00
Antoni Spaanderman 1522212684 fix undefined behavior in copy_ex 2024-04-24 07:18:29 +02:00
Maia 0e8488902d Add Zlib license to sdl2-sys 2024-04-05 17:01:42 +02:00
Agoston Szepessy 04cb0d4d9d Bump to 0.1.47 to make it work with VS 2022 2024-02-22 23:32:53 -08:00
Agoston Szepessy fbb5368f71 Bump minimum cmake dependency to 0.1.4
The `profile()` function used in `build.rs` was added starting with
version 0.1.4. Because of this, building projects that depend on SDL2
with `-Zminimal-versions` fails.
2024-02-22 22:58:34 -08:00
Fabrice Desclaux a995dfe6a8 Add primary selection API 2024-01-20 21:02:15 +01:00