zeroc-ice 3.6.0 → 3.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (195) hide show
  1. checksums.yaml +4 -4
  2. data/ext/ice/cpp/include/Ice/BuiltinSequences.h +2 -2
  3. data/ext/ice/cpp/include/Ice/Communicator.h +2 -2
  4. data/ext/ice/cpp/include/Ice/CommunicatorF.h +2 -2
  5. data/ext/ice/cpp/include/Ice/Connection.h +5 -9
  6. data/ext/ice/cpp/include/Ice/ConnectionF.h +2 -2
  7. data/ext/ice/cpp/include/Ice/Current.h +2 -2
  8. data/ext/ice/cpp/include/Ice/Endpoint.h +6 -11
  9. data/ext/ice/cpp/include/Ice/EndpointF.h +2 -2
  10. data/ext/ice/cpp/include/Ice/EndpointTypes.h +2 -2
  11. data/ext/ice/cpp/include/Ice/FacetMap.h +2 -2
  12. data/ext/ice/cpp/include/Ice/Ice.h +1 -0
  13. data/ext/ice/cpp/include/Ice/Identity.h +2 -2
  14. data/ext/ice/cpp/include/Ice/ImplicitContext.h +2 -2
  15. data/ext/ice/cpp/include/Ice/ImplicitContextF.h +2 -2
  16. data/ext/ice/cpp/include/Ice/Instrumentation.h +2 -2
  17. data/ext/ice/cpp/include/Ice/InstrumentationF.h +2 -2
  18. data/ext/ice/cpp/include/Ice/LocalException.h +2 -2
  19. data/ext/ice/cpp/include/Ice/Locator.h +2 -2
  20. data/ext/ice/cpp/include/Ice/LocatorF.h +2 -2
  21. data/ext/ice/cpp/include/Ice/Logger.h +2 -2
  22. data/ext/ice/cpp/include/Ice/LoggerF.h +2 -2
  23. data/ext/ice/cpp/include/Ice/Metrics.h +7 -14
  24. data/ext/ice/cpp/include/Ice/ObjectAdapter.h +2 -2
  25. data/ext/ice/cpp/include/Ice/ObjectAdapterF.h +2 -2
  26. data/ext/ice/cpp/include/Ice/ObjectFactory.h +2 -2
  27. data/ext/ice/cpp/include/Ice/ObjectFactoryF.h +2 -2
  28. data/ext/ice/cpp/include/Ice/Plugin.h +2 -2
  29. data/ext/ice/cpp/include/Ice/PluginF.h +2 -2
  30. data/ext/ice/cpp/include/Ice/Process.h +2 -2
  31. data/ext/ice/cpp/include/Ice/ProcessF.h +2 -2
  32. data/ext/ice/cpp/include/Ice/Properties.h +2 -2
  33. data/ext/ice/cpp/include/Ice/PropertiesAdmin.h +2 -2
  34. data/ext/ice/cpp/include/Ice/PropertiesF.h +2 -2
  35. data/ext/ice/cpp/include/Ice/RegisterPlugins.h +55 -0
  36. data/ext/ice/cpp/include/Ice/RemoteLogger.h +2 -2
  37. data/ext/ice/cpp/include/Ice/Router.h +2 -2
  38. data/ext/ice/cpp/include/Ice/RouterF.h +2 -2
  39. data/ext/ice/cpp/include/Ice/ServantLocator.h +2 -2
  40. data/ext/ice/cpp/include/Ice/ServantLocatorF.h +2 -2
  41. data/ext/ice/cpp/include/Ice/SliceChecksumDict.h +2 -2
  42. data/ext/ice/cpp/include/Ice/Version.h +2 -2
  43. data/ext/ice/cpp/include/IceSSL/ConnectionInfo.h +4 -6
  44. data/ext/ice/cpp/include/IceSSL/EndpointInfo.h +3 -5
  45. data/ext/ice/cpp/include/IceUtil/Config.h +5 -5
  46. data/ext/ice/cpp/src/Ice/BuiltinSequences.cpp +2 -2
  47. data/ext/ice/cpp/src/Ice/Communicator.cpp +2 -2
  48. data/ext/ice/cpp/src/Ice/CommunicatorF.cpp +2 -2
  49. data/ext/ice/cpp/src/Ice/CommunicatorI.cpp +0 -1
  50. data/ext/ice/cpp/src/Ice/ConnectRequestHandler.cpp +12 -17
  51. data/ext/ice/cpp/src/Ice/Connection.cpp +2 -2
  52. data/ext/ice/cpp/src/Ice/ConnectionF.cpp +2 -2
  53. data/ext/ice/cpp/src/Ice/ConnectionFactory.cpp +33 -4
  54. data/ext/ice/cpp/src/Ice/ConnectionI.cpp +8 -0
  55. data/ext/ice/cpp/src/Ice/Current.cpp +2 -2
  56. data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +0 -1
  57. data/ext/ice/cpp/src/Ice/DeprecatedStringConverter.cpp +2 -0
  58. data/ext/ice/cpp/src/Ice/Endpoint.cpp +2 -2
  59. data/ext/ice/cpp/src/Ice/EndpointF.cpp +2 -2
  60. data/ext/ice/cpp/src/Ice/EndpointTypes.cpp +2 -2
  61. data/ext/ice/cpp/src/Ice/FacetMap.cpp +2 -2
  62. data/ext/ice/cpp/src/Ice/HttpParser.cpp +0 -2
  63. data/ext/ice/cpp/src/Ice/Identity.cpp +2 -2
  64. data/ext/ice/cpp/src/Ice/ImplicitContext.cpp +2 -2
  65. data/ext/ice/cpp/src/Ice/ImplicitContextF.cpp +2 -2
  66. data/ext/ice/cpp/src/Ice/Initialize.cpp +25 -30
  67. data/ext/ice/cpp/src/Ice/Instance.cpp +1 -3
  68. data/ext/ice/cpp/src/Ice/Instrumentation.cpp +2 -2
  69. data/ext/ice/cpp/src/Ice/InstrumentationF.cpp +2 -2
  70. data/ext/ice/cpp/src/Ice/LocalException.cpp +2 -2
  71. data/ext/ice/cpp/src/Ice/Locator.cpp +2 -2
  72. data/ext/ice/cpp/src/Ice/LocatorF.cpp +2 -2
  73. data/ext/ice/cpp/src/Ice/LocatorInfo.cpp +6 -6
  74. data/ext/ice/cpp/src/Ice/LocatorInfo.h +9 -8
  75. data/ext/ice/cpp/src/Ice/Logger.cpp +2 -2
  76. data/ext/ice/cpp/src/Ice/LoggerF.cpp +2 -2
  77. data/ext/ice/cpp/src/Ice/Metrics.cpp +10 -2
  78. data/ext/ice/cpp/src/Ice/Network.h +10 -0
  79. data/ext/ice/cpp/src/Ice/ObjectAdapter.cpp +2 -2
  80. data/ext/ice/cpp/src/Ice/ObjectAdapterF.cpp +2 -2
  81. data/ext/ice/cpp/src/Ice/ObjectAdapterI.cpp +68 -143
  82. data/ext/ice/cpp/src/Ice/ObjectAdapterI.h +1 -2
  83. data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +2 -2
  84. data/ext/ice/cpp/src/Ice/ObjectFactoryF.cpp +2 -2
  85. data/ext/ice/cpp/src/Ice/Outgoing.cpp +0 -1
  86. data/ext/ice/cpp/src/Ice/OutgoingAsync.cpp +0 -1
  87. data/ext/ice/cpp/src/Ice/Plugin.cpp +2 -2
  88. data/ext/ice/cpp/src/Ice/PluginF.cpp +2 -2
  89. data/ext/ice/cpp/src/Ice/Process.cpp +2 -2
  90. data/ext/ice/cpp/src/Ice/ProcessF.cpp +2 -2
  91. data/ext/ice/cpp/src/Ice/Properties.cpp +2 -2
  92. data/ext/ice/cpp/src/Ice/PropertiesAdmin.cpp +2 -2
  93. data/ext/ice/cpp/src/Ice/PropertiesAdminI.cpp +6 -7
  94. data/ext/ice/cpp/src/Ice/PropertiesF.cpp +2 -2
  95. data/ext/ice/cpp/src/Ice/PropertiesI.cpp +17 -18
  96. data/ext/ice/cpp/src/Ice/Reference.cpp +1 -1
  97. data/ext/ice/cpp/src/Ice/{RegisterPlugins.cpp → RegisterPluginsInit.cpp} +1 -1
  98. data/ext/ice/cpp/src/Ice/{RegisterPlugins.h → RegisterPluginsInit.h} +2 -2
  99. data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +2 -2
  100. data/ext/ice/cpp/src/Ice/Router.cpp +2 -2
  101. data/ext/ice/cpp/src/Ice/RouterF.cpp +2 -2
  102. data/ext/ice/cpp/src/Ice/Selector.cpp +51 -45
  103. data/ext/ice/cpp/src/Ice/Selector.h +4 -4
  104. data/ext/ice/cpp/src/Ice/ServantLocator.cpp +2 -2
  105. data/ext/ice/cpp/src/Ice/ServantLocatorF.cpp +2 -2
  106. data/ext/ice/cpp/src/Ice/SliceChecksumDict.cpp +2 -2
  107. data/ext/ice/cpp/src/Ice/StreamSocket.cpp +7 -2
  108. data/ext/ice/cpp/src/Ice/StringConverterPlugin.cpp +15 -3
  109. data/ext/ice/cpp/src/Ice/TcpTransceiver.cpp +0 -2
  110. data/ext/ice/cpp/src/Ice/ThreadPool.cpp +46 -47
  111. data/ext/ice/cpp/src/Ice/UdpTransceiver.cpp +28 -8
  112. data/ext/ice/cpp/src/Ice/Version.cpp +2 -2
  113. data/ext/ice/cpp/src/Ice/WSTransceiver.cpp +26 -2
  114. data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +2 -2
  115. data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +2 -2
  116. data/ext/ice/cpp/src/IceDiscovery/PluginI.cpp +11 -0
  117. data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.cpp +2 -2
  118. data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.h +2 -2
  119. data/ext/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +11 -0
  120. data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +2 -2
  121. data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +2 -2
  122. data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +1 -3
  123. data/ext/ice/cpp/src/IceSSL/PluginI.cpp +11 -0
  124. data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +7 -0
  125. data/ext/ice/cpp/src/IceUtil/ArgVector.cpp +0 -1
  126. data/ext/ice/cpp/src/IceUtil/Exception.cpp +2 -1
  127. data/ext/ice/cpp/src/Slice/FileTracker.cpp +3 -2
  128. data/ext/ice/cpp/src/Slice/JavaUtil.cpp +0 -1
  129. data/ext/ice/cpp/src/Slice/Parser.cpp +35 -9
  130. data/ext/ice/cpp/src/Slice/Preprocessor.cpp +10 -11
  131. data/ext/ice/cpp/src/Slice/Python.cpp +54 -36
  132. data/ext/ice/mcpp/Makefile +10 -0
  133. data/ext/ice/mcpp/Makefile.mak +23 -15
  134. data/ice.gemspec +1 -2
  135. data/lib/Glacier2/Metrics.rb +1 -1
  136. data/lib/Glacier2/PermissionsVerifier.rb +1 -1
  137. data/lib/Glacier2/PermissionsVerifierF.rb +1 -1
  138. data/lib/Glacier2/Router.rb +1 -1
  139. data/lib/Glacier2/RouterF.rb +1 -1
  140. data/lib/Glacier2/SSLInfo.rb +1 -1
  141. data/lib/Glacier2/Session.rb +1 -1
  142. data/lib/Ice.rb +1 -0
  143. data/lib/Ice/BuiltinSequences.rb +1 -1
  144. data/lib/Ice/Communicator.rb +1 -1
  145. data/lib/Ice/CommunicatorF.rb +1 -1
  146. data/lib/Ice/Connection.rb +1 -1
  147. data/lib/Ice/ConnectionF.rb +1 -1
  148. data/lib/Ice/Current.rb +1 -1
  149. data/lib/Ice/Endpoint.rb +1 -1
  150. data/lib/Ice/EndpointF.rb +1 -1
  151. data/lib/Ice/EndpointTypes.rb +1 -1
  152. data/lib/Ice/FacetMap.rb +1 -1
  153. data/lib/Ice/Identity.rb +1 -1
  154. data/lib/Ice/ImplicitContext.rb +1 -1
  155. data/lib/Ice/ImplicitContextF.rb +1 -1
  156. data/lib/Ice/Instrumentation.rb +1 -1
  157. data/lib/Ice/InstrumentationF.rb +1 -1
  158. data/lib/Ice/LocalException.rb +1 -1
  159. data/lib/Ice/Locator.rb +1 -1
  160. data/lib/Ice/LocatorF.rb +1 -1
  161. data/lib/Ice/Logger.rb +1 -1
  162. data/lib/Ice/LoggerF.rb +1 -1
  163. data/lib/Ice/Metrics.rb +1 -1
  164. data/lib/Ice/ObjectAdapterF.rb +1 -1
  165. data/lib/Ice/ObjectFactory.rb +1 -1
  166. data/lib/Ice/ObjectFactoryF.rb +1 -1
  167. data/lib/Ice/Plugin.rb +1 -1
  168. data/lib/Ice/PluginF.rb +1 -1
  169. data/lib/Ice/Process.rb +1 -1
  170. data/lib/Ice/ProcessF.rb +1 -1
  171. data/lib/Ice/Properties.rb +1 -1
  172. data/lib/Ice/PropertiesAdmin.rb +1 -1
  173. data/lib/Ice/PropertiesF.rb +1 -1
  174. data/lib/Ice/RemoteLogger.rb +292 -0
  175. data/lib/Ice/Router.rb +1 -1
  176. data/lib/Ice/RouterF.rb +1 -1
  177. data/lib/Ice/SliceChecksumDict.rb +1 -1
  178. data/lib/Ice/Version.rb +1 -1
  179. data/lib/IceBox/IceBox.rb +1 -1
  180. data/lib/IceGrid/Admin.rb +1 -1
  181. data/lib/IceGrid/Descriptor.rb +1 -1
  182. data/lib/IceGrid/Exception.rb +1 -1
  183. data/lib/IceGrid/FileParser.rb +1 -1
  184. data/lib/IceGrid/Locator.rb +1 -1
  185. data/lib/IceGrid/Observer.rb +1 -1
  186. data/lib/IceGrid/Query.rb +1 -1
  187. data/lib/IceGrid/Registry.rb +1 -1
  188. data/lib/IceGrid/Session.rb +1 -1
  189. data/lib/IceGrid/UserAccountMapper.rb +1 -1
  190. data/lib/IcePatch2/FileInfo.rb +1 -1
  191. data/lib/IcePatch2/FileServer.rb +1 -1
  192. data/lib/IceStorm/IceStorm.rb +1 -1
  193. data/lib/IceStorm/Metrics.rb +1 -1
  194. data/slice/IceLocatorDiscovery/IceLocatorDiscovery.ice +4 -0
  195. metadata +6 -4
