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
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
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
4338882df4
Merge branch 'master' of ssh://github.com/86Box/86Box into cleanup30
2022-04-07 15:46:00 -03:00
RichardG867
27da3a8634
Virtual ISO: Make the birthtime check a bit more readable
2022-04-07 15:44:17 -03:00
RichardG867
e9c3f37029
Virtual ISO: Add Rock Ridge birthtime to supported platforms
2022-04-07 15:29:27 -03:00
RichardG867
ace01c41ab
Virtual ISO: Some directory entry filling optimizations
2022-04-07 14:04:23 -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
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
Cacodemon345
84b1a8a7d3
qt: Fix mistyped LCID value of en-US
2022-04-07 01:23:23 +06: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
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
klaas
3772aa312b
Apply for Mac OS too.
2022-04-05 10:29:26 +00:19
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
RichardG867
4561a04492
Virtual ISO: Optimizations and comment rectifications
2022-04-03 12:40:15 -03:00
RichardG867
fe8015a2ca
Virtual ISO: Add High Sierra generation codepath (disabled for now)
2022-04-02 23:44:02 -03:00
Cacodemon345
6f0ac4eace
qt: Fix creation of differencing VHDs
2022-04-03 01:24:09 +06:00
klaas
093eddf5f1
network.c: fix log statement
2022-04-02 15:46:19 +00:19
klaas
e7d09a31a4
linux blocks until a packet arrives which the rest of the code does not expect
2022-04-02 15:38:37 +00:19
RichardG867
5053af633a
Virtual ISO: Fix buffer check during UTF-8 conversion
2022-04-02 11:24:29 -03:00
RichardG867
8f919d9367
Virtual ISO: Move UTF-16 encoding to UTF-8 decoding
2022-04-01 20:11:56 -03:00
RichardG867
c745a6b71a
Virtual ISO: Fix Joliet UTF-16 break check
2022-04-01 16:44:52 -03:00
RichardG867
850f7101d1
Virtual ISO: Don't break UTF-16 pairs when relocating Joliet filename extension
2022-04-01 13:06:34 -03:00
RichardG867
3b5c9fe309
Virtual ISO: Add UTF-16 Joliet encoding (technically non-standard) for hosts with >16-bit wchar
2022-04-01 12:34:35 -03:00
RichardG867
455d7183a3
Virtual ISO: Sort entries, fixes weird behavior with MSCDEX
2022-04-01 00:09:08 -03:00
RichardG867
791596ce12
Virtual ISO: Increase effective sector size after the fact if there's not enough memory for the sector map
2022-03-31 19:50:58 -03:00
RichardG867
4c52001b54
Virtual ISO: Make S_ISCHR and S_ISBLK queries less weird
2022-03-31 17:14:26 -03:00
RichardG867
9fcaa57264
Virtual ISO: More filename calculation delegation to save more memory
2022-03-31 17:08:20 -03:00
RichardG867
5b555a2896
Virtual ISO: Delegate Rock Ridge name trimming to fill_dir_record, saving memory
2022-03-31 14:58:58 -03:00