Commit Graph

1017 Commits

Author SHA1 Message Date
Adrien Moulin
9ad587dbfd qt: fix instance number not set when editing nic config 2022-08-25 23:53:09 +02:00
Adrien Moulin
06ec705098 qt: fix duplicate entries in network settings 2022-08-25 22:25:11 +02:00
Cacodemon345
d1d2e0e1bc qt: Shortcut fixes
* Make Pause key pause/resume the emulator
* Make screenshot taking and C+A+D shortcuts work on fullscreen
2022-08-23 16:32:38 +06:00
Adrien Moulin
19db1d2c7b Network overhaul : support for multiple NICs, performance improvement
- Add support for multiple NICs
- Switch from polling to an event loop for the host networking to avoid latency and locking issues
2022-08-21 16:55:47 +02:00
Cacodemon345
012db280e2 qt: Remember maximized state of monitor windows if enabled 2022-08-14 12:32:29 +06:00
Alexander Babikov
94f76ef3c0 Fix some warnings in Qt code 2022-08-13 15:42:22 +05:00
Miran Grča
a85caea4a9 Update qt_harddiskdialog.cpp
Removed the stray QTimer include.
2022-08-12 18:59:46 +02:00
Miran Grča
a0ae6d45bd Merge pull request #2611 from Cacodemon345/qt-cylinderfix
qt: large sizes when entered no longer decrement by 1MB
2022-08-12 18:59:09 +02:00
Cacodemon345
3194130bcd qt: large sizes when entered no longer decrement by 1MB 2022-08-12 15:15:23 +06:00
Cacodemon345
ad3bba009a qt: Raise minimum Xi2 version requirement to 2.1
This is needed for click-and-drag to work with both Qt5 and Qt6, especially the latter which was previously broken, without any hacks.
2022-08-12 13:24:29 +06:00
Cacodemon345
f2cf5dd841 qt: Restore Xinput2 for Qt5 builds 2022-08-12 00:35:40 +06:00
OBattler
bf8d1dda9d Merge branch 'master' of https://github.com/86Box/86Box 2022-08-10 22:44:22 +02:00
OBattler
ee38432bb7 Added some parentheses. 2022-08-10 22:44:08 +02:00
Cacodemon345
97242168de qt: Fix usage of unconverted path in plat_fopen64
UTF-8 paths are not supported on all Windows installations, only some of them. This was only accounted for in the 32-bit plat_fopen function, not on 64-bit plat_fopen64. Fix that oversight.
2022-08-11 01:16:56 +06:00
Cacodemon345
2ebee217b5 qt_d3d9renderer: Clear screen backbuffer at each render 2022-08-10 11:10:54 +06:00
Cacodemon345
dd23397854 qt: Add option to apply fullscreen stretching modes when maximized 2022-08-10 01:27:54 +06:00
Cacodemon345
f70102c529 qt: Add ability to open screenshots folder 2022-08-09 15:35:32 +06:00
Dominus Iniquitatis
3407708a9e qt: Adjusted "Controller 4" vertical position 2022-08-08 06:52:20 +03:00
Miran Grča
123ab476ef Merge pull request #2582 from elyosh/instrument
Add an instrumentation option for performance profiling
2022-08-06 23:56:05 +02:00
Miran Grča
c46e7c7b8b Merge pull request #2581 from elyosh/fix-mac-opengl-fs
qt_openglrenderer: fix fullscreen rendering on mac
2022-08-06 23:55:34 +02: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
Adrien Moulin
68812d4368 qt_openglrenderer: fix fullscreen rendering on mac 2022-08-06 11:51:39 +02:00
Adrien Moulin
ce4d7f9fc8 Small cleanup 2022-08-05 23:22:39 +02:00
Adrien Moulin
c7c438f2d6 qt: fix busy looping with evdev mouse
Replace busy looping which was using 100% cpu with poll()
2022-08-05 23:12:03 +02:00
cold-brewed
828334c482 qt: Update machine settings layout to make mac and linux consistent with windows layout 2022-08-03 12:18:41 -04:00
Cacodemon345
468ef84399 qt: Enable and make VNC work properly 2022-08-03 13:06:30 +06:00
cold-brewed
acd2d8b801 qt: Update cdrom media menu to make it more consistent with floppy.
Add current image name to cdrom and floppy media menu.

Don't display reload option unless previous image is set.
2022-08-02 17:08:12 -04:00
Cacodemon345
1033959839 qt: Fix unresponsive progress bar when creating floppy images 2022-08-02 16:59:24 +06:00
OBattler
f96eb5a2fc Pausing the emulator, including using the Pause key, now also releases mouse capture, closes #2293. 2022-08-02 02:57:00 +02:00
Cacodemon345
482bbe7fee Merge branch 'qt-opengl-es' of ssh://github.com/Cacodemon345/86box into qt-opengl-es 2022-08-02 00:14:32 +06:00
Cacodemon345
e2a03f436e qt: properly update "Show non-primary monitors" settings when they are closed 2022-08-02 00:14:09 +06:00
Cacodemon345
af31671619 Update qt_mainwindow.cpp 2022-08-01 18:06:45 +06:00
Cacodemon345
8b99f9f360 qt: avoid zero-sized main window 2022-08-01 17:36:46 +06: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
6351394918 qt: Fix compile on ARM64 with GLES2 headers 2022-08-01 12:45:38 +06:00
OBattler
93404cf291 Actually fixed the hang. 2022-08-01 00:40:31 +02:00
OBattler
b69565d0ae And actually fixed compile now. 2022-08-01 00:28:15 +02:00
OBattler
42fade36d0 Another fix attempt. 2022-08-01 00:02:28 +02:00
OBattler
1280cbd4a5 Attempted fix for the extern. 2022-07-31 23:53:24 +02:00
OBattler
68992c0020 And another fix. 2022-07-31 23:48:58 +02:00
OBattler
14fa83402e One last fix. 2022-07-31 23:38:43 +02:00
OBattler
f3db64317c Attempted fix of the fix. 2022-07-31 23:37:24 +02:00
OBattler
16f7460c73 Attempt at some QT fixes. 2022-07-31 23:31:59 +02:00
Cacodemon345
34d80ce170 It's '->' 2022-08-01 02:42:51 +06:00
Cacodemon345
831835b884 qt: fix hard freeze on hidden second windows 2022-08-01 02:39:50 +06:00
Miran Grča
bfa1405be4 Merge pull request #2541 from cold-brewed/media-dialog-path
qt: Global option in preferences to use usr_path as the file image open directory
2022-07-31 04:50:16 +02:00
cold-brewed
9f15ffd4e9 qt: Adds a global option in preferences to use usr_path as the default
open directory for image file selection.
2022-07-30 14:56:44 -04:00
Cacodemon345
180682aa36 Fix mislabled variable reference
Co-authored-by: Alexander Babikov <2708460+lemondrops@users.noreply.github.com>
2022-07-30 15:46:44 +06:00
Cacodemon345
313b2ab852 qt: Properly display tertiary/quarternary IDE toggle in Settings 2022-07-30 14:39:36 +06:00