og 0.12.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. data/CHANGELOG +27 -0
  2. data/INSTALL +56 -0
  3. data/{README.og → README} +3 -3
  4. data/Rakefile +7 -73
  5. data/benchmark/bench.rb +75 -0
  6. data/benchmark/sqlite-no-prepare.1.txt +13 -0
  7. data/benchmark/sqlite-no-prepare.2.txt +13 -0
  8. data/benchmark/sqlite-prepare.1.txt +13 -0
  9. data/benchmark/sqlite-prepare.2.txt +13 -0
  10. data/doc/AUTHORS +0 -9
  11. data/{RELEASES.og → doc/RELEASES} +15 -0
  12. data/doc/config.txt +35 -0
  13. data/doc/tutorial.txt +595 -0
  14. data/examples/{og/README → README} +1 -1
  15. data/examples/{og/mock_example.rb → mock_example.rb} +1 -1
  16. data/examples/{og/mysql_to_psql.rb → mysql_to_psql.rb} +1 -1
  17. data/examples/{og/run.rb → run.rb} +1 -1
  18. data/install.rb +8 -5
  19. data/lib/og.rb +13 -8
  20. data/lib/og/adapter.rb +1 -1
  21. data/lib/og/adapters/filesys.rb +1 -1
  22. data/lib/og/adapters/mysql.rb +4 -3
  23. data/lib/og/adapters/oracle.rb +1 -1
  24. data/lib/og/adapters/psql.rb +4 -3
  25. data/lib/og/adapters/sqlite.rb +1 -1
  26. data/lib/og/backend.rb +1 -1
  27. data/lib/og/connection.rb +1 -1
  28. data/lib/og/database.rb +1 -1
  29. data/lib/og/meta.rb +13 -2
  30. data/lib/og/observer.rb +1 -1
  31. data/lib/og/typemacros.rb +1 -1
  32. data/lib/og/validation.rb +81 -0
  33. data/test/og/tc_validation.rb +89 -0
  34. metadata +33 -65
  35. data/ChangeLog +0 -1549
  36. data/lib/glue.rb +0 -55
  37. data/lib/glue/array.rb +0 -61
  38. data/lib/glue/attribute.rb +0 -83
  39. data/lib/glue/cache.rb +0 -138
  40. data/lib/glue/flexob.rb +0 -12
  41. data/lib/glue/hash.rb +0 -122
  42. data/lib/glue/inflector.rb +0 -91
  43. data/lib/glue/logger.rb +0 -147
  44. data/lib/glue/misc.rb +0 -14
  45. data/lib/glue/mixins.rb +0 -36
  46. data/lib/glue/number.rb +0 -24
  47. data/lib/glue/object.rb +0 -32
  48. data/lib/glue/pool.rb +0 -60
  49. data/lib/glue/property.rb +0 -408
  50. data/lib/glue/string.rb +0 -162
  51. data/lib/glue/time.rb +0 -85
  52. data/lib/glue/validation.rb +0 -394
  53. data/vendor/extensions/_base.rb +0 -153
  54. data/vendor/extensions/_template.rb +0 -36
  55. data/vendor/extensions/all.rb +0 -21
  56. data/vendor/extensions/array.rb +0 -68
  57. data/vendor/extensions/binding.rb +0 -224
  58. data/vendor/extensions/class.rb +0 -50
  59. data/vendor/extensions/continuation.rb +0 -71
  60. data/vendor/extensions/enumerable.rb +0 -250
  61. data/vendor/extensions/hash.rb +0 -23
  62. data/vendor/extensions/io.rb +0 -58
  63. data/vendor/extensions/kernel.rb +0 -42
  64. data/vendor/extensions/module.rb +0 -114
  65. data/vendor/extensions/numeric.rb +0 -230
  66. data/vendor/extensions/object.rb +0 -164
  67. data/vendor/extensions/ostruct.rb +0 -41
  68. data/vendor/extensions/string.rb +0 -316
  69. data/vendor/extensions/symbol.rb +0 -28
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.8.6
2
+ rubygems_version: 0.8.8
3
3
  specification_version: 1
4
4
  name: og
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.12.0
7
- date: 2005-03-07
6
+ version: 0.13.0
7
+ date: 2005-03-17
8
8
  summary: Og (ObjectGraph)
9
9
  require_paths:
10
10
  - lib
11
11
  email: gm@navel.gr
12
- homepage: http://www.rubyforge.com/projects/nitro
12
+ homepage: http://nitro.rubyforge.org
13
13
  rubyforge_project: nitro
14
14
  description: An efficient and transparent Object-Relational mapping library
15
15
  autorequire: og
@@ -21,40 +21,33 @@ required_ruby_version: !ruby/object:Gem::Version::Requirement
21
21
  -
22
22
  - ">="
23
23
  - !ruby/object:Gem::Version
24
- version: 1.8.0
24
+ version: 1.8.1
25
25
  version:
26
26
  platform: ruby
27
27
  authors:
28
28
  - George Moschovitis
29
29
  files:
30
- - README.og
31
- - RELEASES.og
32
- - doc/LICENSE
33
- - doc/AUTHORS
34
30
  - Rakefile
35
- - ChangeLog
31
+ - INSTALL
32
+ - CHANGELOG
33
+ - README
36
34
  - install.rb
37
- - examples/og/mysql_to_psql.rb
38
- - examples/og/run.rb
39
- - examples/og/mock_example.rb
40
- - examples/og/README
41
- - lib/glue.rb
42
- - lib/glue/mixins.rb
43
- - lib/glue/logger.rb
44
- - lib/glue/pool.rb
45
- - lib/glue/inflector.rb
46
- - lib/glue/hash.rb
47
- - lib/glue/number.rb
48
- - lib/glue/time.rb
49
- - lib/glue/property.rb
50
- - lib/glue/misc.rb
51
- - lib/glue/flexob.rb
52
- - lib/glue/cache.rb
53
- - lib/glue/string.rb
54
- - lib/glue/object.rb
55
- - lib/glue/array.rb
56
- - lib/glue/validation.rb
57
- - lib/glue/attribute.rb
35
+ - benchmark/sqlite-prepare.2.txt
36
+ - benchmark/sqlite-no-prepare.2.txt
37
+ - benchmark/sqlite-no-prepare.1.txt
38
+ - benchmark/bench.rb
39
+ - benchmark/sqlite-prepare.1.txt
40
+ - examples/mysql_to_psql.rb
41
+ - examples/run.rb
42
+ - examples/mock_example.rb
43
+ - examples/README
44
+ - doc/config.txt
45
+ - doc/LICENSE
46
+ - doc/AUTHORS
47
+ - doc/RELEASES
48
+ - doc/tutorial.txt
49
+ - lib/og
50
+ - lib/og.rb
58
51
  - lib/og/adapter.rb
59
52
  - lib/og/adapters
60
53
  - lib/og/enchant.rb
@@ -63,6 +56,7 @@ files:
63
56
  - lib/og/database.rb
64
57
  - lib/og/mock.rb
65
58
  - lib/og/meta.rb
59
+ - lib/og/validation.rb
66
60
  - lib/og/typemacros.rb
67
61
  - lib/og/backend.rb
68
62
  - lib/og/adapters/oracle.rb
@@ -70,42 +64,26 @@ files:
70
64
  - lib/og/adapters/mysql.rb
71
65
  - lib/og/adapters/sqlite.rb
72
66
  - lib/og/adapters/psql.rb
73
- - lib/og.rb
74
67
  - test/tc_og.rb
68
+ - test/og
75
69
  - test/og/tc_sqlite.rb
70
+ - test/og/tc_validation.rb
76
71
  - test/og/tc_observer.rb
77
72
  - test/og/tc_filesys.rb
78
73
  - test/og/tc_meta.rb
79
74
  - test/og/tc_many_to_many.rb
80
75
  - test/og/tc_lifecycle.rb
81
- - vendor/extensions/enumerable.rb
82
- - vendor/extensions/all.rb
83
- - vendor/extensions/hash.rb
84
- - vendor/extensions/continuation.rb
85
- - vendor/extensions/module.rb
86
- - vendor/extensions/binding.rb
87
- - vendor/extensions/ostruct.rb
88
- - vendor/extensions/kernel.rb
89
- - vendor/extensions/class.rb
90
- - vendor/extensions/numeric.rb
91
- - vendor/extensions/_base.rb
92
- - vendor/extensions/io.rb
93
- - vendor/extensions/string.rb
94
- - vendor/extensions/object.rb
95
- - vendor/extensions/array.rb
96
- - vendor/extensions/symbol.rb
97
- - vendor/extensions/_template.rb
98
76
  test_files: []
99
77
  rdoc_options:
100
78
  - "--main"
101
- - README.og
79
+ - README
102
80
  - "--title"
103
81
  - Og Documentation
