56 Commits

Author SHA1 Message Date
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
twinaphex
ac70e929be (Apple) Style nits - early return instead of encapsulating
entire function into one big int block - make a function out of
iOS 7 version detection - might need to be hosed outside of apple_gamecontroller.m someday
2013-12-30 17:17:35 +01:00
meancoot
2bfcb8e4e8 (Apple) Add some extra location manager logging. 2013-12-26 13:28:12 -05:00
twinaphex
40d7eb40bd (Apple) Some minor cleanups to location manager code - still only reports a few initial
locations and nothing afterwards
2013-12-25 05:04:49 +01:00
meancoot
839a5529b8 Merge branch 'master' into apple_no_thread 2013-12-23 21:03:14 -05:00
twinaphex
b884faa2b1 (OSX) OSX 10.6.8 (Snow Leopard) works now - can get into RGUI 2013-12-23 04:23:46 +01: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
09dc8295d6 (iOS) Fix issues with orientation locking. 2013-12-20 19:20:01 -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
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
99db8ca731 (iOS/OSX) Stub location functions 2013-12-15 18:11:21 +01:00
meancoot
4c526585f5 (OSX) Reduce usage of obj-c dot notation to explicit properties. 2013-12-14 20:36:22 -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
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
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
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
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
7728692e73 (OSX) Make apple_gfx_ctx_get_video_size backwards compatible with OSX 10.6 2013-11-22 16:38:19 +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
Squarepusher
6500f9bd21 (iOS) Get rid of 'unused variables' warnings 2013-11-22 01:28:54 +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
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
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
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
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