Commit Graph

1587 Commits

Author SHA1 Message Date
Eric Warmenhoven
55be94212a
macOS: MoltenVK as xcframework (#16507) 2024-05-08 16:41:15 -07:00
Eric Warmenhoven
0415ed2f95
apple: Use C function from CoreFoundation instead of ObjC from Foundation (#16476) 2024-04-29 18:30:56 -07:00
Dionoid
c04bbd6d65
Added M2000 to core selection dropdown (#16479) 2024-04-29 18:29:39 -07:00
Eric Warmenhoven
70ac6d9541
iOS/tvOS: Better way of packaging Frameworks (#16468) 2024-04-25 10:09:58 -07:00
Eric Warmenhoven
6df643d138
iOS/tvOS: MoltenVK for simulators (#16463) 2024-04-23 21:35:55 -07:00
Eric Warmenhoven
c0366aba06
Apple misc (#16462)
* iOS/tvOS: Hide MoltenVK from Core List, again

* iOS/tvOS: Don't show certain core management options

* apple: Manage macOS/iOS/tvOS from one workspace

* iOS/tvOS: update-cores.sh tweaks
2024-04-23 15:53:35 -07:00
Eric Warmenhoven
9df59e4044
iOS/tvOS: fix framework creation (#16455) 2024-04-22 19:39:47 -07:00
Eric Warmenhoven
ca904a3f5d
iOS/tvOS: MoltenVK 1.2.8, and fix mame core signing (#16452) 2024-04-19 07:11:49 -07:00
Eric Warmenhoven
970f404392
build fix (#16446) 2024-04-18 06:09:46 -07:00
Eric Warmenhoven
5fd4eb905c
iOS QOL improvements (#16444)
* iOS/tvOS: bundle cores as frameworks as opposed to dylibs

* iOS/tvOS: update plist to indicate controller support

* iOS/tvOS: living within the sandbox

* iOS/tvOS: import content through share sheet

* iOS/tvOS: default audio sync off due to crash on background

* iOS/tvOS: don't try altkit if there's no reason to

* iOS/tvOS: enumerate cores for appstore distribution
2024-04-18 03:01:39 -07:00
Licaon_Kter
fee6ac3185
Bump AGP (#16380)
ref: https://issuetracker.google.com/issues/184872412

This is an issue of AGP 4.1. Updating AGP to 4.2 or above should fix it.

We've been fixing this for F-Droid for a while: https://gitlab.com/fdroid/fdroiddata/-/blob/master/metadata/com.retroarch.yml#L43
2024-03-22 06:43:05 -07:00
libretroadmin
06fa5325f8 Update version 2024-03-21 16:09:50 +01:00
Patrick Stankard
5452999b2a
Fix mouse grab behavior on Android (#16203)
* Add grab_mouse interface for Android
Makes mouse grabbing and 'Game Focus' work on Android with a real mouse
Properly handle relative mouse motion events on Android (SDK 28 and newer)

* Enable workflow_dispatch on CI Android

* Update android_mouse_calculate_deltas callsites

* Add RETRO_DEVICE_MOUSE to android_input_get_capabilities

* Use Handler to trigger UI events (toggle mouse, immersive mode) with 300ms delay

* Enable input_auto_mouse_grab by default for Android

* Handle RARCH_DEVICE_MOUSE_SCREEN in Android input driver

* Add android.hardware.type.pc to manifest

* Don't attempt to set pointer speed via scaling in android_mouse_calculate_deltas

* Keep x/y values within viewport resolution for screen mouse

* Use video_driver_get_size to get width/height

---------

Co-authored-by: Bernhard Schelling <14200249+schellingb@users.noreply.github.com>
2024-03-19 05:33:02 -07:00
Gabriel Morazán
ac694145f0
(UWP) Update .pfx key (#16317) 2024-03-02 10:33:03 -08:00
aerisarn
8b1e4a1ad0
MESA UWP Integration (#16285)
* [WINRT] Enable logging on __WINRT__ and bypass verbosidy in debug

* [UWP] wrong configuration prevents GLES to compile, common functions defines GL symbols

* [UWP] configure project to allow OPENGL on default configuration and copy MESA DLLs into UWP release

* [UWP] add MESA headers

* [UWP] add MESA EGL.lib needed for GLES context. However HAVE_OPENGL is better as GL cores use desktop version, so this is left for reference and to make the solution build with HAVE_OPENGLES

* [UWP] UWP is missing some GDI function definitions, implemented into MESA Gallium

* [UWP] Configure Release project too

* [UWP] Add mesa alpha-2 release dlls

* [UWP] allow griffin and vide_driver to have an OPENGL context

* [UWP] allow wgl context to work with mesa under WINRT

* [UWP] BUG: have to modify height/width getters and align them to MESA because the screen resolution is not right in gl context. Pending further investigation

* [UWP] fix ANGLE build

* [UWP] remove duplicate import code.

* (UWP) Cleanup filters file

* MESA screen destroy fix and Yabasanshiro hack. Align to alpha-2-hack tag

---------

Co-authored-by: Gabriel Morazán <35014183+GABO1423@users.noreply.github.com>
2024-03-02 09:36:17 -08:00
Eric Warmenhoven
7379d33801
tvOS Top Shelf (#16302)
This puts the History and Favorites playlists (up to five items each)
in the Top Shelf menu. In order for this to be enabled you must build
it yourself and change the app identifiers for the TV app and Top
Shelf extension, and add both of them to an app group.
2024-02-27 23:20:32 -08:00
Eric Warmenhoven
50f4807f88
tvOS: when cache is deleted, force assets.zip re-extraction (#16264)
Also including a script to make building assets.zip easier, for people
building from source themselves
2024-02-19 11:12:09 -08:00
Eric Warmenhoven
47df5e6547
Add icon for tvOS Top Shelf (#16252) 2024-02-18 08:22:50 -08:00
Eric Warmenhoven
ad48a74bb8
Update to MoltenVK 1.2.7 (#16199) 2024-02-04 11:58:25 -08:00
libretroadmin
e5029ffdfb Define HAVE_ACCESSIBILITY for MSVC UWP 2024-02-04 19:40:28 +01:00
Eric Warmenhoven
79e43e2bd4
Fix many warnings (#16180)
Also change iOS/tvOS to use system zlib instead of compiling it in
2024-01-31 09:15:14 -08:00
libretroadmin
ac353d1401 Bump version 2024-01-25 15:59:56 +01:00
Eric Warmenhoven
13e96e9567
Fix variable quoting issue (#16165) 2024-01-25 06:02:44 -08:00
kikmon
48205d5754
Added 2022 solution and updated github action flow to compile new targets (#16158)
Co-authored-by: papa <papa>
2024-01-23 22:50:42 -08:00
Eric Warmenhoven
bd6c34b576
Add HAVE_ACCESSIBILITY to iOS builds (#16154) 2024-01-22 10:06:32 -08:00
Eric Warmenhoven
cd9fb0d072
Adjust apple packaging so correct git version gets reported (#16139) 2024-01-21 18:13:07 -08:00
Eric Warmenhoven
d7852d5db9
Fix incremental macos/ios/tvos builds, and pull correct git version (#16089) 2024-01-09 00:18:05 -08:00
Eric Warmenhoven
272b66a5db
Make it easy to create a "portable" osx build (#16081)
Default to false, except steam builds where it's forced true; a
portable build has the behavior of putting all files next to the
application.
2024-01-07 07:58:06 -08:00
Eric Warmenhoven
07612483f2
Show git version in system information (fixes #16072) (#16076) 2024-01-04 23:12:59 -08:00
Eric Warmenhoven
089f7321c7
iOS: Allow changing the app icon (take 2) (#16034) 2023-12-24 16:36:49 -08:00
libretroadmin
3c564b8284 Revert "Revert "Revert "iOS: Allow changing the app icon (#16020)" (#16029)" (#16030)"
This reverts commit 8caf6c19b1.
2023-12-22 09:41:31 +01:00
LibretroAdmin
8caf6c19b1
Revert "Revert "iOS: Allow changing the app icon (#16020)" (#16029)" (#16030)
This reverts commit c06743678f.
2023-12-22 00:37:18 -08:00
LibretroAdmin
c06743678f
Revert "iOS: Allow changing the app icon (#16020)" (#16029)
This reverts commit 93f7bba6a5.
2023-12-21 23:15:41 -08:00
Eric Warmenhoven
93f7bba6a5
iOS: Allow changing the app icon (#16020) 2023-12-20 16:22:11 -08:00
Eric Warmenhoven
2ca9cf0b56
Rebuild of moltenvk for tvos (#15999) 2023-12-12 08:44:43 -08:00
Eric Warmenhoven
26918b25e0
Enable overlay support on tvos (#15987) 2023-12-09 04:48:22 -08:00
Jesse Talavera
17c9227a9c
Fix the build when XDelta is enabled on certain platforms (#15968)
* Rename the `MIN_MATCH` defined by xdelta3 to `XD3_MIN_MATCH`

- zlib defines its own macro by that name, but with a different value

* Don't redefine `SIZEOF_ARRAY` in xdelta3 if it already exists

* Don't define ssize_t in xdelta3, rely on libretro's definition instead

* Enable xdelta3 support in MSVC 2015-2019

* Fix some invalid MSBuild condition syntax

* Always build xdelta with XD3_USE_LARGESIZET as 1

* Fix an `#if` in task_patch.c

* Enable `HAVE_XDELTA` in the UWP build

* First crack at fixing Xdelta support for Android
2023-12-05 08:32:16 -08:00
Eric Warmenhoven
d2253c3de3
iOS/tvOS: create gl context as gles3 (#15958)
iOS 7+ supports gles3, which is backwards compatible with gles2. This
doesn't enable the glcore driver (which isn't working on ios yet), it
just changes the underlying context.

This fixes some of the rendering performance problems on mupen64plus_next.
2023-11-30 03:30:17 -08:00
Eric Warmenhoven
36d9bdc2da
iOS/tvOS: minor xcode cleanup (#15957)
This hopefully makes debug and release easier to manage by making
their C flags the same and moving the differences to the preprocessor
macros.
2023-11-30 03:30:08 -08:00
Eric Warmenhoven
d657e5b701
xdelta support on macos/ios/tvos (#15964) 2023-11-30 03:29:46 -08:00
Joe Osborn
46402732ba
update emscripten web testing docs (#15925) 2023-11-18 16:28:12 -08:00
Joe Osborn
0f4166a59f
Use ZipFS for web player asset bundle (#15924)
* wip

* fix mount path

* Fix path for zip bundle

* fix case where idbfs sets up correctly and filesystem initializes too early

* Use partfiles to keep each zip small

* use bufferview slices instead of resize to support firefox
2023-11-17 11:25:45 -08:00
Eric Warmenhoven
7237b6acfc
Enable HDR support in iOS. (#15871)
* Enable HDR support in iOS.

* Enable HDR support in tvOS.
2023-11-06 00:50:14 -08:00
Joe Osborn
862bebf687
(Emscripten) Modularize the JavaScript and clean up the web build (#15688)
* Increase emscripten stack size and decrease path size to fix emscripten builds broken since de45fc2

* use modularize flags for better-behaved javascript output

* makefile and loader changes

* use specialHTMLTargets to support modular access to canvas

* bind key events to canvas, not document

This way focus means focus and we can have multiple RA instances in
one page.

* Work around an emscripten bug in strict mode

* (Emscripten) Use console.error() for error messages

* increase asyncify stack size

* Fix `-lm` flag-related compile warnings in emscripten

---------

Co-authored-by: Rob Loach <robloach@gmail.com>
2023-11-02 13:25:50 -07:00
LibretroAdmin
249702a2e9
Update Android.mk - define HAVE_ACCESSIBILITY 2023-10-31 10:45:05 -07:00
Eric Warmenhoven
b71d09a31f
build fix - ios widget (#15809) 2023-10-16 06:56:45 -07:00
Eric Warmenhoven
793cb0cfa3
Fix ios-vulkan-ppsspp, and a small cloud save fix (#15801) 2023-10-15 05:45:03 -07:00
Eric Warmenhoven
777d96d20a
Clean up iOS/tvOS Xcode project, get the simulators working (#15799) 2023-10-14 06:57:09 -07:00
Eric Warmenhoven
b6ee341507
iOS 17/Xcode 15 update: Fix iOS Widget (#15796) 2023-10-13 10:28:56 -07:00
Eric Warmenhoven
7264c13b01
Fix Xcode 14.0.1 cross compile x86_64 build - only strip debugging symbols (#15786) 2023-10-11 03:54:08 +02:00
yoshisuga
437ed733f5
Fixed compiler flag check for swift (#15654) 2023-08-29 03:30:52 -07:00
yoshisuga
6b0a5c978e
tvOS: Add target conditionals to fix tvOS build (#15637)
* Add target conditionals to fix tvOS build

* Use TARGET_OS_IOS for iOS
2023-08-22 14:55:59 -07:00
yoshisuga
cb2cc58f98
iOS: Support a helper bar button to lock the current orientation (#15633)
* iOS: Support a helper bar button to lock the current orientation

* Moved init of shouldLockCurrentInterfaceOrientation property to iOS specific #if
2023-08-21 23:05:34 -07:00
GABO1423
1ccb049ecb
(UWP) Update x64 ANGLE Files (#15600) 2023-08-16 05:59:01 -07:00
libretroadmin
2d2cb04589 Merge video_coord_array.c into video_driver.c 2023-08-15 16:02:12 +02:00
GABO1423
f3e5bb9e06
(UWP) Build Flag Tweaks (#15594) 2023-08-14 17:40:14 -07:00
Eric Warmenhoven
ae78395d83
iOS/tvOS: rework JIT availability checks (#15590) 2023-08-14 06:41:43 -07:00
Eric Warmenhoven
ee75111a48
iOS/tvOS: Compile with -DHAVE_CHD (#11099) (#15588) 2023-08-12 16:33:32 -07:00
GABO1423
d0d1321ac1
(UWP) Remove ARM/ARM32 Build Configuration (#15564) 2023-08-09 01:39:05 -07:00
Eric Warmenhoven
893b0d142e
Cloud Sync (#15548)
* cloud sync - algorithm and abstract cloud storage API

* WebDAV cloud sync driver, and associated net_http improvements

* Cloud sync settings menu
2023-08-04 09:20:50 +02:00
neil4
0b9e5975f5
(Android) Only update retroarch.cfg on startup if version changed (#15536) 2023-07-31 05:11:59 +02:00
LibretroAdmin
6378a3aea2
Update index.html (Emscripten) - Remove banner 2023-07-17 15:46:22 +02:00
libretroadmin
a4b81527e0 Bump version 2023-07-17 12:46:49 +02:00
Eric Warmenhoven
b1fdbb9a37 netplay discovery through bonjour/mdns 2023-07-15 08:25:27 +02:00
Vlad Cuciureanu
2adca0f33c Fix typo in Emscripten README.md 2023-07-11 01:03:29 +02:00
Eric Warmenhoven
123b218725 Revert "Compile in CoreText font renderer on macos/ios/tvos"
This reverts commit 9320122252.
2023-07-11 01:03:14 +02:00
Eric Warmenhoven
e943ea71e7 Fix #15459 - add HAVE_STDIN_CMD to macos 2023-07-09 09:31:08 +02:00
Eric Warmenhoven
e961dcf550 iOS9 build fix 2023-07-04 20:21:37 +02:00
Eric Warmenhoven
544d78d7b7 Improve some log formatting on iOS/tvOS 2023-07-04 02:54:51 +02:00
Eric Warmenhoven
224bac241e Compile in OpenAL driver on macos/ios/tvos 2023-07-01 19:26:09 +02:00
Eric Warmenhoven
9320122252 Compile in CoreText font renderer on macos/ios/tvos 2023-07-01 19:25:18 +02:00
Eric Warmenhoven
8c9ee021e7 Creating a github CI for macOS 2023-07-01 19:24:53 +02:00
Eric Warmenhoven
b861d643fc Enable SSL in macos/ios/tvos builds 2023-06-28 14:29:37 +02:00
GABO1423
f1d1f0d2db (UWP) Remove x86 Build Configuration 2023-06-22 12:33:14 +02:00
Jesse Talavera-Greenberg
4d9bfda65c Don't include all platforms in UWP app bundles
- This lengthens the build time
2023-06-18 08:38:53 +02:00
Jesse Talavera-Greenberg
4628cd0e0b Revert "Exclude 7zip support from UWP builds"
This reverts commit 1147ac6a58.
2023-06-18 08:38:53 +02:00
Jesse Talavera-Greenberg
be6d793399 Add some patterns to msvc-uwp's .gitignore 2023-06-18 08:38:53 +02:00
Jesse Talavera-Greenberg
cd3bd1d9d5 Consolidate more properties in RetroArch-msvc2019.vcxproj 2023-06-18 08:38:53 +02:00
Jesse Talavera-Greenberg
5044060ed0 Consolidate all PropertyGroups for the msvc2019 project file 2023-06-18 08:38:53 +02:00
Jesse Talavera-Greenberg
6f9cd452e9 Consolidate uses of <LinkIncremental> 2023-06-18 08:38:53 +02:00
Jesse Talavera-Greenberg
c85bfd3d57 Consolidate code analysis-related properties in RetroArch-msvc2019.vcxproj 2023-06-18 08:38:53 +02:00
Jesse Talavera-Greenberg
dd69986cea Set the RootNamespace to RetroArchmsvc2019 2023-06-18 08:38:53 +02:00
Jesse Talavera-Greenberg
97278a3172 Consolidate several PropertyGroups in RetroArch-msvc2019.vcxproj 2023-06-18 08:38:53 +02:00
Jesse Talavera-Greenberg
5be568a5ef Consolidate the PropertySheets ImportGroup
- It's no longer conditional, since all configurations use the same value
2023-06-18 08:38:53 +02:00
Jesse Talavera-Greenberg
65a0475235 Remove HAVE_CG from build configurations that don't use it in RetroArch-msvc2019.vcxproj 2023-06-18 08:38:53 +02:00
Jesse Talavera-Greenberg
ebd89d762a Refactor how RetroArch-msvc2019.vcxproj generates MOC files
- Use one set of properties with conditions
- Include all headers in ui/drivers/qt instead of naming them all
- Update griffin_cpp.cpp to reflect these changes
2023-06-18 08:38:53 +02:00
Jesse Talavera-Greenberg
e7241e09f3 Add a section for Qt-specific properties in RetroArch-msvc2019.vcxproj
- But only if the build configuration uses Qt
2023-06-18 08:38:53 +02:00
Jesse Talavera-Greenberg
b01793601b Exclude 7zip support from UWP builds
- 7zip uses Windows file functions directly, as opposed to an abstraction layer
- UWP doesn't support some of the functions that 7zip uses
2023-06-18 08:38:53 +02:00
Jesse Talavera-Greenberg
3195808d50 Fix some $(VS)-related variables for UWP build 2023-06-18 08:38:53 +02:00
Jesse Talavera-Greenberg
8dd1737aee Define HAVE_MICROPHONE in all configurations in RetroArch-msvc2019.vcxproj 2023-06-18 08:38:53 +02:00
Eric Warmenhoven
b89e6afe1c Fix including audio/video filters on iOS 2023-06-06 01:52:23 +02:00
Eric Warmenhoven
6c831b25a6 Restore "macOS Cocoa: fix mouse grab in windowed mode."
This reverts commit 269c902429, with a
build fix.
2023-06-06 01:52:13 +02:00
libretroadmin
269c902429 revert 2023-06-04 16:28:59 +02:00
Alexander Kozharsky
167c52ec77 macOS Cocoa: fix mouse grab in windowed mode. 2023-06-04 14:51:04 +02:00
libretroadmin
c07e6a6da2 Cleanups 2023-05-30 20:30:37 +02:00
Eric Warmenhoven
b8fe2ccd10 Update to MoltenVK 1.2.4 2023-05-29 09:30:02 +02:00
Eric Warmenhoven
b1503c6fc0 Add accelerometer and gyroscope sensors to iOS 2023-05-21 23:18:34 +02:00
Eric Warmenhoven
34d322ffa9 Small tweaks/fixes to update-cores.sh for iOS/tvOS 2023-05-18 03:16:37 +02:00
Eric Warmenhoven
13fc4cbda3 Don't unnecessarily sign iOS/tvOS cores/libraries 2023-05-16 18:56:25 +02:00
Eric Warmenhoven
9d697fedcb Script to download/update cores in iOS/modules and tvOS/modules 2023-05-16 12:56:07 +02:00