Student Main
2940927e69
add named pipe into net-core Program.cs
We forget merge it
5 years ago
Student Main
69dff0cce5
per encryptor optimization
5 years ago
MysticBoy
bc0e1bb9f7
add .Net 4.7.2
5 years ago
MysticBoy
5783bf4ea2
upgrade test project to .net core 3.0
5 years ago
Student Main
cdc620fc68
Merge branch 'master' into check-updated
5 years ago
celeron533
1d0aa5881e
Working NLog with config file and "verbose log" option
5 years ago
celeron533
84c55d116d
WIP: Migrate to NLog
5 years ago
Student Main
13a3471fa3
Invoke EventHandler instead of show balloon tip when updated
5 years ago
celeron533
46da8d98b9
Update .Net Framework download link
5 years ago
谭九鼎
9e953b33aa
Fix .NET 4.7.2 on Win7 TLS compatibility ( #2473 )
5 years ago
Student Main
447632ff07
set command line parameter when register restart, for future
6 years ago
Student Main
5e0ccffa96
Register restart after system reboot, #2154
6 years ago
upupming
e1e80c79b6
Fixed: .net download link
6 years ago
celeron533
80e4bec8c8
Fix fail to register hotkeys after wake up ( #1954 )
6 years ago
celeron533
c24714e168
Simplify SystemEvents_PowerModeChanged()
7 years ago
noisyfox
41827f283e
Refine code
8 years ago
noisyfox
e7b559f1da
Refine code
8 years ago
noisyfox
63816ccdd1
Fix hotkey unregister issue.
Use singleton mode for hotkey callbacks.
8 years ago
Syrone Wong
abcf3004ac
Detach static event handler before exiting
I hope this is the last one.
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Syrone Wong
199c204b5d
Misc
- detach event handler before exiting
- eliminate UI and non-UI exception handling race
- rework exception message
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
noisyfox
a16e80743c
Open .net download page automatically
8 years ago
noisyfox
aa9fd8ec06
Check .NET Framework version on startup
8 years ago
Syrone Wong
f06f6f2fbb
Refine power mode handling
- enlarge timeout to 10 seconds
- detach event handler before exiting
- output log if success
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Syrone Wong
9c438ee745
Misc
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Syrone Wong
74ad98d9ce
Distinguish unhandled error type
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Syrone Wong
e099e92d1a
Fix typo
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Syrone Wong
ebc8d9c5bd
Catch more exceptions
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Syrone Wong
433c3bfbcc
Delay 5 seconds to start controller when OS is about to resume
Workaround for slow computers
Credit to GangZhou's code
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Syrone Wong
99bdec334c
Add global hotkey support ( #724 )
Design:
Use the plain string for both config and hotkey parsing
and make use of KeyConverter, ModifierKeysConverter
to make it more rubust.
Find corresponding label (to display operation result) and callback (to do the real work) based on textbox name. In this case, they should be named as `<Feature-Name><Control-Name>`.
ShowLogsTextBox,
ShowLogsLabel,
ShowLogsCallback.
If this requirement doesn't meet, throw an exception at runtime.
Logic:
How to input keys:
1. put focus in the corresponding textbox
2. press the key combination you want to use
3. when you think it is ready, release all keys
4. the textbox shows your input
How to change keys:
1. put focus in the corresponding textbox
2. press BackSpace to clear content
3. re-input new one
How to deactivate:
1. clear content in the textbox
2. press OK button
Meaning of label color:
- Green: this combination is not occupied by other programs and register successfully
- Yellow: this combination is occupied by other programs and you have to change to another one
- Transparent without color: initial status
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Syrone Wong
33b2ca8c8a
Refactor
- Only use one instance of LogForm
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Syrone Wong
ab464ca8b1
change controller status if needed
- Change controller based on power mode
- Stop before exiting
Based on GangZhuo's code
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Syrone Wong
3417a984fa
Change requirements
- Running on Windows Vista or above
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Syrone Wong
a9af9fdfc0
Refactor
- use null conditional access in case some connections been
cancelled unexpectedly and may cause null reference exception
- Refine error message
- use conditional operator to simplify some code
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Syrone Wong
6a8a09983e
Merge fixes from @GangZhuo , close #478 ( #638 )
Squashed commit of the following:
commit e280c2385c
Merge: 579039f
87aa9eb
Author: Gang Zhuo <gang.zhuo@gmail.com>
Date: Wed Mar 16 04:02:27 2016 -0400
Merge remote-tracking branch 'origin/master'
commit 579039fe40
Author: Gang Zhuo <gang.zhuo@gmail.com>
Date: Fri Mar 4 21:45:23 2016 +0800
log unhandle exception
commit 8d863f1d5f
Author: Gang Zhuo <gang.zhuo@gmail.com>
Date: Fri Mar 4 21:44:54 2016 +0800
fix Availability Statistics
commit b3ce1c698a
Author: Gang Zhuo <gang.zhuo@gmail.com>
Date: Fri Mar 4 21:07:54 2016 +0800
tiny refactor
commit 0f7d39e27e
Merge: bd7078a
b01aced
Author: Gang Zhuo <gang.zhuo@gmail.com>
Date: Fri Mar 4 20:02:58 2016 +0800
Merge remote-tracking branch 'origin/master'
commit bd7078aa4f
Author: Gang Zhuo <gang.zhuo@gmail.com>
Date: Fri Mar 4 20:01:58 2016 +0800
tiny refactor
commit 49adb95b6e
Author: Gang Zhuo <gang.zhuo@gmail.com>
Date: Fri Mar 4 03:44:26 2016 -0500
log more Ping information for debug
commit 2aa0620ddd
Author: Gang Zhuo <gang.zhuo@gmail.com>
Date: Fri Mar 4 03:04:10 2016 -0500
reduce 3rd packages
[solve conflicts and squash to make history clean]
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
kimw
64390d45ac
GetTempPath() now supports: return a full path with filename combined which pointed to the temporary directory
9 years ago
10people
ca44b52593
Fix error in open log file in debug mode.
9 years ago
clowwindy
71bd0d2b5a
improve user experience for some users
9 years ago
clowwindy
ab38538b34
allow multiple instances
9 years ago
clowwindy
a0a5cafe3d
lint code
10 years ago
clowwindy
6192e09970
revert stop call
10 years ago
Gang Zhuo
f1c821a9cd
call controller.Stop() when application exit
10 years ago
clowwindy
e53873276f
translate Microsoft language into human language
10 years ago
clowwindy
09ad2ca272
release memory periodically
10 years ago
clowwindy
ca0774ddb3
enable visual styles before alert()
10 years ago
clowwindy
7f76141ca2
seperate tray menu from ConfigForm
10 years ago
clowwindy
0d78051318
fix #60
10 years ago
clowwindy
b8252d11e4
remove OpenSSL
10 years ago
clowwindy
ed2722a993
back to polarssl
10 years ago
clowwindy
acf2f807a8
experimental
10 years ago
clowwindy
b538a89fdf
add openssl
10 years ago