ansi 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.ruby CHANGED
@@ -1,47 +1,52 @@
1
- ---
2
- name: ansi
3
- version: 1.3.0
4
- title: ANSI
5
- summary: ANSI codes at your fingertips!
6
- description: The ANSI project is a collection of ANSI escape code related libraries enabling ANSI code based colorization and stylization of output. It is very nice for beautifying shell output.
7
- loadpath:
8
- - lib
9
- manifest: Manifest
10
- requires:
1
+ ---
2
+ source:
3
+ - meta
4
+ authors:
5
+ - name: Thomas Sawyer
6
+ - name: Florian Frank
7
+ copyrights:
8
+ - holder: Rubyworks
9
+ year: '2009'
10
+ replacements: []
11
+ alternatives: []
12
+ requirements:
11
13
  - name: detroit
12
- version: 0+
13
- group:
14
+ groups:
14
15
  - build
16
+ development: true
15
17
  - name: qed
16
- version: 0+
17
- group:
18
+ groups:
18
19
  - test
20
+ development: true
19
21
  - name: lemon
20
- version: 0+
21
- group:
22
+ groups:
22
23
  - test
24
+ development: true
25
+ dependencies: []
23
26
  conflicts: []
24
-
25
- replaces: []
26
-
27
- engine_check: []
28
-
29
- organization: RubyWorks
30
- contact: rubyworks-mailinglist@googlegroups.com
31
- created: 2004-08-01
32
- copyright: Copyright (c) 2009 Thomas Sawyer
33
- licenses:
34
- - Apache 2.0
35
- authors:
36
- - Thomas Sawyer
37
- - Florian Frank
38
- maintainers: []
39
-
40
- resources:
27
+ repositories:
28
+ - uri: git://github.com/rubyworks/ansi.git
29
+ scm: git
30
+ name: upstream
31
+ resources:
41
32
  home: http://rubyworks.github.com/ansi
42
- work: http://github.com/rubyworks/ansi
43
- api: http://rubyworks.github.com/ansi/rdoc
33
+ code: http://github.com/rubyworks/ansi
34
+ docs: http://rubydoc.info/gems/ansi
44
35
  mail: http://groups.google.com/group/rubyworks-mailinglist
