Commit Graph

322 Commits

Author SHA1 Message Date
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
meancoot 96c9357273 (iOS) Add an enumeration type setting and use it for selecting screen orientations and bluetooth mode 2013-12-03 19:47:24 -05:00
meancoot 8882d07f3f (iOS) Move iOS settings code into iOS specific file and fix the issue where every compile unit would get its own copy of apple_frontend_settings 2013-12-03 19:47:24 -05:00
meancoot 42fba17f3f (iOS) Don't crash when creating a file browser with a null extension list 2013-12-03 14:55:56 -05:00
meancoot 806cca44ca (iOS) Improve handling of path settings some:
The file browser will start in the directory of the currently seleected file.
   The setting menu will display only the filename instead of the full path.
   Path settings can specify a list of extensions to search for.
2013-12-02 19:55:58 -05:00
meancoot 6943127aef (Apple) Start to refactor setting data structure; clean up iOS code some 2013-12-02 19:34:05 -05:00
meancoot 6548c303e7 (iOS) Change way setting menu items are created 2013-12-02 19:34:05 -05:00
twinaphex 99b5c77b0d (iOS) Camera - do glBindTexture(GL_TEXTURE_2D, 0) at end of processFrame
to prevent stale garbage texture frame from being output to main
framebuffer. There is still flickering going on though
2013-12-01 23:19:59 +01:00
twinaphex 5a483468f0 (iOS) Camera works now with instancingviewer camera core - it's glitchy
though - still seems to render to default framebuffer too - which we
need to avoid
2013-12-01 22:07:25 +01:00
twinaphex 977e6a1b52 (iOS) Integrate iOS camera driver into RAGameView.m - CVOpenGLESTextureCacheCreateTextureFromImage keeps failing right now so instancingviewer camera core doesn't yet work 2013-12-01 20:39:06 +01:00
twinaphex 37622eb48d (iOS) Camera - implement most of the code inside RAGameView -
totally untested - C camera driver is now a shim and will just
need to dial into the RAGameView camera driver parts
2013-12-01 19:31:00 +01:00
twinaphex 224c0b4652 (iOS) Flesh out camera driver some more - still no image - have to
generate texture cache in RAGameView.m
2013-12-01 17:06:44 +01:00
twinaphex 272795ca17 (iOS) Start adding camera code - right now fails at camera_init 2013-12-01 16:14:31 +01:00
twinaphex cc7cda7252 (iOS) Skeleton camera driver 2013-12-01 14:41:18 +01:00
meancoot 7a0158bfd7 (iOS) Fix core auto-detect 2013-11-29 18:19:31 -05:00
meancoot 717225afce (iOS) Settings will now update immediately after closing pause menu 2013-11-29 17:57:12 -05:00
meancoot fb8fd8555b (Apple) Add toolbar buttons to the file browser to quickly browse to important locations 2013-11-29 16:04:37 -05:00
meancoot 9befaf995b (Apple) Fix input issues caused by previous commit 2013-11-29 14:41:21 -05:00
meancoot 697ce1b354 (Apple) Fix input binding with the settings menu, add groups for remaining players 2013-11-29 14:26:18 -05:00
twinaphex 3ec9581c68 (iOS) Move some cdoe from platform.m over to C 2013-11-29 19:31:39 +01:00
twinaphex 8759e43542 (iOS) Add ic_pause.png to project 2013-11-29 17:36:31 +01:00
twinaphex 57ef49903b (iOS) Add back ic_pause.png 2013-11-29 16:44:07 +01:00
twinaphex e0309bbd01 (iOS) Reword 'game' to 'content' and 'play' to 'run' 2013-11-29 16:39:47 +01:00
twinaphex fc11d4501d (Apple/Android) Rename more 'game'/'emulator' strings 2013-11-26 23:15:05 +01:00
twinaphex d8b5ac7a83 Reword README.md and rewrite 'game' strings 2013-11-26 23:09:12 +01:00
twinaphex 3c2d6ddbcd (Logger) Move logger override headers to common logger directory 2013-11-26 11:56:07 +01:00
twinaphex 7a97d300b4 (OSX) Fix build 2013-11-25 16:48:18 +01:00
twinaphex 9a547c92cf (iOS) Fixes to internal logging 2013-11-25 16:34:11 +01:00
twinaphex 97cec15dcd (iOS) Will now log to XCode organizer device console 2013-11-25 15:12:59 +01:00
twinaphex e2259c1016 (iOS) Change default_libretro_info_path 2013-11-25 02:39:41 +01:00
twinaphex 92ba397519 (OSX) apple_display_alert - backwards compatible now for OSX 10.6 2013-11-22 16:53:10 +01:00
twinaphex 7728692e73 (OSX) Make apple_gfx_ctx_get_video_size backwards compatible with OSX 10.6 2013-11-22 16:38:19 +01:00
twinaphex d45bf7db1f (OSX) apple_run_core - get rid of unneeded strlcpy call 2013-11-22 16:16:07 +01:00
twinaphex a1321689ac (OSX) Make apple_run_core backwards compatible with OSX 10.6 2013-11-22 16:13:55 +01:00
twinaphex a96e813fe1 (Apple) Big merge - merge ios_ui_refactor by hand - note to meancoot -
don't let a branch get out of date for this long - merging it by
hand was not pretty
2013-11-22 15:30:02 +01:00
twinaphex 0386ae6e1b (Apple) Get rid of unused ios_get_rarch_system_directory 2013-11-22 02:04:45 +01:00
twinaphex a6e012e747 (iOS) Refactor out path_make_and_check_directory 2013-11-22 01:56:54 +01:00
twinaphex c51d5bcd57 (Apple) Build fix 2013-11-22 01:42:20 +01:00
twinaphex afb2419235 (Apple) Move rarch_main_spring from ObjC source file to C (platform_apple.c) 2013-11-22 01:36:35 +01:00
Squarepusher 6500f9bd21 (iOS) Get rid of 'unused variables' warnings 2013-11-22 01:28:54 +01:00
Squarepusher 3f47951d3d (Apple) Build fix 2013-11-22 01:10:35 +01:00
twinaphex b1003b7640 (Apple) Move code out of main.m (ObjC) and into platform_apple (C) 2013-11-22 00:57:39 +01:00
twinaphex 70f696bc56 (Core_info) Backport maister patch from two months ago - Start implementing
firmware detection
2013-11-21 23:48:31 +01:00
twinaphex ed8229e2f9 (Apple) Make apple_gfx_ctx_get_proc_address backwards compatible
with Snow Leopard
2013-11-09 07:07:35 +01:00
twinaphex 892e150953 (Apple) Use recommended project settings 2013-11-09 01:52:18 +01:00
twinaphex 611ca465fe (OSX) get_chosen_screen - should now compile for Snow Leopard and up 2013-11-09 01:49:22 +01:00
twinaphex 223448d943 (Apple) Build fix for platforms where we have ARC
enabled - can't use NSAutoreleasePool directly it seems
2013-11-09 01:37:34 +01:00
twinaphex 03495fdc3a (OSX) Replace some ObjC literals for Snow Leopard backwards
compatibility - should be code reviewed
2013-11-09 01:15:38 +01:00
twinaphex 9b34000434 (OSX) ifdef NSOpenGLPFAOpenGLProfile with MAC_OS_X_VERSION_10_7 - Core GL
profile only available from 10.7 and up
2013-11-09 00:41:00 +01:00
twinaphex 6670766bb6 (OSX) Simplify NSScreen - bounds 2013-11-09 00:24:34 +01:00
twinaphex c49e9b51af (OSX) Snow Leopard backwards compatibility - NSScreen implementation -
bounds function - first convert NSRect to CGRect, then use CGRectGet*
functions on them
2013-11-09 00:10:00 +01:00
Daniel De Matteis fad421e381 (OSX) get_chosen_screen - make it backwards compatible with Xcode 3.2/
Snow Leopard - meancoot - please code review
2013-11-08 23:57:57 +01:00
twinaphex 7195a3672c Define HAVE_MENU for BB10/Playbook/OSX/iOS project files 2013-11-08 04:56:18 +01:00
twinaphex da8f8b6d63 Get rid of lifecycle_mode_state and use g_extern.lifecycle_state
instead
2013-11-07 21:44:44 +01:00
twinaphex b126cb59d7 (Apple) Fix build 2013-11-03 04:47:29 +01:00
twinaphex c0e02d3957 (Android/General) Add preliminary sensor support to libretro API /
add accelerometer support to Android input driver
2013-11-03 00:27:58 +01:00
twinaphex 3e8166bfa5 (Input) Add new function to input driver - get_capabilities 2013-11-02 21:16:57 +01:00
twinaphex 849cfb680e Saves 'Show Framerate' setting to config file now too 2013-10-11 01:19:54 +02:00
Themaister fee10d3d76 Fix OSX/Windows build. 2013-10-08 22:49:50 +02:00
twinaphex c0c6ecc6cb Rewrite gfx_get_fps - now outputs proper string for FPS output 2013-10-07 20:17:07 +02:00
twinaphex 4e7abfb6ad (Apple) Build fix for RAModuleInfo.m 2013-10-06 13:58:21 +02:00
Squarepusher 8a674d07e9 Merge pull request #326 from libretro/coreinfo
Integration of core info files in RGUI.
2013-10-06 04:54:46 -07:00
twinaphex abb829283b Take out messy Dpad emulation code - this will require an entire
rewrite where we come up with a solution that works the same across
console/PC/mobile
2013-10-05 20:55:37 +00:00
Themaister a470ae0d04 Use consistent namespace for core_list. 2013-10-05 13:48:08 +02:00
twinaphex 8292c24438 Move info files over to libretro-super 2013-10-05 03:56:46 +00:00
twinaphex f44d6f3526 Add more info files 2013-10-05 03:55:22 +00:00
meancoot ad6aebb277 (Apple) Add rumble support for DualShock 3 controllers. 2013-10-03 18:04:28 -04:00
meancoot fae300aaaf (Apple) Rework gamepad connection management; fix BTstack support when building with the iOS 7 SDK. 2013-10-03 17:43:41 -04:00
twinaphex 351108f494 (OSX) Update pbxproj - make architecture/deployment OSX/default compiler/C++ dialect more generic (for backwards compatibility Snow Leopard etc) 2013-09-30 16:05:41 +02:00
Themaister 7855781cd8 Hook up rumble interfaces to input drivers. 2013-09-25 22:59:05 +02:00
meancoot 50cca385e6 (iOS) Fix issue where file would be deleted even if the confirmation dialog is canceled. 2013-09-24 20:35:56 -04:00
meancoot 0ddf198875 (Apple) Objective C refactoring:
All properties are marked (nonatomic)
	All table view cell reuse identifiers are now constant string objects.
	Where appropriate all calls to [RetroArch_iOS get] are replaced with self.navigationController.
	All calls to objc_setAssociatedObject use proper keys rather than string literals.