@@ -17,8 +17,6 @@
17
17
  #include <Ice/Properties.h>
18
18
  #include <IceUtil/StringUtil.h>
19
19
 
20
- #include <IceUtil/DisableWarnings.h>
21
-
22
20
  #ifdef ICE_OS_WINRT
23
21
  # include <ppltasks.h> // For Concurrency::task
24
22
  #endif
@@ -126,6 +124,7 @@ IceInternal::UdpTransceiver::close()
126
124
  _readPending = false;
127
125
  }
128
126
  _received.clear();
127
+ _completedHandler = nullptr;
129
128
  #endif
130
129
 
131
130
  assert(_fd != INVALID_SOCKET);
@@ -391,6 +390,7 @@ IceInternal::UdpTransceiver::startWrite(Buffer& buf)
391
390
  auto operation = safe_cast<DatagramSocket^>(_fd)->ConnectAsync(_addr.host, _addr.port);
392
391
  if(!checkIfErrorOrCompleted(SocketOperationConnect, operation))
393
392
  {
393
+ SocketOperationCompletedHandler^ completed = _completedHandler;
394
394
  operation->Completed = ref new AsyncActionCompletedHandler(
395
395
  [=] (IAsyncAction^ info, Windows::Foundation::AsyncStatus status)
396
396
  {
@@ -404,7 +404,7 @@ IceInternal::UdpTransceiver::startWrite(Buffer& buf)
404
404
  _write.count = 0;
405
405
  _writer = ref new DataWriter(safe_cast<DatagramSocket^>(_fd)->OutputStream);
406
406
  }
407
- _completedHandler(SocketOperationConnect);
407
+ completed(SocketOperationConnect);
408
408
  });
