You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ac...@apache.org on 2017/08/24 10:35:56 UTC

[08/24] incubator-weex git commit: Merge branch '0.16-dev' of https://git-wip-us.apache.org/repos/asf/incubator-weex into ios-feature-accessibility

Merge branch '0.16-dev' of https://git-wip-us.apache.org/repos/asf/incubator-weex into ios-feature-accessibility


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/d9c40daa
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/d9c40daa
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/d9c40daa

Branch: refs/heads/0.16-dev
Commit: d9c40daa834c994a205b84ccfc8fd80f88879cc1
Parents: f7b1106 ffe4951
Author: acton393 <zh...@gmail.com>
Authored: Fri Aug 11 11:56:03 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Fri Aug 11 11:56:03 2017 +0800

----------------------------------------------------------------------
 .gitignore                                      |     2 +-
 .travis.yml                                     |     8 +-
 android/build.gradle                            |     8 +-
 android/sdk/libs/armeabi/libweexjsc.so          |   Bin 7570504 -> 7570392 bytes
 android/sdk/libs/x86/libweexjsc.so              |   Bin 12121924 -> 7570392 bytes
 .../java/com/taobao/weex/bridge/WXBridge.java   |     8 +-
 .../com/taobao/weex/bridge/WXBridgeManager.java |    36 +-
 .../taobao/weex/bridge/WXValidateProcessor.java |     7 +-
 .../java/com/taobao/weex/common/Constants.java  |     1 +
 .../java/com/taobao/weex/dom/WXDomObject.java   |    17 +-
 .../com/taobao/weex/dom/WXTextDomObject.java    |    91 +-
 .../dom/action/AbstractAddElementAction.java    |     2 +-
 .../taobao/weex/dom/action/AnimationAction.java |     1 +
 .../ui/animation/CameraDistanceProperty.java    |    54 +
 .../weex/ui/animation/WXAnimationBean.java      |    86 +-
 .../taobao/weex/ui/component/WXComponent.java   |    16 -
 .../java/com/taobao/weex/utils/WXViewUtils.java |     4 +-
 build/build.js                                  |     1 +
 build/config.js                                 |    17 +-
 examples/vue/modules/websocket.vue              |    22 +-
 html5/frameworks/legacy/core/array.js           |     4 +
 html5/frameworks/legacy/core/object.js          |     6 +
 html5/frameworks/legacy/static/create.js        |     7 +-
 html5/frameworks/legacy/vm/directive.js         |     6 +
 html5/frameworks/vanilla/index.js               |    35 +-
 html5/render/vue/README.md                      |    15 +
 html5/render/vue/components/image.js            |    58 +-
 html5/render/vue/config.js                      |    10 +-
 html5/render/vue/core/node.js                   |    27 +-
 html5/render/vue/lib/gesture.js                 |     6 +
 html5/render/vue/modules/modal/toast.js         |    23 +-
 html5/runtime/callback-manager.js               |    12 +-
 html5/runtime/config.js                         |     5 +-
 html5/runtime/normalize.js                      |   107 +
 html5/runtime/task-center.js                    |    59 +-
 html5/runtime/vdom/document.js                  |     2 +
 html5/runtime/vdom/element.js                   |    15 +-
 html5/test/render/vue/core/node.js              |     2 +
 ios/.gitignore                                  |     1 +
 .../WeexDemo.xcodeproj/project.pbxproj          |    30 +-
 ios/playground/WeexDemo/AppDelegate.m           |     8 +-
 ios/playground/WeexDemo/WXDemoViewController.m  |     2 -
 ios/playground/WeexDemo/WXExtModule.h           |    26 +
 ios/playground/WeexDemo/WXExtModule.m           |    43 +
 .../WeexDemo/WXExtendCallNativeTest.h           |    25 +
 .../WeexDemo/WXExtendCallNativeTest.m           |    47 +
 ios/sdk/WeexSDK.xcodeproj/project.pbxproj       |    40 +
 .../WeexSDK/Sources/Bridge/WXBridgeContext.m    |    35 +-
 ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m |    23 +-
 .../Component/Recycler/WXRecyclerComponent.m    |    58 +-
 .../Recycler/WXRecyclerDragController.h         |    52 +
 .../Recycler/WXRecyclerDragController.m         |   208 +
 .../Sources/Component/WXImageComponent.m        |   150 +-
 .../Sources/Component/WXScrollerComponent.m     |     3 +-
 .../WeexSDK/Sources/Component/WXTextComponent.m |     5 +-
 ios/sdk/WeexSDK/Sources/Debug/WXDebugTool.h     |     4 +
 ios/sdk/WeexSDK/Sources/Debug/WXDebugTool.m     |    10 +
 ios/sdk/WeexSDK/Sources/Engine/WXSDKEngine.h    |    10 +
 ios/sdk/WeexSDK/Sources/Engine/WXSDKEngine.m    |     6 +
 .../WeexSDK/Sources/Loader/WXResourceLoader.m   |     2 +-
 .../WeexSDK/Sources/Loader/WXWebSocketLoader.h  |     2 +-
 .../WeexSDK/Sources/Loader/WXWebSocketLoader.m  |     2 +-
 .../WeexSDK/Sources/Manager/WXBridgeManager.m   |     4 +
 .../Sources/Manager/WXComponentFactory.h        |     1 +
 .../Sources/Manager/WXComponentFactory.m        |    23 +
 .../Sources/Manager/WXComponentManager.m        |    18 +-
 .../Sources/Manager/WXExtendCallNativeManager.h |    26 +
 .../Sources/Manager/WXExtendCallNativeManager.m |    80 +
 .../WeexSDK/Sources/Manager/WXModuleFactory.h   |     6 +
 .../WeexSDK/Sources/Manager/WXModuleFactory.m   |    24 +
 .../WeexSDK/Sources/Manager/WXTracingManager.h  |    33 +-
 .../WeexSDK/Sources/Manager/WXTracingManager.m  |   169 +-
 ios/sdk/WeexSDK/Sources/Model/WXComponent.m     |     1 -
 ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m   |     6 +-
 ios/sdk/WeexSDK/Sources/Module/WXStreamModule.m |    13 +
 .../WeexSDK/Sources/Module/WXWebSocketModule.m  |    16 +-
 ios/sdk/WeexSDK/Sources/Monitor/WXMonitor.m     |     9 +
 .../Sources/Protocol/WXAppMonitorProtocol.h     |     2 +
 .../Protocol/WXExtendCallNativeProtocol.h       |    47 +
 .../Sources/Protocol/WXTracingProtocol.h        |    29 +
 ios/sdk/WeexSDK/Sources/Utility/WXUtility.h     |    12 +
 ios/sdk/WeexSDK/Sources/Utility/WXUtility.m     |    22 +
 .../Sources/View/WXComponent+ViewManagement.m   |     1 -
 .../Sources/WebSocket/WXWebSocketDefaultImpl.m  |     2 +-
 ios/sdk/WeexSDK/Sources/WeexSDK.h               |     3 +
 package.json                                    |    17 +-
 packages/weex-js-framework/.npmignore           |     4 +
 packages/weex-js-framework/index.js             | 26001 +++++++++++++++++
 packages/weex-js-framework/index.min.js         |     1 +
 packages/weex-js-framework/package.json         |    22 +
 packages/weex-js-runtime/.npmignore             |     4 +
 packages/weex-js-runtime/index.js               |  4088 +++
 packages/weex-js-runtime/index.min.js           |     1 +
 packages/weex-js-runtime/index.min.js.gz        |   Bin 0 -> 13215 bytes
 packages/weex-js-runtime/package.json           |    22 +
 packages/weex-legacy-framework/.npmignore       |     4 +
 packages/weex-legacy-framework/index.js         |  5770 ++++
 packages/weex-legacy-framework/index.min.js     |     1 +
 packages/weex-legacy-framework/package.json     |    22 +
 packages/weex-vue-render/README.md              |    15 +
 packages/weex-vue-render/package.json           |     2 +-
 pre-build/native-bundle-main.js                 |    16 +-
 scripts/commit-msg.sh                           |     2 +-
 test/pages/components/iconfont.vue              |    71 +
 test/pages/components/input-event.vue           |    65 +
 test/pages/components/refresh-loading.vue       |   115 +
 test/pages/components/switch-event.vue          |    60 +
 test/pages/components/web-event.vue             |    56 +
 test/pages/include/button.vue                   |   162 +
 test/pages/include/h1.vue                       |    13 +
 test/pages/include/h2.vue                       |    13 +
 test/pages/include/h3.vue                       |    13 +
 test/pages/include/hn.vue                       |    47 +
 test/pages/include/panel.vue                    |   141 +
 test/pages/include/wxc-desc.vue                 |    66 +
 test/pages/modules/animation-translate.vue      |   129 +
 test/pages/modules/clipboard-event.vue          |    57 +
 test/pages/modules/cover-generate.vue           |    53 +
 test/pages/modules/downgrade-event.vue          |    74 +
 test/pages/modules/gesture-longpress.vue        |    75 +
 test/pages/modules/modal-event.vue              |    61 +
 test/pages/modules/picker-event.vue             |    63 +
 test/pages/modules/storage-event.vue            |    59 +
 test/pages/modules/stream-result.vue            |    85 +
 test/run.sh                                     |    30 +-
 test/screenshot/border-android.png              |   Bin 156247 -> 158634 bytes
 test/scripts/components/iconfont.test.js        |    34 +
 test/scripts/components/input-event.test.js     |    36 +
 test/scripts/components/refresh-loading.test.js |    38 +
 test/scripts/components/switch-event.test.js    |    38 +
 test/scripts/components/web-event.test.js       |    30 +
 .../scripts/modules/animation-translate.test.js |    40 +
 test/scripts/modules/clipboard-event.test.js    |    35 +
 test/scripts/modules/downgrade-event.test.js    |    30 +
 test/scripts/modules/gesture-longpress.test.js  |    37 +
 test/scripts/modules/modal-event.test.js        |    35 +
 test/scripts/modules/picker-event.test.js       |    41 +
 test/scripts/modules/storage-event.test.js      |    36 +
 test/scripts/modules/stream-result.test.js      |    34 +
 test/scripts/util.js                            |    41 +
 test/scripts/zcover-generate.js                 |    32 +
 test/serve.sh                                   |     2 +-
 142 files changed, 39768 insertions(+), 390 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/d9c40daa/ios/sdk/WeexSDK.xcodeproj/project.pbxproj
