Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
be64615
Added the first code for Windows Phone 8.1 (WinRT)
mattleibow Jun 7, 2017
a15f78d
Got the basic drawing working, but the resolution is very bad
mattleibow Jun 7, 2017
5142143
Added a WinRT sample
mattleibow Jun 7, 2017
92af89e
Added Win81 support
mattleibow Jun 8, 2017
9be7520
Added the Win81 sample
mattleibow Jun 8, 2017
1b8e1ee
fixed the code due to conditional compilation
mattleibow Jun 8, 2017
8a062c5
fix the signature saving code
mattleibow Jun 8, 2017
1b6e8d9
Fixed the WinPhone rendering to use Win2D
mattleibow Jun 8, 2017
856b898
some tweaks
mattleibow Jun 8, 2017
47a6290
ambiguous references
mattleibow Jun 8, 2017
ab0840b
uncomment the code
mattleibow Jun 8, 2017
859cdab
Added a WinRT PCL for other PCL libraries to consume
mattleibow Jun 8, 2017
bf7f46a
Added a WinRT Universal sample
mattleibow Jun 8, 2017
6a2e957
Use the light theme
mattleibow Jun 8, 2017
72386a5
Added the WinRT projects to the Xamarin.Forms samples in preparation
mattleibow Jun 8, 2017
92b1d2f
Merge pull request #75 from xamarin/master
mattleibow Jun 8, 2017
0497baa
Merge branch 'winrt-support' of github.com:xamarin/SignaturePad into …
mattleibow Jun 8, 2017
ca85010
Added the Xamarin.Forms controls
mattleibow Jun 9, 2017
6b9a3b6
Updated the .nuspec and build
mattleibow Jun 9, 2017
28af5ff
Prepped the Forms sample
mattleibow Jun 9, 2017
bd0667a
Added the Forms samples for WinRT
mattleibow Jun 9, 2017
e85c61e
Updated the component
mattleibow Jun 9, 2017
822016d
Fix issue with ink not changing color
mattleibow Jun 9, 2017
f507007
Avoid adding multiple points that in the same location to reduce the …
mattleibow Jun 9, 2017
9e5883a
FIx UWP assembly info
mattleibow Jun 9, 2017
5c2d6d2
Reduce the number of points 10 fold. Addresses issue #23
mattleibow Jun 9, 2017
b6bca60
Fixed Android stroke width issues:
mattleibow Jun 9, 2017
96be85d
fixed project/solution configuration associations
mattleibow Jun 9, 2017
0444bce
No need for such smoothing #23
mattleibow Jun 9, 2017
af0d0d7
Improve iOS signature line resolution
mattleibow Jun 9, 2017
2d1e77b
Update app project properties to new values
mattleibow Jun 9, 2017
8ab3405
reduce the number of pixels #23
mattleibow Jun 9, 2017
257d5a9
Clean up the project files
mattleibow Jun 9, 2017
7d1e022
Fixed the dependency chain with the generated library
mattleibow Jun 9, 2017
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
23 changes: 23 additions & 0 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,26 @@ buildSpec = new BuildSpec () {
FromFile = "./src/SignaturePad.Forms.UWP/bin/Release/SignaturePad.Forms.dll",
ToDirectory = "output/uwp",
},
new OutputFileCopy {
FromFile = "./src/SignaturePad.Windows81/bin/Release/SignaturePad.dll",
ToDirectory = "output/win",
},
new OutputFileCopy {
FromFile = "./src/SignaturePad.Forms.Windows81/bin/Release/SignaturePad.Forms.dll",
ToDirectory = "output/win",
},
new OutputFileCopy {
FromFile = "./src/SignaturePad.WindowsPhone81/bin/Release/SignaturePad.dll",
ToDirectory = "output/wpa",
},
new OutputFileCopy {
FromFile = "./src/SignaturePad.Forms.WindowsPhone81/bin/Release/SignaturePad.Forms.dll",
ToDirectory = "output/wpa",
},
new OutputFileCopy {
FromFile = "./src/SignaturePad.WindowsRuntime81/bin/Release/SignaturePad.dll",
ToDirectory = "output/winrt",
},
}
}
},
Expand All @@ -87,6 +107,9 @@ buildSpec = new BuildSpec () {
new IOSSolutionBuilder { SolutionPath = "./samples/Sample.Forms/Sample.Forms.Mac.sln", BuildsOn = BuildPlatforms.Mac },
new WpSolutionBuilder { SolutionPath = "./samples/Sample.WP8/Sample.WP8.sln", BuildsOn = BuildPlatforms.Windows },
new WpSolutionBuilder { SolutionPath = "./samples/Sample.UWP/Sample.UWP.sln", BuildsOn = BuildPlatforms.Windows },
new WpSolutionBuilder { SolutionPath = "./samples/Sample.Windows81/Sample.Windows81.sln", BuildsOn = BuildPlatforms.Windows },
new WpSolutionBuilder { SolutionPath = "./samples/Sample.WindowsPhone81/Sample.WindowsPhone81.sln", BuildsOn = BuildPlatforms.Windows },
new WpSolutionBuilder { SolutionPath = "./samples/Sample.WindowsRuntime81/Sample.WindowsRuntime81.sln", BuildsOn = BuildPlatforms.Windows },
new WpSolutionBuilder { SolutionPath = "./samples/Sample.Forms/Sample.Forms.Win.sln", BuildsOn = BuildPlatforms.Windows },
},