409
409
  }
410
410
  else
@@ -418,6 +418,7 @@ IceInternal::UdpTransceiver::startWrite(Buffer& buf)
418
418
  auto operation = safe_cast<DatagramSocket^>(_fd)->GetOutputStreamAsync(_addr.host, _addr.port);
419
419
  if(!checkIfErrorOrCompleted(SocketOperationConnect, operation))
420
420
  {
421
+ SocketOperationCompletedHandler^ completed = _completedHandler;
421
422
  operation->Completed = ref new AsyncOperationCompletedHandler<IOutputStream^>(
422
423
  [=] (IAsyncOperation<IOutputStream^>^ info, Windows::Foundation::AsyncStatus status)
423
424
  {
@@ -435,7 +436,7 @@ IceInternal::UdpTransceiver::startWrite(Buffer& buf)
435
436
  {
436
437
  setMcastGroup(_fd, _mcastAddr, "");
437
438
  }
438
- _completedHandler(SocketOperationConnect);
439
+ completed(SocketOperationConnect);
439
440
  });
440
441
  }
441
442
  else
@@ -459,6 +460,7 @@ IceInternal::UdpTransceiver::startWrite(Buffer& buf)
459
460
  {
460
461
  try
461
462
  {
463
+ SocketOperationCompletedHandler^ completed = _completedHandler;
462
464
  DatagramSocket^ fd = safe_cast<DatagramSocket^>(_fd);
463
465
  concurrency::create_task(fd->GetOutputStreamAsync(_peerAddr.host, _peerAddr.port)).then(
464
466
  [=,&buf](concurrency::task<IOutputStream^> task)
@@ -480,7 +482,7 @@ IceInternal::UdpTransceiver::startWrite(Buffer& buf)
480
482
  // completed callback.
481
483
  //
482
484
  _write.count = operation->GetResults();
483
- _completedHandler(SocketOperationWrite);
485
+ completed(SocketOperationWrite);
484
486
  }
485
487
  else if(status == Windows::Foundation::AsyncStatus::Started)
486
488
  {
@@ -502,7 +504,7 @@ IceInternal::UdpTransceiver::startWrite(Buffer& buf)
502
504
  {
503
505
  _write.count = SOCKET_ERROR;
504
506
  _write.error = pex->HResult;
505
- _completedHandler(SocketOperationWrite);
507
+ completed(SocketOperationWrite);
506
508
  }
507
509
  });
508
510
  }