45
- repositories:
46
- public: git://github.com/rubyworks/ansi.git
47
- spec_version: 1.0.0
36
+ extra: {}
37
+ load_path:
38
+ - lib
39
+ revision: 0
40
+ created: '2009-08-01'
41
+ summary: ANSI at your fingertips!
42
+ title: ANSI
43
+ version: 1.4.0
44
+ name: ansi
45
+ description: ! 'The ANSI project is a collection of ANSI escape code related libraries
46
+ enabling
47
+
48
+ ANSI code based colorization and stylization of output. It is very nice for
49
+
50
+ beautifying shell output.'
51
+ organization: Rubyworks
52
+ date: '2011-11-05'
@@ -0,0 +1,9 @@
1
+ --output-dir doc/yard
2
+ --title ANSI
3
+ --protected
4
+ lib/**/*.rb
5
+ -
6
+ doc/QED.rdoc
7
+ LICENSE/*
8
+ [A-Z][A-Z]*
9
+
@@ -1,6 +1,22 @@
1
1
  = RELEASE HISTORY
2
2
 
3
- == 1.3.0 // 2011-06-30
3
+ == 1.4.0 | 2011-11-04
4
+
5
+ New release adds a HexDump class for colorized byte string dumps
6
+ and fixes some minor cell size issues with the Table class.
7
+ This release also modernizes the build config and changes the
8
+ license to BSD-2-Clause.
9
+
10
+ Changes:
11
+
12
+ * Add HexDump class.
13
+ * Fix cell size of tables when ANSI codes are used.
14
+ * Fix extra ansi codes in tables without format.
15
+ * Modernize build configuration.
16
+ * Switch to BSD-2-Clause license.
17
+
18
+
19
+ == 1.3.0 | 2011-06-30
4
20
 
5
21
  This release cleans up the Code module. It adds support for x-term
6
22
  256 color codes. Also, the Diff class is now awesome, making use of
@@ -18,7 +34,7 @@ Changes:
18
34
  * Improved Diff class with LCS algorithm.
19
35
 
20
36
 
21
- == 1.2.5 // 2011-05-03
37
+ == 1.2.5 | 2011-05-03
22
38
 
23
39
  This release introduces a preliminary rendition of a Diff class
24
40
  for getting colorized comparisons of strings and other objects.
@@ -30,7 +46,7 @@ Changes:
30
46
  * Fixed minor issue with Columns format block; col comes before row.
31
47
 
32
48
 
33
- == 1.2.4 // 2011-04-29
49
+ == 1.2.4 | 2011-04-29
34
50
 
35
51
  This release improves to the ANSI::Columns class. In particular the
36
52
  layout is more consistent with intended functionality.
@@ -42,7 +58,7 @@ Changes:
42
58
  * ANSI::Columns can take a String or Array list.
43
59
 
44
60
 
45
- == 1.2.3 // 2011-04-08
61
+ == 1.2.3 | 2011-04-08
46
62
 
47
63
  Minor release to add #clear method to ProgressBar and provide bug
48
64
  fix to BBCode.ansi_to_bbcode. Big thanks goes to Junegunn Choi
@@ -54,7 +70,7 @@ Changes:
54
70
  * Fixed ANSI::BBCode.ansi_to_bbcode and ansi_to_html from omitting lines
55
71
  without any ansi code (Junegunn Choi).
56
72
 
57
- == 1.2.2 // 2010-06-12
73
+ == 1.2.2 | 2010-06-12
58
74
 
59
75
  This release removes warnings about string arguments for certain
60
76
  ANSI::Code methods. While the string form is considered deprecated,
@@ -70,13 +86,13 @@ Changes:
70
86
  * Add ANSI::Mixin#display.
71
87
 
72
88
 
73
- == 1.2.1 // 2010-05-10
89
+ == 1.2.1 | 2010-05-10
74
90
 
75
91
  This release was simply a quick fix to remove the incorrect embedded
76
92
  version number, until it gets fixed.
77
93
 
78
94
 
79
- == 1.2.0 // 2010-05-10
95
+ == 1.2.0 | 2010-05-10
80
96
 
81
97
  This release entails numerous improvements. First and foremost
82
98
  the Code module is transitioning to a block interface only
@@ -102,7 +118,7 @@ Changes:
102
118
  * Many new tests and QED documents.
103
119
 
104
120
 
105
- == 1.1.0 // 2009-10-04
121
+ == 1.1.0 | 2009-10-04
106
122
 
107
123
  This release is the first toward making the ANSI library
108
124
  more widely usable.
@@ -114,7 +130,7 @@ Changes:
114
130
  * Other minor underthehood improvements.
115
131
 
116
132
 
117
- == 1.0.1 // 2009-08-15
133
+ == 1.0.1 | 2009-08-15
118
134
 
119
135
  The release fixes a single bug that should allow Ruby 1.9
120
136
  to use the ANSI library.
@@ -124,7 +140,7 @@ Changes:
124
140
  * Renamed PLATFORM to RUBY_PLATFORM
125
141
 
126
142
 
127
- == 1.0.0 // 2009-08-15
143
+ == 1.0.0 | 2009-08-15
128
144
 
129
145
  This is the initial stand-alone release of ANSI, a collection
130
146
  of ANSI based classes spun-off from Ruby Facets.
@@ -0,0 +1,450 @@
1
+ = Licenses
2
+
3
+ == BSD 2-Clause License
4
+
5
+ Redistribution and use in source and binary forms, with or without modification, are
6
+ permitted provided that the following conditions are met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright notice, this list of
9
+ conditions and the following disclaimer.
10
+
11
+ 2. Redistributions in binary form must reproduce the above copyright notice, this list
12
+ of conditions and the following disclaimer in the documentation and/or other materials
13
+ provided with the distribution.
14
+
15
+ THIS SOFTWARE IS PROVIDED BY <COPYRIGHT HOLDER> ``AS IS'' AND ANY EXPRESS OR IMPLIED
16
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
17
+ FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> OR
18
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
19
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
20
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
21
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
22
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
23
+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24
+
25
+
26
+ == MIT License
27
+
28
+ Permission is hereby granted, free of charge, to any person obtaining
29
+ a copy of this software and associated documentation files (the
30
+ "Software"), to deal in the Software without restriction, including
31
+ without limitation the rights to use, copy, modify, merge, publish,
32
+ distribute, sublicense, and/or sell copies of the Software, and to
33
+ permit persons to whom the Software is furnished to do so, subject to
34
+ the following conditions:
35
+
36
+ The above copyright notice and this permission notice shall be
37
+ included in all copies or substantial portions of the Software.
38
+
39
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
40
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
41
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
42
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
43
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
44
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
45
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
46
+
47
+
48
+ == Ruby License
49
+
50
+ Ruby is copyrighted free software by <COPYRIGHT HOLDER>.
51
+ You can redistribute it and/or modify it under either the terms of the GPL
52
+ (see COPYING.txt file), or the conditions below:
53
+
54
+ 1. You may make and give away verbatim copies of the source form of the
55
+ software without restriction, provided that you duplicate all of the
56
+ original copyright notices and associated disclaimers.
57
+
58
+ 2. You may modify your copy of the software in any way, provided that
59
+ you do at least ONE of the following:
60
+
61
+ a) place your modifications in the Public Domain or otherwise
62
+ make them Freely Available, such as by posting said
63
+ modifications to Usenet or an equivalent medium, or by allowing
64
+ the author to include your modifications in the software.
65
+
66
+ b) use the modified software only within your corporation or
67
+ organization.
68
+
69
+ c) rename any non-standard executables so the names do not conflict
70
+ with standard executables, which must also be provided.
71
+
72
+ d) make other distribution arrangements with the author.
73
+
74
+ 3. You may distribute the software in object code or executable
75
+ form, provided that you do at least ONE of the following:
76
+
77
+ a) distribute the executables and library files of the software,
78
+ together with instructions (in the manual page or equivalent)
79
+ on where to get the original distribution.
80
+
81
+ b) accompany the distribution with the machine-readable source of
82
+ the software.
83
+
84
+ c) give non-standard executables non-standard names, with
85
+ instructions on where to get the original software distribution.
86
+
87
+ d) make other distribution arrangements with the author.
88
+
89
+ 4. You may modify and include the part of the software into any other
90
+ software (possibly commercial). But some files in the distribution
91
+ are not written by the author, so that they are not under this terms.
92
+
93
+ They are gc.c(partly), utils.c(partly), regex.[ch], st.[ch] and some
94
+ files under the ./missing directory. See each file for the copying
95
+ condition.
96
+
97
+ 5. The scripts and library files supplied as input to or produced as
98
+ output from the software do not automatically fall under the
99
+ copyright of the software, but belong to whomever generated them,
100
+ and may be sold commercially, and may be aggregated with this
101
+ software.
102
+
103
+ 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
104
+ IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
105
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
106
+ PURPOSE.
107
+
108
+
109
+ == GPL 2 License
110
+
111
+ GNU GENERAL PUBLIC LICENSE
112
+ Version 2, June 1991
113
+
114
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
115
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
116
+ Everyone is permitted to copy and distribute verbatim copies
117
+ of this license document, but changing it is not allowed.
118
+
119
+ Preamble
120
+
121
+ The licenses for most software are designed to take away your
122
+ freedom to share and change it. By contrast, the GNU General Public
123
+ License is intended to guarantee your freedom to share and change free
124
+ software--to make sure the software is free for all its users. This
125
+ General Public License applies to most of the Free Software
126
+ Foundation's software and to any other program whose authors commit to
127
+ using it. (Some other Free Software Foundation software is covered by
128
+ the GNU Lesser General Public License instead.) You can apply it to
129
+ your programs, too.
130
+
131
+ When we speak of free software, we are referring to freedom, not
132
+ price. Our General Public Licenses are designed to make sure that you
133
+ have the freedom to distribute copies of free software (and charge for
134
+ this service if you wish), that you receive source code or can get it
135
+ if you want it, that you can change the software or use pieces of it
136
+ in new free programs; and that you know you can do these things.
137
+
138
+ To protect your rights, we need to make restrictions that forbid
139
+ anyone to deny you these rights or to ask you to surrender the rights.
140
+ These restrictions translate to certain responsibilities for you if you
141
+ distribute copies of the software, or if you modify it.
142
+
143
+ For example, if you distribute copies of such a program, whether
144
+ gratis or for a fee, you must give the recipients all the rights that
145
+ you have. You must make sure that they, too, receive or can get the
146
+ source code. And you must show them these terms so they know their
147
+ rights.
148
+
149
+ We protect your rights with two steps: (1) copyright the software, and
150
+ (2) offer you this license which gives you legal permission to copy,
151
+ distribute and/or modify the software.
152
+
153
+ Also, for each author's protection and ours, we want to make certain
154
+ that everyone understands that there is no warranty for this free
155
+ software. If the software is modified by someone else and passed on, we
156
+ want its recipients to know that what they have is not the original, so
157
+ that any problems introduced by others will not reflect on the original
158
+ authors' reputations.
159
+
160
+ Finally, any free program is threatened constantly by software
161
+ patents. We wish to avoid the danger that redistributors of a free
162
+ program will individually obtain patent licenses, in effect making the
163
+ program proprietary. To prevent this, we have made it clear that any
164
+ patent must be licensed for everyone's free use or not licensed at all.
165
+
166
+ The precise terms and conditions for copying, distribution and
167
+ modification follow.
168
+
169
+ GNU GENERAL PUBLIC LICENSE
170
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
171
+
172
+ 0. This License applies to any program or other work which contains
173
+ a notice placed by the copyright holder saying it may be distributed
174
+ under the terms of this General Public License. The "Program", below,
175
+ refers to any such program or work, and a "work based on the Program"
176
+ means either the Program or any derivative work under copyright law:
177
+ that is to say, a work containing the Program or a portion of it,
178
+ either verbatim or with modifications and/or translated into another
179
+ language. (Hereinafter, translation is included without limitation in
180
+ the term "modification".) Each licensee is addressed as "you".
181
+
182
+ Activities other than copying, distribution and modification are not
183
+ covered by this License; they are outside its scope. The act of
184
+ running the Program is not restricted, and the output from the Program
185
+ is covered only if its contents constitute a work based on the
186
+ Program (independent of having been made by running the Program).
187
+ Whether that is true depends on what the Program does.
188
+
189
+ 1. You may copy and distribute verbatim copies of the Program's
190
+ source code as you receive it, in any medium, provided that you
191
+ conspicuously and appropriately publish on each copy an appropriate
192
+ copyright notice and disclaimer of warranty; keep intact all the
193
+ notices that refer to this License and to the absence of any warranty;
194
+ and give any other recipients of the Program a copy of this License
195
+ along with the Program.
196
+
197
+ You may charge a fee for the physical act of transferring a copy, and
198
+ you may at your option offer warranty protection in exchange for a fee.
199
+
200
+ 2. You may modify your copy or copies of the Program or any portion
201
+ of it, thus forming a work based on the Program, and copy and
202
+ distribute such modifications or work under the terms of Section 1
203
+ above, provided that you also meet all of these conditions:
204
+
205
+ a) You must cause the modified files to carry prominent notices
206
+ stating that you changed the files and the date of any change.
207
+
208
+ b) You must cause any work that you distribute or publish, that in
209
+ whole or in part contains or is derived from the Program or any
210
+ part thereof, to be licensed as a whole at no charge to all third
211
+ parties under the terms of this License.
212
+
213
+ c) If the modified program normally reads commands interactively
214
+ when run, you must cause it, when started running for such
215
+ interactive use in the most ordinary way, to print or display an
216
+ announcement including an appropriate copyright notice and a
217
+ notice that there is no warranty (or else, saying that you provide
218
+ a warranty) and that users may redistribute the program under
219
+ these conditions, and telling the user how to view a copy of this
220
+ License. (Exception: if the Program itself is interactive but
221
+ does not normally print such an announcement, your work based on
222
+ the Program is not required to print an announcement.)
223
+
224
+ These requirements apply to the modified work as a whole. If
225
+ identifiable sections of that work are not derived from the Program,
226
+ and can be reasonably considered independent and separate works in
227
+ themselves, then this License, and its terms, do not apply to those
228
+ sections when you distribute them as separate works. But when you
229
+ distribute the same sections as part of a whole which is a work based
230
+ on the Program, the distribution of the whole must be on the terms of
231
+ this License, whose permissions for other licensees extend to the
232
+ entire whole, and thus to each and every part regardless of who wrote it.
233
+
234
+ Thus, it is not the intent of this section to claim rights or contest
235
+ your rights to work written entirely by you; rather, the intent is to
236
+ exercise the right to control the distribution of derivative or
237
+ collective works based on the Program.
238
+
239
+ In addition, mere aggregation of another work not based on the Program
240
+ with the Program (or with a work based on the Program) on a volume of
241
+ a storage or distribution medium does not bring the other work under
242
+ the scope of this License.
243
+
244
+ 3. You may copy and distribute the Program (or a work based on it,
245
+ under Section 2) in object code or executable form under the terms of
246
+ Sections 1 and 2 above provided that you also do one of the following:
247
+
248
+ a) Accompany it with the complete corresponding machine-readable
249
+ source code, which must be distributed under the terms of Sections
250
+ 1 and 2 above on a medium customarily used for software interchange; or,
251
+
252
+ b) Accompany it with a written offer, valid for at least three
253
+ years, to give any third party, for a charge no more than your
254
+ cost of physically performing source distribution, a complete
255
+ machine-readable copy of the corresponding source code, to be
256
+ distributed under the terms of Sections 1 and 2 above on a medium
257
+ customarily used for software interchange; or,
258
+
259
+ c) Accompany it with the information you received as to the offer
260
+ to distribute corresponding source code. (This alternative is
261
+ allowed only for noncommercial distribution and only if you
262
+ received the program in object code or executable form with such
263
+ an offer, in accord with Subsection b above.)
264
+
265
+ The source code for a work means the preferred form of the work for
266
+ making modifications to it. For an executable work, complete source
267
+ code means all the source code for all modules it contains, plus any
268
+ associated interface definition files, plus the scripts used to
269
+ control compilation and installation of the executable. However, as a
270
+ special exception, the source code distributed need not include
271
+ anything that is normally distributed (in either source or binary
272
+ form) with the major components (compiler, kernel, and so on) of the
273
+ operating system on which the executable runs, unless that component
274
+ itself accompanies the executable.
275
+
276
+ If distribution of executable or object code is made by offering
277
+ access to copy from a designated place, then offering equivalent
278
+ access to copy the source code from the same place counts as
279
+ distribution of the source code, even though third parties are not
280
+ compelled to copy the source along with the object code.
281
+
282
+ 4. You may not copy, modify, sublicense, or distribute the Program
283
+ except as expressly provided under this License. Any attempt
284
+ otherwise to copy, modify, sublicense or distribute the Program is
285
+ void, and will automatically terminate your rights under this License.
286
+ However, parties who have received copies, or rights, from you under
287
+ this License will not have their licenses terminated so long as such
288
+ parties remain in full compliance.
289
+
290
+ 5. You are not required to accept this License, since you have not
291
+ signed it. However, nothing else grants you permission to modify or
292
+ distribute the Program or its derivative works. These actions are
293
+ prohibited by law if you do not accept this License. Therefore, by
294
+ modifying or distributing the Program (or any work based on the
295
+ Program), you indicate your acceptance of this License to do so, and
296
+ all its terms and conditions for copying, distributing or modifying
297
+ the Program or works based on it.
298
+
299
+ 6. Each time you redistribute the Program (or any work based on the
300
+ Program), the recipient automatically receives a license from the
301
+ original licensor to copy, distribute or modify the Program subject to
302
+ these terms and conditions. You may not impose any further
303
+ restrictions on the recipients' exercise of the rights granted herein.
304
+ You are not responsible for enforcing compliance by third parties to
305
+ this License.
306
+
307
+ 7. If, as a consequence of a court judgment or allegation of patent
308
+ infringement or for any other reason (not limited to patent issues),
309
+ conditions are imposed on you (whether by court order, agreement or
310
+ otherwise) that contradict the conditions of this License, they do not
311
+ excuse you from the conditions of this License. If you cannot
312
+ distribute so as to satisfy simultaneously your obligations under this
313
+ License and any other pertinent obligations, then as a consequence you
314
+ may not distribute the Program at all. For example, if a patent
315
+ license would not permit royalty-free redistribution of the Program by
316
+ all those who receive copies directly or indirectly through you, then
317
+ the only way you could satisfy both it and this License would be to
318
+ refrain entirely from distribution of the Program.
319
+
320
+ If any portion of this section is held invalid or unenforceable under
321
+ any particular circumstance, the balance of the section is intended to
322
+ apply and the section as a whole is intended to apply in other
323
+ circumstances.
324
+
325
+ It is not the purpose of this section to induce you to infringe any
326
+ patents or other property right claims or to contest validity of any
327
+ such claims; this section has the sole purpose of protecting the
328
+ integrity of the free software distribution system, which is
329
+ implemented by public license practices. Many people have made
330
+ generous contributions to the wide range of software distributed
331
+ through that system in reliance on consistent application of that
332
+ system; it is up to the author/donor to decide if he or she is willing
333
+ to distribute software through any other system and a licensee cannot
334
+ impose that choice.
335
+
336
+ This section is intended to make thoroughly clear what is believed to
337
+ be a consequence of the rest of this License.
338
+
339
+ 8. If the distribution and/or use of the Program is restricted in
340
+ certain countries either by patents or by copyrighted interfaces, the
341
+ original copyright holder who places the Program under this License
342
+ may add an explicit geographical distribution limitation excluding
343
+ those countries, so that distribution is permitted only in or among
344
+ countries not thus excluded. In such case, this License incorporates
345
+ the limitation as if written in the body of this License.
346
+
347
+ 9. The Free Software Foundation may publish revised and/or new versions
348
+ of the General Public License from time to time. Such new versions will
349
+ be similar in spirit to the present version, but may differ in detail to
350
+ address new problems or concerns.
351
+
352
+ Each version is given a distinguishing version number. If the Program
353
+ specifies a version number of this License which applies to it and "any
354
+ later version", you have the option of following the terms and conditions
355
+ either of that version or of any later version published by the Free
356
+ Software Foundation. If the Program does not specify a version number of
357
+ this License, you may choose any version ever published by the Free Software
358
+ Foundation.
359
+
360
+ 10. If you wish to incorporate parts of the Program into other free
361
+ programs whose distribution conditions are different, write to the author
362
+ to ask for permission. For software which is copyrighted by the Free
363
+ Software Foundation, write to the Free Software Foundation; we sometimes
364
+ make exceptions for this. Our decision will be guided by the two goals
365
+ of preserving the free status of all derivatives of our free software and
366
+ of promoting the sharing and reuse of software generally.
367
+
368
+ NO WARRANTY
369
+
370
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
371
+ FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
372
+ OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
373
+ PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
374
+ OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
375
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
376
+ TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
377
+ PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
378
+ REPAIR OR CORRECTION.
379
+
380
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
381
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
382
+ REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
383
+ INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
384
+ OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
385
+ TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
386
+ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
387
+ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
388
+ POSSIBILITY OF SUCH DAMAGES.
389
+
390
+ END OF TERMS AND CONDITIONS
391
+
392
+ How to Apply These Terms to Your New Programs
393
+
394
+ If you develop a new program, and you want it to be of the greatest
395
+ possible use to the public, the best way to achieve this is to make it
396
+ free software which everyone can redistribute and change under these terms.
397
+
398
+ To do so, attach the following notices to the program. It is safest
399
+ to attach them to the start of each source file to most effectively
400
+ convey the exclusion of warranty; and each file should have at least
401
+ the "copyright" line and a pointer to where the full notice is found.
402
+
403
+ <one line to give the program's name and a brief idea of what it does.>
404
+ Copyright (C) <year> <name of author>
405
+
406
+ This program is free software; you can redistribute it and/or modify
407
+ it under the terms of the GNU General Public License as published by
408
+ the Free Software Foundation; either version 2 of the License, or
409
+ (at your option) any later version.
410
+
411
+ This program is distributed in the hope that it will be useful,
412
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
413
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
414
+ GNU General Public License for more details.
415
+
416
+ You should have received a copy of the GNU General Public License along
417
+ with this program; if not, write to the Free Software Foundation, Inc.,
418
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
419
+
420
+ Also add information on how to contact you by electronic and paper mail.
421
+
422
+ If the program is interactive, make it output a short notice like this
423
+ when it starts in an interactive mode:
424
+
425
+ Gnomovision version 69, Copyright (C) year name of author
426
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
427
+ This is free software, and you are welcome to redistribute it
428
+ under certain conditions; type `show c' for details.
429
+
430
+ The hypothetical commands `show w' and `show c' should show the appropriate
431
+ parts of the General Public License. Of course, the commands you use may
432
+ be called something other than `show w' and `show c'; they could even be
433
+ mouse-clicks or menu items--whatever suits your program.
434
+
435
+ You should also get your employer (if you work as a programmer) or your
436
+ school, if any, to sign a "copyright disclaimer" for the program, if
437
+ necessary. Here is a sample; alter the names:
438
+
439
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
440
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
441
+
442
+ <signature of Ty Coon>, 1 April 1989
443
+ Ty Coon, President of Vice
444
+
445
+ This General Public License does not permit incorporating your program into
446
+ proprietary programs. If your program is a subroutine library, you may
447
+ consider it more useful to permit linking proprietary applications with the
448
+ library. If this is what you want to do, use the GNU Lesser General
449
+ Public License instead of this License.
450
+