Commit Graph

210 Commits

Author SHA1 Message Date
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
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
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
405d55f3f6 Don't call init() and constructor for disabled plugins
part of #351
2016-05-10 01:08:54 +01:00
bao-qian
21aa31f963 Fix proxy for github update 2016-05-09 23:51:10 +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
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
e88e912c3c Remove unused updater and command line arguments 2016-05-08 22:13:23 +01:00
roose
ae121895e9 Added solution for executable plugins 2016-05-08 17:28:00 +01:00
bao-qian
fe5bb1d885 parallel foreach + list is not thread safe 2016-05-08 17:27:53 +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
0fa126a6b8 fixup test code 2016-05-05 12:30:23 +01:00
bao-qian
7e7637a1b3 Misc 2016-05-05 02:21:04 +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
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
c200c53268 Misc 2016-04-26 00:24:49 +01:00
bao-qian
5bc74fc296 Use resharper annotation nuget package 2016-04-22 23:13:14 +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
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
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
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
0728d96339 Bump nuget package version 2016-03-26 04:45:03 +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
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
eb8aa195c2 ResultItem -> Result, part 2
part of refactoring for PR #494
2016-02-21 17:10:23 +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
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
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
0daa3a8f57 ReSharper: remove redundant code 2016-01-06 21:34:42 +00:00
bao-qian
f589bdc78d Optimize using 2016-01-06 06:45:08 +00:00
bao-qian
539eadf533 Merge master 2015-12-13 13:32:30 +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
547bd46bb3 Disable blur when os is not supported
Releated: #330
2015-11-29 12:47:04 +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
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
e3e5085214 Merge branch 'master' into dev 2015-11-28 11:48:28 +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
53236faaa0 add french locale & xaml 2015-11-27 22:04:13 +01:00
bao-qian
c4a5eeabcc merge master 2015-11-26 06:57:12 +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
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
e848c78dba Merge branch 'master' into dotnet45 2015-11-12 22:02:40 +00:00
bao-qian
11aed2ab61 Fix output path for Wox.Core 2015-11-11 00:42:34 +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
287e15fddc *forgot to stage files on last commit 2015-11-10 06:36:08 +01: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
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
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
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
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
3d9b9af55e Fix #362 2015-11-04 17:08:27 +00: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
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
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
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