Skip to content

Commit

Permalink
[RELEASE] iText 8.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
iText-CI committed Jul 12, 2024
2 parents 5e81e0b + 9684221 commit b1f539d
Show file tree
Hide file tree
Showing 1,107 changed files with 25,713 additions and 3,912 deletions.
4 changes: 2 additions & 2 deletions doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ DOXYFILE_ENCODING = UTF-8
# title of most generated pages and in a few other places.
# The default value is: My Project.

PROJECT_NAME = "iText 8.0.4 API"
PROJECT_NAME = "iText 8.0.5 API"

# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
# could be handy for archiving the generated documentation or if some version
Expand Down Expand Up @@ -485,7 +485,7 @@ EXTRACT_PRIV_VIRTUAL = NO
# scope will be included in the documentation.
# The default value is: NO.

EXTRACT_PACKAGE = NO
EXTRACT_PACKAGE = YES

# If the EXTRACT_STATIC tag is set to YES, all static members of a file will be
# included in the documentation.
Expand Down
6 changes: 3 additions & 3 deletions itext.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata>
<id>itext</id>
<version>8.0.4</version>
<version>8.0.5</version>
<title>iText Community</title>
<authors>Apryse Software</authors>
<owners>Apryse Software</owners>
Expand All @@ -19,11 +19,11 @@
<repository type="git" url="https://github.com/itext/itext7-dotnet.git" />
<dependencies>
<group targetFramework="net461">
<dependency id="itext.commons" version="8.0.4" />
<dependency id="itext.commons" version="8.0.5" />
<dependency id="Microsoft.Extensions.Logging" version="5.0.0" />
</group>
<group targetFramework="netstandard2.0">
<dependency id="itext.commons" version="8.0.4" />
<dependency id="itext.commons" version="8.0.5" />
<dependency id="Microsoft.Extensions.Logging" version="5.0.0" />
<dependency id="System.Diagnostics.Process" version="4.3.0" />
<dependency id="System.Globalization.Extensions" version="4.3.0" />
Expand Down
6 changes: 3 additions & 3 deletions itext.tests/itext.barcodes.tests/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

[assembly: Guid("d015a3aa-613c-45d9-b908-7d47c4b613af")]

[assembly: AssemblyVersion("8.0.4.0")]
[assembly: AssemblyFileVersion("8.0.4.0")]
[assembly: AssemblyInformationalVersion("8.0.4")]
[assembly: AssemblyVersion("8.0.5.0")]
[assembly: AssemblyFileVersion("8.0.5.0")]
[assembly: AssemblyInformationalVersion("8.0.5")]

#if !NETSTANDARD2_0
[assembly: NUnit.Framework.Timeout(300000)]
Expand Down
6 changes: 3 additions & 3 deletions itext.tests/itext.commons.tests/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

[assembly: Guid("502eda37-c014-4822-8e5c-4e5d21b085e9")]

[assembly: AssemblyVersion("8.0.4.0")]
[assembly: AssemblyFileVersion("8.0.4.0")]
[assembly: AssemblyInformationalVersion("8.0.4")]
[assembly: AssemblyVersion("8.0.5.0")]
[assembly: AssemblyFileVersion("8.0.5.0")]
[assembly: AssemblyInformationalVersion("8.0.5")]

#if !NETSTANDARD2_0
[assembly: NUnit.Framework.Timeout(300000)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,15 @@ public virtual void GetEventsTest() {
));
}

//\cond DO_NOT_DOCUMENT
internal class TestAbstractITextConfigurationEvent : AbstractITextConfigurationEvent {
protected internal override void DoAction() {
}
// Empty method.
}
//\endcond

