Commit Graph

1257 Commits

Author SHA1 Message Date
robxnano
8c1580ebc8
GTK3: Fix crash on changing theme
SDL uses GTK to draw window title bars on Wayland, and can crash
when the color scheme is changed. Disconnecting from the portal
before launching the emulator works around this.
2024-08-28 23:45:55 +01:00
robxnano
208c2645da
GTK3: Fix --nogui option 2024-08-28 23:45:51 +01:00
robxnano
bcc06d8d33
GTK3: Support freedesktop color-scheme
On desktops which support the org.freedesktop.appearance
settings portal, the application will switch automatically
between light and dark themes.
2024-08-25 14:18:12 +01:00
robxnano
d1b288ba19
Unix: Support for GTK 3
- Minimum version required is GTK 3.14.5
- Choose version using the --with-gtk={2,3} configure option
- Settings UI has been ported to GtkBuilder XML files
New features:
- Native file chooser support (with GTK_USE_PORTAL=1 envvar)
- CD-ROMs, both real and virtual, are listed in the volumes pane
- Use the checkbox to set a volume as a CD-ROM
- Header bar on DEs that use it, menu bar on those that don't
- Additional options including hotkey, swap_opt_cmd and nogui
2024-08-25 14:18:11 +01:00
robxnano
2658de9556
GTK: Fix message boxes
- Increase default size for new volumes
2024-08-25 13:36:21 +01:00
kanjitalk755
e517d73f0c Update for SDL3 2024-08-22 20:43:38 +09:00
kanjitalk755
4b6beeca17 Fix for SDL3 3.1.2 Preview (addition) 2024-05-26 12:25:13 +09:00
kanjitalk755
d7c030312d Fix #198 2024-04-02 20:38:34 +09:00
kanjitalk755
979523b5ca Fix #195 2024-03-29 21:11:46 +09:00
kanjitalk755
e12789a57e Fix for LTO enabled environment by default 2024-03-23 12:44:16 +09:00
chenchijung
784ac7bb7e fix ROMBase compare before assignment issue 2024-02-24 17:46:31 +08:00
chenchijung
45e3bd1d3e modify for workaround <cannot map RAM:No Error> caused by confliction with MSI afterburner or RIVA Tuner statistic tuner Server 2024-02-21 19:29:20 +08:00
kanjitalk755
0a1d9c35bf SS: fix for linux/aarch64 2024-01-20 14:34:21 +09:00
kanjitalk755
3176aa887d Add prefs item init_grab 2024-01-11 11:00:04 +09:00
kanjitalk755
1d8dd979ab Improved stability during reboot 2023-12-17 09:32:14 +09:00
kanjitalk755
b6d62c2f14 Add framework search path 2023-12-06 10:30:10 +09:00
kanjitalk755
9395e119af Fix for Xcode 15 2023-12-05 14:24:22 +09:00
kanjitalk755
021bb50149 SS: the hardware cursor can be used even when the magnification is not an integer when in fullscreen 2023-12-03 15:38:24 +09:00
kanjitalk755
3d49e9790b Update for SDL3 2023-11-26 09:48:26 +09:00
kanjitalk755
19308135c3 Update for SDL3 2023-10-18 10:46:13 +09:00
kanjitalk755
9a7751f1a2 Prepare for SDL3 2023-09-13 20:45:03 +09:00
kanjitalk755
0942bdcbf9 test framebuffer handling 2023-08-25 19:50:04 +09:00
kanjitalk755
6f94fdd7b0 allow unaligned lmw/stmw 2023-07-09 13:43:50 +09:00
kanjitalk755
d66da33874 SS, Windows: Fix Makefile 2023-05-03 17:47:06 +09:00
kanjitalk755
c4a22a51d6 Add a symbolic link 2023-05-02 18:08:17 +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
Wesley Moore
78a4e7212b
Add missing semi-colon to prefs_editor_gtk.cpp 2023-03-26 14:41:00 +11:00
kanjitalk755
92c4c72000 Fix for Raspberry Pi 1 2023-01-12 21:04:23 +09:00
kanjitalk755
0365386fa1 Fix for macOS Ventura 2022-12-22 09:05:57 +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
kanjitalk755
b3ebcd595c fix for macOS 2022-10-12 11:17:27 +09: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
4b58ce3ea8 Added xpram_unix.cpp to SheepShaver "make links" 2022-10-08 17:55:42 +01:00
robxnano
c727bc0df7 Added "Save Preferences" menu item 2022-10-08 16:38:01 +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
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
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