nitro 0.20.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. data/CHANGELOG +752 -543
  2. data/INSTALL +38 -38
  3. data/README +264 -225
  4. data/Rakefile +48 -49
  5. data/bin/nitro +3 -3
  6. data/bin/nitrogen +6 -6
  7. data/doc/AUTHORS +10 -10
  8. data/doc/CHANGELOG.1 +1939 -1939
  9. data/doc/CHANGELOG.2 +954 -954
  10. data/doc/LICENSE +3 -3
  11. data/doc/MIGRATION +28 -0
  12. data/doc/RELEASES +814 -643
  13. data/doc/config.txt +5 -5
  14. data/install.rb +7 -17
  15. data/lib/nitro.rb +38 -9
  16. data/lib/nitro/adapter/cgi.rb +311 -312
  17. data/lib/nitro/adapter/fastcgi.rb +18 -25
  18. data/lib/nitro/adapter/webrick.rb +128 -137
  19. data/lib/nitro/adapter/wee.rb +51 -0
  20. data/lib/nitro/caching.rb +20 -20
  21. data/lib/nitro/caching/actions.rb +43 -43
  22. data/lib/nitro/caching/fragments.rb +46 -46
  23. data/lib/nitro/caching/invalidation.rb +11 -11
  24. data/lib/nitro/caching/output.rb +65 -65
  25. data/lib/nitro/caching/stores.rb +67 -67
  26. data/lib/nitro/compiler.rb +262 -0
  27. data/lib/nitro/compiler/elements.rb +0 -0
  28. data/lib/nitro/compiler/errors.rb +65 -0
  29. data/lib/nitro/compiler/localization.rb +25 -0
  30. data/lib/nitro/compiler/markup.rb +19 -0
  31. data/lib/nitro/compiler/shaders.rb +206 -0
  32. data/lib/nitro/compiler/squeeze.rb +20 -0
  33. data/lib/nitro/compiler/xslt.rb +61 -0
  34. data/lib/nitro/context.rb +87 -88
  35. data/lib/nitro/controller.rb +151 -158
  36. data/lib/nitro/cookie.rb +34 -34
  37. data/lib/nitro/dispatcher.rb +195 -186
  38. data/lib/nitro/element.rb +132 -126
  39. data/lib/nitro/element/java_script.rb +6 -6
  40. data/lib/nitro/flash.rb +66 -66
  41. data/lib/nitro/mail.rb +192 -192
  42. data/lib/nitro/mixin/buffer.rb +66 -0
  43. data/lib/nitro/mixin/debug.rb +16 -16
  44. data/lib/nitro/mixin/form.rb +88 -0
  45. data/lib/nitro/mixin/helper.rb +2 -2
  46. data/lib/nitro/mixin/javascript.rb +108 -108
  47. data/lib/nitro/mixin/markup.rb +144 -0
  48. data/lib/nitro/mixin/pager.rb +202 -202
  49. data/lib/nitro/mixin/rss.rb +67 -0
  50. data/lib/nitro/mixin/table.rb +63 -0
  51. data/lib/nitro/mixin/xhtml.rb +75 -0
  52. data/lib/nitro/mixin/xml.rb +124 -0
  53. data/lib/nitro/render.rb +183 -359
  54. data/lib/nitro/request.rb +140 -140
  55. data/lib/nitro/response.rb +27 -27
  56. data/lib/nitro/routing.rb +21 -21
  57. data/lib/nitro/scaffold.rb +124 -118
  58. data/lib/nitro/server.rb +117 -80
  59. data/lib/nitro/server/runner.rb +341 -0
  60. data/lib/nitro/service.rb +12 -12
  61. data/lib/nitro/service/xmlrpc.rb +22 -22
  62. data/lib/nitro/session.rb +122 -120
  63. data/lib/nitro/session/drb.rb +9 -9
  64. data/lib/nitro/session/drbserver.rb +34 -34
  65. data/lib/nitro/template.rb +171 -155
  66. data/lib/nitro/testing/assertions.rb +90 -90
  67. data/lib/nitro/testing/context.rb +16 -16
  68. data/lib/nitro/testing/testcase.rb +34 -34
  69. data/proto/conf/lhttpd.conf +9 -9
  70. data/proto/public/error.xhtml +75 -75
  71. data/proto/public/index.xhtml +18 -18
  72. data/proto/public/js/behaviour.js +65 -65
  73. data/proto/public/js/controls.js +1 -1
  74. data/proto/public/js/prototype.js +3 -3
  75. data/proto/public/settings.xhtml +61 -61
  76. data/proto/run.rb +1 -5
  77. data/test/nitro/adapter/raw_post1.bin +0 -0
  78. data/test/nitro/adapter/tc_cgi.rb +57 -57
  79. data/test/nitro/adapter/tc_webrick.rb +4 -4
  80. data/test/nitro/mixin/tc_pager.rb +25 -25
  81. data/test/nitro/mixin/tc_rss.rb +24 -0
  82. data/test/nitro/mixin/tc_table.rb +31 -0
  83. data/test/nitro/mixin/tc_xhtml.rb +13 -0
  84. data/test/nitro/tc_caching.rb +10 -10
  85. data/test/nitro/tc_context.rb +8 -8
  86. data/test/nitro/tc_controller.rb +48 -48
  87. data/test/nitro/tc_cookie.rb +6 -6
  88. data/test/nitro/tc_dispatcher.rb +64 -64
  89. data/test/nitro/tc_element.rb +27 -27
  90. data/test/nitro/tc_flash.rb +31 -31
  91. data/test/nitro/tc_mail.rb +63 -63
  92. data/test/nitro/tc_server.rb +26 -26
  93. data/test/nitro/tc_session.rb +9 -9
  94. data/test/nitro/tc_template.rb +19 -19
  95. data/test/public/blog/list.xhtml +1 -1
  96. metadata +31 -37
  97. data/lib/nitro/buffering.rb +0 -45
  98. data/lib/nitro/builder/form.rb +0 -104
  99. data/lib/nitro/builder/rss.rb +0 -104
  100. data/lib/nitro/builder/table.rb +0 -80
  101. data/lib/nitro/builder/xhtml.rb +0 -132
  102. data/lib/nitro/builder/xml.rb +0 -131
  103. data/lib/nitro/conf.rb +0 -36
  104. data/lib/nitro/environment.rb +0 -21
  105. data/lib/nitro/errors.rb +0 -69
  106. data/lib/nitro/localization.rb +0 -153
  107. data/lib/nitro/markup.rb +0 -147
  108. data/lib/nitro/output.rb +0 -24
  109. data/lib/nitro/runner.rb +0 -348
  110. data/lib/nitro/shaders.rb +0 -206
  111. data/test/nitro/builder/tc_rss.rb +0 -23
  112. data/test/nitro/builder/tc_table.rb +0 -30
  113. data/test/nitro/builder/tc_xhtml.rb +0 -39
  114. data/test/nitro/builder/tc_xml.rb +0 -56
  115. data/test/nitro/tc_localization.rb +0 -49