@@ -954,10 +956,19 @@ IceInternal::UdpTransceiver::UdpTransceiver(const ProtocolInstancePtr& instance,
954
956
  }
955
957
  #else
956
958
  DatagramSocket^ socket = safe_cast<DatagramSocket^>(_fd);
959
+ IceUtil::Handle<UdpTransceiver> self(this);
960
+ # if _WIN32_WINNT >= 0x0A00
961
+ // On Windows 10, it's necessary to set this property to allow Win32 applications to
962
+ // bind to the same multicast address
963
+ if(isMulticast(_addr))
964
+ {
965
+ socket->Control->MulticastOnly = true;
966
+ }
967
+ # endif
957
968
  socket->MessageReceived += ref new TypedEventHandler<DatagramSocket^, DatagramSocketMessageReceivedEventArgs^>(
958
969
  [=](DatagramSocket^ fd, DatagramSocketMessageReceivedEventArgs^ args)
959
970
  {
960
- this->appendMessage(args);
971
+ self->appendMessage(args);
961
972
  });
962
973
  #endif
963
974
 
@@ -1001,10 +1012,19 @@ IceInternal::UdpTransceiver::UdpTransceiver(const UdpEndpointIPtr& endpoint, con
1001
1012
  _mcastAddr.saStorage.ss_family = AF_UNSPEC;
1002
1013
  #else
1003
1014
  DatagramSocket^ socket = safe_cast<DatagramSocket^>(_fd);
1015
+ # if _WIN32_WINNT >= 0x0A00
1016
+ // On Windows 10, it's necessary to set this property to allow Win32 applications to
1017
+ // bind to the same multicast address
1018
+ if(isMulticast(_addr))
1019
+ {
1020
+ socket->Control->MulticastOnly = true;
1021
+ }
1022
+ # endif
1023
+ IceUtil::Handle<UdpTransceiver> self(this);
1004
1024
  socket->MessageReceived += ref new TypedEventHandler<DatagramSocket^, DatagramSocketMessageReceivedEventArgs^>(
1005
1025
  [=](DatagramSocket^ fd, DatagramSocketMessageReceivedEventArgs^ args)
1006
1026
  {
1007
- this->appendMessage(args);
1027
+ self->appendMessage(args);
1008
1028
  });
1009
1029
  #endif
1010
1030
  }
