nitro 0.8.0 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (198) hide show
  1. data/AUTHORS +3 -4
  2. data/ChangeLog +418 -0
  3. data/LICENSE +1 -1
  4. data/README +157 -89
  5. data/RELEASES +50 -0
  6. data/Rakefile +5 -7
  7. data/benchmark/nitro/bench.rb +5 -0
  8. data/benchmark/nitro/simple-webrick-n-200.txt +44 -0
  9. data/benchmark/nitro/static-webrick-n-200.txt +43 -0
  10. data/benchmark/nitro/tiny-lhttpd-n-200-c-5.txt +43 -0
  11. data/benchmark/nitro/tiny-webrick-n-200-c-5.txt +44 -0
  12. data/benchmark/nitro/tiny-webrick-n-200.txt +44 -0
  13. data/benchmark/nitro/tiny2-webrick-n-200.txt +44 -0
  14. data/{lib/nitro/server/cluster.rb → bin/cluster} +26 -30
  15. data/bin/proto/README +2 -2
  16. data/bin/proto/{apache.conf → conf/apache.conf} +0 -0
  17. data/bin/proto/conf/app.conf.rb +22 -0
  18. data/bin/proto/conf/lhttpd.conf +236 -0
  19. data/bin/proto/ctl +4 -0
  20. data/bin/proto/lib/README +5 -0
  21. data/bin/proto/log/README +3 -0
  22. data/bin/proto/root/fcgi.rb +6 -0
  23. data/bin/proto/root/index.xhtml +65 -7
  24. data/bin/proto/root/m/nitro.png +0 -0
  25. data/examples/blog/README +7 -5
  26. data/examples/blog/{apache.conf → conf/apache.conf} +0 -0
  27. data/examples/blog/conf/app.conf.rb +56 -0
  28. data/examples/blog/conf/lhttpd.conf +236 -0
  29. data/examples/blog/ctl +4 -0
  30. data/examples/blog/lib/blog.rb +11 -136
  31. data/examples/blog/lib/blog/controller.rb +99 -0
  32. data/examples/blog/lib/blog/model.rb +39 -0
  33. data/examples/blog/log/README +3 -0
  34. data/examples/blog/root/comments.xhtml +2 -2
  35. data/examples/blog/root/fcgi.rb +6 -0
  36. data/examples/blog/root/index.xhtml +4 -5
  37. data/examples/blog/root/login.xhtml +2 -2
  38. data/examples/blog/root/style.xsl +9 -9
  39. data/examples/blog/root/view_entry.xhtml +2 -2
  40. data/examples/flash/conf/app.conf.rb +23 -0
  41. data/examples/flash/ctl +4 -0
  42. data/examples/flash/log/README +3 -0
  43. data/examples/flash/root/index.xhtml +0 -9
  44. data/examples/flash/root/show_inline_text.xhtml +10 -5
  45. data/examples/no_xsl_blog/README +12 -0
  46. data/examples/no_xsl_blog/conf/apache.conf +0 -0
  47. data/examples/no_xsl_blog/conf/app.conf.rb +57 -0
  48. data/examples/no_xsl_blog/conf/lhttpd.conf +236 -0
  49. data/examples/no_xsl_blog/ctl +4 -0
  50. data/examples/no_xsl_blog/lib/blog.rb +20 -0
  51. data/examples/no_xsl_blog/lib/blog/controller.rb +102 -0
  52. data/examples/no_xsl_blog/lib/blog/model.rb +39 -0
  53. data/examples/no_xsl_blog/lib/blog/template.rb +134 -0
  54. data/examples/no_xsl_blog/log/README +3 -0
  55. data/examples/no_xsl_blog/root/comments.xhtml +41 -0
  56. data/examples/no_xsl_blog/root/entry_form.xhtml +22 -0
  57. data/examples/no_xsl_blog/root/fcgi.rb +6 -0
  58. data/examples/no_xsl_blog/root/index.xhtml +39 -0
  59. data/examples/no_xsl_blog/root/login.xhtml +21 -0
  60. data/examples/no_xsl_blog/root/m/bubbles.gif +0 -0
  61. data/examples/no_xsl_blog/root/m/comments_curve.gif +0 -0
  62. data/examples/no_xsl_blog/root/m/down.gif +0 -0
  63. data/examples/no_xsl_blog/root/m/footer_bg.gif +0 -0
  64. data/examples/no_xsl_blog/root/m/garrow.gif +0 -0
  65. data/examples/no_xsl_blog/root/m/gbull.gif +0 -0
  66. data/examples/no_xsl_blog/root/m/grbull.gif +0 -0
  67. data/examples/no_xsl_blog/root/m/h1_bg.gif +0 -0
  68. data/examples/no_xsl_blog/root/m/header_bg.gif +0 -0
  69. data/examples/no_xsl_blog/root/m/nitro.gif +0 -0
  70. data/examples/no_xsl_blog/root/m/obull.gif +0 -0
  71. data/examples/no_xsl_blog/root/m/page_bg.gif +0 -0
  72. data/examples/no_xsl_blog/root/m/rss.gif +0 -0
  73. data/examples/no_xsl_blog/root/m/side_title_bg.gif +0 -0
  74. data/examples/no_xsl_blog/root/m/sidebar_bg.gif +0 -0
  75. data/examples/no_xsl_blog/root/recent_posts.xhtml +14 -0
  76. data/examples/no_xsl_blog/root/style.css +301 -0
  77. data/examples/no_xsl_blog/root/view_entry.xhtml +25 -0
  78. data/examples/no_xsl_blog/root/view_entry.xml +12 -0
  79. data/examples/og/run.rb +2 -2
  80. data/examples/tiny/README +2 -2
  81. data/examples/tiny/conf/apache.conf +5 -0
  82. data/examples/tiny/conf/app.conf.rb +21 -0
  83. data/examples/tiny/conf/lhttpd.conf +236 -0
  84. data/examples/tiny/ctl +4 -0
  85. data/examples/tiny/log/README +3 -0
  86. data/examples/tiny/root/fcgi.rb +6 -0
  87. data/examples/tiny/root/index.xhtml +7 -4
  88. data/examples/tiny/root/nitro.png +0 -0
  89. data/lib/glue.rb +13 -9
  90. data/lib/glue/array.rb +1 -1
  91. data/lib/glue/cache.rb +1 -1
  92. data/lib/glue/flexob.rb +12 -0
  93. data/lib/glue/hash.rb +1 -1
  94. data/lib/glue/inflector.rb +2 -2
  95. data/lib/glue/logger.rb +4 -8
  96. data/lib/glue/misc.rb +14 -0
  97. data/lib/glue/number.rb +1 -1
  98. data/lib/glue/object.rb +26 -0
  99. data/lib/glue/pool.rb +1 -1
  100. data/lib/glue/property.rb +84 -91
  101. data/lib/glue/string.rb +1 -1
  102. data/lib/glue/time.rb +1 -1
  103. data/lib/glue/validation.rb +1 -1
  104. data/lib/nitro.rb +18 -6
  105. data/lib/nitro/adaptors/cgi.rb +291 -0
  106. data/lib/nitro/adaptors/fastcgi.rb +42 -0
  107. data/lib/nitro/adaptors/runner.rb +123 -0
  108. data/lib/nitro/adaptors/webrick.rb +110 -0
  109. data/lib/nitro/buffering.rb +43 -0
  110. data/lib/nitro/builders/form.rb +1 -1
  111. data/lib/nitro/builders/rss.rb +1 -1
  112. data/{bin → lib/nitro}/cluster.rb +26 -30
  113. data/lib/nitro/context.rb +82 -0
  114. data/lib/nitro/controller.rb +50 -0
  115. data/lib/nitro/cookie.rb +46 -0
  116. data/lib/nitro/dispatcher.rb +105 -0
  117. data/lib/nitro/filters.rb +9 -10
  118. data/lib/nitro/localization.rb +42 -0
  119. data/lib/nitro/mail.rb +11 -14
  120. data/lib/nitro/render.rb +275 -0
  121. data/lib/nitro/request.rb +128 -0
  122. data/lib/nitro/response.rb +38 -0
  123. data/lib/nitro/scaffold.rb +11 -11
  124. data/lib/nitro/session.rb +84 -0
  125. data/lib/nitro/{server/shaders.rb → shaders.rb} +56 -36
  126. data/lib/nitro/ui/pager.rb +23 -26
  127. data/lib/nitro/{sitemap.rb → ui/sitemap.rb} +4 -12
  128. data/lib/nitro/uri.rb +1 -1
  129. data/lib/nitro/version.rb +10 -8
  130. data/lib/og.rb +66 -65
  131. data/lib/og/backend.rb +1 -1
  132. data/lib/og/backends/mysql.rb +48 -52
  133. data/lib/og/backends/psql.rb +34 -37
  134. data/lib/og/connection.rb +15 -15
  135. data/lib/og/enchant.rb +16 -9
  136. data/lib/og/meta.rb +127 -54
  137. data/lib/og/mock.rb +18 -18
  138. data/lib/og/version.rb +6 -4
  139. data/lib/parts/content.rb +4 -8
  140. data/test/glue/tc_logger.rb +3 -0
  141. data/test/glue/tc_property.rb +19 -3
  142. data/test/nitro/adaptors/tc_cgi.rb +63 -0
  143. data/test/nitro/adaptors/tc_webrick.rb +15 -0
  144. data/test/nitro/builders/tc_xml.rb +2 -2
  145. data/test/nitro/tc_context.rb +13 -0
  146. data/test/nitro/tc_controller.rb +47 -0
  147. data/test/nitro/tc_dispatcher.rb +64 -0
  148. data/test/nitro/tc_session.rb +20 -0
  149. data/test/nitro/{tc_sitemap.rb → ui/tc_sitemap.rb} +1 -1
  150. data/test/root/blog/list.xhtml +6 -0
  151. data/test/tc_og.rb +41 -4
  152. metadata +115 -59
  153. data/bin/proto/app.rb +0 -20
  154. data/bin/proto/config.rb +0 -77
  155. data/examples/blog/app.rb +0 -21
  156. data/examples/blog/config.rb +0 -95
  157. data/examples/blog/env.rb +0 -22
  158. data/examples/flash/README +0 -34
  159. data/examples/flash/app.rb +0 -20
  160. data/examples/flash/config.rb +0 -38
  161. data/examples/flash/lib/flash.rb +0 -40
  162. data/examples/flash/tmp.swf +0 -0
  163. data/examples/tiny/app.rb +0 -19
  164. data/examples/tiny/config.rb +0 -29
  165. data/examples/tiny/root/nitro-small.png +0 -0
  166. data/lib/nitro/application.rb +0 -217
  167. data/lib/nitro/config.rb +0 -128
  168. data/lib/nitro/events.rb +0 -122
  169. data/lib/nitro/html.rb +0 -151
  170. data/lib/nitro/http.rb +0 -102
  171. data/lib/nitro/l10n.rb +0 -30
  172. data/lib/nitro/server.rb +0 -59
  173. data/lib/nitro/server/appserver.rb +0 -67
  174. data/lib/nitro/server/cookie.rb +0 -87
  175. data/lib/nitro/server/dispatcher.rb +0 -62
  176. data/lib/nitro/server/filters.rb +0 -75
  177. data/lib/nitro/server/filters/autologin.rb +0 -51
  178. data/lib/nitro/server/fragment.rb +0 -70
  179. data/lib/nitro/server/handlers.rb +0 -127
  180. data/lib/nitro/server/render.rb +0 -426
  181. data/lib/nitro/server/request.rb +0 -658
  182. data/lib/nitro/server/requestpart.rb +0 -54
  183. data/lib/nitro/server/script.rb +0 -387
  184. data/lib/nitro/server/server.rb +0 -57
  185. data/lib/nitro/server/session.rb +0 -220
  186. data/lib/nitro/server/user.rb +0 -46
  187. data/lib/nitro/server/webrick.rb +0 -180
  188. data/lib/nitro/service.rb +0 -26
  189. data/lib/xsl/ui.xsl +0 -51
  190. data/lib/xsl/xforms.xsl +0 -28
  191. data/test/nitro/server/tc_cookie.rb +0 -34
  192. data/test/nitro/server/tc_filters.rb +0 -38
  193. data/test/nitro/server/tc_request.rb +0 -70
  194. data/test/nitro/server/tc_requestpart.rb +0 -28
  195. data/test/nitro/server/tc_session.rb +0 -34
  196. data/test/nitro/tc_events.rb +0 -44
  197. data/test/nitro/tc_html.rb +0 -79
  198. data/test/nitro/tc_http.rb +0 -18
