zeroc-ice 3.7.8 → 3.7.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (178) hide show
  1. checksums.yaml +4 -4
  2. data/ext/Communicator.cpp +1 -0
  3. data/ext/Connection.cpp +7 -0
  4. data/ext/Endpoint.cpp +8 -0
  5. data/ext/ImplicitContext.cpp +1 -0
  6. data/ext/Logger.cpp +1 -0
  7. data/ext/Operation.cpp +1 -0
  8. data/ext/Properties.cpp +1 -0
  9. data/ext/Proxy.cpp +1 -0
  10. data/ext/Types.cpp +3 -0
  11. data/ext/ValueFactoryManager.cpp +1 -0
  12. data/ext/extconf.rb +3 -11
  13. data/ext/ice/cpp/include/IceUtil/Config.h +2 -2
  14. data/ext/ice/cpp/include/IceUtil/ResourceConfig.h +2 -2
  15. data/ext/ice/cpp/include/IceUtil/ScannerConfig.h +1 -0
  16. data/ext/ice/cpp/include/generated/Ice/BuiltinSequences.h +2 -2
  17. data/ext/ice/cpp/include/generated/Ice/Communicator.h +2 -2
  18. data/ext/ice/cpp/include/generated/Ice/CommunicatorF.h +2 -2
  19. data/ext/ice/cpp/include/generated/Ice/Connection.h +2 -2
  20. data/ext/ice/cpp/include/generated/Ice/ConnectionF.h +2 -2
  21. data/ext/ice/cpp/include/generated/Ice/Current.h +2 -2
  22. data/ext/ice/cpp/include/generated/Ice/Endpoint.h +2 -2
  23. data/ext/ice/cpp/include/generated/Ice/EndpointF.h +2 -2
  24. data/ext/ice/cpp/include/generated/Ice/EndpointTypes.h +2 -2
  25. data/ext/ice/cpp/include/generated/Ice/FacetMap.h +2 -2
  26. data/ext/ice/cpp/include/generated/Ice/Identity.h +2 -2
  27. data/ext/ice/cpp/include/generated/Ice/ImplicitContext.h +2 -2
  28. data/ext/ice/cpp/include/generated/Ice/ImplicitContextF.h +2 -2
  29. data/ext/ice/cpp/include/generated/Ice/Instrumentation.h +2 -2
  30. data/ext/ice/cpp/include/generated/Ice/InstrumentationF.h +2 -2
  31. data/ext/ice/cpp/include/generated/Ice/LocalException.h +2 -2
  32. data/ext/ice/cpp/include/generated/Ice/Locator.h +2 -2
  33. data/ext/ice/cpp/include/generated/Ice/LocatorF.h +2 -2
  34. data/ext/ice/cpp/include/generated/Ice/Logger.h +2 -2
  35. data/ext/ice/cpp/include/generated/Ice/LoggerF.h +2 -2
  36. data/ext/ice/cpp/include/generated/Ice/Metrics.h +2 -2
  37. data/ext/ice/cpp/include/generated/Ice/ObjectAdapter.h +2 -2
  38. data/ext/ice/cpp/include/generated/Ice/ObjectAdapterF.h +2 -2
  39. data/ext/ice/cpp/include/generated/Ice/ObjectFactory.h +2 -2
  40. data/ext/ice/cpp/include/generated/Ice/Plugin.h +2 -2
  41. data/ext/ice/cpp/include/generated/Ice/PluginF.h +2 -2
  42. data/ext/ice/cpp/include/generated/Ice/Process.h +2 -2
  43. data/ext/ice/cpp/include/generated/Ice/ProcessF.h +2 -2
  44. data/ext/ice/cpp/include/generated/Ice/Properties.h +2 -2
  45. data/ext/ice/cpp/include/generated/Ice/PropertiesAdmin.h +2 -2
  46. data/ext/ice/cpp/include/generated/Ice/PropertiesF.h +2 -2
  47. data/ext/ice/cpp/include/generated/Ice/RemoteLogger.h +2 -2
  48. data/ext/ice/cpp/include/generated/Ice/Router.h +2 -2
  49. data/ext/ice/cpp/include/generated/Ice/RouterF.h +2 -2
  50. data/ext/ice/cpp/include/generated/Ice/ServantLocator.h +2 -2
  51. data/ext/ice/cpp/include/generated/Ice/ServantLocatorF.h +2 -2
  52. data/ext/ice/cpp/include/generated/Ice/SliceChecksumDict.h +2 -2
  53. data/ext/ice/cpp/include/generated/Ice/ValueFactory.h +2 -2
  54. data/ext/ice/cpp/include/generated/Ice/Version.h +2 -2
  55. data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +2 -2
  56. data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +2 -2
  57. data/ext/ice/cpp/include/generated/IceSSL/EndpointInfo.h +2 -2
  58. data/ext/ice/cpp/src/Ice/BuiltinSequences.cpp +2 -2
  59. data/ext/ice/cpp/src/Ice/Communicator.cpp +2 -2
  60. data/ext/ice/cpp/src/Ice/CommunicatorF.cpp +2 -2
  61. data/ext/ice/cpp/src/Ice/Connection.cpp +2 -2
  62. data/ext/ice/cpp/src/Ice/ConnectionF.cpp +2 -2
  63. data/ext/ice/cpp/src/Ice/ConnectionI.cpp +2 -2
  64. data/ext/ice/cpp/src/Ice/Current.cpp +2 -2
  65. data/ext/ice/cpp/src/Ice/Endpoint.cpp +2 -2
  66. data/ext/ice/cpp/src/Ice/EndpointF.cpp +2 -2
  67. data/ext/ice/cpp/src/Ice/EndpointTypes.cpp +2 -2
  68. data/ext/ice/cpp/src/Ice/FacetMap.cpp +2 -2
  69. data/ext/ice/cpp/src/Ice/Identity.cpp +2 -2
  70. data/ext/ice/cpp/src/Ice/ImplicitContext.cpp +2 -2
  71. data/ext/ice/cpp/src/Ice/ImplicitContextF.cpp +2 -2
  72. data/ext/ice/cpp/src/Ice/Initialize.cpp +1 -1
  73. data/ext/ice/cpp/src/Ice/Instance.cpp +2 -2
  74. data/ext/ice/cpp/src/Ice/Instrumentation.cpp +2 -2
  75. data/ext/ice/cpp/src/Ice/InstrumentationF.cpp +2 -2
  76. data/ext/ice/cpp/src/Ice/LocalException.cpp +2 -2
  77. data/ext/ice/cpp/src/Ice/Locator.cpp +2 -2
  78. data/ext/ice/cpp/src/Ice/LocatorF.cpp +2 -2
  79. data/ext/ice/cpp/src/Ice/Logger.cpp +2 -2
  80. data/ext/ice/cpp/src/Ice/LoggerF.cpp +2 -2
  81. data/ext/ice/cpp/src/Ice/Metrics.cpp +2 -2
  82. data/ext/ice/cpp/src/Ice/Object.cpp +1 -1
  83. data/ext/ice/cpp/src/Ice/ObjectAdapter.cpp +2 -2
  84. data/ext/ice/cpp/src/Ice/ObjectAdapterF.cpp +2 -2
  85. data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +2 -2
  86. data/ext/ice/cpp/src/Ice/Plugin.cpp +2 -2
  87. data/ext/ice/cpp/src/Ice/PluginF.cpp +2 -2
  88. data/ext/ice/cpp/src/Ice/Process.cpp +2 -2
  89. data/ext/ice/cpp/src/Ice/ProcessF.cpp +2 -2
  90. data/ext/ice/cpp/src/Ice/Properties.cpp +2 -2
  91. data/ext/ice/cpp/src/Ice/PropertiesAdmin.cpp +2 -2
  92. data/ext/ice/cpp/src/Ice/PropertiesF.cpp +2 -2
  93. data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +2 -2
  94. data/ext/ice/cpp/src/Ice/Router.cpp +2 -2
  95. data/ext/ice/cpp/src/Ice/RouterF.cpp +2 -2
  96. data/ext/ice/cpp/src/Ice/ServantLocator.cpp +2 -2
  97. data/ext/ice/cpp/src/Ice/ServantLocatorF.cpp +2 -2
  98. data/ext/ice/cpp/src/Ice/SliceChecksumDict.cpp +2 -2
  99. data/ext/ice/cpp/src/Ice/ValueFactory.cpp +2 -2
  100. data/ext/ice/cpp/src/Ice/Version.cpp +2 -2
  101. data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +2 -2
  102. data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +2 -2
  103. data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.cpp +2 -2
  104. data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.h +2 -2
  105. data/ext/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +1 -1
  106. data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +2 -2
  107. data/ext/ice/cpp/src/IceSSL/ConnectionInfoF.cpp +2 -2
  108. data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +2 -2
  109. data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +2 -1
  110. data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.cpp +3 -0
  111. data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +3 -0
  112. data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.cpp +4 -0
  113. data/ext/ice/cpp/src/IceUtil/StringConverter.cpp +4 -2
  114. data/ext/ice/cpp/src/Slice/Grammar.cpp +1 -0
  115. data/ext/ice/cpp/src/Slice/PythonUtil.cpp +39 -3
  116. data/ext/ice/mcpp/system.c +4 -0
  117. data/ice.gemspec +1 -1
  118. data/lib/Glacier2/Metrics.rb +1 -1
  119. data/lib/Glacier2/PermissionsVerifier.rb +1 -1
  120. data/lib/Glacier2/PermissionsVerifierF.rb +1 -1
  121. data/lib/Glacier2/Router.rb +1 -1
  122. data/lib/Glacier2/RouterF.rb +1 -1
  123. data/lib/Glacier2/SSLInfo.rb +1 -1
  124. data/lib/Glacier2/Session.rb +1 -1
  125. data/lib/Ice/BuiltinSequences.rb +1 -1
  126. data/lib/Ice/Communicator.rb +1 -1
  127. data/lib/Ice/CommunicatorF.rb +1 -1
  128. data/lib/Ice/Connection.rb +1 -1
  129. data/lib/Ice/ConnectionF.rb +1 -1
  130. data/lib/Ice/Current.rb +1 -1
  131. data/lib/Ice/Endpoint.rb +1 -1
  132. data/lib/Ice/EndpointF.rb +1 -1
  133. data/lib/Ice/EndpointTypes.rb +1 -1
  134. data/lib/Ice/FacetMap.rb +1 -1
  135. data/lib/Ice/Identity.rb +1 -1
  136. data/lib/Ice/ImplicitContext.rb +1 -1
  137. data/lib/Ice/ImplicitContextF.rb +1 -1
  138. data/lib/Ice/Instrumentation.rb +1 -1
  139. data/lib/Ice/InstrumentationF.rb +1 -1
  140. data/lib/Ice/LocalException.rb +1 -1
  141. data/lib/Ice/Locator.rb +1 -1
  142. data/lib/Ice/LocatorF.rb +1 -1
  143. data/lib/Ice/Logger.rb +1 -1
  144. data/lib/Ice/LoggerF.rb +1 -1
  145. data/lib/Ice/Metrics.rb +1 -1
  146. data/lib/Ice/ObjectAdapter.rb +1 -1
  147. data/lib/Ice/ObjectAdapterF.rb +1 -1
  148. data/lib/Ice/ObjectFactory.rb +1 -1
  149. data/lib/Ice/Plugin.rb +1 -1
  150. data/lib/Ice/PluginF.rb +1 -1
  151. data/lib/Ice/Process.rb +1 -1
  152. data/lib/Ice/ProcessF.rb +1 -1
  153. data/lib/Ice/Properties.rb +1 -1
  154. data/lib/Ice/PropertiesAdmin.rb +1 -1
  155. data/lib/Ice/PropertiesF.rb +1 -1
  156. data/lib/Ice/RemoteLogger.rb +1 -1
  157. data/lib/Ice/Router.rb +1 -1
  158. data/lib/Ice/RouterF.rb +1 -1
  159. data/lib/Ice/ServantLocator.rb +1 -1
  160. data/lib/Ice/ServantLocatorF.rb +1 -1
  161. data/lib/Ice/SliceChecksumDict.rb +1 -1
  162. data/lib/Ice/ValueFactory.rb +1 -1
  163. data/lib/Ice/Version.rb +1 -1
  164. data/lib/Ice.rb +3 -3
  165. data/lib/IceBox/IceBox.rb +1 -1
  166. data/lib/IceGrid/Admin.rb +1 -1
  167. data/lib/IceGrid/Descriptor.rb +1 -1
  168. data/lib/IceGrid/Exception.rb +1 -1
  169. data/lib/IceGrid/FileParser.rb +1 -1
  170. data/lib/IceGrid/PluginFacade.rb +1 -1
  171. data/lib/IceGrid/Registry.rb +1 -1
  172. data/lib/IceGrid/Session.rb +1 -1
  173. data/lib/IceGrid/UserAccountMapper.rb +1 -1
  174. data/lib/IcePatch2/FileInfo.rb +1 -1
  175. data/lib/IcePatch2/FileServer.rb +1 -1
  176. data/lib/IceStorm/IceStorm.rb +1 -1
  177. data/lib/IceStorm/Metrics.rb +1 -1
  178. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d7444c6d1838ab77a27bc4c83dff5118cd679faddcd1e7de9a85b1ad2784b966
