Commit Graph

136 Commits

Author SHA1 Message Date
Jay McCarthy 78f4d2a3d6 Fixing iOS build 2015-02-08 10:00:39 -05:00
Twinaphex e8528d83e0 (Apple) Build fixes 2015-01-26 11:17:38 +01:00
twinaphex 46402deb04 Use PATH_MAX_LENGTH instead of PATH_MAX.
Refactor OSX settings menu code somewhat
2015-01-17 05:47:52 +01:00
Twinaphex db81a99b54 (iOS Menu) Cleanups 2015-01-15 00:57:37 +01:00
Twinaphex 1b06490527 (iOS) Menu cleanups 2015-01-15 00:50:16 +01:00
Twinaphex 7117db776b (iOS) Build fix 2015-01-12 23:53:53 +01:00
Twinaphex 8146514064 (Apple) Build fixes 2015-01-12 06:20:19 +01:00
twinaphex b61ae369f7 (input_keymaps.c) Namespace changes and documentation 2015-01-12 02:52:52 +01:00
Twinaphex 16a686345f (iOS) Buildfix 2015-01-10 16:49:10 +01:00
twinaphex b95cdd2215 Rename menu_common.c to menu.c 2015-01-10 04:53:37 +01:00
twinaphex 453321c50b Start updating headers 2015-01-07 17:46:50 +01:00
Jay McCarthy 0bd1fc656e Fix off-by-1 dir in iOS browser 2015-01-07 08:07:47 -05:00
Jay McCarthy 7bb75162f7 Using iOS browser for Cores and Content 2015-01-06 21:53:18 -05:00
Twinaphex f0817c7864 (iOS) Cleanups to UI 2015-01-07 01:18:41 +01:00
Jay McCarthy 589e6ccde1 Ensuring that overlays... and maybe other things... have their settings take place immediately 2014-12-31 15:50:09 -05:00
Jay McCarthy bdac9e9717 Fixing Use Empty Path on directory settings 2014-11-26 14:24:18 -05:00
Twinaphex d5f15fadff (iOS) iOS/menu.m - style nits 2014-11-17 13:09:05 +01:00
Jay McCarthy f27283d8cd Always use the cbs actions and never the setting actions 2014-11-16 19:16:32 -05:00
Jay McCarthy 885adeb755 Improving iOS configuration menus, specifically for default paths,
directory selection, and give example enumeration for strings.
2014-11-11 12:12:47 -05:00
Jay McCarthy 62fe517682 Removing dead code from old menu system 2014-11-05 11:50:56 -05:00
Jay McCarthy 760c7b7489 Settings working 2014-11-05 11:31:20 -05:00
Jay McCarthy 6cbbf834e0 Menu navigation works correctly, just need settings 2014-11-05 11:19:41 -05:00
Jay McCarthy f2f96bcac8 First draft of ios_menu 2014-11-04 22:01:01 -05:00
Twinaphex b81a40081e (Apple) Build fixes 2014-10-27 04:29:21 +01:00
twinaphex 9a9fa6532a Move file_path.c to libretro SDK 2014-10-22 00:23:06 +02:00
Twinaphex c6a94593cf (Apple) Build fixes 2014-10-20 21:52:33 +02:00
twinaphex 16d440e6a3 (ObjC) Avoid local variables named index 2014-10-20 19:33:50 +02:00
Twinaphex 6eedfd5a14 (iOS) Menu - reimplementation/build fixes 2014-10-18 08:07:56 +02:00
Twinaphex 8856ed59a7 (iOS) Reimplement / get building again 2014-10-18 07:58:17 +02:00
Twinaphex 3866fba3a7 (iOS) Add more #if 0 blocks indicating code that needs to be reimplemented
in iOS menu
2014-10-18 07:11:09 +02:00
Twinaphex 967edbb0e8 (iOS) Stub out core_info_get_custom_config code for now 2014-10-18 07:08:09 +02:00
Twinaphex c82145ff48 (iOS) menu.m - use g_defaults.history 2014-10-17 05:12:57 +02:00
Twinaphex 9357b86fe1 (iOS) Get rid of apple_run_core invocations in apple/iOS/menu.m and
move over to new way of loading core. TODO: might need some kind
of explicit return to game in case main menu doesn't get shut down
when we invoke this
2014-10-17 02:49:25 +02:00
twinaphex 81824f213d (iOS) Add TODO notes 2014-10-16 23:53:58 +02:00
Twinaphex a84d11abda (iOS) Take out 'Close Content' 2014-10-16 21:43:49 +02:00
Cristian Sandu 1ecc9093d5 Fix crash on iOS; was crashing when init with nil core 2014-10-14 22:47:57 +03:00
Twinaphex 22ad0d5d03 (iOS) Add to iOS solution as well 2014-10-09 05:20:13 +02:00
Twinaphex 060ce68405 (iOS) Build fixes 2014-10-09 04:04:11 +02:00
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