Isaac Marovitz
ddbb9570bc
Ava GUI: AboutWindow
Refactor ( #4196 )
...
* Start `AboutWindow` refactor
* Redesign
* Update logos + ViewModel
* Fix GTK
* Cleanup usings
* Fix mismatched font size
* Update LocaleKeys
* Block scoped namespace
* Fix appearence on German
* Update Ryujinx.Ava/UI/ViewModels/AboutWindowViewModel.cs
Co-authored-by: Ac_K <Acoustik666@gmail.com>
* Update Ryujinx.Ava/UI/ViewModels/AboutWindowViewModel.cs
Co-authored-by: Ac_K <Acoustik666@gmail.com>
* Move version number up
* Move see all contributors button left
* Add a couple `\n`
* Tooltips
* Layout fix
* Update Ryujinx.Ava/UI/ViewModels/AboutWindowViewModel.cs
Co-authored-by: Ac_K <Acoustik666@gmail.com>
Co-authored-by: Ac_K <Acoustik666@gmail.com>
2023-01-07 01:29:18 +01:00
Isaac Marovitz
32e3187515
Ava GUI: SettingsWindow
Refactor ( #4177 )
...
* Fix redundancies
* Add back elses
* Settings Refactor
* Fix Disposal functions
* Use `ReflectionBinding` instead of redundant funcs
* Ac_K suggestions
* Update Ryujinx.Ava/UI/ViewModels/SettingsViewModel.cs
Co-authored-by: Ac_K <Acoustik666@gmail.com>
* Update locale keys
* Update Ryujinx.Ava/UI/Windows/SettingsWindow.axaml.cs
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
* Update Ryujinx.Ava/UI/Views/Settings/SettingsSystemView.axaml.cs
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
* Update Ryujinx.Ava/UI/Views/Settings/SettingsSystemView.axaml.cs
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
* Update Ryujinx.Ava/UI/Windows/SettingsWindow.axaml.cs
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
* Use block-scoped namespaces
* Fix typo
* Make `TimeZone` internal again
Co-authored-by: Ac_K <Acoustik666@gmail.com>
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
2023-01-07 00:35:21 +01:00
gdkchan
2feac7507d
Make PPTC state non-static ( #4157 )
...
* Make PPTC state non-static
* DiskCacheLoadState can be null
2023-01-05 00:01:44 +01:00
Ac_K
d18df74072
New Crowdin updates ( #3985 )
...
* New translations en_US.json (French)
* New translations en_US.json (Portuguese, Brazilian)
* New translations en_US.json (French)
* New translations en_US.json (Portuguese, Brazilian)
* Delete fr_FR.json
* Delete pt_BR.json
* New translations en_US.json (French)
* New translations en_US.json (Spanish)
* New translations en_US.json (German)
* New translations en_US.json (Greek)
* New translations en_US.json (Italian)
* New translations en_US.json (Japanese)
* New translations en_US.json (Korean)
* New translations en_US.json (Polish)
* New translations en_US.json (Russian)
* New translations en_US.json (Turkish)
* New translations en_US.json (Ukrainian)
* New translations en_US.json (Chinese Simplified)
* New translations en_US.json (Chinese Traditional)
* New translations en_US.json (Portuguese, Brazilian)
* New translations en_US.json (German)
2023-01-04 22:44:51 +01:00
Emmanuel Hansen
4194f4e939
Avalonia - Add source generator for locale items ( #3999 )
...
* Add source generator for locale keys
* use locale keys in Ui subdir
2023-01-03 19:45:08 +01:00
Emmanuel Hansen
3c2f355e09
fix typo in left joycon sl binding ( #4195 )
2023-01-01 15:46:02 +01:00
Isaac Marovitz
9aac077702
Ava GUI: Restructure Ryujinx.Ava
( #4165 )
...
* Restructure `Ryujinx.Ava`
* Stylistic consistency
* Update Ryujinx.Ava/UI/Controls/UserEditor.axaml.cs
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
* Update Ryujinx.Ava/UI/Controls/UserEditor.axaml.cs
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
* Update Ryujinx.Ava/UI/Controls/UserSelector.axaml.cs
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
* Update Ryujinx.Ava/UI/Controls/SaveManager.axaml.cs
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
* Update Ryujinx.Ava/UI/Controls/SaveManager.axaml.cs
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
* Update Ryujinx.Ava/UI/Windows/SettingsWindow.axaml.cs
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
* Update Ryujinx.Ava/UI/Helpers/EmbeddedWindow.cs
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
* Update Ryujinx.Ava/UI/Helpers/EmbeddedWindow.cs
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
* Update Ryujinx.Ava/UI/Helpers/EmbeddedWindow.cs
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
* Update Ryujinx.Ava/UI/Helpers/EmbeddedWindow.cs
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
* Update Ryujinx.Ava/UI/Windows/SettingsWindow.axaml.cs
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
* Update Ryujinx.Ava/UI/ViewModels/UserProfileViewModel.cs
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
* Update Ryujinx.Ava/UI/ViewModels/UserProfileViewModel.cs
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
* Update Ryujinx.Ava/UI/Helpers/EmbeddedWindow.cs
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
* Fix redundancies
* Remove redunancies
* Add back elses
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
2022-12-29 15:24:05 +01:00
Emmanuel Hansen
e1602bf320
fix sw kbd row collision ( #4144 )
2022-12-19 15:09:36 -03:00
TSRBerry
e704f2a166
ava: Fix invisible swkbd applet on Linux ( #4130 )
2022-12-16 02:40:55 +01:00
Isaac Marovitz
5f503d4209
Replace DllImport
usage with LibraryImport
( #4084 )
...
* Replace usage of `DllImport` with `LibraryImport`
* Mark methods as `partial`
* Marshalling
* More `partial` & marshalling
* More `partial` and marshalling
* More partial and marshalling
* Update GdiPlusHelper to LibraryImport
* Unicorn
* More Partial
* Marshal
* Specify EntryPoint
* Specify EntryPoint
* Change GlobalMemoryStatusEx to LibraryImport
* Change RegisterClassEx to LibraryImport
* Define EntryPoints
* Update Ryujinx.Ava/Ui/Controls/Win32NativeInterop.cs
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
* Update Ryujinx.Graphics.Nvdec.FFmpeg/Native/FFmpegApi.cs
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
* Move return mashal
* Remove calling convention specification
* Remove calling conventions
* Update Ryujinx.Common/SystemInfo/WindowsSystemInfo.cs
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
* Update Ryujinx/Modules/Updater/Updater.cs
Co-authored-by: Mary-nyan <thog@protonmail.com>
* Update Ryujinx.Ava/Modules/Updater/Updater.cs
Co-authored-by: Mary-nyan <thog@protonmail.com>
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
Co-authored-by: Mary-nyan <thog@protonmail.com>
2022-12-15 18:07:31 +01:00
Andrey Sukharev
efbbb14e0e
Use NuGet Central Package Management to manage package versions solution-wise ( #4095 )
2022-12-12 16:03:10 +01:00
Mary-nyan
47313a4619
misc: Some fixes to the updaters ( #4092 )
...
This was meant to be only an upgrade of how we set unix permission in
the updater to use .NET 7 new APIs, but I end up finding bugs along the
way.
Changelog:
- Remove direct usage of chmod to use File.SetUnixFileMode.
- Fix command line being broken when updating (#3744 ) but on
Ryujinx.Ava.
- Makes Ryujinx.Ava updater fallback to Ryujinx executable if current
name isn't found.
- Make permission setter function more generic.
2022-12-12 15:17:22 +01:00
&Olga
1fea9fb0fd
Fix "UI" abbreviation being miscapitalized ( #4093 )
2022-12-12 15:11:55 +01:00
Andrey Sukharev
1b2b890db6
Use method overloads that support trimming. Mark some types to be trimming friendly ( #4083 )
...
* Use method overloads that support trimming. Mark some types to be trimming friendly
* Use generic version of marshalling method
2022-12-12 15:10:05 +01:00
Isaac Marovitz
bbf82b5233
Fix Lambda Explicit Type Specification Warning ( #4090 )
2022-12-10 22:12:51 +01:00
Isaac Marovitz
2fc4326c53
Fix Redundant Qualifer Warnings ( #4091 )
...
* Fix Redundant Qualifer Warnings
* Remove unnecessary using
2022-12-10 21:21:13 +01:00
Mary
d4390aa663
Add explicit dependency on System.Drawing.Common on Ryujinx.Ava to workaround triming bugs
2022-12-09 20:12:09 +01:00
Mary-nyan
e6c8461549
misc: Update Ryujinx.Graphics.Nvdec.Dependencies to 5.0.1-build12 ( #4080 )
...
This adds support for Linux x64, macOS x64 and macOS arm64.
2022-12-09 15:46:07 +01:00
Ac_K
5cbbf75147
ava: Restyle the Status Bar ( #4048 )
2022-12-09 15:21:54 +01:00
IverCoder
3b7b27bfd2
Fix inconsistent capitalization ( #4070 )
2022-12-08 09:32:24 +00:00
dependabot[bot]
7f4a274ec6
nuget: bump DynamicData from 7.12.8 to 7.12.11 ( #4059 )
...
Bumps [DynamicData](https://github.com/reactiveui/DynamicData ) from 7.12.8 to 7.12.11.
- [Release notes](https://github.com/reactiveui/DynamicData/releases )
- [Changelog](https://github.com/reactivemarbles/DynamicData/blob/main/ReleaseNotes.md )
- [Commits](https://github.com/reactiveui/DynamicData/compare/7.12.8...7.12.11 )
---
updated-dependencies:
- dependency-name: DynamicData
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-07 23:07:23 +01:00
TSRBerry
6927022776
Add Ryujinx license file to builds ( #4057 )
2022-12-07 18:20:18 +01:00
riperiperi
d25a5ea1c8
UI: Add Metal surface creation for MoltenVK ( #3980 )
...
* Initial implementation of metal surface across UIs
* Fix SDL2 on windows
* Update Ryujinx/Ryujinx.csproj
Co-authored-by: Mary-nyan <thog@protonmail.com>
* Address Feedback
Co-authored-by: Mary-nyan <thog@protonmail.com>
2022-12-06 19:00:25 -03:00
dependabot[bot]
69970ddafc
nuget: bump XamlNameReferenceGenerator from 1.4.2 to 1.5.1 ( #4026 )
...
Bumps [XamlNameReferenceGenerator](https://github.com/avaloniaui/Avalonia.NameGenerator ) from 1.4.2 to 1.5.1.
- [Release notes](https://github.com/avaloniaui/Avalonia.NameGenerator/releases )
- [Commits](https://github.com/avaloniaui/Avalonia.NameGenerator/compare/1.4.2...1.5.1 )
---
updated-dependencies:
- dependency-name: XamlNameReferenceGenerator
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 19:00:08 +01:00
Ac_K
8dca786d28
ava: Cleanup Input classes ( #4042 )
...
* ava: Cleanup Input classes
This PR just cleanup all Input classes for consistencies.
* Addresses TSRBerry's feedback
2022-12-06 15:32:14 +00:00
Isaac Marovitz
1a79a0554d
Fix Sorting Regression ( #4032 )
...
* Fix sorting regression + Remove unsued sort
* Fix GTK
* Attempt 2 to fix GTK
* Whoopsie
* Fix whitspace
2022-12-06 01:40:06 +00:00
Andrew Glaze
294a798a95
Update 'OpenGL Log Level' to 'Graphics Backend Log Level' ( #3996 )
...
* Update 'OpenGL Log Level' to 'Graphics Backend Log Level'
* update other locals and change keys
2022-12-06 00:48:41 +00:00
Isaac Marovitz
a1bd580153
Ava GUI: Several UI Fixes ( #3991 )
...
* Fix accessability violations in ListView
* Use accent colour for favourite star
* Hide progress bar when its done
* App Data Formating
- Added space before storage unit
- Changed so minutes have 0 decimals, and hours and days have 1
* Fix theming
* Fix mismatched corner radius
* Fix acceability violations in GridView
* More consistency between Grid and List View
* Fix margin
* Let whitespace defocus controls
2022-12-05 22:04:18 +00:00
Andrey Sukharev
5d7b99ac39
Make structs readonly when applicable ( #4002 )
...
* Make all structs readonly when applicable. It should reduce amount of needless defensive copies
* Make structs with trivial boilerplate equality code record structs
* Remove unnecessary readonly modifiers from TextureCreateInfo
* Make BitMap structs readonly too
2022-12-05 14:47:39 +01:00
Ethan Page
23a4ada712
ui: Disallow checking for updates while emulation active ( #3886 )
...
* Disallow updating while game is running
* Reflected change on Avalonia
* Git has gone wonky
* Fix accidental indent
2022-12-04 20:17:11 +01:00
Ac_K
8b8c8b3ee5
Fix using in Ava
2022-12-02 15:08:57 +01:00
merry
94eedc31e1
SDL2Driver: Invoke dispatcher on main thread ( #3818 )
2022-12-02 14:37:22 +01:00
Emmanuel Hansen
c66e40031a
Avalonia - Save Manager ( #3476 )
...
* Add save manager to account selector
* add fallback to app metadata for titlename if app is not in gamelist
* Allow recovering lost accounts
2022-12-02 13:16:43 +00:00
Isaac Marovitz
24f260ddb1
Add back locales removed in #3955 ( #3983 )
...
Add back `SettingsButtonSave` & `SettingsButtonClose` removed in #3955
Fixes #3982
2022-12-02 12:46:18 +00:00
Isaac Marovitz
f47e94be3c
Ava GUI: Make Dialogue More Intuitive ( #3955 )
...
* Adjust button position and locales
* Shortcuts + Highlight default action
* Update Locales - Corrections Welcome
* Move `Apply` button back to right side
* OS Reactive Button layout
* Fix reversed boolean :)
* Fix accented button styling
2022-12-02 03:31:21 +01:00
Mary
5057e197da
Revert "nuget: bump SixLabors.ImageSharp from 1.0.4 to 2.1.3 ( #3976 )"
...
This reverts commit a7ea39ff5c
.
SixLabors.ImageShar switched to a shady and vague license starting with 2.x
without mentioning it on their changelog.
As a result we are staying on 1.x (licensed under Apache-2) and will
seak an alternative package.
2022-12-01 23:06:55 +01:00
dependabot[bot]
a7ea39ff5c
nuget: bump SixLabors.ImageSharp from 1.0.4 to 2.1.3 ( #3976 )
...
* nuget: bump SixLabors.ImageSharp from 1.0.4 to 2.1.3
Bumps [SixLabors.ImageSharp](https://github.com/SixLabors/ImageSharp ) from 1.0.4 to 2.1.3.
- [Release notes](https://github.com/SixLabors/ImageSharp/releases )
- [Commits](https://github.com/SixLabors/ImageSharp/compare/v1.0.4...v2.1.3 )
---
updated-dependencies:
- dependency-name: SixLabors.ImageSharp
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update for 2.x changes
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mary <mary@mary.zone>
2022-12-01 21:54:41 +00:00
Mary-nyan
7a086b5fda
chore: Update Silk.NET to 2.16.0 ( #3953 )
2022-12-01 19:11:56 +01:00
TSRBerry
0c2b2e0421
Avalonia: Clean up leftover RenderTimer & Fix minimum and initial window size ( #3935 )
...
* ava: Cleanup RenderTimer
* ava: Remove ContentControl from RendererHost
* ava: Remove unused actual scale factor
* ava: Enable UseGpu for Linux
* ava: Set better initial size & Scale the window properly
* ava: Realign properties
* ava: Use explicit type & specify where the note applies
2022-11-30 23:34:25 +01:00
Mary-nyan
2aad259621
chore: Update OpenTK to 4.7.5 ( #3944 )
2022-11-29 13:32:40 +00:00
TSRBerry
38538ce598
ava: Make dialogs using an overlay window work on Linux ( #3938 )
2022-11-29 06:33:46 +01:00
TSRBerry
75b4e15489
Avalonia: Fix OpenGL crashing on Linux ( #3902 )
...
* ava: Fix OpenGL crashing on Linux
Fixes a regression from #3901
* Fix formatting
2022-11-26 12:06:53 +01:00
TSRBerry
a0bc05d034
ava: Fix invisible vulkan window on Linux ( #3901 )
...
Co-authored-by: emmauss <emmausssss@gmail.com>
Co-authored-by: emmauss <emmausssss@gmail.com>
2022-11-25 17:40:44 +00:00
Ac_K
ac80b73f31
ava: Refactor Title Update Manager window ( #3898 )
...
* ava: Refactor TitleUpdate Manager window
* Update locale
2022-11-25 17:55:08 +01:00
Mary-nyan
f1832ef9c5
chore: Update Avalonia related dependencies ( #3891 )
2022-11-25 13:27:41 +00:00
Ac_K
ba3cb4e3d4
ava: Rework DLC Manager, Add various fixes and cleanup ( #3896 )
...
* Fixes Everything Part.2
* Change sorting, fix remove and heading
2022-11-25 12:41:34 +01:00
dependabot[bot]
9242cce75c
nuget: bump SharpZipLib from 1.3.3 to 1.4.1 ( #3893 )
...
Bumps [SharpZipLib](https://github.com/icsharpcode/SharpZipLib ) from 1.3.3 to 1.4.1.
- [Release notes](https://github.com/icsharpcode/SharpZipLib/releases )
- [Changelog](https://github.com/icsharpcode/SharpZipLib/blob/master/docs/Changes.txt )
- [Commits](https://github.com/icsharpcode/SharpZipLib/compare/v1.3.3...v1.4.1 )
---
updated-dependencies:
- dependency-name: SharpZipLib
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-24 20:30:17 +01:00
Ac_K
7aee7bfc2f
ui: Fixes disposing on GTK/Avalonia and Firmware Messages on Avalonia ( #3885 )
...
* ui: Only wait on _exitEvent when MainLoop is active under GTK
This fixes a dispose issue under Horizon/GTK, we don't check if the ApplicationClient is null so it throw NCE. We don't check if the main loop is active and waiting an event which is set in the main loop... So that could lead to a freeze.
Everything works fine in GTK now.
Related issue: https://github.com/Ryujinx/Ryujinx/issues/3873
As a side note, same kind of issue appear in Avalonia UI too. Firmware's popup doesn't show anything and the emulator just freeze.
* TSRBerry's change
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
* Fix Avalonia crashing/freezing
* Add Avalonia OpenGL fixes
* Fix firmware popup on windows
* Fixes everything
* Add _initialized bool to VulkanRenderer and OpenGL Window
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
2022-11-24 15:08:27 +01:00
Mary-nyan
d8161be74b
Ryujinx.Ava: Add missing redefinition of app name ( #3890 )
...
Before this, Ryujinx would possibly report as "Avalonia Application".
2022-11-24 14:52:39 +01:00
gdkchan
cd321de163
Fix NRE on Avalonia for error applets with unknown error message ( #3888 )
2022-11-24 09:31:00 +01:00