2013-09-24 20:29:12 -04:00
meancoot 8272d1cd68 (iOS) Clean up and refactor apple/iOS/browser.m. All of the file management actions are accessed by long pressing a list entry rather than an accessory button. 2013-09-24 19:34:59 -04:00
twinaphex 80f8b3b480 Add Dinothawr module info file 2013-09-24 03:24:04 +02:00
meancoot 13fac45830 (iOS) File browser features:
It's now possible to rename files.
	Allow moving a file into its parent directory.
2013-09-21 19:27:00 -04:00
meancoot 7319260957 (iOS) Add iCade toggle option to prevent OSK from popping up 2013-09-20 19:04:46 -04:00
meancoot 1b9b2f4cc2 (iOS) First draft of iCade support for iOS 7 2013-09-20 17:49:18 -04:00
meancoot a34cfadff1 (iOS) Fix hiding the status bar while the game is running on iOS 7.
Enable all game orientations if .RetroArch/frontend.cfg is not present.
2013-09-20 15:14:38 -04:00
meancoot a0e8f7ce13 (OSX) Don't leak memory for NSScreen objects 2013-09-19 14:17:32 -04:00
meancoot 97c94a6ea7 (OSX/iOS) Refactor RAGameView.m to be more straightforward. 2013-09-13 16:22:04 -04:00
meancoot 9a2a7854ea (OSX) Disable two warnings (shorten-64-to-32 and constant-conversion) that together accounted for over 100 warning messages. Mostly caused by mixing size_t and 'unsigned' types. 2013-09-12 22:12:51 -04:00
meancoot d92fb6ac9c (OSX) Now when video_monitor_index is out of range a warning is logged and the main screen is used instead. Previously a modal error was displayed and retroarch would exit when it was dismissed. 2013-09-12 18:42:39 -04:00
meancoot 52d62741a9 (OSX) Fix build 2013-09-11 19:22:12 -04:00
meancoot 083f1cdffe (OSX/iOS)
Move Wii and PS3 hid drivers into the common source directory.
        Use the Wii and PS3 hid drivers on OSX when appropriate.
	Notably OSX now has WiiMote support.
