database64128
d6d105fbc8
🌐 Set culture to LocalizeDictionary instance
- Workaround for ElementHost bug
4 years ago
database64128
d37600231f
🎂 ForwardProxyView + HotkeysView + OnlineConfigView + VersionUpdatePromptView
- Infrastructure: use one HttpClient instance throughout the lifecycle
- Version update: rewrite the update service and add update prompt window
- Server sharing: add copy link button
- Dependencies: add ReactiveUI.Events.WPF, ReactiveUI.Fody, ReactiveUI.Validation, WPFLocalizeExtension, MdXaml
4 years ago
database64128
d72c2b0429
✔ Geosite group validation + PAC regeneration on version update
- Validate geosite group configuration
- Reset to default if specified group doesn't exist
- Regenerate pac.txt on version update (can be turned off)
- Cleanup of `Configuration` to separate loading logic and processing logic
4 years ago
Student Main
f46b1fb8b0
online config deletion, and update when startup
4 years ago
Student Main
7d9e73f9ca
go back to mutex based single instance for better reliability
4 years ago
Student Main
5172267289
refactor named pipe IPC
4 years ago
Student Main
f209f8d159
use CommandLineParser to parse command line
4 years ago
Student Main
ced49e2de1
use single method to get ExecutablePath
4 years ago
Student Main
60321826fc
add gitattributes, run unix2dos to unify line ending
5 years ago
Student Main
c7b33bba1f
port GfwlistUpdater feature
5 years ago
Student Main
6369e76f8d
make sure protobuf works
in case gfwlist no longer update
5 years ago
database64128
4bd33db1ae
🔍 Renamed to NamedPipeServer for clarity.
5 years ago
Student Main
1e92b30fe5
add from url without another instance
also with some i18n update
5 years ago
Student Main
7c22506eb1
add protocol handler in registry
5 years ago
Student Main
e492bc02f4
pass received url to controller
5 years ago
Student Main
5846c9dc93
named pipe for url ipc
5 years ago
celeron533
5bc4a0b1cc
Fix autostart issue #2841
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