nitro 0.22.0 → 0.23.0

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