147 Commits
Author SHA1 Message Date
Syrone Wong e747805c36 drop OTA translations 2017-03-31 22:07:53 +08:00
Syrone Wong 317c64f47e update NuGet packages
replace zxing with NuGet pkg
2017-03-31 20:47:10 +08:00
celeron533 a6db852e95 I18n. Rename language resources by using underscore. 2017-03-10 22:31:52 +08:00
celeron533 d8ccc9810e I18n. Rename language resources
cn -> zh-CN
zh-tw -> zh-TW
jp -> ja
2017-03-06 13:45:51 +08:00
celeron533 6b6cf1516c I18n. Uniform the EOL (end of line) style
Convert CF (Unix) to CRLF (Windows) in both Traditional Chinese and Japanese definitions.
2017-03-06 10:41:38 +08:00
celeron533 a372e9c66e I18n. Fix typo
Remove unexpected empty lines of item [&View] in both Traditional Chinese and Japanese language definitions.
2017-03-06 10:41:35 +08:00
Jonas Gao 4abcdbfb28 add: language jp support 2017-03-02 22:18:08 +08:00
LNDDYL d800ec7a0a Update zh-TW translation (#1021) 2017-02-03 07:07:02 +08:00
破娃酱 b266bf42f5 create "help" menu group (#989) 2017-01-08 08:44:49 +08:00
Syrone Wong 8f3994c7d8 Set LAN even if the RAS query fails
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-12-30 19:12:55 +08:00
LNDDYL 32225ed655 Update translation for Traditional Chinese (#973)
Credit to @LNDDYL
2016-12-30 17:13:46 +08:00
Syrone Wong 97d08e4d40 Tweak privoxy config
only redirect
enable critical logging

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-12-21 10:36:21 +08:00
Syrone Wong 673d6b3c44 update sysproxy
This will reduce false positives on virus detection.
2016-12-21 10:34:27 +08:00
noisyfox dd269ac89d Revert "Remove privoxy"
This reverts commit 0d4d01af3b.
2016-12-16 12:19:33 +11:00
noisyfox 2a0dd88525 Add import URL from clipboard 2016-12-13 02:52:58 +11:00
noisyfox f363b94fd6 Show ss URL in QRCode form 2016-12-13 02:22:37 +11:00
noisyfox 8a68a3515b Check server url before saving it
Don't clear the textbox, focus it instead. We want the user to see the wrong input instead of a blank textbox.
2016-12-10 01:50:28 +11:00
noisyfox 76fbd808e3 Add menu item to copy local pac url 2016-12-10 01:26:40 +11:00
noisyfox c0299090c4 Merge branch 'proxy_dev' 2016-12-09 02:48:22 +11:00
noisyfox de4a2f862b Update global proxy bypass list 2016-12-09 02:47:12 +11:00
noisyfox 0d4d01af3b Remove privoxy 2016-12-09 02:17:46 +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 9e51b4a41b Add translation 2016-12-08 19:01:07 +11:00
noisyfox 65b9c9f5fa Allow check pre-release version 2016-12-06 22:01:00 +11:00
Syrone Wong c25e70e888 hotkey: Refine system proxy mode switching logic
Merge 'Switch to PAC' and 'Switch to Global'

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-11-15 18:14:56 +08:00
noisyfox aa9fd8ec06 Check .NET Framework version on startup 2016-11-05 23:23:04 +11:00
Syrone Wong 816e2b351d Update mbed TLS to 2.4.0
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-10-29 22:47:58 +08:00
Syrone Wong af139d7587 Only integer is allowed for timeout
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-10-07 08:57:55 +08:00
Syrone Wong 04ed25e16f Add timeout support for server and forward proxy
Also, fix typo in ProxyForm

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-10-06 21:03:45 +08:00
Syrone Wong 3ba5c491d2 Update libsscrypto
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-10-03 18:56:00 +08:00
Syrone Wong 4bd9fd8a6b Replace treewide polipo with privoxy
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-09-28 16:35:51 +08:00
Noisyfox 35fc73b58b Add HTTP proxy support in forward proxy (#745)
* Add HTTP proxy support in forward proxy

Signed-off-by: noisyfox <timemanager.rick@gmail.com>

* Typo

* Throw exception if forward proxy not supported.
2016-09-24 23:37:24 -05:00
Syrone Wong 78957e29d6 Refine traditional Chinese translation
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-09-19 09:09:29 +08:00
Syrone Wong ef17b72d25 Refine PR #730
Squashed commit of the following:

commit 48eb4d88391b85986190ace825ec0a167df16f8a
Author: Syrone Wong <wong.syrone@gmail.com>
Date:   Sun Sep 18 15:46:09 2016 +0800

    Drop useless interface impl

    Signed-off-by: Syrone Wong <wong.syrone@gmail.com>

commit c0a4f3421a
Author: Logan Zhou <xorcererzc@gmail.com>
Date:   Sun Sep 18 00:58:02 2016 +0800

    Revert "Updated to meet the hint from Wongsyrone."

    This reverts commit 84c8053577.

commit 84c8053577
Author: Logan Zhou <xorcererzc@gmail.com>
Date:   Sun Sep 18 00:52:21 2016 +0800

    Updated to meet the hint from Wongsyrone.

commit 333ccb6d1f
Author: Logan Zhou <xorcererzc@gmail.com>
Date:   Sun Sep 18 00:34:52 2016 +0800

    Added duplicate button to config form.

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-09-18 16:06:00 +08:00
破娃酱 d284cd04e8 Set the newline mode to CRLF 2016-09-17 20:01:08 +08:00
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>
2016-09-16 23:42:16 -05:00
破娃酱 a9cf3992e1 Refine traditional Chinese translation (#716) 2016-09-13 21:27:22 -05:00
Syrone Wong bb7171674b Refine traditional Chinese translation again
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-09-07 10:08:56 +08:00
Syrone Wong 3b1ac7500f typo
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-09-07 09:54:35 +08:00
Syrone Wong 2bebe515fa Refine traditional Chinese translation
- Respect shadowsocks-android translation by @LNDDYL
- pretend to be native speaker

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-09-07 09:49:56 +08:00
破娃酱 da234ef857 add Traditional Chinese (#698)
* add Traditional Chinese

* fix a resource type

* fix the Traditional Chinese name of "address", "port", "screen", "Open Location"
2016-09-06 11:39:05 +08:00
Syrone Wong cbc94e0eb7 Update privoxy to 3.0.26
Close #686

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-08-29 21:30:38 +08:00
Syrone Wong acf7963de7 OTA is stable now
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-08-17 15:52:42 +08:00
Syrone Wong 3417a984fa Change requirements
- Running on Windows Vista or above

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-08-17 11:13:25 +08:00
noisyfox aef88543d2 Fix typo
Update translate

Signed-off-by: noisyfox <timemanager.rick@gmail.com>
2016-08-16 15:47:55 +10:00
Syrone Wong 2fafc52def Refine encryption(#655)
* Refine encryption

- Add AES-CTR, blowfish and camellia ciphers

aes-256-ctr
aes-192-ctr
aes-128-ctr
bf-cfb
camellia-128-cfb
camellia-192-cfb
camellia-256-cfb

- Merge the previous PolarSSL and MbedTLS
- Switch to MbedTLS's cipher layer functions
- Add workaround to set cipher operation(encrypt/decrypt)

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>

* Add function to get MbedTLS cipher context size

and drop hard-coded ctx sizes

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-08-13 14:28:09 +08:00
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>
2016-08-10 15:27:38 +08:00
Syrone Wong a4fead74db Update libsscrypto
- update libsodium to tagged 1.0.11
- update mbedtls to tagged 2.3.0

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-08-10 15:24:52 +08:00
Syrone Wong 93e7641446 Minor changes
- display user-friendly server name
- clarify proxy type

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2016-08-09 08:24:44 +08:00
Noisyfox He 6a3e06cdb3 Merge branch 'master' of https://github.com/shadowsocks/shadowsocks-windows.git into dev_proxy
# Conflicts:
#	shadowsocks-csharp/Controller/Service/TCPRelay.cs
#	shadowsocks-csharp/Controller/ShadowsocksController.cs
#	shadowsocks-csharp/View/MenuViewController.cs
2016-08-08 21:21:53 +10:00