1 Format: http://dep.debian.net/deps/dep5
3 Upstream-Contact: pentadactyl@googlegroups.com
4 Source: http://code.google.com/p/dactyl
7 Copyright: © 2006-2009 Martin Stubenschrott <stubenschrott@vimperator.org>,
8 © 2007-2009 Doug Kearns <dougkearns@gmail.com>,
9 © 2008-2010 Kris Maglione <maglione.k@gmail.com>
12 Files: common/tests/functional/shared-modules/*
13 License: MPL-1.1 or GPL-2+ or LGPL-2.1+
14 The contents of this file are subject to the Mozilla Public License
15 Version 1.1 (the "License"); you may not use this file except in
16 compliance with the License. You may obtain a copy of the License at
17 http://www.mozilla.org/MPL/
19 Software distributed under the License is distributed on an "AS IS"
20 basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
21 License for the specific language governing rights and limitations
24 The Original Code is MozMill Test code.
26 The Initial Developer of the Original Code is Mozilla Foundation.
27 Portions created by the Initial Developer are Copyright (C) the Initial
28 Developer. All Rights Reserved.
30 Alternatively, the contents of this file may be used under the terms of
31 either the GNU General Public License Version 2 or later (the "GPL"),
32 or the GNU Lesser General Public License Version 2.1 or later (the
33 "LGPL"), in which case the provisions of the GPL or the LGPL are
34 applicable instead of those above. If you wish to allow use of your
35 version of this file only under the terms of either the GPL or the
36 LGPL, and not to allow others to use your version of this file under
37 the terms of the MPL, indicate your decision by deleting the provisions
38 above and replace them with the notice and other provisions required by
39 the GPL or the LGPL. If you do not delete the provisions above, a
40 recipient may use your version of this file under the terms of any one
41 of the MPL, the GPL or the LGPL.
44 Copyright: © 2011 Michael Schutte <michi@debian.org>
48 Permission is hereby granted, free of charge, to any person obtaining a
49 copy of this software and associated documentation files (the
50 "Software"), to deal in the Software without restriction, including
51 without limitation the rights to use, copy, modify, merge, publish,
52 distribute, sublicense, and/or sell copies of the Software, and to
53 permit persons to whom the Software is furnished to do so, subject to
54 the following conditions:
56 The above copyright notice and this permission notice shall be included
57 in all copies or substantial portions of the Software.
59 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
60 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
61 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
62 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
63 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
64 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
65 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
68 On Debian GNU/Linux systems, the full text of the oldest applicable
69 version of the GNU General Public License can be found in
70 /usr/share/common-licenses/GPL-2.
73 On Debian GNU/Linux systems, the full text of the oldest applicable
74 version of the GNU Lesser General Public License can be found in
75 /usr/share/common-licenses/LGPL-2.1.
80 1.0.1. "Commercial Use" means distribution or otherwise making
81 the Covered Code available to a third party.
83 1.1. "Contributor" means each entity that creates or contributes
84 to the creation of Modifications.
86 1.2. "Contributor Version" means the combination of the Original
87 Code, prior Modifications used by a Contributor, and the
88 Modifications made by that particular Contributor.
90 1.3. "Covered Code" means the Original Code or Modifications or
91 the combination of the Original Code and Modifications, in each
92 case including portions thereof.
94 1.4. "Electronic Distribution Mechanism" means a mechanism
95 generally accepted in the software development community for the
96 electronic transfer of data.
98 1.5. "Executable" means Covered Code in any form other than
101 1.6. "Initial Developer" means the individual or entity
102 identified as the Initial Developer in the Source Code notice
103 required by Exhibit A.
105 1.7. "Larger Work" means a work which combines Covered Code or
106 portions thereof with code not governed by the terms of this
109 1.8. "License" means this document.
111 1.8.1. "Licensable" means having the right to grant, to the
112 maximum extent possible, whether at the time of the initial grant
113 or subsequently acquired, any and all of the rights conveyed
116 1.9. "Modifications" means any addition to or deletion from
117 the substance or structure of either the Original Code or any
118 previous Modifications. When Covered Code is released as a series
119 of files, a Modification is: A. Any addition to or deletion from
120 the contents of a file containing Original Code or previous
123 B. Any new file that contains any part of the Original Code
124 or previous Modifications.
126 1.10. "Original Code" means Source Code of computer software
127 code which is described in the Source Code notice required by
128 Exhibit A as Original Code, and which, at the time of its release
129 under this License is not already Covered Code governed by this
132 1.10.1. "Patent Claims" means any patent claim(s), now owned
133 or hereafter acquired, including without limitation, method,
134 process, and apparatus claims, in any patent Licensable by
137 1.11. "Source Code" means the preferred form of the Covered
138 Code for making modifications to it, including all modules it
139 contains, plus any associated interface definition files, scripts
140 used to control compilation and installation of an Executable,
141 or source code differential comparisons against either the
142 Original Code or another well known, available Covered Code of
143 the Contributor's choice. The Source Code can be in a compressed
144 or archival form, provided the appropriate decompression or
145 de-archiving software is widely available for no charge.
147 1.12. "You" (or "Your") means an individual or a legal entity
148 exercising rights under, and complying with all of the terms of,
149 this License or a future version of this License issued under
150 Section 6.1. For legal entities, "You" includes any entity which
151 controls, is controlled by, or is under common control with You.
152 For purposes of this definition, "control" means (a) the power,
153 direct or indirect, to cause the direction or management of
154 such entity, whether by contract or otherwise, or (b) ownership
155 of more than fifty percent (50%) of the outstanding shares or
156 beneficial ownership of such entity.
158 2. Source Code License.
160 2.1. The Initial Developer Grant. The Initial Developer hereby
161 grants You a world-wide, royalty-free, non-exclusive license,
162 subject to third party intellectual property claims: (a) under
163 intellectual property rights (other than patent or trademark)
164 Licensable by Initial Developer to use, reproduce, modify,
165 display, perform, sublicense and distribute the Original Code (or
166 portions thereof) with or without Modifications, and/or as part
167 of a Larger Work; and
169 (b) under Patents Claims infringed by the making, using or
170 selling of Original Code, to make, have made, use, practice,
171 sell, and offer for sale, and/or otherwise dispose of the
172 Original Code (or portions thereof).
174 (c) the licenses granted in this Section 2.1(a) and (b) are
175 effective on the date Initial Developer first distributes
176 Original Code under the terms of this License.
178 (d) Notwithstanding Section 2.1(b) above, no patent license
179 is granted: 1) for code that You delete from the Original
180 Code; 2) separate from the Original Code; or 3) for
181 infringements caused by: i) the modification of the Original
182 Code or ii) the combination of the Original Code with other
185 2.2. Contributor Grant. Subject to third party intellectual
186 property claims, each Contributor hereby grants You a world-wide,
187 royalty-free, non-exclusive license
189 (a) under intellectual property rights (other than patent
190 or trademark) Licensable by Contributor, to use, reproduce,
191 modify, display, perform, sublicense and distribute the
192 Modifications created by such Contributor (or portions
193 thereof) either on an unmodified basis, with other
194 Modifications, as Covered Code and/or as part of a Larger
197 (b) under Patent Claims infringed by the making, using, or
198 selling of Modifications made by that Contributor either
199 alone and/or in combination with its Contributor Version
200 (or portions of such combination), to make, use, sell,
201 offer for sale, have made, and/or otherwise dispose of:
202 1) Modifications made by that Contributor (or portions
203 thereof); and 2) the combination of Modifications made by
204 that Contributor with its Contributor Version (or portions
205 of such combination).
207 (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
208 effective on the date Contributor first makes Commercial Use
211 (d) Notwithstanding Section 2.2(b) above, no patent
212 license is granted: 1) for any code that Contributor has
213 deleted from the Contributor Version; 2) separate from the
214 Contributor Version; 3) for infringements caused by: i)
215 third party modifications of Contributor Version or ii) the
216 combination of Modifications made by that Contributor with
217 other software (except as part of the Contributor Version)
218 or other devices; or 4) under Patent Claims infringed by
219 Covered Code in the absence of Modifications made by that
222 3. Distribution Obligations.
224 3.1. Application of License. The Modifications which You create
225 or to which You contribute are governed by the terms of this
226 License, including without limitation Section 2.2. The Source
227 Code version of Covered Code may be distributed only under
228 the terms of this License or a future version of this License
229 released under Section 6.1, and You must include a copy of this
230 License with every copy of the Source Code You distribute. You
231 may not offer or impose any terms on any Source Code version
232 that alters or restricts the applicable version of this License
233 or the recipients' rights hereunder. However, You may include an
234 additional document offering the additional rights described in
237 3.2. Availability of Source Code. Any Modification which You
238 create or to which You contribute must be made available in
239 Source Code form under the terms of this License either on
240 the same media as an Executable version or via an accepted
241 Electronic Distribution Mechanism to anyone to whom you made
242 an Executable version available; and if made available via
243 Electronic Distribution Mechanism, must remain available for
244 at least twelve (12) months after the date it initially became
245 available, or at least six (6) months after a subsequent version
246 of that particular Modification has been made available to such
247 recipients. You are responsible for ensuring that the Source Code
248 version remains available even if the Electronic Distribution
249 Mechanism is maintained by a third party.
251 3.3. Description of Modifications. You must cause all Covered
252 Code to which You contribute to contain a file documenting the
253 changes You made to create that Covered Code and the date of
254 any change. You must include a prominent statement that the
255 Modification is derived, directly or indirectly, from Original
256 Code provided by the Initial Developer and including the name
257 of the Initial Developer in (a) the Source Code, and (b) in any
258 notice in an Executable version or related documentation in which
259 You describe the origin or ownership of the Covered Code.
261 3.4. Intellectual Property Matters (a) Third Party Claims.
262 If Contributor has knowledge that a license under a third
263 party's intellectual property rights is required to exercise
264 the rights granted by such Contributor under Sections 2.1 or
265 2.2, Contributor must include a text file with the Source Code
266 distribution titled "LEGAL" which describes the claim and the
267 party making the claim in sufficient detail that a recipient will
268 know whom to contact. If Contributor obtains such knowledge after
269 the Modification is made available as described in Section 3.2,
270 Contributor shall promptly modify the LEGAL file in all copies
271 Contributor makes available thereafter and shall take other steps
272 (such as notifying appropriate mailing lists or newsgroups)
273 reasonably calculated to inform those who received the Covered
274 Code that new knowledge has been obtained.
276 (b) Contributor APIs. If Contributor's Modifications include
277 an application programming interface and Contributor has
278 knowledge of patent licenses which are reasonably necessary
279 to implement that API, Contributor must also include this
280 information in the LEGAL file.
282 (c) Representations. Contributor represents that,
283 except as disclosed pursuant to Section 3.4(a) above,
284 Contributor believes that Contributor's Modifications are
285 Contributor's original creation(s) and/or Contributor has
286 sufficient rights to grant the rights conveyed by this
289 3.5. Required Notices. You must duplicate the notice in Exhibit
290 A in each file of the Source Code. If it is not possible to
291 put such notice in a particular Source Code file due to its
292 structure, then You must include such notice in a location (such
293 as a relevant directory) where a user would be likely to look for
294 such a notice. If You created one or more Modification(s) You may
295 add your name as a Contributor to the notice described in Exhibit
296 A. You must also duplicate this License in any documentation
297 for the Source Code where You describe recipients' rights or
298 ownership rights relating to Covered Code. You may choose to
299 offer, and to charge a fee for, warranty, support, indemnity
300 or liability obligations to one or more recipients of Covered
301 Code. However, You may do so only on Your own behalf, and not
302 on behalf of the Initial Developer or any Contributor. You
303 must make it absolutely clear than any such warranty, support,
304 indemnity or liability obligation is offered by You alone, and
305 You hereby agree to indemnify the Initial Developer and every
306 Contributor for any liability incurred by the Initial Developer
307 or such Contributor as a result of warranty, support, indemnity
308 or liability terms You offer.
310 3.6. Distribution of Executable Versions. You may distribute
311 Covered Code in Executable form only if the requirements of
312 Section 3.1-3.5 have been met for that Covered Code, and if
313 You include a notice stating that the Source Code version of
314 the Covered Code is available under the terms of this License,
315 including a description of how and where You have fulfilled the
316 obligations of Section 3.2. The notice must be conspicuously
317 included in any notice in an Executable version, related
318 documentation or collateral in which You describe recipients'
319 rights relating to the Covered Code. You may distribute the
320 Executable version of Covered Code or ownership rights under a
321 license of Your choice, which may contain terms different from
322 this License, provided that You are in compliance with the terms
323 of this License and that the license for the Executable version
324 does not attempt to limit or alter the recipient's rights in the
325 Source Code version from the rights set forth in this License. If
326 You distribute the Executable version under a different license
327 You must make it absolutely clear that any terms which differ
328 from this License are offered by You alone, not by the Initial
329 Developer or any Contributor. You hereby agree to indemnify the
330 Initial Developer and every Contributor for any liability incurred
331 by the Initial Developer or such Contributor as a result of any
332 such terms You offer.
334 3.7. Larger Works. You may create a Larger Work by combining
335 Covered Code with other code not governed by the terms of this
336 License and distribute the Larger Work as a single product. In
337 such a case, You must make sure the requirements of this License
338 are fulfilled for the Covered Code.
340 4. Inability to Comply Due to Statute or Regulation.
342 If it is impossible for You to comply with any of the terms
343 of this License with respect to some or all of the Covered
344 Code due to statute, judicial order, or regulation then You
345 must: (a) comply with the terms of this License to the maximum
346 extent possible; and (b) describe the limitations and the
347 code they affect. Such description must be included in the
348 LEGAL file described in Section 3.4 and must be included with
349 all distributions of the Source Code. Except to the extent
350 prohibited by statute or regulation, such description must be
351 sufficiently detailed for a recipient of ordinary skill to be
352 able to understand it.
354 5. Application of this License.
356 This License applies to code to which the Initial Developer has
357 attached the notice in Exhibit A and to related Covered Code.
359 6. Versions of the License.
361 6.1. New Versions. Netscape Communications Corporation
362 ("Netscape") may publish revised and/or new versions of the
363 License from time to time. Each version will be given a
364 distinguishing version number.
366 6.2. Effect of New Versions. Once Covered Code has been published
367 under a particular version of the License, You may always
368 continue to use it under the terms of that version. You may also
369 choose to use such Covered Code under the terms of any subsequent
370 version of the License published by Netscape. No one other than
371 Netscape has the right to modify the terms applicable to Covered
372 Code created under this License.
374 6.3. Derivative Works. If You create or use a modified version
375 of this License (which you may only do in order to apply it to
376 code which is not already Covered Code governed by this License),
377 You must (a) rename Your license so that the phrases "Mozilla",
378 "MOZILLAPL", "MOZPL", "Netscape", "MPL", "NPL" or any confusingly
379 similar phrase do not appear in your license (except to note
380 that your license differs from this License) and (b) otherwise
381 make it clear that Your version of the license contains terms
382 which differ from the Mozilla Public License and Netscape Public
383 License. (Filling in the name of the Initial Developer, Original
384 Code or Contributor in the notice described in Exhibit A shall
385 not of themselves be deemed to be modifications of this License.)
387 7. DISCLAIMER OF WARRANTY.
389 COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
390 WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
391 INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE
392 IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR
393 NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
394 OF THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE
395 DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY
396 OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING,
397 REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN
398 ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS
399 AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
403 8.1. This License and the rights granted hereunder will terminate
404 automatically if You fail to comply with terms herein and fail to
405 cure such breach within 30 days of becoming aware of the breach.
406 All sublicenses to the Covered Code which are properly granted
407 shall survive any termination of this License. Provisions which,
408 by their nature, must remain in effect beyond the termination of
409 this License shall survive.
411 8.2. If You initiate litigation by asserting a patent
412 infringement claim (excluding declatory judgment actions) against
413 Initial Developer or a Contributor (the Initial Developer or
414 Contributor against whom You file such action is referred to as
415 "Participant") alleging that:
417 (a) such Participant's Contributor Version directly or indirectly
418 infringes any patent, then any and all rights granted by such
419 Participant to You under Sections 2.1 and/or 2.2 of this
420 License shall, upon 60 days notice from Participant terminate
421 prospectively, unless if within 60 days after receipt of notice
422 You either: (i) agree in writing to pay Participant a mutually
423 agreeable reasonable royalty for Your past and future use of
424 Modifications made by such Participant, or (ii) withdraw Your
425 litigation claim with respect to the Contributor Version against
426 such Participant. If within 60 days of notice, a reasonable
427 royalty and payment arrangement are not mutually agreed upon in
428 writing by the parties or the litigation claim is not withdrawn,
429 the rights granted by Participant to You under Sections 2.1
430 and/or 2.2 automatically terminate at the expiration of the 60
431 day notice period specified above.
433 (b) any software, hardware, or device, other than such
434 Participant's Contributor Version, directly or indirectly
435 infringes any patent, then any rights granted to You by such
436 Participant under Sections 2.1(b) and 2.2(b) are revoked
437 effective as of the date You first made, used, sold, distributed,
438 or had made, Modifications made by that Participant.
440 8.3. If You assert a patent infringement claim against
441 Participant alleging that such Participant's Contributor Version
442 directly or indirectly infringes any patent where such claim
443 is resolved (such as by license or settlement) prior to the
444 initiation of patent infringement litigation, then the reasonable
445 value of the licenses granted by such Participant under Sections
446 2.1 or 2.2 shall be taken into account in determining the amount
447 or value of any payment or license.
449 8.4. In the event of termination under Sections 8.1 or 8.2
450 above, all end user license agreements (excluding distributors
451 and resellers) which have been validly granted by You or any
452 distributor hereunder prior to termination shall survive
455 9. LIMITATION OF LIABILITY.
457 UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
458 (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE
459 INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR
460 OF COVERED CODE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE
461 LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL,
462 OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT
463 LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER
464 FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES
465 OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE
466 POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL
467 NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING
468 FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
469 PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
470 EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES,
471 SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
473 10. U.S. GOVERNMENT END USERS.
475 The Covered Code is a "commercial item," as that term is
476 defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of
477 "commercial computer software" and "commercial computer software
478 documentation," as such terms are used in 48 C.F.R. 12.212 (Sept.
479 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1
480 through 227.7202-4 (June 1995), all U.S. Government End Users
481 acquire Covered Code with only those rights set forth herein.
485 This License represents the complete agreement concerning subject
486 matter hereof. If any provision of this License is held to be
487 unenforceable, such provision shall be reformed only to the
488 extent necessary to make it enforceable. This License shall be
489 governed by California law provisions (except to the extent
490 applicable law, if any, provides otherwise), excluding its
491 conflict-of-law provisions. With respect to disputes in which
492 at least one party is a citizen of, or an entity chartered or
493 registered to do business in the United States of America, any
494 litigation relating to this License shall be subject to the
495 jurisdiction of the Federal Courts of the Northern District of
496 California, with venue lying in Santa Clara County, California,
497 with the losing party responsible for costs, including without
498 limitation, court costs and reasonable attorneys' fees and
499 expenses. The application of the United Nations Convention on
500 Contracts for the International Sale of Goods is expressly
501 excluded. Any law or regulation which provides that the language
502 of a contract shall be construed against the drafter shall not
503 apply to this License.
505 12. RESPONSIBILITY FOR CLAIMS.
507 As between Initial Developer and the Contributors, each party
508 is responsible for claims and damages arising, directly or
509 indirectly, out of its utilization of rights under this License
510 and You agree to work with Initial Developer and Contributors to
511 distribute such responsibility on an equitable basis. Nothing
512 herein is intended or shall be deemed to constitute any admission
515 13. MULTIPLE-LICENSED CODE.
517 Initial Developer may designate portions of the Covered Code as
518 "Multiple-Licensed". "Multiple-Licensed" means that the Initial
519 Developer permits you to utilize portions of the Covered Code
520 under Your choice of the NPL or the alternative licenses, if
521 any, specified by the Initial Developer in the file described in
524 EXHIBIT A -Mozilla Public License.
526 ``The contents of this file are subject to the Mozilla Public
527 License Version 1.1 (the "License"); you may not use this file
528 except in compliance with the License. You may obtain a copy of
529 the License at http://www.mozilla.org/MPL/
531 Software distributed under the License is distributed on an
532 "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
533 implied. See the License for the specific language governing
534 rights and limitations under the License.
536 The Original Code is ______________________________________.
538 The Initial Developer of the Original Code is
539 ________________________. Portions created by
540 ______________________ are Copyright (C) ______
541 _______________________. All Rights Reserved.
543 Contributor(s): ______________________________________.
545 Alternatively, the contents of this file may be used under the
546 terms of the _____ license (the "[___] License"), in which case
547 the provisions of [______] License are applicable instead of
548 those above. If you wish to allow use of your version of this
549 file only under the terms of the [____] License and not to allow
550 others to use your version of this file under the MPL, indicate
551 your decision by deleting the provisions above and replace them
552 with the notice and other provisions required by the [___]
553 License. If you do not delete the provisions above, a recipient
554 may use your version of this file under either the MPL or the
557 [NOTE: The text of this Exhibit A may differ slightly from the
558 text of the notices in the Source Code files of the Original
559 Code. You should use the text of this Exhibit A rather than
560 the text found in the Original Code Source Code for Your