zeroc-ice 3.7.1 → 3.7.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (677) hide show
  1. checksums.yaml +4 -4
  2. data/ICE_LICENSE +1 -1
  3. data/bin/slice2rb +1 -6
  4. data/ext/Communicator.cpp +4 -9
  5. data/ext/Communicator.h +1 -6
  6. data/ext/Config.h +18 -6
  7. data/ext/Connection.cpp +1 -10
  8. data/ext/Connection.h +1 -6
  9. data/ext/Endpoint.cpp +1 -10
  10. data/ext/Endpoint.h +1 -6
  11. data/ext/ImplicitContext.cpp +1 -6
  12. data/ext/ImplicitContext.h +1 -6
  13. data/ext/Init.cpp +1 -6
  14. data/ext/Logger.cpp +1 -6
  15. data/ext/Logger.h +1 -6
  16. data/ext/Operation.cpp +1 -6
  17. data/ext/Operation.h +1 -6
  18. data/ext/Properties.cpp +2 -7
  19. data/ext/Properties.h +1 -6
  20. data/ext/Proxy.cpp +5 -12
  21. data/ext/Proxy.h +1 -6
  22. data/ext/Slice.cpp +3 -18
  23. data/ext/Slice.h +1 -6
  24. data/ext/Types.cpp +11 -16
  25. data/ext/Types.h +1 -6
  26. data/ext/Util.cpp +45 -28
  27. data/ext/Util.h +62 -25
  28. data/ext/ValueFactoryManager.cpp +1 -6
  29. data/ext/ValueFactoryManager.h +1 -6
  30. data/ext/extconf.rb +5 -3
  31. data/ext/ice/cpp/include/Ice/Application.h +1 -6
  32. data/ext/ice/cpp/include/Ice/AsyncResult.h +1 -6
  33. data/ext/ice/cpp/include/Ice/AsyncResultF.h +1 -6
  34. data/ext/ice/cpp/include/Ice/BatchRequestInterceptor.h +1 -6
  35. data/ext/ice/cpp/include/Ice/BatchRequestQueueF.h +1 -6
  36. data/ext/ice/cpp/include/Ice/Buffer.h +1 -6
  37. data/ext/ice/cpp/include/Ice/CommunicatorAsync.h +1 -6
  38. data/ext/ice/cpp/include/Ice/Comparable.h +1 -6
  39. data/ext/ice/cpp/include/Ice/Config.h +1 -6
  40. data/ext/ice/cpp/include/Ice/ConnectionAsync.h +1 -6
  41. data/ext/ice/cpp/include/Ice/ConnectionIF.h +1 -6
  42. data/ext/ice/cpp/include/Ice/ConsoleUtil.h +1 -6
  43. data/ext/ice/cpp/include/Ice/DefaultValueFactory.h +1 -6
  44. data/ext/ice/cpp/include/Ice/DispatchInterceptor.h +1 -6
  45. data/ext/ice/cpp/include/Ice/Dispatcher.h +1 -6
  46. data/ext/ice/cpp/include/Ice/DynamicLibrary.h +1 -6
  47. data/ext/ice/cpp/include/Ice/DynamicLibraryF.h +1 -6
  48. data/ext/ice/cpp/include/Ice/Exception.h +1 -6
  49. data/ext/ice/cpp/include/Ice/ExceptionHelpers.h +3 -16
  50. data/ext/ice/cpp/include/Ice/FactoryTable.h +1 -6
  51. data/ext/ice/cpp/include/Ice/FactoryTableInit.h +1 -6
  52. data/ext/ice/cpp/include/Ice/Format.h +1 -6
  53. data/ext/ice/cpp/include/Ice/Functional.h +2 -7
  54. data/ext/ice/cpp/include/Ice/GCObject.h +1 -6
  55. data/ext/ice/cpp/include/Ice/Handle.h +1 -6
  56. data/ext/ice/cpp/include/Ice/Ice.h +1 -6
  57. data/ext/ice/cpp/include/Ice/IconvStringConverter.h +6 -13
  58. data/ext/ice/cpp/include/Ice/Incoming.h +13 -8
  59. data/ext/ice/cpp/include/Ice/IncomingAsync.h +11 -6
  60. data/ext/ice/cpp/include/Ice/IncomingAsyncF.h +1 -6
  61. data/ext/ice/cpp/include/Ice/Initialize.h +12 -6
  62. data/ext/ice/cpp/include/Ice/InputStream.h +2 -7
  63. data/ext/ice/cpp/include/Ice/InstanceF.h +1 -6
  64. data/ext/ice/cpp/include/Ice/InterfaceByValue.h +1 -6
  65. data/ext/ice/cpp/include/Ice/LocalObject.h +1 -6
  66. data/ext/ice/cpp/include/Ice/LocalObjectF.h +1 -6
  67. data/ext/ice/cpp/include/Ice/LoggerUtil.h +1 -6
  68. data/ext/ice/cpp/include/Ice/MetricsAdminI.h +9 -7
  69. data/ext/ice/cpp/include/Ice/MetricsFunctional.h +1 -6
  70. data/ext/ice/cpp/include/Ice/MetricsObserverI.h +16 -7
  71. data/ext/ice/cpp/include/Ice/NativePropertiesAdmin.h +1 -6
  72. data/ext/ice/cpp/include/Ice/Object.h +1 -6
  73. data/ext/ice/cpp/include/Ice/ObjectF.h +1 -6
  74. data/ext/ice/cpp/include/Ice/ObserverHelper.h +1 -6
  75. data/ext/ice/cpp/include/Ice/Optional.h +9 -6
  76. data/ext/ice/cpp/include/Ice/OutgoingAsync.h +2 -7
  77. data/ext/ice/cpp/include/Ice/OutgoingAsyncF.h +1 -6
  78. data/ext/ice/cpp/include/Ice/OutputStream.h +1 -6
  79. data/ext/ice/cpp/include/Ice/Protocol.h +1 -6
  80. data/ext/ice/cpp/include/Ice/Proxy.h +2 -9
  81. data/ext/ice/cpp/include/Ice/ProxyF.h +1 -6
  82. data/ext/ice/cpp/include/Ice/ProxyFactoryF.h +1 -6
  83. data/ext/ice/cpp/include/Ice/ProxyHandle.h +1 -6
  84. data/ext/ice/cpp/include/Ice/ReferenceF.h +1 -6
  85. data/ext/ice/cpp/include/Ice/RegisterPlugins.h +1 -6
  86. data/ext/ice/cpp/include/Ice/RequestHandlerF.h +1 -6
  87. data/ext/ice/cpp/include/Ice/ResponseHandlerF.h +1 -6
  88. data/ext/ice/cpp/include/Ice/SHA1.h +1 -6
  89. data/ext/ice/cpp/include/Ice/ServantManagerF.h +1 -6
  90. data/ext/ice/cpp/include/Ice/Service.h +1 -6
  91. data/ext/ice/cpp/include/Ice/SliceChecksums.h +1 -6
  92. data/ext/ice/cpp/include/Ice/SlicedData.h +1 -6
  93. data/ext/ice/cpp/include/Ice/SlicedDataF.h +1 -6
  94. data/ext/ice/cpp/include/Ice/StreamHelpers.h +1 -6
  95. data/ext/ice/cpp/include/Ice/StringConverter.h +1 -6
  96. data/ext/ice/cpp/include/Ice/ThreadPoolF.h +1 -6
  97. data/ext/ice/cpp/include/Ice/UUID.h +1 -6
  98. data/ext/ice/cpp/include/Ice/UniquePtr.h +1 -6
  99. data/ext/ice/cpp/include/Ice/UniqueRef.h +1 -6
  100. data/ext/ice/cpp/include/Ice/UserExceptionFactory.h +1 -6
  101. data/ext/ice/cpp/include/Ice/Value.h +1 -6
  102. data/ext/ice/cpp/include/Ice/ValueF.h +1 -6
  103. data/ext/ice/cpp/include/IceSSL/Config.h +1 -6
  104. data/ext/ice/cpp/include/IceSSL/IceSSL.h +1 -6
  105. data/ext/ice/cpp/include/IceSSL/OpenSSL.h +1 -6
  106. data/ext/ice/cpp/include/IceSSL/Plugin.h +1 -6
  107. data/ext/ice/cpp/include/IceSSL/SChannel.h +5 -6
  108. data/ext/ice/cpp/include/IceSSL/SecureTransport.h +5 -6
  109. data/ext/ice/cpp/include/IceSSL/UWP.h +1 -6
  110. data/ext/ice/cpp/include/IceUtil/Atomic.h +1 -6
  111. data/ext/ice/cpp/include/IceUtil/Cond.h +1 -6
  112. data/ext/ice/cpp/include/IceUtil/Config.h +19 -16
  113. data/ext/ice/cpp/include/IceUtil/ConsoleUtil.h +1 -6
  114. data/ext/ice/cpp/include/IceUtil/CountDownLatch.h +1 -6
  115. data/ext/ice/cpp/include/IceUtil/CtrlCHandler.h +26 -38
  116. data/ext/ice/cpp/include/IceUtil/DisableWarnings.h +5 -11
  117. data/ext/ice/cpp/include/IceUtil/Exception.h +130 -11
  118. data/ext/ice/cpp/include/IceUtil/FileUtil.h +1 -6
  119. data/ext/ice/cpp/include/IceUtil/Functional.h +5 -6
  120. data/ext/ice/cpp/include/IceUtil/Handle.h +1 -6
  121. data/ext/ice/cpp/include/IceUtil/IceUtil.h +1 -6
  122. data/ext/ice/cpp/include/IceUtil/InputUtil.h +1 -6
  123. data/ext/ice/cpp/include/IceUtil/Iterator.h +1 -6
  124. data/ext/ice/cpp/include/IceUtil/Lock.h +1 -6
  125. data/ext/ice/cpp/include/IceUtil/Monitor.h +1 -6
  126. data/ext/ice/cpp/include/IceUtil/Mutex.h +2 -9
  127. data/ext/ice/cpp/include/IceUtil/MutexProtocol.h +1 -6
  128. data/ext/ice/cpp/include/IceUtil/MutexPtrLock.h +1 -6
  129. data/ext/ice/cpp/include/IceUtil/MutexPtrTryLock.h +1 -6
  130. data/ext/ice/cpp/include/IceUtil/Optional.h +1 -6
  131. data/ext/ice/cpp/include/IceUtil/Options.h +1 -6
  132. data/ext/ice/cpp/include/IceUtil/OutputUtil.h +1 -6
  133. data/ext/ice/cpp/include/IceUtil/PopDisableWarnings.h +1 -6
  134. data/ext/ice/cpp/include/IceUtil/PushDisableWarnings.h +8 -6
  135. data/ext/ice/cpp/include/IceUtil/Random.h +37 -6
  136. data/ext/ice/cpp/include/IceUtil/RecMutex.h +1 -6
  137. data/ext/ice/cpp/include/IceUtil/ResourceConfig.h +4 -9
  138. data/ext/ice/cpp/include/IceUtil/ScannerConfig.h +2 -7
  139. data/ext/ice/cpp/include/IceUtil/ScopedArray.h +1 -6
  140. data/ext/ice/cpp/include/IceUtil/Shared.h +1 -6
  141. data/ext/ice/cpp/include/IceUtil/StopWatch.h +1 -6
  142. data/ext/ice/cpp/include/IceUtil/StringConverter.h +1 -6
  143. data/ext/ice/cpp/include/IceUtil/StringUtil.h +1 -6
  144. data/ext/ice/cpp/include/IceUtil/Thread.h +1 -6
  145. data/ext/ice/cpp/include/IceUtil/ThreadException.h +1 -6
  146. data/ext/ice/cpp/include/IceUtil/Time.h +1 -6
  147. data/ext/ice/cpp/include/IceUtil/Timer.h +1 -6
  148. data/ext/ice/cpp/include/IceUtil/UUID.h +1 -6
  149. data/ext/ice/cpp/include/IceUtil/UndefSysMacros.h +1 -6
  150. data/ext/ice/cpp/include/generated/Ice/BuiltinSequences.h +11 -16
  151. data/ext/ice/cpp/include/generated/Ice/Communicator.h +26 -31
  152. data/ext/ice/cpp/include/generated/Ice/CommunicatorF.h +3 -8
  153. data/ext/ice/cpp/include/generated/Ice/Connection.h +5 -10
  154. data/ext/ice/cpp/include/generated/Ice/ConnectionF.h +3 -8
  155. data/ext/ice/cpp/include/generated/Ice/Current.h +33 -38
  156. data/ext/ice/cpp/include/generated/Ice/Endpoint.h +3 -8
  157. data/ext/ice/cpp/include/generated/Ice/EndpointF.h +4 -9
  158. data/ext/ice/cpp/include/generated/Ice/EndpointTypes.h +7 -12
  159. data/ext/ice/cpp/include/generated/Ice/FacetMap.h +4 -9
  160. data/ext/ice/cpp/include/generated/Ice/Identity.h +5 -10
  161. data/ext/ice/cpp/include/generated/Ice/ImplicitContext.h +21 -26
  162. data/ext/ice/cpp/include/generated/Ice/ImplicitContextF.h +3 -8
  163. data/ext/ice/cpp/include/generated/Ice/Instrumentation.h +3 -8
  164. data/ext/ice/cpp/include/generated/Ice/InstrumentationF.h +3 -8
  165. data/ext/ice/cpp/include/generated/Ice/LocalException.h +51 -56
  166. data/ext/ice/cpp/include/generated/Ice/Locator.h +61 -21
  167. data/ext/ice/cpp/include/generated/Ice/LocatorF.h +7 -12
  168. data/ext/ice/cpp/include/generated/Ice/Logger.h +3 -8
  169. data/ext/ice/cpp/include/generated/Ice/LoggerF.h +3 -8
  170. data/ext/ice/cpp/include/generated/Ice/Metrics.h +33 -40
  171. data/ext/ice/cpp/include/generated/Ice/ObjectAdapter.h +13 -18
  172. data/ext/ice/cpp/include/generated/Ice/ObjectAdapterF.h +3 -8
  173. data/ext/ice/cpp/include/generated/Ice/ObjectFactory.h +9 -14
  174. data/ext/ice/cpp/include/generated/Ice/Plugin.h +5 -10
  175. data/ext/ice/cpp/include/generated/Ice/PluginF.h +3 -8
  176. data/ext/ice/cpp/include/generated/Ice/Process.h +7 -12
  177. data/ext/ice/cpp/include/generated/Ice/ProcessF.h +5 -10
  178. data/ext/ice/cpp/include/generated/Ice/Properties.h +15 -20
  179. data/ext/ice/cpp/include/generated/Ice/PropertiesAdmin.h +8 -13
  180. data/ext/ice/cpp/include/generated/Ice/PropertiesF.h +5 -10
  181. data/ext/ice/cpp/include/generated/Ice/RemoteLogger.h +13 -18
  182. data/ext/ice/cpp/include/generated/Ice/Router.h +14 -19
  183. data/ext/ice/cpp/include/generated/Ice/RouterF.h +5 -10
  184. data/ext/ice/cpp/include/generated/Ice/ServantLocator.h +31 -36
  185. data/ext/ice/cpp/include/generated/Ice/ServantLocatorF.h +3 -8
  186. data/ext/ice/cpp/include/generated/Ice/SliceChecksumDict.h +3 -8
  187. data/ext/ice/cpp/include/generated/Ice/ValueFactory.h +9 -14
  188. data/ext/ice/cpp/include/generated/Ice/Version.h +3 -8
  189. data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +3 -8
  190. data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +3 -8
  191. data/ext/ice/cpp/include/generated/IceSSL/EndpointInfo.h +3 -8
  192. data/ext/ice/cpp/src/Ice/ACM.cpp +14 -16
  193. data/ext/ice/cpp/src/Ice/ACM.h +1 -6
  194. data/ext/ice/cpp/src/Ice/ACMF.h +1 -6
  195. data/ext/ice/cpp/src/Ice/Acceptor.cpp +1 -6
  196. data/ext/ice/cpp/src/Ice/Acceptor.h +1 -6
  197. data/ext/ice/cpp/src/Ice/AcceptorF.h +1 -6
  198. data/ext/ice/cpp/src/Ice/ArgVector.cpp +6 -11
  199. data/ext/ice/cpp/src/Ice/ArgVector.h +1 -6
  200. data/ext/ice/cpp/src/Ice/AsyncResult.cpp +1 -7
  201. data/ext/ice/cpp/src/Ice/Base64.cpp +1 -6
  202. data/ext/ice/cpp/src/Ice/Base64.h +1 -6
  203. data/ext/ice/cpp/src/Ice/BatchRequestQueue.cpp +1 -6
  204. data/ext/ice/cpp/src/Ice/BatchRequestQueue.h +1 -6
  205. data/ext/ice/cpp/src/Ice/Buffer.cpp +1 -6
  206. data/ext/ice/cpp/src/Ice/BuiltinSequences.cpp +3 -8
  207. data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.cpp +2 -8
  208. data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.h +1 -6
  209. data/ext/ice/cpp/src/Ice/Communicator.cpp +3 -8
  210. data/ext/ice/cpp/src/Ice/CommunicatorF.cpp +3 -8
  211. data/ext/ice/cpp/src/Ice/CommunicatorI.cpp +4 -10
  212. data/ext/ice/cpp/src/Ice/CommunicatorI.h +1 -7
  213. data/ext/ice/cpp/src/Ice/Cond.cpp +1 -6
  214. data/ext/ice/cpp/src/Ice/ConnectRequestHandler.cpp +1 -6
  215. data/ext/ice/cpp/src/Ice/ConnectRequestHandler.h +5 -10
  216. data/ext/ice/cpp/src/Ice/ConnectRequestHandlerF.h +1 -6
  217. data/ext/ice/cpp/src/Ice/Connection.cpp +3 -8
  218. data/ext/ice/cpp/src/Ice/ConnectionF.cpp +3 -8
  219. data/ext/ice/cpp/src/Ice/ConnectionFactory.cpp +146 -36
  220. data/ext/ice/cpp/src/Ice/ConnectionFactory.h +4 -6
  221. data/ext/ice/cpp/src/Ice/ConnectionFactoryF.h +1 -6
  222. data/ext/ice/cpp/src/Ice/ConnectionI.cpp +3 -8
  223. data/ext/ice/cpp/src/Ice/ConnectionI.h +1 -6
  224. data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.cpp +1 -6
  225. data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.h +2 -7
  226. data/ext/ice/cpp/src/Ice/Connector.cpp +1 -6
  227. data/ext/ice/cpp/src/Ice/Connector.h +1 -6
  228. data/ext/ice/cpp/src/Ice/ConnectorF.h +1 -6
  229. data/ext/ice/cpp/src/Ice/CountDownLatch.cpp +1 -6
  230. data/ext/ice/cpp/src/Ice/Current.cpp +3 -8
  231. data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +1 -6
  232. data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.h +1 -6
  233. data/ext/ice/cpp/src/Ice/DefaultsAndOverridesF.h +1 -6
  234. data/ext/ice/cpp/src/Ice/DispatchInterceptor.cpp +1 -6
  235. data/ext/ice/cpp/src/Ice/DynamicLibrary.cpp +1 -6
  236. data/ext/ice/cpp/src/Ice/Endpoint.cpp +3 -8
  237. data/ext/ice/cpp/src/Ice/EndpointF.cpp +3 -8
  238. data/ext/ice/cpp/src/Ice/EndpointFactory.cpp +1 -6
  239. data/ext/ice/cpp/src/Ice/EndpointFactory.h +1 -6
  240. data/ext/ice/cpp/src/Ice/EndpointFactoryF.h +1 -6
  241. data/ext/ice/cpp/src/Ice/EndpointFactoryManager.cpp +1 -6
  242. data/ext/ice/cpp/src/Ice/EndpointFactoryManager.h +1 -6
  243. data/ext/ice/cpp/src/Ice/EndpointFactoryManagerF.h +1 -6
  244. data/ext/ice/cpp/src/Ice/EndpointI.cpp +1 -6
  245. data/ext/ice/cpp/src/Ice/EndpointI.h +1 -6
  246. data/ext/ice/cpp/src/Ice/EndpointIF.h +1 -6
  247. data/ext/ice/cpp/src/Ice/EndpointTypes.cpp +3 -8
  248. data/ext/ice/cpp/src/Ice/EventHandler.cpp +1 -6
  249. data/ext/ice/cpp/src/Ice/EventHandler.h +1 -6
  250. data/ext/ice/cpp/src/Ice/EventHandlerF.h +1 -6
  251. data/ext/ice/cpp/src/Ice/Exception.cpp +3 -8
  252. data/ext/ice/cpp/src/Ice/FacetMap.cpp +3 -8
  253. data/ext/ice/cpp/src/Ice/FactoryTable.cpp +1 -6
  254. data/ext/ice/cpp/src/Ice/FactoryTableInit.cpp +1 -6
  255. data/ext/ice/cpp/src/Ice/GCObject.cpp +2 -7
  256. data/ext/ice/cpp/src/Ice/HashUtil.h +1 -6
  257. data/ext/ice/cpp/src/Ice/HttpParser.cpp +1 -6
  258. data/ext/ice/cpp/src/Ice/HttpParser.h +1 -6
  259. data/ext/ice/cpp/src/Ice/IPEndpointI.cpp +2 -30
  260. data/ext/ice/cpp/src/Ice/IPEndpointI.h +1 -6
  261. data/ext/ice/cpp/src/Ice/IPEndpointIF.h +1 -6
  262. data/ext/ice/cpp/src/Ice/IconvStringConverter.cpp +1 -6
  263. data/ext/ice/cpp/src/Ice/Identity.cpp +3 -8
  264. data/ext/ice/cpp/src/Ice/ImplicitContext.cpp +3 -8
  265. data/ext/ice/cpp/src/Ice/ImplicitContextF.cpp +3 -8
  266. data/ext/ice/cpp/src/Ice/ImplicitContextI.cpp +1 -7
  267. data/ext/ice/cpp/src/Ice/ImplicitContextI.h +1 -6
  268. data/ext/ice/cpp/src/Ice/Incoming.cpp +9 -13
  269. data/ext/ice/cpp/src/Ice/IncomingAsync.cpp +1 -6
  270. data/ext/ice/cpp/src/Ice/IncomingRequest.h +1 -6
  271. data/ext/ice/cpp/src/Ice/Initialize.cpp +1 -7
  272. data/ext/ice/cpp/src/Ice/InputStream.cpp +7 -54
  273. data/ext/ice/cpp/src/Ice/Instance.cpp +30 -8
  274. data/ext/ice/cpp/src/Ice/Instance.h +1 -6
  275. data/ext/ice/cpp/src/Ice/Instrumentation.cpp +3 -8
  276. data/ext/ice/cpp/src/Ice/InstrumentationF.cpp +3 -8
  277. data/ext/ice/cpp/src/Ice/InstrumentationI.cpp +2 -7
  278. data/ext/ice/cpp/src/Ice/InstrumentationI.h +1 -6
  279. data/ext/ice/cpp/src/Ice/LocalException.cpp +3 -8
  280. data/ext/ice/cpp/src/Ice/LocalObject.cpp +1 -6
  281. data/ext/ice/cpp/src/Ice/Locator.cpp +17 -22
  282. data/ext/ice/cpp/src/Ice/LocatorF.cpp +3 -8
  283. data/ext/ice/cpp/src/Ice/LocatorInfo.cpp +25 -22
  284. data/ext/ice/cpp/src/Ice/LocatorInfo.h +3 -8
  285. data/ext/ice/cpp/src/Ice/LocatorInfoF.h +1 -6
  286. data/ext/ice/cpp/src/Ice/Logger.cpp +3 -8
  287. data/ext/ice/cpp/src/Ice/LoggerAdminI.cpp +7 -12
  288. data/ext/ice/cpp/src/Ice/LoggerAdminI.h +1 -6
  289. data/ext/ice/cpp/src/Ice/LoggerF.cpp +3 -8
  290. data/ext/ice/cpp/src/Ice/LoggerI.cpp +7 -12
  291. data/ext/ice/cpp/src/Ice/LoggerI.h +1 -6
  292. data/ext/ice/cpp/src/Ice/LoggerUtil.cpp +1 -6
  293. data/ext/ice/cpp/src/Ice/Metrics.cpp +3 -8
  294. data/ext/ice/cpp/src/Ice/MetricsAdminI.cpp +9 -9
  295. data/ext/ice/cpp/src/Ice/MetricsObserverI.cpp +1 -6
  296. data/ext/ice/cpp/src/Ice/Network.cpp +46 -29
  297. data/ext/ice/cpp/src/Ice/Network.h +3 -8
  298. data/ext/ice/cpp/src/Ice/NetworkF.h +1 -6
  299. data/ext/ice/cpp/src/Ice/NetworkProxy.cpp +2 -8
  300. data/ext/ice/cpp/src/Ice/NetworkProxy.h +1 -6
  301. data/ext/ice/cpp/src/Ice/NetworkProxyF.h +1 -6
  302. data/ext/ice/cpp/src/Ice/Object.cpp +1 -7
  303. data/ext/ice/cpp/src/Ice/ObjectAdapter.cpp +3 -8
  304. data/ext/ice/cpp/src/Ice/ObjectAdapterF.cpp +3 -8
  305. data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.cpp +1 -6
  306. data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.h +1 -6
  307. data/ext/ice/cpp/src/Ice/ObjectAdapterFactoryF.h +1 -6
  308. data/ext/ice/cpp/src/Ice/ObjectAdapterI.cpp +9 -6
  309. data/ext/ice/cpp/src/Ice/ObjectAdapterI.h +1 -6
  310. data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +3 -8
  311. data/ext/ice/cpp/src/Ice/ObserverHelper.cpp +1 -6
  312. data/ext/ice/cpp/src/Ice/OpaqueEndpointI.cpp +5 -10
  313. data/ext/ice/cpp/src/Ice/OpaqueEndpointI.h +1 -6
  314. data/ext/ice/cpp/src/Ice/OutgoingAsync.cpp +5 -8
  315. data/ext/ice/cpp/src/Ice/OutputStream.cpp +5 -37
  316. data/ext/ice/cpp/src/Ice/Plugin.cpp +3 -8
  317. data/ext/ice/cpp/src/Ice/PluginF.cpp +3 -8
  318. data/ext/ice/cpp/src/Ice/PluginManagerI.cpp +1 -6
  319. data/ext/ice/cpp/src/Ice/PluginManagerI.h +1 -6
  320. data/ext/ice/cpp/src/Ice/Process.cpp +7 -12
  321. data/ext/ice/cpp/src/Ice/ProcessF.cpp +3 -8
  322. data/ext/ice/cpp/src/Ice/Properties.cpp +3 -8
  323. data/ext/ice/cpp/src/Ice/PropertiesAdmin.cpp +9 -14
  324. data/ext/ice/cpp/src/Ice/PropertiesAdminI.cpp +3 -8
  325. data/ext/ice/cpp/src/Ice/PropertiesAdminI.h +1 -6
  326. data/ext/ice/cpp/src/Ice/PropertiesF.cpp +3 -8
  327. data/ext/ice/cpp/src/Ice/PropertiesI.cpp +13 -17
  328. data/ext/ice/cpp/src/Ice/PropertiesI.h +1 -6
  329. data/ext/ice/cpp/src/Ice/PropertyNames.cpp +41 -8
  330. data/ext/ice/cpp/src/Ice/PropertyNames.h +2 -7
  331. data/ext/ice/cpp/src/Ice/Protocol.cpp +1 -6
  332. data/ext/ice/cpp/src/Ice/ProtocolInstance.cpp +1 -6
  333. data/ext/ice/cpp/src/Ice/ProtocolInstance.h +1 -6
  334. data/ext/ice/cpp/src/Ice/ProtocolInstanceF.h +1 -6
  335. data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.cpp +1 -6
  336. data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.h +1 -6
  337. data/ext/ice/cpp/src/Ice/ProtocolPluginFacadeF.h +1 -6
  338. data/ext/ice/cpp/src/Ice/Proxy.cpp +3 -8
  339. data/ext/ice/cpp/src/Ice/ProxyFactory.cpp +1 -6
  340. data/ext/ice/cpp/src/Ice/ProxyFactory.h +1 -6
  341. data/ext/ice/cpp/src/Ice/Reference.cpp +61 -33
  342. data/ext/ice/cpp/src/Ice/Reference.h +1 -6
  343. data/ext/ice/cpp/src/Ice/ReferenceFactory.cpp +1 -8
  344. data/ext/ice/cpp/src/Ice/ReferenceFactory.h +1 -6
  345. data/ext/ice/cpp/src/Ice/ReferenceFactoryF.h +1 -6
  346. data/ext/ice/cpp/src/Ice/RegisterPluginsInit.cpp +1 -6
  347. data/ext/ice/cpp/src/Ice/RegisterPluginsInit.h +1 -6
  348. data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +13 -18
  349. data/ext/ice/cpp/src/Ice/ReplyStatus.h +1 -6
  350. data/ext/ice/cpp/src/Ice/RequestHandler.cpp +1 -6
  351. data/ext/ice/cpp/src/Ice/RequestHandler.h +1 -6
  352. data/ext/ice/cpp/src/Ice/RequestHandlerFactory.cpp +1 -6
  353. data/ext/ice/cpp/src/Ice/RequestHandlerFactory.h +1 -6
  354. data/ext/ice/cpp/src/Ice/ResponseHandler.cpp +1 -6
  355. data/ext/ice/cpp/src/Ice/ResponseHandler.h +1 -6
  356. data/ext/ice/cpp/src/Ice/RetryQueue.cpp +2 -7
  357. data/ext/ice/cpp/src/Ice/RetryQueue.h +1 -6
  358. data/ext/ice/cpp/src/Ice/RetryQueueF.h +1 -6
  359. data/ext/ice/cpp/src/Ice/Router.cpp +11 -16
  360. data/ext/ice/cpp/src/Ice/RouterF.cpp +3 -8
  361. data/ext/ice/cpp/src/Ice/RouterInfo.cpp +3 -8
  362. data/ext/ice/cpp/src/Ice/RouterInfo.h +1 -6
  363. data/ext/ice/cpp/src/Ice/RouterInfoF.h +1 -6
  364. data/ext/ice/cpp/src/Ice/SHA1.cpp +1 -6
  365. data/ext/ice/cpp/src/Ice/Selector.cpp +46 -17
  366. data/ext/ice/cpp/src/Ice/Selector.h +1 -6
  367. data/ext/ice/cpp/src/Ice/ServantLocator.cpp +3 -8
  368. data/ext/ice/cpp/src/Ice/ServantLocatorF.cpp +3 -8
  369. data/ext/ice/cpp/src/Ice/ServantManager.cpp +7 -12
  370. data/ext/ice/cpp/src/Ice/ServantManager.h +1 -6
  371. data/ext/ice/cpp/src/Ice/SharedContext.h +1 -6
  372. data/ext/ice/cpp/src/Ice/SliceChecksumDict.cpp +3 -8
  373. data/ext/ice/cpp/src/Ice/SliceChecksums.cpp +1 -6
  374. data/ext/ice/cpp/src/Ice/SlicedData.cpp +1 -6
  375. data/ext/ice/cpp/src/Ice/StreamSocket.cpp +9 -12
  376. data/ext/ice/cpp/src/Ice/StreamSocket.h +1 -6
  377. data/ext/ice/cpp/src/Ice/StringConverterPlugin.cpp +1 -6
  378. data/ext/ice/cpp/src/Ice/StringUtil.h +1 -6
  379. data/ext/ice/cpp/src/Ice/SysLoggerI.cpp +3 -8
  380. data/ext/ice/cpp/src/Ice/SysLoggerI.h +1 -6
  381. data/ext/ice/cpp/src/Ice/SystemdJournalI.cpp +66 -0
  382. data/ext/ice/cpp/src/Ice/SystemdJournalI.h +39 -0
  383. data/ext/ice/cpp/src/Ice/TcpAcceptor.cpp +3 -7
  384. data/ext/ice/cpp/src/Ice/TcpAcceptor.h +1 -6
  385. data/ext/ice/cpp/src/Ice/TcpConnector.cpp +1 -6
  386. data/ext/ice/cpp/src/Ice/TcpConnector.h +1 -6
  387. data/ext/ice/cpp/src/Ice/TcpEndpointI.cpp +1 -6
  388. data/ext/ice/cpp/src/Ice/TcpEndpointI.h +1 -6
  389. data/ext/ice/cpp/src/Ice/TcpTransceiver.cpp +1 -6
  390. data/ext/ice/cpp/src/Ice/TcpTransceiver.h +1 -6
  391. data/ext/ice/cpp/src/Ice/Thread.cpp +18 -14
  392. data/ext/ice/cpp/src/Ice/ThreadPool.cpp +6 -9
  393. data/ext/ice/cpp/src/Ice/ThreadPool.h +1 -6
  394. data/ext/ice/cpp/src/Ice/Timer.cpp +1 -6
  395. data/ext/ice/cpp/src/Ice/TraceLevels.cpp +1 -6
  396. data/ext/ice/cpp/src/Ice/TraceLevels.h +1 -6
  397. data/ext/ice/cpp/src/Ice/TraceLevelsF.h +1 -6
  398. data/ext/ice/cpp/src/Ice/TraceUtil.cpp +1 -6
  399. data/ext/ice/cpp/src/Ice/TraceUtil.h +1 -6
  400. data/ext/ice/cpp/src/Ice/Transceiver.cpp +1 -6
  401. data/ext/ice/cpp/src/Ice/Transceiver.h +1 -6
  402. data/ext/ice/cpp/src/Ice/TransceiverF.h +3 -8
  403. data/ext/ice/cpp/src/Ice/UdpConnector.cpp +4 -6
  404. data/ext/ice/cpp/src/Ice/UdpConnector.h +1 -6
  405. data/ext/ice/cpp/src/Ice/UdpEndpointI.cpp +1 -6
  406. data/ext/ice/cpp/src/Ice/UdpEndpointI.h +1 -6
  407. data/ext/ice/cpp/src/Ice/UdpTransceiver.cpp +23 -24
  408. data/ext/ice/cpp/src/Ice/UdpTransceiver.h +1 -6
  409. data/ext/ice/cpp/src/Ice/Value.cpp +1 -6
  410. data/ext/ice/cpp/src/Ice/ValueFactory.cpp +3 -8
  411. data/ext/ice/cpp/src/Ice/ValueFactoryManagerI.cpp +1 -7
  412. data/ext/ice/cpp/src/Ice/ValueFactoryManagerI.h +1 -6
  413. data/ext/ice/cpp/src/Ice/Version.cpp +3 -8
  414. data/ext/ice/cpp/src/Ice/VirtualShared.h +1 -6
  415. data/ext/ice/cpp/src/Ice/WSAcceptor.cpp +1 -6
  416. data/ext/ice/cpp/src/Ice/WSAcceptor.h +1 -6
  417. data/ext/ice/cpp/src/Ice/WSConnector.cpp +1 -6
  418. data/ext/ice/cpp/src/Ice/WSConnector.h +1 -6
  419. data/ext/ice/cpp/src/Ice/WSEndpoint.cpp +1 -6
  420. data/ext/ice/cpp/src/Ice/WSEndpoint.h +1 -6
  421. data/ext/ice/cpp/src/Ice/WSTransceiver.cpp +2 -7
  422. data/ext/ice/cpp/src/Ice/WSTransceiver.h +1 -7
  423. data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +3 -8
  424. data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +11 -16
  425. data/ext/ice/cpp/src/IceDiscovery/LocatorI.cpp +4 -7
  426. data/ext/ice/cpp/src/IceDiscovery/LocatorI.h +1 -6
  427. data/ext/ice/cpp/src/IceDiscovery/LookupI.cpp +5 -10
  428. data/ext/ice/cpp/src/IceDiscovery/LookupI.h +1 -6
  429. data/ext/ice/cpp/src/IceDiscovery/PluginI.cpp +1 -6
  430. data/ext/ice/cpp/src/IceDiscovery/PluginI.h +1 -6
  431. data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.cpp +3 -8
  432. data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.h +9 -14
  433. data/ext/ice/cpp/src/IceLocatorDiscovery/Plugin.h +1 -6
  434. data/ext/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +3 -8
  435. data/ext/ice/cpp/src/IceSSL/AcceptorI.cpp +1 -6
  436. data/ext/ice/cpp/src/IceSSL/AcceptorI.h +1 -6
  437. data/ext/ice/cpp/src/IceSSL/CertificateI.cpp +1 -6
  438. data/ext/ice/cpp/src/IceSSL/CertificateI.h +1 -6
  439. data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +3 -8
  440. data/ext/ice/cpp/src/IceSSL/ConnectionInfoF.cpp +3 -8
  441. data/ext/ice/cpp/src/IceSSL/ConnectorI.cpp +1 -6
  442. data/ext/ice/cpp/src/IceSSL/ConnectorI.h +1 -6
  443. data/ext/ice/cpp/src/IceSSL/EndpointI.cpp +8 -13
  444. data/ext/ice/cpp/src/IceSSL/EndpointI.h +2 -7
  445. data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +3 -8
  446. data/ext/ice/cpp/src/IceSSL/Instance.cpp +1 -6
  447. data/ext/ice/cpp/src/IceSSL/Instance.h +1 -6
  448. data/ext/ice/cpp/src/IceSSL/InstanceF.h +1 -6
  449. data/ext/ice/cpp/src/IceSSL/OpenSSLCertificateI.cpp +1 -6
  450. data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.cpp +96 -30
  451. data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.h +3 -7
  452. data/ext/ice/cpp/src/IceSSL/OpenSSLEngineF.h +1 -6
  453. data/ext/ice/cpp/src/IceSSL/OpenSSLPluginI.cpp +1 -6
  454. data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +127 -143
  455. data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.h +2 -11
  456. data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.cpp +1 -6
  457. data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.h +1 -6
  458. data/ext/ice/cpp/src/IceSSL/PluginI.cpp +1 -6
  459. data/ext/ice/cpp/src/IceSSL/PluginI.h +1 -6
  460. data/ext/ice/cpp/src/IceSSL/RFC2253.cpp +1 -7
  461. data/ext/ice/cpp/src/IceSSL/RFC2253.h +1 -6
  462. data/ext/ice/cpp/src/IceSSL/SChannelCertificateI.cpp +5 -10
  463. data/ext/ice/cpp/src/IceSSL/SChannelEngine.cpp +69 -29
  464. data/ext/ice/cpp/src/IceSSL/SChannelEngine.h +5 -6
  465. data/ext/ice/cpp/src/IceSSL/SChannelEngineF.h +5 -6
  466. data/ext/ice/cpp/src/IceSSL/SChannelPluginI.cpp +1 -6
  467. data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +35 -30
  468. data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.h +7 -6
  469. data/ext/ice/cpp/src/IceSSL/SSLEngine.cpp +2 -7
  470. data/ext/ice/cpp/src/IceSSL/SSLEngine.h +1 -6
  471. data/ext/ice/cpp/src/IceSSL/SSLEngineF.h +1 -6
  472. data/ext/ice/cpp/src/IceSSL/SecureTransportCertificateI.cpp +7 -12
  473. data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.cpp +44 -18
  474. data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.h +5 -6
  475. data/ext/ice/cpp/src/IceSSL/SecureTransportEngineF.h +4 -6
  476. data/ext/ice/cpp/src/IceSSL/SecureTransportPluginI.cpp +1 -6
  477. data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +28 -23
  478. data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.h +6 -7
  479. data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.cpp +16 -9
  480. data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.h +5 -6
  481. data/ext/ice/cpp/src/IceSSL/TrustManager.cpp +1 -6
  482. data/ext/ice/cpp/src/IceSSL/TrustManager.h +1 -6
  483. data/ext/ice/cpp/src/IceSSL/TrustManagerF.h +1 -6
  484. data/ext/ice/cpp/src/IceSSL/UWPCertificateI.cpp +4 -9
  485. data/ext/ice/cpp/src/IceSSL/UWPEngine.cpp +4 -9
  486. data/ext/ice/cpp/src/IceSSL/UWPEngine.h +1 -6
  487. data/ext/ice/cpp/src/IceSSL/UWPEngineF.h +1 -6
  488. data/ext/ice/cpp/src/IceSSL/UWPPluginI.cpp +1 -6
  489. data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.cpp +5 -10
  490. data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.h +1 -6
  491. data/ext/ice/cpp/src/IceSSL/Util.cpp +1 -6
  492. data/ext/ice/cpp/src/IceSSL/Util.h +1 -6
  493. data/ext/ice/cpp/src/IceUtil/ConsoleUtil.cpp +1 -6
  494. data/ext/ice/cpp/src/IceUtil/ConvertUTF.cpp +1 -6
  495. data/ext/ice/cpp/src/IceUtil/ConvertUTF.h +1 -6
  496. data/ext/ice/cpp/src/IceUtil/CtrlCHandler.cpp +3 -6
  497. data/ext/ice/cpp/src/IceUtil/FileUtil.cpp +1 -6
  498. data/ext/ice/cpp/src/IceUtil/InputUtil.cpp +1 -6
  499. data/ext/ice/cpp/src/IceUtil/MutexProtocol.cpp +1 -6
  500. data/ext/ice/cpp/src/IceUtil/Options.cpp +22 -12
  501. data/ext/ice/cpp/src/IceUtil/OutputUtil.cpp +1 -6
  502. data/ext/ice/cpp/src/IceUtil/Random.cpp +1 -6
  503. data/ext/ice/cpp/src/IceUtil/RecMutex.cpp +2 -7
  504. data/ext/ice/cpp/src/IceUtil/Shared.cpp +1 -6
  505. data/ext/ice/cpp/src/IceUtil/StringConverter.cpp +1 -6
  506. data/ext/ice/cpp/src/IceUtil/StringUtil.cpp +42 -9
  507. data/ext/ice/cpp/src/IceUtil/ThreadException.cpp +1 -6
  508. data/ext/ice/cpp/src/IceUtil/Time.cpp +1 -6
  509. data/ext/ice/cpp/src/IceUtil/UUID.cpp +1 -6
  510. data/ext/ice/cpp/src/IceUtil/Unicode.cpp +1 -6
  511. data/ext/ice/cpp/src/IceUtil/Unicode.h +1 -6
  512. data/ext/ice/cpp/src/IceUtil/UtilException.cpp +13 -12
  513. data/ext/ice/cpp/src/Slice/CPlusPlusUtil.cpp +58 -64
  514. data/ext/ice/cpp/src/Slice/CPlusPlusUtil.h +2 -7
  515. data/ext/ice/cpp/src/Slice/Checksum.cpp +1 -6
  516. data/ext/ice/cpp/src/Slice/Checksum.h +1 -6
  517. data/ext/ice/cpp/src/Slice/FileTracker.cpp +1 -6
  518. data/ext/ice/cpp/src/Slice/FileTracker.h +1 -6
  519. data/ext/ice/cpp/src/Slice/Grammar.cpp +241 -245
  520. data/ext/ice/cpp/src/Slice/Grammar.h +5 -5
  521. data/ext/ice/cpp/src/Slice/GrammarUtil.h +1 -7
  522. data/ext/ice/cpp/src/Slice/JavaUtil.cpp +76 -86
  523. data/ext/ice/cpp/src/Slice/JavaUtil.h +5 -10
  524. data/ext/ice/cpp/src/Slice/MD5.cpp +1 -6
  525. data/ext/ice/cpp/src/Slice/MD5.h +1 -6
  526. data/ext/ice/cpp/src/Slice/PHPUtil.cpp +6 -6
  527. data/ext/ice/cpp/src/Slice/PHPUtil.h +1 -6
  528. data/ext/ice/cpp/src/Slice/Parser.cpp +86 -47
  529. data/ext/ice/cpp/src/Slice/Parser.h +6 -9
  530. data/ext/ice/cpp/src/Slice/Preprocessor.cpp +11 -16
  531. data/ext/ice/cpp/src/Slice/Preprocessor.h +1 -6
  532. data/ext/ice/cpp/src/Slice/Python.cpp +21 -27
  533. data/ext/ice/cpp/src/Slice/PythonUtil.cpp +62 -35
  534. data/ext/ice/cpp/src/Slice/PythonUtil.h +1 -6
  535. data/ext/ice/cpp/src/Slice/Ruby.cpp +5 -10
  536. data/ext/ice/cpp/src/Slice/RubyUtil.cpp +12 -14
  537. data/ext/ice/cpp/src/Slice/RubyUtil.h +1 -6
  538. data/ext/ice/cpp/src/Slice/Scanner.cpp +101 -109
  539. data/ext/ice/cpp/src/Slice/SliceUtil.cpp +2 -8
  540. data/ext/ice/cpp/src/Slice/StringLiteralUtil.cpp +1 -6
  541. data/ext/ice/cpp/src/Slice/Util.h +1 -6
  542. data/ice.gemspec +2 -4
  543. data/lib/Glacier2.rb +1 -6
  544. data/lib/Glacier2/Metrics.rb +3 -8
  545. data/lib/Glacier2/PermissionsVerifier.rb +3 -8
  546. data/lib/Glacier2/PermissionsVerifierF.rb +3 -8
  547. data/lib/Glacier2/Router.rb +3 -8
  548. data/lib/Glacier2/RouterF.rb +3 -8
  549. data/lib/Glacier2/SSLInfo.rb +3 -8
  550. data/lib/Glacier2/Session.rb +3 -8
  551. data/lib/Ice.rb +1 -6
  552. data/lib/Ice/BuiltinSequences.rb +3 -8
  553. data/lib/Ice/Communicator.rb +3 -8
  554. data/lib/Ice/CommunicatorF.rb +3 -8
  555. data/lib/Ice/Connection.rb +3 -8
  556. data/lib/Ice/ConnectionF.rb +3 -8
  557. data/lib/Ice/Current.rb +3 -8
  558. data/lib/Ice/Endpoint.rb +3 -8
  559. data/lib/Ice/EndpointF.rb +3 -8
  560. data/lib/Ice/EndpointTypes.rb +3 -8
  561. data/lib/Ice/FacetMap.rb +3 -8
  562. data/lib/Ice/Identity.rb +3 -8
  563. data/lib/Ice/ImplicitContext.rb +3 -8
  564. data/lib/Ice/ImplicitContextF.rb +3 -8
  565. data/lib/Ice/Instrumentation.rb +3 -8
  566. data/lib/Ice/InstrumentationF.rb +3 -8
  567. data/lib/Ice/LocalException.rb +3 -8
  568. data/lib/Ice/Locator.rb +3 -8
  569. data/lib/Ice/LocatorF.rb +3 -8
  570. data/lib/Ice/Logger.rb +3 -8
  571. data/lib/Ice/LoggerF.rb +3 -8
  572. data/lib/Ice/Metrics.rb +3 -8
  573. data/lib/Ice/ObjectAdapter.rb +3 -8
  574. data/lib/Ice/ObjectAdapterF.rb +3 -8
  575. data/lib/Ice/ObjectFactory.rb +3 -8
  576. data/lib/Ice/Plugin.rb +3 -8
  577. data/lib/Ice/PluginF.rb +3 -8
  578. data/lib/Ice/Process.rb +3 -8
  579. data/lib/Ice/ProcessF.rb +3 -8
  580. data/lib/Ice/Properties.rb +3 -8
  581. data/lib/Ice/PropertiesAdmin.rb +3 -8
  582. data/lib/Ice/PropertiesF.rb +3 -8
  583. data/lib/Ice/RemoteLogger.rb +3 -8
  584. data/lib/Ice/Router.rb +3 -8
  585. data/lib/Ice/RouterF.rb +3 -8
  586. data/lib/Ice/ServantLocator.rb +3 -8
  587. data/lib/Ice/ServantLocatorF.rb +3 -8
  588. data/lib/Ice/SliceChecksumDict.rb +3 -8
  589. data/lib/Ice/ValueFactory.rb +3 -8
  590. data/lib/Ice/Version.rb +3 -8
  591. data/lib/IceBox.rb +1 -6
  592. data/lib/IceBox/IceBox.rb +3 -8
  593. data/lib/IceGrid.rb +1 -6
  594. data/lib/IceGrid/Admin.rb +3 -8
  595. data/lib/IceGrid/Descriptor.rb +3 -8
  596. data/lib/IceGrid/Exception.rb +3 -8
  597. data/lib/IceGrid/FileParser.rb +3 -8
  598. data/lib/IceGrid/PluginFacade.rb +3 -8
  599. data/lib/IceGrid/Registry.rb +3 -8
  600. data/lib/IceGrid/Session.rb +3 -8
  601. data/lib/IceGrid/UserAccountMapper.rb +3 -8
  602. data/lib/IcePatch2.rb +1 -6
  603. data/lib/IcePatch2/FileInfo.rb +3 -8
  604. data/lib/IcePatch2/FileServer.rb +3 -8
  605. data/lib/IceStorm.rb +1 -6
  606. data/lib/IceStorm/IceStorm.rb +3 -8
  607. data/lib/IceStorm/Metrics.rb +3 -8
  608. data/slice/Glacier2/Metrics.ice +13 -7
  609. data/slice/Glacier2/PermissionsVerifier.ice +11 -7
  610. data/slice/Glacier2/PermissionsVerifierF.ice +11 -7
  611. data/slice/Glacier2/Router.ice +12 -8
  612. data/slice/Glacier2/RouterF.ice +11 -7
  613. data/slice/Glacier2/SSLInfo.ice +11 -7
  614. data/slice/Glacier2/Session.ice +11 -7
  615. data/slice/Ice/BuiltinSequences.ice +13 -7
  616. data/slice/Ice/Communicator.ice +42 -26
  617. data/slice/Ice/CommunicatorF.ice +13 -7
  618. data/slice/Ice/Connection.ice +21 -15
  619. data/slice/Ice/ConnectionF.ice +13 -7
  620. data/slice/Ice/Current.ice +28 -22
  621. data/slice/Ice/Endpoint.ice +17 -14
  622. data/slice/Ice/EndpointF.ice +13 -7
  623. data/slice/Ice/EndpointTypes.ice +15 -9
  624. data/slice/Ice/FacetMap.ice +13 -7
  625. data/slice/Ice/Identity.ice +13 -7
  626. data/slice/Ice/ImplicitContext.ice +22 -16
  627. data/slice/Ice/ImplicitContextF.ice +12 -7
  628. data/slice/Ice/Instrumentation.ice +13 -7
  629. data/slice/Ice/InstrumentationF.ice +13 -7
  630. data/slice/Ice/LocalException.ice +35 -29
  631. data/slice/Ice/Locator.ice +13 -7
  632. data/slice/Ice/LocatorF.ice +13 -7
  633. data/slice/Ice/Logger.ice +13 -7
  634. data/slice/Ice/LoggerF.ice +13 -7
  635. data/slice/Ice/Metrics.ice +14 -9
  636. data/slice/Ice/ObjectAdapter.ice +24 -18
  637. data/slice/Ice/ObjectAdapterF.ice +13 -7
  638. data/slice/Ice/ObjectFactory.ice +20 -12
  639. data/slice/Ice/Plugin.ice +17 -8
  640. data/slice/Ice/PluginF.ice +17 -7
  641. data/slice/Ice/Process.ice +13 -7
  642. data/slice/Ice/ProcessF.ice +13 -7
  643. data/slice/Ice/Properties.ice +25 -14
  644. data/slice/Ice/PropertiesAdmin.ice +13 -7
  645. data/slice/Ice/PropertiesF.ice +13 -7
  646. data/slice/Ice/RemoteLogger.ice +13 -7
  647. data/slice/Ice/Router.ice +14 -8
  648. data/slice/Ice/RouterF.ice +13 -7
  649. data/slice/Ice/ServantLocator.ice +27 -21
  650. data/slice/Ice/ServantLocatorF.ice +13 -7
  651. data/slice/Ice/SliceChecksumDict.ice +13 -7
  652. data/slice/Ice/ValueFactory.ice +19 -12
  653. data/slice/Ice/Version.ice +13 -7
  654. data/slice/IceBT/ConnectionInfo.ice +12 -7
  655. data/slice/IceBT/EndpointInfo.ice +12 -7
  656. data/slice/IceBT/Types.ice +12 -7
  657. data/slice/IceBox/IceBox.ice +12 -7
  658. data/slice/IceDiscovery/IceDiscovery.ice +12 -7
  659. data/slice/IceGrid/Admin.ice +41 -35
  660. data/slice/IceGrid/Descriptor.ice +15 -10
  661. data/slice/IceGrid/Exception.ice +15 -10
  662. data/slice/IceGrid/FileParser.ice +14 -8
  663. data/slice/IceGrid/PluginFacade.ice +13 -7
  664. data/slice/IceGrid/Registry.ice +13 -7
  665. data/slice/IceGrid/Session.ice +18 -12
  666. data/slice/IceGrid/UserAccountMapper.ice +16 -10
  667. data/slice/IceIAP/ConnectionInfo.ice +10 -7
  668. data/slice/IceIAP/EndpointInfo.ice +10 -7
  669. data/slice/IceLocatorDiscovery/IceLocatorDiscovery.ice +12 -7
  670. data/slice/IcePatch2/FileInfo.ice +12 -7
  671. data/slice/IcePatch2/FileServer.ice +13 -8
  672. data/slice/IceSSL/ConnectionInfo.ice +13 -7
  673. data/slice/IceSSL/ConnectionInfoF.ice +13 -7
  674. data/slice/IceSSL/EndpointInfo.ice +13 -7
  675. data/slice/IceStorm/IceStorm.ice +17 -11
  676. data/slice/IceStorm/Metrics.ice +12 -8
  677. metadata +4 -2
