Alexander Babikov
7ed6841356
Hook up the new translation
2024-05-03 01:40:09 +05:00
cold-brewed
165ad489ef
Trim the newline from the resulting string on macOS
2024-04-02 12:30:02 -04:00
Alexander Babikov
f02fd4568c
Simplify dynamic string handling and localization
...
Use Qt `.arg()` instead of substring replacement;
Fully remove remnants of SDL renderers from translations;
Restore platform-dependent pcap library name in the pcap
error message, but use Npcap on Windows instead
2024-03-20 20:33:31 +05:00
Alexander Babikov
8e06b5449f
Overhaul plat_get_string()
...
Now takes constants with human-readable names instead of
Win32 string table IDs, language.h is no longer needed
ui_msgbox*() no longer accepts string IDs as arguments directly,
plat_get_string() must be explicitly called to retrieve the string
2024-03-20 20:33:28 +05:00
Alexander Babikov
e587cda80d
Translations: Remove a few unused strings
2024-03-20 20:33:21 +05:00
Alexander Babikov
23ba920bbf
Clean up the plat and ui API
...
Remove functions no longer defined or used on any plat/UI
Remove the old non-multi-monitor-aware plat_resize() and rename
plat_resize_monitor() to plat_resize()
2024-03-19 14:30:24 +05:00
Alexander Babikov
a46fb2e76b
Fix up the arch check for the GS DLL filename
2024-03-17 02:37:46 +05:00
Alexander Babikov
5d57026af4
Fix Ghostscript DLL filename in an error message on 64-bit Windows
2024-03-16 04:07:27 +05:00
Alexander Babikov
4335c3e085
Fix ACPI poweroffs disabling exit confirmations
...
Use confirm_exit_cmdl to skip the confirmation prompt without
saving it in the config
2024-03-01 22:24:30 +05:00
Alexander Babikov
307e15019e
Remove a long-unused string
2024-02-13 21:41:01 +05:00
RichardG867
23039a35b4
More thread name clean-ups
2024-01-10 10:27:11 -03:00
RichardG867
02a1a8ec1b
More non-cppthreads build fixes
2024-01-09 20:28:10 -03:00
RichardG867
67c84f1ae6
Add automatically-generated names to threads
2024-01-09 20:14:21 -03:00
OBattler
72cb0bedd0
And QT.
2023-12-21 15:06:04 +01:00
OBattler
db0742cbae
Removed an outdated comment and extern from qt/qt_platform.cpp, it appears the problem in nvr.h has long since been fixed and the proper include added.
2023-10-31 00:46:32 +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
cold-brewed
f37474246b
Fixed up path_get_slash return value
2023-08-23 07:26:48 -04:00
OBattler
597a6640f4
More config.c clean-ups and added some plumbing for the future ZIP and MO image history.
2023-08-18 18:28:38 +02:00
OBattler
bf38c4adef
More UI work, added Slovak and Catalan translations, and fixed mmutranslate on the 286/386, fixes #3587 , #3591 .
2023-08-17 02:46:37 +02:00
OBattler
782015a923
More mouse and PIC fixes and the mouse now takes of the ration between guest resolution and actual render area size, multiplied by the DPI, when returning coordinate deltas, also unified the delta return function across the various emulated mice.
2023-08-11 04:45:32 +02:00
cold-brewed
9474c02aec
qt: use QRegularExpression instead of QRegExp for qt6 compatibility ( #3536 )
...
Co-authored-by: cold-brewed <cold-brewed@users.noreply.github.com >
2023-08-10 11:40:19 -03:00
cold-brewed
15013e1ede
Added new platform function to get cpu string ( #3533 )
...
Co-authored-by: cold-brewed <cold-brewed@users.noreply.github.com >
2023-08-09 18:12:27 -03:00
RichardG867
8ff45f74fd
Remove legacy dynamic loading error messages
2023-07-22 18:14:22 -03:00
Alexander Babikov
3686026ded
qt: plat_tempfile: Fix milliseconds being appended twice
2023-07-01 16:58:06 +05:00
Jasmine Iwanek
ed1b369abd
Yet more sonarlint fixes
2023-05-29 06:21:17 -04:00
cold-brewed
ef34e81cd1
network: Added new ability for drivers to provide error information upon failed init. Updated translation strings. Fixed an issue with VDE configuration settings.
2023-05-23 11:53:59 -04:00
Jasmine Iwanek
8c1906bc98
Add missing translation
2023-03-01 00:15:56 -05: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
3a10ebd28d
Merge branch 'master' into global-config-screenshot
2022-12-03 20:29:26 +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
Jasmine Iwanek
6b49dd609e
Add zh-TW.rc to win32 & QT
2022-11-07 21:09:21 -05:00
Cacodemon345
e4e1852462
Start of global config infrastructure
2022-11-06 22:35:47 +06:00
cold-brewed
e4a4549e3f
qt: Rework ui pause update into a slot for thread safety
2022-10-29 09:09:30 -04:00
cold-brewed
f4c2cba3e0
qt: Move ui pause state update to plat_pause
2022-10-28 13:48:59 -04:00
cold-brewed
9adf5ab589
qt: Account for empty path in plat_fopen
2022-10-03 09:17:09 -04:00
cold-brewed
97a99f70e3
qt: Add floppy support to media history manager
2022-10-01 17:39:03 -04:00
cold-brewed
23e587b909
qt: Append usr_path for relative paths in plat_fopen64() on linux as well as macOS
2022-08-30 19:38:22 -04:00
cold-brewed
9daa721d44
qt: Add media history manager for recently used images
2022-08-30 17:18:51 -04: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
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
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
Alexander Babikov
6452e89235
Fix a typo in qt_platform.cpp
2022-07-26 10:22:31 +05:00
ts-korhonen
80e5470006
Fix crash at exit due to a unreleased mutex.
...
Qt startblit() and endblit() use a mutex that can remain locked at exit.
A thread static wrapper makes sure that each thread using the mutex will
also release it before terminating.
2022-07-25 14:13:30 +03:00
OBattler
c793fd7142
Proper separation.
2022-07-24 03:54:47 +02:00
OBattler
b13bb3a263
QT now uses the old Windows dynamic loading code when on Windows.
2022-07-24 03:37:37 +02:00
OBattler
476435f3d0
Attempt to fix Mac builds.
2022-07-11 03:44:30 +02:00
Cacodemon345
11a75f5fd5
Merge branch 'master' into multimonitor-take2-ui
2022-07-10 11:44:58 +06:00
OBattler
9eb7f6a3f9
Increased some arrays in plat_pause().
2022-07-10 00:38:14 +02:00