data/AUTHORS CHANGED
@@ -6,6 +6,9 @@ MAIN DEVELOPER:
6
6
 
7
7
  IDEAS, ADDITIONAL CODING, SUPPORT:
8
8
 
9
+ * Michael Neumann <mneumann@ntecs.de>
10
+ Design, additional coding and bug reports.
11
+
9
12
  * Anastasios Koutoumanos <ak@navel.gr>
10
13
  Design, additional coding.
11
14
 
@@ -18,12 +21,8 @@ IDEAS, ADDITIONAL CODING, SUPPORT:
18
21
  * Thomas Quas <tquas@yahoo.com>
19
22
  Ideas, bug reports, unit tests.
20
23
 
21
- * Michael Neumann <mneumann@ntecs.de>
22
- Ideas and bug reports.
23
-
24
24
  * Kostas Nasis <kostas@nasis.com>
25
25
  Ideas and bug reports.
26
26
 
27
27
  * Elias Karakoulakis <ekarak@navel.gr>
28
28
  Additional design.
29
-
data/ChangeLog CHANGED
@@ -1,6 +1,424 @@
1
1
 
2
+ 01-02-2005 George Moschovitis <gm@navel.gr>
3
+
4
+ * small fixes to make tests pass again.
5
+
6
+ * lib/nitro/adaptors/webrick.rb: update headers with req.meta_vars.
7
+
8
+ * lib/nitro/request.rb (#host): better calculation,
9
+ made compatible with IE/windows.
10
+
11
+ * examples/no_xsl_blog/lib/blog/template.rb: fixes.
12
+
13
+ * examples/blog/root/style.xsl: fixes.
14
+
15
+ * README: updated.
16
+
17
+ * lib/nitro/controller.rb (#method_missing): :partial reload hack fix.
18
+
19
+ 31-01-2005 George Moschovitis <gm@navel.gr>
20
+
21
+ * examples/no_xsl_blog/lib/blog/template.rb: fixed rest links.
22
+
23
+ * Yeah, the no_xsl_blog example runs under windows.
24
+
25
+ * lib/nitro/adaptors/fastcgi.rb: some changes, now POST works.
26
+
27
+ * lib/nitro/adaptors/cgi.rb (#parse_params): introduced from cgi.rb,
28
+ (#parse_cookies): get context, no return.
29
+
30
+ * lib/nitro/request.rb: env_table alias, for compatibility with
31
+ cgi.rb.
32
+
33
+ * Fixed lhttpd.conf to all examples and proto.
34
+
35
+ * Fixed many inconsistencies in the README files.
36
+
37
+ * lib/nitro/adaptors/runner.rb: log_to_file option,
38
+ use lighttpd as name to be more compatible.
39
+
40
+ 30-01-2005 George Moschovitis <gm@navel.gr>
41
+
42
+ * lib/nitro/adaptors/runner.rb: fixed bug with fcgi.
43
+
44
+ * lib/nitro/adaptors/webrick.rb: upcase headers, fixes bug.
45
+
46
+ * README: fixed bugs and obsolete documentation.
47
+
48
+ * lib/glue/object.rb: remove class support.
49
+
50
+ * lib/nitro/controller.rb: keep classdef_file with inherited. [mneumann]
51
+
52
+ * lib/og/*: cleaned up by removing Og::*.
53
+
54
+ * lib/og/meta.rb (MetaUtils#resolve_class): implemented.
55
+
56
+ * lib/nitro/events.rb: deprecated, rails-style filter achieve the same effect
57
+ more elegantly and more optimized.
58
+
59
+ * lib/og/backends/mysql.rb (#deserialize_all): return [] if no rows. [mneumann]
60
+
61
+ * lib/og/backends/psql.rb (#deserialize_all): return [] if no rows. [mneumann]
62
+
63
+ * lib/og/connection.rb: use meta[:has] instead of og_descendants.
64
+
65
+ * test/tc_og.rb: added more tests.
66
+
67
+ * lib/og/meta.rb (#belongs_to): add meta data [mneumann],
68
+ (#has_one): add meta data - removed descndants [mneumann],
69
+ (#has_many): add meta data - removed descendants [mneumann],
70
+ (#many_to_many): add medata [mneumann],
71
+ (#refers_to): add metadata, also ads :has metadata [mneuamann].
72
+
73
+ * lib/og/enchant.rb: added Class.get alias. [mneumann]
74
+
75
+ 28-01-2005 George Moschovitis <gm@navel.gr>
76
+
77
+ * lib/nitro/localization.rb: renamed from l10n.rb,
78
+ (Localization): introduced.
79
+
80
+ * etc: removed.
81
+
82
+ * RELEASES.og: updated.
83
+
84
+ * RELEASES: updated.
85
+
86
+ * README.og: updated.
87
+
88
+ * lib/nitro/controller.rb (#method_missing): more flexible.
89
+
90
+ * lib/nitro/render.rb (#compile_action): hack fixed non-action bug.
91
+
92
+ * examples/no_xsl_blog/*: renamed from plainblog, converted,
93
+ converted template.
94
+
95
+ * lib/nitro/adaptors/runner.rb: implemented,
96
+ Runner is used in all ctls.
97
+
98
+ * lib/xsl/xforms.xsl: obsolete, removed.
99
+
100
+ * lib/xsl/ui.xsl: obsolete, removed.
101
+
102
+ * examples/flash/*: updated.
103
+
104
+ * bin/proto: new and improved index page for the prototype
105
+ application,
106
+ added gfx and minimal help.
107
+
108
+ * examples/tiny/*: use ctl.
109
+
110
+ * lib/og/*: cleaned up some sourcefiles.
111
+
112
+ * install.rb: introduced.
113
+
114
+ * lib/og.rb (Og): cleaned up, use cattr_accessor for setup.
115
+
116
+ * lib/og/backends/mysql.rb (#write_prop): fixed boolean.
117
+
118
+ 28-01-2005 Michael Neumann <mneumann@ntecs.de>
119
+
120
+ * lib/og/backends/psql.rb (#write_prop): fixed boolean.
121
+
122
+ 27-01-2005 George Moschovitis <gm@navel.gr>
123
+
124
+ * README: updated and fixed many bugs,
125
+ updated features.
126
+
127
+ * examples/blog/ctl: introduced,
128
+ runs the WEBrick server,
129
+ runs the Lighttpd server.
130
+
131
+ * lib/og/backends/psql.rb (#read_prop): fixed boolean read [mneumann].
132
+ fixed boolean type (tinyint).
133
+
134
+ * lib/og/backends/psql.rb (#read_prop): fixed boolean read [mneumann].
135
+
136
+ * lib/nitro/dispatcher (#dispatch): fixed bug.
137
+
138
+ * some changes to make the tests pass again.
139
+
140
+ * test/nitro/server: deprecated.
141
+
142
+ * lib/nitro/ui/sitemap.rb: moved here!
143
+
144
+ * lib/nitro/server.rb: deprecated.
145
+
146
+ * lib/nitro/service.rb: deprecated.
147
+
148
+ * lib/nitro/config.rb: deprecated.
149
+
150
+ * lib/nitro/server/*: deprecated.
151
+
152
+ 26-01-2005 George Moschovitis <gm@navel.gr>
153
+
154
+ * lib/nitro/scaffold.rb: updated.
155
+
156
+ * lib/nitro/dispatcher.rb (#dispatch): return content_type.
157
+
158
+ * lib/nitro/context.rb (#fill): added.
159
+
160
+ * lib/nitro/ui/pager.rb: updated for lates code.
161
+
162
+ * lib/nitro/render.rb: request alias for context,
163
+ (#redirect): fixed.
164
+ (#render): raise when no controller found.
165
+ (#render): fixed template extension selection,
166
+ (#compile_action): dont set content_type.
167
+
168
+ * lib/nitro/controller.rb: include Scaffolding, Filtering.
169
+
170
+ * examples/blog/*: many changes to support new code,
171
+ yeah, it kinda works!
172
+ index session with symbols.
173
+
174
+ * examples/blog/lib/*: changed sirectory structure.
175
+
176
+ 25-01-2005 George Moschovitis <gm@navel.gr>
177
+
178
+ * examples/blog/*: conversion to new code.
179
+
180
+ * lib/nitro/render.rb: call Rendering.reset.
181
+
182
+ * lib/glue/misc.rb (#delete_class_hierarchy): introduced.
183
+
184
+ * lib/nitro/context.rb: lazy session lookup.
185
+
186
+ * lib/nitro/adaptors/fastcgi.rb: no session lookup.
187
+
188
+ * lib/nitro/adaptors/webrick.rb (#handle): no session lookup.
189
+
190
+ * lib/nitro/shaders.rb (RubyShader#process): <include>-><render>
191
+
192
+ * lib/nitro/dispatcher.rb (#dispatch): better handle tha base calc.
193
+
194
+ * lib/nitro/buffering.rb: copied buffering code here.
195
+
196
+ * lib/glue/flexob.rb: introduced.
197
+
198
+ 24-01-2005 George Moschovitis <gm@navel.gr>
199
+
200
+ * benchmark/nitro: added first benchmarks.
201
+
202
+ * lib/nitro/adaptors/webrick.rb: works with new cookie code.
203
+
204
+ * yeah, sessions and cookies work with fastcgi.
205
+
206
+ * lib/nitro/cookie.rb: implemented.
207
+
208
+ * lib/nitro/session.rb: converted to new cookie code.
209
+
210
+ * lib/nitro/html.rb: deprecated.
211
+
212
+ * lib/nitro/http.rb: deprecated.
213
+
214
+ * lib/nitro/user.rb: deprecated.
215
+
216
+ * test/nitro/adaptors/tc_cgi.rb: introduced.
217
+
218
+ * lib/nitro/adaptors/cgi.rb: introduced.
219
+ (CgiUtils): introduced.
220
+ (CgiUtils#parse_query_string): implemented.
221
+ (CgiUtils#parse_cookies): implemented.
222
+ (CgiUtils#response_headers): implemented.
223
+
224
+ * examples/tiny: cleanup, new dir structure.
225
+
226
+ * examples/tiny/conf/nitro.conf.rb: introduced.
227
+
228
+ * examples/tiny/conf/lhttpd.conf: introduced,
229
+ improved redirect scheme, keeps request_uri correct!
230
+
231
+ * examples/tiny/conf: introduced.
232
+
233
+ * lib/glue/misc.rb (#silence_warnings): introduced.
234
+
235
+ * create fastcgi redirect for lighthttpd.
236
+
237
+ * lib/nitro/adaptors/fastcgi.rb: introduced,
238
+ Wrapper Class like the webrick adaptor,
239
+ parse query string.
240
+
241
+ * lib/og/enchant.rb (#each): added iterator support [mneumann],
242
+ include Enumeration [mneumann]
243
+
244
+ 23-01-2005 George Moschovitis <gm@navel.gr>
245
+
246
+ * examples/tiny: yeah, sessions work again.
247
+
248
+ * lib/nitro/render.rb (#render): allow for nested calls.
249
+
250
+ * lib/nitro/context.rb: store conf.
251
+ first cut of session code.
252
+
253
+ * lib/nitro/adaptor/webrick.rb: better handling of conf,
254
+ extend WEBrick::HTTPResponse to make compatible with Nitro.
255
+
256
+ * lib/nitro/controller.rb (#method_missing): moved here.
257
+
258
+ * test/nitro/tc_session.rb: introduced.
259
+
260
+ * lib/nitro/session.rb: introduced.
261
+ (#create_id): implemented.
262
+ (#lookup): implemented.
263
+ (Session): extend from Hash.
264
+
265
+ 22-01-2005 George Moschovitis <gm@navel.gr>
266
+
267
+ * lib/nitro/adaptors/webrick.rb: pass query.
268
+
269
+ * lib/nitro.rb: added default requires.
270
+
271
+ * examples/tiny/app2.rb: testbed for new Nitro.
272
+
273
+ * lib/nitro/render.rb (RenderExit): defined again,
274
+ (#method_missing): ultracool remove_method trick to support script
275
+ reloading.
276
+
277
+ * lib/nitro/adaptors/webrick.rb (#start): get and store conf.
278
+
279
+ * lib/nitro/request.rb (#referer): added.
280
+
281
+ * lib/nitro/context.rb: requires.
282
+
283
+ 21-01-2005 George Moschovitis <gm@navel.gr>
284
+
285
+ * lib/nitro/dispatcher.rb: keeps root dir.
286
+
287
+ * stopped using N prefix all around.
288
+
289
+ * lib/nitro/render.rb: fixed method_missing.
290
+ correct shader mattr.
291
+
292
+ * lib/nitro/response.rb (#content_type=): implemented.
293
+
294
+ * test/nitro/tc_controller.rb: introduced.
295
+
296
+ 20-01-2005 George Moschovitis <gm@navel.gr>
297
+
298
+ * lib/nitro/render.rb (OutputBuffering): moved output
299
+ buffering methods to a separate module.
300
+
301
+ * lib/nitro/context.rb: includes Request/Response.
302
+
303
+ * lib/nitro/request.rb: converted to module.
304
+
305
+ * lib/nitro/response.rb: converted to module.
306
+
307
+ * lib/nitro/adaptors/webrick.rb (#handle): streamlined
308
+ using Context.
309
+
310
+ * test/nitro/tc_dispatcher.rb: introduced.
311
+
312
+ * lib/nitro/mail.rb: use mattr.
313
+
314
+ * lib/nitro/controller.rb: introduced.
315
+
316
+ * lib/nitro/dispatcher.rb (resolve_path): changed return order,
317
+ encode api in the action,
318
+ (#dispatch): renamed from resolve_path,
319
+ only returns cklass and action.
320
+ (#add_api): support for multi-api dispatchers.
321
+
322
+ 19-01-2005 George Moschovitis <gm@navel.gr>
323
+
324
+ * lib/nitro/render.rb: no params,
325
+ (Rendering): added mattrs,
326
+
327
+ * lib/nitro/shaders.rb: moved outside.
328
+
329
+ 18-01-2005 George Moschovitis <gm@navel.gr>
330
+
331
+ * lib/nitro/render.rb: introduced new version.
332
+
333
+ * lib/nitro/request.rb (#method): implemented,
334
+ (#remote_ip): implemented.
335
+ implemented more methods.
336
+
337
+ 17-01-2005 George Moschovitis <gm@navel.gr>
338
+
339
+ * lib/glue.rb: define module N.
340
+
341
+ * lib/nitro/filters: introduced.
342
+
343
+ * lib/nitro/server/dispatcher.rb: dont use $og.
344
+
345
+ * lib/nitro/adaptors/webrick: new implementation.
346
+ (WebrickAdaptor): introduced.
347
+ (Webrick#start): introtuced.
348
+
349
+ * lib/nitro/server/filters: deprecated.
350
+
351
+ * lib/nitro/server/filters.rb: deprecated.
352
+
353
+ * cleaned up many files.
354
+
355
+ * lib/nitro/server/handlers.rb: deprecated.
356
+
357
+ * lib/nitro/server/fragment.rb: deprecated.
358
+
359
+ * lib/nitro/server/script.rb: deprecated.
360
+
361
+ * updated svn repository.
362
+
363
+ 16-01-2005 George Moschovitis <gm@navel.gr>
364
+
365
+ * lib/nitro/adaptors: introduced.
366
+
367
+ * examples/plainblog/README: updated docs.
368
+
369
+ * examples/plainblog/lib/template.rb: implemented.
370
+ Yeah, the plainblog example works without xslt.
371
+
372
+ * examples/plainblog: introduced,
373
+ converted all pages to the simple templating system.
374
+
375
+ 15-01-2005 George Moschovitis <gm@navel.gr>
376
+
377
+ * cleaned up many files.
378
+
379
+ * lib/nitro/application.rb: cleanup.
380
+
381
+ 14-01-2005 George Moschovitis <gm@navel.gr>
382
+
383
+ * test/tc_og.rb: added more tests.
384
+
385
+ * lib/og/version: no more a global variable.
386
+
387
+ * test/glue/tc_property.rb: test for macro params.
388
+
389
+ * lib/glue/property.rb (PropertyUtils#resolve_prop_params):
390
+ factors out common code between the propXXX methods,
391
+ extra checks for the params,
392
+ removed dupplicate code from propXXX methods [mneumann].
393
+
394
+ * lib/og/enchant.rb (#enchant): #create captures the given block
395
+ and propagates to the objects constructor.
396
+
397
+ * AUTHORS: updated.
398
+
399
+ * lib/og/meta.rb (MetaLanguage#refers_to): implemented [mneumann].
400
+ (#has_one): creates delete_xxx method.
401
+ (#has_many): creates delete_all_xxx method.
402
+ removed del_xxx alias [mneumann].
403
+
404
+ * examples/og/run.rb: use delete_xxx in many_to_many [mneumann].
405
+
406
+ 14-01-2005 Michael Neumann <mneumann@ntecs.de>
407
+
408
+ * lib/glue/property.rb (#prop): changed expansion to allow for
409
+ macro parameters.
410
+
411
+ 13-01-2005 George Moschovitis <gm@navel.gr>
412
+
413
+ * lib/og.rb: Og.include_meta_language by default is FALSE [mneumann].
414
+
415
+ * lib/glue/property.rb (PropertyUtils#include_meta_mixins): introduced.
416
+ (#prop): include Og::MetaLanguage.
417
+
2
418
  12-01-2005 George Moschovitis <gm@navel.gr>
3
419
 
420
+ * --- VERSION 0.8.0 ---
421
+
4
422
  * RELEASES.og: updated.
5
423
 
6
424
  * RELEASES: updated.
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The BSD License
2
2
 
3
- Copyright (c) 2004, Navel Ltd. (http://www.navel.gr)
3
+ Copyright (c) 2004-2005, Navel Ltd. (http://www.navel.gr)
4
4
  All rights reserved.
5
5
 
6
6
  Redistribution and use in source and binary forms, with or without