rjb 1.3.0-universal-darwin-10

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog ADDED
@@ -0,0 +1,502 @@
1
+ Sun Oct 24 arton
2
+ *sample/filechooser.rb
3
+ omit Thread use (cause JVM crush with 1.9 and StackOverflow with 1.8)
4
+ Sat Oct 23 arton
5
+ *ext/rjb.c
6
+ RJV_VERSION -> 1.3.0
7
+ add loaded? class method.
8
+ add add_classpath method (add jars without invoking load method)
9
+ *ext/load.c
10
+ OSX default jvm name changes to "JavaVM" (bug#28667 reported by Jeff Adams, thanks Jeff !)
11
+ *ext/extconf.rb
12
+ OSX javahome set to /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK
13
+ *lib/rjbextension.rb
14
+ use Rjb::add_classpath method instead of Kernel's class vars.
15
+ *test/test.rb, test/exttest.rb
16
+ fix add_jar test, previous version load them from jp directory.
17
+ Tue Sep 22 arton
18
+ *ext/rjb.c
19
+ RJV_VERSION -> 1.2.10
20
+ add add_jars method. add_jar and add_jars can take an array of jars.
21
+ *test/test.rb
22
+ add calling add_jar with an array test.
23
+ Tue Sep 21 arton
24
+ *ext/rjb.h
25
+ export ClassLoader methods
26
+ *ext/load.c
27
+ move ClassLoader interaction codes into rjb.c
28
+ *ext/rjb.c
29
+ RJV_VERSION -> 1.2.9
30
+ add add_jar method.
31
+ loading classes throgh URLClassLoader if the user add Jars
32
+ *lib/rjb.rb
33
+ change MODIFIER module into a constant. Because it implys Rjb::import.
34
+ change Config -> RbConfig for 1.9
35
+ *test/test.rb
36
+ add Rjb::add_jar test
37
+ *test/JarTest.java
38
+ *test/jartest.jar
39
+ add for Rjb::add_jar test
40
+ Fri Sep 17 arton
41
+ *test/test.rb
42
+ sort arguments order for test_java_methods (the order is implement dependent)
43
+ add fixnum conversion test for 64bit platform (test_64fixnum)
44
+ *ext/rjb.c
45
+ RJV_VERSION -> 1.2.8
46
+ fix rv2jlong bug, the solution was suggested by Ary Borenszweig
47
+ Sun Aug 29 arton
48
+ *ext/rjb.c
49
+ ignore no arguments method signature.
50
+ name base classes under Rjb module.
51
+ *lib/rjb.rb
52
+ implements public_methods and methods
53
+ *test/test.rb
54
+ add non arguments method sig test
55
+ add methods, public_methods, java_methods test
56
+ Thu Jul 22 arton
57
+ *ext/rjb.c
58
+ RJB_VERSION -> 1.2.6
59
+ export jv2rv for rjbexception.c
60
+ *ext/rjb.h
61
+ export jv2rv for rjbexception.c
62
+ *ext/rjbexception.c
63
+ create and keep java exception object for its properties.
64
+ *test/test.rb
65
+ add Exception#cause test
66
+ Wed Jun 9 arton
67
+ *ext/load.c
68
+ accept JAVA_HOME having an extra slash at the end
69
+ *ext/rjb.c
70
+ RJB_VERSION -> 1.2.5
71
+ Fri Jun 5 arton
72
+ *ext/rjb.h
73
+ defin HAVE_LONG_LONG if no HAVE_LONG_LONG but LP64
74
+ *ext/rjb.c
75
+ remove unused variables
76
+ RJB_VERSION -> 1.2.4
77
+ Fri Jun 4 arton
78
+ *ext/riconv.c
79
+ remove unused function if build with Ruby 1.9
80
+ *ext/rjb.c
81
+ RJB_VERSION -> 1.2.3
82
+ to accomodate with rubinius
83
+ *ext/load.c
84
+ to accomodate with rubinius
85
+ *ext/rjbexception.c
86
+ to accomodate with rubinius
87
+ Sun May 30 arton
88
+ *lib/rjbextension.rb
89
+ Rjb extension from Andreas Ronge's neo4j
90
+ - directly import jar by require method
91
+ - Rjb::import without quotations (Java class as Ruby object)
92
+ *test/exttest.rb
93
+ test for rjbextension.rb
94
+ *test/rjbtest.jar
95
+ test file for rjbextension.rb
96
+ Sat May 29 arton on behalf of atoulme
97
+ *ext/rjb.c
98
+ *ext/load.c
99
+ *ext/rjbexception.c
100
+ to accomodate with rubinius
101
+ thanks atoulme !
102
+ Wed May 12 arton
103
+ *test/test.rb
104
+ add Class name for TestMixin module because ruby 1.9 doesn't handle the constant.
105
+ Tue May 11 arton
106
+ *ext/rjb.c
107
+ fix duplicate method registering while no alias.
108
+ add class methods for inspecting method signatures.
109
+ add class_eval method for extending Java class
110
+ *test/test.rb
111
+ add class methods test for inspecting method signatures.
112
+ add mixin tests
113
+ Tue May 4 arton
114
+ *ext/load.c
115
+ corrected wrong function signature (BUG#28088), pointed and fixed by Romulo A. Ceccon (thanks)
116
+ *ext/rjb.c
117
+ using inheritance check while inspecting a object is RJB's instance (for extending it).
118
+ Tue Mar 16 arton
119
+ *ext/riconv.c
120
+ change locale setting "" to "C", fixed by Fabien Sartor (rjb-Bugs-27968)
121
+ *ext/rjb.c
122
+ RJB_VERSION -> 1.2.1
123
+ Sun Nov 1 arton
124
+ *ext/load.c
125
+ load jvm pointed by JVM_LIB environment variable first (suggested by Ittay Dror).
126
+ *ext/rjb.c
127
+ RJB_VERSION -> 1.2.0
128
+ Sun Oct 11 arton
129
+ *ext/extconf.rb
130
+ add double quotation around include path for mingw compiler, original patched by Roger Pack (thanks)
131
+ remove double quotaion around java_home variable for existing checking by File.directoy?
132
+ *rjb.rake
133
+ adding mingw support for the older version compatibility checking
134
+ Thu Sep 10 arton
135
+ *ext/load.c
136
+ Correct previous code (always reload jvm if OSX < Snow Leopard)
137
+ Clear DL's exception if success
138
+ *ext/rjb.c
139
+ RJB_VERSION -> 1.1.9
140
+ *ext/rjbexception.c
141
+ fit arguments for rb_raise to shut warning down
142
+ Mon Sep 07 arton
143
+ *ext/load.c
144
+ Check no compat type dylib after loading was failed (for Snow Leopard)
145
+ *ext/rjb.c
146
+ RJB_VERSION -> 1.1.8
147
+ Sun Feb 15 arton
148
+ *test/test/rb
149
+ add $KCODE and magic comment for iconv
150
+ *ext/rjb.c
151
+ RJB_VERSION -> 1.1.7
152
+ Thu Feb 5 kuwa1
153
+ *test/Test.java
154
+ *test/test.rb
155
+ add tests(Umlaut)
156
+ *ext/rjb.c
157
+ *ext/load.c
158
+ fix for ruby19
159
+ Sun Nov 16 arton
160
+ *ext/load.c
161
+ apply hpux patch, contributed by Ittay Dror. thanks
162
+ Tue Aug 26 arton
163
+ *ext/load.c, rjb.c, rjb.h
164
+ export safe_funcall under the prefix 'rjb'.
165
+ calling DL with rb_protect for avoiding exception.
166
+ Mon Aug 25 arton
167
+ *ext/load.c
168
+ Fix checking the result for loading alternate_jvm_type.
169
+ (patch from Kumar, thanks)
170
+ Thu Aug 14 arton
171
+ *ext/rjb.c, load.c, etc
172
+ change comment line // -> /* */ because AIX's compiler
173
+ add _AIX for load.c (this patch from Ittay Dror, thanks)
174
+ *ext/load.c
175
+ add ALT_JVM_TYPE for alternative jvm directory (by Kumar)
176
+ Sun Jul 13 arton
177
+ *ext/rjb.c
178
+ display warning when Rjb load jvm implicitly if $DEBUG or $VERBOSE.
179
+ Mon May 26 arton
180
+ *ext/rjb.c
181
+ correct char primitive conversion for Bigendian machine.
182
+ use macroes for loading classes
183
+ *ext/load.c
184
+ adjust OS X's directory
185
+ *ext/extconf.rb
186
+ adjust OS X's directory if Home exists
187
+ Thu Mar 27 arton
188
+ *ext/rjb.c
189
+ mark version 1.1.4 for the next release.
190
+ *test/test.rb
191
+ remove unload, because it fails.
192
+ It's more important to assert each functions.
193
+ Thu Mar 27 arton
194
+ *ext/riconv.c
195
+ activate conv tables for getenv configuration.
196
+ Tue Mar 5 Kuwashima
197
+ *ext/rjb.c
198
+ *ext/rjb.h
199
+ *ext/rjbexception.c
200
+ add auto load method.
201
+ Tue Mar 4 Kuwashima
202
+ *ext/rjbexception.c
203
+ *ext/rjb.c
204
+ *test/test.rb
205
+ clear(ignore) exception in current java thread, before some operation.
206
+ *ext/rjbexception.c
207
+ *ext/rjb.c
208
+ add auto load for Rjb::bind, Rjb::throw
209
+ *ext/rjb.c
210
+ *test/test.rb
211
+ add Rjb::unbind
212
+ *test/test.rb
213
+ add loading rubygems
214
+ Sat Feb 23 arton
215
+ *test/test.rb
216
+ let test_field metod use Test.class instead of Point.class
217
+ *test/Test.java
218
+ add a public field for testing
219
+ Fri Feb 22 arton
220
+ *ext/rjb.c
221
+ mark version 1.1.3 for the next release.
222
+ Fri Feb 22 arton
223
+ *ext/rjb.c
224
+ fix field reference (bug# 18238)
225
+ Wed Jan 9 arton
226
+ *ext/rjb.h
227
+ add some ruby macros that defined after 1.8.6 for compatibility
228
+ Change RBridge.class by 1.4.2
229
+ *data/rjb/jp/co/infoseek/hp/arton/rjb/RBridge.class
230
+ compiled by 1.4.2 version of Java
231
+ *rjb.c
232
+ mark version 1.1.2 for the next release.
233
+ Tue Dec 27 Kuwashima
234
+ *test/Test.java
235
+ *test/test.rb
236
+ *ext/depend
237
+ *ext/load.c
238
+ *ext/extconf.rb
239
+ *ext/rjbexception.c
240
+ *ext/rjb.c
241
+ *ext/riconv.c
242
+ change for compatibility with Ruby-1.9.0
243
+ Tue Nov 20 arton
244
+ *rjb.c
245
+ mark version 1.10.12 for next relase.
246
+ *load.c
247
+ omit useless double-quotations from JAVA_HOME, maybe specifies a longpathname (but useless).
248
+ Wed Nov 14 Kuwashima
249
+ *rjb.c
250
+ add error check to constructor.
251
+ Fri Nov 9 arton
252
+ *test.rb
253
+ *Test.java
254
+ add test for reproducing rjb-bugs-15430
255
+ *rjb.c
256
+ fix rjb-bugs-15430 that caused by bad array conversion.
257
+ (generics method result signature is an object, but the real result is typed array)
258
+ *riconv.c
259
+ correct to get the number of array element.
260
+ Tue Oct 23 Kuwashima
261
+ *riconv.c
262
+ Change string encoding conversion rule.
263
+ Mon Oct 22 Kuwashima
264
+ *riconv.c
265
+ *riconv.h
266
+ recycle iconv instance.
267
+ *test/test.rb
268
+ add cases for test_kjconv
269
+ Sun Sep 23 arton
270
+ *rjb.c
271
+ version 1.0.9
272
+ convert to Ruby's type if Rjb::primitive_converion is enalbed and the result type is java.lang.Object
273
+ support the object conversion for a bignum to long.
274
+ Sat Sep 15 arton
275
+ *rjb.c
276
+ version 1.0.8
277
+ correction of 1.0.7, support long type.
278
+ Fri Sep 14 arton
279
+ *rjb.c
280
+ version 1.0.7
281
+ add auto primitive conversion toggled by Rjb::primitive_conversion
282
+ *test.rb
283
+ add test_auto_conv
284
+ Sun Jun 17 arton
285
+ *rjb.c
286
+ add method aliases.
287
+ setXxYy -> xx_yy=
288
+ getXxYy -> xx_yy
289
+ isXxYy -> xx_yy?
290
+ xxYyZz -> xx_yy_zz
291
+ *test.rb
292
+ add a test for the method alias feature.
293
+ Tue Nov 21 arton
294
+ *rjb.c
295
+ Skip the constant registering process, if the constant was already defined.
296
+ *load.c
297
+ *rjb.c
298
+ *rjbexception.c
299
+ *rjb.h
300
+ add prefix 'rjb' for externed symbol names to avoid confliction.
301
+
302
+ Sun Oct 08 arton (on behalf of richard apodaca)
303
+ *load.c
304
+ support AMD64
305
+
306
+ Mon Sep 11 arton
307
+ *test.rb
308
+ add a test of arguments types are various array.
309
+ *Test.java
310
+ add a test of arguments types are various array.
311
+ *rjb.c
312
+ accept nil for array parameter.
313
+ Sun Sep 10 arton
314
+ *test.rb
315
+ add a test of return type is an object wrapped an array
316
+ *Test.java
317
+ add a method that returns an object wrapped an array
318
+ *rjb.c
319
+ check array-mark in jv2rv for returned object was an array
320
+ Tue Aug 1 arton
321
+ *load.c
322
+ *rjb.c
323
+ change load pathname of the bridge class.
324
+ *post-install.rb
325
+ add for remove previous installed rjb.so.
326
+ *rjb.rake
327
+ add for build Gem.
328
+ *rjb.rb
329
+ for preparing the pathname constant of the bridge class.
330
+ *depend
331
+ chage binary name from rjb.so to rjbcore.so
332
+ *extconf.rb
333
+ chage binary name from rjb.so to rjbcore.so
334
+
335
+ Mon Jul 31 arton
336
+ *load.c
337
+ fix buffer allocation
338
+
339
+ Sun Jul 16 (Jun 22) Kuwashima and arton
340
+ *rjb.c
341
+ version 0.2.8
342
+ *MANIFEST
343
+ *depend
344
+ *load.c
345
+ *rjbexception.c
346
+ change jni.h to jniwrap.h.
347
+ change the bridge class's header according to JDK 5.0's javah.
348
+ *jniwrap.h
349
+ wrap jni.h for Cygin
350
+
351
+ Sat Jun 10 14:10:05 2006 arton
352
+ *rjb.c
353
+ version 0.2.7
354
+ support an array of arrays from ruby to java.
355
+
356
+ Mon May 8 08:52:12 2006 arton
357
+ *load.c
358
+ revision 5
359
+ support both Intel and PPC Mac.
360
+ Patched version was contributed by Demetrius Nunes.
361
+
362
+ Wed Apr 12 03:57:12 2006 arton
363
+ *rjb.c
364
+ version 0.2.6
365
+ support an array of arrays.
366
+ *test.rb
367
+ add an array of arrays test, some tests are contributed by Darren Day.
368
+ *Test.java
369
+ add a test method that returns an array of arrays, some tests are
370
+ contributed by Darren Day.
371
+
372
+ Sat Dec 24 18:56:38 2005 arton
373
+ *rjb.c
374
+ version 0.2.5
375
+ release String, Float, Array object after method call.
376
+ *gctest.rb
377
+ add for String object gc test
378
+
379
+ Mon Sep 19 01:09:30 2005 arton
380
+ *rjb.c
381
+ version 0.2.4
382
+ use null instead of empty string when String argument is nil
383
+ omit unused local variable from jstring2val
384
+ *test.rb
385
+ add null string test (bug since utf-8 support)
386
+
387
+ Tue Jun 28 01:57:07 2005 arton
388
+ *rjb.c
389
+ version 0.2.3
390
+ convert result object to imported class if object is an instance of Class
391
+ call Class#forName if argument count is 1
392
+ *test.rb
393
+ add test_importobj contributed by Mr. Kuwashima, thanks.
394
+
395
+ Mon Jun 27 20:30:50 2005 arton
396
+ treat Class.forName as Rjb::import
397
+ *rjb.c
398
+ version 0.2.2
399
+ add method 'forName' into imported Class object
400
+ if pass imported object to JVM, extract Class object from ruby object
401
+ *test.rb
402
+ add above tests
403
+
404
+ Sat Jun 25 05:58:36 2005 arton
405
+ most bugs were reported by Mr. Micael Weller, thanks.
406
+ *rjb.c
407
+ version 0.2.1
408
+ correct derived static method search
409
+ search class methods then class's instance methods when called by class
410
+ avoid register non capitalized named constants into constants table
411
+ correct capitalized named method search
412
+ *riconv.c
413
+ never call iconv if $KCODE is nil
414
+ *load.c
415
+ using path separator ; for cygwin (by Ryugate)
416
+
417
+ Sun Apr 24 05:26:16 2005 arton
418
+ *rb.c
419
+ version 0.2.0
420
+ delete localref if globalref was created.
421
+ load can take the second argument for jvm
422
+ *load.c
423
+ load can take the second argument for jvm
424
+
425
+ Mon Jan 17 02:40:21 2005 arton
426
+ *rjb.c
427
+ add 'throw' module function.
428
+ move java exception handling functions into newly created rjbexception.c
429
+ *rjb.h
430
+ declations for rjb.c and rjbexception.c
431
+ *rjbexception.c
432
+ java exception handling functions, and 'throw' module function.
433
+ *test.rb
434
+ adding throw test.
435
+
436
+ Wed Jan 12 00:01:08 2005 Kaspar Schiess and arton
437
+ *rjb.c
438
+ correct Rjb::load parameter evaluation (classpath).
439
+ - many thanks to Mr.Schiess.
440
+
441
+ Sun Nov 21 02:51:43 2004 Kuwashima and arton
442
+ *rjb.c
443
+ move dbcs-utf-8 auto conversion feature into riconv.?
444
+ remove JNI version argument from Rjb::load. (bug reported by Mr.Tateishi)
445
+ *load.c
446
+ correct CLASSPATH setting (bad environment name).(bug reported by Mr.Tateishi)
447
+ *riconv.c riconv.h (contributed by Mr.Kuwashima)
448
+ DBCS - utf-8 auto conversion functions.
449
+ *depend MANIFEST
450
+ add riconv.?
451
+ - many tanks to Mr.Kuwashima and Mr.Tateishi.
452
+
453
+ Tue Oct 5 23:08:59 2004 Kuwashima and arton
454
+ *test.rb
455
+ add kanji conversion test
456
+ *rjb.c
457
+ add dbcs(sjis and euc-jp) - utf-8 auto conversion feature.
458
+ the patch was contributed by Mr.Kuwashima, many thanks.
459
+
460
+ Sun Oct 3 18:24:42 2004 arton
461
+ *load.c
462
+ JNIEnv* now using local variable instead of global one.
463
+ Because AWT event use a worker thread, and JNI need thread's owned JNIEnv.
464
+ *rjb.c
465
+ JNIEnv* now using local variable instead of global one.
466
+ Because AWT event use a worker thread, and JNI need thread's owned JNIEnv.
467
+ This change was suggested by Mr.Kuwashima, he also tested the behavior,
468
+ and gave me some test codes.
469
+ and attach_current_thread is from Mr.Kuwashima's patch.
470
+ Many thanks to Mr.Kuwashima.
471
+
472
+ Sat Sep 25 03:25:45 2004 arton
473
+ *rjb.c
474
+ implements interface's method argument conversion.
475
+ *test.rb
476
+ add Comparable test (interface with method arguments)
477
+ *Test.java
478
+ add Comparable test method.
479
+
480
+ Wed Sep 22 02:30:15 2004 arton
481
+ *rjb.c
482
+ correct constants load, using mid-class.
483
+ convert null string to nil
484
+
485
+ Wed Sep 22 00:05:32 2004 arton
486
+ *rjb.c
487
+ correct ruby type checking. If the parameter type is java.lang.String, rjb instance is always accepted.
488
+
489
+ Mon Sep 20 22:02:53 2004 arton
490
+ *rjb.c
491
+ checking method/constructor signature with class when the argument is rjb's instance.
492
+ Sun Sep 19 00:54:35 2004 arton
493
+ *rjb.c
494
+ convert Java exception to Ruby's StandardError derived class.
495
+ checking method/constructor signature when invoking if no signatur argument is supplied.
496
+ adding field accessor.
497
+
498
+ Sun Sep 12 21:42:00 2004 arton
499
+ *rjb.c
500
+ call exception description when verbose = true.
501
+ correct recursive import call (for Boolean).
502
+ corrent method not found message creation.