@@ -7,7 +7,7 @@
7
7
  //
8
8
  // **********************************************************************
9
9
  //
10
- // Ice version 3.6.0
10
+ // Ice version 3.6.1
11
11
  //
12
12
  // <auto-generated>
13
13
  //
@@ -34,7 +34,7 @@
34
34
  # if ICE_INT_VERSION % 100 > 50
35
35
  # error Beta header file detected
36
36
  # endif
37
- # if ICE_INT_VERSION % 100 < 0
37
+ # if ICE_INT_VERSION % 100 < 1
38
38
  # error Ice patch level mismatch!
39
39
  # endif
40
40
  #endif
@@ -21,8 +21,6 @@
21
21
  #include <IceUtil/SHA1.h>
22
22
  #include <IceUtil/StringUtil.h>
23
23
 
24
- #include <IceUtil/DisableWarnings.h>
25
-
26
24
  // Python 2.7 under Windows.
27
25
  #if _MSC_VER == 1500
28
26
  typedef unsigned short uint16_t;
@@ -480,6 +478,18 @@ IceInternal::WSTransceiver::close()
480
478
  {
481
479
  _delegate->close();
482
480
  _state = StateClosed;
481
+
482
+ //
483
+ // Clear the buffers now instead of waiting for destruction.
484
+ //
485
+ if(!_writePending)
486
+ {
487
+ _writeBuffer.b.clear();
488
+ }
489
+ if(!_readPending)
490
+ {
491
+ _readBuffer.b.clear();
492
+ }
483
493
  }
