merge from trunk

This commit is contained in:
Lee 2011-02-21 16:11:07 +08:00
commit bf58f6bacf
40 changed files with 3625 additions and 3245 deletions

2277
Changelog.old.yaml Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,332 +1,333 @@
{\rtf1\ansi\deff1\adeflang1025 {\rtf1\ansi\deff1\adeflang1025
{\fonttbl{\f0\froman\fprq2\fcharset128 Times New Roman;}{\f1\fnil\fprq0\fcharset128 Times{\*\falt Times New Roman};}{\f2\froman\fprq2\fcharset128 Nimbus Roman No9 L{\*\falt Times New Roman};}{\f3\fnil\fprq0\fcharset128 Times{\*\falt Times New Roman};}{\f4\fnil\fprq0\fcharset128 Helvetica{\*\falt Arial};}{\f5\fmodern\fprq1\fcharset128 Nimbus Mono L{\*\falt Courier New};}{\f6\fswiss\fprq2\fcharset128 DejaVuSans;}{\f7\fnil\fprq2\fcharset128 HG Mincho Light J{\*\falt msmincho};}{\f8\fswiss\fprq0\fcharset128 Tahoma;}} {\fonttbl{\f0\froman\fprq2\fcharset128 Times New Roman;}{\f1\fnil\fprq0\fcharset128 Times{\*\falt Times New Roman};}{\f2\fnil\fprq0\fcharset128 Times{\*\falt Times New Roman};}{\f3\fnil\fprq0\fcharset128 Helvetica{\*\falt Arial};}{\f4\fmodern\fprq1\fcharset128 Nimbus Mono L{\*\falt Courier New};}{\f5\froman\fprq2\fcharset128 Nimbus Roman No9 L{\*\falt Times New Roman};}{\f6\fswiss\fprq2\fcharset128 DejaVuSans;}{\f7\fnil\fprq2\fcharset128 HG Mincho Light J{\*\falt msmincho};}{\f8\fswiss\fprq0\fcharset128 Tahoma;}}
{\colortbl;\red0\green0\blue0;\red128\green128\blue128;} {\colortbl;\red0\green0\blue0;\red128\green128\blue128;}
{\stylesheet{\s1\aspalpha\rtlch\afs24\lang255\ltrch\dbch\af6\langfe255\hich\fs24\lang9226\loch\fs24\lang9226\snext1 Normal;} {\stylesheet{\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af1\afs24\lang1081\ltrch\dbch\af6\langfe255\hich\f1\fs24\lang9226\loch\f1\fs24\lang9226\snext1 Normal;}
{\s2\sb240\sa120\keepn\aspalpha\rtlch\af4\afs28\lang255\ltrch\dbch\af7\langfe255\hich\f4\fs28\lang9226\loch\f4\fs28\lang9226\sbasedon1\snext3 Heading;} {\s2\sb240\sa120\keepn\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af3\afs28\lang1081\ltrch\dbch\af7\langfe255\hich\f3\fs28\lang9226\loch\f3\fs28\lang9226\sbasedon1\snext3 Heading;}
{\s3\sa120\aspalpha\rtlch\afs24\lang255\ltrch\dbch\af6\langfe255\hich\fs24\lang9226\loch\fs24\lang9226\sbasedon1\snext3 Body Text;} {\s3\sa120\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af1\afs24\lang1081\ltrch\dbch\af6\langfe255\hich\f1\fs24\lang9226\loch\f1\fs24\lang9226\sbasedon1\snext3 Body Text;}
{\s4\sa120\aspalpha\rtlch\af8\afs24\lang255\ltrch\dbch\af6\langfe255\hich\fs24\lang9226\loch\fs24\lang9226\sbasedon3\snext4 List;} {\s4\sa120\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af8\afs24\lang1081\ltrch\dbch\af6\langfe255\hich\f1\fs24\lang9226\loch\f1\fs24\lang9226\sbasedon3\snext4 List;}
{\s5\sb120\sa120\aspalpha\rtlch\afs24\lang255\ai\ltrch\dbch\af6\langfe255\hich\fs24\lang9226\i\loch\fs24\lang9226\i\sbasedon1\snext5 caption;} {\s5\sb120\sa120\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af1\afs24\lang1081\ai\ltrch\dbch\af6\langfe255\hich\f1\fs24\lang9226\i\loch\f1\fs24\lang9226\i\sbasedon1\snext5 caption;}
{\s6\aspalpha\rtlch\af8\afs24\lang255\ltrch\dbch\af6\langfe255\hich\fs24\lang9226\loch\fs24\lang9226\sbasedon1\snext6 Index;} {\s6\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af8\afs24\lang1081\ltrch\dbch\af6\langfe255\hich\f1\fs24\lang9226\loch\f1\fs24\lang9226\sbasedon1\snext6 Index;}
{\s7\sb120\sa120\aspalpha\rtlch\af8\afs24\lang255\ai\ltrch\dbch\af6\langfe255\hich\fs24\lang9226\i\loch\fs24\lang9226\i\sbasedon1\snext7 caption;} {\s7\sb120\sa120\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af1\afs24\lang1081\ai\ltrch\dbch\af6\langfe255\hich\f1\fs24\lang9226\i\loch\f1\fs24\lang9226\i\sbasedon1\snext7 caption;}
{\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226\sbasedon1\snext8 Preformatted Text;} {\s8\sb120\sa120\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af8\afs24\lang1081\ai\ltrch\dbch\af6\langfe255\hich\f1\fs24\lang9226\i\loch\f1\fs24\lang9226\i\sbasedon1\snext8 WW-caption;}
{\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226\sbasedon1\snext9 Preformatted Text;}
} }
{\info{\author carlos luna}{\creatim\yr0\mo0\dy0\hr0\min0}{\revtim\yr2007\mo11\dy5\hr17\min33}{\printim\yr0\mo0\dy0\hr0\min0}{\comment StarWriter}{\vern3100}}\deftab709 {\info{\author carlos luna}{\creatim\yr0\mo0\dy0\hr0\min0}{\revtim\yr2007\mo11\dy5\hr17\min33}{\printim\yr0\mo0\dy0\hr0\min0}{\comment StarWriter}{\vern3200}}\deftab709
{\*\pgdsctbl {\*\pgdsctbl
{\pgdsc0\pgdscuse195\pgwsxn11906\pghsxn16838\marglsxn1134\margrsxn1134\margtsxn1134\margbsxn1134\pgdscnxt0 Standard;}} {\pgdsc0\pgdscuse195\pgwsxn11906\pghsxn16838\marglsxn1134\margrsxn1134\margtsxn1134\margbsxn1134\pgdscnxt0 Standard;}}
{\*\pgdscno0}\paperh16838\paperw11906\margl1134\margr1134\margt1134\margb1134\sectd\sbknone\pgwsxn11906\pghsxn16838\marglsxn1134\margrsxn1134\margtsxn1134\margbsxn1134\ftnbj\ftnstart1\ftnrstcont\ftnnar\aenddoc\aftnrstcont\aftnstart1\aftnnrlc {\*\pgdscno0}\paperh16838\paperw11906\margl1134\margr1134\margt1134\margb1134\sectd\sbknone\pgwsxn11906\pghsxn16838\marglsxn1134\margrsxn1134\margtsxn1134\margbsxn1134\ftnbj\ftnstart1\ftnrstcont\ftnnar\aenddoc\aftnrstcont\aftnstart1\aftnnrlc
\pard\plain \ltrpar\s8\qc\aspalpha\rtlch\af5\afs36\lang255\ab\ltrch\dbch\af5\langfe255\hich\f5\fs36\lang9226\b\loch\f5\fs36\lang9226\b {\rtlch \ltrch\loch\f5\fs36\lang9226\i0\b GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007} \pard\plain \ltrpar\s9\cf0\qc{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af4\afs28\lang1081\ab\ltrch\dbch\af4\langfe255\hich\f4\fs28\lang9226\b\loch\f4\fs28\lang9226\b {\rtlch \ltrch\loch\f4\fs28\lang9226\i0\b GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007}
\par \pard\plain \ltrpar\s8\qc\aspalpha\rtlch\af5\afs36\lang255\ab\ltrch\dbch\af5\langfe255\hich\f5\fs36\lang9226\b\loch\f5\fs36\lang9226\b \par \pard\plain \ltrpar\s9\cf0\qc{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af4\afs28\lang1081\ab\ltrch\dbch\af4\langfe255\hich\f4\fs28\lang9226\b\loch\f4\fs28\lang9226\b
\par \pard\plain \ltrpar\s8\qc\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0\qc{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>} \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 Preamble} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 Preamble}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 The GNU General Public License is a free, copyleft license for software and other kinds of works.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 The GNU General Public License is a free, copyleft license for software and other kinds of works.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program- \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program-
-to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to} -to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 your programs, too.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 your programs, too.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code o \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code o
r can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.} r can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect
the freedom of others.} the freedom of others.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them th \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them th
ese terms so they know their rights.} ese terms so they know their rights.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 Developers that use the GNU GPL protect your rights with two steps:} \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 Developers that use the GNU GPL protect your rights with two steps:}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be att \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be att
ributed erroneously to authors of previous versions.} ributed erroneously to authors of previous versions.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The
systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems ar systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems ar
ise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users.} ise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents appli \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents appli
ed to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free.} ed to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 The precise terms and conditions for copying, distribution and modification follow.} \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 The precise terms and conditions for copying, distribution and modification follow.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qc\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 TERMS AND CONDITIONS} \par \pard\plain \ltrpar\s9\cf0\qc{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 TERMS AND CONDITIONS}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 0. Definitions.} \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 0. Definitions.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 "This License" refers to version 3 of the GNU General Public License.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 "This License" refers to version 3 of the GNU General Public License.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the ear \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the ear
lier work.} lier work.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 A "covered work" means either the unmodified Program or a work based on the Program.} \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 A "covered work" means either the unmodified Program or a work based on the Program.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes
copying, distribution (with or without modification), making available to the} copying, distribution (with or without modification), making available to the}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 public, and in some countries other activities as well.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 public, and in some countries other activities as well.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work
(except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list
meets this criterion.} meets this criterion.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 1. Source Code.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 1. Source Code.}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work.}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that
language.} language.}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the
work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of
the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.} the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not
include the work's System Libraries, or general-purpose tools or generally available free} include the work's System Libraries, or general-purpose tools or generally available free}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries
and dynamically linked subprograms that the work is specifically designed to require,} and dynamically linked subprograms that the work is specifically designed to require,}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 such as by intimate data communication or control flow between those subprograms and other parts of the work.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 such as by intimate data communication or control flow between those subprograms and other parts of the work.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 The Corresponding Source for a work in source code form is that same work.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 The Corresponding Source for a work in source code form is that same work.}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 2. Basic Permissions.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 2. Basic Permissions.}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output
from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your} from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 rights of fair use or other equivalent, as provided by copyright law.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 rights of fair use or other equivalent, as provided by copyright law.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for yo \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for yo
u, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works} u, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.} \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 3. Protecting Users' Legal Rights From Anti-Circumvention Law.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 3. Protecting Users' Legal Rights From Anti-Circumvention Law.}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention
of such measures.} of such measures.}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intent \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intent
ion to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.} ion to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 4. Conveying Verbatim Copies.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 4. Conveying Verbatim Copies.}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and an \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and an
y non-permissive terms added in accord with section 7 apply to the code;} y non-permissive terms added in accord with section 7 apply to the code;}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 5. Conveying Modified Source Versions.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 5. Conveying Modified Source Versions.}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 a) The work must carry prominent notices stating that you modified} \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 a) The work must carry prominent notices stating that you modified}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 it, and giving a relevant date.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 it, and giving a relevant date.}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 b) The work must carry prominent notices stating that it is released under this License and any conditions added under section } \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 b) The work must carry prominent notices stating that it is released under this License and any conditions added under section }
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 7. This requirement modifies the requirement in section 4 to "keep intact all notices".} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 7. This requirement modifies the requirement in section 4 to "keep intact all notices".}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.} regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so.} \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution m \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution m
edium, is called an "aggregate" if the compilation and its resulting copyright are not} edium, is called an "aggregate" if the compilation and its resulting copyright are not}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 6. Conveying Non-Source Forms.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 6. Conveying Non-Source Forms.}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.} \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that prod \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that prod
uct model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price uct model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price
no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.} no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in a \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in a
ccord with subsection 6b.} ccord with subsection 6b.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy
the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided
you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requ you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requ
irements.} irements.}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.} \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whethe \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whethe
r a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the p r a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the p
articular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless s articular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless s
uch uses represent the only significant mode of use of the product.} uch uses represent the only significant mode of use of the product.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding So \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding So
urce. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.} urce. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient i \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient i
n perpetuity or for a fixed term (regardless of how the transaction is characterized), the} n perpetuity or for a fixed term (regardless of how the transaction is characterized), the}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for examp \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for examp
le, the work has been installed in ROM).} le, the work has been installed in ROM).}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been
modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.} modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special passwo \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special passwo
rd or key for unpacking, reading or copying.} rd or key for unpacking, reading or copying.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 7. Additional Terms.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 7. Additional Terms.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this L \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this L
icense, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately} icense, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.)
You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.} You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 d) Limiting the use for publicity purposes of names of licensors or authors of the material; or} \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 d) Limiting the use for publicity purposes of names of licensors or authors of the material; or}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions dire \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions dire
ctly impose on those licensors and authors.} ctly impose on those licensors and authors.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that
is a further restriction, you may remove that term. If a license document contains} is a further restriction, you may remove that term. If a license document contains}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 8. Termination.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 8. Termination.}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses grant \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses grant
ed under the third paragraph of section 11).} ed under the third paragraph of section 11).}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the c \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the c
opyright holder fails to notify you of the violation by some reasonable means} opyright holder fails to notify you of the violation by some reasonable means}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 prior to 60 days after the cessation.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 prior to 60 days after the cessation.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work
) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.} ) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive ne \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive ne
w licenses for the same material under section 10.} w licenses for the same material under section 10.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 9. Acceptance Not Required for Having Copies.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 9. Acceptance Not Required for Having Copies.}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require accept \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require accept
ance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do} ance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 10. Automatic Licensing of Downstream Recipients.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 10. Automatic Licensing of Downstream Recipients.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this
License.} License.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each pa \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each pa
rty to that transaction who receives a copy of the work also receives whatever} rty to that transaction who receives a copy of the work also receives whatever}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reaso \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reaso
nable efforts.} nable efforts.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not
initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that} initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 11. Patents.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 11. Patents.}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version".} \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version".}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its co \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its co
ntributor version, but do not include claims that would be infringed only as a} ntributor version, but do not include claims that would be infringed only as a}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor versio \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor versio
n.} n.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" su \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" su
ch a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.} ch a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other re \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other re
adily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the} adily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent lice \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent lice
nse, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that} nse, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 country that you have reason to believe are valid.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 country that you have reason to believe are valid.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagat \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagat
e, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered} e, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 work and works based on it.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 work and works based on it.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not con \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not con
vey a covered work if you are a party to an arrangement with a third party that is} vey a covered work if you are a party to an arrangement with a third party that is}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you,
a discriminatory patent license (a) in connection with copies of the covered work} a discriminatory patent license (a) in connection with copies of the covered work}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March
2007.} 2007.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.} \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 12. No Surrender of Others' Freedom.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 12. No Surrender of Others' Freedom.}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneo \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneo
usly your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you conve usly your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you conve
y the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.} y the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 13. Use with the GNU Affero General Public License.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 13. Use with the GNU Affero General Public License.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The
terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the} terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 combination as such.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 combination as such.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 14. Revised Versions of this License.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 14. Revised Versions of this License.}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.} \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of t \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of t
hat numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation.} hat numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.} \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.} \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 15. Disclaimer of Warranty.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 15. Disclaimer of Warranty.}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, I \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, I
NCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NE NCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NE
CESSARY SERVICING, REPAIR OR CORRECTION.} CESSARY SERVICING, REPAIR OR CORRECTION.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 16. Limitation of Liability.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 16. Limitation of Liability.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CO \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CO
NSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRA NSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRA
MS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.} MS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 17. Interpretation of Sections 15 and 16.} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 17. Interpretation of Sections 15 and 16.}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\qj\aspalpha\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f2\fs24\lang9226\i0\b0 If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in conne \par \pard\plain \ltrpar\s9\cf0\qj{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs20\lang9226\i0\b0 If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in conne
ction with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.} ction with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.}
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af2\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f2\fs24\lang9226\loch\f2\fs24\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af5\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs24\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs24\lang9226\loch\f5\fs24\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f5\fs24\lang9226\i0\b0\ltrch\hich\f2\loch\f2 END OF TERMS AND CONDITIONS} \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226 {\rtlch \ltrch\loch }{\rtlch \ltrch\loch\f4\fs20\lang9226\i0\b0\rtlch\ltrch\hich\f5\loch\f5 END OF TERMS AND CONDITIONS}
\par \pard\plain \ltrpar\s8\aspalpha\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs20\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs20\lang9226\loch\f4\fs20\lang9226
\par \pard\plain \ltrpar\s8\aspalpha\ql\rtlch\af5\afs20\lang255\ltrch\dbch\af5\langfe255\hich\f5\fs20\lang9226\loch\f5\fs20\lang9226 {\rtlch \ltrch\loch } \par \pard\plain \ltrpar\s9\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\aspalpha\ql\rtlch\af4\afs22\lang1081\ltrch\dbch\af4\langfe255\hich\f4\fs22\lang9226\loch\f4\fs22\lang9226{\rtlch\ltrch\dbch\hich\fs20\loch\fs20}{\rtlch \ltrch\loch }
\par } \par }

