zeroc-ice 3.7.8 → 3.7.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/Communicator.cpp +1 -0
- data/ext/Connection.cpp +7 -0
- data/ext/Endpoint.cpp +8 -0
- data/ext/ImplicitContext.cpp +1 -0
- data/ext/Logger.cpp +1 -0
- data/ext/Operation.cpp +1 -0
- data/ext/Properties.cpp +1 -0
- data/ext/Proxy.cpp +1 -0
- data/ext/Types.cpp +3 -0
- data/ext/ValueFactoryManager.cpp +1 -0
- data/ext/extconf.rb +3 -11
- data/ext/ice/cpp/include/IceUtil/Config.h +2 -2
- data/ext/ice/cpp/include/IceUtil/ResourceConfig.h +2 -2
- data/ext/ice/cpp/include/IceUtil/ScannerConfig.h +1 -0
- data/ext/ice/cpp/include/generated/Ice/BuiltinSequences.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Communicator.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/CommunicatorF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Connection.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/ConnectionF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Current.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Endpoint.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/EndpointF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/EndpointTypes.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/FacetMap.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Identity.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/ImplicitContext.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/ImplicitContextF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Instrumentation.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/InstrumentationF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/LocalException.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Locator.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/LocatorF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Logger.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/LoggerF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Metrics.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/ObjectAdapter.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/ObjectAdapterF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/ObjectFactory.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Plugin.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/PluginF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Process.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/ProcessF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Properties.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/PropertiesAdmin.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/PropertiesF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/RemoteLogger.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Router.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/RouterF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/ServantLocator.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/ServantLocatorF.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/SliceChecksumDict.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/ValueFactory.h +2 -2
- data/ext/ice/cpp/include/generated/Ice/Version.h +2 -2
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +2 -2
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +2 -2
- data/ext/ice/cpp/include/generated/IceSSL/EndpointInfo.h +2 -2
- data/ext/ice/cpp/src/Ice/BuiltinSequences.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Communicator.cpp +2 -2
- data/ext/ice/cpp/src/Ice/CommunicatorF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Connection.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ConnectionF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ConnectionI.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Current.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Endpoint.cpp +2 -2
- data/ext/ice/cpp/src/Ice/EndpointF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/EndpointTypes.cpp +2 -2
- data/ext/ice/cpp/src/Ice/FacetMap.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Identity.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ImplicitContext.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ImplicitContextF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Initialize.cpp +1 -1
- data/ext/ice/cpp/src/Ice/Instance.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Instrumentation.cpp +2 -2
- data/ext/ice/cpp/src/Ice/InstrumentationF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/LocalException.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Locator.cpp +2 -2
- data/ext/ice/cpp/src/Ice/LocatorF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Logger.cpp +2 -2
- data/ext/ice/cpp/src/Ice/LoggerF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Metrics.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Object.cpp +1 -1
- data/ext/ice/cpp/src/Ice/ObjectAdapter.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ObjectAdapterF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Plugin.cpp +2 -2
- data/ext/ice/cpp/src/Ice/PluginF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Process.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ProcessF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Properties.cpp +2 -2
- data/ext/ice/cpp/src/Ice/PropertiesAdmin.cpp +2 -2
- data/ext/ice/cpp/src/Ice/PropertiesF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Router.cpp +2 -2
- data/ext/ice/cpp/src/Ice/RouterF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ServantLocator.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ServantLocatorF.cpp +2 -2
- data/ext/ice/cpp/src/Ice/SliceChecksumDict.cpp +2 -2
- data/ext/ice/cpp/src/Ice/ValueFactory.cpp +2 -2
- data/ext/ice/cpp/src/Ice/Version.cpp +2 -2
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +2 -2
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +2 -2
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.cpp +2 -2
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.h +2 -2
- data/ext/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +1 -1
- data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +2 -2
- data/ext/ice/cpp/src/IceSSL/ConnectionInfoF.cpp +2 -2
- data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +2 -2
- data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +2 -1
- data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.cpp +3 -0
- data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +3 -0
- data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.cpp +4 -0
- data/ext/ice/cpp/src/IceUtil/StringConverter.cpp +4 -2
- data/ext/ice/cpp/src/Slice/Grammar.cpp +1 -0
- data/ext/ice/cpp/src/Slice/PythonUtil.cpp +39 -3
- 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/Ice.rb +3 -3
- 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
- metadata +3 -3
@@ -2,10 +2,12 @@
|
|
2
2
|
// Copyright (c) ZeroC, Inc. All rights reserved.
|
3
3
|
//
|
4
4
|
|
5
|
+
// TODO codecvt was deprecated in C++17 and cause build failures in C++17 mode
|
6
|
+
// For VC++ we should replace this code with MultiByteToWideChar() and WideCharToMultiByte()
|
5
7
|
#if defined(_MSC_VER) && (_MSVC_LANG >= 201703L)
|
6
|
-
// TODO codecvt was deprecated in C++17 and cause build failures with VC++ compiler
|
7
|
-
// we should replace this code with MultiByteToWideChar() and WideCharToMultiByte()
|
8
8
|
# define _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING
|
9
|
+
#elif (__cplusplus >= 201703L)
|
10
|
+
# include <IceUtil/DisableWarnings.h>
|
9
11
|
#endif
|
10
12
|
|
11
13
|
#include <IceUtil/StringConverter.h>
|
@@ -222,9 +222,45 @@ lookupKwd(const string& name)
|
|
222
222
|
//
|
223
223
|
static const string keywordList[] =
|
224
224
|
{
|
225
|
-
"
|
226
|
-
"
|
227
|
-
"
|
225
|
+
"False",
|
226
|
+
"None",
|
227
|
+
"True",
|
228
|
+
"and",
|
229
|
+
"as",
|
230
|
+
"assert",
|
231
|
+
"async",
|
232
|
+
"await",
|
233
|
+
"break",
|
234
|
+
"case",
|
235
|
+
"class",
|
236
|
+
"continue",
|
237
|
+
"def",
|
238
|
+
"del",
|
239
|
+
"elif",
|
240
|
+
"else",
|
241
|
+
"except",
|
242
|
+
"exec",
|
243
|
+
"finally",
|
244
|
+
"for",
|
245
|
+
"from",
|
246
|
+
"global",
|
247
|
+
"if",
|
248
|
+
"import",
|
249
|
+
"in",
|
250
|
+
"is",
|
251
|
+
"lambda",
|
252
|
+
"match",
|
253
|
+
"nonlocal",
|
254
|
+
"not",
|
255
|
+
"or",
|
256
|
+
"pass",
|
257
|
+
"print",
|
258
|
+
"raise",
|
259
|
+
"return",
|
260
|
+
"try",
|
261
|
+
"while",
|
262
|
+
"with",
|
263
|
+
"yield"
|
228
264
|
};
|
229
265
|
bool found = binary_search(&keywordList[0],
|
230
266
|
&keywordList[sizeof(keywordList) / sizeof(*keywordList)],
|
data/ice.gemspec
CHANGED
data/lib/Glacier2/Metrics.rb
CHANGED
data/lib/Glacier2/Router.rb
CHANGED
data/lib/Glacier2/RouterF.rb
CHANGED
data/lib/Glacier2/SSLInfo.rb
CHANGED
data/lib/Glacier2/Session.rb
CHANGED
data/lib/Ice/BuiltinSequences.rb
CHANGED
data/lib/Ice/Communicator.rb
CHANGED
data/lib/Ice/CommunicatorF.rb
CHANGED
data/lib/Ice/Connection.rb
CHANGED
data/lib/Ice/ConnectionF.rb
CHANGED
data/lib/Ice/Current.rb
CHANGED
data/lib/Ice/Endpoint.rb
CHANGED
data/lib/Ice/EndpointF.rb
CHANGED
data/lib/Ice/EndpointTypes.rb
CHANGED
data/lib/Ice/FacetMap.rb
CHANGED
data/lib/Ice/Identity.rb
CHANGED
data/lib/Ice/ImplicitContext.rb
CHANGED
data/lib/Ice/ImplicitContextF.rb
CHANGED
data/lib/Ice/Instrumentation.rb
CHANGED
data/lib/Ice/InstrumentationF.rb
CHANGED
data/lib/Ice/LocalException.rb
CHANGED
data/lib/Ice/Locator.rb
CHANGED
data/lib/Ice/LocatorF.rb
CHANGED
data/lib/Ice/Logger.rb
CHANGED
data/lib/Ice/LoggerF.rb
CHANGED
data/lib/Ice/Metrics.rb
CHANGED
data/lib/Ice/ObjectAdapter.rb
CHANGED
data/lib/Ice/ObjectAdapterF.rb
CHANGED
data/lib/Ice/ObjectFactory.rb
CHANGED
data/lib/Ice/Plugin.rb
CHANGED
data/lib/Ice/PluginF.rb
CHANGED
data/lib/Ice/Process.rb
CHANGED
data/lib/Ice/ProcessF.rb
CHANGED
data/lib/Ice/Properties.rb
CHANGED
data/lib/Ice/PropertiesAdmin.rb
CHANGED
data/lib/Ice/PropertiesF.rb
CHANGED
data/lib/Ice/RemoteLogger.rb
CHANGED
data/lib/Ice/Router.rb
CHANGED
data/lib/Ice/RouterF.rb
CHANGED
data/lib/Ice/ServantLocator.rb
CHANGED
data/lib/Ice/ServantLocatorF.rb
CHANGED
data/lib/Ice/ValueFactory.rb
CHANGED
data/lib/Ice/Version.rb
CHANGED
data/lib/Ice.rb
CHANGED
@@ -24,7 +24,7 @@ module Ice
|
|
24
24
|
# sibling of the "rb" directory.
|
25
25
|
#
|
26
26
|
dir = File::join(rbHome, "slice")
|
27
|
-
if File::
|
27
|
+
if File::exist?(dir)
|
28
28
|
return File::expand_path(dir)
|
29
29
|
end
|
30
30
|
|
@@ -33,7 +33,7 @@ module Ice
|
|
33
33
|
# higher.
|
34
34
|
#
|
35
35
|
dir = File::join(rbHome, "..", "slice")
|
36
|
-
if File::
|
36
|
+
if File::exist?(dir)
|
37
37
|
return File::expand_path(dir)
|
38
38
|
end
|
39
39
|
|
@@ -42,7 +42,7 @@ module Ice
|
|
42
42
|
# Check the default Linux location.
|
43
43
|
#
|
44
44
|
dir = File::join("/", "usr", "share", "ice", "slice")
|
45
|
-
if File::
|
45
|
+
if File::exist?(dir)
|
46
46
|
return dir
|
47
47
|
end
|
48
48
|
end
|
data/lib/IceBox/IceBox.rb
CHANGED
data/lib/IceGrid/Admin.rb
CHANGED
data/lib/IceGrid/Descriptor.rb
CHANGED
data/lib/IceGrid/Exception.rb
CHANGED