Compare commits

..

2814 Commits

Author SHA1 Message Date
Divyansh Srivastava
79eda1681b Added fix to update text on navigation using up/down arrow (#4626)
* Added fix to update text on navigation using up/down arrow

* Fix incorrect alignment with ghost text

* Added tests
2020-07-06 09:40:10 +02:00
Arjun
1360359bba Changed flags for newly pressed key after invoking shortcut 2020-07-03 20:23:15 +02:00
Alekhya
1a10c1b4f9 Removed the race condition (#4735) 2020-07-03 19:36:18 +02:00
Arjun Balgovind
ae08b810bb Rework the HotkeyManager and KeyboardHook interop classes (#4710)
* Use GetAsyncKeyState calls and remove additional thread usage

* Removed Environment.Exit
2020-07-03 17:24:01 +02:00
Alekhya
2baaa1f20e Fix for Memory issue with context menu items (#4597)
* Added the inotifyPropertyChanged to all the properties and that stops the memory for shooting up

* some more inotify properties added

(cherry picked from commit 26fa05d9b661dadc5ab0257d540ab838a07c43a6)

* Revert "some more inotify properties added"

This reverts commit 845a94c9b2.

* Removed unnecessary inotifypropertychanged interfaces and cleaned up the code

* removed the ctrl+c from folder plugin

* removed unnecessary init

* Added unit test to check if PropertyChanged is called

* renamed var

* refactored the tests

* formatting and adding comments

* changed access modifier in test

* Used observable collection instead of a list

* clearing the observable collection instead of setting it to a new one
2020-07-02 22:55:19 +02:00
Yevhenii Holovachov
25f0ba19ca [FancyZones] Fixed shift behavior (#4653) 2020-07-02 15:38:25 +02:00
Enrico Giordani
32d873f41d Now working on 0.19.1 (#4602) 2020-07-02 15:37:57 +02:00
Clint Rutkas
772387a27a 0.19 readme update (#4583)
* Update README.md

* Update README.md

* Update README.md

* Update README.md
2020-06-30 18:39:13 +02:00
Arjun Balgovind
0dd17cc175 Cleanup null reference fix with correct code practice (#4587)
* Fixed null reference exception on context menu buttons

* Cleaned up fix with correct practices
2020-06-29 15:47:10 -07:00
Arjun Balgovind
16e56c4edb Fixed null reference exception on context menu buttons (#4586) 2020-06-29 13:47:35 -07:00
Yevhenii Holovachov
f46b876fd6 Removed hook creating from constructor (#4572) 2020-06-29 18:19:43 +03:00
Clint Rutkas
1181ab67ba fixing installer by removing file no longer used (#4545)
Co-authored-by: Clint Rutkas <crutkas@microsoft.com>
2020-06-27 11:10:50 -07:00
Niels Laute
014c26be25 Fix for visual glitch (#4537) 2020-06-27 09:39:02 -07:00
Divyansh Srivastava
99eb9429fd Add calculator images to MSI (#4530) 2020-06-26 23:01:15 -07:00
Divyansh Srivastava
d3b10d0d4d Theme aware plugin (#4499)
* Migrate theme manager to infrastructure and added it as input to public API instance

* Working event-delegate for PublicAPIInstance

* Theme aware UWP applications

* Theme aware program plugin

* Update query icon on theme change

* Theme aware calculator plugin

* Fix issue with query running before theme change

* Theme based changes in ImageLoader

* Removed ErrorIcon direct references and added references from ImageLoader

* Nit fixes

* Removed unnecessary TODO in UWP.cs

* Added preference to theme based icons

* Added IDisposable interfaces to unsubscribe events
2020-06-26 17:42:06 -07:00
Niels Laute
d9597d5ad5 [Run] Minor UX tweaks (#4526)
* Tweaked the shadows so it's conform to Windows standards. Fixed margins so UI elements are more aligned

* Fix
2020-06-26 16:12:26 -07:00
Arjun Balgovind
55272e5ea2 Fix settings issue where settings.json would get reset on runner startup (#4524)
* Added flag to avoid saving before modules is initialized

* Added comment
2020-06-26 14:46:47 -07:00
Alekhya
d17fc86fa4 [PT Run] Clear binary and json storage files on version upgrade (#4479)
* Clean termination of powertoys process.

* Fixed issue with run not responding to WM_CLOSE

* Fixed serialization error in pinyin and image cache

* Fixed merge conflict

* Fixed nit wrt to master

* Basic framework of clearing up of cache is working

* formatting

* removed the default argument of load

* fixed nit comment

* rewriting the PowerToys version

* Each storage file has an associated version file which helps decide whether or not to delete that file on loading

* removed unnecessary reference

* renamed file to StoragePowerToysVersionInfo

* adding log files

* Checking whether the version strings are null, if so, we would clear the cache

* Added filepath to log files to make it more informative

* fixed nit naming

* using lesser than to compare instead of portable version

Co-authored-by: Divyansh Srivastava <somm14divi@gmail.com>
2020-06-26 11:54:42 -07:00
Clint Rutkas
0b391584d4 Update README.md 2020-06-26 11:35:37 -07:00
Arjun Balgovind
e3e02aa30b Skip ErrorIcon and DefaultIcon while resizing the dictionary (#4520)
* Skip ErrorIcon and DefaultIcon while resizing the dictionary

* Removed autogenerated using statement
2020-06-26 11:30:04 -07:00
Arjun Balgovind
403f53a397 Fixed ghost text casing (#4498) 2020-06-26 10:29:34 -07:00
Alekhya
bfd79e1af2 reduced the description weight by half (#4519) 2020-06-26 10:20:54 -07:00
Alekhya
5745a984aa Partial Fix for Memory issue - Limiting the number of ImageSources cached (#4433)
* reducing storage of images

* Added task.run

* cleaned up code and added comments

* Renamed variable

* refactored code

* Removed task.run because it was leading to race conditions in the concurrent dictionary and it was taking only upto 10 ms for reordering the dictionary

* Added comments and fixed variable name
2020-06-26 10:20:35 -07:00
Enrico Giordani
d2f1f67a22 Update version to 0.19.0 (#4518) 2020-06-26 19:01:03 +02:00
Enrico Giordani
d98cb50d7a Update version to 0.19.0 (#4518) 2020-06-26 19:00:27 +02:00
Yevhenii Holovachov
cc4864976a Changed position of callback(false) call on disabling hook for shift (#4515) 2020-06-26 17:20:10 +03:00
Divyansh Srivastava
92fa8b7421 PowerToys Run cache issue (#4472)
* Clean termination of powertoys process.

* Fixed issue with run not responding to WM_CLOSE

* Fixed serialization error in pinyin and image cache

* Fixed merge conflict

* Fixed nit wrt to master

* Fixed undeterministic behaviour of Environment.Exit function

* Update timing for terminate process
2020-06-25 16:03:50 -07:00
Arjun Balgovind
aad2e8012b Add environment exit statement (#4496) 2020-06-25 14:21:09 -07:00
Enrico Giordani
b3eae80ece [CI, test] add prefix to common lib test dll (#4491) 2020-06-25 18:04:50 +02:00
Enrico Giordani
b58d5b6066 [CI, test] add common lib unit tests (#4489) 2020-06-25 16:20:43 +02:00
Arjun Balgovind
f1b6e6570c Fix remapping issues to Home/PgUp and other keys which are also present on NumPad (#4398)
* Added extended key flag to more keys

* Add test for extended key flag

* Move shlwapi.lib reference

* Added shcore ref

* Fixed pipeline incompatibility

* Fixed lib declaration in common

* Fixed formatting

* Remove unused statements

* removed another statement
2020-06-24 20:28:54 -07:00
Arjun Balgovind
8e758507b1 Enable code analysis on Keyboard Manager projects (#4455)
* Enable code analysis and fix GetTickCount warning

* Fix arithmetic casting warning
2020-06-24 14:55:02 -07:00
Arjun Balgovind
2601d8b702 Fix missing dlls in MSI for 0.19 (#4474)
* Add/remove missing dlls and add search.interop nuget package ref

* Fixed formatting
2020-06-24 14:48:16 -07:00
Yevhenii Holovachov
fa0545e4b3 Added info to ManagedCommon project (#4468) 2020-06-24 18:36:37 +03:00
Yevhenii Holovachov
690208fd4e Fixed info for powerrename, previewpane and shortcutguide (#4447) 2020-06-24 18:08:55 +03:00
Chakib Ljazouli
3272575f70 Dynamic dialog titles for Key/Shortcuts remapping (#4251)
* Fix typo in dialog title

* Pass Remap Keys/Shortcuts dialog titles as argument
2020-06-23 20:00:58 -07:00
ryanbodrug-microsoft
fad3142a47 Fix for warning: Error CA1806 BringProcessToForeground calls SendInput but does not use the HRESULT or error code that the method returns. This could lead to unexpected behavior in error conditions or low-resource situations. Use the result in a conditional statement, assign the result to a variable, or pass it as an argument to another method. PowerLauncher C:\Repos\PowerToys\src\modules\launcher\PowerLauncher\MainWindow.xaml.cs 73 Active 2020-06-23 17:51:17 -07:00
ryanbodrug-microsoft
1f74dcff14 Changing 'Any CPU' to 'x64' for Managed Common project. 2020-06-23 17:51:17 -07:00
ryanbodrug-microsoft
62c7183922 Setting 'Treat warnings as errors' to 'All' 2020-06-23 17:51:17 -07:00
ryanbodrug-microsoft
ef73b0a07f Setting treat warnings as errors to true for release as well. 2020-06-23 17:51:17 -07:00
ryanbodrug-microsoft
ec7d42d1fd Supressing NU1701 warning on known working nuget packages. This will allow us to turn warnings as errors on. 2020-06-23 17:51:17 -07:00
ryanbodrug-microsoft
256a17f2c9 Fixing:
Error CS0436 The type 'ActionKeywords' in 'C:\Repos\PowerToys\src\modules\launcher\PowerLauncher\ActionKeywords.xaml.cs' conflicts with the imported type 'ActionKeywords' in 'Wox, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'C:\Repos\PowerToys\src\modules\launcher\PowerLauncher\ActionKeywords.xaml.cs'. PowerLauncher C:\Repos\PowerToys\src\modules\launcher\PowerLauncher\ActionKeywords.xaml 7 Active
2020-06-23 17:51:17 -07:00
ryanbodrug-microsoft
165ffed9e6 Fix CA 1060 by moving PInvokes to a common NativeMethodsClass
Severity Code Description Project File Line Suppression State
Warning CA1060 Move pinvokes to native methods class PowerLauncher C:\Repos\PowerToys\src\modules\launcher\PowerLauncher\App.xaml.cs 24 Active
2020-06-23 17:51:17 -07:00
ryanbodrug-microsoft
b89d6d78ef Fix or the following warning. Removing unused ReportWindow from Launcher
Warning CA1812 ReportWindow is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it static (Shared in Visual Basic). PowerLauncher C:\Repos\PowerToys\src\modules\launcher\PowerLauncher\ReportWindow.xaml.cs 15 Active
2020-06-23 17:51:17 -07:00
ryanbodrug-microsoft
6890561723 Severity Code Description Project File Line Suppression State
Warning CA1307 The behavior of 'string.IndexOf(string)' could vary based on the current user's locale settings. Replace this call in 'PowerLauncher.MainWindow.ListView_FirstItem(string)' with a call to 'string.IndexOf(string, System.StringComparison)'. PowerLauncher C:\Repos\PowerToys\src\modules\launcher\PowerLauncher\MainWindow.xaml.cs 269 Active
2020-06-23 17:51:17 -07:00
ryanbodrug-microsoft
849ce04def Fix for Warning CA1823:
Severity Code Description Project File Line Suppression State
Warning CA1823 Unused field '_progressBarStoryboard'. PowerLauncher C:\Repos\PowerToys\src\modules\launcher\PowerLauncher\MainWindow.xaml.cs 27 Active
2020-06-23 17:51:17 -07:00
ryanbodrug-microsoft
a29baf19d0 Fix for:
Severity Code Description Project File Line Suppression State
Warning CA2007 Consider calling ConfigureAwait on the awaited task PowerLauncher C:\Repos\PowerToys\src\modules\launcher\PowerLauncher\MainWindow.xaml.cs 305 Active
2020-06-23 17:51:17 -07:00
ryanbodrug-microsoft
10d6a1fa54 Severity Code Description Project File Line Suppression State
Warning CA1801 Parameter text of method DelayedCheck is never used. Remove the parameter or use it in the method body. PowerLauncher C:\Repos\PowerToys\src\modules\launcher\PowerLauncher\MainWindow.xaml.cs 303 Active
2020-06-23 17:51:17 -07:00
ryanbodrug-microsoft
6ea181c286 Fix for:
Warning CA1820 Test for empty strings using 'string.Length' property or 'string.IsNullOrEmpty' method instead of an Equality check. PowerLauncher C:\Repos\PowerToys\src\modules\launcher\PowerLauncher\MainWindow.xaml.cs 291 Active
2020-06-23 17:51:17 -07:00
ryanbodrug-microsoft
2d890603c6 Fix for Warning CA1822 Member 'Hyperlink' does not access instance data and can be marked as static PowerLauncher C:\Repos\PowerToys\src\modules\launcher\PowerLauncher\ReportWindow.xaml.cs 45 Active 2020-06-23 17:51:17 -07:00
ryanbodrug-microsoft
d1ca30a28f Fix for Warning CA1822 Member 'GetHighContrastBaseType' does not access instance data and can be marked as static PowerLauncher C:\Repos\PowerToys\src\modules\launcher\PowerLauncher\ThemeManager.cs 65 Active 2020-06-23 17:51:17 -07:00
ryanbodrug-microsoft
35fccf8af8 Fix for Warning CA1031: Removing catch, as it doesn't recover from the exception, but hides the exception from showing up in crash reports / telemetry.
Warning CA1031 Modify '.ctor' to catch a more specific allowed exception type, or rethrow the exception. PowerLauncher C:\Repos\PowerToys\src\modules\launcher\PowerLauncher\SettingsWatcher.cs 33 Active
2020-06-23 17:51:17 -07:00
ryanbodrug-microsoft
f5baa56e05 Fix for CA1031.
Settings.json is locked by the settings application and throws a system IO Exception.   This should be syncronized with the settings application, but for now I'm just fixing the exception to be more specific and not hide unexpected exceptions.

System.IO.IOException: 'The process cannot access the file 'C:\Users\ryanbod\AppData\Local\Microsoft\PowerToys\PowerToys Run\settings.json' because it is being used by another process.'

Severity Code Description Project File Line Suppression State
Warning CA1031 Modify 'OverloadSettings' to catch a more specific allowed exception type, or rethrow the exception. PowerLauncher C:\Repos\PowerToys\src\modules\launcher\PowerLauncher\SettingsWatcher.cs 76 Active
2020-06-23 17:51:17 -07:00
ryanbodrug-microsoft
d2c1be5c2d Warning CA2002 Do not lock on objects with weak identity PowerLauncher C:\Repos\PowerToys\src\modules\launcher\PowerLauncher\SettingsWatcher.cs 43 Active 2020-06-23 17:51:17 -07:00
ryanbodrug-microsoft
fd6525a9de Fix for Warning CA1822 :
Severity Code Description Project File Line Suppression State
Warning CA1822 Member 'ConvertHotkey' does not access instance data and can be marked as static PowerLauncher C:\Repos\PowerToys\src\modules\launcher\PowerLauncher\SettingsWatcher.cs 85 Active
2020-06-23 17:51:17 -07:00
ryanbodrug-microsoft
ba03a134da Fix for CA1822:
Severity Code Description Project File Line Suppression State
Warning CA1822 Member 'WaitForPowerToysRunner' does not access instance data and can be marked as static PowerLauncher C:\Repos\PowerToys\src\modules\launcher\PowerLauncher\App.xaml.cs 130 Active
2020-06-23 17:51:17 -07:00
ryanbodrug-microsoft
9184c64ecb Fix for
Severity Code Description Project File Line Suppression State
Warning CA1401 P/Invoke method 'OpenProcess' should not be visible PowerLauncher C:\Repos\PowerToys\src\modules\launcher\PowerLauncher\App.xaml.cs 125 Active
2020-06-23 17:51:17 -07:00
ryanbodrug-microsoft
653a9664e4 Removing warnings relative to passing in unlocalized string literals. Most of these pertain to debug messages and aren't user facing. We may want to revisit localizing these later. 2020-06-23 17:51:17 -07:00
ryanbodrug-microsoft
51d0cedb29 Fix for:
Warning CA1806 Main calls TryParse but does not explicitly check whether the conversion succeeded. Either use the return value in a conditional statement or verify that the call site expects that the out argument will be set to the default value when the conversion fails. PowerLauncher C:\Repos\PowerToys\src\modules\launcher\PowerLauncher\App.xaml.cs 45 Active
2020-06-23 17:51:17 -07:00
ryanbodrug-microsoft
fa6d1bb23c Fix for:
Warning CA1062 In externally visible method 'void App.Main(string[] args)', validate parameter 'args' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. PowerLauncher C:\Repos\PowerToys\src\modules\launcher\PowerLauncher\App.xaml.cs
2020-06-23 17:51:17 -07:00
ryanbodrug-microsoft
0f3b154699 Fix for the following:
Warning CA1001 Type 'MainWindow' owns disposable field(s) '_firstDeleteTimer' but is not disposable PowerLauncher C:\Repos\PowerToys\src\modules\launcher\PowerLauncher\MainWindow.xaml.cs

    Warning CA1816 Change App.Dispose() to call GC.SuppressFinalize(object). This will prevent derived types that introduce a finalizer from needing to re-implement 'IDisposable' to call it. PowerLauncher C:\Repos\PowerToys\src\modules\launcher\PowerLauncher\App.xaml.cs
2020-06-23 17:51:17 -07:00
ryanbodrug-microsoft
d6e2b096ca Adding static analysis (Microsoft.CodeAnalysis.FxCopAnalyzers) to PowerLauncher Project 2020-06-23 17:51:17 -07:00
Arjun Balgovind
2104a1250e Added step to dispose the keyboard hook object (#4449) 2020-06-23 17:19:36 -07:00
Alekhya
ca99f60964 [PT Run] Find applications using the PATH env variable (#4418)
* Search for programs in the path env variable

* removing list of disabled programs

* Added env variable string to classify apps

* reverted the fullpath change

* removing full paths while calculating dups

* removed dups

* removed debugging code

* Renamed to run command

* Added condition to filter run commands unless there is an exact match

* renamed occurances to RUN COMMAND

* localized the subtitle - Run command

* Added tests

* add fullpath back to hash calculation

* renamed the function
2020-06-23 11:40:11 -07:00
Yevhenii Holovachov
147c08bd71 Added info to FancyZones, KeyboardManager and PowerLauncher projects (#4445) 2020-06-23 18:36:39 +03:00
Yevhenii Holovachov
ad440f70fa Added info to projects inside root, tests and common folders (#4413) 2020-06-23 16:53:16 +03:00
Yevhenii Holovachov
bb22155482 Added info to new settings projects (#4417) 2020-06-23 16:47:07 +03:00
Seraphima Zykova
5c1999b3d0 [Settings] 'Check for updates' button behavior changed (#4385) 2020-06-23 15:53:02 +03:00
Arjun Balgovind
87f0fcfd52 Added hack to show window if open (#4428) 2020-06-22 15:38:55 -07:00
Clint Rutkas
f6d53bc337 upgrade xaml based nuget packages (#4426)
* Settings packages updated

* removing WinUI references from wox base

* removing unneeded reference

Co-authored-by: Clint Rutkas <crutkas@microsoft.com>
2020-06-22 15:23:39 -07:00
Arjun Balgovind
720fad80c3 Fix Launcher focus for most cases (#4362)
* Add SendInput hack

* Cleaned up code

* Fixed formatting

* Moved Activate fn call

* Add more comments with link to issue
2020-06-22 14:47:33 -07:00
Divyansh Srivastava
196055e50e Index Desktop Applications (#4422)
* Added support to index desktop app

* Fixed dedup for url files

* Added internet shortcut scheme for epic games

* Added test for internet shortcut dedup

* Updated hostname for steam game
2020-06-22 12:34:57 -07:00
Andrey Nekrasov
73125574e6 MSI: fix include dirs causing MSI pre-build event fail to build (#4415) 2020-06-22 17:00:39 +03:00
Ivan Stošić
27a35a0388 Fixed an issue with the shift key (#4411) 2020-06-22 15:57:30 +02:00
Andrey Nekrasov
8c6085b933 Runner: move Launcher to its own folder and simplify dll loading (#4379) 2020-06-22 13:01:33 +03:00
Andrey Nekrasov
bef14f551e FancyZones: fix possible crash in GetWorkAreasByDesktopId (#4380) 2020-06-22 12:46:54 +03:00
Yevhenii Holovachov
e56c2eb6ca Fixed version property to pull from Version.props in C# projects (#4382) 2020-06-22 12:14:00 +03:00
Lavius Motileng
165365473f [Settings][Fix][Image Resizer ] Unused text box when selecting custom percent in new settings (#4344)
* save general settings to file upon launch

* ImageResizer: Added flags to disable and hide extra boxes

Co-authored-by: Lavius Motileng <laviusmotileng-ms>
2020-06-19 13:18:37 -07:00
Andrey Nekrasov
3bdd9a850f Runner: improve debugging experience with hooks (#4377)
* Runner: improve debugging experience with hooks
2020-06-19 14:13:38 +03:00
yuyoyuppe
b84ea020f2 fixup! forgot to rename 2020-06-19 13:27:29 +03:00
Seraphima Zykova
90efc5740f [WinAppDriver tests] Affection on user setting files fix (#4186) 2020-06-19 11:09:12 +03:00
Alekhya
c78e6588ad init description (#4391) 2020-06-18 17:15:21 -07:00
Divyansh Srivastava
a21a3827fd Remove hidden files from indexer results (#4325)
* Added functionality to not display hidden files

* Added interfaces for seperating db layer

* Updated variable naming and refactored Database connection class

* Added tests for WindowsSearchAPI class

* Fixed nit with braces

* Added function to test that all connections from database are closed
2020-06-18 15:42:28 -07:00
yuyoyuppe
2effbd0baf Runner: improve debugging experience with hooks 2020-06-18 14:27:20 +03:00
Andrey Nekrasov
7ed03c8b90 Runner: autoupdate should prefer .exe installer instead of .msi (#4216) 2020-06-18 13:43:09 +03:00
Niels Laute
59ce90e924 [PowerToys Run] Vertical scrollbar for results list (#4343)
* Enabling vertical scrollbar and colors

* Extending the list under the scrollbar

* Fix
2020-06-17 09:48:30 -07:00
Yevhenii Holovachov
da38e6a23d [FancyZones] Changed Shift key capture method (#4274)
* Used windows hook to capture shift key instead of getting state of key on window move
2020-06-17 16:06:16 +03:00
vldmr11080
698e5ec6ea [FancyZones] Move window into last known position on active work area (if possible) (#4218)
* Move window into last known position on active work area (if possible)

* Refactor code to avoid double checks

* Address PR comments

* Perform all HWND checks at one place

* Improve handling of active/primary work area in app zone history

* Address PR comments: naming, arguments checks

* Rename some functions to increase readability

* Implement special handling in 2+ monitor scenario

* Minor naming change

* Simplify

* Improve readability

* Remove blank line

* Don't move away from secondary monitor if there is no app zone history

* Update comment

* FancyZonesEditor should not be zoned

* Preserve width and height (if possible) when opening on active monitor

* Maintain w/h whenever possible

* Remove scaling, add window coordinates on active monitor top-left corner

* If there is no app zone history on secondary screen, fallback to default windows behavior.
2020-06-17 11:55:14 +02:00
ryanbodrug-microsoft
7f25e3ba97 Allowing launcher to be run as startup project with no command line args (#4267) 2020-06-16 10:53:27 -07:00
Clint Rutkas
1a3500cad3 moving the editor config out the the root folder (#4289)
Co-authored-by: Clint Rutkas <crutkas@microsoft.com>
2020-06-16 08:59:38 -07:00
stefansjfw
31c30a7602 Apply general settings on runner startup (#4302) 2020-06-16 10:55:15 +02:00
Mehmet Murat Akburak
014f3b9873 [PowerRename] capturing groups fix (#4181)
* Fix capturing group bug when Match All Occurrences is not checked

* Capture groups are now available when Match All Occurences option is not selected

* Bug fix when capture group is indicated with leading zeros. $01 should be considered as $1 etc

* Use flags in regex_replace() when Match All Occurences is not selected

Now the behaviour is consistent with how regex works when Match All Occurences is selected.
2020-06-16 11:04:14 +03:00
Arjun Balgovind
49cbcf01c6 Add workaround for IME Caps Lock issue (#4123)
* Add workaround for Japanese IME Caps Lock issue

* Changed tweak to reset modifier key rather than Caps Lock

* added tests

* Fixed test comment

* Moved environment initialization in KBM tests to TEST_METHOD_INITIALIZE
2020-06-15 16:48:00 -07:00
stefansjfw
f8cc129f04 [FancyZones] Move Trace::VirtualDesktopChange (#4320)
* Move Trace::VirtualDesktopChange to catch only the actual VD changes

* Update the check

* Add double check
2020-06-15 19:44:07 +02:00
Alekhya
236c1208e6 PWAs should not show up when searching for the main app (#4221)
* Search shows up steam games

* Formatting

* Filtering only those steam shortcuts which run an application

* Using equals instead of ==

* PWAs should not show up when searching for the main app

* Modified the subtitle to say progressive web application

* renamed to web application

* To search for web applications for all chromium based browsers

* Renamed it to WebApplication

* Added unit tests and refactored code

* made string global const

* Added localization tags

* Added a separate function for localization as the IPublic API was not available to all

* Removed unnecessary references and variables

* Update src/modules/launcher/Plugins/Microsoft.Plugin.Program/Languages/de.xaml

Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com>

* Added enum for application types

Co-authored-by: htcfreek <61519853+htcfreek@users.noreply.github.com>
2020-06-12 13:11:24 -07:00
Davide Giacometti
4c70e75bfc fix launcher network path (#4224) 2020-06-12 11:42:31 -07:00
pekspro
e8c5f3a882 Fixes null reference exception. (#3436) 2020-06-12 11:42:13 -07:00
Divyansh Srivastava
302df56ee1 Added support to run apps in development mode (#4217) 2020-06-11 18:24:45 -07:00
chrisgch
ccfc4d68f3 Setting WS_CHILD on preview handler (#3048) 2020-06-11 15:32:35 -07:00
Arjun Balgovind
071ea1dc97 KBM - Set up tests for keyboard hook remapping logic (#4004)
* Add test proj, refactor proj with filters, and move single remap function to a separate header

* Moved all methods to header files

* remove more unused commented code

* Reverted sln file

* Fixed sln file

* Added interface wrapping SendInput calls

* fixed formatting

* Created test mock class

* Added keyboard input logic

* Fixed compilation errors and added nuget reference to CppWinRT

* Added tests for single key remapping

* Refactored code for adding shortcut remap tests

* Separated test classes

* Fixed tests in release mode

* Added more tests

* Resolved comments
2020-06-11 13:07:46 -07:00
Tomas Agustin Raies
670033c4da [Settings/Run] LowLevel Keyboard hooking for Hotkeys (#3825)
* [Launcher/Settings] Low Level Keyboard Hooks

* [Run] LowLevel Keyboard Hook for Hotkeys

* Prevent shortcuts from auto repeating when keeping the keys pressed down
2020-06-11 12:59:36 -07:00
Arjun Balgovind
fa7e4cc817 Tweaked OS Detection project structure and added os check for PT Run (#4253)
* Tweaked OS Detection project structure and added check in Launcher

* Reverted formatter change to minimize diff
2020-06-11 11:47:15 -07:00
Clint Rutkas
67c8d80190 Safeguarding end user links in settings (#4226)
* first adjustment to wiki move

* Image Resizer and deleting imgs for FZ

* updating stuff to aka links

* updating app to leverage aka links

* moving files to wiki

* KBM adjustment

* updating

* getting PT Run moved over

* Shortcut guide and fixing launcher's readme text

* Update README.md

* img for shortcut guide moved to wiki

* updated setting img to be aka link as well
2020-06-11 10:16:39 -07:00
vldmr11080
792ce53992 Fix invalid namespace (#4259) 2020-06-11 17:03:02 +02:00
vldmr11080
b0a25f59d9 [Installer] Restart explorer.exe programatically after successful update (#4215)
* Restart explorer.exe programatically after successful update

* Move RestartManager related code into common

* Add newline at the end of files

* Note that explorer.exe should not be localized string
2020-06-11 10:09:06 +02:00
Niels Laute
d76234c112 [PT Run] Updated themes (dark/light/highcontrast) (#4119)
* Updated themes (dark/light/highcontrast)

* Updated semi-transparent colors to opague colors (for ClearType)

* Added theme brushes (light/dark/high contrast) for scrollbar.
2020-06-10 11:15:15 -07:00
Yevhenii Holovachov
6fdfd3b9e7 [PT Run] Closing PT Run and new settings app when PowerToys is not running (#3853)
Closing PowerLauncher, FZ Editor and new settings app when PowerToys is not running
2020-06-10 20:58:34 +03:00
dependabot[bot]
38350a1ae4 Bump websocket-extensions from 0.1.3 to 0.1.4 in /src/settings-web (#4108)
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-10 19:36:53 +02:00
Alekhya
ce2bba751c Fix for Steam games not showing up (#4124)
* Search shows up steam games

* Formatting

* Filtering only those steam shortcuts which run an application

* Using equals instead of ==

* Case change in Internet shortcut
2020-06-10 10:34:48 -07:00
Arjun Balgovind
f149736a20 Add additional shortcut validation logic in Remap Shortcuts UI (#4068)
* Add more validation logic for shortcut remaps UI

* Fixed a bug in CheckRepeatedModifier logic
2020-06-10 08:25:41 -07:00
Alekhya
40330be123 Added case insensitive hash code calculation (#4206) 2020-06-09 14:12:53 -07:00
Divyansh Srivastava
93af4fc6b0 Fixed initial focus on WPF issue (#4113)
* Fixed initial focus on WPF issue

* Added comment for property change

* Updated function naming for visibility callback
2020-06-09 09:16:20 -07:00
Josh Soref
b574d4e388 Spelling - remaining code changes (#3963)
* spelling: commit

* spelling: exclusion

* spelling: initial

* spelling: occurred

* spelling: programmatically

* spelling: should

* spelling: successfully

* spelling: committed

* spelling: directly
2020-06-09 10:11:02 +02:00
Ivan Stošić
eb4b429e19 [Action runner] Support running generic targets as non-elevated (#3863)
* Initial work, not tested

* Forgot the most important part

* Use target argument instead of hardcoded string

* Removed old way of running Launcher

* Completed rebase, updated some code
2020-06-08 22:53:40 +02:00
Josh Soref
21929b1db2 Spelling misc (#4199)
* spelling: accessibility

* spelling: occurrences
2020-06-08 22:43:59 +02:00
Clint Rutkas
a5197ee039 making alt-f4 ignored (#4023) 2020-06-08 13:18:42 -07:00
Clint Rutkas
e974981725 Update community.md 2020-06-05 15:46:52 -07:00
Niels Laute
9ae4dd3dfe Updated the PT Run icon to #4041 (#4114) 2020-06-05 15:45:18 -07:00
Alekhya
d0e4dabe90 Fix for UWP icons not showing up (#4008)
* Added fix for UWP icons not showing up

* updated comment and reversed the list of target sizes

* find the icon closest in size to the appIcon size

* Remove nlog reference that was added by mistake
2020-06-05 15:05:00 -07:00
Clint Rutkas
a3c569137e Getting system up and going instructions (#4013)
* Update readme.md

* Update readme.md

* Update readme.md

* adjusted based off Raf's comments

* Update readme.md
2020-06-05 14:21:06 -07:00
Arjun Balgovind
3edb360d79 Fix remapping from Num Lock (#4083)
* Added num lock remap workaround

* Added comments

* Changed to 2 suppressed key events

* Fixed typos
2020-06-05 12:54:52 -07:00
Arjun Balgovind
f5285b48b1 Fix remapping to Alt+Tab/Win+Space style shortcuts (#3965)
* Add skip to currently invoked shortcut code - should change no behavior

* Fixed Alt tab issue

* Added comment

* Added step to check if original shortcut action key should be pressed

* Fix number of cases in comment
2020-06-05 11:39:38 -07:00
Alekhya
c01b76e098 Fix for PWAs and command prompt not showing up as the first result (#4020)
* Added code which increments the score for the app without any arguments

* Removed magic number and added var
2020-06-05 11:34:16 -07:00
Divyansh Srivastava
6adb47c447 Theming for powertoys run (#4007)
* Removed Wox Theme Manager

* Added Light and dark theme and template for high contrast theme

* Updated themeManager to remove strings

* Fixed issue with high contrast theme not being applied

* Fixed formatting

* Updated MSI to include dll for Mahapps and controlzex

* Added support for multiple high contrast themes
2020-06-05 09:58:30 -07:00
vldmr11080
b0b2d3a727 [FancyZones] App zone history on multiple desktops (#3932)
* Remove app zone history belonging to deleted virtual desktop.

* Implement support fancy zones app zone history on multiple desktops.

* Break when device id is located to avoid unnecessary loop iterations.

* Fix failing unit tests after JSONHelpers API changes.

* Use valid UUIDs in json helper unit tests.

* User properly formated test data in app zone history unit tests.

* Don't delete entire app history when moving out of zone on one desktop.
2020-06-05 17:25:52 +02:00
Yevhenii Holovachov
8410d7b08e [FancyZones] Secondary mouse buttons click to toggle zones activation (#3989)
* Changed option name in settings, changed behaviour of zones activation by mouse to switch
* Removed IsDragEnabled from ZoneWindow
2020-06-05 17:53:08 +03:00
Enrico Giordani
e6408a0c37 [runner] Change way of dropping privileges to start PT Run 2020-06-05 10:35:11 +02:00
Seraphima Zykova
e96c82b171 Uniform style for button designations in settings (#4070) 2020-06-05 09:51:09 +03:00
Enrico Giordani
ee31813a0d Now working on 0.18.3 2020-06-05 07:27:45 +02:00
Lavius Motileng
ac62fd6204 added error handling for FZ Hotkeys (#4057)
* added error handling for FZ Hotkeys

* moved hint to hot key control text

* updated icon size 16px

* updated styling and fixed typos

* fixed typo

* moved text to string resource

Co-authored-by: Lavius Motileng <laviusmotileng-ms>
2020-06-04 14:52:04 -07:00
Clint Rutkas
25fbcc144c Update README.md
tweaking to 18.2
2020-06-04 11:18:41 -07:00
Lavius Motileng
30cb7e62fd removed restrictions for image-resizer file format (#3377) 2020-06-04 11:05:28 -07:00
smiley
7c7ccc3a07 [PowerToys Run] Add "ignore hotkeys in fullscreen" setting (#3262) (#3604)
Connect Wox's existing "ignore hotkeys in fullscreen mode" setting to PowerLauncher and the PowerToys settings UI.

This allows PowerLauncher to ignore hotkeys if any application is currently in fullscreen mode, whether it's real exclusive fullscreen or borderless windowed mode. This applies to things like fullscreen games, video and presentations but not maximized windows.
2020-06-04 10:21:16 -07:00
vldmr11080
fb3f4fa0a8 Connect appZoneHistory settings with rest of the stack in settings v2 (#4047) 2020-06-04 14:33:03 +02:00
stefansjfw
2b62244806 Cleanup Editor cmd args (#4022) 2020-06-04 13:01:42 +02:00
stefansjfw
f5dc197e8b [example_powertoy] Remove example_powertoy (#3955)
* Remove example_powertoy

* Address PR comments
2020-06-04 12:28:30 +02:00
Josh Soref
e6060048bd spelling: restart 2020-06-04 11:38:21 +02:00
Clint Rutkas
f83ff068ae Update README.md 2020-06-03 16:03:36 -07:00
Clint Rutkas
b21a6b76e0 Expanding 'community' section (#4028)
* updating for #3977

* spelling
2020-06-03 15:28:59 -07:00
Arjun Balgovind
70527022d9 Moved component to KBM directory (#4009) 2020-06-03 10:41:35 -07:00
Alekhya
8cddd595d4 Fix for File explorer not showing up and multiple notepads (#3969)
* reverted the dedup code, file explorer shows up but so do duplicates

* Fixed file explorer and dedup

* Formatting

* Added tests for all the cases

* Formatting

* Tests

* take name and exe into consideration while calculating hash

* unique primes while calculating hash code
2020-06-02 14:36:32 -07:00
Niels Laute
96b79d5f06 Fabric UI reference update (#3991)
Microsoft changed the name of Fabric UI to Fluent UI. Updated title and URL (which still links to the same page, just with a direct link instead of a redirect).
2020-06-02 12:04:58 -07:00
vldmr11080
1c7b07d614 Remove workarounds related to 0000 dekstop GUID. (#3931) 2020-06-02 12:06:36 +02:00
Niels Laute
0d59de5767 Fixed spacing issue 2020-06-02 11:26:58 +02:00
Niels Laute
e3613c54e9 'Autocomplete' is more common than 'autocompletion' 2020-06-02 11:26:58 +02:00
Niels Laute
5956e6d9c1 Updated strings for PowerRename 2020-06-02 11:26:58 +02:00
Niels Laute
ec895f271b Page header is now center aligned with first item, similiar to W10 Settings 2020-06-02 11:26:58 +02:00
Niels Laute
751f30e316 Changed numberbox to slider for FZ. Added opacity value textblock for all sliders 2020-06-02 11:26:58 +02:00
Niels Laute
cee8253cd3 Fixed width for controls so they are nicely aligned 2020-06-02 11:26:58 +02:00
stefansjfw
ae4cb6e372 Move FancyZones to separate build&install dir (#3961) 2020-06-02 10:48:07 +02:00
Arjun
398f976f3e Added KeyboardManager directory 2020-06-02 10:26:21 +02:00
Clint Rutkas
5f049beb04 Update pipeline.user.windows.yml 2020-06-01 16:10:34 -07:00
Alekhya
a8d67a1c60 Take space into consideration while calculating the first matched index (#3874) 2020-06-01 15:25:14 -07:00
Clint Rutkas
26aa9727a1 Update pipeline.user.windows.yml 2020-06-01 15:21:38 -07:00
Clint Rutkas
3cef696a65 Update pipeline.user.windows.yml 2020-06-01 13:54:12 -07:00
Divyansh Srivastava
397b1533f0 Somil55/merge wpf to master (#3840)
* Basic WPF searchbox working

* Updated key navigation and removed coldstart for searhbox

* refactored and added code back in commented

* Removed XAML Island references

* Basic searchbox+listview working

* Getting a bit more back

* got color there

* Result list bit better now

* Added image loader for WPF Image

* Partially got the context menus rendering again

* adjusting coldstart to load, control will load with main form

* getting context menus back

* mouse over works now

* Click now works, started to remove Win.XAML references

* being a bit more forcusful on focus

* Shadow text is not aligned

* fixing focus if listbox was used

* small tweak to fix shadow text

* inputs don't work but gotta figure out why.  commenting out

* preview text

* adding back in delay

* fixed height issue

* Applied the correct context button styles

* Created custom ItemContainerStyle to fix the blue highlights behind the command buttons

* Applied the correct highlight / mouseover styling

* Removed vertical scrollbar in listview

* fixed for alt-space prompt

* Fixed right click focus issue

* Somil55/wpf modifier keys (#3378)

* Removed DPI change as it was not required

* Global key hooks for context menu items

* Updated Key for shell, folder and indexer plugin

* Updated key mapping for indexer plugin

* Somil55/wpf context menu selection (#3389)

* Removed DPI change as it was not required

* Global key hooks for context menu items

* Updated Key for shell, folder and indexer plugin

* Updated key mapping for indexer plugin

* Add trigger to selection on tabbing

* Minor shadow adjustments so its more similiar to default shell shadow. Added intro/outro animations

* Added UWP-like scrollbar style for the results list

* Fixed formating and naming

* Removed Powerlauncher UI project

* Update PowerToys.sln

* Commented out scrollbar and fade in/out animations

* Added missing features from UWP branch

* Fixed formatting for Product.wxs

* Add dragging to WPF window

Co-authored-by: Clint Rutkas <clint@rutkas.com>
Co-authored-by: Niels Laute <niels.laute@live.nl>
2020-06-01 12:35:37 -07:00
Clint Rutkas
5680a34ec1 Update pipeline.user.windows.yml 2020-06-01 10:26:10 -07:00
stefansjfw
84a197299f [KeyboardManager&Installer] Move Keyboard Manager to separat build&install folder (#3949)
* Move Keyboard Manager to separat build&install folder

* Update pipeline
2020-06-01 18:29:40 +02:00
Clint Rutkas
4307882fa8 Update pipeline.user.windows.yml 2020-06-01 09:01:44 -07:00
Alekhya
d2dfbff832 Add resource only when it is not already present (#3842) 2020-06-01 08:17:28 -07:00
stefansjfw
8cc58d0b89 Move ImageResizer to separate folder (#3868) 2020-06-01 17:07:06 +02:00
Clint Rutkas
971fc462ab Update pipeline.user.windows.yml 2020-06-01 07:44:19 -07:00
Ivan Stošić
8d2256d359 Removed the stampZone argument (#3852) 2020-06-01 16:14:29 +02:00
Enrico Giordani
8f3b863edd [PowerRename] fix for documentation (#3952) 2020-06-01 14:05:52 +02:00
Clint Rutkas
4cc6c5ec35 Update pipeline.user.windows.yml 2020-05-31 22:19:50 -07:00
Clint Rutkas
cf53614721 Update pipeline.user.windows.yml 2020-05-31 21:05:02 -07:00
Clint Rutkas
efe84e58d7 Update pipeline.user.windows.yml 2020-05-31 15:45:35 -07:00
Clint Rutkas
cf59ad76fb Update pipeline.user.windows.yml 2020-05-31 10:16:51 -07:00
vldmr11080
2216cda2f1 [FancyZones] Improve monitor work area handling (#3418)
* Initial design for improving handling of different engaged work areas in fancyzones.

* Remove active device id check in ZoneWindow.

* Remove concept of active device identifier in JSONHelpers.

* Refactor interface description and add new method.

* Simplify ZoneWindow initialization.

* Default value for active ZoneWindow during move/size.

* Add newline at the end of file.

* Use COM pointers for ZoneWindow instead of passing raw ptr.

* Solve few issues after merging with master.

* Fix typo in documentation.
2020-05-31 12:36:45 +02:00
Clint Rutkas
595b15fcd9 Update pipeline.user.windows.yml 2020-05-29 20:57:17 -07:00
Clint Rutkas
a104c7f0f8 Update pipeline.user.windows.yml 2020-05-29 20:49:54 -07:00
Clint Rutkas
059392d257 Update pipeline.user.windows.yml 2020-05-29 20:46:47 -07:00
Clint Rutkas
5a1b3da394 Update pipeline.user.windows.yml 2020-05-29 20:42:43 -07:00
htcfreek
92d7c2926c [Settings] Change settings header to "Remap keys" on KBM pagr (#3654)
* Update settings header: Remap keys

We write "Remap Keyboard" but it must be "Remap keys" because we not remapping the whole keyboard. We only remap single keys.

* Tweaked c++ side naming

Co-authored-by: Arjun <arjunbalgovind@gmail.com>
2020-05-29 12:01:29 -07:00
Enrico Giordani
8f39697e3d [CDPx] publish symbols (#3864) 2020-05-29 17:28:57 +02:00
stefansjfw
ff328381af [FancyZones] Custom canvas layouts scaling (#3644)
* Make canvas layout scaling sensitive

* Revert "Make canvas layout scaling sensitive"

This reverts commit 705dab7e36.

* Revert "Revert "Make canvas layout scaling sensitive""

This reverts commit b9dd27644c.

* Cleanup

* Minor refactoring

* Address PR comments
2020-05-29 09:38:29 +02:00
Arjun Balgovind
3bb3c06456 KBM - Set treat warnings as errors, and clean up the dllmain.cpp file (#3203)
* Add test proj, refactor proj with filters, and move single remap function to a separate header

* Moved all methods to header files

* remove more unused commented code

* Undo test project addition

* Treat warnings as errors
2020-05-28 14:47:32 -07:00
vldmr11080
1cbcd41b17 [PowerRename] Move PowerRename module installation into separate folder (#3821)
* Move PowerRename module installation into separate folder.

* Update build pipeline.

* Correct order between modules.
2020-05-28 16:53:16 +02:00
stefansjfw
5ebd9eb577 [ShortcutGuide&Installer] Move Shortcut Guide to separate build and install folder (#3810)
* Move Shortcut Guide to separate build and install folder

* Rename shortcut_guide to ShortcutGuide

* Propagate change to the pipeline
2020-05-28 16:23:03 +02:00
Clint Rutkas
850d9ee095 Update README.md 2020-05-27 20:39:06 -07:00
Seraphima Zykova
5db1f91b01 [FancyZones] Unit-tests fix: keeping user settings unchanged (#3500) 2020-05-27 21:09:18 +03:00
Josh Soref
ac6b9712ad Spelling: ... shortcut guide (#3790)
* spelling: dimension

* spelling: hidden

* spelling: miniature

* spelling: parent

* spelling: popin

* spelling: signal

* spelling: suppress
2020-05-27 19:57:19 +02:00
stefansjfw
df93f4ba99 Use correct resource for Shourtcut Guide theme setting (#3788) 2020-05-27 19:45:21 +02:00
Clint Rutkas
7c20d46eeb Update README.md 2020-05-27 09:59:04 -07:00
Clint Rutkas
fe432fcca8 Update README.md 2020-05-27 09:53:41 -07:00
Clint Rutkas
5b1638ea59 Update README.md 2020-05-27 09:52:08 -07:00
htcfreek
87a1d4088b [Readme.md] Adding an uninstall hint (#3522)
* Adding Uninstall instaructions to ReadMe

* Fixed issue link

* Move "uninstall hint" link

* Did requested changes

Remove hand emoji, move link and fix text mistakes.
2020-05-27 09:48:54 -07:00
Josh Soref
038c346500 spelling: calculator (#3750) 2020-05-27 08:22:18 -07:00
Josh Soref
0bcaa13056 Spelling: ... runner settings (#3783)
* spelling: default

* spelling: elevated

* spelling: instance

* spelling: relative
2020-05-27 17:06:50 +02:00
Josh Soref
c0e62372e6 Spelling: ... core (#3782)
* spelling: administrator

* spelling: appearance

* spelling: expected

* spelling: explorer

* spelling: implementation

* spelling: integration

* spelling: successful

* spelling: windows
2020-05-27 08:06:17 -07:00
Josh Soref
84169cce10 Spelling: ... wox (#3775)
* spelling: arguments

* spelling: config

* spelling: deactivated

* spelling: exception

* spelling: folder

* spelling: initialize

* spelling: makesure

* spelling: response

* spelling: storage

* spelling: visibility

* spelling: serialized

* spelling: zipped
2020-05-27 08:05:54 -07:00
Josh Soref
c2c163ac4e Spelling: ... common (#3781)
* spelling: alignment

* spelling: awareness

* spelling: background

* spelling: bottom

* spelling: buttons

* spelling: comparison

* spelling: cortana

* spelling: exiting

* spelling: initialization

* spelling: middle

* spelling: properly

* spelling: succeeded

* spelling: unknown
2020-05-27 16:58:47 +02:00
Josh Soref
ecb5d2ae1c Spelling: ... fancyzones (#3777)
* spelling: defined

* spelling: excluded

* spelling: guid

* spelling: highlight

* spelling: original

* spelling: nonexistent
2020-05-27 16:55:46 +02:00
PrzemyslawTusinski
3d619f1670 [FancyZones] Outlook new message restore placement bug (#2534) 2020-05-27 16:52:59 +02:00
Josh Soref
3265549911 spelling: separator (#3751) 2020-05-26 18:10:58 -07:00
Sam Chivers
d5c3a3e5e8 Update README.md (#3753)
After reading the rest of the paragraph, I believe the intention was for this to read "This project welcomes contributions of all types" rather than "This project welcomes contributions of all times" or "..at all times"
2020-05-26 14:33:04 -07:00
Josh Soref
30dff09d7e spelling: toggle (#3749) 2020-05-26 20:12:20 +02:00
Clint Rutkas
85f7d19eb2 upgrade to cppwinrt after the last merge conflict (#3745) 2020-05-26 10:53:46 -07:00
vldmr11080
6adda5c29c [FancyZones] Remove "keep windows pinned to virtual desktop location" settings (#3687) 2020-05-26 17:06:12 +02:00
Josh Soref
4a03756b5b Spelling: ... (#3398) 2020-05-26 17:02:36 +02:00
Josh Soref
b1554ebf37 Spelling: ... src/modules (#3712) 2020-05-26 16:56:25 +02:00
Clint Rutkas
b6307b4fd6 Nuget updates (#3683)
* Sync'ing nuget packages. more to do

JSON, islands

* updating sql and oledb

* upgrading to 2.0 RTM for MahApps

* consolidated Microsoft.NETCore.UniversalWindowsPlatform

* updating Microsoft.Windows.ImplementationLibrary

* Microsoft.Windows.SDK.Contracts
2020-05-26 07:42:04 -07:00
Ivan Stošić
6f22c7ad19 [FancyZones] Added persistence to app zone history (#3132)
* Persist app zone history in a separate file

* Almost ready to be functionally tested

* Now all unit tests pass

* Bug fixes, it seems to work

* Various fixups

* Improved performance of FancyZones::UpdateWindowsPositions()
2020-05-26 16:01:12 +02:00
Andrey Nekrasov
bc9add783c sln: specify WinSDK version for cpp projects (#3728) 2020-05-26 17:00:09 +03:00
Niels Laute
ee67221068 [Settings] About section headers are now on a single line in collapsed mode (#3696)
* About section headers are now on a single line in collapsed mode

* Removed the more button, since the colorpickers are now in flyouts anyways
2020-05-26 09:34:14 +02:00
Josh Soref
71e528139c Spelling: ... src/modules/launcher (#3694) 2020-05-25 17:27:13 -07:00
Clint Rutkas
c674fe1f04 Migrate numberboxes to compact mode (#3375) 2020-05-25 08:58:29 -07:00
Niels Laute
d047e95bb5 [Settings] UX improvements to the FancyZones config page (#3658) 2020-05-25 11:47:32 +02:00
stefansjfw
791518d6c4 Don't migrate custom layout if type is invalid (#3645) 2020-05-25 10:59:05 +02:00
Niels Laute
83afd55e0e Updated titles (#3464) 2020-05-25 10:45:27 +02:00
vldmr11080
7870a66790 [FancyZones] Snap out of maximized window into zones with win + left/right arrow (#3097)
* Snap out of maximized window into zones with win + left/right arrow.

* Determine if there is anything to process before swallowing keypress.
2020-05-25 10:15:42 +02:00
Andrey Nekrasov
c923e96f3e sln: do not use PCH on CI (#3106) 2020-05-25 10:59:05 +03:00
Andrey Nekrasov
dd79834137 CI: remove unnecessary build commands (#3300) 2020-05-25 10:56:44 +03:00
Enrico Giordani
8995f0af55 Now working on 0.18.2 (#3542) 2020-05-22 20:28:49 +02:00
Clint Rutkas
e75a74565b Update README.md 2020-05-22 10:21:43 -07:00
vldmr11080
1792849b98 Expose InMoveSize from WindowMoveHandler. (#3525) 2020-05-22 16:42:29 +02:00
ricardosantos9521
c7fb1f6d17 bug fix #3209 (#3457)
Co-authored-by: ricar <ricar@ASUS>
2020-05-21 11:02:03 -07:00
Enrico Giordani
a856263081 [PowerToys Run] run non-elevated when runner is elevated (#3451)
* run Launcher non-elevated

* Implemented acquiring PID of Launcher

Co-authored-by: ivan100sic <ivan100sic@gmail.com>
2020-05-21 19:44:32 +02:00
Ivan Stošić
582d1320a3 [KBM] Fix compilation error 2020-05-21 11:06:50 +02:00
Josh Soref
3789da4305 Use check boxes (#3396) 2020-05-20 22:53:12 -07:00
sakariya
a36f97adfb Dev/saahmedm/fixlabel (#3366)
* Update EditShortcutsWindow.cpp

* Update EditKeyboardWindow.cpp

* Update README.md

* Update EditShortcutsWindow.cpp

* Update EditShortcutsWindow.cpp
2020-05-20 14:52:10 -07:00
Tim De Pauw
2cda53d3af Capitalize GitHub properly (#3356) 2020-05-20 14:28:25 -07:00
Bret
74007ea465 Merge pull request #3360 from microsoft/TheMrJukes-patch-1
Delete README.md
2020-05-20 14:10:37 -07:00
Bret
c88a7dba6b Delete README.md
This is no longer accurate and also talks about internal shares which we shouldn't do publically
2020-05-20 13:17:16 -07:00
Clint Rutkas
66b7863d43 Update README.md 2020-05-20 12:21:37 -07:00
Clint Rutkas
19b318a488 Update README.md (#3355) 2020-05-20 12:15:31 -07:00
ryanbodrug-microsoft
c606e3db43 Disabling IsRightTapEnabled on all UI Elements that steal focus from the text box. (#3349) 2020-05-20 11:38:14 -07:00
wolf99
f89ab74b29 Add 1903 requirement (#3321)
Have not seen this requirement mentioned anywhere until PowerToys is already installed.
For those installing PowerToys specifically to try this, it would be useful to know the requirement in advance, especially given that https://github.com/microsoft/PowerToys/blob/master/README.md mentions only 1803.
2020-05-20 11:20:11 -07:00
Clint Rutkas
4bbdec5044 Update README.md 2020-05-20 11:05:53 -07:00
Arjun Balgovind
56a727cf0d Added check for Type key/shortcut open but not in focus (#3235) 2020-05-20 09:56:00 -07:00
Arjun Balgovind
32f74e41ef Fix publish on local machines (#3270)
* Moved publishing to publish.cmd script

* Moved publish back to pre-build event
2020-05-20 09:55:17 -07:00
Ivan Stošić
e249bc5856 [FancyZones] Fix a regression with Chrome tabs jamming FZ (#3338) 2020-05-20 18:52:48 +02:00
Arjun Balgovind
32b8a344a6 Moved publishing to publish.cmd script (#3259) 2020-05-20 09:35:02 -07:00
Clint Rutkas
61c0c35e92 Fix for 3116, changing uwp to packaged (#3123) 2020-05-20 09:17:46 -07:00
Andrey Nekrasov
2eecaf4570 Revert "[FancyZones] Remove "keep windows pinned to virtual desktop location" settings (#3093)" (#3292)
This reverts commit 8f59247acb.
2020-05-20 11:57:17 +03:00
vldmr11080
8f59247acb [FancyZones] Remove "keep windows pinned to virtual desktop location" settings (#3093)
* Remove keep windows pinned to virtual desktop location FancyZones settings

* Remove virtual desktop switch handling for this scenario.
2020-05-20 10:49:28 +02:00
Clint Rutkas
eb3ec26279 fixing images so they deep link to module overview versus the img in readme (#3240)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2020-05-19 17:12:35 -07:00
Alekhya
f07d37ce0d [launcher] - Increase the score for Exact matches in the Name of the Application (#3213)
* Increase score for exact matches in the name

* Added tests for exact matching

* Used TestCase

* variable for bonus score

* Removed comment, variable is self explanatory
2020-05-19 16:10:40 -07:00
Alexander Sklar
2e8602eb43 Update win_hook_event_data.h (#3092) 2020-05-19 15:07:06 -07:00
Cloud Han
4277041b0e correct url (#3142) 2020-05-19 10:29:06 -07:00
Enrico Giordani
6801190180 Now working on 0.18.1 (#3141) 2020-05-19 18:20:35 +02:00
Clint Rutkas
067a9cf54d Dev/crutkas/change log0.18 (#3138)
* Update README.md

* Update README.md

* Update README.md

* Update README.md
2020-05-19 08:48:53 -07:00
Divyansh Srivastava
d31a8c203f Updated query delay in launcher (#3113) 2020-05-18 11:00:53 -07:00
Niels Laute
99e8a393b6 Fix for hero image not showing in GitHub mobile app (#3105)
Replaced the image MD tag with HTML. Seems to solve the issue.
2020-05-18 10:58:43 -07:00
Enrico Giordani
42ba0a2642 [CDPx] update to use telemetry nuget package v2 (#3087) 2020-05-16 19:48:41 +02:00
Alekhya
cc0cd51658 default four results in launcher (#3081) 2020-05-15 18:51:56 -07:00
sakariya
9d3014e39c adding readme (#3045)
* adding readme

* adding links

* Update README.md

* responding to edits

* update readme

* Update README.md

* adding image

* update

* Update README.md

* adding numbers
2020-05-15 17:16:04 -07:00
ryanbodrug-microsoft
1ac3a9da4f Revert "Remove binaries from signing list" (#3078)
* Revert "Remove binaries from signing list (#3029)"

This reverts commit 64d9e9054c.

* Removing wox.exe from cdpx build assemblies
2020-05-15 15:11:38 -07:00
Tomas Raies
7c80bbecd9 [Hotfix] Add VCRuntime dlls to \modules folder
This fixes the ImageResizer crash.
2020-05-15 12:42:04 -07:00
Tomas Raies
d55e6191c2 Remove VCRedist Merge Modules, copy dlls instead
* VC++ redistributables for CRT are copied into \PowerToys, \PowerToys\SettingsUIRunner and \PowerToys\modules\launcher
2020-05-15 12:01:21 -07:00
ryanbodrug-microsoft
3875603285 Wox project should only produce a .dll not an exe. (#3068) 2020-05-15 11:44:37 -07:00
Enrico Giordani
a62261343c Update version to 0.18.0 (#3063) 2020-05-15 18:51:49 +02:00
Lavius Motileng
8b0a995f23 [Settings V2] Updated general settings tests (#2971)
* updated general settings tests

* reverted changes to solution files

* fetch test strings from a string resource

* updated bidning variable name to avoid confusion

Co-authored-by: Lavius Motileng <laviusmotileng-ms>
2020-05-15 09:38:47 -07:00
Arjun Balgovind
4734cb3428 Fix FZ not forwarding events to next hook (#3044) 2020-05-15 09:37:11 -07:00
ryanbodrug-microsoft
34f814717b Adding privacy event tags to each telemetry event. (#2879)
* Adding privacy event tags to each telemetry event.

* Moving Privacy events to Telemetry base, Removing tag values, and fixing namespaces.

* Adding documentation comments to fix style cop errors in release

* UTCReplace_AppSessionGuid boolean property to all C# telemetry events.

* Adding hardcoded version number to boot events.

* Adding reference to telemetry in settings unittest

* Adding Preview Pane events for loading w/ hardcoded version number

* Adding telemetry.h to msi for svg and markdown events

* removing unused explicit interface exception
2020-05-15 09:08:39 -07:00
Alekhya
d4b56f99ff [launcher] Remove Program Plugin dll (AppxPackagingTlb.dll) (#3037)
* Removed AppxPackaging dll

* Added helper class and fixed some AppxPackage errors

* Modified it to use the COM interface

* Got it to build without errors but UWP apps don't show up

* Added app to the array

* Deleted the AppxPackaging.dll

* Added github reference

* Removed unnecessary uwp app argument

* Removed dll from installer wxs file
2020-05-15 08:49:44 -07:00
PrzemyslawTusinski
f51d51abf4 Fz Settings excluded apps multiline behavior - fix (#3055) 2020-05-15 17:37:50 +02:00
Ivan Stošić
a13a0ee5a9 Fixed a crash in Settings/ImageResizer (#3053) 2020-05-15 17:03:30 +02:00
Jessica Yuwono
19f4ad0361 Update launcher readme (#3034)
* Added readme and module overview link

* Fixed image link

* Added a known issue per review comment

* Changed images location
2020-05-14 17:24:17 -07:00
Divyansh Srivastava
93dc96f150 Fixed folder naming for app data (#3033) 2020-05-14 16:26:45 -07:00
Enrico Giordani
64d9e9054c Remove binaries from signing list (#3029) 2020-05-14 15:02:59 -07:00
Divyansh Srivastava
b1ed7227d7 Fix launcher height (#3013)
* Added height for searchbox

* Updated top calculation for launcher window
2020-05-14 13:52:48 -07:00
Clint Rutkas
48215c1eae Update README.md 2020-05-14 13:34:24 -07:00
Enrico Giordani
7399a978f5 Update icons for Settings v2 (#3023) 2020-05-14 21:45:44 +02:00
Lavius Motileng
3737ad6524 [Settings V2] Updated default color values for fz (#2972)
* updated default color values for fz

* moved default values to shared constants

Co-authored-by: Lavius Motileng <laviusmotileng-ms>
2020-05-14 11:58:56 -07:00
Clint Rutkas
b37695bc6f Update build-powertoys-steps.yml 2020-05-14 11:57:58 -07:00
Yevhenii Holovachov
6e97d588e4 Updated .dll's and .exe's in pipeline.user.windows.yml (#3012) 2020-05-14 21:22:13 +03:00
Enrico Giordani
17319b15b0 Update application icon (#2999) 2020-05-14 20:19:06 +02:00
Arjun Balgovind
0692afcd90 Hotfix - Fix broken Type Shortcut (#3006)
* Fix broken type shortcut
2020-05-14 10:56:36 -07:00
Arjun Balgovind
91ac3f7931 Add auto scroll when adding a remap (#2969) 2020-05-14 09:24:50 -07:00
Arjun Balgovind
9d5990311f Fixed overflow in Type Shortcut (#2930)
* Fixed overflow in Type Shortcut

* hide the stackpanel if it is not required

* changed loop
2020-05-14 09:23:51 -07:00
Andrey Nekrasov
6f38cdec5a Fix various MSI issues (#2985)
* wix: add Notice.md #2442

* wix: close PowerToys which might be running during installation process #2887

* wix: update dotnet core to 3.1.4
2020-05-14 18:20:06 +02:00
Lavius Motileng
7a1f3a0cb1 [Settings V2] Remove multiple pop-ups on double tap (#2928)
* remove multiple pop-ups on double tap

* removed e0l space and updated bool variable
2020-05-14 09:12:40 -07:00
Andrew Baker
99356f7880 Update URL so it points to the general repository rather than the issues page (#2996) 2020-05-14 08:45:48 -07:00
Yevhenii Holovachov
d38d7b8ff6 Version required warning label changed, rebuilded bundle.js (#2991) 2020-05-14 17:48:33 +03:00
htcfreek
834ac42d24 Change Auto-download settings' title (#2966)
* Change auto-download setting's title

The update don't get automatically downloaded when the user is connected over an metered connection.
This is something the user should known about. Because of not have to be afraid on having extra costs and to not being confused if it not works on metered connections.

* auto-download title (old settings)

Did the same change also for the old web-settings.
2020-05-14 15:30:18 +02:00
Yevhenii Holovachov
e80fac4900 Disabling toggles for Powertoys Run and Keyboard Manager (#2983)
* Disabling toggles for Powertoys Run and Keyboard Manager
2020-05-14 15:09:49 +03:00
Yevhenii Holovachov
a13c8cb71e Autoupdate option visible only for administrators group (#2945)
* Added isAdmin value to Settings.UI. Changed elevation check to user group check for AutoDownload toggle
2020-05-14 12:36:27 +03:00
Niels Laute
3dc61962de [Read me] Adding hero-image (including new icon) and module screenshots (#2946)
* Adding screenshots and hero image

* Added screenshots and KBM + Launcher descriptions

* Commented out 0.18 features (KBM + Launcher)

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Updated contribution link

* Linebreak added

* tweaks

Co-authored-by: Clint Rutkas <clint@rutkas.com>
2020-05-13 21:31:36 -07:00
Divyansh Srivastava
5c3acf61b4 Fixed powertoys run not reacting to change in settings (#2968)
* Fixed powertoys run project name in settings

* Rename save directory
2020-05-13 17:50:19 -07:00
Tomas Raies
953d835ded Revert "wix: Install .NET Core 3.0.x instead of .NET Core 3.1.x (#2943)"
This reverts commit 01f11d94b0.
2020-05-13 13:34:23 -07:00
Tomas Raies
1537ca4e71 [Launcher] Add missing Microsoft.Extensions.. dlls 2020-05-13 13:34:23 -07:00
Divyansh Srivastava
2d94ace89f Update Launcher naming settings (#2961)
* Renamed LAuncher to Run

* Updated Run to PowerToysRun

* Updated naming for settings v1
2020-05-13 13:16:34 -07:00
Alekhya
ea9c0b919f Remove Program Plugin dll (ShObjldITIb.dll) (#2952)
* Deleted the dll

* Added Shell Link helper class

* Add activation manager helper

* Use helper shell link and remove shell namespace

* removed using shell and added Activation helper namespace

* Removed the dll from the installer

* formatting

* nit formatting
2020-05-13 11:43:56 -07:00
Arjun Balgovind
d178fa5bdb KBM - Change behavior to hold enter to accept rather than hold and release (#2931)
* Changed to hold enter

* Changed code such that hold enter does not trigger a re-open

* Fixed tab ordering

* Changed text
2020-05-13 10:13:44 -07:00
Andrey Nekrasov
01f11d94b0 wix: Install .NET Core 3.0.x instead of .NET Core 3.1.x (#2943)
* wix: Install .NET Core 3.0.x instead of .NET Core 3.1.x

* fixup! review comments

* fixup! review comments
2020-05-13 18:23:56 +02:00
Arjun Balgovind
58f1a8e916 Fix failing build pipeline (#2932)
* Add extra libpath load statement

* Add QSpectre flags on Release

* Revert cmd change

* Added spectre flag for debug

* added flag for more projects
2020-05-12 20:52:02 -07:00
Tomas Agustin Raies
688fefc4dd [Launcher] Fix Copying of calculator value (#2929) 2020-05-12 16:41:49 -07:00
Arjun Balgovind
ce96e34d25 Fixed some warnings and added code to close active windows on disable (#2915) 2020-05-12 15:58:11 -07:00
Divyansh Srivastava
a1e1d663c3 Migrate Search box to WPF control (#2917)
* Replaced UWP searchbox with WPF

* Updated foreground color scheme for textbox

* Add focus on visibility changed

* Updated initial hiding of window

* Fixed list box border

* vis issue on start, fixing border

* Revert "Merge branch 'somil55/MigrateSearchBoxToWPF' into fewTweaks"

This reverts commit 3525171621, reversing
changes made to b5daffca55.

* Remove change in startup visibility

Co-authored-by: Clint Rutkas <clint@rutkas.com>
2020-05-12 15:42:21 -07:00
Clint Rutkas
245b52d8e2 Update pipeline.user.windows.yml 2020-05-12 13:12:36 -07:00
Arjun Balgovind
1de93be0f0 Fix KBM compile time warnings (#2912) 2020-05-12 11:32:17 -07:00
PrzemyslawTusinski
e723e87c74 PowerLauncher can be snapped to zone - fix (#2896) 2020-05-12 19:33:42 +02:00
Michiel Vermeersch
c9535749f5 Fixed tables in MarkDown previews displaying incorrectly. (#2883) 2020-05-12 10:20:39 -07:00
Arjun Balgovind
497a66ea38 Fixed KBM default window size not being DPI Aware (#2873)
* Fixed KBM default window size not being DPI Aware

* Fixed missing lib file on Release

* Changed to be only DPI dependent
2020-05-12 10:17:27 -07:00
Alekhya
62d9735a7e [Settings] Add Image Resizer Settings hyperlink on feature detection of older OS Versions (#2868)
* Added the settings hyperlink code back

* Moved the os detection code to a different file so that it can be imported by image resizer

* Added code to the Image resizer project to react to import the dll

* Added an empty dll project

* Added a dll which can be imported by image resizer

* ImageResizer binding works

* Added the setDllDirectory to load the os-detection dll

* Removed the OS detection files that has been added to the common project

* Added reference to os-detect and removed reference to common/OS-Detection.h

* Modified project files

* Revert "Modified project files"

This reverts commit 75f9d73f30.

* Removed unnecessary showAdvanced bool variables

* Removed OS Detection code from common project

* Cleaned configuration properties of soln and projects

* runner is dependent on os-detection

* Added the os-detection.dll to wxs file

* nit space formatting

* Added reference to os-detection

* Added os-detection header file

* Add os-detection reference

* Added os-detection.dll

* removed the set dll directory and using relative paths instead

* Add relative path
2020-05-12 09:58:29 -07:00
Seraphima Zykova
0f8fbf6a1e removed .net core dlls (#2897) 2020-05-12 18:37:33 +02:00
Arjun Balgovind
66c2d1cba1 Revert buttons on KBM Landing page (#2870)
* Revert buttons

* Fixed button placement
2020-05-12 09:21:54 -07:00
Andrey Nekrasov
69cde6092b build: use x64 platform for *Telemetry projects (#2895) 2020-05-12 15:27:19 +03:00
Seraphima Zykova
3e9face818 removed dlls causing build error in installer (#2889) 2020-05-12 13:55:36 +03:00
Tomas Agustin Raies
4dfac02065 KeyboardManager icon (#2875) 2020-05-11 20:13:07 -07:00
Arjun Balgovind
7551509f41 Fix inconsistent landing page remap list (#2866)
* Added pre-processing code

* Refactored code on c++ side to match

* Fixed comment
2020-05-11 17:18:12 -07:00
Tomas Agustin Raies
5f42866cea Add VC142 CRT MergeModules to installer (#2862) 2020-05-11 15:05:10 -07:00
Lavius Motileng
50d91670ec updated file explorer icon (#2863) 2020-05-11 14:43:13 -07:00
Tomas Agustin Raies
8c04421387 [Keyboard Manager] Confirmation Dialog for orphaned keys and partial remappings. (#2811)
* WIP Confirmation dialog for orphaned keys

* Confirmation Dialog for orphaned keys

* White OK button, Anyways capitalizef

* Change Apply to Ok for shortcuts

* Validate that mappings can be made before changing keyboardManagerState

* Set fixed MinWidth for OK button

* Fix typo

* Partial remappings confirmation dialog

Both for Shortcuts and SingleKey

* Remove warning icon callback in OnClickAccept

* Add text wrapping for OrphanKeys dialog
2020-05-11 12:45:55 -07:00
Niels Laute
c39be3dbc9 [Settings] Various UX tweaks (#2822)
* Updated the add button styles to a standard used in W10 settings

* Updated the "About this feature" text to About [Module name]

* Set larger changes to the Shortcut Guide opacity numberbox

* Re-organised the General page

* Improved width of the add button so it's inline with the corresponding listview.

* Seperated warning label from header. Re-organised general settings

* Consistent formatting of the word 'administrator'

* Typo fix

* Warning text is collapsed when the user runs the app as admin

* Removed underline of version number

* XAML fix
2020-05-11 12:36:55 -07:00
Andrey Nekrasov
8aa8c296e1 FancyZones: FZ & FZE now live in a dedicated dir (#2837) 2020-05-11 21:22:23 +03:00
Arjun Balgovind
592c55c524 Change warnings from icon to flyouts but it no longer interrupts searching (#2816)
* Fixed foreground issue and added arrow

* Tweaked Remap Keyboard UI

* Fix errors in warning handling and update UI layout

* Tweaked sizes and centered to screen

* Fixed flyouts appearing on search for Single key remaps

* Fixed flyouts appearing on search for Shortcut remaps

* Remove warning exclamation icon and tooltip

* Fixed a bug where setting None on a drop down which would create a shortcut with a conflict would cause a crash

* Remove IsTypeKey logic

* Changed warning text

* Resolve comments
2020-05-11 10:10:36 -07:00
Ivan Stošić
eafaf35790 [Settings] Updated text shown on the settings page of Shortcut Guide (#2840) 2020-05-11 14:46:32 +02:00
PrzemyslawTusinski
585c66a4d0 PowerRename settings bugfix (#2796)
* PowerRename settings bugfix

* Changed visibility to enability of PowerRename_Toggle_MaxDispListNum

* Added unit tests and changed maximum value
2020-05-11 14:37:29 +02:00
Arjun Balgovind
1ecedd5566 Hide xaml island loading icon for Settings and Launcher (#2827)
* Hide xaml island window

* Remove using WUC statement
2020-05-09 14:10:57 -07:00
Arjun Balgovind
3a0a5a7754 KBM - UI Tweaks (#2798)
* Fixed foreground issue and added arrow

* Tweaked Remap Keyboard UI

* Fix errors in warning handling and update UI layout

* Tweaked sizes and centered to screen

* Changed size to scale based on resolution

* Fixed comments
2020-05-08 17:34:24 -07:00
ryanbodrug-microsoft
d329406eb8 Adding Telemetry Events for svg and markdown enable/disable (#2814)
* Raising Telemetry events when svg and markdown preview pane is turned off

* Properly serializing Bool property.  This allows us to be backwards compatible with .17 settings but interact with the properties as boolean elements, and fire events on property changed notification
2020-05-08 16:12:37 -07:00
Divyansh Srivastava
e654999fdf Add support for win32 packaged apps to run as admin (#2812)
* Updated UWP app to set entry point type for each app

* Working run as admin for packaged app with permission

* Updated UWP to allow apps with mediumIl trust level to be run as admin

* cleanup variables not required
2020-05-08 14:31:15 -07:00
Clint Rutkas
efe98f7fad Fixing ordering in settings and text tweaks (#2809)
* ordering alphabetically.

* test tweaks
2020-05-08 14:13:48 -07:00
Clint Rutkas
87bc957662 adding in ignore for alt-space (#2799) 2020-05-08 13:59:49 -07:00
Tomas Agustin Raies
15e93d6304 [Launcher] Replace default app icons with MDL2 EB3B (#2797) 2020-05-08 13:34:21 -07:00
Arjun Balgovind
5471735419 Fix double compile issue for Launcher and Settings (#2759)
* Fix double compile issue

* Removed debugging code

* added prebuild event

* Updated output folders
2020-05-08 09:07:18 -07:00
Lavius Motileng
6b2955f135 [settings] loading powerpreview module from subfolder (#2709)
* loading module in sub-folders

* reverted un-related change
2020-05-08 08:23:18 -07:00
Lavius Motileng
1ab0a5182f [Settings V2] Upated Fancy Zone and Shortcut Guid default values. (#2786)
* upated Fancy Zone and Shortcut Guid default values.

* upated fz tests
2020-05-08 08:22:57 -07:00
Ivan Stošić
dad65998cc Update ImageResizerPage.xaml (#2794) 2020-05-08 13:32:13 +02:00
Tomas Agustin Raies
abd30f3e41 Change build order in build.cmd (#2787)
This seems to fix the missing Generated Files\version_gen.h error
2020-05-07 16:37:00 -07:00
Seraphima Zykova
7f42d9784e updated FancyZones checkboxes corresponding to settings (#2785) 2020-05-07 23:29:02 +03:00
Tomas Agustin Raies
1056dac070 Add WIL to common-md-flag nuget packages (#2780) 2020-05-07 12:02:37 -07:00
Andrey Nekrasov
c05622484d chore: add common project as a dependency for some C++ projects, so we have version_gen.h (#2781) 2020-05-07 21:31:00 +03:00
PrzemyslawTusinski
59659a13f1 Fancy zones settings - Color pickers saved ARGB value fix (now saves RGB) (#2776) 2020-05-07 20:24:19 +02:00
Andrey Nekrasov
73c6cbb562 wix: install dotnet 3 after installation if needed (#2775) 2020-05-07 17:39:32 +03:00
Ivan Stošić
9f724221fa Removed unsupported platforms in Visual Studio (#2768) 2020-05-07 15:12:57 +02:00
Seraphima Zykova
dfcd86ea09 multi-line input for excluded apps (#2770) 2020-05-07 16:11:10 +03:00
Seraphima Zykova
555393d328 Close Shortcut Guide on right Win release (#2751) 2020-05-07 12:21:29 +03:00
Yevhenii Holovachov
febacfcb79 Added informaton to notifications dll (#2687)
Added informaton to notifications dll
2020-05-07 12:01:01 +03:00
ryanbodrug-microsoft
1891bd494c Merge pull request #2760 from ryanbodrug-microsoft/merge/build-features-to-master-05062020
Merge/build features to master 05062020
2020-05-06 20:02:09 -07:00
ryanbodrug-microsoft
ba5d53914e Merge branch 'dev/build-features' into merge/build-features-to-master-05062020 2020-05-06 19:32:10 -07:00
ryanbodrug-microsoft
2ae38e20ab Merge pull request #2711 from ryanbodrug-microsoft/merge/build-features-to-master
Mege build features to master
2020-05-06 19:25:15 -07:00
ryanbodrug-microsoft
5f14b2e738 Merge branch 'master' into merge/build-features-to-master 2020-05-06 18:39:25 -07:00
Yevhenii Holovachov
bc53951648 Option to disable zones activation by mouse (#2717)
* Added option to enable/disable mouse to activate zones, added telemetry and unit tests
2020-05-07 02:21:32 +03:00
Tomas Agustin Raies
9a323e3387 [Launcher] Remove ASP .NET dependencies (#2697)
* Remove ASP .NET dependencies

* Replaced NLog.Web.AspNetCore with NLog.Extensions.Logging

* Remove NLog.Web.AspNetCore.dll from installer

* Add missing dlls
2020-05-06 15:55:53 -07:00
ryanbodrug-microsoft
72fe972cc0 fixing nit: comments 2020-05-06 15:10:22 -07:00
ryanbodrug-microsoft
88dfd90e3b Removing unecessary event name from SettingsEnabledModuleEvent 2020-05-06 15:10:22 -07:00
ryanbodrug-microsoft
1f9c1ce8e4 Removing unecceary EventName requirement. EventSource<T>.Write will use the type name of T if null is passed in. This saves us passing an extra string uneccesarily as the public property would be serialized into the event data as well as being specified as the EventName 2020-05-06 15:10:22 -07:00
ryanbodrug-microsoft
b4d75e3240 Adding telemetry events for Settings Enabled or Disabled Modules 2020-05-06 15:10:22 -07:00
ryanbodrug-microsoft
def0d7a519 Small refactor to use common powertoys telemetry event source accross modules. 2020-05-06 15:10:22 -07:00
ryanbodrug-microsoft
a9cc4dabb7 Adding launcher telemetry for context buttons clicked. 2020-05-06 15:10:22 -07:00
ryanbodrug-microsoft
e29e8ca0a3 Add launcher telemetry for show / hide, and query (elapsed time, num chars, num results). 2020-05-06 15:10:22 -07:00
ryanbodrug-microsoft
5cda4135b1 Add telemetry event for when the user presses delete within the first 2 seconds of showing the launcher. 2020-05-06 15:10:22 -07:00
ryanbodrug-microsoft
221e153f4c Adding BootEvent for load time telemetry 2020-05-06 15:10:22 -07:00
ryanbodrug-microsoft
3a24e4703d Adding PowerLauncherTelemetry events 2020-05-06 15:10:22 -07:00
ryanbodrug-microsoft
2b158c2b4e Removing unused reader namespace from telemetrybase. 2020-05-06 15:10:22 -07:00
ryanbodrug-microsoft
8b715ad9cd Link including telemetry base, to preview pane. 2020-05-06 15:10:22 -07:00
ryanbodrug-microsoft
07cf527ddf Moving TelemetryBase to common/Telemetry to be referenced for all Managed Telemtry hooks. 2020-05-06 15:10:22 -07:00
Alekhya
63f1429a69 Fix incorrect merge which had reverted some parts of the Microsoft.Launcher.rc file (#2728)
* Had reverted the changes made in the Microsoft.Launcher.rc file by mistake while resolving merge conflicts

* reverted company name to how it was before
2020-05-06 12:49:34 -07:00
Niels Laute
d881fc2fe0 Merge pull request #2700 from niels9001/users/niels9001/settingsV2UXtweaks
[Settings v2] UX tweaks
2020-05-06 21:12:39 +02:00
Arjun Balgovind
d5090ee24b KBM - Fix all descriptions and text and minor UI tweaks (#2705)
* Add new text for Remap Keyboard

* Added text in KBM windows

* Tweaked KBM landing page view

* Changed to transparent background

* Tweaked text

* Tweaked text
2020-05-06 08:34:26 -07:00
vldmr11080
56c0a78c64 [FancyZones] Only process windows located on currently active work area when moving them (#2691)
* Only process windows located on currently active work area when moving them.

* Move all editor exit handling into dedicated method.
2020-05-06 17:16:16 +02:00
ryanbodrug-microsoft
47037220e0 fix compile issues for missing <thread>. I'm not sure why this wasn't needed before or in master. 2020-05-06 00:54:06 -07:00
ryanbodrug-microsoft
640fade438 merge master 2020-05-06 00:49:46 -07:00
Clint Rutkas
98ede836d4 Merge branch 'dev/build-features' into users/niels9001/settingsV2UXtweaks 2020-05-05 21:28:44 -07:00
Arjun Balgovind
e75916fd92 Fixed SettingsV2 crash (#2704)
* Fixed crash

* Initialize theme string
2020-05-05 21:17:43 -07:00
Divyansh Srivastava
e01ed8ad3c Fix for indexer symbol error (#2702)
* Removed error sent as result in indexer plugin

* Added code to filter query based on reserved keyword regex
2020-05-05 16:07:32 -07:00
Tomas Agustin Raies
3beea79b38 Workaround for Settings ViewModel tests (#2693) 2020-05-05 16:01:55 -07:00
Alekhya
1a29870958 OS Detection and setting the old or new settings UI page accordingly (#2674)
* Added code to detect os build number

* To set the settings.exe according to the powerToys version that is running

* Modified the description of old UI for launcher and keyboard remapper

* Using API contracts instead of registry

* Removing file that was included by mistake
2020-05-05 15:53:30 -07:00
Niels Laute
7f3fae5a02 Re-order of the autocomplete setting (for Image resizer) under the right section 2020-05-05 23:43:56 +02:00
Lavius Motileng
c2adf56b2f updated header text and tests for PowerRename (#2607) 2020-05-05 14:28:44 -07:00
Niels Laute
7a8f5a606c Removed underline of the attribution links 2020-05-05 23:19:21 +02:00
Tomas Agustin Raies
462c17a0c3 Close Settings Window on runner exit (#2695) 2020-05-05 14:13:52 -07:00
Niels Laute
e59e3019e3 Typo fix 2020-05-05 23:03:34 +02:00
Lavius Motileng
d65e2ab2d4 FIX : [Settings] - Can start multiple settings dialogs (#2421)
* Launch new wpf process with same/old ipc names

* updated bring window to front

* reverted change

* removed unused string
2020-05-05 14:02:55 -07:00
Niels Laute
3f6120e122 Tweaked the vertical spacing of the module description so the module toggle switch stands out a bit more. 2020-05-05 22:58:48 +02:00
Niels Laute
e66e5e6f6e Fixed visual inconsistency for the image resizer sizes listview 2020-05-05 22:47:59 +02:00
Niels Laute
b0bc57466e Fixed inconsistency of the Image Resizer enable toggleswitch 2020-05-05 22:13:19 +02:00
Niels Laute
154dc555c5 Remove underline from sidepanel hyperlink buttons 2020-05-05 22:03:48 +02:00
Arjun Balgovind
36559d0264 Added telemetry to KBM (#2670)
* Added telemetry to KBM

* Reverted set_config change

* resolving comments
2020-05-05 12:30:50 -07:00
Lavius Motileng
a722ce460c [Settings UI] Updated General Settings (#2676)
* updated general settings view

* moved text to string resource

* Update App.xaml.cs

* set run-elevated as a start-up argument
2020-05-05 10:02:31 -07:00
Divyansh Srivastava
67b2f28064 Added code to sanitize folder path (#2673) 2020-05-05 09:41:11 -07:00
yuyoyuppe
8b988409e2 FancyZones: LowLevelKeyboardProc & other improvements 2020-05-05 15:16:37 +03:00
yuyoyuppe
57c4658021 FancyZones: prevent WinHookEventProc reentrancy bugs by serializing events to FancyZones::WndProc 2020-05-05 15:16:37 +03:00
Davide Giacometti
283bfde3d9 better layout alignment for image resizer (#2611)
Co-authored-by: Davide Giacometti <davide.giacometti@softwareuno.it>
2020-05-05 13:15:47 +02:00
vldmr11080
41935aa9aa Split general module settings and UI flags to separate files. (#2613) 2020-05-05 12:39:15 +02:00
stefansjfw
9206d1f5f1 Make transforming struct field names to dash case region invariant (#2679) 2020-05-05 11:39:18 +02:00
vldmr11080
f5381ae3e3 [FancyZones] Clean up resources taken by closed virtual desktops on module startup (#2616)
* Clean up resources taken by closed virtual desktops on FancyZones module startup.

* Overload GetVirtualDesktopIds to return wide string.

* Refactor OnDisplayChange method.
2020-05-05 10:13:50 +02:00
theaquamarine
95c4bf5854 Enable FancyZones to react to right Windows key (#2624)
Check the status of VK_RWIN as well as VK_LWIN

Fixes #436
2020-05-05 09:21:55 +02:00
vldmr11080
2b4b23f726 [ImageResizer] Migrate settings from registry to JSON. (#2604)
* Migrate ImageResizer settings from registry to JSON.

* Update last loaded time read/write IO operations.

* Rename registry helper functions.
2020-05-05 09:00:50 +02:00
ryanbodrug-microsoft
64c17767ed Reading correct json property for "Run" program. This prevents the Run (Previously PowerLauncher) from being opened when settings has it disabled. 2020-05-04 20:34:34 -07:00
ryanbodrug-microsoft
32d75749a0 Updating MSI installer to use Microsoft.Plugin.* directory paths. 2020-05-04 20:34:34 -07:00
ryanbodrug-microsoft
e776f9c7d8 Moving Plugins from Wox.Plugin.* to Microsoft.Plugin.*. This is to rename the assemblies that get saved to the settings directory. External plugins will get saved to their on assembly folder in the future. 2020-05-04 20:34:34 -07:00
ryanbodrug-microsoft
3bdcf1077b Updating wox infrastructure to save to "AppData\\Local\\Microsoft\\PowerToys\\Run" directory. 2020-05-04 20:34:34 -07:00
ryanbodrug-microsoft
da550a4a67 Moving launcher save settings under AppData/Local/Microsoft/PowerToys/Run 2020-05-04 20:34:34 -07:00
ryanbodrug-microsoft
1655594514 fix for crash when tabbing with no selected item 2020-05-04 20:33:52 -07:00
Arjun Balgovind
c4f884f104 Change behavior on Edit Keyboard screen to be physical keys (#2666)
* Commented out ToggleToMod and AppSpecific function calls

* Added logic to make sure key remaps don't occur on Edit Keyboard Window

* Changed behavior such that remappings only apply after window is closed
2020-05-04 15:49:37 -07:00
Divyansh Srivastava
855f3d74fe Remove WW module (#2664)
* Removed WW module from sln file

* Remove WW from product.wxs

* Removed WW from runner
2020-05-04 15:40:15 -07:00
Tomas Agustin Raies
7fc140af01 [Settings] Update version in General Settings (#2601)
* Update version in General Settings

* Set version in settings.json file

* Only overwrite the settings.json file if it is newer than the old version.

* Fix tests

* Fix test names and added comment
2020-05-04 14:40:32 -07:00
Arjun Balgovind
d401474981 Add post-build event for publishing Launcher (#2561)
* Added post build script

* Added comments

* Added unset statement

* Added debug checks

* added more debug statements

* Added dir and cat statements to check pipeline output

* revert installer change

* Moved nuget package reference from update to include

* Removed debug cat command

* Removed debugging statements

* Added build script for launcher

* Added launcher scripts

* Removed launcher scripts

* Fixed interop folder and added hacked powerlauncher script

* Added publish only for Release
2020-05-04 13:30:38 -07:00
Tomas Agustin Raies
0f6563e8e0 Fix crashing in Windows Insiders builds (#2562)
Added missing initialization of winrt apartment
2020-05-04 11:36:57 -07:00
Alekhya
6cd0f83496 Fix FancyZones issue of dlls being overwritten by PreviewPane's MarkDig (#2589)
* Added output folder

* Added FileExplorerPreview output folder for all projects

* Added extra dlls and FileExplorerPreview to path

* Added folder and modified path for registry setup of preview handlers
2020-05-04 07:42:05 -07:00
Lavius Motileng
b428fc97e9 fix: Start as Admin Error: Unable to open app when running elevated (#2411)
* fixed run-elevated error and powerpreview settings not working

* removed EXTENDED_STARTUPINFO_PRESENT flag

* removed test string

* Update Microsoft.PowerToys.Settings.UnitTest.csproj

* Rename PowerLauncher.cs to PowerLauncherViewModelTest.cs
2020-05-03 03:17:06 -07:00
Tom Dörr
c14c51f551 Fix license file (#2626)
By removing `(MIT)` from the `LICENSE` file, the license type is displayed on the PowerToys start page.
2020-05-02 15:59:18 -07:00
Arjun Balgovind
8e18104f38 [KBM] Constrain the buttons such that only one of the windows can be opened (#2566)
* Bypass XamlBridge Window focus handling

* Constrain only one window can be opened at a time

* Revert changes on files changed in another PR

* Changed WM_DESTROY to WM_NCDESTROY

Co-authored-by: Tomas Raies <tomas.raies@gmail.com>
2020-05-01 17:34:42 -07:00
Divyansh Srivastava
06fcc2bf46 Updated file path/description of plugins (#2593)
* Updated file path/description of plugins

* Updated file paths to include plugin tag

* Code cleanup
2020-05-01 17:26:02 -07:00
Tomas Agustin Raies
1656b4c5b9 [Launcher] Remove Win+R checkbox (#2513)
* Remove Win+R

* Comment out all unused options

* Fix PowerLauncherViewModel tests
2020-05-01 15:58:55 -07:00
Clint Rutkas
431f7ab37c Adjusting text for 2564 (#2606) 2020-05-01 15:25:56 -07:00
Divyansh Srivastava
f44109abae [launcher] Location and multi monitor support (#2446)
* Fixed left and top window

* Added dpi Aware launcher positioning code

* Code cleanup

* Added support to drag window

* Multi monitor support added

Remaining fix : Launcher doesn't open first time on changing monitor

* removed code handling change in DPI manually

* Code cleanup

* Fix to support multimonitor display

* Code cleanup

* Revert "Code cleanup"

This reverts commit 38f39924f0.

* Revert back to WOX helper for calculating normalized DPI
2020-05-01 14:25:06 -07:00
Arjun Balgovind
8cb134f56b Add post-build event for publishing SettingsV2 (#2473)
* Added post build script

* Added comments

* Added unset statement

* Added debug checks

* added more debug statements

* Added dir and cat statements to check pipeline output

* revert installer change

* Moved nuget package reference from update to include

* Removed debug cat command

* Removed debugging statements

* Added build script for launcher

* Added launcher scripts

* Removed launcher scripts

* Changed taskkill to throw error

* Added back old config properties
2020-05-01 13:17:30 -07:00
Clint Rutkas
032aa2d1d6 making teams launch, not updater. this will also fix a lot of cmd style lnks too. Made null ref on boot fix too. (#2598) 2020-05-01 10:55:01 -07:00
grahamaj
cbe20d9c96 Grammar update for the FZ README (#2592) 2020-05-01 18:21:52 +02:00
stefansjfw
e6b74b10eb [FancyZones] Make snapping windows using Windows Snap Hotkeys across monitors optional (#2583)
* Make moving window across monitors optional

* Update tests

* Address PR comment: Update description of the toggle
2020-05-01 16:17:16 +02:00
Andrey Nekrasov
8c4dbbfbec FZ: run AnimateWindow and InvalidateRect in a dedicated thread (#2582) 2020-05-01 17:14:35 +03:00
Andrey Nekrasov
9bde15d4ac FancyZones: subscribe only to handled WinHook events (#2584)
* FancyZones: subscribe only to handled WinHook events

* formatting fix
2020-05-01 17:13:52 +03:00
vldmr11080
fd32dad7eb [FancyZones] Send message from VirtualDesktopUpdates thread to FZ thread when update happens (#2568)
* Move part of the virtual desktops related logic from FancyZones to VirtualDesktopUtils.

* Post WM message from vritual desktop tracker thread to FZ thread.

* Minor improvements in RegisterVirtualDesktopUpdates method.

* Close registry key after HandleVirtualDesktopUpdates thread finishes execution.

* Remove comment explaining workaround to VirtualDesktopUtils namespace.

* Move HandleVirtualDesktopUpdates to VirtualDesktopUtils namespace. Resolve PR comments.

* Fix typos in window messages description.

* Remove lock from OnKeyDown method to avoid deadlock.
2020-05-01 16:13:16 +02:00
vldmr11080
64df515c63 [PowerRename] Use int type instead of long in PowerRename Settings (#2502)
* Fix signed/unsigned comparison in power rename Settings.

* Use int instead of long (same on 64-bit windows).
2020-05-01 13:26:38 +02:00
stefansjfw
8908bd9889 Remove unused ZoneSetPersistedDataOLD struct (#2581) 2020-05-01 12:35:37 +02:00
Divyansh Srivastava
5c3159cbca Update plugin ID for WW (#2512) 2020-04-30 18:47:03 -07:00
Clint Rutkas
9afe72d508 Update README.md 2020-04-30 11:53:52 -07:00
Tomas Agustin Raies
c002d2c99f Merge pull request #2510 from microsoft/dev/traies/merge-powerlauncher
Merge missing commits from power launcher
2020-04-30 10:19:45 -07:00
Nghia M. Luong
c768b6bd0c Remove unused headers (#2471) 2020-04-30 20:14:33 +03:00
Seraphima Zykova
7903fe52b4 FancyZones decomposition (#2485)
* FancyZones refactoring
Co-Authored-By: Andrey Nekrasov <yuyoyuppe@users.noreply.github.com>
2020-04-30 13:16:08 +03:00
Ivan Stošić
313b1b39a7 FancyZones now does its own event processing (#2347)
* FancyZones now does its own event processing

* Removed temporary variable
2020-04-30 11:40:13 +02:00
vldmr11080
648f3abcbd Handle scenario with only primary desktop and no desktop switch in current session. (#2339)
* Handle scenario with only primary desktop and no desktop swithc in current session.

* Add scoped lock when changing current desktop id. Address PR comments.

* Explain purpose of UpdatePrimaryDesktopData method.

* Fix typo in documentation.
2020-04-30 11:16:25 +02:00
Ivan Stošić
2db98715cc "Unhooked" the Shortcut guide module from the PT event dispatcher (#2318)
* "Unhooked" the Shortcut guide module from the PT event dispatcher

* Fixup: warning/undefined behavior/terrible bug

* SetWindowsHookEx and UnhookWindowsHookEx now fail silently

* Updated a comment in shortcut_guide.h

* Renamed a method, added an error message
2020-04-30 11:05:18 +02:00
Arjun Balgovind
5e3da57e21 Fix Keyboard Navigation and Xaml Island focus issues for KBM (dev/build-features) (#2429)
* Added XamlBridge code and implemented keyboard focus navigation for xaml islands

* Change global pointer to static
2020-04-29 17:58:31 -07:00
Tomas Raies
dceef35aac Merge branch 'dev/PowerLauncher' into dev/traies/merge-powerlauncher 2020-04-29 15:28:54 -07:00
vldmr11080
2d23952181 Don't poll for changes in HKEY_CURRENT_USER, but only for VirtualDesktops reg key. (#2496) 2020-04-30 00:10:53 +02:00
Tomas Agustin Raies
518da7e81d Merge pull request #2489 from microsoft/dev/traies/fix-bad-build-features-launcher-merge
Fix bad build-features/PowerLauncher merge
2020-04-29 14:45:34 -07:00
Clint Rutkas
8db1eb69dc Update README.md 2020-04-29 13:56:45 -07:00
Rafael Rivera
d16ebba9e0 Move from sdk-provided cppwinrt-1.x to cppwinrt-2.x nuget package (#2246) 2020-04-29 22:02:18 +02:00
Enrico Giordani
ee0420188c Now working on 0.17.1 (#2493) 2020-04-29 22:01:16 +02:00
Tomas Raies
b9d14d31ae Merge branch 'dev/traies/build_features_launcher_integration' into dev/traies/fix-bad-build-features-launcher-merge 2020-04-29 12:00:36 -07:00
Tomas Raies
c505875fef Settings + PowerLauncher integration
* Fix project references

* Fix MaxResultsToShow

* Fix Alt + Space display

* Fix settings defaults
2020-04-29 11:36:43 -07:00
Tomas Raies
6029f0ed36 Revert "Merge PowerLauncher branch (#2345)"
This reverts commit d9c4abe0df.
2020-04-29 11:32:00 -07:00
Clint Rutkas
734bed4821 Update README.md 2020-04-29 11:25:21 -07:00
Niels Laute
26b3185933 [Launcher] Fluent UX enhancements (#2477)
* Removed unnecessary styling resources.
Fixed searchbox overlay.
Fixed a bug where the command buttons would fall of the list

* Fixed a bug where the app icon could overlap the title/path textblocks

* Consistent background / border color

* Tweaked shadow, background color now theme depended
2020-04-29 10:33:58 -07:00
Clint Rutkas
5efa9ff0b2 correct spelling mistakes for en-us :) (#2475) 2020-04-29 10:29:31 -07:00
Tomas Agustin Raies
d9c4abe0df Merge PowerLauncher branch (#2345)
* minor modifications in README

* Added launcher project and changed references to common

* Added the code to launch another process

* added shellapi header

* Added launcher to runner

* added functions to remove the abstract class error

* added the wox launcher dll

* Readded the reference to common

* modified the additional include directories for the release version

* changed the name to be displayed from Wox.Launcher to Launcher

* Localized the strings of Launcher

* Added a SearchResult Helper class

* Created a helper class to use indexer and return search results

* Added the main and settings file which declare most of the plugin interfaces

* Added references and renamed a class

* Added the images folder which contains the windows indexer icon

* Added the image

* Added the plugin.json file

* Minor changes in project files

* Added plugin.json to the project

* Modified the output paths to create the dll for the plugin in the correct location

* Refactored the code to make it unit testable

* Made the code unit testable and added unit tests for the indexer plugin

* Removed commented out code

* Code to terminate wox when we exit PowerToys

* Copy from Jeremy's fork PR

* Removed unnecessary plugins from source tree

* add missing files

* Fix postbuild event

* Added x64 for all Wox project - Debug mode

* Removed the AnyCPU config - Debug

* Added the build paths for release x64 (removed AnyCPU)

* Set warning level to 4 : Release

* Set warning level 4 : Debug

* set optimize code to false

* Removed notify icon component

* Removed setting UI XAML file and references

* Readded necessary callback functions

* Removed python path and python plugin functions

* Removed UI related to python path and the bindings related to that

* Remove python bindings

* Removed the localized string translations from pythonDirectory and SelectPythonDirectory

* Manually resolving conflicts

* Fix Wox build in project settings

* deleting unused project files

* Undo change internal

* Fix internal variable

* All wox exceptions in debug are getting rethrown, and thus causing the app to crash.  This change removes the debug specific code and allows exceptions to be handled the same was as release.

* Ported Indexer plugin to .net core 3

* Added the test project back

* Removed the .net framework indexer folder

* readding the plugin.json file

* Changed the anyCPU config to x64 for windows indexer plugin

* Adding dependency to wox project on the runner.  This should make sure the wox.exe can be build and launched by the runner so wox can run as a background process.

* Updating build dependencies.  Wox.Launcher wasn't built as part of the F5 Experience, and nor were the plugins

* removing locks from the ResultListBox code behind file.  All callbacks are accessed from the Main/UI thread.

* Remove anyCPU config and changed it to x64

* Removed anycpu of test proj

* Adding dependency

* Renaming executable to PowerLauncher.  Replaceing icons with placeholder. Deleting Docs folder

* Renaming AppData directory from 'Wox' to 'PowerLauncher'.  Also replacing issue link with powertoys github.

* adding support for xaml islands

* Added Neils UI code

* Replace Niels Code references

* Added assets and behaviours

* Add missing reference

* Add main view model binding

* Using proper executable name when closing 'PowerLauncher' process

* changed x:bind to Binding to avoid reference

* Updated bindings for launcher

* Added binding on searchBox

* Adding Directory.Build.targets file to kill the PowerLauncher pprocess on Build or Clean operations of all 'Launcher' projects.

* Fixed exception preventing result display

* Fixed issue with wpf marshalling events to a non UI thread

* Optimised result binding by inserting search result from multiple plugin in parallel

* copy resource files to output folder

* Corrected the output path for the indexer plugin

* windows indexer plugin is working

* Remove console print statement

* Added callback function for mouse click on search result

* Working App execution

* Cherry picked pinyin performance changes from jjw24's master branch

* change nuget package to msft for winrt compat

* Working up/down arrow key

* updating references and removing a few that seem uneeded for how stuff is referenced

* adding two back in

* Removing Squirrel dll.  unsure on updating so i kept that logic in

* Updated functionality on suggestion chosen in autosuggestbox

* Added the <useWPF> tag to remove the warning

* Removed an unnecessary <useWindowsForms> tag

* Removed the item group for properties from calculator plugin

* Removed the item group for properties from folder plugin

* Removed the item group for properties from indexer, program and shell plugin

* Removed itemgrp from wox.core and wox.test csprojs

* Removed the unnecessary wox files to clean up codebase

* Renamed Wox.Plugin.Indexer to Microsoft.Plugin.Indexer

* Renamed Wox.Launcher to Microsoft.Launcher

* To avoid DBNull to String typecast exception

* Added query submitted event to handle default action on clicking a list view item

* Merge pull request #42 from microsoft/AddPinyinPerformance

Cherry picked pinyin performance changes from jjw24's master branch

(cherry picked from commit b9e437c6cd)

* Rectyfying title display

* Title display working correctly

* Removed .yml files

* adding checks

* Making wox.csproj build wox assembly instead of powerlauncher

* Removing update logic from PowerLuanch App.xaml.cs as was done in Wox project.

* Making Query internals visible to wox.

* Update Powerlauncher nuget packages to be same version as wox.csproj.   Note:  FoxyWeavers.xsd change is automatically done as part of nuget package update.

* Updating build dependencies to so that wox.launcher depends on powerlauncher.csproj not wox.csproj

* Removing 'Wox' branded logos from powerlauncher.csproj as was done previously or wox.csproj

* Downgraded the library to the latest stable version

* single thread execution of the indexer plugin and InvalidOperationException due to connection being closed on ExecuteReader, handled separately

* 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

* Removing x86,ARM,ARM64, build configurations, as these were added accidentally when adding xaml island support.

* Removed STAThread

* Modified the output folder produced

* Renamed the dll produced

* Added dependency on PowerLauncher to the Microsoft.Launcher project

* modified the name of the dll in the indexer plugin

* 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

* Added fix for closing wox on pressing escape and app execution (#75)

* adding useWPF to get rid of warning

* 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

* Fixing xaml catastrophic failure, based on Miguels suggestion here: https://github.com/windows-toolkit/Microsoft.Toolkit.Win32/issues/210

* suggested fix

* removing unused mutex string

* Searches for keyword only in title and not content to improve the quality of results

* Display the title from System.Title directly instead of extracting it from the path

* Removed additional README instructions before moving to the powerToys repo

* Fix Query builder test (#86)

* Revert base viewModel class to fix tests.

* Removing unused post build and deploy scripts.

* tweaked url

* Update plugin.json

* Update README.md

* removed unused dep (#2080)

* removed reference to everything (#2133)

* SearchIndexer - Modifying QueryContentProperties and QuerySelectColumns to use System.FileName

* 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

* Set MainViewModel visibility to hidden on startup

* Enable CI build on PowerLauncher Branch (#2181)

* Enable CI build on PowerLauncher Branch

* Updated Nuget restore to latest and added AssetTargetFallback property

* tweak text (#2177)

* [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

* Added MSI support for Launcher (#2242)

* Fixed typo in output folder of calculator plugin

* Calculator plugin works

* Modified the name of the image to remove space as space is assumed to be a separator in wcx file

* Fixed typo in calculator dll

* Fixed typo in calculator plugin

* Shell, Program, Folde and indexer plugin working

* Added the ww plugin

* Fixed typos in the calculator plugin

* Delete file that was added unintentionally

* revert calculator rename changes

* Reverted other files changed

* Reverted renaming of file with space

* 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>

* 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>

* Changed to SystemChromeLow from Accent brush (#2272)

* Removed ListView animations

* Positioning ContextButtons and adding background.

* Disabling scrollbars for gridview items.

* Removed folder plugin

* removed deployment for uwp apps (#2298)

* Simulating Win+backspace key press, instead of Win+Control as it was launching WW (#2250)

* text is selected whenever launcher gets hidden and is then set to visible (#2315)

* Update nuget packages across solution to latest (#2334)

* simplifying the xaml and making things tighter (#2327)

* Setting runcommand as the default execution method, and turning off run as admin by default.

* Opening explorer if the user has types a file path.

* Enable PowerLauncher toggle

* Launcher MSI - Added a required dll and removed folder plugin (#2355)

* Modified the product.wxs file

* Added the x64 config

* Modify scoring algorithm for fuzzy search (#2361)

* Modify scoring

* modified to if else

* 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.

* Fixes an issue where PointerExit would hide the selected context buttons.

* Result List - Bad rebase overwrote margin and translation fields.

* Fixed process executing on clicking enter if no text in search box

* Codeflow cleanup when selectedItem is not null

* adjusting how programs are displayed. (#2369)

* Removing description from title

* adjusting subtitle

* removing accidently paste

* removing desc for uwp apps

* Revert "Removed folder plugin"

This reverts commit 064d638588.

We will use the folder plugin to better mimic the way the start menu and run prompt deal with directories

* Updating JetBrains.Annotations to 2020.1.0 to be consistent with other projects.

* Replacing submenu text with full path as 'Ctrl-Enter' doesn't do anything.  Also reducing the String of CreateOpenCurrentResult to fit in one line.

* - Making Open Directory subtitle fixed, and the title as the current directory.

* Adding back binding to QueryText and updating the cursor position similar to how wox originally did it.

* Add the folder plugin wxs back in (#2374)

* Deduping results for program plugin (#2375)

* Removing description from title

* adjusting subtitle

* removing accidently paste

* removing desc for uwp apps

* Getting dups removed from list if LNK exists

* adjusting subtitle

* removing accidently paste

* Getting dups removed from list if LNK exists

* changed to normal forloop

* Removing WinR (#2381)

* Updated program execution to call action on background thread. (#2370)

* PowerLauncher Settings integration

* Added cold start fix (#2385)

* - Fixes cursor jumping around issue.
- Seperating the ability to set the text from initiating a query.
- Plugins have to explicitly request the query be updated.
- Updating Folder plugin to explicty update the query on folder selection.
- Removing unused changes from 'Wox' that don't compile.

* Fixing gap in logic where query was triggering when programatically setting text.

Updating the binding and settext both will trigger the TextChanged event on a seperate event dispatcher.  For this reason we dynamically detect which eventhandler is most approapriate on the textchanging event.

* Updating the QueryText to the selected item when navigating up/down with the  arrow keys.

* Removing action on folder result, and displaying folder path on selecting a folder result from the folder plugin.

* Making folder results from the search indexer plugin behave like folder results from folder plugin.

* Folder Results open the explorer window when selected.

* The Open Current Folder result shouldn't change the query text to 'Open {folder path}' when selecting the results.

* Initializing query text strings.

* Defensive check for QueryText being empty

* Adding file watchers for UWP detecting when apps are installed or deleted and reindexing the uwp apps

* Removing unused namespace.

* Looking at files and not filtering is better because the timer is more likely to reset while an install is happening, preventing uneeded indexing

* Fix project references

* Fix MaxResultsToShow

* Fix Alt + Space display

* Fix settings defaults

Co-authored-by: Alekhya Reddy Kommuru <reddykalekhya@gmail.com>
Co-authored-by: bkudiess <bakudies@microsoft.com>
Co-authored-by: Divyansh <somm14divi@gmail.com>
Co-authored-by: ryanbodrug-microsoft <56318517+ryanbodrug-microsoft@users.noreply.github.com>
Co-authored-by: Barbara Kudiess <bkudiess@me.com>
Co-authored-by: Jeremy Wu <jeremy24wu@gmail.com>
Co-authored-by: Clint Rutkas <clint@rutkas.com>
Co-authored-by: udit3333 <udit3333@gmail.com>
Co-authored-by: Betsegaw (Beta) Tadele <betsegaw.ta@gmail.com>
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-28 15:06:01 -07:00
Niels Laute
371926b202 [Launcher] Fluent UX fixes for the results list (#2427)
* Fixed right margin

* Fixed issue where the background of the gridview would light up on pointerover.

* Fixed issue where application title/path run through command buttons. Centrally aligned image/icon.

* Updated the shadow so it looks more like a UWP ThemeShadow.
2020-04-27 17:35:33 -07:00
Tomas Raies
fe77a7e01a Merge branch 'dev/PowerLauncher' into dev/traies/build_features_launcher_integration 2020-04-27 11:52:20 -07:00
Tomas Raies
e6b43e19c2 Merge branch 'dev/build-features' into dev/traies/build_features_launcher_integration 2020-04-27 10:48:32 -07:00
Arjun
96b2145ba1 Merge branch 'master' into dev/build-features 2020-04-27 08:42:42 -07:00
Tomas Agustin Raies
8f8bfb9446 Make Edit Shortcut/Single Key window scrollable (#2409)
* Make Edit Shortcut/Single Key window scrollable

* Don't scroll header and buttons

* added margin beneath the add button
2020-04-26 21:57:51 -07:00
Lavius Motileng
8f2a33dcaa Added Image Resizer Settings (#2324)
* added image resizer settings

* updated string resource and binding

* added tests and removed sett advanced settings from image resizer

* fixed string resource spacing

* moved conbo box strings to string resource

* updated name of contributor

* Capitalized size names

* updated fallback encoder and sizers configs

* removed interence between settings | used static resource binding

* fixed build error
2020-04-26 17:34:03 -07:00
Tomas Agustin Raies
4946daeea4 Fix incompatible assemblies building issues (#2394)
* Remove reference to TwoWayIPCLib
* Downgraded System.Text.Json package in Settings.Lib
2020-04-26 16:44:14 -07:00
Arjun Balgovind
38ecc82e97 Improve warnings for KBM (dev/build-features) (#2386)
* Handled invalid input for single key remaps

* Added some functions

* Added better error message functions and finished warnings for edit keyboard

* Updated dropdown order of keys

* Added new warning template for shortcuts

* Added show warning on Apply code

* Removed old flyout code

* Fixed issue where tooltips were replaced on Apply

* Simplified == operator
2020-04-26 15:09:40 -07:00
Tomas Agustin Raies
7ec8d02c1f PowerLauncherSettings unit tests (#2276) 2020-04-26 13:15:40 -07:00
ryanbodrug-microsoft
a047ff2228 Looking at files and not filtering is better because the timer is more likely to reset while an install is happening, preventing uneeded indexing 2020-04-26 09:57:27 -07:00
ryanbodrug-microsoft
3dd181c912 Removing unused namespace. 2020-04-26 09:57:27 -07:00
ryanbodrug-microsoft
3753ecd8e5 Adding file watchers for UWP detecting when apps are installed or deleted and reindexing the uwp apps 2020-04-26 09:57:27 -07:00
ryanbodrug-microsoft
eaf05aa31a Defensive check for QueryText being empty 2020-04-25 12:24:57 -07:00
ryanbodrug-microsoft
ad0f965f3a Initializing query text strings. 2020-04-25 12:14:03 -07:00
ryanbodrug-microsoft
53e68c0567 The Open Current Folder result shouldn't change the query text to 'Open {folder path}' when selecting the results. 2020-04-25 12:14:03 -07:00
ryanbodrug-microsoft
9f609ac80f Folder Results open the explorer window when selected. 2020-04-25 12:14:03 -07:00
ryanbodrug-microsoft
2b04d7a92d Making folder results from the search indexer plugin behave like folder results from folder plugin. 2020-04-25 12:14:03 -07:00
ryanbodrug-microsoft
8f7305e347 Removing action on folder result, and displaying folder path on selecting a folder result from the folder plugin. 2020-04-25 12:14:03 -07:00
ryanbodrug-microsoft
9d3720557e Updating the QueryText to the selected item when navigating up/down with the arrow keys. 2020-04-25 12:14:03 -07:00
ryanbodrug-microsoft
aa79325d76 Fixing gap in logic where query was triggering when programatically setting text.
Updating the binding and settext both will trigger the TextChanged event on a seperate event dispatcher.  For this reason we dynamically detect which eventhandler is most approapriate on the textchanging event.
2020-04-25 12:14:03 -07:00
ryanbodrug-microsoft
15b7b20500 - Fixes cursor jumping around issue.
- Seperating the ability to set the text from initiating a query.
- Plugins have to explicitly request the query be updated.
- Updating Folder plugin to explicty update the query on folder selection.
- Removing unused changes from 'Wox' that don't compile.
2020-04-25 10:54:54 -07:00
Divyansh Srivastava
6290630787 Added cold start fix (#2385) 2020-04-25 10:27:36 -07:00
Tomas Raies
ad9e7b5eae Merge branch 'dev/PowerLauncher' into dev/traies/build_features_launcher_integration 2020-04-24 22:45:51 -07:00
Tomas Raies
fa31fbb343 PowerLauncher Settings integration 2020-04-24 22:29:42 -07:00
Arjun Balgovind
ca7b6f139f MSI update for SettingsV2 and KBM (#2351)
* Removed SettingsV2 deployment

* Adjusted project output directory

* Added all Settingsv2 and KBM files

* Added all Settingsv2 and KBM files

* Updated configuration and nuget packages

* Removed Interop.TwoWayIPCLib from MSI
2020-04-24 18:03:29 -07:00
Divyansh Srivastava
a6e8cbc50d Updated program execution to call action on background thread. (#2370) 2020-04-24 13:31:36 -07:00
Clint Rutkas
368640b59b Removing WinR (#2381) 2020-04-24 11:10:40 -07:00
Tomas Raies
22cb0b6afb Merge branch 'dev/build-features' into dev/traies/buld-features-integration 2020-04-24 10:26:06 -07:00
Clint Rutkas
08a7394c1b Deduping results for program plugin (#2375)
* Removing description from title

* adjusting subtitle

* removing accidently paste

* removing desc for uwp apps

* Getting dups removed from list if LNK exists

* adjusting subtitle

* removing accidently paste

* Getting dups removed from list if LNK exists

* changed to normal forloop
2020-04-24 09:35:21 -07:00
Alekhya
8a2fd5bf5e Add the folder plugin wxs back in (#2374) 2020-04-23 19:16:17 -07:00
ryanbodrug-microsoft
7add40ae93 Adding back binding to QueryText and updating the cursor position similar to how wox originally did it. 2020-04-23 19:04:01 -07:00
ryanbodrug-microsoft
d4da98bae5 - Making Open Directory subtitle fixed, and the title as the current directory. 2020-04-23 18:39:36 -07:00
ryanbodrug-microsoft
92bbd83b33 Replacing submenu text with full path as 'Ctrl-Enter' doesn't do anything. Also reducing the String of CreateOpenCurrentResult to fit in one line. 2020-04-23 18:39:36 -07:00
ryanbodrug-microsoft
b0c647e50c Updating JetBrains.Annotations to 2020.1.0 to be consistent with other projects. 2020-04-23 18:39:36 -07:00
ryanbodrug-microsoft
1ddd94b95c Revert "Removed folder plugin"
This reverts commit 064d638588.

We will use the folder plugin to better mimic the way the start menu and run prompt deal with directories
2020-04-23 18:39:36 -07:00
Clint Rutkas
845c6be95f adjusting how programs are displayed. (#2369)
* Removing description from title

* adjusting subtitle

* removing accidently paste

* removing desc for uwp apps
2020-04-23 18:25:57 -07:00
Tomas Agustin Raies
63d989cab4 Deprecate ATL based IPC wrapper library (#2248)
* Deprecate ATL based IPC wrapper library

* C# projects now use named pipe server implementations from two_way_pipe_message
through the interop C++/Cli library.

* Added Unit testing to interop library
2020-04-23 17:11:02 -07:00
Divyansh Srivastava
92daf156f5 Codeflow cleanup when selectedItem is not null 2020-04-23 16:16:15 -07:00
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
Clint Rutkas
81551104ce stopping deployment (#2356) 2020-04-23 15:38:07 -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
Tomas Raies
c35e70173b Enable PowerLauncher toggle 2020-04-22 22:11:48 -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
Tomas Raies
4331e9ae80 Merge branch 'dev/PowerLauncher' into dev/traies/build_features_launcher_integration 2020-04-22 17:52:38 -07:00
Clint Rutkas
9ae97de780 simplifying the xaml and making things tighter (#2327) 2020-04-22 15:59:32 -07:00
Tomas Agustin Raies
d941b31c45 Display Key Mappings in Settings (#2314)
* Move changes

* Display Key Mapping in Settings

* Fix display of empty keys list

Co-authored-by: Udit Singh <udsing@microsoft.com>
2020-04-22 14:55:45 -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
Clint Rutkas
29bbe84f69 removed deployment for uwp apps (#2298) 2020-04-21 15:50:54 -07:00
Arjun Balgovind
d079f0ca44 Changed output dir to modules and resolved conflicts (#2233) 2020-04-21 14:14:50 -07:00
Arjun Balgovind
394f52a725 Fix issue where key list would change based on keyboard state (#2221) 2020-04-21 13:43:52 -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
Tomas Agustin Raies
7856495d59 Fix compilation problems related to the Interop project (#2290)
* Added missing c++17 compile flag to common-md-flag
* Remove .NET native tool chain from Settings.UI release config
* This flag has to be removed because .Net Native does not support
  mixed assemblies, like PowerToysInterop.
2020-04-21 12:55:04 -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
udit3333
19ee55a303 Enable CI for dev/build-features branch (#2186)
* Updated Yaml to include dev/build-feature

* Added default icons
2020-04-21 10:29:02 -07: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
Alekhya
e14ef2c671 Added MSI support for Launcher (#2242)
* Fixed typo in output folder of calculator plugin

* Calculator plugin works

* Modified the name of the image to remove space as space is assumed to be a separator in wcx file

* Fixed typo in calculator dll

* Fixed typo in calculator plugin

* Shell, Program, Folde and indexer plugin working

* Added the ww plugin

* Fixed typos in the calculator plugin

* Delete file that was added unintentionally

* revert calculator rename changes

* Reverted other files changed

* Reverted renaming of file with space
2020-04-20 14:33:27 -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
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
Lavius Motileng
cae77ae291 added shortcut guide settings (#2247) 2020-04-20 06:03:26 -07: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
Arjun Balgovind
fc7103f56e Keyboard Manager UI tweaks (dev/build-features) (#2179)
* Fix Issue 2163

* Commented out profiles UI

* Added banded list view rows

* Fixed spacing
2020-04-17 18:06:36 -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
Lavius Motileng
3fc738b53a Added Tests and Refactored code (#2129)
* Added Tests and Refactored code

* removed un-used file

* delete test files when test completes

* removed extra build configs

* added clean-up method

* removed unused variable

* re-added removed attributtion

* added error handling and move strings to string resource

* added error handling to file explorer view model

* moved varible assignment to if statement block

* removed savin of settings file from the UI

* re-added open source notice

* added missing controls for powerrename and fancy zones

* removed dead coded

* remove un-used configuration

* added error handling for file saving and updated powerreanme constructor

* removed added configurations

* added settings state
2020-04-17 15:25:08 -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
Niels Laute
2cfcad6a50 [Settings V2] Release notes link + minor styling fixes (#2176)
* Added release notes link

* Minor styling fixes
2020-04-16 16:19:52 -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
Lavius Motileng
10c0325f18 added Fancy Zones Settings (#2161) 2020-04-16 11:45:27 -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
Udit Singh
5d9b71b038 Merge Master Latest: 4/15/20 2020-04-15 07:55:17 -07:00
Alekhya Reddy
65276f45f1 Merge branch 'master' of https://github.com/microsoft/PowerToys into dev/PowerLauncher 2020-04-14 21:27:04 -07:00
Clint Rutkas
95eb17bdb7 xaml adjustments, including contributors (#2118)
* xaml adjustments

* verbage change.
2020-04-14 10:42:27 -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
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
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
Niels Laute
3a46f4589b Updated KeyboardManager page to the right styles/margins. Updated visuals for the mapped keys. (#2031) 2020-04-10 12:11:21 -07:00
Clint Rutkas
e02b8e227d Merge pull request #98 from microsoft/adjustUrl
tweaked url
2020-04-09 16:20:22 -07: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
0ada26ccc2 Merge pull request #89 from microsoft/EditREADME
Removed additional README instructions before moving to the powerToys public branch
2020-04-09 10:27:04 -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
Alekhya Reddy
70b4b33823 Removed additional README instructions before moving to the powerToys repo 2020-04-09 08:39:57 -07:00
Udit Singh
2aa9f4c079 Updated Settings UI project output directory 2020-04-08 21:38:34 -07: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
ryanbodrug-microsoft
cf54a4919b Adding a build dependency to the runner project for PowerKeys. This should allow developers to F5 with the runner as startup and have all the dependencies properly build, and thus make the PowerKeys UI functional. 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
udit3333
bc4ea885dc Add keyboard manager settings ui[Part-1] (#1979)
* Added view and data models for keyboard remapper settings page

* Added intial UI of Keyboard manager settings page

* Fixed Sln file configs

* Resolve UI changes PR comments

* Added UId for UI elements

* Moved Ui strings to resx

* resolve stylecop warnings

* Fixed missing tag from resx file
2020-04-08 13:53:09 -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
7151d5eac2 Added dependency on PowerLauncher to the Microsoft.Launcher project 2020-04-08 10:39:02 -07:00
Alekhya Reddy
5e28d39f09 Renamed the dll produced 2020-04-08 10:38:26 -07:00
Tomas Raies
c7774d3d6c Add Settings.UI as dependency of runner 2020-04-08 10:21:40 -07:00
Tomas Raies
a85b84fd56 Stylecop compliance 2020-04-08 10:21:40 -07:00
Tomas Raies
443b3c8b82 PowerLauncher Settings
* Cherry Picked commit branch due to merge conflicts
* add HotkeySettingsControl
* add localization strings
* add PowerLauncherPage ViewModel
* fix build dependency - settings.ui.runner depends on TwoWayIPCLib
* uncomment IPC settings propagation
2020-04-08 10:21:40 -07:00
Alekhya Reddy
d69383d78b Modified the output folder produced 2020-04-08 10:13:48 -07: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
Alekhya Reddy
c4573e46a9 Removed STAThread 2020-04-08 09:19:49 -07:00
ryanbodrug-microsoft
3b12d70e45 Merge pull request #67 from microsoft/launcherUI-mergemaster
Merge LauncherUI into master
2020-04-08 07:37:51 -07: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
ryanbodrug-microsoft
2afc268a04 Updating build dependencies to so that wox.launcher depends on powerlauncher.csproj not wox.csproj 2020-04-07 14:52:13 -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
3015ffd950 Settings V2: new FancyZones, ImageResizer XAML, sidepanels are now in the settings pages for more flexibility (#1792)
* Added FZ settings page

* Added FZ page

* Added sidepanel to all settings pages + UX improvements. New Fancy zones page.

* Added ImageResizer page + sidepanel improvements

* Revert "Added ImageResizer page + sidepanel improvements"

This reverts commit 75bc37a6ba.

* Removed contributors on general page

* Added ImageResizer page
2020-04-07 14:42:14 -07:00
Lavius Motileng
8c465d22e0 updated general settings model 2020-04-07 14:42:14 -07:00
Lavius Motileng
f1951d0d5f Setting v2: added power preview settings (#1702)
* added power preview settings

* Added link to module oververview

* create settings file if one is not found

* removed run oon start up speficic callback

* Update src/core/Microsoft.PowerToys.Settings.UI.Lib/ModuleSettings.cs

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

* fixed merge conflicts

Co-authored-by: Andrey Nekrasov <yuyoyuppe@users.noreply.github.com>
2020-04-07 14:42:14 -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
Lavius Motileng
2a0e92e4e2 add two way IPC 2020-04-07 14:19:33 -07:00
Niels Laute
b351e60d52 Added a General tab page with XAML layout and controls according to spec (#1546) 2020-04-07 13:49:14 -07:00
Clint Rutkas
69e7a581fd fixed default loading. 2020-04-07 13:49:13 -07:00
Clint Rutkas
0a20be85ab just diff icons to make it much clearer. still hitting the xaml parse errror a ton ..... :( 2020-04-07 13:49:13 -07:00
Clint Rutkas
3f5a54f9f1 Added in generic ViewModel 2020-04-07 13:49:13 -07:00
Clint Rutkas
e2c7941542 using non-winui navview for stability, fixed revert error on runner's csproj 2020-04-07 13:49:13 -07:00
Clint Rutkas
8433119ac9 getting navview unbroke 2020-04-07 13:49:13 -07:00
Clint Rutkas
43589096c3 Revert "fixed runtime xaml load failure"
This reverts commit f5686cc154.
2020-04-07 13:49:13 -07:00
Clint Rutkas
05d14166e4 code directly borrowed from the WinUI app ... still same issue 2020-04-07 13:48:20 -07:00
Clint Rutkas
0d0f7724b6 checking in code for navview as a test 2020-04-07 13:48:20 -07:00
Lavius Motileng
d28152566d fixed runtime xaml load failure 2020-04-07 13:48:20 -07:00
Lavius Motileng
fb805de552 fixed 2020-04-07 13:47:55 -07:00
Lavius Motileng
5ade906a7b archive 2020-04-07 13:46:33 -07:00
Lavius Motileng
8f02cbc234 updated namespaces 2020-04-07 13:46:33 -07:00
Lavius Motileng
59a2415a0d Lavius / Base Project for New Settings Project (#1481)
* base WPF Project

* Added tests

* Update build configuration .sln file

* removed unnessesary asset files
2020-04-07 13:46:06 -07:00
Alekhya Reddy
c1b3686190 adding checks 2020-04-07 11:29:46 -07:00
Divyansh Srivastava
662eeafbb5 Merge pull request #58 from microsoft/launcherUIAppExecution
Launcher UI app execution
2020-04-07 09:35:18 -07: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
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
a9b6f976a2 Merge pull request #44 from microsoft/dev/crutkas/updatingNugetPackages
Dev/crutkas/updating nuget packages
2020-04-04 12:05:04 -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
Clint Rutkas
5b02501038 Merge pull request #41 from microsoft/dev/crutkas/fixCircularReference
change nuget package to msft for winrt compat
2020-04-03 14:37:04 -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
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
Divyansh
5a13850043 Fixed issue with wpf marshalling events to a non UI thread 2020-04-02 10:10:36 -07: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
ryanbodrug-microsoft
59a2c5ce9c Merge pull request #28 from microsoft/user/ryanbod/rename_wox
Renaming Wox references
2020-03-30 11:30:17 -07:00
ryanbodrug-microsoft
73a7adea63 Using proper executable name when closing 'PowerLauncher' process 2020-03-30 09:34:58 -07:00
Barbara Kudiess
64416aef2b Add main view model binding 2020-03-27 16:10:49 -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
Barbara Kudiess
f95bc17e39 Replace Niels Code references 2020-03-27 15:32:37 -07:00
Divyansh
64a4451868 Added Neils UI code 2020-03-27 15:20:42 -07:00
Barbara Kudiess
b8e957ff9a adding support for xaml islands 2020-03-27 15:04:34 -07:00
ryanbodrug-microsoft
7feaa505c2 Renaming AppData directory from 'Wox' to 'PowerLauncher'. Also replacing issue link with powertoys github. 2020-03-27 14:11:00 -07:00
ryanbodrug-microsoft
b0e6e31d92 Renaming executable to PowerLauncher. Replaceing icons with placeholder. Deleting Docs folder 2020-03-27 14:11:00 -07:00
Barbara Kudiess
71992f5b17 Merge pull request #18 from microsoft/dotnet-core-upgrade
.NET Core Upgrade
2020-03-27 13:38:37 -07:00
Barbara Kudiess
d665c37bc3 Adding dependency 2020-03-27 11:30:44 -07:00
Barbara Kudiess
c5df7d4249 Merge branch 'master' into dotnet-core-upgrade
# Conflicts:
#	src/modules/launcher/Wox.Core/Wox.Core.csproj
2020-03-27 10:25:39 -07:00
Alekhya
cdad6f74cf Merge pull request #27 from microsoft/UpdateConfigsTox64
Update configs tox64
2020-03-26 18:20:17 -07:00
Alekhya Reddy
549de55b57 Removed anycpu of test proj 2020-03-26 18:05:07 -07:00
Alekhya Reddy
686432aa8a Remove anyCPU config and changed it to x64 2020-03-26 18:03:42 -07:00
ryanbodrug-microsoft
2673b9dd03 Merge pull request #25 from microsoft/user/ryanbod/adding_build_dependency_on_woxlauncher_and_plugins_on_wox
Updating build dependencies.  Wox.Launcher wasn't built as part of th…
2020-03-26 13:17:35 -07:00
ryanbodrug-microsoft
d6fce7c099 removing locks from the ResultListBox code behind file. All callbacks are accessed from the Main/UI thread. 2020-03-25 16:34:56 -07:00
Alekhya
93e2cc367b Merge pull request #21 from microsoft/removePythonDependency
Remove python dependency in Wox code
2020-03-25 16:30:10 -07:00
ryanbodrug-microsoft
de3ee932b6 Updating build dependencies. Wox.Launcher wasn't built as part of the F5 Experience, and nor were the plugins 2020-03-25 15:46:34 -07:00
Barbara Kudiess
b051a3981d Merge branch 'master' into dotnet-core-upgrade
# Conflicts:
#	src/modules/launcher/Wox/Wox.csproj
2020-03-25 14:40:41 -07:00
ryanbodrug-microsoft
ed3b4088d9 Merge pull request #24 from microsoft/user/ryanbod/add_wox_build_dependency_to_runner
Adding dependency to wox project on the runner.  This should make sur…
2020-03-25 13:25:15 -07:00
ryanbodrug-microsoft
2aae667e15 Adding dependency to wox project on the runner. This should make sure the wox.exe can be build and launched by the runner so wox can run as a background process. 2020-03-25 11:46:07 -07:00
Alekhya
a6604172d9 Merge pull request #23 from microsoft/portIndexerPlugin
Port indexer plugin to .NET Core 3.1
2020-03-25 11:06:43 -07:00
ryanbodrug-microsoft
572a121492 Merge pull request #22 from microsoft/user/ryanbod/remove_throw_from_log_exception_in_debug
Remove code to rethrow exceptions in debug
2020-03-25 09:28:14 -07:00
Alekhya Reddy
1822f36aba Changed the anyCPU config to x64 for windows indexer plugin 2020-03-24 16:27:49 -07:00
Alekhya Reddy
0c8e3515fe readding the plugin.json file 2020-03-24 16:18:26 -07:00
Alekhya Reddy
5b5f48014b Removed the .net framework indexer folder 2020-03-24 16:15:58 -07:00
Alekhya Reddy
d9e1dce393 Added the test project back 2020-03-24 16:13:02 -07:00
Alekhya Reddy
79fd5dc7b1 Ported Indexer plugin to .net core 3 2020-03-24 16:07:17 -07:00
ryanbodrug-microsoft
7183bea412 All wox exceptions in debug are getting rethrown, and thus causing the app to crash. This change removes the debug specific code and allows exceptions to be handled the same was as release. 2020-03-24 16:01:37 -07:00
Barbara Kudiess
6e2ad28676 Fix internal variable 2020-03-24 14:21:06 -07:00
Barbara Kudiess
444b0b30c3 Undo change internal 2020-03-24 14:07:52 -07:00
Barbara Kudiess
cdef2dee5a deleting unused project files 2020-03-24 13:54:06 -07:00
Barbara Kudiess
a1036577a2 Fix Wox build in project settings 2020-03-24 13:37:49 -07:00
Barbara Kudiess
76d402fcfa Merge branch 'master' into dotnet-core-upgrade
# Conflicts:
#	src/modules/launcher/Plugins/Wox.Plugin.BrowserBookmark/Wox.Plugin.BrowserBookmark.csproj
#	src/modules/launcher/Plugins/Wox.Plugin.Calculator/Wox.Plugin.Calculator.csproj
#	src/modules/launcher/Plugins/Wox.Plugin.Color/Wox.Plugin.Color.csproj
#	src/modules/launcher/Plugins/Wox.Plugin.ControlPanel/Wox.Plugin.ControlPanel.csproj
#	src/modules/launcher/Plugins/Wox.Plugin.Everything/Wox.Plugin.Everything.csproj
#	src/modules/launcher/Plugins/Wox.Plugin.Folder/Wox.Plugin.Folder.csproj
#	src/modules/launcher/Plugins/Wox.Plugin.Indexer/Properties/AssemblyInfo.cs
#	src/modules/launcher/Plugins/Wox.Plugin.Indexer/Wox.Plugin.Indexer.csproj
#	src/modules/launcher/Plugins/Wox.Plugin.PluginIndicator/Wox.Plugin.PluginIndicator.csproj
#	src/modules/launcher/Plugins/Wox.Plugin.PluginManagement/Wox.Plugin.PluginManagement.csproj
#	src/modules/launcher/Plugins/Wox.Plugin.Program/Wox.Plugin.Program.csproj
#	src/modules/launcher/Plugins/Wox.Plugin.Shell/Wox.Plugin.Shell.csproj
#	src/modules/launcher/Plugins/Wox.Plugin.Sys/Wox.Plugin.Sys.csproj
#	src/modules/launcher/Plugins/Wox.Plugin.Url/Wox.Plugin.Url.csproj
#	src/modules/launcher/Plugins/Wox.Plugin.WebSearch/Wox.Plugin.WebSearch.csproj
#	src/modules/launcher/Wox.Core/Wox.Core.csproj
#	src/modules/launcher/Wox.Infrastructure/Wox.Infrastructure.csproj
#	src/modules/launcher/Wox.Plugin/Wox.Plugin.csproj
#	src/modules/launcher/Wox.Test/Wox.Test.csproj
#	src/modules/launcher/Wox/Wox.csproj
2020-03-23 17:28:10 -07:00
Alekhya Reddy
75e5b1c7cd Manually resolving conflicts 2020-03-23 16:18:52 -07:00
Divyansh Srivastava
7af2f4a98a Merge pull request #20 from microsoft/somil55/removeSystemtray
Somil55/remove systemtray
2020-03-23 16:09:26 -07:00
Alekhya Reddy
08bcebfc1c Removed the localized string translations from pythonDirectory and SelectPythonDirectory 2020-03-23 15:38:35 -07:00
Alekhya Reddy
ae31ecf706 Remove python bindings 2020-03-23 15:35:06 -07:00
Alekhya Reddy
4dac1ae9f8 Removed UI related to python path and the bindings related to that 2020-03-23 15:33:39 -07:00
Alekhya Reddy
db253cdaf8 Removed python path and python plugin functions 2020-03-23 15:23:09 -07:00
Divyansh
4b05929dd5 Readded necessary callback functions 2020-03-23 14:54:11 -07:00
Divyansh
7c174b9c05 Removed setting UI XAML file and references 2020-03-23 14:37:43 -07:00
Divyansh
6414fe8cf8 Removed notify icon component 2020-03-23 12:13:13 -07:00
Alekhya
8e2b18ea1d Merge pull request #19 from microsoft/removePluginsSourceTree
Remove plugins from source tree and convert anyCPU config to x64
2020-03-23 10:56:18 -07:00
Alekhya
c57b55ede6 Merge pull request #15 from microsoft/terminateLauncher
Terminate wox when we exit PowerToys
2020-03-23 08:53:54 -07:00
Alekhya Reddy
98b9503461 set optimize code to false 2020-03-20 17:31:27 -07:00
Alekhya Reddy
417310b5c5 Set warning level 4 : Debug 2020-03-20 17:23:09 -07:00
Alekhya Reddy
08d0db87d1 Set warning level to 4 : Release 2020-03-20 17:19:13 -07:00
Alekhya Reddy
18bf1400a7 Added the build paths for release x64 (removed AnyCPU) 2020-03-20 17:05:58 -07:00
Alekhya Reddy
3b3dca4a26 Removed the AnyCPU config - Debug 2020-03-20 16:53:47 -07:00
Alekhya Reddy
82ee5bf1fd Added x64 for all Wox project - Debug mode 2020-03-20 16:40:39 -07:00
Alekhya Reddy
398666a8b4 Merge branch 'master' of https://github.com/microsoft/Launcher into terminateLauncher 2020-03-20 16:20:50 -07:00
Barbara Kudiess
7d1e60a019 Fix postbuild event 2020-03-20 15:01:38 -07:00
bkudiess
d7736f798b add missing files 2020-03-20 14:51:02 -07:00
Alekhya Reddy
c20be3dbea Removed unnecessary plugins from source tree 2020-03-20 14:46:11 -07:00
bkudiess
0f78f1b333 Copy from Jeremy's fork PR 2020-03-20 09:43:42 -07:00
Alekhya
2efe58209f Merge pull request #7 from microsoft/windowsIndexerPlugin
Windows indexer plugin
2020-03-20 08:38:41 -07:00
Alekhya Reddy
7a3c326442 Code to terminate wox when we exit PowerToys 2020-03-18 16:13:36 -07:00
Alekhya Reddy
1842c9ed3b Merge branch 'master' of https://github.com/microsoft/Launcher into windowsIndexerPlugin 2020-03-18 14:53:41 -07:00
Alekhya
855f092682 Merge pull request #4 from microsoft/launcherInRunner
Added wox to the runner of PowerToys
2020-03-18 14:05:37 -07:00
Alekhya Reddy
cafe267bf0 Removed commented out code 2020-03-18 13:57:01 -07:00
Alekhya Reddy
ca916deda9 Made the code unit testable and added unit tests for the indexer plugin 2020-03-17 15:37:30 -07:00
Alekhya Reddy
69758b80a5 Refactored the code to make it unit testable 2020-03-17 11:28:21 -07:00
Alekhya Reddy
7164260f6e Modified the output paths to create the dll for the plugin in the correct location 2020-03-17 06:07:21 +05:30
Alekhya Reddy
f5e474f250 Added plugin.json to the project 2020-03-17 06:03:11 +05:30
Alekhya Reddy
9a84fc5b47 Minor changes in project files 2020-03-17 06:01:34 +05:30
Alekhya Reddy
248a689de2 Added the plugin.json file 2020-03-17 06:01:05 +05:30
Alekhya Reddy Kommuru
4da33b81fd Added the image 2020-03-16 17:25:04 -07:00
Alekhya Reddy Kommuru
657a1aaed5 Added the images folder which contains the windows indexer icon 2020-03-16 14:58:25 -07:00
Alekhya Reddy Kommuru
415b7bf4d1 Added references and renamed a class 2020-03-16 14:45:37 -07:00
Alekhya Reddy Kommuru
ea75a56d33 Added the main and settings file which declare most of the plugin interfaces 2020-03-16 14:42:40 -07:00
Alekhya Reddy Kommuru
8e45c41f20 Created a helper class to use indexer and return search results 2020-03-16 14:37:28 -07:00
Alekhya Reddy Kommuru
dacd13ee30 Added a SearchResult Helper class 2020-03-16 14:30:38 -07:00
Alekhya
40cc4f32d0 Merge pull request #2 from microsoft/updateREADME
Update readme
2020-03-16 09:18:41 -07:00
Alekhya Reddy Kommuru
9537dd793d Localized the strings of Launcher 2020-03-16 08:34:26 -07:00
Alekhya Reddy Kommuru
16d1245b64 changed the name to be displayed from Wox.Launcher to Launcher 2020-03-16 08:03:53 -07:00
Alekhya Reddy Kommuru
06eac367f2 modified the additional include directories for the release version 2020-03-16 08:01:00 -07:00
Alekhya Reddy Kommuru
78a6ab89f9 Readded the reference to common 2020-03-16 07:55:51 -07:00
Alekhya Reddy Kommuru
f77bacb8a6 added the wox launcher dll 2020-03-16 07:55:27 -07:00
Alekhya Reddy Kommuru
94387e8698 added functions to remove the abstract class error 2020-03-16 07:46:56 -07:00
Alekhya Reddy Kommuru
aebdc0c5d6 Added launcher to runner 2020-03-16 07:45:01 -07:00
Alekhya Reddy Kommuru
113c39c11c added shellapi header 2020-03-16 07:38:35 -07:00
Alekhya Reddy Kommuru
078656fb8b Added the code to launch another process 2020-03-16 07:38:12 -07:00
Alekhya Reddy Kommuru
c4b49ce6cd Added launcher project and changed references to common 2020-03-16 07:34:05 -07:00
Alekhya
174789e2e1 Merge pull request #1 from microsoft/integrateWox
Integrate Wox projects into PowerToys
2020-03-13 11:33:50 -07:00
Alekhya Reddy Kommuru
eb535acb95 minor modifications in README 2020-03-13 11:29:50 -07:00
Alekhya Reddy Kommuru
5540c8b06f updated README with setup, build launcher and pull code from other repositories 2020-03-13 11:25:53 -07:00
Alekhya Reddy Kommuru
258acfdf5a fixing merge conflicts 2020-03-12 16:03:40 -07:00
Microsoft Open Source
d875dab29b Initial SECURITY.md commit 2020-03-12 14:43:34 -07:00
Microsoft Open Source
1f9b2cd48c Initial README.md commit 2020-03-12 14:43:33 -07:00
Microsoft Open Source
6ee4a6a5b4 Initial LICENSE commit 2020-03-12 14:43:32 -07:00
Microsoft Open Source
4989396abc Initial CODE_OF_CONDUCT.md commit 2020-03-12 14:43:30 -07:00
Alekhya Reddy Kommuru
de47efdda5 Removed the unneeded plugins 2020-03-11 16:54:11 -07:00
Alekhya Reddy Kommuru
95231faa87 removed the tests for URL plugin 2020-03-11 16:53:57 -07:00
Alekhya Reddy Kommuru
567b846de1 Added the folder plugin 2020-03-11 16:41:08 -07:00
Alekhya Reddy Kommuru
c2d8ed271b Modified the post build script of wox infrastructure project 2020-03-11 14:49:07 -07:00
Alekhya Reddy Kommuru
e38224d758 Reverted the platform target to All CPU, was made x86 by mistake 2020-03-11 14:48:26 -07:00
Alekhya Reddy Kommuru
db05cc48e8 Modified output folder from Wox to launcher 2020-03-10 15:23:35 -07:00
Alekhya Reddy Kommuru
5684c450f4 Changed wox to launcher in the build events 2020-03-10 15:20:10 -07:00
Alekhya Reddy Kommuru
4bcf8215b6 Modified build paths for plugins in debug mode 2020-03-10 15:06:28 -07:00
Alekhya Reddy Kommuru
36a3b6f479 Modified the build paths for plugins in Release mode 2020-03-10 15:04:57 -07:00
Alekhya Reddy Kommuru
b31215c257 Changed release build paths of base projects 2020-03-10 15:02:52 -07:00
Alekhya Reddy Kommuru
1f558590a8 Changed the debug output file paths and build events for base projects 2020-03-10 15:01:21 -07:00
Alekhya Reddy Kommuru
ad5e2a3d0e Added the wox projects to the powerToys solution 2020-03-10 14:53:52 -07:00
Alekhya Reddy Kommuru
b26255e60a Add 'src/modules/launcher/' from commit '28acd466b352a807910cebbc74477d3173b31511'
git-subtree-dir: src/modules/launcher
git-subtree-mainline: 852689b3df
git-subtree-split: 28acd466b3
2020-03-10 14:15:29 -07:00
Jeremy Wu
28acd466b3 Merge branch 'dev' 2020-03-01 20:12:51 +11:00
Jeremy Wu
3184f8d275 Update readme with main features released from this fork (#149)
* Update readme with main features released from this fork

* update
2020-02-27 00:16:09 +02:00
Jeremy Wu
8ec78688b8 Add empty actionParameters check (#148) 2020-02-27 00:14:45 +02:00
Jeremy Wu
e5cc2ccaab Merge pull request #145 from jjw24/pluginInitFail
plugin init fail continue - create query builder and re-enable tests.
2020-02-26 07:25:20 +11:00
Jeremy Wu
cbcca9cf5b Merge branch 'dev' 2020-02-26 07:02:11 +11:00
Jeremy Wu
cecb65cd40 Installed & portable mode: Enhance auto updates (#142)
* Add handling of portable mode when updating

Additionally: 
1. Changed getting version from internally rather than from RELEASES file
2. Added PortableDataPath as a constant so can be used  to determine if portable mode is used

* Fix incorrectly wired auto update event handler

* Fix Sys plugin missing Shutdown command icon

* Add check update command to Sys plugin

* Add message if current Wox version is latest

* Add default silent when auto checking updates in background

Silent when current is still the latest version

* Move UserData folder to new version location

* Changes per review

1. Move IsPortableMode to Constant
2. Merge if statement

* Per comment- change variables to be more descriptive

UpdateInfo and UpdateManager renamed

* Per comment- Add exception handling and message if failed.
2020-02-25 12:08:51 +02:00
clueless
e1e7387c73 create query builder and re-enable tests.
make the plugin manager plugin data the source for disabled plugins
2020-02-22 11:02:07 +02:00
Jeremy Wu
73705bec23 Merge pull request #144 from jjw24/pluginInitFail
Plugininitfail
2020-02-22 09:47:19 +11:00
clueless
cb9e045c7f catch plugin init fails - stop Wox from not starting up and crushing and disable and explain the user what is the probalmatic plugin 2020-02-21 23:12:58 +02:00
Jeremy Wu
56c2964e96 Fix issue incorrect dll reference (#141) 2020-02-15 08:24:29 +02:00
Jeremy Wu
d5f223fc88 Add file path to files search result in Folder Plugin (#139)
* Add file path to files in Folder Plugin

* Add folder subtitle display path when wildcard '>' is used
2020-02-15 08:23:17 +02:00
Jeremy Wu
9b970ae1a4 Merge pull request #134 from jjw24/everythingFixes
Everythingfixes
2020-01-26 19:05:30 +09:30
clueless
fec7912870 remove 2020-01-26 11:14:38 +02:00
Jeremy Wu
8bb855e657 Merge pull request #133 from jjw24/clueless/pinyinFixBug
fix
2020-01-26 18:26:08 +09:30
clueless
9488864f47 everything updates -
- support ~cancellation in api.
- API refactoring.
- API - locked to enable collisions.
- other small changes
2020-01-26 01:34:11 +02:00
clueless
beefc6a86e fix 2020-01-25 00:12:32 +02:00
Jeremy Wu
07310c7714 Fix pinyin fuzzysearch (#131)
* fix typo

* make function obsolete 

it is not used in the code

* rewrite the function that converts chinese chars to pinyin

1. Only difference in this rewrite is instead of returning 2D array, return as a combined single string of all the possible pinyin combination. Since fuzzy search does character matching, this shouldn't be a problem.

2. Added a function that returns a custom language converter. In this case Pinyin converter. New converters can be added.

* Use new language converter param + strip out ScoreForPinyin method

* update

* Change parameter name

* fix failing tests

* WIP

* Remove todo

There should be some distinction between score after precision filter and actual raw score derived from FuzzySearch. Although so far RawScore is used in testing, but it seems to describe the structure. Originally it was to avoid assigning score directly as it would be hard to reason about that output of FuzzySearch score is.

* Add constructors, remove default to enforce required properties

* remove setting rawscore in SearchPrecision

* Change method name to reflect intention

* Change parameter name + update comment

* update

* Remove params comment

Co-authored-by: theClueless <14300910+theClueless@users.noreply.github.com>
2020-01-20 01:06:16 +02:00
Jeremy Wu
ee93f7e018 Merge pull request #130 from jjw24/clueless/packrefMine
Update sln to use package references
2020-01-18 20:59:50 +11:00
Jeremy Wu
21fae1f457 Merge branch 'dev' 2020-01-18 12:10:38 +11:00
AT
7ce45d2b11 fix pre build event 2020-01-17 14:56:26 +02:00
Jeremy Wu
f39144cc51 Merge pull request #119 from theClueless/deploymentUpdates
Auto update improvements: Updater
2020-01-15 09:08:45 +11:00
AT
725df15012 update to package reference 2020-01-14 21:10:54 +02:00
Jeremy Wu
6cad4bc986 Merge pull request #112 from theClueless/fuzzyMatchUpdates
Fuzzy match logic update
2020-01-14 08:26:45 +11:00
Jeremy Wu
504c08a0fc Update test per comment 2020-01-14 07:53:59 +11:00
Jeremy Wu
592f1cafdb update allSubstringsContainedInCompareString calculation as per comment 2020-01-14 07:36:53 +11:00
Jeremy Wu
71d8c2080c update comment typo 2020-01-14 07:30:40 +11:00
Jeremy Wu
6095933847 simplify condition as per comment 2020-01-14 07:29:21 +11:00
theClueless
92febf0b00 Merge pull request #117 from jjw24/folderplugin_updatesearch_sorting
Folder plugin updates to searching and sorting of results
2020-01-13 00:51:27 +02:00
theClueless
1c711aef3c Merge pull request #124 from jjw24/update_readme_badges
Update readme badges
2020-01-13 00:22:14 +02:00
Jeremy Wu
0bec780a1b Update yaml file comment 2020-01-13 07:50:34 +11:00
Jeremy Wu
ed01a46a3f Update maintenance and all releases badge 2020-01-13 07:46:27 +11:00
Jeremy Wu
4f8fa9f9eb Merge branch 'master' into update_readme_badges 2020-01-13 07:42:03 +11:00
Jeremy Wu
2f99ccdd4a Merge pull request #123 from jjw24/theClueless-updateReadme-withdevops
Update README.md
2020-01-13 06:54:43 +11:00
Jeremy Wu
2dd1013075 Update to new org name 2020-01-13 06:50:39 +11:00
theClueless
6552aeaa3b Update README.md
update to show the azure devops pipeline badge
2020-01-12 13:06:08 +02:00
theClueless
b92b93e233 Merge pull request #122 from jjw24/azure-pipelines
Set up CI with Azure Pipelines
2020-01-12 12:53:53 +02:00
theClueless
10036b148c Update azure-pipelines.yml
updated to work on both dev and master and update pool to work
2020-01-12 12:50:03 +02:00
Jeremy Wu
cccec8382f Set up CI with Azure Pipelines
[skip ci]
2020-01-11 12:16:13 +11:00
AT
d74b5c8764 another 2020-01-09 01:13:56 +02:00
AT
0f19010e52 oops 2020-01-09 01:10:13 +02:00
Jeremy Wu
ac6ee28c5f Add sorting
order by result title asc, then type being folder first.
2020-01-08 21:50:29 +11:00
Jeremy Wu
c509c02546 Update search wild card
when retrieving folders and files based search term, use wildcard to match everything before and after search term
2020-01-08 20:39:34 +11:00
Jeremy Wu
1258c44bad Merge pull request #104 from theClueless/queryPluginsUpdates
Querypluginsupdates
2020-01-08 07:34:07 +11:00
Jeremy Wu
fe65e7a0c4 Merge branch 'WIP_fuzzyMatchUpdates' into fuzzyMatchUpdates 2020-01-07 22:31:21 +11:00
Jeremy Wu
76727d09bf Update StringMatcher's UserSettingSearchPrecision property type
makes more sense and less conversion to int for actual precision score
2020-01-07 22:30:36 +11:00
Jeremy Wu
2a49b3899a Update tests
Two scoring changes only as a result of substring matching.
2020-01-07 20:26:26 +11:00
AT
49b85d150c initial work, added github to setting,
change update manage from static
created log folder prop for log class
2020-01-07 02:34:46 +02:00
Jeremy Wu
b54241a5b2 Update scoring for all substrings contained in compare string 2020-01-07 08:28:27 +11:00
Jeremy Wu
78a2086535 Remove containedFully variable state
Not necessary to have and not needed to add another dimension to the scoring
2020-01-07 08:04:56 +11:00
Jeremy Wu
24cc5dbaa0 Add unit tests for checking substrings
checking if all substrings contained in compareString
2020-01-07 07:55:02 +11:00
Jeremy Wu
0093838a75 fix variable state which failed to represent correctly
Failed if query text is 'sql servman'- returns true when should be false
- moved it up so evaluation is included in the final substring check
2020-01-07 07:25:13 +11:00
Jeremy Wu
dde658a514 rename variable state allWordsFullyMatched 2020-01-07 07:22:00 +11:00
Jeremy Wu
13996740e0 Add additional test which should pass for regular precision 2020-01-07 07:12:34 +11:00
Jeremy Wu
e4b017b304 fix index out of range exception
occurs when query contains more than one whitespace eg. 'sql  manag'
2020-01-07 05:59:47 +11:00
Jeremy Wu
5040f09f0c Update method summary only 2020-01-06 21:38:07 +11:00
Jeremy Wu
19911d9f1f Update comment only 2020-01-06 21:19:15 +11:00
Jeremy Wu
04b0f8b2a4 Remove fuzzy match github repo reference + add logic context in summary
1. Remove the github repo reference as we have mixed in substring matching
2. Added context on how the logic is run
2020-01-06 21:06:41 +11:00
Jeremy Wu
e453dceacd Move condition checking into functions
- Moved if statement that checks if all query substrings are matched into a funciton
- convert into shorthand expression the if statement that checks if all words are fully matched
2020-01-06 20:51:27 +11:00
Jeremy Wu
42a938b50b Simplify IfElse 2020-01-06 19:15:05 +11:00
Jeremy Wu
4cf3cff74d Merge pull request #115 from theClueless/imageOptimization
Imageoptimization
2020-01-06 18:11:13 +11:00
AT
28b098cfb7 make image created in hash freeze 2020-01-04 00:40:37 +02:00
AT
fd59088528 made data images freeze as well 2020-01-03 22:33:00 +02:00
AT
05bd32f750 remove comment 2020-01-03 22:01:15 +02:00
AT
e80147d24e removed a duplicate check 2020-01-03 21:17:58 +02:00
AT
72e1a19ea5 remove using 2020-01-03 21:16:38 +02:00
AT
b14d6c9216 adding hash ability to image loader (reducing the load on memory) 2020-01-03 21:16:17 +02:00
Jeremy Wu
220dbd7e30 Move some logic into functions
- Move checking if there is a prev compare string char match into function
- Move updating of index list when a better match is found for the first substring logic into function
2020-01-03 08:02:02 +11:00
Jeremy Wu
84d6fc2787 Update variable names
Make variables more descriptive of the state they represent
2020-01-03 07:58:20 +11:00
Jeremy Wu
f6d0738c79 debug logging 2020-01-02 08:04:16 +11:00
Jeremy Wu
52615c6f52 WIP variables 2020-01-02 08:02:23 +11:00
theClueless
34342599b9 Update MainWindow.xaml
removed delay in binding
2019-12-30 01:28:10 +02:00
AT
42edb20b07 fixes to string matcher alg and some logging stuff 2019-12-30 01:13:33 +02:00
Jeremy Wu
c63e8d32c9 Merge branch 'master' into dev 2019-12-24 20:17:52 +11:00
Jeremy Wu
91e4603917 Add usage tips 2019-12-24 20:16:27 +11:00
Jeremy Wu
276278db41 Merge branch 'dev' 2019-12-24 20:05:38 +11:00
Jeremy Wu
b08c1eeaa9 Merge pull request #107 from jjw24/add_programplugin_hidewhenrunasadmin
For Program plugin hide context menu immediately after selected run as administrator
2019-12-16 21:18:46 +11:00
Jeremy Wu
cb78e10a76 Add threading task run for StartProcess
Context menu hides immediately after user selection
2019-12-16 21:03:44 +11:00
Jeremy Wu
9d031c1600 Remove obsolete bool return
because hiding is now delegated to MainWindow.xaml's OnDeactivated()
2019-12-16 21:01:45 +11:00
Jeremy Wu
bf33c82b19 Merge pull request #106 from jjw24/fix_folderplugin_contextmenu_wordingimages
Fix wording and images for Folder plugin context menu
2019-12-16 07:03:45 +11:00
Jeremy Wu
2330454838 Fix wording and images for context menu 2019-12-16 06:58:39 +11:00
Jeremy Wu
0d0aa49eb9 Merge pull request #105 from jjw24/add_folderplugin_runasuser
Add run as different user option when file is of certain type
2019-12-15 18:11:14 +11:00
Jeremy Wu
c279f405cf Add run as different user option when file is of certain type 2019-12-15 18:08:36 +11:00
Jeremy Wu
725eee726d Merge pull request #103 from theClueless/folderPluginUpdates
Folderpluginupdates
2019-12-15 17:14:25 +11:00
AT
4c2a09369d added catch 2019-12-14 00:41:29 +02:00
AT
e6e1aab098 updates 2019-12-14 00:17:05 +02:00
AT
3dfccea522 Revert "results and query update fixes"
This reverts commit ced0faf916.
2019-12-14 00:07:27 +02:00
AT
ced0faf916 results and query update fixes 2019-12-14 00:06:13 +02:00
AT
be77bf94aa Merge branch 'upstreamdev' into queryPluginsUpdates 2019-12-13 18:17:11 +02:00
AT
2c87c00906 added context menu support (same as everything plugin) 2019-12-13 03:20:16 +02:00
AT
92e4b5cc16 merged from upstream 2019-12-13 02:07:48 +02:00
AT
4e3228628a Merge branch 'dev' of https://github.com/jjw24/Wox into upstreamdev 2019-12-13 01:48:37 +02:00
AT
dde03eca7c started update with cancellation token 2019-12-13 01:48:05 +02:00
Jeremy Wu
e66b64650d Merge pull request #100 from jjw24/fix_merge_bug_folderplugin
Fix merge bug in Folder plugin
2019-12-13 07:41:09 +11:00
Jeremy Wu
5139bc326a Fix bug from merge in Folder plugin 2019-12-13 07:36:12 +11:00
Jeremy Wu
7a61db9a70 Merge pull request #98 from jjw24/add_shellplugin_runas_different_user
Add Run as different user to Shell plugin
2019-12-12 21:02:07 +11:00
Jeremy Wu
da798e7a5a add run as different user option to context menu 2019-12-12 20:55:41 +11:00
Jeremy Wu
2e9acc1fa8 Merge pull request #85 from SysC0mp/highlight-how-results-matched
Highlight how results matched
2019-12-12 07:24:22 +11:00
SysC0mp
0f9da7f519 Always return filled result again 2019-12-11 19:10:11 +01:00
SysC0mp
971e1cdbec Fix highlighting for UWP results 2019-12-11 19:08:52 +01:00
SysC0mp
8ded683796 Merge branch 'dev' into highlight-how-results-matched 2019-12-11 16:50:17 +01:00
AT
bec52b81fd adding conetxt menu start 2019-12-11 02:21:50 +02:00
Jeremy Wu
f3a1e09042 Merge tag 'v1.3.524+JJW24.v1.26.13' 2019-12-10 22:17:31 +11:00
Jeremy Wu
b157ec1b28 Merge pull request #95 from jjw24/add_win32_runasuser_contextmenu
Add ability to run as a different user for win32 programs
2019-12-10 22:09:47 +11:00
Jeremy Wu
695be89656 Add ability to run as a different user for win32 programs 2019-12-10 22:01:12 +11:00
AT
3f3deb8e2a added share folder 2019-12-10 12:38:03 +02:00
AT
06b9d68eb7 merge from upstream 2019-12-10 12:21:06 +02:00
AT
bcc9379ebc typo in log 2019-12-10 12:18:24 +02:00
Jeremy Wu
9855e2edee Merge pull request #87 from jjw24/add_shell_plugin_runasadmin
Add option to run as administrator for Shell plugin
2019-12-10 20:27:51 +11:00
Jeremy Wu
e60e574902 update 2019-12-10 20:24:18 +11:00
Jeremy Wu
c22ab4afdf Revert changes to other plugin. Will refactor as a separate PR 2019-12-10 20:11:12 +11:00
Jeremy Wu
b123d95b71 Add run as admin toggle option to plugin settings 2019-12-10 20:03:43 +11:00
Jeremy Wu
201c26f7c8 Add run as administrator to Shell plugin settings 2019-12-10 08:23:34 +11:00
Jeremy Wu
1fd31d83bf Merge branch 'dev' into add_shell_plugin_runasadmin 2019-12-10 07:19:11 +11:00
SysC0mp
7d5c827dec Remove whitespace 2019-12-09 21:08:38 +01:00
SysC0mp
ce89ff3c85 FIx test methods
Use RawScore or Score depending on the test case. Also removed
unnecessary test settings introduced earlier.
2019-12-09 21:08:17 +01:00
SysC0mp
e60797cd0f Introduce RawScore property
New property RawScore is used to save the calculated score without any
search precision filtering added.
2019-12-09 21:06:31 +01:00
SysC0mp
49c5c5bbde Pass "ShouldUsePinyin" to StringMatcher
Flag is used in method "ShouldUsePinyin()" to avoid calling Alphabet
service. Otherwise, tests applying to StringMatcher.FuzzySearch() would
fail because the pinyin helper library fails to initialize.
2019-12-09 20:57:59 +01:00
SysC0mp
78f243651e Pass Settings instance to Alphabet again 2019-12-09 20:47:24 +01:00
Jeremy Wu
8dc8431c0e Merge pull request #94 from jjw24/add_folderplugin_displaytip
Add Folder search tips results' subtitle
2019-12-09 21:36:11 +11:00
Jeremy Wu
5aa15ef731 Add tips string to folder subtitle 2019-12-09 21:27:33 +11:00
AT
37a4eefc46 updated to use share folder 2019-12-09 00:26:21 +02:00
Jeremy Wu
1efcb2f80b Merge pull request #91 from jjw24/fix_folderplugin_exceptions
Fix exceptions in Folder plugin search + other fixes
2019-12-09 08:34:50 +11:00
Jeremy Wu
0acb4f5aed lower the score for folder results
A search of other scores shows highest is 500, except for calculated score from String.Matcher
2019-12-09 08:29:20 +11:00
Jeremy Wu
4f38a953ac Add handling when query action keyword is empty 2019-12-09 08:28:22 +11:00
Jeremy Wu
f05767afe8 Add exceptions for unauth and arg not found when searching 2019-12-09 08:27:50 +11:00
Jeremy Wu
ddbf23df68 Merge pull request #90 from jjw24/fix_folderplugin_missingactionkeyword
Add action keyword when changing query in Folder plugin
2019-12-09 07:47:34 +11:00
Jeremy Wu
6c4ab3b7f4 add action keyword when changing qury 2019-12-09 07:45:19 +11:00
Jeremy Wu
4d902c01a6 Merge pull request #89 from theClueless/addAltHomeforFirstResult
Addalthomeforfirstresult
2019-12-08 21:12:16 +11:00
Jeremy Wu
d1a5ba2b8e Merge pull request #88 from theClueless/folderPluginUpdates
Folderpluginupdates
2019-12-08 21:10:58 +11:00
Jeremy Wu
982cac3472 Merge pull request #86 from theClueless/smallFixes
Smallfixes
2019-12-08 20:55:09 +11:00
AT
431f22283d added goto first result command (alt home) 2019-12-07 16:57:21 +02:00
AT
7e61b1ecad updated folder plugin 2019-12-07 12:44:58 +02:00
AT
a2d685815f updated 2019-12-06 22:36:00 +02:00
Jeremy Wu
92bde25a49 Add option to run as administrator for Shell plugin 2019-12-06 07:49:20 +11:00
AT
02511b7785 some more 2019-12-04 00:15:46 +02:00
AT
b3fdc4bb96 updated user selected record 2019-12-03 23:37:55 +02:00
AT
c90dd0e818 updated top most record 2019-12-03 23:02:24 +02:00
SysC0mp
f4a2f67db3 Fix wrong comparison parameter
Wrong string was used for FuzzySearch comparison which resulted wrong highlighted letters in the results.
2019-12-03 19:23:01 +01:00
SysC0mp
601d6f37af Highlight how results matched 2019-12-03 15:31:23 +01:00
SysC0mp
a004ef65af Set title & subtitle highlight data 2019-12-03 15:31:23 +01:00
SysC0mp
8997c27819 Add highlight converter component 2019-12-03 15:31:23 +01:00
SysC0mp
2aeceb7ea8 Fix tests for new search precision handling 2019-12-03 15:31:23 +01:00
SysC0mp
627e99859d Directly calculate pinyin if needed
The MatchResult will always get the maximum score from either
ScoreForPinyin() or CalculateSearchScore(). ScoreForPinyin() is
completely dependant on the "ShouldUsePinyin" global setting.
2019-12-03 15:31:23 +01:00
SysC0mp
6ebca7fa7c Apply search precision filter on assignment
The search precision must be used, so it makes sense to apply the filter
directly on score assignment. Score will be "0" if precision filter
was not met.
2019-12-03 15:31:23 +01:00
SysC0mp
3d55ad783e Only pass needed setting to Alphabet
As Alphabet class is static, its methods could be used without
ever calling Alphabet.initialize(_settings) beforehand which would end
in an exception.  Therefor only _shouldUsePinyin settings needed will
be transferred with a given default value.
2019-12-03 15:31:08 +01:00
SysC0mp
05f66f9bea Improve code formatting 2019-12-03 15:31:07 +01:00
Jeremy Wu
434ba82705 Fix build fail from task reindex run 2019-12-03 15:31:07 +01:00
Jeremy Wu
b47e7f068c Merge pull request #83 from theClueless/smallFixes
Smallfixes
2019-12-01 17:49:30 +11:00
Jeremy Wu
20a59a2c58 Merge pull request #82 from theClueless/fixProgramLock
Fixprogramlock
2019-12-01 17:46:00 +11:00
AT
406cc71f96 remove unused new list 2019-11-29 02:05:48 +02:00
AT
132d0631d2 program lock bug 2019-11-29 01:38:50 +02:00
Jeremy Wu
09c7955149 Merge pull request #80 from jjw24/fix_buildfail_task_reindex
Fix build fail from task reindex run
2019-11-17 18:07:40 +11:00
Jeremy Wu
9a2a88a703 Fix build fail from task reindex run 2019-11-17 18:06:25 +11:00
Jeremy Wu
820ae7d6e3 Merge branch 'master' into dev 2019-11-17 17:49:18 +11:00
Jeremy Wu
9c69f22f79 Merge pull request #77 from theClueless/pinyinInfraSettings
Pinyin infra settings
2019-11-17 17:35:08 +11:00
Jeremy Wu
85ad6b12ba Merge pull request #78 from theClueless/programSyncIssue
fixed lock issue
2019-11-17 17:30:04 +11:00
Jeremy Wu
79706b4a1a Merge pull request #76 from theClueless/uwpErrorFix
fixed broken log
2019-11-17 17:26:19 +11:00
theClueless
72180d4248 Merge branch 'dev' into uwpErrorFix 2019-11-16 11:48:09 +02:00
AT
8446c9563d fixed lock issue 2019-11-16 02:37:01 +02:00
AT
9d98d26cc7 added log into Alphabet service since it can induce a large perf hit 2019-11-16 01:28:07 +02:00
AT
0c762e610f fixed broken log 2019-11-16 00:57:30 +02:00
AT
dcb9e34d59 alphabet settings 2019-11-16 00:34:27 +02:00
Jeremy Wu
1960262435 Merge branch 'dev' 2019-11-12 07:41:09 +11:00
Jeremy Wu
c227062a37 Merge pull request #74 from jjw24/add_browserpath_userselection
Allow user to set browser for Url, WebSearch and BrowserBookmark plugins
2019-11-12 07:40:18 +11:00
Jeremy Wu
e9376af13c Merge pull request #73 from jjw24/allow_option_websearch_openintab
Add option to open web search in new tab or new window
2019-11-12 07:39:59 +11:00
Jeremy Wu
8edebb9f75 Merge branch 'add_browserpath_userselection' into dev 2019-11-12 07:22:32 +11:00
Jeremy Wu
8abe31341d Add browserpath display on load 2019-11-12 07:22:03 +11:00
Jeremy Wu
c1eca93609 update path textbox layout browser bookmarks 2019-11-12 07:16:32 +11:00
Jeremy Wu
cd953bc7b9 Update layout for Url plugin setting + remove apply button 2019-11-12 07:14:58 +11:00
Jeremy Wu
205b505242 Browser bookmarks update display and remove apply button 2019-11-11 22:29:15 +11:00
Jeremy Wu
f77cd9bd52 add browser path to open method in browser bookmark plugin 2019-11-11 22:05:19 +11:00
Jeremy Wu
11948c1cce Add browser selection to WebSearch plugin 2019-11-11 22:04:01 +11:00
Jeremy Wu
d7e6f97d9c Add browser path selection for browserbookmark plugin 2019-11-11 21:17:37 +11:00
Jeremy Wu
e324856301 Merge branch 'allow_option_websearch_openintab' into add_browserpath_userselection 2019-11-11 20:35:24 +11:00
Jeremy Wu
8fb873b085 Merge branch 'allow_option_websearch_openintab' into dev 2019-11-11 08:01:05 +11:00
Jeremy Wu
c17eb5fce5 Add user selection option for browserbookmark plugin 2019-11-11 08:00:31 +11:00
Jeremy Wu
91e9bdfc31 update 2019-11-11 07:36:58 +11:00
Jeremy Wu
c83edc1689 Add user selection option to url plugin 2019-11-11 06:49:17 +11:00
Jeremy Wu
dcbd4f3356 add option to Url plugin 2019-11-11 06:04:16 +11:00
Jeremy Wu
3929043eec fixed enable suggestions display 2019-11-11 05:59:37 +11:00
Jeremy Wu
23712ce590 Add option in WebSearches plugin settings panel for user selection 2019-11-10 20:43:40 +11:00
Jeremy Wu
adb2582856 Reverse out common open browser call and update open browser in tab 2019-11-10 20:15:14 +11:00
Jeremy Wu
3e292d7604 Reverse changes made to new browser window call 2019-11-10 20:12:45 +11:00
Jeremy Wu
b565d1ab76 Update naming 2019-11-10 19:51:50 +11:00
Jeremy Wu
2debabe664 Add option to open in tab for WebSearch plugin 2019-11-10 19:12:43 +11:00
Jeremy Wu
e1fc11218f Merge pull request #72 from theClueless/upstreamdev
Fix bug throwing exception for IcoPath null
2019-11-10 17:00:12 +11:00
AT
ed59d6acf5 when both icopath and icon delegdate are empty\null it will raise an exception.
currently delegate is verified and an error icon will be presented (same as before) but without raising an excpetion.
2019-11-09 11:55:53 +02:00
Jeremy Wu
93c952b344 Update README.md 2019-11-08 05:47:54 +11:00
Jeremy Wu
d818a15aea Merge branch 'master' into dev 2019-11-08 05:40:45 +11:00
Jeremy Wu
6a664d976f Merge pull request #69 from jjw24/fix_error_message
Fix error message logging for prod run
2019-11-08 05:39:06 +11:00
Jeremy Wu
5b7a71fb08 Fix missing required parameter in logger 2019-11-08 05:38:40 +11:00
Jeremy Wu
b29d83968b Merge branch 'master' into fix_error_message 2019-11-08 05:37:42 +11:00
Jeremy Wu
3e14c8e80d Merge branch 'dev' 2019-11-08 05:35:15 +11:00
Jeremy Wu
62bbe39bb4 Merge pull request #66 from jjw24/Add_known_programplugin_error
Add known errors during debug run
2019-11-08 05:34:33 +11:00
Jeremy Wu
4305ec34d0 Merge branch 'dev' 2019-11-08 05:33:11 +11:00
Jeremy Wu
c92db272e0 Merge pull request #68 from theClueless/uwpErrorFix
Uwperrorfix
2019-11-07 18:43:16 +11:00
Jeremy Wu
46274acb3e Add error message specification 2019-11-07 07:46:18 +11:00
Jeremy Wu
8a676c573a Fix error message logging for prod run 2019-11-07 07:40:04 +11:00
AT
d2ca74ecdf added protection when creating uwp 2019-11-01 21:44:55 +02:00
Jeremy Wu
67e53906f0 Merge branch 'dev' 2019-10-27 21:00:05 +11:00
Jeremy Wu
cde7f2ab1c Merge pull request #63 from jjw24/add_contextmenu_return_afterselection
Add return to main query window from context menu after selection
2019-10-27 20:50:28 +11:00
Jeremy Wu
1cd9c57f87 Merge pull request #62 from jjw24/add_hidedeactive_defaulttrue
Set HideWhenDeactive default as true
2019-10-27 20:49:19 +11:00
Jeremy Wu
c625ad32c5 Merge pull request #60 from jjw24/update_allow_plugindisabled_default
Fix plugin start up disabled by default + disabling Everything & HelloWorldCSharp plugins
2019-10-27 20:47:56 +11:00
Jeremy Wu
15eca63ff0 Merge pull request #31 from jjw24/enable_userselected_programloading
Enable users to configure what programs to load
2019-10-27 20:43:50 +11:00
Jeremy Wu
d149df2a6e Merge branch 'master' into enable_userselected_programloading 2019-10-27 20:43:22 +11:00
Jeremy Wu
30fdcf4efb Merge pull request #24 from jjw24/add_reindix_program_suffix
Add reindex call to Plugin.Program file suffixes update
2019-10-27 20:41:43 +11:00
Jeremy Wu
ea54abdfde Add file being held by another process error to known
This occurs during app initialisation, and add empty list to allow continuing during debug
2019-10-27 19:04:10 +11:00
Jeremy Wu
2757dc7205 Add known error when trying to retrieve UWP program's thumbnail 2019-10-27 14:22:50 +11:00
Jeremy Wu
e35ad892eb Merge branch 'add_dedicated_programplugin_logger' into dev 2019-10-27 12:28:26 +11:00
Jeremy Wu
140e2a026e Merge branch 'dev' into add_dedicated_programplugin_logger 2019-10-27 12:23:16 +11:00
Jeremy Wu
c89ab4e47c Merge remote-tracking branch 'origin/dev' into dev 2019-10-27 12:22:31 +11:00
Jeremy Wu
ab05e34805 Merge pull request #61 from theClueless/defualtMatchOption
Defualt match option
2019-10-27 12:21:13 +11:00
AT
4a201c1890 defualt match option and some small updates to help testing 2019-10-26 11:30:51 +03:00
Jeremy Wu
cb3e863957 Merge branch 'update_allow_plugindisabled_default' into dev 2019-10-25 13:12:34 +11:00
Jeremy Wu
8e20e54b53 Merge branch 'add_dedicated_programplugin_logger' into dev 2019-10-25 13:12:20 +11:00
Jeremy Wu
3cf4b4ed8b Create better logging dedicated for Programs plugin 2019-10-25 13:11:52 +11:00
Jeremy Wu
10241a37c2 Merge branch 'enable_userselected_programloading' into dev 2019-10-24 13:33:00 +11:00
Jeremy Wu
0eb3a5cab3 update 2019-10-24 13:32:12 +11:00
Jeremy Wu
4945767bd8 prevent duplication from loading start menu programs 2019-10-24 13:31:09 +11:00
Jeremy Wu
217760148c remove white space 2019-10-24 12:59:47 +11:00
Jeremy Wu
210e219778 rename get program methods 2019-10-24 12:57:07 +11:00
Jeremy Wu
50896ee23b prevent duplication from loading custom program sources 2019-10-24 12:51:33 +11:00
Jeremy Wu
41432b4165 Remove duplicated programs loading from registry 2019-10-24 12:42:35 +11:00
Jeremy Wu
d41b8e7441 Merge branch 'enable_userselected_programloading' into dev 2019-10-24 10:06:59 +11:00
Jeremy Wu
aed17bde9b Merge branch 'add_hidedeactive_defaulttrue' into dev 2019-10-24 10:06:25 +11:00
Jeremy Wu
5b430fc376 Merge branch 'add_contextmenu_return_afterselection' into dev 2019-10-24 10:06:15 +11:00
Jeremy Wu
e1064275a0 Remove unused packages 2019-10-24 09:27:27 +11:00
Jeremy Wu
6f8d252dc6 add prevention from double clicking disable in context menu 2019-10-24 09:23:57 +11:00
Jeremy Wu
b89e296390 Set HideWhenDeactive default as true 2019-10-24 08:20:12 +11:00
Jeremy Wu
99b5e3565d Add return to main query window from context menu after selection 2019-10-23 20:20:33 +11:00
Jeremy Wu
6ec33db50e Set HelloWorldCSharp plugin as disabled by default 2019-10-23 16:19:22 +11:00
Jeremy Wu
aa4922840b Set Everything plugin as disabled by default 2019-10-23 16:18:55 +11:00
Jeremy Wu
28239c4a51 Fix to allow plugin to start up disabled as default 2019-10-23 16:18:21 +11:00
AT
8ee8f2c085 added the abitliy to opt out of pinyin in control panel and in program plug in - this give a major perf boost (and I'm guessing it is not relevant for most users) 2019-10-20 22:15:24 +03:00
Amir Tepper
a3ba2276e2 renamed for Defualt match option 2019-10-20 15:45:06 +03:00
Amir Tepper
aefc90dc19 revert the change so you need declare an IGNORE_UWP in order to not use the windwos SDK 2019-10-20 15:43:50 +03:00
Jeremy Wu
511c0dd17c Merge branch 'enable_userselected_programloading' into dev 2019-10-18 21:39:49 +11:00
Jeremy Wu
e1b211ed8e update 2019-10-18 08:16:07 +11:00
Jeremy Wu
08f409993a update 2019-10-18 08:01:07 +11:00
Jeremy Wu
2e90cda34c Add reindex requirement for startup 2019-10-18 07:53:00 +11:00
Jeremy Wu
b97d674108 Update button positioning and label 2019-10-18 07:38:21 +11:00
Jeremy Wu
f8cbe053cc Add right click option on query to disable program 2019-10-17 22:47:00 +11:00
Amir Tepper
0e241a0fc5 added empty match option 2019-10-17 13:37:09 +03:00
Amir Tepper
31916384c1 update query defualt to string empty instead of null and update result plugin id to be internal 2019-10-17 13:11:23 +03:00
Amir Tepper
e6f17834a0 added sdk const by default 2019-10-17 12:21:57 +03:00
Amir Tepper
e1f2bc0a19 for unit tetsing 2019-10-17 12:19:52 +03:00
Jeremy Wu
12d3ca2d50 fix delete logic 2019-10-17 08:00:54 +11:00
Jeremy Wu
aa08125e43 fix directory drag drop 2019-10-17 07:35:27 +11:00
Jeremy Wu
9ce94a8398 update 2019-10-17 07:04:56 +11:00
Jeremy Wu
34a3535abe Add dynamic Delete to the Enable/Disable button 2019-10-17 06:43:18 +11:00
Jeremy Wu
ac79803f1b Update setting description summary 2019-10-16 22:38:44 +11:00
Jeremy Wu
006ec1abb8 Fix add button action to not duplicate + implement new model 2019-10-16 22:38:02 +11:00
Jeremy Wu
b2a47e6216 Add uniqiue identifier when adding customer user program source 2019-10-15 22:40:33 +11:00
Jeremy Wu
85638c23ae Add reindex call for enable/disable button
For when program source enable && disable + where program not in cache
2019-10-15 22:39:55 +11:00
Jeremy Wu
44c1c93e81 Change DisabledProgramSource class to inherit ProgramSource 2019-10-15 20:22:20 +11:00
Jeremy Wu
06c9ff49a0 Fix identation + display disabled program sources 2019-10-15 20:21:55 +11:00
Jeremy Wu
bbe72f52ba Update reindex call to use disabledprogramsources 2019-10-15 20:20:55 +11:00
Jeremy Wu
5793b85c5b Add Enable program source to Program plugin view 2019-10-15 08:05:21 +11:00
Jeremy Wu
eccc3717bc Merge branch 'master' into enable_userselected_programloading 2019-10-15 05:49:00 +11:00
Amir Tepper
a89b2ca450 remove the need for windows SDK 2019-10-14 14:22:20 +03:00
Jeremy Wu
41e5d2524b Merge branch 'add_reindix_program_suffix' into dev 2019-10-14 21:50:17 +11:00
Jeremy Wu
de55be515d Merge branch 'master' into add_reindix_program_suffix 2019-10-14 21:49:06 +11:00
Jeremy Wu
6a0c6047e6 Merge branch 'master' into dev 2019-10-11 21:36:23 +11:00
Jeremy Wu
0db8898577 Merge pull request #55 from jjw24/dev
Merge PR 54 from Dev to Master
2019-10-11 21:27:47 +11:00
Jeremy Wu
a38695ff8a Merge pull request #50 from jjw24/enable_manual_reloaddata
Enable manual plugin data reload
2019-10-11 20:58:39 +11:00
Jeremy Wu
5ab45a1185 Merge pull request #51 from jjw24/update_browserbookmark_subtitle_wording
Remove BrowserBookmark subtitle wording "Boomark"
2019-10-11 20:56:27 +11:00
Jeremy Wu
805d892dbb Merge pull request #49 from jjw24/fix_websearch_globalpluginwildcard_search
Fix WebSearch plugin missing query part when searching with global wildcard
2019-10-11 20:55:33 +11:00
Jeremy Wu
d5348cec70 remove duplicate 'success' as a result of merge from PR 50 2019-10-09 06:42:24 +11:00
Jeremy Wu
167ef06209 remove single white space, no code change 2019-10-09 06:24:42 +11:00
Jeremy Wu
d64a7cb739 Merge branch 'enable_manual_reloaddata' into dev 2019-10-09 06:18:55 +11:00
Jeremy Wu
b2584bb01b Add hide query window before actual reload + show success msg 2019-10-09 06:18:09 +11:00
Jeremy Wu
8b8cb12763 Add reload success message 2019-10-09 06:17:34 +11:00
Jeremy Wu
127e28a6f4 Remove task to wait for the program reload to complete 2019-10-09 06:16:53 +11:00
Jeremy Wu
73c46f2a85 Merge pull request #54 from ismailcarlik/dev
Added Turkish translation and some other i18n work.
2019-10-08 23:08:04 +11:00
Jeremy Wu
36e1fcc24a Reverse out test package for merge prep 2019-10-08 23:04:02 +11:00
İsmail Carlık
ed0e637207 fixed mistakes and added new translation keys 2019-10-08 14:48:56 +03:00
İsmail Carlık
6b8a55f55b Added Turkish translation and some other i18n work. 2019-10-07 18:08:06 +03:00
Jeremy Wu
509049d95a update package 2019-10-06 15:41:36 +11:00
Jeremy Wu
83280de352 Merge branch 'update_browserbookmark_subtitle_wording' into dev 2019-10-06 15:39:45 +11:00
Jeremy Wu
a4e4c8baaa Remove BrowserBookmark subtitle wording "Boomark" 2019-10-06 15:39:12 +11:00
Jeremy Wu
00d27bc313 update package 2019-10-06 14:18:06 +11:00
Jeremy Wu
78ce12bc60 Merge branch 'enable_manual_reloaddata' into dev 2019-10-06 14:16:19 +11:00
Jeremy Wu
7e8d7ef0c0 Update wording 2019-10-06 13:52:04 +11:00
Jeremy Wu
d1c01f476d update 2019-10-06 13:48:52 +11:00
Jeremy Wu
bb3c38a3b1 update 2019-10-06 13:47:52 +11:00
Jeremy Wu
8ca6e8c478 Add command for user to call in Plugin.Sys 2019-10-06 13:45:36 +11:00
Jeremy Wu
96660ebd2a Exposes reload command via IPublicAPI 2019-10-06 13:44:38 +11:00
Jeremy Wu
9e69d01db7 Add reload call for Programs plugin 2019-10-06 13:15:06 +11:00
Jeremy Wu
1c015e31f1 Add IReloadable interface and method 2019-10-06 11:58:36 +10:00
Jeremy Wu
bf12b127ac Move code from Main class to Bookmarks class for cleanliness 2019-10-06 11:55:57 +10:00
Jeremy Wu
dd733092a1 create static bookmark class that will contain bookmark functions 2019-10-06 11:52:18 +10:00
Jeremy Wu
30fd5fcf14 Add interface that will be used by plugins 2019-10-06 11:50:25 +10:00
Jeremy Wu
483940a98d Allow PluginManager class to manage the reload call 2019-10-06 11:49:47 +10:00
Jeremy Wu
615bc17cec Expose reload data call in PublicAPIInstance wider usage 2019-10-06 11:48:40 +10:00
Jeremy Wu
94cf350e5c update package 2019-10-05 18:31:17 +10:00
Jeremy Wu
fa594e732f Merge branch 'fix_websearch_globalpluginwildcard_search' into dev 2019-10-05 18:29:00 +10:00
Jeremy Wu
4c0c9eb7fb Fix missing query part when using global wildcard sign
when using global wildcard sign that is the same as action keyword
2019-10-05 18:24:12 +10:00
Jeremy Wu
e9cd95fc6a Update package 2019-10-05 12:30:27 +10:00
Jeremy Wu
b68675d9fd Merge branch 'fix_firefox_bookmarks_notshowing' into dev 2019-10-05 12:20:39 +10:00
Jeremy Wu
d4abfffa2f Merge branch 'fix_firefox_bookmarks_plugin' into dev 2019-10-05 12:20:30 +10:00
Jeremy Wu
2d6d664f77 Merge pull request #46 from jjw24/fix_firefox_bookmarks_notshowing
Fix Firefox bookmarks not showing
2019-10-05 11:51:43 +10:00
Jeremy Wu
c1f08cf2ea Merge pull request #45 from jjw24/fix_firefox_bookmarks_plugin
Fix BrowserBookmarks plugin crashing when using Firefox bookmarks
2019-10-05 11:49:22 +10:00
Jeremy Wu
f4d762c19b fix not closing the db connection after opening 2019-10-03 08:09:11 +10:00
Jeremy Wu
1ed7d34200 Update how plugin locates profile path 2019-10-03 08:06:56 +10:00
Jeremy Wu
4f5d805725 Merge branch 'fix_firefox_bookmarks_plugin' into fix_firefox_bookmarks_notshowing 2019-10-03 07:32:37 +10:00
Jeremy Wu
bde8dbba05 Fix BrowserBookmarks plugin for Firefox bookmarks 2019-10-02 07:28:25 +10:00
Jeremy Wu
f6b5404a04 Add package 2019-10-01 20:28:52 +10:00
Jeremy Wu
ce9f2157e8 Update README.md 2019-09-30 22:58:02 +10:00
Jeremy Wu
64cd9c0dd2 Merge pull request #43 from jjw24/fix_controlpanel_search
Fix ControlPanel plugin search bug
2019-09-30 22:02:43 +10:00
Jeremy Wu
ab4cc74aca Merge pull request #42 from jjw24/merge_hibernation_function
Add hibernation feature Sys plugin from upstream Dev
2019-09-30 22:01:21 +10:00
Jeremy Wu
8cdb5fe346 Merge pull request #39 from jjw24/make_fuzzysearch_userfriendly
Make fuzzy search user friendly
2019-09-30 21:55:37 +10:00
Jeremy Wu
aae7987df0 update 2019-09-30 21:51:15 +10:00
Jeremy Wu
1817105c94 Fix ControlPanel plugin search bug 2019-09-30 21:11:34 +10:00
Jeremy Wu
88ca98c5a6 Add code 2019-09-30 20:03:06 +10:00
Jeremy Wu
8717cd077c Add ui for user preference selection 2019-09-29 20:04:30 +10:00
Jeremy Wu
9658af4aa9 update 2019-09-29 15:18:50 +10:00
Jeremy Wu
d40a79576b Update ControlPanel plugin with new code 2019-09-29 15:18:34 +10:00
Jeremy Wu
481bd4ac68 Update Sys plugin with new code 2019-09-29 15:18:05 +10:00
Jeremy Wu
6625a2afd3 Update mainview model with new code 2019-09-29 15:17:40 +10:00
Jeremy Wu
cc23495591 Update Program plugin with new code 2019-09-29 15:03:30 +10:00
Jeremy Wu
acd42f9cc6 Update test with updated method name 2019-09-29 14:43:49 +10:00
Jeremy Wu
a2e439a155 Update browserbookmark plugin with new code 2019-09-29 14:42:34 +10:00
Jeremy Wu
d0fac80eb4 Update browserbookmark plugin with new code 2019-09-29 14:30:33 +10:00
Jeremy Wu
3f90611edf Initial prep of settings and start up default 2019-09-29 14:27:46 +10:00
Jeremy Wu
d8a9630548 Update test 2019-09-29 14:27:07 +10:00
Jeremy Wu
fbb5d4a4a6 Make FuzzMatcher class obsolete and keep backwards compatibility 2019-09-29 14:26:15 +10:00
Jeremy Wu
e5753c54a6 Convert StringMatcher class to static and move code from FuzzySearch 2019-09-29 14:24:38 +10:00
Jeremy Wu
9ab9ea4c2e Add precision score tests for new function 2019-09-29 13:27:28 +10:00
Jeremy Wu
2301478b3f update 2019-09-29 00:09:56 +10:00
Jeremy Wu
df9b09eeae Add tests for fuzzy search and CalScore method 2019-09-29 00:09:03 +10:00
Jeremy Wu
7e7b2797d7 Update README.md 2019-09-28 11:34:59 +10:00
Jeremy Wu
287f1ae042 Update readme project description 2019-09-28 11:33:32 +10:00
Jeremy Wu
4bc665c0d2 Merge pull request #37 from austintrose/fix-typo
Fix typo 'launche' -> 'launcher'.
2019-09-26 08:17:39 +10:00
Jeremy Wu
5390d0668b Merge pull request #36 from jjw24/update_testframework_add_adaptor
Update Test Framework + Add Test Adaptor
2019-09-26 08:07:44 +10:00
Jeremy Wu
f55724bf58 Update Test Framework + Add Test Adaptor 2019-09-26 07:53:56 +10:00
Austin Rose
4300b3a9e0 Fix typo 'launche' -> 'launcher'. 2019-09-25 15:03:35 -04:00
Jeremy Wu
c085b263a7 Add latest release link to badge 2019-09-22 21:54:44 +10:00
Jeremy Wu
3877014f83 Add badges 2019-09-22 21:38:20 +10:00
Jeremy Wu
83b1613002 Update readme with release package link 2019-09-22 20:41:37 +10:00
Jeremy Wu
329f7a2e00 Merge pull request #17 from jjw24/update_websearch_when_suggestions_on
Speed up WebSearch plugin when suggestions turned on
2019-09-22 18:30:12 +10:00
Jeremy Wu
0e0785db7b Merge branch 'master' into update_websearch_when_suggestions_on 2019-09-22 18:25:53 +10:00
Jeremy Wu
9638a4a4e6 Merge pull request #16 from jjw24/tunoff_auto_update
Set AutoUpdates off as default setting
2019-09-22 17:52:50 +10:00
Jeremy Wu
91be43169c Merge pull request #19 from jjw24/enable_portable_mode
Enable portable mode
2019-09-22 17:45:21 +10:00
Jeremy Wu
01af7e36cd Merge pull request #30 from jjw24/fix_folderplugin_equalitybug
Fix Result object comparison bug causing Folders plugin to open wrong location
2019-09-22 17:39:17 +10:00
Jeremy Wu
d30ca2345e Merge pull request #23 from jjw24/add_save_settingsmenue_close
Save all plugins' settings on closing Settings menu
2019-09-22 17:33:18 +10:00
Jeremy Wu
26be6ae7c5 bug fix 2019-09-13 07:26:24 +10:00
Jeremy Wu
31c0fc5742 Merge pull request #22 from jjw24/add_save_allsettings
Add to Sys plugin- save all Wox settings
2019-09-12 08:27:52 +10:00
Jeremy Wu
1a7f8d5319 Merge pull request #21 from jjw24/fix_success_word_typo
Fix typo of 'success'
2019-09-12 08:25:19 +10:00
Jeremy Wu
14e4a052bb Update btn name to 'All Programs' 2019-09-12 08:05:09 +10:00
Jeremy Wu
ae3d8860be Update multi-selection 2019-09-12 07:53:19 +10:00
Jeremy Wu
2eede422a4 Add sorting 2019-09-12 07:42:42 +10:00
Jeremy Wu
24debbf349 remove debug code 2019-09-11 08:05:20 +10:00
Jeremy Wu
81e252d564 Update load programsources with uniqueidentifier 2019-09-11 08:01:38 +10:00
Jeremy Wu
1ca9389110 Update class to inherite from Settings.ProgramSource 2019-09-11 07:16:38 +10:00
Jeremy Wu
10fb76377c Update disable logic and add unique identifier for programs 2019-09-10 07:57:03 +10:00
Jeremy Wu
4a6242b3a0 Add initial disable program code 2019-09-08 22:18:55 +10:00
Jeremy Wu
b540cc8ac4 Refactor Plugins.Program 2019-09-08 22:16:47 +10:00
Jeremy Wu
5fb0402216 Updated button positions and name 2019-09-07 16:28:16 +10:00
Jeremy Wu
bc202ecc98 Add disable programs functionality 2019-09-07 15:58:13 +10:00
Jeremy Wu
9d3f0d45d5 Add display of all loaded applications 2019-09-06 08:06:51 +10:00
Jeremy Wu
f51c391e84 Enable user selected program loading only
Update logic, add program source only loading
2019-09-05 08:05:17 +10:00
Jeremy Wu
909fbaab95 Fix Result object comparison bug 2019-08-31 16:58:15 +10:00
Jeremy Wu
67655d15cc Add reindex when updating plugin.program suffix 2019-08-25 17:40:59 +10:00
Jeremy Wu
83b4a3da30 Save all plugins' settings on settings menu close 2019-08-23 07:38:39 +10:00
Jeremy Wu
768a195c10 update showmsg 2019-08-23 07:20:50 +10:00
Jeremy Wu
16e8cfdf31 Revert get translation as none is provided 2019-08-22 22:03:51 +10:00
Jeremy Wu
c0c55a7af8 Add to Sys plugin- save all Wox settings 2019-08-22 21:37:36 +10:00
Jeremy Wu
e625dc63b4 Fix typo 'success' 2019-08-21 20:18:20 +10:00
Jeremy Wu
dedac39d99 Increase error message fade from 1 to 5 secs 2019-08-21 08:37:50 +10:00
Jeremy Wu
fe6d7d16c8 Handling chrome browser not installed 2019-08-21 08:30:18 +10:00
Jeremy Wu
de8e248f29 update 2019-08-20 21:47:03 +10:00
Jeremy Wu
7217ef5ec5 Move comment to PR 2019-08-20 21:43:32 +10:00
Jeremy Wu
6a33173384 Enable portable mode 2019-08-20 21:29:30 +10:00
Jeremy Wu
b520b26bd0 Add check null for event 2019-08-20 10:25:37 +10:00
Jeremy Wu
1761f63acd Merge pull request #13 from jjw24/update_browserbookmarks_open_newbrowser
Update BrowserBookmarks plugin to open in new browser window
2019-08-20 07:48:14 +10:00
Jeremy Wu
e58b09c1ea Merge branch 'master' into update_browserbookmarks_open_newbrowser 2019-08-20 07:47:01 +10:00
Jeremy Wu
7c7e2c4f3d Merge pull request #12 from jjw24/add_sharedplugin_commands
Add shared commands for all default plugins to use
2019-08-20 07:45:24 +10:00
Jeremy Wu
20abcaa011 Merge pull request #6 from jjw24/update_websearchplugin_as_systemplugin
Wox.Plugin.WebSearches- Update plugin to search web without specific action key word
2019-08-20 07:43:37 +10:00
Jeremy Wu
297e6543de Merge pull request #5 from jjw24/update_plugin_openurl_newbrowser
Wox.Plugin.URL- Open URL in new window browser
2019-08-20 07:38:09 +10:00
Jeremy Wu
ec54f9a549 Update README.md build instructions for VS 2017/2019 2019-08-20 06:44:51 +10:00
Jeremy Wu
c064ca3ca9 Merge pull request #4 from jjw24/update_readme_buildinstructions
Update readme VS build instructions
2019-08-20 06:37:28 +10:00
Jeremy Wu
56bd31fe22 Update README.md build instructions for VS 2017/2019 2019-08-20 06:30:25 +10:00
Jeremy Wu
ac8e042333 Speed up WebSearch plugin when suggestions turned on 2019-08-19 21:14:29 +10:00
Jeremy Wu
718b189f19 Merge pull request #11 from jjw24/add_browserbookmarks_defaultplugin
Add BrowserBookmarks plugin as default plugin
2019-08-15 23:06:16 +10:00
Jeremy Wu
1fa9543e47 Set AutoUpdates off as default setting 2019-08-13 20:02:26 +10:00
Jeremy Wu
563209d080 Merge pull request #7 from jjw24/fix_postbuild_script
Fix post_build.ps1 script failing due to PS ExecutionPolicy
2019-08-07 20:04:55 +10:00
Jeremy Wu
ca71c700c7 Merge pull request #10 from jjw24/add_blackandwhite_theme
Add Black And White Theme
2019-08-07 19:58:49 +10:00
Jeremy Wu
585e2627bf Use shared command and open in new browser window 2019-08-06 22:23:41 +10:00
Jeremy Wu
579bbe2b86 Merge branch 'add_sharedplugin_commands' into update_browserbookmarks_open_newbrowser 2019-08-06 22:20:57 +10:00
Jeremy Wu
5138644dc8 Merge branch 'add_browserbookmarks_defaultplugin' into update_browserbookmarks_open_newbrowser 2019-08-06 22:15:10 +10:00
Jeremy Wu
2310d36604 update 2019-08-06 22:00:38 +10:00
Jeremy Wu
7d9e848edb use shared commands 2019-08-06 21:58:46 +10:00
Jeremy Wu
a3770a8947 Merge branch 'add_sharedplugin_commands' into update_plugin_openurl_newbrowser 2019-08-06 21:51:46 +10:00
Jeremy Wu
06d4a82706 Add shared commands and move to shared 2019-08-06 21:49:51 +10:00
Jeremy Wu
c0095dc385 Merge branch 'add_sharedplugin_commands' into update_websearchplugin_as_systemplugin 2019-08-06 21:40:46 +10:00
Jeremy Wu
07060a8584 Add shared commands for plugins to use 2019-08-06 21:27:54 +10:00
Jeremy Wu
784e54f217 Add BrowserBooks plugin as default plugin 2019-08-06 20:36:28 +10:00
Jeremy Wu
104156d084 update 2019-08-04 22:08:38 +10:00
Jeremy Wu
48180b7ee8 update 2019-08-04 22:06:32 +10:00
Jeremy Wu
ef34a63f7a Update Initialisation of plugin method
Handle when plugin has a mix of global and non-global action keywords
2019-08-04 21:47:05 +10:00
Jeremy Wu
45483809c5 Update RemoveActionKeyword method
Update the method to handle removal when a plugin has multiple ActionKeywords ie. mix of global and non-global ActionKeywords
2019-08-04 21:44:56 +10:00
Jeremy Wu
9d89c1d692 update 2019-08-04 21:38:36 +10:00
Jeremy Wu
cb4fde9a0b Mini refactor
Move Process.Start to static class level
2019-08-04 11:42:08 +10:00
Jeremy Wu
8f17a49a24 Add Black And White Theme 2019-08-02 22:35:58 +10:00
Jeremy Wu
e18e923ac6 Bugfix and update
Fix bug when no browser path specified will be null instead of .Length == 0. 

Add open url in new browser window by default
2019-08-02 22:14:08 +10:00
Jeremy Wu
ed3b939477 Merge branch 'fix_postbuild_script' into update_plugin_openurl_newbrowser 2019-08-02 19:31:14 +10:00
Jeremy Wu
977d21c929 Bug fix- Edit & Delete buttons will crash if selected search source is null
SelectedSearchSource will be null if the user clicks on Edit or Delete after finishing with previous edit and not highlighting the search source again.
2019-08-02 13:18:38 +10:00
Jeremy Wu
89f0cdffc7 Update Main.cs 2019-08-02 12:32:02 +10:00
Jeremy Wu
9685dca4de Simplified command with Bypass 2019-08-02 00:39:08 +10:00
Jeremy Wu
010218b5ce Fix post_build.ps1 script failing due to PS ExecutionPolicy 2019-08-01 23:27:21 +10:00
Jeremy Wu
52252453d9 Update WebSearch plugin as System Plugin or User Plugin 2019-08-01 20:55:13 +10:00
Jeremy Wu
057108882f Open URL in new window browser 2019-08-01 20:52:50 +10:00
Jeremy Wu
90b3cfcf9f Merge pull request #3 from itziksi/branch_itziksi_1
Added build instructions for VS 2019
2019-08-01 08:00:46 +10:00
Jeremy Wu
4231d7b50a Merge pull request #1 from jjw24/add_folderplugin_displaylocation
Add folder location display to Wox.Plugin.Folder
2019-07-31 20:39:26 +10:00
Jeremy Wu
b85632cc99 Add folder location display 2019-07-31 20:11:50 +10:00
Itzik S
1b81570338 added build instructions for VS 2019 2019-06-24 18:01:00 +03:00
CHU Zhaowei
0e03b951d4 Merge branch 'dev'
# Conflicts:
#	Wox.Core/Resource/AvailableLanguages.cs
2019-06-21 14:34:11 +08:00
Jan-Henrich Mattfeld
6d05600eaf Link F1 help to current website (#2414)
Pressing F1 leads to the - now unavailable - old wox website.

The updated URL should be http://doc.wox.one/

#2413
2019-06-21 14:29:18 +08:00
ScratchBuild
807422c377 Update Japanese translation (#2511) 2019-06-20 16:53:37 +08:00
蝦米
768cef57c7 fix cs 2019-03-05 03:21:39 +08:00
CHU Zhaowei
bcf1d32cdd follow up for new language support 2019-03-04 11:04:04 +08:00
Vladimír Kubala
def67eca3b Added Slovak translation (#2376) 2019-03-04 11:02:14 +08:00
蝦米
388a8b6346 fix #2363 theme font changes both whenever one is changed 2019-03-04 11:00:57 +08:00
Vladimír Kubala
7ab937cf7b Added Slovak translation (#2376) 2019-02-25 22:34:00 +08:00
jhdxr
4bb460528f Merge branch 'dev' 2019-02-23 04:06:45 +08:00
KallistiMan
1ab636a4f1 fix unexpected hovor without mouse moving (#2368)
fix #975 
close #2043
2019-02-23 04:05:10 +08:00
magicdmer
a6e82475a3 Add everything plugin context menu and add settings in Url plugin (#2299)
1. Add useful context menu items in everything
2. Add settings in Url plugin, can set browser path

* let url plugin support multi Languages
2019-02-23 04:03:59 +08:00
蝦米
9de8b16aeb update badge to show status for master only
[ci skip][skip ci]
2018-12-25 14:32:33 +08:00
jhdxr
0baf7744bc error handling for theme loader 2018-12-25 13:33:50 +08:00
jhdxr
580c2b9e84 use Pack URIs for Base.xaml (as a demo for 3rd party themes) 2018-12-25 13:33:50 +08:00
jhdxr
84673f26f3 support user defined theme files in %appdata% (close #1267, #662) 2018-12-25 13:33:50 +08:00
Kanglai Qian
ab1efb0749 Open With Editor (#2261) 2018-12-25 13:17:35 +08:00
jhdxr
4b0532b072 fix loading language package for it, nb-NO, pt-br, sr, uk-UA (fix #1319) 2018-12-23 02:57:29 +08:00
jhdxr
d458500113 fix #1456 Error when empty recycle bin 2018-12-22 14:44:40 +08:00
jhdxr
d9fe2e0974 improve chinese translation 2018-12-22 14:44:39 +08:00
jhdxr
3fddb77564 validate path before save (fix #1869) 2018-12-22 14:44:39 +08:00
蝦米
3dd7a82dcc Update README.md 2018-12-22 12:48:16 +08:00
jhdxr
3dac6fd1c3 hide tray icon (close #563) 2018-12-19 12:15:05 +08:00
jhdxr
7fe01f0764 skip calculation of pinyin score if source string is too long (#1683) 2018-12-19 12:14:52 +08:00
Benedikt Strasser
d7da96b387 Removed FontFamily entries in Base Theme (#2186) 2018-12-19 00:36:28 +08:00
Patrick Sletvold
3f95584dac Translate to Norwegian Bokmål (dev branch, properly this time) (#2184)
* Translate to Norwegian Bokmål

* Add Norwegian to AvailableLanguages.cs
2018-12-18 23:36:02 +08:00
Lorenzo Marcolin
de5578c8f7 Add Italian language (#2143)
* Add Italian language
2018-12-18 23:35:52 +08:00
Tulio Leao
1d410fdb7d Add support for Portuguese (Brazil) (#2119)
Translates Language file into Portuguese (Brazil)
2018-12-18 23:35:43 +08:00
蝦米
54545d0bfc Update ISSUE_TEMPLATE.md
provide chinese translation for issue template
2018-07-16 00:04:21 +08:00
jhdxr
01131b2296 fix appveyor build failure 2018-07-16 00:04:09 +08:00
Zepp
9b2239d4fa UWP HiDPI icon support (#1515)
* Add HiDPI support for UWP on Windows 10

* Code structure improvement
2018-07-15 23:32:22 +08:00
Jonathan Clark
1b55201fbd Fix typo (#2055) 2018-07-15 23:32:08 +08:00
Dandjinh
be43c2156f skip broken folder when re-index (#2004)
* skip broken folder when re-index

* add log for DirectoryNotFoundException
2018-07-15 23:31:54 +08:00
Đorđe Pekić
c393db9c9f Added support for Serbian (#2029) 2018-07-15 23:31:40 +08:00
庄秋彬
4a749ce00d Update README.md (#2006)
Update README.md, set latest version link to 1.3.524
2018-07-15 11:25:19 +08:00
Yuichi Hirano
13e6c5eefc Translate some words into Japanese. (#1982) 2018-04-30 10:23:39 +08:00
Boris Makogonyuk
343b904607 ImageLoader now loads everything through IShellItemImageFactory::GetImage (#1836)
* Added thumbnail loader

* Deleted old shell icon extraction logic.
Refactored ImageLoader.Load to improve readibility.

* Moved error handling down into the API call itself

* Minor renamings in ImageLoader

* Load icons only for files that are not images. Fixes stutters when loading folders.

* Added the ability to load a full image through ImageLoader.
ImageLoader.Load now also has a "loadFullImage" parameter.

* Max image cache is now 5000 instead of 200.

* Added some commentaries on how thumbnails are loaded
2018-04-30 10:20:36 +08:00
bao-qian
553a6e8ff6 back 2018-02-25 02:56:41 +08:00
bao-qian
9423b8da57 update website 2018-02-25 02:18:35 +08:00
jhdxr
a7470345ff disable input method when binding hotkey (fix #1876) 2018-02-14 12:12:12 +08:00
Boris Makogonyuk
2aca12a49c Issue template update (#1846)
* Update to ISSUE_TEMPLATE

Template partially based on https://github.com/facebook/react-native/blob/master/.github/ISSUE_TEMPLATE.md
2018-01-19 23:12:39 +01:00
Duncan Ogilvie
810ee422a1 Execute the OpenResultComand with Ctrl and Alt modifiers when pressing enter (#1685) 2017-12-25 02:10:46 +08:00
Boris Makogonyuk
1c10ee106e Program paths fix + #1779 (#1780)
* ProgramPaths now searches for files on a per-folder basis using a Queue instead of calling EnumerateFiles.  This allows us to escape permission errors.
Issue #1779 is fixed because of this too.
2017-12-24 11:52:53 +01:00
Boris Makogonyuk
e251c59da1 Merge pull request #1783 from smallg0at/patch-1
Update README.md
2017-12-24 11:44:59 +01:00
YC L
df35844bb2 Update README.md
minor fix for "pinyin" part
2017-12-24 17:08:14 +08:00
Boris Makogonyuk
d8006087a2 Merge pull request #1778 from lances101/hotfix/detailed-aggregate-exception
Changed exception formatting back to default ToString call
2017-12-22 20:00:48 +01:00
Boris Makogonyuk Vasylev
1fa91cbb6f Changed ReportWindow's exception formatting back to Exception.ToString() call as it is more detailed and provides more information for AggregateException and others. 2017-12-22 19:44:40 +01:00
Boris Makogonyuk
3aacfdca20 Merge pull request #1776 from lances101/feature/cache-being-used
#1394 caching fix
2017-12-22 17:05:31 +01:00
Boris Makogonyuk Vasylev
b886422416 Added file length check before loading cache and removed BinaryStorage.Save when file was already locked. 2017-12-22 16:59:55 +01:00
Keul
a29ea0374c Updated French Translation (#1522)
added :
lastQueryMode
LastQueryPreserved
LastQuerySelected
LastQueryEmpty
checkUpdatesFailed
downloadUpdatesFailed
2017-12-16 15:10:34 +08:00
jhdxr
e6a09e7cf7 Merge branch 'dev' 2017-10-21 16:44:21 +08:00
jhdxr
83282ebcb8 fix #1397 action keywords should not be set to empty string 2017-10-21 16:23:22 +08:00
jhdxr
d3169b10f8 Merge branch 'master' into dev 2017-10-21 15:11:53 +08:00
蝦米
197c22c7fe Merge pull request #1628 from shufflecode/dev
since Yamp is not maintained anymore, replaced with Mages
2017-10-21 14:59:40 +08:00
Michael Wirth
cfe923b8c4 re-enabled exception during debug 2017-10-17 20:01:41 +02:00
Michael Wirth
742048f24e Fixed typos and swapped Brackets for parentheses, Corrections due to PR 2017-10-16 20:17:53 +02:00
Michael Wirth
36111aa001 since Yamp is not maintained anymore, i switched it for Mages
https://github.com/FlorianRappl/Mages
fixes also #1022
2017-10-15 20:21:23 +02:00
bao-qian
8a0f80181e Notes for maintenance 2017-04-23 23:33:53 +01:00
Hüseyin Tüfekçilerli
fd4fec5340 Removed extra leading space char (#1368) 2017-04-11 15:43:10 +01:00
LiuJianhua
808523b814 Fix folder UnauthorizedAccessException #1282 #1357 2017-04-11 15:40:11 +01:00
Michael Eichhorn
5640b2157f ContextMenu 4: for non c# plugin #1366 2017-04-11 14:50:26 +01:00
Michael Eichhorn
f3d79d906e ContextMenu 3: Format #1366 2017-04-11 14:50:25 +01:00
Michael Eichhorn
5198f70ebf ContextMenu 2: Extract DeserializedResult #1366 2017-04-11 14:50:25 +01:00
Michael Eichhorn
de12208d4a ContextMenu 1: Rename #1366 2017-04-11 14:50:09 +01:00
bao-qian
e20247d055 Merge pull request #1364 from martian-f/calculator-user-locale
Convert calculator numbers from/to user locale.
2017-04-11 11:45:34 +01:00
martian-f
0862326a79 Convert calculator numbers from/to user locale.
Tries to convert numbers in query string to invariant culture format before passing to YAMP, and the other way around when presenting result from
YAMP. Nothing fancy, just a regular expression scanning for substrings consisting of number, decimal separator and group separator, trying a
parse and convert on them. Translation is skipped if no conversion between user locale and invariant culture number format is necessary.

Closes #436.
2017-04-10 23:43:23 +02:00
bao-qian
16531653ab Merge branch 'master' into dev 2017-04-07 11:55:56 +01:00
bao-qian
2f3a2d495a Update ISSUE_TEMPLATE.md 2017-04-06 16:28:16 +01:00
bao-qian
baa9837702 Update ISSUE_TEMPLATE.md 2017-04-06 15:26:11 +01:00
bao-qian
cfa7d9820b remove annoying fail prompt #1339 2017-04-05 13:59:16 +01:00
bao-qian
3554d9fda2 Handle more exceptions for UWP #1309 2017-04-01 19:15:23 +01:00
bao-qian
cb2eebef40 More exception info 2017-04-01 18:56:29 +01:00
bao-qian
f4d0cc4dd1 Misc 2017-04-01 18:50:22 +01:00
bao-qian
d31347c0e0 Revert "Remove first chance exception"
This reverts commit 4aa4d98c08f3bcc176bd3ac1b9b718ab98298ca4.
The squirrel crash is not caused by this #1320
2017-04-01 18:45:57 +01:00
bao-qian
911a43337b error report windows won't crashs 2017-04-01 13:13:53 +01:00
bao-qian
f62f15cea7 Decouple runtime info and dependencies info 2017-04-01 13:02:07 +01:00
bao-qian
dcd27a5f7a Add more NonNull check 2017-04-01 12:54:05 +01:00
bao-qian
bf4c4561ce Remove some useless code for error reporting 2017-04-01 12:49:51 +01:00
bao-qian
cc6c18b5ad fix debug info 2017-04-01 12:49:51 +01:00
bao-qian
6b536ced92 let it crash 2017-04-01 12:49:51 +01:00
bao-qian
60ca0cbae3 Add build instruction 2017-03-31 11:39:20 +01:00
bao-qian
b16abfba9c Remove more duplicated dll 2017-03-30 18:52:49 +01:00
bao-qian
0a34143388 Ensure UpdateManager is Disposed #1320 2017-03-30 18:43:52 +01:00
bao-qian
1e79f202f4 Merge branch 'master' of https://github.com/Wox-launcher/Wox 2017-03-29 10:19:12 +01:00
bao-qian
90f7b5259b Remove first chance exception
Remove first chance exception,
it crash the app frequently when squirrel throw/catch exception internally.
2017-03-28 22:30:55 +01:00
bao-qian
2d143abda6 update #1266 help info 2017-03-27 00:18:47 +01:00
bao-qian
128671f5e9 fix github update error handling #1266 2017-03-27 00:10:02 +01:00
bao-qian
6945eb548f Add default config 2017-03-14 20:28:05 +00:00
bao-qian
ca3cd36887 add script into solution 2017-03-14 02:24:41 +00:00
bao-qian
31da08d186 fixup 2017-03-14 02:16:30 +00:00
bao-qian
1c90b09e2d Make the name same as post build event in vs 2017-03-14 02:14:20 +00:00
bao-qian
18056139fd ignore more files 2017-03-14 02:12:34 +00:00
bao-qian
0898632ba4 Clean solution items 2017-03-14 02:12:34 +00:00
bao-qian
f79a493083 Merge appveor build script and visual studio build script into one 2017-03-14 02:12:33 +00:00
bao-qian
2b159e24a7 fixup 2017-03-14 02:12:33 +00:00
bao-qian
d8032836bf Rewrite appveyor build script 2017-03-14 00:45:41 +00:00
bao-qian
b881f3c1c8 misc 2017-03-07 19:37:38 +00:00
bao-qian
6f42bcfa4f Use own update manager, so we can pass proxy #1266 2017-03-07 19:23:42 +00:00
bao-qian
ade6c46cca let it crash for http get 2017-03-07 18:57:47 +00:00
bao-qian
c6d0bf8d98 misc 2017-03-07 18:33:18 +00:00
bao-qian
c41035058a Merge update logic #1266 2017-03-06 01:54:06 +00:00
bao-qian
e66f7a206e Add new version popup 2017-03-06 01:30:47 +00:00
bao-qian
cec3d986a7 add local buil script 2017-03-06 01:04:51 +00:00
bao-qian
c6e65b4e24 test 2017-03-06 01:01:58 +00:00
bao-qian
ccb7e5270c Misc 2017-03-06 00:05:03 +00:00
bao-qian
ff29b6e84f fix can't catch exception issue
- Origin code can't catch exception in code, and all exceptions goes
into first chance exception hanlding.
- releated: #1266
- http://stackoverflow.com/a/5383408/2833083
-
https://msdn.microsoft.com/en-us/magazine/jj991977.aspx?f=255&MSPPError=-2147217396
2017-03-05 23:59:10 +00:00
bao-qian
6ed9e09451 More exception info 2017-03-04 16:41:03 +00:00
bao-qian
75ce6d42d0 update nuget package 2017-03-04 16:35:24 +00:00
Jason Ko
3bb0b93c79 make the font list sorted (#1263) fix #790 2017-03-02 11:07:52 +00:00
bao-qian
87834b74ef Update ISSUE_TEMPLATE.md 2017-03-02 00:42:23 +00:00
bao-qian
6ef434f26d Update README.md 2017-03-02 00:30:06 +00:00
bao-qian
15b4152dce fixup 2017-03-02 00:29:18 +00:00
bao-qian
4aa19d700d Update README.md 2017-03-02 00:27:16 +00:00
bao-qian
3edf667958 Add coding style 2017-03-02 00:16:58 +00:00
bao-qian
c9b3b6c1b8 Merge pull request #1265 from bagjob/master
Add Korean language.
2017-03-01 23:49:53 +00:00
bao-qian
6e3bc5e65d Save more 2017-03-01 23:47:50 +00:00
bao-qian
886e35477e Add more error handling, fix #1252 2017-03-01 23:21:34 +00:00
bagjob
2f7fbea567 Add Korean language.
Add Korean language.
2017-03-01 15:17:39 -08:00
bao-qian
b7ecbd3b51 fixup 2017-02-28 00:31:46 +00:00
bao-qian
92b636ab75 Don't remove /Theme/Dark.xaml 2017-02-28 00:12:53 +00:00
bao-qian
28c57f75e8 Fix #1255 2017-02-28 00:12:06 +00:00
bao-qian
cb1305c87f typo 2017-02-27 23:21:08 +00:00
bao-qian
392bfcca2d Add universal pretty print method 2017-02-26 20:44:35 +00:00
bao-qian
2f95b8f6b2 more error handling for i18n 2017-02-26 20:44:35 +00:00
bao-qian
96330b6f03 Update README.md 2017-02-24 12:25:39 +00:00
bao-qian
b509ae78b7 Merge pull request #1250 from jhdxr/bugfix/1199
PageUp/PageDown for result list
2017-02-23 14:52:30 +00:00
bao-qian
3a8a16bf48 fix #1252 #1251 2017-02-23 11:13:05 +00:00
jhdxr
8d2cab7b12 fix #1199 PageUp/PageDown for result list 2017-02-23 13:04:44 +08:00
bao-qian
9034d6194a update badges 2017-02-23 02:17:42 +00:00
bao-qian
f8e400deb9 fix mainwindow position issue #823 #1172
thanks @slav for https://github.com/Wox-launcher/Wox/pull/960
2017-02-23 02:01:27 +00:00
bao-qian
13290efac1 misc 2017-02-21 11:54:39 +00:00
bao-qian
1df4da210f remove useless code 2017-02-21 11:54:39 +00:00
bao-qian
d0c426a7f9 Completely rewrite resource load / update / remove
1. part of #468
2. fix #1245, bug introduced in 7e1c77beddf2c978fa1440e799fec4eb9554739d
2017-02-21 11:53:57 +00:00
bao-qian
17e5bb8d53 catch more json exception 2017-02-20 12:16:49 +00:00
bao-qian
019cd51333 click event will occur when setting is clicked and cause blur in center of setting window #711 2017-02-20 00:33:32 +00:00
bao-qian
d62458b07b Fix unremoved resource bug #711 2017-02-19 23:29:13 +00:00
bao-qian
2e01153363 remove blur when there is no blur in theme #711 2017-02-19 22:28:42 +00:00
bao-qian
50ef826114 add note 2017-02-19 20:27:25 +00:00
bao-qian
ddb28a9b90 null enhance 2017-02-13 09:38:48 +00:00
bao-qian
0656ddd50a fixup 30dfad29f6100153247db4edb6753d8db5112888 2017-02-13 00:49:09 +00:00
bao-qian
afdbf0adbf Add last query mode #1141 #1050
https://github.com/Wox-launcher/Wox/issues/1050
https://github.com/Wox-launcher/Wox/issues/1141
2017-02-12 22:34:12 +00:00
bao-qian
a5f5098beb backup existing broken file 2017-02-12 20:03:32 +00:00
bao-qian
e5c98e61c8 add nonnull check 2017-02-12 19:40:28 +00:00
bao-qian
2793c8dd03 add issue link to comment 2017-02-12 17:56:39 +00:00
bao-qian
e4e226b2c7 force pinyin library static constructor initialize #858 2017-02-12 17:22:56 +00:00
bao-qian
46f98ded10 change init order 2017-02-12 17:10:42 +00:00
bao-qian
86b2391543 Cache for pinyin https://github.com/Wox-launcher/Wox/issues/1189 2017-02-12 16:57:41 +00:00
bao-qian
00ea4f8701 Move initia and save from MainViewModel to App 2017-02-12 16:57:24 +00:00
bao-qian
f7c9a12510 remove storage dependency from jsonstorage 2017-02-07 00:21:39 +00:00
bao-qian
b6a7e049e6 fix null bug in 4c07698c99a1e30f441af5d2782a679c5ff68968 2017-02-07 00:20:55 +00:00
bao-qian
45b3863353 move constant into local scope 2017-02-06 22:16:58 +00:00
bao-qian
c2764fda45 use proper plugin metadata 2017-02-06 22:15:28 +00:00
bao-qian
d358a9d9fd remove useless virtual method 2017-02-06 22:04:52 +00:00
bao-qian
1a08ba0b57 Merge pull request #1210 from barakyaari/master
Fixed typo in HelloWorldCSharp plugin
2017-01-30 00:32:13 +00:00
bao-qian
974efc55ac remove custom exception 2017-01-30 00:26:11 +00:00
BarakYaari
dc46277d0c Fixed typo in HelloWorldCSharp 2017-01-28 11:29:06 +02:00
bao-qian
052048ad4c unfied log format validation and log format example 2017-01-25 00:24:00 +00:00
bao-qian
c361d8d16b fixup 2017-01-25 00:23:28 +00:00
bao-qian
045fd20d8c Rewrite all log message format 2017-01-24 01:02:32 +00:00
bao-qian
fdfd684e7a remove useless stream.close and more log 2017-01-14 14:21:02 +00:00
bao-qian
0a2592893d rename cache file 2017-01-14 14:10:30 +00:00
bao-qian
4c6c310e0a Use cache type directly instead of a new class, decouple binarystorage and storage 2017-01-13 15:40:32 +00:00
bao-qian
a5aa305773 remove unused stop watcher 2017-01-13 15:39:46 +00:00
bao-qian
196cf1cd18 faster startup time for control panel plugin 2017-01-13 14:15:48 +00:00
bao-qian
0cf654aa88 fixup 2017-01-13 01:32:54 +00:00
bao-qian
2cf20f4b6c genuine cache for program plugin 2017-01-13 01:21:00 +00:00
bao-qian
6b0ba94288 format 2017-01-12 20:50:17 +00:00
bao-qian
870ad008bf calculate score for addtional info 2017-01-12 20:50:12 +00:00
bao-qian
767aaa80a0 add pinyin cache for control panel plugin #858 2017-01-12 20:49:13 +00:00
bao-qian
5eadaa08aa prefill pinyin cache for program plugin #858 2017-01-12 20:47:29 +00:00
bao-qian
5cdc3e694f Add cache for pinyin query #858 2017-01-12 20:46:40 +00:00
bao-qian
e96382fdd9 auto change log level 2017-01-12 19:52:37 +00:00
bao-qian
a486319cc2 temp fix for slow pinyin query #1017 2017-01-12 02:16:53 +00:00
bao-qian
1432866798 add startup boundary to log 2016-11-30 02:35:56 +00:00
bao-qian
4a375b6563 fix 0 init time record 2016-11-30 01:08:29 +00:00
bao-qian
743658032a speedup program load time 2016-11-30 01:07:48 +00:00
bao-qian
e2f8f5095f fix stopwatch logging type 2016-11-30 00:39:03 +00:00
bao-qian
a22ca5b57f refactoring stopwatch 2016-11-30 00:32:30 +00:00
bao-qian
b43c6c00bb enhance exception logging 2016-11-30 00:32:30 +00:00
bao-qian
c56e4557f9 enhance lnk program exception handling 2016-11-30 00:32:30 +00:00
bao-qian
6b640ea55e fix location null 2016-11-29 01:55:11 +00:00
bao-qian
70f8a771a9 reorganize methods 2016-11-29 01:46:29 +00:00
bao-qian
4b4aec5bbd fix log logic 2016-11-29 01:26:47 +00:00
bao-qian
00198d5e49 fix image 2016-11-29 01:23:40 +00:00
bao-qian
8a19d25396 rewrite uwp by not using GetAppListEntriesAsync,
because
1. logo is not squarelogo44x44
2. can't get details info (background etc)
2016-11-29 01:23:40 +00:00
Enzo
8533f6edf1 Update Themes URL link 2016-11-29 01:23:40 +00:00
Enzo
bc9693d6f6 Updated French Translation 2016-11-29 01:23:40 +00:00
bao-qian
43a03d85a8 update ignore file 2016-11-21 22:03:23 +00:00
bao-qian
f0d63bed58 update nuget package version 2016-11-21 21:55:39 +00:00
bao-qian
0a3978ab8c update nuget package version 2016-11-18 00:29:36 +00:00
bao-qian
1c09b8baef Merge branch 'master' of https://github.com/Wox-launcher/Wox 2016-11-16 23:14:32 +00:00
Boris Makogonyuk
547b610454 Merge pull request #1012 from HA3IK/lang--uk-UA
Interface: added the Ukrainian language and corrected error in text in the Russian language
2016-11-11 23:05:49 +01:00
Boris Makogonyuk
9d39bed852 added getting started guide line 2016-11-11 22:12:55 +01:00
Boris Makogonyuk
70ff7cf74c 1.3.67 version link bumped to 1.3.183 2016-11-11 12:41:33 +01:00
Boris Makogonyuk
8908fb07a0 Merge pull request #1066 from jhdxr/patch-1
fixes typo in issue template
2016-11-08 20:10:25 +01:00
xiami
f2c4ac061c fix typo 2016-11-09 02:29:56 +08:00
HA3IK
b2871d8fc5 Corrected obvious error in the text in the template of Russian interface (ru.xaml) 2016-10-11 07:04:23 +01:00
HA3IK
f4c6e5a6fa Ukrainian language was added to the main list of languages 2016-10-11 06:47:34 +01:00
HA3IK
67d838b5fc Added new interface template (uk-UA.xaml) & was translated into the Ukrainian language 2016-10-11 06:44:26 +01:00
bao-qian
f15a354c29 comments 2016-09-06 01:25:00 +01:00
bao-qian
281e03055d Fix non exe lnk
for lnk like control panel.lnk, it has no target and no exe extension.
2016-09-06 01:16:42 +01:00
bao-qian
216e9c0125 fix uwp parts for #964 2016-09-05 22:41:09 +01:00
bao-qian
2c14f8b43b partial fix for #964 2016-09-05 22:30:29 +01:00
bao-qian
89a77feea7 temp hack for multipla application mismatch problem #198
e.g. mail and calendar, skype video and messaging

https://github.com/Wox-launcher/Wox/issues/198#issuecomment-244778783
2016-09-05 22:10:08 +01:00
bao-qian
5ca880c8fd Better logo handling for uwp #198 2016-09-05 20:33:31 +01:00
bao-qian
17671493bf Leave only exe programs from start menus #198 2016-09-05 18:08:30 +01:00
bao-qian
0d687eb348 fix js based application logo #198 2016-09-05 17:45:29 +01:00
bao-qian
1e01f94540 Merge branch 'master' into dev 2016-08-31 16:41:38 +01:00
Alex Meyer-Gleaves
335ef67971 Improve UWP indexing #954
1. enable WinJS based UWP
2. ms bug of InstalledLocation:
https://connect.microsoft.com/VisualStudio/feedback/details/1690879/vs2015-cannot-auto-uninstall-universal-windows-appss-debug-item
2016-08-31 16:39:13 +01:00
bao-qian
429d0c8df8 add common known problems 2016-08-30 21:11:33 +01:00
bao-qian
72b41f4322 fixup 2016-08-22 09:49:32 +01:00
bao-qian
fb5938280e Move context menu and socre into program model 2016-08-22 02:21:28 +01:00
bao-qian
2d72c58ae7 fixup 2016-08-22 02:21:28 +01:00
bao-qian
ad99e8edce Update README.md 2016-08-21 01:56:35 +01:00
bao-qian
d463f5a032 fixup 2016-08-20 21:46:48 +01:00
bao-qian
1415f74fe5 Check AppListEntry #198 2016-08-20 19:19:33 +01:00
bao-qian
8de84f03a0 Better title and subtitle 2016-08-20 18:50:14 +01:00
bao-qian
fe85ce5885 Fix multi application uwp package #198 2016-08-20 18:25:55 +01:00
bao-qian
9dc7142e4a fixup 2016-08-20 18:19:49 +01:00
bao-qian
34a8d0b99b fixup 2016-08-20 18:19:13 +01:00
bao-qian
176e2726e9 Fix unicode in lnk dexcrption 2016-08-20 18:18:41 +01:00
bao-qian
2e4a1680b9 Parallel linq everywhere
1. Parallel linq
2. remove depth
3. fix #257
2016-08-20 17:11:02 +01:00
bao-qian
1eddae9da6 Remove overlay of shortcut icon again
1. remove GDI dependency
2. remove unused pinvoke define
3. Remove overlay of shortcut icon
2016-08-20 13:10:33 +01:00
bao-qian
f217dbac51 fixup 2016-08-20 02:36:36 +01:00
bao-qian
eb74414b16 disable file watcher
Filewatcher will only watch directory given by user,
a bit useless.
disable for now
2016-08-20 01:18:43 +01:00
bao-qian
ee542f0fec Merge models 2016-08-20 01:17:28 +01:00
bao-qian
0c0ec29821 Add icon constant 2016-08-20 01:02:47 +01:00
bao-qian
955ce1dd2d Ignore broken cache #783 2016-08-20 01:02:20 +01:00
bao-qian
f32f37cfbb rename 2016-08-19 23:25:36 +01:00
bao-qian
8684788f1f rename 2016-08-19 23:25:13 +01:00
bao-qian
9e033d1673 rename 2016-08-19 23:24:21 +01:00
bao-qian
69c00d272b Fix can't find file exception caused by abnormal scale 2016-08-19 23:15:40 +01:00
bao-qian
19617e9dae Refactoring start menu source
1. refactoriong start menu source
2. fix depth problems involved in last commit
2016-08-19 23:05:59 +01:00
bao-qian
f8cc54d4f2 Refactoring App Paths source 2016-08-19 22:08:45 +01:00
bao-qian
8764aa9829 Remove suffixes from model 2016-08-19 20:34:20 +01:00
bao-qian
fb68f6eb60 Remove enable property from model 2016-08-19 19:16:06 +01:00
bao-qian
d09c42366a Remove bonus points 2016-08-19 19:09:11 +01:00
bao-qian
0298fa602a Code refactoring #198 2016-08-19 19:02:29 +01:00
bao-qian
30cbcbb3c4 Fix uwp background color / plated icon #198 2016-08-19 02:37:39 +01:00
bao-qian
1127d323d3 add missing dll 2016-08-18 01:29:45 +01:00
bao-qian
01e812aebf Initial support for uwp app #198
1. basic support, better than nothing...
2. thanks great contribution from @talynone
3. #198
2016-08-18 01:16:40 +01:00
bao-qian
e690bae7d1 Merge pull request #917 from meixger/issue846
Fixes issue #846 IndexOutOfRangeException when reading empty icon fro…
2016-08-15 14:58:24 +01:00
Martin Meixger
58c2c84120 Fixes issue #846 IndexOutOfRangeException when reading empty icon from registry in ControlPanel plugin 2016-08-10 14:33:58 +02:00
bao-qian
a96947c7e7 Merge pull request #904 from jondaniels/calc_fix3
fix typo preventing last PR from taking effect
2016-08-05 06:46:56 +01:00
Jon Daniels
45b40d903c fix typo preventing last PR from taking effect 2016-08-04 17:52:11 -07:00
bao-qian
b19033aa4f Merge pull request #903 from jondaniels/calc_fix2
added sqrt as calculator keyword too
2016-08-05 00:57:17 +01:00
Jon Daniels
adac0f3e51 added sqrt as calculator keyword too 2016-08-04 16:43:32 -07:00
bao-qian
3441482e8c Merge pull request #902 from jondaniels/calc_fix
added various operator keywords to calculator
2016-08-04 21:31:13 +01:00
Jon Daniels
781845905c added various keywords to calculator
Added functions I commonly use on e.g. google calculator but were missed by parser.

Specifically I added:
e (constant like pi)
tan, arcsin, and arctan
log and ln
2016-08-04 13:17:00 -07:00
bao-qian
b3c9b58350 Merge branch 'master' into dev 2016-08-03 23:19:19 +01:00
Salas
337a2cf319 update zh-tw locale strings for plugins (#898)
* update zh-tw locale strings for plugins
2016-08-03 23:18:57 +01:00
Salas
06fa04a448 update zh-tw locale strings 2016-08-03 23:17:35 +01:00
Gopal Adhikari
93e86b141d Change WindowIntelopHelper to WindowIntelopHelper (#887) 2016-08-01 14:12:53 +01:00
bao-qian
fc56027929 Merge branch 'dev' 2016-07-30 16:17:13 +01:00
Damir Ainullin
d2287328ad Simple fixes (#871) 2016-07-30 16:16:28 +01:00
bao-qian
b91834b813 Merge pull request #885 from zhiyue/dev
fixed the origin root images directory of web search plugin
2016-07-30 16:02:40 +01:00
zhiyue
8faf991bcb fixed the origin root directory of web search plugin ICon images directory. 2016-07-30 09:44:47 +08:00
bao-qian
84ac30b8d2 Merge pull request #884 from zhiyue/dev
fixed #881
2016-07-30 02:21:48 +01:00
zhiyue
0f17aebc52 fixed #881
could not normally display the Icon
2016-07-30 08:22:25 +08:00
bao-qian
2bff13d9e1 Merge branch 'master' into dev 2016-07-27 19:58:37 +01:00
bao-qian
7683db70cd Merge branch 'master' of https://github.com/Wox-launcher/Wox 2016-07-27 19:58:11 +01:00
bao-qian
94ba2ad24a Merge pull request #879 from he4d/dev
Added German and Danish language support
2016-07-27 19:57:53 +01:00
Tobias Tschinkowitz
e42a22d1f2 Added german and danish language support 2016-07-27 20:41:49 +02:00
Tobias Tschinkowitz
11b6946e00 Providing User Agent for Http.Download method (#874) 2016-07-27 14:25:16 +01:00
bao-qian
ba8a675eaa Update ISSUE_TEMPLATE.md 2016-07-22 15:30:16 +01:00
bao-qian
10f8941258 Program plugin: simple refactoring 2016-07-21 20:49:01 +01:00
bao-qian
0816fdf318 Program plugin: remove lock
lock is not needed since assignment is atomic
2016-07-21 20:07:23 +01:00
bao-qian
bcf43640fa Merge branch 'master' of https://github.com/Wox-launcher/Wox 2016-07-21 19:52:56 +01:00
bao-qian
1de68051e3 Program plugin: remove complicated inheritance 2016-07-21 19:52:48 +01:00
bao-qian
0c9015bb77 Program plugin: move files 2016-07-21 19:52:37 +01:00
bao-qian
a8c200f25a simple refactoring 2016-07-21 19:52:36 +01:00
Jordy Hulck
59fbb2acb1 Fix SearchSource editing when action keyword is not changed (#856)
* Fixed SearchSource edit

* Remove temp var
2016-07-21 19:52:35 +01:00
bao-qian
3b53527e9e fix #813 2016-07-21 19:52:25 +01:00
bao-qian
3c53c2c56c Program plugin: remove complicated inheritance 2016-07-21 19:51:52 +01:00
bao-qian
13a51b6bd3 move files 2016-07-21 19:51:52 +01:00
bao-qian
c8d81518cc simple refactoring 2016-07-21 19:51:52 +01:00
Jordy Hulck
390d49d599 Fix SearchSource editing when action keyword is not changed (#856)
* Fixed SearchSource edit

* Remove temp var
2016-07-21 14:50:37 +01:00
bao-qian
3604e6fa7d fix #813 #823 2016-07-20 23:37:06 +01:00
bao-qian
206532f195 add more exception info 2016-07-20 02:01:51 +01:00
bao-qian
c9f38fef45 fixup 2016-07-20 02:01:51 +01:00
bao-qian
b55c05095a Update ISSUE_TEMPLATE.md 2016-07-20 01:43:03 +01:00
Boris Makogonyuk
8f073c5b6f Hardcoded supported accents version 8 (Windows 8 is 6.2, Windows 7 is 6.1). (#817)
Added check before applying blur.
2016-07-20 00:30:15 +01:00
Jordy Hulck
f45ca180e9 Fixed hide on startup problem (#852)
* Fixed HideOnStartup
* Fixed tray icon not showing up and hiding properly
2016-07-20 00:25:36 +01:00
Søren Kottal
1eb549b137 Create da.xaml
Thanks for a great app - heres a danish translation!
2016-07-05 22:40:20 +02:00
bao-qian
3a9bfc84cd Merge pull request #828 from liubiantao/patch-1
Ramen Bless Your Repo
2016-07-05 16:02:43 +01:00
Haitao Yin
c9a8a2af07 Ramen Bless Your Repo 2016-07-05 22:44:14 +08:00
bao-qian
f5069aef6e fix everything error text 2016-06-23 23:01:20 +01:00
bao-qian
eb1af1e27e fix bug introduced in 2a3bf727be1c8bc185f1b436893b1c4385d982ac 2016-06-23 22:55:38 +01:00
bao-qian
d84ac0df9c fix names 2016-06-23 22:53:30 +01:00
Korzo
04275cd702 Add ability to configure Everything executable working directory (#718) 2016-06-23 22:45:34 +01:00
bao-qian
746bc7d7bd Merge pull request #798 from Wox-launcher/dev
History query related refactoring
2016-06-23 22:24:10 +01:00
bao-qian
15c5e9833a Bring history back
1. bring history back, disabled in
56d08663410916df0a4e408da6e4af3d2a2722c0
2. fix #632 #722
3. hotkey: ctrl+H
2016-06-23 22:17:47 +01:00
bao-qian
b589a1a13e Move ResultListBox Visibility
1. Move ResultListBox Visibility from MainViewModel to ResultsViewModel
2. Refactoring
2016-06-23 02:26:54 +01:00
bao-qian
5102770ad5 move properties into models 2016-06-23 02:25:55 +01:00
bao-qian
47f396cfce Fix #791 2016-06-23 00:03:01 +01:00
bao-qian
759d0a825b fixup 2016-06-22 00:57:27 +01:00
bao-qian
a8869c46b8 Temp fix for #667 by add wox.py to PYTHONPATH 2016-06-22 00:42:24 +01:00
bao-qian
4b31f40026 Fix python plugin bug introduced in d7399204 2016-06-22 00:00:53 +01:00
bao-qian
4f8dee8fcf Merge pull request #786 from Wox-launcher/dev
MVVM refactoring for web search plugin
2016-06-21 00:22:13 +01:00
bao-qian
cf5ab0ddef reformat 2016-06-21 00:18:35 +01:00
bao-qian
91e9d7431a MVVM refactoring for web search plugin, part 2
1. #486
2. rename
2016-06-21 00:17:55 +01:00
bao-qian
6e13440f1f MVVM refactoring for web search plugin, part 1
1. #486
2. fix #778 #763 #742
3. MVVM refactoring
4. remove IMultipleActionKeywords interface, use PluginManager directly
2016-06-21 00:14:32 +01:00
bao-qian
3efeb4a0a6 Refactoring proxy, part 2 2016-06-19 16:22:45 +01:00
bao-qian
764a372e9f Refactoring proxy, part 1 2016-06-19 16:18:08 +01:00
bao-qian
340087076e move nuget auto deploy back
not sure why I can't appveyor environment
2016-06-16 20:35:21 +01:00
bao-qian
ec5716c436 Fix #730 #766 2016-06-16 02:59:31 +01:00
bao-qian
3f3a34f788 Fix #762 2016-06-16 02:25:42 +01:00
bao-qian
e7879384b1 fix #749 2016-06-16 02:06:12 +01:00
bao-qian
853ee4bef1 Fix #706 , bug introduced in 2a3bf727be1c8bc185f1b436893b1c4385d982ac 2016-06-16 01:49:15 +01:00
Paweł Pastuszak
9be90dd035 Added plugins Polish translations (#764) 2016-06-16 01:29:38 +01:00
Xaver Schulz
4c7acca85a Update German translations (#759)
- some changes after review from @gappeh
- update for #505
2016-06-16 01:24:31 +01:00
jhdxr
d235bf9822 refactor IsWindowFullscreen. fix #687. (#712) 2016-06-16 01:24:30 +01:00
bao-qian
688d37fe76 update ignore file 2016-06-16 01:11:11 +01:00
Paweł Pastuszak
6c5f606682 Fixed languages files not included in build (#753) 2016-06-16 01:05:41 +01:00
bao-qian
ce5092036a Update README.md 2016-06-16 00:52:41 +01:00
Paweł Pastuszak
b745626a9f Added Polish language (#750) 2016-06-16 00:52:37 +01:00
bao-qian
c9d73bf1a4 fix #751 2016-06-16 00:52:33 +01:00
Paweł Pastuszak
6e76b7a7dd Improved English translations (#748)
* Improve English translation

* Improve plugins English translations
2016-06-16 00:52:14 +01:00
Kreen
fd41f0fe0d Update zh-tw.xaml (#725)
Make some adjustment to Chinese Traditional term.
2016-06-16 00:52:11 +01:00
bao-qian
d2e81d14d9 Update README.md 2016-06-16 00:52:05 +01:00
bao-qian
7d674b44d3 fix progressbar animation, bug introduced in 2a3bf727be1c8bc185f1b436893b1c4385d982ac 2016-06-16 00:51:55 +01:00
bao-qian
7d3617c27f add version number in installer, fix #696 2016-06-16 00:51:43 +01:00
bao-qian
cf6fca8e76 Fix #705 2016-06-16 00:51:30 +01:00
bao-qian
1560a823c3 fix #695 2016-06-16 00:51:04 +01:00
bao-qian
aba41d41ac fix #690 2016-06-16 00:50:48 +01:00
bao-qian
245cffc4f7 Refactoring visibility related events
1. remove unnecessary events from MainViewModel
2. remove usage of Obsolete api (show, hide etc)
3. fix space problem in #660
4. part of #486
5. fix up/down key bug introduced in 92b7ca6a1bafd254e39ee92812ff691906cd85c1
6. fix #678
2016-05-25 01:19:46 +01:00
bao-qian
3aada68eb9 temp disable history command 2016-05-25 01:06:26 +01:00
bao-qian
d15611fd44 Remove redundant OnPropertyChagned 2016-05-25 01:06:25 +01:00
bao-qian
82d4b866c0 fixup 2016-05-25 01:06:24 +01:00
Zaycn
4645dd0011 Add dutch translation (#683) 2016-05-25 01:03:55 +01:00
bao-qian
bec81ddbfe misc 2016-05-25 01:03:54 +01:00
bao-qian
6e4279e30f rename 2016-05-25 01:03:53 +01:00
bao-qian
e1131dcf3d More data bindings (MaxResultsToShow + ActivatedTimes) 2016-05-25 01:03:52 +01:00
bao-qian
762de84f34 Rename log file 2016-05-25 01:03:51 +01:00
bao-qian
e480cdbf9b fix #665 2016-05-25 01:03:51 +01:00
bao-qian
95cdc89795 Hotkey for mainwindow 2016-05-25 01:03:50 +01:00
bao-qian
e7f5491239 Save and close for setting tab 2016-05-25 01:03:48 +01:00
bao-qian
ba78637361 misc 2016-05-25 01:03:47 +01:00
bao-qian
b3119749d9 Databinding for proxy tab 2016-05-25 01:03:43 +01:00
bao-qian
cb56b98222 Databinding for hotkey tab
part of #660
2016-05-25 01:03:43 +01:00
bao-qian
2256183422 misc 2016-05-25 01:03:42 +01:00
bao-qian
0bfa8219ca remove unused code 2016-05-25 01:03:41 +01:00
bao-qian
4c21a68139 remove tab selection 2016-05-25 01:03:40 +01:00
bao-qian
38cf74d83b Databinding for theme tab 2016-05-25 01:03:39 +01:00
bao-qian
1867e56739 misc 2016-05-25 01:03:39 +01:00
bao-qian
826a69c531 misc 2016-05-25 01:03:38 +01:00
bao-qian
7056be0870 Databinding for plugin tab + faster image load 2016-05-25 01:03:37 +01:00
bao-qian
708dba6cb1 misc 2016-05-25 01:03:36 +01:00
bao-qian
164a34a340 Refactoring for tab selected event 2016-05-25 01:03:36 +01:00
bao-qian
3593a918b7 Databinding for general tab 2016-05-25 01:03:35 +01:00
bao-qian
7d2ac2f55d Introduce viewmodel for settingwindow 2016-05-25 01:03:34 +01:00
bao-qian
cc4b343cf4 Misc 2016-05-25 01:03:33 +01:00
bao-qian
597931f79b use propertychanged helper 2016-05-25 01:03:32 +01:00
bao-qian
299864a9cf rename 2016-05-25 01:03:32 +01:00
bao-qian
014757a0f7 update translation 2016-05-22 15:36:09 +01:00
bao-qian
032b5b8776 update gitignore 2016-05-21 18:47:38 +01:00
bao-qian
44107f9821 rename 2016-05-21 01:22:12 +01:00
bao-qian
b49e45827f fix #608 2016-05-21 00:16:58 +01:00
bao-qian
3cd405e9ea fix #628 2016-05-20 22:20:41 +01:00
bao-qian
b17a54a2d2 Use Segoe UI
#655
2016-05-20 22:01:31 +01:00
bao-qian
2d6d4d2db0 Update ISSUE_TEMPLATE.md 2016-05-20 21:20:02 +01:00
bao-qian
646b7a3118 Refactoring error report
1. fix #627
2. fix #646
3. remove exceptionless
2016-05-20 21:16:25 +01:00
bao-qian
e4c7842f34 rename, part 1 2016-05-20 19:38:38 +01:00
bao-qian
7490cb81b8 fix #655 2016-05-20 19:24:01 +01:00
bao-qian
9e105a362f fix #461 2016-05-20 19:24:01 +01:00
bao-qian
9c8cbdd0e6 Merge pull request #642 from jhdxr/master
move disabled plugins to the bottom of the list
2016-05-20 17:15:58 +01:00
xiami
635a8a24f2 fix null error when plugin doesn't set Action (#656) 2016-05-20 17:14:24 +01:00
jhdxr
6354d4b911 move disabled plugins to the bottom of the list 2016-05-20 16:40:42 +08:00
bao-qian
452e8ed8c5 Merge pull request #647 from Arthur2e5/patch-3
README: 看来我是对奇怪的大小写有种强迫症(
2016-05-20 02:43:41 +01:00
Mingye Wang
8a93e3c64c README: 看来我是对奇怪的大小写有种强迫症( 2016-05-19 20:56:40 -04:00
Mingye Wang
76fc9b78fe plugin/everything/lang/en: enlint (#645) 2016-05-20 01:40:29 +01:00
Mingye Wang
cf685b404d lang/en: enlint (#644) 2016-05-20 01:28:46 +01:00
bao-qian
747d97ecfc Misc 2016-05-20 00:03:12 +01:00
bao-qian
be5fd86aa7 rename, part 2 2016-05-19 23:44:08 +01:00
bao-qian
963f57868d rename 2016-05-19 23:34:51 +01:00
bao-qian
97f0516630 Misc 2016-05-19 23:28:13 +01:00
bao-qian
c896b445bd rename 2016-05-19 09:11:40 +01:00
bao-qian
f06c4f4049 Bring run command functionality back
#636
2016-05-19 09:04:31 +01:00
bao-qian
937ce34c36 Rename 2016-05-18 19:38:43 +01:00
bao-qian
cddfd1b319 fix #625 2016-05-18 19:35:37 +01:00
bao-qian
c42892ee35 Update README.md 2016-05-18 15:02:29 +01:00
bao-qian
bb3003dc3b Misc 2016-05-17 22:48:18 +01:00
bao-qian
2858dce664 Fix #620, part of #614 2016-05-17 22:23:37 +01:00
bao-qian
1517ae3fc9 Misc 2016-05-15 17:19:33 +01:00
bao-qian
cf9c41f437 Log first change exception 2016-05-15 17:03:06 +01:00
xzhao
87497d2d09 Fixed #586
- add option to hide main window on startup
- Fixed #586
2016-05-14 14:48:58 +01:00
bao-qian
67ab979a9b fix download plugin 2016-05-14 00:08:57 +01:00
bao-qian
05f23f89ae Fix #608 2016-05-13 23:55:03 +01:00
bao-qian
cdc244ec06 Misc 2016-05-13 23:54:41 +01:00
bao-qian
71308316b1 Add auto updates gui option 2016-05-13 23:54:37 +01:00
bao-qian
2d1dfece25 Use system web proxy 2016-05-13 23:28:17 +01:00
bao-qian
65577a67dc Add option to disable auto updates 2016-05-12 03:01:33 +01:00
bao-qian
45d5da98ca fix disable plugin + fix #575 #609 2016-05-12 02:45:39 +01:00
bao-qian
455e067e73 Update README.md 2016-05-12 00:54:40 +01:00
bao-qian
6359826fd9 use unified http method for plugin installation + add more exceptions
#573
#610
2016-05-10 20:26:52 +01:00
bao-qian
8325083402 Log more update exceptions #611 2016-05-10 20:26:52 +01:00
bao-qian
0f1a1d5f56 Update README.md 2016-05-10 01:12:30 +01:00
bao-qian
52d6f4343c Merge pull request #607 from Wox-launcher/dev
Dev
2016-05-10 01:10:14 +01:00
bao-qian
405d55f3f6 Don't call init() and constructor for disabled plugins
part of #351
2016-05-10 01:08:54 +01:00
bao-qian
06010b1366 Merge remote-tracking branch 'refs/remotes/origin/master' into dev 2016-05-10 00:00:18 +01:00
bao-qian
21aa31f963 Fix proxy for github update 2016-05-09 23:51:10 +01:00
bao-qian
3f709cc39e Fix notify icon + move hotkey into MainViewModel 2016-05-09 23:35:20 +01:00
bao-qian
f376e1ab01 Fix #606 2016-05-09 22:56:05 +01:00
bao-qian
fb3ba16a92 fix SingleInstance 2016-05-09 22:45:24 +01:00
bao-qian
21285f02b8 Refactoring updater
1. move into a separate class
2. remove unused nuget package
2016-05-09 22:45:24 +01:00
bao-qian
05adf6f907 Update README.md 2016-05-09 22:10:20 +01:00
bao-qian
06fa171f7a Update README.md 2016-05-09 22:08:55 +01:00
bao-qian
4eae5be995 Update README.md 2016-05-09 22:05:38 +01:00
bao-qian
6d02617422 Add hello world csharp example 2016-05-09 05:04:33 +01:00
bao-qian
c2f07d14f3 Update README.md 2016-05-09 04:32:05 +01:00
bao-qian
52fe91f8bc Update README.md 2016-05-09 04:05:18 +01:00
bao-qian
98cb0f978e Finally 1.3 !!!! 2016-05-09 03:49:40 +01:00
bao-qian
977a83cce8 Merge pull request #605 from Wox-launcher/dev
Dev
2016-05-09 03:47:55 +01:00
bao-qian
4d92f9bf18 ignore more files 2016-05-09 03:45:20 +01:00
bao-qian
c459d60fc6 remove commit number 2016-05-09 03:42:32 +01:00
bao-qian
ad2e8a3c96 fix ci 2016-05-09 03:26:19 +01:00
bao-qian
7dd9b3fa0c Misc 2016-05-09 03:18:36 +01:00
bao-qian
340a151302 fixup 2016-05-09 03:15:37 +01:00
bao-qian
9f70af009f Remove prerelease 2016-05-09 03:15:37 +01:00
bao-qian
bf1a65b8e8 msbuild based installer generation is not working in appveyor, not sure why 2016-05-09 03:06:11 +01:00
bao-qian
037ab02a71 fixup 2016-05-09 02:59:42 +01:00
bao-qian
0039ec2958 fixup ci 2016-05-09 02:42:19 +01:00
bao-qian
08571d51fa Misc 2016-05-09 02:41:46 +01:00
bao-qian
6ac33b0568 Add manually check updates option
1. manually check updates
2. refactoring get http request to use async
3. remove some generic exception catch
4. remove unused code
2016-05-09 02:32:47 +01:00
bao-qian
373da78b7b Misc 2016-05-08 22:26:46 +01:00
bao-qian
c3d22335e2 move installer into msbuild 2016-05-08 22:26:37 +01:00
bao-qian
4216eec494 fix dynamic assembly 2016-05-08 22:22:36 +01:00
bao-qian
e88e912c3c Remove unused updater and command line arguments 2016-05-08 22:13:23 +01:00
bao-qian
d06fb83fee Dispose when restart 2016-05-08 17:47:28 +01:00
bao-qian
e0b9a81c9b Installer + auto update on startup
1. installer
2. auto check update on startup
3. auto start on next startup
4. remove command line arguments which breaks squirrel
5. auto generate installer on continue integration
2016-05-08 17:28:02 +01:00
bao-qian
192e4b8877 Refactoring results update 2016-05-08 17:28:02 +01:00
bao-qian
02d44a6cca Misc 2016-05-08 17:28:01 +01:00
bao-qian
39ba1e0582 Move websearch images to %APPDATA% 2016-05-08 17:28:00 +01:00
roose
ae121895e9 Added solution for executable plugins 2016-05-08 17:28:00 +01:00
bao-qian
11ecf20f89 fix tests 2016-05-08 17:27:59 +01:00
bao-qian
3646a7d12d Update README.md 2016-05-08 17:27:58 +01:00
bao-qian
db5f45da83 rename plugin main file, part 2 2016-05-08 17:27:58 +01:00
bao-qian
52a4bfa25f rename plugin main file, part 1 2016-05-08 17:27:57 +01:00
stafford
099b62b645 Cleanup proxy enable/disable, fix #518 2016-05-08 17:27:56 +01:00
stafford
e37332a5d2 Allow open settings from main window context menu, fix #519 2016-05-08 17:27:56 +01:00
bao-qian
f36cc56c81 Fix #548 2016-05-08 17:27:55 +01:00
bao-qian
b20750b936 fix #587 2016-05-08 17:27:54 +01:00
bao-qian
407f58da54 fix selected item
part of #412
2016-05-08 17:27:54 +01:00
bao-qian
fe5bb1d885 parallel foreach + list is not thread safe 2016-05-08 17:27:53 +01:00
bao-qian
92f45567d7 Focuses first textbox on load
fix #516
thanks @staff0rd for idea!
2016-05-06 00:29:27 +01:00
bao-qian
a4c0e0a59c Fix select result when there is no results
part of #412
2016-05-06 00:00:54 +01:00
bao-qian
d536377329 Refactoring multithreading
1. ThreadPool -> Task
2. fix deadlock
3. remove unnecessory application.dispatcher.invoke
4. enable non-main thread access to results collection
5. Misc
6. part of #412
2016-05-06 00:00:43 +01:00
bao-qian
923f4ed045 We don't need use ping to test website speed 2016-05-05 20:26:19 +01:00
bao-qian
9191cae144 temp hack for folder plugin results 2016-05-05 16:30:56 +01:00
bao-qian
e8c142353c Fix default icon path when add new web search 2016-05-05 16:21:35 +01:00
bao-qian
ba1e22955e Web search suggestion is loaded async
1. suggestion is async
2. if ping time of domain less than 300ms, then suggestion is still sync
3. #578 #539
2016-05-05 16:08:48 +01:00
bao-qian
c41847c0d7 Update README.md 2016-05-05 12:42:25 +01:00
bao-qian
e1d7c25c98 Update README.md 2016-05-05 12:41:57 +01:00
bao-qian
3d8e845233 Update ISSUE_TEMPLATE.md 2016-05-05 12:38:43 +01:00
bao-qian
0fa126a6b8 fixup test code 2016-05-05 12:30:23 +01:00
bao-qian
1961816ba7 Fix #572 2016-05-05 02:54:26 +01:00
bao-qian
4410b679a0 Add missing sdk files 2016-05-05 02:38:35 +01:00
bao-qian
e6214b3c97 Misc 2016-05-05 02:29:57 +01:00
bao-qian
7e7637a1b3 Misc 2016-05-05 02:21:04 +01:00
bao-qian
86b201623d Delete unused files 2016-05-05 02:21:03 +01:00
bao-qian
785843198a Use existing installed python
1. use installed python
2. add settings to choose python directory
3. add py3 compability
4. create hello world python example
2016-05-05 01:57:03 +01:00
bao-qian
bc0f5a9136 Use existing Everything, dll is loaded by platform
fix #574
2016-05-04 02:26:19 +01:00
bao-qian
461e650e05 fix missing image cache 2016-05-03 23:36:47 +01:00
bao-qian
c2132e3772 Fix file associated icon 2016-05-03 23:21:03 +01:00
bao-qian
174c7a776e Refactoring Refactoring icon, part 2
1. Add baidu, fix #576, #582
2. Refactoring
2016-05-03 21:22:11 +01:00
bao-qian
730864609f Refactoring icon, part 1, rename 2016-05-03 21:18:51 +01:00
bao-qian
784137fdac Misc 2016-05-03 00:04:04 +01:00
bao-qian
c6aff8424c Save when exit
1. fix image cache
2. fix save when exit since destructor won't be called
3. fix #583 #582 (partially)  #581 (partially)  #580
2016-05-02 22:37:01 +01:00
bao-qian
a7a34ac6b2 fixup 2016-04-27 23:17:06 +01:00
bao-qian
57492023f9 manually deploy use appveyoe 2016-04-27 23:04:18 +01:00
bao-qian
aff1e160b4 fixup 2016-04-27 23:00:59 +01:00
bao-qian
b8d12bd0cd rename 2016-04-27 22:54:27 +01:00
bao-qian
5ab33e831d Fix logger name and move logger to %APPDATA% 2016-04-27 22:52:53 +01:00
bao-qian
dc3b01dc15 use %APPDATA%
1. Fix can't find Result.ctor bug for plugin introduced in
c0889de1f9ae460b2cc189eb59e5bd90ddb7d17e
2. use %APPDATA% for all data, part of #389
3. MISC
2016-04-27 02:35:17 +01:00
bao-qian
e96bd5a0e7 Misc 2016-04-26 22:45:31 +01:00
bao-qian
57c33fe693 Fix #472 #476 #509 #523 #525 #557
Fix numerous web search plugin bugs
2016-04-26 02:40:23 +01:00
bao-qian
fc2d7b41d8 Move ImageLoader to Wox.Infrastructure, part 2 2016-04-26 01:20:10 +01:00
bao-qian
fd139d4903 Move ImageLoader to Wox.Infrastructure, part 1 2016-04-26 01:19:09 +01:00
bao-qian
813d33fc4d Json: Overwriting instead of add to list
http://stackoverflow.com/questions/29113063/json-net-why-does-it-add-to-list-instead-of-overwriting
2016-04-26 00:54:09 +01:00
bao-qian
26addf809e Use consistent new icons
https://icons8.com
2016-04-26 00:25:43 +01:00
bao-qian
a9e090c454 Fix bug introduced in 7c2e2a01c2 by @aaroncampf 2016-04-26 00:24:50 +01:00
bao-qian
59355cf79f Add plugin info entry for all context menu 2016-04-26 00:24:50 +01:00
bao-qian
c200c53268 Misc 2016-04-26 00:24:49 +01:00
bao-qian
a572ff9fca Fix #483
Thanks @wjcsharp to provide method
2016-04-26 00:24:48 +01:00
bao-qian
1ab4f99a37 Fix progressbar loading 2016-04-26 00:24:48 +01:00
bao-qian
99006465e6 fix #412
- use Task instead of QueueUserWorkItem
- add CancellationTokenSource when updating result panel and executing
query for all plugins
2016-04-26 00:24:47 +01:00
bao-qian
4a7e9c16d0 Fix flashing bug introduced in 152a7d719b15b3fb4559bea09b378b963555fe45
part of #565
2016-04-26 00:24:27 +01:00
bao-qian
d416a77866 Fix #559
fix program suffixes
2016-04-24 18:34:49 +01:00
bao-qian
07fe141f8a Fix #565
1. Fix resultlistbox visibility
2. Fix #565
3. Remove unused convertor
2016-04-24 17:06:28 +01:00
bao-qian
c2de80f532 Add Development / Author Status 2016-04-24 16:32:13 +01:00
bao-qian
e742bdfacf Update README.md 2016-04-24 16:29:38 +01:00
bao-qian
24950a098f fix #570 2016-04-24 14:47:18 +01:00
bao-qian
bed65745cc Use WorkingDirectory when strat process
As proposed in #569
2016-04-24 13:35:21 +01:00
bao-qian
04a4833c6e Fix uninitialized ui
fix #569
2016-04-24 03:49:04 +01:00
bao-qian
4aa0a733fc Merge branch 'dev' 2016-04-24 02:53:45 +01:00
bao-qian
082191412e Fix suffixes converter, part 2
rename file
2016-04-24 02:53:20 +01:00
bao-qian
e3a7d0807e Fix suffixes converter, part 1
1. fix #568, fix #566 fix #553, fix #559
2. simple refactoring
2016-04-24 02:53:20 +01:00
bao-qian
0ee3d1160a Remove NLog schema from git 2016-04-24 02:53:19 +01:00
bao-qian
b600bce23f Refactoring pinyin
1. use custom patched pinyin library Pinyin4Net
2. fix memory leak on startup: 360mb -> 160mb when using vs15 debugger
2016-04-24 02:53:18 +01:00
bao-qian
952b5fab89 Add custom patched pinyin library 2016-04-24 02:53:15 +01:00
bao-qian
6c705e1e25 Add RequireNonNull
http://www.yinwang.org/blog-cn/2015/11/21/programming-philosophy
2016-04-24 02:53:15 +01:00
bao-qian
349e8b2da7 Use resharper annotation nuget package 2016-04-24 02:53:14 +01:00
bao-qian
39ce74c1e0 Update appveyor.yml 2016-04-24 02:53:13 +01:00
bao-qian
77cf392300 Update READEME.md 2016-04-24 02:53:12 +01:00
bao-qian
b6225ccc38 Add Github prerelease for stable master build 2016-04-24 02:53:12 +01:00
bao-qian
a38eaad281 Add gitter 2016-04-24 02:53:11 +01:00
bao-qian
1b6d8a2b8d Remove NLog schema from git 2016-04-24 01:50:18 +01:00
bao-qian
cbc1c935bf fix missing pinyin file 2016-04-24 01:43:23 +01:00
bao-qian
391bf4113a fixup (bump library version) 2016-04-24 00:46:35 +01:00
bao-qian
718bff7469 Refactoring pinyin
1. use custom patched pinyin library Pinyin4Net
2. fix memory leak on startup: 360mb -> 160mb when using vs15 debugger
2016-04-24 00:37:25 +01:00
bao-qian
e67f60182d Add custom patched pinyin library 2016-04-23 02:34:47 +01:00
bao-qian
6bb0d736be Add RequireNonNull
http://www.yinwang.org/blog-cn/2015/11/21/programming-philosophy
2016-04-22 23:29:38 +01:00
bao-qian
5bc74fc296 Use resharper annotation nuget package 2016-04-22 23:13:14 +01:00
bao-qian
fea237a3ea Merge branch 'master' into dev 2016-04-22 23:04:05 +01:00
bao-qian
6f3cdeda70 Refactoring Program plugin to use parallel linq
much master when use parallel
2016-04-22 23:03:32 +01:00
bao-qian
8476baacc7 Use default thread pool settings 2016-04-22 22:42:43 +01:00
bao-qian
681f57f703 Misc 2016-04-22 22:42:26 +01:00
bao-qian
03051a95cf Refactoring image cache
use parallel linq to preload images, should be faster
2016-04-22 01:42:37 +01:00
bao-qian
80f31f75ad Rename, part 3 2016-04-21 22:41:30 +01:00
bao-qian
e0da4c81da Rename. part 2 2016-04-21 22:40:03 +01:00
bao-qian
57a5b90be7 Rename, part 1 2016-04-21 22:39:47 +01:00
bao-qian
98928dba9d Stop everything before every build 2016-04-21 22:36:49 +01:00
bao-qian
c83577cb81 Remove unused code 2016-04-21 21:04:33 +01:00
bao-qian
39edf1a8ed Remove instance logic for BinaryStorage and JsonStorage, part 2
1. part of #389
2. file rename
3. fixup
2016-04-21 20:56:53 +01:00
bao-qian
8d10c9aa41 Remove instance logic for BinaryStorage and JsonStorage, part 1
1. part of #389
2. huge refactoring
2016-04-21 20:42:07 +01:00
Goren G
0bcb76fa81 Load Everything base on CPU architecture 2016-04-21 20:37:08 +01:00
bao-qian
aceb9e4de7 Bump library version
Fix #538
2016-04-21 20:36:19 +01:00
bao-qian
a249ced37c Update appveyor.yml 2016-04-19 10:15:41 +01:00
bao-qian
375078a9a4 Update READEME.md 2016-04-18 23:17:11 +01:00
bao-qian
273a7d82a2 Add Github prerelease for stable master build 2016-04-18 23:04:41 +01:00
bao-qian
26f5e52ad8 Merge branch 'master' into dev 2016-03-28 19:26:13 +01:00
bao-qian
2a32f8f681 Add gitter 2016-03-28 15:02:53 +01:00
bao-qian
7dad0aa1da Bump library version
Fix #538
2016-03-28 13:56:38 +01:00
bao-qian
c742b73133 Merge pull request #540 from cmzy/dev
Add Chinese translation for ignoreHotkeysOnFullscreen resources
2016-03-28 12:10:37 +01:00
Andy Zhang
fece31a9aa Add Chinese translation for ignoreHotkeysOnFullscreen resources 2016-03-28 15:59:40 +08:00
bao-qian
b22a4501cc Use variable instead of global static method
1. introduce variable
2. part of #389
3. refactoring program suffix in program plugin
4. 全局变量一时爽,代码重构火葬场
2016-03-28 03:09:57 +01:00
bao-qian
c596039453 Rearrange query execution order
1. remove usage of PushResult
2. rearrange query execution order
3. decouple UserSetting dependency
4. remove instant query
5. remove backkeydown event
6. part of #389
2016-03-28 03:02:30 +01:00
bao-qian
7eea6ebe57 Remove unused code 2016-03-27 23:23:37 +01:00
bao-qian
b6a42ecf48 Kill Wox before solution build
ref:
http://stackoverflow.com/questions/2295454/solution-wide-pre-build-event/2295583#2295583
2016-03-27 18:43:48 +01:00
bao-qian
95f3d4fffa Update git ignore file 2016-03-27 18:15:10 +01:00
bao-qian
95becde93d Add error info when file/application can't be open
1. Fix #492
2. FIx #478
2016-03-27 02:49:05 +01:00
bao-qian
0538d082dc Fix dll has been blocked problems
1. Fix #536
2. Fix #279
ref: https://msdn.microsoft.com/en-us/library/dd409252(v=vs.110).aspx
2016-03-27 00:55:05 +00:00
bao-qian
c3b6b8d821 Remove unused code 2016-03-26 18:15:28 +00:00
bao-qian
c41fbbb93e Cleanup using Resharper 2016-03-26 04:46:39 +00:00
bao-qian
0728d96339 Bump nuget package version 2016-03-26 04:45:03 +00:00
bao-qian
abc335143b Misc 2016-03-26 03:15:28 +00:00
bao-qian
dc9908eac1 Refactoring ContextMenu
1. Remove ItemDropEvent
2. Remove ShowContextMenus from API
3. Fix context menu item can't be opened ( #535 ), bug introduced from PR #494 (commit 45dbb50)
4. Move open result command and load context menu command back to
MainViewModel
5. unify load context menu logic
6. other performance enhancement and potential bug fixed
2016-03-26 03:01:39 +00:00
bao-qian
6274b617f4 Fix position
1. Fix "Remember launch location", this was introduced since e7aa6022.
Fix #511
2. Fix opening position ( #510 ), bug introduced from PR #494 (commit e7aa602)
2016-03-26 03:01:37 +00:00
bao-qian
c5d45c6b44 Refactoring CustomizedPluginConfig
1. Reorder the sequence of initialization of UserSettings.
2. Use dictionary for CustomizedPluginConfigs, so code logic like
`.FirstOrDefault(o => o.ID == id);` are removed
3. part of #389
2016-03-26 03:01:36 +00:00
stafford
ef1a195036 made margins consistent 2016-03-26 03:01:35 +00:00
bao-qian
5ac0837be3 Refactoring ContextMenu
1. Remove ItemDropEvent
2. Remove ShowContextMenus from API
3. Fix context menu item can't be opened ( #535 ), bug introduced from PR #494 (commit 45dbb50)
4. Move open result command and load context menu command back to
MainViewModel
5. unify load context menu logic
6. other performance enhancement and potential bug fixed
2016-03-26 01:26:21 +00:00
bao-qian
fbc6f78cb5 Fix position
1. Fix "Remember launch location", this was introduced since e7aa6022.
Fix #511
2. Fix opening position ( #510 ), bug introduced from PR #494 (commit e7aa602)
2016-03-26 01:25:56 +00:00
bao-qian
d6f9fddc94 Refactoring CustomizedPluginConfig
1. Reorder the sequence of initialization of UserSettings.
2. Use dictionary for CustomizedPluginConfigs, so code logic like
`.FirstOrDefault(o => o.ID == id);` are removed
3. part of #389
2016-03-25 01:22:31 +00:00
bao-qian
199011feb8 Merge pull request #505 from schulz3000/add_german_translations
Add German Translation
2016-03-24 21:51:45 +00:00
bao-qian
98f1d5cd9b Merge pull request #517 from staff0rd/settings_margins
Consistent margins
2016-03-24 21:48:38 +00:00
bao-qian
b9c83ca06d Merge branch 'dev' 2016-03-24 21:46:26 +00:00
bao-qian
f0b7a00ae6 Emphasize the master build 2016-03-24 17:07:10 +00:00
bao-qian
a8a9a93317 Merge branch 'master' of https://github.com/Wox-launcher/Wox 2016-03-23 20:32:30 +00:00
bao-qian
32e9a7fa06 Misc 2016-03-23 20:31:59 +00:00
stafford
88a47e7788 made margins consistent 2016-03-11 12:13:47 +11:00
bao-qian
4b4a414259 Merge pull request #514 from staff0rd/websearchsetting_spelling
Fix spelling
2016-03-11 00:53:13 +00:00
bao-qian
68281dce66 Merge pull request #513 from staff0rd/websearch_plugin_en
Cleanup english
2016-03-11 00:52:55 +00:00
stafford
221cc8ab10 spelling 2016-03-11 11:39:41 +11:00
stafford
c6e47a868b grammar 2016-03-11 11:34:49 +11:00
stafford
0c5c261196 cleanup english translation 2016-03-11 11:32:51 +11:00
bao-qian
c7372aabfd Add issue template 2016-03-01 18:03:45 +00:00
Xaver Schulz
7d1dbbb27a Add German Translation
Add German Translation to Core and Defaultplugins
2016-02-28 17:22:51 +01:00
bao-qian
c00583dd98 Remove harder coded text
1. Remove harder coded text, part of refactoring for PR #494
2. Remove other arguments redundant
2016-02-27 00:10:39 +00:00
bao-qian
49ca3bfd00 Refactoring 2016-02-26 23:43:57 +00:00
bao-qian
3adc3ed5d2 Fix textbox keyboard focusing 2016-02-26 21:34:27 +00:00
bao-qian
bdca59b3d7 merge dev 2016-02-26 12:13:04 +00:00
bao-qian
d5ab4093a9 Refactoring for PR #499, part 2 2016-02-26 12:08:56 +00:00
bao-qian
e6df19efbc Refactoring for PR #499, part 1 2016-02-26 12:01:48 +00:00
bao-qian
b7948c5344 Merge pull request #499 from rmterra/issue_495
Fix MainWindow.xaml preview
2016-02-26 11:55:19 +00:00
rmterra
a13557d71d Merge branch 'dev' 2016-02-23 23:07:35 -03:00
bao-qian
e2338fcedf Remove yoda conditions
part of refactoring for PR #494
2016-02-22 21:47:58 +00:00
bao-qian
43bfeff2be Remove redundant code 2016-02-22 21:43:37 +00:00
bao-qian
1a489652ff Merge branch 'dev' 2016-02-22 19:20:52 +00:00
rmterra
1ac92c561b removes VisibilityConverter .cs 2016-02-21 18:27:45 -03:00
rmterra
cb952b0d3a updates MainWindow visibility bindings to use System.Windows.Visibility instead of bool 2016-02-21 18:27:05 -03:00
rmterra
5919dd998b adds System.Windows.Visibility extension methods to validates if current value is Visible or not 2016-02-21 17:49:43 -03:00
bao-qian
320f78b31b Remove redundant code
1. remove this
2. auto property should be only 1 line
3. misc
4. part of refactoring for PR #494
2016-02-21 18:46:04 +00:00
bao-qian
533bc4c2fe Misc
part of refactoring for PR #494
2016-02-21 17:10:24 +00:00
bao-qian
eb8aa195c2 ResultItem -> Result, part 2
part of refactoring for PR #494
2016-02-21 17:10:23 +00:00
bao-qian
4197580b04 ResultItem -> Result, part 1
part of refactoring for PR #494
2016-02-21 17:10:22 +00:00
bao-qian
0e92f7bfff UserControl -> ListBox 2016-02-21 17:10:21 +00:00
bao-qian
927277a6cd ActionPanel -> ContextMenu
part of refactoring for PR #494
2016-02-21 17:10:21 +00:00
bao-qian
d5696010d9 ResultPanelViewModel -> ResultsViewModel, part 2
part of refactoring for PR #494
2016-02-21 17:10:15 +00:00
bao-qian
9db37c2799 ResultPanelViewModel -> ResultsViewModel, part 1
part of refactoring for PR #494
2016-02-21 17:04:29 +00:00
bao-qian
7e7b41cd8c ResultPanel -> ResultListBox, part 2
part of refactoring for PR #494
2016-02-21 17:04:28 +00:00
bao-qian
fc3a369d3d ResultPanel -> ResultListBox, part 1
part of refactoring for PR #494
2016-02-21 17:04:27 +00:00
bao-qian
5df766466a Misc
part of refactoring for PR #494
2016-02-21 15:26:57 +00:00
bao-qian
6814130570 ResultItem -> Result, part 2
part of refactoring for PR #494
2016-02-21 15:19:42 +00:00
bao-qian
cb6160f1e4 ResultItem -> Result, part 1
part of refactoring for PR #494
2016-02-21 15:13:27 +00:00
bao-qian
b00214bdbd UserControl -> ListBox 2016-02-21 14:53:32 +00:00
bao-qian
4643810b75 ActionPanel -> ContextMenu
part of refactoring for PR #494
2016-02-21 14:40:10 +00:00
bao-qian
45246bccd7 ResultPanelViewModel -> ResultsViewModel, part 1
part of refactoring for PR #494
2016-02-21 14:33:18 +00:00
bao-qian
78b44a1319 ResultPanelViewModel -> ResultsViewModel, part 1
part of refactoring for PR #494
2016-02-21 14:30:13 +00:00
bao-qian
0e6cd0f72a ResultPanel -> ResultListBox, part 2
part of refactoring for PR #494
2016-02-21 14:22:34 +00:00
bao-qian
0aeba7c5af tmp rename 2016-02-21 14:14:27 +00:00
bao-qian
525c00ea18 ResultPanel -> ResultListBox, part 1
part of refactoring for PR #494
2016-02-21 13:53:20 +00:00
bao-qian
c056bd4d4c Delete unnecessary file
part of refactoring for PR #494
2016-02-20 15:59:29 +00:00
bao-qian
93682fb42b Merge pull request #494 from LingForCC/MVVM_MainWindow_ResultPanel
Refactor MainWindow and ResultPanel
2016-02-19 18:39:41 +00:00
Colin Liu
aa9ec603a9 Try to fix the problem that the designer preview is empty 2016-02-20 01:47:47 +08:00
Colin Liu
6f83bf3af2 Remove ResultOpened related events
Since we are going to refactor plugin-UI interaction mechanism in the
near future, we just keep current implementation as simple as possible.
2016-02-19 23:26:13 +08:00
Colin Liu
d5245f0730 Bug Fixing - The caret is not at the last of search text when switching back from context menu 2016-02-19 22:59:01 +08:00
Colin Liu
1b4cc556be Revert Hotkey from InputBinding back to KeyDown event 2016-02-19 22:58:27 +08:00
Colin Liu
2efcbd060a Implement ToString and GetHashCode methods for ResultItemViewModel 2016-02-19 22:55:58 +08:00
Colin Liu
68ee35d03b Bug Fixing - IsSelected is not implemented in ResultItemViewModel
If this property is not implemented, the Theme of selected search result
won't take effect.
2016-02-19 21:36:44 +08:00
Colin Liu
1b6a43ae15 Add support for design time DataContext binding
Add this support to suppress the warning from Resharper
2016-02-19 21:25:55 +08:00
Colin Liu
8de26af246 Fix UI Flickering issue 2016-02-18 22:53:41 +08:00
Colin Liu
c3fd732243 Refactor according to MVVM implementation 2016-02-18 20:56:53 +08:00
Colin Liu
3ce0b8bc97 Remove unused code
- ListBoxItem_OnDrop Event Handler
- ItemDropEvent Handler
- UpdateItemNumber method
2016-02-18 20:29:51 +08:00
Colin Liu
2846eea956 Remove unused code 2016-02-18 19:44:07 +08:00
Colin Liu
ca3bedc9a1 Fix dependency bugs 2016-02-18 19:43:35 +08:00
Colin Liu
2d4d7b80c1 Support for Sys Tray Icon 2016-02-18 19:42:57 +08:00
Colin Liu
df85543337 Implement the support for shortcut key 2016-02-18 19:40:47 +08:00
Colin Liu
e15baeb4a2 Remove unused code and add required code for MVVM 2016-02-18 19:35:17 +08:00
Colin Liu
f16804c0f8 Comment out code for later update 2016-02-18 19:32:48 +08:00
Colin Liu
934a41e414 Refactor ResultPanel/ResultItem with MVVM 2016-02-18 19:31:15 +08:00
Colin Liu
8621fe2e3c Refactor MainWindow with MVVM
- Add MVVM structure(BaseViewModel)
- Create ViewModel for MainWindow
- Refactor MainWindow.xaml to support MVVM
- Move PublicAPI implementation from MainViewModel to PublicAPIInstance
2016-02-18 19:30:36 +08:00
bao-qian
bbf2c29a4a Merge branch 'dev' 2016-02-17 16:59:09 +00:00
bao-qian
0a148166e1 Fix websearch plugin query content 2016-02-17 16:58:32 +00:00
bao-qian
79b4716b95 Fix "NoTranslation" bug for plugins
1. fix #475
2. remove GetLanguagesFolder, part of #468
3. bug introduced since 1f939ff3
2016-02-17 15:49:55 +00:00
qianlifeng
57437f04c9 Merge pull request #490 from qazbnm456/master
fix typo
2016-02-15 15:33:23 +08:00
Leo
8bbcd267cd fix typo 2016-02-15 13:03:04 +08:00
qianlifeng
e885cb6c45 Merge pull request #485 from niwatolli3/niwatolli3/japanese_support
Japanese support
2016-02-14 17:44:59 +08:00
niwatolli3
8182141e93 refs #485
* Add more Japanese support
2016-02-09 23:53:06 +09:00
niwatolli3
d7d2efd58e refs #484
* Add japanese Support.
* I add following language file
* Plugins/Wox.Plugin.WebSearch/Languages/ja.xaml
* Wox/Languages/ja.xaml
2016-02-09 23:30:54 +09:00
bao-qian
02033a675a Merge pull request #477 from Kingwl/master
Misc
2016-01-22 13:12:39 +00:00
kingwl
ca0f7bb74c comment fix 2016-01-22 20:47:00 +08:00
bao-qian
d676ecfaa8 Merge pull request #469 from Wox-launcher/dev
Refactoring directory handling
Fix #353
2016-01-08 02:23:04 +00:00
bao-qian
a0f556b2a9 Refactoring directory path for plugins 2016-01-08 02:18:19 +00:00
bao-qian
6071319acd Refactoring directory path for misc 2016-01-08 01:57:11 +00:00
bao-qian
e9ddfa6cf9 Refactoring directory path for python plugin 2016-01-08 01:55:24 +00:00
bao-qian
8ee94d75ca Refactoring directory path for plugin 2016-01-08 01:49:00 +00:00
bao-qian
ec40956721 Merge language and theme into resource folder 2016-01-07 20:04:37 +00:00
bao-qian
8504d01688 Refactoring directory path for UI resource 2016-01-07 04:47:28 +00:00
bao-qian
c8a932b6b3 Refactoring directory path for storage 2016-01-07 02:31:17 +00:00
bao-qian
b1ed51e72c Fix missing using directive 2016-01-07 00:14:16 +00:00
bao-qian
b386af4121 Add executable directory path 2016-01-06 22:18:27 +00:00
bao-qian
0daa3a8f57 ReSharper: remove redundant code 2016-01-06 21:34:42 +00:00
bao-qian
ae42c4df16 Fix accident bug 2016-01-06 21:18:36 +00:00
bao-qian
252ff9d3c5 Merge branch 'master' into dev 2016-01-06 19:33:40 +00:00
bao-qian
38c9ad6986 remove roslen cache 2016-01-06 19:33:11 +00:00
bao-qian
ad84b222a5 merge 'master' 2016-01-06 19:22:24 +00:00
bao-qian
c3e4a08b00 Fix using for Release build 2016-01-06 19:07:33 +00:00
bao-qian
f589bdc78d Optimize using 2016-01-06 06:45:08 +00:00
bao-qian
1a8efdbf2c Replace DelayInvoke with Task + Async 2016-01-06 06:31:17 +00:00
bao-qian
b78e0144de Remove unused files 2016-01-06 06:03:50 +00:00
bao-qian
3c27b50ff6 Update score when titles are same 2016-01-06 04:58:40 +00:00
bao-qian
e8e5c8dff1 Merge pull request #464 from lances101/translations-line-endings
Changed line endings for translation files to CL from CRLF, fix #463
2016-01-04 17:40:47 +00:00
bao-qian
f66dd51084 Merge pull request #462 from lances101/bugfix-447
Fix #447 Trailing slash for folders plugin
2016-01-04 17:36:51 +00:00
Boris Makogonyuk
54096d56d3 Changed line endings for translation files to CL from CRLF 2016-01-04 18:36:40 +01:00
Boris Makogonyuk
832119f6b1 Now checks if path has trailing slash before adding a new one 2016-01-04 18:30:11 +01:00
Boris Makogonyuk
5abd4dcc66 Added trailing slash to saved folders action for Folder plugin 2016-01-04 16:17:04 +01:00
bao-qian
a4936a6ff3 Ignore Roslyn caches 2016-01-04 05:04:20 +00:00
bao-qian
ebe4804b00 Including more web search by default
1. Fix #376
2. Thanks @ishu3101
2016-01-04 05:03:23 +00:00
bao-qian
098db9adf6 Remove unused file since ShellRun has been removed 2016-01-04 00:48:35 +00:00
bao-qian
38b3c82ece Remove ShellRun
1. Remove ShellRun using p/invoke
2. Remove ResolveShortcut when open contanning folder
3. fix #88
2016-01-04 00:01:48 +00:00
bao-qian
99a7453f28 Merge pull request #454 from Wox-launcher/dotnet45
Upgrade Wox to .net 4.5
2016-01-03 17:32:02 +00:00
bao-qian
8ade52c8d9 Merge pull request #423 from lances101/bugfix-271-positioning
Bugfix #271 positioning
2016-01-03 17:31:44 +00:00
bao-qian
a3ca1febbc ResultPanel should be empty when there is no result 2016-01-02 23:22:58 +00:00
bao-qian
767430d065 Merge pull request #426 from lances101/bugfix-404
Fix Crash when open containing folder of *.lnk item
Fix #404
2016-01-02 22:41:56 +00:00
bao-qian
f9e27ef67c Fix UI flickering under .net 4.5
1. This is part of .net 4.5 fix, check #393 to see more
2. This bug is introduced since commit df4ca3fecc9784a3b55f93806d8b2a662523056f
2016-01-02 06:59:35 +00:00
bao-qian
4d25d505e0 Fix color of selected item and mouse item
This is part of .net 4.5 fix, check #393 to see more
2016-01-02 04:34:20 +00:00
bao-qian
74fb470647 Merge pull request #453 from Wox-launcher/master
Merge branch 'master' into 'dotnet45'
2016-01-02 02:10:37 +00:00
bao-qian
6404aac986 update build script
1. remove update generator from build script
2. add build version to release binary file name
3. remove installer script from deploy folder
2016-01-02 02:05:15 +00:00
bao-qian
4fcb8d5540 Merge branch 'dev' 2016-01-02 00:23:12 +00:00
bao-qian
4251ad7d45 Fix crashes for context menu on empty query
Fixed issue #434, thanks @pieper126
2016-01-02 00:22:43 +00:00
bao-qian
d87317f937 Merge pull request #427 from lances101/bugfix-397
Bugfix for issue #397
2016-01-01 17:09:40 +00:00
bao-qian
b202b75bf7 Merge remote-tracking branch 'refs/remotes/origin/master' into dev 2015-12-16 20:15:36 +00:00
bao-qian
5761ede9e1 Update README.md 2015-12-15 20:41:41 +00:00
bao-qian
cf15cb1e13 Recover downloads count. 2015-12-15 20:40:25 +00:00
bao-qian
e5c6136950 The bitdeli badge is useless 2015-12-15 12:14:56 +00:00
bao-qian
37f90e6f1c Update README.md
download badges is not working.
2015-12-15 12:13:44 +00:00
bao-qian
6416fe1934 Update link for badges 2015-12-15 00:57:38 +00:00
bao-qian
3b50428f82 Add downloads count 2015-12-15 00:55:06 +00:00
bao-qian
d4b22ee472 Merge pull request #432 from bitdeli-chef/master
Add a Bitdeli Badge to README
2015-12-15 00:42:18 +00:00
Bitdeli Chef
35c8197881 Add a Bitdeli badge to README 2015-12-15 00:58:21 +00:00
bao-qian
a860acaf0d Remove .net 4 compability 2015-12-14 10:32:45 +00:00
bao-qian
dccd240b66 fixup 2015-12-14 00:31:40 +00:00
bao-qian
35522ae77d Update demo 2015-12-14 00:31:39 +00:00
bao-qian
e40c1ff09e Fix leave open option for cmd plugin
Add "Wait for a key press before closing" option.
See #141 for more info.
2015-12-14 00:30:24 +00:00
Boris Makogonyuk
d71ddd7ad0 Stripped ShortcutHelper of unneeded p/invoke methods 2015-12-13 23:37:27 +01:00
Boris Makogonyuk
ba8300508d - Removed IWshRuntimeLibrary. It is no longer needed for the plugin.
- Added ShortcutHelper for invocation calls.
2015-12-13 22:22:17 +01:00
Boris Makogonyuk
734505ee73 Bugfix for issue #397
Wallpaper is not cached in Wox's memory, so that the wallpaper file remains unlocked
2015-12-13 21:43:58 +01:00
Boris Makogonyuk
dd65c173a9 Bugfix for #404
When opening containing folder for `*.lnk` that cannot be resolved to a file name, the folder containing the `.lnk` will be opened.
2015-12-13 20:58:51 +01:00
bao-qian
ebae675961 Fixup missing reference 2015-12-13 13:36:29 +00:00
bao-qian
539eadf533 Merge master 2015-12-13 13:32:30 +00:00
bao-qian
3beebd42a8 delete junk 2015-12-13 13:16:33 +00:00
Boris Makogonyuk
66e00bb79a Messages should now display correctly on high dpi devices: now using Device Aware Pixels too. 2015-12-13 04:50:23 +01:00
Boris Makogonyuk
83985aa44c Added Pixel to Device Independent Pixel transformation to WindowIntelopHelper
MainWindow GetWindowsTop and GetWindowsLeft will use DIP when searching for the center of the screen
2015-12-13 04:22:01 +01:00
bao-qian
bb9684f7d3 Remove https link to getwox due to ssl certificate expired
Fix #421
2015-12-09 19:25:29 +00:00
bao-qian
ddfe79b3ac Merge pull request #417 from Wox-launcher/dev
Change https to http becuase the SSL has expired
2015-12-06 18:27:31 +00:00
qianlifeng
c852ad1d45 change https to http becuase the SSL has expired 2015-12-03 23:21:53 +08:00
bao-qian
29f535da94 Upgrade json package 2015-11-30 22:45:04 +00:00
bao-qian
d5b6744a41 Update README.md 2015-11-30 21:57:07 +00:00
bao-qian
cbc3cfc33b Fix duplication of tray icons
Fix #413
2015-11-30 19:49:46 +00:00
bao-qian
547bd46bb3 Disable blur when os is not supported
Releated: #330
2015-11-29 12:47:04 +00:00
bao-qian
8b8a303365 Fix hardcode
Fix #385
2015-11-29 08:50:17 +00:00
bao-qian
7b386c4f41 Fix FindResource
http://windowsasusual.blogspot.ie/2015/10/wpf-applicationcurrentfindresource-and.html
2015-11-29 08:20:13 +00:00
bao-qian
5b8fa5ec8d Refresh UI after change font 2015-11-29 07:40:56 +00:00
bao-qian
2c81ff90da Use opacity to set blur
releated: #330
2015-11-29 07:23:05 +00:00
bao-qian
66e118abdf Misc 2015-11-29 07:19:58 +00:00
bao-qian
38791e50ea Refactoring blur
1. Refactoring blur, see discussion in : 7f8bb80
2. Releated issue: #330
2015-11-29 06:29:32 +00:00
bao-qian
a8c6a97579 Better mutex cleanup 2015-11-29 05:14:56 +00:00
bao-qian
5bb90828f8 Fix Wox restart by wait Mutex to be released
Fix bug in 24866ff032829e9bd34704d3d5970d227a4c8db3.
Wait existing Mutex to release itself instead of create a new one.
Relate issue: #322
2015-11-29 03:28:47 +00:00
bao-qian
e3e5085214 Merge branch 'master' into dev 2015-11-28 11:48:28 +00:00
bao-qian
9be12da34e Merge pull request #408 from vankasteelj/dev
add french locale & xaml
2015-11-28 11:23:43 +00:00
bao-qian
8e7b40efec Misc 2015-11-28 10:55:07 +00:00
bao-qian
d7d71d9ff1 Add solution level AssemblyInfo file, and bump version
1. Add solution level AssemblyInfo file
2. Bump assembly version
3. Fix #324
2015-11-28 10:47:49 +00:00
vankasteelj
2d68e3d4f3 add fr to csproj 2015-11-27 23:22:29 +01:00
vankasteelj
53236faaa0 add french locale & xaml 2015-11-27 22:04:13 +01:00
bao-qian
daca1b3615 Update README.md 2015-11-26 11:09:56 +00:00
bao-qian
9a8032a673 Add more badges. 2015-11-26 08:15:50 +00:00
bao-qian
b11972d1b7 Merge remote-tracking branch 'origin/master' into dotnet45 2015-11-26 07:45:12 +00:00
bao-qian
041ea2fbb1 Merge branch 'master' into dev 2015-11-26 07:43:44 +00:00
bao-qian
5167611da5 Merge remote-tracking branch 'origin/master' into dotnet45 2015-11-26 07:43:00 +00:00
bao-qian
4526378b33 Merge remote-tracking branch 'origin/master' into dotnet45 2015-11-26 07:42:09 +00:00
bao-qian
bc2a9cf1c0 Misc
IDE Misc
2015-11-26 07:09:08 +00:00
bao-qian
c4a5eeabcc merge master 2015-11-26 06:57:12 +00:00
bao-qian
00836cd38b Update faq for how to report bugs 2015-11-26 05:33:44 +00:00
bao-qian
c0009c7e62 Manually restart is no longer needed.
24866ff032829e9bd34704d3d5970d227a4c8db3 fix the restart
2015-11-26 05:24:27 +00:00
bao-qian
6023f415a4 Fix Wox restart
1. refactoring restart
2. delte some windows forms methods
3. using string inteperlation and delete hard coeded new line char

should fix #322
2015-11-26 05:01:00 +00:00
bao-qian
f55daf65e3 Merge pull request #406 from marshallmick007/master
Updated spelling and grammar
2015-11-26 03:52:21 +00:00
marshallmick007
fe3c23d29c Updated spelling and grammar 2015-11-25 20:43:34 -07:00
bao-qian
f0765ba743 Fix System Command plugin
1. Fix error code handle for 39191a55187a36141bff42fcaf803135c0fe0b3c
2. use WPF MessageBox
3. Fix postion / window handle for
39191a55187a36141bff42fcaf803135c0fe0b3c
2015-11-26 01:27:18 +00:00
bao-qian
672c623757 Merge pull request #405 from SweBeat/NewSystemFeatures
Add more system commands
2015-11-26 00:15:21 +00:00
Tobias Johansson
e33799701b *Moved everything to dev branch
- Sorry for the trouble
2015-11-25 18:49:44 +01:00
bao-qian
e5e64a4b6d Merge pull request #399 from ReadmeCritic/master
Update README URLs based on HTTP redirects
2015-11-23 17:36:47 +00:00
ReadmeCritic
63f1c1f7b5 Update README URLs based on HTTP redirects 2015-11-23 07:34:59 -08:00
bao-qian
005de550c1 Merge pull request #396 from kayone/master
Updated google search logo
2015-11-17 18:42:05 +00:00
Keivan Beigi
20fd3bdc20 Updated google search logo 2015-11-17 10:35:08 -08:00
bao-qian
e29f53a82d Merge branch 'master' into dotnet45 2015-11-13 05:15:00 +00:00
bao-qian
f272470871 Add equality checking for old keyword and new keyword 2015-11-13 05:14:27 +00:00
qianlifeng
9c082a573c Merge pull request #383 from lances101/dev
Wox now has Blur
2015-11-13 11:05:29 +08:00
bao-qian
7de0a0a44a Fix "The type initializer for 'System.Windows.Application' threw an exception." 2015-11-12 22:14:22 +00:00
bao-qian
e848c78dba Merge branch 'master' into dotnet45 2015-11-12 22:02:40 +00:00
bao-qian
3f60723425 Fix some unresolved reference for xaml 2015-11-12 20:36:32 +00:00
bao-qian
8b97914438 Fix web search icon
part of #384
bug introduced in 38cc115c1f9e1efbb2256f6e88168493797adb5c
2015-11-12 19:53:43 +00:00
bao-qian
a8967bab39 Fix incorrect fuzzy match result for program plugin
Fix #270
2015-11-11 06:20:52 +00:00
bao-qian
1248307b96 Fix the order of everything results
Try to fix #381
2015-11-11 05:42:06 +00:00
bao-qian
de1491a310 Temp fix for CMD hotkey 2015-11-11 05:12:37 +00:00
bao-qian
b5a08c3ba4 Merge branch 'dev' 2015-11-11 01:18:16 +00:00
bao-qian
49bf86a8d5 Fix missing dll for CMD plugin
1. Fix #382
2. Part of #387
2015-11-11 01:17:37 +00:00
bao-qian
5e4cfbaf3f Better error log 2015-11-11 00:42:49 +00:00
bao-qian
11aed2ab61 Fix output path for Wox.Core 2015-11-11 00:42:34 +00:00
bao-qian
e6f19a4abf Fix unhandled exception 2015-11-11 00:33:33 +00:00
bao-qian
b3b6dc2e94 Update faq for how to report bugs 2015-11-10 20:05:18 +00:00
Boris Makogonyuk
ece09a93cd Changed WindowsAccentMode (int32) Theme setting to ThemeBlurEnabled (boolean):
- Exposed a new function "SetBlurForWindow" in WindowIntelopHelper that handles the blur.
- Deleted Accent and Test themes
- Changed SimpleBlur and Base themes according to changes
2015-11-10 12:18:03 +01:00
Boris Makogonyuk
9a56ebea81 Black and White Themes updated and staged 2015-11-10 06:54:23 +01:00
Boris Makogonyuk
287e15fddc *forgot to stage files on last commit 2015-11-10 06:36:08 +01:00
Boris Makogonyuk
724cb0787d Applying theme before actually setting the theme accent.
UserSettingStorage now stores current theme accent mode.

Themes:
Added a bunch of them. Testing what works.
2015-11-10 06:35:09 +01:00
Boris Makogonyuk
d8b806966a Reversing MainWindow Blur call and settings window modification
Added WindowsAccentMode to Base theme
2015-11-10 03:37:34 +01:00
Boris Makogonyuk
f24a6f0e3c MainWindow: AllowsTransparency set to True
WindowIntelopHelper: Added accent handling
SettingsWindow: Added combobox with accent selector to Theme tab (not functional yet)
Languages: Added entries for accent colors (all are in english for now)

[TEMP] Blur and Accent themes experiments
[TEMP] blur set in mainwindow on load.
2015-11-10 00:51:22 +01:00
bao-qian
34c516709b Merge pull request #377 from Wox-launcher/dev
Fix UI flickering
2015-11-09 16:21:55 +00:00
bao-qian
6d03eac9a1 Remove outdated chocolatey downloads 2015-11-09 05:40:32 +00:00
bao-qian
c456ef9118 Fix namespace
bug introduced since  e037e88
2015-11-09 03:59:20 +00:00
bao-qian
4351080aea Fix icon path for Web Search plugin 2015-11-09 03:56:56 +00:00
bao-qian
8aee2858ea Fix setting for multiple action keywords
1. completed rewrite the action keyword setting logic.
2. Fix setting for multiple action keywords in #352
3. Fix setting for Web Search plugin
2015-11-09 03:20:02 +00:00
bao-qian
da5a930e89 Move namespace 2015-11-09 01:32:33 +00:00
bao-qian
5131cc8e43 Typo 2015-11-08 23:49:33 +00:00
qianlifeng
60f06f97fa fix a null pointer issue 2015-11-08 19:31:44 +08:00
qianlifeng
c0216e0800 Merge branch 'dev' of https://github.com/Wox-launcher/Wox.git 2015-11-08 19:22:07 +08:00
qianlifeng
2be68342bb use caculated score for sys plugin item 2015-11-08 19:21:48 +08:00
bao-qian
c43a29f058 Update readme 2015-11-08 05:03:34 +00:00
bao-qian
ab14b9c8bb Update readme
Because of the ongoing refactoring, the doc is outdated.
2015-11-08 04:56:50 +00:00
bao-qian
fa3e496aae Update readme 2015-11-08 04:54:40 +00:00
bao-qian
543cd5af80 Fix progress bar
Bug introduced in 9962ddf2ed80a00036ebdb2965429675c4355472
2015-11-08 03:06:34 +00:00
bao-qian
e3cdfe27d1 Fix query history for the new result panel 2015-11-08 02:50:33 +00:00
bao-qian
d946e18fa2 Fix CMD plugin for new result panel 2015-11-08 02:27:37 +00:00
bao-qian
b33b696336 Misc 2015-11-08 02:27:13 +00:00
bao-qian
e928b4c9e0 Fix web search plugin for new result panel 2015-11-08 02:27:08 +00:00
bao-qian
2b27e84956 Enhance result panel update
The last commit f132cb54baa000a245feb5da87149960f6dbd9f5 only fix UI
flickering for different icon. This commit also fix the commit for same
icon. e.g. in web search plugin, although the title is different, but
the icon is not changes.
part of #350
2015-11-08 01:44:28 +00:00
bao-qian
9627272b57 Fix clearance of old results
part of #350
2015-11-07 20:48:18 +00:00
bao-qian
705354a3d6 Better logger
1. Throw exception for fatal/error log when debugging
2. Write to debug output for warn/debug/info log when debugging
3. part of #355
2015-11-07 17:32:58 +00:00
bao-qian
7d52b0cc96 Fix exclusive for action keyword 2015-11-07 03:50:26 +00:00
bao-qian
8662e963ac Misc 2015-11-07 03:50:15 +00:00
bao-qian
08594f0b96 Upgrade to .net 4.5 2015-11-07 03:09:10 +00:00
bao-qian
7db73cbd44 tmp 2015-11-07 02:23:40 +00:00
bao-qian
cae8485092 Fix UI flickering
See #350
2015-11-06 21:30:38 +00:00
bao-qian
64e020b1ad Better crash report 2015-11-06 19:55:48 +00:00
bao-qian
2dd2208f48 Fix ui for action keywords 2015-11-06 18:12:46 +00:00
bao-qian
ddc28c43c8 Merge pull request #372 from Wox-launcher/dev
Multiple action keywords implemented
2015-11-06 02:37:11 +00:00
bao-qian
7c889e3523 Add more comments
See #352
2015-11-06 02:34:50 +00:00
bao-qian
af7beb2c34 Improve UI for multiple action keywords
See #352
2015-11-06 02:29:32 +00:00
bao-qian
7b50febba3 Misc 2015-11-06 01:19:13 +00:00
bao-qian
00543bca17 Fix PluginManagement plugin for multiple action keyword
1. Fixup, part of #352
2. Windows.Form -> WPF
3. Refactoring
2015-11-06 01:17:34 +00:00
bao-qian
178710dabc Fix PluginIndicator for multiple action keywords
1. Fixup, part of #352
2. Refactoring
2015-11-06 01:16:37 +00:00
bao-qian
99d9d14d3b Misc
1. Rename
2. Fix progress bar: progress bar should not be loaded when only white
spaces typed
2015-11-06 01:09:08 +00:00
bao-qian
a07d6aa1e7 Enable multiple action keywords
See issue #352
2015-11-05 19:29:45 +00:00
bao-qian
59a4abff7c Better name
Timeit.Stopwatch -> Stopwatch.Normal
Timeit.StopwatchDebug -> Stopwatch.Debug
2015-11-05 19:29:45 +00:00
bao-qian
df0f310ddd Replace Dispose with Lambda
1. Faster
2. Fix #361
2015-11-04 21:35:04 +00:00
bao-qian
57a06aa122 Merge pull request #363 from Wox-launcher/dev
Auto completion for the folder plugin
2015-11-04 18:06:04 +00:00
bao-qian
f110dce520 Merge branch 'master' into dev 2015-11-04 18:02:58 +00:00
bao-qian
3085799c3c Fix #357
Fix bug introduced since a5abe9234faafcd170f9468a70f42bf60eda0f0d
2015-11-04 17:21:45 +00:00
bao-qian
3d9b9af55e Fix #362 2015-11-04 17:08:27 +00:00
bao-qian
ad21909b5c Remove unused reference 2015-11-04 16:40:10 +00:00
bao-qian
d98d00556d Merge branch 'master' into dev 2015-11-04 16:23:50 +00:00
bao-qian
5c7a4323e3 Merge branch 'ci' 2015-11-04 16:20:08 +00:00
bao-qian
183701a00a bat -> ps1 Fix bug for 8fe993ddd5 2015-11-04 16:17:10 +00:00
bao-qian
549987296c Merge branch 'ci' 2015-11-04 16:12:51 +00:00
bao-qian
9918e49bb1 Only deploy to NuGet when API changed (interface or implementation), see #360 2015-11-04 16:07:46 +00:00
bao-qian
d57ef1e928 Only tested build should be deployed 2015-11-04 16:03:05 +00:00
bao-qian
203af0fc76 Better instruction 2015-11-04 05:04:08 +00:00
bao-qian
a446c0a9c9 Change nuget api keys 2015-11-04 04:47:14 +00:00
bao-qian
b2aba7918d Update instruction for ci builds 2015-11-04 04:46:29 +00:00
bao-qian
fc2c877a57 Merge pull request #359 from Wox-launcher/ci
Fix continue integration in AppVeyor
2015-11-04 04:38:17 +00:00
bao-qian
f2a93887c9 Fix continue integration in AppVeyor 2015-11-04 04:30:54 +00:00
qianlifeng
b1eb48d201 Fix typo 2015-11-04 10:04:54 +08:00
bao-qian
d372d786ef Appveyor is case sensitive now 2015-11-04 01:21:51 +00:00
bao-qian
dc8df9c62f Enable PreLoadImages
Fix bug introduced in
cf87f68b42
2015-11-04 01:10:54 +00:00
bao-qian
5b3ea08b39 Ignore query test
Current query is tightly integrated with GUI, can't be tested.
2015-11-04 01:05:03 +00:00
bao-qian
72a754676a Misc 2015-11-04 00:29:13 +00:00
bao-qian
cb1da686ec Fix System.NullReferenceException for #356 2015-11-04 00:26:15 +00:00
bao-qian
8a78e4e9f4 Update build script for new nuget retore 2015-11-04 00:12:40 +00:00
bao-qian
b9b59ac2e0 Add simple usage 2015-11-03 23:21:27 +00:00
bao-qian
549b982c5f Update installation instruction 2015-11-03 22:32:23 +00:00
bao-qian
558f527f20 Change copyright 2015-11-03 21:16:29 +00:00
bao-qian
d897d64aa5 Ignore python in github language statistics 2015-11-03 21:15:26 +00:00
qianlifeng
59463958d3 Update README.md 2015-11-03 23:34:59 +08:00
qianlifeng
d4a606884c Update README.md 2015-11-03 18:50:41 +08:00
qianlifeng
ff3a2f6b67 Merge pull request #347 from happlebao/refactoring
Refactoring
2015-11-03 18:21:15 +08:00
bao-qian
288ac62448 Refactoring Query initialisation 2015-11-03 05:09:54 +00:00
bao-qian
f5d3df65b0 Misc 2015-11-03 01:33:53 +00:00
bao-qian
fc6ac662cd Refactoring instant query 2015-11-03 00:34:27 +00:00
bao-qian
cd0d9052e8 Misc 2015-11-02 22:15:06 +00:00
bao-qian
86da8cbd17 Refactoring Plugin.Feature 2015-11-02 19:27:46 +00:00
bao-qian
7a38143f5e Remove AssemblyHelper 2015-11-02 19:27:36 +00:00
bao-qian
818802cf5e Refactoring GetPlugins<T>() 2015-11-02 18:52:34 +00:00
bao-qian
a668ed5e24 Refactoring LoadPluginInterfaces 2015-11-02 18:13:53 +00:00
bao-qian
c9edc217fd Misc 2015-11-02 13:43:19 +00:00
bao-qian
89dc9e7e7f Better log info 2015-11-02 13:43:09 +00:00
bao-qian
96b6832dff Remove LoadInterfacesFromAppDomain
Much faster. ApplyPluginLanguages is 10 times faster now. 7ms vs 100ms.
2015-11-02 13:42:52 +00:00
bao-qian
881e414043 Fix ResourceMerger
1. Fix duplication for loading resource.
2. Fix null reference when plugin is not loaded.
3. speedup.
2015-11-02 02:49:38 +00:00
bao-qian
b5a8312167 Add startup time measurement 2015-11-02 02:47:43 +00:00
bao-qian
ac3a282876 Fix bug for CMD
This bug is introduced since commit:
73dadde5f077896129aa574d028c0343485f3ddc
2015-11-02 01:06:57 +00:00
bao-qian
a3117fa61d Misc 2015-11-02 00:09:42 +00:00
bao-qian
bfa0db3ba3 Replace all Stopwatch with Timeit 2015-11-02 00:04:05 +00:00
bao-qian
79fdba969b Don't sort plugins every time, sort it when set it 2015-11-01 23:32:17 +00:00
bao-qian
79461d52c2 Rearrange code
Fields -> Properties -> Init method -> Query methods -> Is methods ->
Get Methods
2015-11-01 22:59:56 +00:00
bao-qian
8c7bac7dbb Refactoring GetExclusivePlugin and GetActionKeywordPlugin
System plugin = plugin with action keyword *
Non system plugin = exclusive plugin + action keyword plugin
2015-11-01 19:47:20 +00:00
bao-qian
bb3b982dea Refactoring Query Dispatch
half lines of code :)
2015-11-01 17:28:13 +00:00
bao-qian
f3038e4fef Fix System.ArgumentException
Fix System.ArgumentException("Illegal characters in path") when parsing
path string
2015-11-01 01:19:00 +00:00
bao-qian
cfeb637685 Use Nlog.Schema from Nuget 2015-11-01 01:18:59 +00:00
bao-qian
f37fd5c5e3 Move NLog.xsd, let it handled by nuget 2015-11-01 01:18:54 +00:00
bao-qian
4368602684 Use consistent name convention 2015-11-01 01:18:53 +00:00
bao-qian
a67ced29a3 Remove sensitive information 2015-11-01 01:18:53 +00:00
bao-qian
ca8293ebdb Migrate MSBuild-Integrated solutions to use Automatic Package Restore
http://docs.nuget.org/consume/package-restore/migrating-to-automatic-package-restore
2015-11-01 01:18:40 +00:00
bao-qian
4a95dd8ba3 Use NuGet for NAppUpdate 2015-10-31 18:49:37 +00:00
bao-qian
1616aa87bd Remove PluginDebugger 2015-10-31 18:20:43 +00:00
bao-qian
9d9400f4d9 Fix Debug output
DebugHelper is useless, bacuase the return statement is always executed before the actual code.
2015-10-31 18:06:57 +00:00
bao-qian
a6f8eb28f2 Refactoring Query 2015-10-31 16:02:56 +00:00
bao-qian
251834143c Better comment 2015-10-30 23:23:08 +00:00
bao-qian
ad8b6c806d Optimize using directives 2015-10-30 23:23:01 +00:00
bao-qian
26a6264039 Refactoring DelayInvoke
In MainWindow.xaml.cs, the reference of originQuery, lastQuery and
tbQuery.Text are same, so remove originQuery is fine.
2015-10-30 23:22:54 +00:00
bao-qian
2dfcee6b25 Remove unnecessary thread switch 2015-10-30 23:22:47 +00:00
bao-qian
b283977281 Remove unnecessary decoration 2015-10-30 23:22:42 +00:00
bao-qian
2538a79ef0 Remove unused reference
System.xaml also removed because .net 3.5 doesn't has this dll, and it resolve the issue when using code metrics
2015-10-30 23:22:25 +00:00
qianlifeng
267f2afab6 Merge pull request #341 from lances101/master
Fixed #339. Hotkeys were ignored on desktop
2015-10-15 12:17:52 +08:00
Boris Makogonyuk
559eebbb70 Issue: If Wox was set to ignore hotkeys on full-screen it would fail.
Cause: Compared IntPtr with null. IntPtr is never null.
2015-10-14 18:41:45 +02:00
qianlifeng
326ee9a9c2 Merge pull request #340 from lances101/master
Option to ignore hotkeys on fullscreen windows
2015-10-08 12:14:29 +08:00
Boris Makogonyuk
dc4c33c0d5 Reflected functionality changes from the last commit on the whole project. 2015-10-08 01:02:36 +02:00
Boris Makogonyuk
3fbebfc283 ~Changed how the fullscreen detection work. Checking by Topmost was a stupid idea. It will now check for the window to fill the whole screen area. 2015-10-08 00:52:52 +02:00
Boris Makogonyuk
7273e1218a Wox now has an option to ignore hotkeys when the focused window is topmost. This will ignore not only the main Wox hotkey but also plugin hotkeys.
~ WindowIntelopHelper edited
~ User settings entry added
~ Checkbox added to General tab (as well as its events)
~ Language entries added for en/ru
2015-10-08 00:17:37 +02:00
qianlifeng
69e96f24c2 Merge pull request #339 from lances101/master
Fixed commit #334 multiple SelectionChanged firing
2015-10-07 18:24:09 +08:00
Boris Makogonyuk
92ddf2ca41 Fixed commit #334 multiple SelectionChanged firing 2015-10-06 14:46:12 +02:00
qianlifeng
3662afeaa7 Merge pull request #334 from JohnTheGr8/master
Couple improvements to settings
2015-09-28 12:34:29 +08:00
Ioannis G
860210628e close settings with esc 2015-09-26 00:50:22 +03:00
Ioannis G
a1988f91c1 fix tab populating in settings (fixes #291) 2015-09-25 23:43:09 +03:00
qianlifeng
6f6393493b Merge pull request #329 from lances101/master
Added Russian translation
2015-09-06 13:14:16 +08:00
Boris Makogonyuk
878213887f Change Russian to Русский for the language selector 2015-09-04 22:38:28 +01:00
Boris Makogonyuk
805b83da9c Added Russian translations to Wox 2015-09-04 22:35:52 +01:00
qianlifeng
fe4319ad07 Merge pull request #323 from renzhn/fix-wox
Fix wox
2015-08-28 09:41:12 +08:00
renzhn
1bda9d5a26 fix disable plugin not working 2015-08-28 08:02:30 +08:00
renzhn
9ce239dedb fix StringNullOrEmptyToVisibilityConverter has no 0 parameter constructor 2015-08-28 08:02:23 +08:00
renzhn
bc86c9b57d setting window: plugin 2015-08-28 08:02:09 +08:00
renzhn
d9b9e02412 set port number if not zero 2015-08-28 08:01:41 +08:00
renzhn
2f7b5dd041 update plugin program translation 2015-08-28 08:01:28 +08:00
qianlifeng
5ffb7bba83 Merge pull request #319 from danisein/dev
Auto completion for the folder plugin
2015-08-24 00:07:12 +08:00
qianlifeng
436bffcb0e Merge pull request #320 from druellan/master
readme.md corrections and suggestions on the redaction
2015-08-24 00:05:48 +08:00
Dario Ruellan
99ce747720 readme.md corrections and suggestions on the redaction 2015-08-23 12:38:11 -03:00
danisein@qq.com
f3fbbed7ee Auto completion for the folder plugin 2015-08-23 15:40:18 +08:00
qianlifeng
b7c024d275 Merge pull request #312 from junjie020/master
Specify a working directory when run a program from a process
2015-08-17 11:31:50 +08:00
junjie020
cf76c943b8 Fix ShellExecCmdLine fucntion. Using global::System.Diagnostics.Process.Start to run program without working directory specifying. 2015-08-17 11:22:45 +08:00
qianlifeng
2a0e641de7 Update README.md 2015-07-19 23:08:13 +08:00
qianlifeng
630456f700 add missing sleep images and translations 2015-07-17 15:38:50 +08:00
qianlifeng
618ba376b2 Ajust maxium result item UI 2015-07-17 15:23:38 +08:00
qianlifeng
c8a445275b merge with master 2015-07-17 15:08:39 +08:00
qianlifeng
68b3c449a6 misc 2015-07-17 14:37:38 +08:00
qianlifeng
aee7d171c5 Merge pull request #303 from kerams/sleep
Add option to put computer to sleep
2015-07-15 09:12:52 +08:00
kerams
2089406eaf Add option to put computer to sleep 2015-07-14 17:59:24 +02:00
qianlifeng
298e041b80 Merge pull request #302 from kerams/max-results
Make the number of results shown at a time customizable
2015-07-13 10:17:05 +08:00
kerams
c79bf1ca3a Make the number of results show at a time customizable 2015-07-12 21:13:30 +02:00
qianlifeng
207546b53c Update README.md 2015-06-10 13:08:40 +08:00
qianlifeng
a54898b062 Update README.md 2015-06-10 13:05:12 +08:00
qianlifeng
124803c89d Merge pull request #288 from Leon99/dev
Support for assigning any key as a hotkey; minor refactoring
2015-06-08 10:21:50 +08:00
Leon V
825128b630 Support for assigning any key as a hotkey; minor refactoring 2015-06-07 13:45:06 +10:00
qianlifeng
dcd20f42b9 Merge pull request #278 from dstiert/program-source-details
Improve configurability of Programs plguin
2015-05-03 14:25:46 +08:00
Devin Stiert
b6f14a752c Google translated translations 2015-05-02 10:31:20 -04:00
Devin Stiert
40f58d7054 Support editing 2015-05-02 10:17:42 -04:00
Devin Stiert
485afcfa6e Allow disabling of default program sources 2015-05-02 09:47:03 -04:00
Devin Stiert
e82bc859f5 Fix csproj 2015-04-22 09:22:55 -04:00
Devin Stiert
5615e02cdb fix proj file 2015-04-20 20:35:03 -04:00
Devin Stiert
4c5a046bc0 Add max depth and suffixes per program source 2015-04-20 20:32:10 -04:00
qianlifeng
6b6ab5e752 fix #249 Characters not being properly escaped in Python plugins 2015-03-08 14:58:14 +08:00
qianlifeng
6d3f3985a2 Remove context shell load codes and change image cache path 2015-03-07 16:30:54 +08:00
qianlifeng
64e57c5419 Update README.md 2015-03-04 09:25:19 +08:00
qianlifeng
7e11c319e7 fix #249, replace escapes before sending json rpc request to plugin [WIP] 2015-03-03 18:29:36 +08:00
qianlifeng
12265def19 Add translation for CMD plugin 2015-02-28 18:30:08 +08:00
qianlifeng
45f60ae646 Fix UI issues when using web search plugin with suggestions 2015-02-28 18:20:06 +08:00
qianlifeng
72988cc6fb Using new thread to check upgrade 2015-02-27 18:04:49 +08:00
qianlifeng
4d3df4cda6 fix #256 2015-02-27 09:28:07 +08:00
qianlifeng
a0b7768a86 Fix #255, can't delete items in folder plugin 2015-02-26 17:12:21 +08:00
qianlifeng
7aae1b262e Add translation for icon tray. 2015-02-21 21:57:00 +08:00
qianlifeng
5ace62a5fd Merge branch 'dev' of https://github.com/qianlifeng/Wox.git 2015-02-20 22:29:29 +08:00
qianlifeng
48e01d3ea3 adding fixed height for caculating windows top 2015-02-20 22:18:27 +08:00
qianlifeng
d93c705737 fix #251 add auto center Wox option 2015-02-20 21:45:42 +08:00
qianlifeng
b1a97eca39 fix #252 web search items lost after restart Wox 2015-02-20 21:14:15 +08:00
qianlifeng
d91088879c Implement ShellContextMenu [WIP] 2015-02-12 18:58:39 +08:00
qianlifeng
21e5f33487 Add shell context [WIP] 2015-02-12 00:12:28 +08:00
qianlifeng
48f7c37d3b Merge branch 'V1.2.0' 2015-02-11 00:01:44 +08:00
qianlifeng
815d911143 Add log for storage crashing 2015-02-10 23:48:09 +08:00
qianlifeng
d90baed5b5 Add bountysource 2015-02-10 09:42:52 +08:00
qianlifeng
e767cee4c0 Update query history language 2015-02-09 22:14:38 +08:00
qianlifeng
eafce4442c Change project generate sequence 2015-02-09 21:59:23 +08:00
qianlifeng
3652394dab Update version 2015-02-09 21:34:29 +08:00
qianlifeng
a942882c73 Add QueryHistory to Wox (Ctrl+Up and Ctrl+Down) 2015-02-09 19:16:13 +08:00
qianlifeng
b8f829dbc3 Add item number [WIP] 2015-02-09 00:13:08 +08:00
qianlifeng
8d33644749 Add a new theme 2015-02-08 21:25:59 +08:00
qianlifeng
268df23739 Add uninstalleverything command as everything serivce will prevent move/remove wox folder. 2015-02-08 17:09:14 +08:00
qianlifeng
6c731f50a9 Improve Everything plugin user experience 2015-02-08 16:27:41 +08:00
qianlifeng
dc2f3cd166 Improve setting window performance (theme). 2015-02-08 10:38:32 +08:00
qianlifeng
877ad53ead fix a plugin query issue 2015-02-08 00:06:22 +08:00
qianlifeng
bc7dce6026 Add IContextMenu interface & lazy load context menus 2015-02-07 23:49:46 +08:00
qianlifeng
c24e216f26 fix #246 prompt restart wox after uninstall plugin 2015-02-07 21:40:25 +08:00
qianlifeng
2d05ecc81f Add title translations 2015-02-07 21:27:48 +08:00
qianlifeng
437c1a154c Add plugin title translations 2015-02-07 20:17:49 +08:00
qianlifeng
82d30c6e74 Allow searches in context menu 2015-02-07 16:53:33 +08:00
qianlifeng
998eecb94d fix regressive issues 2015-02-06 18:13:22 +08:00
qianlifeng
02e22e5781 Add top most function. 2015-02-05 23:29:41 +08:00
qianlifeng
ad11ca0a87 Add IExclusivePlugin 2015-02-05 22:20:42 +08:00
qianlifeng
7b0a643de3 Add IExclusiveSearch interface [WIP] 2015-02-05 18:43:05 +08:00
qianlifeng
fa53bce27a Add init time and query time to setting view 2015-02-05 00:03:35 +08:00
qianlifeng
1d3f1fd7d0 Improve instant search ue 2015-02-04 23:16:41 +08:00
qianlifeng
5d9a94466a Add drop event. 2015-02-03 18:32:16 +08:00
qianlifeng
b5175ae8b0 Update README.md 2015-02-03 12:45:41 +08:00
qianlifeng
38948053cc Merge 2015-02-03 12:29:58 +08:00
qianlifeng
4a5a496802 Merge branch 'V1.2.0' of https://github.com/qianlifeng/Wox into V1.2.0 2015-02-03 12:29:26 +08:00
qianlifeng
30b6c8aa03 Add hotkey for navigating result items. 2015-02-03 12:27:59 +08:00
qianlifeng
95e468c90a Add drop event [WIP] 2015-02-02 23:28:40 +08:00
qianlifeng
d74dd48d24 Merge branch 'V1.2.0' 2015-02-01 22:48:33 +08:00
qianlifeng
5ef72b81ae Add upgrade dialog 2015-02-01 22:46:56 +08:00
qianlifeng
691cf1ce72 Merge remote-tracking branch 'origin/V1.2.0' into V1.2.0 2015-02-01 12:39:01 +08:00
qianlifeng
5b70064fa4 Update upgrade feed url 2015-02-01 12:32:22 +08:00
qianlifeng
80e01a4d3d Merge pull request #242 from Boelensman1/V1.2.0
Added open in folder to the program plugin.
2015-01-31 23:09:51 +08:00
Boelensman1
b30f3d6b8f Forgot to remove some lines.
No longer opening explorer with admin rights.
2015-01-30 15:54:02 +01:00
Boelensman1
4672628ee2 Added open in folder to the program plugin. 2015-01-30 02:18:18 +01:00
qianlifeng
a112c6d9ee Remove autohotkey and add toggle command args 2015-01-29 22:35:01 +08:00
qianlifeng
2b1e343186 Add autohotkey 2015-01-29 18:26:50 +08:00
qianlifeng
36ce0c8271 Merge 2015-01-28 10:16:10 +08:00
qianlifeng
b521318e82 proj file changes. 2015-01-28 10:13:48 +08:00
qianlifeng
9f64a384d6 Implement IInstantSearch for CMD and WebSearch plugin 2015-01-27 22:59:03 +08:00
qianlifeng
4ecff94aec Change update logic 2015-01-27 21:51:29 +08:00
qianlifeng
c7e73924c8 Add clean script to Wox.csproj 2015-01-27 19:29:32 +08:00
qianlifeng
87958d9db8 Move web search setting to its own project 2015-01-26 22:50:38 +08:00
qianlifeng
56fa719931 API changes 2015-01-26 20:54:01 +08:00
qianlifeng
6ee6cd3977 Add everything plugin 2015-01-26 19:06:03 +08:00
qianlifeng
7821f41723 some API changes for Query class and renames. 2015-01-26 17:46:55 +08:00
qianlifeng
ddf6154600 Remove all obsolete methods 2015-01-24 22:42:06 +08:00
qianlifeng
929cc2727d Add pluginID for result. 2015-01-24 22:34:55 +08:00
qianlifeng
4379145231 Add activate statistics 2015-01-23 21:52:46 +08:00
qianlifeng
42d86fab8e make some renames 2015-01-23 20:49:00 +08:00
qianlifeng
cb41a4c386 update cleanup.bat 2015-01-23 20:12:52 +08:00
qianlifeng
672abbcaad Implement #202 2015-01-23 18:28:14 +08:00
qianlifeng
17bc9c35a7 add Cleanup CI job 2015-01-23 13:01:52 +08:00
qianlifeng
50587735b5 Update CI 2015-01-22 23:02:13 +08:00
qianlifeng
21edfdb62e Add Wox.UpdateFeedGenerator 2015-01-22 22:57:54 +08:00
qianlifeng
bda67afd4f Update CI 2015-01-22 21:02:52 +08:00
qianlifeng
c4ca06d5e5 Sort plugin and themes in setting dialog 2015-01-22 20:24:15 +08:00
qianlifeng
f4904e06c8 Change CI 2015-01-22 19:02:34 +08:00
qianlifeng
1273a6fb74 update ci 2015-01-21 23:51:12 +08:00
qianlifeng
3c626fd01e Update CI builds. 2015-01-21 23:25:57 +08:00
qianlifeng
00953850b3 Improve the update progress. 2015-01-21 23:00:56 +08:00
qianlifeng
563370f10b Remove unnecessary unit test 2015-01-21 21:09:35 +08:00
qianlifeng
62a33fe7fc remove unnessary files. 2015-01-20 22:41:19 +08:00
qianlifeng
ea18fda0a3 Merge with v1.2.0 2015-01-20 22:35:53 +08:00
qianlifeng
1ef163f827 Change log facility. 2015-01-20 22:33:45 +08:00
qianlifeng
3f6cb3cd73 Fix an issue if update failed 2015-01-20 20:05:38 +08:00
qianlifeng
284767409a Merge branch 'V1.2.0' of https://github.com/qianlifeng/Wox.git 2015-01-19 23:09:00 +08:00
qianlifeng
5e3d29df4c Add Auto Updater [WIP] & remove UAC project 2015-01-19 23:08:53 +08:00
qianlifeng
c380049b21 Refactoring 2015-01-19 19:14:02 +08:00
qianlifeng
b49209a0d9 Add query history plugin & upgrade all third-party packages 2015-01-18 18:21:48 +08:00
qianlifeng
9d39b616f9 Better exception report. 2015-01-16 23:42:12 +08:00
qianlifeng
32e0074f26 downgrade to .net framework 3.5 2015-01-15 21:01:43 +08:00
qianlifeng
8d746cd206 Upgrade to .net framework 4.5 2015-01-15 20:47:48 +08:00
qianlifeng
bc341d193f Upgrade to .net framework 4.0 2015-01-14 22:19:44 +08:00
qianlifeng
3ad2b2bfcc close #233 2015-01-13 09:47:56 +08:00
qianlifeng
acfad7ec5b add translation for crash reporter 2015-01-12 22:46:36 +08:00
qianlifeng
5be6511529 Add Wox.CrashReporter 2015-01-11 21:52:30 +08:00
qianlifeng
f20b4d570e Change output folders for plugins in Release 2015-01-09 12:45:56 +08:00
qianlifeng
06a9478555 Merge pull request #232 from allanpk716/V1.2.0
1,fix ImageLoader GetIcon() trigger FileNotFoundException when file not ...
2015-01-09 10:43:02 +08:00
716
6e3ca5391a 1,fix ImageLoader GetIcon() trigger FileNotFoundException when file not exist;
2,In FolderPluginSettings when trigger Delete Action need confirm;
3,Add drag and drop functionality in ProgramSetting and FileSystemSettings.

Signed-off-by: 716 <525223688@qq.com>
2015-01-09 10:30:12 +08:00
qianlifeng
2422a4200c Merge 2015-01-09 09:45:40 +08:00
qianlifeng
56788c8b8f Project structure change 2015-01-09 09:44:03 +08:00
qianlifeng
220ac2fa2d Fix a global hotkey issues in CMD, which will hang Wox on init. 2015-01-08 22:49:42 +08:00
qianlifeng
3143d0d8aa Merge pull request #230 from allanpk716/patch-1
FIx FileNotFoundException in GetIcon
2015-01-08 09:41:26 +08:00
Chin allan
0bb1669efa 修复 GetIcon 可能出现的 FileNotFoundException 异常
重启电脑的时候会提示 FileNotFoundException ,所以在这里加一个检查。
2015-01-08 08:47:24 +08:00
qianlifeng
288be8dd71 update plugin languages 2015-01-07 22:23:10 +08:00
qianlifeng
d3bf71a22d Add translation for folder plugin 2015-01-07 18:59:55 +08:00
qianlifeng
12abca39a2 Add translation for CMD plugin 2015-01-07 18:51:11 +08:00
qianlifeng
898c8854aa Add translation for web search plugin 2015-01-07 18:45:55 +08:00
qianlifeng
492e33aeda Add translations for Program plugin. 2015-01-06 23:24:11 +08:00
qianlifeng
ce9c832e00 Implement plugin i18n [WIP] 2015-01-06 18:28:23 +08:00
qianlifeng
5e0821417e Merge 2015-01-06 09:44:42 +08:00
qianlifeng
ce451e4dd4 Move some user settings to its own dll (cmd,folder plugin and etc) 2015-01-05 22:41:17 +08:00
qianlifeng
714d8c7092 Fix a issue when deserialize binary storage. 2015-01-05 18:18:29 +08:00
qianlifeng
6162904c59 Refactoring 2015-01-04 23:08:26 +08:00
qianlifeng
4d65b4c7a5 Fix crash issues when deserialize failed 2015-01-04 18:14:50 +08:00
qianlifeng
4243843951 Refactoring. Move system plugins to seperate DLLs. 2015-01-03 15:20:34 +08:00
qianlifeng
203965043e Add i18n support [WIP] 2015-01-02 23:07:49 +08:00
qianlifeng
bf87500e35 Add multiple language. [WIP] 2015-01-02 16:16:09 +08:00
qianlifeng
a038587224 Fix typo 2015-01-01 23:07:14 +08:00
qianlifeng
96d908094b Merge branch 'V1.2.0' of https://github.com/qianlifeng/Wox into V1.2.0 2014-12-31 12:43:02 +08:00
qianlifeng
61dc148d34 Fix a crash issue. 2014-12-31 12:42:49 +08:00
qianlifeng
f753369d1a Add unittest [WIP] 2014-12-29 23:02:50 +08:00
qianlifeng
72c2fa3863 Fix issues if didn't has permission to create dir 2014-12-29 22:09:54 +08:00
qianlifeng
ba0bda6aa6 Update the installer 2014-12-29 21:55:27 +08:00
qianlifeng
890397bae7 Refactoring. Move plugin related work to Wox.Core 2014-12-28 15:17:58 +08:00
qianlifeng
d9b2863382 Refactoring. 2014-12-27 12:34:51 +08:00
qianlifeng
ccc8d7e5cd Refactoring. 2014-12-26 22:51:04 +08:00
qianlifeng
50f6044a2f Refactoring [WIP] 2014-12-26 19:36:43 +08:00
qianlifeng
31281c7faa Update README.md 2014-12-24 18:32:57 +08:00
qianlifeng
e9b545a187 Update README.md 2014-12-24 18:31:08 +08:00
qianlifeng
be1ecdb0c8 Update README.md 2014-12-24 10:27:00 +08:00
qianlifeng
115e08d0c8 Fix a http request issues. 2014-12-23 22:22:20 +08:00
qianlifeng
e2a892eda3 Upgrade to v1.1.1 2014-12-23 21:17:15 +08:00
qianlifeng
5d536dd975 Upcate CI Scripts 2014-12-22 23:05:31 +08:00
qianlifeng
af258dcf41 Update CI 2014-12-22 22:54:05 +08:00
qianlifeng
bbb46a29a9 Add installer 2014-12-22 22:52:27 +08:00
qianlifeng
3f7c1b0750 Remove unittest for httprequest 2014-12-22 19:17:55 +08:00
qianlifeng
2b211c2ba0 Refactoring 2014-12-21 22:03:03 +08:00
qianlifeng
c20314f83c fix Wox handled exception at launch #221 2014-12-21 20:44:31 +08:00
qianlifeng
57bc1f2032 Preload top used images. 2014-12-18 19:22:47 +08:00
qianlifeng
d370f7e721 Change icon for thirdpartyplugin indicator. 2014-12-18 12:23:07 +08:00
qianlifeng
00c8ebbfe8 Revert "Add crashreproter"
This reverts commit ad81dfa001493272d1ea7e4a19ae74ca65c84622.
2014-12-18 12:20:58 +08:00
qianlifeng
17951d7fe0 Add crashreproter 2014-12-17 19:10:28 +08:00
qianlifeng
3e5288836d Add new version window 2014-12-16 23:29:25 +08:00
qianlifeng
6c94c3aa7b Add About Page. 2014-12-16 22:25:22 +08:00
qianlifeng
6a24794457 Remove unnessary codes. 2014-12-16 21:36:48 +08:00
qianlifeng
443e7df1b6 fix #216. Cound't open url with port 2014-12-16 00:07:12 +08:00
qianlifeng
82106c1c8b fix #185. Loading index cache on startup. 2014-12-15 22:58:49 +08:00
qianlifeng
32867d3666 make plugin folder name readable. 2014-12-15 20:38:42 +08:00
qianlifeng
384b4226f2 fix #151. 2014-12-15 18:50:28 +08:00
qianlifeng
cecd4aa36a Merge branch 'dev' of https://github.com/qianlifeng/Wox.git 2014-12-15 18:29:42 +08:00
qianlifeng
0dffd66651 Fix a crash issues when inputing after wox start. 2014-12-15 18:29:16 +08:00
qianlifeng
c34afae250 fix #203. Improve the weight of user selected items. 2014-12-15 18:26:15 +08:00
qianlifeng
128453fad1 Add upgrade check. 2014-12-14 23:16:29 +08:00
qianlifeng
ac3b86fb85 Update wpm to use the new api 2014-12-14 22:24:05 +08:00
qianlifeng
e303982ad8 Deploy nuget only when commits on master branch. 2014-12-13 22:01:23 +08:00
qianlifeng
df763c4dbd update ci scripts 2014-12-13 16:47:17 +08:00
qianlifeng
85fd46e1c6 update ci scripts 2014-12-13 16:33:19 +08:00
qianlifeng
51b37a49d5 update CI scripts 2014-12-13 16:30:00 +08:00
qianlifeng
4838813a38 update ci scripts. 2014-12-13 16:17:54 +08:00
qianlifeng
9867bd257f Update CI scripts 😢 2014-12-13 16:09:44 +08:00
qianlifeng
259985d328 Update CI scripts 😢 2014-12-13 15:17:44 +08:00
qianlifeng
2c4a9897ea Update CI scripts 2014-12-13 15:09:46 +08:00
qianlifeng
2dbc404544 Update CI scripts 2014-12-13 14:59:47 +08:00
qianlifeng
3d622a2c5a Update CI build script. 2014-12-12 19:12:30 +08:00
qianlifeng
8b342c2ddb Update CI build script 2014-12-12 18:59:44 +08:00
qianlifeng
ca1f441f5a Update CI build script 2014-12-12 18:36:01 +08:00
qianlifeng
0fefead7d5 Update auto build script 2014-12-12 18:32:21 +08:00
qianlifeng
cb9bc6ad12 Auto publish Wox.Plugin to nuget. 2014-12-12 18:22:17 +08:00
qianlifeng
b6d01133c4 Reduce the icon size and remove unnecessary images. 2014-12-12 13:02:13 +08:00
qianlifeng
9ddaee9830 Remove unnecessary codes merged from v1.1.0 2014-12-12 12:37:01 +08:00
qianlifeng
a5b54c50d1 Remove all third-party plugins into separate repos (except WPM). 2014-12-12 12:32:58 +08:00
qianlifeng
5c84ffe5dc Merge branch 'V1.1.0' into dev 2014-12-12 12:21:23 +08:00
qianlifeng
f178c8cce2 Solution files change. 2014-12-10 10:02:39 +08:00
qianlifeng
36bcafea98 Change the default width for themes. 2014-12-10 09:50:55 +08:00
qianlifeng
95cd051a4f Remove unnecessary files. 2014-12-10 09:49:42 +08:00
qianlifeng
125c5523e6 Merge pull request #211 from JohnTheGr8/dev
Display plugin icons
2014-12-10 09:43:31 +08:00
Ioannis G
374ed12811 display plugin icons in 'wpm list/uninstall' 2014-12-09 17:45:23 +02:00
Ioannis G
b489e54da4 display plugin icons in 'activate plugin' query 2014-12-09 17:42:20 +02:00
qianlifeng
e928c78749 Change the default with of Wox.
Remove Aero themes.
2014-11-27 13:01:12 +08:00
qianlifeng
34dbed7733 Merge branch 'master' into V1.1.0 2014-11-27 12:55:58 +08:00
qianlifeng
6df3066b49 Remove XP related description
We will not provide support for Wox in XP.
2014-11-27 12:38:13 +08:00
qianlifeng
10c4b93b60 Merge branch 'dev' 2014-11-27 12:20:33 +08:00
qianlifeng
3fabd2975e Update assemblyinfo 2014-11-27 12:19:01 +08:00
qianlifeng
217a7a34f8 fix #189 startup is too slow 2014-11-27 12:14:02 +08:00
qianlifeng
5855ff0d27 Fix errors that collections has been changed while foreach collections 2014-11-04 18:21:07 +08:00
qianlifeng
3c4a9a05a0 Add search monitor 2014-11-03 18:49:18 +08:00
qianlifeng
9481d04a19 Add custom context menu setting for findfile plugin and improve the search speed. 2014-11-03 17:30:48 +08:00
qianlifeng
90c7bf4413 Merge 2014-10-27 20:47:11 +08:00
qianlifeng
0b09f788c5 Merge 2014-10-27 20:38:47 +08:00
qianlifeng
3045611452 Reduce memory usage. 2014-10-27 18:22:25 +08:00
qianlifeng
0b3d028c2f Merge branch 'V1.1.0' of https://github.com/qianlifeng/Wox into V1.1.0 2014-10-27 17:16:24 +08:00
qianlifeng
a64be42f39 Update AssemblyInfo.cs 2014-10-27 16:50:09 +08:00
qianlifeng
8405301500 Merge branch 'dev' 2014-10-27 15:11:20 +08:00
qianlifeng
07ed6a6416 fix #189 startup is too slow 2014-10-27 15:08:32 +08:00
qianlifeng
970c9e70e4 Move MFTSearch to find file plugin. 2014-10-27 14:53:44 +08:00
qianlifeng
f76f29f533 Merge branch 'V1.1.0' of https://github.com/qianlifeng/Wox into V1.1.0 2014-10-24 19:47:24 +08:00
qianlifeng
c3ecf2d84e Merge branch 'V1.1.0' of https://github.com/qianlifeng/Wox into V1.1.0 2014-10-24 16:48:24 +08:00
qianlifeng
a7dfb9cb97 Allow unsafe codes in Release build. 2014-10-24 16:48:14 +08:00
qianlifeng
225d46b228 Update README.md 2014-10-24 16:14:36 +08:00
qianlifeng
f399ef8f69 fix #151 Add context menu for programs 2014-10-24 13:09:51 +08:00
qianlifeng
c61db8c957 Revert MFT Changes. 2014-10-24 09:43:43 +08:00
qianlifeng
30afc095b9 Revert MFTSearch changes. 2014-10-23 23:23:40 +08:00
qianlifeng
755e7bc232 Add Context menu 2014-10-23 18:39:11 +08:00
qianlifeng
80e38fc430 Add find file plugin. 2014-10-22 22:49:34 +08:00
qianlifeng
581423a87c Add MFT Searcher 2014-10-22 18:36:49 +08:00
qianlifeng
3634ca624d Fix a issues that JSONPRCAction could be null. 2014-10-22 16:20:50 +08:00
qianlifeng
be33ac3c4f Refactoring command args and change the signal instance implement. 2014-10-21 18:16:05 +08:00
qianlifeng
1cf79d8fbc Add more python plugin api. 2014-10-17 16:36:19 +08:00
qianlifeng
acba67f67d Merge branch 'master' 2014-10-13 17:14:53 +08:00
qianlifeng
1573738584 Revert readme 2014-10-13 17:13:35 +08:00
qianlifeng
5376171538 #192 fix json loads encoding issues. 2014-10-13 13:57:55 +08:00
qianlifeng
90c41aceab #191 add pip.bat for pip installing. 2014-10-11 18:08:43 +08:00
qianlifeng
6e10dc2893 Merge branch 'dev' of https://github.com/qianlifeng/Wox into dev 2014-09-19 17:26:28 +08:00
qianlifeng
87ce03e13e Move Log to Infrastructure project. 2014-09-19 16:57:48 +08:00
qianlifeng
4db7577448 Fix #181 that directory could be removed by user when wox running. 2014-09-19 16:23:43 +08:00
qianlifeng
afdee44dd1 Fix #183 2014-09-19 16:18:54 +08:00
qianlifeng
d929205bec fix typo 2014-09-19 11:02:28 +08:00
qianlifeng
0758d4f567 Merge pull request #171 from zlsun/dev
WebSearch: convert search word to url encoding before opening the url
2014-08-25 17:17:22 +08:00
zlsun
db0f228f4d WebSearch: convert search word to url encoding before opening the url 2014-08-25 16:20:08 +08:00
qianlifeng
a30f60c2ba Fix a clipboard crash issues & don't default exit Wox when exception happens. 2014-08-20 22:12:45 +08:00
qianlifeng
1d13943caf Merge branch 'dev' of https://github.com/qianlifeng/Wox into dev 2014-08-19 18:10:54 +08:00
qianlifeng
e91e4042ba close #150 Use tab to cycle switch candidates 2014-08-19 15:21:26 +08:00
qianlifeng
18720904f9 Update README.md 2014-08-19 13:13:23 +08:00
qianlifeng
8d2aa1fc09 Update README.md 2014-08-19 13:09:44 +08:00
qianlifeng
0e5155c85a Fix plugin API issues. 2014-08-17 22:35:46 +08:00
qianlifeng
3144a54c5b Including PythonHome in CI building 2014-08-17 16:15:01 +08:00
qianlifeng
49362ce5ab Add afterload event for LoadDefaultConfig 2014-08-17 15:57:25 +08:00
qianlifeng
13e629e17d fix #46 Reload index cache when the file changed in index directories 2014-08-14 22:21:07 +08:00
qianlifeng
8eb2f66b14 #149 fix Path including space in their name issues 2014-08-14 21:07:56 +08:00
qianlifeng
4fb0279f9a Expose index suffix setting 2014-08-14 19:45:48 +08:00
qianlifeng
5d1006f05b Expose index file suffixes config [WIP] 2014-08-13 23:16:45 +08:00
qianlifeng
eee76222bd Add reindex button to programs setting dialog. 2014-08-12 23:07:54 +08:00
qianlifeng
4121bbc772 Fix a programs bug if custom program folder is not exist. 2014-08-12 12:21:04 +08:00
qianlifeng
7926dd9aeb Add F1 to open wox function guide page. 2014-08-10 22:47:37 +08:00
qianlifeng
20ffcfb91e Refactoring Programs system plugin and adding re-index function when adding new location. 2014-08-10 22:22:54 +08:00
qianlifeng
961bfcc481 Fix sys plugin setting panel style issue. 2014-08-10 18:27:36 +08:00
qianlifeng
eee50eef46 close #137 2014-08-10 17:05:27 +08:00
qianlifeng
1329f3d2c7 Merge branch 'master' of https://github.com/qianlifeng/Wox 2014-08-10 16:50:45 +08:00
qianlifeng
0e812b911e Adjust score weight for programs. 2014-08-10 16:50:35 +08:00
qianlifeng
28bd5f33c6 Merge pull request #145 from dgoon/master
fix a typo: suggeestion -> suggestion
2014-07-30 17:10:09 +08:00
dgoon
673b72f327 fix a typo: suggeestion -> suggestion 2014-07-30 12:11:33 +09:00
qianlifeng
3fea8eb820 Fix a crash in Win8 2014-07-27 17:15:12 +08:00
qianlifeng
6e2e067d66 Merge pull request #134 from aaroncampf/master
Changes: See Comment
2014-07-25 10:02:42 +08:00
Aaron Campf
e09fe4acf0 Forgot to add Files 2014-07-24 17:32:19 -07:00
Aaron Campf
0385662197 Changes: Added Sys Folder, Moved Sys into folder, Added SysSettings, Made Sys use an AddRange and added ISettingProvider 2014-07-24 17:27:59 -07:00
qianlifeng
4ba222f19c Merge pull request #133 from aaroncampf/master
Combined Redundant Cases
2014-07-24 12:19:45 +08:00
Aaron Campf
6820a05efc Finally Fixed AutoFormatting 2014-07-23 13:46:19 -07:00
Aaron Campf
0982e12a80 Corrected Automatic Formatting 2014-07-23 13:36:07 -07:00
Aaron Campf
0536a2be33 Combined 2 cases
Stupid automatic formatting changed more then I wanted

Here is the change I made if you just want the code
case Key.Tab:
case Key.Enter:
AcceptSelect(resultCtrl.GetActiveResult());
e.Handled = true;
break;
2014-07-23 13:20:24 -07:00
qianlifeng
24c5aae77f Merge pull request #132 from CoenraadS/master
Optimize default icon method.
2014-07-22 19:37:25 +08:00
CoenraadS
a972a52be4 Optimize default icon method.
Simply return the first pointer, ignore the others. Assume if the first
one doesn't work, none of them will work.
2014-07-22 13:30:39 +02:00
qianlifeng
f473c29430 Merge pull request #131 from CoenraadS/master
Fix default icon retrieval.
2014-07-22 19:30:23 +08:00
CoenraadS
7cd9768880 Fix default icon retrieval.
And replace continue; with if() statements (supposably more compile
friendly)
2014-07-22 13:13:26 +02:00
qianlifeng
0a45a6fea9 #129 exclude system plugins results when searching websearch. 2014-07-21 23:18:39 +08:00
qianlifeng
9805ab8761 #129 fix space issues in searching programs 2014-07-21 22:54:18 +08:00
qianlifeng
b4bb98b230 Fix websearch setting issues. 2014-07-21 22:35:40 +08:00
qianlifeng
e11e141b5e remove bing search suggestions. 2014-07-21 22:30:04 +08:00
qianlifeng
83e199a0de #129 Make web search suggestion optional and add baidu suggeestion source. 2014-07-21 22:27:57 +08:00
qianlifeng
4e87211d39 Replace all obsoleted method 2014-07-21 19:48:17 +08:00
qianlifeng
88208285a4 Contron panel item priority should be lower when compared to programs. 2014-07-21 19:45:47 +08:00
qianlifeng
ae062586d7 Update README.md 2014-07-21 19:32:22 +08:00
qianlifeng
fa72389c07 Update Backup Download Link. 2014-07-21 19:28:21 +08:00
qianlifeng
ea94cb8650 Merge pull request #127 from CoenraadS/master
Control Panel Command handeling
2014-07-20 23:10:39 +08:00
Coenraad Stijne
39d6ccd11c Control Panel Command handeling
Now works for everything
2014-07-20 10:54:12 +02:00
qianlifeng
a62b225fe0 Merge pull request #125 from CoenraadS/master
Control Panel Split Logic
2014-07-20 10:13:38 +08:00
Coenraad Stijne
a72d1a13b6 Better path handeling
Thanks @orzFly
2014-07-19 18:14:31 +02:00
Coenraad Stijne
60df499584 Better icon-handeling.
And enumerate through ICON instead of GROUP_ICON
2014-07-19 15:34:52 +02:00
Coenraad Stijne
10204a4526 Save icons using GUID filename 2014-07-19 14:31:19 +02:00
Coenraad Stijne
a5d63bc383 Control Panel Split Logic 2014-07-19 12:39:26 +02:00
qianlifeng
fcd276dccb Update README.md 2014-07-19 10:58:36 +08:00
qianlifeng
fc66fba577 Refactoring FolderLink and URL plugin. 2014-07-19 10:12:11 +08:00
qianlifeng
f1697313c0 Fix potential issues in control panel. 2014-07-19 08:15:51 +08:00
qianlifeng
6d8244ba5c Merge pull request #122 from CoenraadS/master
Update Control Panel
2014-07-19 07:47:19 +08:00
Coenraad Stijne
102d5fdd7f Update Control Panel
The Control Panel now also includes third party panel items.
2014-07-18 20:15:35 +02:00
qianlifeng
2a86b06e0c Fix python env issues. 2014-07-18 23:12:50 +08:00
qianlifeng
7b4d6ba57e Pack python env to zip 2014-07-18 20:00:55 +08:00
qianlifeng
7be02731ee Fix issues in ControlPanel plugin. 2014-07-18 14:09:52 +08:00
qianlifeng
3cfa4f9cb7 Merge pull request #119 from CoenraadS/master
Added Control Panel
2014-07-18 09:43:16 +08:00
CoenraadS
10302f4bc9 Optimized search
Removed redundant check.
2014-07-17 20:05:09 +02:00
CoenraadS
b576ee300b Save icon's as .bmp
.ico hack was unneccassary.
2014-07-17 19:37:51 +02:00
CoenraadS
77afcc2293 Only return top 2 relevent results 2014-07-17 17:47:58 +02:00
CoenraadS
574e711f33 Added priority to title results 2014-07-17 17:43:29 +02:00
CoenraadS
4cab77a57d Trim query 2014-07-17 17:36:19 +02:00
CoenraadS
6cbc9493c9 Cosmetic changes
Setting => Settings
2014-07-17 17:24:08 +02:00
CoenraadS
1d5f72f9ab Added Control Panel 2014-07-17 17:14:58 +02:00
qianlifeng
b8e034e33c Add proxy setting UI #118 2014-07-17 19:20:00 +08:00
qianlifeng
4f8c6e64fb Fix an issue when switch between plugin with icons and without icons. 2014-07-17 18:51:34 +08:00
qianlifeng
39aadaa220 close #113 can't check checkbox by clicking label 2014-07-17 18:42:11 +08:00
qianlifeng
5c373f0d25 Add browse more plugin and theme link to setting dialog. 2014-07-16 20:17:51 +08:00
qianlifeng
088c3984d8 Merge branch 'master' of https://github.com/qianlifeng/Wox 2014-07-16 18:52:37 +08:00
qianlifeng
3a61a7992a Async loading item images => huge performance improvements for old machines. 2014-07-16 18:52:00 +08:00
qianlifeng
d694791d0f Merge pull request #110 from caoyue/master
get firefox default profile directory from profiles.ini
2014-07-15 18:18:29 +08:00
caoyue
5e9ea4196c get firefox default profile directory from profiles.ini 2014-07-15 16:54:01 +08:00
qianlifeng
e7f000147b Add open pluign directory link in plugin setting page. 2014-07-14 23:18:57 +08:00
qianlifeng
15e27e7e1d Merge branch 'json-rpc' 2014-07-14 22:28:54 +08:00
qianlifeng
855d75f1bb Add image loader class 2014-07-14 19:03:52 +08:00
qianlifeng
e8f3a30a72 Python plugin loader bug fix. 2014-07-11 18:36:39 +08:00
qianlifeng
948e44d867 Merge pull request #106 from CoenraadS/master
Cosmetic changes
2014-07-11 09:41:40 +08:00
Coenraad Stijne
c0e671d506 Pixel perfect alignment
Seems the designview differs from reality
2014-07-10 21:25:25 +02:00
Coenraad Stijne
2d895b52a4 Cosmetic changes
Taskbar Setting => Settings

Alignment of combo boxes
Alignment of checkboxes and text
2014-07-10 21:07:44 +02:00
qianlifeng
4436a72b9f Merge pull request #105 from CoenraadS/master
[WebSearch/Programs] Fix MessageBox behaviour
2014-07-10 23:58:27 +08:00
qianlifeng
f1ce98eb07 Implement #15 2014-07-10 23:57:08 +08:00
Coenraad Stijne
418aa44960 Fix spelling mistake
seleted => selected
2014-07-10 17:16:46 +02:00
Coenraad Stijne
b91850262d [Programs] Fix MessageBox behaviour
Fix MessageBox asking user to select item if he clicks No after trying
to Delete an item in Programs Settings.
2014-07-10 17:06:50 +02:00
Coenraad Stijne
ed2dc101bb [WebSearch] Fix MessageBox behaviour
Fix MessageBox asking user to select item if he clicks No.
2014-07-10 16:52:18 +02:00
qianlifeng
d89968cfa5 Add HackerNews python plugin as the Demo. 2014-07-10 18:39:04 +08:00
qianlifeng
5f7c1ea4f4 Add v2ex python plugin demo. 2014-07-09 23:44:57 +08:00
qianlifeng
e307524458 Add missing files. 2014-07-09 18:24:42 +08:00
qianlifeng
53cb4189d8 Add portable python environment 2014-07-09 18:15:23 +08:00
qianlifeng
3efe3d63ce Refactoring [WIP] 2014-07-07 23:05:06 +08:00
qianlifeng
e44a05f18d Update README.md 2014-07-07 17:46:31 +08:00
qianlifeng
d9574591fd Update README.md 2014-07-07 17:39:06 +08:00
qianlifeng
55c27516b2 Refactoring Plugin Loader [WIP]. 2014-07-06 22:57:11 +08:00
qianlifeng
659ff866e1 Add Executable Plugin Loader 2014-07-05 23:10:34 +08:00
qianlifeng
f01de3a69d Move CMD settings to CMD plugin details. 2014-07-04 15:34:31 +08:00
qianlifeng
0c75cf6055 Some plugin style changes. 2014-07-04 15:12:22 +08:00
qianlifeng
95613a1881 Merge branch 'master' of https://github.com/qianlifeng/Wox.git 2014-07-04 12:08:45 +08:00
qianlifeng
7bcbe5d791 close #21 Allow user to set their custom ActionKeyword 2014-07-04 12:08:37 +08:00
qianlifeng
bcc2ca7ce9 Merge pull request #100 from JohnTheGr8/master
Improvements for Firefox bookmarks
2014-07-04 08:54:47 +08:00
Ioannis G
365ca9180f improved Firefox bookmark-parsing query
now gets bookmark title from moz_bookmarks table instead of moz_places
2014-07-03 21:10:48 +03:00
Ioannis G
cfe1e7745f cache Firefox bookmarks and support pinyin search 2014-07-03 21:08:18 +03:00
qianlifeng
d0d9de8583 Merge pull request #99 from JohnTheGr8/master
Firefox bookmarks
2014-07-03 21:11:16 +08:00
qianlifeng
a304d75645 Update README.md 2014-07-03 13:19:18 +08:00
Ioannis G
9f4f27d08f update plugin.json for the BrowserBookmarks plugin 2014-07-02 18:44:19 +03:00
Ioannis G
73530f59de Make sure the places.sqlite file exists
before loading Firefox bookmarks.
2014-07-02 18:43:54 +03:00
Ioannis G
6807dcbd5d add search for Firefox bookmarks 2014-07-02 18:01:31 +03:00
qianlifeng
e275ce6063 #21 Add Disable option for each plugin. 2014-07-01 22:19:46 +08:00
qianlifeng
6352408d87 Add folder existence check for USERPROFILE environment variable. 2014-07-01 18:14:41 +08:00
qianlifeng
6870e03ffe Add Empty Check for GetEnvironmentVariable Method. 2014-07-01 18:04:35 +08:00
qianlifeng
d4641b45ac Merge pull request #98 from zlsun/master
Change cwd to %USERPROFILE% before executing command.
2014-07-01 17:50:42 +08:00
zlsun
fad796f834 Change cwd to %USERPROFILE% before executing command. 2014-07-01 17:37:28 +08:00
qianlifeng
9e874b241a Revert 3bbe54bb71 2014-07-01 09:56:10 +08:00
qianlifeng
3f83361a7a Merge pull request #96 from zlsun/master
Fix the problem of sleep command and change the behavior of executing command.
2014-07-01 09:28:30 +08:00
qianlifeng
a75b7b9be6 Bug fix for drag drop plugin installer. 2014-06-30 22:55:27 +08:00
qianlifeng
e4898bbbb3 Allow drag drop to install wox plugin. 2014-06-30 22:50:54 +08:00
zlsun
132d5ec8cc Revert "Use sleep instead of ping."
This reverts commit 3f1064b22d.
2014-06-30 22:38:51 +08:00
qianlifeng
59741ed04a Optimize files. 2014-06-30 22:27:56 +08:00
qianlifeng
fad6a406a1 Add system plugin descriptions. 2014-06-30 21:31:13 +08:00
qianlifeng
4ee0731472 fix some bookmark plugin issues. 2014-06-30 18:29:14 +08:00
qianlifeng
4fe530d257 close #83 Merge Plugin tab and Feature tab 2014-06-30 18:12:45 +08:00
qianlifeng
d23eb291f7 #94 and close #91. Make bookmark as plugin. 2014-06-30 18:05:42 +08:00
zlsun
3bbe54bb71 Change cwd to %HOME% before executing command. 2014-06-20 17:34:01 +08:00
qianlifeng
7aca726c33 Merge pull request #90 from zlsun/master
Some modifications.
2014-06-16 17:03:56 +08:00
zlsun
3f1064b22d Use sleep instead of ping. 2014-06-16 14:08:48 +08:00
zlsun
6fdbc9cdfa Remove unnecessary code. 2014-06-16 14:08:11 +08:00
zlsun
12b03518ee Add remember window position support. 2014-06-16 14:06:24 +08:00
qianlifeng
fcd3a86589 Merge pull request #89 from antigravity/plugin-colors
Colors
2014-06-04 23:29:15 +08:00
Yaroslav Zyubanov
2ee671a1ae Add post-action 2014-06-04 21:22:34 +06:00
Yaroslav Zyubanov
47a0642c4d Missed logo and title 2014-06-04 17:26:41 +06:00
Yaroslav Zyubanov
db1cd3efbc HEX colors plugin 2014-06-04 16:15:38 +06:00
qianlifeng
f6803a2c52 Merge branch 'master' of https://github.com/qianlifeng/Wox 2014-06-04 16:47:39 +08:00
qianlifeng
f8d810a787 When user querying thirdparty plugins, system plugins shouldn't be included 2014-06-04 16:47:14 +08:00
qianlifeng
c8d865e26b #87 Add plugin deatails in Plugin tab. [WIP] 2014-06-01 23:23:48 +08:00
qianlifeng
e1c7705182 Revert last two commits pushed by @aaroncampf, which will cause build erros. 2014-05-25 18:11:27 +08:00
Aaron Campf
6aed2ec311 Error Fix 2014-05-24 19:02:22 -07:00
Aaron Campf
4c3f51cae3 Added Enabled & PluginId to BaseSystemPlugin
We still need a way to save the Enabled property
2014-05-24 18:57:02 -07:00
Yeechan Lu
f3088d1c49 Merge pull request #84 from antigravity/dev
Dev
2014-05-24 03:34:35 -05:00
Yaroslav Zyubanov
be25226172 URL plugin 2014-05-24 14:29:56 +06:00
Yaroslav Zyubanov
33d7e40e7c Namespaces fix 2014-05-24 14:07:03 +06:00
Yaroslav Zyubanov
9eefd8839c Extract all converters into separate folder 2014-05-24 14:06:09 +06:00
Aaron Campf
d748e34d7e Working on Adding CheckBox 2014-05-20 21:53:32 -07:00
Aaron Campf
cefa8326e3 FileSystemPlugin
Check for invalid paths
[Open this directory] Action always appears at top is path is existing
directory or parent is
2014-05-20 16:45:11 -07:00
Aaron Campf
60f4937aae Updated Ignore List 2014-05-13 10:20:05 -07:00
Aaron Campf
841e90dc46 Solving issues from last commit 2014-05-09 21:21:55 -07:00
Aaron Campf
81467a86cc Cleaned FileSystemPlugin + Enhanced
THIS NEEDS TESTING!
2014-05-09 18:24:16 -07:00
Aaron Campf
498634fd13 Uncommented and removed junk code 2014-05-08 17:51:05 -07:00
Aaron Campf
d751805254 Files added to search results after folders
I think it is time we release version 2
2014-05-08 17:38:51 -07:00
Aaron Campf
7c2e2a01c2 Fixed Image Errors + Handing Bad ShellRun 2014-05-08 15:58:38 -07:00
Aaron Campf
0b70c5225d Tab: Now adds Next s Title to tbQuery 2014-05-08 14:05:48 -07:00
qianlifeng
b07d1b027c Fix crash issue when user clicked cancel in UAC prompt window. 2014-04-13 18:16:58 +08:00
Yeechan Lu
58801f8fb6 Fix crash on invalid chars in path 2014-04-13 16:06:51 +08:00
Yeechan Lu
c589978e84 Combine FolderLinks and DirectoryIndicator into FileSystemPlugin
cc @aaroncampf
2014-04-13 15:38:12 +08:00
qianlifeng
36f3c293f0 close #65 Hide when app loses focus 2014-04-13 10:08:33 +08:00
qianlifeng
54417115f3 Fix python plugin crash issues. 2014-04-13 01:07:15 +08:00
Yeechan Lu
4006e4045c Merge pull request #75 from kerams/master
PeHeaderReader class, fixed bug in e0eb8c8
2014-04-12 19:53:41 +08:00
kerams
bdf57b5203 Added PeHeaderReader class, which is used to check whether an application is CUI. This fixes the issue introduced in e0eb8c8. 2014-04-12 13:01:29 +02:00
Yeechan Lu
1d27ffbffb Merge pull request #74 from kerams/master
WindowOpener class
2014-04-12 03:15:56 +08:00
kerams
c36b5c77fc Feature: Added WindowOpener class, which prevents having duplicate windows of the same type opened at the same time 2014-04-11 19:16:59 +02:00
Yeechan Lu
ac5cd90cc6 Merge pull request #73 from kerams/master
Opening Settings from tray and the ability to leave the windows command prompt open after running a command
2014-04-11 10:01:01 +08:00
kerams
e0eb8c83e2 - added option to open Wox Settings from the tray menu
- added a checkbox option specifying whether to leave the command line open after having run a command like >ping google.com
2014-04-10 23:44:57 +02:00
Aaron Campf
b8f513fffe Removed FileSystemSourceShallow 2014-04-01 11:50:01 -07:00
qianlifeng
7d4dd9c699 fix null references issues in commit 6b9f96697b @aaroncampf 2014-03-31 12:24:05 +08:00
Aaron Campf
a254b996e0 Upgrading Features
Now Parent folder will appear in search results.
2014-03-30 16:26:20 -07:00
Aaron Campf
6b9f96697b Added Plugin for searching additional directories 2014-03-30 16:03:07 -07:00
Aaron Campf
dc5eeb8476 Merge branch 'master' of https://github.com/qianlifeng/Wox 2014-03-30 10:59:38 -07:00
qianlifeng
7d40105023 Merge branch 'master' of https://github.com/qianlifeng/Wox.git 2014-03-30 21:52:03 +08:00
qianlifeng
3d73dc2fb7 Add restart wox command into sys plugin. 2014-03-30 21:51:42 +08:00
Yeechan Lu
94f217f4d7 Use a better method to calculate relative coordinates while moving among screens 2014-03-30 15:42:33 +08:00
Aaron Campf
00319c1fe2 a 2014-03-29 22:15:14 -07:00
qianlifeng
67ac5a9c6a Fix issues in 636350c395 2014-03-30 11:20:21 +08:00
qianlifeng
79b3b0fffc System Plugin File Structure change. 2014-03-30 11:16:44 +08:00
qianlifeng
ab6a29191d Merge pull request #67 from aaroncampf/master
Added Features
2014-03-30 10:59:44 +08:00
Aaron Campf
636350c395 Added Features
Feature: Search additional folders by default (shallow search)
Feature: Disable bookmarks
2014-03-29 14:32:29 -07:00
Yeechan Lu
c076717133 Show Wox on Mouse Screen 2014-03-30 00:53:46 +08:00
Yeechan Lu
943a438a6c Use Unidecoder instead of ChineseToPinYin
// Please do not use the binary version on NuGet since there are some issues with the data table
2014-03-29 23:29:07 +08:00
Yeechan Lu
a104693f97 Fix performance issues while loading fonts 2014-03-29 23:16:18 +08:00
Yeechan Lu
8283c89614 Optimize settings order 2014-03-29 16:17:01 +08:00
Yeechan Lu
c9790d7bb8 Move WebSearch into featureBox 2014-03-29 16:13:36 +08:00
Yeechan Lu
80ec16b9bd Rename Wox.Plugin.System to Wox.Plugin.SystemPlugins
Finish moving ProgramSetting into featureBox
2014-03-29 15:52:57 +08:00
Yeechan Lu
479945455b Move ProgramSetting into Feature 2014-03-29 14:42:43 +08:00
Yeechan Lu
4512854c2a Add Feature Tab in Settings. (Still WIP) 2014-03-28 22:42:28 +08:00
Yeechan Lu
70950b8267 Remove useless code 2014-03-27 21:22:59 +08:00
Yeechan Lu
eec96b8549 Fix Google Suggestion crash on network error 2014-03-27 21:14:41 +08:00
Yeechan Lu
30961babde Remove duplicated code 2014-03-27 19:01:43 +08:00
Yeechan Lu
a00c530f36 Prevent from accessing last results if query has changed 2014-03-27 18:48:56 +08:00
qianlifeng
0af1e06c57 remove useless file. 2014-03-27 17:53:01 +08:00
Yeechan Lu
c0d52ef905 Fix duplicated results in CMD 2014-03-27 17:25:06 +08:00
Yeechan Lu
59d9840d7b Fix issues with web search icons 2014-03-27 17:19:50 +08:00
Yeechan Lu
9a2ffc1d7c Add Google suggestions for web searches
Fix issues with push results
2014-03-27 16:56:50 +08:00
Yeechan Lu
c8fcfcd28c Fix error in ac81d38acc 2014-03-27 14:53:47 +08:00
Yeechan Lu
ac81d38acc Add PushResults for push results before Query results return 2014-03-27 14:50:42 +08:00
Yeechan Lu
9bc4b74888 Add error report (however it has no sending feature at this commit) 2014-03-27 12:58:36 +08:00
Yeechan Lu
2ec71c9942 Fix issue with Layered Window 2014-03-26 19:26:10 +08:00
Yeechan Lu
343da4878d Add opacity mode settings 2014-03-26 17:34:19 +08:00
Yeechan Lu
45f32ba62c Change Themes tab layout and add wallpaper behind preview. 2014-03-26 15:30:59 +08:00
Yeechan Lu
f157e6a9f5 Enable themes of Windows Common Controls and Dialogs in Wox.UAC 2014-03-26 15:29:55 +08:00
Yeechan Lu
33485024af Fix issues with Aero 2014-03-26 12:43:02 +08:00
Yeechan Lu
90efb967fe Revert "Use short name of Assembly instead of full name." since there are some Assembly loading issues.
This reverts commit cf7ae900.

Short name will produce no errors when debugging using Visual Studio hosting process. However, this will crash outside Visual Studio.
2014-03-26 11:50:21 +08:00
Yeechan Lu
5fa62151f6 Add Aero theme 2014-03-25 21:45:32 +08:00
Yeechan Lu
3a55985b20 Fix issues with DwmDropShadow 2014-03-25 20:27:02 +08:00
Yeechan Lu
4a0411b7fc Fix crash on querying when plugins are initializing 2014-03-25 17:08:35 +08:00
Yeechan Lu
7094675d5e Fix a bug with family typefaces 2014-03-25 17:00:40 +08:00
Yeechan Lu
cf7ae90097 Use short name of Assembly instead of full name. 2014-03-25 14:47:29 +08:00
Yeechan Lu
53b19dad87 Revert "Revert use FuzzyMatcher on Bookmarks since it's too slow" 2014-03-25 13:36:33 +08:00
Yeechan Lu
b10caecbba Allow change FontStyle, FontWeight, FontStretch 2014-03-25 13:25:43 +08:00
Yeechan Lu
60d64ad2a6 Merge pull request #63 from cxfksword/master
Optimize fuzzy match
2014-03-25 07:05:19 +08:00
cxfksword
fd71200284 Directory change use fuzzy to search 2014-03-24 21:14:56 +08:00
cxfksword
de13ad1cd5 Optimize fuzzy match 2014-03-24 21:14:10 +08:00
Yeechan Lu
97bd617566 Merge pull request #62 from cxfksword/master
Change Directory plugin subdirectory list action
2014-03-24 02:49:15 +08:00
Yeechan Lu
2583b38a17 Fix a file missing bug 2014-03-24 01:10:50 +08:00
cxfksword
e1f71cae37 Change Directory plugin subdirectory list action 2014-03-24 00:51:07 +08:00
Yeechan Lu
d78ecdc203 Fix bug with theme in Windows 8 2014-03-24 00:08:56 +08:00
Yeechan Lu
0dd540a048 Add supportedRuntime v4.0 2014-03-23 20:27:17 +08:00
qianlifeng
d8536c20b0 Fix added websearch twice issue. 2014-03-23 18:14:46 +08:00
qianlifeng
1a5bc2ddfe Merge branch 'master' of https://github.com/qianlifeng/Wox.git 2014-03-23 17:43:53 +08:00
qianlifeng
61c1232690 close #47 Add log level config 2014-03-23 17:43:46 +08:00
Yeechan Lu
2554165963 Fix a bug when creating Config directory 2014-03-23 16:58:19 +08:00
Yeechan Lu
fc4778159c Fix 'Path' is an ambiguous reference between 'System.IO.Path' and 'System.Windows.Shapes.Path' 2014-03-23 16:51:08 +08:00
Yeechan Lu
d2105a7169 Update VS2010 Solution 2014-03-23 16:40:53 +08:00
Yeechan Lu
19ec14e4c2 Fix issues with AppDomain.CurrentDomain.BaseDirectory 2014-03-23 16:33:23 +08:00
qianlifeng
3dbef1400c Refactor setting storage related 2014-03-23 16:20:00 +08:00
qianlifeng
4ca0453cff close #48 Refactor setting storage. 2014-03-23 16:17:41 +08:00
qianlifeng
fc07979966 Remove Plugins 2014-03-23 10:41:10 +08:00
Yeechan Lu
7dda2df54b Support data URI as Icon 2014-03-23 04:22:57 +08:00
Yeechan Lu
0d95636b0f Allow plugins return null 2014-03-23 02:46:14 +08:00
qianlifeng
9ad424c537 Merge branch 'master' of https://github.com/qianlifeng/Wox.git 2014-03-22 17:27:18 +08:00
qianlifeng
8c57dde0a6 Remove all plugins to their own repo 2014-03-22 17:27:11 +08:00
Yeechan Lu
31bbf3cfd5 Fix applicationDirectory issues and add plugin debuggerMode 2014-03-22 16:51:09 +08:00
qianlifeng
9d404b6679 Merge branch 'master' of https://github.com/qianlifeng/Wox.git 2014-03-22 16:43:04 +08:00
qianlifeng
dc274aed48 Remove douban movie plugin to https://github.com/qianlifeng/Wox.Plugin.DoubanMovie 2014-03-22 16:42:49 +08:00
qianlifeng
51eda2ef74 Merge pull request #61 from cxfksword/master
Fix Alt+Space hotkey bug
2014-03-22 16:40:42 +08:00
cxfksword
f30f6378ac Add Directory Plugin support list child directory and search 2014-03-22 16:25:22 +08:00
cxfksword
3b09276395 Fix Alt+Space hotkey affect by system
if no disable control box,  sometimes awake Wox with alt+space hotkey,
the first input key is swallowed by system
2014-03-22 15:02:28 +08:00
cxfksword
dbdd6c701b Add support ClickOnce application
ex. Github for Windows use this file extension
2014-03-22 14:01:36 +08:00
cxfksword
eb094eaebb Filter duplicate program item 2014-03-22 13:50:20 +08:00
qianlifeng
9177f4b47d Merge branch 'master' of https://github.com/qianlifeng/Wox.git 2014-03-22 11:21:29 +08:00
qianlifeng
d4446b2605 Update WPM. 2014-03-22 11:21:21 +08:00
Yeechan Lu
356db288ad Fix a bug with WindowsShellRun 2014-03-21 04:38:50 +08:00
Yeechan Lu
8a6690b6df Optimize for text selection after pressing Win+R 2014-03-21 04:32:11 +08:00
Yeechan Lu
1281059076 Move ProgramSources 2014-03-21 04:31:42 +08:00
Yeechan Lu
4622c86ae1 Fix a bug with WindowsShellRun 2014-03-21 04:07:31 +08:00
Yeechan Lu
5c6b741dc4 Use ShellRun to provide unified experience 2014-03-21 03:53:18 +08:00
qianlifeng
25cedff47a Merge branch 'master' of https://github.com/qianlifeng/Wox.git 2014-03-20 22:01:33 +08:00
qianlifeng
5971802eb9 Remove useless code. 2014-03-20 22:01:22 +08:00
Yeechan Lu
b40ff9ef66 Fix some icon issues of some file types 2014-03-20 21:58:14 +08:00
qianlifeng
3b2e54a156 Fix a UI issue. 2014-03-20 21:41:30 +08:00
qianlifeng
b3f3cd2ffd Merge branch 'master' of https://github.com/qianlifeng/Wox.git 2014-03-20 19:12:36 +08:00
qianlifeng
288b46947d Limit the display result item to 6 at most. 2014-03-20 19:12:26 +08:00
Yeechan Lu
98add4b958 Add Windows 8 installation note and prefer 3.5 SP1 rather than 3.5 to XP users 2014-03-20 14:25:44 +08:00
qianlifeng
99b1c5a456 [skip ci] Fix typos 2014-03-20 12:34:12 +08:00
Yeechan Lu
305fc52e73 Merge pull request #60 from cxfksword/master
Fix Everything not handle .ico image type
2014-03-20 10:16:22 +08:00
cxfksword
425b209414 Fix miss default font 2014-03-20 10:05:12 +08:00
cxfksword
58b016a9c0 Fix not handle .ico image type 2014-03-20 10:01:00 +08:00
Yeechan Lu
6c17107f39 Fix incorrect behavior with App Paths 2014-03-20 04:15:05 +08:00
Yeechan Lu
8b153121ac Auto Complete for CMD mode 2014-03-20 04:12:50 +08:00
Yeechan Lu
4fc1169fa3 Fix typo Widow -> Window 2014-03-20 02:26:00 +08:00
Yeechan Lu
27dde4e70d Fix #49. Alt + F4 will hide app now rather than crash 2014-03-20 02:02:18 +08:00
Yeechan Lu
10cbe25f17 Merge pull request #59 from cxfksword/master
Add Everything support show file icon
2014-03-20 00:23:33 +08:00
cxfksword
14edd948ac Add Everything support show file icon
and add a file icon cache associate with file extension
2014-03-19 23:58:05 +08:00
qianlifeng
386b54cf6a Change the default grid height of Custom Plugin Hotkey Panel. 2014-03-19 22:44:51 +08:00
Yeechan Lu
c068366ae2 Fix #58: don't calc when input.length <= 2 2014-03-19 22:32:41 +08:00
Yeechan Lu
bc85b3599e Revert "Limit Calculator trigger must has one number at least"
This reverts commit fe124310de.
2014-03-19 22:32:01 +08:00
Yeechan Lu
4d299f5b17 Merge pull request #58 from cxfksword/master
Fix Calculator & Everything plugin bug
2014-03-19 22:31:04 +08:00
qianlifeng
224c3eb99c Merge branch 'master' of https://github.com/qianlifeng/Wox.git 2014-03-19 22:17:19 +08:00
qianlifeng
4e537ac4d8 #56 Add Font setting 2014-03-19 22:17:01 +08:00
cxfksword
fe124310de Limit Calculator trigger must has one number at least
make not affect some keyword like "pi"
2014-03-19 21:34:18 +08:00
cxfksword
19f25e45bb Fix Everything not support keyword with space 2014-03-19 21:23:17 +08:00
Yeechan Lu
1fa4be9ebb Close #42 Program Source settings GUI 2014-03-19 20:16:45 +08:00
qianlifeng
f4e74065ec #2 change Everything default search mode 2014-03-19 19:57:22 +08:00
Yeechan Lu
f07cd08789 Close #52: Encoding issues with Everything plugin 2014-03-19 12:13:43 +08:00
Yeechan Lu
28bddb713b Make Python plugin enabled by default #51 2014-03-19 11:49:31 +08:00
Yeechan Lu
0b86e0ae41 Merge pull request #51 from Rovak/python-optional
Make python plugins optional
2014-03-19 11:42:46 +08:00
Yeechan Lu
da058197c7 Remove useless field in ProgramSource 2014-03-19 04:08:58 +08:00
Yeechan Lu
cf0d7067eb Add ProgramSources settings (code only, without GUI) #42 2014-03-19 04:05:27 +08:00
Yeechan Lu
baa50069cf Read .exe file description for program name 2014-03-19 03:24:37 +08:00
Yeechan Lu
aab0bf369d Add PortableApps.com program source support. #42 2014-03-19 03:05:43 +08:00
Yeechan Lu
07c13d84be Refactor to support multiple program sources #42
App Paths is supported now #41
2014-03-19 02:07:08 +08:00
Yeechan Lu
47982d092b Merge pull request #50 from Rovak/fix/typos
Renamed several typos
2014-03-19 02:05:55 +08:00
Roy van Kaathoven
ef63f11bbb Make python plugins optional 2014-03-18 18:27:59 +01:00
Roy van Kaathoven
46e0656fe9 Save StartWoxOnSystemStartup setting 2014-03-18 18:20:51 +01:00
Roy van Kaathoven
bdc2decd06 Registe -> Register 2014-03-18 17:36:00 +01:00
Roy van Kaathoven
69204e3998 add missing imports + save project changes 2014-03-18 17:34:54 +01:00
Roy van Kaathoven
4419c20f33 move files to new globalhotkey file 2014-03-18 17:33:51 +01:00
Roy van Kaathoven
f9ffa9c387 gloablHotkey -> GlobalHotkey 2014-03-18 17:26:09 +01:00
qianlifeng
b402bd6c0e Remove useless codes. 2014-03-18 23:41:34 +08:00
Yeechan Lu
4f7c96326d Optimize speed for CMD mode 2014-03-18 22:40:37 +08:00
qianlifeng
ad36bd23c8 close #38 Change Virtualizing Mode from Recycling to Standard. 2014-03-18 22:09:48 +08:00
qianlifeng
86fe78ba95 Add drag support #44 2014-03-18 20:42:23 +08:00
Yeechan Lu
9678f1d1f2 Merge pull request #43 from cxfksword/master
fix Everything plugin closure bug
2014-03-18 19:16:29 +08:00
cxfksword
d0d6ddd3c1 fix closure bug
sometimes will always open the last action item.
2014-03-18 18:49:03 +08:00
Yeechan Lu
6dcd2e4b03 Optimize Program results 2014-03-18 13:17:09 +08:00
Yeechan Lu
b9c58adae6 Remove compiler warnings 2014-03-18 12:28:48 +08:00
Yeechan Lu
b7893c2820 Merge pull request #40 from cxfksword/master
add Calculator system plugin
2014-03-18 01:11:21 +08:00
cxfksword
fd1de0ef85 add Calculator system plugin 2014-03-18 00:43:20 +08:00
qianlifeng
9c1fba3d79 Fix a null references issue that may crash wox. 2014-03-18 00:25:27 +08:00
Yeechan Lu
1185bd5d86 Close #39: Remove the shortcut arrow overlay 2014-03-18 00:11:39 +08:00
Yeechan Lu
70616de215 Fix line ending [skip ci] 2014-03-18 00:10:02 +08:00
Yeechan Lu
acf564756e Remove PyImportTest 2014-03-18 00:09:35 +08:00
qianlifeng
616b9af5ed Change AssemblyInfos [skip ci] 2014-03-17 23:37:26 +08:00
qianlifeng
38b20987fb Remove xml files in build folder. 2014-03-17 23:20:09 +08:00
qianlifeng
5f6d3078b7 Remove dropshadow since it's buggy. 2014-03-17 23:04:22 +08:00
qianlifeng
2e0a8ee657 Revert "Fix Image didn't copy to output directory issues." 2014-03-17 22:13:04 +08:00
Yeechan Lu
659a1dbe53 Change OutputPath 2014-03-17 21:51:50 +08:00
qianlifeng
753124ec27 Add CI status. 2014-03-17 21:27:23 +08:00
qianlifeng
73dab9ebf4 Merge branch 'master' of https://github.com/qianlifeng/Wox.git 2014-03-17 21:19:25 +08:00
qianlifeng
716d6aca9f Fix Image didn't copy to output directory issues. 2014-03-17 21:19:18 +08:00
Yeechan Lu
ec761802eb Copy Images to output directory 2014-03-17 21:09:34 +08:00
Yeechan Lu
1a782a6938 Update NuGet configuration 2014-03-17 20:43:08 +08:00
Yeechan Lu
63d693b388 Fix error in projects... 2014-03-17 20:12:39 +08:00
Yeechan Lu
5b1563b851 Add missing NuGet packages into Wox.UAC 2014-03-17 19:54:09 +08:00
Yeechan Lu
d794c4c81f Clean build configuration 2014-03-17 19:28:26 +08:00
Yeechan Lu
70f0d8d558 Add bookmarks support for Chromium / ChromeSxS and multiple profiles 2014-03-17 12:32:19 +08:00
Yeechan Lu
2c50adb6f2 Revert use FuzzyMatcher on Bookmarks since it's too slow 2014-03-17 11:36:13 +08:00
Yeechan Lu
71c4d60bbf Fixed Pythonnet 2.7 configuration 2014-03-17 11:14:30 +08:00
Yeechan Lu
798faff7b2 Add support for PageUp & PageDown 2014-03-17 03:52:52 +08:00
Yeechan Lu
94ed77353e FuzzyMatcher for Bookmarks and some tweaks 2014-03-17 03:38:36 +08:00
Yeechan Lu
a7159ecf1d ToPinyin: Convert to SimpChinese at first 2014-03-17 03:38:36 +08:00
Yeechan Lu
b65f562c61 Fix the bug in WindowsShellRun 2014-03-17 03:38:35 +08:00
Yeechan Lu
9918b4ee42 GetAllRemainingParameter trick 2014-03-17 03:38:35 +08:00
Yeechan Lu
069781bcdd Update 2010 Solution file
Fix a bug in Everything plugin configuration
2014-03-17 03:38:35 +08:00
qianlifeng
3596a5588d Merge branch 'master' of https://www.github.com/qianlifeng/wox 2014-03-16 22:53:16 +08:00
qianlifeng
69890972bc fix a null references issues. 2014-03-16 22:51:50 +08:00
qianlifeng
313dd0cc6a Update README.md 2014-03-16 00:23:36 +08:00
qianlifeng
dc30e4f8e0 Update README.md 2014-03-16 00:11:25 +08:00
qianlifeng
a7b3ef34d8 Remove AllowsTransparency which is buggy in XP and poor performance. 2014-03-15 23:42:23 +08:00
qianlifeng
f0b728a71b Merge branch 'master' of https://www.github.com/qianlifeng/wox 2014-03-15 22:02:46 +08:00
qianlifeng
dfce6564a1 Small issue changes. 2014-03-15 22:01:35 +08:00
qianlifeng
3b924ff1e6 Update README.md 2014-03-15 18:37:10 +08:00
qianlifeng
15bc01576a Change Default Style. 2014-03-15 17:47:06 +08:00
qianlifeng
19f4f6e1cc Merge branch 'master' of https://www.github.com/qianlifeng/wox 2014-03-15 00:18:14 +08:00
qianlifeng
ea4e25ea28 Add round corner support for Wox. 2014-03-15 00:17:37 +08:00
qianlifeng
fd6ea77f7b Add tooltip for subtitle 2014-03-14 18:54:05 +08:00
qianlifeng
1b382e4391 Add ReleaseBuild bat. 2014-03-14 00:35:06 +08:00
qianlifeng
091aba7aad implement WPM Plugin 2014-03-13 22:31:44 +08:00
qianlifeng
49c151c1b4 Strange changes. 2014-03-12 21:27:16 +08:00
qianlifeng
3ffc4fad6d Remove unnecessary file. 2014-03-12 21:01:54 +08:00
qianlifeng
73dc6b768f Fix bugs in CMD plugin and PluginMangerment Plugin. 2014-03-12 19:18:07 +08:00
qianlifeng
413d8e6662 Merge branch 'master' of https://github.com/qianlifeng/Wox.git 2014-03-12 09:16:38 +08:00
qianlifeng
5d2ce27ea8 Add youdao plugin. 2014-03-12 09:16:22 +08:00
qianlifeng
1d3a1a1345 implement issue#8 part 1 2014-03-11 23:54:37 +08:00
qianlifeng
9adf764af8 Fix issue#24 2014-03-11 22:17:10 +08:00
qianlifeng
8ef6827bd9 Add global unhandled exception check. 2014-03-11 21:52:29 +08:00
qianlifeng
79d011bd5c Merge branch 'master' of https://github.com/qianlifeng/WinAlfred.git 2014-03-11 21:40:32 +08:00
qianlifeng
430ce9c136 Refactoring "startup with windows" option. 2014-03-11 21:40:25 +08:00
qianlifeng
fe7afe3dec Fix issues#13. Add image cache. 2014-03-10 07:21:26 +08:00
qianlifeng
8922cc72fc Merge branch 'master' of https://github.com/qianlifeng/WinAlfred.git 2014-03-09 17:01:45 +08:00
qianlifeng
200181623e Fix issues#33 2014-03-09 17:01:39 +08:00
qianlifeng
ab24afa31d Update README.md 2014-03-05 22:48:52 +08:00
qianlifeng
b38fa395ce Fix mouse click issues and add a new hotmovie plugin. 2014-03-05 22:32:21 +08:00
qianlifeng
62475f9bcf Fix issue#26 "not count execute error command in history will be better" 2014-03-02 11:38:13 +08:00
qianlifeng
674d6389b7 Merge branch 'master' of https://github.com/qianlifeng/WinAlfred.git 2014-03-02 11:29:22 +08:00
qianlifeng
7ae98ca9fe Fix issue#32 2014-03-02 11:29:14 +08:00
qianlifeng
13ed55ac10 Add wox plugin installer. 2014-03-02 11:04:30 +08:00
qianlifeng
fce020f4dd Change plugin config file format (from ini to json) 2014-03-01 15:42:33 +08:00
qianlifeng
8c2376457b Update README.md 2014-03-01 13:56:49 +08:00
qianlifeng
1dde832e31 Resert changes 2014-03-01 11:49:53 +08:00
qianlifeng
8c86ae2461 Socket research 2014-03-01 11:46:24 +08:00
qianlifeng
695abb481d Merge branch 'master' of https://github.com/qianlifeng/WinAlfred.git 2014-02-28 23:21:09 +08:00
qianlifeng
7f769e00b9 Add clipboard plugin. 2014-02-28 23:21:01 +08:00
qianlifeng
b2e4544b52 Merge branch 'master' of https://github.com/qianlifeng/Wox.git 2014-02-24 09:28:55 +08:00
qianlifeng
7d1ee33e1f Merge branch 'MoreResponsibleUI' 2014-02-23 13:33:09 +08:00
qianlifeng
2ade16a87a Fix dependency references issue of c# plugins. 2014-02-23 13:32:28 +08:00
qianlifeng
67fd2b4ac0 Merge branch 'master' of https://github.com/qianlifeng/WinAlfred.git 2014-02-23 10:36:50 +08:00
qianlifeng
26294a5742 Change python plugin interface. 2014-02-23 10:36:37 +08:00
qianlifeng
db8371d3af Fix crash issue when user didn't install python. 2014-02-23 10:27:19 +08:00
qianlifeng
f308496ef9 Update README.md 2014-02-22 22:26:32 +08:00
qianlifeng
a0507bd14d Log python plugin error. 2014-02-22 18:04:59 +08:00
qianlifeng
92d95db40b Fix select result item delay issue. 2014-02-22 16:55:15 +08:00
qianlifeng
2309d30909 Merge branch 'MoreResponsibleUI' 2014-02-22 16:28:23 +08:00
qianlifeng
0f023113ec Change default height for result item 2014-02-22 16:10:15 +08:00
qianlifeng
b3e5f09c83 Add custom plugin hotkey feature. 2014-02-22 15:52:20 +08:00
qianlifeng
2f5a4f63b6 Add hotkey setting 2014-02-22 11:55:48 +08:00
qianlifeng
85515079d6 Fix theme bugs. 2014-02-21 23:43:52 +08:00
qianlifeng
a9123d2966 UI changes. 2014-02-21 18:59:47 +08:00
qianlifeng
efdd8daa01 Merge branch 'master' of https://github.com/qianlifeng/WinAlfred.git 2014-02-20 23:15:09 +08:00
qianlifeng
8f2d69b7f7 Add NHotkey library. 2014-02-20 23:15:03 +08:00
qianlifeng
18ee6ecf80 fix some small UI issue 2014-02-20 21:46:23 +08:00
qianlifeng
5a3669cbe7 Bug fix 2014-02-20 18:26:01 +08:00
qianlifeng
a1c78b3a44 remove useless codes 2014-02-20 09:37:30 +08:00
qianlifeng
4e0ea5f941 bug fix 2014-02-20 09:34:30 +08:00
qianlifeng
c425313ae6 Fix title aligment issue when subtitle is empty. 2014-02-19 23:42:21 +08:00
qianlifeng
4736921d05 Replace ResultItem usercontrol with listbox to improve ui performance 2014-02-19 22:50:15 +08:00
qianlifeng
45aedd8111 Update README.md 2014-02-18 22:35:16 +08:00
qianlifeng
445f06f4b3 Merge branch 'master' of https://github.com/qianlifeng/WinAlfred.git 2014-02-18 22:03:04 +08:00
qianlifeng
b8fbc837dc Fix "startup wox on window start" issue. 2014-02-18 22:02:55 +08:00
qianlifeng
72bcc16a46 Update README.md 2014-02-18 09:03:12 +08:00
qianlifeng
729640d6ec Init 2014-02-11 20:53:41 +08:00
qianlifeng
fcdb9e39c6 Add modifier key support when user action items. 2014-02-09 20:55:18 +08:00
qianlifeng
953adadd62 Remove number placeholder in the right of result item. 2014-02-09 11:24:47 +08:00
cxfksword
a9fa1fb66b add fuzzy string match support for Programs plugin 2014-02-09 01:39:23 +08:00
cxfksword
8c7547ab03 fix build error on release mode and add miss SharpZipLib nuget package 2014-02-09 01:39:20 +08:00
Yeechan Lu
e94fed0137 Merge pull request #27 from zsxsoft/master
Fix crash when UAC blocks the program.
2014-02-08 14:43:02 +08:00
zsxsoft
353a8ff768 Fix crash when UAC blocks the program.
=_=英语不好连个说明和注释都写不出了
2014-02-08 14:37:40 +08:00
qianlifeng
3442081d20 "start wox on system startup" config changes. 2014-02-07 22:10:00 +08:00
qianlifeng
67f14d6a62 Add start Wox on system startup config & code refactorying. 2014-02-06 22:22:02 +08:00
qianlifeng
9e1980f843 Revert project file changes of everything sdk. 2014-02-03 00:08:11 +08:00
qianlifeng
495e0ce89b Implement WebSearch feature. 2014-02-02 16:15:34 +08:00
qianlifeng
76fa97e0a0 Add Everything x64 dll 2014-02-02 14:29:52 +08:00
Yeechan Lu
cc49948a59 Fix: Prevent user from closing the main window via Alt+F4 2014-01-30 01:02:49 +08:00
Yeechan Lu
5adcbb775d Fix: remove unnecessary binary Python.Runtime.dll 2014-01-30 01:01:57 +08:00
Yeechan Lu
02ed3e4e8b Fix crash on null Action binded to Result 2014-01-30 00:55:03 +08:00
Yeechan Lu
f9ff9af094 Add support for Everything both 32-bit and 64-bit 2014-01-30 00:55:03 +08:00
qianlifeng
529b8c2183 Merge branch 'master' of https://github.com/qianlifeng/WinAlfred.git 2014-01-29 22:45:06 +08:00
qianlifeng
fa3ae62254 Add web search feature & some UI changes. 2014-01-29 22:44:57 +08:00
qianlifeng
71ccbb9336 Update README.md 2014-01-29 22:31:55 +08:00
Yeechan Lu
9f22a6d26d Updating README.md 2014-01-29 18:38:48 +08:00
Yeechan Lu
4db3bd7423 Rename the project. 2014-01-29 18:33:24 +08:00
qianlifeng
4393b0c80d Update README.md 2014-01-29 18:09:49 +08:00
qianlifeng
c217828c18 Merge pull request #22 from orzFly/master
Simulate Windows Run Dialog behaviors in the CMD worlflow
2014-01-28 07:44:29 -08:00
Yeechan Lu
a502f69b34 Simulate Windows Run Dialog behaviors in the CMD worlflow. 2014-01-28 21:33:13 +08:00
Yeechan Lu
6f3e0f5162 Fixed: File not found - ico.png 2014-01-28 21:33:12 +08:00
Yeechan Lu
0e44cae1e3 Fixed: Calling null callback "hookedKeyboardCallback" 2014-01-28 21:33:12 +08:00
Yeechan Lu
99b0defcf7 Create the "Docsets" directory if it not exists 2014-01-28 21:33:12 +08:00
qianlifeng
c6be74ac5b Merge branch 'master' of https://github.com/qianlifeng/WinAlfred 2014-01-28 11:22:35 +08:00
qianlifeng
84af5a277e code refactoring and add web searches setting window. 2014-01-28 11:19:27 +08:00
qianlifeng
266e3ab270 Update README.md 2014-01-27 23:14:49 +08:00
qianlifeng
1da5a0a4ca Update README.md 2014-01-27 23:12:09 +08:00
qianlifeng
2c17d450dd fix Issue #16 2014-01-27 20:45:26 +08:00
qianlifeng
41c4cbe3a6 fix win+r issue. 2014-01-26 21:44:57 +08:00
qianlifeng
c7dfaac61a Mouse select support & Code refactoring 2014-01-26 21:18:01 +08:00
qianlifeng
36018fe570 show top 5 CMD history when CMD query is empty. 2014-01-26 18:06:38 +08:00
qianlifeng
e8b284a89c change the scrollbar style. 2014-01-26 17:47:58 +08:00
qianlifeng
a8ea9a8dbe change vs2010 solution file. 2014-01-26 11:39:14 +08:00
qianlifeng
78f26a3689 fix CMD issues and add history support. 2014-01-26 11:01:13 +08:00
qianlifeng
671db12336 Merge pull request #14 from orzFly/master
Add some workarounds for clean environment and use the NuGet version of InputSimulator
2014-01-25 17:57:32 -08:00
Yeechan Lu
a5dc3bcc75 Clean some references 2014-01-26 02:53:25 +08:00
Yeechan Lu
54819eb367 Use the NuGet version of InputSimulator 2014-01-26 02:13:52 +08:00
Yeechan Lu
71ec4ad403 Add some workarounds for clean environment. 2014-01-26 01:29:40 +08:00
qianlifeng
8644fb66c0 Add replace win + r option 2014-01-26 00:37:15 +08:00
qianlifeng
71b5d4fe5a add theme function. And provide two themes default. 2014-01-25 18:00:13 +08:00
qianlifeng
abedc0be80 update doc workflow 2014-01-25 00:21:16 +08:00
qianlifeng
63072205d6 Merge branch 'master' of https://github.com/qianlifeng/WinAlfred.git 2014-01-24 20:03:45 +08:00
qianlifeng
0ac7d9829a add doc workflow 2014-01-24 20:01:20 +08:00
qianlifeng
7989ca7504 Update README.md 2014-01-17 20:12:47 +08:00
qianlifeng
56118a7142 add AutoAjustScore option for results 2014-01-15 22:45:02 +08:00
qianlifeng
93d8f66afc Merge branch 'master' of https://github.com/qianlifeng/WinAlfred.git 2014-01-14 23:31:52 +08:00
qianlifeng
ea0e80b12b add some comments 2014-01-14 23:31:24 +08:00
qianlifeng
cfdb5456aa Update README.md 2014-01-14 23:00:38 +08:00
qianlifeng
5baeadbe92 Update README.md 2014-01-14 22:58:49 +08:00
qianlifeng
8a57a32233 Update README.md 2014-01-14 22:57:15 +08:00
qianlifeng
af954a0578 Add kill process workflow 2014-01-13 19:32:27 +08:00
qianlifeng
b6bbd6899e fix issues 2014-01-13 18:43:44 +08:00
qianlifeng
f7edc853da project file change 2014-01-13 09:45:31 +08:00
qianlifeng
820d0cde86 add v2ex workflow 2014-01-12 21:02:39 +08:00
qianlifeng
2249bbb0f5 Add one instance support. 2014-01-12 18:15:30 +08:00
qianlifeng
4a37a6f497 Merge branch 'master' of https://github.com/qianlifeng/WinAlfred.git 2014-01-12 16:42:35 +08:00
qianlifeng
0ce742fa8a Delete useless files 2014-01-12 16:42:28 +08:00
qianlifeng
86725b1ef1 Update README.md 2014-01-12 16:39:56 +08:00
qianlifeng
7a3ec4194e Merge "PythonPlugin" branch 2014-01-12 16:34:18 +08:00
qianlifeng
53120faeba Merge branch 'PythonPlugin' 2014-01-12 16:31:06 +08:00
qianlifeng
c9ca331d30 Add winalfred workflow installer 2014-01-12 16:28:11 +08:00
qianlifeng
cce3749563 Merge branch 'master' of https://github.com/qianlifeng/WinAlfred.git 2014-01-11 18:24:08 +08:00
qianlifeng
f389b1ae93 Fix issue#13 2014-01-11 18:23:59 +08:00
qianlifeng
a275ce8738 delete cpp codes 2014-01-11 17:26:57 +08:00
qianlifeng
03dfa19c0e Update README.md 2014-01-11 15:32:45 +08:00
qianlifeng
b5087002d2 Update README.md 2014-01-11 15:31:14 +08:00
qianlifeng
4df5cdd312 Update README.md 2014-01-11 15:23:05 +08:00
qianlifeng
73867d87d7 research python plugin: seems ok in multiple thread now. 2014-01-11 15:02:17 +08:00
qianlifeng
76009ca6eb try to use python.net as the bridge. 2014-01-11 00:19:14 +08:00
qianlifeng
935d26f956 research 2014-01-09 22:16:19 +08:00
qianlifeng
8d931e290a project file change 2014-01-09 20:33:47 +08:00
qianlifeng
1cd846fbf1 Merge branch 'master' 2014-01-09 20:32:29 +08:00
qianlifeng
c284d5d2f4 Merge branch 'master' of https://github.com/qianlifeng/WinAlfred.git 2014-01-09 20:21:57 +08:00
qianlifeng
713a794e9a structure change 2014-01-09 20:21:46 +08:00
qianlifeng
e1cc09a837 Update README.md 2014-01-08 23:48:44 +08:00
qianlifeng
3ebb35ac6a Update README.md 2014-01-08 23:46:14 +08:00
qianlifeng
3f377d4efc add browser bookmark (chrome) plugin 2014-01-08 23:21:37 +08:00
qianlifeng
881d265579 update msg window 2014-01-08 19:08:48 +08:00
qianlifeng
70339423d0 start issue#11 2014-01-07 23:27:05 +08:00
qianlifeng
a5f3359d32 Add progress bar 2014-01-07 19:27:51 +08:00
qianlifeng
13f00edefd fix shutdown didn't work issue 2014-01-06 22:21:08 +08:00
qianlifeng
97b5526cc1 fix program plugin doesn't work in XP issue. 2014-01-06 21:25:24 +08:00
qianlifeng
3901422a54 Add missed changes 2014-01-06 19:03:20 +08:00
qianlifeng
2db2136117 remove unused codes 2014-01-05 19:33:36 +08:00
qianlifeng
fc40ed52f3 Merge branch 'master' of https://github.com/qianlifeng/WinAlfred.git 2014-01-05 17:56:11 +08:00
qianlifeng
b2081dcbc9 add translator plugin 2014-01-05 17:56:02 +08:00
qianlifeng
fd42549733 Update README.md 2014-01-05 17:07:13 +08:00
qianlifeng
07d002da48 Add Program Plugin 2014-01-04 20:26:13 +08:00
qianlifeng
dc51bc39ab structure change 2014-01-03 23:52:36 +08:00
qianlifeng
411932c96b python plugin test 2014-01-03 19:29:46 +08:00
qianlifeng
1eb3f449e2 Add system commands 2014-01-03 18:16:05 +08:00
qianlifeng
188e7910dd add pywinalfred test project 2013-12-29 21:50:56 +08:00
qianlifeng
5893564f46 Change Python C Wrapper 2013-12-27 20:06:49 +08:00
qianlifeng
bdf77b2782 Fix scroll issues 2013-12-27 00:39:07 +08:00
qianlifeng
ece5cc7dd5 UI staff 2013-12-26 20:18:08 +08:00
qianlifeng
db18b0f8e2 fixing embedding Python multithread problems 2013-12-25 19:26:58 +08:00
qianlifeng
94cd2c0599 UI staff 2013-12-25 00:21:54 +08:00
qianlifeng
87225e64fa regular update 2013-12-23 23:53:38 +08:00
qianlifeng
fffb97ea8d add PyWinAlfred 2013-12-23 19:21:51 +08:00
qianlifeng
57b381311c UI staff 2013-12-23 00:10:46 +08:00
qianlifeng
121db63778 UI staff 2013-12-22 19:35:21 +08:00
qianlifeng
dcf52085ae some UI staff 2013-12-22 00:44:56 +08:00
qianlifeng
2d339ba00a add portable python environment 2013-12-21 01:22:42 +08:00
qianlifeng
422e19724a add IronPython environment to execute python plugins 2013-12-21 01:20:17 +08:00
qianlifeng
f25f4f7dc8 regular commit 2013-12-20 19:38:10 +08:00
qianlifeng
c8fca3d63f project stucture change 2013-12-19 23:55:23 +08:00
qianlifeng
fd1ee23adc init 2013-12-19 23:51:20 +08:00
qianlifeng
a540165280 Initial commit 2013-12-19 07:49:32 -08:00
1116 changed files with 83457 additions and 18436 deletions

View File

@@ -6,11 +6,11 @@
<!-- Please review the items on the PR checklist before submitting-->
## PR Checklist
* [] Applies to #xxx
* [] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/PowerToys) and sign the CLA
* [] Tests added/passed
* [] Requires documentation to be updated
* [] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx
* [ ] Applies to #xxx
* [ ] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/PowerToys) and sign the CLA
* [ ] Tests added/passed
* [ ] Requires documentation to be updated
* [ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx
<!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here -->
## Detailed Description of the Pull Request / Additional comments

6
.gitignore vendored
View File

@@ -336,4 +336,8 @@ src/settings/settings-html/200.html
src/settings/settings-html/404.html
# Temp telemetry files.
src/common/Telemetry/*.etl
src/common/Telemetry/*.etl
# Don't ignore MergeModules
!**/MergeModules/Release/
!**/MergeModules/Debug/

View File

@@ -1,4 +1,5 @@
cd /D "%~dp0"
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64 -winsdk=10.0.18362.0
call msbuild ../installer/PowerToysSetup.sln /p:Configuration=Release /p:Platform=x64 || exit /b 1
SET IsPipeline=1
call msbuild ../installer/PowerToysSetup.sln /p:Configuration=Release /p:Platform=x64 /p:CIBuild=true || exit /b 1

View File

@@ -1,6 +1,6 @@
cd /D "%~dp0"
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64 -winsdk=10.0.18362.0
call msbuild ../src/common/notifications/notifications_dll.vcxproj /p:Configuration=Release /p:Platform=x64 || exit /b 1
call msbuild ../src/common/notifications_winrt/notifications.vcxproj /p:Configuration=Release /p:Platform=x64 || exit /b 1
call msbuild ../PowerToys.sln /p:Configuration=Release /p:Platform=x64 || exit /b 1
call msbuild ../PowerToys.sln /p:Configuration=Release /p:Platform=x64 /p:CIBuild=true || exit /b 1
SET PTRoot=..
call "..\installer\PowerToysSetup\publish.cmd"

View File

@@ -3,6 +3,8 @@ trigger:
branches:
include:
- master
- dev/build-features
- dev/PowerLauncher
paths:
exclude:
- doc/*
@@ -13,6 +15,8 @@ pr:
branches:
include:
- master
- dev/build-features
- dev/PowerLauncher
# 0.0.yyMM.dd##
# 0.0.1904.0900

View File

@@ -1,7 +1,7 @@
parameters:
configuration: 'Release'
platform: ''
additionalBuildArguments: ''
additionalBuildArguments: '/p:CIBuild=true'
jobs:
- job: Build${{ parameters.platform }}${{ parameters.configuration }}

View File

@@ -3,13 +3,14 @@ parameters:
steps:
- checkout: self
fetchDepth: 1
submodules: true
clean: true
- task: NuGetToolInstaller@0
displayName: Ensure NuGet 4.8.1
displayName: Ensure NuGet 5.5.0
inputs:
versionSpec: 4.8.1
versionSpec: 5.5.0
- task: VisualStudioTestPlatformInstaller@1
displayName: Ensure VSTest Platform
@@ -31,7 +32,6 @@ steps:
platform: '$(BuildPlatform)'
configuration: '$(BuildConfiguration)'
msbuildArgs: ${{ parameters.additionalBuildArguments }}
clean: true
maximumCpuCount: true
- task: VSTest@2
@@ -44,5 +44,6 @@ steps:
**\UnitTests-SvgPreviewHandler.dll
**\UnitTests-PreviewHandlerCommon.dll
**\powerpreviewTest.dll
**\UnitTests-CommonLib.dll
!**\*TestAdapter.dll
!**\obj\**

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.PowerToys.Telemetry" version="1.0" />
<package id="Microsoft.PowerToys.Telemetry" version="2.0" />
</packages>

View File

@@ -5,7 +5,7 @@ environment:
version: '2019'
runtime:
provider: 'appcontainer'
image: 'cdpxwinrs5.azurecr.io/global/vse2019:16.4.3'
image: 'cdpxwin1809.azurecr.io/global/vse2019:latest'
source_mode: 'map'
version:
@@ -41,24 +41,85 @@ build:
name: 'Build Power Toys'
command: '.pipelines\build.cmd'
artifacts:
- to: 'Symbols'
include:
- 'x64/**/*.pdb'
exclude:
- 'x64/Release/obj/**/*.pdb'
- from: 'x64/Release'
to: 'Build_Output'
include:
- 'PowerToys.exe'
- 'PowerToysSettings.exe'
- 'action_runner.exe'
- 'modules\FancyZonesEditor.exe'
- 'modules\fancyzones.dll'
- 'modules\shortcut_guide.dll'
- 'modules\PowerRenameExt.dll'
- 'modules\WindowWalker.exe'
- 'modules\WindowWalker.dll'
- 'modules\ImageResizerExt.dll'
- 'modules\ImageResizer.exe'
- 'modules\powerpreview.dll'
- 'modules\PreviewHandlerCommon.dll'
- 'modules\MarkdownPreviewHandler.dll'
- 'modules\SvgPreviewHandler.dll'
- 'modules\ImageResizer\ar\ImageResizer.resources.dll'
- 'modules\ImageResizer\bg\ImageResizer.resources.dll'
- 'modules\ImageResizer\ca\ImageResizer.resources.dll'
- 'modules\ImageResizer\cs\ImageResizer.resources.dll'
- 'modules\ImageResizer\de\ImageResizer.resources.dll'
- 'modules\ImageResizer\es\ImageResizer.resources.dll'
- 'modules\ImageResizer\eu-ES\ImageResizer.resources.dll'
- 'modules\ImageResizer\fr\ImageResizer.resources.dll'
- 'modules\ImageResizer\he\ImageResizer.resources.dll'
- 'modules\ImageResizer\hu\ImageResizer.resources.dll'
- 'modules\ImageResizer\it\ImageResizer.resources.dll'
- 'modules\ImageResizer\nb-NO\ImageResizer.resources.dll'
- 'modules\ImageResizer\nl\ImageResizer.resources.dll'
- 'modules\ImageResizer\pl\ImageResizer.resources.dll'
- 'modules\ImageResizer\pt-BR\ImageResizer.resources.dll'
- 'modules\ImageResizer\ru\ImageResizer.resources.dll'
- 'modules\ImageResizer\sk\ImageResizer.resources.dll'
- 'modules\ImageResizer\tr\ImageResizer.resources.dll'
- 'modules\ImageResizer\zh-Hans\ImageResizer.resources.dll'
- 'modules\FancyZones\fancyzones.dll'
- 'modules\FancyZones\FancyZonesEditor.exe'
- 'modules\FileExplorerPreview\MarkdownPreviewHandler.dll'
- 'modules\FileExplorerPreview\powerpreview.dll'
- 'modules\FileExplorerPreview\PreviewHandlerCommon.dll'
- 'modules\FileExplorerPreview\SvgPreviewHandler.dll'
- 'modules\ImageResizer\ImageResizer.exe'
- 'modules\ImageResizer\ImageResizerExt.dll'
- 'modules\KeyboardManager\KeyboardManager.dll'
- 'modules\launcher\Microsoft.PowerToys.Settings.UI.Lib.dll'
- 'modules\launcher\Plugins\Microsoft.Plugin.Calculator\Microsoft.Plugin.Calculator.dll'
- 'modules\launcher\Plugins\Microsoft.Plugin.Calculator\Wox.Infrastructure.dll'
- 'modules\launcher\Plugins\Microsoft.Plugin.Calculator\Wox.Plugin.dll'
- 'modules\launcher\Plugins\Microsoft.Plugin.Folder\Microsoft.Plugin.Folder.dll'
- 'modules\launcher\Plugins\Microsoft.Plugin.Folder\Wox.Infrastructure.dll'
- 'modules\launcher\Plugins\Microsoft.Plugin.Folder\Wox.Plugin.dll'
- 'modules\launcher\Plugins\Microsoft.Plugin.Indexer\Microsoft.Plugin.Indexer.dll'
- 'modules\launcher\Plugins\Microsoft.Plugin.Indexer\Wox.Infrastructure.dll'
- 'modules\launcher\Plugins\Microsoft.Plugin.Program\Microsoft.Plugin.Program.dll'
- 'modules\launcher\Plugins\Microsoft.Plugin.Program\Wox.Infrastructure.dll'
- 'modules\launcher\Plugins\Microsoft.Plugin.Program\Wox.Plugin.dll'
- 'modules\launcher\Plugins\Microsoft.Plugin.Shell\Microsoft.Plugin.Shell.dll'
- 'modules\launcher\Plugins\Microsoft.Plugin.Shell\Wox.Infrastructure.dll'
- 'modules\launcher\Plugins\Microsoft.Plugin.Shell\Wox.Plugin.dll'
- 'modules\launcher\Plugins\Microsoft.Plugin.WindowWalker\Microsoft.Plugin.WindowWalker.dll'
- 'modules\launcher\Plugins\Microsoft.Plugin.WindowWalker\Wox.Infrastructure.dll'
- 'modules\launcher\Plugins\Microsoft.Plugin.WindowWalker\Wox.Plugin.dll'
- 'modules\launcher\PowerLauncher.dll'
- 'modules\launcher\PowerLauncher.exe'
- 'modules\launcher\PowerLauncher.Telemetry.dll'
- 'modules\launcher\PowerLauncher.UI.exe'
- 'modules\launcher\PowerToysInterop.dll'
- 'modules\launcher\Telemetry.dll'
- 'modules\launcher\Wox.Core.dll'
- 'modules\launcher\Wox.dll'
- 'modules\launcher\Wox.Infrastructure.dll'
- 'modules\launcher\Wox.Plugin.dll'
- 'modules\Microsoft.Launcher.dll'
- 'modules\PowerRename\PowerRenameExt.dll'
- 'modules\ShortcutGuide\ShortcutGuide.dll'
- 'Notifications.dll'
- 'os-detection.dll'
- 'PowerToys.exe'
- 'PowerToysInterop.dll'
- 'PowerToysSettings.exe'
- 'SettingsUIRunner\Microsoft.PowerToys.Settings.UI.exe'
- 'SettingsUIRunner\Microsoft.PowerToys.Settings.UI.Lib.dll'
- 'SettingsUIRunner\Microsoft.PowerToys.Settings.UI.Runner.dll'
- 'SettingsUIRunner\Microsoft.PowerToys.Settings.UI.Runner.exe'
- 'SettingsUIRunner\PowerToysInterop.dll'
- 'SettingsUIRunner\Telemetry.dll'
signing_options:
sign_inline: true # This does signing a soon as this command completes
- !!buildcommand
@@ -71,34 +132,20 @@ build:
- 'PowerToysSetup-*.msi'
signing_options:
sign_inline: true # This does signing a soon as this command completes
# - !!buildcommand
# name: 'Archive symbols to Symbol Server'
# artifacts:
# - to: 'x64 Symbols'
# include:
# - 'x64/Release/action_runner.pdb'
# - 'x64/Release/Notifications.pdb'
# - 'x64/Release/PowerRenameUWPUI.pdb'
# - 'x64/Release/PowerToys.pdb'
# - 'x64/Release/PowerToysSettings.pdb'
# - 'x64/Release/modules/fancyzones.pdb'
# - 'x64/Release/modules/FancyZonesEditor.pdb'
# - 'x64/Release/modules/PowerRenameExt.pdb'
# - 'x64/Release/modules/shortcut_guide.pdb'
package:
commands:
- !!buildcommand
name: 'Build MSIX package'
command: 'installer\msix\build_msix_cdpx.cmd'
artifacts:
- from: 'installer\msix\bin'
to: 'Build_MSIX_Package_Output'
include:
- '*.msix'
- '*.msixbundle'
signing_options:
profile: '400'
#package:
# commands:
# - !!buildcommand
# name: 'Build MSIX package'
# command: 'installer\msix\build_msix_cdpx.cmd'
# artifacts:
# - from: 'installer\msix\bin'
# to: 'Build_MSIX_Package_Output'
# include:
# - '*.msix'
# - '*.msixbundle'
# signing_options:
# profile: '400'
static_analysis_options:
binskim_options:

View File

@@ -2,4 +2,5 @@ cd /D "%~dp0"
call nuget.exe restore -PackagesDirectory . packages.config || exit /b 1
move /Y "Microsoft.PowerToys.Telemetry.1.0.0\build\include\TraceLoggingDefines.h" "..\src\common\Telemetry\TraceLoggingDefines.h" || exit /b 1
move /Y "Microsoft.PowerToys.Telemetry.2.0.0\build\include\TraceLoggingDefines.h" "..\src\common\Telemetry\TraceLoggingDefines.h" || exit /b 1
move /Y "Microsoft.PowerToys.Telemetry.2.0.0\build\include\TelemetryBase.cs" "..\src\common\Telemetry\TelemetryBase.cs" || exit /b 1

View File

@@ -1,4 +1,4 @@
The MIT License (MIT)
The MIT License
Copyright (c) Microsoft Corporation. All rights reserved.

View File

@@ -33,7 +33,8 @@ THE SOFTWARE.
### Wox License
**Source**: https://github.com/Wox-launcher/Wox
**Fork project source**: https://github.com/jjw24/Wox/
**Base project source**: https://github.com/Wox-launcher/Wox
The MIT License (MIT)

View File

@@ -9,7 +9,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "runner", "src\runner\runner
{0E072714-D127-460B-AFAD-B4C40B412798} = {0E072714-D127-460B-AFAD-B4C40B412798}
{48804216-2A0E-4168-A6D8-9CD068D14227} = {48804216-2A0E-4168-A6D8-9CD068D14227}
{51920F1F-C28C-4ADF-8660-4238766796C2} = {51920F1F-C28C-4ADF-8660-4238766796C2}
{51D3BD1F-07A8-48EB-B2A0-0A249CD4E1A6} = {51D3BD1F-07A8-48EB-B2A0-0A249CD4E1A6}
{6A71162E-FC4C-4A2C-B90F-3CF94F59A9BB} = {6A71162E-FC4C-4A2C-B90F-3CF94F59A9BB}
{031AC72E-FA28-4AB7-B690-6F7B9C28AA73} = {031AC72E-FA28-4AB7-B690-6F7B9C28AA73}
{74485049-C722-400F-ABE5-86AC52D929B3} = {74485049-C722-400F-ABE5-86AC52D929B3}
@@ -17,26 +16,25 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "runner", "src\runner\runner
{D29DDD63-E2CF-4657-9FD5-2AEDE4257E5D} = {D29DDD63-E2CF-4657-9FD5-2AEDE4257E5D}
{5CCC8468-DEC8-4D36-99D4-5C891BEBD481} = {5CCC8468-DEC8-4D36-99D4-5C891BEBD481}
{0B593A6C-4143-4337-860E-DB5710FB87DB} = {0B593A6C-4143-4337-860E-DB5710FB87DB}
{E364F67B-BB12-4E91-B639-355866EBCD8B} = {E364F67B-BB12-4E91-B639-355866EBCD8B}
{DA425894-6E13-404F-8DCB-78584EC0557A} = {DA425894-6E13-404F-8DCB-78584EC0557A}
{2BE46397-4DFA-414C-9BD4-41E4BBF8CB34} = {2BE46397-4DFA-414C-9BD4-41E4BBF8CB34}
{A7D5099E-F0FD-4BF3-8522-5A682759F915} = {A7D5099E-F0FD-4BF3-8522-5A682759F915}
{0B43679E-EDFA-4DA0-AD30-F4628B308B1B} = {0B43679E-EDFA-4DA0-AD30-F4628B308B1B}
{B25AC7A5-FB9F-4789-B392-D5C85E948670} = {B25AC7A5-FB9F-4789-B392-D5C85E948670}
{E4E0D2AE-B17D-4BD4-8BEE-AFC8CC464C5F} = {E4E0D2AE-B17D-4BD4-8BEE-AFC8CC464C5F}
{AF2349B8-E5B6-4004-9502-687C1C7730B1} = {AF2349B8-E5B6-4004-9502-687C1C7730B1}
{B9BDF8BE-FED7-49B5-A7AE-DD4D1CA2D9EB} = {B9BDF8BE-FED7-49B5-A7AE-DD4D1CA2D9EB}
{A46629C4-1A6C-40FA-A8B6-10E5102BB0BA} = {A46629C4-1A6C-40FA-A8B6-10E5102BB0BA}
{17DA04DF-E393-4397-9CF0-84DABE11032E} = {17DA04DF-E393-4397-9CF0-84DABE11032E}
{F9C68EDF-AC74-4B77-9AF1-005D9C9F6A99} = {F9C68EDF-AC74-4B77-9AF1-005D9C9F6A99}
{07C389E3-6BC8-41CF-923E-307B1265FA2D} = {07C389E3-6BC8-41CF-923E-307B1265FA2D}
{89F34AF7-1C34-4A72-AA6E-534BCF972BD9} = {89F34AF7-1C34-4A72-AA6E-534BCF972BD9}
{E6410BFC-B341-498C-8C67-312C20CDD8D5} = {E6410BFC-B341-498C-8C67-312C20CDD8D5}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "common", "src\common\common.vcxproj", "{74485049-C722-400F-ABE5-86AC52D929B3}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "shortcut_guide", "src\modules\shortcut_guide\shortcut_guide.vcxproj", "{A46629C4-1A6C-40FA-A8B6-10E5102BB0BA}"
ProjectSection(ProjectDependencies) = postProject
{74485049-C722-400F-ABE5-86AC52D929B3} = {74485049-C722-400F-ABE5-86AC52D929B3}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "example_powertoy", "src\modules\example_powertoy\example_powertoy.vcxproj", "{44CC9375-3E6E-4D99-8913-7FB748807EBD}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ShortcutGuide", "src\modules\shortcut_guide\shortcut_guide.vcxproj", "{A46629C4-1A6C-40FA-A8B6-10E5102BB0BA}"
ProjectSection(ProjectDependencies) = postProject
{74485049-C722-400F-ABE5-86AC52D929B3} = {74485049-C722-400F-ABE5-86AC52D929B3}
EndProjectSection
@@ -56,6 +54,9 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "fancyzones", "fancyzones", "{D1D6BC88-09AE-4FB4-AD24-5DED46A791DD}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FancyZonesLib", "src\modules\fancyzones\lib\FancyZonesLib.vcxproj", "{F9C68EDF-AC74-4B77-9AF1-005D9C9F6A99}"
ProjectSection(ProjectDependencies) = postProject
{74485049-C722-400F-ABE5-86AC52D929B3} = {74485049-C722-400F-ABE5-86AC52D929B3}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "fancyzones", "src\modules\fancyzones\dll\FancyZonesModule.vcxproj", "{48804216-2A0E-4168-A6D8-9CD068D14227}"
ProjectSection(ProjectDependencies) = postProject
@@ -123,21 +124,18 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PowerRenameUWPUI", "src\mod
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "notifications", "src\common\notifications_winrt\notifications.vcxproj", "{0B593A6C-4143-4337-860E-DB5710FB87DB}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "notifications_dll", "src\common\notifications\notifications_dll.vcxproj", "{031AC72E-FA28-4AB7-B690-6F7B9C28AA73}"
ProjectSection(ProjectDependencies) = postProject
{0B593A6C-4143-4337-860E-DB5710FB87DB} = {0B593A6C-4143-4337-860E-DB5710FB87DB}
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "windowwalker", "windowwalker", "{8DC78AF7-DC3E-4C57-A8FB-7E347DE74A03}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Window Walker", "src\modules\windowwalker\app\Window Walker\Window Walker.csproj", "{B9BDF8BE-FED7-49B5-A7AE-DD4D1CA2D9EB}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WindowWalker", "src\modules\windowwalker\dll\WindowWalker.vcxproj", "{51D3BD1F-07A8-48EB-B2A0-0A249CD4E1A6}"
ProjectSection(ProjectDependencies) = postProject
{74485049-C722-400F-ABE5-86AC52D929B3} = {74485049-C722-400F-ABE5-86AC52D929B3}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "notifications_dll", "src\common\notifications\notifications_dll.vcxproj", "{031AC72E-FA28-4AB7-B690-6F7B9C28AA73}"
ProjectSection(ProjectDependencies) = postProject
{74485049-C722-400F-ABE5-86AC52D929B3} = {74485049-C722-400F-ABE5-86AC52D929B3}
{0B593A6C-4143-4337-860E-DB5710FB87DB} = {0B593A6C-4143-4337-860E-DB5710FB87DB}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "KeyboardManager", "src\modules\keyboardmanager\dll\KeyboardManager.vcxproj", "{89F34AF7-1C34-4A72-AA6E-534BCF972BD9}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "imageresizer", "imageresizer", "{6C7F47CC-2151-44A3-A546-41C70025132C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImageResizerUI", "src\modules\imageresizer\ui\ImageResizerUI.csproj", "{2BE46397-4DFA-414C-9BD4-41E4BBF8CB34}"
@@ -146,6 +144,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ImageResizerExt", "src\modu
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImageResizerUITest", "src\modules\imageresizer\tests\ImageResizerUITest.csproj", "{E0CC7526-D85E-43AC-844F-D5DF0D2F5AB8}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "KeyboardManagerUI", "src\modules\keyboardmanager\ui\KeyboardManagerUI.vcxproj", "{EAF23649-EF6E-478B-980E-81FAD96CCA2A}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "action_runner", "src\action_runner\action_runner.vcxproj", "{D29DDD63-E2CF-4657-9FD5-2AEDE4257E5D}"
ProjectSection(ProjectDependencies) = postProject
{17DA04DF-E393-4397-9CF0-84DABE11032E} = {17DA04DF-E393-4397-9CF0-84DABE11032E}
@@ -153,6 +153,52 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "action_runner", "src\action
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "updating", "src\common\updating\updating.vcxproj", "{17DA04DF-E393-4397-9CF0-84DABE11032E}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "keyboardmanager", "keyboardmanager", "{38BDB927-829B-4C65-9CD9-93FB05D66D65}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "KeyboardManagerCommon", "src\modules\keyboardmanager\common\KeyboardManagerCommon.vcxproj", "{8AFFA899-0B73-49EC-8C50-0FADDA57B2FC}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "launcher", "launcher", "{C140A3EF-6DBF-4084-9D4C-4EB5A99FEE68}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Wox", "src\modules\launcher\Wox\Wox.csproj", "{DB90F671-D861-46BB-93A3-F1304F5BA1C5}"
ProjectSection(ProjectDependencies) = postProject
{FDB3555B-58EF-4AE6-B5F1-904719637AB4} = {FDB3555B-58EF-4AE6-B5F1-904719637AB4}
{59BD9891-3837-438A-958D-ADC7F91F6F7E} = {59BD9891-3837-438A-958D-ADC7F91F6F7E}
{C21BFF9C-2C99-4B5F-B7C9-A5E6DDDB37B0} = {C21BFF9C-2C99-4B5F-B7C9-A5E6DDDB37B0}
{787B8AA6-CA93-4C84-96FE-DF31110AD1C4} = {787B8AA6-CA93-4C84-96FE-DF31110AD1C4}
{F8B870EB-D5F5-45BA-9CF7-A5C459818820} = {F8B870EB-D5F5-45BA-9CF7-A5C459818820}
{74F1B9ED-F59C-4FE7-B473-7B453E30837E} = {74F1B9ED-F59C-4FE7-B473-7B453E30837E}
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Wox.Core", "src\modules\launcher\Wox.Core\Wox.Core.csproj", "{B749F0DB-8E75-47DB-9E5E-265D16D0C0D2}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Wox.Infrastructure", "src\modules\launcher\Wox.Infrastructure\Wox.Infrastructure.csproj", "{4FD29318-A8AB-4D8F-AA47-60BC241B8DA3}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Wox.Plugin", "src\modules\launcher\Wox.Plugin\Wox.Plugin.csproj", "{8451ECDD-2EA4-4966-BB0A-7BBC40138E80}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Wox.Test", "src\modules\launcher\Wox.Test\Wox.Test.csproj", "{FF742965-9A80-41A5-B042-D6C7D3A21708}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Plugins", "Plugins", "{4AFC9975-2456-4C70-94A4-84073C1CED93}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Plugin.Calculator", "src\modules\launcher\Plugins\Microsoft.Plugin.Calculator\Microsoft.Plugin.Calculator.csproj", "{59BD9891-3837-438A-958D-ADC7F91F6F7E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Plugin.WindowWalker", "src\modules\launcher\Plugins\Microsoft.Plugin.WindowWalker\Microsoft.Plugin.WindowWalker.csproj", "{74F1B9ED-F59C-4FE7-B473-7B453E30837E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Plugin.Program", "src\modules\launcher\Plugins\Microsoft.Plugin.Program\Microsoft.Plugin.Program.csproj", "{FDB3555B-58EF-4AE6-B5F1-904719637AB4}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Plugin.Shell", "src\modules\launcher\Plugins\Microsoft.Plugin.Shell\Microsoft.Plugin.Shell.csproj", "{C21BFF9C-2C99-4B5F-B7C9-A5E6DDDB37B0}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Plugin.Indexer", "src\modules\launcher\Plugins\Microsoft.Plugin.Indexer\Microsoft.Plugin.Indexer.csproj", "{F8B870EB-D5F5-45BA-9CF7-A5C459818820}"
ProjectSection(ProjectDependencies) = postProject
{8451ECDD-2EA4-4966-BB0A-7BBC40138E80} = {8451ECDD-2EA4-4966-BB0A-7BBC40138E80}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.Launcher", "src\modules\launcher\Microsoft.Launcher\Microsoft.Launcher.vcxproj", "{E364F67B-BB12-4E91-B639-355866EBCD8B}"
ProjectSection(ProjectDependencies) = postProject
{F97E5003-F263-4D4A-A964-0F1F3C82DEF2} = {F97E5003-F263-4D4A-A964-0F1F3C82DEF2}
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PowerLauncher", "src\modules\launcher\PowerLauncher\PowerLauncher.csproj", "{F97E5003-F263-4D4A-A964-0F1F3C82DEF2}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{E775CC2C-24CB-48D6-9C3A-BE4CCE0DB17A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "win-app-driver", "src\tests\win-app-driver\win-app-driver.csproj", "{880ED251-9E16-4713-9A70-D35FE0C01669}"
@@ -175,6 +221,40 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "powerpreview", "src\modules
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "powerpreviewTest", "src\modules\previewpane\powerpreviewTest\powerpreviewTest.vcxproj", "{47310AB4-9034-4BD1-8D8B-E88AD21A171B}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "core", "core", "{C3081D9A-1586-441A-B5F4-ED815B3719C1}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.PowerToys.Settings.UI.Runner", "src\core\Microsoft.PowerToys.Settings.UI.Runner\Microsoft.PowerToys.Settings.UI.Runner.csproj", "{E4E0D2AE-B17D-4BD4-8BEE-AFC8CC464C5F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.PowerToys.Settings.UI", "src\core\Microsoft.PowerToys.Settings.UI\Microsoft.PowerToys.Settings.UI.csproj", "{A7D5099E-F0FD-4BF3-8522-5A682759F915}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{4981CCD1-4CD9-4A49-B240-00AA46493FF8}"
ProjectSection(SolutionItems) = preProject
src\.editorconfig = src\.editorconfig
src\tests\win-app-driver\packages.config = src\tests\win-app-driver\packages.config
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.PowerToys.Settings.UI.Lib", "src\core\Microsoft.PowerToys.Settings.UI.Lib\Microsoft.PowerToys.Settings.UI.Lib.csproj", "{B1BCC8C6-46B5-4BFA-8F22-20F32D99EC6A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.PowerToys.Settings.UnitTest", "src\core\Microsoft.PowerToys.Settings.UnitTest\Microsoft.PowerToys.Settings.UnitTest.csproj", "{A80355C2-780D-4245-BD80-25B8DE698EE3}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "interop", "src\common\interop\interop.vcxproj", "{F055103B-F80B-4D0C-BF48-057C55620033}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "common-md-flag", "src\common\common-md-flag\common-md-flag.vcxproj", "{985B3F2F-CEED-4C0A-A249-69257E719145}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "interop-tests", "src\common\interop-tests\interop-tests.csproj", "{437AD818-3F1F-4CA5-A79B-25233A157026}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Plugin.Folder", "src\modules\launcher\Plugins\Microsoft.Plugin.Folder\Microsoft.Plugin.Folder.csproj", "{787B8AA6-CA93-4C84-96FE-DF31110AD1C4}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PowerLauncher.Telemetry", "src\modules\launcher\PowerLauncher.Telemetry\PowerLauncher.Telemetry.csproj", "{08C8C05F-0362-41BC-818C-724572DF8B06}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Telemetry", "src\common\ManagedTelemetry\Telemetry\Telemetry.csproj", "{5D00D290-4016-4CFE-9E41-1E7C724509BA}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "os-detection", "src\common\os-detection\os-detection.vcxproj", "{E6410BFC-B341-498C-8C67-312C20CDD8D5}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "KeyboardManagerTest", "src\modules\keyboardmanager\test\KeyboardManagerTest.vcxproj", "{62173D9A-6724-4C00-A1C8-FB646480A9EC}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ManagedCommon", "src\common\ManagedCommon\ManagedCommon.csproj", "{4AED67B6-55FD-486F-B917-E543DEE2CB3C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
@@ -193,10 +273,6 @@ Global
{A46629C4-1A6C-40FA-A8B6-10E5102BB0BA}.Debug|x64.Build.0 = Debug|x64
{A46629C4-1A6C-40FA-A8B6-10E5102BB0BA}.Release|x64.ActiveCfg = Release|x64
{A46629C4-1A6C-40FA-A8B6-10E5102BB0BA}.Release|x64.Build.0 = Release|x64
{44CC9375-3E6E-4D99-8913-7FB748807EBD}.Debug|x64.ActiveCfg = Debug|x64
{44CC9375-3E6E-4D99-8913-7FB748807EBD}.Debug|x64.Build.0 = Debug|x64
{44CC9375-3E6E-4D99-8913-7FB748807EBD}.Release|x64.ActiveCfg = Release|x64
{44CC9375-3E6E-4D99-8913-7FB748807EBD}.Release|x64.Build.0 = Release|x64
{07C389E3-6BC8-41CF-923E-307B1265FA2D}.Debug|x64.ActiveCfg = Debug|x64
{07C389E3-6BC8-41CF-923E-307B1265FA2D}.Debug|x64.Build.0 = Debug|x64
{07C389E3-6BC8-41CF-923E-307B1265FA2D}.Release|x64.ActiveCfg = Release|x64
@@ -257,14 +333,10 @@ Global
{031AC72E-FA28-4AB7-B690-6F7B9C28AA73}.Debug|x64.Build.0 = Debug|x64
{031AC72E-FA28-4AB7-B690-6F7B9C28AA73}.Release|x64.ActiveCfg = Release|x64
{031AC72E-FA28-4AB7-B690-6F7B9C28AA73}.Release|x64.Build.0 = Release|x64
{B9BDF8BE-FED7-49B5-A7AE-DD4D1CA2D9EB}.Debug|x64.ActiveCfg = Debug|x64
{B9BDF8BE-FED7-49B5-A7AE-DD4D1CA2D9EB}.Debug|x64.Build.0 = Debug|x64
{B9BDF8BE-FED7-49B5-A7AE-DD4D1CA2D9EB}.Release|x64.ActiveCfg = Release|x64
{B9BDF8BE-FED7-49B5-A7AE-DD4D1CA2D9EB}.Release|x64.Build.0 = Release|x64
{51D3BD1F-07A8-48EB-B2A0-0A249CD4E1A6}.Debug|x64.ActiveCfg = Debug|x64
{51D3BD1F-07A8-48EB-B2A0-0A249CD4E1A6}.Debug|x64.Build.0 = Debug|x64
{51D3BD1F-07A8-48EB-B2A0-0A249CD4E1A6}.Release|x64.ActiveCfg = Release|x64
{51D3BD1F-07A8-48EB-B2A0-0A249CD4E1A6}.Release|x64.Build.0 = Release|x64
{89F34AF7-1C34-4A72-AA6E-534BCF972BD9}.Debug|x64.ActiveCfg = Debug|x64
{89F34AF7-1C34-4A72-AA6E-534BCF972BD9}.Debug|x64.Build.0 = Debug|x64
{89F34AF7-1C34-4A72-AA6E-534BCF972BD9}.Release|x64.ActiveCfg = Release|x64
{89F34AF7-1C34-4A72-AA6E-534BCF972BD9}.Release|x64.Build.0 = Release|x64
{2BE46397-4DFA-414C-9BD4-41E4BBF8CB34}.Debug|x64.ActiveCfg = Debug|x64
{2BE46397-4DFA-414C-9BD4-41E4BBF8CB34}.Debug|x64.Build.0 = Debug|x64
{2BE46397-4DFA-414C-9BD4-41E4BBF8CB34}.Release|x64.ActiveCfg = Release|x64
@@ -277,6 +349,10 @@ Global
{E0CC7526-D85E-43AC-844F-D5DF0D2F5AB8}.Debug|x64.Build.0 = Debug|x64
{E0CC7526-D85E-43AC-844F-D5DF0D2F5AB8}.Release|x64.ActiveCfg = Release|x64
{E0CC7526-D85E-43AC-844F-D5DF0D2F5AB8}.Release|x64.Build.0 = Release|x64
{EAF23649-EF6E-478B-980E-81FAD96CCA2A}.Debug|x64.ActiveCfg = Debug|x64
{EAF23649-EF6E-478B-980E-81FAD96CCA2A}.Debug|x64.Build.0 = Debug|x64
{EAF23649-EF6E-478B-980E-81FAD96CCA2A}.Release|x64.ActiveCfg = Release|x64
{EAF23649-EF6E-478B-980E-81FAD96CCA2A}.Release|x64.Build.0 = Release|x64
{D29DDD63-E2CF-4657-9FD5-2AEDE4257E5D}.Debug|x64.ActiveCfg = Debug|x64
{D29DDD63-E2CF-4657-9FD5-2AEDE4257E5D}.Debug|x64.Build.0 = Debug|x64
{D29DDD63-E2CF-4657-9FD5-2AEDE4257E5D}.Release|x64.ActiveCfg = Release|x64
@@ -285,6 +361,58 @@ Global
{17DA04DF-E393-4397-9CF0-84DABE11032E}.Debug|x64.Build.0 = Debug|x64
{17DA04DF-E393-4397-9CF0-84DABE11032E}.Release|x64.ActiveCfg = Release|x64
{17DA04DF-E393-4397-9CF0-84DABE11032E}.Release|x64.Build.0 = Release|x64
{8AFFA899-0B73-49EC-8C50-0FADDA57B2FC}.Debug|x64.ActiveCfg = Debug|x64
{8AFFA899-0B73-49EC-8C50-0FADDA57B2FC}.Debug|x64.Build.0 = Debug|x64
{8AFFA899-0B73-49EC-8C50-0FADDA57B2FC}.Release|x64.ActiveCfg = Release|x64
{8AFFA899-0B73-49EC-8C50-0FADDA57B2FC}.Release|x64.Build.0 = Release|x64
{DB90F671-D861-46BB-93A3-F1304F5BA1C5}.Debug|x64.ActiveCfg = Debug|x64
{DB90F671-D861-46BB-93A3-F1304F5BA1C5}.Debug|x64.Build.0 = Debug|x64
{DB90F671-D861-46BB-93A3-F1304F5BA1C5}.Release|x64.ActiveCfg = Release|x64
{DB90F671-D861-46BB-93A3-F1304F5BA1C5}.Release|x64.Build.0 = Release|x64
{B749F0DB-8E75-47DB-9E5E-265D16D0C0D2}.Debug|x64.ActiveCfg = Debug|x64
{B749F0DB-8E75-47DB-9E5E-265D16D0C0D2}.Debug|x64.Build.0 = Debug|x64
{B749F0DB-8E75-47DB-9E5E-265D16D0C0D2}.Release|x64.ActiveCfg = Release|x64
{B749F0DB-8E75-47DB-9E5E-265D16D0C0D2}.Release|x64.Build.0 = Release|x64
{4FD29318-A8AB-4D8F-AA47-60BC241B8DA3}.Debug|x64.ActiveCfg = Debug|x64
{4FD29318-A8AB-4D8F-AA47-60BC241B8DA3}.Debug|x64.Build.0 = Debug|x64
{4FD29318-A8AB-4D8F-AA47-60BC241B8DA3}.Release|x64.ActiveCfg = Release|x64
{4FD29318-A8AB-4D8F-AA47-60BC241B8DA3}.Release|x64.Build.0 = Release|x64
{8451ECDD-2EA4-4966-BB0A-7BBC40138E80}.Debug|x64.ActiveCfg = Debug|x64
{8451ECDD-2EA4-4966-BB0A-7BBC40138E80}.Debug|x64.Build.0 = Debug|x64
{8451ECDD-2EA4-4966-BB0A-7BBC40138E80}.Release|x64.ActiveCfg = Release|x64
{8451ECDD-2EA4-4966-BB0A-7BBC40138E80}.Release|x64.Build.0 = Release|x64
{FF742965-9A80-41A5-B042-D6C7D3A21708}.Debug|x64.ActiveCfg = Debug|x64
{FF742965-9A80-41A5-B042-D6C7D3A21708}.Debug|x64.Build.0 = Debug|x64
{FF742965-9A80-41A5-B042-D6C7D3A21708}.Release|x64.ActiveCfg = Release|x64
{FF742965-9A80-41A5-B042-D6C7D3A21708}.Release|x64.Build.0 = Release|x64
{59BD9891-3837-438A-958D-ADC7F91F6F7E}.Debug|x64.ActiveCfg = Debug|x64
{59BD9891-3837-438A-958D-ADC7F91F6F7E}.Debug|x64.Build.0 = Debug|x64
{59BD9891-3837-438A-958D-ADC7F91F6F7E}.Release|x64.ActiveCfg = Release|x64
{59BD9891-3837-438A-958D-ADC7F91F6F7E}.Release|x64.Build.0 = Release|x64
{74F1B9ED-F59C-4FE7-B473-7B453E30837E}.Debug|x64.ActiveCfg = Debug|x64
{74F1B9ED-F59C-4FE7-B473-7B453E30837E}.Debug|x64.Build.0 = Debug|x64
{74F1B9ED-F59C-4FE7-B473-7B453E30837E}.Release|x64.ActiveCfg = Release|x64
{74F1B9ED-F59C-4FE7-B473-7B453E30837E}.Release|x64.Build.0 = Release|x64
{FDB3555B-58EF-4AE6-B5F1-904719637AB4}.Debug|x64.ActiveCfg = Debug|x64
{FDB3555B-58EF-4AE6-B5F1-904719637AB4}.Debug|x64.Build.0 = Debug|x64
{FDB3555B-58EF-4AE6-B5F1-904719637AB4}.Release|x64.ActiveCfg = Release|x64
{FDB3555B-58EF-4AE6-B5F1-904719637AB4}.Release|x64.Build.0 = Release|x64
{C21BFF9C-2C99-4B5F-B7C9-A5E6DDDB37B0}.Debug|x64.ActiveCfg = Debug|x64
{C21BFF9C-2C99-4B5F-B7C9-A5E6DDDB37B0}.Debug|x64.Build.0 = Debug|x64
{C21BFF9C-2C99-4B5F-B7C9-A5E6DDDB37B0}.Release|x64.ActiveCfg = Release|x64
{C21BFF9C-2C99-4B5F-B7C9-A5E6DDDB37B0}.Release|x64.Build.0 = Release|x64
{F8B870EB-D5F5-45BA-9CF7-A5C459818820}.Debug|x64.ActiveCfg = Debug|x64
{F8B870EB-D5F5-45BA-9CF7-A5C459818820}.Debug|x64.Build.0 = Debug|x64
{F8B870EB-D5F5-45BA-9CF7-A5C459818820}.Release|x64.ActiveCfg = Release|x64
{F8B870EB-D5F5-45BA-9CF7-A5C459818820}.Release|x64.Build.0 = Release|x64
{E364F67B-BB12-4E91-B639-355866EBCD8B}.Debug|x64.ActiveCfg = Debug|x64
{E364F67B-BB12-4E91-B639-355866EBCD8B}.Debug|x64.Build.0 = Debug|x64
{E364F67B-BB12-4E91-B639-355866EBCD8B}.Release|x64.ActiveCfg = Release|x64
{E364F67B-BB12-4E91-B639-355866EBCD8B}.Release|x64.Build.0 = Release|x64
{F97E5003-F263-4D4A-A964-0F1F3C82DEF2}.Debug|x64.ActiveCfg = Debug|x64
{F97E5003-F263-4D4A-A964-0F1F3C82DEF2}.Debug|x64.Build.0 = Debug|x64
{F97E5003-F263-4D4A-A964-0F1F3C82DEF2}.Release|x64.ActiveCfg = Release|x64
{F97E5003-F263-4D4A-A964-0F1F3C82DEF2}.Release|x64.Build.0 = Release|x64
{880ED251-9E16-4713-9A70-D35FE0C01669}.Debug|x64.ActiveCfg = Debug|x64
{880ED251-9E16-4713-9A70-D35FE0C01669}.Debug|x64.Build.0 = Debug|x64
{880ED251-9E16-4713-9A70-D35FE0C01669}.Release|x64.ActiveCfg = Release|x64
@@ -321,6 +449,58 @@ Global
{47310AB4-9034-4BD1-8D8B-E88AD21A171B}.Debug|x64.Build.0 = Debug|x64
{47310AB4-9034-4BD1-8D8B-E88AD21A171B}.Release|x64.ActiveCfg = Release|x64
{47310AB4-9034-4BD1-8D8B-E88AD21A171B}.Release|x64.Build.0 = Release|x64
{E4E0D2AE-B17D-4BD4-8BEE-AFC8CC464C5F}.Debug|x64.ActiveCfg = Debug|x64
{E4E0D2AE-B17D-4BD4-8BEE-AFC8CC464C5F}.Debug|x64.Build.0 = Debug|x64
{E4E0D2AE-B17D-4BD4-8BEE-AFC8CC464C5F}.Release|x64.ActiveCfg = Release|x64
{E4E0D2AE-B17D-4BD4-8BEE-AFC8CC464C5F}.Release|x64.Build.0 = Release|x64
{A7D5099E-F0FD-4BF3-8522-5A682759F915}.Debug|x64.ActiveCfg = Debug|x64
{A7D5099E-F0FD-4BF3-8522-5A682759F915}.Debug|x64.Build.0 = Debug|x64
{A7D5099E-F0FD-4BF3-8522-5A682759F915}.Release|x64.ActiveCfg = Release|x64
{A7D5099E-F0FD-4BF3-8522-5A682759F915}.Release|x64.Build.0 = Release|x64
{B1BCC8C6-46B5-4BFA-8F22-20F32D99EC6A}.Debug|x64.ActiveCfg = Debug|x64
{B1BCC8C6-46B5-4BFA-8F22-20F32D99EC6A}.Debug|x64.Build.0 = Debug|x64
{B1BCC8C6-46B5-4BFA-8F22-20F32D99EC6A}.Release|x64.ActiveCfg = Release|x64
{B1BCC8C6-46B5-4BFA-8F22-20F32D99EC6A}.Release|x64.Build.0 = Release|x64
{A80355C2-780D-4245-BD80-25B8DE698EE3}.Debug|x64.ActiveCfg = Debug|x64
{A80355C2-780D-4245-BD80-25B8DE698EE3}.Debug|x64.Build.0 = Debug|x64
{A80355C2-780D-4245-BD80-25B8DE698EE3}.Release|x64.ActiveCfg = Release|x64
{A80355C2-780D-4245-BD80-25B8DE698EE3}.Release|x64.Build.0 = Release|x64
{F055103B-F80B-4D0C-BF48-057C55620033}.Debug|x64.ActiveCfg = Debug|x64
{F055103B-F80B-4D0C-BF48-057C55620033}.Debug|x64.Build.0 = Debug|x64
{F055103B-F80B-4D0C-BF48-057C55620033}.Release|x64.ActiveCfg = Release|x64
{F055103B-F80B-4D0C-BF48-057C55620033}.Release|x64.Build.0 = Release|x64
{985B3F2F-CEED-4C0A-A249-69257E719145}.Debug|x64.ActiveCfg = Debug|x64
{985B3F2F-CEED-4C0A-A249-69257E719145}.Debug|x64.Build.0 = Debug|x64
{985B3F2F-CEED-4C0A-A249-69257E719145}.Release|x64.ActiveCfg = Release|x64
{985B3F2F-CEED-4C0A-A249-69257E719145}.Release|x64.Build.0 = Release|x64
{437AD818-3F1F-4CA5-A79B-25233A157026}.Debug|x64.ActiveCfg = Debug|x64
{437AD818-3F1F-4CA5-A79B-25233A157026}.Debug|x64.Build.0 = Debug|x64
{437AD818-3F1F-4CA5-A79B-25233A157026}.Release|x64.ActiveCfg = Release|x64
{437AD818-3F1F-4CA5-A79B-25233A157026}.Release|x64.Build.0 = Release|x64
{787B8AA6-CA93-4C84-96FE-DF31110AD1C4}.Debug|x64.ActiveCfg = Debug|x64
{787B8AA6-CA93-4C84-96FE-DF31110AD1C4}.Debug|x64.Build.0 = Debug|x64
{787B8AA6-CA93-4C84-96FE-DF31110AD1C4}.Release|x64.ActiveCfg = Release|x64
{787B8AA6-CA93-4C84-96FE-DF31110AD1C4}.Release|x64.Build.0 = Release|x64
{08C8C05F-0362-41BC-818C-724572DF8B06}.Debug|x64.ActiveCfg = Debug|x64
{08C8C05F-0362-41BC-818C-724572DF8B06}.Debug|x64.Build.0 = Debug|x64
{08C8C05F-0362-41BC-818C-724572DF8B06}.Release|x64.ActiveCfg = Release|x64
{08C8C05F-0362-41BC-818C-724572DF8B06}.Release|x64.Build.0 = Release|x64
{5D00D290-4016-4CFE-9E41-1E7C724509BA}.Debug|x64.ActiveCfg = Debug|x64
{5D00D290-4016-4CFE-9E41-1E7C724509BA}.Debug|x64.Build.0 = Debug|x64
{5D00D290-4016-4CFE-9E41-1E7C724509BA}.Release|x64.ActiveCfg = Release|x64
{5D00D290-4016-4CFE-9E41-1E7C724509BA}.Release|x64.Build.0 = Release|x64
{E6410BFC-B341-498C-8C67-312C20CDD8D5}.Debug|x64.ActiveCfg = Debug|x64
{E6410BFC-B341-498C-8C67-312C20CDD8D5}.Debug|x64.Build.0 = Debug|x64
{E6410BFC-B341-498C-8C67-312C20CDD8D5}.Release|x64.ActiveCfg = Release|x64
{E6410BFC-B341-498C-8C67-312C20CDD8D5}.Release|x64.Build.0 = Release|x64
{62173D9A-6724-4C00-A1C8-FB646480A9EC}.Debug|x64.ActiveCfg = Debug|x64
{62173D9A-6724-4C00-A1C8-FB646480A9EC}.Debug|x64.Build.0 = Debug|x64
{62173D9A-6724-4C00-A1C8-FB646480A9EC}.Release|x64.ActiveCfg = Release|x64
{62173D9A-6724-4C00-A1C8-FB646480A9EC}.Release|x64.Build.0 = Release|x64
{4AED67B6-55FD-486F-B917-E543DEE2CB3C}.Debug|x64.ActiveCfg = Debug|x64
{4AED67B6-55FD-486F-B917-E543DEE2CB3C}.Debug|x64.Build.0 = Debug|x64
{4AED67B6-55FD-486F-B917-E543DEE2CB3C}.Release|x64.ActiveCfg = Release|x64
{4AED67B6-55FD-486F-B917-E543DEE2CB3C}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -328,7 +508,6 @@ Global
GlobalSection(NestedProjects) = preSolution
{74485049-C722-400F-ABE5-86AC52D929B3} = {1AFB6476-670D-4E80-A464-657E01DFF482}
{A46629C4-1A6C-40FA-A8B6-10E5102BB0BA} = {4574FDD0-F61D-4376-98BF-E5A1262C11EC}
{44CC9375-3E6E-4D99-8913-7FB748807EBD} = {BEEAB7F2-FFF6-45AB-9CDB-B04CC0734B88}
{3BB8493E-D18E-4485-A320-CB40F90F55AE} = {4574FDD0-F61D-4376-98BF-E5A1262C11EC}
{D1D6BC88-09AE-4FB4-AD24-5DED46A791DD} = {4574FDD0-F61D-4376-98BF-E5A1262C11EC}
{F9C68EDF-AC74-4B77-9AF1-005D9C9F6A99} = {D1D6BC88-09AE-4FB4-AD24-5DED46A791DD}
@@ -346,14 +525,29 @@ Global
{0485F45C-EA7A-4BB5-804B-3E8D14699387} = {89E20BCE-EB9C-46C8-8B50-E01A82E6FDC3}
{0B593A6C-4143-4337-860E-DB5710FB87DB} = {1AFB6476-670D-4E80-A464-657E01DFF482}
{031AC72E-FA28-4AB7-B690-6F7B9C28AA73} = {1AFB6476-670D-4E80-A464-657E01DFF482}
{8DC78AF7-DC3E-4C57-A8FB-7E347DE74A03} = {4574FDD0-F61D-4376-98BF-E5A1262C11EC}
{B9BDF8BE-FED7-49B5-A7AE-DD4D1CA2D9EB} = {8DC78AF7-DC3E-4C57-A8FB-7E347DE74A03}
{51D3BD1F-07A8-48EB-B2A0-0A249CD4E1A6} = {8DC78AF7-DC3E-4C57-A8FB-7E347DE74A03}
{89F34AF7-1C34-4A72-AA6E-534BCF972BD9} = {38BDB927-829B-4C65-9CD9-93FB05D66D65}
{6C7F47CC-2151-44A3-A546-41C70025132C} = {4574FDD0-F61D-4376-98BF-E5A1262C11EC}
{2BE46397-4DFA-414C-9BD4-41E4BBF8CB34} = {6C7F47CC-2151-44A3-A546-41C70025132C}
{0B43679E-EDFA-4DA0-AD30-F4628B308B1B} = {6C7F47CC-2151-44A3-A546-41C70025132C}
{E0CC7526-D85E-43AC-844F-D5DF0D2F5AB8} = {6C7F47CC-2151-44A3-A546-41C70025132C}
{EAF23649-EF6E-478B-980E-81FAD96CCA2A} = {38BDB927-829B-4C65-9CD9-93FB05D66D65}
{17DA04DF-E393-4397-9CF0-84DABE11032E} = {1AFB6476-670D-4E80-A464-657E01DFF482}
{38BDB927-829B-4C65-9CD9-93FB05D66D65} = {4574FDD0-F61D-4376-98BF-E5A1262C11EC}
{8AFFA899-0B73-49EC-8C50-0FADDA57B2FC} = {38BDB927-829B-4C65-9CD9-93FB05D66D65}
{C140A3EF-6DBF-4084-9D4C-4EB5A99FEE68} = {4574FDD0-F61D-4376-98BF-E5A1262C11EC}
{DB90F671-D861-46BB-93A3-F1304F5BA1C5} = {C140A3EF-6DBF-4084-9D4C-4EB5A99FEE68}
{B749F0DB-8E75-47DB-9E5E-265D16D0C0D2} = {C140A3EF-6DBF-4084-9D4C-4EB5A99FEE68}
{4FD29318-A8AB-4D8F-AA47-60BC241B8DA3} = {C140A3EF-6DBF-4084-9D4C-4EB5A99FEE68}
{8451ECDD-2EA4-4966-BB0A-7BBC40138E80} = {C140A3EF-6DBF-4084-9D4C-4EB5A99FEE68}
{FF742965-9A80-41A5-B042-D6C7D3A21708} = {C140A3EF-6DBF-4084-9D4C-4EB5A99FEE68}
{4AFC9975-2456-4C70-94A4-84073C1CED93} = {C140A3EF-6DBF-4084-9D4C-4EB5A99FEE68}
{59BD9891-3837-438A-958D-ADC7F91F6F7E} = {4AFC9975-2456-4C70-94A4-84073C1CED93}
{74F1B9ED-F59C-4FE7-B473-7B453E30837E} = {4AFC9975-2456-4C70-94A4-84073C1CED93}
{FDB3555B-58EF-4AE6-B5F1-904719637AB4} = {4AFC9975-2456-4C70-94A4-84073C1CED93}
{C21BFF9C-2C99-4B5F-B7C9-A5E6DDDB37B0} = {4AFC9975-2456-4C70-94A4-84073C1CED93}
{F8B870EB-D5F5-45BA-9CF7-A5C459818820} = {4AFC9975-2456-4C70-94A4-84073C1CED93}
{E364F67B-BB12-4E91-B639-355866EBCD8B} = {C140A3EF-6DBF-4084-9D4C-4EB5A99FEE68}
{F97E5003-F263-4D4A-A964-0F1F3C82DEF2} = {C140A3EF-6DBF-4084-9D4C-4EB5A99FEE68}
{880ED251-9E16-4713-9A70-D35FE0C01669} = {E775CC2C-24CB-48D6-9C3A-BE4CCE0DB17A}
{2F305555-C296-497E-AC20-5FA1B237996A} = {4574FDD0-F61D-4376-98BF-E5A1262C11EC}
{AF2349B8-E5B6-4004-9502-687C1C7730B1} = {2F305555-C296-497E-AC20-5FA1B237996A}
@@ -364,6 +558,19 @@ Global
{748417CA-F17E-487F-9411-CAFB6D3F4877} = {2F305555-C296-497E-AC20-5FA1B237996A}
{217DF501-135C-4E38-BFC8-99D4821032EA} = {2F305555-C296-497E-AC20-5FA1B237996A}
{47310AB4-9034-4BD1-8D8B-E88AD21A171B} = {2F305555-C296-497E-AC20-5FA1B237996A}
{E4E0D2AE-B17D-4BD4-8BEE-AFC8CC464C5F} = {C3081D9A-1586-441A-B5F4-ED815B3719C1}
{A7D5099E-F0FD-4BF3-8522-5A682759F915} = {C3081D9A-1586-441A-B5F4-ED815B3719C1}
{B1BCC8C6-46B5-4BFA-8F22-20F32D99EC6A} = {C3081D9A-1586-441A-B5F4-ED815B3719C1}
{A80355C2-780D-4245-BD80-25B8DE698EE3} = {C3081D9A-1586-441A-B5F4-ED815B3719C1}
{F055103B-F80B-4D0C-BF48-057C55620033} = {1AFB6476-670D-4E80-A464-657E01DFF482}
{985B3F2F-CEED-4C0A-A249-69257E719145} = {1AFB6476-670D-4E80-A464-657E01DFF482}
{437AD818-3F1F-4CA5-A79B-25233A157026} = {1AFB6476-670D-4E80-A464-657E01DFF482}
{787B8AA6-CA93-4C84-96FE-DF31110AD1C4} = {4AFC9975-2456-4C70-94A4-84073C1CED93}
{08C8C05F-0362-41BC-818C-724572DF8B06} = {C140A3EF-6DBF-4084-9D4C-4EB5A99FEE68}
{5D00D290-4016-4CFE-9E41-1E7C724509BA} = {1AFB6476-670D-4E80-A464-657E01DFF482}
{E6410BFC-B341-498C-8C67-312C20CDD8D5} = {1AFB6476-670D-4E80-A464-657E01DFF482}
{62173D9A-6724-4C00-A1C8-FB646480A9EC} = {38BDB927-829B-4C65-9CD9-93FB05D66D65}
{4AED67B6-55FD-486F-B917-E543DEE2CB3C} = {1AFB6476-670D-4E80-A464-657E01DFF482}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {C3A2F9D1-7930-4EF4-A6FC-7EE0A99821D0}

179
README.md
View File

@@ -1,29 +1,95 @@
# Overview
<img align="right" width="200" src="./doc/images/Logo.jpg" />
<img src="./doc/images/overview/PT%20hero%20image.png"/>
Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. Inspired by the [Windows 95 era PowerToys project](https://en.wikipedia.org/wiki/Microsoft_PowerToys), this reboot provides power users with ways to squeeze more efficiency out of the Windows 10 shell and customize it for individual workflows. A great overview of the Windows 95 PowerToys can be found [here](https://socket3.wordpress.com/2016/10/22/using-windows-95-powertoys/).
## Build Status
[What's Happening](#whats-happening) | [Downloading & Release notes][github-release-link] | [Contributing to PowerToys](#contributing) | [Known issues](#known-issues)
## Build status
[![Build Status](https://dev.azure.com/ms/PowerToys/_apis/build/status/microsoft.PowerToys?branchName=master)](https://dev.azure.com/ms/PowerToys/_build?definitionId=219)
## Installing and running Microsoft PowerToys 0.16
👉 **Note:** Microsoft PowerToys requires Windows 10 1803 (build 17134) or later.
## Current PowerToy Utilities
### Via Github with MSI [Recommended]
### FancyZones
Install from the [Microsoft PowerToys GitHub releases page][github-release-link]. Click on `Assets` to show the files available in the release and then click on `PowerToysSetup-0.16.1-x64.msi` to download the PowerToys installer.
[<img align="left" src="./doc/images/overview/FancyZones_small.png" />](https://aka.ms/PowerToysOverview_FancyZones) [FancyZones](https://aka.ms/PowerToysOverview_FancyZones) is a window manager that makes it easy to create complex window layouts and quickly position windows into those layouts.
<br>
<br>
<br>
<br>
<br>
### File Explorer Add-ons (Preview Panes)
[<img align="left" src="./doc/images/overview/PowerPreview_small.PNG" />](https://aka.ms/PowerToysOverview_FileExplorerAddOns) [File Explorer](https://aka.ms/PowerToysOverview_FileExplorerAddOns) add-ons right now are just limited to Preview Pane additions for File Explorer. Preview Pane is an existing feature in the File Explorer. To enable it, you just click the View tab in the ribbon and then click "Preview Pane".
PowerToys will now enable two types of files to be previewed: Markdown (.md) & SVG (.svg)
<br>
<br>
### Image Resizer
[<img align="left" src="./doc/images/overview/ImageResizer_small.png" />](https://aka.ms/PowerToysOverview_ImageResizer) [Image Resizer](https://aka.ms/PowerToysOverview_ImageResizer) is a Windows Shell Extension for quickly resizing images. With a simple right click from File Explorer, resize one or many images instantly. This code is based on [Brice Lambson's Image Resizer](https://github.com/bricelam/ImageResizer).
<br>
<br>
<br>
<br>
### Keyboard Manager
[<img align="left" src="./doc/images/overview/KBM_small.png" />](https://aka.ms/PowerToysOverview_KeyboardManager) [Keyboard Manager](https://aka.ms/PowerToysOverview_KeyboardManager) allows you to customize the keyboard to be more productive by remapping keys and creating your own keyboard shortcuts. This PowerToy requires Windows 10 1903 (build 18362) or later.
<br>
<br>
<br>
<br>
### PowerRename
[<img align="left" src="./doc/images/overview/PowerRename_small.PNG" />](https://aka.ms/PowerToysOverview_PowerRename) [PowerRename](https://aka.ms/PowerToysOverview_PowerRename) is a Windows Shell Extension for advanced bulk renaming using search and replace or regular expressions. PowerRename allows simple search and replace or more advanced regular expression matching. While you type in the search and replace input fields, the preview area will show what the items will be renamed to. PowerRename then calls into the Windows Explorer file operations engine to perform the rename. This has the benefit of allowing the rename operation to be undone after PowerRename exits. This code is based on [Chris Davis's SmartRename](https://github.com/chrdavis/SmartRename).
<br>
### PowerToys Run
[<img align="left" src="./doc/images/overview/PowerLauncher_small.png" />](https://aka.ms/PowerToysOverview_PowerToysRun) [PowerToys Run](https://aka.ms/PowerToysOverview_PowerToysRun) is a new toy in PowerToys that can help you search and launch your app instantly with a simple alt-space and start typing! It is open source and modular for additional plugins. Window Walker is now inside too! This PowerToy requires Windows 10 1903 (build 18362) or later.
<br>
<br>
<br>
### Shortcut Guide
[<img align="left" src="./doc/images/overview/Shortcut guide_small.png" />](https://aka.ms/PowerToysOverview_ShortcutGuide) [Windows key shortcut guide](https://aka.ms/PowerToysOverview_ShortcutGuide) appears when a user holds the Windows key down for more than one second and shows the available shortcuts for the current state of the desktop.
<br>
<br>
<br>
<br>
<br>
## Installing and running Microsoft PowerToys
**Requirements**
- Windows 10 1803 (build 17134) or later.
- Have [.NET Core 3.1 Desktop Runtime](https://dotnet.microsoft.com/download/dotnet-core/thank-you/runtime-desktop-3.1.4-windows-x64-installer). The installer will prompt this but we want to directly make people aware.
### Via GitHub with MSI [Recommended]
Install from the [Microsoft PowerToys GitHub releases page][github-release-link]. Click on `Assets` to show the files available in the release and then click on `PowerToysSetup-0.19.0-x64.msi` to download the PowerToys installer.
**Note:** After installing, you will have to start PowerToys for the first time. We will improve install experience this moving forward but due to a possible install dependency, we can't start after install currently.
This is our preferred method.
### Via WinGet (Preview)
Download PowerToys from [WinGet](https://github.com/microsoft/winget-cli/releases). To install PowerToys, run the following command from the command line / PowerShell:
```powershell
WinGet install powertoys
```
### Other install methods
##### MSIX / Store Build Update
- We put in a lot of effort here but currently our plan of record is to make the MSI our only installer option and built-in auto-upgrade. MSIX is a great installer / container tech but there are few spots we are working with the team to improve so we can adopt.
#### Via Chocolatey - ⚠ Unofficial ⚠
#### Via Chocolatey (Unofficial)
Download and upgrade PowerToys from [Chocolatey](https://chocolatey.org). If you have any issues when installing/upgrading the package please go to the [package page](https://chocolatey.org/packages/powertoys) and follow the [Chocolatey triage process](https://chocolatey.org/docs/package-triage-process)
@@ -39,6 +105,12 @@ To upgrade PowerToys, run the following command from the command line / PowerShe
choco upgrade powertoys
```
### Known issues
- PT Run, Newly installed apps can't be found [#3553](https://github.com/microsoft/PowerToys/issues/3553). We will address this in 0.20.
- PT Run, CPU / Memory, still investigating [#3208](https://github.com/microsoft/PowerToys/issues/3208). We have 2 leads and fixed one item.
- WinKey remapping for PT Run can be quirky [#4578](https://github.com/microsoft/PowerToys/issues/4578)
### Processor support
We currently support the matrix below.
@@ -47,88 +119,43 @@ We currently support the matrix below.
|:---:|:---:|:---:|
| [Supported][github-release-link] | [Issue #602](https://github.com/microsoft/PowerToys/issues/602) | [Issue #490](https://github.com/microsoft/PowerToys/issues/490) |
## Current PowerToy Utilities
## What's Happening
### FancyZones
### June 2020 Update
[FancyZones](/src/modules/fancyzones/) - FancyZones is a window manager that makes it easy to create complex window layouts and quickly position windows into those layouts.
Our goals for 0.19 release cycle had one big goal, add in stability / quality fixes. We've addressed over 100 issues across all our utilities. We've improved our installer experience and parts will start coming online in 0.19 and 0.20. In this release, it will be the last time during upgrade you'll see Windows Explorer flash on you. For 0.20, the .NET Core install experience much smoother.
### Shortcut Guide
We'd also stress feedback is critical. We know there are areas for improvement on PowerToys Run. We would love feedback so we can improve. We also would love to know if you want us to be more aggressive on auto-upgrading.
[Windows key shortcut guide](/src/modules/shortcut_guide) - The shortcut guide appears when a user holds the Windows key down for more than one second and shows the available shortcuts for the current state of the desktop.
Lastly, we'd like to thank everyone who filed a bug, gave feedback or made a pull-request. The PowerToys team is extremely grateful to have the support of an amazing active community.
### PowerRename
- We shipped [v0.19][github-release-link]!
- Big push for PowerToys Run search quality fixes
- PowerToys Run can now remap to any key shortcut (minus restricted ones such as WinKey+L)
- Improved FancyZones on Virtual Desktops and multi-thread design
- Installer after 0.19 will no longer restart Windows Explorer
- Fixed [#2012 - Uninstalling with old control panel fails](https://github.com/microsoft/PowerToys/issues/2012)
- Fixed [#3384 - PowerToys Settings window is empty](https://github.com/microsoft/PowerToys/issues/3384)
- Over 100 bug fixes!
[PowerRename](/src/modules/powerrename) - PowerRename is a Windows Shell Extension for advanced bulk renaming using search and replace or regular expressions. PowerRename allows simple search and replace or more advanced regular expression matching. While you type in the search and replace input fields, the preview area will show what the items will be renamed to. PowerRename then calls into the Windows Explorer file operations engine to perform the rename. This has the benefit of allowing the rename operation to be undone after PowerRename exits.
For [0.20](https://github.com/microsoft/PowerToys/issues?q=is%3Aopen+is%3Aissue+project%3Amicrosoft%2FPowerToys%2F6), we are proactively working on:
This code is based on [Chris Davis's SmartRename](https://github.com/chrdavis/SmartRename).
### File Explorer (Preview Panes)
[File Explorer](/src/modules/previewpane) add-ons right now are just limited to Preview Pane additions for File Explorer. Preview Pane is an existing feature in the File Explorer. To enable it, you just click the View tab in the ribbon and then click "Preview Pane".
PowerToys will now enable two types of files to be previewed:
- Markdown files (.md)
- SVG (.svg)
### Image Resizer
[Image Resizer](/src/modules/imageresizer) is a Windows Shell Extension for quickly resizing images. With a simple right click from File Explorer, resize one or many images instantly.
This code is based on [Brice Lambson's Image Resizer](https://github.com/bricelam/ImageResizer).
### Window Walker (Text based alt-tab alternative)
[Window Walker](src/modules/windowwalker/) is an app that lets you search and switch between windows that you have open, all from the comfort of your keyboard. As you are searching for an app, you can use the keyboard up and down arrows to see an Alt-Tab style preview of the windows. In the future, this will be merged into the Launcher project.
This code is based on [Beta Tadele's Window Walker](https://github.com/betsegaw/windowwalker).
- Stability
- Start work on FZ Editor V2
- Start work on OOBE improvements
- Keyboard manager improvements
### Version 1.0 plan
Our plan for all the [goals and utilities for v1.0 detailed over here in the wiki][v1].
## What's Happening
### March 2020 Update
Our mantra for the 0.16 was adding in new features along with a continual push for quality and stability. We are working toward getting a way to auto-update PowerToys and have a good plan for this. We want to proactively thank the community for quickly identifying a few bugs inside 0.15 and allowing us to quickly release 0.15.1 and 0.15.2.
Below are just a few of the bullet items from this release.
- We shipped [v0.16][github-release-link]!
- FancyZone improvement:
- Multi-Monitor improvement: Zone flipping switching now works between monitors!
- Simplified UX: Removed layout hot-swap and flashing feature due to need to improve multi-monitor support
- New Utilities!
- Markdown Preview pane extension
- SVG Preview pane extension
- Image Resizer Window Shell extension
- Window Walker, an alt-tab alternative
- Fixed over 100 issues!
- Testing improvements
- 54 UX Functional tests
- 161 new Unit tests
For [0.17](https://github.com/microsoft/PowerToys/issues?q=is%3Aopen+is%3Aissue+project%3Amicrosoft%2FPowerToys%2F3), we are proactively working on:
- Auto-updating
- Win+R replacement (Launcher)
- Keyboard remapping
- Performance improvements with FancyZones
- A testing utility for FancyZones to be sure we can test different window configurations.
Future release work, we are proactively working on:
- Settings v2 / Fix bug #243
## Developer Guidance
Please read the [developer docs](/doc/devdocs) for a detailed breakdown.
## Contributing
This project welcomes contributions of all times. Help spec'ing, design, documentation, finding bugs are ways everyone can help on top of coding features / bug fixes. We are excited to work with the power user community to build a set of tools for helping you get the most out of Windows.
This project welcomes contributions of all types. Help spec'ing, design, documentation, finding bugs are ways everyone can help on top of coding features / bug fixes. We are excited to work with the power user community to build a set of tools for helping you get the most out of Windows.
We ask that **before you start work on a feature that you would like to contribute**, please read our [Contributor's Guide](contributing.md). We will be happy to work with you to figure out the best approach, provide guidance and mentorship throughout feature development, and help avoid any wasted or duplicate effort.
@@ -142,7 +169,7 @@ PowerToys is still a very fluidic project and the team is actively working out o
## Code of Conduct
This project has adopted the [Microsoft Open Source Code of Conduct][oss-conduct-code].
This project has adopted the [Microsoft Open Source Code of Conduct][oss-conduct-code].
## Privacy Statement

View File

@@ -2,6 +2,8 @@
The PowerToys team is extremely grateful to have the support of an amazing active community. The work you do is incredibly important. PowerToys wouldnt be near what it is without your help filing bugs, updating documentation, guiding the design, or writing features. We want to say thanks and to recognize your work. This is a living document dedicated to highlighting the high impact community members and their contributions.
Names are in alphabetical order based on first name.
## High impact community members
### [@Niels9001](https://github.com/niels9001/) - [Niels Laute](https://nielslaute.com/)
@@ -10,4 +12,36 @@ Niels has helped drive large sums of our update toward a new [consistent and mod
### [@riverar](https://github.com/riverar) - [Rafael Rivera](https://withinrafael.com/)
Rafael has helped do the [upgrade from CppWinRT 1.x to 2.0](https://github.com/microsoft/PowerToys/issues/1907). He directly provided feedback to the CppWinRT team for bugs from this migration as well.
Rafael has helped do the [upgrade from CppWinRT 1.x to 2.0](https://github.com/microsoft/PowerToys/issues/1907). He directly provided feedback to the CppWinRT team for bugs from this migration as well.
## Open source projects
As PowerToys creates new utilities, some will be based off existing technology. We'll continue to do our best to contribute back to these projects but their efforts were the base of some of our projects. We want to be sure their work is directly recognized.
### [@jjw24](https://github.com/jjw24/) - Jeremy Wu
Their fork of Wox was the base of PowerToys Run.
### [WoX Launcher](https://github.com/Wox-launcher/Wox/)
Initial base of jjw24's fork, which makes it the base of PowerToys Run.
## Microsoft community members
We would like to also directly call out some extremely helpful Microsoft employees that have directly contributed to PowerToys. This isn't their day job and was work they did out of passion. We want to say thank you and recognize your work.
### [@betsegaw](https://github.com/betsegaw/) - [Betsegaw Tadele](http://www.dreamsofameaningfullife.com/)
Window Walker, inside PowerToys Run, is from Beta.
### [@TheMrJukes](https://github.com/TheMrJukes/) - Bret Anderson
The base of FancyZones and a lot of performance adjustments are from the hard work of Bret.
### [@bricelam](https://github.com/bricelam/) - [Brice Lambson](https://bricelam.net/)
Image Resizer is from Brice.
### [@chrdavis](https://github.com/chrdavis/) - Chris Davis
PowerRename is from Chris's SmartRename.

View File

@@ -1,5 +0,0 @@
#### [`dllmain.cpp`](/src/modules/example_powertoy/dllmain.cpp)
Contains DLL boilerplate code and implementation of the [PowerToys interface](/src/modules/interface/).
#### [`trace.cpp`](/src/modules/example_powertoy/trace.cpp)
Contains code for telemetry.

View File

@@ -67,18 +67,6 @@ The returned PowerToy should be in the disabled state. The runner will call the
In case of errors returns `nullptr`.
Sample code from [`the example PowerToy`](/src/modules/example_powertoy/dllmain.cpp):
```cpp
extern "C" __declspec(dllexport) PowertoyModuleIface* __cdecl powertoy_create() {
return new ExamplePowertoy();
}
ExamplePowertoy::ExamplePowertoy() {
init_settings();
}
```
## get_name
```cpp
@@ -87,13 +75,6 @@ virtual const wchar_t* get_name()
Returns the name of the PowerToy, it will be cached by the runner.
Sample code from [`the example PowerToy`](/src/modules/example_powertoy/dllmain.cpp):
```cpp
virtual const wchar_t* get_name() override {
return L"Example Powertoy";
}
```
## get_events
```cpp
@@ -106,17 +87,6 @@ Returns a null-terminated table of the names of the events the PowerToy wants to
A nullptr can be returned to signal that the PowerToy does not want to subscribe to any event.
Sample code from [`the example PowerToy`](/src/modules/example_powertoy/dllmain.cpp):
```cpp
virtual const wchar_t** get_events() override {
static const wchar_t* events[] = { ll_keyboard,
win_hook_event,
nullptr };
return events;
}
```
## get_config
```
@@ -129,44 +99,6 @@ If `buffer` is a null pointer or the buffer size is not large enough sets the re
Returns true if successful.
Sample code from [`the example PowerToy`](/src/modules/example_powertoy/dllmain.cpp):
```cpp
virtual bool get_config(wchar_t* buffer, int* buffer_size) override {
HINSTANCE hinstance = reinterpret_cast<HINSTANCE>(&__ImageBase);
// Create a Settings object.
PowerToysSettings::Settings settings(hinstance, get_name());
settings.set_description(L"Serves as an example powertoy, with example settings.");
// Add an overview link to show in the Settings.
settings.set_overview_link(L"https://github.com/microsoft/PowerToys");
// Add a video link to show in the Settings.
settings.set_video_link(L"https://www.youtube.com/watch?v=d3LHo2yXKoY&t=21462");
// Add a bool property with a toggle editor.
settings.add_bool_toogle(
L"test_bool_toggle", // property name.
L"This is what a BoolToggle property looks like", // description or resource id of the localized string.
test_bool_prop // property value.
);
// More settings
...
// Add a custom action property. When using this settings type, the "call_custom_action()" method should be overriden as well.
settings.add_custom_action(
L"test_custom_action", // action name.
L"This is what a CustomAction property looks like", // label above the field.
L"Call a custom action", // button text.
L"Press the button to call a custom action in the Example PowerToy" // display values / extended info.
);
return settings.serialize_to_buffer(buffer, buffer_size);
}
```
## set_config
```cpp
@@ -175,31 +107,6 @@ virtual void set_config(const wchar_t* config)
After the user has changed the module settings in the Settings editor, the runner calls this method to pass to the module the updated values. It's a good place to save the settings as well.
Sample code from [`the example PowerToy`](/src/modules/example_powertoy/dllmain.cpp):
```cpp
virtual void set_config(const wchar_t* config) override {
try {
// Parse the PowerToysValues object from the received json string.
PowerToysSettings::PowerToyValues _values =
PowerToysSettings::PowerToyValues::from_json_string(config);
// Update the bool property.
if (_values.is_bool_value(L"test bool_toggle")) {
test_bool_prop = _values.get_bool_value(L"test bool_toggle");
}
// More settings
...
save_settings();
}
catch (std::exception ex) {
// Improper JSON.
}
}
```
## call_custom_action
```cpp
@@ -209,31 +116,6 @@ Sample code from [`the example PowerToy`](/src/modules/example_powertoy/dllmain.
Calls a custom action in response to the user pressing the custom action button in the Settings editor.
This can be used to spawn custom editors defined by the PowerToy.
Sample code from [`the example PowerToy`](/src/modules/example_powertoy/dllmain.cpp):
```cpp
virtual void call_custom_action(const wchar_t* action) override {
try {
// Parse the action values, including name.
PowerToysSettings::CustomActionObject action_object =
PowerToysSettings::CustomActionObject::from_json_string(action);
if (action_object.get_name() == L"test_custom_action") {
// Custom action code to increase and show a counter.
++this->test_custom_action_num_calls;
std::wstring msg(L"I have been called ");
msg += std::to_wstring(this->test_custom_action_num_calls);
msg += L" time(s).";
MessageBox(NULL, msg.c_str(), L"Custom action call.", MB_OK | MB_TOPMOST);
}
}
catch (std::exception ex) {
// Improper JSON.
}
}
```
## enable
```cpp
@@ -242,14 +124,6 @@ Sample code from [`the example PowerToy`](/src/modules/example_powertoy/dllmain.
Enables the PowerToy.
Sample code from [`the example PowerToy`](/src/modules/example_powertoy/dllmain.cpp):
```cpp
virtual void enable() {
m_enabled = true;
}
```
## disable
```cpp
@@ -258,14 +132,6 @@ Sample code from [`the example PowerToy`](/src/modules/example_powertoy/dllmain.
Disables the PowerToy, should free as much memory as possible.
Sample code from [`the example PowerToy`](/src/modules/example_powertoy/dllmain.cpp):
```cpp
virtual void disable() {
m_enabled = false;
}
```
## is_enabled
```cpp
@@ -274,13 +140,6 @@ Sample code from [`the example PowerToy`](/src/modules/example_powertoy/dllmain.
Returns the PowerToy state.
Sample code from [`the example PowerToy`](/src/modules/example_powertoy/dllmain.cpp):
```cpp
virtual bool is_enabled() override {
return m_enabled;
}
```
## signal_event
```cpp
@@ -294,24 +153,6 @@ The data argument and return value meaning are event-specific:
Please note that some of the events are currently being signalled from a separate thread.
Sample code from [`the example PowerToy`](/src/modules/example_powertoy/dllmain.cpp):
```cpp
virtual intptr_t signal_event(const wchar_t* name, intptr_t data) override {
if (wcscmp(name, ll_keyboard) == 0) {
auto& event = *(reinterpret_cast<LowlevelKeyboardEvent*>(data));
// Return 1 if the keypress is to be suppressed (not forwarded to Windows),
// otherwise return 0.
return 0;
} else if (wcscmp(name, win_hook_event) == 0) {
auto& event = *(reinterpret_cast<WinHookEvent*>(data));
// Return value is ignored
return 0;
}
return 0;
}
```
## register_system_menu_helper
```cpp
@@ -338,14 +179,6 @@ Item name is passed as an argument, so that module can distinguish between diffe
```
Destroy the PowerToy and free all memory.
Sample code from [`the example PowerToy`](/src/modules/example_powertoy/dllmain.cpp):
```cpp
virtual void destroy() override {
delete this;
}
```
## Powertoys system menu helper interface
Interface for helper class responsible for handling all system menu related actions.
@@ -393,15 +226,15 @@ Process action taken on specific system menu item.
# Code organization
### [`powertoy_module_interface.h`](/src/modules/example_powertoy/powertoy_module_interface.h)
### [`powertoy_module_interface.h`](/src/modules/interface/powertoy_module_interface.h)
Contains the PowerToys interface definition.
### [`powertoy_system_menu.h`](/src/modules/example_powertoy/powertoy_system_module.h)
### [`powertoy_system_menu.h`](/src/modules/interface/powertoy_system_module.h)
Contains the PowerToys system menu helper interface definition.
### [`lowlevel_keyboard_event_data.h`](/src/modules/example_powertoy/lowlevel_keyboard_event_data.h)
### [`lowlevel_keyboard_event_data.h`](/src/modules/interface/lowlevel_keyboard_event_data.h)
Contains the `LowlevelKeyboardEvent` structure that's passed to `signal_event` for `ll_keyboard` events.
### [`win_hook_event_data.h`](/src/modules/example_powertoy/win_hook_event_data.h)
### [`win_hook_event_data.h`](/src/modules/interface/win_hook_event_data.h)
Contains the `WinHookEvent` structure that's passed to `signal_event` for `win_hook_event` events.

View File

@@ -6,7 +6,7 @@
- [Coding style](style.md).
- Try to package new ideas/components into libraries that have nicely defined interfaces.
- Package new ideas into classes or refactor existing ideas into a class as you extend.
- When adding new classes/methos/changing existing code: add new unit tests or update the existing tests.
- When adding new classes/methods/changing existing code: add new unit tests or update the existing tests.
## Github Workflow
@@ -46,32 +46,44 @@ Contains the source code of the PowerToys runner and of all of the PowerToys mod
Various tools used by PowerToys. Includes the Visual Studio 2019 project template for new PowerToys.
## Building code
## Compiling PowerToys
### Build Prerequisites
### Prerequisites for Compiling PowerToys
- Windows 10 1803 (build 10.0.17134.0) or above to build and run PowerToys.
- Visual Studio 2019 Community edition or higher, with the 'Desktop Development with C++' component and the Windows 10 SDK version 10.0.18362.0 or higher.
1. Windows 10 April 2018 Update (version 1803) or newer
2. Visual Studio Community/Professional/Enterprise 2019
3. Run the command below in cmd/terminal to install all the workloads and components for VS.<br />
**Note:** the script assumes VS is installed and Community edition. Please update path accordingly if Professional/Enterprise.
### Building the Code
```shell
"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vs_installer.exe" ^
modify --installpath "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\community" ^
--add Microsoft.VisualStudio.Workload.NativeDesktop ^
--add Microsoft.VisualStudio.Workload.ManagedDesktop ^
--add Microsoft.VisualStudio.Workload.Universal ^
--add Microsoft.VisualStudio.Component.Windows10SDK.17134 ^
--add Microsoft.VisualStudio.ComponentGroup.UWP.VC ^
--add Microsoft.VisualStudio.Component.VC.Runtimes.x86.x64.Spectre ^
--add Microsoft.VisualStudio.Component.VC.ATL.Spectre
```
### Compiling Source Code
- Open `powertoys.sln` in Visual Studio, in the `Solutions Configuration` drop-down menu select `Release` or `Debug`, from the `Build` menu choose `Build Solution`.
- The PowerToys binaries will be in your repo under `x64\Release`.
- If you want to copy the `PowerToys.exe` binary to a different location, you'll also need to copy the `modules` and the `svgs` folders.
### Building the .msi Installer
## Building the Installer (.MSI)
* From the `installer` folder open `PowerToysSetup.sln` in Visual Studio, in the `Solutions Configuration` drop-down menu select `Release` or `Debug`, from the `Build` menu choose `Build Solution`.
* The resulting `PowerToysSetup.msi` installer will be available in the `installer\PowerToysSetup\x64\Release\` folder.
### Prerequisites Building the Installer (.MSI)
#### Prerequisites to Build the MSI Installer
1. Install the [WiX Toolset Visual Studio 2019 Extension](https://marketplace.visualstudio.com/items?itemName=RobMensching.WiXToolset).
2. Install the [WiX Toolset build tools](https://wixtoolset.org/releases/).
* Install the [WiX Toolset Visual Studio 2019 Extension](https://marketplace.visualstudio.com/items?itemName=RobMensching.WiXToolset).
* Install the [WiX Toolset build tools](https://wixtoolset.org/releases/).
### Compiling Installer (.MSI)
### Building the MSIX Installer
Please follow the [installer instructions](./installer/readme.md) which include items such as creating the self-signed cert for testing.
- From the `installer` folder open `PowerToysSetup.sln` in Visual Studio, in the `Solutions Configuration` drop-down menu select `Release`, from the `Build` menu choose `Build Solution`.
- The resulting `PowerToysSetup.msi` installer will be available in the `installer\PowerToysSetup\x64\Release\` folder.
## Debugging
@@ -79,8 +91,8 @@ The following configuration issue only applies if the user is a member of the Ad
Some PowerToys modules require being run with the highest permission level if the current user is a member of the Administrators group. The highest permission level is required to be able to perform some actions when an elevated application (e.g. Task Manager) is in the foreground or is the target of an action. Without elevated privileges some PowerToys modules will still work but with some limitations:
- the `FancyZones` module will be not be able to move an elevated window to a zone.
- the `Shortcut Guide` module will not appear if the foreground window belongs to an elevated application.
- The `FancyZones` module will be not be able to move an elevated window to a zone.
- The `Shortcut Guide` module will not appear if the foreground window belongs to an elevated application.
To run and debug PowerToys from Visual Studio when the user is a member of the Administrators group, Visual Studio has to be started with elevated privileges. If you want to avoid running Visual Studio with elevated privileges and don't mind the limitations described above, you can do the following: open the `runner` project properties and navigate to the `Linker -> Manifest File` settings, edit the `UAC Execution Level` property and change it from `highestAvailable (level='highestAvailable')` to `asInvoker (/level='asInvoker')`, save the changes.
@@ -122,7 +134,7 @@ While developing, it's possible to connect the WebView to the development server
### [`Settings-web`](settings-web.md)
This project generates the web UI shown in the [PowerToys Settings](/src/editor).
It's a `ReactJS` project created using [UI Fabric](https://developer.microsoft.com/en-us/fabric#/).
It's a `ReactJS` project created using [Fluent UI](https://developer.microsoft.com/en-us/fluentui#/).
## Current modules
### [`FancyZones`](modules/fancyzones.md)
@@ -134,11 +146,6 @@ PowerRename is a Windows Shell Context Menu Extension for advanced bulk renaming
### [`Shortcut Guide`](modules/shortcut_guide.md)
The Windows Shortcut Guide, displayed when the WinKey is held for some time.
### _obsolete_ [`example_powertoy`](modules/example_powertoy.md)
An example PowerToy, that demonstrates how to create new ones. Please note, that this is going to become a Visual Studio project template soon.
This PowerToy serves as a sample to show how to implement the [PowerToys interface](/src/modules/interface/) when creating a PowerToy. It also showcases the currently implemented settings.
#### Options
This module has a setting to serve as an example for each of the currently implemented settings property:

View File

@@ -8,7 +8,7 @@ If you're running any application as an administrator (aka elevated) and PowerTo
We understand users will run applications elevated. We do as well. We have two options for you when this scenario happens:
1. **Recommended:** PowerToys will prompt when we detect a process that is elevated. Go to PowerToys settings inside the General Tab and click "Relaunch as adminstrator".
1. **Recommended:** PowerToys will prompt when we detect a process that is elevated. Go to PowerToys settings inside the General Tab and click "Relaunch as administrator".
2. Enable "Always run as administrator" in the PowerToys settings.
## What is "Run as Administrator" / Elevated processes

View File

@@ -1,5 +1,5 @@
#### [`main.cpp`](/src/runner/main.cpp)
Contains the executable starting point, initialization code and the list of known PowerToys. All singletones are also initialized here at the start. Loads all the powertoys by scanning the `./modules` folder and `enable()`s those makred as enabled in `%LOCALAPPDATA%\Microsoft\PowerToys\settings.json` config. Then it runs [a message loop](https://docs.microsoft.com/en-us/windows/win32/winmsg/using-messages-and-message-queues) for the tray UI. Note that this message loop also [handles lowlevel_keyboard_hook events](https://github.com/microsoft/PowerToys/blob/1760af50c8803588cb575167baae0439af38a9c1/src/runner/lowlevel_keyboard_event.cpp#L24).
Contains the executable starting point, initialization code and the list of known PowerToys. All singletones are also initialized here at the start. Loads all the powertoys by scanning the `./modules` folder and `enable()`s those marked as enabled in `%LOCALAPPDATA%\Microsoft\PowerToys\settings.json` config. Then it runs [a message loop](https://docs.microsoft.com/en-us/windows/win32/winmsg/using-messages-and-message-queues) for the tray UI. Note that this message loop also [handles lowlevel_keyboard_hook events](https://github.com/microsoft/PowerToys/blob/1760af50c8803588cb575167baae0439af38a9c1/src/runner/lowlevel_keyboard_event.cpp#L24).
#### [`general_settings.cpp`](./general_settings.cpp)
#### [`powertoy_module.h`](/src/runner/powertoy_module.h) and [`powertoy_module.cpp`](/src/runner/powertoy_module.cpp)

View File

@@ -80,7 +80,7 @@ Example module JSON (taken from Shortcut Guide):
```
produces this settings screen:
![Shortcut Guide settings](../images/settings/shorcut_guide_settings.png)
![Shortcut Guide settings](../images/settings/shortcut_guide_settings.png)
### Helper methods
@@ -191,7 +191,7 @@ settings.set_icon_key(L"pt-example");
settings.add_string(L"string_val", L"Example string label", L"example value");
settings.add_int_spinner(L"int_val", L"Example int label", 0, 0, 100, 10);
```
You can then use `std::wstring serialize()` or `bool serialize_to_buffer(wchar_t* buffer, int* uffer_size)` methods to generate output JSON string.
You can then use `std::wstring serialize()` or `bool serialize_to_buffer(wchar_t* buffer, int* buffer_size)` methods to generate output JSON string.
### Saving settings
Use
@@ -204,7 +204,7 @@ declared in [`settings_helpers.h`](/src/common/settings_helpers.h).
### Bool toggle
```c++
add_bool_toogle(name, description, value)
add_bool_toggle(name, description, value)
```
A simple on-off toggle. Parameters:
* `name` - Key for the element in the JSON.
@@ -213,7 +213,7 @@ A simple on-off toggle. Parameters:
This C++:
```c++
settings.add_bool_toogle(L"bool_name", L"description", true);
settings.add_bool_toggle(L"bool_name", L"description", true);
```
produces this settings element:

View File

@@ -86,7 +86,7 @@ For a detailed reference of how the settings are implemented in the runner and i
</td></tr></table>
```c++
settings.add_bool_toogle(name, description, value)
settings.add_bool_toggle(name, description, value)
```
A simple on-off toggle. Parameters:
* `name` - Key for the element in the JSON.

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 762 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 405 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 588 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 447 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 641 KiB

View File

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 56 KiB

View File

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 KiB

View File

@@ -24,6 +24,7 @@
<File DestinationPath="modules\GalaSoft.MvvmLight.Extras.dll" SourcePath="..\..\x64\Release\modules\GalaSoft.MvvmLight.Extras.dll"/>
<File DestinationPath="modules\System.Windows.Interactivity.dll" SourcePath="..\..\x64\Release\modules\System.Windows.Interactivity.dll"/>
<File DestinationPath="modules\Newtonsoft.Json.dll" SourcePath="..\..\x64\Release\modules\Newtonsoft.Json.dll"/>
<File DestinationPath="modules\PowerKeys.dll" SourcePath="..\..\x64\Release\modules\PowerKeys.dll"/>
<File DestinationPath="modules\System.Text.Json.dll" SourcePath="..\..\x64\Release\modules\System.Text.Json.dll"/>
<File DestinationPath="modules\System.Memory.dll" SourcePath="..\..\x64\Release\modules\System.Memory.dll"/>
<File DestinationPath="modules\System.Buffers.dll" SourcePath="..\..\x64\Release\modules\System.Buffers.dll"/>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 451 KiB

After

Width:  |  Height:  |  Size: 451 KiB

View File

@@ -69,6 +69,13 @@
</PropertyGroup>
<Error Condition="!Exists('..\packages\WiX.3.11.2\build\wix.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\WiX.3.11.2\build\wix.props'))" />
</Target>
<PropertyGroup>
<PreBuildEvent>IF NOT DEFINED IsPipeline (
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64 -winsdk=10.0.18362.0
SET PTRoot=..\..\..\..
call "..\..\publish.cmd"
)</PreBuildEvent>
</PropertyGroup>
<!--
To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Wix.targets.

View File

@@ -3,6 +3,12 @@
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"
xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension" >
<?define FancyZonesProjectName="FancyZones"?>
<?define ImageResizerProjectName="ImageResizer"?>
<?define KeyboardManagerProjectName="KeyboardManager"?>
<?define PowerRenameProjectName="PowerRename"?>
<?define ShortcutGuideProjectName="ShortcutGuide"?>
<?define RepoDir="$(var.ProjectDir)..\..\" ?>
<?define BinX64Dir="$(var.RepoDir)x64\$(var.Configuration)\" ?>
<Product Id="*"
@@ -32,12 +38,13 @@
<![CDATA[(WINDOWSBUILDNUMBER >= 17134)]]>
</Condition>
<Icon Id="powertoys.exe" SourceFile="$(var.BinX64Dir)\svgs\icon.ico"/>
<Icon Id="powertoys.exe" SourceFile="$(var.BinX64Dir)svgs\icon.ico"/>
<Property Id="ARPPRODUCTICON" Value="powertoys.exe" />
<Feature Id="CoreFeature" Title="PowerToys" AllowAdvertise="no" Absent="disallow" TypicalDefault="install"
Description="Contains the Shortcut Guide and Fancy Zones features.">
<ComponentGroupRef Id="CoreComponents" />
<ComponentGroupRef Id="ResourcesComponents" />
<ComponentGroupRef Id="LauncherComponents" />
</Feature>
<SetProperty Id="ARPINSTALLLOCATION" Value="[INSTALLFOLDER]" After="CostFinalize" />
@@ -46,8 +53,8 @@
<UIRef Id="WixUI_PTInstallDir"/>
<Publish Dialog="ExitDialog"
Control="Finish"
Event="DoAction"
Value="LaunchApplication">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed</Publish>
Event="EndDialog"
Value="Return">NOT Installed</Publish>
<Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Property="_REMOVE_ALL" Value="Yes">1</Publish>
<Publish Dialog="UserExit" Control="Finish" Event="DoAction" Value="TelemetryLogInstallCancel">NOT Installed</Publish>
<Publish Dialog="FatalError" Control="Finish" Event="DoAction" Value="TelemetryLogInstallFail">NOT Installed</Publish>
@@ -61,11 +68,8 @@
<WixVariable Id="WixUILicenseRtf" Value="$(var.RepoDir)\installer\License.rtf" />
<Property Id="INSTALLSTARTMENUSHORTCUT" Value="1"/>
<Property Id="CREATESCHEDULEDTASK" Value="1"/>
<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOX" Value="1"/>
<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Launch PowerToys" />
<Property Id="WixShellExecTarget" Value="[#PowerToys.exe]" />
<CustomAction Id="LaunchApplication" BinaryKey="WixCA" DllEntry="WixShellExec" Impersonate="yes" />
<Property Id="WixShellExecTarget" Value="[#action_runner.exe]" />
<Property Id ="EXISTINGPOWERRENAMEEXTPATH">
<RegistrySearch Id="ExistingExtPath" Root="HKCR" Key="CLSID\{0440049F-D1DC-4E46-B27B-98393D79486B}\InprocServer32" Type="raw"/>
</Property>
@@ -89,8 +93,31 @@
<Custom Action="TelemetryLogUninstallSuccess" After="InstallFinalize">
Installed and (NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")
</Custom>
<Custom Action="InstallDotNet" After="InstallFinalize">
NOT Installed
</Custom>
<Custom Action="TerminateProcesses" Before="InstallValidate" />
</InstallExecuteSequence>
<CustomAction
Id="TerminateProcesses"
Return="ignore"
Impersonate="no"
Execute="immediate"
BinaryKey="PTCustomActions"
DllEntry="TerminateProcessesCA" />
<CustomAction
Id="InstallDotNet"
FileKey="action_runner.exe"
ExeCommand="-install_dotnet"
Return="asyncNoWait"
Execute="immediate"
Impersonate="no" />
<CustomAction Id="SetRegisterPowerToysSchTaskParam"
Property="RegisterPowerToysSchTask"
Value="[#PowerToys.exe]" />
@@ -177,10 +204,6 @@
<!-- Close 'PowerToys.exe' before uninstall-->
<Property Id="MSIRESTARTMANAGERCONTROL" Value="Disable" />
<!-- Restart explorer.exe if we detect existing PowerRenameExt.dll or ImageResizerExt.dll installation -->
<util:CloseApplication Target="explorer.exe" RebootPrompt="no" TerminateProcess="0">
EXISTINGPOWERRENAMEEXTPATH OR EXISTINGIMAGERESIZERPATH
</util:CloseApplication>
<util:CloseApplication CloseMessage="yes" Target="PowerToys.exe" ElevatedCloseMessage="yes" RebootPrompt="no" TerminateProcess="0" />
</Product>
@@ -194,23 +217,78 @@
<Directory Id="INSTALLFOLDER" Name="PowerToys">
<Directory Id="SvgsInstallFolder" Name="svgs"/>
<Directory Id="ModulesInstallFolder" Name="modules">
<!-- Resource file directories -->
<?foreach Language in ar;bg;ca;cs;de;es;eu-ES;fr;he;hu;it;nb-NO;nl;pl;pt-BR;ru;sk;tr;zh-Hans?>
<Directory Id="ImageResizerInstallFolder" Name="$(var.ImageResizerProjectName)">
<!-- Resource file directories -->
<?foreach Language in ar;bg;ca;cs;de;es;eu-ES;fr;he;hu;it;nb-NO;nl;pl;pt-BR;ru;sk;tr;zh-Hans?>
<!--NB: Ids can't contain hyphens-->
<?if $(var.Language) = eu-ES?>
<?define IdSafeLanguage = eu_ES?>
<?define IdSafeLanguage = eu_ES?>
<?elseif $(var.Language) = nb-NO?>
<?define IdSafeLanguage = nb_NO?>
<?define IdSafeLanguage = nb_NO?>
<?elseif $(var.Language) = pt-BR?>
<?define IdSafeLanguage = pt_BR?>
<?define IdSafeLanguage = pt_BR?>
<?elseif $(var.Language) = zh-Hans?>
<?define IdSafeLanguage = zh_Hans?>
<?define IdSafeLanguage = zh_Hans?>
<?else?>
<?define IdSafeLanguage = $(var.Language)?>
<?define IdSafeLanguage = $(var.Language)?>
<?endif?>
<Directory Id="Resources$(var.IdSafeLanguage)Folder" Name="$(var.Language)" />
<?undef IdSafeLanguage?>
<?endforeach?>
<?endforeach?>
</Directory>
<Directory Id="PowerRenameInstallFolder" Name="$(var.PowerRenameProjectName)"/>
<Directory Id="ShortcutGuideInstallFolder" Name="$(var.ShortcutGuideProjectName)"/>
<Directory Id="FileExplorerPreviewInstallFolder" Name="FileExplorerPreview" />
<Directory Id="FancyZonesInstallFolder" Name="$(var.FancyZonesProjectName)" />
<Directory Id="KeyboardManagerInstallFolder" Name="$(var.KeyboardManagerProjectName)" />
<Directory Id="LauncherInstallFolder" Name="launcher">
<Directory Id="AssetsFolder" Name="Assets" />
<Directory Id="LauncherImagesFolder" Name="Images" />
<Directory Id="LauncherpinyindbFolder" Name="pinyindb" />
<Directory Id="LauncherPluginsFolder" Name="Plugins">
<Directory Id="CalculatorPluginFolder" Name="Microsoft.Plugin.Calculator">
<Directory Id="CalculatorImagesFolder" Name="Images" />
<Directory Id="CalculatorLanguagesFolder" Name="Languages" />
<Directory Id="CalculatorpinyindbFolder" Name="pinyindb" />
</Directory>
<Directory Id="FolderPluginFolder" Name="Microsoft.Plugin.Folder">
<Directory Id="FolderPluginImagesFolder" Name="Images" />
<Directory Id="FolderPluginLanguagesFolder" Name="Languages" />
<Directory Id="FolderPluginpinyindbFolder" Name="pinyindb" />
</Directory>
<Directory Id="ProgramPluginFolder" Name="Microsoft.Plugin.Program">
<Directory Id="ProgramImagesFolder" Name="Images" />
<Directory Id="ProgramLanguagesFolder" Name="Languages" />
<Directory Id="ProgrampinyindbFolder" Name="pinyindb" />
</Directory>
<Directory Id="ShellPluginFolder" Name="Microsoft.Plugin.Shell">
<Directory Id="ShellImagesFolder" Name="Images" />
<Directory Id="ShellLanguagesFolder" Name="Languages" />
<Directory Id="ShellpinyindbFolder" Name="pinyindb" />
</Directory>
<Directory Id="IndexerPluginFolder" Name="Microsoft.Plugin.Indexer">
<Directory Id="IndexerImagesFolder" Name="Images" />
<Directory Id="IndexerLanguagesFolder" Name="Languages" />
<Directory Id="IndexerpinyindbFolder" Name="pinyindb" />
</Directory>
<Directory Id="WindowWalkerPluginFolder" Name="Microsoft.Plugin.WindowWalker">
<Directory Id="WindowWalkerImagesFolder" Name="Images" />
<Directory Id="WindowWalkerLanguagesFolder" Name="Languages" />
<Directory Id="WindowWalkerpinyindbFolder" Name="pinyindb" />
</Directory>
</Directory>
<Directory Id="LauncherPropertiesFolder" Name="Properties" />
</Directory>
</Directory>
<Directory Id="SettingsV2InstallFolder" Name="SettingsUIRunner">
<Directory Id="SettingsV2ViewsInstallFolder" Name="Views"/>
<Directory Id="SettingsV2StylesInstallFolder" Name="Styles"/>
<Directory Id="SettingsV2PropertiesInstallFolder" Name="Properties"/>
<Directory Id="SettingsV2AssetsInstallFolder" Name="Assets"/>
<Directory Id="SettingsV2ControlsInstallFolder" Name="Controls"/>
<Directory Id="SettingsV2XamlInstallFolder" Name="Microsoft.UI.Xaml">
<Directory Id="SettingsV2XamlAssetsInstallFolder" Name="Assets" />
</Directory>
</Directory>
<Directory Id="SettingsHtmlInstallFolder" Name="settings-html">
<Directory Id="SettingsHtmlDistInstallFolder" Name="dist"/>
@@ -256,7 +334,7 @@
</RegistryKey>
</RegistryKey>
</Component>
<Component Id="settings_exe" Guid="A5A461A9-7097-4CBA-9D39-3DBBB6B7B80C" Win64="yes">
@@ -271,83 +349,151 @@
<Component Id="License_rtf" Guid="3E5AE43B-CFB4-449B-A346-94CAAFF3312E" Win64="yes">
<File Source="$(var.RepoDir)\installer\License.rtf" Id="License.rtf" KeyPath="yes" />
</Component>
<Component Id="Notice_md" Guid="E2FE99F5-5DF7-44EA-8B1C-2BDF8CEC5E6D" Win64="yes">
<File Source="$(var.RepoDir)\Notice.md" Id="Notice.md" KeyPath="yes" />
</Component>
<Component Id="powertoysinterop_dll" Guid="B7DD2DF4-C8F2-46FA-9571-D6EF1588ADF3" Win64="yes">
<File Id="PowerToysInterop.dll" KeyPath="yes" Checksum="yes" />
</Component>
<Component Id="osDetection_dll" Guid="AA370C25-4AC8-447B-A2FF-C99365C6BE67" Win64="yes">
<File Source="$(var.BinX64Dir)os-detection.dll" KeyPath="yes" Checksum="yes" />
</Component>
<Component Id="vcredist_dlls" Guid="CBE26CB0-3AD0-4336-A7D6-503046BADEBC" Win64="yes">
<!-- VCRuntime -->
<?foreach File in vcruntime140.dll;vcruntime140_1.dll;concrt140.dll;msvcp140.dll;msvcp140_1.dll;msvcp140_2.dll;msvcp140_codecvt_ids.dll;vccorlib140.dll?>
<File Id="$(var.File)" Source="$(var.RepoDir)installer\VCRuntime\$(var.File)" />
<?endforeach?>
</Component>
</DirectoryRef>
<DirectoryRef Id="SvgsInstallFolder" FileSource="$(var.BinX64Dir)\svgs\">
<DirectoryRef Id="SvgsInstallFolder" FileSource="$(var.BinX64Dir)svgs\">
<Component Id="PowerToysSvgs" Guid="7C4D4EED-9338-423D-992C-DCE02F3E2D35" Win64="yes">
<File Source="$(var.BinX64Dir)\svgs\0.svg" />
<File Source="$(var.BinX64Dir)\svgs\1.svg" />
<File Source="$(var.BinX64Dir)\svgs\2.svg" />
<File Source="$(var.BinX64Dir)\svgs\3.svg" />
<File Source="$(var.BinX64Dir)\svgs\4.svg" />
<File Source="$(var.BinX64Dir)\svgs\5.svg" />
<File Source="$(var.BinX64Dir)\svgs\6.svg" />
<File Source="$(var.BinX64Dir)\svgs\7.svg" />
<File Source="$(var.BinX64Dir)\svgs\8.svg" />
<File Source="$(var.BinX64Dir)\svgs\9.svg" />
<File Source="$(var.BinX64Dir)\svgs\no_active_window.svg" />
<File Source="$(var.BinX64Dir)\svgs\overlay.svg" />
<File Source="$(var.BinX64Dir)\svgs\overlay_portrait.svg" />
<File Source="$(var.BinX64Dir)svgs\0.svg" />
<File Source="$(var.BinX64Dir)svgs\1.svg" />
<File Source="$(var.BinX64Dir)svgs\2.svg" />
<File Source="$(var.BinX64Dir)svgs\3.svg" />
<File Source="$(var.BinX64Dir)svgs\4.svg" />
<File Source="$(var.BinX64Dir)svgs\5.svg" />
<File Source="$(var.BinX64Dir)svgs\6.svg" />
<File Source="$(var.BinX64Dir)svgs\7.svg" />
<File Source="$(var.BinX64Dir)svgs\8.svg" />
<File Source="$(var.BinX64Dir)svgs\9.svg" />
<File Source="$(var.BinX64Dir)svgs\no_active_window.svg" />
<File Source="$(var.BinX64Dir)svgs\overlay.svg" />
<File Source="$(var.BinX64Dir)svgs\overlay_portrait.svg" />
</Component>
</DirectoryRef>
<DirectoryRef Id="ModulesInstallFolder" FileSource="$(var.BinX64Dir)\modules\">
<Component Id="Module_ShortcutGuide" Guid="CBD0AC09-91D3-428E-B2B3-05745ADF3473" Win64="yes">
<File Source="$(var.BinX64Dir)\modules\shortcut_guide.dll" KeyPath="yes" />
</Component>
<DirectoryRef Id="FancyZonesInstallFolder" FileSource="$(var.BinX64Dir)modules\">
<Component Id="Module_FancyZones" Guid="C6B5272E-6ED4-4B80-B0E7-2FF0355D8CF4" Win64="yes">
<File Source="$(var.BinX64Dir)\modules\fancyzones.dll" KeyPath="yes" />
<File Source="$(var.BinX64Dir)\modules\FancyZonesEditor.exe" >
<File Source="$(var.BinX64Dir)modules\$(var.FancyZonesProjectName)\fancyzones.dll" KeyPath="yes" />
<File Source="$(var.BinX64Dir)modules\$(var.FancyZonesProjectName)\FancyZonesEditor.exe" >
<netfx:NativeImage Id="FancyZonesEditor.exe" Platform="64bit" Priority="0" />
</File>
<File Source="$(var.BinX64Dir)\modules\ControlzEx.dll" />
<File Source="$(var.BinX64Dir)\modules\MahApps.Metro.dll" />
<File Source="$(var.BinX64Dir)\modules\Microsoft.Xaml.Behaviors.dll" />
<File Source="$(var.BinX64Dir)\modules\FancyZonesEditor.exe.config" />
<File Source="$(var.BinX64Dir)\modules\Microsoft.Bcl.AsyncInterfaces.dll" />
<File Source="$(var.BinX64Dir)\modules\System.Buffers.dll" />
<File Source="$(var.BinX64Dir)\modules\System.Memory.dll" />
<File Source="$(var.BinX64Dir)\modules\System.Numerics.Vectors.dll" />
<File Source="$(var.BinX64Dir)\modules\System.Runtime.CompilerServices.Unsafe.dll" />
<File Source="$(var.BinX64Dir)\modules\System.Text.Encodings.Web.dll" />
<File Source="$(var.BinX64Dir)\modules\System.Text.Json.dll" />
<File Source="$(var.BinX64Dir)\modules\System.Threading.Tasks.Extensions.dll" />
<File Source="$(var.BinX64Dir)\modules\System.ValueTuple.dll" />
</Component>
<Component Id="Module_PowerRename" Guid="E4401D08-27FE-4F96-BA17-0C61FD79E684" Win64="yes">
<File Source="$(var.BinX64Dir)\modules\PowerRenameExt.dll" KeyPath="yes" />
<RegistryKey Root="HKCR" Key="CLSID\{0440049F-D1DC-4E46-B27B-98393D79486B}">
<RegistryValue Type="string" Value="PowerRename Shell Extension" />
<RegistryValue Type="string" Key="InprocServer32" Value="[ModulesInstallFolder]PowerRenameExt.dll" />
<RegistryValue Type="string" Key="InprocServer32" Name="ThreadingModel" Value="Apartment" />
</RegistryKey>
<RegistryKey Root="HKCR" Key="AllFileSystemObjects\ShellEx\ContextMenuHandlers\PowerRenameExt">
<RegistryValue Type="string" Value="{0440049F-D1DC-4E46-B27B-98393D79486B}"/>
</RegistryKey>
</Component>
<Component Id="Module_WindowWalker" Guid="0F96981C-5D36-4467-9515-71FB0CE72F6F" Win64="yes">
<File Source="$(var.BinX64Dir)\modules\WindowWalker.exe" />
<File Source="$(var.BinX64Dir)\modules\WindowWalker.dll" />
<File Source="$(var.BinX64Dir)\modules\MaterialDesignColors.dll" />
<File Source="$(var.BinX64Dir)\modules\MaterialDesignThemes.Wpf.dll" />
<File Source="$(var.BinX64Dir)modules\$(var.FancyZonesProjectName)\ControlzEx.dll" />
<File Source="$(var.BinX64Dir)modules\$(var.FancyZonesProjectName)\MahApps.Metro.dll" />
<File Source="$(var.BinX64Dir)modules\$(var.FancyZonesProjectName)\Microsoft.Xaml.Behaviors.dll" />
<File Source="$(var.BinX64Dir)modules\$(var.FancyZonesProjectName)\FancyZonesEditor.exe.config" />
<File Source="$(var.BinX64Dir)modules\$(var.FancyZonesProjectName)\Microsoft.Bcl.AsyncInterfaces.dll" />
<File Source="$(var.BinX64Dir)modules\$(var.FancyZonesProjectName)\System.Buffers.dll" />
<File Source="$(var.BinX64Dir)modules\$(var.FancyZonesProjectName)\System.Memory.dll" />
<File Source="$(var.BinX64Dir)modules\$(var.FancyZonesProjectName)\System.Numerics.Vectors.dll" />
<File Source="$(var.BinX64Dir)modules\$(var.FancyZonesProjectName)\System.Runtime.CompilerServices.Unsafe.dll" />
<File Source="$(var.BinX64Dir)modules\$(var.FancyZonesProjectName)\System.Text.Encodings.Web.dll" />
<File Source="$(var.BinX64Dir)modules\$(var.FancyZonesProjectName)\System.Text.Json.dll" />
<File Source="$(var.BinX64Dir)modules\$(var.FancyZonesProjectName)\System.Threading.Tasks.Extensions.dll" />
<File Source="$(var.BinX64Dir)modules\$(var.FancyZonesProjectName)\System.ValueTuple.dll" />
<File Source="$(var.BinX64Dir)modules\$(var.FancyZonesProjectName)\ManagedCommon.dll" />
<File Id="FancyZones_Telemetry.dll" Source="$(var.BinX64Dir)modules\$(var.FancyZonesProjectName)\Telemetry.dll" />
</Component>
</DirectoryRef>
<DirectoryRef Id="ModulesInstallFolder" FileSource="$(var.BinX64Dir)modules\">
<Component Id="Module_PowerPreview_PerUserRegistry" Guid="CD90ADC0-7CD5-4A62-B0AF-23545C1E6DD3" Win64="yes">
<!-- Added a separate component for Per-User registry changes -->
<!-- Registry Key for Class Registration of Svg Preview Handler -->
<RegistryKey Root="HKCR" Key="CLSID\{ddee2b8a-6807-48a6-bb20-2338174ff779}">
<RegistryValue Type="string" Value="SvgPreviewHandler.SvgPreviewHandler" />
<RegistryValue Type="string" Name="DisplayName" Value="Svg Preview Handler" />
<RegistryValue Type="string" Name="AppID" Value="{CF142243-F059-45AF-8842-DBBE9783DB14}" />
<RegistryValue Type="string" Key="Implemented Categories\{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29}" Value=""/>
<RegistryValue Type="string" Key="InprocServer32" Value="mscoree.dll" />
<RegistryValue Type="string" Key="InprocServer32" Name="Assembly" Value="SvgPreviewHandler, Version=$(var.Version).0, Culture=neutral" />
<RegistryValue Type="string" Key="InprocServer32" Name="Class" Value="SvgPreviewHandler.SvgPreviewHandler" />
<RegistryValue Type="string" Key="InprocServer32" Name="RuntimeVersion" Value="v4.0.30319" />
<RegistryValue Type="string" Key="InprocServer32" Name="ThreadingModel" Value="Both" />
<RegistryValue Type="string" Key="InprocServer32" Name="CodeBase" Value="file:///[FileExplorerPreviewInstallFolder]SvgPreviewHandler.dll" />
<RegistryValue Type="string" Key="InprocServer32\$(var.Version).0" Name="Assembly" Value="SvgPreviewHandler, Version=$(var.Version).0, Culture=neutral" />
<RegistryValue Type="string" Key="InprocServer32\$(var.Version).0" Name="Class" Value="SvgPreviewHandler.SvgPreviewHandler" />
<RegistryValue Type="string" Key="InprocServer32\$(var.Version).0" Name="RuntimeVersion" Value="v4.0.30319" />
<RegistryValue Type="string" Key="InprocServer32\$(var.Version).0" Name="CodeBase" Value="file:///[FileExplorerPreviewInstallFolder]SvgPreviewHandler.dll" />
</RegistryKey>
<!-- Registry Key for Class Registration of Markdown Preview Handler -->
<RegistryKey Root="HKCR" Key="CLSID\{45769bcc-e8fd-42d0-947e-02beef77a1f5}">
<RegistryValue Type="string" Value="MarkdownPreviewHandler.MarkdownPreviewHandler" />
<RegistryValue Type="string" Name="DisplayName" Value="Markdown Preview Handler" />
<RegistryValue Type="string" Name="AppID" Value="{CF142243-F059-45AF-8842-DBBE9783DB14}" />
<RegistryValue Type="string" Key="Implemented Categories\{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29}" Value="" />
<RegistryValue Type="string" Key="InprocServer32" Value="mscoree.dll" />
<RegistryValue Type="string" Key="InprocServer32" Name="Assembly" Value="MarkdownPreviewHandler, Version=$(var.Version).0, Culture=neutral" />
<RegistryValue Type="string" Key="InprocServer32" Name="Class" Value="MarkdownPreviewHandler.MarkdownPreviewHandler" />
<RegistryValue Type="string" Key="InprocServer32" Name="RuntimeVersion" Value="v4.0.30319" />
<RegistryValue Type="string" Key="InprocServer32" Name="ThreadingModel" Value="Both" />
<RegistryValue Type="string" Key="InprocServer32" Name="CodeBase" Value="file:///[FileExplorerPreviewInstallFolder]MarkdownPreviewHandler.dll" />
<RegistryValue Type="string" Key="InprocServer32\$(var.Version).0" Name="Assembly" Value="MarkdownPreviewHandler, Version=$(var.Version).0, Culture=neutral" />
<RegistryValue Type="string" Key="InprocServer32\$(var.Version).0" Name="Class" Value="MarkdownPreviewHandler.MarkdownPreviewHandler" />
<RegistryValue Type="string" Key="InprocServer32\$(var.Version).0" Name="RuntimeVersion" Value="v4.0.30319" />
<RegistryValue Type="string" Key="InprocServer32\$(var.Version).0" Name="CodeBase" Value="file:///[FileExplorerPreviewInstallFolder]MarkdownPreviewHandler.dll" />
</RegistryKey>
<!-- Registry Key for AppID registration -->
<RegistryKey Root="HKCR" Key="AppID\{CF142243-F059-45AF-8842-DBBE9783DB14}">
<RegistryValue Type="expandable" Name="DllSurrogate" Value="%SystemRoot%\system32\prevhost.exe" />
</RegistryKey>
<!-- Add Svg preview handler to preview handlers list -->
<RegistryKey Root="HKLM" Key="Software\Microsoft\Windows\CurrentVersion\PreviewHandlers">
<RegistryValue Type="string" Name="{ddee2b8a-6807-48a6-bb20-2338174ff779}" Value="Svg Preview Handler" />
</RegistryKey>
<!-- Add Markdown preview handler to preview handlers list -->
<RegistryKey Root="HKLM" Key="Software\Microsoft\Windows\CurrentVersion\PreviewHandlers">
<RegistryValue Type="string" Name="{45769bcc-e8fd-42d0-947e-02beef77a1f5}" Value="Markdown Preview Handler" />
</RegistryKey>
<!-- Add file type association for Svg Preview Handler -->
<RegistryKey Root="HKCR" Key=".svg\shellex">
<RegistryValue Type="string" Key="{8895b1c6-b41f-4c1c-a562-0d564250836f}" Value="{ddee2b8a-6807-48a6-bb20-2338174ff779}" />
</RegistryKey>
<!-- Add file type association for Markdown Preview Handler -->
<RegistryKey Root="HKCR" Key=".md\shellex">
<RegistryValue Type="string" Key="{8895b1c6-b41f-4c1c-a562-0d564250836f}" Value="{45769bcc-e8fd-42d0-947e-02beef77a1f5}" />
</RegistryKey>
<!-- Update Key to use IE11 for prevhost.exe -->
<RegistryKey Root="HKLM" Key="Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION">
<RegistryValue Type="integer" Name="prevhost.exe" Value="11000" />
</RegistryKey>
</Component>
</DirectoryRef>
<DirectoryRef Id="ImageResizerInstallFolder" FileSource="$(var.BinX64Dir)modules\$(var.ImageResizerProjectName)">
<Component Id="Module_ImageResizer" Guid="96E63289-759C-4A73-A56B-EE7429932F72" Win64="yes">
<File Source="$(var.BinX64Dir)\modules\ImageResizer.exe">
<File Source="$(var.BinX64Dir)modules\$(var.ImageResizerProjectName)\ImageResizer.exe">
<netfx:NativeImage Id="ImageResizer.exe" Platform="all" Priority="0" />
</File>
<File Source="$(var.BinX64Dir)\modules\GalaSoft.MvvmLight.dll" />
<File Source="$(var.BinX64Dir)\modules\GalaSoft.MvvmLight.Platform.dll" />
<File Source="$(var.BinX64Dir)\modules\GalaSoft.MvvmLight.Extras.dll" />
<File Source="$(var.BinX64Dir)\modules\System.Windows.Interactivity.dll">
<File Source="$(var.BinX64Dir)modules\$(var.ImageResizerProjectName)\GalaSoft.MvvmLight.dll" />
<File Source="$(var.BinX64Dir)modules\$(var.ImageResizerProjectName)\GalaSoft.MvvmLight.Platform.dll" />
<File Source="$(var.BinX64Dir)modules\$(var.ImageResizerProjectName)\GalaSoft.MvvmLight.Extras.dll" />
<File Source="$(var.BinX64Dir)modules\$(var.ImageResizerProjectName)\System.Windows.Interactivity.dll">
<!-- NB: Needed since it's only referenced in XAML. -->
<netfx:NativeImage Id="Interactivity" Platform="all" Priority="0"/>
</File>
<File Source="$(var.BinX64Dir)\modules\Newtonsoft.Json.dll" />
<File Source="$(var.BinX64Dir)\modules\ImageResizerExt.dll" KeyPath="yes" />
<File Source="$(var.BinX64Dir)modules\$(var.ImageResizerProjectName)\Newtonsoft.Json.dll" />
<File Source="$(var.BinX64Dir)modules\$(var.ImageResizerProjectName)\ImageResizerExt.dll" KeyPath="yes" />
<!-- VCRuntime -->
<?foreach File in vcruntime140.dll;vcruntime140_1.dll;concrt140.dll;msvcp140.dll;msvcp140_1.dll;msvcp140_2.dll;msvcp140_codecvt_ids.dll;vccorlib140.dll?>
<File Id="ImageResizer_$(var.File)" Source="$(var.RepoDir)installer\VCRuntime\$(var.File)" />
<?endforeach?>
</Component>
<Component Id="Module_ImageResizer_Registry" Guid="8B593E2C-2D9B-4EBC-93F7-A2B69707DAC9" Win64="yes">
<RegistryKey Root="HKCR" Key="CLSID\{51B4D7E5-7568-4234-B4BB-47FB3C016A69}\InprocServer32">
<RegistryValue Value="[ModulesInstallFolder]ImageResizerExt.dll" Type="string" />
<RegistryValue Value="[ImageResizerInstallFolder]ImageResizerExt.dll" Type="string" />
<RegistryValue Name="ThreadingModel" Value="Apartment" Type="string" />
</RegistryKey>
<!-- Registry Key for the drag and drop handler -->
@@ -409,81 +555,137 @@
Value="{51B4D7E5-7568-4234-B4BB-47FB3C016A69}"
Type="string" />
</Component>
<Component Id="Module_PowerPreview" Guid="FF1700D5-1B07-4E07-9A62-4D206645EEA9" Win64="yes">
<!-- Component to include PowerPreview Module Source dll's -->
<!-- File to include PowerPreview Module native dll -->
<File Source="$(var.BinX64Dir)\modules\powerpreview.dll" KeyPath="yes" />
<!-- File to include common library used by preview handlers -->
<File Source="$(var.BinX64Dir)\modules\PreviewHandlerCommon.dll" />
<!-- File to include dll for Svg Preview Handler -->
<File Source="$(var.BinX64Dir)\modules\SvgPreviewHandler.dll" />
<!-- Files to include dll's for Markdown Preview Handler and it's dependencies -->
<File Source="$(var.BinX64Dir)\modules\MarkdownPreviewHandler.dll" />
<File Source="$(var.BinX64Dir)\modules\Markdig.Signed.dll" />
<File Source="$(var.BinX64Dir)\modules\HtmlAgilityPack.dll" />
</Component>
<Component Id="Module_PowerPreview_PerUserRegistry" Guid="CD90ADC0-7CD5-4A62-B0AF-23545C1E6DD3" Win64="yes">
<!-- Added a separate component for Per-User registry changes -->
<!-- Registry Key for Class Registration of Svg Preview Handler -->
<RegistryKey Root="HKCR" Key="CLSID\{ddee2b8a-6807-48a6-bb20-2338174ff779}">
<RegistryValue Type="string" Value="SvgPreviewHandler.SvgPreviewHandler" />
<RegistryValue Type="string" Name="DisplayName" Value="Svg Preview Handler" />
<RegistryValue Type="string" Name="AppID" Value="{CF142243-F059-45AF-8842-DBBE9783DB14}" />
<RegistryValue Type="string" Key="Implemented Categories\{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29}" Value=""/>
<RegistryValue Type="string" Key="InprocServer32" Value="mscoree.dll" />
<RegistryValue Type="string" Key="InprocServer32" Name="Assembly" Value="SvgPreviewHandler, Version=$(var.Version).0, Culture=neutral" />
<RegistryValue Type="string" Key="InprocServer32" Name="Class" Value="SvgPreviewHandler.SvgPreviewHandler" />
<RegistryValue Type="string" Key="InprocServer32" Name="RuntimeVersion" Value="v4.0.30319" />
<RegistryValue Type="string" Key="InprocServer32" Name="ThreadingModel" Value="Both" />
<RegistryValue Type="string" Key="InprocServer32" Name="CodeBase" Value="file:///[ModulesInstallFolder]SvgPreviewHandler.dll" />
<RegistryValue Type="string" Key="InprocServer32\$(var.Version).0" Name="Assembly" Value="SvgPreviewHandler, Version=$(var.Version).0, Culture=neutral" />
<RegistryValue Type="string" Key="InprocServer32\$(var.Version).0" Name="Class" Value="SvgPreviewHandler.SvgPreviewHandler" />
<RegistryValue Type="string" Key="InprocServer32\$(var.Version).0" Name="RuntimeVersion" Value="v4.0.30319" />
<RegistryValue Type="string" Key="InprocServer32\$(var.Version).0" Name="CodeBase" Value="file:///[ModulesInstallFolder]SvgPreviewHandler.dll" />
</DirectoryRef>
<DirectoryRef Id="PowerRenameInstallFolder" FileSource="$(var.BinX64Dir)modules\$(var.PowerRenameProjectName)">
<Component Id="Module_PowerRename" Guid="E4401D08-27FE-4F96-BA17-0C61FD79E684" Win64="yes">
<File Source="$(var.BinX64Dir)modules\$(var.PowerRenameProjectName)\PowerRenameExt.dll" KeyPath="yes" />
<RegistryKey Root="HKCR" Key="CLSID\{0440049F-D1DC-4E46-B27B-98393D79486B}">
<RegistryValue Type="string" Value="PowerRename Shell Extension" />
<RegistryValue Type="string" Key="InprocServer32" Value="[PowerRenameInstallFolder]PowerRenameExt.dll" />
<RegistryValue Type="string" Key="InprocServer32" Name="ThreadingModel" Value="Apartment" />
</RegistryKey>
<!-- Registry Key for Class Registration of Markdown Preview Handler -->
<RegistryKey Root="HKCR" Key="CLSID\{45769bcc-e8fd-42d0-947e-02beef77a1f5}">
<RegistryValue Type="string" Value="MarkdownPreviewHandler.MarkdownPreviewHandler" />
<RegistryValue Type="string" Name="DisplayName" Value="Markdown Preview Handler" />
<RegistryValue Type="string" Name="AppID" Value="{CF142243-F059-45AF-8842-DBBE9783DB14}" />
<RegistryValue Type="string" Key="Implemented Categories\{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29}" Value="" />
<RegistryValue Type="string" Key="InprocServer32" Value="mscoree.dll" />
<RegistryValue Type="string" Key="InprocServer32" Name="Assembly" Value="MarkdownPreviewHandler, Version=$(var.Version).0, Culture=neutral" />
<RegistryValue Type="string" Key="InprocServer32" Name="Class" Value="MarkdownPreviewHandler.MarkdownPreviewHandler" />
<RegistryValue Type="string" Key="InprocServer32" Name="RuntimeVersion" Value="v4.0.30319" />
<RegistryValue Type="string" Key="InprocServer32" Name="ThreadingModel" Value="Both" />
<RegistryValue Type="string" Key="InprocServer32" Name="CodeBase" Value="file:///[ModulesInstallFolder]MarkdownPreviewHandler.dll" />
<RegistryValue Type="string" Key="InprocServer32\$(var.Version).0" Name="Assembly" Value="MarkdownPreviewHandler, Version=$(var.Version).0, Culture=neutral" />
<RegistryValue Type="string" Key="InprocServer32\$(var.Version).0" Name="Class" Value="MarkdownPreviewHandler.MarkdownPreviewHandler" />
<RegistryValue Type="string" Key="InprocServer32\$(var.Version).0" Name="RuntimeVersion" Value="v4.0.30319" />
<RegistryValue Type="string" Key="InprocServer32\$(var.Version).0" Name="CodeBase" Value="file:///[ModulesInstallFolder]MarkdownPreviewHandler.dll" />
</RegistryKey>
<!-- Registry Key for AppID registration -->
<RegistryKey Root="HKCR" Key="AppID\{CF142243-F059-45AF-8842-DBBE9783DB14}">
<RegistryValue Type="expandable" Name="DllSurrogate" Value="%SystemRoot%\system32\prevhost.exe" />
</RegistryKey>
<!-- Add Svg preview handler to preview handlers list -->
<RegistryKey Root="HKLM" Key="Software\Microsoft\Windows\CurrentVersion\PreviewHandlers">
<RegistryValue Type="string" Name="{ddee2b8a-6807-48a6-bb20-2338174ff779}" Value="Svg Preview Handler" />
</RegistryKey>
<!-- Add Markdown preview handler to preview handlers list -->
<RegistryKey Root="HKLM" Key="Software\Microsoft\Windows\CurrentVersion\PreviewHandlers">
<RegistryValue Type="string" Name="{45769bcc-e8fd-42d0-947e-02beef77a1f5}" Value="Markdown Preview Handler" />
</RegistryKey>
<!-- Add file type association for Svg Preview Handler -->
<RegistryKey Root="HKCR" Key=".svg\shellex">
<RegistryValue Type="string" Key="{8895b1c6-b41f-4c1c-a562-0d564250836f}" Value="{ddee2b8a-6807-48a6-bb20-2338174ff779}" />
</RegistryKey>
<!-- Add file type association for Markdown Preview Handler -->
<RegistryKey Root="HKCR" Key=".md\shellex">
<RegistryValue Type="string" Key="{8895b1c6-b41f-4c1c-a562-0d564250836f}" Value="{45769bcc-e8fd-42d0-947e-02beef77a1f5}" />
</RegistryKey>
<!-- Update Key to use IE11 for prevhost.exe -->
<RegistryKey Root="HKLM" Key="Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION">
<RegistryValue Type="integer" Name="prevhost.exe" Value="11000" />
<RegistryKey Root="HKCR" Key="AllFileSystemObjects\ShellEx\ContextMenuHandlers\PowerRenameExt">
<RegistryValue Type="string" Value="{0440049F-D1DC-4E46-B27B-98393D79486B}"/>
</RegistryKey>
</Component>
</DirectoryRef>
<DirectoryRef Id="ShortcutGuideInstallFolder" FileSource="$(var.BinX64Dir)modules\$(var.ShortcutGuideProjectName)\">
<Component Id="Module_ShortcutGuide" Guid="CBD0AC09-91D3-428E-B2B3-05745ADF3473" Win64="yes">
<File Source="$(var.BinX64Dir)modules\$(var.ShortcutGuideProjectName)\$(var.ShortcutGuideProjectName).dll" KeyPath="yes" />
</Component>
</DirectoryRef>
<DirectoryRef Id="KeyboardManagerInstallFolder" FileSource="$(var.BinX64Dir)modules\$(var.KeyboardManagerProjectName)\">
<Component Id="Module_KeyboardManager" Guid="9279BD82-786F-4F0B-8E49-DB484EE34C9B" Win64="yes">
<File Source="$(var.BinX64Dir)modules\$(var.KeyboardManagerProjectName)\KeyboardManager.dll" />
</Component>
</DirectoryRef>
<DirectoryRef Id="FileExplorerPreviewInstallFolder" FileSource="$(var.RepoDir)\modules\FileExplorerPreview\">
<Component Id="Module_PowerPreview" Guid="FF1700D5-1B07-4E07-9A62-4D206645EEA9" Win64="yes">
<!-- Component to include PowerPreview Module Source dll's -->
<!-- File to include PowerPreview Module native dll -->
<File Source="$(var.BinX64Dir)modules\FileExplorerPreview\powerpreview.dll" KeyPath="yes" />
<!-- File to include common library used by preview handlers -->
<File Source="$(var.BinX64Dir)modules\FileExplorerPreview\PreviewHandlerCommon.dll" />
<File Source="$(var.BinX64Dir)modules\FileExplorerPreview\Telemetry.dll" />
<!-- File to include dll for Svg Preview Handler -->
<File Source="$(var.BinX64Dir)modules\FileExplorerPreview\SvgPreviewHandler.dll" />
<!-- Files to include dll's for Markdown Preview Handler and it's dependencies -->
<File Source="$(var.BinX64Dir)modules\FileExplorerPreview\MarkdownPreviewHandler.dll" />
<File Source="$(var.BinX64Dir)modules\FileExplorerPreview\Markdig.Signed.dll" />
<File Source="$(var.BinX64Dir)modules\FileExplorerPreview\HtmlAgilityPack.dll" />
<!-- Dependencies generated by Markdig.Signed v0.20 -->
<File Id="FileExplorerPreview_Buffers" Source="$(var.BinX64Dir)modules\FileExplorerPreview\System.Buffers.dll" />
<File Id="FileExplorerPreview_Memory" Source="$(var.BinX64Dir)modules\FileExplorerPreview\System.Memory.dll" />
<File Id="FileExplorerPreview_Numerics" Source="$(var.BinX64Dir)modules\FileExplorerPreview\System.Numerics.Vectors.dll" />
<File Id="FileExplorerPreview_Unsafe" Source="$(var.BinX64Dir)modules\FileExplorerPreview\System.Runtime.CompilerServices.Unsafe.dll" />
</Component>
</DirectoryRef>
<!-- SettingsV2 components -->
<DirectoryRef Id="SettingsV2InstallFolder" FileSource="$(var.BinX64Dir)SettingsUIRunner\">
<Component Id="SettingsV2" Guid="4B108DC0-4B2C-4AC4-AAA9-1B2DC8399F7C" Win64="yes">
<!-- exe -->
<File Source="$(var.BinX64Dir)SettingsUIRunner\Microsoft.PowerToys.Settings.UI.Runner.exe"/>
<File Source="$(var.BinX64Dir)SettingsUIRunner\Microsoft.PowerToys.Settings.UI.exe"/>
<!-- dll -->
<?foreach File in concrt140_app.dll;Microsoft.Bcl.AsyncInterfaces.dll;Microsoft.PowerToys.Settings.UI.Lib.dll;Microsoft.PowerToys.Settings.UI.Runner.dll;Microsoft.Toolkit.dll;Microsoft.Toolkit.Uwp.dll;Microsoft.Toolkit.Uwp.UI.dll;Microsoft.Toolkit.Win32.UI.XamlHost.dll;Microsoft.Toolkit.Win32.UI.XamlHost.Managed.dll;Microsoft.Toolkit.Wpf.UI.Controls.dll;Microsoft.Toolkit.Wpf.UI.XamlHost.dll;Microsoft.UI.Xaml.dll;Microsoft.Xaml.Interactions.dll;Microsoft.Xaml.Interactivity.dll;msvcp140_1_app.dll;msvcp140_2_app.dll;msvcp140_app.dll;Newtonsoft.Json.dll;PowerToysInterop.dll;System.Runtime.CompilerServices.Unsafe.dll;System.Runtime.dll;System.Text.Encodings.Web.dll;System.Text.Json.dll;vcamp140_app.dll;vccorlib140_app.dll;vcomp140_app.dll;vcruntime140_1_app.dll;vcruntime140_app.dll;Telemetry.dll;ManagedCommon.dll?>
<File Id="SettingsV2_$(var.File)" Source="$(var.BinX64Dir)SettingsUIRunner\$(var.File)" />
<?endforeach?>
<!-- json -->
<File Source="$(var.BinX64Dir)SettingsUIRunner\Microsoft.PowerToys.Settings.UI.Runner.deps.json"/>
<File Source="$(var.BinX64Dir)SettingsUIRunner\Microsoft.PowerToys.Settings.UI.Runner.runtimeconfig.json"/>
<!-- png -->
<File Id="SettingsV2_NoiseAsset_256x256_PNG.png" Source="$(var.BinX64Dir)SettingsUIRunner\NoiseAsset_256x256_PNG.png"/>
<!-- pri -->
<?foreach File in Microsoft.Toolkit.Uwp.pri;Microsoft.Toolkit.Uwp.UI.pri;Microsoft.Toolkit.Win32.UI.XamlHost.pri;Microsoft.UI.Xaml.pri;Microsoft.Xaml.Interactions.pri;Microsoft.Xaml.Interactivity.pri;resources.pri?>
<File Id="SettingsV2_$(var.File)" Source="$(var.BinX64Dir)SettingsUIRunner\$(var.File)" />
<?endforeach?>
<!-- winmd -->
<File Id="SettingsV2_Microsoft.Toolkit.Win32.UI.XamlHost.winmd" Source="$(var.BinX64Dir)SettingsUIRunner\Microsoft.Toolkit.Win32.UI.XamlHost.winmd"/>
<File Id="SettingsV2_Microsoft.UI.Xaml.winmd" Source="$(var.BinX64Dir)SettingsUIRunner\Microsoft.UI.Xaml.winmd"/>
<!-- xbf -->
<File Id="SettingsV2_App.xbf" Source="$(var.BinX64Dir)SettingsUIRunner\App.xbf"/>
<!-- xml -->
<File Id="SettingsV2_Microsoft.PowerToys.Settings.UI.xr.xml" Source="$(var.BinX64Dir)SettingsUIRunner\Microsoft.PowerToys.Settings.UI.xr.xml"/>
<File Id="SettingsV2_Microsoft.Toolkit.Win32.UI.XamlHost.xml" Source="$(var.BinX64Dir)SettingsUIRunner\Microsoft.Toolkit.Win32.UI.XamlHost.xml"/>
<!-- VCRuntime -->
<?foreach File in vcruntime140.dll;vcruntime140_1.dll;concrt140.dll;msvcp140.dll;msvcp140_1.dll;msvcp140_2.dll;msvcp140_codecvt_ids.dll;vccorlib140.dll?>
<File Id="SettingsV2_$(var.File)" Source="$(var.RepoDir)installer\VCRuntime\$(var.File)" />
<?endforeach?>
</Component>
</DirectoryRef>
<DirectoryRef Id="SettingsV2AssetsInstallFolder" FileSource="$(var.BinX64Dir)SettingsUIRunner\Assets">
<Component Id="SettingsV2Assets" Guid="705B863B-D813-49B9-BAA1-210DA913F765" Win64="yes">
<?foreach File in Logo.scale-200.png;SplashScreen.png;StoreLogo.scale-100.png?>
<File Source="$(var.BinX64Dir)SettingsUIRunner\Assets\$(var.File)" />
<?endforeach?>
<File Id="SettingsV2_StoreLogo" Source="$(var.BinX64Dir)SettingsUIRunner\Assets\StoreLogo.png" />
<File Id="Square150x150Logo" Source="$(var.BinX64Dir)SettingsUIRunner\Assets\Square150x150Logo.scale-200.png" />
<File Id="Square44x44Logo_targetsize_24_altform_unplated" Source="$(var.BinX64Dir)SettingsUIRunner\Assets\Square44x44Logo.targetsize-24_altform-unplated.png" />
<File Id="Wide310x150Logo" Source="$(var.BinX64Dir)SettingsUIRunner\Assets\Wide310x150Logo.scale-200.png" />
<File Id="Square44x44Logo" Source="$(var.BinX64Dir)SettingsUIRunner\Assets\Square44x44Logo.scale-200.png" />
</Component>
</DirectoryRef>
<DirectoryRef Id="SettingsV2ControlsInstallFolder" FileSource="$(var.BinX64Dir)SettingsUIRunner\Controls">
<Component Id="SettingsV2Controls" Guid="05C55C88-B59A-4450-A07C-EB7626E0781A" Win64="yes">
<?foreach File in HotkeySettingsControl.xbf?>
<File Id="SettingsV2_Controls_$(var.File)" Source="$(var.BinX64Dir)SettingsUIRunner\Controls\$(var.File)" />
<?endforeach?>
</Component>
</DirectoryRef>
<DirectoryRef Id="SettingsV2PropertiesInstallFolder" FileSource="$(var.BinX64Dir)SettingsUIRunner\Properties">
<Component Id="SettingsV2Properties" Guid="8F910A41-B27B-4289-8FAC-9AB34F070CF6" Win64="yes">
<?foreach File in Default.rd.xml?>
<File Id="SettingsV2_Properties_$(var.File)" Source="$(var.BinX64Dir)SettingsUIRunner\Properties\$(var.File)" />
<?endforeach?>
</Component>
</DirectoryRef>
<DirectoryRef Id="SettingsV2StylesInstallFolder" FileSource="$(var.BinX64Dir)SettingsUIRunner\Styles">
<Component Id="SettingsV2Styles" Guid="44B5C0E0-76DA-4604-BB86-FCD27A00EB71" Win64="yes">
<?foreach File in Page.xbf;TextBlock.xbf;_Colors.xbf;_FontSizes.xbf;_Sizes.xbf;_Thickness.xbf;Button.xbf?>
<File Id="SettingsV2_Styles_$(var.File)" Source="$(var.BinX64Dir)SettingsUIRunner\Styles\$(var.File)" />
<?endforeach?>
</Component>
</DirectoryRef>
<DirectoryRef Id="SettingsV2ViewsInstallFolder" FileSource="$(var.BinX64Dir)SettingsUIRunner\Views">
<Component Id="SettingsV2Views" Guid="C140BFBA-6370-4F67-862C-5B42660385CD" Win64="yes">
<?foreach File in FancyZonesPage.xbf;GeneralPage.xbf;ImageResizerPage.xbf;KeyboardManagerPage.xbf;PowerLauncherPage.xbf;PowerPreviewPage.xbf;PowerRenamePage.xbf;ShellPage.xbf;ShortcutGuidePage.xbf?>
<File Id="SettingsV2_Views_$(var.File)" Source="$(var.BinX64Dir)SettingsUIRunner\Views\$(var.File)" />
<?endforeach?>
</Component>
</DirectoryRef>
<DirectoryRef Id="SettingsV2XamlAssetsInstallFolder" FileSource="$(var.BinX64Dir)SettingsUIRunner\Microsoft.UI.Xaml\Assets">
<Component Id="SettingsV2XamlAssets" Guid="98A136DB-C1BD-42B1-9AB4-0E16F0ECE86A" Win64="yes">
<?foreach File in NoiseAsset_256X256_PNG.png?>
<File Id="SettingsV2_XamlAssets_$(var.File)" Source="$(var.BinX64Dir)SettingsUIRunner\Microsoft.UI.Xaml\Assets\$(var.File)" />
<?endforeach?>
</Component>
</DirectoryRef>
<DirectoryRef Id="SettingsHtmlInstallFolder" FileSource="$(var.RepoDir)\settings\settings-html\">
<Component Id="settings_html" Guid="87881A99-E917-4B0D-B1D8-5C6EB9709F96" Win64="yes">
<File Source="$(var.RepoDir)\src\settings\settings-html\index.html" KeyPath="yes" />
@@ -525,6 +727,10 @@
<ComponentRef Id="action_runner_exe" />
<ComponentRef Id="powertoys_toast_clsid" />
<ComponentRef Id="License_rtf" />
<ComponentRef Id="Notice_md" />
<ComponentRef Id="powertoysinterop_dll" />
<ComponentRef Id="osDetection_dll" />
<ComponentRef Id="vcredist_dlls" />
<ComponentRef Id="PowerToysSvgs" />
<ComponentRef Id="Module_ShortcutGuide" />
<ComponentRef Id="Module_FancyZones" />
@@ -534,7 +740,14 @@
<ComponentRef Id="Module_ImageResizer_Registry" />
<ComponentRef Id="Module_PowerPreview" />
<ComponentRef Id="Module_PowerPreview_PerUserRegistry" />
<ComponentRef Id="Module_WindowWalker" />
<ComponentRef Id="Module_KeyboardManager" />
<ComponentRef Id="SettingsV2" />
<ComponentRef Id="SettingsV2Assets" />
<ComponentRef Id="SettingsV2Controls" />
<ComponentRef Id="SettingsV2Properties" />
<ComponentRef Id="SettingsV2Styles" />
<ComponentRef Id="SettingsV2Views" />
<ComponentRef Id="SettingsV2XamlAssets" />
<ComponentRef Id="settings_exe" />
<ComponentRef Id="settings_html" />
<ComponentRef Id="settings_dark_html" />
@@ -558,10 +771,192 @@
<?define IdSafeLanguage = $(var.Language)?>
<?endif?>
<Component Id="Resources_$(var.IdSafeLanguage)_Component" Directory="Resources$(var.IdSafeLanguage)Folder">
<File Id="Resources_ImageResizer_$(var.IdSafeLanguage)_File" Source="$(var.BinX64Dir)\modules\$(var.Language)\ImageResizer.resources.dll" />
<File Id="Resources_ImageResizer_$(var.IdSafeLanguage)_File" Source="$(var.BinX64Dir)modules\$(var.ImageResizerProjectName)\$(var.Language)\ImageResizer.resources.dll" />
</Component>
<?undef IdSafeLanguage?>
<?endforeach?>
</ComponentGroup>
</Fragment>
</Wix>
<Fragment>
<ComponentGroup Id="LauncherComponents">
<Component Id="launcherInstallComponent" Directory="LauncherInstallFolder" Guid="5E688DB4-C522-4268-BA54-ED1CDFFE9DB6">
<File Source="$(var.BinX64Dir)modules\Launcher\Microsoft.Launcher.dll" />
<?foreach File in concrt140_app.dll;ICSharpCode.SharpZipLib.dll;JetBrains.Annotations.dll;Mages.Core.dll;Microsoft.Search.Interop.dll;EntityFramework.SqlServer.dll;EntityFramework.dll;Mono.Cecil.dll;Mono.Cecil.Mdb.dll;Mono.Cecil.Pdb.dll;Mono.Cecil.Rocks.dll;msvcp140_1_app.dll;msvcp140_2_app.dll;msvcp140_app.dll;Newtonsoft.Json.dll;NLog.dll;NLog.Extensions.Logging.dll;Pinyin4Net.dll;PowerLauncher.deps.json;PowerLauncher.dll;PowerLauncher.exe;Microsoft.Xaml.Behaviors.dll;System.Text.Json.dll;sni.dll;System.Data.SQLite.EF6.dll;PowerLauncher.runtimeconfig.json;SQLite.Interop.dll;System.Data.OleDb.dll;System.Data.SqlClient.dll;System.Data.SQLite.dll;vcamp140_app.dll;vccorlib140_app.dll;vcomp140_app.dll;vcruntime140_1_app.dll;vcruntime140_app.dll;WindowsInput.dll;Wox.Core.dll;Wox.dll;Wox.Infrastructure.dll;Wox.Plugin.dll;PowerToysInterop.dll;Telemetry.dll;PowerLauncher.Telemetry.dll;PropertyChanged.dll;Microsoft.Extensions.Configuration.Abstractions.dll;Microsoft.Extensions.Configuration.Binder.dll;Microsoft.Extensions.Configuration.dll;Microsoft.Extensions.DependencyInjection.Abstractions.dll;Microsoft.Extensions.DependencyInjection.dll;Microsoft.Extensions.Logging.Abstractions.dll;Microsoft.Extensions.Logging.dll;Microsoft.Extensions.Options.dll;Microsoft.Extensions.Primitives.dll;ControlzEx.dll;MahApps.Metro.dll;ManagedCommon.dll?>
<File Id="File_$(var.File)" Source="$(var.BinX64Dir)modules\launcher\$(var.File)" />
<?endforeach?>
<File Source="$(var.BinX64Dir)SettingsUIRunner\Microsoft.PowerToys.Settings.UI.Lib.dll" />
<!-- VCRuntime -->
<?foreach File in vcruntime140.dll;vcruntime140_1.dll;concrt140.dll;msvcp140.dll;msvcp140_1.dll;msvcp140_2.dll;msvcp140_codecvt_ids.dll;vccorlib140.dll?>
<File Id="File_$(var.File)" Source="$(var.RepoDir)installer\VCRuntime\$(var.File)" />
<?endforeach?>
</Component>
<Component Id="launcherImagesComponent" Directory="LauncherImagesFolder" Guid="D254220C-1DD9-4C74-8810-1AAB2F940DE8">
<?foreach File in app.png;app_error.png;Browser.png;calculator.png;cancel.png;close.png;cmd.png;color.png;copy.png;down.png;EXE.png;file.png;find.png;folder.png;history.png;image.png;Link.png;lock.png;logoff.png;ok.png;open.png;plugin.png;recyclebin.png;restart.png;search.png;settings.png;shutdown.png;sleep.png;up.png;update.png;warning.png?>
<File Id="File_$(var.File)" Source="$(var.BinX64Dir)modules\launcher\Images\$(var.File)" />
<?endforeach?>
<File Source="$(var.BinX64Dir)modules\launcher\Images\New Message.png" />
</Component>
<Component Id="launcherpinyinComponent" Directory="LauncherpinyindbFolder" Guid="F9EA53C7-D6AE-4E62-9800-0D32FBBD9F65">
<?foreach File in pinyin_gwoyeu_mapping.xml;pinyin_mapping.xml;unicode_to_hanyu_pinyin.txt?>
<File Source="$(var.BinX64Dir)modules\launcher\pinyindb\$(var.File)" />
<?endforeach?>
</Component>
<!-- Calculator Plugin -->
<Component Id="calculatorComponent" Directory="CalculatorPluginFolder" Guid="19DE1022-583C-4969-9AFC-D43CB944003D">
<?foreach File in plugin.json;Wox.Infrastructure.dll;Microsoft.Plugin.Calculator.deps.json;Microsoft.Plugin.Calculator.dll;Wox.Plugin.dll;Telemetry.dll?>
<File Id="Calculator_$(var.File)" Source="$(var.BinX64Dir)modules\launcher\Plugins\Microsoft.Plugin.Calculator\$(var.File)" />
<?endforeach?>
</Component>
<Component Id="calculatorImagesComponent" Directory="CalculatorImagesFolder" Guid="07EC9232-CF9A-4CDB-8D8E-E79DC75096C0">
<File Id="calculatorPluginImg_calculator_light" Source="$(var.BinX64Dir)modules\launcher\Plugins\Microsoft.Plugin.Calculator\Images\calculator_light.png" />
<File Id="calculatorPluginImg_calculator_dark" Source="$(var.BinX64Dir)modules\launcher\Plugins\Microsoft.Plugin.Calculator\Images\calculator_dark.png" />
</Component>
<Component Id="calculatorLanguagesComponent" Directory="CalculatorLanguagesFolder" Guid="2D8019E7-664F-4529-9FAA-83C8DACF0732">
<?foreach LanguageFile in de.xaml;en.xaml;pl.xaml;tr.xaml;zh-cn.xaml;zh-tw.xaml?>
<!--NB: Ids can't contain hyphens-->
<?if $(var.LanguageFile) = zh-cn.xaml?>
<?define IdSafeLanguage = zh_cn.xaml?>
<?elseif $(var.LanguageFile) = zh-tw.xaml?>
<?define IdSafeLanguage = zh_tw.xaml?>
<?else?>
<?define IdSafeLanguage = $(var.LanguageFile)?>
<?endif?>
<File Id="File_calc_Plugin_$(var.IdSafeLanguage)" Source="$(var.BinX64Dir)modules\launcher\Plugins\Microsoft.Plugin.Calculator\Languages\$(var.LanguageFile)" />
<?undef IdSafeLanguage?>
<?endforeach?>
</Component>
<Component Id="calculatorpinyindbComponent" Directory="CalculatorpinyindbFolder" Guid="D5527670-BE9A-4AA9-9D36-1249F2184B5B">
<?foreach File in pinyin_gwoyeu_mapping.xml;pinyin_mapping.xml;unicode_to_hanyu_pinyin.txt?>
<File Id="CalcPlugin_$(var.File)" Source="$(var.BinX64Dir)modules\launcher\Plugins\Microsoft.Plugin.Calculator\pinyindb\$(var.File)" />
<?endforeach?>
</Component>
<!-- Folder Plugin -->
<Component Id="FolderComponent" Directory="FolderPluginFolder" Guid="453D6C29-8F0D-46EC-B210-82E6AF547039">
<?foreach File in plugin.json;Wox.Infrastructure.dll;Microsoft.Plugin.Folder.deps.json;Microsoft.Plugin.Folder.dll;Wox.Plugin.dll;Telemetry.dll?>
<File Id="Folder_$(var.File)" Source="$(var.BinX64Dir)modules\launcher\Plugins\Microsoft.Plugin.Folder\$(var.File)" />
<?endforeach?>
</Component>
<Component Id="FolderImagesComponent" Directory="FolderPluginImagesFolder" Guid="6C5226EB-E312-4768-B4D1-B1D3ACFCCBDF">
<?foreach File in copy.png;deletefilefolder.png;file.png;folder.png;user.png?>
<File Id="FolderPlugin_$(var.File)" Source="$(var.BinX64Dir)modules\launcher\Plugins\Microsoft.Plugin.Folder\Images\$(var.File)" />
<?endforeach?>
</Component>
<Component Id="FolderPluginLanguagesComponent" Directory="FolderPluginLanguagesFolder" Guid="6316D847-5FD2-488B-A60E-5517BF95A25C">
<?foreach LanguageFile in de.xaml;en.xaml;pl.xaml;tr.xaml;zh-cn.xaml;zh-tw.xaml?>
<!--NB: Ids can't contain hyphens-->
<?if $(var.LanguageFile) = zh-cn.xaml?>
<?define IdSafeLanguage = zh_cn.xaml?>
<?elseif $(var.LanguageFile) = zh-tw.xaml?>
<?define IdSafeLanguage = zh_tw.xaml?>
<?else?>
<?define IdSafeLanguage = $(var.LanguageFile)?>
<?endif?>
<File Id="File_Folder_Plugin_$(var.IdSafeLanguage)" Source="$(var.BinX64Dir)modules\launcher\Plugins\Microsoft.Plugin.Folder\Languages\$(var.LanguageFile)" />
<?undef IdSafeLanguage?>
<?endforeach?>
</Component>
<Component Id="FolderPluginpinyindbComponent" Directory="FolderPluginpinyindbFolder" Guid="233BE087-B9DC-408A-8809-593C42DE8B1B">
<?foreach File in pinyin_gwoyeu_mapping.xml;pinyin_mapping.xml;unicode_to_hanyu_pinyin.txt?>
<File Id="FolderPlugin_$(var.File)" Source="$(var.BinX64Dir)modules\launcher\Plugins\Microsoft.Plugin.Folder\pinyindb\$(var.File)" />
<?endforeach?>
</Component>
<!-- Program Plugin -->
<Component Id="ProgramComponent" Directory="ProgramPluginFolder" Guid="3C5CA6E6-3D36-4F4E-B40E-38AA5E5CB799">
<?foreach File in plugin.json;Wox.Infrastructure.dll;Wox.Plugin.dll;Microsoft.Plugin.Program.deps.json;Microsoft.Plugin.Program.dll;Telemetry.dll?>
<File Id="Program_$(var.File)" Source="$(var.BinX64Dir)modules\launcher\Plugins\Microsoft.Plugin.Program\$(var.File)" />
<?endforeach?>
</Component>
<Component Id="ProgramImagesComponent" Directory="ProgramImagesFolder" Guid="30D357F5-406F-47D1-BEFE-6022746469B4">
<?foreach File in cmd.png;disable.png;folder.png;program.png;user.png?>
<File Id="Program_$(var.File)" Source="$(var.BinX64Dir)modules\launcher\Plugins\Microsoft.Plugin.Program\Images\$(var.File)" />
<?endforeach?>
</Component>
<Component Id="ProgramLanguagesComponent" Directory="ProgramLanguagesFolder" Guid="EBFF53B6-3602-4F55-8784-FC7DB29D3D62">
<?foreach LanguageFile in de.xaml;en.xaml;pl.xaml;tr.xaml;zh-cn.xaml;zh-tw.xaml?>
<!--NB: Ids can't contain hyphens-->
<?if $(var.LanguageFile) = zh-cn.xaml?>
<?define IdSafeLanguage = zh_cn.xaml?>
<?elseif $(var.LanguageFile) = zh-tw.xaml?>
<?define IdSafeLanguage = zh_tw.xaml?>
<?else?>
<?define IdSafeLanguage = $(var.LanguageFile)?>
<?endif?>
<File Id="File_Program_Plugin_$(var.IdSafeLanguage)" Source="$(var.BinX64Dir)modules\launcher\Plugins\Microsoft.Plugin.Program\Languages\$(var.LanguageFile)" />
<?undef IdSafeLanguage?>
<?endforeach?>
</Component>
<Component Id="ProgrampinyindbComponent" Directory="ProgrampinyindbFolder" Guid="65A488C3-C67D-45F7-9654-6DF529AEEB3F">
<?foreach File in pinyin_gwoyeu_mapping.xml;pinyin_mapping.xml;unicode_to_hanyu_pinyin.txt?>
<File Id="ProgramPlugin_$(var.File)" Source="$(var.BinX64Dir)modules\launcher\Plugins\Microsoft.Plugin.Program\pinyindb\$(var.File)" />
<?endforeach?>
</Component>
<!-- Shell Plugin -->
<Component Id="ShellComponent" Directory="ShellPluginFolder" Guid="6D3D7294-1804-47C9-83E5-47A8867F3801">
<?foreach File in plugin.json;Wox.Infrastructure.dll;Wox.Plugin.dll;Microsoft.Plugin.Shell.deps.json;Microsoft.Plugin.Shell.dll;Telemetry.dll?>
<File Id="Shell_$(var.File)" Source="$(var.BinX64Dir)modules\launcher\Plugins\Microsoft.Plugin.Shell\$(var.File)" />
<?endforeach?>
</Component>
<Component Id="ShellImagesComponent" Directory="ShellImagesFolder" Guid="15B5DBAE-E7C1-4BF7-A29E-6CE76242F8F4">
<File Id="ShellPluginImg" Source="$(var.BinX64Dir)modules\launcher\Plugins\Microsoft.Plugin.Shell\Images\shell.png" />
<File Id="ShellPluginUserImg" Source="$(var.BinX64Dir)modules\launcher\Plugins\Microsoft.Plugin.Shell\Images\user.png" />
</Component>
<Component Id="ShellLanguagesComponent" Directory="ShellLanguagesFolder" Guid="4190F789-8A66-46AA-B920-C76CB29277D7">
<?foreach LanguageFile in de.xaml;en.xaml;pl.xaml;tr.xaml;zh-cn.xaml;zh-tw.xaml?>
<!--NB: Ids can't contain hyphens-->
<?if $(var.LanguageFile) = zh-cn.xaml?>
<?define IdSafeLanguage = zh_cn.xaml?>
<?elseif $(var.LanguageFile) = zh-tw.xaml?>
<?define IdSafeLanguage = zh_tw.xaml?>
<?else?>
<?define IdSafeLanguage = $(var.LanguageFile)?>
<?endif?>
<File Id="File_Shell_Plugin_$(var.IdSafeLanguage)" Source="$(var.BinX64Dir)modules\launcher\Plugins\Microsoft.Plugin.Shell\Languages\$(var.LanguageFile)" />
<?undef IdSafeLanguage?>
<?endforeach?>
</Component>
<Component Id="ShellpinyindbComponent" Directory="ShellpinyindbFolder" Guid="A60742F3-2187-47F2-A5B5-300E44837DD7">
<?foreach File in pinyin_gwoyeu_mapping.xml;pinyin_mapping.xml;unicode_to_hanyu_pinyin.txt?>
<File Id="ShellPlugin_$(var.File)" Source="$(var.BinX64Dir)modules\launcher\Plugins\Microsoft.Plugin.Shell\pinyindb\$(var.File)" />
<?endforeach?>
</Component>
<!-- Indexer Plugin -->
<Component Id="IndexerComponent" Directory="IndexerPluginFolder" Guid="FEA9816A-B4F7-42CC-99AF-B05F3E7F7EBF">
<?foreach File in Microsoft.Plugin.Indexer.deps.json;Microsoft.Plugin.Indexer.dll;plugin.json;Wox.Infrastructure.dll;Telemetry.dll?>
<File Id="Indexer_$(var.File)" Source="$(var.BinX64Dir)modules\launcher\Plugins\Microsoft.Plugin.Indexer\$(var.File)" />
<?endforeach?>
</Component>
<Component Id="IndexerImagesComponent" Directory="IndexerImagesFolder" Guid="DB2E8D49-D104-425B-9616-952AC8CAB676">
<File Id="IndexerPluginImg" Source="$(var.BinX64Dir)modules\launcher\Plugins\Microsoft.Plugin.Indexer\Images\WindowsIndexerImg.bmp" />
</Component>
<Component Id="IndexerpinyindbComponent" Directory="IndexerpinyindbFolder" Guid="48DE333A-80F8-400A-87F4-244DF0A2DB05">
<?foreach File in pinyin_gwoyeu_mapping.xml;pinyin_mapping.xml;unicode_to_hanyu_pinyin.txt?>
<File Id="IndexerPlugin_$(var.File)" Source="$(var.BinX64Dir)modules\launcher\Plugins\Microsoft.Plugin.Indexer\pinyindb\$(var.File)" />
<?endforeach?>
</Component>
<!-- WindowWalker Plugin -->
<Component Id="WindowWalkerComponent" Directory="WindowWalkerPluginFolder" Guid="EB1391C9-B701-421F-80FC-ABB2FEDFAD19">
<?foreach File in plugin.json;Wox.Infrastructure.dll;Wox.Plugin.dll;Microsoft.Plugin.WindowWalker.deps.json;Microsoft.Plugin.WindowWalker.dll;Telemetry.dll?>
<File Id="WindowWalker_$(var.File)" Source="$(var.BinX64Dir)modules\launcher\Plugins\Microsoft.Plugin.WindowWalker\$(var.File)" />
<?endforeach?>
</Component>
<Component Id="WindowWalkerImagesComponent" Directory="WindowWalkerImagesFolder" Guid="3944A7F5-77F4-4979-9911-EDE709B2F509">
<File Id="WindowWalkerIcon" Source="$(var.BinX64Dir)modules\launcher\Plugins\Microsoft.Plugin.WindowWalker\Images\windowwalker.png" />
</Component>
<Component Id="WindowWalkerLanguagesComponent" Directory="WindowWalkerLanguagesFolder" Guid="7D9471D9-5C0A-4BD1-9A01-BAB65DD58834">
<File Id="WindowWalkerLanguage" Source="$(var.BinX64Dir)modules\launcher\Plugins\Microsoft.Plugin.WindowWalker\Languages\en.xaml" />
</Component>
<Component Id="WindowWalkerpinyindbComponent" Directory="WindowWalkerpinyindbFolder" Guid="02C7A758-CDD4-4E27-9EC7-2ED68DC444B0">
<?foreach File in pinyin_gwoyeu_mapping.xml;pinyin_mapping.xml;unicode_to_hanyu_pinyin.txt?>
<File Id="WindowWalkerPlugin_$(var.File)" Source="$(var.BinX64Dir)modules\launcher\Plugins\Microsoft.Plugin.WindowWalker\pinyindb\$(var.File)" />
<?endforeach?>
</Component>
</ComponentGroup>
</Fragment>
</Wix>

View File

@@ -0,0 +1,63 @@
setlocal enableDelayedExpansion
IF NOT DEFINED PTRoot (SET PTRoot=..\..)
rem Publish Settings
SET settingsProfileFolderName=!PTRoot!\src\core\Microsoft.PowerToys.Settings.UI.Runner\Properties\PublishProfiles\
rem Create the publish profile folder if it doesn't exist
IF NOT EXIST !settingsProfileFolderName! (mkdir !settingsProfileFolderName!)
SET settingsProfileFileName=SettingsProfile.pubxml
SET settingsPublishProfile=!settingsProfileFolderName!!settingsProfileFileName!
rem Create the publish profile pubxml
echo ^<?xml version="1.0" encoding="utf-8"?^> > !settingsPublishProfile!
echo ^<^^!-- >> !settingsPublishProfile!
echo https://go.microsoft.com/fwlink/?LinkID=208121. >> !settingsPublishProfile!
echo --^> >> !settingsPublishProfile!
echo ^<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"^> >> !settingsPublishProfile!
echo ^<PropertyGroup^> >> !settingsPublishProfile!
echo ^<PublishProtocol^>FileSystem^</PublishProtocol^> >> !settingsPublishProfile!
echo ^<Configuration^>Release^</Configuration^> >> !settingsPublishProfile!
echo ^<Platform^>x64^</Platform^> >> !settingsPublishProfile!
echo ^<TargetFramework^>netcoreapp3.1^</TargetFramework^> >> !settingsPublishProfile!
echo ^<PublishDir^>..\..\..\x64\Release\SettingsUIRunner^</PublishDir^> >> !settingsPublishProfile!
echo ^<RuntimeIdentifier^>win-x64^</RuntimeIdentifier^> >> !settingsPublishProfile!
echo ^<SelfContained^>false^</SelfContained^> >> !settingsPublishProfile!
echo ^<PublishSingleFile^>False^</PublishSingleFile^> >> !settingsPublishProfile!
echo ^<PublishReadyToRun^>False^</PublishReadyToRun^> >> !settingsPublishProfile!
echo ^</PropertyGroup^> >> !settingsPublishProfile!
echo ^</Project^> >> !settingsPublishProfile!
rem In case of Release we should not use Debug CRT in VCRT forwarders
msbuild !PTRoot!\src\core\Microsoft.PowerToys.Settings.UI.Runner\Microsoft.PowerToys.Settings.UI.Runner.csproj -t:Publish -p:Configuration="Release" -p:Platform="x64" -p:AppxBundle=Never -p:VCRTForwarders-IncludeDebugCRT=false -p:PublishProfile=!settingsProfileFileName!
rem Publish Launcher
SET launcherProfileFolderName=!PTRoot!\src\modules\launcher\PowerLauncher\Properties\PublishProfiles\
rem Create the publish profile folder if it doesn't exist
IF NOT EXIST !launcherProfileFolderName! (mkdir !launcherProfileFolderName!)
SET launcherProfileFileName=LauncherProfile.pubxml
SET launcherPublishProfile=!launcherProfileFolderName!!launcherProfileFileName!
rem Create the publish profile pubxml
echo ^<?xml version="1.0" encoding="utf-8"?^> > !launcherPublishProfile!
echo ^<^^!-- >> !launcherPublishProfile!
echo https://go.microsoft.com/fwlink/?LinkID=208121. >> !launcherPublishProfile!
echo --^> >> !launcherPublishProfile!
echo ^<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"^> >> !launcherPublishProfile!
echo ^<PropertyGroup^> >> !launcherPublishProfile!
echo ^<PublishProtocol^>FileSystem^</PublishProtocol^> >> !launcherPublishProfile!
echo ^<Configuration^>Release^</Configuration^> >> !launcherPublishProfile!
echo ^<Platform^>x64^</Platform^> >> !launcherPublishProfile!
echo ^<TargetFramework^>netcoreapp3.1^</TargetFramework^> >> !launcherPublishProfile!
echo ^<PublishDir^>..\..\..\..\x64\Release\modules\launcher^</PublishDir^> >> !launcherPublishProfile!
echo ^<RuntimeIdentifier^>win-x64^</RuntimeIdentifier^> >> !launcherPublishProfile!
echo ^<SelfContained^>false^</SelfContained^> >> !launcherPublishProfile!
echo ^<PublishSingleFile^>False^</PublishSingleFile^> >> !launcherPublishProfile!
echo ^<PublishReadyToRun^>False^</PublishReadyToRun^> >> !launcherPublishProfile!
echo ^</PropertyGroup^> >> !launcherPublishProfile!
echo ^</Project^> >> !launcherPublishProfile!
rem In case of Release we should not use Debug CRT in VCRT forwarders
msbuild !PTRoot!\src\modules\launcher\PowerLauncher\PowerLauncher.csproj -t:Publish -p:Configuration="Release" -p:Platform="x64" -p:AppxBundle=Never -p:VCRTForwarders-IncludeDebugCRT=false -p:PublishProfile=!launcherProfileFileName!

View File

@@ -630,6 +630,84 @@ UINT __stdcall DetectPrevInstallPathCA(MSIHANDLE hInstall)
return WcaFinalize(er);
}
UINT __stdcall TerminateProcessesCA(MSIHANDLE hInstall)
{
HRESULT hr = S_OK;
UINT er = ERROR_SUCCESS;
hr = WcaInitialize(hInstall, "TerminateProcessesCA");
std::vector<DWORD> processes;
const size_t maxProcesses = 4096;
DWORD bytes = maxProcesses * sizeof(processes[0]);
processes.resize(maxProcesses);
if (!EnumProcesses(processes.data(), bytes, &bytes))
{
return 1;
}
processes.resize(bytes / sizeof(processes[0]));
std::array<std::wstring_view, 4> processesToTerminate = {
L"PowerLauncher.exe",
L"Microsoft.PowerToys.Settings.UI.Runner.exe",
L"Microsoft.PowerToys.Settings.UI.exe",
L"PowerToys.exe"
};
for (const auto procID : processes)
{
if (!procID)
{
continue;
}
wchar_t processName[MAX_PATH] = L"<unknown>";
HANDLE hProcess{OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ | PROCESS_TERMINATE, FALSE, procID)};
if (!hProcess)
{
continue;
}
HMODULE hMod;
DWORD cbNeeded;
if (!EnumProcessModules(hProcess, &hMod, sizeof(hMod), &cbNeeded))
{
CloseHandle(hProcess);
continue;
}
GetModuleBaseNameW(hProcess, hMod, processName, sizeof(processName) / sizeof(wchar_t));
for (const auto processToTerminate : processesToTerminate)
{
if (processName == processToTerminate)
{
const DWORD timeout = 500;
auto windowEnumerator = [](HWND hwnd, LPARAM procIDPtr) -> BOOL {
auto targetProcID = *reinterpret_cast<const DWORD*>(procIDPtr);
DWORD windowProcID = 0;
GetWindowThreadProcessId(hwnd, &windowProcID);
if (windowProcID == targetProcID)
{
DWORD_PTR _ {};
SendMessageTimeoutA(hwnd, WM_CLOSE, 0, 0, SMTO_BLOCK, timeout, &_);
}
return TRUE;
};
EnumWindows(windowEnumerator, reinterpret_cast<LPARAM>(&procID));
Sleep(timeout);
TerminateProcess(hProcess, 0);
break;
}
}
CloseHandle(hProcess);
}
er = SUCCEEDED(hr) ? ERROR_SUCCESS : ERROR_INSTALL_FAILURE;
return WcaFinalize(er);
}
// DllMain - Initialize and cleanup WiX custom action utils.
extern "C" BOOL WINAPI DllMain(__in HINSTANCE hInst, __in ULONG ulReason, __in LPVOID)
{

View File

@@ -11,4 +11,5 @@ EXPORTS
TelemetryLogUninstallCancelCA
TelemetryLogUninstallFailCA
TelemetryLogRepairCancelCA
TelemetryLogRepairFailCA
TelemetryLogRepairFailCA
TerminateProcessesCA

View File

@@ -54,14 +54,13 @@
<PreprocessorDefinitions>WIN64;_DEBUG;_WINDOWS;_USRDLL;CUSTOMACTIONTEST_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<LanguageStandard>stdcpplatest</LanguageStandard>
<TreatWarningAsError>true</TreatWarningAsError>
</ClCompile>
<Link>
<AdditionalDependencies>Pathcch.lib;comsupp.lib;taskschd.lib;Secur32.lib;msi.lib;dutil.lib;wcautil.lib;Version.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>Psapi.lib;Pathcch.lib;comsupp.lib;taskschd.lib;Secur32.lib;msi.lib;dutil.lib;wcautil.lib;Version.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(WIX)sdk\$(WixPlatformToolset)\lib\x64;$(SolutionDir)\packages\WiX.3.11.2\tools\sdk\vs2017\lib\x64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<ModuleDefinitionFile>CustomAction.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
@@ -77,14 +76,13 @@
<PreprocessorDefinitions>WIN64;NDEBUG;_WINDOWS;_USRDLL;CUSTOMACTIONTEST_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<LanguageStandard>stdcpplatest</LanguageStandard>
<TreatWarningAsError>true</TreatWarningAsError>
</ClCompile>
<Link>
<AdditionalDependencies>Pathcch.lib;comsupp.lib;taskschd.lib;Secur32.lib;msi.lib;dutil.lib;wcautil.lib;Version.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>Psapi.lib;Pathcch.lib;comsupp.lib;taskschd.lib;Secur32.lib;msi.lib;dutil.lib;wcautil.lib;Version.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(WIX)sdk\$(WixPlatformToolset)\lib\x64;$(SolutionDir)\packages\WiX.3.11.2\tools\sdk\vs2017\lib\x64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<ModuleDefinitionFile>CustomAction.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
@@ -95,11 +93,16 @@
<UACExecutionLevel>HighestAvailable</UACExecutionLevel>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(CIBuild)'!='true'">
<ClCompile>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>stdafx.h</PrecompiledHeaderFile>
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="CustomAction.cpp" />
<ClCompile Include="stdafx.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(CIBuild)'!='true'">Create</PrecompiledHeader>
</ClCompile>
</ItemGroup>
<ItemGroup>

View File

@@ -1,6 +1,7 @@
#pragma once
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
#define DPSAPI_VERSION 1
// Windows Header Files:
#include <windows.h>
#include <strsafe.h>
@@ -21,3 +22,7 @@
#include <string>
#include <optional>
#include <pathcch.h>
#include <psapi.h>
#include <vector>
#include <array>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Version>0.17.0</Version>
<Version>0.19.1</Version>
<DefineConstants>Version=$(Version);</DefineConstants>
</PropertyGroup>
</Project>

7
src/.editorconfig Normal file
View File

@@ -0,0 +1,7 @@
[*.cs]
# SA1201: Elements should appear in the correct order
dotnet_diagnostic.SA1201.severity = none
# CA1303: Do not pass literals as localized parameters
dotnet_diagnostic.CA1303.severity = suggestion

14
src/Directory.Build.props Normal file
View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<_PropertySheetDisplayName>PowerToys.Root.Props</_PropertySheetDisplayName>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<ConformanceMode>false</ConformanceMode>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
<LanguageStandard>stdcpplatest</LanguageStandard>
</ClCompile>
</ItemDefinitionGroup>
</Project>

View File

@@ -5,4 +5,4 @@ The PowerToys are split into DLLs for each PowerToy module ([`modules`](/src/mod
The settings window is a separate executable, contained in [`settings`](/src/settings) folder. It utilizes a WebView to display an HTML-based settings window (contained in [`settings-web`](/src/settings-web) folder).
The [`common`](/src/common) contains code for a static libary with helper functions, used by both the runner and the PowerToys modules.
The [`common`](/src/common) contains code for a static library with helper functions, used by both the runner and the PowerToys modules.

View File

@@ -6,6 +6,7 @@
#include <common/common.h>
#include <common/updating/updating.h>
#include <common/updating/http_client.h>
#include <winrt/Windows.ApplicationModel.h>
#include <winrt/Windows.Storage.h>
@@ -14,6 +15,10 @@
#include "../runner/tray_icon.h"
#include "../runner/action_runner_utils.h"
#include "resource.h"
extern "C" IMAGE_DOS_HEADER __ImageBase;
int uninstall_msi_action()
{
const auto package_path = updating::get_msi_package_path();
@@ -52,18 +57,11 @@ std::optional<fs::path> copy_self_to_temp_dir()
return std::move(dst_path);
}
bool install_new_version_stage_1(const bool must_restart = false)
bool install_new_version_stage_1(const std::wstring_view installer_filename, const bool must_restart = false)
{
std::optional<fs::path> installer;
for (auto path : fs::directory_iterator{ updating::get_pending_updates_path() })
{
if (path.path().native().find(updating::installer_filename_pattern) != std::wstring::npos)
{
installer.emplace(std::move(path));
break;
}
}
if (!installer)
const fs::path installer{ updating::get_pending_updates_path() / installer_filename };
if (!fs::is_regular_file(installer))
{
return false;
}
@@ -80,7 +78,7 @@ bool install_new_version_stage_1(const bool must_restart = false)
std::wstring arguments{ UPDATE_NOW_LAUNCH_STAGE2_CMDARG };
arguments += L" \"";
arguments += installer->c_str();
arguments += installer.c_str();
arguments += L"\" \"";
arguments += get_module_folderpath();
arguments += L"\" ";
@@ -99,15 +97,35 @@ bool install_new_version_stage_1(const bool must_restart = false)
}
}
bool install_new_version_stage_2(std::wstring_view installer_path, std::wstring_view install_path, const bool launch_powertoys)
bool install_new_version_stage_2(std::wstring installer_path, std::wstring_view install_path, const bool launch_powertoys)
{
if (MsiInstallProductW(installer_path.data(), nullptr) != ERROR_SUCCESS)
std::transform(begin(installer_path), end(installer_path), begin(installer_path), ::towlower);
bool success = true;
if (installer_path.ends_with(L".msi"))
{
return false;
success = MsiInstallProductW(installer_path.data(), nullptr) == ERROR_SUCCESS;
}
else
{
// If it's not .msi, then it's our .exe installer
SHELLEXECUTEINFOW sei{ sizeof(sei) };
sei.fMask = { SEE_MASK_FLAG_NO_UI | SEE_MASK_NOASYNC };
sei.lpFile = installer_path.c_str();
sei.nShow = SW_SHOWNORMAL;
success = ShellExecuteExW(&sei) == TRUE;
}
std::error_code _;
fs::remove(installer_path, _);
if (!success)
{
return false;
}
if (launch_powertoys)
{
std::wstring new_pt_path{ install_path };
@@ -122,6 +140,57 @@ bool install_new_version_stage_2(std::wstring_view installer_path, std::wstring_
return true;
}
bool dotnet_is_installed()
{
auto runtimes = exec_and_read_output(LR"(dotnet --list-runtimes)");
if (!runtimes)
{
return false;
}
const char DESKTOP_DOTNET_RUNTIME_STRING[] = "Microsoft.WindowsDesktop.App 3.1.";
return runtimes->find(DESKTOP_DOTNET_RUNTIME_STRING) != std::string::npos;
}
bool install_dotnet()
{
const wchar_t DOTNET_DESKTOP_DOWNLOAD_LINK[] = L"https://download.visualstudio.microsoft.com/download/pr/d8cf1fe3-21c2-4baf-988f-f0152996135e/0c00b94713ee93e7ad5b4f82e2b86607/windowsdesktop-runtime-3.1.4-win-x64.exe";
const wchar_t DOTNET_DESKTOP_FILENAME[] = L"windowsdesktop-runtime-3.1.4-win-x64.exe";
auto dotnet_download_path = fs::temp_directory_path() / DOTNET_DESKTOP_FILENAME;
winrt::Windows::Foundation::Uri download_link{ DOTNET_DESKTOP_DOWNLOAD_LINK };
const size_t max_attempts = 3;
bool download_success = false;
for (size_t i = 0; i < max_attempts; ++i)
{
try
{
http::HttpClient client;
client.download(download_link, dotnet_download_path).wait();
download_success = true;
break;
}
catch (...)
{
// couldn't download
}
}
if (!download_success)
{
MessageBoxW(nullptr,
GET_RESOURCE_STRING(IDS_DOTNET_CORE_DOWNLOAD_FAILURE).c_str(),
GET_RESOURCE_STRING(IDS_DOTNET_CORE_DOWNLOAD_FAILURE_TITLE).c_str(),
MB_OK | MB_ICONERROR);
return false;
}
SHELLEXECUTEINFOW sei{ sizeof(sei) };
sei.fMask = { SEE_MASK_NOASYNC };
sei.lpFile = dotnet_download_path.c_str();
sei.nShow = SW_SHOWNORMAL;
sei.lpParameters = L"/install /passive";
return ShellExecuteExW(&sei) == TRUE;
}
int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
int nArgs = 0;
@@ -132,17 +201,88 @@ int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
}
std::wstring_view action{ args[1] };
if (action == L"-uninstall_msi")
if (action == L"-run-non-elevated")
{
int nextArg = 2;
std::wstring_view target;
std::wstring_view pidFile;
std::wstring params;
while (nextArg < nArgs)
{
if (std::wstring_view(args[nextArg]) == L"-target" && nextArg + 1 < nArgs)
{
target = args[nextArg + 1];
nextArg += 2;
}
else if (std::wstring_view(args[nextArg]) == L"-pidFile" && nextArg + 1 < nArgs)
{
pidFile = args[nextArg + 1];
nextArg += 2;
}
else
{
params = args[nextArg];
nextArg++;
}
}
HANDLE hMapFile = NULL;
PDWORD pidBuffer = NULL;
if (!pidFile.empty())
{
hMapFile = OpenFileMappingW(FILE_MAP_WRITE, FALSE, pidFile.data());
if (hMapFile)
{
pidBuffer = reinterpret_cast<PDWORD>(MapViewOfFile(hMapFile, FILE_MAP_ALL_ACCESS, 0, 0, sizeof(DWORD)));
if (pidBuffer)
{
*pidBuffer = 0;
}
}
}
run_same_elevation(target.data(), params, pidBuffer);
// cleanup
if (!pidFile.empty())
{
if (pidBuffer)
{
FlushViewOfFile(pidBuffer, sizeof(DWORD));
UnmapViewOfFile(pidBuffer);
}
if (hMapFile)
{
FlushFileBuffers(hMapFile);
CloseHandle(hMapFile);
}
}
}
else if (action == L"-install_dotnet")
{
if (dotnet_is_installed())
{
return 0;
}
return !install_dotnet();
}
else if (action == L"-uninstall_msi")
{
return uninstall_msi_action();
}
else if (action == UPDATE_NOW_LAUNCH_STAGE1_CMDARG)
{
return !install_new_version_stage_1();
std::wstring_view installerFilename{ args[2] };
return !install_new_version_stage_1(installerFilename);
}
else if (action == UPDATE_NOW_LAUNCH_STAGE1_START_PT_CMDARG)
{
return !install_new_version_stage_1(true);
std::wstring_view installerFilename{ args[2] };
return !install_new_version_stage_1(installerFilename, true);
}
else if (action == UPDATE_NOW_LAUNCH_STAGE2_CMDARG)
{
@@ -151,4 +291,4 @@ int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
}
return 0;
}
}

View File

@@ -0,0 +1,42 @@
#include <windows.h>
#include "resource.h"
#include "../common/version.h"
STRINGTABLE
BEGIN
IDS_DOTNET_CORE_DOWNLOAD_FAILURE "Couldn't download .NET Core Desktop Runtime 3.1.3, please install it manually."
IDS_DOTNET_CORE_DOWNLOAD_FAILURE_TITLE "PowerToys installation error"
END
1 VERSIONINFO
FILEVERSION FILE_VERSION
PRODUCTVERSION PRODUCT_VERSION
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
#ifdef _DEBUG
FILEFLAGS VS_FF_DEBUG
#else
FILEFLAGS 0x0L
#endif
FILEOS VOS_NT_WINDOWS32
FILETYPE VFT_DLL
FILESUBTYPE VFT2_UNKNOWN
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0" // US English (0x0409), Unicode (0x04B0) charset
BEGIN
VALUE "CompanyName", COMPANY_NAME
VALUE "FileDescription", FILE_DESCRIPTION
VALUE "FileVersion", FILE_VERSION_STRING
VALUE "InternalName", INTERNAL_NAME
VALUE "LegalCopyright", COPYRIGHT_NOTE
VALUE "OriginalFilename", ORIGINAL_FILENAME
VALUE "ProductName", PRODUCT_NAME
VALUE "ProductVersion", PRODUCT_VERSION_STRING
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200 // US English (0x0409), Unicode (1200) charset
END
END

View File

@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\packages\Microsoft.Windows.CppWinRT.2.0.200514.2\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('..\..\packages\Microsoft.Windows.CppWinRT.2.0.200514.2\build\native\Microsoft.Windows.CppWinRT.props')" />
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
@@ -22,7 +23,7 @@
<VCProjectVersion>16.0</VCProjectVersion>
<ProjectGuid>{D29DDD63-E2CF-4657-9FD5-2AEDE4257E5D}</ProjectGuid>
<RootNamespace>actionrunner</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
<WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
<ProjectName>action_runner</ProjectName>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
@@ -44,6 +45,7 @@
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
<SpectreMitigation>Spectre</SpectreMitigation>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
@@ -51,6 +53,7 @@
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<SpectreMitigation>Spectre</SpectreMitigation>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
@@ -93,7 +96,6 @@
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<LanguageStandard>stdcpplatest</LanguageStandard>
<TreatWarningAsError>true</TreatWarningAsError>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
@@ -111,7 +113,6 @@
<WarningLevel>Level3</WarningLevel>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
@@ -123,7 +124,6 @@
<WarningLevel>Level4</WarningLevel>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<LanguageStandard>stdcpplatest</LanguageStandard>
<TreatWarningAsError>true</TreatWarningAsError>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
@@ -141,7 +141,6 @@
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
@@ -163,8 +162,23 @@
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\runner\updating.h" />
<ClInclude Include="resource.h" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="action_runner.rc" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
<Import Project="..\..\packages\Microsoft.Windows.CppWinRT.2.0.200514.2\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('..\..\packages\Microsoft.Windows.CppWinRT.2.0.200514.2\build\native\Microsoft.Windows.CppWinRT.targets')" />
</ImportGroup>
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\packages\Microsoft.Windows.CppWinRT.2.0.200514.2\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Windows.CppWinRT.2.0.200514.2\build\native\Microsoft.Windows.CppWinRT.props'))" />
<Error Condition="!Exists('..\..\packages\Microsoft.Windows.CppWinRT.2.0.200514.2\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Windows.CppWinRT.2.0.200514.2\build\native\Microsoft.Windows.CppWinRT.targets'))" />
</Target>
</Project>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.Windows.CppWinRT" version="2.0.200514.2" targetFramework="native" />
</packages>

View File

@@ -0,0 +1,16 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by action_runner.rc
//////////////////////////////
// Non-localizable
#define FILE_DESCRIPTION "PowerToys ActionRunner"
#define INTERNAL_NAME "action_runner"
#define ORIGINAL_FILENAME "action_runner.exe"
// Non-localizable
//////////////////////////////
#define IDS_DOTNET_CORE_DOWNLOAD_FAILURE 101
#define IDS_DOTNET_CORE_DOWNLOAD_FAILURE_TITLE 102

View File

@@ -1,5 +1,5 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Copyright (c) Microsoft Corporation
// The Microsoft Corporation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
// This file is used by Code Analysis to maintain SuppressMessage

View File

@@ -0,0 +1,39 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\..\installer\Version.props" />
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Platforms>x64</Platforms>
<PlatformTarget>x64</PlatformTarget>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>$(Version).0</Version>
<Authors>Microsoft Corporation</Authors>
<Product>PowerToys</Product>
<Description>PowerToys ManagedCommon</Description>
<Copyright>Copyright (C) 2020 Microsoft Corporation</Copyright>
<RepositoryUrl>https://github.com/microsoft/PowerToys</RepositoryUrl>
<RepositoryType>Github</RepositoryType>
<PackageTags>PowerToys</PackageTags>
<NeutralLanguage>en-US</NeutralLanguage>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.6">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ManagedTelemetry\Telemetry\Telemetry.csproj" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,14 @@
using System;
using System.Runtime.InteropServices;
namespace ManagedCommon
{
internal static class NativeMethods
{
[DllImport("kernel32.dll", SetLastError = true)]
internal static extern IntPtr OpenProcess(uint processAccess, bool bInheritHandle, int processId);
[DllImport("kernel32.dll", SetLastError = true)]
internal static extern uint WaitForSingleObject(IntPtr hHandle, uint dwMilliseconds);
}
}

View File

@@ -0,0 +1,35 @@
using Microsoft.PowerToys.Telemetry;
using Microsoft.PowerToys.Telemetry.Events;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace ManagedCommon
{
public static class RunnerHelper
{
public static void WaitForPowerToysRunner(int powerToysPID, Action act)
{
var stackTrace = new StackTrace();
var assembly = Assembly.GetCallingAssembly().GetName();
var callingMethod = stackTrace.GetFrame(1).GetMethod().Name;
PowerToysTelemetry.Log.WriteEvent(new DebugEvent() { Message = $"[{assembly}][{callingMethod}]WaitForPowerToysRunner waiting for Event powerToysPID={powerToysPID}" });
Task.Run(() =>
{
const uint INFINITE = 0xFFFFFFFF;
const uint WAIT_OBJECT_0 = 0x00000000;
const uint SYNCHRONIZE = 0x00100000;
IntPtr powerToysProcHandle = NativeMethods.OpenProcess(SYNCHRONIZE, false, powerToysPID);
if (NativeMethods.WaitForSingleObject(powerToysProcHandle, INFINITE) == WAIT_OBJECT_0)
{
PowerToysTelemetry.Log.WriteEvent(new DebugEvent() { Message = $"[{assembly}][{callingMethod}]WaitForPowerToysRunner Event Notified powerToysPID={powerToysPID}" });
act.Invoke();
}
});
}
}
}

View File

@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.Tracing;
using System.Text;
namespace Microsoft.PowerToys.Telemetry.Events
{
[EventData]
public class DebugEvent : EventBase, IEvent
{
public string Message { get; set; }
public PartA_PrivTags PartA_PrivTags => PartA_PrivTags.ProductAndServicePerformance;
}
}

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.Tracing;
using System.Text;
namespace Microsoft.PowerToys.Telemetry.Events
{
/// <summary>
/// A base class to implement properties that are common to all telemetry events.
/// </summary>
[EventData]
public class EventBase
{
public bool UTCReplace_AppSessionGuid => true;
}
}

View File

@@ -0,0 +1,11 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Microsoft.PowerToys.Telemetry.Events
{
public interface IEvent
{
PartA_PrivTags PartA_PrivTags { get; }
}
}

View File

@@ -0,0 +1,49 @@
// Copyright (c) Microsoft Corporation
// The Microsoft Corporation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.PowerToys.Telemetry.Events;
using System.Diagnostics.Tracing;
namespace Microsoft.PowerToys.Telemetry
{
/// <summary>
/// Telemetry helper class for PowerToys.
/// </summary>
public class PowerToysTelemetry : TelemetryBase
{
/// <summary>
/// Name for ETW event.
/// </summary>
private const string EventSourceName = "Microsoft.PowerToys";
/// <summary>
/// Initializes a new instance of the <see cref="PowerToysTelemetry"/> class.
/// </summary>
public PowerToysTelemetry()
: base(EventSourceName)
{
}
/// <summary>
/// Gets an instance of the <see cref="PowerLauncherTelemetry"/> class.
/// </summary>
public static PowerToysTelemetry Log = new PowerToysTelemetry();
/// <summary>
/// Publishes ETW event when an action is triggered on
/// </summary>
public void WriteEvent<T>(T telemetryEvent)
where T : EventBase, IEvent
{
this.Write<T>(null, new EventSourceOptions()
{
Keywords = ProjectKeywordMeasure,
Tags = ProjectTelemetryTagProductAndServicePerformance,
},
telemetryEvent);
}
}
}

View File

@@ -0,0 +1,23 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\..\..\installer\Version.props" />
<PropertyGroup>
<Platforms>x64</Platforms>
<PlatformTarget>x64</PlatformTarget>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>$(Version).0</Version>
<Authors>Microsoft Corporation</Authors>
<Product>PowerToys</Product>
<Description>PowerToys Telemetry</Description>
<Copyright>Copyright (C) 2020 Microsoft Corporation</Copyright>
<RepositoryUrl>https://github.com/microsoft/PowerToys</RepositoryUrl>
<RepositoryType>Github</RepositoryType>
<PackageTags>PowerToys</PackageTags>
<NeutralLanguage>en-US</NeutralLanguage>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\..\Telemetry\TelemetryBase.cs" Link="TelemetryBase.cs" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,64 @@
#include "pch.h"
#include "RestartManagement.h"
#include <RestartManager.h>
#include <Psapi.h>
std::vector<RM_UNIQUE_PROCESS> GetProcessInfoByName(const std::wstring& processName)
{
DWORD bytesReturned{};
std::vector<DWORD> processIds{};
processIds.resize(1024);
DWORD processIdSize{ (DWORD)processIds.size() * sizeof(DWORD) };
EnumProcesses(processIds.data(), processIdSize, &bytesReturned);
while (bytesReturned == processIdSize)
{
processIdSize *= 2;
processIds.resize(processIdSize / sizeof(DWORD));
EnumProcesses(processIds.data(), processIdSize, &bytesReturned);
}
std::vector<RM_UNIQUE_PROCESS> pInfos{};
for (const DWORD& processId : processIds)
{
HANDLE hProcess = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, FALSE, processId);
if (hProcess)
{
wchar_t name[MAX_PATH];
if (GetProcessImageFileName(hProcess, name, MAX_PATH) > 0)
{
if (processName == PathFindFileName(name))
{
FILETIME creationTime{};
FILETIME exitTime{};
FILETIME kernelTime{};
FILETIME userTime{};
if (GetProcessTimes(hProcess, &creationTime, &exitTime, &kernelTime, &userTime))
{
pInfos.push_back({ processId, creationTime });
}
}
}
CloseHandle(hProcess);
}
}
return pInfos;
}
void RestartProcess(const std::wstring& processName)
{
DWORD sessionHandle{};
WCHAR sessionKey[CCH_RM_SESSION_KEY + 1];
if (RmStartSession(&sessionHandle, 0, sessionKey) != ERROR_SUCCESS)
{
return;
}
std::vector<RM_UNIQUE_PROCESS> pInfo = GetProcessInfoByName(processName);
if (pInfo.empty() ||
RmRegisterResources(sessionHandle, 0, nullptr, sizeof(pInfo), pInfo.data(), 0, nullptr) != ERROR_SUCCESS)
{
return;
}
RmShutdown(sessionHandle, RmForceShutdown, nullptr);
RmRestart(sessionHandle, 0, nullptr);
RmEndSession(sessionHandle);
}

View File

@@ -0,0 +1,5 @@
#pragma once
#include <string>
void RestartProcess(const std::wstring& processName);

View File

@@ -2,11 +2,26 @@
// The Microsoft Corporation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics.Eventing.Reader;
using System.Diagnostics.Tracing;
namespace PreviewHandlerCommon.Telemetry
namespace Microsoft.PowerToys.Telemetry
{
/// <summary>
/// Privacy Tag values
/// </summary>
public enum PartA_PrivTags
: ulong
{
/// <nodoc/>
None = 0,
/// <nodoc/>
ProductAndServicePerformance = 0x0u,
/// <nodoc/>
ProductAndServiceUsage = 0x0u,
}
/// <summary>
/// Base class for telemetry events.
/// </summary>

View File

@@ -364,7 +364,7 @@ namespace UnitTestsCommonLib
const auto value = true;
Settings settings(nullptr, m_moduleName);
settings.add_bool_toogle(m_defaultSettingsName, m_defaultSettingsDescription, value);
settings.add_bool_toggle(m_defaultSettingsName, m_defaultSettingsDescription, value);
auto expected = m_defaultSettingsJson;
auto expectedProperties = createSettingsProperties(L"bool_toggle");
@@ -381,7 +381,7 @@ namespace UnitTestsCommonLib
const auto value = false;
Settings settings(nullptr, m_moduleName);
settings.add_bool_toogle(m_defaultSettingsName, m_defaultSettingsDescription, value);
settings.add_bool_toggle(m_defaultSettingsName, m_defaultSettingsDescription, value);
auto expected = m_defaultSettingsJson;
auto expectedProperties = createSettingsProperties(L"bool_toggle");

View File

@@ -0,0 +1,36 @@
#include <windows.h>
#include "resource.h"
#include "../version.h"
1 VERSIONINFO
FILEVERSION FILE_VERSION
PRODUCTVERSION PRODUCT_VERSION
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
#ifdef _DEBUG
FILEFLAGS VS_FF_DEBUG
#else
FILEFLAGS 0x0L
#endif
FILEOS VOS_NT_WINDOWS32
FILETYPE VFT_DLL
FILESUBTYPE VFT2_UNKNOWN
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0" // US English (0x0409), Unicode (0x04B0) charset
BEGIN
VALUE "CompanyName", COMPANY_NAME
VALUE "FileDescription", FILE_DESCRIPTION
VALUE "FileVersion", FILE_VERSION_STRING
VALUE "InternalName", INTERNAL_NAME
VALUE "LegalCopyright", COPYRIGHT_NOTE
VALUE "OriginalFilename", ORIGINAL_FILENAME
VALUE "ProductName", PRODUCT_NAME
VALUE "ProductVersion", PRODUCT_VERSION_STRING
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200 // US English (0x0409), Unicode (1200) charset
END
END

View File

@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.200514.2\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.200514.2\build\native\Microsoft.Windows.CppWinRT.props')" />
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
@@ -15,7 +16,7 @@
<ProjectGuid>{1A066C63-64B3-45F8-92FE-664E1CCE8077}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>UnitTestsCommonLib</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
<WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
<ProjectSubType>NativeUnitTestProject</ProjectSubType>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
@@ -25,6 +26,7 @@
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
<UseOfMfc>false</UseOfMfc>
<SpectreMitigation>Spectre</SpectreMitigation>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
@@ -33,6 +35,7 @@
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<UseOfMfc>false</UseOfMfc>
<SpectreMitigation>Spectre</SpectreMitigation>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
@@ -56,7 +59,6 @@
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
@@ -65,7 +67,6 @@
<AdditionalIncludeDirectories>..\;..\Telemetry;..\..\..\deps\cpprestsdk\include;$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<UseFullPaths>true</UseFullPaths>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<LanguageStandard>stdcpplatest</LanguageStandard>
</ClCompile>
@@ -79,14 +80,12 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
<AdditionalIncludeDirectories>$(VCInstallDir)UnitTest\include;..\;..\..\..\deps\cpprestsdk\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<UseFullPaths>true</UseFullPaths>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<LanguageStandard>stdcpplatest</LanguageStandard>
</ClCompile>
@@ -96,24 +95,44 @@
<AdditionalDependencies>RuntimeObject.lib;shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(CIBuild)'!='true'">
<ClCompile>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="UnitTestsCommon.cpp" />
<ClCompile Include="UnitTestsVersionHelper.cpp" />
<ClCompile Include="pch.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(CIBuild)'!='true'">Create</PrecompiledHeader>
</ClCompile>
<ClCompile Include="Settings.Tests.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="pch.h" />
<ClInclude Include="resource.h" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\common.vcxproj">
<Project>{74485049-c722-400f-abe5-86ac52d929b3}</Project>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="UnitTests-CommonLib.rc" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
<Import Project="..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.200514.2\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.200514.2\build\native\Microsoft.Windows.CppWinRT.targets')" />
</ImportGroup>
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.200514.2\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.200514.2\build\native\Microsoft.Windows.CppWinRT.props'))" />
<Error Condition="!Exists('..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.200514.2\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.200514.2\build\native\Microsoft.Windows.CppWinRT.targets'))" />
</Target>
</Project>

View File

@@ -32,5 +32,16 @@
<ClInclude Include="pch.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="resource.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="UnitTests-CommonLib.rc">
<Filter>Resource Files</Filter>
</ResourceCompile>
</ItemGroup>
</Project>

View File

@@ -13,7 +13,7 @@ namespace UnitTestsVersionHelper
TEST_CLASS (UnitTestsVersionHelper)
{
public:
TEST_METHOD (integerConstructorShouldProprelyInitializateVersionNumbers)
TEST_METHOD (integerConstructorShouldProperlyInitializationVersionNumbers)
{
VersionHelper sut(MAJOR_VERSION_0, MINOR_VERSION_12, REVISION_VERSION_0);
@@ -21,7 +21,7 @@ namespace UnitTestsVersionHelper
Assert::AreEqual(MINOR_VERSION_12, sut.minor);
Assert::AreEqual(REVISION_VERSION_0, sut.revision);
}
TEST_METHOD (integerConstructorShouldProprelyInitializateWithDifferentVersionNumbers)
TEST_METHOD (integerConstructorShouldProperlyInitializationWithDifferentVersionNumbers)
{
const int testcaseMajor = 2;
const int testcaseMinor = 25;
@@ -32,7 +32,7 @@ namespace UnitTestsVersionHelper
Assert::AreEqual(testcaseMinor, sut.minor);
Assert::AreEqual(testcaseRevision, sut.revision);
}
TEST_METHOD (stringConstructorShouldProprelyInitializateVersionNumbers)
TEST_METHOD (stringConstructorShouldProperlyInitializationVersionNumbers)
{
VersionHelper sut("v0.12.3");
@@ -40,7 +40,7 @@ namespace UnitTestsVersionHelper
Assert::AreEqual(12, sut.minor);
Assert::AreEqual(3, sut.revision);
}
TEST_METHOD (stringConstructorShouldProprelyInitializateWithDifferentVersionNumbers)
TEST_METHOD (stringConstructorShouldProperlyInitializationWithDifferentVersionNumbers)
{
VersionHelper sut("v2.25.1");
@@ -48,28 +48,28 @@ namespace UnitTestsVersionHelper
Assert::AreEqual(25, sut.minor);
Assert::AreEqual(1, sut.revision);
}
TEST_METHOD (whenMajorVersionIsGreaterComparationOperatorShouldReturnProperValue)
TEST_METHOD (whenMajorVersionIsGreaterComparisonOperatorShouldReturnProperValue)
{
VersionHelper lhs(MAJOR_VERSION_0 + 1, MINOR_VERSION_12, REVISION_VERSION_0);
VersionHelper rhs(MAJOR_VERSION_0, MINOR_VERSION_12, REVISION_VERSION_0);
Assert::IsTrue(lhs > rhs);
}
TEST_METHOD (whenMajorVersionIsLesserComparationOperatorShouldReturnProperValue)
TEST_METHOD (whenMajorVersionIsLesserComparisonOperatorShouldReturnProperValue)
{
VersionHelper lhs(MAJOR_VERSION_0, MINOR_VERSION_12, REVISION_VERSION_0);
VersionHelper rhs(MAJOR_VERSION_0 + 1, MINOR_VERSION_12, REVISION_VERSION_0);
Assert::IsFalse(lhs > rhs);
}
TEST_METHOD (whenMajorVersionIsEqualComparationOperatorShouldCompareMinorVersionValue)
TEST_METHOD (whenMajorVersionIsEqualComparisonOperatorShouldCompareMinorVersionValue)
{
VersionHelper lhs(MAJOR_VERSION_0, MINOR_VERSION_12, REVISION_VERSION_0);
VersionHelper rhs(MAJOR_VERSION_0, MINOR_VERSION_12 - 1, REVISION_VERSION_0);
Assert::IsTrue(lhs > rhs);
}
TEST_METHOD (whenMajorVersionIsEqualComparationOperatorShouldCompareMinorVersionValue2)
TEST_METHOD (whenMajorVersionIsEqualComparisonOperatorShouldCompareMinorVersionValue2)
{
VersionHelper lhs(MAJOR_VERSION_0, MINOR_VERSION_12 - 1, REVISION_VERSION_0);
VersionHelper rhs(MAJOR_VERSION_0, MINOR_VERSION_12, REVISION_VERSION_0);
@@ -77,14 +77,14 @@ namespace UnitTestsVersionHelper
Assert::IsFalse(lhs > rhs);
}
TEST_METHOD (whenMajorAndMinorVersionIsEqualComparationOperatorShouldCompareRevisionValue)
TEST_METHOD (whenMajorAndMinorVersionIsEqualComparisonOperatorShouldCompareRevisionValue)
{
VersionHelper lhs(MAJOR_VERSION_0, MINOR_VERSION_12, REVISION_VERSION_0 + 1);
VersionHelper rhs(MAJOR_VERSION_0, MINOR_VERSION_12, REVISION_VERSION_0);
Assert::IsTrue(lhs > rhs);
}
TEST_METHOD (whenMajorAndMinorVersionIsEqualComparationOperatorShouldCompareRevisionValue2)
TEST_METHOD (whenMajorAndMinorVersionIsEqualComparisonOperatorShouldCompareRevisionValue2)
{
VersionHelper lhs(MAJOR_VERSION_0, MINOR_VERSION_12, REVISION_VERSION_0);
VersionHelper rhs(MAJOR_VERSION_0, MINOR_VERSION_12, REVISION_VERSION_0 + 1);

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.Windows.CppWinRT" version="2.0.200514.2" targetFramework="native" />
</packages>

View File

@@ -9,8 +9,9 @@
// add headers that you want to pre-compile here
#include <Windows.h>
#include <winrt\base.h>
#include <winrt/base.h>
#include <winrt/Windows.Foundation.h>
#include <winrt/Windows.Foundation.Collections.h>
#include "CppUnitTest.h"
#endif //PCH_H

View File

@@ -0,0 +1,13 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by UnitTests-CommonLib.rc
//////////////////////////////
// Non-localizable
#define FILE_DESCRIPTION "PowerToys UnitTests-CommonLib"
#define INTERNAL_NAME "UnitTests-CommonLib"
#define ORIGINAL_FILENAME "UnitTests-CommonLib.dll"
// Non-localizable
//////////////////////////////

View File

@@ -3,12 +3,12 @@
/*
Usage:
When creating animation contstructor takes one parameter - how long
When creating animation constructor takes one parameter - how long
should the animation take in seconds.
Call reset() when starting animation.
When redering, call value() to get value from 0 to 1 - depending on animation
When rendering, call value() to get value from 0 to 1 - depending on animation
progress.
*/
class Animation

View File

@@ -0,0 +1,121 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>16.0</VCProjectVersion>
<ProjectGuid>{985B3F2F-CEED-4C0A-A249-69257E719145}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>commonmdflag</RootNamespace>
<WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
<SpectreMitigation>Spectre</SpectreMitigation>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<SpectreMitigation>Spectre</SpectreMitigation>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>false</ConformanceMode>
<LanguageStandard>stdcpplatest</LanguageStandard>
<AdditionalIncludeDirectories>inc;telemetry;../../;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>false</ConformanceMode>
<LanguageStandard>stdcpplatest</LanguageStandard>
<AdditionalIncludeDirectories>inc;telemetry;../../;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(CIBuild)'!='true'">
<ClCompile>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\common.h" />
<ClInclude Include="..\keyboard_layout.h" />
<ClInclude Include="..\keyboard_layout_impl.h" />
<ClInclude Include="..\pch.h" />
<ClInclude Include="..\two_way_pipe_message_ipc.h" />
<ClInclude Include="..\two_way_pipe_message_ipc_impl.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\common.cpp" />
<ClCompile Include="..\keyboard_layout.cpp" />
<ClCompile Include="..\pch.cpp">
<PrecompiledHeader Condition="'$(CIBuild)'!='true'">Create</PrecompiledHeader>
</ClCompile>
<ClCompile Include="..\two_way_pipe_message_ipc.cpp" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
<Import Project="..\..\..\packages\Microsoft.Windows.ImplementationLibrary.1.0.200519.2\build\native\Microsoft.Windows.ImplementationLibrary.targets" Condition="Exists('..\..\..\packages\Microsoft.Windows.ImplementationLibrary.1.0.200519.2\build\native\Microsoft.Windows.ImplementationLibrary.targets')" />
</ImportGroup>
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\..\packages\Microsoft.Windows.ImplementationLibrary.1.0.200519.2\build\native\Microsoft.Windows.ImplementationLibrary.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\Microsoft.Windows.ImplementationLibrary.1.0.200519.2\build\native\Microsoft.Windows.ImplementationLibrary.targets'))" />
</Target>
</Project>

View File

@@ -0,0 +1,54 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;c++;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\keyboard_layout.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\keyboard_layout_impl.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\two_way_pipe_message_ipc.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\two_way_pipe_message_ipc_impl.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\common.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\pch.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\keyboard_layout.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\two_way_pipe_message_ipc.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\common.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\pch.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.Windows.ImplementationLibrary" version="1.0.200519.2" targetFramework="native" />
</packages>

View File

@@ -6,6 +6,8 @@
#include <sddl.h>
#include "version.h"
#include <wil/resource.h>
#pragma comment(lib, "advapi32.lib")
#pragma comment(lib, "shlwapi.lib")
@@ -169,17 +171,17 @@ ShortcutGuideFilter get_shortcutguide_filtered_window()
{
return result;
}
static HWND cortanda_hwnd = nullptr;
if (cortanda_hwnd == nullptr)
static HWND cortana_hwnd = nullptr;
if (cortana_hwnd == nullptr)
{
if (strcmp(class_name.data(), "Windows.UI.Core.CoreWindow") == 0 &&
get_process_path(active_window).ends_with(L"SearchUI.exe"))
{
cortanda_hwnd = active_window;
cortana_hwnd = active_window;
return result;
}
}
else if (cortanda_hwnd == active_window)
else if (cortana_hwnd == active_window)
{
return result;
}
@@ -189,7 +191,7 @@ ShortcutGuideFilter get_shortcutguide_filtered_window()
// WinKey + Up just won't maximize the window. Similary, without
// WS_MINIMIZEBOX the window will not get minimized. A "Save As..." dialog
// is a example of such window - it can be snapped to both sides and to
// all screen conrers, but will not get maximized nor minimized.
// all screen corners, but will not get maximized nor minimized.
// For now, since ShortcutGuide can only disable entire "Windows Controls"
// group, we require that the window supports all the options.
result.snappable = ((style & WS_MAXIMIZEBOX) == WS_MAXIMIZEBOX) &&
@@ -319,7 +321,7 @@ WindowState get_window_state(HWND hwnd)
if (GetWindowPlacement(hwnd, &placement) == 0)
{
return UNKNONW;
return UNKNOWN;
}
if (placement.showCmd == SW_MINIMIZE || placement.showCmd == SW_SHOWMINIMIZED || IsIconic(hwnd))
@@ -335,7 +337,7 @@ WindowState get_window_state(HWND hwnd)
auto rectp = get_window_pos(hwnd);
if (!rectp)
{
return UNKNONW;
return UNKNOWN;
}
auto rect = *rectp;
@@ -459,7 +461,7 @@ bool run_elevated(const std::wstring& file, const std::wstring& params)
}
}
bool run_non_elevated(const std::wstring& file, const std::wstring& params)
bool run_non_elevated(const std::wstring& file, const std::wstring& params, DWORD* returnPid)
{
auto executable_args = L"\"" + file + L"\"";
if (!params.empty())
@@ -508,8 +510,8 @@ bool run_non_elevated(const std::wstring& file, const std::wstring& params)
siex.lpAttributeList = pptal;
siex.StartupInfo.cb = sizeof(siex);
PROCESS_INFORMATION process_info = { 0 };
auto succedded = CreateProcessW(file.c_str(),
PROCESS_INFORMATION pi = { 0 };
auto succeeded = CreateProcessW(file.c_str(),
const_cast<LPWSTR>(executable_args.c_str()),
nullptr,
nullptr,
@@ -518,28 +520,38 @@ bool run_non_elevated(const std::wstring& file, const std::wstring& params)
nullptr,
nullptr,
&siex.StartupInfo,
&process_info);
if (process_info.hProcess)
&pi);
if (succeeded)
{
CloseHandle(process_info.hProcess);
if (pi.hProcess)
{
if (returnPid)
{
*returnPid = GetProcessId(pi.hProcess);
}
CloseHandle(pi.hProcess);
}
if (pi.hThread)
{
CloseHandle(pi.hThread);
}
}
if (process_info.hThread)
{
CloseHandle(process_info.hThread);
}
return succedded;
return succeeded;
}
bool run_same_elevation(const std::wstring& file, const std::wstring& params)
bool run_same_elevation(const std::wstring& file, const std::wstring& params, DWORD* returnPid)
{
auto executable_args = L"\"" + file + L"\"";
if (!params.empty())
{
executable_args += L" " + params;
}
STARTUPINFO si = { 0 };
PROCESS_INFORMATION pi = { 0 };
auto succedded = CreateProcessW(file.c_str(),
auto succeeded = CreateProcessW(file.c_str(),
const_cast<LPWSTR>(executable_args.c_str()),
nullptr,
nullptr,
@@ -549,15 +561,25 @@ bool run_same_elevation(const std::wstring& file, const std::wstring& params)
nullptr,
&si,
&pi);
if (pi.hProcess)
if (succeeded)
{
CloseHandle(pi.hProcess);
if (pi.hProcess)
{
if (returnPid)
{
*returnPid = GetProcessId(pi.hProcess);
}
CloseHandle(pi.hProcess);
}
if (pi.hThread)
{
CloseHandle(pi.hThread);
}
}
if (pi.hThread)
{
CloseHandle(pi.hThread);
}
return succedded;
return succeeded;
}
std::wstring get_process_path(HWND window) noexcept
@@ -569,7 +591,7 @@ std::wstring get_process_path(HWND window) noexcept
if (name.length() >= app_frame_host.length() &&
name.compare(name.length() - app_frame_host.length(), app_frame_host.length(), app_frame_host) == 0)
{
// It is a UWP app. We will enumarate the windows and look for one created
// It is a UWP app. We will enumerate the windows and look for one created
// by something with a different PID
DWORD new_pid = pid;
EnumChildWindows(
@@ -735,3 +757,64 @@ bool find_app_name_in_path(const std::wstring& where, const std::vector<std::wst
}
return false;
}
std::optional<std::string> exec_and_read_output(const std::wstring_view command, const DWORD timeout)
{
SECURITY_ATTRIBUTES saAttr{ sizeof(saAttr) };
saAttr.bInheritHandle = true;
wil::unique_handle childStdoutRead;
wil::unique_handle childStdoutWrite;
if (!CreatePipe(&childStdoutRead, &childStdoutWrite, &saAttr, 0))
{
return std::nullopt;
}
if (!SetHandleInformation(childStdoutRead.get(), HANDLE_FLAG_INHERIT, 0))
{
return std::nullopt;
}
PROCESS_INFORMATION piProcInfo{};
STARTUPINFOW siStartInfo{ sizeof(siStartInfo) };
siStartInfo.hStdError = childStdoutWrite.get();
siStartInfo.hStdOutput = childStdoutWrite.get();
siStartInfo.dwFlags |= STARTF_USESTDHANDLES | STARTF_USESHOWWINDOW;
siStartInfo.wShowWindow = SW_HIDE;
std::wstring cmdLine{ command };
if (!CreateProcessW(nullptr,
cmdLine.data(),
nullptr,
nullptr,
true,
NORMAL_PRIORITY_CLASS | CREATE_NEW_CONSOLE,
nullptr,
nullptr,
&siStartInfo,
&piProcInfo))
{
return std::nullopt;
}
WaitForSingleObject(piProcInfo.hProcess, timeout);
childStdoutWrite.reset();
CloseHandle(piProcInfo.hThread);
std::string childOutput;
for (;;)
{
char buffer[4096];
DWORD gotBytes = 0;
if (!ReadFile(childStdoutRead.get(), buffer, sizeof(buffer), &gotBytes, nullptr) || !gotBytes)
{
break;
}
childOutput += std::string_view{ buffer, gotBytes };
}
CloseHandle(piProcInfo.hProcess);
return childOutput;
}

View File

@@ -6,12 +6,12 @@
#include <memory>
#include <vector>
// Returns RECT with positions of the minmize/maximize buttons of the given window.
// Returns RECT with positions of the minimize/maximize buttons of the given window.
// Does not always work, since some apps draw custom toolbars.
std::optional<RECT> get_button_pos(HWND hwnd);
// Gets position of given window.
std::optional<RECT> get_window_pos(HWND hwnd);
// Gets mouse postion.
// Gets mouse position.
std::optional<POINT> get_mouse_pos();
// Test if window can be zoned by FancyZones
@@ -47,7 +47,7 @@ void show_last_error_message(LPCWSTR lpszFunction, DWORD dw);
enum WindowState
{
UNKNONW,
UNKNOWN,
MINIMIZED,
MAXIMIZED,
SNAPED_TOP_LEFT,
@@ -63,17 +63,17 @@ WindowState get_window_state(HWND hwnd);
// Returns true if the current process is running with elevated privileges
bool is_process_elevated(const bool use_cached_value = true);
// Drops the elevated privilages if present
// Drops the elevated privileges if present
bool drop_elevated_privileges();
// Run command as elevated user, returns true if succeeded
bool run_elevated(const std::wstring& file, const std::wstring& params);
// Run command as non-elevated user, returns true if succeeded
bool run_non_elevated(const std::wstring& file, const std::wstring& params);
// Run command as non-elevated user, returns true if succeeded, puts the process id into returnPid if returnPid != NULL
bool run_non_elevated(const std::wstring& file, const std::wstring& params, DWORD* returnPid);
// Run command with the same elevation, returns true if succedded
bool run_same_elevation(const std::wstring& file, const std::wstring& params);
// Run command with the same elevation, returns true if succeeded
bool run_same_elevation(const std::wstring& file, const std::wstring& params, DWORD* returnPid);
// Returns true if the current process is running from administrator account
bool check_user_is_admin();
@@ -99,6 +99,8 @@ std::wstring get_resource_string(UINT resource_id, HINSTANCE instance, const wch
// is added to the .cpp file.
#define GET_RESOURCE_STRING(resource_id) get_resource_string(resource_id, reinterpret_cast<HINSTANCE>(&__ImageBase), L#resource_id)
std::optional<std::string> exec_and_read_output(const std::wstring_view command, const DWORD timeout = INFINITE);
// Helper class for various COM-related APIs, e.g working with security descriptors
template<typename T>
struct typed_storage
@@ -134,3 +136,5 @@ struct overloaded : Ts...
};
template<class... Ts>
overloaded(Ts...)->overloaded<Ts...>;
#define POWER_LAUNCHER_PID_SHARED_FILE L"Local\\3cbfbad4-199b-4e2c-9825-942d5d3d3c74"

View File

@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\packages\Microsoft.Windows.CppWinRT.2.0.200514.2\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('..\..\packages\Microsoft.Windows.CppWinRT.2.0.200514.2\build\native\Microsoft.Windows.CppWinRT.props')" />
<Import Project="..\..\installer\Version.props" />
<Target Name="GenerateVersionData" BeforeTargets="PrepareForBuild">
<ItemGroup>
@@ -25,18 +26,17 @@
<ProjectGuid>{74485049-C722-400F-ABE5-86AC52D929B3}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>common</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
<WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
<ProjectName>common</ProjectName>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<ImportGroup Label="Shared">
<Import Project="..\..\packages\Microsoft.Windows.ImplementationLibrary.1.0.190716.2\build\native\Microsoft.Windows.ImplementationLibrary.targets" Condition="Exists('..\..\packages\Microsoft.Windows.ImplementationLibrary.1.0.190716.2\build\native\Microsoft.Windows.ImplementationLibrary.targets')" />
</ImportGroup>
<ImportGroup Label="Shared" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
<SpectreMitigation>Spectre</SpectreMitigation>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
@@ -44,6 +44,7 @@
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<SpectreMitigation>Spectre</SpectreMitigation>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
@@ -67,13 +68,10 @@
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
<LanguageStandard>stdcpplatest</LanguageStandard>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<AdditionalIncludeDirectories>inc;telemetry;..\..\deps\cpprestsdk\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
@@ -84,21 +82,24 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
<Lib>
<AdditionalLibraryDirectories>Shlwapi.lib;</AdditionalLibraryDirectories>
<AdditionalDependencies>shlwapi.lib;shcore.lib</AdditionalDependencies>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(CIBuild)'!='true'">
<ClCompile>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<LanguageStandard>stdcpplatest</LanguageStandard>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<AdditionalIncludeDirectories>inc;telemetry;..\..\deps\cpprestsdk\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalOptions>/await %(AdditionalOptions)</AdditionalOptions>
@@ -110,7 +111,7 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
<Lib>
<AdditionalLibraryDirectories>Shlwapi.lib;</AdditionalLibraryDirectories>
<AdditionalDependencies>shlwapi.lib;shcore.lib</AdditionalDependencies>
</Lib>
</ItemDefinitionGroup>
<ItemGroup>
@@ -119,10 +120,17 @@
<ClInclude Include="d2d_svg.h" />
<ClInclude Include="d2d_text.h" />
<ClInclude Include="d2d_window.h" />
<ClInclude Include="debug_control.h" />
<ClInclude Include="dpi_aware.h" />
<ClInclude Include="com_object_factory.h" />
<ClInclude Include="keyboard_layout.h" />
<ClInclude Include="keyboard_layout_impl.h" />
<ClInclude Include="notifications.h" />
<ClInclude Include="os-detection\os-detect.h" />
<ClInclude Include="RestartManagement.h" />
<ClInclude Include="shared_constants.h" />
<ClInclude Include="timeutil.h" />
<ClInclude Include="two_way_pipe_message_ipc.h" />
<ClInclude Include="VersionHelper.h" />
<ClInclude Include="window_helpers.h" />
<ClInclude Include="icon_helpers.h" />
@@ -137,7 +145,7 @@
<ClInclude Include="common.h" />
<ClInclude Include="Telemetry\ProjectTelemetry.h" />
<ClInclude Include="Telemetry\TraceLoggingDefines.h" />
<ClInclude Include="two_way_pipe_message_ipc.h" />
<ClInclude Include="two_way_pipe_message_ipc_impl.h" />
<ClInclude Include="version.h" />
<ClInclude Include="windows_colors.h" />
<ClInclude Include="winstore.h" />
@@ -149,13 +157,15 @@
<ClCompile Include="d2d_window.cpp" />
<ClCompile Include="dpi_aware.cpp" />
<ClCompile Include="json.cpp" />
<ClCompile Include="keyboard_layout.cpp" />
<ClCompile Include="monitors.cpp" />
<ClCompile Include="notifications.cpp" />
<ClCompile Include="on_thread_executor.cpp" />
<ClCompile Include="os-detection\os-detect.cpp" />
<ClCompile Include="pch.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(CIBuild)'!='true'">Create</PrecompiledHeader>
</ClCompile>
<ClCompile Include="RestartManagement.cpp" />
<ClCompile Include="settings_helpers.cpp" />
<ClCompile Include="settings_objects.cpp" />
<ClCompile Include="icon_helpers.cpp" />
@@ -163,6 +173,7 @@
<ClCompile Include="tasklist_positions.cpp" />
<ClCompile Include="common.cpp" />
<ClCompile Include="version.cpp" />
<ClCompile Include="two_way_pipe_message_ipc.cpp" />
<ClCompile Include="VersionHelper.cpp" />
<ClCompile Include="windows_colors.cpp" />
<ClCompile Include="window_helpers.cpp" />
@@ -173,11 +184,15 @@
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
<Import Project="..\..\packages\Microsoft.Windows.ImplementationLibrary.1.0.200519.2\build\native\Microsoft.Windows.ImplementationLibrary.targets" Condition="Exists('..\..\packages\Microsoft.Windows.ImplementationLibrary.1.0.200519.2\build\native\Microsoft.Windows.ImplementationLibrary.targets')" />
<Import Project="..\..\packages\Microsoft.Windows.CppWinRT.2.0.200514.2\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('..\..\packages\Microsoft.Windows.CppWinRT.2.0.200514.2\build\native\Microsoft.Windows.CppWinRT.targets')" />
</ImportGroup>
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\packages\Microsoft.Windows.ImplementationLibrary.1.0.190716.2\build\native\Microsoft.Windows.ImplementationLibrary.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Windows.ImplementationLibrary.1.0.190716.2\build\native\Microsoft.Windows.ImplementationLibrary.targets'))" />
<Error Condition="!Exists('..\..\packages\Microsoft.Windows.ImplementationLibrary.1.0.200519.2\build\native\Microsoft.Windows.ImplementationLibrary.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Windows.ImplementationLibrary.1.0.200519.2\build\native\Microsoft.Windows.ImplementationLibrary.targets'))" />
<Error Condition="!Exists('..\..\packages\Microsoft.Windows.CppWinRT.2.0.200514.2\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Windows.CppWinRT.2.0.200514.2\build\native\Microsoft.Windows.CppWinRT.props'))" />
<Error Condition="!Exists('..\..\packages\Microsoft.Windows.CppWinRT.2.0.200514.2\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Windows.CppWinRT.2.0.200514.2\build\native\Microsoft.Windows.CppWinRT.targets'))" />
</Target>
</Project>

View File

@@ -51,9 +51,6 @@
<ClInclude Include="Telemetry\TraceLoggingDefines.h">
<Filter>Header Files\Telemetry</Filter>
</ClInclude>
<ClInclude Include="two_way_pipe_message_ipc.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="async_message_queue.h">
<Filter>Header Files</Filter>
</ClInclude>
@@ -99,6 +96,30 @@
<ClInclude Include="com_object_factory.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="shared_constants.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="keyboard_layout_impl.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="keyboard_layout.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="two_way_pipe_message_ipc_impl.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="two_way_pipe_message_ipc.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="os-detection\os-detect.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="RestartManagement.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="debug_control.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="d2d_svg.cpp">
@@ -159,9 +180,21 @@
<ClCompile Include="VersionHelper.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="keyboard_layout.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="version.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="two_way_pipe_message_ipc.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="os-detection\os-detect.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="RestartManagement.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />

View File

@@ -24,19 +24,19 @@ D2DText& D2DText::resize(float text_size, float scale)
return *this;
}
D2DText& D2DText::set_aligment_left()
D2DText& D2DText::set_alignment_left()
{
winrt::check_hresult(format->SetTextAlignment(DWRITE_TEXT_ALIGNMENT_LEADING));
return *this;
}
D2DText& D2DText::set_aligment_center()
D2DText& D2DText::set_alignment_center()
{
winrt::check_hresult(format->SetTextAlignment(DWRITE_TEXT_ALIGNMENT_CENTER));
return *this;
}
D2DText& D2DText::set_aligment_right()
D2DText& D2DText::set_alignment_right()
{
winrt::check_hresult(format->SetTextAlignment(DWRITE_TEXT_ALIGNMENT_TRAILING));
return *this;

View File

@@ -7,9 +7,9 @@ class D2DText
public:
D2DText(float text_size = 15.0f, float scale = 1.0f);
D2DText& resize(float text_size, float scale);
D2DText& set_aligment_left();
D2DText& set_aligment_center();
D2DText& set_aligment_right();
D2DText& set_alignment_left();
D2DText& set_alignment_center();
D2DText& set_alignment_right();
void write(ID2D1DeviceContext5* d2d_dc, D2D1_COLOR_F color, D2D1_RECT_F rect, std::wstring text);
private:

View File

@@ -69,7 +69,7 @@ void D2DWindow::base_init()
&options,
d2d_factory.put_void()));
}
// For all other stuff - assing nullptr first to release the object, to reset the com_ptr.
// For all other stuff - assign nullptr first to release the object, to reset the com_ptr.
d2d_dc = nullptr;
d2d_device = nullptr;
dxgi_factory = nullptr;

View File

@@ -0,0 +1,4 @@
#pragma once
// Prevent system-wide input lagging while paused in the debugger
//#define DISABLE_LOWLEVEL_HOOKS_WHEN_DEBUGGED

View File

@@ -56,7 +56,7 @@ namespace DPIAware
SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2);
}
AwarnessLevel GetAwarenessLevel(DPI_AWARENESS_CONTEXT system_returned_value)
AwarenessLevel GetAwarenessLevel(DPI_AWARENESS_CONTEXT system_returned_value)
{
const std::array levels{ DPI_AWARENESS_CONTEXT_UNAWARE,
DPI_AWARENESS_CONTEXT_SYSTEM_AWARE,
@@ -67,9 +67,9 @@ namespace DPIAware
{
if (AreDpiAwarenessContextsEqual(levels[i], system_returned_value))
{
return static_cast<AwarnessLevel>(i);
return static_cast<AwarenessLevel>(i);
}
}
return AwarnessLevel::UNAWARE;
return AwarenessLevel::UNAWARE;
}
}

Some files were not shown because too many files have changed in this diff Show More