bivouac 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README +6 -7
- data/bin/bivouac +1 -1
- data/doc/rdoc/classes/BivouacHelpers/BaseView.html +178 -0
- data/doc/rdoc/classes/BivouacHelpers/FormView.html +398 -0
- data/doc/rdoc/classes/BivouacHelpers/HtmlView.html +305 -0
- data/doc/rdoc/classes/BivouacHelpers/JavaScriptView.html +573 -0
- data/doc/rdoc/classes/BivouacHelpers/ScriptAculoUsView.html +258 -0
- data/doc/rdoc/classes/BivouacHelpers/TooltipView.html +158 -0
- data/doc/rdoc/classes/BivouacHelpers.html +117 -0
- data/doc/rdoc/classes/JavaScriptGenerator.html +564 -0
- data/doc/rdoc/created.rid +1 -0
- data/doc/rdoc/files/AUTHORS.html +109 -0
- data/doc/rdoc/files/COPYING.html +533 -0
- data/doc/rdoc/files/README.html +427 -0
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/base_rb.html +109 -0
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/form_rb.html +109 -0
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/html_rb.html +109 -0
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/javascript_rb.html +113 -0
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/scriptaculous_rb.html +113 -0
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/tooltip_rb.html +109 -0
- data/doc/rdoc/index.html +10 -0
- data/doc/rdoc/permalink.gif +0 -0
- data/doc/rdoc/rdoc-style.css +106 -0
- data/doc/rdoc/rubyfr.png +0 -0
- data/examples/bivouac_sample/Rakefile +48 -0
- data/examples/bivouac_sample/app/bivouac_sample.rb +15 -7
- data/examples/bivouac_sample/app/controllers/index.rb +2 -2
- data/examples/bivouac_sample/app/controllers/sound.rb +10 -0
- data/examples/bivouac_sample/app/helpers/_helpers.rb +6 -3
- data/examples/bivouac_sample/app/views/sound.rb +16 -0
- data/examples/bivouac_sample/config/environment.rb +5 -2
- data/examples/bivouac_sample/config/postamble.rb +89 -18
- data/examples/bivouac_sample/public/javascripts/builder.js +12 -7
- data/examples/bivouac_sample/public/javascripts/controls.js +485 -355
- data/examples/bivouac_sample/public/javascripts/dragdrop.js +82 -52
- data/examples/bivouac_sample/public/javascripts/effects.js +361 -329
- data/examples/bivouac_sample/public/javascripts/prototype.js +2826 -1120
- data/examples/bivouac_sample/public/javascripts/scriptaculous.js +15 -8
- data/examples/bivouac_sample/public/javascripts/slider.js +40 -43
- data/examples/bivouac_sample/public/javascripts/sound.js +55 -0
- data/examples/bivouac_sample/public/javascripts/unittest.js +16 -12
- data/examples/bivouac_sample/public/sound/sword.mp3 +0 -0
- data/examples/bivouac_sample/script/console +6 -0
- data/examples/bivouac_sample/script/plugin +3 -0
- data/examples/bivouac_sample/script/server +2 -1
- data/examples/bivouac_sample/test/test_sound.rb +15 -0
- data/lib/bivouac/helpers/view/goh/sound.rb +38 -0
- data/lib/bivouac/template/application/helpers_goh.rb +2 -0
- data/lib/bivouac/template/static/builder.js +12 -7
- data/lib/bivouac/template/static/controls.js +485 -355
- data/lib/bivouac/template/static/dragdrop.js +82 -52
- data/lib/bivouac/template/static/effects.js +361 -329
- data/lib/bivouac/template/static/prototype.js +2826 -1120
- data/lib/bivouac/template/static/scriptaculous.js +15 -8
- data/lib/bivouac/template/static/slider.js +40 -43
- data/lib/bivouac/template/static/sound.js +55 -0
- data/lib/bivouac/template/static/unittest.js +16 -12
- metadata +45 -2
@@ -0,0 +1,109 @@
|
|
1
|
+
|
2
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<title>
|
6
|
+
Bivouac, the Documentation » File: AUTHORS
|
7
|
+
</title>
|
8
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
9
|
+
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
10
|
+
<script language="JavaScript" type="text/javascript">
|
11
|
+
// <![CDATA[
|
12
|
+
|
13
|
+
function toggleSource( id )
|
14
|
+
{
|
15
|
+
var elem
|
16
|
+
var link
|
17
|
+
|
18
|
+
if( document.getElementById )
|
19
|
+
{
|
20
|
+
elem = document.getElementById( id )
|
21
|
+
link = document.getElementById( "l_" + id )
|
22
|
+
}
|
23
|
+
else if ( document.all )
|
24
|
+
{
|
25
|
+
elem = eval( "document.all." + id )
|
26
|
+
link = eval( "document.all.l_" + id )
|
27
|
+
}
|
28
|
+
else
|
29
|
+
return false;
|
30
|
+
|
31
|
+
if( elem.style.display == "block" )
|
32
|
+
{
|
33
|
+
elem.style.display = "none"
|
34
|
+
link.innerHTML = "show source"
|
35
|
+
}
|
36
|
+
else
|
37
|
+
{
|
38
|
+
elem.style.display = "block"
|
39
|
+
link.innerHTML = "hide source"
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
function openCode( url )
|
44
|
+
{
|
45
|
+
window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" )
|
46
|
+
}
|
47
|
+
// ]]>
|
48
|
+
</script>
|
49
|
+
</head>
|
50
|
+
<body>
|
51
|
+
<!--
|
52
|
+
<div id="menu">
|
53
|
+
<h3 class="title">File: AUTHORS</h3>
|
54
|
+
</div>
|
55
|
+
-->
|
56
|
+
<div id="fullpage">
|
57
|
+
<div id="pager">
|
58
|
+
<table>
|
59
|
+
<tr><td><img src="../rubyfr.png" /></td>
|
60
|
+
<td id="pagertd">
|
61
|
+
<strong># File: AUTHORS<br />
|
62
|
+
[
|
63
|
+
"<a href="../files/README.html" value="File: README">README</a>",
|
64
|
+
"<a href="../files/AUTHORS.html" value="File: AUTHORS">AUTHORS</a>",
|
65
|
+
"<a href="../files/COPYING.html" value="File: COPYING">COPYING</a>",
|
66
|
+
"<a href="../files/lib/bivouac/helpers/view/goh/base_rb.html" value="File: base.rb">lib/bivouac/helpers/view/goh/base.rb</a>",
|
67
|
+
"<a href="../files/lib/bivouac/helpers/view/goh/form_rb.html" value="File: form.rb">lib/bivouac/helpers/view/goh/form.rb</a>",
|
68
|
+
"<a href="../files/lib/bivouac/helpers/view/goh/html_rb.html" value="File: html.rb">lib/bivouac/helpers/view/goh/html.rb</a>",
|
69
|
+
"<a href="../files/lib/bivouac/helpers/view/goh/tooltip_rb.html" value="File: tooltip.rb">lib/bivouac/helpers/view/goh/tooltip.rb</a>",
|
70
|
+
"<a href="../files/lib/bivouac/helpers/view/goh/scriptaculous_rb.html" value="File: scriptaculous.rb">lib/bivouac/helpers/view/goh/scriptaculous.rb</a>",
|
71
|
+
"<a href="../files/lib/bivouac/helpers/view/goh/javascript_rb.html" value="File: javascript.rb">lib/bivouac/helpers/view/goh/javascript.rb</a>",
|
72
|
+
<a href="http://greg.rubyfr.net">nil</a>].each do<br />
|
73
|
+
<a href="../classes/JavaScriptGenerator.html" title="Class: JavaScriptGenerator">JavaScriptGenerator</a>.view_html<br />
|
74
|
+
<a href="../classes/BivouacHelpers.html" title="Module: BivouacHelpers">BivouacHelpers</a>.view_html<br />
|
75
|
+
<a href="../classes/BivouacHelpers/TooltipView.html" title="Module: BivouacHelpers::TooltipView">BivouacHelpers::TooltipView</a>.view_html<br />
|
76
|
+
<a href="../classes/BivouacHelpers/ScriptAculoUsView.html" title="Module: BivouacHelpers::ScriptAculoUsView">BivouacHelpers::ScriptAculoUsView</a>.view_html<br />
|
77
|
+
<a href="../classes/BivouacHelpers/BaseView.html" title="Module: BivouacHelpers::BaseView">BivouacHelpers::BaseView</a>.view_html<br />
|
78
|
+
<a href="../classes/BivouacHelpers/JavaScriptView.html" title="Module: BivouacHelpers::JavaScriptView">BivouacHelpers::JavaScriptView</a>.view_html<br />
|
79
|
+
<a href="../classes/BivouacHelpers/HtmlView.html" title="Module: BivouacHelpers::HtmlView">BivouacHelpers::HtmlView</a>.view_html<br />
|
80
|
+
<a href="../classes/BivouacHelpers/FormView.html" title="Module: BivouacHelpers::FormView">BivouacHelpers::FormView</a>.view_html<br />
|
81
|
+
end</strong>
|
82
|
+
</td></tr>
|
83
|
+
</table>
|
84
|
+
</ul>
|
85
|
+
</div>
|
86
|
+
|
87
|
+
<div id="AUTHORS" class="page_shade">
|
88
|
+
<div class="page">
|
89
|
+
<div class="header">
|
90
|
+
<div class="path">AUTHORS / Fri May 11 09:13:59 +0200 2007</div>
|
91
|
+
</div>
|
92
|
+
|
93
|
+
<p>
|
94
|
+
Gregoire Lejeune <glejeune.lejeune@free.fr>
|
95
|
+
</p>
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
</div>
|
104
|
+
</div>
|
105
|
+
|
106
|
+
|
107
|
+
</div>
|
108
|
+
</body>
|
109
|
+
</html>
|
@@ -0,0 +1,533 @@
|
|
1
|
+
|
2
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<title>
|
6
|
+
Bivouac, the Documentation » File: COPYING
|
7
|
+
</title>
|
8
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
9
|
+
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
10
|
+
<script language="JavaScript" type="text/javascript">
|
11
|
+
// <![CDATA[
|
12
|
+
|
13
|
+
function toggleSource( id )
|
14
|
+
{
|
15
|
+
var elem
|
16
|
+
var link
|
17
|
+
|
18
|
+
if( document.getElementById )
|
19
|
+
{
|
20
|
+
elem = document.getElementById( id )
|
21
|
+
link = document.getElementById( "l_" + id )
|
22
|
+
}
|
23
|
+
else if ( document.all )
|
24
|
+
{
|
25
|
+
elem = eval( "document.all." + id )
|
26
|
+
link = eval( "document.all.l_" + id )
|
27
|
+
}
|
28
|
+
else
|
29
|
+
return false;
|
30
|
+
|
31
|
+
if( elem.style.display == "block" )
|
32
|
+
{
|
33
|
+
elem.style.display = "none"
|
34
|
+
link.innerHTML = "show source"
|
35
|
+
}
|
36
|
+
else
|
37
|
+
{
|
38
|
+
elem.style.display = "block"
|
39
|
+
link.innerHTML = "hide source"
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
function openCode( url )
|
44
|
+
{
|
45
|
+
window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" )
|
46
|
+
}
|
47
|
+
// ]]>
|
48
|
+
</script>
|
49
|
+
</head>
|
50
|
+
<body>
|
51
|
+
<!--
|
52
|
+
<div id="menu">
|
53
|
+
<h3 class="title">File: COPYING</h3>
|
54
|
+
</div>
|
55
|
+
-->
|
56
|
+
<div id="fullpage">
|
57
|
+
<div id="pager">
|
58
|
+
<table>
|
59
|
+
<tr><td><img src="../rubyfr.png" /></td>
|
60
|
+
<td id="pagertd">
|
61
|
+
<strong># File: COPYING<br />
|
62
|
+
[
|
63
|
+
"<a href="../files/README.html" value="File: README">README</a>",
|
64
|
+
"<a href="../files/AUTHORS.html" value="File: AUTHORS">AUTHORS</a>",
|
65
|
+
"<a href="../files/COPYING.html" value="File: COPYING">COPYING</a>",
|
66
|
+
"<a href="../files/lib/bivouac/helpers/view/goh/base_rb.html" value="File: base.rb">lib/bivouac/helpers/view/goh/base.rb</a>",
|
67
|
+
"<a href="../files/lib/bivouac/helpers/view/goh/form_rb.html" value="File: form.rb">lib/bivouac/helpers/view/goh/form.rb</a>",
|
68
|
+
"<a href="../files/lib/bivouac/helpers/view/goh/html_rb.html" value="File: html.rb">lib/bivouac/helpers/view/goh/html.rb</a>",
|
69
|
+
"<a href="../files/lib/bivouac/helpers/view/goh/tooltip_rb.html" value="File: tooltip.rb">lib/bivouac/helpers/view/goh/tooltip.rb</a>",
|
70
|
+
"<a href="../files/lib/bivouac/helpers/view/goh/scriptaculous_rb.html" value="File: scriptaculous.rb">lib/bivouac/helpers/view/goh/scriptaculous.rb</a>",
|
71
|
+
"<a href="../files/lib/bivouac/helpers/view/goh/javascript_rb.html" value="File: javascript.rb">lib/bivouac/helpers/view/goh/javascript.rb</a>",
|
72
|
+
<a href="http://greg.rubyfr.net">nil</a>].each do<br />
|
73
|
+
<a href="../classes/JavaScriptGenerator.html" title="Class: JavaScriptGenerator">JavaScriptGenerator</a>.view_html<br />
|
74
|
+
<a href="../classes/BivouacHelpers.html" title="Module: BivouacHelpers">BivouacHelpers</a>.view_html<br />
|
75
|
+
<a href="../classes/BivouacHelpers/TooltipView.html" title="Module: BivouacHelpers::TooltipView">BivouacHelpers::TooltipView</a>.view_html<br />
|
76
|
+
<a href="../classes/BivouacHelpers/ScriptAculoUsView.html" title="Module: BivouacHelpers::ScriptAculoUsView">BivouacHelpers::ScriptAculoUsView</a>.view_html<br />
|
77
|
+
<a href="../classes/BivouacHelpers/BaseView.html" title="Module: BivouacHelpers::BaseView">BivouacHelpers::BaseView</a>.view_html<br />
|
78
|
+
<a href="../classes/BivouacHelpers/JavaScriptView.html" title="Module: BivouacHelpers::JavaScriptView">BivouacHelpers::JavaScriptView</a>.view_html<br />
|
79
|
+
<a href="../classes/BivouacHelpers/HtmlView.html" title="Module: BivouacHelpers::HtmlView">BivouacHelpers::HtmlView</a>.view_html<br />
|
80
|
+
<a href="../classes/BivouacHelpers/FormView.html" title="Module: BivouacHelpers::FormView">BivouacHelpers::FormView</a>.view_html<br />
|
81
|
+
end</strong>
|
82
|
+
</td></tr>
|
83
|
+
</table>
|
84
|
+
</ul>
|
85
|
+
</div>
|
86
|
+
|
87
|
+
<div id="COPYING" class="page_shade">
|
88
|
+
<div class="page">
|
89
|
+
<div class="header">
|
90
|
+
<div class="path">COPYING / Fri May 11 09:13:59 +0200 2007</div>
|
91
|
+
</div>
|
92
|
+
|
93
|
+
<pre>
|
94
|
+
GNU GENERAL PUBLIC LICENSE
|
95
|
+
Version 2, June 1991
|
96
|
+
|
97
|
+
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
98
|
+
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
99
|
+
Everyone is permitted to copy and distribute verbatim copies
|
100
|
+
of this license document, but changing it is not allowed.
|
101
|
+
|
102
|
+
Preamble
|
103
|
+
|
104
|
+
The licenses for most software are designed to take away your
|
105
|
+
</pre>
|
106
|
+
<p>
|
107
|
+
freedom to share and change it. By contrast, the GNU General Public License
|
108
|
+
is intended to guarantee your freedom to share and change free
|
109
|
+
software—to make sure the software is free for all its users. This
|
110
|
+
General Public License applies to most of the Free Software
|
111
|
+
Foundation‘s software and to any other program whose authors commit
|
112
|
+
to using it. (Some other Free Software Foundation software is covered by
|
113
|
+
the GNU Library General Public License instead.) You can apply it to your
|
114
|
+
programs, too.
|
115
|
+
</p>
|
116
|
+
<pre>
|
117
|
+
When we speak of free software, we are referring to freedom, not
|
118
|
+
</pre>
|
119
|
+
<p>
|
120
|
+
price. Our General Public Licenses are designed to make sure that you have
|
121
|
+
the freedom to distribute copies of free software (and charge for this
|
122
|
+
service if you wish), that you receive source code or can get it if you
|
123
|
+
want it, that you can change the software or use pieces of it in new free
|
124
|
+
programs; and that you know you can do these things.
|
125
|
+
</p>
|
126
|
+
<pre>
|
127
|
+
To protect your rights, we need to make restrictions that forbid
|
128
|
+
</pre>
|
129
|
+
<p>
|
130
|
+
anyone to deny you these rights or to ask you to surrender the rights.
|
131
|
+
These restrictions translate to certain responsibilities for you if you
|
132
|
+
distribute copies of the software, or if you modify it.
|
133
|
+
</p>
|
134
|
+
<pre>
|
135
|
+
For example, if you distribute copies of such a program, whether
|
136
|
+
</pre>
|
137
|
+
<p>
|
138
|
+
gratis or for a fee, you must give the recipients all the rights that you
|
139
|
+
have. You must make sure that they, too, receive or can get the source
|
140
|
+
code. And you must show them these terms so they know their rights.
|
141
|
+
</p>
|
142
|
+
<pre>
|
143
|
+
We protect your rights with two steps: (1) copyright the software, and
|
144
|
+
</pre>
|
145
|
+
<p>
|
146
|
+
(2) offer you this license which gives you legal permission to copy,
|
147
|
+
distribute and/or modify the software.
|
148
|
+
</p>
|
149
|
+
<pre>
|
150
|
+
Also, for each author's protection and ours, we want to make certain
|
151
|
+
</pre>
|
152
|
+
<p>
|
153
|
+
that everyone understands that there is no warranty for this free software.
|
154
|
+
If the software is modified by someone else and passed on, we want its
|
155
|
+
recipients to know that what they have is not the original, so that any
|
156
|
+
problems introduced by others will not reflect on the original
|
157
|
+
authors’ reputations.
|
158
|
+
</p>
|
159
|
+
<pre>
|
160
|
+
Finally, any free program is threatened constantly by software
|
161
|
+
</pre>
|
162
|
+
<p>
|
163
|
+
patents. We wish to avoid the danger that redistributors of a free program
|
164
|
+
will individually obtain patent licenses, in effect making the program
|
165
|
+
proprietary. To prevent this, we have made it clear that any patent must be
|
166
|
+
licensed for everyone‘s free use or not licensed at all.
|
167
|
+
</p>
|
168
|
+
<pre>
|
169
|
+
The precise terms and conditions for copying, distribution and
|
170
|
+
</pre>
|
171
|
+
<p>
|
172
|
+
modification follow.
|
173
|
+
</p>
|
174
|
+
<pre>
|
175
|
+
GNU GENERAL PUBLIC LICENSE
|
176
|
+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
177
|
+
|
178
|
+
0. This License applies to any program or other work which contains
|
179
|
+
</pre>
|
180
|
+
<p>
|
181
|
+
a notice placed by the copyright holder saying it may be distributed under
|
182
|
+
the terms of this General Public License. The "Program", below,
|
183
|
+
refers to any such program or work, and a "work based on the
|
184
|
+
Program" means either the Program or any derivative work under
|
185
|
+
copyright law: that is to say, a work containing the Program or a portion
|
186
|
+
of it, either verbatim or with modifications and/or translated into another
|
187
|
+
language. (Hereinafter, translation is included without limitation in the
|
188
|
+
term "modification".) Each licensee is addressed as
|
189
|
+
"you".
|
190
|
+
</p>
|
191
|
+
<p>
|
192
|
+
Activities other than copying, distribution and modification are not
|
193
|
+
covered by this License; they are outside its scope. The act of running the
|
194
|
+
Program is not restricted, and the output from the Program is covered only
|
195
|
+
if its contents constitute a work based on the Program (independent of
|
196
|
+
having been made by running the Program). Whether that is true depends on
|
197
|
+
what the Program does.
|
198
|
+
</p>
|
199
|
+
<pre>
|
200
|
+
1. You may copy and distribute verbatim copies of the Program's
|
201
|
+
</pre>
|
202
|
+
<p>
|
203
|
+
source code as you receive it, in any medium, provided that you
|
204
|
+
conspicuously and appropriately publish on each copy an appropriate
|
205
|
+
copyright notice and disclaimer of warranty; keep intact all the notices
|
206
|
+
that refer to this License and to the absence of any warranty; and give any
|
207
|
+
other recipients of the Program a copy of this License along with the
|
208
|
+
Program.
|
209
|
+
</p>
|
210
|
+
<p>
|
211
|
+
You may charge a fee for the physical act of transferring a copy, and you
|
212
|
+
may at your option offer warranty protection in exchange for a fee.
|
213
|
+
</p>
|
214
|
+
<pre>
|
215
|
+
2. You may modify your copy or copies of the Program or any portion
|
216
|
+
</pre>
|
217
|
+
<p>
|
218
|
+
of it, thus forming a work based on the Program, and copy and distribute
|
219
|
+
such modifications or work under the terms of Section 1 above, provided
|
220
|
+
that you also meet all of these conditions:
|
221
|
+
</p>
|
222
|
+
<pre>
|
223
|
+
a) You must cause the modified files to carry prominent notices
|
224
|
+
stating that you changed the files and the date of any change.
|
225
|
+
|
226
|
+
b) You must cause any work that you distribute or publish, that in
|
227
|
+
whole or in part contains or is derived from the Program or any
|
228
|
+
part thereof, to be licensed as a whole at no charge to all third
|
229
|
+
parties under the terms of this License.
|
230
|
+
|
231
|
+
c) If the modified program normally reads commands interactively
|
232
|
+
when run, you must cause it, when started running for such
|
233
|
+
interactive use in the most ordinary way, to print or display an
|
234
|
+
announcement including an appropriate copyright notice and a
|
235
|
+
notice that there is no warranty (or else, saying that you provide
|
236
|
+
a warranty) and that users may redistribute the program under
|
237
|
+
these conditions, and telling the user how to view a copy of this
|
238
|
+
License. (Exception: if the Program itself is interactive but
|
239
|
+
does not normally print such an announcement, your work based on
|
240
|
+
the Program is not required to print an announcement.)
|
241
|
+
</pre>
|
242
|
+
<p>
|
243
|
+
These requirements apply to the modified work as a whole. If identifiable
|
244
|
+
sections of that work are not derived from the Program, and can be
|
245
|
+
reasonably considered independent and separate works in themselves, then
|
246
|
+
this License, and its terms, do not apply to those sections when you
|
247
|
+
distribute them as separate works. But when you distribute the same
|
248
|
+
sections as part of a whole which is a work based on the Program, the
|
249
|
+
distribution of the whole must be on the terms of this License, whose
|
250
|
+
permissions for other licensees extend to the entire whole, and thus to
|
251
|
+
each and every part regardless of who wrote it.
|
252
|
+
</p>
|
253
|
+
<p>
|
254
|
+
Thus, it is not the intent of this section to claim rights or contest your
|
255
|
+
rights to work written entirely by you; rather, the intent is to exercise
|
256
|
+
the right to control the distribution of derivative or collective works
|
257
|
+
based on the Program.
|
258
|
+
</p>
|
259
|
+
<p>
|
260
|
+
In addition, mere aggregation of another work not based on the Program with
|
261
|
+
the Program (or with a work based on the Program) on a volume of a storage
|
262
|
+
or distribution medium does not bring the other work under the scope of
|
263
|
+
this License.
|
264
|
+
</p>
|
265
|
+
<pre>
|
266
|
+
3. You may copy and distribute the Program (or a work based on it,
|
267
|
+
</pre>
|
268
|
+
<p>
|
269
|
+
under Section 2) in object code or executable form under the terms of
|
270
|
+
Sections 1 and 2 above provided that you also do one of the following:
|
271
|
+
</p>
|
272
|
+
<pre>
|
273
|
+
a) Accompany it with the complete corresponding machine-readable
|
274
|
+
source code, which must be distributed under the terms of Sections
|
275
|
+
1 and 2 above on a medium customarily used for software interchange; or,
|
276
|
+
|
277
|
+
b) Accompany it with a written offer, valid for at least three
|
278
|
+
years, to give any third party, for a charge no more than your
|
279
|
+
cost of physically performing source distribution, a complete
|
280
|
+
machine-readable copy of the corresponding source code, to be
|
281
|
+
distributed under the terms of Sections 1 and 2 above on a medium
|
282
|
+
customarily used for software interchange; or,
|
283
|
+
|
284
|
+
c) Accompany it with the information you received as to the offer
|
285
|
+
to distribute corresponding source code. (This alternative is
|
286
|
+
allowed only for noncommercial distribution and only if you
|
287
|
+
received the program in object code or executable form with such
|
288
|
+
an offer, in accord with Subsection b above.)
|
289
|
+
</pre>
|
290
|
+
<p>
|
291
|
+
The source code for a work means the preferred form of the work for making
|
292
|
+
modifications to it. For an executable work, complete source code means all
|
293
|
+
the source code for all modules it contains, plus any associated interface
|
294
|
+
definition files, plus the scripts used to control compilation and
|
295
|
+
installation of the executable. However, as a special exception, the source
|
296
|
+
code distributed need not include anything that is normally distributed (in
|
297
|
+
either source or binary form) with the major components (compiler, kernel,
|
298
|
+
and so on) of the operating system on which the executable runs, unless
|
299
|
+
that component itself accompanies the executable.
|
300
|
+
</p>
|
301
|
+
<p>
|
302
|
+
If distribution of executable or object code is made by offering access to
|
303
|
+
copy from a designated place, then offering equivalent access to copy the
|
304
|
+
source code from the same place counts as distribution of the source code,
|
305
|
+
even though third parties are not compelled to copy the source along with
|
306
|
+
the object code.
|
307
|
+
</p>
|
308
|
+
<pre>
|
309
|
+
4. You may not copy, modify, sublicense, or distribute the Program
|
310
|
+
</pre>
|
311
|
+
<p>
|
312
|
+
except as expressly provided under this License. Any attempt otherwise to
|
313
|
+
copy, modify, sublicense or distribute the Program is void, and will
|
314
|
+
automatically terminate your rights under this License. However, parties
|
315
|
+
who have received copies, or rights, from you under this License will not
|
316
|
+
have their licenses terminated so long as such parties remain in full
|
317
|
+
compliance.
|
318
|
+
</p>
|
319
|
+
<pre>
|
320
|
+
5. You are not required to accept this License, since you have not
|
321
|
+
</pre>
|
322
|
+
<p>
|
323
|
+
signed it. However, nothing else grants you permission to modify or
|
324
|
+
distribute the Program or its derivative works. These actions are
|
325
|
+
prohibited by law if you do not accept this License. Therefore, by
|
326
|
+
modifying or distributing the Program (or any work based on the Program),
|
327
|
+
you indicate your acceptance of this License to do so, and all its terms
|
328
|
+
and conditions for copying, distributing or modifying the Program or works
|
329
|
+
based on it.
|
330
|
+
</p>
|
331
|
+
<pre>
|
332
|
+
6. Each time you redistribute the Program (or any work based on the
|
333
|
+
</pre>
|
334
|
+
<p>
|
335
|
+
Program), the recipient automatically receives a license from the original
|
336
|
+
licensor to copy, distribute or modify the Program subject to these terms
|
337
|
+
and conditions. You may not impose any further restrictions on the
|
338
|
+
recipients’ exercise of the rights granted herein. You are not
|
339
|
+
responsible for enforcing compliance by third parties to this License.
|
340
|
+
</p>
|
341
|
+
<pre>
|
342
|
+
7. If, as a consequence of a court judgment or allegation of patent
|
343
|
+
</pre>
|
344
|
+
<p>
|
345
|
+
infringement or for any other reason (not limited to patent issues),
|
346
|
+
conditions are imposed on you (whether by court order, agreement or
|
347
|
+
otherwise) that contradict the conditions of this License, they do not
|
348
|
+
excuse you from the conditions of this License. If you cannot distribute so
|
349
|
+
as to satisfy simultaneously your obligations under this License and any
|
350
|
+
other pertinent obligations, then as a consequence you may not distribute
|
351
|
+
the Program at all. For example, if a patent license would not permit
|
352
|
+
royalty-free redistribution of the Program by all those who receive copies
|
353
|
+
directly or indirectly through you, then the only way you could satisfy
|
354
|
+
both it and this License would be to refrain entirely from distribution of
|
355
|
+
the Program.
|
356
|
+
</p>
|
357
|
+
<p>
|
358
|
+
If any portion of this section is held invalid or unenforceable under any
|
359
|
+
particular circumstance, the balance of the section is intended to apply
|
360
|
+
and the section as a whole is intended to apply in other circumstances.
|
361
|
+
</p>
|
362
|
+
<p>
|
363
|
+
It is not the purpose of this section to induce you to infringe any patents
|
364
|
+
or other property right claims or to contest validity of any such claims;
|
365
|
+
this section has the sole purpose of protecting the integrity of the free
|
366
|
+
software distribution system, which is implemented by public license
|
367
|
+
practices. Many people have made generous contributions to the wide range
|
368
|
+
of software distributed through that system in reliance on consistent
|
369
|
+
application of that system; it is up to the author/donor to decide if he or
|
370
|
+
she is willing to distribute software through any other system and a
|
371
|
+
licensee cannot impose that choice.
|
372
|
+
</p>
|
373
|
+
<p>
|
374
|
+
This section is intended to make thoroughly clear what is believed to be a
|
375
|
+
consequence of the rest of this License.
|
376
|
+
</p>
|
377
|
+
<pre>
|
378
|
+
8. If the distribution and/or use of the Program is restricted in
|
379
|
+
</pre>
|
380
|
+
<p>
|
381
|
+
certain countries either by patents or by copyrighted interfaces, the
|
382
|
+
original copyright holder who places the Program under this License may add
|
383
|
+
an explicit geographical distribution limitation excluding those countries,
|
384
|
+
so that distribution is permitted only in or among countries not thus
|
385
|
+
excluded. In such case, this License incorporates the limitation as if
|
386
|
+
written in the body of this License.
|
387
|
+
</p>
|
388
|
+
<pre>
|
389
|
+
9. The Free Software Foundation may publish revised and/or new versions
|
390
|
+
</pre>
|
391
|
+
<p>
|
392
|
+
of the General Public License from time to time. Such new versions will be
|
393
|
+
similar in spirit to the present version, but may differ in detail to
|
394
|
+
address new problems or concerns.
|
395
|
+
</p>
|
396
|
+
<p>
|
397
|
+
Each version is given a distinguishing version number. If the Program
|
398
|
+
specifies a version number of this License which applies to it and
|
399
|
+
"any later version", you have the option of following the terms
|
400
|
+
and conditions either of that version or of any later version published by
|
401
|
+
the Free Software Foundation. If the Program does not specify a version
|
402
|
+
number of this License, you may choose any version ever published by the
|
403
|
+
Free Software Foundation.
|
404
|
+
</p>
|
405
|
+
<pre>
|
406
|
+
10. If you wish to incorporate parts of the Program into other free
|
407
|
+
</pre>
|
408
|
+
<p>
|
409
|
+
programs whose distribution conditions are different, write to the author
|
410
|
+
to ask for permission. For software which is copyrighted by the Free
|
411
|
+
Software Foundation, write to the Free Software Foundation; we sometimes
|
412
|
+
make exceptions for this. Our decision will be guided by the two goals of
|
413
|
+
preserving the free status of all derivatives of our free software and of
|
414
|
+
promoting the sharing and reuse of software generally.
|
415
|
+
</p>
|
416
|
+
<pre>
|
417
|
+
NO WARRANTY
|
418
|
+
|
419
|
+
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
420
|
+
</pre>
|
421
|
+
<p>
|
422
|
+
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
423
|
+
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
424
|
+
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
|
425
|
+
EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
426
|
+
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
427
|
+
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
428
|
+
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
429
|
+
REPAIR OR CORRECTION.
|
430
|
+
</p>
|
431
|
+
<pre>
|
432
|
+
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
433
|
+
</pre>
|
434
|
+
<p>
|
435
|
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
436
|
+
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
437
|
+
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
438
|
+
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
439
|
+
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
440
|
+
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
441
|
+
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
442
|
+
POSSIBILITY OF SUCH DAMAGES.
|
443
|
+
</p>
|
444
|
+
<pre>
|
445
|
+
END OF TERMS AND CONDITIONS
|
446
|
+
|
447
|
+
How to Apply These Terms to Your New Programs
|
448
|
+
|
449
|
+
If you develop a new program, and you want it to be of the greatest
|
450
|
+
</pre>
|
451
|
+
<p>
|
452
|
+
possible use to the public, the best way to achieve this is to make it free
|
453
|
+
software which everyone can redistribute and change under these terms.
|
454
|
+
</p>
|
455
|
+
<pre>
|
456
|
+
To do so, attach the following notices to the program. It is safest
|
457
|
+
</pre>
|
458
|
+
<p>
|
459
|
+
to attach them to the start of each source file to most effectively convey
|
460
|
+
the exclusion of warranty; and each file should have at least the
|
461
|
+
"copyright" line and a pointer to where the full notice is found.
|
462
|
+
</p>
|
463
|
+
<pre>
|
464
|
+
<one line to give the program's name and a brief idea of what it does.>
|
465
|
+
Copyright (C) <year> <name of author>
|
466
|
+
|
467
|
+
This program is free software; you can redistribute it and/or modify
|
468
|
+
it under the terms of the GNU General Public License as published by
|
469
|
+
the Free Software Foundation; either version 2 of the License, or
|
470
|
+
(at your option) any later version.
|
471
|
+
|
472
|
+
This program is distributed in the hope that it will be useful,
|
473
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
474
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
475
|
+
GNU General Public License for more details.
|
476
|
+
|
477
|
+
You should have received a copy of the GNU General Public License
|
478
|
+
along with this program; if not, write to the Free Software
|
479
|
+
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
480
|
+
</pre>
|
481
|
+
<p>
|
482
|
+
Also add information on how to contact you by electronic and paper mail.
|
483
|
+
</p>
|
484
|
+
<p>
|
485
|
+
If the program is interactive, make it output a short notice like this when
|
486
|
+
it starts in an interactive mode:
|
487
|
+
</p>
|
488
|
+
<pre>
|
489
|
+
Gnomovision version 69, Copyright (C) year name of author
|
490
|
+
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
491
|
+
This is free software, and you are welcome to redistribute it
|
492
|
+
under certain conditions; type `show c' for details.
|
493
|
+
</pre>
|
494
|
+
<p>
|
495
|
+
The hypothetical commands `show w’ and `show c’ should show the
|
496
|
+
appropriate parts of the General Public License. Of course, the commands
|
497
|
+
you use may be called something other than `show w’ and `show
|
498
|
+
c’; they could even be mouse-clicks or menu items—whatever
|
499
|
+
suits your program.
|
500
|
+
</p>
|
501
|
+
<p>
|
502
|
+
You should also get your employer (if you work as a programmer) or your
|
503
|
+
school, if any, to sign a "copyright disclaimer" for the program,
|
504
|
+
if necessary. Here is a sample; alter the names:
|
505
|
+
</p>
|
506
|
+
<pre>
|
507
|
+
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
508
|
+
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
509
|
+
|
510
|
+
<signature of Ty Coon>, 1 April 1989
|
511
|
+
Ty Coon, President of Vice
|
512
|
+
</pre>
|
513
|
+
<p>
|
514
|
+
This General Public License does not permit incorporating your program into
|
515
|
+
proprietary programs. If your program is a subroutine library, you may
|
516
|
+
consider it more useful to permit linking proprietary applications with the
|
517
|
+
library. If this is what you want to do, use the GNU Library General Public
|
518
|
+
License instead of this License.
|
519
|
+
</p>
|
520
|
+
|
521
|
+
|
522
|
+
|
523
|
+
|
524
|
+
|
525
|
+
|
526
|
+
|
527
|
+
</div>
|
528
|
+
</div>
|
529
|
+
|
530
|
+
|
531
|
+
</div>
|
532
|
+
</body>
|
533
|
+
</html>
|