Expand Down
56 changes: 56 additions & 0 deletions component/component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,17 @@ libraries:
ios-unified: ../output/ios-unified/SignaturePad.dll
wp8: ../output/wp8/SignaturePad.dll
uwp: ../output/uwp/SignaturePad.dll
wpa81: ../output/wpa/SignaturePad.dll
winrt: ../output/winrt/SignaturePad.dll
win8: ../output/win/SignaturePad.dll
packages:
android: Xamarin.Controls.SignaturePad, Version=2.0.0
ios-unified: Xamarin.Controls.SignaturePad, Version=2.0.0
wp8: Xamarin.Controls.SignaturePad, Version=2.0.0
uwp: Xamarin.Controls.SignaturePad, Version=2.0.0
wpa81: Xamarin.Controls.SignaturePad, Version=2.0.0
winrt: Xamarin.Controls.SignaturePad, Version=2.0.0
win8: Xamarin.Controls.SignaturePad, Version=2.0.0

samples:
- name: "Android Sample"
Expand Down Expand Up @@ -71,16 +77,58 @@ samples:
- project: Sample.UWP
packages:
- Xamarin.Controls.SignaturePad
- name: "Windows Phone 8.1 Sample"
path: ../samples/Sample.WindowsPhone81/Sample.WindowsPhone81.sln
removeProjects:
- SignaturePad.WindowsPhone81
- SignaturePad.Shared
- SignaturePad.InkPresenter.Shared
installNuGets:
- project: Sample.WindowsPhone81
packages:
- Xamarin.Controls.SignaturePad
- name: "Windows 8.1 Sample"
path: ../samples/Sample.Windows81/Sample.Windows81.sln
removeProjects:
- SignaturePad.Windows81
- SignaturePad.Shared
installNuGets:
- project: Sample.Windows81
packages:
- Xamarin.Controls.SignaturePad
- name: "Windows 8.1 Universal Sample"
path: ../samples/Sample.WindowsRuntime81/Sample.WindowsRuntime81.sln
removeProjects:
- SignaturePad.WindowsRuntime81
- SignaturePad.Windows81
- SignaturePad.WindowsPhone81
- SignaturePad.Shared
- SignaturePad.InkPresenter.Shared
installNuGets:
- project: Sample.WindowsRuntime81
packages:
- Xamarin.Controls.SignaturePad
- project: Sample.WindowsRuntime81.Windows
packages:
- Xamarin.Controls.SignaturePad
- project: Sample.WindowsRuntime81.WindowsPhone
packages:
- Xamarin.Controls.SignaturePad
- name: "Xamarin.Forms Sample"
path: ../samples/Sample.Forms/Sample.Forms.sln
removeProjects:
- SignaturePad.WP8
- SignaturePad.iOS
- SignaturePad.Android
- SignaturePad.Windows81
- SignaturePad.WindowsPhone81
- SignaturePad.WindowsRuntime81
- SignaturePad.Forms
- SignaturePad.Forms.Droid
- SignaturePad.Forms.iOS
- SignaturePad.Forms.WindowsPhone
- SignaturePad.Forms.Windows81
- SignaturePad.Forms.WindowsPhone81
- SignaturePad.Forms.Platform.Shared
- SignaturePad.Shared
- SignaturePad.InkPresenter.Shared
Expand All @@ -104,5 +152,13 @@ samples:
packages:
- Xamarin.Controls.SignaturePad
- Xamarin.Controls.SignaturePad.Forms
- project: Samples.Windows81
packages:
- Xamarin.Controls.SignaturePad
- Xamarin.Controls.SignaturePad.Forms
- project: Samples.WindowsPhone81
packages:
- Xamarin.Controls.SignaturePad
- Xamarin.Controls.SignaturePad.Forms