484
494
 
485
495
  SocketOperation
@@ -673,6 +683,7 @@ void
673
683
  IceInternal::WSTransceiver::finishWrite(Buffer& buf)
674
684
  {
675
685
  _writePending = false;
686
+
676
687
  if(_state < StateOpened)
677
688
  {
678
689
  if(_state < StateConnected)
@@ -696,6 +707,12 @@ IceInternal::WSTransceiver::finishWrite(Buffer& buf)
696
707
  _delegate->finishWrite(buf);
697
708
  }
698
709
 
710
+ if(_state == StateClosed)
711
+ {
712
+ _writeBuffer.b.clear();
713
+ return;
714
+ }
715
+
699
716
  postWrite(buf);
700
717
  }
701
718
 
@@ -778,6 +795,13 @@ IceInternal::WSTransceiver::finishRead(Buffer& buf, bool& hasMoreData)
778
795
  {
779
796
  _delegate->finishRead(_readBuffer, hasMoreData);
780
797
  }
798
+
799
+ if(_state == StateClosed)
800
+ {
801
+ _readBuffer.b.clear();
802
+ return;
803
+ }
804
+
781
805
  postRead(buf);
782
806
  }
783
807
  #endif
@@ -7,7 +7,7 @@
7
7
  //
8
8
  // **********************************************************************
9
9
  //
10
- // Ice version 3.6.0
10
+ // Ice version 3.6.1
11
11
  //
12
12
  // <auto-generated>
13
13
  //
