rhodes 6.2.0 → 7.1.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (553) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +14 -10
  3. data/appveyor.yml +1 -1
  4. data/extensions/emdk3-manager/ext/platform/android/Rakefile +2 -0
  5. data/extensions/rhoconnect-push/ext/rhoconnect-push/platform/android/Rakefile +18 -1
  6. data/extensions/rhoelementsext/ext/rhoelementsext/platform/android/Rakefile +19 -1
  7. data/lib/commonAPI/RubyServer/ext.yml +21 -0
  8. data/lib/commonAPI/RubyServer/ext/RubyServer.xml +101 -0
  9. data/lib/commonAPI/RubyServer/ext/build +19 -0
  10. data/lib/commonAPI/RubyServer/ext/build.bat +29 -0
  11. data/lib/commonAPI/RubyServer/ext/platform/android/Rakefile +161 -0
  12. data/lib/commonAPI/RubyServer/ext/platform/android/ext_java.files +9 -0
  13. data/lib/commonAPI/RubyServer/ext/platform/android/ext_native.files +7 -0
  14. data/lib/commonAPI/RubyServer/ext/platform/iphone/Rakefile +73 -0
  15. data/lib/commonAPI/RubyServer/ext/platform/iphone/RubyServer.xcodeproj/project.pbxproj +322 -0
  16. data/lib/commonAPI/RubyServer/ext/platform/iphone/RubyServer_Prefix.pch +7 -0
  17. data/lib/commonAPI/RubyServer/ext/shared/RubyServerImpl.cpp +242 -0
  18. data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/BarcodeFactory.java +23 -3
  19. data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/BarcodeRhoExtension.java +68 -8
  20. data/lib/commonAPI/barcode/ext/platform/iphone/Barcode.xcodeproj/project.pbxproj +24 -52
  21. data/lib/commonAPI/barcode/ext/platform/iphone/Classes/BarcodeViewController.h +38 -10
  22. data/lib/commonAPI/barcode/ext/platform/iphone/Classes/BarcodeViewController.m +300 -22
  23. data/lib/commonAPI/barcode/ext/platform/iphone/Classes/BarcodeViewFactory.mm +6 -0
  24. data/lib/commonAPI/barcode/ext/platform/iphone/Classes/barcode.m +6 -2
  25. data/lib/commonAPI/barcode/ext/platform/iphone/impl/Barcode.m +7 -3
  26. data/lib/commonAPI/barcode/ext/platform/iphone/impl/BarcodeFactory.m +13 -0
  27. data/lib/commonAPI/barcode/ext/platform/iphone/impl/BarcodeSingleton.m +25 -3
  28. data/lib/commonAPI/bluetooth/ext/platform/android/Rakefile +29 -10
  29. data/lib/commonAPI/clipboard/ext/platform/android/Rakefile +29 -10
  30. data/lib/commonAPI/coreapi/ext/Notification.xml +47 -0
  31. data/lib/commonAPI/coreapi/ext/platform/android/ApplicationManifestAdds.erb +1 -0
  32. data/lib/commonAPI/coreapi/ext/platform/android/Rakefile +19 -0
  33. data/lib/commonAPI/coreapi/ext/platform/android/ext_java.files +2 -0
  34. data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/AlarmReceiver.java +27 -0
  35. data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/Notification.java +28 -10
  36. data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/NotificationFactory.java +14 -1
  37. data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/NotificationScheduler.java +260 -0
  38. data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/NotificationSingleton.java +23 -1
  39. data/lib/commonAPI/coreapi/ext/platform/iphone/Coreapi.xcodeproj/project.pbxproj +21 -19
  40. data/lib/commonAPI/coreapi/ext/platform/iphone/impl/NotificationSingleton.h +1 -0
  41. data/lib/commonAPI/coreapi/ext/platform/iphone/impl/NotificationSingleton.m +234 -1
  42. data/lib/commonAPI/coreapi/ext/platform/qt/coreapi.pro +2 -0
  43. data/lib/commonAPI/coreapi/ext/platform/qt/src/CNotificationImpl.cpp +7 -0
  44. data/lib/commonAPI/coreapi/ext/shared/ApplicationImpl.cpp +5 -0
  45. data/lib/commonAPI/coreapi/public/api/rhoapi.js +18 -8
  46. data/lib/commonAPI/devicesecurity/ext/platform/android/Rakefile +19 -0
  47. data/lib/commonAPI/devicesecurity/ext/platform/iphone/DeviceSecurity.xcodeproj/project.pbxproj +16 -0
  48. data/lib/commonAPI/hardwarekeys/ext/keycapture.xml +11 -9
  49. data/lib/commonAPI/hardwarekeys/ext/platform/iphone/impl/KeyCaptureSingleton.h +5 -3
  50. data/lib/commonAPI/hardwarekeys/ext/platform/iphone/impl/KeyCaptureSingleton.m +80 -67
  51. data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraEclair.java +25 -14
  52. data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraGingerbread.java +55 -25
  53. data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraObject.java +34 -9
  54. data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/ICameraObject.java +1 -0
  55. data/lib/commonAPI/printing_zebra/ext/platform/android/Rakefile +18 -0
  56. data/lib/commonAPI/sensor/ext/platform/android/src/com/rho/sensor/Sensor.java +4 -4
  57. data/lib/extensions/decrypt/ext/platform/android/Rakefile +19 -1
  58. data/lib/extensions/decryptstub/ext/platform/android/Rakefile +19 -0
  59. data/lib/extensions/decryptstub/ext/platform/iphone/Decryptstub.xcodeproj/project.pbxproj +4 -2
  60. data/lib/extensions/digest-md5/ext/android/Rakefile +18 -0
  61. data/lib/extensions/digest-sha1/ext/android/Rakefile +18 -0
  62. data/lib/extensions/digest-sha2/ext/android/Rakefile +18 -0
  63. data/lib/extensions/esri/ext/esri/platform/iphone/Classes/MapViewControllerESRI.h +19 -19
  64. data/lib/extensions/fcm-push/ext/android/Rakefile +18 -0
  65. data/lib/extensions/fcm-push/ext/android/src/com/rhomobile/rhodes/fcm/FCMIntentService.java +38 -16
  66. data/lib/extensions/gcm-push/ext/android/Rakefile +19 -0
  67. data/lib/extensions/keyboard/ext.yml +15 -0
  68. data/lib/extensions/keyboard/ext/Keyboard.xml +28 -0
  69. data/lib/extensions/keyboard/ext/build +19 -0
  70. data/lib/extensions/keyboard/ext/build.bat +29 -0
  71. data/lib/extensions/keyboard/ext/platform/android/Rakefile +141 -0
  72. data/lib/extensions/keyboard/ext/platform/android/ext_java.files +9 -0
  73. data/lib/extensions/keyboard/ext/platform/android/ext_native.files +7 -0
  74. data/lib/extensions/keyboard/ext/platform/android/jni/Keyboard_impl.cpp +61 -0
  75. data/lib/extensions/keyboard/ext/platform/android/src/com/rho/keyboard/Keyboard.java +32 -0
  76. data/lib/extensions/keyboard/ext/platform/android/src/com/rho/keyboard/KeyboardFactory.java +18 -0
  77. data/lib/extensions/keyboard/ext/platform/android/src/com/rho/keyboard/KeyboardSingleton.java +29 -0
  78. data/lib/extensions/keyboard/ext/platform/iphone/Keyboard.xcodeproj/project.pbxproj +368 -0
  79. data/lib/extensions/keyboard/ext/platform/iphone/Keyboard_Prefix.pch +7 -0
  80. data/lib/extensions/keyboard/ext/platform/iphone/Rakefile +73 -0
  81. data/lib/extensions/keyboard/ext/platform/iphone/impl/Keyboard.h +14 -0
  82. data/lib/extensions/keyboard/ext/platform/iphone/impl/Keyboard.m +24 -0
  83. data/lib/extensions/keyboard/ext/platform/iphone/impl/KeyboardFactorySingleton.m +16 -0
  84. data/lib/extensions/keyboard/ext/platform/iphone/impl/KeyboardSetup.m +9 -0
  85. data/lib/extensions/keyboard/ext/platform/iphone/impl/KeyboardSingleton.h +17 -0
  86. data/lib/extensions/keyboard/ext/platform/iphone/impl/KeyboardSingleton.m +23 -0
  87. data/lib/extensions/keyboard/ext/platform/iphone/impl/readme.txt +7 -0
  88. data/lib/extensions/keyboard/ext/platform/qt/Keyboard.pro +68 -0
  89. data/lib/extensions/keyboard/ext/platform/qt/Makefile +473 -0
  90. data/lib/extensions/keyboard/ext/platform/qt/Makefile.Release +408 -0
  91. data/lib/extensions/keyboard/ext/platform/qt/Rakefile +39 -0
  92. data/lib/extensions/keyboard/ext/platform/qt/src/Keyboard_impl.cpp +99 -0
  93. data/lib/extensions/keyboard/ext/platform/uwp/Keyboard.props +18 -0
  94. data/lib/extensions/keyboard/ext/platform/uwp/Keyboard.vcxproj +197 -0
  95. data/lib/extensions/keyboard/ext/platform/uwp/Keyboard.vcxproj.filters +50 -0
  96. data/lib/extensions/keyboard/ext/platform/uwp/KeyboardImpl.csproj +119 -0
  97. data/lib/extensions/keyboard/ext/platform/uwp/KeyboardImpl.props +8 -0
  98. data/lib/extensions/keyboard/ext/platform/uwp/KeyboardImpl.targets +7 -0
  99. data/lib/extensions/keyboard/ext/platform/uwp/KeyboardLib.props +18 -0
  100. data/lib/extensions/keyboard/ext/platform/uwp/KeyboardLib.vcxproj +197 -0
  101. data/lib/extensions/keyboard/ext/platform/uwp/KeyboardLib.vcxproj.filters +58 -0
  102. data/lib/extensions/keyboard/ext/platform/uwp/src/Keyboard_impl.cpp +76 -0
  103. data/lib/extensions/keyboard/ext/platform/uwp/src/Keyboard_impl.cs +69 -0
  104. data/lib/extensions/keyboard/ext/platform/uwp/src/Properties/AssemblyInfo.cs +37 -0
  105. data/lib/extensions/keyboard/ext/platform/wm/Keyboard.sln +52 -0
  106. data/lib/extensions/keyboard/ext/platform/wm/Keyboard.vcproj +714 -0
  107. data/lib/extensions/keyboard/ext/platform/wm/Keyboard.vsprops +15 -0
  108. data/lib/extensions/keyboard/ext/platform/wm/src/Keyboard_impl.cpp +77 -0
  109. data/lib/extensions/openssl.so.src/ext/android/Rakefile +18 -0
  110. data/lib/extensions/openssl.so/ext/android/aarch64/libopenssl.so.a +0 -0
  111. data/lib/extensions/openssl.so/ext/iphone/OpenSSl.SDK/howtobuild.txt +2 -0
  112. data/lib/extensions/openssl.so/ext/iphone/OpenSSl.SDK/libcrypto.a +0 -0
  113. data/lib/extensions/openssl.so/ext/iphone/OpenSSl.SDK/libssl.a +0 -0
  114. data/lib/extensions/openssl.so/ext/iphone/Release-iphoneos/libopenssl.so.a +0 -0
  115. data/lib/extensions/openssl.so/ext/iphone/Release-iphonesimulator/libopenssl.so.a +0 -0
  116. data/lib/extensions/openssl/ext/android/Rakefile +18 -0
  117. data/lib/extensions/zlib/ext/zlib.c +5 -1
  118. data/lib/framework/autocomplete/Rhodes.rb +1 -1
  119. data/lib/framework/rhodes.rb +1 -1
  120. data/lib/framework/set.rb +799 -0
  121. data/lib/framework/version.rb +1 -1
  122. data/lib/rhodes.rb +1 -1
  123. data/platform/android/Rhodes/AndroidManifest.xml.erb +11 -2
  124. data/platform/android/Rhodes/jni/include/rhodes.h +6 -0
  125. data/platform/android/Rhodes/jni/include/rhodes/RhoClassFactory.h +3 -0
  126. data/platform/android/Rhodes/jni/include/rhodes/SecurityTokenGenerator.h +30 -0
  127. data/platform/android/Rhodes/jni/include/rhodes/details/rhojava.inc +1 -0
  128. data/platform/android/Rhodes/jni/src/JNIRhoRubyCppWrapper.cpp +408 -0
  129. data/platform/android/Rhodes/jni/src/RhoClassFactory.cpp +7 -0
  130. data/platform/android/Rhodes/jni/src/SecurityTokenGenerator.cpp +60 -0
  131. data/platform/android/Rhodes/jni/src/fileapi.cpp +318 -12
  132. data/platform/android/Rhodes/jni/src/mapview.cpp +4 -0
  133. data/platform/android/Rhodes/res/drawable/ic_notification.png +0 -0
  134. data/platform/android/Rhodes/res/xml/network_security_config.xml +7 -0
  135. data/platform/android/Rhodes/src/com/rhomobile/rhodes/BaseActivity.java +9 -0
  136. data/platform/android/Rhodes/src/com/rhomobile/rhodes/LocalFileProvider.java +1 -1
  137. data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoMain.java +8 -0
  138. data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoRubyArrayObjects.java +33 -0
  139. data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoRubyClassObject.java +20 -0
  140. data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoRubyObject.java +115 -0
  141. data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoRubySingleton.java +52 -0
  142. data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoRubyTypes.java +15 -0
  143. data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesService.java +25 -13
  144. data/platform/android/Rhodes/src/com/rhomobile/rhodes/SecurityTokenGenerator.java +57 -0
  145. data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/RhoExtManagerImpl.java +1 -1
  146. data/platform/android/Rhodes/src/com/rhomobile/rhodes/mainview/SimpleMainView.java +9 -2
  147. data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality.java +3 -0
  148. data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality01.java +7 -0
  149. data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality11.java +13 -1
  150. data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality26.java +105 -0
  151. data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionalityManager.java +4 -1
  152. data/platform/android/Rhodes/src/com/rhomobile/rhodes/socket/SSLImpl.java +24 -4
  153. data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/GoogleWebView.java +20 -1
  154. data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/RhoWebViewClient.java +10 -0
  155. data/platform/android/build/Rakefile +30 -1
  156. data/platform/android/build/RhodesSRC_build.files +8 -0
  157. data/platform/android/build/android.rake +326 -22
  158. data/platform/android/build/android_tools.rb +36 -3
  159. data/platform/android/build/androidcommon.rb +97 -44
  160. data/platform/android/build/librhocommon_build.files +11 -0
  161. data/platform/android/build/librhodes_build.files +2 -0
  162. data/platform/android/build/manifest_generator.rb +9 -2
  163. data/platform/android/build/maven_deps_extractor.rb +96 -15
  164. data/platform/android/build/ndkwrapper.rb +111 -16
  165. data/platform/android/build/pom.erb +2 -2
  166. data/platform/iphone/Classes/AppManager/AppManager.m +31 -1
  167. data/platform/iphone/Classes/MapView/GoogleGeocoder.h +3 -3
  168. data/platform/iphone/Classes/RhoMainViewStubImpl.h +38 -0
  169. data/platform/iphone/Classes/RhoMainViewStubImpl.m +88 -0
  170. data/platform/iphone/Classes/RhoUIWebView.h +5 -0
  171. data/platform/iphone/Classes/RhoUIWebView.m +14 -6
  172. data/platform/iphone/Classes/{RhoWKWebView.m → RhoWKWebView.mm} +98 -18
  173. data/platform/iphone/Classes/RhoWebView.h +1 -1
  174. data/platform/iphone/Classes/RhoWebViewFabrique.m +24 -12
  175. data/platform/iphone/Classes/Rhodes.h +7 -2
  176. data/platform/iphone/Classes/Rhodes.m +46 -8
  177. data/platform/iphone/Classes/SimpleMainView.m +22 -13
  178. data/platform/iphone/Classes/URLProtocol/CRhoURLProtocol.h +32 -3
  179. data/platform/iphone/Classes/URLProtocol/CRhoURLProtocol.m +93 -61
  180. data/platform/iphone/Classes/URLProtocol/CRhoWKURLProtocol.h +22 -0
  181. data/platform/iphone/Classes/URLProtocol/CRhoWKURLProtocol.m +246 -0
  182. data/platform/iphone/Classes/WebView.m +14 -2
  183. data/platform/iphone/Entitlements.plist +1 -1
  184. data/platform/iphone/Framework/RhoApplication/RhoApplication.xcodeproj/project.pbxproj +399 -0
  185. data/platform/iphone/Framework/Rhodes/Rhodes.xcodeproj/project.pbxproj +1208 -0
  186. data/platform/iphone/Framework/Rhodes/Rhodes/Info.plist +24 -0
  187. data/platform/iphone/Framework/Rhodes/Rhodes/Rhodes.h +21 -0
  188. data/platform/iphone/Framework/Rhodes/Rhodes/StubCode.m +15 -0
  189. data/platform/iphone/Info.plist +1 -3
  190. data/platform/iphone/RhoAppBaseLib/RhoAppBaseLib.xcodeproj/project.pbxproj +511 -4
  191. data/platform/iphone/RhoLib/RhoLib.xcodeproj/project.pbxproj +467 -1
  192. data/platform/iphone/Rhodes.xcodeproj/project.pbxproj +51 -274
  193. data/platform/iphone/RhodesBaseDelegate.h +1 -1
  194. data/platform/iphone/curl/curl.xcodeproj/project.pbxproj +85 -3
  195. data/platform/iphone/rbuild/ApplicationPlist.erb +1 -1
  196. data/platform/iphone/rbuild/iphone.rake +497 -25
  197. data/platform/iphone/rbuild/iphonecommon.rb +15 -6
  198. data/platform/iphone/rhodes_stub.cpp +15 -0
  199. data/platform/iphone/rhodeslib/api/RhodesLib.h +28 -0
  200. data/platform/iphone/rhodeslib/impl/RhodesLib.m +52 -0
  201. data/platform/iphone/rhodesruby/api/IRefCountedObject.h +20 -0
  202. data/platform/iphone/rhodesruby/api/IRhoRuby.h +72 -0
  203. data/platform/iphone/rhodesruby/api/IRhoRubyArray.h +12 -0
  204. data/platform/iphone/rhodesruby/api/IRhoRubyBoolean.h +11 -0
  205. data/platform/iphone/rhodesruby/api/IRhoRubyFloat.h +10 -0
  206. data/platform/iphone/rhodesruby/api/IRhoRubyHash.h +15 -0
  207. data/platform/iphone/rhodesruby/api/IRhoRubyInteger.h +10 -0
  208. data/platform/iphone/rhodesruby/api/IRhoRubyMutableArray.h +9 -0
  209. data/platform/iphone/rhodesruby/api/IRhoRubyMutableBoolean.h +10 -0
  210. data/platform/iphone/rhodesruby/api/IRhoRubyMutableFloat.h +10 -0
  211. data/platform/iphone/rhodesruby/api/IRhoRubyMutableHash.h +10 -0
  212. data/platform/iphone/rhodesruby/api/IRhoRubyMutableInteger.h +10 -0
  213. data/platform/iphone/rhodesruby/api/IRhoRubyMutableString.h +10 -0
  214. data/platform/iphone/rhodesruby/api/IRhoRubyNativeCallback.h +9 -0
  215. data/platform/iphone/rhodesruby/api/IRhoRubyNil.h +10 -0
  216. data/platform/iphone/rhodesruby/api/IRhoRubyObject.h +37 -0
  217. data/platform/iphone/rhodesruby/api/IRhoRubyRunnable.h +8 -0
  218. data/platform/iphone/rhodesruby/api/IRhoRubyString.h +10 -0
  219. data/platform/iphone/rhodesruby/api/RhoRuby.h +26 -0
  220. data/platform/iphone/rhodesruby/api/RhoRubySingletone.h +14 -0
  221. data/platform/iphone/rhodesruby/impl/RhoRubyFabrique.h +10 -0
  222. data/platform/iphone/rhodesruby/impl/RhoRubyImpl.h +56 -0
  223. data/platform/iphone/rhodesruby/impl/RhoRubyImpl.mm +432 -0
  224. data/platform/iphone/rhodesruby/impl/RhoRubyMutableArrayImpl.h +24 -0
  225. data/platform/iphone/rhodesruby/impl/RhoRubyMutableArrayImpl.mm +43 -0
  226. data/platform/iphone/rhodesruby/impl/RhoRubyMutableBooleanImpl.h +23 -0
  227. data/platform/iphone/rhodesruby/impl/RhoRubyMutableBooleanImpl.mm +38 -0
  228. data/platform/iphone/rhodesruby/impl/RhoRubyMutableFloatImpl.h +23 -0
  229. data/platform/iphone/rhodesruby/impl/RhoRubyMutableFloatImpl.mm +35 -0
  230. data/platform/iphone/rhodesruby/impl/RhoRubyMutableHashImpl.h +24 -0
  231. data/platform/iphone/rhodesruby/impl/RhoRubyMutableHashImpl.mm +48 -0
  232. data/platform/iphone/rhodesruby/impl/RhoRubyMutableIntegerImpl.h +23 -0
  233. data/platform/iphone/rhodesruby/impl/RhoRubyMutableIntegerImpl.mm +35 -0
  234. data/platform/iphone/rhodesruby/impl/RhoRubyMutableStringImpl.h +23 -0
  235. data/platform/iphone/rhodesruby/impl/RhoRubyMutableStringImpl.mm +35 -0
  236. data/platform/iphone/rhodesruby/impl/RhoRubyNilImpl.h +22 -0
  237. data/platform/iphone/rhodesruby/impl/RhoRubyNilImpl.mm +11 -0
  238. data/platform/iphone/rhodesruby/impl/RhoRubyObjectImpl.h +31 -0
  239. data/platform/iphone/rhodesruby/impl/RhoRubyObjectImpl.mm +49 -0
  240. data/platform/iphone/rhodesruby/impl/RhoRubySingletone.m +19 -0
  241. data/platform/iphone/rhodesruby/impl/RubyServerResponceImpl.h +21 -0
  242. data/platform/iphone/rhodesruby/impl/RubyServerResponceImpl.mm +32 -0
  243. data/platform/iphone/rhoextlib/rhoextlib.xcodeproj/project.pbxproj +79 -0
  244. data/platform/iphone/rhorubylib/rhorubylib.xcodeproj/project.pbxproj +91 -0
  245. data/platform/iphone/rhosynclib/rhosynclib.xcodeproj/project.pbxproj +85 -0
  246. data/platform/osx/bin/RhoSimulator/RhoSimulator.app.zip +0 -0
  247. data/platform/shared/common/IRhoClassFactory.h +2 -0
  248. data/platform/shared/common/ISecurityTokenGenerator.h +16 -0
  249. data/platform/shared/common/RhoFile.cpp +11 -0
  250. data/platform/shared/common/RhoMath.h +14 -0
  251. data/platform/shared/common/RhoMutexLock.h +13 -0
  252. data/platform/shared/common/RhoSystem.h +1 -1
  253. data/platform/shared/common/RhoThread.cpp +25 -0
  254. data/platform/shared/common/RhodesApp.cpp +52 -6
  255. data/platform/shared/common/RhodesApp.h +25 -1
  256. data/platform/shared/common/RhodesAppBase.cpp +4 -2
  257. data/platform/shared/common/RhodesAppBase.h +5 -0
  258. data/platform/shared/common/iphone/RhoClassfactory.h +6 -0
  259. data/platform/shared/common/iphone/RhoCryptImpl.mm +21 -2
  260. data/platform/shared/common/map/BaseMapEngine.cpp +2 -2
  261. data/platform/shared/common/map/GeocodingMapEngine.cpp +1 -1
  262. data/platform/shared/common/map/GoogleMapEngine.cpp +1 -1
  263. data/platform/shared/common/map/OSMMapEngine.cpp +1 -1
  264. data/platform/shared/curl/lib/curl_config.h +28 -0
  265. data/platform/shared/db/DBAdapter.cpp +18 -10
  266. data/platform/shared/json.new/JSONIterator.cpp +2 -2
  267. data/platform/shared/net/HttpServer.cpp +32 -0
  268. data/platform/shared/net/HttpServer.h +15 -0
  269. data/platform/shared/net/INetRequest.cpp +54 -0
  270. data/platform/shared/qt/RhoRubylib.pro +10 -0
  271. data/platform/shared/qt/rhodes/impl/AlertImpl.cpp +13 -0
  272. data/platform/shared/qt/rhodes/impl/CameraImpl.cpp +6 -0
  273. data/platform/shared/qt/rhodes/impl/DateTimePickerImpl.cpp +4 -0
  274. data/platform/shared/qt/rhodes/impl/MainWindowImpl.cpp +36 -7
  275. data/platform/shared/qt/rhodes/impl/MainWindowImpl.h +12 -1
  276. data/platform/shared/qt/rhodes/impl/NativeTabbarImpl.cpp +21 -2
  277. data/platform/shared/qt/rhodes/impl/NativeTabbarImpl.h +1 -0
  278. data/platform/shared/qt/rhodes/impl/NativeToolbarImpl.cpp +10 -0
  279. data/platform/shared/qt/rhodes/impl/QtSystemImpl.cpp +55 -3
  280. data/platform/shared/qt/rhodes/impl/RhoClassFactoryImpl.h +11 -0
  281. data/platform/shared/qt/rhodes/impl/RhoThreadImpl.cpp +71 -7
  282. data/platform/shared/qt/rhodes/impl/RhoThreadImpl.h +79 -2
  283. data/platform/shared/qt/rhodes/impl/RhodesImpl.cpp +16 -6
  284. data/platform/shared/qt/rhodes/impl/SecurityTokenGeneratorImpl.cpp +37 -0
  285. data/platform/shared/qt/rhodes/impl/SecurityTokenGeneratorImpl.h +25 -0
  286. data/platform/shared/qt/rhodes/impl/SignatureImpl.cpp +2 -0
  287. data/platform/shared/qt/rhodes/impl/WebViewImpl.cpp +27 -0
  288. data/platform/shared/qt/rhodes/impl/notificationsound.cpp +16 -2
  289. data/platform/shared/qt/rhodes/impl/notificationsound.h +11 -1
  290. data/platform/shared/qt/rhodes/newVersion/QtMainWindow.cpp +25 -16
  291. data/platform/shared/qt/rhodes/newVersion/QtMainWindow.h +3 -0
  292. data/platform/shared/qt/rhodes/newVersion/WebUrlRequestInterceptor.cpp +17 -0
  293. data/platform/shared/qt/rhodes/rhodes.pro +68 -14
  294. data/platform/shared/qt/rhodes/rhorubyVersion/rhodeslib.cpp +148 -0
  295. data/platform/shared/qt/rhodes/rhorubyVersion/rhodeslib.h +12 -0
  296. data/platform/shared/qt/rholib/rholib.pro +33 -5
  297. data/platform/shared/qt/rhoruby_win32_build.bat +19 -0
  298. data/platform/shared/qt/rhoruby_win32_build_debug.bat +19 -0
  299. data/platform/shared/qt/rhosimulator_win32_build_debug.bat +19 -0
  300. data/platform/shared/qt/rubylib/rubylib.pro +1 -0
  301. data/platform/shared/qt/sqlite3/sqlite3.pro +1 -0
  302. data/platform/shared/qt/syncengine/syncengine.pro +1 -0
  303. data/platform/shared/rhoruby/api/IArray.h +20 -0
  304. data/platform/shared/rhoruby/api/IBoolean.h +17 -0
  305. data/platform/shared/rhoruby/api/IFloat.h +17 -0
  306. data/platform/shared/rhoruby/api/IHash.h +23 -0
  307. data/platform/shared/rhoruby/api/IInteger.h +18 -0
  308. data/platform/shared/rhoruby/api/IMutableArray.h +18 -0
  309. data/platform/shared/rhoruby/api/IMutableBoolean.h +18 -0
  310. data/platform/shared/rhoruby/api/IMutableFloat.h +17 -0
  311. data/platform/shared/rhoruby/api/IMutableHash.h +18 -0
  312. data/platform/shared/rhoruby/api/IMutableInteger.h +17 -0
  313. data/platform/shared/rhoruby/api/IMutableString.h +17 -0
  314. data/platform/shared/rhoruby/api/INil.h +16 -0
  315. data/platform/shared/rhoruby/api/IObject.h +46 -0
  316. data/platform/shared/rhoruby/api/IRefCountedObject.h +20 -0
  317. data/platform/shared/rhoruby/api/IRhoRuby.h +78 -0
  318. data/platform/shared/rhoruby/api/IRunnable.h +17 -0
  319. data/platform/shared/rhoruby/api/IString.h +17 -0
  320. data/platform/shared/rhoruby/api/RhoRuby.h +29 -0
  321. data/platform/shared/rhoruby/api/RhoRubySingletone.h +19 -0
  322. data/platform/shared/rhoruby/api/SmartPointer.h +27 -0
  323. data/platform/shared/rhoruby/impl/MutableArrayImpl.cpp +54 -0
  324. data/platform/shared/rhoruby/impl/MutableArrayImpl.h +48 -0
  325. data/platform/shared/rhoruby/impl/MutableBooleanImpl.cpp +44 -0
  326. data/platform/shared/rhoruby/impl/MutableBooleanImpl.h +44 -0
  327. data/platform/shared/rhoruby/impl/MutableFloatImpl.cpp +41 -0
  328. data/platform/shared/rhoruby/impl/MutableFloatImpl.h +44 -0
  329. data/platform/shared/rhoruby/impl/MutableHashImpl.cpp +64 -0
  330. data/platform/shared/rhoruby/impl/MutableHashImpl.h +49 -0
  331. data/platform/shared/rhoruby/impl/MutableIntegerImpl.cpp +41 -0
  332. data/platform/shared/rhoruby/impl/MutableIntegerImpl.h +44 -0
  333. data/platform/shared/rhoruby/impl/MutableStringImpl.cpp +52 -0
  334. data/platform/shared/rhoruby/impl/MutableStringImpl.h +44 -0
  335. data/platform/shared/rhoruby/impl/NilImpl.cpp +23 -0
  336. data/platform/shared/rhoruby/impl/NilImpl.h +32 -0
  337. data/platform/shared/rhoruby/impl/ObjectImpl.cpp +77 -0
  338. data/platform/shared/rhoruby/impl/ObjectImpl.h +53 -0
  339. data/platform/shared/rhoruby/impl/RefCountedObjectImpl.cpp +28 -0
  340. data/platform/shared/rhoruby/impl/RefCountedObjectImpl.h +33 -0
  341. data/platform/shared/rhoruby/impl/RhoRubyImpl.cpp +799 -0
  342. data/platform/shared/rhoruby/impl/RhoRubyImpl.h +81 -0
  343. data/platform/shared/rhoruby/impl/RhoRubySingletone.cpp +20 -0
  344. data/platform/shared/rhoruby/impl/RubyServerResponceImpl.cpp +32 -0
  345. data/platform/shared/rhoruby/impl/RubyServerResponceImpl.h +21 -0
  346. data/platform/shared/ruby/android/ruby/config.h +55 -3
  347. data/platform/shared/ruby/error.c +1 -1
  348. data/platform/shared/ruby/ext/rho/rhoruby.c +60 -7
  349. data/platform/shared/ruby/ext/rho/rhoruby.h +3 -0
  350. data/platform/shared/rubyext/NativeToolbarExt.h +1 -0
  351. data/platform/uwp/rhodes/rhodes_TemporaryKey.pfx +0 -0
  352. data/platform/uwp/rhoruntime/common/RhoClassFactory.h +6 -0
  353. data/platform/win32/RhoSimulator/Qt5Core.dll +0 -0
  354. data/platform/win32/RhoSimulator/Qt5Gui.dll +0 -0
  355. data/platform/win32/RhoSimulator/Qt5Multimedia.dll +0 -0
  356. data/platform/win32/RhoSimulator/Qt5Network.dll +0 -0
  357. data/platform/win32/RhoSimulator/Qt5Positioning.dll +0 -0
  358. data/platform/win32/RhoSimulator/Qt5PrintSupport.dll +0 -0
  359. data/platform/win32/RhoSimulator/Qt5Qml.dll +0 -0
  360. data/platform/win32/RhoSimulator/Qt5Quick.dll +0 -0
  361. data/platform/win32/RhoSimulator/Qt5QuickWidgets.dll +0 -0
  362. data/platform/win32/RhoSimulator/Qt5SerialPort.dll +0 -0
  363. data/platform/win32/RhoSimulator/Qt5Svg.dll +0 -0
  364. data/platform/win32/RhoSimulator/Qt5WebChannel.dll +0 -0
  365. data/platform/win32/RhoSimulator/Qt5WebEngine.dll +0 -0
  366. data/platform/win32/RhoSimulator/Qt5WebEngineCore.dll +0 -0
  367. data/platform/win32/RhoSimulator/Qt5WebEngineWidgets.dll +0 -0
  368. data/platform/win32/RhoSimulator/Qt5Widgets.dll +0 -0
  369. data/platform/win32/RhoSimulator/QtWebEngineProcess.exe +0 -0
  370. data/platform/win32/RhoSimulator/RhoSimulator.exe +0 -0
  371. data/platform/win32/RhoSimulator/audio/qtaudio_wasapi.dll +0 -0
  372. data/platform/win32/RhoSimulator/audio/qtaudio_windows.dll +0 -0
  373. data/platform/win32/RhoSimulator/bearer/qgenericbearer.dll +0 -0
  374. data/platform/win32/RhoSimulator/iconengines/qsvgicon.dll +0 -0
  375. data/platform/win32/RhoSimulator/imageformats/qgif.dll +0 -0
  376. data/platform/win32/RhoSimulator/imageformats/qicns.dll +0 -0
  377. data/platform/win32/RhoSimulator/imageformats/qico.dll +0 -0
  378. data/platform/win32/RhoSimulator/imageformats/qjpeg.dll +0 -0
  379. data/platform/win32/RhoSimulator/imageformats/qsvg.dll +0 -0
  380. data/platform/win32/RhoSimulator/imageformats/qtga.dll +0 -0
  381. data/platform/win32/RhoSimulator/imageformats/qtiff.dll +0 -0
  382. data/platform/win32/RhoSimulator/imageformats/qwbmp.dll +0 -0
  383. data/platform/win32/RhoSimulator/imageformats/qwebp.dll +0 -0
  384. data/platform/win32/RhoSimulator/libEGL.dll +0 -0
  385. data/platform/win32/RhoSimulator/libGLESV2.dll +0 -0
  386. data/platform/win32/RhoSimulator/mediaservice/dsengine.dll +0 -0
  387. data/platform/win32/RhoSimulator/mediaservice/qtmedia_audioengine.dll +0 -0
  388. data/platform/win32/RhoSimulator/mediaservice/wmfengine.dll +0 -0
  389. data/platform/win32/RhoSimulator/platforms/qwindows.dll +0 -0
  390. data/platform/win32/RhoSimulator/playlistformats/qtmultimedia_m3u.dll +0 -0
  391. data/platform/win32/RhoSimulator/position/qtposition_geoclue.dll +0 -0
  392. data/platform/win32/RhoSimulator/position/qtposition_positionpoll.dll +0 -0
  393. data/platform/win32/RhoSimulator/position/qtposition_serialnmea.dll +0 -0
  394. data/platform/win32/RhoSimulator/position/qtposition_winrt.dll +0 -0
  395. data/platform/win32/RhoSimulator/printsupport/windowsprintersupport.dll +0 -0
  396. data/platform/wm/build/wm.rake +110 -5
  397. data/platform/wm/rhodes/rho/common/ExtManager.cpp +30 -0
  398. data/platform/wm/rhodes/rho/common/RhoClassFactory.h +6 -0
  399. data/platform/wm/rhodes/rho/rubyext/SystemImpl.cpp +3 -0
  400. data/platform/wm/rubylib/rubylib.vcxproj +6 -0
  401. data/platform/wp8/rhoruntime/common/RhoClassFactory.h +6 -0
  402. data/rakefile.rb +14 -10
  403. data/res/build-tools/iphonesim/build/Release/iphonesim_8 +23 -15
  404. data/res/build-tools/maven/LICENSE +18 -89
  405. data/res/build-tools/maven/NOTICE +1 -1
  406. data/res/build-tools/maven/README.txt +12 -12
  407. data/res/build-tools/maven/bin/m2.conf +2 -2
  408. data/res/build-tools/maven/bin/mvn +122 -125
  409. data/res/build-tools/maven/bin/mvn.cmd +205 -0
  410. data/res/build-tools/maven/bin/mvnDebug +10 -176
  411. data/res/build-tools/maven/bin/mvnDebug.cmd +33 -0
  412. data/res/build-tools/maven/bin/mvnyjp +9 -181
  413. data/res/build-tools/maven/boot/plexus-classworlds-2.6.0.jar +0 -0
  414. data/res/build-tools/maven/conf/logging/simplelogger.properties +8 -1
  415. data/res/build-tools/maven/conf/settings.xml +1 -1
  416. data/res/build-tools/maven/conf/toolchains.xml +103 -0
  417. data/res/build-tools/maven/lib/animal-sniffer-annotations-1.14.jar +0 -0
  418. data/res/build-tools/maven/lib/animal-sniffer-annotations.license +14 -0
  419. data/res/build-tools/maven/lib/checker-compat-qual-2.0.0.jar +0 -0
  420. data/res/build-tools/maven/lib/checker-compat-qual.license +14 -0
  421. data/res/build-tools/maven/lib/commons-cli-1.4.jar +0 -0
  422. data/res/build-tools/maven/lib/commons-io-2.5.jar +0 -0
  423. data/res/build-tools/maven/lib/commons-lang3-3.8.1.jar +0 -0
  424. data/res/build-tools/maven/lib/error_prone_annotations-2.1.3.jar +0 -0
  425. data/res/build-tools/maven/lib/guava-25.1-android.jar +0 -0
  426. data/res/build-tools/maven/lib/guice-4.2.1-no_aop.jar +0 -0
  427. data/res/build-tools/maven/lib/j2objc-annotations-1.1.jar +0 -0
  428. data/res/build-tools/maven/lib/jansi-1.17.1.jar +0 -0
  429. data/res/build-tools/maven/lib/jansi-native/README.txt +7 -0
  430. data/res/build-tools/maven/lib/jansi-native/freebsd32/libjansi.so +0 -0
  431. data/res/build-tools/maven/lib/jansi-native/freebsd64/libjansi.so +0 -0
  432. data/res/build-tools/maven/lib/jansi-native/linux32/libjansi.so +0 -0
  433. data/res/build-tools/maven/lib/jansi-native/linux64/libjansi.so +0 -0
  434. data/res/build-tools/maven/lib/jansi-native/osx/libjansi.jnilib +0 -0
  435. data/res/build-tools/maven/lib/jansi-native/windows32/jansi.dll +0 -0
  436. data/res/build-tools/maven/lib/jansi-native/windows64/jansi.dll +0 -0
  437. data/res/build-tools/maven/lib/jcl-over-slf4j-1.7.25.jar +0 -0
  438. data/res/build-tools/maven/lib/jcl-over-slf4j.license +14 -0
  439. data/res/build-tools/maven/lib/jsr250-api.license +383 -405
  440. data/res/build-tools/maven/lib/jsr305-3.0.2.jar +0 -0
  441. data/res/build-tools/maven/lib/maven-artifact-3.6.1.jar +0 -0
  442. data/res/build-tools/maven/lib/maven-builder-support-3.6.1.jar +0 -0
  443. data/res/build-tools/maven/lib/maven-compat-3.6.1.jar +0 -0
  444. data/res/build-tools/maven/lib/maven-core-3.6.1.jar +0 -0
  445. data/res/build-tools/maven/lib/maven-embedder-3.6.1.jar +0 -0
  446. data/res/build-tools/maven/lib/maven-model-3.6.1.jar +0 -0
  447. data/res/build-tools/maven/lib/maven-model-builder-3.6.1.jar +0 -0
  448. data/res/build-tools/maven/lib/maven-plugin-api-3.6.1.jar +0 -0
  449. data/res/build-tools/maven/lib/maven-repository-metadata-3.6.1.jar +0 -0
  450. data/res/build-tools/maven/lib/maven-resolver-api-1.3.3.jar +0 -0
  451. data/res/build-tools/maven/lib/maven-resolver-connector-basic-1.3.3.jar +0 -0
  452. data/res/build-tools/maven/lib/maven-resolver-impl-1.3.3.jar +0 -0
  453. data/res/build-tools/maven/lib/maven-resolver-provider-3.6.1.jar +0 -0
  454. data/res/build-tools/maven/lib/maven-resolver-spi-1.3.3.jar +0 -0
  455. data/res/build-tools/maven/lib/maven-resolver-transport-wagon-1.3.3.jar +0 -0
  456. data/res/build-tools/maven/lib/maven-resolver-util-1.3.3.jar +0 -0
  457. data/res/build-tools/maven/lib/maven-settings-3.6.1.jar +0 -0
  458. data/res/build-tools/maven/lib/maven-settings-builder-3.6.1.jar +0 -0
  459. data/res/build-tools/maven/lib/maven-shared-utils-3.2.1.jar +0 -0
  460. data/res/build-tools/maven/lib/maven-slf4j-provider-3.6.1.jar +0 -0
  461. data/res/build-tools/maven/lib/org.eclipse.sisu.inject-0.3.3.jar +0 -0
  462. data/res/build-tools/maven/lib/org.eclipse.sisu.inject.license +210 -261
  463. data/res/build-tools/maven/lib/org.eclipse.sisu.plexus-0.3.3.jar +0 -0
  464. data/res/build-tools/maven/lib/org.eclipse.sisu.plexus.license +210 -261
  465. data/res/build-tools/maven/lib/plexus-component-annotations-1.7.1.jar +0 -0
  466. data/res/build-tools/maven/lib/plexus-interpolation-1.25.jar +0 -0
  467. data/res/build-tools/maven/lib/plexus-sec-dispatcher-1.4.jar +0 -0
  468. data/res/build-tools/maven/lib/plexus-utils-3.2.0.jar +0 -0
  469. data/res/build-tools/maven/lib/slf4j-api-1.7.25.jar +0 -0
  470. data/res/build-tools/maven/lib/slf4j-api.license +10 -186
  471. data/res/build-tools/maven/lib/wagon-file-3.3.2.jar +0 -0
  472. data/res/build-tools/maven/lib/wagon-http-3.3.2-shaded.jar +0 -0
  473. data/res/build-tools/maven/lib/wagon-provider-api-3.3.2.jar +0 -0
  474. data/res/generators/rhogen.rb +150 -0
  475. data/res/generators/templates/application/AndroidManifest.erb +13 -4
  476. data/res/generators/templates/application/build.yml +9 -0
  477. data/res/generators/templates/application/nodejs_build.yml +1 -1
  478. data/res/generators/templates/application/resources/android/res/xml/network_security_config.xml +7 -0
  479. data/res/generators/templates/application/rhoconfig.txt +13 -6
  480. data/res/generators/templates/application/rhoconfig_rubynode.txt +139 -0
  481. data/res/generators/templates/application/rubynodejs_build.yml +95 -0
  482. data/res/generators/templates/extension/extensions/montana/ext/platform/android/Rakefile +19 -0
  483. data/res/generators/templates/iphone_project/root/Entitlements.plist +1 -1
  484. data/res/generators/templates/iphone_project/root/Info.plist +1 -3
  485. data/res/generators/templates/iphone_project/root/rhorunner_development.entitlements +1 -1
  486. data/res/generators/templates/iphone_project/root/rhorunner_production.entitlements +1 -1
  487. data/rhodes.gemspec +2 -2
  488. data/version +1 -1
  489. metadata +244 -71
  490. data/res/build-tools/maven/bin/mvn.bat +0 -197
  491. data/res/build-tools/maven/bin/mvnDebug.bat +0 -200
  492. data/res/build-tools/maven/boot/plexus-classworlds-2.5.2.jar +0 -0
  493. data/res/build-tools/maven/lib/aether-api-1.0.0.v20140518.jar +0 -0
  494. data/res/build-tools/maven/lib/aether-api.license +0 -261
  495. data/res/build-tools/maven/lib/aether-connector-basic-1.0.0.v20140518.jar +0 -0
  496. data/res/build-tools/maven/lib/aether-connector-basic.license +0 -261
  497. data/res/build-tools/maven/lib/aether-impl-1.0.0.v20140518.jar +0 -0
  498. data/res/build-tools/maven/lib/aether-impl.license +0 -261
  499. data/res/build-tools/maven/lib/aether-spi-1.0.0.v20140518.jar +0 -0
  500. data/res/build-tools/maven/lib/aether-spi.license +0 -261
  501. data/res/build-tools/maven/lib/aether-transport-wagon-1.0.0.v20140518.jar +0 -0
  502. data/res/build-tools/maven/lib/aether-transport-wagon.license +0 -261
  503. data/res/build-tools/maven/lib/aether-util-1.0.0.v20140518.jar +0 -0
  504. data/res/build-tools/maven/lib/aether-util.license +0 -261
  505. data/res/build-tools/maven/lib/cdi-api.license +0 -445
  506. data/res/build-tools/maven/lib/commons-cli-1.2.jar +0 -0
  507. data/res/build-tools/maven/lib/commons-io-2.2.jar +0 -0
  508. data/res/build-tools/maven/lib/commons-lang-2.6.jar +0 -0
  509. data/res/build-tools/maven/lib/guava-18.0.jar +0 -0
  510. data/res/build-tools/maven/lib/jsoup-1.7.2.jar +0 -0
  511. data/res/build-tools/maven/lib/jsoup.license +0 -66
  512. data/res/build-tools/maven/lib/maven-aether-provider-3.2.5.jar +0 -0
  513. data/res/build-tools/maven/lib/maven-aether-provider.license +0 -202
  514. data/res/build-tools/maven/lib/maven-artifact-3.2.5.jar +0 -0
  515. data/res/build-tools/maven/lib/maven-artifact.license +0 -202
  516. data/res/build-tools/maven/lib/maven-compat-3.2.5.jar +0 -0
  517. data/res/build-tools/maven/lib/maven-compat.license +0 -202
  518. data/res/build-tools/maven/lib/maven-core-3.2.5.jar +0 -0
  519. data/res/build-tools/maven/lib/maven-core.license +0 -202
  520. data/res/build-tools/maven/lib/maven-embedder-3.2.5.jar +0 -0
  521. data/res/build-tools/maven/lib/maven-embedder.license +0 -202
  522. data/res/build-tools/maven/lib/maven-model-3.2.5.jar +0 -0
  523. data/res/build-tools/maven/lib/maven-model-builder-3.2.5.jar +0 -0
  524. data/res/build-tools/maven/lib/maven-model-builder.license +0 -202
  525. data/res/build-tools/maven/lib/maven-model.license +0 -202
  526. data/res/build-tools/maven/lib/maven-plugin-api-3.2.5.jar +0 -0
  527. data/res/build-tools/maven/lib/maven-plugin-api.license +0 -202
  528. data/res/build-tools/maven/lib/maven-repository-metadata-3.2.5.jar +0 -0
  529. data/res/build-tools/maven/lib/maven-repository-metadata.license +0 -202
  530. data/res/build-tools/maven/lib/maven-settings-3.2.5.jar +0 -0
  531. data/res/build-tools/maven/lib/maven-settings-builder-3.2.5.jar +0 -0
  532. data/res/build-tools/maven/lib/maven-settings-builder.license +0 -202
  533. data/res/build-tools/maven/lib/maven-settings.license +0 -202
  534. data/res/build-tools/maven/lib/org.eclipse.sisu.inject-0.3.0.M1.jar +0 -0
  535. data/res/build-tools/maven/lib/org.eclipse.sisu.plexus-0.3.0.M1.jar +0 -0
  536. data/res/build-tools/maven/lib/plexus-cipher.license +0 -445
  537. data/res/build-tools/maven/lib/plexus-component-annotations-1.5.5.jar +0 -0
  538. data/res/build-tools/maven/lib/plexus-interpolation-1.21.jar +0 -0
  539. data/res/build-tools/maven/lib/plexus-sec-dispatcher-1.3.jar +0 -0
  540. data/res/build-tools/maven/lib/plexus-sec-dispatcher.license +0 -445
  541. data/res/build-tools/maven/lib/plexus-utils-3.0.20.jar +0 -0
  542. data/res/build-tools/maven/lib/sisu-guice-3.2.3-no_aop.jar +0 -0
  543. data/res/build-tools/maven/lib/slf4j-api-1.7.5.jar +0 -0
  544. data/res/build-tools/maven/lib/slf4j-simple-1.7.5.jar +0 -0
  545. data/res/build-tools/maven/lib/slf4j-simple.license +0 -190
  546. data/res/build-tools/maven/lib/wagon-file-2.8.jar +0 -0
  547. data/res/build-tools/maven/lib/wagon-file.license +0 -202
  548. data/res/build-tools/maven/lib/wagon-http-2.8-shaded.jar +0 -0
  549. data/res/build-tools/maven/lib/wagon-http-shared-2.8.jar +0 -0
  550. data/res/build-tools/maven/lib/wagon-http-shared.license +0 -202
  551. data/res/build-tools/maven/lib/wagon-http.license +0 -202
  552. data/res/build-tools/maven/lib/wagon-provider-api-2.8.jar +0 -0
  553. data/res/build-tools/maven/lib/wagon-provider-api.license +0 -202
