Commit Graph

2113 Commits

Author SHA1 Message Date
kanjitalk755
d2c2647e3a Fix window position 2023-08-23 20:23:08 +09:00
kanjitalk755
1d8e348e4b Set window position when switching to windowed mode 2023-08-23 10:58:23 +09:00
kanjitalk755
81bdda2a5b test fullscreen for Linux and Windows 2023-08-21 10:02:15 +09:00
kanjitalk755
e90180a2c3 check duplicate mount 2023-08-07 10:30:04 +09:00
kanjitalk755
a94a41885b drop and mount 2023-08-06 20:51:03 +09:00
kanjitalk755
1199f8115e BII: High-precision timer backported from SS 2023-05-02 18:05:09 +09:00
kanjitalk755
36de3833bf Changed Deployment Target 2023-04-04 14:30:15 +09:00
kanjitalk755
d6112f4a30 Fix audio volume and mute 2022-12-12 18:17:01 +09:00
kanjitalk755
ed3decddf1 Fix TAP component IDs 2022-12-03 21:55:10 +09:00
kanjitalk755
d4ec4e5323 Fix startup sound 2022-11-30 07:18:32 +09:00
kanjitalk755
1a2d818e47
Merge pull request #147 from robxnano/gtk2
Move to GTK 2
2022-10-18 12:48:38 +09:00
robxnano
4217fc73cd OpenIndiana: Skip instruction fix
Fixes the register definitions so that instruction skip works.
Both Basilisk II and SheepShaver now work (without JIT) on
Solaris-based OSes such as OpenIndiana.
2022-10-15 00:20:15 +01:00
robxnano
ae9d917d5e Apply NetBSD pkgsrc patches
Patches obtained from
https://github.com/NetBSD/pkgsrc/blob/trunk/emulators/BasiliskII/
2022-10-11 19:31:36 +01:00
robxnano
0118e99764 Basilisk II: Skip test for -no-pie flag in macOS 2022-10-11 15:55:57 +01:00
robxnano
cb67534d28 Changed conftests for disabling position-independent code
Basilisk II (Intel Mac): uses -Wl,-no_pie flag
Basilisk II (other): uses -no-pie flag if available
SheepShaver: Does not use either flag
2022-10-10 14:50:04 +01:00
robxnano
f61701df3c Fixes for compatibility with older Linux versions
- Check for both -no_pie and -no-pie flags to disable
  position-independent code.
- Use AC_PROG_CC_C99 to force C99 standard.
2022-10-08 18:37:43 +01:00
robxnano
c727bc0df7 Added "Save Preferences" menu item 2022-10-08 16:38:01 +01:00
robxnano
fdeb8617da Remove unnecessary warning if xpram file doesn't exist 2022-10-08 16:20:13 +01:00
robxnano
6da609938e Merge prefs_unix.cpp
Replaced SheepShaver's prefs_unix.cpp with a symlink to Basilisk II's
version, and used ifdefs to account for the remaining differences.
2022-10-08 16:18:36 +01:00
robxnano
aaf67fd59a Fix for make uninstall without standalone GUI 2022-10-08 14:36:04 +01:00
robxnano
af96a51acb GTK2: Replaced option menus with combo boxes
The old GtkOptionMenu widget is deprecated.
2022-10-08 14:04:20 +01:00
robxnano
bf784a2c30 Removed obsolete version check 2022-10-08 12:29:02 +01:00
robxnano
094995722b Added register names for Linux x86_64 2022-10-08 03:08:55 +01:00
robxnano
604baaa289 Added registers for OpenIndiana x86_64 and other fixes
OpenIndiana/illumos is based on OpenSolaris 10 and
uses the Solaris code paths.
Current status:
Basilisk II: Working but cannot ignore illegal instructions
SheepShaver: Doesn't compile because of same problem
If the SIGSEGV skip instruction handler were fixed, both
programs would likely work.
2022-10-08 03:03:52 +01:00
robxnano
2a74fdaab6 Added registers for NetBSD x86_64 and other fixes
NetBSD current status:
Basilisk II: Builds and runs, but JIT doesn't work
SheepShaver: Doesn't work because of BSD mmap limitations
2022-10-08 01:33:44 +01:00
robxnano
1dd1d2713d Fixes for building on FreeBSD and other platforms
FreeBSD current status:
Basilisk II: Builds and runs successfully using gcc and gmake
SheepShaver: Doesn't work because FreeBSD doesn't support mapping
the zero memory page. SheepShaver would only work on *BSD if the
direct addressing mode worked.
2022-10-08 00:12:52 +01:00
robxnano
01ba8564ed Improved UI support on FreeBSD 2022-10-03 19:36:46 +01:00
robxnano
d284e9976b GTK2: More fixes
- Fix JIT combo box error
- Make ignore illegal instructions checkbox visible but disabled
  if HAVE_SIGSEGV_SKIP_INSTRUCTION is not enabled
- Make file choosers open at the folder that was selected
2022-10-03 02:06:03 +01:00
robxnano
7482de353b Added sys/stat.h to sysdeps.h
Needed on BSD for S_* ioctl constants and macros
2022-10-01 20:21:37 +01:00
robxnano
3f00759e54 GTK2: Updated combo boxes with entries
The old GtkCombo widget was deprecated.
2022-10-01 20:07:52 +01:00
robxnano
a9d1f35cdf GTK2: Replace file chooser dialogs and about dialogs
The GtkFileChooserDialog API makes it easier to select files and
folders. Additionally Browse buttons have been added to all file
entry fields.
2022-10-01 19:18:43 +01:00
robxnano
0083bc7ea7 Unix: Bump minimum GTK+ version to 2.6.4
GTK+ 1.2 is extremely outdated and no longer included in most
distributions. By removing support for it we can replace old
UI elements with more modern ones.
2022-10-01 14:58:44 +01:00
kanjitalk755
2fa17a0783
Merge pull request #144 from robxnano/xdg-dirs
Respect XDG Base Directory Specification
2022-10-01 10:19:33 +09:00
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