4
- data.tar.gz: 1158117509071b7eb048e3318a25f5a3340674ff569d56e2b066bae96bcc8eca
3
+ metadata.gz: ecb057c0fe5721b0811f231abb4e789e5facfb9dfd3ab24488695748f7f02107
4
+ data.tar.gz: f5009862bd2e04a332e89a264398aaacf5e311bd753bedef440626baad1b410d
5
5
  SHA512:
6
- metadata.gz: 2ef6a023993c78db5c3f9a4ec5e0ca84210d7530695ed553573237e2447a02cc98ff0809e86fe0bfd3f2dd3214293f3075de45d8d9e92cb37d25c974ffc50924
7
- data.tar.gz: ee5c5b6441cc49410353c2d47a343cd29532db6daced6296186d8e32b487fc0ca041419ef6c1fb9362e0f8e1f2f8122bc5312424b374aa71a30b0c903cc18678
6
+ metadata.gz: 2f0e238dcc3a97118f1c2ab13c094ec065226caa963470cca79026a01e1264b45eff60044741d21d6b81afd1faef90e5627adca3fc0b6bd26045f552b17bfabc
7
+ data.tar.gz: 50ba5775c9b70e3bb089a0332e6adea971040dde771470b793e21bb20704888cb283571394cf9c433d1dc36d59bf266fe922947a7209487462294ab6968bc990
data/ext/Communicator.cpp CHANGED
@@ -748,6 +748,7 @@ IceRuby::initCommunicator(VALUE iceModule)
748
748
  rb_define_module_function(iceModule, "stringToIdentity", CAST_METHOD(IceRuby_stringToIdentity), 1);