...
11 changes: 11 additions & 0 deletions nuget/Xamarin.Controls.SignaturePad.Forms.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<owners>Xamarin, Inc.</owners>
<licenseUrl>https://components.xamarin.com/license/signature-pad</licenseUrl>
<projectUrl>https://components.xamarin.com/view/signature-pad</projectUrl>
<iconUrl>https://cdn.rawgit.com/xamarin/SignaturePad/v2.0/component/icons/signature-pad_256x256.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Makes capturing, saving, and displaying signatures extremely simple.</description>
<copyright>Copyright (c) Xamarin Inc. 2017</copyright>
Expand All @@ -29,6 +30,14 @@
<dependency id="Xamarin.Forms" version="2.3.3" />
<dependency id="Xamarin.Controls.SignaturePad" version="2.0.0" />
</group>
<group targetFramework="win">
<dependency id="Xamarin.Forms" version="2.3.3" />
<dependency id="Xamarin.Controls.SignaturePad" version="2.0.0" />
</group>
<group targetFramework="wpa">
<dependency id="Xamarin.Forms" version="2.3.3" />
<dependency id="Xamarin.Controls.SignaturePad" version="2.0.0" />
</group>
<group targetFramework="portable-net45+win8+wp8">
<dependency id="Xamarin.Forms" version="2.3.3" />
</group>
Expand All @@ -42,6 +51,8 @@
<file src="output/ios-unified/SignaturePad.Forms.dll" target="lib/Xamarin.iOS/SignaturePad.Forms.dll" />
<file src="output/wp8/SignaturePad.Forms.dll" target="lib/wp8/SignaturePad.Forms.dll" />
<file src="output/uwp/SignaturePad.Forms.dll" target="lib/uap10.0/SignaturePad.Forms.dll" />
<file src="output/win/SignaturePad.Forms.dll" target="lib/win/SignaturePad.Forms.dll" />
<file src="output/wpa/SignaturePad.Forms.dll" target="lib/wpa/SignaturePad.Forms.dll" />

