Commit Graph

6420 Commits

Author SHA1 Message Date
Emmanuel Gil Peyrot 0896b99b49 README.LIN: Direct to release builds by default
Fixes #376.
2020-09-22 12:04:24 +02:00
zeromus e38e98714e
Merge pull request #378 from thesourcehim/master
Add missing libsoundtouch define for meson
2020-09-21 14:44:48 -04:00
thesource 50abbbafa7 Add missing libsoundtouch define for meson 2020-09-21 21:13:15 +03:00
Emmanuel Gil Peyrot 5552ef11c0 GTK: Add missing guards for HUD actions
Fixes #377.
2020-09-21 14:55:44 +02:00
Emmanuel Gil Peyrot 35c44285a8 README.LIN: Update from autotools to meson 2020-09-20 22:49:40 +00:00
davg-qqq ba92804d9f GTK: Update autotools config to use gtk3
This will depend on 3.24 as this is the only version I have available.
If someone else confirms it works on an older version we can lower it.
2020-09-20 22:42:48 +00:00
Emmanuel Gil Peyrot 0abe38ce76 GTK: Fix build with AGG
This was prevending HUD from building.  Note that this doesn’t make it
work fully yet, as the pixel format seems wrong, as if AGG was assuming
RGB888 while the buffer is actually RGBx8888 or something like that.

Fixes #375.
2020-09-20 22:39:25 +00:00
Emmanuel Gil Peyrot 383e315b21 meson: Downgrade minimum version to 0.53
I tested it on Ubuntu 20.04 and it works properly.
2020-09-20 21:01:31 +00:00
Emmanuel Gil Peyrot 46c7e34439 meson: Add missing dependency on threads
Thanks @davg-qqq for noticing, I could reproduce on Ubuntu 20.04, but
not on ArchLinux, where I originally wrote this code.
2020-09-20 21:01:17 +00:00
zeromus 2ac787a855
Merge pull request #370 from linkmauve/fixup
Fix two issues in the recent GTK+ move
2020-09-09 18:05:53 -04:00
Emmanuel Gil Peyrot bfeff3fe66 GTK: Restore content scaling
It had been broken in eabfcb71be when
moving from GtkVBox to GtkBox removed homogeneous=false.
2020-09-09 23:54:06 +02:00
Emmanuel Gil Peyrot 3ecbb29863 GTK: Fix a build issue in a lambda
It wasn’t correctly capturing its outer variable.
2020-09-09 23:53:20 +02:00
zeromus 5dd62b214b
Merge pull request #368 from linkmauve/gtk3
Port DeSmuME to GTK+ 3.24
2020-09-09 17:20:13 -04:00
Emmanuel Gil Peyrot a1ea27d7f9 GTK: Restore the open recent submenu
This now only uses GtkRecentManager to populate the menu.
2020-09-09 23:17:43 +02:00
Emmanuel Gil Peyrot 7435ffaefd GTK: Restore savestate menu
This is now using an action parameter to send the slot to save to/load
from.

