Skip to content

Commit

Permalink
Git Init version
Browse files Browse the repository at this point in the history
  • Loading branch information
oxytotem committed Mar 3, 2014
0 parents commit e45a18b
Show file tree
Hide file tree
Showing 111 changed files with 14,714 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .gitignore
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
4 changes: 4 additions & 0 deletions .nuget/packages.config
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 added ObjectListView.dll
Binary file not shown.
Binary file not shown.
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 packages/ILMerge.MSBuild.Tasks.1.0.0.3/tools/ILMerge License.rtf

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added packages/ilmerge.2.13.0307/ILMerge.doc
Binary file not shown.
Binary file added packages/ilmerge.2.13.0307/ILMerge.exe
Binary file not shown.
Binary file not shown.
25 changes: 25 additions & 0 deletions packages/ilmerge.2.13.0307/ilmerge.2.13.0307.nuspec
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>
4 changes: 4 additions & 0 deletions packages/repositories.config
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>
25 changes: 25 additions & 0 deletions xk3yScanner.sln
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
66 changes: 66 additions & 0 deletions xk3yScanner/BannerForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions xk3yScanner/BannerForm.cs
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;
}
}
}
}
120 changes: 120 additions & 0 deletions xk3yScanner/BannerForm.resx
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>
38 changes: 38 additions & 0 deletions xk3yScanner/CSV/CsvDecoder.cs
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.");
}
}
}
}
Loading

0 comments on commit e45a18b

Please sign in to comment.