Commit Graph

146 Commits

Author SHA1 Message Date
OBattler
1f6a5a8a95 Added a missing #endif. 2023-12-31 01:44:31 +01:00
Alexander Babikov
f96e25e108 Don't set the application icon in qt_main.c on Mac
Should fix it overriding the bundle's icon
2023-12-31 05:24:19 +05:00
Alexander Babikov
fdae410884 qt: Set the .desktop file name on *nix
May fix generic icon instead of 86Box's icon showing up on Wayland
2023-12-20 20:18:51 +05:00
Alexander Babikov
aabbad31d8 qt: Set the window icon per-application, instead of per-window 2023-12-20 20:18:50 +05:00
OBattler
2a2432207a More fixes, the hard freeze is truly gone now. 2023-12-11 20:32:51 +01:00
OBattler
5ee5b858d3 Fixes to the cpu_override warning dialog handling per the suggestions by lemondrops. 2023-11-05 02:10:39 +01:00
OBattler
c8f6c0f3c4 Moved the CPU override warning dialog so it no longer hard freezes the emulator. 2023-11-05 00:53:57 +01:00
OBattler
c173f5d415 The Settings dialog now the save and reset procedure in the correct order and pausing the emulator now actually waits for the pause to actually come into effect. 2023-10-31 00:44:04 +01:00
Alexander Babikov
346d99f9b3 qt: Add a warning when cpu_override is enabled 2023-10-06 01:18:16 +05:00
OBattler
c695cb8ded Completely reworked mouse handling - should now be smoother due to there no longer being a multi-layered game of telephone going on with all the various interim coordinate counters, also rewritten the serial mouse emulation ground ground up. 2023-08-07 18:49:58 +02:00
Jasmine Iwanek
ed1b369abd Yet more sonarlint fixes 2023-05-29 06:21:17 -04:00
Cacodemon345
e650ec7505 Fix crashes when exiting emulator in multimonitor modes 2023-03-04 23:10:26 +06:00
Cacodemon345
0f36ad9f04 Merge remote-tracking branch 'upstream/master' into qt-wacom-serial 2023-02-15 11:12:25 +06:00
Jasmine Iwanek
f643391975 Serial Passthrough 2023-02-14 20:53:59 -05:00
Cacodemon345
17d4e4a7e2 Merge branch 'master' into qt-wacom-serial 2023-02-07 17:04:25 +06:00
David Hrdlička
7490bb12c9 Move Discord Rich Presence behind a compile-time option 2023-02-01 17:17:56 +01:00
Jasmine Iwanek
a40630ba63 Even more tabs to spaces 2023-01-07 14:09:51 -05:00
Cacodemon345
ef18a27bc9 Made absolute mouse coordinates work under Windows as well 2023-01-03 21:43:10 +06:00
Jasmine Iwanek
3fe4f75108 A bit more clang-format 2022-11-19 11:53:07 -05:00
Jasmine Iwanek
6919451ae4 Fix string offsetting 2022-11-09 23:19:17 -05:00
cold-brewed
7262866902 qt: Fix discord update timer to run at one second interval 2022-09-01 13:49:35 -04:00
Cacodemon345
012db280e2 qt: Remember maximized state of monitor windows if enabled 2022-08-14 12:32:29 +06:00
Adrien Moulin
c6cf848693 Fix var name 2022-08-06 14:51:42 +02:00
Adrien Moulin
3a1d9cff9a Add an instrumentation option for performance profiling
Not built by default, this allows printing the emulation speed on stdout and exiting after a certain emulation time.
2022-08-06 14:23:11 +02:00
Cacodemon345
ac12ad2243 Revert "Fix crash at exit due to a unreleased mutex."
This reverts commit 80e5470006.

