Commit Graph

79 Commits

Author SHA1 Message Date
cold-brewed
aaf3ab575e Add new platform functions for global directories 2024-05-17 15:09:04 -04: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
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
224daa92d0 qt: Remove fullscreen status icons 2024-02-13 21:13:25 +05:00
RichardG867
67c84f1ae6 Add automatically-generated names to threads 2024-01-09 20:14:21 -03:00
Miran Grča
05ac665ee7 Merge branch 'master' into fullscreenstaticonqt 2023-11-08 07:08:51 +01:00
Jasmine Iwanek
ad3cca65f6 Fallthrough fixes for MSVC 2023-08-16 13:04:58 -04:00
Jasmine Iwanek
bd6508350b Yet more tabs to spaces 2023-08-15 13:28:04 -04: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
Miran Grča
e55b06da4c Merge pull request #3534 from jriwanek-forks/sonarlint
Yet more Sonarlint and a few warning fixes.
2023-08-10 05:13:47 +02:00
Jasmine Iwanek
81bb5e564b Better fallthrough annotation macro. 2023-08-09 20:09:36 -04: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
Jasmine Iwanek
bee11bcbba Fix my clang fix 2023-07-26 19:54:39 -04:00
Jasmine Iwanek
d2f42198fd Fix clang build failure 2023-07-26 12:41:18 -04:00
Jasmine Iwanek
21adfd4d50 Next round of sonarlint cleanups 2023-06-26 18:28:13 -04: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
OBattler
27ebb27db7 Makefile.mingw corrections and made the code pass much stricter checks (now mandated by Makefile.mignw) to ensure GCC 14 readiness. 2022-11-17 22:44:06 +01:00
Jasmine Iwanek
bd75bc141a Header cleanups
Tabs to spaces
Consistency
2022-11-13 21:15:47 -05:00
Cacodemon345
e4e1852462 Start of global config infrastructure 2022-11-06 22:35:47 +06:00
ts-korhonen
f7c11a94e9 Fix windows clang+vcpkg build. 2022-10-18 20:44:09 +03:00
Jasmine Iwanek
ae4f9aedaa clang-format in src/include/86box/ 2022-09-18 17:22:54 -04:00
Miran Grča
f55ae27652 Merge pull request #2453 from elyosh/qtstatusbar
qt: switch to polling for status bar updating
2022-07-13 02:02:04 +02:00
Adrien Moulin
24ee676b13 qt: switch to polling for status bar updating 2022-07-13 01:04:01 +02:00
Cacodemon345
27e4124574 qt: Fix performance regression 2022-07-12 14:41:38 +06:00
Cacodemon345
826a75292f Fix Win32 compilation 2022-07-05 19:01:00 +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
Cacodemon345
8a3367ff6f Multi-monitor support (backend preparation part) 2022-07-03 01:18:23 +06:00
David Hrdlička
e60af6c29d Clean up plat.h a bit 2022-04-20 01:03:39 +02:00
Cacodemon345
1a3a7bec0e Move platform-specific ROM path adding code into plat modules 2022-04-06 16:16:25 +06: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
Cacodemon345
7dc84e0f67 qt: Fix HDD path relativization on Windows 2022-03-04 01:25:34 +06:00
Jasmine Iwanek
1362ade967 Merge branch 'master' into more-updates 2022-02-19 23:39:55 -05:00
OBattler
bd32abf94e Attempt to make the main thread wait for network mutex. 2022-02-20 01:22:28 +01:00
Jasmine Iwanek
7fc893bdb0 Include guards on our headers 2022-02-18 19:42:21 -05:00
Cacodemon345
c577aa85f2 qt: Add fullscreen status icons support and option 2022-02-16 01:42:11 +06:00
ts-korhonen
d52b749128 Merge branch 'master' of https://github.com/86Box/86Box into qt 2022-01-09 16:52:30 +02:00
ts-korhonen
9a566a501c Add hide_tool_bar config file setting
In preparation for toolbar implementation
2022-01-09 16:46:44 +02:00
ts-korhonen
c523283ca0 Merge branch 'master' of https://github.com/86Box/86Box into qt 2022-01-01 18:57:28 +02:00
OBattler
394768f5ac In default mode, the SDL2 renderers now use UpdateTexture(). 2021-12-29 20:53:32 +01:00
ts-korhonen
a03d0f0461 Merge branch 'master' of https://github.com/86Box/86Box 2021-12-17 22:28:11 +02:00
ts-korhonen
766f15d858 Better c++ compatibility to the doresize change 2021-12-17 22:26:21 +02:00
ts-korhonen
d3467568b0 qt: port atomic_flag doresize from master 2021-12-17 22:23:08 +02:00
ts-korhonen
3825d5c53c Merge branch 'master' into qt 2021-12-17 22:17:14 +02:00
ts-korhonen
805638ddd8 Fix window resize not always working
Change doresize to atomic_flag to prevent race condition
2021-12-17 22:15:21 +02:00
ts-korhonen
fee52c0b99 Merge branch 'master' of https://github.com/86Box/86Box into qt 2021-12-17 21:33:46 +02:00
David Hrdlička
7381ab6928 Minor changes to threading
- Renamed `cpp11_thread.cpp` to `thread.cpp`
- Removed features that are only supported by Win32 threads (`thread_wait` with timeout and mutex with spinlock)
- Fixed formatting in `thread.cpp`
2021-12-17 19:59:25 +01:00
Cacodemon345
563869a06e Fix macOS builds 2021-12-01 01:00:41 +06:00
Laci bá
dfa795b267 Add reverse conversion from string to LCID 2021-11-13 23:51:29 +01:00