r2corba 1.5.1 → 1.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (269) hide show
  1. checksums.yaml +5 -5
  2. data/LICENSE +5 -5
  3. data/README.rdoc +59 -0
  4. data/THANKS +4 -4
  5. data/ext/libr2tao/any.cpp +0 -1
  6. data/ext/libr2tao/exception.cpp +0 -1
  7. data/ext/libr2tao/exception.h +0 -1
  8. data/ext/libr2tao/longdouble.cpp +0 -1
  9. data/ext/libr2tao/longdouble.h +0 -1
  10. data/ext/libr2tao/object.cpp +3 -3
  11. data/ext/libr2tao/object.h +0 -1
  12. data/ext/libr2tao/orb.cpp +4 -5
  13. data/ext/libr2tao/orb.h +0 -1
  14. data/ext/libr2tao/r2tao_export.h +0 -1
  15. data/ext/libr2tao/r2tao_ext.h +0 -1
  16. data/ext/libr2tao/required.cpp +1 -1
  17. data/ext/libr2tao/required.h +7 -1
  18. data/ext/libr2tao/typecode.cpp +0 -1
  19. data/ext/libr2tao/typecode.h +0 -1
  20. data/ext/libr2tao/values.cpp +8 -9
  21. data/ext/libr2tao/values.h +0 -1
  22. data/ext/librpoa/iortable.cpp +1 -1
  23. data/ext/librpoa/poa.cpp +3 -3
  24. data/ext/librpoa/poa.h +0 -1
  25. data/ext/librpoa/rpoa_export.h +0 -1
  26. data/ext/librpoa/servant.cpp +1 -1
  27. data/ext/librpoa/servant.h +0 -1
  28. data/ext/librpoa/srvreq_fix.cpp +0 -1
  29. data/ext/librpoa/srvreq_fix.h +0 -1
  30. data/ext/librpol/policies.cpp +0 -1
  31. data/ext/librpol/policies.h +0 -1
  32. data/ext/librpol/rpol_export.h +0 -1
  33. data/lib/corba.rb +0 -1
  34. data/lib/corba/cbase/IORMap.rb +0 -1
  35. data/lib/corba/cbase/ORB.rb +0 -1
  36. data/lib/corba/cbase/Request.rb +1 -2
  37. data/lib/corba/cbase/Streams.rb +0 -1
  38. data/lib/corba/cbase/Stub.rb +0 -1
  39. data/lib/corba/cbase/Typecode.rb +0 -1
  40. data/lib/corba/cbase/Values.rb +0 -1
  41. data/lib/corba/cbase/exception.rb +0 -1
  42. data/lib/corba/cbase/poa.rb +0 -1
  43. data/lib/corba/cbase/policies.rb +1 -2
  44. data/lib/corba/cbase/post_require.rb +1 -2
  45. data/lib/corba/cbase/require.rb +2 -1
  46. data/lib/corba/cmds/base.rb +0 -1
  47. data/lib/corba/cmds/test.rb +0 -1
  48. data/lib/corba/common/Any.rb +0 -1
  49. data/lib/corba/common/IDL.rb +2 -3
  50. data/lib/corba/common/ORB.rb +0 -1
  51. data/lib/corba/common/Object.rb +4 -1
  52. data/lib/corba/common/Request.rb +1 -2
  53. data/lib/corba/common/Servant.rb +0 -1
  54. data/lib/corba/common/Struct.rb +1 -2
  55. data/lib/corba/common/Stub.rb +0 -1
  56. data/lib/corba/common/Typecode.rb +19 -20
  57. data/lib/corba/common/Union.rb +1 -2
  58. data/lib/corba/common/Values.rb +1 -2
  59. data/lib/corba/common/const.rb +0 -1
  60. data/lib/corba/common/exception.rb +0 -1
  61. data/lib/corba/common/require.rb +0 -1
  62. data/lib/corba/common/version.rb +3 -4
  63. data/lib/corba/idl/IDL.rb +0 -1
  64. data/lib/corba/idl/IORTable.pidl +0 -1
  65. data/lib/corba/idl/TAO_Ext.pidl +0 -1
  66. data/lib/corba/idl/require.rb +0 -1
  67. data/lib/corba/jbase/Any.rb +1 -2
  68. data/lib/corba/jbase/IORMap.rb +1 -2
  69. data/lib/corba/jbase/ORB.rb +0 -1
  70. data/lib/corba/jbase/Object.rb +0 -1
  71. data/lib/corba/jbase/Request.rb +1 -2
  72. data/lib/corba/jbase/Servant.rb +1 -2
  73. data/lib/corba/jbase/ServerRequest.rb +1 -2
  74. data/lib/corba/jbase/Streams.rb +1 -2
  75. data/lib/corba/jbase/Stub.rb +0 -1
  76. data/lib/corba/jbase/Typecode.rb +0 -1
  77. data/lib/corba/jbase/Values.rb +0 -1
  78. data/lib/corba/jbase/exception.rb +0 -1
  79. data/lib/corba/jbase/poa.rb +1 -2
  80. data/lib/corba/jbase/policies.rb +1 -2
  81. data/lib/corba/jbase/post_require.rb +0 -1
  82. data/lib/corba/jbase/require.rb +1 -2
  83. data/lib/corba/naming.rb +0 -1
  84. data/lib/corba/naming_service.rb +0 -1
  85. data/lib/corba/poa.rb +0 -1
  86. data/lib/corba/policies.rb +0 -1
  87. data/lib/corba/require.rb +0 -1
  88. data/lib/corba/svcs/ins/cos_naming.rb +37 -40
  89. data/lib/corba/svcs/ins/ins.rb +6 -7
  90. data/lib/corba/svcs/ins/naming_service.rb +1 -2
  91. data/lib/ridlbe/ruby/config.rb +1 -3
  92. data/lib/ridlbe/ruby/require.rb +0 -1
  93. data/lib/ridlbe/ruby/walker.rb +16 -16
  94. data/mkrf_conf_srcgem.rb +4 -6
  95. data/rakelib/bin.rake +1 -2
  96. data/rakelib/bin.rb +1 -2
  97. data/rakelib/build.rake +6 -6
  98. data/rakelib/config.rake +1 -2
  99. data/rakelib/config.rb +6 -7
  100. data/rakelib/ext.rake +14 -12
  101. data/rakelib/ext.rb +5 -44
  102. data/rakelib/ext_r2tao.rb +23 -7
  103. data/rakelib/gem.rake +23 -24
  104. data/rakelib/gem.rb +3 -4
  105. data/rakelib/package.rake +1 -2
  106. data/rakelib/test.rake +0 -1
  107. data/test/BiDirectional/Test.idl +0 -1
  108. data/test/BiDirectional/client.rb +1 -2
  109. data/test/BiDirectional/run_test.rb +0 -1
  110. data/test/BiDirectional/server.rb +0 -1
  111. data/test/CORBA_Services/Naming/BindingIterator/Test.idl +0 -1
  112. data/test/CORBA_Services/Naming/BindingIterator/client.rb +0 -1
  113. data/test/CORBA_Services/Naming/BindingIterator/run_test.rb +0 -1
  114. data/test/CORBA_Services/Naming/BindingIterator/server.rb +0 -1
  115. data/test/CORBA_Services/Naming/Corbaname/Test.idl +0 -1
  116. data/test/CORBA_Services/Naming/Corbaname/client.rb +0 -1
  117. data/test/CORBA_Services/Naming/Corbaname/run_test.rb +0 -1
  118. data/test/CORBA_Services/Naming/Corbaname/server.rb +0 -1
  119. data/test/CORBA_Services/Naming/Simple/Test.idl +0 -1
  120. data/test/CORBA_Services/Naming/Simple/client.rb +0 -1
  121. data/test/CORBA_Services/Naming/Simple/run_test.rb +0 -1
  122. data/test/CORBA_Services/Naming/Simple/server.rb +0 -1
  123. data/test/Collocation/Diamond.idl +0 -1
  124. data/test/Collocation/run_test.rb +0 -1
  125. data/test/Collocation/test.rb +0 -1
  126. data/test/Connect_Timeout/Test.idl +0 -1
  127. data/test/Connect_Timeout/client.rb +0 -1
  128. data/test/Connect_Timeout/run_test.rb +0 -1
  129. data/test/DII/Test.idl +0 -1
  130. data/test/DII/client.rb +0 -1
  131. data/test/DII/run_test.rb +0 -1
  132. data/test/DII/server.rb +0 -1
  133. data/test/DSI/Test.idl +0 -1
  134. data/test/DSI/client.rb +0 -1
  135. data/test/DSI/run_test.rb +0 -1
  136. data/test/DSI/server.rb +0 -1
  137. data/test/Exceptions/Test.idl +0 -1
  138. data/test/Exceptions/client.rb +1 -2
  139. data/test/Exceptions/run_test.rb +0 -1
  140. data/test/Exceptions/server.rb +0 -1
  141. data/test/Hello/Test.idl +0 -1
  142. data/test/Hello/client.rb +0 -1
  143. data/test/Hello/run_test.rb +0 -1
  144. data/test/Hello/server.rb +0 -1
  145. data/test/IDL_Test/Test.idl +4 -1
  146. data/test/IDL_Test/client.rb +3 -2
  147. data/test/IDL_Test/run_test.rb +0 -1
  148. data/test/IDL_Test/server.rb +5 -1
  149. data/test/IORMap/Test.idl +0 -1
  150. data/test/IORMap/client.rb +0 -1
  151. data/test/IORMap/run_test.rb +0 -1
  152. data/test/IORMap/server.rb +0 -1
  153. data/test/IORTable/Test.idl +0 -1
  154. data/test/IORTable/client.rb +0 -1
  155. data/test/IORTable/run_test.rb +0 -1
  156. data/test/IORTable/server.rb +0 -1
  157. data/test/Implicit_Conversion/Test.idl +0 -1
  158. data/test/Implicit_Conversion/client.rb +0 -1
  159. data/test/Implicit_Conversion/run_test.rb +0 -1
  160. data/test/Implicit_Conversion/server.rb +0 -1
  161. data/test/Multi_Threading/Multiple_ORB/Test.idl +0 -1
  162. data/test/Multi_Threading/Multiple_ORB/client.rb +0 -1
  163. data/test/Multi_Threading/Multiple_ORB/run_test.rb +0 -1
  164. data/test/Multi_Threading/Multiple_ORB/server.rb +0 -1
  165. data/test/Multi_Threading/Simple/Test.idl +0 -1
  166. data/test/Multi_Threading/Simple/client.rb +0 -1
  167. data/test/Multi_Threading/Simple/run_test.rb +0 -1
  168. data/test/Multi_Threading/Simple/server.rb +1 -2
  169. data/test/Multi_Threading/Threads/Test.idl +0 -4
  170. data/test/Multi_Threading/Threads/client.rb +7 -10
  171. data/test/Multi_Threading/Threads/run_test.rb +0 -1
  172. data/test/Multi_Threading/Threads/server.rb +0 -3
  173. data/test/Multiple_Servant_Interfaces/Test.idl +0 -1
  174. data/test/Multiple_Servant_Interfaces/client.rb +0 -1
  175. data/test/Multiple_Servant_Interfaces/run_test.rb +0 -1
  176. data/test/Multiple_Servant_Interfaces/server.rb +0 -1
  177. data/test/Nil/Test.idl +0 -1
  178. data/test/Nil/run_test.rb +0 -1
  179. data/test/Nil/test.rb +0 -1
  180. data/test/OBV/AbstractInterface/client.rb +0 -1
  181. data/test/OBV/AbstractInterface/run_test.rb +0 -1
  182. data/test/OBV/AbstractInterface/server.rb +0 -1
  183. data/test/OBV/AbstractInterface/test.idl +0 -1
  184. data/test/OBV/Custom/OBV_impl.rb +0 -1
  185. data/test/OBV/Custom/client.rb +0 -1
  186. data/test/OBV/Custom/run_test.rb +0 -1
  187. data/test/OBV/Custom/server.rb +0 -1
  188. data/test/OBV/Simple/OBV_impl.rb +0 -1
  189. data/test/OBV/Simple/client.rb +0 -1
  190. data/test/OBV/Simple/run_test.rb +0 -1
  191. data/test/OBV/Simple/server.rb +0 -1
  192. data/test/OBV/Simple_Event/Event_impl.rb +0 -1
  193. data/test/OBV/Simple_Event/client.rb +0 -1
  194. data/test/OBV/Simple_Event/run_test.rb +0 -1
  195. data/test/OBV/Simple_Event/server.rb +0 -1
  196. data/test/OBV/Supports/client.rb +0 -1
  197. data/test/OBV/Supports/run_test.rb +0 -1
  198. data/test/OBV/Supports/server.rb +0 -1
  199. data/test/OBV/Supports/supports.idl +0 -1
  200. data/test/OBV/Supports/supports_impl.rb +0 -1
  201. data/test/OBV/Tree/client.rb +0 -1
  202. data/test/OBV/Tree/run_test.rb +0 -1
  203. data/test/OBV/Tree/server.rb +0 -1
  204. data/test/OBV/Tree/test.idl +0 -1
  205. data/test/OBV/Truncatable/Extra.idl +0 -1
  206. data/test/OBV/Truncatable/Truncatable_impl.rb +0 -1
  207. data/test/OBV/Truncatable/client.rb +0 -1
  208. data/test/OBV/Truncatable/run_test.rb +0 -1
  209. data/test/OBV/Truncatable/server.rb +0 -1
  210. data/test/OBV/ValueBox/client.rb +0 -1
  211. data/test/OBV/ValueBox/run_test.rb +0 -1
  212. data/test/Object/Test.idl +0 -1
  213. data/test/Object/client.rb +0 -1
  214. data/test/Object/run_test.rb +0 -1
  215. data/test/Object/server.rb +0 -1
  216. data/test/POA/run_test.rb +0 -1
  217. data/test/POA/test.rb +1 -2
  218. data/test/Param_Test/client.rb +2 -3
  219. data/test/Param_Test/run_test.rb +0 -1
  220. data/test/Param_Test/server.rb +1 -2
  221. data/test/Performance/Simple/Test.idl +0 -1
  222. data/test/Performance/Simple/client.rb +0 -1
  223. data/test/Performance/Simple/run_test.rb +0 -1
  224. data/test/Performance/Simple/server.rb +0 -1
  225. data/test/Policies/Test.idl +0 -1
  226. data/test/Policies/run_test.rb +0 -1
  227. data/test/Policies/test.rb +0 -1
  228. data/test/Timeout/client.rb +0 -1
  229. data/test/Timeout/run_test.rb +0 -1
  230. data/test/Timeout/server.rb +0 -1
  231. data/test/Timeout/test.idl +0 -1
  232. data/test/lib/assert.rb +0 -1
  233. data/test/lib/test.rb +1 -2
  234. data/test/test_runner.rb +1 -2
  235. metadata +23 -55
  236. data/README +0 -62
  237. data/test/BiDirectional/server.ior +0 -1
  238. data/test/CORBA_Services/Naming/BindingIterator/ins.ior +0 -1
  239. data/test/CORBA_Services/Naming/Corbaname/corbaname.ior +0 -1
  240. data/test/CORBA_Services/Naming/Corbaname/ins.ior +0 -1
  241. data/test/CORBA_Services/Naming/Simple/ins.ior +0 -1
  242. data/test/DII/server.ior +0 -1
  243. data/test/DSI/server.ior +0 -1
  244. data/test/Exceptions/server.ior +0 -1
  245. data/test/Hello/gateway.ior +0 -1
  246. data/test/IDL_Test/server.ior +0 -1
  247. data/test/IORMap/server.ior +0 -1
  248. data/test/IORTable/server.ior +0 -0
  249. data/test/Implicit_Conversion/server.ior +0 -1
  250. data/test/Multi_Threading/Multiple_ORB/server0.ior +0 -1
  251. data/test/Multi_Threading/Multiple_ORB/server1.ior +0 -1
  252. data/test/Multi_Threading/Simple/server.ior +0 -1
  253. data/test/Multi_Threading/Threads/server.ior +0 -1
  254. data/test/Multi_Threading/Threads/watchdog.ior +0 -1
  255. data/test/Multiple_Servant_Interfaces/server.ior +0 -1
  256. data/test/OBV/AbstractInterface/server.ior +0 -1
  257. data/test/OBV/Custom/server.ior +0 -1
  258. data/test/OBV/Simple/server.ior +0 -1
  259. data/test/OBV/Simple_Event/server.ior +0 -1
  260. data/test/OBV/Supports/server.ior +0 -1
  261. data/test/OBV/Tree/server.ior +0 -1
  262. data/test/OBV/Truncatable/server.ior +0 -1
  263. data/test/OBV/ValueBox/server.ior +0 -1
  264. data/test/Object/server.ior +0 -1
  265. data/test/Param_Test/server.ior +0 -1
  266. data/test/Performance/Simple/server.ior +0 -1
  267. data/test/Timeout/server.ior +0 -1
  268. data/test/test.log +0 -20
  269. data/test/test2.log +0 -5000
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 40dd8a4fb0e8fc6f88e6092570c85abbf09ae2a2
4
- data.tar.gz: 2a66ef84c5a9a4798f51ba618e630a7779d46d22
2
+ SHA256:
3
+ metadata.gz: dfbe450e1d6dab4ddc3260d54132b2f1474d365ab51c28b8a15a4adcbb26d036
4
+ data.tar.gz: 519b4bb1f14abc93211618901fd1e97cf108e0fc8fc27debb831bf53f77ae7a0
5
5
  SHA512:
