-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit e45a18b
Showing
111 changed files
with
14,714 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/_ReSharper.xk3yScanner | ||
/TestResults | ||
|
||
/xk3yScanner.v11.suo | ||
|
||
/xk3yScanner.v12.suo | ||
|
||
/xk3yScanner/bin/Debug | ||
|
||
/xk3yScanner/bin/Release | ||
|
||
/xk3yScanner/bin | ||
/xk3yScanner/obj/Debug | ||
|
||
/xk3yScanner/obj/Release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="ILMerge.MSBuild.Tasks" version="1.0.0.3" /> | ||
</packages> |
Binary file not shown.
Binary file added
BIN
+387 KB
packages/ILMerge.MSBuild.Tasks.1.0.0.3/ILMerge.MSBuild.Tasks.1.0.0.3.nupkg
Binary file not shown.
14 changes: 14 additions & 0 deletions
14
packages/ILMerge.MSBuild.Tasks.1.0.0.3/ILMerge.MSBuild.Tasks.1.0.0.3.nuspec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0"?> | ||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | ||
<metadata> | ||
<id>ILMerge.MSBuild.Tasks</id> | ||
<version>1.0.0.3</version> | ||
<title>ILMerge MSBuild Tasks</title> | ||
<authors>[email protected]</authors> | ||
<owners>[email protected]</owners> | ||
<projectUrl>http://code.google.com/p/ilmerge-tasks/</projectUrl> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<description>Interested in using ILMerge during an automated build? ILMerge Tasks will allow you to access ILMerge as a task from MSBuild.</description> | ||
<tags>MSBuild ILMerge</tags> | ||
</metadata> | ||
</package> |
104 changes: 104 additions & 0 deletions
104
packages/ILMerge.MSBuild.Tasks.1.0.0.3/tools/ILMerge License.rtf
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0"?> | ||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> | ||
<metadata> | ||
<id>ilmerge</id> | ||
<version>2.13.0307</version> | ||
<title>ILMerge</title> | ||
<authors>mbarnett</authors> | ||
<owners>mbarnett</owners> | ||
<licenseUrl>http://research.microsoft.com/en-us/people/mbarnett/ilmerge-license.aspx</licenseUrl> | ||
<projectUrl>http://research.microsoft.com/en-us/people/mbarnett/ILMerge.aspx</projectUrl> | ||
<requireLicenseAcceptance>true</requireLicenseAcceptance> | ||
<description>ILMerge is a utility that can be used to merge multiple .NET assemblies into a single assembly. ILMerge takes a set of input assemblies and merges them into one target assembly. The first assembly in the list of input assemblies is the primary assembly. When the primary assembly is an executable, then the target assembly is created as an executable with the same entry point as the primary assembly. Also, if the primary assembly has a strong name, and a .snk file is provided, then the target assembly is re-signed with the specified key so that it also has a strong name. | ||
|
||
ILMerge is packaged as a console application. But all of its functionality is also available programmatically. | ||
|
||
There are several options that control the behavior of ILMerge. See the documentation that comes with the tool for details.</description> | ||
<summary>ILMerge is a static linker for .NET assemblies.</summary> | ||
<copyright>Microsoft Corporation</copyright> | ||
<language>en-US</language> | ||
<frameworkAssemblies> | ||
<frameworkAssembly assemblyName="System" targetFramework="" /> | ||
<frameworkAssembly assemblyName="System.Xml" targetFramework="" /> | ||
</frameworkAssemblies> | ||
</metadata> | ||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<repositories> | ||
<repository path="..\xk3yScanner\packages.config" /> | ||
</repositories> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 2012 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "xk3yScanner", "xk3yScanner\xk3yScanner.csproj", "{D0DBCB1F-3352-47DB-BDE1-5A712B6068E9}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{F8F1BEDD-9C2D-4E65-AB0A-327A74512C84}" | ||
ProjectSection(SolutionItems) = preProject | ||
.nuget\packages.config = .nuget\packages.config | ||
EndProjectSection | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{D0DBCB1F-3352-47DB-BDE1-5A712B6068E9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{D0DBCB1F-3352-47DB-BDE1-5A712B6068E9}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{D0DBCB1F-3352-47DB-BDE1-5A712B6068E9}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{D0DBCB1F-3352-47DB-BDE1-5A712B6068E9}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.ComponentModel; | ||
using System.Data; | ||
using System.Drawing; | ||
using System.Text; | ||
using System.Windows.Forms; | ||
|
||
namespace xk3yScanner | ||
{ | ||
public partial class BannerForm : Form | ||
{ | ||
private Image m; | ||
public BannerForm(Image im) | ||
{ | ||
m = im; | ||
InitializeComponent(); | ||
this.picBox.Image = im; | ||
} | ||
|
||
private void BannerForm_Load(object sender, EventArgs e) | ||
{ | ||
if ((m.Width!=picBox.Width) || (m.Height!=picBox.Height)) | ||
{ | ||
int w = picBox.Width - m.Width; | ||
int h = picBox.Height - m.Height; | ||
this.Width += w; | ||
this.Height += h; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<root> | ||
<!-- | ||
Microsoft ResX Schema | ||
Version 2.0 | ||
The primary goals of this format is to allow a simple XML format | ||
that is mostly human readable. The generation and parsing of the | ||
various data types are done through the TypeConverter classes | ||
associated with the data types. | ||
Example: | ||
... ado.net/XML headers & schema ... | ||
<resheader name="resmimetype">text/microsoft-resx</resheader> | ||
<resheader name="version">2.0</resheader> | ||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||
<value>[base64 mime encoded serialized .NET Framework object]</value> | ||
</data> | ||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||
<comment>This is a comment</comment> | ||
</data> | ||
There are any number of "resheader" rows that contain simple | ||
name/value pairs. | ||
Each data row contains a name, and value. The row also contains a | ||
type or mimetype. Type corresponds to a .NET class that support | ||
text/value conversion through the TypeConverter architecture. | ||
Classes that don't support this are serialized and stored with the | ||
mimetype set. | ||
The mimetype is used for serialized objects, and tells the | ||
ResXResourceReader how to depersist the object. This is currently not | ||
extensible. For a given mimetype the value must be set accordingly: | ||
Note - application/x-microsoft.net.object.binary.base64 is the format | ||
that the ResXResourceWriter will generate, however the reader can | ||
read any of the formats listed below. | ||
mimetype: application/x-microsoft.net.object.binary.base64 | ||
value : The object must be serialized with | ||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||
: and then encoded with base64 encoding. | ||
mimetype: application/x-microsoft.net.object.soap.base64 | ||
value : The object must be serialized with | ||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||
: and then encoded with base64 encoding. | ||
mimetype: application/x-microsoft.net.object.bytearray.base64 | ||
value : The object must be serialized into a byte array | ||
: using a System.ComponentModel.TypeConverter | ||
: and then encoded with base64 encoding. | ||
--> | ||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||
<xsd:element name="root" msdata:IsDataSet="true"> | ||
<xsd:complexType> | ||
<xsd:choice maxOccurs="unbounded"> | ||
<xsd:element name="metadata"> | ||
<xsd:complexType> | ||
<xsd:sequence> | ||
<xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||
</xsd:sequence> | ||
<xsd:attribute name="name" use="required" type="xsd:string" /> | ||
<xsd:attribute name="type" type="xsd:string" /> | ||
<xsd:attribute name="mimetype" type="xsd:string" /> | ||
<xsd:attribute ref="xml:space" /> | ||
</xsd:complexType> | ||
</xsd:element> | ||
<xsd:element name="assembly"> | ||
<xsd:complexType> | ||
<xsd:attribute name="alias" type="xsd:string" /> | ||
<xsd:attribute name="name" type="xsd:string" /> | ||
</xsd:complexType> | ||
</xsd:element> | ||
<xsd:element name="data"> | ||
<xsd:complexType> | ||
<xsd:sequence> | ||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||
</xsd:sequence> | ||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||
<xsd:attribute ref="xml:space" /> | ||
</xsd:complexType> | ||
</xsd:element> | ||
<xsd:element name="resheader"> | ||
<xsd:complexType> | ||
<xsd:sequence> | ||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||
</xsd:sequence> | ||
<xsd:attribute name="name" type="xsd:string" use="required" /> | ||
</xsd:complexType> | ||
</xsd:element> | ||
</xsd:choice> | ||
</xsd:complexType> | ||
</xsd:element> | ||
</xsd:schema> | ||
<resheader name="resmimetype"> | ||
<value>text/microsoft-resx</value> | ||
</resheader> | ||
<resheader name="version"> | ||
<value>2.0</value> | ||
</resheader> | ||
<resheader name="reader"> | ||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||
</resheader> | ||
<resheader name="writer"> | ||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||
</resheader> | ||
</root> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace QiHe.CodeLib.Csv | ||
{ | ||
public class CsvDecoder | ||
{ | ||
public static CsvData Decode(string text) | ||
{ | ||
return Decode(text, false); | ||
} | ||
|
||
public static CsvData Decode(string text, bool hasHeader) | ||
{ | ||
if (text == null) | ||
{ | ||
throw new ArgumentNullException("text"); | ||
} | ||
bool success; | ||
Parser parser = new Parser(); | ||
CsvData csvData = parser.ParseCsvData(new TextInput(text), out success); | ||
if (success) | ||
{ | ||
if (hasHeader) | ||
{ | ||
csvData.Header = csvData.Records[0]; | ||
csvData.Records.RemoveAt(0); | ||
} | ||
return csvData; | ||
} | ||
else | ||
{ | ||
throw new Exception("There are syntax errors in the csv text."); | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.