sosssego
d1b55d9ff4
[Analyzers][CPP]Turn on warning 26427 ( #22743 )
2022-12-18 11:45:19 +00:00
sosssego
2f6d512614
[Analyzers][CPP]Turn on warning 26445 ( #22644 )
2022-12-18 11:31:43 +00:00
Stefan Markovic
c2325181ea
Remove unused Newtonsoft.Json package references ( #22812 )
...
* Remove unused Newtonsoft.Json package references
Replace with System.Text.Json in Settings test
* spellcheck
* Remove obsolete test
* Revert settings part
* Revert "Revert settings part"
This reverts commit ad2934ce0b
.
* Increase JS heap size in CI
2022-12-16 18:46:07 +01:00
Stefan Markovic
a6c13dcfbe
Run settings elevated when PT is running elevated ( #22815 )
...
* Run settings elevated when PT is running elevated
* Address PR comment
2022-12-16 15:14:50 +01:00
Niels Laute
f574694cc0
[Settings]Improve Shortcut Control visibility and accessibility ( #22813 )
2022-12-16 14:03:54 +00:00
Niels Laute
b775d0710f
[Settings] Custom color format UI tweaks ( #22790 )
...
* Custom color format tweaks
* Delete vs. remove
* Update expect.txt
* [ColorPicker]Support BGR and RGB decimal value formats (#22771 )
* ColorPicker add both decimal value formats
* ColorPicker, custom format dialog, resizing columns
* Custom color format tweaks
* Delete vs. remove
* Update expect.txt
* Fix rebase
* Fix error
2022-12-16 10:15:55 +00:00
Jaime Bernardo
b17955c968
[FileLocksmith]Move hanging operations to a distinct thread ( #22806 )
2022-12-16 09:37:33 +00:00
Taras
0de7781b51
[Quick Accent]Fix the first character selection in the toolbar ( #22808 )
2022-12-16 09:36:55 +00:00
Jeremy Sinclair
57bde1c54c
[ARM64][Build] Prefer Arm64 Build Tools when building from Arm64 devices ( #22792 )
...
* Set PreferredToolArchitecture to arm64 if Arm64 processor
2022-12-15 18:40:29 -05:00
sosssego
02aa5cab96
[Analyzers][CPP]Rewrite the ruleset to include cpp core guidelines rules ( #22602 )
2022-12-15 16:29:00 +00:00
Stefan Markovic
7674a6fe47
Bump WinAppSDK to v1.2 ( #22733 )
...
* Bump WinAppSDK to v1.2
* Remove AppWindowTitleBar.IsCustomizationSupported
* Fix resizing and background color
2022-12-15 12:17:56 +01:00
Laszlo Nemeth
96ac6a6a12
[ColorPicker]Support BGR and RGB decimal value formats ( #22771 )
...
* ColorPicker add both decimal value formats
* ColorPicker, custom format dialog, resizing columns
2022-12-15 09:33:17 +00:00
Davide Giacometti
5b4e678f14
[Hosts]Warn about duplicated entries ( #22606 )
...
* find duplicated entries
* addressed PR feedback
Co-authored-by: Davide <25966642+davidegiacometti@users.noreply.github.com>
2022-12-14 15:52:00 +00:00
Andon Dragomanov
b56e62e5de
[QuickAccent]Added support for Macedonian accent letters ( #22721 )
...
* Added support for Macedonian accent letters
* Reordering of resources and enums by alphabetical order
2022-12-14 14:56:43 +00:00
char46
a167c8d3ac
[Quick Accent]Add Pinyin accents ( #22631 )
...
* [Quick Accent]Add Pinyin accents
* Add Mandarin tone.
* Update Languages.cs
* add space before closing brace
* Remove CR from each lines
2022-12-14 14:35:57 +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
Stefan Markovic
a2c0febccc
[ci]Fix build error introduced by C# tools update ( #22779 )
...
* Fix build error introduced by C# tools update
* Remove duplicate project properties - included in Directory.Build.props
2022-12-14 11:43:02 +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
Robson
c22e78870b
[Peek] add WV2 improvements (behavior and UX) ( #22685 )
...
* [Peek] added logic to get max monitor size for opening WebView2
* Removed ununsed dependency property
* Added workaround for cases where the web page would not finish navigating in a quick timing, for example google.com.
* Remove window extensions from common and use nullable size argument instead
Co-authored-by: Samuel Chapleau <sachaple@microsoft.com>
2022-12-13 21:37:17 -08:00
Michael Salmon
1253ed6607
[Peek] Add copy keyboard accelerator ( #22647 )
...
* add copy keyboard accelerator
* Fix comments
Co-authored-by: Samuel Chapleau <sachaple@microsoft.com>
2022-12-13 21:11:30 -08:00
Clint Rutkas
b5f6722ae7
Update to dev setup readme.md ( #22687 )
2022-12-13 10:13:13 -08:00
Jaime Bernardo
150f26731c
[VCM]Only use File Watchers if module is enabled ( #22757 )
2022-12-13 17:35:23 +00:00
Davide Giacometti
d50b89262c
[QuickAccent]Set initial selection when characters change ( #22704 )
2022-12-13 17:20:29 +00:00
Jaime Bernardo
f465daf585
[Logs]Don't create a thread for each logger ( #22755 )
2022-12-13 17:16:31 +00:00
Taras
f987a48b3a
[Quick Accent]Increase default input delay to 300ms ( #22680 )
...
* [Quick Accent] change default input delay and default activation key
* [Quick Accent] use default activation key 'Both' as before
* [Quick Accent] use PowerAccentSettings.DefaultInputTimeMs
* [Quick Accent] add more comments
2022-12-13 17:15:56 +00:00
Laszlo Nemeth
ba0d41f743
[ColorPicker]Fixing decimal value calculation ( #22669 )
2022-12-13 16:59:57 +00:00
Laszlo Nemeth
9480013868
[Settings][Accessibility] Set name for ShortcutControl ( #22622 )
2022-12-13 14:14:09 +00:00
Clint Rutkas
96a4e071d6
Enable a new rule for fabric bot to aid in localization triaging ( #22740 )
2022-12-12 13:12:26 -08:00
sosssego
e42bbaaaf7
[Analyzers][CPP] Turn on warning 4702 ( #22285 )
...
* Turn on 4702
unreachable code
* fix warnings that didnt show locally
* add comments about disable warnings
* improve comments
* changes from comments
* fix from PR comments
2022-12-12 17:21:48 +00:00
Laszlo Nemeth
6cbb094cfb
[Settings]Fix using navigation items in scan mode ( #22545 )
2022-12-12 16:34:21 +00:00
Davide Giacometti
cd1b7dbc2c
cleaned-up dispose TODO ( #22703 )
2022-12-10 17:20:10 +01:00
Jaime Bernardo
6b199a1154
[ci]Skip C++ code analysis to speed up release pipelines ( #22555 )
...
C++ code analysis is a heavy process, which we are running in the PR CIs already, so code that gets into main should be checked already.
This PR conditionally removes C++ code analysis from the release pipelines. This saves 10-15 minutes in build time.
## Validation Steps Performed
Verified the release CI shaved some time off.
2022-12-09 18:09:26 -06: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
Samuel Chapleau
99fc54ce94
[Peek] Update some installer build steps + assets update ( #22683 )
...
* Fix settings & peek.ui.wpf
* Add back missing icon
* Add missing files and actions to installer
* Keep window open if the selected file in explorer is different (only works for single file selection)
* Undo last
2022-12-09 12:03:56 -08:00
sujessie
37162e24f6
[Peek] Unsupported File Previewer - Preserve Transparency For File Icons ( #22650 )
...
* Preserving transparency or icons
* Remove TODO
Co-authored-by: Samuel Chapleau <sachaple@microsoft.com>
2022-12-09 12:01:00 -08:00
Laszlo Nemeth
e5d001e434
[ColorPicker]Fix format name duplicates ( #22565 )
...
* ColorPicker fix format name duplicates
* ColorPicker: extend settings-loading with security code which skips color formats with empty name or duplicate names
* Spell checker fix, typo, sorry
2022-12-09 16:30:06 +00:00
Jaime Bernardo
7d53b9a5b5
[Settings][Awake]Show display option on indefinite ( #22596 )
2022-12-09 16:27:49 +00:00
Yawen Hou
b075c00f2b
[Peek] Add cancellation token OnFilePropertyChanged ( #22643 )
...
* Cancel file loading before opening another file
* Add omitted cancellation checks
* Catch task cancelled exception; Add more cancellation checkpoints
* Add cancellation checkpoint beofre GetBitmapFromHBitmapAsync
* Correct typo
* Update to pass cancellation token individually to each async methods
* Add lost cancellationToken source
* Add cancellation token to PngPreviewer
Co-authored-by: Yawen Hou <yawenhou@microsoft.com>
2022-12-09 11:25:51 -05:00
sosssego
febe1aa9a0
[Analyzers][CPP] Turn on warnings 26800, 28251, 6387 and 6248 ( #22411 )
2022-12-09 14:08:51 +00:00
AO2233
a8a618af1d
[TextExtractor]Fix error blanks in Japanese OCR ( #22443 )
...
* fix error blanks in japanese OCR
Kanji ,Hiragana, Katakana, Hankaku-Katakana do not need blank. (not only the range of CJKUnifiedIdeographs). Maybe there are more symbols that don't require spaces like \u3001 \u3002. But give it to ocr engine to improve may be a better choice ?
* Update ImageMethods.cs
fixing spelling
* Update expect.txt
adding in Hankaku
* Update ImageMethods.cs
2022-12-09 14:07:45 +00:00
Daniel Richter
08d569ccf6
[PTRun] Drag and drop files ( #22409 )
...
* [PTRun] Support drag&drop to other application for files in result list
* [PTRun] use file/folder thumbnail as drag image
* (fix spellcheck)
* [PTRun] use _mouseDownResultViewModel.Image to generate the drag image
* fix spelling + refactoring
2022-12-09 13:01:44 +00:00
Laszlo Nemeth
bb92b03156
[ColorPicker]Use the new custom formats when picking colors without editor ( #22552 )
...
* ColorPicker fixing 'old' formats still represented in the old pre-defined format in color picker module.
* Fixing color picker tests, adding format strings
2022-12-09 11:21:59 +00:00
sosssego
d8b92662ba
[Analyzers][CPP]Turn on warning 4505 ( #22301 )
...
* Turn on warning 4505
supress it in the fancyzone tests
* comment on disabled warnings
* improving comments
* change strategy to have less #pragma
2022-12-09 10:58:59 +00:00
Samuel Chapleau
496220f77e
[Peek] Window foregrounding simplification and fixes + keep window visible if FE single selection changed ( #22657 )
...
* Use different apis to bring to foreground removing remote thread wait and work as well as library loading
* Keep window open if single selected file in FE is different
* Removed unused methods
2022-12-08 22:38:52 -08:00
Robson
195f14a3c7
Add full image quality support ( #22654 )
2022-12-08 17:45:39 -08:00
Jojo Zhou
60bf86825b
[Peek] Add tooltip to File ( #22640 )
...
* Add tooltip to File
* Add placeholder text for no tooltip
* Address comments
* Use StringBuilder
Co-authored-by: Jojo Zhou <yizzho@microsoft.com>
2022-12-08 15:55:28 -08:00
sujessie
4ef3f23897
[Peek] Unsupported File Previewer - Setting Window Size ( #22645 )
...
* Adding setting for unsupported file window
* Fix
2022-12-08 15:44:42 -08:00
Robson
5bd9dd5935
[Peek] add extra logic to properly render PNG files with transparency ( #22613 )
...
* [Peek] added extra logic to render PNG files with proper transparency
* Moved logic to ThumbnailHelper
Cleanup
* Created a separated previewer for PNG to only load the preview image with thumbnail logic
* removed unused code
* Updated state loading change
2022-12-08 15:42:38 -08:00
Michael Salmon
5590eb9484
[Peek] New File Explorer tabs break Shell API to get selected files ( #22641 )
...
* fix FE tab bug
* remove unnecessary unsafe keyword
2022-12-08 15:39:14 -08:00
Jojo Zhou
6f06f76784
[Peek] Refine titlebar adaptive width ( #22642 )
...
* Adjust adaptive width of titlebar
* Remove visualstate setters for AppTitle_FileCount
Co-authored-by: Jojo Zhou <yizzho@microsoft.com>
2022-12-08 15:06:16 -08:00