View File

@ -83,7 +83,7 @@ categories_use_field_for_author_name = 'author'
# Note that the "r'" in front of the { is necessary if there are backslashes # Note that the "r'" in front of the { is necessary if there are backslashes
# (\ characters) in the template. It doesn't hurt anything to leave it there # (\ characters) in the template. It doesn't hurt anything to leave it there
# even if there aren't any backslashes. # even if there aren't any backslashes.
categories_collapsed_name_template = r'{first.sort:shorten(4,"",0)} - {last.sort:shorten(4,"",0)}' categories_collapsed_name_template = r'{first.sort:shorten(4,,0)} - {last.sort:shorten(4,,0)}'
categories_collapsed_rating_template = r'{first.avg_rating:4.2f:ifempty(0)} - {last.avg_rating:4.2f:ifempty(0)}' categories_collapsed_rating_template = r'{first.avg_rating:4.2f:ifempty(0)} - {last.avg_rating:4.2f:ifempty(0)}'
categories_collapsed_popularity_template = r'{first.count:d} - {last.count:d}' categories_collapsed_popularity_template = r'{first.count:d} - {last.count:d}'

View File

@ -1,7 +1,9 @@
__license__ = 'GPL v3' __license__ = 'GPL v3'
__copyright__ = '2010, Eddie Lau' __copyright__ = '2010-2011, Eddie Lau'
''' '''
Change Log: Change Log:
2011/02/20: skip duplicated links in finance section, put photos which may extend a whole page to the back of the articles
clean up the indentation
2010/12/07: add entertainment section, use newspaper front page as ebook cover, suppress date display in section list 2010/12/07: add entertainment section, use newspaper front page as ebook cover, suppress date display in section list
(to avoid wrong date display in case the user generates the ebook in a time zone different from HKT) (to avoid wrong date display in case the user generates the ebook in a time zone different from HKT)
2010/11/22: add English section, remove eco-news section which is not updated daily, correct 2010/11/22: add English section, remove eco-news section which is not updated daily, correct
@ -18,21 +20,19 @@ from calibre.web.feeds.recipes import BasicNewsRecipe
from contextlib import nested from contextlib import nested
from calibre import __appname__
from calibre.ebooks.BeautifulSoup import BeautifulSoup from calibre.ebooks.BeautifulSoup import BeautifulSoup
from calibre.ebooks.metadata.opf2 import OPFCreator from calibre.ebooks.metadata.opf2 import OPFCreator
from calibre.ebooks.metadata.toc import TOC from calibre.ebooks.metadata.toc import TOC
from calibre.ebooks.metadata import MetaInformation from calibre.ebooks.metadata import MetaInformation
class MPHKRecipe(BasicNewsRecipe): class MPHKRecipe(BasicNewsRecipe):
IsKindleUsed = True # to avoid generating periodical in which CJK characters can't be displayed in section/article view IsCJKWellSupported = True # Set to False to avoid generating periodical in which CJK characters can't be displayed in section/article view
title = 'Ming Pao - Hong Kong' title = 'Ming Pao - Hong Kong'
oldest_article = 1 oldest_article = 1
max_articles_per_feed = 100 max_articles_per_feed = 100
__author__ = 'Eddie Lau' __author__ = 'Eddie Lau'
description = 'Hong Kong Chinese Newspaper' description = 'Hong Kong Chinese Newspaper (http://news.mingpao.com)'
publisher = 'news.mingpao.com' publisher = 'MingPao'
category = 'Chinese, News, Hong Kong' category = 'Chinese, News, Hong Kong'
remove_javascript = True remove_javascript = True
use_embedded_content = False use_embedded_content = False
@ -46,19 +46,20 @@ class MPHKRecipe(BasicNewsRecipe):
masthead_url = 'http://news.mingpao.com/image/portals_top_logo_news.gif' masthead_url = 'http://news.mingpao.com/image/portals_top_logo_news.gif'
keep_only_tags = [dict(name='h1'), keep_only_tags = [dict(name='h1'),
dict(name='font', attrs={'style':['font-size:14pt; line-height:160%;']}), # for entertainment page title dict(name='font', attrs={'style':['font-size:14pt; line-height:160%;']}), # for entertainment page title
dict(attrs={'class':['photo']}),
dict(attrs={'id':['newscontent']}), # entertainment page content dict(attrs={'id':['newscontent']}), # entertainment page content
dict(attrs={'id':['newscontent01','newscontent02']})] dict(attrs={'id':['newscontent01','newscontent02']}),
dict(attrs={'class':['photo']})
]
remove_tags = [dict(name='style'), remove_tags = [dict(name='style'),
dict(attrs={'id':['newscontent135']})] # for the finance page dict(attrs={'id':['newscontent135']})] # for the finance page
remove_attributes = ['width'] remove_attributes = ['width']
preprocess_regexps = [ preprocess_regexps = [
(re.compile(r'<h5>', re.DOTALL|re.IGNORECASE), (re.compile(r'<h5>', re.DOTALL|re.IGNORECASE),
lambda match: '<h1>'), lambda match: '<h1>'),
(re.compile(r'</h5>', re.DOTALL|re.IGNORECASE), (re.compile(r'</h5>', re.DOTALL|re.IGNORECASE),
lambda match: '</h1>'), lambda match: '</h1>'),
(re.compile(r'<p><a href=.+?</a></p>', re.DOTALL|re.IGNORECASE), # for entertainment page (re.compile(r'<p><a href=.+?</a></p>', re.DOTALL|re.IGNORECASE), # for entertainment page
lambda match: '') lambda match: '')
] ]
def image_url_processor(cls, baseurl, url): def image_url_processor(cls, baseurl, url):
@ -107,6 +108,9 @@ class MPHKRecipe(BasicNewsRecipe):
def get_fetchdate(self): def get_fetchdate(self):
return self.get_dtlocal().strftime("%Y%m%d") return self.get_dtlocal().strftime("%Y%m%d")
def get_fetchformatteddate(self):
return self.get_dtlocal().strftime("%Y-%m-%d")
def get_fetchday(self): def get_fetchday(self):
# convert UTC to local hk time - at around HKT 6.00am, all news are available # convert UTC to local hk time - at around HKT 6.00am, all news are available
return self.get_dtlocal().strftime("%d") return self.get_dtlocal().strftime("%d")
@ -121,84 +125,66 @@ class MPHKRecipe(BasicNewsRecipe):
return cover return cover
def parse_index(self): def parse_index(self):
feeds = [] feeds = []
dateStr = self.get_fetchdate() dateStr = self.get_fetchdate()
for title, url in [(u'\u8981\u805e Headline', 'http://news.mingpao.com/' + dateStr + '/gaindex.htm'), for title, url in [(u'\u8981\u805e Headline', 'http://news.mingpao.com/' + dateStr + '/gaindex.htm'),
(u'\u6559\u80b2 Education', 'http://news.mingpao.com/' + dateStr + '/gfindex.htm'), (u'\u6e2f\u805e Local', 'http://news.mingpao.com/' + dateStr + '/gbindex.htm'),
(u'\u6e2f\u805e Local', 'http://news.mingpao.com/' + dateStr + '/gbindex.htm'), (u'\u793e\u8a55/\u7b46\u9663 Editorial', 'http://news.mingpao.com/' + dateStr + '/mrindex.htm'),
(u'\u793e\u8a55\u2027\u7b46\u9663 Editorial', 'http://news.mingpao.com/' + dateStr + '/mrindex.htm'), (u'\u8ad6\u58c7 Forum', 'http://news.mingpao.com/' + dateStr + '/faindex.htm'),
(u'\u8ad6\u58c7 Forum', 'http://news.mingpao.com/' + dateStr + '/faindex.htm'), (u'\u4e2d\u570b China', 'http://news.mingpao.com/' + dateStr + '/caindex.htm'),
(u'\u4e2d\u570b China', 'http://news.mingpao.com/' + dateStr + '/caindex.htm'), (u'\u570b\u969b World', 'http://news.mingpao.com/' + dateStr + '/taindex.htm'),
(u'\u570b\u969b World', 'http://news.mingpao.com/' + dateStr + '/taindex.htm'), ('Tech News', 'http://news.mingpao.com/' + dateStr + '/naindex.htm'),
('Tech News', 'http://news.mingpao.com/' + dateStr + '/naindex.htm'), (u'\u6559\u80b2 Education', 'http://news.mingpao.com/' + dateStr + '/gfindex.htm'),
(u'\u9ad4\u80b2 Sport', 'http://news.mingpao.com/' + dateStr + '/spindex.htm'), (u'\u9ad4\u80b2 Sport', 'http://news.mingpao.com/' + dateStr + '/spindex.htm'),
(u'\u526f\u520a Supplement', 'http://news.mingpao.com/' + dateStr + '/jaindex.htm'), (u'\u526f\u520a Supplement', 'http://news.mingpao.com/' + dateStr + '/jaindex.htm'),
(u'\u82f1\u6587 English', 'http://news.mingpao.com/' + dateStr + '/emindex.htm')]: (u'\u82f1\u6587 English', 'http://news.mingpao.com/' + dateStr + '/emindex.htm')]:
articles = self.parse_section(url) articles = self.parse_section(url)
if articles: if articles:
feeds.append((title, articles)) feeds.append((title, articles))
# special - finance # special - finance
fin_articles = self.parse_fin_section('http://www.mpfinance.com/htm/Finance/' + dateStr + '/News/ea,eb,ecindex.htm') fin_articles = self.parse_fin_section('http://www.mpfinance.com/htm/Finance/' + dateStr + '/News/ea,eb,ecindex.htm')
if fin_articles: if fin_articles:
feeds.append((u'\u7d93\u6fdf Finance', fin_articles)) feeds.append((u'\u7d93\u6fdf Finance', fin_articles))
# special - eco-friendly # special - entertainment
# eco_articles = self.parse_eco_section('http://tssl.mingpao.com/htm/marketing/eco/cfm/Eco1.cfm') ent_articles = self.parse_ent_section('http://ol.mingpao.com/cfm/star1.cfm')
# if eco_articles: if ent_articles:
# feeds.append((u'\u74b0\u4fdd Eco News', eco_articles)) feeds.append((u'\u5f71\u8996 Film/TV', ent_articles))
# special - entertainment return feeds
ent_articles = self.parse_ent_section('http://ol.mingpao.com/cfm/star1.cfm')
if ent_articles:
feeds.append((u'\u5f71\u8996 Entertainment', ent_articles))
return feeds
def parse_section(self, url): def parse_section(self, url):
dateStr = self.get_fetchdate() dateStr = self.get_fetchdate()
soup = self.index_to_soup(url) soup = self.index_to_soup(url)
divs = soup.findAll(attrs={'class': ['bullet','bullet_grey']}) divs = soup.findAll(attrs={'class': ['bullet','bullet_grey']})
current_articles = [] current_articles = []
included_urls = [] included_urls = []
divs.reverse() divs.reverse()
for i in divs: for i in divs:
a = i.find('a', href = True) a = i.find('a', href = True)
title = self.tag_to_string(a) title = self.tag_to_string(a)
url = a.get('href', False) url = a.get('href', False)
url = 'http://news.mingpao.com/' + dateStr + '/' +url url = 'http://news.mingpao.com/' + dateStr + '/' +url
if url not in included_urls and url.rfind('Redirect') == -1: if url not in included_urls and url.rfind('Redirect') == -1:
current_articles.append({'title': title, 'url': url, 'description':'', 'date':''}) current_articles.append({'title': title, 'url': url, 'description':'', 'date':''})
included_urls.append(url) included_urls.append(url)
current_articles.reverse() current_articles.reverse()
return current_articles return current_articles
def parse_fin_section(self, url): def parse_fin_section(self, url):
dateStr = self.get_fetchdate() dateStr = self.get_fetchdate()
soup = self.index_to_soup(url) soup = self.index_to_soup(url)
a = soup.findAll('a', href= True) a = soup.findAll('a', href= True)
current_articles = [] current_articles = []
for i in a:
url = i.get('href', False)
if not url.rfind(dateStr) == -1 and url.rfind('index') == -1:
title = self.tag_to_string(i)
url = 'http://www.mpfinance.com/cfm/' +url
current_articles.append({'title': title, 'url': url, 'description':''})
return current_articles
def parse_eco_section(self, url):
dateStr = self.get_fetchdate()
soup = self.index_to_soup(url)
divs = soup.findAll(attrs={'class': ['bullet']})
current_articles = []
included_urls = [] included_urls = []
for i in divs: for i in a:
a = i.find('a', href = True) url = 'http://www.mpfinance.com/cfm/' + i.get('href', False)
title = self.tag_to_string(a) if url not in included_urls and not url.rfind(dateStr) == -1 and url.rfind('index') == -1:
url = a.get('href', False) title = self.tag_to_string(i)
url = 'http://tssl.mingpao.com/htm/marketing/eco/cfm/' +url
if url not in included_urls and url.rfind('Redirect') == -1 and not url.rfind('.txt') == -1 and not url.rfind(dateStr) == -1:
current_articles.append({'title': title, 'url': url, 'description':''}) current_articles.append({'title': title, 'url': url, 'description':''})
included_urls.append(url) included_urls.append(url)
return current_articles return current_articles
def parse_ent_section(self, url): def parse_ent_section(self, url):
self.get_fetchdate()
soup = self.index_to_soup(url) soup = self.index_to_soup(url)
a = soup.findAll('a', href=True) a = soup.findAll('a', href=True)
a.reverse() a.reverse()
@ -223,67 +209,71 @@ class MPHKRecipe(BasicNewsRecipe):
return soup return soup
def create_opf(self, feeds, dir=None): def create_opf(self, feeds, dir=None):
if self.IsKindleUsed == False:
super(MPHKRecipe,self).create_opf(feeds, dir)
return
if dir is None: if dir is None:
dir = self.output_dir dir = self.output_dir
title = self.short_title() if self.IsCJKWellSupported == True:
title += ' ' + self.get_fetchdate() # use Chinese title
#if self.output_profile.periodical_date_in_title: title = u'\u660e\u5831 (\u9999\u6e2f) ' + self.get_fetchformatteddate()
# title += strftime(self.timefmt) else:
mi = MetaInformation(title, [__appname__]) # use English title
mi.publisher = __appname__ title = self.short_title() + ' ' + self.get_fetchformatteddate()
mi.author_sort = __appname__ if True: # force date in title
mi.publication_type = self.publication_type+':'+self.short_title() # title += strftime(self.timefmt)
#mi.timestamp = nowf() mi = MetaInformation(title, [self.publisher])
mi.timestamp = self.get_dtlocal() mi.publisher = self.publisher
mi.comments = self.description mi.author_sort = self.publisher
if not isinstance(mi.comments, unicode): if self.IsCJKWellSupported == True:
mi.comments = mi.comments.decode('utf-8', 'replace') mi.publication_type = 'periodical:'+self.publication_type+':'+self.short_title()
#mi.pubdate = nowf() else:
mi.pubdate = self.get_dtlocal() mi.publication_type = self.publication_type+':'+self.short_title()
opf_path = os.path.join(dir, 'index.opf') #mi.timestamp = nowf()
ncx_path = os.path.join(dir, 'index.ncx') mi.timestamp = self.get_dtlocal()
opf = OPFCreator(dir, mi) mi.comments = self.description
# Add mastheadImage entry to <guide> section if not isinstance(mi.comments, unicode):
mp = getattr(self, 'masthead_path', None) mi.comments = mi.comments.decode('utf-8', 'replace')
if mp is not None and os.access(mp, os.R_OK): #mi.pubdate = nowf()
from calibre.ebooks.metadata.opf2 import Guide mi.pubdate = self.get_dtlocal()
ref = Guide.Reference(os.path.basename(self.masthead_path), os.getcwdu()) opf_path = os.path.join(dir, 'index.opf')
ref.type = 'masthead' ncx_path = os.path.join(dir, 'index.ncx')
ref.title = 'Masthead Image' opf = OPFCreator(dir, mi)
opf.guide.append(ref) # Add mastheadImage entry to <guide> section
mp = getattr(self, 'masthead_path', None)
if mp is not None and os.access(mp, os.R_OK):
from calibre.ebooks.metadata.opf2 import Guide
ref = Guide.Reference(os.path.basename(self.masthead_path), os.getcwdu())
ref.type = 'masthead'
ref.title = 'Masthead Image'
opf.guide.append(ref)
manifest = [os.path.join(dir, 'feed_%d'%i) for i in range(len(feeds))] manifest = [os.path.join(dir, 'feed_%d'%i) for i in range(len(feeds))]
manifest.append(os.path.join(dir, 'index.html')) manifest.append(os.path.join(dir, 'index.html'))
manifest.append(os.path.join(dir, 'index.ncx')) manifest.append(os.path.join(dir, 'index.ncx'))
# Get cover # Get cover
cpath = getattr(self, 'cover_path', None) cpath = getattr(self, 'cover_path', None)
if cpath is None: if cpath is None:
pf = open(os.path.join(dir, 'cover.jpg'), 'wb') pf = open(os.path.join(dir, 'cover.jpg'), 'wb')
if self.default_cover(pf): if self.default_cover(pf):
cpath = pf.name cpath = pf.name
if cpath is not None and os.access(cpath, os.R_OK): if cpath is not None and os.access(cpath, os.R_OK):
opf.cover = cpath opf.cover = cpath
manifest.append(cpath) manifest.append(cpath)
# Get masthead # Get masthead
mpath = getattr(self, 'masthead_path', None) mpath = getattr(self, 'masthead_path', None)
if mpath is not None and os.access(mpath, os.R_OK): if mpath is not None and os.access(mpath, os.R_OK):
manifest.append(mpath) manifest.append(mpath)
opf.create_manifest_from_files_in(manifest) opf.create_manifest_from_files_in(manifest)
for mani in opf.manifest: for mani in opf.manifest:
if mani.path.endswith('.ncx'): if mani.path.endswith('.ncx'):
mani.id = 'ncx' mani.id = 'ncx'
if mani.path.endswith('mastheadImage.jpg'): if mani.path.endswith('mastheadImage.jpg'):
mani.id = 'masthead-image' mani.id = 'masthead-image'
entries = ['index.html'] entries = ['index.html']
toc = TOC(base_path=dir) toc = TOC(base_path=dir)
self.play_order_counter = 0 self.play_order_counter = 0
self.play_order_map = {} self.play_order_map = {}
def feed_index(num, parent): def feed_index(num, parent):
f = feeds[num] f = feeds[num]
@ -321,7 +311,7 @@ class MPHKRecipe(BasicNewsRecipe):
prefix = '/'.join('..'for i in range(2*len(re.findall(r'link\d+', last)))) prefix = '/'.join('..'for i in range(2*len(re.findall(r'link\d+', last))))
templ = self.navbar.generate(True, num, j, len(f), templ = self.navbar.generate(True, num, j, len(f),
not self.has_single_feed, not self.has_single_feed,
a.orig_url, __appname__, prefix=prefix, a.orig_url, self.publisher, prefix=prefix,
center=self.center_navbar) center=self.center_navbar)
elem = BeautifulSoup(templ.render(doctype='xhtml').decode('utf-8')).find('div') elem = BeautifulSoup(templ.render(doctype='xhtml').decode('utf-8')).find('div')
body.insert(len(body.contents), elem) body.insert(len(body.contents), elem)
@ -344,7 +334,7 @@ class MPHKRecipe(BasicNewsRecipe):
if not desc: if not desc:
desc = None desc = None
feed_index(i, toc.add_item('feed_%d/index.html'%i, None, feed_index(i, toc.add_item('feed_%d/index.html'%i, None,
f.title, play_order=po, description=desc, author=auth)) f.title, play_order=po, description=desc, author=auth))
else: else:
entries.append('feed_%d/index.html'%0) entries.append('feed_%d/index.html'%0)
@ -357,4 +347,3 @@ class MPHKRecipe(BasicNewsRecipe):
with nested(open(opf_path, 'wb'), open(ncx_path, 'wb')) as (opf_file, ncx_file): with nested(open(opf_path, 'wb'), open(ncx_path, 'wb')) as (opf_file, ncx_file):
opf.render(opf_file, ncx_file) opf.render(opf_file, ncx_file)

