zeroc-ice 3.7.9.1 → 3.7.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/dist/IceRuby/Connection.cpp +536 -0
- data/dist/IceRuby/Endpoint.cpp +344 -0
- data/dist/IceRuby/ImplicitContext.cpp +148 -0
- data/dist/IceRuby/Logger.cpp +151 -0
- data/dist/IceRuby/Operation.cpp +665 -0
- data/dist/IceRuby/Properties.cpp +369 -0
- data/dist/IceRuby/Types.cpp +3336 -0
- data/dist/IceRuby/Types.h +604 -0
- data/dist/IceRuby/ValueFactoryManager.cpp +445 -0
- data/dist/ice/cpp/include/Ice/Config.h +76 -0
- data/dist/ice/cpp/include/Ice/ConsoleUtil.h +23 -0
- data/dist/ice/cpp/include/Ice/ExceptionHelpers.h +74 -0
- data/dist/ice/cpp/include/Ice/Ice.h +55 -0
- data/dist/ice/cpp/include/Ice/Initialize.h +957 -0
- data/dist/ice/cpp/include/Ice/MetricsObserverI.h +669 -0
- data/dist/ice/cpp/include/Ice/OutgoingAsync.h +868 -0
- data/dist/ice/cpp/include/Ice/Proxy.h +5171 -0
- data/dist/ice/cpp/include/Ice/SHA1.h +40 -0
- data/dist/ice/cpp/include/Ice/UserExceptionFactory.h +90 -0
- data/dist/ice/cpp/include/IceDiscovery/IceDiscovery.h +1889 -0
- data/dist/ice/cpp/include/IceLocatorDiscovery/IceLocatorDiscovery.h +1197 -0
- data/dist/ice/cpp/include/IceSSL/IceSSL.h +24 -0
- data/dist/ice/cpp/include/IceUtil/Cond.h +317 -0
- data/dist/ice/cpp/include/IceUtil/Config.h +392 -0
- data/dist/ice/cpp/include/IceUtil/ConsoleUtil.h +92 -0
- data/dist/ice/cpp/include/IceUtil/CtrlCHandler.h +96 -0
- data/dist/ice/cpp/include/IceUtil/FileUtil.h +140 -0
- data/dist/ice/cpp/include/IceUtil/IceUtil.h +40 -0
- data/dist/ice/cpp/include/IceUtil/InputUtil.h +42 -0
- data/dist/ice/cpp/include/IceUtil/Mutex.h +349 -0
- data/dist/ice/cpp/include/IceUtil/ResourceConfig.h +37 -0
- data/dist/ice/cpp/include/IceUtil/Thread.h +160 -0
- data/dist/ice/cpp/include/IceUtil/Timer.h +153 -0
- data/dist/ice/cpp/include/generated/Glacier2/Metrics.h +475 -0
- data/dist/ice/cpp/include/generated/Glacier2/PermissionsVerifier.h +1430 -0
- data/dist/ice/cpp/include/generated/Glacier2/PermissionsVerifierF.h +147 -0
- data/dist/ice/cpp/include/generated/Glacier2/Router.h +3260 -0
- data/dist/ice/cpp/include/generated/Glacier2/RouterF.h +125 -0
- data/dist/ice/cpp/include/generated/Glacier2/SSLInfo.h +223 -0
- data/dist/ice/cpp/include/generated/Glacier2/Session.h +5894 -0
- data/dist/ice/cpp/include/generated/Ice/BuiltinSequences.h +170 -0
- data/dist/ice/cpp/include/generated/Ice/Communicator.h +1162 -0
- data/dist/ice/cpp/include/generated/Ice/CommunicatorF.h +101 -0
- data/dist/ice/cpp/include/generated/Ice/Connection.h +1703 -0
- data/dist/ice/cpp/include/generated/Ice/ConnectionF.h +119 -0
- data/dist/ice/cpp/include/generated/Ice/Current.h +322 -0
- data/dist/ice/cpp/include/generated/Ice/Endpoint.h +979 -0
- data/dist/ice/cpp/include/generated/Ice/EndpointF.h +166 -0
- data/dist/ice/cpp/include/generated/Ice/EndpointTypes.h +118 -0
- data/dist/ice/cpp/include/generated/Ice/FacetMap.h +80 -0
- data/dist/ice/cpp/include/generated/Ice/Identity.h +264 -0
- data/dist/ice/cpp/include/generated/Ice/ImplicitContext.h +284 -0
- data/dist/ice/cpp/include/generated/Ice/ImplicitContextF.h +101 -0
- data/dist/ice/cpp/include/generated/Ice/Instrumentation.h +1203 -0
- data/dist/ice/cpp/include/generated/Ice/InstrumentationF.h +128 -0
- data/dist/ice/cpp/include/generated/Ice/LocalException.h +7437 -0
- data/dist/ice/cpp/include/generated/Ice/Locator.h +3898 -0
- data/dist/ice/cpp/include/generated/Ice/LocatorF.h +147 -0
- data/dist/ice/cpp/include/generated/Ice/Logger.h +237 -0
- data/dist/ice/cpp/include/generated/Ice/LoggerF.h +101 -0
- data/dist/ice/cpp/include/generated/Ice/Metrics.h +4769 -0
- data/dist/ice/cpp/include/generated/Ice/ObjectAdapter.h +1181 -0
- data/dist/ice/cpp/include/generated/Ice/ObjectAdapterF.h +101 -0
- data/dist/ice/cpp/include/generated/Ice/ObjectFactory.h +203 -0
- data/dist/ice/cpp/include/generated/Ice/Plugin.h +318 -0
- data/dist/ice/cpp/include/generated/Ice/PluginF.h +110 -0
- data/dist/ice/cpp/include/generated/Ice/Process.h +977 -0
- data/dist/ice/cpp/include/generated/Ice/ProcessF.h +125 -0
- data/dist/ice/cpp/include/generated/Ice/Properties.h +452 -0
- data/dist/ice/cpp/include/generated/Ice/PropertiesAdmin.h +1366 -0
- data/dist/ice/cpp/include/generated/Ice/PropertiesF.h +134 -0
- data/dist/ice/cpp/include/generated/Ice/RemoteLogger.h +2707 -0
- data/dist/ice/cpp/include/generated/Ice/Router.h +1850 -0
- data/dist/ice/cpp/include/generated/Ice/RouterF.h +125 -0
- data/dist/ice/cpp/include/generated/Ice/ServantLocator.h +305 -0
- data/dist/ice/cpp/include/generated/Ice/ServantLocatorF.h +101 -0
- data/dist/ice/cpp/include/generated/Ice/SliceChecksumDict.h +84 -0
- data/dist/ice/cpp/include/generated/Ice/ValueFactory.h +330 -0
- data/dist/ice/cpp/include/generated/Ice/Version.h +357 -0
- data/dist/ice/cpp/include/generated/IceBox/IceBox.h +3269 -0
- data/dist/ice/cpp/include/generated/IceGrid/Admin.h +33773 -0
- data/dist/ice/cpp/include/generated/IceGrid/Descriptor.h +5254 -0
- data/dist/ice/cpp/include/generated/IceGrid/Exception.h +2834 -0
- data/dist/ice/cpp/include/generated/IceGrid/FileParser.h +824 -0
- data/dist/ice/cpp/include/generated/IceGrid/PluginFacade.h +635 -0
- data/dist/ice/cpp/include/generated/IceGrid/Registry.h +5089 -0
- data/dist/ice/cpp/include/generated/IceGrid/Session.h +2240 -0
- data/dist/ice/cpp/include/generated/IceGrid/UserAccountMapper.h +800 -0
- data/dist/ice/cpp/include/generated/IcePatch2/FileInfo.h +325 -0
- data/dist/ice/cpp/include/generated/IcePatch2/FileServer.h +2891 -0
- data/dist/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +228 -0
- data/dist/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +101 -0
- data/dist/ice/cpp/include/generated/IceSSL/EndpointInfo.h +186 -0
- data/dist/ice/cpp/include/generated/IceStorm/IceStorm.h +6627 -0
- data/dist/ice/cpp/include/generated/IceStorm/Metrics.h +665 -0
- data/dist/ice/cpp/src/Ice/Acceptor.h +37 -0
- data/dist/ice/cpp/src/Ice/Application.cpp +661 -0
- data/dist/ice/cpp/src/Ice/ConnectionFactory.cpp +1972 -0
- data/dist/ice/cpp/src/Ice/ConnectionFactory.h +264 -0
- data/dist/ice/cpp/src/Ice/ConnectionI.cpp +3670 -0
- data/dist/ice/cpp/src/Ice/ConnectionI.h +389 -0
- data/dist/ice/cpp/src/Ice/CountDownLatch.cpp +171 -0
- data/dist/ice/cpp/src/Ice/DLLMain.cpp +50 -0
- data/dist/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +159 -0
- data/dist/ice/cpp/src/Ice/DynamicLibrary.cpp +284 -0
- data/dist/ice/cpp/src/Ice/EndpointFactory.cpp +189 -0
- data/dist/ice/cpp/src/Ice/EndpointI.cpp +98 -0
- data/dist/ice/cpp/src/Ice/EventHandler.cpp +32 -0
- data/dist/ice/cpp/src/Ice/EventHandler.h +81 -0
- data/dist/ice/cpp/src/Ice/Exception.cpp +818 -0
- data/dist/ice/cpp/src/Ice/IPEndpointI.cpp +710 -0
- data/dist/ice/cpp/src/Ice/IPEndpointI.h +152 -0
- data/dist/ice/cpp/src/Ice/InputStream.cpp +2741 -0
- data/dist/ice/cpp/src/Ice/Instance.cpp +1967 -0
- data/dist/ice/cpp/src/Ice/LoggerI.cpp +259 -0
- data/dist/ice/cpp/src/Ice/MetricsAdminI.cpp +694 -0
- data/dist/ice/cpp/src/Ice/Network.cpp +2249 -0
- data/dist/ice/cpp/src/Ice/Network.h +289 -0
- data/dist/ice/cpp/src/Ice/NetworkF.h +19 -0
- data/dist/ice/cpp/src/Ice/NetworkProxy.cpp +311 -0
- data/dist/ice/cpp/src/Ice/ObjectAdapterI.cpp +1530 -0
- data/dist/ice/cpp/src/Ice/OutgoingAsync.cpp +1322 -0
- data/dist/ice/cpp/src/Ice/PluginManagerI.cpp +503 -0
- data/dist/ice/cpp/src/Ice/PropertiesI.cpp +739 -0
- data/dist/ice/cpp/src/Ice/PropertyNames.cpp +1428 -0
- data/dist/ice/cpp/src/Ice/PropertyNames.h +78 -0
- data/dist/ice/cpp/src/Ice/Proxy.cpp +1604 -0
- data/dist/ice/cpp/src/Ice/SHA1.cpp +169 -0
- data/dist/ice/cpp/src/Ice/Selector.cpp +1535 -0
- data/dist/ice/cpp/src/Ice/Selector.h +292 -0
- data/dist/ice/cpp/src/Ice/Service.cpp +1883 -0
- data/dist/ice/cpp/src/Ice/StreamSocket.cpp +519 -0
- data/dist/ice/cpp/src/Ice/StreamSocket.h +85 -0
- data/dist/ice/cpp/src/Ice/TcpAcceptor.cpp +234 -0
- data/dist/ice/cpp/src/Ice/TcpAcceptor.h +61 -0
- data/dist/ice/cpp/src/Ice/TcpTransceiver.cpp +135 -0
- data/dist/ice/cpp/src/Ice/TcpTransceiver.h +58 -0
- data/dist/ice/cpp/src/Ice/Thread.cpp +569 -0
- data/dist/ice/cpp/src/Ice/ThreadPool.cpp +1292 -0
- data/dist/ice/cpp/src/Ice/ThreadPool.h +393 -0
- data/dist/ice/cpp/src/Ice/Transceiver.h +49 -0
- data/dist/ice/cpp/src/Ice/UdpConnector.cpp +131 -0
- data/dist/ice/cpp/src/Ice/UdpTransceiver.cpp +806 -0
- data/dist/ice/cpp/src/Ice/UdpTransceiver.h +96 -0
- data/dist/ice/cpp/src/Ice/WSAcceptor.cpp +92 -0
- data/dist/ice/cpp/src/Ice/WSAcceptor.h +52 -0
- data/dist/ice/cpp/src/Ice/WSTransceiver.cpp +1704 -0
- data/dist/ice/cpp/src/Ice/WSTransceiver.h +141 -0
- data/dist/ice/cpp/src/Ice/generated/BuiltinSequences.cpp +49 -0
- data/dist/ice/cpp/src/Ice/generated/Communicator.cpp +79 -0
- data/dist/ice/cpp/src/Ice/generated/CommunicatorF.cpp +61 -0
- data/dist/ice/cpp/src/Ice/generated/Connection.cpp +155 -0
- data/dist/ice/cpp/src/Ice/generated/ConnectionF.cpp +61 -0
- data/dist/ice/cpp/src/Ice/generated/Current.cpp +62 -0
- data/dist/ice/cpp/src/Ice/generated/Endpoint.cpp +147 -0
- data/dist/ice/cpp/src/Ice/generated/EndpointF.cpp +61 -0
- data/dist/ice/cpp/src/Ice/generated/EndpointTypes.cpp +51 -0
- data/dist/ice/cpp/src/Ice/generated/FacetMap.cpp +49 -0
- data/dist/ice/cpp/src/Ice/generated/Identity.cpp +57 -0
- data/dist/ice/cpp/src/Ice/generated/ImplicitContext.cpp +75 -0
- data/dist/ice/cpp/src/Ice/generated/ImplicitContextF.cpp +61 -0
- data/dist/ice/cpp/src/Ice/generated/Instrumentation.cpp +188 -0
- data/dist/ice/cpp/src/Ice/generated/InstrumentationF.cpp +66 -0
- data/dist/ice/cpp/src/Ice/generated/LocalException.cpp +3262 -0
- data/dist/ice/cpp/src/Ice/generated/Locator.cpp +2042 -0
- data/dist/ice/cpp/src/Ice/generated/LocatorF.cpp +63 -0
- data/dist/ice/cpp/src/Ice/generated/Logger.cpp +73 -0
- data/dist/ice/cpp/src/Ice/generated/LoggerF.cpp +61 -0
- data/dist/ice/cpp/src/Ice/generated/Metrics.cpp +2352 -0
- data/dist/ice/cpp/src/Ice/generated/ObjectAdapter.cpp +79 -0
- data/dist/ice/cpp/src/Ice/generated/ObjectAdapterF.cpp +61 -0
- data/dist/ice/cpp/src/Ice/generated/ObjectFactory.cpp +75 -0
- data/dist/ice/cpp/src/Ice/generated/Plugin.cpp +87 -0
- data/dist/ice/cpp/src/Ice/generated/PluginF.cpp +61 -0
- data/dist/ice/cpp/src/Ice/generated/Process.cpp +471 -0
- data/dist/ice/cpp/src/Ice/generated/ProcessF.cpp +63 -0
- data/dist/ice/cpp/src/Ice/generated/Properties.cpp +78 -0
- data/dist/ice/cpp/src/Ice/generated/PropertiesAdmin.cpp +603 -0
- data/dist/ice/cpp/src/Ice/generated/PropertiesF.cpp +63 -0
- data/dist/ice/cpp/src/Ice/generated/RemoteLogger.cpp +1171 -0
- data/dist/ice/cpp/src/Ice/generated/Router.cpp +977 -0
- data/dist/ice/cpp/src/Ice/generated/RouterF.cpp +63 -0
- data/dist/ice/cpp/src/Ice/generated/ServantLocator.cpp +75 -0
- data/dist/ice/cpp/src/Ice/generated/ServantLocatorF.cpp +61 -0
- data/dist/ice/cpp/src/Ice/generated/SliceChecksumDict.cpp +49 -0
- data/dist/ice/cpp/src/Ice/generated/ValueFactory.cpp +83 -0
- data/dist/ice/cpp/src/Ice/generated/Version.cpp +57 -0
- data/dist/ice/cpp/src/Ice/ios/StreamAcceptor.cpp +154 -0
- data/dist/ice/cpp/src/Ice/ios/StreamAcceptor.h +49 -0
- data/dist/ice/cpp/src/Ice/ios/StreamConnector.cpp +146 -0
- data/dist/ice/cpp/src/Ice/ios/StreamConnector.h +52 -0
- data/dist/ice/cpp/src/Ice/ios/StreamEndpointI.cpp +477 -0
- data/dist/ice/cpp/src/Ice/ios/StreamEndpointI.h +156 -0
- data/dist/ice/cpp/src/Ice/ios/StreamTransceiver.cpp +570 -0
- data/dist/ice/cpp/src/Ice/ios/StreamTransceiver.h +93 -0
- data/dist/ice/cpp/src/IceDiscovery/generated/IceDiscovery/IceDiscovery.h +1889 -0
- data/dist/ice/cpp/src/IceDiscovery/generated/IceDiscovery.cpp +915 -0
- data/dist/ice/cpp/src/IceLocatorDiscovery/generated/IceLocatorDiscovery/IceLocatorDiscovery.h +1197 -0
- data/dist/ice/cpp/src/IceLocatorDiscovery/generated/IceLocatorDiscovery.cpp +730 -0
- data/dist/ice/cpp/src/IceSSL/AcceptorI.cpp +105 -0
- data/dist/ice/cpp/src/IceSSL/AcceptorI.h +52 -0
- data/dist/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +1092 -0
- data/dist/ice/cpp/src/IceSSL/PluginI.cpp +246 -0
- data/dist/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +719 -0
- data/dist/ice/cpp/src/IceSSL/SecureTransportUtil.cpp +868 -0
- data/dist/ice/cpp/src/IceSSL/Util.cpp +192 -0
- data/dist/ice/cpp/src/IceSSL/generated/ConnectionInfo.cpp +75 -0
- data/dist/ice/cpp/src/IceSSL/generated/ConnectionInfoF.cpp +61 -0
- data/dist/ice/cpp/src/IceSSL/generated/EndpointInfo.cpp +75 -0
- data/dist/ice/cpp/src/IceUtil/ConsoleUtil.cpp +157 -0
- data/dist/ice/cpp/src/IceUtil/FileUtil.cpp +471 -0
- data/dist/ice/cpp/src/IceUtil/RecMutex.cpp +238 -0
- data/dist/ice/cpp/src/IceUtil/StringConverter.cpp +690 -0
- data/dist/ice/cpp/src/IceUtil/StringUtil.cpp +1135 -0
- data/dist/ice/cpp/src/IceUtil/UUID.cpp +165 -0
- data/dist/ice/cpp/src/IceUtil/UtilException.cpp +839 -0
- data/dist/ice/cpp/src/Slice/JavaUtil.cpp +5183 -0
- data/dist/ice/cpp/src/Slice/JavaUtil.h +407 -0
- data/dist/ice/cpp/src/slice2rb/Main.cpp +35 -0
- data/dist/ice/mcpp/directive.c +1407 -0
- data/dist/ice/mcpp/internal.H +530 -0
- data/dist/ice/mcpp/mcpp_main.c +792 -0
- data/dist/ice/mcpp/support.c +1985 -0
- data/dist/ice/mcpp/system.c +2741 -0
- data/dist/ice/slice/Ice/Connection.ice +516 -0
- data/dist/ice/slice/Ice/Current.ice +170 -0
- data/dist/ice/slice/Ice/Locator.ice +239 -0
- data/dist/ice/slice/Ice/Metrics.ice +436 -0
- data/dist/ice/slice/Ice/ObjectAdapter.ice +710 -0
- data/dist/ice/slice/Ice/Properties.ice +244 -0
- data/dist/ice/slice/Ice/Router.ice +103 -0
- data/dist/ice/slice/IceGrid/PluginFacade.ice +329 -0
- data/dist/ice/slice/IceStorm/IceStorm.ice +414 -0
- data/dist/lib/Glacier2/Metrics.rb +56 -0
- data/dist/lib/Glacier2/PermissionsVerifier.rb +93 -0
- data/dist/lib/Glacier2/PermissionsVerifierF.rb +30 -0
- data/dist/lib/Glacier2/Router.rb +95 -0
- data/dist/lib/Glacier2/RouterF.rb +25 -0
- data/dist/lib/Glacier2/SSLInfo.rb +72 -0
- data/dist/lib/Glacier2/Session.rb +247 -0
- data/dist/lib/Ice/BuiltinSequences.rb +60 -0
- data/dist/lib/Ice/Communicator.rb +87 -0
- data/dist/lib/Ice/CommunicatorF.rb +24 -0
- data/dist/lib/Ice/Connection.rb +413 -0
- data/dist/lib/Ice/ConnectionF.rb +32 -0
- data/dist/lib/Ice/Current.rb +141 -0
- data/dist/lib/Ice/Endpoint.rb +187 -0
- data/dist/lib/Ice/EndpointF.rb +48 -0
- data/dist/lib/Ice/EndpointTypes.rb +69 -0
- data/dist/lib/Ice/FacetMap.rb +24 -0
- data/dist/lib/Ice/Identity.rb +63 -0
- data/dist/lib/Ice/ImplicitContext.rb +26 -0
- data/dist/lib/Ice/ImplicitContextF.rb +24 -0
- data/dist/lib/Ice/Instrumentation.rb +169 -0
- data/dist/lib/Ice/InstrumentationF.rb +31 -0
- data/dist/lib/Ice/LocalException.rb +1031 -0
- data/dist/lib/Ice/Locator.rb +196 -0
- data/dist/lib/Ice/LocatorF.rb +30 -0
- data/dist/lib/Ice/Logger.rb +24 -0
- data/dist/lib/Ice/LoggerF.rb +24 -0
- data/dist/lib/Ice/Metrics.rb +337 -0
- data/dist/lib/Ice/ObjectAdapter.rb +29 -0
- data/dist/lib/Ice/ObjectAdapterF.rb +24 -0
- data/dist/lib/Ice/ObjectFactory.rb +24 -0
- data/dist/lib/Ice/Plugin.rb +30 -0
- data/dist/lib/Ice/PluginF.rb +28 -0
- data/dist/lib/Ice/Process.rb +53 -0
- data/dist/lib/Ice/ProcessF.rb +25 -0
- data/dist/lib/Ice/Properties.rb +25 -0
- data/dist/lib/Ice/PropertiesAdmin.rb +63 -0
- data/dist/lib/Ice/PropertiesF.rb +29 -0
- data/dist/lib/Ice/RemoteLogger.rb +207 -0
- data/dist/lib/Ice/Router.rb +87 -0
- data/dist/lib/Ice/RouterF.rb +25 -0
- data/dist/lib/Ice/ServantLocator.rb +26 -0
- data/dist/lib/Ice/ServantLocatorF.rb +24 -0
- data/dist/lib/Ice/SliceChecksumDict.rb +24 -0
- data/dist/lib/Ice/ValueFactory.rb +28 -0
- data/dist/lib/Ice/Version.rb +90 -0
- data/dist/lib/IceBox/IceBox.rb +164 -0
- data/dist/lib/IceGrid/Admin.rb +1196 -0
- data/dist/lib/IceGrid/Descriptor.rb +1034 -0
- data/dist/lib/IceGrid/Exception.rb +376 -0
- data/dist/lib/IceGrid/FileParser.rb +65 -0
- data/dist/lib/IceGrid/PluginFacade.rb +35 -0
- data/dist/lib/IceGrid/Registry.rb +209 -0
- data/dist/lib/IceGrid/Session.rb +71 -0
- data/dist/lib/IceGrid/UserAccountMapper.rb +61 -0
- data/dist/lib/IcePatch2/FileInfo.rb +115 -0
- data/dist/lib/IcePatch2/FileServer.rb +123 -0
- data/dist/lib/IceStorm/IceStorm.rb +332 -0
- data/dist/lib/IceStorm/Metrics.rb +73 -0
- data/extconf.rb +91 -0
- data/ice.gemspec +21 -16
- metadata +715 -711
- data/ICE_LICENSE +0 -48
- data/LICENSE +0 -340
- data/MCPP_LICENSE +0 -29
- data/ext/Connection.cpp +0 -532
- data/ext/Endpoint.cpp +0 -340
- data/ext/ImplicitContext.cpp +0 -144
- data/ext/Logger.cpp +0 -147
- data/ext/Operation.cpp +0 -661
- data/ext/Properties.cpp +0 -365
- data/ext/Types.cpp +0 -3325
- data/ext/Types.h +0 -595
- data/ext/ValueFactoryManager.cpp +0 -441
- data/ext/extconf.rb +0 -97
- data/ext/ice/cpp/include/Ice/Config.h +0 -78
- data/ext/ice/cpp/include/Ice/ConsoleUtil.h +0 -23
- data/ext/ice/cpp/include/Ice/ExceptionHelpers.h +0 -74
- data/ext/ice/cpp/include/Ice/Ice.h +0 -55
- data/ext/ice/cpp/include/Ice/Initialize.h +0 -957
- data/ext/ice/cpp/include/Ice/MetricsObserverI.h +0 -669
- data/ext/ice/cpp/include/Ice/OutgoingAsync.h +0 -856
- data/ext/ice/cpp/include/Ice/Proxy.h +0 -5154
- data/ext/ice/cpp/include/Ice/SHA1.h +0 -42
- data/ext/ice/cpp/include/Ice/UserExceptionFactory.h +0 -88
- data/ext/ice/cpp/include/IceSSL/IceSSL.h +0 -28
- data/ext/ice/cpp/include/IceSSL/UWP.h +0 -62
- data/ext/ice/cpp/include/IceUtil/Cond.h +0 -317
- data/ext/ice/cpp/include/IceUtil/Config.h +0 -424
- data/ext/ice/cpp/include/IceUtil/ConsoleUtil.h +0 -92
- data/ext/ice/cpp/include/IceUtil/CtrlCHandler.h +0 -92
- data/ext/ice/cpp/include/IceUtil/FileUtil.h +0 -143
- data/ext/ice/cpp/include/IceUtil/IceUtil.h +0 -40
- data/ext/ice/cpp/include/IceUtil/InputUtil.h +0 -42
- data/ext/ice/cpp/include/IceUtil/Mutex.h +0 -353
- data/ext/ice/cpp/include/IceUtil/ResourceConfig.h +0 -53
- data/ext/ice/cpp/include/IceUtil/Thread.h +0 -174
- data/ext/ice/cpp/include/IceUtil/Timer.h +0 -143
- data/ext/ice/cpp/include/generated/Ice/BuiltinSequences.h +0 -170
- data/ext/ice/cpp/include/generated/Ice/Communicator.h +0 -1162
- data/ext/ice/cpp/include/generated/Ice/CommunicatorF.h +0 -101
- data/ext/ice/cpp/include/generated/Ice/Connection.h +0 -1703
- data/ext/ice/cpp/include/generated/Ice/ConnectionF.h +0 -119
- data/ext/ice/cpp/include/generated/Ice/Current.h +0 -322
- data/ext/ice/cpp/include/generated/Ice/Endpoint.h +0 -979
- data/ext/ice/cpp/include/generated/Ice/EndpointF.h +0 -166
- data/ext/ice/cpp/include/generated/Ice/EndpointTypes.h +0 -118
- data/ext/ice/cpp/include/generated/Ice/FacetMap.h +0 -80
- data/ext/ice/cpp/include/generated/Ice/Identity.h +0 -264
- data/ext/ice/cpp/include/generated/Ice/ImplicitContext.h +0 -284
- data/ext/ice/cpp/include/generated/Ice/ImplicitContextF.h +0 -101
- data/ext/ice/cpp/include/generated/Ice/Instrumentation.h +0 -1203
- data/ext/ice/cpp/include/generated/Ice/InstrumentationF.h +0 -128
- data/ext/ice/cpp/include/generated/Ice/LocalException.h +0 -7437
- data/ext/ice/cpp/include/generated/Ice/Locator.h +0 -3898
- data/ext/ice/cpp/include/generated/Ice/LocatorF.h +0 -147
- data/ext/ice/cpp/include/generated/Ice/Logger.h +0 -237
- data/ext/ice/cpp/include/generated/Ice/LoggerF.h +0 -101
- data/ext/ice/cpp/include/generated/Ice/Metrics.h +0 -4769
- data/ext/ice/cpp/include/generated/Ice/ObjectAdapter.h +0 -1181
- data/ext/ice/cpp/include/generated/Ice/ObjectAdapterF.h +0 -101
- data/ext/ice/cpp/include/generated/Ice/ObjectFactory.h +0 -203
- data/ext/ice/cpp/include/generated/Ice/Plugin.h +0 -318
- data/ext/ice/cpp/include/generated/Ice/PluginF.h +0 -110
- data/ext/ice/cpp/include/generated/Ice/Process.h +0 -977
- data/ext/ice/cpp/include/generated/Ice/ProcessF.h +0 -125
- data/ext/ice/cpp/include/generated/Ice/Properties.h +0 -452
- data/ext/ice/cpp/include/generated/Ice/PropertiesAdmin.h +0 -1366
- data/ext/ice/cpp/include/generated/Ice/PropertiesF.h +0 -134
- data/ext/ice/cpp/include/generated/Ice/RemoteLogger.h +0 -2707
- data/ext/ice/cpp/include/generated/Ice/Router.h +0 -1850
- data/ext/ice/cpp/include/generated/Ice/RouterF.h +0 -125
- data/ext/ice/cpp/include/generated/Ice/ServantLocator.h +0 -305
- data/ext/ice/cpp/include/generated/Ice/ServantLocatorF.h +0 -101
- data/ext/ice/cpp/include/generated/Ice/SliceChecksumDict.h +0 -84
- data/ext/ice/cpp/include/generated/Ice/ValueFactory.h +0 -330
- data/ext/ice/cpp/include/generated/Ice/Version.h +0 -357
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +0 -228
- data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +0 -101
- data/ext/ice/cpp/include/generated/IceSSL/EndpointInfo.h +0 -186
- data/ext/ice/cpp/src/Ice/Acceptor.h +0 -37
- data/ext/ice/cpp/src/Ice/BuiltinSequences.cpp +0 -49
- data/ext/ice/cpp/src/Ice/Communicator.cpp +0 -79
- data/ext/ice/cpp/src/Ice/CommunicatorF.cpp +0 -61
- data/ext/ice/cpp/src/Ice/Connection.cpp +0 -155
- data/ext/ice/cpp/src/Ice/ConnectionF.cpp +0 -61
- data/ext/ice/cpp/src/Ice/ConnectionFactory.cpp +0 -1972
- data/ext/ice/cpp/src/Ice/ConnectionFactory.h +0 -264
- data/ext/ice/cpp/src/Ice/ConnectionI.cpp +0 -3670
- data/ext/ice/cpp/src/Ice/ConnectionI.h +0 -391
- data/ext/ice/cpp/src/Ice/CountDownLatch.cpp +0 -179
- data/ext/ice/cpp/src/Ice/Current.cpp +0 -62
- data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +0 -161
- data/ext/ice/cpp/src/Ice/DynamicLibrary.cpp +0 -291
- data/ext/ice/cpp/src/Ice/Endpoint.cpp +0 -147
- data/ext/ice/cpp/src/Ice/EndpointF.cpp +0 -61
- data/ext/ice/cpp/src/Ice/EndpointFactory.cpp +0 -189
- data/ext/ice/cpp/src/Ice/EndpointI.cpp +0 -98
- data/ext/ice/cpp/src/Ice/EndpointTypes.cpp +0 -51
- data/ext/ice/cpp/src/Ice/EventHandler.cpp +0 -32
- data/ext/ice/cpp/src/Ice/EventHandler.h +0 -81
- data/ext/ice/cpp/src/Ice/Exception.cpp +0 -845
- data/ext/ice/cpp/src/Ice/FacetMap.cpp +0 -49
- data/ext/ice/cpp/src/Ice/IPEndpointI.cpp +0 -756
- data/ext/ice/cpp/src/Ice/IPEndpointI.h +0 -162
- data/ext/ice/cpp/src/Ice/Identity.cpp +0 -57
- data/ext/ice/cpp/src/Ice/ImplicitContext.cpp +0 -75
- data/ext/ice/cpp/src/Ice/ImplicitContextF.cpp +0 -61
- data/ext/ice/cpp/src/Ice/InputStream.cpp +0 -2741
- data/ext/ice/cpp/src/Ice/Instance.cpp +0 -1971
- data/ext/ice/cpp/src/Ice/Instrumentation.cpp +0 -188
- data/ext/ice/cpp/src/Ice/InstrumentationF.cpp +0 -66
- data/ext/ice/cpp/src/Ice/LocalException.cpp +0 -3262
- data/ext/ice/cpp/src/Ice/Locator.cpp +0 -2042
- data/ext/ice/cpp/src/Ice/LocatorF.cpp +0 -63
- data/ext/ice/cpp/src/Ice/Logger.cpp +0 -73
- data/ext/ice/cpp/src/Ice/LoggerF.cpp +0 -61
- data/ext/ice/cpp/src/Ice/LoggerI.cpp +0 -261
- data/ext/ice/cpp/src/Ice/Metrics.cpp +0 -2352
- data/ext/ice/cpp/src/Ice/MetricsAdminI.cpp +0 -694
- data/ext/ice/cpp/src/Ice/Network.cpp +0 -3075
- data/ext/ice/cpp/src/Ice/Network.h +0 -371
- data/ext/ice/cpp/src/Ice/NetworkF.h +0 -23
- data/ext/ice/cpp/src/Ice/NetworkProxy.cpp +0 -324
- data/ext/ice/cpp/src/Ice/ObjectAdapter.cpp +0 -79
- data/ext/ice/cpp/src/Ice/ObjectAdapterF.cpp +0 -61
- data/ext/ice/cpp/src/Ice/ObjectAdapterI.cpp +0 -1530
- data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +0 -75
- data/ext/ice/cpp/src/Ice/OutgoingAsync.cpp +0 -1322
- data/ext/ice/cpp/src/Ice/Plugin.cpp +0 -87
- data/ext/ice/cpp/src/Ice/PluginF.cpp +0 -61
- data/ext/ice/cpp/src/Ice/PluginManagerI.cpp +0 -503
- data/ext/ice/cpp/src/Ice/Process.cpp +0 -471
- data/ext/ice/cpp/src/Ice/ProcessF.cpp +0 -63
- data/ext/ice/cpp/src/Ice/Properties.cpp +0 -78
- data/ext/ice/cpp/src/Ice/PropertiesAdmin.cpp +0 -603
- data/ext/ice/cpp/src/Ice/PropertiesF.cpp +0 -63
- data/ext/ice/cpp/src/Ice/PropertiesI.cpp +0 -747
- data/ext/ice/cpp/src/Ice/PropertyNames.cpp +0 -1429
- data/ext/ice/cpp/src/Ice/PropertyNames.h +0 -78
- data/ext/ice/cpp/src/Ice/Proxy.cpp +0 -1601
- data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +0 -1171
- data/ext/ice/cpp/src/Ice/Router.cpp +0 -977
- data/ext/ice/cpp/src/Ice/RouterF.cpp +0 -63
- data/ext/ice/cpp/src/Ice/SHA1.cpp +0 -185
- data/ext/ice/cpp/src/Ice/Selector.cpp +0 -1537
- data/ext/ice/cpp/src/Ice/Selector.h +0 -308
- data/ext/ice/cpp/src/Ice/ServantLocator.cpp +0 -75
- data/ext/ice/cpp/src/Ice/ServantLocatorF.cpp +0 -61
- data/ext/ice/cpp/src/Ice/SliceChecksumDict.cpp +0 -49
- data/ext/ice/cpp/src/Ice/StreamSocket.cpp +0 -682
- data/ext/ice/cpp/src/Ice/StreamSocket.h +0 -92
- data/ext/ice/cpp/src/Ice/TcpAcceptor.cpp +0 -355
- data/ext/ice/cpp/src/Ice/TcpAcceptor.h +0 -69
- data/ext/ice/cpp/src/Ice/TcpTransceiver.cpp +0 -135
- data/ext/ice/cpp/src/Ice/TcpTransceiver.h +0 -58
- data/ext/ice/cpp/src/Ice/Thread.cpp +0 -811
- data/ext/ice/cpp/src/Ice/ThreadPool.cpp +0 -1328
- data/ext/ice/cpp/src/Ice/ThreadPool.h +0 -393
- data/ext/ice/cpp/src/Ice/Transceiver.h +0 -49
- data/ext/ice/cpp/src/Ice/UdpConnector.cpp +0 -136
- data/ext/ice/cpp/src/Ice/UdpTransceiver.cpp +0 -1153
- data/ext/ice/cpp/src/Ice/UdpTransceiver.h +0 -117
- data/ext/ice/cpp/src/Ice/ValueFactory.cpp +0 -83
- data/ext/ice/cpp/src/Ice/Version.cpp +0 -57
- data/ext/ice/cpp/src/Ice/WSAcceptor.cpp +0 -92
- data/ext/ice/cpp/src/Ice/WSAcceptor.h +0 -52
- data/ext/ice/cpp/src/Ice/WSTransceiver.cpp +0 -1747
- data/ext/ice/cpp/src/Ice/WSTransceiver.h +0 -141
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +0 -915
- data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +0 -1889
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.cpp +0 -730
- data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.h +0 -1197
- data/ext/ice/cpp/src/IceSSL/AcceptorI.cpp +0 -105
- data/ext/ice/cpp/src/IceSSL/AcceptorI.h +0 -52
- data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +0 -75
- data/ext/ice/cpp/src/IceSSL/ConnectionInfoF.cpp +0 -61
- data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +0 -75
- data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +0 -1092
- data/ext/ice/cpp/src/IceSSL/PluginI.cpp +0 -246
- data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +0 -719
- data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.cpp +0 -868
- data/ext/ice/cpp/src/IceSSL/UWPCertificateI.cpp +0 -266
- data/ext/ice/cpp/src/IceSSL/UWPEngine.cpp +0 -338
- data/ext/ice/cpp/src/IceSSL/UWPEngine.h +0 -41
- data/ext/ice/cpp/src/IceSSL/UWPEngineF.h +0 -26
- data/ext/ice/cpp/src/IceSSL/UWPPluginI.cpp +0 -89
- data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.cpp +0 -383
- data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.h +0 -71
- data/ext/ice/cpp/src/IceSSL/Util.cpp +0 -192
- data/ext/ice/cpp/src/IceUtil/ConsoleUtil.cpp +0 -157
- data/ext/ice/cpp/src/IceUtil/FileUtil.cpp +0 -484
- data/ext/ice/cpp/src/IceUtil/RecMutex.cpp +0 -242
- data/ext/ice/cpp/src/IceUtil/StringConverter.cpp +0 -690
- data/ext/ice/cpp/src/IceUtil/StringUtil.cpp +0 -1180
- data/ext/ice/cpp/src/IceUtil/UUID.cpp +0 -169
- data/ext/ice/cpp/src/IceUtil/UtilException.cpp +0 -839
- data/ext/ice/cpp/src/Slice/JavaUtil.cpp +0 -5154
- data/ext/ice/cpp/src/Slice/JavaUtil.h +0 -398
- data/ext/ice/mcpp/CMakeLists.txt +0 -80
- data/ext/ice/mcpp/LICENSE +0 -29
- data/ext/ice/mcpp/Makefile +0 -63
- data/ext/ice/mcpp/README.md +0 -32
- data/ext/ice/mcpp/directive.c +0 -1404
- data/ext/ice/mcpp/internal.H +0 -530
- data/ext/ice/mcpp/main.c +0 -792
- data/ext/ice/mcpp/mcpp.gyp +0 -88
- data/ext/ice/mcpp/support.c +0 -1985
- data/ext/ice/mcpp/system.c +0 -2741
- data/lib/Glacier2/Metrics.rb +0 -56
- data/lib/Glacier2/PermissionsVerifier.rb +0 -93
- data/lib/Glacier2/PermissionsVerifierF.rb +0 -30
- data/lib/Glacier2/Router.rb +0 -95
- data/lib/Glacier2/RouterF.rb +0 -25
- data/lib/Glacier2/SSLInfo.rb +0 -72
- data/lib/Glacier2/Session.rb +0 -247
- data/lib/Ice/BuiltinSequences.rb +0 -60
- data/lib/Ice/Communicator.rb +0 -87
- data/lib/Ice/CommunicatorF.rb +0 -24
- data/lib/Ice/Connection.rb +0 -413
- data/lib/Ice/ConnectionF.rb +0 -32
- data/lib/Ice/Current.rb +0 -141
- data/lib/Ice/Endpoint.rb +0 -187
- data/lib/Ice/EndpointF.rb +0 -48
- data/lib/Ice/EndpointTypes.rb +0 -69
- data/lib/Ice/FacetMap.rb +0 -24
- data/lib/Ice/Identity.rb +0 -63
- data/lib/Ice/ImplicitContext.rb +0 -26
- data/lib/Ice/ImplicitContextF.rb +0 -24
- data/lib/Ice/Instrumentation.rb +0 -169
- data/lib/Ice/InstrumentationF.rb +0 -31
- data/lib/Ice/LocalException.rb +0 -1031
- data/lib/Ice/Locator.rb +0 -196
- data/lib/Ice/LocatorF.rb +0 -30
- data/lib/Ice/Logger.rb +0 -24
- data/lib/Ice/LoggerF.rb +0 -24
- data/lib/Ice/Metrics.rb +0 -337
- data/lib/Ice/ObjectAdapter.rb +0 -29
- data/lib/Ice/ObjectAdapterF.rb +0 -24
- data/lib/Ice/ObjectFactory.rb +0 -24
- data/lib/Ice/Plugin.rb +0 -30
- data/lib/Ice/PluginF.rb +0 -28
- data/lib/Ice/Process.rb +0 -53
- data/lib/Ice/ProcessF.rb +0 -25
- data/lib/Ice/Properties.rb +0 -25
- data/lib/Ice/PropertiesAdmin.rb +0 -63
- data/lib/Ice/PropertiesF.rb +0 -29
- data/lib/Ice/RemoteLogger.rb +0 -207
- data/lib/Ice/Router.rb +0 -87
- data/lib/Ice/RouterF.rb +0 -25
- data/lib/Ice/ServantLocator.rb +0 -26
- data/lib/Ice/ServantLocatorF.rb +0 -24
- data/lib/Ice/SliceChecksumDict.rb +0 -24
- data/lib/Ice/ValueFactory.rb +0 -28
- data/lib/Ice/Version.rb +0 -90
- data/lib/IceBox/IceBox.rb +0 -164
- data/lib/IceGrid/Admin.rb +0 -1196
- data/lib/IceGrid/Descriptor.rb +0 -1034
- data/lib/IceGrid/Exception.rb +0 -376
- data/lib/IceGrid/FileParser.rb +0 -65
- data/lib/IceGrid/PluginFacade.rb +0 -35
- data/lib/IceGrid/Registry.rb +0 -209
- data/lib/IceGrid/Session.rb +0 -71
- data/lib/IceGrid/UserAccountMapper.rb +0 -61
- data/lib/IcePatch2/FileInfo.rb +0 -115
- data/lib/IcePatch2/FileServer.rb +0 -123
- data/lib/IceStorm/IceStorm.rb +0 -332
- data/lib/IceStorm/Metrics.rb +0 -73
- data/slice/Ice/Connection.ice +0 -516
- data/slice/Ice/Current.ice +0 -170
- data/slice/Ice/Locator.ice +0 -239
- data/slice/Ice/Metrics.ice +0 -436
- data/slice/Ice/ObjectAdapter.ice +0 -710
- data/slice/Ice/Properties.ice +0 -244
- data/slice/Ice/Router.ice +0 -103
- data/slice/IceBT/ConnectionInfo.ice +0 -59
- data/slice/IceBT/EndpointInfo.ice +0 -57
- data/slice/IceBT/Types.ice +0 -45
- data/slice/IceDiscovery/IceDiscovery.ice +0 -98
- data/slice/IceGrid/PluginFacade.ice +0 -329
- data/slice/IceIAP/ConnectionInfo.ice +0 -74
- data/slice/IceIAP/EndpointInfo.ice +0 -68
- data/slice/IceLocatorDiscovery/IceLocatorDiscovery.ice +0 -83
- data/slice/IceSSL/ConnectionInfo.ice +0 -54
- data/slice/IceSSL/ConnectionInfoF.ice +0 -31
- data/slice/IceSSL/EndpointInfo.ice +0 -45
- data/slice/IceStorm/IceStorm.ice +0 -414
- /data/{ext → dist/IceRuby}/Communicator.cpp +0 -0
- /data/{ext → dist/IceRuby}/Communicator.h +0 -0
- /data/{ext → dist/IceRuby}/Config.h +0 -0
- /data/{ext → dist/IceRuby}/Connection.h +0 -0
- /data/{ext → dist/IceRuby}/Endpoint.h +0 -0
- /data/{ext → dist/IceRuby}/ImplicitContext.h +0 -0
- /data/{ext → dist/IceRuby}/Init.cpp +0 -0
- /data/{ext → dist/IceRuby}/Logger.h +0 -0
- /data/{ext → dist/IceRuby}/Operation.h +0 -0
- /data/{ext → dist/IceRuby}/Properties.h +0 -0
- /data/{ext → dist/IceRuby}/Proxy.cpp +0 -0
- /data/{ext → dist/IceRuby}/Proxy.h +0 -0
- /data/{ext → dist/IceRuby}/Slice.cpp +0 -0
- /data/{ext → dist/IceRuby}/Slice.h +0 -0
- /data/{ext → dist/IceRuby}/Util.cpp +0 -0
- /data/{ext → dist/IceRuby}/Util.h +0 -0
- /data/{ext → dist/IceRuby}/ValueFactoryManager.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/Application.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/AsyncResult.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/AsyncResultF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/BatchRequestInterceptor.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/BatchRequestQueueF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/Buffer.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/CommunicatorAsync.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/Comparable.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/ConnectionAsync.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/ConnectionIF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/DefaultValueFactory.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/DispatchInterceptor.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/Dispatcher.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/DynamicLibrary.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/DynamicLibraryF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/Exception.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/FactoryTable.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/FactoryTableInit.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/Format.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/Functional.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/GCObject.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/Handle.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/IconvStringConverter.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/Incoming.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/IncomingAsync.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/IncomingAsyncF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/InputStream.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/InstanceF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/InterfaceByValue.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/LocalObject.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/LocalObjectF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/LoggerUtil.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/MetricsAdminI.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/MetricsFunctional.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/NativePropertiesAdmin.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/Object.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/ObjectF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/ObserverHelper.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/Optional.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/OutgoingAsyncF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/OutputStream.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/Protocol.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/ProxyF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/ProxyFactoryF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/ProxyHandle.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/ReferenceF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/RegisterPlugins.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/RequestHandlerF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/ResponseHandlerF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/ServantManagerF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/Service.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/SliceChecksums.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/SlicedData.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/SlicedDataF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/StreamHelpers.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/StringConverter.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/ThreadPoolF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/UUID.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/UniquePtr.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/UniqueRef.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/Value.h +0 -0
- /data/{ext → dist}/ice/cpp/include/Ice/ValueF.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceSSL/Config.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceSSL/OpenSSL.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceSSL/Plugin.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceSSL/SChannel.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceSSL/SecureTransport.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/Atomic.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/CountDownLatch.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/DisableWarnings.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/Exception.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/Functional.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/Handle.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/Iterator.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/Lock.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/Monitor.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/MutexProtocol.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/MutexPtrLock.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/MutexPtrTryLock.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/Optional.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/Options.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/OutputUtil.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/PopDisableWarnings.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/PushDisableWarnings.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/Random.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/RecMutex.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/ScannerConfig.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/ScopedArray.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/Shared.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/StopWatch.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/StringConverter.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/StringUtil.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/ThreadException.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/Time.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/UUID.h +0 -0
- /data/{ext → dist}/ice/cpp/include/IceUtil/UndefSysMacros.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ACM.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ACM.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ACMF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Acceptor.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/AcceptorF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ArgVector.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ArgVector.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/AsyncResult.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Base64.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Base64.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/BatchRequestQueue.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/BatchRequestQueue.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Buffer.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/CollocatedRequestHandler.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/CollocatedRequestHandler.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/CommunicatorI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/CommunicatorI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Cond.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ConnectRequestHandler.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ConnectRequestHandler.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ConnectRequestHandlerF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ConnectionFactoryF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ConnectionRequestHandler.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ConnectionRequestHandler.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Connector.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Connector.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ConnectorF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/DefaultsAndOverrides.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/DefaultsAndOverridesF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/DispatchInterceptor.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/EndpointFactory.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/EndpointFactoryF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/EndpointFactoryManager.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/EndpointFactoryManager.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/EndpointFactoryManagerF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/EndpointI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/EndpointIF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/EventHandlerF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/FactoryTable.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/FactoryTableInit.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/GCObject.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/HashUtil.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/HttpParser.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/HttpParser.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/IPEndpointIF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/IconvStringConverter.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ImplicitContextI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ImplicitContextI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Incoming.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/IncomingAsync.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/IncomingRequest.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Initialize.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Instance.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/InstrumentationI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/InstrumentationI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/LocalObject.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/LocatorInfo.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/LocatorInfo.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/LocatorInfoF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/LoggerAdminI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/LoggerAdminI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/LoggerI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/LoggerUtil.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/MetricsObserverI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/NetworkProxy.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/NetworkProxyF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/OSLogLoggerI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/OSLogLoggerI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Object.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ObjectAdapterFactory.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ObjectAdapterFactory.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ObjectAdapterFactoryF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ObjectAdapterI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ObserverHelper.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/OpaqueEndpointI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/OpaqueEndpointI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/OutputStream.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/PluginManagerI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/PropertiesAdminI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/PropertiesAdminI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/PropertiesI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Protocol.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ProtocolInstance.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ProtocolInstance.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ProtocolInstanceF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ProtocolPluginFacade.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ProtocolPluginFacade.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ProtocolPluginFacadeF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ProxyFactory.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ProxyFactory.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Reference.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Reference.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ReferenceFactory.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ReferenceFactory.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ReferenceFactoryF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/RegisterPluginsInit.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/RegisterPluginsInit.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ReplyStatus.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/RequestHandler.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/RequestHandler.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/RequestHandlerFactory.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/RequestHandlerFactory.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ResponseHandler.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ResponseHandler.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/RetryQueue.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/RetryQueue.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/RetryQueueF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/RouterInfo.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/RouterInfo.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/RouterInfoF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ServantManager.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ServantManager.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/SharedContext.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/SliceChecksums.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/SlicedData.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/StringConverterPlugin.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/StringUtil.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/SysLoggerI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/SysLoggerI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/SystemdJournalI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/SystemdJournalI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/TcpConnector.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/TcpConnector.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/TcpEndpointI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/TcpEndpointI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Timer.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/TraceLevels.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/TraceLevels.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/TraceLevelsF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/TraceUtil.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/TraceUtil.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Transceiver.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/TransceiverF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/UdpConnector.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/UdpEndpointI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/UdpEndpointI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/Value.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ValueFactoryManagerI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/ValueFactoryManagerI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/VirtualShared.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/WSConnector.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/WSConnector.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/WSEndpoint.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Ice/WSEndpoint.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceDiscovery/LocatorI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceDiscovery/LocatorI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceDiscovery/LookupI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceDiscovery/LookupI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceDiscovery/PluginI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceDiscovery/PluginI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceLocatorDiscovery/Plugin.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/CertificateI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/CertificateI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/ConnectorI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/ConnectorI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/EndpointI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/EndpointI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/Instance.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/Instance.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/InstanceF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLCertificateI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLEngine.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLEngine.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLEngineF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLPluginI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLTransceiverI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLUtil.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLUtil.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/PluginI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/RFC2253.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/RFC2253.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SChannelCertificateI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SChannelEngine.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SChannelEngine.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SChannelEngineF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SChannelPluginI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SChannelTransceiverI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SSLEngine.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SSLEngine.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SSLEngineF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SecureTransportCertificateI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SecureTransportEngine.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SecureTransportEngine.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SecureTransportEngineF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SecureTransportPluginI.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SecureTransportTransceiverI.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/SecureTransportUtil.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/TrustManager.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/TrustManager.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/TrustManagerF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceSSL/Util.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceUtil/ConvertUTF.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceUtil/ConvertUTF.h +0 -0
- /data/{ext → dist}/ice/cpp/src/IceUtil/CtrlCHandler.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceUtil/InputUtil.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceUtil/MutexProtocol.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceUtil/Options.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceUtil/OutputUtil.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceUtil/Random.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceUtil/Shared.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceUtil/ThreadException.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceUtil/Time.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceUtil/Unicode.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/IceUtil/Unicode.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/CPlusPlusUtil.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/CPlusPlusUtil.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/Checksum.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/Checksum.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/FileTracker.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/FileTracker.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/Grammar.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/Grammar.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/GrammarUtil.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/MD5.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/MD5.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/MD5I.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/MD5I.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/PHPUtil.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/PHPUtil.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/Parser.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/Parser.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/Preprocessor.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/Preprocessor.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/Python.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/PythonUtil.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/PythonUtil.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/Ruby.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/RubyUtil.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/RubyUtil.h +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/Scanner.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/SliceUtil.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/StringLiteralUtil.cpp +0 -0
- /data/{ext → dist}/ice/cpp/src/Slice/Util.h +0 -0
- /data/{ext → dist}/ice/mcpp/config.h +0 -0
- /data/{ext → dist}/ice/mcpp/configed.H +0 -0
- /data/{ext → dist}/ice/mcpp/eval.c +0 -0
- /data/{ext → dist}/ice/mcpp/expand.c +0 -0
- /data/{ext → dist}/ice/mcpp/mbchar.c +0 -0
- /data/{ext → dist}/ice/mcpp/mcpp_lib.h +0 -0
- /data/{ext → dist}/ice/mcpp/mcpp_out.h +0 -0
- /data/{ext → dist}/ice/mcpp/system.H +0 -0
- /data/{slice → dist/ice/slice}/Glacier2/Metrics.ice +0 -0
- /data/{slice → dist/ice/slice}/Glacier2/PermissionsVerifier.ice +0 -0
- /data/{slice → dist/ice/slice}/Glacier2/PermissionsVerifierF.ice +0 -0
- /data/{slice → dist/ice/slice}/Glacier2/Router.ice +0 -0
- /data/{slice → dist/ice/slice}/Glacier2/RouterF.ice +0 -0
- /data/{slice → dist/ice/slice}/Glacier2/SSLInfo.ice +0 -0
- /data/{slice → dist/ice/slice}/Glacier2/Session.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/BuiltinSequences.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/Communicator.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/CommunicatorF.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/ConnectionF.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/Endpoint.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/EndpointF.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/EndpointTypes.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/FacetMap.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/Identity.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/ImplicitContext.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/ImplicitContextF.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/Instrumentation.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/InstrumentationF.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/LocalException.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/LocatorF.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/Logger.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/LoggerF.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/ObjectAdapterF.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/ObjectFactory.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/Plugin.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/PluginF.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/Process.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/ProcessF.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/PropertiesAdmin.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/PropertiesF.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/RemoteLogger.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/RouterF.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/ServantLocator.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/ServantLocatorF.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/SliceChecksumDict.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/ValueFactory.ice +0 -0
- /data/{slice → dist/ice/slice}/Ice/Version.ice +0 -0
- /data/{slice → dist/ice/slice}/IceBox/IceBox.ice +0 -0
- /data/{slice → dist/ice/slice}/IceGrid/Admin.ice +0 -0
- /data/{slice → dist/ice/slice}/IceGrid/Descriptor.ice +0 -0
- /data/{slice → dist/ice/slice}/IceGrid/Exception.ice +0 -0
- /data/{slice → dist/ice/slice}/IceGrid/FileParser.ice +0 -0
- /data/{slice → dist/ice/slice}/IceGrid/Registry.ice +0 -0
- /data/{slice → dist/ice/slice}/IceGrid/Session.ice +0 -0
- /data/{slice → dist/ice/slice}/IceGrid/UserAccountMapper.ice +0 -0
- /data/{slice → dist/ice/slice}/IcePatch2/FileInfo.ice +0 -0
- /data/{slice → dist/ice/slice}/IcePatch2/FileServer.ice +0 -0
- /data/{slice → dist/ice/slice}/IceStorm/Metrics.ice +0 -0
- /data/{lib → dist/lib}/Glacier2.rb +0 -0
- /data/{lib → dist/lib}/Ice.rb +0 -0
- /data/{lib → dist/lib}/IceBox.rb +0 -0
- /data/{lib → dist/lib}/IceGrid.rb +0 -0
- /data/{lib → dist/lib}/IcePatch2.rb +0 -0
- /data/{lib → dist/lib}/IceStorm.rb +0 -0
- /data/{bin → scripts}/slice2rb +0 -0
|
@@ -0,0 +1,1135 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright (c) ZeroC, Inc. All rights reserved.
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
#include <IceUtil/StringUtil.h>
|
|
6
|
+
#include <IceUtil/StringConverter.h>
|
|
7
|
+
#include <cstring>
|
|
8
|
+
#include <string.h> // for strerror_r
|
|
9
|
+
|
|
10
|
+
#include <sstream>
|
|
11
|
+
#include <iomanip>
|
|
12
|
+
|
|
13
|
+
using namespace std;
|
|
14
|
+
using namespace IceUtil;
|
|
15
|
+
|
|
16
|
+
namespace
|
|
17
|
+
{
|
|
18
|
+
|
|
19
|
+
char
|
|
20
|
+
toHexDigit(Byte b)
|
|
21
|
+
{
|
|
22
|
+
assert(b < 16);
|
|
23
|
+
if(b < 10)
|
|
24
|
+
{
|
|
25
|
+
return static_cast<char>('0' + b);
|
|
26
|
+
}
|
|
27
|
+
else
|
|
28
|
+
{
|
|
29
|
+
return static_cast<char>('a' - 10 + b);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
unsigned int
|
|
34
|
+
addContinuationByte(string::iterator& p, string::iterator end, unsigned int codePoint)
|
|
35
|
+
{
|
|
36
|
+
if(p == end)
|
|
37
|
+
{
|
|
38
|
+
throw IllegalArgumentException(__FILE__, __LINE__, "UTF-8 sequence too short");
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
Byte b = static_cast<Byte>(*p++);
|
|
42
|
+
|
|
43
|
+
if((b >> 6) != 2)
|
|
44
|
+
{
|
|
45
|
+
throw IllegalArgumentException(__FILE__, __LINE__, "Invalid UTF-8 sequence");
|
|
46
|
+
}
|
|
47
|
+
return (codePoint << 6) + (b & 0x3F);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
//
|
|
51
|
+
// Appends a 2 to 4 bytes UTF-8 sequence as a universal character name
|
|
52
|
+
//
|
|
53
|
+
void
|
|
54
|
+
appendUniversalName(char c, string::iterator& p, string::iterator end, string& result)
|
|
55
|
+
{
|
|
56
|
+
unsigned int codePoint;
|
|
57
|
+
|
|
58
|
+
Byte b = static_cast<Byte>(c);
|
|
59
|
+
if((b >> 5) == 0x06)
|
|
60
|
+
{
|
|
61
|
+
// 2 bytes
|
|
62
|
+
codePoint = (b & 0x1F);
|
|
63
|
+
codePoint = addContinuationByte(p, end, codePoint);
|
|
64
|
+
}
|
|
65
|
+
else if((b >> 4) == 0x0E)
|
|
66
|
+
{
|
|
67
|
+
// 3 bytes
|
|
68
|
+
codePoint = (b & 0x0F);
|
|
69
|
+
codePoint = addContinuationByte(p, end, codePoint);
|
|
70
|
+
codePoint = addContinuationByte(p, end, codePoint);
|
|
71
|
+
}
|
|
72
|
+
else if((b >> 3) == 0x1E)
|
|
73
|
+
{
|
|
74
|
+
// 4 bytes
|
|
75
|
+
codePoint = (b & 0x07);
|
|
76
|
+
codePoint = addContinuationByte(p, end, codePoint);
|
|
77
|
+
codePoint = addContinuationByte(p, end, codePoint);
|
|
78
|
+
codePoint = addContinuationByte(p, end, codePoint);
|
|
79
|
+
}
|
|
80
|
+
else
|
|
81
|
+
{
|
|
82
|
+
ostringstream ostr;
|
|
83
|
+
ostr << "Invalid first byte 0x" << hex << static_cast<unsigned short>(b) << " in UTF-8 sequence" << endl;
|
|
84
|
+
throw IllegalArgumentException(__FILE__, __LINE__, ostr.str());
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
if(codePoint > 0xFFFF)
|
|
88
|
+
{
|
|
89
|
+
result.append("\\U");
|
|
90
|
+
for(int j = 7; j >= 0; j--)
|
|
91
|
+
{
|
|
92
|
+
result.push_back(toHexDigit(static_cast<Byte>((codePoint >> (j * 4)) & 0x0F)));
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
else
|
|
96
|
+
{
|
|
97
|
+
result.append("\\u");
|
|
98
|
+
for(int j = 3; j >= 0; j--)
|
|
99
|
+
{
|
|
100
|
+
result.push_back(toHexDigit(static_cast<Byte>((codePoint >> (j * 4)) & 0x0F)));
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
//
|
|
108
|
+
// Add escape sequences. Any characters that appear in special are prefixed with a backslash in the returned string.
|
|
109
|
+
//
|
|
110
|
+
string
|
|
111
|
+
IceUtilInternal::escapeString(const string& s, const string& special, ToStringMode toStringMode)
|
|
112
|
+
{
|
|
113
|
+
for(string::size_type i = 0; i < special.size(); ++i)
|
|
114
|
+
{
|
|
115
|
+
if(static_cast<unsigned char>(special[i]) < 32 || static_cast<unsigned char>(special[i]) > 126)
|
|
116
|
+
{
|
|
117
|
+
throw IllegalArgumentException(__FILE__, __LINE__, "Special characters must be in ASCII range 32-126");
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
//
|
|
122
|
+
// First convert to UTF-8
|
|
123
|
+
//
|
|
124
|
+
string u8s = nativeToUTF8(s, getProcessStringConverter());
|
|
125
|
+
|
|
126
|
+
string::iterator p = u8s.begin();
|
|
127
|
+
|
|
128
|
+
string result;
|
|
129
|
+
|
|
130
|
+
while(p != u8s.end())
|
|
131
|
+
{
|
|
132
|
+
char c = *p++;
|
|
133
|
+
|
|
134
|
+
switch(c)
|
|
135
|
+
{
|
|
136
|
+
case '\\':
|
|
137
|
+
{
|
|
138
|
+
result.append("\\\\");
|
|
139
|
+
break;
|
|
140
|
+
}
|
|
141
|
+
case '\'':
|
|
142
|
+
{
|
|
143
|
+
result.append("\\'");
|
|
144
|
+
break;
|
|
145
|
+
}
|
|
146
|
+
case '"':
|
|
147
|
+
{
|
|
148
|
+
result.append("\\\"");
|
|
149
|
+
break;
|
|
150
|
+
}
|
|
151
|
+
case '\a':
|
|
152
|
+
{
|
|
153
|
+
if(toStringMode == ICE_ENUM(ToStringMode, Compat))
|
|
154
|
+
{
|
|
155
|
+
// Octal escape for compatibility with 3.6 and earlier
|
|
156
|
+
result.append("\\007");
|
|
157
|
+
}
|
|
158
|
+
else
|
|
159
|
+
{
|
|
160
|
+
result.append("\\a");
|
|
161
|
+
}
|
|
162
|
+
break;
|
|
163
|
+
}
|
|
164
|
+
case '\b':
|
|
165
|
+
{
|
|
166
|
+
result.append("\\b");
|
|
167
|
+
break;
|
|
168
|
+
}
|
|
169
|
+
case '\f':
|
|
170
|
+
{
|
|
171
|
+
result.append("\\f");
|
|
172
|
+
break;
|
|
173
|
+
}
|
|
174
|
+
case '\n':
|
|
175
|
+
{
|
|
176
|
+
result.append("\\n");
|
|
177
|
+
break;
|
|
178
|
+
}
|
|
179
|
+
case '\r':
|
|
180
|
+
{
|
|
181
|
+
result.append("\\r");
|
|
182
|
+
break;
|
|
183
|
+
}
|
|
184
|
+
case '\t':
|
|
185
|
+
{
|
|
186
|
+
result.append("\\t");
|
|
187
|
+
break;
|
|
188
|
+
}
|
|
189
|
+
case '\v':
|
|
190
|
+
{
|
|
191
|
+
if(toStringMode == ICE_ENUM(ToStringMode, Compat))
|
|
192
|
+
{
|
|
193
|
+
// Octal escape for compatibility with 3.6 and earlier
|
|
194
|
+
result.append("\\013");
|
|
195
|
+
}
|
|
196
|
+
else
|
|
197
|
+
{
|
|
198
|
+
result.append("\\v");
|
|
199
|
+
}
|
|
200
|
+
break;
|
|
201
|
+
}
|
|
202
|
+
default:
|
|
203
|
+
{
|
|
204
|
+
if(special.find(c) != string::npos)
|
|
205
|
+
{
|
|
206
|
+
result.push_back('\\');
|
|
207
|
+
result.push_back(c);
|
|
208
|
+
}
|
|
209
|
+
else
|
|
210
|
+
{
|
|
211
|
+
unsigned char i = static_cast<unsigned char>(c);
|
|
212
|
+
|
|
213
|
+
if(i < 32 || i > 126)
|
|
214
|
+
{
|
|
215
|
+
if(toStringMode == ICE_ENUM(ToStringMode, Compat))
|
|
216
|
+
{
|
|
217
|
+
// append octal string
|
|
218
|
+
|
|
219
|
+
// Add leading zeroes so that we avoid problems during
|
|
220
|
+
// decoding. For example, consider the escaped string
|
|
221
|
+
// \0013 (i.e., a character with value 1 followed by the
|
|
222
|
+
// character '3'). If the leading zeroes were omitted, the
|
|
223
|
+
// result would be incorrectly interpreted as a single
|
|
224
|
+
// character with value 11.
|
|
225
|
+
//
|
|
226
|
+
ostringstream os;
|
|
227
|
+
os << '\\' << oct << setfill('0') << setw(3) << static_cast<unsigned int>(i);
|
|
228
|
+
result.append(os.str());
|
|
229
|
+
}
|
|
230
|
+
else if(i < 32 || i == 127)
|
|
231
|
+
{
|
|
232
|
+
// append \u00nn
|
|
233
|
+
result.append("\\u00");
|
|
234
|
+
result.push_back(toHexDigit(i >> 4));
|
|
235
|
+
result.push_back(toHexDigit(i & 0x0F));
|
|
236
|
+
}
|
|
237
|
+
else if(toStringMode == ICE_ENUM(ToStringMode, ASCII))
|
|
238
|
+
{
|
|
239
|
+
// append \unnnn or \Unnnnnnnn after reading more UTF-8 bytes
|
|
240
|
+
appendUniversalName(c, p, u8s.end(), result);
|
|
241
|
+
}
|
|
242
|
+
else
|
|
243
|
+
{
|
|
244
|
+
// keep as is
|
|
245
|
+
result.push_back(c);
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
else
|
|
249
|
+
{
|
|
250
|
+
// printable ASCII character
|
|
251
|
+
result.push_back(c);
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
break;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
if(toStringMode == ICE_ENUM(ToStringMode, Unicode))
|
|
260
|
+
{
|
|
261
|
+
//
|
|
262
|
+
// Convert back to Native
|
|
263
|
+
//
|
|
264
|
+
result = UTF8ToNative(result, getProcessStringConverter());
|
|
265
|
+
}
|
|
266
|
+
// else it's a pure ASCII string
|
|
267
|
+
|
|
268
|
+
return result;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
namespace
|
|
272
|
+
{
|
|
273
|
+
|
|
274
|
+
char
|
|
275
|
+
checkChar(const string& s, string::size_type pos)
|
|
276
|
+
{
|
|
277
|
+
unsigned char c = static_cast<unsigned char>(s[pos]);
|
|
278
|
+
if(c < 32 || c == 127)
|
|
279
|
+
{
|
|
280
|
+
ostringstream ostr;
|
|
281
|
+
if(pos > 0)
|
|
282
|
+
{
|
|
283
|
+
ostr << "character after `" << s.substr(0, pos) << "'";
|
|
284
|
+
}
|
|
285
|
+
else
|
|
286
|
+
{
|
|
287
|
+
ostr << "first character";
|
|
288
|
+
}
|
|
289
|
+
ostr << " has invalid ordinal value " << static_cast<int>(c);
|
|
290
|
+
throw IllegalArgumentException(__FILE__, __LINE__, ostr.str());
|
|
291
|
+
}
|
|
292
|
+
return static_cast<char>(c);
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
//
|
|
296
|
+
// Append codePoint as a UTF-8 sequence
|
|
297
|
+
//
|
|
298
|
+
void
|
|
299
|
+
appendUTF8(unsigned int codePoint, string& result)
|
|
300
|
+
{
|
|
301
|
+
if(codePoint >= 0xD800 && codePoint <= 0xDFFF)
|
|
302
|
+
{
|
|
303
|
+
throw IllegalArgumentException(__FILE__, __LINE__,
|
|
304
|
+
"A universal character name cannot designate a surrogate");
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
if(codePoint <= 0x7F)
|
|
308
|
+
{
|
|
309
|
+
// ASCII
|
|
310
|
+
result.push_back(static_cast<char>(codePoint));
|
|
311
|
+
}
|
|
312
|
+
else if(codePoint <= 0x7FF)
|
|
313
|
+
{
|
|
314
|
+
// 2 bytes
|
|
315
|
+
result.push_back(static_cast<char>((codePoint >> 6) | 0xC0));
|
|
316
|
+
result.push_back(static_cast<char>((codePoint & 0x3F) | 0x80));
|
|
317
|
+
}
|
|
318
|
+
else if(codePoint <= 0xFFFF)
|
|
319
|
+
{
|
|
320
|
+
// 3 bytes
|
|
321
|
+
result.push_back(static_cast<char>((codePoint >> 12) | 0xE0));
|
|
322
|
+
result.push_back(static_cast<char>(((codePoint >> 6) & 0x3F) | 0x80));
|
|
323
|
+
result.push_back(static_cast<char>((codePoint & 0x3F) | 0x80));
|
|
324
|
+
}
|
|
325
|
+
else if(codePoint <= 0x10FFFF)
|
|
326
|
+
{
|
|
327
|
+
// 4 bytes
|
|
328
|
+
result.push_back(static_cast<char>((codePoint >> 18) | 0xF0));
|
|
329
|
+
result.push_back(static_cast<char>(((codePoint >> 12) & 0x3F) | 0x80));
|
|
330
|
+
result.push_back(static_cast<char>(((codePoint >> 6) & 0x3F) | 0x80));
|
|
331
|
+
result.push_back(static_cast<char>((codePoint & 0x3F) | 0x80));
|
|
332
|
+
}
|
|
333
|
+
else
|
|
334
|
+
{
|
|
335
|
+
throw IllegalArgumentException(__FILE__, __LINE__, "Invalid universal character name");
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
//
|
|
340
|
+
// Decode the character or escape sequence starting at start and appends it to result;
|
|
341
|
+
// end marks the one-past-the-end position of the substring to be scanned.
|
|
342
|
+
// nextStart is set to the index of the first character following the decoded
|
|
343
|
+
// character or escape sequence.
|
|
344
|
+
//
|
|
345
|
+
bool
|
|
346
|
+
decodeChar(const string& s, string::size_type start, string::size_type end, string::size_type& nextStart,
|
|
347
|
+
const string& special, string& result)
|
|
348
|
+
{
|
|
349
|
+
assert(start < end);
|
|
350
|
+
assert(end <= s.size());
|
|
351
|
+
|
|
352
|
+
bool pureASCII = true;
|
|
353
|
+
|
|
354
|
+
if(s[start] != '\\')
|
|
355
|
+
{
|
|
356
|
+
result.push_back(checkChar(s, start++));
|
|
357
|
+
}
|
|
358
|
+
else if(start + 1 == end)
|
|
359
|
+
{
|
|
360
|
+
// Keep trailing backslash
|
|
361
|
+
++start;
|
|
362
|
+
result.push_back('\\');
|
|
363
|
+
}
|
|
364
|
+
else
|
|
365
|
+
{
|
|
366
|
+
char c = s[++start];
|
|
367
|
+
|
|
368
|
+
switch(c)
|
|
369
|
+
{
|
|
370
|
+
case '\\':
|
|
371
|
+
case '\'':
|
|
372
|
+
case '"':
|
|
373
|
+
case '?':
|
|
374
|
+
{
|
|
375
|
+
++start;
|
|
376
|
+
result.push_back(c);
|
|
377
|
+
break;
|
|
378
|
+
}
|
|
379
|
+
case 'a':
|
|
380
|
+
{
|
|
381
|
+
++start;
|
|
382
|
+
result.push_back('\a');
|
|
383
|
+
break;
|
|
384
|
+
}
|
|
385
|
+
case 'b':
|
|
386
|
+
{
|
|
387
|
+
++start;
|
|
388
|
+
result.push_back('\b');
|
|
389
|
+
break;
|
|
390
|
+
}
|
|
391
|
+
case 'f':
|
|
392
|
+
{
|
|
393
|
+
++start;
|
|
394
|
+
result.push_back('\f');
|
|
395
|
+
break;
|
|
396
|
+
}
|
|
397
|
+
case 'n':
|
|
398
|
+
{
|
|
399
|
+
++start;
|
|
400
|
+
result.push_back('\n');
|
|
401
|
+
break;
|
|
402
|
+
}
|
|
403
|
+
case 'r':
|
|
404
|
+
{
|
|
405
|
+
++start;
|
|
406
|
+
result.push_back('\r');
|
|
407
|
+
break;
|
|
408
|
+
}
|
|
409
|
+
case 't':
|
|
410
|
+
{
|
|
411
|
+
++start;
|
|
412
|
+
result.push_back('\t');
|
|
413
|
+
break;
|
|
414
|
+
}
|
|
415
|
+
case 'v':
|
|
416
|
+
{
|
|
417
|
+
++start;
|
|
418
|
+
result.push_back('\v');
|
|
419
|
+
break;
|
|
420
|
+
}
|
|
421
|
+
case 'u':
|
|
422
|
+
case 'U':
|
|
423
|
+
{
|
|
424
|
+
unsigned int codePoint = 0;
|
|
425
|
+
bool inBMP = (c == 'u');
|
|
426
|
+
int size = inBMP ? 4 : 8;
|
|
427
|
+
++start;
|
|
428
|
+
while(size > 0 && start < end)
|
|
429
|
+
{
|
|
430
|
+
c = s[start++];
|
|
431
|
+
int charVal = 0;
|
|
432
|
+
if(c >= '0' && c <= '9')
|
|
433
|
+
{
|
|
434
|
+
charVal = c - '0';
|
|
435
|
+
}
|
|
436
|
+
else if(c >= 'a' && c <= 'f')
|
|
437
|
+
{
|
|
438
|
+
charVal = 10 + (c - 'a');
|
|
439
|
+
}
|
|
440
|
+
else if(c >= 'A' && c <= 'F')
|
|
441
|
+
{
|
|
442
|
+
charVal = 10 + (c - 'A');
|
|
443
|
+
}
|
|
444
|
+
else
|
|
445
|
+
{
|
|
446
|
+
break; // while
|
|
447
|
+
}
|
|
448
|
+
codePoint = codePoint * 16 + static_cast<unsigned int>(charVal);
|
|
449
|
+
--size;
|
|
450
|
+
}
|
|
451
|
+
if(size > 0)
|
|
452
|
+
{
|
|
453
|
+
throw IllegalArgumentException(__FILE__, __LINE__,
|
|
454
|
+
"Invalid universal character name: too few hex digits");
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
appendUTF8(codePoint, result);
|
|
458
|
+
if(codePoint > 127)
|
|
459
|
+
{
|
|
460
|
+
pureASCII = false;
|
|
461
|
+
}
|
|
462
|
+
break;
|
|
463
|
+
}
|
|
464
|
+
case '0':
|
|
465
|
+
case '1':
|
|
466
|
+
case '2':
|
|
467
|
+
case '3':
|
|
468
|
+
case '4':
|
|
469
|
+
case '5':
|
|
470
|
+
case '6':
|
|
471
|
+
case '7':
|
|
472
|
+
{
|
|
473
|
+
int val = 0;
|
|
474
|
+
for(int j = 0; j < 3 && start < end; ++j)
|
|
475
|
+
{
|
|
476
|
+
int charVal = s[start++] - '0';
|
|
477
|
+
if(charVal < 0 || charVal > 7)
|
|
478
|
+
{
|
|
479
|
+
--start;
|
|
480
|
+
break;
|
|
481
|
+
}
|
|
482
|
+
val = val * 8 + charVal;
|
|
483
|
+
}
|
|
484
|
+
if(val > 255)
|
|
485
|
+
{
|
|
486
|
+
ostringstream ostr;
|
|
487
|
+
ostr << "octal value \\" << oct << val << dec << " (" << val << ") is out of range";
|
|
488
|
+
throw IllegalArgumentException(__FILE__, __LINE__, ostr.str());
|
|
489
|
+
}
|
|
490
|
+
result.push_back(static_cast<char>(val));
|
|
491
|
+
if(val > 127)
|
|
492
|
+
{
|
|
493
|
+
pureASCII = false;
|
|
494
|
+
}
|
|
495
|
+
break;
|
|
496
|
+
}
|
|
497
|
+
case 'x':
|
|
498
|
+
{
|
|
499
|
+
int val = 0;
|
|
500
|
+
int size = 2;
|
|
501
|
+
++start;
|
|
502
|
+
while(size > 0 && start < end)
|
|
503
|
+
{
|
|
504
|
+
c = s[start++];
|
|
505
|
+
int charVal = 0;
|
|
506
|
+
if(c >= '0' && c <= '9')
|
|
507
|
+
{
|
|
508
|
+
charVal = c - '0';
|
|
509
|
+
}
|
|
510
|
+
else if(c >= 'a' && c <= 'f')
|
|
511
|
+
{
|
|
512
|
+
charVal = 10 + (c - 'a');
|
|
513
|
+
}
|
|
514
|
+
else if(c >= 'A' && c <= 'F')
|
|
515
|
+
{
|
|
516
|
+
charVal = 10 + (c - 'A');
|
|
517
|
+
}
|
|
518
|
+
else
|
|
519
|
+
{
|
|
520
|
+
--start; // move back
|
|
521
|
+
break; // while
|
|
522
|
+
}
|
|
523
|
+
val = val * 16 + charVal;
|
|
524
|
+
--size;
|
|
525
|
+
}
|
|
526
|
+
if(size == 2)
|
|
527
|
+
{
|
|
528
|
+
throw IllegalArgumentException(__FILE__, __LINE__,
|
|
529
|
+
"Invalid \\x escape sequence: no hex digit");
|
|
530
|
+
}
|
|
531
|
+
result.push_back(static_cast<char>(val));
|
|
532
|
+
if(val > 127)
|
|
533
|
+
{
|
|
534
|
+
pureASCII = false;
|
|
535
|
+
}
|
|
536
|
+
break;
|
|
537
|
+
}
|
|
538
|
+
default:
|
|
539
|
+
{
|
|
540
|
+
if(static_cast<unsigned char>(c) > 127)
|
|
541
|
+
{
|
|
542
|
+
pureASCII = false;
|
|
543
|
+
}
|
|
544
|
+
if(special.empty() || special.find(c) == string::npos)
|
|
545
|
+
{
|
|
546
|
+
result.push_back('\\'); // not in special, so we keep the backslash
|
|
547
|
+
}
|
|
548
|
+
result.push_back(checkChar(s, start++));
|
|
549
|
+
break;
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
nextStart = start;
|
|
554
|
+
return pureASCII;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
//
|
|
560
|
+
// Remove escape sequences added by escapeString.
|
|
561
|
+
//
|
|
562
|
+
string
|
|
563
|
+
IceUtilInternal::unescapeString(const string& s, string::size_type start, string::size_type end, const string& special)
|
|
564
|
+
{
|
|
565
|
+
assert(start <= end && end <= s.size());
|
|
566
|
+
|
|
567
|
+
for(string::size_type i = 0; i < special.size(); ++i)
|
|
568
|
+
{
|
|
569
|
+
if(static_cast<unsigned char>(special[i]) < 32 || static_cast<unsigned char>(special[i]) > 126)
|
|
570
|
+
{
|
|
571
|
+
throw IllegalArgumentException(__FILE__, __LINE__, "Special characters must be in ASCII range 32-126");
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
// Optimization for strings without escapes
|
|
576
|
+
string::size_type p = s.find('\\', start);
|
|
577
|
+
if(p == string::npos || p >= end)
|
|
578
|
+
{
|
|
579
|
+
p = start;
|
|
580
|
+
while(p < end)
|
|
581
|
+
{
|
|
582
|
+
checkChar(s, p++);
|
|
583
|
+
}
|
|
584
|
+
return s.substr(start, end);
|
|
585
|
+
}
|
|
586
|
+
else
|
|
587
|
+
{
|
|
588
|
+
StringConverterPtr stringConverter = getProcessStringConverter();
|
|
589
|
+
|
|
590
|
+
const string* inputStringPtr = &s;
|
|
591
|
+
string u8s;
|
|
592
|
+
|
|
593
|
+
if(stringConverter)
|
|
594
|
+
{
|
|
595
|
+
bool inputIsPureASCII = true;
|
|
596
|
+
string::size_type i = start;
|
|
597
|
+
while(i < end && inputIsPureASCII)
|
|
598
|
+
{
|
|
599
|
+
inputIsPureASCII = static_cast<unsigned char>(s[i++]) <= 127;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
if(!inputIsPureASCII)
|
|
603
|
+
{
|
|
604
|
+
u8s = nativeToUTF8(s.substr(start, end), stringConverter);
|
|
605
|
+
inputStringPtr = &u8s;
|
|
606
|
+
start = 0;
|
|
607
|
+
end = u8s.size();
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
bool resultIsPureASCII = true;
|
|
612
|
+
string result;
|
|
613
|
+
result.reserve(end - start);
|
|
614
|
+
while(start < end)
|
|
615
|
+
{
|
|
616
|
+
if(decodeChar(*inputStringPtr, start, end, start, special, result))
|
|
617
|
+
{
|
|
618
|
+
resultIsPureASCII = false;
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
if(stringConverter && !resultIsPureASCII)
|
|
623
|
+
{
|
|
624
|
+
// Need to convert from UTF-8 to Native
|
|
625
|
+
result = UTF8ToNative(result, stringConverter);
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
return result;
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
bool
|
|
633
|
+
IceUtilInternal::splitString(const string& str, const string& delim, vector<string>& result)
|
|
634
|
+
{
|
|
635
|
+
string::size_type pos = 0;
|
|
636
|
+
string::size_type length = str.length();
|
|
637
|
+
string elt;
|
|
638
|
+
|
|
639
|
+
char quoteChar = '\0';
|
|
640
|
+
while(pos < length)
|
|
641
|
+
{
|
|
642
|
+
if(quoteChar == '\0' && (str[pos] == '"' || str[pos] == '\''))
|
|
643
|
+
{
|
|
644
|
+
quoteChar = str[pos++];
|
|
645
|
+
continue; // Skip the quote
|
|
646
|
+
}
|
|
647
|
+
else if(quoteChar == '\0' && str[pos] == '\\' && pos + 1 < length &&
|
|
648
|
+
(str[pos + 1] == '\'' || str[pos + 1] == '"'))
|
|
649
|
+
{
|
|
650
|
+
++pos;
|
|
651
|
+
}
|
|
652
|
+
else if(quoteChar != '\0' && str[pos] == '\\' && pos + 1 < length && str[pos + 1] == quoteChar)
|
|
653
|
+
{
|
|
654
|
+
++pos;
|
|
655
|
+
}
|
|
656
|
+
else if(quoteChar != '\0' && str[pos] == quoteChar)
|
|
657
|
+
{
|
|
658
|
+
++pos;
|
|
659
|
+
quoteChar = '\0';
|
|
660
|
+
continue; // Skip the end quote
|
|
661
|
+
}
|
|
662
|
+
else if(delim.find(str[pos]) != string::npos)
|
|
663
|
+
{
|
|
664
|
+
if(quoteChar == '\0')
|
|
665
|
+
{
|
|
666
|
+
++pos;
|
|
667
|
+
if(elt.length() > 0)
|
|
668
|
+
{
|
|
669
|
+
result.push_back(elt);
|
|
670
|
+
elt = "";
|
|
671
|
+
}
|
|
672
|
+
continue;
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
if(pos < length)
|
|
677
|
+
{
|
|
678
|
+
elt += str[pos++];
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
if(elt.length() > 0)
|
|
683
|
+
{
|
|
684
|
+
result.push_back(elt);
|
|
685
|
+
}
|
|
686
|
+
if(quoteChar != '\0')
|
|
687
|
+
{
|
|
688
|
+
return false; // Unmatched quote.
|
|
689
|
+
}
|
|
690
|
+
return true;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
string
|
|
694
|
+
IceUtilInternal::joinString(const std::vector<std::string>& values, const std::string& delimiter)
|
|
695
|
+
{
|
|
696
|
+
ostringstream out;
|
|
697
|
+
for(unsigned int i = 0; i < values.size(); i++)
|
|
698
|
+
{
|
|
699
|
+
if(i != 0)
|
|
700
|
+
{
|
|
701
|
+
out << delimiter;
|
|
702
|
+
}
|
|
703
|
+
out << values[i];
|
|
704
|
+
}
|
|
705
|
+
return out.str();
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
//
|
|
709
|
+
// Trim white space (" \t\r\n")
|
|
710
|
+
//
|
|
711
|
+
string
|
|
712
|
+
IceUtilInternal::trim(const string& s)
|
|
713
|
+
{
|
|
714
|
+
static const string delim = " \t\r\n";
|
|
715
|
+
string::size_type beg = s.find_first_not_of(delim);
|
|
716
|
+
if(beg == string::npos)
|
|
717
|
+
{
|
|
718
|
+
return "";
|
|
719
|
+
}
|
|
720
|
+
else
|
|
721
|
+
{
|
|
722
|
+
return s.substr(beg, s.find_last_not_of(delim) - beg + 1);
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
//
|
|
727
|
+
// If a single or double quotation mark is found at the start position,
|
|
728
|
+
// then the position of the matching closing quote is returned. If no
|
|
729
|
+
// quotation mark is found at the start position, then 0 is returned.
|
|
730
|
+
// If no matching closing quote is found, then -1 is returned.
|
|
731
|
+
//
|
|
732
|
+
string::size_type
|
|
733
|
+
IceUtilInternal::checkQuote(const string& s, string::size_type start)
|
|
734
|
+
{
|
|
735
|
+
string::value_type quoteChar = s[start];
|
|
736
|
+
if(quoteChar == '"' || quoteChar == '\'')
|
|
737
|
+
{
|
|
738
|
+
start++;
|
|
739
|
+
string::size_type pos;
|
|
740
|
+
while(start < s.size() && (pos = s.find(quoteChar, start)) != string::npos)
|
|
741
|
+
{
|
|
742
|
+
if(s[pos - 1] != '\\')
|
|
743
|
+
{
|
|
744
|
+
return pos;
|
|
745
|
+
}
|
|
746
|
+
start = pos + 1;
|
|
747
|
+
}
|
|
748
|
+
return string::npos; // Unmatched quote.
|
|
749
|
+
}
|
|
750
|
+
return 0; // Not quoted.
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
//
|
|
754
|
+
// Match `s' against the pattern `pat'. A * in the pattern acts
|
|
755
|
+
// as a wildcard: it matches any non-empty sequence of characters.
|
|
756
|
+
// We match by hand here because it's portable across platforms
|
|
757
|
+
// (whereas regex() isn't). Only one * per pattern is supported.
|
|
758
|
+
//
|
|
759
|
+
bool
|
|
760
|
+
IceUtilInternal::match(const string& s, const string& pat, bool emptyMatch)
|
|
761
|
+
{
|
|
762
|
+
assert(!s.empty());
|
|
763
|
+
assert(!pat.empty());
|
|
764
|
+
|
|
765
|
+
//
|
|
766
|
+
// If pattern does not contain a wildcard just compare strings.
|
|
767
|
+
//
|
|
768
|
+
string::size_type beginIndex = pat.find('*');
|
|
769
|
+
if(beginIndex == string::npos)
|
|
770
|
+
{
|
|
771
|
+
return s == pat;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
//
|
|
775
|
+
// Make sure start of the strings match
|
|
776
|
+
//
|
|
777
|
+
if(beginIndex > s.length() || s.substr(0, beginIndex) != pat.substr(0, beginIndex))
|
|
778
|
+
{
|
|
779
|
+
return false;
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
//
|
|
783
|
+
// Make sure there is something present in the middle to match the
|
|
784
|
+
// wildcard. If emptyMatch is true, allow a match of "".
|
|
785
|
+
//
|
|
786
|
+
string::size_type endLength = pat.length() - beginIndex - 1;
|
|
787
|
+
if(endLength > s.length())
|
|
788
|
+
{
|
|
789
|
+
return false;
|
|
790
|
+
}
|
|
791
|
+
string::size_type endIndex = s.length() - endLength;
|
|
792
|
+
if(endIndex < beginIndex || (!emptyMatch && endIndex == beginIndex))
|
|
793
|
+
{
|
|
794
|
+
return false;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
//
|
|
798
|
+
// Make sure end of the strings match
|
|
799
|
+
//
|
|
800
|
+
if(s.substr(endIndex, s.length()) != pat.substr(beginIndex + 1, pat.length()))
|
|
801
|
+
{
|
|
802
|
+
return false;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
return true;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
#ifdef _WIN32
|
|
809
|
+
|
|
810
|
+
string
|
|
811
|
+
IceUtilInternal::errorToString(int error, LPCVOID source)
|
|
812
|
+
{
|
|
813
|
+
if(error < WSABASEERR)
|
|
814
|
+
{
|
|
815
|
+
LPWSTR msg = 0;
|
|
816
|
+
|
|
817
|
+
DWORD stored = FormatMessageW(
|
|
818
|
+
FORMAT_MESSAGE_ALLOCATE_BUFFER |
|
|
819
|
+
FORMAT_MESSAGE_FROM_SYSTEM |
|
|
820
|
+
FORMAT_MESSAGE_IGNORE_INSERTS |
|
|
821
|
+
(source != ICE_NULLPTR ? FORMAT_MESSAGE_FROM_HMODULE : 0),
|
|
822
|
+
source,
|
|
823
|
+
error,
|
|
824
|
+
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), // Default language
|
|
825
|
+
reinterpret_cast<LPWSTR>(&msg),
|
|
826
|
+
0,
|
|
827
|
+
ICE_NULLPTR);
|
|
828
|
+
|
|
829
|
+
if(stored > 0)
|
|
830
|
+
{
|
|
831
|
+
assert(msg && wcslen(msg) > 0);
|
|
832
|
+
wstring result = msg;
|
|
833
|
+
if(result[result.length() - 1] == L'\n')
|
|
834
|
+
{
|
|
835
|
+
result = result.substr(0, result.length() - 2);
|
|
836
|
+
}
|
|
837
|
+
if(msg)
|
|
838
|
+
{
|
|
839
|
+
LocalFree(msg);
|
|
840
|
+
}
|
|
841
|
+
return wstringToString(result, getProcessStringConverter(), getProcessWstringConverter());
|
|
842
|
+
}
|
|
843
|
+
else
|
|
844
|
+
{
|
|
845
|
+
ostringstream os;
|
|
846
|
+
os << "unknown error: " << error;
|
|
847
|
+
return os.str();
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
switch(error)
|
|
852
|
+
{
|
|
853
|
+
case WSAEINTR:
|
|
854
|
+
return "WSAEINTR";
|
|
855
|
+
|
|
856
|
+
case WSAEBADF:
|
|
857
|
+
return "WSAEBADF";
|
|
858
|
+
|
|
859
|
+
case WSAEACCES:
|
|
860
|
+
return "WSAEACCES";
|
|
861
|
+
|
|
862
|
+
case WSAEFAULT:
|
|
863
|
+
return "WSAEFAULT";
|
|
864
|
+
|
|
865
|
+
case WSAEINVAL:
|
|
866
|
+
return "WSAEINVAL";
|
|
867
|
+
|
|
868
|
+
case WSAEMFILE:
|
|
869
|
+
return "WSAEMFILE";
|
|
870
|
+
|
|
871
|
+
case WSAEWOULDBLOCK:
|
|
872
|
+
return "WSAEWOULDBLOCK";
|
|
873
|
+
|
|
874
|
+
case WSAEINPROGRESS:
|
|
875
|
+
return "WSAEINPROGRESS";
|
|
876
|
+
|
|
877
|
+
case WSAEALREADY:
|
|
878
|
+
return "WSAEALREADY";
|
|
879
|
+
|
|
880
|
+
case WSAENOTSOCK:
|
|
881
|
+
return "WSAENOTSOCK";
|
|
882
|
+
|
|
883
|
+
case WSAEDESTADDRREQ:
|
|
884
|
+
return "WSAEDESTADDRREQ";
|
|
885
|
+
|
|
886
|
+
case WSAEMSGSIZE:
|
|
887
|
+
return "WSAEMSGSIZE";
|
|
888
|
+
|
|
889
|
+
case WSAEPROTOTYPE:
|
|
890
|
+
return "WSAEPROTOTYPE";
|
|
891
|
+
|
|
892
|
+
case WSAENOPROTOOPT:
|
|
893
|
+
return "WSAENOPROTOOPT";
|
|
894
|
+
|
|
895
|
+
case WSAEPROTONOSUPPORT:
|
|
896
|
+
return "WSAEPROTONOSUPPORT";
|
|
897
|
+
|
|
898
|
+
case WSAESOCKTNOSUPPORT:
|
|
899
|
+
return "WSAESOCKTNOSUPPORT";
|
|
900
|
+
|
|
901
|
+
case WSAEOPNOTSUPP:
|
|
902
|
+
return "WSAEOPNOTSUPP";
|
|
903
|
+
|
|
904
|
+
case WSAEPFNOSUPPORT:
|
|
905
|
+
return "WSAEPFNOSUPPORT";
|
|
906
|
+
|
|
907
|
+
case WSAEAFNOSUPPORT:
|
|
908
|
+
return "WSAEAFNOSUPPORT";
|
|
909
|
+
|
|
910
|
+
case WSAEADDRINUSE:
|
|
911
|
+
return "WSAEADDRINUSE";
|
|
912
|
+
|
|
913
|
+
case WSAEADDRNOTAVAIL:
|
|
914
|
+
return "WSAEADDRNOTAVAIL";
|
|
915
|
+
|
|
916
|
+
case WSAENETDOWN:
|
|
917
|
+
return "WSAENETDOWN";
|
|
918
|
+
|
|
919
|
+
case WSAENETUNREACH:
|
|
920
|
+
return "WSAENETUNREACH";
|
|
921
|
+
|
|
922
|
+
case WSAENETRESET:
|
|
923
|
+
return "WSAENETRESET";
|
|
924
|
+
|
|
925
|
+
case WSAECONNABORTED:
|
|
926
|
+
return "WSAECONNABORTED";
|
|
927
|
+
|
|
928
|
+
case WSAECONNRESET:
|
|
929
|
+
return "WSAECONNRESET";
|
|
930
|
+
|
|
931
|
+
case WSAENOBUFS:
|
|
932
|
+
return "WSAENOBUFS";
|
|
933
|
+
|
|
934
|
+
case WSAEISCONN:
|
|
935
|
+
return "WSAEISCONN";
|
|
936
|
+
|
|
937
|
+
case WSAENOTCONN:
|
|
938
|
+
return "WSAENOTCONN";
|
|
939
|
+
|
|
940
|
+
case WSAESHUTDOWN:
|
|
941
|
+
return "WSAESHUTDOWN";
|
|
942
|
+
|
|
943
|
+
case WSAETOOMANYREFS:
|
|
944
|
+
return "WSAETOOMANYREFS";
|
|
945
|
+
|
|
946
|
+
case WSAETIMEDOUT:
|
|
947
|
+
return "WSAETIMEDOUT";
|
|
948
|
+
|
|
949
|
+
case WSAECONNREFUSED:
|
|
950
|
+
return "WSAECONNREFUSED";
|
|
951
|
+
|
|
952
|
+
case WSAELOOP:
|
|
953
|
+
return "WSAELOOP";
|
|
954
|
+
|
|
955
|
+
case WSAENAMETOOLONG:
|
|
956
|
+
return "WSAENAMETOOLONG";
|
|
957
|
+
|
|
958
|
+
case WSAEHOSTDOWN:
|
|
959
|
+
return "WSAEHOSTDOWN";
|
|
960
|
+
|
|
961
|
+
case WSAEHOSTUNREACH:
|
|
962
|
+
return "WSAEHOSTUNREACH";
|
|
963
|
+
|
|
964
|
+
case WSAENOTEMPTY:
|
|
965
|
+
return "WSAENOTEMPTY";
|
|
966
|
+
|
|
967
|
+
case WSAEPROCLIM:
|
|
968
|
+
return "WSAEPROCLIM";
|
|
969
|
+
|
|
970
|
+
case WSAEUSERS:
|
|
971
|
+
return "WSAEUSERS";
|
|
972
|
+
|
|
973
|
+
case WSAEDQUOT:
|
|
974
|
+
return "WSAEDQUOT";
|
|
975
|
+
|
|
976
|
+
case WSAESTALE:
|
|
977
|
+
return "WSAESTALE";
|
|
978
|
+
|
|
979
|
+
case WSAEREMOTE:
|
|
980
|
+
return "WSAEREMOTE";
|
|
981
|
+
|
|
982
|
+
case WSAEDISCON:
|
|
983
|
+
return "WSAEDISCON";
|
|
984
|
+
|
|
985
|
+
case WSASYSNOTREADY:
|
|
986
|
+
return "WSASYSNOTREADY";
|
|
987
|
+
|
|
988
|
+
case WSAVERNOTSUPPORTED:
|
|
989
|
+
return "WSAVERNOTSUPPORTED";
|
|
990
|
+
|
|
991
|
+
case WSANOTINITIALISED:
|
|
992
|
+
return "WSANOTINITIALISED";
|
|
993
|
+
|
|
994
|
+
case WSAHOST_NOT_FOUND:
|
|
995
|
+
return "WSAHOST_NOT_FOUND";
|
|
996
|
+
|
|
997
|
+
case WSATRY_AGAIN:
|
|
998
|
+
return "WSATRY_AGAIN";
|
|
999
|
+
|
|
1000
|
+
case WSANO_RECOVERY:
|
|
1001
|
+
return "WSANO_RECOVERY";
|
|
1002
|
+
|
|
1003
|
+
case WSANO_DATA:
|
|
1004
|
+
return "WSANO_DATA";
|
|
1005
|
+
|
|
1006
|
+
default:
|
|
1007
|
+
{
|
|
1008
|
+
ostringstream os;
|
|
1009
|
+
os << "unknown socket error: " << error;
|
|
1010
|
+
return os.str();
|
|
1011
|
+
}
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
string
|
|
1016
|
+
IceUtilInternal::lastErrorToString()
|
|
1017
|
+
{
|
|
1018
|
+
return errorToString(GetLastError());
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
#else
|
|
1022
|
+
|
|
1023
|
+
string
|
|
1024
|
+
IceUtilInternal::errorToString(int error)
|
|
1025
|
+
{
|
|
1026
|
+
vector<char> buffer(500);
|
|
1027
|
+
while(true)
|
|
1028
|
+
{
|
|
1029
|
+
#if !defined(__GLIBC__) || ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && !_GNU_SOURCE)
|
|
1030
|
+
//
|
|
1031
|
+
// Use the XSI-compliant version of strerror_r
|
|
1032
|
+
//
|
|
1033
|
+
int err = strerror_r(error, &buffer[0], buffer.size());
|
|
1034
|
+
if(err == 0)
|
|
1035
|
+
{
|
|
1036
|
+
return string(&buffer[0]);
|
|
1037
|
+
}
|
|
1038
|
+
#else
|
|
1039
|
+
//
|
|
1040
|
+
// Use the GNU-specific version of strerror_r
|
|
1041
|
+
//
|
|
1042
|
+
int oerrno = errno;
|
|
1043
|
+
errno = 0;
|
|
1044
|
+
const char* msg = strerror_r(error, &buffer[0], buffer.size());
|
|
1045
|
+
int err = errno;
|
|
1046
|
+
errno = oerrno;
|
|
1047
|
+
if(err == 0)
|
|
1048
|
+
{
|
|
1049
|
+
return msg;
|
|
1050
|
+
}
|
|
1051
|
+
#endif
|
|
1052
|
+
if(err == ERANGE && buffer.size() < 1024 * 1024)
|
|
1053
|
+
{
|
|
1054
|
+
buffer.resize(buffer.size() * 2);
|
|
1055
|
+
}
|
|
1056
|
+
else
|
|
1057
|
+
{
|
|
1058
|
+
ostringstream os;
|
|
1059
|
+
os << "Unknown error `" << error << "'";
|
|
1060
|
+
return os.str();
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
string
|
|
1066
|
+
IceUtilInternal::lastErrorToString()
|
|
1067
|
+
{
|
|
1068
|
+
return errorToString(errno);
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
#endif
|
|
1072
|
+
|
|
1073
|
+
string
|
|
1074
|
+
IceUtilInternal::toLower(const std::string& s)
|
|
1075
|
+
{
|
|
1076
|
+
string result;
|
|
1077
|
+
result.reserve(s.size());
|
|
1078
|
+
for(unsigned int i = 0; i < s.length(); ++i)
|
|
1079
|
+
{
|
|
1080
|
+
if(isascii(s[i]))
|
|
1081
|
+
{
|
|
1082
|
+
result += static_cast<char>(tolower(static_cast<unsigned char>(s[i])));
|
|
1083
|
+
}
|
|
1084
|
+
else
|
|
1085
|
+
{
|
|
1086
|
+
result += s[i];
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
return result;
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
string
|
|
1093
|
+
IceUtilInternal::toUpper(const std::string& s)
|
|
1094
|
+
{
|
|
1095
|
+
string result;
|
|
1096
|
+
result.reserve(s.size());
|
|
1097
|
+
for(unsigned int i = 0; i < s.length(); ++i)
|
|
1098
|
+
{
|
|
1099
|
+
if(isascii(s[i]))
|
|
1100
|
+
{
|
|
1101
|
+
result += static_cast<char>(toupper(static_cast<unsigned char>(s[i])));
|
|
1102
|
+
}
|
|
1103
|
+
else
|
|
1104
|
+
{
|
|
1105
|
+
result += s[i];
|
|
1106
|
+
}
|
|
1107
|
+
}
|
|
1108
|
+
return result;
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
bool
|
|
1112
|
+
IceUtilInternal::isAlpha(char c)
|
|
1113
|
+
{
|
|
1114
|
+
return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z');
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
bool
|
|
1118
|
+
IceUtilInternal::isDigit(char c)
|
|
1119
|
+
{
|
|
1120
|
+
return c >= '0' && c <= '9';
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
string
|
|
1124
|
+
IceUtilInternal::removeWhitespace(const std::string& s)
|
|
1125
|
+
{
|
|
1126
|
+
string result;
|
|
1127
|
+
for(unsigned int i = 0; i < s.length(); ++ i)
|
|
1128
|
+
{
|
|
1129
|
+
if(!isspace(static_cast<unsigned char>(s[i])))
|
|
1130
|
+
{
|
|
1131
|
+
result += s[i];
|
|
1132
|
+
}
|
|
1133
|
+
}
|
|
1134
|
+
return result;
|
|
1135
|
+
}
|