Commit Graph

2130 Commits

Author SHA1 Message Date
robxnano
29d0ea13ae Restored variable comments, fixed stray bracket 2022-09-30 23:34:47 +01:00
robxnano
249dfc84ae Revert "SDL2: Stop hotkey commands accepting both Alt and Super when swap_opt_cmd = true"
The previous revert failed.
This reverts commit e28a9fc3a9.
2022-09-30 23:31:41 +01:00
robxnano
4c1c549ed6 Revert SDL2 hotkey code to original version
This reverts commits 3b7a89aad9
and e28a9fc3a9.
2022-09-30 23:09:23 +01:00
robxnano
1b36e7e118 Unix: Added support for old prefs paths, refactored code
Improved the XDG_CONFIG_HOME implementation by adding fallback paths.
If a prefs file in the old location exists, this will be loaded ahead
of the new one. But if no existing file is found, a new one will be
created in the new config directory. Additionally new log messages
were added to show where the prefs file was loaded from.
2022-09-30 18:36:09 +01:00
Seg
ffb525800b Implement XDG Base Directory Specification 2022-09-29 16:41:47 +01:00
robxnano
3b7a89aad9 Moved code to set hotkey down bools to kc_decode
- Now hotkey message should always match the actual key
2022-09-27 18:25:27 +01:00
robxnano
4724ce7aee Fix build when X11 fbdev is enabled 2022-09-26 22:47:25 +01:00
robxnano
95f1d46bae Implemented swap_opt_cmd and hotkey prefs for X11 video 2022-09-26 21:00:16 +01:00
robxnano
92778586de Fixes for building with X11 backend 2022-09-26 18:07:56 +01:00
robxnano
988eef8c5c Removed unused and redundant tests which were causing segmentation faults 2022-09-26 18:01:54 +01:00
robxnano
05adbff2f5
Merge branch 'kanjitalk755:master' into sdl1-fix 2022-09-10 13:34:38 +01:00
robxnano
1de48de65d Updated default keycodes 2022-09-07 15:25:31 +01:00
robxnano
36b2862d21 Ported hotkey and swap_opt_cmd preference support to SDL 1.2 2022-09-07 15:25:00 +01:00
robxnano
e28a9fc3a9 SDL2: Stop hotkey commands accepting both Alt and Super when swap_opt_cmd = true 2022-09-07 13:23:57 +01:00
kanjitalk755
6edec590ab macOS: fix mouse grab message 2022-09-07 20:25:22 +09:00
robxnano
bfad0d3bba Removed redundant code 2022-09-07 10:23:54 +01:00
robxnano
dae2be8c48 ifdefs weren't placed correctly 2022-09-07 00:03:14 +01:00
robxnano
177a297527 Fixed string building for mouse grab hotkey message 2022-09-06 23:23:33 +01:00
robxnano
b1ab353085 Fixed building BasiliskII with SDL 1.2 2022-09-05 23:32:05 +01:00
robxnano
4ac4cbba45 Re-enabled SDL 1.2 configure flag 2022-09-04 19:02:28 +01:00
robxnano
ed86a18497 Used std::string to fix crash on grabbing mouse with Ctrl+F5 2022-09-03 15:05:56 +01:00
robxnano
481b675e1a Try to fix building on SDL 1.2 2022-09-03 14:31:30 +01:00
kanjitalk755
4b1bc7c38c fix multiple entry of "seriala" 2022-07-19 23:07:20 +09:00
kanjitalk755
756021f267 append build date at the end of help 2022-07-01 10:12:34 +09:00
kanjitalk755
d9e0761bd9 BII and SS: linux arm64 2022-06-22 22:12:37 +09:00
kanjitalk755
11e88dd94f play startup sound also when reboot 2022-06-04 16:32:57 +09:00
Korkman
d36be9168d Revert codepage mistake 2022-06-03 20:54:43 +02:00
Korkman
4f94ef52c1 Fix building in Debian Buster, Ubuntu Jammy 2022-06-03 20:40:40 +02:00
kanjitalk755
f017f9df58 fix pref item "cdrom" 2022-06-02 20:36:31 +09:00
kanjitalk755
5900e4895a Modify pref items 2022-06-02 15:42:11 +09:00
kanjitalk755
9009a2741f skip checking STDC_HEADERS 2022-05-17 11:33:26 +09:00
kanjitalk755
d7e93d8f37 remove --with-sdl1 from configure.ac 2022-05-16 22:26:25 +09:00
Ger Schinkel
e933e7885f Create files according to the process umask. 2022-05-03 08:08:36 +02:00
Ger Schinkel
81ccbfa1e7 Volume creation changes. No longer dependent on dd system command. Does not overwrite existing files. Rudimentary file size checks. 2022-05-02 16:45:42 +02:00
Ger Schinkel
425dac6a7c Fixed a bug where not all modems, printers and ethernet interfaces would get listed after sorting. 2022-04-29 13:49:29 +02:00
asvitkine
1f5465ad77 Resolve more compiler warnings in Xcode projects. 2022-04-05 15:15:26 -04:00
kanjitalk755
fcf2c1d9b6
Merge pull request #122 from asvitkine/cleanz
Fix various compiler warnings with Xcode builds.
2022-04-05 15:14:57 +09:00
kanjitalk755
0f7f1543ed
Merge pull request #119 from asvitkine/cleanup_headers
Clean up forward declarations in favor of header files.
2022-04-05 14:05:14 +09:00
asvitkine
732029a512 Fix various compiler warnings with Xcode builds. 2022-04-04 23:44:30 -04:00
asvitkine
3b1868ae56 Fix typo 2022-04-04 22:37:53 -04:00
kanjitalk755
86665c4c30
Merge pull request #120 from asvitkine/fix_warnings
Fix some compile warnings with Xcode project build.
2022-04-05 10:24:49 +09:00
asvitkine
789a39a2c6 Remove unused code. 2022-04-04 14:01:58 -04:00
asvitkine
2ea84d86c7 Fix some compile warnings with Xcode project build. 2022-04-04 13:53:53 -04:00
asvitkine
e069d84f5b Clean up forward declarations in favor of header files. 2022-04-04 13:42:58 -04:00
kanjitalk755
f07b34a451 BII: additional delay test 2022-03-16 13:40:14 +09:00
kanjitalk755
d05e5ab711 make swap_opt_cmd valid even if keycodes file is used 2022-01-18 11:45:55 +09:00
Doug Brown
44f6eff928 Include scancode when reservewindowskey is enabled
Previously, only the keycode was being filled in. This worked in many
cases, but it turns out that the scancode is also important in order to
be compatible with some keycode mapping files.

