Commit Graph

74 Commits

Author SHA1 Message Date
Cacodemon345
67a2d987ea unix: Fix compilation 2022-07-29 16:56:48 +06:00
Cacodemon345
0ce1a8edfe Fix compilation for non-Qt builds 2022-07-07 15:09:13 +06:00
Adrien Moulin
a3db023f19 Fix building on macOS without Qt 2022-05-21 11:23:14 +02:00
David Hrdlička
e60af6c29d Clean up plat.h a bit 2022-04-20 01:03:39 +02:00
Cacodemon345
ff86f97fef unix: Fix missing include 2022-04-08 15:00:35 +06:00
David Hrdlička
3449a173ae Move ROM search path code to rom.c, rewrite rom_fopen 2022-04-08 01:34:47 +02:00
David Hrdlička
a780d9a241 Rewrite plat_init_rom_paths in Qt frontend 2022-04-08 00:58:38 +02:00
Cacodemon345
0fd3042e0c qt: Add support for loading ROMs from ~/Documents/86Box/roms on macOS 2022-04-07 00:57:16 +06:00
Cacodemon345
1a3a7bec0e Move platform-specific ROM path adding code into plat modules 2022-04-06 16:16:25 +06: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
Alexander Babikov
4b8b7c3950 Add handling for several missing strings to plat_get_string on Qt and legacy Unix UIs 2022-03-15 04:19:10 +05:00
RichardG867
94be8cdfc6 GDB Stub: Initial commit 2022-03-12 20:20:25 -03:00
Cacodemon345
d695ca3cc9 qt: Don't normalize paths on non-Windows 2022-03-04 14:00:24 +06:00
Cacodemon345
7dc84e0f67 qt: Fix HDD path relativization on Windows 2022-03-04 01:25:34 +06:00
Jasmine Iwanek
4674756664 More newline and whitespace cleanups 2022-02-20 16:26:40 -05:00
David Hrdlička
76fbaa4b8c Revert "Merge branch 'master' of https://github.com/86Box/86Box"
This reverts commit efb79217f2, reversing
changes made to 351db812e0.
2022-02-18 21:42:05 +01:00
Alexander Babikov
e0593523f2 Make the "PAUSED" toolbar string translatable 2022-02-13 21:00:40 +05:00
David Hrdlička
4b3aabc4ba Fix non-Qt Unix build 2022-02-07 22:58:08 +01:00
ts-korhonen
9a566a501c Add hide_tool_bar config file setting
In preparation for toolbar implementation
2022-01-09 16:46:44 +02:00
Cacodemon345
2da187c0bd Fix plat_mmap on FreeBSD (#1980)
* Fix plat_mmap on FreeBSD

* Same for old codegen backend

* ...and for new codegen backend
2022-01-07 09:58:59 +01:00
Alexander Babikov
a6af62835b Synchronize the internal clock with host time when unpausing the emulator 2021-12-22 06:04:58 +05: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
Laci bá
41ba4ee86b Fix that POST card's message is disappearing when language/iconset change occurs 2021-12-05 11:48:31 +01:00
Miran Grča
52e23efb44 Merge branch 'master' into changeable_icon_set 2021-11-18 22:15:53 +01:00
Laci bá
03a7247630 Apply requested changes
- Remove icon functions from plat.h.
- Fix some indentation problems.
- Remove unused parameter from win_stbar.c
- Rename win_lang.c to win_progsett.c
- Remove stub functions from unix.c
- Move win_load_icon_set() to ui_init()
- Replace the translated texts to English, and let the translators translate them
- Fix the control IDs in dialogs.rc.
- Use the requested solution in win_icon.c for setting the array variables.
2021-11-17 19:02:19 +01:00
Andreas J. Reichel
f935d9b105 Unix: Make fullscreen command really toggle
Help says that fullscreen TOGGLES fullscreen. Fix this.

Signed-off-by: Andreas J. Reichel <andreas@reichel.bayern>
2021-11-17 14:35:22 +01:00
Laci bá
0aa6e9c8a6 Finish the changeable iconset 2021-11-16 19:38:31 +01:00
Laci bá
1586cf6f57 Fix some Linux/Mac compile breaking stuff 2021-11-14 15:00:55 +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
Cacodemon345
8ae76614df Fix compile error 2021-10-20 00:37:23 +06:00
Cacodemon345
f1a74ac36d Fix plat_mmap on macOS platform 2021-10-19 23:46:32 +06:00
RichardG867
5bf8aa2d58 Port plat_m(un)map from the VFIO branch 2021-10-16 20:12:49 -03:00
Cacodemon345
16a8c4cb25 Add more missing strings to Unix backend 2021-10-16 00:14:26 +06:00
Cacodemon345
ca1a28f0e6 Fix message box display on Unix 2021-10-13 23:41:02 +06:00
Cacodemon345
d4cd4b7a44 Fix flickering on Unix backend 2021-09-20 16:27:10 +06:00
OBattler
96faa28eeb Removed the useless y1 and y2 parameters from the renderers' blit functions (and other places). 2021-09-13 23:19:10 +02:00
Cacodemon345
8b316f869b Include SDL.h before anything else
This also cleans up the unnecessary source-level defines
2021-09-09 23:51:26 +06:00
Cacodemon345
5d1e026f7d Add help command
This commit also adds PrintScreen key mapping.
2021-09-08 13:49:04 +06:00
Cacodemon345
e082658d9d Fix monitor argument count 2021-09-08 01:44:30 +06:00
Cacodemon345
e8f8b74d61 Add Windows key mappings 2021-09-06 22:06:02 +06:00
Cacodemon345
dbf1202d0c unix.c: Fix character count in fullscreen string 2021-09-04 00:28:41 +06:00
Cacodemon345
70833a6e69 Disable monitor interface if CLI text-mode is enabled 2021-08-30 00:41:40 +06:00
Cacodemon345
c5f563c76b Fix freezes on exit for real 2021-08-29 23:50:22 +06:00
Cacodemon345
995611bf91 Mimic per-second timer approach of PCem SDL2 2021-08-29 23:50:22 +06:00
Cacodemon345
2256a41704 Keep polling for events until there isn't any 2021-08-29 23:50:22 +06:00
Cacodemon345
1b122ae789 Fix buggy mouse wheel behaviour 2021-08-29 23:50:22 +06:00
Cacodemon345
03497b5bbf Fix libedit crashes
Set priorty of main_thread to High
2021-08-29 23:50:22 +06:00
Cacodemon345
e025a422df Don't leave terminal broken when exiting 2021-08-29 23:50:22 +06:00