Commit Graph

568 Commits

Author SHA1 Message Date
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
Colin Liu
934a41e414 Refactor ResultPanel/ResultItem with MVVM 2016-02-18 19:31:15 +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
niwatolli3
8182141e93 refs #485
* Add more Japanese support
2016-02-09 23:53:06 +09: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
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
c8a932b6b3 Refactoring directory path for storage 2016-01-07 02:31:17 +00:00
bao-qian
b386af4121 Add executable directory path 2016-01-06 22:18:27 +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
f589bdc78d Optimize using 2016-01-06 06:45:08 +00:00
bao-qian
1a8efdbf2c Replace DelayInvoke with Task + Async 2016-01-06 06:31:17 +00:00
bao-qian
b78e0144de Remove unused files 2016-01-06 06:03:50 +00:00
bao-qian
3c27b50ff6 Update score when titles are same 2016-01-06 04:58:40 +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
99a7453f28 Merge pull request #454 from Wox-launcher/dotnet45
Upgrade Wox to .net 4.5
2016-01-03 17:32:02 +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
a3ca1febbc ResultPanel should be empty when there is no result 2016-01-02 23:22:58 +00:00
bao-qian
f9e27ef67c Fix UI flickering under .net 4.5
1. This is part of .net 4.5 fix, check #393 to see more
2. This bug is introduced since commit df4ca3fecc9784a3b55f93806d8b2a662523056f
2016-01-02 06:59:35 +00:00
bao-qian
4d25d505e0 Fix color of selected item and mouse item
This is part of .net 4.5 fix, check #393 to see more
2016-01-02 04:34:20 +00:00
bao-qian
74fb470647 Merge pull request #453 from Wox-launcher/master
Merge branch 'master' into 'dotnet45'
2016-01-02 02:10:37 +00:00
bao-qian
4fcb8d5540 Merge branch 'dev' 2016-01-02 00:23:12 +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
bao-qian
d87317f937 Merge pull request #427 from lances101/bugfix-397
Bugfix for issue #397
2016-01-01 17:09:40 +00:00
bao-qian
a860acaf0d Remove .net 4 compability 2015-12-14 10:32:45 +00:00
Boris Makogonyuk
734505ee73 Bugfix for issue #397
Wallpaper is not cached in Wox's memory, so that the wallpaper file remains unlocked
2015-12-13 21:43:58 +01:00
bao-qian
539eadf533 Merge master 2015-12-13 13:32:30 +00:00
bao-qian
3beebd42a8 delete junk 2015-12-13 13:16:33 +00:00
Boris Makogonyuk
66e00bb79a Messages should now display correctly on high dpi devices: now using Device Aware Pixels too. 2015-12-13 04:50:23 +01: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
29f535da94 Upgrade json package 2015-11-30 22:45:04 +00:00
bao-qian
cbc3cfc33b Fix duplication of tray icons
Fix #413
2015-11-30 19:49:46 +00:00
bao-qian
5b8fa5ec8d Refresh UI after change font 2015-11-29 07:40:56 +00:00
bao-qian
2c81ff90da Use opacity to set blur
releated: #330
2015-11-29 07:23:05 +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
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
2d68e3d4f3 add fr to csproj 2015-11-27 23:22:29 +01:00
vankasteelj
53236faaa0 add french locale & xaml 2015-11-27 22:04:13 +01:00
bao-qian
b11972d1b7 Merge remote-tracking branch 'origin/master' into dotnet45 2015-11-26 07:45:12 +00:00
bao-qian
041ea2fbb1 Merge branch 'master' into dev 2015-11-26 07:43:44 +00:00
bao-qian
bc2a9cf1c0 Misc
IDE Misc
2015-11-26 07:09:08 +00: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
qianlifeng
9c082a573c Merge pull request #383 from lances101/dev
Wox now has Blur
2015-11-13 11:05:29 +08:00
bao-qian
7de0a0a44a Fix "The type initializer for 'System.Windows.Application' threw an exception." 2015-11-12 22:14:22 +00:00
bao-qian
e848c78dba Merge branch 'master' into dotnet45 2015-11-12 22:02:40 +00:00
bao-qian
3f60723425 Fix some unresolved reference for xaml 2015-11-12 20:36:32 +00:00
bao-qian
49bf86a8d5 Fix missing dll for CMD plugin
1. Fix #382
2. Part of #387
2015-11-11 01:17:37 +00:00
bao-qian
e6f19a4abf Fix unhandled exception 2015-11-11 00:33:33 +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
9a56ebea81 Black and White Themes updated and staged 2015-11-10 06:54:23 +01:00
Boris Makogonyuk
287e15fddc *forgot to stage files on last commit 2015-11-10 06:36:08 +01:00
Boris Makogonyuk
724cb0787d Applying theme before actually setting the theme accent.
UserSettingStorage now stores current theme accent mode.

