author | Rich Burridge <rich.burridge@oracle.com> |
Tue, 02 May 2017 17:33:26 -0700 | |
changeset 7964 | d9801318ed3d |
parent 7855 | beb81c36d5c4 |
permissions | -rw-r--r-- |
1380
5f7d10f6436d
17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents:
1205
diff
changeset
|
1 |
The TIDY License: |
281
d8461ade59a0
7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
2 |
|
7855
beb81c36d5c4
25711521 Update tidy to version 5.4.0
Rich Burridge <rich.burridge@oracle.com>
parents:
6603
diff
changeset
|
3 |
Copyright (c) 1998-2016 World Wide Web Consortium |
6603
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
4 |
(Massachusetts Institute of Technology, European Research |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
5 |
Consortium for Informatics and Mathematics, Keio University). |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
6 |
All Rights Reserved. |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
7 |
|
7855
beb81c36d5c4
25711521 Update tidy to version 5.4.0
Rich Burridge <rich.burridge@oracle.com>
parents:
6603
diff
changeset
|
8 |
Additional contributions (c) 2001-2016 University of Toronto, Terry Teague, |
beb81c36d5c4
25711521 Update tidy to version 5.4.0
Rich Burridge <rich.burridge@oracle.com>
parents:
6603
diff
changeset
|
9 |
@geoffmcl, HTACG, and others. |
beb81c36d5c4
25711521 Update tidy to version 5.4.0
Rich Burridge <rich.burridge@oracle.com>
parents:
6603
diff
changeset
|
10 |
|
6603
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
11 |
Contributing Author(s): |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
12 |
|
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
13 |
Dave Raggett <[email protected]> |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
14 |
|
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
15 |
The contributing author(s) would like to thank all those who |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
16 |
helped with testing, bug fixes and suggestions for improvements. |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
17 |
This wouldn't have been possible without your help. |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
18 |
|
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
19 |
COPYRIGHT NOTICE: |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
20 |
|
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
21 |
This software and documentation is provided "as is," and |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
22 |
the copyright holders and contributing author(s) make no |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
23 |
representations or warranties, express or implied, including |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
24 |
but not limited to, warranties of merchantability or fitness |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
25 |
for any particular purpose or that the use of the software or |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
26 |
documentation will not infringe any third party patents, |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
27 |
copyrights, trademarks or other rights. |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
28 |
|
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
29 |
The copyright holders and contributing author(s) will not be held |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
30 |
liable for any direct, indirect, special or consequential damages |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
31 |
arising out of any use of the software or documentation, even if |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
32 |
advised of the possibility of such damage. |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
33 |
|
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
34 |
Permission is hereby granted to use, copy, modify, and distribute |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
35 |
this source code, or portions hereof, documentation and executables, |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
36 |
for any purpose, without fee, subject to the following restrictions: |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
37 |
|
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
38 |
1. The origin of this source code must not be misrepresented. |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
39 |
2. Altered versions must be plainly marked as such and must |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
40 |
not be misrepresented as being the original source. |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
41 |
3. This Copyright notice may not be removed or altered from any |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
42 |
source or altered source distribution. |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
43 |
|
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
44 |
The copyright holders and contributing author(s) specifically |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
45 |
permit, without fee, and encourage the use of this source code |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
46 |
as a component for supporting the Hypertext Markup Language in |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
47 |
commercial products. If you use this source code in a product, |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
48 |
acknowledgment is not required but would be appreciated. |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
49 |
|
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
50 |
|
1380
5f7d10f6436d
17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents:
1205
diff
changeset
|
51 |
ADDITIONAL README AND COPYRIGHT NOTICES PRESENT IN SOURCE |
5f7d10f6436d
17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents:
1205
diff
changeset
|
52 |
CODE FILES: |
281
d8461ade59a0
7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
53 |
|
1380
5f7d10f6436d
17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents:
1205
diff
changeset
|
54 |
/* tidylib.c -- internal library definitions |
5f7d10f6436d
17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents:
1205
diff
changeset
|
55 |
|
6603
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
56 |
(c) 1998-2008 (W3C) MIT, ERCIM, Keio University |
1380
5f7d10f6436d
17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents:
1205
diff
changeset
|
57 |
See tidy.h for the copyright notice. |
5f7d10f6436d
17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents:
1205
diff
changeset
|
58 |
|
6603
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
59 |
Defines HTML Tidy API implemented by tidy library. |
1380
5f7d10f6436d
17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents:
1205
diff
changeset
|
60 |
|
5f7d10f6436d
17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents:
1205
diff
changeset
|
61 |
Very rough initial cut for discussion purposes. |
281
d8461ade59a0
7048757 Move tidy to Userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
62 |
|
1380
5f7d10f6436d
17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents:
1205
diff
changeset
|
63 |
Public interface is const-correct and doesn't explicitly depend |
5f7d10f6436d
17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents:
1205
diff
changeset
|
64 |
on any globals. Thus, thread-safety may be introduced w/out |
5f7d10f6436d
17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents:
1205
diff
changeset
|
65 |
changing the interface. |
5f7d10f6436d
17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents:
1205
diff
changeset
|
66 |
|
6603
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
67 |
Looking ahead to a C++ wrapper, C functions always pass |
1380
5f7d10f6436d
17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents:
1205
diff
changeset
|
68 |
this-equivalent as 1st arg. |
5f7d10f6436d
17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents:
1205
diff
changeset
|
69 |
|
5f7d10f6436d
17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents:
1205
diff
changeset
|
70 |
Created 2001-05-20 by Charles Reitzel |
5f7d10f6436d
17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents:
1205
diff
changeset
|
71 |
|
5f7d10f6436d
17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents:
1205
diff
changeset
|
72 |
*/ |
5f7d10f6436d
17067203 tidy needs TPNO and license adjustments
Rich Burridge <rich.burridge@oracle.com>
parents:
1205
diff
changeset
|
73 |
|
6603
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
74 |
|
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
75 |
This copyright header is present in all TIDY source code files. It always |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
76 |
references the file tidy.h as the location of the COPYRIGHT and LICENSE |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
77 |
information. |
82e0c142e47f
23094084 Upgrade tidy to version 5.2.0
Rich Burridge <rich.burridge@oracle.com>
parents:
1380
diff
changeset
|
78 |
The copyright start and end years vary from file to file. |