Skip to content

Commit 75f05dd

Browse files
committed
2 parents 8691242 + ddefc15 commit 75f05dd

File tree

1,359 files changed

+2963
-1581
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,359 files changed

+2963
-1581
lines changed

src/core/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@
3232
// You can specify all the values or you can default the Revision and Build Numbers
3333
// by using the '*' as shown below:
3434

35-
[assembly: AssemblyVersion("5.5.8")]
35+
[assembly: AssemblyVersion("5.5.9")]

src/core/System/util/FilterStream.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* $Id$
33
*
44
* This file is part of the iText (R) project.
5-
* Copyright (c) 1998-2015 iText Group NV
5+
* Copyright (c) 1998-2016 iText Group NV
66
* Authors: Bruno Lowagie, Paulo Soares, et al.
77
*
88
* This program is free software; you can redistribute it and/or modify

src/core/System/util/ListIterator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
*
88
* This file is part of the iText project.
9-
* Copyright (c) 1998-2015 iText Group NV
9+
* Copyright (c) 1998-2016 iText Group NV
1010
* Authors: Bruno Lowagie, Paulo Soares, et al.
1111
*
1212
* This program is free software; you can redistribute it and/or modify

src/core/System/util/Properties.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* This file is part of the iText project.
10-
* Copyright (c) 1998-2015 iText Group NV
10+
* Copyright (c) 1998-2016 iText Group NV
1111
* Authors: Bruno Lowagie, Paulo Soares, et al.
1212
*
1313
* This program is free software; you can redistribute it and/or modify
@@ -119,6 +119,7 @@ virtual public void Clear() {
119119
}
120120

