r2corba 1.6.1-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.
Files changed (237) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGES +173 -0
  3. data/LICENSE +59 -0
  4. data/README.rdoc +62 -0
  5. data/THANKS +54 -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 +32 -0
  14. data/lib/corba/cbase/ORB.rb +239 -0
  15. data/lib/corba/cbase/Request.rb +133 -0
  16. data/lib/corba/cbase/Streams.rb +128 -0
  17. data/lib/corba/cbase/Stub.rb +18 -0
  18. data/lib/corba/cbase/Typecode.rb +440 -0
  19. data/lib/corba/cbase/Values.rb +130 -0
  20. data/lib/corba/cbase/exception.rb +67 -0
  21. data/lib/corba/cbase/poa.rb +22 -0
  22. data/lib/corba/cbase/policies.rb +77 -0
  23. data/lib/corba/cbase/post_require.rb +13 -0
  24. data/lib/corba/cbase/require.rb +36 -0
  25. data/lib/corba/cmds/base.rb +84 -0
  26. data/lib/corba/cmds/test.rb +29 -0
  27. data/lib/corba/common/Any.rb +91 -0
  28. data/lib/corba/common/IDL.rb +100 -0
  29. data/lib/corba/common/ORB.rb +367 -0
  30. data/lib/corba/common/Object.rb +211 -0
  31. data/lib/corba/common/Request.rb +19 -0
  32. data/lib/corba/common/Servant.rb +107 -0
  33. data/lib/corba/common/Struct.rb +21 -0
  34. data/lib/corba/common/Stub.rb +78 -0
  35. data/lib/corba/common/Typecode.rb +1147 -0
  36. data/lib/corba/common/Union.rb +60 -0
  37. data/lib/corba/common/Values.rb +92 -0
  38. data/lib/corba/common/const.rb +21 -0
  39. data/lib/corba/common/exception.rb +68 -0
  40. data/lib/corba/common/require.rb +34 -0
  41. data/lib/corba/common/version.rb +21 -0
  42. data/lib/corba/idl/BiDirPolicyC.rb +62 -0
  43. data/lib/corba/idl/CosNamingC.rb +460 -0
  44. data/lib/corba/idl/CosNamingS.rb +308 -0
  45. data/lib/corba/idl/IDL.rb +20 -0
  46. data/lib/corba/idl/IORTable.pidl +61 -0
  47. data/lib/corba/idl/IORTableC.rb +116 -0
  48. data/lib/corba/idl/MessagingC.rb +903 -0
  49. data/lib/corba/idl/POAC.rb +929 -0
  50. data/lib/corba/idl/TAO_Ext.pidl +45 -0
  51. data/lib/corba/idl/TAO_ExtC.rb +178 -0
  52. data/lib/corba/idl/r2c_orb.rb +571 -0
  53. data/lib/corba/idl/require.rb +19 -0
  54. data/lib/corba/jbase/Any.rb +274 -0
  55. data/lib/corba/jbase/IORMap.rb +35 -0
  56. data/lib/corba/jbase/ORB.rb +111 -0
  57. data/lib/corba/jbase/Object.rb +98 -0
  58. data/lib/corba/jbase/Request.rb +225 -0
  59. data/lib/corba/jbase/Servant.rb +247 -0
  60. data/lib/corba/jbase/ServerRequest.rb +127 -0
  61. data/lib/corba/jbase/Streams.rb +734 -0
  62. data/lib/corba/jbase/Stub.rb +37 -0
  63. data/lib/corba/jbase/Typecode.rb +520 -0
  64. data/lib/corba/jbase/Values.rb +174 -0
  65. data/lib/corba/jbase/exception.rb +106 -0
  66. data/lib/corba/jbase/poa.rb +228 -0
  67. data/lib/corba/jbase/policies.rb +299 -0
  68. data/lib/corba/jbase/post_require.rb +13 -0
  69. data/lib/corba/jbase/require.rb +92 -0
  70. data/lib/corba/naming.rb +13 -0
  71. data/lib/corba/naming_service.rb +14 -0
  72. data/lib/corba/poa.rb +14 -0
  73. data/lib/corba/policies.rb +17 -0
  74. data/lib/corba/require.rb +16 -0
  75. data/lib/corba/svcs/ins/cos_naming.rb +432 -0
  76. data/lib/corba/svcs/ins/ins.rb +525 -0
  77. data/lib/corba/svcs/ins/naming_service.rb +118 -0
  78. data/lib/corba.rb +15 -0
  79. data/lib/ridlbe/ruby/config.rb +340 -0
  80. data/lib/ridlbe/ruby/orb.pidlc +0 -0
  81. data/lib/ridlbe/ruby/require.rb +15 -0
  82. data/lib/ridlbe/ruby/walker.rb +1605 -0
  83. data/mkrf_conf_bingem.rb +149 -0
  84. data/rakelib/bin.rake +79 -0
  85. data/rakelib/bin.rb +145 -0
  86. data/rakelib/build.rake +87 -0
  87. data/rakelib/config.rake +51 -0
  88. data/rakelib/config.rb +542 -0
  89. data/rakelib/ext.rake +183 -0
  90. data/rakelib/ext.rb +277 -0
  91. data/rakelib/ext_r2tao.rb +208 -0
  92. data/rakelib/gem.rake +251 -0
  93. data/rakelib/gem.rb +145 -0
  94. data/rakelib/package.rake +25 -0
  95. data/rakelib/test.rake +22 -0
  96. data/test/BiDirectional/Test.idl +33 -0
  97. data/test/BiDirectional/client.rb +131 -0
  98. data/test/BiDirectional/run_test.rb +67 -0
  99. data/test/BiDirectional/server.rb +167 -0
  100. data/test/CORBA_Services/Naming/BindingIterator/Test.idl +26 -0
  101. data/test/CORBA_Services/Naming/BindingIterator/client.rb +120 -0
  102. data/test/CORBA_Services/Naming/BindingIterator/run_test.rb +81 -0
  103. data/test/CORBA_Services/Naming/BindingIterator/server.rb +108 -0
  104. data/test/CORBA_Services/Naming/Corbaname/Test.idl +26 -0
  105. data/test/CORBA_Services/Naming/Corbaname/client.rb +84 -0
  106. data/test/CORBA_Services/Naming/Corbaname/run_test.rb +87 -0
  107. data/test/CORBA_Services/Naming/Corbaname/server.rb +134 -0
  108. data/test/CORBA_Services/Naming/Simple/Test.idl +26 -0
  109. data/test/CORBA_Services/Naming/Simple/client.rb +83 -0
  110. data/test/CORBA_Services/Naming/Simple/run_test.rb +81 -0
  111. data/test/CORBA_Services/Naming/Simple/server.rb +108 -0
  112. data/test/Collocation/Diamond.idl +38 -0
  113. data/test/Collocation/run_test.rb +51 -0
  114. data/test/Collocation/test.rb +201 -0
  115. data/test/Connect_Timeout/Test.idl +26 -0
  116. data/test/Connect_Timeout/client.rb +109 -0
  117. data/test/Connect_Timeout/run_test.rb +51 -0
  118. data/test/DII/Test.idl +26 -0
  119. data/test/DII/client.rb +114 -0
  120. data/test/DII/run_test.rb +68 -0
  121. data/test/DII/server.rb +94 -0
  122. data/test/DSI/Test.idl +26 -0
  123. data/test/DSI/client.rb +65 -0
  124. data/test/DSI/run_test.rb +68 -0
  125. data/test/DSI/server.rb +105 -0
  126. data/test/Exceptions/Test.idl +47 -0
  127. data/test/Exceptions/client.rb +117 -0
  128. data/test/Exceptions/run_test.rb +68 -0
  129. data/test/Exceptions/server.rb +130 -0
  130. data/test/Hello/Test.idl +26 -0
  131. data/test/Hello/client.rb +77 -0
  132. data/test/Hello/run_test.rb +70 -0
  133. data/test/Hello/server.rb +94 -0
  134. data/test/IDL_Test/Test.idl +116 -0
  135. data/test/IDL_Test/Test_inc.idl +17 -0
  136. data/test/IDL_Test/client.rb +103 -0
  137. data/test/IDL_Test/run_test.rb +68 -0
  138. data/test/IDL_Test/server.rb +103 -0
  139. data/test/IORMap/Test.idl +26 -0
  140. data/test/IORMap/client.rb +72 -0
  141. data/test/IORMap/run_test.rb +68 -0
  142. data/test/IORMap/server.rb +113 -0
  143. data/test/IORTable/Test.idl +26 -0
  144. data/test/IORTable/client.rb +74 -0
  145. data/test/IORTable/run_test.rb +68 -0
  146. data/test/IORTable/server.rb +129 -0
  147. data/test/Implicit_Conversion/Test.idl +30 -0
  148. data/test/Implicit_Conversion/client.rb +112 -0
  149. data/test/Implicit_Conversion/run_test.rb +68 -0
  150. data/test/Implicit_Conversion/server.rb +98 -0
  151. data/test/Multi_Threading/Multiple_ORB/Test.idl +26 -0
  152. data/test/Multi_Threading/Multiple_ORB/client.rb +81 -0
  153. data/test/Multi_Threading/Multiple_ORB/run_test.rb +70 -0
  154. data/test/Multi_Threading/Multiple_ORB/server.rb +107 -0
  155. data/test/Multi_Threading/Simple/Test.idl +26 -0
  156. data/test/Multi_Threading/Simple/client.rb +92 -0
  157. data/test/Multi_Threading/Simple/run_test.rb +68 -0
  158. data/test/Multi_Threading/Simple/server.rb +117 -0
  159. data/test/Multi_Threading/Threads/Test.idl +27 -0
  160. data/test/Multi_Threading/Threads/client.rb +77 -0
  161. data/test/Multi_Threading/Threads/run_test.rb +75 -0
  162. data/test/Multi_Threading/Threads/server.rb +116 -0
  163. data/test/Multi_Threading/Threads/watchdog.rb +87 -0
  164. data/test/Multiple_Servant_Interfaces/Test.idl +33 -0
  165. data/test/Multiple_Servant_Interfaces/client.rb +69 -0
  166. data/test/Multiple_Servant_Interfaces/run_test.rb +68 -0
  167. data/test/Multiple_Servant_Interfaces/server.rb +101 -0
  168. data/test/Nil/Test.idl +26 -0
  169. data/test/Nil/run_test.rb +51 -0
  170. data/test/Nil/test.rb +80 -0
  171. data/test/OBV/AbstractInterface/client.rb +178 -0
  172. data/test/OBV/AbstractInterface/run_test.rb +68 -0
  173. data/test/OBV/AbstractInterface/server.rb +149 -0
  174. data/test/OBV/AbstractInterface/test.idl +52 -0
  175. data/test/OBV/Custom/OBV.idl +18 -0
  176. data/test/OBV/Custom/OBV_impl.rb +41 -0
  177. data/test/OBV/Custom/client.rb +85 -0
  178. data/test/OBV/Custom/run_test.rb +68 -0
  179. data/test/OBV/Custom/server.rb +99 -0
  180. data/test/OBV/Simple/OBV.idl +15 -0
  181. data/test/OBV/Simple/OBV_impl.rb +26 -0
  182. data/test/OBV/Simple/client.rb +85 -0
  183. data/test/OBV/Simple/run_test.rb +68 -0
  184. data/test/OBV/Simple/server.rb +99 -0
  185. data/test/OBV/Simple_Event/Event.idl +15 -0
  186. data/test/OBV/Simple_Event/Event_impl.rb +26 -0
  187. data/test/OBV/Simple_Event/client.rb +85 -0
  188. data/test/OBV/Simple_Event/run_test.rb +68 -0
  189. data/test/OBV/Simple_Event/server.rb +99 -0
  190. data/test/OBV/Supports/client.rb +115 -0
  191. data/test/OBV/Supports/run_test.rb +68 -0
  192. data/test/OBV/Supports/server.rb +102 -0
  193. data/test/OBV/Supports/supports.idl +32 -0
  194. data/test/OBV/Supports/supports_impl.rb +59 -0
  195. data/test/OBV/Tree/client.rb +115 -0
  196. data/test/OBV/Tree/run_test.rb +68 -0
  197. data/test/OBV/Tree/server.rb +116 -0
  198. data/test/OBV/Tree/test.idl +31 -0
  199. data/test/OBV/Truncatable/Extra.idl +26 -0
  200. data/test/OBV/Truncatable/Truncatable.idl +105 -0
  201. data/test/OBV/Truncatable/Truncatable_impl.rb +85 -0
  202. data/test/OBV/Truncatable/client.rb +278 -0
  203. data/test/OBV/Truncatable/run_test.rb +68 -0
  204. data/test/OBV/Truncatable/server.rb +88 -0
  205. data/test/OBV/ValueBox/client.rb +497 -0
  206. data/test/OBV/ValueBox/run_test.rb +68 -0
  207. data/test/OBV/ValueBox/server.rb +271 -0
  208. data/test/OBV/ValueBox/valuebox.idl +101 -0
  209. data/test/OBV/ValueBox/vb_basic.idl +75 -0
  210. data/test/OBV/ValueBox/vb_struct.idl +68 -0
  211. data/test/OBV/ValueBox/vb_union.idl +21 -0
  212. data/test/Object/Test.idl +26 -0
  213. data/test/Object/client.rb +111 -0
  214. data/test/Object/run_test.rb +68 -0
  215. data/test/Object/server.rb +125 -0
  216. data/test/POA/Test.idl +27 -0
  217. data/test/POA/run_test.rb +51 -0
  218. data/test/POA/test.rb +111 -0
  219. data/test/Param_Test/Test.idl +182 -0
  220. data/test/Param_Test/client.rb +276 -0
  221. data/test/Param_Test/run_test.rb +68 -0
  222. data/test/Param_Test/server.rb +295 -0
  223. data/test/Performance/Simple/Test.idl +26 -0
  224. data/test/Performance/Simple/client.rb +89 -0
  225. data/test/Performance/Simple/run_test.rb +68 -0
  226. data/test/Performance/Simple/server.rb +94 -0
  227. data/test/Policies/Test.idl +26 -0
  228. data/test/Policies/run_test.rb +51 -0
  229. data/test/Policies/test.rb +142 -0
  230. data/test/Timeout/client.rb +206 -0
  231. data/test/Timeout/run_test.rb +68 -0
  232. data/test/Timeout/server.rb +108 -0
  233. data/test/Timeout/test.idl +18 -0
  234. data/test/lib/assert.rb +41 -0
  235. data/test/lib/test.rb +546 -0
  236. data/test/test_runner.rb +191 -0
  237. metadata +318 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 85989782c83e092abd482845ca4789291cf05dd9e8511110d176130766610169