@@ -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 < 0
38
+ # if ICE_INT_VERSION % 100 < 1
39
39
  # error Ice patch level mismatch!
40
40
  # endif
41
41
  #endif
@@ -7,7 +7,7 @@
7
7
  //
8
8
  // **********************************************************************
9
9
  //
10
- // Ice version 3.6.0
10
+ // Ice version 3.6.1
11
11
  //
12
12
  // <auto-generated>
13
13
  //
@@ -44,7 +44,7 @@
44
44
  # if ICE_INT_VERSION % 100 > 50
45
45
  # error Beta header file detected
46
46
  # endif
47
- # if ICE_INT_VERSION % 100 < 0
47
+ # if ICE_INT_VERSION % 100 < 1
48
48
  # error Ice patch level mismatch!
49
49
  # endif
50
50
  #endif
@@ -39,6 +39,17 @@ createIceDiscovery(const Ice::CommunicatorPtr& communicator, const string&, cons
39
39
 
40
40
  }
41
41
 
42
+ namespace Ice
43
+ {
44
+
45
+ ICE_DISCOVERY_API void
46
+ registerIceDiscovery(bool loadOnInitialize)
47
+ {
48
+ Ice::registerPluginFactory("IceDiscovery", createIceDiscovery, loadOnInitialize);
49
+ }
50
+
51
+ }
52
+
42
53
  PluginI::PluginI(const Ice::CommunicatorPtr& communicator) : _communicator(communicator)
43
54
  {
44
55
  }
@@ -7,7 +7,7 @@
7
7
  //
8
8
  // **********************************************************************
9
9
  //
10
- // Ice version 3.6.0
10
+ // Ice version 3.6.1
11
11
  //
12
12
  // <auto-generated>
13
13
  //
@@ -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 < 0
38
+ # if ICE_INT_VERSION % 100 < 1
39
39
  # error Ice patch level mismatch!
40
40
  # endif
41
41
  #endif
@@ -7,7 +7,7 @@
7
7
  //
8
8
  // **********************************************************************
9
9
  //
10
- // Ice version 3.6.0
10
+ // Ice version 3.6.1
11
11
  //
12
12
  // <auto-generated>
13
13
  //
@@ -46,7 +46,7 @@
46
46
  # if ICE_INT_VERSION % 100 > 50
47
47
  # error Beta header file detected
48
48
  # endif
49
- # if ICE_INT_VERSION % 100 < 0
49
+ # if ICE_INT_VERSION % 100 < 1
50
50
  # error Ice patch level mismatch!
51
51
  # endif
52
52
  #endif
@@ -38,6 +38,17 @@ createIceLocatorDiscovery(const Ice::CommunicatorPtr& communicator, const string
38
38
 
39
39
  }
40
40
 
41
+ namespace Ice
42
+ {
43
+
44
+ ICE_LOCATOR_DISCOVERY_API void
45
+ registerIceLocatorDiscovery(bool loadOnInitialize)
46
+ {
47
+ Ice::registerPluginFactory("IceLocatorDiscovery", createIceLocatorDiscovery, loadOnInitialize);
48
+ }
49
+
50
+ }
51
+
41
52
  namespace
