r2corba 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/LICENSE +5 -5
- data/README.rdoc +59 -0
- data/THANKS +4 -4
- data/ext/libr2tao/any.cpp +0 -1
- data/ext/libr2tao/exception.cpp +0 -1
- data/ext/libr2tao/exception.h +0 -1
- data/ext/libr2tao/longdouble.cpp +0 -1
- data/ext/libr2tao/longdouble.h +0 -1
- data/ext/libr2tao/object.cpp +3 -3
- data/ext/libr2tao/object.h +0 -1
- data/ext/libr2tao/orb.cpp +4 -5
- data/ext/libr2tao/orb.h +0 -1
- data/ext/libr2tao/r2tao_export.h +0 -1
- data/ext/libr2tao/r2tao_ext.h +0 -1
- data/ext/libr2tao/required.cpp +1 -1
- data/ext/libr2tao/required.h +7 -1
- data/ext/libr2tao/typecode.cpp +0 -1
- data/ext/libr2tao/typecode.h +0 -1
- data/ext/libr2tao/values.cpp +8 -9
- data/ext/libr2tao/values.h +0 -1
- data/ext/librpoa/iortable.cpp +1 -1
- data/ext/librpoa/poa.cpp +3 -3
- data/ext/librpoa/poa.h +0 -1
- data/ext/librpoa/rpoa_export.h +0 -1
- data/ext/librpoa/servant.cpp +1 -1
- data/ext/librpoa/servant.h +0 -1
- data/ext/librpoa/srvreq_fix.cpp +0 -1
- data/ext/librpoa/srvreq_fix.h +0 -1
- data/ext/librpol/policies.cpp +0 -1
- data/ext/librpol/policies.h +0 -1
- data/ext/librpol/rpol_export.h +0 -1
- data/lib/corba.rb +0 -1
- data/lib/corba/cbase/IORMap.rb +0 -1
- data/lib/corba/cbase/ORB.rb +0 -1
- data/lib/corba/cbase/Request.rb +1 -2
- data/lib/corba/cbase/Streams.rb +0 -1
- data/lib/corba/cbase/Stub.rb +0 -1
- data/lib/corba/cbase/Typecode.rb +0 -1
- data/lib/corba/cbase/Values.rb +0 -1
- data/lib/corba/cbase/exception.rb +0 -1
- data/lib/corba/cbase/poa.rb +0 -1
- data/lib/corba/cbase/policies.rb +1 -2
- data/lib/corba/cbase/post_require.rb +1 -2
- data/lib/corba/cbase/require.rb +2 -1
- data/lib/corba/cmds/base.rb +0 -1
- data/lib/corba/cmds/test.rb +0 -1
- data/lib/corba/common/Any.rb +0 -1
- data/lib/corba/common/IDL.rb +2 -3
- data/lib/corba/common/ORB.rb +0 -1
- data/lib/corba/common/Object.rb +4 -1
- data/lib/corba/common/Request.rb +1 -2
- data/lib/corba/common/Servant.rb +0 -1
- data/lib/corba/common/Struct.rb +1 -2
- data/lib/corba/common/Stub.rb +0 -1
- data/lib/corba/common/Typecode.rb +19 -20
- data/lib/corba/common/Union.rb +1 -2
- data/lib/corba/common/Values.rb +1 -2
- data/lib/corba/common/const.rb +0 -1
- data/lib/corba/common/exception.rb +0 -1
- data/lib/corba/common/require.rb +0 -1
- data/lib/corba/common/version.rb +3 -4
- data/lib/corba/idl/IDL.rb +0 -1
- data/lib/corba/idl/IORTable.pidl +0 -1
- data/lib/corba/idl/TAO_Ext.pidl +0 -1
- data/lib/corba/idl/require.rb +0 -1
- data/lib/corba/jbase/Any.rb +1 -2
- data/lib/corba/jbase/IORMap.rb +1 -2
- data/lib/corba/jbase/ORB.rb +0 -1
- data/lib/corba/jbase/Object.rb +0 -1
- data/lib/corba/jbase/Request.rb +1 -2
- data/lib/corba/jbase/Servant.rb +1 -2
- data/lib/corba/jbase/ServerRequest.rb +1 -2
- data/lib/corba/jbase/Streams.rb +1 -2
- data/lib/corba/jbase/Stub.rb +0 -1
- data/lib/corba/jbase/Typecode.rb +0 -1
- data/lib/corba/jbase/Values.rb +0 -1
- data/lib/corba/jbase/exception.rb +0 -1
- data/lib/corba/jbase/poa.rb +1 -2
- data/lib/corba/jbase/policies.rb +1 -2
- data/lib/corba/jbase/post_require.rb +0 -1
- data/lib/corba/jbase/require.rb +1 -2
- data/lib/corba/naming.rb +0 -1
- data/lib/corba/naming_service.rb +0 -1
- data/lib/corba/poa.rb +0 -1
- data/lib/corba/policies.rb +0 -1
- data/lib/corba/require.rb +0 -1
- data/lib/corba/svcs/ins/cos_naming.rb +37 -40
- data/lib/corba/svcs/ins/ins.rb +6 -7
- data/lib/corba/svcs/ins/naming_service.rb +1 -2
- data/lib/ridlbe/ruby/config.rb +1 -3
- data/lib/ridlbe/ruby/require.rb +0 -1
- data/lib/ridlbe/ruby/walker.rb +16 -16
- data/mkrf_conf_srcgem.rb +4 -6
- data/rakelib/bin.rake +1 -2
- data/rakelib/bin.rb +1 -2
- data/rakelib/build.rake +6 -6
- data/rakelib/config.rake +1 -2
- data/rakelib/config.rb +6 -7
- data/rakelib/ext.rake +14 -12
- data/rakelib/ext.rb +5 -44
- data/rakelib/ext_r2tao.rb +23 -7
- data/rakelib/gem.rake +23 -24
- data/rakelib/gem.rb +3 -4
- data/rakelib/package.rake +1 -2
- data/rakelib/test.rake +0 -1
- data/test/BiDirectional/Test.idl +0 -1
- data/test/BiDirectional/client.rb +1 -2
- data/test/BiDirectional/run_test.rb +0 -1
- data/test/BiDirectional/server.rb +0 -1
- data/test/CORBA_Services/Naming/BindingIterator/Test.idl +0 -1
- data/test/CORBA_Services/Naming/BindingIterator/client.rb +0 -1
- data/test/CORBA_Services/Naming/BindingIterator/run_test.rb +0 -1
- data/test/CORBA_Services/Naming/BindingIterator/server.rb +0 -1
- data/test/CORBA_Services/Naming/Corbaname/Test.idl +0 -1
- data/test/CORBA_Services/Naming/Corbaname/client.rb +0 -1
- data/test/CORBA_Services/Naming/Corbaname/run_test.rb +0 -1
- data/test/CORBA_Services/Naming/Corbaname/server.rb +0 -1
- data/test/CORBA_Services/Naming/Simple/Test.idl +0 -1
- data/test/CORBA_Services/Naming/Simple/client.rb +0 -1
- data/test/CORBA_Services/Naming/Simple/run_test.rb +0 -1
- data/test/CORBA_Services/Naming/Simple/server.rb +0 -1
- data/test/Collocation/Diamond.idl +0 -1
- data/test/Collocation/run_test.rb +0 -1
- data/test/Collocation/test.rb +0 -1
- data/test/Connect_Timeout/Test.idl +0 -1
- data/test/Connect_Timeout/client.rb +0 -1
- data/test/Connect_Timeout/run_test.rb +0 -1
- data/test/DII/Test.idl +0 -1
- data/test/DII/client.rb +0 -1
- data/test/DII/run_test.rb +0 -1
- data/test/DII/server.rb +0 -1
- data/test/DSI/Test.idl +0 -1
- data/test/DSI/client.rb +0 -1
- data/test/DSI/run_test.rb +0 -1
- data/test/DSI/server.rb +0 -1
- data/test/Exceptions/Test.idl +0 -1
- data/test/Exceptions/client.rb +1 -2
- data/test/Exceptions/run_test.rb +0 -1
- data/test/Exceptions/server.rb +0 -1
- data/test/Hello/Test.idl +0 -1
- data/test/Hello/client.rb +0 -1
- data/test/Hello/run_test.rb +0 -1
- data/test/Hello/server.rb +0 -1
- data/test/IDL_Test/Test.idl +4 -1
- data/test/IDL_Test/client.rb +3 -2
- data/test/IDL_Test/run_test.rb +0 -1
- data/test/IDL_Test/server.rb +5 -1
- data/test/IORMap/Test.idl +0 -1
- data/test/IORMap/client.rb +0 -1
- data/test/IORMap/run_test.rb +0 -1
- data/test/IORMap/server.rb +0 -1
- data/test/IORTable/Test.idl +0 -1
- data/test/IORTable/client.rb +0 -1
- data/test/IORTable/run_test.rb +0 -1
- data/test/IORTable/server.rb +0 -1
- data/test/Implicit_Conversion/Test.idl +0 -1
- data/test/Implicit_Conversion/client.rb +0 -1
- data/test/Implicit_Conversion/run_test.rb +0 -1
- data/test/Implicit_Conversion/server.rb +0 -1
- data/test/Multi_Threading/Multiple_ORB/Test.idl +0 -1
- data/test/Multi_Threading/Multiple_ORB/client.rb +0 -1
- data/test/Multi_Threading/Multiple_ORB/run_test.rb +0 -1
- data/test/Multi_Threading/Multiple_ORB/server.rb +0 -1
- data/test/Multi_Threading/Simple/Test.idl +0 -1
- data/test/Multi_Threading/Simple/client.rb +0 -1
- data/test/Multi_Threading/Simple/run_test.rb +0 -1
- data/test/Multi_Threading/Simple/server.rb +1 -2
- data/test/Multi_Threading/Threads/Test.idl +0 -4
- data/test/Multi_Threading/Threads/client.rb +7 -10
- data/test/Multi_Threading/Threads/run_test.rb +0 -1
- data/test/Multi_Threading/Threads/server.rb +0 -3
- data/test/Multiple_Servant_Interfaces/Test.idl +0 -1
- data/test/Multiple_Servant_Interfaces/client.rb +0 -1
- data/test/Multiple_Servant_Interfaces/run_test.rb +0 -1
- data/test/Multiple_Servant_Interfaces/server.rb +0 -1
- data/test/Nil/Test.idl +0 -1
- data/test/Nil/run_test.rb +0 -1
- data/test/Nil/test.rb +0 -1
- data/test/OBV/AbstractInterface/client.rb +0 -1
- data/test/OBV/AbstractInterface/run_test.rb +0 -1
- data/test/OBV/AbstractInterface/server.rb +0 -1
- data/test/OBV/AbstractInterface/test.idl +0 -1
- data/test/OBV/Custom/OBV_impl.rb +0 -1
- data/test/OBV/Custom/client.rb +0 -1
- data/test/OBV/Custom/run_test.rb +0 -1
- data/test/OBV/Custom/server.rb +0 -1
- data/test/OBV/Simple/OBV_impl.rb +0 -1
- data/test/OBV/Simple/client.rb +0 -1
- data/test/OBV/Simple/run_test.rb +0 -1
- data/test/OBV/Simple/server.rb +0 -1
- data/test/OBV/Simple_Event/Event_impl.rb +0 -1
- data/test/OBV/Simple_Event/client.rb +0 -1
- data/test/OBV/Simple_Event/run_test.rb +0 -1
- data/test/OBV/Simple_Event/server.rb +0 -1
- data/test/OBV/Supports/client.rb +0 -1
- data/test/OBV/Supports/run_test.rb +0 -1
- data/test/OBV/Supports/server.rb +0 -1
- data/test/OBV/Supports/supports.idl +0 -1
- data/test/OBV/Supports/supports_impl.rb +0 -1
- data/test/OBV/Tree/client.rb +0 -1
- data/test/OBV/Tree/run_test.rb +0 -1
- data/test/OBV/Tree/server.rb +0 -1
- data/test/OBV/Tree/test.idl +0 -1
- data/test/OBV/Truncatable/Extra.idl +0 -1
- data/test/OBV/Truncatable/Truncatable_impl.rb +0 -1
- data/test/OBV/Truncatable/client.rb +0 -1
- data/test/OBV/Truncatable/run_test.rb +0 -1
- data/test/OBV/Truncatable/server.rb +0 -1
- data/test/OBV/ValueBox/client.rb +0 -1
- data/test/OBV/ValueBox/run_test.rb +0 -1
- data/test/Object/Test.idl +0 -1
- data/test/Object/client.rb +0 -1
- data/test/Object/run_test.rb +0 -1
- data/test/Object/server.rb +0 -1
- data/test/POA/run_test.rb +0 -1
- data/test/POA/test.rb +1 -2
- data/test/Param_Test/client.rb +2 -3
- data/test/Param_Test/run_test.rb +0 -1
- data/test/Param_Test/server.rb +1 -2
- data/test/Performance/Simple/Test.idl +0 -1
- data/test/Performance/Simple/client.rb +0 -1
- data/test/Performance/Simple/run_test.rb +0 -1
- data/test/Performance/Simple/server.rb +0 -1
- data/test/Policies/Test.idl +0 -1
- data/test/Policies/run_test.rb +0 -1
- data/test/Policies/test.rb +0 -1
- data/test/Timeout/client.rb +0 -1
- data/test/Timeout/run_test.rb +0 -1
- data/test/Timeout/server.rb +0 -1
- data/test/Timeout/test.idl +0 -1
- data/test/lib/assert.rb +0 -1
- data/test/lib/test.rb +1 -2
- data/test/test_runner.rb +1 -2
- metadata +23 -55
- data/README +0 -62
- data/test/BiDirectional/server.ior +0 -1
- data/test/CORBA_Services/Naming/BindingIterator/ins.ior +0 -1
- data/test/CORBA_Services/Naming/Corbaname/corbaname.ior +0 -1
- data/test/CORBA_Services/Naming/Corbaname/ins.ior +0 -1
- data/test/CORBA_Services/Naming/Simple/ins.ior +0 -1
- data/test/DII/server.ior +0 -1
- data/test/DSI/server.ior +0 -1
- data/test/Exceptions/server.ior +0 -1
- data/test/Hello/gateway.ior +0 -1
- data/test/IDL_Test/server.ior +0 -1
- data/test/IORMap/server.ior +0 -1
- data/test/IORTable/server.ior +0 -0
- data/test/Implicit_Conversion/server.ior +0 -1
- data/test/Multi_Threading/Multiple_ORB/server0.ior +0 -1
- data/test/Multi_Threading/Multiple_ORB/server1.ior +0 -1
- data/test/Multi_Threading/Simple/server.ior +0 -1
- data/test/Multi_Threading/Threads/server.ior +0 -1
- data/test/Multi_Threading/Threads/watchdog.ior +0 -1
- data/test/Multiple_Servant_Interfaces/server.ior +0 -1
- data/test/OBV/AbstractInterface/server.ior +0 -1
- data/test/OBV/Custom/server.ior +0 -1
- data/test/OBV/Simple/server.ior +0 -1
- data/test/OBV/Simple_Event/server.ior +0 -1
- data/test/OBV/Supports/server.ior +0 -1
- data/test/OBV/Tree/server.ior +0 -1
- data/test/OBV/Truncatable/server.ior +0 -1
- data/test/OBV/ValueBox/server.ior +0 -1
- data/test/Object/server.ior +0 -1
- data/test/Param_Test/server.ior +0 -1
- data/test/Performance/Simple/server.ior +0 -1
- data/test/Timeout/server.ior +0 -1
- data/test/test.log +0 -20
- data/test/test2.log +0 -5000
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: dfbe450e1d6dab4ddc3260d54132b2f1474d365ab51c28b8a15a4adcbb26d036
|
4
|
+
data.tar.gz: 519b4bb1f14abc93211618901fd1e97cf108e0fc8fc27debb831bf53f77ae7a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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
|
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
data/ext/libr2tao/exception.cpp
CHANGED
data/ext/libr2tao/exception.h
CHANGED
data/ext/libr2tao/longdouble.cpp
CHANGED
data/ext/libr2tao/longdouble.h
CHANGED
data/ext/libr2tao/object.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"
|
@@ -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
|
{
|
data/ext/libr2tao/object.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_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
data/ext/libr2tao/r2tao_export.h
CHANGED
@@ -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
|
data/ext/libr2tao/r2tao_ext.h
CHANGED
data/ext/libr2tao/required.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"
|
@@ -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"
|
data/ext/libr2tao/required.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_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
|
data/ext/libr2tao/typecode.cpp
CHANGED
data/ext/libr2tao/typecode.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_TYPECODE_H
|
14
13
|
#define __R2TAO_TYPECODE_H
|
data/ext/libr2tao/values.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"
|
@@ -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;
|
data/ext/libr2tao/values.h
CHANGED
data/ext/librpoa/iortable.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/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