749
749
 
750
750
  _communicatorClass = rb_define_class_under(iceModule, "CommunicatorI", rb_cObject);
751
+ rb_undef_alloc_func(_communicatorClass);
751
752
  rb_define_method(_communicatorClass, "destroy", CAST_METHOD(IceRuby_Communicator_destroy), 0);
752
753
  rb_define_method(_communicatorClass, "shutdown", CAST_METHOD(IceRuby_Communicator_shutdown), 0);
753
754
  rb_define_method(_communicatorClass, "isShutdown", CAST_METHOD(IceRuby_Communicator_isShutdown), 0);
data/ext/Connection.cpp CHANGED
@@ -425,6 +425,7 @@ IceRuby::initConnection(VALUE iceModule)
425
425
  // Connection.
426
426
  //
427
427
  _connectionClass = rb_define_class_under(iceModule, "ConnectionI", rb_cObject);
428
+ rb_undef_alloc_func(_connectionClass);
428
429
 
429
430
  //
430
431
  // Instance methods.
@@ -450,6 +451,7 @@ IceRuby::initConnection(VALUE iceModule)
450
451
  // ConnectionInfo.
451
452
  //
452
453
  _connectionInfoClass = rb_define_class_under(iceModule, "ConnectionInfo", rb_cObject);
