Skip to content

Commit

Permalink
[RELEASE] iText 7 Core - 7.1.12
Browse files Browse the repository at this point in the history
https://github.com/itext/itext7-dotnet/releases/tag/7.1.12

* release/7.1.12:
  [RELEASE] 7.1.12-SNAPSHOT -> 7.1.12
  Remove outdated TODOs in TableRenderer
  Fix ClipperBridge javadoc warnings
  Register pdfOcr events on kernel level. Treat inner namespaces in ContextManager correctly
  Remove TODOs in Lab and IccBased colors
  Add check for pdf names in pdfa
  Enable khmer and lao word wrapping
  Add missed doc for exceptions in xmp package
  Add color spots number check
  Update autoported files
  Set zero or negative size log message level to INFO for drawBackground method
  Fix javadoc warnings
  Deprecate svg node renderer mapper interface
  Fix javadoc for TIFFDirectory and TIFFField
  Add check for number values in pdfa module
  Add tests for table elements with HorizontalAlignment
  Add runProcessAndWait method overload and coresponding unit test
  Update message formatting in SvgConverterIntegrationTest
  Fix setup of integration tests.
  Fix unit tests failing with changed locale minus.
  Add check for length of arrays and dictionaries
  Add check for String lengths in PDFA module
  Remove ToDo in PdfA1GraphicsTest#transparencyCheckTest1()
  Add HEIGHT constant to CssDefaults
  Update autoported files
  Remove TODO from isiText5licenseLoaded method
  Add missing copyright headers
  Add calculating path and text bounding box in SVG
  Add tests for applying SVG linear gradient to different types of path elements
  Add PdfDocument as an argument for build linear gradient
  Update autoported files
  [RELEASE] Update dependency versions
  Update autoported files
  Add new PdfStreamTest class, new PdfStructTreeRootTest#severalSameElementsInStructTreeRootTest
  Fix several kernel/pdf/canvas javadoc warnings
  Add missing copyright headers
  Fix NullPointerException in AbstractRenderer class and update createXObject method
  Add missing copyright headers
  Add shorthand text decoration support
  Add convenience methods to increase and decrease widths of rectangle in chain
  Attach JIRA ticket to TODO in SvgConverterUnitTest
  Linear Gradient update to handle pad properly, Css gradient parsing fix, tests updates
  Fix problem with desc coordinates domain for gradient
  Add linear gradient support to ListStyleShorthandResolver class
  Add ticket references to TODO remarks
  Add missing copyright headers
  Special scripts word wrapping support
  Fix BUILDING.MD
  Add background image support for text elements for layout module
  Add test on bug with one coordinate in <tspan>
  Add SXP linear-gradient tests
  Improve several kernel/pdf javadocs
  Improve several kernel JavaDocs
  Add missing javadocs
  Fix PdfFileSpec javadoc warnings
  Add private constгuctor to PdfCanvasConstants to prevent instantation
  Add missing copyright headers
  Linear gradient logic
  Update autoported files
  Replace StreamWriter with FormattingStreamWriter
  Add test on marker parent issue
  Add check of marker x,y attributes
  Add test on resolving styles with relative units
  Change in Jenkinsfile to abort possible already running automatic builds
  Improve several javadocs in kernel module
  Fix javadoc for PdfWriter and ReaderProperties
  Update port-hash
  Add explicit cast
  Add resourcesCategoryDictionarySetModifiedTest and add minor improvements
  Fixing issue with font embedding in append mode
  Add ticket references to TODO-s
  Update port-hash
  Update notice file
  Fix javadoc warnings
  Add missing copyright headers
  Move WeirdCharactersTest from html2pdf
  Add exception if no previous shape for smooth curve specified
  Fix ptoblem with entries in cross-reference stream
  Adjust some tests in SvgStyleResolverIntegrationTest
  Update port-hash
  Fix several iTextCore javadoc issues
  Add check if order key presented to PDFA2 and PDFA3 validation
  Fix PdfViewerPreferences javadoc issues
  Add tests for kernel.pdf.collection package
  Add ticket references to toDo remarks
  Update ToDo remarks in TextSvgBranchRenderer
  Update CompareTool and fix float precision issues
  Add missing copyright headers
  Fix JavaDoc for pdf annotation classes
  Improve Style documentation and tests
  Remove ToDo
  Remove ToDo
  Remove obsolete toDo remark
  Fix an issue with splitRenderer having less content than needed when the result is NOTHING
  Add missing copyright headers
  Add new Pdf20SigningTest#signExistingFieldWhenDirectAcroformAndNoSigFlagTest
  Update port-hash
  Fix division by zero
  Add preserveAspectRatio support for images
  Delete TODO about pseudo-elements in SVG
  Minor Javadoc fix
  Remove obsolete toDo remark
  Add ticket references to toDos
  Always copy link annotation on draw
  Remove an unused cmp file
  Update port-hash
  Add new tests for creating entries for xref stream
  Update ToDo remark in BackgroundShorthandResolver
  Disallow removing flushed pages for tagged documents or documents with acroforms
  Log warnings in case we need to reset "full compression" setting in append mode
  Move, refactor merge tests from samples internal repository
  Add deprecated tag to TextRenderer JavaDoc
  Fix problem with numerous replaceSpecialWhitespaceGlyhs method calls
  Add test for not fitted footer in large table
  Document TableBorder's fields
  Introduce dedicated tests for axial and radial shadings
  Add missing copyright headers
  Add tests to improve code coverage
  Don't move the whole element to the next area in case its first children cannot be kept together
  Remove ToDo remark in PdfFormField#drawPdfA1CheckAppearance
  Fix large table split
  Add DEVSIX within todo remark
  Change comment
  Delete duplicate test
  Fix bug with text vertical alignment in choice fields
  Improve imagemagick constants
  Add DocumentSerializationTest class
  Optimize replaceSpecialWhitespaceGlyphs method
  Make image type validation more concise
  Deprecate unneeded size field in BmpImageData and associated constructors/creators
  Improve coverage on existing code
  Introduce ImageTypeDetector class for detecting image types from magic bytes
  Add missing copyright headers
  Add some TODO remarks related to COLLAPSING_MARGINS + KEEP_TOGETHER processing
  Introduce RootRendererStateHandler to process going back and forward.
  Improve tagging and processing of flushed waiting elements. Refactor storing mechanism
  Add tests which shows that floats work incorectly with KEEP_TOGETHER
  Improve ReplaceSpecialWhitespaceGlyphs method performance
  Discard builds depending on the branch in the Jenkinsfile
  Add new test to increase code coverage
  Add possibility to remove outlines in public API
  Update ToDo remarks in styled-xml-parser module
  Fix bug with glyph width for PdfType3Font
  Resolve RND todo remarks
  Remove obsolete TODOs
  Improve TIFFLZWDecoder JavaDoc
  Update TODO in svg
  Improve documentation for Path class
  Add missing copyright headers
  Add TextPreprocessingUtil class and unit test
  Add new tests
  Add JPXDecode image extracting test
  Improve LocationTextExtractionStrategyTest so that it could be ported automatically
  Reuse the same instance of ResourceResolver in SVG processing
  Update ToDo remarks
  Delete TODO
  Update TODOs in tests about overflow caused by margin/padding/borders
  Remove TODO-leftovers. Update TODOs with obsolete ticket IDs
  Add DEVSIX to a TODO
  Refactor tests after fix, remove Todo remarks
  Add several unicodes one glyph test
  Fix a bunch of javadoc errors in XFDF module
  Review TODOs in svg/src/main/java/com/itextpdf/svg/css/impl
  Update autoported files
  Update port-hash
  Fix a bunch of Javadoc warnings in io module
  Update port-hash
  Move ImageTest from samples internal repository
  Remove obsolete TODO
  Add DR font tests from samples internal repository
  Add a TODO to indicate in the code known font-family parsing issue
  Added test and todos for constants
  Fix layout-related javadoc warnings
  Update port-hash
  Fix modifing direct acroform in append mode
  Tests for big stroke for circle and ellipse in svg
  Add several new tests
  Add FreeReferencesTest#readingXrefWithLotsOfFreeObjTest
  Add InheritedPageEntriesTest#copySeveralPagesToDocumentWithInheritedPageRotationTest
  Update port-hash after release
  [RELEASE] Update dependency versions
  Revert 'protected' FontSelectorStrategy#tempFonts field renaming
  Update GetCmpPdf method
  Add missing copyright headers
  Remove unused svg.TestUtil class
  Refactor tests in DefsSvgNodeRendererUnitTest class
  Add missing copyright headers
  Add XrefStreamIncrementalUpdatesReadingTest#freeRefReusingInAppendModeTest
  • Loading branch information
