embeditor-rails 1.1.1 → 2.0.0.beta

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1029) hide show
  1. data/README.md +25 -17
  2. data/app/assets/javascripts/embeditor/adapter.js.coffee +21 -2
  3. data/app/assets/javascripts/embeditor/adapters/embedly.js.coffee +4 -40
  4. data/app/assets/javascripts/embeditor/adapters/oembed.js.coffee +37 -2
  5. data/app/assets/javascripts/embeditor/embeditor.js.coffee +16 -4
  6. data/lib/embeditor-rails/version.rb +1 -1
  7. data/lib/node_modules/npm/AUTHORS +158 -0
  8. data/lib/node_modules/npm/CONTRIBUTING.md +9 -0
  9. data/lib/node_modules/npm/LICENSE +235 -0
  10. data/lib/node_modules/npm/Makefile +216 -0
  11. data/lib/node_modules/npm/README.md +241 -0
  12. data/lib/node_modules/npm/bin/node-gyp-bin/node-gyp +2 -0
  13. data/lib/node_modules/npm/bin/node-gyp-bin/node-gyp.cmd +1 -0
  14. data/lib/node_modules/npm/bin/npm +13 -0
  15. data/lib/node_modules/npm/bin/npm-cli.js +87 -0
  16. data/lib/node_modules/npm/bin/npm.cmd +6 -0
  17. data/lib/node_modules/npm/bin/read-package-json.js +22 -0
  18. data/lib/node_modules/npm/cli.js +2 -0
  19. data/lib/node_modules/npm/configure +33 -0
  20. data/lib/node_modules/npm/doc/api/npm-bin.md +13 -0
  21. data/lib/node_modules/npm/doc/api/npm-bugs.md +19 -0
  22. data/lib/node_modules/npm/doc/api/npm-commands.md +22 -0
  23. data/lib/node_modules/npm/doc/api/npm-config.md +45 -0
  24. data/lib/node_modules/npm/doc/api/npm-deprecate.md +34 -0
  25. data/lib/node_modules/npm/doc/api/npm-docs.md +19 -0
  26. data/lib/node_modules/npm/doc/api/npm-edit.md +24 -0
  27. data/lib/node_modules/npm/doc/api/npm-explore.md +18 -0
  28. data/lib/node_modules/npm/doc/api/npm-help-search.md +30 -0
  29. data/lib/node_modules/npm/doc/api/npm-init.md +29 -0
  30. data/lib/node_modules/npm/doc/api/npm-install.md +19 -0
  31. data/lib/node_modules/npm/doc/api/npm-link.md +33 -0
  32. data/lib/node_modules/npm/doc/api/npm-load.md +26 -0
  33. data/lib/node_modules/npm/doc/api/npm-ls.md +56 -0
  34. data/lib/node_modules/npm/doc/api/npm-outdated.md +13 -0
  35. data/lib/node_modules/npm/doc/api/npm-owner.md +31 -0
  36. data/lib/node_modules/npm/doc/api/npm-pack.md +19 -0
  37. data/lib/node_modules/npm/doc/api/npm-prefix.md +15 -0
  38. data/lib/node_modules/npm/doc/api/npm-prune.md +17 -0
  39. data/lib/node_modules/npm/doc/api/npm-publish.md +30 -0
  40. data/lib/node_modules/npm/doc/api/npm-rebuild.md +16 -0
  41. data/lib/node_modules/npm/doc/api/npm-repo.md +19 -0
  42. data/lib/node_modules/npm/doc/api/npm-restart.md +22 -0
  43. data/lib/node_modules/npm/doc/api/npm-root.md +15 -0
  44. data/lib/node_modules/npm/doc/api/npm-run-script.md +27 -0
  45. data/lib/node_modules/npm/doc/api/npm-search.md +35 -0
  46. data/lib/node_modules/npm/doc/api/npm-shrinkwrap.md +20 -0
  47. data/lib/node_modules/npm/doc/api/npm-start.md +13 -0
  48. data/lib/node_modules/npm/doc/api/npm-stop.md +13 -0
  49. data/lib/node_modules/npm/doc/api/npm-submodule.md +28 -0
  50. data/lib/node_modules/npm/doc/api/npm-tag.md +23 -0
  51. data/lib/node_modules/npm/doc/api/npm-test.md +16 -0
  52. data/lib/node_modules/npm/doc/api/npm-uninstall.md +16 -0
  53. data/lib/node_modules/npm/doc/api/npm-unpublish.md +20 -0
  54. data/lib/node_modules/npm/doc/api/npm-update.md +11 -0
  55. data/lib/node_modules/npm/doc/api/npm-version.md +18 -0
  56. data/lib/node_modules/npm/doc/api/npm-view.md +93 -0
  57. data/lib/node_modules/npm/doc/api/npm-whoami.md +15 -0
  58. data/lib/node_modules/npm/doc/api/npm.md +116 -0
  59. data/lib/node_modules/npm/doc/cli/npm-adduser.md +38 -0
  60. data/lib/node_modules/npm/doc/cli/npm-bin.md +19 -0
  61. data/lib/node_modules/npm/doc/cli/npm-bugs.md +42 -0
  62. data/lib/node_modules/npm/doc/cli/npm-build.md +22 -0
  63. data/lib/node_modules/npm/doc/cli/npm-bundle.md +14 -0
  64. data/lib/node_modules/npm/doc/cli/npm-cache.md +72 -0
  65. data/lib/node_modules/npm/doc/cli/npm-completion.md +29 -0
  66. data/lib/node_modules/npm/doc/cli/npm-config.md +71 -0
  67. data/lib/node_modules/npm/doc/cli/npm-dedupe.md +58 -0
  68. data/lib/node_modules/npm/doc/cli/npm-deprecate.md +26 -0
  69. data/lib/node_modules/npm/doc/cli/npm-docs.md +44 -0
  70. data/lib/node_modules/npm/doc/cli/npm-edit.md +37 -0
  71. data/lib/node_modules/npm/doc/cli/npm-explore.md +40 -0
  72. data/lib/node_modules/npm/doc/cli/npm-help-search.md +35 -0
  73. data/lib/node_modules/npm/doc/cli/npm-help.md +40 -0
  74. data/lib/node_modules/npm/doc/cli/npm-init.md +25 -0
  75. data/lib/node_modules/npm/doc/cli/npm-install.md +252 -0
  76. data/lib/node_modules/npm/doc/cli/npm-link.md +63 -0
  77. data/lib/node_modules/npm/doc/cli/npm-ls.md +80 -0
  78. data/lib/node_modules/npm/doc/cli/npm-outdated.md +58 -0
  79. data/lib/node_modules/npm/doc/cli/npm-owner.md +33 -0
  80. data/lib/node_modules/npm/doc/cli/npm-pack.md +27 -0
  81. data/lib/node_modules/npm/doc/cli/npm-prefix.md +19 -0
  82. data/lib/node_modules/npm/doc/cli/npm-prune.md +25 -0
  83. data/lib/node_modules/npm/doc/cli/npm-publish.md +30 -0
  84. data/lib/node_modules/npm/doc/cli/npm-rebuild.md +21 -0
  85. data/lib/node_modules/npm/doc/cli/npm-repo.md +28 -0
  86. data/lib/node_modules/npm/doc/cli/npm-restart.md +22 -0
  87. data/lib/node_modules/npm/doc/cli/npm-rm.md +23 -0
  88. data/lib/node_modules/npm/doc/cli/npm-root.md +19 -0
  89. data/lib/node_modules/npm/doc/cli/npm-run-script.md +21 -0
  90. data/lib/node_modules/npm/doc/cli/npm-search.md +36 -0
  91. data/lib/node_modules/npm/doc/cli/npm-shrinkwrap.md +185 -0
  92. data/lib/node_modules/npm/doc/cli/npm-star.md +22 -0
  93. data/lib/node_modules/npm/doc/cli/npm-stars.md +22 -0
  94. data/lib/node_modules/npm/doc/cli/npm-start.md +18 -0
  95. data/lib/node_modules/npm/doc/cli/npm-stop.md +18 -0
  96. data/lib/node_modules/npm/doc/cli/npm-submodule.md +28 -0
  97. data/lib/node_modules/npm/doc/cli/npm-tag.md +34 -0
  98. data/lib/node_modules/npm/doc/cli/npm-test.md +22 -0
  99. data/lib/node_modules/npm/doc/cli/npm-uninstall.md +21 -0
  100. data/lib/node_modules/npm/doc/cli/npm-unpublish.md +32 -0
  101. data/lib/node_modules/npm/doc/cli/npm-update.md +24 -0
  102. data/lib/node_modules/npm/doc/cli/npm-version.md +45 -0
  103. data/lib/node_modules/npm/doc/cli/npm-view.md +90 -0
  104. data/lib/node_modules/npm/doc/cli/npm-whoami.md +17 -0
  105. data/lib/node_modules/npm/doc/cli/npm.md +153 -0
  106. data/lib/node_modules/npm/doc/files/npm-folders.md +211 -0
  107. data/lib/node_modules/npm/doc/files/npmrc.md +59 -0
  108. data/lib/node_modules/npm/doc/files/package.json.md +576 -0
  109. data/lib/node_modules/npm/doc/misc/npm-coding-style.md +181 -0
  110. data/lib/node_modules/npm/doc/misc/npm-config.md +820 -0
  111. data/lib/node_modules/npm/doc/misc/npm-developers.md +207 -0
  112. data/lib/node_modules/npm/doc/misc/npm-disputes.md +99 -0
  113. data/lib/node_modules/npm/doc/misc/npm-faq.md +364 -0
  114. data/lib/node_modules/npm/doc/misc/npm-index.md +411 -0
  115. data/lib/node_modules/npm/doc/misc/npm-registry.md +69 -0
  116. data/lib/node_modules/npm/doc/misc/npm-scripts.md +245 -0
  117. data/lib/node_modules/npm/doc/misc/removing-npm.md +54 -0
  118. data/lib/node_modules/npm/doc/misc/semver.md +111 -0
  119. data/lib/node_modules/npm/html/doc/README.html +276 -0
  120. data/lib/node_modules/npm/html/doc/api/npm-bin.html +53 -0
  121. data/lib/node_modules/npm/html/doc/api/npm-bugs.html +59 -0
  122. data/lib/node_modules/npm/html/doc/api/npm-commands.html +62 -0
  123. data/lib/node_modules/npm/html/doc/api/npm-config.html +67 -0
  124. data/lib/node_modules/npm/html/doc/api/npm-deprecate.html +66 -0
  125. data/lib/node_modules/npm/html/doc/api/npm-docs.html +59 -0
  126. data/lib/node_modules/npm/html/doc/api/npm-edit.html +64 -0
  127. data/lib/node_modules/npm/html/doc/api/npm-explore.html +58 -0
  128. data/lib/node_modules/npm/html/doc/api/npm-help-search.html +66 -0
  129. data/lib/node_modules/npm/html/doc/api/npm-init.html +69 -0
  130. data/lib/node_modules/npm/html/doc/api/npm-install.html +59 -0
  131. data/lib/node_modules/npm/html/doc/api/npm-link.html +73 -0
  132. data/lib/node_modules/npm/html/doc/api/npm-load.html +66 -0
  133. data/lib/node_modules/npm/html/doc/api/npm-ls.html +93 -0
  134. data/lib/node_modules/npm/html/doc/api/npm-outdated.html +53 -0
  135. data/lib/node_modules/npm/html/doc/api/npm-owner.html +68 -0
  136. data/lib/node_modules/npm/html/doc/api/npm-pack.html +59 -0
  137. data/lib/node_modules/npm/html/doc/api/npm-prefix.html +55 -0
  138. data/lib/node_modules/npm/html/doc/api/npm-prune.html +57 -0
  139. data/lib/node_modules/npm/html/doc/api/npm-publish.html +66 -0
  140. data/lib/node_modules/npm/html/doc/api/npm-rebuild.html +56 -0
  141. data/lib/node_modules/npm/html/doc/api/npm-repo.html +59 -0
  142. data/lib/node_modules/npm/html/doc/api/npm-restart.html +61 -0
  143. data/lib/node_modules/npm/html/doc/api/npm-root.html +55 -0
  144. data/lib/node_modules/npm/html/doc/api/npm-run-script.html +63 -0
  145. data/lib/node_modules/npm/html/doc/api/npm-search.html +66 -0
  146. data/lib/node_modules/npm/html/doc/api/npm-shrinkwrap.html +60 -0
  147. data/lib/node_modules/npm/html/doc/api/npm-start.html +53 -0
  148. data/lib/node_modules/npm/html/doc/api/npm-stop.html +53 -0
  149. data/lib/node_modules/npm/html/doc/api/npm-submodule.html +67 -0
  150. data/lib/node_modules/npm/html/doc/api/npm-tag.html +63 -0
  151. data/lib/node_modules/npm/html/doc/api/npm-test.html +56 -0
  152. data/lib/node_modules/npm/html/doc/api/npm-uninstall.html +56 -0
  153. data/lib/node_modules/npm/html/doc/api/npm-unpublish.html +60 -0
  154. data/lib/node_modules/npm/html/doc/api/npm-update.html +52 -0
  155. data/lib/node_modules/npm/html/doc/api/npm-version.html +58 -0
  156. data/lib/node_modules/npm/html/doc/api/npm-view.html +133 -0
  157. data/lib/node_modules/npm/html/doc/api/npm-whoami.html +55 -0
  158. data/lib/node_modules/npm/html/doc/api/npm.html +126 -0
  159. data/lib/node_modules/npm/html/doc/cli/npm-adduser.html +73 -0
  160. data/lib/node_modules/npm/html/doc/cli/npm-bin.html +54 -0
  161. data/lib/node_modules/npm/html/doc/cli/npm-bugs.html +72 -0
  162. data/lib/node_modules/npm/html/doc/cli/npm-build.html +59 -0
  163. data/lib/node_modules/npm/html/doc/cli/npm-bundle.html +54 -0
  164. data/lib/node_modules/npm/html/doc/cli/npm-cache.html +100 -0
  165. data/lib/node_modules/npm/html/doc/cli/npm-completion.html +67 -0
  166. data/lib/node_modules/npm/html/doc/cli/npm-config.html +107 -0
  167. data/lib/node_modules/npm/html/doc/cli/npm-dedupe.html +96 -0
  168. data/lib/node_modules/npm/html/doc/cli/npm-deprecate.html +65 -0
  169. data/lib/node_modules/npm/html/doc/cli/npm-docs.html +75 -0
  170. data/lib/node_modules/npm/html/doc/cli/npm-edit.html +71 -0
  171. data/lib/node_modules/npm/html/doc/cli/npm-explore.html +74 -0
  172. data/lib/node_modules/npm/html/doc/cli/npm-help-search.html +72 -0
  173. data/lib/node_modules/npm/html/doc/cli/npm-help.html +70 -0
  174. data/lib/node_modules/npm/html/doc/cli/npm-init.html +63 -0
  175. data/lib/node_modules/npm/html/doc/cli/npm-install.html +183 -0
  176. data/lib/node_modules/npm/html/doc/cli/npm-link.html +96 -0
  177. data/lib/node_modules/npm/html/doc/cli/npm-ls.html +108 -0
  178. data/lib/node_modules/npm/html/doc/cli/npm-outdated.html +92 -0
  179. data/lib/node_modules/npm/html/doc/cli/npm-owner.html +68 -0
  180. data/lib/node_modules/npm/html/doc/cli/npm-pack.html +63 -0
  181. data/lib/node_modules/npm/html/doc/cli/npm-prefix.html +54 -0
  182. data/lib/node_modules/npm/html/doc/cli/npm-prune.html +63 -0
  183. data/lib/node_modules/npm/html/doc/cli/npm-publish.html +63 -0
  184. data/lib/node_modules/npm/html/doc/cli/npm-rebuild.html +60 -0
  185. data/lib/node_modules/npm/html/doc/cli/npm-repo.html +66 -0
  186. data/lib/node_modules/npm/html/doc/cli/npm-restart.html +58 -0
  187. data/lib/node_modules/npm/html/doc/cli/npm-rm.html +58 -0
  188. data/lib/node_modules/npm/html/doc/cli/npm-root.html +54 -0
  189. data/lib/node_modules/npm/html/doc/cli/npm-run-script.html +57 -0
  190. data/lib/node_modules/npm/html/doc/cli/npm-search.html +71 -0
  191. data/lib/node_modules/npm/html/doc/cli/npm-shrinkwrap.html +217 -0
  192. data/lib/node_modules/npm/html/doc/cli/npm-star.html +60 -0
  193. data/lib/node_modules/npm/html/doc/cli/npm-stars.html +59 -0
  194. data/lib/node_modules/npm/html/doc/cli/npm-start.html +54 -0
  195. data/lib/node_modules/npm/html/doc/cli/npm-stop.html +54 -0
  196. data/lib/node_modules/npm/html/doc/cli/npm-submodule.html +67 -0
  197. data/lib/node_modules/npm/html/doc/cli/npm-tag.html +68 -0
  198. data/lib/node_modules/npm/html/doc/cli/npm-test.html +58 -0
  199. data/lib/node_modules/npm/html/doc/cli/npm-uninstall.html +56 -0
  200. data/lib/node_modules/npm/html/doc/cli/npm-unpublish.html +68 -0
  201. data/lib/node_modules/npm/html/doc/cli/npm-update.html +60 -0
  202. data/lib/node_modules/npm/html/doc/cli/npm-version.html +83 -0
  203. data/lib/node_modules/npm/html/doc/cli/npm-view.html +125 -0
  204. data/lib/node_modules/npm/html/doc/cli/npm-whoami.html +54 -0
  205. data/lib/node_modules/npm/html/doc/cli/npm.html +165 -0
  206. data/lib/node_modules/npm/html/doc/files/npm-folders.html +239 -0
  207. data/lib/node_modules/npm/html/doc/files/npm-global.html +239 -0
  208. data/lib/node_modules/npm/html/doc/files/npm-json.html +580 -0
  209. data/lib/node_modules/npm/html/doc/files/npmrc.html +93 -0
  210. data/lib/node_modules/npm/html/doc/files/package.json.html +580 -0
  211. data/lib/node_modules/npm/html/doc/index.html +450 -0
  212. data/lib/node_modules/npm/html/doc/misc/npm-coding-style.html +216 -0
  213. data/lib/node_modules/npm/html/doc/misc/npm-config.html +744 -0
  214. data/lib/node_modules/npm/html/doc/misc/npm-developers.html +208 -0
  215. data/lib/node_modules/npm/html/doc/misc/npm-disputes.html +126 -0
  216. data/lib/node_modules/npm/html/doc/misc/npm-faq.html +382 -0
  217. data/lib/node_modules/npm/html/doc/misc/npm-index.html +450 -0
  218. data/lib/node_modules/npm/html/doc/misc/npm-registry.html +105 -0
  219. data/lib/node_modules/npm/html/doc/misc/npm-scripts.html +257 -0
  220. data/lib/node_modules/npm/html/doc/misc/removing-npm.html +92 -0
  221. data/lib/node_modules/npm/html/doc/misc/semver.html +128 -0
  222. data/lib/node_modules/npm/html/docfoot-script.html +31 -0
  223. data/lib/node_modules/npm/html/docfoot.html +2 -0
  224. data/lib/node_modules/npm/html/dochead.html +8 -0
  225. data/lib/node_modules/npm/html/favicon.ico +0 -0
  226. data/lib/node_modules/npm/html/index.html +95 -0
  227. data/lib/node_modules/npm/html/static/style.css +329 -0
  228. data/lib/node_modules/npm/lib/adduser.js +138 -0
  229. data/lib/node_modules/npm/lib/bin.js +18 -0
  230. data/lib/node_modules/npm/lib/bugs.js +61 -0
  231. data/lib/node_modules/npm/lib/build.js +228 -0
  232. data/lib/node_modules/npm/lib/cache.js +1318 -0
  233. data/lib/node_modules/npm/lib/completion.js +253 -0
  234. data/lib/node_modules/npm/lib/config.js +285 -0
  235. data/lib/node_modules/npm/lib/dedupe.js +357 -0
  236. data/lib/node_modules/npm/lib/deprecate.js +47 -0
  237. data/lib/node_modules/npm/lib/docs.js +62 -0
  238. data/lib/node_modules/npm/lib/edit.js +32 -0
  239. data/lib/node_modules/npm/lib/explore.js +36 -0
  240. data/lib/node_modules/npm/lib/faq.js +8 -0
  241. data/lib/node_modules/npm/lib/get.js +12 -0
  242. data/lib/node_modules/npm/lib/help-search.js +218 -0
  243. data/lib/node_modules/npm/lib/help.js +231 -0
  244. data/lib/node_modules/npm/lib/init.js +36 -0
  245. data/lib/node_modules/npm/lib/install.js +979 -0
  246. data/lib/node_modules/npm/lib/link.js +173 -0
  247. data/lib/node_modules/npm/lib/ls.js +357 -0
  248. data/lib/node_modules/npm/lib/npm.js +528 -0
  249. data/lib/node_modules/npm/lib/outdated.js +303 -0
  250. data/lib/node_modules/npm/lib/owner.js +205 -0
  251. data/lib/node_modules/npm/lib/pack.js +65 -0
  252. data/lib/node_modules/npm/lib/prefix.js +11 -0
  253. data/lib/node_modules/npm/lib/prune.js +53 -0
  254. data/lib/node_modules/npm/lib/publish.js +118 -0
  255. data/lib/node_modules/npm/lib/rebuild.js +75 -0
  256. data/lib/node_modules/npm/lib/repo.js +54 -0
  257. data/lib/node_modules/npm/lib/restart.js +1 -0
  258. data/lib/node_modules/npm/lib/root.js +11 -0
  259. data/lib/node_modules/npm/lib/run-script.js +102 -0
  260. data/lib/node_modules/npm/lib/search.js +265 -0
  261. data/lib/node_modules/npm/lib/set.js +13 -0
  262. data/lib/node_modules/npm/lib/shrinkwrap.js +86 -0
  263. data/lib/node_modules/npm/lib/star.js +33 -0
  264. data/lib/node_modules/npm/lib/stars.js +27 -0
  265. data/lib/node_modules/npm/lib/start.js +1 -0
  266. data/lib/node_modules/npm/lib/stop.js +1 -0
  267. data/lib/node_modules/npm/lib/submodule.js +119 -0
  268. data/lib/node_modules/npm/lib/substack.js +20 -0
  269. data/lib/node_modules/npm/lib/tag.js +18 -0
  270. data/lib/node_modules/npm/lib/test.js +14 -0
  271. data/lib/node_modules/npm/lib/unbuild.js +112 -0
  272. data/lib/node_modules/npm/lib/uninstall.js +127 -0
  273. data/lib/node_modules/npm/lib/unpublish.js +83 -0
  274. data/lib/node_modules/npm/lib/update.js +43 -0
  275. data/lib/node_modules/npm/lib/utils/completion.sh +54 -0
  276. data/lib/node_modules/npm/lib/utils/completion/file-completion.js +26 -0
  277. data/lib/node_modules/npm/lib/utils/completion/installed-deep.js +50 -0
  278. data/lib/node_modules/npm/lib/utils/completion/installed-shallow.js +79 -0
  279. data/lib/node_modules/npm/lib/utils/error-handler.js +343 -0
  280. data/lib/node_modules/npm/lib/utils/fetch.js +93 -0
  281. data/lib/node_modules/npm/lib/utils/find-prefix.js +57 -0
  282. data/lib/node_modules/npm/lib/utils/gently-rm.js +61 -0
  283. data/lib/node_modules/npm/lib/utils/is-git-url.js +13 -0
  284. data/lib/node_modules/npm/lib/utils/lifecycle.js +360 -0
  285. data/lib/node_modules/npm/lib/utils/link.js +39 -0
  286. data/lib/node_modules/npm/lib/utils/tar.js +323 -0
  287. data/lib/node_modules/npm/lib/version.js +120 -0
  288. data/lib/node_modules/npm/lib/view.js +246 -0
  289. data/lib/node_modules/npm/lib/visnup.js +42 -0
  290. data/lib/node_modules/npm/lib/whoami.js +13 -0
  291. data/lib/node_modules/npm/lib/xmas.js +56 -0
  292. data/lib/node_modules/npm/make.bat +3 -0
  293. data/lib/node_modules/npm/man/man1/npm-README.1 +328 -0
  294. data/lib/node_modules/npm/man/man1/npm-adduser.1 +63 -0
  295. data/lib/node_modules/npm/man/man1/npm-bin.1 +40 -0
  296. data/lib/node_modules/npm/man/man1/npm-bugs.1 +78 -0
  297. data/lib/node_modules/npm/man/man1/npm-build.1 +43 -0
  298. data/lib/node_modules/npm/man/man1/npm-bundle.1 +23 -0
  299. data/lib/node_modules/npm/man/man1/npm-cache.1 +104 -0
  300. data/lib/node_modules/npm/man/man1/npm-completion.1 +47 -0
  301. data/lib/node_modules/npm/man/man1/npm-config.1 +113 -0
  302. data/lib/node_modules/npm/man/man1/npm-dedupe.1 +96 -0
  303. data/lib/node_modules/npm/man/man1/npm-deprecate.1 +48 -0
  304. data/lib/node_modules/npm/man/man1/npm-docs.1 +78 -0
  305. data/lib/node_modules/npm/man/man1/npm-edit.1 +66 -0
  306. data/lib/node_modules/npm/man/man1/npm-explore.1 +76 -0
  307. data/lib/node_modules/npm/man/man1/npm-help-search.1 +59 -0
  308. data/lib/node_modules/npm/man/man1/npm-help.1 +77 -0
  309. data/lib/node_modules/npm/man/man1/npm-init.1 +43 -0
  310. data/lib/node_modules/npm/man/man1/npm-install.1 +434 -0
  311. data/lib/node_modules/npm/man/man1/npm-link.1 +119 -0
  312. data/lib/node_modules/npm/man/man1/npm-ls.1 +146 -0
  313. data/lib/node_modules/npm/man/man1/npm-outdated.1 +102 -0
  314. data/lib/node_modules/npm/man/man1/npm-owner.1 +58 -0
  315. data/lib/node_modules/npm/man/man1/npm-pack.1 +48 -0
  316. data/lib/node_modules/npm/man/man1/npm-prefix.1 +40 -0
  317. data/lib/node_modules/npm/man/man1/npm-prune.1 +42 -0
  318. data/lib/node_modules/npm/man/man1/npm-publish.1 +53 -0
  319. data/lib/node_modules/npm/man/man1/npm-rebuild.1 +37 -0
  320. data/lib/node_modules/npm/man/man1/npm-repo.1 +47 -0
  321. data/lib/node_modules/npm/man/man1/npm-restart.1 +42 -0
  322. data/lib/node_modules/npm/man/man1/npm-rm.1 +44 -0
  323. data/lib/node_modules/npm/man/man1/npm-root.1 +40 -0
  324. data/lib/node_modules/npm/man/man1/npm-run-script.1 +41 -0
  325. data/lib/node_modules/npm/man/man1/npm-search.1 +62 -0
  326. data/lib/node_modules/npm/man/man1/npm-shrinkwrap.1 +275 -0
  327. data/lib/node_modules/npm/man/man1/npm-star.1 +39 -0
  328. data/lib/node_modules/npm/man/man1/npm-stars.1 +40 -0
  329. data/lib/node_modules/npm/man/man1/npm-start.1 +37 -0
  330. data/lib/node_modules/npm/man/man1/npm-stop.1 +37 -0
  331. data/lib/node_modules/npm/man/man1/npm-submodule.1 +42 -0
  332. data/lib/node_modules/npm/man/man1/npm-tag.1 +74 -0
  333. data/lib/node_modules/npm/man/man1/npm-test.1 +42 -0
  334. data/lib/node_modules/npm/man/man1/npm-uninstall.1 +42 -0
  335. data/lib/node_modules/npm/man/man1/npm-unpublish.1 +53 -0
  336. data/lib/node_modules/npm/man/man1/npm-update.1 +45 -0
  337. data/lib/node_modules/npm/man/man1/npm-version.1 +75 -0
  338. data/lib/node_modules/npm/man/man1/npm-view.1 +186 -0
  339. data/lib/node_modules/npm/man/man1/npm-whoami.1 +34 -0
  340. data/lib/node_modules/npm/man/man1/npm.1 +230 -0
  341. data/lib/node_modules/npm/man/man3/npm-bin.3 +21 -0
  342. data/lib/node_modules/npm/man/man3/npm-bugs.3 +28 -0
  343. data/lib/node_modules/npm/man/man3/npm-commands.3 +35 -0
  344. data/lib/node_modules/npm/man/man3/npm-config.3 +69 -0
  345. data/lib/node_modules/npm/man/man3/npm-deprecate.3 +57 -0
  346. data/lib/node_modules/npm/man/man3/npm-docs.3 +28 -0
  347. data/lib/node_modules/npm/man/man3/npm-edit.3 +35 -0
  348. data/lib/node_modules/npm/man/man3/npm-explore.3 +28 -0
  349. data/lib/node_modules/npm/man/man3/npm-help-search.3 +51 -0
  350. data/lib/node_modules/npm/man/man3/npm-init.3 +39 -0
  351. data/lib/node_modules/npm/man/man3/npm-install.3 +29 -0
  352. data/lib/node_modules/npm/man/man3/npm-link.3 +53 -0
  353. data/lib/node_modules/npm/man/man3/npm-load.3 +44 -0
  354. data/lib/node_modules/npm/man/man3/npm-ls.3 +86 -0
  355. data/lib/node_modules/npm/man/man3/npm-outdated.3 +21 -0
  356. data/lib/node_modules/npm/man/man3/npm-owner.3 +52 -0
  357. data/lib/node_modules/npm/man/man3/npm-pack.3 +28 -0
  358. data/lib/node_modules/npm/man/man3/npm-prefix.3 +24 -0
  359. data/lib/node_modules/npm/man/man3/npm-prune.3 +27 -0
  360. data/lib/node_modules/npm/man/man3/npm-publish.3 +51 -0
  361. data/lib/node_modules/npm/man/man3/npm-rebuild.3 +22 -0
  362. data/lib/node_modules/npm/man/man3/npm-repo.3 +28 -0
  363. data/lib/node_modules/npm/man/man3/npm-restart.3 +37 -0
  364. data/lib/node_modules/npm/man/man3/npm-root.3 +24 -0
  365. data/lib/node_modules/npm/man/man3/npm-run-script.3 +48 -0
  366. data/lib/node_modules/npm/man/man3/npm-search.3 +64 -0
  367. data/lib/node_modules/npm/man/man3/npm-shrinkwrap.3 +30 -0
  368. data/lib/node_modules/npm/man/man3/npm-start.3 +21 -0
  369. data/lib/node_modules/npm/man/man3/npm-stop.3 +21 -0
  370. data/lib/node_modules/npm/man/man3/npm-submodule.3 +42 -0
  371. data/lib/node_modules/npm/man/man3/npm-tag.3 +31 -0
  372. data/lib/node_modules/npm/man/man3/npm-test.3 +25 -0
  373. data/lib/node_modules/npm/man/man3/npm-uninstall.3 +25 -0
  374. data/lib/node_modules/npm/man/man3/npm-unpublish.3 +30 -0
  375. data/lib/node_modules/npm/man/man3/npm-update.3 +18 -0
  376. data/lib/node_modules/npm/man/man3/npm-version.3 +27 -0
  377. data/lib/node_modules/npm/man/man3/npm-view.3 +176 -0
  378. data/lib/node_modules/npm/man/man3/npm-whoami.3 +24 -0
  379. data/lib/node_modules/npm/man/man3/npm.3 +162 -0
  380. data/lib/node_modules/npm/man/man5/npm-folders.5 +264 -0
  381. data/lib/node_modules/npm/man/man5/npm-global.5 +264 -0
  382. data/lib/node_modules/npm/man/man5/npm-json.5 +807 -0
  383. data/lib/node_modules/npm/man/man5/npmrc.5 +89 -0
  384. data/lib/node_modules/npm/man/man5/package.json.5 +807 -0
  385. data/lib/node_modules/npm/man/man7/npm-coding-style.7 +254 -0
  386. data/lib/node_modules/npm/man/man7/npm-config.7 +1445 -0
  387. data/lib/node_modules/npm/man/man7/npm-developers.7 +335 -0
  388. data/lib/node_modules/npm/man/man7/npm-disputes.7 +146 -0
  389. data/lib/node_modules/npm/man/man7/npm-faq.7 +479 -0
  390. data/lib/node_modules/npm/man/man7/npm-index.7 +307 -0
  391. data/lib/node_modules/npm/man/man7/npm-registry.7 +82 -0
  392. data/lib/node_modules/npm/man/man7/npm-scripts.7 +354 -0
  393. data/lib/node_modules/npm/man/man7/removing-npm.7 +107 -0
  394. data/lib/node_modules/npm/man/man7/semver.7 +172 -0
  395. data/lib/node_modules/npm/node_modules/abbrev/LICENSE +23 -0
  396. data/lib/node_modules/npm/node_modules/abbrev/README.md +23 -0
  397. data/lib/node_modules/npm/node_modules/abbrev/lib/abbrev.js +111 -0
  398. data/lib/node_modules/npm/node_modules/abbrev/package.json +25 -0
  399. data/lib/node_modules/npm/node_modules/ansi/README.md +91 -0
  400. data/lib/node_modules/npm/node_modules/ansi/color-spaces.pl +67 -0
  401. data/lib/node_modules/npm/node_modules/ansi/examples/beep/index.js +16 -0
  402. data/lib/node_modules/npm/node_modules/ansi/examples/clear/index.js +15 -0
  403. data/lib/node_modules/npm/node_modules/ansi/examples/cursorPosition.js +32 -0
  404. data/lib/node_modules/npm/node_modules/ansi/examples/progress/index.js +87 -0
  405. data/lib/node_modules/npm/node_modules/ansi/examples/starwars.js +46 -0
  406. data/lib/node_modules/npm/node_modules/ansi/lib/ansi.js +405 -0
  407. data/lib/node_modules/npm/node_modules/ansi/lib/newlines.js +71 -0
  408. data/lib/node_modules/npm/node_modules/ansi/package.json +50 -0
  409. data/lib/node_modules/npm/node_modules/ansicolors/LICENSE +23 -0
  410. data/lib/node_modules/npm/node_modules/ansicolors/README.md +62 -0
  411. data/lib/node_modules/npm/node_modules/ansicolors/ansicolors.js +65 -0
  412. data/lib/node_modules/npm/node_modules/ansicolors/package.json +34 -0
  413. data/lib/node_modules/npm/node_modules/ansistyles/LICENSE +23 -0
  414. data/lib/node_modules/npm/node_modules/ansistyles/README.md +71 -0
  415. data/lib/node_modules/npm/node_modules/ansistyles/ansistyles.js +38 -0
  416. data/lib/node_modules/npm/node_modules/ansistyles/package.json +38 -0
  417. data/lib/node_modules/npm/node_modules/archy/README.markdown +92 -0
  418. data/lib/node_modules/npm/node_modules/archy/index.js +35 -0
  419. data/lib/node_modules/npm/node_modules/archy/package.json +52 -0
  420. data/lib/node_modules/npm/node_modules/block-stream/LICENCE +25 -0
  421. data/lib/node_modules/npm/node_modules/block-stream/README.md +14 -0
  422. data/lib/node_modules/npm/node_modules/block-stream/bench/block-stream-pause.js +70 -0
  423. data/lib/node_modules/npm/node_modules/block-stream/bench/block-stream.js +68 -0
  424. data/lib/node_modules/npm/node_modules/block-stream/bench/dropper-pause.js +70 -0
  425. data/lib/node_modules/npm/node_modules/block-stream/bench/dropper.js +68 -0
  426. data/lib/node_modules/npm/node_modules/block-stream/block-stream.js +209 -0
  427. data/lib/node_modules/npm/node_modules/block-stream/package.json +35 -0
  428. data/lib/node_modules/npm/node_modules/child-process-close/README.md +45 -0
  429. data/lib/node_modules/npm/node_modules/child-process-close/index.js +48 -0
  430. data/lib/node_modules/npm/node_modules/child-process-close/package.json +37 -0
  431. data/lib/node_modules/npm/node_modules/chmodr/LICENSE +27 -0
  432. data/lib/node_modules/npm/node_modules/chmodr/README.md +3 -0
  433. data/lib/node_modules/npm/node_modules/chmodr/chmodr.js +54 -0
  434. data/lib/node_modules/npm/node_modules/chmodr/package.json +28 -0
  435. data/lib/node_modules/npm/node_modules/chownr/LICENCE +25 -0
  436. data/lib/node_modules/npm/node_modules/chownr/README.md +3 -0
  437. data/lib/node_modules/npm/node_modules/chownr/chownr.js +41 -0
  438. data/lib/node_modules/npm/node_modules/chownr/package.json +42 -0
  439. data/lib/node_modules/npm/node_modules/cmd-shim/LICENSE +27 -0
  440. data/lib/node_modules/npm/node_modules/cmd-shim/README.md +42 -0
  441. data/lib/node_modules/npm/node_modules/cmd-shim/index.js +180 -0
  442. data/lib/node_modules/npm/node_modules/cmd-shim/package.json +35 -0
  443. data/lib/node_modules/npm/node_modules/columnify/Readme.md +189 -0
  444. data/lib/node_modules/npm/node_modules/columnify/index.js +210 -0
  445. data/lib/node_modules/npm/node_modules/columnify/package.json +42 -0
  446. data/lib/node_modules/npm/node_modules/columnify/utils.js +76 -0
  447. data/lib/node_modules/npm/node_modules/editor/LICENSE +18 -0
  448. data/lib/node_modules/npm/node_modules/editor/README.markdown +54 -0
  449. data/lib/node_modules/npm/node_modules/editor/example/beep.json +5 -0
  450. data/lib/node_modules/npm/node_modules/editor/example/edit.js +4 -0
  451. data/lib/node_modules/npm/node_modules/editor/index.js +26 -0
  452. data/lib/node_modules/npm/node_modules/editor/package.json +43 -0
  453. data/lib/node_modules/npm/node_modules/fstream-npm/LICENCE +25 -0
  454. data/lib/node_modules/npm/node_modules/fstream-npm/README.md +18 -0
  455. data/lib/node_modules/npm/node_modules/fstream-npm/example/bundle.js +13 -0
  456. data/lib/node_modules/npm/node_modules/fstream-npm/example/dir-tar.js +19 -0
  457. data/lib/node_modules/npm/node_modules/fstream-npm/example/dir.js +25 -0
  458. data/lib/node_modules/npm/node_modules/fstream-npm/example/example.js +12 -0
  459. data/lib/node_modules/npm/node_modules/fstream-npm/example/ig-tar.js +19 -0
  460. data/lib/node_modules/npm/node_modules/fstream-npm/example/tar.js +25 -0
  461. data/lib/node_modules/npm/node_modules/fstream-npm/fstream-npm.js +323 -0
  462. data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/LICENSE +27 -0
  463. data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/README.md +22 -0
  464. data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/example/basic.js +13 -0
  465. data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/ignore.js +275 -0
  466. data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/package.json +40 -0
  467. data/lib/node_modules/npm/node_modules/fstream-npm/package.json +27 -0
  468. data/lib/node_modules/npm/node_modules/fstream/LICENSE +27 -0
  469. data/lib/node_modules/npm/node_modules/fstream/README.md +76 -0
  470. data/lib/node_modules/npm/node_modules/fstream/examples/filter-pipe.js +131 -0
  471. data/lib/node_modules/npm/node_modules/fstream/examples/pipe.js +115 -0
  472. data/lib/node_modules/npm/node_modules/fstream/examples/reader.js +54 -0
  473. data/lib/node_modules/npm/node_modules/fstream/examples/symlink-write.js +24 -0
  474. data/lib/node_modules/npm/node_modules/fstream/fstream.js +31 -0
  475. data/lib/node_modules/npm/node_modules/fstream/lib/abstract.js +85 -0
  476. data/lib/node_modules/npm/node_modules/fstream/lib/collect.js +67 -0
  477. data/lib/node_modules/npm/node_modules/fstream/lib/dir-reader.js +251 -0
  478. data/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js +171 -0
  479. data/lib/node_modules/npm/node_modules/fstream/lib/file-reader.js +147 -0
  480. data/lib/node_modules/npm/node_modules/fstream/lib/file-writer.js +100 -0
  481. data/lib/node_modules/npm/node_modules/fstream/lib/get-type.js +32 -0
  482. data/lib/node_modules/npm/node_modules/fstream/lib/link-reader.js +54 -0
  483. data/lib/node_modules/npm/node_modules/fstream/lib/link-writer.js +95 -0
  484. data/lib/node_modules/npm/node_modules/fstream/lib/proxy-reader.js +93 -0
  485. data/lib/node_modules/npm/node_modules/fstream/lib/proxy-writer.js +109 -0
  486. data/lib/node_modules/npm/node_modules/fstream/lib/reader.js +260 -0
  487. data/lib/node_modules/npm/node_modules/fstream/lib/socket-reader.js +38 -0
  488. data/lib/node_modules/npm/node_modules/fstream/lib/writer.js +389 -0
  489. data/lib/node_modules/npm/node_modules/fstream/package.json +43 -0
  490. data/lib/node_modules/npm/node_modules/github-url-from-git/History.md +10 -0
  491. data/lib/node_modules/npm/node_modules/github-url-from-git/Makefile +5 -0
  492. data/lib/node_modules/npm/node_modules/github-url-from-git/Readme.md +41 -0
  493. data/lib/node_modules/npm/node_modules/github-url-from-git/index.js +12 -0
  494. data/lib/node_modules/npm/node_modules/github-url-from-git/package.json +31 -0
  495. data/lib/node_modules/npm/node_modules/github-url-from-git/test.js +40 -0
  496. data/lib/node_modules/npm/node_modules/github-url-from-username-repo/LICENSE +27 -0
  497. data/lib/node_modules/npm/node_modules/github-url-from-username-repo/README.md +14 -0
  498. data/lib/node_modules/npm/node_modules/github-url-from-username-repo/index.js +9 -0
  499. data/lib/node_modules/npm/node_modules/github-url-from-username-repo/package.json +33 -0
  500. data/lib/node_modules/npm/node_modules/glob/LICENSE +27 -0
  501. data/lib/node_modules/npm/node_modules/glob/README.md +250 -0
  502. data/lib/node_modules/npm/node_modules/glob/examples/g.js +9 -0
  503. data/lib/node_modules/npm/node_modules/glob/examples/usr-local.js +9 -0
  504. data/lib/node_modules/npm/node_modules/glob/glob.js +680 -0
  505. data/lib/node_modules/npm/node_modules/glob/package.json +39 -0
  506. data/lib/node_modules/npm/node_modules/graceful-fs/LICENSE +27 -0
  507. data/lib/node_modules/npm/node_modules/graceful-fs/README.md +26 -0
  508. data/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js +161 -0
  509. data/lib/node_modules/npm/node_modules/graceful-fs/package.json +48 -0
  510. data/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js +228 -0
  511. data/lib/node_modules/npm/node_modules/inherits/LICENSE +16 -0
  512. data/lib/node_modules/npm/node_modules/inherits/README.md +42 -0
  513. data/lib/node_modules/npm/node_modules/inherits/inherits.js +1 -0
  514. data/lib/node_modules/npm/node_modules/inherits/inherits_browser.js +23 -0
  515. data/lib/node_modules/npm/node_modules/inherits/package.json +32 -0
  516. data/lib/node_modules/npm/node_modules/inherits/test.js +25 -0
  517. data/lib/node_modules/npm/node_modules/ini/LICENSE +23 -0
  518. data/lib/node_modules/npm/node_modules/ini/README.md +79 -0
  519. data/lib/node_modules/npm/node_modules/ini/ini.js +166 -0
  520. data/lib/node_modules/npm/node_modules/ini/package.json +29 -0
  521. data/lib/node_modules/npm/node_modules/init-package-json/README.md +43 -0
  522. data/lib/node_modules/npm/node_modules/init-package-json/default-input.js +181 -0
  523. data/lib/node_modules/npm/node_modules/init-package-json/example/example-basic.js +8 -0
  524. data/lib/node_modules/npm/node_modules/init-package-json/example/example-default.js +7 -0
  525. data/lib/node_modules/npm/node_modules/init-package-json/example/example-npm.js +13 -0
  526. data/lib/node_modules/npm/node_modules/init-package-json/example/init/basic-init.js +1 -0
  527. data/lib/node_modules/npm/node_modules/init-package-json/init-package-json.js +129 -0
  528. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/LICENSE +15 -0
  529. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/README.md +133 -0
  530. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/index.js +11 -0
  531. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/README.md +8 -0
  532. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/init-input.js +191 -0
  533. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/init.js +37 -0
  534. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/package.json +10 -0
  535. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/substack-input.js +61 -0
  536. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/package.json +32 -0
  537. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/promzard.js +216 -0
  538. data/lib/node_modules/npm/node_modules/init-package-json/package.json +48 -0
  539. data/lib/node_modules/npm/node_modules/lockfile/LICENSE +27 -0
  540. data/lib/node_modules/npm/node_modules/lockfile/README.md +81 -0
  541. data/lib/node_modules/npm/node_modules/lockfile/lockfile.js +272 -0
  542. data/lib/node_modules/npm/node_modules/lockfile/package.json +45 -0
  543. data/lib/node_modules/npm/node_modules/lru-cache/CONTRIBUTORS +14 -0
  544. data/lib/node_modules/npm/node_modules/lru-cache/LICENSE +23 -0
  545. data/lib/node_modules/npm/node_modules/lru-cache/README.md +97 -0
  546. data/lib/node_modules/npm/node_modules/lru-cache/lib/lru-cache.js +252 -0
  547. data/lib/node_modules/npm/node_modules/lru-cache/package.json +33 -0
  548. data/lib/node_modules/npm/node_modules/minimatch/LICENSE +23 -0
  549. data/lib/node_modules/npm/node_modules/minimatch/README.md +218 -0
  550. data/lib/node_modules/npm/node_modules/minimatch/minimatch.js +1055 -0
  551. data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/LICENSE +27 -0
  552. data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/README.md +53 -0
  553. data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/bench.js +283 -0
  554. data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/package.json +42 -0
  555. data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/sigmund.js +39 -0
  556. data/lib/node_modules/npm/node_modules/minimatch/package.json +40 -0
  557. data/lib/node_modules/npm/node_modules/mkdirp/LICENSE +21 -0
  558. data/lib/node_modules/npm/node_modules/mkdirp/README.markdown +63 -0
  559. data/lib/node_modules/npm/node_modules/mkdirp/examples/pow.js +6 -0
  560. data/lib/node_modules/npm/node_modules/mkdirp/index.js +82 -0
  561. data/lib/node_modules/npm/node_modules/mkdirp/package.json +33 -0
  562. data/lib/node_modules/npm/node_modules/node-gyp/LICENSE +24 -0
  563. data/lib/node_modules/npm/node_modules/node-gyp/README.md +163 -0
  564. data/lib/node_modules/npm/node_modules/node-gyp/addon.gypi +59 -0
  565. data/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js +133 -0
  566. data/lib/node_modules/npm/node_modules/node-gyp/gyp/AUTHORS +10 -0
  567. data/lib/node_modules/npm/node_modules/node-gyp/gyp/DEPS +24 -0
  568. data/lib/node_modules/npm/node_modules/node-gyp/gyp/LICENSE +27 -0
  569. data/lib/node_modules/npm/node_modules/node-gyp/gyp/OWNERS +1 -0
  570. data/lib/node_modules/npm/node_modules/node-gyp/gyp/PRESUBMIT.py +115 -0
  571. data/lib/node_modules/npm/node_modules/node-gyp/gyp/buildbot/buildbot_run.py +148 -0
  572. data/lib/node_modules/npm/node_modules/node-gyp/gyp/codereview.settings +10 -0
  573. data/lib/node_modules/npm/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +12 -0
  574. data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp +7 -0
  575. data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp.bat +5 -0
  576. data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_dummy.c +7 -0
  577. data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py +18 -0
  578. data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyptest.py +274 -0
  579. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +340 -0
  580. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +208 -0
  581. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +1051 -0
  582. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +1482 -0
  583. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +58 -0
  584. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +147 -0
  585. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +267 -0
  586. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +407 -0
  587. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +537 -0
  588. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common.py +513 -0
  589. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +72 -0
  590. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +157 -0
  591. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +103 -0
  592. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +49 -0
  593. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
  594. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +1069 -0
  595. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +81 -0
  596. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +308 -0
  597. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +87 -0
  598. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +56 -0
  599. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +2172 -0
  600. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +3270 -0
  601. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +37 -0
  602. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +2150 -0
  603. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +44 -0
  604. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +1224 -0
  605. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +23 -0
  606. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py +2809 -0
  607. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +90 -0
  608. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +264 -0
  609. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +870 -0
  610. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +160 -0
  611. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +176 -0
  612. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +1324 -0
  613. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +2888 -0
  614. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +69 -0
  615. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylintrc +307 -0
  616. data/lib/node_modules/npm/node_modules/node-gyp/gyp/samples/samples +81 -0
  617. data/lib/node_modules/npm/node_modules/node-gyp/gyp/samples/samples.bat +5 -0
  618. data/lib/node_modules/npm/node_modules/node-gyp/gyp/setup.py +19 -0
  619. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/README +15 -0
  620. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/Xcode/README +5 -0
  621. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/Xcode/Specifications/gyp.pbfilespec +27 -0
  622. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/Xcode/Specifications/gyp.xclangspec +226 -0
  623. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/README +12 -0
  624. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/gyp-tests.el +63 -0
  625. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/gyp.el +252 -0
  626. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/run-unit-tests.sh +7 -0
  627. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/testdata/media.gyp +1105 -0
  628. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/testdata/media.gyp.fontified +1107 -0
  629. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/graphviz.py +100 -0
  630. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/pretty_gyp.py +155 -0
  631. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/pretty_sln.py +168 -0
  632. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/pretty_vcproj.py +329 -0
  633. data/lib/node_modules/npm/node_modules/node-gyp/lib/build.js +275 -0
  634. data/lib/node_modules/npm/node_modules/node-gyp/lib/clean.js +22 -0
  635. data/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js +344 -0
  636. data/lib/node_modules/npm/node_modules/node-gyp/lib/install.js +362 -0
  637. data/lib/node_modules/npm/node_modules/node-gyp/lib/list.js +33 -0
  638. data/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js +225 -0
  639. data/lib/node_modules/npm/node_modules/node-gyp/lib/rebuild.js +16 -0
  640. data/lib/node_modules/npm/node_modules/node-gyp/lib/remove.js +56 -0
  641. data/lib/node_modules/npm/node_modules/node-gyp/package.json +55 -0
  642. data/lib/node_modules/npm/node_modules/nopt/LICENSE +23 -0
  643. data/lib/node_modules/npm/node_modules/nopt/README.md +210 -0
  644. data/lib/node_modules/npm/node_modules/nopt/bin/nopt.js +51 -0
  645. data/lib/node_modules/npm/node_modules/nopt/examples/my-program.js +30 -0
  646. data/lib/node_modules/npm/node_modules/nopt/lib/nopt.js +407 -0
  647. data/lib/node_modules/npm/node_modules/nopt/package.json +39 -0
  648. data/lib/node_modules/npm/node_modules/npm-install-checks/LICENSE +234 -0
  649. data/lib/node_modules/npm/node_modules/npm-install-checks/README.md +25 -0
  650. data/lib/node_modules/npm/node_modules/npm-install-checks/index.js +146 -0
  651. data/lib/node_modules/npm/node_modules/npm-install-checks/package.json +43 -0
  652. data/lib/node_modules/npm/node_modules/npm-registry-client/LICENSE +27 -0
  653. data/lib/node_modules/npm/node_modules/npm-registry-client/README.md +176 -0
  654. data/lib/node_modules/npm/node_modules/npm-registry-client/index.js +55 -0
  655. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/adduser.js +138 -0
  656. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/bugs.js +9 -0
  657. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/deprecate.js +28 -0
  658. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js +184 -0
  659. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/publish.js +156 -0
  660. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js +270 -0
  661. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/star.js +29 -0
  662. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/stars.js +9 -0
  663. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/tag.js +6 -0
  664. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/unpublish.js +104 -0
  665. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/upload.js +22 -0
  666. data/lib/node_modules/npm/node_modules/npm-registry-client/package.json +43 -0
  667. data/lib/node_modules/npm/node_modules/npm-user-validate/LICENSE +27 -0
  668. data/lib/node_modules/npm/node_modules/npm-user-validate/README.md +6 -0
  669. data/lib/node_modules/npm/node_modules/npm-user-validate/npm-user-validate.js +49 -0
  670. data/lib/node_modules/npm/node_modules/npm-user-validate/package.json +37 -0
  671. data/lib/node_modules/npm/node_modules/npmconf/LICENSE +27 -0
  672. data/lib/node_modules/npm/node_modules/npmconf/README.md +33 -0
  673. data/lib/node_modules/npm/node_modules/npmconf/config-defs.js +353 -0
  674. data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/LICENCE +22 -0
  675. data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/index.js +282 -0
  676. data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/LICENSE +23 -0
  677. data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/README.md +3 -0
  678. data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/package.json +33 -0
  679. data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/proto-list.js +81 -0
  680. data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/package.json +32 -0
  681. data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/readme.markdown +228 -0
  682. data/lib/node_modules/npm/node_modules/npmconf/npmconf.js +338 -0
  683. data/lib/node_modules/npm/node_modules/npmconf/package.json +50 -0
  684. data/lib/node_modules/npm/node_modules/npmlog/LICENSE +27 -0
  685. data/lib/node_modules/npm/node_modules/npmlog/README.md +153 -0
  686. data/lib/node_modules/npm/node_modules/npmlog/example.js +39 -0
  687. data/lib/node_modules/npm/node_modules/npmlog/log.js +154 -0
  688. data/lib/node_modules/npm/node_modules/npmlog/package.json +32 -0
  689. data/lib/node_modules/npm/node_modules/once/LICENSE +27 -0
  690. data/lib/node_modules/npm/node_modules/once/README.md +51 -0
  691. data/lib/node_modules/npm/node_modules/once/once.js +20 -0
  692. data/lib/node_modules/npm/node_modules/once/package.json +39 -0
  693. data/lib/node_modules/npm/node_modules/opener/LICENSE.txt +14 -0
  694. data/lib/node_modules/npm/node_modules/opener/README.md +44 -0
  695. data/lib/node_modules/npm/node_modules/opener/opener.js +55 -0
  696. data/lib/node_modules/npm/node_modules/opener/package.json +34 -0
  697. data/lib/node_modules/npm/node_modules/osenv/LICENSE +25 -0
  698. data/lib/node_modules/npm/node_modules/osenv/README.md +63 -0
  699. data/lib/node_modules/npm/node_modules/osenv/osenv.js +80 -0
  700. data/lib/node_modules/npm/node_modules/osenv/package.json +38 -0
  701. data/lib/node_modules/npm/node_modules/path-is-inside/LICENSE.txt +14 -0
  702. data/lib/node_modules/npm/node_modules/path-is-inside/README.md +35 -0
  703. data/lib/node_modules/npm/node_modules/path-is-inside/lib/path-is-inside.js +24 -0
  704. data/lib/node_modules/npm/node_modules/path-is-inside/package.json +39 -0
  705. data/lib/node_modules/npm/node_modules/read-installed/LICENSE +16 -0
  706. data/lib/node_modules/npm/node_modules/read-installed/README.md +25 -0
  707. data/lib/node_modules/npm/node_modules/read-installed/package.json +39 -0
  708. data/lib/node_modules/npm/node_modules/read-installed/read-installed.js +338 -0
  709. data/lib/node_modules/npm/node_modules/read-package-json/LICENSE +15 -0
  710. data/lib/node_modules/npm/node_modules/read-package-json/README.md +166 -0
  711. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/AUTHORS +4 -0
  712. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/LICENSE +30 -0
  713. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/README.md +101 -0
  714. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/core_module_names.json +29 -0
  715. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/extract_description.js +14 -0
  716. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/fixer.js +392 -0
  717. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/normalize.js +36 -0
  718. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/safe_format.js +9 -0
  719. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/typos.json +25 -0
  720. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/warning_messages.json +28 -0
  721. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/package.json +53 -0
  722. data/lib/node_modules/npm/node_modules/read-package-json/package.json +39 -0
  723. data/lib/node_modules/npm/node_modules/read-package-json/read-json.js +368 -0
  724. data/lib/node_modules/npm/node_modules/read/LICENCE +25 -0
  725. data/lib/node_modules/npm/node_modules/read/README.md +53 -0
  726. data/lib/node_modules/npm/node_modules/read/example/example.js +13 -0
  727. data/lib/node_modules/npm/node_modules/read/lib/read.js +113 -0
  728. data/lib/node_modules/npm/node_modules/read/node_modules/mute-stream/LICENSE +27 -0
  729. data/lib/node_modules/npm/node_modules/read/node_modules/mute-stream/README.md +68 -0
  730. data/lib/node_modules/npm/node_modules/read/node_modules/mute-stream/mute.js +140 -0
  731. data/lib/node_modules/npm/node_modules/read/node_modules/mute-stream/package.json +37 -0
  732. data/lib/node_modules/npm/node_modules/read/package.json +35 -0
  733. data/lib/node_modules/npm/node_modules/read/rs.js +4 -0
  734. data/lib/node_modules/npm/node_modules/request/LICENSE +55 -0
  735. data/lib/node_modules/npm/node_modules/request/README.md +364 -0
  736. data/lib/node_modules/npm/node_modules/request/index.js +157 -0
  737. data/lib/node_modules/npm/node_modules/request/lib/copy.js +8 -0
  738. data/lib/node_modules/npm/node_modules/request/lib/debug.js +7 -0
  739. data/lib/node_modules/npm/node_modules/request/lib/getSafe.js +34 -0
  740. data/lib/node_modules/npm/node_modules/request/lib/optional.js +5 -0
  741. data/lib/node_modules/npm/node_modules/request/node_modules/aws-sign2/LICENSE +55 -0
  742. data/lib/node_modules/npm/node_modules/request/node_modules/aws-sign2/README.md +4 -0
  743. data/lib/node_modules/npm/node_modules/request/node_modules/aws-sign2/index.js +202 -0
  744. data/lib/node_modules/npm/node_modules/request/node_modules/aws-sign2/package.json +28 -0
  745. data/lib/node_modules/npm/node_modules/request/node_modules/forever-agent/LICENSE +55 -0
  746. data/lib/node_modules/npm/node_modules/request/node_modules/forever-agent/README.md +4 -0
  747. data/lib/node_modules/npm/node_modules/request/node_modules/forever-agent/index.js +119 -0
  748. data/lib/node_modules/npm/node_modules/request/node_modules/forever-agent/package.json +28 -0
  749. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/License +19 -0
  750. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/Readme.md +163 -0
  751. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/lib/form_data.js +325 -0
  752. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/LICENSE +19 -0
  753. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/README.md +1414 -0
  754. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/component.json +11 -0
  755. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/lib/async.js +955 -0
  756. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/package.json +43 -0
  757. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/License +19 -0
  758. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/Makefile +7 -0
  759. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/Readme.md +132 -0
  760. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/lib/combined_stream.js +185 -0
  761. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/License +19 -0
  762. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/Makefile +7 -0
  763. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/Readme.md +154 -0
  764. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/lib/delayed_stream.js +99 -0
  765. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/package.json +31 -0
  766. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/package.json +32 -0
  767. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/package.json +46 -0
  768. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/LICENSE +24 -0
  769. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/Makefile +10 -0
  770. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/README.md +627 -0
  771. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/example/usage.js +78 -0
  772. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/images/hawk.png +0 -0
  773. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/images/logo.png +0 -0
  774. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/index.js +1 -0
  775. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/browser.js +485 -0
  776. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/client.js +367 -0
  777. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/crypto.js +111 -0
  778. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/index.js +15 -0
  779. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/server.js +524 -0
  780. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/utils.js +183 -0
  781. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/LICENSE +24 -0
  782. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/Makefile +11 -0
  783. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/README.md +6 -0
  784. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/images/boom.png +0 -0
  785. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/index.js +1 -0
  786. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/lib/index.js +207 -0
  787. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/package.json +47 -0
  788. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/LICENSE +24 -0
  789. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/Makefile +11 -0
  790. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/README.md +6 -0
  791. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/index.js +1 -0
  792. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/lib/index.js +68 -0
  793. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/package.json +48 -0
  794. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/LICENSE +33 -0
  795. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/Makefile +10 -0
  796. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/README.md +436 -0
  797. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/images/hoek.png +0 -0
  798. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/index.js +1 -0
  799. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/lib/escape.js +132 -0
  800. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/lib/index.js +585 -0
  801. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/package.json +49 -0
  802. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/LICENSE +24 -0
  803. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/Makefile +11 -0
  804. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/README.md +68 -0
  805. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/examples/offset.js +16 -0
  806. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/examples/time.js +25 -0
  807. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/index.js +1 -0
  808. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/lib/index.js +409 -0
  809. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/package.json +48 -0
  810. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/package.json +53 -0
  811. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/LICENSE +18 -0
  812. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/README.md +75 -0
  813. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/http_signing.md +296 -0
  814. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/index.js +25 -0
  815. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/parser.js +304 -0
  816. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/signer.js +179 -0
  817. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/util.js +249 -0
  818. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/verify.js +42 -0
  819. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/LICENSE +19 -0
  820. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/README.md +50 -0
  821. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/errors.js +13 -0
  822. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/index.js +27 -0
  823. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/reader.js +267 -0
  824. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/types.js +36 -0
  825. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/writer.js +317 -0
  826. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/index.js +20 -0
  827. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/package.json +43 -0
  828. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/tst/ber/reader.test.js +172 -0
  829. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/tst/ber/writer.test.js +296 -0
  830. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/assert-plus/README.md +126 -0
  831. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/assert-plus/assert.js +196 -0
  832. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/assert-plus/package.json +20 -0
  833. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/CHANGELOG +71 -0
  834. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/LICENSE +24 -0
  835. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/README +82 -0
  836. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/README.old +298 -0
  837. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/ctf.js +245 -0
  838. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/ctio.js +1485 -0
  839. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/ctype.js +944 -0
  840. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/man/man3ctype/ctio.3ctype +241 -0
  841. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/package.json +18 -0
  842. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tools/jsl.conf +129 -0
  843. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tools/jsstyle +839 -0
  844. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/float.json +13 -0
  845. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/int.json +13 -0
  846. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/psinfo.json +104 -0
  847. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/struct.json +19 -0
  848. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.fail.js +39 -0
  849. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.float.js +14 -0
  850. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.int.js +14 -0
  851. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.psinfo.js +17 -0
  852. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.struct.js +18 -0
  853. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.typedef.js +15 -0
  854. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/typedef.json +14 -0
  855. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/float/tst.rfloat.js +767 -0
  856. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/float/tst.wfloat.js +753 -0
  857. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/int/tst.64.js +638 -0
  858. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/int/tst.rint.js +101 -0
  859. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/int/tst.wbounds.js +53 -0
  860. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/int/tst.wint.js +92 -0
  861. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/uint/tst.64.js +451 -0
  862. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/uint/tst.roundtrip.js +81 -0
  863. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/uint/tst.ruint.js +95 -0
  864. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/uint/tst.wuint.js +156 -0
  865. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.basicr.js +50 -0
  866. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.basicw.js +44 -0
  867. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.char.js +42 -0
  868. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.endian.js +45 -0
  869. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.oldwrite.js +28 -0
  870. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.readSize.js +128 -0
  871. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.structw.js +28 -0
  872. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.writeStruct.js +31 -0
  873. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/package.json +36 -0
  874. data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/LICENSE +27 -0
  875. data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/README.md +49 -0
  876. data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/package.json +33 -0
  877. data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/stringify.js +39 -0
  878. data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/test.js +128 -0
  879. data/lib/node_modules/npm/node_modules/request/node_modules/mime/LICENSE +19 -0
  880. data/lib/node_modules/npm/node_modules/request/node_modules/mime/README.md +66 -0
  881. data/lib/node_modules/npm/node_modules/request/node_modules/mime/mime.js +114 -0
  882. data/lib/node_modules/npm/node_modules/request/node_modules/mime/package.json +36 -0
  883. data/lib/node_modules/npm/node_modules/request/node_modules/mime/test.js +84 -0
  884. data/lib/node_modules/npm/node_modules/request/node_modules/mime/types/mime.types +1588 -0
  885. data/lib/node_modules/npm/node_modules/request/node_modules/mime/types/node.types +77 -0
  886. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/LICENSE.md +2 -0
  887. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/README.md +207 -0
  888. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/README.md +53 -0
  889. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/bench.gnu +174 -0
  890. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/bench.sh +34 -0
  891. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/benchmark-native.c +34 -0
  892. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/benchmark.js +84 -0
  893. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/component.json +18 -0
  894. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/package.json +35 -0
  895. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/uuid.js +245 -0
  896. data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/LICENSE +55 -0
  897. data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/README.md +4 -0
  898. data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/index.js +43 -0
  899. data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/package.json +31 -0
  900. data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/test.js +49 -0
  901. data/lib/node_modules/npm/node_modules/request/node_modules/qs/Readme.md +58 -0
  902. data/lib/node_modules/npm/node_modules/request/node_modules/qs/index.js +366 -0
  903. data/lib/node_modules/npm/node_modules/request/node_modules/qs/package.json +38 -0
  904. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/LICENSE +78 -0
  905. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/README.md +380 -0
  906. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/generate-pubsuffix.js +230 -0
  907. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/lib/cookie.js +947 -0
  908. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/lib/memstore.js +102 -0
  909. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/lib/pubsuffix.js +69 -0
  910. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/LICENSE-GPL.txt +278 -0
  911. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/LICENSE-MIT.txt +20 -0
  912. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/package.json +73 -0
  913. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/punycode.js +508 -0
  914. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/punycode.min.js +2 -0
  915. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/LICENSE.txt +20 -0
  916. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/README.md +35 -0
  917. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/doc/README.md +69 -0
  918. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/doc/parse.php +35 -0
  919. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/docdown.php +38 -0
  920. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/src/DocDown/Alias.php +226 -0
  921. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/src/DocDown/Entry.php +442 -0
  922. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/src/DocDown/Generator.php +563 -0
  923. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/package.json +46 -0
  924. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/public-suffix.txt +5229 -0
  925. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/test.js +1340 -0
  926. data/lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/LICENSE +55 -0
  927. data/lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/README.md +4 -0
  928. data/lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/index.js +227 -0
  929. data/lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/package.json +28 -0
  930. data/lib/node_modules/npm/node_modules/request/package.json +57 -0
  931. data/lib/node_modules/npm/node_modules/request/request.js +1260 -0
  932. data/lib/node_modules/npm/node_modules/retry/License +21 -0
  933. data/lib/node_modules/npm/node_modules/retry/Makefile +7 -0
  934. data/lib/node_modules/npm/node_modules/retry/Readme.md +167 -0
  935. data/lib/node_modules/npm/node_modules/retry/equation.gif +0 -0
  936. data/lib/node_modules/npm/node_modules/retry/example/dns.js +31 -0
  937. data/lib/node_modules/npm/node_modules/retry/index.js +1 -0
  938. data/lib/node_modules/npm/node_modules/retry/lib/retry.js +50 -0
  939. data/lib/node_modules/npm/node_modules/retry/lib/retry_operation.js +109 -0
  940. data/lib/node_modules/npm/node_modules/retry/package.json +29 -0
  941. data/lib/node_modules/npm/node_modules/rimraf/AUTHORS +6 -0
  942. data/lib/node_modules/npm/node_modules/rimraf/LICENSE +23 -0
  943. data/lib/node_modules/npm/node_modules/rimraf/README.md +30 -0
  944. data/lib/node_modules/npm/node_modules/rimraf/bin.js +33 -0
  945. data/lib/node_modules/npm/node_modules/rimraf/package.json +56 -0
  946. data/lib/node_modules/npm/node_modules/rimraf/rimraf.js +178 -0
  947. data/lib/node_modules/npm/node_modules/semver/LICENSE +27 -0
  948. data/lib/node_modules/npm/node_modules/semver/Makefile +24 -0
  949. data/lib/node_modules/npm/node_modules/semver/README.md +142 -0
  950. data/lib/node_modules/npm/node_modules/semver/bin/semver +124 -0
  951. data/lib/node_modules/npm/node_modules/semver/foot.js +6 -0
  952. data/lib/node_modules/npm/node_modules/semver/head.js +2 -0
  953. data/lib/node_modules/npm/node_modules/semver/package.json +32 -0
  954. data/lib/node_modules/npm/node_modules/semver/semver.browser.js +1007 -0
  955. data/lib/node_modules/npm/node_modules/semver/semver.browser.js.gz +0 -0
  956. data/lib/node_modules/npm/node_modules/semver/semver.js +1011 -0
  957. data/lib/node_modules/npm/node_modules/semver/semver.min.js +1 -0
  958. data/lib/node_modules/npm/node_modules/semver/semver.min.js.gz +0 -0
  959. data/lib/node_modules/npm/node_modules/sha/LICENSE +46 -0
  960. data/lib/node_modules/npm/node_modules/sha/README.md +49 -0
  961. data/lib/node_modules/npm/node_modules/sha/index.js +120 -0
  962. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/LICENSE +27 -0
  963. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/README.md +768 -0
  964. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/duplex.js +1 -0
  965. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/float.patch +68 -0
  966. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_duplex.js +69 -0
  967. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_passthrough.js +41 -0
  968. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_readable.js +927 -0
  969. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_transform.js +205 -0
  970. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_writable.js +369 -0
  971. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/package.json +36 -0
  972. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/passthrough.js +1 -0
  973. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/readable.js +6 -0
  974. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/transform.js +1 -0
  975. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/writable.js +1 -0
  976. data/lib/node_modules/npm/node_modules/sha/package.json +32 -0
  977. data/lib/node_modules/npm/node_modules/slide/LICENSE +15 -0
  978. data/lib/node_modules/npm/node_modules/slide/README.md +143 -0
  979. data/lib/node_modules/npm/node_modules/slide/index.js +1 -0
  980. data/lib/node_modules/npm/node_modules/slide/lib/async-map-ordered.js +65 -0
  981. data/lib/node_modules/npm/node_modules/slide/lib/async-map.js +56 -0
  982. data/lib/node_modules/npm/node_modules/slide/lib/bind-actor.js +16 -0
  983. data/lib/node_modules/npm/node_modules/slide/lib/chain.js +20 -0
  984. data/lib/node_modules/npm/node_modules/slide/lib/slide.js +3 -0
  985. data/lib/node_modules/npm/node_modules/slide/package.json +35 -0
  986. data/lib/node_modules/npm/node_modules/tar/LICENCE +25 -0
  987. data/lib/node_modules/npm/node_modules/tar/README.md +46 -0
  988. data/lib/node_modules/npm/node_modules/tar/examples/extracter.js +11 -0
  989. data/lib/node_modules/npm/node_modules/tar/examples/reader.js +36 -0
  990. data/lib/node_modules/npm/node_modules/tar/lib/buffer-entry.js +30 -0
  991. data/lib/node_modules/npm/node_modules/tar/lib/entry-writer.js +169 -0
  992. data/lib/node_modules/npm/node_modules/tar/lib/entry.js +213 -0
  993. data/lib/node_modules/npm/node_modules/tar/lib/extended-header-writer.js +191 -0
  994. data/lib/node_modules/npm/node_modules/tar/lib/extended-header.js +140 -0
  995. data/lib/node_modules/npm/node_modules/tar/lib/extract.js +78 -0
  996. data/lib/node_modules/npm/node_modules/tar/lib/global-header-writer.js +14 -0
  997. data/lib/node_modules/npm/node_modules/tar/lib/header.js +385 -0
  998. data/lib/node_modules/npm/node_modules/tar/lib/pack.js +231 -0
  999. data/lib/node_modules/npm/node_modules/tar/lib/parse.js +270 -0
  1000. data/lib/node_modules/npm/node_modules/tar/package.json +40 -0
  1001. data/lib/node_modules/npm/node_modules/tar/tar.js +173 -0
  1002. data/lib/node_modules/npm/node_modules/text-table/LICENSE +18 -0
  1003. data/lib/node_modules/npm/node_modules/text-table/example/align.js +8 -0
  1004. data/lib/node_modules/npm/node_modules/text-table/example/center.js +8 -0
  1005. data/lib/node_modules/npm/node_modules/text-table/example/dotalign.js +9 -0
  1006. data/lib/node_modules/npm/node_modules/text-table/example/doubledot.js +11 -0
  1007. data/lib/node_modules/npm/node_modules/text-table/example/table.js +6 -0
  1008. data/lib/node_modules/npm/node_modules/text-table/index.js +86 -0
  1009. data/lib/node_modules/npm/node_modules/text-table/package.json +52 -0
  1010. data/lib/node_modules/npm/node_modules/text-table/readme.markdown +134 -0
  1011. data/lib/node_modules/npm/node_modules/uid-number/LICENCE +25 -0
  1012. data/lib/node_modules/npm/node_modules/uid-number/README.md +17 -0
  1013. data/lib/node_modules/npm/node_modules/uid-number/get-uid-gid.js +24 -0
  1014. data/lib/node_modules/npm/node_modules/uid-number/package.json +35 -0
  1015. data/lib/node_modules/npm/node_modules/uid-number/uid-number.js +54 -0
  1016. data/lib/node_modules/npm/node_modules/which/LICENSE +23 -0
  1017. data/lib/node_modules/npm/node_modules/which/README.md +5 -0
  1018. data/lib/node_modules/npm/node_modules/which/bin/which +14 -0
  1019. data/lib/node_modules/npm/node_modules/which/package.json +34 -0
  1020. data/lib/node_modules/npm/node_modules/which/which.js +104 -0
  1021. data/lib/node_modules/npm/package.json +155 -0
  1022. data/lib/node_modules/npm/scripts/clean-old.sh +165 -0
  1023. data/lib/node_modules/npm/scripts/doc-build.sh +84 -0
  1024. data/lib/node_modules/npm/scripts/index-build.js +62 -0
  1025. data/lib/node_modules/npm/scripts/install.sh +313 -0
  1026. data/lib/node_modules/npm/scripts/release.sh +36 -0
  1027. data/lib/node_modules/npm/scripts/relocate.sh +26 -0
  1028. metadata +1052 -36
  1029. checksums.yaml +0 -7
