zeroc-ice 3.7.2 → 3.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/ext/Config.h +4 -0
- data/ext/Operation.cpp +5 -5
- data/ext/Properties.cpp +1 -1
- data/ext/Proxy.cpp +16 -2
- data/ext/Types.cpp +45 -40
- data/ext/Util.cpp +1 -1
- data/ext/Util.h +10 -8
- data/ext/ice/cpp/include/Ice/Config.h +4 -0
- data/ext/ice/cpp/include/Ice/FactoryTableInit.h +1 -1
- data/ext/ice/cpp/include/Ice/IconvStringConverter.h +4 -3
- data/ext/ice/cpp/include/Ice/InputStream.h +4 -4
- data/ext/ice/cpp/include/Ice/Optional.h +11 -0
- data/ext/ice/cpp/include/Ice/OutgoingAsync.h +1 -1
- data/ext/ice/cpp/include/Ice/OutputStream.h +5 -5
- data/ext/ice/cpp/include/Ice/Proxy.h +17 -5
- data/ext/ice/cpp/include/Ice/StreamHelpers.h +1 -1
- data/ext/ice/cpp/include/Ice/Value.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Atomic.h +1 -1
- data/ext/ice/cpp/include/IceUtil/Config.h +16 -6
- data/ext/ice/cpp/include/IceUtil/ConsoleUtil.h +4 -4
- data/ext/ice/cpp/include/IceUtil/Optional.h +8 -0
- data/ext/ice/cpp/include/IceUtil/OutputUtil.h +17 -14
- data/ext/ice/cpp/include/IceUtil/Random.h +1 -1
- data/ext/ice/cpp/include/IceUtil/ResourceConfig.h +2 -2
- data/ext/ice/cpp/include/IceUtil/ScannerConfig.h +6 -0
- data/ext/ice/cpp/include/IceUtil/StringConverter.h +1 -1
- data/ext/ice/cpp/include/generated/Ice/BuiltinSequences.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Communicator.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/CommunicatorF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Connection.h +33 -36
- data/ext/ice/cpp/include/generated/Ice/ConnectionF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Current.h +20 -21
- data/ext/ice/cpp/include/generated/Ice/Endpoint.h +24 -24
- data/ext/ice/cpp/include/generated/Ice/EndpointF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/EndpointTypes.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/FacetMap.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Identity.h +4 -5
- data/ext/ice/cpp/include/generated/Ice/ImplicitContext.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/ImplicitContextF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Instrumentation.h +15 -15
- data/ext/ice/cpp/include/generated/Ice/InstrumentationF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/LocalException.h +27 -93
- data/ext/ice/cpp/include/generated/Ice/Locator.h +27 -32
- data/ext/ice/cpp/include/generated/Ice/LocatorF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Logger.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/LoggerF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Metrics.h +75 -79
- data/ext/ice/cpp/include/generated/Ice/ObjectAdapter.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/ObjectAdapterF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/ObjectFactory.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Plugin.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/PluginF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Process.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/ProcessF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Properties.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/PropertiesAdmin.h +9 -9
- data/ext/ice/cpp/include/generated/Ice/PropertiesF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/RemoteLogger.h +9 -11
- data/ext/ice/cpp/include/generated/Ice/Router.h +22 -22
- data/ext/ice/cpp/include/generated/Ice/RouterF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/ServantLocator.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/ServantLocatorF.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/SliceChecksumDict.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/ValueFactory.h +3 -3
- data/ext/ice/cpp/include/generated/Ice/Version.h +15 -17
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +3 -3
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +3 -3
- data/ext/ice/cpp/include/generated/IceSSL/EndpointInfo.h +3 -3
- data/ext/ice/cpp/src/Ice/ArgVector.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Base64.cpp +11 -12
- data/ext/ice/cpp/src/Ice/BatchRequestQueue.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Buffer.cpp +2 -2
- data/ext/ice/cpp/src/Ice/BuiltinSequences.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Communicator.cpp +3 -3
- data/ext/ice/cpp/src/Ice/CommunicatorF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/CommunicatorI.cpp +19 -0
- data/ext/ice/cpp/src/Ice/CommunicatorI.h +5 -0
- data/ext/ice/cpp/src/Ice/Connection.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ConnectionF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ConnectionI.cpp +31 -16
- data/ext/ice/cpp/src/Ice/Current.cpp +3 -3
- data/ext/ice/cpp/src/Ice/DispatchInterceptor.cpp +13 -0
- data/ext/ice/cpp/src/Ice/DynamicLibrary.cpp +6 -5
- data/ext/ice/cpp/src/Ice/Endpoint.cpp +3 -3
- data/ext/ice/cpp/src/Ice/EndpointF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/EndpointTypes.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Exception.cpp +5 -5
- data/ext/ice/cpp/src/Ice/FacetMap.cpp +3 -3
- data/ext/ice/cpp/src/Ice/HashUtil.h +1 -1
- data/ext/ice/cpp/src/Ice/IPEndpointI.cpp +12 -1
- data/ext/ice/cpp/src/Ice/Identity.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ImplicitContext.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ImplicitContextF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Incoming.cpp +2 -0
- data/ext/ice/cpp/src/Ice/Initialize.cpp +4 -3
- data/ext/ice/cpp/src/Ice/InputStream.cpp +19 -19
- data/ext/ice/cpp/src/Ice/Instance.cpp +28 -8
- data/ext/ice/cpp/src/Ice/Instrumentation.cpp +3 -3
- data/ext/ice/cpp/src/Ice/InstrumentationF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/LocalException.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Locator.cpp +7 -7
- data/ext/ice/cpp/src/Ice/LocatorF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Logger.cpp +3 -3
- data/ext/ice/cpp/src/Ice/LoggerAdminI.cpp +1 -7
- data/ext/ice/cpp/src/Ice/LoggerF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/LoggerI.cpp +6 -0
- data/ext/ice/cpp/src/Ice/Metrics.cpp +5 -5
- data/ext/ice/cpp/src/Ice/Network.cpp +23 -22
- data/ext/ice/cpp/src/Ice/Network.h +1 -1
- data/ext/ice/cpp/src/Ice/OSLogLoggerI.cpp +57 -0
- data/ext/ice/cpp/src/Ice/OSLogLoggerI.h +40 -0
- data/ext/ice/cpp/src/Ice/Object.cpp +9 -7
- data/ext/ice/cpp/src/Ice/ObjectAdapter.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ObjectAdapterF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ObjectAdapterI.cpp +13 -1
- data/ext/ice/cpp/src/Ice/ObjectAdapterI.h +4 -0
- data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +3 -3
- data/ext/ice/cpp/src/Ice/OutgoingAsync.cpp +1 -1
- data/ext/ice/cpp/src/Ice/OutputStream.cpp +24 -24
- data/ext/ice/cpp/src/Ice/Plugin.cpp +3 -3
- data/ext/ice/cpp/src/Ice/PluginF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Process.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ProcessF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Properties.cpp +3 -3
- data/ext/ice/cpp/src/Ice/PropertiesAdmin.cpp +4 -4
- data/ext/ice/cpp/src/Ice/PropertiesF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/PropertyNames.cpp +2 -1
- data/ext/ice/cpp/src/Ice/PropertyNames.h +1 -1
- data/ext/ice/cpp/src/Ice/Proxy.cpp +6 -0
- data/ext/ice/cpp/src/Ice/ProxyFactory.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ReferenceFactory.cpp +1 -1
- data/ext/ice/cpp/src/Ice/RegisterPluginsInit.cpp +3 -2
- data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Router.cpp +6 -6
- data/ext/ice/cpp/src/Ice/RouterF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/SHA1.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Selector.cpp +18 -13
- data/ext/ice/cpp/src/Ice/ServantLocator.cpp +3 -3
- data/ext/ice/cpp/src/Ice/ServantLocatorF.cpp +3 -3
- data/ext/ice/cpp/src/Ice/SliceChecksumDict.cpp +3 -3
- data/ext/ice/cpp/src/Ice/StreamSocket.cpp +6 -6
- data/ext/ice/cpp/src/Ice/TcpAcceptor.cpp +6 -0
- data/ext/ice/cpp/src/Ice/TcpConnector.cpp +5 -0
- data/ext/ice/cpp/src/Ice/TcpEndpointI.cpp +5 -0
- data/ext/ice/cpp/src/Ice/TcpTransceiver.cpp +5 -0
- data/ext/ice/cpp/src/Ice/ThreadPool.cpp +63 -0
- data/ext/ice/cpp/src/Ice/ThreadPool.h +10 -2
- data/ext/ice/cpp/src/Ice/Timer.cpp +10 -0
- data/ext/ice/cpp/src/Ice/UdpEndpointI.cpp +11 -1
- data/ext/ice/cpp/src/Ice/UdpTransceiver.cpp +10 -2
- data/ext/ice/cpp/src/Ice/ValueFactory.cpp +3 -3
- data/ext/ice/cpp/src/Ice/Version.cpp +3 -3
- data/ext/ice/cpp/src/Ice/WSTransceiver.cpp +16 -15
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +3 -3
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +3 -3
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.cpp +3 -3
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.h +3 -3
- data/ext/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +37 -8
- data/ext/ice/cpp/src/IceSSL/CertificateI.cpp +3 -3
- data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +3 -3
- data/ext/ice/cpp/src/IceSSL/ConnectionInfoF.cpp +3 -3
- data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +3 -3
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.cpp +4 -16
- data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.h +0 -1
- data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +40 -3
- data/ext/ice/cpp/src/IceSSL/SChannelEngine.cpp +0 -7
- data/ext/ice/cpp/src/IceSSL/SChannelEngine.h +0 -2
- data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +18 -6
- data/ext/ice/cpp/src/IceSSL/SSLEngine.cpp +19 -7
- data/ext/ice/cpp/src/IceSSL/SSLEngine.h +2 -0
- data/ext/ice/cpp/src/IceSSL/SecureTransportCertificateI.cpp +32 -21
- data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +21 -6
- data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.cpp +19 -16
- data/ext/ice/cpp/src/IceSSL/Util.cpp +11 -5
- data/ext/ice/cpp/src/IceUtil/FileUtil.cpp +1 -1
- data/ext/ice/cpp/src/IceUtil/Options.cpp +3 -3
- data/ext/ice/cpp/src/IceUtil/OutputUtil.cpp +40 -10
- data/ext/ice/cpp/src/IceUtil/Random.cpp +2 -2
- data/ext/ice/cpp/src/IceUtil/StringConverter.cpp +5 -5
- data/ext/ice/cpp/src/IceUtil/StringUtil.cpp +3 -3
- data/ext/ice/cpp/src/IceUtil/Time.cpp +3 -3
- data/ext/ice/cpp/src/IceUtil/UUID.cpp +5 -5
- data/ext/ice/cpp/src/IceUtil/UtilException.cpp +4 -4
- data/ext/ice/cpp/src/Slice/CPlusPlusUtil.cpp +13 -9
- data/ext/ice/cpp/src/Slice/CPlusPlusUtil.h +1 -1
- data/ext/ice/cpp/src/Slice/Grammar.cpp +8 -0
- data/ext/ice/cpp/src/Slice/JavaUtil.cpp +1 -2
- data/ext/ice/cpp/src/Slice/MD5I.cpp +8 -0
- data/ext/ice/cpp/src/Slice/Parser.cpp +60 -112
- data/ext/ice/cpp/src/Slice/Parser.h +27 -1
- data/ext/ice/cpp/src/Slice/Preprocessor.cpp +2 -1
- data/ext/ice/cpp/src/Slice/PythonUtil.cpp +10 -10
- data/ext/ice/cpp/src/Slice/RubyUtil.cpp +1 -1
- data/ext/ice/cpp/src/Slice/Scanner.cpp +8 -0
- data/ext/ice/cpp/src/Slice/StringLiteralUtil.cpp +11 -6
- data/ext/ice/mcpp/Makefile +2 -5
- data/ice.gemspec +1 -1
- data/lib/Glacier2/Metrics.rb +1 -1
- data/lib/Glacier2/PermissionsVerifier.rb +1 -1
- data/lib/Glacier2/PermissionsVerifierF.rb +1 -1
- data/lib/Glacier2/Router.rb +1 -1
- data/lib/Glacier2/RouterF.rb +1 -1
- data/lib/Glacier2/SSLInfo.rb +1 -1
- data/lib/Glacier2/Session.rb +1 -1
- data/lib/Ice/BuiltinSequences.rb +1 -1
- data/lib/Ice/Communicator.rb +1 -1
- data/lib/Ice/CommunicatorF.rb +1 -1
- data/lib/Ice/Connection.rb +1 -1
- data/lib/Ice/ConnectionF.rb +1 -1
- data/lib/Ice/Current.rb +1 -1
- data/lib/Ice/Endpoint.rb +1 -1
- data/lib/Ice/EndpointF.rb +1 -1
- data/lib/Ice/EndpointTypes.rb +1 -1
- data/lib/Ice/FacetMap.rb +1 -1
- data/lib/Ice/Identity.rb +1 -1
- data/lib/Ice/ImplicitContext.rb +1 -1
- data/lib/Ice/ImplicitContextF.rb +1 -1
- data/lib/Ice/Instrumentation.rb +1 -1
- data/lib/Ice/InstrumentationF.rb +1 -1
- data/lib/Ice/LocalException.rb +1 -1
- data/lib/Ice/Locator.rb +1 -1
- data/lib/Ice/LocatorF.rb +1 -1
- data/lib/Ice/Logger.rb +1 -1
- data/lib/Ice/LoggerF.rb +1 -1
- data/lib/Ice/Metrics.rb +1 -1
- data/lib/Ice/ObjectAdapter.rb +1 -1
- data/lib/Ice/ObjectAdapterF.rb +1 -1
- data/lib/Ice/ObjectFactory.rb +1 -1
- data/lib/Ice/Plugin.rb +1 -1
- data/lib/Ice/PluginF.rb +1 -1
- data/lib/Ice/Process.rb +1 -1
- data/lib/Ice/ProcessF.rb +1 -1
- data/lib/Ice/Properties.rb +1 -1
- data/lib/Ice/PropertiesAdmin.rb +1 -1
- data/lib/Ice/PropertiesF.rb +1 -1
- data/lib/Ice/RemoteLogger.rb +1 -1
- data/lib/Ice/Router.rb +1 -1
- data/lib/Ice/RouterF.rb +1 -1
- data/lib/Ice/ServantLocator.rb +1 -1
- data/lib/Ice/ServantLocatorF.rb +1 -1
- data/lib/Ice/SliceChecksumDict.rb +1 -1
- data/lib/Ice/ValueFactory.rb +1 -1
- data/lib/Ice/Version.rb +1 -1
- data/lib/IceBox/IceBox.rb +1 -1
- data/lib/IceGrid/Admin.rb +1 -1
- data/lib/IceGrid/Descriptor.rb +1 -1
- data/lib/IceGrid/Exception.rb +1 -1
- data/lib/IceGrid/FileParser.rb +1 -1
- data/lib/IceGrid/PluginFacade.rb +1 -1
- data/lib/IceGrid/Registry.rb +1 -1
- data/lib/IceGrid/Session.rb +1 -1
- data/lib/IceGrid/UserAccountMapper.rb +1 -1
- data/lib/IcePatch2/FileInfo.rb +1 -1
- data/lib/IcePatch2/FileServer.rb +1 -1
- data/lib/IceStorm/IceStorm.rb +1 -1
- data/lib/IceStorm/Metrics.rb +1 -1
- data/slice/Glacier2/Metrics.ice +1 -1
- data/slice/Ice/Communicator.ice +57 -25
- data/slice/Ice/Connection.ice +14 -14
- data/slice/Ice/Current.ice +1 -1
- data/slice/Ice/Endpoint.ice +6 -6
- data/slice/Ice/EndpointF.ice +1 -1
- data/slice/Ice/FacetMap.ice +1 -1
- data/slice/Ice/ImplicitContext.ice +6 -6
- data/slice/Ice/Instrumentation.ice +6 -6
- data/slice/Ice/Logger.ice +6 -6
- data/slice/Ice/Metrics.ice +12 -9
- data/slice/Ice/ObjectAdapter.ice +43 -31
- data/slice/Ice/ObjectFactory.ice +1 -1
- data/slice/Ice/Plugin.ice +2 -2
- data/slice/Ice/Properties.ice +10 -10
- data/slice/Ice/ServantLocator.ice +4 -2
- data/slice/Ice/ValueFactory.ice +3 -3
- data/slice/IceBT/EndpointInfo.ice +1 -1
- data/slice/IceGrid/PluginFacade.ice +4 -4
- data/slice/IceIAP/ConnectionInfo.ice +1 -1
- data/slice/IceIAP/EndpointInfo.ice +1 -1
- data/slice/IceSSL/ConnectionInfo.ice +3 -2
- data/slice/IceSSL/ConnectionInfoF.ice +1 -1
- data/slice/IceSSL/EndpointInfo.ice +1 -1
- data/slice/IceStorm/Metrics.ice +1 -1
- metadata +5 -3
@@ -2,7 +2,7 @@
|
|
2
2
|
// Copyright (c) ZeroC, Inc. All rights reserved.
|
3
3
|
//
|
4
4
|
//
|
5
|
-
// Ice version 3.7.
|
5
|
+
// Ice version 3.7.3
|
6
6
|
//
|
7
7
|
// <auto-generated>
|
8
8
|
//
|
@@ -34,10 +34,10 @@
|
|
34
34
|
# if ICE_INT_VERSION / 100 != 307
|
35
35
|
# error Ice version mismatch!
|
36
36
|
# endif
|
37
|
-
# if ICE_INT_VERSION % 100
|
37
|
+
# if ICE_INT_VERSION % 100 >= 50
|
38
38
|
# error Beta header file detected
|
39
39
|
# endif
|
40
|
-
# if ICE_INT_VERSION % 100 <
|
40
|
+
# if ICE_INT_VERSION % 100 < 3
|
41
41
|
# error Ice patch level mismatch!
|
42
42
|
# endif
|
43
43
|
#endif
|
@@ -2,7 +2,7 @@
|
|
2
2
|
// Copyright (c) ZeroC, Inc. All rights reserved.
|
3
3
|
//
|
4
4
|
//
|
5
|
-
// Ice version 3.7.
|
5
|
+
// Ice version 3.7.3
|
6
6
|
//
|
7
7
|
// <auto-generated>
|
8
8
|
//
|
@@ -32,10 +32,10 @@
|
|
32
32
|
# if ICE_INT_VERSION / 100 != 307
|
33
33
|
# error Ice version mismatch!
|
34
34
|
# endif
|
35
|
-
# if ICE_INT_VERSION % 100
|
35
|
+
# if ICE_INT_VERSION % 100 >= 50
|
36
36
|
# error Beta header file detected
|
37
37
|
# endif
|
38
|
-
# if ICE_INT_VERSION % 100 <
|
38
|
+
# if ICE_INT_VERSION % 100 < 3
|
39
39
|
# error Ice patch level mismatch!
|
40
40
|
# endif
|
41
41
|
#endif
|
@@ -59,6 +59,8 @@ IceInternal::IncomingBase::IncomingBase(Instance* instance, ResponseHandler* res
|
|
59
59
|
_current.con = connection;
|
60
60
|
#endif
|
61
61
|
_current.requestId = requestId;
|
62
|
+
_current.encoding.major = 0;
|
63
|
+
_current.encoding.minor = 0;
|
62
64
|
}
|
63
65
|
|
64
66
|
IceInternal::IncomingBase::IncomingBase(IncomingBase& other) :
|
@@ -570,11 +570,12 @@ Ice::stringToIdentity(const string& s)
|
|
570
570
|
// Find unescaped separator; note that the string may contain an escaped
|
571
571
|
// backslash before the separator.
|
572
572
|
//
|
573
|
-
string::size_type slash = string::npos
|
573
|
+
string::size_type slash = string::npos;
|
574
|
+
string::size_type pos = 0;
|
574
575
|
while((pos = s.find('/', pos)) != string::npos)
|
575
576
|
{
|
576
|
-
|
577
|
-
while(static_cast<int>(pos
|
577
|
+
string::size_type escapes = 0;
|
578
|
+
while(static_cast<int>(pos - escapes) > 0 && s[pos - escapes - 1] == '\\')
|
578
579
|
{
|
579
580
|
escapes++;
|
580
581
|
}
|
@@ -331,7 +331,7 @@ Ice::InputStream::skipEncapsulation()
|
|
331
331
|
EncodingVersion encoding;
|
332
332
|
read(encoding.major);
|
333
333
|
read(encoding.minor);
|
334
|
-
i += sz - sizeof(Int) - 2;
|
334
|
+
i += static_cast<size_t>(sz) - sizeof(Int) - 2;
|
335
335
|
return encoding;
|
336
336
|
}
|
337
337
|
|
@@ -432,7 +432,7 @@ Ice::InputStream::read(std::vector<Ice::Byte>& v)
|
|
432
432
|
read(p);
|
433
433
|
if(p.first != p.second)
|
434
434
|
{
|
435
|
-
v.resize(static_cast<
|
435
|
+
v.resize(static_cast<size_t>(p.second - p.first));
|
436
436
|
copy(p.first, p.second, v.begin());
|
437
437
|
}
|
438
438
|
else
|
@@ -463,7 +463,7 @@ Ice::InputStream::read(vector<bool>& v)
|
|
463
463
|
Int sz = readAndCheckSeqSize(1);
|
464
464
|
if(sz > 0)
|
465
465
|
{
|
466
|
-
v.resize(sz);
|
466
|
+
v.resize(static_cast<size_t>(sz));
|
467
467
|
copy(i, i + sz, v.begin());
|
468
468
|
i += sz;
|
469
469
|
}
|
@@ -571,7 +571,7 @@ Ice::InputStream::read(vector<Short>& v)
|
|
571
571
|
{
|
572
572
|
Container::iterator begin = i;
|
573
573
|
i += sz * static_cast<int>(sizeof(Short));
|
574
|
-
v.resize(sz);
|
574
|
+
v.resize(static_cast<size_t>(sz));
|
575
575
|
#ifdef ICE_BIG_ENDIAN
|
576
576
|
const Byte* src = &(*begin);
|
577
577
|
Byte* dest = reinterpret_cast<Byte*>(&v[0]) + sizeof(Short) - 1;
|
@@ -651,7 +651,7 @@ Ice::InputStream::read(vector<Int>& v)
|
|
651
651
|
{
|
652
652
|
Container::iterator begin = i;
|
653
653
|
i += sz * static_cast<int>(sizeof(Int));
|
654
|
-
v.resize(sz);
|
654
|
+
v.resize(static_cast<size_t>(sz));
|
655
655
|
#ifdef ICE_BIG_ENDIAN
|
656
656
|
const Byte* src = &(*begin);
|
657
657
|
Byte* dest = reinterpret_cast<Byte*>(&v[0]) + sizeof(Int) - 1;
|
@@ -768,7 +768,7 @@ Ice::InputStream::read(vector<Long>& v)
|
|
768
768
|
{
|
769
769
|
Container::iterator begin = i;
|
770
770
|
i += sz * static_cast<int>(sizeof(Long));
|
771
|
-
v.resize(sz);
|
771
|
+
v.resize(static_cast<size_t>(sz));
|
772
772
|
#ifdef ICE_BIG_ENDIAN
|
773
773
|
const Byte* src = &(*begin);
|
774
774
|
Byte* dest = reinterpret_cast<Byte*>(&v[0]) + sizeof(Long) - 1;
|
@@ -885,7 +885,7 @@ Ice::InputStream::read(vector<Float>& v)
|
|
885
885
|
{
|
886
886
|
Container::iterator begin = i;
|
887
887
|
i += sz * static_cast<int>(sizeof(Float));
|
888
|
-
v.resize(sz);
|
888
|
+
v.resize(static_cast<size_t>(sz));
|
889
889
|
#ifdef ICE_BIG_ENDIAN
|
890
890
|
const Byte* src = &(*begin);
|
891
891
|
Byte* dest = reinterpret_cast<Byte*>(&v[0]) + sizeof(Float) - 1;
|
@@ -1002,7 +1002,7 @@ Ice::InputStream::read(vector<Double>& v)
|
|
1002
1002
|
{
|
1003
1003
|
Container::iterator begin = i;
|
1004
1004
|
i += sz * static_cast<int>(sizeof(Double));
|
1005
|
-
v.resize(sz);
|
1005
|
+
v.resize(static_cast<size_t>(sz));
|
1006
1006
|
#ifdef ICE_BIG_ENDIAN
|
1007
1007
|
const Byte* src = &(*begin);
|
1008
1008
|
Byte* dest = reinterpret_cast<Byte*>(&v[0]) + sizeof(Double) - 1;
|
@@ -1266,8 +1266,8 @@ Ice::InputStream::read(vector<string>& v, bool convert)
|
|
1266
1266
|
Int sz = readAndCheckSeqSize(1);
|
1267
1267
|
if(sz > 0)
|
1268
1268
|
{
|
1269
|
-
v.resize(sz);
|
1270
|
-
for(
|
1269
|
+
v.resize(static_cast<size_t>(sz));
|
1270
|
+
for(size_t j = 0; j < static_cast<size_t>(sz); ++j)
|
1271
1271
|
{
|
1272
1272
|
read(v[j], convert);
|
1273
1273
|
}
|
@@ -1318,11 +1318,11 @@ Ice::InputStream::read(wstring& v)
|
|
1318
1318
|
void
|
1319
1319
|
Ice::InputStream::read(vector<wstring>& v)
|
1320
1320
|
{
|
1321
|
-
|
1321
|
+
size_t sz = static_cast<size_t>(readAndCheckSeqSize(1));
|
1322
1322
|
if(sz > 0)
|
1323
1323
|
{
|
1324
1324
|
v.resize(sz);
|
1325
|
-
for(
|
1325
|
+
for(size_t j = 0; j < sz; ++j)
|
1326
1326
|
{
|
1327
1327
|
read(v[j]);
|
1328
1328
|
}
|
@@ -1479,7 +1479,7 @@ Ice::InputStream::skipOptional(OptionalFormat type)
|
|
1479
1479
|
}
|
1480
1480
|
case ICE_SCOPED_ENUM(OptionalFormat, VSize):
|
1481
1481
|
{
|
1482
|
-
skip(readSize());
|
1482
|
+
skip(static_cast<size_t>(readSize()));
|
1483
1483
|
break;
|
1484
1484
|
}
|
1485
1485
|
case ICE_SCOPED_ENUM(OptionalFormat, FSize):
|
@@ -1490,7 +1490,7 @@ Ice::InputStream::skipOptional(OptionalFormat type)
|
|
1490
1490
|
{
|
1491
1491
|
throw UnmarshalOutOfBoundsException(__FILE__, __LINE__);
|
1492
1492
|
}
|
1493
|
-
skip(sz);
|
1493
|
+
skip(static_cast<size_t>(sz));
|
1494
1494
|
break;
|
1495
1495
|
}
|
1496
1496
|
case ICE_SCOPED_ENUM(OptionalFormat, Class):
|
@@ -2116,7 +2116,7 @@ Ice::InputStream::EncapsDecoder10::skipSlice()
|
|
2116
2116
|
{
|
2117
2117
|
_stream->traceSkipSlice(_typeId, _sliceType);
|
2118
2118
|
assert(_sliceSize >= 4);
|
2119
|
-
_stream->skip(_sliceSize - sizeof(Int));
|
2119
|
+
_stream->skip(static_cast<size_t>(_sliceSize) - sizeof(Int));
|
2120
2120
|
}
|
2121
2121
|
|
2122
2122
|
void
|
@@ -2446,7 +2446,7 @@ Ice::InputStream::EncapsDecoder11::endSlice()
|
|
2446
2446
|
//
|
2447
2447
|
if(_current->sliceFlags & FLAG_HAS_INDIRECTION_TABLE)
|
2448
2448
|
{
|
2449
|
-
IndexList indirectionTable(_stream->readAndCheckSeqSize(1));
|
2449
|
+
IndexList indirectionTable(static_cast<size_t>(_stream->readAndCheckSeqSize(1)));
|
2450
2450
|
for(IndexList::iterator p = indirectionTable.begin(); p != indirectionTable.end(); ++p)
|
2451
2451
|
{
|
2452
2452
|
*p = readInstance(_stream->readSize(), 0, 0);
|
@@ -2477,7 +2477,7 @@ Ice::InputStream::EncapsDecoder11::endSlice()
|
|
2477
2477
|
{
|
2478
2478
|
throw MarshalException(__FILE__, __LINE__, "indirection out of range");
|
2479
2479
|
}
|
2480
|
-
addPatchEntry(indirectionTable[p->index], p->patchFunc, p->patchAddr);
|
2480
|
+
addPatchEntry(indirectionTable[static_cast<size_t>(p->index)], p->patchFunc, p->patchAddr);
|
2481
2481
|
}
|
2482
2482
|
_current->indirectPatchList.clear();
|
2483
2483
|
}
|
@@ -2493,7 +2493,7 @@ Ice::InputStream::EncapsDecoder11::skipSlice()
|
|
2493
2493
|
if(_current->sliceFlags & FLAG_HAS_SLICE_SIZE)
|
2494
2494
|
{
|
2495
2495
|
assert(_current->sliceSize >= 4);
|
2496
|
-
_stream->skip(_current->sliceSize - sizeof(Int));
|
2496
|
+
_stream->skip(static_cast<size_t>(_current->sliceSize) - sizeof(Int));
|
2497
2497
|
}
|
2498
2498
|
else
|
2499
2499
|
{
|
@@ -2544,7 +2544,7 @@ Ice::InputStream::EncapsDecoder11::skipSlice()
|
|
2544
2544
|
if(_current->sliceFlags & FLAG_HAS_INDIRECTION_TABLE)
|
2545
2545
|
{
|
2546
2546
|
IndexList& table = _current->indirectionTables.back();
|
2547
|
-
table.resize(_stream->readAndCheckSeqSize(1));
|
2547
|
+
table.resize(static_cast<size_t>(_stream->readAndCheckSeqSize(1)));
|
2548
2548
|
for(IndexList::iterator p = table.begin(); p != table.end(); ++p)
|
2549
2549
|
{
|
2550
2550
|
*p = readInstance(_stream->readSize(), 0, 0);
|
@@ -51,6 +51,10 @@
|
|
51
51
|
#include <stdio.h>
|
52
52
|
#include <list>
|
53
53
|
|
54
|
+
#ifdef __APPLE__
|
55
|
+
# include <Ice/OSLogLoggerI.h>
|
56
|
+
#endif
|
57
|
+
|
54
58
|
#ifndef _WIN32
|
55
59
|
# include <Ice/SysLoggerI.h>
|
56
60
|
# include <Ice/SystemdJournalI.h>
|
@@ -61,7 +65,7 @@
|
|
61
65
|
# include <sys/types.h>
|
62
66
|
#endif
|
63
67
|
|
64
|
-
#if defined(
|
68
|
+
#if defined(__linux__) || defined(__sun) || defined(_AIX) || defined(__GLIBC__)
|
65
69
|
# include <grp.h> // for initgroups
|
66
70
|
#endif
|
67
71
|
|
@@ -1033,7 +1037,7 @@ IceInternal::Instance::Instance(const CommunicatorPtr& communicator, const Initi
|
|
1033
1037
|
throw SyscallException(__FILE__, __LINE__, getSystemErrno());
|
1034
1038
|
}
|
1035
1039
|
|
1036
|
-
if(initgroups(pw->pw_name, pw->pw_gid) == -1)
|
1040
|
+
if(initgroups(pw->pw_name, static_cast<int>(pw->pw_gid)) == -1)
|
1037
1041
|
{
|
1038
1042
|
throw SyscallException(__FILE__, __LINE__, getSystemErrno());
|
1039
1043
|
}
|
@@ -1096,19 +1100,35 @@ IceInternal::Instance::Instance(const CommunicatorPtr& communicator, const Initi
|
|
1096
1100
|
_initData.properties->getProperty("Ice.ProgramName"),
|
1097
1101
|
_initData.properties->getPropertyWithDefault("Ice.SyslogFacility", "LOG_USER"));
|
1098
1102
|
}
|
1099
|
-
|
1100
|
-
|
1103
|
+
else
|
1104
|
+
#endif
|
1105
|
+
|
1106
|
+
#ifdef ICE_SWIFT
|
1107
|
+
if(!_initData.logger && _initData.properties->getPropertyAsInt("Ice.UseOSLog") > 0)
|
1108
|
+
{
|
1109
|
+
_initData.logger = ICE_MAKE_SHARED(OSLogLoggerI,
|
1110
|
+
_initData.properties->getProperty("Ice.ProgramName"));
|
1111
|
+
}
|
1112
|
+
else
|
1113
|
+
#endif
|
1114
|
+
|
1115
|
+
#ifdef ICE_USE_SYSTEMD
|
1116
|
+
if(_initData.properties->getPropertyAsInt("Ice.UseSystemdJournal") > 0)
|
1101
1117
|
{
|
1102
1118
|
_initData.logger = ICE_MAKE_SHARED(SystemdJournalI,
|
1103
1119
|
_initData.properties->getProperty("Ice.ProgramName"));
|
1104
1120
|
}
|
1105
|
-
# endif
|
1106
1121
|
else
|
1107
1122
|
#endif
|
1108
1123
|
if(!logfile.empty())
|
1109
1124
|
{
|
1110
|
-
|
1111
|
-
|
1125
|
+
Int sz = _initData.properties->getPropertyAsIntWithDefault("Ice.LogFile.SizeMax", 0);
|
1126
|
+
if(sz < 0)
|
1127
|
+
{
|
1128
|
+
sz = 0;
|
1129
|
+
}
|
1130
|
+
_initData.logger = ICE_MAKE_SHARED(LoggerI, _initData.properties->getProperty("Ice.ProgramName"),
|
1131
|
+
logfile, true, static_cast<size_t>(sz));
|
1112
1132
|
}
|
1113
1133
|
else
|
1114
1134
|
{
|
@@ -1165,7 +1185,7 @@ IceInternal::Instance::Instance(const CommunicatorPtr& communicator, const Initi
|
|
1165
1185
|
Int num = _initData.properties->getPropertyAsIntWithDefault("Ice.BatchAutoFlushSize", 1024); // 1MB default
|
1166
1186
|
if(num < 1)
|
1167
1187
|
{
|
1168
|
-
const_cast<size_t&>(_batchAutoFlushSize) = num;
|
1188
|
+
const_cast<size_t&>(_batchAutoFlushSize) = static_cast<size_t>(num);
|
1169
1189
|
}
|
1170
1190
|
else if(static_cast<size_t>(num) > static_cast<size_t>(0x7fffffff / 1024))
|
1171
1191
|
{
|
@@ -2,7 +2,7 @@
|
|
2
2
|
// Copyright (c) ZeroC, Inc. All rights reserved.
|
3
3
|
//
|
4
4
|
//
|
5
|
-
// Ice version 3.7.
|
5
|
+
// Ice version 3.7.3
|
6
6
|
//
|
7
7
|
// <auto-generated>
|
8
8
|
//
|
@@ -34,10 +34,10 @@
|
|
34
34
|
# if ICE_INT_VERSION / 100 != 307
|
35
35
|
# error Ice version mismatch!
|
36
36
|
# endif
|
37
|
-
# if ICE_INT_VERSION % 100
|
37
|
+
# if ICE_INT_VERSION % 100 >= 50
|
38
38
|
# error Beta header file detected
|
39
39
|
# endif
|
40
|
-
# if ICE_INT_VERSION % 100 <
|
40
|
+
# if ICE_INT_VERSION % 100 < 3
|
41
41
|
# error Ice patch level mismatch!
|
42
42
|
# endif
|
43
43
|
#endif
|
@@ -2,7 +2,7 @@
|
|
2
2
|
// Copyright (c) ZeroC, Inc. All rights reserved.
|
3
3
|
//
|
4
4
|
//
|
5
|
-
// Ice version 3.7.
|
5
|
+
// Ice version 3.7.3
|
6
6
|
//
|
7
7
|
// <auto-generated>
|
8
8
|
//
|
@@ -32,10 +32,10 @@
|
|
32
32
|
# if ICE_INT_VERSION / 100 != 307
|
33
33
|
# error Ice version mismatch!
|
34
34
|
# endif
|
35
|
-
# if ICE_INT_VERSION % 100
|
35
|
+
# if ICE_INT_VERSION % 100 >= 50
|
36
36
|
# error Beta header file detected
|
37
37
|
# endif
|
38
|
-
# if ICE_INT_VERSION % 100 <
|
38
|
+
# if ICE_INT_VERSION % 100 < 3
|
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.
|
5
|
+
// Ice version 3.7.3
|
6
6
|
//
|
7
7
|
// <auto-generated>
|
8
8
|
//
|
@@ -34,10 +34,10 @@
|
|
34
34
|
# if ICE_INT_VERSION / 100 != 307
|
35
35
|
# error Ice version mismatch!
|
36
36
|
# endif
|
37
|
-
# if ICE_INT_VERSION % 100
|
37
|
+
# if ICE_INT_VERSION % 100 >= 50
|
38
38
|
# error Beta header file detected
|
39
39
|
# endif
|
40
|
-
# if ICE_INT_VERSION % 100 <
|
40
|
+
# if ICE_INT_VERSION % 100 < 3
|
41
41
|
# error Ice patch level mismatch!
|
42
42
|
# endif
|
43
43
|
#endif
|
@@ -2,7 +2,7 @@
|
|
2
2
|
// Copyright (c) ZeroC, Inc. All rights reserved.
|
3
3
|
//
|
4
4
|
//
|
5
|
-
// Ice version 3.7.
|
5
|
+
// Ice version 3.7.3
|
6
6
|
//
|
7
7
|
// <auto-generated>
|
8
8
|
//
|
@@ -38,10 +38,10 @@
|
|
38
38
|
# if ICE_INT_VERSION / 100 != 307
|
39
39
|
# error Ice version mismatch!
|
40
40
|
# endif
|
41
|
-
# if ICE_INT_VERSION % 100
|
41
|
+
# if ICE_INT_VERSION % 100 >= 50
|
42
42
|
# error Beta header file detected
|
43
43
|
# endif
|
44
|
-
# if ICE_INT_VERSION % 100 <
|
44
|
+
# if ICE_INT_VERSION % 100 < 3
|
45
45
|
# error Ice patch level mismatch!
|
46
46
|
# endif
|
47
47
|
#endif
|
@@ -508,7 +508,7 @@ Ice::LocatorFinder::_iceDispatch(::IceInternal::Incoming& in, const Current& cur
|
|
508
508
|
|
509
509
|
/// \cond INTERNAL
|
510
510
|
void
|
511
|
-
Ice::LocatorPrx::_iceI_findObjectById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr
|
511
|
+
Ice::LocatorPrx::_iceI_findObjectById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::ObjectPrx>>>& outAsync, const Identity& iceP_id, const Context& context)
|
512
512
|
{
|
513
513
|
_checkTwowayOnly(iceC_Ice_Locator_findObjectById_name);
|
514
514
|
outAsync->invoke(iceC_Ice_Locator_findObjectById_name, ::Ice::OperationMode::Nonmutating, ::Ice::FormatType::DefaultFormat, context,
|
@@ -535,7 +535,7 @@ Ice::LocatorPrx::_iceI_findObjectById(const ::std::shared_ptr<::IceInternal::Out
|
|
535
535
|
|
536
536
|
/// \cond INTERNAL
|
537
537
|
void
|
538
|
-
Ice::LocatorPrx::_iceI_findAdapterById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr
|
538
|
+
Ice::LocatorPrx::_iceI_findAdapterById(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::ObjectPrx>>>& outAsync, const ::std::string& iceP_id, const Context& context)
|
539
539
|
{
|
540
540
|
_checkTwowayOnly(iceC_Ice_Locator_findAdapterById_name);
|
541
541
|
outAsync->invoke(iceC_Ice_Locator_findAdapterById_name, ::Ice::OperationMode::Nonmutating, ::Ice::FormatType::DefaultFormat, context,
|
@@ -562,7 +562,7 @@ Ice::LocatorPrx::_iceI_findAdapterById(const ::std::shared_ptr<::IceInternal::Ou
|
|
562
562
|
|
563
563
|
/// \cond INTERNAL
|
564
564
|
void
|
565
|
-
Ice::LocatorPrx::_iceI_getRegistry(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr
|
565
|
+
Ice::LocatorPrx::_iceI_getRegistry(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::LocatorRegistryPrx>>>& outAsync, const Context& context)
|
566
566
|
{
|
567
567
|
_checkTwowayOnly(iceC_Ice_Locator_getRegistry_name);
|
568
568
|
outAsync->invoke(iceC_Ice_Locator_getRegistry_name, ::Ice::OperationMode::Nonmutating, ::Ice::FormatType::DefaultFormat, context,
|
@@ -694,7 +694,7 @@ Ice::LocatorRegistryPrx::ice_staticId()
|
|
694
694
|
|
695
695
|
/// \cond INTERNAL
|
696
696
|
void
|
697
|
-
Ice::LocatorFinderPrx::_iceI_getLocator(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr
|
697
|
+
Ice::LocatorFinderPrx::_iceI_getLocator(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::std::shared_ptr<::Ice::LocatorPrx>>>& outAsync, const Context& context)
|
698
698
|
{
|
699
699
|
_checkTwowayOnly(iceC_Ice_LocatorFinder_getLocator_name);
|
700
700
|
outAsync->invoke(iceC_Ice_LocatorFinder_getLocator_name, ::Ice::OperationMode::Normal, ::Ice::FormatType::DefaultFormat, context,
|
@@ -2,7 +2,7 @@
|
|
2
2
|
// Copyright (c) ZeroC, Inc. All rights reserved.
|
3
3
|
//
|
4
4
|
//
|
5
|
-
// Ice version 3.7.
|
5
|
+
// Ice version 3.7.3
|
6
6
|
//
|
7
7
|
// <auto-generated>
|
8
8
|
//
|
@@ -34,10 +34,10 @@
|
|
34
34
|
# if ICE_INT_VERSION / 100 != 307
|
35
35
|
# error Ice version mismatch!
|
36
36
|
# endif
|
37
|
-
# if ICE_INT_VERSION % 100
|
37
|
+
# if ICE_INT_VERSION % 100 >= 50
|
38
38
|
# error Beta header file detected
|
39
39
|
# endif
|
40
|
-
# if ICE_INT_VERSION % 100 <
|
40
|
+
# if ICE_INT_VERSION % 100 < 3
|
41
41
|
# error Ice patch level mismatch!
|
42
42
|
# endif
|
43
43
|
#endif
|
@@ -2,7 +2,7 @@
|
|
2
2
|
// Copyright (c) ZeroC, Inc. All rights reserved.
|
3
3
|
//
|
4
4
|
//
|
5
|
-
// Ice version 3.7.
|
5
|
+
// Ice version 3.7.3
|
6
6
|
//
|
7
7
|
// <auto-generated>
|
8
8
|
//
|
@@ -32,10 +32,10 @@
|
|
32
32
|
# if ICE_INT_VERSION / 100 != 307
|
33
33
|
# error Ice version mismatch!
|
34
34
|
# endif
|
35
|
-
# if ICE_INT_VERSION % 100
|
35
|
+
# if ICE_INT_VERSION % 100 >= 50
|
36
36
|
# error Beta header file detected
|
37
37
|
# endif
|
38
|
-
# if ICE_INT_VERSION % 100 <
|
38
|
+
# if ICE_INT_VERSION % 100 < 3
|
39
39
|
# error Ice patch level mismatch!
|
40
40
|
# endif
|
41
41
|
#endif
|