Commit Graph

322 Commits

Author SHA1 Message Date
meancoot cd38bd6159 (iOS) Don’t tell running core about touches that aren’t tracked by RAGameView. (Thanks to OMGsus for the bug report) 2014-01-14 14:34:11 -05:00
meancoot cd2e257f70 (iOS) Fix crash with the cocoa state select control. 2014-01-14 14:31:44 -05:00
meancoot 2445225526 (Apple) Fixup mapping joypads from RGUI. 2014-01-12 20:56:16 -05:00
meancoot 8488afe89f (iOS) Pass character data with physical keyboard events. 2014-01-12 20:25:43 -05:00
meancoot 5747106e64 (Apple) Add keyboard event+character data support. (No char data for iOS) 2014-01-09 18:16:55 -05:00
twinaphex 49ec30f377 (iOS) Replace icons 2014-01-08 11:40:35 +01:00
meancoot 2a341ac15c (Apple) Add analog stick support for classic controller. You need to rotate the stick 360 degrees to calibrate it. (Todo: Document this somewhere!) 2014-01-07 22:08:09 -05:00
twinaphex de703eee52 (Apple) Ifdef code with HAVE_LOCATION and HAVE_CAMERA 2014-01-06 16:27:30 +01:00
Twinaphex e7cf6d1672 Merge pull request #461 from libretro/kb_overlay
Support for keyboard keys on overlays.
2014-01-06 05:51:05 -08:00
meancoot e2ffb51c2d (iOS) Fix brutal BTstack lag 2014-01-05 20:12:04 -05:00
meancoot aa23e81cca (Apple) Fix building for 32-bit OSX 2014-01-05 14:56:45 -05:00
twinaphex 8e0118f4bb Get rid of unused HAVE_RARCH_MAIN_IMPLEMENTATION and HAVE_RARCH_MAIN_WRAP 2014-01-05 03:33:27 +01:00
meancoot 4643e53cc8 (OSX) Re-add lion style fullscreen (still needs to be tested for Snow Leopard) 2014-01-04 14:05:22 -05:00
meancoot b5ea9b4eb9 (OSX) Use more sane default config path. 2014-01-03 17:16:02 -05:00
twinaphex 70c3de9e33 (iOS) Replace icons 2014-01-03 18:39:01 +01:00
twinaphex e716e084ac (OSX) Update OSX port to use new icon 2014-01-03 18:36:12 +01:00
meancoot 3a5e9ff79a (iOS) Make cocoa menu button image show up more constantly. 2014-01-02 16:42:28 -05:00
twinaphex 0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
meancoot 9cbf7ed62a (iOS) Don’t crash when closing an action sheet created by the RunActionSheet function. 2013-12-30 18:21:24 -05:00
twinaphex 4433b86546 (iOS) ARM NEON support should now be built in for targets supporting
__ARM_NEON__
2013-12-30 18:44:11 +01:00
twinaphex 255c3dcbd4 (iOS) Add IOS_IS_VERSION_6_OR_LOWER() macro 2013-12-30 17:35:18 +01:00
twinaphex 4acd75155f (iOS) Fix/refactor iOS major version detection 2013-12-30 17:31:16 +01:00
twinaphex 65ed3ab052 (iOS) Fix iOS 7 detection for new gamepad interface 2013-12-30 17:20:13 +01:00
twinaphex ac70e929be (Apple) Style nits - early return instead of encapsulating
entire function into one big int block - make a function out of
iOS 7 version detection - might need to be hosed outside of apple_gamecontroller.m someday
2013-12-30 17:17:35 +01:00
meancoot 75ff8e55c7 (Apple) Add setting range enforcement. 2013-12-29 16:00:21 -05:00
meancoot bd1f64de99 (iOS) Don’t show an auto detect option on the “Create new config for core” menu. 2013-12-29 15:36:40 -05:00
twinaphex b41c3cc6bd (iOS) Make apple_gamecontroller 'backwards compatible' with iOS 6
by doing runtime check for iOS version and then returning early
2013-12-28 21:49:31 +01:00
twinaphex ff036066e2 Rework frontend - separate functions now for iterating per frame
and for doing teardown - Emscripten and Apple ports can make use
of this now so we don't need separate frontend implementations
2013-12-28 21:08:30 +01:00
twinaphex 43cc675a49 (OSX) Build fix 2013-12-28 17:05:05 +01:00
meancoot aee6bce679 (iOS) Add initial MFi game controller support. 2013-12-27 20:13:24 -05:00
meancoot f6362b459c (iOS) The frontend settings menu now only displays cores with a custom config attached. A “Create New Config” button is used to create a new config for a core. 2013-12-27 20:13:23 -05:00
meancoot dab783a7fd (iOS) Long pressing on a setting menu item will give the option to reset it to default. (Except booleans) 2013-12-26 16:18:28 -05:00
meancoot bfc4bba70f (iOS) RunActionSheet now takes its callback as a block. 2013-12-26 16:18:28 -05:00
meancoot 893f6c6814 (iOS) Add method to delete custom core configs. 2013-12-26 15:22:05 -05:00
meancoot 2bfcb8e4e8 (Apple) Add some extra location manager logging. 2013-12-26 13:28:12 -05:00
meancoot a473154373 (iOS) RADirectoryList now takes a block for a callback, rather that a delegate. 2013-12-26 13:28:12 -05:00
Themaister b23ff3b663 Refactor content_directory.
It shouldn't be RGUI browser dir. Instead it is a more developer centric
option for when libretro apps are distributed (along with RetroArch for
example). Also facilitates a standardized assets folder later on if
applicable.
2013-12-26 02:03:11 +01:00
meancoot 1eafcfe1a2 (iOS) Build fix 2013-12-25 10:00:14 -05:00
meancoot 87fff22956 (iOS) Add some common settings to the root of the core settings menu; Add some default paths; Add a default overlay 2013-12-25 09:52:09 -05:00
twinaphex 40d7eb40bd (Apple) Some minor cleanups to location manager code - still only reports a few initial
locations and nothing afterwards
2013-12-25 05:04:49 +01:00
twinaphex d1bdd4bd97 (Android/Apple) Set default opacity to 0.7f 2013-12-25 02:41:37 +01:00
twinaphex 204113e389 Add environ callback to expose 'Content Directory' path to core -
and refactor g_settings.rgui_browser_directory
2013-12-25 02:31:35 +01:00
meancoot 0ba6bd8094 Merge branch 'apple_no_thread' 2013-12-24 17:29:33 -05:00
meancoot 2ae0356081 (iOS) Pass BTstack messages through RARCH_LOG; patch the logger to print to stdout when building for the simulator. 2013-12-24 15:27:44 -05:00
meancoot 06c3cc1cb8 (iOS) Fixes:
Only display the limited permissions warning if the content actually failed to load.
	Fix loading a second game through the cocoa menu.
