1
0
Fork 0
forked from suyu/suyu
Commit graph

27380 commits

Author SHA1 Message Date
6a16550e94 Merge branch 'dev' into improved-theming 2024-04-15 02:16:56 +02:00
526e1d7a76 Change Matrix to chat 2024-04-12 15:15:29 +02:00
fb7802aaf4 WIP: fix macOS style when OS dark mode is active 2024-04-11 12:05:38 -07:00
2b16baf506 Remove discord (3) 2024-04-11 03:44:08 +02:00
73e135bf4a Remove discord (2) 2024-04-11 03:42:30 +02:00
96f822d13f Remove discord 2024-04-11 03:41:07 +02:00
0de49070e4 Merge
Reviewed-on: suyu/suyu#65
2024-04-10 19:56:33 +02:00
2caadffe4d
Refactor android to dev.suyu.suyu_emu 2024-04-07 19:27:20 -04:00
4a15db8f08
Map methods in firmware 18.0.0 2024-04-07 18:34:52 -04:00
77205848af
Add requested changes
Commited by Exverge <exverge@exverge.xyz>
2024-04-06 13:34:23 -04:00
be31d5f56c
Enable Windows MinGW artifacts. 2024-04-04 15:40:26 -03:00
3cdd76b23d Fix qdarkstyle and midnight blue sliders being cropped
- Allow Threshold sliders in control configuration to be up to 40px tall, instead of 15
2024-04-03 23:09:17 +02:00
7c9545c82a Add dark mode configuration setting in UI tab
- Allows to choose "Auto", "Always On" or "Always Off"
  - Dark mode options are only shown if the style does not support theme
- If Auto is chosen, value is retrieved from OS
  - On Windows, the application needs a restart to apply the settings
- Use the default dark palette for Windows, like on Linux
2024-04-03 23:09:17 +02:00
9bba778d15 Rework themes to easily use light/dark palette, using only different icons
- Renamed themes:
  - "colorful" to "default" and "colorful_dark" to "default_dark"
  - "default" to "monochrome" and "default_dark" to "monochrome_dark"
  - "colorful_midnight_blue" to "qdarkstyle_midnight_blue"
  - "qdarkstyle_midnight_blue" to "qdarkstyle_midnight_blue_monochrome"
  - qdarkstyle is renamed from "Dark" to "Mine Shaft" in the UI
- default and monochrome themes all use the same qss stylesheet
- Remove the ability to select "default_dark" directly
    - Default has better support for light and dark
    - Controller and Keyboard applets icons and style adapt to dark mode
- Add "qdarkstyle_monochrome" theme
- Remove duplicated icon files
2024-04-03 21:06:48 +02:00
0b2409d1bd Automatic dark theme switching for Windows and Linux
- Windows dark theme uses "fusion" style, which is better suited, but has minor differences
- Improve OS theme detection
  - Linux:
    - Listen for OS color schemes changes on D-Bus
    - Read OS scheme for D-Bus. Fallback with gsettings, reading org.gnome.desktop.interface.
      First "color-scheme" key, then "gtk-theme". Finally, fallback to checking window palette
  - Windows (dark mode detection was not implemented before):
    - Force dark palette when OS uses dark mode by setting QT_QPA_PLATFORM to "windows:darkmode=2"
    - This enables to detect dark mode by checking the window palette
- Improve theming capabilites:
  - Linux uses custom palette when dark mode is detected.
    By using palette(xxx) in .qss files, there is no need to create a dark stylesheet
  - Allow themes to have stylesheet variants, dark.qss and light.qss
  - If current mode is dark, use dark icons for controller and keyboard applets
  - Add "dark" property to RendererStatusBarButton and GPUStatusBarButton, set to true when dark mode is used.
    Allows to have distinct colors for GPU API and accuracy buttons depending on dark mode or not
  - Enable all themes to have dark icon alternatives, not just "default" and "colorful"
    - If dark mode, icons are loaded from the directory "THEME-NAME_dark/icons"
  - If current mode is dark, use dark icons for controller and keyboard applets
  - Only qdarkstyle, qdarkstyle_midnight_blue, colorful_dark and
    colorful_midnight_blue used elements specific to dark themes
2024-04-03 21:06:48 +02:00
c889f1bd36 Load custom Qt themes from yuzu data directory
- Directory is qt_themes, each theme must be in one folder
    - It should contain a file "style.qss"
    - It may contain an "icons" sub-directory, to override included icons
      (with files like mytheme/icons/colorful/48x48/star.png for example)
    - Directories ending by "_dark" are reserved for dark variant icons.
      They are not listed as themes in the UI.