@@ -1,13 +1,8 @@
1
- // **********************************************************************
2
1
  //
3
- // Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
2
+ // Copyright (c) ZeroC, Inc. All rights reserved.
4
3
  //
5
- // This copy of Ice is licensed to you under the terms described in the
6
- // ICE_LICENSE file included in this distribution.
7
- //
8
- // **********************************************************************
9
4
 
10
- #include <IceUtil/DisableWarnings.h>
5
+ #include <IceUtil/StringUtil.h>
11
6
  #include <IceUtil/Options.h>
12
7
  #include <IceUtil/CtrlCHandler.h>
13
8
  #include <IceUtil/Mutex.h>
@@ -296,9 +291,9 @@ Slice::Ruby::compile(const vector<string>& argv)
296
291
  out.open(file.c_str());
297
292
  if(!out)
298
293
  {
299
- ostringstream os;
300
- os << "cannot open`" << file << "': " << strerror(errno);
301
- throw FileException(__FILE__, __LINE__, os.str());
294
+ ostringstream oss;
295
+ oss << "cannot open`" << file << "': " << IceUtilInternal::errorToString(errno);
296
+ throw FileException(__FILE__, __LINE__, oss.str());
302
297
  }
303
298
  FileTracker::instance()->addFile(file);
304
299
  //
