Commit Graph

6210 Commits

Author SHA1 Message Date
yuyoyuppe
232f979c30 fix race condition in system internals which happens during concurrent d3d/d2d resource creation 2022-08-27 00:34:46 +02:00
Jaime Bernardo
fe00f720cd Fix core version 2022-08-26 22:29:36 +01:00
Jaime Bernardo
6c4365851f Fix MeasureToolUI version 2022-08-26 22:24:14 +01:00
Jaime Bernardo
b7d1986be5 Fix signing 2022-08-26 22:22:20 +01:00
yuyoyuppe
9178285a9c fix spelling 2022-08-26 23:02:35 +02:00
yuyoyuppe
5df9f04dbd cleanup cursor convertion between coordinate spaces 2022-08-26 22:35:42 +02:00
yuyoyuppe
4daf5714dc fix arm ci 2022-08-26 20:35:28 +02:00
yuyoyuppe
f869768b0b CI fix 2022-08-26 19:26:42 +02:00
yuyoyuppe
8061e1a527 fix ci 2022-08-26 19:16:11 +02:00
yuyoyuppe
61fd8cc8f5 fix 2 2022-08-26 18:57:03 +02:00
yuyoyuppe
9654daa62e fix ci again 2022-08-26 18:51:43 +02:00
yuyoyuppe
c25c7a97b8 fix CI 2022-08-26 18:44:47 +02:00
yuyoyuppe
56a5d783c8 revert taskbar covering 2022-08-26 18:32:29 +02:00
yuyoyuppe
c4f49a0fc9 Merge branch 'main' into measure_tool
# Conflicts:
#	.github/actions/spell-check/expect.txt
#	installer/PowerToysSetup/Product.wxs
#	src/runner/main.cpp
#	src/settings-ui/Settings.UI/OOBE/Views/OobeShellPage.xaml
#	src/settings-ui/Settings.UI/Views/ShellPage.xaml
2022-08-26 18:21:24 +02: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
yuyoyuppe
1f3dcb3ea6 fix CI 2022-08-26 17:58:18 +02:00
yuyoyuppe
e46e645d3d overlay window covers taskbar 2022-08-26 17:58:12 +02:00
Heiko
785160653c [PT Run][Calculator] Input validation improvements (#20067)
* improve input validation

* update test

* update tests

* simplify test case

* fix devision by zero check
2022-08-26 16:40:15 +01:00
yuyoyuppe
82d265ca80 fix spelling 2022-08-26 10:59:12 +02:00
Andrey Nekrasov
f08900925a make backround convertion success for non continuous mode non-essential 2022-08-26 03:56:37 +02:00
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