- If theme directory contains "dark" or "midnight", theme will be considered dark
2024-04-03 21:06:48 +02:00
b911ac8516 Update README.md 2024-04-02 15:29:13 +02:00
715a3fc83b Update README.md 2024-04-02 15:28:16 +02:00
8032d67619 Upload files to "img" 2024-04-02 15:25:23 +02:00
1d4f0a78f6 revert 242114d862
revert Upload files to "/"
2024-04-02 15:25:09 +02:00
242114d862 Upload files to "/" 2024-04-02 15:24:51 +02:00
a3c8b29607
Updated the links for the Info Popup 2024-04-01 16:56:07 -04:00
4015b1d397 Solves warning about GuestMemory having internal linkage.
It is very hard to explain why this public interface class was defined
in an anonymous namespace inside a header file.
2024-04-01 16:02:12 +02:00
5a92429b8c Merge branch 'dev' into dev 2024-04-01 15:09:57 +02:00
voidanix
d3f67d1e9c Fix GCC builds with Debug build type
When compiling with -DCMAKE_BUILD_TYPE=Debug, GCC would (correctly) fail to
compile intrinsics in stb and host1x due to lack of optimizations.

Sadly, the compilation error given is bogus and Clang completing the builds
without issues does raise some eyebrows.

Therefore, force optimizations for the offending files under GCC when
creating Debug builds.

Signed-off-by: voidanix <voidanix@keyedlimepie.org>
2024-04-01 01:31:43 +02:00
d09ab05c1b remove comment
gotta coooooommit :D
2024-03-31 21:42:11 +02:00
db9035cc35 remove comment
gpg timeout so i gotta coooooommit :D
2024-03-31 21:41:43 +02:00
dcd2890af6 Merge branch 'dev' into dev 2024-03-31 17:55:38 +02:00
c25bcb6083 Merge branch 'dev' into dev 2024-03-31 00:45:46 +01:00
7215ac9543 Fix NROs crashing and loading infinitely 2024-03-31 00:43:18 +01:00
39eea71e62
fix: resume application when library applets are closed 2024-03-30 15:54:36 -04:00
48e86d6e84 Fixes issue #94: setting Vulkan::Headers before Qt6 can do it 2024-03-30 15:13:23 +00:00
ba3539c517
Use CC0-1.0 for images under ./img 2024-03-29 21:31:40 -03:00
66cf0c1b0c
Clarify that we indeed have builds
Cherry-picked from #65
2024-03-29 18:00:41 -04:00
444a200eef Upload files to "img" 2024-03-29 19:19:28 +01:00
2a672fac30 revert 9e223759e0
revert Add img
2024-03-29 19:19:11 +01:00
9e223759e0 Add img 2024-03-29 19:18:38 +01:00
b5c02fe14a Update README.md 2024-03-29 17:31:07 +01:00
36ede797f3 Vulkan validation error fix.
Different image usage flags between image creation and image view
creation.
2024-03-29 16:35:21 +01:00
ce8f3e802e
Use proper SPDX-FileCopyrightText for Sudachi. Corrects db647d915d 2024-03-29 01:05:07 -03:00
9c2f3bff3f Merge branch 'dev' into dev 2024-03-28 22:43:20 +01:00
ilonachan
040893da00 formatting 2024-03-28 20:12:04 +01:00
Kelebek1
876d7f90b6 Add option to log synchronously, add tooltip to log filter. 2024-03-28 20:12:04 +01:00
db647d915d Including sudachi Emulator Project as a copyright owner.
To the files where sudachi changes were ported into in the parent
commit.
2024-03-28 11:12:03 +00:00
b3e989343d Added support for Princess Peach: Showtime! 2024-03-28 11:11:57 +00:00
ivchodev
09578d522b revert 925ce2fad3
Reverting potentially plagiarized code. The developer team did not sign off on this commit.
2024-03-26 18:38:52 +01:00
ivchodev
9b77efe2b4 revert eb306775c6
revert fix clong format
2024-03-26 18:37:54 +01:00
ivchodev
224cac988e revert fd1ec51496
revert try 2 fix clang
2024-03-26 18:37:35 +01:00
ivchodev
43c1a4c643 revert 77e9b7b59b
revert try 3 fixing clang omfg its just a space
2024-03-26 18:36:29 +01:00
affee8c522 fix epic fail
(I am relying on actions to do the compiling for me until i get nix)
2024-03-26 16:34:22 +01:00