r2corba 1.4.1-x86-mingw32

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 (267) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGES +159 -0
  3. data/LICENSE +59 -0
  4. data/README +62 -0
  5. data/THANKS +52 -0
  6. data/bin/r2corba +8 -0
  7. data/bin/r2corba.bat +20 -0
  8. data/bin/ridlc +11 -0
  9. data/bin/ridlc.bat +23 -0
  10. data/bin/rins +7 -0
  11. data/bin/rins.bat +19 -0
  12. data/ext/.keep +0 -0
  13. data/lib/corba/cbase/IORMap.rb +33 -0
  14. data/lib/corba/cbase/ORB.rb +231 -0
  15. data/lib/corba/cbase/Request.rb +134 -0
  16. data/lib/corba/cbase/Streams.rb +129 -0
  17. data/lib/corba/cbase/Stub.rb +19 -0
  18. data/lib/corba/cbase/Typecode.rb +441 -0
  19. data/lib/corba/cbase/Values.rb +129 -0
  20. data/lib/corba/cbase/exception.rb +66 -0
  21. data/lib/corba/cbase/poa.rb +23 -0
  22. data/lib/corba/cbase/policies.rb +78 -0
  23. data/lib/corba/cbase/post_require.rb +14 -0
  24. data/lib/corba/cbase/require.rb +28 -0
  25. data/lib/corba/cmds/base.rb +85 -0
  26. data/lib/corba/cmds/test.rb +30 -0
  27. data/lib/corba/common/Any.rb +91 -0
  28. data/lib/corba/common/IDL.rb +104 -0
  29. data/lib/corba/common/ORB.rb +368 -0
  30. data/lib/corba/common/Object.rb +208 -0
  31. data/lib/corba/common/Request.rb +20 -0
  32. data/lib/corba/common/Servant.rb +108 -0
  33. data/lib/corba/common/Struct.rb +22 -0
  34. data/lib/corba/common/Stub.rb +79 -0
  35. data/lib/corba/common/Typecode.rb +1121 -0
  36. data/lib/corba/common/Union.rb +56 -0
  37. data/lib/corba/common/Values.rb +92 -0
  38. data/lib/corba/common/const.rb +22 -0
  39. data/lib/corba/common/exception.rb +68 -0
  40. data/lib/corba/common/require.rb +27 -0
  41. data/lib/corba/common/version.rb +22 -0
  42. data/lib/corba/idl/BiDirPolicyC.rb +63 -0
  43. data/lib/corba/idl/CosNamingC.rb +461 -0
  44. data/lib/corba/idl/CosNamingS.rb +309 -0
  45. data/lib/corba/idl/IDL.rb +21 -0
  46. data/lib/corba/idl/IORTable.pidl +62 -0
  47. data/lib/corba/idl/IORTableC.rb +117 -0
  48. data/lib/corba/idl/MessagingC.rb +904 -0
  49. data/lib/corba/idl/POAC.rb +930 -0
  50. data/lib/corba/idl/TAO_Ext.pidl +46 -0
  51. data/lib/corba/idl/TAO_ExtC.rb +179 -0
  52. data/lib/corba/idl/r2c_orb.rb +572 -0
  53. data/lib/corba/idl/require.rb +20 -0
  54. data/lib/corba/jbase/Any.rb +273 -0
  55. data/lib/corba/jbase/IORMap.rb +36 -0
  56. data/lib/corba/jbase/ORB.rb +99 -0
  57. data/lib/corba/jbase/Object.rb +98 -0
  58. data/lib/corba/jbase/Request.rb +226 -0
  59. data/lib/corba/jbase/Servant.rb +247 -0
  60. data/lib/corba/jbase/ServerRequest.rb +128 -0
  61. data/lib/corba/jbase/Streams.rb +671 -0
  62. data/lib/corba/jbase/Stub.rb +38 -0
  63. data/lib/corba/jbase/Typecode.rb +520 -0
  64. data/lib/corba/jbase/Values.rb +173 -0
  65. data/lib/corba/jbase/exception.rb +106 -0
  66. data/lib/corba/jbase/poa.rb +229 -0
  67. data/lib/corba/jbase/policies.rb +300 -0
  68. data/lib/corba/jbase/post_require.rb +14 -0
  69. data/lib/corba/jbase/require.rb +86 -0
  70. data/lib/corba/naming.rb +14 -0
  71. data/lib/corba/naming_service.rb +15 -0
  72. data/lib/corba/poa.rb +15 -0
  73. data/lib/corba/policies.rb +18 -0
  74. data/lib/corba/require.rb +17 -0
  75. data/lib/corba/svcs/ins/cos_naming.rb +426 -0
  76. data/lib/corba/svcs/ins/ins.rb +526 -0
  77. data/lib/corba/svcs/ins/naming_service.rb +119 -0
  78. data/lib/corba.rb +16 -0
  79. data/lib/ridlbe/ruby/config.rb +336 -0
  80. data/lib/ridlbe/ruby/orb.pidlc +0 -0
  81. data/lib/ridlbe/ruby/require.rb +16 -0
  82. data/lib/ridlbe/ruby/walker.rb +1582 -0
  83. data/mkrf_conf_bingem.rb +101 -0
  84. data/rakelib/bin.rake +80 -0
  85. data/rakelib/bin.rb +146 -0
  86. data/rakelib/build.rake +87 -0
  87. data/rakelib/config.rake +52 -0
  88. data/rakelib/config.rb +450 -0
  89. data/rakelib/ext.rake +242 -0
  90. data/rakelib/ext.rb +308 -0
  91. data/rakelib/ext_r2tao.rb +232 -0
  92. data/rakelib/gem.rake +212 -0
  93. data/rakelib/gem.rb +146 -0
  94. data/rakelib/package.rake +26 -0
  95. data/rakelib/test.rake +23 -0
  96. data/test/BiDirectional/Test.idl +34 -0
  97. data/test/BiDirectional/client.rb +132 -0
  98. data/test/BiDirectional/run_test.rb +68 -0
  99. data/test/BiDirectional/server.ior +1 -0
  100. data/test/BiDirectional/server.rb +169 -0
  101. data/test/CORBA_Services/Naming/BindingIterator/Test.idl +27 -0
  102. data/test/CORBA_Services/Naming/BindingIterator/client.rb +121 -0
  103. data/test/CORBA_Services/Naming/BindingIterator/ins.ior +1 -0
  104. data/test/CORBA_Services/Naming/BindingIterator/run_test.rb +82 -0
  105. data/test/CORBA_Services/Naming/BindingIterator/server.rb +109 -0
  106. data/test/CORBA_Services/Naming/Corbaname/Test.idl +27 -0
  107. data/test/CORBA_Services/Naming/Corbaname/client.rb +85 -0
  108. data/test/CORBA_Services/Naming/Corbaname/corbaname.ior +1 -0
  109. data/test/CORBA_Services/Naming/Corbaname/ins.ior +1 -0
  110. data/test/CORBA_Services/Naming/Corbaname/run_test.rb +88 -0
  111. data/test/CORBA_Services/Naming/Corbaname/server.rb +135 -0
  112. data/test/CORBA_Services/Naming/Simple/Test.idl +27 -0
  113. data/test/CORBA_Services/Naming/Simple/client.rb +84 -0
  114. data/test/CORBA_Services/Naming/Simple/ins.ior +1 -0
  115. data/test/CORBA_Services/Naming/Simple/run_test.rb +82 -0
  116. data/test/CORBA_Services/Naming/Simple/server.rb +109 -0
  117. data/test/Collocation/Diamond.idl +39 -0
  118. data/test/Collocation/run_test.rb +52 -0
  119. data/test/Collocation/test.rb +195 -0
  120. data/test/Connect_Timeout/Test.idl +27 -0
  121. data/test/Connect_Timeout/client.rb +111 -0
  122. data/test/Connect_Timeout/run_test.rb +52 -0
  123. data/test/DII/Test.idl +27 -0
  124. data/test/DII/client.rb +115 -0
  125. data/test/DII/run_test.rb +69 -0
  126. data/test/DII/server.ior +1 -0
  127. data/test/DII/server.rb +95 -0
  128. data/test/DSI/Test.idl +27 -0
  129. data/test/DSI/client.rb +66 -0
  130. data/test/DSI/run_test.rb +69 -0
  131. data/test/DSI/server.ior +1 -0
  132. data/test/DSI/server.rb +106 -0
  133. data/test/Exceptions/Test.idl +48 -0
  134. data/test/Exceptions/client.rb +118 -0
  135. data/test/Exceptions/run_test.rb +69 -0
  136. data/test/Exceptions/server.ior +1 -0
  137. data/test/Exceptions/server.rb +131 -0
  138. data/test/Hello/Test.idl +27 -0
  139. data/test/Hello/client.rb +78 -0
  140. data/test/Hello/run_test.rb +71 -0
  141. data/test/Hello/server.rb +95 -0
  142. data/test/IDL_Test/Test.idl +113 -0
  143. data/test/IDL_Test/Test_inc.idl +17 -0
  144. data/test/IDL_Test/client.rb +102 -0
  145. data/test/IDL_Test/run_test.rb +69 -0
  146. data/test/IDL_Test/server.ior +1 -0
  147. data/test/IDL_Test/server.rb +99 -0
  148. data/test/IORMap/Test.idl +27 -0
  149. data/test/IORMap/client.rb +73 -0
  150. data/test/IORMap/run_test.rb +69 -0
  151. data/test/IORMap/server.ior +1 -0
  152. data/test/IORMap/server.rb +114 -0
  153. data/test/IORTable/Test.idl +27 -0
  154. data/test/IORTable/client.rb +75 -0
  155. data/test/IORTable/run_test.rb +69 -0
  156. data/test/IORTable/server.ior +1 -0
  157. data/test/IORTable/server.rb +130 -0
  158. data/test/Implicit_Conversion/Test.idl +31 -0
  159. data/test/Implicit_Conversion/client.rb +110 -0
  160. data/test/Implicit_Conversion/run_test.rb +69 -0
  161. data/test/Implicit_Conversion/server.ior +1 -0
  162. data/test/Implicit_Conversion/server.rb +99 -0
  163. data/test/Multi_Threading/Multiple_ORB/Test.idl +27 -0
  164. data/test/Multi_Threading/Multiple_ORB/client.rb +82 -0
  165. data/test/Multi_Threading/Multiple_ORB/run_test.rb +71 -0
  166. data/test/Multi_Threading/Multiple_ORB/server.rb +108 -0
  167. data/test/Multi_Threading/Multiple_ORB/server0.ior +1 -0
  168. data/test/Multi_Threading/Multiple_ORB/server1.ior +1 -0
  169. data/test/Multi_Threading/Simple/Test.idl +27 -0
  170. data/test/Multi_Threading/Simple/client.rb +88 -0
  171. data/test/Multi_Threading/Simple/run_test.rb +69 -0
  172. data/test/Multi_Threading/Simple/server.ior +1 -0
  173. data/test/Multi_Threading/Simple/server.rb +118 -0
  174. data/test/Multi_Threading/Threads/Test.idl +31 -0
  175. data/test/Multi_Threading/Threads/client.rb +80 -0
  176. data/test/Multi_Threading/Threads/run_test.rb +76 -0
  177. data/test/Multi_Threading/Threads/server.ior +1 -0
  178. data/test/Multi_Threading/Threads/server.rb +119 -0
  179. data/test/Multi_Threading/Threads/watchdog.ior +1 -0
  180. data/test/Multi_Threading/Threads/watchdog.rb +87 -0
  181. data/test/Multiple_Servant_Interfaces/Test.idl +34 -0
  182. data/test/Multiple_Servant_Interfaces/client.rb +70 -0
  183. data/test/Multiple_Servant_Interfaces/run_test.rb +69 -0
  184. data/test/Multiple_Servant_Interfaces/server.ior +1 -0
  185. data/test/Multiple_Servant_Interfaces/server.rb +102 -0
  186. data/test/Nil/Test.idl +27 -0
  187. data/test/Nil/run_test.rb +52 -0
  188. data/test/Nil/test.rb +78 -0
  189. data/test/OBV/AbstractInterface/client.rb +179 -0
  190. data/test/OBV/AbstractInterface/run_test.rb +69 -0
  191. data/test/OBV/AbstractInterface/server.ior +1 -0
  192. data/test/OBV/AbstractInterface/server.rb +149 -0
  193. data/test/OBV/AbstractInterface/test.idl +53 -0
  194. data/test/OBV/Custom/OBV.idl +18 -0
  195. data/test/OBV/Custom/OBV_impl.rb +40 -0
  196. data/test/OBV/Custom/client.rb +86 -0
  197. data/test/OBV/Custom/run_test.rb +69 -0
  198. data/test/OBV/Custom/server.ior +1 -0
  199. data/test/OBV/Custom/server.rb +100 -0
  200. data/test/OBV/Simple/OBV.idl +15 -0
  201. data/test/OBV/Simple/OBV_impl.rb +26 -0
  202. data/test/OBV/Simple/client.rb +86 -0
  203. data/test/OBV/Simple/run_test.rb +69 -0
  204. data/test/OBV/Simple/server.ior +1 -0
  205. data/test/OBV/Simple/server.rb +100 -0
  206. data/test/OBV/Simple_Event/Event.idl +15 -0
  207. data/test/OBV/Simple_Event/Event_impl.rb +26 -0
  208. data/test/OBV/Simple_Event/client.rb +86 -0
  209. data/test/OBV/Simple_Event/run_test.rb +69 -0
  210. data/test/OBV/Simple_Event/server.ior +1 -0
  211. data/test/OBV/Simple_Event/server.rb +100 -0
  212. data/test/OBV/Supports/client.rb +116 -0
  213. data/test/OBV/Supports/run_test.rb +69 -0
  214. data/test/OBV/Supports/server.ior +1 -0
  215. data/test/OBV/Supports/server.rb +103 -0
  216. data/test/OBV/Supports/supports.idl +33 -0
  217. data/test/OBV/Supports/supports_impl.rb +57 -0
  218. data/test/OBV/Tree/client.rb +116 -0
  219. data/test/OBV/Tree/run_test.rb +69 -0
  220. data/test/OBV/Tree/server.ior +1 -0
  221. data/test/OBV/Tree/server.rb +117 -0
  222. data/test/OBV/Tree/test.idl +32 -0
  223. data/test/OBV/Truncatable/Extra.idl +27 -0
  224. data/test/OBV/Truncatable/Truncatable.idl +105 -0
  225. data/test/OBV/Truncatable/Truncatable_impl.rb +86 -0
  226. data/test/OBV/Truncatable/client.rb +279 -0
  227. data/test/OBV/Truncatable/run_test.rb +69 -0
  228. data/test/OBV/Truncatable/server.ior +1 -0
  229. data/test/OBV/Truncatable/server.rb +89 -0
  230. data/test/OBV/ValueBox/client.rb +497 -0
  231. data/test/OBV/ValueBox/run_test.rb +69 -0
  232. data/test/OBV/ValueBox/server.ior +1 -0
  233. data/test/OBV/ValueBox/server.rb +271 -0
  234. data/test/OBV/ValueBox/valuebox.idl +101 -0
  235. data/test/OBV/ValueBox/vb_basic.idl +75 -0
  236. data/test/OBV/ValueBox/vb_struct.idl +68 -0
  237. data/test/OBV/ValueBox/vb_union.idl +21 -0
  238. data/test/Object/Test.idl +27 -0
  239. data/test/Object/client.rb +103 -0
  240. data/test/Object/run_test.rb +69 -0
  241. data/test/Object/server.ior +1 -0
  242. data/test/Object/server.rb +126 -0
  243. data/test/POA/Test.idl +27 -0
  244. data/test/POA/run_test.rb +52 -0
  245. data/test/POA/test.rb +112 -0
  246. data/test/Param_Test/Test.idl +182 -0
  247. data/test/Param_Test/client.rb +277 -0
  248. data/test/Param_Test/run_test.rb +69 -0
  249. data/test/Param_Test/server.ior +1 -0
  250. data/test/Param_Test/server.rb +296 -0
  251. data/test/Performance/Simple/Test.idl +27 -0
  252. data/test/Performance/Simple/client.rb +90 -0
  253. data/test/Performance/Simple/run_test.rb +69 -0
  254. data/test/Performance/Simple/server.ior +1 -0
  255. data/test/Performance/Simple/server.rb +95 -0
  256. data/test/Policies/Test.idl +27 -0
  257. data/test/Policies/run_test.rb +52 -0
  258. data/test/Policies/test.rb +144 -0
  259. data/test/Timeout/client.rb +207 -0
  260. data/test/Timeout/run_test.rb +69 -0
  261. data/test/Timeout/server.ior +1 -0
  262. data/test/Timeout/server.rb +109 -0
  263. data/test/Timeout/test.idl +19 -0
  264. data/test/lib/assert.rb +43 -0
  265. data/test/lib/test.rb +542 -0
  266. data/test/test_runner.rb +193 -0
  267. metadata +342 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA512:
