Commit graph

106 commits

Author SHA1 Message Date
Peter Kirmeier 30501a044f Multiple changes..
Rework startup, open and close handling
Improve icon preloading (before: once application wide, now: once per main menu)
Add spam protection against massive open and close events
2023-09-22 22:34:53 +02:00
Peter Kirmeier 0eef578377 Update code analyzers and fix new warnings
New (latest) versions:
Microsoft.CodeAnalysis.NetAnalyzers 8.0.0-preview1.23165.1
StyleCop.Analyzers 1.2.0-beta.507
2023-08-13 02:46:13 +02:00
Peter Kirmeier de483c874c Refactored resource file management..
Remove use of resx file
Resource files are marked as "Resource" instead
Resources are loaded via resource dictionaries (either from code behind or XAML directly through binding)
Reduce amount of required image conversions

Also fix overlay of 50 percent transparency (is now rendered half transparent correct instead of adding "white fog")
Remove obsolete image as rendering is done directly in code

Also fix rendering of link indicator at correct image position

Also remove setting Icons of all Windows (as default is application icon anyway)
2023-08-12 02:33:11 +02:00
Peter Kirmeier 8311d9fd5b Enable key filters for hotkeys
Fix some hotkey combinations
Refactor code for better serialization
2023-06-01 00:32:28 +02:00
Peter Kirmeier d162564e82 Enable hotkey modification via Settings window 2023-05-31 22:32:19 +02:00
Peter Kirmeier 215c263052 Refactor hotkey registration
Allow function registrations besides the actual hotkey registration.
2023-05-29 23:56:52 +02:00
Peter Kirmeier 637cc46e7e Initial reassign of hotkeys 2023-05-29 20:48:46 +02:00
Peter Kirmeier ce2d9772f6 Rework hotkey registration for sharing hotkeys between objects.
Use colors for working, failing or unset hotkeys in HotkeySelector.
2023-05-27 18:23:01 +02:00
Peter Kirmeier 8ece540881 Centralized hotkey registration
Only one window handle is required for all hotkeys.
Simplifies maintaining multiple hotkeys spreaded over multiple windows.
2023-05-27 16:37:39 +02:00
Peter Kirmeier 60329d524f Fix GetKeyName to support WPF's Key as base type. 2023-05-26 20:51:42 +02:00
Peter Kirmeier 1c22c86d3e Restructured hotkey handling 2023-05-26 00:34:31 +02:00
Peter Kirmeier 9961e53c14 Replace placeholder for HotkeyTextbox in SettingsWindow with actual Control
(Just added to visual tree, not functioning correctly yet)
2023-05-25 20:52:31 +02:00
Peter Kirmeier 91c70d4906 Simplify and fix hotkey registration
FormsExtensions class no longer required.
Use proper virtual key code for native hotkey events.
2023-05-24 23:47:49 +02:00
Peter Kirmeier f55af05bc3 Fix issue that key modifiers are parsed wrong
(registering the hotkey might have failed)
Simplified hot key pressed events
Remove obsolete class KeyPressedEventArgs
2023-05-22 23:57:54 +02:00
Peter Kirmeier f8c9913933 Make HotkeyControl buildable again.
Also try registering the hotkey on startup.
Extended error message why registering of a hotkey failed.
2023-05-21 21:13:18 +02:00
Peter Kirmeier d74e61b999 Replaced some Icon objects with ImageSource
Merged ColumnText and Text of RowData
2023-05-19 20:43:19 +02:00
Peter Kirmeier 045fb9dd7e Improve Icon factory performance
Workers are by default part of MTA thread model and are CoInitialized.
This means COM calls can be made without spawning additional STA threads.
Additionally pass file icon factory for dictionary search instead of providing (potentially not used) new Icon beforehand.
2023-05-19 18:50:53 +02:00
Peter Kirmeier 9fd7da2e98 Remove obsolete class EventDelay
(not used since 1.3.0.4)
2023-05-19 15:36:15 +02:00
Peter Kirmeier ea02181408 Refactor native DLL imports
Adjust namespace
Enforce calling conventions
Mark as Windows specific API
Remove empty wrapper calls
Remove obsolete calls
Combine/group logically in files instead of "by function"
2023-05-09 23:33:56 +02:00
Peter Kirmeier 944958b6fd Corrected mixed up HatSwitch values for up/down and left/right on non-Sony gamepads 2023-05-04 00:40:51 +02:00
Peter Kirmeier 14430d9d05 Use different HatSwitch values for different gamepad vendors
Fix detection of pressed and instantly released buttons
2023-05-03 23:02:31 +02:00
Peter Kirmeier b93e1fb345 Minor refactoring and add gamepad button 1 as additional enter button 2023-05-03 00:34:30 +02:00
Peter Kirmeier cb80948bb2 Replace HIDDevices v3.0.1 with HidSharp v2.1.0
This removes a bunch of NuGet dependencies.
Fix UWP/UAP dependency issue by removing unsupported dependency.
2023-05-01 23:37:07 +02:00
Peter Kirmeier c7f4f44250 Replace SharpDX.DirectInput v4.2.0 with HIDDevices v3.0.1
This supports newer .Net version.
Also supports more gamepads like PS5 controller.
2023-05-01 16:24:33 +02:00
Peter Kirmeier aa87100095 Reduce code complexity and refined member variables
Improve null pointer assumptions by relying on nullable value types
2023-04-29 18:57:39 +02:00
Peter Kirmeier ab9b0ea0b0 Housekeeping, refine IconReader and fix ShellContextMenu 2023-04-28 18:48:39 +02:00
Peter Kirmeier b735ad4b46 Simplified MenuData and speedup sub menu closing 2023-04-27 22:19:02 +02:00
Peter Kirmeier 2e1cc20593 Remove RowData dependency from FolderOptions 2023-04-27 21:11:20 +02:00
Peter Kirmeier 46bd18eb7e Removed DgvMouseRow helper class 2023-04-27 20:27:16 +02:00
Peter Kirmeier 3f09f40188 Simplified working with ListViewItems by passing instance instead of index 2023-04-25 00:24:48 +02:00
Peter Kirmeier 6ebfed5f78 Simplified some mouse and open events 2023-04-24 22:38:36 +02:00
Peter Kirmeier 3464e3e4b9 Reduce event dependencies during startup (preloading)
Remove obsolete code
2023-04-20 00:50:29 +02:00
Peter Kirmeier 6993aef3ac Fix lots of nullable warnings 2023-04-16 23:27:27 +02:00
Peter Kirmeier 1d29fea766 Fix compiler warnings about nullables
Remove obsolete support of .Net framework 2.0
2023-04-16 20:45:21 +02:00
Peter Kirmeier 0158499a2c Simplified directory and file discovery
Corrected namespace naming of Helpers
2023-04-16 14:17:33 +02:00
Peter Kirmeier 562a799a46 Simplified Menu construction 2023-04-15 21:23:28 +02:00
Peter Kirmeier 135850c9fc Fix a bunch of nullable warnings 2022-12-05 21:46:53 +01:00
Peter Kirmeier 11bac5dd1e Fix some nullables 2022-12-05 01:27:57 +01:00
Peter Kirmeier 81e20d618b Refactored menu window fading
Improve TaskbarLogo (still flickers on load but only very shortly)
2022-12-04 01:24:30 +01:00
Peter Kirmeier ece80ebc3f Simplified menu creation 2022-12-03 21:23:19 +01:00
Peter Kirmeier 9fffebafa2 Lots of major improvements 2022-12-03 02:14:15 +01:00
Peter Kirmeier 1f985c53aa Fix and extended use of mouse events
Add comments (tags) for all TODO markers
2022-11-29 22:48:45 +01:00
Peter Kirmeier 059b4cc73a Reenable Menu key command handler 2022-11-28 20:27:52 +01:00
Peter Kirmeier 8001a5324a Cleanup namespaces and hide icon to image conversion from XAML 2022-11-13 19:58:54 +01:00
Peter Kirmeier 384e2e1d74 Re-add rotating loading icon 2022-11-13 19:12:49 +01:00
Peter Kirmeier 55a84d40b0 Re-add Update window 2022-11-12 21:07:15 +01:00
Peter Kirmeier 02ba400399 Baseline for version 2.x
Forms replaced with WPF
Migration not complete, yet
Known open points marked with TODOs
Limited and non-optimized feature set
2022-10-23 00:14:31 +02:00
Markus Hofknecht 18f1570d99 [Feature] Gamepad support (#451), version 1.3.1.4 2022-09-26 19:02:18 +02:00
Markus Hofknecht 729afdf67f [BUG] Search bar in sub directory for empty directories (#443), version 1.3.1.1 2022-08-27 15:14:29 +02:00
Markus Hofknecht 3a37b16dfd version 1.3.1.0 2022-08-09 19:54:22 +02:00