----------------------------------------------------------------------
diff --cc ios/sdk/WeexSDK.xcodeproj/project.pbxproj
index 732f8bb,809c2a6..ffc154a
--- a/ios/sdk/WeexSDK.xcodeproj/project.pbxproj
+++ b/ios/sdk/WeexSDK.xcodeproj/project.pbxproj
@@@ -275,11 -285,11 +285,15 @@@
  		D3FC0DF81C508B2A002B9E31 /* WXTimerModule.m in Sources */ = {isa = PBXBuildFile; fileRef = D3FC0DF61C508B2A002B9E31 /* WXTimerModule.m */; };
  		DC03ADB91D508719003F76E7 /* WXTextAreaComponent.m in Sources */ = {isa = PBXBuildFile; fileRef = DC03ADB71D508719003F76E7 /* WXTextAreaComponent.m */; };
  		DC03ADBA1D508719003F76E7 /* WXTextAreaComponent.h in Headers */ = {isa = PBXBuildFile; fileRef = DC03ADB81D508719003F76E7 /* WXTextAreaComponent.h */; };
 +		DC0D2DD21F2EE3C100017E00 /* WXVoiceOverModule.h in Headers */ = {isa = PBXBuildFile; fileRef = DC0D2DD01F2EE3C100017E00 /* WXVoiceOverModule.h */; };
 +		DC0D2DD31F2EE3C100017E00 /* WXVoiceOverModule.m in Sources */ = {isa = PBXBuildFile; fileRef = DC0D2DD11F2EE3C100017E00 /* WXVoiceOverModule.m */; };
 +		DC0D2DD41F2EE3F800017E00 /* WXVoiceOverModule.m in Sources */ = {isa = PBXBuildFile; fileRef = DC0D2DD11F2EE3C100017E00 /* WXVoiceOverModule.m */; };
 +		DC0D2DD51F2EE3FC00017E00 /* WXVoiceOverModule.h in Headers */ = {isa = PBXBuildFile; fileRef = DC0D2DD01F2EE3C100017E00 /* WXVoiceOverModule.h */; };
  		DC6836E61EBB12B200AD2D84 /* WXConfigCenterProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = DC6836E51EBB12B200AD2D84 /* WXConfigCenterProtocol.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 		DC7764931F3C2CA300B5727E /* WXRecyclerDragController.m in Sources */ = {isa = PBXBuildFile; fileRef = DC7764911F3C2CA300B5727E /* WXRecyclerDragController.m */; };
