Settings cleanup

This commit is contained in:
Ima Mechanique 2012-03-18 05:50:54 +00:00
parent 962fbed2c7
commit 3b80d5668c
6 changed files with 27 additions and 48 deletions

View file

@ -47,6 +47,7 @@ using System.IO.Compression;
using System.Security.Cryptography; using System.Security.Cryptography;
namespace LSLEditor.Decompressor namespace LSLEditor.Decompressor
{ {
public class MD5Verify public class MD5Verify
@ -61,7 +62,6 @@ namespace LSLEditor.Decompressor
} }
} }
public sealed class Gzip public sealed class Gzip
{ {
public static void Decompress(Stream inStream, Stream outStream) public static void Decompress(Stream inStream, Stream outStream)

View file

@ -994,7 +994,7 @@ namespace LSLEditor
// this.panel1.Visible = false; // Simulator // this.panel1.Visible = false; // Simulator
// this.panel2.Visible = false; // right pane // this.panel2.Visible = false; // right pane
string strVersion = Properties.Settings.Default.Version; //string strVersion = Properties.Settings.Default.Version;
Size size = Properties.Settings.Default.LSLEditorSize; Size size = Properties.Settings.Default.LSLEditorSize;
Point location = Properties.Settings.Default.LSLEditorLocation; Point location = Properties.Settings.Default.LSLEditorLocation;

View file

@ -1,7 +1,7 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Runtime Version:4.0.30319.225 // Runtime Version:4.0.30319.261
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.

View file

@ -1067,15 +1067,6 @@ namespace LSLEditor.Properties {
} }
} }
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("http://lsleditor.sourceforge.net/check4update.php?")]
public string Update {
get {
return ((string)(this["Update"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()] [global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("http://www.lsleditor.org/examples/")] [global::System.Configuration.DefaultSettingValueAttribute("http://www.lsleditor.org/examples/")]
@ -1103,15 +1094,6 @@ namespace LSLEditor.Properties {
} }
} }
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("http://lsleditor.sourceforge.net/update.php")]
public string UpdateManifest {
get {
return ((string)(this["UpdateManifest"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()] [global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Resource.ToolsOptions.xml")] [global::System.Configuration.DefaultSettingValueAttribute("Resource.ToolsOptions.xml")]
@ -1208,15 +1190,6 @@ namespace LSLEditor.Properties {
} }
} }
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("2.45.0")]
public string Version {
get {
return ((string)(this["Version"]));
}
}
[global::System.Configuration.UserScopedSettingAttribute()] [global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("UTF-8")] [global::System.Configuration.DefaultSettingValueAttribute("UTF-8")]
@ -1228,5 +1201,23 @@ namespace LSLEditor.Properties {
this["OutputFormat"] = value; this["OutputFormat"] = value;
} }
} }
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("http://lsleditor.sourceforge.net/check4update.php")]
public string Update {
get {
return ((string)(this["Update"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("http://lsleditor.sourceforge.net/update.php")]
public string UpdateManifest {
get {
return ((string)(this["UpdateManifest"]));
}
}
} }
} }

View file

@ -281,9 +281,6 @@
} }
</Value> </Value>
</Setting> </Setting>
<Setting Name="Update" Type="System.String" Scope="Application">
<Value Profile="(Default)">http://lsleditor.sourceforge.net/check4update.php?</Value>
</Setting>
<Setting Name="Examples" Type="System.String" Scope="Application"> <Setting Name="Examples" Type="System.String" Scope="Application">
<Value Profile="(Default)">http://www.lsleditor.org/examples/</Value> <Value Profile="(Default)">http://www.lsleditor.org/examples/</Value>
</Setting> </Setting>
@ -293,9 +290,6 @@
<Setting Name="ConfCSharp" Type="System.String" Scope="Application"> <Setting Name="ConfCSharp" Type="System.String" Scope="Application">
<Value Profile="(Default)">Resource.ConfCSharp.xml</Value> <Value Profile="(Default)">Resource.ConfCSharp.xml</Value>
</Setting> </Setting>
<Setting Name="UpdateManifest" Type="System.String" Scope="Application">
<Value Profile="(Default)">http://lsleditor.sourceforge.net/update.php</Value>
</Setting>
<Setting Name="ToolsOptions" Type="System.String" Scope="Application"> <Setting Name="ToolsOptions" Type="System.String" Scope="Application">
<Value Profile="(Default)">Resource.ToolsOptions.xml</Value> <Value Profile="(Default)">Resource.ToolsOptions.xml</Value>
</Setting> </Setting>
@ -326,11 +320,14 @@
<Setting Name="VersionControlSVN" Type="System.Boolean" Scope="User"> <Setting Name="VersionControlSVN" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value> <Value Profile="(Default)">True</Value>
</Setting> </Setting>
<Setting Name="Version" Type="System.String" Scope="Application">
<Value Profile="(Default)">2.45.0</Value>
</Setting>
<Setting Name="OutputFormat" Type="System.String" Scope="User"> <Setting Name="OutputFormat" Type="System.String" Scope="User">
<Value Profile="(Default)">UTF-8</Value> <Value Profile="(Default)">UTF-8</Value>
</Setting> </Setting>
<Setting Name="Update" Type="System.String" Scope="Application">
<Value Profile="(Default)">http://a-w-d.dyndns.org:8080/lsleditor/check4update.php</Value>
</Setting>
<Setting Name="UpdateManifest" Type="System.String" Scope="Application">
<Value Profile="(Default)">http://a-w-d.dyndns.org:8080/lsleditor/update.php</Value>
</Setting>
</Settings> </Settings>
</SettingsFile> </SettingsFile>

View file

@ -285,9 +285,6 @@
} }
</value> </value>
</setting> </setting>
<setting name="Update" serializeAs="String">
<value>http://lsleditor.sourceforge.net/check4update.php?</value>
</setting>
<setting name="Examples" serializeAs="String"> <setting name="Examples" serializeAs="String">
<value>http://www.lsleditor.org/examples/</value> <value>http://www.lsleditor.org/examples/</value>
</setting> </setting>
@ -297,9 +294,6 @@
<setting name="ConfCSharp" serializeAs="String"> <setting name="ConfCSharp" serializeAs="String">
<value>Resource.ConfCSharp.xml</value> <value>Resource.ConfCSharp.xml</value>
</setting> </setting>
<setting name="UpdateManifest" serializeAs="String">
<value>http://lsleditor.sourceforge.net/update.php</value>
</setting>
<setting name="ToolsOptions" serializeAs="String"> <setting name="ToolsOptions" serializeAs="String">
<value>Resource.ToolsOptions.xml</value> <value>Resource.ToolsOptions.xml</value>
</setting> </setting>
@ -324,9 +318,6 @@
<setting name="svnloc" serializeAs="String"> <setting name="svnloc" serializeAs="String">
<value /> <value />
</setting> </setting>
<setting name="Version" serializeAs="String">
<value>2.45.0</value>
</setting>
</LSLEditor.Properties.Settings> </LSLEditor.Properties.Settings>
</applicationSettings> </applicationSettings>
</configuration> </configuration>