rjb 1.3.0-x86-mswin32-60 → 1.3.2-x86-mswin32-60

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