r2corba 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGES +159 -0
- data/LICENSE +59 -0
- data/README +62 -0
- data/THANKS +52 -0
- data/bin/r2corba +8 -0
- data/bin/ridlc +11 -0
- data/bin/rins +7 -0
- data/ext/ext.mwc +6 -0
- data/ext/extload/extload.c +60 -0
- data/ext/libr2tao/any.cpp +1543 -0
- data/ext/libr2tao/exception.cpp +202 -0
- data/ext/libr2tao/exception.h +104 -0
- data/ext/libr2tao/longdouble.cpp +173 -0
- data/ext/libr2tao/longdouble.h +31 -0
- data/ext/libr2tao/object.cpp +1150 -0
- data/ext/libr2tao/object.h +38 -0
- data/ext/libr2tao/orb.cpp +1029 -0
- data/ext/libr2tao/orb.h +36 -0
- data/ext/libr2tao/r2tao_export.h +45 -0
- data/ext/libr2tao/r2tao_ext.h +38 -0
- data/ext/libr2tao/required.cpp +463 -0
- data/ext/libr2tao/required.h +187 -0
- data/ext/libr2tao/typecode.cpp +888 -0
- data/ext/libr2tao/typecode.h +45 -0
- data/ext/libr2tao/values.cpp +2938 -0
- data/ext/libr2tao/values.h +396 -0
- data/ext/librpoa/iortable.cpp +250 -0
- data/ext/librpoa/poa.cpp +1076 -0
- data/ext/librpoa/poa.h +24 -0
- data/ext/librpoa/rpoa_export.h +44 -0
- data/ext/librpoa/servant.cpp +1338 -0
- data/ext/librpoa/servant.h +116 -0
- data/ext/librpoa/srvreq_fix.cpp +283 -0
- data/ext/librpoa/srvreq_fix.h +149 -0
- data/ext/librpol/policies.cpp +763 -0
- data/ext/librpol/policies.h +15 -0
- data/ext/librpol/rpol_export.h +44 -0
- data/lib/corba/cbase/IORMap.rb +33 -0
- data/lib/corba/cbase/ORB.rb +231 -0
- data/lib/corba/cbase/Request.rb +134 -0
- data/lib/corba/cbase/Streams.rb +129 -0
- data/lib/corba/cbase/Stub.rb +19 -0
- data/lib/corba/cbase/Typecode.rb +441 -0
- data/lib/corba/cbase/Values.rb +129 -0
- data/lib/corba/cbase/exception.rb +66 -0
- data/lib/corba/cbase/poa.rb +23 -0
- data/lib/corba/cbase/policies.rb +78 -0
- data/lib/corba/cbase/post_require.rb +14 -0
- data/lib/corba/cbase/require.rb +28 -0
- data/lib/corba/cmds/base.rb +85 -0
- data/lib/corba/cmds/test.rb +30 -0
- data/lib/corba/common/Any.rb +91 -0
- data/lib/corba/common/IDL.rb +104 -0
- data/lib/corba/common/ORB.rb +368 -0
- data/lib/corba/common/Object.rb +208 -0
- data/lib/corba/common/Request.rb +20 -0
- data/lib/corba/common/Servant.rb +108 -0
- data/lib/corba/common/Struct.rb +22 -0
- data/lib/corba/common/Stub.rb +79 -0
- data/lib/corba/common/Typecode.rb +1121 -0
- data/lib/corba/common/Union.rb +56 -0
- data/lib/corba/common/Values.rb +92 -0
- data/lib/corba/common/const.rb +22 -0
- data/lib/corba/common/exception.rb +68 -0
- data/lib/corba/common/require.rb +27 -0
- data/lib/corba/common/version.rb +22 -0
- data/lib/corba/idl/IDL.rb +21 -0
- data/lib/corba/idl/IORTable.pidl +62 -0
- data/lib/corba/idl/TAO_Ext.pidl +46 -0
- data/lib/corba/idl/require.rb +20 -0
- data/lib/corba/jbase/Any.rb +273 -0
- data/lib/corba/jbase/IORMap.rb +36 -0
- data/lib/corba/jbase/ORB.rb +99 -0
- data/lib/corba/jbase/Object.rb +98 -0
- data/lib/corba/jbase/Request.rb +226 -0
- data/lib/corba/jbase/Servant.rb +247 -0
- data/lib/corba/jbase/ServerRequest.rb +128 -0
- data/lib/corba/jbase/Streams.rb +671 -0
- data/lib/corba/jbase/Stub.rb +38 -0
- data/lib/corba/jbase/Typecode.rb +520 -0
- data/lib/corba/jbase/Values.rb +173 -0
- data/lib/corba/jbase/exception.rb +106 -0
- data/lib/corba/jbase/poa.rb +229 -0
- data/lib/corba/jbase/policies.rb +300 -0
- data/lib/corba/jbase/post_require.rb +14 -0
- data/lib/corba/jbase/require.rb +86 -0
- data/lib/corba/naming.rb +14 -0
- data/lib/corba/naming_service.rb +15 -0
- data/lib/corba/poa.rb +15 -0
- data/lib/corba/policies.rb +18 -0
- data/lib/corba/require.rb +17 -0
- data/lib/corba/svcs/ins/cos_naming.rb +426 -0
- data/lib/corba/svcs/ins/ins.rb +526 -0
- data/lib/corba/svcs/ins/naming_service.rb +119 -0
- data/lib/corba.rb +16 -0
- data/lib/ridlbe/ruby/config.rb +336 -0
- data/lib/ridlbe/ruby/require.rb +16 -0
- data/lib/ridlbe/ruby/walker.rb +1582 -0
- data/mkrf_conf_srcgem.rb +186 -0
- data/rakelib/bin.rake +80 -0
- data/rakelib/bin.rb +146 -0
- data/rakelib/build.rake +87 -0
- data/rakelib/config.rake +52 -0
- data/rakelib/config.rb +450 -0
- data/rakelib/ext.rake +242 -0
- data/rakelib/ext.rb +308 -0
- data/rakelib/ext_r2tao.rb +232 -0
- data/rakelib/gem.rake +212 -0
- data/rakelib/gem.rb +146 -0
- data/rakelib/package.rake +26 -0
- data/rakelib/test.rake +23 -0
- data/test/BiDirectional/Test.idl +34 -0
- data/test/BiDirectional/client.rb +132 -0
- data/test/BiDirectional/run_test.rb +68 -0
- data/test/BiDirectional/server.rb +169 -0
- data/test/CORBA_Services/Naming/BindingIterator/Test.idl +27 -0
- data/test/CORBA_Services/Naming/BindingIterator/client.rb +121 -0
- data/test/CORBA_Services/Naming/BindingIterator/run_test.rb +82 -0
- data/test/CORBA_Services/Naming/BindingIterator/server.rb +109 -0
- data/test/CORBA_Services/Naming/Corbaname/Test.idl +27 -0
- data/test/CORBA_Services/Naming/Corbaname/client.rb +85 -0
- data/test/CORBA_Services/Naming/Corbaname/run_test.rb +88 -0
- data/test/CORBA_Services/Naming/Corbaname/server.rb +135 -0
- data/test/CORBA_Services/Naming/Simple/Test.idl +27 -0
- data/test/CORBA_Services/Naming/Simple/client.rb +84 -0
- data/test/CORBA_Services/Naming/Simple/run_test.rb +82 -0
- data/test/CORBA_Services/Naming/Simple/server.rb +109 -0
- data/test/Collocation/Diamond.idl +39 -0
- data/test/Collocation/run_test.rb +52 -0
- data/test/Collocation/test.rb +195 -0
- data/test/Connect_Timeout/Test.idl +27 -0
- data/test/Connect_Timeout/client.rb +111 -0
- data/test/Connect_Timeout/run_test.rb +52 -0
- data/test/DII/Test.idl +27 -0
- data/test/DII/client.rb +115 -0
- data/test/DII/run_test.rb +69 -0
- data/test/DII/server.rb +95 -0
- data/test/DSI/Test.idl +27 -0
- data/test/DSI/client.rb +66 -0
- data/test/DSI/run_test.rb +69 -0
- data/test/DSI/server.rb +106 -0
- data/test/Exceptions/Test.idl +48 -0
- data/test/Exceptions/client.rb +118 -0
- data/test/Exceptions/run_test.rb +69 -0
- data/test/Exceptions/server.rb +131 -0
- data/test/Hello/Test.idl +27 -0
- data/test/Hello/client.rb +78 -0
- data/test/Hello/run_test.rb +71 -0
- data/test/Hello/server.rb +95 -0
- data/test/IDL_Test/Test.idl +113 -0
- data/test/IDL_Test/Test_inc.idl +17 -0
- data/test/IDL_Test/client.rb +102 -0
- data/test/IDL_Test/run_test.rb +69 -0
- data/test/IDL_Test/server.rb +99 -0
- data/test/IORMap/Test.idl +27 -0
- data/test/IORMap/client.rb +73 -0
- data/test/IORMap/run_test.rb +69 -0
- data/test/IORMap/server.rb +114 -0
- data/test/IORTable/Test.idl +27 -0
- data/test/IORTable/client.rb +75 -0
- data/test/IORTable/run_test.rb +69 -0
- data/test/IORTable/server.rb +130 -0
- data/test/Implicit_Conversion/Test.idl +31 -0
- data/test/Implicit_Conversion/client.rb +110 -0
- data/test/Implicit_Conversion/run_test.rb +69 -0
- data/test/Implicit_Conversion/server.rb +99 -0
- data/test/Multi_Threading/Multiple_ORB/Test.idl +27 -0
- data/test/Multi_Threading/Multiple_ORB/client.rb +82 -0
- data/test/Multi_Threading/Multiple_ORB/run_test.rb +71 -0
- data/test/Multi_Threading/Multiple_ORB/server.rb +108 -0
- data/test/Multi_Threading/Simple/Test.idl +27 -0
- data/test/Multi_Threading/Simple/client.rb +88 -0
- data/test/Multi_Threading/Simple/run_test.rb +69 -0
- data/test/Multi_Threading/Simple/server.rb +118 -0
- data/test/Multi_Threading/Threads/Test.idl +31 -0
- data/test/Multi_Threading/Threads/client.rb +80 -0
- data/test/Multi_Threading/Threads/run_test.rb +76 -0
- data/test/Multi_Threading/Threads/server.rb +119 -0
- data/test/Multi_Threading/Threads/watchdog.rb +87 -0
- data/test/Multiple_Servant_Interfaces/Test.idl +34 -0
- data/test/Multiple_Servant_Interfaces/client.rb +70 -0
- data/test/Multiple_Servant_Interfaces/run_test.rb +69 -0
- data/test/Multiple_Servant_Interfaces/server.rb +102 -0
- data/test/Nil/Test.idl +27 -0
- data/test/Nil/run_test.rb +52 -0
- data/test/Nil/test.rb +78 -0
- data/test/OBV/AbstractInterface/client.rb +179 -0
- data/test/OBV/AbstractInterface/run_test.rb +69 -0
- data/test/OBV/AbstractInterface/server.rb +149 -0
- data/test/OBV/AbstractInterface/test.idl +53 -0
- data/test/OBV/Custom/OBV.idl +18 -0
- data/test/OBV/Custom/OBV_impl.rb +40 -0
- data/test/OBV/Custom/client.rb +86 -0
- data/test/OBV/Custom/run_test.rb +69 -0
- data/test/OBV/Custom/server.rb +100 -0
- data/test/OBV/Simple/OBV.idl +15 -0
- data/test/OBV/Simple/OBV_impl.rb +26 -0
- data/test/OBV/Simple/client.rb +86 -0
- data/test/OBV/Simple/run_test.rb +69 -0
- data/test/OBV/Simple/server.rb +100 -0
- data/test/OBV/Simple_Event/Event.idl +15 -0
- data/test/OBV/Simple_Event/Event_impl.rb +26 -0
- data/test/OBV/Simple_Event/client.rb +86 -0
- data/test/OBV/Simple_Event/run_test.rb +69 -0
- data/test/OBV/Simple_Event/server.rb +100 -0
- data/test/OBV/Supports/client.rb +116 -0
- data/test/OBV/Supports/run_test.rb +69 -0
- data/test/OBV/Supports/server.rb +103 -0
- data/test/OBV/Supports/supports.idl +33 -0
- data/test/OBV/Supports/supports_impl.rb +57 -0
- data/test/OBV/Tree/client.rb +116 -0
- data/test/OBV/Tree/run_test.rb +69 -0
- data/test/OBV/Tree/server.rb +117 -0
- data/test/OBV/Tree/test.idl +32 -0
- data/test/OBV/Truncatable/Extra.idl +27 -0
- data/test/OBV/Truncatable/Truncatable.idl +105 -0
- data/test/OBV/Truncatable/Truncatable_impl.rb +86 -0
- data/test/OBV/Truncatable/client.rb +279 -0
- data/test/OBV/Truncatable/run_test.rb +69 -0
- data/test/OBV/Truncatable/server.rb +89 -0
- data/test/OBV/ValueBox/client.rb +497 -0
- data/test/OBV/ValueBox/run_test.rb +69 -0
- data/test/OBV/ValueBox/server.rb +271 -0
- data/test/OBV/ValueBox/valuebox.idl +101 -0
- data/test/OBV/ValueBox/vb_basic.idl +75 -0
- data/test/OBV/ValueBox/vb_struct.idl +68 -0
- data/test/OBV/ValueBox/vb_union.idl +21 -0
- data/test/Object/Test.idl +27 -0
- data/test/Object/client.rb +103 -0
- data/test/Object/run_test.rb +69 -0
- data/test/Object/server.rb +126 -0
- data/test/POA/Test.idl +27 -0
- data/test/POA/run_test.rb +52 -0
- data/test/POA/test.rb +112 -0
- data/test/Param_Test/Test.idl +182 -0
- data/test/Param_Test/client.rb +277 -0
- data/test/Param_Test/run_test.rb +69 -0
- data/test/Param_Test/server.rb +296 -0
- data/test/Performance/Simple/Test.idl +27 -0
- data/test/Performance/Simple/client.rb +90 -0
- data/test/Performance/Simple/run_test.rb +69 -0
- data/test/Performance/Simple/server.rb +95 -0
- data/test/Policies/Test.idl +27 -0
- data/test/Policies/run_test.rb +52 -0
- data/test/Policies/test.rb +144 -0
- data/test/Timeout/client.rb +207 -0
- data/test/Timeout/run_test.rb +69 -0
- data/test/Timeout/server.rb +109 -0
- data/test/Timeout/test.idl +19 -0
- data/test/lib/assert.rb +43 -0
- data/test/lib/test.rb +542 -0
- data/test/test_runner.rb +193 -0
- metadata +334 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 63353bb76dd72a205b4029f34d89b56f739ca9e9
|
4
|
+
data.tar.gz: 8420f0951c31aa1da62aebd37ff55da02b4bc4bd
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 6c5449dc83cb39fff21241ce0ad8693826d8022b815f909ae53128e60f8653156c7efcfb26b3ed3c5b33f1dcae0278f3f3f873ff695dcdf49b219b54cb7fb71c
|
7
|
+
data.tar.gz: e750d0cd1241d05b2cefefe73b13fa73db54820aa3f53f3dff40557af6a93e8a808535116999171bb283fdc60ccec6445557a2ee84c5d314e71b26f176786fcf
|
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
data/bin/ridlc
ADDED
data/bin/rins
ADDED
data/ext/ext.mwc
ADDED
@@ -0,0 +1,60 @@
|
|
1
|
+
|
2
|
+
#include <windows.h>
|
3
|
+
#include <string.h>
|
4
|
+
#include <stdio.h>
|
5
|
+
|
6
|
+
static TCHAR szModulePath[MAX_PATH+1] = {0};
|
7
|
+
static TCHAR *pszPathEnd = 0;
|
8
|
+
|
9
|
+
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
10
|
+
{
|
11
|
+
(void)lpvReserved;
|
12
|
+
size_t len;
|
13
|
+
|
14
|
+
if (fdwReason == DLL_PROCESS_ATTACH)
|
15
|
+
{
|
16
|
+
GetModuleFileName(hinstDLL, &szModulePath[0], MAX_PATH);
|
17
|
+
/* find last path separator and cut off path to get foldername incl. last separator */
|
18
|
+
len = strlen (&szModulePath[0]);
|
19
|
+
while (len > 0 && szModulePath[--len] != '\\') ;
|
20
|
+
pszPathEnd = &szModulePath[len+1];
|
21
|
+
*pszPathEnd = '\0';
|
22
|
+
}
|
23
|
+
return TRUE;
|
24
|
+
}
|
25
|
+
|
26
|
+
typedef void (WINAPI *TExtInit)(void);
|
27
|
+
|
28
|
+
#define DEF_EXTENSION_INIT(LIBNAME) \
|
29
|
+
__declspec (dllexport) void Init_ ## LIBNAME ## w() \
|
30
|
+
{ \
|
31
|
+
const char *pszLibName; \
|
32
|
+
HMODULE hlib; \
|
33
|
+
TExtInit pfInit; \
|
34
|
+
\
|
35
|
+
pszLibName = #LIBNAME ".so"; \
|
36
|
+
strcat (&szModulePath[0], pszLibName); \
|
37
|
+
if (NULL == (hlib = LoadLibraryEx(szModulePath, NULL, LOAD_WITH_ALTERED_SEARCH_PATH))) \
|
38
|
+
{ \
|
39
|
+
*pszPathEnd = '\0'; \
|
40
|
+
strcat (&szModulePath[0], #LIBNAME "\\"); \
|
41
|
+
strcat (&szModulePath[0], pszLibName); \
|
42
|
+
if (NULL == (hlib = LoadLibraryEx(szModulePath, NULL, LOAD_WITH_ALTERED_SEARCH_PATH))) \
|
43
|
+
{ \
|
44
|
+
printf("ERROR: extload failed to load %s\n", #LIBNAME); \
|
45
|
+
return; \
|
46
|
+
} \
|
47
|
+
} \
|
48
|
+
if (NULL == (pfInit = (TExtInit) GetProcAddress(hlib, "Init_" #LIBNAME))) \
|
49
|
+
{ \
|
50
|
+
printf("ERROR: extload failed to retrieve init proc %s from lib %s\n", "Init_" #LIBNAME, #LIBNAME); \
|
51
|
+
return; \
|
52
|
+
} \
|
53
|
+
pfInit (); \
|
54
|
+
}
|
55
|
+
|
56
|
+
DEF_EXTENSION_INIT(libr2tao)
|
57
|
+
|
58
|
+
DEF_EXTENSION_INIT(librpoa)
|
59
|
+
|
60
|
+
DEF_EXTENSION_INIT(librpol)
|