Skip to content

Commit 1521211

Browse files
committed
[RELEASE] iText 5 - 5.5.13.2
Merge branch 'release/5.5.13.2' into master
2 parents f5470fe + 409d58b commit 1521211

File tree

2,518 files changed

+1761
-194735
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,518 files changed

+1761
-194735
lines changed

CONTRIBUTING.md

Lines changed: 75 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Contributing to iText
1+
# Contributing to iText 7 Community
22

3-
We'd love for you to contribute to our source code and to make iText even better than it is
3+
We'd love for you to contribute to our source code and to make **iText 7 Community** even better than it is
44
today! Here are the guidelines we'd like you to follow:
55

66
- [Question or Problem?](#question)
@@ -10,47 +10,52 @@ today! Here are the guidelines we'd like you to follow:
1010
- [Coding Rules](#rules)
1111
- [Commit Message Guidelines](#commit)
1212
- [Signing the iCLA](#cla)
13-
- [Further Info](#info)
13+
- [Contributor Code of Conduct](#coc)
1414

15-
## <a name="question"></a> Got a Question or Problem?
1615

17-
If you have questions about how to use iText, please direct these to [StackOverflow][stackoverflow].
16+
## <a name="question">Got a Question or Problem?</a>
17+
18+
If you have questions about how to use **iText 7 Community**, please direct these to [Stack Overflow][stackoverflow].
1819

1920
If you are a customer with a [support agreement][support], you also have direct access to our JIRA and our developers.
2021

21-
## <a name="issue"></a> Found an Issue?
22+
23+
## <a name="issue">Found an Issue?</a>
2224
If you find a bug in the source code or a mistake in the documentation, you can help us by
2325
submitting a [Pull Request][pull] with a fix.
2426

2527
**Please see the [Submission Guidelines](#submit) below**.
2628

27-
## <a name="feature"></a> Want to implement a Feature?
29+
30+
## <a name="feature">Want to implement a Feature?</a>
2831
If you would like to implement a new feature then consider what kind of change it is:
2932

3033
* **Major Changes** that you wish to contribute to the project should be discussed first so that we can better
3134
coordinate our efforts, prevent duplication of work, and help you to craft the change so that it is successfully
32-
accepted into the project.
35+
accepted into the project. Contact us at [[email protected]](mailto:[email protected]).
3336
* **Small Changes** can be crafted and submitted to the [GitHub Repository][github] as a [Pull Request][pull].
3437

35-
## <a name="submit"></a> Submission Guidelines
3638

37-
### Submitting an Issue
38-
Before you submit your issue, search [Stack Overflow][stackoverflow], maybe your question was already answered.
39+
## <a name="submit">Submission Guidelines</a>
40+
41+
### Submitting a Question or an Issue
42+
Before you submit your question or issue, search [Stack Overflow][stackoverflow], maybe your question was already answered.
3943

40-
If your issue appears to be a bug, and hasn't been reported, ask a question on [Stack Overflow][stackoverflow].
44+
If your issue appears to be a bug, and hasn't been reported, ask a question on [Stack Overflow][stackoverflow] to verify that is indeed a bug and not a mistake in your own code.
4145
Help us to maximize the effort we can spend fixing issues and adding new
4246
features, by not reporting duplicate issues. Providing the following information will increase the
4347
chances of your issue being dealt with quickly:
4448

49+
* **[How to ask good questions][good-questions]**
4550
* **Overview of the Issue** - if an error is being thrown a non-minified stack trace helps
4651
* **Motivation for or Use Case** - explain why this is a bug for you
4752
* **iText Version(s)** - is it a regression?
4853
* **Operating System** - is this a problem on Windows or Linux, maybe on Mac?
49-
* **Reproduce the Error** - provide a [Short, Self Contained, Correct (Compilable), Example][sscce].
54+
* **Reproduce the Error** - provide a [Short, Self Contained, Correct (Compilable), Example][sscce], also known as a [Minimal, Complete, and Verifiable example][mcve].
5055
* **Related Issues** - has a similar issue been reported before?
5156
* **Suggest a Fix** - if you can't fix the bug yourself, perhaps you can point to what might be
5257
causing the problem (line of code or commit)
53-
* **Tag the question** - add the tag 'itext' to your question so we can find it.
58+
* **Tag the question** - add the tag `itext7` to your question so we can find it.
5459

5560
**If you get help, help others. Good karma rulez!**
5661

@@ -65,99 +70,52 @@ Before you submit your pull request consider the following guidelines:
6570
* Please sign the [iText Contributor License Agreement (iCLA)](#cla) before sending pull
6671
requests for any change of more than 20 significant lines of code (we're not counting curly braces and other syntactical sugar).
6772
We cannot accept code without this agreement.
68-
* Clone iText to your local machine.
69-
70-
```shell
71-
git clone [email protected]:itext/itextpdf.git
72-
cd itextpdf
73-
git fetch origin
74-
git checkout -b develop origin/develop
75-
```
76-
77-
* Make your changes in a new git branch based off the develop branch:
78-
79-
```shell
80-
git checkout -b my-fix-branch develop
81-
```
82-
83-
* Create your patch, **including appropriate test cases**.
73+
* Fork the iText repository on GitHub.
74+
* Clone your iText fork to your local machine.
75+
* Make your changes, **including appropriate test cases**.
8476
* Follow our [Coding Rules](#rules).
85-
* Run the full iText test suite and ensure that all tests pass.
8677
* Commit your changes using a descriptive commit message that follows our
8778
[commit message conventions](#commit-message-format).
88-
89-
```shell
90-
git commit -a
91-
```
92-
Note: the optional commit `-a` command line option will automatically `add` and `rm` edited files.
93-
94-
* Now would be a good time to fix up your commits (if you want or need to) with `git rebase --interactive`.
79+
* Now would be a good time to fix up your commits (if you want or need to) with `git rebase --interactive`.
9580
* Build your changes locally to ensure all the tests pass.
96-
* Push your branch to your GitHub account:
97-
98-
```shell
99-
git remote add my-remote [email protected]:my-remote/itextpdf.git
100-
git push my-remote my-fix-branch
101-
```
102-
103-
* In GitHub, send a pull request to `itextpdf:develop`.
81+
* Push your changes to your GitHub account.
82+
* Create a pull request in GitHub.
83+
"Head fork" should be your repository, and the "base fork" should be the iText7 official repository.
10484
* If we suggest changes then:
10585
* Make the required updates.
106-
* Re-run the iText test suite to ensure tests are still passing.
107-
* Rebase your branch and force push to your GitHub repository (this will update your Pull Request):
108-
109-
```shell
110-
git fetch origin
111-
git rebase develop -i
112-
git push my-remote my-fix-branch -f
113-
```
86+
* Fix up your commits if needed, with an interactive rebase.
87+
* Re-run the tests and make sure that they are still passing.
88+
* Force push to your GitHub repository. This will update your Pull Request.
11489

11590
That's it! Thank you for your contribution!
11691

11792
#### After your pull request is merged
11893

119-
After your pull request is merged, you can safely delete your branch and pull the changes
120-
from the main (upstream) repository:
94+
After your pull request is merged, you can safely delete your fork and pull the changes
95+
from the main (upstream) repository.
12196

122-
* Delete the remote branch on GitHub either through the GitHub web UI or your local shell as follows:
12397

124-
```shell
125-
git push my-remote --delete my-fix-branch
126-
```
127-
128-
* Check out the develop branch:
129-
130-
```shell
131-
git checkout develop -f
132-
```
133-
134-
* Delete the local branch:
135-
136-
```shell
137-
git branch -D my-fix-branch
138-
```
139-
140-
* Update your develop with the latest upstream version:
141-
142-
```shell
143-
git pull --ff upstream develop
144-
```
145-
146-
## <a name="rules"></a> Coding Rules
98+
## <a name="rules">Coding Rules</a>
14799
To ensure consistency throughout the source code, keep these rules in mind as you are working:
148100

101+
* We develop in Java first, and then port to .NET, so code submissions in Java are preferred.
102+
Nevertheless this shouldn't stop you from making a good pull request to the .NET port.
103+
* All Java code **must** be Java 7. Sorry, no lambda expressions or other Java 8 language features.
149104
* All features or bug fixes **must be tested** by one or more [unit tests][unit-testing].
150105
* All public API methods **must be documented** with JavaDoc. To see how we document our APIs, please check
151106
out the existing [javadocs][javadocs].
152107
* We follow the rules contained in
153108
[Oracle's Code Conventions for the Java Programming Language][java-style-guide], with these additions:
154109
* Wrap all code at **100 characters**.
155110

156-
## <a name="commit"></a> Git Commit Guidelines
157111

158-
We have very precise rules over how our git commit messages can be formatted. This leads to **more
112+
## <a name="commit">Git Commit Guidelines</a>
113+
114+
We have guidelines on how our git commit messages should be formatted. This leads to **more
159115
readable messages** that are easy to follow when looking through the **project history**. But also,
160-
we use the git commit messages to **generate the iText change log**.
116+
we use the git commit messages to **generate the iText 7 Community change log**.
117+
118+
These guidelines were taken from Chris Beams' blog post [How to Write a Git Commit Message][git-commit].
161119

162120
### Commit Message Format
163121
Each commit message consists of a **subject**, a **body** and a **footer**:
@@ -170,41 +128,60 @@ Each commit message consists of a **subject**, a **body** and a **footer**:
170128
<footer>
171129
```
172130

173-
Any line of the commit message cannot be longer 70 characters! This allows the message to be easier
131+
Any line of the commit message should not be longer 72 characters! This allows the message to be easier
174132
to read on GitHub as well as in various git tools.
175133

176134
### Subject
177135
The subject contains succinct description of the change:
178136

179-
* use the imperative, present tense: "change" not "changed" nor "changes"
180-
* don't capitalize first letter
181-
* no dot (.) at the end
182-
* describe what the **change** does, not the actions the developer has done
137+
* [Separate subject from body with a blank line][git-commit-separate]
138+
* [Limit the subject line to 50 characters][git-commit-limit-50]
139+
* [Capitalize the subject line][git-commit-capitalize]
140+
* [Do not end the subject line with a period][git-commit-end]
141+
* [Use the imperative mood in the subject line][git-commit-imperative]
183142

184143
### Body
185-
Just as in the **subject**, use the imperative, present tense: "change" not "changed" nor "changes".
186-
The body should include the motivation for the change and contrast this with previous behavior.
144+
* [Wrap the body at 72 characters][git-commit-wrap-72]
145+
* [Use the body to explain _what_ and _why_ vs. _how_][git-commit-why-not-how]
187146

188147
### Footer
189-
The footer should contain any information about **Breaking Changes** and is also the place to
148+
The footer contains any information about **Breaking Changes** and is also the place to
190149
reference JIRA or GitHub issues that this commit **Closes**.
191150

192-
## <a name="cla"></a> Signing the iCLA
193151

194-
Please sign the iText Contributor License Agreement (iCLA) before sending pull requests. For any larger code
152+
## <a name="cla">Signing the iCLA</a>
153+
154+
Please sign the **iText Contributor License Agreement (iCLA)** before sending pull requests. For any larger code
195155
changes (more than 20 lines of significant code) to be accepted, the iCLA must be signed. It's a quick process, we promise!
196156

197157
We'll need you to [(digitally) sign and then email, fax or mail the form][cla].
198158

199159

160+
## <a name="coc">Contributor Code of Conduct</a>
161+
Please note that this project is released with a [Contributor Code of Conduct][coc]. By participating in this project you agree to abide by its terms.
162+
163+
We use the [Stack Exchange][stackoverflow] network for free support and [GitHub][github] for code hosting. By using these services, you agree to abide by their terms:
164+
165+
* StackExchange: [http://stackexchange.com/legal](http://stackexchange.com/legal)
166+
* Github: [https://help.github.com/articles/github-terms-of-service/](https://help.github.com/articles/github-terms-of-service/)
167+
200168
[cla]: http://itextpdf.com/policy
201-
[coc]: https://github.com/itext/itextpdf/blob/master/CODE_OF_CONDUCT.md
202-
[github]: https://github.com/itext/itextpdf
203-
[itext-dev]: https://lists.sourceforge.net/lists/listinfo/itext-developers
169+
[coc]: CODE_OF_CONDUCT.md
170+
[github]: https://github.com/itext/itext7
204171
[java-style-guide]: http://www.oracle.com/technetwork/java/codeconvtoc-136057.html
205172
[javadocs]: http://itextpdf.com/api
206-
[pull]: https://github.com/itext/itextpdf/pulls
173+
[pull]: https://github.com/itext/itext7/pulls
207174
[sscce]: http://sscce.org/
208-
[stackoverflow]: http://stackoverflow.com/questions/tagged/itext
175+
[stackoverflow]: http://stackoverflow.com/questions/tagged/itext7
176+
[good-questions]: http://stackoverflow.com/help/how-to-ask
177+
[mcve]: http://stackoverflow.com/help/mcve
209178
[support]: http://itextpdf.com/support
210179
[unit-testing]: http://junit.org/
180+
[git-commit]: https://chris.beams.io/posts/git-commit/
181+
[git-commit-separate]: https://chris.beams.io/posts/git-commit/#separate
182+
[git-commit-limit-50]: https://chris.beams.io/posts/git-commit/#limit-50
183+
[git-commit-capitalize]: https://chris.beams.io/posts/git-commit/#capitalize
184+
[git-commit-end]: https://chris.beams.io/posts/git-commit/#end
185+
[git-commit-imperative]: https://chris.beams.io/posts/git-commit/#imperative
186+
[git-commit-wrap-72]: https://chris.beams.io/posts/git-commit/#wrap-72
187+
[git-commit-why-not-how]: https://chris.beams.io/posts/git-commit/#why-not-how

iTextAsian.nuspec

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
3+
<metadata>
4+
<id>iTextAsian</id>
5+
<version>2.1</version>
6+
<title>iTextSharp.xtra</title>
7+
<authors>Bruno Lowagie, Paulo Soares, et al.</authors>
8+
<owners>Bruno Lowagie,Paulo Soares,et al.</owners>
9+
<licenseUrl>https://www.gnu.org/licenses/agpl.html</licenseUrl>
10+
<projectUrl>https://itextpdf.com/</projectUrl>
11+
<iconUrl>https://itextpdf.com/sites/default/files/ITSC-avatar.png</iconUrl>
12+
<requireLicenseAcceptance>true</requireLicenseAcceptance>
13+
<description>PLEASE NOTE: iTextSharp is EOL, and has been replaced by iText 7. Only security fixes will be added
14+
15+
We HIGHLY recommend customers use iText 7 for new projects, and to consider moving existing projects from iTextSharp to iText 7 to benefit from the many improvements such as:
16+
- HTML to PDF (PDF/A) conversion
17+
- PDF Redaction
18+
- SVG support
19+
- Better language support (Indic, Thai, Khmer, Arabic, Hebrew)
20+
- PDF Debugging for your IDE
21+
- Data Extraction
22+
- Better continued support and bugfixes
23+
- More modular, extensible handling of your document workflow
24+
- Extra practical add-ons
25+
- Encryption, hashing and digital signatures
26+
27+
This DEPRECATED library adds extra functionality for iTextSharp. Please use iText 7 instead. iText 7 Community: https://www.nuget.org/packages/itext7/ and iText 7 pdfSweep addon: https://www.nuget.org/packages/itext7.pdfsweep/</description>
28+
<summary>Extra functionality for DEPRECACTED iTextSharp PDF generation library written entirely in C# for the .NET platform. Please use iText 7 instead.
29+
iText 7 Community: https://www.nuget.org/packages/itext7/</summary>
30+
<copyright>Copyright (c) 1998-2020 iText Group NV</copyright>
31+
<language>en-US</language>
32+
<tags>itext itextsharp c# csharp .net pdf</tags>
33+
</metadata>
34+
35+
<files>
36+
<file src="src\extras\iTextAsian\bin\Release\iTextAsian.dll" target="lib\" />
37+
</files>
38+
</package>

itext-hyph-xml.nuspec

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
3+
<metadata>
4+
<id>itext-hyph-xml</id>
5+
<version>2.0.0</version>
6+
<title>iTextSharp.xtra</title>
7+
<authors>Bruno Lowagie, Paulo Soares, et al.</authors>
8+
<owners>Bruno Lowagie,Paulo Soares,et al.</owners>
9+
<licenseUrl>https://www.gnu.org/licenses/agpl.html</licenseUrl>
10+
<projectUrl>https://itextpdf.com/</projectUrl>
11+
<iconUrl>https://itextpdf.com/sites/default/files/ITSC-avatar.png</iconUrl>
12+
<requireLicenseAcceptance>true</requireLicenseAcceptance>
13+
<description>PLEASE NOTE: iTextSharp is EOL, and has been replaced by iText 7. Only security fixes will be added
14+
15+
We HIGHLY recommend customers use iText 7 for new projects, and to consider moving existing projects from iTextSharp to iText 7 to benefit from the many improvements such as:
16+
- HTML to PDF (PDF/A) conversion
17+
- PDF Redaction
18+
- SVG support
19+
- Better language support (Indic, Thai, Khmer, Arabic, Hebrew)
20+
- PDF Debugging for your IDE
21+
- Data Extraction
22+
- Better continued support and bugfixes
23+
- More modular, extensible handling of your document workflow
24+
- Extra practical add-ons
25+
- Encryption, hashing and digital signatures
26+
27+
This DEPRECATED library adds extra functionality for iTextSharp. Please use iText 7 instead. iText 7 Community: https://www.nuget.org/packages/itext7/ and iText 7 pdfSweep addon: https://www.nuget.org/packages/itext7.pdfsweep/</description>
28+
<summary>Extra functionality for DEPRECACTED iTextSharp PDF generation library written entirely in C# for the .NET platform. Please use iText 7 instead.
29+
iText 7 Community: https://www.nuget.org/packages/itext7/</summary>
30+
<copyright>Copyright (c) 1998-2020 iText Group NV</copyright>
31+
<language>en-US</language>
32+
<tags>itext itextsharp c# csharp .net pdf</tags>
33+
</metadata>
34+
35+
<files>
36+
<file src="src\extras\itext-hyph-xml\bin\Release\itext-hyph-xml.dll" target="lib\" />
37+
</files>
38+
</package>

0 commit comments

Comments
 (0)