ACGNnsj
f5325f025c
Add missing project references ( #24925 )
...
Signed-off-by: ACGMN <ootopoo@vip.qq.com >
2023-03-21 10:43:15 +01:00
Aaron Junker
5da8809b4e
Centralize c# logger ( #22760 )
...
* Initial commit
* Changed some loggers (WIP)
* ColorPicker
* Add version to all logs
* FancyZones
* push
* PowerOCR and Measuretool
* Settings
* Hosts + Fix settings
* Fix some using statements
* FileLocksmith
* Fix awake
* Fixed Hosts logger
* Fix spelling
* Remove added submodule
* Fiy FileLocksmith and PowerAccent
* Fix PowerAccent
* Test
* Changed logger locic and added ColorPicker
* Fixed package
* Add documentation
* Add locallow capability to Logger and add FancyZones
* Fixed FancyZones and added FileLocksmith
* Add Hosts
* Fixed spelling mistakes
* Add MeasureTool
* Add MouseJump
* Add PowerOCR
* Add PowerAccent
* Add monaco
* Add Settings
* Fixed Monaco
* Update installer
* Update doc/devdocs/logging.md
Co-authored-by: Stefan Markovic <57057282+stefansjfw@users.noreply.github.com >
* Update doc/devdocs/logging.md
Co-authored-by: Stefan Markovic <57057282+stefansjfw@users.noreply.github.com >
* Update doc/devdocs/logging.md
Co-authored-by: Stefan Markovic <57057282+stefansjfw@users.noreply.github.com >
* Update logging.md
* Fix unneccesairy includes.
---------
Co-authored-by: Dustin L. Howett <dustin@howett.net >
Co-authored-by: Stefan Markovic <stefan@janeasystems.com >
Co-authored-by: Stefan Markovic <57057282+stefansjfw@users.noreply.github.com >
2023-03-21 10:27:29 +01:00
Davide Giacometti
5cbe9dd911
[Build] Upgraded NetAnalyzers to 7.0.1 ( #24792 )
...
* upgraded NetAnalyzers to 7.0.1
* fix spellcheck
* Microsoft.CodeAnalysis.NetAnalyzers 7.0.1
* rebase and fix
2023-03-16 15:51:31 +01:00
Jeremy Sinclair
483e37c8b0
[Build]Centralize .NET NuGet Package Versions ( #23727 )
...
* Add populated Directory.Packages.props
* Add package source mapping for community toolkit
* Remove package versions from Settings projects
* Remove package versions from PT Run plugin projects
* Remove package versions from PreviewPane projects
* Remove package versions from Launcher projects
* Remove package versions from Common projects
* Remove package versions from Hosts
* Remove package versions from PowerAccent projects
* Remove package versions from ImageResizer projects
* Remove package versions from Awake
* Remove package versions from ColorPicker projects
* Remove package versions from FancyZones
* Remove package versions from FileLocksmith
* Remove package versions from MeasureToolUI
* Remove package versions from PowerOCR
* Remove package versions from Analyzers entries
* Try fix release CI with packageSourceMapping
* Actually use PowerToys dependencies source for labs
2023-02-13 17:10:33 +00:00
Davide Giacometti
6d138e80fb
[Analyzers] Update StyleCop and enable SA1200 ( #22707 )
...
* update StyleCop and enable SA1200
* Fix merge issues
* fix build and added using rule
2022-12-18 13:27:14 +00:00
Taras
0de7781b51
[Quick Accent]Fix the first character selection in the toolbar ( #22808 )
2022-12-16 09:36:55 +00:00
Stefan Markovic
6ac508fb93
Self-contained .NET ( #22217 )
...
* dotnet sc
* MD preview - C# app
- working self-contained
* Gcode preview - C# app
* DevFiles preview - C# app
* Fix passing path with spaces as cmd arg and monacocpp proj file
* Pdf preview - C# app
* Svg preview - C# app
* Fix comment
* Gcode thumbnail - C# app
TODO:
- installer
- why IThumbnailProvider and IIntializeWithFile doesn't work?
* Pdf thumbnail - C# app
TODO:
- installer
- why IThumbnailProvider and IIntializeWithFile doesn't work?
* Pdf thumbnail - C# app
TODO:
- installer
- why IThumbnailProvider and IIntializeWithFile doesn't work?
* Fix GcodeThumbnailProviderCpp.vcxproj
* Svg thumbnail - C# app
TODO:
- installer
- why IThumbnailProvider and IIntializeWithFile doesn't work?
* Fix Svg tests
* Thumbnail providers - installer
* Self-contained Hosts and FileLocksmith
* Fix hardcoded <RuntimeIdentifier>
* Remove unneeded files
* Try to fix Nuget in PR CI
* Prefix new dlls with PowerToys.
Sign new dlls and exes
* Add new .exe files to ProcessList
* ci: debug by listing all env vars
* ci: try setting variable in the right ci file
* Bring back hardcoded RuntimeIdentifier
* ci: Add comment and remove debug action
* Remove unneeded lib
* [WIP] Platform conditional dotnet files & hardlinks
* Cleanup
* Update expect.txt
* Test fix - ARM installer
* Fix uninstall bug
* Update docs
* Fix failing test
* Add dll details
* Minor cleanup
* Improve resizing
* Add some logs
* Test fix - release build
* Remove InvokeOnControlThread
* Test fix: logger initialization
* Fix arm64 installer
Co-authored-by: Jaime Bernardo <jaime@janeasystems.com >
Co-authored-by: Dustin L. Howett <dustin@howett.net >
2022-12-14 13:37:23 +01:00
Taras
9cf404250b
[Quick Accent] fix showing toolbar in the corner position ( #22736 )
...
* [Quick Accent] fix showing toolbar in the corner position
* [Quick Accent] set horizontal allignment according to toolbar position
* [Quick Accent] fix spelling mistake
2022-12-14 12:17:38 +02:00
Davide Giacometti
d50b89262c
[QuickAccent]Set initial selection when characters change ( #22704 )
2022-12-13 17:20:29 +00:00
Niels Laute
b6a905709a
[QuickAccent]Theming support ( #22446 )
...
* Adding theme awereness
* Adding theming colors
* High contrast
* Downgrade ModernWPF package
* Adding ModernWPF and PowerToys.Common.UI to installer
* Removing unused file and MahApps
* Removed MahApps from installer string
* fix projects and setup
* removed PowerAccent
* addressed PR feedback
Co-authored-by: Davide <25966642+davidegiacometti@users.noreply.github.com >
2022-12-09 20:40:00 +00:00
Taras
3afa124bea
[QuickAccent]Fix showing selector window ( #22435 )
...
* [Quick Accent] fix showing selector window
* Update layout before using size to calculate position
* Correct offset issues due to margin
* Up the offset to 24, as the margin value removed
2022-12-04 22:28:05 +00:00
Aaron Junker
e731cc04c1
[QuickAccent] Add description of current selected letter ( #20587 )
...
* Adding unicode names and adjusting UI (WIP)
* Added changing letter names
* Add optioins to hide description (WIP)
* WIP
* Change to binding property
* Adress PR comments
* Set TextBlock in border
* * Added to settings
* Fixed string showing/not showing one time after switching character
* Removed unneccessairy command in SettingsService.cs
* Moved showdescription enum to settings.ui
* Adding Fluent design :)
* Fix merge errors
* Center list
* Fixed code not working. Accepted some code style changes.
* Merge main in branch #2
* [Quick Accent] support unicode description for UTF-16 surrogate pairs
* [Quick Accent] fix check-spelling-bot errors
* [check-spelling] accept LANGID as correct word
* [Quick Accent] fix delay when calling ShowToolbar for the first time
* [Quick Accent] use toggle switch to turn off/on Unicode description
* [Quick Accent] fix after merge
* [Quick Accent] add UnicodeInformation.dll to installer
Co-authored-by: Niels Laute <niels.laute@live.nl >
2022-12-02 14:45:49 +00:00
Jeremy Sinclair
a7bd0cfde8
[deps]Upgrade to .NET 7 ( #20979 )
...
* Update projects to .NET 7
* Updated packages to 7.0-rc1
* [ColorPicker] Wrap WM_KEYUP param in unchecked context
* [PTRun][OneNote] Added a NoWarn to CS8981
* [MeasureTool] Wrap buffer in wstring_view in SetClipBoardToText
* Target .NET 7 for PowerToys.Interop
* Update publish profiles
* Removed System.Text.Json.dll from Product.wxs since it's included in .NET 7
* Use .NET 7 in CI
* Removed individual CodeAnalysis package from projects
* Updated CodeAnalysis package in Directory.Build.props
* Updated NuGet packages to latest 7.0 rc2
* Fix merge mistake with Settings.UI.Library project
* Updated installer with .NET 7 RC2 install
* [GPOWrapper] Updated GPOWrapperProjection to .NET 7
* [FileLockSmith] Updated to .NET 7
* [FileLocksmith] Update Interop to .NET 7
* Upgrade .NET 7 specific libraries to GA version
* [PowerToysSetup] Updated .NET 7 urls to GA
* [CI] removed .NET 7 SDK preview version from UseDotNet task
* [PowerToysSetup] Update HasDotnet variable name
* [PowerToysInterop] Downgrade target back to .NET 6
* [FileLockSmith] Downgrade Interop library back to .NET 6
* Revert "[FileLockSmith] Downgrade Interop library back to .NET 6"
This reverts commit 356ad048e3 .
* Revert "[PowerToysInterop] Downgrade target back to .NET 6"
This reverts commit 74dbcfdefe .
* [Analyzers][CPP] Disable warning for 4679 caused by .NET 7 in C++/CLI
* [CI] Set maximum cpu count to 2 for PowerToys.sln build
* [CI] Set maximumCpuCount to false in hopes of arm64 working
* Changed .NET 7 runtime display name
* [ci] Use .net 7 sdk
2022-12-01 14:40:41 +00:00
char46
5779b43c80
[QuickAccent] Support Chinese Phonetic Alphabet(Pinyin) and other unicode characters ( #21618 )
...
* #21300-0
* 注释无关代码
* 修改为多行注释,将GetDefaultLetterKeyPI返回值类型修改为string[]
* 重写ToUpper函数
* 更改_characters变量类型为string[]
* 重写Insert函数
* 修改OnSelectCharacter类型为Action<int, string>
* 修改OnChangeDisplay类型为Action<bool, string[]>
* 修改PowerAccent_OnSelectionCharacter和PowerAccent_OnChangeDisplay函数
* 清理无用注释
* #21300-1
* 将修改应用到其他语言
* Removed previous method and change another refence of previous method.
* PowerAccent-21300: sort Pinyin languages
2022-11-17 16:15:53 +00:00
Davide Giacometti
cca10d2455
[Deps]Remove unused dependencies ( #21371 )
2022-11-08 17:35:06 +00:00
Stefan Markovic
7b0f97597d
[PowerAccent] Move low-level keyboard hook to c++ ( #20190 )
...
* Move llkeyboardhook to c++
* expect.txt
* Address PR comment - Resolve namespaces
* Address PR comments - CallNextHook and correct char selection
* Also unpress the letter key
Co-authored-by: Jaime Bernardo <jaime@janeasystems.com >
2022-09-09 13:27:56 +02:00
Jaime Bernardo
9b3e8503a8
[QuickAccent] Rename PowerAccent to Quick Accent ( #20176 )
...
* Rename PowerAccent to Keyboard Accent
* Fix bug report and translation issue templates
* Rename to Quick Accent
* missing mention
2022-08-31 19:05:54 +01:00
Niels Laute
96f34ee4e9
[Settings]Icon updates for new utilities ( #20193 )
...
* PowerOCR icon updates
* Icon updates
* Update Selector.xaml
2022-08-31 17:47:19 +01:00
Stefan Markovic
9207983abb
[PowerAccent] Fix toolbar positioning on first launch ( #20135 )
...
As position is being set according to toolbar width&height (depends on num of
characters), on first toolbar-show size of the toolbar is wrong (list items are not set yet).
Therefore, first set characters and then position.
2022-08-29 09:19:00 +01:00
damienleroy
d9c0af232b
[New PowerToy] PowerAccent ( #19212 )
...
* add poweraccent (draft) for PR
* removing french text for Spell checking job
* add 'poweraccent' to spell checker
* add 'damienleroy' to spell checker file
* adding RuntimeIdentifiers for PowerAccent project
* duplicate image for settings
* update commandline arguments for launch settings
* Removing WndProc for testing with inter-process connection
* add PowerAccent sources for PowerToys
* fix spellcheck
* fixing stylecop conventions
* Remove StyleCop.Analyzers because of duplicate
* fixing command line reference
* Fixing CS8012 for PowerAccent.
* ARM64 processor
* - Modify PowerAccent fluenticon for dark mode
- Try fix arm64 release
* Remove taskbar
* init Oobe view
* - added POwerAccent to App.xaml.cs
- change style to markdown in Oobe display
* - fixing poweraccent crash
- change Oobe LearnMore link
* Installer and signing
* Cleanup
Add settings
* Issue template
* Add some more characters
* Disabled by default
* Proper ToUnicodeEx calling and remove hacks
* Fix spellcheck
* Remove CommandLine dependency and debug prints. Add logs
* fix signing
* Fix binary metadata with version
* Fix the added space bug
* Only type space if it was the trigger method
* Take account of InputTime for displaying UI
* Fix code styling
* Remove the Trace WriteLine hack and add a delay instead
* Reinstate logs
* Better explanations
* Add telemetry for showing the menu
* Update src/settings-ui/Settings.UI/Strings/en-us/Resources.resw
* Update src/settings-ui/Settings.UI/Strings/en-us/Resources.resw
* Update src/modules/poweraccent/PowerAccent.Core/Tools/KeyboardListener.cs
* Update src/modules/poweraccent/PowerAccent.Core/Services/SettingsService.cs
* Add accented characters for S
* Default to both activation methods
* Update src/modules/poweraccent/PowerAccent.Core/Services/SettingsService.cs
* Update src/modules/poweraccent/PowerAccent.Core/Services/SettingsService.cs
* Update src/modules/poweraccent/PowerAccent.Core/Services/SettingsService.cs
* Update src/modules/poweraccent/PowerAccent.Core/Services/SettingsService.cs
* Update src/modules/poweraccent/PowerAccent.Core/Services/SettingsService.cs
* Update src/modules/poweraccent/PowerAccent.Core/Services/SettingsService.cs
Co-authored-by: Damien LEROY <dleroy@veepee.com >
2022-08-26 17:01:50 +01:00