aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Communications/Cache/AssetCache.cs4
-rw-r--r--OpenSim/Region/ClientStack/ClientStackManager.cs2
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs11
-rw-r--r--ThirdPartyLicenses/GTCache.txt954
4 files changed, 486 insertions, 485 deletions
diff --git a/OpenSim/Framework/Communications/Cache/AssetCache.cs b/OpenSim/Framework/Communications/Cache/AssetCache.cs
index 9ec5a98..d988032 100644
--- a/OpenSim/Framework/Communications/Cache/AssetCache.cs
+++ b/OpenSim/Framework/Communications/Cache/AssetCache.cs
@@ -177,7 +177,7 @@ namespace OpenSim.Framework.Communications.Cache
177 public bool TryGetCachedAsset(UUID assetId, out AssetBase asset) 177 public bool TryGetCachedAsset(UUID assetId, out AssetBase asset)
178 { 178 {
179 Object tmp; 179 Object tmp;
180 if(m_memcache.TryGet(assetId, out tmp)) 180 if (m_memcache.TryGet(assetId, out tmp))
181 { 181 {
182 asset = (AssetBase)tmp; 182 asset = (AssetBase)tmp;
183 //m_log.Info("Retrieved from cache " + assetId); 183 //m_log.Info("Retrieved from cache " + assetId);
@@ -337,7 +337,7 @@ namespace OpenSim.Framework.Communications.Cache
337 // in the 2 caches differently. Also, locks are probably 337 // in the 2 caches differently. Also, locks are probably
338 // needed in all of this, or move to synchronized non 338 // needed in all of this, or move to synchronized non
339 // generic forms for Dictionaries. 339 // generic forms for Dictionaries.
340 if(m_memcache.Contains(uuid)) 340 if (m_memcache.Contains(uuid))
341 { 341 {
342 m_memcache.Remove(uuid); 342 m_memcache.Remove(uuid);
343 } 343 }
diff --git a/OpenSim/Region/ClientStack/ClientStackManager.cs b/OpenSim/Region/ClientStack/ClientStackManager.cs
index 098466d..6bc4c4b 100644
--- a/OpenSim/Region/ClientStack/ClientStackManager.cs
+++ b/OpenSim/Region/ClientStack/ClientStackManager.cs
@@ -69,7 +69,7 @@ namespace OpenSim.Region.Environment
69 } 69 }
70 } catch (ReflectionTypeLoadException e) 70 } catch (ReflectionTypeLoadException e)
71 { 71 {
72 foreach(Exception e2 in e.LoaderExceptions) 72 foreach (Exception e2 in e.LoaderExceptions)
73 { 73 {
74 m_log.Error(e2.ToString()); 74 m_log.Error(e2.ToString());
75 } 75 }
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 7de6fd1..f686a9f 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -1826,11 +1826,12 @@ namespace OpenSim.Region.Environment.Scenes
1826 { 1826 {
1827 //SceneObjectPart rootPart = group.GetChildPart(group.UUID); 1827 //SceneObjectPart rootPart = group.GetChildPart(group.UUID);
1828 1828
1829 // Serialise calls to RemoveScriptInstances to avoid 1829 // Serialise calls to RemoveScriptInstances to avoid
1830 // deadlocking on m_parts inside SceneObjectGroup 1830 // deadlocking on m_parts inside SceneObjectGroup
1831 lock (m_deleting_scene_object) { 1831 lock (m_deleting_scene_object)
1832 group.RemoveScriptInstances(); 1832 {
1833 } 1833 group.RemoveScriptInstances();
1834 }
1834 1835
1835 foreach (SceneObjectPart part in group.Children.Values) 1836 foreach (SceneObjectPart part in group.Children.Values)
1836 { 1837 {
diff --git a/ThirdPartyLicenses/GTCache.txt b/ThirdPartyLicenses/GTCache.txt
index 2dd3a10..0e3496f 100644
--- a/ThirdPartyLicenses/GTCache.txt
+++ b/ThirdPartyLicenses/GTCache.txt
@@ -1,477 +1,477 @@
1GlynnTucker.Cache 1GlynnTucker.Cache
2 2
3http://gtcache.sourceforge.net/ 3http://gtcache.sourceforge.net/
4 4
5The GlynnTucker.Cache assembly provides a data structure for caching slow data retrievals, for example data retrieved from a database server over the network. Think of it as a Hashtable that can automatically expire its data after a set amount of time or a specified period of inactivity, on a per-object basis. It is written in C# and dual licensed under the GPL/MPL, it should work with any .NET language. 5The GlynnTucker.Cache assembly provides a data structure for caching slow data retrievals, for example data retrieved from a database server over the network. Think of it as a Hashtable that can automatically expire its data after a set amount of time or a specified period of inactivity, on a per-object basis. It is written in C# and dual licensed under the GPL/MPL, it should work with any .NET language.
6 6
7 7
8 MOZILLA PUBLIC LICENSE 8 MOZILLA PUBLIC LICENSE
9 Version 1.1 9 Version 1.1
10 10
11 --------------- 11 ---------------
12 12
131. Definitions. 131. Definitions.
14 14
15 1.0.1. "Commercial Use" means distribution or otherwise making the 15 1.0.1. "Commercial Use" means distribution or otherwise making the
16 Covered Code available to a third party. 16 Covered Code available to a third party.
17 17
18 1.1. "Contributor" means each entity that creates or contributes to 18 1.1. "Contributor" means each entity that creates or contributes to
19 the creation of Modifications. 19 the creation of Modifications.
20 20
21 1.2. "Contributor Version" means the combination of the Original 21 1.2. "Contributor Version" means the combination of the Original
22 Code, prior Modifications used by a Contributor, and the Modifications 22 Code, prior Modifications used by a Contributor, and the Modifications
23 made by that particular Contributor. 23 made by that particular Contributor.
24 24
25 1.3. "Covered Code" means the Original Code or Modifications or the 25 1.3. "Covered Code" means the Original Code or Modifications or the
26 combination of the Original Code and Modifications, in each case 26 combination of the Original Code and Modifications, in each case
27 including portions thereof. 27 including portions thereof.
28 28
29 1.4. "Electronic Distribution Mechanism" means a mechanism generally 29 1.4. "Electronic Distribution Mechanism" means a mechanism generally
30 accepted in the software development community for the electronic 30 accepted in the software development community for the electronic
31 transfer of data. 31 transfer of data.
32 32
33 1.5. "Executable" means Covered Code in any form other than Source 33 1.5. "Executable" means Covered Code in any form other than Source
34 Code. 34 Code.
35 35
36 1.6. "Initial Developer" means the individual or entity identified 36 1.6. "Initial Developer" means the individual or entity identified
37 as the Initial Developer in the Source Code notice required by Exhibit 37 as the Initial Developer in the Source Code notice required by Exhibit
38 A. 38 A.
39 39
40 1.7. "Larger Work" means a work which combines Covered Code or 40 1.7. "Larger Work" means a work which combines Covered Code or
41 portions thereof with code not governed by the terms of this License. 41 portions thereof with code not governed by the terms of this License.
42 42
43 1.8. "License" means this document. 43 1.8. "License" means this document.
44 44
45 1.8.1. "Licensable" means having the right to grant, to the maximum 45 1.8.1. "Licensable" means having the right to grant, to the maximum
46 extent possible, whether at the time of the initial grant or 46 extent possible, whether at the time of the initial grant or
47 subsequently acquired, any and all of the rights conveyed herein. 47 subsequently acquired, any and all of the rights conveyed herein.
48 48
49 1.9. "Modifications" means any addition to or deletion from the 49 1.9. "Modifications" means any addition to or deletion from the
50 substance or structure of either the Original Code or any previous 50 substance or structure of either the Original Code or any previous
51 Modifications. When Covered Code is released as a series of files, a 51 Modifications. When Covered Code is released as a series of files, a
52 Modification is: 52 Modification is:
53 A. Any addition to or deletion from the contents of a file 53 A. Any addition to or deletion from the contents of a file
54 containing Original Code or previous Modifications. 54 containing Original Code or previous Modifications.
55 55
56 B. Any new file that contains any part of the Original Code or 56 B. Any new file that contains any part of the Original Code or
57 previous Modifications. 57 previous Modifications.
58 58
59 1.10. "Original Code" means Source Code of computer software code 59 1.10. "Original Code" means Source Code of computer software code
60 which is described in the Source Code notice required by Exhibit A as 60 which is described in the Source Code notice required by Exhibit A as
61 Original Code, and which, at the time of its release under this 61 Original Code, and which, at the time of its release under this
62 License is not already Covered Code governed by this License. 62 License is not already Covered Code governed by this License.
63 63
64 1.10.1. "Patent Claims" means any patent claim(s), now owned or 64 1.10.1. "Patent Claims" means any patent claim(s), now owned or
65 hereafter acquired, including without limitation, method, process, 65 hereafter acquired, including without limitation, method, process,
66 and apparatus claims, in any patent Licensable by grantor. 66 and apparatus claims, in any patent Licensable by grantor.
67 67
68 1.11. "Source Code" means the preferred form of the Covered Code for 68 1.11. "Source Code" means the preferred form of the Covered Code for
69 making modifications to it, including all modules it contains, plus 69 making modifications to it, including all modules it contains, plus
70 any associated interface definition files, scripts used to control 70 any associated interface definition files, scripts used to control
71 compilation and installation of an Executable, or source code 71 compilation and installation of an Executable, or source code
72 differential comparisons against either the Original Code or another 72 differential comparisons against either the Original Code or another
73 well known, available Covered Code of the Contributor's choice. The 73 well known, available Covered Code of the Contributor's choice. The
74 Source Code can be in a compressed or archival form, provided the 74 Source Code can be in a compressed or archival form, provided the
75 appropriate decompression or de-archiving software is widely available 75 appropriate decompression or de-archiving software is widely available
76 for no charge. 76 for no charge.
77 77
78 1.12. "You" (or "Your") means an individual or a legal entity 78 1.12. "You" (or "Your") means an individual or a legal entity
79 exercising rights under, and complying with all of the terms of, this 79 exercising rights under, and complying with all of the terms of, this
80 License or a future version of this License issued under Section 6.1. 80 License or a future version of this License issued under Section 6.1.
81 For legal entities, "You" includes any entity which controls, is 81 For legal entities, "You" includes any entity which controls, is
82 controlled by, or is under common control with You. For purposes of 82 controlled by, or is under common control with You. For purposes of
83 this definition, "control" means (a) the power, direct or indirect, 83 this definition, "control" means (a) the power, direct or indirect,
84 to cause the direction or management of such entity, whether by 84 to cause the direction or management of such entity, whether by
85 contract or otherwise, or (b) ownership of more than fifty percent 85 contract or otherwise, or (b) ownership of more than fifty percent
86 (50%) of the outstanding shares or beneficial ownership of such 86 (50%) of the outstanding shares or beneficial ownership of such
87 entity. 87 entity.
88 88
892. Source Code License. 892. Source Code License.
90 90
91 2.1. The Initial Developer Grant. 91 2.1. The Initial Developer Grant.
92 The Initial Developer hereby grants You a world-wide, royalty-free, 92 The Initial Developer hereby grants You a world-wide, royalty-free,
93 non-exclusive license, subject to third party intellectual property 93 non-exclusive license, subject to third party intellectual property
94 claims: 94 claims:
95 (a) under intellectual property rights (other than patent or 95 (a) under intellectual property rights (other than patent or
96 trademark) Licensable by Initial Developer to use, reproduce, 96 trademark) Licensable by Initial Developer to use, reproduce,
97 modify, display, perform, sublicense and distribute the Original 97 modify, display, perform, sublicense and distribute the Original
98 Code (or portions thereof) with or without Modifications, and/or 98 Code (or portions thereof) with or without Modifications, and/or
99 as part of a Larger Work; and 99 as part of a Larger Work; and
100 100
101 (b) under Patents Claims infringed by the making, using or 101 (b) under Patents Claims infringed by the making, using or
102 selling of Original Code, to make, have made, use, practice, 102 selling of Original Code, to make, have made, use, practice,
103 sell, and offer for sale, and/or otherwise dispose of the 103 sell, and offer for sale, and/or otherwise dispose of the
104 Original Code (or portions thereof). 104 Original Code (or portions thereof).
105 105
106 (c) the licenses granted in this Section 2.1(a) and (b) are 106 (c) the licenses granted in this Section 2.1(a) and (b) are
107 effective on the date Initial Developer first distributes 107 effective on the date Initial Developer first distributes
108 Original Code under the terms of this License. 108 Original Code under the terms of this License.
109 109
110 (d) Notwithstanding Section 2.1(b) above, no patent license is 110 (d) Notwithstanding Section 2.1(b) above, no patent license is
111 granted: 1) for code that You delete from the Original Code; 2) 111 granted: 1) for code that You delete from the Original Code; 2)
112 separate from the Original Code; or 3) for infringements caused 112 separate from the Original Code; or 3) for infringements caused
113 by: i) the modification of the Original Code or ii) the 113 by: i) the modification of the Original Code or ii) the
114 combination of the Original Code with other software or devices. 114 combination of the Original Code with other software or devices.
115 115
116 2.2. Contributor Grant. 116 2.2. Contributor Grant.
117 Subject to third party intellectual property claims, each Contributor 117 Subject to third party intellectual property claims, each Contributor
118 hereby grants You a world-wide, royalty-free, non-exclusive license 118 hereby grants You a world-wide, royalty-free, non-exclusive license
119 119
120 (a) under intellectual property rights (other than patent or 120 (a) under intellectual property rights (other than patent or
121 trademark) Licensable by Contributor, to use, reproduce, modify, 121 trademark) Licensable by Contributor, to use, reproduce, modify,
122 display, perform, sublicense and distribute the Modifications 122 display, perform, sublicense and distribute the Modifications
123 created by such Contributor (or portions thereof) either on an 123 created by such Contributor (or portions thereof) either on an
124 unmodified basis, with other Modifications, as Covered Code 124 unmodified basis, with other Modifications, as Covered Code
125 and/or as part of a Larger Work; and 125 and/or as part of a Larger Work; and
126 126
127 (b) under Patent Claims infringed by the making, using, or 127 (b) under Patent Claims infringed by the making, using, or
128 selling of Modifications made by that Contributor either alone 128 selling of Modifications made by that Contributor either alone
129 and/or in combination with its Contributor Version (or portions 129 and/or in combination with its Contributor Version (or portions
130 of such combination), to make, use, sell, offer for sale, have 130 of such combination), to make, use, sell, offer for sale, have
131 made, and/or otherwise dispose of: 1) Modifications made by that 131 made, and/or otherwise dispose of: 1) Modifications made by that
132 Contributor (or portions thereof); and 2) the combination of 132 Contributor (or portions thereof); and 2) the combination of
133 Modifications made by that Contributor with its Contributor 133 Modifications made by that Contributor with its Contributor
134 Version (or portions of such combination). 134 Version (or portions of such combination).
135 135
136 (c) the licenses granted in Sections 2.2(a) and 2.2(b) are 136 (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
137 effective on the date Contributor first makes Commercial Use of 137 effective on the date Contributor first makes Commercial Use of
138 the Covered Code. 138 the Covered Code.
139 139
140 (d) Notwithstanding Section 2.2(b) above, no patent license is 140 (d) Notwithstanding Section 2.2(b) above, no patent license is
141 granted: 1) for any code that Contributor has deleted from the 141 granted: 1) for any code that Contributor has deleted from the
142 Contributor Version; 2) separate from the Contributor Version; 142 Contributor Version; 2) separate from the Contributor Version;
143 3) for infringements caused by: i) third party modifications of 143 3) for infringements caused by: i) third party modifications of
144 Contributor Version or ii) the combination of Modifications made 144 Contributor Version or ii) the combination of Modifications made
145 by that Contributor with other software (except as part of the 145 by that Contributor with other software (except as part of the
146 Contributor Version) or other devices; or 4) under Patent Claims 146 Contributor Version) or other devices; or 4) under Patent Claims
147 infringed by Covered Code in the absence of Modifications made by 147 infringed by Covered Code in the absence of Modifications made by
148 that Contributor. 148 that Contributor.
149 149
1503. Distribution Obligations. 1503. Distribution Obligations.
151 151
152 3.1. Application of License. 152 3.1. Application of License.
153 The Modifications which You create or to which You contribute are 153 The Modifications which You create or to which You contribute are
154 governed by the terms of this License, including without limitation 154 governed by the terms of this License, including without limitation
155 Section 2.2. The Source Code version of Covered Code may be 155 Section 2.2. The Source Code version of Covered Code may be
156 distributed only under the terms of this License or a future version 156 distributed only under the terms of this License or a future version
157 of this License released under Section 6.1, and You must include a 157 of this License released under Section 6.1, and You must include a
158 copy of this License with every copy of the Source Code You 158 copy of this License with every copy of the Source Code You
159 distribute. You may not offer or impose any terms on any Source Code 159 distribute. You may not offer or impose any terms on any Source Code
160 version that alters or restricts the applicable version of this 160 version that alters or restricts the applicable version of this
161 License or the recipients' rights hereunder. However, You may include 161 License or the recipients' rights hereunder. However, You may include
162 an additional document offering the additional rights described in 162 an additional document offering the additional rights described in
163 Section 3.5. 163 Section 3.5.
164 164
165 3.2. Availability of Source Code. 165 3.2. Availability of Source Code.
166 Any Modification which You create or to which You contribute must be 166 Any Modification which You create or to which You contribute must be
167 made available in Source Code form under the terms of this License 167 made available in Source Code form under the terms of this License
168 either on the same media as an Executable version or via an accepted 168 either on the same media as an Executable version or via an accepted
169 Electronic Distribution Mechanism to anyone to whom you made an 169 Electronic Distribution Mechanism to anyone to whom you made an
170 Executable version available; and if made available via Electronic 170 Executable version available; and if made available via Electronic
171 Distribution Mechanism, must remain available for at least twelve (12) 171 Distribution Mechanism, must remain available for at least twelve (12)
172 months after the date it initially became available, or at least six 172 months after the date it initially became available, or at least six
173 (6) months after a subsequent version of that particular Modification 173 (6) months after a subsequent version of that particular Modification
174 has been made available to such recipients. You are responsible for 174 has been made available to such recipients. You are responsible for
175 ensuring that the Source Code version remains available even if the 175 ensuring that the Source Code version remains available even if the
176 Electronic Distribution Mechanism is maintained by a third party. 176 Electronic Distribution Mechanism is maintained by a third party.
177 177
178 3.3. Description of Modifications. 178 3.3. Description of Modifications.
179 You must cause all Covered Code to which You contribute to contain a 179 You must cause all Covered Code to which You contribute to contain a
180 file documenting the changes You made to create that Covered Code and 180 file documenting the changes You made to create that Covered Code and
181 the date of any change. You must include a prominent statement that 181 the date of any change. You must include a prominent statement that
182 the Modification is derived, directly or indirectly, from Original 182 the Modification is derived, directly or indirectly, from Original
183 Code provided by the Initial Developer and including the name of the 183 Code provided by the Initial Developer and including the name of the
184 Initial Developer in (a) the Source Code, and (b) in any notice in an 184 Initial Developer in (a) the Source Code, and (b) in any notice in an
185 Executable version or related documentation in which You describe the 185 Executable version or related documentation in which You describe the
186 origin or ownership of the Covered Code. 186 origin or ownership of the Covered Code.
187 187
188 3.4. Intellectual Property Matters 188 3.4. Intellectual Property Matters
189 (a) Third Party Claims. 189 (a) Third Party Claims.
190 If Contributor has knowledge that a license under a third party's 190 If Contributor has knowledge that a license under a third party's
191 intellectual property rights is required to exercise the rights 191 intellectual property rights is required to exercise the rights
192 granted by such Contributor under Sections 2.1 or 2.2, 192 granted by such Contributor under Sections 2.1 or 2.2,
193 Contributor must include a text file with the Source Code 193 Contributor must include a text file with the Source Code
194 distribution titled "LEGAL" which describes the claim and the 194 distribution titled "LEGAL" which describes the claim and the
195 party making the claim in sufficient detail that a recipient will 195 party making the claim in sufficient detail that a recipient will
196 know whom to contact. If Contributor obtains such knowledge after 196 know whom to contact. If Contributor obtains such knowledge after
197 the Modification is made available as described in Section 3.2, 197 the Modification is made available as described in Section 3.2,
198 Contributor shall promptly modify the LEGAL file in all copies 198 Contributor shall promptly modify the LEGAL file in all copies
199 Contributor makes available thereafter and shall take other steps 199 Contributor makes available thereafter and shall take other steps
200 (such as notifying appropriate mailing lists or newsgroups) 200 (such as notifying appropriate mailing lists or newsgroups)
201 reasonably calculated to inform those who received the Covered 201 reasonably calculated to inform those who received the Covered
202 Code that new knowledge has been obtained. 202 Code that new knowledge has been obtained.
203 203
204 (b) Contributor APIs. 204 (b) Contributor APIs.
205 If Contributor's Modifications include an application programming 205 If Contributor's Modifications include an application programming
206 interface and Contributor has knowledge of patent licenses which 206 interface and Contributor has knowledge of patent licenses which
207 are reasonably necessary to implement that API, Contributor must 207 are reasonably necessary to implement that API, Contributor must
208 also include this information in the LEGAL file. 208 also include this information in the LEGAL file.
209 209
210 (c) Representations. 210 (c) Representations.
211 Contributor represents that, except as disclosed pursuant to 211 Contributor represents that, except as disclosed pursuant to
212 Section 3.4(a) above, Contributor believes that Contributor's 212 Section 3.4(a) above, Contributor believes that Contributor's
213 Modifications are Contributor's original creation(s) and/or 213 Modifications are Contributor's original creation(s) and/or
214 Contributor has sufficient rights to grant the rights conveyed by 214 Contributor has sufficient rights to grant the rights conveyed by
215 this License. 215 this License.
216 216
217 3.5. Required Notices. 217 3.5. Required Notices.
218 You must duplicate the notice in Exhibit A in each file of the Source 218 You must duplicate the notice in Exhibit A in each file of the Source
219 Code. If it is not possible to put such notice in a particular Source 219 Code. If it is not possible to put such notice in a particular Source
220 Code file due to its structure, then You must include such notice in a 220 Code file due to its structure, then You must include such notice in a
221 location (such as a relevant directory) where a user would be likely 221 location (such as a relevant directory) where a user would be likely
222 to look for such a notice. If You created one or more Modification(s) 222 to look for such a notice. If You created one or more Modification(s)
223 You may add your name as a Contributor to the notice described in 223 You may add your name as a Contributor to the notice described in
224 Exhibit A. You must also duplicate this License in any documentation 224 Exhibit A. You must also duplicate this License in any documentation
225 for the Source Code where You describe recipients' rights or ownership 225 for the Source Code where You describe recipients' rights or ownership
226 rights relating to Covered Code. You may choose to offer, and to 226 rights relating to Covered Code. You may choose to offer, and to
227 charge a fee for, warranty, support, indemnity or liability 227 charge a fee for, warranty, support, indemnity or liability
228 obligations to one or more recipients of Covered Code. However, You 228 obligations to one or more recipients of Covered Code. However, You
229 may do so only on Your own behalf, and not on behalf of the Initial 229 may do so only on Your own behalf, and not on behalf of the Initial
230 Developer or any Contributor. You must make it absolutely clear than 230 Developer or any Contributor. You must make it absolutely clear than
231 any such warranty, support, indemnity or liability obligation is 231 any such warranty, support, indemnity or liability obligation is
232 offered by You alone, and You hereby agree to indemnify the Initial 232 offered by You alone, and You hereby agree to indemnify the Initial
233 Developer and every Contributor for any liability incurred by the 233 Developer and every Contributor for any liability incurred by the
234 Initial Developer or such Contributor as a result of warranty, 234 Initial Developer or such Contributor as a result of warranty,
235 support, indemnity or liability terms You offer. 235 support, indemnity or liability terms You offer.
236 236
237 3.6. Distribution of Executable Versions. 237 3.6. Distribution of Executable Versions.
238 You may distribute Covered Code in Executable form only if the 238 You may distribute Covered Code in Executable form only if the
239 requirements of Section 3.1-3.5 have been met for that Covered Code, 239 requirements of Section 3.1-3.5 have been met for that Covered Code,
240 and if You include a notice stating that the Source Code version of 240 and if You include a notice stating that the Source Code version of
241 the Covered Code is available under the terms of this License, 241 the Covered Code is available under the terms of this License,
242 including a description of how and where You have fulfilled the 242 including a description of how and where You have fulfilled the
243 obligations of Section 3.2. The notice must be conspicuously included 243 obligations of Section 3.2. The notice must be conspicuously included
244 in any notice in an Executable version, related documentation or 244 in any notice in an Executable version, related documentation or
245 collateral in which You describe recipients' rights relating to the 245 collateral in which You describe recipients' rights relating to the
246 Covered Code. You may distribute the Executable version of Covered 246 Covered Code. You may distribute the Executable version of Covered
247 Code or ownership rights under a license of Your choice, which may 247 Code or ownership rights under a license of Your choice, which may
248 contain terms different from this License, provided that You are in 248 contain terms different from this License, provided that You are in
249 compliance with the terms of this License and that the license for the 249 compliance with the terms of this License and that the license for the
250 Executable version does not attempt to limit or alter the recipient's 250 Executable version does not attempt to limit or alter the recipient's
251 rights in the Source Code version from the rights set forth in this 251 rights in the Source Code version from the rights set forth in this
252 License. If You distribute the Executable version under a different 252 License. If You distribute the Executable version under a different
253 license You must make it absolutely clear that any terms which differ 253 license You must make it absolutely clear that any terms which differ
254 from this License are offered by You alone, not by the Initial 254 from this License are offered by You alone, not by the Initial
255 Developer or any Contributor. You hereby agree to indemnify the 255 Developer or any Contributor. You hereby agree to indemnify the
256 Initial Developer and every Contributor for any liability incurred by 256 Initial Developer and every Contributor for any liability incurred by
257 the Initial Developer or such Contributor as a result of any such 257 the Initial Developer or such Contributor as a result of any such
258 terms You offer. 258 terms You offer.
259 259
260 3.7. Larger Works. 260 3.7. Larger Works.
261 You may create a Larger Work by combining Covered Code with other code 261 You may create a Larger Work by combining Covered Code with other code
262 not governed by the terms of this License and distribute the Larger 262 not governed by the terms of this License and distribute the Larger
263 Work as a single product. In such a case, You must make sure the 263 Work as a single product. In such a case, You must make sure the
264 requirements of this License are fulfilled for the Covered Code. 264 requirements of this License are fulfilled for the Covered Code.
265 265
2664. Inability to Comply Due to Statute or Regulation. 2664. Inability to Comply Due to Statute or Regulation.
267 267
268 If it is impossible for You to comply with any of the terms of this 268 If it is impossible for You to comply with any of the terms of this
269 License with respect to some or all of the Covered Code due to 269 License with respect to some or all of the Covered Code due to
270 statute, judicial order, or regulation then You must: (a) comply with 270 statute, judicial order, or regulation then You must: (a) comply with
271 the terms of this License to the maximum extent possible; and (b) 271 the terms of this License to the maximum extent possible; and (b)
272 describe the limitations and the code they affect. Such description 272 describe the limitations and the code they affect. Such description
273 must be included in the LEGAL file described in Section 3.4 and must 273 must be included in the LEGAL file described in Section 3.4 and must
274 be included with all distributions of the Source Code. Except to the 274 be included with all distributions of the Source Code. Except to the
275 extent prohibited by statute or regulation, such description must be 275 extent prohibited by statute or regulation, such description must be
276 sufficiently detailed for a recipient of ordinary skill to be able to 276 sufficiently detailed for a recipient of ordinary skill to be able to
277 understand it. 277 understand it.
278 278
2795. Application of this License. 2795. Application of this License.
280 280
281 This License applies to code to which the Initial Developer has 281 This License applies to code to which the Initial Developer has
282 attached the notice in Exhibit A and to related Covered Code. 282 attached the notice in Exhibit A and to related Covered Code.
283 283
2846. Versions of the License. 2846. Versions of the License.
285 285
286 6.1. New Versions. 286 6.1. New Versions.
287 Netscape Communications Corporation ("Netscape") may publish revised 287 Netscape Communications Corporation ("Netscape") may publish revised
288 and/or new versions of the License from time to time. Each version 288 and/or new versions of the License from time to time. Each version
289 will be given a distinguishing version number. 289 will be given a distinguishing version number.
290 290
291 6.2. Effect of New Versions. 291 6.2. Effect of New Versions.
292 Once Covered Code has been published under a particular version of the 292 Once Covered Code has been published under a particular version of the
293 License, You may always continue to use it under the terms of that 293 License, You may always continue to use it under the terms of that
294 version. You may also choose to use such Covered Code under the terms 294 version. You may also choose to use such Covered Code under the terms
295 of any subsequent version of the License published by Netscape. No one 295 of any subsequent version of the License published by Netscape. No one
296 other than Netscape has the right to modify the terms applicable to 296 other than Netscape has the right to modify the terms applicable to
297 Covered Code created under this License. 297 Covered Code created under this License.
298 298
299 6.3. Derivative Works. 299 6.3. Derivative Works.
300 If You create or use a modified version of this License (which you may 300 If You create or use a modified version of this License (which you may
301 only do in order to apply it to code which is not already Covered Code 301 only do in order to apply it to code which is not already Covered Code
302 governed by this License), You must (a) rename Your license so that 302 governed by this License), You must (a) rename Your license so that
303 the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", 303 the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
304 "MPL", "NPL" or any confusingly similar phrase do not appear in your 304 "MPL", "NPL" or any confusingly similar phrase do not appear in your
305 license (except to note that your license differs from this License) 305 license (except to note that your license differs from this License)
306 and (b) otherwise make it clear that Your version of the license 306 and (b) otherwise make it clear that Your version of the license
307 contains terms which differ from the Mozilla Public License and 307 contains terms which differ from the Mozilla Public License and
308 Netscape Public License. (Filling in the name of the Initial 308 Netscape Public License. (Filling in the name of the Initial
309 Developer, Original Code or Contributor in the notice described in 309 Developer, Original Code or Contributor in the notice described in
310 Exhibit A shall not of themselves be deemed to be modifications of 310 Exhibit A shall not of themselves be deemed to be modifications of
311 this License.) 311 this License.)
312 312
3137. DISCLAIMER OF WARRANTY. 3137. DISCLAIMER OF WARRANTY.
314 314
315 COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, 315 COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
316 WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, 316 WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
317 WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF 317 WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
318 DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. 318 DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
319 THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE 319 THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
320 IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, 320 IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
321 YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE 321 YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
322 COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER 322 COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
323 OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF 323 OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
324 ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. 324 ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
325 325
3268. TERMINATION. 3268. TERMINATION.
327 327
328 8.1. This License and the rights granted hereunder will terminate 328 8.1. This License and the rights granted hereunder will terminate
329 automatically if You fail to comply with terms herein and fail to cure 329 automatically if You fail to comply with terms herein and fail to cure
330 such breach within 30 days of becoming aware of the breach. All 330 such breach within 30 days of becoming aware of the breach. All
331 sublicenses to the Covered Code which are properly granted shall 331 sublicenses to the Covered Code which are properly granted shall
332 survive any termination of this License. Provisions which, by their 332 survive any termination of this License. Provisions which, by their
333 nature, must remain in effect beyond the termination of this License 333 nature, must remain in effect beyond the termination of this License
334 shall survive. 334 shall survive.
335 335
336 8.2. If You initiate litigation by asserting a patent infringement 336 8.2. If You initiate litigation by asserting a patent infringement
337 claim (excluding declatory judgment actions) against Initial Developer 337 claim (excluding declatory judgment actions) against Initial Developer
338 or a Contributor (the Initial Developer or Contributor against whom 338 or a Contributor (the Initial Developer or Contributor against whom
339 You file such action is referred to as "Participant") alleging that: 339 You file such action is referred to as "Participant") alleging that:
340 340
341 (a) such Participant's Contributor Version directly or indirectly 341 (a) such Participant's Contributor Version directly or indirectly
342 infringes any patent, then any and all rights granted by such 342 infringes any patent, then any and all rights granted by such
343 Participant to You under Sections 2.1 and/or 2.2 of this License 343 Participant to You under Sections 2.1 and/or 2.2 of this License
344 shall, upon 60 days notice from Participant terminate prospectively, 344 shall, upon 60 days notice from Participant terminate prospectively,
345 unless if within 60 days after receipt of notice You either: (i) 345 unless if within 60 days after receipt of notice You either: (i)
346 agree in writing to pay Participant a mutually agreeable reasonable 346 agree in writing to pay Participant a mutually agreeable reasonable
347 royalty for Your past and future use of Modifications made by such 347 royalty for Your past and future use of Modifications made by such
348 Participant, or (ii) withdraw Your litigation claim with respect to 348 Participant, or (ii) withdraw Your litigation claim with respect to
349 the Contributor Version against such Participant. If within 60 days 349 the Contributor Version against such Participant. If within 60 days
350 of notice, a reasonable royalty and payment arrangement are not 350 of notice, a reasonable royalty and payment arrangement are not
351 mutually agreed upon in writing by the parties or the litigation claim 351 mutually agreed upon in writing by the parties or the litigation claim
352 is not withdrawn, the rights granted by Participant to You under 352 is not withdrawn, the rights granted by Participant to You under
353 Sections 2.1 and/or 2.2 automatically terminate at the expiration of 353 Sections 2.1 and/or 2.2 automatically terminate at the expiration of
354 the 60 day notice period specified above. 354 the 60 day notice period specified above.
355 355
356 (b) any software, hardware, or device, other than such Participant's 356 (b) any software, hardware, or device, other than such Participant's
357 Contributor Version, directly or indirectly infringes any patent, then 357 Contributor Version, directly or indirectly infringes any patent, then
358 any rights granted to You by such Participant under Sections 2.1(b) 358 any rights granted to You by such Participant under Sections 2.1(b)
359 and 2.2(b) are revoked effective as of the date You first made, used, 359 and 2.2(b) are revoked effective as of the date You first made, used,
360 sold, distributed, or had made, Modifications made by that 360 sold, distributed, or had made, Modifications made by that
361 Participant. 361 Participant.
362 362
363 8.3. If You assert a patent infringement claim against Participant 363 8.3. If You assert a patent infringement claim against Participant
364 alleging that such Participant's Contributor Version directly or 364 alleging that such Participant's Contributor Version directly or
365 indirectly infringes any patent where such claim is resolved (such as 365 indirectly infringes any patent where such claim is resolved (such as
366 by license or settlement) prior to the initiation of patent 366 by license or settlement) prior to the initiation of patent
367 infringement litigation, then the reasonable value of the licenses 367 infringement litigation, then the reasonable value of the licenses
368 granted by such Participant under Sections 2.1 or 2.2 shall be taken 368 granted by such Participant under Sections 2.1 or 2.2 shall be taken
369 into account in determining the amount or value of any payment or 369 into account in determining the amount or value of any payment or
370 license. 370 license.
371 371
372 8.4. In the event of termination under Sections 8.1 or 8.2 above, 372 8.4. In the event of termination under Sections 8.1 or 8.2 above,
373 all end user license agreements (excluding distributors and resellers) 373 all end user license agreements (excluding distributors and resellers)
374 which have been validly granted by You or any distributor hereunder 374 which have been validly granted by You or any distributor hereunder
375 prior to termination shall survive termination. 375 prior to termination shall survive termination.
376 376
3779. LIMITATION OF LIABILITY. 3779. LIMITATION OF LIABILITY.
378 378
379 UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT 379 UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
380 (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL 380 (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
381 DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, 381 DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
382 OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR 382 OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
383 ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY 383 ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
384 CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, 384 CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
385 WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER 385 WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
386 COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN 386 COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
387 INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF 387 INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
388 LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY 388 LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
389 RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW 389 RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
390 PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE 390 PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
391 EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO 391 EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
392 THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. 392 THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
393 393
39410. U.S. GOVERNMENT END USERS. 39410. U.S. GOVERNMENT END USERS.
395 395
396 The Covered Code is a "commercial item," as that term is defined in 396 The Covered Code is a "commercial item," as that term is defined in
397 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer 397 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
398 software" and "commercial computer software documentation," as such 398 software" and "commercial computer software documentation," as such
399 terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 399 terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
400 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), 400 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
401 all U.S. Government End Users acquire Covered Code with only those 401 all U.S. Government End Users acquire Covered Code with only those
402 rights set forth herein. 402 rights set forth herein.
403 403
40411. MISCELLANEOUS. 40411. MISCELLANEOUS.
405 405
406 This License represents the complete agreement concerning subject 406 This License represents the complete agreement concerning subject
407 matter hereof. If any provision of this License is held to be 407 matter hereof. If any provision of this License is held to be
408 unenforceable, such provision shall be reformed only to the extent 408 unenforceable, such provision shall be reformed only to the extent
409 necessary to make it enforceable. This License shall be governed by 409 necessary to make it enforceable. This License shall be governed by
410 California law provisions (except to the extent applicable law, if 410 California law provisions (except to the extent applicable law, if
411 any, provides otherwise), excluding its conflict-of-law provisions. 411 any, provides otherwise), excluding its conflict-of-law provisions.
412 With respect to disputes in which at least one party is a citizen of, 412 With respect to disputes in which at least one party is a citizen of,
413 or an entity chartered or registered to do business in the United 413 or an entity chartered or registered to do business in the United
414 States of America, any litigation relating to this License shall be 414 States of America, any litigation relating to this License shall be
415 subject to the jurisdiction of the Federal Courts of the Northern 415 subject to the jurisdiction of the Federal Courts of the Northern
416 District of California, with venue lying in Santa Clara County, 416 District of California, with venue lying in Santa Clara County,
417 California, with the losing party responsible for costs, including 417 California, with the losing party responsible for costs, including
418 without limitation, court costs and reasonable attorneys' fees and 418 without limitation, court costs and reasonable attorneys' fees and
419 expenses. The application of the United Nations Convention on 419 expenses. The application of the United Nations Convention on
420 Contracts for the International Sale of Goods is expressly excluded. 420 Contracts for the International Sale of Goods is expressly excluded.
421 Any law or regulation which provides that the language of a contract 421 Any law or regulation which provides that the language of a contract
422 shall be construed against the drafter shall not apply to this 422 shall be construed against the drafter shall not apply to this
423 License. 423 License.
424 424
42512. RESPONSIBILITY FOR CLAIMS. 42512. RESPONSIBILITY FOR CLAIMS.
426 426
427 As between Initial Developer and the Contributors, each party is 427 As between Initial Developer and the Contributors, each party is
428 responsible for claims and damages arising, directly or indirectly, 428 responsible for claims and damages arising, directly or indirectly,
429 out of its utilization of rights under this License and You agree to 429 out of its utilization of rights under this License and You agree to
430 work with Initial Developer and Contributors to distribute such 430 work with Initial Developer and Contributors to distribute such
431 responsibility on an equitable basis. Nothing herein is intended or 431 responsibility on an equitable basis. Nothing herein is intended or
432 shall be deemed to constitute any admission of liability. 432 shall be deemed to constitute any admission of liability.
433 433
43413. MULTIPLE-LICENSED CODE. 43413. MULTIPLE-LICENSED CODE.
435 435
436 Initial Developer may designate portions of the Covered Code as 436 Initial Developer may designate portions of the Covered Code as
437 "Multiple-Licensed". "Multiple-Licensed" means that the Initial 437 "Multiple-Licensed". "Multiple-Licensed" means that the Initial
438 Developer permits you to utilize portions of the Covered Code under 438 Developer permits you to utilize portions of the Covered Code under
439 Your choice of the NPL or the alternative licenses, if any, specified 439 Your choice of the NPL or the alternative licenses, if any, specified
440 by the Initial Developer in the file described in Exhibit A. 440 by the Initial Developer in the file described in Exhibit A.
441 441
442EXHIBIT A -Mozilla Public License. 442EXHIBIT A -Mozilla Public License.
443 443
444 ``The contents of this file are subject to the Mozilla Public License 444 ``The contents of this file are subject to the Mozilla Public License
445 Version 1.1 (the "License"); you may not use this file except in 445 Version 1.1 (the "License"); you may not use this file except in
446 compliance with the License. You may obtain a copy of the License at 446 compliance with the License. You may obtain a copy of the License at
447 http://www.mozilla.org/MPL/ 447 http://www.mozilla.org/MPL/
448 448
449 Software distributed under the License is distributed on an "AS IS" 449 Software distributed under the License is distributed on an "AS IS"
450 basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the 450 basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
451 License for the specific language governing rights and limitations 451 License for the specific language governing rights and limitations
452 under the License. 452 under the License.
453 453
454 The Original Code is ______________________________________. 454 The Original Code is ______________________________________.
455 455
456 The Initial Developer of the Original Code is ________________________. 456 The Initial Developer of the Original Code is ________________________.
457 Portions created by ______________________ are Copyright (C) ______ 457 Portions created by ______________________ are Copyright (C) ______
458 _______________________. All Rights Reserved. 458 _______________________. All Rights Reserved.
459 459
460 Contributor(s): ______________________________________. 460 Contributor(s): ______________________________________.
461 461
462 Alternatively, the contents of this file may be used under the terms 462 Alternatively, the contents of this file may be used under the terms
463 of the _____ license (the "[___] License"), in which case the 463 of the _____ license (the "[___] License"), in which case the
464 provisions of [______] License are applicable instead of those 464 provisions of [______] License are applicable instead of those
465 above. If you wish to allow use of your version of this file only 465 above. If you wish to allow use of your version of this file only
466 under the terms of the [____] License and not to allow others to use 466 under the terms of the [____] License and not to allow others to use
467 your version of this file under the MPL, indicate your decision by 467 your version of this file under the MPL, indicate your decision by
468 deleting the provisions above and replace them with the notice and 468 deleting the provisions above and replace them with the notice and
469 other provisions required by the [___] License. If you do not delete 469 other provisions required by the [___] License. If you do not delete
470 the provisions above, a recipient may use your version of this file 470 the provisions above, a recipient may use your version of this file
471 under either the MPL or the [___] License." 471 under either the MPL or the [___] License."
472 472
473 [NOTE: The text of this Exhibit A may differ slightly from the text of 473 [NOTE: The text of this Exhibit A may differ slightly from the text of
474 the notices in the Source Code files of the Original Code. You should 474 the notices in the Source Code files of the Original Code. You should
475 use the text of this Exhibit A rather than the text found in the 475 use the text of this Exhibit A rather than the text found in the
476 Original Code Source Code for Your Modifications.] 476 Original Code Source Code for Your Modifications.]
477 477