//\cond DO_NOT_DOCUMENT
internal class TestAbstractProductProcessITextEvent : AbstractProductProcessITextEvent {
public TestAbstractProductProcessITextEvent()
: base(new SequenceId(), new ProductData("test public product name", "test product name", "test version",
Expand All @@ -122,7 +125,9 @@ public override String GetEventType() {
return "test event type";
}
}
//\endcond

//\cond DO_NOT_DOCUMENT
internal class TestITextProductEventProcessor : ITextProductEventProcessor {
public virtual void OnEvent(AbstractProductProcessITextEvent @event) {
}
Expand All @@ -140,5 +145,6 @@ public virtual String GetProducer() {
return "test producer";
}
}
//\endcond
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,18 @@ public virtual void CreateStatisticsAggregatorFromNameTest() {
NUnit.Framework.Assert.IsNull(dummyEvent.CreateStatisticsAggregatorFromName("statisticsName"));
}

//\cond DO_NOT_DOCUMENT
internal class DummyStatisticsEvent : AbstractStatisticsEvent {
//\cond DO_NOT_DOCUMENT
internal DummyStatisticsEvent(ProductData data)
: base(data) {
}
//\endcond

public override IList<String> GetStatisticsNames() {
return null;
}
}
//\endcond
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public TestDefaultITextProductEventProcessor()
: base("test product") {
}

//\cond DO_NOT_DOCUMENT
internal override long AcquireRepeatLevel(int lvl) {
switch (lvl) {
case 0: {
Expand All @@ -87,6 +88,7 @@ internal override long AcquireRepeatLevel(int lvl) {
}
return 0;
}
//\endcond
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,39 @@ public virtual void UnknownPlaceHoldersTest() {
NUnit.Framework.Assert.AreEqual("||", newProducerLine);
}

[NUnit.Framework.Test]
public virtual void ModifiedUsingEqualsCurrentProducerTest() {
IList<ConfirmedEventWrapper> events = GetEvents("some Author", 1, 2, 3);
String newProducerLine = ProducerBuilder.ModifyProducer(events, "Old producer; modified using some Author"
);
NUnit.Framework.Assert.AreEqual("Old producer; modified using some Author", newProducerLine);
}

[NUnit.Framework.Test]
public virtual void PrevModifiedUsingEqualsCurrentProducerTest() {
IList<ConfirmedEventWrapper> events = GetEvents("some Author", 1, 2, 3);
String newProducerLine = ProducerBuilder.ModifyProducer(events, "Old producer; modified using some Author; modified using another tool"
);
NUnit.Framework.Assert.AreEqual("Old producer; modified using some Author; modified using another tool; "
+ "modified using some Author", newProducerLine);
}

[NUnit.Framework.Test]
public virtual void SeveralModifiedUsingEqualsCurrentProducerTest() {
IList<ConfirmedEventWrapper> events = GetEvents("some Author", 1, 2, 3);
String newProducerLine = ProducerBuilder.ModifyProducer(events, "Old producer; modified using some Author; modified using some Author"
);
NUnit.Framework.Assert.AreEqual("Old producer; modified using some Author; modified using some Author", newProducerLine
);
}

[NUnit.Framework.Test]
public virtual void OldProducerEqualsCurrentProducerTest() {
IList<ConfirmedEventWrapper> events = GetEvents("some Author", 1, 2, 3);
String newProducerLine = ProducerBuilder.ModifyProducer(events, "some Author");
NUnit.Framework.Assert.AreEqual("some Author", newProducerLine);
}

private IList<ConfirmedEventWrapper> GetEvents(String initialProducerLine, params int[] indexes) {
IList<ConfirmedEventWrapper> events = new List<ConfirmedEventWrapper>();
for (int ind = 0; ind < indexes.Length; ind++) {
Expand Down
6 changes: 3 additions & 3 deletions itext.tests/itext.forms.tests/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

[assembly: Guid("6fe2f714-6b3e-4b20-8c70-28bfce084ed2")]

[assembly: AssemblyVersion("8.0.4.0")]
[assembly: AssemblyFileVersion("8.0.4.0")]
[assembly: AssemblyInformationalVersion("8.0.4")]
[assembly: AssemblyVersion("8.0.5.0")]
[assembly: AssemblyFileVersion("8.0.5.0")]
[assembly: AssemblyInformationalVersion("8.0.5")]

#if !NETSTANDARD2_0
[assembly: NUnit.Framework.Timeout(300000)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,14 @@ public static void BeforeClass() {
CreateOrClearDestinationFolder(destinationFolder);
}

//\cond DO_NOT_DOCUMENT
// Custom entry in Info dictionary is used because standard entried are gone into metadata in PDF 2.0
internal const String customInfoEntryKey = "Custom";
//\endcond

//\cond DO_NOT_DOCUMENT
internal const String customInfoEntryValue = "String";
//\endcond

[NUnit.Framework.Test]
[LogMessage(KernelLogMessageConstant.MD5_IS_NOT_FIPS_COMPLIANT, Ignore = true)]
Expand Down
6 changes: 6 additions & 0 deletions itext.tests/itext.forms.tests/itext/forms/PdfFormFieldTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1586,21 +1586,26 @@ public virtual void PdfWithSignatureAndFontInBuilderFieldTest() {
, destinationFolder, "diff_"));
}

//\cond DO_NOT_DOCUMENT
internal class CustomButtonFormField : PdfButtonFormField {
private int counter = 0;

//\cond DO_NOT_DOCUMENT
internal CustomButtonFormField(PdfDocument pdfDocument, String formFieldName)
: base(pdfDocument) {
SetPushButton(true);
SetFieldName(formFieldName);
}
//\endcond

//\cond DO_NOT_DOCUMENT
internal CustomButtonFormField(PdfWidgetAnnotation annotation, PdfDocument pdfDocument, String formFieldName
)
: base(annotation, pdfDocument) {
SetPushButton(true);
SetFieldName(formFieldName);
}
//\endcond

public virtual int GetCounter() {
return counter;
Expand All @@ -1614,5 +1619,6 @@ public override bool RegenerateField() {
return isRegenerated;
}
}
//\endcond
}
}
Loading

0 comments on commit b1f539d

Please sign in to comment.