Skip to content

Commit e9f259b

Browse files
author
Fedorov Alexandr
committed
Update old and create new NOTICE files
DEVSIX-9018
1 parent a57dd49 commit e9f259b

File tree

13 files changed

+380
-41
lines changed

13 files changed

+380
-41
lines changed

NOTICE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
This software uses third-party libraries under the licenses in the following files:
2+
- [styled-xml-parser/NOTICE.txt](styled-xml-parser/NOTICE.txt)
3+
- [kernel/NOTICE.txt](kernel/NOTICE.txt)
4+
- [io/NOTICE.txt](io/NOTICE.txt)
5+
- [commons/NOTICE.txt](commons/NOTICE.txt)
6+
- [layout/NOTICE.txt](layout/NOTICE.txt)

NOTICE.txt

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

commons/NOTICE.txt

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
This software uses the following third-party libraries under the following licenses:
2+
| iharder:2.2.1 | @author Robert Harder | Library code and tests are embedded under com.itextpdf.commons.utils.Base64 class.
3+
4+
5+
6+
7+
------------------------------------------------------------------------------------------------------------------------
8+
9+
10+
iharder:2.2.1 full license agreement text is below:
11+
12+
Encodes and decodes to and from Base64 notation.
13+
<p>
14+
Homepage: <a href="http://iharder.net/base64">http://iharder.net/base64</a>.
15+
<br>
16+
Change Log:
17+
<br>
18+
<ul>
19+
<li>v2.2.1 - Fixed bug using URL_SAFE and ORDERED encodings. Fixed bug
20+
when using very small files (~&lt; 40 bytes).</li>
21+
<li>v2.2 - Added some helper methods for encoding/decoding directly from
22+
one file to the next. Also added a main() method to support command line
23+
encoding/decoding from one file to the next. Also added these Base64 dialects:
24+
<ol>
25+
<li>The default is RFC3548 format.</li>
26+
<li>Calling Base64.setFormat(Base64.BASE64_FORMAT.URLSAFE_FORMAT) generates
27+
URL and file name friendly format as described in Section 4 of RFC3548.
28+
http://www.faqs.org/rfcs/rfc3548.html</li>
29+
<li>Calling Base64.setFormat(Base64.BASE64_FORMAT.ORDERED_FORMAT) generates
30+
URL and file name friendly format that preserves lexical ordering as described
31+
in http://www.faqs.org/qa/rfcc-1940.html</li>
32+
</ol>
33+
Special thanks to Jim Kellerman at <a href="http://www.powerset.com/">http://www.powerset.com/</a>
34+
for contributing the new Base64 dialects.
35+
</li>
36+
37+
<li>v2.1 - Cleaned up javadoc comments and unused variables and methods. Added
38+
some convenience methods for reading and writing to and from files.</li>
39+
<li>v2.0.2 - Now specifies UTF-8 encoding in places where the code fails on systems
40+
with other encodings (like EBCDIC).</li>
41+
<li>v2.0.1 - Fixed an error when decoding a single byte, that is, when the
42+
encoded data was a single byte.</li>
43+
<li>v2.0 - I got rid of methods that used booleans to set options.
44+
Now everything is more consolidated and cleaner. The code now detects
45+
when data that's being decoded is gzip-compressed and will decompress it
46+
automatically. Generally things are cleaner. You'll probably have to
47+
change some method calls that you were making to support the new
48+
options format (<tt>int</tt>s that you "OR" together).</li>
49+
<li>v1.5.1 - Fixed bug when decompressing and decoding to a
50+
byte[] using <tt>decode( String s, boolean gzipCompressed )</tt>.
51+
Added the ability to "suspend" encoding in the Output Stream so
52+
you can turn on and off the encoding if you need to embed base64
53+
data in an otherwise "normal" stream (like an XML file).</li>
54+
<li>v1.5 - Output stream pases on flush() command but doesn't do anything itself.
55+
This helps when using GZIP streams.
56+
Added the ability to GZip-compress objects before encoding them.</li>
57+
<li>v1.4 - Added helper methods to read/write files.</li>
58+
<li>v1.3.6 - Fixed OutputStream.flush() so that 'position' is reset.</li>
59+
<li>v1.3.5 - Added flag to turn on and off line breaks. Fixed bug in input stream
60+
where last buffer being read, if not completely full, was not returned.</li>
61+
<li>v1.3.4 - Fixed when "improperly padded stream" error was thrown at the wrong time.</li>
62+
<li>v1.3.3 - Fixed I/O streams which were totally messed up.</li>
63+
</ul>
64+
<br>
65+
I am placing this code in the Public Domain. Do with it as you will.
66+
This software comes with no guarantees or warranties but with
67+
plenty of well-wishing instead!
68+
Please visit <a href="http://iharder.net/base64">http://iharder.net/base64</a>
69+
periodically to check for updates or to contribute improvements.
70+
71+
@author Robert Harder
72+
73+
@version 2.2.1

