Commit graph

3217 commits

Author SHA1 Message Date
zoltanvi
361c2a4a24 Revert language files other than english 2025-08-13 16:15:10 +02:00
zoltanvi
52c08c03e1 Merge branch 'feature/web_search_private_mode' of https://github.com/zoltanvi/Flow.Launcher into feature/web_search_private_mode 2025-08-12 15:06:08 +02:00
zoltanvi
99f2b313cd Fix new label in more language files 2025-08-12 15:06:00 +02:00
Zoltan
3e0539f8c6
Merge branch 'dev' into feature/web_search_private_mode 2025-08-12 12:33:51 +02:00
Jack251970
cc2df8d680 Improve code quality 2025-08-12 17:31:26 +08:00
zoltanvi
1df6ac00b0 Fix label in language files 2025-08-12 07:28:18 +02:00
zoltanvi
0a848a32f7 Add private mode option to WebSearch items 2025-08-09 16:21:10 +02:00
zoltanvi
09d8cefcef Remove unused properties 2025-08-09 11:56:13 +02:00
zoltanvi
15b8747280 Fix IsEnabled binding for suggestion combobox 2025-08-09 11:51:12 +02:00
Jack251970
8f88998d34 Remove more unnecessary runtimes 2025-08-07 08:57:21 +08:00
dcog989
dcc0866de1
Update Flow.Launcher.Plugin.BrowserBookmark.csproj
bump Svg.Skia
2025-08-06 13:58:36 +01:00
dcog989
2a5ac092f0
Update Flow.Launcher.Plugin.BrowserBookmark.csproj
bump Microsoft.Data.Sqlite
2025-08-06 13:46:25 +01:00
dcog989
522d7debe8
Merge branch 'dev' into Fix-'100%-CPU'-BrowserBookmark-issue 2025-08-06 12:26:40 +01:00
Jack Ye
80c0920f10
Merge branch 'dev' into fix-typo 2025-07-28 02:56:32 +01:00
Jack Ye
7084d5a558
Merge branch 'dev' into Fix-'100%-CPU'-BrowserBookmark-issue 2025-07-27 13:04:50 +01:00
Jack251970
afc969d00f Update translations in language file 2025-07-27 20:03:33 +08:00
VictoriousRaptor
53255c3a9c Fix typo 2025-07-27 18:41:23 +08:00
VictoriousRaptor
443d4f7c02 Build regex at compile time 2025-07-27 18:39:38 +08:00
VictoriousRaptor
71e0374640 Merge dev 2025-07-27 14:45:08 +08:00
VictoriousRaptor
b637e0a028 Use Flow.Launcher.Localization 0.0.4 & update expect list 2025-07-27 00:17:09 +08:00
Jack251970
14282b6734 Fix typos 2025-07-24 19:16:58 +08:00
Jack Ye
54a2817962
Merge branch 'dev' into code_quality 2025-07-24 11:55:46 +01:00
dcog989
f8a6b02c80 fix for GitHub build server failure
Removes external dependency for NumberGroupSeparator so it builds anywhere.
2025-07-24 02:33:59 +01:00
dcog989
9bcb1b2939 Merge branch 'Calculator-accepts-flexible-separator' of https://github.com/dcog989/Flow.Launcher into Calculator-accepts-flexible-separator 2025-07-23 17:57:12 +01:00
dcog989
76f834ff1b PR review changes 2025-07-23 17:56:58 +01:00
dcog989
4d22e6c352
Delete Plugins/Flow.Launcher.Plugin.Calculator/Views/CalculatorSettings.xaml.cs 2025-07-23 17:26:18 +01:00
VictoriousRaptor
0b6309f175 Fix typo 2025-07-23 19:39:17 +08:00
Jack251970
3cfe122c7b Use new MonitorInfo class class 2025-07-23 13:51:35 +08: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
VictoriousRaptor
08f17c4f05
Merge branch 'dev' into code_quality 2025-07-22 14:32:29 +08:00
Jack251970
af3aaa8ce7 Update labels for setting view model when culture info changes 2025-07-21 10:29:14 +08:00
Jack251970
b9e0669c46 Intialize translations in InitAsync 2025-07-21 10:27:25 +08:00
VictoriousRaptor
1e4ff43bfc Use length and count instead of Any() 2025-07-20 23:33:38 +08:00
VictoriousRaptor
ad1d42b5dd Update labels on initialization to update on language change 2025-07-20 23:23:36 +08:00
VictoriousRaptor
bea1078d20 Remove redundant function call 2025-07-20 23:20:55 +08:00
Jack251970
71c8fce4a0 Improve code quality 2025-07-20 21:01:48 +08:00
Jack251970
8e898de968 Fix build issue 2025-07-20 21:01:22 +08:00
Jack Ye
ed0524d207
Merge branch 'dev' into code_quality 2025-07-20 20:02:51 +08:00