@@ -1,197 +0,0 @@
1
- @REM ----------------------------------------------------------------------------
2
- @REM Licensed to the Apache Software Foundation (ASF) under one
3
- @REM or more contributor license agreements. See the NOTICE file
4
- @REM distributed with this work for additional information
5
- @REM regarding copyright ownership. The ASF licenses this file
6
- @REM to you under the Apache License, Version 2.0 (the
7
- @REM "License"); you may not use this file except in compliance
8
- @REM with the License. You may obtain a copy of the License at
9
- @REM
10
- @REM http://www.apache.org/licenses/LICENSE-2.0
11
- @REM
12
- @REM Unless required by applicable law or agreed to in writing,
13
- @REM software distributed under the License is distributed on an
14
- @REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
- @REM KIND, either express or implied. See the License for the
16
- @REM specific language governing permissions and limitations
17
- @REM under the License.
18
- @REM ----------------------------------------------------------------------------
19
-
20
- @REM ----------------------------------------------------------------------------
21
- @REM Maven2 Start Up Batch script
22
- @REM
23
- @REM Required ENV vars:
24
- @REM JAVA_HOME - location of a JDK home dir
25
- @REM
26
- @REM Optional ENV vars
27
- @REM M2_HOME - location of maven2's installed home dir
28
- @REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
29
- @REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a key stroke before ending
30
- @REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
31
- @REM e.g. to debug Maven itself, use
32
- @REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
33
- @REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
34
- @REM ----------------------------------------------------------------------------
35
-
36
- @REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
37
- @echo off
38
- @REM enable echoing my setting MAVEN_BATCH_ECHO to 'on'
39
- @if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO%
40
-
41
- @REM set %HOME% to equivalent of $HOME
42
- if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
43
-
44
- @REM Execute a user defined script before this one
45
- if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
46
- if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
47
- :skipRcPre
48
-
49
- set ERROR_CODE=0
50
-
51
- @REM set local scope for the variables with windows NT shell
52
- if "%OS%"=="Windows_NT" @setlocal
53
- if "%OS%"=="WINNT" @setlocal
54
-
55
- @REM ==== START VALIDATION ====
56
- if not "%JAVA_HOME%" == "" goto OkJHome
57
-
58
- echo.
59
- echo Error: JAVA_HOME not found in your environment. >&2
60
- echo Please set the JAVA_HOME variable in your environment to match the >&2
61
- echo location of your Java installation. >&2
62
- echo.
63
- goto error
64
-
65
- :OkJHome
66
- if exist "%JAVA_HOME%\bin\java.exe" goto chkMHome
67
-
68
- echo.
69
- echo Error: JAVA_HOME is set to an invalid directory. >&2
70
- echo JAVA_HOME = "%JAVA_HOME%" >&2
71
- echo Please set the JAVA_HOME variable in your environment to match the >&2
72
- echo location of your Java installation. >&2
73
- echo.
74
- goto error
75
-
76
- :chkMHome
77
- if not "%M2_HOME%"=="" goto valMHome
78
-
79
- if "%OS%"=="Windows_NT" SET "M2_HOME=%~dp0.."
80
- if "%OS%"=="WINNT" SET "M2_HOME=%~dp0.."
81
- if not "%M2_HOME%"=="" goto valMHome
82
-
83
- echo.
84
- echo Error: M2_HOME not found in your environment. >&2
85
- echo Please set the M2_HOME variable in your environment to match the >&2
86
- echo location of the Maven installation. >&2
87
- echo.
88
- goto error
89
-
90
- :valMHome
91
-
92
- :stripMHome
93
- if not "_%M2_HOME:~-1%"=="_\" goto checkMBat
94
- set "M2_HOME=%M2_HOME:~0,-1%"
95
- goto stripMHome
96
-
97
- :checkMBat
98
- if exist "%M2_HOME%\bin\mvn.bat" goto init
99
-
100
- echo.
101
- echo Error: M2_HOME is set to an invalid directory. >&2
102
- echo M2_HOME = "%M2_HOME%" >&2
103
- echo Please set the M2_HOME variable in your environment to match the >&2
104
- echo location of the Maven installation >&2
105
- echo.
106
- goto error
107
- @REM ==== END VALIDATION ====
108
-
109
- :init
110
- @REM Decide how to startup depending on the version of windows
111
-
112
- @REM -- Windows NT with Novell Login
113
- if "%OS%"=="WINNT" goto WinNTNovell
114
-
115
- @REM -- Win98ME
116
- if NOT "%OS%"=="Windows_NT" goto Win9xArg
117
-
118
- :WinNTNovell
119
-
120
- @REM -- 4NT shell
121
- if "%@eval[2+2]" == "4" goto 4NTArgs
122
-
123
- @REM -- Regular WinNT shell
124
- set MAVEN_CMD_LINE_ARGS=%*
125
- goto endInit
126
-
127
- @REM The 4NT Shell from jp software
128
- :4NTArgs
129
- set MAVEN_CMD_LINE_ARGS=%$
130
- goto endInit
131
-
132
- :Win9xArg
133
- @REM Slurp the command line arguments. This loop allows for an unlimited number
134
- @REM of agruments (up to the command line limit, anyway).
135
- set MAVEN_CMD_LINE_ARGS=
136
- :Win9xApp
137
- if %1a==a goto endInit
138
- set MAVEN_CMD_LINE_ARGS=%MAVEN_CMD_LINE_ARGS% %1
139
- shift
140
- goto Win9xApp
141
-
142
- @REM Reaching here means variables are defined and arguments have been captured
143
- :endInit
144
- SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
145
-
146
- @REM -- 4NT shell
147
- if "%@eval[2+2]" == "4" goto 4NTCWJars
148
-
149
- @REM -- Regular WinNT shell
150
- for %%i in ("%M2_HOME%"\boot\plexus-classworlds-*) do set CLASSWORLDS_JAR="%%i"
151
- goto runm2
152
-
153
- @REM The 4NT Shell from jp software
154
- :4NTCWJars
155
- for %%i in ("%M2_HOME%\boot\plexus-classworlds-*") do set CLASSWORLDS_JAR="%%i"
156
- goto runm2
157
-
158
- @REM Start MAVEN2
159
- :runm2
160
- set CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
161
- %MAVEN_JAVA_EXE% %MAVEN_OPTS% -classpath %CLASSWORLDS_JAR% "-Dclassworlds.conf=%M2_HOME%\bin\m2.conf" "-Dmaven.home=%M2_HOME%" %CLASSWORLDS_LAUNCHER% %MAVEN_CMD_LINE_ARGS%
162
- if ERRORLEVEL 1 goto error
163
- goto end
164
-
165
- :error
166
- if "%OS%"=="Windows_NT" @endlocal
167
- if "%OS%"=="WINNT" @endlocal
168
- set ERROR_CODE=1
169
-
170
- :end
171
- @REM set local scope for the variables with windows NT shell
172
- if "%OS%"=="Windows_NT" goto endNT
173
- if "%OS%"=="WINNT" goto endNT
174
-
175
- @REM For old DOS remove the set variables from ENV - we assume they were not set
176
- @REM before we started - at least we don't leave any baggage around
177
- set MAVEN_JAVA_EXE=
178
- set MAVEN_CMD_LINE_ARGS=
179
- goto postExec
180
-
181
- :endNT
182
- @endlocal & set ERROR_CODE=%ERROR_CODE%
183
-
184
- :postExec
185
-
186
- if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost
187
- if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"
188
- :skipRcPost
189
-
190
- @REM pause the batch file if MAVEN_BATCH_PAUSE is set to 'on'
191
- if "%MAVEN_BATCH_PAUSE%" == "on" pause
192
-
193
- if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
194
-
195
- cmd /C exit /B %ERROR_CODE%
196
-
197
-
@@ -1,200 +0,0 @@
1
- @REM ----------------------------------------------------------------------------
2
- @REM Licensed to the Apache Software Foundation (ASF) under one
3
- @REM or more contributor license agreements. See the NOTICE file
4
- @REM distributed with this work for additional information
5
- @REM regarding copyright ownership. The ASF licenses this file
6
- @REM to you under the Apache License, Version 2.0 (the
7
- @REM "License"); you may not use this file except in compliance
8
- @REM with the License. You may obtain a copy of the License at
9
- @REM
10
- @REM http://www.apache.org/licenses/LICENSE-2.0
11
- @REM
12
- @REM Unless required by applicable law or agreed to in writing,
13
- @REM software distributed under the License is distributed on an
14
- @REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
- @REM KIND, either express or implied. See the License for the
16
- @REM specific language governing permissions and limitations
17
- @REM under the License.
18
- @REM ----------------------------------------------------------------------------
19
-
20
- @REM ----------------------------------------------------------------------------
21
- @REM Maven2 Start Up Batch script
22
- @REM
23
- @REM Required ENV vars:
24
- @REM JAVA_HOME - location of a JDK home dir
25
- @REM
26
- @REM Optional ENV vars
27
- @REM M2_HOME - location of maven2's installed home dir
28
- @REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
29
- @REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a key stroke before ending
30
- @REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
31
- @REM e.g. to debug Maven itself, use
32
- @REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
33
- @REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
34
- @REM ----------------------------------------------------------------------------
35
-
36
- @REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
37
- @echo off
38
- @REM enable echoing my setting MAVEN_BATCH_ECHO to 'on'
39
- @if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO%
40
-
41
- @echo Preparing to Execute Maven in Debug Mode
42
-
43
- @REM set %HOME% to equivalent of $HOME
44
- if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
45
-
46
- @REM Execute a user defined script before this one
47
- if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
48
- if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
49
- :skipRcPre
50
-
51
- set ERROR_CODE=0
52
-
53
- @REM set local scope for the variables with windows NT shell
54
- if "%OS%"=="Windows_NT" @setlocal
55
- if "%OS%"=="WINNT" @setlocal
56
-
57
- set MAVEN_DEBUG_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
58
-
59
- @REM ==== START VALIDATION ====
60
- if not "%JAVA_HOME%" == "" goto OkJHome
61
-
62
- echo.
63
- echo Error: JAVA_HOME not found in your environment. >&2
64
- echo Please set the JAVA_HOME variable in your environment to match the >&2
65
- echo location of your Java installation >&2
66
- echo.
67
- goto error
68
-
69
- :OkJHome
70
- if exist "%JAVA_HOME%\bin\java.exe" goto chkMHome
71
-
72
- echo.
73
- echo Error: JAVA_HOME is set to an invalid directory. >&2
74
- echo JAVA_HOME = "%JAVA_HOME%" >&2
75
- echo Please set the JAVA_HOME variable in your environment to match the >&2
76
- echo location of your Java installation >&2
77
- echo.
78
- goto error
79
-
80
- :chkMHome
81
- if not "%M2_HOME%"=="" goto valMHome
82
-
83
- if "%OS%"=="Windows_NT" SET "M2_HOME=%~dp0.."
84
- if "%OS%"=="WINNT" SET "M2_HOME=%~dp0.."
85
- if not "%M2_HOME%"=="" goto valMHome
86
-
87
- echo.
88
- echo Error: M2_HOME not found in your environment. >&2
89
- echo Please set the M2_HOME variable in your environment to match the >&2
90
- echo location of the Maven installation >&2
91
- echo.
92
- goto error
93
-
94
- :valMHome
95
-
96
- :stripMHome
97
- if not "_%M2_HOME:~-1%"=="_\" goto checkMBat
98
- set "M2_HOME=%M2_HOME:~0,-1%"
99
- goto stripMHome
100
-
101
- :checkMBat
102
- if exist "%M2_HOME%\bin\mvn.bat" goto init
103
-
104
- echo.
105
- echo Error: M2_HOME is set to an invalid directory. >&2
106
- echo M2_HOME = "%M2_HOME%" >&2
107
- echo Please set the M2_HOME variable in your environment to match the >&2
108
- echo location of the Maven installation >&2
109
- echo.
110
- goto error
111
- @REM ==== END VALIDATION ====
112
-
113
- :init
114
- @REM Decide how to startup depending on the version of windows
115
-
116
- @REM -- Windows NT with Novell Login
117
- if "%OS%"=="WINNT" goto WinNTNovell
118
-
119
- @REM -- Win98ME
120
- if NOT "%OS%"=="Windows_NT" goto Win9xArg
121
-
122
- :WinNTNovell
123
-
124
- @REM -- 4NT shell
125
- if "%@eval[2+2]" == "4" goto 4NTArgs
126
-
127
- @REM -- Regular WinNT shell
128
- set MAVEN_CMD_LINE_ARGS=%*
129
- goto endInit
130
-
131
- @REM The 4NT Shell from jp software
132
- :4NTArgs
133
- set MAVEN_CMD_LINE_ARGS=%$
134
- goto endInit
135
-
136
- :Win9xArg
137
- @REM Slurp the command line arguments. This loop allows for an unlimited number
138
- @REM of agruments (up to the command line limit, anyway).
139
- set MAVEN_CMD_LINE_ARGS=
140
- :Win9xApp
141
- if %1a==a goto endInit
142
- set MAVEN_CMD_LINE_ARGS=%MAVEN_CMD_LINE_ARGS% %1
143
- shift
144
- goto Win9xApp
145
-
146
- @REM Reaching here means variables are defined and arguments have been captured
147
- :endInit
148
- SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
149
-
150
- @REM -- 4NT shell
151
- if "%@eval[2+2]" == "4" goto 4NTCWJars
152
-
153
- @REM -- Regular WinNT shell
154
- for %%i in ("%M2_HOME%"\boot\plexus-classworlds-*) do set CLASSWORLDS_JAR="%%i"
155
- goto runm2
156
-
157
- @REM The 4NT Shell from jp software
158
- :4NTCWJars
159
- for %%i in ("%M2_HOME%\boot\plexus-classworlds-*") do set CLASSWORLDS_JAR="%%i"
160
- goto runm2
161
-
162
- @REM Start MAVEN2
163
- :runm2
164
- set CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
165
- %MAVEN_JAVA_EXE% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %CLASSWORLDS_JAR% "-Dclassworlds.conf=%M2_HOME%\bin\m2.conf" "-Dmaven.home=%M2_HOME%" %CLASSWORLDS_LAUNCHER% %MAVEN_CMD_LINE_ARGS%
166
- if ERRORLEVEL 1 goto error
167
- goto end
168
-
169
- :error
170
- if "%OS%"=="Windows_NT" @endlocal
171
- if "%OS%"=="WINNT" @endlocal
172
- set ERROR_CODE=1
173
-
174
- :end
175
- @REM set local scope for the variables with windows NT shell
176
- if "%OS%"=="Windows_NT" goto endNT
177
- if "%OS%"=="WINNT" goto endNT
178
-
179
- @REM For old DOS remove the set variables from ENV - we assume they were not set
180
- @REM before we started - at least we don't leave any baggage around
181
- set MAVEN_JAVA_EXE=
182
- set MAVEN_CMD_LINE_ARGS=
183
- goto postExec
184
-
185
- :endNT
186
- @endlocal & set ERROR_CODE=%ERROR_CODE%
187
-
188
- :postExec
189
-
190
- if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost
191
- if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"
192
- :skipRcPost
193
-
194
- @REM pause the batch file if MAVEN_BATCH_PAUSE is set to 'on'
195
- if "%MAVEN_BATCH_PAUSE%" == "on" pause
196
-
197
- if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
198
-
199
- exit /B %ERROR_CODE%
200
-
@@ -1,261 +0,0 @@
1
- <?xml version="1.0" encoding="ISO-8859-1" ?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml">
4
-
5
- <head>
6
- <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
7
- <title>Eclipse Public License - Version 1.0</title>
8
- <style type="text/css">
9
- body {
10
- size: 8.5in 11.0in;
11
- margin: 0.25in 0.5in 0.25in 0.5in;
12
- tab-interval: 0.5in;
13
- }
14
- p {
15
- margin-left: auto;
16
- margin-top: 0.5em;
17
- margin-bottom: 0.5em;
18
- }
19
- p.list {
20
- margin-left: 0.5in;
21
- margin-top: 0.05em;
22
- margin-bottom: 0.05em;
23
- }
24
- </style>
25
-
26
- </head>
27
-
28
- <body lang="EN-US">
29
-
30
- <h2>Eclipse Public License - v 1.0</h2>
31
-
32
- <p>THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE
33
- PUBLIC LICENSE (&quot;AGREEMENT&quot;). ANY USE, REPRODUCTION OR
34
- DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS
35
- AGREEMENT.</p>
36
-
37
- <p><b>1. DEFINITIONS</b></p>
38
-
39
- <p>&quot;Contribution&quot; means:</p>
40
-
41
- <p class="list">a) in the case of the initial Contributor, the initial
42
- code and documentation distributed under this Agreement, and</p>
43
- <p class="list">b) in the case of each subsequent Contributor:</p>
44
- <p class="list">i) changes to the Program, and</p>
45
- <p class="list">ii) additions to the Program;</p>
46
- <p class="list">where such changes and/or additions to the Program
47
- originate from and are distributed by that particular Contributor. A
48
- Contribution 'originates' from a Contributor if it was added to the
49
- Program by such Contributor itself or anyone acting on such
50
- Contributor's behalf. Contributions do not include additions to the
51
- Program which: (i) are separate modules of software distributed in
52
- conjunction with the Program under their own license agreement, and (ii)
53
- are not derivative works of the Program.</p>
54
-
55
- <p>&quot;Contributor&quot; means any person or entity that distributes
56
- the Program.</p>
57
-
58
- <p>&quot;Licensed Patents&quot; mean patent claims licensable by a
59
- Contributor which are necessarily infringed by the use or sale of its
60
- Contribution alone or when combined with the Program.</p>
61
-
62
- <p>&quot;Program&quot; means the Contributions distributed in accordance
63
- with this Agreement.</p>
64
-
65
- <p>&quot;Recipient&quot; means anyone who receives the Program under
66
- this Agreement, including all Contributors.</p>
67
-
68
- <p><b>2. GRANT OF RIGHTS</b></p>
69
-
70
- <p class="list">a) Subject to the terms of this Agreement, each
71
- Contributor hereby grants Recipient a non-exclusive, worldwide,
72
- royalty-free copyright license to reproduce, prepare derivative works
73
- of, publicly display, publicly perform, distribute and sublicense the
74
- Contribution of such Contributor, if any, and such derivative works, in
75
- source code and object code form.</p>
76
-
77
- <p class="list">b) Subject to the terms of this Agreement, each
78
- Contributor hereby grants Recipient a non-exclusive, worldwide,
79
- royalty-free patent license under Licensed Patents to make, use, sell,
80
- offer to sell, import and otherwise transfer the Contribution of such
81
- Contributor, if any, in source code and object code form. This patent
82
- license shall apply to the combination of the Contribution and the
83
- Program if, at the time the Contribution is added by the Contributor,
84
- such addition of the Contribution causes such combination to be covered
85
- by the Licensed Patents. The patent license shall not apply to any other
86
- combinations which include the Contribution. No hardware per se is
87
- licensed hereunder.</p>
88
-
89
- <p class="list">c) Recipient understands that although each Contributor
90
- grants the licenses to its Contributions set forth herein, no assurances
91
- are provided by any Contributor that the Program does not infringe the
92
- patent or other intellectual property rights of any other entity. Each
93
- Contributor disclaims any liability to Recipient for claims brought by
94
- any other entity based on infringement of intellectual property rights
95
- or otherwise. As a condition to exercising the rights and licenses
96
- granted hereunder, each Recipient hereby assumes sole responsibility to
97
- secure any other intellectual property rights needed, if any. For
98
- example, if a third party patent license is required to allow Recipient
99
- to distribute the Program, it is Recipient's responsibility to acquire
100
- that license before distributing the Program.</p>
101
-
102
- <p class="list">d) Each Contributor represents that to its knowledge it
103
- has sufficient copyright rights in its Contribution, if any, to grant
104
- the copyright license set forth in this Agreement.</p>
105
-
106
- <p><b>3. REQUIREMENTS</b></p>
107
-
108
- <p>A Contributor may choose to distribute the Program in object code
109
- form under its own license agreement, provided that:</p>
110
-
111
- <p class="list">a) it complies with the terms and conditions of this
112
- Agreement; and</p>
113
-
114
- <p class="list">b) its license agreement:</p>
115
-
116
- <p class="list">i) effectively disclaims on behalf of all Contributors
117
- all warranties and conditions, express and implied, including warranties
118
- or conditions of title and non-infringement, and implied warranties or
119
- conditions of merchantability and fitness for a particular purpose;</p>
120
-
121
- <p class="list">ii) effectively excludes on behalf of all Contributors
122
- all liability for damages, including direct, indirect, special,
123
- incidental and consequential damages, such as lost profits;</p>
124
-
125
- <p class="list">iii) states that any provisions which differ from this
126
- Agreement are offered by that Contributor alone and not by any other
127
- party; and</p>
128
-
129
- <p class="list">iv) states that source code for the Program is available
130
- from such Contributor, and informs licensees how to obtain it in a
131
- reasonable manner on or through a medium customarily used for software
132
- exchange.</p>
133
-
134
- <p>When the Program is made available in source code form:</p>
135
-
136
- <p class="list">a) it must be made available under this Agreement; and</p>
137
-
138
- <p class="list">b) a copy of this Agreement must be included with each
139
- copy of the Program.</p>
140
-
141
- <p>Contributors may not remove or alter any copyright notices contained
142
- within the Program.</p>
143
-
144
- <p>Each Contributor must identify itself as the originator of its
145
- Contribution, if any, in a manner that reasonably allows subsequent
146
- Recipients to identify the originator of the Contribution.</p>
147
-
148
- <p><b>4. COMMERCIAL DISTRIBUTION</b></p>
149
-
150
- <p>Commercial distributors of software may accept certain
151
- responsibilities with respect to end users, business partners and the
152
- like. While this license is intended to facilitate the commercial use of
153
- the Program, the Contributor who includes the Program in a commercial
154
- product offering should do so in a manner which does not create
155
- potential liability for other Contributors. Therefore, if a Contributor
156
- includes the Program in a commercial product offering, such Contributor
157
- (&quot;Commercial Contributor&quot;) hereby agrees to defend and
158
- indemnify every other Contributor (&quot;Indemnified Contributor&quot;)
159
- against any losses, damages and costs (collectively &quot;Losses&quot;)
160
- arising from claims, lawsuits and other legal actions brought by a third
161
- party against the Indemnified Contributor to the extent caused by the
162
- acts or omissions of such Commercial Contributor in connection with its
163
- distribution of the Program in a commercial product offering. The
164
- obligations in this section do not apply to any claims or Losses
165
- relating to any actual or alleged intellectual property infringement. In
166
- order to qualify, an Indemnified Contributor must: a) promptly notify
167
- the Commercial Contributor in writing of such claim, and b) allow the
168
- Commercial Contributor to control, and cooperate with the Commercial
169
- Contributor in, the defense and any related settlement negotiations. The
170
- Indemnified Contributor may participate in any such claim at its own
171
- expense.</p>
172
-
173
- <p>For example, a Contributor might include the Program in a commercial
174
- product offering, Product X. That Contributor is then a Commercial
175
- Contributor. If that Commercial Contributor then makes performance
176
- claims, or offers warranties related to Product X, those performance
177
- claims and warranties are such Commercial Contributor's responsibility
178
- alone. Under this section, the Commercial Contributor would have to
179
- defend claims against the other Contributors related to those
180
- performance claims and warranties, and if a court requires any other
181
- Contributor to pay any damages as a result, the Commercial Contributor
182
- must pay those damages.</p>
183
-
184
- <p><b>5. NO WARRANTY</b></p>
185
-
186
- <p>EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS
187
- PROVIDED ON AN &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS
188
- OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION,
189
- ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
190
- OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
191
- responsible for determining the appropriateness of using and
192
- distributing the Program and assumes all risks associated with its
193
- exercise of rights under this Agreement , including but not limited to
194
- the risks and costs of program errors, compliance with applicable laws,
195
- damage to or loss of data, programs or equipment, and unavailability or
196
- interruption of operations.</p>
197
-
198
- <p><b>6. DISCLAIMER OF LIABILITY</b></p>
199
-
200
- <p>EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT
201
- NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT,
202
- INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING
203
- WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF
204
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
205
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR
206
- DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
207
- HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.</p>
208
-
209
- <p><b>7. GENERAL</b></p>
210
-
211
- <p>If any provision of this Agreement is invalid or unenforceable under
212
- applicable law, it shall not affect the validity or enforceability of
213
- the remainder of the terms of this Agreement, and without further action
214
- by the parties hereto, such provision shall be reformed to the minimum
215
- extent necessary to make such provision valid and enforceable.</p>
216
-
217
- <p>If Recipient institutes patent litigation against any entity
218
- (including a cross-claim or counterclaim in a lawsuit) alleging that the
219
- Program itself (excluding combinations of the Program with other
220
- software or hardware) infringes such Recipient's patent(s), then such
221
- Recipient's rights granted under Section 2(b) shall terminate as of the
222
- date such litigation is filed.</p>
223
-
224
- <p>All Recipient's rights under this Agreement shall terminate if it
225
- fails to comply with any of the material terms or conditions of this
226
- Agreement and does not cure such failure in a reasonable period of time
227
- after becoming aware of such noncompliance. If all Recipient's rights
228
- under this Agreement terminate, Recipient agrees to cease use and
229
- distribution of the Program as soon as reasonably practicable. However,
230
- Recipient's obligations under this Agreement and any licenses granted by
231
- Recipient relating to the Program shall continue and survive.</p>
232
-
233
- <p>Everyone is permitted to copy and distribute copies of this
234
- Agreement, but in order to avoid inconsistency the Agreement is
235
- copyrighted and may only be modified in the following manner. The
236
- Agreement Steward reserves the right to publish new versions (including
237
- revisions) of this Agreement from time to time. No one other than the
238
- Agreement Steward has the right to modify this Agreement. The Eclipse
239
- Foundation is the initial Agreement Steward. The Eclipse Foundation may
240
- assign the responsibility to serve as the Agreement Steward to a
241
- suitable separate entity. Each new version of the Agreement will be
242
- given a distinguishing version number. The Program (including
243
- Contributions) may always be distributed subject to the version of the
244
- Agreement under which it was received. In addition, after a new version
245
- of the Agreement is published, Contributor may elect to distribute the
246
- Program (including its Contributions) under the new version. Except as
247
- expressly stated in Sections 2(a) and 2(b) above, Recipient receives no
248
- rights or licenses to the intellectual property of any Contributor under
249
- this Agreement, whether expressly, by implication, estoppel or
250
- otherwise. All rights in the Program not expressly granted under this
251
- Agreement are reserved.</p>
252
-
253
- <p>This Agreement is governed by the laws of the State of New York and
254
- the intellectual property laws of the United States of America. No party
255
- to this Agreement will bring a legal action under this Agreement more
256
- than one year after the cause of action arose. Each party waives its
257
- rights to a jury trial in any resulting litigation.</p>
258
-
259
- </body>
260
-
261
- </html>