Browse Source

lint project

tags/3.2
clowwindy 10 years ago
parent
commit
1de2d001d7
18 changed files with 37 additions and 36 deletions
  1. +0
    -0
      shadowsocks-csharp/Controller/Local.cs
  2. +0
    -0
      shadowsocks-csharp/Controller/PACServer.cs
  3. +0
    -0
      shadowsocks-csharp/Controller/PolipoRunner.cs
  4. +0
    -0
      shadowsocks-csharp/Controller/ShadowsocksController.cs
  5. +0
    -0
      shadowsocks-csharp/Controller/SystemProxy.cs
  6. +0
    -0
      shadowsocks-csharp/Data/icon144.ico
  7. +0
    -0
      shadowsocks-csharp/Data/polarssl.dll.gz
  8. +0
    -0
      shadowsocks-csharp/Data/polipo.exe.gz
  9. +0
    -0
      shadowsocks-csharp/Data/polipo_config.txt
  10. +0
    -0
      shadowsocks-csharp/Data/proxy.pac.txt.gz
  11. +0
    -0
      shadowsocks-csharp/Model/Config.cs
  12. +2
    -0
      shadowsocks-csharp/Program.cs
  13. +16
    -16
      shadowsocks-csharp/Properties/Resources.Designer.cs
  14. +4
    -4
      shadowsocks-csharp/Properties/Resources.resx
  15. +0
    -0
      shadowsocks-csharp/View/ConfigForm.Designer.cs
  16. +0
    -0
      shadowsocks-csharp/View/ConfigForm.cs
  17. +0
    -0
      shadowsocks-csharp/View/ConfigForm.resx
  18. +15
    -16
      shadowsocks-csharp/shadowsocks-csharp.csproj

shadowsocks-csharp/Local.cs → shadowsocks-csharp/Controller/Local.cs View File


shadowsocks-csharp/PACServer.cs → shadowsocks-csharp/Controller/PACServer.cs View File


shadowsocks-csharp/PolipoRunner.cs → shadowsocks-csharp/Controller/PolipoRunner.cs View File


shadowsocks-csharp/ShadowsocksController.cs → shadowsocks-csharp/Controller/ShadowsocksController.cs View File


shadowsocks-csharp/SystemProxy.cs → shadowsocks-csharp/Controller/SystemProxy.cs View File


shadowsocks-csharp/icon144.ico → shadowsocks-csharp/Data/icon144.ico View File


shadowsocks-csharp/polarssl.dll.gz → shadowsocks-csharp/Data/polarssl.dll.gz View File


shadowsocks-csharp/polipo.exe.gz → shadowsocks-csharp/Data/polipo.exe.gz View File


shadowsocks-csharp/config.txt → shadowsocks-csharp/Data/polipo_config.txt View File


shadowsocks-csharp/proxy.pac.txt.gz → shadowsocks-csharp/Data/proxy.pac.txt.gz View File


shadowsocks-csharp/Config.cs → shadowsocks-csharp/Model/Config.cs View File


+ 2
- 0
shadowsocks-csharp/Program.cs View File

@@ -39,6 +39,8 @@ namespace shadowsocks_csharp
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
ShadowsocksController controller = new ShadowsocksController();
// TODO run without a main form to save RAM
Application.Run(new ConfigForm(controller));


+ 16
- 16
shadowsocks-csharp/Properties/Resources.Designer.cs View File

