rjb 1.5.4 → 1.5.5

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 (43) hide show
  1. checksums.yaml +4 -4
  2. data/ChangeLog +725 -703
  3. data/README.md +65 -0
  4. data/ext/extconf.h +1 -1
  5. data/ext/extconf.rb +1 -0
  6. data/ext/jniwrap.h +34 -34
  7. data/ext/jp_co_infoseek_hp_arton_rjb_RBridge.h +21 -21
  8. data/ext/load.c +2 -0
  9. data/ext/rjb.c +2 -2
  10. data/lib/rjb.rb +3 -0
  11. data/lib/rjb/version.rb +27 -0
  12. data/lib/rjbextension.rb +1 -1
  13. data/readme.sj +27 -27
  14. data/test/exttest.rb +39 -39
  15. data/test/jartest.rb +24 -24
  16. data/test/jartest2.rb +23 -23
  17. data/test/jartest3.rb +28 -28
  18. data/test/jp/co/infoseek/hp/arton/rjb/CallbackTest$Callback.class +0 -0
  19. data/test/jp/co/infoseek/hp/arton/rjb/CallbackTest.class +0 -0
  20. data/test/jp/co/infoseek/hp/arton/rjb/IBase.class +0 -0
  21. data/test/jp/co/infoseek/hp/arton/rjb/JarTest.class +0 -0
  22. data/test/jp/co/infoseek/hp/arton/rjb/JarTest2.class +0 -0
  23. data/test/jp/co/infoseek/hp/arton/rjb/Test$TestTypes.class +0 -0
  24. data/test/jp/co/infoseek/hp/arton/rjb/Test.class +0 -0
  25. data/test/jp/co/infoseek/hp/arton/rjb/Two.class +0 -0
  26. data/test/jp/co/infoseek/hp/arton/rjb/TwoCaller.class +0 -0
  27. data/test/test.rb +26 -26
  28. data/test/test_unload.rb +26 -26
  29. metadata +14 -26
  30. data/test/Base.class +0 -0
  31. data/test/CallbackTest$Callback.class +0 -0
  32. data/test/CallbackTest.class +0 -0
  33. data/test/ExtBase.class +0 -0
  34. data/test/IBase.class +0 -0
  35. data/test/JTest.class +0 -0
  36. data/test/Test$TestTypes.class +0 -0
  37. data/test/Test.class +0 -0
  38. data/test/Two.class +0 -0
  39. data/test/TwoCaller.class +0 -0
  40. data/test/jp/co/infoseek/hp/arton/rjb/JTest.class +0 -0
  41. data/test/js.rb +0 -54
  42. data/test/reader.rb +0 -11
  43. data/test/reader2.rb +0 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b86ebef9a2609ac8cc5296b173d38276d6a756f6
4
- data.tar.gz: ce72a1cc8f1c541f3cfe043ce62bd7a04288312a
3
+ metadata.gz: 3bd11fadf55c58d28049cbd150cf6b74f8ff0a9a
4
+ data.tar.gz: b5b308b407d408baa604487c6d2d520d46e3ce65
5
5
  SHA512:
