rjb 1.3.3-universal-darwin-10 → 1.3.4-universal-darwin-10

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