19 Commits
Author SHA1 Message Date
Syrone Wong 9ca61defe8 record user wininet settings and restore after use 2017-03-31 21:47:49 +08:00
noisyfox 76fbd808e3 Add menu item to copy local pac url 2016-12-10 01:26:40 +11:00
noisyfox 430137495c Always use {} 2016-12-09 02:36:33 +11:00
noisyfox 5c5f753721 Use external agents to set system proxy.
This fix the proxy issue on win10 insider preview.
2016-12-09 02:15:29 +11:00
noisyfox 22d8cdeff7 Add secret in local pac url. 2016-12-08 18:13:22 +11:00
noisyfox cfc6e674da Catch and log known exceptions in SystemProxy 2016-11-12 19:38:47 +11:00
Syrone Wong 70bff7d7cc Use wininet API to setup system proxy
Get rid of tricky registry handling

Several files come from https://code.msdn.microsoft.com/windowsapps/CSWebBrowserWithProxy-c8535715/view/SourceCode

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-10-06 16:12:35 +08:00
Syrone Wong 13ebb5ef01 Fix RegistryKey dispose
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-10-01 06:53:43 +08:00
Syrone Wong 6a552a03d0 Fix typo
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-08-11 10:06:58 +08:00
Syrone Wong 6a26436850 Refine Windows registry handling(#512)
- Added a util function to handle x86 and x64
  currently, we only handle keys in HKCU
- Close registry key after operations

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-08-10 17:42:37 +08:00
Licshee 687f397ae3 using StringEx 2016-02-06 12:47:45 +08:00
Licshee 413803c56f fix case-insensitive behavior 2016-02-04 17:29:25 +08:00
Licshee 2c90e0fcb1 code style 2016-02-04 12:35:57 +08:00
Licshee 88e4d2e317 . 2016-02-04 12:27:13 +08:00
Licshee 0a71dc6f00 - better FileStream handling
- restore WPAD
2016-02-04 12:19:03 +08:00
clowwindy 05726cdb67 revert part of #257 2015-08-17 20:00:24 -07:00
li3shiyi 33e06067ac 全局模式切换到PAC模式时,清除ProxyServer 2015-08-07 18:22:23 +08:00
li3shiyi 0f748bd933 启用系统代理时禁用“自动检测设置”,并且无必要时不清除原有代理服务器设置。 2015-08-07 15:12:36 +08:00
clowwindy 4afd5faf3f add load balancing 2015-07-22 15:58:39 +08:00