Commit Graph

35 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
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
164a34a340 Refactoring for tab selected event 2016-05-25 01:03:36 +01:00
bao-qian
7d2ac2f55d Introduce viewmodel for settingwindow 2016-05-25 01:03:34 +01:00
bao-qian
3f709cc39e Fix notify icon + move hotkey into MainViewModel 2016-05-09 23:35:20 +01:00
bao-qian
fb3ba16a92 fix SingleInstance 2016-05-09 22:45:24 +01:00
bao-qian
373da78b7b Misc 2016-05-08 22:26:46 +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
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
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
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
c3b6b8d821 Remove unused code 2016-03-26 18: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
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
533bc4c2fe Misc
part of refactoring for PR #494
2016-02-21 17:10:24 +00:00
bao-qian
927277a6cd ActionPanel -> ContextMenu
part of refactoring for PR #494
2016-02-21 17:10:21 +00:00
bao-qian
5df766466a Misc
part of refactoring for PR #494
2016-02-21 15:26:57 +00:00
bao-qian
4643810b75 ActionPanel -> ContextMenu
part of refactoring for PR #494
2016-02-21 14:40:10 +00: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