@@ -71,22 +71,22 @@ namespace shadowsocks_csharp.Properties {
}
/// <summary>
/// Looks up a localized string similar to # Sample configuration file for Polipo. -*-sh-*-
///
///# You should not need to use a configuration file; all configuration
///# variables have reasonable defaults. If you want to use one, you
///# can copy this to /etc/polipo/config or to ~/.polipo and modify.
///
///# This file only contains some of the configuration variables; see the
///# list given by ``polipo -v&apos;&apos; and the manual for more.
///
///
///### Basic configuration
///### *******************
///
///# Uncomment one of these if you want to allow remote clients to
///# connect:
///
/// Looks up a localized string similar to # Sample configuration file for Polipo. -*-sh-*-
///
///# You should not need to use a configuration file; all configuration
///# variables have reasonable defaults. If you want to use one, you
///# can copy this to /etc/polipo/config or to ~/.polipo and modify.
///
///# This file only contains some of the configuration variables; see the
///# list given by ``polipo -v&apos;&apos; and the manual for more.
///
///
///### Basic configuration
///### *******************
///
///# Uncomment one of these if you want to allow remote clients to
///# connect:
///
///# prox [rest of string was truncated]&quot;;.
/// </summary>
internal static string polipo_config {


+ 4
- 4
shadowsocks-csharp/Properties/Resources.resx View File

@@ -119,15 +119,15 @@
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="polarssl_dll" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\polarssl.dll.gz;System.Byte[], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>..\Data\polarssl.dll.gz;System.Byte[], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="polipo_config" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\config.txt;System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;gb2312</value>
<value>..\Data\polipo_config.txt;System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;gb2312</value>
</data>
<data name="polipo_exe" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\polipo.exe.gz;System.Byte[], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>..\Data\polipo.exe.gz;System.Byte[], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="proxy_pac_txt" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\proxy.pac.txt.gz;System.Byte[], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>..\Data\proxy.pac.txt.gz;System.Byte[], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
</root>

shadowsocks-csharp/ConfigForm.Designer.cs → shadowsocks-csharp/View/ConfigForm.Designer.cs View File


shadowsocks-csharp/ConfigForm.cs → shadowsocks-csharp/View/ConfigForm.cs View File


shadowsocks-csharp/ConfigForm.resx → shadowsocks-csharp/View/ConfigForm.resx View File


+ 15
- 16
shadowsocks-csharp/shadowsocks-csharp.csproj View File

@@ -14,7 +14,7 @@
<FileAlignment>512</FileAlignment>
<StartupObject>
</StartupObject>
<ApplicationIcon>icon144.ico</ApplicationIcon>
<ApplicationIcon>Data\icon144.ico</ApplicationIcon>
<IsWebBootstrapper>false</IsWebBootstrapper>
<FileUpgradeFlags>
</FileUpgradeFlags>
@@ -87,21 +87,21 @@
<Compile Include="Encrypt\PolarSSLEncryptor.cs" />
<Compile Include="Encrypt\TableEncryptor.cs" />
<Compile Include="Encrypt\IEncryptor.cs" />
<Compile Include="PACServer.cs" />
<Compile Include="Config.cs" />
<Compile Include="ConfigForm.cs">
<Compile Include="Controller\PACServer.cs" />
<Compile Include="Model\Config.cs" />
<Compile Include="View\ConfigForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="ConfigForm.Designer.cs">
<Compile Include="View\ConfigForm.Designer.cs">
<DependentUpon>ConfigForm.cs</DependentUpon>
</Compile>
<Compile Include="Local.cs" />
<Compile Include="PolipoRunner.cs" />
<Compile Include="Controller\Local.cs" />
<Compile Include="Controller\PolipoRunner.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="ShadowsocksController.cs" />
<Compile Include="SystemProxy.cs" />
<EmbeddedResource Include="ConfigForm.resx">
<Compile Include="Controller\ShadowsocksController.cs" />
<Compile Include="Controller\SystemProxy.cs" />
<EmbeddedResource Include="View\ConfigForm.resx">
<DependentUpon>ConfigForm.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
@@ -116,8 +116,8 @@
<DesignTime>True</DesignTime>
</Compile>
<None Include="app.config" />
<None Include="polarssl.dll.gz" />
<None Include="polipo.exe.gz" />
<None Include="Data\polarssl.dll.gz" />
<None Include="Data\polipo.exe.gz" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
@@ -128,12 +128,11 @@
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<Compile Include="simple-json\src\SimpleJson\SimpleJson.cs" />
<None Include="proxy.pac.txt.gz" />
<None Include="Data\proxy.pac.txt.gz" />
</ItemGroup>
<ItemGroup>
<None Include="config.txt" />
<Content Include="icon144.ico" />
<None Include="proxy.pac.txt" />
<None Include="Data\polipo_config.txt" />
<Content Include="Data\icon144.ico" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">


Loading…
Cancel
Save