@akylas/nativescript-cli 8.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (531) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +385 -0
  3. package/bin/nativescript +3 -0
  4. package/bin/nativescript.js +3 -0
  5. package/bin/ns +3 -0
  6. package/bin/nsc +3 -0
  7. package/bin/nsc.js +3 -0
  8. package/bin/tns +12 -0
  9. package/bin/tns.cmd +1 -0
  10. package/config/config.json +8 -0
  11. package/config/test-dependencies.json +58 -0
  12. package/config/test-deps-versions-generated.json +1 -0
  13. package/docs/build-jekyll-md.sh +7 -0
  14. package/docs/helpers/favicon.ico +0 -0
  15. package/docs/helpers/logo.png +0 -0
  16. package/docs/man_pages/cloud/cloud-setup.md +29 -0
  17. package/docs/man_pages/device/device-android.md +32 -0
  18. package/docs/man_pages/device/device-ios.md +40 -0
  19. package/docs/man_pages/device/device-list-applications.md +37 -0
  20. package/docs/man_pages/device/device-log.md +37 -0
  21. package/docs/man_pages/device/device-run.md +55 -0
  22. package/docs/man_pages/device/device.md +46 -0
  23. package/docs/man_pages/env-configuration/setup.md +22 -0
  24. package/docs/man_pages/general/autocomplete-disable.md +37 -0
  25. package/docs/man_pages/general/autocomplete-enable.md +37 -0
  26. package/docs/man_pages/general/autocomplete-status.md +35 -0
  27. package/docs/man_pages/general/autocomplete.md +46 -0
  28. package/docs/man_pages/general/clean.md +22 -0
  29. package/docs/man_pages/general/doctor.md +33 -0
  30. package/docs/man_pages/general/error-reporting.md +41 -0
  31. package/docs/man_pages/general/extension-install.md +45 -0
  32. package/docs/man_pages/general/extension-uninstall.md +41 -0
  33. package/docs/man_pages/general/extension.md +35 -0
  34. package/docs/man_pages/general/help.md +39 -0
  35. package/docs/man_pages/general/info.md +33 -0
  36. package/docs/man_pages/general/migrate.md +79 -0
  37. package/docs/man_pages/general/package-manager-get.md +26 -0
  38. package/docs/man_pages/general/package-manager-set.md +29 -0
  39. package/docs/man_pages/general/package-manager.md +25 -0
  40. package/docs/man_pages/general/proxy-clear.md +26 -0
  41. package/docs/man_pages/general/proxy-set.md +45 -0
  42. package/docs/man_pages/general/proxy.md +31 -0
  43. package/docs/man_pages/general/update.md +40 -0
  44. package/docs/man_pages/general/usage-reporting.md +41 -0
  45. package/docs/man_pages/index.html +3 -0
  46. package/docs/man_pages/lib-management/plugin-add.md +42 -0
  47. package/docs/man_pages/lib-management/plugin-build.md +32 -0
  48. package/docs/man_pages/lib-management/plugin-create.md +48 -0
  49. package/docs/man_pages/lib-management/plugin-install.md +42 -0
  50. package/docs/man_pages/lib-management/plugin-remove.md +31 -0
  51. package/docs/man_pages/lib-management/plugin-update.md +41 -0
  52. package/docs/man_pages/lib-management/plugin.md +39 -0
  53. package/docs/man_pages/project/configuration/generate.md +36 -0
  54. package/docs/man_pages/project/configuration/install.md +43 -0
  55. package/docs/man_pages/project/configuration/open-android.md +27 -0
  56. package/docs/man_pages/project/configuration/open-ios.md +31 -0
  57. package/docs/man_pages/project/configuration/open.md +36 -0
  58. package/docs/man_pages/project/configuration/platform-add.md +46 -0
  59. package/docs/man_pages/project/configuration/platform-clean.md +41 -0
  60. package/docs/man_pages/project/configuration/platform-remove.md +41 -0
  61. package/docs/man_pages/project/configuration/platform-update.md +45 -0
  62. package/docs/man_pages/project/configuration/platform.md +29 -0
  63. package/docs/man_pages/project/configuration/prepare.md +49 -0
  64. package/docs/man_pages/project/configuration/resources/resources-generate-icons.md +39 -0
  65. package/docs/man_pages/project/configuration/resources/resources-generate-splashes.md +39 -0
  66. package/docs/man_pages/project/configuration/resources/resources-update.md +35 -0
  67. package/docs/man_pages/project/configuration/resources/resources.md +14 -0
  68. package/docs/man_pages/project/creation/create.md +64 -0
  69. package/docs/man_pages/project/testing/build-android.md +62 -0
  70. package/docs/man_pages/project/testing/build-ios.md +65 -0
  71. package/docs/man_pages/project/testing/build.md +66 -0
  72. package/docs/man_pages/project/testing/debug-android.md +64 -0
  73. package/docs/man_pages/project/testing/debug-ios.md +65 -0
  74. package/docs/man_pages/project/testing/debug.md +67 -0
  75. package/docs/man_pages/project/testing/deploy.md +72 -0
  76. package/docs/man_pages/project/testing/dev-test-android.md +31 -0
  77. package/docs/man_pages/project/testing/dev-test-ios.md +36 -0
  78. package/docs/man_pages/project/testing/preview.md +35 -0
  79. package/docs/man_pages/project/testing/run-android.md +79 -0
  80. package/docs/man_pages/project/testing/run-ios.md +83 -0
  81. package/docs/man_pages/project/testing/run.md +92 -0
  82. package/docs/man_pages/project/testing/test-android.md +46 -0
  83. package/docs/man_pages/project/testing/test-init.md +34 -0
  84. package/docs/man_pages/project/testing/test-ios.md +48 -0
  85. package/docs/man_pages/project/testing/test.md +48 -0
  86. package/docs/man_pages/project/testing/typings.md +52 -0
  87. package/docs/man_pages/publishing/apple-login.md +35 -0
  88. package/docs/man_pages/publishing/appstore-upload.md +52 -0
  89. package/docs/man_pages/publishing/appstore.md +42 -0
  90. package/docs/man_pages/publishing/publish-ios.md +55 -0
  91. package/docs/man_pages/publishing/publish.md +38 -0
  92. package/docs/man_pages/start.md +81 -0
  93. package/lib/.d.ts +494 -0
  94. package/lib/android-tools-info.js +135 -0
  95. package/lib/base-package-manager.js +129 -0
  96. package/lib/bash-scripts/terminateProcess.sh +12 -0
  97. package/lib/bootstrap.js +203 -0
  98. package/lib/bun-package-manager.js +135 -0
  99. package/lib/color.js +10 -0
  100. package/lib/commands/add-platform.js +49 -0
  101. package/lib/commands/apple-login.js +52 -0
  102. package/lib/commands/appstore-list.js +75 -0
  103. package/lib/commands/appstore-upload.js +106 -0
  104. package/lib/commands/build.js +161 -0
  105. package/lib/commands/clean.js +253 -0
  106. package/lib/commands/command-base.js +46 -0
  107. package/lib/commands/config.js +135 -0
  108. package/lib/commands/create-project.js +431 -0
  109. package/lib/commands/debug.js +191 -0
  110. package/lib/commands/deploy.js +78 -0
  111. package/lib/commands/extensibility/install-extension.js +33 -0
  112. package/lib/commands/extensibility/list-extensions.js +40 -0
  113. package/lib/commands/extensibility/uninstall-extension.js +32 -0
  114. package/lib/commands/fonts.js +64 -0
  115. package/lib/commands/generate-assets.js +71 -0
  116. package/lib/commands/generate-help.js +26 -0
  117. package/lib/commands/generate.js +78 -0
  118. package/lib/commands/info.js +26 -0
  119. package/lib/commands/install.js +80 -0
  120. package/lib/commands/list-platforms.js +45 -0
  121. package/lib/commands/migrate.js +44 -0
  122. package/lib/commands/platform-clean.js +54 -0
  123. package/lib/commands/plugin/add-plugin.js +43 -0
  124. package/lib/commands/plugin/build-plugin.js +70 -0
  125. package/lib/commands/plugin/create-plugin.js +175 -0
  126. package/lib/commands/plugin/list-plugins.js +54 -0
  127. package/lib/commands/plugin/remove-plugin.js +52 -0
  128. package/lib/commands/plugin/update-plugin.js +52 -0
  129. package/lib/commands/post-install.js +57 -0
  130. package/lib/commands/prepare.js +63 -0
  131. package/lib/commands/preview.js +93 -0
  132. package/lib/commands/remove-platform.js +40 -0
  133. package/lib/commands/resources/resources-update.js +45 -0
  134. package/lib/commands/run.js +177 -0
  135. package/lib/commands/setup.js +15 -0
  136. package/lib/commands/start.js +33 -0
  137. package/lib/commands/test-init.js +167 -0
  138. package/lib/commands/test.js +146 -0
  139. package/lib/commands/typings.js +180 -0
  140. package/lib/commands/update-platform.js +57 -0
  141. package/lib/commands/update.js +70 -0
  142. package/lib/common/LICENSE +201 -0
  143. package/lib/common/README.md +1084 -0
  144. package/lib/common/bin/common-lib.js +5 -0
  145. package/lib/common/bootstrap.js +97 -0
  146. package/lib/common/child-process.js +217 -0
  147. package/lib/common/codeGeneration/code-entity.js +47 -0
  148. package/lib/common/codeGeneration/code-generation.d.ts +47 -0
  149. package/lib/common/codeGeneration/code-printer.js +48 -0
  150. package/lib/common/command-params.js +45 -0
  151. package/lib/common/commands/analytics.js +81 -0
  152. package/lib/common/commands/autocompletion.js +110 -0
  153. package/lib/common/commands/device/device-log-stream.js +44 -0
  154. package/lib/common/commands/device/get-file.js +54 -0
  155. package/lib/common/commands/device/list-applications.js +42 -0
  156. package/lib/common/commands/device/list-devices.js +150 -0
  157. package/lib/common/commands/device/list-files.js +55 -0
  158. package/lib/common/commands/device/put-file.js +55 -0
  159. package/lib/common/commands/device/run-application.js +46 -0
  160. package/lib/common/commands/device/stop-application.js +42 -0
  161. package/lib/common/commands/device/uninstall-application.js +33 -0
  162. package/lib/common/commands/doctor.js +54 -0
  163. package/lib/common/commands/generate-messages.js +45 -0
  164. package/lib/common/commands/help.js +51 -0
  165. package/lib/common/commands/package-manager-get.js +32 -0
  166. package/lib/common/commands/package-manager-set.js +37 -0
  167. package/lib/common/commands/post-install.js +27 -0
  168. package/lib/common/commands/preuninstall.js +61 -0
  169. package/lib/common/commands/proxy/proxy-base.js +34 -0
  170. package/lib/common/commands/proxy/proxy-clear.js +32 -0
  171. package/lib/common/commands/proxy/proxy-get.js +31 -0
  172. package/lib/common/commands/proxy/proxy-set.js +150 -0
  173. package/lib/common/common-lib.js +5 -0
  174. package/lib/common/constants.js +122 -0
  175. package/lib/common/declarations.d.ts +1713 -0
  176. package/lib/common/decorators.js +201 -0
  177. package/lib/common/definitions/cli-global.d.ts +22 -0
  178. package/lib/common/definitions/commands-service.d.ts +27 -0
  179. package/lib/common/definitions/commands.d.ts +51 -0
  180. package/lib/common/definitions/config.d.ts +33 -0
  181. package/lib/common/definitions/extensibility.d.ts +147 -0
  182. package/lib/common/definitions/google-analytics.d.ts +109 -0
  183. package/lib/common/definitions/json-file-settings-service.d.ts +24 -0
  184. package/lib/common/definitions/key-commands.d.ts +62 -0
  185. package/lib/common/definitions/logger.d.ts +41 -0
  186. package/lib/common/definitions/mobile.d.ts +1499 -0
  187. package/lib/common/definitions/validator.d.ts +8 -0
  188. package/lib/common/definitions/yok.d.ts +56 -0
  189. package/lib/common/dispatchers.js +151 -0
  190. package/lib/common/docs/helpers/basic-extensions-page.html +15 -0
  191. package/lib/common/docs/helpers/basic-page.html +14 -0
  192. package/lib/common/docs/helpers/styles.css +365 -0
  193. package/lib/common/doctor.d.ts +6 -0
  194. package/lib/common/errors.js +206 -0
  195. package/lib/common/file-system.js +441 -0
  196. package/lib/common/header.js +30 -0
  197. package/lib/common/helpers.js +658 -0
  198. package/lib/common/host-info.js +133 -0
  199. package/lib/common/http-client.js +173 -0
  200. package/lib/common/logger/appenders/cli-appender.js +24 -0
  201. package/lib/common/logger/appenders/emit-appender.js +30 -0
  202. package/lib/common/logger/layouts/cli-layout.js +33 -0
  203. package/lib/common/logger/logger.js +199 -0
  204. package/lib/common/messages/messages.interface.d.ts +10 -0
  205. package/lib/common/messages/messages.js +15 -0
  206. package/lib/common/mobile/android/android-application-manager.js +228 -0
  207. package/lib/common/mobile/android/android-debug-bridge-result-handler.js +332 -0
  208. package/lib/common/mobile/android/android-debug-bridge.js +167 -0
  209. package/lib/common/mobile/android/android-device-file-system.js +176 -0
  210. package/lib/common/mobile/android/android-device-hash-service.js +133 -0
  211. package/lib/common/mobile/android/android-device.js +164 -0
  212. package/lib/common/mobile/android/android-emulator-services.js +205 -0
  213. package/lib/common/mobile/android/android-ini-file-parser.js +77 -0
  214. package/lib/common/mobile/android/android-log-filter.js +42 -0
  215. package/lib/common/mobile/android/android-virtual-device-service.js +360 -0
  216. package/lib/common/mobile/android/device-android-debug-bridge.js +48 -0
  217. package/lib/common/mobile/android/genymotion/genymotion-service.js +211 -0
  218. package/lib/common/mobile/android/genymotion/virtualbox-service.js +121 -0
  219. package/lib/common/mobile/android/logcat-helper.js +165 -0
  220. package/lib/common/mobile/application-manager-base.js +136 -0
  221. package/lib/common/mobile/device-emitter.js +61 -0
  222. package/lib/common/mobile/device-log-emitter.js +40 -0
  223. package/lib/common/mobile/device-log-provider-base.js +76 -0
  224. package/lib/common/mobile/device-log-provider.js +126 -0
  225. package/lib/common/mobile/device-platforms-constants.js +22 -0
  226. package/lib/common/mobile/emulator-helper.js +84 -0
  227. package/lib/common/mobile/ios/device/ios-application-manager.js +159 -0
  228. package/lib/common/mobile/ios/device/ios-device-file-system.js +133 -0
  229. package/lib/common/mobile/ios/device/ios-device-operations.js +234 -0
  230. package/lib/common/mobile/ios/device/ios-device.js +153 -0
  231. package/lib/common/mobile/ios/ios-device-base.js +108 -0
  232. package/lib/common/mobile/ios/ios-device-product-name-mapper.js +65 -0
  233. package/lib/common/mobile/ios/ios-log-filter.js +24 -0
  234. package/lib/common/mobile/ios/simulator/ios-emulator-services.js +139 -0
  235. package/lib/common/mobile/ios/simulator/ios-sim-resolver.js +23 -0
  236. package/lib/common/mobile/ios/simulator/ios-simulator-application-manager.js +147 -0
  237. package/lib/common/mobile/ios/simulator/ios-simulator-device.js +106 -0
  238. package/lib/common/mobile/ios/simulator/ios-simulator-file-system.js +81 -0
  239. package/lib/common/mobile/ios/simulator/ios-simulator-log-provider.js +69 -0
  240. package/lib/common/mobile/local-to-device-path-data-factory.js +37 -0
  241. package/lib/common/mobile/log-filter.js +51 -0
  242. package/lib/common/mobile/logging-levels.js +12 -0
  243. package/lib/common/mobile/mobile-core/android-device-discovery.js +91 -0
  244. package/lib/common/mobile/mobile-core/android-emulator-discovery.js +65 -0
  245. package/lib/common/mobile/mobile-core/android-process-service.js +259 -0
  246. package/lib/common/mobile/mobile-core/device-discovery.js +64 -0
  247. package/lib/common/mobile/mobile-core/devices-service.js +854 -0
  248. package/lib/common/mobile/mobile-core/ios-device-discovery.js +63 -0
  249. package/lib/common/mobile/mobile-core/ios-simulator-discovery.js +109 -0
  250. package/lib/common/mobile/mobile-helper.js +102 -0
  251. package/lib/common/mobile/wp8/wp8-emulator-services.js +82 -0
  252. package/lib/common/old.npmignore +12 -0
  253. package/lib/common/opener.js +16 -0
  254. package/lib/common/os-info.js +21 -0
  255. package/lib/common/plist-parser.js +24 -0
  256. package/lib/common/project-helper.js +70 -0
  257. package/lib/common/prompter.js +191 -0
  258. package/lib/common/queue.js +37 -0
  259. package/lib/common/resource-loader.js +25 -0
  260. package/lib/common/resources/messages/errorMessages.json +7 -0
  261. package/lib/common/resources/platform-tools/android/darwin/NOTICE.txt +3407 -0
  262. package/lib/common/resources/platform-tools/android/darwin/adb +0 -0
  263. package/lib/common/resources/platform-tools/android/linux/NOTICE.txt +4451 -0
  264. package/lib/common/resources/platform-tools/android/linux/adb +0 -0
  265. package/lib/common/resources/platform-tools/android/win32/AdbWinApi.dll +0 -0
  266. package/lib/common/resources/platform-tools/android/win32/AdbWinUsbApi.dll +0 -0
  267. package/lib/common/resources/platform-tools/android/win32/NOTICE.txt +4451 -0
  268. package/lib/common/resources/platform-tools/android/win32/adb.exe +0 -0
  269. package/lib/common/resources/platform-tools/android/win32/fastboot.exe +0 -0
  270. package/lib/common/resources/platform-tools/unzip/win32/unzip.exe +0 -0
  271. package/lib/common/services/analytics/google-analytics-custom-dimensions.d.ts +16 -0
  272. package/lib/common/services/auto-completion-service.js +265 -0
  273. package/lib/common/services/cancellation.js +67 -0
  274. package/lib/common/services/commands-service.js +268 -0
  275. package/lib/common/services/help-service.js +252 -0
  276. package/lib/common/services/hooks-service.js +318 -0
  277. package/lib/common/services/ios-notification-service.js +49 -0
  278. package/lib/common/services/json-file-settings-service.js +133 -0
  279. package/lib/common/services/lock-service.js +129 -0
  280. package/lib/common/services/message-contract-generator.js +83 -0
  281. package/lib/common/services/messages-service.js +77 -0
  282. package/lib/common/services/micro-templating-service.js +49 -0
  283. package/lib/common/services/net-service.js +137 -0
  284. package/lib/common/services/project-files-manager.js +100 -0
  285. package/lib/common/services/project-files-provider-base.js +54 -0
  286. package/lib/common/services/proxy-service.js +64 -0
  287. package/lib/common/services/qr.js +39 -0
  288. package/lib/common/services/settings-service.js +42 -0
  289. package/lib/common/services/xcode-select-service.js +62 -0
  290. package/lib/common/utils.js +31 -0
  291. package/lib/common/validators/project-name-validator.js +88 -0
  292. package/lib/common/validators/validation-result.js +16 -0
  293. package/lib/common/vendor/License.txt +4 -0
  294. package/lib/common/vendor/jaro-winkler_distance.js +111 -0
  295. package/lib/common/verify-node-version.js +78 -0
  296. package/lib/common/yok.js +426 -0
  297. package/lib/config.js +137 -0
  298. package/lib/constants-provider.js +12 -0
  299. package/lib/constants.js +350 -0
  300. package/lib/controllers/build-controller.js +133 -0
  301. package/lib/controllers/debug-controller.js +235 -0
  302. package/lib/controllers/deploy-controller.js +38 -0
  303. package/lib/controllers/migrate-controller.js +1114 -0
  304. package/lib/controllers/platform-controller.js +127 -0
  305. package/lib/controllers/prepare-controller.js +353 -0
  306. package/lib/controllers/run-controller.js +525 -0
  307. package/lib/controllers/update-controller-base.js +84 -0
  308. package/lib/controllers/update-controller.js +188 -0
  309. package/lib/data/build-data.js +44 -0
  310. package/lib/data/controller-data-base.js +11 -0
  311. package/lib/data/debug-data.js +6 -0
  312. package/lib/data/platform-data.js +13 -0
  313. package/lib/data/prepare-data.js +46 -0
  314. package/lib/data/run-data.js +11 -0
  315. package/lib/declarations.d.ts +1256 -0
  316. package/lib/definitions/android-bundle-tool-service.d.ts +17 -0
  317. package/lib/definitions/android-plugin-migrator.d.ts +52 -0
  318. package/lib/definitions/build.d.ts +92 -0
  319. package/lib/definitions/cleanup-service.d.ts +79 -0
  320. package/lib/definitions/data.d.ts +7 -0
  321. package/lib/definitions/debug.d.ts +166 -0
  322. package/lib/definitions/deploy.d.ts +3 -0
  323. package/lib/definitions/file-log-service.d.ts +19 -0
  324. package/lib/definitions/files-hash-service.d.ts +35 -0
  325. package/lib/definitions/gradle.d.ts +33 -0
  326. package/lib/definitions/hmr-status-service.d.ts +5 -0
  327. package/lib/definitions/initialize-service.d.ts +11 -0
  328. package/lib/definitions/ios-debugger-port-service.d.ts +29 -0
  329. package/lib/definitions/ios.d.ts +97 -0
  330. package/lib/definitions/ip-service.d.ts +10 -0
  331. package/lib/definitions/livesync-global.d.ts +7 -0
  332. package/lib/definitions/livesync.d.ts +601 -0
  333. package/lib/definitions/lock-service.d.ts +43 -0
  334. package/lib/definitions/log-parser-service.d.ts +14 -0
  335. package/lib/definitions/marking-mode-service.d.ts +11 -0
  336. package/lib/definitions/metadata-filtering-service.d.ts +48 -0
  337. package/lib/definitions/migrate.d.ts +46 -0
  338. package/lib/definitions/nativescript-dev-xcode.d.ts +87 -0
  339. package/lib/definitions/pacote-service.d.ts +50 -0
  340. package/lib/definitions/platform.d.ts +146 -0
  341. package/lib/definitions/plugins.d.ts +75 -0
  342. package/lib/definitions/prepare.d.ts +51 -0
  343. package/lib/definitions/project-changes.d.ts +34 -0
  344. package/lib/definitions/project.d.ts +858 -0
  345. package/lib/definitions/prompter.d.ts +27 -0
  346. package/lib/definitions/qr-code.d.ts +3 -0
  347. package/lib/definitions/require.d.ts +11 -0
  348. package/lib/definitions/run.d.ts +45 -0
  349. package/lib/definitions/start-service.d.ts +15 -0
  350. package/lib/definitions/subscription-service.d.ts +11 -0
  351. package/lib/definitions/system-warnings.d.ts +4 -0
  352. package/lib/definitions/temp-service.d.ts +9 -0
  353. package/lib/definitions/terminal-spinner-service.d.ts +12 -0
  354. package/lib/definitions/update.d.ts +16 -0
  355. package/lib/definitions/xcode.d.ts +12 -0
  356. package/lib/detached-processes/cleanup-js-subprocess.js +62 -0
  357. package/lib/detached-processes/cleanup-process-definitions.d.ts +70 -0
  358. package/lib/detached-processes/cleanup-process.js +281 -0
  359. package/lib/detached-processes/detached-process-enums.d.ts +70 -0
  360. package/lib/detached-processes/file-log-service.js +20 -0
  361. package/lib/device-path-provider.js +60 -0
  362. package/lib/device-sockets/ios/app-debug-socket-proxy-factory.js +217 -0
  363. package/lib/device-sockets/ios/notification.js +30 -0
  364. package/lib/device-sockets/ios/socket-request-executor.js +56 -0
  365. package/lib/helpers/android-bundle-validator-helper.js +52 -0
  366. package/lib/helpers/deploy-command-helper.js +70 -0
  367. package/lib/helpers/key-command-helper.js +124 -0
  368. package/lib/helpers/livesync-command-helper.js +220 -0
  369. package/lib/helpers/network-connectivity-validator.js +47 -0
  370. package/lib/helpers/options-track-helper.js +88 -0
  371. package/lib/helpers/package-path-helper.js +6 -0
  372. package/lib/helpers/platform-command-helper.js +192 -0
  373. package/lib/helpers/version-validator-helper.js +25 -0
  374. package/lib/key-commands/bootstrap.js +21 -0
  375. package/lib/key-commands/index.js +456 -0
  376. package/lib/nativescript-cli-lib-bootstrap.js +8 -0
  377. package/lib/nativescript-cli-lib.js +5 -0
  378. package/lib/nativescript-cli.js +55 -0
  379. package/lib/node/pbxproj-dom-xcode.js +5 -0
  380. package/lib/node/xcode.js +7 -0
  381. package/lib/node-package-manager.js +156 -0
  382. package/lib/options.js +393 -0
  383. package/lib/package-installation-manager.js +221 -0
  384. package/lib/package-manager.js +184 -0
  385. package/lib/platform-command-param.js +29 -0
  386. package/lib/pnpm-package-manager.js +136 -0
  387. package/lib/project-data.js +237 -0
  388. package/lib/providers/project-files-provider.js +46 -0
  389. package/lib/resolvers/livesync-service-resolver.js +22 -0
  390. package/lib/services/analytics/analytics-broker-process.js +77 -0
  391. package/lib/services/analytics/analytics-broker.js +53 -0
  392. package/lib/services/analytics/analytics-service.js +366 -0
  393. package/lib/services/analytics/analytics.d.ts +55 -0
  394. package/lib/services/analytics/google-analytics-cross-client-custom-dimensions.d.ts +6 -0
  395. package/lib/services/analytics/google-analytics-provider.js +152 -0
  396. package/lib/services/analytics-settings-service.js +104 -0
  397. package/lib/services/android/android-bundle-tool-service.js +81 -0
  398. package/lib/services/android/gradle-build-args-service.js +87 -0
  399. package/lib/services/android/gradle-build-service.js +68 -0
  400. package/lib/services/android/gradle-command-service.js +49 -0
  401. package/lib/services/android-device-debug-service.js +173 -0
  402. package/lib/services/android-plugin-build-service.js +527 -0
  403. package/lib/services/android-project-service.js +600 -0
  404. package/lib/services/android-resources-migration-service.js +104 -0
  405. package/lib/services/apple-portal/apple-portal-application-service.js +82 -0
  406. package/lib/services/apple-portal/apple-portal-cookie-service.js +53 -0
  407. package/lib/services/apple-portal/apple-portal-session-service.js +277 -0
  408. package/lib/services/apple-portal/definitions.d.ts +87 -0
  409. package/lib/services/assets-generation/assets-generation-service.js +178 -0
  410. package/lib/services/build-artifacts-service.js +113 -0
  411. package/lib/services/build-data-service.js +20 -0
  412. package/lib/services/build-info-file-service.js +79 -0
  413. package/lib/services/cleanup-service.js +194 -0
  414. package/lib/services/cocoapods-platform-manager.js +137 -0
  415. package/lib/services/cocoapods-service.js +354 -0
  416. package/lib/services/debug-data-service.js +21 -0
  417. package/lib/services/debug-service-base.js +44 -0
  418. package/lib/services/device/device-install-app-service.js +118 -0
  419. package/lib/services/doctor-service.js +294 -0
  420. package/lib/services/extensibility-service.js +220 -0
  421. package/lib/services/files-hash-service.js +79 -0
  422. package/lib/services/hmr-status-service.js +128 -0
  423. package/lib/services/info-service.js +14 -0
  424. package/lib/services/initialize-service.js +70 -0
  425. package/lib/services/ios/export-options-plist-service.js +131 -0
  426. package/lib/services/ios/ios-signing-service.js +265 -0
  427. package/lib/services/ios/spm-service.js +78 -0
  428. package/lib/services/ios/xcodebuild-args-service.js +163 -0
  429. package/lib/services/ios/xcodebuild-command-service.js +40 -0
  430. package/lib/services/ios/xcodebuild-service.js +93 -0
  431. package/lib/services/ios-debugger-port-service.js +140 -0
  432. package/lib/services/ios-device-debug-service.js +167 -0
  433. package/lib/services/ios-entitlements-service.js +78 -0
  434. package/lib/services/ios-extensions-service.js +63 -0
  435. package/lib/services/ios-log-filter.js +70 -0
  436. package/lib/services/ios-native-target-service.js +108 -0
  437. package/lib/services/ios-project-service.js +851 -0
  438. package/lib/services/ios-provision-service.js +173 -0
  439. package/lib/services/ios-watch-app-service.js +76 -0
  440. package/lib/services/ip-service.js +78 -0
  441. package/lib/services/itmstransporter-service.js +216 -0
  442. package/lib/services/karma-execution.js +16 -0
  443. package/lib/services/livesync/android-device-livesync-service-base.js +68 -0
  444. package/lib/services/livesync/android-device-livesync-service.js +203 -0
  445. package/lib/services/livesync/android-device-livesync-sockets-service.js +198 -0
  446. package/lib/services/livesync/android-livesync-service.js +76 -0
  447. package/lib/services/livesync/android-livesync-tool.js +427 -0
  448. package/lib/services/livesync/android-livesync-tool.md +211 -0
  449. package/lib/services/livesync/device-livesync-service-base.js +69 -0
  450. package/lib/services/livesync/ios-device-livesync-service.js +218 -0
  451. package/lib/services/livesync/ios-livesync-service.js +95 -0
  452. package/lib/services/livesync/livesync-socket.js +14 -0
  453. package/lib/services/livesync/platform-livesync-service-base.js +180 -0
  454. package/lib/services/livesync-process-data-service.js +43 -0
  455. package/lib/services/log-parser-service.js +52 -0
  456. package/lib/services/log-source-map-service.js +235 -0
  457. package/lib/services/marking-mode-service.js +56 -0
  458. package/lib/services/metadata-filtering-service.js +105 -0
  459. package/lib/services/npm-config-service.js +39 -0
  460. package/lib/services/pacote-service.js +109 -0
  461. package/lib/services/performance-service.js +92 -0
  462. package/lib/services/platform/add-platform-service.js +119 -0
  463. package/lib/services/platform/platform-validation-service.js +85 -0
  464. package/lib/services/platform/prepare-native-platform-service.js +87 -0
  465. package/lib/services/platform-environment-requirements.js +87 -0
  466. package/lib/services/platform-project-service-base.js +32 -0
  467. package/lib/services/platforms-data-service.js +31 -0
  468. package/lib/services/plugins-service.js +477 -0
  469. package/lib/services/prepare-data-service.js +21 -0
  470. package/lib/services/project-backup-service.js +114 -0
  471. package/lib/services/project-changes-service.js +274 -0
  472. package/lib/services/project-cleanup-service.js +102 -0
  473. package/lib/services/project-config-service.js +335 -0
  474. package/lib/services/project-data-service.js +478 -0
  475. package/lib/services/project-name-service.js +67 -0
  476. package/lib/services/project-service.js +204 -0
  477. package/lib/services/project-templates-service.js +114 -0
  478. package/lib/services/qr-code-terminal-service.js +20 -0
  479. package/lib/services/require-service.js +11 -0
  480. package/lib/services/start-service.js +116 -0
  481. package/lib/services/temp-service.js +36 -0
  482. package/lib/services/terminal-spinner-service.js +38 -0
  483. package/lib/services/test-execution-service.js +154 -0
  484. package/lib/services/test-initialization-service.js +54 -0
  485. package/lib/services/timeline-profiler-service.js +108 -0
  486. package/lib/services/user-settings-service.js +34 -0
  487. package/lib/services/versions-service.js +196 -0
  488. package/lib/services/watch-ignore-list-service.js +20 -0
  489. package/lib/services/webpack/webpack-compiler-service.js +405 -0
  490. package/lib/services/webpack/webpack.d.ts +227 -0
  491. package/lib/services/xcconfig-service.js +76 -0
  492. package/lib/services/xcproj-service.js +11 -0
  493. package/lib/shared-event-bus.js +7 -0
  494. package/lib/sys-info.js +120 -0
  495. package/lib/tools/config-manipulation/config-transformer.js +201 -0
  496. package/lib/tools/node-modules/node-modules-builder.js +42 -0
  497. package/lib/tools/node-modules/node-modules-dependencies-builder.js +100 -0
  498. package/lib/yarn-package-manager.js +134 -0
  499. package/lib/yarn2-package-manager.js +143 -0
  500. package/package.json +192 -0
  501. package/postinstall.js +10 -0
  502. package/preuninstall.js +14 -0
  503. package/resources/assets/image-definitions.json +655 -0
  504. package/resources/test/example.jasmine.js +6 -0
  505. package/resources/test/example.jasmine.ts +6 -0
  506. package/resources/test/example.mocha.js +9 -0
  507. package/resources/test/example.mocha.ts +9 -0
  508. package/resources/test/example.qunit.js +7 -0
  509. package/resources/test/example.qunit.ts +7 -0
  510. package/resources/test/karma.conf.js +93 -0
  511. package/resources/test/test-main.js +9 -0
  512. package/resources/test/test-main.ts +11 -0
  513. package/resources/test/tsconfig.spec.json +9 -0
  514. package/setup/mac-startup-shell-script.sh +2 -0
  515. package/vendor/aab-tool/LICENSE +202 -0
  516. package/vendor/aab-tool/README.txt +1 -0
  517. package/vendor/aab-tool/bundletool.jar +0 -0
  518. package/vendor/gradle-app/app/build.gradle +1054 -0
  519. package/vendor/gradle-app/app/gradle-helpers/AnalyticsCollector.gradle +48 -0
  520. package/vendor/gradle-app/app/gradle-helpers/BuildToolTask.gradle +50 -0
  521. package/vendor/gradle-app/app/gradle-helpers/CustomExecutionLogger.gradle +52 -0
  522. package/vendor/gradle-app/build.gradle +170 -0
  523. package/vendor/gradle-app/settings.gradle +78 -0
  524. package/vendor/gradle-plugin/LICENSE +995 -0
  525. package/vendor/gradle-plugin/build.gradle +363 -0
  526. package/vendor/gradle-plugin/gradle/wrapper/gradle-wrapper.jar +0 -0
  527. package/vendor/gradle-plugin/gradle/wrapper/gradle-wrapper.properties +6 -0
  528. package/vendor/gradle-plugin/gradle.properties +6 -0
  529. package/vendor/gradle-plugin/gradlew +172 -0
  530. package/vendor/gradle-plugin/gradlew.bat +84 -0
  531. package/vendor/gradle-plugin/settings.gradle +45 -0
