Commit graph

27560 commits

Author SHA1 Message Date
BoomMicrophone
dca166ca9c
remove comment
gpg timeout so i gotta coooooommit :D
2024-04-18 11:46:09 +08:00
BoomMicrophone
6f26709e42
fix epic fail
(I am relying on actions to do the compiling for me until i get nix)
2024-04-18 11:46:08 +08:00
BoomMicrophone
f44fafdd88
Woah guys this is so compliant!
Signed-off-by: BoomMicrophone <boommicrophone@noreply.localhost>
2024-04-18 11:46:08 +08:00
BoomMicrophone
e1b77dd898
nullglob globstar gobble up those nuts
shoutout to gpg for not working

Signed-off-by: BoomMicrophone <boommicrophone@noreply.localhost>
2024-04-18 11:46:08 +08:00
Hustler One
02fc046031
All relevant changes in commit 51862e862d have been 2024-04-18 11:46:08 +08:00
Exverge
138d67b307
Refactor android to dev.suyu.suyu_emu 2024-04-18 11:46:07 +08:00
flodavid
323ea0cdfd
WIP: fix macOS style when OS dark mode is active 2024-04-18 11:46:07 +08:00
flodavid
b28acaf7c9
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-18 11:46:07 +08:00
flodavid
c00c425b48
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-18 11:46:07 +08:00
flodavid
104e6c3ff7
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-18 11:46:06 +08:00
flodavid
f01d7305c0
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-18 11:46:06 +08:00
flodavid
97814d3e59
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-18 11:46:06 +08:00
Crimson Hawk
2083820fda
Undo some changes to readme 2024-04-18 11:41:41 +08:00
chaphidoesstuff
3f76206e9b Update README.md 2024-04-17 23:28:26 +02:00
chaphidoesstuff
15e49ee463 Added Ios release 2024-04-17 23:27:12 +02:00
chaphidoesstuff
6f57078cd9 Update README.md 2024-04-17 23:20:04 +02:00
chaphidoesstuff
d1d0fdd12b Update README.md 2024-04-17 18:31:46 +02:00
chaphidoesstuff
3ad4fb760a Added info 2024-04-17 18:21:27 +02:00
chaphidoesstuff
cb2c4446b7 Update README.md 2024-04-17 17:50:32 +02:00
administrator
f2bf013781 Replace Discord with suyu chat in issue template 2024-04-17 02:14:41 +02:00
administrator
0db28c44c0 Replace Discord with suyu chat in issue template
Fixes https://git.suyu.dev/suyu/suyu/issues/139
2024-04-17 02:13:24 +02:00
Crimson Hawk
88ac3ad344
Push Request 54 Merge branch 'flodavid-improved-theming' into dev 2024-04-15 09:58:13 +08:00
Crimson-Hawk
6a16550e94 Merge branch 'dev' into improved-theming 2024-04-15 02:16:56 +02:00
Spectranator
178db2388c Added new logo to README.md 2024-04-12 13:53:53 +00:00
spectranator
42075072c6 Added new icons 2024-04-12 15:48:51 +02:00
administrator
526e1d7a76 Change Matrix to chat 2024-04-12 15:15:29 +02:00
Spectranator
ad1d17405b Make it clear that Windows, Android and macOS are unsupported for now 2024-04-12 13:13:28 +00:00
spectranator
fc87c76263 Updated repository URL 2024-04-12 14:14:56 +02:00
flodavid
fb7802aaf4 WIP: fix macOS style when OS dark mode is active 2024-04-11 12:05:38 -07:00
darktux
47e20e1ae6 Fixed potential null-dereference in Fiber::DestroyThreadFiber() 2024-04-11 18:37:31 +02:00
darktux
ca068f6df2 Fixed non-external SPIRV-Tools linkage 2024-04-11 18:34:14 +02:00
zqpvr01
2b16baf506 Remove discord (3) 2024-04-11 03:44:08 +02:00
zqpvr01
73e135bf4a Remove discord (2) 2024-04-11 03:42:30 +02:00
zqpvr01
96f822d13f Remove discord 2024-04-11 03:41:07 +02:00
darktux
fac1dbc7e6 Optionally optimize generated SPIRV with spirv-opt (#10)
Reviewed-on: http://y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion/darktux/torzu/pulls/10
Co-authored-by: darktux <darktux@y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion>
Co-committed-by: darktux <darktux@y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion>
2024-04-10 22:04:09 +00:00
TheDoctor
0de49070e4 Merge
Reviewed-on: https://git.suyu.dev/suyu/suyu/pulls/65
2024-04-10 19:56:33 +02:00
darktux
69dd658a0b 18.0.0 firmware changes from Suyu (plus formatting fixes) (#8)
This commit rolls in changes required for 18.0.0 firmware from Suyus codebase plus some formatting fixes.

Co-authored-by: Exverge <exverge@exverge.xyz>
Reviewed-on: http://y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion/darktux/torzu/pulls/8
Co-authored-by: darktux <darktux@y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion>
Co-committed-by: darktux <darktux@y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion>
2024-04-10 11:19:34 +00:00
lol
70c52a1914 fix qlaunch on firmware 18 2024-04-09 18:05:24 +02:00
darktux
dfa2204aa2 Fixed crash when changing per-game backend from null 2024-04-08 01:48:22 +02:00
Exverge
2caadffe4d
Refactor android to dev.suyu.suyu_emu 2024-04-07 19:27:20 -04:00
darktux
53ad973d6a Removed Fiber::YieldTo debug round counter 2024-04-08 00:40:46 +02:00
Exverge
4a15db8f08
Map methods in firmware 18.0.0 2024-04-07 18:34:52 -04:00
darktux
00dd7295a3 Improve SPIRV-Headers loading behavior 2024-04-08 00:30:51 +02:00
Exverge
641ef1b887
Map methods in firmware 18.0.0 2024-04-07 18:23:38 -04:00
Crimson Hawk
77205848af
Add requested changes
Commited by Exverge <exverge@exverge.xyz>
2024-04-06 13:34:23 -04:00
darktux
68ced8ab4f Disabled MCO_USE_VMEM_ALLOCATOR because standard stack size seems to suffice 2024-04-06 01:18:21 +02:00
darktux
69a4d26b1e Add SR_WScaleFactorXY/SR_WScaleFactorZ stubs for Prince of Persia (#5)
Pulled in and cleaned up from Sudachi

Reviewed-on: http://y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion/darktux/torzu/pulls/5
Co-authored-by: darktux <darktux@y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion>
Co-committed-by: darktux <darktux@y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion>
2024-04-05 23:04:37 +00:00
darktux
5bc8aaa78b Mention GitHub mirror repository in README 2024-04-05 09:34:47 +02:00
darktux
56505be4c5 Link to Suyu and Sudachi in README 2024-04-05 09:26:54 +02:00
darktux
964b66bb00 Do not use --recursive twice in clone example in README 2024-04-05 09:21:26 +02:00