2013-12-24 14:21:57 -05:00
meancoot 090c0d8e84 Merge branch 'master' into apple_no_thread 2013-12-24 14:11:39 -05:00
meancoot 0b17dc0d47 (iOS) Changes:
Allow requesting to browse for a directory.
    Allow requesting the browser to display an option to return a black item.
    Swap the ‘Up’ and back buttons in the browser.
    Properly reset string settings that were changed in rgui.
2013-12-24 14:03:43 -05:00
meancoot 839a5529b8 Merge branch 'master' into apple_no_thread 2013-12-23 21:03:14 -05:00
twinaphex b884faa2b1 (OSX) OSX 10.6.8 (Snow Leopard) works now - can get into RGUI 2013-12-23 04:23:46 +01:00
meancoot 431620c38a (iOS) Change .zip UTI into an All Files UTI. Makes it easier to share files between devices. You can now download any file into RetroArch’s sandbox instead of just zip files. (Think air dropping a save between two devices). 2013-12-22 21:37:07 -05:00
meancoot 2f3a79c0af (Apple - No Thread) Fix crash when backgrounding the app. 2013-12-22 21:34:47 -05:00
meancoot f3d5a44e76 (Apple - No Thread) Fix performance regression. 2013-12-21 21:58:19 -05:00
meancoot f069c82417 (Apple) First pass at removing UI/RetroArch thread split. 2013-12-21 19:42:10 -05:00
meancoot f0bdd1286d (Apple) Work around thread issues for the location driver. 2013-12-21 18:48:13 -05:00
twinaphex b0a6a5f118 (Apple) Set distance filter to kCLDistanceFilterNone - should report every
movement change - still not calling didUpdateLocations though
2013-12-21 19:01:10 +01:00
meancoot 6d00a2e544 (iOS) Hide the Load Content options while content is already running. 2013-12-20 20:36:55 -05:00
meancoot 09dc8295d6 (iOS) Fix issues with orientation locking. 2013-12-20 19:20:01 -05:00
meancoot 0513b99cc2 (iOS) Fix config reload when returning from settings menu 2013-12-19 14:06:36 -05:00
twinaphex 24dc89f42e (Apple) Build fix 2013-12-19 17:39:04 +01:00
twinaphex da6e360e49 (Location) Implement horizontal and vertical accuracy - Android's
location API only provides horizontal API but iOS/OSX API supports
both horizontal and vertical. Maybe consider implementing vertical
accuracy for Android by hand later
2013-12-19 17:36:27 +01:00
twinaphex 4ad6631812 (Apple) Location interface fixups 2013-12-19 15:58:15 +01:00
twinaphex f0aa0f99fd (Location) Reimplement some parts of the location interface - get_latitude
and get_longitude are gone now in place of get_position. Basically,
from C land we basically do a poll-style queries, but on the
implementation side (ie. Android/iOS/OSX) - they all use callback-based
location updates. So we simply check in the poll function (get_position)
whether position has changed, and if so, update the pointer values and
return true - if not, set them to 0 and return false.
2013-12-19 15:47:47 +01:00
twinaphex d092413d63 (Apple/Location) Build fixes 2013-12-19 03:41:28 +01:00
twinaphex e983aa4c35 (Location) Implement stub Android location driver - will still need
a couple of functions filled in
2013-12-19 03:37:26 +01:00
twinaphex 5f33a6b373 (Apple) Implement HAVE_LOCATION for OSX/iOS 2013-12-19 02:39:38 +01:00
meancoot 29b2683300 (Apple) Define RARCH_INTERNAL during build. 2013-12-17 18:29:52 -05:00
meancoot f7f501b062 (iOS) Change method used to inspect memory for iOS 6 keyboard events. 2013-12-17 18:21:40 -05:00
meancoot a101645d7c (iOS)
Fix iOS 6 UI layout issues caused by previous commit.
    Reduce use of dot notation in apple/iOS/platform.m for stylistic continuity with OSX code.