See discussion:
https://www.emaculation.com/forum/viewtopic.php?p=72685
2022-01-16 17:30:54 -08:00
Doug Brown
f1502fb6bd Add optional ability to intercept Windows key
This allows you to use the Windows key as your option key, bypassing
Windows' various uses of the key for the start menu and keyboard
shortcuts. This is enabled with the "reservewindowskey" setting in
the prefs file, and a checkbox has been added to the settings GUI.
2022-01-09 11:43:33 -08:00
kanjitalk755
f385c22ed2 fix for mounting CDROM after reboot 2021-08-30 22:20:26 +09:00
kanjitalk755
b2df4fed1f fix for SDL 2.0.14 2021-08-01 09:55:43 +09:00
kanjitalk755
ab586a5a09 SS, x86_64: fix thousands colors mode 2021-06-30 22:00:59 +09:00
kanjitalk755
90edd35246 swap_opt_cmd assumes false if keycodes file used 2021-06-30 11:25:05 +09:00
kanjitalk755
0538eb0cc0 BII,linux,x86_64: fixed JIT 2021-06-24 14:19:13 +09:00
kanjitalk755
56343905e3 adjust warning 2021-06-21 10:54:59 +09:00
kanjitalk755
15f56749ba changed to use GMP/MPFR static libraries 2021-06-13 23:50:16 +09:00
aarojun
d346521b92 Fixed file read of sdlrender pref 2021-05-28 01:36:28 +03:00
aarojun
9621850735 Add Render Driver setting to GUI 2021-05-27 23:40:24 +03:00
aarojun
42e70e85c6 Add sdl_vsync setting to GUI 2021-05-27 17:16:35 +03:00
aarojun
bdcc9d2da4 Keep refresh rate settings when dtype = fullscreen 2021-05-27 15:15:52 +03:00
aarojun
ac68d68920 Add sdl_vsync to pref items 2021-05-27 13:28:33 +03:00
aarojun
5d1bfd1059 Merge branch 'master' of https://github.com/aarojun/macemu 2021-05-27 06:40:56 +03:00
aarojun
c28a00f58a Add sdl_vsync option (vertical sync with SDL_Renderer) 2021-05-27 06:30:31 +03:00
kanjitalk755
420dc1d504 fixed startup sound 2021-05-16 14:46:58 +09:00
kanjitalk755
bc9c7675f9 removed unnecessary files from the uae_cpu libraries 2021-05-07 14:29:27 +09:00
kanjitalk755
caf10f1223 BII(x86_64): re-enabled JIT compiler 2021-05-06 14:24:31 +09:00
kanjitalk755
5862662bc9 fix for Linux and Windows 2021-05-06 12:16:03 +09:00
kanjitalk755
e42b8f6076 rename new uae_cpu 2021-05-06 11:38:37 +09:00
kanjitalk755
1d710a0cad BII: disable JIT compiler 2021-05-05 22:15:43 +09:00
kanjitalk755
1aaeaf05c4 fixed merge error and deleted unnecessary files 2021-05-04 18:33:50 +09:00
kanjitalk755
65028aec4a Merge remote-tracking branch 'uyjulian/core_cleanup/BasiliskII/src/uae_cpu' into update_uae 2021-05-04 13:51:40 +09:00
kanjitalk755
8a28ad6e39 A workaround for Xcode 12.5 2021-04-30 10:07:28 +09:00
kanjitalk755
49eee29597 Xcode: modified for building both x86_64 and arm64 2021-04-23 20:47:17 +09:00
kanjitalk755
20d2de95ce marged Jagmn's patch
https://emaculation.com/forum/viewtopic.php?p=70121#p70121
2021-04-23 10:19:48 +09:00
kanjitalk755
a39eff553c changed implementation of "name_encoding" 2021-04-21 21:29:05 +09:00
kanjitalk755
e750aecafe macOS: prefs item "name_encoding" 2021-04-16 10:54:04 +09:00
Matthias Weiß
176da65363 applyed patches from https://github.com/oaguy1/macemu 2021-03-30 15:14:14 +02:00
kanjitalk755
8064215081 prefs item "sound_buffer" 2021-03-17 11:42:37 +09:00
kanjitalk755
7471c357c3 linux,Windows: fixed fullscreen 2021-03-04 14:29:02 +09:00
kanjitalk755
ce3e2f3693 prefs item "mousewheellines" accepts negative value 2021-03-03 14:59:37 +09:00
kanjitalk755
6d3fbba4cd Merge remote-tracking branch 'seghaxx/master'
# Conflicts:
#	BasiliskII/src/MacOSX/extfs_macosx.cpp
#	BasiliskII/src/SDL/video_sdl2.cpp
#	BasiliskII/src/Unix/configure.ac
2021-03-03 12:13:12 +09:00
kanjitalk755
65772919a1 specify OpenGL if non-Metal Mac 2021-02-28 18:56:58 +09:00
kanjitalk755
623abaa243 prefs item "title" 2021-02-27 18:29:57 +09:00
kanjitalk755
2f1f196251 Merge branch 'test_fullscreen3' 2021-02-25 14:50:54 +09:00
kanjitalk755
39cbc73a9f added SDL version check 2021-02-25 14:49:54 +09:00
kanjitalk755
e75d2ca5d6 fix for g++ 2021-02-16 15:11:49 +09:00
kanjitalk755
09046e0a2f check Metal device 2021-02-14 16:25:02 +09:00
kanjitalk755
4cf65a3faf fixed initial window title 2021-02-10 22:12:38 +09:00
kanjitalk755
fbddf063cb fixed swapping opt and cmd key if keycode file is used 2021-02-07 09:34:22 +09:00
kanjitalk755
89e8a05815 startup sound 2021-02-06 13:06:13 +09:00
kanjitalk755
556ec0cf80 added port forwarding for Windows 2021-02-05 22:13:46 +09:00
Glenn Anderson
5620ef8c43 Improved fix for resource forks not being created on APFS volumes 2021-02-03 09:16:11 -08:00
kanjitalk755
3f4eed670f fix for SDL 2.0.14 2021-02-02 18:35:57 +09:00
kanjitalk755
0fd17a98ff BII: fixed thousands colors mode 2021-01-31 21:20:47 +09:00
Seg
144b117886 Fix JIT enable logic 2020-12-30 07:54:21 -08:00
Seg
6d92f13bcd Don't use linker script on x86_64, there is no need for it and it
breaks flatpak builds
2020-12-30 07:33:52 -08:00
Seg
cad8df587d Update config.guess and config.sub 2020-12-30 07:33:52 -08:00
Seg
eb9142ac14 Fix crash on linux aarch64 2020-12-30 07:33:52 -08:00
Seg
0c8529eca1 Merge remote-tracking branch 'cebix/master' into kanjitalk755/master 2020-12-30 07:22:50 -08:00
kanjitalk755
436c5df15f fix CapsLock for linux 2020-12-17 22:25:48 +09:00
kanjitalk755
cadd3350ea
Merge pull request #72 from rakslice/x64_32_instruction_skip
X64 32-bit address instruction skip
2020-12-02 18:12:19 +09:00