mongrel_esi 0.5.2 → 0.5.4

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.
Files changed (200) hide show
  1. data/ext/esi/esi_parser.c +1 -0
  2. data/ext/esi/extconf.rb +2 -0
  3. data/ext/esi/parser.c +2 -2
  4. data/ext/esi/parser.h +2 -0
  5. data/ext/esi/parser.rl +2 -2
  6. data/ext/esi/test/common.rl +46 -0
  7. data/ext/esi/test/parser.c +1901 -0
  8. data/ext/esi/test/parser.h +127 -0
  9. data/ext/esi/test/parser.rl +611 -0
  10. data/ext/esi/test/test.c +2 -2
  11. data/lib/esi/cache.rb +1 -1
  12. data/lib/esi/version.rb +1 -1
  13. data/test/benchmarks/perf-trunk-n1000-c1.csv +100 -100
  14. data/test/benchmarks/perf-trunk-n1000-c2.csv +100 -100
  15. data/test/benchmarks/perf-trunk-n1000-c3.csv +100 -100
  16. data/test/benchmarks/perf-trunk-n1000-c4.csv +100 -100
  17. data/test/benchmarks/perf-trunk-n1000-c5.csv +100 -100
  18. data/test/integration/docs/large-no-cache.html +688 -0
  19. data/test/integration/handler_test.rb +7 -2
  20. data/test/load_test_ab.rb +1 -1
  21. metadata +7 -222
  22. data/doc/rdoc/classes/ESI/CParser.html +0 -122
  23. data/doc/rdoc/classes/ESI/Cache.html +0 -178
  24. data/doc/rdoc/classes/ESI/Cache.src/M000087.html +0 -17
  25. data/doc/rdoc/classes/ESI/Cache.src/M000088.html +0 -20
  26. data/doc/rdoc/classes/ESI/Config.html +0 -314
  27. data/doc/rdoc/classes/ESI/Config.src/M000049.html +0 -18
  28. data/doc/rdoc/classes/ESI/Config.src/M000050.html +0 -18
  29. data/doc/rdoc/classes/ESI/Config.src/M000051.html +0 -35
  30. data/doc/rdoc/classes/ESI/Config.src/M000052.html +0 -40
  31. data/doc/rdoc/classes/ESI/Config.src/M000053.html +0 -23
  32. data/doc/rdoc/classes/ESI/Config.src/M000054.html +0 -18
  33. data/doc/rdoc/classes/ESI/Config.src/M000055.html +0 -20
  34. data/doc/rdoc/classes/ESI/Config.src/M000056.html +0 -24
  35. data/doc/rdoc/classes/ESI/Config/CacheConfig.html +0 -212
  36. data/doc/rdoc/classes/ESI/Config/CacheConfig.src/M000060.html +0 -19
  37. data/doc/rdoc/classes/ESI/Config/CacheConfig.src/M000061.html +0 -19
  38. data/doc/rdoc/classes/ESI/Config/CacheConfig.src/M000062.html +0 -18
  39. data/doc/rdoc/classes/ESI/Config/CacheConfig.src/M000063.html +0 -18
  40. data/doc/rdoc/classes/ESI/Config/CacheConfig.src/M000064.html +0 -18
  41. data/doc/rdoc/classes/ESI/Config/ConfigRouter.html +0 -187
  42. data/doc/rdoc/classes/ESI/Config/ConfigRouter.src/M000057.html +0 -19
  43. data/doc/rdoc/classes/ESI/Config/ConfigRouter.src/M000058.html +0 -21
  44. data/doc/rdoc/classes/ESI/Config/ConfigRouter.src/M000059.html +0 -21
  45. data/doc/rdoc/classes/ESI/Dispatcher.html +0 -174
  46. data/doc/rdoc/classes/ESI/Dispatcher.src/M000092.html +0 -19
  47. data/doc/rdoc/classes/ESI/Dispatcher.src/M000093.html +0 -27
  48. data/doc/rdoc/classes/ESI/Fragment.html +0 -218
  49. data/doc/rdoc/classes/ESI/Fragment.src/M000111.html +0 -20
  50. data/doc/rdoc/classes/ESI/Fragment.src/M000112.html +0 -18
  51. data/doc/rdoc/classes/ESI/Fragment.src/M000113.html +0 -18
  52. data/doc/rdoc/classes/ESI/Invalidator.html +0 -131
  53. data/doc/rdoc/classes/ESI/Invalidator.src/M000004.html +0 -41
  54. data/doc/rdoc/classes/ESI/Log.html +0 -221
  55. data/doc/rdoc/classes/ESI/Log.src/M000030.html +0 -18
  56. data/doc/rdoc/classes/ESI/Log.src/M000031.html +0 -18
  57. data/doc/rdoc/classes/ESI/Log.src/M000032.html +0 -18
  58. data/doc/rdoc/classes/ESI/Log.src/M000033.html +0 -18
  59. data/doc/rdoc/classes/ESI/Log.src/M000034.html +0 -18
  60. data/doc/rdoc/classes/ESI/Log.src/M000035.html +0 -18
  61. data/doc/rdoc/classes/ESI/Log.src/M000036.html +0 -18
  62. data/doc/rdoc/classes/ESI/MemcachedCache.html +0 -314
  63. data/doc/rdoc/classes/ESI/MemcachedCache.src/M000037.html +0 -24
  64. data/doc/rdoc/classes/ESI/MemcachedCache.src/M000038.html +0 -22
  65. data/doc/rdoc/classes/ESI/MemcachedCache.src/M000039.html +0 -19
  66. data/doc/rdoc/classes/ESI/MemcachedCache.src/M000040.html +0 -23
  67. data/doc/rdoc/classes/ESI/MemcachedCache.src/M000041.html +0 -18
  68. data/doc/rdoc/classes/ESI/MemcachedCache.src/M000042.html +0 -19
  69. data/doc/rdoc/classes/ESI/MemcachedCache.src/M000043.html +0 -18
  70. data/doc/rdoc/classes/ESI/MemcachedCache.src/M000044.html +0 -18
  71. data/doc/rdoc/classes/ESI/MemcachedCache.src/M000045.html +0 -17
  72. data/doc/rdoc/classes/ESI/OutputAdapter.html +0 -204
  73. data/doc/rdoc/classes/ESI/OutputAdapter.src/M000094.html +0 -37
  74. data/doc/rdoc/classes/ESI/OutputAdapter.src/M000095.html +0 -18
  75. data/doc/rdoc/classes/ESI/OutputAdapter.src/M000096.html +0 -18
  76. data/doc/rdoc/classes/ESI/OutputAdapter.src/M000097.html +0 -18
  77. data/doc/rdoc/classes/ESI/Parser.html +0 -184
  78. data/doc/rdoc/classes/ESI/Parser.src/M000065.html +0 -51
  79. data/doc/rdoc/classes/ESI/Parser.src/M000066.html +0 -39
  80. data/doc/rdoc/classes/ESI/Parser.src/M000067.html +0 -19
  81. data/doc/rdoc/classes/ESI/Processor.html +0 -194
  82. data/doc/rdoc/classes/ESI/Processor.src/M000046.html +0 -26
  83. data/doc/rdoc/classes/ESI/Processor.src/M000047.html +0 -44
  84. data/doc/rdoc/classes/ESI/Processor.src/M000048.html +0 -26
  85. data/doc/rdoc/classes/ESI/Proxy.html +0 -304
  86. data/doc/rdoc/classes/ESI/Proxy.src/M000071.html +0 -20
  87. data/doc/rdoc/classes/ESI/Proxy.src/M000072.html +0 -63
  88. data/doc/rdoc/classes/ESI/Proxy.src/M000073.html +0 -62
  89. data/doc/rdoc/classes/ESI/Proxy.src/M000074.html +0 -24
  90. data/doc/rdoc/classes/ESI/Proxy.src/M000075.html +0 -19
  91. data/doc/rdoc/classes/ESI/Proxy.src/M000076.html +0 -22
  92. data/doc/rdoc/classes/ESI/Proxy.src/M000077.html +0 -18
  93. data/doc/rdoc/classes/ESI/Proxy.src/M000078.html +0 -28
  94. data/doc/rdoc/classes/ESI/Proxy.src/M000079.html +0 -29
  95. data/doc/rdoc/classes/ESI/RackAdapter.html +0 -214
  96. data/doc/rdoc/classes/ESI/RackAdapter.src/M000068.html +0 -18
  97. data/doc/rdoc/classes/ESI/RackAdapter.src/M000069.html +0 -34
  98. data/doc/rdoc/classes/ESI/RackAdapter.src/M000070.html +0 -17
  99. data/doc/rdoc/classes/ESI/RackConfig.html +0 -173
  100. data/doc/rdoc/classes/ESI/RackConfig.src/M000089.html +0 -28
  101. data/doc/rdoc/classes/ESI/RackConfig.src/M000090.html +0 -18
  102. data/doc/rdoc/classes/ESI/RackConfig.src/M000091.html +0 -20
  103. data/doc/rdoc/classes/ESI/Request.html +0 -158
  104. data/doc/rdoc/classes/ESI/Request.src/M000098.html +0 -18
  105. data/doc/rdoc/classes/ESI/Request.src/M000099.html +0 -18
  106. data/doc/rdoc/classes/ESI/Response.html +0 -250
  107. data/doc/rdoc/classes/ESI/Response.src/M000080.html +0 -23
  108. data/doc/rdoc/classes/ESI/Response.src/M000081.html +0 -18
  109. data/doc/rdoc/classes/ESI/Response.src/M000082.html +0 -21
  110. data/doc/rdoc/classes/ESI/Response.src/M000083.html +0 -20
  111. data/doc/rdoc/classes/ESI/Response.src/M000084.html +0 -25
  112. data/doc/rdoc/classes/ESI/Response.src/M000085.html +0 -18
  113. data/doc/rdoc/classes/ESI/Response.src/M000086.html +0 -33
  114. data/doc/rdoc/classes/ESI/Router.html +0 -212
  115. data/doc/rdoc/classes/ESI/Router.src/M000109.html +0 -36
  116. data/doc/rdoc/classes/ESI/Router.src/M000110.html +0 -25
  117. data/doc/rdoc/classes/ESI/RubyCache.html +0 -278
  118. data/doc/rdoc/classes/ESI/RubyCache.src/M000100.html +0 -20
  119. data/doc/rdoc/classes/ESI/RubyCache.src/M000101.html +0 -20
  120. data/doc/rdoc/classes/ESI/RubyCache.src/M000102.html +0 -20
  121. data/doc/rdoc/classes/ESI/RubyCache.src/M000103.html +0 -22
  122. data/doc/rdoc/classes/ESI/RubyCache.src/M000104.html +0 -18
  123. data/doc/rdoc/classes/ESI/RubyCache.src/M000105.html +0 -22
  124. data/doc/rdoc/classes/ESI/RubyCache.src/M000106.html +0 -18
  125. data/doc/rdoc/classes/ESI/RubyCache.src/M000107.html +0 -18
  126. data/doc/rdoc/classes/ESI/RubyCache.src/M000108.html +0 -18
  127. data/doc/rdoc/classes/ESI/Tag.html +0 -141
  128. data/doc/rdoc/classes/ESI/Tag/Attempt.html +0 -113
  129. data/doc/rdoc/classes/ESI/Tag/Base.html +0 -237
  130. data/doc/rdoc/classes/ESI/Tag/Base.src/M000026.html +0 -23
  131. data/doc/rdoc/classes/ESI/Tag/Base.src/M000027.html +0 -22
  132. data/doc/rdoc/classes/ESI/Tag/Base.src/M000028.html +0 -22
  133. data/doc/rdoc/classes/ESI/Tag/Base.src/M000029.html +0 -17
  134. data/doc/rdoc/classes/ESI/Tag/Container.html +0 -206
  135. data/doc/rdoc/classes/ESI/Tag/Container.src/M000015.html +0 -20
  136. data/doc/rdoc/classes/ESI/Tag/Container.src/M000016.html +0 -22
  137. data/doc/rdoc/classes/ESI/Tag/Container.src/M000017.html +0 -25
  138. data/doc/rdoc/classes/ESI/Tag/Except.html +0 -184
  139. data/doc/rdoc/classes/ESI/Tag/Except.src/M000018.html +0 -21
  140. data/doc/rdoc/classes/ESI/Tag/Except.src/M000019.html +0 -20
  141. data/doc/rdoc/classes/ESI/Tag/Except.src/M000020.html +0 -18
  142. data/doc/rdoc/classes/ESI/Tag/Include.html +0 -257
  143. data/doc/rdoc/classes/ESI/Tag/Include.src/M000005.html +0 -20
  144. data/doc/rdoc/classes/ESI/Tag/Include.src/M000006.html +0 -18
  145. data/doc/rdoc/classes/ESI/Tag/Include.src/M000007.html +0 -34
  146. data/doc/rdoc/classes/ESI/Tag/Include.src/M000008.html +0 -22
  147. data/doc/rdoc/classes/ESI/Tag/Include.src/M000009.html +0 -27
  148. data/doc/rdoc/classes/ESI/Tag/Include.src/M000010.html +0 -30
  149. data/doc/rdoc/classes/ESI/Tag/Include.src/M000011.html +0 -51
  150. data/doc/rdoc/classes/ESI/Tag/Include/Request.html +0 -199
  151. data/doc/rdoc/classes/ESI/Tag/Include/Request.src/M000012.html +0 -18
  152. data/doc/rdoc/classes/ESI/Tag/Include/Request.src/M000013.html +0 -44
  153. data/doc/rdoc/classes/ESI/Tag/Include/Request/Error.html +0 -155
  154. data/doc/rdoc/classes/ESI/Tag/Include/Request/Error.src/M000014.html +0 -19
  155. data/doc/rdoc/classes/ESI/Tag/Invalidate.html +0 -171
  156. data/doc/rdoc/classes/ESI/Tag/Invalidate.src/M000023.html +0 -19
  157. data/doc/rdoc/classes/ESI/Tag/Invalidate.src/M000024.html +0 -51
  158. data/doc/rdoc/classes/ESI/Tag/Invalidate.src/M000025.html +0 -19
  159. data/doc/rdoc/classes/ESI/Tag/Try.html +0 -154
  160. data/doc/rdoc/classes/ESI/Tag/Try.src/M000021.html +0 -38
  161. data/doc/rdoc/classes/ESI/Tag/Try.src/M000022.html +0 -18
  162. data/doc/rdoc/classes/MultiDirHandler.html +0 -198
  163. data/doc/rdoc/classes/MultiDirHandler.src/M000001.html +0 -20
  164. data/doc/rdoc/classes/MultiDirHandler.src/M000002.html +0 -28
  165. data/doc/rdoc/classes/MultiDirHandler.src/M000003.html +0 -22
  166. data/doc/rdoc/created.rid +0 -1
  167. data/doc/rdoc/files/COPYING.html +0 -167
  168. data/doc/rdoc/files/LICENSE.html +0 -605
  169. data/doc/rdoc/files/README.html +0 -361
  170. data/doc/rdoc/files/ext/esi/common_rl.html +0 -160
  171. data/doc/rdoc/files/ext/esi/esi_parser_c.html +0 -101
  172. data/doc/rdoc/files/ext/esi/parser_c.html +0 -101
  173. data/doc/rdoc/files/ext/esi/parser_h.html +0 -101
  174. data/doc/rdoc/files/ext/esi/parser_rl.html +0 -867
  175. data/doc/rdoc/files/ext/esi/test/test_c.html +0 -101
  176. data/doc/rdoc/files/lib/esi/cache_rb.html +0 -120
  177. data/doc/rdoc/files/lib/esi/config_rb.html +0 -115
  178. data/doc/rdoc/files/lib/esi/dispatcher_rb.html +0 -110
  179. data/doc/rdoc/files/lib/esi/invalidator_rb.html +0 -114
  180. data/doc/rdoc/files/lib/esi/logger_rb.html +0 -108
  181. data/doc/rdoc/files/lib/esi/parser_rb.html +0 -120
  182. data/doc/rdoc/files/lib/esi/processor_rb.html +0 -115
  183. data/doc/rdoc/files/lib/esi/proxy_rb.html +0 -123
  184. data/doc/rdoc/files/lib/esi/rack_adapter_rb.html +0 -117
  185. data/doc/rdoc/files/lib/esi/response_rb.html +0 -116
  186. data/doc/rdoc/files/lib/esi/router_rb.html +0 -107
  187. data/doc/rdoc/files/lib/esi/tag/attempt_rb.html +0 -114
  188. data/doc/rdoc/files/lib/esi/tag/base_rb.html +0 -114
  189. data/doc/rdoc/files/lib/esi/tag/container_rb.html +0 -115
  190. data/doc/rdoc/files/lib/esi/tag/except_rb.html +0 -114
  191. data/doc/rdoc/files/lib/esi/tag/include_rb.html +0 -116
  192. data/doc/rdoc/files/lib/esi/tag/invalidate_rb.html +0 -115
  193. data/doc/rdoc/files/lib/esi/tag/try_rb.html +0 -115
  194. data/doc/rdoc/files/lib/esi/version_rb.html +0 -101
  195. data/doc/rdoc/files/lib/multi_dirhandler_rb.html +0 -109
  196. data/doc/rdoc/fr_class_index.html +0 -57
  197. data/doc/rdoc/fr_file_index.html +0 -55
  198. data/doc/rdoc/fr_method_index.html +0 -139
  199. data/doc/rdoc/index.html +0 -24
  200. data/doc/rdoc/rdoc-style.css +0 -208
