Skip to content

Commit

Permalink
Merge branch 'hotfix/nuget'
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-alay committed Aug 1, 2016
2 parents 0c89dff + 5a2d84e commit cd26d56
Show file tree
Hide file tree
Showing 16 changed files with 796 additions and 2 deletions.
36 changes: 36 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation with the addition of the
following permission added to Section 15 as permitted in Section 7(a):
FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
OF THIRD PARTY RIGHTS

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program; if not, see http://www.gnu.org/licenses or write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA, 02110-1301 USA, or download the license from the following URL:
http://itextpdf.com/terms-of-use/

The interactive user interfaces in modified source and object code versions
of this program must display Appropriate Legal Notices, as required under
Section 5 of the GNU Affero General Public License.

In accordance with Section 7(b) of the GNU Affero General Public License,
a covered work must retain the producer line in every PDF that is created
or manipulated using iText.

You can be released from the requirements of the license by purchasing
a commercial license. Buying such a license is mandatory as soon as you
develop commercial activities involving the iText software without
disclosing the source code of your own applications.
These activities include: offering paid services to customers as an ASP,
serving PDFs on the fly in a web application, shipping iText with a closed
source product.

For more information, please contact iText Software Corp. at this
address: [email protected]
651 changes: 651 additions & 0 deletions gnu-agpl-v3.0.md

Large diffs are not rendered by default.

