noisyfox
a7b0ce5bcb
Use atomic long read.
Signed-off-by: noisyfox <timemanager.rick@gmail.com>
8 years ago
金黎明
81188103f2
日志清理改为直接清理文件
日志文件越来越大,原有的清空日志只是清理记录窗口中显示的日志,实际并没有真的删除。
8 years ago
金黎明
6116388262
日志窗口支持记录最大化显示状态
8 years ago
Syrone Wong
4795340999
Check whether form handle been created( #650 )
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Syrone Wong
3b5d38658f
Minor bugfixes ( #647 )
* Drop unused variable to suppress warning in LogForm
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
* Fix IPv6 displaying
It is a little ugly, send a PR if you can find a better way.
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years ago
Allen Zhu
c8f8ff5277
Fix the System.ObjectDisposedException when closing the LogForm. ( #641 )
This exception is caused by processing Invoke Action while trafficChart is already disposed.
=====
Exception reproduce frequency: RARE. Once triggered, ShadowSocks crashes.
9 years ago
Syrone Wong
382c581365
apply I18N to traffic chart legend ( #636 )
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
9 years ago
Allen Zhu
b0f71c43f5
Add traffic chart and traffic icon support ( #595 )
* Implement the line chart on Log View window for inbound/outbound traffic per second
* Implement dynamic tray icon to indicate Inbound and Outbound
* Refine linechart
* Bugfix for dynamic icon
* Refine chart presentation
* Change the data points' type for more accurate calculation
* Tweak inbound/outbound indicator image for tray icon
9 years ago
kimw
6f38bbb1d3
fixed 0 bytes will not show up, and, corrected function name
9 years ago
kimw
2cce646700
featured show bandwidth in log form's title
9 years ago
kimw
0b16ef7445
Merge upstream
# Conflicts:
# README.md
# shadowsocks-csharp/Controller/Service/AvailabilityStatistics.cs
# shadowsocks-csharp/Controller/Service/PACServer.cs
# shadowsocks-csharp/Controller/Strategy/SimplyChooseByStatisticsStrategy.cs
# shadowsocks-csharp/Data/cn.txt
# shadowsocks-csharp/Model/Configuration.cs
# shadowsocks-csharp/Model/LogViewerConfig.cs
# shadowsocks-csharp/View/LogForm.Designer.cs
# shadowsocks-csharp/View/LogForm.cs
# shadowsocks-csharp/View/MenuViewController.cs
9 years ago
Gang Zhuo
d0518e5a11
typo
9 years ago
kimw
969ee15ad6
convert "\r\n" -> Environment.NewLine
9 years ago
Gang Zhuo
a070c3c986
small fix
9 years ago
kimw
0eee5cd98f
add feature: save LogForm's config into json file.
9 years ago
kimw
f1019b4aad
fix variables' name: (first letter uppercase -> lowercase)
1. WrapTextTrigger -> wrapTextTrigger
2. WrapTextTriggerLock -> wrapTextTriggerLock
3. TopMostTrigger -> topMostTrigger
4. TopMostTriggerLock -> topMostTriggerLock
5. ShowToolbarTrigger -> toolbarTrigger
9 years ago
kimw
b632d4a8a9
improved `log viewer`:
1. add menu items for `clear logs`, `change fonts`, `wrap text` and `top most` functions.
2. hide toolbar default. but you can trigger it out by menu.
9 years ago
Gang Zhuo
2ec1340261
fix "Only TrueType fonts are supported. This is not a TrueType font."
9 years ago
kimw
0a733c61b8
fixed: standardize Logging usage
1. Add Logging.Info()
2. Console.WriteLine() -> Logging.Info()
3. Console.WriteLine() in exceptions -> Logging.LogUsefulException()
9 years ago
kimw
b4f0285307
fixed: typo
9 years ago
kimw
bdd29e8384
fixed: Log Form will hidden when restart Windows
9 years ago
kimw
17c75de9c0
convert "\r\n" -> Environment.NewLine
9 years ago
kimw
b1f17e02a1
1. limit the windows' minimized size
2. store window's size & position in config file.
3. fix: scroll bar sometimes disappear while sizing the window.
9 years ago
kimw
79e9a23d94
add feature: save LogForm's config into json file.
9 years ago
kimw
9953ae2e68
fix variables' name: (first letter uppercase -> lowercase)
1. WrapTextTrigger -> wrapTextTrigger
2. WrapTextTriggerLock -> wrapTextTriggerLock
3. TopMostTrigger -> topMostTrigger
4. TopMostTriggerLock -> topMostTriggerLock
5. ShowToolbarTrigger -> toolbarTrigger
9 years ago
kimw
6ed32ff709
improved `log viewer`:
1. add menu items for `clear logs`, `change fonts`, `wrap text` and `top most` functions.
2. hide toolbar default. but you can trigger it out by menu.
9 years ago
kimw
99fe540e53
Merge remote-tracking branch 'upstream/master'
9 years ago
clowwindy
765720dbd9
small fix
9 years ago
kimw
cec6f79e7e
improved `log viewer`:
1. add `clean log` feature
2. add `change font` feature
3. add `wrap text` feature
4. add `top most` feature
9 years ago
clowwindy
e634b7eca1
remove unused var
10 years ago
clowwindy
7425e09ebc
fix log not scrolled to bottom when first shown
10 years ago
clowwindy
6a5432c861
bump 2.5.2
10 years ago