<file src="output/pcl/SignaturePad.Forms.dll" target="lib/portable-net45+win8+wp8/SignaturePad.Forms.dll" />
<file src="output/pcl/SignaturePad.Forms.dll" target="lib/portable-net45+win+wp8+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/SignaturePad.Forms.dll" />
Expand Down
10 changes: 10 additions & 0 deletions nuget/Xamarin.Controls.SignaturePad.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<owners>Xamarin, Inc.</owners>
<licenseUrl>https://components.xamarin.com/license/signature-pad</licenseUrl>
<projectUrl>https://components.xamarin.com/view/signature-pad</projectUrl>
<iconUrl>https://cdn.rawgit.com/xamarin/SignaturePad/v2.0/component/icons/signature-pad_256x256.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Makes capturing, saving, and displaying signatures extremely simple.</description>
<copyright>Copyright (c) Xamarin Inc. 2017</copyright>
Expand All @@ -19,12 +20,21 @@
<group targetFramework="uap10.0">
<dependency id="Win2D.uwp" version="1.20.0" />
</group>
<group targetFramework="win">
<dependency id="Win2D.win81" version="1.20.0" />
</group>
<group targetFramework="wpa">
<dependency id="Win2D.win81" version="1.20.0" />
</group>
</dependencies>
</metadata>
<files>
<file src="output/android/SignaturePad.dll" target="lib/MonoAndroid/SignaturePad.dll" />
<file src="output/ios-unified/SignaturePad.dll" target="lib/Xamarin.iOS/SignaturePad.dll" />
<file src="output/wp8/SignaturePad.dll" target="lib/wp8/SignaturePad.dll" />
<file src="output/uwp/SignaturePad.dll" target="lib/uap10.0/SignaturePad.dll" />
<file src="output/win/SignaturePad.dll" target="lib/win/SignaturePad.dll" />
<file src="output/wpa/SignaturePad.dll" target="lib/wpa/SignaturePad.dll" />
<file src="output/winrt/SignaturePad.dll" target="lib/portable-win81+wpa81/SignaturePad.dll" />
</files>
</package>
16 changes: 1 addition & 15 deletions samples/Sample.Android/Sample.Android.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
<TargetFrameworkVersion>v7.1</TargetFrameworkVersion>
<AndroidUseLatestPlatformSdk>True</AndroidUseLatestPlatformSdk>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>True</DebugSymbols>
Expand All @@ -33,13 +31,7 @@
<AndroidLinkMode>None</AndroidLinkMode>
<EmbedAssembliesIntoApk>False</EmbedAssembliesIntoApk>
<AndroidUseSharedRuntime>True</AndroidUseSharedRuntime>
<BundleAssemblies>False</BundleAssemblies>
<AndroidCreatePackagePerAbi>False</AndroidCreatePackagePerAbi>
<Debugger>.Net (Xamarin)</Debugger>
<AotAssemblies>False</AotAssemblies>
<EnableLLVM>False</EnableLLVM>
<AndroidEnableMultiDex>False</AndroidEnableMultiDex>
<EnableProguard>False</EnableProguard>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>none</DebugType>
Expand All @@ -52,13 +44,7 @@
<AndroidSupportedAbis>armeabi,armeabi-v7a,x86,x86_64,arm64-v8a</AndroidSupportedAbis>
<AndroidLinkMode>Full</AndroidLinkMode>
<EmbedAssembliesIntoApk>True</EmbedAssembliesIntoApk>
<BundleAssemblies>False</BundleAssemblies>
<AndroidCreatePackagePerAbi>False</AndroidCreatePackagePerAbi>
<Debugger>Xamarin</Debugger>
<AotAssemblies>False</AotAssemblies>
<EnableLLVM>False</EnableLLVM>
<AndroidEnableMultiDex>False</AndroidEnableMultiDex>
<EnableProguard>False</EnableProguard>
<DebugSymbols>False</DebugSymbols>
</PropertyGroup>
<ItemGroup>
Expand Down Expand Up @@ -108,7 +94,7 @@
<Name>SignaturePad.Android</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Novell\Novell.MonoDroid.CSharp.targets" />
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
<Import Project="packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\build\Xamarin.Android.Support.Vector.Drawable.targets" Condition="Exists('packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\build\Xamarin.Android.Support.Vector.Drawable.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
Expand Down
Loading