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
Laszlo Nemeth
3739b771e5
[ColorPicker]Fix localization of color names ( #22837 )
...
* [ColorPicker] Restructure to have color names localized
* [ColorPicker] Restrucure code to have localised color names
* Fix analyzer errors
* [ColorPicker] add comments
2022-12-20 15:03:25 +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
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
Davide Giacometti
cca10d2455
[Deps]Remove unused dependencies ( #21371 )
2022-11-08 17:35:06 +00:00
Davide Giacometti
887da6dc1a
[Chore] System.IO.Abstractions update ( #21061 )
...
* System.IO.Abstractions update
* fix tests
2022-10-16 13:23:31 +01:00
Jeff Lord
ee904ae1b1
Settings backup and restore ( #20551 )
...
* Merge and conflict resolution
* Messages good, backup/restore algo better.
* Start of "GetExportVerion"
* fixed spelling
* New backup/restore mode working.
* Rename a project
* Removed test project
* Switch to text.json
* Renamed BackupAndSync to BackupAndRestore
* Added IgnoredPTRunSettings and full merge
* Restored "fixed" settings that change for no reason
* Various UI updates.
* speling
* Some cleanup and zip support.
* Merge and clean
* code clean up
* code clean up
* code clean up
* Smarter settings compare and merge.
* config based file include/exclude
* Removed some "words"
* Code clean up
* cleanup
* cleanup
* cleanup
* cleanup
* fixed spelling.
* Fixed clean up 1
* more clean up
* Trying to add ptb as an OK word
* Some UI updates.
* UI tweaks and PR review items.
* UI tweaks
* Merge conflicts resolved.
* Added CurrentSettingMatchText
* PR review updates.
* Removed weird file.
* Review updates and fixes
* More UI tweaks.
* UI tweaks
* Set default backup location to "%USERPROFILE%\\Documents\\PowerToys\\Backup"
* settings ui tweaks
* Added ExpanderContentSettingStyle
* fix missing config file
* fix missing config file, part 2
* update ui, cleanup cope
* update ui, cleanup code - Part2
* update method comments
* code cleanup and adjust Backup message time
* fix changing backup location on empty Regsitry
* fix select location - part 2
* location input box min-width
* remove lastRestoreDate from ViewModel
* Code or backup timing, and error handling.
* Should fix file/folder name crash.
* Progress to instance class for backup/restore
* Persist backup status state, added refresh button.
* Better auto check for settings status
* Some UI/text updates.
* Clean up
* Added prefix for "General_Settings" to resources
* Code review updates.
* Code review changes.
* Changed to FolderPicker per review
* Fixed issue with early delete of cleanup.
* Testing issues with FolderPicker
* Removed WinForm req and fixed win10 issue.
* Review update.
* Review changes.
Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com>
2022-10-13 09:41:21 +02:00
Davide Giacometti
28751d2d36
NetAnalyzers and StyleCop centralized ( #19476 )
...
* NetAnalyzers and StyleCop centralized
* removed code analysis from devdocs
2022-07-19 22:40:40 +02:00
Jeremy Sinclair
9f4e19ef41
[ARM64] Settings-UI ( #17820 )
...
* Settings.UI Library and Unit Test projects normalization
* Settings UI project normalization
* PowerToys solution update
* Add Targets conditionally
* Revert "[Settings]Include native dlls after proper publish"
This reverts commit d022fd4fc0
.
* Simplify the platform conditions
2022-04-20 16:21:46 +01:00
Stefan Markovic
27c4b1be0e
[settings-ui] Settings WinUI3 ( #17797 )
...
* Add Settings.WinUI3 project
* New namespace
* Activation and Services
* Assets and Behaviors
* Converters and Helpers
* Controls
* View and ViewModels
* Styles and Themes
* OOBE
* Strings
* Small App moves
* [check] Project files - publish profiles and launchSettings.json
* [using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name workaround
* [WIP] Workarounds to make it work
* Fix suppressed warnings - naming
* Add code analysis
* Fix KBMPage and App dispatcher
Fix MessageBox - replace with MessageDialog
* Fix ImageResizerPage & mark ColorPickerButton with TODO
* Add icon to windows
Cleanup MainWindow.xaml.cs and OobeWindow.xaml.cs
MainWindows and OobeWindow management
* App Icon
No framework and runtime subdirs
* Remove PowerToys.Settings and Settings.UI from solution
Update output paths
* Installer work & publish.cmd
* Fix dispatcher crashes
* Fix crashes
* Add all dlls to installer
Cleanup installer
Add OpenOOBE and OpenScoobe logic
Fix minor issues
Fix update scenario - REINSTALLMODE
* Rename back namespaces, project name and project dir
* [wip] move to winappsdk 1.1
* Fix propagating isElevated & installer runtimes dlls
* Remove obsolete dir/file
* PowerToys.Interop to netstandard2.0
* Move everything to .Net6
* [Settings] Always launch settings process non-elevated (#17791 )
* Move back to WinAppSdk 1.0.1
* Add Settings.WinUI3 project
* New namespace
* Activation and Services
* Assets and Behaviors
* Converters and Helpers
* Controls
* View and ViewModels
* Styles and Themes
* OOBE
* Strings
* Small App moves
* [check] Project files - publish profiles and launchSettings.json
* [using:Microsoft.UI.Xaml.Automation]AutomationProperties.Name workaround
* [WIP] Workarounds to make it work
* Fix suppressed warnings - naming
* Add code analysis
* Fix KBMPage and App dispatcher
Fix MessageBox - replace with MessageDialog
* Fix ImageResizerPage & mark ColorPickerButton with TODO
* Add icon to windows
Cleanup MainWindow.xaml.cs and OobeWindow.xaml.cs
MainWindows and OobeWindow management
* App Icon
No framework and runtime subdirs
* Remove PowerToys.Settings and Settings.UI from solution
Update output paths
* Installer work & publish.cmd
* Fix dispatcher crashes
* Fix crashes
* Add all dlls to installer
Cleanup installer
Add OpenOOBE and OpenScoobe logic
Fix minor issues
Fix update scenario - REINSTALLMODE
* Rename back namespaces, project name and project dir
* [wip] move to winappsdk 1.1
* Fix propagating isElevated & installer runtimes dlls
* Remove obsolete dir/file
* PowerToys.Interop to netstandard2.0
* Move everything to .Net6
* [Settings] Always launch settings process non-elevated (#17791 )
* Move back to WinAppSdk 1.0.1
* Revert merge conflict ARM64 removal
* Fix KBM Browse overlay image button
* Bring back settings publish profile
* Update release.yml
* Change target frameworkd windows version
* [Setup] Add Windows Application Runtime SDK (#17809 )
* Update requirements doc
* Update compiling docs
* Fix signing
* Fix Settings exe and dll versions
* Add exception for dlls that have version 1.0.0.0
* Fix powershell condition
Co-authored-by: Andrey Nekrasov <yuyoyuppe@users.noreply.github.com>
2022-04-19 21:00:28 +01:00
CleanCodeDeveloper
d9c054b1f5
[Settings] Move shared keys into central props file ( #17188 )
2022-03-23 16:32:34 +00:00
CleanCodeDeveloper
f4044ffd51
[Settings] Enable analyzer and fix warnings ( #16515 )
2022-02-22 22:02:45 +00:00
CleanCodeDeveloper
4572f62ce5
[meta]Update nuget packages ( #16379 )
...
* Update nuget packages
* try to fix build (Microsoft.UI.Xaml)
* Removed dlls because there are not needed anymore
* Add binaries System.Text.Json.dll (5x) to wxs file
* Downgrade System.IO.Abstractions.* due to breaking changes
* Update Microsoft.NET.Test.Sdk
* Revert MSTest.* to 2.2.3
2022-02-18 14:19:40 +00:00
Aaron Junker
3ede2a6467
[meta]Change copyright date to 2022 ( #16279 )
2022-02-17 18:41:30 +00:00
CleanCodeDeveloper
f0d084c59c
[meta]replace FxCopAnalyzers by Microsoft.CodeAnalysis.NetAnalyzers ( #16210 )
...
* Replace Microsoft.CodeAnalysis.FxCopAnalyzers by Microsoft.CodeAnalysis.NetAnalyzers
* fix error CA2101: Specify marshaling for P/Invoke string arguments
Microsoft.CodeAnalysis.NetAnalyzers treats CA2101 as an error
* Removed obsolete Analyzer Microsoft.NetCore.Analyzers
* Removed obsolete Analyzer Microsoft.NetFramework.Analyzers
* Removed obsolete Analyzer Microsoft.CodeQuality.Analyzers
* Removed obsolete Analyzer Microsoft.CodeAnalysis.VersionCheckAnalyzer
* fix error CA2101: Specify marshaling for P/Invoke string arguments
Microsoft.CodeAnalysis.NetAnalyzers treats CA2101 as an error
2022-02-11 16:42:17 +00:00
Stefan Markovic
073caffef4
[Settings, Common.UI, runner exe] Unify exe/dll naming ( #15005 )
...
* Unify exe/dll naming - PowerToys.Runner
Align naming with other exes - PowerToys Runner -> PowerToys.Runner
* Unify exe/dll naming - Microsoft.PowerToys.Common.UI
Project name - Microsoft.PowerToys.Common.UI -> Common.UI
dll name - Microsoft.PowerToys.Common.UI.dll -> PowerToys.Common.UI.dll
* Unify exe/dll naming - Settings
Project names - Microsoft.PowerToys.Settings* -> Settings*
Dll names - Microsoft.PowerToys.Settings*.dll -> PowerToys.Settings*.dll
* Revert file autoformat
* [Docs] Update paths to settings projects/files
* Fix tests - Update path
2021-12-15 12:56:52 +01:00