Skip to content

Commit 9af0c8e

Browse files
committed
[RELEASE] iText 7 Core - 7.1.9
https://github.com/itext/itext7/releases/tag/7.1.9 * release/7.1.9: [RELEASE] 7.1.9-SNAPSHOT -> 7.1.9 Deprecate PdfRichMediaAnnotation class Exclude internal classes from public javadocs. Remove subpackages from the root pom file. Improve javadoc of xfdf object classes. Add new strokeWidthMeasureUnitsTest and refactor test Add missing copyright headers Remove PdfRootSvgNodeRendererUnitTest Fix preserveAspectRatio application Refactor javadoc in CommonCssConstants Add missing copyright headers Add tests to cover Transform Add tests to the setModified method Extend some iTextCore test classes Add a setter to the modified flag. Update PdfCanvas javadocs Improve event counter documentation. Add LineArrow name constant Extend iTextCore test classes Prevent font comparison from throwing NPE. Add some new DeviceRgb tests. Allow overriding default font family easier for BasicFontProvider Fix single line comments. Add test on infinite loop during table creating in layout Move most of CssStyleSheetParserTest from pdfHTML to SXP Add unvalidUrlFillTest Replace recursion with while-cycle in readXrefStream Rename PdfDocument.addFileAttachment() argument Add checkParentTreeIfFormXObjectTaggedTest Add stampingFormXobjectInnerContentTaggedTest Add missing copyright headers Deprecate CSS redundant rule class constructors that are more flexible than CSS specification Fix CssFontFaceRule#toString() to produce valid CSS Add ToDo remark Update resource file in svg module Introduce tests for FontCache, fix ByteCid AbstractCmap implementation Remove excess comment Change test TODO description Fix rereading of released objects from object streams Add mSungLightFontRanges test. DEVSIX-3349 Add new LayoutTaggingTest(not ASCII chart) Add missing copyright headers Add new test demonstrating issue with glyph bbox calculation for Type 3 fonts when parsing content stream Add unit test for CssPseudoClassEmptySelectorItem class. DEVSIX-3310 Formatting tests in svg module Add missing copyright headers Move all multiline tests to a separate class Support autosize for multiline text fields Add shared page resources flushing test Add a test on cell's incorrect rotation. Update License.md for all AGPL products Refactor pseudo class tests code Add unit tests for CssPseudoClasses. DEVSIX-3310 Update VeraPDF validation model version to the new stable one. Add parse Double method with unit test. Add integration test for this. DEVSIX-2232 Remove redundant throws declaration from non-public API Deprecate PdfTokenizer#ReusableRandomAccessSource Add an explicit dependency on the VeraPdf core. Add missing copyright headers Add surrogate pairs tests. DEVSIX-3301 Fix XfdfWriter and XfdfReader tests. Add assert for null in PdfString Change VeraPDF validation model version. Improve list javadocs. Other minor improvements. Fix DM_DEFAULT_ENCODING SpotBugs warnings in forms module Add test Add createFieldInAppendModeTest Improve 3D borders documentation to omit links to private fields. Fix the way how we pass isOriginalNonSplitRenderer to child renderers. Move VeraPDF validator to pdfTest module Fix TextRenderInfo#getSingleSpaceWidth result when font doesn't specify space character width Upload spotbugs report to SonarQube Run spotbugs by default but not fail on error Improve javadocs which cause shapen warnings. Refactor javadocs to omit usage of closing p tag. Add missing copyright headers Cover WebColors with tests Refactor equals() literal comparison Add test Refactor some default TableRenderer methods. Add a test for creating PDF/A document with layout list Fix javadocs warnings in kernel module Make sure FileUtil files listing methods sort lists in case sensitive manner regardless of OS Refactor equals() when literal string is a parameter Add test Add missing copyright headers Reduce cyclomatic complexity for TableRenderer, TableWidths, ParagraphRenderer Add missing copyright headers Cover PdfDashPattern and PdfTextArrayTest with tests Update ToDo remarks Remove 7.0 related branches from Jenkinsfile Fix DM_DEFAULT_ENCODING spotbugs issues Fix methods documentation Fix inline comments in barcodes, forms and io Clarify some javadocs Fix miscellaneous javadoc errors in kernel module Fix resource file path case in PdfA2LayoutOcgTest [RELEASE] Update dependency versions Add missing copyright headers Refactor clone() implementations Add comments regarding ecnryption algorithms Add missing copyright headers Move core tests. DEVSIX-3035 Refactor test Remove excessive cmp file. appendModeAppearance test has been adjusted Refactor equals() when string literal is a parameter Add missing copyright headers Extract DeterminatorIsZero exception message Add unit tests for GreekAlphabetNumbering Update comments placing Add test for PdfADocument with END_PAGE event Add missing copyright headers Fix processing floating renderers when base direction is set explicitly Refactor comments in layout; merge two if to one, substitute checking if list is empty by using isEmpty()
2 parents 98294ec + ca8a076 commit 9af0c8e

