LICENSE 51 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058
  1. DB Browser for SQLite is bi-licensed under the Mozilla Public License
  2. Version 2, as well as the GNU General Public License Version 3 or later.
  3. You can modify or redistribute it under the conditions of these
  4. licenses. Check also `LICENSE-PLUGINS`.
  5. -----------------------------------------------------------------------
  6. GNU GENERAL PUBLIC LICENSE
  7. Version 3, 29 June 2007
  8. Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
  9. Everyone is permitted to copy and distribute verbatim copies
  10. of this license document, but changing it is not allowed.
  11. Preamble
  12. The GNU General Public License is a free, copyleft license for
  13. software and other kinds of works.
  14. The licenses for most software and other practical works are designed
  15. to take away your freedom to share and change the works. By contrast,
  16. the GNU General Public License is intended to guarantee your freedom to
  17. share and change all versions of a program--to make sure it remains free
  18. software for all its users. We, the Free Software Foundation, use the
  19. GNU General Public License for most of our software; it applies also to
  20. any other work released this way by its authors. You can apply it to
  21. your programs, too.
  22. When we speak of free software, we are referring to freedom, not
  23. price. Our General Public Licenses are designed to make sure that you
  24. have the freedom to distribute copies of free software (and charge for
  25. them if you wish), that you receive source code or can get it if you
  26. want it, that you can change the software or use pieces of it in new
  27. free programs, and that you know you can do these things.
  28. To protect your rights, we need to prevent others from denying you
  29. these rights or asking you to surrender the rights. Therefore, you have
  30. certain responsibilities if you distribute copies of the software, or if
  31. you modify it: responsibilities to respect the freedom of others.
  32. For example, if you distribute copies of such a program, whether
  33. gratis or for a fee, you must pass on to the recipients the same
  34. freedoms that you received. You must make sure that they, too, receive
  35. or can get the source code. And you must show them these terms so they
  36. know their rights.
  37. Developers that use the GNU GPL protect your rights with two steps:
  38. (1) assert copyright on the software, and (2) offer you this License
  39. giving you legal permission to copy, distribute and/or modify it.
  40. For the developers' and authors' protection, the GPL clearly explains
  41. that there is no warranty for this free software. For both users' and
  42. authors' sake, the GPL requires that modified versions be marked as
  43. changed, so that their problems will not be attributed erroneously to
  44. authors of previous versions.
  45. Some devices are designed to deny users access to install or run
  46. modified versions of the software inside them, although the manufacturer
  47. can do so. This is fundamentally incompatible with the aim of
  48. protecting users' freedom to change the software. The systematic
  49. pattern of such abuse occurs in the area of products for individuals to
  50. use, which is precisely where it is most unacceptable. Therefore, we
  51. have designed this version of the GPL to prohibit the practice for those
  52. products. If such problems arise substantially in other domains, we
  53. stand ready to extend this provision to those domains in future versions
  54. of the GPL, as needed to protect the freedom of users.
  55. Finally, every program is threatened constantly by software patents.
  56. States should not allow patents to restrict development and use of
  57. software on general-purpose computers, but in those that do, we wish to
  58. avoid the special danger that patents applied to a free program could
  59. make it effectively proprietary. To prevent this, the GPL assures that
  60. patents cannot be used to render the program non-free.
  61. The precise terms and conditions for copying, distribution and
  62. modification follow.
  63. TERMS AND CONDITIONS
  64. 0. Definitions.
  65. "This License" refers to version 3 of the GNU General Public License.
  66. "Copyright" also means copyright-like laws that apply to other kinds of
  67. works, such as semiconductor masks.
  68. "The Program" refers to any copyrightable work licensed under this
  69. License. Each licensee is addressed as "you". "Licensees" and
  70. "recipients" may be individuals or organizations.
  71. To "modify" a work means to copy from or adapt all or part of the work
  72. in a fashion requiring copyright permission, other than the making of an
  73. exact copy. The resulting work is called a "modified version" of the
  74. earlier work or a work "based on" the earlier work.
  75. A "covered work" means either the unmodified Program or a work based
  76. on the Program.
  77. To "propagate" a work means to do anything with it that, without
  78. permission, would make you directly or secondarily liable for
  79. infringement under applicable copyright law, except executing it on a
  80. computer or modifying a private copy. Propagation includes copying,
  81. distribution (with or without modification), making available to the
  82. public, and in some countries other activities as well.
  83. To "convey" a work means any kind of propagation that enables other
  84. parties to make or receive copies. Mere interaction with a user through
  85. a computer network, with no transfer of a copy, is not conveying.
  86. An interactive user interface displays "Appropriate Legal Notices"
  87. to the extent that it includes a convenient and prominently visible
  88. feature that (1) displays an appropriate copyright notice, and (2)
  89. tells the user that there is no warranty for the work (except to the
  90. extent that warranties are provided), that licensees may convey the
  91. work under this License, and how to view a copy of this License. If
  92. the interface presents a list of user commands or options, such as a
  93. menu, a prominent item in the list meets this criterion.
  94. 1. Source Code.
  95. The "source code" for a work means the preferred form of the work
  96. for making modifications to it. "Object code" means any non-source
  97. form of a work.
  98. A "Standard Interface" means an interface that either is an official
  99. standard defined by a recognized standards body, or, in the case of
  100. interfaces specified for a particular programming language, one that
  101. is widely used among developers working in that language.
  102. The "System Libraries" of an executable work include anything, other
  103. than the work as a whole, that (a) is included in the normal form of
  104. packaging a Major Component, but which is not part of that Major
  105. Component, and (b) serves only to enable use of the work with that
  106. Major Component, or to implement a Standard Interface for which an
  107. implementation is available to the public in source code form. A
  108. "Major Component", in this context, means a major essential component
  109. (kernel, window system, and so on) of the specific operating system
  110. (if any) on which the executable work runs, or a compiler used to
  111. produce the work, or an object code interpreter used to run it.
  112. The "Corresponding Source" for a work in object code form means all
  113. the source code needed to generate, install, and (for an executable
  114. work) run the object code and to modify the work, including scripts to
  115. control those activities. However, it does not include the work's
  116. System Libraries, or general-purpose tools or generally available free
  117. programs which are used unmodified in performing those activities but
  118. which are not part of the work. For example, Corresponding Source
  119. includes interface definition files associated with source files for
  120. the work, and the source code for shared libraries and dynamically
  121. linked subprograms that the work is specifically designed to require,
  122. such as by intimate data communication or control flow between those
  123. subprograms and other parts of the work.
  124. The Corresponding Source need not include anything that users
  125. can regenerate automatically from other parts of the Corresponding
  126. Source.
  127. The Corresponding Source for a work in source code form is that
  128. same work.
  129. 2. Basic Permissions.
  130. All rights granted under this License are granted for the term of
  131. copyright on the Program, and are irrevocable provided the stated
  132. conditions are met. This License explicitly affirms your unlimited
  133. permission to run the unmodified Program. The output from running a
  134. covered work is covered by this License only if the output, given its
  135. content, constitutes a covered work. This License acknowledges your
  136. rights of fair use or other equivalent, as provided by copyright law.
  137. You may make, run and propagate covered works that you do not
  138. convey, without conditions so long as your license otherwise remains
  139. in force. You may convey covered works to others for the sole purpose
  140. of having them make modifications exclusively for you, or provide you
  141. with facilities for running those works, provided that you comply with
  142. the terms of this License in conveying all material for which you do
  143. not control copyright. Those thus making or running the covered works
  144. for you must do so exclusively on your behalf, under your direction
  145. and control, on terms that prohibit them from making any copies of
  146. your copyrighted material outside their relationship with you.
  147. Conveying under any other circumstances is permitted solely under
  148. the conditions stated below. Sublicensing is not allowed; section 10
  149. makes it unnecessary.
  150. 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
  151. No covered work shall be deemed part of an effective technological
  152. measure under any applicable law fulfilling obligations under article
  153. 11 of the WIPO copyright treaty adopted on 20 December 1996, or
  154. similar laws prohibiting or restricting circumvention of such
  155. measures.
  156. When you convey a covered work, you waive any legal power to forbid
  157. circumvention of technological measures to the extent such circumvention
  158. is effected by exercising rights under this License with respect to
  159. the covered work, and you disclaim any intention to limit operation or
  160. modification of the work as a means of enforcing, against the work's
  161. users, your or third parties' legal rights to forbid circumvention of
  162. technological measures.
  163. 4. Conveying Verbatim Copies.
  164. You may convey verbatim copies of the Program's source code as you
  165. receive it, in any medium, provided that you conspicuously and
  166. appropriately publish on each copy an appropriate copyright notice;
  167. keep intact all notices stating that this License and any
  168. non-permissive terms added in accord with section 7 apply to the code;
  169. keep intact all notices of the absence of any warranty; and give all
  170. recipients a copy of this License along with the Program.
  171. You may charge any price or no price for each copy that you convey,
  172. and you may offer support or warranty protection for a fee.
  173. 5. Conveying Modified Source Versions.
  174. You may convey a work based on the Program, or the modifications to
  175. produce it from the Program, in the form of source code under the
  176. terms of section 4, provided that you also meet all of these conditions:
  177. a) The work must carry prominent notices stating that you modified
  178. it, and giving a relevant date.
  179. b) The work must carry prominent notices stating that it is
  180. released under this License and any conditions added under section
  181. 7. This requirement modifies the requirement in section 4 to
  182. "keep intact all notices".
  183. c) You must license the entire work, as a whole, under this
  184. License to anyone who comes into possession of a copy. This
  185. License will therefore apply, along with any applicable section 7
  186. additional terms, to the whole of the work, and all its parts,
  187. regardless of how they are packaged. This License gives no
  188. permission to license the work in any other way, but it does not
  189. invalidate such permission if you have separately received it.
  190. d) If the work has interactive user interfaces, each must display
  191. Appropriate Legal Notices; however, if the Program has interactive
  192. interfaces that do not display Appropriate Legal Notices, your
  193. work need not make them do so.
  194. A compilation of a covered work with other separate and independent
  195. works, which are not by their nature extensions of the covered work,
  196. and which are not combined with it such as to form a larger program,
  197. in or on a volume of a storage or distribution medium, is called an
  198. "aggregate" if the compilation and its resulting copyright are not
  199. used to limit the access or legal rights of the compilation's users
  200. beyond what the individual works permit. Inclusion of a covered work
  201. in an aggregate does not cause this License to apply to the other
  202. parts of the aggregate.
  203. 6. Conveying Non-Source Forms.
  204. You may convey a covered work in object code form under the terms
  205. of sections 4 and 5, provided that you also convey the
  206. machine-readable Corresponding Source under the terms of this License,
  207. in one of these ways:
  208. a) Convey the object code in, or embodied in, a physical product
  209. (including a physical distribution medium), accompanied by the
  210. Corresponding Source fixed on a durable physical medium
  211. customarily used for software interchange.
  212. b) Convey the object code in, or embodied in, a physical product
  213. (including a physical distribution medium), accompanied by a
  214. written offer, valid for at least three years and valid for as
  215. long as you offer spare parts or customer support for that product
  216. model, to give anyone who possesses the object code either (1) a
  217. copy of the Corresponding Source for all the software in the
  218. product that is covered by this License, on a durable physical
  219. medium customarily used for software interchange, for a price no
  220. more than your reasonable cost of physically performing this
  221. conveying of source, or (2) access to copy the
  222. Corresponding Source from a network server at no charge.
  223. c) Convey individual copies of the object code with a copy of the
  224. written offer to provide the Corresponding Source. This
  225. alternative is allowed only occasionally and noncommercially, and
  226. only if you received the object code with such an offer, in accord
  227. with subsection 6b.
  228. d) Convey the object code by offering access from a designated
  229. place (gratis or for a charge), and offer equivalent access to the
  230. Corresponding Source in the same way through the same place at no
  231. further charge. You need not require recipients to copy the
  232. Corresponding Source along with the object code. If the place to
  233. copy the object code is a network server, the Corresponding Source
  234. may be on a different server (operated by you or a third party)
  235. that supports equivalent copying facilities, provided you maintain
  236. clear directions next to the object code saying where to find the
  237. Corresponding Source. Regardless of what server hosts the
  238. Corresponding Source, you remain obligated to ensure that it is
  239. available for as long as needed to satisfy these requirements.
  240. e) Convey the object code using peer-to-peer transmission, provided
  241. you inform other peers where the object code and Corresponding
  242. Source of the work are being offered to the general public at no
  243. charge under subsection 6d.
  244. A separable portion of the object code, whose source code is excluded
  245. from the Corresponding Source as a System Library, need not be
  246. included in conveying the object code work.
  247. A "User Product" is either (1) a "consumer product", which means any
  248. tangible personal property which is normally used for personal, family,
  249. or household purposes, or (2) anything designed or sold for incorporation
  250. into a dwelling. In determining whether a product is a consumer product,
  251. doubtful cases shall be resolved in favor of coverage. For a particular
  252. product received by a particular user, "normally used" refers to a
  253. typical or common use of that class of product, regardless of the status
  254. of the particular user or of the way in which the particular user
  255. actually uses, or expects or is expected to use, the product. A product
  256. is a consumer product regardless of whether the product has substantial
  257. commercial, industrial or non-consumer uses, unless such uses represent
  258. the only significant mode of use of the product.
  259. "Installation Information" for a User Product means any methods,
  260. procedures, authorization keys, or other information required to install
  261. and execute modified versions of a covered work in that User Product from
  262. a modified version of its Corresponding Source. The information must
  263. suffice to ensure that the continued functioning of the modified object
  264. code is in no case prevented or interfered with solely because
  265. modification has been made.
  266. If you convey an object code work under this section in, or with, or
  267. specifically for use in, a User Product, and the conveying occurs as
  268. part of a transaction in which the right of possession and use of the
  269. User Product is transferred to the recipient in perpetuity or for a
  270. fixed term (regardless of how the transaction is characterized), the
  271. Corresponding Source conveyed under this section must be accompanied
  272. by the Installation Information. But this requirement does not apply
  273. if neither you nor any third party retains the ability to install
  274. modified object code on the User Product (for example, the work has
  275. been installed in ROM).
  276. The requirement to provide Installation Information does not include a
  277. requirement to continue to provide support service, warranty, or updates
  278. for a work that has been modified or installed by the recipient, or for
  279. the User Product in which it has been modified or installed. Access to a
  280. network may be denied when the modification itself materially and
  281. adversely affects the operation of the network or violates the rules and
  282. protocols for communication across the network.
  283. Corresponding Source conveyed, and Installation Information provided,
  284. in accord with this section must be in a format that is publicly
  285. documented (and with an implementation available to the public in
  286. source code form), and must require no special password or key for
  287. unpacking, reading or copying.
  288. 7. Additional Terms.
  289. "Additional permissions" are terms that supplement the terms of this
  290. License by making exceptions from one or more of its conditions.
  291. Additional permissions that are applicable to the entire Program shall
  292. be treated as though they were included in this License, to the extent
  293. that they are valid under applicable law. If additional permissions
  294. apply only to part of the Program, that part may be used separately
  295. under those permissions, but the entire Program remains governed by
  296. this License without regard to the additional permissions.
  297. When you convey a copy of a covered work, you may at your option
  298. remove any additional permissions from that copy, or from any part of
  299. it. (Additional permissions may be written to require their own
  300. removal in certain cases when you modify the work.) You may place
  301. additional permissions on material, added by you to a covered work,
  302. for which you have or can give appropriate copyright permission.
  303. Notwithstanding any other provision of this License, for material you
  304. add to a covered work, you may (if authorized by the copyright holders of
  305. that material) supplement the terms of this License with terms:
  306. a) Disclaiming warranty or limiting liability differently from the
  307. terms of sections 15 and 16 of this License; or
  308. b) Requiring preservation of specified reasonable legal notices or
  309. author attributions in that material or in the Appropriate Legal
  310. Notices displayed by works containing it; or
  311. c) Prohibiting misrepresentation of the origin of that material, or
  312. requiring that modified versions of such material be marked in
  313. reasonable ways as different from the original version; or
  314. d) Limiting the use for publicity purposes of names of licensors or
  315. authors of the material; or
  316. e) Declining to grant rights under trademark law for use of some
  317. trade names, trademarks, or service marks; or
  318. f) Requiring indemnification of licensors and authors of that
  319. material by anyone who conveys the material (or modified versions of
  320. it) with contractual assumptions of liability to the recipient, for
  321. any liability that these contractual assumptions directly impose on
  322. those licensors and authors.
  323. All other non-permissive additional terms are considered "further
  324. restrictions" within the meaning of section 10. If the Program as you
  325. received it, or any part of it, contains a notice stating that it is
  326. governed by this License along with a term that is a further
  327. restriction, you may remove that term. If a license document contains
  328. a further restriction but permits relicensing or conveying under this
  329. License, you may add to a covered work material governed by the terms
  330. of that license document, provided that the further restriction does
  331. not survive such relicensing or conveying.
  332. If you add terms to a covered work in accord with this section, you
  333. must place, in the relevant source files, a statement of the
  334. additional terms that apply to those files, or a notice indicating
  335. where to find the applicable terms.
  336. Additional terms, permissive or non-permissive, may be stated in the
  337. form of a separately written license, or stated as exceptions;
  338. the above requirements apply either way.
  339. 8. Termination.
  340. You may not propagate or modify a covered work except as expressly
  341. provided under this License. Any attempt otherwise to propagate or
  342. modify it is void, and will automatically terminate your rights under
  343. this License (including any patent licenses granted under the third
  344. paragraph of section 11).
  345. However, if you cease all violation of this License, then your
  346. license from a particular copyright holder is reinstated (a)
  347. provisionally, unless and until the copyright holder explicitly and
  348. finally terminates your license, and (b) permanently, if the copyright
  349. holder fails to notify you of the violation by some reasonable means
  350. prior to 60 days after the cessation.
  351. Moreover, your license from a particular copyright holder is
  352. reinstated permanently if the copyright holder notifies you of the
  353. violation by some reasonable means, this is the first time you have
  354. received notice of violation of this License (for any work) from that
  355. copyright holder, and you cure the violation prior to 30 days after
  356. your receipt of the notice.
  357. Termination of your rights under this section does not terminate the
  358. licenses of parties who have received copies or rights from you under
  359. this License. If your rights have been terminated and not permanently
  360. reinstated, you do not qualify to receive new licenses for the same
  361. material under section 10.
  362. 9. Acceptance Not Required for Having Copies.
  363. You are not required to accept this License in order to receive or
  364. run a copy of the Program. Ancillary propagation of a covered work
  365. occurring solely as a consequence of using peer-to-peer transmission
  366. to receive a copy likewise does not require acceptance. However,
  367. nothing other than this License grants you permission to propagate or
  368. modify any covered work. These actions infringe copyright if you do
  369. not accept this License. Therefore, by modifying or propagating a
  370. covered work, you indicate your acceptance of this License to do so.
  371. 10. Automatic Licensing of Downstream Recipients.
  372. Each time you convey a covered work, the recipient automatically
  373. receives a license from the original licensors, to run, modify and
  374. propagate that work, subject to this License. You are not responsible
  375. for enforcing compliance by third parties with this License.
  376. An "entity transaction" is a transaction transferring control of an
  377. organization, or substantially all assets of one, or subdividing an
  378. organization, or merging organizations. If propagation of a covered
  379. work results from an entity transaction, each party to that
  380. transaction who receives a copy of the work also receives whatever
  381. licenses to the work the party's predecessor in interest had or could
  382. give under the previous paragraph, plus a right to possession of the
  383. Corresponding Source of the work from the predecessor in interest, if
  384. the predecessor has it or can get it with reasonable efforts.
  385. You may not impose any further restrictions on the exercise of the
  386. rights granted or affirmed under this License. For example, you may
  387. not impose a license fee, royalty, or other charge for exercise of
  388. rights granted under this License, and you may not initiate litigation
  389. (including a cross-claim or counterclaim in a lawsuit) alleging that
  390. any patent claim is infringed by making, using, selling, offering for
  391. sale, or importing the Program or any portion of it.
  392. 11. Patents.
  393. A "contributor" is a copyright holder who authorizes use under this
  394. License of the Program or a work on which the Program is based. The
  395. work thus licensed is called the contributor's "contributor version".
  396. A contributor's "essential patent claims" are all patent claims
  397. owned or controlled by the contributor, whether already acquired or
  398. hereafter acquired, that would be infringed by some manner, permitted
  399. by this License, of making, using, or selling its contributor version,
  400. but do not include claims that would be infringed only as a
  401. consequence of further modification of the contributor version. For
  402. purposes of this definition, "control" includes the right to grant
  403. patent sublicenses in a manner consistent with the requirements of
  404. this License.
  405. Each contributor grants you a non-exclusive, worldwide, royalty-free
  406. patent license under the contributor's essential patent claims, to
  407. make, use, sell, offer for sale, import and otherwise run, modify and
  408. propagate the contents of its contributor version.
  409. In the following three paragraphs, a "patent license" is any express
  410. agreement or commitment, however denominated, not to enforce a patent
  411. (such as an express permission to practice a patent or covenant not to
  412. sue for patent infringement). To "grant" such a patent license to a
  413. party means to make such an agreement or commitment not to enforce a
  414. patent against the party.
  415. If you convey a covered work, knowingly relying on a patent license,
  416. and the Corresponding Source of the work is not available for anyone
  417. to copy, free of charge and under the terms of this License, through a
  418. publicly available network server or other readily accessible means,
  419. then you must either (1) cause the Corresponding Source to be so
  420. available, or (2) arrange to deprive yourself of the benefit of the
  421. patent license for this particular work, or (3) arrange, in a manner
  422. consistent with the requirements of this License, to extend the patent
  423. license to downstream recipients. "Knowingly relying" means you have
  424. actual knowledge that, but for the patent license, your conveying the
  425. covered work in a country, or your recipient's use of the covered work
  426. in a country, would infringe one or more identifiable patents in that
  427. country that you have reason to believe are valid.
  428. If, pursuant to or in connection with a single transaction or
  429. arrangement, you convey, or propagate by procuring conveyance of, a
  430. covered work, and grant a patent license to some of the parties
  431. receiving the covered work authorizing them to use, propagate, modify
  432. or convey a specific copy of the covered work, then the patent license
  433. you grant is automatically extended to all recipients of the covered
  434. work and works based on it.
  435. A patent license is "discriminatory" if it does not include within
  436. the scope of its coverage, prohibits the exercise of, or is
  437. conditioned on the non-exercise of one or more of the rights that are
  438. specifically granted under this License. You may not convey a covered
  439. work if you are a party to an arrangement with a third party that is
  440. in the business of distributing software, under which you make payment
  441. to the third party based on the extent of your activity of conveying
  442. the work, and under which the third party grants, to any of the
  443. parties who would receive the covered work from you, a discriminatory
  444. patent license (a) in connection with copies of the covered work
  445. conveyed by you (or copies made from those copies), or (b) primarily
  446. for and in connection with specific products or compilations that
  447. contain the covered work, unless you entered into that arrangement,
  448. or that patent license was granted, prior to 28 March 2007.
  449. Nothing in this License shall be construed as excluding or limiting
  450. any implied license or other defenses to infringement that may
  451. otherwise be available to you under applicable patent law.
  452. 12. No Surrender of Others' Freedom.
  453. If conditions are imposed on you (whether by court order, agreement or
  454. otherwise) that contradict the conditions of this License, they do not
  455. excuse you from the conditions of this License. If you cannot convey a
  456. covered work so as to satisfy simultaneously your obligations under this
  457. License and any other pertinent obligations, then as a consequence you may
  458. not convey it at all. For example, if you agree to terms that obligate you
  459. to collect a royalty for further conveying from those to whom you convey
  460. the Program, the only way you could satisfy both those terms and this
  461. License would be to refrain entirely from conveying the Program.
  462. 13. Use with the GNU Affero General Public License.
  463. Notwithstanding any other provision of this License, you have
  464. permission to link or combine any covered work with a work licensed
  465. under version 3 of the GNU Affero General Public License into a single
  466. combined work, and to convey the resulting work. The terms of this
  467. License will continue to apply to the part which is the covered work,
  468. but the special requirements of the GNU Affero General Public License,
  469. section 13, concerning interaction through a network will apply to the
  470. combination as such.
  471. 14. Revised Versions of this License.
  472. The Free Software Foundation may publish revised and/or new versions of
  473. the GNU General Public License from time to time. Such new versions will
  474. be similar in spirit to the present version, but may differ in detail to
  475. address new problems or concerns.
  476. Each version is given a distinguishing version number. If the
  477. Program specifies that a certain numbered version of the GNU General
  478. Public License "or any later version" applies to it, you have the
  479. option of following the terms and conditions either of that numbered
  480. version or of any later version published by the Free Software
  481. Foundation. If the Program does not specify a version number of the
  482. GNU General Public License, you may choose any version ever published
  483. by the Free Software Foundation.
  484. If the Program specifies that a proxy can decide which future
  485. versions of the GNU General Public License can be used, that proxy's
  486. public statement of acceptance of a version permanently authorizes you
  487. to choose that version for the Program.
  488. Later license versions may give you additional or different
  489. permissions. However, no additional obligations are imposed on any
  490. author or copyright holder as a result of your choosing to follow a
  491. later version.
  492. 15. Disclaimer of Warranty.
  493. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
  494. APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
  495. HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
  496. OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
  497. THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  498. PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
  499. IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
  500. ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  501. 16. Limitation of Liability.
  502. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
  503. WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
  504. THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
  505. GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
  506. USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
  507. DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
  508. PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
  509. EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
  510. SUCH DAMAGES.
  511. 17. Interpretation of Sections 15 and 16.
  512. If the disclaimer of warranty and limitation of liability provided
  513. above cannot be given local legal effect according to their terms,
  514. reviewing courts shall apply local law that most closely approximates
  515. an absolute waiver of all civil liability in connection with the
  516. Program, unless a warranty or assumption of liability accompanies a
  517. copy of the Program in return for a fee.
  518. END OF TERMS AND CONDITIONS
  519. How to Apply These Terms to Your New Programs
  520. If you develop a new program, and you want it to be of the greatest
  521. possible use to the public, the best way to achieve this is to make it
  522. free software which everyone can redistribute and change under these terms.
  523. To do so, attach the following notices to the program. It is safest
  524. to attach them to the start of each source file to most effectively
  525. state the exclusion of warranty; and each file should have at least
  526. the "copyright" line and a pointer to where the full notice is found.
  527. <one line to give the program's name and a brief idea of what it does.>
  528. Copyright (C) <year> <name of author>
  529. This program is free software: you can redistribute it and/or modify
  530. it under the terms of the GNU General Public License as published by
  531. the Free Software Foundation, either version 3 of the License, or
  532. (at your option) any later version.
  533. This program is distributed in the hope that it will be useful,
  534. but WITHOUT ANY WARRANTY; without even the implied warranty of
  535. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  536. GNU General Public License for more details.
  537. You should have received a copy of the GNU General Public License
  538. along with this program. If not, see <http://www.gnu.org/licenses/>.
  539. Also add information on how to contact you by electronic and paper mail.
  540. If the program does terminal interaction, make it output a short
  541. notice like this when it starts in an interactive mode:
  542. <program> Copyright (C) <year> <name of author>
  543. This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
  544. This is free software, and you are welcome to redistribute it
  545. under certain conditions; type `show c' for details.
  546. The hypothetical commands `show w' and `show c' should show the appropriate
  547. parts of the General Public License. Of course, your program's commands
  548. might be different; for a GUI interface, you would use an "about box".
  549. You should also get your employer (if you work as a programmer) or school,
  550. if any, to sign a "copyright disclaimer" for the program, if necessary.
  551. For more information on this, and how to apply and follow the GNU GPL, see
  552. <http://www.gnu.org/licenses/>.
  553. The GNU General Public License does not permit incorporating your program
  554. into proprietary programs. If your program is a subroutine library, you
  555. may consider it more useful to permit linking proprietary applications with
  556. the library. If this is what you want to do, use the GNU Lesser General
  557. Public License instead of this License. But first, please read
  558. <http://www.gnu.org/philosophy/why-not-lgpl.html>.
  559. -----------------------------------------------------------------------
  560. Mozilla Public License Version 2.0
  561. ==================================
  562. 1. Definitions
  563. --------------
  564. 1.1. "Contributor"
  565. means each individual or legal entity that creates, contributes to
  566. the creation of, or owns Covered Software.
  567. 1.2. "Contributor Version"
  568. means the combination of the Contributions of others (if any) used
  569. by a Contributor and that particular Contributor's Contribution.
  570. 1.3. "Contribution"
  571. means Covered Software of a particular Contributor.
  572. 1.4. "Covered Software"
  573. means Source Code Form to which the initial Contributor has attached
  574. the notice in Exhibit A, the Executable Form of such Source Code
  575. Form, and Modifications of such Source Code Form, in each case
  576. including portions thereof.
  577. 1.5. "Incompatible With Secondary Licenses"
  578. means
  579. (a) that the initial Contributor has attached the notice described
  580. in Exhibit B to the Covered Software; or
  581. (b) that the Covered Software was made available under the terms of
  582. version 1.1 or earlier of the License, but not also under the
  583. terms of a Secondary License.
  584. 1.6. "Executable Form"
  585. means any form of the work other than Source Code Form.
  586. 1.7. "Larger Work"
  587. means a work that combines Covered Software with other material, in
  588. a separate file or files, that is not Covered Software.
  589. 1.8. "License"
  590. means this document.
  591. 1.9. "Licensable"
  592. means having the right to grant, to the maximum extent possible,
  593. whether at the time of the initial grant or subsequently, any and
  594. all of the rights conveyed by this License.
  595. 1.10. "Modifications"
  596. means any of the following:
  597. (a) any file in Source Code Form that results from an addition to,
  598. deletion from, or modification of the contents of Covered
  599. Software; or
  600. (b) any new file in Source Code Form that contains any Covered
  601. Software.
  602. 1.11. "Patent Claims" of a Contributor
  603. means any patent claim(s), including without limitation, method,
  604. process, and apparatus claims, in any patent Licensable by such
  605. Contributor that would be infringed, but for the grant of the
  606. License, by the making, using, selling, offering for sale, having
  607. made, import, or transfer of either its Contributions or its
  608. Contributor Version.
  609. 1.12. "Secondary License"
  610. means either the GNU General Public License, Version 2.0, the GNU
  611. Lesser General Public License, Version 2.1, the GNU Affero General
  612. Public License, Version 3.0, or any later versions of those
  613. licenses.
  614. 1.13. "Source Code Form"
  615. means the form of the work preferred for making modifications.
  616. 1.14. "You" (or "Your")
  617. means an individual or a legal entity exercising rights under this
  618. License. For legal entities, "You" includes any entity that
  619. controls, is controlled by, or is under common control with You. For
  620. purposes of this definition, "control" means (a) the power, direct
  621. or indirect, to cause the direction or management of such entity,
  622. whether by contract or otherwise, or (b) ownership of more than
  623. fifty percent (50%) of the outstanding shares or beneficial
  624. ownership of such entity.
  625. 2. License Grants and Conditions
  626. --------------------------------
  627. 2.1. Grants
  628. Each Contributor hereby grants You a world-wide, royalty-free,
  629. non-exclusive license:
  630. (a) under intellectual property rights (other than patent or trademark)
  631. Licensable by such Contributor to use, reproduce, make available,
  632. modify, display, perform, distribute, and otherwise exploit its
  633. Contributions, either on an unmodified basis, with Modifications, or
  634. as part of a Larger Work; and
  635. (b) under Patent Claims of such Contributor to make, use, sell, offer
  636. for sale, have made, import, and otherwise transfer either its
  637. Contributions or its Contributor Version.
  638. 2.2. Effective Date
  639. The licenses granted in Section 2.1 with respect to any Contribution
  640. become effective for each Contribution on the date the Contributor first
  641. distributes such Contribution.
  642. 2.3. Limitations on Grant Scope
  643. The licenses granted in this Section 2 are the only rights granted under
  644. this License. No additional rights or licenses will be implied from the
  645. distribution or licensing of Covered Software under this License.
  646. Notwithstanding Section 2.1(b) above, no patent license is granted by a
  647. Contributor:
  648. (a) for any code that a Contributor has removed from Covered Software;
  649. or
  650. (b) for infringements caused by: (i) Your and any other third party's
  651. modifications of Covered Software, or (ii) the combination of its
  652. Contributions with other software (except as part of its Contributor
  653. Version); or
  654. (c) under Patent Claims infringed by Covered Software in the absence of
  655. its Contributions.
  656. This License does not grant any rights in the trademarks, service marks,
  657. or logos of any Contributor (except as may be necessary to comply with
  658. the notice requirements in Section 3.4).
  659. 2.4. Subsequent Licenses
  660. No Contributor makes additional grants as a result of Your choice to
  661. distribute the Covered Software under a subsequent version of this
  662. License (see Section 10.2) or under the terms of a Secondary License (if
  663. permitted under the terms of Section 3.3).
  664. 2.5. Representation
  665. Each Contributor represents that the Contributor believes its
  666. Contributions are its original creation(s) or it has sufficient rights
  667. to grant the rights to its Contributions conveyed by this License.
  668. 2.6. Fair Use
  669. This License is not intended to limit any rights You have under
  670. applicable copyright doctrines of fair use, fair dealing, or other
  671. equivalents.
  672. 2.7. Conditions
  673. Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
  674. in Section 2.1.
  675. 3. Responsibilities
  676. -------------------
  677. 3.1. Distribution of Source Form
  678. All distribution of Covered Software in Source Code Form, including any
  679. Modifications that You create or to which You contribute, must be under
  680. the terms of this License. You must inform recipients that the Source
  681. Code Form of the Covered Software is governed by the terms of this
  682. License, and how they can obtain a copy of this License. You may not
  683. attempt to alter or restrict the recipients' rights in the Source Code
  684. Form.
  685. 3.2. Distribution of Executable Form
  686. If You distribute Covered Software in Executable Form then:
  687. (a) such Covered Software must also be made available in Source Code
  688. Form, as described in Section 3.1, and You must inform recipients of
  689. the Executable Form how they can obtain a copy of such Source Code
  690. Form by reasonable means in a timely manner, at a charge no more
  691. than the cost of distribution to the recipient; and
  692. (b) You may distribute such Executable Form under the terms of this
  693. License, or sublicense it under different terms, provided that the
  694. license for the Executable Form does not attempt to limit or alter
  695. the recipients' rights in the Source Code Form under this License.
  696. 3.3. Distribution of a Larger Work
  697. You may create and distribute a Larger Work under terms of Your choice,
  698. provided that You also comply with the requirements of this License for
  699. the Covered Software. If the Larger Work is a combination of Covered
  700. Software with a work governed by one or more Secondary Licenses, and the
  701. Covered Software is not Incompatible With Secondary Licenses, this
  702. License permits You to additionally distribute such Covered Software
  703. under the terms of such Secondary License(s), so that the recipient of
  704. the Larger Work may, at their option, further distribute the Covered
  705. Software under the terms of either this License or such Secondary
  706. License(s).
  707. 3.4. Notices
  708. You may not remove or alter the substance of any license notices
  709. (including copyright notices, patent notices, disclaimers of warranty,
  710. or limitations of liability) contained within the Source Code Form of
  711. the Covered Software, except that You may alter any license notices to
  712. the extent required to remedy known factual inaccuracies.
  713. 3.5. Application of Additional Terms
  714. You may choose to offer, and to charge a fee for, warranty, support,
  715. indemnity or liability obligations to one or more recipients of Covered
  716. Software. However, You may do so only on Your own behalf, and not on
  717. behalf of any Contributor. You must make it absolutely clear that any
  718. such warranty, support, indemnity, or liability obligation is offered by
  719. You alone, and You hereby agree to indemnify every Contributor for any
  720. liability incurred by such Contributor as a result of warranty, support,
  721. indemnity or liability terms You offer. You may include additional
  722. disclaimers of warranty and limitations of liability specific to any
  723. jurisdiction.
  724. 4. Inability to Comply Due to Statute or Regulation
  725. ---------------------------------------------------
  726. If it is impossible for You to comply with any of the terms of this
  727. License with respect to some or all of the Covered Software due to
  728. statute, judicial order, or regulation then You must: (a) comply with
  729. the terms of this License to the maximum extent possible; and (b)
  730. describe the limitations and the code they affect. Such description must
  731. be placed in a text file included with all distributions of the Covered
  732. Software under this License. Except to the extent prohibited by statute
  733. or regulation, such description must be sufficiently detailed for a
  734. recipient of ordinary skill to be able to understand it.
  735. 5. Termination
  736. --------------
  737. 5.1. The rights granted under this License will terminate automatically
  738. if You fail to comply with any of its terms. However, if You become
  739. compliant, then the rights granted under this License from a particular
  740. Contributor are reinstated (a) provisionally, unless and until such
  741. Contributor explicitly and finally terminates Your grants, and (b) on an
  742. ongoing basis, if such Contributor fails to notify You of the
  743. non-compliance by some reasonable means prior to 60 days after You have
  744. come back into compliance. Moreover, Your grants from a particular
  745. Contributor are reinstated on an ongoing basis if such Contributor
  746. notifies You of the non-compliance by some reasonable means, this is the
  747. first time You have received notice of non-compliance with this License
  748. from such Contributor, and You become compliant prior to 30 days after
  749. Your receipt of the notice.
  750. 5.2. If You initiate litigation against any entity by asserting a patent
  751. infringement claim (excluding declaratory judgment actions,
  752. counter-claims, and cross-claims) alleging that a Contributor Version
  753. directly or indirectly infringes any patent, then the rights granted to
  754. You by any and all Contributors for the Covered Software under Section
  755. 2.1 of this License shall terminate.
  756. 5.3. In the event of termination under Sections 5.1 or 5.2 above, all
  757. end user license agreements (excluding distributors and resellers) which
  758. have been validly granted by You or Your distributors under this License
  759. prior to termination shall survive termination.
  760. ************************************************************************
  761. * *
  762. * 6. Disclaimer of Warranty *
  763. * ------------------------- *
  764. * *
  765. * Covered Software is provided under this License on an "as is" *
  766. * basis, without warranty of any kind, either expressed, implied, or *
  767. * statutory, including, without limitation, warranties that the *
  768. * Covered Software is free of defects, merchantable, fit for a *
  769. * particular purpose or non-infringing. The entire risk as to the *
  770. * quality and performance of the Covered Software is with You. *
  771. * Should any Covered Software prove defective in any respect, You *
  772. * (not any Contributor) assume the cost of any necessary servicing, *
  773. * repair, or correction. This disclaimer of warranty constitutes an *
  774. * essential part of this License. No use of any Covered Software is *
  775. * authorized under this License except under this disclaimer. *
  776. * *
  777. ************************************************************************
  778. ************************************************************************
  779. * *
  780. * 7. Limitation of Liability *
  781. * -------------------------- *
  782. * *
  783. * Under no circumstances and under no legal theory, whether tort *
  784. * (including negligence), contract, or otherwise, shall any *
  785. * Contributor, or anyone who distributes Covered Software as *
  786. * permitted above, be liable to You for any direct, indirect, *
  787. * special, incidental, or consequential damages of any character *
  788. * including, without limitation, damages for lost profits, loss of *
  789. * goodwill, work stoppage, computer failure or malfunction, or any *
  790. * and all other commercial damages or losses, even if such party *
  791. * shall have been informed of the possibility of such damages. This *
  792. * limitation of liability shall not apply to liability for death or *
  793. * personal injury resulting from such party's negligence to the *
  794. * extent applicable law prohibits such limitation. Some *
  795. * jurisdictions do not allow the exclusion or limitation of *
  796. * incidental or consequential damages, so this exclusion and *
  797. * limitation may not apply to You. *
  798. * *
  799. ************************************************************************
  800. 8. Litigation
  801. -------------
  802. Any litigation relating to this License may be brought only in the
  803. courts of a jurisdiction where the defendant maintains its principal
  804. place of business and such litigation shall be governed by laws of that
  805. jurisdiction, without reference to its conflict-of-law provisions.
  806. Nothing in this Section shall prevent a party's ability to bring
  807. cross-claims or counter-claims.
  808. 9. Miscellaneous
  809. ----------------
  810. This License represents the complete agreement concerning the subject
  811. matter hereof. If any provision of this License is held to be
  812. unenforceable, such provision shall be reformed only to the extent
  813. necessary to make it enforceable. Any law or regulation which provides
  814. that the language of a contract shall be construed against the drafter
  815. shall not be used to construe this License against a Contributor.
  816. 10. Versions of the License
  817. ---------------------------
  818. 10.1. New Versions
  819. Mozilla Foundation is the license steward. Except as provided in Section
  820. 10.3, no one other than the license steward has the right to modify or
  821. publish new versions of this License. Each version will be given a
  822. distinguishing version number.
  823. 10.2. Effect of New Versions
  824. You may distribute the Covered Software under the terms of the version
  825. of the License under which You originally received the Covered Software,
  826. or under the terms of any subsequent version published by the license
  827. steward.
  828. 10.3. Modified Versions
  829. If you create software not governed by this License, and you want to
  830. create a new license for such software, you may create and use a
  831. modified version of this License if you rename the license and remove
  832. any references to the name of the license steward (except to note that
  833. such modified license differs from this License).
  834. 10.4. Distributing Source Code Form that is Incompatible With Secondary
  835. Licenses
  836. If You choose to distribute Source Code Form that is Incompatible With
  837. Secondary Licenses under the terms of this version of the License, the
  838. notice described in Exhibit B of this License must be attached.
  839. Exhibit A - Source Code Form License Notice
  840. -------------------------------------------
  841. This Source Code Form is subject to the terms of the Mozilla Public
  842. License, v. 2.0. If a copy of the MPL was not distributed with this
  843. file, You can obtain one at http://mozilla.org/MPL/2.0/.
  844. If it is not possible or desirable to put the notice in a particular
  845. file, then You may include the notice in a location (such as a LICENSE
  846. file in a relevant directory) where a recipient would be likely to look
  847. for such a notice.
  848. You may add additional accurate notices of copyright ownership.
  849. Exhibit B - "Incompatible With Secondary Licenses" Notice
  850. ---------------------------------------------------------
  851. This Source Code Form is "Incompatible With Secondary Licenses", as
  852. defined by the Mozilla Public License, v. 2.0.