Commit Graph

654 Commits

Author SHA1 Message Date
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
Cristian Sandu
c1266c7966 Sync with main repo 2014-10-15 18:37:52 +03:00
Cristian Sandu
caec04f71f Fix paths for overlays and modules 2014-10-15 16:34:04 +03:00
Twinaphex
5279a161de (apple/common/main.m) Fix warning 2014-10-15 03:15:43 +02:00
Cristian Sandu
07c8f2442a Sync with libretro/RetroArch main repo 2014-10-14 22:54:02 +03:00
Cristian Sandu
1ecc9093d5 Fix crash on iOS; was crashing when init with nil core 2014-10-14 22:47:57 +03:00
Twinaphex
daa24a84e3 Merge pull request #1149 from crazyquark/master
Xcode 6.0.1 fixes
2014-10-14 17:06:14 +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
Cristian Sandu
f5e866a361 Fix resources paths/references: overlays, icons/launch images and modules 2014-10-14 09:53:28 +03:00
Cristian Sandu
02c2a395d9 Fix path for build folder, needed for codesigning of dylibs to actually work 2014-10-14 09:52:33 +03:00
Cristian Sandu
64920b7835 Fix Xcode 6.0.1 crash when accessing the source control menu because of empty entry 2014-10-14 09:33:15 +03:00
Cristian Sandu
821a4d4aa8 Specify _LZMA_UINT32_IS_ULONG to compile on Xcode 6.0.1 2014-10-13 23:02:18 +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
d33225d486 (OSX) Fix build 2014-10-09 04:02:48 +02:00
twinaphex
bcd5f8aa5b Add has_windowed to video driver and graphics context driver 2014-10-08 17:23:02 +02:00
twinaphex
f9da3f37c4 Avoid usage of term 'emulator' 2014-10-08 04:56:09 +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
665a56b0b4 (iOS) Properly implement this - seems to fix the issue on second startup
with the simulator
2014-10-07 04:55:14 +02:00
Twinaphex
d2acf88e05 (iOS) pushViewController always in applicationDidFinishLaunching 2014-10-07 04:24:19 +02:00
Twinaphex
e64c530e6b (iOS) Cleanup applicationDidFinishLaunching implementation 2014-10-07 04:18:42 +02:00
Twinaphex
945376ab2d (iOS) Add more safeguards in apple_touch_event and apple_input_keyboard
event
2014-10-07 04:15:18 +02:00
twinaphex
8dbe11613d Add need_refresh parameter to setting_data_get_list 2014-10-07 02:49:04 +02:00
Twinaphex
fdd616abcb (joypad_connection.c) Refactor pt. 2 2014-10-06 01:49:00 +02:00
Twinaphex
285d7328e4 (OSX) Reimplement sendEvent function - turn it into a switch 2014-10-05 23:49:37 +02:00
twinaphex
fdbb5af441 (BTPad) Cleanups 2014-10-05 00:58:47 +02:00
twinaphex
f2f529fb34 (btpad.c) Small change 2014-10-04 22:56:48 +02:00
Twinaphex
907b83065b (pad_connection) Add pad_connection_init 2014-10-04 22:32:43 +02:00
Twinaphex
7b5407379c (iOS/OSX) Nit 2014-10-04 22:32:43 +02:00
Twinaphex
8c269f119d Set a function pointer inside each pad_connection device for
send_control
2014-10-04 22:05:38 +02:00
Twinaphex
9e26dec5fa (iOS/OSX) Build fixes 2014-10-04 21:04:40 +02:00
twinaphex
5af2d315c4 Divorce pad_connection pad implementations from any Apple input-specific
implementations
2014-10-04 20:53:58 +02:00
twinaphex
b7a0098c80 rename joypad_connection_connect to pad_connection_connect 2014-10-04 18:51:26 +02:00
twinaphex
e9239316f8 Rename apple_joypad_disconnect to pad_connection_disconnect 2014-10-04 18:48:02 +02:00
twinaphex
4d14540997 Rename apple_joypad_packet to pad_connection_packet 2014-10-04 18:45:59 +02:00
twinaphex
14b17ed7d5 Rename apple_joypad_connect to joypad_connection_connect 2014-10-04 18:43:30 +02:00
twinaphex
c93982ef73 Rename apple_pad_send_control to pad_connection_send_control 2014-10-04 18:38:01 +02:00
Twinaphex
d2cd74a68e Silence one warning in btdynamic.c 2014-10-04 18:32:35 +02:00
twinaphex
c2c73c02b6 (Apple) Change apple_pad_connection to pad_connection 2014-10-04 18:31:37 +02:00
twinaphex
09e27f523d (Apple/iOS) Cleanups 2014-10-04 18:11:39 +02:00
Twinaphex
8b79b12002 (Apple) Cleanups 2014-10-04 17:01:56 +02:00
Twinaphex
c97e1113f6 (Apple) apple_gfx_ctx_init - Get rid of log messages 2014-10-04 15:31:01 +02:00
Twinaphex
be65663408 (iOS) Build fix 2014-10-03 21:57:53 +02:00
twinaphex
39b88c885b (Apple) Cleanups 2014-10-03 21:52:47 +02:00
Twinaphex
53d2c8164b (Apple) Make apple_gfx_context.c.inl more self-contained 2014-10-03 21:47:46 +02:00
Twinaphex
d89b5b2f41 (Apple) Cleanup 2014-10-03 21:33:05 +02:00
Twinaphex
bbfdf52632 (Apple) Reimplement apple_gfx_ctx_bind_api 2014-10-03 21:09:58 +02:00
Twinaphex
a4f4951081 (Apple) RAGameView.m - Cleanups 2014-10-03 21:04:59 +02:00
Twinaphex
1145a87ae8 (Apple) RAGameView.m - cleanups 2014-10-03 21:00:54 +02:00
Twinaphex
af4349003e (Apple) Cleanups in apple_gfx_context.c.inl 2014-10-03 20:52:29 +02:00
Twinaphex
f3b4aa0262 (Apple) Move more code to apple_gfx_context.c.inl 2014-10-03 20:28:16 +02:00
twinaphex
e6e3a01966 (Apple) Move some code to apple_gfx_context.c.inl 2014-10-03 20:19:04 +02:00
Twinaphex
d029362dd7 (GL) Make gl_alive more robust 2014-10-03 17:17:18 +02:00
twinaphex
a0497ac50e Update apple/script/build 2014-10-01 20:50:18 +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
f137f680c3 (Apple) Refactor apple_input_data_t 2014-09-30 15:03:22 +02:00
Twinaphex
099b3f6fd7 (iOS) Menu - some cleanups 2014-09-28 18:18:26 +02:00
Twinaphex
b0fb6f483d (Apple/OSX) Split up HID code into separate file 2014-09-28 08:29:45 +02:00
twinaphex
b1ac2049d7 (iOS) Get rid of apple_display_alert when no cores found 2014-09-28 07:13:40 +02:00
Twinaphex
d8100d299a (iOS) Build fixes 2014-09-28 07:01:39 +02:00
Twinaphex
89654e68ce (Apple OSX) Implement GL shared contexts (preliminary) - currently
stubbed out because it makes it very slow
2014-09-27 19:51:23 +02:00
Twinaphex
1294d10c24 (Apple) Implement apple_gfx_ctx_bind_hw_render 2014-09-27 19:04:52 +02:00
Twinaphex
df2f7021fd (Apple) Properly implement apple_gfx_ctx_init/apple_gfx_ctx_destroy 2014-09-27 17:20:05 +02:00
twinaphex
6807605e4e (Apple) Update apple_gfx_context.c.inl 2014-09-27 16:48:00 +02:00
twinaphex
ce6c884724 Take out HAVE_CC_RESAMPLER define 2014-09-24 09:39:41 +02:00
Twinaphex
55154b6e53 Add cc_resampler_neon.S to iOS solution 2014-09-23 04:52:08 +02:00
Twinaphex
6353240af4 Get rid of unused variables 2014-09-21 18:02:23 +02:00
Lioncash
965dd829b7 iOS: Use accessors instead of direct variables 2014-09-20 23:58:10 -04:00
Twinaphex
0dd4c17b93 Merge pull request #1045 from lioncash/warnings
iOS: Kill off some more warnings.
2014-09-21 05:31:29 +02:00
Lioncash
a8345b217b iOS: Fix another signed/unsigned mismatch warning 2014-09-20 23:26:30 -04:00
Lioncash
402a08f554 iOS: Move instance variables in RetroArch_iOS over to properties. 2014-09-20 23:26:23 -04:00
Twinaphex
45a31c9969 (iOS) Add HAVE_LAKKA and HAVE_GLUI 2014-09-21 05:07:47 +02:00
Lioncash
3f8d11e6b7 iOS: Minor cleanup
- Clean up trailing whitespace.
- Get rid of a redundant initialize call.
- Access variables through their property equivalents.
2014-09-20 22:56:44 -04:00
Lioncash
f618b6de66 iOS: Fix mismatching types in iOS 7 keyboard code 2014-09-20 22:16:42 -04:00
Lioncash
1e02afcbdf iOS: Get rid of some unsigned/signed comparison warnings. 2014-09-20 21:48:36 -04:00
Lioncash
c4034080ac iOS: Fix switch warning in RAGameView.m 2014-09-20 17:31:03 -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
cfd078812e (Apple) iOS Xcode 6 build fix 2014-09-20 05:26:33 +02:00
Twinaphex
9fe1a66c3a (iOS) Fix build 2014-09-15 19:08:01 +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
75d2e13dcb Make drivers non-const 2014-09-11 07:06:20 +02:00
Twinaphex
916367e686 (OSX) Add HAVE_LAKKA to OSX solution 2014-09-10 04:53:07 +02:00
twinaphex
660ba32d1a (iOS) Update solution 2014-09-09 21:56:01 +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
Timo Strunk
38fec68fe9 Merge remote-tracking branch 'upstream/master' into compressed_file_menu 2014-09-06 17:51:54 +02:00
Timo Strunk
278799c227 Merge remote-tracking branch 'upstream/master' into compressed_file_menu 2014-09-06 08:43:14 +02:00
Lioncash
0ddea1e970 Remove some redundant casts on OSX 2014-09-06 01:05:22 -04:00
Lioncash
ca28e17e94 Fix an uninitialized variable warning on OSX 2014-09-05 23:19:40 -04:00
Timo Strunk
76d62ae7fc Restores isdirectory functionality in all guis again 2014-09-04 21:46:14 +02:00