454
+ rb_undef_alloc_func(_connectionInfoClass);
453
455
 
454
456
  //
455
457
  // Instance members.
@@ -463,6 +465,7 @@ IceRuby::initConnection(VALUE iceModule)
463
465
  // IPConnectionInfo
464
466
  //
465
467
  _ipConnectionInfoClass = rb_define_class_under(iceModule, "IPConnectionInfo", _connectionInfoClass);
468
+ rb_undef_alloc_func(_ipConnectionInfoClass);
466
469
 
467
470
  //
468
471
  // Instance members.
@@ -476,11 +479,13 @@ IceRuby::initConnection(VALUE iceModule)
476
479
  // TCPConnectionInfo
477
480
  //
478
481
  _tcpConnectionInfoClass = rb_define_class_under(iceModule, "TCPConnectionInfo", _ipConnectionInfoClass);
482
+ rb_undef_alloc_func(_tcpConnectionInfoClass);
479
483
 
480
484
  //
481
485
  // UDPConnectionInfo
482
486
  //
483
487
  _udpConnectionInfoClass = rb_define_class_under(iceModule, "UDPConnectionInfo", _ipConnectionInfoClass);
488
+ rb_undef_alloc_func(_udpConnectionInfoClass);
484
489
 
485
490
  //
486
491
  // Instance members.
@@ -492,6 +497,7 @@ IceRuby::initConnection(VALUE iceModule)
492
497
  // WSConnectionInfo
493
498
  //
494
499
  _wsConnectionInfoClass = rb_define_class_under(iceModule, "WSConnectionInfo", _connectionInfoClass);
500
+ rb_undef_alloc_func(_wsConnectionInfoClass);
495
501
 
496
502
  //
497
503
  // Instance members.
@@ -502,6 +508,7 @@ IceRuby::initConnection(VALUE iceModule)
502
508
  // SSLConnectionInfo
503
509
  //
504
510
  _sslConnectionInfoClass = rb_define_class_under(iceModule, "SSLConnectionInfo", _connectionInfoClass);
511
+ rb_undef_alloc_func(_sslConnectionInfoClass);
505
512
 
506
513
  //
507
514
  // Instance members.
data/ext/Endpoint.cpp CHANGED
@@ -238,6 +238,7 @@ IceRuby::initEndpoint(VALUE iceModule)
238
238
  // Endpoint.
239
239
  //
240
240
  _endpointClass = rb_define_class_under(iceModule, "Endpoint", rb_cObject);
241
+ rb_undef_alloc_func(_endpointClass);
241
242
 
242
243
  //
243
244
  // Instance methods.
@@ -254,6 +255,7 @@ IceRuby::initEndpoint(VALUE iceModule)
254
255
  // EndpointInfo.
255
256
  //
256
257
  _endpointInfoClass = rb_define_class_under(iceModule, "EndpointInfo", rb_cObject);
258
+ rb_undef_alloc_func(_endpointInfoClass);
257
259
 
258
260
  //
259
261
  // Instance methods.
@@ -274,6 +276,7 @@ IceRuby::initEndpoint(VALUE iceModule)
274
276
  // IPEndpointInfo
275
277
  //
276
278
  _ipEndpointInfoClass = rb_define_class_under(iceModule, "IPEndpointInfo", _endpointInfoClass);