2013-12-17 18:21:40 -05:00
meancoot bd1e970027 (iOS) Combine RAPauseMenu into RAMainMenu. RAGameView is no longer displayed in the UINavigationController but is instead swapped with the navigation controller as needed. 2013-12-17 18:21:40 -05:00
meancoot aa338967f8 (iOS) If no cores were found to support a file a list of all cores will be displayed instead. 2013-12-17 18:21:39 -05:00
meancoot 2f0201e4b7 (iOS) Add air drop support for iOS 7. Only works with .zip files. Support for creating .zip files in the file browser will be added soon. 2013-12-16 22:51:00 -05:00
meancoot 90b53a7da1 (iOS) Fix shameful logic error in unzip support 2013-12-16 22:13:55 -05:00
meancoot 1d8ce0cd0d (iOS) Add support for extracting zip files in the file browser (long press on a .zip to get the option).
The rationale here is that, on non-jailbroken devices, there is no way to upload a directory of files. If you wanted to upload data for a core that needs a set of files (e.g. prboom), the only option was to upload the files into the root of the Documents directory, then move each file into a sub-directory one at a time. With this addition a .zip file containing the grouped files can be uploaded then extracted, with sub-directories intact, via the file browser menu.
2013-12-16 20:15:24 -05:00
meancoot 8ea84c99ef (iOS) Make the refresh button on the file browser work ‘better’. (It DID work before, by the time you restarted the app and browsed back to the directory the listing would be updated. This just makes it quicker.) 2013-12-16 18:17:30 -05:00
meancoot b35153855c (iOS) Add option to clear Load History menu, useful when you need to invalidate history after the GUID of the install directory gets changed. 2013-12-15 21:27:17 -05:00
meancoot 12c1725ea6 (iOS) Fix iCade again (note to self: don’t test low level APIs on simulator) 2013-12-15 19:06:02 -05:00
twinaphex 5dc5193ebc (OSX/iOS) Add onLocationGetLatitude/onLocationGetLongitude 2013-12-15 19:26:04 +01:00
twinaphex f970b4835d (iOS/OSX) Implement didUpdateToLocation and didUpdateLocations 2013-12-15 19:01:47 +01:00
twinaphex 47b8874cc5 (iOS/OSX) Implement CLLocationManagerDelegate for views 2013-12-15 18:27:25 +01:00
twinaphex 99db8ca731 (iOS/OSX) Stub location functions 2013-12-15 18:11:21 +01:00
twinaphex 180d171e42 (Apple) Include CoreLocation.framework for both OSX and iOS projects 2013-12-15 17:25:23 +01:00
meancoot a22629d2f2 (iOS) Fix issue where setting values could not be typed in. 2013-12-14 21:34:05 -05:00
meancoot 4c526585f5 (OSX) Reduce usage of obj-c dot notation to explicit properties. 2013-12-14 20:36:22 -05:00
meancoot c8d6ce4587 (OSX) Move ivar definitions into the classes @interface rather than @implementation 2013-12-14 19:12:05 -05:00
meancoot 7f560672e7 (Apple) More 10.6 fixes:
Manually declare ivars used as backing for synthesized properties.
	Fix a couple of wiring errors in the .xib files.
	Don’t call release on a drained auto release pool.