104
82
  - "--all"
105
83
  - "--inline-source"
106
84
  extra_rdoc_files:
107
- - README.og
108
- - RELEASES.og
85
+ - README
86
+ - doc/RELEASES
109
87
  - doc/LICENSE
110
88
  - doc/AUTHORS
111
89
  executables: []
@@ -113,22 +91,12 @@ extensions: []
113
91
  requirements: []
114
92
  dependencies:
115
93
  - !ruby/object:Gem::Dependency
116
- name: extensions
117
- version_requirement:
118
- version_requirements: !ruby/object:Gem::Version::Requirement
119
- requirements:
120
- -
121
- - ">="
122
- - !ruby/object:Gem::Version
123
- version: "0.5"
124
- version:
125
- - !ruby/object:Gem::Dependency
126
- name: flexmock
94
+ name: glue
127
95
  version_requirement:
128
96
  version_requirements: !ruby/object:Gem::Version::Requirement
129
97
  requirements:
130
98
  -
131
- - ">="
99
+ - "="
132
100
  - !ruby/object:Gem::Version
133
- version: 0.0.3
101
+ version: 0.13.0
134
102
  version:
data/ChangeLog DELETED
@@ -1,1549 +0,0 @@
1
- 07-03-2005 George Moschovitis <gm@navel.gr>
2
-
3
- * lib/og/adapters/mysql.rb: overide create_fields.
4
-
5
- * examples/why_wiki: updated, added nice urls.
6
-
7
- * lib/nitro/adapters/webrick.rb: use CgiUtils.parse_params and
8
- CgiUtils.parse_cookies to be more compatible with FastiCGI, and
9
- fix some bugs.
10
-
11
- * examples/blog/roor/base.xsl: moved temporarily here.
12
-
13
- * lib/xsl: deprecated.
14
-
15
- * lib/nitro.rb: removed resolve_action_arguments option.
16
-
17
- * examples/no_xsl_blog/*: updated.
18
-
19
- * RELEASES.og: updated.
20
-
21
- * RELEASES: updated.
22
-
23
- * bin/cluster: deprecated.
24
-
25
- * doc/LICENCE: moved from root.
26
-
27
- * doc/AUTHORS: moved from root.
28
-
29
- * after some fixes, tests pass again.
30
-
31
- * test/nitro/ui/sitemap.rb: deprecated.
32
-
33
- * lib/nitro/ui/sitemap.rb: deprecated.
34
-
35
- * lib/nitro/controller.rb (#action_methods): better removal of pp methods,
36
- remove Controller methods.
37
-
38
- * lib/nitro/render.rb: no require of nitro, caused problems.
39
-
40
- * lib/og/adapters/*: added typcast overrides to the other
41
- adapters.
42
-
43
- * test/og/tc_observer.rb: added tests.
44
-
45
- 06-03-2005 George Moschovitis <gm@navel.gr>
46
-
47
- * lib/og/meta.rb: fixed linkback to_s bug.
48
-
49
- * test/og/tc_observer.rb: implemeted, many cases.
50
-
51
- * lib/og.rb: added og_pre_read / og_post_read callbacks.
52
-
53
- * lib/og/adapter.rb (#eval_lifecycle_methods): evaluate callbacks,
54
- (#eval_og_insert): evaluate observer callbacks,
55
- fix for class observer,
56
- (#eval_og_update): evaluate observer callbacks,
57
- (#eval_og_update): evaluate observer callbacks.
58
-
59
- * lib/og/observer.rb: scrapped the STUPID rails design,
60
- introduced an ultra cool, efficient, and ruby compatible design.
61
- (#add_observer): accepts multiple observers.
62
-
63
- 05-03-2005 George Moschovitis <gm@navel.gr>
64
-
65
- * examples/blog/root/error.xhtml: click to reload.
66
-
67
- * lib/nitro/runner.rb: added --crawl option.
68
- added --render option.
69
-
70
- * examples/blog/root/shader.xsl: fixed base href bug.
71
-
72
- * lib/nitro/template.rb: #() alias, useful in xslt stylesheets.
73
-
74
- * examples/blog/root/*: use scaffolded view_uri.
75
-
76
- * lib/nitro/scaffold.rb: add support for routes.
77
- :nosuffix option.
78
-
79
- * lib/nitro/controller.rb (#action): implemented.
80
- (#update_routes): implemented.
81
- (ActionParam): implemented.
82
- (ActionMeta): implemented.
83
- (#action_method_arguments): deprecated.
84
-
85
- 04-03-2005 George Moschovitis <gm@navel.gr>
86
-
87
- * lib/nitro/controller.rb: introduced the concept of the action
88
- keyword.
89
-
90
- * lib/nitro/routing.rb: introduced,
91
- (Router): introduced.
92
- (#route): works.
93
-
94
- * lib/nitro/dispatcher.rb: added routes map,
95
- experimental rewrite support.
96
-
97
- * lib/og/adapters/*: added support for multiple many_to_many relations.
98
-
99
- * test/og/tc_many_to_many.rb: implemented.
100
-
101
- * lib/og/meta.rb: accept :linkback as symbol,
102
- added support for multiple many_to_many relations. [mneumann]
103
-
104
- * lib/og/adapter.rb (join_table): encode a field name
105
- to allow for multiple many_to_many relations with the same klass. [mneumann]
106
-
107
- * lib/nitro/markup.rb: markup >, <.
108
-
109
- * examples/blog/root/error.xhtml: Introduced and made really
110
- useful.
111
-
112
- * lib/nitro/render.rb (#log_error): reimplemented
113
- to be more flexible and allow for much better error reporting.
114
-
115
- * lib/nitro/context.rb (#out): override, to catch errors.
116
-
117
- * lib/nitro/shaders.rb (RubyShader): use the TemplateMixin.
118
-
119
- * RELEASES: updated.
120
-
121
- * lib/nitro/template.rb: factored out TemplateMixin,
122
- improved API.
123
-
124
- 03-03-2005 George Moschovitis <gm@navel.gr>
125
-
126
- * lib/nitro/template.rb: introduced as standalone template engine,
127
- pass binding and buffer to store the result.
128
-
129
- 01-03-2005 George Moschovitis <gm@navel.gr>
130
-
131
- * lib/og/enchant.rb: COOL: generate finders for all properties,
132
- take :unique into account when generating finders,
133
- finders use typecast system.
134
- find* alias for select* methods.
135
- converted Og.db -> @@og_db.
136
-
137
- * lib/og/adapter.rb: use :unique metadata,
138
- introduced typecast system.
139
-
140
- * lib/og.rb: better comments.
141
-
142
- * test/og/tc_observer.rb: introduced.
143
-
144
- * lib/og/observer.rb: introduced,
145
- (Observable): implemented.
146
-
147
- * lib/nitro/ui/select.rb: deprecated.
148
-
149
- 28-02-2005 George Moschovitis <gm@navel.gr>
150
-
151
- * --- VERSION 0.11.0 ---
152
-
153
- * lib/nitro/controller.rb (#action_method_arguments): implemented.
154
-
155
- * lib/nitro.rb: added resolve_action_arguments,
156
- define Nitro before requiring.
157
-
158
- * lib/nitro/render.rb: added a simple check for ParseTree.
159
-
160
- * Rakefile: no ParseTree dependency,
161
- include og_config/og_tutorial in the docs.
162
-
163
- * use 127.0.0.1 as default address Windows gets fucked with 0.0.0.0
164
-
165
- * lib/nitro/simple.rb: hack fix for SimpleController problem.
166
-
167
- * lib/og/adapters/oracle.rb: small fixes [mbowen].
168
-
169
- * lib/og/adapter.rb: fixed DEFAULT NOT NULL to make oracle compaible [mbowen].
170
-
171
- * doc/og_tutorial.txt: more fixes [james_b],
172
- made more compatible with RDoc.
173
-
174
- 27-02-2005 George Moschovitis <gm@navel.gr>
175
-
176
- * lib/nitro/adapters/xhtml.rb (#submit): introduced.
177
-
178
- * lib/nitro/request.rb (#path_info): introduced.
179
-
180
- * lib/nitro/adapters/webrick.rb (#start): check for Conf instead of Flexob.
181
-
182
- * examples/why_wiki/run.rb: introduced the wiki example from
183
- redhanded.hobix.com (btw, why_ fuckin RULEZ!),
184
- converted to use the programmatic render,
185
- more fixes, now fully working, better than why_'s original.
186
-
187
- * many small fixes to make tests pass again.
188
-
189
- * lib/controller.rb (#action_methods): temp fix for pretty_print
190
- methods, argh!
191
-
192
- * examples/*: added apache configuration to all examples,
193
- updated fcgi.rb in examples.
194
-
195
- * examples/blog/conf/apache.conf: pass -rubygems -I.. to make compatible
196
- with lhttpd.
197
-
198
- * Rakefile: added ParseTree requirement,
199
- fixed test without og test-cases.
200
-
201
- * RELEASES: updated.
202
-
203
- * doc/og_tutorial.tx: more fixes.
204
-
205
- 27-02-2005 Matt Bowen <matt.bowen@farweststeel.com>
206
-
207
- * doc/og_tutorial.txt: many, many fixes to this text.
208
-
209
- 26-02-2005 George Moschovitis <gm@navel.gr>
210
-
211
- * lib/glue/*: cleaned up various files.
212
-
213
- * doc/og_tutorial.txt: small fixes [marioh].
214
-
215
- * test/tc_og.rb: a bit more flexible, fixes.
216
-
217
- * lib/og/adapters/oracle.rb: small fixes to the adapter.
218
-
219
- 26-02-2005 Matt Bowen <matt.bowen@farweststeel.com>
220
-
221
- * lib/og/meta.rb (#many_to_many): don't use AS in join queries
222
- to make more compatible with Oracle.
223
-
224
- * lib/og/adapters/oracle.rb: many fixes to the adapter.
225
-
226
- 25-02-2005 George Moschovitis <gm@navel.gr>
227
-
228
- * vendor/: added ParseTree files,
229
- copied latest breakpointer files.
230
-
231
- * lib/nitro/render.rb: some guarding code for ParseTree, argh.
232
-
233
- * lib/nitro/runner.rb: clearly show where the application is
234
- listening.
235
-
236
- * lib/nitro/conf.rb: use 0.0.0.0 by default to make the app accessible both
237
- localy and remotely,
238
- use 9999 as default port, easier to remember.
239
-
240
- * doc/og_config.txt: wrote first version.
241
-
242
- * doc/og_tutorial.txt: wrote first version.
243
-
244
- 24-02-2005 George Moschovitis <gm@navel.gr>
245
-
246
- * test/tc_og.rb: added extra checks.
247
-
248
- * lib/og/adapter.rb (#create_fields): set default value,
249
- (#parse_timestamp): handle nil strings.
250
-
251
- * lib/og/adapters/*: better default values (NULL) [mneumann]
252
-
253
- * lib/og/adapters/mysql.rb: fixed props_for_insert.
254
-
255
- * lib/og/adapters/oracle.rb: worked on this.
256
- removed write_prop/read_prop.
257
-
258
- * lib/nitro/render.rb (#o): convienience method.
259
-
260
- * lib/nitro/builders/*: render -> build,
261
- recoded abstract builders.
262
-
263
- * lib/nitro/builders/form: introduced mixin.
264
-
265
- * lib/nitro/context.rb: use the output buffer.
266
-
267
- * lib/nitro/output.rb (OutputBuffer): introduced.
268
-
269
- * lib/nitro/builders/rss: introduced mixin.
270
-
271
- * lib/og/meta.rb (Relation): added foreign_class alias.
272
-
273
- * doc/*: cleaned up.
274
-
275
- * doc/configuration_params.txt: introduced.
276
-
277
- * RELEASES: updated.
278
-
279
- * README: updated.
280
-
281
- 23-02-2005 George Moschovitis <gm@navel.gr>
282
-
283
- * test/og/tc_meta.rb: implemented.
284
-
285
- * lib/og/enchant.rb (#properties_and_relations): added.
286
-
287
- * lib/og/typemacros.rb: introduced, copied code from meta.
288
-
289
- * lib/og/meta.rb: added more metainfo in relations to facilitate
290
- even more advanced scaffoliding [mneumann],
291
- encapsulated type macros in Og namespace [mneumann],
292
- define Relation classes as extension to properties [mneumann],
293
- use meta[:descendants] to store cascading delete metadata.
294
-
295
- * lib/glue/property.rb: added property alias for prop_accessor. [mneumann],
296
- added more comments.
297
- (#meta): *val packs arguments in array.
298
- also keep properties in meta[:properties_and_relations]
299
-
300
- * lib/og.rb: added 'create_schema' configuration variable, when
301
- set to false, the applications start much faster.
302
-
303
- 22-02-2005 George Moschovitis <gm@navel.gr>
304
-
305
- * yeah, fastcgi works better on lhttpd and apache.
306
-
307
- * lib/nitro/request.rb (#referer): fixed NASTY bug in non-webrick mode.
308
-
309
- * lib/nitro/adapters/cgi.rb (#response_headers): added Date to headers,
310
- after some changes, I got apache to kinda work,
311
- proto parameter, fixes apache.
312
-
313
- * lib/nitro/dispatcher.rb: correct handling of default api.
314
-
315
- * lib/nitro/context.rb (#initialize): init status.
316
-
317
- * test/nitro/builders/tc_table.rb: introduced.
318
-
319
- * lib/og/adapters/odbc.rb: introduced.
320
-
321
- * lib/nitro/builders/table.rb (TableBuilderMixin): introduced,
322
- (TableBuilder): implemented.
323
- (#render_table): implemented simple version.
324
-
325
- * example/wee_style/run.rb: use components.
326
-
327
- 21-02-2005 George Moschovitis <gm@navel.gr>
328
-
329
- * lib/og/adapter.rb (#table): use og prefix to be compatible with oracle [mbowen],
330
- (#join_table): use og prefix instead of '_' [mbowen].
331
-
332
- * lib/glue/property.rb (#meta): fix, should call enchant(self).
333
-
334
- * test/tc_og.rb: added more tests to check new feature and
335
- fixes,
336
- added test for many_to_many relations.
337
-
338
- * lib/og/meta.rb: removed uneeded extra parameter from
339
- some meta_methods.
340
- (#many_to_many): allow yield block in add_xxx,
341
- save target_objects!,
342
-
343
- * lib/og/adapters/oracle.rb: cleanup.
344
-
345
- 21-02-2005 Michael Neumann <mneumann@ntecs.de>
346
-
347
- * lib/og/meta.rb: (#has_many): allow yield block in add_xxx,
348
- added some standard typemacros.
349
-
350
- 20-02-2005 Matt Bowen <matt.bowen@farweststeel.com>
351
-
352
- * lib/og/adapters/oracle.rb: introduced, and initial implementation.
353
-
354
- 20-02-2005 George Moschovitis <gm@navel.gr>
355
-
356
- * examples/blog/conf/apache.rb: implemented, mostly works!
357
-
358
- * experimented with method injection, it can be done!!
359
-
360
- * lib/nitro/render.rb: added ParseTree/SexpProcessor,
361
- (#compile_action): handle action with parameters and
362
- automatically lookup request parameters.
363
- (#compile_action): added sync to be more thread safe.
364
-
365
- * experimented with ParseTree, this lib is ultracool.
366
-
367
- 19-02-2005 George Moschovitis <gm@navel.gr>
368
-
369
- * lib/nitro/runner.rb: no duplicate lhttpd,
370
- added apache option,
371
- fixed parameter passing to apachectl.
372
-
373
- * lib/og/*: converted Og to a Module to be includeable.
374
-
375
- * Rakefile: put RDoc files in doc/rdoc.
376
-
377
- * doc/*: moved some files from root dir here.
378
-
379
- * lib/og/adapters/*: small changes.
380
-
381
- * lib/og/adapters/filesys.rb: introduced,
382
- (#db_dir): added.
383
- create class 'tables' and sequence.
384
- (#load/#save): temp hacks, but this works!!
385
- This kinda works :)
386
-
387
- 18-02-2005 George Moschovitis <gm@navel.gr>
388
-
389
- * doc/apache.txt: introduced.
390
-
391
- * doc/tutorial.txt: started working on this.
392
-
393
- * lib/nitro/session/drb.rb: yeah, distributed session
394
- works correctly.
395
-
396
- * lib/nitro/context.rb: removed sessions attribute,
397
- (#close): implemented.
398
-
399
- * lib/nitro/session.rb: added ctime, mtime, atime and
400
- aliases,
401
- (#touch!): introduced.
402
- collection -> store.
403
-
404
- * lib/nitro/session/drbserver.rb: added debug mode.
405
-
406
- 17-02-2005 George Moschovitis <gm@navel.gr>
407
-
408
- * lib/nitro/session/memory.rb: implemented.
409
-
410
- * YEAH, i got drb sessions working again.
411
-
412
- * lib/nitro/session/drb.rb: implemented.
413
-
414
- * lib/nitro/session.rb: added store configuration parameter,
415
- FIX: use SafeHash for session collections.
416
-
417
- * lib/nitro/session/drbserver.rb: implemented,
418
- added command line parameters.
419
-
420
- * lib/glue/hash.rb: cleaned up.
421
-
422
- * lib/nitro/component.rb: introduced.
423
-
424
- 16-02-2005 George Moschovitis <gm@navel.gr>
425
-
426
- * lib/nitro/render.rb: SECURITY FIX: only render action_methods.
427
-
428
- * test/nitro/tc_controller.rb: fixes, more tests.
429
-
430
- * lib/nitro/controller.rb (#action_methods): introduced.
431
-
432
- 15-02-2005 George Moschovitis <gm@navel.gr>
433
-
434
- * --- VERSION 0.10.0 ---
435
-
436
- * INSTALL: added some text for manual installation.
437
-
438
- * examples/no_xsl_blog/*: misc fixes.
439
-
440
- * lib/nitro/dispatcher.rb (#dispatch): pass context to fix reload bug.
441
-
442
- * examples/og/run.rb: updated.
443
-
444
- * lib/og/meta.rb (#many_to_many): fixed bug.
445
-
446
- * lib/nitro/controller.rb: introduced simple controller to protect
447
- the base controller.
448
-
449
- * lib/nitro/runner.rb (#run): call setup_debug/stage/live,
450
- more fixes in setup.
451
-
452
- * Rakefile: added flexmock dependency,
453
- removed database dependencies (RubyGems is too picky),
454
- added install.rb in distribution.
455
-
456
- * test/: fixed some type_checking bugs.
457
-
458
- * lib/glue/property.rb: type_checking = false by default.
459
-
460
- * test/nitro/adapters: renamed from adaptors.
461
-
462
- 14-02-2005 George Moschovitis <gm@navel.gr>
463
-
464
- * lib/og.rb: require validation.
465
-
466
- * lib/nitro.rb: require runner.
467
-
468
- * lib/nitro/runner.rb: moved from adapters,
469
- (self.run): added helper.
470
- split setup in many methods to allow for overrides.
471
-
472
- * examples/no_xsl_blog: converted.
473
-
474
- * lib/nitro/render.rb: use @request as alias to @context.
475
-
476
- * lib/nitro/builders/xml.rb: handle single tags like
477
- <br/>, <hr/> etc.
478
-
479
- * examples/wee_style/run.rb: converted,
480
- cleaned up programmatic code.
481
-
482
- * examples/flash: converted.
483
-
484
- * examples/tiny: converted.
485
-
486
- * README: updated.
487
-
488
- * examples/README.windows: added.
489
-
490
- * examples/: updated docs.
491
-
492
- * lib/nitro/adapters/runner.rb: more comments,
493
- (#run): accept hash as conf,
494
- converted methods to non static,
495
- (#setup): implemented,
496
- fixed version printing,
497
- use ENV to pass invoke methods,
498
- ULTRA COOL: --console parameter works again.
499
-
500
- * I love Stella (asteraki) :)
501
-
502
- 13-02-2005 George Moschovitis <gm@navel.gr>
503
-
504
- * lib/nitro/adapters/runner.rb: improved,
505
- added fcgi_proc action.
506
-
507
- * examples/blog/run.rb: introduced, runnable from everywhere.
508
-
509
- * lib/nitro/conf.rb: introduced, default configuration paramters.
510
-
511
- * changed base dir in applications, to be runnuble from
512
- everywhere.
513
-
514
- 12-02-2005 George Moschovitis <gm@navel.gr>
515
-
516
- * INSTALL: updated.
517
-
518
- * install.rb: implemented, refined.
519
-
520
- * updated all example confg files.
521
-
522
- * Introduced the 'tml' nick in the docs. :)
523
-
524
- * README: updated.
525
-
526
- * README.og: updated.
527
-
528
- * lib/xsl/base.xsl: removed old tags.
529
-
530
- * lib/glue/string.rb (#to_greeklish): removed,
531
- (#screen_ip_address): removed.
532
-
533
- * lib/glue/macro.rb: deprecated.
534
-
535
- * Many fixes to many files to improve the generated RDoc
536
- documentation.
537
-
538
- * lib/nitro/controller.rb (#inherited): fixed caller index.
539
-
540
- * YEAH, using a RUBYOPT trick I can develop my rubygems.
541
-
542
- * lib/nitro/dispatcher.rb (#dispatch): beutify, added comments,
543
- (#controller_class_for): implemented, allows for autoreloading
544
- of controllers,
545
- dispatcher[:index] -> dispatcher[:root], this is a better (less
546
- confusing) name.
547
-
548
- * small fix in ctl's.
549
-
550
- * lib/nitro/adapters/runner.rb: added --filelog option,
551
- some fixes,
552
- execution modes, better handling of Rendering.reload.
553
-
554
- 11-02-2005 George Moschovitis <gm@navel.gr>
555
-
556
- * lib/og/adapters/sqlite.rb: added missing res.close,
557
- use more queries to avoid array creations.
558
-
559
- * lib/nitro/adapters/*: renamed from adaptors.
560
-
561
- * test/tc_og.rb: added test for override db.
562
-
563
- * lib/og/adapters/*: don't use entity,
564
- (#calc_field_index): ensure res.close in
565
- (#create_table): use conn.store to avoid catching the errors.
566
-
567
- * lib/og/adapters/mysql.rb: reintroduced,
568
- SOS: use res.free in MysqlAdapter,
569
- set_query_with_result,
570
- passes tests.
571
-
572
- 10-02-2005 George Moschovitis <gm@navel.gr>
573
-
574
- * bin/proto/conf/app.conf.rb: updated.
575
-
576
- * Yeah, nitro/og is in the path now, no need for File.join tricks.
577
-
578
- * Rakefile: recoded/simplified.
579
-
580
- * bin/nitro: introduced.
581
-
582
- * nitro.gemspec: introduced,
583
- cleaned up, add full dependencies.
584
-
585
- 09-02-2005 George Moschovitis <gm@navel.gr>
586
-
587
- * lib/og/adapters/psql.rb: reintroduced,
588
- use serial to make more compatible with mysql/sqlite,
589
- more careful resultset clearing,
590
- yeah, it works again.
591
-
592
- * benchmark/og/bench.rb: introduced,
593
- made a test with prepared statements, not a big difference.
594
-
595
- * test/tc_og.rb: more tests.
596
-
597
- * lib/og.rb (#adapter): introduced.
598
-
599
- * lib/og/adapter.rb: made a singleton.
600
- (#for_name): implemented,
601
- pass db to all eval methods.
602
-
603
- * lib/og/database.rb (#drop_db/#create_db): use adapter,
604
- keep adapter.
605
-
606
- * lib/og/*: renamed deserialize to read,
607
- after MANY changes, this passes the simple test case.
608
-
609
- * lib/og/adapters/sqlite.rb: reimplemented many methods,
610
- (#count): fixed.
611
-
612
- * lib/og/connection.rb: removed code from methods, will be implemented by the adpters,
613
- removed deserialize option, always deserialize,
614
- renamed conn attribute to store to avoid ubiquity.
615
-
616
- 08-02-2005 George Moschovitis <gm@navel.gr>
617
-
618
- * lib/og/adapter.rb: introduced, removed adapters/base.rb,
619
- (#new_connection): implemented.
620
-
621
- * lib/og/adapters/sqlite.rb: reintroduced.
622
-
623
- * lib/og/database.rb: introduced, copied database related stuff from og.rb
624
-
625
- * lib/og/adapters: renamed from adaptors.
626
-
627
- 07-02-2005 George Moschovitis <gm@navel.gr>
628
-
629
- * lib/og/backends/psql.rb (#initialize): use config[:address]. [rbaduin]
630
-
631
- * lib/og/backends/sqlite.rb: passes some tests thanx to some fixes to
632
- sqlite3 library by jamis buck,
633
- (#start): fixed,
634
- (#commit): fixed.
635
- yeah it passes tc_og.rb !!
636
-
637
- * test/nitro/adaptors/tc_cgi.rb (#test_parse_multipart): introduced.
638
-
639
- * lib/nitro/adaptors/cgi.rb (#read_multipart): made compatible with nitro,
640
- corect parsing of multivalues in multipart,
641
- (#parse_multipart): custom method.
642
- (Cgi): introduced.
643
- (Cgi.buffer_size): introduced.
644
-
645
- * examples/tiny/index.xhtml: upload form.
646
-
647
- 06-02-2005 George Moschovitis <gm@navel.gr>
648
-
649
- * lib/nitro/markup.rb: changes for type_checking.
650
-
651
- * test/glue/tc_property_type_checking.rb: implemented.
652
-
653
- * lib/glue/property.rb: added type_checking support.
654
-
655
- * INSTALL: added.
656
-
657
- * lib/og/adaptors/base.rb: introduced.
658
-
659
- * lib/og/backends/sqlite.rb: switched to sqlite3,
660
- fixed stupid create join tables bug,
661
- (#create_table): correct rescue exceptions,
662
- (#calc_field_index): fixed.
663
-
664
- * lib/og/backends/psql.rb: fixed stupid create tables bug.
665
-
666
- 05-02-2005 George Moschovitis <gm@navel.gr>
667
-
668
- * cleaned up docs in many files.
669
-
670
- * test/tc_og.rb: don't use global ($og),
671
- run tests for all backends.
672
-
673
- * lib/og/*: small cleanups.
674
-
675
- * lib/og/backends/sqlite.rb (#calc_fields_index): fixed,
676
- (#query/safe_query): fixed.
677
- after many fixes, it kinda works.
678
-
679
- * lib/nitro/adaptors/runner.rb: fixed lhttpd option string. [james_b]
680
-
681
- 04-02-2005 George Moschovitis <gm@navel.gr>
682
-
683
- * lib/og/backends/sqlite.rb: implemented many methods.
684
-
685
- * lib/og/backends/filesys.rb: introduced.
686
-
687
- * lib/og/version.rb: removed.
688
-
689
- * lib/nitro/version.rb: removed.
690
-
691
- * lib/nitro.rb: version, libpath here.
692
-
693
- * lib/og.rb: version, libpath here.
694
-
695
- * --- VERSION 0.9.5 ---
696
-
697
- * lib/nitro/adaptors/fastcgi.rb: convert conf to Flexob.
698
-
699
- * lib/nitro/adaptors/webrick.rb: added REQUEST_MUTEX to temp-fix windows bug.
700
-
701
- 03-02-2005 George Moschovitis <gm@navel.gr>
702
-
703
- * lib/glue/*: cleaned up some files.
704
-
705
- * lib/og/*: cleaned up some files.
706
-
707
- * lib/nitro/dispatchers.rb (#initialize): accept class as input.
708
-
709
- * Updated all examples.
710
-
711
- * lib/nitro/context.rb: out == XhtmlString to allow convienient
712
- access to the programmatic rendering functionality and make
713
- the wee example cooler.
714
-
715
- * lib/nitro/adaptors/webrick.rb (#start): better handling of conf parameters,
716
- better handling of logging,
717
- autoconvert conf to Flexob if needed.
718
-
719
- * examples/wee_style/wee.rb: implemented,
720
- looks cool (but useles? :-))
721
-
722
- * examples/wee_style/README: introduced.
723
-
724
- * examples/wee_style/*: introduced wee-style example.
725
-
726
- * examples/blog/lib/blog.rb: updated for new RSS.
727
-
728
- * test/nitro/builders/tc_rss.rb: introduced.
729
-
730
- * lib/nitro/builders/rss.rb: pass parameters,
731
- (#render): now alias for render_0_9
732
-
733
- * lib/og/meta.rb (#joins): introduced new metadata macro.
734
-
735
- 02-02-2005 George Moschovitis <gm@navel.gr>
736
-
737
- * --- VERSION 0.9.4 ---
738
-
739
- * lib/og/backends/sqlite.rb: introduced.
740
-
741
- * lib/og/backends/psql.rb: minor cleanup.
742
-
743
- * examples/blog/root/style.css: fixes for IE, more needed.
744
-
745
- * lib/nitro/adaptors/fastcgi.rb (#handle): restore Og connection.
746
-
747
- * lib/nitro/adaptors/webrick.rb (#handle): restore Og connection, fixes
748
- Windows deadlock. [james_b]
749
-
750
- * examples/no_xsl_blog/lib/blog/template.rb: fixed ruby in template (login).
751
-
752
- * changed default port to 8069, to avoid conflicts with
753
- other servers (8080 was too common). [james_b]
754
-
755
- 01-02-2005 George Moschovitis <gm@navel.gr>
756
-
757
- * updated Rubyforge page, added wiki.
758
-
759
- * --- VERSION 0.9.3 ---
760
-
761
- * small fixes to make tests pass again.
762
-
763
- * lib/nitro/adaptors/webrick.rb: update headers with req.meta_vars.
764
-
765
- * lib/nitro/request.rb (#host): better calculation,
766
- made compatible with IE/windows.
767
-
768
- * examples/no_xsl_blog/lib/blog/template.rb: fixes.
769
-
770
- * examples/blog/root/style.xsl: fixes.
771
-
772
- * README: updated.
773
-
774
- * lib/nitro/controller.rb (#method_missing): :partial reload hack fix.
775
-
776
- 31-01-2005 George Moschovitis <gm@navel.gr>
777
-
778
- * examples/no_xsl_blog/lib/blog/template.rb: fixed rest links.
779
-
780
- * Yeah, the no_xsl_blog example runs under windows.
781
-
782
- * lib/nitro/adaptors/fastcgi.rb: some changes, now POST works.
783
-
784
- * lib/nitro/adaptors/cgi.rb (#parse_params): introduced from cgi.rb,
785
- (#parse_cookies): get context, no return.
786
-
787
- * lib/nitro/request.rb: env_table alias, for compatibility with
788
- cgi.rb.
789
-
790
- * Fixed lhttpd.conf to all examples and proto.
791
-
792
- * Fixed many inconsistencies in the README files.
793
-
794
- * lib/nitro/adaptors/runner.rb: log_to_file option,
795
- use lighttpd as name to be more compatible.
796
-
797
- 30-01-2005 George Moschovitis <gm@navel.gr>
798
-
799
- * lib/nitro/adaptors/runner.rb: fixed bug with fcgi.
800
-
801
- * lib/nitro/adaptors/webrick.rb: upcase headers, fixes bug.
802
-
803
- * README: fixed bugs and obsolete documentation.
804
-
805
- * lib/glue/object.rb: remove class support.
806
-
807
- * lib/nitro/controller.rb: keep classdef_file with inherited. [mneumann]
808
-
809
- * lib/og/*: cleaned up by removing Og::*.
810
-
811
- * lib/og/meta.rb (MetaUtils#resolve_class): implemented.
812
-
813
- * lib/nitro/events.rb: deprecated, rails-style filter achieve the same effect
814
- more elegantly and more optimized.
815
-
816
- * lib/og/backends/mysql.rb (#deserialize_all): return [] if no rows. [mneumann]
817
-
818
- * lib/og/backends/psql.rb (#deserialize_all): return [] if no rows. [mneumann]
819
-
820
- * lib/og/connection.rb: use meta[:has] instead of og_descendants.
821
-
822
- * test/tc_og.rb: added more tests.
823
-
824
- * lib/og/meta.rb (#belongs_to): add meta data [mneumann],
825
- (#has_one): add meta data - removed descndants [mneumann],
826
- (#has_many): add meta data - removed descendants [mneumann],
827
- (#many_to_many): add medata [mneumann],
828
- (#refers_to): add metadata, also ads :has metadata [mneuamann].
829
-
830
- * lib/og/enchant.rb: added Class.get alias. [mneumann]
831
-
832
- 28-01-2005 George Moschovitis <gm@navel.gr>
833
-
834
- * lib/nitro/localization.rb: renamed from l10n.rb,
835
- (Localization): introduced.
836
-
837
- * etc: removed.
838
-
839
- * RELEASES.og: updated.
840
-
841
- * RELEASES: updated.
842
-
843
- * README.og: updated.
844
-
845
- * lib/nitro/controller.rb (#method_missing): more flexible.
846
-
847
- * lib/nitro/render.rb (#compile_action): hack fixed non-action bug.
848
-
849
- * examples/no_xsl_blog/*: renamed from plainblog, converted,
850
- converted template.
851
-
852
- * lib/nitro/adaptors/runner.rb: implemented,
853
- Runner is used in all ctls.
854
-
855
- * lib/xsl/xforms.xsl: obsolete, removed.
856
-
857
- * lib/xsl/ui.xsl: obsolete, removed.
858
-
859
- * examples/flash/*: updated.
860
-
861
- * bin/proto: new and improved index page for the prototype
862
- application,
863
- added gfx and minimal help.
864
-
865
- * examples/tiny/*: use ctl.
866
-
867
- * lib/og/*: cleaned up some sourcefiles.
868
-
869
- * install.rb: introduced.
870
-
871
- * lib/og.rb (Og): cleaned up, use cattr_accessor for setup.
872
-
873
- * lib/og/backends/mysql.rb (#write_prop): fixed boolean.
874
-
875
- 28-01-2005 Michael Neumann <mneumann@ntecs.de>
876
-
877
- * lib/og/backends/psql.rb (#write_prop): fixed boolean.
878
-
879
- 27-01-2005 George Moschovitis <gm@navel.gr>
880
-
881
- * README: updated and fixed many bugs,
882
- updated features.
883
-
884
- * examples/blog/ctl: introduced,
885
- runs the WEBrick server,
886
- runs the Lighttpd server.
887
-
888
- * lib/og/backends/psql.rb (#read_prop): fixed boolean read [mneumann].
889
- fixed boolean type (tinyint).
890
-
891
- * lib/og/backends/psql.rb (#read_prop): fixed boolean read [mneumann].
892
-
893
- * lib/nitro/dispatcher (#dispatch): fixed bug.
894
-
895
- * some changes to make the tests pass again.
896
-
897
- * test/nitro/server: deprecated.
898
-
899
- * lib/nitro/ui/sitemap.rb: moved here!
900
-
901
- * lib/nitro/server.rb: deprecated.
902
-
903
- * lib/nitro/service.rb: deprecated.
904
-
905
- * lib/nitro/config.rb: deprecated.
906
-
907
- * lib/nitro/server/*: deprecated.
908
-
909
- 26-01-2005 George Moschovitis <gm@navel.gr>
910
-
911
- * lib/nitro/scaffold.rb: updated.
912
-
913
- * lib/nitro/dispatcher.rb (#dispatch): return content_type.
914
-
915
- * lib/nitro/context.rb (#fill): added.
916
-
917
- * lib/nitro/ui/pager.rb: updated for lates code.
918
-
919
- * lib/nitro/render.rb: request alias for context,
920
- (#redirect): fixed.
921
- (#render): raise when no controller found.
922
- (#render): fixed template extension selection,
923
- (#compile_action): don't set content_type.
924
-
925
- * lib/nitro/controller.rb: include Scaffolding, Filtering.
926
-
927
- * examples/blog/*: many changes to support new code,
928
- yeah, it kinda works!
929
- index session with symbols.
930
-
931
- * examples/blog/lib/*: changed sirectory structure.
932
-
933
- 25-01-2005 George Moschovitis <gm@navel.gr>
934
-
935
- * examples/blog/*: conversion to new code.
936
-
937
- * lib/nitro/render.rb: call Rendering.reset.
938
-
939
- * lib/glue/misc.rb (#delete_class_hierarchy): introduced.
940
-
941
- * lib/nitro/context.rb: lazy session lookup.
942
-
943
- * lib/nitro/adaptors/fastcgi.rb: no session lookup.
944
-
945
- * lib/nitro/adaptors/webrick.rb (#handle): no session lookup.
946
-
947
- * lib/nitro/shaders.rb (RubyShader#process): <include>-><render>
948
-
949
- * lib/nitro/dispatcher.rb (#dispatch): better handle tha base calc.
950
-
951
- * lib/nitro/buffering.rb: copied buffering code here.
952
-
953
- * lib/glue/flexob.rb: introduced.
954
-
955
- 24-01-2005 George Moschovitis <gm@navel.gr>
956
-
957
- * benchmark/nitro: added first benchmarks.
958
-
959
- * lib/nitro/adaptors/webrick.rb: works with new cookie code.
960
-
961
- * yeah, sessions and cookies work with fastcgi.
962
-
963
- * lib/nitro/cookie.rb: implemented.
964
-
965
- * lib/nitro/session.rb: converted to new cookie code.
966
-
967
- * lib/nitro/html.rb: deprecated.
968
-
969
- * lib/nitro/http.rb: deprecated.
970
-
971
- * lib/nitro/user.rb: deprecated.
972
-
973
- * test/nitro/adaptors/tc_cgi.rb: introduced.
974
-
975
- * lib/nitro/adaptors/cgi.rb: introduced.
976
- (CgiUtils): introduced.
977
- (CgiUtils#parse_query_string): implemented.
978
- (CgiUtils#parse_cookies): implemented.
979
- (CgiUtils#response_headers): implemented.
980
-
981
- * examples/tiny: cleanup, new dir structure.
982
-
983
- * examples/tiny/conf/nitro.conf.rb: introduced.
984
-
985
- * examples/tiny/conf/lhttpd.conf: introduced,
986
- improved redirect scheme, keeps request_uri correct!
987
-
988
- * examples/tiny/conf: introduced.
989
-
990
- * lib/glue/misc.rb (#silence_warnings): introduced.
991
-
992
- * create fastcgi redirect for lighthttpd.
993
-
994
- * lib/nitro/adaptors/fastcgi.rb: introduced,
995
- Wrapper Class like the webrick adaptor,
996
- parse query string.
997
-
998
- * lib/og/enchant.rb (#each): added iterator support [mneumann],
999
- include Enumeration [mneumann]
1000
-
1001
- 23-01-2005 George Moschovitis <gm@navel.gr>
1002
-
1003
- * examples/tiny: yeah, sessions work again.
1004
-
1005
- * lib/nitro/render.rb (#render): allow for nested calls.
1006
-
1007
- * lib/nitro/context.rb: store conf.
1008
- first cut of session code.
1009
-
1010
- * lib/nitro/adaptor/webrick.rb: better handling of conf,
1011
- extend WEBrick::HTTPResponse to make compatible with Nitro.
1012
-
1013
- * lib/nitro/controller.rb (#method_missing): moved here.
1014
-
1015
- * test/nitro/tc_session.rb: introduced.
1016
-
1017
- * lib/nitro/session.rb: introduced.
1018
- (#create_id): implemented.
1019
- (#lookup): implemented.
1020
- (Session): extend from Hash.
1021
-
1022
- 22-01-2005 George Moschovitis <gm@navel.gr>
1023
-
1024
- * lib/nitro/adaptors/webrick.rb: pass query.
1025
-
1026
- * lib/nitro.rb: added default requires.
1027
-
1028
- * examples/tiny/app2.rb: testbed for new Nitro.
1029
-
1030
- * lib/nitro/render.rb (RenderExit): defined again,
1031
- (#method_missing): ultracool remove_method trick to support script
1032
- reloading.
1033
-
1034
- * lib/nitro/adaptors/webrick.rb (#start): get and store conf.
1035
-
1036
- * lib/nitro/request.rb (#referer): added.
1037
-
1038
- * lib/nitro/context.rb: requires.
1039
-
1040
- 21-01-2005 George Moschovitis <gm@navel.gr>
1041
-
1042
- * lib/nitro/dispatcher.rb: keeps root dir.
1043
-
1044
- * stopped using N prefix all around.
1045
-
1046
- * lib/nitro/render.rb: fixed method_missing.
1047
- correct shader mattr.
1048
-
1049
- * lib/nitro/response.rb (#content_type=): implemented.
1050
-
1051
- * test/nitro/tc_controller.rb: introduced.
1052
-
1053
- 20-01-2005 George Moschovitis <gm@navel.gr>
1054
-
1055
- * lib/nitro/render.rb (OutputBuffering): moved output
1056
- buffering methods to a separate module.
1057
-
1058
- * lib/nitro/context.rb: includes Request/Response.
1059
-
1060
- * lib/nitro/request.rb: converted to module.
1061
-
1062
- * lib/nitro/response.rb: converted to module.
1063
-
1064
- * lib/nitro/adaptors/webrick.rb (#handle): streamlined
1065
- using Context.
1066
-
1067
- * test/nitro/tc_dispatcher.rb: introduced.
1068
-
1069
- * lib/nitro/mail.rb: use mattr.
1070
-
1071
- * lib/nitro/controller.rb: introduced.
1072
-
1073
- * lib/nitro/dispatcher.rb (resolve_path): changed return order,
1074
- encode api in the action,
1075
- (#dispatch): renamed from resolve_path,
1076
- only returns cklass and action.
1077
- (#add_api): support for multi-api dispatchers.
1078
-
1079
- 19-01-2005 George Moschovitis <gm@navel.gr>
1080
-
1081
- * lib/nitro/render.rb: no params,
1082
- (Rendering): added mattrs,
1083
-
1084
- * lib/nitro/shaders.rb: moved outside.
1085
-
1086
- 18-01-2005 George Moschovitis <gm@navel.gr>
1087
-
1088
- * lib/nitro/render.rb: introduced new version.
1089
-
1090
- * lib/nitro/request.rb (#method): implemented,
1091
- (#remote_ip): implemented.
1092
- implemented more methods.
1093
-
1094
- 17-01-2005 George Moschovitis <gm@navel.gr>
1095
-
1096
- * lib/glue.rb: define module N.
1097
-
1098
- * lib/nitro/filters: introduced.
1099
-
1100
- * lib/nitro/server/dispatcher.rb: don't use $og.
1101
-
1102
- * lib/nitro/adaptors/webrick: new implementation.
1103
- (WebrickAdaptor): introduced.
1104
- (Webrick#start): introtuced.
1105
-
1106
- * lib/nitro/server/filters: deprecated.
1107
-
1108
- * lib/nitro/server/filters.rb: deprecated.
1109
-
1110
- * cleaned up many files.
1111
-
1112
- * lib/nitro/server/handlers.rb: deprecated.
1113
-
1114
- * lib/nitro/server/fragment.rb: deprecated.
1115
-
1116
- * lib/nitro/server/script.rb: deprecated.
1117
-
1118
- * updated svn repository.
1119
-
1120
- 16-01-2005 George Moschovitis <gm@navel.gr>
1121
-
1122
- * lib/nitro/adaptors: introduced.
1123
-
1124
- * examples/plainblog/README: updated docs.
1125
-
1126
- * examples/plainblog/lib/template.rb: implemented.
1127
- Yeah, the plainblog example works without xslt.
1128
-
1129
- * examples/plainblog: introduced,
1130
- converted all pages to the simple templating system.
1131
-
1132
- 15-01-2005 George Moschovitis <gm@navel.gr>
1133
-
1134
- * cleaned up many files.
1135
-
1136
- * lib/nitro/application.rb: cleanup.
1137
-
1138
- 14-01-2005 George Moschovitis <gm@navel.gr>
1139
-
1140
- * test/tc_og.rb: added more tests.
1141
-
1142
- * lib/og/version: no more a global variable.
1143
-
1144
- * test/glue/tc_property.rb: test for macro params.
1145
-
1146
- * lib/glue/property.rb (PropertyUtils#resolve_prop_params):
1147
- factors out common code between the propXXX methods,
1148
- extra checks for the params,
1149
- removed dupplicate code from propXXX methods [mneumann].
1150
-
1151
- * lib/og/enchant.rb (#enchant): #create captures the given block
1152
- and propagates to the objects constructor.
1153
-
1154
- * AUTHORS: updated.
1155
-
1156
- * lib/og/meta.rb (MetaLanguage#refers_to): implemented [mneumann].
1157
- (#has_one): creates delete_xxx method.
1158
- (#has_many): creates delete_all_xxx method.
1159
- removed del_xxx alias [mneumann].
1160
-
1161
- * examples/og/run.rb: use delete_xxx in many_to_many [mneumann].
1162
-
1163
- 14-01-2005 Michael Neumann <mneumann@ntecs.de>
1164
-
1165
- * lib/glue/property.rb (#prop): changed expansion to allow for
1166
- macro parameters.
1167
-
1168
- 13-01-2005 George Moschovitis <gm@navel.gr>
1169
-
1170
- * lib/og.rb: Og.include_meta_language by default is FALSE [mneumann].
1171
-
1172
- * lib/glue/property.rb (PropertyUtils#include_meta_mixins): introduced.
1173
- (#prop): include Og::MetaLanguage.
1174
-
1175
- 12-01-2005 George Moschovitis <gm@navel.gr>
1176
-
1177
- * --- VERSION 0.8.0 ---
1178
-
1179
- * RELEASES.og: updated.
1180
-
1181
- * RELEASES: updated.
1182
-
1183
- * README: updated.
1184
-
1185
- * README.og: updated.
1186
-
1187
- * lib/glue/property.rb (#prop): include N::Validation when appending
1188
- a managed module.
1189
-
1190
- * examples/blog/root/entr_form.xhtml: added error reporting.
1191
-
1192
- * found out NASTY reload bug, temporarily dissabled!
1193
-
1194
- * lib/glue/logger.rb: (Logger#error): added.
1195
-
1196
- * lib/server/render.rb: improved source,
1197
- (#render): dissabled reloading.
1198
- (#redirect_referer): optional postfix.
1199
-
1200
- * lib/nitro/markup.rb: fixed namespace,
1201
- (#expand/#compact): excluded wiki markup from default.
1202
-
1203
- * examples/blog/config.rb: require markup, validation.
1204
-
1205
- * examples/blog/root/style.xsl: <x:error> introduced.
1206
-
1207
- * examples/blog/lib/blog.rb: extend from content,
1208
- use auto markup functionality,
1209
- thanks for the magic of auto markup, comments get
1210
- expanded correctly now, for free :),
1211
- (#new_entry): added validation/error reporting!
1212
- (#get_errors): useful prefilter,
1213
- (Common): made this a module (mixin).
1214
-
1215
- 11-01-2005 George Moschovitis <gm@navel.gr>
1216
-
1217
- * test/glue/tc_validation.rb (#test_validate_length): implemented.
1218
- cooler, all tests pass.
1219
-
1220
- * lib/glue/validation.rb (#validate_length): implemented,
1221
- allow sprintf style error messages,
1222
- (#validate_inclusion): implemented.
1223
-
1224
- 10-01-2005 George Moschovitis <gm@navel.gr>
1225
-
1226
- * test/nitro/builders/tx_xhtml.rb: introduced,
1227
- yeah, cases pass :)
1228
-
1229
- * lib/og/enchant.rb (#enchant): #one alias for #select_one [mneumann].
1230
-
1231
- * lib/nitro/builders/xhtml.rb: introduced.
1232
- (#options): implemented,
1233
- (#select): implemented.
1234
-
1235
- * lib/nitro/builders/xml.rb (#method_missing): added support
1236
- for blocks in tags,
1237
- (#comment): implemented.
1238
-
1239
- 09-01-2005 George Moschovitis <gm@navel.gr>
1240
-
1241
- * test/nitro/builders/tc_xml.rb: introduced,
1242
- (#test_missing): implemented.
1243
-
1244
- * lib/nitro/builders/xml.rb: introduced,
1245
- (#start_tag, #end_tag): implemented.
1246
- (#method_missing): implemented,
1247
- (XmlBuilder): implemented.
1248
-
1249
- * vendor/blankslate.rb: integrated blankslate lib by
1250
- Jim Weirich <jim@weirichhouse.org> [jweirich].
1251
-
1252
- 08-01-2005 George Moschovitis <gm@navel.gr>
1253
-
1254
- * lib/glue/vaildation.rb (#validate_confirmation): implemented,
1255
- (MetaLanguage): customization options,
1256
- (#validate_value): implemented,
1257
-
1258
- 07-01-2005 George Moschovitis <gm@navel.gr>
1259
-
1260
- * test/glue/tc_validation.rb: implemented many tests.
1261
-
1262
- * lib/glue/property.rb (#prop): auto include the N::Validation module
1263
- in the parent class if defined!
1264
- (PropertyUtils#get_prop): implemented.
1265
-
1266
- * lib/glue/validation.rb (Validation::Errors): introduced,
1267
- empty, size, add methods.
1268
- recoded validation code and now works!
1269
- (eval_validate): fixed for multiple objects.
1270
- (Validation::Errors): keep error strings here.
1271
- (MetaLanguage): introduced.
1272
- MEGA: use meta :validations to store validations!
1273
- (Validation::Errors): each, clear.
1274
-
1275
- 05-01-2005 George Moschovitis <gm@navel.gr>
1276
-
1277
- * test/*: cleaned up some unit tests.
1278
-
1279
- * lib/*: removed all $log references!
1280
-
1281
- * lib/glue/*: use N:: prefix for all files.
1282
-
1283
- 04-01-2005 George Moschovitis <gm@navel.gr>
1284
-
1285
- * test/glue/tc_attribute.rb: implemented.
1286
-
1287
- * lib/glue/attribute.rb: introduced,
1288
- default value for module/class attributes.
1289
-
1290
- * lib/glue/validation.rb: introduced,
1291
- (Validation#validate_format): implemented.
1292
- (Validator): introduced,
1293
- (Validator#eval_validation_method): introduced.
1294
-
1295
- * README: running units section.
1296
-
1297
- 03-01-2005 George Moschovitis <gm@navel.gr>
1298
-
1299
- * lib/nitro/builders/form.rb (#render): emmit id's to make
1300
- the generated forms more style-able.
1301
-
1302
- * lib/glue.rb: removed EMPTY_STRING constant [mneumann].
1303
-
1304
- * Rakefile: include vendor in Og distribution.
1305
-
1306
- 02-01-2005 George Moschovitis <gm@navel.gr>
1307
-
1308
- * vendor/extensions: integrated extensions library by
1309
- Gavin Sinclair <gsinclair@soyabean.com.au>
1310
-
1311
- * test/glue/tc_logger.rb: introduced.
1312
-
1313
- * lib/og.rb: removed logger methods.
1314
-
1315
- * lib/glue/logger.rb: added static methods and global logger,
1316
- (#i, #d): removed.
1317
- (#trace): added trace method from dev-utils by
1318
- Gavin Sinclair <gsinclair@soyabean.com.au>,
1319
- fixed Binding.of_caller bug.
1320
- (#get): implemented.
1321
-
1322
- 01-01-2005 George Moschovitis <gm@navel.gr>
1323
-
1324
- * started using the $:.unshift File.join trick.
1325
-
1326
- 30-12-2004 George Moschovitis <gm@navel.gr>
1327
-
1328
- * lib/og/mock.rb: include Og::Enchant,
1329
- some more fixes to make this work.
1330
-
1331
- * lib/og/enchant.rb: introduced, factors out some code used
1332
- by the MockDatabase.
1333
-
1334
- * lib/og/*: converted to new code.
1335
-
1336
- * lib/og/meta.rb: don't use $og. [mneumann]
1337
-
1338
- * lib/og.rb: made Og a class,
1339
- removed $og_xx_xx options, use class methods [mneumann]
1340
- (Og##use): introduced.
1341
- (#enchant): use Og.db.connection.
1342
- (Database): create!/drop! aliases,
1343
- include Og::Enchant.
1344
- introduced Og.log.
1345
-
1346
- 29-12-2004 George Moschovitis <gm@navel.gr>
1347
-
1348
- * lib/og/mysql.rb: removed Og::Utils, integrated methods in Backend.
1349
-
1350
- * lib/og/psql.rb: removed Og::Utils, integrated methods in Backend.
1351
-
1352
- * lib/og/backend.rb: removed Og::Utils, integrated methods in Backend,
1353
- to allow for multiple backend is one App [bcandler].
1354
-
1355
- * lib/og.rb (#enchant): enchant methods DONT use $og anymmore. [mneumann]
1356
-
1357
- * AUTHORS: updated.
1358
-
1359
- * examples/og/mysql_to_psql.rb: introduced and implemented.
1360
-
1361
- 27-12-2004 George Moschovitis <gm@navel.gr>
1362
-
1363
- * lib/parts/content.rb (CreateTime): introduced.
1364
-
1365
- * lib/parts/README: introduced.
1366
-
1367
- * --- VERSION 0.7.0 ---
1368
-
1369
- * lib/og/mock.rb: fix, don't wrap methods.
1370
-
1371
- * Rakefile: fix.
1372
-
1373
- 26-12-2004 George Moschovitis <gm@navel.gr>
1374
-
1375
- * lib/nitro/server/render.rb (#compile_xxx_method): better handling
1376
- of redirects,
1377
- (RenderExit): introduced,
1378
- (#redirect): rewritten, raise RenderExit.
1379
-
1380
- * lib/nitro/markup.rb (PropertyUtils#prop_setter): override.
1381
- (#markup): removed.
1382
- (#expand, #narrow): fixed,
1383
- YEAH, markup works.
1384
-
1385
- * lib/glue/property.rb (PropertyUtils#prop_setter): factored out.
1386
-
1387
- * lib/nitro/markup.rb: narrow -> compact (better english) [knasis].
1388
-
1389
- 25-12-2004 George Moschovitis <gm@navel.gr>
1390
-
1391
- * MERRY XMAS :)
1392
-
1393
- 22-12-2004 George Moschovitis <gm@navel.gr>
1394
-
1395
- * lib/nitro/markup.rb: introduced,
1396
- (#markup): implemented.
1397
-
1398
- * lib/nitro/server/render.rb: stop the pipeline if return false,
1399
- fixed redirect bug.
1400
-
1401
- * lib/nitro/server/dispatcher.rb: dump rendering_errors in error page.
1402
-
1403
- * lib/parts/content.rb: working with modules,
1404
- (Markup): introduced.
1405
-
1406
- * lib/nitro/builders/form.rb: :ui modifier instead of :form,
1407
- (#render): handle the :markup meta data.
1408
-
1409
- * Rakefile: og distribution includes tests + Rakefile [tquas]
1410
-
1411
- 21-12-2004 George Moschovitis <gm@navel.gr>
1412
-
1413
- * lib/og/mock.rb: Call wrap methods.
1414
-
1415
- * test/glue/tc_property_mixins.rb: automanagement unit tests [by tquas],
1416
- made it pass.
1417
-
1418
- * test/og/tc_lifecycle.rb: lifecycle unit tests [by tquas]
1419
-
1420
- * lib/og/meta.rb (#has_many): enchant with add_XXX the container
1421
- class [mneumann].
1422
-
1423
- * test/tc_og.rb: added test for create.
1424
-
1425
- * Rakefile: add ChangeLog in og distribution.
1426
-
1427
- * lib/og/backend.rb (#table): use the $og_table_prefix.
1428
-
1429
- * lib/og.rb: $og_table_prefix,
1430
- (#enchant): use module_eval with __FILE__, __LINE__,
1431
- (#enchant): add create method [mneumann]
1432
-
1433
- * README: updated with breakpoint info.
1434
-
1435
- * lib/og/mock.rb: fixed [tquas].
1436
-
1437
- * vendor: added 'breakpoint' by Florian Gross [fgross].
1438
- tested breakpoint integration, it works!
1439
-
1440
- 20-12-2004 George Moschovitis <gm@navel.gr>
1441
-
1442
- * test/glue/tc_propert.rb: fixed test.
1443
-
1444
- * lib/glue/propery.rb: (#prop) totaly recoded, doesnt polute Module any
1445
- more,
1446
- (#__add_prop): recoded, gets target, no more reader, writer params.
1447
- use <<-"end_eval" to get better error reporting!
1448
- (#property): ultra cool append feature hack avoids passing @@__props from
1449
- a Module to the Class that includes it --> BLACK MAGIC.
1450
- (Property#enchant): implemented.
1451
- (PropertyUtils): introduced.
1452
- (PropertyUtils#add_prop): yeah, removed from Module!
1453
- (#meta): recoded.
1454
- (PropertyUtils#*): also handle meta.
1455
- (#inherit_meta): removed.
1456
- (#meta): fixed bug.
1457
- fix: no more @@__props redifen warnings when running with -w [tquas]
1458
-
1459
- * lib/og.rb: (#initialize): automanage classes that include a manageable
1460
- Module (hack),
1461
- (#convert): convert classes that include a manageable Module (hack).
1462
- (#convert): no need to call inherit_meta.
1463
-
1464
- 19-12-2004 George Moschovitis <gm@navel.gr>
1465
-
1466
- * benchmark/nitro: introduced.
1467
-
1468
- * benchmark/og: introduced.
1469
-
1470
- 18-12-2004 George Moschovitis <gm@navel.gr>
1471
-
1472
- * README: updated some texts,
1473
- added description of contents section.
1474
-
1475
- 17-12-2004 George Moschovitis <gm@navel.gr>
1476
-
1477
- * bin/new_app.rb: made win32 compatible.
1478
-
1479
- * lib/nitro/server/webrick.rb: win32 compatible.
1480
-
1481
- * bin/new_form.rb: introduced and implemented.
1482
-
1483
- * lib/nitro/builders/form.rb: require safehash,
1484
- better formatting.
1485
-
1486
- 16-12-2004 George Moschovitis <gm@navel.gr>
1487
-
1488
- * lib/og/meta.rb (many_to_many): changed API.
1489
-
1490
- * test/tc_og.rb: updated.
1491
-
1492
- * lib/og/backends/mysql.rb (#create_table): use create_fields,
1493
- NOT NULL in join tables.
1494
-
1495
- * lib/og/backends/psql.rb (#create_table): use create_fields,
1496
- NOT NULL in join tables.
1497
-
1498
- * lib/og/backend.rb (#create_fields): implemented,
1499
- also use :extra_sql modifier [req tquas].
1500
-
1501
- 15-12-2004 George Moschovitis <gm@navel.gr>
1502
-
1503
- * bin/new_app.rb: handle trailing '/'.
1504
-
1505
- * bin/proto/root/style.css: cleaned up.
1506
-
1507
- * bin/proto/root/style.xsl: cleaned up.
1508
-
1509
- * bin/proto/root/index.xhtml: cleaned up.
1510
-
1511
- * lib/parts/content.rb: introduced,
1512
- (Content): introduced,
1513
- (Category): introduced,
1514
- (ACL): introduced.
1515
-
1516
- * lib/og/meta.rb: changed has_one signature [patch by tquas]
1517
-
1518
- * examples/og/mock_example.rb: introduced,
1519
- improved, added test-unit code.
1520
-
1521
- * lib/og/mock.rb: implemented mock database. [patch by tquas]
1522
-
1523
- 14-12-2004 George Moschovitis <gm@navel.gr>
1524
-
1525
- * examples/blog/root/style.xsl: fixed a bug.
1526
-
1527
- 13-12-2004 George Moschovitis <gm@navel.gr>
1528
-
1529
- * lib/shaders.rb (RubyShader): added support for statically including
1530
- files.
1531
-
1532
- * lib/server/render.rb (RenderUtils): dump method helps in debugging.
1533
-
1534
- * examples/flash/lib/flash.rb: introduced service,
1535
- yeah with some SHITY ming code the example works.
1536
-
1537
- * examples/flash: introduced flash example.
1538
-
1539
- 10-12-2004 George Moschovitis <gm@navel.gr>
1540
-
1541
- * lib/og/backends/psql-pr.rb: introduced Postgres-PR backend.
1542
-
1543
- * --- VERSION 0.6.0 ---
1544
-
1545
- * bin/new_app.rb: remove .svn dirs.
1546
-
1547
- * final preparations for release.
1548
-
1549
- * ChangeLog: branched from 'doc/ChangeLog.1'.