@@ -1,11 +1,6 @@
1
- // **********************************************************************
2
1
  //
3
- // Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
2
+ // Copyright (c) ZeroC, Inc. All rights reserved.
4
3
  //
5
- // This copy of Ice is licensed to you under the terms described in the
6
- // ICE_LICENSE file included in this distribution.
7
- //
8
- // **********************************************************************
9
4
 
10
5
  #include <Slice/RubyUtil.h>
11
6
  #include <Slice/Checksum.h>
@@ -191,7 +186,16 @@ Slice::Ruby::CodeVisitor::CodeVisitor(Output& out) :
191
186
  bool
192
187
  Slice::Ruby::CodeVisitor::visitModuleStart(const ModulePtr& p)
193
188
  {
194
- _out << sp << nl << "module " << fixIdent(p->name(), IdentToUpper);
189
+ _out << sp << nl << "module ";
190
+ //
191
+ // Ensure that Slice top-level modules are defined as top
192
+ // level modules in Ruby
193
+ //
194
+ if(UnitPtr::dynamicCast(p->container()))
195
+ {
196
+ _out << "::";
197
+ }
198
+ _out << fixIdent(p->name(), IdentToUpper);
195
199
  _out.inc();
196
200
  return true;
197
201
  }
@@ -331,7 +335,6 @@ Slice::Ruby::CodeVisitor::visitClassDefStart(const ClassDefPtr& p)
331
335
  //
