Skip to content

Commit a24ac93

Browse files
committed
[RELEASE] iText 7 Core - 7.1.10
https://github.com/itext/itext7/releases/tag/7.1.10 * release/7.1.10: [RELEASE] 7.1.10-SNAPSHOT -> 7.1.10 Fix link to RUPS: it should point to RUPS 7 instead of RUPS 5 License scheduled check for kernel Remove obsolete todo from PdfFormFieldTest Unignore DirectoryTableOrder002Test, FontFaceTest methods Improve compression tests Add setting a modidied flag for indirect arrays Add test for the bug in processing preserveAspectRatio for markers Add check that PdfAPage can be flushed Make BouncyCastle dependencies non-optional Add missing copyright headers Refactor SvgLogMessageConstant Add markers support Fix woff2 converting method Add missing copyright headers Add tests demonstrating problems with annotation relationship incorrectly transferred during copying Update years in copyrights Add documentation to PdfReader#setMemorySavingMode() Don't run OWASP dependency check twice Run package phase for faster Artifactory deploy Avoid using Assert.assertSame for enums and primitive types Marked cleanup constants as deprecated Use double type for better precision in local calculations in SVG and SXP Upgrade logback dependency Add OWASP dependency check Add PdfCanvasInlineImagesTest and InlineImageExtractionTest Support reading only one page Fix javadocs of CompareTool Add -Test postfix to a test Change in Jenkinsfile to upload the artifacts for branches different from develop and master to branch artifacts repo Change PdfFormField regeneration methods Add missing copyright headers Add setting of the 'modified' flag when modifying acroform Add missing copyright headers Add FloatImageTest and FloatBlockTest classes(from samples-internal repo) Update Bouncy Castle version Add test on the viewBox x, y values Add test on preserveAspectRatio for element with x,y offset Do not trim leading spaces in single line and multiline text fields Update test search wildcard expression so that all the files are picked up Add test category Deprecate IdelOutputStream. Add checks that Pdf Document has been completely read to the PdfReader. Add missing copyright headers Add tests on "overflow" attribute in svg Change HashMap to LinkedHashMap. Add test. Make the LogListener save previously added log appenders. Add addPngImageIndexedColorspaceTest Move tests from samples-internal repo Update veraPDF dependency to version 1.14.105 Fix up veraPDF report path generation Avoid reading page dictionaries in ParentTreeHandler.registerMcr() Make PdfDocument#tryInitTagStructure protected Add tests on FormXobject in tagged pdf Restructure mcr storage in ParentTreeHandler Improve pdf encryption documentation. [RELEASE] Update dependency versions Add missing copyright headers Add tests replaced from samples-internal repo Set default stroke width to 1 px Remove old ticket references Add missing copyright headers Move Xfdf message constants to XfdfException class Minor fixes in javadocs Resolve layout javadoc warnings
2 parents 9af0c8e + c10ed02 commit a24ac93

File tree

2,274 files changed

+11982
-3704
lines changed

Some content is hidden

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

2,274 files changed

+11982
-3704
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,4 @@ port-hash text eol=lf
5959
*.wmf binary
6060
*.woff binary
6161
*.woff2 binary
62+
*.dat binary

Jenkinsfile