+ 		DC7764941F3C2CA300B5727E /* WXRecyclerDragController.h in Headers */ = {isa = PBXBuildFile; fileRef = DC7764921F3C2CA300B5727E /* WXRecyclerDragController.h */; };
+ 		DC7764951F3C685200B5727E /* WXRecyclerDragController.m in Sources */ = {isa = PBXBuildFile; fileRef = DC7764911F3C2CA300B5727E /* WXRecyclerDragController.m */; };
+ 		DC7764961F3C685600B5727E /* WXRecyclerDragController.h in Headers */ = {isa = PBXBuildFile; fileRef = DC7764921F3C2CA300B5727E /* WXRecyclerDragController.h */; };
  		DC9867441D826D1E000AF388 /* GLKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DC9867431D826D1E000AF388 /* GLKit.framework */; };
  		DC9F46831D61AC8800A88239 /* WXStreamModuleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = DC9F46821D61AC8800A88239 /* WXStreamModuleTests.m */; };
  		DC9F46871D61BA8C00A88239 /* wx_load_error@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = 59AC02501D2A7E6E00355112 /* wx_load_error@3x.png */; };
@@@ -844,9 -858,9 +862,11 @@@
  		DAB176F008F516E4F9391C61 /* libPods-WeexSDK.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-WeexSDK.a"; sourceTree = BUILT_PRODUCTS_DIR; };
  		DC03ADB71D508719003F76E7 /* WXTextAreaComponent.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WXTextAreaComponent.m; sourceTree = "<group>"; };
  		DC03ADB81D508719003F76E7 /* WXTextAreaComponent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXTextAreaComponent.h; sourceTree = "<group>"; };
 +		DC0D2DD01F2EE3C100017E00 /* WXVoiceOverModule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXVoiceOverModule.h; sourceTree = "<group>"; };
 +		DC0D2DD11F2EE3C100017E00 /* WXVoiceOverModule.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WXVoiceOverModule.m; sourceTree = "<group>"; };
  		DC6836E51EBB12B200AD2D84 /* WXConfigCenterProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXConfigCenterProtocol.h; sourceTree = "<group>"; };
+ 		DC7764911F3C2CA300B5727E /* WXRecyclerDragController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = WXRecyclerDragController.m; path = WeexSDK/Sources/Component/Recycler/WXRecyclerDragController.m; sourceTree = SOURCE_ROOT; };
+ 		DC7764921F3C2CA300B5727E /* WXRecyclerDragController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WXRecyclerDragController.h; path = WeexSDK/Sources/Component/Recycler/WXRecyclerDragController.h; sourceTree = SOURCE_ROOT; };
  		DC9867431D826D1E000AF388 /* GLKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GLKit.framework; path = System/Library/Frameworks/GLKit.framework; sourceTree = SDKROOT; };
  		DC9F46821D61AC8800A88239 /* WXStreamModuleTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WXStreamModuleTests.m; sourceTree = "<group>"; };
  		DCA0EF621D6EED6F00CB18B9 /* WXGlobalEventModule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXGlobalEventModule.h; sourceTree = "<group>"; };

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/d9c40daa/ios/sdk/WeexSDK/Sources/Component/WXImageComponent.m
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/d9c40daa/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/d9c40daa/ios/sdk/WeexSDK/Sources/Engine/WXSDKEngine.m
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/d9c40daa/ios/sdk/WeexSDK/Sources/Model/WXComponent.m
----------------------------------------------------------------------