File tree

1,223 files changed

+51227
-43593
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,223 files changed

+51227
-43593
lines changed

Jenkinsfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ pipeline {
6161
steps {
6262
withMaven(jdk: "${JDK_VERSION}", maven: 'M3', mavenLocalRepo: '.repository') {
6363
withSonarQubeEnv('Sonar') {
64-
sh 'mvn --activate-profiles test -DgsExec="${gsExec}" -DcompareExec="${compareExec}" -Dmaven.test.skip=false -Dmaven.test.failure.ignore=false -Dmaven.javadoc.skip=true org.jacoco:jacoco-maven-plugin:prepare-agent verify org.jacoco:jacoco-maven-plugin:report sonar:sonar ' + sonarBranchName + ' ' + sonarBranchTarget
64+
sh 'mvn --activate-profiles test -DgsExec="${gsExec}" -DcompareExec="${compareExec}" -Dmaven.test.skip=false -Dmaven.test.failure.ignore=false -Dmaven.javadoc.skip=true org.jacoco:jacoco-maven-plugin:prepare-agent verify org.jacoco:jacoco-maven-plugin:report -Dsonar.java.spotbugs.reportPaths="target/spotbugs.xml" sonar:sonar ' + sonarBranchName + ' ' + sonarBranchTarget
6565
}
6666
}
6767
}
@@ -91,8 +91,6 @@ pipeline {
9191
anyOf {
9292
branch "master"
9393
branch "develop"
94-
branch "7.0"
95-
branch "7.0-master"
9694
}
9795
}
9896
steps {

LICENSE.md

Lines changed: 13 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,16 @@
1-
This program is free software; you can redistribute it and/or modify
2-
it under the terms of the GNU Affero General Public License version 3
3-
as published by the Free Software Foundation with the addition of the
4-
following permission added to Section 15 as permitted in Section 7(a):
5-
FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
6-
ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
7-
OF THIRD PARTY RIGHTS
1+
This program is offered under a commercial and under the AGPL license.
2+
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
83

9-
This program is distributed in the hope that it will be useful, but
10-
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11-
or FITNESS FOR A PARTICULAR PURPOSE.
12-
See the GNU Affero General Public License for more details.
13-
You should have received a copy of the GNU Affero General Public License
14-
along with this program; if not, see http://www.gnu.org/licenses or write to
15-
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16-
Boston, MA, 02110-1301 USA, or download the license from the following URL:
17-
http://itextpdf.com/terms-of-use/
18-
19-
The interactive user interfaces in modified source and object code versions
20-
of this program must display Appropriate Legal Notices, as required under
21-
Section 5 of the GNU Affero General Public License.
4+
AGPL licensing:
5+
This program is free software: you can redistribute it and/or modify
6+
it under the terms of the GNU Affero General Public License as published by
7+
the Free Software Foundation, either version 3 of the License, or
8+
(at your option) any later version.
229

23-
In accordance with Section 7(b) of the GNU Affero General Public License,
24-
a covered work must retain the producer line in every PDF that is created
25-
or manipulated using iText.
10+
This program is distributed in the hope that it will be useful,
11+
but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
GNU Affero General Public License for more details.
2614

27-
You can be released from the requirements of the license by purchasing
28-
a commercial license. Buying such a license is mandatory as soon as you
29-
develop commercial activities involving the iText software without
30-
disclosing the source code of your own applications.
31-
These activities include: offering paid services to customers as an ASP,
32-
serving PDFs on the fly in a web application, shipping iText with a closed
33-
source product.
34-
35-
For more information, please contact iText Software Corp. at this
36-
15+
You should have received a copy of the GNU Affero General Public License
16+
along with this program. If not, see <https://www.gnu.org/licenses/>.

barcodes/findbugs-filter.xml

Lines changed: 0 additions & 62 deletions
This file was deleted.

barcodes/pom.xml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.itextpdf</groupId>
66
<artifactId>root</artifactId>
7-
<version>7.1.8</version>
7+
<version>7.1.9</version>
88
</parent>
99
<artifactId>barcodes</artifactId>
1010
<name>iText 7 - barcodes</name>
@@ -24,16 +24,6 @@
2424
</dependencies>
2525
<build>
2626
<plugins>
27-
<plugin>
28-
<groupId>com.github.spotbugs</groupId>
29-
<artifactId>spotbugs-maven-plugin</artifactId>
30-
<version>${spotbugs.version}</version>
31-
<configuration>
32-
<threshold>High</threshold>
33-
<failOnError>true</failOnError>
34-
<excludeFilterFile>findbugs-filter.xml</excludeFilterFile>
35-
</configuration>
36-
</plugin>
3727
<plugin>
3828
<groupId>org.apache.maven.plugins</groupId>
3929
<artifactId>maven-failsafe-plugin</artifactId>

barcodes/src/main/java/com/itextpdf/barcodes/BarcodeCodabar.java

Lines changed: 60 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -64,26 +64,66 @@ public class BarcodeCodabar extends Barcode1D {
6464
*/
6565
private static final byte[][] BARS =
6666
{
67-
{0, 0, 0, 0, 0, 1, 1}, // 0
68-
{0, 0, 0, 0, 1, 1, 0}, // 1
69-
{0, 0, 0, 1, 0, 0, 1}, // 2
70-
{1, 1, 0, 0, 0, 0, 0}, // 3
71-
{0, 0, 1, 0, 0, 1, 0}, // 4
72-
{1, 0, 0, 0, 0, 1, 0}, // 5
73-
{0, 1, 0, 0, 0, 0, 1}, // 6
74-
{0, 1, 0, 0, 1, 0, 0}, // 7
75-
{0, 1, 1, 0, 0, 0, 0}, // 8
76-
{1, 0, 0, 1, 0, 0, 0}, // 9
77-
{0, 0, 0, 1, 1, 0, 0}, // -
78-
{0, 0, 1, 1, 0, 0, 0}, // $
79-
{1, 0, 0, 0, 1, 0, 1}, // :
80-
{1, 0, 1, 0, 0, 0, 1}, // /
81-
{1, 0, 1, 0, 1, 0, 0}, // .
82-
{0, 0, 1, 0, 1, 0, 1}, // +
83-
{0, 0, 1, 1, 0, 1, 0}, // a
84-
{0, 1, 0, 1, 0, 0, 1}, // b
85-
{0, 0, 0, 1, 0, 1, 1}, // c
86-
{0, 0, 0, 1, 1, 1, 0} // d
67+
68+
// 0
69+
{0, 0, 0, 0, 0, 1, 1},
70+
71+
// 1
72+
{0, 0, 0, 0, 1, 1, 0},
73+
74+
// 2
75+
{0, 0, 0, 1, 0, 0, 1},
76+
77+
// 3
78+
{1, 1, 0, 0, 0, 0, 0},
79+
80+
// 4
81+
{0, 0, 1, 0, 0, 1, 0},
82+
83+
// 5
84+
{1, 0, 0, 0, 0, 1, 0},
85+
86+
// 6
87+
{0, 1, 0, 0, 0, 0, 1},
88+
89+
// 7
90+
{0, 1, 0, 0, 1, 0, 0},
91+
92+
// 8
93+
{0, 1, 1, 0, 0, 0, 0},
94+
95+
// 9
96+
{1, 0, 0, 1, 0, 0, 0},
97+
98+
// -
99+
{0, 0, 0, 1, 1, 0, 0},
100+
101+
// $
102+
{0, 0, 1, 1, 0, 0, 0},
103+
104+
// :
105+
{1, 0, 0, 0, 1, 0, 1},
106+
107+
// /
108+
{1, 0, 1, 0, 0, 0, 1},
109+
110+
// .
111+
{1, 0, 1, 0, 1, 0, 0},
112+
113+
// +
114+
{0, 0, 1, 0, 1, 0, 1},
115+
116+
// a
117+
{0, 0, 1, 1, 0, 1, 0},
118+
119+
// b
120+
{0, 1, 0, 1, 0, 0, 1},
121+
122+
// c
123+
{0, 0, 0, 1, 0, 1, 1},
124+
125+
// d
126+
{0, 0, 0, 1, 1, 1, 0}
87127
};
88128

89129
/**

0 commit comments

Comments
 (0)