332
336
  // read/write accessors for data members.
333
337
  //
334
- DataMemberList members = p->dataMembers();
335
338
  if(!members.empty())
336
339
  {
337
340
  bool prot = p->hasMetaData("protected");
@@ -1556,14 +1559,9 @@ void
1556
1559
  Slice::Ruby::printHeader(IceUtilInternal::Output& out)
1557
1560
  {
1558
1561
  static const char* header =
1559
- "# **********************************************************************\n"
1560
- "#\n"
1561
- "# Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.\n"
1562
1562
  "#\n"
1563
- "# This copy of Ice is licensed to you under the terms described in the\n"
1564
- "# ICE_LICENSE file included in this distribution.\n"
1563
+ "# Copyright (c) ZeroC, Inc. All rights reserved.\n"
1565
1564
  "#\n"
1566
- "# **********************************************************************\n"
1567
1565
  ;
1568
1566
 
1569
1567
  out << header;
@@ -1,11 +1,6 @@
1
- // **********************************************************************
2
1
  //
3
- // Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
2
+ // Copyright (c) ZeroC, Inc. All rights reserved.
4
3
  //
5
- // This copy of Ice is licensed to you under the terms described in the
6
- // ICE_LICENSE file included in this distribution.
7
- //
8
- // **********************************************************************
9
4
 
10
5
  #ifndef SLICE_RUBY_UTIL_H
11
6
  #define SLICE_RUBY_UTIL_H
@@ -54,7 +54,7 @@
54
54
  #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
55
55
 
56
56
  /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
57
- * if you want the limit (max/min) macros for int types.
57
+ * if you want the limit (max/min) macros for int types.
58
58
  */
59
59
  #ifndef __STDC_LIMIT_MACROS
60
60
  #define __STDC_LIMIT_MACROS 1
@@ -71,7 +71,7 @@ typedef uint32_t flex_uint32_t;
71
71
  typedef signed char flex_int8_t;
72
72
  typedef short int flex_int16_t;
73
73
  typedef int flex_int32_t;
74
- typedef unsigned char flex_uint8_t;
74
+ typedef unsigned char flex_uint8_t;
75
75
  typedef unsigned short int flex_uint16_t;
76
76
  typedef unsigned int flex_uint32_t;
77
77
 
@@ -188,7 +188,7 @@ extern FILE *slice_in, *slice_out;
188
188
  #define EOB_ACT_LAST_MATCH 2
189
189
 
190
190
  #define YY_LESS_LINENO(n)
191
-
191
+
192
192
  /* Return all but the first "n" matched characters back to the input stream. */
193
193
  #define yyless(n) \
194
194
  do \
@@ -245,7 +245,7 @@ struct yy_buffer_state
245
245
 
246
246
  int yy_bs_lineno; /**< The line count. */
247
247
  int yy_bs_column; /**< The column count. */
248
-
248
+
249
249
  /* Whether to try to fill the input buffer when we reach the
250
250
  * end of it.
251
251
  */
@@ -546,14 +546,9 @@ char *slice_text;
546
546
  #line 1 "src/Slice/Scanner.l"
547
547
  #line 2 "src/Slice/Scanner.l"
548
548
 
549
- // **********************************************************************
550
549
  //
551
- // Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
550
+ // Copyright (c) ZeroC, Inc. All rights reserved.
552
551
  //
553
- // This copy of Ice is licensed to you under the terms described in the
554
- // ICE_LICENSE file included in this distribution.
555
- //
556
- // **********************************************************************
557
552
 
558
553
  #include <Slice/GrammarUtil.h> // Before Grammer.h, so that YYSTYPE is defined
559
554
  #include <Slice/Grammar.h>
@@ -564,24 +559,19 @@ char *slice_text;
564
559
  #include <stdlib.h>
565
560
  #include <math.h>
566
561
 
567
- #if defined(_MSC_VER) && defined(ICE_64)
568
- //
569
- // '=' : conversion from 'size_t' to 'int', possible loss of data
570
- // The result of fread() is a size_t and gets inserted into an int
571
- //
572
- # pragma warning( 4 : 4267 )
573
- //
562
+ #if defined(_MSC_VER)
563
+ // '<' : signed/unsigned mismatch
564
+ # pragma warning(disable:4018)
574
565
  // 'initializing' : conversion from '__int64' to 'int', possible loss of data
575
- // Puts a pointer-difference into an int
576
- //
577
- # pragma warning( 4 : 4244 )
578
- #endif
566
+ # pragma warning(disable:4244)
579
567
 
580
- #if defined(_MSC_VER) && defined(ICE_32)
568
+ # if defined(ICE_64)
581
569
  //
582
- // '<' : signed/unsigned mismatch
570
+ // '=' : conversion from 'size_t' to 'int', possible loss of data
571
+ // The result of fread() is a size_t and gets inserted into an int
583
572
  //
584
- # pragma warning( 4 : 4018 )
573
+ # pragma warning(disable:4267)
574
+ # endif
585
575
  #endif
586
576
 
587
577
  #if defined(__GNUC__)
@@ -628,7 +618,7 @@ int checkIdentifier(string&);
628
618
 
629
619
 
630
620
 
631
- #line 631 "src/Slice/Scanner.cpp"
621
+ #line 626 "src/Slice/Scanner.cpp"
632
622
 
633
623
  #define INITIAL 0
634
624
  #define BOMSCAN 1
@@ -690,7 +680,7 @@ extern int slice_wrap (void );
690
680
  #endif
691
681
 
692
682
  static void yyunput (int c,char *buf_ptr );
693
-
683
+
694
684
  #ifndef yytext_ptr
695
685
  static void yy_flex_strncpy (char *,yyconst char *,int );
696
686
  #endif
@@ -814,11 +804,11 @@ YY_DECL
814
804
  register yy_state_type yy_current_state;
815
805
  register char *yy_cp, *yy_bp;
816
806
  register int yy_act;
807
+
808
+ #line 93 "src/Slice/Scanner.l"
817
809
 
818
- #line 98 "src/Slice/Scanner.l"
819
810
 
820
-
821
- #line 821 "src/Slice/Scanner.cpp"
811
+ #line 816 "src/Slice/Scanner.cpp"
822
812
 
823
813
  if ( !(yy_init) )
824
814
  {
@@ -903,7 +893,7 @@ case 1:
903
893
  (yy_c_buf_p) = yy_cp -= 1;
904
894
  YY_DO_BEFORE_ACTION; /* set up slice_text again */
905
895
  YY_RULE_SETUP
906
- #line 100 "src/Slice/Scanner.l"
896
+ #line 95 "src/Slice/Scanner.l"
907
897
  {
908
898
  if(unit->scanPosition(slice_text))
909
899
  {
@@ -917,7 +907,7 @@ case 2:
917
907
  (yy_c_buf_p) = yy_cp -= 1;
918
908
  YY_DO_BEFORE_ACTION; /* set up slice_text again */
919
909
  YY_RULE_SETUP
920
- #line 107 "src/Slice/Scanner.l"
910
+ #line 102 "src/Slice/Scanner.l"
921
911
  {
922
912
  if(unit->scanPosition(slice_text))
923
913
  {
@@ -930,7 +920,7 @@ case 3:
930
920
  (yy_c_buf_p) = yy_cp -= 1;
931
921
  YY_DO_BEFORE_ACTION; /* set up slice_text again */
932
922
  YY_RULE_SETUP
933
- #line 114 "src/Slice/Scanner.l"
923
+ #line 109 "src/Slice/Scanner.l"
934
924
  {
935
925
  if(unit->scanPosition(slice_text))
936
926
  {
@@ -944,7 +934,7 @@ case 4:
944
934
  (yy_c_buf_p) = yy_cp -= 1;
945
935
  YY_DO_BEFORE_ACTION; /* set up slice_text again */
946
936
  YY_RULE_SETUP
947
- #line 121 "src/Slice/Scanner.l"
937
+ #line 116 "src/Slice/Scanner.l"
948
938
  {
949
939
  if(unit->scanPosition(slice_text))
950
940
  {
@@ -954,7 +944,7 @@ YY_RULE_SETUP
954
944
  YY_BREAK
955
945
  case 5:
956
946
  YY_RULE_SETUP
957
- #line 128 "src/Slice/Scanner.l"
947
+ #line 123 "src/Slice/Scanner.l"
958
948
  {
959
949
  // C++-style comment
960
950
  BEGIN(MAINSCAN);
@@ -972,7 +962,7 @@ YY_RULE_SETUP
972
962
  YY_BREAK
973
963
  case 6:
974
964
  YY_RULE_SETUP
975
- #line 143 "src/Slice/Scanner.l"
965
+ #line 138 "src/Slice/Scanner.l"
976
966
  {
977
967
  // C-style comment
978
968
  BEGIN(MAINSCAN);
@@ -1016,7 +1006,7 @@ YY_RULE_SETUP
1016
1006
  YY_BREAK
1017
1007
  case 7:
1018
1008
  YY_RULE_SETUP
1019
- #line 184 "src/Slice/Scanner.l"
1009
+ #line 179 "src/Slice/Scanner.l"
1020
1010
  {
1021
1011
  BEGIN(MAINSCAN);
1022
1012
  return ICE_METADATA_OPEN;
@@ -1024,7 +1014,7 @@ YY_RULE_SETUP
1024
1014
  YY_BREAK
1025
1015
  case 8:
1026
1016
  YY_RULE_SETUP
1027
- #line 189 "src/Slice/Scanner.l"
1017
+ #line 184 "src/Slice/Scanner.l"
1028
1018
  {
1029
1019
  BEGIN(MAINSCAN);
1030
1020
  return ICE_METADATA_CLOSE;
@@ -1032,7 +1022,7 @@ YY_RULE_SETUP
1032
1022
  YY_BREAK
1033
1023
  case 9:
1034
1024
  YY_RULE_SETUP
1035
- #line 194 "src/Slice/Scanner.l"
1025
+ #line 189 "src/Slice/Scanner.l"
1036
1026
  {
1037
1027
  BEGIN(MAINSCAN);
1038
1028
  return ICE_GLOBAL_METADATA_OPEN;
@@ -1040,7 +1030,7 @@ YY_RULE_SETUP
1040
1030
  YY_BREAK
1041
1031
  case 10:
1042
1032
  YY_RULE_SETUP
1043
- #line 199 "src/Slice/Scanner.l"
1033
+ #line 194 "src/Slice/Scanner.l"
1044
1034
  {
1045
1035
  BEGIN(MAINSCAN);
1046
1036
  return ICE_GLOBAL_METADATA_CLOSE;
@@ -1049,7 +1039,7 @@ YY_RULE_SETUP
1049
1039
  case 11:
1050
1040
  /* rule 11 can match eol */
1051
1041
  YY_RULE_SETUP
1052
- #line 204 "src/Slice/Scanner.l"
1042
+ #line 199 "src/Slice/Scanner.l"
1053
1043
  {
1054
1044
  BEGIN(MAINSCAN);
1055
1045
  StringTokPtr ident = new StringTok;
@@ -1086,7 +1076,7 @@ YY_RULE_SETUP
1086
1076
  YY_BREAK
1087
1077
  case 12:
1088
1078
  YY_RULE_SETUP
1089
- #line 238 "src/Slice/Scanner.l"
1079
+ #line 233 "src/Slice/Scanner.l"
1090
1080
  {
1091
1081
  BEGIN(MAINSCAN);
1092
1082
  StringTokPtr ident = new StringTok;
@@ -1097,15 +1087,15 @@ YY_RULE_SETUP
1097
1087
  YY_BREAK
1098
1088
  case 13:
1099
1089
  YY_RULE_SETUP
1100
- #line 246 "src/Slice/Scanner.l"
1090
+ #line 241 "src/Slice/Scanner.l"
1101
1091
  {
1102
1092
  BEGIN(MAINSCAN);
1103
1093
  StringTokPtr str = new StringTok;
1104
1094
  str->literal = "\"";
1105
1095
  while(true)
1106
1096
  {
1107
- char c = static_cast<char>(yyinput());
1108
- str->literal += c;
1097
+ int c = yyinput();
1098
+ str->literal += static_cast<char>(c);
1109
1099
  if(c == '"')
1110
1100
  {
1111
1101
  break;
@@ -1115,15 +1105,15 @@ YY_RULE_SETUP
1115
1105
  unit->error("EOF in string");
1116
1106
  break;
1117
1107
  }
1118
- else if(static_cast<unsigned char>(c) < 32 || c == 127)
1108
+ else if(c < 32 || c == 127)
1119
1109
  {
1120
1110
  unit->error("a string literal can only contain printable ASCII characters and non-ASCII characters");
1121
1111
  break;
1122
1112
  }
1123
1113
  else if(c == '\\')
1124
1114
  {
1125
- char next = static_cast<char>(yyinput());
1126
- str->literal += next;
1115
+ int next = yyinput();
1116
+ str->literal += static_cast<char>(next);
1127
1117
  switch(next)
1128
1118
  {
1129
1119
  case '\\':
@@ -1139,7 +1129,7 @@ YY_RULE_SETUP
1139
1129
  case '\'':
1140
1130
  case '?':
1141
1131
  {
1142
- str->v += next;
1132
+ str->v += static_cast<char>(next);
1143
1133
  break;
1144
1134
  }
1145
1135
  case 'a':
@@ -1193,16 +1183,16 @@ YY_RULE_SETUP
1193
1183
  {
1194
1184
  static string octalDigits = "01234567";
1195
1185
  string escape;
1196
- escape += next;
1186
+ escape += static_cast<char>(next);
1197
1187
  for(int i = 0; i < 2; ++i)
1198
1188
  {
1199
- next = static_cast<char>(yyinput());
1200
- if(octalDigits.find_first_of(next) == string::npos)
1189
+ next = yyinput();
1190
+ if(octalDigits.find_first_of(static_cast<char>(next)) == string::npos)
1201
1191
  {
1202
1192
  unput(next);
1203
1193
  break;
1204
1194
  }
1205
- escape += next;
1195
+ escape += static_cast<char>(next);
1206
1196
  }
1207
1197
  str->literal += escape;
1208
1198
  IceUtil::Int64 value = IceUtilInternal::strToInt64(escape.c_str(), 0, 8);
@@ -1217,15 +1207,15 @@ YY_RULE_SETUP
1217
1207
  case 'x':
1218
1208
  {
1219
1209
  string escape = "";
1220
- next = static_cast<char>(yyinput());
1210
+ next = yyinput();
1221
1211
 
1222
1212
  //
1223
1213
  // Unlike C++, we limit hex escape sequences to 2 hex digits
1224
1214
  //
1225
- while(isxdigit(next) && escape.length() < 2)
1215
+ while(isxdigit(static_cast<char>(next)) && escape.length() < 2)
1226
1216
  {
1227
- escape += next;
1228
- next = static_cast<char>(yyinput());
1217
+ escape += static_cast<char>(next);
1218
+ next = yyinput();
1229
1219
  }
1230
1220
  unput(next);
1231
1221
 
@@ -1249,18 +1239,19 @@ YY_RULE_SETUP
1249
1239
  case 'U':
1250
1240
  {
1251
1241
  string escape = "";
1252
- char c = next;
1242
+ c = next;
1253
1243
  int size = (c == 'u') ? 4 : 8;
1254
1244
  while(size > 0)
1255
1245
  {
1256
- next = static_cast<char>(yyinput());
1257
- if(!isxdigit(static_cast<unsigned char>(next)))
1246
+ next = yyinput();
1247
+ if(!isxdigit(next))
1258
1248
  {
1259
- unit->error(string("unknown escape sequence in string literal: `\\") + c + escape + next + "'");
1249
+ unit->error(string("unknown escape sequence in string literal: `\\") +
1250
+ static_cast<char>(c) + escape + static_cast<char>(next) + "'");
1260
1251
  unput(next);
1261
1252
  break;
1262
1253
  }
1263
- escape += next;
1254
+ escape += static_cast<char>(next);
1264
1255
  --size;
1265
1256
  }
1266
1257
 
@@ -1270,19 +1261,20 @@ YY_RULE_SETUP
1270
1261
  IceUtil::Int64 codePoint = IceUtilInternal::strToInt64(escape.c_str(), 0, 16);
1271
1262
  if(codePoint >= 0xd800 && codePoint <= 0xdfff)
1272
1263
  {
1273
- unit->error(string("a universal character name cannot designate a surrogate: `\\") + c + escape + "'");
1264
+ unit->error(string("a universal character name cannot designate a surrogate: `\\") +
1265
+ static_cast<char>(c) + escape + "'");
1274
1266
  }
1275
1267
  }
1276
1268
 
1277
1269
  str->literal += escape;
1278
- str->v += string("\\") + c + escape;
1270
+ str->v += string("\\") + static_cast<char>(c) + escape;
1279
1271
  break;
1280
1272
  }
1281
1273
 
1282
1274
  default:
1283
1275
  {
1284
1276
  ostringstream os;
1285
- os << "unknown escape sequence `\\" << next << "'";
1277
+ os << "unknown escape sequence `\\" << static_cast<char>(next) << "'";
1286
1278
  unit->warning(All, os.str());
1287
1279
 
1288
1280
  // Escape the \ in this unknown escape sequence
@@ -1294,7 +1286,7 @@ YY_RULE_SETUP
1294
1286
  }
1295
1287
  else
1296
1288
  {
1297
- str->v += c;
1289
+ str->v += static_cast<char>(c);
1298
1290
  }
1299
1291
  }
1300
1292
  *yylvalp = str;
@@ -1303,7 +1295,7 @@ YY_RULE_SETUP
1303
1295
  YY_BREAK
1304
1296
  case 14:
1305
1297
  YY_RULE_SETUP
1306
- #line 449 "src/Slice/Scanner.l"
1298
+ #line 446 "src/Slice/Scanner.l"
1307
1299
  {
1308
1300
  BEGIN(MAINSCAN);
1309
1301
  IntegerTokPtr itp = new IntegerTok;
@@ -1322,7 +1314,7 @@ YY_RULE_SETUP
1322
1314
  YY_BREAK
1323
1315
  case 15:
1324
1316
  YY_RULE_SETUP
1325
- #line 465 "src/Slice/Scanner.l"
1317
+ #line 462 "src/Slice/Scanner.l"
1326
1318
  {
1327
1319
  BEGIN(MAINSCAN);
1328
1320
  errno = 0;
@@ -1356,7 +1348,7 @@ YY_RULE_SETUP
1356
1348
  case 16:
1357
1349
  /* rule 16 can match eol */
1358
1350
  YY_RULE_SETUP
1359
- #line 495 "src/Slice/Scanner.l"
1351
+ #line 492 "src/Slice/Scanner.l"
1360
1352
  {
1361
1353
  // Ignore white-space
1362
1354
 
@@ -1372,7 +1364,7 @@ YY_RULE_SETUP
1372
1364
  YY_BREAK
1373
1365
  case 17:
1374
1366
  YY_RULE_SETUP
1375
- #line 508 "src/Slice/Scanner.l"
1367
+ #line 505 "src/Slice/Scanner.l"
1376
1368
  {
1377
1369
  // Ignore UTF-8 BOM, rule only active when parsing start of file.
1378
1370
 
@@ -1381,7 +1373,7 @@ YY_RULE_SETUP
1381
1373
  YY_BREAK
1382
1374
  case 18:
1383
1375
  YY_RULE_SETUP
1384
- #line 514 "src/Slice/Scanner.l"
1376
+ #line 511 "src/Slice/Scanner.l"
1385
1377
  {
1386
1378
  BEGIN(MAINSCAN);
1387
1379
  if(slice_text[0] < 32 || slice_text[0] > 126)
@@ -1400,10 +1392,10 @@ YY_RULE_SETUP
1400
1392
  YY_BREAK
1401
1393
  case 19:
1402
1394
  YY_RULE_SETUP
1403
- #line 530 "src/Slice/Scanner.l"
1395
+ #line 527 "src/Slice/Scanner.l"
1404
1396
  ECHO;
1405
1397
  YY_BREAK
1406
- #line 1406 "src/Slice/Scanner.cpp"
1398
+ #line 1403 "src/Slice/Scanner.cpp"
1407
1399
  case YY_STATE_EOF(INITIAL):
1408
1400
  case YY_STATE_EOF(BOMSCAN):
1409
1401
  case YY_STATE_EOF(MAINSCAN):
@@ -1684,7 +1676,7 @@ static int yy_get_next_buffer (void)
1684
1676
  {
1685
1677
  register yy_state_type yy_current_state;
1686
1678
  register char *yy_cp;
1687
-
1679
+
1688
1680
  yy_current_state = (yy_start);
1689
1681
  yy_current_state += YY_AT_BOL();
1690
1682
 
@@ -1739,7 +1731,7 @@ static int yy_get_next_buffer (void)
1739
1731
  static void yyunput (int c, register char * yy_bp )
1740
1732
  {
1741
1733
  register char *yy_cp;
1742
-
1734
+
1743
1735
  yy_cp = (yy_c_buf_p);
1744
1736
 
1745
1737
  /* undo effects of setting up slice_text */
@@ -1782,7 +1774,7 @@ static int yy_get_next_buffer (void)
1782
1774
 
1783
1775
  {
1784
1776
  int c;
1785
-
1777
+
1786
1778
  *(yy_c_buf_p) = (yy_hold_char);
1787
1779
 
1788
1780
  if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
@@ -1851,12 +1843,12 @@ static int yy_get_next_buffer (void)
1851
1843
 
1852
1844
  /** Immediately switch to a different input stream.
1853
1845
  * @param input_file A readable stream.
1854
- *
1846
+ *
1855
1847
  * @note This function does not reset the start condition to @c INITIAL .
1856
1848
  */
1857
1849
  void slice_restart (FILE * input_file )
1858
1850
  {
1859
-
1851
+
1860
1852
  if ( ! YY_CURRENT_BUFFER ){
1861
1853
  slice_ensure_buffer_stack ();
1862
1854
  YY_CURRENT_BUFFER_LVALUE =
@@ -1869,11 +1861,11 @@ static int yy_get_next_buffer (void)
1869
1861
 
1870
1862
  /** Switch to a different input buffer.
1871
1863
  * @param new_buffer The new input buffer.
1872
- *
1864
+ *
1873
1865
  */
1874
1866
  void slice__switch_to_buffer (YY_BUFFER_STATE new_buffer )
1875
1867
  {
1876
-
1868
+
1877
1869
  /* TODO. We should be able to replace this entire function body
1878
1870
  * with
1879
1871
  * slice_pop_buffer_state();
@@ -1913,13 +1905,13 @@ static void slice__load_buffer_state (void)
1913
1905
  /** Allocate and initialize an input buffer state.
1914
1906
  * @param file A readable stream.
1915
1907
  * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
1916
- *
1908
+ *
1917
1909
  * @return the allocated buffer state.
1918
1910
  */
1919
1911
  YY_BUFFER_STATE slice__create_buffer (FILE * file, int size )
1920
1912
  {
1921
1913
  YY_BUFFER_STATE b;
1922
-
1914
+
1923
1915
  b = (YY_BUFFER_STATE) slice_alloc(sizeof( struct yy_buffer_state ) );
1924
1916
  if ( ! b )
1925
1917
  YY_FATAL_ERROR( "out of dynamic memory in slice__create_buffer()" );
@@ -1942,11 +1934,11 @@ static void slice__load_buffer_state (void)
1942
1934
 
1943
1935
  /** Destroy the buffer.
1944
1936
  * @param b a buffer created with slice__create_buffer()
1945
- *
1937
+ *
1946
1938
  */
1947
1939
  void slice__delete_buffer (YY_BUFFER_STATE b )
1948
1940
  {
1949
-
1941
+
1950
1942
  if ( ! b )
1951
1943
  return;
1952
1944
 
@@ -1967,7 +1959,7 @@ static void slice__load_buffer_state (void)
1967
1959
 
1968
1960
  {
1969
1961
  int oerrno = errno;
1970
-
1962
+
1971
1963
  slice__flush_buffer(b );
1972
1964
 
1973
1965
  b->yy_input_file = file;
@@ -1983,13 +1975,13 @@ static void slice__load_buffer_state (void)
1983
1975
  }
1984
1976
 
1985
1977
  b->yy_is_interactive = 0;
1986
-
1978
+
1987
1979
  errno = oerrno;
1988
1980
  }
1989
1981
 
1990
1982
  /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
1991
1983
  * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
1992
- *
1984
+ *
1993
1985
  */
1994
1986
  void slice__flush_buffer (YY_BUFFER_STATE b )
1995
1987
  {
@@ -2018,7 +2010,7 @@ static void slice__load_buffer_state (void)
2018
2010
  * the current state. This function will allocate the stack
2019
2011
  * if necessary.
2020
2012
  * @param new_buffer The new state.
2021
- *
2013
+ *
2022
2014
  */
2023
2015
  void slice_push_buffer_state (YY_BUFFER_STATE new_buffer )
2024
2016
  {
@@ -2048,7 +2040,7 @@ void slice_push_buffer_state (YY_BUFFER_STATE new_buffer )
2048
2040
 
2049
2041
  /** Removes and deletes the top of the stack, if present.
2050
2042
  * The next element becomes the new top.
2051
- *
2043
+ *
2052
2044
  */
2053
2045
  void slice_pop_buffer_state (void)
2054
2046
  {
@@ -2072,7 +2064,7 @@ void slice_pop_buffer_state (void)
2072
2064
  static void slice_ensure_buffer_stack (void)
2073
2065
  {
2074
2066
  yy_size_t num_to_alloc;
2075
-
2067
+
2076
2068
  if (!(yy_buffer_stack)) {
2077
2069
 
2078
2070
  /* First allocation is just for 2 elements, since we don't know if this
@@ -2085,9 +2077,9 @@ static void slice_ensure_buffer_stack (void)
2085
2077
  );
2086
2078
  if ( ! (yy_buffer_stack) )
2087
2079
  YY_FATAL_ERROR( "out of dynamic memory in slice_ensure_buffer_stack()" );
2088
-
2080
+
2089
2081
  memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
2090
-
2082
+
2091
2083
  (yy_buffer_stack_max) = num_to_alloc;
2092
2084
  (yy_buffer_stack_top) = 0;
2093
2085
  return;
@@ -2115,13 +2107,13 @@ static void slice_ensure_buffer_stack (void)
2115
2107
  /** Setup the input buffer state to scan directly from a user-specified character buffer.
2116
2108
  * @param base the character buffer
2117
2109
  * @param size the size in bytes of the character buffer
2118
- *
2119
- * @return the newly allocated buffer state object.
2110
+ *
2111
+ * @return the newly allocated buffer state object.
2120
2112
  */
2121
2113
  YY_BUFFER_STATE slice__scan_buffer (char * base, yy_size_t size )
2122
2114
  {
2123
2115
  YY_BUFFER_STATE b;
2124
-
2116
+
2125
2117
  if ( size < 2 ||
2126
2118
  base[size-2] != YY_END_OF_BUFFER_CHAR ||
2127
2119
  base[size-1] != YY_END_OF_BUFFER_CHAR )
@@ -2150,14 +2142,14 @@ YY_BUFFER_STATE slice__scan_buffer (char * base, yy_size_t size )
2150
2142
  /** Setup the input buffer state to scan a string. The next call to slice_lex() will
2151
2143
  * scan from a @e copy of @a str.
2152
2144
  * @param yystr a NUL-terminated string to scan
2153
- *
2145
+ *
2154
2146
  * @return the newly allocated buffer state object.
2155
2147
  * @note If you want to scan bytes that may contain NUL values, then use
2156
2148
  * slice__scan_bytes() instead.
2157
2149
  */
2158
2150
  YY_BUFFER_STATE slice__scan_string (yyconst char * yystr )
2159
2151
  {
2160
-
2152
+
2161
2153
  return slice__scan_bytes(yystr,strlen(yystr) );
2162
2154
  }
2163
2155
 
@@ -2165,7 +2157,7 @@ YY_BUFFER_STATE slice__scan_string (yyconst char * yystr )
2165
2157
  * scan from a @e copy of @a bytes.
2166
2158
  * @param yybytes the byte buffer to scan
2167
2159
  * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
2168
- *
2160
+ *
2169
2161
  * @return the newly allocated buffer state object.
2170
2162
  */
2171
2163
  YY_BUFFER_STATE slice__scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len )
@@ -2174,7 +2166,7 @@ YY_BUFFER_STATE slice__scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_
2174
2166
  char *buf;
2175
2167
  yy_size_t n;
2176
2168
  int i;
2177
-
2169
+
2178
2170
  /* Get memory for full buffer, including space for trailing EOB's. */
2179
2171
  n = _yybytes_len + 2;
2180
2172
  buf = (char *) slice_alloc(n );
@@ -2228,16 +2220,16 @@ static void yy_fatal_error (yyconst char* msg )
2228
2220
  /* Accessor methods (get/set functions) to struct members. */
2229
2221
 
2230
2222
  /** Get the current line number.
2231
- *
2223
+ *
2232
2224
  */
2233
2225
  int slice_get_lineno (void)
2234
2226
  {
2235
-
2227
+
2236
2228
  return slice_lineno;
2237
2229
  }
2238
2230
 
2239
2231
  /** Get the input stream.
2240
- *
2232
+ *
2241
2233
  */
2242
2234
  FILE *slice_get_in (void)
2243
2235
  {
@@ -2245,7 +2237,7 @@ FILE *slice_get_in (void)
2245
2237
  }
2246
2238
 
2247
2239
  /** Get the output stream.
2248
- *
2240
+ *
2249
2241
  */
2250
2242
  FILE *slice_get_out (void)
2251
2243
  {
@@ -2253,7 +2245,7 @@ FILE *slice_get_out (void)
2253
2245
  }
2254
2246
 
2255
2247
  /** Get the length of the current token.
2256
- *
2248
+ *
2257
2249
  */
2258
2250
  yy_size_t slice_get_leng (void)
2259
2251
  {
@@ -2261,7 +2253,7 @@ yy_size_t slice_get_leng (void)
2261
2253
  }
2262
2254
 
2263
2255
  /** Get the current token.
2264
- *
2256
+ *
2265
2257
  */
2266
2258
 
2267
2259
  char *slice_get_text (void)
@@ -2271,18 +2263,18 @@ char *slice_get_text (void)
2271
2263
 
2272
2264
  /** Set the current line number.
2273
2265
  * @param line_number
2274
- *
2266
+ *
2275
2267
  */
2276
2268
  void slice_set_lineno (int line_number )
2277
2269
  {
2278
-
2270
+
2279
2271
  slice_lineno = line_number;
2280
2272
  }
2281
2273
 
2282
2274
  /** Set the input stream. This does not discard the current
2283
2275
  * input buffer.
2284
2276
  * @param in_str A readable stream.
2285
- *
2277
+ *
2286
2278
  * @see slice__switch_to_buffer
2287
2279
  */
2288
2280
  void slice_set_in (FILE * in_str )
@@ -2336,7 +2328,7 @@ static int yy_init_globals (void)
2336
2328
  /* slice_lex_destroy is for both reentrant and non-reentrant scanners. */
2337
2329
  int slice_lex_destroy (void)
2338
2330
  {
2339
-
2331
+
2340
2332
  /* Pop the buffer stack, destroying each element. */
2341
2333
  while(YY_CURRENT_BUFFER){
2342
2334
  slice__delete_buffer(YY_CURRENT_BUFFER );
@@ -2403,7 +2395,7 @@ void slice_free (void * ptr )
2403
2395
 
2404
2396
  #define YYTABLES_NAME "yytables"
2405
2397
 
2406
- #line 530 "src/Slice/Scanner.l"
2398
+ #line 527 "src/Slice/Scanner.l"
2407
2399
 
2408
2400
 
2409
2401