2013-12-13 21:16:30 -05:00
meancoot b1767601b0 (Apple) More fixes for building on snow leopard. 2013-12-13 19:23:45 -05:00
meancoot bd17ec56e4 (OSX) First pass at settings menu compatible with OS X < 10.7; set Xcode deployment target to 10.6. 2013-12-12 21:15:34 -05:00
meancoot a35396840f (Apple) Replace obj-c’s built in boxing with macros that can be used with older versions of the os x build tools. 2013-12-12 14:50:16 -05:00
meancoot ed2724e5ee (iOS 7) Bring back keyboard mode 2013-12-11 17:55:42 -05:00
meancoot 12bd064490 (iOS) Fix potential crash in structure returned by apple_get_frontend_settings. 2013-12-11 17:40:37 -05:00
meancoot 4ff76463b0 (OSX) Properly process modifier keys 2013-12-11 13:47:57 -05:00
meancoot 1da019f783 (OSX) Consolidate mouse handling into NSApplication’s sendEvent method. Cleaner overall and fixes issue where relative movement was unavailable from track pads. 2013-12-11 02:25:33 -05:00
meancoot 4c493ae9b4 (Apple) Fix mapping of gamepad negative axis; the input binding menu now polls the proper gamepad rather than always polling player 1’s. 2013-12-10 16:53:01 -05:00
meancoot 0073bef980 (OSX) Fix support for gamepads that aren’t a WiiMote or DualShock 3. 2013-12-10 16:41:23 -05:00
meancoot ea897f4e46 (iOS) Split some code from menu.m info functions for re-use. 2013-12-10 16:41:23 -05:00
meancoot 5e0a35b6aa (iOS) Fix ios_logger_override.h issues; fix crash when closing a game with TV Mode enabled; remove unneded code block introduced by previous commit 2013-12-09 19:18:48 -05:00
meancoot 4358aea595 (iOS) Set available Bluetooth options based on iOS version used and whether btstack is available. 2013-12-09 19:04:22 -05:00
meancoot 292418492e (iOS) Make keeping the frontend settings updated more efficient 2013-12-07 18:49:03 -05:00
meancoot 59f55c085a (iOS) Fix for mapping iCade buttons on iOS 7. 2013-12-05 20:34:18 -05:00
twinaphex 4ab33d5b3b (meancoot/iOS) Add workaround for flickering with camera - still
some problems when Cocoa interface is brought up during camera
core and then we go back to the camera core
2013-12-05 13:04:17 +01:00