og 0.8.0 → 0.9.3

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