mechanize 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of mechanize might be problematic. Click here for more details.

Files changed (242) hide show
  1. data/README +32 -0
  2. data/doc/classes/Net/HTTP.html +1716 -0
  3. data/doc/classes/Net/HTTP.src/M000103.html +18 -0
  4. data/doc/classes/Net/HTTP.src/M000104.html +18 -0
  5. data/doc/classes/Net/HTTP.src/M000105.html +18 -0
  6. data/doc/classes/Net/HTTP.src/M000106.html +18 -0
  7. data/doc/classes/Net/HTTP.src/M000107.html +29 -0
  8. data/doc/classes/Net/HTTP.src/M000108.html +18 -0
  9. data/doc/classes/Net/HTTP.src/M000109.html +22 -0
  10. data/doc/classes/Net/HTTP.src/M000110.html +18 -0
  11. data/doc/classes/Net/HTTP.src/M000111.html +18 -0
  12. data/doc/classes/Net/HTTP.src/M000112.html +18 -0
  13. data/doc/classes/Net/HTTP.src/M000113.html +18 -0
  14. data/doc/classes/Net/HTTP.src/M000114.html +22 -0
  15. data/doc/classes/Net/HTTP.src/M000115.html +29 -0
  16. data/doc/classes/Net/HTTP.src/M000116.html +18 -0
  17. data/doc/classes/Net/HTTP.src/M000117.html +19 -0
  18. data/doc/classes/Net/HTTP.src/M000118.html +19 -0
  19. data/doc/classes/Net/HTTP.src/M000119.html +18 -0
  20. data/doc/classes/Net/HTTP.src/M000121.html +18 -0
  21. data/doc/classes/Net/HTTP.src/M000122.html +28 -0
  22. data/doc/classes/Net/HTTP.src/M000123.html +19 -0
  23. data/doc/classes/Net/HTTP.src/M000124.html +30 -0
  24. data/doc/classes/Net/HTTP.src/M000125.html +18 -0
  25. data/doc/classes/Net/HTTP.src/M000126.html +18 -0
  26. data/doc/classes/Net/HTTP.src/M000127.html +18 -0
  27. data/doc/classes/Net/HTTP.src/M000128.html +18 -0
  28. data/doc/classes/Net/HTTP.src/M000129.html +18 -0
  29. data/doc/classes/Net/HTTP.src/M000130.html +18 -0
  30. data/doc/classes/Net/HTTP.src/M000133.html +28 -0
  31. data/doc/classes/Net/HTTP.src/M000134.html +20 -0
  32. data/doc/classes/Net/HTTP.src/M000135.html +28 -0
  33. data/doc/classes/Net/HTTP.src/M000136.html +18 -0
  34. data/doc/classes/Net/HTTP.src/M000137.html +18 -0
  35. data/doc/classes/Net/HTTP.src/M000138.html +18 -0
  36. data/doc/classes/Net/HTTP.src/M000139.html +18 -0
  37. data/doc/classes/Net/HTTP.src/M000140.html +18 -0
  38. data/doc/classes/Net/HTTP.src/M000141.html +18 -0
  39. data/doc/classes/Net/HTTP.src/M000142.html +18 -0
  40. data/doc/classes/Net/HTTP.src/M000143.html +18 -0
  41. data/doc/classes/Net/HTTP.src/M000144.html +18 -0
  42. data/doc/classes/Net/HTTP.src/M000145.html +18 -0
  43. data/doc/classes/Net/HTTP.src/M000146.html +18 -0
  44. data/doc/classes/Net/HTTP.src/M000147.html +18 -0
  45. data/doc/classes/Net/HTTP.src/M000148.html +18 -0
  46. data/doc/classes/Net/HTTP.src/M000152.html +19 -0
  47. data/doc/classes/Net/HTTP.src/M000153.html +39 -0
  48. data/doc/classes/Net/HTTP.src/M000154.html +18 -0
  49. data/doc/classes/Net/HTTP.src/M000156.html +24 -0
  50. data/doc/classes/Net/HTTP.src/M000157.html +18 -0
  51. data/doc/classes/Net/HTTP.src/M000158.html +19 -0
  52. data/doc/classes/Net/HTTP.src/M000159.html +21 -0
  53. data/doc/classes/Net/HTTP.src/M000161.html +19 -0
  54. data/doc/classes/Net/HTTP/Copy.html +134 -0
  55. data/doc/classes/Net/HTTP/Delete.html +134 -0
  56. data/doc/classes/Net/HTTP/Get.html +134 -0
  57. data/doc/classes/Net/HTTP/Head.html +134 -0
  58. data/doc/classes/Net/HTTP/Lock.html +134 -0
  59. data/doc/classes/Net/HTTP/Mkcol.html +134 -0
  60. data/doc/classes/Net/HTTP/Move.html +134 -0
  61. data/doc/classes/Net/HTTP/Options.html +134 -0
  62. data/doc/classes/Net/HTTP/Post.html +134 -0
  63. data/doc/classes/Net/HTTP/Propfind.html +134 -0
  64. data/doc/classes/Net/HTTP/Proppatch.html +134 -0
  65. data/doc/classes/Net/HTTP/Put.html +134 -0
  66. data/doc/classes/Net/HTTP/Trace.html +134 -0
  67. data/doc/classes/Net/HTTP/Unlock.html +134 -0
  68. data/doc/classes/Net/HTTPError.html +120 -0
  69. data/doc/classes/Net/HTTPExceptions.html +137 -0
  70. data/doc/classes/Net/HTTPFatalError.html +120 -0
  71. data/doc/classes/Net/HTTPGenericRequest.html +274 -0
  72. data/doc/classes/Net/HTTPGenericRequest.src/M000088.html +26 -0
  73. data/doc/classes/Net/HTTPGenericRequest.src/M000089.html +18 -0
  74. data/doc/classes/Net/HTTPGenericRequest.src/M000090.html +18 -0
  75. data/doc/classes/Net/HTTPGenericRequest.src/M000091.html +18 -0
  76. data/doc/classes/Net/HTTPGenericRequest.src/M000092.html +19 -0
  77. data/doc/classes/Net/HTTPGenericRequest.src/M000093.html +20 -0
  78. data/doc/classes/Net/HTTPGenericRequest.src/M000094.html +20 -0
  79. data/doc/classes/Net/HTTPHeader.html +734 -0
  80. data/doc/classes/Net/HTTPHeader.src/M000055.html +23 -0
  81. data/doc/classes/Net/HTTPHeader.src/M000056.html +19 -0
  82. data/doc/classes/Net/HTTPHeader.src/M000057.html +22 -0
  83. data/doc/classes/Net/HTTPHeader.src/M000058.html +22 -0
  84. data/doc/classes/Net/HTTPHeader.src/M000059.html +19 -0
  85. data/doc/classes/Net/HTTPHeader.src/M000060.html +19 -0
  86. data/doc/classes/Net/HTTPHeader.src/M000061.html +20 -0
  87. data/doc/classes/Net/HTTPHeader.src/M000063.html +18 -0
  88. data/doc/classes/Net/HTTPHeader.src/M000065.html +20 -0
  89. data/doc/classes/Net/HTTPHeader.src/M000066.html +20 -0
  90. data/doc/classes/Net/HTTPHeader.src/M000067.html +18 -0
  91. data/doc/classes/Net/HTTPHeader.src/M000068.html +18 -0
  92. data/doc/classes/Net/HTTPHeader.src/M000069.html +18 -0
  93. data/doc/classes/Net/HTTPHeader.src/M000070.html +20 -0
  94. data/doc/classes/Net/HTTPHeader.src/M000072.html +30 -0
  95. data/doc/classes/Net/HTTPHeader.src/M000073.html +43 -0
  96. data/doc/classes/Net/HTTPHeader.src/M000075.html +21 -0
  97. data/doc/classes/Net/HTTPHeader.src/M000076.html +22 -0
  98. data/doc/classes/Net/HTTPHeader.src/M000077.html +20 -0
  99. data/doc/classes/Net/HTTPHeader.src/M000078.html +21 -0
  100. data/doc/classes/Net/HTTPHeader.src/M000079.html +19 -0
  101. data/doc/classes/Net/HTTPHeader.src/M000080.html +18 -0
  102. data/doc/classes/Net/HTTPHeader.src/M000081.html +19 -0
  103. data/doc/classes/Net/HTTPHeader.src/M000082.html +19 -0
  104. data/doc/classes/Net/HTTPHeader.src/M000083.html +23 -0
  105. data/doc/classes/Net/HTTPHeader.src/M000084.html +18 -0
  106. data/doc/classes/Net/HTTPHeader.src/M000086.html +18 -0
  107. data/doc/classes/Net/HTTPHeader.src/M000087.html +18 -0
  108. data/doc/classes/Net/HTTPRequest.html +150 -0
  109. data/doc/classes/Net/HTTPRequest.src/M000102.html +21 -0
  110. data/doc/classes/Net/HTTPResponse.html +425 -0
  111. data/doc/classes/Net/HTTPResponse.src/M000162.html +18 -0
  112. data/doc/classes/Net/HTTPResponse.src/M000163.html +18 -0
  113. data/doc/classes/Net/HTTPResponse.src/M000164.html +23 -0
  114. data/doc/classes/Net/HTTPResponse.src/M000165.html +18 -0
  115. data/doc/classes/Net/HTTPResponse.src/M000166.html +32 -0
  116. data/doc/classes/Net/HTTPResponse.src/M000167.html +18 -0
  117. data/doc/classes/Net/HTTPRetriableError.html +120 -0
  118. data/doc/classes/Net/HTTPServerException.html +120 -0
  119. data/doc/classes/Net/ProtoAuthError.html +113 -0
  120. data/doc/classes/Net/ProtoCommandError.html +113 -0
  121. data/doc/classes/Net/ProtoFatalError.html +113 -0
  122. data/doc/classes/Net/ProtoRetriableError.html +113 -0
  123. data/doc/classes/Net/ProtoServerError.html +113 -0
  124. data/doc/classes/Net/ProtoSyntaxError.html +113 -0
  125. data/doc/classes/Net/ProtoUnknownError.html +113 -0
  126. data/doc/classes/Net/ProtocolError.html +111 -0
  127. data/doc/classes/Net/WriteAdapter.html +235 -0
  128. data/doc/classes/Net/WriteAdapter.src/M000095.html +19 -0
  129. data/doc/classes/Net/WriteAdapter.src/M000096.html +18 -0
  130. data/doc/classes/Net/WriteAdapter.src/M000097.html +18 -0
  131. data/doc/classes/Net/WriteAdapter.src/M000099.html +19 -0
  132. data/doc/classes/Net/WriteAdapter.src/M000100.html +18 -0
  133. data/doc/classes/Net/WriteAdapter.src/M000101.html +18 -0
  134. data/doc/classes/REXML.html +109 -0
  135. data/doc/classes/REXML/Comment.html +137 -0
  136. data/doc/classes/REXML/Comment.src/M000053.html +18 -0
  137. data/doc/classes/REXML/Node.html +240 -0
  138. data/doc/classes/REXML/Node.src/M000047.html +21 -0
  139. data/doc/classes/REXML/Node.src/M000048.html +21 -0
  140. data/doc/classes/REXML/Node.src/M000049.html +22 -0
  141. data/doc/classes/REXML/Node.src/M000050.html +18 -0
  142. data/doc/classes/REXML/Node.src/M000051.html +18 -0
  143. data/doc/classes/REXML/Node.src/M000052.html +18 -0
  144. data/doc/classes/REXML/Text.html +137 -0
  145. data/doc/classes/REXML/Text.src/M000054.html +18 -0
  146. data/doc/classes/WWW.html +130 -0
  147. data/doc/classes/WWW/Button.html +190 -0
  148. data/doc/classes/WWW/Button.src/M000028.html +18 -0
  149. data/doc/classes/WWW/Button.src/M000029.html +18 -0
  150. data/doc/classes/WWW/Button.src/M000030.html +25 -0
  151. data/doc/classes/WWW/CheckBox.html +160 -0
  152. data/doc/classes/WWW/CheckBox.src/M000024.html +18 -0
  153. data/doc/classes/WWW/Cookie.html +207 -0
  154. data/doc/classes/WWW/Cookie.src/M000032.html +59 -0
  155. data/doc/classes/WWW/Cookie.src/M000033.html +21 -0
  156. data/doc/classes/WWW/Cookie.src/M000034.html +18 -0
  157. data/doc/classes/WWW/CookieJar.html +197 -0
  158. data/doc/classes/WWW/CookieJar.src/M000008.html +18 -0
  159. data/doc/classes/WWW/CookieJar.src/M000009.html +22 -0
  160. data/doc/classes/WWW/CookieJar.src/M000010.html +33 -0
  161. data/doc/classes/WWW/CookieJar.src/M000011.html +18 -0
  162. data/doc/classes/WWW/Field.html +174 -0
  163. data/doc/classes/WWW/Field.src/M000045.html +18 -0
  164. data/doc/classes/WWW/Field.src/M000046.html +26 -0
  165. data/doc/classes/WWW/FileUpload.html +163 -0
  166. data/doc/classes/WWW/FileUpload.src/M000031.html +19 -0
  167. data/doc/classes/WWW/Form.html +152 -0
  168. data/doc/classes/WWW/Form.src/M000044.html +19 -0
  169. data/doc/classes/WWW/GlobalForm.html +271 -0
  170. data/doc/classes/WWW/GlobalForm.src/M000004.html +24 -0
  171. data/doc/classes/WWW/GlobalForm.src/M000005.html +26 -0
  172. data/doc/classes/WWW/GlobalForm.src/M000006.html +46 -0
  173. data/doc/classes/WWW/GlobalForm.src/M000007.html +46 -0
  174. data/doc/classes/WWW/ImageButton.html +157 -0
  175. data/doc/classes/WWW/ImageButton.src/M000027.html +22 -0
  176. data/doc/classes/WWW/Link.html +160 -0
  177. data/doc/classes/WWW/Link.src/M000025.html +20 -0
  178. data/doc/classes/WWW/Mechanize.html +379 -0
  179. data/doc/classes/WWW/Mechanize.src/M000013.html +21 -0
  180. data/doc/classes/WWW/Mechanize.src/M000014.html +18 -0
  181. data/doc/classes/WWW/Mechanize.src/M000015.html +24 -0
  182. data/doc/classes/WWW/Mechanize.src/M000016.html +19 -0
  183. data/doc/classes/WWW/Mechanize.src/M000017.html +23 -0
  184. data/doc/classes/WWW/Mechanize.src/M000018.html +32 -0
  185. data/doc/classes/WWW/Mechanize.src/M000019.html +19 -0
  186. data/doc/classes/WWW/Mechanize.src/M000020.html +18 -0
  187. data/doc/classes/WWW/Mechanize.src/M000021.html +33 -0
  188. data/doc/classes/WWW/Mechanize.src/M000022.html +18 -0
  189. data/doc/classes/WWW/Meta.html +113 -0
  190. data/doc/classes/WWW/Page.html +313 -0
  191. data/doc/classes/WWW/Page.src/M000036.html +18 -0
  192. data/doc/classes/WWW/Page.src/M000037.html +18 -0
  193. data/doc/classes/WWW/Page.src/M000038.html +18 -0
  194. data/doc/classes/WWW/Page.src/M000039.html +19 -0
  195. data/doc/classes/WWW/Page.src/M000040.html +19 -0
  196. data/doc/classes/WWW/Page.src/M000041.html +19 -0
  197. data/doc/classes/WWW/Page.src/M000042.html +19 -0
  198. data/doc/classes/WWW/Page.src/M000043.html +19 -0
  199. data/doc/classes/WWW/RadioButton.html +160 -0
  200. data/doc/classes/WWW/RadioButton.src/M000012.html +18 -0
  201. data/doc/classes/WWW/ResponseCodeError.html +150 -0
  202. data/doc/classes/WWW/ResponseCodeError.src/M000035.html +18 -0
  203. data/doc/classes/WWW/SelectList.html +160 -0
  204. data/doc/classes/WWW/SelectList.src/M000026.html +28 -0
  205. data/doc/created.rid +1 -0
  206. data/doc/files/CHANGELOG.html +136 -0
  207. data/doc/files/LICENSE.html +531 -0
  208. data/doc/files/README.html +161 -0
  209. data/doc/files/lib/mechanize/cookie_rb.html +101 -0
  210. data/doc/files/lib/mechanize/net-overrides/net/http_rb.html +139 -0
  211. data/doc/files/lib/mechanize/net-overrides/net/https_rb.html +109 -0
  212. data/doc/files/lib/mechanize/net-overrides/net/protocol_rb.html +117 -0
  213. data/doc/files/lib/mechanize/parsing_rb.html +267 -0
  214. data/doc/files/lib/mechanize/parsing_rb.src/M000001.html +22 -0
  215. data/doc/files/lib/mechanize/parsing_rb.src/M000002.html +44 -0
  216. data/doc/files/lib/mechanize/parsing_rb.src/M000003.html +34 -0
  217. data/doc/files/lib/mechanize_rb.html +152 -0
  218. data/doc/fr_class_index.html +80 -0
  219. data/doc/fr_file_index.html +35 -0
  220. data/doc/fr_method_index.html +194 -0
  221. data/doc/index.html +24 -0
  222. data/doc/rdoc-style.css +208 -0
  223. data/lib/mechanize.rb +128 -26
  224. data/lib/mechanize/cookie.rb +98 -0
  225. data/lib/mechanize/net-overrides/net/http.rb +2 -2
  226. data/test/README +7 -0
  227. data/test/htdocs/find_link.html +40 -0
  228. data/test/htdocs/form_test.html +154 -0
  229. data/test/htdocs/google.html +13 -0
  230. data/test/htdocs/index.html +6 -0
  231. data/test/server.rb +19 -0
  232. data/test/servlets.rb +130 -0
  233. data/test/tc_cookies.rb +125 -0
  234. data/test/tc_forms.rb +339 -0
  235. data/test/tc_links.rb +25 -0
  236. data/test/tc_mech.rb +70 -0
  237. data/test/tc_response_code.rb +31 -0
  238. data/test/ts_mech.rb +9 -0
  239. metadata +310 -41
  240. data/Rakefile +0 -14
  241. data/examples/rubyforge.rb +0 -13
  242. data/mechanize.gemspec +0 -22
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>new (WWW::ResponseCodeError)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/mechanize.rb, line 395</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">response_code</span>)
15
+ <span class="ruby-ivar">@response_code</span> = <span class="ruby-identifier">response_code</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,160 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Class: WWW::SelectList</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Class</strong></td>
53
+ <td class="class-name-in-header">WWW::SelectList</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/mechanize_rb.html">
59
+ lib/mechanize.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ <tr class="top-aligned-row">
66
+ <td><strong>Parent:</strong></td>
67
+ <td>
68
+ Object
69
+ </td>
70
+ </tr>
71
+ </table>
72
+ </div>
73
+ <!-- banner header -->
74
+
75
+ <div id="bodyContent">
76
+
77
+
78
+
79
+ <div id="contextContent">
80
+
81
+
82
+
83
+ </div>
84
+
85
+ <div id="method-list">
86
+ <h3 class="section-bar">Methods</h3>
87
+
88
+ <div class="name-list">
89
+ <a href="#M000026">new</a>&nbsp;&nbsp;
90
+ </div>
91
+ </div>
92
+
93
+ </div>
94
+
95
+
96
+ <!-- if includes -->
97
+
98
+ <div id="section">
99
+
100
+
101
+
102
+
103
+
104
+ <div id="attribute-list">
105
+ <h3 class="section-bar">Attributes</h3>
106
+
107
+ <div class="name-list">
108
+ <table>
109
+ <tr class="top-aligned-row context-row">
110
+ <td class="context-item-name">name</td>
111
+ <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
112
+ <td class="context-item-desc"></td>
113
+ </tr>
114
+ <tr class="top-aligned-row context-row">
115
+ <td class="context-item-name">options</td>
116
+ <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
117
+ <td class="context-item-desc"></td>
118
+ </tr>
119
+ <tr class="top-aligned-row context-row">
120
+ <td class="context-item-name">value</td>
121
+ <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
122
+ <td class="context-item-desc"></td>
123
+ </tr>
124
+ </table>
125
+ </div>
126
+ </div>
127
+
128
+
129
+
130
+ <!-- if method_list -->
131
+ <div id="methods">
132
+ <h3 class="section-bar">Public Class methods</h3>
133
+
134
+ <div id="method-M000026" class="method-detail">
135
+ <a name="M000026"></a>
136
+
137
+ <div class="method-heading">
138
+ <a href="SelectList.src/M000026.html" target="Code" class="method-signature"
139
+ onclick="popupCode('SelectList.src/M000026.html');return false;">
140
+ <span class="method-name">new</span><span class="method-args">(name, node)</span>
141
+ </a>
142
+ </div>
143
+
144
+ <div class="method-description">
145
+ </div>
146
+ </div>
147
+
148
+
149
+ </div>
150
+
151
+
152
+ </div>
153
+
154
+
155
+ <div id="validator-badges">
156
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
157
+ </div>
158
+
159
+ </body>
160
+ </html>
@@ -0,0 +1,28 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>new (WWW::SelectList)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/mechanize.rb, line 118</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">node</span>)
15
+ <span class="ruby-ivar">@name</span> = <span class="ruby-identifier">name</span>
16
+ <span class="ruby-ivar">@options</span> = []
17
+
18
+ <span class="ruby-comment cmt"># parse</span>
19
+ <span class="ruby-identifier">node</span>.<span class="ruby-identifier">each_recursive</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">n</span><span class="ruby-operator">|</span>
20
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">n</span>.<span class="ruby-identifier">name</span>.<span class="ruby-identifier">downcase</span> <span class="ruby-operator">==</span> <span class="ruby-value str">'option'</span>
21
+ <span class="ruby-identifier">value</span> = <span class="ruby-identifier">n</span>.<span class="ruby-identifier">attributes</span>[<span class="ruby-value str">'value'</span>]
22
+ <span class="ruby-ivar">@options</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">value</span>
23
+ <span class="ruby-ivar">@value</span> = <span class="ruby-identifier">value</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">n</span>.<span class="ruby-identifier">attributes</span>[<span class="ruby-value str">'selected'</span>]
24
+ <span class="ruby-keyword kw">end</span>
25
+ }
26
+ <span class="ruby-keyword kw">end</span></pre>
27
+ </body>
28
+ </html>
@@ -0,0 +1 @@
1
+ Wed Mar 22 13:40:32 PST 2006
@@ -0,0 +1,136 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>File: CHANGELOG</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="fileHeader">
50
+ <h1>CHANGELOG</h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>Path:</strong></td>
54
+ <td>CHANGELOG
55
+ </td>
56
+ </tr>
57
+ <tr class="top-aligned-row">
58
+ <td><strong>Last Update:</strong></td>
59
+ <td>Wed Mar 22 13:33:59 PST 2006</td>
60
+ </tr>
61
+ </table>
62
+ </div>
63
+ <!-- banner header -->
64
+
65
+ <div id="bodyContent">
66
+
67
+
68
+
69
+ <div id="contextContent">
70
+
71
+ <div id="description">
72
+ <h2>0.4.0</h2>
73
+ <ul>
74
+ <li>Added more unit tests
75
+
76
+ </li>
77
+ <li>Added a cookie jar with better cookie support, included expiration of
78
+ cookies and general cookie security.
79
+
80
+ </li>
81
+ <li>Updated mechanize to use built in net/http if ruby version is new enough.
82
+
83
+ </li>
84
+ <li>Added support for meta refresh tags
85
+
86
+ </li>
87
+ <li>Defaulted form actions to &#8216;GET&#8216;
88
+
89
+ </li>
90
+ <li>Fixed various bugs
91
+
92
+ </li>
93
+ <li>Added more unit tests
94
+
95
+ </li>
96
+ <li>Added a response code exception
97
+
98
+ </li>
99
+ <li>Thanks to Brian Ellin (brianellin@gmail.com) for: Added support for CA
100
+ files, and support for 301 response codes
101
+
102
+ </li>
103
+ </ul>
104
+
105
+ </div>
106
+
107
+
108
+ </div>
109
+
110
+
111
+ </div>
112
+
113
+
114
+ <!-- if includes -->
115
+
116
+ <div id="section">
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+ <!-- if method_list -->
126
+
127
+
128
+ </div>
129
+
130
+
131
+ <div id="validator-badges">
132
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
133
+ </div>
134
+
135
+ </body>
136
+ </html>
@@ -0,0 +1,531 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>File: LICENSE</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="fileHeader">
50
+ <h1>LICENSE</h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>Path:</strong></td>
54
+ <td>LICENSE
55
+ </td>
56
+ </tr>
57
+ <tr class="top-aligned-row">
58
+ <td><strong>Last Update:</strong></td>
59
+ <td>Wed Mar 22 10:31:46 PST 2006</td>
60
+ </tr>
61
+ </table>
62
+ </div>
63
+ <!-- banner header -->
64
+
65
+ <div id="bodyContent">
66
+
67
+
68
+
69
+ <div id="contextContent">
70
+
71
+ <div id="description">
72
+ <pre>
73
+ GNU GENERAL PUBLIC LICENSE
74
+ Version 2, June 1991
75
+
76
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
77
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
78
+ Everyone is permitted to copy and distribute verbatim copies
79
+ of this license document, but changing it is not allowed.
80
+
81
+ Preamble
82
+
83
+ The licenses for most software are designed to take away your
84
+ </pre>
85
+ <p>
86
+ freedom to share and change it. By contrast, the GNU General Public License
87
+ is intended to guarantee your freedom to share and change free
88
+ software&#8212;to make sure the software is free for all its users. This
89
+ General Public License applies to most of the Free Software
90
+ Foundation&#8217;s software and to any other program whose authors commit
91
+ to using it. (Some other Free Software Foundation software is covered by
92
+ the GNU Library General Public License instead.) You can apply it to your
93
+ programs, too.
94
+ </p>
95
+ <pre>
96
+ When we speak of free software, we are referring to freedom, not
97
+ </pre>
98
+ <p>
99
+ price. Our General Public Licenses are designed to make sure that you have
100
+ the freedom to distribute copies of free software (and charge for this
101
+ service if you wish), that you receive source code or can get it if you
102
+ want it, that you can change the software or use pieces of it in new free
103
+ programs; and that you know you can do these things.
104
+ </p>
105
+ <pre>
106
+ To protect your rights, we need to make restrictions that forbid
107
+ </pre>
108
+ <p>
109
+ anyone to deny you these rights or to ask you to surrender the rights.
110
+ These restrictions translate to certain responsibilities for you if you
111
+ distribute copies of the software, or if you modify it.
112
+ </p>
113
+ <pre>
114
+ For example, if you distribute copies of such a program, whether
115
+ </pre>
116
+ <p>
117
+ gratis or for a fee, you must give the recipients all the rights that you
118
+ have. You must make sure that they, too, receive or can get the source
119
+ code. And you must show them these terms so they know their rights.
120
+ </p>
121
+ <pre>
122
+ We protect your rights with two steps: (1) copyright the software, and
123
+ </pre>
124
+ <p>
125
+ (2) offer you this license which gives you legal permission to copy,
126
+ distribute and/or modify the software.
127
+ </p>
128
+ <pre>
129
+ Also, for each author's protection and ours, we want to make certain
130
+ </pre>
131
+ <p>
132
+ that everyone understands that there is no warranty for this free software.
133
+ If the software is modified by someone else and passed on, we want its
134
+ recipients to know that what they have is not the original, so that any
135
+ problems introduced by others will not reflect on the original
136
+ authors&#8217; reputations.
137
+ </p>
138
+ <pre>
139
+ Finally, any free program is threatened constantly by software
140
+ </pre>
141
+ <p>
142
+ patents. We wish to avoid the danger that redistributors of a free program
143
+ will individually obtain patent licenses, in effect making the program
144
+ proprietary. To prevent this, we have made it clear that any patent must be
145
+ licensed for everyone&#8217;s free use or not licensed at all.
146
+ </p>
147
+ <pre>
148
+ The precise terms and conditions for copying, distribution and
149
+ </pre>
150
+ <p>
151
+ modification follow.
152
+ </p>
153
+ <pre>
154
+ GNU GENERAL PUBLIC LICENSE
155
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
156
+
157
+ 0. This License applies to any program or other work which contains
158
+ </pre>
159
+ <p>
160
+ a notice placed by the copyright holder saying it may be distributed under
161
+ the terms of this General Public License. The &quot;Program&quot;, below,
162
+ refers to any such program or work, and a &quot;work based on the
163
+ Program&quot; means either the Program or any derivative work under
164
+ copyright law: that is to say, a work containing the Program or a portion
165
+ of it, either verbatim or with modifications and/or translated into another
166
+ language. (Hereinafter, translation is included without limitation in the
167
+ term &quot;modification&quot;.) Each licensee is addressed as
168
+ &quot;you&quot;.
169
+ </p>
170
+ <p>
171
+ Activities other than copying, distribution and modification are not
172
+ covered by this License; they are outside its scope. The act of running the
173
+ Program is not restricted, and the output from the Program is covered only
174
+ if its contents constitute a work based on the Program (independent of
175
+ having been made by running the Program). Whether that is true depends on
176
+ what the Program does.
177
+ </p>
178
+ <pre>
179
+ 1. You may copy and distribute verbatim copies of the Program's
180
+ </pre>
181
+ <p>
182
+ source code as you receive it, in any medium, provided that you
183
+ conspicuously and appropriately publish on each copy an appropriate
184
+ copyright notice and disclaimer of warranty; keep intact all the notices
185
+ that refer to this License and to the absence of any warranty; and give any
186
+ other recipients of the Program a copy of this License along with the
187
+ Program.
188
+ </p>
189
+ <p>
190
+ You may charge a fee for the physical act of transferring a copy, and you
191
+ may at your option offer warranty protection in exchange for a fee.
192
+ </p>
193
+ <pre>
194
+ 2. You may modify your copy or copies of the Program or any portion
195
+ </pre>
196
+ <p>
197
+ of it, thus forming a work based on the Program, and copy and distribute
198
+ such modifications or work under the terms of Section 1 above, provided
199
+ that you also meet all of these conditions:
200
+ </p>
201
+ <pre>
202
+ a) You must cause the modified files to carry prominent notices
203
+ stating that you changed the files and the date of any change.
204
+
205
+ b) You must cause any work that you distribute or publish, that in
206
+ whole or in part contains or is derived from the Program or any
207
+ part thereof, to be licensed as a whole at no charge to all third
208
+ parties under the terms of this License.
209
+
210
+ c) If the modified program normally reads commands interactively
211
+ when run, you must cause it, when started running for such
212
+ interactive use in the most ordinary way, to print or display an
213
+ announcement including an appropriate copyright notice and a
214
+ notice that there is no warranty (or else, saying that you provide
215
+ a warranty) and that users may redistribute the program under
216
+ these conditions, and telling the user how to view a copy of this
217
+ License. (Exception: if the Program itself is interactive but
218
+ does not normally print such an announcement, your work based on
219
+ the Program is not required to print an announcement.)
220
+ </pre>
221
+ <p>
222
+ These requirements apply to the modified work as a whole. If identifiable
223
+ sections of that work are not derived from the Program, and can be
224
+ reasonably considered independent and separate works in themselves, then
225
+ this License, and its terms, do not apply to those sections when you
226
+ distribute them as separate works. But when you distribute the same
227
+ sections as part of a whole which is a work based on the Program, the
228
+ distribution of the whole must be on the terms of this License, whose
229
+ permissions for other licensees extend to the entire whole, and thus to
230
+ each and every part regardless of who wrote it.
231
+ </p>
232
+ <p>
233
+ Thus, it is not the intent of this section to claim rights or contest your
234
+ rights to work written entirely by you; rather, the intent is to exercise
235
+ the right to control the distribution of derivative or collective works
236
+ based on the Program.
237
+ </p>
238
+ <p>
239
+ In addition, mere aggregation of another work not based on the Program with
240
+ the Program (or with a work based on the Program) on a volume of a storage
241
+ or distribution medium does not bring the other work under the scope of
242
+ this License.
243
+ </p>
244
+ <pre>
245
+ 3. You may copy and distribute the Program (or a work based on it,
246
+ </pre>
247
+ <p>
248
+ under Section 2) in object code or executable form under the terms of
249
+ Sections 1 and 2 above provided that you also do one of the following:
250
+ </p>
251
+ <pre>
252
+ a) Accompany it with the complete corresponding machine-readable
253
+ source code, which must be distributed under the terms of Sections
254
+ 1 and 2 above on a medium customarily used for software interchange; or,
255
+
256
+ b) Accompany it with a written offer, valid for at least three
257
+ years, to give any third party, for a charge no more than your
258
+ cost of physically performing source distribution, a complete
259
+ machine-readable copy of the corresponding source code, to be
260
+ distributed under the terms of Sections 1 and 2 above on a medium
261
+ customarily used for software interchange; or,
262
+
263
+ c) Accompany it with the information you received as to the offer
264
+ to distribute corresponding source code. (This alternative is
265
+ allowed only for noncommercial distribution and only if you
266
+ received the program in object code or executable form with such
267
+ an offer, in accord with Subsection b above.)
268
+ </pre>
269
+ <p>
270
+ The source code for a work means the preferred form of the work for making
271
+ modifications to it. For an executable work, complete source code means all
272
+ the source code for all modules it contains, plus any associated interface
273
+ definition files, plus the scripts used to control compilation and
274
+ installation of the executable. However, as a special exception, the source
275
+ code distributed need not include anything that is normally distributed (in
276
+ either source or binary form) with the major components (compiler, kernel,
277
+ and so on) of the operating system on which the executable runs, unless
278
+ that component itself accompanies the executable.
279
+ </p>
280
+ <p>
281
+ If distribution of executable or object code is made by offering access to
282
+ copy from a designated place, then offering equivalent access to copy the
283
+ source code from the same place counts as distribution of the source code,
284
+ even though third parties are not compelled to copy the source along with
285
+ the object code.
286
+ </p>
287
+ <pre>
288
+ 4. You may not copy, modify, sublicense, or distribute the Program
289
+ </pre>
290
+ <p>
291
+ except as expressly provided under this License. Any attempt otherwise to
292
+ copy, modify, sublicense or distribute the Program is void, and will
293
+ automatically terminate your rights under this License. However, parties
294
+ who have received copies, or rights, from you under this License will not
295
+ have their licenses terminated so long as such parties remain in full
296
+ compliance.
297
+ </p>
298
+ <pre>
299
+ 5. You are not required to accept this License, since you have not
300
+ </pre>
301
+ <p>
302
+ signed it. However, nothing else grants you permission to modify or
303
+ distribute the Program or its derivative works. These actions are
304
+ prohibited by law if you do not accept this License. Therefore, by
305
+ modifying or distributing the Program (or any work based on the Program),
306
+ you indicate your acceptance of this License to do so, and all its terms
307
+ and conditions for copying, distributing or modifying the Program or works
308
+ based on it.
309
+ </p>
310
+ <pre>
311
+ 6. Each time you redistribute the Program (or any work based on the
312
+ </pre>
313
+ <p>
314
+ Program), the recipient automatically receives a license from the original
315
+ licensor to copy, distribute or modify the Program subject to these terms
316
+ and conditions. You may not impose any further restrictions on the
317
+ recipients&#8217; exercise of the rights granted herein. You are not
318
+ responsible for enforcing compliance by third parties to this License.
319
+ </p>
320
+ <pre>
321
+ 7. If, as a consequence of a court judgment or allegation of patent
322
+ </pre>
323
+ <p>
324
+ infringement or for any other reason (not limited to patent issues),
325
+ conditions are imposed on you (whether by court order, agreement or
326
+ otherwise) that contradict the conditions of this License, they do not
327
+ excuse you from the conditions of this License. If you cannot distribute so
328
+ as to satisfy simultaneously your obligations under this License and any
329
+ other pertinent obligations, then as a consequence you may not distribute
330
+ the Program at all. For example, if a patent license would not permit
331
+ royalty-free redistribution of the Program by all those who receive copies
332
+ directly or indirectly through you, then the only way you could satisfy
333
+ both it and this License would be to refrain entirely from distribution of
334
+ the Program.
335
+ </p>
336
+ <p>
337
+ If any portion of this section is held invalid or unenforceable under any
338
+ particular circumstance, the balance of the section is intended to apply
339
+ and the section as a whole is intended to apply in other circumstances.
340
+ </p>
341
+ <p>
342
+ It is not the purpose of this section to induce you to infringe any patents
343
+ or other property right claims or to contest validity of any such claims;
344
+ this section has the sole purpose of protecting the integrity of the free
345
+ software distribution system, which is implemented by public license
346
+ practices. Many people have made generous contributions to the wide range
347
+ of software distributed through that system in reliance on consistent
348
+ application of that system; it is up to the author/donor to decide if he or
349
+ she is willing to distribute software through any other system and a
350
+ licensee cannot impose that choice.
351
+ </p>
352
+ <p>
353
+ This section is intended to make thoroughly clear what is believed to be a
354
+ consequence of the rest of this License.
355
+ </p>
356
+ <pre>
357
+ 8. If the distribution and/or use of the Program is restricted in
358
+ </pre>
359
+ <p>
360
+ certain countries either by patents or by copyrighted interfaces, the
361
+ original copyright holder who places the Program under this License may add
362
+ an explicit geographical distribution limitation excluding those countries,
363
+ so that distribution is permitted only in or among countries not thus
364
+ excluded. In such case, this License incorporates the limitation as if
365
+ written in the body of this License.
366
+ </p>
367
+ <pre>
368
+ 9. The Free Software Foundation may publish revised and/or new versions
369
+ </pre>
370
+ <p>
371
+ of the General Public License from time to time. Such new versions will be
372
+ similar in spirit to the present version, but may differ in detail to
373
+ address new problems or concerns.
374
+ </p>
375
+ <p>
376
+ Each version is given a distinguishing version number. If the Program
377
+ specifies a version number of this License which applies to it and
378
+ &quot;any later version&quot;, you have the option of following the terms
379
+ and conditions either of that version or of any later version published by
380
+ the Free Software Foundation. If the Program does not specify a version
381
+ number of this License, you may choose any version ever published by the
382
+ Free Software Foundation.
383
+ </p>
384
+ <pre>
385
+ 10. If you wish to incorporate parts of the Program into other free
386
+ </pre>
387
+ <p>
388
+ programs whose distribution conditions are different, write to the author
389
+ to ask for permission. For software which is copyrighted by the Free
390
+ Software Foundation, write to the Free Software Foundation; we sometimes
391
+ make exceptions for this. Our decision will be guided by the two goals of
392
+ preserving the free status of all derivatives of our free software and of
393
+ promoting the sharing and reuse of software generally.
394
+ </p>
395
+ <pre>
396
+ NO WARRANTY
397
+
398
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
399
+ </pre>
400
+ <p>
401
+ FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
402
+ OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
403
+ PROVIDE THE PROGRAM &quot;AS IS&quot; WITHOUT WARRANTY OF ANY KIND, EITHER
404
+ EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
405
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
406
+ TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
407
+ PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
408
+ REPAIR OR CORRECTION.
409
+ </p>
410
+ <pre>
411
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
412
+ </pre>
413
+ <p>
414
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
415
+ REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
416
+ INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
417
+ OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
418
+ TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
419
+ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
420
+ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
421
+ POSSIBILITY OF SUCH DAMAGES.
422
+ </p>
423
+ <pre>
424
+ END OF TERMS AND CONDITIONS
425
+
426
+ How to Apply These Terms to Your New Programs
427
+
428
+ If you develop a new program, and you want it to be of the greatest
429
+ </pre>
430
+ <p>
431
+ possible use to the public, the best way to achieve this is to make it free
432
+ software which everyone can redistribute and change under these terms.
433
+ </p>
434
+ <pre>
435
+ To do so, attach the following notices to the program. It is safest
436
+ </pre>
437
+ <p>
438
+ to attach them to the start of each source file to most effectively convey
439
+ the exclusion of warranty; and each file should have at least the
440
+ &quot;copyright&quot; line and a pointer to where the full notice is found.
441
+ </p>
442
+ <pre>
443
+ &lt;one line to give the program's name and a brief idea of what it does.&gt;
444
+ Copyright (C) &lt;year&gt; &lt;name of author&gt;
445
+
446
+ This program is free software; you can redistribute it and/or modify
447
+ it under the terms of the GNU General Public License as published by
448
+ the Free Software Foundation; either version 2 of the License, or
449
+ (at your option) any later version.
450
+
451
+ This program is distributed in the hope that it will be useful,
452
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
453
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
454
+ GNU General Public License for more details.
455
+
456
+ You should have received a copy of the GNU General Public License
457
+ along with this program; if not, write to the Free Software
458
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
459
+ </pre>
460
+ <p>
461
+ Also add information on how to contact you by electronic and paper mail.
462
+ </p>
463
+ <p>
464
+ If the program is interactive, make it output a short notice like this when
465
+ it starts in an interactive mode:
466
+ </p>
467
+ <pre>
468
+ Gnomovision version 69, Copyright (C) year name of author
469
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
470
+ This is free software, and you are welcome to redistribute it
471
+ under certain conditions; type `show c' for details.
472
+ </pre>
473
+ <p>
474
+ The hypothetical commands `show w&#8217; and `show c&#8217; should show the
475
+ appropriate parts of the General Public License. Of course, the commands
476
+ you use may be called something other than `show w&#8217; and `show
477
+ c&#8217;; they could even be mouse-clicks or menu items&#8212;whatever
478
+ suits your program.
479
+ </p>
480
+ <p>
481
+ You should also get your employer (if you work as a programmer) or your
482
+ school, if any, to sign a &quot;copyright disclaimer&quot; for the program,
483
+ if necessary. Here is a sample; alter the names:
484
+ </p>
485
+ <pre>
486
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
487
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
488
+
489
+ &lt;signature of Ty Coon&gt;, 1 April 1989
490
+ Ty Coon, President of Vice
491
+ </pre>
492
+ <p>
493
+ This General Public License does not permit incorporating your program into
494
+ proprietary programs. If your program is a subroutine library, you may
495
+ consider it more useful to permit linking proprietary applications with the
496
+ library. If this is what you want to do, use the GNU Library General Public
497
+ License instead of this License.
498
+ </p>
499
+
500
+ </div>
501
+
502
+
503
+ </div>
504
+
505
+
506
+ </div>
507
+
508
+
509
+ <!-- if includes -->
510
+
511
+ <div id="section">
512
+
513
+
514
+
515
+
516
+
517
+
518
+
519
+
520
+ <!-- if method_list -->
521
+
522
+
523
+ </div>
524
+
525
+
526
+ <div id="validator-badges">
527
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
528
+ </div>
529
+
530
+ </body>
531
+ </html>