279
+ rb_undef_alloc_func(_ipEndpointInfoClass);
277
280
 
278
281
  //
279
282
  // Instance members.
@@ -286,11 +289,13 @@ IceRuby::initEndpoint(VALUE iceModule)
286
289
  // TCPEndpointInfo
287
290
  //
288
291
  _tcpEndpointInfoClass = rb_define_class_under(iceModule, "TCPEndpointInfo", _ipEndpointInfoClass);
292
+ rb_undef_alloc_func(_tcpEndpointInfoClass);
289
293
 
290
294
  //
291
295
  // UDPEndpointInfo
292
296
  //
293
297
  _udpEndpointInfoClass = rb_define_class_under(iceModule, "UDPEndpointInfo", _ipEndpointInfoClass);
298
+ rb_undef_alloc_func(_udpEndpointInfoClass);
294
299
 
295
300
  //
296
301
  // Instance members.
@@ -302,6 +307,7 @@ IceRuby::initEndpoint(VALUE iceModule)
302
307
  // WSEndpointInfo
303
308
  //
304
309
  _wsEndpointInfoClass = rb_define_class_under(iceModule, "WSEndpointInfo", _endpointInfoClass);
310
+ rb_undef_alloc_func(_wsEndpointInfoClass);
305
311
 
306
312
  //
307
313
  // Instance members.
@@ -312,6 +318,7 @@ IceRuby::initEndpoint(VALUE iceModule)
312
318
  // OpaqueEndpointInfo
313
319
  //
314
320
  _opaqueEndpointInfoClass = rb_define_class_under(iceModule, "OpaqueEndpointInfo", _endpointInfoClass);
321
+ rb_undef_alloc_func(_opaqueEndpointInfoClass);
315
322
 
316
323
  //
317
324
  // Instance members.
@@ -323,6 +330,7 @@ IceRuby::initEndpoint(VALUE iceModule)
323
330
  // SSLEndpointInfo
324
331
  //
325
332
  _sslEndpointInfoClass = rb_define_class_under(iceModule, "SSLEndpointInfo", _endpointInfoClass);
333
+ rb_undef_alloc_func(_sslEndpointInfoClass);
326
334
  }
327
335
 
328
336
  bool
@@ -120,6 +120,7 @@ void
120
120
  IceRuby::initImplicitContext(VALUE iceModule)