commons/pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,17 @@
3333
</dependency>
3434
</dependencies>
3535

36+
<build>
37+
<resources>
38+
<resource>
39+
<directory>${project.basedir}</directory>
40+
<includes>
41+
<include>NOTICE.txt</include>
42+
</includes>
43+
</resource>
44+
</resources>
45+
</build>
46+
3647
<profiles>
3748
<profile>
3849
<id>with-sharpen</id>

io/NOTICE.txt

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
This software uses the following third-party libraries under the following licenses:
2+
| woff2 | Apache License Version 2.0 | Library code and tests are embedded under com.itextpdf.io.font.woff2 package.
3+
| jai_imageio:1.0_01 | BSD | Library code and tests are embedded under com.itextpdf.io.codec package.
4+
| libtiff | | Library code and tests are embedded under com.itextpdf.io.codec package.
5+
| brotli | MIT | Library code and tests are embedded under com.itextpdf.io.codec.brotli.dec package.
6+
7+
8+
9+
10+
------------------------------------------------------------------------------------------------------------------------
11+
12+
13+
woff2 full license agreement text is below:
14+
15+
Copyright 2013 Google Inc. All Rights Reserved.
16+
17+
Licensed under the Apache License, Version 2.0 (the "License");
18+
you may not use this file except in compliance with the License.
19+
You may obtain a copy of the License at
20+
21+
http://www.apache.org/licenses/LICENSE-2.0
22+
23+
Unless required by applicable law or agreed to in writing, software
24+
distributed under the License is distributed on an "AS IS" BASIS,
25+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
26+
See the License for the specific language governing permissions and
27+
limitations under the License.
28+
29+
The parts of ots.h & opentype-sanitiser.h that we need, taken from the
30+
https://code.google.com/p/ots/ project.
31+
32+
This is part of java port of project hosted at https://github.com/google/woff2
33+
34+
35+
------------------------------------------------------------------------------------------------------------------------
36+
37+
38+
jai_imageio full license agreement text is below:
39+
40+
Copyright 2003-2012 by Paulo Soares.
41+
42+
This code was originally released in 2001 by SUN (see class
43+
com.sun.media.imageioimpl.plugins.tiff.TIFFLZWDecompressor.java)
44+
using the BSD license in a specific wording. In a mail dating from
45+
January 23, 2008, Brian Burkhalter (@sun.com) gave us permission
46+
to use the code under the following version of the BSD license:
47+
48+
Copyright (c) 2005 Sun Microsystems, Inc. All Rights Reserved.
49+
50+
Redistribution and use in source and binary forms, with or without
51+
modification, are permitted provided that the following conditions
52+
are met:
53+
54+
- Redistribution of source code must retain the above copyright
55+
notice, this list of conditions and the following disclaimer.
56+
57+
- Redistribution in binary form must reproduce the above copyright
58+
notice, this list of conditions and the following disclaimer in
59+
the documentation and/or other materials provided with the
60+
distribution.
61+
62+
Neither the name of Sun Microsystems, Inc. or the names of
63+
contributors may be used to endorse or promote products derived
64+
from this software without specific prior written permission.
65+
66+
This software is provided "AS IS," without a warranty of any
67+
kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND
68+
WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,
69+
FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY
70+
EXCLUDED. SUN MIDROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL
71+
NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF
72+
USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS
73+
DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR
74+
ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL,
75+
CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND
76+
REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR
77+
INABILITY TO USE THIS SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE
78+
POSSIBILITY OF SUCH DAMAGES.
79+
80+
You acknowledge that this software is not designed or intended for
81+
use in the design, construction, operation or maintenance of any
82+
nuclear facility.
83+
84+
85+
------------------------------------------------------------------------------------------------------------------------
86+
87+
88+
libtiff full license agreement text is below:
89+
90+
Copyright 2003-2012 by Paulo Soares.
91+
92+
This list of constants was originally released with libtiff
93+
under the following license:
94+
95+
Copyright (c) 1988-1997 Sam Leffler
96+
Copyright (c) 1991-1997 Silicon Graphics, Inc.
97+
98+
Permission to use, copy, modify, distribute, and sell this software and
99+
its documentation for any purpose is hereby granted without fee, provided
100+
that (i) the above copyright notices and this permission notice appear in
101+
all copies of the software and related documentation, and (ii) the names of
102+
Sam Leffler and Silicon Graphics may not be used in any advertising or
103+
publicity relating to the software without the specific, prior written
104+
permission of Sam Leffler and Silicon Graphics.
105+
106+
THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
107+
EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
108+
WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
109+
110+
IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
111+
ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
112+
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
113+
WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
114+
LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
115+
OF THIS SOFTWARE.
116+
117+
118+
------------------------------------------------------------------------------------------------------------------------
119+
120+
121+
brotli full license agreement text is below:
122+
123+
Copyright 2015 Google Inc. All Rights Reserved.
124+
125+
Distributed under MIT license.
126+
See file LICENSE for detail or copy at https://opensource.org/licenses/MIT