6
- metadata.gz: f63e7f168c06f509fb6d9889599c33919a8df453a9f6bde79c17467f0d3bb3a17eb243fdd133fc83d8ad92f78fd29a91a880c1bd28eae3073324edfa95cd9e71
7
- data.tar.gz: 62672c01e7e30470579047af2aa615e09cf88e3b7f5b107663c1545a674064c6f191f7d17ea39c7b84dcabe926440520feb1478e0ade20d94f96ca04b8ba008e
6
+ metadata.gz: b9d957de390d1b44852561d7df2a99776ef541e1b74addbe5c6c1ad7111cd99fbf496736383012888766def5d61504ca0c2a523b5217f1a6163ef611fdea0fdc
7
+ data.tar.gz: 4dea2d557cc7857bed252f2f035c73740043d9aadc38471258b49193fa8e3bc4e0eefa86cff8efb9bb7f484b9c72a9a5cf364657d2ce561ee90e663b49dfa9e7
data/LICENSE CHANGED
@@ -8,12 +8,12 @@ written in Ruby, C++ and Java. It is designed to provide a CORBA mapping for
8
8
  the Ruby programming language.
9
9
  Instead of going for a complete native Ruby mapping implementing a native
10
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
11
+ extension using the DII and DSI interfaces of an existing CORBA ORB
12
12
  implementation.