4
+ data.tar.gz: 230a2aae0c6bae8cd375a649ba59a32f51acd9120ecaee5897c5ff5e09447cc4
5
+ SHA512:
6
+ metadata.gz: 35c80807ca75ac874c26d41fb236a24fa684f50190a1ccfd14b5c7e29059c443a8a79ac8fe58f3cf643dc958d390cdb1a19d8fbc1c65d98d39d81af4b93f5a3e
7
+ data.tar.gz: 74c789610f6613f18e5222eeda6a4ce33da63912fe154457175273f5464f83b350c5ba6cf6c079dd42fe1e24430271a6b79415c016c2c8b47dd1d5bef2c21484
data/CHANGES ADDED
@@ -0,0 +1,173 @@
1
+
2
+ Current version: 1.5.1
3
+
4
+ Changes since version 1.4.1:
5
+
6
+ o Added support for MRI Ruby 2.1.x & 2.2.x (32 & 64 bits)
7
+
8
+ o Added support for TAO <= 2.3.1
9
+
10
+ o Added support for JRuby <= 1.7.19
11
+
12
+ o Added support for JacORB <= 3.5
13
+
14
+ o Upgraded RIDL frontend to 2.5.5
15
+
16
+ o Officially drop MRI Ruby < 1.9 support
17
+
18
+ Changes since version 1.3.1:
19
+
20
+ o Replaced setup.rb based build system by Rake based build system.
21
+
22
+ o Implemented rubygems distribution support.
23
+
24
+ o Added new 'r2corba' tool script. Currently only allows execution
25
+ of tests after gem installation.
26
+
27
+ o Fixed nasty bug concerning nil object reference
28
+ value passing.
29
+
30
+ Changes since version 1.2.1:
31
+
32
+ o Added support for MRI Ruby 2.0.0
33
+
34
+ o Added support for Windows 64bit (Ruby 2.0.0)
35
+
36
+ o Added support for TAO 2.1.8
37
+
38
+ o Added support for JacORB 3.2
39
+
40
+ o Added support for JRuby 1.7.3
41
+
42
+ o Fixed issues reported on OSPortal.
43
+ (see https://osportal.remedy.nl/projects/r2corba/issues)
44
+
45
+ o Dropped testing and packaging for MacOSX
46
+
47
+ Changes since version 1.1.1:
48
+
49
+ o Added support for MRI Ruby 1.9.3
50
+
51
+ o Added support for TAO 2.1.6
52
+
53
+ o Added support for JacORB 3.1
54
+
55
+ o Added support for JRuby 1.7.0
56
+
57
+ o Fixed various issues reported on OSPortal.
58
+ (see https://osportal.remedy.nl/projects/r2corba/issues)
59
+
60
+ o Improved and perfected multithreading support
61
+
62
+ o Upgraded to latest version of (now separately maintained) RIDL
63
+ compiler frontend (which includes full support for IDL3(+) features).
64
+
65
+ Changes since version 1.1.0:
66
+
67
+ o Fixed incorrect IDL compiler handling of 'sequence of incomplete struct' types.
68
+
69
+ o Fixed missing PortableServer::ServantLocator IDL definition
70
+
71
+ o Reverted incorrect removal of '--prefix' switch of setup.rb install command.
72
+
73
+ o Added some patches for compile problems with older MRI 1.8 distros.
74
+
75
+ o Fixed OBS RPM buildproblems.
76
+
77
+ Changes since version 1.0.0:
78
+
79
+ o Added support for MRI Ruby 1.9.2+
80
+
81
+ o Validated against JRuby 1.6.1
82
+
83
+ o Added multithreading support
84
+ (native threads for JRuby & MRI 1.9 series, green threads for MRI 1.8 series)
85
+
86
+ o Added Interoperable Naming Service (INS). Fully compliant with OMG Naming Service spec v1.3.
87
+ Implemented in 100% Ruby code.
88
+
89
+ o Updated IDL compiler with missing OMG IDL features
90
+ (typeprefix&typeid, raises,getraises&setraises on attributes)
91
+
92
+ o Improved IDL compiler error reporting.
93
+
94
+ o Added support for IDL 'eventtype' type.
95
+ NOTE: As JaCORB currently does not support tk_event typecodes&values jR2CORBA
96
+ maps eventtype to plain valuetype. This makes jR2CORBA and R2CORBA
97
+ interoperable wrt eventtype.
98
+
99
+ o Validated interoperability with omniORBpy thanks to David MacMahon.
100
+
101
+ o Added custom IORMap extension for mapping simple object keys to IORs
102
+ with support for both the MRI and JRuby versions.
103
+
104
+ o More regression tests added.
105
+
106
+ o Bugfixes.
107
+
108
+ Changes since version 0.9.4:
109
+
110
+ o Restructured codebase for more flexibility and clarity.
111
+
112
+ o Added jR2CORBA based on JRuby/JacORB support.
113
+
114
+ o Added full Value type support (values, valueboxes, interface support).
115
+
116
+ o Added Abstract Interface support.
117
+
118
+ o Added regression tests for Value type and Abstract Interface support.
119
+
120
+ o Added latest Ruby 1.8 series on Windows/MingW32 support.
121
+
122
+ o Added MacOSX support.
123
+
124
+ o Improved resource management C++ extensions.
125
+
126
+ o Improved test framework.
127
+
128
+ o Fixed problems with prebuilt distribution packages.
129
+
130
+ Changes since version 0.9.3:
131
+
132
+ o Improved test framework. Failing tests now correctly detected and reported.
133
+
134
+ o Fixed 'long' value conversion bug thanks to Ragnar Dahlen
135
+
136
+ o Added export macros to support GCC with visibility enabled
137
+
138
+ Changes since version 0.9.2:
139
+
140
+ o added prebuilt packaging
141
+
142
+ o use $TAO_ROOT instead of $ACE_ROOT/TAO; TAO_ROOT must now be set when
143
+ building R2CORBA with a custom ACE/TAO location
144
+
145
+ o added rpm packaging support script
146
+
147
+ Changes since version 0.9.1:
148
+
149
+ o fixed several install issues
150
+
151
+ o fixed Windows build problem (spaces in path)
152
+
153
+ Changes since version 0.8.2:
154
+
155
+ o added support for the IORTable pseudo object;
156
+ (see new regression test under test/IORTable)
157
+
158
+ o integrated Ruby signal handling/trapping with TAO so that
159
+ when running the ORB's reactor signals will be caught and
160
+ Ruby defined handlers called;
161
+ (see new NamingService example under example/ins)
162
+
163
+ o various IDL compiler improvements with, among others, much better
164
+ processing of preprocessor directives thanks to Renato Lucindo and
165
+ Eider Oliveira;
166
+ (see extended test/IDL_Test)
167
+
168
+ o added new Collocation regression test to verify bugfixes for this
169
+ functionality in TAO >= 1.6.3;
170
+
171
+ o several bugfixes and smaller enhancements thanks to (among others)
172
+ Leo Seib and Harald Lange.
173
+
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.dre.vanderbilt.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. Duiven, The Netherlands, 2006-2019.
data/README.rdoc ADDED
@@ -0,0 +1,62 @@
1
+ {<img src="https://badge.fury.io/rb/r2corba.svg" alt="Gem Version" />}[https://rubygems.org/gems/r2corba]
2
+ {<img src="https://www.codefactor.io/repository/github/remedyit/r2corba/badge" alt="CodeFactor" />}[https://www.codefactor.io/repository/github/remedyit/r2corba]
3
+ {<img src="https://github.com/RemedyIT/r2corba/workflows/linux/badge.svg" alt="Linux CI" />}[https://github.com/RemedyIT/r2corba/actions?query=workflow%3Alinux]
4
+ {<img src="https://github.com/RemedyIT/r2corba/workflows/windows/badge.svg" alt="Windows CI" />}[https://github.com/RemedyIT/r2corba/actions?query=workflow%3Awindows]
5
+
6
+ = R2CORBA
7
+
8
+ == Description
9
+
10
+ R2CORBA (Ruby2CORBA) is a {CORBA}[https://www.omg.org/spec/CORBA] language mapping implementation for the {Ruby programming language}[https://www.ruby-lang.org].
11
+
12
+ == Synopsis
13
+
14
+ R2CORBA provides a complete implementation of the standard OMG Ruby CORBA Language Mapping ({RCLM}[https://www.omg.org/spec/RCLM]) compliant with the latest version of the CORBA standard.
15
+
16
+ R2CORBA includes:
17
+
18
+ * an RCLM compliant RIDL code generator backend
19
+ * an RCLM compliant API
20
+ * multiple ORB implementations through an extension framework
21
+
22
+ Instead of going for a complete native Ruby mapping implementing a native Ruby ORB, R2CORBA aims at providing CORBA functionality through a Ruby extension using the DII and DSI interfaces of an existing CORBA ORB implementation. There are currently two flavors of this extension available:
23
+
24
+ * an MRI Ruby extension written in Ruby and C/C++ using {TAO}[https://www.remedy.nl/opensource/tao.html]
25
+ * a JRuby extension written in Ruby and Java using {JacORB}[https://www.remedy.nl/opensource/jacorb.html]
26
+
27
+ The {RIDL}[https://www.remedy.nl/opensource/ridl.html] based, native Ruby implementation of an OMG \IDL compiler supplements this extension and provides powerful features like direct inclusion of \IDL language modules into your Ruby programs without the need of explicit, separate stub generation.
28
+
29
+ == How to get R2CORBA
30
+
31
+ Execute
32
+
33
+ gem install r2corba
34
+
35
+ to install R2CORBA as a gem.
36
+
37
+ == Bugs
38
+
39
+ If you find a bug, please report it at the R2CORBA project's {issue tracker}[https://github.com/RemedyIT/r2corba/issues].
40
+
41
+ == License
42
+
43
+ R2CORBA is Copyright (c) 2007-2022 Remedy IT Expertise BV, The Netherlands.
44
+
45
+ It is free software, and may be redistributed under the terms specified in the link:LICENSE file.
46
+
47
+ == Acknowledgments
48
+
49
+ See the link:THANKS file.
50
+
51
+ == Warranty
52
+
53
+ This software is provided "as is" and without any express or implied warranties, including, without limitation, the implied warranties of merchantibility and fitness for a particular purpose.
54
+
55
+ == Releasing new r2corba gems
56
+
57
+ A new r2corba ruby gem release can be made by incrementing the R2CORBA version in link:lib/corba/common/version.rb and create a new release on {github}[https://github.com/RemedyIT/r2corba/releases] matching the new version (for example v1.6.0). The github {Ruby Gem Release}[https://github.com/RemedyIT/r2corba/actions?query=workflow%3A%22Ruby+Gem+Release%22] action will automatically create a new {r2corba}[https://www.rubygems.org/gems/r2corba] and {taosource}[https://www.rubygems.org/gems/taosource] gem and push these to Rubygems.org.
58
+
59
+ A new R2CORBA taosource gem can be created by executing
60
+
61
+ rake r2corba:gem:taogem
62
+
data/THANKS ADDED
@@ -0,0 +1,54 @@
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 insightful
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
+
53
+ * Andrey Mramornov for reporting and testing the R2CORBA build
54
+ problems on Ubuntu.
data/bin/r2corba ADDED
@@ -0,0 +1,8 @@
1
+ #!/bin/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/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/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,32 @@
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
+ #--------------------------------------------------------------------
12
+ require 'corba/idl/IORTableC'
13
+
14
+ module R2CORBA
15
+ class IORMap
16
+ def initialize(orb)
17
+ obj = orb.resolve_initial_references('IORTable')
18
+ @iortbl = IORTable::Table._narrow(obj)
19
+ end
20
+
21
+ def map_ior(object_key, ior)
22
+ @iortbl.rebind(object_key, ior)
23
+ end
24
+
25
+ def unmap_ior(object_key)
26
+ begin
27
+ @iortbl.unbind(object_key)
28
+ rescue IORTable::NotFound
29
+ end
30
+ end
31
+ end
32
+ end