iText-CI committed Jul 8, 2020
2 parents 8e7cf1d + 0603513 commit 8660b83
Show file tree
Hide file tree
Showing 856 changed files with 23,021 additions and 2,597 deletions.
78 changes: 78 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
Alan Goo <alangoo@hancom.com> <behumble@hanjava.net>
Alexander Chingarev <alexander.chingarev@duallab.com> <alexander.chingarev@itextpdf.com>
Alexander Chingarev <alexander.chingarev@svaps.com> <alexander.chingarev@gmail.com>
Alexander Chingarev <alexander.chingarev@svaps.com> <alexander.chingarev@svaps.com>
Alexey Subach <alexey.subach@duallab.com> <alexey.subach@gmail.com>
Alexey Subach <alexey.subach@duallab.com> <alexey.subach@itextpdf.com>
Amedee Van Gasse <amedee.vangasse@itextpdf.com> <amedee-github@amedee.be>
Amedee Van Gasse <amedee.vangasse@itextpdf.com> <amedee@vangasse.eu>
Andrew Panfilov <andrew@panfilov.tel> <andrew@panfilov.tel>
Bart De Meyer <bart@bartdemeyer.be> <bart@itextpdf.com>
Benoît Lagae <benoit.lagae@itextpdf.com> <benoit@iText-blagae>
Benoît Lagae <benoit.lagae@itextpdf.com> <benoit.lagae@itextpdf.com>
Benoît Lagae <benoit.lagae@itextpdf.com> <benoit.lagae.s6547@student.hogent.be>
Bruno Lowagie <bruno.lowagie@itextpdf.com> <bruno_000@192.168.1.3>
Bruno Lowagie <bruno.lowagie@itextpdf.com> <bruno.lowagie@itextpdf.com>
Bruno Lowagie <bruno.lowagie@itextpdf.com> <iText@Catullus>
Bryan <bryan@hancom.com> <bryan@192.168.152.124>
Dimitry Alexandrov <dimzon541@gmail.com> <dimzon541@gmail.com>
Dmitry Trusevich <dmitry.trusevich@duallab.com> <dmitry.trusevich@duallab.com>
Dmitry Trusevich <dmitry.trusevich@duallab> <dmitry.trusevich@duallab>
Dominik Helm <dominik.helm@stud.tu-darmstadt.de> <dominik.helm@stud.tu-darmstadt.de>
gothinkfree <tyoh@hancom.com> <tyoh@hancom.com>
Ilya Idamkin <ilya.idamkin@duallab.com> <ilya.idamkin@TeamCity>
iText Software <development@itextpdf.com> <community@itextpdf.com>
iText Software <development@itextpdf.com> <development@itextpdf.com>
iText Software <development@itextpdf.com> <jenkins@itextpdf.com>
iText Software <development@itextpdf.com> <jenkins@jenkins.itextsupport.com>
iText Software <development@itextpdf.com> <leeroy@itextpdf.com>
iText Software <development@itextpdf.com> <teamcity.bot@TeamCity>
iText Software <development@itextpdf.com> <teamcity@duallab.com>
iText Software <development@itextpdf.com> <teamcity@itextpdf.com>
Jeff Monson <jeff@advizr.co> <jeff@advizr.co>
Joris Schellekens <joris.schellekens@itextpdf.com> <joris.schellekens@itextpdf.com>
Kevin Day <kevin@trumpetinc.com> <kevin@melville.trumpetinc.local>
Kevin Day <kevin@trumpetinc.com> <kevin@trumpetinc.com>
Kevin Willems <kevin.willems@itextpdf.com> <kevin.willems1993@gmail.com>
Kevin Willems <kevin.willems@itextpdf.com> <kevin.willems1993@gmail.com>
LaughingMan <LingMan@users.noreply.github.com> <LingMan@users.noreply.github.com>
Markus Wernig <markus.wernig@xfer.ch> <markus.wernig@xfer.ch>
Marvin Wichmann <marvin@fam-wichmann.de> <marvin@fam-wichmann.de>
Marvin Wichmann <marvin.wichmann@fusion-hub.com> <marvin.wichmann@fusion-hub.com>
Marvin Wichmann <marvin.wichmann@unic.com> <marvin.wichmann@unic.com>
Michaël Demey <michael.demey@itextpdf.com> michael.demey <>
Michaël Demey <michael.demey@itextpdf.com> <michael.demey@itextpdf.com>
Michaël Demey <michael.demey@itextpdf.com> <michael.demey@TeamCity>
Michaël Demey <michael.demey@itextpdf.com> <mikkeldemey@gmail.com>
Michael Glazunoff <michael.glazunoff@gmail.com> <michael.glazunoff@gmail.com>
Michael Klink <klink@csi.com> <klink@csi.com>
Michael Klink <mkl@wir-sind-cool.org> <mkl@wir-sind-cool.org>
Nadia Ivaniukovich <nadia.ivaniuckovich@duallab.com> <nadia.ivaniuckovich@duallab.com>
Nadia Ivaniukovich <nadia.ivaniukovich@duallab.com> <nadia.ivaniukovich@duallab.com>
Nadja Sych <nadja.sych@duallab.com> <nadja.sych@duallab.com>
Olivier Blaise <olivier@blaise.name> <olivier@blaise.name>
Orabi Nakhla <orabi.nakhla@itextpdf.com> <orabi.nakhla@itextpdf.com>
Orabi Nakhla <orabi.nakhla@itextpdf.com> <orabi.nakhleh@gmail.com>
Paulo Soares <pgpsoares@gmail.com> <pgpsoares@gmail.com>
Paulo Soares <psoares@gmail.com> <psoares@gmail.com>
Pavel Alay <pavel.alay@duallab.com> pavel.alay <>
Pavel Alay <pavel.alay@duallab.com> <pavel.alay@gmail.com>
Pavel Alay <pavel.alay@duallab.com> <pavel.alay@TeamCity>
Pavel Morozov <pavel.morozov@duallab.com> <pavel.morozov@duallab.com>
Pavel Morozov <pavel.morozov@duallab.com> <p.morozov@i-pnt.ru>
Peter Goodman <pete@petegoo.com> <github@petegoo.com>
Peter Goodman <pete@petegoo.com> <pete@petegoo.com>
Peter Goodman <pete@petegoo.com> <peter.goodman@pushpay.com>
Peter Kjuak <peter.kjuak@itextpdf.com> <peter.kjuak@itextpdf.com>
Richard Schwark <richard.schwark@planet.de> <richard.schwark@planet.de>
Roman Leonov <roman.leonov@duallab.com> <roman.leonov@duallab.com>
Roman Nadvodny <roman.nadvodniuk@duallab.com> <roman.nadvodniuk@duallab.com>
Sasha Kalykhan <alexander.kalykhan@duallab.com> <alexander.kalykhan@duallab.com>
Sasha Kalykhan <alexander.kalykhan@duallab.com> <alexanderkalykhan@gmail.com>
Semen Yakushev <semen.yakushev@duallab.com> <semen.yakushev@duallab.com>
Valera <7691262@mail.ru> <7691262@mail.ru>
Veronika Lisovskaya <veronika.lisovskaya@duallab.com> <veronika.lisovskaya@TeamCity>
Vit Nemecky <vit.nemecky@asseco-ce.com> <vit.nemecky@asseco-ce.com>
Yanina Cheremisina <yanina.cheremisina@svaps.com> <yanina.cheremisina@svaps.com>
Yulian Gaponenko <yulian.gaponenko@duallab.com> <duallab@DESKTOP-PG4L5J1>
Yulian Gaponenko <yulian.gaponenko@duallab.com> <yulian.gaponenko@TeamCity>
19 changes: 18 additions & 1 deletion BUILDING.md
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
To build **iText 7 Community**, you need to build `itextsharp/itextcore/iTextCore.sln`.
To build **iText 7 Community**, you need to build `itextsharp/itextcore/iTextCore.sln`.
To run tests, [Ghostscript][1] and [Imagemagick][2] must be installed.
Some of the tests compare generated PDF files with template files that show the correct results, and these tools are used to
visually compare PDF files. Ghostscript is required to render PDF files into images and Imagemagick is used to compare image data.
There are two options for running tests:
1. Pass Ghostscript and Imagemagick compare commands as ITEXT_GS_EXEC and ITEXT_MAGICK_COMPARE_EXEC environment variables, respectively
(Ghostscript and Imagemagick folders must be added to PATH environment variable). This option is suitable for both Windows and Unix systems.
The syntax of commands depends on installed Ghostscript and Imagemagick versions (`gs`, `gswin64c`, `magick compare`).
2. Pass the paths to Ghostscript and Imagemagick compare execution files as ITEXT_GS_EXEC and ITEXT_MAGICK_COMPARE_EXEC
environment variables. Examples of paths on Windows:
- `C:\Program Files\gs\gs9.26\bin\gswin64c.exe`
- `C:\Program Files\ImageMagick-7.0.9-Q16\compare.exe`

