dcog989
cf40045acd
Delete Flow.Launcher.Core/packages.lock.json
2025-07-23 04:34:54 +01:00
dcog989
161c5462ba
Merge branch 'Calculator-accepts-flexible-separator' of https://github.com/dcog989/Flow.Launcher into Calculator-accepts-flexible-separator
2025-07-23 04:27:33 +01:00
dcog989
852b2f517b
fix for regression from first review, plus issues with e.g. '0,123' and ',123'
2025-07-23 04:27:19 +01:00
Jack Ye
8142ef1dee
Merge branch 'dev' into nuget_dependency
2025-07-23 10:47:19 +08:00
Jack Ye
5ff8a5b1d5
Use compiled regex
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-23 09:59:09 +08:00
Jack251970
5161bbe660
Remove unused comments & blank line
2025-07-23 09:33:14 +08:00
Jack251970
69c4d19f8b
Improve code quality
2025-07-23 09:09:12 +08:00
dcog989
c83a29fb18
PR review changes
2025-07-23 01:18:26 +01:00
dcog989
113baac567
Smart thousands and decimals
...
## Core Logic
* **Advanced Number Parsing:** We now process numbers with various decimal and thousand-separator formats (e.g., `1,234.56` and `1.234,56`). We distinguish between separator types based on their position and surrounding digits.
* **Context-Aware Output Formatting:** We now mirror the output format based on the user's input. If a query includes thousand separators, the result will also have them. The decimal separator in the result will match the one used in the query.
## Code Cleanup
* **Deleted Unused File:** `NumberTranslator.cs` was unused and therefore removed.
* **Removed Redundant UI Code:** The `CalculatorSettings_Loaded` event handler in `CalculatorSettings.xaml.cs` (and its XAML registration) was removed. The functionality was already handled automatically by data binding.
## Maintainability
* **Added Code Documentation:** An XML summary comment was added to the new `NormalizeNumber` method in `Main.cs` to clarify its purpose.
So, the plugin is now much more flexible, and will accept whatever format the user gives it regardless of Windows region settings.
2025-07-22 23:48:11 +01:00
dcog989
d57eca279f
Merge branch 'Flow-Launcher:dev' into Fix-'100%-CPU'-BrowserBookmark-issue
2025-07-22 20:37:24 +01:00
VictoriousRaptor
282581940a
Use new Localization package
2025-07-23 00:04:52 +08:00
VictoriousRaptor
63009ba332
Use ContextMenu class instead of interface
2025-07-23 00:03:48 +08:00
VictoriousRaptor
6579a4647d
Compile regex on build time
2025-07-22 23:59:33 +08:00
VictoriousRaptor
22ffc80aeb
Update labels on language change and other refactor
...
- Bring back viewmodel construction on init
- Remove redundant init code
2025-07-22 23:48:39 +08:00
Jack Ye
1da7e1ef35
Merge pull request #3857 from Flow-Launcher/dialog_jump_glyph
...
Add glyph for dialog jump hotkey card item
2025-07-22 19:49:20 +08:00
Jack251970
ea7833efe4
Add glyph for dialog jump hotkey card item
2025-07-22 19:15:54 +08:00
VictoriousRaptor
08f17c4f05
Merge branch 'dev' into code_quality
2025-07-22 14:32:29 +08:00
Jack Ye
b6e2740746
Merge pull request #3851 from Flow-Launcher/url_exception
...
Fix uri exception in Report window
2025-07-21 23:26:02 +08:00
Jack251970
3221f930c4
Add info log message for plugin constructors
2025-07-21 21:17:30 +08:00
Jack251970
e0240784b5
Improve code quality
2025-07-21 21:11:48 +08:00
Jack Ye
2b4010720a
Merge pull request #3848 from Flow-Launcher/sys_plugin_improvement
...
Improve Sys plugin
2025-07-21 19:50:41 +08:00
Jack251970
0f8553b45d
Refresh home page after plugins are initialized
2025-07-21 19:39:42 +08:00
Jeremy Wu
d8740768c7
wording
2025-07-21 21:33:57 +10:00
Jack251970
269d21a4c0
Change plugin modified logic
2025-07-21 18:11:16 +08:00
Jack251970
566bd04e3f
Support two types in one class
2025-07-21 18:06:05 +08:00
Jack251970
bef1feea0a
Fix plugin page logic
2025-07-21 18:05:22 +08:00
Jack251970
f808469285
Fix logic & Improve code quality
2025-07-21 17:59:28 +08:00
Jack251970
63f86613c3
Use internal PluginModified method instead of API.PluginModified
2025-07-21 17:55:06 +08:00
Jack251970
067a51775e
Fix null exception
2025-07-21 17:54:20 +08:00
Jack251970
d9cc67ce6d
Merge branch 'plugin_initialization' of https://github.com/Flow-Launcher/Flow.Launcher into plugin_initialization
2025-07-21 17:49:31 +08:00
Jack251970
59e4fb82b9
Fix logic & Add code comments
2025-07-21 17:49:24 +08:00
Jack Ye
a9a705f118
Fix logic
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-21 17:48:17 +08:00
Jack251970
6409c193c4
Add code comments
2025-07-21 17:47:19 +08:00
Jack251970
950a4a00a6
Code quality
2025-07-21 17:45:46 +08:00
Jack251970
67c940f3a8
Do not show setting panel for init failed plugins
2025-07-21 17:45:01 +08:00
Jack251970
324b3eb081
Do not call interface methods for init failed plugins
2025-07-21 17:33:47 +08:00
Jack251970
d4a1953747
Add init failed plugins
2025-07-21 17:28:20 +08:00
Jack251970
b348debc72
Code quality
2025-07-21 17:27:37 +08:00
Jack251970
fc01ddbb1c
Save init failed plugins
2025-07-21 17:27:21 +08:00
Jack251970
7f797b1039
Add code comments
2025-07-21 17:22:17 +08:00
Jack251970
3bd76b2dfd
Rename variable
2025-07-21 17:17:49 +08:00
Jack251970
8d03fcee2e
Remove error codes
2025-07-21 17:17:11 +08:00
Jack251970
9149e3f201
Mark initializing plugins as modified
2025-07-21 17:16:36 +08:00
Jack251970
6d99416641
Search in loaded plugins
2025-07-21 17:14:03 +08:00
Jack251970
6e0f2fc4ce
Return loaded plugins
2025-07-21 17:03:21 +08:00
Jack251970
fe3339f645
Get initialized plugins for plugin page
2025-07-21 17:02:19 +08:00
Jack251970
11e05f73d9
Add all loaded plugins
2025-07-21 17:00:19 +08:00
Jack251970
566572b013
Use api function & rename function
2025-07-21 16:57:35 +08:00
Jack251970
8b60d26f5e
Fix build issue
2025-07-21 16:56:14 +08:00
Jack251970
50924e4189
Improve code quality
2025-07-21 16:45:34 +08:00