There was a previous comment about Shift-Fn being broken and a
workaround using Key_Press(), but it doesn’t seem to be broken anymore
so we can use the accelerators instead and remove a static variable.
2020-09-09 22:46:39 +02:00
Emmanuel Gil Peyrot 5629855183 GTK: Properly guard HUD function when AGG isn’t found 2020-09-04 14:40:51 +02:00
Emmanuel Gil Peyrot 74cd070e61 GTK: Reimplement the toolbar using GtkBuilder 2020-09-04 14:40:50 +02:00
Emmanuel Gil Peyrot ef0e3b3adf GTK: Migrate from GtkAction to GAction 2020-09-04 14:40:32 +02:00
Emmanuel Gil Peyrot 0c9a8a5282 GTK: Replace deprecated gdk_window_get_pointer() with gdk_window_get_device_position() 2020-09-01 20:47:44 +02:00
Emmanuel Gil Peyrot 3c32aeb0f5 GTK: Replace deprecated GtkHButtonBox with horizontal GtkButtonBox 2020-09-01 20:47:44 +02:00
Emmanuel Gil Peyrot ad9e7e8be1 GTK: Replace deprecated GtkHRange with horizontal GtkRange 2020-09-01 20:47:44 +02:00
Emmanuel Gil Peyrot 2423a9bb5e GTK: Replace stock texts with their actual string 2020-09-01 20:47:44 +02:00
Emmanuel Gil Peyrot 96bc8977bd GTK: Replace GtkTable with GtkGrid, in a UI string 2020-09-01 20:47:44 +02:00
Emmanuel Gil Peyrot d680c4be51 GTK: Use modern GDK accessors to its Cairo context 2020-09-01 20:47:44 +02:00
Emmanuel Gil Peyrot 13b5c0fd01 GTK: Migrate from gtk_main() to GtkApplication
This will make it possible to use GAction to replace the deprecated
GtkAction and GtkToggleAction and such.
2020-09-01 20:47:44 +02:00
Emmanuel Gil Peyrot cc9d7a1450 GTK: Replace GtkFileChooserDialog with GtkFileChooserNative
This one uses the native file chooser the user is used to, which can be
GTK’s on Linux but a more familiar one on other OSes.  If
xdg-desktop-portal is installed, it can even use the DE’s native one on
Linux.
2020-09-01 20:47:44 +02:00
Emmanuel Gil Peyrot c1efe4f475 GTK: Remove usage of deprecated GtkMisc 2020-09-01 20:47:44 +02:00
Emmanuel Gil Peyrot eabfcb71be GTK: Replace deprecated GtkVBox/GtkHBox with GtkBox 2020-09-01 20:47:44 +02:00
Emmanuel Gil Peyrot e4b07d2f4d Name various threads to ease debugging 2020-09-01 00:05:27 +02:00
Emmanuel Gil Peyrot 5428763559 task: Add the ability to name threads 2020-08-31 23:56:14 +02:00
Emmanuel Gil Peyrot e70e065ffe rthreads: Add the ability to name threads 2020-08-31 23:56:14 +02:00
Emmanuel Gil Peyrot 917db3ecac rthreads: Fix documentation (void function doesn’t return) 2020-08-31 23:56:14 +02:00
Emmanuel Gil Peyrot 4c53f62967 GTK: Remove deprecated gtk_widget_modify_bg()
If we want to change the style of a widget, we should use CSS nowadays.
2020-08-29 23:13:24 +02:00
Emmanuel Gil Peyrot e808897c47 GTK: Reenable deprecation warnings
At this point we got a fully (?) functional gtk3 port, but it uses a ton
of deprecated functions that will be removed in gtk4.  Better enable the
warnings so that we know what to fix before then.
2020-08-29 20:53:15 +02:00
Emmanuel Gil Peyrot 81f0ded5b6 GTK: Restore drawing capability
The expose_event signal has been renamed draw.
2020-08-29 20:53:15 +02:00
Emmanuel Gil Peyrot 89f5e50039 GTK: Use accessor to retrieve GtkAdjustment value 2020-08-29 20:53:15 +02:00
Emmanuel Gil Peyrot 87c2377c6a GTK: Fetch widget’s window with the relevant function
At this point, this version builds.  It is full of deprecated widgets
and functions though, which will have to be cleaned over time.  It also
doesn’t display any visuals in the DS emulation part yet.
2020-08-29 20:53:15 +02:00
Emmanuel Gil Peyrot cdbad3d05a GTK: Fetch dialogs’ content area with the relevant function 2020-08-29 20:53:15 +02:00
Emmanuel Gil Peyrot 3927aa4422 GTK: Rename GDK keys to their new name 2020-08-29 20:53:15 +02:00
Emmanuel Gil Peyrot 70733a55b4 GTK: Switch to gtk3 instead of gtk2
All deprecation warnings are disabled for now, they will be reenabled at
a later point.
2020-08-29 20:53:15 +02:00
Emmanuel Gil Peyrot 6823aed6dd GTK: Add a meson build system 2020-08-29 20:53:15 +02:00
Emmanuel Gil Peyrot 2a5150ff7d GTK: Add missing include when neither OSMesa nor GLX are enabled 2020-08-29 04:06:56 +02:00
Emmanuel Gil Peyrot 8e31ecd9c4 Remove executable bit from source files 2020-08-29 01:31:52 +02:00
zeromus f6064006d2 re-add windows specific stuff, properly ifdefing it? (should fix #360) 2020-08-19 17:11:27 -04:00
zeromus 79c6ab430a
Merge pull request #357 from Yackerw/master
Add many debugging features
2020-08-19 00:39:22 -04:00
zeromus e654d1e7e9 winport - fix OamView bug (proper obj priority wasn't being used when rendering it, causing many composite sprites to be rendered more or less in the opposite Z-order due to LATER obj drawing on top (whereas lower obj are supposed to draw on top). fixes #358 2020-08-16 19:38:58 -04:00
Yackerw 7591028509 Removed Windows specific stuff 2020-08-15 20:07:34 -04:00
Yackerw 5bd5c630f1 Added debugging tools
Breakpoints, memory breakpoints, made disassembler better in general
2020-08-15 16:02:38 -04:00
zeromus 316103d2ec
Merge pull request #352 from PypeBros/master
Fix directory crawling on symlink-capable systems
2020-08-06 14:47:48 -04:00
PypeBros 5a368922c9 Fix directory crawling on symlink-capable systems 2020-08-06 18:34:14 +02:00