Commit Graph

8008 Commits

Author SHA1 Message Date
OBattler
ba40831002 Phase 2. 2022-04-13 02:07:23 +02:00
OBattler
3a40d9a807 Phase 1. 2022-04-13 02:03:48 +02:00
Miran Grča
cc666e6cc4 Merge pull request #2281 from jriwanek-forks/named-initializers-3
Named initializers part 3
2022-04-12 23:38:32 +02:00
Jasmine Iwanek
d28cec126a src/video 2022-04-12 17:26:07 -04:00
Jasmine Iwanek
3431e01d4a src/sound 2022-04-12 17:26:07 -04:00
Jasmine Iwanek
0cf7bd5eb0 src/scsi 2022-04-12 17:26:07 -04:00
Jasmine Iwanek
d1b274ace2 src/network 2022-04-12 17:26:07 -04:00
Jasmine Iwanek
036f1ce74b src/video 2022-04-12 17:26:06 -04:00
Jasmine Iwanek
e11bad1938 src/machine 2022-04-12 17:26:06 -04:00
Jasmine Iwanek
f51c8a5595 src/floppy 2022-04-12 17:26:06 -04:00
Jasmine Iwanek
c01ab374a4 src/disk 2022-04-12 17:26:06 -04:00
Jasmine Iwanek
50ef360282 src/device 2022-04-12 17:26:06 -04:00
Jasmine Iwanek
702f80e58a Backport several changes from M&K 2022-04-12 17:26:05 -04:00
Miran Grča
b1913f29eb Merge pull request #2279 from Cacodemon345/newqt
qt: Fix crashes on failed loads of media images
2022-04-10 21:24:08 +02:00
Cacodemon345
fe94e79fa0 qt: Fix crashes on failed loads of media images 2022-04-11 00:55:24 +06:00
Miran Grča
b6bda18bf8 Merge pull request #2272 from Cacodemon345/patch-72
win: Fix AppData directory creation
2022-04-09 16:28:59 +02:00
Cacodemon345
f8e53a957a win: Fix AppData directory creation 2022-04-09 00:12:27 +06:00
Miran Grča
42f9e49a3a Merge pull request #2271 from Cacodemon345/patch-71
unix: Fix missing include
2022-04-08 12:19:00 +02:00
Cacodemon345
ff86f97fef unix: Fix missing include 2022-04-08 15:00:35 +06:00
David Hrdlička
048cfbea00 Fix accidental removal 2022-04-08 10:45:46 +02:00
David Hrdlička
760d022432 rom: Little fixes to get rid of warnings 2022-04-08 10:35:26 +02:00
David Hrdlička
25b8f42dc6 qt: FIx broken build due to missing define 2022-04-08 10:34:59 +02:00
David Hrdlička
3113d2555b Fix Mac bundle icon 2022-04-08 10:23:28 +02:00
David Hrdlička
e711b6c44a Fix ROM location on macOS 2022-04-08 10:20:01 +02:00
Miran Grča
ae3c035281 Merge pull request #2269 from emilazy/fix-qt6-macos
Fix Qt 6 build and modifier key handling on macOS
2022-04-08 03:45:18 +02:00
Miran Grča
575739ae48 Merge pull request #2268 from dhrdlicka/feature/rom-search-path
Fixes to ROM loading
2022-04-08 03:45:02 +02:00
Emily
9c6001dabb qt: Fix Qt 6 modifier key handling on macOS
Per QTBUG-69608 (https://bugreports.qt.io/browse/QTBUG-69608),
QKeyEvent::nativeVirtualKey() returns 0 on Qt 6 (and possibly some
versions of Qt 5) for keyboard modifier events. Despite being closed,
the bug doesn't appear to have been fixed, or perhaps was fixed and
then regressed again.

Detect this case and handle the events manually by keeping track of the
active modifier keys and using QKeyEvent::nativeModifiers() and the
platform-specific modifier values.

Caps Lock requires some special handling and doesn't get discrete
press/release events, at least with the Qt input system; see the code
for details. It's possible some other toggle modifiers like Scroll Lock
will need special handling along these lines too.

Fix #2211.
2022-04-08 01:46:45 +01:00
Emily
ac77a21611 cmake: Fix Qt 6 plugin installation on macOS
Run find_package to import the CMake rules for the various plugins,
as install_qt5_plugin didn't work for me on Qt 6 otherwise, and install
the macOS style and icon plugins as well so that the widget style and
icons work correctly on Qt 6.

${_qt_plugin_dir} doesn't seem to get set by anything and
install_qt5_plugin hardcodes the PlugIns path, so hardcode that in
qt.conf as well.

Additionally, adjust the Qt library folder to take into account the
major version being used.
2022-04-08 01:46:41 +01:00
David Hrdlička
2bd9884a32 Fix ROM path logging, take two 2022-04-08 02:22:13 +02:00
David Hrdlička
8e65036b71 Fix ROM path logging at startup 2022-04-08 02:18:28 +02:00
David Hrdlička
37b478d25e Fix up exe_path when running as AppImage 2022-04-08 01:49:04 +02:00
David Hrdlička
db2b868909 Refactor the ROM set command line options 2022-04-08 01:35:08 +02:00
David Hrdlička
3449a173ae Move ROM search path code to rom.c, rewrite rom_fopen 2022-04-08 01:34:47 +02:00
David Hrdlička
a780d9a241 Rewrite plat_init_rom_paths in Qt frontend 2022-04-08 00:58:38 +02:00
Miran Grča
8e1b14c570 Merge pull request #2267 from Cacodemon345/patch-69
qt: Avoid reading absolute mouse input from cross-platform Qt code on Windows
2022-04-07 22:26:47 +02:00
Cacodemon345
e5ab6a8564 qt: Avoid reading absolute mouse input from cross-platform Qt code on Windows
This ensures only RAWINPUT sends mouse input to the emulated machine on Windows.
2022-04-08 01:51:32 +06:00
richardg867
6ac35ffe43 Jenkins: Search for MacPorts prefix when building 2022-04-07 15:48:07 -03:00
Miran Grča
facbad9dd1 Merge pull request #2261 from Cacodemon345/newqt
Multiple ROM paths implementation
2022-04-07 17:26:08 +02:00
richardg867
44ef14b143 Jenkins: Fix Discord Game SDK extraction on macOS 2022-04-06 18:21:25 -03:00
Miran Grča
fd5c04d306 Merge pull request #2266 from Cacodemon345/patch-68
cmake: Enable 64-bit file support on 32-bit Linux
2022-04-06 23:04:15 +02:00
Cacodemon345
61c9f9beac cmake: Enable 64-bit file support on 32-bit Linux 2022-04-07 02:17:14 +06:00
Cacodemon345
c700f93b4b qt: Fix warnings 2022-04-07 01:27:16 +06:00
Miran Grča
ff99f27520 Merge pull request #2265 from Cacodemon345/patch-67
qt: Fix mistyped LCID value of en-US
2022-04-06 21:26:28 +02:00
Cacodemon345
84b1a8a7d3 qt: Fix mistyped LCID value of en-US 2022-04-07 01:23:23 +06:00
Miran Grča
84f4e791f7 Merge pull request #2264 from Cacodemon345/patch-66
qt/languages/pt-PT.po: Fix link in "No ROMs Found" message
2022-04-06 21:16:39 +02:00
Cacodemon345
027179ab95 qt/languages/pt-PT.po: Fix "No ROMs Found" message 2022-04-07 01:14:36 +06:00
Cacodemon345
0f54376224 Merge branch 'newqt' of ssh://github.com/Cacodemon345/86box into newqt 2022-04-07 01:00:09 +06:00
Cacodemon345
0fd3042e0c qt: Add support for loading ROMs from ~/Documents/86Box/roms on macOS 2022-04-07 00:57:16 +06:00
richardg867
7f27f44b3a Jenkins: Add macOS Intel to Jenkinsfile 2022-04-06 15:39:32 -03:00
richardg867
ce7a1ad1c1 Jenkins: Use OpenAL on macOS 2022-04-06 15:38:27 -03:00