2013-09-11 19:17:58 -04:00
meancoot 3b27a50625 (OSX) Improvements:
Pause emulation while settings window is open
	Allow negative numbers to be input in the settings list
	Don't crash when changing a setting value to an empty string
2013-09-10 19:47:24 -04:00
meancoot ff61d97a06 (OSX) Clear state when a gamepad is disconnected while running; any newly connected pad will occupy the lowest open slot 2013-09-10 19:23:24 -04:00
meancoot c3909c6468 (Apple) Start to clean the objective-c code 2013-09-10 19:23:24 -04:00
meancoot 29fdf1fd7e (OSX/iOS) Consolodate key map tables and binding routines 2013-09-09 17:52:02 -04:00
meancoot 0b7de206de (OSX) Only allow numeric input for integer and float settings 2013-09-08 22:41:01 -04:00
meancoot 837c96bbc8 (OSX) Add system key items to the settings menu; fix a few warnings 2013-09-08 19:39:28 -04:00
meancoot 081e526bf9 (OSX) Support video_monitor_index and audio_device settings 2013-09-07 21:30:58 -04:00
meancoot a180b589b1 (OSX) Hide mouse cursor in fullscreen mode 2013-09-06 15:11:00 -04:00
meancoot 20001489ac (OSX) Update gfx_context:
Now resizes window when asked
   Displays proper title in window
   No longen prints Cocoa warning at start up
   Now supports the pause_nonactive feature
2013-09-05 14:38:40 -04:00
meancoot d031d38e49 (OSX) Set player ID LEDs on connected PS3 pads 2013-09-05 13:03:37 -04:00
meancoot cb55a1d45a (Apple) Reorganize source tree 2013-09-05 01:24:27 -04:00
meancoot cce58a829a (OSX) Fix XCode release flags 2013-08-27 18:31:32 -04:00
meancoot 851a56195a (OSX) Add command line support; only arguments passed after an -- argument are passed to retroarch (eg retroarch -- /path/to/game) 2013-08-27 12:07:59 -04:00
meancoot 6372e755c4 (OSX) Add proper full screen tracking 2013-08-27 11:37:21 -04:00
meancoot 253bb88bfc (OSX) More settings menu work (now supports all input bindings for player 1) 2013-08-26 23:56:26 -04:00
meancoot 29b8a6f8e4 (OSX) Start keybind setting support 2013-08-26 22:12:22 -04:00
meancoot dbc1758a99 (OSX) The settings panel now works 2013-08-26 14:06:28 -04:00