@@ -1,605 +0,0 @@
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>Mon Jun 23 15:57:40 -0400 2008</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
- MOZILLA PUBLIC LICENSE
74
- Version 1.1
75
-
76
- ---------------
77
- </pre>
78
- <ol>
79
- <li>Definitions.
80
-
81
- <pre>
82
- 1.0.1. &quot;Commercial Use&quot; means distribution or otherwise making the
83
- Covered Code available to a third party.
84
-
85
- 1.1. &quot;Contributor&quot; means each entity that creates or contributes to
86
- the creation of Modifications.
87
-
88
- 1.2. &quot;Contributor Version&quot; means the combination of the Original
89
- Code, prior Modifications used by a Contributor, and the Modifications
90
- made by that particular Contributor.
91
-
92
- 1.3. &quot;Covered Code&quot; means the Original Code or Modifications or the
93
- combination of the Original Code and Modifications, in each case
94
- including portions thereof.
95
-
96
- 1.4. &quot;Electronic Distribution Mechanism&quot; means a mechanism generally
97
- accepted in the software development community for the electronic
98
- transfer of data.
99
-
100
- 1.5. &quot;Executable&quot; means Covered Code in any form other than Source
101
- Code.
102
-
103
- 1.6. &quot;Initial Developer&quot; means the individual or entity identified
104
- as the Initial Developer in the Source Code notice required by Exhibit
105
- A.
106
-
107
- 1.7. &quot;Larger Work&quot; means a work which combines Covered Code or
108
- portions thereof with code not governed by the terms of this License.
109
-
110
- 1.8. &quot;License&quot; means this document.
111
-
112
- 1.8.1. &quot;Licensable&quot; means having the right to grant, to the maximum
113
- extent possible, whether at the time of the initial grant or
114
- subsequently acquired, any and all of the rights conveyed herein.
115
-
116
- 1.9. &quot;Modifications&quot; means any addition to or deletion from the
117
- substance or structure of either the Original Code or any previous
118
- Modifications. When Covered Code is released as a series of files, a
119
- Modification is:
120
- A. Any addition to or deletion from the contents of a file
121
- containing Original Code or previous Modifications.
122
-
123
- B. Any new file that contains any part of the Original Code or
124
- previous Modifications.
125
-
126
- 1.10. &quot;Original Code&quot; means Source Code of computer software code
127
- which is described in the Source Code notice required by Exhibit A as
128
- Original Code, and which, at the time of its release under this
129
- License is not already Covered Code governed by this License.
130
-
131
- 1.10.1. &quot;Patent Claims&quot; means any patent claim(s), now owned or
132
- hereafter acquired, including without limitation, method, process,
133
- and apparatus claims, in any patent Licensable by grantor.
134
-
135
- 1.11. &quot;Source Code&quot; means the preferred form of the Covered Code for
136
- making modifications to it, including all modules it contains, plus
137
- any associated interface definition files, scripts used to control
138
- compilation and installation of an Executable, or source code
139
- differential comparisons against either the Original Code or another
140
- well known, available Covered Code of the Contributor's choice. The
141
- Source Code can be in a compressed or archival form, provided the
142
- appropriate decompression or de-archiving software is widely available
143
- for no charge.
144
-
145
- 1.12. &quot;You&quot; (or &quot;Your&quot;) means an individual or a legal entity
146
- exercising rights under, and complying with all of the terms of, this
147
- License or a future version of this License issued under Section 6.1.
148
- For legal entities, &quot;You&quot; includes any entity which controls, is
149
- controlled by, or is under common control with You. For purposes of
150
- this definition, &quot;control&quot; means (a) the power, direct or indirect,
151
- to cause the direction or management of such entity, whether by
152
- contract or otherwise, or (b) ownership of more than fifty percent
153
- (50%) of the outstanding shares or beneficial ownership of such
154
- entity.
155
- </pre>
156
- </li>
157
- <li>Source Code License.
158
-
159
- <pre>
160
- 2.1. The Initial Developer Grant.
161
- The Initial Developer hereby grants You a world-wide, royalty-free,
162
- non-exclusive license, subject to third party intellectual property
163
- claims:
164
- (a) under intellectual property rights (other than patent or
165
- trademark) Licensable by Initial Developer to use, reproduce,
166
- modify, display, perform, sublicense and distribute the Original
167
- Code (or portions thereof) with or without Modifications, and/or
168
- as part of a Larger Work; and
169
-
170
- (b) under Patents Claims infringed by the making, using or
171
- selling of Original Code, to make, have made, use, practice,
172
- sell, and offer for sale, and/or otherwise dispose of the
173
- Original Code (or portions thereof).
174
-
175
- (c) the licenses granted in this Section 2.1(a) and (b) are
176
- effective on the date Initial Developer first distributes
177
- Original Code under the terms of this License.
178
-
179
- (d) Notwithstanding Section 2.1(b) above, no patent license is
180
- granted: 1) for code that You delete from the Original Code; 2)
181
- separate from the Original Code; or 3) for infringements caused
182
- by: i) the modification of the Original Code or ii) the
183
- combination of the Original Code with other software or devices.
184
-
185
- 2.2. Contributor Grant.
186
- Subject to third party intellectual property claims, each Contributor
187
- hereby grants You a world-wide, royalty-free, non-exclusive license
188
-
189
- (a) under intellectual property rights (other than patent or
190
- trademark) Licensable by Contributor, to use, reproduce, modify,
191
- display, perform, sublicense and distribute the Modifications
192
- created by such Contributor (or portions thereof) either on an
193
- unmodified basis, with other Modifications, as Covered Code
194
- and/or as part of a Larger Work; and
195
-
196
- (b) under Patent Claims infringed by the making, using, or
197
- selling of Modifications made by that Contributor either alone
198
- and/or in combination with its Contributor Version (or portions
199
- of such combination), to make, use, sell, offer for sale, have
200
- made, and/or otherwise dispose of: 1) Modifications made by that
201
- Contributor (or portions thereof); and 2) the combination of
202
- Modifications made by that Contributor with its Contributor
203
- Version (or portions of such combination).
204
-
205
- (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
206
- effective on the date Contributor first makes Commercial Use of
207
- the Covered Code.
208
-
209
- (d) Notwithstanding Section 2.2(b) above, no patent license is
210
- granted: 1) for any code that Contributor has deleted from the
211
- Contributor Version; 2) separate from the Contributor Version;
212
- 3) for infringements caused by: i) third party modifications of
213
- Contributor Version or ii) the combination of Modifications made
214
- by that Contributor with other software (except as part of the
215
- Contributor Version) or other devices; or 4) under Patent Claims
216
- infringed by Covered Code in the absence of Modifications made by
217
- that Contributor.
218
- </pre>
219
- </li>
220
- <li>Distribution Obligations.
221
-
222
- <pre>
223
- 3.1. Application of License.
224
- The Modifications which You create or to which You contribute are
225
- governed by the terms of this License, including without limitation
226
- Section 2.2. The Source Code version of Covered Code may be
227
- distributed only under the terms of this License or a future version
228
- of this License released under Section 6.1, and You must include a
229
- copy of this License with every copy of the Source Code You
230
- distribute. You may not offer or impose any terms on any Source Code
231
- version that alters or restricts the applicable version of this
232
- License or the recipients' rights hereunder. However, You may include
233
- an additional document offering the additional rights described in
234
- Section 3.5.
235
-
236
- 3.2. Availability of Source Code.
237
- Any Modification which You create or to which You contribute must be
238
- made available in Source Code form under the terms of this License
239
- either on the same media as an Executable version or via an accepted
240
- Electronic Distribution Mechanism to anyone to whom you made an
241
- Executable version available; and if made available via Electronic
242
- Distribution Mechanism, must remain available for at least twelve (12)
243
- months after the date it initially became available, or at least six
244
- (6) months after a subsequent version of that particular Modification
245
- has been made available to such recipients. You are responsible for
246
- ensuring that the Source Code version remains available even if the
247
- Electronic Distribution Mechanism is maintained by a third party.
248
-
249
- 3.3. Description of Modifications.
250
- You must cause all Covered Code to which You contribute to contain a
251
- file documenting the changes You made to create that Covered Code and
252
- the date of any change. You must include a prominent statement that
253
- the Modification is derived, directly or indirectly, from Original
254
- Code provided by the Initial Developer and including the name of the
255
- Initial Developer in (a) the Source Code, and (b) in any notice in an
256
- Executable version or related documentation in which You describe the
257
- origin or ownership of the Covered Code.
258
-
259
- 3.4. Intellectual Property Matters
260
- (a) Third Party Claims.
261
- If Contributor has knowledge that a license under a third party's
262
- intellectual property rights is required to exercise the rights
263
- granted by such Contributor under Sections 2.1 or 2.2,
264
- Contributor must include a text file with the Source Code
265
- distribution titled &quot;LEGAL&quot; which describes the claim and the
266
- party making the claim in sufficient detail that a recipient will
267
- know whom to contact. If Contributor obtains such knowledge after
268
- the Modification is made available as described in Section 3.2,
269
- Contributor shall promptly modify the LEGAL file in all copies
270
- Contributor makes available thereafter and shall take other steps
271
- (such as notifying appropriate mailing lists or newsgroups)
272
- reasonably calculated to inform those who received the Covered
273
- Code that new knowledge has been obtained.
274
-
275
- (b) Contributor APIs.
276
- If Contributor's Modifications include an application programming
277
- interface and Contributor has knowledge of patent licenses which
278
- are reasonably necessary to implement that API, Contributor must
279
- also include this information in the LEGAL file.
280
-
281
- (c) Representations.
282
- Contributor represents that, except as disclosed pursuant to
283
- Section 3.4(a) above, Contributor believes that Contributor's
284
- Modifications are Contributor's original creation(s) and/or
285
- Contributor has sufficient rights to grant the rights conveyed by
286
- this License.
287
-
288
- 3.5. Required Notices.
289
- You must duplicate the notice in Exhibit A in each file of the Source
290
- Code. If it is not possible to put such notice in a particular Source
291
- Code file due to its structure, then You must include such notice in a
292
- location (such as a relevant directory) where a user would be likely
293
- to look for such a notice. If You created one or more Modification(s)
294
- You may add your name as a Contributor to the notice described in
295
- Exhibit A. You must also duplicate this License in any documentation
296
- for the Source Code where You describe recipients' rights or ownership
297
- rights relating to Covered Code. You may choose to offer, and to
298
- charge a fee for, warranty, support, indemnity or liability
299
- obligations to one or more recipients of Covered Code. However, You
300
- may do so only on Your own behalf, and not on behalf of the Initial
301
- Developer or any Contributor. You must make it absolutely clear than
302
- any such warranty, support, indemnity or liability obligation is
303
- offered by You alone, and You hereby agree to indemnify the Initial
304
- Developer and every Contributor for any liability incurred by the
305
- Initial Developer or such Contributor as a result of warranty,
306
- support, indemnity or liability terms You offer.
307
-
308
- 3.6. Distribution of Executable Versions.
309
- You may distribute Covered Code in Executable form only if the
310
- requirements of Section 3.1-3.5 have been met for that Covered Code,
311
- and if You include a notice stating that the Source Code version of
312
- the Covered Code is available under the terms of this License,
313
- including a description of how and where You have fulfilled the
314
- obligations of Section 3.2. The notice must be conspicuously included
315
- in any notice in an Executable version, related documentation or
316
- collateral in which You describe recipients' rights relating to the
317
- Covered Code. You may distribute the Executable version of Covered
318
- Code or ownership rights under a license of Your choice, which may
319
- contain terms different from this License, provided that You are in
320
- compliance with the terms of this License and that the license for the
321
- Executable version does not attempt to limit or alter the recipient's
322
- rights in the Source Code version from the rights set forth in this
323
- License. If You distribute the Executable version under a different
324
- license You must make it absolutely clear that any terms which differ
325
- from this License are offered by You alone, not by the Initial
326
- Developer or any Contributor. You hereby agree to indemnify the
327
- Initial Developer and every Contributor for any liability incurred by
328
- the Initial Developer or such Contributor as a result of any such
329
- terms You offer.
330
-
331
- 3.7. Larger Works.
332
- You may create a Larger Work by combining Covered Code with other code
333
- not governed by the terms of this License and distribute the Larger
334
- Work as a single product. In such a case, You must make sure the
335
- requirements of this License are fulfilled for the Covered Code.
336
- </pre>
337
- </li>
338
- <li>Inability to Comply Due to Statute or Regulation.
339
-
340
- <pre>
341
- If it is impossible for You to comply with any of the terms of this
342
- License with respect to some or all of the Covered Code due to
343
- statute, judicial order, or regulation then You must: (a) comply with
344
- the terms of this License to the maximum extent possible; and (b)
345
- describe the limitations and the code they affect. Such description
346
- must be included in the LEGAL file described in Section 3.4 and must
347
- be included with all distributions of the Source Code. Except to the
348
- extent prohibited by statute or regulation, such description must be
349
- sufficiently detailed for a recipient of ordinary skill to be able to
350
- understand it.
351
- </pre>
352
- </li>
353
- <li>Application of this License.
354
-
355
- <pre>
356
- This License applies to code to which the Initial Developer has
357
- attached the notice in Exhibit A and to related Covered Code.
358
- </pre>
359
- </li>
360
- <li>Versions of the License.
361
-
362
- <pre>
363
- 6.1. New Versions.
364
- Netscape Communications Corporation (&quot;Netscape&quot;) may publish revised
365
- and/or new versions of the License from time to time. Each version
366
- will be given a distinguishing version number.
367
-
368
- 6.2. Effect of New Versions.
369
- Once Covered Code has been published under a particular version of the
370
- License, You may always continue to use it under the terms of that
371
- version. You may also choose to use such Covered Code under the terms
372
- of any subsequent version of the License published by Netscape. No one
373
- other than Netscape has the right to modify the terms applicable to
374
- Covered Code created under this License.
375
-
376
- 6.3. Derivative Works.
377
- If You create or use a modified version of this License (which you may
378
- only do in order to apply it to code which is not already Covered Code
379
- governed by this License), You must (a) rename Your license so that
380
- the phrases &quot;Mozilla&quot;, &quot;MOZILLAPL&quot;, &quot;MOZPL&quot;, &quot;Netscape&quot;,
381
- &quot;MPL&quot;, &quot;NPL&quot; or any confusingly similar phrase do not appear in your
382
- license (except to note that your license differs from this License)
383
- and (b) otherwise make it clear that Your version of the license
384
- contains terms which differ from the Mozilla Public License and
385
- Netscape Public License. (Filling in the name of the Initial
386
- Developer, Original Code or Contributor in the notice described in
387
- Exhibit A shall not of themselves be deemed to be modifications of
388
- this License.)
389
- </pre>
390
- </li>
391
- <li>DISCLAIMER OF WARRANTY.
392
-
393
- <pre>
394
- COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN &quot;AS IS&quot; BASIS,
395
- WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
396
- WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
397
- DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
398
- THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
399
- IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
400
- YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
401
- COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
402
- OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
403
- ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
404
- </pre>
405
- </li>
406
- <li>TERMINATION.
407
-
408
- <pre>
409
- 8.1. This License and the rights granted hereunder will terminate
410
- automatically if You fail to comply with terms herein and fail to cure
411
- such breach within 30 days of becoming aware of the breach. All
412
- sublicenses to the Covered Code which are properly granted shall
413
- survive any termination of this License. Provisions which, by their
414
- nature, must remain in effect beyond the termination of this License
415
- shall survive.
416
-
417
- 8.2. If You initiate litigation by asserting a patent infringement
418
- claim (excluding declatory judgment actions) against Initial Developer
419
- or a Contributor (the Initial Developer or Contributor against whom
420
- You file such action is referred to as &quot;Participant&quot;) alleging that:
421
-
422
- (a) such Participant's Contributor Version directly or indirectly
423
- infringes any patent, then any and all rights granted by such
424
- Participant to You under Sections 2.1 and/or 2.2 of this License
425
- shall, upon 60 days notice from Participant terminate prospectively,
426
- unless if within 60 days after receipt of notice You either: (i)
427
- agree in writing to pay Participant a mutually agreeable reasonable
428
- royalty for Your past and future use of Modifications made by such
429
- Participant, or (ii) withdraw Your litigation claim with respect to
430
- the Contributor Version against such Participant. If within 60 days
431
- of notice, a reasonable royalty and payment arrangement are not
432
- mutually agreed upon in writing by the parties or the litigation claim
433
- is not withdrawn, the rights granted by Participant to You under
434
- Sections 2.1 and/or 2.2 automatically terminate at the expiration of
435
- the 60 day notice period specified above.
436
-
437
- (b) any software, hardware, or device, other than such Participant's
438
- Contributor Version, directly or indirectly infringes any patent, then
439
- any rights granted to You by such Participant under Sections 2.1(b)
440
- and 2.2(b) are revoked effective as of the date You first made, used,
441
- sold, distributed, or had made, Modifications made by that
442
- Participant.
443
-
444
- 8.3. If You assert a patent infringement claim against Participant
445
- alleging that such Participant's Contributor Version directly or
446
- indirectly infringes any patent where such claim is resolved (such as
447
- by license or settlement) prior to the initiation of patent
448
- infringement litigation, then the reasonable value of the licenses
449
- granted by such Participant under Sections 2.1 or 2.2 shall be taken
450
- into account in determining the amount or value of any payment or
451
- license.
452
-
453
- 8.4. In the event of termination under Sections 8.1 or 8.2 above,
454
- all end user license agreements (excluding distributors and resellers)
455
- which have been validly granted by You or any distributor hereunder
456
- prior to termination shall survive termination.
457
- </pre>
458
- </li>
459
- <li>LIMITATION OF LIABILITY.
460
-
461
- <pre>
462
- UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
463
- (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
464
- DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
465
- OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
466
- ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
467
- CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
468
- WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
469
- COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
470
- INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
471
- LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
472
- RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
473
- PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
474
- EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
475
- THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
476
- </pre>
477
- </li>
478
- <li>U.S. GOVERNMENT END USERS.
479
-
480
- <pre>
481
- The Covered Code is a &quot;commercial item,&quot; as that term is defined in
482
- 48 C.F.R. 2.101 (Oct. 1995), consisting of &quot;commercial computer
483
- software&quot; and &quot;commercial computer software documentation,&quot; as such
484
- terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
485
- C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
486
- all U.S. Government End Users acquire Covered Code with only those
487
- rights set forth herein.
488
- </pre>
489
- </li>
490
- <li>MISCELLANEOUS.
491
-
492
- <pre>
493
- This License represents the complete agreement concerning subject
494
- matter hereof. If any provision of this License is held to be
495
- unenforceable, such provision shall be reformed only to the extent
496
- necessary to make it enforceable. This License shall be governed by
497
- California law provisions (except to the extent applicable law, if
498
- any, provides otherwise), excluding its conflict-of-law provisions.
499
- With respect to disputes in which at least one party is a citizen of,
500
- or an entity chartered or registered to do business in the United
501
- States of America, any litigation relating to this License shall be
502
- subject to the jurisdiction of the Federal Courts of the Northern
503
- District of California, with venue lying in Santa Clara County,
504
- California, with the losing party responsible for costs, including
505
- without limitation, court costs and reasonable attorneys' fees and
506
- expenses. The application of the United Nations Convention on
507
- Contracts for the International Sale of Goods is expressly excluded.
508
- Any law or regulation which provides that the language of a contract
509
- shall be construed against the drafter shall not apply to this
510
- License.
511
- </pre>
512
- </li>
513
- <li>RESPONSIBILITY FOR CLAIMS.
514
-
515
- <pre>
516
- As between Initial Developer and the Contributors, each party is
517
- responsible for claims and damages arising, directly or indirectly,
518
- out of its utilization of rights under this License and You agree to
519
- work with Initial Developer and Contributors to distribute such
520
- responsibility on an equitable basis. Nothing herein is intended or
521
- shall be deemed to constitute any admission of liability.
522
- </pre>
523
- </li>
524
- <li>MULTIPLE-LICENSED CODE.
525
-
526
- <pre>
527
- Initial Developer may designate portions of the Covered Code as
528
- &quot;Multiple-Licensed&quot;. &quot;Multiple-Licensed&quot; means that the Initial
529
- Developer permits you to utilize portions of the Covered Code under
530
- Your choice of the NPL or the alternative licenses, if any, specified
531
- by the Initial Developer in the file described in Exhibit A.
532
- </pre>
533
- </li>
534
- </ol>
535
- <p>
536
- EXHIBIT A -Mozilla Public License.
537
- </p>
538
- <pre>
539
- ``The contents of this file are subject to the Mozilla Public License
540
- Version 1.1 (the &quot;License&quot;); you may not use this file except in
541
- compliance with the License. You may obtain a copy of the License at
542
- http://www.mozilla.org/MPL/
543
-
544
- Software distributed under the License is distributed on an &quot;AS IS&quot;
545
- basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
546
- License for the specific language governing rights and limitations
547
- under the License.
548
-
549
- The Original Code is Todd A. Fisher.
550
-
551
- The Initial Developer of the Original Code is Todd A. Fisher.
552
- Portions created by Revolution Health are Copyright (C) 2007
553
- _______________________. All Rights Reserved.
554
-
555
- Contributor(s): Jeff Damick, Adam Bair, Aaron Batalion, and Greg Seidman.
556
-
557
- Alternatively, the contents of this file may be used under the terms
558
- of the LGPL license (the &quot;[LGPL] License&quot;), in which case the
559
- provisions of [LGPL] License are applicable instead of those
560
- above. If you wish to allow use of your version of this file only
561
- under the terms of the [LGPL] License and not to allow others to use
562
- your version of this file under the MPL, indicate your decision by
563
- deleting the provisions above and replace them with the notice and
564
- other provisions required by the [LGPL] License. If you do not delete
565
- the provisions above, a recipient may use your version of this file
566
- under either the MPL or the [LGPL] License.&quot;
567
-
568
- [NOTE: The text of this Exhibit A may differ slightly from the text of
569
- the notices in the Source Code files of the Original Code. You should
570
- use the text of this Exhibit A rather than the text found in the
571
- Original Code Source Code for Your Modifications.]
572
- </pre>
573
-
574
- </div>
575
-
576
-
577
- </div>
578
-
579
-
580
- </div>
581
-
582
-
583
- <!-- if includes -->
584
-
585
- <div id="section">
586
-
587
-
588
-
589
-
590
-
591
-
592
-
593
-
594
- <!-- if method_list -->
595
-
596
-
597
- </div>
598
-
599
-
600
- <div id="validator-badges">
601
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
602
- </div>
603
-
604
- </body>
605
- </html>