io/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@
4646
<include>**/*.json</include>
4747
</includes>
4848
</resource>
49+
<resource>
50+
<directory>${project.basedir}</directory>
51+
<includes>
52+
<include>NOTICE.txt</include>
53+
</includes>
54+
</resource>
4955
</resources>
5056
<testResources>
5157
<testResource>

kernel/NOTICE.txt

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
This software uses the following third-party libraries under the following licenses:
2+
| XMP Toolkit | BSD | Library code and tests are embedded under com.itextpdf.kernel.xmp package.
3+
| C# library Clipper | Boost Software License | Library code and tests are embedded under com.itextpdf.kernel.pdf.canvas.parser.clipper package.
4+
5+
6+
7+
8+
------------------------------------------------------------------------------------------------------------------------
9+
10+
11+
XMP Toolkit full license agreement text is below:
12+
13+
Copyright (c) 2006, Adobe Systems Incorporated
14+
All rights reserved.
15+
16+
Redistribution and use in source and binary forms, with or without
17+
modification, are permitted provided that the following conditions are met:
18+
1. Redistributions of source code must retain the above copyright
19+
notice, this list of conditions and the following disclaimer.
20+
2. Redistributions in binary form must reproduce the above copyright
21+
notice, this list of conditions and the following disclaimer in the
22+
documentation and/or other materials provided with the distribution.
23+
3. All advertising materials mentioning features or use of this software
24+
must display the following acknowledgement:
25+
This product includes software developed by the Adobe Systems Incorporated.
26+
4. Neither the name of the Adobe Systems Incorporated nor the
27+
names of its contributors may be used to endorse or promote products
28+
derived from this software without specific prior written permission.
29+
30+
THIS SOFTWARE IS PROVIDED BY ADOBE SYSTEMS INCORPORATED ''AS IS'' AND ANY
31+
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
32+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
33+
DISCLAIMED. IN NO EVENT SHALL ADOBE SYSTEMS INCORPORATED BE LIABLE FOR ANY
34+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
35+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
36+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
37+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
38+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
39+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
40+
41+
42+
------------------------------------------------------------------------------------------------------------------------
43+
44+
45+
C# library Clipper full license agreement text is below:
46+
47+
This class is based on the C# open source freeware library Clipper:
48+
http://www.angusj.com/delphi/clipper.php
49+
The original classes were distributed under the Boost Software License:
50+
51+
Freeware for both open source and commercial applications
52+
Copyright 2010-2014 Angus Johnson
53+
Boost Software License - Version 1.0 - August 17th, 2003
54+
55+
Permission is hereby granted, free of charge, to any person or organization
56+
obtaining a copy of the software and accompanying documentation covered by
57+
this license (the "Software") to use, reproduce, display, distribute,
58+
execute, and transmit the Software, and to prepare derivative works of the
59+
Software, and to permit third-parties to whom the Software is furnished to
60+
do so, all subject to the following:
61+
62+
The copyright notices in the Software and this entire statement, including
63+
the above license grant, this restriction and the following disclaimer,
64+
must be included in all copies of the Software, in whole or in part, and
65+
all derivative works of the Software, unless such copies or derivative
66+
works are solely in the form of machine-executable object code generated by
67+
a source language processor.
68+
69+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
70+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
71+
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
72+
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
73+
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
74+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
75+
DEALINGS IN THE SOFTWARE.

kernel/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@
5353
<include>**/*.json</include>
5454
</includes>
5555
</resource>
56+
<resource>
57+
<directory>${project.basedir}</directory>
58+
<includes>
59+
<include>NOTICE.txt</include>
60+
</includes>
61+
</resource>
5662
</resources>
5763
</build>
5864

0 commit comments

Comments
 (0)