42
53
  {
43
54
 
@@ -7,7 +7,7 @@
7
7
  //
8
8
  // **********************************************************************
9
9
  //
10
- // Ice version 3.6.0
10
+ // Ice version 3.6.1
11
11
  //
12
12
  // <auto-generated>
13
13
  //
@@ -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 < 0
38
+ # if ICE_INT_VERSION % 100 < 1
39
39
  # error Ice patch level mismatch!
40
40
  # endif
41
41
  #endif
@@ -7,7 +7,7 @@
7
7
  //
8
8
  // **********************************************************************
9
9
  //
10
- // Ice version 3.6.0
10
+ // Ice version 3.6.1
11
11
  //
12
12
  // <auto-generated>
13
13
  //
@@ -34,7 +34,7 @@
34
34
  # if ICE_INT_VERSION % 100 > 50
35
35
  # error Beta header file detected
36
36
  # endif
37
- # if ICE_INT_VERSION % 100 < 0
37
+ # if ICE_INT_VERSION % 100 < 1
38
38
  # error Ice patch level mismatch!
39
39
  # endif
40
40
  #endif
@@ -21,8 +21,6 @@
21
21
  #include <Ice/Buffer.h>
22
22
  #include <Ice/LocalException.h>
23
23
 
24
- #include <IceUtil/DisableWarnings.h>
25
-
26
24
  #ifdef ICE_USE_OPENSSL
27
25
 
28
26
  #include <openssl/err.h>
@@ -280,7 +278,7 @@ IceSSL::TransceiverI::initialize(IceInternal::Buffer& readBuffer, IceInternal::B
280
278
  {
281
279
  _verified = true;
282
280
  }
283
-
281
+
284
282
  _engine->verifyPeer(_stream->fd(), _host, NativeConnectionInfoPtr::dynamicCast(getInfo()));
285
283
 
286
284
  if(_engine->securityTraceLevel() >= 1)
@@ -34,6 +34,17 @@ createIceSSL(const CommunicatorPtr& communicator, const string& /*name*/, const
34
34
 
35
35
  }
36
36
 
37
+ namespace Ice
38
+ {
39
+
40
+ ICE_SSL_API void
41
+ registerIceSSL(bool loadOnInitialize)
42
+ {
43
+ Ice::registerPluginFactory("IceSSL", createIceSSL, loadOnInitialize);
44
+ }
45
+
46
+ }
47
+
37
48
  //
38
49
  // Plugin implementation.
39
50
  //
@@ -774,6 +774,13 @@ IceSSL::TransceiverI::close()
774
774
  }
775
775
 
776
776
  _stream->close();
777
+
778
+ //
779
+ // Clear the buffers now instead of waiting for destruction.
780
+ //
781
+ _writeBuffer.b.clear();
782
+ _readBuffer.b.clear();
783
+ _readUnprocessed.b.clear();
777
784
  }
778
785
 
779
786
  IceInternal::SocketOperation
@@ -8,7 +8,6 @@
8
8
  // **********************************************************************
9
9
 
10
10
  #include <IceUtil/ArgVector.h>
11
- #include <IceUtil/DisableWarnings.h>
12
11
  #include <cstring>
13
12
 
14
13
  IceUtilInternal::ArgVector::ArgVector(int argc, char* const argv[])
@@ -29,7 +29,8 @@
29
29
  #include <cstdlib>
30
30
 
31
31
 
32
- #if defined(__GNUC__) && !defined(__sun) && !defined(__FreeBSD__) && !defined(__MINGW32__)
32
+ #if defined(__GNUC__) && !defined(__sun) && !defined(__FreeBSD__) && !defined(__MINGW32__) && \
33
+ !(defined(__ARMEL__) && defined(__linux))
33
34
  # include <execinfo.h>
34
35
  # include <cxxabi.h>
35
36
  # define ICE_GCC_STACK_TRACES
@@ -99,6 +99,7 @@ Slice::FileTracker::setOutput(const string& output, bool error)
99
99
  _errors.insert(make_pair(_source, output));
100
100
  if(error)
101
101
  {
102
+ _generated.erase(_curr);
102
103
  _curr = _generated.end();
103
104
  }
104
105
  }
@@ -128,7 +129,7 @@ Slice::FileTracker::cleanup()
128
129
  {
129
130
  #ifdef _WIN32
130
131
  _unlink(p->first.c_str());
131
- #else
132
+ #else
132
133
  unlink(p->first.c_str());
133
134
  #endif
134
135
  }
@@ -136,7 +137,7 @@ Slice::FileTracker::cleanup()
136
137
  {
137
138
  #ifdef _WIN32
138
139
  _rmdir(p->first.c_str());
139
- #else
140
+ #else
140
141
  rmdir(p->first.c_str());
141
142
  #endif
142
143
  }
@@ -13,7 +13,6 @@
13
13
  #include <Slice/Util.h>
14
14
  #include <Slice/MD5.h>
15
15
  #include <IceUtil/Functional.h>
16
- #include <IceUtil/DisableWarnings.h>
17
16
 
18
17
  #include <sys/types.h>
19
18
  #include <sys/stat.h>