Themes:
Added a bunch of them. Testing what works.
2015-11-10 06:35:09 +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
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
543cd5af80 Fix progress bar
Bug introduced in 9962ddf2ed80a00036ebdb2965429675c4355472
2015-11-08 03:06:34 +00:00
bao-qian
e3cdfe27d1 Fix query history for the new result panel 2015-11-08 02:50:33 +00:00
bao-qian
b33b696336 Misc 2015-11-08 02:27:13 +00:00
bao-qian
2b27e84956 Enhance result panel update
The last commit f132cb54baa000a245feb5da87149960f6dbd9f5 only fix UI
flickering for different icon. This commit also fix the commit for same
icon. e.g. in web search plugin, although the title is different, but
the icon is not changes.
part of #350
2015-11-08 01:44:28 +00:00
bao-qian
9627272b57 Fix clearance of old results
part of #350
2015-11-07 20:48:18 +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
7d52b0cc96 Fix exclusive for action keyword 2015-11-07 03:50:26 +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
cae8485092 Fix UI flickering
See #350
2015-11-06 21:30:38 +00:00
bao-qian
64e020b1ad Better crash report 2015-11-06 19:55:48 +00:00
bao-qian
2dd2208f48 Fix ui for action keywords 2015-11-06 18:12:46 +00:00
bao-qian
af7beb2c34 Improve UI for multiple action keywords
See #352
2015-11-06 02:29:32 +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
3085799c3c Fix #357
Fix bug introduced since a5abe9234faafcd170f9468a70f42bf60eda0f0d
2015-11-04 17:21:45 +00:00
bao-qian
dc8df9c62f Enable PreLoadImages
Fix bug introduced in
cf87f68b42
2015-11-04 01:10:54 +00:00
bao-qian
cb1da686ec Fix System.NullReferenceException for #356 2015-11-04 00:26:15 +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
c9edc217fd Misc 2015-11-02 13:43:19 +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
b5a8312167 Add startup time measurement 2015-11-02 02:47:43 +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
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
4368602684 Use consistent name convention 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
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
bao-qian
251834143c Better comment 2015-10-30 23:23:08 +00:00
bao-qian
ad8b6c806d Optimize using directives 2015-10-30 23:23:01 +00:00
bao-qian
26a6264039 Refactoring DelayInvoke
In MainWindow.xaml.cs, the reference of originQuery, lastQuery and
tbQuery.Text are same, so remove originQuery is fine.
2015-10-30 23:22:54 +00:00
bao-qian
2dfcee6b25 Remove unnecessary thread switch 2015-10-30 23:22:47 +00:00
bao-qian
2538a79ef0 Remove unused reference
System.xaml also removed because .net 3.5 doesn't has this dll, and it resolve the issue when using code metrics
2015-10-30 23:22:25 +00:00
Boris Makogonyuk
559eebbb70 Issue: If Wox was set to ignore hotkeys on full-screen it would fail.
Cause: Compared IntPtr with null. IntPtr is never null.
2015-10-14 18:41:45 +02:00
Boris Makogonyuk
dc4c33c0d5 Reflected functionality changes from the last commit on the whole project. 2015-10-08 01:02:36 +02:00
Boris Makogonyuk
3fbebfc283 ~Changed how the fullscreen detection work. Checking by Topmost was a stupid idea. It will now check for the window to fill the whole screen area. 2015-10-08 00:52:52 +02:00
Boris Makogonyuk
7273e1218a Wox now has an option to ignore hotkeys when the focused window is topmost. This will ignore not only the main Wox hotkey but also plugin hotkeys.
~ WindowIntelopHelper edited
~ User settings entry added
~ Checkbox added to General tab (as well as its events)
~ Language entries added for en/ru
2015-10-08 00:17:37 +02:00
Boris Makogonyuk
92ddf2ca41 Fixed commit #334 multiple SelectionChanged firing 2015-10-06 14:46:12 +02:00
Ioannis G
860210628e close settings with esc 2015-09-26 00:50:22 +03:00
Ioannis G
a1988f91c1 fix tab populating in settings (fixes #291) 2015-09-25 23:43:09 +03:00
Boris Makogonyuk
805b83da9c Added Russian translations to Wox 2015-09-04 22:35:52 +01:00
renzhn
9ce239dedb fix StringNullOrEmptyToVisibilityConverter has no 0 parameter constructor 2015-08-28 08:02:23 +08:00
renzhn
bc86c9b57d setting window: plugin 2015-08-28 08:02:09 +08:00
renzhn
d9b9e02412 set port number if not zero 2015-08-28 08:01:41 +08:00
qianlifeng
618ba376b2 Ajust maxium result item UI 2015-07-17 15:23:38 +08:00
qianlifeng
c8a445275b merge with master 2015-07-17 15:08:39 +08:00
qianlifeng
68b3c449a6 misc 2015-07-17 14:37:38 +08:00
kerams
2089406eaf Add option to put computer to sleep 2015-07-14 17:59:24 +02:00
kerams
c79bf1ca3a Make the number of results show at a time customizable 2015-07-12 21:13:30 +02:00
Leon V
825128b630 Support for assigning any key as a hotkey; minor refactoring 2015-06-07 13:45:06 +10:00