View File

@ -0,0 +1,50 @@
#!/usr/bin/env python
__license__ = 'GPL v3'
'''
OSNews.pl
'''
from calibre.web.feeds.news import BasicNewsRecipe
import re
class OSNewsRecipe(BasicNewsRecipe):
__author__ = u'Mori & Tomasz D\u0142ugosz'
language = 'pl'
title = u'OSnews.pl'
publisher = u'OSnews.pl'
description = u'OSnews.pl jest spo\u0142eczno\u015bciowym serwisem informacyjnym po\u015bwi\u0119conym oprogramowaniu, systemom operacyjnym i \u015bwiatowi IT'
no_stylesheets = True
remove_javascript = True
encoding = 'utf-8'
use_embedded_content = False;
oldest_article = 7
max_articles_per_feed = 100
extra_css = '''
.news-heading {font-size:150%}
.newsinformations li {display:inline;}
blockquote {border:2px solid #000; padding:5px;}
'''
feeds = [
(u'OSNews.pl', u'http://feeds.feedburner.com/OSnewspl')
]
keep_only_tags = [
dict(name = 'a', attrs = {'class' : 'news-heading'}),
dict(name = 'div', attrs = {'class' : 'newsinformations'}),
dict(name = 'div', attrs = {'id' : 'news-content'})
]
remove_tags = [
dict(name = 'div', attrs = {'class' : 'sociable'}),
dict(name = 'div', attrs = {'class' : 'post_prev'}),
dict(name = 'div', attrs = {'class' : 'post_next'}),
dict(name = 'div', attrs = {'class' : 'clr'})
]
preprocess_regexps = [(re.compile(u'</span>Komentarze: \(?[0-9]+\)? ?<span'), lambda match: '</span><span')]