Lines changed: 40 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ pipeline {
3939
}
4040
steps {
4141
withMaven(jdk: "${JDK_VERSION}", maven: 'M3', mavenLocalRepo: '.repository') {
42-
sh 'mvn clean'
42+
sh 'mvn --threads 2C clean'
4343
sh 'mvn dependency:purge-local-repository -Dinclude=com.itextpdf -DresolutionFuzziness=groupId -DreResolve=false'
4444
}
4545
}
@@ -50,7 +50,7 @@ pipeline {
5050
}
5151
steps {
5252
withMaven(jdk: "${JDK_VERSION}", maven: 'M3', mavenLocalRepo: '.repository') {
53-
sh 'mvn compile test-compile package -Dmaven.test.skip=true -Dmaven.javadoc.failOnError=false'
53+
sh 'mvn --threads 2C compile test-compile package -Dmaven.test.skip=true -Dmaven.javadoc.failOnError=false'
5454
}
5555
}
5656
}
@@ -99,11 +99,48 @@ pipeline {
9999
def rtMaven = Artifactory.newMavenBuild()
100100
rtMaven.deployer server: server, releaseRepo: 'releases', snapshotRepo: 'snapshot'
101101
rtMaven.tool = 'M3'
102-
def buildInfo = rtMaven.run pom: 'pom.xml', goals: 'install -Dmaven.test.skip=true -Dspotbugs.skip=true -Dmaven.javadoc.failOnError=false'
102+
def buildInfo = rtMaven.run pom: 'pom.xml', goals: 'package --threads 2C --offline -Dmaven.main.skip=true -Dmaven.test.skip=true -Dmaven.javadoc.failOnError=false'
103103
server.publishBuildInfo buildInfo
104104
}
105105
}
106106
}
107+
stage('Branch Artifactory Deploy') {
108+
options {
109+
timeout(time: 5, unit: 'MINUTES')
110+
}
111+
when {
112+
not {
113+
anyOf {
114+
branch "master"
115+
branch "develop"
116+
}
117+
}
118+
}
119+
steps {
120+
script {
121+
getAndConfigureJFrogCLI()
122+
if (env.GIT_URL) {
123+
repoName = ("${env.GIT_URL}" =~ /(.*\/)(.*)(\.git)/)[ 0 ][ 2 ]
124+
findFiles(glob: 'target/*.jar').each { item ->
125+
if (!(item ==~ /.*\/fb-contrib-.*?.jar/) && !(item ==~ /.*\/findsecbugs-plugin-.*?.jar/) && !(item ==~ /.*-sources.jar/) && !(item ==~ /.*-javadoc.jar/)) {
126+
sh "./jfrog rt u \"${item.path}\" branch-artifacts/${env.BRANCH_NAME}/${repoName}/java/ --recursive=false --build-name ${env.BRANCH_NAME} --build-number ${env.BUILD_NUMBER} --props \"vcs.revision=${env.GIT_COMMIT};repo.name=${repoName}\""
127+
}
128+
}
129+
findFiles(glob: '**/pom.xml').each { item ->
130+
def pomPath = item.path.replace('\\','/')
131+
if (!(pomPath ==~ /.*target.*/)) {
132+
def resPomName = "main.pom"
133+
def subDirMatcher = (pomPath =~ /^.*(?<=\/|^)(.*)\/pom\.xml/)
134+
if (subDirMatcher.matches()) {
135+
resPomName = "${subDirMatcher[ 0 ][ 1 ]}.pom"
136+
}
137+
sh "./jfrog rt u \"${item.path}\" branch-artifacts/${env.BRANCH_NAME}/${repoName}/java/${resPomName} --recursive=false --build-name ${env.BRANCH_NAME} --build-number ${env.BUILD_NUMBER} --props \"vcs.revision=${env.GIT_COMMIT};repo.name=${repoName}\""
138+
}
139+
}
140+
}
141+
}
142+
}
143+
}
107144
stage('Archive Artifacts') {
108145
options {
109146
timeout(time: 5, unit: 'MINUTES')

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ Contact [sales] for more info.
5252
[latest]: https://github.com/itext/itext7/releases/latest
5353
[sales]: https://itextpdf.com/sales
5454
[gratis]: https://en.wikipedia.org/wiki/Gratis_versus_libre
55-
[rups]: https://github.com/itext/rups
55+
[rups]: https://github.com/itext/i7j-rups
5656
[pdfhtml]: https://github.com/itext/i7j-pdfhtml
5757
[pdfsweep]: https://github.com/itext/i7j-pdfsweep

barcodes/pom.xml

Lines changed: 2 additions & 2 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.9</version>
7+
<version>7.1.10</version>
88
</parent>
99
<artifactId>barcodes</artifactId>
1010
<name>iText 7 - barcodes</name>
@@ -29,7 +29,7 @@
2929
<artifactId>maven-failsafe-plugin</artifactId>
3030
<configuration>
3131
<includes>
32-
<include>**/*Test.java</include>
32+
<include>**/*.java</include>
3333
</includes>
3434
<groups>${integrationtests}</groups>
3535
</configuration>

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

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

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

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

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

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

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

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

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

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

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

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

0 commit comments

Comments
 (0)