121
121
  {
122
122
  _implicitContextClass = rb_define_class_under(iceModule, "ImplicitContextI", rb_cObject);
123
+ rb_undef_alloc_func(_implicitContextClass);
123
124
  rb_define_method(_implicitContextClass, "getContext", CAST_METHOD(IceRuby_ImplicitContext_getContext), 0);
124
125
  rb_define_method(_implicitContextClass, "setContext", CAST_METHOD(IceRuby_ImplicitContext_setContext), 1);
125
126
  rb_define_method(_implicitContextClass, "containsKey", CAST_METHOD(IceRuby_ImplicitContext_containsKey), 1);
data/ext/Logger.cpp CHANGED
@@ -127,6 +127,7 @@ IceRuby::initLogger(VALUE iceModule)
127
127
  // Logger.
128
128
  //
129
129
  _loggerClass = rb_define_class_under(iceModule, "LoggerI", rb_cObject);
130
+ rb_undef_alloc_func(_loggerClass);
130
131
 
131
132
  //
132
133
  // Instance methods.
data/ext/Operation.cpp CHANGED
@@ -643,6 +643,7 @@ IceRuby::initOperation(VALUE iceModule)
643
643
  // Define a class to represent an operation.
644
644
  //
645
645
  _operationClass = rb_define_class_under(iceModule, "IceRuby_Operation", rb_cObject);
646
+ rb_undef_alloc_func(_operationClass);
646
647
 
647
648
  rb_define_method(_operationClass, "invoke", CAST_METHOD(IceRuby_Operation_invoke), 3);
648
649
  rb_define_method(_operationClass, "deprecate", CAST_METHOD(IceRuby_Operation_deprecate), 1);
data/ext/Properties.cpp CHANGED
@@ -326,6 +326,7 @@ IceRuby::initProperties(VALUE iceModule)
326
326
  rb_define_module_function(iceModule, "createProperties", CAST_METHOD(IceRuby_createProperties), -1);
327
327
 
328
328
  _propertiesClass = rb_define_class_under(iceModule, "PropertiesI", rb_cObject);
329
+ rb_undef_alloc_func(_propertiesClass);
329
330
  rb_define_method(_propertiesClass, "getProperty", CAST_METHOD(IceRuby_Properties_getProperty), 1);
330
331
  rb_define_method(_propertiesClass, "getPropertyWithDefault",
331
332
  CAST_METHOD(IceRuby_Properties_getPropertyWithDefault), 2);
data/ext/Proxy.cpp CHANGED
@@ -1284,6 +1284,7 @@ IceRuby::initProxy(VALUE iceModule)
1284
1284
  // ObjectPrx.
1285
1285
  //
1286
1286
  _proxyClass = rb_define_class_under(iceModule, "ObjectPrx", rb_cObject);
1287
+ rb_undef_alloc_func(_proxyClass);
1287
1288
 
1288
1289
  //
1289
1290
  // Instance methods.
data/ext/Types.cpp CHANGED
@@ -3244,7 +3244,9 @@ IceRuby::initTypes(VALUE iceModule)
3244
3244
  // Define a class to represent TypeInfo, and another to represent ExceptionInfo.
3245
3245
  //
3246
3246
  _typeInfoClass = rb_define_class_under(iceModule, "Internal_TypeInfo", rb_cObject);
3247
+ rb_undef_alloc_func(_typeInfoClass);
3247
3248
  _exceptionInfoClass = rb_define_class_under(iceModule, "Internal_ExceptionInfo", rb_cObject);
3249
+ rb_undef_alloc_func(_exceptionInfoClass);
3248
3250
 
3249
3251
  rb_define_const(iceModule, "T_bool", createType(new PrimitiveInfo(PrimitiveInfo::KindBool)));
3250
3252
  rb_define_const(iceModule, "T_byte", createType(new PrimitiveInfo(PrimitiveInfo::KindByte)));
@@ -3272,6 +3274,7 @@ IceRuby::initTypes(VALUE iceModule)
3272
3274
 
3273
3275
  _unsetTypeClass = rb_define_class_under(iceModule, "Internal_UnsetType", rb_cObject);
3274
3276
  Unset = callRuby(rb_class_new_instance, 0, static_cast<VALUE*>(0), _unsetTypeClass);
3277
+ rb_undef_alloc_func(_unsetTypeClass);
3275
3278
  rb_define_const(iceModule, "Unset", Unset);
3276
3279
 
3277
3280
  return true;
@@ -429,6 +429,7 @@ bool
429
429
  IceRuby::initValueFactoryManager(VALUE iceModule)
430
430
  {
431
431
  _valueFactoryManagerClass = rb_define_class_under(iceModule, "ValueFactoryManagerI", rb_cObject);
432
+ rb_undef_alloc_func(_valueFactoryManagerClass);
432
433
 
433
434
  //
434
435
  // Instance methods.
data/ext/extconf.rb CHANGED
@@ -14,6 +14,7 @@ end
14
14
  # On OSX & Linux bzlib.h is required.
15
15
  #
16
16
  if not have_header("bzlib.h") then
17
+ puts "Bzip2 header files are missing."
17
18
  exit 1
18
19
  end
19
20
 
@@ -22,20 +23,11 @@ if RUBY_PLATFORM =~ /linux/
22
23
  # On Linux openssl is required for IceSSL.
23
24
  #
24
25
  if not have_header("openssl/ssl.h") then
26
+ puts "OpenSSL header files are missing."
25
27
  exit 1
26
28
  end
27
29
  end
28
30
 
29
- #
30
- # Ice on OSX is built only with 64 bit support.
31
- #
32
- if RUBY_PLATFORM =~ /darwin/
33
- $ARCH_FLAG = "-arch x86_64"
34
- # Make sure to use the SDK from Xcode (required for Sierra where old system headers can be used otherwise)
35
- RbConfig::MAKEFILE_CONFIG['CC'] = 'xcrun -sdk macosx clang'
36
- RbConfig::MAKEFILE_CONFIG['CXX'] = 'xcrun -sdk macosx clang++'
37
- end
38
-
39
31
  $INCFLAGS << ' -Iice/cpp/include'
40
32
  $INCFLAGS << ' -Iice/cpp/include/generated'
41
33
  $INCFLAGS << ' -Iice/cpp/src'
@@ -44,7 +36,7 @@ $CPPFLAGS << ' -DICE_STATIC_LIBS'
44
36
  $CPPFLAGS << ' -DICE_GEM'
45
37
 
46
38
  if RUBY_PLATFORM =~ /darwin/
47
- $LOCAL_LIBS << ' -framework Security -framework CoreFoundation'
39
+ $LOCAL_LIBS << ' -lbz2 -liconv -framework Security -framework CoreFoundation'
48
40
  elsif RUBY_PLATFORM =~ /linux/
49
41
  $LOCAL_LIBS << ' -lssl -lcrypto -lbz2 -lrt'
50
42
  if RUBY_VERSION =~ /1.8/
@@ -284,8 +284,8 @@
284
284
  //
285
285
  // The Ice version.
286
286
  //
287
- #define ICE_STRING_VERSION "3.7.8" // "A.B.C", with A=major, B=minor, C=patch
288
- #define ICE_INT_VERSION 30708 // AABBCC, with AA=major, BB=minor, CC=patch
287
+ #define ICE_STRING_VERSION "3.7.9" // "A.B.C", with A=major, B=minor, C=patch
288
+ #define ICE_INT_VERSION 30709 // AABBCC, with AA=major, BB=minor, CC=patch
289
289
  #define ICE_SO_VERSION "37" // "ABC", with A=major, B=minor, C=patch
290
290
 
291
291
  #if !defined(ICE_BUILDING_ICE) && defined(ICE_API_EXPORTS)
@@ -7,8 +7,8 @@
7
7
 
8
8
  #include "winver.h"
9
9
 
10
- #define ICE_VERSION 3,7,8,0
11
- #define ICE_STRING_VERSION "3.7.8\0"
10
+ #define ICE_VERSION 3,7,9,0
11
+ #define ICE_STRING_VERSION "3.7.9\0"
12
12
  #define ICE_SO_VERSION "37\0"
13
13
  #define ICE_COMPANY_NAME "ZeroC, Inc.\0"
14
14
  #define ICE_COPYRIGHT "\251 ZeroC, Inc.\0"
@@ -34,6 +34,7 @@
34
34
  # pragma clang diagnostic ignored "-Wconversion"
35
35
  # pragma clang diagnostic ignored "-Wsign-conversion"
36
36
  # pragma clang diagnostic ignored "-Wdocumentation"
37
+ # pragma clang diagnostic ignored "-Wunused-but-set-variable"
37
38
  #endif
38
39
 
39
40
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.8
5
+ // Ice version 3.7.9
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -35,7 +35,7 @@
35
35
  # if ICE_INT_VERSION % 100 >= 50
36
36
  # error Beta header file detected
37
37
  # endif
38
- # if ICE_INT_VERSION % 100 < 8
38
+ # if ICE_INT_VERSION % 100 < 9
39
39
  # error Ice patch level mismatch!
40
40
  # endif
41
41
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.8
5
+ // Ice version 3.7.9
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -56,7 +56,7 @@
56
56
  # if ICE_INT_VERSION % 100 >= 50
57
57
  # error Beta header file detected
58
58
  # endif
59
- # if ICE_INT_VERSION % 100 < 8
59
+ # if ICE_INT_VERSION % 100 < 9
60
60
  # error Ice patch level mismatch!
61
61
  # endif
62
62
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.8
5
+ // Ice version 3.7.9
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -35,7 +35,7 @@
35
35
  # if ICE_INT_VERSION % 100 >= 50
36
36
  # error Beta header file detected
37
37
  # endif
38
- # if ICE_INT_VERSION % 100 < 8
38
+ # if ICE_INT_VERSION % 100 < 9
39
39
  # error Ice patch level mismatch!
40
40
  # endif
41
41
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.8
5
+ // Ice version 3.7.9
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -39,7 +39,7 @@
39
39
  # if ICE_INT_VERSION % 100 >= 50
40
40
  # error Beta header file detected
41
41
  # endif
42
- # if ICE_INT_VERSION % 100 < 8
42
+ # if ICE_INT_VERSION % 100 < 9
43
43
  # error Ice patch level mismatch!
44
44
  # endif
45
45
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.8
5
+ // Ice version 3.7.9
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -35,7 +35,7 @@
35
35
  # if ICE_INT_VERSION % 100 >= 50
36
36
  # error Beta header file detected
37
37
  # endif
38
- # if ICE_INT_VERSION % 100 < 8
38
+ # if ICE_INT_VERSION % 100 < 9
39
39
  # error Ice patch level mismatch!
40
40
  # endif
41
41
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.8
5
+ // Ice version 3.7.9
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -39,7 +39,7 @@
39
39
  # if ICE_INT_VERSION % 100 >= 50
40
40
  # error Beta header file detected
41
41
  # endif
42
- # if ICE_INT_VERSION % 100 < 8
42
+ # if ICE_INT_VERSION % 100 < 9
43
43
  # error Ice patch level mismatch!
44
44
  # endif
45
45
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.8
5
+ // Ice version 3.7.9
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -38,7 +38,7 @@
38
38
  # if ICE_INT_VERSION % 100 >= 50
39
39
  # error Beta header file detected
40
40
  # endif
41
- # if ICE_INT_VERSION % 100 < 8
41
+ # if ICE_INT_VERSION % 100 < 9
42
42
  # error Ice patch level mismatch!
43
43
  # endif
44
44
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.8
5
+ // Ice version 3.7.9
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -35,7 +35,7 @@
35
35
  # if ICE_INT_VERSION % 100 >= 50
36
36
  # error Beta header file detected
37
37
  # endif
38
- # if ICE_INT_VERSION % 100 < 8
38
+ # if ICE_INT_VERSION % 100 < 9
39
39
  # error Ice patch level mismatch!
40
40
  # endif
41
41
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.8
5
+ // Ice version 3.7.9
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -35,7 +35,7 @@
35
35
  # if ICE_INT_VERSION % 100 >= 50
36
36
  # error Beta header file detected
37
37
  # endif
38
- # if ICE_INT_VERSION % 100 < 8
38
+ # if ICE_INT_VERSION % 100 < 9
39
39
  # error Ice patch level mismatch!
40
40
  # endif
41
41
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.8
5
+ // Ice version 3.7.9
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -35,7 +35,7 @@
35
35
  # if ICE_INT_VERSION % 100 >= 50
36
36
  # error Beta header file detected
37
37
  # endif
38
- # if ICE_INT_VERSION % 100 < 8
38
+ # if ICE_INT_VERSION % 100 < 9
39
39
  # error Ice patch level mismatch!
40
40
  # endif
41
41
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.8
5
+ // Ice version 3.7.9
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -35,7 +35,7 @@
35
35
  # if ICE_INT_VERSION % 100 >= 50
36
36
  # error Beta header file detected
37
37
  # endif
38
- # if ICE_INT_VERSION % 100 < 8
38
+ # if ICE_INT_VERSION % 100 < 9
39
39
  # error Ice patch level mismatch!
40
40
  # endif
41
41
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.8
5
+ // Ice version 3.7.9
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -38,7 +38,7 @@
38
38
  # if ICE_INT_VERSION % 100 >= 50
39
39
  # error Beta header file detected
40
40
  # endif
41
- # if ICE_INT_VERSION % 100 < 8
41
+ # if ICE_INT_VERSION % 100 < 9
42
42
  # error Ice patch level mismatch!
43
43
  # endif
44
44
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.8
5
+ // Ice version 3.7.9
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -35,7 +35,7 @@
35
35
  # if ICE_INT_VERSION % 100 >= 50
36
36
  # error Beta header file detected
37
37
  # endif
38
- # if ICE_INT_VERSION % 100 < 8
38
+ # if ICE_INT_VERSION % 100 < 9
39
39
  # error Ice patch level mismatch!
40
40
  # endif
41
41
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.8
5
+ // Ice version 3.7.9
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -38,7 +38,7 @@
38
38
  # if ICE_INT_VERSION % 100 >= 50
39
39
  # error Beta header file detected
40
40
  # endif
41
- # if ICE_INT_VERSION % 100 < 8
41
+ # if ICE_INT_VERSION % 100 < 9
42
42
  # error Ice patch level mismatch!
43
43
  # endif
44
44
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.8
5
+ // Ice version 3.7.9
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -35,7 +35,7 @@
35
35
  # if ICE_INT_VERSION % 100 >= 50
36
36
  # error Beta header file detected
37
37
  # endif
38
- # if ICE_INT_VERSION % 100 < 8
38
+ # if ICE_INT_VERSION % 100 < 9
39
39
  # error Ice patch level mismatch!
40
40
  # endif
41
41
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.8
5
+ // Ice version 3.7.9
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -39,7 +39,7 @@
39
39
  # if ICE_INT_VERSION % 100 >= 50
40
40
  # error Beta header file detected
41
41
  # endif
42
- # if ICE_INT_VERSION % 100 < 8
42
+ # if ICE_INT_VERSION % 100 < 9
43
43
  # error Ice patch level mismatch!
44
44
  # endif
45
45
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.8
5
+ // Ice version 3.7.9
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -45,7 +45,7 @@
45
45
  # if ICE_INT_VERSION % 100 >= 50
46
46
  # error Beta header file detected
47
47
  # endif
48
- # if ICE_INT_VERSION % 100 < 8
48
+ # if ICE_INT_VERSION % 100 < 9
49
49
  # error Ice patch level mismatch!
50
50
  # endif
51
51
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.8
5
+ // Ice version 3.7.9
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -36,7 +36,7 @@
36
36
  # if ICE_INT_VERSION % 100 >= 50
37
37
  # error Beta header file detected
38
38
  # endif
39
- # if ICE_INT_VERSION % 100 < 8
39
+ # if ICE_INT_VERSION % 100 < 9
40
40
  # error Ice patch level mismatch!
41
41
  # endif
42
42
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.8
5
+ // Ice version 3.7.9
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -35,7 +35,7 @@
35
35
  # if ICE_INT_VERSION % 100 >= 50
36
36
  # error Beta header file detected
37
37
  # endif
38
- # if ICE_INT_VERSION % 100 < 8
38
+ # if ICE_INT_VERSION % 100 < 9
39
39
  # error Ice patch level mismatch!
40
40
  # endif
41
41
  #endif
@@ -2,7 +2,7 @@
2
2
  // Copyright (c) ZeroC, Inc. All rights reserved.
3
3
  //
4
4
  //
5
- // Ice version 3.7.8
5
+ // Ice version 3.7.9
6
6
  //
7
7
  // <auto-generated>
8
8
  //
@@ -35,7 +35,7 @@
35
35
  # if ICE_INT_VERSION % 100 >= 50
36
36
  # error Beta header file detected
37
37
  # endif
38
- # if ICE_INT_VERSION % 100 < 8
38
+ # if ICE_INT_VERSION % 100 < 9
39
39
  # error Ice patch level mismatch!
40
40
  # endif
41
41
  #endif