6
- metadata.gz: 67206f3f0c532bfe9fca75369c9d89fd9bc5f952f3ce946563def444dabbb86a542abf58d6bed8585931811e41e8509feab78cdb38a88f7f8bdf3e4e850b11da
7
- data.tar.gz: adf9abb8c8de32ae4ca94fff0d6c778d8efc2e48e3e6cc61ccb7514533d1a1302021c32a976d4eacd5dd0ded64274a95f794809fd051c012468be10c121f5811
6
+ metadata.gz: acad6e9acd24e609195014897eebe87d16bb7a8e11b5a96da77511a158a95b83bb820a1fb70b8a9b76fde457dbfae801589aac5b81027990beff05206318146a
7
+ data.tar.gz: 88082cd6024ed28ea83cfbd0b6dfce9e9421878af47c734dec5a6d0351dda9d6053e6689bc2a33218b20c6530e37e94479444dec93cf9007d8f4fd91327e40c6
data/ChangeLog CHANGED
@@ -1,703 +1,725 @@
1
- Fri Nov 27 arton
2
- *ext/rjb.c
3
- RJB_VERSION -> 1.5.4
4
- copy back char[] contents into original array
5
- *test/test.rb
6
- add char array test (test_bothdirection_chararray)
7
- Sat Dec 20 2014 arton
8
- *ext/rjb.c
9
- RJB_VERSION -> 1.5.3
10
- select preferable constructor if argument is an array (for java.lang.String)
11
- *test/test.rb
12
- change literals to constants for kanji strings
13
- Sun Dec 14 2014 arton
14
- *lib/rjb.rb
15
- FakeDL for Rubinius
16
- *ext/riconv.c
17
- Change variable name for avoiding conflicion (Runinius)
18
- *ext/rjb.c
19
- RJB_VERSION -> 1.5.2
20
- Support Rubinius (Rubinius's block is T_OBJECT instead of T_DATA -> affected to anonclass)
21
- *test/test.rb
22
- skip fixnum range test if Rubinius
23
- Tue Sep 23 2014 arton
24
- *ext/rjb.c
25
- RJB_VERSION -> 1.5.1
26
- more weight for array and true/false
27
- Sat Sep 20 2014 arton
28
- *ext/rjb.c
29
- RJB_VERSION -> 1.5.0
30
- fix ctor_sigs with non argment ctor (represented by '')
31
- select preferable constructor
32
- *ext/riconv.c
33
- restruct encoding function
34
- *test/test.rb
35
- add constructor selection test (Ljava.lang.String; vs [B)
36
- Wed Jan 15 2014 arton
37
- *rjb.rake
38
- add lib/rjb/*.rb into gem
39
- Fri Jan 4 2014 arton
40
- *test/Test.java
41
- *test/rjbtest.jar
42
- add inner exception test
43
- *test/test.java
44
- add inner exception test
45
- Fri Jan 3 2014 arton
46
- *ext/rjb.c
47
- RJB_VERSION -> 1.4.9
48
- *ext/rjbexception.c
49
- make J#cause to the instance method for resolving Ruby 2.1 confliction.
50
- Sun Jun 23 2013 arton
51
- *ext/rjb.c
52
- RJB_VERSION -> 1.4.8
53
- create typed array exactly (reported by reinvanmeeteren on https://github.com/arton/rjb/issues/23)
54
- *test/test.rb
55
- add typed array test
56
- *test/Test.java
57
- add typed array test
58
- Tue Jun 18 2013 arton
59
- *ext/load.c
60
- check fiddle has dlopen (after ruby 2.0).
61
- Tue Jun 18 2013 arton
62
- *ext/rjb.c
63
- RJB_VERSION -> 1.4.7
64
- *ext/load.c
65
- rqeuire fiddle first, then dl. the patch originally created by Victor Lellis.
66
- Fri May 17 2013 arton
67
- *test/test.rb
68
- add Byte test
69
- Sun Apr 48 2013 arton
70
- *ext/rjb.o
71
- remove binary
72
- *ext/rjb.obj
73
- remove binary
74
- Sat Jan 26 2013 arton
75
- *ext/rjb.c
76
- RJB_VERSION -> 1.4.6 for new gem
77
- *RBridge.class
78
- Java Major Version -> 46
79
- Sun Jan 13 2013 arton
80
- *test/test.rb
81
- add bignum argument test
82
- *ext/rjb.c
83
- accept bignum argument for 'J'
84
- this bug(or at least mis spec.) was pointed by janroesner. Thanks janroesner !
85
- Tue Dec 17 arton
86
- *test/test.rb
87
- add test_norarg_invoke
88
- *ext/rjb.c
89
- _invoke accepts noarg method call (reported by xiao li, thanks)
90
- RJB_VERSION -> 1.4.4 for new gem
91
- Wed Nov 14 arton
92
- *ext/rjb.c
93
- RJB_VERSION -> 1.4.3 for new gem
94
- *ext/extconf.rb
95
- remove checking dl.h, rjb not need to include it.
96
- Sat Oct 6 arton
97
- *ext/rjb.c
98
- RJB_VERSION -> 1.4.2
99
- *test/osx_jvmcheck.rb
100
- display vendor and version of JRE for OSX load test
101
- *test/osx_loadtest.rb
102
- add Oracle JVM support test for OSX
103
- *lib/rjb.rb
104
- add Oracle JVM support for OSX
105
- Sun Aug 19 arton
106
- *ext/rjb.c
107
- export bound object's original ruby object as @wrapped
108
- RJB_VERSION -> 1.4.1
109
- *lib/rjb.rb
110
- define Rjb_JavaBridge class for support @wrapped delegation
111
- *test/test.rb
112
- add @wrapped object invoking test
113
- Sun Apr 22 arton
114
- *ext/rjb.c
115
- add Rjb_JavaProxy#initialize_proxy method for preparing proxy instance.
116
- RJB_VERSION -> 1.4.0
117
- *lib/rjb
118
- add rjb own directory
119
- *lib/rjbextension.rb
120
- move contents into rjb/extension.rb
121
- *lib/rjb/extension.rb
122
- extension library to handle package name easily.
123
- *lib/rjb/list.rb
124
- implements each method for Iterable and Iterator.
125
- Sun Apr 22 arton
126
- *ext/rjb.c
127
- use URLClassLoader#addJar for Rjb::add_jar method.
128
- It accepts unhierarchic load order.
129
- *test/jartest2.jar
130
- for test Rjb::add_jar. this jar contains a class that extends class in jartest.jar
131
- *test/jartest.rb
132
- testing Rjb::add_jar, first jartest2.jar then jartest.jar
133
- *test/jartest2.rb
134
- testing Rjb::add_jar for an array.
135
- *test/jartest3.rb
136
- testing Rjb::add_jar in NoClassDefError condition.
137
- Sat Jan 28 arton
138
- *ext/rjb.c
139
- RJB_VERSION -> 1.3.9
140
- *ext/jniwrap.h
141
- skip __int64 definition if already defined (for latest mingw/gcc).
142
- Sat Dec 03 arton
143
- *ext/rjb.c
144
- RJB_VERSION -> 1.3.8
145
- ignore attach_jvm after rjb was unloaded. (Bug #29451)
146
- *test/test_unload.rb
147
- add test for unload. if Rjb run after unloading then it causes crush.
148
- Wed Nov 09 arton
149
- *ext/rjb.c
150
- RJB_VERSION -> 1.3.7
151
- *test/test.rb (test_reraise_exception)
152
- skip test if RUBY_VERSION =~ /^1\.8/
153
- Wed Nov 09 arton
154
- *ext/rjb.c
155
- RJB_VERSION -> 1.3.6
156
- *ext/rjbexception.c
157
- add to_str method into the exception class.
158
- ruby internally calls the method when reraising the exception.
159
- *test/test.rb (test_reraise_exception)
160
- add reraise test
161
- Mon Jul 18 arton
162
- *ext/rjb.c
163
- fix inhiritance test.
164
- add anonymous inner class feature (as JRuby)
165
- *test/test.rb
166
- add anonymous inner class test
167
- *test/Two.java
168
- for anonymous inner class test
169
- *test/TwoCaller.java
170
- for anonymous inner class test
171
- Sat Jul 16 arton
172
- *ext/laod.c
173
- load server JVM if _WIN64
174
- *ext/rjb.c
175
- RJB_VERSION -> 1.3.5
176
- *test/test.rb
177
- add primitive_conversion and generic test.
178
- *test/Test.java
179
- add method that takes generic map and returns it
180
- Mon Nov 22 arton
181
- *ext/rjb.c
182
- RJB_VERSION -> 1.3.4
183
- require 'iconv' only if RUBY_VERSION < 1.9.0
184
- implicitly accept ruby's String for [B (byte array)
185
- copy back byte[] contents into original String
186
- *test/test.rb
187
- add string buffer test (test_bothdirection_buffer)
188
- Wed Nov 17 arton
189
- *ext/rjb.c
190
- RJB_VERSION -> 1.3.3
191
- *ext/load.c
192
- Check JAVA_HOME before load JVM (OS X specific)
193
- change int -> size_t for 64bit OS
194
- *test/test_osxjvm.rb
195
- add new test for OS X specific JVM detection.
196
- Sat Oct 30 arton
197
- *ext/rjb.c
198
- RJB_VERSION -> 1.3.2
199
- *extconf.rb
200
- Change OSX's include path detecting
201
- Tue Oct 26 arton
202
- *ext/rjb.c
203
- RJB_VERSION -> 1.3.1
204
- *rjb.rake
205
- make universal-darwin gem for Mac bundled ruby.
206
- Sun Oct 24 arton
207
- *sample/filechooser.rb
208
- omit Thread use (cause JVM crush with 1.9 and StackOverflow with 1.8)
209
- Sat Oct 23 arton
210
- *ext/rjb.c
211
- RJV_VERSION -> 1.3.0
212
- add loaded? class method.
213
- add add_classpath method (add jars without invoking load method)
214
- *ext/load.c
215
- OSX default jvm name changes to "JavaVM" (bug#28667 reported by Jeff Adams, thanks Jeff !)
216
- *ext/extconf.rb
217
- OSX javahome set to /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK
218
- *lib/rjbextension.rb
219
- use Rjb::add_classpath method instead of Kernel's class vars.
220
- *test/test.rb, test/exttest.rb
221
- fix add_jar test, previous version load them from jp directory.
222
- Tue Sep 22 arton
223
- *ext/rjb.c
224
- RJV_VERSION -> 1.2.10
225
- add add_jars method. add_jar and add_jars can take an array of jars.
226
- *test/test.rb
227
- add calling add_jar with an array test.
228
- Tue Sep 21 arton
229
- *ext/rjb.h
230
- export ClassLoader methods
231
- *ext/load.c
232
- move ClassLoader interaction codes into rjb.c
233
- *ext/rjb.c
234
- RJV_VERSION -> 1.2.9
235
- add add_jar method.
236
- loading classes throgh URLClassLoader if the user add Jars
237
- *lib/rjb.rb
238
- change MODIFIER module into a constant. Because it implys Rjb::import.
239
- change Config -> RbConfig for 1.9
240
- *test/test.rb
241
- add Rjb::add_jar test
242
- *test/JarTest.java
243
- *test/jartest.jar
244
- add for Rjb::add_jar test
245
- Fri Sep 17 arton
246
- *test/test.rb
247
- sort arguments order for test_java_methods (the order is implement dependent)
248
- add fixnum conversion test for 64bit platform (test_64fixnum)
249
- *ext/rjb.c
250
- RJV_VERSION -> 1.2.8
251
- fix rv2jlong bug, the solution was suggested by Ary Borenszweig
252
- Sun Aug 29 arton
253
- *ext/rjb.c
254
- ignore no arguments method signature.
255
- name base classes under Rjb module.
256
- *lib/rjb.rb
257
- implements public_methods and methods
258
- *test/test.rb
259
- add non arguments method sig test
260
- add methods, public_methods, java_methods test
261
- Thu Jul 22 arton
262
- *ext/rjb.c
263
- RJB_VERSION -> 1.2.6
264
- export jv2rv for rjbexception.c
265
- *ext/rjb.h
266
- export jv2rv for rjbexception.c
267
- *ext/rjbexception.c
268
- create and keep java exception object for its properties.
269
- *test/test.rb
270
- add Exception#cause test
271
- Wed Jun 9 arton
272
- *ext/load.c
273
- accept JAVA_HOME having an extra slash at the end
274
- *ext/rjb.c
275
- RJB_VERSION -> 1.2.5
276
- Fri Jun 5 arton
277
- *ext/rjb.h
278
- defin HAVE_LONG_LONG if no HAVE_LONG_LONG but LP64
279
- *ext/rjb.c
280
- remove unused variables
281
- RJB_VERSION -> 1.2.4
282
- Fri Jun 4 arton
283
- *ext/riconv.c
284
- remove unused function if build with Ruby 1.9
285
- *ext/rjb.c
286
- RJB_VERSION -> 1.2.3
287
- to accomodate with rubinius
288
- *ext/load.c
289
- to accomodate with rubinius
290
- *ext/rjbexception.c
291
- to accomodate with rubinius
292
- Sun May 30 arton
293
- *lib/rjbextension.rb
294
- Rjb extension from Andreas Ronge's neo4j
295
- - directly import jar by require method
296
- - Rjb::import without quotations (Java class as Ruby object)
297
- *test/exttest.rb
298
- test for rjbextension.rb
299
- *test/rjbtest.jar
300
- test file for rjbextension.rb
301
- Sat May 29 arton on behalf of atoulme
302
- *ext/rjb.c
303
- *ext/load.c
304
- *ext/rjbexception.c
305
- to accomodate with rubinius
306
- thanks atoulme !
307
- Wed May 12 arton
308
- *test/test.rb
309
- add Class name for TestMixin module because ruby 1.9 doesn't handle the constant.
310
- Tue May 11 arton
311
- *ext/rjb.c
312
- fix duplicate method registering while no alias.
313
- add class methods for inspecting method signatures.
314
- add class_eval method for extending Java class
315
- *test/test.rb
316
- add class methods test for inspecting method signatures.
317
- add mixin tests
318
- Tue May 4 arton
319
- *ext/load.c
320
- corrected wrong function signature (BUG#28088), pointed and fixed by Romulo A. Ceccon (thanks)
321
- *ext/rjb.c
322
- using inheritance check while inspecting a object is RJB's instance (for extending it).
323
- Tue Mar 16 arton
324
- *ext/riconv.c
325
- change locale setting "" to "C", fixed by Fabien Sartor (rjb-Bugs-27968)
326
- *ext/rjb.c
327
- RJB_VERSION -> 1.2.1
328
- Sun Nov 1 arton
329
- *ext/load.c
330
- load jvm pointed by JVM_LIB environment variable first (suggested by Ittay Dror).
331
- *ext/rjb.c
332
- RJB_VERSION -> 1.2.0
333
- Sun Oct 11 arton
334
- *ext/extconf.rb
335
- add double quotation around include path for mingw compiler, original patched by Roger Pack (thanks)
336
- remove double quotaion around java_home variable for existing checking by File.directoy?
337
- *rjb.rake
338
- adding mingw support for the older version compatibility checking
339
- Thu Sep 10 arton
340
- *ext/load.c
341
- Correct previous code (always reload jvm if OSX < Snow Leopard)
342
- Clear DL's exception if success
343
- *ext/rjb.c
344
- RJB_VERSION -> 1.1.9
345
- *ext/rjbexception.c
346
- fit arguments for rb_raise to shut warning down
347
- Mon Sep 07 arton
348
- *ext/load.c
349
- Check no compat type dylib after loading was failed (for Snow Leopard)
350
- *ext/rjb.c
351
- RJB_VERSION -> 1.1.8
352
- Sun Feb 15 arton
353
- *test/test/rb
354
- add $KCODE and magic comment for iconv
355
- *ext/rjb.c
356
- RJB_VERSION -> 1.1.7
357
- Thu Feb 5 kuwa1
358
- *test/Test.java
359
- *test/test.rb
360
- add tests(Umlaut)
361
- *ext/rjb.c
362
- *ext/load.c
363
- fix for ruby19
364
- Sun Nov 16 arton
365
- *ext/load.c
366
- apply hpux patch, contributed by Ittay Dror. thanks
367
- Tue Aug 26 arton
368
- *ext/load.c, rjb.c, rjb.h
369
- export safe_funcall under the prefix 'rjb'.
370
- calling DL with rb_protect for avoiding exception.
371
- Mon Aug 25 arton
372
- *ext/load.c
373
- Fix checking the result for loading alternate_jvm_type.
374
- (patch from Kumar, thanks)
375
- Thu Aug 14 arton
376
- *ext/rjb.c, load.c, etc
377
- change comment line // -> /* */ because AIX's compiler
378
- add _AIX for load.c (this patch from Ittay Dror, thanks)
379
- *ext/load.c
380
- add ALT_JVM_TYPE for alternative jvm directory (by Kumar)
381
- Sun Jul 13 arton
382
- *ext/rjb.c
383
- display warning when Rjb load jvm implicitly if $DEBUG or $VERBOSE.
384
- Mon May 26 arton
385
- *ext/rjb.c
386
- correct char primitive conversion for Bigendian machine.
387
- use macroes for loading classes
388
- *ext/load.c
389
- adjust OS X's directory
390
- *ext/extconf.rb
391
- adjust OS X's directory if Home exists
392
- Thu Mar 27 arton
393
- *ext/rjb.c
394
- mark version 1.1.4 for the next release.
395
- *test/test.rb
396
- remove unload, because it fails.
397
- It's more important to assert each functions.
398
- Thu Mar 27 arton
399
- *ext/riconv.c
400
- activate conv tables for getenv configuration.
401
- Tue Mar 5 Kuwashima
402
- *ext/rjb.c
403
- *ext/rjb.h
404
- *ext/rjbexception.c
405
- add auto load method.
406
- Tue Mar 4 Kuwashima
407
- *ext/rjbexception.c
408
- *ext/rjb.c
409
- *test/test.rb
410
- clear(ignore) exception in current java thread, before some operation.
411
- *ext/rjbexception.c
412
- *ext/rjb.c
413
- add auto load for Rjb::bind, Rjb::throw
414
- *ext/rjb.c
415
- *test/test.rb
416
- add Rjb::unbind
417
- *test/test.rb
418
- add loading rubygems
419
- Sat Feb 23 arton
420
- *test/test.rb
421
- let test_field metod use Test.class instead of Point.class
422
- *test/Test.java
423
- add a public field for testing
424
- Fri Feb 22 arton
425
- *ext/rjb.c
426
- mark version 1.1.3 for the next release.
427
- Fri Feb 22 arton
428
- *ext/rjb.c
429
- fix field reference (bug# 18238)
430
- Wed Jan 9 arton
431
- *ext/rjb.h
432
- add some ruby macros that defined after 1.8.6 for compatibility
433
- Change RBridge.class by 1.4.2
434
- *data/rjb/jp/co/infoseek/hp/arton/rjb/RBridge.class
435
- compiled by 1.4.2 version of Java
436
- *rjb.c
437
- mark version 1.1.2 for the next release.
438
- Tue Dec 27 Kuwashima
439
- *test/Test.java
440
- *test/test.rb
441
- *ext/depend
442
- *ext/load.c
443
- *ext/extconf.rb
444
- *ext/rjbexception.c
445
- *ext/rjb.c
446
- *ext/riconv.c
447
- change for compatibility with Ruby-1.9.0
448
- Tue Nov 20 arton
449
- *rjb.c
450
- mark version 1.10.12 for next relase.
451
- *load.c
452
- omit useless double-quotations from JAVA_HOME, maybe specifies a longpathname (but useless).
453
- Wed Nov 14 Kuwashima
454
- *rjb.c
455
- add error check to constructor.
456
- Fri Nov 9 arton
457
- *test.rb
458
- *Test.java
459
- add test for reproducing rjb-bugs-15430
460
- *rjb.c
461
- fix rjb-bugs-15430 that caused by bad array conversion.
462
- (generics method result signature is an object, but the real result is typed array)
463
- *riconv.c
464
- correct to get the number of array element.
465
- Tue Oct 23 Kuwashima
466
- *riconv.c
467
- Change string encoding conversion rule.
468
- Mon Oct 22 Kuwashima
469
- *riconv.c
470
- *riconv.h
471
- recycle iconv instance.
472
- *test/test.rb
473
- add cases for test_kjconv
474
- Sun Sep 23 arton
475
- *rjb.c
476
- version 1.0.9
477
- convert to Ruby's type if Rjb::primitive_converion is enalbed and the result type is java.lang.Object
478
- support the object conversion for a bignum to long.
479
- Sat Sep 15 arton
480
- *rjb.c
481
- version 1.0.8
482
- correction of 1.0.7, support long type.
483
- Fri Sep 14 arton
484
- *rjb.c
485
- version 1.0.7
486
- add auto primitive conversion toggled by Rjb::primitive_conversion
487
- *test.rb
488
- add test_auto_conv
489
- Sun Jun 17 arton
490
- *rjb.c
491
- add method aliases.
492
- setXxYy -> xx_yy=
493
- getXxYy -> xx_yy
494
- isXxYy -> xx_yy?
495
- xxYyZz -> xx_yy_zz
496
- *test.rb
497
- add a test for the method alias feature.
498
- Tue Nov 21 arton
499
- *rjb.c
500
- Skip the constant registering process, if the constant was already defined.
501
- *load.c
502
- *rjb.c
503
- *rjbexception.c
504
- *rjb.h
505
- add prefix 'rjb' for externed symbol names to avoid confliction.
506
- Sun Oct 08 arton (on behalf of richard apodaca)
507
- *load.c
508
- support AMD64
509
- Mon Sep 11 arton
510
- *test.rb
511
- add a test of arguments types are various array.
512
- *Test.java
513
- add a test of arguments types are various array.
514
- *rjb.c
515
- accept nil for array parameter.
516
- Sun Sep 10 arton
517
- *test.rb
518
- add a test of return type is an object wrapped an array
519
- *Test.java
520
- add a method that returns an object wrapped an array
521
- *rjb.c
522
- check array-mark in jv2rv for returned object was an array
523
- Tue Aug 1 arton
524
- *load.c
525
- *rjb.c
526
- change load pathname of the bridge class.
527
- *post-install.rb
528
- add for remove previous installed rjb.so.
529
- *rjb.rake
530
- add for build Gem.
531
- *rjb.rb
532
- for preparing the pathname constant of the bridge class.
533
- *depend
534
- chage binary name from rjb.so to rjbcore.so
535
- *extconf.rb
536
- chage binary name from rjb.so to rjbcore.so
537
- Mon Jul 31 arton
538
- *load.c
539
- fix buffer allocation
540
-
541
- Sun Jul 16 (Jun 22) Kuwashima and arton
542
- *rjb.c
543
- version 0.2.8
544
- *MANIFEST
545
- *depend
546
- *load.c
547
- *rjbexception.c
548
- change jni.h to jniwrap.h.
549
- change the bridge class's header according to JDK 5.0's javah.
550
- *jniwrap.h
551
- wrap jni.h for Cygin
552
- Sat Jun 10 14:10:05 2006 arton
553
- *rjb.c
554
- version 0.2.7
555
- support an array of arrays from ruby to java.
556
-
557
- Mon May 8 08:52:12 2006 arton
558
- *load.c
559
- revision 5
560
- support both Intel and PPC Mac.
561
- Patched version was contributed by Demetrius Nunes.
562
-
563
- Wed Apr 12 03:57:12 2006 arton
564
- *rjb.c
565
- version 0.2.6
566
- support an array of arrays.
567
- *test.rb
568
- add an array of arrays test, some tests are contributed by Darren Day.
569
- *Test.java
570
- add a test method that returns an array of arrays, some tests are
571
- contributed by Darren Day.
572
-
573
- Sat Dec 24 18:56:38 2005 arton
574
- *rjb.c
575
- version 0.2.5
576
- release String, Float, Array object after method call.
577
- *gctest.rb
578
- add for String object gc test
579
-
580
- Mon Sep 19 01:09:30 2005 arton
581
- *rjb.c
582
- version 0.2.4
583
- use null instead of empty string when String argument is nil
584
- omit unused local variable from jstring2val
585
- *test.rb
586
- add null string test (bug since utf-8 support)
587
-
588
- Tue Jun 28 01:57:07 2005 arton
589
- *rjb.c
590
- version 0.2.3
591
- convert result object to imported class if object is an instance of Class
592
- call Class#forName if argument count is 1
593
- *test.rb
594
- add test_importobj contributed by Mr. Kuwashima, thanks.
595
-
596
- Mon Jun 27 20:30:50 2005 arton
597
- treat Class.forName as Rjb::import
598
- *rjb.c
599
- version 0.2.2
600
- add method 'forName' into imported Class object
601
- if pass imported object to JVM, extract Class object from ruby object
602
- *test.rb
603
- add above tests
604
-
605
- Sat Jun 25 05:58:36 2005 arton
606
- most bugs were reported by Mr. Micael Weller, thanks.
607
- *rjb.c
608
- version 0.2.1
609
- correct derived static method search
610
- search class methods then class's instance methods when called by class
611
- avoid register non capitalized named constants into constants table
612
- correct capitalized named method search
613
- *riconv.c
614
- never call iconv if $KCODE is nil
615
- *load.c
616
- using path separator ; for cygwin (by Ryugate)
617
-
618
- Sun Apr 24 05:26:16 2005 arton
619
- *rb.c
620
- version 0.2.0
621
- delete localref if globalref was created.
622
- load can take the second argument for jvm
623
- *load.c
624
- load can take the second argument for jvm
625
-
626
- Mon Jan 17 02:40:21 2005 arton
627
- *rjb.c
628
- add 'throw' module function.
629
- move java exception handling functions into newly created rjbexception.c
630
- *rjb.h
631
- declations for rjb.c and rjbexception.c
632
- *rjbexception.c
633
- java exception handling functions, and 'throw' module function.
634
- *test.rb
635
- adding throw test.
636
-
637
- Wed Jan 12 00:01:08 2005 Kaspar Schiess and arton
638
- *rjb.c
639
- correct Rjb::load parameter evaluation (classpath).
640
- - many thanks to Mr.Schiess.
641
-
642
- Sun Nov 21 02:51:43 2004 Kuwashima and arton
643
- *rjb.c
644
- move dbcs-utf-8 auto conversion feature into riconv.?
645
- remove JNI version argument from Rjb::load. (bug reported by Mr.Tateishi)
646
- *load.c
647
- correct CLASSPATH setting (bad environment name).(bug reported by Mr.Tateishi)
648
- *riconv.c riconv.h (contributed by Mr.Kuwashima)
649
- DBCS - utf-8 auto conversion functions.
650
- *depend MANIFEST
651
- add riconv.?
652
- - many tanks to Mr.Kuwashima and Mr.Tateishi.
653
-
654
- Tue Oct 5 23:08:59 2004 Kuwashima and arton
655
- *test.rb
656
- add kanji conversion test
657
- *rjb.c
658
- add dbcs(sjis and euc-jp) - utf-8 auto conversion feature.
659
- the patch was contributed by Mr.Kuwashima, many thanks.
660
-
661
- Sun Oct 3 18:24:42 2004 arton
662
- *load.c
663
- JNIEnv* now using local variable instead of global one.
664
- Because AWT event use a worker thread, and JNI need thread's owned JNIEnv.
665
- *rjb.c
666
- JNIEnv* now using local variable instead of global one.
667
- Because AWT event use a worker thread, and JNI need thread's owned JNIEnv.
668
- This change was suggested by Mr.Kuwashima, he also tested the behavior,
669
- and gave me some test codes.
670
- and attach_current_thread is from Mr.Kuwashima's patch.
671
- Many thanks to Mr.Kuwashima.
672
-
673
- Sat Sep 25 03:25:45 2004 arton
674
- *rjb.c
675
- implements interface's method argument conversion.
676
- *test.rb
677
- add Comparable test (interface with method arguments)
678
- *Test.java
679
- add Comparable test method.
680
-
681
- Wed Sep 22 02:30:15 2004 arton
682
- *rjb.c
683
- correct constants load, using mid-class.
684
- convert null string to nil
685
-
686
- Wed Sep 22 00:05:32 2004 arton
687
- *rjb.c
688
- correct ruby type checking. If the parameter type is java.lang.String, rjb instance is always accepted.
689
-
690
- Mon Sep 20 22:02:53 2004 arton
691
- *rjb.c
692
- checking method/constructor signature with class when the argument is rjb's instance.
693
- Sun Sep 19 00:54:35 2004 arton
694
- *rjb.c
695
- convert Java exception to Ruby's StandardError derived class.
696
- checking method/constructor signature when invoking if no signatur argument is supplied.
697
- adding field accessor.
698
-
699
- Sun Sep 12 21:42:00 2004 arton
700
- *rjb.c
701
- call exception description when verbose = true.
702
- correct recursive import call (for Boolean).
703
- corrent method not found message creation.
1
+ Sun Oct 30 arbox, maxberger and arton
2
+ *Rakefile
3
+ *rjb.gemspec
4
+ Introduced GemSpec, Rakefile by arbox
5
+ *lib/rjb/version.rb
6
+ move version detection method from rjb.rake to lib/rjb by arbox
7
+ *rjb.rake
8
+ specify LoadError for catching failed require
9
+ *ext/rjb.c
10
+ RJB_VERSION -> 1.5.5
11
+ *ext/load.c
12
+ support Linux/ARM by maxberger
13
+ Thu Oct 20 arton
14
+ *test/test.rb
15
+ change noarg static method calling test for JDK1.5 env.
16
+ *test/Two.java, TwoCaller.java
17
+ add package name
18
+ *test/jp/co/infoseek/hp/arton/rjb/*.class
19
+ recompile by JDK1.5
20
+ Tue Jun 21 arton
21
+ *lib/rjb.rb
22
+ add JAVA_HOME/jre/bin to PATH env.vars for LoadLibrary can load further dlls
23
+ Fri Nov 27 arton
24
+ *ext/rjb.c
25
+ RJB_VERSION -> 1.5.4
26
+ copy back char[] contents into original array
27
+ *test/test.rb
28
+ add char array test (test_bothdirection_chararray)
29
+ Sat Dec 20 2014 arton
30
+ *ext/rjb.c
31
+ RJB_VERSION -> 1.5.3
32
+ select preferable constructor if argument is an array (for java.lang.String)
33
+ *test/test.rb
34
+ change literals to constants for kanji strings
35
+ Sun Dec 14 2014 arton
36
+ *lib/rjb.rb
37
+ FakeDL for Rubinius
38
+ *ext/riconv.c
39
+ Change variable name for avoiding conflicion (Runinius)
40
+ *ext/rjb.c
41
+ RJB_VERSION -> 1.5.2
42
+ Support Rubinius (Rubinius's block is T_OBJECT instead of T_DATA -> affected to anonclass)
43
+ *test/test.rb
44
+ skip fixnum range test if Rubinius
45
+ Tue Sep 23 2014 arton
46
+ *ext/rjb.c
47
+ RJB_VERSION -> 1.5.1
48
+ more weight for array and true/false
49
+ Sat Sep 20 2014 arton
50
+ *ext/rjb.c
51
+ RJB_VERSION -> 1.5.0
52
+ fix ctor_sigs with non argment ctor (represented by '')
53
+ select preferable constructor
54
+ *ext/riconv.c
55
+ restruct encoding function
56
+ *test/test.rb
57
+ add constructor selection test (Ljava.lang.String; vs [B)
58
+ Wed Jan 15 2014 arton
59
+ *rjb.rake
60
+ add lib/rjb/*.rb into gem
61
+ Fri Jan 4 2014 arton
62
+ *test/Test.java
63
+ *test/rjbtest.jar
64
+ add inner exception test
65
+ *test/test.java
66
+ add inner exception test
67
+ Fri Jan 3 2014 arton
68
+ *ext/rjb.c
69
+ RJB_VERSION -> 1.4.9
70
+ *ext/rjbexception.c
71
+ make J#cause to the instance method for resolving Ruby 2.1 confliction.
72
+ Sun Jun 23 2013 arton
73
+ *ext/rjb.c
74
+ RJB_VERSION -> 1.4.8
75
+ create typed array exactly (reported by reinvanmeeteren on https://github.com/arton/rjb/issues/23)
76
+ *test/test.rb
77
+ add typed array test
78
+ *test/Test.java
79
+ add typed array test
80
+ Tue Jun 18 2013 arton
81
+ *ext/load.c
82
+ check fiddle has dlopen (after ruby 2.0).
83
+ Tue Jun 18 2013 arton
84
+ *ext/rjb.c
85
+ RJB_VERSION -> 1.4.7
86
+ *ext/load.c
87
+ rqeuire fiddle first, then dl. the patch originally created by Victor Lellis.
88
+ Fri May 17 2013 arton
89
+ *test/test.rb
90
+ add Byte test
91
+ Sun Apr 48 2013 arton
92
+ *ext/rjb.o
93
+ remove binary
94
+ *ext/rjb.obj
95
+ remove binary
96
+ Sat Jan 26 2013 arton
97
+ *ext/rjb.c
98
+ RJB_VERSION -> 1.4.6 for new gem
99
+ *RBridge.class
100
+ Java Major Version -> 46
101
+ Sun Jan 13 2013 arton
102
+ *test/test.rb
103
+ add bignum argument test
104
+ *ext/rjb.c
105
+ accept bignum argument for 'J'
106
+ this bug(or at least mis spec.) was pointed by janroesner. Thanks janroesner !
107
+ Tue Dec 17 arton
108
+ *test/test.rb
109
+ add test_norarg_invoke
110
+ *ext/rjb.c
111
+ _invoke accepts noarg method call (reported by xiao li, thanks)
112
+ RJB_VERSION -> 1.4.4 for new gem
113
+ Wed Nov 14 arton
114
+ *ext/rjb.c
115
+ RJB_VERSION -> 1.4.3 for new gem
116
+ *ext/extconf.rb
117
+ remove checking dl.h, rjb not need to include it.
118
+ Sat Oct 6 arton
119
+ *ext/rjb.c
120
+ RJB_VERSION -> 1.4.2
121
+ *test/osx_jvmcheck.rb
122
+ display vendor and version of JRE for OSX load test
123
+ *test/osx_loadtest.rb
124
+ add Oracle JVM support test for OSX
125
+ *lib/rjb.rb
126
+ add Oracle JVM support for OSX
127
+ Sun Aug 19 arton
128
+ *ext/rjb.c
129
+ export bound object's original ruby object as @wrapped
130
+ RJB_VERSION -> 1.4.1
131
+ *lib/rjb.rb
132
+ define Rjb_JavaBridge class for support @wrapped delegation
133
+ *test/test.rb
134
+ add @wrapped object invoking test
135
+ Sun Apr 22 arton
136
+ *ext/rjb.c
137
+ add Rjb_JavaProxy#initialize_proxy method for preparing proxy instance.
138
+ RJB_VERSION -> 1.4.0
139
+ *lib/rjb
140
+ add rjb own directory
141
+ *lib/rjbextension.rb
142
+ move contents into rjb/extension.rb
143
+ *lib/rjb/extension.rb
144
+ extension library to handle package name easily.
145
+ *lib/rjb/list.rb
146
+ implements each method for Iterable and Iterator.
147
+ Sun Apr 22 arton
148
+ *ext/rjb.c
149
+ use URLClassLoader#addJar for Rjb::add_jar method.
150
+ It accepts unhierarchic load order.
151
+ *test/jartest2.jar
152
+ for test Rjb::add_jar. this jar contains a class that extends class in jartest.jar
153
+ *test/jartest.rb
154
+ testing Rjb::add_jar, first jartest2.jar then jartest.jar
155
+ *test/jartest2.rb
156
+ testing Rjb::add_jar for an array.
157
+ *test/jartest3.rb
158
+ testing Rjb::add_jar in NoClassDefError condition.
159
+ Sat Jan 28 arton
160
+ *ext/rjb.c
161
+ RJB_VERSION -> 1.3.9
162
+ *ext/jniwrap.h
163
+ skip __int64 definition if already defined (for latest mingw/gcc).
164
+ Sat Dec 03 arton
165
+ *ext/rjb.c
166
+ RJB_VERSION -> 1.3.8
167
+ ignore attach_jvm after rjb was unloaded. (Bug #29451)
168
+ *test/test_unload.rb
169
+ add test for unload. if Rjb run after unloading then it causes crush.
170
+ Wed Nov 09 arton
171
+ *ext/rjb.c
172
+ RJB_VERSION -> 1.3.7
173
+ *test/test.rb (test_reraise_exception)
174
+ skip test if RUBY_VERSION =~ /^1\.8/
175
+ Wed Nov 09 arton
176
+ *ext/rjb.c
177
+ RJB_VERSION -> 1.3.6
178
+ *ext/rjbexception.c
179
+ add to_str method into the exception class.
180
+ ruby internally calls the method when reraising the exception.
181
+ *test/test.rb (test_reraise_exception)
182
+ add reraise test
183
+ Mon Jul 18 arton
184
+ *ext/rjb.c
185
+ fix inhiritance test.
186
+ add anonymous inner class feature (as JRuby)
187
+ *test/test.rb
188
+ add anonymous inner class test
189
+ *test/Two.java
190
+ for anonymous inner class test
191
+ *test/TwoCaller.java
192
+ for anonymous inner class test
193
+ Sat Jul 16 arton
194
+ *ext/laod.c
195
+ load server JVM if _WIN64
196
+ *ext/rjb.c
197
+ RJB_VERSION -> 1.3.5
198
+ *test/test.rb
199
+ add primitive_conversion and generic test.
200
+ *test/Test.java
201
+ add method that takes generic map and returns it
202
+ Mon Nov 22 arton
203
+ *ext/rjb.c
204
+ RJB_VERSION -> 1.3.4
205
+ require 'iconv' only if RUBY_VERSION < 1.9.0
206
+ implicitly accept ruby's String for [B (byte array)
207
+ copy back byte[] contents into original String
208
+ *test/test.rb
209
+ add string buffer test (test_bothdirection_buffer)
210
+ Wed Nov 17 arton
211
+ *ext/rjb.c
212
+ RJB_VERSION -> 1.3.3
213
+ *ext/load.c
214
+ Check JAVA_HOME before load JVM (OS X specific)
215
+ change int -> size_t for 64bit OS
216
+ *test/test_osxjvm.rb
217
+ add new test for OS X specific JVM detection.
218
+ Sat Oct 30 arton
219
+ *ext/rjb.c
220
+ RJB_VERSION -> 1.3.2
221
+ *extconf.rb
222
+ Change OSX's include path detecting
223
+ Tue Oct 26 arton
224
+ *ext/rjb.c
225
+ RJB_VERSION -> 1.3.1
226
+ *rjb.rake
227
+ make universal-darwin gem for Mac bundled ruby.
228
+ Sun Oct 24 arton
229
+ *sample/filechooser.rb
230
+ omit Thread use (cause JVM crush with 1.9 and StackOverflow with 1.8)
231
+ Sat Oct 23 arton
232
+ *ext/rjb.c
233
+ RJV_VERSION -> 1.3.0
234
+ add loaded? class method.
235
+ add add_classpath method (add jars without invoking load method)
236
+ *ext/load.c
237
+ OSX default jvm name changes to "JavaVM" (bug#28667 reported by Jeff Adams, thanks Jeff !)
238
+ *ext/extconf.rb
239
+ OSX javahome set to /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK
240
+ *lib/rjbextension.rb
241
+ use Rjb::add_classpath method instead of Kernel's class vars.
242
+ *test/test.rb, test/exttest.rb
243
+ fix add_jar test, previous version load them from jp directory.
244
+ Tue Sep 22 arton
245
+ *ext/rjb.c
246
+ RJV_VERSION -> 1.2.10
247
+ add add_jars method. add_jar and add_jars can take an array of jars.
248
+ *test/test.rb
249
+ add calling add_jar with an array test.
250
+ Tue Sep 21 arton
251
+ *ext/rjb.h
252
+ export ClassLoader methods
253
+ *ext/load.c
254
+ move ClassLoader interaction codes into rjb.c
255
+ *ext/rjb.c
256
+ RJV_VERSION -> 1.2.9
257
+ add add_jar method.
258
+ loading classes throgh URLClassLoader if the user add Jars
259
+ *lib/rjb.rb
260
+ change MODIFIER module into a constant. Because it implys Rjb::import.
261
+ change Config -> RbConfig for 1.9
262
+ *test/test.rb
263
+ add Rjb::add_jar test
264
+ *test/JarTest.java
265
+ *test/jartest.jar
266
+ add for Rjb::add_jar test
267
+ Fri Sep 17 arton
268
+ *test/test.rb
269
+ sort arguments order for test_java_methods (the order is implement dependent)
270
+ add fixnum conversion test for 64bit platform (test_64fixnum)
271
+ *ext/rjb.c
272
+ RJV_VERSION -> 1.2.8
273
+ fix rv2jlong bug, the solution was suggested by Ary Borenszweig
274
+ Sun Aug 29 arton
275
+ *ext/rjb.c
276
+ ignore no arguments method signature.
277
+ name base classes under Rjb module.
278
+ *lib/rjb.rb
279
+ implements public_methods and methods
280
+ *test/test.rb
281
+ add non arguments method sig test
282
+ add methods, public_methods, java_methods test
283
+ Thu Jul 22 arton
284
+ *ext/rjb.c
285
+ RJB_VERSION -> 1.2.6
286
+ export jv2rv for rjbexception.c
287
+ *ext/rjb.h
288
+ export jv2rv for rjbexception.c
289
+ *ext/rjbexception.c
290
+ create and keep java exception object for its properties.
291
+ *test/test.rb
292
+ add Exception#cause test
293
+ Wed Jun 9 arton
294
+ *ext/load.c
295
+ accept JAVA_HOME having an extra slash at the end
296
+ *ext/rjb.c
297
+ RJB_VERSION -> 1.2.5
298
+ Fri Jun 5 arton
299
+ *ext/rjb.h
300
+ defin HAVE_LONG_LONG if no HAVE_LONG_LONG but LP64
301
+ *ext/rjb.c
302
+ remove unused variables
303
+ RJB_VERSION -> 1.2.4
304
+ Fri Jun 4 arton
305
+ *ext/riconv.c
306
+ remove unused function if build with Ruby 1.9
307
+ *ext/rjb.c
308
+ RJB_VERSION -> 1.2.3
309
+ to accomodate with rubinius
310
+ *ext/load.c
311
+ to accomodate with rubinius
312
+ *ext/rjbexception.c
313
+ to accomodate with rubinius
314
+ Sun May 30 arton
315
+ *lib/rjbextension.rb
316
+ Rjb extension from Andreas Ronge's neo4j
317
+ - directly import jar by require method
318
+ - Rjb::import without quotations (Java class as Ruby object)
319
+ *test/exttest.rb
320
+ test for rjbextension.rb
321
+ *test/rjbtest.jar
322
+ test file for rjbextension.rb
323
+ Sat May 29 arton on behalf of atoulme
324
+ *ext/rjb.c
325
+ *ext/load.c
326
+ *ext/rjbexception.c
327
+ to accomodate with rubinius
328
+ thanks atoulme !
329
+ Wed May 12 arton
330
+ *test/test.rb
331
+ add Class name for TestMixin module because ruby 1.9 doesn't handle the constant.
332
+ Tue May 11 arton
333
+ *ext/rjb.c
334
+ fix duplicate method registering while no alias.
335
+ add class methods for inspecting method signatures.
336
+ add class_eval method for extending Java class
337
+ *test/test.rb
338
+ add class methods test for inspecting method signatures.
339
+ add mixin tests
340
+ Tue May 4 arton
341
+ *ext/load.c
342
+ corrected wrong function signature (BUG#28088), pointed and fixed by Romulo A. Ceccon (thanks)
343
+ *ext/rjb.c
344
+ using inheritance check while inspecting a object is RJB's instance (for extending it).
345
+ Tue Mar 16 arton
346
+ *ext/riconv.c
347
+ change locale setting "" to "C", fixed by Fabien Sartor (rjb-Bugs-27968)
348
+ *ext/rjb.c
349
+ RJB_VERSION -> 1.2.1
350
+ Sun Nov 1 arton
351
+ *ext/load.c
352
+ load jvm pointed by JVM_LIB environment variable first (suggested by Ittay Dror).
353
+ *ext/rjb.c
354
+ RJB_VERSION -> 1.2.0
355
+ Sun Oct 11 arton
356
+ *ext/extconf.rb
357
+ add double quotation around include path for mingw compiler, original patched by Roger Pack (thanks)
358
+ remove double quotaion around java_home variable for existing checking by File.directoy?
359
+ *rjb.rake
360
+ adding mingw support for the older version compatibility checking
361
+ Thu Sep 10 arton
362
+ *ext/load.c
363
+ Correct previous code (always reload jvm if OSX < Snow Leopard)
364
+ Clear DL's exception if success
365
+ *ext/rjb.c
366
+ RJB_VERSION -> 1.1.9
367
+ *ext/rjbexception.c
368
+ fit arguments for rb_raise to shut warning down
369
+ Mon Sep 07 arton
370
+ *ext/load.c
371
+ Check no compat type dylib after loading was failed (for Snow Leopard)
372
+ *ext/rjb.c
373
+ RJB_VERSION -> 1.1.8
374
+ Sun Feb 15 arton
375
+ *test/test/rb
376
+ add $KCODE and magic comment for iconv
377
+ *ext/rjb.c
378
+ RJB_VERSION -> 1.1.7
379
+ Thu Feb 5 kuwa1
380
+ *test/Test.java
381
+ *test/test.rb
382
+ add tests(Umlaut)
383
+ *ext/rjb.c
384
+ *ext/load.c
385
+ fix for ruby19
386
+ Sun Nov 16 arton
387
+ *ext/load.c
388
+ apply hpux patch, contributed by Ittay Dror. thanks
389
+ Tue Aug 26 arton
390
+ *ext/load.c, rjb.c, rjb.h
391
+ export safe_funcall under the prefix 'rjb'.
392
+ calling DL with rb_protect for avoiding exception.
393
+ Mon Aug 25 arton
394
+ *ext/load.c
395
+ Fix checking the result for loading alternate_jvm_type.
396
+ (patch from Kumar, thanks)
397
+ Thu Aug 14 arton
398
+ *ext/rjb.c, load.c, etc
399
+ change comment line // -> /* */ because AIX's compiler
400
+ add _AIX for load.c (this patch from Ittay Dror, thanks)
401
+ *ext/load.c
402
+ add ALT_JVM_TYPE for alternative jvm directory (by Kumar)
403
+ Sun Jul 13 arton
404
+ *ext/rjb.c
405
+ display warning when Rjb load jvm implicitly if $DEBUG or $VERBOSE.
406
+ Mon May 26 arton
407
+ *ext/rjb.c
408
+ correct char primitive conversion for Bigendian machine.
409
+ use macroes for loading classes
410
+ *ext/load.c
411
+ adjust OS X's directory
412
+ *ext/extconf.rb
413
+ adjust OS X's directory if Home exists
414
+ Thu Mar 27 arton
415
+ *ext/rjb.c
416
+ mark version 1.1.4 for the next release.
417
+ *test/test.rb
418
+ remove unload, because it fails.
419
+ It's more important to assert each functions.
420
+ Thu Mar 27 arton
421
+ *ext/riconv.c
422
+ activate conv tables for getenv configuration.
423
+ Tue Mar 5 Kuwashima
424
+ *ext/rjb.c
425
+ *ext/rjb.h
426
+ *ext/rjbexception.c
427
+ add auto load method.
428
+ Tue Mar 4 Kuwashima
429
+ *ext/rjbexception.c
430
+ *ext/rjb.c
431
+ *test/test.rb
432
+ clear(ignore) exception in current java thread, before some operation.
433
+ *ext/rjbexception.c
434
+ *ext/rjb.c
435
+ add auto load for Rjb::bind, Rjb::throw
436
+ *ext/rjb.c
437
+ *test/test.rb
438
+ add Rjb::unbind
439
+ *test/test.rb
440
+ add loading rubygems
441
+ Sat Feb 23 arton
442
+ *test/test.rb
443
+ let test_field metod use Test.class instead of Point.class
444
+ *test/Test.java
445
+ add a public field for testing
446
+ Fri Feb 22 arton
447
+ *ext/rjb.c
448
+ mark version 1.1.3 for the next release.
449
+ Fri Feb 22 arton
450
+ *ext/rjb.c
451
+ fix field reference (bug# 18238)
452
+ Wed Jan 9 arton
453
+ *ext/rjb.h
454
+ add some ruby macros that defined after 1.8.6 for compatibility
455
+ Change RBridge.class by 1.4.2
456
+ *data/rjb/jp/co/infoseek/hp/arton/rjb/RBridge.class
457
+ compiled by 1.4.2 version of Java
458
+ *rjb.c
459
+ mark version 1.1.2 for the next release.
460
+ Tue Dec 27 Kuwashima
461
+ *test/Test.java
462
+ *test/test.rb
463
+ *ext/depend
464
+ *ext/load.c
465
+ *ext/extconf.rb
466
+ *ext/rjbexception.c
467
+ *ext/rjb.c
468
+ *ext/riconv.c
469
+ change for compatibility with Ruby-1.9.0
470
+ Tue Nov 20 arton
471
+ *rjb.c
472
+ mark version 1.10.12 for next relase.
473
+ *load.c
474
+ omit useless double-quotations from JAVA_HOME, maybe specifies a longpathname (but useless).
475
+ Wed Nov 14 Kuwashima
476
+ *rjb.c
477
+ add error check to constructor.
478
+ Fri Nov 9 arton
479
+ *test.rb
480
+ *Test.java
481
+ add test for reproducing rjb-bugs-15430
482
+ *rjb.c
483
+ fix rjb-bugs-15430 that caused by bad array conversion.
484
+ (generics method result signature is an object, but the real result is typed array)
485
+ *riconv.c
486
+ correct to get the number of array element.
487
+ Tue Oct 23 Kuwashima
488
+ *riconv.c
489
+ Change string encoding conversion rule.
490
+ Mon Oct 22 Kuwashima
491
+ *riconv.c
492
+ *riconv.h
493
+ recycle iconv instance.
494
+ *test/test.rb
495
+ add cases for test_kjconv
496
+ Sun Sep 23 arton
497
+ *rjb.c
498
+ version 1.0.9
499
+ convert to Ruby's type if Rjb::primitive_converion is enalbed and the result type is java.lang.Object
500
+ support the object conversion for a bignum to long.
501
+ Sat Sep 15 arton
502
+ *rjb.c
503
+ version 1.0.8
504
+ correction of 1.0.7, support long type.
505
+ Fri Sep 14 arton
506
+ *rjb.c
507
+ version 1.0.7
508
+ add auto primitive conversion toggled by Rjb::primitive_conversion
509
+ *test.rb
510
+ add test_auto_conv
511
+ Sun Jun 17 arton
512
+ *rjb.c
513
+ add method aliases.
514
+ setXxYy -> xx_yy=
515
+ getXxYy -> xx_yy
516
+ isXxYy -> xx_yy?
517
+ xxYyZz -> xx_yy_zz
518
+ *test.rb
519
+ add a test for the method alias feature.
520
+ Tue Nov 21 arton
521
+ *rjb.c
522
+ Skip the constant registering process, if the constant was already defined.
523
+ *load.c
524
+ *rjb.c
525
+ *rjbexception.c
526
+ *rjb.h
527
+ add prefix 'rjb' for externed symbol names to avoid confliction.
528
+ Sun Oct 08 arton (on behalf of richard apodaca)
529
+ *load.c
530
+ support AMD64
531
+ Mon Sep 11 arton
532
+ *test.rb
533
+ add a test of arguments types are various array.
534
+ *Test.java
535
+ add a test of arguments types are various array.
536
+ *rjb.c
537
+ accept nil for array parameter.
538
+ Sun Sep 10 arton
539
+ *test.rb
540
+ add a test of return type is an object wrapped an array
541
+ *Test.java
542
+ add a method that returns an object wrapped an array
543
+ *rjb.c
544
+ check array-mark in jv2rv for returned object was an array
545
+ Tue Aug 1 arton
546
+ *load.c
547
+ *rjb.c
548
+ change load pathname of the bridge class.
549
+ *post-install.rb
550
+ add for remove previous installed rjb.so.
551
+ *rjb.rake
552
+ add for build Gem.
553
+ *rjb.rb
554
+ for preparing the pathname constant of the bridge class.
555
+ *depend
556
+ chage binary name from rjb.so to rjbcore.so
557
+ *extconf.rb
558
+ chage binary name from rjb.so to rjbcore.so
559
+ Mon Jul 31 arton
560
+ *load.c
561
+ fix buffer allocation
562
+
563
+ Sun Jul 16 (Jun 22) Kuwashima and arton
564
+ *rjb.c
565
+ version 0.2.8
566
+ *MANIFEST
567
+ *depend
568
+ *load.c
569
+ *rjbexception.c
570
+ change jni.h to jniwrap.h.
571
+ change the bridge class's header according to JDK 5.0's javah.
572
+ *jniwrap.h
573
+ wrap jni.h for Cygin
574
+ Sat Jun 10 14:10:05 2006 arton
575
+ *rjb.c
576
+ version 0.2.7
577
+ support an array of arrays from ruby to java.
578
+
579
+ Mon May 8 08:52:12 2006 arton
580
+ *load.c
581
+ revision 5
582
+ support both Intel and PPC Mac.
583
+ Patched version was contributed by Demetrius Nunes.
584
+
585
+ Wed Apr 12 03:57:12 2006 arton
586
+ *rjb.c
587
+ version 0.2.6
588
+ support an array of arrays.
589
+ *test.rb
590
+ add an array of arrays test, some tests are contributed by Darren Day.
591
+ *Test.java
592
+ add a test method that returns an array of arrays, some tests are
593
+ contributed by Darren Day.
594
+
595
+ Sat Dec 24 18:56:38 2005 arton
596
+ *rjb.c
597
+ version 0.2.5
598
+ release String, Float, Array object after method call.
599
+ *gctest.rb
600
+ add for String object gc test
601
+
602
+ Mon Sep 19 01:09:30 2005 arton
603
+ *rjb.c
604
+ version 0.2.4
605
+ use null instead of empty string when String argument is nil
606
+ omit unused local variable from jstring2val
607
+ *test.rb
608
+ add null string test (bug since utf-8 support)
609
+
610
+ Tue Jun 28 01:57:07 2005 arton
611
+ *rjb.c
612
+ version 0.2.3
613
+ convert result object to imported class if object is an instance of Class
614
+ call Class#forName if argument count is 1
615
+ *test.rb
616
+ add test_importobj contributed by Mr. Kuwashima, thanks.
617
+
618
+ Mon Jun 27 20:30:50 2005 arton
619
+ treat Class.forName as Rjb::import
620
+ *rjb.c
621
+ version 0.2.2
622
+ add method 'forName' into imported Class object
623
+ if pass imported object to JVM, extract Class object from ruby object
624
+ *test.rb
625
+ add above tests
626
+
627
+ Sat Jun 25 05:58:36 2005 arton
628
+ most bugs were reported by Mr. Micael Weller, thanks.
629
+ *rjb.c
630
+ version 0.2.1
631
+ correct derived static method search
632
+ search class methods then class's instance methods when called by class
633
+ avoid register non capitalized named constants into constants table
634
+ correct capitalized named method search
635
+ *riconv.c
636
+ never call iconv if $KCODE is nil
637
+ *load.c
638
+ using path separator ; for cygwin (by Ryugate)
639
+
640
+ Sun Apr 24 05:26:16 2005 arton
641
+ *rb.c
642
+ version 0.2.0
643
+ delete localref if globalref was created.
644
+ load can take the second argument for jvm
645
+ *load.c
646
+ load can take the second argument for jvm
647
+
648
+ Mon Jan 17 02:40:21 2005 arton
649
+ *rjb.c
650
+ add 'throw' module function.
651
+ move java exception handling functions into newly created rjbexception.c
652
+ *rjb.h
653
+ declations for rjb.c and rjbexception.c
654
+ *rjbexception.c
655
+ java exception handling functions, and 'throw' module function.
656
+ *test.rb
657
+ adding throw test.
658
+
659
+ Wed Jan 12 00:01:08 2005 Kaspar Schiess and arton
660
+ *rjb.c
661
+ correct Rjb::load parameter evaluation (classpath).
662
+ - many thanks to Mr.Schiess.
663
+
664
+ Sun Nov 21 02:51:43 2004 Kuwashima and arton
665
+ *rjb.c
666
+ move dbcs-utf-8 auto conversion feature into riconv.?
667
+ remove JNI version argument from Rjb::load. (bug reported by Mr.Tateishi)
668
+ *load.c
669
+ correct CLASSPATH setting (bad environment name).(bug reported by Mr.Tateishi)
670
+ *riconv.c riconv.h (contributed by Mr.Kuwashima)
671
+ DBCS - utf-8 auto conversion functions.
672
+ *depend MANIFEST
673
+ add riconv.?
674
+ - many tanks to Mr.Kuwashima and Mr.Tateishi.
675
+
676
+ Tue Oct 5 23:08:59 2004 Kuwashima and arton
677
+ *test.rb
678
+ add kanji conversion test
679
+ *rjb.c
680
+ add dbcs(sjis and euc-jp) - utf-8 auto conversion feature.
681
+ the patch was contributed by Mr.Kuwashima, many thanks.
682
+
683
+ Sun Oct 3 18:24:42 2004 arton
684
+ *load.c
685
+ JNIEnv* now using local variable instead of global one.
686
+ Because AWT event use a worker thread, and JNI need thread's owned JNIEnv.
687
+ *rjb.c
688
+ JNIEnv* now using local variable instead of global one.
689
+ Because AWT event use a worker thread, and JNI need thread's owned JNIEnv.
690
+ This change was suggested by Mr.Kuwashima, he also tested the behavior,
691
+ and gave me some test codes.
692
+ and attach_current_thread is from Mr.Kuwashima's patch.
693
+ Many thanks to Mr.Kuwashima.
694
+
695
+ Sat Sep 25 03:25:45 2004 arton
696
+ *rjb.c
697
+ implements interface's method argument conversion.
698
+ *test.rb
699
+ add Comparable test (interface with method arguments)
700
+ *Test.java
701
+ add Comparable test method.
702
+
703
+ Wed Sep 22 02:30:15 2004 arton
704
+ *rjb.c
705
+ correct constants load, using mid-class.
706
+ convert null string to nil
707
+
708
+ Wed Sep 22 00:05:32 2004 arton
709
+ *rjb.c
710
+ correct ruby type checking. If the parameter type is java.lang.String, rjb instance is always accepted.
711
+
712
+ Mon Sep 20 22:02:53 2004 arton
713
+ *rjb.c
714
+ checking method/constructor signature with class when the argument is rjb's instance.
715
+ Sun Sep 19 00:54:35 2004 arton
716
+ *rjb.c
717
+ convert Java exception to Ruby's StandardError derived class.
718
+ checking method/constructor signature when invoking if no signatur argument is supplied.
719
+ adding field accessor.
720
+
721
+ Sun Sep 12 21:42:00 2004 arton
722
+ *rjb.c
723
+ call exception description when verbose = true.
724
+ correct recursive import call (for Boolean).
725
+ corrent method not found message creation.