Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions QRCoder.Xaml/Assets/nuget-readme-xaml.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@

QRCoder.Xaml is an extension that provides the `XamlQRCode`-renderer for the popular [QRCoder.NET library](https://www.nuget.org/packages/QRCoder/). It allows you to render QRCodes as `DrawingImage`-objects for usage in WPF/XAML-based projects.

For usage information see the demo code below. For more general information check the [QRCoder-wiki](https://github.com/codebude/QRCoder/wiki).
For usage information see the demo code below. For more general information check the [QRCoder-wiki](https://github.com/Shane32/QRCoder/wiki).

***

## Documentation

👉 *Your first place to go should be our wiki. Here you can find a detailed documentation of the QRCoder and its functions.*
* [**QRCode Wiki**](https://github.com/codebude/QRCoder/wiki)
* [**QRCode Wiki > XamlQRCode**](https://github.com/codebude/QRCoder/wiki/Advanced-usage---QR-Code-renderers#28-xamlqrcode-renderer-in-detail)
* [**QRCode Wiki**](https://github.com/Shane32/QRCoder/wiki)
* [**QRCode Wiki > XamlQRCode**](https://github.com/Shane32/QRCoder/wiki/Advanced-usage---QR-Code-renderers#28-xamlqrcode-renderer-in-detail)
* [Creator's blog (english)](http://en.code-bude.net/2013/10/17/qrcoder-an-open-source-qr-code-generator-implementation-in-csharp/)
* [Creator's blog (german)](http://code-bude.net/2013/10/17/qrcoder-eine-open-source-qr-code-implementierung-in-csharp/)

### Release Notes
The release notes for the current and all past releases can be read here: [📄 Release Notes](https://github.com/codebude/QRCoder/wiki/Release-notes)
The release notes for the current and all past releases can be read here: [📄 Release Notes](https://github.com/Shane32/QRCoder/wiki/Release-notes)

## Usage / Quick start

Expand All @@ -32,15 +32,15 @@ using (XamlQRCode qrCode = new XamlQRCode(qrCodeData))

### Optional parameters and overloads

There are a plenty of other options. So feel free to read more on that in our wiki: [Wiki: How to use QRCoder](https://github.com/codebude/QRCoder/wiki/How-to-use-QRCoder)
There are a plenty of other options. So feel free to read more on that in our wiki: [Wiki: How to use QRCoder](https://github.com/Shane32/QRCoder/wiki/How-to-use-QRCoder)

## Help & Issues

If you think you have found a bug or have new ideas or feature requests, then feel free to open a new issue: https://github.com/codebude/QRCoder/issues
If you think you have found a bug or have new ideas or feature requests, then feel free to open a new issue: https://github.com/Shane32/QRCoder/issues

In case you have a question about using the library (and couldn't find an answer in our wiki), feel free to open a new question/discussion: https://github.com/codebude/QRCoder/discussions
In case you have a question about using the library (and couldn't find an answer in our wiki), feel free to open a new question/discussion: https://github.com/Shane32/QRCoder/discussions


## Legal information and credits

QRCoder is a project by [Raffael Herrmann](https://raffaelherrmann.de) and was first released in 10/2013. It's licensed under the [MIT license](https://github.com/codebude/QRCoder/blob/master/LICENSE.txt).
QRCoder is a project by [Raffael Herrmann](https://raffaelherrmann.de) and was first released in 10/2013. It's licensed under the [MIT license](https://github.com/Shane32/QRCoder/blob/master/LICENSE.txt).
44 changes: 0 additions & 44 deletions QRCoder/Assets/nuget-readme.md

This file was deleted.

2 changes: 1 addition & 1 deletion QRCoder/PayloadGenerator/SwissQrCode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ public static Contact WithCombinedAddress(string name, string country, string ad

private Contact(string name, string? zipCode, string? city, string country, string? streetOrAddressline1, string? houseNumberOrAddressline2, AddressType addressType)
{
//Pattern extracted from https://qr-validation.iso-payments.ch as explained in https://github.com/codebude/QRCoder/issues/97
//Pattern extracted from https://qr-validation.iso-payments.ch as explained in https://github.com/Shane32/QRCoder/issues/97
var charsetPattern = @"^([a-zA-Z0-9\.,;:'\ \+\-/\(\)?\*\[\]\{\}\\`´~ ^|]|[!""#%&<>÷=@_$£¡¢¤¥¦§¨©ª«¬®¯°±²³µ¶·¸¹º»¼½¾¿×Ø€]|[àáâäãåāăąçćĉċčďđèéêëēĕėęěĝğġģĥħìíîïĩīĭįıijķĸĺļľŀłñńņňʼnŋòóôöōŏőõŕŗřśŝşšșţťŧțùúûüũūŭůűųŵýÿŷźżžßÀÁÂÄÃÅĀĂĄÇĆĈĊČĎĐÈÉÊËĒĔĖĘĚĜĞĠĢĤĦÌÍÎÏĨĪĬĮİIJĴĵĶĹĻĽĿŁÑŃŅŇŊÒÓÔÖÕŌŎŐŔŖŘŚŜŞŠȘŢŤŦȚÙÚÛÜŨŪŬŮŰŲŴÝŶŸŹŻŽÆÐÞæðøþŒœſ])*$";

_adrType = addressType;
Expand Down
2 changes: 1 addition & 1 deletion QRCoder/PdfByteQRCode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Linq;
using static QRCoder.QRCodeGenerator;

/* This renderer is inspired by RemusVasii: https://github.com/codebude/QRCoder/issues/223 */
/* This renderer is inspired by RemusVasii: https://github.com/Shane32/QRCoder/issues/223 */
namespace QRCoder;


Expand Down
4 changes: 2 additions & 2 deletions QRCoder/QRCoder.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/Shane32/QRCoder/</PackageProjectUrl>
<PackageIcon>nuget-icon.png</PackageIcon>
<PackageReadmeFile>nuget-readme.md</PackageReadmeFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageTags>c# csharp qr qrcoder qrcode qr-generator qr-code-generator</PackageTags>
<RepositoryUrl>https://github.com/Shane32/QRCoder.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
Expand All @@ -35,7 +35,7 @@

<ItemGroup>
<None Include="Assets\nuget-icon.png" Pack="true" PackagePath="\" />
<None Include="Assets\nuget-readme.md" Pack="true" PackagePath="\" />
<None Include="..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net35' or '$(TargetFramework)' == 'net40' ">
Expand Down
2 changes: 1 addition & 1 deletion QRCoderBenchmarks/BitmapByteQRCode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public BitmapByteQRCodeBenchmark()
_samples = new Dictionary<string, QRCodeData>()
{
{ "small", QRCoder.QRCodeGenerator.GenerateQrCode("ABCD", eccLvl) },
{ "medium", QRCoder.QRCodeGenerator.GenerateQrCode("https://github.com/codebude/QRCoder/blob/f89aa90081f369983a9ba114e49cc6ebf0b2a7b1/QRCoder/Framework4.0Methods/Stream4Methods.cs", eccLvl) },
{ "medium", QRCoder.QRCodeGenerator.GenerateQrCode("https://github.com/Shane32/QRCoder/blob/f89aa90081f369983a9ba114e49cc6ebf0b2a7b1/QRCoder/Framework4.0Methods/Stream4Methods.cs", eccLvl) },
{ "big", QRCoder.QRCodeGenerator.GenerateQrCode( new string('a', 2600), eccLvl) }
};
}
Expand Down
2 changes: 1 addition & 1 deletion QRCoderBenchmarks/PngByteQRCode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public PngByteQRCodeBenchmark()
_samples = new Dictionary<string, QRCodeData>()
{
{ "small", QRCoder.QRCodeGenerator.GenerateQrCode("ABCD", eccLvl) },
{ "medium", QRCoder.QRCodeGenerator.GenerateQrCode("https://github.com/codebude/QRCoder/blob/f89aa90081f369983a9ba114e49cc6ebf0b2a7b1/QRCoder/Framework4.0Methods/Stream4Methods.cs", eccLvl) },
{ "medium", QRCoder.QRCodeGenerator.GenerateQrCode("https://github.com/Shane32/QRCoder/blob/f89aa90081f369983a9ba114e49cc6ebf0b2a7b1/QRCoder/Framework4.0Methods/Stream4Methods.cs", eccLvl) },
{ "big", QRCoder.QRCodeGenerator.GenerateQrCode( new string('a', 2600), eccLvl) }
};
}
Expand Down
2 changes: 1 addition & 1 deletion QRCoderBenchmarks/QRCodeGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public void CreateQRCode()
[Benchmark]
public void CreateQRCodeLong()
{
var payload = new QRCoder.PayloadGenerator.Url("https://github.com/codebude/QRCoder/blob/f89aa90081f369983a9ba114e49cc6ebf0b2a7b1/QRCoder/Framework4.0Methods/Stream4Methods.cs");
var payload = new QRCoder.PayloadGenerator.Url("https://github.com/Shane32/QRCoder/blob/f89aa90081f369983a9ba114e49cc6ebf0b2a7b1/QRCoder/Framework4.0Methods/Stream4Methods.cs");
var qrGenerator = new QRCoder.QRCodeGenerator();
_ = qrGenerator.CreateQrCode(payload, QRCoder.QRCodeGenerator.ECCLevel.H);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public void russiapayment_generator_should_throw_no_data_too_long_exception()
var generator = new PayloadGenerator.RussiaPaymentOrder(name, account, bankName, bic, correspAcc, optionalFields);

// Should throw no exception as the 300 byte limit applies only to the mandatory fields
// See https://github.com/codebude/QRCoder/issues/392
// See https://github.com/Shane32/QRCoder/issues/392
var exception = Record.Exception(() => generator.ToString());
Assert.Null(exception);
}
Expand Down
2 changes: 1 addition & 1 deletion QRCoderTests/PayloadGeneratorTests/SwissQrCodeTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ public void swissqrcode_generator_should_validate_two_lettercodes()
Assert.Null(exception);

// Should work, as XK is is defined as special case (not officially ISO-3166-1,but used in the wild)
// See https://en.wikipedia.org/wiki/XK_(user_assigned_code) and https://github.com/codebude/QRCoder/issues/420
// See https://en.wikipedia.org/wiki/XK_(user_assigned_code) and https://github.com/Shane32/QRCoder/issues/420
country = "XK";
exception = Record.Exception(() => PayloadGenerator.SwissQrCode.Contact.WithStructuredAddress(name, zip, city, country));
Assert.Null(exception);
Expand Down
Loading