View File

@ -0,0 +1,136 @@
import re
import urllib2
import time
from calibre.web.feeds.news import BasicNewsRecipe
from calibre.ebooks.BeautifulSoup import BeautifulSoup, SoupStrainer
from calibre import strftime
'''
Help Needed:
Still can't figure out why I'm getting strange characters. Esp. the Great Movies descriptions in the TOC.
Anyone help me figure that out?
Change Log:
2011-02-19: Version 2: Added "Oscars" section and fixed date problem
'''
class Ebert(BasicNewsRecipe):
title = 'Roger Ebert'
__author__ = 'Shane Erstad'
version = 2
description = 'Roger Ebert Movie Reviews'
publisher = 'Chicago Sun Times'
category = 'movies'
oldest_article = 8
max_articles_per_feed = 100
no_stylesheets = True
use_embedded_content = False
encoding = 'UTF-8'
masthead_url = 'http://rogerebert.suntimes.com/graphics/global/roger.jpg'
language = 'en'
remove_empty_feeds = False
PREFIX = 'http://rogerebert.suntimes.com'
patternReviews = r'<span class="*?movietitle"*?>(.*?)</span>.*?<div class="*?headline"*?>(.*?)</div>(.*?)</div>'
patternCommentary = r'<div class="*?headline"*?>.*?(<a href="/apps/pbcs.dll/article\?AID=.*?COMMENTARY.*?" id="ltred">.*?</a>).*?<div class="blurb clear">(.*?)</div>'
patternPeople = r'<div class="*?headline"*?>.*?(<a href="/apps/pbcs.dll/article\?AID=.*?PEOPLE.*?" id="ltred">.*?</a>).*?<div class="blurb clear">(.*?)</div>'
patternOscars = r'<div class="*?headline"*?>.*?(<a href="/apps/pbcs.dll/article\?AID=.*?OSCARS.*?" id="ltred">.*?</a>).*?<div class="blurb clear">(.*?)</div>'
patternGlossary = r'<div class="*?headline"*?>.*?(<a href="/apps/pbcs.dll/article\?AID=.*?GLOSSARY.*?" id="ltred">.*?</a>).*?<div class="blurb clear">(.*?)</div>'
conversion_options = {
'comment' : description
, 'tags' : category
, 'publisher' : publisher
, 'language' : language
, 'linearize_tables' : True
}
feeds = [
(u'Reviews' , u'http://rogerebert.suntimes.com/apps/pbcs.dll/section?category=reviews' )
,(u'Commentary' , u'http://rogerebert.suntimes.com/apps/pbcs.dll/section?category=COMMENTARY')
,(u'Great Movies' , u'http://rogerebert.suntimes.com/apps/pbcs.dll/section?category=REVIEWS08')
,(u'People' , u'http://rogerebert.suntimes.com/apps/pbcs.dll/section?category=PEOPLE')
,(u'Oscars' , u'http://rogerebert.suntimes.com/apps/pbcs.dll/section?category=OSCARS')
,(u'Glossary' , u'http://rogerebert.suntimes.com/apps/pbcs.dll/section?category=GLOSSARY')
]
preprocess_regexps = [
(re.compile(r'<font.*?>.*?This is a printer friendly.*?</font>.*?<hr>', re.DOTALL|re.IGNORECASE),
lambda m: '')
]
def print_version(self, url):
return url + '&template=printart'
def parse_index(self):
totalfeeds = []
lfeeds = self.get_feeds()
for feedobj in lfeeds:
feedtitle, feedurl = feedobj
self.log('\tFeedurl: ', feedurl)
self.report_progress(0, _('Fetching feed')+' %s...'%(feedtitle if feedtitle else feedurl))
articles = []
page = urllib2.urlopen(feedurl).read()
if feedtitle == 'Reviews' or feedtitle == 'Great Movies':
pattern = self.patternReviews
elif feedtitle == 'Commentary':
pattern = self.patternCommentary
elif feedtitle == 'People':
pattern = self.patternPeople
elif feedtitle == 'Glossary':
pattern = self.patternGlossary
elif feedtitle == 'Oscars':
pattern = self.patternOscars
regex = re.compile(pattern, re.IGNORECASE|re.DOTALL)
for match in regex.finditer(page):
if feedtitle == 'Reviews' or feedtitle == 'Great Movies':
movietitle = match.group(1)
thislink = match.group(2)
description = match.group(3)
elif feedtitle == 'Commentary' or feedtitle == 'People' or feedtitle == 'Glossary' or feedtitle == 'Oscars':
thislink = match.group(1)
description = match.group(2)
self.log(thislink)
for link in BeautifulSoup(thislink, parseOnlyThese=SoupStrainer('a')):
thisurl = self.PREFIX + link['href']
thislinktext = self.tag_to_string(link)
if feedtitle == 'Reviews' or feedtitle == 'Great Movies':
thistitle = movietitle
elif feedtitle == 'Commentary' or feedtitle == 'People' or feedtitle == 'Glossary' or feedtitle == 'Oscars':
thistitle = thislinktext
if thistitle == '':
continue
pattern2 = r'AID=\/(.*?)\/'
reg2 = re.compile(pattern2, re.IGNORECASE|re.DOTALL)
match2 = reg2.search(thisurl)
if match2:
c = time.strptime(match2.group(1),"%Y%m%d")
mydate=strftime("%A, %B %d, %Y", c)
else:
mydate = strftime("%A, %B %d, %Y")
self.log(mydate)
articles.append({
'title' :thistitle
,'date' :' [' + mydate + ']'
,'url' :thisurl
,'description':description
})
totalfeeds.append((feedtitle, articles))
return totalfeeds

View File

@ -0,0 +1,24 @@
#!/usr/bin/env python
__license__ = 'GPL v3'
__copyright__ = u'2011, Tomasz Dlugosz <tomek3d@gmail.com>'
'''
swiatkindle.pl
'''
import re
class swiatkindle(BasicNewsRecipe):
title = u'Swiat Kindle'
description = u'Blog o czytniku Amazon Kindle. Wersje, ksi\u0105\u017cki, kupowanie i korzystanie w Polsce'
language = 'pl'
__author__ = u'Tomasz D\u0142ugosz'
oldest_article = 7
max_articles_per_feed = 100
feeds = [(u'\u015awiat Kindle - wpisy', u'http://swiatkindle.pl/feed')]
remove_tags = [dict(name = 'ul', attrs = {'class' : 'similar-posts'})]
preprocess_regexps = [(re.compile(u'<h3>Czytaj dalej:</h3>'), lambda match: '')]

View File

