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
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
Laci bá
dafc429e93
A lot of changes
...
- Fix the broken itemindex of ComboBox in the Settings dialog
- Change from LCID to uint32_t
- Rewrite the headers of the lang related functions (can handle the whole LCID as input)
- Add dummy functions to unix.c
- Add proper combobox handling in win_settings.c
- Added a lot of debug calls temporarily
- Reactivate every disabled option related to language changes
- Move lang_id to 86box.h from win.h
- Implement on-fly resource switch as discussed with OBattler
- Reimplement everything language related in the initialization section of the program
- Implemented the ladder of three points
1, what is the --lang?
2, what are definied in the config? (to be implemented)
3, what is the system language
2021-11-09 22:33:54 +01:00
Laci bá
9914ad520c
Multiple language-related updates
...
Add the possibility to change runtime language, via --lang parameter. Also specify the verbose language code in the Hungarian translation.
2021-11-09 18:53:15 +01:00
RichardG867
5bf8aa2d58
Port plat_m(un)map from the VFIO branch
2021-10-16 20:12:49 -03:00
Cacodemon345
d232ce99fe
Redirect fopen64 functions to fopen for non-Linux Unix systems
2021-09-07 16:24:50 +06:00
Cacodemon345
f6af2b0162
Fix compile errors and get rid of glib dependency
2021-08-29 23:50:21 +06:00
Cacodemon345
39fea69d5c
Fix warnings
2021-08-29 23:50:21 +06:00
dob205
34a14354bf
Fixes some small potential issues with the updated plat.h
...
Added a small fix for the if condition, so that the OS definition can work properly
2021-08-22 17:56:34 +02:00
dob205
672ff82e46
Update plat.h
2021-08-22 17:30:05 +02:00
OBattler
d1991ac763
Added the ability to hide the status bar, closes #1530 .
2021-07-30 04:01:46 +02:00
OBattler
949dea3524
Added IBM PCjr cartridge support.
2021-07-29 20:34:55 +02:00