bao-qian
7d2ac2f55d
Introduce viewmodel for settingwindow
2016-05-25 01:03:34 +01:00
xiami
635a8a24f2
fix null error when plugin doesn't set Action ( #656 )
2016-05-20 17:14:24 +01:00
bao-qian
937ce34c36
Rename
2016-05-18 19:38:43 +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
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
bao-qian
192e4b8877
Refactoring results update
2016-05-08 17:28:02 +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
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
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
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
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
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
59355cf79f
Add plugin info entry for all context menu
2016-04-26 00:24:50 +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
07fe141f8a
Fix #565
...
1. Fix resultlistbox visibility
2. Fix #565
3. Remove unused convertor
2016-04-24 17:06:28 +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
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
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
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
32e9a7fa06
Misc
2016-03-23 20:31:59 +00: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
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
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
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
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
7e7b41cd8c
ResultPanel -> ResultListBox, part 2
...
part of refactoring for PR #494
2016-02-21 17:04:28 +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
0e6cd0f72a
ResultPanel -> ResultListBox, part 2
...
part of refactoring for PR #494
2016-02-21 14:22:34 +00: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
ca3bedc9a1
Fix dependency bugs
2016-02-18 19:43:35 +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