data/CHANGELOG CHANGED
@@ -1,926 +1,1135 @@
1
+ 25-07-2005 George Moschovitis <gm@navel.gr>
2
+
3
+ * doc/MIGRATION: updated.
4
+
5
+ 24-07-2005 George Moschovitis <gm@navel.gr>
6
+
7
+ * lib/nitro/mixin/rss.rb (#rss): alias.
8
+
9
+ * Rakefile: updated.
10
+
11
+ * lib/nitro.rb (##run): reuse Server.run [ysabel].
12
+
13
+ * lib/nitro/server/runner.rb (##run): removed [ysabel],
14
+ (#initialize): set @access_log [ysabel].
15
+
16
+ 22-07-2005 George Moschovitis <gm@navel.gr>
17
+
18
+ * lib/nitro/adapter/wee.rb: customize the default Controller
19
+ [mneumann].
20
+
21
+ * lib/nitro/compiler.rb (compile_action): greatly improved
22
+ overloading/controller inheritance support.
23
+
24
+ * lib/nitro.rb: added proto_path setting.
25
+
26
+ * lib/nitro/dispatcher.rb (#add_controller): setup a reasonable
27
+ teplate root for controllers based on the mount point.
28
+
29
+ * doc/MIGRATION: updated.
30
+
31
+ * test/*: after the usual small fixes, all tests pass again.
32
+
33
+ * lib/nitro/compiler.rb (#compile_actions): fixes in code
34
+ generation.
35
+
36
+ * lib/nitro/mixin/markup.rb: made helper methods private.
37
+
38
+ * test/nitro/tc_localization: removed.
39
+
40
+ * test/nitro/builder/*: removed.
41
+
42
+ * doc/README: updated.
43
+
44
+ * converted all code to use spaces instead of tab.
45
+
46
+ * ctabs.rb: implemented [mneumann].
47
+
48
+ 22-07-2005 Michael Neumann <mneumann@ntecs.de>
49
+
50
+ * lib/nitro/compiler.rb (#setup_template_transformation): alias.
51
+
52
+ 21-07-2005 George Moschovitis <gm@navel.gr>
53
+
54
+ * lib/nitro/scaffold.rb: update for the new compiler.
55
+
56
+ * lib/nitro/controller.rb: update for the new compiler.
57
+
58
+ * lib/nitro/compiler.rb: converted class methods to instance
59
+ methods,
60
+ (#compile): removed sync.
61
+
62
+ * doc/RELEASES: updated.
63
+
64
+ * doc/MIGRATION: introduced.
65
+
66
+ 20-07-2005 George Moschovitis <gm@navel.gr>
67
+
68
+ * lib/nitro/adapter/wee.rb (Wee::Controller): reimplemented.
69
+
70
+ * lib/nitro/compiler.rb: print the action return value if the
71
+ buffer is empty and the return value is a String.
72
+
73
+ * doc/RELEASES: updated.
74
+
75
+ 19-07-2005 George Moschovitis <gm@navel.gr>
76
+
77
+ * lib/nitro/component/wee.rb: introduced.
78
+
79
+ 19-07-2005 Michael Neumann <mneumann@ntecs.de>
80
+
81
+ * install.rb: fixes.
82
+
83
+ 18-07-2005 George Moschovitis <gm@navel.gr>
84
+
85
+ * lib/nitro/mixin/form.rb: removed compact crap.
86
+
87
+ * lib/nitro/adapter/cgi.rb: updated.
88
+
89
+ * lib/nitro/adapter/fastcgi.rb: converted to latest,
90
+
91
+ * lib/nitro/template.rb: changed xslt interpolation macro
92
+ to #\..\
93
+
94
+ * lib/nitro/mixin/markup.rb: reimplemented.
95
+
96
+ * lib/nitro/compiler/markup.rb: implemented.
97
+
98
+ * lib/nitro/compiler/localization.rb: implemented.
99
+
100
+ * lib/nitro/render.rb (#builder): introduced.
101
+
102
+ * lib/nitro.rb (##run): fixed.
103
+
104
+ * lib/nitro/server/run.rb: copied from runner.
105
+
106
+ * lib/nitro/buffering.rb: removed.
107
+
108
+ * lib/nitro/mixin/buffer.rb: moved here from buffering.
109
+ (#ob_end): return data.
110
+ (#buffer/#capture): implemented.
111
+
112
+ * lib/nitro/render.rb (#build): ultra cool implementation,
113
+ uses instance_eval if arity == 1.
114
+
115
+ 17-07-2005 George Moschovitis <gm@navel.gr>
116
+
117
+ * lib/nitro.rb (#run): reimplemented.
118
+
119
+ * lib/nitro/conf.rb: removed.
120
+
121
+ * yeah the Blog example runs after the changes.
122
+
123
+ * lib/nitro/adapter/webrick.rb: major cleanup, converted
124
+ to new configuration system.
125
+
126
+ * lib/nitro/server.rb: App in Nitro namespace,
127
+ use Runner,
128
+ access_log setting,
129
+ public_root setting,
130
+ (#run): recoded to catch parameters.
131
+
132
+ * lib/nitro/runner.rb (#setup): setup from environment.
133
+ (#setup_xxx): attemt to configure from Ruby and/or YAML files,
134
+ (#load_external_configuration): implemented,
135
+ cleaned up, pass server arround.
136
+
137
+ 16-07-2005 George Moschovitis <gm@navel.gr>
138
+
139
+ * lib/nitro/mixin/rss.rb (RssBuilder): removed,
140
+ return descriptions.
141
+
142
+ * made the mixin/builder system more flexible.
143
+
144
+ * lib/nitro/render.rb: no mixins in OutputBuffer,
145
+ renamed Mixins to Emmiter,
146
+ (#emit): new implementation,
147
+ removed cryptic #o method,
148
+ (#build): shortcut to the programmatic renderer.
149
+
150
+ * lib/nitro/mixin/table.rb (TableBuilder): removed.
151
+
152
+ * lib/nitro/mixin/form.rb (FormBuilder): removed.
153
+
154
+ * lib/nitro/mixin/xhtml.rb: implemented according to the new
155
+ builder,
156
+ (XhtmlString): removed,
157
+ (XhtmlBuilder): removed.
158
+
159
+ 15-07-2005 George Moschovitis <gm@navel.gr>
160
+
161
+ * lib/nitro/mixin/xhtml.rb (#options): new, flexible
162
+ implementation [drak].
163
+
164
+ * lib/nitro/builder: removed, mixins do the same, lets keep
165
+ one name.
166
+
167
+ * lib/nitro/output.rb: removed.
168
+
169
+ * lib/nitro/render.rb: moved OutputBuffer here,
170
+ (#build): introduced,
171
+ improved #build implementation.
172
+
173
+ * lib/nitro/mixin/*: converted all builders to mixins, droped
174
+ the Builder part from the name.
175
+
176
+ * lib/nitro/mixin/form.rb: copied functionality from builder.
177
+
178
+ * lib/nitro/render.rb: removed Rendering,
179
+ (#render_nothing): removed.
180
+
181
+ 14-07-2005 George Moschovitis <gm@navel.gr>
182
+
183
+ * lib/nitro/compiler/squeeze.rb: implemented.
184
+
185
+ * lib/nitro/localization.rb (##transform): implemented.
186
+
187
+ * the blog example runs under the compiler.
188
+
189
+ * lib/nitro/template.rb (#transform): alias.
190
+
191
+ * lib/nitro/compiler.rb (#compile): added,
192
+ (#compile_template): implemented,
193
+ (#transform_template): implemented,
194
+ reload setting.
195
+ IMPORTANT: removed auto redirect on empty buffer,
196
+ better log errors.
197
+ (#setup_template_transform): implemented (COOL).
198
+
199
+ * lib/nitro/template.rb: extension setting.
200
+ root stting, default setting.
201
+
202
+ 13-07-2005 George Moschovitis <gm@navel.gr>
203
+
204
+ * lib/nitro/compiler.rb: introduced.
205
+
1
206
  12-07-2005 George Moschovitis <gm@navel.gr>
2
207
 
3
- * doc/RELEASES: updated.
4
-
5
- * test/nitro/mixin/tc_pager.rb: added.
6
-
7
- * lib/nitro/mixin/pager.rb: copied old code,
8
- added support for in-memory pagination,
9
- small fixes: it WORKS!
10
-
11
- * lib/nitro/uri.rb: moved to glue.
12
-
13
- * lib/nitro/helper/*: moved to mixin/*
14
-
15
- * lib/nitro/builder/atom.rb: removed.
208
+ * fixed :nodoc: bug.
209
+
210
+ * --- VERSION 0.20.0 ---
211
+
212
+ * doc/RELEASES: updated.
213
+
214
+ * test/nitro/mixin/tc_pager.rb: added.
215
+
216
+ * lib/nitro/mixin/pager.rb: copied old code,
217
+ added support for in-memory pagination,
218
+ small fixes: it WORKS!
219
+
220
+ * lib/nitro/uri.rb: moved to glue.
221
+
222
+ * lib/nitro/helper/*: moved to mixin/*
223
+
224
+ * lib/nitro/builder/atom.rb: removed.
16
225
 
17
226
  11-07-2005 George Moschovitis <gm@navel.gr>
18
227
 
19
- * lib/nitro/mixin/pager.rb: introduced,
20
- (Pager): introduced,
21
- (PagerMixin): introduced,
22
- (#paginate): implemented.
23
-
24
- * lib/nitro/mixin: introduced.
25
-
26
- * test/nitro/tc_dispatcher.rb: removed deprecated multiapi
27
- tests.
28
-
29
- * test/*: many changes and fixes to pass again.
30
-
31
- * lib/nitro/adapter/webrick.rb (XhtmlFileAdapter): implemented,
32
- don't return xhtml source [james_b].
33
-
34
- * doc/RELEASES: updated.
228
+ * lib/nitro/mixin/pager.rb: introduced,
229
+ (Pager): introduced,
230
+ (PagerMixin): introduced,
231
+ (#paginate): implemented.
232
+
233
+ * lib/nitro/mixin: introduced.
234
+
235
+ * test/nitro/tc_dispatcher.rb: removed deprecated multiapi
236
+ tests.
237
+
238
+ * test/*: many changes and fixes to pass again.
239
+
240
+ * lib/nitro/adapter/webrick.rb (XhtmlFileAdapter): implemented,
241
+ don't return xhtml source [james_b].
242
+
243
+ * doc/RELEASES: updated.
35
244
 
36
245
  09-07-2005 George Moschovitis <gm@navel.gr>
37
246
 
38
- * doc/RELEASES: updated.
39
-
40
- * lib/nitro/helper/javascript.rb (#live_request): implemented,
41
- get the href from the actual element.
42
- (#autocomplete): implemented.
43
- added effects.js to the default js libraries.
44
- set autocomplete="off" with a behaviour.
45
-
247
+ * doc/RELEASES: updated.
248
+
249
+ * lib/nitro/helper/javascript.rb (#live_request): implemented,
250
+ get the href from the actual element.
251
+ (#autocomplete): implemented.
252
+ added effects.js to the default js libraries.
253
+ set autocomplete="off" with a behaviour.
254
+
46
255
  08-07-2005 George Moschovitis <gm@navel.gr>
47
256
 
48
- * lib/nitro/helper/javascript.rb: introduced.
49
- (#dragable): implemented,
50
- yeah drag and drop works!
51
- (#escape_javascript): added.
52
- (#behaviour): ULTRA COOL added.
257
+ * lib/nitro/helper/javascript.rb: introduced.
258
+ (#dragable): implemented,
259
+ yeah drag and drop works!
260
+ (#escape_javascript): added.
261
+ (#behaviour): ULTRA COOL added.
53
262
 
54
263
  07-07-2005 George Moschovitis <gm@navel.gr>
55
264
 
56
- * proto/public/js/behaviour.js: introduced.
265
+ * proto/public/js/behaviour.js: introduced.
57
266
 
58
- * proto/public/js/controls.js: introduced.
267
+ * proto/public/js/controls.js: introduced.
59
268
 
60
- * proto/public/js/dragdrop.js: upgraded to latest version.
269
+ * proto/public/js/dragdrop.js: upgraded to latest version.
61
270
 
62
- * proto/public/js/effects.js: upgraded to latest version.
271
+ * proto/public/js/effects.js: upgraded to latest version.
63
272
 
64
- * proto/public/js/effects2.js: deprecated.
65
-
66
- * proto/public/js/prototype.js: upgrated to latest version.
67
-
68
- * README: updated.
273
+ * proto/public/js/effects2.js: deprecated.
274
+
275
+ * proto/public/js/prototype.js: upgrated to latest version.
276
+
277
+ * README: updated.
69
278
 
70
279
  06-07-2005 George Moschovitis <gm@navel.gr>
71
280
 
72
- * test/nitro/tc_cookie.rb: added.
73
-
74
- * lib/nitro/cookie.rb: set path = '/' by default, fixes NASTY
75
- session bug [mneumann].
281
+ * test/nitro/tc_cookie.rb: added.
282
+
283
+ * lib/nitro/cookie.rb: set path = '/' by default, fixes NASTY
284
+ session bug [mneumann].
76
285
 
77
286
  04-07-2005 George Moschovitis <gm@navel.gr>
78
287
 
79
- * lib/nitro/builder/rss.rb: small fixes.
80
-
288
+ * lib/nitro/builder/rss.rb: small fixes.
289
+
81
290
  03-07-2005 George Moschovitis <gm@navel.gr>
82
291
 
83
- * lib/nitro/controller.rb (#alias_action): added, experimental.
84
-
85
- * added more const_defined? checks.
292
+ * lib/nitro/controller.rb (#alias_action): added, experimental.
293
+
294
+ * added more const_defined? checks.
86
295
 
87
296
  01-07-2005 George Moschovitis <gm@navel.gr>
88
297
 
89
- * lib/nitro/request.rb (#fetch): implemented as shorthand [drak].
90
-
91
- * lib/nitro/render.rb: added controller_name [mneumann].
298
+ * lib/nitro/request.rb (#fetch): implemented as shorthand [drak].
299
+
300
+ * lib/nitro/render.rb: added controller_name [mneumann].
92
301
 
93
302
  30-06-2005 George Moschovitis <gm@navel.gr>
94
303
 
95
- * test/nitro/tc_server.rb: introduced and implemented.
96
-
97
- * lib/nitro/server.rb: don't use as singleton,
98
- (Mounter): implements really cool CherryPy style publishing!
99
-
100
- * lib/nitro/controller.rb: added default action.
304
+ * test/nitro/tc_server.rb: introduced and implemented.
305
+
306
+ * lib/nitro/server.rb: don't use as singleton,
307
+ (Mounter): implements really cool CherryPy style publishing!
308
+
309
+ * lib/nitro/controller.rb: added default action.
101
310
 
102
311
  29-06-2005 George Moschovitis <gm@navel.gr>
103
312
 
104
- * lib/nitro/dispatcher.rb (#update_routes): fixed.
105
-
106
- * lib/nitro/simple.rb: removed.
107
-
108
- * lib/nitro/part.rb: removed.
313
+ * lib/nitro/dispatcher.rb (#update_routes): fixed.
314
+
315
+ * lib/nitro/simple.rb: removed.
316
+
317
+ * lib/nitro/part.rb: removed.
109
318
 
110
319
  28-06-2005 George Moschovitis <gm@navel.gr>
111
-
112
- * lib/nitro.rb (##start): implemented.
113
-
114
- * yeah, the new hello world example passes.
115
-
116
- * lib/nitro/controller.rb: moved SimpleController here,
117
- removed the dangerous (and no longer needed) #inherited override,
118
- SimpleController in Nitro namespace,
119
- (ControllerMixin): started implementing,
120
- renamed to Publishable.
121
-
122
- * started using the unless const_defined? trick.
123
-
124
- * lib/nitro/dispatcher.rb: simplified (no context passed),
125
- (#dispatch): more natural mount points, no :root.
126
- publish alias for add_controller.
320
+
321
+ * lib/nitro.rb (##start): implemented.
322
+
323
+ * yeah, the new hello world example passes.
324
+
325
+ * lib/nitro/controller.rb: moved SimpleController here,
326
+ removed the dangerous (and no longer needed) #inherited override,
327
+ SimpleController in Nitro namespace,
328
+ (ControllerMixin): started implementing,
329
+ renamed to Publishable.
330
+
331
+ * started using the unless const_defined? trick.
332
+
333
+ * lib/nitro/dispatcher.rb: simplified (no context passed),
334
+ (#dispatch): more natural mount points, no :root.
335
+ publish alias for add_controller.
127
336
 
128
337
  27-06-2005 George Moschovitis <gm@navel.gr>
129
338
 
130
- * lib/nitro/server.rb: introduced.
339
+ * lib/nitro/server.rb: introduced.
131
340
 
132
341
  27-06-2005 George Moschovitis <gm@navel.gr>
133
342
 
134
- * lib/nitro/element.rb: fixed bugs.
343
+ * lib/nitro/element.rb: fixed bugs.
135
344
 
136
- * lib/nitro/builder/form.rb: fixed bugs.
345
+ * lib/nitro/builder/form.rb: fixed bugs.
137
346
 
138
347
  25-06-2005 George Moschovitis <gm@navel.gr>
139
348
 
140
- * lib/nitro/helper/debug.rb: implemented.
141
-
142
- * lib/nitro/controller.rb: include HelperSupport.
349
+ * lib/nitro/helper/debug.rb: implemented.
350
+
351
+ * lib/nitro/controller.rb: include HelperSupport.
143
352
 
144
- * test/nitro/tc_helper.rb: introduced.
145
-
146
- * lib/nitro/helper.rb: introduced,
147
- helper macro to make the helpers methods private,
148
- (#include_auto_helpers): implemented.
149
- (Helper): include debug helper by default.
353
+ * test/nitro/tc_helper.rb: introduced.
354
+
355
+ * lib/nitro/helper.rb: introduced,
356
+ helper macro to make the helpers methods private,
357
+ (#include_auto_helpers): implemented.
358
+ (Helper): include debug helper by default.
150
359
 
151
360
  24-06-2005 George Moschovitis <gm@navel.gr>
152
361
 
153
- * lib/nitro/*: beutified/updated/commented many files.
362
+ * lib/nitro/*: beutified/updated/commented many files.
154
363
 
155
- * lib/nitro/element/java_script.rb: implemented.
156
-
157
- * doc/AUTHORS: updated.
158
-
159
- * proto/public/js/*: added scriptacoulous libraries.
364
+ * lib/nitro/element/java_script.rb: implemented.
365
+
366
+ * doc/AUTHORS: updated.
367
+
368
+ * proto/public/js/*: added scriptacoulous libraries.
160
369
 
161
- * proto/public/settings.xhtml: cooler, shows all configuration
162
- variables. [epiperak]
163
-
164
- * lib/nitro/*: started adding settings keywords everywhere.
165
-
166
- * lib/nitro/runner.rb: include configuration.
370
+ * proto/public/settings.xhtml: cooler, shows all configuration
371
+ variables. [epiperak]
372
+
373
+ * lib/nitro/*: started adding settings keywords everywhere.
374
+
375
+ * lib/nitro/runner.rb: include configuration.
167
376
 
168
377
  23-06-2005 George Moschovitis <gm@navel.gr>
169
378
 
170
- * lib/nitro/markup.rb (MarkupShader): call expand_html.
379
+ * lib/nitro/markup.rb (MarkupShader): call expand_html.
171
380
 
172
381
  21-06-2005 George Moschovitis <gm@navel.gr>
173
382
 
174
- * lib/nitro/caching.rb: temporarily dissabled per controller
175
- caching.
383
+ * lib/nitro/caching.rb: temporarily dissabled per controller
384
+ caching.
176
385
 
177
386
  20-06-2005 George Moschovitis <gm@navel.gr>
178
387
 
179
- * README: facet/redcloth pointers. [bcandler]
388
+ * README: facet/redcloth pointers. [bcandler]
180
389
 
181
- * INSTALL: facet/redcloth pointers. [bcandler]
390
+ * INSTALL: facet/redcloth pointers. [bcandler]
182
391
 
183
392
  17-06-2005 George Moschovitis <gm@navel.gr>
184
393
 
185
- * lib/nitro/caching.rb (##caching_enabled): added singleton
186
- method too!
394
+ * lib/nitro/caching.rb (##caching_enabled): added singleton
395
+ method too!
187
396
 
188
- * --- VERSION 0.19.0 ---
397
+ * --- VERSION 0.19.0 ---
189
398
 
190
- * README: updated.
191
-
192
- * doc/RELEASES: updated.
193
-
194
- * lib/nitro/dispatcher.rb (#controller_for_class): added
195
- SUPERB new support for reloading!!! I LOVE IT!
196
-
197
- * lib/nitro/runner.rb (#setup_debug): call autoreload by default,
198
- dissable caching in debug mode.
199
-
200
- * lib/nitro/caching/*: small fixes.
399
+ * README: updated.
400
+
401
+ * doc/RELEASES: updated.
402
+
403
+ * lib/nitro/dispatcher.rb (#controller_for_class): added
404
+ SUPERB new support for reloading!!! I LOVE IT!
405
+
406
+ * lib/nitro/runner.rb (#setup_debug): call autoreload by default,
407
+ dissable caching in debug mode.
408
+
409
+ * lib/nitro/caching/*: small fixes.
201
410
 
202
- * lib/nitro/caching.rb (#caching_enabled): introduced.
411
+ * lib/nitro/caching.rb (#caching_enabled): introduced.
203
412
 
204
413
  16-06-2005 George Moschovitis <gm@navel.gr>
205
414
 
206
- * doc/RELEASES: updated.
415
+ * doc/RELEASES: updated.
207
416
 
208
417
  15-06-2005 George Moschovitis <gm@navel.gr>
209
418
 
210
- * test/nitro/tc_controller.rb: fixed to pass again.
211
-
212
- * lib/nitro/flash.rb (#flash): made private.
419
+ * test/nitro/tc_controller.rb: fixed to pass again.
420
+
421
+ * lib/nitro/flash.rb (#flash): made private.
213
422
 
214
423
  08-06-2005 George Moschovitis <gm@navel.gr>
215
424
 
216
- * lib/nitro/testing/testcase.rb: Og related fix.
217
-
218
- * lib/nitro/controller.rb: include flashing by default.
219
-
220
- * lib/nitro/flash.rb: introduced and implemented,
221
- added aspects,
222
- (#set_dirty): fixed flag.
425
+ * lib/nitro/testing/testcase.rb: Og related fix.
426
+
427
+ * lib/nitro/controller.rb: include flashing by default.
428
+
429
+ * lib/nitro/flash.rb: introduced and implemented,
430
+ added aspects,
431
+ (#set_dirty): fixed flag.
223
432
 
224
433
  02-06-2005 George Moschovitis <gm@navel.gr>
225
434
 
226
- * lib/nitro/element.rb: fixed a bug with capitalize.
435
+ * lib/nitro/element.rb: fixed a bug with capitalize.
227
436
 
228
437
  01-06-2005 George Moschovitis <gm@navel.gr>
229
438
 
230
- * --- VERSION 0.18.0 ---
439
+ * --- VERSION 0.18.0 ---
231
440
 
232
- * test/*: some fixes to make the tests pass again.
233
-
234
- * fixed NASTY action_metadata bug.
441
+ * test/*: some fixes to make the tests pass again.
442
+
443
+ * fixed NASTY action_metadata bug.
235
444
 
236
445
  31-05-2005 George Moschovitis <gm@navel.gr>
237
446
 
238
- * lib/nitro/render.rb (#redirect): fixed bug.
447
+ * lib/nitro/render.rb (#redirect): fixed bug.
239
448
 
240
449
  30-05-2005 George Moschovitis <gm@navel.gr>
241
450
 
242
- * doc/RELEASES: updated.
243
-
244
- * lib/nitro/render.rb (#redirect): fixed to work with gecko.
451
+ * doc/RELEASES: updated.
452
+
453
+ * lib/nitro/render.rb (#redirect): fixed to work with gecko.
245
454
 
246
- * lib/nitro/runner.rb: fixed daemonize support.
455
+ * lib/nitro/runner.rb: fixed daemonize support.
247
456
 
248
457
  29-05-2005 George Moschovitis <gm@navel.gr>
249
458
 
250
- * lib/nitro/caching: added global enable switch.
459
+ * lib/nitro/caching: added global enable switch.
251
460
 
252
461
  27-05-2005 George Moschovitis <gm@navel.gr>
253
462
 
254
- * lib/nitro/render.rb (#redirect): fixet to work behind a
255
- proxy!
256
-
257
- * lib/nitro/caching/output.rb (#expire_output): begin end block
258
- to be more fault tolerant.
463
+ * lib/nitro/render.rb (#redirect): fixet to work behind a
464
+ proxy!
465
+
466
+ * lib/nitro/caching/output.rb (#expire_output): begin end block
467
+ to be more fault tolerant.
259
468
 
260
469
  26-05-2005 George Moschovitis <gm@navel.gr>
261
470
 
262
- * lib/nitro/runner.rb (#daemonize): implemented.
263
-
264
- * lib/nitro/caching/output.rb (#expire_output): introduced.
265
-
266
- * lib/nitro/adapter/webrick.rb: fixed request_uri calc bug!
471
+ * lib/nitro/runner.rb (#daemonize): implemented.
472
+
473
+ * lib/nitro/caching/output.rb (#expire_output): introduced.
474
+
475
+ * lib/nitro/adapter/webrick.rb: fixed request_uri calc bug!
267
476
 
268
477
  25-05-2005 George Moschovitis <gm@navel.gr>
269
478
 
270
- * lib/nitro/caching/output.rb: fixed filter problem.
271
-
272
- * lib/nitro/markup.rb (MarkupShader): for the moment
273
- a simple alias for RedCloth.
274
-
275
- * lib/nitro/request.rb (#host): handle proxy case (forwarded).
276
-
277
- * ../rpc: removed from repository.
278
-
279
- * lib/nitro/service/xmlrpc.rb: copied from rpc.
280
-
281
- * lib/nitro/service.rb: copied from rpc,
282
- (Service): renamed from WebService.
479
+ * lib/nitro/caching/output.rb: fixed filter problem.
480
+
481
+ * lib/nitro/markup.rb (MarkupShader): for the moment
482
+ a simple alias for RedCloth.
483
+
484
+ * lib/nitro/request.rb (#host): handle proxy case (forwarded).
485
+
486
+ * ../rpc: removed from repository.
487
+
488
+ * lib/nitro/service/xmlrpc.rb: copied from rpc.
489
+
490
+ * lib/nitro/service.rb: copied from rpc,
491
+ (Service): renamed from WebService.
283
492
 
284
493
  24-05-2005 George Moschovitis <gm@navel.gr>
285
-
286
- * bin/nitrogen: the Dir.ls_r were copied to facets so this is
287
- used.
288
-
289
- * lib/examples/README: introduced.
494
+
495
+ * bin/nitrogen: the Dir.ls_r were copied to facets so this is
496
+ used.
497
+
498
+ * lib/examples/README: introduced.
290
499
 
291
500
  23-05-2005 George Moschovitis <gm@navel.gr>
292
501
 
293
- * proto/public/error.xhtml: show exact error line in template.
294
-
295
- * lib/nitro/errors.rb: better presentation,
296
- reverse transform the code.
502
+ * proto/public/error.xhtml: show exact error line in template.
503
+
504
+ * lib/nitro/errors.rb: better presentation,
505
+ reverse transform the code.
297
506
 
298
507
  22-05-2005 George Moschovitis <gm@navel.gr>
299
508
 
300
- * lib/nitro/template.rb: improved template expansion, allows
301
- for reverse transform (useful for error logging).
302
-
303
- * lib/nitro/errors.rb: introduced,
304
- (ActionCompileError): introduced,
305
- (TemplateCompileError): introduced.
306
- (#line_number): implemented.
307
-
308
- * lib/nitro/render.rb (#compile_action): separately compile the
309
- action and the template.
509
+ * lib/nitro/template.rb: improved template expansion, allows
510
+ for reverse transform (useful for error logging).
511
+
512
+ * lib/nitro/errors.rb: introduced,
513
+ (ActionCompileError): introduced,
514
+ (TemplateCompileError): introduced.
515
+ (#line_number): implemented.
516
+
517
+ * lib/nitro/render.rb (#compile_action): separately compile the
518
+ action and the template.
310
519
 
311
520
  21-05-2005 George Moschovitis <gm@navel.gr>
312
521
 
313
- * changes to many files to accomodate some dir changes.
314
-
315
- * lib/nitro/scaffold.rb: use tha facets inflector.
316
-
317
- * lib/nitro/render.rb (#compile_action): also try to find
318
- templates in the proto dir,
319
- try to find templates in all superclasses of the controller.
320
-
321
- * lib/nitro/controller.rb (#inherited): simplified,
322
- set template root to point into proto in the default controller.
522
+ * changes to many files to accomodate some dir changes.
523
+
524
+ * lib/nitro/scaffold.rb: use tha facets inflector.
525
+
526
+ * lib/nitro/render.rb (#compile_action): also try to find
527
+ templates in the proto dir,
528
+ try to find templates in all superclasses of the controller.
529
+
530
+ * lib/nitro/controller.rb (#inherited): simplified,
531
+ set template root to point into proto in the default controller.
323
532
 
324
533
  20-05-2005 George Moschovitis <gm@navel.gr>
325
534
 
326
- * moved examples outside of the nitro distribution.
327
-
328
- * examples/flash/: fixed root dir. [gmary]
329
-
330
- --- THE REVENGE OF SITH ---
535
+ * moved examples outside of the nitro distribution.
536
+
537
+ * examples/flash/: fixed root dir. [gmary]
538
+
539
+ --- THE REVENGE OF SITH ---
331
540
 
332
541
  19-05-2005 George Moschovitis <gm@navel.gr>
333
542
 
334
- * started fixing various references to the renamed directories.
335
-
336
- * lib/nitro/part.rb: deprecated.
337
-
338
- * lib/nitro/builder: renamed from builders.
543
+ * started fixing various references to the renamed directories.
544
+
545
+ * lib/nitro/part.rb: deprecated.
546
+
547
+ * lib/nitro/builder: renamed from builders.
339
548
 
340
- * lib/nitro/adapter: renamed from adapters.
549
+ * lib/nitro/adapter: renamed from adapters.
341
550
 
342
551
  17-05-2005 George Moschovitis <gm@navel.gr>
343
552
 
344
- * lib/nitro/element.rb (#render): post proccesing to fix
345
- elements with no text expansion problem.
346
-
347
- * proto/src: added.
553
+ * lib/nitro/element.rb (#render): post proccesing to fix
554
+ elements with no text expansion problem.
555
+
556
+ * proto/src: added.
348
557
 
349
- * bin/nitrogen: reimplemented, it now works with gems. The
350
- implementation is based on mneumanns wee script [james_b].
558
+ * bin/nitrogen: reimplemented, it now works with gems. The
559
+ implementation is based on mneumanns wee script [james_b].
351
560
 
352
561
  16-05-2005 George Moschovitis <gm@navel.gr>
353
562
 
354
- * --- VERSION 0.17.0 ---
563
+ * --- VERSION 0.17.0 ---
355
564
 
356
- * cleanup.rb: updated.
357
-
358
- * doc/RELEASES: updated.
359
-
360
- * Rakefile: updated facets dependency.
361
-
565
+ * cleanup.rb: updated.
566
+
567
+ * doc/RELEASES: updated.
568
+
569
+ * Rakefile: updated facets dependency.
570
+
362
571
  15-05-2005 George Moschovitis <gm@navel.gr>
363
572
 
364
- * doc/RELEASES: updated.
573
+ * doc/RELEASES: updated.
365
574
 
366
575
  13-05-2005 George Moschovitis <gm@navel.gr>
367
576
 
368
- * lib/nitro/shaders.rb (ElementShader): Yeah, it passes an
369
- example page.
370
-
371
- * lib/nitro/element.rb: reimplemented render using the
372
- StreamParser,
373
- handles processing instructions,
374
- yeah, it works again!,
375
- added _view, _rendered attributes in element,
376
- fixed nesting bug,
377
- yeah, use render for template, it works!
378
- fixed more nesting bugs.
577
+ * lib/nitro/shaders.rb (ElementShader): Yeah, it passes an
578
+ example page.
579
+
580
+ * lib/nitro/element.rb: reimplemented render using the
581
+ StreamParser,
582
+ handles processing instructions,
583
+ yeah, it works again!,
584
+ added _view, _rendered attributes in element,
585
+ fixed nesting bug,
586
+ yeah, use render for template, it works!
587
+ fixed more nesting bugs.
379
588
 
380
589
  12-05-2005 George Moschovitis <gm@navel.gr>
381
590
 
382
- * lib/nitro/shaders.rb (ElementShader): implemented,
383
- yeah, this parses a simple page.
384
-
385
- * test/nitro/tc_element.rb: implemented.
386
-
387
- * lib/nitro/element.rb: introduced,
388
- (Element): introduced.
389
- (ElementRender): introduced.
390
- (#parse): implemented.
391
- (StaticElement): implemented,
392
- It works!!
393
- better handle elements without attributes.
591
+ * lib/nitro/shaders.rb (ElementShader): implemented,
592
+ yeah, this parses a simple page.
593
+
594
+ * test/nitro/tc_element.rb: implemented.
595
+
596
+ * lib/nitro/element.rb: introduced,
597
+ (Element): introduced.
598
+ (ElementRender): introduced.
599
+ (#parse): implemented.
600
+ (StaticElement): implemented,
601
+ It works!!
602
+ better handle elements without attributes.
394
603
 
395
604
  11-05-2005 George Moschovitis <gm@navel.gr>
396
605
 
397
- * examples/no_xsl_blog/*: changes to make it work with new Og.
398
-
399
- * examples/blog/*: changes to make it work with new Og,
400
- use hals if ...each trick in comments,
401
- yeah it works.
606
+ * examples/no_xsl_blog/*: changes to make it work with new Og.
607
+
608
+ * examples/blog/*: changes to make it work with new Og,
609
+ use hals if ...each trick in comments,
610
+ yeah it works.
402
611
 
403
612
  05-05-2005 George Moschovitis <gm@navel.gr>
404
613
 
405
- * lib/nitro/adapters/fastcgi.rb: use ensure to be more fault
406
- tolerant.
614
+ * lib/nitro/adapters/fastcgi.rb: use ensure to be more fault
615
+ tolerant.
407
616
 
408
- * lib/nitro/adapters/webrick.rb: updated for new Og.
409
-
410
- * examples/blog/*: converted to new og code.
617
+ * lib/nitro/adapters/webrick.rb: updated for new Og.
618
+
619
+ * examples/blog/*: converted to new og code.
411
620
 
412
621
  30-04-2005 George Moschovitis <gm@navel.gr>
413
622
 
414
- * lib/nitro/render.rb (#compile_action): better syntax error
415
- handling, no infinite loops [drak].
623
+ * lib/nitro/render.rb (#compile_action): better syntax error
624
+ handling, no infinite loops [drak].
416
625
 
417
626
  26-04-2005 George Moschovitis <gm@navel.gr>
418
627
 
419
- * lib/nitro/render.rb: hack-fixed :stop bug.
628
+ * lib/nitro/render.rb: hack-fixed :stop bug.
420
629
 
421
630
  21-04-2005 George Moschovitis <gm@navel.gr>
422
631
 
423
- * proto/public/js/prototype.js: added.
632
+ * proto/public/js/prototype.js: added.
424
633
 
425
634
  20-04-2005 George Moschovitis <gm@navel.gr>
426
635
 
427
- * lib/nitro/render.rb: allow view overload.
636
+ * lib/nitro/render.rb: allow view overload.
428
637
 
429
638
  19-04-2005 George Moschovitis <gm@navel.gr>
430
639
 
431
- * lib/nitro/scaffold.rb: view_uri -> to_href.
640
+ * lib/nitro/scaffold.rb: view_uri -> to_href.
432
641
 
433
- * Rakefile: added facets dependency.
642
+ * Rakefile: added facets dependency.
434
643
 
435
- * lib/nitro/render.rb (ActionExit): introduced.
436
- catch stop.
437
- (#compile_action): added param calculation code,
438
- no return from template.
644
+ * lib/nitro/render.rb (ActionExit): introduced.
645
+ catch stop.
646
+ (#compile_action): added param calculation code,
647
+ no return from template.
439
648
 
440
649
  18-04-2005 George Moschovitis <gm@navel.gr>
441
650
 
442
- * lib/nitro/render.rb: response alias for context.
443
- (#print): added as convenience method.
651
+ * lib/nitro/render.rb: response alias for context.
652
+ (#print): added as convenience method.
444
653
 
445
- * lib/nitro/request.rb (#raw_body): implemented.
654
+ * lib/nitro/request.rb (#raw_body): implemented.
446
655
 
447
- * --- VERSION 0.16.0 ---
448
-
449
- * small fixes to make tests pass again.
656
+ * --- VERSION 0.16.0 ---
657
+
658
+ * small fixes to make tests pass again.
450
659
 
451
660
  17-04-2005 George Moschovitis <gm@navel.gr>
452
661
 
453
- * examples/blog/: updated.
662
+ * examples/blog/: updated.
454
663
 
455
- * lib/nitro/render.rb: check again for action_template method.
664
+ * lib/nitro/render.rb: check again for action_template method.
456
665
 
457
- * test/nitro/builders/tc_atom.rb: introduced.
666
+ * test/nitro/builders/tc_atom.rb: introduced.
458
667
 
459
- * lib/nitro/builders/atom.rb: introduced.
460
- (#build_atom): first implementation.
668
+ * lib/nitro/builders/atom.rb: introduced.
669
+ (#build_atom): first implementation.
461
670
 
462
- * lib/nitro/builders/xml.rb: added print alias,
463
- use '!' postfix in default methods to avoid method namespace polution.
464
- (#processing_instruction): added.
671
+ * lib/nitro/builders/xml.rb: added print alias,
672
+ use '!' postfix in default methods to avoid method namespace polution.
673
+ (#processing_instruction): added.
465
674
 
466
675
  16-04-2005 George Moschovitis <gm@navel.gr>
467
676
 
468
- * now developing on UBUNTU Linux.
677
+ * now developing on UBUNTU Linux.
469
678
 
470
679
  15-04-2005 George Moschovitis <gm@navel.gr>
471
680
 
472
- * examples/no_xsl_blog/*: converted to make compaitble
473
- with latest code.
681
+ * examples/no_xsl_blog/*: converted to make compaitble
682
+ with latest code.
474
683
 
475
- * ../cleanup.rb: implemented.
684
+ * ../cleanup.rb: implemented.
476
685
 
477
- * lib/nitro/controller.rb: improved DEF_FILE calculation to handle
478
- more cases.
686
+ * lib/nitro/controller.rb: improved DEF_FILE calculation to handle
687
+ more cases.
479
688
 
480
- * examples/blog/*: yeah, with the latest aspects fixes
481
- the example works again,
482
- converted XmlController to latest code.
483
- invalidate cache on deletes.
689
+ * examples/blog/*: yeah, with the latest aspects fixes
690
+ the example works again,
691
+ converted XmlController to latest code.
692
+ invalidate cache on deletes.
484
693
 
485
- * test/*: fixes to make the tests pass.
694
+ * test/*: fixes to make the tests pass.
486
695
 
487
696
  14-04-2005 George Moschovitis <gm@navel.gr>
488
697
 
489
- * examples/*: dont use controller.
698
+ * examples/*: dont use controller.
490
699
 
491
- * lib/nitro/controller.rb: removed [jamesb].
700
+ * lib/nitro/controller.rb: removed [jamesb].
492
701
 
493
- * examples/blog/src/models/content.rb: removed obsolete code.
702
+ * examples/blog/src/models/content.rb: removed obsolete code.
494
703
 
495
704
  13-04-2005 George Moschovitis <gm@navel.gr>
496
705
 
497
- * examples/blog/*: converted to use aspects.
706
+ * examples/blog/*: converted to use aspects.
498
707
 
499
- * lib/nitro/render.rb (#compile_action): replaced filter chains
500
- with advice generation.
708
+ * lib/nitro/render.rb (#compile_action): replaced filter chains
709
+ with advice generation.
501
710
 
502
- * lib/nitro/controller.rb: use aspects instead of filters,
503
- dont include Filtering.
711
+ * lib/nitro/controller.rb: use aspects instead of filters,
712
+ dont include Filtering.
504
713
 
505
714
  12-04-2005 Kostas Nasis <kostas@nasis.com>
506
715
 
507
- * misc aesthetic fixes.
716
+ * misc aesthetic fixes.
508
717
 
509
- * lib/nitro/markup.rb: small fixes.
718
+ * lib/nitro/markup.rb: small fixes.
510
719
 
511
720
  12-04-2005 George Moschovitis <gm@navel.gr>
512
721
 
513
- * examples/*: small fixes in docs.
722
+ * examples/*: small fixes in docs.
514
723
 
515
- * push_docs.rb: introduced.
724
+ * push_docs.rb: introduced.
516
725
 
517
- * Rakefile: changed rdoc dir,
518
- added Florian Gross's gems updater [flgr],
519
- many fixes to make the updater work.
726
+ * Rakefile: changed rdoc dir,
727
+ added Florian Gross's gems updater [flgr],
728
+ many fixes to make the updater work.
520
729
 
521
- * releases.rb: utility to help with new releases,
522
- cool, it uploads documentation.
730
+ * releases.rb: utility to help with new releases,
731
+ cool, it uploads documentation.
523
732
 
524
- * INSTALL: small update [ilias].
733
+ * INSTALL: small update [ilias].
525
734
 
526
735
  11-04-2005 George Moschovitis <gm@navel.gr>
527
736
 
528
- * created new public SVN repository, to allow for easier
529
- patching by the community.
737
+ * created new public SVN repository, to allow for easier
738
+ patching by the community.
530
739
 
531
- * examples/no_xsl_blog/*: small ns fixes. [james_b]
740
+ * examples/no_xsl_blog/*: small ns fixes. [james_b]
532
741
 
533
742
  10-04-2005 George Moschovitis <gm@navel.gr>
534
743
 
535
- * lib/nitro/render.rb: new encoding for action/template methods.
744
+ * lib/nitro/render.rb: new encoding for action/template methods.
536
745
 
537
- * lib/nitro/shaders.rb (XSLTShader#process): add a critical Logger.debug to
538
- give better info on the developer on template errors.
746
+ * lib/nitro/shaders.rb (XSLTShader#process): add a critical Logger.debug to
747
+ give better info on the developer on template errors.
539
748
 
540
- * lib/adapters/webrick.rb: no stupid logging by default on Unix.
749
+ * lib/adapters/webrick.rb: no stupid logging by default on Unix.
541
750
 
542
- * lib/nitro/dispatcher.rb (#controller_class_for): changed reloading algo,
543
- improved reloading to reload superclasses,
544
- improved reloading to remove actions,
545
- even more fixes to the reloader.
751
+ * lib/nitro/dispatcher.rb (#controller_class_for): changed reloading algo,
752
+ improved reloading to reload superclasses,
753
+ improved reloading to remove actions,
754
+ even more fixes to the reloader.
546
755
 
547
- * lib/nitro/conf.rb (#mount): added support for mounting other sites.
548
- $nitro_environment: holds the configuration.
756
+ * lib/nitro/conf.rb (#mount): added support for mounting other sites.
757
+ $nitro_environment: holds the configuration.
549
758
 
550
759
  09-04-2005 George Moschovitis <gm@navel.gr>
551
760
 
552
- * test/og/tc_sqlserver.rb: check if sqlserver exists.
553
- * test/*: small fixes to pass again.
761
+ * test/og/tc_sqlserver.rb: check if sqlserver exists.
762
+ * test/*: small fixes to pass again.
554
763
 
555
- * examples/ajax/*: small improvement.
764
+ * examples/ajax/*: small improvement.
556
765
 
557
- * lib/nitro/runner.rb (Nitro##run): added this elegant helper.
766
+ * lib/nitro/runner.rb (Nitro##run): added this elegant helper.
558
767
 
559
- * proto/public/scaffold: added.
768
+ * proto/public/scaffold: added.
560
769
 
561
- * examples/blog/*: works without API,
562
- content_type works again,
563
- use the new runner.
770
+ * examples/blog/*: works without API,
771
+ content_type works again,
772
+ use the new runner.
564
773
 
565
- * lib/nitro/dispatcher.rb: removed the concept of API from the dispatcher,
566
- will be implemented with controller reuse.
774
+ * lib/nitro/dispatcher.rb: removed the concept of API from the dispatcher,
775
+ will be implemented with controller reuse.
567
776
 
568
- * examples/blog/src/controller.rb (XmlController): introduced.
777
+ * examples/blog/src/controller.rb (XmlController): introduced.
569
778
 
570
- * lib/nitro/render.rb (#compile_action): better error reporting,
571
- removed concept of API.
779
+ * lib/nitro/render.rb (#compile_action): better error reporting,
780
+ removed concept of API.
572
781
 
573
- * lib/nitro/response.rb (#add_cookie): made more flexible.
782
+ * lib/nitro/response.rb (#add_cookie): made more flexible.
574
783
 
575
- * lib/nitro/testing/assertions.rb (#assert_has_cookie): implemented,
576
- (#assert_has_no_cookie): implemented,
577
- (#assert_cookie_equal): implemented.
784
+ * lib/nitro/testing/assertions.rb (#assert_has_cookie): implemented,
785
+ (#assert_has_no_cookie): implemented,
786
+ (#assert_cookie_equal): implemented.
578
787
 
579
- * lib/nitro/testing/context.rb (Response): added more helpers.
788
+ * lib/nitro/testing/context.rb (Response): added more helpers.
580
789
 
581
790
  08-04-2005 George Moschovitis <gm@navel.gr>
582
791
 
583
- * hack-fixed dynamic require bug that used to fuckup RDoc.
792
+ * hack-fixed dynamic require bug that used to fuckup RDoc.
584
793
 
585
- * Rakefile: fixed VERSION bug,
586
- removed flexob, extensions, ruby-breakpointer dependencies [james_b],
587
- bumped required Ruby version.
794
+ * Rakefile: fixed VERSION bug,
795
+ removed flexob, extensions, ruby-breakpointer dependencies [james_b],
796
+ bumped required Ruby version.
588
797
 
589
- * lib/nitro/testing/testcase.rb: include Nitro by default.
798
+ * lib/nitro/testing/testcase.rb: include Nitro by default.
590
799
 
591
- * test/*: many fixes to work again.
800
+ * test/*: many fixes to work again.
592
801
 
593
- * MAJOR: changed the namespace from N to Nitro.
802
+ * MAJOR: changed the namespace from N to Nitro.
594
803
 
595
- * examples/no_xsl_blog/*: some small improvements, synced with blog
596
- example.
804
+ * examples/no_xsl_blog/*: some small improvements, synced with blog
805
+ example.
597
806
 
598
- * lib/nitro/ui/*: updated some code (will be removed soon).
807
+ * lib/nitro/ui/*: updated some code (will be removed soon).
599
808
 
600
- * lib/nitro/ui/date-select.rb: removed.
809
+ * lib/nitro/ui/date-select.rb: removed.
601
810
 
602
- * lib/nitro.rb: include Glue in the Nitro namespace.
811
+ * lib/nitro.rb: include Glue in the Nitro namespace.
603
812
 
604
- * lib/nitro/cluster.rb: removed.
813
+ * lib/nitro/cluster.rb: removed.
605
814
 
606
815
  07-04-2005 George Moschovitis <gm@navel.gr>
607
816
 
608
- * lib/nitro/testing/assertions.rb:
609
- (#assert_redirect): implemented.
610
- (#assert_no_redirect): implemented.
611
- (#assert_session_has): implemented.
612
- (#assert_session_has_no): implemented.
613
- use implicit context
614
- (#assert_output_match): implemented.
615
- (#assert_output_no_match): implemented.
616
- (#assert_status_ok): implemented.
617
- use format_msg: to make more flexible.
618
- (#assert_session_equal): implemented.
817
+ * lib/nitro/testing/assertions.rb:
818
+ (#assert_redirect): implemented.
819
+ (#assert_no_redirect): implemented.
820
+ (#assert_session_has): implemented.
821
+ (#assert_session_has_no): implemented.
822
+ use implicit context
823
+ (#assert_output_match): implemented.
824
+ (#assert_output_no_match): implemented.
825
+ (#assert_status_ok): implemented.
826
+ use format_msg: to make more flexible.
827
+ (#assert_session_equal): implemented.
619
828
 
620
- * examples/blog/test/tc_blog.rb: introduced.
829
+ * examples/blog/test/tc_blog.rb: introduced.
621
830
 
622
- * lib/nitro/testing/context.rb: introduced.
623
- (Request): added testing helpers.
624
- (Response): added testing helpers.
625
- (Context): override session.
831
+ * lib/nitro/testing/context.rb: introduced.
832
+ (Request): added testing helpers.
833
+ (Response): added testing helpers.
834
+ (Context): override session.
626
835
 
627
- * lib/nitro/render.rb: body alias for out.
836
+ * lib/nitro/render.rb: body alias for out.
628
837
 
629
- * lib/nitro/adapters/cgi.rb: no socket lookup.
838
+ * lib/nitro/adapters/cgi.rb: no socket lookup.
630
839
 
631
- * lib/nitro/adapters/fcgi.rb: no socket lookup.
840
+ * lib/nitro/adapters/fcgi.rb: no socket lookup.
632
841
 
633
842
  07-04-2005 James Britt <james_b@neurogami.com>
634
843
 
635
- * investigated nasty cgi/testunit/flexmock bug.
844
+ * investigated nasty cgi/testunit/flexmock bug.
636
845
 
637
846
  06-04-2005 George Moschovitis <gm@navel.gr>
638
847
 
639
- * lib/nitro/testing.rb: introduced.
848
+ * lib/nitro/testing.rb: introduced.
640
849
 
641
- * lib/nitro/testing/testcase.rb: introduced.
850
+ * lib/nitro/testing/testcase.rb: introduced.
642
851
 
643
- * lib/nitro/testing/assertions.rb: introduced.
852
+ * lib/nitro/testing/assertions.rb: introduced.
644
853
 
645
854
  05-04-2005 George Moschovitis <gm@navel.gr>
646
855
 
647
- * lib/nitro/render.rb (#compile_action): keep old action in @parent_action_name.
856
+ * lib/nitro/render.rb (#compile_action): keep old action in @parent_action_name.
648
857
 
649
- * lib/nitro/shaders.rb: handle ' delimeters. [james_b]
858
+ * lib/nitro/shaders.rb: handle ' delimeters. [james_b]
650
859
 
651
- * lib/nitro/template.rb: handle ' delimeters. [james_b]
860
+ * lib/nitro/template.rb: handle ' delimeters. [james_b]
652
861
 
653
- * test/nitro/tc_controller.rb: added extra tests.
862
+ * test/nitro/tc_controller.rb: added extra tests.
654
863
 
655
- * integrated james' CGI patch.
864
+ * integrated james' CGI patch.
656
865
 
657
866
  05-04-2005 James Britt <james_b@neurogami.com>
658
867
 
659
- * proto/public/cgi.rb: cgi runner.
868
+ * proto/public/cgi.rb: cgi runner.
660
869
 
661
- * lib/nitro/adapters/cgi.rb: added support for standalone cgi.
870
+ * lib/nitro/adapters/cgi.rb: added support for standalone cgi.
662
871
 
663
- * lib/nitro/runner.rb: added support for cgi.
872
+ * lib/nitro/runner.rb: added support for cgi.
664
873
 
665
874
  04-04-2005 George Moschovitis <gm@navel.gr>
666
875
 
667
- * bin/nitro: fix
876
+ * bin/nitro: fix
668
877
 
669
- * bin/nitrogen: fix
878
+ * bin/nitrogen: fix
670
879
 
671
- * --- VERSION 0.15.0 ---
880
+ * --- VERSION 0.15.0 ---
672
881
 
673
- * Rakefile: added nitrogen executable.
882
+ * Rakefile: added nitrogen executable.
674
883
 
675
- * examples/blog/public/fcgi.rb: fixed for path.
884
+ * examples/blog/public/fcgi.rb: fixed for path.
676
885
 
677
- * doc/RELEASES: updated.
886
+ * doc/RELEASES: updated.
678
887
 
679
- * bin/new_form.rb: deprecated.
888
+ * bin/new_form.rb: deprecated.
680
889
 
681
- * bin/new_app.rb: deprecated.
890
+ * bin/new_app.rb: deprecated.
682
891
 
683
- * bin/nitrogen: implemented.
892
+ * bin/nitrogen: implemented.
684
893
 
685
- * bin/nitro: implemented to start default application,
686
- use -rubygems.
894
+ * bin/nitro: implemented to start default application,
895
+ use -rubygems.
687
896
 
688
897
  03-04-2005 George Moschovitis <gm@navel.gr>
689
898
 
690
- * lib/nitro/render.rb (#compile_action): handle __ separators,
691
- (#template_for_action): fixed to look into subdirectories.
899
+ * lib/nitro/render.rb (#compile_action): handle __ separators,
900
+ (#template_for_action): fixed to look into subdirectories.
692
901
 
693
- * test/nitro/tc_dispatcher.rb: added more tests.
902
+ * test/nitro/tc_dispatcher.rb: added more tests.
694
903
 
695
- * lib/nitro/dispatcher.rb (#dispatch): updated to
696
- handle actions in subdirs.
697
-
698
- * doc/RELEASES: updated.
904
+ * lib/nitro/dispatcher.rb (#dispatch): updated to
905
+ handle actions in subdirs.
906
+
907
+ * doc/RELEASES: updated.
699
908
 
700
909
  01-04-2005 George Moschovitis <gm@navel.gr>
701
910
 
702
- * some fixes to make the tests pass again.
911
+ * some fixes to make the tests pass again.
703
912
 
704
- * doc/RELEASES: updated.
913
+ * doc/RELEASES: updated.
705
914
 
706
- * doc/AUTHORS: updated.
915
+ * doc/AUTHORS: updated.
707
916
 
708
- * README: updated.
917
+ * README: updated.
709
918
 
710
- * examples/no_xsl_blog/*: added localization support.
919
+ * examples/no_xsl_blog/*: added localization support.
711
920
 
712
- * examples/*: fixed for default environment.
921
+ * examples/*: fixed for default environment.
713
922
 
714
- * lib/nitro.rb: setups a default environment [james_b].
923
+ * lib/nitro.rb: setups a default environment [james_b].
715
924
 
716
- * lib/nitro/environment.rb: introduced and implemented.
925
+ * lib/nitro/environment.rb: introduced and implemented.
717
926
 
718
927
  01-04-2005 James Britt <james_b@neurogami.com>
719
928
 
720
- * lib/nitro/controller.rb: fixed DEF_FILE calc for win32.
929
+ * lib/nitro/controller.rb: fixed DEF_FILE calc for win32.
721
930
 
722
931
  31-03-2005 George Moschovitis <gm@navel.gr>
723
932
 
724
- * examples/blig/src/controller.rb (#toggle_locale): implemented.
933
+ * examples/blig/src/controller.rb (#toggle_locale): implemented.
725
934
 
726
- * examples/blog/*: added localization support.
935
+ * examples/blog/*: added localization support.
727
936
 
728
- * test/nitro/localization.rb: introced and implemented tests.
937
+ * test/nitro/localization.rb: introced and implemented tests.
729
938
 
730
- * lib/nitro/localization.rb: worked on this,
731
- (Locale): introduced,
732
- yeah localization kinda works,
733
- added support for sprintf interpolation.
734
- support for procs as localization agents,
735
- added some documentation.
736
- (LocalizationShader): introduced.
737
- (LocalizationFilter): reimplemented,
738
- fixed default locale.
739
- added support for parsing localization rules from yaml files.
939
+ * lib/nitro/localization.rb: worked on this,
940
+ (Locale): introduced,
941
+ yeah localization kinda works,
942
+ added support for sprintf interpolation.
943
+ support for procs as localization agents,
944
+ added some documentation.
945
+ (LocalizationShader): introduced.
946
+ (LocalizationFilter): reimplemented,
947
+ fixed default locale.
948
+ added support for parsing localization rules from yaml files.
740
949
 
741
950
  30-03-2005 George Moschovitis <gm@navel.gr>
742
951
 
743
- * examples/blog/*: use the new, easier/powerful way to set
744
- the template root.
952
+ * examples/blog/*: use the new, easier/powerful way to set
953
+ the template root.
745
954
 
746
- * lib/nitro/caching/stores.rb (FileStore): better handling of
747
- cache_root.
955
+ * lib/nitro/caching/stores.rb (FileStore): better handling of
956
+ cache_root.
748
957
 
749
- * lib/nitro/controller.rb (#method_missing): use the class
750
- template_root,
751
- many changes to handle the template_root here.
958
+ * lib/nitro/controller.rb (#method_missing): use the class
959
+ template_root,
960
+ many changes to handle the template_root here.
752
961
 
753
- * lib/nitro/scaffold.rb (#scaffold):
754
- added new, edit, form default methods,
755
- save: implemented.
756
- override default rendering if a template is provided.
962
+ * lib/nitro/scaffold.rb (#scaffold):
963
+ added new, edit, form default methods,
964
+ save: implemented.
965
+ override default rendering if a template is provided.
757
966
 
758
- * lib/nitro/shaders: introduced.
967
+ * lib/nitro/shaders: introduced.
759
968
 
760
969
  29-03-2005 George Moschovitis <gm@navel.gr>
761
970
 
762
- * lib/nitro/shaders.rb: cleaned up old code,
763
- (MorphingShader): introduced,
764
- (ElementsShader): introduced,
765
- implemented times morphing,
766
- after a lot of experiments got the regexp right.
767
- each morphing,
768
- if/unless morphing.
971
+ * lib/nitro/shaders.rb: cleaned up old code,
972
+ (MorphingShader): introduced,
973
+ (ElementsShader): introduced,
974
+ implemented times morphing,
975
+ after a lot of experiments got the regexp right.
976
+ each morphing,
977
+ if/unless morphing.
769
978
 
770
- * lib/nitro/render.rb: add base to template root.
979
+ * lib/nitro/render.rb: add base to template root.
771
980
 
772
- * lib/nitro/dispatcher.rb: return base.
981
+ * lib/nitro/dispatcher.rb: return base.
773
982
 
774
- * lib/nitro/part.rb: reintroduced.
983
+ * lib/nitro/part.rb: reintroduced.
775
984
 
776
- * worked a lot on the high level framework.
985
+ * worked a lot on the high level framework.
777
986
 
778
987
  28-03-2005 George Moschovitis <gm@navel.gr>
779
988
 
780
- * lib/nitro/template.rb: added support for erb style interpolators <% %>.
989
+ * lib/nitro/template.rb: added support for erb style interpolators <% %>.
781
990
 
782
- * --- VERSION 0.14.0 ---
991
+ * --- VERSION 0.14.0 ---
783
992
 
784
- * lib/nitro/controller.rb (#inherited): made compatible with Win32.
993
+ * lib/nitro/controller.rb (#inherited): made compatible with Win32.
785
994
 
786
- * examples/why_wiki/run.rb: set pwd.
995
+ * examples/why_wiki/run.rb: set pwd.
787
996
 
788
- * examples/wee_style/run.rb: set pwd.
997
+ * examples/wee_style/run.rb: set pwd.
789
998
 
790
- * proto/*: introduced,
791
- moved public inside proto,
792
- moved run.rb inside,
793
- mover conf inside.
999
+ * proto/*: introduced,
1000
+ moved public inside proto,
1001
+ moved run.rb inside,
1002
+ mover conf inside.
794
1003
 
795
- * doc/RELEASES: updated.
1004
+ * doc/RELEASES: updated.
796
1005
 
797
- * examples/blog/src/xsl/base.xsl: added <cache> tag.
1006
+ * examples/blog/src/xsl/base.xsl: added <cache> tag.
798
1007
 
799
- * examples/*: fixed lhttpd.conf files.
1008
+ * examples/*: fixed lhttpd.conf files.
800
1009
 
801
- * examples/blog/src/controller.rb (#cache_invalidator): added,
802
- cache_output for login as an example.
1010
+ * examples/blog/src/controller.rb (#cache_invalidator): added,
1011
+ cache_output for login as an example.
803
1012
 
804
- * lib/nitro/adapters/webrick.rb: fix,
805
- fix: dont send paths with '.' to nitro.
1013
+ * lib/nitro/adapters/webrick.rb: fix,
1014
+ fix: dont send paths with '.' to nitro.
806
1015
 
807
1016
  25-03-2005 George Moschovitis <gm@navel.gr>
808
1017
 
809
- * lib/nitro/caching/invalidation.rb: introduced.
1018
+ * lib/nitro/caching/invalidation.rb: introduced.
810
1019
 
811
- * lib/nitro/adapters/webrick.rb: removed obsolete code.
812
- removed WEBrick::HTTPRequest override.
813
- (#handle_file): implemented.
814
- (#handle): fixed ensure close.
815
-
816
- * conf/lhttpd.conf: ultra cool cache aware rewrite rule.
817
- cleaned up a LOT.
1020
+ * lib/nitro/adapters/webrick.rb: removed obsolete code.
1021
+ removed WEBrick::HTTPRequest override.
1022
+ (#handle_file): implemented.
1023
+ (#handle): fixed ensure close.
1024
+
1025
+ * conf/lhttpd.conf: ultra cool cache aware rewrite rule.
1026
+ cleaned up a LOT.
818
1027
 
819
- * conf/apache.conf: introduced, added cache aware rewrite
820
- rule.
1028
+ * conf/apache.conf: introduced, added cache aware rewrite
1029
+ rule.
821
1030
 
822
1031
  24-03-2005 George Moschovitis <gm@navel.gr>
823
1032
 
824
- * conf/lhttpd.conf: introduced.
1033
+ * conf/lhttpd.conf: introduced.
825
1034
 
826
- * conf: introduced.
1035
+ * conf: introduced.
827
1036
 
828
- * Rakefile: more intelligent handling of versions. [drak]
1037
+ * Rakefile: more intelligent handling of versions. [drak]
829
1038
 
830
- * test/nitro/filters.rb: added more tests for the newly fixed
831
- bugs.
1039
+ * test/nitro/filters.rb: added more tests for the newly fixed
1040
+ bugs.
832
1041
 
833
- * lib/nitro/filters.rb: SUPER FIX: use the new and correct
834
- way to introduced inheritable attributes.
835
- fixed problem with filters when reload = true.
1042
+ * lib/nitro/filters.rb: SUPER FIX: use the new and correct
1043
+ way to introduced inheritable attributes.
1044
+ fixed problem with filters when reload = true.
836
1045
 
837
- * lib/nitro/caching/fragments.rb: fixed cattr bug.
1046
+ * lib/nitro/caching/fragments.rb: fixed cattr bug.
838
1047
 
839
- * lib/nitro/caching/actions.rb: fixed :only bug.
1048
+ * lib/nitro/caching/actions.rb: fixed :only bug.
840
1049
 
841
- * lib/nitro/caching.rb: require action caching.
1050
+ * lib/nitro/caching.rb: require action caching.
842
1051
 
843
1052
  23-03-2005 George Moschovitis <gm@navel.gr>
844
1053
 
845
- * lib/nitro/testing: introduced.
1054
+ * lib/nitro/testing: introduced.
846
1055
 
847
- * INSTALL: updated, added ref to required libs. [dyoder]
1056
+ * INSTALL: updated, added ref to required libs. [dyoder]
848
1057
 
849
1058
  22-03-2005 George Moschovitis <gm@navel.gr>
850
1059
 
851
- * lib/nitro/caching/actions.rb (#cache_action): implemented using text filters.
1060
+ * lib/nitro/caching/actions.rb (#cache_action): implemented using text filters.
852
1061
 
853
- * lib/nitro/render.rb (#render_text): introduced.
1062
+ * lib/nitro/render.rb (#render_text): introduced.
854
1063
 
855
- * lib/nitro/filters.rb: pass options in arround filters.
1064
+ * lib/nitro/filters.rb: pass options in arround filters.
856
1065
 
857
- * lib/nitro/caching/fragments.rb (#cache): set key for fragments.
1066
+ * lib/nitro/caching/fragments.rb (#cache): set key for fragments.
858
1067
 
859
- * examples/blog/public/index.xhtml: added caching for entries.
1068
+ * examples/blog/public/index.xhtml: added caching for entries.
860
1069
 
861
- * lib/nitro/caching/stores.rb (FileStore): implemented.
1070
+ * lib/nitro/caching/stores.rb (FileStore): implemented.
862
1071
 
863
- * doc/RELEASES: updated.
1072
+ * doc/RELEASES: updated.
864
1073
 
865
1074
  21-03-2005 George Moschovitis <gm@navel.gr>
866
1075
 
867
- * examples/tiny/public/upload.xhtml: added as an example of
868
- uploads.
1076
+ * examples/tiny/public/upload.xhtml: added as an example of
1077
+ uploads.
869
1078
 
870
- * lib/nitro/adapters/cgi.rb (#parse_multipart): implemented.
871
- Yeah! i got an image uploaded,
872
- better handling of multiparams,
873
- cool: define to_s to perform a read.
1079
+ * lib/nitro/adapters/cgi.rb (#parse_multipart): implemented.
1080
+ Yeah! i got an image uploaded,
1081
+ better handling of multiparams,
1082
+ cool: define to_s to perform a read.
874
1083
 
875
- * lib/nitro/request.rb (#post?): added.
876
- (#content_length): added.
1084
+ * lib/nitro/request.rb (#post?): added.
1085
+ (#content_length): added.
877
1086
 
878
- * lib/nitro/caching/stores.rb: introduced.
879
- (MemoryStore): implemented.
1087
+ * lib/nitro/caching/stores.rb: introduced.
1088
+ (MemoryStore): implemented.
880
1089
 
881
- * lib/nitro/adapters/webrick.rb (#do_GET): make REQUEST_URI more compatible with
882
- fastcgi.
883
- (#do_GET): use Cgi.parse_parameters to make more compatible with
884
- fastcgi, and prepare for the abstract multipart parsing.
1090
+ * lib/nitro/adapters/webrick.rb (#do_GET): make REQUEST_URI more compatible with
1091
+ fastcgi.
1092
+ (#do_GET): use Cgi.parse_parameters to make more compatible with
1093
+ fastcgi, and prepare for the abstract multipart parsing.
885
1094
 
886
- * lib/nitro/filters.rb: converted the rest of the filter methods.
887
- (#gen_filters_call_code): fixed single symbol handling.
1095
+ * lib/nitro/filters.rb: converted the rest of the filter methods.
1096
+ (#gen_filters_call_code): fixed single symbol handling.
888
1097
 
889
- * lib/nitro/controller.rb: added Caching in Controller.
1098
+ * lib/nitro/controller.rb: added Caching in Controller.
890
1099
 
891
- * lib/nitro/caching/output.rb: introduced,
892
- yeah i got output for a page cached.
1100
+ * lib/nitro/caching/output.rb: introduced,
1101
+ yeah i got output for a page cached.
893
1102
 
894
- * lib/nitro/caching/action.rb: introduced.
1103
+ * lib/nitro/caching/action.rb: introduced.
895
1104
 
896
- * lib/nitro/caching/fragment.rb: introduced,
897
- (#cache_fragment): implemented.
898
- (#cache): added.
899
- (Fragments): added methods here to avoid polution.
1105
+ * lib/nitro/caching/fragment.rb: introduced,
1106
+ (#cache_fragment): implemented.
1107
+ (#cache): added.
1108
+ (Fragments): added methods here to avoid polution.
900
1109
 
901
- * lib/nitro/caching: introduced dir.
1110
+ * lib/nitro/caching: introduced dir.
902
1111
 
903
1112
  20-03-2005 George Moschovitis <gm@navel.gr>
904
1113
 
905
- * test/nitro/tc_filters.rb: introduced and implemented,
906
- added test for inheritable filters.
1114
+ * test/nitro/tc_filters.rb: introduced and implemented,
1115
+ added test for inheritable filters.
907
1116
 
908
- * lib/nitro/filters.rb (Filter): introduced structure,
909
- (#append_after_filter, ..): handle options too,
910
- (#gen_filters_call_code): pass action, handle options,
911
- fixed filter add code.
912
- added :only and :except options.,
913
- added support for String filters.
914
- made Filters inheritable!
1117
+ * lib/nitro/filters.rb (Filter): introduced structure,
1118
+ (#append_after_filter, ..): handle options too,
1119
+ (#gen_filters_call_code): pass action, handle options,
1120
+ fixed filter add code.
1121
+ added :only and :except options.,
1122
+ added support for String filters.
1123
+ made Filters inheritable!
915
1124
 
916
- * lib/nitro/render.rb: keep action name in render.
917
- (#render_nothing): implemented.
1125
+ * lib/nitro/render.rb: keep action name in render.
1126
+ (#render_nothing): implemented.
918
1127
 
919
1128
  19-03-2005 George Moschovitis <gm@navel.gr>
920
1129
 
921
- * lib/nitro/caching.rb: introduced,
922
- (Output): introduced.
1130
+ * lib/nitro/caching.rb: introduced,
1131
+ (Output): introduced.
923
1132
 
924
1133
  17-03-2005 George Moschovitis <gm@navel.gr>
925
1134
 
926
- * CHANGELOG: branched from 'doc/ChangeLog.1'.
1135
+ * CHANGELOG: branched from 'doc/ChangeLog.1'.