Commit Graph

7990 Commits

Author SHA1 Message Date
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
richardg867
e1906c03b3 Jenkins: Add macOS to the build script 2022-04-06 15:28:23 -03:00
richardg867
e860c480b8 Jenkins: Add MacPorts dependencies file 2022-04-06 15:27:10 -03:00
Cacodemon345
f8c53dec3a qt: Fix compilation on Linux 2022-04-06 19:56:30 +06:00
Cacodemon345
1a3a7bec0e Move platform-specific ROM path adding code into plat modules 2022-04-06 16:16:25 +06:00
Cacodemon345
2c63f5b497 rom_getfile now works properly 2022-04-06 00:18:17 +06:00
Cacodemon345
d0191d4928 Create ROM directories in home folder on Unix if they doesn't exist 2022-04-05 15:25:48 +06:00
Cacodemon345
4b09a6329a Multiple ROM paths implementation 2022-04-05 02:16:23 +06:00
OBattler
fd90a36fe9 Merge branch 'master' of https://github.com/86Box/86Box 2022-04-04 18:20:42 +02:00
OBattler
b455d8f64d SCSI Bugfix, HDC, and FDC. 2022-04-04 18:19:14 +02:00
OBattler
1a99a7cc6a Phase 3 (Network and SCSI). 2022-04-04 18:16:53 +02:00
OBattler
8714f79693 Phase 2 (Bug fix and Sound). 2022-04-04 18:15:41 +02:00
OBattler
3cec306ecf Device config fix, phase 1. 2022-04-04 18:11:39 +02:00
Miran Grča
57cd38d2d4 Merge pull request #2257 from Cacodemon345/newqt
qt: Fix creation of differencing VHDs
2022-04-02 21:27:19 +02:00
Cacodemon345
6f0ac4eace qt: Fix creation of differencing VHDs 2022-04-03 01:24:09 +06:00
Miran Grča
f52b898add Merge pull request #2245 from Cacodemon345/newqt
qt: Get rid of resize rounding
2022-03-31 15:30:23 +02:00
richardg867
d78adebc69 Jenkins: Some changes for internal use 2022-03-28 21:24:56 -03:00
Cacodemon345
e7566d6974 qt: Get rid of resize rounding 2022-03-23 16:00:36 +06:00
RichardG867
7d15a75cf4 CMI8x38: Disable Windows XP "workaround", it helps to use correct drivers 2022-03-22 16:24:29 -03:00