Commit Graph

686 Commits

Author SHA1 Message Date
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
299864a9cf rename 2016-05-25 01:03:32 +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
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
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
Mingye Wang
cf685b404d lang/en: enlint (#644) 2016-05-20 01:28:46 +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
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
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
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
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
21285f02b8 Refactoring updater
1. move into a separate class
2. remove unused nuget package
2016-05-09 22:45:24 +01:00
bao-qian
7dd9b3fa0c Misc 2016-05-09 03:18:36 +01:00
bao-qian
9f70af009f Remove prerelease 2016-05-09 03:15:37 +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
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
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
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
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
1961816ba7 Fix #572 2016-05-05 02:54:26 +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
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
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
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
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
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
24950a098f fix #570 2016-04-24 14:47:18 +01:00
bao-qian
cbc1c935bf fix missing pinyin file 2016-04-24 01:43:23 +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
5bc74fc296 Use resharper annotation nuget package 2016-04-22 23:13:14 +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
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
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
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
32e9a7fa06 Misc 2016-03-23 20:31:59 +00:00
stafford
88a47e7788 made margins consistent 2016-03-11 12:13:47 +11: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
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
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
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