@ -17,7 +17,7 @@ __all__ = [
'manual', 'tag_release', 'manual', 'tag_release',
'pypi_register', 'pypi_upload', 'upload_to_server', 'pypi_register', 'pypi_upload', 'upload_to_server',
'upload_user_manual', 'upload_to_mobileread', 'upload_demo', 'upload_user_manual', 'upload_to_mobileread', 'upload_demo',
'upload_to_sourceforge', 'upload_to_google_code', 'upload_to_sourceforge', 'upload_to_google_code', 'reupload',
'linux32', 'linux64', 'linux', 'linux_freeze', 'linux32', 'linux64', 'linux', 'linux_freeze',
'osx32_freeze', 'osx', 'rsync', 'push', 'osx32_freeze', 'osx', 'rsync', 'push',
'win32_freeze', 'win32', 'win', 'win32_freeze', 'win32', 'win',
@ -63,13 +63,14 @@ stage4 = Stage4()
publish = Publish() publish = Publish()
from setup.upload import UploadUserManual, UploadInstallers, UploadDemo, \ from setup.upload import UploadUserManual, UploadInstallers, UploadDemo, \
UploadToServer, UploadToSourceForge, UploadToGoogleCode UploadToServer, UploadToSourceForge, UploadToGoogleCode, ReUpload
upload_user_manual = UploadUserManual() upload_user_manual = UploadUserManual()
upload_to_mobileread = UploadInstallers() upload_to_mobileread = UploadInstallers()
upload_demo = UploadDemo() upload_demo = UploadDemo()
upload_to_server = UploadToServer() upload_to_server = UploadToServer()
upload_to_sourceforge = UploadToSourceForge() upload_to_sourceforge = UploadToSourceForge()
upload_to_google_code = UploadToGoogleCode() upload_to_google_code = UploadToGoogleCode()
reupload = ReUpload()
from setup.installer import Rsync, Push from setup.installer import Rsync, Push
rsync = Rsync() rsync = Rsync()

View File

@ -24,6 +24,7 @@ binary_includes = [
'/usr/bin/pdftohtml', '/usr/bin/pdftohtml',
'/usr/lib/libwmflite-0.2.so.7', '/usr/lib/libwmflite-0.2.so.7',
'/usr/lib/liblcms.so.1', '/usr/lib/liblcms.so.1',
'/usr/lib/liblzma.so.0',
'/usr/lib/libunrar.so', '/usr/lib/libunrar.so',
'/usr/lib/libsqlite3.so.0', '/usr/lib/libsqlite3.so.0',
'/usr/lib/libmng.so.1', '/usr/lib/libmng.so.1',

View File

@ -39,8 +39,22 @@ def installer_description(fname):
return 'OS X dmg' return 'OS X dmg'
return 'Unknown file' return 'Unknown file'
class ReUpload(Command): # {{{
class UploadToGoogleCode(Command): description = 'Re-uplaod any installers present in dist/'
sub_commands = ['upload_to_google_code', 'upload_to_sourceforge']
def pre_sub_commands(self, opts):
opts.re_upload = True
def run(self, opts):
for x in installers():
if os.path.exists(x):
os.remove(x)
# }}}
class UploadToGoogleCode(Command): # {{{
USERNAME = 'kovidgoyal' USERNAME = 'kovidgoyal'
# Password can be gotten by going to # Password can be gotten by going to
@ -52,21 +66,49 @@ class UploadToGoogleCode(Command):
UPLOAD_HOST = 'calibre-ebook.googlecode.com' UPLOAD_HOST = 'calibre-ebook.googlecode.com'
FILES_LIST = 'http://code.google.com/p/calibre-ebook/downloads/list' FILES_LIST = 'http://code.google.com/p/calibre-ebook/downloads/list'
def add_options(self, parser):
parser.add_option('--re-upload', default=False, action='store_true',
help='Re-upload all installers currently in dist/')
def re_upload(self):
fnames = set([os.path.basename(x) for x in installers() if not
x.endswith('.tar.gz') and os.path.exists(x)])
existing = set(self.old_files.keys()).intersection(fnames)
br = self.login_to_gmail()
for x in fnames:
src = os.path.join('dist', x)
if not os.access(src, os.R_OK):
continue
if x in existing:
self.info('Deleting', x)
br.open('http://code.google.com/p/calibre-ebook/downloads/delete?name=%s'%x)
br.select_form(predicate=lambda y: 'delete.do' in y.action)
br.form.find_control(name='delete')
br.submit(name='delete')
self.upload_one(src)
def upload_one(self, fname):
self.info('Uploading', fname)
typ = 'Type-Source' if fname.endswith('.gz') else 'Type-Installer'
ext = os.path.splitext(fname)[1][1:]
op = 'OpSys-'+{'msi':'Windows','dmg':'OSX','bz2':'Linux','gz':'All'}[ext]
desc = installer_description(fname)
path = self.upload(os.path.abspath(fname), desc,
labels=[typ, op, 'Featured'])
self.info('\tUploaded to:', path)
return path
def run(self, opts): def run(self, opts):
self.opts = opts self.opts = opts
self.password = open(self.PASSWORD_FILE).read().strip() self.password = open(self.PASSWORD_FILE).read().strip()
self.paths = {} self.paths = {}
self.old_files = self.get_files_hosted_by_google_code() self.old_files = self.get_files_hosted_by_google_code()
if opts.re_upload:
return self.re_upload()
for fname in installers(): for fname in installers():
self.info('Uploading', fname) path = self.upload_one(fname)
typ = 'Type-Source' if fname.endswith('.gz') else 'Type-Installer'
ext = os.path.splitext(fname)[1][1:]
op = 'OpSys-'+{'msi':'Windows','dmg':'OSX','bz2':'Linux','gz':'All'}[ext]
desc = installer_description(fname)
path = self.upload(os.path.abspath(fname), desc,
labels=[typ, op, 'Featured'])
self.info('\tUploaded to:', path)
self.paths[os.path.basename(fname)] = path self.paths[os.path.basename(fname)] = path
self.info('Updating path map') self.info('Updating path map')
self.info(repr(self.paths)) self.info(repr(self.paths))
@ -189,11 +231,9 @@ class UploadToGoogleCode(Command):
return self.upload(fname, desc, labels=labels, retry=retry+1) return self.upload(fname, desc, labels=labels, retry=retry+1)
raise Exception('Failed to upload '+fname) raise Exception('Failed to upload '+fname)
# }}}
class UploadToSourceForge(Command): # {{{
class UploadToSourceForge(Command):
description = 'Upload release files to sourceforge' description = 'Upload release files to sourceforge'
@ -217,9 +257,10 @@ class UploadToSourceForge(Command):
self.opts = opts self.opts = opts
self.upload_installers() self.upload_installers()
# }}}
class UploadInstallers(Command): class UploadInstallers(Command): # {{{
description = 'Upload any installers present in dist/' description = 'Upload any installers present in dist/ to mobileread'
def curl_list_dir(self, url=MOBILEREAD, listonly=1): def curl_list_dir(self, url=MOBILEREAD, listonly=1):
import pycurl import pycurl
c = pycurl.Curl() c = pycurl.Curl()
@ -289,17 +330,18 @@ class UploadInstallers(Command):
installers = list(map(installer_name, ('dmg', 'msi', 'tar.bz2'))) installers = list(map(installer_name, ('dmg', 'msi', 'tar.bz2')))
installers.append(installer_name('tar.bz2', is64bit=True)) installers.append(installer_name('tar.bz2', is64bit=True))
map(self.upload_installer, installers) map(self.upload_installer, installers)
# }}}
class UploadUserManual(Command): class UploadUserManual(Command): # {{{
description = 'Build and upload the User Manual' description = 'Build and upload the User Manual'
sub_commands = ['manual'] sub_commands = ['manual']
def run(self, opts): def run(self, opts):
check_call(' '.join(['scp', '-r', 'src/calibre/manual/.build/html/*', check_call(' '.join(['scp', '-r', 'src/calibre/manual/.build/html/*',
'divok:%s'%USER_MANUAL]), shell=True) 'divok:%s'%USER_MANUAL]), shell=True)
# }}}
class UploadDemo(Command): # {{{
class UploadDemo(Command):
description = 'Rebuild and upload various demos' description = 'Rebuild and upload various demos'
@ -317,8 +359,9 @@ class UploadDemo(Command):
'zip -j /tmp/html-demo.zip * /tmp/html2lrf.lrf', shell=True) 'zip -j /tmp/html-demo.zip * /tmp/html2lrf.lrf', shell=True)
check_call('scp /tmp/html-demo.zip divok:%s/'%(DOWNLOADS,), shell=True) check_call('scp /tmp/html-demo.zip divok:%s/'%(DOWNLOADS,), shell=True)
# }}}
class UploadToServer(Command): class UploadToServer(Command): # {{{
description = 'Upload miscellaneous data to calibre server' description = 'Upload miscellaneous data to calibre server'
@ -348,6 +391,6 @@ class UploadToServer(Command):
check_call('scp %s/*.sha512 divok:%s/signatures/' % (tdir, DOWNLOADS), check_call('scp %s/*.sha512 divok:%s/signatures/' % (tdir, DOWNLOADS),
shell=True) shell=True)
shutil.rmtree(tdir) shutil.rmtree(tdir)
# }}}

View File

@ -2,7 +2,7 @@ __license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net'
__docformat__ = 'restructuredtext en' __docformat__ = 'restructuredtext en'
__appname__ = 'calibre' __appname__ = 'calibre'
__version__ = '0.7.45' __version__ = '0.7.46'
__author__ = "Kovid Goyal <kovid@kovidgoyal.net>" __author__ = "Kovid Goyal <kovid@kovidgoyal.net>"
import re import re

View File

