twinaphex
4cf27651ba
(Cocoa defines) Guarantee backwards compatibility
2019-10-05 18:58:15 +02:00
Twinaphex
511f43d5cf
Move it to cocoa_gl_ctx.m
2019-09-22 11:26:06 +02:00
Twinaphex
a6ec5a9831
Should now work
2019-09-22 11:19:54 +02:00
Twinaphex
6fe4559b8e
Revert "(Cocoa) See if this works"
...
This reverts commit 1ddd7ee79d
.
2019-09-22 10:54:11 +02:00
Twinaphex
83f1b28f98
Revert "(Cocoa) Move nsview_get_ptr and nsview_set_ptr to cocoa_gl_ctx.m"
...
This reverts commit 4f564360e7
.
2019-09-22 10:54:01 +02:00
twinaphex
4f564360e7
(Cocoa) Move nsview_get_ptr and nsview_set_ptr to cocoa_gl_ctx.m
2019-09-22 10:48:23 +02:00
twinaphex
1ddd7ee79d
(Cocoa) See if this works
2019-09-22 10:43:31 +02:00
twinaphex
ad1fb29092
(Metal) Refactor
2019-09-22 10:28:51 +02:00
Twinaphex
6a9feb7978
(OSX) Refactor this so that we always set the userdata
...
pointer so we can use the new set_title codepaths - will
have to check how to reduce the overhead in nsview_get_ptr
later
2019-09-22 10:19:03 +02:00
Twinaphex
9f0f53b1d7
(OSX) Correct userdata
2019-09-22 08:16:43 +02:00
twinaphex
fbb8a9640c
(OSX) Set pointer for HAVE_COCOA_METAL too
2019-09-22 08:00:39 +02:00
twinaphex
2135e86fc7
(Cocoa) Set video display driver userdata for Cocoa
2019-09-22 07:49:43 +02:00
Twinaphex
69a38f9b9f
(Cocoa) Pass direct pointer to UI companion driver window title function
2019-09-22 07:41:56 +02:00
orbea
e13ec54dc6
Fix --disable-overlay.
2019-07-21 10:26:42 -07:00
Twinaphex
db6a4f8368
(UI Companion) Get rid of unused iterate function callback
2019-07-19 13:59:07 +02:00
twinaphex
801b0742d8
(UI application) We don't use pending_events - get rid of it
2019-07-17 22:08:11 +02:00
Twinaphex
6abca4c323
Cleanups
2019-07-11 04:31:10 +02:00
twinaphex
f6497e8012
ui_application_t - we never use run except for Qt, so remove this
...
and move the code to frontend.c - also add a boolean variable to
ui_application_t to indicate whether an app is about to exit
2019-07-11 02:18:21 +02:00
Twinaphex
e6e4d09c33
(OSX) Silence warning
2019-07-10 05:50:26 +02:00
Twinaphex
5d56302a31
Merge pull request #9033 from yoshisuga/ios_remove_pause_indicator
...
iOS: remove pause indicator
2019-06-29 12:12:32 +02:00
Twinaphex
c8486a5081
(Cocoa/Metal) Silence bunch of warnings
2019-06-24 14:58:32 +02:00
twinaphex
d4ea084f3d
Add cocoa_defines.h
2019-06-24 14:49:18 +02:00
twinaphex
5db8da3fc8
(Cocoa) Buildfix
2019-06-17 15:19:00 +02:00
twinaphex
3581786708
Merge camera_driver.c with retroarch.c
2019-06-17 11:18:27 +02:00
Yoshi Sugawara
45b36d7d47
iOS: remove pause indicator; show the native UI menu using 4-finger swipe down gesture
2019-06-14 08:35:33 -10:00
twinaphex
474f5ab00a
(CocoaTouch Menu) Fix build
2019-05-31 08:25:49 +02:00
jdgleaver
ff16fb347a
'menu_entry' optimisations
2019-05-30 10:11:26 +01:00
Chuck Smith
ac2c6bdac2
correctly centers screen on iPhone X landscape
2019-05-19 21:11:30 +02:00
neville
7c4329f31d
(OSX PPC) Buildfixes
2019-05-06 14:12:25 +02:00
neville
82be4ea0e5
(OSX PPC) One buildfix
2019-05-06 04:46:23 +02:00
Weedy Weed Smoker
c93272de15
(iOS) Buildfix
...
Changed "widgets/menu_entry.h" to "menu_entries.h", as no one did it before anyway...
2019-05-04 03:31:33 +07:00
twinaphex
83497d5029
(iOS) Buildfix
2019-02-10 02:28:12 +01:00
twinaphex
b9db1c1702
Add function prototype to cocoa_common.h
2019-02-10 02:13:57 +01:00
twinaphex
5733ed9a29
Move these defines to cocoa_common.h
2019-02-10 02:11:22 +01:00
twinaphex
35ee386274
(Metal/OSX) Merge cocoa_common.m and cocoa_common_metal.m - more or less the same
...
code
2019-02-09 21:10:28 +01:00
twinaphex
bc8b348a04
(Cocoa) Cut down on some ifdefs
2019-02-09 04:45:37 +01:00
Twinaphex
47ed8d3627
(iOS) Buildfix
2019-02-09 04:43:15 +01:00
twinaphex
1a8ad73c3f
(Cocoa) Unify both headers
2019-02-09 04:40:38 +01:00
twinaphex
f64f598987
(Apple) Header buildfixes
2019-02-09 04:28:28 +01:00
twinaphex
ef8d1ad406
(Cocoa) Create common shared header file
2019-02-09 04:21:01 +01:00
twinaphex
acf71fc46c
Header guards should not be identical to cocoa_common_metal.h
2019-02-09 04:13:53 +01:00
Twinaphex
2cad3e09d2
(OSX) Buildfix
2019-02-07 05:08:55 +01:00
twinaphex
cb829d8552
(Cocoa/OSX) Start unifying Cocoa Metal/Cocoa codepaths - was mostly the
...
same code
2019-02-07 05:05:53 +01:00
twinaphex
0a6c7acbd4
(MEtal) Get rid of specialized version of ui_cocoa_window_metal.m
2019-02-07 04:47:24 +01:00
twinaphex
2599172831
Get rid of ui_cocoa_metal.h
2019-02-07 04:37:05 +01:00
twinaphex
f705503531
(Apple) Get rid of HAVE_CORELOCATION/HAVE_AVFOUNDATION - was mostly dormant
...
code and makes the Apple code needlessly complex right now. We can
always reintroduce this later on when the time is right
2019-02-07 04:03:52 +01:00
twinaphex
d1edfabddb
Revert "Move code to cocoa_common.m"
...
This reverts commit d3da2e2616
.
2019-02-07 03:25:01 +01:00
twinaphex
d3da2e2616
Move code to cocoa_common.m
2019-02-07 03:20:33 +01:00
orbea
28ff4b391a
Clean up white space.
2019-02-03 16:00:50 -08:00
Yoshi Sugawara
11bf1e05b1
remove logging code
2019-02-03 08:59:24 -10:00
Yoshi Sugawara
a18512375b
Support for tvOS
...
- add tvOS target
- support code signing tvOS cores by adding an argument to the code signing cores script
- use NSCachesDirectory for the documents directory
- add some mfi controller handling logic to set non-game controllers to the last index to avoid interfering with operation
- autodetect mfi controller for apple tv on startup - added autodetect to hid joypad
- added a webserver to transfer files for tvOS
- xcode: clean up project, remove unused folders
- remove HAVE_MATERIALUI setting for tvos build, make it use XMB as default
- added retroarch app icon courtesy of @MrJs
- added auto-detect of mfi controller for apple tv
2019-01-29 10:13:46 -10:00
orbea
e062b98088
Remove trailing blank lines.
...
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08:00
orbea
bfc366decc
Squeeze extra blank lines with cat(1).
...
Example:
find . -type f -iname '*.c' | while read -r i; do
cat -s "$i" > "$i.new"
mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
Yoshi Sugawara
83c1199403
iOS: Hide home screen indicator and make the user swipe twice to go home/app switching for iPhone X/2018 iPad Pro
2018-11-27 09:37:21 -10:00
Stuart Carnie
68760b36f2
chore(cocoa): Cleanup unnecessary conditionals in Metal source files
2018-11-06 07:56:05 -07:00
Stuart Carnie
5c1075127b
chore(metal): Separate legacy GL and Metal source
...
* Forks of Cocoa / Cocoa Touch to *_metal.* version
* Reverted original GL Cocoa / Cocoa Touch versions
* GL and Metal projects still build
2018-11-04 20:50:50 -07:00
Yoshi Sugawara
f071460d7a
use safe area to account for notch for iPhone X and adjust main view size
2018-09-23 22:45:44 -10:00
neville
8c3479f850
(OSX PowerPC) PowerPC Fixed
2018-08-31 21:22:37 +02:00
twinaphex
0b069c4ee3
Revert "Use constant values instead of MAC_OS_X_VERSION_ - might not be available on earlier OSX versions/xcode"
...
This reverts commit f35b578c42
.
2018-08-31 19:19:56 +02:00
neville
f35b578c42
Use constant values instead of MAC_OS_X_VERSION_ - might not be available on earlier OSX versions/xcode
2018-08-30 16:29:58 +02:00
Stuart Carnie
d1712d7c5a
fix(macOS): Fix older targets
2018-07-04 15:26:49 -07:00
Stuart Carnie
d8061ac0e9
fix(macOS): Use correct availability macro check
2018-07-04 14:19:05 -07:00
Stuart Carnie
c7b21d5bd6
feat(Metal): Add support to disable display sleep (no screen saver)
2018-07-04 13:13:03 -07:00
Stuart Carnie
8a298616aa
chore(cocoa): reformat (3 spaces, etc)
2018-07-04 00:24:47 -07:00
Stuart Carnie
5240efc857
chore(Metal): fix compiler warnings when targeting newer macOS versions
2018-07-04 00:24:04 -07:00
Stuart Carnie
a0900ec433
feat(Metal): full xmb pipeline support
...
Menu TODOs:
* understand why ribbon does not look the same as GL
* add clear support to `MenuDisplay` for glui
2018-07-03 22:32:12 -07:00
Stuart Carnie
eacd52f009
fix(Metal): improve shader stability
...
* use MTKView, which handles layer and scaling changes automatically
between displays
2018-06-23 13:33:27 -07:00
Twinaphex
511044270b
Fix iOS build
2018-06-21 08:37:08 +02:00
Stuart Carnie
411bcf8bdd
feat(apple): Metal support for macOS
...
* includes rgui
* shader support
This is a work-in-progress and there are some bugs and visual artifacts
still to be fixed.
2018-06-20 21:33:45 -07:00
Stuart Carnie
789933b333
wip: add Vulkan support to Apple platforms
2018-05-13 21:35:23 +02:00
Brad Parker
a1aefc901c
Qt WIMP GUI
2018-04-30 14:33:05 -04:00
twinaphex
146c94a86a
Revert "(iOS) Buildfix"
...
This reverts commit 15142fd0a9
.
2018-04-11 06:12:01 +02:00
twinaphex
15142fd0a9
(iOS) Buildfix
2018-04-10 19:22:39 +02:00
Twinaphex
ef4cc160a5
Update
2018-01-24 05:42:28 +01:00
gblues
6904101c44
Clean up trailing whitespace
...
== DETAILS
Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex
faab2526c8
Create gl_bind_texture
2017-11-10 03:55:10 +01:00
twinaphex
8238545bef
Cleanups
2017-10-04 06:53:47 +02:00
twinaphex
e66ef15580
Remove another useless wrapper function
2017-10-01 17:17:53 +02:00
twinaphex
4639b2547d
Rewrite another function
2017-09-29 19:09:11 +02:00
twinaphex
decea56c03
Rewrite menu_entry_get_path
2017-09-28 06:51:48 +02:00
twinaphex
b8e900cd32
Rewrite menu_entry_get_value
2017-09-28 06:32:49 +02:00
Rob Loach
fa75f47995
Fix includes of input_config
2017-08-30 23:14:27 -04:00
twinaphex
ee8dc151a3
Combine menu_driver.c and menu_navigation.c
2017-05-17 03:00:32 +02:00
twinaphex
80d9d1f143
Rewrite task_queue
2017-05-14 20:43:48 +02:00
twinaphex
42ebe7a7ad
Merge runloop.c and retroarch.c
2017-05-11 09:11:46 +02:00
twinaphex
f50eabb13c
(iOS) Buildfixes
2017-04-28 14:29:22 +02:00
twinaphex
13e4148996
(Menu) Cleanups
2017-04-23 20:22:41 +02:00
twinaphex
6667560263
(iOS) Buildfix
2017-04-23 14:37:06 +02:00
twinaphex
8e6b7a2751
Rewrite menu_entries function
2017-04-23 13:46:21 +02:00
Twinaphex
b7b3b2cb5f
Try to prevent truckload of warnings on iOS
2017-02-26 10:33:03 +01:00
twinaphex
96c8ca5a09
Header update #1
2017-01-22 13:40:32 +01:00
twinaphex
e5b7b83b3f
(ui) Style nits
2017-01-17 19:04:42 +01:00
Twinaphex
183dc914c4
(Cocoa) Add stub scrollWheel callback
2016-10-05 02:00:11 +02:00
twinaphex
d96386cd18
(iOS) Buildfix
2016-09-16 20:34:34 +02:00
twinaphex
9726de615b
Fix stray icon
2016-09-16 13:03:26 +02:00
twinaphex
8c5eb1b406
(iOS) BUildfix
2016-09-15 21:16:56 +02:00
twinaphex
db6171676a
Use retro_assert everywhere
2016-09-08 11:59:44 +02:00
twinaphex
2a9bf91e0d
Use MENU_ENUM_LABEL_VALUE_NOT_AVAILABLE
2016-06-29 02:40:05 +02:00
Twinaphex
4b96bfe46e
(iOS) Buildfix
2016-06-22 17:19:01 +02:00
twinaphex
02ad99048d
Get rid of menu_entry_go_back
2016-06-22 06:55:11 +02:00
Twinaphex
c3e2052ac3
(OSX) Silence warnings
2016-06-17 04:07:00 +02:00
Twinaphex
b11bfc8a73
Add ui_companion_driver_get_main_window
2016-06-12 19:29:07 +02:00
twinaphex
b4085b6118
Hide Qt wrapper code behind an ifdef - HAVE_QT_WRAPPER, set this to
...
1 in Makefile.common in order to use it
2016-06-09 19:51:50 +02:00
twinaphex
c011090ebb
ui_application - add initialize
2016-06-09 15:22:03 +02:00
Twinaphex
5a746e04c2
(OSX) Refactor document loading code
2016-06-08 17:51:05 +02:00
neville
817b63be99
(OSX) Buildfix for pre-OSX 10.6
2016-06-08 17:39:20 +02:00
Twinaphex
1cd441b125
(Cocoa) Reimplement browser loading code
2016-06-08 17:18:48 +02:00
Twinaphex
8088df5f09
Cleanups
2016-06-08 16:39:46 +02:00
Twinaphex
9e5ad14da0
Start implementing untested ui_browser_window_cocoa_open function
2016-06-08 16:11:06 +02:00
twinaphex
969ef4b88d
Add stub browser window implementations for Win32/Cocoa
2016-06-08 15:51:43 +02:00
neville
f170856374
(OSX) Fixes
2016-06-08 07:41:59 +02:00
twinaphex
0a7bc4d21f
Add 'warning'
2016-06-08 07:27:46 +02:00
twinaphex
047ffe9d30
Remove apple_display_alert
2016-06-08 07:19:19 +02:00
Twinaphex
aa81c1d82f
Start implementing ui_cocoa_msg_window.m
2016-06-08 06:56:42 +02:00
twinaphex
10a25209da
(Msg window) Add backends for Win32/Cocoa
2016-06-08 06:33:15 +02:00
twinaphex
20766147a6
Cleanup
2016-06-07 18:04:07 +02:00
twinaphex
3f44ba59eb
Add pending_events function callback
2016-06-07 18:02:37 +02:00
Twinaphex
02910fd64d
(Cocoa) Implement ui_application_process_events
2016-06-07 17:14:57 +02:00
twinaphex
4dded0c76b
Change signature of process_events
2016-06-07 17:07:11 +02:00
Twinaphex
3b16eb1e91
Add (stub) ui_cocoa_application.m
2016-06-07 16:51:25 +02:00
Twinaphex
f17b4fba05
Rename ui_cocoa_window.h
2016-06-07 16:47:48 +02:00
Twinaphex
b78b29cb14
(Cocoa) Turn functions static
2016-06-06 07:40:44 +02:00
Twinaphex
e4d202458a
(iOS) Buildfix
2016-06-05 07:01:04 +02:00
Twinaphex
4b0401462f
(OSX) Buildfixes
2016-06-04 17:34:01 +02:00
twinaphex
4a649695a5
Add prototypes
2016-06-04 17:27:23 +02:00
twinaphex
fc9954d967
Create window_focused callback
2016-06-04 17:24:46 +02:00
Twinaphex
bb5107b5fa
Don't use ui_cocoa_window_set_droppable for now
2016-06-04 08:45:20 +02:00
twinaphex
47c7330cc8
Add set_droppable
2016-06-04 08:38:38 +02:00
Twinaphex
37d4dcfac1
(Cocoa) Implement ui_window_cocoa_destroy
2016-06-04 08:16:14 +02:00
Twinaphex
deb3efb8db
(Cocoa) Implement ui_window_cocoa_set_focused and ui_window_cocoa_set_visible
2016-06-04 08:14:39 +02:00
Twinaphex
860fb1d525
(Cocoa) Implement ui_window_cocoa_set_title
2016-06-04 08:09:55 +02:00
Twinaphex
7a564720fb
(Cocoa) Buildfix
2016-06-04 08:00:19 +02:00
Twinaphex
98014f7b66
(Cocoa) Add stub ui_cocoa_window.m
2016-06-04 07:56:28 +02:00
Twinaphex
cbae4af38a
(OSX) Add preliminary drag and drop code
2016-06-03 19:21:37 +02:00
twinaphex
bb1d1da693
Remove runloop_iterate_data
2016-05-16 17:29:02 +02:00
twinaphex
13e67aa44e
Create runloop_iterate_data
2016-05-08 06:29:11 +02:00
Twinaphex
803c27c582
(iOS) Cleanups
2016-05-04 04:13:33 +02:00
Twinaphex
51565e6336
(iOS) Avoid some analyze warnings
2016-05-04 04:10:33 +02:00
twinaphex
ce5d065014
Cast as NSUInteger
2016-05-02 14:54:08 +02:00
twinaphex
93b7dc1bdd
(libretro-common) move 'lists' files to lists/
2016-03-20 14:53:54 +01:00
twinaphex
93e17b46bd
Cleanups
2016-02-26 13:32:56 +01:00
twinaphex
b5e28cda58
Create RARCH_MENU_CTL_ITERATE
2016-02-10 20:13:12 +01:00
twinaphex
3f3a305396
(CocoaTouch) Buildfix
2016-01-18 22:15:19 +01:00
twinaphex
91de59c7ff
(Cocoa) Cleanups
2016-01-18 22:10:16 +01:00
pponso1
452c6afaf0
support for playing Music.app in background.
2016-01-16 12:09:44 -06:00
twinaphex
c2d7cbe18b
Use string_is_empty
2015-12-26 07:59:15 +01:00
twinaphex
3df4101321
Get rid of menu_entries_set_start and menu_entries_get_start
2015-12-12 14:39:35 +01:00
twinaphex
fde4826754
Add MENU_ENTRIES_CTL_SHOW_BACK
2015-12-11 21:34:27 +01:00
twinaphex
9216fc9421
(CocoaTouch) Buildfix
2015-12-11 15:55:47 +01:00
twinaphex
a8c6fc150b
Add RUNLOOP_CTL_DATA_ITERATE
2015-12-11 10:17:18 +01:00