Commit graph

120 commits

Author SHA1 Message Date
Isaac Marovitz
c7f52388c9 Remove all ReflectionBindings 2024-02-23 20:52:15 -05:00
Isaac Marovitz
a0687b630c Analyzer fix 2024-02-23 20:52:15 -05:00
Isaac Marovitz
3a10d79bd9 Style fixes 2024-02-23 20:52:15 -05:00
Isaac Marovitz
9a8a926851 Code style fixes 2024-02-23 20:52:15 -05:00
Isaac Marovitz
02b355eebf Formatting and error
More Ava 11-ness

Whoops
2024-02-23 20:52:15 -05:00
Isaac Marovitz
5e8eedae37 Ack Suggestions
Remaining ack suggestions

Update src/Ryujinx.Ava/UI/Models/Input/ControllerInputConfig.cs

Co-authored-by: Ac_K <Acoustik666@gmail.com>

Update src/Ryujinx.Ava/UI/Models/Input/ControllerInputConfig.cs

Co-authored-by: Ac_K <Acoustik666@gmail.com>
2024-02-23 20:52:15 -05:00
Isaac Marovitz
71fa81017b Fixes 2024-02-23 20:52:15 -05:00
Isaac Marovitz
9bbee3041e Fix rebase errors 2024-02-23 20:52:15 -05:00
Isaac Marovitz
b9cf223d86 Visual fixes and improvements
One weird bug
2024-02-23 20:52:15 -05:00
Isaac Marovitz
7dddee5971 Cleanup a couple things 2024-02-23 20:52:15 -05:00
Isaac Marovitz
e51c131fd7 Dispose stuff 2024-02-23 20:52:15 -05:00
Isaac Marovitz
86fdd76013 Crimes are here to stay 2024-02-23 20:52:15 -05:00
Isaac Marovitz
44a53e1cdf Try me in the Hague 2024-02-23 20:52:15 -05:00
Isaac Marovitz
2b0fce3e9d Crimes against code 2024-02-23 20:52:15 -05:00
Isaac Marovitz
1231e1e87d We’re done at last 2024-02-23 20:52:15 -05:00
Isaac Marovitz
a5ef6580c4 Are you feeling it now mr krabs 2024-02-23 20:52:15 -05:00
Isaac Marovitz
3afc37e683 Localise ButtonKeyAssigner 2024-02-23 20:52:15 -05:00
Isaac Marovitz
920777bc4b r/therestofthefuckingowl 2024-02-23 20:52:15 -05:00
Isaac Marovitz
c567f40531 Start localising 2024-02-23 20:52:15 -05:00
Isaac Marovitz
4a92d0b482 Actually fix fuck ups 2024-02-23 20:52:15 -05:00
Isaac Marovitz
1b037ca33d Fix more stupid mistakes 2024-02-23 20:52:15 -05:00
Isaac Marovitz
a553b090b6 Fix stupid mistake 2024-02-23 20:52:15 -05:00
Isaac Marovitz
355ec4036f Almost there 2024-02-23 20:52:15 -05:00
Isaac Marovitz
d738da55a7 Progress 2024-02-23 20:52:15 -05:00
Isaac Marovitz
d224996c15 It builds 2024-02-23 20:52:15 -05:00
Isaac Marovitz
281a078773 Propogate those fields i forgot about 2024-02-23 20:52:15 -05:00
Isaac Marovitz
53bc71f181 Clean 2024-02-23 20:52:15 -05:00
Isaac Marovitz
b35a0e5888 Restructure 2024-02-23 20:52:15 -05:00
Isaac Marovitz
12991ce070 Restructure + Ack suggestions 2024-02-23 20:52:15 -05:00
Isaac Marovitz
b71fa3784e Restructure + Ack suggestions 2024-02-23 20:52:15 -05:00
Isaac Marovitz
139a4b1fe7 Slow and steady 2024-02-23 20:52:15 -05:00
Isaac Marovitz
d3f0c085d3 So much boilerplate 2024-02-23 20:52:15 -05:00
Isaac Marovitz
18909195d1
Old buttons (#6237) 2024-02-11 03:12:43 +01:00
Isaac Marovitz
f06d22d6f0
Infra: Capitalisation Consistency (#6296)
* Rename Ryujinx.UI.Common

* Rename Ryujinx.UI.LocaleGenerator

* Update in Files

AboutWindow

* Configuration State

* Rename projects

* Ryujinx/UI

* Fix build

* Main remaining inconsistencies

* HLE.UI Namespace

* HLE.UI Files

* Namespace

* Ryujinx.UI.Common.Configuration.UI

* Ryujinx.UI.Common,Configuration.UI Files

* More instances
2024-02-11 03:09:18 +01:00
jcm
84d6e8d121
Standardize logging locations across desktop platforms (#6238)
* Standardize logging locations across desktop platforms

* Return null instead of empty literal on exceptions

* Remove LogDirectoryPath from LoggerModule

* Catch exception when creating DirectoryInfo in FileLogTarget

* Remove redundant log path vars, handle exception better, add null check

* Address styling issues

* Remove extra newline, quote file path in log, move directory check to OpenHelper

* Add GetOrCreateLogsDir to get/create log directory during runtime

* misc format changes

* Update src/Ryujinx.Common/Configuration/AppDataManager.cs

---------

Co-authored-by: jcm <butt@butts.com>
Co-authored-by: TSR Berry <20988865+TSRBerry@users.noreply.github.com>
Co-authored-by: Ac_K <Acoustik666@gmail.com>
2024-02-11 02:17:19 +01:00
Isaac Marovitz
356a75af0b
Remove ReflectionBinding in Mod Manager (#6280) 2024-02-11 00:52:11 +01:00
sunshineinabox
4ae9921063
Update Avalonia About Window like requested in PR #6267 (#6278)
* Update About Window like requested in PR #6267

* Feedback

* Apply suggestions from code review

Co-authored-by: Isaac Marovitz <42140194+IsaacMarovitz@users.noreply.github.com>

* Fix indents

---------

Co-authored-by: Isaac Marovitz <42140194+IsaacMarovitz@users.noreply.github.com>
2024-02-11 00:45:14 +01:00
Mary Guillemard
bd6937ae5c
Make IOpenGLContext.HasContext context dependent (#6290)
This makes IOpenGLContext.HasContext not static and be implementable.

By doing this, we can support more than WGL and WGL.

This also allows the SDL2 headless version to run under Wayland.

Signed-off-by: Mary <mary@mary.zone>
2024-02-10 20:13:10 +01:00
sunshineinabox
459efd0db7
Replace Flex Panels in favor of Wrap Panels for Avalonia (#6267)
* Switch from using Flex panel to a Wrap panel for Grid view. This allows keyboard navigation.

* Stop using Flex panel in favor of Avalonia Wrap Panel.
2024-02-08 19:34:48 +01:00
sharmander
a37e2d6e44
Resolve an issue where changes to the main window's positioning could cause the application to crash if a modal was dismissed beforehand. (#6223) 2024-02-06 18:05:32 +01:00
TSRBerry
4505a7f162
Fix opening the wrong log directory (#6220) 2024-01-30 17:52:45 +01:00
Ac_K
2adf031830
deps: Update Avalonia.Svg (#6218)
Updates `Avalonia.Svg` from 11.0.0.10 to 11.0.0.13
Updates `Avalonia.Svg.Skia` from 11.0.0.10 to 11.0.0.13

And reflect update changes as dependabot can't do it.

Superseed #6209
2024-01-29 23:22:42 +01:00
Isaac Marovitz
bb4a28b525
Ava UI: Mod Manager Fixes (Again) (#6187)
* Fix typo + Fix deleting from old dir

* Avoid double enumeration

* Break when parentDir is found

* Fix deleting non subdirectory mods

* Typo
2024-01-29 23:14:19 +01:00
merry
a8fbcdae9f
UI: Clarify Create Application Shortcut tooltip text (#6217) 2024-01-29 23:08:24 +01:00
TSRBerry
4e81ab4229
Avalonia: Fix dialog issues caused by 1.1.1105 (#6211)
* Set _contentDialogOverlayWindow to null

* Make CheckLaunchState async
2024-01-29 22:57:20 +01:00
TSRBerry
70fcba39de
Make config filename changable for releases & Log to Ryujinx directory if application directory is not writable (#4707)
* Remove GetBaseApplicationDirectory() & Move logs directory to user base path

We should assume the application directory might be write-protected.

* Use Ryujinx.sh in Ryujinx.desktop

This desktop file isn't really used right now,
so this changes effectively nothing.

* Use properties in ReleaseInformation.cs and add ConfigName property

* Configure config filename in Github workflows

* Add a separate config step for macOS

Because they use BSD sed instead of GNU sed

* Keep log directory at the old location for dev environments

* Add FileSystemUtils since Directory.Move() doesn't work across filesystems

Steal CopyDirectory code from https://learn.microsoft.com/en-us/dotnet/standard/io/how-to-copy-directories

* Fix "Open Logs folder" button pointing to the wrong directory

* Add execute permissions to Ryujinx.sh

* Fix missing newlines

* AppDataManager: Use FileSystemUtils.MoveDirectory()

* Make dotnet format happy

* Add a fallback for the logging directory
2024-01-29 19:58:18 +01:00
Isaac Marovitz
a620cbcc90
Ava UI: Mod Manager Fixes (#6179)
* Fix string format + Crash

* Better Logging

* Properly Delete Mods

Rename

* Catch when trying to access bad directory
2024-01-26 15:25:48 +01:00
Isaac Marovitz
35fb409e85
Ava UI: Mod Manager (#4390)
* Let’s start again

* Read folders and such

* Remove Open Mod Folder menu items

* Fix folder opening, Selecting/deselecting

* She works

* Fix GTK

* AddMod

* Delete

* Fix duplicate entries

* Fix file check

* Avalonia 11

* Style fixes

* Final style fixes

* Might be too general

* Remove unnecessary using

* Enable new mods by default

* More cleanup

* Fix saving metadata

* Dont deseralise ModMetadata several times

* Avalonia I hate you

* Confirmation dialgoues

* Allow selecting multiple folders

* Add back secondary folder

* Search both paths

* Fix formatting

* Apply suggestions from code review

Co-authored-by: Ac_K <Acoustik666@gmail.com>

* Rename Title to Application

* Generic locale key

* Apply suggestions from code review

Co-authored-by: Ac_K <Acoustik666@gmail.com>

* Locale Updates

* GDK Feedback

* Fix

---------

Co-authored-by: Ac_K <Acoustik666@gmail.com>
2024-01-26 02:02:28 +01:00
Isaac Marovitz
f33fea3287
Remove Custom Theming (#6175) 2024-01-26 00:20:50 +01:00
TSRBerry
7e58b21f3d
Fix Amiibo regression and some minor code improvements (#6107)
* Remove redundant code and fix small issues

* Log amiibo exceptions

* Add more checks when getting Amiibo data

* Fall back to online data if local file is inaccessible

* Make dotnet format happy
2024-01-13 11:45:38 +01:00