If you have a new version of ImageMagick, then there is no compare.exe utility there, wrap the path to magick.exe in quotes and call compare command:
ITEXT_MAGICK_COMPARE_EXEC=`"C:\Program Files\ImageMagick-7.0.9-Q16\magick.exe" compare`

[1]: http://www.ghostscript.com/
[2]: http://www.imagemagick.org/
24 changes: 19 additions & 5 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
#!/usr/bin/env groovy
@Library('pipeline-library')_

def schedule = env.BRANCH_NAME.contains('master') ? '@monthly' : env.BRANCH_NAME == 'develop' ? '@midnight' : ''
def vars = setBranchDependentVars(env.BRANCH_NAME)

pipeline {

agent { label 'windows' }

options {
ansiColor('xterm')
buildDiscarder(logRotator(artifactNumToKeepStr: '1'))
buildDiscarder(
logRotator(
numToKeepStr: vars.buildNumToKeep,
artifactNumToKeepStr: vars.buildArtifactNumToKeep,
daysToKeepStr: vars.buildDaysToKeep,
artifactDaysToKeepStr: vars.buildArtifactDaysToKeep
)
)
parallelsAlwaysFailFast()
retry(1)
skipStagesAfterUnstable()
Expand All @@ -18,10 +25,17 @@ pipeline {
}

triggers {
cron(schedule)
cron(vars.schedule)
}

stages {
stage('Abort possible previous builds') {
steps {
script {
abortPreviousBuilds()
}
}
}
stage('Clean workspace') {
options {
timeout(time: 5, unit: 'MINUTES')
Expand Down Expand Up @@ -141,14 +155,14 @@ pipeline {
}
fixed {
script {
if ((env.BRANCH_NAME == 'master') || (env.BRANCH_NAME == 'develop')) {
if (vars.notifySlack) {
slackNotifier("#ci", currentBuild.currentResult, "${env.BRANCH_NAME} - Back to normal")
}
}
}
regression {
script {
if ((env.BRANCH_NAME == 'master') || (env.BRANCH_NAME == 'develop')) {
if (vars.notifySlack) {
slackNotifier("#ci", currentBuild.currentResult, "${env.BRANCH_NAME} - First failure")
}
}
Expand Down
2 changes: 1 addition & 1 deletion 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 7 7.1.11 API"
PROJECT_NAME = "iText 7 7.1.12 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
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("7.1.11.0")]
[assembly: AssemblyFileVersion("7.1.11.0")]
[assembly: AssemblyInformationalVersion("7.1.11")]
[assembly: AssemblyVersion("7.1.12.0")]
[assembly: AssemblyFileVersion("7.1.12.0")]
[assembly: AssemblyInformationalVersion("7.1.12")]

#if !NETSTANDARD1_6
[assembly: NUnit.Framework.Timeout(300000)]
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("7.1.11.0")]
[assembly: AssemblyFileVersion("7.1.11.0")]
[assembly: AssemblyInformationalVersion("7.1.11")]
[assembly: AssemblyVersion("7.1.12.0")]
[assembly: AssemblyFileVersion("7.1.12.0")]
[assembly: AssemblyInformationalVersion("7.1.12")]

#if !NETSTANDARD1_6
[assembly: NUnit.Framework.Timeout(300000)]
Expand Down

0 comments on commit 8660b83

Please sign in to comment.