Dimitris Panokostas
ddb99e2d88
refactor: macOS should use Frameworks instead of $HOME/Amiberry/plugins
2024-10-13 14:16:17 +02:00
Dimitris Panokostas
f0d9be5baf
refactor: changed default locations for dirs
...
Some directories should be exposed under $HOME/Amiberry, but others should stay under $XDG_DATA_HOME or $XDG_CONFIG_HOME accordingly.
2024-10-13 13:35:39 +02:00
Dimitris Panokostas
5ec665bc60
added comments
...
[skip ci]
2024-10-13 12:37:53 +02:00
Dimitris Panokostas
01de58fcb0
added .adf in mime types
...
[skip ci]
2024-10-13 12:37:38 +02:00
Dimitris Panokostas
42ea26fba9
Updated flatpak yml
...
Changed from branch to tag/commit
2024-10-12 11:25:31 +02:00
Dimitris Panokostas
44fa30332e
chore: added some comments in the scaling options
...
[skip ci]
2024-10-11 20:06:01 +02:00
Dimitris Panokostas
1742630c58
enhancement: implemented toggle_rtg for custom gfx boards
2024-10-11 17:56:56 +02:00
Dimitris Panokostas
613c3002a2
Alt tab fixes ( #1471 )
...
* Add key-up event for Alt-Tab in Release keys
If Alt-Tab to Release is enabled, force a key-up event on those keys during the release_keys() function
* only release Alt-Tab if Alt was detected as pressed
We don't have Tab as a qualifier, but this is probably close enough
* Removed duplicate releasing of alt-tab keys
This shouldn't be needed anymore
2024-10-11 12:52:37 +02:00
Dimitris Panokostas
8c65d69057
Update README.md ( #1470 )
2024-10-10 17:54:16 +02:00
Dimitris Panokostas
e3e0b82ec9
refactor: set alwaysrelease to true when releasing Alt-Tab
2024-10-10 17:43:13 +02:00
Dimitris Panokostas
731b3b27a2
cleanup: delete unused folder
2024-10-10 13:45:28 +02:00
Dimitris Panokostas
9af899fc94
bugfix: Alt-Tab did not release keys properly
2024-10-10 11:41:15 +02:00
Dimitris Panokostas
7ecdc36722
added more mime types ( fixes #1461 ) ( #1468 )
...
* added more mime types (fixes #1461 )
Refactored a few more files
* Fixed path to Desktop file
2024-10-10 11:22:35 +02:00
Dimitris Panokostas
0c5d05255e
Refactor cmakelists ( #1467 )
...
* refactor: break out CMakeLists.txt
Make things more manageable by breaking out sections of the monolithic CMakeLists.txt into separate files
2024-10-10 10:37:14 +02:00
Dimitris Panokostas
940c046ad2
Fix flatpak ( #1466 )
...
* refactor: fix flatpak builds
- added FindHelper.cmake
- Bumped Flatpak runtime to 24.08
- Version changes
* fixed find helper for libserialport
* use variables for find_helper libs
* fixed libmpeg2 vs libmpeg2convert
* refactor: desktop and metainfo.xml files
- Merged files between flatpak and normal Linux packages
* Update com.blitterstudio.amiberry.yml
* Update Amiberry.desktop
2024-10-10 08:55:46 +02:00
Dimitris Panokostas
8714e0e346
chore: updated commit for flatpak-preview
...
[skip ci]
2024-10-09 16:27:31 +02:00
Dimitris Panokostas
7882b2c8fc
refactor: Flatpak update ( #1465 )
...
* refactor: updating flatpak files based on new changes
[skip ci]
2024-10-09 16:24:47 +02:00
Dimitris Panokostas
270490da7d
refactor: Moved "abr" folder under data. ( #1464 )
...
It doesn't really belong in plugins.
2024-10-09 15:52:58 +02:00
Dimitris Panokostas
2f3a353c3f
enhancement: improved icon, added svg version ( #1463 )
...
* enhancement: improved icon, added svg version
* enhancement: Use the MacOS-specific icon
* bugfix: Fixed description file
2024-10-08 22:56:48 +02:00
Dimitris Panokostas
b2fc655f71
build: added optimize.cmake
2024-10-07 20:10:29 +02:00
Dimitris Panokostas
b192bae4d4
refactor: set all GUI internal windows to be not movable
2024-10-06 21:32:21 +02:00
Dimitris Panokostas
3c6f62acbb
ci: RPM files have dashes instead of underscores
2024-10-06 19:21:07 +02:00
Dimitris Panokostas
35c02ace7d
ci: specify package format for each target
2024-10-06 19:03:25 +02:00
Dimitris Panokostas
81fe61af91
ci: added Fedora RPM builds
2024-10-06 18:53:20 +02:00
Dimitris Panokostas
261406f18f
build: added RPM package option
...
Add support for RPM packages with CPack.
Tested on Fedora 40
2024-10-06 17:39:40 +02:00
Dimitris Panokostas
cd1832be4c
refactor: clang-tidy cleanup
2024-10-06 12:00:17 +02:00
Adam Sampson
9931c27d6c
enhancement: use XDG_*_HOME in a more standard way ( #1458 )
...
These variables are defined in the XDG Base Directory specification
(https://specifications.freedesktop.org/basedir-spec/latest/ ).
Previously, amiberry only used the XDG directories if XDG_DATA_HOME or
XDG_CONFIG_HOME were defined. However, these variables are usually only
set if the user wants to use a non-standard directory (e.g. in the
Flatpak environment).
After this commit, amiberry now computes the standard default values for
these variables based on HOME if they aren't defined, and checks for the
existence of:
- XDG_DATA_HOME/amiberry - used as Amiberry's home directory
- XDG_DATA_HOME/amiberry/data - used as Amiberry's data directory
- XDG_CONFIG_HOME/amiberry - used as Amiberry's config directory
- XDG_DATA_HOME/amiberry/conf - used as Amiberry's config directory
If they don't exist, then ~/Amiberry will be created and used as before.
The effect of this is that if a user wants to avoid having ~/Amiberry in
their home directory, they can just rename ~/Amiberry to
~/.local/state/amiberry, and it'll use that path instead. They can
optionally move Amiberry/conf to ~/.config/amiberry as well.
2024-10-06 11:24:23 +02:00
Dimitris Panokostas
07184fe386
bugfix: don't associate all .lha files with Amiberry ( fixes #1461 )
2024-10-05 15:40:02 +02:00
Dimitris Panokostas
fadeac9ab7
refactor: Use XDG_DATA_HOME in a better way ( fixes #1457 )
...
- There should be a subdir for amiberry in XDG_DATA_HOME, if we choose that
- The data files should go under amiberry/data there
2024-10-05 15:20:48 +02:00
Dimitris Panokostas
b5129e7aa0
Alt tab release ( #1460 )
...
* added reset keyboard during release_keys
* trigger a key-up on all scancodes
2024-10-04 19:05:31 +02:00
Dimitris Panokostas
aada2f3e69
refactor: set linker flags optionally ( #1459 )
2024-10-04 18:10:56 +02:00
Dimitris Panokostas
8c50377f96
Revert "build: strip shared libraries in release builds"
...
This reverts commit 3069d011aad080ef8c7546c5d3bc340ee71e06bc.
2024-10-04 16:18:23 +02:00
Dimitris Panokostas
2c8ce96d27
Revert "build: only apply linker flags on GCC (clang fails)"
...
This reverts commit e9f5723cd0e091d50299f0d3459b01cdcd9718ba.
2024-10-04 16:18:13 +02:00
Dimitris Panokostas
e9f5723cd0
build: only apply linker flags on GCC (clang fails)
2024-10-04 16:06:45 +02:00
Dimitris Panokostas
3069d011aa
build: strip shared libraries in release builds
2024-10-04 15:56:58 +02:00
Dimitris Panokostas
8e13e82427
build: fix linker errors in some environments
2024-10-04 15:43:12 +02:00
Dimitris Panokostas
e72e52a3f3
build: refactor compiler/linker options
2024-10-04 09:17:28 +02:00
Dimitris Panokostas
63d082fc5a
build: move -no-pie to linker flags
2024-10-04 08:36:45 +02:00
Dimitris Panokostas
9d78ea1e07
bugfix: when doing a Rescan ROMs, restore the originally selected ROM afterwards ( fixes #1451 )
2024-10-03 21:29:28 +02:00
Dimitris Panokostas
db3953c758
enhancement: scan arcadia roms during a rescan operation
2024-10-03 21:19:59 +02:00
Dimitris Panokostas
1af931479b
enhancement: if deleting a config fails, show a message
2024-10-03 20:48:07 +02:00
Dimitris Panokostas
5cdc5b2ad9
bugfix: Custom roms would not show up in GUI, after loading a config ( fixes #1450 )
2024-10-03 20:47:47 +02:00
Dimitris Panokostas
f0c5ef0114
build: don't set the prefix for mac builds
2024-10-03 13:15:05 +02:00
Dimitris Panokostas
95b08a1cad
build: add cpack prefix to match install one
...
This ensures that if we use CPack, it will use the same prefix specified in the configure/build steps as well
2024-10-03 12:42:13 +02:00
Dimitris Panokostas
667367f191
enhancement: when updating the WHDBooter files, include JST and AmiQuit
2024-10-03 10:31:58 +02:00
Dimitris Panokostas
881f81a421
enhancement: Rename Update XML button to better indicate function
...
The button doesn't just download the XML, but all related files in the whdboot directory as well.
Update the label and help text accordingly
2024-10-03 09:41:44 +02:00
Dimitris Panokostas
865f430435
doc: move compiling instructions to wiki page
2024-10-03 09:11:25 +02:00
Dimitris Panokostas
fed7088428
ci: specify install prefix during configure step
2024-10-02 22:42:55 +02:00
Dimitris Panokostas
ae67dbfc0f
Revert "build: temp fix for setting data/lib dirs without hardcoding them in code"
...
This reverts commit 02bbe90b96012c91f9032824c71df66e13fa0b5a.
2024-10-02 22:40:49 +02:00
Dimitris Panokostas
02bbe90b96
build: temp fix for setting data/lib dirs without hardcoding them in code
2024-10-02 22:30:49 +02:00