@ -573,8 +573,8 @@ from calibre.devices.edge.driver import EDGE
from calibre.devices.teclast.driver import TECLAST_K3, NEWSMY, IPAPYRUS, \ from calibre.devices.teclast.driver import TECLAST_K3, NEWSMY, IPAPYRUS, \
SOVOS, PICO, SUNSTECH_EB700, ARCHOS7O, STASH SOVOS, PICO, SUNSTECH_EB700, ARCHOS7O, STASH
from calibre.devices.sne.driver import SNE from calibre.devices.sne.driver import SNE
from calibre.devices.misc import PALMPRE, AVANT, SWEEX, PDNOVEL, KOGAN, \ from calibre.devices.misc import PALMPRE, AVANT, SWEEX, PDNOVEL, \
GEMEI, VELOCITYMICRO, PDNOVEL_KOBO, Q600, LUMIREAD, ALURATEK_COLOR, \ GEMEI, VELOCITYMICRO, PDNOVEL_KOBO, LUMIREAD, ALURATEK_COLOR, \
TREKSTOR, EEEREADER, NEXTBOOK TREKSTOR, EEEREADER, NEXTBOOK
from calibre.devices.folder_device.driver import FOLDER_DEVICE_FOR_CONFIG from calibre.devices.folder_device.driver import FOLDER_DEVICE_FOR_CONFIG
from calibre.devices.kobo.driver import KOBO from calibre.devices.kobo.driver import KOBO
@ -691,8 +691,6 @@ plugins += [
AVANT, AVANT,
MENTOR, MENTOR,
SWEEX, SWEEX,
Q600,
KOGAN,
PDNOVEL, PDNOVEL,
SPECTRA, SPECTRA,
GEMEI, GEMEI,

View File

@ -121,7 +121,8 @@ def enable_plugin(plugin_or_name):
config['enabled_plugins'] = ep config['enabled_plugins'] = ep
default_disabled_plugins = set([ default_disabled_plugins = set([
'Douban Books', 'Douban.com covers', 'Nicebooks', 'Nicebooks covers' 'Douban Books', 'Douban.com covers', 'Nicebooks', 'Nicebooks covers',
'Kent District Library'
]) ])
def is_disabled(plugin): def is_disabled(plugin):

View File

@ -63,7 +63,8 @@ class ANDROID(USBMS):
0x0e79 : { 0x1419: [0x0216], 0x1420 : [0x0216], 0x1422 : [0x0216]}, 0x0e79 : { 0x1419: [0x0216], 0x1420 : [0x0216], 0x1422 : [0x0216]},
# Huawei # Huawei
0x45e : { 0x00e1 : [0x007], }, # Disabled as this USB id is used by various USB flash drives
#0x45e : { 0x00e1 : [0x007], },
# T-Mobile # T-Mobile
0x0408 : { 0x03ba : [0x0109], }, 0x0408 : { 0x03ba : [0x0109], },

View File

@ -54,41 +54,24 @@ class AVANT(USBMS):
class SWEEX(USBMS): class SWEEX(USBMS):
# Identical to the Promedia # Identical to the Promedia
name = 'Sweex Device Interface' name = 'Sweex Device Interface'
gui_name = 'Sweex' gui_name = 'Sweex/Kogan/Q600/Wink'
description = _('Communicate with the Sweex MM300') description = _('Communicate with the Sweex/Kogan/Q600/Wink')
author = 'Kovid Goyal' author = 'Kovid Goyal'
supported_platforms = ['windows', 'osx', 'linux'] supported_platforms = ['windows', 'osx', 'linux']
# Ordered list of supported formats # Ordered list of supported formats
FORMATS = ['epub', 'prc', 'fb2', 'html', 'rtf', 'chm', 'pdf', 'txt'] FORMATS = ['epub', 'mobi', 'prc', 'fb2', 'html', 'rtf', 'chm', 'pdf', 'txt']
VENDOR_ID = [0x0525, 0x177f] VENDOR_ID = [0x0525, 0x177f]
PRODUCT_ID = [0xa4a5, 0x300] PRODUCT_ID = [0xa4a5, 0x300]
BCD = [0x0319, 0x110] BCD = [0x0319, 0x110, 0x325]
VENDOR_NAME = 'SWEEX' VENDOR_NAME = ['SWEEX', 'LINUX']
WINDOWS_MAIN_MEM = WINDOWS_CARD_A_MEM = 'EBOOKREADER' WINDOWS_MAIN_MEM = WINDOWS_CARD_A_MEM = ['EBOOKREADER', 'FILE-STOR_GADGET']
EBOOK_DIR_MAIN = '' EBOOK_DIR_MAIN = ''
SUPPORTS_SUB_DIRS = True SUPPORTS_SUB_DIRS = True
class Q600(SWEEX):
name = 'Digma Q600 Device interface'
gui_name = 'Q600'
description = _('Communicate with the Digma Q600')
BCD = [0x325]
FORMATS = ['epub', 'fb2', 'mobi', 'prc', 'html', 'rtf', 'chm', 'pdf', 'txt']
class KOGAN(SWEEX):
name = 'Kogan Device Interface'
gui_name = 'Kogan'
description = _('Communicate with the Kogan')
VENDOR_NAME = 'LINUX'
WINDOWS_MAIN_MEM = WINDOWS_CARD_A_MEM = 'FILE-STOR_GADGET'
EBOOK_DIR_MAIN = 'Kogan eBooks'
class PDNOVEL(USBMS): class PDNOVEL(USBMS):
name = 'Pandigital Novel device interface' name = 'Pandigital Novel device interface'

View File

@ -75,6 +75,9 @@ class WinPNPScanner(object):
return order return order
def __call__(self, debug=False): def __call__(self, debug=False):
#import traceback
#traceback.print_stack()
if self.scanner is None: if self.scanner is None:
return {} return {}
try: try:

View File

@ -60,7 +60,9 @@ class USBMS(CLI, Device):
def books(self, oncard=None, end_session=True): def books(self, oncard=None, end_session=True):
from calibre.ebooks.metadata.meta import path_to_ext from calibre.ebooks.metadata.meta import path_to_ext
debug_print ('USBMS: Fetching list of books from device. oncard=', oncard) debug_print ('USBMS: Fetching list of books from device. Device=',
self.__class__.__name__,
'oncard=', oncard)
dummy_bl = self.booklist_class(None, None, None) dummy_bl = self.booklist_class(None, None, None)

View File

@ -350,6 +350,8 @@ class FB2MLizer(object):
# Number of blank lines above tag # Number of blank lines above tag
try: try:
ems = int(round((float(style.marginTop) / style.fontSize) - 1)) ems = int(round((float(style.marginTop) / style.fontSize) - 1))
if ems < 0:
ems = 0
except: except:
ems = 0 ems = 0
@ -397,7 +399,7 @@ class FB2MLizer(object):
fb2_out += p_txt fb2_out += p_txt
tags += p_tag tags += p_tag
fb2_out.append('<image xlink:href="#%s" />' % self.image_hrefs[page.abshref(elem_tree.attrib['src'])]) fb2_out.append('<image xlink:href="#%s" />' % self.image_hrefs[page.abshref(elem_tree.attrib['src'])])
if tag in ('br', 'hr') or ems: if tag in ('br', 'hr') or ems >= 1:
if ems < 1: if ems < 1:
multiplier = 1 multiplier = 1
else: else:

View File

@ -854,7 +854,8 @@ class Text(LRFStream):
if len(self.content) == 0: if len(self.content) == 0:
current_style = style.copy() current_style = style.copy()
name, val = action[0], LRFObject.tag_to_val(action, self, tag, None) name, val = action[0], LRFObject.tag_to_val(action, self, tag, None)
if name and current_style[name] != val: if name and (name not in current_style or current_style[name]
!= val):
# No existing Span # No existing Span
if len(self.content) > 0 and isinstance(self.content[-1], self.__class__.Span): if len(self.content) > 0 and isinstance(self.content[-1], self.__class__.Span):
self.content[-1].attrs[name] = val self.content[-1].attrs[name] = val

View File

@ -50,7 +50,7 @@ def to_asin(br, isbn):
else: else:
asin = isbn asin = isbn
with cache_lock: with cache_lock:
asin_cache[isbn] = ans if ans else False asin_cache[isbn] = asin if asin else False
return asin return asin
@ -205,7 +205,10 @@ def main(args=sys.argv):
open(cpath, 'wb').write(br.open_novisit(curl).read()) open(cpath, 'wb').write(br.open_novisit(curl).read())
print 'Cover for', title, 'saved to', cpath print 'Cover for', title, 'saved to', cpath
#import time
#st = time.time()
print get_social_metadata(title, None, None, isbn) print get_social_metadata(title, None, None, isbn)
#print '\n\n', time.time() - st, '\n\n'
return 0 return 0

View File

@ -106,6 +106,9 @@ class MetadataSource(Plugin): # {{{
def join(self): def join(self):
return self.worker.join() return self.worker.join()
def is_alive(self):
return self.worker.is_alive()
def is_customizable(self): def is_customizable(self):
return True return True
@ -251,7 +254,9 @@ class KentDistrictLibrary(MetadataSource): # {{{
name = 'Kent District Library' name = 'Kent District Library'
metadata_type = 'social' metadata_type = 'social'
description = _('Downloads series information from ww2.kdl.org') description = _('Downloads series information from ww2.kdl.org. '
'This website cannot handle large numbers of queries, '
'so the plugin is disabled by default.')
def fetch(self): def fetch(self):
if not self.title or not self.book_author: if not self.title or not self.book_author:

View File

@ -5,7 +5,9 @@ __license__ = 'GPL v3'
__copyright__ = '2011, Kovid Goyal <kovid@kovidgoyal.net>' __copyright__ = '2011, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en' __docformat__ = 'restructuredtext en'
import re, urllib, urlparse import re, urllib, urlparse, socket
from mechanize import URLError
from calibre.ebooks.metadata.book.base import Metadata from calibre.ebooks.metadata.book.base import Metadata
from calibre import browser from calibre import browser
@ -17,7 +19,7 @@ URL = \
_ignore_starts = u'\'"'+u''.join(unichr(x) for x in range(0x2018, 0x201e)+[0x2032, 0x2033]) _ignore_starts = u'\'"'+u''.join(unichr(x) for x in range(0x2018, 0x201e)+[0x2032, 0x2033])
def get_series(title, authors): def get_series(title, authors, timeout=60):
mi = Metadata(title, authors) mi = Metadata(title, authors)
if title and title[0] in _ignore_starts: if title and title[0] in _ignore_starts:
title = title[1:] title = title[1:]
@ -39,7 +41,12 @@ def get_series(title, authors):
url = URL.format(author, title) url = URL.format(author, title)
br = browser() br = browser()
raw = br.open(url).read() try:
raw = br.open_novisit(url, timeout=timeout).read()
except URLError, e:
if isinstance(e.reason, socket.timeout):
raise Exception('KDL Server busy, try again later')
raise
if 'see the full results' not in raw: if 'see the full results' not in raw:
return mi return mi
raw = xml_to_unicode(raw)[0] raw = xml_to_unicode(raw)[0]

View File

@ -85,7 +85,8 @@ class Source(Plugin):
# Metadata API {{{ # Metadata API {{{
def identify(self, log, result_queue, abort, title=None, authors=None, identifiers={}): def identify(self, log, result_queue, abort, title=None, authors=None,
identifiers={}, timeout=5):
''' '''
Identify a book by its title/author/isbn/etc. Identify a book by its title/author/isbn/etc.
@ -98,6 +99,8 @@ class Source(Plugin):
:param authors: A list of authors of the book, can be None :param authors: A list of authors of the book, can be None
:param identifiers: A dictionary of other identifiers, most commonly :param identifiers: A dictionary of other identifiers, most commonly
{'isbn':'1234...'} {'isbn':'1234...'}
:param timeout: Timeout in seconds, no network request should hang for
longer than timeout.
:return: None if no errors occurred, otherwise a unicode representation :return: None if no errors occurred, otherwise a unicode representation
of the error suitable for showing to the user of the error suitable for showing to the user

View File

@ -10,7 +10,6 @@ __docformat__ = 'restructuredtext en'
import time import time
from urllib import urlencode from urllib import urlencode
from functools import partial from functools import partial
from threading import Thread
from lxml import etree from lxml import etree
@ -18,6 +17,7 @@ from calibre.ebooks.metadata.sources.base import Source
from calibre.ebooks.metadata.book.base import Metadata from calibre.ebooks.metadata.book.base import Metadata
from calibre.ebooks.chardet import xml_to_unicode from calibre.ebooks.chardet import xml_to_unicode
from calibre.utils.date import parse_date, utcnow from calibre.utils.date import parse_date, utcnow
from calibre.utils.cleantext import clean_ascii_chars
from calibre import browser, as_unicode from calibre import browser, as_unicode
NAMESPACES = { NAMESPACES = {
@ -41,20 +41,20 @@ subject = XPath('descendant::dc:subject')
description = XPath('descendant::dc:description') description = XPath('descendant::dc:description')
language = XPath('descendant::dc:language') language = XPath('descendant::dc:language')
def get_details(browser, url): def get_details(browser, url, timeout):
try: try:
raw = browser.open_novisit(url).read() raw = browser.open_novisit(url, timeout=timeout).read()
except Exception as e: except Exception as e:
gc = getattr(e, 'getcode', lambda : -1) gc = getattr(e, 'getcode', lambda : -1)
if gc() != 403: if gc() != 403:
raise raise
# Google is throttling us, wait a little # Google is throttling us, wait a little
time.sleep(2) time.sleep(1)
raw = browser.open_novisit(url).read() raw = browser.open_novisit(url, timeout=timeout).read()
return raw return raw
def to_metadata(browser, log, entry_): def to_metadata(browser, log, entry_, timeout):
def get_text(extra, x): def get_text(extra, x):
try: try:
@ -79,8 +79,9 @@ def to_metadata(browser, log, entry_):
mi = Metadata(title_, authors) mi = Metadata(title_, authors)
try: try:
raw = get_details(browser, id_url) raw = get_details(browser, id_url, timeout)
feed = etree.fromstring(xml_to_unicode(raw, strip_encoding_pats=True)[0]) feed = etree.fromstring(xml_to_unicode(clean_ascii_chars(raw),
strip_encoding_pats=True)[0])
extra = entry(feed)[0] extra = entry(feed)[0]
except: except:
log.exception('Failed to get additional details for', mi.title) log.exception('Failed to get additional details for', mi.title)
@ -131,26 +132,19 @@ def to_metadata(browser, log, entry_):
return mi return mi
class Worker(Thread):
def __init__(self, log, entries, abort, result_queue): def get_all_details(br, log, entries, abort, result_queue, timeout):
self.browser, self.log, self.entries = browser(), log, entries for i in entries:
self.abort, self.result_queue = abort, result_queue try:
Thread.__init__(self) ans = to_metadata(br, log, i, timeout)
self.daemon = True if isinstance(ans, Metadata):
result_queue.put(ans)
def run(self): except:
for i in self.entries: log.exception(
try: 'Failed to get metadata for identify entry:',
ans = to_metadata(self.browser, self.log, i) etree.tostring(i))
if isinstance(ans, Metadata): if abort.is_set():
self.result_queue.put(ans) break
except:
self.log.exception(
'Failed to get metadata for identify entry:',
etree.tostring(i))
if self.abort.is_set():
break
class GoogleBooks(Source): class GoogleBooks(Source):
@ -192,54 +186,40 @@ class GoogleBooks(Source):
}) })
def identify(self, log, result_queue, abort, title=None, authors=None, identifiers={}): def identify(self, log, result_queue, abort, title=None, authors=None,
identifiers={}, timeout=5):
query = self.create_query(log, title=title, authors=authors, query = self.create_query(log, title=title, authors=authors,
identifiers=identifiers) identifiers=identifiers)
br = browser()
try: try:
raw = browser().open_novisit(query).read() raw = br.open_novisit(query, timeout=timeout).read()
except Exception, e: except Exception, e:
log.exception('Failed to make identify query: %r'%query) log.exception('Failed to make identify query: %r'%query)
return as_unicode(e) return as_unicode(e)
try: try:
parser = etree.XMLParser(recover=True, no_network=True) parser = etree.XMLParser(recover=True, no_network=True)
feed = etree.fromstring(xml_to_unicode(raw, feed = etree.fromstring(xml_to_unicode(clean_ascii_chars(raw),
strip_encoding_pats=True)[0], parser=parser) strip_encoding_pats=True)[0], parser=parser)
entries = entry(feed) entries = entry(feed)
except Exception, e: except Exception, e:
log.exception('Failed to parse identify results') log.exception('Failed to parse identify results')
return as_unicode(e) return as_unicode(e)
# There is no point running these queries in threads as google
groups = self.split_jobs(entries, 5) # At most 5 threads # throttles requests returning Forbidden errors
if not groups: get_all_details(br, log, entries, abort, result_queue, timeout)
return None
workers = [Worker(log, entries, abort, result_queue) for entries in
groups]
if abort.is_set():
return None
for worker in workers: worker.start()
has_alive_worker = True
while has_alive_worker and not abort.is_set():
time.sleep(0.1)
has_alive_worker = False
for worker in workers:
if worker.is_alive():
has_alive_worker = True
return None return None
if __name__ == '__main__': if __name__ == '__main__':
# To run these test use: calibre-debug -e src/calibre/ebooks/metadata/sources/google.py # To run these test use: calibre-debug -e src/calibre/ebooks/metadata/sources/google.py
from calibre.ebooks.metadata.sources.test import (test_identify_plugin, from calibre.ebooks.metadata.sources.test import (test_identify_plugin,
isbn_test) title_test)
test_identify_plugin(GoogleBooks.name, test_identify_plugin(GoogleBooks.name,
[ [
( (
{'title': 'Great Expectations', 'authors':['Charles Dickens']}, {'title': 'Great Expectations', 'authors':['Charles Dickens']},
[isbn_test('9781607541592')] [title_test('Great Expectations', exact=True)]
), ),
]) ])

View File

@ -7,7 +7,7 @@ __license__ = 'GPL v3'
__copyright__ = '2011, Kovid Goyal <kovid@kovidgoyal.net>' __copyright__ = '2011, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en' __docformat__ = 'restructuredtext en'
import os, tempfile import os, tempfile, time
from Queue import Queue, Empty from Queue import Queue, Empty
from threading import Event from threading import Event
@ -26,6 +26,17 @@ def isbn_test(isbn):
return test return test
def title_test(title, exact=False):
title = title.lower()
def test(mi):
mt = mi.title.lower()
return (exact and mt == title) or \
(not exact and title in mt)
return test
def test_identify_plugin(name, tests): def test_identify_plugin(name, tests):
''' '''
:param name: Plugin name :param name: Plugin name
@ -48,11 +59,15 @@ def test_identify_plugin(name, tests):
abort = Event() abort = Event()
prints('Log saved to', lf) prints('Log saved to', lf)
times = []
for kwargs, test_funcs in tests: for kwargs, test_funcs in tests:
prints('Running test with:', kwargs) prints('Running test with:', kwargs)
rq = Queue() rq = Queue()
args = (log, rq, abort) args = (log, rq, abort)
start_time = time.time()
err = plugin.identify(*args, **kwargs) err = plugin.identify(*args, **kwargs)
total_time = time.time() - start_time
times.append(total_time)
if err is not None: if err is not None:
prints('identify returned an error for args', args) prints('identify returned an error for args', args)
prints(err) prints(err)
@ -87,6 +102,8 @@ def test_identify_plugin(name, tests):
prints('Log saved to', lf) prints('Log saved to', lf)
raise SystemExit(1) raise SystemExit(1)
prints('Average time per query', sum(times)/len(times))
if os.stat(lf).st_size > 10: if os.stat(lf).st_size > 10:
prints('There were some errors, see log', lf) prints('There were some errors, see log', lf)

View File

@ -11,6 +11,12 @@ from calibre import browser
class xISBN(object): class xISBN(object):
'''
This class is used to find the ISBN numbers of "related" editions of a
book, given its ISBN. Useful when querying services for metadata by ISBN,
in case they do not have the ISBN for the particular edition.
'''
QUERY = 'http://xisbn.worldcat.org/webservices/xid/isbn/%s?method=getEditions&format=json&fl=form,year,lang,ed' QUERY = 'http://xisbn.worldcat.org/webservices/xid/isbn/%s?method=getEditions&format=json&fl=form,year,lang,ed'
def __init__(self): def __init__(self):

