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