zeroc-ice 3.7.10 → 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.
Files changed (936) hide show
  1. checksums.yaml +4 -4
  2. data/dist/IceRuby/Connection.cpp +536 -0
  3. data/dist/IceRuby/Endpoint.cpp +344 -0
  4. data/dist/IceRuby/ImplicitContext.cpp +148 -0
  5. data/dist/IceRuby/Logger.cpp +151 -0
  6. data/dist/IceRuby/Operation.cpp +665 -0
  7. data/dist/IceRuby/Properties.cpp +369 -0
  8. data/dist/IceRuby/Types.cpp +3336 -0
  9. data/dist/IceRuby/Types.h +604 -0
  10. data/dist/IceRuby/ValueFactoryManager.cpp +445 -0
  11. data/dist/ice/cpp/include/Ice/ExceptionHelpers.h +74 -0
  12. data/dist/ice/cpp/include/Ice/Initialize.h +957 -0
  13. data/dist/ice/cpp/include/Ice/MetricsObserverI.h +669 -0
  14. data/dist/ice/cpp/include/Ice/OutgoingAsync.h +868 -0
  15. data/dist/ice/cpp/include/Ice/Proxy.h +5171 -0
  16. data/dist/ice/cpp/include/Ice/UserExceptionFactory.h +90 -0
  17. data/dist/ice/cpp/include/IceDiscovery/IceDiscovery.h +1889 -0
  18. data/dist/ice/cpp/include/IceLocatorDiscovery/IceLocatorDiscovery.h +1197 -0
  19. data/dist/ice/cpp/include/IceUtil/Cond.h +317 -0
  20. data/dist/ice/cpp/include/IceUtil/Config.h +392 -0
  21. data/dist/ice/cpp/include/IceUtil/CtrlCHandler.h +96 -0
  22. data/dist/ice/cpp/include/IceUtil/InputUtil.h +42 -0
  23. data/dist/ice/cpp/include/IceUtil/ResourceConfig.h +37 -0
  24. data/dist/ice/cpp/include/IceUtil/Timer.h +153 -0
  25. data/dist/ice/cpp/include/generated/Glacier2/Metrics.h +475 -0
  26. data/dist/ice/cpp/include/generated/Glacier2/PermissionsVerifier.h +1430 -0
  27. data/dist/ice/cpp/include/generated/Glacier2/PermissionsVerifierF.h +147 -0
  28. data/dist/ice/cpp/include/generated/Glacier2/Router.h +3260 -0
  29. data/dist/ice/cpp/include/generated/Glacier2/RouterF.h +125 -0
  30. data/dist/ice/cpp/include/generated/Glacier2/SSLInfo.h +223 -0
  31. data/dist/ice/cpp/include/generated/Glacier2/Session.h +5894 -0
  32. data/dist/ice/cpp/include/generated/Ice/BuiltinSequences.h +170 -0
  33. data/dist/ice/cpp/include/generated/Ice/Communicator.h +1162 -0
  34. data/dist/ice/cpp/include/generated/Ice/CommunicatorF.h +101 -0
  35. data/dist/ice/cpp/include/generated/Ice/Connection.h +1703 -0
  36. data/dist/ice/cpp/include/generated/Ice/ConnectionF.h +119 -0
  37. data/dist/ice/cpp/include/generated/Ice/Current.h +322 -0
  38. data/dist/ice/cpp/include/generated/Ice/Endpoint.h +979 -0
  39. data/dist/ice/cpp/include/generated/Ice/EndpointF.h +166 -0
  40. data/dist/ice/cpp/include/generated/Ice/EndpointTypes.h +118 -0
  41. data/dist/ice/cpp/include/generated/Ice/FacetMap.h +80 -0
  42. data/dist/ice/cpp/include/generated/Ice/Identity.h +264 -0
  43. data/dist/ice/cpp/include/generated/Ice/ImplicitContext.h +284 -0
  44. data/dist/ice/cpp/include/generated/Ice/ImplicitContextF.h +101 -0
  45. data/dist/ice/cpp/include/generated/Ice/Instrumentation.h +1203 -0
  46. data/dist/ice/cpp/include/generated/Ice/InstrumentationF.h +128 -0
  47. data/dist/ice/cpp/include/generated/Ice/LocalException.h +7437 -0
  48. data/dist/ice/cpp/include/generated/Ice/Locator.h +3898 -0
  49. data/dist/ice/cpp/include/generated/Ice/LocatorF.h +147 -0
  50. data/dist/ice/cpp/include/generated/Ice/Logger.h +237 -0
  51. data/dist/ice/cpp/include/generated/Ice/LoggerF.h +101 -0
  52. data/dist/ice/cpp/include/generated/Ice/Metrics.h +4769 -0
  53. data/dist/ice/cpp/include/generated/Ice/ObjectAdapter.h +1181 -0
  54. data/dist/ice/cpp/include/generated/Ice/ObjectAdapterF.h +101 -0
  55. data/dist/ice/cpp/include/generated/Ice/ObjectFactory.h +203 -0
  56. data/dist/ice/cpp/include/generated/Ice/Plugin.h +318 -0
  57. data/dist/ice/cpp/include/generated/Ice/PluginF.h +110 -0
  58. data/dist/ice/cpp/include/generated/Ice/Process.h +977 -0
  59. data/dist/ice/cpp/include/generated/Ice/ProcessF.h +125 -0
  60. data/dist/ice/cpp/include/generated/Ice/Properties.h +452 -0
  61. data/dist/ice/cpp/include/generated/Ice/PropertiesAdmin.h +1366 -0
  62. data/dist/ice/cpp/include/generated/Ice/PropertiesF.h +134 -0
  63. data/dist/ice/cpp/include/generated/Ice/RemoteLogger.h +2707 -0
  64. data/dist/ice/cpp/include/generated/Ice/Router.h +1850 -0
  65. data/dist/ice/cpp/include/generated/Ice/RouterF.h +125 -0
  66. data/dist/ice/cpp/include/generated/Ice/ServantLocator.h +305 -0
  67. data/dist/ice/cpp/include/generated/Ice/ServantLocatorF.h +101 -0
  68. data/dist/ice/cpp/include/generated/Ice/SliceChecksumDict.h +84 -0
  69. data/dist/ice/cpp/include/generated/Ice/ValueFactory.h +330 -0
  70. data/dist/ice/cpp/include/generated/Ice/Version.h +357 -0
  71. data/dist/ice/cpp/include/generated/IceBox/IceBox.h +3269 -0
  72. data/dist/ice/cpp/include/generated/IceGrid/Admin.h +33773 -0
  73. data/dist/ice/cpp/include/generated/IceGrid/Descriptor.h +5254 -0
  74. data/dist/ice/cpp/include/generated/IceGrid/Exception.h +2834 -0
  75. data/dist/ice/cpp/include/generated/IceGrid/FileParser.h +824 -0
  76. data/dist/ice/cpp/include/generated/IceGrid/PluginFacade.h +635 -0
  77. data/dist/ice/cpp/include/generated/IceGrid/Registry.h +5089 -0
  78. data/dist/ice/cpp/include/generated/IceGrid/Session.h +2240 -0
  79. data/dist/ice/cpp/include/generated/IceGrid/UserAccountMapper.h +800 -0
  80. data/dist/ice/cpp/include/generated/IcePatch2/FileInfo.h +325 -0
  81. data/dist/ice/cpp/include/generated/IcePatch2/FileServer.h +2891 -0
  82. data/dist/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +228 -0
  83. data/dist/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +101 -0
  84. data/dist/ice/cpp/include/generated/IceSSL/EndpointInfo.h +186 -0
  85. data/dist/ice/cpp/include/generated/IceStorm/IceStorm.h +6627 -0
  86. data/dist/ice/cpp/include/generated/IceStorm/Metrics.h +665 -0
  87. data/dist/ice/cpp/src/Ice/Application.cpp +661 -0
  88. data/dist/ice/cpp/src/Ice/CountDownLatch.cpp +171 -0
  89. data/dist/ice/cpp/src/Ice/DLLMain.cpp +50 -0
  90. data/dist/ice/cpp/src/Ice/EndpointFactory.cpp +189 -0
  91. data/dist/ice/cpp/src/Ice/EndpointI.cpp +98 -0
  92. data/dist/ice/cpp/src/Ice/InputStream.cpp +2741 -0
  93. data/dist/ice/cpp/src/Ice/MetricsAdminI.cpp +694 -0
  94. data/dist/ice/cpp/src/Ice/Network.cpp +2249 -0
  95. data/dist/ice/cpp/src/Ice/ObjectAdapterI.cpp +1530 -0
  96. data/dist/ice/cpp/src/Ice/OutgoingAsync.cpp +1322 -0
  97. data/dist/ice/cpp/src/Ice/PluginManagerI.cpp +503 -0
  98. data/dist/ice/cpp/src/Ice/PropertyNames.cpp +1428 -0
  99. data/dist/ice/cpp/src/Ice/PropertyNames.h +78 -0
  100. data/dist/ice/cpp/src/Ice/Proxy.cpp +1604 -0
  101. data/dist/ice/cpp/src/Ice/Selector.cpp +1535 -0
  102. data/dist/ice/cpp/src/Ice/Service.cpp +1883 -0
  103. data/dist/ice/cpp/src/Ice/ThreadPool.cpp +1292 -0
  104. data/dist/ice/cpp/src/Ice/generated/BuiltinSequences.cpp +49 -0
  105. data/dist/ice/cpp/src/Ice/generated/Communicator.cpp +79 -0
  106. data/dist/ice/cpp/src/Ice/generated/CommunicatorF.cpp +61 -0
  107. data/dist/ice/cpp/src/Ice/generated/Connection.cpp +155 -0
  108. data/dist/ice/cpp/src/Ice/generated/ConnectionF.cpp +61 -0
  109. data/dist/ice/cpp/src/Ice/generated/Current.cpp +62 -0
  110. data/dist/ice/cpp/src/Ice/generated/Endpoint.cpp +147 -0
  111. data/dist/ice/cpp/src/Ice/generated/EndpointF.cpp +61 -0
  112. data/dist/ice/cpp/src/Ice/generated/EndpointTypes.cpp +51 -0
  113. data/dist/ice/cpp/src/Ice/generated/FacetMap.cpp +49 -0
  114. data/dist/ice/cpp/src/Ice/generated/Identity.cpp +57 -0
  115. data/dist/ice/cpp/src/Ice/generated/ImplicitContext.cpp +75 -0
  116. data/dist/ice/cpp/src/Ice/generated/ImplicitContextF.cpp +61 -0
  117. data/dist/ice/cpp/src/Ice/generated/Instrumentation.cpp +188 -0
  118. data/dist/ice/cpp/src/Ice/generated/InstrumentationF.cpp +66 -0
  119. data/dist/ice/cpp/src/Ice/generated/LocalException.cpp +3262 -0
  120. data/dist/ice/cpp/src/Ice/generated/Locator.cpp +2042 -0
  121. data/dist/ice/cpp/src/Ice/generated/LocatorF.cpp +63 -0
  122. data/dist/ice/cpp/src/Ice/generated/Logger.cpp +73 -0
  123. data/dist/ice/cpp/src/Ice/generated/LoggerF.cpp +61 -0
  124. data/dist/ice/cpp/src/Ice/generated/Metrics.cpp +2352 -0
  125. data/dist/ice/cpp/src/Ice/generated/ObjectAdapter.cpp +79 -0
  126. data/dist/ice/cpp/src/Ice/generated/ObjectAdapterF.cpp +61 -0
  127. data/dist/ice/cpp/src/Ice/generated/ObjectFactory.cpp +75 -0
  128. data/dist/ice/cpp/src/Ice/generated/Plugin.cpp +87 -0
  129. data/dist/ice/cpp/src/Ice/generated/PluginF.cpp +61 -0
  130. data/dist/ice/cpp/src/Ice/generated/Process.cpp +471 -0
  131. data/dist/ice/cpp/src/Ice/generated/ProcessF.cpp +63 -0
  132. data/dist/ice/cpp/src/Ice/generated/Properties.cpp +78 -0
  133. data/dist/ice/cpp/src/Ice/generated/PropertiesAdmin.cpp +603 -0
  134. data/dist/ice/cpp/src/Ice/generated/PropertiesF.cpp +63 -0
  135. data/dist/ice/cpp/src/Ice/generated/RemoteLogger.cpp +1171 -0
  136. data/dist/ice/cpp/src/Ice/generated/Router.cpp +977 -0
  137. data/dist/ice/cpp/src/Ice/generated/RouterF.cpp +63 -0
  138. data/dist/ice/cpp/src/Ice/generated/ServantLocator.cpp +75 -0
  139. data/dist/ice/cpp/src/Ice/generated/ServantLocatorF.cpp +61 -0
  140. data/dist/ice/cpp/src/Ice/generated/SliceChecksumDict.cpp +49 -0
  141. data/dist/ice/cpp/src/Ice/generated/ValueFactory.cpp +83 -0
  142. data/dist/ice/cpp/src/Ice/generated/Version.cpp +57 -0
  143. data/dist/ice/cpp/src/Ice/ios/StreamAcceptor.cpp +154 -0
  144. data/dist/ice/cpp/src/Ice/ios/StreamAcceptor.h +49 -0
  145. data/dist/ice/cpp/src/Ice/ios/StreamConnector.cpp +146 -0
  146. data/dist/ice/cpp/src/Ice/ios/StreamConnector.h +52 -0
  147. data/dist/ice/cpp/src/Ice/ios/StreamEndpointI.cpp +477 -0
  148. data/dist/ice/cpp/src/Ice/ios/StreamEndpointI.h +156 -0
  149. data/dist/ice/cpp/src/Ice/ios/StreamTransceiver.cpp +570 -0
  150. data/dist/ice/cpp/src/Ice/ios/StreamTransceiver.h +93 -0
  151. data/dist/ice/cpp/src/IceDiscovery/generated/IceDiscovery/IceDiscovery.h +1889 -0
  152. data/dist/ice/cpp/src/IceDiscovery/generated/IceDiscovery.cpp +915 -0
  153. data/dist/ice/cpp/src/IceLocatorDiscovery/generated/IceLocatorDiscovery/IceLocatorDiscovery.h +1197 -0
  154. data/dist/ice/cpp/src/IceLocatorDiscovery/generated/IceLocatorDiscovery.cpp +730 -0
  155. data/dist/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +1092 -0
  156. data/dist/ice/cpp/src/IceSSL/PluginI.cpp +246 -0
  157. data/dist/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +719 -0
  158. data/dist/ice/cpp/src/IceSSL/SecureTransportUtil.cpp +868 -0
  159. data/dist/ice/cpp/src/IceSSL/generated/ConnectionInfo.cpp +75 -0
  160. data/dist/ice/cpp/src/IceSSL/generated/ConnectionInfoF.cpp +61 -0
  161. data/dist/ice/cpp/src/IceSSL/generated/EndpointInfo.cpp +75 -0
  162. data/dist/ice/cpp/src/IceUtil/StringConverter.cpp +690 -0
  163. data/dist/ice/cpp/src/Slice/JavaUtil.cpp +5183 -0
  164. data/dist/ice/cpp/src/slice2rb/Main.cpp +35 -0
  165. data/dist/ice/mcpp/directive.c +1407 -0
  166. data/dist/ice/mcpp/internal.H +530 -0
  167. data/dist/ice/mcpp/mcpp_main.c +792 -0
  168. data/dist/ice/mcpp/support.c +1985 -0
  169. data/dist/ice/mcpp/system.c +2741 -0
  170. data/dist/ice/slice/Ice/Connection.ice +516 -0
  171. data/dist/ice/slice/Ice/Locator.ice +239 -0
  172. data/dist/ice/slice/Ice/Metrics.ice +436 -0
  173. data/dist/ice/slice/Ice/ObjectAdapter.ice +710 -0
  174. data/dist/ice/slice/Ice/Router.ice +103 -0
  175. data/dist/ice/slice/IceGrid/PluginFacade.ice +329 -0
  176. data/dist/ice/slice/IceStorm/IceStorm.ice +414 -0
  177. data/dist/lib/Glacier2/Metrics.rb +56 -0
  178. data/dist/lib/Glacier2/PermissionsVerifier.rb +93 -0
  179. data/dist/lib/Glacier2/PermissionsVerifierF.rb +30 -0
  180. data/dist/lib/Glacier2/Router.rb +95 -0
  181. data/dist/lib/Glacier2/RouterF.rb +25 -0
  182. data/dist/lib/Glacier2/SSLInfo.rb +72 -0
  183. data/dist/lib/Glacier2/Session.rb +247 -0
  184. data/dist/lib/Ice/BuiltinSequences.rb +60 -0
  185. data/dist/lib/Ice/Communicator.rb +87 -0
  186. data/dist/lib/Ice/CommunicatorF.rb +24 -0
  187. data/dist/lib/Ice/Connection.rb +413 -0
  188. data/dist/lib/Ice/ConnectionF.rb +32 -0
  189. data/dist/lib/Ice/Current.rb +141 -0
  190. data/dist/lib/Ice/Endpoint.rb +187 -0
  191. data/dist/lib/Ice/EndpointF.rb +48 -0
  192. data/dist/lib/Ice/EndpointTypes.rb +69 -0
  193. data/dist/lib/Ice/FacetMap.rb +24 -0
  194. data/dist/lib/Ice/Identity.rb +63 -0
  195. data/dist/lib/Ice/ImplicitContext.rb +26 -0
  196. data/dist/lib/Ice/ImplicitContextF.rb +24 -0
  197. data/dist/lib/Ice/Instrumentation.rb +169 -0
  198. data/dist/lib/Ice/InstrumentationF.rb +31 -0
  199. data/dist/lib/Ice/LocalException.rb +1031 -0
  200. data/dist/lib/Ice/Locator.rb +196 -0
  201. data/dist/lib/Ice/LocatorF.rb +30 -0
  202. data/dist/lib/Ice/Logger.rb +24 -0
  203. data/dist/lib/Ice/LoggerF.rb +24 -0
  204. data/dist/lib/Ice/Metrics.rb +337 -0
  205. data/dist/lib/Ice/ObjectAdapter.rb +29 -0
  206. data/dist/lib/Ice/ObjectAdapterF.rb +24 -0
  207. data/dist/lib/Ice/ObjectFactory.rb +24 -0
  208. data/dist/lib/Ice/Plugin.rb +30 -0
  209. data/dist/lib/Ice/PluginF.rb +28 -0
  210. data/dist/lib/Ice/Process.rb +53 -0
  211. data/dist/lib/Ice/ProcessF.rb +25 -0
  212. data/dist/lib/Ice/Properties.rb +25 -0
  213. data/dist/lib/Ice/PropertiesAdmin.rb +63 -0
  214. data/dist/lib/Ice/PropertiesF.rb +29 -0
  215. data/dist/lib/Ice/RemoteLogger.rb +207 -0
  216. data/dist/lib/Ice/Router.rb +87 -0
  217. data/dist/lib/Ice/RouterF.rb +25 -0
  218. data/dist/lib/Ice/ServantLocator.rb +26 -0
  219. data/dist/lib/Ice/ServantLocatorF.rb +24 -0
  220. data/dist/lib/Ice/SliceChecksumDict.rb +24 -0
  221. data/dist/lib/Ice/ValueFactory.rb +28 -0
  222. data/dist/lib/Ice/Version.rb +90 -0
  223. data/dist/lib/IceBox/IceBox.rb +164 -0
  224. data/dist/lib/IceGrid/Admin.rb +1196 -0
  225. data/dist/lib/IceGrid/Descriptor.rb +1034 -0
  226. data/dist/lib/IceGrid/Exception.rb +376 -0
  227. data/dist/lib/IceGrid/FileParser.rb +65 -0
  228. data/dist/lib/IceGrid/PluginFacade.rb +35 -0
  229. data/dist/lib/IceGrid/Registry.rb +209 -0
  230. data/dist/lib/IceGrid/Session.rb +71 -0
  231. data/dist/lib/IceGrid/UserAccountMapper.rb +61 -0
  232. data/dist/lib/IcePatch2/FileInfo.rb +115 -0
  233. data/dist/lib/IcePatch2/FileServer.rb +123 -0
  234. data/dist/lib/IceStorm/IceStorm.rb +332 -0
  235. data/dist/lib/IceStorm/Metrics.rb +73 -0
  236. data/extconf.rb +91 -0
  237. data/ice.gemspec +21 -16
  238. metadata +715 -711
  239. data/ICE_LICENSE +0 -48
  240. data/LICENSE +0 -340
  241. data/MCPP_LICENSE +0 -29
  242. data/ext/Connection.cpp +0 -532
  243. data/ext/Endpoint.cpp +0 -340
  244. data/ext/ImplicitContext.cpp +0 -144
  245. data/ext/Logger.cpp +0 -147
  246. data/ext/Operation.cpp +0 -661
  247. data/ext/Properties.cpp +0 -365
  248. data/ext/Types.cpp +0 -3325
  249. data/ext/Types.h +0 -595
  250. data/ext/ValueFactoryManager.cpp +0 -441
  251. data/ext/extconf.rb +0 -97
  252. data/ext/ice/cpp/include/Ice/ExceptionHelpers.h +0 -74
  253. data/ext/ice/cpp/include/Ice/Initialize.h +0 -957
  254. data/ext/ice/cpp/include/Ice/MetricsObserverI.h +0 -669
  255. data/ext/ice/cpp/include/Ice/OutgoingAsync.h +0 -856
  256. data/ext/ice/cpp/include/Ice/Proxy.h +0 -5154
  257. data/ext/ice/cpp/include/Ice/UserExceptionFactory.h +0 -88
  258. data/ext/ice/cpp/include/IceSSL/UWP.h +0 -62
  259. data/ext/ice/cpp/include/IceUtil/Cond.h +0 -317
  260. data/ext/ice/cpp/include/IceUtil/Config.h +0 -392
  261. data/ext/ice/cpp/include/IceUtil/CtrlCHandler.h +0 -92
  262. data/ext/ice/cpp/include/IceUtil/InputUtil.h +0 -42
  263. data/ext/ice/cpp/include/IceUtil/ResourceConfig.h +0 -37
  264. data/ext/ice/cpp/include/IceUtil/Timer.h +0 -144
  265. data/ext/ice/cpp/include/generated/Ice/BuiltinSequences.h +0 -170
  266. data/ext/ice/cpp/include/generated/Ice/Communicator.h +0 -1162
  267. data/ext/ice/cpp/include/generated/Ice/CommunicatorF.h +0 -101
  268. data/ext/ice/cpp/include/generated/Ice/Connection.h +0 -1703
  269. data/ext/ice/cpp/include/generated/Ice/ConnectionF.h +0 -119
  270. data/ext/ice/cpp/include/generated/Ice/Current.h +0 -322
  271. data/ext/ice/cpp/include/generated/Ice/Endpoint.h +0 -979
  272. data/ext/ice/cpp/include/generated/Ice/EndpointF.h +0 -166
  273. data/ext/ice/cpp/include/generated/Ice/EndpointTypes.h +0 -118
  274. data/ext/ice/cpp/include/generated/Ice/FacetMap.h +0 -80
  275. data/ext/ice/cpp/include/generated/Ice/Identity.h +0 -264
  276. data/ext/ice/cpp/include/generated/Ice/ImplicitContext.h +0 -284
  277. data/ext/ice/cpp/include/generated/Ice/ImplicitContextF.h +0 -101
  278. data/ext/ice/cpp/include/generated/Ice/Instrumentation.h +0 -1203
  279. data/ext/ice/cpp/include/generated/Ice/InstrumentationF.h +0 -128
  280. data/ext/ice/cpp/include/generated/Ice/LocalException.h +0 -7437
  281. data/ext/ice/cpp/include/generated/Ice/Locator.h +0 -3898
  282. data/ext/ice/cpp/include/generated/Ice/LocatorF.h +0 -147
  283. data/ext/ice/cpp/include/generated/Ice/Logger.h +0 -237
  284. data/ext/ice/cpp/include/generated/Ice/LoggerF.h +0 -101
  285. data/ext/ice/cpp/include/generated/Ice/Metrics.h +0 -4769
  286. data/ext/ice/cpp/include/generated/Ice/ObjectAdapter.h +0 -1181
  287. data/ext/ice/cpp/include/generated/Ice/ObjectAdapterF.h +0 -101
  288. data/ext/ice/cpp/include/generated/Ice/ObjectFactory.h +0 -203
  289. data/ext/ice/cpp/include/generated/Ice/Plugin.h +0 -318
  290. data/ext/ice/cpp/include/generated/Ice/PluginF.h +0 -110
  291. data/ext/ice/cpp/include/generated/Ice/Process.h +0 -977
  292. data/ext/ice/cpp/include/generated/Ice/ProcessF.h +0 -125
  293. data/ext/ice/cpp/include/generated/Ice/Properties.h +0 -452
  294. data/ext/ice/cpp/include/generated/Ice/PropertiesAdmin.h +0 -1366
  295. data/ext/ice/cpp/include/generated/Ice/PropertiesF.h +0 -134
  296. data/ext/ice/cpp/include/generated/Ice/RemoteLogger.h +0 -2707
  297. data/ext/ice/cpp/include/generated/Ice/Router.h +0 -1850
  298. data/ext/ice/cpp/include/generated/Ice/RouterF.h +0 -125
  299. data/ext/ice/cpp/include/generated/Ice/ServantLocator.h +0 -305
  300. data/ext/ice/cpp/include/generated/Ice/ServantLocatorF.h +0 -101
  301. data/ext/ice/cpp/include/generated/Ice/SliceChecksumDict.h +0 -84
  302. data/ext/ice/cpp/include/generated/Ice/ValueFactory.h +0 -330
  303. data/ext/ice/cpp/include/generated/Ice/Version.h +0 -357
  304. data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +0 -228
  305. data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +0 -101
  306. data/ext/ice/cpp/include/generated/IceSSL/EndpointInfo.h +0 -186
  307. data/ext/ice/cpp/src/Ice/BuiltinSequences.cpp +0 -49
  308. data/ext/ice/cpp/src/Ice/Communicator.cpp +0 -79
  309. data/ext/ice/cpp/src/Ice/CommunicatorF.cpp +0 -61
  310. data/ext/ice/cpp/src/Ice/Connection.cpp +0 -155
  311. data/ext/ice/cpp/src/Ice/ConnectionF.cpp +0 -61
  312. data/ext/ice/cpp/src/Ice/CountDownLatch.cpp +0 -171
  313. data/ext/ice/cpp/src/Ice/Current.cpp +0 -62
  314. data/ext/ice/cpp/src/Ice/Endpoint.cpp +0 -147
  315. data/ext/ice/cpp/src/Ice/EndpointF.cpp +0 -61
  316. data/ext/ice/cpp/src/Ice/EndpointFactory.cpp +0 -189
  317. data/ext/ice/cpp/src/Ice/EndpointI.cpp +0 -98
  318. data/ext/ice/cpp/src/Ice/EndpointTypes.cpp +0 -51
  319. data/ext/ice/cpp/src/Ice/FacetMap.cpp +0 -49
  320. data/ext/ice/cpp/src/Ice/Identity.cpp +0 -57
  321. data/ext/ice/cpp/src/Ice/ImplicitContext.cpp +0 -75
  322. data/ext/ice/cpp/src/Ice/ImplicitContextF.cpp +0 -61
  323. data/ext/ice/cpp/src/Ice/InputStream.cpp +0 -2741
  324. data/ext/ice/cpp/src/Ice/Instrumentation.cpp +0 -188
  325. data/ext/ice/cpp/src/Ice/InstrumentationF.cpp +0 -66
  326. data/ext/ice/cpp/src/Ice/LocalException.cpp +0 -3262
  327. data/ext/ice/cpp/src/Ice/Locator.cpp +0 -2042
  328. data/ext/ice/cpp/src/Ice/LocatorF.cpp +0 -63
  329. data/ext/ice/cpp/src/Ice/Logger.cpp +0 -73
  330. data/ext/ice/cpp/src/Ice/LoggerF.cpp +0 -61
  331. data/ext/ice/cpp/src/Ice/Metrics.cpp +0 -2352
  332. data/ext/ice/cpp/src/Ice/MetricsAdminI.cpp +0 -694
  333. data/ext/ice/cpp/src/Ice/Network.cpp +0 -2249
  334. data/ext/ice/cpp/src/Ice/ObjectAdapter.cpp +0 -79
  335. data/ext/ice/cpp/src/Ice/ObjectAdapterF.cpp +0 -61
  336. data/ext/ice/cpp/src/Ice/ObjectAdapterI.cpp +0 -1530
  337. data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +0 -75
  338. data/ext/ice/cpp/src/Ice/OutgoingAsync.cpp +0 -1322
  339. data/ext/ice/cpp/src/Ice/Plugin.cpp +0 -87
  340. data/ext/ice/cpp/src/Ice/PluginF.cpp +0 -61
  341. data/ext/ice/cpp/src/Ice/PluginManagerI.cpp +0 -503
  342. data/ext/ice/cpp/src/Ice/Process.cpp +0 -471
  343. data/ext/ice/cpp/src/Ice/ProcessF.cpp +0 -63
  344. data/ext/ice/cpp/src/Ice/Properties.cpp +0 -78
  345. data/ext/ice/cpp/src/Ice/PropertiesAdmin.cpp +0 -603
  346. data/ext/ice/cpp/src/Ice/PropertiesF.cpp +0 -63
  347. data/ext/ice/cpp/src/Ice/PropertyNames.cpp +0 -1429
  348. data/ext/ice/cpp/src/Ice/PropertyNames.h +0 -78
  349. data/ext/ice/cpp/src/Ice/Proxy.cpp +0 -1601
  350. data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +0 -1171
  351. data/ext/ice/cpp/src/Ice/Router.cpp +0 -977
  352. data/ext/ice/cpp/src/Ice/RouterF.cpp +0 -63
  353. data/ext/ice/cpp/src/Ice/Selector.cpp +0 -1525
  354. data/ext/ice/cpp/src/Ice/ServantLocator.cpp +0 -75
  355. data/ext/ice/cpp/src/Ice/ServantLocatorF.cpp +0 -61
  356. data/ext/ice/cpp/src/Ice/SliceChecksumDict.cpp +0 -49
  357. data/ext/ice/cpp/src/Ice/ThreadPool.cpp +0 -1292
  358. data/ext/ice/cpp/src/Ice/ValueFactory.cpp +0 -83
  359. data/ext/ice/cpp/src/Ice/Version.cpp +0 -57
  360. data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +0 -915
  361. data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +0 -1889
  362. data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.cpp +0 -730
  363. data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.h +0 -1197
  364. data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +0 -75
  365. data/ext/ice/cpp/src/IceSSL/ConnectionInfoF.cpp +0 -61
  366. data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +0 -75
  367. data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +0 -1092
  368. data/ext/ice/cpp/src/IceSSL/PluginI.cpp +0 -246
  369. data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +0 -719
  370. data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.cpp +0 -868
  371. data/ext/ice/cpp/src/IceSSL/UWPCertificateI.cpp +0 -266
  372. data/ext/ice/cpp/src/IceSSL/UWPEngine.cpp +0 -338
  373. data/ext/ice/cpp/src/IceSSL/UWPEngine.h +0 -41
  374. data/ext/ice/cpp/src/IceSSL/UWPEngineF.h +0 -26
  375. data/ext/ice/cpp/src/IceSSL/UWPPluginI.cpp +0 -89
  376. data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.cpp +0 -383
  377. data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.h +0 -71
  378. data/ext/ice/cpp/src/IceUtil/StringConverter.cpp +0 -690
  379. data/ext/ice/cpp/src/Slice/JavaUtil.cpp +0 -5176
  380. data/ext/ice/mcpp/CMakeLists.txt +0 -80
  381. data/ext/ice/mcpp/LICENSE +0 -29
  382. data/ext/ice/mcpp/Makefile +0 -63
  383. data/ext/ice/mcpp/README.md +0 -32
  384. data/ext/ice/mcpp/directive.c +0 -1404
  385. data/ext/ice/mcpp/internal.H +0 -530
  386. data/ext/ice/mcpp/main.c +0 -792
  387. data/ext/ice/mcpp/mcpp.gyp +0 -88
  388. data/ext/ice/mcpp/support.c +0 -1985
  389. data/ext/ice/mcpp/system.c +0 -2737
  390. data/lib/Glacier2/Metrics.rb +0 -56
  391. data/lib/Glacier2/PermissionsVerifier.rb +0 -93
  392. data/lib/Glacier2/PermissionsVerifierF.rb +0 -30
  393. data/lib/Glacier2/Router.rb +0 -95
  394. data/lib/Glacier2/RouterF.rb +0 -25
  395. data/lib/Glacier2/SSLInfo.rb +0 -72
  396. data/lib/Glacier2/Session.rb +0 -247
  397. data/lib/Ice/BuiltinSequences.rb +0 -60
  398. data/lib/Ice/Communicator.rb +0 -87
  399. data/lib/Ice/CommunicatorF.rb +0 -24
  400. data/lib/Ice/Connection.rb +0 -413
  401. data/lib/Ice/ConnectionF.rb +0 -32
  402. data/lib/Ice/Current.rb +0 -141
  403. data/lib/Ice/Endpoint.rb +0 -187
  404. data/lib/Ice/EndpointF.rb +0 -48
  405. data/lib/Ice/EndpointTypes.rb +0 -69
  406. data/lib/Ice/FacetMap.rb +0 -24
  407. data/lib/Ice/Identity.rb +0 -63
  408. data/lib/Ice/ImplicitContext.rb +0 -26
  409. data/lib/Ice/ImplicitContextF.rb +0 -24
  410. data/lib/Ice/Instrumentation.rb +0 -169
  411. data/lib/Ice/InstrumentationF.rb +0 -31
  412. data/lib/Ice/LocalException.rb +0 -1031
  413. data/lib/Ice/Locator.rb +0 -196
  414. data/lib/Ice/LocatorF.rb +0 -30
  415. data/lib/Ice/Logger.rb +0 -24
  416. data/lib/Ice/LoggerF.rb +0 -24
  417. data/lib/Ice/Metrics.rb +0 -337
  418. data/lib/Ice/ObjectAdapter.rb +0 -29
  419. data/lib/Ice/ObjectAdapterF.rb +0 -24
  420. data/lib/Ice/ObjectFactory.rb +0 -24
  421. data/lib/Ice/Plugin.rb +0 -30
  422. data/lib/Ice/PluginF.rb +0 -28
  423. data/lib/Ice/Process.rb +0 -53
  424. data/lib/Ice/ProcessF.rb +0 -25
  425. data/lib/Ice/Properties.rb +0 -25
  426. data/lib/Ice/PropertiesAdmin.rb +0 -63
  427. data/lib/Ice/PropertiesF.rb +0 -29
  428. data/lib/Ice/RemoteLogger.rb +0 -207
  429. data/lib/Ice/Router.rb +0 -87
  430. data/lib/Ice/RouterF.rb +0 -25
  431. data/lib/Ice/ServantLocator.rb +0 -26
  432. data/lib/Ice/ServantLocatorF.rb +0 -24
  433. data/lib/Ice/SliceChecksumDict.rb +0 -24
  434. data/lib/Ice/ValueFactory.rb +0 -28
  435. data/lib/Ice/Version.rb +0 -90
  436. data/lib/IceBox/IceBox.rb +0 -164
  437. data/lib/IceGrid/Admin.rb +0 -1196
  438. data/lib/IceGrid/Descriptor.rb +0 -1034
  439. data/lib/IceGrid/Exception.rb +0 -376
  440. data/lib/IceGrid/FileParser.rb +0 -65
  441. data/lib/IceGrid/PluginFacade.rb +0 -35
  442. data/lib/IceGrid/Registry.rb +0 -209
  443. data/lib/IceGrid/Session.rb +0 -71
  444. data/lib/IceGrid/UserAccountMapper.rb +0 -61
  445. data/lib/IcePatch2/FileInfo.rb +0 -115
  446. data/lib/IcePatch2/FileServer.rb +0 -123
  447. data/lib/IceStorm/IceStorm.rb +0 -332
  448. data/lib/IceStorm/Metrics.rb +0 -73
  449. data/slice/Ice/Connection.ice +0 -516
  450. data/slice/Ice/Locator.ice +0 -239
  451. data/slice/Ice/Metrics.ice +0 -436
  452. data/slice/Ice/ObjectAdapter.ice +0 -710
  453. data/slice/Ice/Router.ice +0 -103
  454. data/slice/IceBT/ConnectionInfo.ice +0 -59
  455. data/slice/IceBT/EndpointInfo.ice +0 -57
  456. data/slice/IceBT/Types.ice +0 -45
  457. data/slice/IceDiscovery/IceDiscovery.ice +0 -98
  458. data/slice/IceGrid/PluginFacade.ice +0 -329
  459. data/slice/IceIAP/ConnectionInfo.ice +0 -74
  460. data/slice/IceIAP/EndpointInfo.ice +0 -68
  461. data/slice/IceLocatorDiscovery/IceLocatorDiscovery.ice +0 -83
  462. data/slice/IceSSL/ConnectionInfo.ice +0 -54
  463. data/slice/IceSSL/ConnectionInfoF.ice +0 -31
  464. data/slice/IceSSL/EndpointInfo.ice +0 -45
  465. data/slice/IceStorm/IceStorm.ice +0 -414
  466. /data/{ext → dist/IceRuby}/Communicator.cpp +0 -0
  467. /data/{ext → dist/IceRuby}/Communicator.h +0 -0
  468. /data/{ext → dist/IceRuby}/Config.h +0 -0
  469. /data/{ext → dist/IceRuby}/Connection.h +0 -0
  470. /data/{ext → dist/IceRuby}/Endpoint.h +0 -0
  471. /data/{ext → dist/IceRuby}/ImplicitContext.h +0 -0
  472. /data/{ext → dist/IceRuby}/Init.cpp +0 -0
  473. /data/{ext → dist/IceRuby}/Logger.h +0 -0
  474. /data/{ext → dist/IceRuby}/Operation.h +0 -0
  475. /data/{ext → dist/IceRuby}/Properties.h +0 -0
  476. /data/{ext → dist/IceRuby}/Proxy.cpp +0 -0
  477. /data/{ext → dist/IceRuby}/Proxy.h +0 -0
  478. /data/{ext → dist/IceRuby}/Slice.cpp +0 -0
  479. /data/{ext → dist/IceRuby}/Slice.h +0 -0
  480. /data/{ext → dist/IceRuby}/Util.cpp +0 -0
  481. /data/{ext → dist/IceRuby}/Util.h +0 -0
  482. /data/{ext → dist/IceRuby}/ValueFactoryManager.h +0 -0
  483. /data/{ext → dist}/ice/cpp/include/Ice/Application.h +0 -0
  484. /data/{ext → dist}/ice/cpp/include/Ice/AsyncResult.h +0 -0
  485. /data/{ext → dist}/ice/cpp/include/Ice/AsyncResultF.h +0 -0
  486. /data/{ext → dist}/ice/cpp/include/Ice/BatchRequestInterceptor.h +0 -0
  487. /data/{ext → dist}/ice/cpp/include/Ice/BatchRequestQueueF.h +0 -0
  488. /data/{ext → dist}/ice/cpp/include/Ice/Buffer.h +0 -0
  489. /data/{ext → dist}/ice/cpp/include/Ice/CommunicatorAsync.h +0 -0
  490. /data/{ext → dist}/ice/cpp/include/Ice/Comparable.h +0 -0
  491. /data/{ext → dist}/ice/cpp/include/Ice/Config.h +0 -0
  492. /data/{ext → dist}/ice/cpp/include/Ice/ConnectionAsync.h +0 -0
  493. /data/{ext → dist}/ice/cpp/include/Ice/ConnectionIF.h +0 -0
  494. /data/{ext → dist}/ice/cpp/include/Ice/ConsoleUtil.h +0 -0
  495. /data/{ext → dist}/ice/cpp/include/Ice/DefaultValueFactory.h +0 -0
  496. /data/{ext → dist}/ice/cpp/include/Ice/DispatchInterceptor.h +0 -0
  497. /data/{ext → dist}/ice/cpp/include/Ice/Dispatcher.h +0 -0
  498. /data/{ext → dist}/ice/cpp/include/Ice/DynamicLibrary.h +0 -0
  499. /data/{ext → dist}/ice/cpp/include/Ice/DynamicLibraryF.h +0 -0
  500. /data/{ext → dist}/ice/cpp/include/Ice/Exception.h +0 -0
  501. /data/{ext → dist}/ice/cpp/include/Ice/FactoryTable.h +0 -0
  502. /data/{ext → dist}/ice/cpp/include/Ice/FactoryTableInit.h +0 -0
  503. /data/{ext → dist}/ice/cpp/include/Ice/Format.h +0 -0
  504. /data/{ext → dist}/ice/cpp/include/Ice/Functional.h +0 -0
  505. /data/{ext → dist}/ice/cpp/include/Ice/GCObject.h +0 -0
  506. /data/{ext → dist}/ice/cpp/include/Ice/Handle.h +0 -0
  507. /data/{ext → dist}/ice/cpp/include/Ice/Ice.h +0 -0
  508. /data/{ext → dist}/ice/cpp/include/Ice/IconvStringConverter.h +0 -0
  509. /data/{ext → dist}/ice/cpp/include/Ice/Incoming.h +0 -0
  510. /data/{ext → dist}/ice/cpp/include/Ice/IncomingAsync.h +0 -0
  511. /data/{ext → dist}/ice/cpp/include/Ice/IncomingAsyncF.h +0 -0
  512. /data/{ext → dist}/ice/cpp/include/Ice/InputStream.h +0 -0
  513. /data/{ext → dist}/ice/cpp/include/Ice/InstanceF.h +0 -0
  514. /data/{ext → dist}/ice/cpp/include/Ice/InterfaceByValue.h +0 -0
  515. /data/{ext → dist}/ice/cpp/include/Ice/LocalObject.h +0 -0
  516. /data/{ext → dist}/ice/cpp/include/Ice/LocalObjectF.h +0 -0
  517. /data/{ext → dist}/ice/cpp/include/Ice/LoggerUtil.h +0 -0
  518. /data/{ext → dist}/ice/cpp/include/Ice/MetricsAdminI.h +0 -0
  519. /data/{ext → dist}/ice/cpp/include/Ice/MetricsFunctional.h +0 -0
  520. /data/{ext → dist}/ice/cpp/include/Ice/NativePropertiesAdmin.h +0 -0
  521. /data/{ext → dist}/ice/cpp/include/Ice/Object.h +0 -0
  522. /data/{ext → dist}/ice/cpp/include/Ice/ObjectF.h +0 -0
  523. /data/{ext → dist}/ice/cpp/include/Ice/ObserverHelper.h +0 -0
  524. /data/{ext → dist}/ice/cpp/include/Ice/Optional.h +0 -0
  525. /data/{ext → dist}/ice/cpp/include/Ice/OutgoingAsyncF.h +0 -0
  526. /data/{ext → dist}/ice/cpp/include/Ice/OutputStream.h +0 -0
  527. /data/{ext → dist}/ice/cpp/include/Ice/Protocol.h +0 -0
  528. /data/{ext → dist}/ice/cpp/include/Ice/ProxyF.h +0 -0
  529. /data/{ext → dist}/ice/cpp/include/Ice/ProxyFactoryF.h +0 -0
  530. /data/{ext → dist}/ice/cpp/include/Ice/ProxyHandle.h +0 -0
  531. /data/{ext → dist}/ice/cpp/include/Ice/ReferenceF.h +0 -0
  532. /data/{ext → dist}/ice/cpp/include/Ice/RegisterPlugins.h +0 -0
  533. /data/{ext → dist}/ice/cpp/include/Ice/RequestHandlerF.h +0 -0
  534. /data/{ext → dist}/ice/cpp/include/Ice/ResponseHandlerF.h +0 -0
  535. /data/{ext → dist}/ice/cpp/include/Ice/SHA1.h +0 -0
  536. /data/{ext → dist}/ice/cpp/include/Ice/ServantManagerF.h +0 -0
  537. /data/{ext → dist}/ice/cpp/include/Ice/Service.h +0 -0
  538. /data/{ext → dist}/ice/cpp/include/Ice/SliceChecksums.h +0 -0
  539. /data/{ext → dist}/ice/cpp/include/Ice/SlicedData.h +0 -0
  540. /data/{ext → dist}/ice/cpp/include/Ice/SlicedDataF.h +0 -0
  541. /data/{ext → dist}/ice/cpp/include/Ice/StreamHelpers.h +0 -0
  542. /data/{ext → dist}/ice/cpp/include/Ice/StringConverter.h +0 -0
  543. /data/{ext → dist}/ice/cpp/include/Ice/ThreadPoolF.h +0 -0
  544. /data/{ext → dist}/ice/cpp/include/Ice/UUID.h +0 -0
  545. /data/{ext → dist}/ice/cpp/include/Ice/UniquePtr.h +0 -0
  546. /data/{ext → dist}/ice/cpp/include/Ice/UniqueRef.h +0 -0
  547. /data/{ext → dist}/ice/cpp/include/Ice/Value.h +0 -0
  548. /data/{ext → dist}/ice/cpp/include/Ice/ValueF.h +0 -0
  549. /data/{ext → dist}/ice/cpp/include/IceSSL/Config.h +0 -0
  550. /data/{ext → dist}/ice/cpp/include/IceSSL/IceSSL.h +0 -0
  551. /data/{ext → dist}/ice/cpp/include/IceSSL/OpenSSL.h +0 -0
  552. /data/{ext → dist}/ice/cpp/include/IceSSL/Plugin.h +0 -0
  553. /data/{ext → dist}/ice/cpp/include/IceSSL/SChannel.h +0 -0
  554. /data/{ext → dist}/ice/cpp/include/IceSSL/SecureTransport.h +0 -0
  555. /data/{ext → dist}/ice/cpp/include/IceUtil/Atomic.h +0 -0
  556. /data/{ext → dist}/ice/cpp/include/IceUtil/ConsoleUtil.h +0 -0
  557. /data/{ext → dist}/ice/cpp/include/IceUtil/CountDownLatch.h +0 -0
  558. /data/{ext → dist}/ice/cpp/include/IceUtil/DisableWarnings.h +0 -0
  559. /data/{ext → dist}/ice/cpp/include/IceUtil/Exception.h +0 -0
  560. /data/{ext → dist}/ice/cpp/include/IceUtil/FileUtil.h +0 -0
  561. /data/{ext → dist}/ice/cpp/include/IceUtil/Functional.h +0 -0
  562. /data/{ext → dist}/ice/cpp/include/IceUtil/Handle.h +0 -0
  563. /data/{ext → dist}/ice/cpp/include/IceUtil/IceUtil.h +0 -0
  564. /data/{ext → dist}/ice/cpp/include/IceUtil/Iterator.h +0 -0
  565. /data/{ext → dist}/ice/cpp/include/IceUtil/Lock.h +0 -0
  566. /data/{ext → dist}/ice/cpp/include/IceUtil/Monitor.h +0 -0
  567. /data/{ext → dist}/ice/cpp/include/IceUtil/Mutex.h +0 -0
  568. /data/{ext → dist}/ice/cpp/include/IceUtil/MutexProtocol.h +0 -0
  569. /data/{ext → dist}/ice/cpp/include/IceUtil/MutexPtrLock.h +0 -0
  570. /data/{ext → dist}/ice/cpp/include/IceUtil/MutexPtrTryLock.h +0 -0
  571. /data/{ext → dist}/ice/cpp/include/IceUtil/Optional.h +0 -0
  572. /data/{ext → dist}/ice/cpp/include/IceUtil/Options.h +0 -0
  573. /data/{ext → dist}/ice/cpp/include/IceUtil/OutputUtil.h +0 -0
  574. /data/{ext → dist}/ice/cpp/include/IceUtil/PopDisableWarnings.h +0 -0
  575. /data/{ext → dist}/ice/cpp/include/IceUtil/PushDisableWarnings.h +0 -0
  576. /data/{ext → dist}/ice/cpp/include/IceUtil/Random.h +0 -0
  577. /data/{ext → dist}/ice/cpp/include/IceUtil/RecMutex.h +0 -0
  578. /data/{ext → dist}/ice/cpp/include/IceUtil/ScannerConfig.h +0 -0
  579. /data/{ext → dist}/ice/cpp/include/IceUtil/ScopedArray.h +0 -0
  580. /data/{ext → dist}/ice/cpp/include/IceUtil/Shared.h +0 -0
  581. /data/{ext → dist}/ice/cpp/include/IceUtil/StopWatch.h +0 -0
  582. /data/{ext → dist}/ice/cpp/include/IceUtil/StringConverter.h +0 -0
  583. /data/{ext → dist}/ice/cpp/include/IceUtil/StringUtil.h +0 -0
  584. /data/{ext → dist}/ice/cpp/include/IceUtil/Thread.h +0 -0
  585. /data/{ext → dist}/ice/cpp/include/IceUtil/ThreadException.h +0 -0
  586. /data/{ext → dist}/ice/cpp/include/IceUtil/Time.h +0 -0
  587. /data/{ext → dist}/ice/cpp/include/IceUtil/UUID.h +0 -0
  588. /data/{ext → dist}/ice/cpp/include/IceUtil/UndefSysMacros.h +0 -0
  589. /data/{ext → dist}/ice/cpp/src/Ice/ACM.cpp +0 -0
  590. /data/{ext → dist}/ice/cpp/src/Ice/ACM.h +0 -0
  591. /data/{ext → dist}/ice/cpp/src/Ice/ACMF.h +0 -0
  592. /data/{ext → dist}/ice/cpp/src/Ice/Acceptor.cpp +0 -0
  593. /data/{ext → dist}/ice/cpp/src/Ice/Acceptor.h +0 -0
  594. /data/{ext → dist}/ice/cpp/src/Ice/AcceptorF.h +0 -0
  595. /data/{ext → dist}/ice/cpp/src/Ice/ArgVector.cpp +0 -0
  596. /data/{ext → dist}/ice/cpp/src/Ice/ArgVector.h +0 -0
  597. /data/{ext → dist}/ice/cpp/src/Ice/AsyncResult.cpp +0 -0
  598. /data/{ext → dist}/ice/cpp/src/Ice/Base64.cpp +0 -0
  599. /data/{ext → dist}/ice/cpp/src/Ice/Base64.h +0 -0
  600. /data/{ext → dist}/ice/cpp/src/Ice/BatchRequestQueue.cpp +0 -0
  601. /data/{ext → dist}/ice/cpp/src/Ice/BatchRequestQueue.h +0 -0
  602. /data/{ext → dist}/ice/cpp/src/Ice/Buffer.cpp +0 -0
  603. /data/{ext → dist}/ice/cpp/src/Ice/CollocatedRequestHandler.cpp +0 -0
  604. /data/{ext → dist}/ice/cpp/src/Ice/CollocatedRequestHandler.h +0 -0
  605. /data/{ext → dist}/ice/cpp/src/Ice/CommunicatorI.cpp +0 -0
  606. /data/{ext → dist}/ice/cpp/src/Ice/CommunicatorI.h +0 -0
  607. /data/{ext → dist}/ice/cpp/src/Ice/Cond.cpp +0 -0
  608. /data/{ext → dist}/ice/cpp/src/Ice/ConnectRequestHandler.cpp +0 -0
  609. /data/{ext → dist}/ice/cpp/src/Ice/ConnectRequestHandler.h +0 -0
  610. /data/{ext → dist}/ice/cpp/src/Ice/ConnectRequestHandlerF.h +0 -0
  611. /data/{ext → dist}/ice/cpp/src/Ice/ConnectionFactory.cpp +0 -0
  612. /data/{ext → dist}/ice/cpp/src/Ice/ConnectionFactory.h +0 -0
  613. /data/{ext → dist}/ice/cpp/src/Ice/ConnectionFactoryF.h +0 -0
  614. /data/{ext → dist}/ice/cpp/src/Ice/ConnectionI.cpp +0 -0
  615. /data/{ext → dist}/ice/cpp/src/Ice/ConnectionI.h +0 -0
  616. /data/{ext → dist}/ice/cpp/src/Ice/ConnectionRequestHandler.cpp +0 -0
  617. /data/{ext → dist}/ice/cpp/src/Ice/ConnectionRequestHandler.h +0 -0
  618. /data/{ext → dist}/ice/cpp/src/Ice/Connector.cpp +0 -0
  619. /data/{ext → dist}/ice/cpp/src/Ice/Connector.h +0 -0
  620. /data/{ext → dist}/ice/cpp/src/Ice/ConnectorF.h +0 -0
  621. /data/{ext → dist}/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +0 -0
  622. /data/{ext → dist}/ice/cpp/src/Ice/DefaultsAndOverrides.h +0 -0
  623. /data/{ext → dist}/ice/cpp/src/Ice/DefaultsAndOverridesF.h +0 -0
  624. /data/{ext → dist}/ice/cpp/src/Ice/DispatchInterceptor.cpp +0 -0
  625. /data/{ext → dist}/ice/cpp/src/Ice/DynamicLibrary.cpp +0 -0
  626. /data/{ext → dist}/ice/cpp/src/Ice/EndpointFactory.h +0 -0
  627. /data/{ext → dist}/ice/cpp/src/Ice/EndpointFactoryF.h +0 -0
  628. /data/{ext → dist}/ice/cpp/src/Ice/EndpointFactoryManager.cpp +0 -0
  629. /data/{ext → dist}/ice/cpp/src/Ice/EndpointFactoryManager.h +0 -0
  630. /data/{ext → dist}/ice/cpp/src/Ice/EndpointFactoryManagerF.h +0 -0
  631. /data/{ext → dist}/ice/cpp/src/Ice/EndpointI.h +0 -0
  632. /data/{ext → dist}/ice/cpp/src/Ice/EndpointIF.h +0 -0
  633. /data/{ext → dist}/ice/cpp/src/Ice/EventHandler.cpp +0 -0
  634. /data/{ext → dist}/ice/cpp/src/Ice/EventHandler.h +0 -0
  635. /data/{ext → dist}/ice/cpp/src/Ice/EventHandlerF.h +0 -0
  636. /data/{ext → dist}/ice/cpp/src/Ice/Exception.cpp +0 -0
  637. /data/{ext → dist}/ice/cpp/src/Ice/FactoryTable.cpp +0 -0
  638. /data/{ext → dist}/ice/cpp/src/Ice/FactoryTableInit.cpp +0 -0
  639. /data/{ext → dist}/ice/cpp/src/Ice/GCObject.cpp +0 -0
  640. /data/{ext → dist}/ice/cpp/src/Ice/HashUtil.h +0 -0
  641. /data/{ext → dist}/ice/cpp/src/Ice/HttpParser.cpp +0 -0
  642. /data/{ext → dist}/ice/cpp/src/Ice/HttpParser.h +0 -0
  643. /data/{ext → dist}/ice/cpp/src/Ice/IPEndpointI.cpp +0 -0
  644. /data/{ext → dist}/ice/cpp/src/Ice/IPEndpointI.h +0 -0
  645. /data/{ext → dist}/ice/cpp/src/Ice/IPEndpointIF.h +0 -0
  646. /data/{ext → dist}/ice/cpp/src/Ice/IconvStringConverter.cpp +0 -0
  647. /data/{ext → dist}/ice/cpp/src/Ice/ImplicitContextI.cpp +0 -0
  648. /data/{ext → dist}/ice/cpp/src/Ice/ImplicitContextI.h +0 -0
  649. /data/{ext → dist}/ice/cpp/src/Ice/Incoming.cpp +0 -0
  650. /data/{ext → dist}/ice/cpp/src/Ice/IncomingAsync.cpp +0 -0
  651. /data/{ext → dist}/ice/cpp/src/Ice/IncomingRequest.h +0 -0
  652. /data/{ext → dist}/ice/cpp/src/Ice/Initialize.cpp +0 -0
  653. /data/{ext → dist}/ice/cpp/src/Ice/Instance.cpp +0 -0
  654. /data/{ext → dist}/ice/cpp/src/Ice/Instance.h +0 -0
  655. /data/{ext → dist}/ice/cpp/src/Ice/InstrumentationI.cpp +0 -0
  656. /data/{ext → dist}/ice/cpp/src/Ice/InstrumentationI.h +0 -0
  657. /data/{ext → dist}/ice/cpp/src/Ice/LocalObject.cpp +0 -0
  658. /data/{ext → dist}/ice/cpp/src/Ice/LocatorInfo.cpp +0 -0
  659. /data/{ext → dist}/ice/cpp/src/Ice/LocatorInfo.h +0 -0
  660. /data/{ext → dist}/ice/cpp/src/Ice/LocatorInfoF.h +0 -0
  661. /data/{ext → dist}/ice/cpp/src/Ice/LoggerAdminI.cpp +0 -0
  662. /data/{ext → dist}/ice/cpp/src/Ice/LoggerAdminI.h +0 -0
  663. /data/{ext → dist}/ice/cpp/src/Ice/LoggerI.cpp +0 -0
  664. /data/{ext → dist}/ice/cpp/src/Ice/LoggerI.h +0 -0
  665. /data/{ext → dist}/ice/cpp/src/Ice/LoggerUtil.cpp +0 -0
  666. /data/{ext → dist}/ice/cpp/src/Ice/MetricsObserverI.cpp +0 -0
  667. /data/{ext → dist}/ice/cpp/src/Ice/Network.h +0 -0
  668. /data/{ext → dist}/ice/cpp/src/Ice/NetworkF.h +0 -0
  669. /data/{ext → dist}/ice/cpp/src/Ice/NetworkProxy.cpp +0 -0
  670. /data/{ext → dist}/ice/cpp/src/Ice/NetworkProxy.h +0 -0
  671. /data/{ext → dist}/ice/cpp/src/Ice/NetworkProxyF.h +0 -0
  672. /data/{ext → dist}/ice/cpp/src/Ice/OSLogLoggerI.cpp +0 -0
  673. /data/{ext → dist}/ice/cpp/src/Ice/OSLogLoggerI.h +0 -0
  674. /data/{ext → dist}/ice/cpp/src/Ice/Object.cpp +0 -0
  675. /data/{ext → dist}/ice/cpp/src/Ice/ObjectAdapterFactory.cpp +0 -0
  676. /data/{ext → dist}/ice/cpp/src/Ice/ObjectAdapterFactory.h +0 -0
  677. /data/{ext → dist}/ice/cpp/src/Ice/ObjectAdapterFactoryF.h +0 -0
  678. /data/{ext → dist}/ice/cpp/src/Ice/ObjectAdapterI.h +0 -0
  679. /data/{ext → dist}/ice/cpp/src/Ice/ObserverHelper.cpp +0 -0
  680. /data/{ext → dist}/ice/cpp/src/Ice/OpaqueEndpointI.cpp +0 -0
  681. /data/{ext → dist}/ice/cpp/src/Ice/OpaqueEndpointI.h +0 -0
  682. /data/{ext → dist}/ice/cpp/src/Ice/OutputStream.cpp +0 -0
  683. /data/{ext → dist}/ice/cpp/src/Ice/PluginManagerI.h +0 -0
  684. /data/{ext → dist}/ice/cpp/src/Ice/PropertiesAdminI.cpp +0 -0
  685. /data/{ext → dist}/ice/cpp/src/Ice/PropertiesAdminI.h +0 -0
  686. /data/{ext → dist}/ice/cpp/src/Ice/PropertiesI.cpp +0 -0
  687. /data/{ext → dist}/ice/cpp/src/Ice/PropertiesI.h +0 -0
  688. /data/{ext → dist}/ice/cpp/src/Ice/Protocol.cpp +0 -0
  689. /data/{ext → dist}/ice/cpp/src/Ice/ProtocolInstance.cpp +0 -0
  690. /data/{ext → dist}/ice/cpp/src/Ice/ProtocolInstance.h +0 -0
  691. /data/{ext → dist}/ice/cpp/src/Ice/ProtocolInstanceF.h +0 -0
  692. /data/{ext → dist}/ice/cpp/src/Ice/ProtocolPluginFacade.cpp +0 -0
  693. /data/{ext → dist}/ice/cpp/src/Ice/ProtocolPluginFacade.h +0 -0
  694. /data/{ext → dist}/ice/cpp/src/Ice/ProtocolPluginFacadeF.h +0 -0
  695. /data/{ext → dist}/ice/cpp/src/Ice/ProxyFactory.cpp +0 -0
  696. /data/{ext → dist}/ice/cpp/src/Ice/ProxyFactory.h +0 -0
  697. /data/{ext → dist}/ice/cpp/src/Ice/Reference.cpp +0 -0
  698. /data/{ext → dist}/ice/cpp/src/Ice/Reference.h +0 -0
  699. /data/{ext → dist}/ice/cpp/src/Ice/ReferenceFactory.cpp +0 -0
  700. /data/{ext → dist}/ice/cpp/src/Ice/ReferenceFactory.h +0 -0
  701. /data/{ext → dist}/ice/cpp/src/Ice/ReferenceFactoryF.h +0 -0
  702. /data/{ext → dist}/ice/cpp/src/Ice/RegisterPluginsInit.cpp +0 -0
  703. /data/{ext → dist}/ice/cpp/src/Ice/RegisterPluginsInit.h +0 -0
  704. /data/{ext → dist}/ice/cpp/src/Ice/ReplyStatus.h +0 -0
  705. /data/{ext → dist}/ice/cpp/src/Ice/RequestHandler.cpp +0 -0
  706. /data/{ext → dist}/ice/cpp/src/Ice/RequestHandler.h +0 -0
  707. /data/{ext → dist}/ice/cpp/src/Ice/RequestHandlerFactory.cpp +0 -0
  708. /data/{ext → dist}/ice/cpp/src/Ice/RequestHandlerFactory.h +0 -0
  709. /data/{ext → dist}/ice/cpp/src/Ice/ResponseHandler.cpp +0 -0
  710. /data/{ext → dist}/ice/cpp/src/Ice/ResponseHandler.h +0 -0
  711. /data/{ext → dist}/ice/cpp/src/Ice/RetryQueue.cpp +0 -0
  712. /data/{ext → dist}/ice/cpp/src/Ice/RetryQueue.h +0 -0
  713. /data/{ext → dist}/ice/cpp/src/Ice/RetryQueueF.h +0 -0
  714. /data/{ext → dist}/ice/cpp/src/Ice/RouterInfo.cpp +0 -0
  715. /data/{ext → dist}/ice/cpp/src/Ice/RouterInfo.h +0 -0
  716. /data/{ext → dist}/ice/cpp/src/Ice/RouterInfoF.h +0 -0
  717. /data/{ext → dist}/ice/cpp/src/Ice/SHA1.cpp +0 -0
  718. /data/{ext → dist}/ice/cpp/src/Ice/Selector.h +0 -0
  719. /data/{ext → dist}/ice/cpp/src/Ice/ServantManager.cpp +0 -0
  720. /data/{ext → dist}/ice/cpp/src/Ice/ServantManager.h +0 -0
  721. /data/{ext → dist}/ice/cpp/src/Ice/SharedContext.h +0 -0
  722. /data/{ext → dist}/ice/cpp/src/Ice/SliceChecksums.cpp +0 -0
  723. /data/{ext → dist}/ice/cpp/src/Ice/SlicedData.cpp +0 -0
  724. /data/{ext → dist}/ice/cpp/src/Ice/StreamSocket.cpp +0 -0
  725. /data/{ext → dist}/ice/cpp/src/Ice/StreamSocket.h +0 -0
  726. /data/{ext → dist}/ice/cpp/src/Ice/StringConverterPlugin.cpp +0 -0
  727. /data/{ext → dist}/ice/cpp/src/Ice/StringUtil.h +0 -0
  728. /data/{ext → dist}/ice/cpp/src/Ice/SysLoggerI.cpp +0 -0
  729. /data/{ext → dist}/ice/cpp/src/Ice/SysLoggerI.h +0 -0
  730. /data/{ext → dist}/ice/cpp/src/Ice/SystemdJournalI.cpp +0 -0
  731. /data/{ext → dist}/ice/cpp/src/Ice/SystemdJournalI.h +0 -0
  732. /data/{ext → dist}/ice/cpp/src/Ice/TcpAcceptor.cpp +0 -0
  733. /data/{ext → dist}/ice/cpp/src/Ice/TcpAcceptor.h +0 -0
  734. /data/{ext → dist}/ice/cpp/src/Ice/TcpConnector.cpp +0 -0
  735. /data/{ext → dist}/ice/cpp/src/Ice/TcpConnector.h +0 -0
  736. /data/{ext → dist}/ice/cpp/src/Ice/TcpEndpointI.cpp +0 -0
  737. /data/{ext → dist}/ice/cpp/src/Ice/TcpEndpointI.h +0 -0
  738. /data/{ext → dist}/ice/cpp/src/Ice/TcpTransceiver.cpp +0 -0
  739. /data/{ext → dist}/ice/cpp/src/Ice/TcpTransceiver.h +0 -0
  740. /data/{ext → dist}/ice/cpp/src/Ice/Thread.cpp +0 -0
  741. /data/{ext → dist}/ice/cpp/src/Ice/ThreadPool.h +0 -0
  742. /data/{ext → dist}/ice/cpp/src/Ice/Timer.cpp +0 -0
  743. /data/{ext → dist}/ice/cpp/src/Ice/TraceLevels.cpp +0 -0
  744. /data/{ext → dist}/ice/cpp/src/Ice/TraceLevels.h +0 -0
  745. /data/{ext → dist}/ice/cpp/src/Ice/TraceLevelsF.h +0 -0
  746. /data/{ext → dist}/ice/cpp/src/Ice/TraceUtil.cpp +0 -0
  747. /data/{ext → dist}/ice/cpp/src/Ice/TraceUtil.h +0 -0
  748. /data/{ext → dist}/ice/cpp/src/Ice/Transceiver.cpp +0 -0
  749. /data/{ext → dist}/ice/cpp/src/Ice/Transceiver.h +0 -0
  750. /data/{ext → dist}/ice/cpp/src/Ice/TransceiverF.h +0 -0
  751. /data/{ext → dist}/ice/cpp/src/Ice/UdpConnector.cpp +0 -0
  752. /data/{ext → dist}/ice/cpp/src/Ice/UdpConnector.h +0 -0
  753. /data/{ext → dist}/ice/cpp/src/Ice/UdpEndpointI.cpp +0 -0
  754. /data/{ext → dist}/ice/cpp/src/Ice/UdpEndpointI.h +0 -0
  755. /data/{ext → dist}/ice/cpp/src/Ice/UdpTransceiver.cpp +0 -0
  756. /data/{ext → dist}/ice/cpp/src/Ice/UdpTransceiver.h +0 -0
  757. /data/{ext → dist}/ice/cpp/src/Ice/Value.cpp +0 -0
  758. /data/{ext → dist}/ice/cpp/src/Ice/ValueFactoryManagerI.cpp +0 -0
  759. /data/{ext → dist}/ice/cpp/src/Ice/ValueFactoryManagerI.h +0 -0
  760. /data/{ext → dist}/ice/cpp/src/Ice/VirtualShared.h +0 -0
  761. /data/{ext → dist}/ice/cpp/src/Ice/WSAcceptor.cpp +0 -0
  762. /data/{ext → dist}/ice/cpp/src/Ice/WSAcceptor.h +0 -0
  763. /data/{ext → dist}/ice/cpp/src/Ice/WSConnector.cpp +0 -0
  764. /data/{ext → dist}/ice/cpp/src/Ice/WSConnector.h +0 -0
  765. /data/{ext → dist}/ice/cpp/src/Ice/WSEndpoint.cpp +0 -0
  766. /data/{ext → dist}/ice/cpp/src/Ice/WSEndpoint.h +0 -0
  767. /data/{ext → dist}/ice/cpp/src/Ice/WSTransceiver.cpp +0 -0
  768. /data/{ext → dist}/ice/cpp/src/Ice/WSTransceiver.h +0 -0
  769. /data/{ext → dist}/ice/cpp/src/IceDiscovery/LocatorI.cpp +0 -0
  770. /data/{ext → dist}/ice/cpp/src/IceDiscovery/LocatorI.h +0 -0
  771. /data/{ext → dist}/ice/cpp/src/IceDiscovery/LookupI.cpp +0 -0
  772. /data/{ext → dist}/ice/cpp/src/IceDiscovery/LookupI.h +0 -0
  773. /data/{ext → dist}/ice/cpp/src/IceDiscovery/PluginI.cpp +0 -0
  774. /data/{ext → dist}/ice/cpp/src/IceDiscovery/PluginI.h +0 -0
  775. /data/{ext → dist}/ice/cpp/src/IceLocatorDiscovery/Plugin.h +0 -0
  776. /data/{ext → dist}/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +0 -0
  777. /data/{ext → dist}/ice/cpp/src/IceSSL/AcceptorI.cpp +0 -0
  778. /data/{ext → dist}/ice/cpp/src/IceSSL/AcceptorI.h +0 -0
  779. /data/{ext → dist}/ice/cpp/src/IceSSL/CertificateI.cpp +0 -0
  780. /data/{ext → dist}/ice/cpp/src/IceSSL/CertificateI.h +0 -0
  781. /data/{ext → dist}/ice/cpp/src/IceSSL/ConnectorI.cpp +0 -0
  782. /data/{ext → dist}/ice/cpp/src/IceSSL/ConnectorI.h +0 -0
  783. /data/{ext → dist}/ice/cpp/src/IceSSL/EndpointI.cpp +0 -0
  784. /data/{ext → dist}/ice/cpp/src/IceSSL/EndpointI.h +0 -0
  785. /data/{ext → dist}/ice/cpp/src/IceSSL/Instance.cpp +0 -0
  786. /data/{ext → dist}/ice/cpp/src/IceSSL/Instance.h +0 -0
  787. /data/{ext → dist}/ice/cpp/src/IceSSL/InstanceF.h +0 -0
  788. /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLCertificateI.cpp +0 -0
  789. /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLEngine.cpp +0 -0
  790. /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLEngine.h +0 -0
  791. /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLEngineF.h +0 -0
  792. /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLPluginI.cpp +0 -0
  793. /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLTransceiverI.h +0 -0
  794. /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLUtil.cpp +0 -0
  795. /data/{ext → dist}/ice/cpp/src/IceSSL/OpenSSLUtil.h +0 -0
  796. /data/{ext → dist}/ice/cpp/src/IceSSL/PluginI.h +0 -0
  797. /data/{ext → dist}/ice/cpp/src/IceSSL/RFC2253.cpp +0 -0
  798. /data/{ext → dist}/ice/cpp/src/IceSSL/RFC2253.h +0 -0
  799. /data/{ext → dist}/ice/cpp/src/IceSSL/SChannelCertificateI.cpp +0 -0
  800. /data/{ext → dist}/ice/cpp/src/IceSSL/SChannelEngine.cpp +0 -0
  801. /data/{ext → dist}/ice/cpp/src/IceSSL/SChannelEngine.h +0 -0
  802. /data/{ext → dist}/ice/cpp/src/IceSSL/SChannelEngineF.h +0 -0
  803. /data/{ext → dist}/ice/cpp/src/IceSSL/SChannelPluginI.cpp +0 -0
  804. /data/{ext → dist}/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +0 -0
  805. /data/{ext → dist}/ice/cpp/src/IceSSL/SChannelTransceiverI.h +0 -0
  806. /data/{ext → dist}/ice/cpp/src/IceSSL/SSLEngine.cpp +0 -0
  807. /data/{ext → dist}/ice/cpp/src/IceSSL/SSLEngine.h +0 -0
  808. /data/{ext → dist}/ice/cpp/src/IceSSL/SSLEngineF.h +0 -0
  809. /data/{ext → dist}/ice/cpp/src/IceSSL/SecureTransportCertificateI.cpp +0 -0
  810. /data/{ext → dist}/ice/cpp/src/IceSSL/SecureTransportEngine.cpp +0 -0
  811. /data/{ext → dist}/ice/cpp/src/IceSSL/SecureTransportEngine.h +0 -0
  812. /data/{ext → dist}/ice/cpp/src/IceSSL/SecureTransportEngineF.h +0 -0
  813. /data/{ext → dist}/ice/cpp/src/IceSSL/SecureTransportPluginI.cpp +0 -0
  814. /data/{ext → dist}/ice/cpp/src/IceSSL/SecureTransportTransceiverI.h +0 -0
  815. /data/{ext → dist}/ice/cpp/src/IceSSL/SecureTransportUtil.h +0 -0
  816. /data/{ext → dist}/ice/cpp/src/IceSSL/TrustManager.cpp +0 -0
  817. /data/{ext → dist}/ice/cpp/src/IceSSL/TrustManager.h +0 -0
  818. /data/{ext → dist}/ice/cpp/src/IceSSL/TrustManagerF.h +0 -0
  819. /data/{ext → dist}/ice/cpp/src/IceSSL/Util.cpp +0 -0
  820. /data/{ext → dist}/ice/cpp/src/IceSSL/Util.h +0 -0
  821. /data/{ext → dist}/ice/cpp/src/IceUtil/ConsoleUtil.cpp +0 -0
  822. /data/{ext → dist}/ice/cpp/src/IceUtil/ConvertUTF.cpp +0 -0
  823. /data/{ext → dist}/ice/cpp/src/IceUtil/ConvertUTF.h +0 -0
  824. /data/{ext → dist}/ice/cpp/src/IceUtil/CtrlCHandler.cpp +0 -0
  825. /data/{ext → dist}/ice/cpp/src/IceUtil/FileUtil.cpp +0 -0
  826. /data/{ext → dist}/ice/cpp/src/IceUtil/InputUtil.cpp +0 -0
  827. /data/{ext → dist}/ice/cpp/src/IceUtil/MutexProtocol.cpp +0 -0
  828. /data/{ext → dist}/ice/cpp/src/IceUtil/Options.cpp +0 -0
  829. /data/{ext → dist}/ice/cpp/src/IceUtil/OutputUtil.cpp +0 -0
  830. /data/{ext → dist}/ice/cpp/src/IceUtil/Random.cpp +0 -0
  831. /data/{ext → dist}/ice/cpp/src/IceUtil/RecMutex.cpp +0 -0
  832. /data/{ext → dist}/ice/cpp/src/IceUtil/Shared.cpp +0 -0
  833. /data/{ext → dist}/ice/cpp/src/IceUtil/StringUtil.cpp +0 -0
  834. /data/{ext → dist}/ice/cpp/src/IceUtil/ThreadException.cpp +0 -0
  835. /data/{ext → dist}/ice/cpp/src/IceUtil/Time.cpp +0 -0
  836. /data/{ext → dist}/ice/cpp/src/IceUtil/UUID.cpp +0 -0
  837. /data/{ext → dist}/ice/cpp/src/IceUtil/Unicode.cpp +0 -0
  838. /data/{ext → dist}/ice/cpp/src/IceUtil/Unicode.h +0 -0
  839. /data/{ext → dist}/ice/cpp/src/IceUtil/UtilException.cpp +0 -0
  840. /data/{ext → dist}/ice/cpp/src/Slice/CPlusPlusUtil.cpp +0 -0
  841. /data/{ext → dist}/ice/cpp/src/Slice/CPlusPlusUtil.h +0 -0
  842. /data/{ext → dist}/ice/cpp/src/Slice/Checksum.cpp +0 -0
  843. /data/{ext → dist}/ice/cpp/src/Slice/Checksum.h +0 -0
  844. /data/{ext → dist}/ice/cpp/src/Slice/FileTracker.cpp +0 -0
  845. /data/{ext → dist}/ice/cpp/src/Slice/FileTracker.h +0 -0
  846. /data/{ext → dist}/ice/cpp/src/Slice/Grammar.cpp +0 -0
  847. /data/{ext → dist}/ice/cpp/src/Slice/Grammar.h +0 -0
  848. /data/{ext → dist}/ice/cpp/src/Slice/GrammarUtil.h +0 -0
  849. /data/{ext → dist}/ice/cpp/src/Slice/JavaUtil.h +0 -0
  850. /data/{ext → dist}/ice/cpp/src/Slice/MD5.cpp +0 -0
  851. /data/{ext → dist}/ice/cpp/src/Slice/MD5.h +0 -0
  852. /data/{ext → dist}/ice/cpp/src/Slice/MD5I.cpp +0 -0
  853. /data/{ext → dist}/ice/cpp/src/Slice/MD5I.h +0 -0
  854. /data/{ext → dist}/ice/cpp/src/Slice/PHPUtil.cpp +0 -0
  855. /data/{ext → dist}/ice/cpp/src/Slice/PHPUtil.h +0 -0
  856. /data/{ext → dist}/ice/cpp/src/Slice/Parser.cpp +0 -0
  857. /data/{ext → dist}/ice/cpp/src/Slice/Parser.h +0 -0
  858. /data/{ext → dist}/ice/cpp/src/Slice/Preprocessor.cpp +0 -0
  859. /data/{ext → dist}/ice/cpp/src/Slice/Preprocessor.h +0 -0
  860. /data/{ext → dist}/ice/cpp/src/Slice/Python.cpp +0 -0
  861. /data/{ext → dist}/ice/cpp/src/Slice/PythonUtil.cpp +0 -0
  862. /data/{ext → dist}/ice/cpp/src/Slice/PythonUtil.h +0 -0
  863. /data/{ext → dist}/ice/cpp/src/Slice/Ruby.cpp +0 -0
  864. /data/{ext → dist}/ice/cpp/src/Slice/RubyUtil.cpp +0 -0
  865. /data/{ext → dist}/ice/cpp/src/Slice/RubyUtil.h +0 -0
  866. /data/{ext → dist}/ice/cpp/src/Slice/Scanner.cpp +0 -0
  867. /data/{ext → dist}/ice/cpp/src/Slice/SliceUtil.cpp +0 -0
  868. /data/{ext → dist}/ice/cpp/src/Slice/StringLiteralUtil.cpp +0 -0
  869. /data/{ext → dist}/ice/cpp/src/Slice/Util.h +0 -0
  870. /data/{ext → dist}/ice/mcpp/config.h +0 -0
  871. /data/{ext → dist}/ice/mcpp/configed.H +0 -0
  872. /data/{ext → dist}/ice/mcpp/eval.c +0 -0
  873. /data/{ext → dist}/ice/mcpp/expand.c +0 -0
  874. /data/{ext → dist}/ice/mcpp/mbchar.c +0 -0
  875. /data/{ext → dist}/ice/mcpp/mcpp_lib.h +0 -0
  876. /data/{ext → dist}/ice/mcpp/mcpp_out.h +0 -0
  877. /data/{ext → dist}/ice/mcpp/system.H +0 -0
  878. /data/{slice → dist/ice/slice}/Glacier2/Metrics.ice +0 -0
  879. /data/{slice → dist/ice/slice}/Glacier2/PermissionsVerifier.ice +0 -0
  880. /data/{slice → dist/ice/slice}/Glacier2/PermissionsVerifierF.ice +0 -0
  881. /data/{slice → dist/ice/slice}/Glacier2/Router.ice +0 -0
  882. /data/{slice → dist/ice/slice}/Glacier2/RouterF.ice +0 -0
  883. /data/{slice → dist/ice/slice}/Glacier2/SSLInfo.ice +0 -0
  884. /data/{slice → dist/ice/slice}/Glacier2/Session.ice +0 -0
  885. /data/{slice → dist/ice/slice}/Ice/BuiltinSequences.ice +0 -0
  886. /data/{slice → dist/ice/slice}/Ice/Communicator.ice +0 -0
  887. /data/{slice → dist/ice/slice}/Ice/CommunicatorF.ice +0 -0
  888. /data/{slice → dist/ice/slice}/Ice/ConnectionF.ice +0 -0
  889. /data/{slice → dist/ice/slice}/Ice/Current.ice +0 -0
  890. /data/{slice → dist/ice/slice}/Ice/Endpoint.ice +0 -0
  891. /data/{slice → dist/ice/slice}/Ice/EndpointF.ice +0 -0
  892. /data/{slice → dist/ice/slice}/Ice/EndpointTypes.ice +0 -0
  893. /data/{slice → dist/ice/slice}/Ice/FacetMap.ice +0 -0
  894. /data/{slice → dist/ice/slice}/Ice/Identity.ice +0 -0
  895. /data/{slice → dist/ice/slice}/Ice/ImplicitContext.ice +0 -0
  896. /data/{slice → dist/ice/slice}/Ice/ImplicitContextF.ice +0 -0
  897. /data/{slice → dist/ice/slice}/Ice/Instrumentation.ice +0 -0
  898. /data/{slice → dist/ice/slice}/Ice/InstrumentationF.ice +0 -0
  899. /data/{slice → dist/ice/slice}/Ice/LocalException.ice +0 -0
  900. /data/{slice → dist/ice/slice}/Ice/LocatorF.ice +0 -0
  901. /data/{slice → dist/ice/slice}/Ice/Logger.ice +0 -0
  902. /data/{slice → dist/ice/slice}/Ice/LoggerF.ice +0 -0
  903. /data/{slice → dist/ice/slice}/Ice/ObjectAdapterF.ice +0 -0
  904. /data/{slice → dist/ice/slice}/Ice/ObjectFactory.ice +0 -0
  905. /data/{slice → dist/ice/slice}/Ice/Plugin.ice +0 -0
  906. /data/{slice → dist/ice/slice}/Ice/PluginF.ice +0 -0
  907. /data/{slice → dist/ice/slice}/Ice/Process.ice +0 -0
  908. /data/{slice → dist/ice/slice}/Ice/ProcessF.ice +0 -0
  909. /data/{slice → dist/ice/slice}/Ice/Properties.ice +0 -0
  910. /data/{slice → dist/ice/slice}/Ice/PropertiesAdmin.ice +0 -0
  911. /data/{slice → dist/ice/slice}/Ice/PropertiesF.ice +0 -0
  912. /data/{slice → dist/ice/slice}/Ice/RemoteLogger.ice +0 -0
  913. /data/{slice → dist/ice/slice}/Ice/RouterF.ice +0 -0
  914. /data/{slice → dist/ice/slice}/Ice/ServantLocator.ice +0 -0
  915. /data/{slice → dist/ice/slice}/Ice/ServantLocatorF.ice +0 -0
  916. /data/{slice → dist/ice/slice}/Ice/SliceChecksumDict.ice +0 -0
  917. /data/{slice → dist/ice/slice}/Ice/ValueFactory.ice +0 -0
  918. /data/{slice → dist/ice/slice}/Ice/Version.ice +0 -0
  919. /data/{slice → dist/ice/slice}/IceBox/IceBox.ice +0 -0
  920. /data/{slice → dist/ice/slice}/IceGrid/Admin.ice +0 -0
  921. /data/{slice → dist/ice/slice}/IceGrid/Descriptor.ice +0 -0
  922. /data/{slice → dist/ice/slice}/IceGrid/Exception.ice +0 -0
  923. /data/{slice → dist/ice/slice}/IceGrid/FileParser.ice +0 -0
  924. /data/{slice → dist/ice/slice}/IceGrid/Registry.ice +0 -0
  925. /data/{slice → dist/ice/slice}/IceGrid/Session.ice +0 -0
  926. /data/{slice → dist/ice/slice}/IceGrid/UserAccountMapper.ice +0 -0
  927. /data/{slice → dist/ice/slice}/IcePatch2/FileInfo.ice +0 -0
  928. /data/{slice → dist/ice/slice}/IcePatch2/FileServer.ice +0 -0
  929. /data/{slice → dist/ice/slice}/IceStorm/Metrics.ice +0 -0
  930. /data/{lib → dist/lib}/Glacier2.rb +0 -0
  931. /data/{lib → dist/lib}/Ice.rb +0 -0
  932. /data/{lib → dist/lib}/IceBox.rb +0 -0
  933. /data/{lib → dist/lib}/IceGrid.rb +0 -0
  934. /data/{lib → dist/lib}/IcePatch2.rb +0 -0
  935. /data/{lib → dist/lib}/IceStorm.rb +0 -0
  936. /data/{bin → scripts}/slice2rb +0 -0