121121
virtual public void Load(Stream inStream) {
122+
if (inStream == null) return;
122123
StreamReader inp = new StreamReader(inStream, Encoding.GetEncoding(1252));
123124
while (true) {
124125
// Get next line

src/core/System/util/PushbackStream.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* $Id$
33
*
44
* This file is part of the iText (R) project.
5-
* Copyright (c) 1998-2015 iText Group NV
5+
* Copyright (c) 1998-2016 iText Group NV
66
* Authors: Bruno Lowagie, Paulo Soares, et al.
77
*
88
* This program is free software; you can redistribute it and/or modify

src/core/System/util/RectangleJ.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* $Id$
33
*
44
* This file is part of the iText (R) project.
5-
* Copyright (c) 1998-2015 iText Group NV
5+
* Copyright (c) 1998-2016 iText Group NV
66
* Authors: Bruno Lowagie, Paulo Soares, et al.
77
*
88
* This program is free software; you can redistribute it and/or modify

src/core/System/util/StringTokenizer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* $Id$
44
*
55
* This file is part of the iText project.
6-
* Copyright (c) 1998-2015 iText Group NV
6+
* Copyright (c) 1998-2016 iText Group NV
77
* Authors: Bruno Lowagie, Paulo Soares, et al.
88
*
99
* This program is free software; you can redistribute it and/or modify

src/core/System/util/Util.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
*
77
* This file is part of the iText project.
8-
* Copyright (c) 1998-2015 iText Group NV
8+
* Copyright (c) 1998-2016 iText Group NV
99
* Authors: Bruno Lowagie, Paulo Soares, et al.
1010
*
1111
* This program is free software; you can redistribute it and/or modify

src/core/System/util/collections/HashSet2.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* $Id$
33
*
44
* This file is part of the iText (R) project.
5-
* Copyright (c) 1998-2015 iText Group NV
5+
* Copyright (c) 1998-2016 iText Group NV
66
* Authors: Bruno Lowagie, Paulo Soares, et al.
77
*
88
* This program is free software; you can redistribute it and/or modify

src/core/System/util/collections/LinkedDictionary.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
*
88
* This file is part of the iText project.
9-
* Copyright (c) 1998-2015 iText Group NV
9+
* Copyright (c) 1998-2016 iText Group NV
1010
* Authors: Bruno Lowagie, Paulo Soares, et al.
1111
*
1212
* This program is free software; you can redistribute it and/or modify

src/core/System/util/collections/OrderedTree.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* $Id$
55
*
66
* This file is part of the iText project.
7-
* Copyright (c) 1998-2015 iText Group NV
7+
* Copyright (c) 1998-2016 iText Group NV
88
* Authors: Bruno Lowagie, Paulo Soares, et al.
99
*
1010
* This program is free software; you can redistribute it and/or modify

src/core/System/util/collections/ReadOnlyDictionary.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* $Id$
33
*
44
* This file is part of the iText (R) project.
5-
* Copyright (c) 1998-2015 iText Group NV
5+
* Copyright (c) 1998-2016 iText Group NV
66
* Authors: Bruno Lowagie, Paulo Soares, et al.
77
*
88
* This program is free software; you can redistribute it and/or modify

src/core/System/util/zlib/ZDeflaterOutputStream.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* $Id$
55
*
66
* This file is part of the iText project.
7-
* Copyright (c) 1998-2015 iText Group NV
7+
* Copyright (c) 1998-2016 iText Group NV
88
* Authors: Bruno Lowagie, Paulo Soares, et al.
99
*
1010
* This program is free software; you can redistribute it and/or modify

src/core/System/util/zlib/ZInflaterInputStream.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* $Id$
55
*
66
* This file is part of the iText project.
7-
* Copyright (c) 1998-2015 iText Group NV
7+
* Copyright (c) 1998-2016 iText Group NV
88
* Authors: Bruno Lowagie, Paulo Soares, et al.
99
*
1010
* This program is free software; you can redistribute it and/or modify

src/core/iTextSharp/awt/geom/AffineTransform.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* $Id$
33
*
44
* This file is part of the iText (R) project.
5-
* Copyright (c) 1998-2015 iText Group NV
5+
* Copyright (c) 1998-2016 iText Group NV
66
* Authors: Bruno Lowagie, Paulo Soares, et al.
77
*
88
* This program is free software; you can redistribute it and/or modify

src/core/iTextSharp/awt/geom/Point.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* $Id$
33
*
44
* This file is part of the iText (R) project.
5-
* Copyright (c) 1998-2015 iText Group NV
5+
* Copyright (c) 1998-2016 iText Group NV
66
* Authors: Bruno Lowagie, Paulo Soares, et al.
77
*
88
* This program is free software; you can redistribute it and/or modify

src/core/iTextSharp/awt/geom/Point2D.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* $Id$
33
*
44
* This file is part of the iText (R) project.
5-
* Copyright (c) 1998-2015 iText Group NV
5+
* Copyright (c) 1998-2016 iText Group NV
66
* Authors: Bruno Lowagie, Paulo Soares, et al.
77
*
88
* This program is free software; you can redistribute it and/or modify

src/core/iTextSharp/testutils/CompareTool.cs

Lines changed: 34 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
using System.util;
77
/*
88
* $Id: CompareTool.cs 318 2012-02-27 22:46:07Z eugenemark $
9-
*
9+
*
1010
*
1111
* This file is part of the iText project.
12-
* Copyright (c) 1998-2015 iText Group NV
12+
* Copyright (c) 1998-2016 iText Group NV
1313
* Authors: Bruno Lowagie, Paulo Soares, et al.
1414
*
1515
* This program is free software; you can redistribute it and/or modify
@@ -443,7 +443,7 @@ private String Compare(String outPath, String differenceImagePrefix, IDictionary
443443
Process p = new Process();
444444
p.StartInfo.FileName = @gsExec;
445445
p.StartInfo.Arguments = @gsParams;
446-
p.StartInfo.UseShellExecute = false;
446+
p.StartInfo.UseShellExecute = false;
447447
p.StartInfo.RedirectStandardError = true;
448448
p.StartInfo.RedirectStandardOutput = true;
449449
p.StartInfo.CreateNoWindow = true;
@@ -525,7 +525,7 @@ private String Compare(String outPath, String differenceImagePrefix, IDictionary
525525
".png for more details.";
526526
} else {
527527
differentPagesFail =
528-
"File " + outPdf + " differs.\nPlease, examine difference images for more details.";
528+
"File " + outPdf + " differs.\nPlease, examine difference images for more details.";
529529
}
530530
}
531531
else
@@ -841,11 +841,11 @@ private bool CompareDictionariesExtended(PdfDictionary outDict, PdfDictionary cm
841841
return dictsAreSame;
842842
}
843843

844-
public bool ÑompareContentStreamsByParsing(PdfObject outObj, PdfObject cmpObj) {
844+
public bool CompareContentStreamsByParsing(PdfObject outObj, PdfObject cmpObj) {
845845
return CompareContentStreamsByParsingExtended(outObj, cmpObj, null, null, null, null);
846846
}
847847

848-
public bool ÑompareContentStreamsByParsing(PdfObject outObj, PdfObject cmpObj, PdfDictionary outResources, PdfDictionary cmpResources) {
848+
public bool CompareContentStreamsByParsing(PdfObject outObj, PdfObject cmpObj, PdfDictionary outResources, PdfDictionary cmpResources) {
849849
return CompareContentStreamsByParsingExtended(outObj, cmpObj, outResources, cmpResources, null, null);
850850
}
851851

@@ -895,7 +895,7 @@ private bool CompareContentStreamsByParsingExtended(PdfObject outObj, PdfObject
895895
outResources = (PdfDictionary) outStr.GetDirectObject(PdfName.RESOURCES);
896896
cmpResources = (PdfDictionary) cmpStr.GetDirectObject(PdfName.RESOURCES);
897897
}
898-
if (!ÑompareInlineImagesExtended(outPs, cmpPs, outResources, cmpResources, currentPath, compareResult)) {
898+
if (!CompareInlineImagesExtended(outPs, cmpPs, outResources, cmpResources, currentPath, compareResult)) {
899899
return false;
900900
}
901901
continue;
@@ -909,7 +909,7 @@ private bool CompareContentStreamsByParsingExtended(PdfObject outObj, PdfObject
909909
return true;
910910
}
911911

912-
private bool ÑompareInlineImagesExtended(PdfContentParser outPs, PdfContentParser cmpPs, PdfDictionary outDict, PdfDictionary cmpDict, ObjectPath currentPath, CompareResult compareResult) {
912+
private bool CompareInlineImagesExtended(PdfContentParser outPs, PdfContentParser cmpPs, PdfDictionary outDict, PdfDictionary cmpDict, ObjectPath currentPath, CompareResult compareResult) {
913913
InlineImageInfo cmpInfo = InlineImageUtils.ParseInlineImage(cmpPs, cmpDict);
914914
InlineImageInfo outInfo = InlineImageUtils.ParseInlineImage(outPs, outDict);
915915
return CompareObjects(outInfo.ImageDictionary, cmpInfo.ImageDictionary, currentPath, compareResult) &&
@@ -1096,7 +1096,31 @@ private bool CompareBooleansExtended(PdfBoolean outBoolean, PdfBoolean cmpBoolea
10961096
return false;
10971097
}
10981098
}
1099-
1099+
1100+
public String CompareXmp(byte[] xmp1, byte[] xmp2)
1101+
{
1102+
throw new NotImplementedException("Comparing xmls hasn't implemented");
1103+
}
1104+
1105+
public String CompareXmp(byte[] xmp1, byte[] xmp2, bool ignoreDateAndProducerProperties)
1106+
{
1107+
throw new NotImplementedException("Comparing xmls hasn't implemented");
1108+
}
1109+
1110+
public String CompareXmp(String outPdf, String cmpPdf)
1111+
{
1112+
throw new NotImplementedException("Comparing xmls hasn't implemented");
1113+
}
1114+
1115+
public String CompareXmp(String outPdf, String cmpPdf, bool ignoreDateAndProducerProperties)
1116+
{
1117+
throw new NotImplementedException("Comparing xmls hasn't implemented");
1118+
}
1119+
1120+
public bool CompareXmls(byte[] xml1, byte[] xml2) {
1121+
throw new NotImplementedException("Comparing xmls in c# hasn't implemented yet. We don't want to make references to external libraries.");
1122+
}
1123+
11001124
private void Init(String outPdf, String cmpPdf) {
11011125
this.outPdf = outPdf;
11021126
this.cmpPdf = cmpPdf;
@@ -1158,7 +1182,7 @@ public virtual String CompareDocumentInfo(String outPdf, String cmpPdf) {
11581182
return message;
11591183
}
11601184

1161-
1185+
11621186

11631187
private bool LinksAreSame(PdfAnnotation.PdfImportedLink cmpLink, PdfAnnotation.PdfImportedLink outLink) {
11641188
// Compare link boxes, page numbers the links refer to, and simple parameters (non-indirect, non-arrays, non-dictionaries)

src/core/iTextSharp/testutils/ITextTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* $Id$
33
*
44
* This file is part of the iText (R) project.
5-
* Copyright (c) 1998-2015 iText Group NV
5+
* Copyright (c) 1998-2016 iText Group NV
66
* Authors: Bruno Lowagie, Paulo Soares, et al.
77
*
88
* This program is free software; you can redistribute it and/or modify

src/core/iTextSharp/text/AccessibleElementId.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* $Id$
33
*
44
* This file is part of the iText (R) project.
5-
* Copyright (c) 1998-2015 iText Group NV
5+
* Copyright (c) 1998-2016 iText Group NV
66
* Authors: Bruno Lowagie, Paulo Soares, et al.
77
*
88
* This program is free software; you can redistribute it and/or modify

src/core/iTextSharp/text/Anchor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* This file is part of the iText project.
13-
* Copyright (c) 1998-2015 iText Group NV
13+
* Copyright (c) 1998-2016 iText Group NV
1414
* Authors: Bruno Lowagie, Paulo Soares, et al.
1515
*
1616
* This program is free software; you can redistribute it and/or modify

src/core/iTextSharp/text/Annotation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* This file is part of the iText project.
11-
* Copyright (c) 1998-2015 iText Group NV
11+
* Copyright (c) 1998-2016 iText Group NV
1212
* Authors: Bruno Lowagie, Paulo Soares, et al.
1313
*
1414
* This program is free software; you can redistribute it and/or modify

src/core/iTextSharp/text/BadElementException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
*
77
* This file is part of the iText project.
8-
* Copyright (c) 1998-2015 iText Group NV
8+
* Copyright (c) 1998-2016 iText Group NV
99
* Authors: Bruno Lowagie, Paulo Soares, et al.
1010
*
1111
* This program is free software; you can redistribute it and/or modify

src/core/iTextSharp/text/BaseColor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* $Id$
44
*
55
* This file is part of the iText project.
6-
* Copyright (c) 1998-2015 iText Group NV
6+
* Copyright (c) 1998-2016 iText Group NV
77
* Authors: Bruno Lowagie, Paulo Soares, et al.
88
*
99
* This program is free software; you can redistribute it and/or modify

src/core/iTextSharp/text/Chapter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* This file is part of the iText project.
11-
* Copyright (c) 1998-2015 iText Group NV
11+
* Copyright (c) 1998-2016 iText Group NV
1212
* Authors: Bruno Lowagie, Paulo Soares, et al.
1313
*
1414
* This program is free software; you can redistribute it and/or modify

src/core/iTextSharp/text/ChapterAutoNumber.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
/*
55
* This file is part of the iText project.
6-
* Copyright (c) 1998-2015 iText Group NV
6+
* Copyright (c) 1998-2016 iText Group NV
77
* Authors: Bruno Lowagie, Paulo Soares, et al.
88
*
99
* This program is free software; you can redistribute it and/or modify

src/core/iTextSharp/text/Chunk.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
*
1414
* This file is part of the iText project.
15-
* Copyright (c) 1998-2015 iText Group NV
15+
* Copyright (c) 1998-2016 iText Group NV
1616
* Authors: Bruno Lowagie, Paulo Soares, et al.
1717
*
1818
* This program is free software; you can redistribute it and/or modify

src/core/iTextSharp/text/DocWriter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* This file is part of the iText project.
11-
* Copyright (c) 1998-2015 iText Group NV
11+
* Copyright (c) 1998-2016 iText Group NV
1212
* Authors: Bruno Lowagie, Paulo Soares, et al.
1313
*
1414
* This program is free software; you can redistribute it and/or modify

src/core/iTextSharp/text/Document.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* This file is part of the iText project.
12-
* Copyright (c) 1998-2015 iText Group NV
12+
* Copyright (c) 1998-2016 iText Group NV
1313
* Authors: Bruno Lowagie, Paulo Soares, et al.
1414
*
1515
* This program is free software; you can redistribute it and/or modify

src/core/iTextSharp/text/DocumentException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
*
77
* This file is part of the iText project.
8-
* Copyright (c) 1998-2015 iText Group NV
8+
* Copyright (c) 1998-2016 iText Group NV
99
* Authors: Bruno Lowagie, Paulo Soares, et al.
1010
*
1111
* This program is free software; you can redistribute it and/or modify

src/core/iTextSharp/text/Element.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
*
77
* This file is part of the iText project.
8-
* Copyright (c) 1998-2015 iText Group NV
8+
* Copyright (c) 1998-2016 iText Group NV
99
* Authors: Bruno Lowagie, Paulo Soares, et al.
1010
*
1111
* This program is free software; you can redistribute it and/or modify

src/core/iTextSharp/text/Font.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* This file is part of the iText project.
11-
* Copyright (c) 1998-2015 iText Group NV
11+
* Copyright (c) 1998-2016 iText Group NV
1212
* Authors: Bruno Lowagie, Paulo Soares, et al.
1313
*
1414
* This program is free software; you can redistribute it and/or modify

src/core/iTextSharp/text/FontFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* This file is part of the iText project.
13-
* Copyright (c) 1998-2015 iText Group NV
13+
* Copyright (c) 1998-2016 iText Group NV
1414
* Authors: Bruno Lowagie, Paulo Soares, et al.
1515
*
1616
* This program is free software; you can redistribute it and/or modify

0 commit comments

Comments
 (0)