Syrone Wong
be63f96d50
Merge branch 'proxy-form'
8 years ago
破娃酱
836a58775f
optimize LogMessageTextBox ( #719 )
* optimize LogMessageTextBox
* StringBuilder instead
8 years ago
Syrone Wong
c1ec851627
Refine ProxyForm
- Save empty config if null ref
- only save config when clicking OK button
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Syrone Wong
d3c6039c61
Refine Proxy config
- Move to seperate model
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
破娃酱
ea9c7b093a
Refine Encryption module ( #717 )
- use EncryptorInfo struct instead of Dictionary<string, int[]>>
8 years ago
破娃酱
a9cf3992e1
Refine traditional Chinese translation ( #716 )
8 years ago
noisyfox
05063f074a
Fix an issue that the socket may not be released.
- New wrapper to handle tcp socket connection.
- Fix some memory leak.
Signed-off-by: noisyfox <timemanager.rick@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
42b2308374
Update LICENSE
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Syrone Wong
c359be2342
Add GitHub issue template
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
破娃酱
2a6da8af3f
smooth traffic chart lines ( #709 )
8 years ago
Syrone Wong
4b6d641d17
Update CHANGES and bump version
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
破娃酱
59c315d465
new traffic chart style ( #704 )
* new traffic chart style
- remove invoke
- force to set AxisY.Maximum not zero
- format LogForm.cs
* avoid data race
8 years ago
Syrone Wong
f8c9bdda12
Drop redundant type casting
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
破娃酱
707442163d
New traffic icon style ( #703 )
8 years ago
Syrone Wong
bb7171674b
Refine traditional Chinese translation again
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Syrone Wong
3b1ac7500f
typo
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
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>
8 years ago
Syrone Wong
4367a56f46
Drop .NET Framework lower than 4.0 explicitly
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
破娃酱
d958c5c393
fix bandwidthScale of the LogForm ( #701 )
- Revert bandwidthScale when throughput gets smaller
- Don't save coordinates when LogForm is minimized. Otherwise, we get negative values
- activate ConfigForm & ProxyForm & LogForm
8 years ago
Syrone Wong
c3b7c3dcfd
Update AppVeyor
Added debug artifact for debugging purpose.
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
破娃酱
d73b77ff88
fix ss URL bug with no padding base64 ( #700 )
8 years ago
破娃酱
da234ef857
add Traditional Chinese ( #698 )
* add Traditional Chinese
* fix a resource type
* fix the Traditional Chinese name of "address", "port", "screen", "Open Location"
8 years ago
Syrone Wong
514bb02098
Fix config selection
User wants to use that server after selected it in the ConfigForm. If user deletes
the server in use, we can't find its index, then the previous logic will revert to
index 0, which is not expected behaviour.
Since we handled 'ServersListBox.SelectedIndex' in various event handlers, we can
trust it all the time.
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
noisyfox
e364457b1b
Fix a memory leak.
Caused by not call SocketAsyncEventArgs.Dispose().
8 years ago
noisyfox
be85ab55a7
Fix #561
8 years ago
noisyfox
e6e9fc8588
Refactor to make OTA code more independent and clear.
and misc changes
8 years ago
noisyfox
4c5376ce0b
Remove unnecessary call to InitKey.
8 years ago
noisyfox
0266ad9d59
Remove redundant lock.
Lock is evil.
This will actually affect the accuracy of GetDelta because
inboundDelta and outboundDelta may be calculated based on
the data collected at different time (eg. UpdateOutbound
get called before Interlocked.Read(ref _outbound)).
But that's not a problem. We can tolerate this little
inaccuracy. Besides, the _inbound, _outbound, _lastInbound
and _lastOutbound will be totally good because we use Interlocked.
8 years ago
Syrone Wong
cbc94e0eb7
Update privoxy to 3.0.26
Close #686
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Syrone Wong
f70b177e56
Misc
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Syrone Wong
e7c00dd8e7
Merge pull request #682 from Noisyfox/dev
New approach to record and calculate inbound/outbound speed.
8 years ago
noisyfox
5b2327776a
Fix a null ref exception.
8 years ago
noisyfox
ed54b249db
Close services while closing listener.
Now it will close all existing TCP relay connections
while reloading the listener.
Signed-off-by: noisyfox <timemanager.rick@gmail.com>
8 years ago
noisyfox
65d72fdfed
New approach to record and calculate inbound/outbound speed.
Use lock to sync between threads.This should fix issue #679
and other same issue.
Fix a bug in UpdateSpeed() that only save the first xxxSpeedRecord.
8 years ago
noisyfox
a7b0ce5bcb
Use atomic long read.
Signed-off-by: noisyfox <timemanager.rick@gmail.com>
8 years ago
Syrone Wong
f935514c05
Merge pull request #667 from Noisyfox/dev
Minor bug fix and improvements.
8 years ago
noisyfox
37d894594e
Use immutable remote reference during async process.
To prevent "The IAsyncResult object was not returned from
the corresponding asynchronous method on this class." exception.
Signed-off-by: noisyfox <timemanager.rick@gmail.com>
8 years ago
noisyfox
28fe2fdc54
Only output some debug exceptions in debug mode.
Signed-off-by: noisyfox <timemanager.rick@gmail.com>
8 years ago
noisyfox
f676d2185e
Use Socket.ConnectAsync instead of socket.BeginConnect.
Socket.ConnectAsync will create socket and handle the address family
itself. This solves some compatibility issues on win7.
Signed-off-by: noisyfox <timemanager.rick@gmail.com>
8 years ago
noisyfox
b335e6c8f5
Revert changes in UDPRelay.cs
UDP SendTo doesn't support DnsEndPoint.
Signed-off-by: noisyfox <timemanager.rick@gmail.com>
8 years ago
noisyfox
80fc8b4ccf
Fix an exception caused by process.MainModule.
Try to access a dead process's MainModule will cause
"A 32 bit processes cannot access modules of
a 64 bit process." exception on win7 x64.
Simply ignore it.
Signed-off-by: noisyfox <timemanager.rick@gmail.com>
8 years ago
noisyfox
70624e35d9
Fix compatibility issue on vista and win7.
Signed-off-by: noisyfox <timemanager.rick@gmail.com>
8 years ago
noisyfox
2ed8ab50cd
Only parse socks5 header once per connection.
To avoid unreadable and uncessary output
Signed-off-by: noisyfox <timemanager.rick@gmail.com>
8 years ago
Noisyfox
a1eef6eac1
Multiple instances of ss_privoxy ( #665 )
* Use job object to manage polipo service's external processes.
Signed-off-by: noisyfox <timemanager.rick@gmail.com>
* Only kill those ss_privoxy.exe created by this ss instance.
Signed-off-by: noisyfox <timemanager.rick@gmail.com>
* Update README
Signed-off-by: noisyfox <timemanager.rick@gmail.com>
8 years ago
Syrone Wong
e30487207b
Add error message
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Syrone Wong
8637277c27
Cleanup
- drop unused using directive
- add a comment
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Syrone Wong
2b4b6cba07
Minor ConfigForm changes
- add event handler for KeyDown
- drop unused code, we don't support
table and rc4 now
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Syrone Wong
acf7963de7
OTA is stable now
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Syrone Wong
64e21e031d
Merge PR #660 from @Noisyfox
Resolving domain name through socks5 proxy
and
dual-mode socket
8 years ago