ruby_ex 0.1.1
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 +51 -0
- data/ChangeLog +1763 -0
- data/NEWS +3 -0
- data/README +1 -0
- data/Rakefile +8 -0
- data/SPEC.dyn.yml +10 -0
- data/SPEC.gem.yml +269 -0
- data/SPEC.yml +36 -0
- data/src/abstract.rb +253 -0
- data/src/abstract_node.rb +85 -0
- data/src/algorithms.rb +12 -0
- data/src/algorithms/simulated_annealing.rb +142 -0
- data/src/ask.rb +100 -0
- data/src/attributed_class.rb +303 -0
- data/src/cache.rb +350 -0
- data/src/checkout.rb +12 -0
- data/src/choose.rb +271 -0
- data/src/commands.rb +20 -0
- data/src/commands/command.rb +492 -0
- data/src/commands/datas.rb +16 -0
- data/src/commands/datas/composite.rb +31 -0
- data/src/commands/datas/data.rb +65 -0
- data/src/commands/datas/factory.rb +69 -0
- data/src/commands/datas/temp.rb +26 -0
- data/src/commands/factory.rb +67 -0
- data/src/commands/helpers.rb +81 -0
- data/src/commands/pipe.rb +66 -0
- data/src/commands/runners.rb +16 -0
- data/src/commands/runners/exec.rb +50 -0
- data/src/commands/runners/fork.rb +130 -0
- data/src/commands/runners/runner.rb +140 -0
- data/src/commands/runners/system.rb +57 -0
- data/src/commands/seq.rb +32 -0
- data/src/config_file.rb +95 -0
- data/src/const_regexp.rb +57 -0
- data/src/daemon.rb +135 -0
- data/src/diff.rb +665 -0
- data/src/dlogger.rb +62 -0
- data/src/drb/drb_observable.rb +95 -0
- data/src/drb/drb_observable_pool.rb +27 -0
- data/src/drb/drb_service.rb +44 -0
- data/src/drb/drb_undumped_attributes.rb +56 -0
- data/src/drb/drb_undumped_indexed_object.rb +55 -0
- data/src/drb/insecure_protected_methods.rb +101 -0
- data/src/drb_ex.rb +12 -0
- data/src/dumpable_proc.rb +57 -0
- data/src/filetype.rb +229 -0
- data/src/generate_id.rb +44 -0
- data/src/histogram.rb +222 -0
- data/src/hookable.rb +283 -0
- data/src/hooker.rb +54 -0
- data/src/indexed_node.rb +65 -0
- data/src/io_marshal.rb +99 -0
- data/src/ioo.rb +193 -0
- data/src/labeled_node.rb +62 -0
- data/src/logger_observer.rb +24 -0
- data/src/md5sum.rb +70 -0
- data/src/module/autoload_tree.rb +65 -0
- data/src/module/hierarchy.rb +334 -0
- data/src/module/instance_method_visibility.rb +71 -0
- data/src/node.rb +81 -0
- data/src/object_monitor.rb +143 -0
- data/src/object_monitor_activity.rb +34 -0
- data/src/observable.rb +138 -0
- data/src/observable_pool.rb +291 -0
- data/src/orderedhash.rb +252 -0
- data/src/pp_hierarchy.rb +30 -0
- data/src/random_generators.rb +29 -0
- data/src/random_generators/random_generator.rb +33 -0
- data/src/random_generators/ruby.rb +25 -0
- data/src/ruby_ex.rb +124 -0
- data/src/safe_eval.rb +346 -0
- data/src/sendmail.rb +214 -0
- data/src/service_manager.rb +122 -0
- data/src/shuffle.rb +30 -0
- data/src/spring.rb +134 -0
- data/src/spring_set.rb +134 -0
- data/src/symtbl.rb +108 -0
- data/src/synflow.rb +474 -0
- data/src/thread_mutex.rb +11 -0
- data/src/timeout_ex.rb +79 -0
- data/src/trace.rb +26 -0
- data/src/uri/druby.rb +78 -0
- data/src/uri/file.rb +63 -0
- data/src/uri/ftp_ex.rb +36 -0
- data/src/uri/http_ex.rb +41 -0
- data/src/uri/pgsql.rb +136 -0
- data/src/uri/ssh.rb +87 -0
- data/src/uri/svn.rb +113 -0
- data/src/uri_ex.rb +71 -0
- data/src/verbose_object.rb +70 -0
- data/src/yaml/basenode_ext.rb +63 -0
- data/src/yaml/chop_header.rb +24 -0
- data/src/yaml/transform.rb +450 -0
- data/src/yaml/yregexpath.rb +76 -0
- data/test/algorithms/simulated_annealing_test.rb +102 -0
- data/test/check-pkg-ruby_ex.yml +15 -0
- data/test/check-ruby_ex.yml +12 -0
- data/test/resources/autoload_tree/A.rb +11 -0
- data/test/resources/autoload_tree/B.rb +10 -0
- data/test/resources/autoload_tree/foo/C.rb +18 -0
- data/test/resources/foo.txt +6 -0
- data/test/sanity-suite.yml +12 -0
- data/test/sanity/multiple-requires.yml +20 -0
- data/test/sanity/single-requires.yml +24 -0
- data/test/test-unit-setup.rb +6 -0
- data/test/unit-suite.yml +14 -0
- metadata +269 -0
data/AUTHORS
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
---
|
2
|
+
RubyEx was written by and with the assistance of:
|
3
|
+
|
4
|
+
- Nicolas Despr�s <nicolas.despres@gmail.com>:
|
5
|
+
- Maintenance
|
6
|
+
- Abstract
|
7
|
+
- Node, AbstractNode, LabeledNode, IndexedNode
|
8
|
+
- ConfigFile
|
9
|
+
- ConstRegexp
|
10
|
+
- Daemon
|
11
|
+
- Diff
|
12
|
+
- generate_id
|
13
|
+
- IO::Marshal
|
14
|
+
- logger_observer
|
15
|
+
- md5sum for Pathname, and File
|
16
|
+
- ObjectMonitor
|
17
|
+
- object_monitor_activity
|
18
|
+
- Observable, Observable_pool
|
19
|
+
- Module#{autoload_tree,hierarchy,instance_method_visibility}
|
20
|
+
- pp_hierarchy
|
21
|
+
- SafeEval
|
22
|
+
- ServiceManager
|
23
|
+
- Spring, SpringSet
|
24
|
+
- DRb::{DRbObservable*,DRbService,DRbUndumped*,InsecureProtectedMethods}
|
25
|
+
- TimeoutEx
|
26
|
+
- trace
|
27
|
+
- Test::Unit::UI::Yaml::TestRunner
|
28
|
+
- URI::DRuby
|
29
|
+
|
30
|
+
|
31
|
+
- Nicolas Pouillard <ertai@feydakins.org>:
|
32
|
+
- Maintenance
|
33
|
+
- Current repository administration
|
34
|
+
- AttributedClass
|
35
|
+
- Synflow
|
36
|
+
- Commands/*
|
37
|
+
- Checkout
|
38
|
+
- RandomGenerators
|
39
|
+
- *#choose
|
40
|
+
- *#shuffle
|
41
|
+
- URI::{File,PgSQL,Ssh,Svn}, and extend URI::{FTP,HTTP}
|
42
|
+
- FileType
|
43
|
+
- Sendmail
|
44
|
+
- Symtbl
|
45
|
+
- DumpableProc
|
46
|
+
- Histogram
|
47
|
+
- Hookable, Hooker
|
48
|
+
- IOO
|
49
|
+
- Add some builtin types to YAML
|
50
|
+
- Ask
|
51
|
+
- DLogger
|
data/ChangeLog
ADDED
@@ -0,0 +1,1763 @@
|
|
1
|
+
2005-06-03 Nicolas Pouillard <ertai@lrde.epita.fr>
|
2
|
+
|
3
|
+
* SPEC.dyn.yml: New release.
|
4
|
+
* core_ex/lib/core_ex/rakefile_base.rf: Fix rake tag and rake
|
5
|
+
publish_doc.
|
6
|
+
* SPEC.yml: Update.
|
7
|
+
|
8
|
+
2005-06-03 Nicolas Pouillard <ertai@lrde.epita.fr>
|
9
|
+
|
10
|
+
* core_ex/lib/core_ex/rakefile_base.rf: Bug fixes.
|
11
|
+
* core_ex/SPEC.yml: Update.
|
12
|
+
* core_ex/SPEC.dyn.yml: New release.
|
13
|
+
|
14
|
+
2005-06-03 Nicolas Pouillard <ertai@lrde.epita.fr>
|
15
|
+
|
16
|
+
* unstable/cache.rb: Move to ...
|
17
|
+
* src/cache.rb: ... this. Update to TempPath.
|
18
|
+
|
19
|
+
2005-06-03 Nicolas Pouillard <ertai@lrde.epita.fr>
|
20
|
+
|
21
|
+
* core_ex/lib/core_ex/pathname.rb: Add Pathname#mv.
|
22
|
+
|
23
|
+
2005-06-03 Nicolas Pouillard <ertai@lrde.epita.fr>
|
24
|
+
|
25
|
+
* core_ex/lib/core_ex/pathname.rb:
|
26
|
+
Fix a bug with the block return value.
|
27
|
+
|
28
|
+
2005-06-02 Nicolas Pouillard <ertai@lrde.epita.fr>
|
29
|
+
|
30
|
+
* test/algorithms/simulated_annealing_test.rb: No more use directly
|
31
|
+
the YAML stream.
|
32
|
+
|
33
|
+
2005-06-02 Nicolas Pouillard <ertai@lrde.epita.fr>
|
34
|
+
|
35
|
+
* src/drb/insecure_protected_methods.rb: Stop the server only if it
|
36
|
+
exists.
|
37
|
+
|
38
|
+
2005-06-02 Nicolas Pouillard <ertai@lrde.epita.fr>
|
39
|
+
|
40
|
+
* test/unit-suite.yml: No more export the core_ex symbol.
|
41
|
+
* test/sanity/multiple-requires.yml,
|
42
|
+
* test/sanity/single-requires.yml:
|
43
|
+
: No more put core_ex in the load path.
|
44
|
+
* test/check-ruby_ex.yml: Do not check core_ex, it's independant.
|
45
|
+
* test/test-unit-setup.rb: Fix a require.
|
46
|
+
* SPEC.dyn.yml: Update revision.
|
47
|
+
|
48
|
+
2005-06-01 Nicolas Pouillard <ertai@lrde.epita.fr>
|
49
|
+
|
50
|
+
* test/check-pkg-ruby_ex.yml: New.
|
51
|
+
* SPEC.dyn.yml: New.
|
52
|
+
* NEWS: New.
|
53
|
+
* README: New.
|
54
|
+
* AUTHORS: Fix the syntax.
|
55
|
+
* core_ex/test/resources/autoload_tree: Move to ...
|
56
|
+
* test/resources/autoload_tree: ... here.
|
57
|
+
* src/pp_hierarchy.rb, src/ask.rb, src/timeout_ex.rb,
|
58
|
+
* src/indexed_node.rb, src/logger_observer.rb, src/ioo.rb,
|
59
|
+
* src/orderedhash.rb, src/thread_mutex.rb,
|
60
|
+
* src/object_monitor_activity.rb, src/service_manager.rb,
|
61
|
+
* src/verbose_object.rb, src/sendmail.rb, src/attributed_class.rb,
|
62
|
+
* src/labeled_node.rb, src/synflow.rb, src/spring.rb,
|
63
|
+
* src/config_file.rb, src/algorithms/simulated_annealing.rb,
|
64
|
+
* src/abstract_node.rb, src/md5sum.rb, src/dumpable_proc.rb,
|
65
|
+
* src/observable_pool.rb, src/object_monitor.rb, src/ruby_ex.rb,
|
66
|
+
* src/io_marshal.rb, src/filetype.rb, src/module/hierarchy.rb,
|
67
|
+
* src/module/autoload_tree.rb,
|
68
|
+
* src/module/instance_method_visibility.rb, src/dlogger.rb,
|
69
|
+
* src/hookable.rb, src/observable.rb, src/node.rb, src/safe_eval.rb,
|
70
|
+
* src/uri_ex.rb, src/histogram.rb, src/yaml/basenode_ext.rb,
|
71
|
+
* src/yaml/yregexpath.rb, src/yaml/chop_header.rb,
|
72
|
+
* src/yaml/transform.rb, src/const_regexp.rb, src/commands.rb,
|
73
|
+
* src/abstract.rb, src/daemon.rb, src/drb/drb_undumped_attributes.rb,
|
74
|
+
* src/drb/drb_undumped_indexed_object.rb, src/drb/drb_service.rb,
|
75
|
+
* src/drb/insecure_protected_methods.rb, src/drb/drb_observable.rb,
|
76
|
+
* src/generate_id.rb, src/diff.rb, src/random_generators.rb,
|
77
|
+
* src/symtbl.rb: require 'ruby_ex' instead of 'core_ex'.
|
78
|
+
|
79
|
+
2005-06-01 Nicolas Pouillard <ertai@lrde.epita.fr>
|
80
|
+
|
81
|
+
* Rakefile: Use the CoreExt via gems.
|
82
|
+
* core_ex/lib/core_ex/rakefile_base.rf: Little fix in publsh_package.
|
83
|
+
* SPEC.yml: Remove dependencies, add rubyforge_project..
|
84
|
+
|
85
|
+
2005-06-01 Nicolas Pouillard <ertai@lrde.epita.fr>
|
86
|
+
|
87
|
+
* core_ex/lib/core_ex/rakefile_base.rf: Fix the tag task.
|
88
|
+
|
89
|
+
2005-06-01 Nicolas Pouillard <ertai@lrde.epita.fr>
|
90
|
+
|
91
|
+
* core_ex/lib/core_ex/rakefile_base.rf: Improve `distcheck', add
|
92
|
+
`publish_package', and more say/ask/agree.
|
93
|
+
* core_ex/test/check-core_ext.yml: Rename to ...
|
94
|
+
* core_ex/test/check-core_ex.yml: ... this.
|
95
|
+
* core_ex/test/check-pkg-core_ext.yml: Rename to ...
|
96
|
+
* core_ex/test/check-pkg-core_ex.yml: ... this.
|
97
|
+
* core_ex/test/resources/use-from-gems.rb: New.
|
98
|
+
* core_ex/SPEC.yml: Add tags_dir, rubyforge_project, remove
|
99
|
+
dependencies.
|
100
|
+
|
101
|
+
2005-06-01 Nicolas Pouillard <ertai@lrde.epita.fr>
|
102
|
+
|
103
|
+
* Rakefile: New.
|
104
|
+
* AUTHORS: New.
|
105
|
+
* SPEC.yml: New.
|
106
|
+
* vcs/ruby_ex.rb: Use rake check to check ruby_ex.
|
107
|
+
|
108
|
+
2005-06-01 Nicolas Pouillard <ertai@lrde.epita.fr>
|
109
|
+
|
110
|
+
* test/check-ruby_ex.yml: New.
|
111
|
+
* test/unit-suite.yml: New.
|
112
|
+
* test/test-unit-setup.rb: New.
|
113
|
+
* test/sanity-suite.yml: New.
|
114
|
+
* test/sanity/multiple-requires.yml: New.
|
115
|
+
* test/sanity/single-requires.yml: New.
|
116
|
+
* test/resources: .
|
117
|
+
* test/resources/foo.txt: New.
|
118
|
+
|
119
|
+
2005-06-01 Nicolas Pouillard <ertai@lrde.epita.fr>
|
120
|
+
|
121
|
+
* src/ruby_ex.rb: New.
|
122
|
+
* src/drb_ex.rb: New.
|
123
|
+
* src/algorithms.rb: New.
|
124
|
+
* src/module/hierarchy.rb, src/module/autoload_tree.rb,
|
125
|
+
* src/module/instance_method_visibility.rb: Restore.
|
126
|
+
* src/pp_hierarchy.rb src/ask.rb src/choose.rb src/timeout_ex.rb,
|
127
|
+
* src/indexed_node.rb src/logger_observer.rb src/ioo.rb,
|
128
|
+
* src/orderedhash.rb src/thread_mutex.rb,
|
129
|
+
* src/object_monitor_activity.rb src/service_manager.rb,
|
130
|
+
* src/sendmail.rb src/attributed_class.rb src/uri/ssh.rb,
|
131
|
+
* src/uri/file.rb src/uri/druby.rb src/uri/ftp_ex.rb,
|
132
|
+
* src/uri/http_ex.rb src/labeled_node.rb src/synflow.rb src/spring.rb,
|
133
|
+
* src/config_file.rb src/algorithms/simulated_annealing.rb,
|
134
|
+
* src/abstract_node.rb src/md5sum.rb src/dumpable_proc.rb,
|
135
|
+
* src/object_monitor.rb src/spring_set.rb src/observable_pool.rb,
|
136
|
+
* src/io_marshal.rb src/filetype.rb src/dlogger.rb src/observable.rb,
|
137
|
+
* src/hookable.rb src/safe_eval.rb src/node.rb src/uri_ex.rb,
|
138
|
+
* src/histogram.rb src/const_regexp.rb src/yaml/basenode_ext.rb,
|
139
|
+
* src/yaml/yregexpath.rb src/yaml/chop_header.rb src/yaml/transform.rb,
|
140
|
+
* src/commands.rb src/abstract.rb src/daemon.rb,
|
141
|
+
* src/drb/drb_undumped_attributes.rb,
|
142
|
+
* src/drb/drb_undumped_indexed_object.rb src/drb/drb_service.rb,
|
143
|
+
* src/drb/insecure_protected_methods.rb src/drb/drb_observable.rb,
|
144
|
+
* src/generate_id.rb src/random_generators/ruby.rb,
|
145
|
+
* src/random_generators/random_generator.rb src/diff.rb,
|
146
|
+
* src/random_generators.rb src/symtbl.rb: Update.
|
147
|
+
|
148
|
+
2005-06-01 Nicolas Pouillard <ertai@lrde.epita.fr>
|
149
|
+
|
150
|
+
* src/verbose_object.rb: Add Verbosify.
|
151
|
+
|
152
|
+
2005-06-01 Nicolas Pouillard <ertai@lrde.epita.fr>
|
153
|
+
|
154
|
+
* src/uri/pgsql.rb: Update and fix the test suite.
|
155
|
+
|
156
|
+
2005-06-01 Nicolas Pouillard <ertai@lrde.epita.fr>
|
157
|
+
|
158
|
+
* src/commands/command.rb: Add C::Command#sys, a verbose and strict
|
159
|
+
C::Command#system.
|
160
|
+
* src/commands/helpers.rb: Add {Object,String}#to_io_for_commands to
|
161
|
+
bypass the need of String#to_io.
|
162
|
+
* src/commands/datas/factory.rb: Use C::D::Temp as default class.
|
163
|
+
* src/commands/datas/data.rb: Add C::D#display.
|
164
|
+
* src/commands/runners/fork.rb: Update an error message.
|
165
|
+
* src/commands/runners/runner.rb: Use `to_io_for_commands'.
|
166
|
+
* src/commands/runners/exec.rb, src/commands/runners/system.rb,
|
167
|
+
* src/commands/datas.rb, src/commands/runners.rb,
|
168
|
+
* src/commands/pipe.rb, src/commands/factory.rb,
|
169
|
+
* src/commands/seq.rb, src/commands/datas/composite.rb,
|
170
|
+
* src/commands/datas/temp.rb: Update requires, and test sections.
|
171
|
+
|
172
|
+
2005-06-01 Nicolas Pouillard <ertai@lrde.epita.fr>
|
173
|
+
|
174
|
+
* src/queue.rb, src/pathname_ex.rb, src/mktemp.rb,
|
175
|
+
* src/yaml_ex.rb, src/session, src/session/test,
|
176
|
+
* src/session/test/administrable_test.rb,
|
177
|
+
* src/session/test/sub_server_test.rb,
|
178
|
+
* src/session/test/basic_test.rb,
|
179
|
+
* src/session/test/dispatcher_test.rb,
|
180
|
+
* src/session/test/fetchable_test.rb,
|
181
|
+
* src/session/fetchable.rb, src/session/administrable.rb,
|
182
|
+
* src/session/client.rb, src/session/fetcher.rb,
|
183
|
+
* src/session/profile.rb, src/session/hookable.rb,
|
184
|
+
* src/session/const.rb, src/session/dispatcher.rb,
|
185
|
+
* src/session/server.rb, src/session/error.rb,
|
186
|
+
* src/time_ex.rb, src/fileutils_ex.rb, src/exception.rb,
|
187
|
+
* src/enumerable_ex.rb, src/module_ex.rb, src/top_down.rb,
|
188
|
+
* src/dtime.rb, src/string_ex.rb, src/cache.rb,
|
189
|
+
* src/inactive_timeout.rb, src/test/unit/ui/yaml/testrunner.rb,
|
190
|
+
* src/pseudo_cache.rb, src/module/attr_once.rb, src/version.rb,
|
191
|
+
* src/drb/session_manager.rb, src/drb/session_client_test.rb,
|
192
|
+
* src/drb/dispatcher.rb, src/drb/session_server.rb,
|
193
|
+
* src/drb/dispatcher_server_test.rb, src/rakefile_base.rb,
|
194
|
+
* check-ruby_ex: Remove.
|
195
|
+
|
196
|
+
2005-06-01 Nicolas Pouillard <ertai@lrde.epita.fr>
|
197
|
+
|
198
|
+
* unstable/session/test/administrable_test.rb,
|
199
|
+
* unstable/session/test/sub_server_test.rb,
|
200
|
+
* unstable/session/test/basic_test.rb,
|
201
|
+
* unstable/session/test/dispatcher_test.rb,
|
202
|
+
* unstable/session/test/fetchable_test.rb,
|
203
|
+
* unstable/session/server.rb,
|
204
|
+
* unstable/pseudo_cache.rb,
|
205
|
+
* unstable/cache.rb,
|
206
|
+
* unstable/drb,
|
207
|
+
* unstable/drb/session_manager.rb,
|
208
|
+
* unstable/drb/session_client_test.rb,
|
209
|
+
* unstable/drb/dispatcher.rb,
|
210
|
+
* unstable/drb/session_server.rb,
|
211
|
+
* unstable/drb/dispatcher_server_test.rb,
|
212
|
+
* unstable/inactive_timeout.rb: Copied from /src.
|
213
|
+
|
214
|
+
2005-06-01 Nicolas Pouillard <ertai@lrde.epita.fr>
|
215
|
+
|
216
|
+
Rename CoreExt to CoreEx (and core_ext to core_ex).
|
217
|
+
|
218
|
+
2005-05-31 Nicolas Pouillard <ertai@lrde.epita.fr>
|
219
|
+
|
220
|
+
* core_ex/test/resources/yaml_testrunner/unit_test.rb:
|
221
|
+
Imported from ruby_ex.
|
222
|
+
* core_ex/lib/core_ex/rakefile_base.rf: Fix the realsing tasks.
|
223
|
+
* core_ex/lib/core_ex/require.rb: Factor the `not found' error.
|
224
|
+
* core_ex/test/check-pkg-core_ex.yml: New.
|
225
|
+
* core_ex/Rakefile: New.
|
226
|
+
* core_ex/SPEC.dyn.yml: New.
|
227
|
+
* core_ex/AUTHORS: New.
|
228
|
+
* core_ex/SPEC.yml: New.
|
229
|
+
* core_ex/NEWS: New.
|
230
|
+
* core_ex/README: New.
|
231
|
+
|
232
|
+
2005-05-31 Nicolas Pouillard <ertai@lrde.epita.fr>
|
233
|
+
|
234
|
+
* core_ex/test/check-core_ex.yml: New. Main suite.
|
235
|
+
|
236
|
+
* core_ex/test/unit-suite.yml: New. Unit Test Suite.
|
237
|
+
* core_ex/test/test-unit-setup.rb: New.
|
238
|
+
* core_ex/test/sanity-suite.yml: New. Sanity Suite.
|
239
|
+
* core_ex/test/sanity/multiple-requires.yml: New.
|
240
|
+
* core_ex/test/sanity/single-requires.yml: New.
|
241
|
+
|
242
|
+
* core_ex/test/resources/require/test_require_rb.rb: New.
|
243
|
+
* core_ex/test/resources/require/test_require: New.
|
244
|
+
* core_ex/test/resources/require/test_require_so.so: New.
|
245
|
+
|
246
|
+
2005-05-31 Nicolas Pouillard <ertai@lrde.epita.fr>
|
247
|
+
|
248
|
+
* core_ex/lib/core_ex.rb: New. The main CoreEx file, just require
|
249
|
+
it to have access to any components.
|
250
|
+
* core_ex/lib/core_ex/require.rb: New.
|
251
|
+
A new require system which extend the Ruby's one and provides more
|
252
|
+
safety in order to avoid redefinitions.
|
253
|
+
* core_ex/lib/core_ex/embedded_tests.rb: New.
|
254
|
+
Provides `test_section' to replace `if $0 == __FILE__ ...', and
|
255
|
+
test_mode to control these sections.
|
256
|
+
* core_ex/lib/core_ex/filelist.rb: New. Mainly a rake import.
|
257
|
+
|
258
|
+
* core_ex/lib/core_ex/test/unit/ui/yaml/testrunner.rb,
|
259
|
+
* core_ex/lib/core_ex/attr_once.rb,
|
260
|
+
* core_ex/lib/core_ex/enumerable.rb,
|
261
|
+
* core_ex/lib/core_ex/rakefile_base.rf,
|
262
|
+
* core_ex/lib/core_ex/temp_path.rb,
|
263
|
+
* core_ex/lib/core_ex/version.rb,
|
264
|
+
* core_ex/lib/core_ex/pathname.rb,
|
265
|
+
* core_ex/lib/core_ex/time.rb,
|
266
|
+
* core_ex/lib/core_ex/exception.rb,
|
267
|
+
* core_ex/lib/core_ex/fileutils.rb,
|
268
|
+
* core_ex/lib/core_ex/dtime.rb,
|
269
|
+
* core_ex/lib/core_ex/yaml.rb,
|
270
|
+
* core_ex/lib/core_ex/string.rb:
|
271
|
+
Imported from RubyEx, and updated to this new architecture.
|
272
|
+
|
273
|
+
2005-05-24 Nicolas Pouillard <ertai@lrde.epita.fr>
|
274
|
+
|
275
|
+
* src/time_ex.rb: Undef old methods Time#[+-].
|
276
|
+
|
277
|
+
2005-05-23 Nicolas Pouillard <ertai@lrde.epita.fr>
|
278
|
+
|
279
|
+
* src/dtime.rb: Add a to_f call on delta during the initialization.
|
280
|
+
|
281
|
+
2005-05-23 Nicolas Pouillard <ertai@lrde.epita.fr>
|
282
|
+
|
283
|
+
* src/rakefile_base.rb: Fix the SPEC.dyn.yml handling and release
|
284
|
+
tasks.
|
285
|
+
|
286
|
+
2005-05-23 Nicolas Pouillard <ertai@lrde.epita.fr>
|
287
|
+
|
288
|
+
* src/version.rb: Add `@build`, simplify `<=>', add
|
289
|
+
`{minor,major,build}_release', add `pp', add tests.
|
290
|
+
|
291
|
+
2005-05-23 Nicolas Pouillard <ertai@lrde.epita.fr>
|
292
|
+
|
293
|
+
* src/rakefile_base.rb: New.
|
294
|
+
|
295
|
+
2005-05-23 Nicolas Pouillard <ertai@lrde.epita.fr>
|
296
|
+
|
297
|
+
* src/dumpable_proc.rb: Move the Yaml !proc declaration to ...
|
298
|
+
* src/yaml_ex.rb: New. ... here, and add !re, !filelist, !path.
|
299
|
+
|
300
|
+
2005-05-23 Nicolas Pouillard <ertai@lrde.epita.fr>
|
301
|
+
|
302
|
+
* src/enumerable_ex.rb: Enumerable#fold now accept the each method to
|
303
|
+
apply. Add foldi, prod, and rec_fold.
|
304
|
+
* src/fold.rb: Remove.
|
305
|
+
|
306
|
+
2005-05-21 Nicolas Pouillard <ertai@lrde.epita.fr>
|
307
|
+
|
308
|
+
* src/histogram.rb: New. Provide some basic methods over equivalence
|
309
|
+
classes and frequences.
|
310
|
+
|
311
|
+
2005-05-21 Nicolas Pouillard <ertai@lrde.epita.fr>
|
312
|
+
|
313
|
+
* src/abstract_node.rb: Update a require.
|
314
|
+
* src/uri_ex.rb: Update the header.
|
315
|
+
|
316
|
+
2005-05-21 Nicolas Pouillard <ertai@lrde.epita.fr>
|
317
|
+
|
318
|
+
* src/enumerable_ex.rb: New. Provide fold, sum, and each_pair.
|
319
|
+
* src/array_each_pair.rb: Remove.
|
320
|
+
|
321
|
+
2005-05-17 Nicolas Pouillard <ertai@lrde.epita.fr>
|
322
|
+
|
323
|
+
* src/uri_ex.rb, src/uri/ssh.rb, src/uri/file.rb,
|
324
|
+
* src/uri/svn.rb: Use self.runner instead of @@runner.
|
325
|
+
* src/uri/pgsql.rb: Fix, clean and improve the option handling.
|
326
|
+
|
327
|
+
2005-05-17 Nicolas Pouillard <ertai@lrde.epita.fr>
|
328
|
+
|
329
|
+
* src/commands/command.rb: Improve Command#to_a.
|
330
|
+
* src/commands/datas/temp.rb: Set open modes on pathnames.
|
331
|
+
* src/commands/datas/factory.rb: Do not override by nil.
|
332
|
+
* src/commands/runners/fork.rb: Improve FailureHooker.
|
333
|
+
* src/commands/runners/runner.rb: Rename the VerboseHooker to
|
334
|
+
DebugHooker and add a new VerboseHooker, also provides make_verbose
|
335
|
+
and make debug..
|
336
|
+
|
337
|
+
2005-05-17 Nicolas Pouillard <ertai@lrde.epita.fr>
|
338
|
+
|
339
|
+
* src/uri_ex.rb: Add @@runner in URI::Generic.
|
340
|
+
* src/uri/ssh.rb, src/uri/file.rb, src/uri/svn.rb: Update to Commands.
|
341
|
+
* src/uri/pgsql.rb: New. Support #save to dump a database.
|
342
|
+
|
343
|
+
2005-05-17 Nicolas Pouillard <ertai@lrde.epita.fr>
|
344
|
+
|
345
|
+
* src/commands/command.rb: Add C::Command#[].
|
346
|
+
* src/commands/datas/temp.rb: New.
|
347
|
+
* src/commands/runners/fork.rb: Add the failure handling with a new
|
348
|
+
hooker.
|
349
|
+
* src/commands/runners/runner.rb: Make @command_data_factory an
|
350
|
+
accessor.
|
351
|
+
|
352
|
+
2005-05-17 Nicolas Pouillard <ertai@lrde.epita.fr>
|
353
|
+
|
354
|
+
* src/hooker.rb: A Hooker is a class not a just a module, so use
|
355
|
+
class_eval instead of module_eval.
|
356
|
+
* src/ask.rb: Update the header.
|
357
|
+
|
358
|
+
2005-05-17 Nicolas Pouillard <ertai@lrde.epita.fr>
|
359
|
+
|
360
|
+
* src/commands/pipe.rb: Use explicitly Kernel.fork instead of just fork.
|
361
|
+
* src/commands/command.rb: Command#system use the System runner, add
|
362
|
+
popen and fork, plan whereis, update and refactor the suite.
|
363
|
+
* src/commands/seq.rb: Use Datas::Composite.
|
364
|
+
* src/commands/datas/composite.rb: New.
|
365
|
+
* src/commands/datas/data.rb: Add waitpid, |, and a method_missing
|
366
|
+
delegation to the output stream.
|
367
|
+
* src/commands/runners/fork.rb: Fork no more does the waitpid.
|
368
|
+
* src/commands/runners/system.rb: New. Fork subclass which does the
|
369
|
+
waitpid
|
370
|
+
|
371
|
+
2005-05-17 Nicolas Pouillard <ertai@lrde.epita.fr>
|
372
|
+
|
373
|
+
* src/pathname_ex.rb: Remove cp_rf which does not exist in FileUtils.
|
374
|
+
* src/uri_ex.rb: Add URI::Generic#pathname=, a virtual
|
375
|
+
* URI::Generic#commit, and URI::Generic#add_query.
|
376
|
+
* src/uri/file.rb: Use pathname_ex.
|
377
|
+
|
378
|
+
2005-05-14 Nicolas Pouillard <ertai@lrde.epita.fr>
|
379
|
+
|
380
|
+
* src/pathname_ex.rb: Fix a ruby bug of Pathname#unlink (bug #1917).
|
381
|
+
|
382
|
+
2005-05-14 Nicolas Pouillard <ertai@lrde.epita.fr>
|
383
|
+
|
384
|
+
* src/algorithms/simulated_annealing.rb: Use the choose module.
|
385
|
+
* test/algorithms/simulated_annealing_test.rb: Update.
|
386
|
+
|
387
|
+
2005-05-13 Nicolas Pouillard <ertai@lrde.epita.fr>
|
388
|
+
|
389
|
+
* src/dtime.rb: DTime::diff to measure the duration of a block.
|
390
|
+
|
391
|
+
2005-05-13 Nicolas Pouillard <ertai@lrde.epita.fr>
|
392
|
+
|
393
|
+
* src/time_ex.rb: New.
|
394
|
+
Extend Time#-: Time - Time -> DTime and Time - DTime -> Time.
|
395
|
+
Extend Time#+: Time + DTime -> Time.
|
396
|
+
|
397
|
+
2005-05-13 Nicolas Pouillard <ertai@lrde.epita.fr>
|
398
|
+
|
399
|
+
* src/hookable.rb: Add a class ProcHooker which wrap a Proc to make it
|
400
|
+
a hooker and subscribe it.
|
401
|
+
|
402
|
+
2005-05-13 Nicolas Pouillard <ertai@lrde.epita.fr>
|
403
|
+
|
404
|
+
* src/commands/command.rb: C::Command#> and >> now support arrays as
|
405
|
+
argument, to allow redirection of the error output.
|
406
|
+
|
407
|
+
2005-05-12 Nicolas Pouillard <ertai@lrde.epita.fr>
|
408
|
+
|
409
|
+
Improve C::Command#+ and rename arg_list to args.
|
410
|
+
|
411
|
+
* src/commands/command.rb: C::Command#+ now supports to make a new
|
412
|
+
command with these arguments, and rename arg_list to args.
|
413
|
+
* src/commands/factory.rb: Update.
|
414
|
+
|
415
|
+
2005-05-12 Nicolas Pouillard <ertai@lrde.epita.fr>
|
416
|
+
|
417
|
+
* src/pathname_ex.rb: Add Pathname#to_path which returns self.
|
418
|
+
* src/commands/command.rb: Add C::Command#to_cmd which returns self.
|
419
|
+
|
420
|
+
2005-05-09 Nicolas Pouillard <ertai@lrde.epita.fr>
|
421
|
+
|
422
|
+
* src/verbose_object.rb: New. A basic class to monitor an object,
|
423
|
+
it removes all non __.*__ methods and replace them to a verbose call
|
424
|
+
to another object.
|
425
|
+
|
426
|
+
2005-05-09 Nicolas Pouillard <ertai@lrde.epita.fr>
|
427
|
+
|
428
|
+
Commands is a powerful way to run and manage commands.
|
429
|
+
|
430
|
+
Runners are designed to run your commands in different
|
431
|
+
ways (exec, fork...).
|
432
|
+
|
433
|
+
Datas represents the returned value of a command running.
|
434
|
+
With the exit status, outputs...
|
435
|
+
|
436
|
+
* src/commands.rb: New. The Commands module.
|
437
|
+
|
438
|
+
* src/commands/command.rb: New.
|
439
|
+
* src/commands/factory.rb: New.
|
440
|
+
* src/commands/seq.rb: New.
|
441
|
+
* src/commands/pipe.rb: New.
|
442
|
+
* src/commands/helpers.rb: New.
|
443
|
+
|
444
|
+
* src/commands/runners.rb: New. The Runners module.
|
445
|
+
* src/commands/runners/fork.rb: New.
|
446
|
+
* src/commands/runners/exec.rb: New.
|
447
|
+
* src/commands/runners/runner.rb: New.
|
448
|
+
|
449
|
+
* src/commands/datas.rb: New. The Datas module.
|
450
|
+
* src/commands/datas/factory.rb: New.
|
451
|
+
* src/commands/datas/data.rb: New.
|
452
|
+
|
453
|
+
2005-05-09 Nicolas Pouillard <ertai@lrde.epita.fr>
|
454
|
+
|
455
|
+
* src/shuffle.rb: New. This extension provieds an easy way to shuffle
|
456
|
+
ordered suturctures like Array.
|
457
|
+
|
458
|
+
2005-05-09 Nicolas Pouillard <ertai@lrde.epita.fr>
|
459
|
+
|
460
|
+
Add the choose method to many ruby classes.
|
461
|
+
|
462
|
+
This method allow to randomly choose a element of a set, an array, a
|
463
|
+
hash, a range; but also to choose an integer, a float, and others.
|
464
|
+
This method is based on RandomGenerators, to ease the use of an
|
465
|
+
another generator.
|
466
|
+
|
467
|
+
* src/choose.rb: New.
|
468
|
+
|
469
|
+
2005-05-09 Nicolas Pouillard <ertai@lrde.epita.fr>
|
470
|
+
|
471
|
+
* src/random_generators.rb: New. RandomGenerators is a new hierarchy
|
472
|
+
to deal with random generation.
|
473
|
+
* src/random_generators/random_generator.rb: New. The abstract class.
|
474
|
+
* src/random_generators/ruby.rb: New. Based on Kernel.rand.
|
475
|
+
|
476
|
+
2005-05-09 Nicolas Pouillard <ertai@lrde.epita.fr>
|
477
|
+
|
478
|
+
* src/module/autoload_tree.rb: Add autoloaded_module which just take,
|
479
|
+
the root file of a module and use autoload_tree.
|
480
|
+
|
481
|
+
2005-05-08 Nicolas Pouillard <ertai@lrde.epita.fr>
|
482
|
+
|
483
|
+
* src/hookable.rb: Separate instances hooking and classes hooking.
|
484
|
+
* src/hook.rb: Remove.
|
485
|
+
|
486
|
+
2005-05-08 Nicolas Pouillard <ertai@lrde.epita.fr>
|
487
|
+
|
488
|
+
* src/pathname_ex.rb: Add a shortcut (String#to_path), and an
|
489
|
+
accessor (open_mode) to control Pathname#to_io.
|
490
|
+
|
491
|
+
2005-05-06 Nicolas Pouillard <ertai@lrde.epita.fr>
|
492
|
+
|
493
|
+
* src/generate_id.rb: Clean up and test.
|
494
|
+
|
495
|
+
2005-05-06 Nicolas Pouillard <ertai@lrde.epita.fr>
|
496
|
+
|
497
|
+
* src/uri/file.rb: Ensure that no host is provided.
|
498
|
+
|
499
|
+
2005-05-05 Nicolas Pouillard <ertai@lrde.epita.fr>
|
500
|
+
|
501
|
+
* src/attributed_class.rb: Update the header.
|
502
|
+
|
503
|
+
2005-05-05 Nicolas Pouillard <ertai@lrde.epita.fr>
|
504
|
+
|
505
|
+
* src/pathname_ex.rb: Rename Ext to Ex.
|
506
|
+
|
507
|
+
2005-05-05 Nicolas Pouillard <ertai@lrde.epita.fr>
|
508
|
+
|
509
|
+
* src/abstract.rb: Add two shortcuts: abstract (and concrete) which
|
510
|
+
include Abstract (Concrete).
|
511
|
+
|
512
|
+
2005-05-05 Nicolas Pouillard <ertai@lrde.epita.fr>
|
513
|
+
|
514
|
+
* src/sendmail.rb: Fix the copyright.
|
515
|
+
|
516
|
+
2005-05-05 Nicolas Pouillard <ertai@lrde.epita.fr>
|
517
|
+
|
518
|
+
Add Hookable/Hooker a generic support for dynamic class hooking.
|
519
|
+
|
520
|
+
* src/hookable.rb: New.
|
521
|
+
You just need to include this module to your class, declare some
|
522
|
+
hooks, and trigger them a some useful places.
|
523
|
+
|
524
|
+
* src/hooker.rb: New.
|
525
|
+
Include this module to your class, declare some
|
526
|
+
methods to answer to some hooks, and subscribe you to an hookable
|
527
|
+
class.
|
528
|
+
|
529
|
+
* src/hook.rb: New.
|
530
|
+
|
531
|
+
2005-04-30 Nicolas Pouillard <ertai@lrde.epita.fr>
|
532
|
+
|
533
|
+
* src/uri/ssh.rb: Allow to add dynamic options in the uri.
|
534
|
+
|
535
|
+
2005-04-29 Nicolas Pouillard <ertai@lrde.epita.fr>
|
536
|
+
|
537
|
+
* src/pathname_ex.rb: Add Pathname#/, and clean up the test suite.
|
538
|
+
|
539
|
+
2005-04-28 Nicolas Pouillard <ertai@lrde.epita.fr>
|
540
|
+
|
541
|
+
* src/pathname_ex.rb: Add Pathname#rm_f based on a FileUtils call.
|
542
|
+
|
543
|
+
2005-04-28 Nicolas Pouillard <ertai@lrde.epita.fr>
|
544
|
+
|
545
|
+
* src/pathname_ex.rb: Add Pathname#rm_f based on a FileUtils call.
|
546
|
+
|
547
|
+
2005-04-26 Nicolas Pouillard <ertai@lrde.epita.fr>
|
548
|
+
|
549
|
+
* src/sendmail.rb: Fix the option parsing,
|
550
|
+
merge hash arguments and string arguments.
|
551
|
+
|
552
|
+
2005-04-26 Nicolas Pouillard <ertai@lrde.epita.fr>
|
553
|
+
|
554
|
+
* src/sendmail.rb: Typo, use `signed' instead of `from'.
|
555
|
+
|
556
|
+
2005-04-26 Nicolas Pouillard <ertai@lrde.epita.fr>
|
557
|
+
|
558
|
+
Add a generic algorithm for simulated annealing.
|
559
|
+
|
560
|
+
* src/algorithms/simulated_annealing.rb: New.
|
561
|
+
* test/algorithms/simulated_annealing_test.rb: New.
|
562
|
+
|
563
|
+
2005-04-23 Nicolas Pouillard <ertai@lrde.epita.fr>
|
564
|
+
|
565
|
+
* src/uri/ssh.rb: New. Handle checkout, save and commit for ssh://urls.
|
566
|
+
* src/uri/file.rb: Fix the file compression, and add commit.
|
567
|
+
* src/uri/svn.rb: Fix the scheme checking, and the TempPath argument.
|
568
|
+
* src/uri_ex.rb: Add the CommitError exception.
|
569
|
+
|
570
|
+
2005-04-23 Nicolas Pouillard <ertai@lrde.epita.fr>
|
571
|
+
|
572
|
+
* src/exception.rb: Add tiny_pp, and refactor the code.
|
573
|
+
* src/sendmail.rb: Initialize opts, and body.
|
574
|
+
|
575
|
+
2005-04-23 Nicolas Pouillard <ertai@lrde.epita.fr>
|
576
|
+
|
577
|
+
* src/sendmail.rb: New. A simple but powerful script
|
578
|
+
which allow to send mails, and sign them with PGP in
|
579
|
+
inlined format and mime format.
|
580
|
+
|
581
|
+
* src/yaml/chop_header.rb:
|
582
|
+
New. Extract a yaml document at the top of a document.
|
583
|
+
* src/yaml/transform.rb: Add `[]' as an alias of call.
|
584
|
+
* src/string_ex.rb: New. Add head_cut.
|
585
|
+
|
586
|
+
2005-04-17 Nicolas Pouillard <ertai@lrde.epita.fr>
|
587
|
+
|
588
|
+
* src/uri/file.rb: Add `save' which make a tarball when save a
|
589
|
+
directory and a copy if it's a file.
|
590
|
+
* src/uri/svn.rb: Add `save' which dump the repository.
|
591
|
+
* src/uri_ex.rb: Raise an error in the default implementation.
|
592
|
+
|
593
|
+
2005-04-12 Nicolas Despr�s <nicolas.despres@lrde.epita.fr>
|
594
|
+
|
595
|
+
* src/test/unit/ui/yaml/testrunner.rb: Print a string instead of an
|
596
|
+
array to help TTK's YAML dumper. It will be fixed once the dumper
|
597
|
+
fixed.
|
598
|
+
|
599
|
+
2005-04-11 Nicolas Pouillard <ertai@lrde.epita.fr>
|
600
|
+
|
601
|
+
* src/pathname_ex.rb: Add to_io, which just perform an open.
|
602
|
+
|
603
|
+
2005-04-11 Nicolas Despr�s <nicolas.despres@lrde.epita.fr>
|
604
|
+
|
605
|
+
* src/exception.rb: Manage nil backtrace and refactorize code.
|
606
|
+
|
607
|
+
2005-04-11 Nicolas Despr�s <nicolas.despres@gmail.com>
|
608
|
+
|
609
|
+
* src/module/hierarchy.rb: Do not call the local variable with the
|
610
|
+
same name as the methods to avoid trouble with ruby1.9.
|
611
|
+
|
612
|
+
2005-04-09 Nicolas Despr�s <nicolas.despres@gmail.com>
|
613
|
+
|
614
|
+
* src/pp_hierarchy.rb: New. Pretty print a hash returned by
|
615
|
+
`sub_classes_tree' defined in the 'module/hierarchy.rb' file.
|
616
|
+
|
617
|
+
|
618
|
+
2005-04-04 Nicolas Despr�s <nicolas.despres@lrde.epita.fr>
|
619
|
+
|
620
|
+
* test/resources/yaml_testrunner: New. Resource directory for the yaml
|
621
|
+
testrunner
|
622
|
+
* test/resources/yaml_testrunner/unit_test.rb: New. A file to test the
|
623
|
+
yaml testrunner.
|
624
|
+
* src/test/unit/ui/yaml/testrunner.rb: Print the outcome of each test
|
625
|
+
in verbose mode in addition to the time: 'E' = error, 'F' = failed and
|
626
|
+
'S' = success.
|
627
|
+
|
628
|
+
2005-04-04 Nicolas Pouillard <ertai@lrde.epita.fr>
|
629
|
+
|
630
|
+
* src/synflow.rb: Make it dumpable.
|
631
|
+
|
632
|
+
2005-04-04 Nicolas Pouillard <ertai@lrde.epita.fr>
|
633
|
+
|
634
|
+
* src/dumpable_proc.rb: Make it Marshal dumpable.
|
635
|
+
|
636
|
+
2005-04-03 Nicolas Pouillard <ertai@lrde.epita.fr>
|
637
|
+
|
638
|
+
* src/symtbl.rb: Clean up, and add method to pretty print a symtbl.
|
639
|
+
|
640
|
+
2005-04-03 Nicolas Pouillard <ertai@lrde.epita.fr>
|
641
|
+
|
642
|
+
* src/dumpable_proc.rb: New.
|
643
|
+
|
644
|
+
2005-04-03 Nicolas Pouillard <ertai@lrde.epita.fr>
|
645
|
+
|
646
|
+
* src/ask.rb: New. Provide a function to ask the user.
|
647
|
+
|
648
|
+
2005-04-03 Nicolas Pouillard <ertai@lrde.epita.fr>
|
649
|
+
|
650
|
+
* src/timeout_ex.rb, src/fold.rb, src/ioo.rb, src/service_manager.rb,
|
651
|
+
* src/attributed_class.rb, src/mktemp.rb, src/cache.rb,
|
652
|
+
* src/config_file.rb, src/abstract_node.rb, src/array_each_pair.rb,
|
653
|
+
* src/observable_pool.rb, src/spring_set.rb, src/session/fetchable.rb,
|
654
|
+
* src/session/test/dispatcher_test.rb, src/session/dispatcher.rb,
|
655
|
+
* src/session/server.rb, src/pseudo_cache.rb,
|
656
|
+
* src/module/autoload_tree.rb, src/node.rb, src/yaml/transform.rb,
|
657
|
+
* src/drb/session_manager.rb, src/drb/dispatcher.rb, src/generate_id.rb,
|
658
|
+
* src/diff.rb, src/symtbl.rb, check-ruby_ex: Change the block style.
|
659
|
+
|
660
|
+
2005-04-01 Nicolas Despr�s <nicolas.despres@gmail.com>
|
661
|
+
|
662
|
+
* src/abstract.rb: Fix english mistakes.
|
663
|
+
|
664
|
+
2005-04-01 Nicolas Pouillard <ertai@lrde.epita.fr>
|
665
|
+
|
666
|
+
* src/mktemp.rb: Provide an accessor for @@tmpdir.
|
667
|
+
|
668
|
+
2005-04-01 Nicolas Pouillard <ertai@lrde.epita.fr>
|
669
|
+
|
670
|
+
* src/safe_require.rb: Remove.
|
671
|
+
|
672
|
+
2005-04-01 Nicolas Pouillard <ertai@lrde.epita.fr>
|
673
|
+
|
674
|
+
* src/attributed_class.rb: Improve the attribute class checking.
|
675
|
+
|
676
|
+
2005-03-30 Nicolas Despr�s <nicolas.despres@gmail.com>
|
677
|
+
|
678
|
+
* src/node.rb: New. class Node at revision 171 plus some upgrades to
|
679
|
+
fit with the AbstractNode class.
|
680
|
+
|
681
|
+
|
682
|
+
2005-03-30 Nicolas Despr�s <nicolas.despres@gmail.com>
|
683
|
+
|
684
|
+
* src/indexed_node.rb, src/labeled_node.rb: s/Node/AbstractNode/g.
|
685
|
+
* src/node.rb: Move to ...
|
686
|
+
* src/abstract_node.rb: ... here, because the class name Node has been
|
687
|
+
renamed to AbstractNode.
|
688
|
+
|
689
|
+
2005-03-30 Nicolas Despr�s <nicolas.despres@lrde.epita.fr>
|
690
|
+
|
691
|
+
* src/labeled_node.rb, src/indexed_node.rb: Remove each_pair since we
|
692
|
+
use Array#each_pair. Use merge instead of merge!.
|
693
|
+
* src/node.rb: Reimplement each_pair using Array#each_pair.
|
694
|
+
|
695
|
+
2005-03-30 Nicolas Despr�s <nicolas.despres@lrde.epita.fr>
|
696
|
+
|
697
|
+
* src/array_each_pair.rb: New. Extend the Array class with the same
|
698
|
+
each_pair method as the Hash class.
|
699
|
+
|
700
|
+
2005-03-30 Nicolas Pouillard <ertai@lrde.epita.fr>
|
701
|
+
|
702
|
+
* src/attributed_class.rb: Fix test of @default_proc.
|
703
|
+
|
704
|
+
2005-03-30 Nicolas Despr�s <nicolas.despres@gmail.com>
|
705
|
+
|
706
|
+
* src/node.rb: Becomes abstract. Factorize code from IndexedNode and
|
707
|
+
LabeledNode.
|
708
|
+
* src/indexed_node.rb: New. An implementation of Node based on an
|
709
|
+
array.
|
710
|
+
* src/labeled_node.rb: New. An implementation of Node based on a hash
|
711
|
+
table.
|
712
|
+
|
713
|
+
|
714
|
+
2005-03-30 Nicolas Pouillard <ertai@lrde.epita.fr>
|
715
|
+
|
716
|
+
* src/attributed_class.rb: Properly call the block with respect to
|
717
|
+
arity.
|
718
|
+
|
719
|
+
2005-03-30 Nicolas Pouillard <ertai@lrde.epita.fr>
|
720
|
+
|
721
|
+
* src/attributed_class.rb: Fix the default_proc handling.
|
722
|
+
|
723
|
+
2005-03-29 Nicolas Despr�s <nicolas.despres@gmail.com>
|
724
|
+
|
725
|
+
* src/cache.rb: Remove an irrelevant assertion based on a static size
|
726
|
+
which may change since printf(1) manual may change.
|
727
|
+
|
728
|
+
2005-03-29 Nicolas Despr�s <nicolas.despres@gmail.com>
|
729
|
+
|
730
|
+
* vcs/ruby_ex.rb: Change the patches mailing list address.
|
731
|
+
|
732
|
+
2005-03-29 Nicolas Despr�s <nicolas.despres@gmail.com>
|
733
|
+
|
734
|
+
* src/node.rb: Remove useless attr_accessor since attr_reader is
|
735
|
+
defined afterward and data attribute only need a getter.
|
736
|
+
|
737
|
+
2005-03-28 Nicolas Pouillard <ertai@lrde.epita.fr>
|
738
|
+
|
739
|
+
* src/synflow.rb: Rename SynFlowError to SynFlow::Error.
|
740
|
+
|
741
|
+
2005-03-28 Nicolas Pouillard <ertai@lrde.epita.fr>
|
742
|
+
|
743
|
+
* src/synflow.rb: Move the SynflowError exception outside the SynFlow
|
744
|
+
class, rename advance to feed, add aliases for advance, and add a
|
745
|
+
destroy method.
|
746
|
+
* src/synflow_tree.rb: Remove, because useless now.
|
747
|
+
|
748
|
+
2005-03-20 Nicolas Pouillard <ertai@lrde.epita.fr>
|
749
|
+
|
750
|
+
* src/attributed_class.rb: Add each_variable_attribute, and
|
751
|
+
each_method_attribute, and fix check_attribute.
|
752
|
+
|
753
|
+
2005-03-20 Nicolas Pouillard <ertai@lrde.epita.fr>
|
754
|
+
|
755
|
+
* src/attributed_class.rb: Improve methods attributes,
|
756
|
+
and the get_attribute method.
|
757
|
+
|
758
|
+
2005-03-01 Nicolas Pouillard <ertai@lrde.epita.fr>
|
759
|
+
|
760
|
+
* src/thread_mutex.rb: Fix the exception call.
|
761
|
+
* src/synflow.rb: Add a test.
|
762
|
+
* src/tree_mutex.rb: Remove. Useless, prefer SynFlow*.
|
763
|
+
|
764
|
+
2005-02-28 Nicolas Pouillard <ertai@lrde.epita.fr>
|
765
|
+
|
766
|
+
* src/synflow.rb: Use an automaton instead of just a graph.
|
767
|
+
* src/synflow_tree.rb: Update.
|
768
|
+
|
769
|
+
2005-02-28 Nicolas Pouillard <ertai@lrde.epita.fr>
|
770
|
+
|
771
|
+
* src/synflow_tree.rb: Fix a require.
|
772
|
+
|
773
|
+
2005-02-28 Nicolas Pouillard <ertai@lrde.epita.fr>
|
774
|
+
|
775
|
+
SynFlow is built for synchronization between threads.
|
776
|
+
You can build a control flow graph to describe the relation
|
777
|
+
between threads which share this flow.
|
778
|
+
|
779
|
+
* src/synflow.rb: New.
|
780
|
+
* src/synflow_tree.rb: New.
|
781
|
+
|
782
|
+
2005-02-25 Nicolas Pouillard <ertai@lrde.epita.fr>
|
783
|
+
|
784
|
+
* src/tree_mutex.rb: Add modes, and left debugging statments.
|
785
|
+
* src/thread_mutex.rb: New, not needed in theory.
|
786
|
+
* src/timeout_mutex.rb: Remove.
|
787
|
+
|
788
|
+
2005-02-20 Nicolas Pouillard <ertai@lrde.epita.fr>
|
789
|
+
|
790
|
+
* src/tree_mutex.rb: New. Handle Mutex which have sub mutexes.
|
791
|
+
|
792
|
+
2005-02-20 Nicolas Pouillard <ertai@lrde.epita.fr>
|
793
|
+
|
794
|
+
* src/timeout_mutex.rb: New. Lock the mutex given as argument before
|
795
|
+
raise the exception.
|
796
|
+
|
797
|
+
2005-02-18 Nicolas Despres <polrop@lrde.epita.fr>
|
798
|
+
|
799
|
+
* src/ioo.rb, src/pathname_ex.rb, src/attributed_class.rb,
|
800
|
+
* src/uri/file.rb, src/uri/ftp_ex.rb, src/uri/svn.rb,
|
801
|
+
* src/uri/http_ex.rb, src/checkout.rb, src/filetype.rb
|
802
|
+
* src/uri_ex.rb, src/fileutils_ex.rb, src/yaml/yregexpath.rb,
|
803
|
+
* src/yaml/transform.rb: Changed property. svn:keywords.
|
804
|
+
|
805
|
+
2005-02-17 Nicolas Pouillard <ertai@lrde.epita.fr>
|
806
|
+
|
807
|
+
* src/uri/svn.rb: New. Try to handle all svn schemes.
|
808
|
+
* src/checkout.rb: New. A list of requirements.
|
809
|
+
* src/filetype.rb: Add FileType::Directory.
|
810
|
+
|
811
|
+
2005-02-16 Nicolas Pouillard <ertai@lrde.epita.fr>
|
812
|
+
|
813
|
+
* src/pathname_ex.rb: Add cp*, and rm* which use FileUtils.
|
814
|
+
* src/fileutils_ex.rb: Add an header, and fix require.
|
815
|
+
|
816
|
+
2005-02-16 Nicolas Pouillard <ertai@lrde.epita.fr>
|
817
|
+
|
818
|
+
* src/fileutils_ex.rb: New. Fix a bug with remove_dir.
|
819
|
+
|
820
|
+
2005-02-14 Nicolas Pouillard <ertai@lrde.epita.fr>
|
821
|
+
|
822
|
+
* src/uri/http_ex.rb (checkout): Fix parsing of http_proxy.
|
823
|
+
|
824
|
+
2005-02-13 Nicolas Pouillard <ertai@lrde.epita.fr>
|
825
|
+
|
826
|
+
Add FileType module to handle properly any kind of file.
|
827
|
+
Moreover provides some default class like tarballs and an extract
|
828
|
+
support.
|
829
|
+
|
830
|
+
* src/filetype.rb: New.
|
831
|
+
|
832
|
+
2005-02-13 Nicolas Pouillard <ertai@lrde.epita.fr>
|
833
|
+
|
834
|
+
* src/uri_ex.rb: New. URI and URI::Generic extension.
|
835
|
+
* src/uri/file.rb: New. Checkout support.
|
836
|
+
* src/uri/ftp_ex.rb: New. Checkout support.
|
837
|
+
* src/uri/http_ex.rb: New. Checkout support.
|
838
|
+
|
839
|
+
2005-02-13 Nicolas Pouillard <ertai@lrde.epita.fr>
|
840
|
+
|
841
|
+
* src/orderedhash.rb (delete_if): Give arguments to yield.
|
842
|
+
|
843
|
+
2005-02-12 Nicolas Pouillard <ertai@lrde.epita.fr>
|
844
|
+
|
845
|
+
* src/attributed_class.rb: Add the default_proc support.
|
846
|
+
|
847
|
+
2005-02-08 Nicolas Despres <polrop@lrde.epita.fr>
|
848
|
+
|
849
|
+
* src/timeout.rb: Remove. Useless. The timeout in the standard library
|
850
|
+
is much better.
|
851
|
+
|
852
|
+
|
853
|
+
2005-02-06 Nicolas Pouillard <ertai@lrde.epita.fr>
|
854
|
+
|
855
|
+
* src/attributed_class.rb: You can provide a block to compute de
|
856
|
+
default value of an attribute.
|
857
|
+
* src/pathname_ex.rb (extsplit): Now return a pathname.
|
858
|
+
* src/mktemp.rb: Little fixes.
|
859
|
+
|
860
|
+
2005-02-02 Nicolas Despres <polrop@lrde.epita.fr>
|
861
|
+
|
862
|
+
* src/timeout_ex.rb: New. Timeout a block. You can use mutex inside the
|
863
|
+
block to ensure that some statements won't be interrupted by the
|
864
|
+
timeout. The block is run inside a thread instead of in the main thread
|
865
|
+
avoiding the abort exception to be catched by several rescue.
|
866
|
+
|
867
|
+
2005-02-01 Nicolas Despres <polrop@lrde.epita.fr>
|
868
|
+
|
869
|
+
* src/dtime.rb: Bug fix with to_yaml. Clean up. Freeze returned object.
|
870
|
+
|
871
|
+
2005-01-30 Nicolas Despres <polrop@lrde.epita.fr>
|
872
|
+
|
873
|
+
* src/hierarchy.rb: Move to here ...
|
874
|
+
* src/module/hierarchy.rb: ... here, because it's now a module
|
875
|
+
extension.
|
876
|
+
|
877
|
+
2005-01-30 Nicolas Despres <polrop@lrde.epita.fr>
|
878
|
+
|
879
|
+
* src/daemon.rb: Do not set $SAFE any more.
|
880
|
+
|
881
|
+
2005-01-30 Nicolas Despres <polrop@lrde.epita.fr>
|
882
|
+
|
883
|
+
* src/hierarchy.rb: Manage autoload and sub modules. sub_classes_tree
|
884
|
+
returns the tree in hash instead of an array.
|
885
|
+
* src/module/instance_method_visibility.rb: Uses
|
886
|
+
private_method_defined? instead of private_instance_method.include?
|
887
|
+
because it's faster.
|
888
|
+
|
889
|
+
2005-01-30 Nicolas Despres <polrop@lrde.epita.fr>
|
890
|
+
|
891
|
+
* src/abstract.rb: Add an important FIXME for latter work.
|
892
|
+
|
893
|
+
2005-01-30 Nicolas Despres <polrop@lrde.epita.fr>
|
894
|
+
|
895
|
+
* src/abstract.rb: When making abstract an already abstract class, you
|
896
|
+
could no longer make it concrete. Now it's fixed.
|
897
|
+
|
898
|
+
2005-01-29 Nicolas Despres <polrop@lrde.epita.fr>
|
899
|
+
|
900
|
+
* src/uri/druby.rb: query is no longer a requiered componment, since
|
901
|
+
the '?' point at the end is not well parsed by druby.
|
902
|
+
|
903
|
+
2005-01-28 Nicolas Despres <polrop@lrde.epita.fr>
|
904
|
+
|
905
|
+
* src/observable_pool.rb: Bug fix, when added an observable after
|
906
|
+
a global observer.
|
907
|
+
* src/daemon.rb: stop notifiation after stop_service.
|
908
|
+
|
909
|
+
2005-01-28 Nicolas Despres <polrop@lrde.epita.fr>
|
910
|
+
|
911
|
+
* src/daemon.rb: No longer require 'logger.rb'. $SAFE = 1.
|
912
|
+
|
913
|
+
2005-01-28 Nicolas Despres <polrop@lrde.epita.fr>
|
914
|
+
|
915
|
+
* src/drb_service.rb: Move to ...
|
916
|
+
* src/drb/drb_service.rb: ... here.
|
917
|
+
|
918
|
+
2005-01-28 Nicolas Despres <polrop@lrde.epita.fr>
|
919
|
+
|
920
|
+
* src/drb_service.rb: User DRb.start_service instead of
|
921
|
+
DRb::DRbServer.new because otherwise DRb.uri do not work properly.
|
922
|
+
|
923
|
+
2005-01-28 Nicolas Despres <polrop@lrde.epita.fr>
|
924
|
+
|
925
|
+
* src/module/attr_once.rb: Correct english mistakes.
|
926
|
+
* src/drb_service.rb: New. A base class for service based on druby.
|
927
|
+
Service used with service manager.
|
928
|
+
|
929
|
+
2005-01-27 Nicolas Despres <polrop@lrde.epita.fr>
|
930
|
+
|
931
|
+
* src/dtime.rb: Use attr_once instead of instance_eval. Use more
|
932
|
+
memory but avoid to compute useless getters.
|
933
|
+
* src/module/attr_once.rb: New. Implementation of the Eiffel's once
|
934
|
+
keyword, imported from Date class.
|
935
|
+
|
936
|
+
2005-01-26 Nicolas Despres <polrop@lrde.epita.fr>
|
937
|
+
|
938
|
+
* src/dtime.rb: to_yaml: pretty print method used by yaml.
|
939
|
+
|
940
|
+
2005-01-26 Nicolas Despres <polrop@lrde.epita.fr>
|
941
|
+
|
942
|
+
* src/dtime.rb: Since DTime uses singleton methods, it must provides
|
943
|
+
its own marshaling features.
|
944
|
+
|
945
|
+
2005-01-26 Nicolas Despres <polrop@lrde.epita.fr>
|
946
|
+
|
947
|
+
* src/test/unit/ui/yaml/testrunner.rb: Use the convertion methods of
|
948
|
+
DTime.
|
949
|
+
|
950
|
+
2005-01-26 Nicolas Despres <polrop@lrde.epita.fr>
|
951
|
+
|
952
|
+
* src/dtime.rb: Implement usual conversion methods.
|
953
|
+
|
954
|
+
2005-01-26 Nicolas Despres <polrop@lrde.epita.fr>
|
955
|
+
|
956
|
+
* src/dtime.rb: Use instance_eval instead of module_eval to avoid
|
957
|
+
redefinition method warnings.
|
958
|
+
|
959
|
+
2005-01-26 Nicolas Despres <polrop@lrde.epita.fr>
|
960
|
+
|
961
|
+
* src/dtime.rb: LastChangedBy Id, changed property.
|
962
|
+
|
963
|
+
2005-01-26 Nicolas Despres <polrop@lrde.epita.fr>
|
964
|
+
|
965
|
+
* src/pathname_ex.rb: Add ensure_mkpath.
|
966
|
+
* src/dtime.rb: New. Manage information about a time delta efficiently.
|
967
|
+
* src/test/unit/ui/yaml/testrunner.rb: Use DTime.
|
968
|
+
* src/float.rb: Remove. Obsolete since there is DTime.
|
969
|
+
|
970
|
+
2005-01-25 Nicolas Despres <polrop@lrde.epita.fr>
|
971
|
+
|
972
|
+
* src/node.rb: Give self to the block instead of an unbound variables.
|
973
|
+
|
974
|
+
2005-01-24 Nicolas Despres <polrop@lrde.epita.fr>
|
975
|
+
|
976
|
+
* src/node.rb: New. Provide a general node tree implementation. Sub
|
977
|
+
nodes are stored within an array.
|
978
|
+
|
979
|
+
2005-01-24 Marco Tessari <marco.tessari@epita.fr>
|
980
|
+
|
981
|
+
* src/yaml/yregexpath.rb: New. A clone of YPath but with regexp
|
982
|
+
and more to come.
|
983
|
+
* src/yaml/transform.rb: New. A clone of XSLT for yaml, based on
|
984
|
+
yregexpath and with compiled rules, does everithing in one pass.
|
985
|
+
|
986
|
+
2005-01-24 Nicolas Pouillard <ertai@lrde.epita.fr>
|
987
|
+
|
988
|
+
* src/pathname_ext.rb: Rename to ...
|
989
|
+
* src/pathname_ex.rb: ... this.
|
990
|
+
|
991
|
+
2005-01-23 Nicolas Pouillard <ertai@lrde.epita.fr>
|
992
|
+
|
993
|
+
* src/ensure_mkdir.rb: Move contents to pathname_ext.
|
994
|
+
* src/pathname_ext.rb: New. Add a syntaxic sugar and an extension
|
995
|
+
spliting.
|
996
|
+
|
997
|
+
2005-01-23 Nicolas Despres <polrop@lrde.epita.fr>
|
998
|
+
|
999
|
+
* src/service_manager.rb: each_services uses a block instead of yield.
|
1000
|
+
|
1001
|
+
2005-01-22 Nicolas Despres <polrop@lrde.epita.fr>
|
1002
|
+
|
1003
|
+
* src/logger_observer.rb: Log the block if there is one.
|
1004
|
+
* src/service_manager.rb: Services are stored by uri.
|
1005
|
+
* src/abstract.rb: Test constructor arguments.
|
1006
|
+
* src/daemon.rb: No more signal traps setup. Add start_daemon and join.
|
1007
|
+
Bug fixes in logger and workdir. No more notification in initialize.
|
1008
|
+
|
1009
|
+
2005-01-22 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1010
|
+
|
1011
|
+
* src/attributed_class.rb: Fix a bug with check_attributes.
|
1012
|
+
|
1013
|
+
2005-01-19 Nicolas Despres <polrop@lrde.epita.fr>
|
1014
|
+
|
1015
|
+
* src/hierarchy.rb: Add some fixme for later work.
|
1016
|
+
* src/service_manager.rb: Use a block instead of a yield statement.
|
1017
|
+
* src/config_file.rb: Print a warning when the default configuration is
|
1018
|
+
used.
|
1019
|
+
|
1020
|
+
2005-01-19 Nicolas Despres <polrop@lrde.epita.fr>
|
1021
|
+
|
1022
|
+
* src/logger_observer.rb: Correct unmatched curly brackets.
|
1023
|
+
* src/service_manager.rb: Correct inverted test in start_service.
|
1024
|
+
When @service is not defined return 0 in count_services and [] in
|
1025
|
+
list_services.
|
1026
|
+
* src/observable_pool.rb: Use a block argument instead of yield.
|
1027
|
+
* src/module/autoload_tree.rb: Do not use module_eval anymore.
|
1028
|
+
|
1029
|
+
2005-01-18 Nicolas Despres <polrop@lrde.epita.fr>
|
1030
|
+
|
1031
|
+
* src/config_file.rb: Use delegate.
|
1032
|
+
* src/daemon.rb: Little fixes.
|
1033
|
+
|
1034
|
+
2005-01-18 Nicolas Despres <polrop@lrde.epita.fr>
|
1035
|
+
|
1036
|
+
* src/hierarchy.rb: Some fixme for later work.
|
1037
|
+
* src/module/sub_modules.rb: Removed since it's only an application
|
1038
|
+
domain dependent alias of constants.
|
1039
|
+
|
1040
|
+
2005-01-18 Nicolas Despres <polrop@lrde.epita.fr>
|
1041
|
+
|
1042
|
+
* src/hierarchy.rb: Add a remove_class method in order to properly
|
1043
|
+
removed a class from the hierarchy.
|
1044
|
+
|
1045
|
+
2005-01-17 Nicolas Despres <polrop@lrde.epita.fr>
|
1046
|
+
|
1047
|
+
* src/service_manager.rb: Typo.
|
1048
|
+
* src/config_file.rb: Add a test suite.
|
1049
|
+
* src/daemon.rb: Many improvement. Now it's a Singleton. Adapted to
|
1050
|
+
ServiceManager changes.
|
1051
|
+
|
1052
|
+
2005-01-17 Nicolas Despres <polrop@lrde.epita.fr>
|
1053
|
+
|
1054
|
+
* src/hierarchy.rb: Correct a non deterministic assertion.
|
1055
|
+
* src/service_manager.rb: Redesigned from scratch. No longer a class.
|
1056
|
+
Simpler and more powerful.
|
1057
|
+
|
1058
|
+
2005-01-17 Nicolas Despres <polrop@lrde.epita.fr>
|
1059
|
+
|
1060
|
+
* src/hierarchy.rb: New. Provides methods to manipulate inheritance
|
1061
|
+
relation between constants of a module.
|
1062
|
+
|
1063
|
+
2005-01-17 Nicolas Despres <polrop@lrde.epita.fr>
|
1064
|
+
|
1065
|
+
* test: New. Contains ruby_ex test files.
|
1066
|
+
* test/resources: New. Contains extra files needed by test suite.
|
1067
|
+
* test/resources/autoload_tree: New. Extra files needed by
|
1068
|
+
autoload_tree test suite.
|
1069
|
+
* test/resources/autoload_tree/A.rb: New. A stub base class.
|
1070
|
+
* test/resources/autoload_tree/foo: New. A stub sub module.
|
1071
|
+
* test/resources/autoload_tree/foo/C.rb: New. A stub sub class.
|
1072
|
+
* test/resources/autoload_tree/B.rb: New. A stub sub class.
|
1073
|
+
* src/module/autoload_repository.rb: Move to ...
|
1074
|
+
* src/module/autoload_tree.rb: ... here. Now manage nested module.
|
1075
|
+
* src/abstract.rb: Extend Class with abstract?
|
1076
|
+
* check-ruby_ex: Source directory is stored in SRC_DIR instead of src.
|
1077
|
+
|
1078
|
+
2005-01-17 Nicolas Despres <polrop@lrde.epita.fr>
|
1079
|
+
|
1080
|
+
* src/module/instance_method_visibility.rb: Use a TESTED constant per
|
1081
|
+
test suite.
|
1082
|
+
* src/abstract.rb: Bug fix: A concrete class is_a? abstract.
|
1083
|
+
|
1084
|
+
2005-01-17 Nicolas Despres <polrop@lrde.epita.fr>
|
1085
|
+
|
1086
|
+
* src/module_ex.rb: New. A bunch of all ruby_ex extension made to the
|
1087
|
+
class Module.
|
1088
|
+
* src/module: New. Contains all ruby_ex extension made to the class
|
1089
|
+
Module.
|
1090
|
+
* src/module/sub_modules.rb: New. Like constants but return symbols
|
1091
|
+
instead of string.
|
1092
|
+
* src/autoload_repository.rb: Move to ...
|
1093
|
+
* src/module/autoload_repository.rb: ... here. Take a block that
|
1094
|
+
convert a file name to class name.
|
1095
|
+
* src/instance_method_visibility.rb: Move to ...
|
1096
|
+
* src/module/instance_method_visibility.rb: ... here.
|
1097
|
+
* src/abstract.rb: Require instance_method_visibility from the new
|
1098
|
+
path.
|
1099
|
+
|
1100
|
+
2005-01-17 Nicolas Despres <polrop@lrde.epita.fr>
|
1101
|
+
|
1102
|
+
* src/logger.rb: Move to ...
|
1103
|
+
* src/logger_observer.rb: ... here, to avoid name conflict.
|
1104
|
+
* src/service_factory.rb: Move to ...
|
1105
|
+
* src/service_manager.rb: ... here because it is not a factory. No more
|
1106
|
+
mutex. Stop_service callback.
|
1107
|
+
* src/service.rb: Move into ServiceManager.
|
1108
|
+
* src/config_file.rb: New. Manage a configuration file.
|
1109
|
+
* src/observable_pool.rb: It's a module now. Manage global observers
|
1110
|
+
which observer every observable added before or after the global
|
1111
|
+
observer.
|
1112
|
+
* src/daemon.rb: New. Provide the basic service for any daemon.
|
1113
|
+
|
1114
|
+
2005-01-16 Nicolas Despres <polrop@lrde.epita.fr>
|
1115
|
+
|
1116
|
+
* src/observer.rb: Move to ...
|
1117
|
+
* src/object_monitor.rb: ... here.
|
1118
|
+
* src/observer_activity.rb: Move to ...
|
1119
|
+
* src/object_monitor_activity.rb: ... here.
|
1120
|
+
* src/uri/druby.rb: Changed property. Remove Rev keyword.
|
1121
|
+
* src/pathname.rb: Move to ...
|
1122
|
+
* src/ensure_mkdir.rb: ... here.
|
1123
|
+
|
1124
|
+
2005-01-16 Nicolas Despres <polrop@lrde.epita.fr>
|
1125
|
+
|
1126
|
+
* src/uri: New. Directory to store URI classes.
|
1127
|
+
* src/uri/druby.rb: New. Manage druby uri format.
|
1128
|
+
|
1129
|
+
2005-01-16 Nicolas Despres <polrop@lrde.epita.fr>
|
1130
|
+
|
1131
|
+
* src/monitor.rb: Move to ...
|
1132
|
+
* src/observer.rb: ... here.
|
1133
|
+
* src/monitor_activity.rb: Move to ...
|
1134
|
+
* src/observer_activity.rb: ... here.
|
1135
|
+
|
1136
|
+
2005-01-15 Nicolas Despres <polrop@lrde.epita.fr>
|
1137
|
+
|
1138
|
+
* src/drb/dispatcher.rb: Catch exceptions from remote object methods
|
1139
|
+
when selecting remote objects. Can select using method with arguments
|
1140
|
+
and/or block. Remove choose feature.
|
1141
|
+
|
1142
|
+
2005-01-15 Nicolas Despres <polrop@lrde.epita.fr>
|
1143
|
+
|
1144
|
+
* src/version.rb: Remove revision default value.
|
1145
|
+
|
1146
|
+
2005-01-15 Nicolas Despres <polrop@lrde.epita.fr>
|
1147
|
+
|
1148
|
+
* src/version.rb: New. Manage a version number.
|
1149
|
+
* src/drb/drb_observable.rb: Undefine notify_observers to avoid warning
|
1150
|
+
when redefining it.
|
1151
|
+
|
1152
|
+
2005-01-13 Nicolas Despres <polrop@lrde.epita.fr>
|
1153
|
+
|
1154
|
+
* src/dlogger.rb: Do not use the ruby_ex logger any more.
|
1155
|
+
|
1156
|
+
2005-01-13 Nicolas Despres <polrop@lrde.epita.fr>
|
1157
|
+
|
1158
|
+
* src/logger.rb: New. Extend Logger with an update method.
|
1159
|
+
* src/dlogger.rb: Use the ruby_ex logger.
|
1160
|
+
* src/observable.rb: Do not delete the observer if an error occurs in
|
1161
|
+
update.
|
1162
|
+
* src/drb/drb_observable.rb: Delete the observer if an error occurs in
|
1163
|
+
update. Manage block.
|
1164
|
+
|
1165
|
+
2005-01-13 Nicolas Despres <polrop@lrde.epita.fr>
|
1166
|
+
|
1167
|
+
* src/monitor_activity.rb: New. Keep track of the monitor activity.
|
1168
|
+
* src/observable_pool.rb: Improvement plus changed property.
|
1169
|
+
* src/observable.rb: Do not use druby version of notify_observers.
|
1170
|
+
Add notifier_methods_visibility method only if it not exist yet.
|
1171
|
+
* src/monitor.rb: Add a method that collect the method informations.
|
1172
|
+
* src/drb/drb_observable_pool.rb: New. DRuby version of ObservablePool.
|
1173
|
+
* src/drb/drb_observable.rb: New. DRuby version of Observable.
|
1174
|
+
* check-ruby_ex: Bug fix when there are several letters in the svn
|
1175
|
+
status output.
|
1176
|
+
|
1177
|
+
2005-01-12 Nicolas Despres <polrop@lrde.epita.fr>
|
1178
|
+
|
1179
|
+
* src/notifier.rb: Remove. Move to ...
|
1180
|
+
* src/observable.rb: New. ... here.
|
1181
|
+
* src/observable_pool.rb: New. Manage a pool of observable object that
|
1182
|
+
you can observer.
|
1183
|
+
* src/monitor.rb: New. Encapsulate an object in order to monitor its
|
1184
|
+
method calls.
|
1185
|
+
|
1186
|
+
2005-01-11 Nicolas Despres <polrop@lrde.epita.fr>
|
1187
|
+
|
1188
|
+
* src/notifier.rb: New. Extend Observable with list_observer and
|
1189
|
+
notify_observer (useful to notify only one observer).
|
1190
|
+
|
1191
|
+
2005-01-10 Nicolas Despres <polrop@lrde.epita.fr>
|
1192
|
+
|
1193
|
+
* src/drb/session_manager.rb: Bug fix.
|
1194
|
+
* src/drb/dispatcher.rb: New. Manage a pool of DRbObject providing
|
1195
|
+
select and dispatch features.
|
1196
|
+
* src/drb/dispatcher_server_test.rb: New. A script used by the
|
1197
|
+
dispatcher test suite.
|
1198
|
+
|
1199
|
+
2005-01-10 Nicolas Despres <polrop@lrde.epita.fr>
|
1200
|
+
|
1201
|
+
* src/timeout.rb: Remove useless and inappropriate statement.
|
1202
|
+
|
1203
|
+
2005-01-10 Nicolas Despres <polrop@lrde.epita.fr>
|
1204
|
+
|
1205
|
+
* src/timeout.rb: New. Manage an absolute timeout callback.
|
1206
|
+
* src/inactive_timeout.rb: New. Manage a timeout callback called after
|
1207
|
+
an inactive delay.
|
1208
|
+
* src/service_factory.rb: Move Service class to ...
|
1209
|
+
* src/service.rb: New. ... here.
|
1210
|
+
|
1211
|
+
2005-01-09 Nicolas Despres <polrop@lrde.epita.fr>
|
1212
|
+
|
1213
|
+
* src/safe_eval.rb: Remove test which block with DRb::SessionManager.
|
1214
|
+
* src/drb/session_manager.rb: New. A session manager inherited from
|
1215
|
+
DRb::ExtServManager.
|
1216
|
+
* src/drb/session_client_test.rb: New. A test client used to test
|
1217
|
+
SessionManager.
|
1218
|
+
* src/drb/session_server.rb: New. A session server inherited from
|
1219
|
+
DRb::ExtServ.
|
1220
|
+
|
1221
|
+
2005-01-09 Nicolas Despres <polrop@lrde.epita.fr>
|
1222
|
+
|
1223
|
+
* src/service_factory.rb: New. Manage a pool of class instance.
|
1224
|
+
* src/trace.rb: , changed property.
|
1225
|
+
|
1226
|
+
2005-01-09 Nicolas Despres <polrop@lrde.epita.fr>
|
1227
|
+
|
1228
|
+
* src/trace.rb: New. Provide to Kernel function to switch on/off
|
1229
|
+
program trace easily.
|
1230
|
+
|
1231
|
+
2005-01-09 Nicolas Despres <polrop@lrde.epita.fr>
|
1232
|
+
|
1233
|
+
* src/test/unit/ui/yaml/testrunner.rb: Print verbose time if $VERBOSE.
|
1234
|
+
* src/drb/drb_undumped_attributes.rb,
|
1235
|
+
* src/drb/insecure_protected_methods.rb: Clean up.
|
1236
|
+
* src/autoload_repository.rb: No more recursive option.
|
1237
|
+
* src/md5sum.rb: Moved from module Kernel to module File.
|
1238
|
+
* src/pseudo_cache.rb, src/cache.rb: Adapted from the change in md5sum.
|
1239
|
+
* check-ruby_ex: Add an option to inverse the effect of skip.
|
1240
|
+
|
1241
|
+
2005-01-04 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1242
|
+
|
1243
|
+
* src/attributed_class.rb: Add a class argument to check the type
|
1244
|
+
of an attribute, add methods attributes.
|
1245
|
+
|
1246
|
+
2004-12-20 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1247
|
+
|
1248
|
+
* src/mktemp.rb: New design.
|
1249
|
+
* src/md5sum.rb: Extend Pathname too, and use mktemp in tests.
|
1250
|
+
* check-ruby_ex: Strange way to ensure tempfiles cleaning.
|
1251
|
+
* src/ioo.rb: Fix unit tests.
|
1252
|
+
|
1253
|
+
2004-12-16 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1254
|
+
|
1255
|
+
* src/dlogger.rb: Fix a bug with the block form in method_missing.
|
1256
|
+
* src/ioo.rb: Clean IOOTCPSocket.
|
1257
|
+
|
1258
|
+
2004-12-16 Nicolas Despres <polrop@lrde.epita.fr>
|
1259
|
+
|
1260
|
+
* src/autoload_repository.rb: New. Autoload files from a repository,
|
1261
|
+
according to an extension. The name of the file without the extension
|
1262
|
+
is assumed to be the constant name defined in the file.
|
1263
|
+
* src/instance_method_visibility.rb: Typo.
|
1264
|
+
|
1265
|
+
2004-12-16 Nicolas Despres <polrop@lrde.epita.fr>
|
1266
|
+
|
1267
|
+
* src/const_regexp.rb: Add the regexp for Ruby's constants.
|
1268
|
+
* src/abstract.rb: Use 'new' instead of 'instantiate'. Preserve new
|
1269
|
+
visibility to manage the Singleton design-pattern.
|
1270
|
+
* src/instance_method_visibility.rb: New. Return the visibility
|
1271
|
+
of an instance method.
|
1272
|
+
|
1273
|
+
2004-12-15 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1274
|
+
|
1275
|
+
* src/ioo.rb: Add the Socket support.
|
1276
|
+
|
1277
|
+
2004-12-15 Nicolas Despres <polrop@lrde.epita.fr>
|
1278
|
+
|
1279
|
+
* src/abstract.rb: New. Provide a way to allow/prohibit instantiation
|
1280
|
+
of certain class in a class hierarchy.
|
1281
|
+
|
1282
|
+
2004-12-15 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1283
|
+
|
1284
|
+
* check-ruby_ex: Fix a bug with at_exit and ensure.
|
1285
|
+
|
1286
|
+
2004-12-14 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1287
|
+
|
1288
|
+
* src/ioo.rb: New. IO Delegator.
|
1289
|
+
|
1290
|
+
2004-12-14 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1291
|
+
|
1292
|
+
* src/attributed_class.rb: Fix a bug with check_attributes.
|
1293
|
+
|
1294
|
+
2004-12-13 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1295
|
+
|
1296
|
+
* src/mktemp.rb: Handle a block in initialize, and support
|
1297
|
+
temporary directories too.
|
1298
|
+
* src/pseudo_cache.rb: Update.
|
1299
|
+
* check-ruby_ex: Ensure Tempfile.close at the end.
|
1300
|
+
|
1301
|
+
2004-12-10 Nicolas Despres <polrop@lrde.epita.fr>
|
1302
|
+
|
1303
|
+
* src/test/unit/ui/yaml/testrunner.rb: Print detailed time.
|
1304
|
+
* src/float.rb: New. Add a method to extract days, hours, minutes from
|
1305
|
+
and amount of seconds.
|
1306
|
+
|
1307
|
+
2004-12-10 Nicolas Despres <polrop@lrde.epita.fr>
|
1308
|
+
|
1309
|
+
* src/exception.rb: s/exc/self/g
|
1310
|
+
|
1311
|
+
2004-12-10 Nicolas Despres <polrop@lrde.epita.fr>
|
1312
|
+
|
1313
|
+
* src/test/unit/ui/yaml/testrunner.rb: Show progression detail if
|
1314
|
+
verbose mode is on.
|
1315
|
+
* src/session/test/dispatcher_test.rb: Clean up and uncomment tests.
|
1316
|
+
* src/session/test/fetchable_test.rb: Little fix.
|
1317
|
+
* src/session/server.rb: Adapt to the exception pretty printer
|
1318
|
+
* src/pseudo_cache.rb: Little fix.
|
1319
|
+
* src/exception.rb: ...here
|
1320
|
+
* src/pretty_print_ruby_exc.rb: Move to ...
|
1321
|
+
* src/safe_require.rb: Remove $VERBOSE = true
|
1322
|
+
* check-ruby_ex: Add an option to switch on verbose mode.
|
1323
|
+
|
1324
|
+
2004-12-09 Nicolas Despres <polrop@lrde.epita.fr>
|
1325
|
+
|
1326
|
+
* src/pretty_print_ruby_exc.rb: Add a shorter version.
|
1327
|
+
* src/drb/drb_undumped_attributes.rb: More explicit debug message.
|
1328
|
+
* src/drb/drb_undumped_indexed_object.rb: New. Similar as
|
1329
|
+
DRbUndumpedAttributes but for indexed object which support each_pair.
|
1330
|
+
|
1331
|
+
2004-12-09 Nicolas Despres <polrop@lrde.epita.fr>
|
1332
|
+
|
1333
|
+
* src/attributed_class.rb: Do not freeze attributes any more.
|
1334
|
+
|
1335
|
+
2004-12-08 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1336
|
+
|
1337
|
+
* src/attributed_class.rb: New. Include this module in your class,
|
1338
|
+
after that you can type: attribute :foo, 'description'...
|
1339
|
+
|
1340
|
+
2004-12-07 Nicolas Despres <polrop@lrde.epita.fr>
|
1341
|
+
|
1342
|
+
* src/session/profile.rb: Remove 'include DRb::DRbUndumpedAttributs'
|
1343
|
+
which is deprecated since profile has its own way to dump itself.
|
1344
|
+
|
1345
|
+
2004-12-07 Nicolas Despres <polrop@lrde.epita.fr>
|
1346
|
+
|
1347
|
+
* src/pathname.rb: New. Add a method to ensure a directory exists.
|
1348
|
+
|
1349
|
+
2004-12-07 Nicolas Despres <polrop@lrde.epita.fr>
|
1350
|
+
|
1351
|
+
* src/session/test/sub_server_test.rb: Test the modification.
|
1352
|
+
* src/session/server.rb: Check if a block is given in
|
1353
|
+
request_start_sub_server.
|
1354
|
+
|
1355
|
+
2004-12-07 Nicolas Despres <polrop@lrde.epita.fr>
|
1356
|
+
|
1357
|
+
* src/session/test/sub_server_test.rb: Add tests.
|
1358
|
+
* src/session/test/administrable_test.rb,
|
1359
|
+
* src/session/test/dispatcher_test.rb,
|
1360
|
+
* src/session/administrable.rb,
|
1361
|
+
* src/session/test/basic_test.rb: Change exception namespace.
|
1362
|
+
* src/session/test/fetchable_test.rb: New. Fetchable test suite redone
|
1363
|
+
from scratch.
|
1364
|
+
* src/session/fetchable.rb: Redone from scratch: manage upload and
|
1365
|
+
download.
|
1366
|
+
* src/session/client.rb: Store force_login as an attribute
|
1367
|
+
* src/session/fetcher.rb: Upload and download client-side.
|
1368
|
+
* src/session/profile.rb: Add add_request and clean up.
|
1369
|
+
* src/session/md5_fetchable.rb, src/session/md5_fetcher.rb: Remove.
|
1370
|
+
Deprecated because of the new fetchable.
|
1371
|
+
* src/session/dispatcher.rb: Use send instead of request to manage
|
1372
|
+
logout as a regular request.
|
1373
|
+
* src/session/server.rb: Default usrdb update. Exception moved to ...
|
1374
|
+
Remove self.start. Add pid request and improved a lot start_sub_server.
|
1375
|
+
* src/session/error.rb: New. ...here
|
1376
|
+
|
1377
|
+
2004-12-06 Nicolas Despres <polrop@lrde.epita.fr>
|
1378
|
+
|
1379
|
+
* src/session/test/administrable_test.rb,
|
1380
|
+
* src/session/test/sub_server_test.rb,
|
1381
|
+
* src/session/test/basic_test.rb,
|
1382
|
+
* src/session/test/dispatcher_test.rb,
|
1383
|
+
* src/session/dispatcher.rb,
|
1384
|
+
* src/session/server.rb: Use Const::SALT_KEY.
|
1385
|
+
|
1386
|
+
2004-12-06 Nicolas Despres <polrop@lrde.epita.fr>
|
1387
|
+
|
1388
|
+
* src/session/client.rb: Add require for session/profile.rb
|
1389
|
+
|
1390
|
+
2004-12-06 Nicolas Despres <polrop@lrde.epita.fr>
|
1391
|
+
|
1392
|
+
* src/session/const.rb: New. Contains Session constants.
|
1393
|
+
|
1394
|
+
2004-12-06 Nicolas Despres <polrop@lrde.epita.fr>
|
1395
|
+
|
1396
|
+
* src/io_marshal.rb: Fix non_block features.
|
1397
|
+
* src/session/test/sub_server_test.rb: Test server talking facilities.
|
1398
|
+
* src/session/server.rb: Fix bugs in server talking requests.
|
1399
|
+
|
1400
|
+
2004-12-06 Nicolas Despres <polrop@lrde.epita.fr>
|
1401
|
+
|
1402
|
+
* src/session/test/administrable_test.rb,
|
1403
|
+
* src/session/test/sub_server_test.rb,
|
1404
|
+
* src/session/test/basic_test.rb,
|
1405
|
+
* src/session/test/dispatcher_test.rb: Add module Test in module
|
1406
|
+
Session.
|
1407
|
+
|
1408
|
+
2004-12-06 Nicolas Despres <polrop@lrde.epita.fr>
|
1409
|
+
|
1410
|
+
* src/session/test: New. Session test suite.
|
1411
|
+
* src/session/test/administrable_test.rb,
|
1412
|
+
* src/session/test/sub_server_test.rb,
|
1413
|
+
* src/session/test/basic_test.rb,
|
1414
|
+
* src/session/test/dispatcher_test.rb: New. Move from ..
|
1415
|
+
* src/session/dispatcher_test.rb,
|
1416
|
+
* src/session/server_administrable_test.rb,
|
1417
|
+
* src/session/server_sub_server_test.rb,
|
1418
|
+
* src/session/server_basic_test.rb: Remove. Move to test
|
1419
|
+
|
1420
|
+
2004-12-06 Nicolas Despres <polrop@lrde.epita.fr>
|
1421
|
+
|
1422
|
+
* src/io_marshal.rb: Add non_block argument to load.
|
1423
|
+
* src/session/client.rb: Remove DEFAULT_*. Move test suite to
|
1424
|
+
server_basic_test.rb
|
1425
|
+
* src/session/dispatcher_test.rb: New. Dispatcher test suite.
|
1426
|
+
* src/session/dispatcher.rb: Move test suite to dispatcher_test.rb
|
1427
|
+
* src/session/profile.rb: Hold a dispatcher and renamed.
|
1428
|
+
* src/session/server_administrable_test.rb: New. ...there.
|
1429
|
+
* src/session/server_administrable.rb: Remove. Move to ...
|
1430
|
+
* src/session/server_sub_server_test.rb: New. Test suite for server.rb
|
1431
|
+
* src/session/server.rb: Many new requests under development.
|
1432
|
+
* src/session/server_basic_test.rb: New. Old ClientTest test suite.
|
1433
|
+
|
1434
|
+
2004-12-05 Nicolas Despres <polrop@lrde.epita.fr>
|
1435
|
+
|
1436
|
+
* src/io_marshal.rb: Load all object until eof if no specific number of
|
1437
|
+
object is required.
|
1438
|
+
|
1439
|
+
2004-12-05 Nicolas Despres <polrop@lrde.epita.fr>
|
1440
|
+
|
1441
|
+
* src/io_marshal.rb: New. {dump,load} an object sequence {to,from} an
|
1442
|
+
IO.
|
1443
|
+
|
1444
|
+
2004-12-05 Nicolas Despres <polrop@lrde.epita.fr>
|
1445
|
+
|
1446
|
+
* src/const_regexp.rb: Ruby regexp.
|
1447
|
+
|
1448
|
+
2004-12-04 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1449
|
+
|
1450
|
+
* src/symtbl.rb (each): Propagate on father unless it is nil.
|
1451
|
+
|
1452
|
+
2004-12-04 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1453
|
+
|
1454
|
+
* src/orderedhash.rb: Check that the second hash respond to `order'.
|
1455
|
+
|
1456
|
+
2004-12-04 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1457
|
+
|
1458
|
+
* src/mktemp.rb: Add the `temp?' method, to know if a pathname is
|
1459
|
+
temporary.
|
1460
|
+
|
1461
|
+
2004-12-02 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1462
|
+
|
1463
|
+
* src/spring_set.rb, src/test/unit/ui/yaml/testrunner.rb,
|
1464
|
+
* src/session/fetchable.rb, src/session/administrable.rb,
|
1465
|
+
* src/session/client.rb, src/session/fetcher.rb, src/session/profile.rb,
|
1466
|
+
* src/session/md5_fetchable.rb, src/session/hookable.rb,
|
1467
|
+
* src/session/server_administrable.rb, src/session/md5_fetcher.rb,
|
1468
|
+
* src/session/dispatcher.rb, src/session/server.rb,
|
1469
|
+
* src/pseudo_cache.rb, src/dlogger.rb, src/fold.rb, src/queue.rb,
|
1470
|
+
* src/safe_eval.rb, src/orderedhash.rb, src/top_down.rb, src/mktemp.rb,
|
1471
|
+
* src/const_regexp.rb, src/yaml/basenode_ext.rb, src/spring.rb,
|
1472
|
+
* src/pretty_print_ruby_exc.rb, src/cache.rb,
|
1473
|
+
* src/drb/drb_undumped_attributes.rb,
|
1474
|
+
* src/drb/insecure_protected_methods.rb, src/generate_id.rb,
|
1475
|
+
* src/diff.rb, src/safe_require.rb, src/md5sum.rb, src/symtbl.rb,
|
1476
|
+
* ChangeLog, check-ruby_ex, vcs/ruby_ex.rb, vcs/HOWTO:,
|
1477
|
+
Changed svn:keywords and svn:ignore properties.
|
1478
|
+
|
1479
|
+
2004-12-02 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1480
|
+
|
1481
|
+
* src/dlogger.rb: Transmit the block in method_missing.
|
1482
|
+
|
1483
|
+
2004-12-02 Nicolas Despres <polrop@lrde.epita.fr>
|
1484
|
+
|
1485
|
+
* src/session/fetchable.rb: Remove request_gen_fetch and use &block
|
1486
|
+
instead of yield.
|
1487
|
+
* src/session/fetcher.rb: Rename FETCH_BLOCK_SIZE to BLOCK_SIZE.
|
1488
|
+
* src/session/md5_fetchable.rb: New. Like fetchable but perform md5sum
|
1489
|
+
check.
|
1490
|
+
* src/session/md5_fetcher.rb: New. Like fetcher but works with
|
1491
|
+
md5_fetchable.
|
1492
|
+
* src/cache.rb: s/DEFAULT_//
|
1493
|
+
|
1494
|
+
2004-12-02 Nicolas Despres <polrop@lrde.epita.fr>
|
1495
|
+
|
1496
|
+
* src/cache.rb: Do not use @atime.uniq! any more.
|
1497
|
+
* src/md5sum.rb: Use IO.foreach.
|
1498
|
+
|
1499
|
+
2004-12-02 Nicolas Despres <polrop@lrde.epita.fr>
|
1500
|
+
|
1501
|
+
* src/session/fetchable.rb: Add a generic fetch request.
|
1502
|
+
* src/cache.rb: Many bugs fixed. Keep file permission.
|
1503
|
+
* src/md5sum.rb: Use << instead of update.
|
1504
|
+
|
1505
|
+
2004-12-01 Nicolas Despres <polrop@lrde.epita.fr>
|
1506
|
+
|
1507
|
+
* src/cache.rb: New. Check its size limit. Compute md5sum on the fly.
|
1508
|
+
Guaranteed md5sum correctness. Guaranteed cached items unicity. Keep
|
1509
|
+
items sorted by last access time. Remove only the less accessed items
|
1510
|
+
when adjusting cache size.
|
1511
|
+
|
1512
|
+
2004-12-01 Nicolas Despres <polrop@lrde.epita.fr>
|
1513
|
+
|
1514
|
+
* src/session/fetchable.rb: Add a FIXME.
|
1515
|
+
* src/pseudo_cache.rb: New. ...that.
|
1516
|
+
* src/cache.rb: Remove. Rename to ...
|
1517
|
+
|
1518
|
+
2004-11-30 Nicolas Despres <polrop@lrde.epita.fr>
|
1519
|
+
|
1520
|
+
* src/cache.rb: Add a [] alias for get_full_key. Check if the key is
|
1521
|
+
a directory. Give directly the block to open.
|
1522
|
+
|
1523
|
+
2004-11-30 Nicolas Despres <polrop@lrde.epita.fr>
|
1524
|
+
|
1525
|
+
* src/drb/drb_undumped_attributes.rb: Use the real class name in the
|
1526
|
+
log message.
|
1527
|
+
|
1528
|
+
2004-11-30 Nicolas Despres <polrop@lrde.epita.fr>
|
1529
|
+
|
1530
|
+
* src/spring.rb, src/drb/insecure_protected_methods.rb: Fix
|
1531
|
+
synchronization bug in their test suite.
|
1532
|
+
|
1533
|
+
2004-11-30 Nicolas Despres <polrop@lrde.epita.fr>
|
1534
|
+
|
1535
|
+
* src/cache.rb: New. A file cache manager.
|
1536
|
+
|
1537
|
+
2004-11-30 Nicolas Despres <polrop@lrde.epita.fr>
|
1538
|
+
|
1539
|
+
* src/session/dispatcher.rb: Use regexp to test client's attributes
|
1540
|
+
when selecting them.
|
1541
|
+
|
1542
|
+
2004-11-30 Nicolas Despres <polrop@lrde.epita.fr>
|
1543
|
+
|
1544
|
+
* src/md5sum.rb: New. Add a kernel method which behave as the md5sum
|
1545
|
+
program.
|
1546
|
+
|
1547
|
+
2004-11-30 Nicolas Despres <polrop@lrde.epita.fr>
|
1548
|
+
|
1549
|
+
* src/session/dispatcher.rb: Add a little shortcut: choose_and_select.
|
1550
|
+
|
1551
|
+
2004-11-30 Nicolas Despres <polrop@lrde.epita.fr>
|
1552
|
+
|
1553
|
+
* src/session/dispatcher.rb: Add multi_select_by. method_missing is
|
1554
|
+
back. Request block support.
|
1555
|
+
* src/drb/drb_undumped_attributes.rb: Check if the LOG constant is
|
1556
|
+
defined.
|
1557
|
+
|
1558
|
+
2004-11-29 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1559
|
+
|
1560
|
+
* src/session/dispatcher.rb: Support regexp in select_by.
|
1561
|
+
|
1562
|
+
2004-11-29 Nicolas Despres <polrop@lrde.epita.fr>
|
1563
|
+
|
1564
|
+
* src/drb/drb_undumped_attributes.rb: Include me in your module/class
|
1565
|
+
if you want it dumpable even if some of its attributes are undumpable.
|
1566
|
+
|
1567
|
+
2004-11-29 Nicolas Despres <polrop@lrde.epita.fr>
|
1568
|
+
|
1569
|
+
* src/session/client.rb: Reintroduce method_missing because Dispatcher
|
1570
|
+
need it to be able to select host by remote attributes.
|
1571
|
+
|
1572
|
+
2004-11-29 Nicolas Despres <polrop@lrde.epita.fr>
|
1573
|
+
|
1574
|
+
* src/session/client.rb, src/session/fetcher.rb,
|
1575
|
+
* src/session/server.rb: Requests use &block instead of yield.
|
1576
|
+
|
1577
|
+
2004-11-29 Nicolas Despres <polrop@lrde.epita.fr>
|
1578
|
+
|
1579
|
+
* src/session/client.rb, src/session/server_administrable.rb,
|
1580
|
+
* src/session/dispatcher.rb: Do not use method missing any more.
|
1581
|
+
|
1582
|
+
2004-11-29 Nicolas Despres <polrop@lrde.epita.fr>
|
1583
|
+
|
1584
|
+
* src/session/client.rb: Improve hook synchronization
|
1585
|
+
* src/session/fetcher.rb: Remove useless exception handler.
|
1586
|
+
* src/session/hookable.rb: Layout
|
1587
|
+
* src/session/dispatcher.rb: Reduce a bit the test suite.
|
1588
|
+
* src/session/server.rb: Desynchronize hook_login and hook_request.
|
1589
|
+
A hook is no longer guaranteed to be handle by the client. Remove
|
1590
|
+
new_profile and take a SessionProfile class as argument.
|
1591
|
+
|
1592
|
+
2004-11-29 Nicolas Despres <polrop@lrde.epita.fr>
|
1593
|
+
|
1594
|
+
* src/session/client.rb: Prevent the test suite to be run twice.
|
1595
|
+
* src/session/fetcher.rb: Clean up test suite.
|
1596
|
+
* check-ruby_ex: -a to avoid to run test suite of unmodified files.
|
1597
|
+
|
1598
|
+
2004-11-28 Nicolas Despres <polrop@lrde.epita.fr>
|
1599
|
+
|
1600
|
+
* src/session/fetchable.rb: New. Include me in your server to have the
|
1601
|
+
fetch request.
|
1602
|
+
* src/session/client.rb: Request now support yield and test suite
|
1603
|
+
clean up.
|
1604
|
+
* src/session/profile.rb: 80 columns.
|
1605
|
+
* src/session/fetcher.rb: New. Include me in your client to speak with
|
1606
|
+
the fetch server request.
|
1607
|
+
* src/session/server.rb: Request now support yield and add the rsend
|
1608
|
+
request.
|
1609
|
+
|
1610
|
+
2004-11-26 Nicolas Despres <polrop@lrde.epita.fr>
|
1611
|
+
|
1612
|
+
* src/session/client.rb: Add an assertion to be more sure that the
|
1613
|
+
object is send and its method executed on the server side.
|
1614
|
+
|
1615
|
+
2004-11-26 Nicolas Despres <polrop@lrde.epita.fr>
|
1616
|
+
|
1617
|
+
* src/session/client.rb: Add a test to ensure that sent object are not
|
1618
|
+
undumped by default.
|
1619
|
+
|
1620
|
+
2004-11-26 Nicolas Despres <polrop@lrde.epita.fr>
|
1621
|
+
|
1622
|
+
* src/spring_set.rb: New. Provides a set of spring where thread
|
1623
|
+
can choose the most busy or empty spring.
|
1624
|
+
* src/queue.rb: New. Add put and get aliases.
|
1625
|
+
* src/safe_eval.rb: New. Provides a sandbox to eval ruby code.
|
1626
|
+
* src/spring.rb: New. Provides a kind of spring where thread can
|
1627
|
+
gather data.
|
1628
|
+
* src/diff.rb: New. Diff indexed objects.
|
1629
|
+
|
1630
|
+
2004-11-26 Nicolas Despres <polrop@lrde.epita.fr>
|
1631
|
+
|
1632
|
+
* src/session/client.rb, src/session/server_administrable.rb,
|
1633
|
+
* src/session/dispatcher.rb: Add TEST_MODE and ensure ruby1.9 is used.
|
1634
|
+
* src/drb/insecure_protected_methods.rb: Add TEST_MODE.
|
1635
|
+
* check-ruby_ex: Redirect stderr to check-ruby_ex.log. Add --skip
|
1636
|
+
options. Add a signal trap for SIGINT.
|
1637
|
+
|
1638
|
+
2004-11-26 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1639
|
+
|
1640
|
+
* vcs/ruby_ex.rb: Run the `ruby_ex' test suite before a commit.
|
1641
|
+
|
1642
|
+
2004-11-26 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1643
|
+
|
1644
|
+
* ChangeLog: Restore ChangeLog entries.
|
1645
|
+
|
1646
|
+
2004-11-26 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1647
|
+
|
1648
|
+
* src/test/unit/ui/yaml/testrunner.rb:
|
1649
|
+
Register the Yaml::TestRunner as :yaml in the AutoRunner system.
|
1650
|
+
* check-ruby_ex: Use the AutoRunner with :yaml.
|
1651
|
+
|
1652
|
+
2004-11-26 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1653
|
+
|
1654
|
+
* src/symtbl.rb: New. Import from ttk, and update tests.
|
1655
|
+
|
1656
|
+
2004-11-26 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1657
|
+
|
1658
|
+
* vcs/HOWTO: New.
|
1659
|
+
* vcs/ruby_ex_commit.rb: Rename to ...
|
1660
|
+
* vcs/ruby_ex.rb: ... this. Update.
|
1661
|
+
|
1662
|
+
2004-11-24 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1663
|
+
|
1664
|
+
To check it just type: ./check-ruby_ex
|
1665
|
+
|
1666
|
+
* check-ruby_ex: New.
|
1667
|
+
|
1668
|
+
2004-11-25 Nicolas Despres <polrop@lrde.epita.fr>
|
1669
|
+
|
1670
|
+
* src/session/client.rb: Fix service management.
|
1671
|
+
* src/session/dispatcher.rb: Test srvdb integrity.
|
1672
|
+
|
1673
|
+
2004-11-25 Nicolas Despres <polrop@lrde.epita.fr>
|
1674
|
+
|
1675
|
+
* src/pretty_print_ruby_exc.rb: New. Pretty print ruby exception like
|
1676
|
+
ruby does.
|
1677
|
+
|
1678
|
+
2004-11-25 Nicolas Despres <polrop@lrde.epita.fr>
|
1679
|
+
|
1680
|
+
* src/session/client.rb, src/session/profile.rb,
|
1681
|
+
* src/session/server_administrable.rb,
|
1682
|
+
* src/session/server.rb: Change :name to :usrname in the session
|
1683
|
+
profile.
|
1684
|
+
|
1685
|
+
2004-11-25 Nicolas Despres <polrop@lrde.epita.fr>
|
1686
|
+
|
1687
|
+
* src/session/profile.rb: to_hash return a duplicata of its data.
|
1688
|
+
* src/fold.rb: New. Fold over hash and array.
|
1689
|
+
* src/top_down.rb: New. TopDown traversal over hash and array.
|
1690
|
+
|
1691
|
+
2004-11-24 Nicolas Despres <polrop@lrde.epita.fr>
|
1692
|
+
|
1693
|
+
* src/test: New.
|
1694
|
+
* src/test/unit: New.
|
1695
|
+
* src/test/unit/ui: New.
|
1696
|
+
* src/test/unit/ui/yaml: New.
|
1697
|
+
* src/test/unit/ui/yaml/testrunner.rb: New. Test::Unit runner which
|
1698
|
+
dump Yaml
|
1699
|
+
* src/const_regexp.rb: New. Contains many common regular expression.
|
1700
|
+
* src/session: New. Module Session for DRuby.
|
1701
|
+
* src/session/client.rb: New. Client session-oriented for DRuby (lazy
|
1702
|
+
login).
|
1703
|
+
* src/session/administrable.rb: New. Requests package for Server.
|
1704
|
+
Provide request to administrate Server configuration remotely.
|
1705
|
+
* src/session/profile.rb: New. Session profile. Hold all session
|
1706
|
+
informations.
|
1707
|
+
* src/session/hookable.rb: New. Make a client hookable by the server.
|
1708
|
+
* src/session/server_administrable.rb: New. A Server subclass which
|
1709
|
+
include Administrable.
|
1710
|
+
* src/session/dispatcher.rb: New. Hold a set of Client and dispatch
|
1711
|
+
request to them. Provides client selection facilities.
|
1712
|
+
* src/session/server.rb: New. Session oriented-server for DRuby.
|
1713
|
+
* src/drb: New. Extension module for DRuby.
|
1714
|
+
* src/drb/insecure_protected_methods.rb: New. Make protected methods
|
1715
|
+
of the server front object insecure.
|
1716
|
+
* src/generate_id.rb: New. Generate unique id string according to a
|
1717
|
+
set of id.
|
1718
|
+
|
1719
|
+
2004-11-23 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1720
|
+
|
1721
|
+
* src/safe_require.rb: Search more extensions.
|
1722
|
+
|
1723
|
+
2004-11-23 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1724
|
+
|
1725
|
+
* src/mktemp.rb: Add Tempfile.close_at_exit.
|
1726
|
+
|
1727
|
+
2004-11-23 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1728
|
+
|
1729
|
+
* src/yaml/basenode_ext.rb: New, YAML::BaseNode extension to
|
1730
|
+
obtain children list of a node, in parsing order.
|
1731
|
+
|
1732
|
+
2004-11-23 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1733
|
+
|
1734
|
+
* vcs/ruby_ex_commit.rb: Add `ask' and update to new `common_commit'.
|
1735
|
+
|
1736
|
+
2004-11-23 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1737
|
+
|
1738
|
+
* src/orderedhash.rb: New, this file provide a sub class for Hash,
|
1739
|
+
where the insertion order of keys is kept.
|
1740
|
+
|
1741
|
+
2004-11-23 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1742
|
+
|
1743
|
+
* src/safe_require.rb: New, SafeRequire provide a new way to
|
1744
|
+
require your files, which really check that you did not already
|
1745
|
+
require it. It also permit to override the default require.
|
1746
|
+
|
1747
|
+
2004-11-23 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1748
|
+
|
1749
|
+
* src/mktemp.rb: New, Tempfile extension.
|
1750
|
+
|
1751
|
+
2004-11-23 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1752
|
+
|
1753
|
+
* src/dlogger.rb: New, dlogger is a logger extension, which permit
|
1754
|
+
to use more debug levels.
|
1755
|
+
|
1756
|
+
2004-11-23 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1757
|
+
|
1758
|
+
* vcs/ruby_ex_commit.rb: New.
|
1759
|
+
|
1760
|
+
2004-11-23 Nicolas Pouillard <ertai@lrde.epita.fr>
|
1761
|
+
|
1762
|
+
Initial commit.
|
1763
|
+
|