@@ -0,0 +1,995 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "{}"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright {yyyy} {name of copyright owner}
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
203
+
204
+
205
+
206
+ ==============================================================================
207
+ Gradle Subcomponents:
208
+
209
+ ------------------------------------------------------------------------------
210
+ License for the slf4j package
211
+ ------------------------------------------------------------------------------
212
+ SLF4J License
213
+
214
+ Copyright (c) 2004-2007 QOS.ch
215
+ All rights reserved.
216
+
217
+ Permission is hereby granted, free of charge, to any person obtaining
218
+ a copy of this software and associated documentation files (the
219
+ "Software"), to deal in the Software without restriction, including
220
+ without limitation the rights to use, copy, modify, merge, publish,
221
+ distribute, sublicense, and/or sell copies of the Software, and to
222
+ permit persons to whom the Software is furnished to do so, subject to
223
+ the following conditions:
224
+
225
+ The above copyright notice and this permission notice shall be
226
+ included in all copies or substantial portions of the Software.
227
+
228
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
229
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
230
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
231
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
232
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
233
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
234
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
235
+
236
+ These terms are identical to those of the MIT License, also called the X License or the X11 License,
237
+ which is a simple, permissive non-copyleft free software license. It is deemed compatible with virtually
238
+ all types of licenses, commercial or otherwise. In particular, the Free Software Foundation has declared it
239
+ compatible with GNU GPL. It is also known to be approved by the Apache Software Foundation as compatible
240
+ with Apache Software License.
241
+
242
+
243
+ ------------------------------------------------------------------------------
244
+ License for the JUnit package
245
+ ------------------------------------------------------------------------------
246
+ THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC
247
+ LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM
248
+ CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
249
+
250
+ 1. DEFINITIONS
251
+
252
+ "Contribution" means:
253
+
254
+ a) in the case of the initial Contributor, the initial code and
255
+ documentation distributed under this Agreement, and
256
+
257
+ b) in the case of each subsequent Contributor:
258
+
259
+ i) changes to the Program, and
260
+
261
+ ii) additions to the Program;
262
+
263
+ where such changes and/or additions to the Program originate from and are
264
+ distributed by that particular Contributor. A Contribution 'originates' from a
265
+ Contributor if it was added to the Program by such Contributor itself or anyone
266
+ acting on such Contributor's behalf. Contributions do not include additions to
267
+ the Program which: (i) are separate modules of software distributed in
268
+ conjunction with the Program under their own license agreement, and (ii) are not
269
+ derivative works of the Program.
270
+
271
+ "Contributor" means any person or entity that distributes the Program.
272
+
273
+ "Licensed Patents " mean patent claims licensable by a Contributor which are
274
+ necessarily infringed by the use or sale of its Contribution alone or when
275
+ combined with the Program.
276
+
277
+ "Program" means the Contributions distributed in accordance with this Agreement.
278
+
279
+ "Recipient" means anyone who receives the Program under this Agreement,
280
+ including all Contributors.
281
+
282
+ 2. GRANT OF RIGHTS
283
+
284
+ a) Subject to the terms of this Agreement, each Contributor hereby grants
285
+ Recipient a non-exclusive, worldwide, royalty-free copyright license to
286
+ reproduce, prepare derivative works of, publicly display, publicly perform,
287
+ distribute and sublicense the Contribution of such Contributor, if any, and such
288
+ derivative works, in source code and object code form.
289
+
290
+ b) Subject to the terms of this Agreement, each Contributor hereby grants
291
+ Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed
292
+ Patents to make, use, sell, offer to sell, import and otherwise transfer the
293
+ Contribution of such Contributor, if any, in source code and object code form.
294
+ This patent license shall apply to the combination of the Contribution and the
295
+ Program if, at the time the Contribution is added by the Contributor, such
296
+ addition of the Contribution causes such combination to be covered by the
297
+ Licensed Patents. The patent license shall not apply to any other combinations
298
+ which include the Contribution. No hardware per se is licensed hereunder.
299
+
300
+ c) Recipient understands that although each Contributor grants the licenses
301
+ to its Contributions set forth herein, no assurances are provided by any
302
+ Contributor that the Program does not infringe the patent or other intellectual
303
+ property rights of any other entity. Each Contributor disclaims any liability to
304
+ Recipient for claims brought by any other entity based on infringement of
305
+ intellectual property rights or otherwise. As a condition to exercising the
306
+ rights and licenses granted hereunder, each Recipient hereby assumes sole
307
+ responsibility to secure any other intellectual property rights needed, if any.
308
+ For example, if a third party patent license is required to allow Recipient to
309
+ distribute the Program, it is Recipient's responsibility to acquire that license
310
+ before distributing the Program.
311
+
312
+ d) Each Contributor represents that to its knowledge it has sufficient
313
+ copyright rights in its Contribution, if any, to grant the copyright license set
314
+ forth in this Agreement.
315
+
316
+ 3. REQUIREMENTS
317
+
318
+ A Contributor may choose to distribute the Program in object code form under its
319
+ own license agreement, provided that:
320
+
321
+ a) it complies with the terms and conditions of this Agreement; and
322
+
323
+ b) its license agreement:
324
+
325
+ i) effectively disclaims on behalf of all Contributors all warranties and
326
+ conditions, express and implied, including warranties or conditions of title and
327
+ non-infringement, and implied warranties or conditions of merchantability and
328
+ fitness for a particular purpose;
329
+
330
+ ii) effectively excludes on behalf of all Contributors all liability for
331
+ damages, including direct, indirect, special, incidental and consequential
332
+ damages, such as lost profits;
333
+
334
+ iii) states that any provisions which differ from this Agreement are offered
335
+ by that Contributor alone and not by any other party; and
336
+
337
+ iv) states that source code for the Program is available from such
338
+ Contributor, and informs licensees how to obtain it in a reasonable manner on or
339
+ through a medium customarily used for software exchange.
340
+
341
+ When the Program is made available in source code form:
342
+
343
+ a) it must be made available under this Agreement; and
344
+
345
+ b) a copy of this Agreement must be included with each copy of the Program.
346
+
347
+ Contributors may not remove or alter any copyright notices contained within the
348
+ Program.
349
+
350
+ Each Contributor must identify itself as the originator of its Contribution, if
351
+ any, in a manner that reasonably allows subsequent Recipients to identify the
352
+ originator of the Contribution.
353
+
354
+ 4. COMMERCIAL DISTRIBUTION
355
+
356
+ Commercial distributors of software may accept certain responsibilities with
357
+ respect to end users, business partners and the like. While this license is
358
+ intended to facilitate the commercial use of the Program, the Contributor who
359
+ includes the Program in a commercial product offering should do so in a manner
360
+ which does not create potential liability for other Contributors. Therefore, if
361
+ a Contributor includes the Program in a commercial product offering, such
362
+ Contributor ("Commercial Contributor") hereby agrees to defend and indemnify
363
+ every other Contributor ("Indemnified Contributor") against any losses, damages
364
+ and costs (collectively "Losses") arising from claims, lawsuits and other legal
365
+ actions brought by a third party against the Indemnified Contributor to the
366
+ extent caused by the acts or omissions of such Commercial Contributor in
367
+ connection with its distribution of the Program in a commercial product
368
+ offering. The obligations in this section do not apply to any claims or Losses
369
+ relating to any actual or alleged intellectual property infringement. In order
370
+ to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
371
+ Contributor in writing of such claim, and b) allow the Commercial Contributor to
372
+ control, and cooperate with the Commercial Contributor in, the defense and any
373
+ related settlement negotiations. The Indemnified Contributor may participate in
374
+ any such claim at its own expense.
375
+
376
+ For example, a Contributor might include the Program in a commercial product
377
+ offering, Product X. That Contributor is then a Commercial Contributor. If that
378
+ Commercial Contributor then makes performance claims, or offers warranties
379
+ related to Product X, those performance claims and warranties are such
380
+ Commercial Contributor's responsibility alone. Under this section, the
381
+ Commercial Contributor would have to defend claims against the other
382
+ Contributors related to those performance claims and warranties, and if a court
383
+ requires any other Contributor to pay any damages as a result, the Commercial
384
+ Contributor must pay those damages.
385
+
386
+ 5. NO WARRANTY
387
+
388
+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN
389
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
390
+ IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE,
391
+ NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each
392
+ Recipient is solely responsible for determining the appropriateness of using and
393
+ distributing the Program and assumes all risks associated with its exercise of
394
+ rights under this Agreement, including but not limited to the risks and costs of
395
+ program errors, compliance with applicable laws, damage to or loss of data,
396
+ programs or equipment, and unavailability or interruption of operations.
397
+
398
+ 6. DISCLAIMER OF LIABILITY
399
+
400
+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY
401
+ CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,
402
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST
403
+ PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
404
+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
405
+ OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS
406
+ GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
407
+
408
+ 7. GENERAL
409
+
410
+ If any provision of this Agreement is invalid or unenforceable under applicable
411
+ law, it shall not affect the validity or enforceability of the remainder of the
412
+ terms of this Agreement, and without further action by the parties hereto, such
413
+ provision shall be reformed to the minimum extent necessary to make such
414
+ provision valid and enforceable.
415
+
416
+ If Recipient institutes patent litigation against a Contributor with respect to
417
+ a patent applicable to software (including a cross-claim or counterclaim in a
418
+ lawsuit), then any patent licenses granted by that Contributor to such Recipient
419
+ under this Agreement shall terminate as of the date such litigation is filed. In
420
+ addition, if Recipient institutes patent litigation against any entity
421
+ (including a cross-claim or counterclaim in a lawsuit) alleging that the Program
422
+ itself (excluding combinations of the Program with other software or hardware)
423
+ infringes such Recipient's patent(s), then such Recipient's rights granted under
424
+ Section 2(b) shall terminate as of the date such litigation is filed.
425
+
426
+ All Recipient's rights under this Agreement shall terminate if it fails to
427
+ comply with any of the material terms or conditions of this Agreement and does
428
+ not cure such failure in a reasonable period of time after becoming aware of
429
+ such noncompliance. If all Recipient's rights under this Agreement terminate,
430
+ Recipient agrees to cease use and distribution of the Program as soon as
431
+ reasonably practicable. However, Recipient's obligations under this Agreement
432
+ and any licenses granted by Recipient relating to the Program shall continue and
433
+ survive.
434
+
435
+ Everyone is permitted to copy and distribute copies of this Agreement, but in
436
+ order to avoid inconsistency the Agreement is copyrighted and may only be
437
+ modified in the following manner. The Agreement Steward reserves the right to
438
+ publish new versions (including revisions) of this Agreement from time to time.
439
+ No one other than the Agreement Steward has the right to modify this Agreement.
440
+ IBM is the initial Agreement Steward. IBM may assign the responsibility to serve
441
+ as the Agreement Steward to a suitable separate entity. Each new version of the
442
+ Agreement will be given a distinguishing version number. The Program (including
443
+ Contributions) may always be distributed subject to the version of the Agreement
444
+ under which it was received. In addition, after a new version of the Agreement
445
+ is published, Contributor may elect to distribute the Program (including its
446
+ Contributions) under the new version. Except as expressly stated in Sections
447
+ 2(a) and 2(b) above, Recipient receives no rights or licenses to the
448
+ intellectual property of any Contributor under this Agreement, whether
449
+ expressly, by implication, estoppel or otherwise. All rights in the Program not
450
+ expressly granted under this Agreement are reserved.
451
+
452
+ This Agreement is governed by the laws of the State of New York and the
453
+ intellectual property laws of the United States of America. No party to this
454
+ Agreement will bring a legal action under this Agreement more than one year
455
+ after the cause of action arose. Each party waives its rights to a jury trial in
456
+ any resulting litigation.
457
+
458
+ ------------------------------------------------------------------------------
459
+ License for the JCIFS package
460
+ ------------------------------------------------------------------------------
461
+ JCIFS License
462
+
463
+ GNU LESSER GENERAL PUBLIC LICENSE
464
+ Version 2.1, February 1999
465
+
466
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
467
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
468
+ Everyone is permitted to copy and distribute verbatim copies
469
+ of this license document, but changing it is not allowed.
470
+
471
+ [This is the first released version of the Lesser GPL. It also counts
472
+ as the successor of the GNU Library Public License, version 2, hence
473
+ the version number 2.1.]
474
+
475
+ Preamble
476
+
477
+ The licenses for most software are designed to take away your
478
+ freedom to share and change it. By contrast, the GNU General Public
479
+ Licenses are intended to guarantee your freedom to share and change
480
+ free software--to make sure the software is free for all its users.
481
+
482
+ This license, the Lesser General Public License, applies to some
483
+ specially designated software packages--typically libraries--of the
484
+ Free Software Foundation and other authors who decide to use it. You
485
+ can use it too, but we suggest you first think carefully about whether
486
+ this license or the ordinary General Public License is the better
487
+ strategy to use in any particular case, based on the explanations below.
488
+
489
+ When we speak of free software, we are referring to freedom of use,
490
+ not price. Our General Public Licenses are designed to make sure that
491
+ you have the freedom to distribute copies of free software (and charge
492
+ for this service if you wish); that you receive source code or can get
493
+ it if you want it; that you can change the software and use pieces of
494
+ it in new free programs; and that you are informed that you can do
495
+ these things.
496
+
497
+ To protect your rights, we need to make restrictions that forbid
498
+ distributors to deny you these rights or to ask you to surrender these
499
+ rights. These restrictions translate to certain responsibilities for
500
+ you if you distribute copies of the library or if you modify it.
501
+
502
+ For example, if you distribute copies of the library, whether gratis
503
+ or for a fee, you must give the recipients all the rights that we gave
504
+ you. You must make sure that they, too, receive or can get the source
505
+ code. If you link other code with the library, you must provide
506
+ complete object files to the recipients, so that they can relink them
507
+ with the library after making changes to the library and recompiling
508
+ it. And you must show them these terms so they know their rights.
509
+
510
+ We protect your rights with a two-step method: (1) we copyright the
511
+ library, and (2) we offer you this license, which gives you legal
512
+ permission to copy, distribute and/or modify the library.
513
+
514
+ To protect each distributor, we want to make it very clear that
515
+ there is no warranty for the free library. Also, if the library is
516
+ modified by someone else and passed on, the recipients should know
517
+ that what they have is not the original version, so that the original
518
+ author's reputation will not be affected by problems that might be
519
+ introduced by others.
520
+
521
+ Finally, software patents pose a constant threat to the existence of
522
+ any free program. We wish to make sure that a company cannot
523
+ effectively restrict the users of a free program by obtaining a
524
+ restrictive license from a patent holder. Therefore, we insist that
525
+ any patent license obtained for a version of the library must be
526
+ consistent with the full freedom of use specified in this license.
527
+
528
+ Most GNU software, including some libraries, is covered by the
529
+ ordinary GNU General Public License. This license, the GNU Lesser
530
+ General Public License, applies to certain designated libraries, and
531
+ is quite different from the ordinary General Public License. We use
532
+ this license for certain libraries in order to permit linking those
533
+ libraries into non-free programs.
534
+
535
+ When a program is linked with a library, whether statically or using
536
+ a shared library, the combination of the two is legally speaking a
537
+ combined work, a derivative of the original library. The ordinary
538
+ General Public License therefore permits such linking only if the
539
+ entire combination fits its criteria of freedom. The Lesser General
540
+ Public License permits more lax criteria for linking other code with
541
+ the library.
542
+
543
+ We call this license the "Lesser" General Public License because it
544
+ does Less to protect the user's freedom than the ordinary General
545
+ Public License. It also provides other free software developers Less
546
+ of an advantage over competing non-free programs. These disadvantages
547
+ are the reason we use the ordinary General Public License for many
548
+ libraries. However, the Lesser license provides advantages in certain
549
+ special circumstances.
550
+
551
+ For example, on rare occasions, there may be a special need to
552
+ encourage the widest possible use of a certain library, so that it becomes
553
+ a de-facto standard. To achieve this, non-free programs must be
554
+ allowed to use the library. A more frequent case is that a free
555
+ library does the same job as widely used non-free libraries. In this
556
+ case, there is little to gain by limiting the free library to free
557
+ software only, so we use the Lesser General Public License.
558
+
559
+ In other cases, permission to use a particular library in non-free
560
+ programs enables a greater number of people to use a large body of
561
+ free software. For example, permission to use the GNU C Library in
562
+ non-free programs enables many more people to use the whole GNU
563
+ operating system, as well as its variant, the GNU/Linux operating
564
+ system.
565
+
566
+ Although the Lesser General Public License is Less protective of the
567
+ users' freedom, it does ensure that the user of a program that is
568
+ linked with the Library has the freedom and the wherewithal to run
569
+ that program using a modified version of the Library.
570
+
571
+ The precise terms and conditions for copying, distribution and
572
+ modification follow. Pay close attention to the difference between a
573
+ "work based on the library" and a "work that uses the library". The
574
+ former contains code derived from the library, whereas the latter must
575
+ be combined with the library in order to run.
576
+
577
+ GNU LESSER GENERAL PUBLIC LICENSE
578
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
579
+
580
+ 0. This License Agreement applies to any software library or other
581
+ program which contains a notice placed by the copyright holder or
582
+ other authorized party saying it may be distributed under the terms of
583
+ this Lesser General Public License (also called "this License").
584
+ Each licensee is addressed as "you".
585
+
586
+ A "library" means a collection of software functions and/or data
587
+ prepared so as to be conveniently linked with application programs
588
+ (which use some of those functions and data) to form executables.
589
+
590
+ The "Library", below, refers to any such software library or work
591
+ which has been distributed under these terms. A "work based on the
592
+ Library" means either the Library or any derivative work under
593
+ copyright law: that is to say, a work containing the Library or a
594
+ portion of it, either verbatim or with modifications and/or translated
595
+ straightforwardly into another language. (Hereinafter, translation is
596
+ included without limitation in the term "modification".)
597
+
598
+ "Source code" for a work means the preferred form of the work for
599
+ making modifications to it. For a library, complete source code means
600
+ all the source code for all modules it contains, plus any associated
601
+ interface definition files, plus the scripts used to control compilation
602
+ and installation of the library.
603
+
604
+ Activities other than copying, distribution and modification are not
605
+ covered by this License; they are outside its scope. The act of
606
+ running a program using the Library is not restricted, and output from
607
+ such a program is covered only if its contents constitute a work based
608
+ on the Library (independent of the use of the Library in a tool for
609
+ writing it). Whether that is true depends on what the Library does
610
+ and what the program that uses the Library does.
611
+
612
+ 1. You may copy and distribute verbatim copies of the Library's
613
+ complete source code as you receive it, in any medium, provided that
614
+ you conspicuously and appropriately publish on each copy an
615
+ appropriate copyright notice and disclaimer of warranty; keep intact
616
+ all the notices that refer to this License and to the absence of any
617
+ warranty; and distribute a copy of this License along with the
618
+ Library.
619
+
620
+ You may charge a fee for the physical act of transferring a copy,
621
+ and you may at your option offer warranty protection in exchange for a
622
+ fee.
623
+
624
+ 2. You may modify your copy or copies of the Library or any portion
625
+ of it, thus forming a work based on the Library, and copy and
626
+ distribute such modifications or work under the terms of Section 1
627
+ above, provided that you also meet all of these conditions:
628
+
629
+ a) The modified work must itself be a software library.
630
+
631
+ b) You must cause the files modified to carry prominent notices
632
+ stating that you changed the files and the date of any change.
633
+
634
+ c) You must cause the whole of the work to be licensed at no
635
+ charge to all third parties under the terms of this License.
636
+
637
+ d) If a facility in the modified Library refers to a function or a
638
+ table of data to be supplied by an application program that uses
639
+ the facility, other than as an argument passed when the facility
640
+ is invoked, then you must make a good faith effort to ensure that,
641
+ in the event an application does not supply such function or
642
+ table, the facility still operates, and performs whatever part of
643
+ its purpose remains meaningful.
644
+
645
+ (For example, a function in a library to compute square roots has
646
+ a purpose that is entirely well-defined independent of the
647
+ application. Therefore, Subsection 2d requires that any
648
+ application-supplied function or table used by this function must
649
+ be optional: if the application does not supply it, the square
650
+ root function must still compute square roots.)
651
+
652
+ These requirements apply to the modified work as a whole. If
653
+ identifiable sections of that work are not derived from the Library,
654
+ and can be reasonably considered independent and separate works in
655
+ themselves, then this License, and its terms, do not apply to those
656
+ sections when you distribute them as separate works. But when you
657
+ distribute the same sections as part of a whole which is a work based
658
+ on the Library, the distribution of the whole must be on the terms of
659
+ this License, whose permissions for other licensees extend to the
660
+ entire whole, and thus to each and every part regardless of who wrote
661
+ it.
662
+
663
+ Thus, it is not the intent of this section to claim rights or contest
664
+ your rights to work written entirely by you; rather, the intent is to
665
+ exercise the right to control the distribution of derivative or
666
+ collective works based on the Library.
667
+
668
+ In addition, mere aggregation of another work not based on the Library
669
+ with the Library (or with a work based on the Library) on a volume of
670
+ a storage or distribution medium does not bring the other work under
671
+ the scope of this License.
672
+
673
+ 3. You may opt to apply the terms of the ordinary GNU General Public
674
+ License instead of this License to a given copy of the Library. To do
675
+ this, you must alter all the notices that refer to this License, so
676
+ that they refer to the ordinary GNU General Public License, version 2,
677
+ instead of to this License. (If a newer version than version 2 of the
678
+ ordinary GNU General Public License has appeared, then you can specify
679
+ that version instead if you wish.) Do not make any other change in
680
+ these notices.
681
+
682
+ Once this change is made in a given copy, it is irreversible for
683
+ that copy, so the ordinary GNU General Public License applies to all
684
+ subsequent copies and derivative works made from that copy.
685
+
686
+ This option is useful when you wish to copy part of the code of
687
+ the Library into a program that is not a library.
688
+
689
+ 4. You may copy and distribute the Library (or a portion or
690
+ derivative of it, under Section 2) in object code or executable form
691
+ under the terms of Sections 1 and 2 above provided that you accompany
692
+ it with the complete corresponding machine-readable source code, which
693
+ must be distributed under the terms of Sections 1 and 2 above on a
694
+ medium customarily used for software interchange.
695
+
696
+ If distribution of object code is made by offering access to copy
697
+ from a designated place, then offering equivalent access to copy the
698
+ source code from the same place satisfies the requirement to
699
+ distribute the source code, even though third parties are not
700
+ compelled to copy the source along with the object code.
701
+
702
+ 5. A program that contains no derivative of any portion of the
703
+ Library, but is designed to work with the Library by being compiled or
704
+ linked with it, is called a "work that uses the Library". Such a
705
+ work, in isolation, is not a derivative work of the Library, and
706
+ therefore falls outside the scope of this License.
707
+
708
+ However, linking a "work that uses the Library" with the Library
709
+ creates an executable that is a derivative of the Library (because it
710
+ contains portions of the Library), rather than a "work that uses the
711
+ library". The executable is therefore covered by this License.
712
+ Section 6 states terms for distribution of such executables.
713
+
714
+ When a "work that uses the Library" uses material from a header file
715
+ that is part of the Library, the object code for the work may be a
716
+ derivative work of the Library even though the source code is not.
717
+ Whether this is true is especially significant if the work can be
718
+ linked without the Library, or if the work is itself a library. The
719
+ threshold for this to be true is not precisely defined by law.
720
+
721
+ If such an object file uses only numerical parameters, data
722
+ structure layouts and accessors, and small macros and small inline
723
+ functions (ten lines or less in length), then the use of the object
724
+ file is unrestricted, regardless of whether it is legally a derivative
725
+ work. (Executables containing this object code plus portions of the
726
+ Library will still fall under Section 6.)
727
+
728
+ Otherwise, if the work is a derivative of the Library, you may
729
+ distribute the object code for the work under the terms of Section 6.
730
+ Any executables containing that work also fall under Section 6,
731
+ whether or not they are linked directly with the Library itself.
732
+
733
+ 6. As an exception to the Sections above, you may also combine or
734
+ link a "work that uses the Library" with the Library to produce a
735
+ work containing portions of the Library, and distribute that work
736
+ under terms of your choice, provided that the terms permit
737
+ modification of the work for the customer's own use and reverse
738
+ engineering for debugging such modifications.
739
+
740
+ You must give prominent notice with each copy of the work that the
741
+ Library is used in it and that the Library and its use are covered by
742
+ this License. You must supply a copy of this License. If the work
743
+ during execution displays copyright notices, you must include the
744
+ copyright notice for the Library among them, as well as a reference
745
+ directing the user to the copy of this License. Also, you must do one
746
+ of these things:
747
+
748
+ a) Accompany the work with the complete corresponding
749
+ machine-readable source code for the Library including whatever
750
+ changes were used in the work (which must be distributed under
751
+ Sections 1 and 2 above); and, if the work is an executable linked
752
+ with the Library, with the complete machine-readable "work that
753
+ uses the Library", as object code and/or source code, so that the
754
+ user can modify the Library and then relink to produce a modified
755
+ executable containing the modified Library. (It is understood
756
+ that the user who changes the contents of definitions files in the
757
+ Library will not necessarily be able to recompile the application
758
+ to use the modified definitions.)
759
+
760
+ b) Use a suitable shared library mechanism for linking with the
761
+ Library. A suitable mechanism is one that (1) uses at run time a
762
+ copy of the library already present on the user's computer system,
763
+ rather than copying library functions into the executable, and (2)
764
+ will operate properly with a modified version of the library, if
765
+ the user installs one, as long as the modified version is
766
+ interface-compatible with the version that the work was made with.
767
+
768
+ c) Accompany the work with a written offer, valid for at
769
+ least three years, to give the same user the materials
770
+ specified in Subsection 6a, above, for a charge no more
771
+ than the cost of performing this distribution.
772
+
773
+ d) If distribution of the work is made by offering access to copy
774
+ from a designated place, offer equivalent access to copy the above
775
+ specified materials from the same place.
776
+
777
+ e) Verify that the user has already received a copy of these
778
+ materials or that you have already sent this user a copy.
779
+
780
+ For an executable, the required form of the "work that uses the
781
+ Library" must include any data and utility programs needed for
782
+ reproducing the executable from it. However, as a special exception,
783
+ the materials to be distributed need not include anything that is
784
+ normally distributed (in either source or binary form) with the major
785
+ components (compiler, kernel, and so on) of the operating system on
786
+ which the executable runs, unless that component itself accompanies
787
+ the executable.
788
+
789
+ It may happen that this requirement contradicts the license
790
+ restrictions of other proprietary libraries that do not normally
791
+ accompany the operating system. Such a contradiction means you cannot
792
+ use both them and the Library together in an executable that you
793
+ distribute.
794
+
795
+ 7. You may place library facilities that are a work based on the
796
+ Library side-by-side in a single library together with other library
797
+ facilities not covered by this License, and distribute such a combined
798
+ library, provided that the separate distribution of the work based on
799
+ the Library and of the other library facilities is otherwise
800
+ permitted, and provided that you do these two things:
801
+
802
+ a) Accompany the combined library with a copy of the same work
803
+ based on the Library, uncombined with any other library
804
+ facilities. This must be distributed under the terms of the
805
+ Sections above.
806
+
807
+ b) Give prominent notice with the combined library of the fact
808
+ that part of it is a work based on the Library, and explaining
809
+ where to find the accompanying uncombined form of the same work.
810
+
811
+ 8. You may not copy, modify, sublicense, link with, or distribute
812
+ the Library except as expressly provided under this License. Any
813
+ attempt otherwise to copy, modify, sublicense, link with, or
814
+ distribute the Library is void, and will automatically terminate your
815
+ rights under this License. However, parties who have received copies,
816
+ or rights, from you under this License will not have their licenses
817
+ terminated so long as such parties remain in full compliance.
818
+
819
+ 9. You are not required to accept this License, since you have not
820
+ signed it. However, nothing else grants you permission to modify or
821
+ distribute the Library or its derivative works. These actions are
822
+ prohibited by law if you do not accept this License. Therefore, by
823
+ modifying or distributing the Library (or any work based on the
824
+ Library), you indicate your acceptance of this License to do so, and
825
+ all its terms and conditions for copying, distributing or modifying
826
+ the Library or works based on it.
827
+
828
+ 10. Each time you redistribute the Library (or any work based on the
829
+ Library), the recipient automatically receives a license from the
830
+ original licensor to copy, distribute, link with or modify the Library
831
+ subject to these terms and conditions. You may not impose any further
832
+ restrictions on the recipients' exercise of the rights granted herein.
833
+ You are not responsible for enforcing compliance by third parties with
834
+ this License.
835
+
836
+ 11. If, as a consequence of a court judgment or allegation of patent
837
+ infringement or for any other reason (not limited to patent issues),
838
+ conditions are imposed on you (whether by court order, agreement or
839
+ otherwise) that contradict the conditions of this License, they do not
840
+ excuse you from the conditions of this License. If you cannot
841
+ distribute so as to satisfy simultaneously your obligations under this
842
+ License and any other pertinent obligations, then as a consequence you
843
+ may not distribute the Library at all. For example, if a patent
844
+ license would not permit royalty-free redistribution of the Library by
845
+ all those who receive copies directly or indirectly through you, then
846
+ the only way you could satisfy both it and this License would be to
847
+ refrain entirely from distribution of the Library.
848
+
849
+ If any portion of this section is held invalid or unenforceable under any
850
+ particular circumstance, the balance of the section is intended to apply,
851
+ and the section as a whole is intended to apply in other circumstances.
852
+
853
+ It is not the purpose of this section to induce you to infringe any
854
+ patents or other property right claims or to contest validity of any
855
+ such claims; this section has the sole purpose of protecting the
856
+ integrity of the free software distribution system which is
857
+ implemented by public license practices. Many people have made
858
+ generous contributions to the wide range of software distributed
859
+ through that system in reliance on consistent application of that
860
+ system; it is up to the author/donor to decide if he or she is willing
861
+ to distribute software through any other system and a licensee cannot
862
+ impose that choice.
863
+
864
+ This section is intended to make thoroughly clear what is believed to
865
+ be a consequence of the rest of this License.
866
+
867
+ 12. If the distribution and/or use of the Library is restricted in
868
+ certain countries either by patents or by copyrighted interfaces, the
869
+ original copyright holder who places the Library under this License may add
870
+ an explicit geographical distribution limitation excluding those countries,
871
+ so that distribution is permitted only in or among countries not thus
872
+ excluded. In such case, this License incorporates the limitation as if
873
+ written in the body of this License.
874
+
875
+ 13. The Free Software Foundation may publish revised and/or new
876
+ versions of the Lesser General Public License from time to time.
877
+ Such new versions will be similar in spirit to the present version,
878
+ but may differ in detail to address new problems or concerns.
879
+
880
+ Each version is given a distinguishing version number. If the Library
881
+ specifies a version number of this License which applies to it and
882
+ "any later version", you have the option of following the terms and
883
+ conditions either of that version or of any later version published by
884
+ the Free Software Foundation. If the Library does not specify a
885
+ license version number, you may choose any version ever published by
886
+ the Free Software Foundation.
887
+
888
+ 14. If you wish to incorporate parts of the Library into other free
889
+ programs whose distribution conditions are incompatible with these,
890
+ write to the author to ask for permission. For software which is
891
+ copyrighted by the Free Software Foundation, write to the Free
892
+ Software Foundation; we sometimes make exceptions for this. Our
893
+ decision will be guided by the two goals of preserving the free status
894
+ of all derivatives of our free software and of promoting the sharing
895
+ and reuse of software generally.
896
+
897
+ NO WARRANTY
898
+
899
+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
900
+ WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
901
+ EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
902
+ OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
903
+ KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
904
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
905
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
906
+ LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
907
+ THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
908
+
909
+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
910
+ WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
911
+ AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
912
+ FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
913
+ CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
914
+ LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
915
+ RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
916
+ FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
917
+ SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
918
+ DAMAGES.
919
+
920
+ END OF TERMS AND CONDITIONS
921
+
922
+ How to Apply These Terms to Your New Libraries
923
+
924
+ If you develop a new library, and you want it to be of the greatest
925
+ possible use to the public, we recommend making it free software that
926
+ everyone can redistribute and change. You can do so by permitting
927
+ redistribution under these terms (or, alternatively, under the terms of the
928
+ ordinary General Public License).
929
+
930
+ To apply these terms, attach the following notices to the library. It is
931
+ safest to attach them to the start of each source file to most effectively
932
+ convey the exclusion of warranty; and each file should have at least the
933
+ "copyright" line and a pointer to where the full notice is found.
934
+
935
+ <one line to give the library's name and a brief idea of what it does.>
936
+ Copyright (C) <year> <name of author>
937
+
938
+ This library is free software; you can redistribute it and/or
939
+ modify it under the terms of the GNU Lesser General Public
940
+ License as published by the Free Software Foundation; either
941
+ version 2.1 of the License, or (at your option) any later version.
942
+
943
+ This library is distributed in the hope that it will be useful,
944
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
945
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
946
+ Lesser General Public License for more details.
947
+
948
+ You should have received a copy of the GNU Lesser General Public
949
+ License along with this library; if not, write to the Free Software
950
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
951
+
952
+ Also add information on how to contact you by electronic and paper mail.
953
+
954
+ You should also get your employer (if you work as a programmer) or your
955
+ school, if any, to sign a "copyright disclaimer" for the library, if
956
+ necessary. Here is a sample; alter the names:
957
+
958
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
959
+ library `Frob' (a library for tweaking knobs) written by James Random Hacker.
960
+
961
+ <signature of Ty Coon>, 1 April 1990
962
+ Ty Coon, President of Vice
963
+
964
+ That's all there is to it!
965
+
966
+ ------------------------------------------------------------------------------
967
+ License for the JGit package
968
+ ------------------------------------------------------------------------------
969
+ Copyright (c) 2007, Eclipse Foundation, Inc. and its licensors.
970
+
971
+ All rights reserved.
972
+
973
+ Redistribution and use in source and binary forms, with or without
974
+ modification, are permitted provided that the following conditions are met:
975
+
976
+ * Redistributions of source code must retain the above copyright notice,
977
+ this list of conditions and the following disclaimer.
978
+ * Redistributions in binary form must reproduce the above copyright notice,
979
+ this list of conditions and the following disclaimer in the documentation
980
+ and/or other materials provided with the distribution.
981
+ * Neither the name of the Eclipse Foundation, Inc. nor the names of its
982
+ contributors may be used to endorse or promote products derived from this
983
+ software without specific prior written permission.
984
+
985
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
986
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
987
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
988
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
989
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
990
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
991
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
992
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
993
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
994
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
995
+