update namespace
This commit is contained in:
@@ -4,7 +4,7 @@ using System.IO;
|
||||
using System.IO.Compression;
|
||||
using System.Text;
|
||||
|
||||
namespace shadowsocks_csharp.Controller
|
||||
namespace shadowsocks.Controller
|
||||
{
|
||||
public class FileManager
|
||||
{
|
||||
|
||||
@@ -3,10 +3,10 @@ using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Net.Sockets;
|
||||
using System.Net;
|
||||
using shadowsocks_csharp.Encrypt;
|
||||
using shadowsocks_csharp.Model;
|
||||
using shadowsocks.Encrypt;
|
||||
using shadowsocks.Model;
|
||||
|
||||
namespace shadowsocks_csharp.Controller
|
||||
namespace shadowsocks.Controller
|
||||
{
|
||||
|
||||
class Local
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using shadowsocks_csharp.Properties;
|
||||
using shadowsocks.Properties;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
@@ -8,7 +8,7 @@ using System.Net;
|
||||
using System.Net.Sockets;
|
||||
using System.Text;
|
||||
|
||||
namespace shadowsocks_csharp.Controller
|
||||
namespace shadowsocks.Controller
|
||||
{
|
||||
class PACServer
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using shadowsocks_csharp.Model;
|
||||
using shadowsocks_csharp.Properties;
|
||||
using shadowsocks.Model;
|
||||
using shadowsocks.Properties;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
@@ -7,7 +7,7 @@ using System.IO;
|
||||
using System.IO.Compression;
|
||||
using System.Text;
|
||||
|
||||
namespace shadowsocks_csharp.Controller
|
||||
namespace shadowsocks.Controller
|
||||
{
|
||||
class PolipoRunner
|
||||
{
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
using shadowsocks_csharp.Model;
|
||||
using shadowsocks.Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace shadowsocks_csharp.Controller
|
||||
namespace shadowsocks.Controller
|
||||
{
|
||||
public class ShadowsocksController
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
|
||||
namespace shadowsocks_csharp.Controller
|
||||
namespace shadowsocks.Controller
|
||||
{
|
||||
public class SystemProxy
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
|
||||
namespace shadowsocks_csharp.Encrypt
|
||||
namespace shadowsocks.Encrypt
|
||||
{
|
||||
public abstract class EncryptorBase
|
||||
: IEncryptor
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
namespace shadowsocks_csharp.Encrypt
|
||||
|
||||
namespace shadowsocks.Encrypt
|
||||
{
|
||||
public static class EncryptorFactory
|
||||
{
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace shadowsocks_csharp.Encrypt
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace shadowsocks.Encrypt
|
||||
{
|
||||
public interface IEncryptor : IDisposable
|
||||
{
|
||||
void Encrypt(byte[] buf, int length, byte[] outbuf, out int outlength);
|
||||
void Decrypt(byte[] buf, int length, byte[] outbuf, out int outlength);
|
||||
}
|
||||
}
|
||||
void Decrypt(byte[] buf, int length, byte[] outbuf, out int outlength);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
|
||||
namespace shadowsocks_csharp.Encrypt
|
||||
namespace shadowsocks.Encrypt
|
||||
{
|
||||
public class PolarSSL
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.Runtime.InteropServices;
|
||||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
|
||||
namespace shadowsocks_csharp.Encrypt
|
||||
namespace shadowsocks.Encrypt
|
||||
{
|
||||
public class PolarSSLEncryptor
|
||||
: EncryptorBase, IDisposable
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace shadowsocks_csharp.Encrypt
|
||||
namespace shadowsocks.Encrypt
|
||||
{
|
||||
public class TableEncryptor
|
||||
: EncryptorBase
|
||||
|
||||
@@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
|
||||
namespace shadowsocks_csharp.Model
|
||||
namespace shadowsocks.Model
|
||||
{
|
||||
[Serializable]
|
||||
public class Configuration
|
||||
|
||||
@@ -5,7 +5,7 @@ using System.IO;
|
||||
using System.Diagnostics;
|
||||
using SimpleJson;
|
||||
|
||||
namespace shadowsocks_csharp.Model
|
||||
namespace shadowsocks.Model
|
||||
{
|
||||
[Serializable]
|
||||
public class Server
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
using shadowsocks_csharp.Controller;
|
||||
using shadowsocks_csharp.Properties;
|
||||
using shadowsocks_csharp.View;
|
||||
using shadowsocks.Controller;
|
||||
using shadowsocks.Properties;
|
||||
using shadowsocks.View;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace shadowsocks_csharp
|
||||
namespace shadowsocks
|
||||
{
|
||||
static class Program
|
||||
{
|
||||
|
||||
+9
-19
@@ -8,7 +8,7 @@
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace shadowsocks_csharp.Properties {
|
||||
namespace shadowsocks.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace shadowsocks_csharp.Properties {
|
||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("shadowsocks_csharp.Properties.Resources", typeof(Resources).Assembly);
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("shadowsocks.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
@@ -71,23 +71,13 @@ 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'' 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]";.
|
||||
/// Looks up a localized string similar to proxyAddress = "127.0.0.1"
|
||||
///
|
||||
///socksParentProxy = "127.0.0.1:__SOCKS_PORT__"
|
||||
///socksProxyType = socks5
|
||||
///diskCacheRoot = ""
|
||||
///localDocumentRoot = ""
|
||||
///.
|
||||
/// </summary>
|
||||
internal static string polipo_config {
|
||||
get {
|
||||
|
||||
+2
-2
@@ -1,14 +1,14 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.17929
|
||||
// Runtime Version:4.0.30319.18444
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace shadowsocks_csharp.Properties {
|
||||
namespace shadowsocks.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace shadowsocks_csharp.View
|
||||
namespace shadowsocks.View
|
||||
{
|
||||
partial class ConfigForm
|
||||
{
|
||||
|
||||
@@ -5,10 +5,10 @@ using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.Diagnostics;
|
||||
using shadowsocks_csharp.Controller;
|
||||
using shadowsocks_csharp.Model;
|
||||
using shadowsocks.Controller;
|
||||
using shadowsocks.Model;
|
||||
|
||||
namespace shadowsocks_csharp.View
|
||||
namespace shadowsocks.View
|
||||
{
|
||||
public partial class ConfigForm : Form
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<ProjectGuid>{8C02D2F7-7CDB-4D55-9F25-CD03EF4AA062}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>shadowsocks_csharp</RootNamespace>
|
||||
<RootNamespace>shadowsocks</RootNamespace>
|
||||
<AssemblyName>Shadowsocks</AssemblyName>
|
||||
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
|
||||
Reference in New Issue
Block a user