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