Commit Graph

699 Commits

Author SHA1 Message Date
Divyansh Srivastava
d0822ab1fe Fixed process executing on clicking enter if no text in search box 2020-04-23 16:16:15 -07:00
ryanbodrug-microsoft
65cda38cc8 Result List - Bad rebase overwrote margin and translation fields. 2020-04-23 16:15:30 -07:00
ryanbodrug-microsoft
dcc1d545e9 Fixes an issue where PointerExit would hide the selected context buttons. 2020-04-23 16:15:30 -07:00
ryanbodrug-microsoft
e13967cb83 Fixes race conditions with PointerEnter/Exit events conflicting with Selection and unselection. This change provides better encapsulation of the logic to enable a selected item for accelerator (hotkey) events, and allow mouse input on results where the pointer is over. 2020-04-23 16:15:30 -07:00
Alekhya
46d1bc274c
Modify scoring algorithm for fuzzy search (#2361)
* Modify scoring

* modified to if else
2020-04-23 15:39:55 -07:00
Alekhya
8b10fe4053
Launcher MSI - Added a required dll and removed folder plugin (#2355)
* Modified the product.wxs file

* Added the x64 config
2020-04-23 12:07:36 -07:00
Arjun Balgovind
b5bd2df814
Update the KBM UI to use a Grid based layout rather than stack panels (#2299)
* Added grid to edit keyboard

* Fixed all issues for Edit keyboard window with grid

* Added step to delete row definition and move row indices

* Handled grid operations for Edit Shortcuts

* Added dynamic layout for edit shortcuts

* Fixed resize windows message behaviour and removed warnings
2020-04-23 09:14:16 -07:00
Arjun Balgovind
32ddf3246c
Add support for Common Win key in KBM (#2308)
* Added common win key to layoutmap

* Added common win key support for edit shortcuts

* Adjusted key names
2020-04-23 08:37:52 -07:00
ryanbodrug-microsoft
86f209a302 Opening explorer if the user has types a file path. 2020-04-22 20:50:10 -07:00
ryanbodrug-microsoft
44943feb8b Setting runcommand as the default execution method, and turning off run as admin by default. 2020-04-22 20:50:10 -07:00
Clint Rutkas
9ae97de780
simplifying the xaml and making things tighter (#2327) 2020-04-22 15:59:32 -07:00
Clint Rutkas
fed254f355
Update nuget packages across solution to latest (#2334) 2020-04-22 14:19:26 -07:00
Alekhya
7f53877283
text is selected whenever launcher gets hidden and is then set to visible (#2315) 2020-04-22 13:42:08 -07:00
Arjun
ca3a436fe5 Merge latest master: 4/22/20 2020-04-22 10:02:17 -07:00
Alekhya
d48ef90fb0
Simulating Win+backspace key press, instead of Win+Control as it was launching WW (#2250) 2020-04-21 19:46:10 -07:00
Arjun Balgovind
d079f0ca44
Changed output dir to modules and resolved conflicts (#2233) 2020-04-21 14:14:50 -07:00
Arjun Balgovind
5828508218
Fix colors in KBM UI and add support for light/dark theme (#2256)
* Fixed colors for Edit Keyboard

* Fixed colors for Edit Shortcuts
2020-04-21 13:42:06 -07:00
Arjun Balgovind
2f244bca85
Fix Ctrl/Alt/Shift single key remapping (#2217)
* Added preprocessing step for edit keyboard buffer

* Fixed Ctrl\Alt\Shift single key remapping
2020-04-21 13:40:31 -07:00
Divyansh Srivastava
064d638588 Removed folder plugin 2020-04-21 12:56:28 -07:00
ryanbodrug-microsoft
c3bded6947 Disabling scrollbars for gridview items. 2020-04-21 12:37:28 -07:00
ryanbodrug-microsoft
3a584e318a Positioning ContextButtons and adding background. 2020-04-21 12:37:28 -07:00
vldmr11080
5ac7eddd03
Compare window desktop id with currently active work area desktop id. (#2110)
* Compare window desktop id with currently active work area desktop id.

* Improve error handling and conform to coding guidelines.

* Move virtual desktop helper functions to ZoneWindowUtils namespace.

* Ensure thread safety when creating instance of VirtualDesktopManager.

* Remove static qualifier from ServiceProvider.

* Return instead of break, as there is no need to check for other monitors, virtual desktop is the same for all.

* Move virtual desktop related helper functions to separate files.

* Skip comparing desktop ids if zone window has empty GUID for desktop id.

* Add comment describion scenario for which we need this fix.
2020-04-21 19:57:21 +02:00
Arjun Balgovind
b715a008c5
Fixed KBM interaction with Shortcut Guide (#2220) 2020-04-21 10:25:14 -07:00
Divyansh Srivastava
1d4b834204 Removed ListView animations 2020-04-21 09:42:16 -07:00
Alekhya
aa271423f9
Changed to SystemChromeLow from Accent brush (#2272) 2020-04-21 08:43:28 -07:00
Tomas Agustin Raies
93752fb6cb
Display Unicode character for keys in HotkeySettingsControl (#2249)
* Fix HotkeyControl virtual key display

* A new interop project was setup to provide wrappers for C# projects
  that want to access functionality in the common project.

* Add assembly info

* Remove WIN32 configurations
2020-04-20 21:01:21 -07:00
Divyansh Srivastava
7da8689bf2
Somil55/merge custom ui into launcher (#2271)
* Remove Autosuggest box (#2192)

* Update Settings.Designer.cs

* Revert "Update Settings.Designer.cs"

This reverts commit a1bc0dda56.

* Updated LauncherControl XAML to add textbox and listview

* List View displayed

* Hooking up execution on the selected index, removing two way binding on selection, and experimenting with popup that doesn't work

* Updated MainViewModel to Remove context menu and history

* Added Resultist XAML Island project

* Updated SelectedItem and SelectedList Binding.
Issues :  List box doesn't open when query is written for first time but opens in subsequent queries.

* 1. Mouse Click working
2. List View is can't be focused
3. Fixed width of Launcher

* Removed two way QueryText box binding

* Removed SelectedItem two way binding and replaced with a callback

* [Cleaning] Remove redundant UWP project

* [Cleaning] Updated files to keep only atomic changes against dev/powerLauncher

* Thmbnail fixed for NEW UI

* Removed PreviewMouseDown function required by older WOX code

Co-authored-by: ryanbodrug-microsoft <56318517+ryanbodrug-microsoft@users.noreply.github.com>

* Added the auto-complete feature

* Removing ContextMenuPluginInfo, and ContextMenuTopMost as these commands are not used int the new design.

* Fixed merge conflicts

* Set only when index is 0

* One way binding

* Removed unnecessary binding

* Deleting unused (commented out code) that was legacy from wox project.

* Binding Buttons to appropriate context menu commands.
1. Buttons are dynamically loaded in a listview based on the actions supported be each plugin.

This change also deletes unused commands.

Note:  Most button events don't seem to be getting routed to the Selected Item.  Currently using 'PointerEntered' to validate the behavior.  The actions should be trigged by the button command property in the future.

* manually handling tab in mainwindow

* Loading context buttons on Selecting a suggestion list item

* Allowing hover event to load content menu items and display them as well.

* Adding context buttons to Indexer plugin.  This allows for the following:
1. [Files] Open Containing folder
2. [Folders/Files] Copy Path

* Remove White background of list (#2218)

* Remove white background of list

* Removed comments

* Changed to ContainerContentChanging event

* add const variables instead of numbers

* Added comment before the updatelistSize function

* Search box UI (#2224)

* Added backdrop and rounded corner

* Fix for two alt+space press to bring searchbox issue

* Fixed merge conflict

* Clean Mainwindow.xaml code

* Fix for textbox focus on first visible

* Allowing users to tab between the context buttons for the selected resut.  Also allowing users to press 'enter' to action on the selected items.

* Renaming SelectedIndex to ContextMenuSelectedIndex

* Enabling key accelerators on context buttons.
1. Add new object ContextMenuResult instead instead of reusing Result for both query results and context menu results.
2. Binding KeyboardAccelerator keys to contextmenuitemviewmodel
3. Enabling and disabling contextmenu items when selecting or deselecting each row.  Because we are manually maintaining selectionwe can't use ScopeOwners as the textbox is really the only item ever in focus.

* Launching explorer instead of the UWP application when selecting 'open file location'.

* Added fix for border showing up when result count is zero

* Updated fix for border on no result

* Adding visibility  after clearing result in MainViewmodel

* Launcher Light/Dark mode (#2235)

* Fixed issue with list view background not updating with Windows theme change

* Added theme change for WPF

* updated ShadowDepth for dropshadow

* Updated border thicknes of searchbox and listview

* Diff issue with ResultList.xaml

* Removed change in result delay

* Added code to pull colors from UWP

* Updated border resource to use system based SystemControlHighlightAccentBrush

* Updated corner radius in dark mode

* Updated Launcher description text

Co-authored-by: ryanbodrug-microsoft <56318517+ryanbodrug-microsoft@users.noreply.github.com>
Co-authored-by: Alekhya Reddy <reddykalekhya@gmail.com>
2020-04-20 19:53:20 -07:00
Divyansh Srivastava
afd22768fc
Pull changes from master to dev/powerLauncher (#2255)
* Dpi unaware placement bug (#2121)

Fix for bug when placing dpi unaware window such as Notepad++ in left of right part of monitor. In that application gap of about 7px was left or right.
This fixes only single-monitor scenario
It skips correction for dpi unaware window that leaves a gap

* Move markdown parsing logic outside control thread (#2099)

* Move markdown parsing logic outside control thread

* Update MarkdownPreviewHandlerControl.cs

* Remove trailing whitespace.

That'll teach me for trying to make an edit from the GitHub page.

* Migrate power rename MRU lists from registry to JSON (#2090)

* Handle most recently used search/replace strings within settings.

* Check for last modified time of json file and reload it if needed.

* Handle changes in MRU search / replace lists size.

* Improve handling of changes in MRU list size.

* Don't check for last modified time in every getter method. Load only when starting application.

* Add const identifier to getter methods.

* Address PR comments: Add const to reg and json file paths and set them in constructor initializer. Check pushIdx validity. Move implementation to cpp of PowerRenameUI constructor.

* Add error checking when getting values from registry.

* Implementing changes suggested in #1992 (#2116)

* Implementing changes suggested in #1992

* Update Product.wxs

Co-authored-by: Ebenezer Ewumi <ebenezer.ewumi@wsu.edu>

* Fix for issue #1532 - [PowerToys tray icon] Show version on tooltip (#2117)

* Fix for issue #1532

[PowerToys] Show version on tooltip

* Update src/runner/tray_icon.cpp

Co-Authored-By: Andrey Nekrasov <yuyoyuppe@users.noreply.github.com>

Co-authored-by: Andrey Nekrasov <yuyoyuppe@users.noreply.github.com>

* FZ editor: Splitted zones positioning (#2158)

* Added a mutex to ZoneWindow, ensured no data races occur (#2154)

* Added a mutex to ZoneWindow, ensured no data races occur

* Protected draggedWindow* members with a mutex

* Ensured that critical reads happen in a single transaction

* Dpi unaware placement bug - multimontior with same DPI settings fix (#2156)

* Dpi unaware placement bug - multimontior with same DPI settings fix

* Using different enumerating method

* Changed AllMonitorHaveSameDpiScaling method

* Removed accidental file

* small rename

* Changed some methods to CamelCase

* Review comments fixes

Co-authored-by: PrzemyslawTusinski <61138537+PrzemyslawTusinski@users.noreply.github.com>
Co-authored-by: Ben Randall <veleek@gmail.com>
Co-authored-by: vldmr11080 <57061786+vldmr11080@users.noreply.github.com>
Co-authored-by: eduardodextil <55205162+eduardodextil@users.noreply.github.com>
Co-authored-by: Ebenezer Ewumi <ebenezer.ewumi@wsu.edu>
Co-authored-by: Nghia M. Luong <32159519+sqrlmn@users.noreply.github.com>
Co-authored-by: Andrey Nekrasov <yuyoyuppe@users.noreply.github.com>
Co-authored-by: Seraphima Zykova <zykovas91@gmail.com>
Co-authored-by: Ivan Stošić <ivan100sic@gmail.com>
2020-04-20 17:33:30 -07:00
Arjun
d45c4740ad Fixed a bug added in #2237 2020-04-20 11:03:32 -07:00
Arjun
62bae55fd1 Merge branch 'master' into dev/build-features 2020-04-20 09:15:32 -07:00
PrzemyslawTusinski
dcee505f6b
Dpi unaware placement bug - multimontior with same DPI settings fix (#2156)
* Dpi unaware placement bug - multimontior with same DPI settings fix

* Using different enumerating method

* Changed AllMonitorHaveSameDpiScaling method

* Removed accidental file

* small rename

* Changed some methods to CamelCase

* Review comments fixes
2020-04-20 18:09:10 +02:00
Arjun Balgovind
ddf800de10
Move KBM warnings at Apply to Flyouts (#2237)
* Moved warning to Flyout

* Fixed formatting
2020-04-20 08:59:35 -07:00
udit3333
325db535c0
[Kbm] Save the remaps to file[part-1] (#2184)
* Added Inital FileWatcher Implementation

* Added logic to read remap from file

* Added remap logic save to file

* Refactor code

* Moved the strings to constant file

* Added logic to handle Win key

* Updated filewatcher logic to avoid duplicate events

* Added comments

* Fix spacing

* Fix spacing

* Update logic to accomodate upstream merge

* Added global property name for os level shortcuts

* Added subkey for inprocess keys

* Remove non required file

* Added Changes required after merge

* Fix spacing in Helper.cpp
2020-04-20 08:22:36 -07:00
Ivan Stošić
af4678ff18
Added a mutex to ZoneWindow, ensured no data races occur (#2154)
* Added a mutex to ZoneWindow, ensured no data races occur

* Protected draggedWindow* members with a mutex

* Ensured that critical reads happen in a single transaction
2020-04-20 16:32:49 +02:00
Seraphima Zykova
cab5a97117
FZ editor: Splitted zones positioning (#2158) 2020-04-20 11:54:25 +03:00
Arjun Balgovind
0417b6266a
Add drop down key selection support to Keyboard Manager UI (dev/build-features) (#2140)
* Added combobox

* Formatted and removed unused code

* Added drop down support for Edit Keyboard window

* Reordered the displayed key list

* Add shortcut stack panels and drop downs linked to detect shortcut

* Add more selected item logic

* Added complete dropdown support for edit shortcuts window

* Added Flyout warning for incorrect drop down input

* Tweaked warnings

* Removed MainWindow code

* Changed SelectedValue toSelectedIndex

* Removed unnecessary assignments

* Added a warning for two dropdowns and the first one is changed to an action key

* Added function comments in cpp file

* Fixed some comments

* Fixed all allocation and out of scope issues

* Fix most issues except reloading shortcuts

* Fixed issue while reloading shortcuts

* Fixed type cast warnings

* Changed delete to delete[]

* tweaked
2020-04-18 16:12:26 -07:00
Betsegaw (Beta) Tadele
ffe9ec1c76
[Window Walker] Migrate to Launcher (#2093)
* Copy the existing calc. plugin foldeR

* Blindly rename a bunch of things to Window Walker

* Update the solution to reference the new plugin

* Get basic Yo returned

* Remove all the languages except english

* Lower quality of icon as well as test showing it

* Add the core non-ui parts to the plugin

* Delete calculator png

* Get it to compile

* Added the actual code which apparently doesn't work

* Finally start showing results

* Fix up strings

* Switch working

* Remove unused classes

* Remove unneeded async
2020-04-17 16:43:34 -07:00
Udit Singh
7e1f554c4e Merge Master Latest in dev/build-features 4/17/20 2020-04-17 10:54:27 -07:00
Clint Rutkas
0cf3c097fb
tweak text (#2177) 2020-04-16 21:06:02 -07:00
udit3333
15061af796
Enable CI build on PowerLauncher Branch (#2181)
* Enable CI build on PowerLauncher Branch

* Updated Nuget restore to latest and added AssetTargetFallback property
2020-04-16 20:25:54 -07:00
Arjun Balgovind
13a8ac3e50
Handle RAlt, RCtrl and other extended keys correctly (dev/build-features) (#2145)
* Fixed SendInput for RAlt and RCtrl

* Fixed shortcuts containing Del, Arrow keys, etc
2020-04-16 15:17:57 -07:00
Alekhya Reddy
7c5993d75b Set MainViewModel visibility to hidden on startup 2020-04-16 14:12:15 -07:00
Divyansh Srivastava
367cb41121
Search result thumbnail for PowerLauncher (#2124)
* Replace WPF Imaging library with UWP

* Removed UWP and WPF namespace conflicting files from Wox

* Removed Image hashing as it wasn't used anywhere

* Updated formatting
2020-04-16 11:01:38 -07:00
Tomas Agustin Raies
c37884bdb7
Detect Shortcut: Hold Esc/Enter to Cancel/Accept (#2135)
* Detect Shortcut: Hold Esc/Enter to Discard/Apply changes

Bypass shorcut/single key remapping by holding the navigation keys
2020-04-16 09:16:48 -07:00
ryanbodrug-microsoft
37a551ecd3 SearchIndexer - Modifying QueryContentProperties and QuerySelectColumns to use System.FileName 2020-04-15 17:21:22 -07:00
Clint Rutkas
dafc514353
removed reference to everything (#2133) 2020-04-15 15:10:27 -07:00
vldmr11080
aa6cb7d650
Migrate power rename MRU lists from registry to JSON (#2090)
* Handle most recently used search/replace strings within settings.

* Check for last modified time of json file and reload it if needed.

* Handle changes in MRU search / replace lists size.

* Improve handling of changes in MRU list size.

* Don't check for last modified time in every getter method. Load only when starting application.

* Add const identifier to getter methods.

* Address PR comments: Add const to reg and json file paths and set them in constructor initializer. Check pushIdx validity. Move implementation to cpp of PowerRenameUI constructor.

* Add error checking when getting values from registry.
2020-04-15 23:14:17 +02:00
Ben Randall
67e6688e69
Move markdown parsing logic outside control thread (#2099)
* Move markdown parsing logic outside control thread

* Update MarkdownPreviewHandlerControl.cs

* Remove trailing whitespace.

That'll teach me for trying to make an edit from the GitHub page.
2020-04-15 13:10:55 -07:00
Udit Singh
5d9b71b038 Merge Master Latest: 4/15/20 2020-04-15 07:55:17 -07:00
PrzemyslawTusinski
2077cd4864
Dpi unaware placement bug (#2121)
Fix for bug when placing dpi unaware window such as Notepad++ in left of right part of monitor. In that application gap of about 7px was left or right.
This fixes only single-monitor scenario
It skips correction for dpi unaware window that leaves a gap
2020-04-15 12:34:11 +02:00
Alekhya Reddy
65276f45f1 Merge branch 'master' of https://github.com/microsoft/PowerToys into dev/PowerLauncher 2020-04-14 21:27:04 -07:00
udit3333
a88d66b48b
Integrate keyboard manager with settings v2[Part-2] (#2107)
* Added CustomAction Data Models

* Updated data model

* Updated Button command trigger for keyboard manager

* Integerated custom actions in Keyboard manager module backend

* Allow Runner to launch windows on foreground

* Refactor and moved the execution logic to background thread

* Removed non-required unlock calls

* Fixed typo

* Resolve PR comments
2020-04-14 09:24:11 -07:00
Clint Rutkas
a200c5397a
removed unused dep (#2080) 2020-04-14 08:41:24 -07:00
PrzemyslawTusinski
87fb6fc3d1
Added unit test for non-resizable window placement (#2017) 2020-04-14 10:40:30 +02:00
Tomas Raies
79fcd45d5f Change key mappings according to Keyboard Layout 2020-04-13 11:41:32 -07:00
Arjun Balgovind
e0ddaa74d0 Add unicode naming for keys (dev/keyboardManager) (#1978)
* Added key names

* Display names in detect keyboard UI

* Added keyboard layout for edit keyboard window

* Removed commented code

* removed unused code

* fixed argument modifiers

* Added newline at EOF

* Added unicode changes to edit shortcuts window
2020-04-13 11:41:32 -07:00
Andrey Nekrasov
86704efcec
FancyZones: optimize elevation detection logic (#2103) 2020-04-13 18:22:37 +03:00
yuyoyuppe
77e4984468 chore: fix window walker warning 2020-04-11 11:24:33 +03:00
yuyoyuppe
4e18c67ec5 chore: fix linking warnings 2020-04-11 11:24:33 +03:00
Clint Rutkas
6fbed4ad5c
Settingsv2 fix warnings (#2076)
* updating a ton of warnings.

* bunch of cleanup

* few smaller ones

* fixed naming

* reversing an oops

* adjusting json to use attribute

* more json properties
2020-04-10 15:22:07 -07:00
Clint Rutkas
0fb42c6129
Update README.md 2020-04-10 14:47:58 -07:00
stefansjfw
f589dd2f26
Only clone layout from parent desktop when creating new virtual desktop (#1904)
* Fix issue #1343

* Add Unit Tests

* Revert non intended rename

* Address PR comments
2020-04-10 16:29:18 +02:00
Ivan Stošić
629ba763d7
Basic support for snapping to multiple zones (#1955)
* Refactor a method which resizes windows

* Completed initial work for MultiZones

Without changing any test, they all pass!

* Implemented a basic version of Multizones, updated some tests

* Reduced the sensitivity radius

* Added a few must-have unit tests for Multizones

* Some fixups

* Took care of the conflict between this and #1938

* Improved how zones are detected, reverted a change in one unit test

* Resolved another merge conflict

* Fixed bugs related to stamping
2020-04-10 16:09:08 +02:00
Clint Rutkas
e896e1b3dd
fixing a bunch of warnings from Window Walker (#2014)
* first set of warning fixes

* Since this is a Interop item, it should have a _

* Update Window.cs

* Update InteropAndHelpers.cs

looks like there was a space a the top

* Update Window.cs
2020-04-10 06:41:19 -07:00
Yevhenii Holovachov
b92a127200
Added icon for FZEditor (#1388)
* Added icon for FZEditor
2020-04-10 12:15:59 +03:00
Clint Rutkas
367a7309bc
Update plugin.json 2020-04-09 16:20:04 -07:00
Clint Rutkas
6ecd2ed186 tweaked url 2020-04-09 14:40:17 -07:00
Alekhya
a39faeec32
Merge pull request #76 from microsoft/MicrosoftLauncher
Rename Wox.Launcher -> Microsoft.Launcher and Wox.Plugin.Indexer -> Microsoft.Plugin.Indexer
2020-04-09 10:26:51 -07:00
ryanbodrug-microsoft
4e35b58d59
Merge pull request #90 from microsoft/user/ryanbod/remove_postbuild_script
Removing unused post build and deploy scripts.
2020-04-09 10:25:44 -07:00
ryanbodrug-microsoft
d03be75184 Removing unused post build and deploy scripts. 2020-04-09 09:42:36 -07:00
Divyansh Srivastava
59b0109918
Fix Query builder test (#86)
* Revert base viewModel class to fix tests.
2020-04-09 09:41:30 -07:00
ryanbodrug-microsoft
154e5aab8e
Merge pull request #78 from microsoft/user/ryanbod/fix_killtask_warning
Ignoring 128 errors from taskkill
2020-04-09 09:41:00 -07:00
ryanbodrug-microsoft
5c38b9109e
Merge pull request #85 from microsoft/user/ryanbod/fix_catastrophic_failure
Fixing xaml catastrophic failure,
2020-04-09 09:40:31 -07:00
Seraphima Zykova
1f9d9c619e
FZ editor: splitter thickness set to 1px when space around zones is zero (#2020) 2020-04-09 16:47:25 +03:00
Tomas Agustin Raies
70495d9ce9 Display keys in Shorcut modal as buttons (#1996)
* Display keys in Shorcut modal as buttons

* Refactor: rename currentShortcutUI and currentSingleKeyUI

* Change GetKeyVector signature
2020-04-08 21:17:20 -07:00
Clint Rutkas
b3b7f8b980
Merge pull request #82 from microsoft/fixOverlayProblem
Fix for Xaml Island
2020-04-08 21:10:00 -07:00
Alekhya Reddy
b7e6d8646f Fixing merge conflicts 2020-04-08 19:44:38 -07:00
Alekhya
466522fb12
Merge pull request #88 from microsoft/extractBasedOnTitle
Searches for keyword only in title and Improving quality of results displayed
2020-04-08 18:28:41 -07:00
Alekhya Reddy
549d68d3e8 Display the title from System.Title directly instead of extracting it from the path 2020-04-08 18:16:40 -07:00
Alekhya Reddy
42a54648a1 Searches for keyword only in title and not content to improve the quality of results 2020-04-08 17:51:43 -07:00
Alekhya
dc9b338cb9
Merge pull request #80 from microsoft/indexerWarning
Adding useWPF tag to get rid of warning for Indexer
2020-04-08 17:44:25 -07:00
ryanbodrug-microsoft
b7d0455377 removing unused mutex string 2020-04-08 17:02:08 -07:00
Clint Rutkas
df0b11a960 suggested fix 2020-04-08 16:53:16 -07:00
ryanbodrug-microsoft
111956e2f3 Fixing xaml catastrophic failure, based on Miguels suggestion here: https://github.com/windows-toolkit/Microsoft.Toolkit.Win32/issues/210 2020-04-08 16:28:11 -07:00
Arjun Balgovind
52c12731cb Refactor Shortcut remaps to distinguish modifiers and action keys (#1927)
* Added unique lock mutexes for thread safety

* Fixed a bug in detect key logic

* Changed dword to word

* Added early unlock statements to fix issue with shortcut guide

* Fixed type conversion warnings

* Migrated detect shortcut window to use Shortcut class

* made changes in Apply button logic

* Revert thread safety changes

* refactored code works on the UI side

* Refactored remapping code to use new Shortcut class

* Refactored to SetKeyEvent function

* Moved function to cpp file and added more comments

* Refactored map variable and handled common Win key

* Remove debug code

* Change arguments to const references
2020-04-08 14:49:00 -07:00
Arjun Balgovind
ac26818005 Added unique lock mutexes to KeyboardManagerState (dev/keyboardManager) (#1789)
* Added unique lock mutexes for thread safety

* Fixed a bug in detect key logic

* Added early unlock statements to fix issue with shortcut guide

* Added comments for unlocks before SendInput and changed some unique_locks to lock_guards
2020-04-08 14:49:00 -07:00
Arjun Balgovind
467cf919be Removed ARM/x86 configs and minor refactors (dev/keyboardManager) (#1785)
* Removed ARM and x86 configs

* renamed files and references and localized strings
2020-04-08 14:49:00 -07:00
udit3333
f48040a4d7 Remap Keyboard UI (dev/keyboardManager) (#1698)
* Added initial UI implementation

* Added backend logic for remap key interaction

* Added single key remap control

* Updated Edit keyboardWindow UI

* Commented out ui logic

* Fixed issue with remap window UI and uncommented the code

* Updated customdialog window foreground color

* Updated buttons foreground color

* Added info header

* Added null check for detected key

* Removed fully qualified namespaces

* updated the background color as ligtht gray
2020-04-08 14:35:52 -07:00
Arjun Balgovind
90ddcb30bf Add support for shortcuts with >2 keys (dev/keyboardManager) (#1697)
* Added check keyboard state function

* Added keyboard state check to avoid n-key shortcuts being affected by 2 key shortcuts

* Added support for n key shortcuts in backend and UI

* Added a fix to ensure mouse buttons states are not checked

* reverted some debugging changes

* reverted some debugging changes
2020-04-08 14:35:52 -07:00
Arjun Balgovind
b713083574 Edit Shortcuts UI (dev/keyboardManager) (#1647)
* Added EditShortcuts Window and added Detecting shortcuts functionality

* Fixed build error

* Changed detection to take place only when window is in focus

* Added solution folder

* Added a common project and refactored shared variables to an object with wrapper functions

* Added dynamic addition of shortcuts

* Moved all shared variables in detection to state variable with wrapper functions

* Added code to re-load saved shortcuts in the UI

* Added comments

* Fixed argument modifiers in Helpers

* Updated arg modifiers in all functions

* Removed unused headers and added precompiled headers
2020-04-08 14:35:52 -07:00
Arjun Balgovind
fc7e7074ce Move keyboard manager POC code to dev branch (#1455)
* Created PowerKeys project

* Swapping tab with shift

* Added hash map and iterators for remapping code

* Added PowerKeys flag and added toggletomod function

* Added shortcut base code

* Fixed os level shortcut functionality

* Added 1 extra event

* Added check for same modifier and comments

* Added app-specific remapping for 4 apps including UWP apps

* Changed foreground window logic

* Added a separate hook for PowerKeys which can be re-hooked by enabling and disabling

* Added a separate hook for PowerKeys which can be re-hooked by enabling and disabling

* Fixed all priority issues and changed injection flags

* Added another msedge.exe shortcut

* Added a UI which is linked to the backend hook

* Cleaned code and added comments

* Added second button

* Renamed some files/variables and added an extra button
2020-04-08 14:28:39 -07:00
Alekhya
e88e9bdf11
Merge pull request #79 from microsoft/mergePTmaster
Pulling changes from PowerToys master
2020-04-08 14:26:43 -07:00
Divyansh Srivastava
723ace2724
Launcher resize issue on selecting search result (#77)
* Added fix for closing wox on pressing escape and app execution

* Added fix to prevent autosuggestbox resize
2020-04-08 13:07:00 -07:00
Alekhya Reddy
aeb454f31d adding useWPF to get rid of warning 2020-04-08 12:36:14 -07:00
Alekhya Reddy
12c44dceb6 Merged powerToys master into Launcher master 2020-04-08 11:49:32 -07:00
Divyansh Srivastava
9d1b8fbd3e
Added fix for closing wox on pressing escape and app execution (#75) 2020-04-08 11:32:59 -07:00
ryanbodrug-microsoft
124e0412b2 Ignoring 128 errors from taskkill, as this means the process isn't running. We don't want htis to show up in the warnings list on build 2020-04-08 11:19:28 -07:00
Alekhya Reddy
3a46260937 modified the name of the dll in the indexer plugin 2020-04-08 10:52:03 -07:00
Alekhya Reddy
5e28d39f09 Renamed the dll produced 2020-04-08 10:38:26 -07:00
Tomas Raies
a85b84fd56 Stylecop compliance 2020-04-08 10:21:40 -07:00
Alekhya Reddy
d69383d78b Modified the output folder produced 2020-04-08 10:13:48 -07:00
vldmr11080
c355a2b61e
Use JSON data file for storing PowerRename settings instead of registry (#1909)
* Use JSON data file for storing PowerRename settings instead of registry

* Address PR comments and made several improvements

* Remove WindowsApp.lib dependencies in test app and unit tests

* Revert changes in vcxproj for unit test

* Solve linker warnings generated while linking WindowsApp.lib

* Don't migrate enabled flag. Always read / write from registry.
2020-04-08 19:12:46 +02:00
Alekhya Reddy
93415ee36c Merging with master 2020-04-08 10:06:14 -07:00
Alekhya
0648ecf2d2
Merge pull request #70 from microsoft/indexerException
Fix for Indexer exceptions
2020-04-08 09:26:18 -07:00
PrzemyslawTusinski
17022d50d4
Fancy zones preserve size of non-resizable windows (#1974)
* fancy zones preserve size of non-resizable windows

* Changed the method of determining if window is resizable

* minor merge fix
2020-04-08 18:22:43 +02:00
Alekhya Reddy
c4573e46a9 Removed STAThread 2020-04-08 09:19:49 -07:00
PrzemyslawTusinski
fa515604dc
MoveWindowIntoZoneByIndexWithInvalidIndex failing TC fix (#2009) 2020-04-08 18:01:51 +02:00
Seraphima Zykova
efb86f453c
Draw border inside zone (#2000) 2020-04-08 16:59:17 +03:00
stefansjfw
569c18c9f1
Remove uneeded TmpMigrateAppliedZoneSets() (#1850)
This was needed while we were migratin device-info so
active layout could be migrated as well. At some point
we dropped migration of device-info. Therefore, this has no
puprose anymore.
2020-04-08 15:43:19 +02:00
PrzemyslawTusinski
d95e49b535
Dragging by upper part of application bar doesn't trigger fancy zones display - fix (#1953)
* Dragging by upper part of application bar doesn't trigger fancy zones - fix

* reversed if logic
2020-04-08 15:12:04 +02:00
Niels Laute
4cb89b3fc2
FZ - Styling updates to GridZone and CanvasZone controls so they look more Fluent (#1778)
* Improved styling so it looks more Fluent and native to W10

* CanvasZone border is now using the active accent color

* Updated GridZone to a similiar Fluent styling as the CanvasZone. Added a mouseover state to the GridResizer.
2020-04-08 14:46:05 +02:00
ryanbodrug-microsoft
e6393c105b Removing x86,ARM,ARM64, build configurations, as these were added accidentally when adding xaml island support. 2020-04-07 20:25:16 -07:00
Alekhya Reddy
bb16313024 Modified the test, the connection need not be null after being disposed. There is no direct way of checking if an object has been disposed other than to throw the InvalidOperationException 2020-04-07 18:40:13 -07:00
Alekhya Reddy
a5ce2a5a62 Merging with master 2020-04-07 17:57:48 -07:00
Alekhya Reddy
3885cbd045 single thread execution of the indexer plugin and InvalidOperationException due to connection being closed on ExecuteReader, handled separately 2020-04-07 17:52:03 -07:00
Alekhya Reddy
00940d66b1 Downgraded the library to the latest stable version 2020-04-07 17:48:38 -07:00
ryanbodrug-microsoft
cafba71671 Removing 'Wox' branded logos from powerlauncher.csproj as was done previously or wox.csproj 2020-04-07 16:21:16 -07:00
Betsegaw (Beta) Tadele
cb454734b0
[Window Walker] Handle UWP process names (#1858)
* Fixed UWP app search

* Use new methods

* Updated comments
2020-04-07 15:22:17 -07:00
Arjun Balgovind
4f29f998c5
Fixed telemetry calls in Image Resizer (#1983) 2020-04-07 15:19:22 -07:00
vhanla
c241d48df3
Better app listing like Alt-Tab supports UWP apps and hidden apps running including in another Virtual Desktops (#1956)
* Better app listing like Alt-Tab supports UWP apps and hidden apps running in another virtual desktop just like Windows Alt-Tab

* Modified not to hide cloaked apps i.e. also show apps running in another virtual desktop

* Improved listing apps, with readability and reusable abstract properties.
Including a function to detect cloaked UWP apps for future use.
2020-04-07 15:02:14 -07:00
ryanbodrug-microsoft
94017c1e53 Update Powerlauncher nuget packages to be same version as wox.csproj. Note: FoxyWeavers.xsd change is automatically done as part of nuget package update. 2020-04-07 14:46:22 -07:00
Lavius Motileng
cea6b7067a added stylecop (#1933)
* added stylecop

* removed xml documentation

* used common stylecop file
2020-04-07 14:42:31 -07:00
Lavius Motileng
89b44f5126 User/lamotile/add powerrename settings (#1813)
* added powerrename settings

* removed pop-up message

* removed unused files

* revrted changes to old settings

* updated solution file

* added ToJsonString() method

* added JSON property for the powertoy name
2020-04-07 14:42:15 -07:00
Niels Laute
a84be2ba60 New settings pages (XAML) and improvements to ShellPage. Added more styles for typical margins and textblocks (#1735) 2020-04-07 14:42:14 -07:00
Lavius Motileng
4243feaf37 Added functionality for General Settings Page (#1664)
* archive

* formmated code

* reverted changes to test class file.

* reverted changes to test file: reverted name

* added class models and updated link

* removed test console project
2020-04-07 14:42:13 -07:00
ryanbodrug-microsoft
e004f96b65 Making Query internals visible to wox. 2020-04-07 14:41:33 -07:00
ryanbodrug-microsoft
a98cbc3a9d Removing update logic from PowerLuanch App.xaml.cs as was done in Wox project. 2020-04-07 14:39:12 -07:00
ryanbodrug-microsoft
5877918fe8 Making wox.csproj build wox assembly instead of powerlauncher 2020-04-07 14:37:09 -07:00
ryanbodrug-microsoft
b45b585edf Merging master into changes from launcherUI. Wox.Infrastructure assembly info I took the changes from both branches as they will be needed. This currently doesn't build I will make the changes to get it building atomically. 2020-04-07 14:33:45 -07:00
ryanbodrug-microsoft
983b2ebe0e
Merge pull request #62 from microsoft/user/ryanbod/cherry_pick_pinyin
Merge pull request #42 from microsoft/AddPinyinPerformance
2020-04-07 14:26:10 -07:00
Alekhya Reddy
c1b3686190 adding checks 2020-04-07 11:29:46 -07:00
Seraphima Zykova
5ff146bc69
KeePass window showing from tray (#1938) 2020-04-07 19:30:12 +03:00
Alekhya
9380a243ba
Merge pull request #61 from microsoft/removeWoxFiles
Removed the unnecessary wox files to clean up codebase
2020-04-07 09:14:56 -07:00
Alekhya Reddy
587291ab86 Removed .yml files 2020-04-07 09:14:17 -07:00
Alekhya
2cd62621df
Merge pull request #60 from microsoft/removeRedXProps
Remove red x props
2020-04-07 08:19:23 -07:00
Alekhya
3630fc63d7
Merge pull request #59 from microsoft/addUseWPF
Add <useWPF> tag to calculator and remove <useWindowsForms> from Indexer plugin
2020-04-07 08:18:07 -07:00
Seraphima Zykova
f5ed9f1c33
Editor: fixed zone offset scaling (#1876) 2020-04-07 12:03:57 +03:00
JordanAnthonyKing
01ec472314
Issue #1849: Fix for windows in the last zone being placed in the first zone when decreasing the zone count. (#1884) 2020-04-07 10:23:59 +02:00
Divyansh
9ddee84954 Title display working correctly 2020-04-06 18:01:59 -07:00
Divyansh
dc0715dc2a Rectyfying title display 2020-04-06 17:38:48 -07:00
Alekhya
b6b9fad5da Merge pull request #42 from microsoft/AddPinyinPerformance
Cherry picked pinyin performance changes from jjw24's master branch

(cherry picked from commit b9e437c6cd)
2020-04-06 16:42:27 -07:00
Divyansh
553922bef6 Added query submitted event to handle default action on clicking a list view item 2020-04-06 16:08:31 -07:00
Alekhya Reddy
4b08c0b56b To avoid DBNull to String typecast exception 2020-04-06 15:52:19 -07:00
Alekhya Reddy
ba081c7837 Renamed Wox.Launcher to Microsoft.Launcher 2020-04-06 15:48:58 -07:00
Alekhya Reddy
f4a2741ba0 Renamed Wox.Plugin.Indexer to Microsoft.Plugin.Indexer 2020-04-06 14:00:14 -07:00
Alekhya Reddy
e6b926c87f Removed the unnecessary wox files to clean up codebase 2020-04-06 13:35:45 -07:00
ryanbodrug-microsoft
4be1195e5d
Merge pull request #37 from microsoft/user/ryanbod/kill_powerlauncher_exe
Adding Directory.Build.targets for launcher
2020-04-06 13:21:28 -07:00
Alekhya Reddy
7b39bae673 Removed itemgrp from wox.core and wox.test csprojs 2020-04-06 11:26:32 -07:00
Alekhya Reddy
7c505fd02a Removed the item group for properties from indexer, program and shell plugin 2020-04-06 11:24:10 -07:00
Alekhya Reddy
11f7f9a231 Removed the item group for properties from folder plugin 2020-04-06 11:23:05 -07:00
Alekhya Reddy
4f1eedcf7c Removed the item group for properties from calculator plugin 2020-04-06 11:22:09 -07:00
Alekhya Reddy
99f85b800c Removed an unnecessary <useWindowsForms> tag 2020-04-06 11:02:32 -07:00
Alekhya Reddy
2e4f81f63d Added the <useWPF> tag to remove the warning 2020-04-06 11:02:05 -07:00
Divyansh
abbaca3c71 Updated functionality on suggestion chosen in autosuggestbox 2020-04-06 09:23:08 -07:00
Clint Rutkas
64b2a8d4a5
Merge branch 'master' into dev/crutkas/updatingNugetPackages 2020-04-04 12:04:49 -07:00
Clint Rutkas
2b550b104f
Merge pull request #46 from microsoft/dev/crutkas/removeUpdater
Removing Squirrel dll.  unsure on updating so i kept that logic in
2020-04-04 12:01:36 -07:00
ryanbodrug-microsoft
564e76956a
Merge pull request #26 from microsoft/user/ryanbod/removing_unnecessary_locks
User/ryanbod/removing unnecessary locks
2020-04-04 11:53:08 -07:00
Clint Rutkas
dd734c3c8a
Merge branch 'master' into dev/crutkas/updatingNugetPackages 2020-04-03 19:54:50 -07:00
Clint Rutkas
35e9091863 Removing Squirrel dll. unsure on updating so i kept that logic in 2020-04-03 17:30:33 -07:00
Alekhya
b9e437c6cd
Merge pull request #42 from microsoft/AddPinyinPerformance
Cherry picked pinyin performance changes from jjw24's master branch
2020-04-03 17:21:50 -07:00
Alekhya
de5f7f9b05
Merge pull request #29 from microsoft/portIndexer
Port indexer plugin to .NET Core
2020-04-03 17:08:02 -07:00
Clint Rutkas
44a9db1c2f adding two back in 2020-04-03 16:49:21 -07:00
Clint Rutkas
d7dc4bf496 updating references and removing a few that seem uneeded for how stuff is referenced 2020-04-03 16:37:59 -07:00
Divyansh
1a15a062ef Working up/down arrow key 2020-04-03 14:45:02 -07:00
Enrico Giordani
c3a98b265f
Add basic telemetry to WindowWalker (#1925) 2020-04-03 13:31:43 -07:00
Clint Rutkas
b92bcd1789 change nuget package to msft for winrt compat 2020-04-03 13:07:27 -07:00
Jeremy Wu
949e504ad5 Cherry picked pinyin performance changes from jjw24's master branch 2020-04-03 12:31:18 -07:00
Divyansh
293a8a8199 Working App execution 2020-04-03 12:02:57 -07:00
PrzemyslawTusinski
2806c386d3
fancyzones unity3d crash fix (#1914)
* fancyzones unity3d crash fix

* intelisence warning fix, and review issue fix

* Fix for review comment
2020-04-03 11:17:12 -07:00
Heiko
75f3a30d38
changed info text in search box (#1917)
I have changed the info text in search box to indicate the user also can search for windows.
2020-04-03 11:07:34 -07:00
udit3333
38d537bb8a
Fix preview handlers failing unit tests in CI (#1856)
* Enable Unit tests for PreviewPane Test Assemblies in CI

* Added Preview handlers unit tests project back

* throw for Svg to debug tests

* Removed failing test

* Removed throw statement

* Added MD unitests in yml

* Run ui tests on STA thread

* Throw svg to debug failing tests

* Updated test adaptor

* Removed failing test to validate CI

* throw svg failing test with full stack trace

* Check if mock stream is causing the issue

* narrow down the failing tests code - 1

* narrow down the failing tests code -2

* dispose all controls

* Restore SVg preview control

* Update test adaptor and dependency to latest
2020-04-03 08:12:12 -07:00
Divyansh
b6f927c454 Added callback function for mouse click on search result 2020-04-02 18:08:02 -07:00
Alekhya Reddy
57c616abfe Remove console print statement 2020-04-02 18:03:40 -07:00
Alekhya Reddy
ad6ca65d4b windows indexer plugin is working 2020-04-02 17:49:43 -07:00
Alekhya Reddy
38490195e3 Corrected the output path for the indexer plugin 2020-04-02 15:55:30 -07:00
Alekhya Reddy
6a43b8b159 copy resource files to output folder 2020-04-02 15:53:39 -07:00
Divyansh
d73ab36dc3 Optimised result binding by inserting search result from multiple plugin in parallel 2020-04-02 10:30:57 -07:00
Betsegaw (Beta) Tadele
5c01e0e852
Set focus on text box control on hotkey invoke (#1859) 2020-04-02 10:24:44 -07:00
Divyansh
5a13850043 Fixed issue with wpf marshalling events to a non UI thread 2020-04-02 10:10:36 -07:00
Geert van Horrik
96fbc968ef
Support device names with underscores (such as 'Default_Monitor') in JSONHelpers.isValidDeviceId (#1826)
* #1821 Support device names with underscores (such as 'Default_Monitor') in JSONHelpers.isValidDeviceId

* Make support for '#' in device names optional

* Add more unit tests for isValidDeviceId
2020-04-02 18:51:36 +02:00
Clint Rutkas
cf26a5da3d
Update README.md 2020-04-01 14:23:16 -07:00
Clint Rutkas
3e21758aac
Update README.md 2020-04-01 14:22:46 -07:00
Clint Rutkas
942799637e
Update README.md 2020-04-01 14:22:07 -07:00
Arjun Balgovind
2422ca0847
Added unlocalized english strings to all string tables in Image Resizer (#1844) 2020-04-01 11:44:15 -07:00
udit3333
94ccabd5ce
Update file explorer readme (#1780)
* Updated readme

* Updated readme for file explorer module and demo gif

* Updated figure description

* Fixed typo

* Moved the localizaton instruction to separate file

* Updated coding guidance readme
2020-04-01 08:26:19 -07:00
Betsegaw Tadele
b5f2c8b583
[Window Walker] Enable tabbing to scroll (#1814)
* Enable tabbing to scroll

* Also handle Shift + Tab
2020-04-01 06:09:37 -07:00
Seraphima Zykova
a6b7ba41ee
removed tests with unused scenario that slowdown CI (#1820) 2020-04-01 13:12:29 +03:00
Divyansh
ce2bf5ac53 Fixed exception preventing result display 2020-03-31 15:25:23 -07:00
ryanbodrug-microsoft
81eb7de665 Adding Directory.Build.targets file to kill the PowerLauncher pprocess on Build or Clean operations of all 'Launcher' projects. 2020-03-30 19:17:01 -07:00
Barbara Kudiess
c9fe2f649a Added binding on searchBox 2020-03-30 17:58:24 -07:00
Divyansh
6dd13e4939 Updated bindings for launcher 2020-03-30 16:27:26 -07:00
Divyansh
6cc00a5a0f changed x:bind to Binding to avoid reference 2020-03-30 15:52:20 -07:00
Brice Lambson
5661be3ebd
Clarify "fallback encoder" (#1788) 2020-03-30 15:35:44 -07:00
ryanbodrug-microsoft
73a7adea63 Using proper executable name when closing 'PowerLauncher' process 2020-03-30 09:34:58 -07:00
vldmr11080
3896384339
Set window walker overview link (#1772) 2020-03-28 19:58:39 +01:00
Clint Rutkas
3028e70a0f
fixes for WindowWalker (#1767)
* #1744, #1743, #1742

* disabling commands
2020-03-27 16:25:49 -07:00
Barbara Kudiess
64416aef2b Add main view model binding 2020-03-27 16:10:49 -07:00
Arjun Balgovind
e0340dadf4
tweaked image resizer strings (#1764) 2020-03-27 15:53:03 -07:00
Barbara Kudiess
83e0cdfa1e Add missing reference 2020-03-27 15:47:54 -07:00
Divyansh
22ed3c0ca5 Added assets and behaviours 2020-03-27 15:42:25 -07:00