Commit Graph

1356 Commits

Author SHA1 Message Date
twinaphex 7a2115670a Fix relative path includes 2021-05-19 15:41:40 +02:00
twinaphex 35543ecd91 Move defines files over to libretro-common 2021-05-18 22:15:04 +02:00
jdgleaver f4511f6fa4 (core_info) Performance optimisations + code clean-ups/refactors 2021-04-26 14:30:31 +01:00
twinaphex ab877c429f (Qt) Use string append() where possible 2021-04-10 23:57:31 +02:00
twinaphex ea9f3f13ca (Apple OSX) Swallow 'escape' key being pressed - would previously make the game
go from fullscreen to windowed
2021-04-07 00:48:21 +02:00
twinaphex ed0c9ef1dc Buildfix 2021-03-24 02:39:57 +01:00
twinaphex 71b4a4558c (DISABLE_MENU) Add another conditional 2021-03-24 02:10:35 +01:00
twinaphex 118ff58e6b Add more conditionals for --disable-menu 2021-03-24 01:44:30 +01:00
twinaphex 95f5df358a Fix --disable-menu 2021-03-24 01:24:49 +01:00
twinaphex 48f9a5fbc0 (Qt) Silence sign comparison warnings 2021-03-22 20:20:33 +01:00
twinaphex d8d034bacb (menu_displaylist_build_list) Pass settings pointer around 2021-03-21 16:16:41 +01:00
twinaphex d940c10afe (Qt) Combine qt/options/generic.cpp and qt/options/nongeneric.cpp 2021-03-10 09:41:49 +01:00
twinaphex a60e7ad42a (Qt) Merge ui_qt_themes.h into ui_qt.cpp 2021-03-08 18:15:50 +01:00
twinaphex 6802e41db5 (Qt) Merge ui_qt_load_core_window.cpp into ui_qt.cpp - further
binary size reduction
2021-03-08 18:02:49 +01:00
twinaphex 25a0c903bc (Qt) Cleanup 2021-03-08 17:58:51 +01:00
twinaphex fd5d1804c5 Header cleanups 2021-03-08 17:54:52 +01:00
twinaphex f9eb53cff1 (Qt) Combine non-generic options into qt/options/nongeneric.cpp -
all these Qt files being combined now led to a nearly 1MB size reduction
in retroarch's binary
2021-03-08 17:47:36 +01:00
twinaphex 8fe8782497 (Qt) Combine qt download files into one - further binary size
reduction
2021-03-08 17:38:03 +01:00
twinaphex af1d9f7041 (Qt) Combine filedropwidgets.cpp and settingswidgets.cpp into
qt_widgets.cpp - further binary size reduction
2021-03-08 17:32:56 +01:00
twinaphex 7fb09d1602 (Qt) Combine shaderparamsdialog.cpp and qt_dialogs.cpp - further binary
size reduction
2021-03-08 17:24:47 +01:00
twinaphex 469e2b7778 (Qt) Combine dialog files into one - makes binary smaller too 2021-03-08 17:13:54 +01:00
twinaphex 69eff40e0d Cleanup 2021-03-08 16:35:55 +01:00
twinaphex 0b06eea846 (ui_cocoa.m) Cleanups - add fall-throughs 2021-03-08 15:19:26 +01:00
twinaphex e140c9f8ee Cleanups 2021-03-08 15:11:28 +01:00
twinaphex b0b81406ad Cut down on HAVE_COCOA_METAL/HAVE_COCOA ifdef 2021-03-08 04:09:43 +01:00
twinaphex ee77cd7288 Move cocoa_defines.h to defines/ 2021-03-08 03:58:41 +01:00
twinaphex b83596fcd4 (Qt) Combine all Qt files into one (ui_qt.cpp) 2021-03-08 00:56:55 +01:00
twinaphex ea3e9ee1c6 Buildfix 2021-03-08 00:33:31 +01:00
twinaphex 01c163a2fa (Cocoa) Combine Cocoa files into one 2021-03-08 00:28:21 +01:00
twinaphex 2675afe45d Combine ui/drivers/win32 files into one (ui/drivers/ui_win32.c) 2021-03-08 00:20:29 +01:00
jdgleaver 110e318b71 Add support for saving per-directory core options and deleting core option overrides 2021-02-25 10:54:22 +00:00
Tatsuya79 b1f6fa4a2a remove updateretroarch.cpp 2021-02-11 17:49:21 +01:00
jdgleaver d81bdcddd0 When remembering last selected shader preset/shader pass directories, also remember selected files 2021-02-09 13:14:00 +00:00
Tatsuya79 502d3b3514
qt: fix mouse cursor limited by window range on F5 press 2021-02-04 17:54:05 +01:00
twinaphex 9e2ff36d4a (macOS) Silence warning 2021-01-27 03:44:11 +01:00
twinaphex dbbf557954 (Metal/WindowListener) Fix duplicate symbol errors by
moving implementation of WindowListener to cocoa_common.m
2021-01-24 03:56:17 +01:00
Autechre 7ea1d7d0da
Revert "Mac buildfixes (#11933)" (#11934)
This reverts commit 18a6880900.
2021-01-24 03:56:05 +01:00
Autechre 18a6880900
Mac buildfixes (#11933)
* (Metal/WindowListener) Fix duplicate symbol errors by
moving implementation of WindowListener to cocoa_common.m

* (Apple) Cleanup some conditionals

* (Cocoa) Cut down on OSX ifdefs in Cocoa-specific code
2021-01-24 03:53:10 +01:00
Autechre a49b02c44b
(Mac) Makefile changes for supporting Metal build (#11929)
* (QB) Add rule for Metal - define HAVE_COCOA_METAL for now
when building for Metal, and HAVE_COCOA for non-Metal build

* Make necessary changes to Makefile.common and qb/config.libs.sh:
- Disable OpenGL for now for Metal build
- Take Metal conditional out of OpenGL block in Makefile.common

* (Metal) Header fixes for compiling without Xcode/Griffin

* (Mac) Some buildfixes for non-Xcode building

* (cocoa_common.h) Restructure to no longer use -DOSX

* (Apple) More buildfixes

* (Apple) Cleanups
2021-01-22 22:20:38 +01:00
Autechre 746101010f
(Apple/Clang/ARC) ARC (Automatic Reference Counting) only available (#11920)
since Clang. PowerPC Mac is stuck with GCC and predates the use of ARC,
__has_feature() also is a Clang extension, so wrap around this with a
conditional so that GCC PowerPC on Mac can still work
2021-01-21 08:53:16 +01:00
Autechre 18170486cd
Update cocoa_common.m 2021-01-19 04:51:38 +01:00
Twinaphex a83c328631 (Metal) Fix some build problems 2021-01-19 04:38:07 +01:00
Twinaphex 97d954912d (Apple) Buildfix 2021-01-18 21:21:17 +01:00
twinaphex 0294b0c626 (Cocoa) Don't use NSEventModifierFlags type anymore - just
use NSUInteger instead
2021-01-18 20:41:30 +01:00
twinaphex 8d31c410a0 move cocoa_get_metrics to cocoa_common.m 2021-01-18 19:33:06 +01:00
twinaphex a80a64f261 Add cocoa_update_title to cocoa_common.m 2021-01-18 19:28:36 +01:00
Twinaphex 3d17cf1e38 Move nsview_set/get/cocoaview_get to cocoa_common.m 2021-01-18 19:17:12 +01:00
Twinaphex eea07ea367 (COcoa GL/Cocoa Common) Refactor code for eventual splitting up
of cocoa_gl_ctx.m into two files
2021-01-18 15:41:30 +01:00
twinaphex f6d35ee462 (iOS) Cleanups 2021-01-18 03:03:35 +01:00
twinaphex 5c0aafe6e2 Simplify applicationDidFinishLaunching code for OSX 10.7 and up 2021-01-18 00:08:21 +01:00
twinaphex 1e9f6f175e (OSX) Fix PowerPC build 2021-01-17 05:02:07 +01:00
Twinaphex f6833cf595 Remove unused variables 2021-01-17 00:12:29 +01:00
twinaphex 93b1fbbcdc (Apple) Header cleanups 2021-01-17 00:06:33 +01:00
twinaphex 6d39160de1 CLeanups 2021-01-16 22:36:03 +01:00
twinaphex a7bb200a1c (UI Cocoa) Cleanups 2021-01-16 22:22:16 +01:00
twinaphex 809b96e221 (UI CocoaTouch) Cleanups 2021-01-16 22:15:17 +01:00
twinaphex 225b851eb6 Cleanups 2021-01-16 22:04:11 +01:00
Twinaphex 1d4ff9bedd Take out HAVE_MENU ifdef in cocoa_common.h 2021-01-16 21:47:14 +01:00
twinaphex 757ea32782 Go back to CocoaView pointer in prototype 2021-01-16 20:37:56 +01:00
twinaphex 9118b391eb Update 2021-01-16 20:07:08 +01:00
twinaphex 4e74a6f8b1 Attempt to fix build for iOS 2021-01-16 17:02:25 +01:00
jdgleaver b1ee5a2421 (X11) Fix mouse input when mouse is grabbed 2021-01-16 13:57:25 +00:00
Ryunam c341aabdb4 Add option to show/hide Refresh Rate notification 2021-01-08 17:32:33 +01:00
jdgleaver 1d33e0ee46 Fix Qt plugin path detection when using Qt < 5.6.0 2021-01-08 10:56:20 +00:00
Autechre 9797ba9f27
Merge pull request #11743 from HyperspaceMadness/Shaders_Fix_Simple_Preset_Relative_Texture_Paths
Shaders Load Refactor and Fix Referenced Texture Loading
2020-12-31 16:13:20 +01:00
Tatsuya79 2e52c9e284
qt: attempt to fix memory leak in shader panel 2020-12-30 01:11:17 +01:00
Dwedit b0e150ba2d Fix Typo 2020-12-28 17:02:29 -05:00
Dwedit 34a31f8a1c ui_win32_application.c: Add support for accelerators to main win32 message loop
rarch.rc: Add accelerators for Open (Ctrl+O) and Fullscreen (Alt+Enter)
ui_win32_resource.h: Add accelerator resource ID definition
win32_common.c: Load accelerators, Localize Win32 menu items to current language, and display shortcut keys
2020-12-28 16:39:39 -05:00
Autechre 1681872763
Merge pull request #11772 from fpscan/facebook-gaming
Facebook Gaming stream option
2020-12-28 21:04:09 +01:00
Ömercan Kömür 9fceafdcc0 fb-fix 2020-12-28 16:20:40 +03:00
Autechre 7b90da4af7
Update cocoa_common.m 2020-12-28 07:52:08 +01:00
twinaphex 9ddc39af59 Buildfix 2020-12-27 20:01:41 +01:00
twinaphex f65ecf24f1 Go back to ObjC file 2020-12-27 16:49:05 +01:00
HyperspaceMadness 0c526b6498 Shaders Load Refactor and Fix Referenced Texture Loading
Partial update to work with shaders directly

More Edits

More changes

more shader fixes

More Fixes Compiling, reference load still wrong

Added Feedback & things are working

Logging Fixes

Log Fix

More Fixes

Added Feedback Logging

Fixes for file pathing in Linux

Fix GLCore and Crash in QT Saving

Code Cleanup

Removed Unused Function filepath.c

Code Cleanup
2020-12-26 21:09:27 -05:00
Ömercan Kömür 6256b8ca2b first 2020-12-19 15:14:14 +03:00
Tatsuya79 67fb743d29
qt: add simple shader option 2020-11-18 00:55:57 +01:00
Tatsuya79 f77e18ede0
fix string_split_to_qt 2020-11-03 16:15:37 +01:00
twinaphex 00e840e99d (Qt) Avoid QString::split - version incompatibilities 2020-11-02 00:18:09 +01:00
twinaphex a69b7cb063 Buildfix for Qt 2020-10-15 05:31:21 +02:00
lennardkittner 43245c0d9f - Deleted deprecated openURL method
- Now using self.documentsDirectory
- ROMs are saved to documents directory
2020-10-05 09:18:28 +02:00
lennardkittner f8726fccb0 - App doesn't crash anymore when a file is shared to it.
- A shared file is copied to /Documents/roms.
2020-10-04 17:53:39 +02:00
jdgleaver e1890bd08e Fix Qt shaders dialog 2020-10-02 17:48:45 +01:00
jdgleaver d686d73e7a Revert "Buildfix --disable-menu - bake out shader params for desktop menu if"
This reverts commit dd6924a940.
2020-10-02 17:20:23 +01:00
twinaphex 899ad1cf88 Buildfix for OSX 2020-10-01 17:22:00 +02:00
twinaphex dd6924a940 Buildfix --disable-menu - bake out shader params for desktop menu if
HAVE_MENU is not set
2020-10-01 13:04:13 +02:00
Twinaphex 0651185ea3 Cleanups 2020-09-17 21:57:35 +02:00
twinaphex 4e594c6437 Move win32_window_init outside of ui_win32.c and to gfx/common/win32_common.c 2020-09-16 10:29:50 +02:00
Twinaphex 4c1c0cc80d webServerDidCompleteBonjourRegistration - cleanup some code
duplication
2020-09-16 10:12:43 +02:00
Twinaphex f8b4477b9a (Cocoa) Cleanups; group things together under TARGET_OSX and TARGET_IOS 2020-09-16 10:09:03 +02:00
twinaphex e15018a85a Cleanups 2020-09-15 21:12:27 +02:00
twinaphex ca413ff132 (Cocoa) Cleanups 2020-09-15 21:03:27 +02:00
twinaphex de68ce185c (Cocoa) Cleanups 2020-09-15 21:00:22 +02:00
Twinaphex 86c0ffaf39 (Cocoa) Cleanups 2020-09-15 20:50:20 +02:00
Twinaphex eaf540e563 Cleanups 2020-09-15 20:45:42 +02:00
twinaphex ddfbd38610 Cleanups 2020-09-15 20:40:24 +02:00
twinaphex c9938eb316 Cleanups 2020-09-15 19:48:43 +02:00
Twinaphex cec774ba3b RAMenuBase can be removed now 2020-09-15 19:36:40 +02:00
twinaphex 9245e3bd6b Cleanups 2020-09-15 19:30:44 +02:00
twinaphex 91205d17f6 Cut down on else codeblock here - it's identical 2020-09-15 18:59:45 +02:00
twinaphex d8406baf33 Cleanups 2020-09-14 23:14:26 +02:00