View File

@ -301,7 +301,7 @@ void PNGWriter::write_splash_bitmap(SplashBitmap *bitmap) {
void calibre_png_mem_write(png_structp png_ptr, png_bytep data, png_size_t length) { void calibre_png_mem_write(png_structp png_ptr, png_bytep data, png_size_t length) {
if (!png_ptr || length < 1) return; if (!png_ptr || length < 1) return;
vector<char> *buf = static_cast< vector<char>* >(png_ptr->io_ptr); vector<char> *buf = static_cast< vector<char>* >(png_get_io_ptr(png_ptr));
buf->reserve(buf->capacity() + length); buf->reserve(buf->capacity() + length);
do { do {
buf->push_back(static_cast<char>(*data)); buf->push_back(static_cast<char>(*data));

View File

@ -27,7 +27,7 @@ class InterfaceAction(QObject):
If two :class:`InterfaceAction` objects have the same name, the one with higher If two :class:`InterfaceAction` objects have the same name, the one with higher
priority takes precedence. priority takes precedence.
Sub-classes should implement the :meth:`genesis`, :meth:`library_moved`, Sub-classes should implement the :meth:`genesis`, :meth:`library_changed`,
:meth:`location_selected` :meth:`shutting_down` :meth:`location_selected` :meth:`shutting_down`
and :meth:`initialization_complete` methods. and :meth:`initialization_complete` methods.

View File

@ -259,6 +259,7 @@ class AddAction(InterfaceAction):
if hasattr(self.gui, 'db_images'): if hasattr(self.gui, 'db_images'):
self.gui.db_images.reset() self.gui.db_images.reset()
self.gui.tags_view.recount() self.gui.tags_view.recount()
if getattr(self._adder, 'merged_books', False): if getattr(self._adder, 'merged_books', False):
books = u'\n'.join([x if isinstance(x, unicode) else books = u'\n'.join([x if isinstance(x, unicode) else
x.decode(preferred_encoding, 'replace') for x in x.decode(preferred_encoding, 'replace') for x in
@ -266,6 +267,17 @@ class AddAction(InterfaceAction):
info_dialog(self.gui, _('Merged some books'), info_dialog(self.gui, _('Merged some books'),
_('The following duplicate books were found and incoming book formats were ' _('The following duplicate books were found and incoming book formats were '
'processed and merged into your Calibre database according to your automerge settings:'), det_msg=books, show=True) 'processed and merged into your Calibre database according to your automerge settings:'), det_msg=books, show=True)
if getattr(self._adder, 'number_of_books_added', 0) > 0 or \
getattr(self._adder, 'merged_books', False):
# The formats of the current book could have changed if
# automerge is enabled
current_idx = self.gui.library_view.currentIndex()
if current_idx.isValid():
self.gui.library_view.model().current_changed(current_idx,
current_idx)
if getattr(self._adder, 'critical', None): if getattr(self._adder, 'critical', None):
det_msg = [] det_msg = []
for name, log in self._adder.critical.items(): for name, log in self._adder.critical.items():

View File

@ -62,7 +62,7 @@ class MultiCompleteLineEdit(QLineEdit, LineEditECM):
c.setWidget(self) c.setWidget(self)
c.setCompletionMode(QCompleter.PopupCompletion) c.setCompletionMode(QCompleter.PopupCompletion)
c.setCaseSensitivity(Qt.CaseInsensitive) c.setCaseSensitivity(Qt.CaseInsensitive)
c.setModelSorting(QCompleter.CaseInsensitivelySortedModel) c.setModelSorting(QCompleter.UnsortedModel)
c.setCompletionRole(Qt.DisplayRole) c.setCompletionRole(Qt.DisplayRole)
p = c.popup() p = c.popup()
p.setMouseTracking(True) p.setMouseTracking(True)

View File

@ -3,7 +3,7 @@ __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
'''Dialog to edit metadata in bulk''' '''Dialog to edit metadata in bulk'''
import re, os import re, os, inspect
from PyQt4.Qt import Qt, QDialog, QGridLayout, QVBoxLayout, QFont, QLabel, \ from PyQt4.Qt import Qt, QDialog, QGridLayout, QVBoxLayout, QFont, QLabel, \
pyqtSignal, QDialogButtonBox, QInputDialog, QLineEdit, \ pyqtSignal, QDialogButtonBox, QInputDialog, QLineEdit, \
@ -711,10 +711,6 @@ class MetadataBulkDialog(ResizableDialog, Ui_MetadataBulkDialog):
val = self.s_r_do_regexp(mi) val = self.s_r_do_regexp(mi)
val = self.s_r_do_destination(mi, val) val = self.s_r_do_destination(mi, val)
if dfm['is_multiple']: if dfm['is_multiple']:
if dfm['is_custom']:
# The standard tags and authors values want to be lists.
# All custom columns are to be strings
val = dfm['is_multiple'].join(val)
if dest == 'authors' and len(val) == 0: if dest == 'authors' and len(val) == 0:
error_dialog(self, _('Search/replace invalid'), error_dialog(self, _('Search/replace invalid'),
_('Authors cannot be set to the empty string. ' _('Authors cannot be set to the empty string. '
@ -732,8 +728,9 @@ class MetadataBulkDialog(ResizableDialog, Ui_MetadataBulkDialog):
if dfm['is_custom']: if dfm['is_custom']:
extra = self.db.get_custom_extra(id, label=dfm['label'], index_is_id=True) extra = self.db.get_custom_extra(id, label=dfm['label'], index_is_id=True)
self.db.set_custom(id, val, label=dfm['label'], extra=extra, books_to_refresh = self.db.set_custom(id, val, label=dfm['label'],
commit=False) extra=extra, commit=False,
allow_case_change=True)
else: else:
if dest == 'comments': if dest == 'comments':
setter = self.db.set_comment setter = self.db.set_comment
@ -741,10 +738,19 @@ class MetadataBulkDialog(ResizableDialog, Ui_MetadataBulkDialog):
setter = self.db.set_title_sort setter = self.db.set_title_sort
else: else:
setter = getattr(self.db, 'set_'+dest) setter = getattr(self.db, 'set_'+dest)
if dest in ['title', 'authors']:
setter(id, val, notify=False) args = inspect.getargspec(setter)
if args and 'allow_case_change' in args.args:
books_to_refresh = setter(id, val, notify=False, commit=False,
allow_case_change=True)
else: else:
setter(id, val, notify=False, commit=False) setter(id, val, notify=False, commit=False)
books_to_refresh = set([])
if books_to_refresh:
# Must commit here because we are telling the gui that the data is
# permanent. Make sure it really is.
self.db.commit()
self.model.refresh_ids(list(books_to_refresh))
def create_custom_column_editors(self): def create_custom_column_editors(self):
w = self.central_widget.widget(1) w = self.central_widget.widget(1)

View File

@ -153,17 +153,17 @@ class CreateCustomColumn(QDialog, Ui_QCreateCustomColumn):
display_dict = {} display_dict = {}
if col_type == 'datetime': if col_type == 'datetime':
if self.date_format_box.text().strip(): if unicode(self.date_format_box.text()).strip():
display_dict = {'date_format':unicode(self.date_format_box.text()).strip()} display_dict = {'date_format':unicode(self.date_format_box.text()).strip()}
else: else:
display_dict = {'date_format': None} display_dict = {'date_format': None}
elif col_type == 'composite': elif col_type == 'composite':
if not self.composite_box.text().strip(): if not unicode(self.composite_box.text()).strip():
return self.simple_error('', _('You must enter a template for' return self.simple_error('', _('You must enter a template for'
' composite columns')) ' composite columns'))
display_dict = {'composite_template':unicode(self.composite_box.text()).strip()} display_dict = {'composite_template':unicode(self.composite_box.text()).strip()}
elif col_type == 'enumeration': elif col_type == 'enumeration':
if not self.enum_box.text(): if not unicode(self.enum_box.text()).strip():
return self.simple_error('', _('You must enter at least one' return self.simple_error('', _('You must enter at least one'
' value for enumeration columns')) ' value for enumeration columns'))
l = [v.strip() for v in unicode(self.enum_box.text()).split(',')] l = [v.strip() for v in unicode(self.enum_box.text()).split(',')]

View File

@ -1096,7 +1096,8 @@ class TagsModel(QAbstractItemModel): # {{{
if tag in nodes_seen: if tag in nodes_seen:
continue continue
nodes_seen.add(tag) nodes_seen.add(tag)
ans.append('%s%s:"=%s"'%(prefix, category, tag.name)) ans.append('%s%s:"=%s"'%(prefix, category,
tag.name.replace(r'"', r'\"')))
return ans return ans
def find_item_node(self, key, txt, start_path): def find_item_node(self, key, txt, start_path):

View File

@ -13,7 +13,7 @@ from tempfile import NamedTemporaryFile
from StringIO import StringIO from StringIO import StringIO
from calibre import iswindows, load_library, CurrentDir from calibre import iswindows, load_library, CurrentDir
from calibre.ptempfile import TemporaryDirectory from calibre.ptempfile import TemporaryDirectory, PersistentTemporaryFile
_librar_name = 'libunrar' _librar_name = 'libunrar'
cdll = ctypes.cdll cdll = ctypes.cdll
@ -270,15 +270,23 @@ def extract_member(path, match=re.compile(r'\.(jpg|jpeg|gif|png)\s*$', re.I),
return path, open(path, 'rb').read() return path, open(path, 'rb').read()
def extract_first_alphabetically(path): def extract_first_alphabetically(path):
remove_path = False
if hasattr(path, 'read'): if hasattr(path, 'read'):
data = path.read() data = path.read()
f = NamedTemporaryFile(suffix='.rar') with PersistentTemporaryFile('.rar') as f:
f.write(data) f.write(data)
f.flush()
path = f.name path = f.name
remove_path = True
names_ = [x for x in names(path) if os.path.splitext(x)[1][1:].lower() in names_ = [x for x in names(path) if os.path.splitext(x)[1][1:].lower() in
('png', 'jpg', 'jpeg', 'gif')] ('png', 'jpg', 'jpeg', 'gif')]
names_.sort() names_.sort()
return extract_member(path, name=names_[0], match=None) ans = extract_member(path, name=names_[0], match=None)
try:
if remove_path:
os.remove(path)
except:
pass
return ans

File diff suppressed because it is too large Load Diff

View File

@ -11,13 +11,13 @@ msgstr ""
"Project-Id-Version: es\n" "Project-Id-Version: es\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-02-15 18:45+0000\n" "POT-Creation-Date: 2011-02-15 18:45+0000\n"
"PO-Revision-Date: 2011-02-16 09:51+0000\n" "PO-Revision-Date: 2011-02-17 14:40+0000\n"
"Last-Translator: Jellby <Unknown>\n" "Last-Translator: Jellby <Unknown>\n"
"Language-Team: Spanish\n" "Language-Team: Spanish\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-02-17 04:35+0000\n" "X-Launchpad-Export-Date: 2011-02-18 04:33+0000\n"
"X-Generator: Launchpad (build 12351)\n" "X-Generator: Launchpad (build 12351)\n"
#: /home/kovid/work/calibre/src/calibre/customize/profiles.py:527 #: /home/kovid/work/calibre/src/calibre/customize/profiles.py:527
@ -2111,7 +2111,7 @@ msgid ""
msgstr "" msgstr ""
"Transliterar caracteres unicode a la representación ASCII. Tenga cuidado al " "Transliterar caracteres unicode a la representación ASCII. Tenga cuidado al "
"usar esta opción, ya que reemplazará los caracteres unicode con ASCII. Por " "usar esta opción, ya que reemplazará los caracteres unicode con ASCII. Por "
"ejemplo, sustituirá «%s%» por «Mikhail Gorbachiov». Tenga en cuenta también " "ejemplo, sustituirá «%s» por «Mikhail Gorbachiov». Tenga en cuenta también "
"que en los casos en los que existen múltiples representaciones para un " "que en los casos en los que existen múltiples representaciones para un "
"carácter (caracteres compartidos por la escritura china y japonesa, por " "carácter (caracteres compartidos por la escritura china y japonesa, por "
"ejemplo) se usará la representación basada en el idioma de la interfaz de " "ejemplo) se usará la representación basada en el idioma de la interfaz de "
@ -4039,6 +4039,19 @@ msgid ""
"* off: Don't modify the paragraph structure. This is useful when combined " "* off: Don't modify the paragraph structure. This is useful when combined "
"with Markdown or Textile formatting to ensure no formatting is lost." "with Markdown or Textile formatting to ensure no formatting is lost."
msgstr "" msgstr ""
"Estructura de párrafos.\n"
"las opciones son [«auto», «block», «single», «print», «unformatted», «off»]\n"
"* auto: Intenta detectar automáticamente el tipo de párrafo.\n"
"* block: Considera cada línea en blanco como un salto de párrafo.\n"
"* single: Considera cada línea como un párrafo distinto.\n"
"* print: Considera que cada línea que comienza con dos o más espacios o una "
"tabulación empieza un párrafo.\n"
"* unformatted: Casi todas las líneas tienen saltos forzados, con poca o "
"ninguna sangría. Intenta determinar la estructura y aplicar formato a los "
"distintos elementos.\n"
"* off: No se modifica la estructura de párrafos. Esta opción es útil "
"combinada con el formato Markdown o Textile, para asegurarse de que no se "
"pierde el formato."
#: /home/kovid/work/calibre/src/calibre/ebooks/txt/input.py:43 #: /home/kovid/work/calibre/src/calibre/ebooks/txt/input.py:43
msgid "" msgid ""
@ -4052,6 +4065,15 @@ msgid ""
"* markdown: Processing using markdown formatting. To learn more about " "* markdown: Processing using markdown formatting. To learn more about "
"markdown see" "markdown see"
msgstr "" msgstr ""
"Formato usado en el documento.\n"
"* auto: Decide automáticamente el procesador de formato que se usa.\n"
"* plain: No procesa el formato del documento. Todo es un párrafo y no se "
"aplica ningún estilo.\n"
"* heuristic: Procesa el texto con heurística para determinar formatos como "
"títulos de capítulo o cursivas.\n"
"* textile: Procesa el text con formato textile.\n"
"* markdown: Procesa el texto con formato markdown. Para aprender más sobre "
"markdown vea\""
#: /home/kovid/work/calibre/src/calibre/ebooks/txt/input.py:53 #: /home/kovid/work/calibre/src/calibre/ebooks/txt/input.py:53
msgid "" msgid ""
@ -12368,13 +12390,15 @@ msgstr "&Guardar"
#: /home/kovid/work/calibre/src/calibre/gui2/preferences/search_ui.py:132 #: /home/kovid/work/calibre/src/calibre/gui2/preferences/search_ui.py:132
msgid "Make &user categories from:" msgid "Make &user categories from:"
msgstr "" msgstr "Crear categorías de &usuario a partir de:"
#: /home/kovid/work/calibre/src/calibre/gui2/preferences/search_ui.py:133 #: /home/kovid/work/calibre/src/calibre/gui2/preferences/search_ui.py:133
msgid "" msgid ""
"Enter the names of any grouped search terms you wish\n" "Enter the names of any grouped search terms you wish\n"
"to be shown as user categories" "to be shown as user categories"
msgstr "" msgstr ""
"Introduzca los nombres de los términos agrupados de búsqueda\n"
"que desea que se muestren como categorías de usuario"
#: /home/kovid/work/calibre/src/calibre/gui2/preferences/sending.py:28 #: /home/kovid/work/calibre/src/calibre/gui2/preferences/sending.py:28
#: /home/kovid/work/calibre/src/calibre/gui2/preferences/sending_ui.py:70 #: /home/kovid/work/calibre/src/calibre/gui2/preferences/sending_ui.py:70
@ -14574,6 +14598,14 @@ msgid ""
"Select all books by '{0}', apply correct Author Sort value in Edit Metadata " "Select all books by '{0}', apply correct Author Sort value in Edit Metadata "
"dialog, then rebuild the catalog.\n" "dialog, then rebuild the catalog.\n"
msgstr "" msgstr ""
"Valores de orden de autor inconsistentes para\n"
"Autor «{0}»:\n"
"«{1}» <> «{2}»\n"
"No puede generar el catálogo MOBI.\n"
"\n"
"Seleccione todos los libros de «{0}» y establezca el orden de autor "
"correcto\n"
"en el cuadro de edición de metadatos, después vuelva a generar el catálogo.\n"
#: /home/kovid/work/calibre/src/calibre/library/catalog.py:1504 #: /home/kovid/work/calibre/src/calibre/library/catalog.py:1504
msgid "" msgid ""
@ -14581,6 +14613,9 @@ msgid ""
"Author '{0}':\n" "Author '{0}':\n"
"'{1}' <> '{2}'\n" "'{1}' <> '{2}'\n"
msgstr "" msgstr ""
"Aviso: valores de orden de autor inconsistentes para\n"
"Autor «{0}»:\n"
"«{1}» <> «{2}»\n"
#: /home/kovid/work/calibre/src/calibre/library/catalog.py:1700 #: /home/kovid/work/calibre/src/calibre/library/catalog.py:1700
msgid "" msgid ""

View File

@ -8,13 +8,13 @@ msgstr ""
"Project-Id-Version: calibre\n" "Project-Id-Version: calibre\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2011-02-15 18:45+0000\n" "POT-Creation-Date: 2011-02-15 18:45+0000\n"
"PO-Revision-Date: 2011-02-13 00:47+0000\n" "PO-Revision-Date: 2011-02-18 00:52+0000\n"
"Last-Translator: Merarom <Unknown>\n" "Last-Translator: Kovid Goyal <Unknown>\n"
"Language-Team: Swedish <sv@li.org>\n" "Language-Team: Swedish <sv@li.org>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-02-16 04:45+0000\n" "X-Launchpad-Export-Date: 2011-02-18 04:34+0000\n"
"X-Generator: Launchpad (build 12351)\n" "X-Generator: Launchpad (build 12351)\n"
"X-Poedit-Country: SWEDEN\n" "X-Poedit-Country: SWEDEN\n"
"X-Poedit-Language: Swedish\n" "X-Poedit-Language: Swedish\n"
@ -7410,7 +7410,7 @@ msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/custom_column_widgets.py:513 #: /home/kovid/work/calibre/src/calibre/gui2/custom_column_widgets.py:513
msgid "Apply changes" msgid "Apply changes"
msgstr "Rensa '%s'" msgstr "Verkställ ändringar"
#: /home/kovid/work/calibre/src/calibre/gui2/custom_column_widgets.py:706 #: /home/kovid/work/calibre/src/calibre/gui2/custom_column_widgets.py:706
msgid "Remove series" msgid "Remove series"

View File

@ -8,13 +8,13 @@ msgstr ""
"Project-Id-Version: calibre\n" "Project-Id-Version: calibre\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2011-02-15 18:45+0000\n" "POT-Creation-Date: 2011-02-15 18:45+0000\n"
"PO-Revision-Date: 2011-02-16 04:50+0000\n" "PO-Revision-Date: 2011-02-17 22:33+0000\n"
"Last-Translator: Chao-Hsiung Liao <j_h_liau@yahoo.com.tw>\n" "Last-Translator: Chao-Hsiung Liao <j_h_liau@yahoo.com.tw>\n"
"Language-Team: Chinese (traditional)\n" "Language-Team: Chinese (traditional)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-02-17 04:35+0000\n" "X-Launchpad-Export-Date: 2011-02-18 04:34+0000\n"
"X-Generator: Launchpad (build 12351)\n" "X-Generator: Launchpad (build 12351)\n"
"Language: zh_TW\n" "Language: zh_TW\n"
@ -2070,7 +2070,7 @@ msgstr "正在對電子書籍進行轉換..."
#: /home/kovid/work/calibre/src/calibre/ebooks/conversion/plumber.py:1013 #: /home/kovid/work/calibre/src/calibre/ebooks/conversion/plumber.py:1013
msgid "Creating" msgid "Creating"
msgstr "建立" msgstr "正在建立"
#: /home/kovid/work/calibre/src/calibre/ebooks/epub/fix/__init__.py:20 #: /home/kovid/work/calibre/src/calibre/ebooks/epub/fix/__init__.py:20
msgid "Failed to parse: %s with error: %s" msgid "Failed to parse: %s with error: %s"

View File

@ -164,36 +164,6 @@ SWIG_TypeCast(swig_type_info *ty, void *ptr)
return (*ty->converter)(ptr); return (*ty->converter)(ptr);
} }
/* Dynamic pointer casting. Down an inheritance hierarchy */
SWIGRUNTIME(swig_type_info *)
SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr)
{
swig_type_info *lastty = ty;
if (!ty || !ty->dcast) return ty;
while (ty && (ty->dcast)) {
ty = (*ty->dcast)(ptr);
if (ty) lastty = ty;
}
return lastty;
}
/* Return the name associated with this type */
SWIGRUNTIME(const char *)
SWIG_TypeName(const swig_type_info *ty) {
return ty->name;
}
/* Search for a swig_type_info structure */
SWIGRUNTIME(swig_type_info *)
SWIG_TypeQuery(const char *name) {
swig_type_info *ty = swig_type_list;
while (ty) {
if (ty->str && (strcmp(name,ty->str) == 0)) return ty;
if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
ty = ty->prev;
}
return 0;
}
/* Set the clientdata field for a type */ /* Set the clientdata field for a type */
SWIGRUNTIME(void) SWIGRUNTIME(void)
@ -365,21 +335,6 @@ SWIG_newvarlink(void) {
return ((PyObject*) result); return ((PyObject*) result);
} }
SWIGRUNTIME(void)
SWIG_addvarlink(PyObject *p, char *name,
PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
swig_varlinkobject *v;
swig_globalvar *gv;
v= (swig_varlinkobject *) p;
gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
gv->name = (char *) malloc(strlen(name)+1);
strcpy(gv->name,name);
gv->get_attr = get_attr;
gv->set_attr = set_attr;
gv->next = v->vars;
v->vars = gv;
}
/* Pack binary data into a string */ /* Pack binary data into a string */
SWIGRUNTIME(char *) SWIGRUNTIME(char *)
SWIG_PackData(char *c, void *ptr, int sz) { SWIG_PackData(char *c, void *ptr, int sz) {
@ -395,29 +350,6 @@ SWIG_PackData(char *c, void *ptr, int sz) {
return c; return c;
} }
/* Unpack binary data from a string */
SWIGRUNTIME(char *)
SWIG_UnpackData(char *c, void *ptr, int sz) {
register unsigned char uu = 0;
register int d;
unsigned char *u = (unsigned char *) ptr;
int i;
for (i = 0; i < sz; i++, u++) {
d = *(c++);
if ((d >= '0') && (d <= '9'))
uu = ((d - '0') << 4);
else if ((d >= 'a') && (d <= 'f'))
uu = ((d - ('a'-10)) << 4);
d = *(c++);
if ((d >= '0') && (d <= '9'))
uu |= (d - '0');
else if ((d >= 'a') && (d <= 'f'))
uu |= (d - ('a'-10));
*u = uu;
}
return c;
}
/* Convert a pointer value */ /* Convert a pointer value */
SWIGRUNTIME(int) SWIGRUNTIME(int)
SWIG_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) { SWIG_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
@ -510,39 +442,6 @@ type_error:
return -1; return -1;
} }
/* Convert a packed value value */
SWIGRUNTIME(int)
SWIG_ConvertPacked(PyObject *obj, void *ptr, int sz, swig_type_info *ty, int flags) {
swig_type_info *tc;
char *c;
if ((!obj) || (!PyString_Check(obj))) goto type_error;
c = PyString_AsString(obj);
/* Pointer values must start with leading underscore */
if (*c != '_') goto type_error;
c++;
c = SWIG_UnpackData(c,ptr,sz);
if (ty) {
tc = SWIG_TypeCheck(c,ty);
if (!tc) goto type_error;
}
return 0;
type_error:
if (flags) {
if (ty) {
char *temp = (char *) malloc(64+strlen(ty->name));
sprintf(temp,"Type error. Expected %s", ty->name);
PyErr_SetString(PyExc_TypeError, temp);
free((char *) temp);
} else {
PyErr_SetString(PyExc_TypeError,"Expected a pointer");
}
}
return -1;
}
/* Create a new pointer object */ /* Create a new pointer object */
SWIGRUNTIME(PyObject *) SWIGRUNTIME(PyObject *)
SWIG_NewPointerObj(void *ptr, swig_type_info *type, int own) { SWIG_NewPointerObj(void *ptr, swig_type_info *type, int own) {
@ -1071,7 +970,7 @@ static PyObject *_wrap_chm_retrieve_object(PyObject *self, PyObject *args) {
resultobj = PyLong_FromLongLong(result); resultobj = PyLong_FromLongLong(result);
{ {
PyObject *o; PyObject *o;
o = PyString_FromStringAndSize(arg3, arg5); o = PyString_FromStringAndSize((const char *)arg3, arg5);
resultobj = t_output_helper(resultobj,o); resultobj = t_output_helper(resultobj,o);