@@ -0,0 +1,1407 @@
1
+ /*-
2
+ * Copyright (c) 1998, 2002-2008 Kiyoshi Matsui <kmatsui@t3.rim.or.jp>
3
+ * All rights reserved.
4
+ *
5
+ * Some parts of this code are derived from the public domain software
6
+ * DECUS cpp (1984,1985) written by Martin Minow.
7
+ *
8
+ * Redistribution and use in source and binary forms, with or without
9
+ * modification, are permitted provided that the following conditions
10
+ * are met:
11
+ * 1. Redistributions of source code must retain the above copyright
12
+ * notice, this list of conditions and the following disclaimer.
13
+ * 2. Redistributions in binary form must reproduce the above copyright
14
+ * notice, this list of conditions and the following disclaimer in the
15
+ * documentation and/or other materials provided with the distribution.
16
+ *
17
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
18
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE
21
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27
+ * SUCH DAMAGE.
28
+ */
29
+
30
+ /*
31
+ * D I R E C T I V E . C
32
+ * P r o c e s s D i r e c t i v e L i n e s
33
+ *
34
+ * The routines to handle directives other than #include and #pragma
35
+ * are placed here.
36
+ */
37
+
38
+ #include "system.H"
39
+ #include "internal.H"
40
+
41
+ static int do_if( int hash, const char * directive_name);
42
+ /* #if, #elif, #ifdef, #ifndef */
43
+ static void sync_linenum( void);
44
+ /* Synchronize number of newlines */
45
+ static long do_line( void);
46
+ /* Process #line directive */
47
+ static int get_parm( void);
48
+ /* Get parameters of macro, its nargs, names, lengths */
49
+ static int get_repl( const char * macroname);
50
+ /* Get replacement text embedding parameter number */
51
+ static char * is_formal( const char * name, int conv);
52
+ /* If formal parameter, save the number */
53
+ static char * def_stringization( char * repl_cur);
54
+ /* Define stringization */
55
+ static char * mgtoken_save( const char * macroname);
56
+ /* Prefix DEF_MAGIC to macro name in repl-text */
57
+ static void do_undef( void);
58
+ /* Process #undef directive */
59
+ static void dump_repl( const DEFBUF * dp, FILE * fp, int gcc2_va);
60
+ /* Dump replacement text */
61
+
62
+ /*
63
+ * Generate (by hand-inspection) a set of unique values for each directive.
64
+ * MCPP won't compile if there are hash conflicts.
65
+ */
66
+ #define L_if ('i' ^ (EOS << 1))
67
+ #define L_ifdef ('i' ^ ('d' << 1))
68
+ #define L_ifndef ('i' ^ ('n' << 1))
69
+ #define L_elif ('e' ^ ('i' << 1))
70
+ #define L_else ('e' ^ ('s' << 1))
71
+ #define L_endif ('e' ^ ('d' << 1))
72
+ #define L_define ('d' ^ ('f' << 1))
73
+ #define L_undef ('u' ^ ('d' << 1))
74
+ #define L_line ('l' ^ ('n' << 1))
75
+ #define L_include ('i' ^ ('c' << 1))
76
+ #if SYSTEM == SYS_MAC
77
+ #define L_import ('i' ^ ('p' << 1))
78
+ #endif
79
+ #define L_error ('e' ^ ('r' << 1))
80
+ #define L_pragma ('p' ^ ('a' << 1))
81
+
82
+ static const char * const not_ident
83
+ = "Not an identifier \"%s\""; /* _E_ */
84
+ static const char * const no_arg = "No argument"; /* _E_ */
85
+ static const char * const excess
86
+ = "Excessive token sequence \"%s\""; /* _E_ _W1_ */
87
+
88
+ void directive( void)
89
+ /*
90
+ * Process #directive lines. Each directive have their own subroutines.
91
+ */
92
+ {
93
+ const char * const many_nesting =
94
+ "More than %.0s%ld nesting of #if (#ifdef) sections%s"; /* _F_ _W4_ _W8_ */
95
+ const char * const not_in_section
96
+ = "Not in a #if (#ifdef) section in a source file"; /* _E_ _W1_ */
97
+ const char * const illeg_dir
98
+ = "Illegal #directive \"%s%.0ld%s\""; /* _E_ _W1_ _W8_ */
99
+ const char * const in_skipped = " (in skipped block)"; /* _W8_ */
100
+ FILEINFO * file;
101
+ int token_type;
102
+ int hash;
103
+ int c;
104
+ char * tp;
105
+
106
+ in_directive = TRUE;
107
+ if (keep_comments) {
108
+ mcpp_fputc( '\n', OUT); /* Possibly flush out comments */
109
+ newlines--;
110
+ }
111
+ c = skip_ws();
112
+ if (c == '\n') /* 'null' directive */
113
+ goto ret;
114
+ token_type = scan_token( c, (workp = work_buf, &workp), work_end);
115
+ if (token_type != NAM) {
116
+ if (compiling) {
117
+ cerror( illeg_dir, work_buf, 0L, NULL);
118
+ } else if (warn_level & 8) {
119
+ cwarn( illeg_dir, work_buf, 0L, in_skipped);
120
+ }
121
+ goto skip_line;
122
+ }
123
+ hash = (identifier[ 1] == EOS) ? identifier[ 0]
124
+ : (identifier[ 0] ^ (identifier[ 2] << 1));
125
+ if (strlen( identifier) > 7)
126
+ hash ^= (identifier[ 7] << 1);
127
+
128
+ /* hash is set to a unique value corresponding to the directive.*/
129
+ switch (hash) {
130
+ case L_if: tp = "if"; break;
131
+ case L_ifdef: tp = "ifdef"; break;
132
+ case L_ifndef: tp = "ifndef"; break;
133
+ case L_elif: tp = "elif"; break;
134
+ case L_else: tp = "else"; break;
135
+ case L_endif: tp = "endif"; break;
136
+ case L_define: tp = "define"; break;
137
+ case L_undef: tp = "undef"; break;
138
+ case L_line: tp = "line"; break;
139
+ case L_include: tp = "include"; break;
140
+ #if SYSTEM == SYS_MAC
141
+ case L_import: tp = "import"; break;
142
+ #endif
143
+ case L_error: tp = "error"; break;
144
+ case L_pragma: tp = "pragma"; break;
145
+ default: tp = NULL; break;
146
+ }
147
+
148
+ if (tp != NULL && ! str_eq( identifier, tp)) { /* Hash conflict*/
149
+ hash = 0; /* Unknown directive, will */
150
+ tp = NULL; /* be handled by do_old() */
151
+ }
152
+
153
+ if (! compiling) { /* Not compiling now */
154
+ switch (hash) {
155
+ case L_elif :
156
+ case L_else : /* Test the #if's nest, if 0, compile */
157
+ case L_endif: /* Un-nest #if */
158
+ break;
159
+ case L_if : /* These can't turn */
160
+ case L_ifdef: /* compilation on, but */
161
+ case L_ifndef : /* we must nest #if's.*/
162
+ if (&ifstack[ BLK_NEST] < ++ifptr)
163
+ goto if_nest_err;
164
+ if ((warn_level & 8)
165
+ && &ifstack[ std_limits.blk_nest + 1] == ifptr)
166
+ cwarn( many_nesting, NULL, (long) std_limits.blk_nest
167
+ , in_skipped);
168
+ ifptr->stat = 0; /* !WAS_COMPILING */
169
+ ifptr->ifline = src_line; /* Line at section start*/
170
+ goto skip_line;
171
+ default : /* Other directives */
172
+ if (tp == NULL && (warn_level & 8))
173
+ do_old(); /* Unknown directive ? */
174
+ goto skip_line; /* Skip the line */
175
+ }
176
+ }
177
+
178
+ macro_line = 0; /* Reset error flag */
179
+ file = infile; /* Remember the current file */
180
+
181
+ switch (hash) {
182
+
183
+ case L_if:
184
+ case L_ifdef:
185
+ case L_ifndef:
186
+ if (&ifstack[ BLK_NEST] < ++ifptr)
187
+ goto if_nest_err;
188
+ if ((warn_level & 4) &&
189
+ &ifstack[ std_limits.blk_nest + 1] == ifptr)
190
+ cwarn( many_nesting, NULL , (long) std_limits.blk_nest, NULL);
191
+ ifptr->stat = WAS_COMPILING;
192
+ ifptr->ifline = src_line;
193
+ goto ifdo;
194
+
195
+ case L_elif:
196
+ if (ifptr == &ifstack[0])
197
+ goto nest_err;
198
+ if (ifptr == infile->initif) {
199
+ goto in_file_nest_err;
200
+ }
201
+ if (ifptr->stat & ELSE_SEEN)
202
+ goto else_seen_err;
203
+ if ((ifptr->stat & (WAS_COMPILING | TRUE_SEEN)) != WAS_COMPILING) {
204
+ compiling = FALSE; /* Done compiling stuff */
205
+ goto skip_line; /* Skip this group */
206
+ }
207
+ hash = L_if;
208
+ ifdo:
209
+ c = do_if( hash, tp);
210
+ if (mcpp_debug & IF) {
211
+ mcpp_fprintf( DBG
212
+ , "#if (#elif, #ifdef, #ifndef) evaluate to %s.\n"
213
+ , compiling ? "TRUE" : "FALSE");
214
+ mcpp_fprintf( DBG, "line %ld: %s", src_line, infile->buffer);
215
+ }
216
+ if (c == FALSE) { /* Error */
217
+ compiling = FALSE; /* Skip this group */
218
+ goto skip_line; /* Prevent an extra error message */
219
+ }
220
+ break;
221
+
222
+ case L_else:
223
+ if (ifptr == &ifstack[0])
224
+ goto nest_err;
225
+ if (ifptr == infile->initif) {
226
+ goto in_file_nest_err;
227
+ }
228
+ if (ifptr->stat & ELSE_SEEN)
229
+ goto else_seen_err;
230
+ ifptr->stat |= ELSE_SEEN;
231
+ ifptr->elseline = src_line;
232
+ if (ifptr->stat & WAS_COMPILING) {
233
+ if (compiling || (ifptr->stat & TRUE_SEEN) != 0)
234
+ compiling = FALSE;
235
+ else
236
+ compiling = TRUE;
237
+ }
238
+ if ((mcpp_debug & MACRO_CALL) && (ifptr->stat & WAS_COMPILING)) {
239
+ sync_linenum();
240
+ mcpp_fprintf( OUT, "/*else %ld:%c*/\n", src_line
241
+ , compiling ? 'T' : 'F'); /* Show that #else is seen */
242
+ }
243
+ break;
244
+
245
+ case L_endif:
246
+ if (ifptr == &ifstack[0])
247
+ goto nest_err;
248
+ if (ifptr <= infile->initif) {
249
+ goto in_file_nest_err;
250
+ }
251
+ if (! compiling && (ifptr->stat & WAS_COMPILING))
252
+ wrong_line = TRUE;
253
+ compiling = (ifptr->stat & WAS_COMPILING);
254
+ if ((mcpp_debug & MACRO_CALL) && compiling) {
255
+ sync_linenum();
256
+ mcpp_fprintf( OUT, "/*endif %ld*/\n", src_line);
257
+ /* Show that #if block has ended */
258
+ }
259
+ --ifptr;
260
+ break;
261
+
262
+ case L_define:
263
+ do_define( FALSE, 0);
264
+ break;
265
+
266
+ case L_undef:
267
+ do_undef();
268
+ break;
269
+
270
+ case L_line:
271
+ if ((c = do_line()) > 0) {
272
+ src_line = c;
273
+ sharp( NULL, 0); /* Putout the new line number and file name */
274
+ infile->line = --src_line; /* Next line number is 'src_line' */
275
+ newlines = -1;
276
+ } else { /* Error already diagnosed by do_line() */
277
+ skip_nl();
278
+ }
279
+ break;
280
+
281
+ case L_include:
282
+ in_include = TRUE;
283
+ if (do_include( FALSE) == TRUE && file != infile)
284
+ newlines = -1; /* File has been included. Clear blank lines */
285
+ in_include = FALSE;
286
+ break;
287
+
288
+ case L_error:
289
+ cerror( infile->buffer, NULL, 0L, NULL); /* _E_ */
290
+ break;
291
+
292
+ case L_pragma:
293
+ do_pragma();
294
+ newlines = -1; /* Do not putout excessive '\n' */
295
+ break;
296
+
297
+ default: /* Non-Standard or unknown directives */
298
+ do_old();
299
+ break;
300
+ }
301
+
302
+ switch (hash) {
303
+ case L_if :
304
+ case L_elif :
305
+ case L_define :
306
+ case L_line :
307
+ goto skip_line; /* To prevent duplicate error message */
308
+ #if SYSTEM == SYS_MAC
309
+ case L_import :
310
+ if (file != infile) /* File has been included */
311
+ newlines = -1;
312
+ #endif
313
+ case L_error :
314
+ goto skip_line;
315
+ case L_include :
316
+ case L_pragma :
317
+ break; /* Already read over the line */
318
+ default : /* L_else, L_endif, L_undef, etc. */
319
+ if (skip_ws() != '\n') {
320
+ cerror( excess, infile->bptr-1, 0L, NULL);
321
+ }
322
+ skip_nl();
323
+ }
324
+ goto ret;
325
+
326
+ in_file_nest_err:
327
+ cerror( not_in_section, NULL, 0L, NULL);
328
+ goto skip_line;
329
+ nest_err:
330
+ cerror( "Not in a #if (#ifdef) section", NULL, 0L, NULL); /* _E_ */
331
+ goto skip_line;
332
+ else_seen_err:
333
+ cerror( "Already seen #else at line %.0s%ld" /* _E_ */
334
+ , NULL, ifptr->elseline, NULL);
335
+ skip_line:
336
+ skip_nl(); /* Ignore rest of line */
337
+ goto ret;
338
+
339
+ if_nest_err:
340
+ cfatal( many_nesting, NULL, (long) BLK_NEST, NULL);
341
+
342
+ ret:
343
+ in_directive = FALSE;
344
+ keep_comments = option_flags.c && compiling && !no_output;
345
+ /* keep_spaces is on for #define line even if no_output is TRUE */
346
+ if (! wrong_line)
347
+ newlines++;
348
+ }
349
+
350
+ static int do_if( int hash, const char * directive_name)
351
+ /*
352
+ * Process an #if (#elif), #ifdef or #ifndef. The latter two are straight-
353
+ * forward, while #if needs a subroutine to evaluate the expression.
354
+ * do_if() is called only if compiling is TRUE. If false, compilation is
355
+ * always supressed, so we don't need to evaluate anything. This supresses
356
+ * unnecessary warnings.
357
+ */
358
+ {
359
+ int c;
360
+ int found;
361
+ DEFBUF * defp;
362
+
363
+ if ((c = skip_ws()) == '\n') {
364
+ unget_ch();
365
+ cerror( no_arg, NULL, 0L, NULL);
366
+ return FALSE;
367
+ }
368
+ if (mcpp_debug & MACRO_CALL) {
369
+ sync_linenum();
370
+ mcpp_fprintf( OUT, "/*%s %ld*/", directive_name, src_line);
371
+ }
372
+ if (hash == L_if) { /* #if or #elif */
373
+ unget_ch();
374
+ found = (eval_if() != 0L); /* Evaluate expression */
375
+ if (mcpp_debug & MACRO_CALL)
376
+ in_if = FALSE; /* 'in_if' is dynamically set in eval_lex() */
377
+ hash = L_ifdef; /* #if is now like #ifdef */
378
+ } else { /* #ifdef or #ifndef */
379
+ if (scan_token( c, (workp = work_buf, &workp), work_end) != NAM) {
380
+ cerror( not_ident, work_buf, 0L, NULL);
381
+ return FALSE; /* Next token is not an identifier */
382
+ }
383
+ found = ((defp = look_id( identifier)) != NULL); /* Look in table*/
384
+ if (mcpp_debug & MACRO_CALL) {
385
+ if (found)
386
+ mcpp_fprintf( OUT, "/*%s*/", defp->name);
387
+ }
388
+ }
389
+ if (found == (hash == L_ifdef)) {
390
+ compiling = TRUE;
391
+ ifptr->stat |= TRUE_SEEN;
392
+ } else {
393
+ compiling = FALSE;
394
+ }
395
+ if (mcpp_debug & MACRO_CALL) {
396
+ mcpp_fprintf( OUT, "/*i %c*/\n", compiling ? 'T' : 'F');
397
+ /* Report wheather the directive is evaluated TRUE or FALSE */
398
+ }
399
+ return TRUE;
400
+ }
401
+
402
+ static void sync_linenum( void)
403
+ /*
404
+ * Put out newlines or #line line to synchronize line number with the
405
+ * annotations about #if, #elif, #ifdef, #ifndef, #else or #endif on -K option.
406
+ */
407
+ {
408
+ if (wrong_line || newlines > 10) {
409
+ sharp( NULL, 0);
410
+ } else {
411
+ while (newlines-- > 0)
412
+ mcpp_fputc('\n', OUT);
413
+ }
414
+ newlines = -1;
415
+ }
416
+
417
+ static long do_line( void)
418
+ /*
419
+ * Parse the line to update the line number and "filename" field for the next
420
+ * input line.
421
+ * Values returned are as follows:
422
+ * -1: syntax error or out-of-range error (diagnosed by do_line(),
423
+ * eval_num()).
424
+ * [1,32767]: legal line number for C90, [1,2147483647] for C99.
425
+ * Line number [32768,2147483647] in C90 mode is only warned (not an error).
426
+ * do_line() always absorbs the line (except the <newline>).
427
+ */
428
+ {
429
+ const char * const not_digits
430
+ = "Line number \"%s\" isn't a decimal digits sequence"; /* _E_ _W1_ */
431
+ const char * const out_of_range
432
+ = "Line number \"%s\" is out of range of [1,%ld]"; /* _E_ _W1_ */
433
+ int token_type;
434
+ VAL_SIGN * valp;
435
+ char * save;
436
+ int c;
437
+
438
+ if ((c = skip_ws()) == '\n') {
439
+ cerror( no_arg, NULL, 0L, NULL);
440
+ unget_ch(); /* Push back <newline> */
441
+ return -1L; /* Line number is not changed */
442
+ }
443
+
444
+ token_type = get_unexpandable( c, FALSE);
445
+ if (macro_line == MACRO_ERROR) /* Unterminated macro */
446
+ return -1L; /* already diagnosed. */
447
+ if (token_type == NO_TOKEN) /* Macro expanded to 0 token */
448
+ goto no_num;
449
+ if (token_type != NUM)
450
+ goto illeg_num;
451
+ for (workp = work_buf; *workp != EOS; workp++) {
452
+ if (! isdigit( *workp & UCHARMAX)) {
453
+ cerror( not_digits, work_buf, 0L, NULL);
454
+ return -1L;
455
+ }
456
+ }
457
+ valp = eval_num( work_buf); /* Evaluate number */
458
+ if (valp->sign == VAL_ERROR) { /* Error diagnosed by eval_num()*/
459
+ return -1;
460
+ } else if ((std_limits.line_num < valp->val || valp->val <= 0L)) {
461
+ if (valp->val < LINE99LIMIT && valp->val > 0L) {
462
+ if (warn_level & 1)
463
+ cwarn( out_of_range, work_buf, std_limits.line_num, NULL);
464
+ } else {
465
+ cerror( out_of_range, work_buf, std_limits.line_num, NULL);
466
+ return -1L;
467
+ }
468
+ }
469
+
470
+ token_type = get_unexpandable( skip_ws(), FALSE);
471
+ if (macro_line == MACRO_ERROR)
472
+ return -1L;
473
+ if (token_type != STR) {
474
+ if (token_type == NO_TOKEN) { /* Filename is absent */
475
+ return (long) valp->val;
476
+ } else { /* Expanded macro should be a quoted string */
477
+ goto not_fname;
478
+ }
479
+ }
480
+ {
481
+ *(workp - 1) = EOS; /* Ignore right '"' */
482
+ save = save_string( &work_buf[ 1]); /* Ignore left '"' */
483
+ }
484
+
485
+ if (get_unexpandable( skip_ws(), FALSE) != NO_TOKEN) {
486
+ cerror( excess, work_buf, 0L, NULL);
487
+ free( save);
488
+ return -1L;
489
+ }
490
+
491
+ if (infile->filename)
492
+ free( infile->filename);
493
+ infile->filename = save; /* New file name */
494
+ /* Note that this does not change infile->real_fname */
495
+ return (long) valp->val; /* New line number */
496
+
497
+ no_num:
498
+ cerror( "No line number", NULL, 0L, NULL); /* _E_ */
499
+ return -1L;
500
+ illeg_num:
501
+ cerror( "Not a line number \"%s\"", work_buf, 0L, NULL); /* _E_ */
502
+ return -1L;
503
+ not_fname:
504
+ cerror( "Not a file name \"%s\"", work_buf, 0L, NULL); /* _E_ */
505
+ return -1L;
506
+ }
507
+
508
+ /*
509
+ * M a c r o D e f i n i t i o n s
510
+ */
511
+
512
+ /*
513
+ * look_id() Looks for the name in the defined symbol table. Returns a
514
+ * pointer to the definition if found, or NULL if not present.
515
+ * install_macro() Installs the definition. Updates the symbol table.
516
+ * undefine() Deletes the definition from the symbol table.
517
+ */
518
+
519
+ /*
520
+ * Global work_buf[] are used to store #define parameter lists and
521
+ * parms[].name point to them.
522
+ * 'nargs' contains the actual number of parameters stored.
523
+ */
524
+ typedef struct {
525
+ char * name; /* -> Start of each parameter */
526
+ size_t len; /* Length of parameter name */
527
+ } PARM;
528
+ static PARM parms[ NMACPARS];
529
+ static int nargs; /* Number of parameters */
530
+ static char * token_p; /* Pointer to the token scanned */
531
+ static char * repl_base; /* Base of buffer for repl-text */
532
+ static char * repl_end; /* End of buffer for repl-text */
533
+ static const char * const no_ident = "No identifier"; /* _E_ */
534
+
535
+ DEFBUF * do_define(
536
+ int ignore_redef, /* Do not redefine */
537
+ int predefine /* Predefine compiler-specific name */
538
+ /*
539
+ * Note: The value of 'predefine' should be one of 0, DEF_NOARGS_PREDEF
540
+ * or DEF_NOARGS_PREDEF_OLD, the other values cause errors.
541
+ */
542
+ )
543
+ /*
544
+ * Called from directive() when a #define is scanned or called from
545
+ * do_options() when a -D option is scanned. This module parses formal
546
+ * parameters by get_parm() and the replacement text by get_repl().
547
+ *
548
+ * There is some special case code to distinguish
549
+ * #define foo bar -- object-like macro
550
+ * from #define foo() bar -- function-like macro with no parameter
551
+ *
552
+ * Also, we make sure that
553
+ * #define foo foo
554
+ * expands to "foo" but doesn't put MCPP into an infinite loop.
555
+ *
556
+ * A warning is printed if you redefine a symbol with a non-identical
557
+ * text. I.e,
558
+ * #define foo 123
559
+ * #define foo 123
560
+ * is ok, but
561
+ * #define foo 123
562
+ * #define foo +123
563
+ * is not.
564
+ *
565
+ * The following subroutines are called from do_define():
566
+ * get_parm() parsing and remembering parameter names.
567
+ * get_repl() parsing and remembering replacement text.
568
+ *
569
+ * The following subroutines are called from get_repl():
570
+ * is_formal() is called when an identifier is scanned. It checks through
571
+ * the array of formal parameters. If a match is found, the
572
+ * identifier is replaced by a control byte which will be used
573
+ * to locate the parameter when the macro is expanded.
574
+ * def_stringization() is called when '#' operator is scanned. It surrounds
575
+ * the token to stringize with magic-codes.
576
+ *
577
+ * modes other than STD ignore difference of parameter names in macro
578
+ * redefinition.
579
+ */
580
+ {
581
+ const char * const predef = "\"%s\" shouldn't be redefined"; /* _E_ */
582
+ char repl_list[ NMACWORK + IDMAX]; /* Replacement text */
583
+ char macroname[ IDMAX + 1]; /* Name of the macro defining */
584
+ DEFBUF * defp; /* -> Old definition */
585
+ DEFBUF ** prevp; /* -> Pointer to previous def in list */
586
+ int c;
587
+ int redefined; /* TRUE if redefined */
588
+ int dnargs = 0; /* defp->nargs */
589
+ int cmp; /* Result of name comparison */
590
+ size_t def_start, def_end; /* Column of macro definition */
591
+
592
+ repl_base = repl_list;
593
+ repl_end = & repl_list[ NMACWORK];
594
+ c = skip_ws();
595
+ if ((mcpp_debug & MACRO_CALL) && src_line) /* Start of definition */
596
+ def_start = infile->bptr - infile->buffer - 1;
597
+ if (c == '\n') {
598
+ cerror( no_ident, NULL, 0L, NULL);
599
+ unget_ch();
600
+ return NULL;
601
+ } else if (scan_token( c, (workp = work_buf, &workp), work_end) != NAM) {
602
+ cerror( not_ident, work_buf, 0L, NULL);
603
+ return NULL;
604
+ } else {
605
+ prevp = look_prev( identifier, &cmp);
606
+ /* Find place in the macro list to insert the definition */
607
+ defp = *prevp;
608
+ if (cmp || defp->push) { /* Not known or 'pushed' macro */
609
+ if (str_eq( identifier, "defined")
610
+ || ((stdc_val)
611
+ && str_eq( identifier, "__VA_ARGS__"))) {
612
+ cerror(
613
+ "\"%s\" shouldn't be defined", identifier, 0L, NULL); /* _E_ */
614
+ return NULL;
615
+ }
616
+ redefined = FALSE; /* Quite new definition */
617
+ } else { /* It's known: */
618
+ if (ignore_redef)
619
+ return defp;
620
+ dnargs = (defp->nargs == DEF_NOARGS_STANDARD
621
+ || defp->nargs == DEF_NOARGS_PREDEF
622
+ || defp->nargs == DEF_NOARGS_PREDEF_OLD)
623
+ ? DEF_NOARGS : defp->nargs;
624
+ if (dnargs <= DEF_NOARGS_DYNAMIC /* __FILE__ and such */
625
+ || dnargs == DEF_PRAGMA /* _Pragma() pseudo-macro */
626
+ ) {
627
+ cerror( predef, identifier, 0L, NULL);
628
+ return NULL;
629
+ } else {
630
+ redefined = TRUE; /* Remember this fact */
631
+ }
632
+ }
633
+ }
634
+ strcpy( macroname, identifier); /* Remember the name */
635
+
636
+ in_define = TRUE; /* Recognize '#', '##' */
637
+ if (get_parm() == FALSE) { /* Get parameter list */
638
+ in_define = FALSE;
639
+ return NULL; /* Syntax error */
640
+ }
641
+ if (get_repl( macroname) == FALSE) { /* Get replacement text */
642
+ in_define = FALSE;
643
+ return NULL; /* Syntax error */
644
+ }
645
+ if ((mcpp_debug & MACRO_CALL) && src_line) {
646
+ /* Remember location on source */
647
+ char * cp;
648
+ cp = infile->bptr - 1; /* Before '\n' */
649
+ while (char_type[ *cp & UCHARMAX] & HSP)
650
+ cp--; /* Trailing space */
651
+ cp++; /* Just after the last token */
652
+ def_end = cp - infile->buffer; /* End of definition */
653
+ }
654
+
655
+ in_define = FALSE;
656
+ if (redefined) {
657
+ if (dnargs != nargs || ! str_eq( defp->repl, repl_list)
658
+ || (! str_eq( defp->parmnames, work_buf))
659
+ ) { /* Warn if differently redefined */
660
+ if (warn_level & 1) {
661
+ cwarn(
662
+ "The macro is redefined", NULL, 0L, NULL); /* _W1_ */
663
+ dump_a_def( " previously macro", defp, FALSE, TRUE
664
+ , fp_err);
665
+ }
666
+ } else { /* Identical redefinition */
667
+ return defp;
668
+ }
669
+ } /* Else new or re-definition*/
670
+ defp = install_macro( macroname, nargs, work_buf, repl_list, prevp, cmp
671
+ , predefine);
672
+ if ((mcpp_debug & MACRO_CALL) && src_line) {
673
+ /* Get location on source file */
674
+ LINE_COL s_line_col, e_line_col;
675
+ s_line_col.line = src_line;
676
+ s_line_col.col = def_start;
677
+ get_src_location( & s_line_col);
678
+ /* Convert to pre-line-splicing data */
679
+ e_line_col.line = src_line;
680
+ e_line_col.col = def_end;
681
+ get_src_location( & e_line_col);
682
+ /* Putout the macro definition information embedded in comment */
683
+ mcpp_fprintf( OUT, "/*m%s %ld:%d-%ld:%d*/\n", defp->name
684
+ , s_line_col.line, s_line_col.col
685
+ , e_line_col.line, e_line_col.col);
686
+ wrong_line = TRUE; /* Need #line later */
687
+ }
688
+ return defp;
689
+ }
690
+
691
+ static int get_parm( void)
692
+ /*
693
+ * Get parameters i.e. numbers into nargs, name into work_buf[], name-length
694
+ * into parms[].len. parms[].name point into work_buf.
695
+ * Return TRUE if the parameters are legal, else return FALSE.
696
+ * In STD mode preprocessor must remember the parameter names, only for
697
+ * checking the validity of macro redefinitions. This is required by the
698
+ * Standard (what an overhead !).
699
+ */
700
+ {
701
+ const char * const many_parms
702
+ = "More than %.0s%ld parameters"; /* _E_ _W4_ */
703
+ const char * const illeg_parm
704
+ = "Illegal parameter \"%s\""; /* _E_ */
705
+ const char * const misplaced_ellip
706
+ = "\"...\" isn't the last parameter"; /* _E_ */
707
+ int token_type;
708
+ int c;
709
+
710
+ parms[ 0].name = workp = work_buf;
711
+ work_buf[ 0] = EOS;
712
+
713
+ /* POST_STD mode */
714
+ insert_sep = NO_SEP; /* Clear the inserted token separator */
715
+ c = get_ch();
716
+
717
+ if (c == '(') { /* With arguments? */
718
+ nargs = 0; /* Init parms counter */
719
+ if (skip_ws() == ')')
720
+ return TRUE; /* Macro with 0 parm */
721
+ else
722
+ unget_ch();
723
+
724
+ do { /* Collect parameters */
725
+ if (nargs >= NMACPARS) {
726
+ cerror( many_parms, NULL, (long) NMACPARS, NULL);
727
+ return FALSE;
728
+ }
729
+ parms[ nargs].name = workp; /* Save its start */
730
+ if ((token_type = scan_token( c = skip_ws(), &workp, work_end))
731
+ != NAM) {
732
+ if (c == '\n') {
733
+ break;
734
+ } else if (c == ',' || c == ')') {
735
+ cerror( "Empty parameter", NULL, 0L, NULL); /* _E_ */
736
+ return FALSE;
737
+ } else if ((stdc_val)
738
+ && token_type == OPE && openum == OP_ELL) {
739
+ /*
740
+ * Enable variable argument macro which is a feature of
741
+ * C99. We enable this even on C90 or C++ for GCC
742
+ * compatibility.
743
+ */
744
+ if (skip_ws() != ')') {
745
+ cerror( misplaced_ellip, NULL, 0L, NULL);
746
+ return FALSE;
747
+ }
748
+ parms[ nargs++].len = 3;
749
+ nargs |= VA_ARGS;
750
+ goto ret;
751
+ } else {
752
+ cerror( illeg_parm, parms[ nargs].name, 0L, NULL);
753
+ return FALSE; /* Bad parameter syntax */
754
+ }
755
+ }
756
+ if ((stdc_val)
757
+ && str_eq( identifier, "__VA_ARGS__")) {
758
+ cerror( illeg_parm, parms[ nargs].name, 0L, NULL);
759
+ return FALSE;
760
+ /* __VA_ARGS__ should not be used as a parameter */
761
+ }
762
+ if (is_formal( parms[ nargs].name, FALSE)) {
763
+ cerror( "Duplicate parameter name \"%s\"" /* _E_ */
764
+ , parms[ nargs].name, 0L, NULL);
765
+ return FALSE;
766
+ }
767
+ parms[ nargs].len = (size_t) (workp - parms[ nargs].name);
768
+ /* Save length of param */
769
+ *workp++ = ',';
770
+ nargs++;
771
+ } while ((c = skip_ws()) == ','); /* Get another parameter*/
772
+
773
+ *--workp = EOS; /* Remove excessive ',' */
774
+ if (c != ')') { /* Must end at ) */
775
+ unget_ch(); /* Push back '\n' */
776
+ cerror(
777
+ "Missing \",\" or \")\" in parameter list \"(%s\"" /* _E_ */
778
+ , work_buf, 0L, NULL);
779
+ return FALSE;
780
+ }
781
+ } else {
782
+ /*
783
+ * DEF_NOARGS is needed to distinguish between
784
+ * "#define foo" and "#define foo()".
785
+ */
786
+ nargs = DEF_NOARGS; /* Object-like macro */
787
+ unget_ch();
788
+ }
789
+ ret:
790
+ #if NMACPARS > NMACPARS90MIN
791
+ if ((warn_level & 4) && (nargs & ~AVA_ARGS) > std_limits.n_mac_pars)
792
+ cwarn( many_parms, NULL , (long) std_limits.n_mac_pars, NULL);
793
+ #endif
794
+ return TRUE;
795
+ }
796
+
797
+ static int get_repl(
798
+ const char * macroname
799
+ )
800
+ /*
801
+ * Get replacement text i.e. names of formal parameters are converted to
802
+ * the magic numbers, and operators #, ## is converted to magic characters.
803
+ * Return TRUE if replacement list is legal, else return FALSE.
804
+ * Any token separator in the text is converted to a single space, no token
805
+ * sepatator is inserted by MCPP. Those are required by the Standard for
806
+ * stringizing of an argument by # operator.
807
+ * In POST_STD mode, inserts a space between any tokens in source (except a
808
+ * macro name and the next '(' in macro definition), hence presence or absence
809
+ * of token separator makes no difference.
810
+ */
811
+ {
812
+ const char * const mixed_ops
813
+ = "Macro with mixing of ## and # operators isn't portable"; /* _W4_ */
814
+ const char * const multiple_cats
815
+ = "Macro with multiple ## operators isn't portable"; /* _W4_ */
816
+ char * prev_token = NULL; /* Preceding token */
817
+ char * prev_prev_token = NULL; /* Pre-preceding token */
818
+ int multi_cats = FALSE; /* Multiple ## operators*/
819
+ int c;
820
+ int token_type; /* Type of token */
821
+ char * temp;
822
+ char * repl_cur = repl_base; /* Pointer into repl-text buffer*/
823
+ char * repl_min = repl_base; /* Pointer into repl-text buffer*/
824
+
825
+ *repl_cur = EOS;
826
+ token_p = NULL;
827
+ c = get_ch();
828
+ unget_ch();
829
+ if (((char_type[ c] & SPA) == 0) && (nargs < 0) && (warn_level & 1))
830
+ cwarn( "No space between macro name \"%s\" and repl-text"/* _W1_ */
831
+ , macroname, 0L, NULL);
832
+ c = skip_ws(); /* Get to the body */
833
+
834
+ while (c != '\n') {
835
+ prev_prev_token = prev_token;
836
+ prev_token = token_p;
837
+ token_p = repl_cur; /* Remember the pointer */
838
+ token_type = scan_token( c, &repl_cur, repl_end);
839
+
840
+ switch (token_type) {
841
+ case OPE: /* Operator or punctuator */
842
+ switch (openum) {
843
+ case OP_CAT: /* ## */
844
+ if (prev_token == NULL) {
845
+ cerror( "No token before ##" /* _E_ */
846
+ , NULL, 0L, NULL);
847
+ return FALSE;
848
+ } else if (*prev_token == CAT) {
849
+ cerror( "## after ##", NULL, 0L, NULL); /* _E_ */
850
+ return FALSE;
851
+ } else if (prev_prev_token && *prev_prev_token == CAT) {
852
+ multi_cats = TRUE;
853
+ } else if (prev_prev_token && *prev_prev_token == ST_QUOTE
854
+ && (warn_level & 4)) { /* # parm ## */
855
+ cwarn( mixed_ops, NULL, 0L, NULL);
856
+ }
857
+ repl_cur = token_p;
858
+ *repl_cur++ = CAT; /* Convert to CAT */
859
+ break;
860
+ case OP_STR: /* # */
861
+ if (nargs < 0) /* In object-like macro */
862
+ break; /* '#' is an usual char */
863
+ if (prev_token && *prev_token == CAT
864
+ && (warn_level & 4)) /* ## # */
865
+ cwarn( mixed_ops, NULL, 0L, NULL);
866
+ repl_cur = token_p; /* Overwrite on # */
867
+ if ((temp = def_stringization( repl_cur)) == NULL) {
868
+ return FALSE; /* Error */
869
+ } else {
870
+ repl_cur = temp;
871
+ }
872
+ break;
873
+ default: /* Any operator as it is */
874
+ break;
875
+ }
876
+ break;
877
+ case NAM:
878
+ /*
879
+ * Replace this name if it's a parm. Note that the macro name is a
880
+ * possible replacement token. We stuff DEF_MAGIC in front of the
881
+ * token which is treated as a LETTER by the token scanner and eaten
882
+ * by the macro expanding routine. This prevents the macro expander
883
+ * from looping if someone writes "#define foo foo".
884
+ */
885
+ temp = is_formal( identifier, TRUE);
886
+ if (temp == NULL) { /* Not a parameter name */
887
+ if ((stdc_val)
888
+ && str_eq( identifier, "__VA_ARGS__")) {
889
+ cerror( "\"%s\" without corresponding \"...\"" /* _E_ */
890
+ , identifier, 0L, NULL);
891
+ return FALSE;
892
+ }
893
+ if ((temp = mgtoken_save( macroname)) != NULL)
894
+ repl_cur = temp; /* Macro name */
895
+ } else { /* Parameter name */
896
+ /* Formal parameter numbers can look like a '\t' or */
897
+ /* ' ' when removing trailing spaces, set repl_min. */
898
+ repl_min = repl_cur = temp;
899
+ }
900
+ break;
901
+
902
+ case STR: /* String in mac. body */
903
+ case CHR: /* Character constant */
904
+ break;
905
+ case SEP:
906
+ break;
907
+ default: /* Any token as it is */
908
+ break;
909
+ }
910
+
911
+ if ((c = get_ch()) == ' ' || c == '\t') {
912
+ *repl_cur++ = ' '; /* Space */
913
+ while ((c = get_ch()) == ' ' || c == '\t')
914
+ ; /* Skip excessive spaces */
915
+ }
916
+ }
917
+
918
+ while (repl_min < repl_cur
919
+ && (*(repl_cur - 1) == ' ' || *(repl_cur - 1) == '\t'))
920
+ repl_cur--; /* Remove trailing spaces */
921
+ *repl_cur = EOS; /* Terminate work */
922
+
923
+ unget_ch(); /* For syntax check */
924
+ if (token_p && *token_p == CAT) {
925
+ cerror( "No token after ##", NULL, 0L, NULL); /* _E_ */
926
+ return FALSE;
927
+ }
928
+ if (multi_cats && (warn_level & 4))
929
+ cwarn( multiple_cats, NULL, 0L, NULL);
930
+ if ((nargs & VA_ARGS) && stdc_ver < 199901L && (warn_level & 2))
931
+ /* Variable arg macro is the spec of C99, not C90 nor C++98 */
932
+ cwarn( "Variable argument macro is defined", /* _W2_ */
933
+ NULL, 0L, NULL);
934
+
935
+ return TRUE;
936
+ }
937
+
938
+ static char * is_formal(
939
+ const char * name,
940
+ int conv /* Convert to magic number? */
941
+ )
942
+ /*
943
+ * If the identifier is a formal parameter, save the MAC_PARM and formal
944
+ * offset, returning the advanced pointer into the replacement text.
945
+ * Else, return NULL.
946
+ */
947
+ {
948
+ char * repl_cur;
949
+ const char * va_arg = "__VA_ARGS__";
950
+ PARM parm;
951
+ size_t len;
952
+ int i;
953
+
954
+ len = strlen( name);
955
+ for (i = 0; i < (nargs & ~AVA_ARGS); i++) { /* For each parameter */
956
+ parm = parms[ i];
957
+ if ((len == parm.len
958
+ /* Note: parms[].name are comma separated */
959
+ && memcmp( name, parm.name, parm.len) == 0)
960
+ || ((nargs & VA_ARGS)
961
+ && i == (nargs & ~AVA_ARGS) - 1 && conv
962
+ && str_eq( name, va_arg))) { /* __VA_ARGS__ */
963
+ /* If it's known */
964
+ if (conv) {
965
+ repl_cur = token_p; /* Overwrite on the name*/
966
+ *repl_cur++ = MAC_PARM; /* Save the signal */
967
+ *repl_cur++ = i + 1; /* Save the parm number */
968
+ return repl_cur; /* Return "gotcha" */
969
+ } else {
970
+ return parm.name; /* Duplicate parm name */
971
+ }
972
+ }
973
+ }
974
+
975
+ return NULL; /* Not a formal param */
976
+ }
977
+
978
+ static char * def_stringization( char * repl_cur)
979
+ /*
980
+ * Define token stringization.
981
+ * We store a magic cookie (which becomes surrouding " on expansion) preceding
982
+ * the parameter as an operand of # operator.
983
+ * Return the current pointer into replacement text if the token following #
984
+ * is a parameter name, else return NULL.
985
+ */
986
+ {
987
+ int c;
988
+ char * temp;
989
+
990
+ *repl_cur++ = ST_QUOTE; /* Prefix */
991
+ if (char_type[ c = get_ch()] & HSP) { /* There is a space */
992
+ *repl_cur++ = ' ';
993
+ while (char_type[ c = get_ch()] & HSP) /* Skip excessive spaces*/
994
+ ;
995
+ }
996
+ token_p = repl_cur; /* Remember the pointer */
997
+ if (scan_token( c, &repl_cur, repl_end) == NAM) {
998
+ if ((temp = is_formal( identifier, TRUE)) != NULL) {
999
+ repl_cur = temp;
1000
+ return repl_cur;
1001
+ }
1002
+ }
1003
+ cerror( "Not a formal parameter \"%s\"", token_p, 0L, NULL); /* _E_ */
1004
+ return NULL;
1005
+ }
1006
+
1007
+ static char * mgtoken_save( const char * macroname)
1008
+ /*
1009
+ * A magic cookie is inserted if the token is identical to the macro name,
1010
+ * so the expansion doesn't recurse.
1011
+ * Return the advanced pointer into the replacement text or NULL.
1012
+ */
1013
+ {
1014
+ char * repl_cur;
1015
+
1016
+ if (str_eq( macroname, identifier)) { /* Macro name in body */
1017
+ repl_cur = token_p; /* Overwrite on token */
1018
+ *repl_cur++ = DEF_MAGIC; /* Save magic marker */
1019
+ repl_cur = stpcpy( repl_cur, identifier);
1020
+ /* And save the token */
1021
+ return repl_cur;
1022
+ } else {
1023
+ return NULL;
1024
+ }
1025
+ }
1026
+
1027
+ static void do_undef( void)
1028
+ /*
1029
+ * Remove the symbol from the defined list.
1030
+ * Called from directive().
1031
+ */
1032
+ {
1033
+ DEFBUF * defp;
1034
+ int c;
1035
+
1036
+ if ((c = skip_ws()) == '\n') {
1037
+ cerror( no_ident, NULL, 0L, NULL);
1038
+ unget_ch();
1039
+ return;
1040
+ }
1041
+ if (scan_token( c, (workp = work_buf, &workp), work_end) != NAM) {
1042
+ cerror( not_ident, work_buf, 0L, NULL);
1043
+ skip_nl();
1044
+ unget_ch();
1045
+ } else {
1046
+ if ((defp = look_id( identifier)) == NULL) {
1047
+ if (warn_level & 8)
1048
+ cwarn( "\"%s\" wasn't defined" /* _W8_ */
1049
+ , identifier, 0L, NULL);
1050
+ } else if ((defp->nargs <= DEF_NOARGS_STANDARD
1051
+ /* Standard predef */
1052
+ || defp->nargs == DEF_PRAGMA)) {
1053
+ /* _Pragma() pseudo-macro */
1054
+ cerror( "\"%s\" shouldn't be undefined" /* _E_ */
1055
+ , identifier, 0L, NULL);
1056
+ } else {
1057
+ c = skip_ws();
1058
+ unget_ch();
1059
+ if (c != '\n') /* Trailing junk */
1060
+ return;
1061
+ else
1062
+ undefine( identifier);
1063
+ }
1064
+ }
1065
+ }
1066
+
1067
+ /*
1068
+ * C P P S y m b o l T a b l e s
1069
+ *
1070
+ * SBSIZE defines the number of hash-table slots for the symbol table.
1071
+ * It must be a power of 2.
1072
+ */
1073
+
1074
+ /* Symbol table queue headers. */
1075
+ static DEFBUF * symtab[ SBSIZE];
1076
+ static long num_of_macro = 0;
1077
+
1078
+ void init_directive( void)
1079
+ /* Initialize static variables. */
1080
+ {
1081
+ num_of_macro = 0;
1082
+ }
1083
+
1084
+ DEFBUF * look_id( const char * name)
1085
+ /*
1086
+ * Look for the identifier in the symbol table.
1087
+ * If found, return the table pointer; Else return NULL.
1088
+ */
1089
+ {
1090
+ DEFBUF ** prevp;
1091
+ int cmp;
1092
+
1093
+ prevp = look_prev( name, &cmp);
1094
+
1095
+ return ((cmp == 0 && (*prevp)->push == 0) ? *prevp : NULL);
1096
+ }
1097
+
1098
+ DEFBUF ** look_prev(
1099
+ const char * name, /* Name of the macro */
1100
+ int * cmp /* Result of comparison */
1101
+ )
1102
+ /*
1103
+ * Look for the place to insert the macro definition.
1104
+ * Return a pointer to the previous member in the linked list.
1105
+ */
1106
+ {
1107
+ const char * np;
1108
+ DEFBUF ** prevp;
1109
+ DEFBUF * dp;
1110
+ size_t s_name;
1111
+ int hash;
1112
+
1113
+ for (hash = 0, np = name; *np != EOS; )
1114
+ hash += *np++;
1115
+ hash += s_name = (size_t)(np - name);
1116
+ s_name++;
1117
+ prevp = & symtab[ hash & SBMASK];
1118
+ *cmp = -1; /* Initialize */
1119
+
1120
+ while ((dp = *prevp) != NULL) {
1121
+ if ((*cmp = memcmp( dp->name, name, s_name)) >= 0)
1122
+ break;
1123
+ prevp = &dp->link;
1124
+ }
1125
+
1126
+ return prevp;
1127
+ }
1128
+
1129
+ DEFBUF * look_and_install(
1130
+ const char * name, /* Name of the macro */
1131
+ int numargs, /* The numbers of parms */
1132
+ const char * parmnames, /* Names of parameters concatenated */
1133
+ const char * repl /* Replacement text */
1134
+ )
1135
+ /*
1136
+ * Look for the name and (re)define it.
1137
+ * Returns a pointer to the definition block.
1138
+ * Returns NULL if the symbol was Standard-predefined.
1139
+ */
1140
+ {
1141
+ DEFBUF ** prevp; /* Place to insert definition */
1142
+ DEFBUF * defp; /* New definition block */
1143
+ int cmp; /* Result of comparison of new name and old */
1144
+
1145
+ prevp = look_prev( name, &cmp);
1146
+ defp = install_macro( name, numargs, parmnames, repl, prevp, cmp, 0);
1147
+ return defp;
1148
+ }
1149
+
1150
+ DEFBUF * install_macro(
1151
+ const char * name, /* Name of the macro */
1152
+ int numargs, /* The numbers of parms */
1153
+ const char * parmnames, /* Names of parameters concatenated */
1154
+ const char * repl, /* Replacement text */
1155
+ DEFBUF ** prevp, /* The place to insert definition */
1156
+ int cmp, /* Result of comparison of new name and old */
1157
+ int predefine /* Predefined macro without leading '_' */
1158
+ )
1159
+ /*
1160
+ * Enter this name in the lookup table.
1161
+ * Returns a pointer to the definition block.
1162
+ * Returns NULL if the symbol was Standard-predefined.
1163
+ * Note that predefinedness can be specified by either of 'numargs' or
1164
+ * 'predefine'.
1165
+ */
1166
+ {
1167
+ DEFBUF * dp;
1168
+ DEFBUF * defp;
1169
+ size_t s_name, s_parmnames, s_repl;
1170
+
1171
+ defp = *prevp; /* Old definition, if cmp == 0 */
1172
+ if (cmp == 0 && defp->nargs < DEF_NOARGS - 1)
1173
+ return NULL; /* Standard predefined */
1174
+ if (parmnames == NULL || repl == NULL || (predefine && numargs > 0)
1175
+ || (predefine && predefine != DEF_NOARGS_PREDEF
1176
+ && predefine != DEF_NOARGS_PREDEF_OLD))
1177
+ /* Shouldn't happen */
1178
+ cfatal( "Bug: Illegal macro installation of \"%s\"" /* _F_ */
1179
+ , name, 0L, NULL); /* Use "" instead of NULL */
1180
+ s_name = strlen( name);
1181
+ s_parmnames = strlen( parmnames) + 1;
1182
+ s_repl = strlen( repl) + 1;
1183
+ dp = (DEFBUF *)
1184
+ xmalloc( sizeof (DEFBUF) + s_name + s_parmnames + s_repl);
1185
+ if (cmp || ((*prevp)->push)) { /* New definition */
1186
+ dp->link = defp; /* Insert to linked list */
1187
+ *prevp = dp;
1188
+ } else { /* Redefinition */
1189
+ dp->link = defp->link; /* Replace old def with new */
1190
+ *prevp = dp;
1191
+ free( defp);
1192
+ }
1193
+ dp->nargs = predefine ? predefine : numargs;
1194
+ dp->push = 0;
1195
+ dp->parmnames = (char *)dp + sizeof (DEFBUF) + s_name;
1196
+ dp->repl = dp->parmnames + s_parmnames;
1197
+ memcpy( dp->parmnames, parmnames, s_parmnames);
1198
+ memcpy( dp->name, name, s_name + 1);
1199
+ memcpy( dp->repl, repl, s_repl);
1200
+ /* Remember where the macro is defined */
1201
+ dp->fname = cur_fullname; /* Full-path-list of current file */
1202
+ dp->mline = src_line;
1203
+ if (cmp && ++num_of_macro == std_limits.n_macro + 1
1204
+ && std_limits.n_macro && (warn_level & 4))
1205
+ /* '&& std_limits.n_macro' to avoid warning before initialization */
1206
+ cwarn( "More than %.0s%ld macros defined" /* _W4_ */
1207
+ , NULL , std_limits.n_macro, NULL);
1208
+ return dp;
1209
+ }
1210
+
1211
+ int undefine(
1212
+ const char * name /* Name of the macro */
1213
+ )
1214
+ /*
1215
+ * Delete the macro definition from the symbol table.
1216
+ * Returns TRUE, if deleted;
1217
+ * Else returns FALSE (when the macro was not defined or was Standard
1218
+ * predefined).
1219
+ */
1220
+ {
1221
+ DEFBUF ** prevp; /* Preceding definition in list */
1222
+ DEFBUF * dp; /* Definition to delete */
1223
+ int cmp; /* 0 if defined, else not defined */
1224
+
1225
+ prevp = look_prev( name, &cmp);
1226
+ dp = *prevp; /* Definition to delete */
1227
+ if (cmp || dp->nargs <= DEF_NOARGS_STANDARD)
1228
+ return FALSE; /* Not defined or Standard predefined */
1229
+ if (dp->push)
1230
+ return FALSE; /* 'Pushed' macro */
1231
+ *prevp = dp->link; /* Link the previous and the next */
1232
+ if ((mcpp_debug & MACRO_CALL) && dp->mline) {
1233
+ /* Notice this directive unless the macro is predefined */
1234
+ mcpp_fprintf( OUT, "/*undef %ld*//*%s*/\n", src_line, dp->name);
1235
+ wrong_line = TRUE;
1236
+ }
1237
+ free( dp); /* Delete the definition */
1238
+ num_of_macro--;
1239
+ return TRUE;
1240
+ }
1241
+
1242
+ static void dump_repl(
1243
+ const DEFBUF * dp,
1244
+ FILE * fp,
1245
+ int gcc2_va
1246
+ )
1247
+ /*
1248
+ * Dump replacement text.
1249
+ */
1250
+ {
1251
+ int numargs = dp->nargs;
1252
+ char * cp1;
1253
+ size_t i;
1254
+ int c;
1255
+ const char * cp;
1256
+
1257
+ for (cp = dp->repl; (c = *cp++ & UCHARMAX) != EOS; ) {
1258
+
1259
+ switch (c) {
1260
+ case MAC_PARM: { /* Parameter */
1261
+ PARM parm;
1262
+ c = (*cp++ & UCHARMAX) - 1;
1263
+ parm = parms[ c];
1264
+ if ((numargs & VA_ARGS) && c == (numargs & ~AVA_ARGS) - 1) {
1265
+ mcpp_fputs( gcc2_va ? parm.name : "__VA_ARGS__"
1266
+ , FP2DEST( fp));
1267
+ /* gcc2_va is possible only in STD mode */
1268
+ } else {
1269
+ for (i = 0, cp1 = parm.name; i < parm.len; i++)
1270
+ mcpp_fputc( *cp1++, FP2DEST( fp));
1271
+ }
1272
+ break;
1273
+ }
1274
+ case DEF_MAGIC:
1275
+ /* Else skip */
1276
+ break;
1277
+ case CAT:
1278
+ mcpp_fputs( "##", FP2DEST( fp));
1279
+ break;
1280
+ case ST_QUOTE:
1281
+ mcpp_fputs( "#", FP2DEST( fp));
1282
+ break;
1283
+ case COM_SEP:
1284
+ /*
1285
+ * Though TOK_SEP coincides to COM_SEP, this cannot appear in
1286
+ * Standard mode.
1287
+ */
1288
+ break;
1289
+ default:
1290
+ mcpp_fputc( c, FP2DEST( fp));
1291
+ break;
1292
+ }
1293
+ }
1294
+ }
1295
+
1296
+ /*
1297
+ * If the compiler is so-called "one-pass" compiler, compiler-predefined
1298
+ * macros are commented out to avoid redefinition.
1299
+ */
1300
+ #if ONE_PASS
1301
+ #define CAN_REDEF DEF_NOARGS
1302
+ #else
1303
+ #define CAN_REDEF DEF_NOARGS_PREDEF
1304
+ #endif
1305
+
1306
+ void dump_a_def(
1307
+ const char * why,
1308
+ const DEFBUF * dp,
1309
+ int newdef, /* TRUE if parmnames are currently in parms[] */
1310
+ int comment, /* Show location of the definition in comment */
1311
+ FILE * fp
1312
+ )
1313
+ /*
1314
+ * Dump a macro definition.
1315
+ */
1316
+ {
1317
+ char * cp, * cp1;
1318
+ int numargs = dp->nargs & ~AVA_ARGS;
1319
+ int commented; /* To be commented out */
1320
+ int gcc2_va = FALSE; /* GCC2-spec variadic */
1321
+ int i;
1322
+
1323
+ if (numargs == DEF_PRAGMA) /* _Pragma pseudo-macro */
1324
+ return;
1325
+ if ((numargs < CAN_REDEF) || (dp->push))
1326
+ commented = TRUE;
1327
+ else
1328
+ commented = FALSE;
1329
+ if (! comment && commented) /* For -dM option */
1330
+ return;
1331
+ if (why)
1332
+ mcpp_fprintf( FP2DEST( fp), "%s \"%s\" defined as: ", why, dp->name);
1333
+ mcpp_fprintf( FP2DEST( fp), "%s#define %s", commented ? "/* " : "",
1334
+ dp->name); /* Macro name */
1335
+ if (numargs >= 0) { /* Parameter list */
1336
+ const char * appendix = null;
1337
+ if (! newdef) {
1338
+ /* Make parms[] for dump_repl() */
1339
+ for (i = 0, cp = dp->parmnames; i < numargs;
1340
+ i++, cp = cp1 + 1) {
1341
+ if ((cp1 = strchr( cp, ',')) == NULL) /* The last arg */
1342
+ parms[ i].len = strlen( cp);
1343
+ else
1344
+ parms[ i].len = (size_t) (cp1 - cp);
1345
+ parms[ i].name = cp;
1346
+ }
1347
+ }
1348
+ mcpp_fprintf( FP2DEST( fp), "(%s%s)", dp->parmnames, appendix);
1349
+ }
1350
+ if (*dp->repl) {
1351
+ mcpp_fputc( ' ', FP2DEST( fp));
1352
+ dump_repl( dp, fp, gcc2_va); /* Replacement text */
1353
+ }
1354
+ if (commented)
1355
+ /* Standard predefined or one-pass-compiler-predefined */
1356
+ mcpp_fputs( " */", FP2DEST( fp));
1357
+ if (comment) /* Not -dM option */
1358
+ mcpp_fprintf( FP2DEST( fp), " \t/* %s:%ld\t*/", dp->fname, dp->mline);
1359
+ mcpp_fputc( '\n', FP2DEST( fp));
1360
+ }
1361
+
1362
+ void dump_def(
1363
+ int comment, /* Location of definition in comment */
1364
+ int K_opt /* -K option is specified */
1365
+ )
1366
+ /*
1367
+ * Dump all the current macro definitions to output stream.
1368
+ */
1369
+ {
1370
+ DEFBUF * dp;
1371
+ DEFBUF ** symp;
1372
+
1373
+ sharp( NULL, 0); /* Report the current source file & line */
1374
+ if (comment)
1375
+ mcpp_fputs( "/* Currently defined macros. */\n", OUT);
1376
+ for (symp = symtab; symp < &symtab[ SBSIZE]; symp++) {
1377
+ if ((dp = *symp) != NULL) {
1378
+ do {
1379
+ if (K_opt)
1380
+ mcpp_fprintf( OUT, "/*m%s*/\n", dp->name);
1381
+ else
1382
+ dump_a_def( NULL, dp, FALSE, comment, fp_out);
1383
+ } while ((dp = dp->link) != NULL);
1384
+ }
1385
+ }
1386
+ wrong_line = TRUE; /* Line number is out of sync */
1387
+ }
1388
+
1389
+ void clear_symtable( void)
1390
+ /*
1391
+ * Free all the macro definitions.
1392
+ */
1393
+ {
1394
+ DEFBUF * next;
1395
+ DEFBUF * dp;
1396
+ DEFBUF ** symp;
1397
+
1398
+ for (symp = symtab; symp < &symtab[ SBSIZE]; symp++) {
1399
+ for (next = *symp; next != NULL; ) {
1400
+ dp = next;
1401
+ next = dp->link;
1402
+ free( dp); /* Free the symbol */
1403
+ }
1404
+ *symp = NULL;
1405
+ }
1406
+ }
1407
+