Commit Graph

6190 Commits

Author SHA1 Message Date
yuyoyuppe
0669b5cbba fix off by 1 2022-08-26 00:11:53 +02:00
yuyoyuppe
562f8a5f37 add comment 2022-08-25 20:02:30 +02:00
yuyoyuppe
7e18881967 dpi from rt for custom renderer 2022-08-25 19:50:48 +02:00
yuyoyuppe
10728e4e66 primary monitor debug also active for the bounds tool 2022-08-25 19:43:48 +02:00
Andrey Nekrasov
5268411ace fix comment 2022-08-25 18:17:48 +02:00
yuyoyuppe
edd80fc01e spelling 2022-08-25 17:33:40 +02:00
yuyoyuppe
f1f95fe151 split global/perScreen measure state and minor improvements 2022-08-25 17:30:59 +02:00
yuyoyuppe
07fb01e178 disable stroboscopic effect 2022-08-25 15:38:15 +02:00
yuyoyuppe
44f7065b9e merge fix 2022-08-25 15:38:06 +02:00
yuyoyuppe
cf67208871 cast a spell... 2022-08-25 15:24:17 +02:00
yuyoyuppe
0dde07cc23 draw captured screen in a non continuous mode 2022-08-25 15:18:57 +02:00
yuyoyuppe
5c71808af1 build fix 2022-08-25 13:31:27 +02:00
yuyoyuppe
b0606dde9b Merge branch 'main' into measure_tool
# Conflicts:
#	installer/PowerToysSetup/Product.wxs
#	src/runner/main.cpp
#	src/settings-ui/Settings.UI.Library/EnabledModules.cs
#	src/settings-ui/Settings.UI/OOBE/Views/OobeShellPage.xaml
#	tools/BugReportTool/BugReportTool/ProcessesList.cpp
2022-08-25 13:22:02 +02:00
yuyoyuppe
fe3e7e14d9 ContinuousCapture is enabled by default to avoid confusion 2022-08-25 13:11:49 +02:00
yuyoyuppe
461e3c6a21 optimize 2022-08-25 13:10:12 +02:00
yuyoyuppe
8431164bc6 improve sum of all channel diffs method score calc 2022-08-25 12:58:46 +02:00
yuyoyuppe
0ee620988e fix saveasbitmap 2022-08-25 12:38:28 +02:00
yuyoyuppe
12c11908c1 fix texture access 2022-08-25 12:31:27 +02:00
Joseph Finney
eedea3159c [New PowerToy] OCR PowerToy (#19172)
* Init commit

* Fix unintended GUID change of Microsoft.PowerToys.Run.Plugin.TimeZone.UnitTests

* Region and click word working

* Code style

* Close even when there is no result from the OCR

* Fix spelling concerns, and make overlay black to match snipping tool

* increase opacity of overlay to match snipping tool

* Code Style and cleanup

* Code style

* Create Logos and hook them into the project file

* Make the PowerOCR VCXProj more like Awake VCXProj

* Rename MainWindow to OCROverlay

* Add WindowUtilities and WindowForms

* Remove fsg to fix spelling error

* launch OCR Overlay on every screen

* Add PowerOCR to Runner Main.cpp

* Add PowerOCR Settings and Properties

* Add PowerOcrViewModel

* Fix wrong setting reference in PowerOcrSettingsVM

* Try to clean up the Cpp project for PowerOCR

* Went to ARM64 was x64 thanks @snickler

* Clean up PowerOCR C++ Proj with file refs

* Rewrite C++ dllmain comparing to awake

* Changes for spelling issues. The rest will stay

* Create PowerOcr Settings Page and add to settings shell

* Fix PowerOcr Settings

* Fix multi-monitor scaling issue

* Add close all overlays when escaping

* Update src/runner/main.cpp to call correct Power OCR dll

Co-authored-by: Stefan Markovic <57057282+stefansjfw@users.noreply.github.com>

* Update expect.txt

* Add many files from Color Picker for hotkey activation

* Organize project into helper folder

* Use new hotkey activation and keep process alive

* Fix bug where scalebmp wasn't working

* Add The file headers and dispose app.xaml.cs

* Code style changes

* Fix bug where PowerOCR was toggling Awake

* Unsubscribe from keyboard events making they don't fire twice

* Add SndPowerOcrSetting and add to SettingsVM

* Trying to make the runner close PowerOCR when runner closes

* Fix app_name

* Update spellcheck expect

* use mutex on PowerOCR app to keep to single instance

* Rebuild the module interface using ColorPicker as a template.

Process still stays alive.

* Fix project names of the module interface

* Put app startup args back to 0 like color picker

* Runner now finds and enables/disables PowerOCR

* remove unneeded item groups from settings proj, per stefansjfw

* Add PowerOCR Screenshots

* Revert changed project GUID

* Add OOBE content for PowerOCR

* Keep cursor on one screen since the OCR window does not span screens.

* reload settings when activation key is pressed

* New screenshots and OOBE text

* Add PowerOCR as a case in the settings App.xaml.cs OnLaunched

* Settings and OOBE Text Changes

* Using using on bitmaps and change OCR overlay to stay open if no result

* Keyboard activation is handled is true

* Remove unused start PowerOCR OOBE Method

* [PowerOCR]Add some telemetry

* Add some logging

* Don't recreate the OCR overlay Windows more times

* Add to BugReportTool to get event viewer errors

* Fix wrong comment

* Fix another comment

* Add files to installer

* Add to signing

* Don't take Esc away from other apps

* Default to Win Shift R

* Use low level keyboard hook from runner

* Remove esc from local low level keyboard hook

* Fix some nits

* Default to Win Shift T
2022-08-25 11:25:52 +01:00
yuyoyuppe
98a870db09 debug texture 2022-08-25 12:19:35 +02:00
yuyoyuppe
d93991a914 clean up x2 2022-08-25 12:04:24 +02:00
yuyoyuppe
798c3eaf6f cleanup 2022-08-25 11:24:20 +02:00
Andrey Nekrasov
4405e4bfb6 fix a real spelling error! 2022-08-25 00:44:44 +02:00
Andrey Nekrasov
56ee3fc558 clarify continuous capture description 2022-08-25 00:42:25 +02:00
Andrey Nekrasov
8c75a71e70 explicitly set texture dims 2022-08-25 00:27:05 +02:00
yuyoyuppe
39fe726690 add PowerToys.MeasureToolUI.exe to bugreport 2022-08-24 20:51:43 +02:00
yuyoyuppe
c3da4a923a increase default pixel tolerance from 5 to 30 2022-08-24 20:39:03 +02:00
Floris Westerman
768603eb61 Fix always setting the zoom factor (#19963) 2022-08-24 21:09:00 +03:00
Andrey Nekrasov
efe712f969 localization for AutomationPeer 2022-08-24 17:44:23 +02:00
Jaime Bernardo
98eba357e1 Merge branch 'main' into pr19701 2022-08-24 15:49:36 +01:00
yuyoyuppe
b91780b903 appropriate module preview image 2022-08-24 15:31:21 +02:00
yuyoyuppe
614bf7fee3 move license to NOTICE 2022-08-24 15:04:33 +02:00
yuyoyuppe
a69a450899 update OOBE 2022-08-24 14:33:39 +02:00
yuyoyuppe
db2e1d5985 add sse2neon license 2022-08-24 14:27:15 +02:00
ivanstosic-janea
bb67764be6 [ShortcutGuide]Fix overlay narrator shortcut (#19981)
* Update overlay.svg

* Update title text offset

* Update overlay_portrait.svg
2022-08-24 12:31:06 +01:00
Davide Giacometti
16c7a22410 [PreviewPane][Monaco]Format json/xml before rendering (#19980) 2022-08-24 12:08:10 +01:00
Stefan Markovic
e7d3aadec3 [runner]Fix issue on files cleanup when directory doesn't exist (#20063)
* Fix issue when directory doesn't exist

* Address PR comment
2022-08-24 11:04:23 +01:00
Davide Giacometti
a3b7c70fe0 [Meta]Removed obsolete package Castle.Core (#19994) 2022-08-24 10:52:11 +01:00
Floris Westerman
f44bf99dfd [PTRun][Unit]Support for plural units and improve alternative spellings (#19961)
* Upgrade UnitsNet package to a version that supports plural

* Add support for plurals

Fix metre conversion
Add and update unit tests
2022-08-24 10:50:34 +01:00
Stefan Markovic
13db8575e0 [PowerRename] Show UI info if item cannot be renamed (#19934)
* PowerRename cleanup

* Extract ExplorerItem as a UserControl

* Add VisualStateManager

* UI fixes

* Implement error UI logic

Highlight items that couldn't be renamed and add error message flyout

* Update src/modules/powerrename/lib/PowerRenameManager.cpp

Address PR comment

Co-authored-by: Jay <65828559+Jay-o-Way@users.noreply.github.com>

* Update src/modules/powerrename/lib/PowerRenameManager.cpp

Address PR comment

Co-authored-by: Jay <65828559+Jay-o-Way@users.noreply.github.com>

* Folder max path is 247

* Implement State() properly

Co-authored-by: Niels Laute <niels.laute@live.nl>
Co-authored-by: Jay <65828559+Jay-o-Way@users.noreply.github.com>
2022-08-24 10:47:27 +02:00
Andrey Nekrasov
58f49e1861 pass dpiScale to x renderer 2022-08-24 01:04:37 +02:00
Andrey Nekrasov
de1d18f8d9 Merge branch 'main' into measure_tool
# Conflicts:
#	PowerToys.sln
#	src/settings-ui/Settings.UI/Strings/en-us/Resources.resw
2022-08-24 00:34:52 +02:00
Andrey Nekrasov
45f4a83dab spelling 2022-08-24 00:32:39 +02:00
Andrey Nekrasov
9128ca63c9 implement custom renderer and make × semiopaque 2022-08-24 00:28:20 +02:00
Pedro Lamas
c26e23b904 [FileExplorer]Stl Thumbnails color customization (#19928) 2022-08-23 21:45:27 +01:00
Davide Giacometti
5c431b5ac5 [Runner] Cleanup updates directory at startup (#19875)
* cleanup updates and logs at startup

* perform cleanup in separate thread
2022-08-23 21:32:45 +01:00
Heiko
c85305695e [Settings][Plugin manager] Activation commands: Fix conflict with calc plugin and add warning (#19593)
* update activation commands

* add warning and badges

* fix spelling

* fix badge style

* fixes

* small fixes missed

* spell fix

* revert changes for Program plugin

* small tweaks

* Add Grid control

* merge warnings

* fix spelling

* fix resource

* updating conflicitng keywords

* remove keywordWarning and warningBagde

* fix broken reference

* add new information bar
2022-08-23 21:28:41 +01:00
Jeff Lord
4c796c0b53 [PTRun]Add history plugin (#19569)
* Progress!

* Progress...

* POC level.

* Added ability to delete from history using IPublicAPI

* Some sorting, works in some cases.

* Rename "Run History" back to just "History".

* Updated item from review.

* Slight change to PowerLauncher ref, set Copy Local = False

* Fixed missing history items if added to history without search term.

* Added placeholder unit test project

* Updates for new History plugin.

* Update Product.wxs, removed useless Unit Test project

* Removed actual files for "Microsoft.PowerToys.Run.Plugin.History.UnitTests"

* Added history.md, updated ESRPSigning_core.json

* Changes for review

* Removed now global CodeAnalysis/stylecop
2022-08-23 21:27:45 +01:00
Seraphima Zykova
8cea22aaf1 [FZEditor]Highlight distance range: slider and fix narrator (#19840)
* announce corrected value

* tooltip

* slider

* announce value

* custom slider announce

* slider slyle

* announce range

* show current value
2022-08-23 20:41:22 +01:00
Andrey Nekrasov
78d4f66669 update issue template + refactor text box drawing 2022-08-23 20:45:25 +02:00