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