38 changes: 38 additions & 0 deletions iText.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>itext</id>
<version>$version$</version>
<title>iText 7 Community</title>
<authors>iText Software</authors>
<owners>iText Software</owners>
<licenseUrl>http://www.gnu.org/licenses/agpl.html</licenseUrl>
<projectUrl>http://itextpdf.com/</projectUrl>
<iconUrl>http://itextpdf.com/sites/default/files/ITSC-avatar.png</iconUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<description>iText 7 represents the next level of SDKs for developers that want to take advantage of the benefits PDF can bring. Equipped with a better document engine, high- and low-level programming capabilities and the ability to create, edit and enhance PDF documents, iText 7 can be a boon to nearly every workflow. iText 7 allows you to build custom PDF scenarios for web, mobile, desktop or cloud apps in Java and .NET.</description>
<summary>iText for .NET is a port of the iText open source java library for PDF generation written entirely in C# for the .NET platform.</summary>
<releaseNotes>http://itextpdf.com/itext7release</releaseNotes>
<copyright>Copyright (c) 1998-2016 iText Group NV</copyright>
<language>en-US</language>
<tags>itext itextsharp c# .net csharp pdf</tags>
</metadata>
<files>
<file src="itext\itext.io\bin\Release\itext.io.dll" target="lib\net40" />
<file src="itext\itext.io\bin\Release\itext.io.xml" target="lib\net40" />
<file src="itext\itext.kernel\bin\Release\itext.kernel.dll" target="lib\net40" />
<file src="itext\itext.kernel\bin\Release\itext.kernel.xml" target="lib\net40" />
<file src="itext\itext.layout\bin\Release\itext.layout.dll" target="lib\net40" />
<file src="itext\itext.layout\bin\Release\itext.layout.xml" target="lib\net40" />
<file src="itext\itext.pdfa\bin\Release\itext.pdfa.dll" target="lib\net40" />
<file src="itext\itext.pdfa\bin\Release\itext.pdfa.xml" target="lib\net40" />
<file src="itext\itext.forms\bin\Release\itext.forms.dll" target="lib\net40" />
<file src="itext\itext.forms\bin\Release\itext.forms.xml" target="lib\net40" />
<file src="itext\itext.barcodes\bin\Release\itext.barcodes.dll" target="lib\net40" />
<file src="itext\itext.barcodes\bin\Release\itext.barcodes.xml" target="lib\net40" />
<file src="itext\itext.sign\bin\Release\itext.sign.dll" target="lib\net40" />
<file src="itext\itext.sign\bin\Release\itext.sign.xml" target="lib\net40" />
<file src="gnu-agpl-v3.0.md" target="" />
<file src="LICENSE.md" target="" />
</files>
</package>
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ public virtual void CreateEmptyDocumentWithXmp() {
PdfReader reader = new PdfReader(destinationFolder + filename);
PdfDocument pdfDocument = new PdfDocument(reader);
NUnit.Framework.Assert.AreEqual(false, reader.HasRebuiltXref(), "Rebuilt");
NUnit.Framework.Assert.AreEqual(ReadFile(sourceFolder + "emptyDocumentWithXmp.xml").Length, pdfDocument.GetXmpMetadata
().Length);
int delta = ReadFile(sourceFolder + "emptyDocumentWithXmp.xml").Length - pdfDocument.GetXmpMetadata().Length;
//Difference could be because of -SNAPSHOT postfix.
NUnit.Framework.Assert.IsTrue(delta == 0 || delta == 9, "Unexpected length delta");
NUnit.Framework.Assert.IsNotNull(reader.pdfDocument.GetPage(1));
reader.Close();
}
Expand Down
2 changes: 2 additions & 0 deletions itext/itext.barcodes/itext.barcodes.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\itext.barcodes.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -30,6 +31,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Release\itext.barcodes.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down
24 changes: 24 additions & 0 deletions itext/itext.font-asian/iText Asian Font.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>itext.font-asian</id>
<version>$version$</version>
<title>iText 7 Asian Font</title>
<authors>iText Software</authors>
<owners>iText Software</owners>
<licenseUrl>http://www.gnu.org/licenses/agpl.html</licenseUrl>
<projectUrl>http://itextpdf.com/</projectUrl>
<iconUrl>http://itextpdf.com/sites/default/files/ITSC-avatar.png</iconUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<description>iText Asian fonts for use in conjunction with iText 7, an open source PDF library</description>
<summary></summary>
<releaseNotes>http://itextpdf.com/itext7release</releaseNotes>
<copyright>Copyright (c) 1998-2016 iText Group NV</copyright>
<language>en-US</language>
<tags>itext itextsharp c# .net csharp pdf asian</tags>
</metadata>
<files>
<file src="bin\Release\itext.font_asian.dll" target="lib\net40" />
<file src="bin\Release\itext.font_asian.xml" target="lib\net40" />
</files>
</package>
2 changes: 2 additions & 0 deletions itext/itext.font-asian/itext.font-asian.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\itext.font_asian.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -30,6 +31,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Release\itext.font_asian.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
Expand Down
2 changes: 2 additions & 0 deletions itext/itext.forms/itext.forms.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\itext.forms.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -30,6 +31,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Release\itext.forms.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down
24 changes: 24 additions & 0 deletions itext/itext.hyph/iText Hyph.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>itext.hyph</id>
<version>$version$</version>
<title>iText 7 Hyph</title>
<authors>iText Software</authors>
<owners>iText Software</owners>
<licenseUrl>http://www.gnu.org/licenses/agpl.html</licenseUrl>
<projectUrl>http://itextpdf.com/</projectUrl>
<iconUrl>http://itextpdf.com/sites/default/files/ITSC-avatar.png</iconUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<description>XML files that can be used for hyphenation with iText 7, an open source PDF library</description>
<summary></summary>
<releaseNotes>http://itextpdf.com/itext7release</releaseNotes>
<copyright>Copyright (c) 1998-2016 iText Group NV</copyright>
<language>en-US</language>
<tags>itext itextsharp c# .net csharp pdf hyphenation hyph</tags>
</metadata>
<files>
<file src="bin\Release\itext.hyph.dll" target="lib\net40" />
<file src="bin\Release\itext.hyph.xml" target="lib\net40" />
</files>
</package>
2 changes: 2 additions & 0 deletions itext/itext.hyph/itext.hyph.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\itext.hyph.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -30,6 +31,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Release\itext.hyph.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
Expand Down
2 changes: 2 additions & 0 deletions itext/itext.io/itext.io.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\itext.io.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -30,6 +31,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Release\itext.io.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down
2 changes: 2 additions & 0 deletions itext/itext.kernel/itext.kernel.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\itext.kernel.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -30,6 +31,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Release\itext.kernel.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down
2 changes: 2 additions & 0 deletions itext/itext.layout/itext.layout.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\itext.layout.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -30,6 +31,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Release\itext.layout.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down
2 changes: 2 additions & 0 deletions itext/itext.pdfa/itext.pdfa.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\itext.pdfa.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -30,6 +31,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Release\itext.pdfa.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down
2 changes: 2 additions & 0 deletions itext/itext.pdftest/itext.pdftest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\itext.pdftest.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -32,6 +33,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Release\itext.pdftest.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down
2 changes: 2 additions & 0 deletions itext/itext.sign/itext.sign.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\itext.sign.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -30,6 +31,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Release\itext.sign.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down

0 comments on commit cd26d56

Please sign in to comment.