std::unique_lock is incapable of recursively locking a mutex, which is needed for multi-monitor setups.
As a result it will crash/show undefined behaviour when switching renderers. Switch to instead calling
endblit() after pc_close to avoid crashes; at this point the CPU thread is now terminated so the mutex
no longer remains held by it.
2022-08-01 13:29:54 +06:00
Cacodemon345
27e4124574 qt: Fix performance regression 2022-07-12 14:41:38 +06:00
Cacodemon345
20d3f0971c Use atomic_bool instead of atomic_flag for doresizes
atomic_flag seems to be broken on Windows for clearing them outside the
thread they were tested and set in
2022-07-06 01:25:39 +06:00
Cacodemon345
a809942d4f Fix window coordinate saving and loading 2022-07-05 16:40:04 +06:00
Cacodemon345
fb5ed3fffd qt: Don't resize non-existent monitors 2022-07-04 23:37:19 +06:00
Cacodemon345
e8ffc699ba qt: Implement per-monitor resizing 2022-07-04 17:54:38 +06:00
Cacodemon345
7ab71cafd3 Working multimonitor 2022-07-04 01:50:42 +06:00
OBattler
f834caca9b Temporarily reverted main thread delays to the old way to reduce CPU usage until we figure out a better way that gives more accuracy at comparably reduced CPU usage. 2022-06-25 15:37:41 +02:00
RichardG867
71ba610366 Merge branch 'master' of ssh://github.com/86Box/86Box into cleanup30
# Conflicts:
#	.ci/build.sh
#	.ci/dependencies_msys.txt
#	src/sound/snd_audiopci.c
2022-03-16 00:39:53 -03:00
RichardG867
f57cbe36b1 GDB Stub: More progress 2022-03-16 00:33:01 -03:00
Miran Grča
c1ccee6abd Merge pull request #2214 from Cacodemon345/c345/haiku
qt: Add support for Haiku
2022-03-11 20:11:50 +01:00
Cacodemon345
c1f9d35de8 qt: Add support for Haiku
* OpenAL backend is enabled by default on Haiku
* bswap include now makes use of builtins if they exist
* Use a local fgetws method for Haiku to avoid crashes
* OpenGL renderers are completely disabled on Haiku (they do not work)
* Software renderer is a widget, not a window on Haiku (fixes blank screen)
* Add option to disable System MIDI at compile time
2022-03-11 12:13:08 +06:00
ts-korhonen
bc86fdd0b5 qt: Fix a typo connecting to resetVM signal on unix manager socket 2022-03-06 18:00:23 +02:00
Cacodemon345
ed22399f4b qt: Actually make client-side Unix manager functional 2022-02-28 12:16:43 +06:00
Cacodemon345
06fc26ccab qt: Add Unix manager support (client-side interface) 2022-02-27 15:30:40 +06:00
Jasmine Iwanek
8597e4e4d7 Merge branch 'master' into more-updates 2022-02-20 16:28:50 -05:00
Jasmine Iwanek
4674756664 More newline and whitespace cleanups 2022-02-20 16:26:40 -05:00
Cacodemon345
be900f1d32 qt: Fix high CPU usage when paused 2022-02-20 15:04:24 +06:00
Cacodemon345
0d31bb0cc6 qt: X11 Xinput2 mouse motion backend 2022-02-15 02:34:13 +06:00
Cacodemon345
eb91c899c6 qt: Group with the manager on taskbar on settings mode 2022-02-13 00:35:46 +06:00
ts-korhonen
7e0596558a qt: Unify VM manager requested shutdown behavior with Win32.
Add implementation for -N commandline switch.
Save nvr on close.
2022-02-12 17:31:28 +02:00
Cacodemon345
fe0e6c3a04 qt: Set font after loading translations 2022-02-12 20:15:21 +06:00
Cacodemon345
c2ec86a111 Update qt_main.cpp 2022-02-12 01:50:50 +06:00
Cacodemon345
286399461b qt: Set font immediately after QApplication initialization 2022-02-12 01:50:04 +06:00
Cacodemon345
351e14023a qt: Use C (English) locale
No translations so far make use of non-standard digits
2022-02-11 16:24:59 +06:00
Cacodemon345
bfebbd05d3 qt: Compatibility improvements
* Patch to build with Qt 5.11 and later by jriwanek
* Attempt to fix viewport on hardware renderers
2022-02-11 13:49:45 +06:00