Commit Graph

218 Commits

Author SHA1 Message Date
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
d15611fd44 Remove redundant OnPropertyChagned 2016-05-25 01:06:25 +01:00
bao-qian
95cdc89795 Hotkey for mainwindow 2016-05-25 01:03:50 +01:00
bao-qian
4c21a68139 remove tab selection 2016-05-25 01:03:40 +01:00
bao-qian
164a34a340 Refactoring for tab selected event 2016-05-25 01:03:36 +01:00
bao-qian
937ce34c36 Rename 2016-05-18 19:38:43 +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
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
e88e912c3c Remove unused updater and command line arguments 2016-05-08 22:13:23 +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
407f58da54 fix selected item
part of #412
2016-05-08 17:27:54 +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
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
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
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
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
rmterra
a13557d71d Merge branch 'dev' 2016-02-23 23:07:35 -03:00
bao-qian
43bfeff2be Remove redundant code 2016-02-22 21:43:37 +00:00
rmterra
cb952b0d3a updates MainWindow visibility bindings to use System.Windows.Visibility instead of bool 2016-02-21 18:27:05 -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
Colin Liu
1b4cc556be Revert Hotkey from InputBinding back to KeyDown event 2016-02-19 22:58:27 +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
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
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
6071319acd Refactoring directory path for misc 2016-01-08 01:57:11 +00:00
bao-qian
ec40956721 Merge language and theme into resource folder 2016-01-07 20:04:37 +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
1a8efdbf2c Replace DelayInvoke with Task + Async 2016-01-06 06:31:17 +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
8ade52c8d9 Merge pull request #423 from lances101/bugfix-271-positioning
Bugfix #271 positioning
2016-01-03 17:31:44 +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
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
cbc3cfc33b Fix duplication of tray icons
Fix #413
2015-11-30 19:49:46 +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
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
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
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