Commit Graph

47 Commits

Author SHA1 Message Date
Dean Herbert 8773c34fdd
Rename enum to non-plural now that it won't conflict 2024-10-01 19:55:46 +09:00
Dean Herbert ad3007eaad
Adjust `ILocalUserPlayInfo` to expose whether gameplay is in a paused/break state 2024-10-01 17:53:46 +09:00
Dean Herbert eb102479f4
Use beatmap icon for `.osr` and `.osk` for now 2024-09-14 02:47:19 +09:00
smallketchup82 4ff72c5331
Add beatmap icon to windows beatmap files 2024-09-09 03:04:16 -04:00
Salman Ahmed 30fd40efd1 Avoid disable/restore pairs 2024-05-01 21:18:56 +03:00
Salman Ahmed 981a19f6a5 Disable naming inspections in p/invoke code 2024-05-01 17:20:08 +03:00
Susko3 3df32638c2 Fix association descriptions never being written on update 2024-03-01 16:06:30 +01:00
Dean Herbert 61cc5d6f29
Fix typos in xmldoc 2024-03-01 11:24:12 +08:00
Bartłomiej Dach 87509fbf6e
Privatise registry-related constants
Don't see any reason for them to be public.
2024-02-27 14:07:49 +01:00
Susko3 9b3ec64f41 Inline `HKCU\Software\Classes` usage 2024-02-26 13:10:37 +01:00
Susko3 f2807470ef Inline `EXE_PATH` usage 2024-02-26 13:03:23 +01:00
Susko3 6dbba705b3 Refine uninstall logic to account for legacy windows features 2024-02-26 12:27:02 +01:00
Susko3 6ded79cf07 Make `NotifyShellUpdate()` `public` to ease testing 2024-02-08 01:15:37 +01:00
Susko3 8049270ad2 Remove unused param 2024-02-07 22:45:58 +01:00
Susko3 bf47221594 Make things testable via 'Run static method' in Rider 2024-02-07 22:42:42 +01:00
Susko3 139072fa81 Standardise using declaration 2024-02-07 22:29:20 +01:00
Susko3 3419b8ffa8 Standardise using declaration 2024-02-07 22:28:54 +01:00
Susko3 7f5dedc118 Refactor ProgID logic so it's more visible 2024-02-07 22:23:59 +01:00
Susko3 da8c4541db Use `Logger.Error` 2024-02-07 22:21:04 +01:00
Susko3 ffdefbc742 Move public methods closer together 2024-02-07 22:18:12 +01:00
Susko3 738c28755c Refactor public methods 2024-02-07 22:17:13 +01:00
Susko3 6bdb076027 Move update/install logic into helper 2024-02-07 22:06:09 +01:00
Susko3 0563507295 Remove duplicate try-catch and move `NotifyShellUpdate()` to less hidden place 2024-02-07 22:03:16 +01:00
Susko3 eeba937686 Make `WindowsAssociationManager` `static`
Usages/localisation logic TBD
2024-02-07 21:55:42 +01:00
Susko3 57d5717e6a Remove `Win32Icon` class and use plain strings instead 2024-02-07 21:33:23 +01:00
Susko3 17033e09f6 Change to class to satisfy CFS hopefully 2024-02-05 14:29:17 +01:00
Susko3 4ec9d26657 Inline constants 2024-02-05 14:16:35 +01:00
Susko3 7789cc01eb Copy .ico files when publishing
These icons should appear in end-user installation folder.
2024-02-05 14:03:16 +01:00
Susko3 01efd1b353 Move `WindowsAssociationManager` to `osu.Desktop` 2024-02-05 13:44:12 +01:00
Dan Balasescu 7bc8908ca9 Partial everything 2022-11-27 00:00:27 +09:00
andy840119 78cc28d75f Remove nullable disable annotation and fix the api broken. 2022-08-02 22:29:54 +08:00
Dan Balasescu f8830c6850 Automated #nullable processing 2022-06-17 16:37:17 +09:00
Joseph Madamba 66773f6d7d Use comments to disable identifier typos instead 2022-01-12 15:49:28 -08:00
Joseph Madamba cdc148f78e Increase scope of identifier typo disables on special cases 2021-12-29 14:07:36 -08:00
Joseph Madamba c22a07d9fc Bump identifier typo inspection and fix remaining identifier names 2021-12-28 11:26:42 -08:00
Dean Herbert 090c3e84e7 Avoid blocking windows key usage when the osu! window is not active
As discussed in https://github.com/ppy/osu/discussions/16147.
2021-12-20 17:40:11 +09:00
Dean Herbert 82eddeffef Add `LocalUserPlayInfo` interface to convey common information about player status 2021-08-17 16:15:47 +09:00
Dean Herbert 09e350d14d Remove canBNull specification 2020-10-10 13:28:27 +09:00
Dean Herbert 20f1eb2b33 Fix windows key blocking applying when window is inactive / when watching a replay
Closes #10467.
2020-10-10 13:11:39 +09:00
Dean Herbert dbe9180c55 Rename class and remove screen conditionals 2020-07-24 16:38:48 +09:00
Lucas A 5e6adfff99 Disable windows key only while in gameplay. 2020-07-23 12:45:14 +02:00
Lucas A 4102dae999 Revert commit 939441ae 2020-07-23 11:56:46 +02:00
Lucas A 939441ae40 Disable the windows key only when in gameplay. 2020-07-16 14:50:11 +02:00
Lucas A 022e4b6335 Apply review suggestions. 2020-07-06 11:15:56 +02:00
Lucas A ce5da5c51b Block CTRL + ESC 2020-07-05 20:21:56 +02:00
Lucas A 8869979599 Trigger hook activation on bind. 2020-07-04 12:30:09 +02:00
Lucas A fc1eb42a65 Disable windows key while in gameplay. 2020-07-01 17:15:41 +02:00