13
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
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
17
  (http://www.jacorb.org/index.html).
18
18
  A native Ruby implementation of an OMG IDL compiler supplements this
19
19
  extension and provides powerful features like direct inclusion of IDL
@@ -56,4 +56,4 @@ IN NO EVENT WILL REMEDY IT OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE
56
56
  FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL
57
57
  DAMAGES, EVEN IF REMEDY IT HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
58
58
 
59
- R2CORBA is Copyright Remedy IT. Nijkerk, The Netherlands, 2006-2013.
59
+ R2CORBA is Copyright Remedy IT. Duiven, The Netherlands, 2006-2019.
data/README.rdoc ADDED
@@ -0,0 +1,59 @@
1
+ {<img src="https://badge.fury.io/rb/r2corba.svg" alt="Gem Version" />}[https://badge.fury.io/rb/r2corba]
2
+ {<img src="https://dev.azure.com/remedyit/r2corba/_apis/build/status/r2corba?branchName=master" alt="Azure pipeline" />}[https://dev.azure.com/remedyit/r2corba/_build?definitionId=3&_a=summary]
3
+ {<img src="https://www.codefactor.io/repository/github/remedyit/r2corba/badge" alt="CodeFactor" />}[https://www.codefactor.io/repository/github/remedyit/r2corba]
4
+
5
+ = R2CORBA
6
+
7
+ == Description
8
+
9
+ R2CORBA (Ruby2CORBA) is a {CORBA}[https://www.omg.org/spec/CORBA] language mapping implementation for the {Ruby programming language}[https://www.ruby-lang.org].
10
+
11
+ == Synopsis
12
+
13
+ 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.
14
+
15
+ R2CORBA includes:
16
+
17
+ * an RCLM compliant RIDL code generator backend
18
+ * an RCLM compliant API
19
+ * multiple ORB implementations through an extension framework
20
+
21
+ 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:
22
+
23
+ * an MRI Ruby extension written in Ruby and C/C++ using {TAO}[https://www.remedy.nl/opensource/tao.html]
24
+ * a JRuby extension written in Ruby and Java using {JacORB}[https://www.remedy.nl/opensource/jacorb.html]
25
+
26
+ 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.
27
+
28
+ == How to get R2CORBA
29
+
30
+ Execute
31
+
32
+ gem install r2corba
33
+
34
+ to install R2CORBA as a gem.
35
+
36
+ == Bugs
37
+
38
+ If you find a bug, please report it at the R2CORBA project's {issues tracker}[https://github.com/RemedyIT/r2corba/issues].
39
+
40
+ == License
41
+
42
+ R2CORBA is Copyright (c) 2007-2019 Remedy IT Expertise BV, The Netherlands.
43
+
44
+ It is free software, and may be redistributed under the terms specified in the link:LICENSE file.
45
+
46
+ == Acknowledgments
47
+
48
+ See the file link:THANKS
49
+
50
+ == Warranty
51
+
52
+ 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.
53
+
54
+ == Releasing new r2corba gems
55
+
56
+ A new R2CORBA taosource gem can be created by executing
57
+
58
+ rake r2corba:gem:taogem
59
+
data/THANKS CHANGED
@@ -15,7 +15,7 @@ Our thanks go to:
15
15
  OS abstraction and multiplatform compatibility of this software
16
16
  make it an ideal ingredient for a Ruby CORBA implementation.
17
17
 
18
- * The people of the JacORB development team (a.o. Gerald Brose and
18
+ * The people of the JacORB development team (a.o. Gerald Brose and
19
19
  Andre Spiegel) and all their collaborators for creating a high-
20
20
  performance, multi threaded and spec compliant ORB for the
21
21
  Java environment.
@@ -26,7 +26,7 @@ Our thanks go to:
26
26
  2001 (incl. RINN and Ruby-Orbit) which has helped us in many ways
27
27
  to create R2CORBA.
28
28
 
29
- * Paul Brannan of Automated Trading Desk, LLC for his insightfull
29
+ * Paul Brannan of Automated Trading Desk, LLC for his insightful
30
30
  comments on the first release of the Ruby CORBA language mapping.
31
31
 
32
32
  * Renato Lucindo and Eider Oliveira for their remarks and fixes for
@@ -36,7 +36,7 @@ Our thanks go to:
36
36
 
37
37
  * William Otte for his patches for the Mac OSX port.
38
38
 
39
- * David MacMahon for his comments and tests, especially with regard to
39
+ * David MacMahon for his comments and tests, especially with regard to
40
40
  omniORBpy interoperability.
41
41
 
42
42
  * David MacMahon for his Multi_Threading/Threads test.
@@ -46,7 +46,7 @@ Our thanks go to:
46
46
 
47
47
  * Karsten Richter for reporting a bug in union implicit default
48
48
  handling and providing a partial patch and regression test.
49
-
49
+
50
50
  * Grant Birchmeier for reporting the RIDL logger bug (triggered
51
51
  by an unknown pragma)
52
52
 
data/ext/libr2tao/any.cpp CHANGED
@@ -8,7 +8,6 @@
8
8
  # included with this program.
9
9
  #
10
10
  # Copyright (c) Remedy IT Expertise BV
11
- # Chamber of commerce Rotterdam nr.276339, The Netherlands
12
11
  #------------------------------------------------------------------*/
13
12
 
14
13
  #include "required.h"
@@ -8,7 +8,6 @@
8
8
  # included with this program.
9
9
  #
10
10
  # Copyright (c) Remedy IT Expertise BV
11
- # Chamber of commerce Rotterdam nr.276339, The Netherlands
12
11
  #------------------------------------------------------------------*/
13
12
 
14
13
  #include "required.h"
@@ -8,7 +8,6 @@
8
8
  # included with this program.
9
9
  #
10
10
  # Copyright (c) Remedy IT Expertise BV
11
- # Chamber of commerce Rotterdam nr.276339, The Netherlands
12
11
  #------------------------------------------------------------------*/
13
12
 
14
13
  #ifndef __R2TAO_EXCEPTION_H
@@ -8,7 +8,6 @@
8
8
  # included with this program.
9
9
  #
10
10
  # Copyright (c) Remedy IT Expertise BV
11
- # Chamber of commerce Rotterdam nr.276339, The Netherlands
12
11
  #------------------------------------------------------------------*/
13
12
 
14
13
  #include "required.h"
@@ -8,7 +8,6 @@
8
8
  # included with this program.
9
9
  #
10
10
  # Copyright (c) Remedy IT Expertise BV
11
- # Chamber of commerce Rotterdam nr.276339, The Netherlands
12
11
  #------------------------------------------------------------------*/
13
12
 
14
13
  #if defined (NONNATIVE_LONGDOUBLE)
@@ -8,7 +8,6 @@
8
8
  # included with this program.
9
9
  #
10
10
  # Copyright (c) Remedy IT Expertise BV
11
- # Chamber of commerce Rotterdam nr.276339, The Netherlands
12
11
  #------------------------------------------------------------------*/
13
12
 
14
13
  #include "required.h"
@@ -16,6 +15,7 @@
16
15
  #include "tao/DynamicInterface/DII_CORBA_methods.h"
17
16
  #include "tao/DynamicInterface/Unknown_User_Exception.h"
18
17
  #include "ace/Truncate.h"
18
+ #include "ace/Auto_Ptr.h"
19
19
  #include "typecode.h"
20
20
  #include "object.h"
21
21
  #include "exception.h"
@@ -562,7 +562,7 @@ public:
562
562
  : req_ (req),
563
563
  exception_ (false),
564
564
  corba_ex_ (0) {}
565
- virtual ~R2TAO_Request_BlockedRegionCaller ();
565
+ virtual ~R2TAO_Request_BlockedRegionCaller () R2CORBA_NO_EXCEPT_FALSE;
566
566
 
567
567
  VALUE call ();
568
568
 
@@ -578,7 +578,7 @@ protected:
578
578
  CORBA::Exception* corba_ex_;
579
579
  };
580
580
 
581
- R2TAO_Request_BlockedRegionCaller::~R2TAO_Request_BlockedRegionCaller()
581
+ R2TAO_Request_BlockedRegionCaller::~R2TAO_Request_BlockedRegionCaller() R2CORBA_NO_EXCEPT_FALSE
582
582
  {
583
583
  if (this->exception_)
584
584
  {
@@ -8,7 +8,6 @@
8
8
  # included with this program.
9
9
  #
10
10
  # Copyright (c) Remedy IT Expertise BV
11
- # Chamber of commerce Rotterdam nr.276339, The Netherlands
12
11
  #------------------------------------------------------------------*/
13
12
  #ifndef __R2TAO_OBJECT_H
14
13
  #define __R2TAO_OBJECT_H
data/ext/libr2tao/orb.cpp CHANGED
@@ -8,7 +8,6 @@
8
8
  # included with this program.
9
9
  #
10
10
  # Copyright (c) Remedy IT Expertise BV
11
- # Chamber of commerce Rotterdam nr.276339, The Netherlands
12
11
  #------------------------------------------------------------------*/
13
12
 
14
13
  #include "orb.h"
@@ -458,7 +457,7 @@ public:
458
457
  timeout_ (&to),
459
458
  exception_ (false),
460
459
  corba_ex_ (0) {}
461
- virtual ~R2TAO_ORB_BlockedRegionCaller ();
460
+ virtual ~R2TAO_ORB_BlockedRegionCaller () R2CORBA_NO_EXCEPT_FALSE;
462
461
 
463
462
  VALUE call (bool with_unblock=true);
464
463
 
@@ -478,7 +477,7 @@ protected:
478
477
  CORBA::Exception* corba_ex_;
479
478
  };
480
479
 
481
- R2TAO_ORB_BlockedRegionCaller::~R2TAO_ORB_BlockedRegionCaller()
480
+ R2TAO_ORB_BlockedRegionCaller::~R2TAO_ORB_BlockedRegionCaller() R2CORBA_NO_EXCEPT_FALSE
482
481
  {
483
482
  if (this->exception_)
484
483
  {
@@ -569,7 +568,7 @@ public:
569
568
  : R2TAO_ORB_BlockedRegionCaller (orb), sg_(sg) {}
570
569
  R2TAO_ORB_BlockedWorkPending (R2CSigGuard& sg, CORBA::ORB_ptr orb, ACE_Time_Value& to)
571
570
  : R2TAO_ORB_BlockedRegionCaller (orb, to), sg_(sg) {}
572
- virtual ~R2TAO_ORB_BlockedWorkPending ();
571
+ virtual ~R2TAO_ORB_BlockedWorkPending () R2CORBA_NO_EXCEPT_FALSE;
573
572
 
574
573
  protected:
575
574
  virtual VALUE do_exec ();
@@ -578,7 +577,7 @@ private:
578
577
  R2CSigGuard& sg_;
579
578
  };
580
579
 
581
- R2TAO_ORB_BlockedWorkPending::~R2TAO_ORB_BlockedWorkPending()
580
+ R2TAO_ORB_BlockedWorkPending::~R2TAO_ORB_BlockedWorkPending() R2CORBA_NO_EXCEPT_FALSE
582
581
  {
583
582
  if (this->exception_)
584
583
  {
data/ext/libr2tao/orb.h CHANGED
@@ -8,7 +8,6 @@
8
8
  # included with this program.
9
9
  #
10
10
  # Copyright (c) Remedy IT Expertise BV
11
- # Chamber of commerce Rotterdam nr.276339, The Netherlands
12
11
  #------------------------------------------------------------------*/
13
12
  #ifndef __R2TAO_ORB_H
14
13
  #define __R2TAO_ORB_H
@@ -9,7 +9,6 @@
9
9
  # included with this program.
10
10
  #
11
11
  # Copyright (c) Remedy IT Expertise BV
12
- # Chamber of commerce Rotterdam nr.276339, The Netherlands
13
12
  #------------------------------------------------------------------*/
14
13
  #ifndef R2TAO_EXPORT_H
15
14
  #define R2TAO_EXPORT_H
@@ -8,7 +8,6 @@
8
8
  # included with this program.
9
9
  #
10
10
  # Copyright (c) Remedy IT Expertise BV
11
- # Chamber of commerce Rotterdam nr.276339, The Netherlands
12
11
  #------------------------------------------------------------------*/
13
12
  #ifndef __R2TAO_EXT_H
14
13
  #define __R2TAO_EXT_H
@@ -8,7 +8,6 @@
8
8
  # included with this program.
9
9
  #
10
10
  # Copyright (c) Remedy IT Expertise BV
11
- # Chamber of commerce Rotterdam nr.276339, The Netherlands
12
11
  #------------------------------------------------------------------*/
13
12
 
14
13
  #include "required.h"
@@ -18,6 +17,7 @@
18
17
  #include "ace/Null_Mutex.h"
19
18
  #include "ace/Singleton.h"
20
19
  #include "ace/TSS_T.h"
20
+ #include "ace/Auto_Ptr.h"
21
21
  #include "tao/AnyTypeCode/Any.h"
22
22
  #include "tao/DynamicInterface/Unknown_User_Exception.h"
23
23
  #include "tao/debug.h"
@@ -8,7 +8,6 @@
8
8
  # included with this program.
9
9
  #
10
10
  # Copyright (c) Remedy IT Expertise BV
11
- # Chamber of commerce Rotterdam nr.276339, The Netherlands
12
11
  #------------------------------------------------------------------*/
13
12
  #ifndef __R2TAO_REQUIRED_H
14
13
  #define __R2TAO_REQUIRED_H
@@ -184,4 +183,11 @@ private:
184
183
  bool ex_caught_;
185
184
  };
186
185
 
186
+ #if defined (ACE_HAS_CPP11)
187
+ # define R2CORBA_NO_EXCEPT_FALSE noexcept(false)
188
+ #else
189
+ # define R2CORBA_NO_EXCEPT_FALSE
190
+ #endif /* ACE_HAS_CPP11 */
191
+
192
+
187
193
  #endif
@@ -8,7 +8,6 @@
8
8
  # included with this program.
9
9
  #
10
10
  # Copyright (c) Remedy IT Expertise BV
11
- # Chamber of commerce Rotterdam nr.276339, The Netherlands
12
11
  #------------------------------------------------------------------*/
13
12
 
14
13
  #include "required.h"
@@ -8,7 +8,6 @@
8
8
  # included with this program.
9
9
  #
10
10
  # Copyright (c) Remedy IT Expertise BV
11
- # Chamber of commerce Rotterdam nr.276339, The Netherlands
12
11
  #------------------------------------------------------------------*/
13
12
  #ifndef __R2TAO_TYPECODE_H
14
13
  #define __R2TAO_TYPECODE_H
@@ -8,7 +8,6 @@
8
8
  # included with this program.
9
9
  #
10
10
  # Copyright (c) Remedy IT Expertise BV
11
- # Chamber of commerce Rotterdam nr.276339, The Netherlands
12
11
  #------------------------------------------------------------------*/
13
12
 
14
13
  #include "required.h"
@@ -2726,10 +2725,10 @@ VALUE r2tao_IStream_read_octet_array (VALUE self, VALUE rval, VALUE offset, VALU
2726
2725
  TAO_InputCDR &strm = *r2tao_InputStream_r2t(self);
2727
2726
  R2TAO_TRY {
2728
2727
  CHECK_RTYPE(rval, T_STRING);
2729
- CORBA::ULong slen = static_cast<CORBA::ULong> (RSTRING_LEN (rval));
2730
- CORBA::ULong offs = NUM2ULONG (offset);
2731
- CORBA::ULong alen = NUM2ULONG (length);
2732
- CORBA::ULong rlen = slen < (offs + alen) ? (offs + alen) : slen;
2728
+ CORBA::ULong const slen = static_cast<CORBA::ULong> (RSTRING_LEN (rval));
2729
+ CORBA::ULong const offs = NUM2ULONG (offset);
2730
+ CORBA::ULong const alen = NUM2ULONG (length);
2731
+ CORBA::ULong const rlen = slen < (offs + alen) ? (offs + alen) : slen;
2733
2732
  CORBA::String_var str = CORBA::string_alloc (rlen + 1);
2734
2733
  ACE_OS::strncpy (str.out (), RSTRING_PTR (rval), slen < offs ? slen : offs);
2735
2734
  for (CORBA::ULong l=0; l<alen ;++l)
@@ -2754,8 +2753,8 @@ VALUE r2tao_IStream_read_short_array (VALUE self, VALUE rval, VALUE offset, VALU
2754
2753
  TAO_InputCDR &strm = *r2tao_InputStream_r2t(self);
2755
2754
  R2TAO_TRY {
2756
2755
  CHECK_RTYPE(rval, T_ARRAY);
2757
- CORBA::ULong offs = NUM2ULONG (offset);
2758
- CORBA::ULong alen = NUM2ULONG (length);
2756
+ CORBA::ULong const offs = NUM2ULONG (offset);
2757
+ CORBA::ULong const alen = NUM2ULONG (length);
2759
2758
  for (CORBA::ULong l=0; l<alen ;++l)
2760
2759
  {
2761
2760
  CORBA::Short val = 0;
@@ -2772,8 +2771,8 @@ VALUE r2tao_IStream_read_ushort_array (VALUE self, VALUE rval, VALUE offset, VAL
2772
2771
  TAO_InputCDR &strm = *r2tao_InputStream_r2t(self);
2773
2772
  R2TAO_TRY {
2774
2773
  CHECK_RTYPE(rval, T_ARRAY);
2775
- CORBA::ULong offs = NUM2ULONG (offset);
2776
- CORBA::ULong alen = NUM2ULONG (length);
2774
+ CORBA::ULong const offs = NUM2ULONG (offset);
2775
+ CORBA::ULong const alen = NUM2ULONG (length);
2777
2776
  for (CORBA::ULong l=0; l<alen ;++l)
2778
2777
  {
2779
2778
  CORBA::UShort val = 0;
@@ -8,7 +8,6 @@
8
8
  # included with this program.
9
9
  #
10
10
  # Copyright (c) Remedy IT Expertise BV
11
- # Chamber of commerce Rotterdam nr.276339, The Netherlands
12
11
  #------------------------------------------------------------------*/
13
12
 
14
13
  #include "tao/Valuetype/AbstractBase.h"
@@ -8,10 +8,10 @@
8
8
  # included with this program.
9
9
  #
10
10
  # Copyright (c) Remedy IT Expertise BV
11
- # Chamber of commerce Rotterdam nr.276339, The Netherlands
12
11
  #------------------------------------------------------------------*/
13
12
 
14
13
  #include "poa.h"
14
+ #include "ace/Auto_Ptr.h"
15
15
  #include "tao/ORB.h"
16
16
  #include "tao/IORTable/IORTable.h"
17
17
  #include "object.h"
data/ext/librpoa/poa.cpp CHANGED
@@ -8,10 +8,10 @@
8
8
  # included with this program.
9
9
  #
10
10
  # Copyright (c) Remedy IT Expertise BV
11
- # Chamber of commerce Rotterdam nr.276339, The Netherlands
12
11
  #------------------------------------------------------------------*/
13
12
 
14
13
  #include "poa.h"
14
+ #include "ace/Auto_Ptr.h"
15
15
  #include "tao/DynamicInterface/Server_Request.h"
16
16
  #include "tao/DynamicInterface/Dynamic_Implementation.h"
17
17
  #include "tao/AnyTypeCode/Any.h"
@@ -171,7 +171,7 @@ public:
171
171
  R2TAO_POA_BlockedRegionCallerBase ()
172
172
  : exception_ (false),
173
173
  corba_ex_ (0) {}
174
- virtual ~R2TAO_POA_BlockedRegionCallerBase ();
174
+ virtual ~R2TAO_POA_BlockedRegionCallerBase () R2CORBA_NO_EXCEPT_FALSE;
175
175
 
176
176
  VALUE call ();
177
177
 
@@ -186,7 +186,7 @@ protected:
186
186
  CORBA::Exception* corba_ex_;
187
187
  };
188
188
 
189
- R2TAO_POA_BlockedRegionCallerBase::~R2TAO_POA_BlockedRegionCallerBase()
189
+ R2TAO_POA_BlockedRegionCallerBase::~R2TAO_POA_BlockedRegionCallerBase() R2CORBA_NO_EXCEPT_FALSE
190
190
  {
191
191
  if (this->exception_)
192
192
  {
data/ext/librpoa/poa.h CHANGED
@@ -4,7 +4,6 @@
4
4
  # Author: Martin Corino
5
5
  #
6
6
  # Copyright (c) Remedy IT Expertise BV
7
- # Chamber of commerce Rotterdam nr.276339, The Netherlands
8
7
  #------------------------------------------------------------------*/
9
8
  #ifndef __R2TAO_POA_H
10
9
  #define __R2TAO_POA_H