3
+ data.tar.gz: 6908a6c979168cc5d7d4f8578100f41232e591136dbfc903a1757af0aba2acf49855aed70521b9e64e045326989c5202c66dea2462dc548001afc7d1cf66031c
4
+ metadata.gz: 4389bba50b6f7805f5b6aee962186a8e8d784962273ec6f905231515e999ca7dccd232c4a0a5b90e4766ddac5bba155b1c9344b964c28ff2cf9fda8e4f0b1de9
5
+ SHA1:
6
+ data.tar.gz: 3efb2bc68d907b5f2b744360f9d891b9bc5a865a
7
+ metadata.gz: d64b16660aa215b70b56c87f28edc629bec72c37
data/CHANGES ADDED
@@ -0,0 +1,159 @@
1
+
2
+ Current version: 1.4.1
3
+
4
+ Changes since version 1.3.1:
5
+
6
+ o Replaced setup.rb based build system by Rake based build system.
7
+
8
+ o Implemented rubygems distribution support.
9
+
10
+ o Added new 'r2corba' tool script. Currently only allows execution
11
+ of tests after gem installation.
12
+
13
+ o Fixed nasty bug concerning nil object reference
14
+ value passing.
15
+
16
+ Changes since version 1.2.1:
17
+
18
+ o Added support for MRI Ruby 2.0.0
19
+
20
+ o Added support for Windows 64bit (Ruby 2.0.0)
21
+
22
+ o Added support for TAO 2.1.8
23
+
24
+ o Added support for JacORB 3.2
25
+
26
+ o Added support for JRuby 1.7.3
27
+
28
+ o Fixed issues reported on OSPortal.
29
+ (see https://osportal.remedy.nl/projects/r2corba/issues)
30
+
31
+ o Dropped testing and packaging for MacOSX
32
+
33
+ Changes since version 1.1.1:
34
+
35
+ o Added support for MRI Ruby 1.9.3
36
+
37
+ o Added support for TAO 2.1.6
38
+
39
+ o Added support for JacORB 3.1
40
+
41
+ o Added support for JRuby 1.7.0
42
+
43
+ o Fixed various issues reported on OSPortal.
44
+ (see https://osportal.remedy.nl/projects/r2corba/issues)
45
+
46
+ o Improved and perfected multithreading support
47
+
48
+ o Upgraded to latest version of (now separately maintained) RIDL
49
+ compiler frontend (which includes full support for IDL3(+) features).
50
+
51
+ Changes since version 1.1.0:
52
+
53
+ o Fixed incorrect IDL compiler handling of 'sequence of incomplete struct' types.
54
+
55
+ o Fixed missing PortableServer::ServantLocator IDL definition
56
+
57
+ o Reverted incorrect removal of '--prefix' switch of setup.rb install command.
58
+
59
+ o Added some patches for compile problems with older MRI 1.8 distros.
60
+
61
+ o Fixed OBS RPM buildproblems.
62
+
63
+ Changes since version 1.0.0:
64
+
65
+ o Added support for MRI Ruby 1.9.2+
66
+
67
+ o Validated against JRuby 1.6.1
68
+
69
+ o Added multithreading support
70
+ (native threads for JRuby & MRI 1.9 series, green threads for MRI 1.8 series)
71
+
72
+ o Added Interoperable Naming Service (INS). Fully compliant with OMG Naming Service spec v1.3.
73
+ Implemented in 100% Ruby code.
74
+
75
+ o Updated IDL compiler with missing OMG IDL features
76
+ (typeprefix&typeid, raises,getraises&setraises on attributes)
77
+
78
+ o Improved IDL compiler error reporting.
79
+
80
+ o Added support for IDL 'eventtype' type.
81
+ NOTE: As JaCORB currently does not support tk_event typecodes&values jR2CORBA
82
+ maps eventtype to plain valuetype. This makes jR2CORBA and R2CORBA
83
+ interoperable wrt eventtype.
84
+
85
+ o Validated interoperability with omniORBpy thanks to David MacMahon.
86
+
87
+ o Added custom IORMap extension for mapping simple object keys to IORs
88
+ with support for both the MRI and JRuby versions.
89
+
90
+ o More regression tests added.
91
+
92
+ o Bugfixes.
93
+
94
+ Changes since version 0.9.4:
95
+
96
+ o Restructured codebase for more flexibility and clarity.
97
+
98
+ o Added jR2CORBA based on JRuby/JacORB support.
99
+
100
+ o Added full Value type support (values, valueboxes, interface support).
101
+
102
+ o Added Abstract Interface support.
103
+
104
+ o Added regression tests for Value type and Abstract Interface support.
105
+
106
+ o Added latest Ruby 1.8 series on Windows/MingW32 support.
107
+
108
+ o Added MacOSX support.
109
+
110
+ o Improved resource management C++ extensions.
111
+
112
+ o Improved test framework.
113
+
114
+ o Fixed problems with prebuilt distribution packages.
115
+
116
+ Changes since version 0.9.3:
117
+
118
+ o Improved test framework. Failing tests now correctly detected and reported.
119
+
120
+ o Fixed 'long' value conversion bug thanks to Ragnar Dahlen
121
+
122
+ o Added export macros to support GCC with visibility enabled
123
+
124
+ Changes since version 0.9.2:
125
+
126
+ o added prebuilt packaging
127
+
128
+ o use $TAO_ROOT instead of $ACE_ROOT/TAO; TAO_ROOT must now be set when
129
+ building R2CORBA with a custom ACE/TAO location
130
+
131
+ o added rpm packaging support script
132
+
133
+ Changes since version 0.9.1:
134
+
135
+ o fixed several install issues
136
+
137
+ o fixed Windows build problem (spaces in path)
138
+
139
+ Changes since version 0.8.2:
140
+
141
+ o added support for the IORTable pseudo object;
142
+ (see new regression test under test/IORTable)
143
+
144
+ o integrated Ruby signal handling/trapping with TAO so that
145
+ when running the ORB's reactor signals will be caught and
146
+ Ruby defined handlers called;
147
+ (see new NamingService example under example/ins)
148
+
149
+ o various IDL compiler improvements with, among others, much better
150
+ processing of preprocessor directives thanks to Renato Lucindo and
151
+ Eider Oliveira;
152
+ (see extended test/IDL_Test)
153
+
154
+ o added new Collocation regression test to verify bugfixes for this
155
+ functionality in TAO >= 1.6.3;
156
+
157
+ o several bugfixes and smaller enhancements thanks to (among others)
158
+ Leo Seib and Harald Lange.
159
+
data/LICENSE ADDED
@@ -0,0 +1,59 @@
1
+ R2CORBA LICENSE
2
+
3
+ R2CORBA (Licensed Product) is protected by copyright, and is distributed
4
+ under the following terms.
5
+
6
+ R2CORBA (Ruby to CORBA) is an open source tool, developed by Remedy IT and
7
+ written in Ruby, C++ and Java. It is designed to provide a CORBA mapping for
8
+ the Ruby programming language.
9
+ Instead of going for a complete native Ruby mapping implementing a native
10
+ Ruby ORB, R2CORBA aims at providing CORBA functionality through a Ruby
11
+ extension using the DII and DSI interfaces of an existing CORBA ORB
12
+ implementation.
13
+ There are currently two flavors of this extension available:
14
+ o an MRI Ruby extension written in Ruby and C/C++ using TAO
15
+ (The ACE ORB; see http://www.cs.wustl.edu/~schmidt/TAO.html).
16
+ o a JRuby extension written in Ruby and Java using JacORB
17
+ (http://www.jacorb.org/index.html).
18
+ A native Ruby implementation of an OMG IDL compiler supplements this
19
+ extension and provides powerful features like direct inclusion of IDL
20
+ language modules into your Ruby programs without the need of precompiling.
21
+
22
+ Since R2CORBA is open source and free of licensing fees, you are free to use,
23
+ modify, and distribute the source code, as long as you include this
24
+ copyright statement.
25
+
26
+ In particular, you can use R2CORBA to build proprietary software and are
27
+ under no obligation to redistribute any of your source code that is built
28
+ using R2CORBA. Note, however, that you may not do anything to the R2CORBA
29
+ code, such as copyrighting it yourself or claiming authorship of the R2CORBA
30
+ code, that will prevent R2CORBA from being distributed freely using an open
31
+ source development model.
32
+
33
+ Warranty
34
+
35
+ LICENSED PRODUCT IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING
36
+ THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
37
+ PURPOSE, NON-INFRINGEMENT, OR ARISING FROM A COURSE OF DEALING, USAGE OR
38
+ TRADE PRACTICE.
39
+
40
+ Support
41
+
42
+ LICENSED PRODUCT IS PROVIDED WITH NO SUPPORT AND WITHOUT ANY OBLIGATION ON
43
+ THE PART OF REMEDY IT OR ANY OF ITS SUBSIDIARIES OR AFFILIATES TO ASSIST IN
44
+ ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT.
45
+
46
+ Remedy IT provides support to users who have agreed on the terms of a support
47
+ contract.
48
+
49
+ Liability
50
+
51
+ REMEDY IT OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY
52
+ WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS
53
+ BY LICENSED PRODUCT OR ANY PART THEREOF.
54
+
55
+ IN NO EVENT WILL REMEDY IT OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE
56
+ FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL
57
+ DAMAGES, EVEN IF REMEDY IT HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
58
+
59
+ R2CORBA is Copyright Remedy IT. Nijkerk, The Netherlands, 2006-2013.
data/README ADDED
@@ -0,0 +1,62 @@
1
+
2
+ * What is Ruby2CORBA
3
+
4
+ Ruby2CORBA (R2CORBA) is a CORBA mapping implementation for the Ruby
5
+ programming language (see http://www.ruby-lang.org).
6
+ Instead of going for a complete native Ruby mapping implementing a native
7
+ Ruby ORB, R2CORBA aims at providing CORBA functionality through a Ruby
8
+ extension using the DII and DSI interfaces of an existing CORBA ORB
9
+ implementation.
10
+ There are currently two flavors of this extension available:
11
+ o an MRI Ruby extension written in Ruby and C/C++ using TAO
12
+ (The ACE ORB; see http://www.cs.wustl.edu/~schmidt/TAO.html).
13
+ o a JRuby extension written in Ruby and Java using JacORB
14
+ (http://www.jacorb.org/index.html).
15
+ A native Ruby implementation of an OMG IDL compiler supplements this
16
+ extension and provides powerful features like direct inclusion of IDL
17
+ language modules into your Ruby programs without the need of explicit,
18
+ separate stub generation.
19
+
20
+ Both flavors of R2CORBA fully implement the official OMG Ruby CORBA
21
+ Language Mapping (RCLM) specification which can be downloaded here:
22
+ http://www.omg.org/spec/RCLM.
23
+
24
+ * How to get R2CORBA
25
+
26
+ Execute
27
+
28
+ gem install r2corba
29
+
30
+ to install R2CORBA as a gem.
31
+
32
+ or
33
+
34
+ Go to https://osportal.remedy.nl/projects/r2corba/files to
35
+ download the latest source package and build your own.
36
+
37
+ or
38
+
39
+ Go to https://osportal.remedy.nl/projects/r2corba/wiki and read how
40
+ to checkout the latest source code from the version repository.
41
+
42
+ * How to compile and install
43
+
44
+ See the file INSTALL
45
+
46
+ * Copying/License
47
+
48
+ See the file LICENSE
49
+
50
+ * Acknowledgments
51
+
52
+ See the file THANKS
53
+
54
+ * The author(s)
55
+
56
+ R2CORBA has been created by staff of Remedy IT.
57
+ (http://www.remedy.nl | http://www.theaceorb.nl)
58
+
59
+ Feel free to send comments and bug reports to:
60
+
61
+ r2corba@remedy.nl
62
+
data/THANKS ADDED
@@ -0,0 +1,52 @@
1
+
2
+ Our thanks go to:
3
+
4
+ * Yukihiro Matsumoto, aka “Matz”, for creating the wonderfully
5
+ powerful and elegant programming language named Ruby.
6
+ With him we also thank all those who have contributed to the
7
+ Ruby programming tool and have made Ruby what it is today.
8
+
9
+ * Charles Oliver Nutter, aka "headius", and the other people of
10
+ the JRuby core development team for bringing that wonderful
11
+ programming language that Matz created to Java.
12
+
13
+ * Prof. Douglas Schmidt for (and all his collaborators) for creating
14
+ a high-quality OpenSource CORBA compliant ORB. The high level of
15
+ OS abstraction and multiplatform compatibility of this software
16
+ make it an ideal ingredient for a Ruby CORBA implementation.
17
+
18
+ * The people of the JacORB development team (a.o. Gerald Brose and
19
+ Andre Spiegel) and all their collaborators for creating a high-
20
+ performance, multi threaded and spec compliant ORB for the
21
+ Java environment.
22
+
23
+ * Minero Aoki for creating the original 'setup.rb' install script.
24
+
25
+ * Daisuke Kanda for his initial work on CORBA bindings for Ruby from
26
+ 2001 (incl. RINN and Ruby-Orbit) which has helped us in many ways
27
+ to create R2CORBA.
28
+
29
+ * Paul Brannan of Automated Trading Desk, LLC for his insightfull
30
+ comments on the first release of the Ruby CORBA language mapping.
31
+
32
+ * Renato Lucindo and Eider Oliveira for their remarks and fixes for
33
+ the IDL compiler.
34
+
35
+ * Ragnar Dahlen for his tests and comments.
36
+
37
+ * William Otte for his patches for the Mac OSX port.
38
+
39
+ * David MacMahon for his comments and tests, especially with regard to
40
+ omniORBpy interoperability.
41
+
42
+ * David MacMahon for his Multi_Threading/Threads test.
43
+
44
+ * Joel Hahn for reporting the union implicit default bug and
45
+ providing partial patches.
46
+
47
+ * Karsten Richter for reporting a bug in union implicit default
48
+ handling and providing a partial patch and regression test.
49
+
50
+ * Grant Birchmeier for reporting the RIDL logger bug (triggered
51
+ by an unknown pragma)
52
+
data/bin/r2corba ADDED
@@ -0,0 +1,8 @@
1
+ #!/bin/env ruby
2
+ #---------------------------------
3
+ # This file is generated
4
+ #---------------------------------
5
+ unless defined? Gem
6
+ require 'rubygems' rescue nil
7
+ end
8
+ require 'corba/cmds/base'
data/bin/r2corba.bat ADDED
@@ -0,0 +1,20 @@
1
+ @echo off
2
+ if not "%~f0" == "~f0" goto WinNT
3
+ ruby -Sx "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9
4
+ goto endofruby
5
+ :WinNT
6
+ if not exist "%~d0%~p0ruby" goto rubyfrompath
7
+ if exist "%~d0%~p0ruby" "%~d0%~p0ruby" -x "%~f0" %*
8
+ goto endofruby
9
+ :rubyfrompath
10
+ ruby -x "%~f0" %*
11
+ goto endofruby
12
+ #!/bin/ruby
13
+ #
14
+ unless defined? Gem
15
+ require 'rubygems' rescue nil
16
+ end
17
+ require 'corba/cmds/base'
18
+
19
+ __END__
20
+ :endofruby
data/bin/ridlc ADDED
@@ -0,0 +1,11 @@
1
+ #!/bin/env ruby
2
+ #---------------------------------
3
+ # This file is generated
4
+ #---------------------------------
5
+ ENV['RIDL_BE_SELECT'] = 'ruby'
6
+ unless defined? Gem
7
+ require 'rubygems' rescue nil
8
+ end
9
+ require 'ridl/ridl'
10
+
11
+ IDL.run
data/bin/ridlc.bat ADDED
@@ -0,0 +1,23 @@
1
+ @echo off
2
+ if not "%~f0" == "~f0" goto WinNT
3
+ ruby -Sx "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9
4
+ goto endofruby
5
+ :WinNT
6
+ if not exist "%~d0%~p0ruby" goto rubyfrompath
7
+ if exist "%~d0%~p0ruby" "%~d0%~p0ruby" -x "%~f0" %*
8
+ goto endofruby
9
+ :rubyfrompath
10
+ ruby -x "%~f0" %*
11
+ goto endofruby
12
+ #!/bin/ruby
13
+ #
14
+ ENV['RIDL_BE_SELECT'] = 'ruby'
15
+ unless defined? Gem
16
+ require 'rubygems' rescue nil
17
+ end
18
+ require 'ridl/ridl'
19
+
20
+ IDL.run
21
+
22
+ __END__
23
+ :endofruby
data/bin/rins ADDED
@@ -0,0 +1,7 @@
1
+ #!/bin/env ruby
2
+ #---------------------------------
3
+ # This file is generated
4
+ #---------------------------------
5
+ require 'corba/svcs/ins/ins'
6
+
7
+ INS.run
data/bin/rins.bat ADDED
@@ -0,0 +1,19 @@
1
+ @echo off
2
+ if not "%~f0" == "~f0" goto WinNT
3
+ ruby -Sx "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9
4
+ goto endofruby
5
+ :WinNT
6
+ if not exist "%~d0%~p0ruby" goto rubyfrompath
7
+ if exist "%~d0%~p0ruby" "%~d0%~p0ruby" -x "%~f0" %*
8
+ goto endofruby
9
+ :rubyfrompath
10
+ ruby -x "%~f0" %*
11
+ goto endofruby
12
+ #!/bin/ruby
13
+ #
14
+ require 'corba/svcs/ins/ins'
15
+
16
+ INS.run
17
+
18
+ __END__
19
+ :endofruby
data/ext/.keep ADDED
File without changes
@@ -0,0 +1,33 @@
1
+ #--------------------------------------------------------------------
2
+ # iormap.rb - C++/TAO IORMap definitions
3
+ #
4
+ # Author: Martin Corino
5
+ #
6
+ # This program is free software; you can redistribute it and/or
7
+ # modify it under the terms of the R2CORBA LICENSE which is
8
+ # included with this program.
9
+ #
10
+ # Copyright (c) Remedy IT Expertise BV
11
+ # Chamber of commerce Rotterdam nr.276339, The Netherlands
12
+ #--------------------------------------------------------------------
13
+ require 'corba/idl/IORTableC'
14
+
15
+ module R2CORBA
16
+ class IORMap
17
+ def initialize(orb)
18
+ obj = orb.resolve_initial_references('IORTable')
19
+ @iortbl = IORTable::Table._narrow(obj)
20
+ end
21
+
22
+ def map_ior(object_key, ior)
23
+ @iortbl.rebind(object_key, ior)
24
+ end
25
+
26
+ def unmap_ior(object_key)
27
+ begin
28
+ @iortbl.unbind(object_key)
29
+ rescue IORTable::NotFound
30
+ end
31
+ end
32
+ end
33
+ end