Commit Graph

285 Commits

Author SHA1 Message Date
twinaphex f26054f82c (OSX) Xcode 3.2 build fixes 2014-10-22 18:53:59 +02:00
Twinaphex 5261ca05ba (OSX) Add ObjC-1 fallbacks 2014-10-22 18:49:08 +02:00
Twinaphex 2c8971f308 (Apple OSX) Build fix 2014-10-22 00:24:06 +02:00
twinaphex 3aed280dde (OSX) Add header path 2014-10-21 05:08:45 +02:00
twinaphex 16d440e6a3 (ObjC) Avoid local variables named index 2014-10-20 19:33:50 +02:00
Jay McCarthy 1f788543e7 Adding CoreText font driver for iOS and OS X
The font path settings should be changed to support entering a font
name on these platforms and potentially working with the front-end to
get a list of possible names.
2014-10-18 20:20:55 -04:00
Twinaphex 6f951a9ac1 (Apple) Rewrite apple_input_keyboard_event - already transform the
modifier events before calling the function
2014-10-18 06:33:11 +02:00
Twinaphex 0f880332ad (OSX) RApplication - sendEvent - do early return in case driver.input_data
is NULL
2014-10-18 06:07:43 +02:00
Twinaphex 4418853e54 (OSX/platform.m) Cleanups 2014-10-18 06:06:27 +02:00
Twinaphex 575faeb3a3 (OSX) No longer use main.m 2014-10-18 05:46:30 +02:00
Twinaphex 74c5d5d1d8 (OSX) Kill off core list combobox code - Creating the NSComboBox for available cores will be done differently under the presumption that RetroArch will always
be running - no need for a cached list to keep around
2014-10-17 17:07:00 +02:00
Twinaphex 0132581ebc (OSX) Move code over to platform_apple.c 2014-10-17 17:05:27 +02:00
Twinaphex f704097573 (Apple) Reimplement CFSearchPathForDirectories 2014-10-17 17:01:24 +02:00
Twinaphex 8860784068 (Apple) Cleanups 2014-10-17 05:03:51 +02:00
Twinaphex 4f9812da6b (Apple) Reduce apple_run_core in complexity 2014-10-17 02:57:02 +02:00
Twinaphex be81e99a83 (OSX) Don't directly manipulate g_extern.system.shutdown - go through
rarch_main_command calls
2014-10-17 00:02:24 +02:00
Twinaphex 87445ca1c3 (OSX) coreWasChosen - Implement some stubs 2014-10-16 23:57:22 +02:00
Twinaphex f2d067fe7f (OSX) Start cutting down on apple_run_core 2014-10-16 23:52:14 +02:00
Twinaphex 7a38c58a9b Fix linking in OSX solution 2014-10-16 21:14:59 +02:00
twinaphex 4db958a183 Add CFExtensions.m/CFExtensions.h - will need to build fix this now 2014-10-16 21:07:26 +02:00
Twinaphex f1ba2e2dc5 (OSX) Create wrapper function around NSSearchPathForDirectoriesInDomains
and create surrogate enums
2014-10-16 21:02:22 +02:00
Twinaphex 787881a2ac (OSX) platform.m - Get rid of old code 2014-10-16 20:39:51 +02:00
Jay McCarthy 2be3fa3c04 Fixing NS to CF bridging crash 2014-10-16 14:14:15 -04:00
Twinaphex 1a52ce43ec (OSX) add stubbed out replacement C code using CoreFoundation for grabbing
application support dir path - figure out why it's broken
2014-10-16 19:53:39 +02:00
Twinaphex 26a56d014d Merge pull request #1151 from lioncash/cwarn
apple: Enable extra compiler warnings for OSX.
2014-10-14 17:04:54 +02:00
Lioncash c7d18ac6d4 apple: Enable extra compiler warnings for OSX. 2014-10-14 09:51:25 -04:00
Lioncash ae7819d317 apple: Fix stringWithFormat warnings 2014-10-14 08:57:42 -04:00
Lioncash 44b26b5ef2 apple: Fix some warnings 2014-10-14 08:57:37 -04:00
Twinaphex 22ad0d5d03 (iOS) Add to iOS solution as well 2014-10-09 05:20:13 +02:00
Twinaphex d33225d486 (OSX) Fix build 2014-10-09 04:02:48 +02:00
Twinaphex 3ce378d264 (OSX/iOS) Build fixes for changes in setting_data_get_list 2014-10-08 02:42:41 +02:00
twinaphex 8dbe11613d Add need_refresh parameter to setting_data_get_list 2014-10-07 02:49:04 +02:00
Twinaphex 285d7328e4 (OSX) Reimplement sendEvent function - turn it into a switch 2014-10-05 23:49:37 +02:00
Twinaphex 807818d4c6 (Apple) Reimplement input - get rid of g_current_input_data global
and instead initialize driver.input_data
2014-09-30 15:44:40 +02:00
Twinaphex b0fb6f483d (Apple/OSX) Split up HID code into separate file 2014-09-28 08:29:45 +02:00
twinaphex ce6c884724 Take out HAVE_CC_RESAMPLER define 2014-09-24 09:39:41 +02:00
Twinaphex 6353240af4 Get rid of unused variables 2014-09-21 18:02:23 +02:00
Twinaphex 416307fcd3 (OSX) Add GLUI to OSX solution 2014-09-15 01:35:23 +02:00
Twinaphex b4de99c318 (OSX) Cleanups 2014-09-15 00:51:57 +02:00
twinaphex 3787c831e7 (Wii) Compile in 7zip support 2014-09-12 22:24:18 +02:00
Twinaphex de582c08fa (Apple) Build fixes to solutions 2014-09-12 21:53:09 +02:00
Twinaphex e73387ca08 Merge pull request #973 from lioncash/osx
osx: Get rid of direct instance variables in settings interfaces
2014-09-11 16:56:21 +02:00
Lioncash cc4714ea70 osx: Get rid of direct instance variables in settings interfaces
The properties already do the same thing
2014-09-11 10:41:13 -04:00
Lioncash bcbb4beddd osx: Remove a redundant compile flag
This is already defined
2014-09-11 10:08:15 -04:00
Twinaphex 916367e686 (OSX) Add HAVE_LAKKA to OSX solution 2014-09-10 04:53:07 +02:00
Lioncash 4a0f3f4581 apple: Make the project adhere to the indentation style 2014-09-08 20:39:10 -04:00
Twinaphex 5eeea034c9 (Apple) Build fix 2014-09-08 23:23:40 +02:00
Lioncash ca28e17e94 Fix an uninitialized variable warning on OSX 2014-09-05 23:19:40 -04:00
Twinaphex 4942d268e7 (OSX) Bake in 7zip support - some compatibility/build fixes
for OSX
2014-09-02 20:09:14 +02:00
Twinaphex 3497fb4d8c (OSX) Build fix 2014-08-17 16:26:27 +02:00
Twinaphex 3e16335d3a (OSX) OSX version now requires that you have Cg toolkit installed.
OSX port now supports Cg AND GLSL shaders
2014-08-16 08:42:51 +02:00
Twinaphex 8edb333195 (OSX) Define HAVE_DYLIB 2014-08-03 04:03:10 +02:00
Twinaphex 69175ecf5d (OSX) Bump version year 2014-07-26 08:50:28 +02:00
Twinaphex 350913daa7 (Apple) Refactor apple_run_core 2014-07-24 04:32:46 +02:00
Twinaphex 8f14eaf0a8 (OSX) Take out _wantReload variable 2014-07-24 03:51:57 +02:00
Twinaphex 624a983d8e (Apple) Rewrite apple_run_core 2014-07-22 18:43:49 +02:00
Twinaphex 2c0c4d629f (OSX) Get rid of self.file 2014-07-22 06:02:15 +02:00
twinaphex 073ded005c (Apple) Nits 2014-07-22 05:37:35 +02:00
twinaphex 47de32450d (Apple/OSX) Setup remapping for basicEvent 2014-07-22 04:02:53 +02:00
twinaphex 78610e4d90 Add RARCH_CMD_LOAD_CONTENT 2014-07-22 03:12:56 +02:00
Twinaphex 5db9e93aea (Apple) Build fix 2014-07-22 02:21:23 +02:00
Twinaphex 2629eb5a8c (OSX) Take out Core->Unload 2014-07-22 01:24:38 +02:00
Twinaphex 77268423d0 (OSX) Fix showCoresDirectory - opens g_settings.libretro_directory 2014-07-21 18:24:50 +02:00
Twinaphex 5c61bfec54 (OSX) Take out _wantReload path for applicationDidFinishLaunching 2014-07-21 18:10:24 +02:00
Twinaphex 5eab0ef2fb (OSX) File->Open / File->Recent now works with same core 2014-07-21 17:49:25 +02:00
Twinaphex c38d0a86d0 (Apple) Just call rarch_main instead of apple_rarch_load_content 2014-07-21 07:45:05 +02:00
twinaphex 8e2bfb24a1 (Apple/OSX) Get rid of _loaded variable 2014-07-21 03:17:10 +02:00
twinaphex d0cad26627 (Apple) Refactor away core_info_set_config_path 2014-07-21 03:04:19 +02:00
twinaphex d388b49a93 (Apple) Refactor core_info_set_core_path 2014-07-21 02:58:25 +02:00
Twinaphex cb7ad2d6e6 Refactor away core_info_get_id 2014-07-21 02:46:01 +02:00
Twinaphex f64b772ceb (Apple) Refactor away apple_get_core_id 2014-07-21 02:35:07 +02:00
Twinaphex a160857e3b (OSX) Use fill_pathname_join 2014-07-20 21:35:11 +02:00
Twinaphex de3e61a11c (Settings data) Get rid of fake_settings/fake_extern 2014-07-20 15:31:23 +02:00
Twinaphex 86fa191ae7 (Apple) Cleanups 2014-07-20 07:00:02 +02:00
Twinaphex 670ce086c6 (OSX) platform.m - cleanups 2014-07-20 06:28:46 +02:00
Twinaphex aa04b48579 (Apple) Remove configDirectory 2014-07-20 01:14:16 +02:00
Twinaphex 7580058c22 (Apple) Get rid of coreDirectory 2014-07-20 00:07:40 +02:00
Twinaphex 3242cc998a (Apple) Get rid of globalConfigFile 2014-07-19 22:17:42 +02:00
Twinaphex 3d7e6d844f (OSX) settings.m - cleanup 2014-07-19 06:05:24 +02:00
twinaphex 9ac52de4df (Apple/iOS) Remove some unused settings - apple_use_tv_mode and ios_file_log 2014-07-19 02:25:17 +02:00
twinaphex fefc2f808c (Apple) Cleanups 2014-07-19 02:02:33 +02:00
Twinaphex e63a0106d1 (OSX) Get rid of saving/loading global config file when opening/closing
settings menu  - also don't do stop_iteration/start_iteration
2014-07-16 03:55:59 +02:00
Twinaphex ec4de627dd (OSX) Implement applicationDidBecomeActive and applicationWillResignActive 2014-07-14 03:52:35 +02:00
Twinaphex 4894e2134f (Apple/OSX) Get rid of 'runCore' function 2014-07-14 03:39:26 +02:00
Twinaphex 6af5ea2d59 (Apple) get rid of superfluous ifdef 2014-07-14 03:28:01 +02:00
Twinaphex 6adc269655 (Settings data) Start implementing change_handler logic 2014-07-12 18:35:35 +02:00
Twinaphex 650424c17c (OSX) Get rid of 'isTerminating' variable 2014-07-10 22:11:47 +02:00
Twinaphex 7dc418fcdd (Apple) Got rid of apple_is_running global variable 2014-07-10 22:02:54 +02:00
twinaphex a22807cb60 (Apple) Build fixes 2014-07-09 13:08:56 +02:00
twinaphex c1cdf78fc8 (Apple OSX) settings.m - style nits 2014-07-09 12:45:03 +02:00
twinaphex 234edda575 (Apple) Properly implement joypad - now executes init - and
also executes osx_pad_init and osx_pad_quit from joypad driver now
instead of outside code having to call it externally
2014-06-10 03:32:03 +02:00
twinaphex 961e2e2a70 Revert "(Apple) Integrate apple_hid_pad code into apple_joypad"
This reverts commit 62d1e311ad.
2014-06-04 21:17:00 +02:00
twinaphex 62d1e311ad (Apple) Integrate apple_hid_pad code into apple_joypad 2014-06-04 20:57:46 +02:00
twinaphex 762f4dc83d (Apple) take out some MAC_OS_X_VERSION_10_6 ifdefs in OSX/settings.m 2014-06-02 11:29:42 +02:00
twinaphex a8c7becf59 (Apple) Build fix 2014-06-01 23:06:17 +02:00
twinaphex 24e656b601 (OSX) Update xcodeproj 2014-05-23 03:07:59 +02:00
twinaphex 136c1f351c (OSX PPC) Fix build - hangs currently on CGLSetCurrentContext 2014-05-23 01:09:46 +02:00
twinaphex c310d6866b (Apple) Take out NSApplicationDelegate protocol reference 2014-05-23 00:45:24 +02:00
twinaphex c56ea88dd4 (OSX) Split up platform-specific input files to 'osx' group in xcodeproj 2014-05-22 18:55:30 +02:00
twinaphex dd2d15c144 (Apple) Move iOS/OSX to separate dirs so that both ports can have their own
modules/ directory
2014-05-22 18:54:10 +02:00
twinaphex dad0b6d5fd (OSX PPC) New OSX PPC solution (still WIP) 2014-05-12 18:11:22 +02:00
twinaphex f04dc9a27c (Apple) Settings.xib - lower deployment target 2014-05-12 17:06:18 +02:00
twinaphex d66f8942a9 Revert "(Apple) Deprecate Setttings.xib as well so that it can build for"
This reverts commit 453ced002b.
2014-05-12 16:41:41 +02:00
twinaphex 1d552c42ee (Apple) Style nits/cleanups 2014-05-12 16:37:02 +02:00
twinaphex 9d00e3af1b (Apple) Style nits 2014-05-12 15:17:08 +02:00
twinaphex 453ced002b (Apple) Deprecate Setttings.xib as well so that it can build for
OSX 10.5
2014-05-12 14:58:54 +02:00
twinaphex d460255174 (Apple) Try to deprecate IBDocument version requirement for
MainMenu.xib so that it is OSX 10.5-compatible
2014-05-12 14:49:58 +02:00
twinaphex 3296b9575c (Apple) Style nits 2014-05-11 01:59:24 +02:00
twinaphex 7306a124d6 (Apple) apple_display_alert - turn two NSString *params into const char* 2014-05-03 21:34:13 +02:00
twinaphex de7cf52227 (Apple/General_) Turn setting_data into general code - this code
will be used for exposing a list of generic menu settings to
WIMP menus and other such things (already used by the Apple port
in tihs way)
2014-05-03 18:38:29 +02:00
twinaphex 6b0f9d3698 (Apple) Move hid_pad.c to input/ 2014-05-03 07:08:10 +02:00
twinaphex 58456ab90f (Apple) Some style nits 2014-05-02 16:43:08 +02:00
twinaphex 8d8fb6f988 (Apple) Build fix 2014-04-26 21:48:42 +02:00
twinaphex d0fd362279 (Apple) Bump up CFBundleVersion numbers 2014-04-26 18:58:55 +02:00
twinaphex 36c121dc83 (Apple) Build fixes 2014-04-26 17:47:21 +02:00
twinaphex 02b0844061 (Apple) Style nits and cleanups 2014-04-26 04:49:47 +02:00
twinaphex 91faa161af (Apple) Style nits 2014-04-26 03:58:07 +02:00
twinaphex 9b69deaa12 (OSX PPC) More ifdeffing to get RA OSX PPC to compile and link -
doesn't work right now
2014-04-14 18:46:44 +02:00
twinaphex d290cda2a9 (OSX PPC) More build 'fixes' 2014-04-14 18:30:21 +02:00
twinaphex 8536488955 (OSX PPC) Reduce errors from 15 to 12 - OSX PPC is pre-10.6 2014-02-22 13:50:45 +11:00
twinaphex a5f59f6260 (OSX PPC) Comment out NSApplicationDelegate for OSX 10.5 PPC 2014-02-11 19:07:05 +11:00
twinaphex efd413de62 (OSX PPC) Build fixes 2014-02-11 19:03:38 +11:00
twinaphex 4b49e69cb9 (OSX PPC) Header fixes 2014-02-11 18:52:28 +11:00
twinaphex 75e7d10eba (OSX PPC) Build fixes 2014-02-11 18:49:49 +11:00
twinaphex c42a00a39f (OSX PPC) Change anonymous unions, define GLint64/GLuint64/GLsync
for Leopard and Snow Leopard, other changes..
2014-02-11 16:07:00 +11: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
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 e716e084ac (OSX) Update OSX port to use new icon 2014-01-03 18:36:12 +01:00
twinaphex 0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01: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
twinaphex 47b8874cc5 (iOS/OSX) Implement CLLocationManagerDelegate for views 2013-12-15 18:27:25 +01: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 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
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 03495fdc3a (OSX) Replace some ObjC literals for Snow Leopard backwards
compatibility - should be code reviewed
2013-11-09 01:15:38 +01: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
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 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