Commit Graph

148 Commits

Author SHA1 Message Date
Twinaphex 1898bd93b1 (iOS) Menu - cleanup 2014-10-08 02:50:54 +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 099b3f6fd7 (iOS) Menu - some cleanups 2014-09-28 18:18:26 +02:00
Lioncash 965dd829b7 iOS: Use accessors instead of direct variables 2014-09-20 23:58:10 -04:00
Lioncash 1e02afcbdf iOS: Get rid of some unsigned/signed comparison warnings. 2014-09-20 21:48:36 -04:00
Lioncash ed192392f0 iOS: Directly synthsize RAMenuItemBasic properties
On iOS, when properties are not explicitly synthesized in their implementation, the compiler will attempt to do something that is called "autosynthesis", which is essentially it synthesizing the properties for you. However this problem with this is that it can trip up the compiler if you have a subclass of a base class that has a property with the same name as one in the base class.

Also consider how properties work. Say we have a property like so:

@property int someVar;

This is telling the compiler to make a getter and a setter for a class member variable named someVar which is of type int. So the following functions will be created.
+(int) someVar(), which is the getter.
+(void) setSomeVar:(int) var, which is the setter.

In this case, RAMenuItemBasic inherits from NSObject, which already has a function named "description", yet we were trying to generate a getter/setter for our own variable named that, which leads to clashing. This is why the property was never being synthesized correctly. Directly declaring the synthesizing calls ourself fixes this.
2014-09-20 16:54:06 -04:00
twinaphex 72e556083c Rename core_info_has_custom_config to core_info_get_custom_config 2014-08-18 13:01:31 +02:00
Twinaphex f8ebcd3530 (iOS) Build fix 2014-08-17 17:46:00 +02:00
twinaphex 57dae32b66 Refactor away core_info_get_custom_config 2014-08-17 17:42:45 +02:00
twinaphex cc3835c915 Rewrite core_info_get_custom_config 2014-08-17 17:35:17 +02:00
twinaphex 21dff0771e Rewrite setting_data_get_string_representation 2014-08-17 16:20:37 +02:00
twinaphex b21a757b5e Change retroarch-game-history to retroarch-content-history 2014-08-15 19:33:53 +02:00
Twinaphex b8c5caa749 (iOS) Refactor willReloadData 2014-08-15 17:54:59 +02:00
Twinaphex 1fd2dc138a (iOS) Build fix 2014-08-15 17:43:39 +02:00
twinaphex 12471729f4 Move state_slot variable from g_extern to g_settings 2014-08-02 01:20:39 +02:00
Twinaphex 4d5e5d9a13 (iOS) Rearrange some more settings in Cocoa menu 2014-07-27 06:56:37 +02:00
Twinaphex 1818f638c9 (iOS) Rearrange settings in Cocoa menu 2014-07-27 06:51:00 +02:00
twinaphex 5cf88dd5de (Menu/Settings data) Need to expose audio_enable for iOS too 2014-07-26 17:43:01 +02:00
Twinaphex 438f2f111c (iOS) Don't do setting_data_reset in runActionSheet - retains
settings
2014-07-26 03:37:49 +02:00
Twinaphex 89220e8d12 (iOS) Add back setting_data_save_config 2014-07-26 03:32:44 +02:00
Twinaphex f88636eb2b (iOS) Take out non-existing 'audio_rate_control' option 2014-07-25 19:47:19 +02:00
Twinaphex 7baaf963c9 (iOS) Make wasSelectedonTableView more robust 2014-07-25 19:45:52 +02:00
Twinaphex a094aaf302 (iOS) runActionSheet - make it more robust 2014-07-25 19:35:09 +02:00
twinaphex 78fcd416e7 Take out input_overlay_enable 2014-07-25 18:57:07 +02:00
Twinaphex 17287000f0 (iOS) Remove setting_data_save_config 2014-07-24 06:43:47 +02:00
Twinaphex 350913daa7 (Apple) Refactor apple_run_core 2014-07-24 04:32:46 +02:00
Twinaphex 624a983d8e (Apple) Rewrite apple_run_core 2014-07-22 18:43:49 +02:00
twinaphex 87a21b2e13 Rename ROM history to Content history 2014-07-22 05:01:35 +02:00
Twinaphex 5db9e93aea (Apple) Build fix 2014-07-22 02:21:23 +02:00
Twinaphex c1fa603a0f (iOS) Menu - cleanups 2014-07-21 09:04:45 +02:00
Twinaphex 65f78b6729 (iOS) Cleanups 2014-07-21 04:56:04 +02:00
Twinaphex 95260e6b83 (Apple) Remove apple_core 2014-07-21 04:34:53 +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 1754acb500 (iOS) Get rid of apple_get_core_display_name 2014-07-20 22:20:32 +02:00
Twinaphex c31b5bae41 (iOS) Use fill_pathname_join in iOS/menu.m 2014-07-20 21:38:49 +02:00
Twinaphex 05355a49ee (iOS) Cleanup dealloc in menu.m 2014-07-20 20:51:31 +02:00
Twinaphex 86fa191ae7 (Apple) Cleanups 2014-07-20 07:00:02 +02:00
Twinaphex 9b8d5b95a5 (iOS) Get rid of systemDirectory 2014-07-20 00:25:43 +02:00
Twinaphex 92e67a4382 (Apple/iOS) Kill dependency on ObjC copyItemAtPath 2014-07-19 22:51:03 +02:00
Twinaphex 3242cc998a (Apple) Get rid of globalConfigFile 2014-07-19 22:17:42 +02:00
Twinaphex a492364843 (iOS) Don't create frontend.cfg anymore 2014-07-19 03:58:58 +02:00
Twinaphex e3b7df108f (iOS) Get rid of now obsolete Diagnostic Logging 2014-07-19 02:59:03 +02:00
Twinaphex 2485ee1e98 (iOS) Don't call hacky apple_refresh_config 2014-07-18 21:13:53 +02:00
Twinaphex 9f5ee4564d (iOS) Expose input_overlay_enable - need to refactor all this code
anyway and just show all settings anyways
2014-07-17 04:54:48 +02:00
twinaphex b4312ba411 (iOS) Refactor initWithCore for iOS 2014-07-17 04:19:35 +02:00
twinaphex 5de27f85fe (iOS) change const rarch_setting_t* to rarch_setting_t* 2014-07-17 03:52:21 +02:00
Twinaphex a238aa9629 (Apple) Build fixes for OSX/iOS 2014-07-16 21:37:42 +02:00
Twinaphex 4268edfd05 (Settings data) Rename some settings 2014-07-12 16:03:24 +02:00
Twinaphex 7dc418fcdd (Apple) Got rid of apple_is_running global variable 2014-07-10 22:02:54 +02:00
twinaphex 70e7b4a26e (Settings data) Create enum for settings list 2014-07-08 18:56:12 +02:00
twinaphex 6cb17bc4cb (iOS) menu.m - more cleanups/build fixes 2014-07-08 18:29:28 +02:00
twinaphex dfc43810a7 (Apple/iOS) Cleanups of menu.m 2014-07-08 18:23: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 9805d6b637 (iOS) Get rid of warning 2014-05-03 19:00:12 +02:00
twinaphex b25d96e51b (Apple iOS) Style nits 2014-04-26 21:58:18 +02:00
twinaphex 8d8fb6f988 (Apple) Build fix 2014-04-26 21:48:42 +02:00
twinaphex 36c121dc83 (Apple) Build fixes 2014-04-26 17:47:21 +02:00
twinaphex 0e45b11246 (Apple) Style nits 2014-04-19 20:16:29 +02:00
meancoot cd2e257f70 (iOS) Fix crash with the cocoa state select control. 2014-01-14 14:31:44 -05:00
meancoot e2ffb51c2d (iOS) Fix brutal BTstack lag 2014-01-05 20:12:04 -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
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
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
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
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 f069c82417 (Apple) First pass at removing UI/RetroArch thread split. 2013-12-21 19:42:10 -05:00
meancoot 6d00a2e544 (iOS) Hide the Load Content options while content is already running. 2013-12-20 20:36:55 -05:00
meancoot 0513b99cc2 (iOS) Fix config reload when returning from settings menu 2013-12-19 14:06:36 -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 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 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 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 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 ea897f4e46 (iOS) Split some code from menu.m info functions for re-use. 2013-12-10 16:41:23 -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
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 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
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
twinaphex 3ec9581c68 (iOS) Move some cdoe from platform.m over to C 2013-11-29 19:31:39 +01:00
twinaphex fc11d4501d (Apple/Android) Rename more 'game'/'emulator' strings 2013-11-26 23:15:05 +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