@@ -0,0 +1,1482 @@
1
+ #!/usr/bin/env python
2
+
3
+ # Copyright (c) 2012 Google Inc. All rights reserved.
4
+ # Use of this source code is governed by a BSD-style license that can be
5
+ # found in the LICENSE file.
6
+
7
+ """Unit tests for the MSVSSettings.py file."""
8
+
9
+ import StringIO
10
+ import unittest
11
+ import gyp.MSVSSettings as MSVSSettings
12
+
13
+
14
+ class TestSequenceFunctions(unittest.TestCase):
15
+
16
+ def setUp(self):
17
+ self.stderr = StringIO.StringIO()
18
+
19
+ def _ExpectedWarnings(self, expected):
20
+ """Compares recorded lines to expected warnings."""
21
+ self.stderr.seek(0)
22
+ actual = self.stderr.read().split('\n')
23
+ actual = [line for line in actual if line]
24
+ self.assertEqual(sorted(expected), sorted(actual))
25
+
26
+ def testValidateMSVSSettings_tool_names(self):
27
+ """Tests that only MSVS tool names are allowed."""
28
+ MSVSSettings.ValidateMSVSSettings(
29
+ {'VCCLCompilerTool': {},
30
+ 'VCLinkerTool': {},
31
+ 'VCMIDLTool': {},
32
+ 'foo': {},
33
+ 'VCResourceCompilerTool': {},
34
+ 'VCLibrarianTool': {},
35
+ 'VCManifestTool': {},
36
+ 'ClCompile': {}},
37
+ self.stderr)
38
+ self._ExpectedWarnings([
39
+ 'Warning: unrecognized tool foo',
40
+ 'Warning: unrecognized tool ClCompile'])
41
+
42
+ def testValidateMSVSSettings_settings(self):
43
+ """Tests that for invalid MSVS settings."""
44
+ MSVSSettings.ValidateMSVSSettings(
45
+ {'VCCLCompilerTool': {
46
+ 'AdditionalIncludeDirectories': 'folder1;folder2',
47
+ 'AdditionalOptions': ['string1', 'string2'],
48
+ 'AdditionalUsingDirectories': 'folder1;folder2',
49
+ 'AssemblerListingLocation': 'a_file_name',
50
+ 'AssemblerOutput': '0',
51
+ 'BasicRuntimeChecks': '5',
52
+ 'BrowseInformation': 'fdkslj',
53
+ 'BrowseInformationFile': 'a_file_name',
54
+ 'BufferSecurityCheck': 'true',
55
+ 'CallingConvention': '-1',
56
+ 'CompileAs': '1',
57
+ 'DebugInformationFormat': '2',
58
+ 'DefaultCharIsUnsigned': 'true',
59
+ 'Detect64BitPortabilityProblems': 'true',
60
+ 'DisableLanguageExtensions': 'true',
61
+ 'DisableSpecificWarnings': 'string1;string2',
62
+ 'EnableEnhancedInstructionSet': '1',
63
+ 'EnableFiberSafeOptimizations': 'true',
64
+ 'EnableFunctionLevelLinking': 'true',
65
+ 'EnableIntrinsicFunctions': 'true',
66
+ 'EnablePREfast': 'true',
67
+ 'Enableprefast': 'bogus',
68
+ 'ErrorReporting': '1',
69
+ 'ExceptionHandling': '1',
70
+ 'ExpandAttributedSource': 'true',
71
+ 'FavorSizeOrSpeed': '1',
72
+ 'FloatingPointExceptions': 'true',
73
+ 'FloatingPointModel': '1',
74
+ 'ForceConformanceInForLoopScope': 'true',
75
+ 'ForcedIncludeFiles': 'file1;file2',
76
+ 'ForcedUsingFiles': 'file1;file2',
77
+ 'GeneratePreprocessedFile': '1',
78
+ 'GenerateXMLDocumentationFiles': 'true',
79
+ 'IgnoreStandardIncludePath': 'true',
80
+ 'InlineFunctionExpansion': '1',
81
+ 'KeepComments': 'true',
82
+ 'MinimalRebuild': 'true',
83
+ 'ObjectFile': 'a_file_name',
84
+ 'OmitDefaultLibName': 'true',
85
+ 'OmitFramePointers': 'true',
86
+ 'OpenMP': 'true',
87
+ 'Optimization': '1',
88
+ 'PrecompiledHeaderFile': 'a_file_name',
89
+ 'PrecompiledHeaderThrough': 'a_file_name',
90
+ 'PreprocessorDefinitions': 'string1;string2',
91
+ 'ProgramDataBaseFileName': 'a_file_name',
92
+ 'RuntimeLibrary': '1',
93
+ 'RuntimeTypeInfo': 'true',
94
+ 'ShowIncludes': 'true',
95
+ 'SmallerTypeCheck': 'true',
96
+ 'StringPooling': 'true',
97
+ 'StructMemberAlignment': '1',
98
+ 'SuppressStartupBanner': 'true',
99
+ 'TreatWChar_tAsBuiltInType': 'true',
100
+ 'UndefineAllPreprocessorDefinitions': 'true',
101
+ 'UndefinePreprocessorDefinitions': 'string1;string2',
102
+ 'UseFullPaths': 'true',
103
+ 'UsePrecompiledHeader': '1',
104
+ 'UseUnicodeResponseFiles': 'true',
105
+ 'WarnAsError': 'true',
106
+ 'WarningLevel': '1',
107
+ 'WholeProgramOptimization': 'true',
108
+ 'XMLDocumentationFileName': 'a_file_name',
109
+ 'ZZXYZ': 'bogus'},
110
+ 'VCLinkerTool': {
111
+ 'AdditionalDependencies': 'file1;file2',
112
+ 'AdditionalLibraryDirectories': 'folder1;folder2',
113
+ 'AdditionalManifestDependencies': 'file1;file2',
114
+ 'AdditionalOptions': 'a string1',
115
+ 'AddModuleNamesToAssembly': 'file1;file2',
116
+ 'AllowIsolation': 'true',
117
+ 'AssemblyDebug': '2',
118
+ 'AssemblyLinkResource': 'file1;file2',
119
+ 'BaseAddress': 'a string1',
120
+ 'CLRImageType': '2',
121
+ 'CLRThreadAttribute': '2',
122
+ 'CLRUnmanagedCodeCheck': 'true',
123
+ 'DataExecutionPrevention': '2',
124
+ 'DelayLoadDLLs': 'file1;file2',
125
+ 'DelaySign': 'true',
126
+ 'Driver': '2',
127
+ 'EmbedManagedResourceFile': 'file1;file2',
128
+ 'EnableCOMDATFolding': '2',
129
+ 'EnableUAC': 'true',
130
+ 'EntryPointSymbol': 'a string1',
131
+ 'ErrorReporting': '2',
132
+ 'FixedBaseAddress': '2',
133
+ 'ForceSymbolReferences': 'file1;file2',
134
+ 'FunctionOrder': 'a_file_name',
135
+ 'GenerateDebugInformation': 'true',
136
+ 'GenerateManifest': 'true',
137
+ 'GenerateMapFile': 'true',
138
+ 'HeapCommitSize': 'a string1',
139
+ 'HeapReserveSize': 'a string1',
140
+ 'IgnoreAllDefaultLibraries': 'true',
141
+ 'IgnoreDefaultLibraryNames': 'file1;file2',
142
+ 'IgnoreEmbeddedIDL': 'true',
143
+ 'IgnoreImportLibrary': 'true',
144
+ 'ImportLibrary': 'a_file_name',
145
+ 'KeyContainer': 'a_file_name',
146
+ 'KeyFile': 'a_file_name',
147
+ 'LargeAddressAware': '2',
148
+ 'LinkIncremental': '2',
149
+ 'LinkLibraryDependencies': 'true',
150
+ 'LinkTimeCodeGeneration': '2',
151
+ 'ManifestFile': 'a_file_name',
152
+ 'MapExports': 'true',
153
+ 'MapFileName': 'a_file_name',
154
+ 'MergedIDLBaseFileName': 'a_file_name',
155
+ 'MergeSections': 'a string1',
156
+ 'MidlCommandFile': 'a_file_name',
157
+ 'ModuleDefinitionFile': 'a_file_name',
158
+ 'OptimizeForWindows98': '1',
159
+ 'OptimizeReferences': '2',
160
+ 'OutputFile': 'a_file_name',
161
+ 'PerUserRedirection': 'true',
162
+ 'Profile': 'true',
163
+ 'ProfileGuidedDatabase': 'a_file_name',
164
+ 'ProgramDatabaseFile': 'a_file_name',
165
+ 'RandomizedBaseAddress': '2',
166
+ 'RegisterOutput': 'true',
167
+ 'ResourceOnlyDLL': 'true',
168
+ 'SetChecksum': 'true',
169
+ 'ShowProgress': '2',
170
+ 'StackCommitSize': 'a string1',
171
+ 'StackReserveSize': 'a string1',
172
+ 'StripPrivateSymbols': 'a_file_name',
173
+ 'SubSystem': '2',
174
+ 'SupportUnloadOfDelayLoadedDLL': 'true',
175
+ 'SuppressStartupBanner': 'true',
176
+ 'SwapRunFromCD': 'true',
177
+ 'SwapRunFromNet': 'true',
178
+ 'TargetMachine': '2',
179
+ 'TerminalServerAware': '2',
180
+ 'TurnOffAssemblyGeneration': 'true',
181
+ 'TypeLibraryFile': 'a_file_name',
182
+ 'TypeLibraryResourceID': '33',
183
+ 'UACExecutionLevel': '2',
184
+ 'UACUIAccess': 'true',
185
+ 'UseLibraryDependencyInputs': 'true',
186
+ 'UseUnicodeResponseFiles': 'true',
187
+ 'Version': 'a string1'},
188
+ 'VCMIDLTool': {
189
+ 'AdditionalIncludeDirectories': 'folder1;folder2',
190
+ 'AdditionalOptions': 'a string1',
191
+ 'CPreprocessOptions': 'a string1',
192
+ 'DefaultCharType': '1',
193
+ 'DLLDataFileName': 'a_file_name',
194
+ 'EnableErrorChecks': '1',
195
+ 'ErrorCheckAllocations': 'true',
196
+ 'ErrorCheckBounds': 'true',
197
+ 'ErrorCheckEnumRange': 'true',
198
+ 'ErrorCheckRefPointers': 'true',
199
+ 'ErrorCheckStubData': 'true',
200
+ 'GenerateStublessProxies': 'true',
201
+ 'GenerateTypeLibrary': 'true',
202
+ 'HeaderFileName': 'a_file_name',
203
+ 'IgnoreStandardIncludePath': 'true',
204
+ 'InterfaceIdentifierFileName': 'a_file_name',
205
+ 'MkTypLibCompatible': 'true',
206
+ 'notgood': 'bogus',
207
+ 'OutputDirectory': 'a string1',
208
+ 'PreprocessorDefinitions': 'string1;string2',
209
+ 'ProxyFileName': 'a_file_name',
210
+ 'RedirectOutputAndErrors': 'a_file_name',
211
+ 'StructMemberAlignment': '1',
212
+ 'SuppressStartupBanner': 'true',
213
+ 'TargetEnvironment': '1',
214
+ 'TypeLibraryName': 'a_file_name',
215
+ 'UndefinePreprocessorDefinitions': 'string1;string2',
216
+ 'ValidateParameters': 'true',
217
+ 'WarnAsError': 'true',
218
+ 'WarningLevel': '1'},
219
+ 'VCResourceCompilerTool': {
220
+ 'AdditionalOptions': 'a string1',
221
+ 'AdditionalIncludeDirectories': 'folder1;folder2',
222
+ 'Culture': '1003',
223
+ 'IgnoreStandardIncludePath': 'true',
224
+ 'notgood2': 'bogus',
225
+ 'PreprocessorDefinitions': 'string1;string2',
226
+ 'ResourceOutputFileName': 'a string1',
227
+ 'ShowProgress': 'true',
228
+ 'SuppressStartupBanner': 'true',
229
+ 'UndefinePreprocessorDefinitions': 'string1;string2'},
230
+ 'VCLibrarianTool': {
231
+ 'AdditionalDependencies': 'file1;file2',
232
+ 'AdditionalLibraryDirectories': 'folder1;folder2',
233
+ 'AdditionalOptions': 'a string1',
234
+ 'ExportNamedFunctions': 'string1;string2',
235
+ 'ForceSymbolReferences': 'a string1',
236
+ 'IgnoreAllDefaultLibraries': 'true',
237
+ 'IgnoreSpecificDefaultLibraries': 'file1;file2',
238
+ 'LinkLibraryDependencies': 'true',
239
+ 'ModuleDefinitionFile': 'a_file_name',
240
+ 'OutputFile': 'a_file_name',
241
+ 'SuppressStartupBanner': 'true',
242
+ 'UseUnicodeResponseFiles': 'true'},
243
+ 'VCManifestTool': {
244
+ 'AdditionalManifestFiles': 'file1;file2',
245
+ 'AdditionalOptions': 'a string1',
246
+ 'AssemblyIdentity': 'a string1',
247
+ 'ComponentFileName': 'a_file_name',
248
+ 'DependencyInformationFile': 'a_file_name',
249
+ 'GenerateCatalogFiles': 'true',
250
+ 'InputResourceManifests': 'a string1',
251
+ 'ManifestResourceFile': 'a_file_name',
252
+ 'OutputManifestFile': 'a_file_name',
253
+ 'RegistrarScriptFile': 'a_file_name',
254
+ 'ReplacementsFile': 'a_file_name',
255
+ 'SuppressStartupBanner': 'true',
256
+ 'TypeLibraryFile': 'a_file_name',
257
+ 'UpdateFileHashes': 'truel',
258
+ 'UpdateFileHashesSearchPath': 'a_file_name',
259
+ 'UseFAT32Workaround': 'true',
260
+ 'UseUnicodeResponseFiles': 'true',
261
+ 'VerboseOutput': 'true'}},
262
+ self.stderr)
263
+ self._ExpectedWarnings([
264
+ 'Warning: for VCCLCompilerTool/BasicRuntimeChecks, '
265
+ 'index value (5) not in expected range [0, 4)',
266
+ 'Warning: for VCCLCompilerTool/BrowseInformation, '
267
+ "invalid literal for int() with base 10: 'fdkslj'",
268
+ 'Warning: for VCCLCompilerTool/CallingConvention, '
269
+ 'index value (-1) not in expected range [0, 3)',
270
+ 'Warning: for VCCLCompilerTool/DebugInformationFormat, '
271
+ 'converted value for 2 not specified.',
272
+ 'Warning: unrecognized setting VCCLCompilerTool/Enableprefast',
273
+ 'Warning: unrecognized setting VCCLCompilerTool/ZZXYZ',
274
+ 'Warning: for VCLinkerTool/TargetMachine, '
275
+ 'converted value for 2 not specified.',
276
+ 'Warning: unrecognized setting VCMIDLTool/notgood',
277
+ 'Warning: unrecognized setting VCResourceCompilerTool/notgood2',
278
+ 'Warning: for VCManifestTool/UpdateFileHashes, '
279
+ "expected bool; got 'truel'"
280
+ ''])
281
+
282
+ def testValidateMSBuildSettings_settings(self):
283
+ """Tests that for invalid MSBuild settings."""
284
+ MSVSSettings.ValidateMSBuildSettings(
285
+ {'ClCompile': {
286
+ 'AdditionalIncludeDirectories': 'folder1;folder2',
287
+ 'AdditionalOptions': ['string1', 'string2'],
288
+ 'AdditionalUsingDirectories': 'folder1;folder2',
289
+ 'AssemblerListingLocation': 'a_file_name',
290
+ 'AssemblerOutput': 'NoListing',
291
+ 'BasicRuntimeChecks': 'StackFrameRuntimeCheck',
292
+ 'BrowseInformation': 'false',
293
+ 'BrowseInformationFile': 'a_file_name',
294
+ 'BufferSecurityCheck': 'true',
295
+ 'BuildingInIDE': 'true',
296
+ 'CallingConvention': 'Cdecl',
297
+ 'CompileAs': 'CompileAsC',
298
+ 'CompileAsManaged': 'Pure',
299
+ 'CreateHotpatchableImage': 'true',
300
+ 'DebugInformationFormat': 'ProgramDatabase',
301
+ 'DisableLanguageExtensions': 'true',
302
+ 'DisableSpecificWarnings': 'string1;string2',
303
+ 'EnableEnhancedInstructionSet': 'StreamingSIMDExtensions',
304
+ 'EnableFiberSafeOptimizations': 'true',
305
+ 'EnablePREfast': 'true',
306
+ 'Enableprefast': 'bogus',
307
+ 'ErrorReporting': 'Prompt',
308
+ 'ExceptionHandling': 'SyncCThrow',
309
+ 'ExpandAttributedSource': 'true',
310
+ 'FavorSizeOrSpeed': 'Neither',
311
+ 'FloatingPointExceptions': 'true',
312
+ 'FloatingPointModel': 'Precise',
313
+ 'ForceConformanceInForLoopScope': 'true',
314
+ 'ForcedIncludeFiles': 'file1;file2',
315
+ 'ForcedUsingFiles': 'file1;file2',
316
+ 'FunctionLevelLinking': 'false',
317
+ 'GenerateXMLDocumentationFiles': 'true',
318
+ 'IgnoreStandardIncludePath': 'true',
319
+ 'InlineFunctionExpansion': 'OnlyExplicitInline',
320
+ 'IntrinsicFunctions': 'false',
321
+ 'MinimalRebuild': 'true',
322
+ 'MultiProcessorCompilation': 'true',
323
+ 'ObjectFileName': 'a_file_name',
324
+ 'OmitDefaultLibName': 'true',
325
+ 'OmitFramePointers': 'true',
326
+ 'OpenMPSupport': 'true',
327
+ 'Optimization': 'Disabled',
328
+ 'PrecompiledHeader': 'NotUsing',
329
+ 'PrecompiledHeaderFile': 'a_file_name',
330
+ 'PrecompiledHeaderOutputFile': 'a_file_name',
331
+ 'PreprocessKeepComments': 'true',
332
+ 'PreprocessorDefinitions': 'string1;string2',
333
+ 'PreprocessOutputPath': 'a string1',
334
+ 'PreprocessSuppressLineNumbers': 'false',
335
+ 'PreprocessToFile': 'false',
336
+ 'ProcessorNumber': '33',
337
+ 'ProgramDataBaseFileName': 'a_file_name',
338
+ 'RuntimeLibrary': 'MultiThreaded',
339
+ 'RuntimeTypeInfo': 'true',
340
+ 'ShowIncludes': 'true',
341
+ 'SmallerTypeCheck': 'true',
342
+ 'StringPooling': 'true',
343
+ 'StructMemberAlignment': '1Byte',
344
+ 'SuppressStartupBanner': 'true',
345
+ 'TrackerLogDirectory': 'a_folder',
346
+ 'TreatSpecificWarningsAsErrors': 'string1;string2',
347
+ 'TreatWarningAsError': 'true',
348
+ 'TreatWChar_tAsBuiltInType': 'true',
349
+ 'UndefineAllPreprocessorDefinitions': 'true',
350
+ 'UndefinePreprocessorDefinitions': 'string1;string2',
351
+ 'UseFullPaths': 'true',
352
+ 'UseUnicodeForAssemblerListing': 'true',
353
+ 'WarningLevel': 'TurnOffAllWarnings',
354
+ 'WholeProgramOptimization': 'true',
355
+ 'XMLDocumentationFileName': 'a_file_name',
356
+ 'ZZXYZ': 'bogus'},
357
+ 'Link': {
358
+ 'AdditionalDependencies': 'file1;file2',
359
+ 'AdditionalLibraryDirectories': 'folder1;folder2',
360
+ 'AdditionalManifestDependencies': 'file1;file2',
361
+ 'AdditionalOptions': 'a string1',
362
+ 'AddModuleNamesToAssembly': 'file1;file2',
363
+ 'AllowIsolation': 'true',
364
+ 'AssemblyDebug': '',
365
+ 'AssemblyLinkResource': 'file1;file2',
366
+ 'BaseAddress': 'a string1',
367
+ 'BuildingInIDE': 'true',
368
+ 'CLRImageType': 'ForceIJWImage',
369
+ 'CLRSupportLastError': 'Enabled',
370
+ 'CLRThreadAttribute': 'MTAThreadingAttribute',
371
+ 'CLRUnmanagedCodeCheck': 'true',
372
+ 'CreateHotPatchableImage': 'X86Image',
373
+ 'DataExecutionPrevention': 'false',
374
+ 'DelayLoadDLLs': 'file1;file2',
375
+ 'DelaySign': 'true',
376
+ 'Driver': 'NotSet',
377
+ 'EmbedManagedResourceFile': 'file1;file2',
378
+ 'EnableCOMDATFolding': 'false',
379
+ 'EnableUAC': 'true',
380
+ 'EntryPointSymbol': 'a string1',
381
+ 'FixedBaseAddress': 'false',
382
+ 'ForceFileOutput': 'Enabled',
383
+ 'ForceSymbolReferences': 'file1;file2',
384
+ 'FunctionOrder': 'a_file_name',
385
+ 'GenerateDebugInformation': 'true',
386
+ 'GenerateMapFile': 'true',
387
+ 'HeapCommitSize': 'a string1',
388
+ 'HeapReserveSize': 'a string1',
389
+ 'IgnoreAllDefaultLibraries': 'true',
390
+ 'IgnoreEmbeddedIDL': 'true',
391
+ 'IgnoreSpecificDefaultLibraries': 'a_file_list',
392
+ 'ImageHasSafeExceptionHandlers': 'true',
393
+ 'ImportLibrary': 'a_file_name',
394
+ 'KeyContainer': 'a_file_name',
395
+ 'KeyFile': 'a_file_name',
396
+ 'LargeAddressAware': 'false',
397
+ 'LinkDLL': 'true',
398
+ 'LinkErrorReporting': 'SendErrorReport',
399
+ 'LinkStatus': 'true',
400
+ 'LinkTimeCodeGeneration': 'UseLinkTimeCodeGeneration',
401
+ 'ManifestFile': 'a_file_name',
402
+ 'MapExports': 'true',
403
+ 'MapFileName': 'a_file_name',
404
+ 'MergedIDLBaseFileName': 'a_file_name',
405
+ 'MergeSections': 'a string1',
406
+ 'MidlCommandFile': 'a_file_name',
407
+ 'MinimumRequiredVersion': 'a string1',
408
+ 'ModuleDefinitionFile': 'a_file_name',
409
+ 'MSDOSStubFileName': 'a_file_name',
410
+ 'NoEntryPoint': 'true',
411
+ 'OptimizeReferences': 'false',
412
+ 'OutputFile': 'a_file_name',
413
+ 'PerUserRedirection': 'true',
414
+ 'PreventDllBinding': 'true',
415
+ 'Profile': 'true',
416
+ 'ProfileGuidedDatabase': 'a_file_name',
417
+ 'ProgramDatabaseFile': 'a_file_name',
418
+ 'RandomizedBaseAddress': 'false',
419
+ 'RegisterOutput': 'true',
420
+ 'SectionAlignment': '33',
421
+ 'SetChecksum': 'true',
422
+ 'ShowProgress': 'LinkVerboseREF',
423
+ 'SpecifySectionAttributes': 'a string1',
424
+ 'StackCommitSize': 'a string1',
425
+ 'StackReserveSize': 'a string1',
426
+ 'StripPrivateSymbols': 'a_file_name',
427
+ 'SubSystem': 'Console',
428
+ 'SupportNobindOfDelayLoadedDLL': 'true',
429
+ 'SupportUnloadOfDelayLoadedDLL': 'true',
430
+ 'SuppressStartupBanner': 'true',
431
+ 'SwapRunFromCD': 'true',
432
+ 'SwapRunFromNET': 'true',
433
+ 'TargetMachine': 'MachineX86',
434
+ 'TerminalServerAware': 'false',
435
+ 'TrackerLogDirectory': 'a_folder',
436
+ 'TreatLinkerWarningAsErrors': 'true',
437
+ 'TurnOffAssemblyGeneration': 'true',
438
+ 'TypeLibraryFile': 'a_file_name',
439
+ 'TypeLibraryResourceID': '33',
440
+ 'UACExecutionLevel': 'AsInvoker',
441
+ 'UACUIAccess': 'true',
442
+ 'Version': 'a string1'},
443
+ 'ResourceCompile': {
444
+ 'AdditionalIncludeDirectories': 'folder1;folder2',
445
+ 'AdditionalOptions': 'a string1',
446
+ 'Culture': '0x236',
447
+ 'IgnoreStandardIncludePath': 'true',
448
+ 'NullTerminateStrings': 'true',
449
+ 'PreprocessorDefinitions': 'string1;string2',
450
+ 'ResourceOutputFileName': 'a string1',
451
+ 'ShowProgress': 'true',
452
+ 'SuppressStartupBanner': 'true',
453
+ 'TrackerLogDirectory': 'a_folder',
454
+ 'UndefinePreprocessorDefinitions': 'string1;string2'},
455
+ 'Midl': {
456
+ 'AdditionalIncludeDirectories': 'folder1;folder2',
457
+ 'AdditionalOptions': 'a string1',
458
+ 'ApplicationConfigurationMode': 'true',
459
+ 'ClientStubFile': 'a_file_name',
460
+ 'CPreprocessOptions': 'a string1',
461
+ 'DefaultCharType': 'Signed',
462
+ 'DllDataFileName': 'a_file_name',
463
+ 'EnableErrorChecks': 'EnableCustom',
464
+ 'ErrorCheckAllocations': 'true',
465
+ 'ErrorCheckBounds': 'true',
466
+ 'ErrorCheckEnumRange': 'true',
467
+ 'ErrorCheckRefPointers': 'true',
468
+ 'ErrorCheckStubData': 'true',
469
+ 'GenerateClientFiles': 'Stub',
470
+ 'GenerateServerFiles': 'None',
471
+ 'GenerateStublessProxies': 'true',
472
+ 'GenerateTypeLibrary': 'true',
473
+ 'HeaderFileName': 'a_file_name',
474
+ 'IgnoreStandardIncludePath': 'true',
475
+ 'InterfaceIdentifierFileName': 'a_file_name',
476
+ 'LocaleID': '33',
477
+ 'MkTypLibCompatible': 'true',
478
+ 'OutputDirectory': 'a string1',
479
+ 'PreprocessorDefinitions': 'string1;string2',
480
+ 'ProxyFileName': 'a_file_name',
481
+ 'RedirectOutputAndErrors': 'a_file_name',
482
+ 'ServerStubFile': 'a_file_name',
483
+ 'StructMemberAlignment': 'NotSet',
484
+ 'SuppressCompilerWarnings': 'true',
485
+ 'SuppressStartupBanner': 'true',
486
+ 'TargetEnvironment': 'Itanium',
487
+ 'TrackerLogDirectory': 'a_folder',
488
+ 'TypeLibFormat': 'NewFormat',
489
+ 'TypeLibraryName': 'a_file_name',
490
+ 'UndefinePreprocessorDefinitions': 'string1;string2',
491
+ 'ValidateAllParameters': 'true',
492
+ 'WarnAsError': 'true',
493
+ 'WarningLevel': '1'},
494
+ 'Lib': {
495
+ 'AdditionalDependencies': 'file1;file2',
496
+ 'AdditionalLibraryDirectories': 'folder1;folder2',
497
+ 'AdditionalOptions': 'a string1',
498
+ 'DisplayLibrary': 'a string1',
499
+ 'ErrorReporting': 'PromptImmediately',
500
+ 'ExportNamedFunctions': 'string1;string2',
501
+ 'ForceSymbolReferences': 'a string1',
502
+ 'IgnoreAllDefaultLibraries': 'true',
503
+ 'IgnoreSpecificDefaultLibraries': 'file1;file2',
504
+ 'LinkTimeCodeGeneration': 'true',
505
+ 'MinimumRequiredVersion': 'a string1',
506
+ 'ModuleDefinitionFile': 'a_file_name',
507
+ 'Name': 'a_file_name',
508
+ 'OutputFile': 'a_file_name',
509
+ 'RemoveObjects': 'file1;file2',
510
+ 'SubSystem': 'Console',
511
+ 'SuppressStartupBanner': 'true',
512
+ 'TargetMachine': 'MachineX86i',
513
+ 'TrackerLogDirectory': 'a_folder',
514
+ 'TreatLibWarningAsErrors': 'true',
515
+ 'UseUnicodeResponseFiles': 'true',
516
+ 'Verbose': 'true'},
517
+ 'Manifest': {
518
+ 'AdditionalManifestFiles': 'file1;file2',
519
+ 'AdditionalOptions': 'a string1',
520
+ 'AssemblyIdentity': 'a string1',
521
+ 'ComponentFileName': 'a_file_name',
522
+ 'EnableDPIAwareness': 'fal',
523
+ 'GenerateCatalogFiles': 'truel',
524
+ 'GenerateCategoryTags': 'true',
525
+ 'InputResourceManifests': 'a string1',
526
+ 'ManifestFromManagedAssembly': 'a_file_name',
527
+ 'notgood3': 'bogus',
528
+ 'OutputManifestFile': 'a_file_name',
529
+ 'OutputResourceManifests': 'a string1',
530
+ 'RegistrarScriptFile': 'a_file_name',
531
+ 'ReplacementsFile': 'a_file_name',
532
+ 'SuppressDependencyElement': 'true',
533
+ 'SuppressStartupBanner': 'true',
534
+ 'TrackerLogDirectory': 'a_folder',
535
+ 'TypeLibraryFile': 'a_file_name',
536
+ 'UpdateFileHashes': 'true',
537
+ 'UpdateFileHashesSearchPath': 'a_file_name',
538
+ 'VerboseOutput': 'true'},
539
+ 'ProjectReference': {
540
+ 'LinkLibraryDependencies': 'true',
541
+ 'UseLibraryDependencyInputs': 'true'},
542
+ 'ManifestResourceCompile': {
543
+ 'ResourceOutputFileName': 'a_file_name'},
544
+ '': {
545
+ 'EmbedManifest': 'true',
546
+ 'GenerateManifest': 'true',
547
+ 'IgnoreImportLibrary': 'true',
548
+ 'LinkIncremental': 'false'}},
549
+ self.stderr)
550
+ self._ExpectedWarnings([
551
+ 'Warning: unrecognized setting ClCompile/Enableprefast',
552
+ 'Warning: unrecognized setting ClCompile/ZZXYZ',
553
+ 'Warning: unrecognized setting Manifest/notgood3',
554
+ 'Warning: for Manifest/GenerateCatalogFiles, '
555
+ "expected bool; got 'truel'",
556
+ 'Warning: for Lib/TargetMachine, unrecognized enumerated value '
557
+ 'MachineX86i',
558
+ "Warning: for Manifest/EnableDPIAwareness, expected bool; got 'fal'"])
559
+
560
+ def testConvertToMSBuildSettings_empty(self):
561
+ """Tests an empty conversion."""
562
+ msvs_settings = {}
563
+ expected_msbuild_settings = {}
564
+ actual_msbuild_settings = MSVSSettings.ConvertToMSBuildSettings(
565
+ msvs_settings,
566
+ self.stderr)
567
+ self.assertEqual(expected_msbuild_settings, actual_msbuild_settings)
568
+ self._ExpectedWarnings([])
569
+
570
+ def testConvertToMSBuildSettings_minimal(self):
571
+ """Tests a minimal conversion."""
572
+ msvs_settings = {
573
+ 'VCCLCompilerTool': {
574
+ 'AdditionalIncludeDirectories': 'dir1',
575
+ 'AdditionalOptions': '/foo',
576
+ 'BasicRuntimeChecks': '0',
577
+ },
578
+ 'VCLinkerTool': {
579
+ 'LinkTimeCodeGeneration': '1',
580
+ 'ErrorReporting': '1',
581
+ 'DataExecutionPrevention': '2',
582
+ },
583
+ }
584
+ expected_msbuild_settings = {
585
+ 'ClCompile': {
586
+ 'AdditionalIncludeDirectories': 'dir1',
587
+ 'AdditionalOptions': '/foo',
588
+ 'BasicRuntimeChecks': 'Default',
589
+ },
590
+ 'Link': {
591
+ 'LinkTimeCodeGeneration': 'UseLinkTimeCodeGeneration',
592
+ 'LinkErrorReporting': 'PromptImmediately',
593
+ 'DataExecutionPrevention': 'true',
594
+ },
595
+ }
596
+ actual_msbuild_settings = MSVSSettings.ConvertToMSBuildSettings(
597
+ msvs_settings,
598
+ self.stderr)
599
+ self.assertEqual(expected_msbuild_settings, actual_msbuild_settings)
600
+ self._ExpectedWarnings([])
601
+
602
+ def testConvertToMSBuildSettings_warnings(self):
603
+ """Tests conversion that generates warnings."""
604
+ msvs_settings = {
605
+ 'VCCLCompilerTool': {
606
+ 'AdditionalIncludeDirectories': '1',
607
+ 'AdditionalOptions': '2',
608
+ # These are incorrect values:
609
+ 'BasicRuntimeChecks': '12',
610
+ 'BrowseInformation': '21',
611
+ 'UsePrecompiledHeader': '13',
612
+ 'GeneratePreprocessedFile': '14'},
613
+ 'VCLinkerTool': {
614
+ # These are incorrect values:
615
+ 'Driver': '10',
616
+ 'LinkTimeCodeGeneration': '31',
617
+ 'ErrorReporting': '21',
618
+ 'FixedBaseAddress': '6'},
619
+ 'VCResourceCompilerTool': {
620
+ # Custom
621
+ 'Culture': '1003'}}
622
+ expected_msbuild_settings = {
623
+ 'ClCompile': {
624
+ 'AdditionalIncludeDirectories': '1',
625
+ 'AdditionalOptions': '2'},
626
+ 'Link': {},
627
+ 'ResourceCompile': {
628
+ # Custom
629
+ 'Culture': '0x03eb'}}
630
+ actual_msbuild_settings = MSVSSettings.ConvertToMSBuildSettings(
631
+ msvs_settings,
632
+ self.stderr)
633
+ self.assertEqual(expected_msbuild_settings, actual_msbuild_settings)
634
+ self._ExpectedWarnings([
635
+ 'Warning: while converting VCCLCompilerTool/BasicRuntimeChecks to '
636
+ 'MSBuild, index value (12) not in expected range [0, 4)',
637
+ 'Warning: while converting VCCLCompilerTool/BrowseInformation to '
638
+ 'MSBuild, index value (21) not in expected range [0, 3)',
639
+ 'Warning: while converting VCCLCompilerTool/UsePrecompiledHeader to '
640
+ 'MSBuild, index value (13) not in expected range [0, 3)',
641
+ 'Warning: while converting VCCLCompilerTool/GeneratePreprocessedFile to '
642
+ 'MSBuild, value must be one of [0, 1, 2]; got 14',
643
+
644
+ 'Warning: while converting VCLinkerTool/Driver to '
645
+ 'MSBuild, index value (10) not in expected range [0, 4)',
646
+ 'Warning: while converting VCLinkerTool/LinkTimeCodeGeneration to '
647
+ 'MSBuild, index value (31) not in expected range [0, 5)',
648
+ 'Warning: while converting VCLinkerTool/ErrorReporting to '
649
+ 'MSBuild, index value (21) not in expected range [0, 3)',
650
+ 'Warning: while converting VCLinkerTool/FixedBaseAddress to '
651
+ 'MSBuild, index value (6) not in expected range [0, 3)',
652
+ ])
653
+
654
+ def testConvertToMSBuildSettings_full_synthetic(self):
655
+ """Tests conversion of all the MSBuild settings."""
656
+ msvs_settings = {
657
+ 'VCCLCompilerTool': {
658
+ 'AdditionalIncludeDirectories': 'folder1;folder2;folder3',
659
+ 'AdditionalOptions': 'a_string',
660
+ 'AdditionalUsingDirectories': 'folder1;folder2;folder3',
661
+ 'AssemblerListingLocation': 'a_file_name',
662
+ 'AssemblerOutput': '0',
663
+ 'BasicRuntimeChecks': '1',
664
+ 'BrowseInformation': '2',
665
+ 'BrowseInformationFile': 'a_file_name',
666
+ 'BufferSecurityCheck': 'true',
667
+ 'CallingConvention': '0',
668
+ 'CompileAs': '1',
669
+ 'DebugInformationFormat': '4',
670
+ 'DefaultCharIsUnsigned': 'true',
671
+ 'Detect64BitPortabilityProblems': 'true',
672
+ 'DisableLanguageExtensions': 'true',
673
+ 'DisableSpecificWarnings': 'd1;d2;d3',
674
+ 'EnableEnhancedInstructionSet': '0',
675
+ 'EnableFiberSafeOptimizations': 'true',
676
+ 'EnableFunctionLevelLinking': 'true',
677
+ 'EnableIntrinsicFunctions': 'true',
678
+ 'EnablePREfast': 'true',
679
+ 'ErrorReporting': '1',
680
+ 'ExceptionHandling': '2',
681
+ 'ExpandAttributedSource': 'true',
682
+ 'FavorSizeOrSpeed': '0',
683
+ 'FloatingPointExceptions': 'true',
684
+ 'FloatingPointModel': '1',
685
+ 'ForceConformanceInForLoopScope': 'true',
686
+ 'ForcedIncludeFiles': 'file1;file2;file3',
687
+ 'ForcedUsingFiles': 'file1;file2;file3',
688
+ 'GeneratePreprocessedFile': '1',
689
+ 'GenerateXMLDocumentationFiles': 'true',
690
+ 'IgnoreStandardIncludePath': 'true',
691
+ 'InlineFunctionExpansion': '2',
692
+ 'KeepComments': 'true',
693
+ 'MinimalRebuild': 'true',
694
+ 'ObjectFile': 'a_file_name',
695
+ 'OmitDefaultLibName': 'true',
696
+ 'OmitFramePointers': 'true',
697
+ 'OpenMP': 'true',
698
+ 'Optimization': '3',
699
+ 'PrecompiledHeaderFile': 'a_file_name',
700
+ 'PrecompiledHeaderThrough': 'a_file_name',
701
+ 'PreprocessorDefinitions': 'd1;d2;d3',
702
+ 'ProgramDataBaseFileName': 'a_file_name',
703
+ 'RuntimeLibrary': '0',
704
+ 'RuntimeTypeInfo': 'true',
705
+ 'ShowIncludes': 'true',
706
+ 'SmallerTypeCheck': 'true',
707
+ 'StringPooling': 'true',
708
+ 'StructMemberAlignment': '1',
709
+ 'SuppressStartupBanner': 'true',
710
+ 'TreatWChar_tAsBuiltInType': 'true',
711
+ 'UndefineAllPreprocessorDefinitions': 'true',
712
+ 'UndefinePreprocessorDefinitions': 'd1;d2;d3',
713
+ 'UseFullPaths': 'true',
714
+ 'UsePrecompiledHeader': '1',
715
+ 'UseUnicodeResponseFiles': 'true',
716
+ 'WarnAsError': 'true',
717
+ 'WarningLevel': '2',
718
+ 'WholeProgramOptimization': 'true',
719
+ 'XMLDocumentationFileName': 'a_file_name'},
720
+ 'VCLinkerTool': {
721
+ 'AdditionalDependencies': 'file1;file2;file3',
722
+ 'AdditionalLibraryDirectories': 'folder1;folder2;folder3',
723
+ 'AdditionalLibraryDirectories_excluded': 'folder1;folder2;folder3',
724
+ 'AdditionalManifestDependencies': 'file1;file2;file3',
725
+ 'AdditionalOptions': 'a_string',
726
+ 'AddModuleNamesToAssembly': 'file1;file2;file3',
727
+ 'AllowIsolation': 'true',
728
+ 'AssemblyDebug': '0',
729
+ 'AssemblyLinkResource': 'file1;file2;file3',
730
+ 'BaseAddress': 'a_string',
731
+ 'CLRImageType': '1',
732
+ 'CLRThreadAttribute': '2',
733
+ 'CLRUnmanagedCodeCheck': 'true',
734
+ 'DataExecutionPrevention': '0',
735
+ 'DelayLoadDLLs': 'file1;file2;file3',
736
+ 'DelaySign': 'true',
737
+ 'Driver': '1',
738
+ 'EmbedManagedResourceFile': 'file1;file2;file3',
739
+ 'EnableCOMDATFolding': '0',
740
+ 'EnableUAC': 'true',
741
+ 'EntryPointSymbol': 'a_string',
742
+ 'ErrorReporting': '0',
743
+ 'FixedBaseAddress': '1',
744
+ 'ForceSymbolReferences': 'file1;file2;file3',
745
+ 'FunctionOrder': 'a_file_name',
746
+ 'GenerateDebugInformation': 'true',
747
+ 'GenerateManifest': 'true',
748
+ 'GenerateMapFile': 'true',
749
+ 'HeapCommitSize': 'a_string',
750
+ 'HeapReserveSize': 'a_string',
751
+ 'IgnoreAllDefaultLibraries': 'true',
752
+ 'IgnoreDefaultLibraryNames': 'file1;file2;file3',
753
+ 'IgnoreEmbeddedIDL': 'true',
754
+ 'IgnoreImportLibrary': 'true',
755
+ 'ImportLibrary': 'a_file_name',
756
+ 'KeyContainer': 'a_file_name',
757
+ 'KeyFile': 'a_file_name',
758
+ 'LargeAddressAware': '2',
759
+ 'LinkIncremental': '1',
760
+ 'LinkLibraryDependencies': 'true',
761
+ 'LinkTimeCodeGeneration': '2',
762
+ 'ManifestFile': 'a_file_name',
763
+ 'MapExports': 'true',
764
+ 'MapFileName': 'a_file_name',
765
+ 'MergedIDLBaseFileName': 'a_file_name',
766
+ 'MergeSections': 'a_string',
767
+ 'MidlCommandFile': 'a_file_name',
768
+ 'ModuleDefinitionFile': 'a_file_name',
769
+ 'OptimizeForWindows98': '1',
770
+ 'OptimizeReferences': '0',
771
+ 'OutputFile': 'a_file_name',
772
+ 'PerUserRedirection': 'true',
773
+ 'Profile': 'true',
774
+ 'ProfileGuidedDatabase': 'a_file_name',
775
+ 'ProgramDatabaseFile': 'a_file_name',
776
+ 'RandomizedBaseAddress': '1',
777
+ 'RegisterOutput': 'true',
778
+ 'ResourceOnlyDLL': 'true',
779
+ 'SetChecksum': 'true',
780
+ 'ShowProgress': '0',
781
+ 'StackCommitSize': 'a_string',
782
+ 'StackReserveSize': 'a_string',
783
+ 'StripPrivateSymbols': 'a_file_name',
784
+ 'SubSystem': '2',
785
+ 'SupportUnloadOfDelayLoadedDLL': 'true',
786
+ 'SuppressStartupBanner': 'true',
787
+ 'SwapRunFromCD': 'true',
788
+ 'SwapRunFromNet': 'true',
789
+ 'TargetMachine': '3',
790
+ 'TerminalServerAware': '2',
791
+ 'TurnOffAssemblyGeneration': 'true',
792
+ 'TypeLibraryFile': 'a_file_name',
793
+ 'TypeLibraryResourceID': '33',
794
+ 'UACExecutionLevel': '1',
795
+ 'UACUIAccess': 'true',
796
+ 'UseLibraryDependencyInputs': 'false',
797
+ 'UseUnicodeResponseFiles': 'true',
798
+ 'Version': 'a_string'},
799
+ 'VCResourceCompilerTool': {
800
+ 'AdditionalIncludeDirectories': 'folder1;folder2;folder3',
801
+ 'AdditionalOptions': 'a_string',
802
+ 'Culture': '1003',
803
+ 'IgnoreStandardIncludePath': 'true',
804
+ 'PreprocessorDefinitions': 'd1;d2;d3',
805
+ 'ResourceOutputFileName': 'a_string',
806
+ 'ShowProgress': 'true',
807
+ 'SuppressStartupBanner': 'true',
808
+ 'UndefinePreprocessorDefinitions': 'd1;d2;d3'},
809
+ 'VCMIDLTool': {
810
+ 'AdditionalIncludeDirectories': 'folder1;folder2;folder3',
811
+ 'AdditionalOptions': 'a_string',
812
+ 'CPreprocessOptions': 'a_string',
813
+ 'DefaultCharType': '0',
814
+ 'DLLDataFileName': 'a_file_name',
815
+ 'EnableErrorChecks': '2',
816
+ 'ErrorCheckAllocations': 'true',
817
+ 'ErrorCheckBounds': 'true',
818
+ 'ErrorCheckEnumRange': 'true',
819
+ 'ErrorCheckRefPointers': 'true',
820
+ 'ErrorCheckStubData': 'true',
821
+ 'GenerateStublessProxies': 'true',
822
+ 'GenerateTypeLibrary': 'true',
823
+ 'HeaderFileName': 'a_file_name',
824
+ 'IgnoreStandardIncludePath': 'true',
825
+ 'InterfaceIdentifierFileName': 'a_file_name',
826
+ 'MkTypLibCompatible': 'true',
827
+ 'OutputDirectory': 'a_string',
828
+ 'PreprocessorDefinitions': 'd1;d2;d3',
829
+ 'ProxyFileName': 'a_file_name',
830
+ 'RedirectOutputAndErrors': 'a_file_name',
831
+ 'StructMemberAlignment': '3',
832
+ 'SuppressStartupBanner': 'true',
833
+ 'TargetEnvironment': '1',
834
+ 'TypeLibraryName': 'a_file_name',
835
+ 'UndefinePreprocessorDefinitions': 'd1;d2;d3',
836
+ 'ValidateParameters': 'true',
837
+ 'WarnAsError': 'true',
838
+ 'WarningLevel': '4'},
839
+ 'VCLibrarianTool': {
840
+ 'AdditionalDependencies': 'file1;file2;file3',
841
+ 'AdditionalLibraryDirectories': 'folder1;folder2;folder3',
842
+ 'AdditionalLibraryDirectories_excluded': 'folder1;folder2;folder3',
843
+ 'AdditionalOptions': 'a_string',
844
+ 'ExportNamedFunctions': 'd1;d2;d3',
845
+ 'ForceSymbolReferences': 'a_string',
846
+ 'IgnoreAllDefaultLibraries': 'true',
847
+ 'IgnoreSpecificDefaultLibraries': 'file1;file2;file3',
848
+ 'LinkLibraryDependencies': 'true',
849
+ 'ModuleDefinitionFile': 'a_file_name',
850
+ 'OutputFile': 'a_file_name',
851
+ 'SuppressStartupBanner': 'true',
852
+ 'UseUnicodeResponseFiles': 'true'},
853
+ 'VCManifestTool': {
854
+ 'AdditionalManifestFiles': 'file1;file2;file3',
855
+ 'AdditionalOptions': 'a_string',
856
+ 'AssemblyIdentity': 'a_string',
857
+ 'ComponentFileName': 'a_file_name',
858
+ 'DependencyInformationFile': 'a_file_name',
859
+ 'EmbedManifest': 'true',
860
+ 'GenerateCatalogFiles': 'true',
861
+ 'InputResourceManifests': 'a_string',
862
+ 'ManifestResourceFile': 'my_name',
863
+ 'OutputManifestFile': 'a_file_name',
864
+ 'RegistrarScriptFile': 'a_file_name',
865
+ 'ReplacementsFile': 'a_file_name',
866
+ 'SuppressStartupBanner': 'true',
867
+ 'TypeLibraryFile': 'a_file_name',
868
+ 'UpdateFileHashes': 'true',
869
+ 'UpdateFileHashesSearchPath': 'a_file_name',
870
+ 'UseFAT32Workaround': 'true',
871
+ 'UseUnicodeResponseFiles': 'true',
872
+ 'VerboseOutput': 'true'}}
873
+ expected_msbuild_settings = {
874
+ 'ClCompile': {
875
+ 'AdditionalIncludeDirectories': 'folder1;folder2;folder3',
876
+ 'AdditionalOptions': 'a_string /J',
877
+ 'AdditionalUsingDirectories': 'folder1;folder2;folder3',
878
+ 'AssemblerListingLocation': 'a_file_name',
879
+ 'AssemblerOutput': 'NoListing',
880
+ 'BasicRuntimeChecks': 'StackFrameRuntimeCheck',
881
+ 'BrowseInformation': 'true',
882
+ 'BrowseInformationFile': 'a_file_name',
883
+ 'BufferSecurityCheck': 'true',
884
+ 'CallingConvention': 'Cdecl',
885
+ 'CompileAs': 'CompileAsC',
886
+ 'DebugInformationFormat': 'EditAndContinue',
887
+ 'DisableLanguageExtensions': 'true',
888
+ 'DisableSpecificWarnings': 'd1;d2;d3',
889
+ 'EnableEnhancedInstructionSet': 'NotSet',
890
+ 'EnableFiberSafeOptimizations': 'true',
891
+ 'EnablePREfast': 'true',
892
+ 'ErrorReporting': 'Prompt',
893
+ 'ExceptionHandling': 'Async',
894
+ 'ExpandAttributedSource': 'true',
895
+ 'FavorSizeOrSpeed': 'Neither',
896
+ 'FloatingPointExceptions': 'true',
897
+ 'FloatingPointModel': 'Strict',
898
+ 'ForceConformanceInForLoopScope': 'true',
899
+ 'ForcedIncludeFiles': 'file1;file2;file3',
900
+ 'ForcedUsingFiles': 'file1;file2;file3',
901
+ 'FunctionLevelLinking': 'true',
902
+ 'GenerateXMLDocumentationFiles': 'true',
903
+ 'IgnoreStandardIncludePath': 'true',
904
+ 'InlineFunctionExpansion': 'AnySuitable',
905
+ 'IntrinsicFunctions': 'true',
906
+ 'MinimalRebuild': 'true',
907
+ 'ObjectFileName': 'a_file_name',
908
+ 'OmitDefaultLibName': 'true',
909
+ 'OmitFramePointers': 'true',
910
+ 'OpenMPSupport': 'true',
911
+ 'Optimization': 'Full',
912
+ 'PrecompiledHeader': 'Create',
913
+ 'PrecompiledHeaderFile': 'a_file_name',
914
+ 'PrecompiledHeaderOutputFile': 'a_file_name',
915
+ 'PreprocessKeepComments': 'true',
916
+ 'PreprocessorDefinitions': 'd1;d2;d3',
917
+ 'PreprocessSuppressLineNumbers': 'false',
918
+ 'PreprocessToFile': 'true',
919
+ 'ProgramDataBaseFileName': 'a_file_name',
920
+ 'RuntimeLibrary': 'MultiThreaded',
921
+ 'RuntimeTypeInfo': 'true',
922
+ 'ShowIncludes': 'true',
923
+ 'SmallerTypeCheck': 'true',
924
+ 'StringPooling': 'true',
925
+ 'StructMemberAlignment': '1Byte',
926
+ 'SuppressStartupBanner': 'true',
927
+ 'TreatWarningAsError': 'true',
928
+ 'TreatWChar_tAsBuiltInType': 'true',
929
+ 'UndefineAllPreprocessorDefinitions': 'true',
930
+ 'UndefinePreprocessorDefinitions': 'd1;d2;d3',
931
+ 'UseFullPaths': 'true',
932
+ 'WarningLevel': 'Level2',
933
+ 'WholeProgramOptimization': 'true',
934
+ 'XMLDocumentationFileName': 'a_file_name'},
935
+ 'Link': {
936
+ 'AdditionalDependencies': 'file1;file2;file3',
937
+ 'AdditionalLibraryDirectories': 'folder1;folder2;folder3',
938
+ 'AdditionalManifestDependencies': 'file1;file2;file3',
939
+ 'AdditionalOptions': 'a_string',
940
+ 'AddModuleNamesToAssembly': 'file1;file2;file3',
941
+ 'AllowIsolation': 'true',
942
+ 'AssemblyDebug': '',
943
+ 'AssemblyLinkResource': 'file1;file2;file3',
944
+ 'BaseAddress': 'a_string',
945
+ 'CLRImageType': 'ForceIJWImage',
946
+ 'CLRThreadAttribute': 'STAThreadingAttribute',
947
+ 'CLRUnmanagedCodeCheck': 'true',
948
+ 'DataExecutionPrevention': '',
949
+ 'DelayLoadDLLs': 'file1;file2;file3',
950
+ 'DelaySign': 'true',
951
+ 'Driver': 'Driver',
952
+ 'EmbedManagedResourceFile': 'file1;file2;file3',
953
+ 'EnableCOMDATFolding': '',
954
+ 'EnableUAC': 'true',
955
+ 'EntryPointSymbol': 'a_string',
956
+ 'FixedBaseAddress': 'false',
957
+ 'ForceSymbolReferences': 'file1;file2;file3',
958
+ 'FunctionOrder': 'a_file_name',
959
+ 'GenerateDebugInformation': 'true',
960
+ 'GenerateMapFile': 'true',
961
+ 'HeapCommitSize': 'a_string',
962
+ 'HeapReserveSize': 'a_string',
963
+ 'IgnoreAllDefaultLibraries': 'true',
964
+ 'IgnoreEmbeddedIDL': 'true',
965
+ 'IgnoreSpecificDefaultLibraries': 'file1;file2;file3',
966
+ 'ImportLibrary': 'a_file_name',
967
+ 'KeyContainer': 'a_file_name',
968
+ 'KeyFile': 'a_file_name',
969
+ 'LargeAddressAware': 'true',
970
+ 'LinkErrorReporting': 'NoErrorReport',
971
+ 'LinkTimeCodeGeneration': 'PGInstrument',
972
+ 'ManifestFile': 'a_file_name',
973
+ 'MapExports': 'true',
974
+ 'MapFileName': 'a_file_name',
975
+ 'MergedIDLBaseFileName': 'a_file_name',
976
+ 'MergeSections': 'a_string',
977
+ 'MidlCommandFile': 'a_file_name',
978
+ 'ModuleDefinitionFile': 'a_file_name',
979
+ 'NoEntryPoint': 'true',
980
+ 'OptimizeReferences': '',
981
+ 'OutputFile': 'a_file_name',
982
+ 'PerUserRedirection': 'true',
983
+ 'Profile': 'true',
984
+ 'ProfileGuidedDatabase': 'a_file_name',
985
+ 'ProgramDatabaseFile': 'a_file_name',
986
+ 'RandomizedBaseAddress': 'false',
987
+ 'RegisterOutput': 'true',
988
+ 'SetChecksum': 'true',
989
+ 'ShowProgress': 'NotSet',
990
+ 'StackCommitSize': 'a_string',
991
+ 'StackReserveSize': 'a_string',
992
+ 'StripPrivateSymbols': 'a_file_name',
993
+ 'SubSystem': 'Windows',
994
+ 'SupportUnloadOfDelayLoadedDLL': 'true',
995
+ 'SuppressStartupBanner': 'true',
996
+ 'SwapRunFromCD': 'true',
997
+ 'SwapRunFromNET': 'true',
998
+ 'TargetMachine': 'MachineARM',
999
+ 'TerminalServerAware': 'true',
1000
+ 'TurnOffAssemblyGeneration': 'true',
1001
+ 'TypeLibraryFile': 'a_file_name',
1002
+ 'TypeLibraryResourceID': '33',
1003
+ 'UACExecutionLevel': 'HighestAvailable',
1004
+ 'UACUIAccess': 'true',
1005
+ 'Version': 'a_string'},
1006
+ 'ResourceCompile': {
1007
+ 'AdditionalIncludeDirectories': 'folder1;folder2;folder3',
1008
+ 'AdditionalOptions': 'a_string',
1009
+ 'Culture': '0x03eb',
1010
+ 'IgnoreStandardIncludePath': 'true',
1011
+ 'PreprocessorDefinitions': 'd1;d2;d3',
1012
+ 'ResourceOutputFileName': 'a_string',
1013
+ 'ShowProgress': 'true',
1014
+ 'SuppressStartupBanner': 'true',
1015
+ 'UndefinePreprocessorDefinitions': 'd1;d2;d3'},
1016
+ 'Midl': {
1017
+ 'AdditionalIncludeDirectories': 'folder1;folder2;folder3',
1018
+ 'AdditionalOptions': 'a_string',
1019
+ 'CPreprocessOptions': 'a_string',
1020
+ 'DefaultCharType': 'Unsigned',
1021
+ 'DllDataFileName': 'a_file_name',
1022
+ 'EnableErrorChecks': 'All',
1023
+ 'ErrorCheckAllocations': 'true',
1024
+ 'ErrorCheckBounds': 'true',
1025
+ 'ErrorCheckEnumRange': 'true',
1026
+ 'ErrorCheckRefPointers': 'true',
1027
+ 'ErrorCheckStubData': 'true',
1028
+ 'GenerateStublessProxies': 'true',
1029
+ 'GenerateTypeLibrary': 'true',
1030
+ 'HeaderFileName': 'a_file_name',
1031
+ 'IgnoreStandardIncludePath': 'true',
1032
+ 'InterfaceIdentifierFileName': 'a_file_name',
1033
+ 'MkTypLibCompatible': 'true',
1034
+ 'OutputDirectory': 'a_string',
1035
+ 'PreprocessorDefinitions': 'd1;d2;d3',
1036
+ 'ProxyFileName': 'a_file_name',
1037
+ 'RedirectOutputAndErrors': 'a_file_name',
1038
+ 'StructMemberAlignment': '4',
1039
+ 'SuppressStartupBanner': 'true',
1040
+ 'TargetEnvironment': 'Win32',
1041
+ 'TypeLibraryName': 'a_file_name',
1042
+ 'UndefinePreprocessorDefinitions': 'd1;d2;d3',
1043
+ 'ValidateAllParameters': 'true',
1044
+ 'WarnAsError': 'true',
1045
+ 'WarningLevel': '4'},
1046
+ 'Lib': {
1047
+ 'AdditionalDependencies': 'file1;file2;file3',
1048
+ 'AdditionalLibraryDirectories': 'folder1;folder2;folder3',
1049
+ 'AdditionalOptions': 'a_string',
1050
+ 'ExportNamedFunctions': 'd1;d2;d3',
1051
+ 'ForceSymbolReferences': 'a_string',
1052
+ 'IgnoreAllDefaultLibraries': 'true',
1053
+ 'IgnoreSpecificDefaultLibraries': 'file1;file2;file3',
1054
+ 'ModuleDefinitionFile': 'a_file_name',
1055
+ 'OutputFile': 'a_file_name',
1056
+ 'SuppressStartupBanner': 'true',
1057
+ 'UseUnicodeResponseFiles': 'true'},
1058
+ 'Manifest': {
1059
+ 'AdditionalManifestFiles': 'file1;file2;file3',
1060
+ 'AdditionalOptions': 'a_string',
1061
+ 'AssemblyIdentity': 'a_string',
1062
+ 'ComponentFileName': 'a_file_name',
1063
+ 'GenerateCatalogFiles': 'true',
1064
+ 'InputResourceManifests': 'a_string',
1065
+ 'OutputManifestFile': 'a_file_name',
1066
+ 'RegistrarScriptFile': 'a_file_name',
1067
+ 'ReplacementsFile': 'a_file_name',
1068
+ 'SuppressStartupBanner': 'true',
1069
+ 'TypeLibraryFile': 'a_file_name',
1070
+ 'UpdateFileHashes': 'true',
1071
+ 'UpdateFileHashesSearchPath': 'a_file_name',
1072
+ 'VerboseOutput': 'true'},
1073
+ 'ManifestResourceCompile': {
1074
+ 'ResourceOutputFileName': 'my_name'},
1075
+ 'ProjectReference': {
1076
+ 'LinkLibraryDependencies': 'true',
1077
+ 'UseLibraryDependencyInputs': 'false'},
1078
+ '': {
1079
+ 'EmbedManifest': 'true',
1080
+ 'GenerateManifest': 'true',
1081
+ 'IgnoreImportLibrary': 'true',
1082
+ 'LinkIncremental': 'false'}}
1083
+ actual_msbuild_settings = MSVSSettings.ConvertToMSBuildSettings(
1084
+ msvs_settings,
1085
+ self.stderr)
1086
+ self.assertEqual(expected_msbuild_settings, actual_msbuild_settings)
1087
+ self._ExpectedWarnings([])
1088
+
1089
+ def testConvertToMSBuildSettings_actual(self):
1090
+ """Tests the conversion of an actual project.
1091
+
1092
+ A VS2008 project with most of the options defined was created through the
1093
+ VS2008 IDE. It was then converted to VS2010. The tool settings found in
1094
+ the .vcproj and .vcxproj files were converted to the two dictionaries
1095
+ msvs_settings and expected_msbuild_settings.
1096
+
1097
+ Note that for many settings, the VS2010 converter adds macros like
1098
+ %(AdditionalIncludeDirectories) to make sure than inherited values are
1099
+ included. Since the Gyp projects we generate do not use inheritance,
1100
+ we removed these macros. They were:
1101
+ ClCompile:
1102
+ AdditionalIncludeDirectories: ';%(AdditionalIncludeDirectories)'
1103
+ AdditionalOptions: ' %(AdditionalOptions)'
1104
+ AdditionalUsingDirectories: ';%(AdditionalUsingDirectories)'
1105
+ DisableSpecificWarnings: ';%(DisableSpecificWarnings)',
1106
+ ForcedIncludeFiles: ';%(ForcedIncludeFiles)',
1107
+ ForcedUsingFiles: ';%(ForcedUsingFiles)',
1108
+ PreprocessorDefinitions: ';%(PreprocessorDefinitions)',
1109
+ UndefinePreprocessorDefinitions:
1110
+ ';%(UndefinePreprocessorDefinitions)',
1111
+ Link:
1112
+ AdditionalDependencies: ';%(AdditionalDependencies)',
1113
+ AdditionalLibraryDirectories: ';%(AdditionalLibraryDirectories)',
1114
+ AdditionalManifestDependencies:
1115
+ ';%(AdditionalManifestDependencies)',
1116
+ AdditionalOptions: ' %(AdditionalOptions)',
1117
+ AddModuleNamesToAssembly: ';%(AddModuleNamesToAssembly)',
1118
+ AssemblyLinkResource: ';%(AssemblyLinkResource)',
1119
+ DelayLoadDLLs: ';%(DelayLoadDLLs)',
1120
+ EmbedManagedResourceFile: ';%(EmbedManagedResourceFile)',
1121
+ ForceSymbolReferences: ';%(ForceSymbolReferences)',
1122
+ IgnoreSpecificDefaultLibraries:
1123
+ ';%(IgnoreSpecificDefaultLibraries)',
1124
+ ResourceCompile:
1125
+ AdditionalIncludeDirectories: ';%(AdditionalIncludeDirectories)',
1126
+ AdditionalOptions: ' %(AdditionalOptions)',
1127
+ PreprocessorDefinitions: ';%(PreprocessorDefinitions)',
1128
+ Manifest:
1129
+ AdditionalManifestFiles: ';%(AdditionalManifestFiles)',
1130
+ AdditionalOptions: ' %(AdditionalOptions)',
1131
+ InputResourceManifests: ';%(InputResourceManifests)',
1132
+ """
1133
+ msvs_settings = {
1134
+ 'VCCLCompilerTool': {
1135
+ 'AdditionalIncludeDirectories': 'dir1',
1136
+ 'AdditionalOptions': '/more',
1137
+ 'AdditionalUsingDirectories': 'test',
1138
+ 'AssemblerListingLocation': '$(IntDir)\\a',
1139
+ 'AssemblerOutput': '1',
1140
+ 'BasicRuntimeChecks': '3',
1141
+ 'BrowseInformation': '1',
1142
+ 'BrowseInformationFile': '$(IntDir)\\e',
1143
+ 'BufferSecurityCheck': 'false',
1144
+ 'CallingConvention': '1',
1145
+ 'CompileAs': '1',
1146
+ 'DebugInformationFormat': '4',
1147
+ 'DefaultCharIsUnsigned': 'true',
1148
+ 'Detect64BitPortabilityProblems': 'true',
1149
+ 'DisableLanguageExtensions': 'true',
1150
+ 'DisableSpecificWarnings': 'abc',
1151
+ 'EnableEnhancedInstructionSet': '1',
1152
+ 'EnableFiberSafeOptimizations': 'true',
1153
+ 'EnableFunctionLevelLinking': 'true',
1154
+ 'EnableIntrinsicFunctions': 'true',
1155
+ 'EnablePREfast': 'true',
1156
+ 'ErrorReporting': '2',
1157
+ 'ExceptionHandling': '2',
1158
+ 'ExpandAttributedSource': 'true',
1159
+ 'FavorSizeOrSpeed': '2',
1160
+ 'FloatingPointExceptions': 'true',
1161
+ 'FloatingPointModel': '1',
1162
+ 'ForceConformanceInForLoopScope': 'false',
1163
+ 'ForcedIncludeFiles': 'def',
1164
+ 'ForcedUsingFiles': 'ge',
1165
+ 'GeneratePreprocessedFile': '2',
1166
+ 'GenerateXMLDocumentationFiles': 'true',
1167
+ 'IgnoreStandardIncludePath': 'true',
1168
+ 'InlineFunctionExpansion': '1',
1169
+ 'KeepComments': 'true',
1170
+ 'MinimalRebuild': 'true',
1171
+ 'ObjectFile': '$(IntDir)\\b',
1172
+ 'OmitDefaultLibName': 'true',
1173
+ 'OmitFramePointers': 'true',
1174
+ 'OpenMP': 'true',
1175
+ 'Optimization': '3',
1176
+ 'PrecompiledHeaderFile': '$(IntDir)\\$(TargetName).pche',
1177
+ 'PrecompiledHeaderThrough': 'StdAfx.hd',
1178
+ 'PreprocessorDefinitions': 'WIN32;_DEBUG;_CONSOLE',
1179
+ 'ProgramDataBaseFileName': '$(IntDir)\\vc90b.pdb',
1180
+ 'RuntimeLibrary': '3',
1181
+ 'RuntimeTypeInfo': 'false',
1182
+ 'ShowIncludes': 'true',
1183
+ 'SmallerTypeCheck': 'true',
1184
+ 'StringPooling': 'true',
1185
+ 'StructMemberAlignment': '3',
1186
+ 'SuppressStartupBanner': 'false',
1187
+ 'TreatWChar_tAsBuiltInType': 'false',
1188
+ 'UndefineAllPreprocessorDefinitions': 'true',
1189
+ 'UndefinePreprocessorDefinitions': 'wer',
1190
+ 'UseFullPaths': 'true',
1191
+ 'UsePrecompiledHeader': '0',
1192
+ 'UseUnicodeResponseFiles': 'false',
1193
+ 'WarnAsError': 'true',
1194
+ 'WarningLevel': '3',
1195
+ 'WholeProgramOptimization': 'true',
1196
+ 'XMLDocumentationFileName': '$(IntDir)\\c'},
1197
+ 'VCLinkerTool': {
1198
+ 'AdditionalDependencies': 'zx',
1199
+ 'AdditionalLibraryDirectories': 'asd',
1200
+ 'AdditionalManifestDependencies': 's2',
1201
+ 'AdditionalOptions': '/mor2',
1202
+ 'AddModuleNamesToAssembly': 'd1',
1203
+ 'AllowIsolation': 'false',
1204
+ 'AssemblyDebug': '1',
1205
+ 'AssemblyLinkResource': 'd5',
1206
+ 'BaseAddress': '23423',
1207
+ 'CLRImageType': '3',
1208
+ 'CLRThreadAttribute': '1',
1209
+ 'CLRUnmanagedCodeCheck': 'true',
1210
+ 'DataExecutionPrevention': '0',
1211
+ 'DelayLoadDLLs': 'd4',
1212
+ 'DelaySign': 'true',
1213
+ 'Driver': '2',
1214
+ 'EmbedManagedResourceFile': 'd2',
1215
+ 'EnableCOMDATFolding': '1',
1216
+ 'EnableUAC': 'false',
1217
+ 'EntryPointSymbol': 'f5',
1218
+ 'ErrorReporting': '2',
1219
+ 'FixedBaseAddress': '1',
1220
+ 'ForceSymbolReferences': 'd3',
1221
+ 'FunctionOrder': 'fssdfsd',
1222
+ 'GenerateDebugInformation': 'true',
1223
+ 'GenerateManifest': 'false',
1224
+ 'GenerateMapFile': 'true',
1225
+ 'HeapCommitSize': '13',
1226
+ 'HeapReserveSize': '12',
1227
+ 'IgnoreAllDefaultLibraries': 'true',
1228
+ 'IgnoreDefaultLibraryNames': 'flob;flok',
1229
+ 'IgnoreEmbeddedIDL': 'true',
1230
+ 'IgnoreImportLibrary': 'true',
1231
+ 'ImportLibrary': 'f4',
1232
+ 'KeyContainer': 'f7',
1233
+ 'KeyFile': 'f6',
1234
+ 'LargeAddressAware': '2',
1235
+ 'LinkIncremental': '0',
1236
+ 'LinkLibraryDependencies': 'false',
1237
+ 'LinkTimeCodeGeneration': '1',
1238
+ 'ManifestFile':
1239
+ '$(IntDir)\\$(TargetFileName).2intermediate.manifest',
1240
+ 'MapExports': 'true',
1241
+ 'MapFileName': 'd5',
1242
+ 'MergedIDLBaseFileName': 'f2',
1243
+ 'MergeSections': 'f5',
1244
+ 'MidlCommandFile': 'f1',
1245
+ 'ModuleDefinitionFile': 'sdsd',
1246
+ 'OptimizeForWindows98': '2',
1247
+ 'OptimizeReferences': '2',
1248
+ 'OutputFile': '$(OutDir)\\$(ProjectName)2.exe',
1249
+ 'PerUserRedirection': 'true',
1250
+ 'Profile': 'true',
1251
+ 'ProfileGuidedDatabase': '$(TargetDir)$(TargetName).pgdd',
1252
+ 'ProgramDatabaseFile': 'Flob.pdb',
1253
+ 'RandomizedBaseAddress': '1',
1254
+ 'RegisterOutput': 'true',
1255
+ 'ResourceOnlyDLL': 'true',
1256
+ 'SetChecksum': 'false',
1257
+ 'ShowProgress': '1',
1258
+ 'StackCommitSize': '15',
1259
+ 'StackReserveSize': '14',
1260
+ 'StripPrivateSymbols': 'd3',
1261
+ 'SubSystem': '1',
1262
+ 'SupportUnloadOfDelayLoadedDLL': 'true',
1263
+ 'SuppressStartupBanner': 'false',
1264
+ 'SwapRunFromCD': 'true',
1265
+ 'SwapRunFromNet': 'true',
1266
+ 'TargetMachine': '1',
1267
+ 'TerminalServerAware': '1',
1268
+ 'TurnOffAssemblyGeneration': 'true',
1269
+ 'TypeLibraryFile': 'f3',
1270
+ 'TypeLibraryResourceID': '12',
1271
+ 'UACExecutionLevel': '2',
1272
+ 'UACUIAccess': 'true',
1273
+ 'UseLibraryDependencyInputs': 'true',
1274
+ 'UseUnicodeResponseFiles': 'false',
1275
+ 'Version': '333'},
1276
+ 'VCResourceCompilerTool': {
1277
+ 'AdditionalIncludeDirectories': 'f3',
1278
+ 'AdditionalOptions': '/more3',
1279
+ 'Culture': '3084',
1280
+ 'IgnoreStandardIncludePath': 'true',
1281
+ 'PreprocessorDefinitions': '_UNICODE;UNICODE2',
1282
+ 'ResourceOutputFileName': '$(IntDir)/$(InputName)3.res',
1283
+ 'ShowProgress': 'true'},
1284
+ 'VCManifestTool': {
1285
+ 'AdditionalManifestFiles': 'sfsdfsd',
1286
+ 'AdditionalOptions': 'afdsdafsd',
1287
+ 'AssemblyIdentity': 'sddfdsadfsa',
1288
+ 'ComponentFileName': 'fsdfds',
1289
+ 'DependencyInformationFile': '$(IntDir)\\mt.depdfd',
1290
+ 'EmbedManifest': 'false',
1291
+ 'GenerateCatalogFiles': 'true',
1292
+ 'InputResourceManifests': 'asfsfdafs',
1293
+ 'ManifestResourceFile':
1294
+ '$(IntDir)\\$(TargetFileName).embed.manifest.resfdsf',
1295
+ 'OutputManifestFile': '$(TargetPath).manifestdfs',
1296
+ 'RegistrarScriptFile': 'sdfsfd',
1297
+ 'ReplacementsFile': 'sdffsd',
1298
+ 'SuppressStartupBanner': 'false',
1299
+ 'TypeLibraryFile': 'sfsd',
1300
+ 'UpdateFileHashes': 'true',
1301
+ 'UpdateFileHashesSearchPath': 'sfsd',
1302
+ 'UseFAT32Workaround': 'true',
1303
+ 'UseUnicodeResponseFiles': 'false',
1304
+ 'VerboseOutput': 'true'}}
1305
+ expected_msbuild_settings = {
1306
+ 'ClCompile': {
1307
+ 'AdditionalIncludeDirectories': 'dir1',
1308
+ 'AdditionalOptions': '/more /J',
1309
+ 'AdditionalUsingDirectories': 'test',
1310
+ 'AssemblerListingLocation': '$(IntDir)a',
1311
+ 'AssemblerOutput': 'AssemblyCode',
1312
+ 'BasicRuntimeChecks': 'EnableFastChecks',
1313
+ 'BrowseInformation': 'true',
1314
+ 'BrowseInformationFile': '$(IntDir)e',
1315
+ 'BufferSecurityCheck': 'false',
1316
+ 'CallingConvention': 'FastCall',
1317
+ 'CompileAs': 'CompileAsC',
1318
+ 'DebugInformationFormat': 'EditAndContinue',
1319
+ 'DisableLanguageExtensions': 'true',
1320
+ 'DisableSpecificWarnings': 'abc',
1321
+ 'EnableEnhancedInstructionSet': 'StreamingSIMDExtensions',
1322
+ 'EnableFiberSafeOptimizations': 'true',
1323
+ 'EnablePREfast': 'true',
1324
+ 'ErrorReporting': 'Queue',
1325
+ 'ExceptionHandling': 'Async',
1326
+ 'ExpandAttributedSource': 'true',
1327
+ 'FavorSizeOrSpeed': 'Size',
1328
+ 'FloatingPointExceptions': 'true',
1329
+ 'FloatingPointModel': 'Strict',
1330
+ 'ForceConformanceInForLoopScope': 'false',
1331
+ 'ForcedIncludeFiles': 'def',
1332
+ 'ForcedUsingFiles': 'ge',
1333
+ 'FunctionLevelLinking': 'true',
1334
+ 'GenerateXMLDocumentationFiles': 'true',
1335
+ 'IgnoreStandardIncludePath': 'true',
1336
+ 'InlineFunctionExpansion': 'OnlyExplicitInline',
1337
+ 'IntrinsicFunctions': 'true',
1338
+ 'MinimalRebuild': 'true',
1339
+ 'ObjectFileName': '$(IntDir)b',
1340
+ 'OmitDefaultLibName': 'true',
1341
+ 'OmitFramePointers': 'true',
1342
+ 'OpenMPSupport': 'true',
1343
+ 'Optimization': 'Full',
1344
+ 'PrecompiledHeader': 'NotUsing', # Actual conversion gives ''
1345
+ 'PrecompiledHeaderFile': 'StdAfx.hd',
1346
+ 'PrecompiledHeaderOutputFile': '$(IntDir)$(TargetName).pche',
1347
+ 'PreprocessKeepComments': 'true',
1348
+ 'PreprocessorDefinitions': 'WIN32;_DEBUG;_CONSOLE',
1349
+ 'PreprocessSuppressLineNumbers': 'true',
1350
+ 'PreprocessToFile': 'true',
1351
+ 'ProgramDataBaseFileName': '$(IntDir)vc90b.pdb',
1352
+ 'RuntimeLibrary': 'MultiThreadedDebugDLL',
1353
+ 'RuntimeTypeInfo': 'false',
1354
+ 'ShowIncludes': 'true',
1355
+ 'SmallerTypeCheck': 'true',
1356
+ 'StringPooling': 'true',
1357
+ 'StructMemberAlignment': '4Bytes',
1358
+ 'SuppressStartupBanner': 'false',
1359
+ 'TreatWarningAsError': 'true',
1360
+ 'TreatWChar_tAsBuiltInType': 'false',
1361
+ 'UndefineAllPreprocessorDefinitions': 'true',
1362
+ 'UndefinePreprocessorDefinitions': 'wer',
1363
+ 'UseFullPaths': 'true',
1364
+ 'WarningLevel': 'Level3',
1365
+ 'WholeProgramOptimization': 'true',
1366
+ 'XMLDocumentationFileName': '$(IntDir)c'},
1367
+ 'Link': {
1368
+ 'AdditionalDependencies': 'zx',
1369
+ 'AdditionalLibraryDirectories': 'asd',
1370
+ 'AdditionalManifestDependencies': 's2',
1371
+ 'AdditionalOptions': '/mor2',
1372
+ 'AddModuleNamesToAssembly': 'd1',
1373
+ 'AllowIsolation': 'false',
1374
+ 'AssemblyDebug': 'true',
1375
+ 'AssemblyLinkResource': 'd5',
1376
+ 'BaseAddress': '23423',
1377
+ 'CLRImageType': 'ForceSafeILImage',
1378
+ 'CLRThreadAttribute': 'MTAThreadingAttribute',
1379
+ 'CLRUnmanagedCodeCheck': 'true',
1380
+ 'DataExecutionPrevention': '',
1381
+ 'DelayLoadDLLs': 'd4',
1382
+ 'DelaySign': 'true',
1383
+ 'Driver': 'UpOnly',
1384
+ 'EmbedManagedResourceFile': 'd2',
1385
+ 'EnableCOMDATFolding': 'false',
1386
+ 'EnableUAC': 'false',
1387
+ 'EntryPointSymbol': 'f5',
1388
+ 'FixedBaseAddress': 'false',
1389
+ 'ForceSymbolReferences': 'd3',
1390
+ 'FunctionOrder': 'fssdfsd',
1391
+ 'GenerateDebugInformation': 'true',
1392
+ 'GenerateMapFile': 'true',
1393
+ 'HeapCommitSize': '13',
1394
+ 'HeapReserveSize': '12',
1395
+ 'IgnoreAllDefaultLibraries': 'true',
1396
+ 'IgnoreEmbeddedIDL': 'true',
1397
+ 'IgnoreSpecificDefaultLibraries': 'flob;flok',
1398
+ 'ImportLibrary': 'f4',
1399
+ 'KeyContainer': 'f7',
1400
+ 'KeyFile': 'f6',
1401
+ 'LargeAddressAware': 'true',
1402
+ 'LinkErrorReporting': 'QueueForNextLogin',
1403
+ 'LinkTimeCodeGeneration': 'UseLinkTimeCodeGeneration',
1404
+ 'ManifestFile': '$(IntDir)$(TargetFileName).2intermediate.manifest',
1405
+ 'MapExports': 'true',
1406
+ 'MapFileName': 'd5',
1407
+ 'MergedIDLBaseFileName': 'f2',
1408
+ 'MergeSections': 'f5',
1409
+ 'MidlCommandFile': 'f1',
1410
+ 'ModuleDefinitionFile': 'sdsd',
1411
+ 'NoEntryPoint': 'true',
1412
+ 'OptimizeReferences': 'true',
1413
+ 'OutputFile': '$(OutDir)$(ProjectName)2.exe',
1414
+ 'PerUserRedirection': 'true',
1415
+ 'Profile': 'true',
1416
+ 'ProfileGuidedDatabase': '$(TargetDir)$(TargetName).pgdd',
1417
+ 'ProgramDatabaseFile': 'Flob.pdb',
1418
+ 'RandomizedBaseAddress': 'false',
1419
+ 'RegisterOutput': 'true',
1420
+ 'SetChecksum': 'false',
1421
+ 'ShowProgress': 'LinkVerbose',
1422
+ 'StackCommitSize': '15',
1423
+ 'StackReserveSize': '14',
1424
+ 'StripPrivateSymbols': 'd3',
1425
+ 'SubSystem': 'Console',
1426
+ 'SupportUnloadOfDelayLoadedDLL': 'true',
1427
+ 'SuppressStartupBanner': 'false',
1428
+ 'SwapRunFromCD': 'true',
1429
+ 'SwapRunFromNET': 'true',
1430
+ 'TargetMachine': 'MachineX86',
1431
+ 'TerminalServerAware': 'false',
1432
+ 'TurnOffAssemblyGeneration': 'true',
1433
+ 'TypeLibraryFile': 'f3',
1434
+ 'TypeLibraryResourceID': '12',
1435
+ 'UACExecutionLevel': 'RequireAdministrator',
1436
+ 'UACUIAccess': 'true',
1437
+ 'Version': '333'},
1438
+ 'ResourceCompile': {
1439
+ 'AdditionalIncludeDirectories': 'f3',
1440
+ 'AdditionalOptions': '/more3',
1441
+ 'Culture': '0x0c0c',
1442
+ 'IgnoreStandardIncludePath': 'true',
1443
+ 'PreprocessorDefinitions': '_UNICODE;UNICODE2',
1444
+ 'ResourceOutputFileName': '$(IntDir)%(Filename)3.res',
1445
+ 'ShowProgress': 'true'},
1446
+ 'Manifest': {
1447
+ 'AdditionalManifestFiles': 'sfsdfsd',
1448
+ 'AdditionalOptions': 'afdsdafsd',
1449
+ 'AssemblyIdentity': 'sddfdsadfsa',
1450
+ 'ComponentFileName': 'fsdfds',
1451
+ 'GenerateCatalogFiles': 'true',
1452
+ 'InputResourceManifests': 'asfsfdafs',
1453
+ 'OutputManifestFile': '$(TargetPath).manifestdfs',
1454
+ 'RegistrarScriptFile': 'sdfsfd',
1455
+ 'ReplacementsFile': 'sdffsd',
1456
+ 'SuppressStartupBanner': 'false',
1457
+ 'TypeLibraryFile': 'sfsd',
1458
+ 'UpdateFileHashes': 'true',
1459
+ 'UpdateFileHashesSearchPath': 'sfsd',
1460
+ 'VerboseOutput': 'true'},
1461
+ 'ProjectReference': {
1462
+ 'LinkLibraryDependencies': 'false',
1463
+ 'UseLibraryDependencyInputs': 'true'},
1464
+ '': {
1465
+ 'EmbedManifest': 'false',
1466
+ 'GenerateManifest': 'false',
1467
+ 'IgnoreImportLibrary': 'true',
1468
+ 'LinkIncremental': ''
1469
+ },
1470
+ 'ManifestResourceCompile': {
1471
+ 'ResourceOutputFileName':
1472
+ '$(IntDir)$(TargetFileName).embed.manifest.resfdsf'}
1473
+ }
1474
+ actual_msbuild_settings = MSVSSettings.ConvertToMSBuildSettings(
1475
+ msvs_settings,
1476
+ self.stderr)
1477
+ self.assertEqual(expected_msbuild_settings, actual_msbuild_settings)
1478
+ self._ExpectedWarnings([])
1479
+
1480
+
1481
+ if __name__ == '__main__':
1482
+ unittest.main()