You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by so...@apache.org on 2017/04/21 09:42:57 UTC
[01/50] incubator-weex git commit: * [android] native crash fix
Repository: incubator-weex
Updated Branches:
refs/heads/dev 917eabe8d -> 2a862c90b
* [android] native crash fix
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/eee81bc3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/eee81bc3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/eee81bc3
Branch: refs/heads/dev
Commit: eee81bc34d0b4466eb6d54d6e2a426398b27ff4c
Parents: fb14c5f
Author: zshshr <zh...@gmail.com>
Authored: Thu Mar 30 10:59:24 2017 +0800
Committer: zshshr <zh...@gmail.com>
Committed: Thu Mar 30 10:59:24 2017 +0800
----------------------------------------------------------------------
android/sdk/libs/armeabi/libweexv8.so | Bin 7811748 -> 7813188 bytes
1 file changed, 0 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/eee81bc3/android/sdk/libs/armeabi/libweexv8.so
----------------------------------------------------------------------
diff --git a/android/sdk/libs/armeabi/libweexv8.so b/android/sdk/libs/armeabi/libweexv8.so
index 258c09a..8280c19 100755
Binary files a/android/sdk/libs/armeabi/libweexv8.so and b/android/sdk/libs/armeabi/libweexv8.so differ
[46/50] incubator-weex git commit: Merge branch '0.12-dev' of
https://github.com/acton393/incubator-weex into 0.12-dev
Posted by so...@apache.org.
Merge branch '0.12-dev' of https://github.com/acton393/incubator-weex into 0.12-dev
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/afad8d28
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/afad8d28
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/afad8d28
Branch: refs/heads/dev
Commit: afad8d287d7da92000835eefc2bfba9d0daa7233
Parents: 1aa4ec0 8b9cf60
Author: cxfeng <cx...@apache.org>
Authored: Thu Apr 20 16:35:48 2017 +0800
Committer: cxfeng <cx...@apache.org>
Committed: Thu Apr 20 16:35:48 2017 +0800
----------------------------------------------------------------------
ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m | 2 +-
ios/sdk/WeexSDK/Sources/Component/WXListComponent.m | 13 +++++++------
ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m | 11 ++++++++++-
3 files changed, 18 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
[36/50] incubator-weex git commit: * [test] Update close to in
lineHeight
Posted by so...@apache.org.
* [test] Update close to in lineHeight
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/347180c2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/347180c2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/347180c2
Branch: refs/heads/dev
Commit: 347180c262901e4e12c1fe7db01f60f0a45bbb79
Parents: 758ee8e
Author: YorkShen <sh...@gmail.com>
Authored: Tue Apr 18 17:53:43 2017 +0800
Committer: YorkShen <sh...@gmail.com>
Committed: Tue Apr 18 19:48:52 2017 +0800
----------------------------------------------------------------------
test/scripts/components/text.test.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/347180c2/test/scripts/components/text.test.js
----------------------------------------------------------------------
diff --git a/test/scripts/components/text.test.js b/test/scripts/components/text.test.js
index 36ea91c..2924c7c 100644
--- a/test/scripts/components/text.test.js
+++ b/test/scripts/components/text.test.js
@@ -50,7 +50,7 @@ describe('weex text', function () {
console.log(rect)
console.log(screenWidth)
assert.equal(rect.width, screenWidth)
- assert.equal(rect.height, Math.floor(2 * 32 * scaleFactor))
+ assert.closeTo(rect.height, 32 * scaleFactor*2, 2)
scroll(rect.height)
})
})
[11/50] incubator-weex git commit: * [ios] expose js error code
Posted by so...@apache.org.
* [ios] expose js error code
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/7b34ccc5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/7b34ccc5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/7b34ccc5
Branch: refs/heads/dev
Commit: 7b34ccc5fa8adbb602b17822edc7a916f5c24508
Parents: 4139337
Author: acton393 <zh...@gmail.com>
Authored: Mon Apr 17 14:00:56 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Mon Apr 17 14:00:56 2017 +0800
----------------------------------------------------------------------
ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/7b34ccc5/ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m b/ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m
index bce33dd..5f837cc 100644
--- a/ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m
+++ b/ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m
@@ -124,7 +124,7 @@
WXSDKInstance *instance = [WXSDKEngine topInstance];
if ([jsExceptionHandler respondsToSelector:@selector(onJSException:)]) {
- WXJSExceptionInfo * jsExceptionInfo = [[WXJSExceptionInfo alloc] initWithInstanceId:instance.instanceId bundleUrl:[instance.scriptURL absoluteString] errorCode:@"" functionName:@"" exception:[NSString stringWithFormat:@"%@\n%@",[exception toString], exception[@"stack"]] userInfo:nil];
+ WXJSExceptionInfo * jsExceptionInfo = [[WXJSExceptionInfo alloc] initWithInstanceId:instance.instanceId bundleUrl:[instance.scriptURL absoluteString] errorCode:[NSString stringWithFormat:@"%d", WX_ERR_JS_EXECUTE] functionName:@"" exception:[NSString stringWithFormat:@"%@\n%@",[exception toString], exception[@"stack"]] userInfo:nil];
[jsExceptionHandler onJSException:jsExceptionInfo];
}
WX_MONITOR_FAIL(WXMTJSBridge, WX_ERR_JS_EXECUTE, message);
[15/50] incubator-weex git commit: + [ios] add gcanvas example & fix
wxdevtool crash & move spec to root directory
Posted by so...@apache.org.
+ [ios] add gcanvas example & fix wxdevtool crash & move spec to root directory
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/e7286623
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/e7286623
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/e7286623
Branch: refs/heads/dev
Commit: e72866232abccc74284c480284ec1e83dc6586d1
Parents: eb6b55c
Author: \u9f50\u5c71 <su...@163.com>
Authored: Mon Apr 17 19:11:27 2017 +0800
Committer: \u9f50\u5c71 <su...@163.com>
Committed: Mon Apr 17 19:11:27 2017 +0800
----------------------------------------------------------------------
WeexSDK.podspec | 47 ++++++++++++++++++++
examples/index.we | 5 ++-
examples/vue/index.vue | 3 ++
examples/vue/market/gcanvas.vue | 40 +++++++++++++++++
ios/playground/Podfile | 2 +
.../WeexSDK/Sources/Bridge/WXBridgeContext.m | 2 +-
package.json | 4 +-
7 files changed, 100 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/e7286623/WeexSDK.podspec
----------------------------------------------------------------------
diff --git a/WeexSDK.podspec b/WeexSDK.podspec
new file mode 100644
index 0000000..6ec182f
--- /dev/null
+++ b/WeexSDK.podspec
@@ -0,0 +1,47 @@
+# coding: utf-8
+Pod::Spec.new do |s|
+
+ s.name = "WeexSDK"
+
+ s.version = "0.11.0"
+
+ s.summary = "WeexSDK Source ."
+
+ s.description = <<-DESC
+ A framework for building Mobile cross-platform UI
+ DESC
+
+ s.homepage = "https://github.com/alibaba/weex"
+ s.license = {
+ :type => 'Copyright',
+ :text => <<-LICENSE
+ Alibaba-INC copyright
+ LICENSE
+ }
+ s.authors = { "cxfeng1" => "cxfeng1@gmail.com",
+ "boboning" => "ningli928@163.com",
+ "yangshengtao" => "yangshengtao1314@163.com",
+ "kfeagle" => "sunjjbobo@163.com",
+ "acton393" => "zhangxing610321@gmail.com"
+ }
+ s.platform = :ios
+ s.ios.deployment_target = '7.0'
+ s.source = { :path => '.' }
+ s.source_files = 'ios/playground/WeexSDK/Sources/**/*.{h,m,mm,c}'
+ s.resources = 'ios/playground/WeexSDK/Resources/main.js', 'ios/playground/WeexSDK/Resources/wx_load_error@3x.png'
+
+ s.requires_arc = true
+ s.prefix_header_file = 'ios/playground/WeexSDK/Sources/Supporting Files/WeexSDK-Prefix.pch'
+
+# s.xcconfig = { "GCC_PREPROCESSOR_DEFINITIONS" => '$(inherited) DEBUG=1' }
+
+ s.xcconfig = { "OTHER_LINK_FLAG" => '$(inherited) -ObjC'}
+
+ s.user_target_xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => "'$(PODS_ROOT)/WeexSDK'" }
+
+ s.frameworks = 'CoreMedia','MediaPlayer','AVFoundation','AVKit','JavaScriptCore', 'GLKit'
+
+ s.dependency 'SocketRocket'
+ s.libraries = "stdc++"
+
+end
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/e7286623/examples/index.we
----------------------------------------------------------------------
diff --git a/examples/index.we b/examples/index.we
index e0b1a9f..aa0b842 100644
--- a/examples/index.we
+++ b/examples/index.we
@@ -54,7 +54,10 @@
{name: 'showcase/ui', title: 'UI Gallery'},
{name: 'showcase/dropdown/dropdown-demo', title: 'Dropdown'},
{name: 'showcase/pseudo-class', title: 'PseudoClass'},
- {name: 'showcase/boxshadow', title: 'boxshadow'}
+ {name: 'showcase/boxshadow', title: 'boxshadow'},
+
+ // market
+ {name: 'market/gcanvas', title: 'Gcanvas'},
]
}
}
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/e7286623/examples/vue/index.vue
----------------------------------------------------------------------
diff --git a/examples/vue/index.vue b/examples/vue/index.vue
index fb4693d..4d263cd 100644
--- a/examples/vue/index.vue
+++ b/examples/vue/index.vue
@@ -45,6 +45,9 @@
// {name: root + '/showcase/minesweeper', title: 'Minesweeper'},
// {name: root + '/showcase/ui', title: 'UI Gallery'},
// {name: root + '/showcase/dropdown/dropdown-demo', title: 'Dropdown'}
+
+ // market
+ {name: root + '/market/gcanvas', title: 'Gcanvas'}
]
}
},
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/e7286623/examples/vue/market/gcanvas.vue
----------------------------------------------------------------------
diff --git a/examples/vue/market/gcanvas.vue b/examples/vue/market/gcanvas.vue
new file mode 100644
index 0000000..626ece1
--- /dev/null
+++ b/examples/vue/market/gcanvas.vue
@@ -0,0 +1,40 @@
+<template>
+ <div ref="test">
+ <gcanvas ref="canvas_holder" style="width:750;height:750;"></gcanvas>
+ </div>
+</template>
+<script>
+ // var gcanvas = weex.requireModule('weex-gcanvas');
+
+ var gcanvas=require('weex-gcanvas');
+
+
+ module.exports = {
+
+ created: function () {
+ console.log('created gcanvas');
+ gcanvas.disable();
+ },
+ mounted: function () {
+ var ref = this.$refs.canvas_holder.ref;
+ gcanvas.start(ref, function () {
+ var ctx = gcanvas.getContext('2d');
+
+ ctx.fillStyle = 'red';
+ ctx.fillRect(0, 0, 100, 100);
+
+ ctx.fillStyle = 'black';
+ ctx.fillRect(100, 100, 100, 100);
+ ctx.fillRect(25, 210, 700, 5);
+
+ ctx.arc(450, 200, 100, 0, Math.PI * 2, true);
+ ctx.fill();
+
+ var img = 'https://img.alicdn.com/tps/TB1TFNdKVXXXXbeaXXXXXXXXXXX-210-330.png';
+ ctx.drawImage(img, 100, 200, 210, 330);
+ //ctx.drawImage(img, 0,0,105,165, 100, 200, 210, 330);
+ ctx.render();
+ });
+ }
+ };
+</script>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/e7286623/ios/playground/Podfile
----------------------------------------------------------------------
diff --git a/ios/playground/Podfile b/ios/playground/Podfile
index 4949ee8..5ca0552 100644
--- a/ios/playground/Podfile
+++ b/ios/playground/Podfile
@@ -8,6 +8,8 @@ def common
pod 'SDWebImage', '3.7.5'
pod 'SocketRocket', '0.4.2'
pod 'ATSDK-Weex', '0.0.1'
+
+ pod 'WeexGcanvas', '0.0.1.3'
end
target 'WeexDemo' do
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/e7286623/ios/sdk/WeexSDK/Sources/Bridge/WXBridgeContext.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Bridge/WXBridgeContext.m b/ios/sdk/WeexSDK/Sources/Bridge/WXBridgeContext.m
index bf057c4..a982e92 100644
--- a/ios/sdk/WeexSDK/Sources/Bridge/WXBridgeContext.m
+++ b/ios/sdk/WeexSDK/Sources/Bridge/WXBridgeContext.m
@@ -258,7 +258,7 @@ _Pragma("clang diagnostic pop") \
[self.insStack removeObject:instance];
}
- if(_jsBridge){
+ if(_jsBridge && [_jsBridge respondsToSelector:@selector(removeTimers:)]){
[_jsBridge removeTimers:instance];
}
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/e7286623/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 53f65d8..156eaee 100644
--- a/package.json
+++ b/package.json
@@ -160,6 +160,8 @@
"weex-vdom-tester": "^0.2.0",
"weex-wd": "^1.0.22",
"wwp": "^0.3.5",
- "xml2map": "^1.0.2"
+ "xml2map": "^1.0.2",
+ "weex-gcanvas":"^0.3.5"
+
}
}
[14/50] incubator-weex git commit: Merge remote-tracking branch
'upstream/0.12-dev' into 0.12-dev
Posted by so...@apache.org.
Merge remote-tracking branch 'upstream/0.12-dev' into 0.12-dev
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/8b0f4a81
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/8b0f4a81
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/8b0f4a81
Branch: refs/heads/dev
Commit: 8b0f4a813e647acdf9c15256a56b7a95815624e0
Parents: 7b34ccc 5ea9966
Author: acton393 <zh...@gmail.com>
Authored: Mon Apr 17 17:56:40 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Mon Apr 17 17:56:40 2017 +0800
----------------------------------------------------------------------
android/commons/src/main/AndroidManifest.xml | 18 +
.../java/com/alibaba/weex/ApplicationTest.java | 4 +-
.../com/alibaba/weex/WeappJsBaseTestCase.java | 4 +-
.../benchmark/BenchmarkActivityTestRule.java | 4 +-
.../alibaba/weex/benchmark/BenchmarkTest.java | 4 +-
.../com/alibaba/weex/benchmark/BoxPlot.java | 4 +-
.../java/com/alibaba/weex/benchmark/Repeat.java | 4 +-
.../com/alibaba/weex/benchmark/RepeatRule.java | 4 +-
.../weex/benchmark/WeexNativeCompareTest.java | 4 +-
.../weex/uitest/TC_AG/AG_AHref_A_Href.java | 18 +
.../TC_AG/AG_Border_A_Border_Bottom_Color.java | 18 +
.../AG_Border_A_Border_Bottom_Left_Radius.java | 18 +
.../AG_Border_A_Border_Bottom_Right_Radius.java | 18 +
.../TC_AG/AG_Border_A_Border_Bottom_Width.java | 18 +
.../uitest/TC_AG/AG_Border_A_Border_Color.java | 18 +
.../TC_AG/AG_Border_A_Border_Left_Color.java | 18 +
.../TC_AG/AG_Border_A_Border_Left_Width.java | 18 +
.../uitest/TC_AG/AG_Border_A_Border_Radius.java | 18 +
.../TC_AG/AG_Border_A_Border_Right_Color.java | 18 +
.../TC_AG/AG_Border_A_Border_Right_Width.java | 18 +
.../uitest/TC_AG/AG_Border_A_Border_Style.java | 18 +
.../TC_AG/AG_Border_A_Border_Top_Color.java | 18 +
.../AG_Border_A_Border_Top_Left_Radius.java | 18 +
.../AG_Border_A_Border_Top_Right_Radius.java | 18 +
.../TC_AG/AG_Border_A_Border_Top_Width.java | 18 +
.../uitest/TC_AG/AG_Border_A_Border_Width.java | 18 +
.../AG_Border_Div_Border_Bottom_Color.java | 18 +
...AG_Border_Div_Border_Bottom_Left_Radius.java | 18 +
...G_Border_Div_Border_Bottom_Right_Radius.java | 18 +
.../AG_Border_Div_Border_Bottom_Width.java | 18 +
.../TC_AG/AG_Border_Div_Border_Color.java | 18 +
.../TC_AG/AG_Border_Div_Border_Left_Color.java | 18 +
.../TC_AG/AG_Border_Div_Border_Left_Width.java | 18 +
.../TC_AG/AG_Border_Div_Border_Radius.java | 18 +
.../TC_AG/AG_Border_Div_Border_Right_Color.java | 18 +
.../TC_AG/AG_Border_Div_Border_Right_Width.java | 18 +
.../TC_AG/AG_Border_Div_Border_Style.java | 18 +
.../TC_AG/AG_Border_Div_Border_Top_Color.java | 18 +
.../AG_Border_Div_Border_Top_Left_Radius.java | 18 +
.../AG_Border_Div_Border_Top_Right_Radius.java | 18 +
.../TC_AG/AG_Border_Div_Border_Top_Width.java | 18 +
.../TC_AG/AG_Border_Div_Border_Width.java | 18 +
.../AG_Border_Image_Border_Bottom_Color.java | 18 +
..._Border_Image_Border_Bottom_Left_Radius.java | 18 +
...Border_Image_Border_Bottom_Right_Radius.java | 18 +
.../AG_Border_Image_Border_Bottom_Width.java | 18 +
.../TC_AG/AG_Border_Image_Border_Color.java | 18 +
.../AG_Border_Image_Border_Left_Color.java | 18 +
.../AG_Border_Image_Border_Left_Width.java | 18 +
.../TC_AG/AG_Border_Image_Border_Radius.java | 18 +
.../AG_Border_Image_Border_Right_Color.java | 18 +
.../AG_Border_Image_Border_Right_Width.java | 18 +
.../TC_AG/AG_Border_Image_Border_Style.java | 18 +
.../TC_AG/AG_Border_Image_Border_Top_Color.java | 18 +
.../AG_Border_Image_Border_Top_Left_Radius.java | 18 +
...AG_Border_Image_Border_Top_Right_Radius.java | 18 +
.../TC_AG/AG_Border_Image_Border_Top_Width.java | 18 +
.../TC_AG/AG_Border_Image_Border_Width.java | 18 +
.../AG_Border_Input_Border_Bottom_Color.java | 18 +
..._Border_Input_Border_Bottom_Left_Radius.java | 18 +
...Border_Input_Border_Bottom_Right_Radius.java | 18 +
.../AG_Border_Input_Border_Bottom_Width.java | 18 +
.../TC_AG/AG_Border_Input_Border_Color.java | 18 +
.../AG_Border_Input_Border_Left_Color.java | 18 +
.../AG_Border_Input_Border_Left_Width.java | 18 +
.../TC_AG/AG_Border_Input_Border_Radius.java | 18 +
.../AG_Border_Input_Border_Right_Color.java | 18 +
.../AG_Border_Input_Border_Right_Width.java | 18 +
.../TC_AG/AG_Border_Input_Border_Style.java | 18 +
.../TC_AG/AG_Border_Input_Border_Top_Color.java | 18 +
.../AG_Border_Input_Border_Top_Left_Radius.java | 18 +
...AG_Border_Input_Border_Top_Right_Radius.java | 18 +
.../TC_AG/AG_Border_Input_Border_Top_Width.java | 18 +
.../TC_AG/AG_Border_Input_Border_Width.java | 18 +
.../AG_Border_Switch_Border_Bottom_Color.java | 18 +
...Border_Switch_Border_Bottom_Left_Radius.java | 18 +
...order_Switch_Border_Bottom_Right_Radius.java | 18 +
.../AG_Border_Switch_Border_Bottom_Width.java | 18 +
.../TC_AG/AG_Border_Switch_Border_Color.java | 18 +
.../AG_Border_Switch_Border_Left_Color.java | 18 +
.../AG_Border_Switch_Border_Left_Width.java | 18 +
.../TC_AG/AG_Border_Switch_Border_Radius.java | 18 +
.../AG_Border_Switch_Border_Right_Color.java | 18 +
.../AG_Border_Switch_Border_Right_Width.java | 18 +
.../TC_AG/AG_Border_Switch_Border_Style.java | 18 +
.../AG_Border_Switch_Border_Top_Color.java | 18 +
...AG_Border_Switch_Border_Top_Left_Radius.java | 18 +
...G_Border_Switch_Border_Top_Right_Radius.java | 18 +
.../AG_Border_Switch_Border_Top_Width.java | 18 +
.../TC_AG/AG_Border_Switch_Border_Width.java | 18 +
.../AG_Border_Text_Border_Bottom_Color.java | 18 +
...G_Border_Text_Border_Bottom_Left_Radius.java | 18 +
..._Border_Text_Border_Bottom_Right_Radius.java | 18 +
.../AG_Border_Text_Border_Bottom_Width.java | 18 +
.../TC_AG/AG_Border_Text_Border_Color.java | 18 +
.../TC_AG/AG_Border_Text_Border_Left_Color.java | 18 +
.../TC_AG/AG_Border_Text_Border_Left_Width.java | 18 +
.../TC_AG/AG_Border_Text_Border_Radius.java | 18 +
.../AG_Border_Text_Border_Right_Color.java | 18 +
.../AG_Border_Text_Border_Right_Width.java | 18 +
.../TC_AG/AG_Border_Text_Border_Style.java | 18 +
.../TC_AG/AG_Border_Text_Border_Top_Color.java | 18 +
.../AG_Border_Text_Border_Top_Left_Radius.java | 18 +
.../AG_Border_Text_Border_Top_Right_Radius.java | 18 +
.../TC_AG/AG_Border_Text_Border_Top_Width.java | 18 +
.../TC_AG/AG_Border_Text_Border_Width.java | 18 +
.../AG_Border_Video_Border_Bottom_Color.java | 18 +
..._Border_Video_Border_Bottom_Left_Radius.java | 18 +
...Border_Video_Border_Bottom_Right_Radius.java | 18 +
.../AG_Border_Video_Border_Bottom_Width.java | 18 +
.../TC_AG/AG_Border_Video_Border_Color.java | 18 +
.../AG_Border_Video_Border_Left_Color.java | 18 +
.../AG_Border_Video_Border_Left_Width.java | 18 +
.../TC_AG/AG_Border_Video_Border_Radius.java | 18 +
.../AG_Border_Video_Border_Right_Color.java | 18 +
.../AG_Border_Video_Border_Right_Width.java | 18 +
.../TC_AG/AG_Border_Video_Border_Style.java | 18 +
.../TC_AG/AG_Border_Video_Border_Top_Color.java | 18 +
.../AG_Border_Video_Border_Top_Left_Radius.java | 18 +
...AG_Border_Video_Border_Top_Right_Radius.java | 18 +
.../TC_AG/AG_Border_Video_Border_Top_Width.java | 18 +
.../TC_AG/AG_Border_Video_Border_Width.java | 18 +
.../AG_Border_Web_Border_Bottom_Color.java | 18 +
...AG_Border_Web_Border_Bottom_Left_Radius.java | 18 +
...G_Border_Web_Border_Bottom_Right_Radius.java | 18 +
.../AG_Border_Web_Border_Bottom_Width.java | 18 +
.../TC_AG/AG_Border_Web_Border_Color.java | 18 +
.../TC_AG/AG_Border_Web_Border_Left_Color.java | 18 +
.../TC_AG/AG_Border_Web_Border_Left_Width.java | 18 +
.../TC_AG/AG_Border_Web_Border_Radius.java | 18 +
.../TC_AG/AG_Border_Web_Border_Right_Color.java | 18 +
.../TC_AG/AG_Border_Web_Border_Right_Width.java | 18 +
.../TC_AG/AG_Border_Web_Border_Style.java | 18 +
.../TC_AG/AG_Border_Web_Border_Top_Color.java | 18 +
.../AG_Border_Web_Border_Top_Left_Radius.java | 18 +
.../AG_Border_Web_Border_Top_Right_Radius.java | 18 +
.../TC_AG/AG_Border_Web_Border_Top_Width.java | 18 +
.../TC_AG/AG_Border_Web_Border_Width.java | 18 +
.../uitest/TC_AG/AG_CommonAttribute_A_If.java | 18 +
.../uitest/TC_AG/AG_CommonAttribute_Div_If.java | 18 +
.../TC_AG/AG_CommonAttribute_Image_If.java | 18 +
.../TC_AG/AG_CommonAttribute_Input_If.java | 18 +
.../TC_AG/AG_CommonAttribute_Switch_If.java | 18 +
.../TC_AG/AG_CommonAttribute_Text_If.java | 18 +
.../TC_AG/AG_CommonAttribute_Video_If.java | 18 +
.../uitest/TC_AG/AG_CommonAttribute_Web_If.java | 18 +
.../uitest/TC_AG/AG_CommonEvent_A_Onclick.java | 18 +
.../TC_AG/AG_CommonEvent_Div_Onclick.java | 18 +
.../TC_AG/AG_CommonEvent_Image_Onclick.java | 18 +
.../TC_AG/AG_CommonEvent_Input_Onclick.java | 18 +
.../TC_AG/AG_CommonEvent_Switch_Onclick.java | 18 +
.../TC_AG/AG_CommonEvent_Text_Onclick.java | 18 +
.../TC_AG/AG_CommonEvent_Video_Onclick.java | 18 +
.../TC_AG/AG_CommonEvent_Web_Onclick.java | 18 +
.../AG_CommonStyle_A_Background_Color.java | 18 +
.../TC_AG/AG_CommonStyle_A_Widthandheight.java | 18 +
.../AG_CommonStyle_Div_Background_Color.java | 18 +
.../AG_CommonStyle_Div_Widthandheight.java | 18 +
.../AG_CommonStyle_Image_Background_Color.java | 18 +
.../AG_CommonStyle_Image_Widthandheight.java | 18 +
.../AG_CommonStyle_Input_Background_Color.java | 18 +
.../AG_CommonStyle_Input_Widthandheight.java | 18 +
.../AG_CommonStyle_Switch_Background_Color.java | 18 +
.../AG_CommonStyle_Switch_Widthandheight.java | 18 +
.../AG_CommonStyle_Text_Background_Color.java | 18 +
.../AG_CommonStyle_Text_Widthandheight.java | 18 +
.../AG_CommonStyle_Video_Background_Color.java | 18 +
.../AG_CommonStyle_Video_Widthandheight.java | 18 +
.../AG_CommonStyle_Web_Background_Color.java | 18 +
.../AG_CommonStyle_Web_Widthandheight.java | 18 +
.../weex/uitest/TC_AG/AG_Gesture_Div_Click.java | 18 +
.../uitest/TC_AG/AG_Gesture_Div_Conflict.java | 18 +
.../uitest/TC_AG/AG_Gesture_Div_Longpress.java | 18 +
.../weex/uitest/TC_AG/AG_Gesture_Div_Pan.java | 18 +
.../weex/uitest/TC_AG/AG_Gesture_Div_Swipe.java | 18 +
.../weex/uitest/TC_AG/AG_Gesture_Div_Touch.java | 18 +
.../uitest/TC_AG/AG_Image_Image_Onload.java | 18 +
.../uitest/TC_AG/AG_Image_Image_Resize.java | 18 +
.../weex/uitest/TC_AG/AG_Image_Image_Src.java | 18 +
.../uitest/TC_AG/AG_Input_Input_Autofocus.java | 18 +
.../weex/uitest/TC_AG/AG_Input_Input_Color.java | 18 +
.../uitest/TC_AG/AG_Input_Input_Disabled.java | 18 +
.../weex/uitest/TC_AG/AG_Input_Input_Event.java | 18 +
.../uitest/TC_AG/AG_Input_Input_Font_Size.java | 18 +
.../uitest/TC_AG/AG_Input_Input_Font_Style.java | 18 +
.../TC_AG/AG_Input_Input_Font_Weight.java | 18 +
.../TC_AG/AG_Input_Input_Placeholder.java | 18 +
.../TC_AG/AG_Input_Input_Placeholder_Color.java | 18 +
.../uitest/TC_AG/AG_Input_Input_Text_Align.java | 18 +
.../weex/uitest/TC_AG/AG_Input_Input_Type.java | 18 +
.../weex/uitest/TC_AG/AG_Input_Input_Value.java | 18 +
.../weex/uitest/TC_AG/AG_Margin_A_Margin.java | 18 +
.../uitest/TC_AG/AG_Margin_A_Margin_Bottom.java | 18 +
.../uitest/TC_AG/AG_Margin_A_Margin_Left.java | 18 +
.../uitest/TC_AG/AG_Margin_A_Margin_Right.java | 18 +
.../uitest/TC_AG/AG_Margin_A_Margin_Top.java | 18 +
.../weex/uitest/TC_AG/AG_Margin_Div_Margin.java | 18 +
.../TC_AG/AG_Margin_Div_Margin_Bottom.java | 18 +
.../uitest/TC_AG/AG_Margin_Div_Margin_Left.java | 18 +
.../TC_AG/AG_Margin_Div_Margin_Right.java | 18 +
.../uitest/TC_AG/AG_Margin_Div_Margin_Top.java | 18 +
.../uitest/TC_AG/AG_Margin_Image_Margin.java | 18 +
.../TC_AG/AG_Margin_Image_Margin_Bottom.java | 18 +
.../TC_AG/AG_Margin_Image_Margin_Left.java | 18 +
.../TC_AG/AG_Margin_Image_Margin_Right.java | 18 +
.../TC_AG/AG_Margin_Image_Margin_Top.java | 18 +
.../uitest/TC_AG/AG_Margin_Input_Margin.java | 18 +
.../TC_AG/AG_Margin_Input_Margin_Bottom.java | 18 +
.../TC_AG/AG_Margin_Input_Margin_Left.java | 18 +
.../TC_AG/AG_Margin_Input_Margin_Right.java | 18 +
.../TC_AG/AG_Margin_Input_Margin_Top.java | 18 +
.../uitest/TC_AG/AG_Margin_Switch_Margin.java | 18 +
.../TC_AG/AG_Margin_Switch_Margin_Bottom.java | 18 +
.../TC_AG/AG_Margin_Switch_Margin_Left.java | 18 +
.../TC_AG/AG_Margin_Switch_Margin_Right.java | 18 +
.../TC_AG/AG_Margin_Switch_Margin_Top.java | 18 +
.../uitest/TC_AG/AG_Margin_Text_Margin.java | 18 +
.../TC_AG/AG_Margin_Text_Margin_Bottom.java | 18 +
.../TC_AG/AG_Margin_Text_Margin_Left.java | 18 +
.../TC_AG/AG_Margin_Text_Margin_Right.java | 18 +
.../uitest/TC_AG/AG_Margin_Text_Margin_Top.java | 18 +
.../uitest/TC_AG/AG_Margin_Video_Margin.java | 18 +
.../TC_AG/AG_Margin_Video_Margin_Bottom.java | 18 +
.../TC_AG/AG_Margin_Video_Margin_Left.java | 18 +
.../TC_AG/AG_Margin_Video_Margin_Right.java | 18 +
.../TC_AG/AG_Margin_Video_Margin_Top.java | 18 +
.../weex/uitest/TC_AG/AG_Margin_Web_Margin.java | 18 +
.../TC_AG/AG_Margin_Web_Margin_Bottom.java | 18 +
.../uitest/TC_AG/AG_Margin_Web_Margin_Left.java | 18 +
.../TC_AG/AG_Margin_Web_Margin_Right.java | 18 +
.../uitest/TC_AG/AG_Margin_Web_Margin_Top.java | 18 +
.../uitest/TC_AG/AG_Switch_Switch_Checked.java | 18 +
.../uitest/TC_AG/AG_Switch_Switch_Onchange.java | 18 +
.../weex/uitest/TC_AG/AG_Text_Text_Color.java | 18 +
.../uitest/TC_AG/AG_Text_Text_Font_Size.java | 18 +
.../uitest/TC_AG/AG_Text_Text_Font_Style.java | 18 +
.../uitest/TC_AG/AG_Text_Text_Font_Weight.java | 18 +
.../uitest/TC_AG/AG_Text_Text_Line_Height.java | 18 +
.../uitest/TC_AG/AG_Text_Text_Text_Align.java | 18 +
.../TC_AG/AG_Text_Text_Text_Decoration.java | 18 +
.../TC_AG/AG_Text_Text_Text_Overflow.java | 18 +
.../weex/uitest/TC_AG/AG_Text_Text_Value.java | 18 +
.../uitest/TC_AG/AG_Video_Video_Auto_Play.java | 18 +
.../weex/uitest/TC_AG/AG_Video_Video_Event.java | 18 +
.../TC_AG/AG_Video_Video_Play_Status.java | 18 +
.../weex/uitest/TC_AG/AG_Video_Video_Src.java | 18 +
.../weex/uitest/TC_AG/AG_Web_Web_Event.java | 18 +
.../weex/uitest/TC_AG/AG_Web_Web_Src.java | 18 +
.../TC_AHref/WeexUiTestCaseTCAHrefEvent.java | 18 +
.../TC_AHref/WeexUiTestCaseTCAHrefStyle.java | 18 +
.../TC_AHref/WeexUiTestCaseTCAHrefUpdate.java | 18 +
.../TC_Color/WeexUiTestCaseTcColorType.java | 18 +
.../TC_Color/WeexUiTestCaseTcColorUpdate.java | 18 +
.../WeexUiTestCaseTcDowngradeAppVFalse.java | 18 +
.../WeexUiTestCaseTcDowngradeAppVTrue.java | 18 +
.../WeexUiTestCaseTcDowngradeDevMFalse.java | 18 +
.../WeexUiTestCaseTcDowngradeDevMTrue.java | 18 +
.../WeexUiTestCaseTcDowngradeOSVFalse.java | 18 +
.../WeexUiTestCaseTcDowngradeOSVTrue.java | 18 +
.../WeexUiTestCaseTcDowngradeWeexVFalse.java | 18 +
.../WeexUiTestCaseTcDowngradeWeexVTrue.java | 18 +
.../TC_Image/WeexUiTestCaseTcImageUpdate.java | 18 +
.../TC_Input/WeexUiTestCaseTcInputEvent.java | 18 +
.../WeexUiTestCaseTcInputPlaceholder.java | 18 +
.../TC_Input/WeexUiTestCaseTcInputStyle.java | 18 +
.../TC_Input/WeexUiTestCaseTcInputType.java | 18 +
.../TC_Slider/WeexUiTestCaseTcSlider.java | 18 +
.../WeexUiTestCaseTcTextStyleColumn.java | 18 +
.../TC_Text/WeexUiTestCaseTcTextStyleOwn.java | 18 +
.../TC_Text/WeexUiTestCaseTcTextStyleRow.java | 18 +
.../TC_Text/WeexUiTestCaseTcTextType.java | 18 +
.../weex/uitest/WeexUiTestCaseTcElementOpt.java | 18 +
.../java/com/alibaba/weex/util/Falcon.java | 4 +-
.../java/com/alibaba/weex/util/ScreenShot.java | 4 +-
.../com/alibaba/weex/util/SdCardHelper.java | 4 +-
.../java/com/alibaba/weex/util/TestFlow.java | 4 +-
.../java/com/alibaba/weex/util/ViewUtil.java | 4 +-
.../playground/app/src/main/AndroidManifest.xml | 18 +
.../main/res/drawable-v21/ic_menu_camera.xml | 18 +
.../main/res/drawable-v21/ic_menu_gallery.xml | 18 +
.../main/res/drawable-v21/ic_menu_manage.xml | 18 +
.../src/main/res/drawable-v21/ic_menu_send.xml | 18 +
.../src/main/res/drawable-v21/ic_menu_share.xml | 18 +
.../main/res/drawable-v21/ic_menu_slideshow.xml | 18 +
.../app/src/main/res/drawable/side_nav_bar.xml | 18 +
.../src/main/res/layout/activity_dynamic.xml | 18 +
.../app/src/main/res/layout/activity_index.xml | 18 +
.../app/src/main/res/layout/activity_splash.xml | 18 +
.../app/src/main/res/layout/activity_wxpage.xml | 18 +
.../app/src/main/res/layout/app_bar_main.xml | 18 +
.../app/src/main/res/layout/camera.xml | 18 +
.../app/src/main/res/layout/catalog_item.xml | 18 +
.../app/src/main/res/layout/content_dynamic.xml | 18 +
.../app/src/main/res/layout/content_main.xml | 18 +
.../app/src/main/res/layout/content_wx_main.xml | 18 +
.../app/src/main/res/layout/hello_weex.xml | 222 +----
.../app/src/main/res/layout/id_stub.xml | 18 +
.../playground/app/src/main/res/menu/main.xml | 18 +
.../app/src/main/res/menu/main_scan.xml | 18 +
.../app/src/main/res/menu/refresh.xml | 18 +
.../app/src/main/res/values-v21/styles.xml | 20 +-
.../app/src/main/res/values-w820dp/dimens.xml | 18 +
.../app/src/main/res/values/attrs.xml | 18 +
.../app/src/main/res/values/colors.xml | 18 +
.../app/src/main/res/values/dimens.xml | 18 +
.../app/src/main/res/values/drawables.xml | 18 +
.../src/main/res/values/scan_code_styles.xml | 18 +
.../app/src/main/res/values/strings.xml | 18 +
.../app/src/main/res/values/styles.xml | 18 +
android/playground/codeStyleSettings.xml | 18 +
android/sdk/config/quality/checkstyle.xml | 18 +
android/sdk/src/main/AndroidManifest.xml | 18 +
.../main/java/com/taobao/weex/WXSDKEngine.java | 4 +-
android/sdk/src/main/res/values/strings.xml | 222 +----
android/weex_debug/src/main/AndroidManifest.xml | 18 +
.../drawable/leak_canary_toast_background.xml | 18 +
.../res/drawable/prettyfish_bg_floatmenu.xml | 18 +
.../main/res/drawable/prettyfish_coordrect.xml | 18 +
.../src/main/res/drawable/prettyfish_fab.xml | 18 +
.../main/res/layout/prettyfish_coordview.xml | 18 +
.../main/res/layout/prettyfish_coverview.xml | 18 +
.../main/res/layout/prettyfish_datachart.xml | 18 +
.../main/res/layout/prettyfish_datafilelist.xml | 18 +
.../main/res/layout/prettyfish_datafilerow.xml | 18 +
.../src/main/res/layout/prettyfish_datarow.xml | 18 +
.../src/main/res/layout/prettyfish_detail.xml | 18 +
.../main/res/layout/prettyfish_filedetail.xml | 18 +
.../src/main/res/layout/prettyfish_filelist.xml | 18 +
.../src/main/res/layout/prettyfish_filerow.xml | 18 +
.../res/layout/prettyfish_floatmenu_item.xml | 18 +
.../res/layout/prettyfish_floatmenuview.xml | 18 +
.../main/res/layout/prettyfish_recordview.xml | 18 +
.../src/main/res/layout/prettyfish_table.xml | 18 +
.../main/res/layout/prettyfish_tableitem.xml | 18 +
.../src/main/res/layout/prettyfish_uedgird.xml | 18 +
.../weex_debug/src/main/res/values/attrs.xml | 18 +
.../weex_debug/src/main/res/values/colors.xml | 18 +
.../weex_debug/src/main/res/values/dimens.xml | 18 +
.../weex_debug/src/main/res/values/strings.xml | 18 +
build/build.js | 18 +
build/config.js | 18 +
build/examples-banner-plugin.js | 18 +
build/karma.vue.conf.js | 18 +
build/nightwatch.config.js | 19 +-
build/rollup.browser.common.config.js | 18 +
build/webpack.ci.config.js | 18 +
build/webpack.ci.web.config.js | 18 +
build/webpack.deprecatedmacacatest.config.js | 18 +
build/webpack.examples.config.js | 18 +
build/webpack.examples.web.config.js | 20 +-
build/webpack.test.config.js | 18 +
build/webpack.test.web.config.js | 18 +
build/webpack.vue.config.js | 18 +
dangerfile.js | 18 +
doc/_config.yml | 4 +
doc/package.json | 4 +-
doc/source/cn/guide/integrate-to-your-app.md | 11 +-
doc/source/cn/guide/set-up-env.md | 2 +-
doc/source/cn/guide/tools/devtools.md | 111 ---
doc/source/cn/guide/tools/index.md | 3 +-
doc/source/cn/guide/tools/toolkit.md | 231 +++++
doc/source/cn/guide/tools/weexpack.md | 388 ---------
.../cn/references/advanced/extend-to-ios.md | 84 +-
doc/source/cn/references/common-style.md | 82 +-
doc/source/cn/references/components/input.md | 14 +-
doc/source/cn/references/components/refresh.md | 9 +-
.../cn/references/components/waterfall.md | 69 ++
doc/source/cn/references/components/web.md | 11 +-
doc/source/cn/references/modules/dom.md | 78 +-
doc/source/cn/references/modules/webview.md | 11 +-
doc/source/cn/releasenote.md | 858 +++++++++++++++++++
doc/source/examples/dom-rect.md | 73 +-
doc/source/guide/integrate-to-your-app.md | 7 +-
doc/source/guide/set-up-env.md | 2 +-
doc/source/guide/tools/devtools.md | 100 ---
doc/source/guide/tools/index.md | 3 +-
doc/source/guide/tools/toolkit.md | 198 +++++
doc/source/guide/tools/weexpack.md | 300 -------
doc/source/references/advanced/extend-to-ios.md | 70 +-
doc/source/references/common-style.md | 71 +-
doc/source/references/components/input.md | 23 +-
doc/source/references/components/refresh.md | 11 +-
doc/source/references/components/waterfall.md | 60 ++
doc/source/references/components/web.md | 13 +-
doc/source/references/modules/dom.md | 78 +-
doc/source/references/modules/webview.md | 11 +-
doc/source/releasenote.md | 858 +++++++++++++++++++
doc/source/v-0.10/references/components/list.md | 11 +-
.../references/components/refresh-loading.md | 13 +-
doc/themes/weex/languages/cn.yml | 2 +
doc/themes/weex/languages/en.yml | 2 +
doc/themes/weex/layout/_partial/footer.ejs | 14 +-
doc/themes/weex/layout/_partial/header.ejs | 17 +-
doc/themes/weex/layout/playground.ejs | 2 +-
doc/themes/weex/source/css/common.scss | 4 +-
doc/themes/weex/source/css/partial/article.scss | 4 +
doc/themes/weex/source/css/partial/footer.scss | 18 +-
examples/vanilla/index.js | 19 +-
examples/vue/include/base-url.js | 18 +
examples/vue/showcase/include/util.js | 18 +
.../vue/components/scrollable/list/style.js | 18 +
html5/render/vue/core/index.js | 18 +
html5/render/vue/core/node.js | 19 +
html5/render/vue/core/style.js | 18 +
html5/render/vue/env/global.js | 18 +
html5/render/vue/modules/modal/style.js | 18 +
html5/test/case/basic/append-root.source.js | 21 +-
html5/test/case/basic/append.source.js | 18 +
html5/test/case/basic/backward1.source.js | 20 +-
html5/test/case/basic/backward2.source.js | 20 +-
html5/test/case/basic/components.source.js | 18 +
.../case/basic/computed-in-repeat.source.js | 20 +-
html5/test/case/basic/created.source.js | 20 +-
html5/test/case/basic/dynamic-id.source.js | 18 +
.../test/case/basic/dynamic-property.source.js | 18 +
html5/test/case/basic/dynamic-type.source.js | 18 +
html5/test/case/basic/foo.source.js | 20 +-
html5/test/case/basic/foo2.source.js | 20 +-
html5/test/case/basic/foo3.source.js | 20 +-
html5/test/case/basic/foo4.source.js | 20 +-
html5/test/case/basic/foo5.source.js | 20 +-
html5/test/case/basic/foo6.source.js | 20 +-
html5/test/case/basic/foo7.source.js | 20 +-
html5/test/case/basic/foo8.source.js | 18 +
html5/test/case/basic/foo9.source.js | 20 +-
.../case/basic/global-weex-object.source.js | 18 +
html5/test/case/basic/id.source.js | 18 +
html5/test/case/basic/if-repeat.source.js | 20 +-
html5/test/case/basic/if-root.source.js | 18 +
html5/test/case/basic/if.source.js | 20 +-
html5/test/case/basic/promise.source.js | 18 +
html5/test/case/basic/ready.source.js | 20 +-
html5/test/case/basic/repeat-array-kv.source.js | 18 +
.../case/basic/repeat-array-no-kv.source.js | 18 +
.../case/basic/repeat-array-non-obj.source.js | 18 +
html5/test/case/basic/repeat-array-v.source.js | 18 +
html5/test/case/basic/repeat-index.source.js | 18 +
html5/test/case/basic/repeat-root.source.js | 18 +
html5/test/case/basic/repeat-watch.source.js | 20 +-
html5/test/case/basic/require.source.js | 18 +
html5/test/case/basic/reset-style.source.js | 18 +
html5/test/case/basic/static1.source.js | 18 +
html5/test/case/basic/static2.source.js | 18 +
html5/test/case/basic/static3.source.js | 18 +
html5/test/case/basic/static4.source.js | 18 +
html5/test/case/basic/subvm.source.js | 18 +
html5/test/case/basic/transformer1.source.js | 20 +-
.../case/complex/append-root-event.source.js | 19 +-
html5/test/case/complex/click.source.js | 20 +-
html5/test/case/complex/computed.source.js | 18 +
html5/test/case/complex/if-refresh.source.js | 20 +-
.../case/complex/if-repeat-refresh.source.js | 20 +-
html5/test/case/complex/inline-click.source.js | 20 +-
html5/test/case/complex/input-binding.source.js | 18 +
html5/test/case/complex/refresh2.source.js | 19 +-
.../test/case/complex/repeat-track-by.source.js | 18 +
html5/test/case/complex/transformer2.source.js | 20 +-
html5/test/case/complex/transformer3.source.js | 20 +-
.../case/multi/clear-dep-target-error.source.js | 18 +
.../case/multi/clear-dep-target-fine.source.js | 18 +
html5/test/case/multi/clear-moduleA.source.js | 18 +
html5/test/case/multi/clear-moduleB.source.js | 18 +
html5/test/case/prepare.js | 18 +
html5/test/case/signals/modal.source.js | 18 +
html5/test/case/signals/signals-long.source.js | 18 +
html5/test/case/signals/signals.source.js | 18 +
html5/test/case/signals/timer.source.js | 18 +
html5/test/case/tester.js | 18 +
.../test/case/throws/global-variable1.source.js | 18 +
.../test/case/throws/global-variable2.source.js | 18 +
.../test/case/throws/global-variable3.source.js | 18 +
html5/test/e2e/runner.js | 18 +
html5/test/e2e/specs/index.js | 18 +
html5/test/render/vue/components/a.js | 18 +
html5/test/render/vue/components/div.js | 18 +
html5/test/render/vue/components/image.js | 18 +
html5/test/render/vue/components/list.js | 18 +
html5/test/render/vue/components/switch.js | 18 +
html5/test/render/vue/components/text.js | 18 +
html5/test/render/vue/components/web.js | 18 +
html5/test/render/vue/core/scope-style-map.js | 18 +
html5/test/render/vue/core/style.js | 18 +
.../vue/data/build/dotvue/scoped-style.js | 20 +-
html5/test/render/vue/data/head-css.js | 18 +
html5/test/render/vue/data/head-map.js | 18 +
html5/test/render/vue/examples/list-cell.js | 18 +
html5/test/render/vue/helper/env.js | 18 +
html5/test/render/vue/helper/index.js | 18 +
html5/test/render/vue/helper/runtime.js | 18 +
html5/test/render/vue/helper/utils.js | 18 +
html5/test/render/vue/utils/func.js | 18 +
html5/test/render/vue/utils/style.js | 18 +
html5/test/render/vue/validator/check.js | 18 +
html5/test/render/vue/validator/index.js | 18 +
html5/test/render/vue/validator/prop.js | 18 +
html5/test/render/vue/validator/style.js | 18 +
html5/test/unit/default/api/methods.js | 18 +
html5/test/unit/default/api/modules.js | 18 +
html5/test/unit/default/app/bundle.js | 18 +
html5/test/unit/default/app/ctrl.js | 18 +
html5/test/unit/default/app/downgrade.js | 18 +
html5/test/unit/default/app/index.js | 18 +
html5/test/unit/default/app/register.js | 18 +
html5/test/unit/default/app/viewport.js | 18 +
html5/test/unit/default/helper/document.js | 19 +-
html5/test/unit/default/runtime.js | 18 +
html5/test/unit/default/util/index.js | 18 +
html5/test/unit/default/util/shared.js | 18 +
html5/test/unit/default/vm/compiler.js | 18 +
html5/test/unit/default/vm/directive.js | 18 +
html5/test/unit/default/vm/dom-helper.js | 18 +
html5/test/unit/default/vm/events.js | 18 +
html5/test/unit/default/vm/vm.js | 18 +
html5/test/unit/shared/BroadcastChannel.js | 18 +
html5/test/unit/shared/arrayFrom.js | 18 +
html5/test/unit/shared/console.js | 18 +
html5/test/unit/shared/index.js | 18 +
html5/test/unit/shared/objectAssign.js | 18 +
html5/test/unit/shared/objectSetPrototypeOf.js | 18 +
html5/test/unit/vanilla/index.js | 18 +
html5/test/unit/vdom/index.js | 18 +
html5/test/unit/vdom/listener.js | 18 +
html5/test/unit/vdom/node.js | 18 +
.../WeexDemo.xcodeproj/project.pbxproj | 18 +-
.../WeexDemo/Scanner/WXScannerHistoryVC.h | 21 +-
.../WeexDemo/Scanner/WXScannerHistoryVC.m | 21 +-
ios/playground/WeexDemo/Scanner/WXScannerVC.h | 4 +-
ios/playground/WeexDemo/Scanner/WXScannerVC.m | 4 +-
ios/playground/WeexDemoTests/WeexDemoTests.m | 21 +-
.../WeexUITestDemoUITests.m | 21 +-
.../Component/Recycler/WXMultiColumnLayout.h | 4 +-
.../Component/Recycler/WXMultiColumnLayout.m | 4 +-
.../Component/Recycler/WXRecyclerComponent.h | 4 +-
.../Component/Recycler/WXRecyclerComponent.m | 4 +-
.../Recycler/WXRecyclerDataController.h | 4 +-
.../Recycler/WXRecyclerDataController.m | 4 +-
.../Recycler/WXRecyclerUpdateController.h | 4 +-
.../Recycler/WXRecyclerUpdateController.m | 4 +-
.../Recycler/WXSectionDataController.h | 4 +-
.../Recycler/WXSectionDataController.m | 4 +-
.../WeexSDK/Sources/Component/WXAComponent.h | 4 +-
.../WeexSDK/Sources/Component/WXAComponent.m | 4 +-
.../Sources/Component/WXCanvasComponent.h | 4 +-
.../Sources/Component/WXCanvasComponent.m | 4 +-
.../WeexSDK/Sources/Component/WXCellComponent.h | 4 +-
.../WeexSDK/Sources/Component/WXCellComponent.m | 4 +-
.../Sources/Component/WXComponent_internal.h | 4 +-
.../Sources/Component/WXCycleSliderComponent.h | 21 +-
.../Sources/Component/WXCycleSliderComponent.m | 21 +-
.../WeexSDK/Sources/Component/WXDivComponent.h | 4 +-
.../WeexSDK/Sources/Component/WXDivComponent.m | 4 +-
.../WeexSDK/Sources/Component/WXEditComponent.h | 4 +-
.../WeexSDK/Sources/Component/WXEditComponent.m | 4 +-
.../Sources/Component/WXEmbedComponent.h | 4 +-
.../Sources/Component/WXEmbedComponent.m | 4 +-
.../Sources/Component/WXFooterComponent.h | 4 +-
.../Sources/Component/WXFooterComponent.m | 4 +-
.../Sources/Component/WXHeaderComponent.h | 4 +-
.../Sources/Component/WXHeaderComponent.m | 4 +-
.../Sources/Component/WXImageComponent.h | 4 +-
.../Sources/Component/WXImageComponent.m | 4 +-
.../Sources/Component/WXIndicatorComponent.h | 4 +-
.../Sources/Component/WXIndicatorComponent.m | 4 +-
.../WeexSDK/Sources/Component/WXListComponent.h | 4 +-
.../WeexSDK/Sources/Component/WXListComponent.m | 4 +-
.../Sources/Component/WXLoadingComponent.h | 4 +-
.../Sources/Component/WXLoadingComponent.m | 4 +-
.../Sources/Component/WXLoadingIndicator.h | 4 +-
.../Sources/Component/WXLoadingIndicator.m | 4 +-
.../Sources/Component/WXRefreshComponent.h | 4 +-
.../Sources/Component/WXRefreshComponent.m | 4 +-
.../Sources/Component/WXScrollerComponent.h | 4 +-
.../Sources/Component/WXScrollerComponent.m | 4 +-
.../Sources/Component/WXSliderComponent.h | 4 +-
.../Sources/Component/WXSliderComponent.m | 4 +-
.../Component/WXSliderNeighborComponent.h | 4 +-
.../Component/WXSliderNeighborComponent.m | 4 +-
.../Sources/Component/WXSwitchComponent.h | 4 +-
.../Sources/Component/WXSwitchComponent.m | 4 +-
.../Sources/Component/WXTextAreaComponent.h | 4 +-
.../Sources/Component/WXTextAreaComponent.m | 4 +-
.../WeexSDK/Sources/Component/WXTextComponent.h | 4 +-
.../WeexSDK/Sources/Component/WXTextComponent.m | 4 +-
.../Sources/Component/WXTextInputComponent.h | 4 +-
.../Sources/Component/WXTextInputComponent.m | 4 +-
ios/sdk/WeexSDK/Sources/Component/WXTransform.h | 4 +-
ios/sdk/WeexSDK/Sources/Component/WXTransform.m | 4 +-
.../Sources/Component/WXVideoComponent.h | 4 +-
.../Sources/Component/WXVideoComponent.m | 4 +-
.../WeexSDK/Sources/Component/WXWebComponent.h | 4 +-
.../WeexSDK/Sources/Component/WXWebComponent.m | 4 +-
ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.m | 1 -
ios/sdk/WeexSDKTests/TestSupportUtils.h | 21 +-
ios/sdk/WeexSDKTests/TestSupportUtils.m | 21 +-
ios/sdk/WeexSDKTests/WXAnimationModuleTests.m | 21 +-
ios/sdk/WeexSDKTests/WXBridgeMethodTests.m | 21 +-
ios/sdk/WeexSDKTests/WXComponentTests.m | 21 +-
ios/sdk/WeexSDKTests/WXConvertTests.m | 25 +-
ios/sdk/WeexSDKTests/WXFloatCompareTests.m | 25 +-
ios/sdk/WeexSDKTests/WXInstanceWrapTests.m | 21 +-
ios/sdk/WeexSDKTests/WXRootViewTests.m | 25 +-
ios/sdk/WeexSDKTests/WXSDKEngineTests.m | 21 +-
ios/sdk/WeexSDKTests/WXSDKManagerTests.m | 21 +-
ios/sdk/WeexSDKTests/WXStorageTests.m | 25 +-
ios/sdk/WeexSDKTests/WXStreamModuleTests.m | 21 +-
ios/sdk/WeexSDKTests/WXTimerModuleTests.m | 21 +-
ios/sdk/WeexSDKTests/WXURLRewriteTests.m | 25 +-
ios/sdk/WeexSDKTests/WeexSDKTests.m | 21 +-
scripts/rat-ant-build.xml | 33 +-
test/scripts/components/image-onload.test.js | 18 +
test/scripts/components/recycler.test.js | 18 +
test/scripts/components/scroll-event.test.js | 18 +
test/scripts/components/scroller-fixed.test.js | 20 +-
test/scripts/components/slider-infinite.test.js | 18 +
.../components/textarea-maxlength.test.js | 20 +-
test/scripts/dom.test.js | 18 +
test/scripts/index.test.js | 18 +
test/scripts/util.js | 18 +
618 files changed, 11978 insertions(+), 1814 deletions(-)
----------------------------------------------------------------------
[39/50] incubator-weex git commit: *[android] rename so to weexjsc
Posted by so...@apache.org.
*[android] rename so to weexjsc
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/1f643229
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/1f643229
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/1f643229
Branch: refs/heads/dev
Commit: 1f643229b5d259cce78c5c9274075914df396eea
Parents: dd47f26
Author: zshshr <zh...@gmail.com>
Authored: Wed Apr 19 11:51:11 2017 +0800
Committer: zshshr <zh...@gmail.com>
Committed: Wed Apr 19 11:51:11 2017 +0800
----------------------------------------------------------------------
android/sdk/build.gradle | 2 +-
android/sdk/libs/armeabi/libweexv8.so | Bin 7815380 -> 0 bytes
.../main/java/com/taobao/weex/WXSDKEngine.java | 2 +-
3 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/1f643229/android/sdk/build.gradle
----------------------------------------------------------------------
diff --git a/android/sdk/build.gradle b/android/sdk/build.gradle
index 1b2ddd1..60753d8 100755
--- a/android/sdk/build.gradle
+++ b/android/sdk/build.gradle
@@ -61,7 +61,7 @@ android {
println jsfmVersion
- def ARMEABI_Size = new File(projectDir,"libs/armeabi/libweexv8.so").length();
+ def ARMEABI_Size = new File(projectDir,"libs/armeabi/libweexjsc.so").length();
def X86_Size = new File(projectDir,"libs/x86/libweexv8.so").length();
println "ARMEABI_Size: "+ARMEABI_Size;
println "X86_Size:" + X86_Size;
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/1f643229/android/sdk/libs/armeabi/libweexv8.so
----------------------------------------------------------------------
diff --git a/android/sdk/libs/armeabi/libweexv8.so b/android/sdk/libs/armeabi/libweexv8.so
deleted file mode 100755
index 7765747..0000000
Binary files a/android/sdk/libs/armeabi/libweexv8.so and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/1f643229/android/sdk/src/main/java/com/taobao/weex/WXSDKEngine.java
----------------------------------------------------------------------
diff --git a/android/sdk/src/main/java/com/taobao/weex/WXSDKEngine.java b/android/sdk/src/main/java/com/taobao/weex/WXSDKEngine.java
index 8ffceac..4f3335d 100644
--- a/android/sdk/src/main/java/com/taobao/weex/WXSDKEngine.java
+++ b/android/sdk/src/main/java/com/taobao/weex/WXSDKEngine.java
@@ -103,7 +103,7 @@ public class WXSDKEngine {
public static final String JS_FRAMEWORK_RELOAD="js_framework_reload";
- private static final String V8_SO_NAME = "weexv8";
+ private static final String V8_SO_NAME = "weexjsc";
private volatile static boolean mIsInit = false;
private static final Object mLock = new Object();
private static final String TAG = "WXSDKEngine";
[06/50] incubator-weex git commit: * [android] progard bugfix
Posted by so...@apache.org.
* [android] progard bugfix
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/f61a50dd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/f61a50dd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/f61a50dd
Branch: refs/heads/dev
Commit: f61a50dd3d5bc602f1a04b0faa04bddc8ba81f71
Parents: 8832cc3
Author: zshshr <zh...@gmail.com>
Authored: Mon Apr 10 16:29:22 2017 +0800
Committer: zshshr <zh...@gmail.com>
Committed: Mon Apr 10 16:29:38 2017 +0800
----------------------------------------------------------------------
android/sdk/src/main/java/com/taobao/weex/bridge/WXParams.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/f61a50dd/android/sdk/src/main/java/com/taobao/weex/bridge/WXParams.java
----------------------------------------------------------------------
diff --git a/android/sdk/src/main/java/com/taobao/weex/bridge/WXParams.java b/android/sdk/src/main/java/com/taobao/weex/bridge/WXParams.java
index 3ccbbb5..f2504d5 100755
--- a/android/sdk/src/main/java/com/taobao/weex/bridge/WXParams.java
+++ b/android/sdk/src/main/java/com/taobao/weex/bridge/WXParams.java
@@ -233,7 +233,7 @@ public class WXParams {
}
public String getLogLevel() {
- if(logLevel!=null){
+ if(logLevel == null){
return "";
}
return logLevel;
@@ -244,7 +244,7 @@ public class WXParams {
}
public String getNeedInitV8() {
- if(needInitV8!=null){
+ if(needInitV8 ==null){
return "";
}
return this.needInitV8;
[12/50] incubator-weex git commit: *[iOS] keep the code same with
gitlab-ios-package
Posted by so...@apache.org.
*[iOS] keep the code same with gitlab-ios-package
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/e11dbdf9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/e11dbdf9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/e11dbdf9
Branch: refs/heads/dev
Commit: e11dbdf9a149244636fc2b74a63ff0d3c1a26850
Parents: 5ea9966
Author: LiuHongfeng(GuJian) <La...@gmail.com>
Authored: Mon Apr 17 17:04:34 2017 +0800
Committer: LiuHongfeng(GuJian) <La...@gmail.com>
Committed: Mon Apr 17 17:04:34 2017 +0800
----------------------------------------------------------------------
.../Sources/Component/WXSliderComponent.m | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/e11dbdf9/ios/sdk/WeexSDK/Sources/Component/WXSliderComponent.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Component/WXSliderComponent.m b/ios/sdk/WeexSDK/Sources/Component/WXSliderComponent.m
index 4e72d2c..f0310e5 100644
--- a/ios/sdk/WeexSDK/Sources/Component/WXSliderComponent.m
+++ b/ios/sdk/WeexSDK/Sources/Component/WXSliderComponent.m
@@ -296,6 +296,15 @@
- (void)scrollViewDidScroll:(UIScrollView *)scrollView
{
+ [NSObject cancelPreviousPerformRequestsWithTarget:self];
+ __weak typeof(self) weakSelf = self;
+ if (!weakSelf)
+ {
+ return;
+ }
+ //ensure that the end of scroll is fired.
+ [self performSelector:@selector(scrollViewDidEndScrollingAnimation:) withObject:nil afterDelay:0.3];
+
UIView *itemView = nil;
for (itemView in self.itemViews) {
if ([self _isItemViewVisiable:itemView]) {
@@ -308,9 +317,6 @@
if (self.delegate && [self.delegate respondsToSelector:@selector(sliderView:sliderViewDidScroll:)]) {
[self.delegate sliderView:self sliderViewDidScroll:self.scrollView];
}
- //[NSObject cancelPreviousPerformRequestsWithTarget:self];
- //ensure that the end of scroll is fired.
- //[self performSelector:@selector(scrollViewDidEndScrollingAnimation:) withObject:nil afterDelay:0.3];
}
- (void)scrollViewWillBeginDragging:(UIScrollView *)scrollView
@@ -387,7 +393,7 @@
}
_scrollable = attributes[@"scrollable"] ? [WXConvert BOOL:attributes[@"scrollable"]] : YES;
-
+
if (attributes[@"offsetXAccuracy"]) {
_offsetXAccuracy = [WXConvert CGFloat:attributes[@"offsetXAccuracy"]];
}
@@ -489,7 +495,7 @@
WXSliderView *sliderView = (WXSliderView *)_view;
[sliderView removeItemView:view];
[sliderView setCurrentIndex:0];
-}
+}ggg
- (void)updateAttributes:(NSDictionary *)attributes
{
@@ -509,7 +515,7 @@
if (_autoPlay) {
[self _startAutoPlayTimer];
- }
+ }
}
if (attributes[@"index"]) {
@@ -594,7 +600,7 @@
- (void)_autoPlayOnTimer
{
WXSliderView *sliderView = (WXSliderView *)self.view;
-
+
int indicatorCnt = 0;
for (int i = 0; i < [self.childrenView count]; ++i) {
if ([self.childrenView[i] isKindOfClass:[WXIndicatorView class]]) {
[34/50] incubator-weex git commit: * [test] add Macaca test case for
text The test case mainly focus on the layout of text.
Posted by so...@apache.org.
* [test] add Macaca test case for text
The test case mainly focus on the layout of text.
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/47200259
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/47200259
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/47200259
Branch: refs/heads/dev
Commit: 47200259b356c88ddb8fe6925522fb66a5089139
Parents: 90c3583
Author: YorkShen <sh...@gmail.com>
Authored: Wed Apr 12 11:33:11 2017 +0800
Committer: YorkShen <sh...@gmail.com>
Committed: Tue Apr 18 19:48:52 2017 +0800
----------------------------------------------------------------------
test/pages/components/text-layout.vue | 30 +++++++
test/scripts/components/text.test.js | 131 +++++++++++++++++++++++++++++
2 files changed, 161 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/47200259/test/pages/components/text-layout.vue
----------------------------------------------------------------------
diff --git a/test/pages/components/text-layout.vue b/test/pages/components/text-layout.vue
new file mode 100644
index 0000000..e73e64c
--- /dev/null
+++ b/test/pages/components/text-layout.vue
@@ -0,0 +1,30 @@
+<template>
+ <scroller class="wrapper">
+ <text test-id ="text-only">Hello World</text>
+ <text test-id ="lines" style="lines:2;line-height:32px;font-size:36px;color:#0000FF">\u6c38\u548c\u4e5d\u5e74\uff0c\u5c81\u5728\u7678\u4e11\uff0c\u66ae\u6625\u4e4b\u521d\uff0c\u4f1a\u4e8e\u4f1a\u7a3d\u5c71\u9634\u4e4b\u5170\u4ead\u3002\n\t\u7fa4\u8d24\u6bd5\u81f3\uff0c\u5c11\u957f\u54b8\u96c6\u3002\u6b64\u5730\u6709\u5d07\u5c71\u5cfb\u9886\uff0c\u8302\u6797\u8129\u7af9\uff1b\u53c8\u6709\u6e05\u6d41\u6fc0\u6e4d\uff0c\u668e\u5e26\u5de6\u53f3\u3002\u5f15\u4ee5\u4e3a\u6d41\u89de\u66f2\u6c34\uff0c\u5217\u5750\u5176\u6b21\u3002\n\tLet us not seek to satisfy our thirst for freedom. \n\tAgain and again, we must rise to the majestic heights of meeting physical force with soul force.</text>
+ <text test-id ="font" style="lines:3;font-size:48px;color:#FF0000">\u5176\u5f62\u4e5f\uff0c\u7fe9\u82e5\u60ca\u9e3f\uff0c\u5a49\u82e5\u6e38\u9f99\uff0c\u8363\u66dc\u79cb\u83ca\uff0c\u534e\u8302\u6625\u677e\u3002\u9ae3\u9af4\u516e\u82e5\u8f7b\u4e91\u4e4b\u853d\u6708\uff0c\u98d8\u98d6\u516e\u82e5\u6d41\u98ce\u4e4b\u56de\u96ea\u3002\u8fdc\u800c\u671b\u4e4b\uff0c\u768e\u82e5\u592a\u9633\u5347\u671d\u971e\u3002\u8feb\u800c\u5bdf\u4e4b\uff0c\u707c\u82e5\u8299\u8556\u51fa\u6e0c\u6ce2\u3002\u79fe\u7ea4\u5f97\u8877\uff0c\u4fee\u77ed\u5408\u5ea6\u3002\u80a9\u82e5\u524a\u6210\uff0c\u8170\u5982\u7ea6\u7d20\u3002\u5ef6\u9888\u79c0\u9879\uff0c\u7693\u8d28\u5448\u9732\uff0c\u82b3\u6cfd\u65e0\u52a0\uff0c\u94c5\u534e\u5f17\u5fa1\u3002\u4e91\u9afb\u5ce8\u5ce8\uff0c\u4fee\u7709\u8054\u5a1f\uff0c\u4e39\u5507\u5916\u6717\uff0c\u7693\u9f7f\u5185\u9c9c\u3002\u660e\u7738\u5584\u7750\uff0c\u9765\u8f85\u627f\u6743\uff0c\u74cc\u59ff\u8273\u9038\uff0c\u4eea\u9759\u4f53\u95f2\u3002\u67d4\u60c5\u7ef0\u6001\uff0c\u5a9a\u4e8e\u8bed\u8a00\u3002\u5947\u670d\u65f7\u4e16\uff0c\u9aa8\u50cf\u5e94\u56fe\u3002\u62ab\u7f57\u8863\u4e4b\u7480\u7cb2\u516e\uff0c\u73e5\u7476\u78a7\u4e4b\u534e\u741a\u3002\u6234\u91d1\u7fe0\u4e4b\u9996\u9970\uff0c\u7f00\u660e\u73e0\u4ee5\u8000\u8eaf\u3002\u8df5\u8fdc\u6e38\u4e4b\u6587\u5c65\uff0c\u66f3\u96fe\u7ee1\u4e4b\u8f7b\u88fe\u3002\u5fae\u5e7d\u5170\u4e4b\u82b3\u853c\u516e\uff0c\u6b65\u8e1f\u8e70\u4e8e\u5c71\u9685\u3002\u4e8e\u662f\u5ffd\u7109\u7eb5\u4f53\uff0c\u4ee5\u9068\u4ee5\u5b09\u3002\u5de6\u501a\u91c7\u65c4\uff0c\u53f3\u836b\u6842\u65d7\u3002\u6518\u7693\u8155\u4e8e\u795e\u6d52\u516e\uff0c\u91c7\u6e4d\u6fd1\u4e4b\u7384\u829d\u3002</text>
+ <text test-id ="fixed-size" style="width:300px; height:100px;color:#FF00FF">\u58ec\u620c\u4e4b\u79cb\uff0c\u4e03\u6708\u65e2\u671b\uff0c\u82cf\u5b50\u4e0e\u5ba2\u6cdb\u821f\u6e38\u4e8e\u8d64\u58c1\u4e4b\u4e0b\u3002\u6e05\u98ce\u5f90\u6765\uff0c\u6c34\u6ce2\u4e0d\u5174\u3002\u4e3e\u9152\u5c5e\u5ba2\uff0c\u8bf5\u660e\u6708\u4e4b\u8bd7\uff0c\u6b4c\u7a88\u7a95\u4e4b\u7ae0\u3002\u5c11\u7109\uff0c\u6708\u51fa\u4e8e\u4e1c\u5c71\u4e4b\u4e0a\uff0c\u5f98\u5f8a\u4e8e\u6597\u725b\u4e4b\u95f4\u3002\u767d\u9732\u6a2a\u6c5f\uff0c\u6c34\u5149\u63a5\u5929\u3002\u7eb5\u4e00\u82c7\u4e4b\u6240\u5982\uff0c\u51cc\u4e07\u9877\u4e4b\u832b\u7136\u3002\u6d69\u6d69\u4e4e\u5982\u51af\u865a\u5fa1\u98ce\uff0c\u800c\u4e0d\u77e5\u5176\u6240\u6b62\uff1b\u98d8\u98d8\u4e4e\u5982\u9057\u4e16\u72ec\u7acb,\u7fbd\u5316\u800c\u767b\u4ed9\u3002</text>
+ <div style="flex-direction:row;width:500px;height:300px;background-color:red">
+ <text style="flex:1;line-height:36px;background-color:#AC34Ef" test-id="flexgrow-alignitems">Hello </text>
+ </div>
+
+ <div style="flex-direction:row;width:500px;height:300px;background-color:red;align-items:center">
+ <text style="flex:1;line-height:40px;background-color:#12CDEE" test-id="flexgrow">World</text>
+ </div>
+
+ <div style="width:500px;height:300px;background-color:red">
+ <text style="flex:1;line-height:36px;background-color:blue" test-id="flexgrow-alignitems-coloumn">Hello </text>
+ </div>
+
+ <div style="width:500px;height:300px;background-color:red;align-items:center">
+ <text style="flex:1;line-height:40px;background-color:blue" test-id="flexgrow-column">World</text>
+ </div>
+ </scroller>
+</template>
+
+<style>
+.wrapper{
+ width: 750px;
+ background-color: yellow;
+}
+</style>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/47200259/test/scripts/components/text.test.js
----------------------------------------------------------------------
diff --git a/test/scripts/components/text.test.js b/test/scripts/components/text.test.js
new file mode 100644
index 0000000..3c7c347
--- /dev/null
+++ b/test/scripts/components/text.test.js
@@ -0,0 +1,131 @@
+'use strict';
+
+var _ = require('macaca-utils');
+var assert = require('chai').assert
+var wd = require('weex-wd')
+var path = require('path');
+var os = require('os');
+var util = require("../util.js");
+
+describe('weex text', function () {
+ this.timeout(util.getTimeoutMills());
+ var driver = util.createDriver(wd);
+
+ before(function () {
+ return util.init(driver)
+ .get(util.getPage('/components/text-layout.js'))
+ .waitForElementById("lines", util.getGETActionWaitTimeMills(),1000)
+ });
+
+ after(function () {
+ // return util.quit(driver);
+ })
+
+
+ let scaleFactor = 0
+ let screenWidth = 0
+ it ('#1 Window size', () =>{
+ return driver
+ .getWindowSize()
+ .then(size=>{
+ screenWidth = size.width
+ scaleFactor = screenWidth/ 750
+ })
+ })
+
+ it('#2 Text Content', () => {
+ return driver
+ .elementById('text-only')
+ .text()
+ .then((text)=>{
+ assert.equal(text,'Hello World')
+ })
+ })
+
+ it ('#3 Line Height', () =>{
+ return driver
+ .elementById('lines')
+ .getRect()
+ .then(rect => {
+ assert.equal(rect.width, screenWidth)
+ assert.equal(rect.height, Math.floor(2 * 32 * scaleFactor))
+ scroll(rect.height)
+ })
+ })
+
+ it ('#4 Font Size', () =>{
+ return driver
+ .elementById('font')
+ .getRect()
+ .then(rect => {
+ assert.equal(rect.width, screenWidth)
+ assert.isAtLeast(rect.height, Math.floor(2 * 48 * scaleFactor))
+ scroll(rect.height)
+ })
+ })
+
+ it ('#5 Fixed-Size', () =>{
+ return driver
+ .elementById('fixed-size')
+ .getRect()
+ .then(rect => {
+ assert.equal(rect.width, Math.floor(300 * scaleFactor))
+ assert.equal(rect.height, Math.floor(100 * scaleFactor))
+ scroll(rect.height)
+ })
+ })
+
+ it ('#6 flex:1; align-Items: stretch; flex-direction:row', () =>{
+ return driver
+ .elementById('flexgrow-alignitems')
+ .getRect()
+ .then(rect => {
+ assert.equal(rect.width, Math.floor(500 * scaleFactor))
+ assert.equal(rect.height, Math.floor(300 * scaleFactor))
+ scroll(rect.height)
+ })
+ })
+
+ it ('#7 flex:1; align-Items: center; flex-direction:row', () =>{
+ return driver
+ .elementById('flexgrow')
+ .getRect()
+ .then(rect => {
+ assert.equal(rect.width, Math.floor(500 * scaleFactor))
+ assert.equal(rect.height, Math.floor(40 * scaleFactor))
+ scroll(rect.height)
+ })
+ })
+
+ it ('#8 flex:1; align-Items: stretch; flex-direction:column', () =>{
+ return driver
+ .elementById('flexgrow-alignitems-coloumn')
+ .getRect()
+ .then(rect => {
+ assert.equal(rect.width, Math.floor(500 * scaleFactor))
+ assert.equal(rect.height, Math.floor(300 * scaleFactor))
+ scroll(rect.height)
+ })
+ })
+
+ it ('#9 flex:1; align-Items: auto; flex-direction:column', () =>{
+ return driver
+ .elementById('flexgrow-column')
+ .getRect()
+ .then(rect => {
+ assert.isBelow(rect.width, 500 * scaleFactor/2)
+ assert.equal(rect.height, Math.floor(300 * scaleFactor))
+ scroll(rect.height)
+ })
+ })
+
+ function scroll(height){
+ driver.touch('drag', {
+ fromX:100,
+ fromY:300+height,
+ toX: 100,
+ toY: 300,
+ duration: 0.5
+ })
+ }
+});
[27/50] incubator-weex git commit: Merge branch 'dev' into 0.12-dev
Posted by so...@apache.org.
Merge branch 'dev' into 0.12-dev
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/8ce111a7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/8ce111a7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/8ce111a7
Branch: refs/heads/dev
Commit: 8ce111a7d93d85056fd3b2d1064b06b84924a367
Parents: 32ae6e4 648cfc0
Author: sospartan <so...@apache.org>
Authored: Tue Apr 18 16:10:00 2017 +0800
Committer: sospartan <so...@apache.org>
Committed: Tue Apr 18 16:10:00 2017 +0800
----------------------------------------------------------------------
.travis.yml | 42 +++++++++--
NOTICE | 75 ++++++++++++++++++++
android/run-ci.sh | 2 +-
.../Sources/Controller/WXBaseViewController.h | 2 +-
.../Sources/Controller/WXBaseViewController.m | 16 -----
.../Sources/Controller/WXRootViewController.m | 17 ++++-
ios/sdk/WeexSDKTests/WXRootViewTests.m | 4 +-
test/ci-funcs.sh | 75 +++-----------------
test/run.sh | 41 ++++++-----
test/scripts/components/image-onload.test.js | 2 +-
test/scripts/components/recycler.test.js | 2 +-
11 files changed, 169 insertions(+), 109 deletions(-)
----------------------------------------------------------------------
[08/50] incubator-weex git commit: * [test] trigger test ci
Posted by so...@apache.org.
* [test] trigger test ci
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/33ab6590
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/33ab6590
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/33ab6590
Branch: refs/heads/dev
Commit: 33ab65900cf5b9a70601bb4ba27b7b8803636c60
Parents: e327498
Author: \u9690\u98ce <cx...@apache.org>
Authored: Thu Apr 13 17:18:58 2017 +0800
Committer: \u9690\u98ce <cx...@apache.org>
Committed: Thu Apr 13 17:18:58 2017 +0800
----------------------------------------------------------------------
test/scripts/components/recycler.test.js | 1 -
1 file changed, 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/33ab6590/test/scripts/components/recycler.test.js
----------------------------------------------------------------------
diff --git a/test/scripts/components/recycler.test.js b/test/scripts/components/recycler.test.js
index 170dff6..680b97a 100644
--- a/test/scripts/components/recycler.test.js
+++ b/test/scripts/components/recycler.test.js
@@ -7,7 +7,6 @@ var path = require('path');
var os = require('os');
var util = require("../util.js");
-
const platform = process.env.platform.toLowerCase() || 'android';
const isAndroid = platform === 'android';
[20/50] incubator-weex git commit: * [ios] remove unused line
Posted by so...@apache.org.
* [ios] remove unused line
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/5985968f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/5985968f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/5985968f
Branch: refs/heads/dev
Commit: 5985968fb4392f8a469da732343dea1d41400a6a
Parents: bc2d964
Author: acton393 <zh...@gmail.com>
Authored: Tue Apr 18 10:12:36 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Tue Apr 18 10:12:36 2017 +0800
----------------------------------------------------------------------
ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5985968f/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m b/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m
index c4c8cd3..fed8dd5 100644
--- a/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m
+++ b/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m
@@ -726,7 +726,6 @@ do {\
CTLineTruncationType truncationType = kCTLineTruncationEnd;
NSAttributedString *attributedString = [self buildCTAttributeString];
NSAttributedString * lastLineText = [attributedString attributedSubstringFromRange: WXNSRangeFromCFRange(CTLineGetStringRange(lastLine))];
-// NSMutableAttributedString *.mutableCopy;
NSMutableAttributedString *mutableLastLineText = lastLineText.mutableCopy;
[mutableLastLineText appendAttributedString:truncationToken];
CTLineRef ctLastLineExtend = CTLineCreateWithAttributedString((__bridge CFAttributedStringRef)mutableLastLineText);
@@ -819,7 +818,7 @@ do {\
actualLineCount ++;
}
- totalHeight = totalHeight + actualLineCount*leading;
+ totalHeight = totalHeight + actualLineCount * leading;
CFRelease(frameRef);
return CGSizeMake(suggestSize.width, totalHeight);
[31/50] incubator-weex git commit: Merge remote-tracking branch
'upstream/0.12-dev' into iOS-0.12-dev-text-refactor
Posted by so...@apache.org.
Merge remote-tracking branch 'upstream/0.12-dev' into iOS-0.12-dev-text-refactor
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/1fd7c08f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/1fd7c08f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/1fd7c08f
Branch: refs/heads/dev
Commit: 1fd7c08f61e6932f3641d1adcfaab5257be2d90d
Parents: 5985968 24ef3af
Author: acton393 <zh...@gmail.com>
Authored: Tue Apr 18 17:58:28 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Tue Apr 18 17:58:28 2017 +0800
----------------------------------------------------------------------
.travis.yml | 42 +++++++++--
NOTICE | 75 ++++++++++++++++++++
WeexSDK.podspec | 45 ++++++++++++
android/run-ci.sh | 2 +-
.../com/taobao/weex/ui/component/WXEmbed.java | 2 +-
examples/component/input-demo.we | 14 ++--
examples/index.we | 5 +-
examples/vue/components/input.vue | 14 ++--
examples/vue/index.vue | 3 +
examples/vue/market/gcanvas.vue | 40 +++++++++++
ios/playground/Podfile | 5 +-
.../WeexDemo.xcodeproj/project.pbxproj | 4 +-
ios/sdk/WeexSDK.podspec | 47 ------------
.../WeexSDK/Sources/Bridge/WXBridgeContext.m | 2 +-
ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m | 2 +-
.../Sources/Component/WXSliderComponent.m | 53 +++-----------
.../Sources/Controller/WXBaseViewController.h | 2 +-
.../Sources/Controller/WXBaseViewController.m | 16 -----
.../Sources/Controller/WXRootViewController.m | 17 ++++-
ios/sdk/WeexSDK/Sources/Utility/WXUtility.m | 1 +
.../Sources/View/WXComponent+ViewManagement.m | 4 +-
ios/sdk/WeexSDK/Sources/WeexSDK.h | 33 ++++-----
ios/sdk/WeexSDKTests/WXRootViewTests.m | 4 +-
ios/sdk/buildScripts.sh | 25 +++++--
package.json | 4 +-
test/ci-funcs.sh | 75 +++-----------------
test/run.sh | 41 ++++++-----
test/scripts/components/image-onload.test.js | 2 +-
test/scripts/components/recycler.test.js | 2 +-
29 files changed, 333 insertions(+), 248 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/1fd7c08f/WeexSDK.podspec
----------------------------------------------------------------------
diff --cc WeexSDK.podspec
index 0000000,8279ec3..ae1b6a9
mode 000000,100644..100644
--- a/WeexSDK.podspec
+++ b/WeexSDK.podspec
@@@ -1,0 -1,45 +1,45 @@@
+ # coding: utf-8
+ Pod::Spec.new do |s|
+
+ s.name = "WeexSDK"
+
- s.version = "0.11.0"
++ s.version = "0.12.0"
+
+ s.summary = "WeexSDK Source ."
+
+ s.description = <<-DESC
+ A framework for building Mobile cross-platform UI
+ DESC
+
+ s.homepage = "https://github.com/alibaba/weex"
+ s.license = {
+ :type => 'Copyright',
+ :text => <<-LICENSE
+ Alibaba-INC copyright
+ LICENSE
+ }
+ s.authors = { "cxfeng1" => "cxfeng1@gmail.com",
+ "boboning" => "ningli928@163.com",
+ "yangshengtao" => "yangshengtao1314@163.com",
+ "kfeagle" => "sunjjbobo@163.com",
+ "acton393" => "zhangxing610321@gmail.com"
+ }
+ s.platform = :ios
+ s.ios.deployment_target = '7.0'
+ s.source = { :path => '.' }
+ s.source_files = 'ios/sdk/WeexSDK/Sources/**/*.{h,m,mm,c}'
+ s.resources = 'ios/sdk/WeexSDK/Resources/main.js', 'ios/sdk/WeexSDK/Resources/wx_load_error@3x.png'
+
+ s.requires_arc = true
+ s.prefix_header_file = 'ios/sdk/WeexSDK/Sources/Supporting Files/WeexSDK-Prefix.pch'
+
+ # s.xcconfig = { "GCC_PREPROCESSOR_DEFINITIONS" => '$(inherited) DEBUG=1' }
+
+ s.xcconfig = { "OTHER_LINK_FLAG" => '$(inherited) -ObjC'}
+
+ s.frameworks = 'CoreMedia','MediaPlayer','AVFoundation','AVKit','JavaScriptCore', 'GLKit'
+
+ s.dependency 'SocketRocket'
+ s.libraries = "stdc++"
+
+ end
[30/50] incubator-weex git commit: Merge branch '0.12-dev' of
https://github.com/acton393/incubator-weex into 0.12-dev
Posted by so...@apache.org.
Merge branch '0.12-dev' of https://github.com/acton393/incubator-weex into 0.12-dev
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/24ef3af9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/24ef3af9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/24ef3af9
Branch: refs/heads/dev
Commit: 24ef3af9445f933a63412699d8eb5696907e081f
Parents: 8ce111a aaa189f
Author: bobning <ni...@163.com>
Authored: Tue Apr 18 17:50:49 2017 +0800
Committer: bobning <ni...@163.com>
Committed: Tue Apr 18 17:50:49 2017 +0800
----------------------------------------------------------------------
ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m | 2 +-
ios/sdk/WeexSDK/Sources/Utility/WXUtility.m | 1 +
.../Sources/View/WXComponent+ViewManagement.m | 4 +--
ios/sdk/WeexSDK/Sources/WeexSDK.h | 33 ++++++++++----------
ios/sdk/buildScripts.sh | 25 ++++++++++-----
5 files changed, 39 insertions(+), 26 deletions(-)
----------------------------------------------------------------------
[17/50] incubator-weex git commit: * [ios] draw ellipse and support
letter-spacing
Posted by so...@apache.org.
* [ios] draw ellipse and support letter-spacing
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/242b1ec0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/242b1ec0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/242b1ec0
Branch: refs/heads/dev
Commit: 242b1ec04c0153dffc472635a5ea507b98a133fc
Parents: 5ea9966
Author: acton393 <zh...@gmail.com>
Authored: Mon Apr 17 20:46:42 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Mon Apr 17 20:46:42 2017 +0800
----------------------------------------------------------------------
.../WeexSDK/Sources/Component/WXTextComponent.h | 1 +
.../WeexSDK/Sources/Component/WXTextComponent.m | 259 +++++++++++++++----
2 files changed, 212 insertions(+), 48 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/242b1ec0/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.h
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.h b/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.h
index 627b774..e993366 100644
--- a/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.h
+++ b/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.h
@@ -22,4 +22,5 @@
@interface WXTextComponent : WXComponent
+ (void)setRenderUsingCoreText:(BOOL)usingCoreText;
+- (BOOL)useCoreText;
@end
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/242b1ec0/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m b/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m
index f9906ad..c4c8cd3 100644
--- a/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m
+++ b/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m
@@ -80,10 +80,13 @@
@end
-static BOOL textRenderUsingCoreText = NO;
+static BOOL textRenderUsingCoreText = YES;
+
+NSString *const WXTextTruncationToken = @"\u2026";
+CGFloat WXTextDefaultLineThroughWidth = 1.2;
@interface WXTextComponent()
-@property (nonatomic, assign)BOOL useCoreTextAttr;
+@property (nonatomic, assign) NSString *useCoreTextAttr;
@end
@implementation WXTextComponent
@@ -104,6 +107,8 @@ static BOOL textRenderUsingCoreText = NO;
WXTextDecoration _textDecoration;
NSString *_textOverflow;
CGFloat _lineHeight;
+ CGFloat _letterSpacing;
+ BOOL _truncationLine; // support trunk tail
}
+ (void)setRenderUsingCoreText:(BOOL)usingCoreText
@@ -127,9 +132,9 @@ static BOOL textRenderUsingCoreText = NO;
if (self) {
// just for coretext and textkit render replacement
if ([attributes objectForKey:@"coretext"]) {
- _useCoreTextAttr = [WXConvert BOOL:attributes[@"coretext"]];
+ _useCoreTextAttr = [WXConvert NSString:attributes[@"coretext"]];
} else {
- _useCoreTextAttr = NO;
+ _useCoreTextAttr = nil;
}
[self fillCSSStyles:styles];
@@ -141,9 +146,12 @@ static BOOL textRenderUsingCoreText = NO;
- (BOOL)useCoreText
{
- if (_useCoreTextAttr) {
+ if ([_useCoreTextAttr isEqualToString:@"yes"]) {
return YES;
}
+ if ([_useCoreTextAttr isEqualToString:@"false"]) {
+ return NO;
+ }
if ([WXTextComponent textRenderUsingCoreText]) {
return YES;
}
@@ -191,6 +199,7 @@ do {\
WX_STYLE_FILL_TEXT(textDecoration, textDecoration, WXTextDecoration, YES)
WX_STYLE_FILL_TEXT(textOverflow, textOverflow, NSString, NO)
WX_STYLE_FILL_TEXT_PIXEL(lineHeight, lineHeight, YES)
+ WX_STYLE_FILL_TEXT_PIXEL(letterSpacing, letterSpacing, YES)
UIEdgeInsets padding = {
WXFloorPixelValue(self.cssNode->style.padding[CSS_TOP] + self.cssNode->style.border[CSS_TOP]),
@@ -229,7 +238,13 @@ do {\
- (void)viewDidLoad
{
- ((WXText *)self.view).textStorage = _textStorage;
+ BOOL useCoreText = NO;
+ if ([self.view.wx_component isKindOfClass:NSClassFromString(@"WXTextComponent")] && [self.view.wx_component respondsToSelector:@selector(useCoreText)]) {
+ useCoreText = [(WXTextComponent*)self.view.wx_component useCoreText];
+ }
+ if (!useCoreText) {
+ ((WXText *)self.view).textStorage = _textStorage;
+ }
[self setNeedsDisplay];
}
@@ -363,11 +378,11 @@ do {\
}
// set default lineBreakMode
- // TODO:default clip
paragraphStyle.lineBreakMode = NSLineBreakByCharWrapping;
+ _truncationLine = NO;
if (_textOverflow && [_textOverflow length] > 0) {
if (_lines && [_textOverflow isEqualToString:@"ellipsis"])
- paragraphStyle.lineBreakMode = NSLineBreakByTruncatingTail;
+ _truncationLine = YES;
}
if (_lineHeight) {
@@ -380,6 +395,10 @@ do {\
range:(NSRange){0, attributedString.length}];
}
+ if (_letterSpacing) {
+ [attributedString addAttribute:NSKernAttributeName value:@(_letterSpacing) range:(NSRange){0, attributedString.length}];
+ }
+
if ([self adjustLineHeight]) {
if (_lineHeight > font.lineHeight) {
[attributedString addAttribute:NSBaselineOffsetAttributeName
@@ -497,10 +516,15 @@ do {\
- (void)syncTextStorageForView
{
CGFloat width = self.calculatedFrame.size.width - (_padding.left + _padding.right);
- NSTextStorage *textStorage = [self textStorageWithWidth:width];
+ NSTextStorage *textStorage = nil;
+ if (![self useCoreText]) {
+ textStorage = [self textStorageWithWidth:width];
+ }
[self.weexInstance.componentManager _addUITask:^{
if ([self isViewLoaded]) {
- ((WXText *)self.view).textStorage = textStorage;
+ if (![self useCoreText]) {
+ ((WXText *)self.view).textStorage = textStorage;
+ }
[self readyToRender]; // notify super component
[self setNeedsDisplay];
}
@@ -553,7 +577,7 @@ do {\
[layoutManager drawBackgroundForGlyphRange:glyphRange atPoint:textFrame.origin];
[layoutManager drawGlyphsForGlyphRange:glyphRange atPoint:textFrame.origin];
- }else {
+ } else {
CGRect textFrame = UIEdgeInsetsInsetRect(bounds, padding);
// sufficient height for text to draw, or frame lines will be empty
textFrame.size.height = bounds.size.height * 2;
@@ -565,60 +589,191 @@ do {\
NSMutableAttributedString * attributedStringCopy = [self buildCTAttributeString];
//add path
- CGPathRef path = NULL;
- path = CGPathCreateWithRect(textFrame, NULL);
+ CGPathRef cgPath = NULL;
+ cgPath = CGPathCreateWithRect(textFrame, NULL);
CTFramesetterRef framesetter = NULL;
framesetter = CTFramesetterCreateWithAttributedString((CFTypeRef)attributedStringCopy);
- CTFrameRef coretextFrameRef = NULL;
- coretextFrameRef = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, NULL);
- CGPathRelease(path);
- path = NULL;
+ CTFrameRef _coreTextFrameRef = NULL;
+ if (_coreTextFrameRef) {
+ CFRelease(_coreTextFrameRef);
+ }
+ _coreTextFrameRef = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), cgPath, NULL);
CFRelease(framesetter);
framesetter = NULL;
- CFArrayRef lines = NULL;
- lines = CTFrameGetLines(coretextFrameRef);
- CFIndex lineCount = CFArrayGetCount(lines);
+ CFArrayRef ctLines = NULL;
+ ctLines = CTFrameGetLines(_coreTextFrameRef);
+ CFIndex lineCount = CFArrayGetCount(ctLines);
+ NSMutableArray * mutableLines = [NSMutableArray new];
CGPoint lineOrigins[lineCount];
- CTFrameGetLineOrigins(coretextFrameRef, CFRangeMake(0, 0), lineOrigins);
- for (CFIndex lineIndex = 0;(!_lines || _lines > lineIndex) && lineIndex < lineCount; lineIndex ++) {
+ NSUInteger rowCount = 0;
+ BOOL needTruncation = NO;
+ CTLineRef ctTruncatedLine = NULL;
+ CTFrameGetLineOrigins(_coreTextFrameRef, CFRangeMake(0, 0), lineOrigins);
+ for (CFIndex lineIndex = 0;(!_lines || _lines >= lineIndex) && lineIndex < lineCount; lineIndex ++) {
CTLineRef lineRef = NULL;
- lineRef = CFArrayGetValueAtIndex(lines, lineIndex);
+ lineRef = CFArrayGetValueAtIndex(ctLines, lineIndex);
+ if (!lineRef) {
+ break;
+ }
CGPoint lineOrigin = lineOrigins[lineIndex];
lineOrigin.x += padding.left;
lineOrigin.y -= padding.top;
CGContextSetTextPosition(context, lineOrigin.x, lineOrigin.y);
CFArrayRef runs = CTLineGetGlyphRuns(lineRef);
- CGFloat xHeight = 0, underLinePosition = 0, lineThickness = 0 ;
- WXTextGetRunsMaxMetric(runs, &xHeight, &underLinePosition, &lineThickness);
- CGPoint strikethroughStart;
- strikethroughStart.x = lineOrigin.x - underLinePosition;
- strikethroughStart.y = lineOrigin.y + xHeight/2;
- for (CFIndex runIndex = 0; runIndex < CFArrayGetCount(runs); runIndex ++) {
- CTRunRef run = NULL;
- run = CFArrayGetValueAtIndex(runs, runIndex);
- CTRunDraw(run, context, CFRangeMake(0, 0));
- CFDictionaryRef attr = NULL;
- attr = CTRunGetAttributes(run);
- NSUnderlineStyle strikethrough = (NSUnderlineStyle)CFDictionaryGetValue(attr, NSStrikethroughStyleAttributeName);
-
- if (strikethrough) {
- // currently draw strikethrough
- CGPoint runPosition = CGPointZero;
- CTRunGetPositions(run, CFRangeMake(0, 1), &runPosition);
- strikethroughStart.x = lineOrigin.x + runPosition.x;
- CGContextSetLineWidth(context, 1.5);
- double length = CTRunGetTypographicBounds(run, CFRangeMake(0, 0), NULL, NULL, NULL);
- CGContextMoveToPoint(context, strikethroughStart.x, strikethroughStart.y);
- CGContextAddLineToPoint(context, strikethroughStart.x + length, strikethroughStart.y);
- CGContextStrokePath(context);
+ [mutableLines addObject:(__bridge id _Nonnull)(lineRef)];
+ // lineIndex base 0
+ rowCount = lineIndex + 1;
+ if (_lines > 0 && _truncationLine) {
+ if (_truncationLine && rowCount > _lines) {
+ needTruncation = YES;
+ do {
+ NSUInteger lastRow = [mutableLines count];
+ if (lastRow < rowCount) {
+ break;
+ }
+ [mutableLines removeLastObject];
+ } while (1);
+
+ }
+ }
+ if (_lines > 0 && _truncationLine) {
+ if (rowCount >= _lines &&!needTruncation && (CTLineGetStringRange(lineRef).length + CTLineGetStringRange(lineRef).location) < attributedStringCopy.length) {
+ needTruncation = YES;
+ }
+ }
+
+ if (needTruncation) {
+ ctTruncatedLine = [self buildTruncatedLineWithRuns:runs lines:mutableLines path:cgPath];
+ if (ctTruncatedLine) {
+ CFArrayRef truncatedRuns = CTLineGetGlyphRuns(ctTruncatedLine);
+ [self drawTextWithRuns:truncatedRuns context:context lineOrigin:lineOrigin];
+ CFRelease(ctTruncatedLine);
+ ctTruncatedLine = NULL;
+ continue;
}
+ }else {
+ [self drawTextWithRuns:runs context:context lineOrigin:lineOrigin];
}
}
- CFRelease(coretextFrameRef);
+
+ [mutableLines removeAllObjects];
+ CGPathRelease(cgPath);
+ CFRelease(_coreTextFrameRef);
+ _coreTextFrameRef = NULL;
+ cgPath = NULL;
CGContextRestoreGState(context);
}
}
+- (void)drawTextWithRuns:(CFArrayRef)runs context:(CGContextRef)context lineOrigin:(CGPoint)lineOrigin
+{
+ for (CFIndex runIndex = 0; runIndex < CFArrayGetCount(runs); runIndex ++) {
+ CTRunRef run = NULL;
+ run = CFArrayGetValueAtIndex(runs, runIndex);
+ CTRunDraw(run, context, CFRangeMake(0, 0));
+ CFDictionaryRef attr = NULL;
+ attr = CTRunGetAttributes(run);
+ CFIndex glyphCount = CTRunGetGlyphCount(run);
+ if (glyphCount <= 0) continue;
+
+ NSUnderlineStyle strikethrough = (NSUnderlineStyle)CFDictionaryGetValue(attr, NSStrikethroughStyleAttributeName);
+
+ if (strikethrough) {
+ // draw strikethrough
+ [self drawLineThroughWithRun:runs context:context index:runIndex origin:lineOrigin];
+ }
+ }
+}
+
+- (CTLineRef)buildTruncatedLineWithRuns:(CFArrayRef)runs lines:(NSMutableArray*)mutableLines path:(CGPathRef)cgPath
+{
+ NSAttributedString * truncationToken = nil;
+ CTLineRef ctTruncatedLine = NULL;
+ CTLineRef lastLine = (__bridge CTLineRef)(mutableLines.lastObject);
+
+ CFArrayRef lastLineRuns = CTLineGetGlyphRuns(lastLine);
+ NSUInteger lastLineRunCount = CFArrayGetCount(lastLineRuns);
+
+ CTLineRef truncationTokenLine = NULL;
+ NSMutableDictionary *attrs = nil;
+ if (lastLineRunCount > 0) {
+ CTRunRef run = CFArrayGetValueAtIndex(runs, lastLineRunCount - 1);
+ attrs = (id)CTRunGetAttributes(run);
+ attrs = attrs ? attrs.mutableCopy : [NSMutableDictionary new];
+ CTFontRef font = (__bridge CTFontRef)(attrs[(id)kCTFontAttributeName]);
+ CGFloat fontSize = font ? CTFontGetSize(font):32 * self.weexInstance.pixelScaleFactor;
+ UIFont * uiFont = [UIFont systemFontOfSize:fontSize];
+ if (uiFont) {
+ font = CTFontCreateWithName((__bridge CFStringRef)uiFont.fontName, uiFont.pointSize, NULL);
+ }
+ if (font) {
+ attrs[(id)kCTFontAttributeName] = (__bridge id)(font);
+ uiFont = nil;
+ CFRelease(font);
+ }
+ CGColorRef color = (__bridge CGColorRef)(attrs[(id)kCTForegroundColorAttributeName]);
+ if (color && CFGetTypeID(color) == CGColorGetTypeID() && CGColorGetAlpha(color) == 0) {
+ [attrs removeObjectForKey:(id)kCTForegroundColorAttributeName];
+ }
+
+ attrs = attrs?:[NSMutableDictionary new];
+ truncationToken = [[NSAttributedString alloc] initWithString:WXTextTruncationToken attributes:attrs];
+ truncationTokenLine = CTLineCreateWithAttributedString((CFAttributedStringRef)truncationToken);
+ }
+
+ if (truncationTokenLine) {
+ // default truncationType is kCTLineTruncationEnd
+ CTLineTruncationType truncationType = kCTLineTruncationEnd;
+ NSAttributedString *attributedString = [self buildCTAttributeString];
+ NSAttributedString * lastLineText = [attributedString attributedSubstringFromRange: WXNSRangeFromCFRange(CTLineGetStringRange(lastLine))];
+// NSMutableAttributedString *.mutableCopy;
+ NSMutableAttributedString *mutableLastLineText = lastLineText.mutableCopy;
+ [mutableLastLineText appendAttributedString:truncationToken];
+ CTLineRef ctLastLineExtend = CTLineCreateWithAttributedString((__bridge CFAttributedStringRef)mutableLastLineText);
+ if (ctLastLineExtend) {
+ CGRect cgPathRect = CGRectZero;
+ CGFloat truncatedWidth = 0;
+ if (CGPathIsRect(cgPath, &cgPathRect)) {
+ truncatedWidth = cgPathRect.size.width;
+ }
+ ctTruncatedLine = CTLineCreateTruncatedLine(ctLastLineExtend, truncatedWidth, truncationType, truncationTokenLine);
+ CFRelease(ctLastLineExtend);
+ ctLastLineExtend = NULL;
+ CFRelease(truncationTokenLine);
+ truncationTokenLine = NULL;
+ }
+ }
+
+ return ctTruncatedLine;
+}
+
+- (void)drawLineThroughWithRun:(CFArrayRef)runs context:(CGContextRef)context index:(CFIndex)runIndex origin:(CGPoint)lineOrigin
+{
+ CFRetain(runs);
+ CGContextRetain(context);
+
+ CGContextSaveGState(context);
+ CGFloat xHeight = 0, underLinePosition = 0, lineThickness = 0;
+ CTRunRef run = CFArrayGetValueAtIndex(runs, runIndex);
+ WXTextGetRunsMaxMetric(runs, &xHeight, &underLinePosition, &lineThickness);
+
+ CGPoint strikethroughStart;
+ strikethroughStart.x = lineOrigin.x - underLinePosition;
+ strikethroughStart.y = lineOrigin.y + xHeight/2;
+ CGPoint runPosition = CGPointZero;
+ CTRunGetPositions(run, CFRangeMake(0, 1), &runPosition);
+ strikethroughStart.x = lineOrigin.x + runPosition.x;
+ CGContextSetLineWidth(context, WXTextDefaultLineThroughWidth);
+ double length = CTRunGetTypographicBounds(run, CFRangeMake(0, 0), NULL, NULL, NULL);
+ CGContextMoveToPoint(context, strikethroughStart.x, strikethroughStart.y);
+ CGContextAddLineToPoint(context, strikethroughStart.x + length, strikethroughStart.y);
+ CGContextStrokePath(context);
+
+ CGContextRestoreGState(context);
+ CFRelease(runs);
+ CGContextRelease(context);
+}
+
- (CGSize)calculateTextHeightWithWidth:(CGFloat)aWidth
{
if (isnan(aWidth)) {
@@ -670,7 +825,9 @@ do {\
return CGSizeMake(suggestSize.width, totalHeight);
}
-static void WXTextGetRunsMaxMetric(CFArrayRef runs, CGFloat *xHeight, CGFloat *underlinePosition, CGFloat *lineThickness) {
+static void WXTextGetRunsMaxMetric(CFArrayRef runs, CGFloat *xHeight, CGFloat *underlinePosition, CGFloat *lineThickness)
+{
+ CFRetain(runs);
CGFloat maxXHeight = 0;
CGFloat maxUnderlinePos = 0;
CGFloat maxLineThickness = 0;
@@ -709,6 +866,12 @@ static void WXTextGetRunsMaxMetric(CFArrayRef runs, CGFloat *xHeight, CGFloat *u
if (lineThickness) {
*lineThickness = maxLineThickness;
}
+
+ CFRelease(runs);
+}
+
+NS_INLINE NSRange WXNSRangeFromCFRange(CFRange range) {
+ return NSMakeRange(range.location, range.length);
}
#ifdef UITEST
[04/50] incubator-weex git commit: * [android] jsd native crash fix
Posted by so...@apache.org.
* [android] jsd native crash fix
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/91a3a2ff
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/91a3a2ff
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/91a3a2ff
Branch: refs/heads/dev
Commit: 91a3a2ff9daf015d87304d54692f822032330f68
Parents: 8c97d6c
Author: zshshr <zh...@gmail.com>
Authored: Fri Apr 7 11:00:21 2017 +0800
Committer: zshshr <zh...@gmail.com>
Committed: Fri Apr 7 11:00:21 2017 +0800
----------------------------------------------------------------------
android/sdk/libs/armeabi/libweexv8.so | Bin 7791028 -> 7815380 bytes
1 file changed, 0 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/91a3a2ff/android/sdk/libs/armeabi/libweexv8.so
----------------------------------------------------------------------
diff --git a/android/sdk/libs/armeabi/libweexv8.so b/android/sdk/libs/armeabi/libweexv8.so
index 0718096..7765747 100755
Binary files a/android/sdk/libs/armeabi/libweexv8.so and b/android/sdk/libs/armeabi/libweexv8.so differ
[50/50] incubator-weex git commit: * [test] enable iOS macaca
Posted by so...@apache.org.
* [test] enable iOS macaca
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/2a862c90
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/2a862c90
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/2a862c90
Branch: refs/heads/dev
Commit: 2a862c90b3c5bad4ba6d61d49c8b93004ee676bd
Parents: 9381c91
Author: sospartan <so...@apache.org>
Authored: Tue Apr 18 17:55:39 2017 +0800
Committer: sospartan <so...@apache.org>
Committed: Fri Apr 21 13:32:01 2017 +0800
----------------------------------------------------------------------
.travis.yml | 7 +++-
package.json | 2 +-
test/pages/components/textarea-maxlength.vue | 8 ++--
test/pages/dom-operation.vue | 18 ++++-----
test/pages/image-onload.vue | 4 +-
test/pages/index.vue | 4 +-
test/pages/list-scroll.vue | 5 +--
test/pages/scroller-scroll.vue | 4 +-
test/pages/slider-infinite.vue | 4 +-
test/run.sh | 1 -
test/scripts/components/scroll-event.test.js | 8 ++--
test/scripts/components/slider-infinite.test.js | 4 +-
test/scripts/components/text.test.js | 2 +-
.../components/textarea-maxlength.test.js | 6 +--
test/scripts/dom.test.js | 40 ++++++++++----------
15 files changed, 56 insertions(+), 61 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2a862c90/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 6b94b22..3ff0ae8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -27,7 +27,7 @@ matrix:
include:
- os: osx
env: TEST_SUITE=ios
- osx_image: xcode8.3
+ osx_image: xcode8.1
language: objective-c
before_script:
- source test/ci-funcs.sh
@@ -39,10 +39,12 @@ matrix:
- npm install
- npm install mocha
- gem install danger danger-xcode_summary xcpretty xcpretty-json-formatter
+ - export run_in_ci=true
script:
- ./test/serve.sh 2&>1 > /dev/null &
- xcodebuild -project ios/sdk/WeexSDK.xcodeproj test -scheme WeexSDKTests CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -destination 'platform=iOS Simulator,name=iPhone 6' | XCPRETTY_JSON_FILE_OUTPUT=ios/sdk/xcodebuild.json xcpretty -f `xcpretty-json-formatter`
- bundle exec danger --dangerfile=Dangerfile-ios
+ - travis_retry bash test/run.sh ios
- os: linux
env: TEST_SUITE=android
jdk: oraclejdk8
@@ -67,6 +69,7 @@ matrix:
- npm install
- npm install mocha
- export DISPLAY=:99.0
+ - export run_in_ci=true
script:
- source ./test/ci-funcs.sh
- ./test/serve.sh 2&>1 > /dev/null &
@@ -74,7 +77,7 @@ matrix:
- ./run-ci.sh
- cd $TRAVIS_BUILD_DIR
- waitForEmulator
- - run_in_ci=true bash test/run.sh
+ - travis_retry bash test/run.sh
cache:
directories:
- node_modules
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2a862c90/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 3887a64..556b6a0 100644
--- a/package.json
+++ b/package.json
@@ -158,7 +158,7 @@
"weex-components": "^0.2.0",
"weex-loader": "^0.4.0",
"weex-vdom-tester": "^0.2.0",
- "weex-wd": "^1.0.22",
+ "weex-wd": "^1.0.23",
"wwp": "^0.3.5",
"xml2map": "^1.0.2",
"weex-gcanvas":"^0.3.5"
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2a862c90/test/pages/components/textarea-maxlength.vue
----------------------------------------------------------------------
diff --git a/test/pages/components/textarea-maxlength.vue b/test/pages/components/textarea-maxlength.vue
index 12bfff3..503a59f 100644
--- a/test/pages/components/textarea-maxlength.vue
+++ b/test/pages/components/textarea-maxlength.vue
@@ -1,8 +1,8 @@
<template>
- <div class="wrapper">
- <text style="font-size:30">{{value}}</text>
- <textarea id="textarea" class="textarea" value="" autofocus="true" maxlength=4 @input="oninput" @change="onchange" ></textarea>
- </div>
+ <scroller class="wrapper">
+ <text test-id="status" style="font-size:30">{{value}}</text>
+ <textarea test-id="textarea" id="textarea" class="textarea" value="" autofocus="true" maxlength=4 @input="oninput" @change="onchange" ></textarea>
+ </scroller>
</template>
<script>
const modal = weex.requireModule('modal')
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2a862c90/test/pages/dom-operation.vue
----------------------------------------------------------------------
diff --git a/test/pages/dom-operation.vue b/test/pages/dom-operation.vue
index 0f4625c..334803d 100644
--- a/test/pages/dom-operation.vue
+++ b/test/pages/dom-operation.vue
@@ -1,17 +1,13 @@
<template>
- <div>
- <div style="height:100;background-color:blue">
- <text v-if="display">item</text>
- </div>
- <div>
+ <scroller>
+ <text v-if="display" test-id="maynotexist">item</text>
<div v-for="item in repeat_items">
- <text>repeat</text>
+ <text :test-id="'item'+item">repeat item:{{item}}</text>
</div>
- </div>
- <text @click="onclick">display</text>
- <text @click="onclick2">display</text>
- <text @click="onclick3">{{text}}</text>
- </div>
+ <text test-id="btn1" @click="onclick">display</text>
+ <text test-id="status" @click="onclick2">display</text>
+ <text test-id="status2" @click="onclick3">{{text}}</text>
+ </scroller>
</template>
<script>
module.exports = {
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2a862c90/test/pages/image-onload.vue
----------------------------------------------------------------------
diff --git a/test/pages/image-onload.vue b/test/pages/image-onload.vue
index cec8a8e..0c0b309 100644
--- a/test/pages/image-onload.vue
+++ b/test/pages/image-onload.vue
@@ -1,8 +1,8 @@
<template>
- <div>
+ <scroller>
<image style="width: 500;height: 500;" src="https://gw.alicdn.com/tps/TB1bEMYKXXXXXaLaXXXXXXXXXXX-360-388.png" @load="onload"></image>
<text test-id='imgSize' style="font-size:30">{{size}}</text>
- </div>
+ </scroller>
</template>
<script>
module.exports = {
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2a862c90/test/pages/index.vue
----------------------------------------------------------------------
diff --git a/test/pages/index.vue b/test/pages/index.vue
index 6da2e56..2ede5f5 100644
--- a/test/pages/index.vue
+++ b/test/pages/index.vue
@@ -1,11 +1,11 @@
<template>
- <div>
+ <scroller>
<text test-id="title">hello world.</text>
<input ref="input" test-id="input" value="input" @blur="onblur"></input>
<text style="color:red" test-id="status">{{status}}</text>
<text @click="onclick" test-id="button">button</text>
<text @click="toggleblur" test-id="button2">blur input</text>
- </div>
+ </scroller>
</template>
<script>
export default {
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2a862c90/test/pages/list-scroll.vue
----------------------------------------------------------------------
diff --git a/test/pages/list-scroll.vue b/test/pages/list-scroll.vue
index 3051982..0a264b7 100644
--- a/test/pages/list-scroll.vue
+++ b/test/pages/list-scroll.vue
@@ -1,14 +1,13 @@
<template>
- <div>
<list style="background-color: beige; width: 750px; height: 900px" offset-accuracy="10" @scroll="onscroll">
+ <header><text test-id="status" ref="status" style="font-size: 40px;">{{status}}</text></header>
<cell v-for="(index, row) in rows" :key="index" style="padding: 10px;">
<text style="width: 750px; height: 150px; background-color: aqua">
{{row.id}}
</text>
</cell>
</list>
- <text ref="status" style="font-size: 40px;">{{status}}</text>
- </div>
+
</template>
<script>
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2a862c90/test/pages/scroller-scroll.vue
----------------------------------------------------------------------
diff --git a/test/pages/scroller-scroll.vue b/test/pages/scroller-scroll.vue
index db74a7f..81335a4 100644
--- a/test/pages/scroller-scroll.vue
+++ b/test/pages/scroller-scroll.vue
@@ -1,14 +1,12 @@
<template>
- <div>
<scroller style="background-color: beige; width: 750px; height: 900px" offset-accuracy="10" @scroll="onscroll">
+ <text style="font-size: 40px;position:fixed;top:0;left:0;" test-id="status">{{status}}</text>
<div v-for="row in rows" style="padding: 10px;">
<text style="width: 750px; height: 150px; background-color: aqua">
{{row.id}}
</text>
</div>
</scroller>
- <text style="font-size: 40px;">{{status}}</text>
- </div>
</template>
<script>
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2a862c90/test/pages/slider-infinite.vue
----------------------------------------------------------------------
diff --git a/test/pages/slider-infinite.vue b/test/pages/slider-infinite.vue
index 4559a25..726e376 100644
--- a/test/pages/slider-infinite.vue
+++ b/test/pages/slider-infinite.vue
@@ -1,5 +1,5 @@
<template>
- <div>
+ <scroller>
<text test-id="txt1">{{d1}}</text>
<slider auto-play="true" @change="change" style="width: 750px;height: 400px;background-color: blue" interval="500" infinite="false">
<div style="flex: 1;background-color: beige;align-items: center;" v-for="item in items">
@@ -19,7 +19,7 @@
</div>
<indicator style="height: 20px"></indicator>
</slider>
- </div>
+ </scroller>
</template>
<script>
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2a862c90/test/run.sh
----------------------------------------------------------------------
diff --git a/test/run.sh b/test/run.sh
index 070322d..95fef20 100755
--- a/test/run.sh
+++ b/test/run.sh
@@ -43,7 +43,6 @@ function runiOS {
echo 'Run in iOS...'
echo $1
buildiOS
- sleep 1m
echo 'killAll Simulator......'
killAll Simulator || echo 'killall failed'
# ps -ef
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2a862c90/test/scripts/components/scroll-event.test.js
----------------------------------------------------------------------
diff --git a/test/scripts/components/scroll-event.test.js b/test/scripts/components/scroll-event.test.js
index 17d94f4..1ad1cdb 100644
--- a/test/scripts/components/scroll-event.test.js
+++ b/test/scripts/components/scroll-event.test.js
@@ -32,7 +32,7 @@ describe('list scroll event', function () {
before(function () {
return util.init(driver)
.get(util.getPage('/list-scroll.js'))
- .waitForElementByXPath('//div/text[1]',util.getGETActionWaitTimeMills(),1000)
+ .waitForElementById('status',util.getGETActionWaitTimeMills(),1000)
});
after(function () {
@@ -58,7 +58,7 @@ describe('list scroll event', function () {
duration: 0.5
})
.sleep(2000)
- .elementByXPath('//div/text')
+ .elementById('status')
.text()
.then((text)=>{
var y = Math.abs(parseInt(text))
@@ -74,7 +74,7 @@ describe('scroller scroll event', function () {
before(function () {
return util.init(driver)
.get(util.getPage('/scroller-scroll.js'))
- .waitForElementByXPath('//div/text[1]',util.getGETActionWaitTimeMills(),1000)
+ .waitForElementById('status',util.getGETActionWaitTimeMills(),1000)
});
after(function () {
@@ -88,7 +88,7 @@ describe('scroller scroll event', function () {
.sleep(2000)
.touch('drag', {fromX:200, fromY:500, toX:100, toY:200})
.sleep(2000)
- .elementByXPath('//div/text')
+ .elementById('status')
.text()
.then((text)=>{
var y = Math.abs(parseInt(text))
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2a862c90/test/scripts/components/slider-infinite.test.js
----------------------------------------------------------------------
diff --git a/test/scripts/components/slider-infinite.test.js b/test/scripts/components/slider-infinite.test.js
index 8377d59..b032d6e 100644
--- a/test/scripts/components/slider-infinite.test.js
+++ b/test/scripts/components/slider-infinite.test.js
@@ -36,7 +36,7 @@ describe('slider infinite scroll', function () {
});
after(function () {
- // return util.quit(driver);
+ return util.quit(driver);
})
@@ -46,7 +46,7 @@ describe('slider infinite scroll', function () {
.elementById('txt1')
.text()
.then((text)=>{
- assert.equal(text, 1);
+ assert.equal(text>=1, true);
})
.elementById('txt2')
.text()
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2a862c90/test/scripts/components/text.test.js
----------------------------------------------------------------------
diff --git a/test/scripts/components/text.test.js b/test/scripts/components/text.test.js
index d280eda..0c867cf 100644
--- a/test/scripts/components/text.test.js
+++ b/test/scripts/components/text.test.js
@@ -7,7 +7,7 @@ var path = require('path');
var os = require('os');
var util = require("../util.js");
-describe('weex text', function () {
+describe('weex text @ignore-ios', function () {
this.timeout(util.getTimeoutMills());
var driver = util.createDriver(wd);
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2a862c90/test/scripts/components/textarea-maxlength.test.js
----------------------------------------------------------------------
diff --git a/test/scripts/components/textarea-maxlength.test.js b/test/scripts/components/textarea-maxlength.test.js
index 8eefa58..d72329d 100644
--- a/test/scripts/components/textarea-maxlength.test.js
+++ b/test/scripts/components/textarea-maxlength.test.js
@@ -32,7 +32,7 @@ describe('textarea maxlength vue test2 ', function () {
before(function () {
return util.init(driver)
.get(util.getPage('/components/textarea-maxlength.js'))
- .waitForElementByXPath('//div/text[1]',util.getGETActionWaitTimeMills(),1000)
+ .waitForElementById('textarea',util.getGETActionWaitTimeMills(),1000)
});
after(function () {
@@ -41,10 +41,10 @@ describe('textarea maxlength vue test2 ', function () {
it('#1 textarea maxlenght', () => {
return driver
- .waitForElementByXPath('//div/textarea')
+ .elementById('textarea')
.sendKeys('12345678')
.sleep(2000)
- .elementByXPath('//div/text[1]')
+ .elementById('status')
.text()
.then((text)=>{
assert.equal(text,'1234')
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/2a862c90/test/scripts/dom.test.js
----------------------------------------------------------------------
diff --git a/test/scripts/dom.test.js b/test/scripts/dom.test.js
index 05ceeb1..cebebc3 100644
--- a/test/scripts/dom.test.js
+++ b/test/scripts/dom.test.js
@@ -32,7 +32,7 @@ describe('weex mobile index', function () {
before(function () {
return util.init(driver)
.get(util.getPage('/dom-operation.js'))
- .waitForElementByXPath('//div/text[2]',util.getGETActionWaitTimeMills(),1000);
+ .waitForElementById('status',util.getGETActionWaitTimeMills(),1000);
});
after(function () {
@@ -41,11 +41,11 @@ describe('weex mobile index', function () {
it('#1 Repeat', ()=>{
return driver
- .elementsByXPath("//div/div[2]/div")
- .then((elems)=>{
- assert.equal(elems.length,5)
+ .elementById("item5")
+ .then((elem)=>{
+ assert.notEqual(elem ,undefined)
})
- .elementByXPath("//div/div[1]/text")
+ .elementById("maynotexist")
.then((noexist)=>{
assert.equal(noexist,undefined)
})
@@ -53,37 +53,37 @@ describe('weex mobile index', function () {
it('#2 Add new item', ()=>{
return driver
- .elementByXPath("//div/text[1]")
+ .elementById("btn1")
.click()
- .sleep(1000)
- .elementsByXPath("//div/div[2]/div")
- .then((elems)=>{
- assert.equal(elems.length,6)
+ .sleep(2000)
+ .elementById("item6")
+ .then((elem)=>{
+ assert.notEqual(elem ,undefined)
})
- .elementByXPath("//div/div[1]/text")
+ .elementById("maynotexist")
.then((existed)=>{
assert.notEqual(existed,undefined)
})
})
- it('#2 Remove item', ()=>{
+ it('#3 Remove item', ()=>{
return driver
- .elementByXPath("//div/text[2]")
+ .elementById("status")
.click()
- .sleep(1000)
- .elementsByXPath("//div/div[2]/div")
- .then((elems)=>{
- assert.equal(elems.length,5)
+ .sleep(2000)
+ .elementById("item6")
+ .then((elem)=>{
+ assert.equal(elem,undefined)
})
- .elementByXPath("//div/div[1]/text")
+ .elementById("maynotexist")
.then((noexist)=>{
assert.equal(noexist,undefined)
})
})
- it('#3 Update DOM attr', ()=>{
+ it('#4 Update DOM attr', ()=>{
return driver
- .elementByXPath("//div/text[3]")
+ .elementById("status2")
.text()
.then((text)=>{
assert.equal("finished",text);
[33/50] incubator-weex git commit: * [test] update case about
line-height
Posted by so...@apache.org.
* [test] update case about line-height
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/9d664884
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/9d664884
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/9d664884
Branch: refs/heads/dev
Commit: 9d6648840946f172d7a1eb4edfc8ea5256209711
Parents: 347180c
Author: YorkShen <sh...@gmail.com>
Authored: Tue Apr 18 18:53:15 2017 +0800
Committer: YorkShen <sh...@gmail.com>
Committed: Tue Apr 18 19:48:52 2017 +0800
----------------------------------------------------------------------
test/scripts/components/text.test.js | 174 +++++++++++++++---------------
1 file changed, 86 insertions(+), 88 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/9d664884/test/scripts/components/text.test.js
----------------------------------------------------------------------
diff --git a/test/scripts/components/text.test.js b/test/scripts/components/text.test.js
index 2924c7c..d280eda 100644
--- a/test/scripts/components/text.test.js
+++ b/test/scripts/components/text.test.js
@@ -14,120 +14,118 @@ describe('weex text', function () {
before(function () {
return util.init(driver)
.get(util.getPage('/components/text-layout.js'))
- .waitForElementById("lines", util.getGETActionWaitTimeMills(),1000)
+ .waitForElementById("lines", util.getGETActionWaitTimeMills(), 1000)
});
after(function () {
- // return util.quit(driver);
+ // return util.quit(driver);
})
- let scaleFactor = 0
+ let scaleFactor = 0
let screenWidth = 0
- it ('#1 Window size', () =>{
+ it('#1 Window size', () => {
return driver
- .getWindowSize()
- .then(size=>{
- screenWidth = size.width
- scaleFactor = screenWidth/ 750
- })
+ .getWindowSize()
+ .then(size => {
+ screenWidth = size.width
+ scaleFactor = screenWidth / 750
+ })
})
it('#2 Text Content', () => {
return driver
- .elementById('text-only')
- .text()
- .then((text)=>{
- assert.equal(text,'Hello World')
- })
+ .elementById('text-only')
+ .text()
+ .then((text) => {
+ assert.equal(text, 'Hello World')
+ })
})
- it ('#3 Line Height', () =>{
+ it('#3 Line Height', () => {
return driver
- .elementById('lines')
- .getRect()
- .then(rect => {
- console.log(rect)
- console.log(screenWidth)
- assert.equal(rect.width, screenWidth)
- assert.closeTo(rect.height, 32 * scaleFactor*2, 2)
- scroll(rect.height)
- })
+ .elementById('lines')
+ .getRect()
+ .then(rect => {
+ assert.equal(rect.width, screenWidth)
+ assert.closeTo(rect.height, 32 * scaleFactor * 2, 2)
+ scroll(rect.height)
+ })
})
- it ('#4 Font Size', () =>{
+ it('#4 Font Size', () => {
return driver
- .elementById('font')
- .getRect()
- .then(rect => {
- assert.equal(rect.width, screenWidth)
- assert.isAtLeast(rect.height, Math.floor(2 * 48 * scaleFactor))
- scroll(rect.height)
- })
+ .elementById('font')
+ .getRect()
+ .then(rect => {
+ assert.equal(rect.width, screenWidth)
+ assert.isAtLeast(rect.height, Math.floor(2 * 48 * scaleFactor))
+ scroll(rect.height)
+ })
})
- it ('#5 Fixed-Size', () =>{
+ it('#5 Fixed-Size', () => {
return driver
- .elementById('fixed-size')
- .getRect()
- .then(rect => {
- assert.equal(rect.width, Math.floor(300 * scaleFactor))
- assert.equal(rect.height, Math.floor(100 * scaleFactor))
- scroll(rect.height)
- })
+ .elementById('fixed-size')
+ .getRect()
+ .then(rect => {
+ assert.equal(rect.width, Math.floor(300 * scaleFactor))
+ assert.equal(rect.height, Math.floor(100 * scaleFactor))
+ scroll(rect.height)
+ })
})
- it ('#6 flex:1; align-Items: stretch; flex-direction:row', () =>{
+ it('#6 flex:1; align-Items: stretch; flex-direction:row', () => {
return driver
- .elementById('flexgrow-alignitems')
- .getRect()
- .then(rect => {
- assert.equal(rect.width, Math.floor(500 * scaleFactor))
- assert.equal(rect.height, Math.floor(300 * scaleFactor))
- scroll(rect.height)
- })
- })
-
- it ('#7 flex:1; align-Items: center; flex-direction:row', () =>{
+ .elementById('flexgrow-alignitems')
+ .getRect()
+ .then(rect => {
+ assert.equal(rect.width, Math.floor(500 * scaleFactor))
+ assert.equal(rect.height, Math.floor(300 * scaleFactor))
+ scroll(rect.height)
+ })
+ })
+
+ it('#7 flex:1; align-Items: center; flex-direction:row', () => {
return driver
- .elementById('flexgrow')
- .getRect()
- .then(rect => {
- assert.equal(rect.width, Math.floor(500 * scaleFactor))
- assert.equal(rect.height, Math.floor(40 * scaleFactor))
- scroll(rect.height)
- })
- })
+ .elementById('flexgrow')
+ .getRect()
+ .then(rect => {
+ assert.equal(rect.width, Math.floor(500 * scaleFactor))
+ assert.closeTo(rect.height, 40 * scaleFactor, 1)
+ scroll(rect.height)
+ })
+ })
- it ('#8 flex:1; align-Items: stretch; flex-direction:column', () =>{
+ it('#8 flex:1; align-Items: stretch; flex-direction:column', () => {
return driver
- .elementById('flexgrow-alignitems-coloumn')
- .getRect()
- .then(rect => {
- assert.equal(rect.width, Math.floor(500 * scaleFactor))
- assert.equal(rect.height, Math.floor(300 * scaleFactor))
- scroll(rect.height)
- })
- })
-
- it ('#9 flex:1; align-Items: auto; flex-direction:column', () =>{
+ .elementById('flexgrow-alignitems-coloumn')
+ .getRect()
+ .then(rect => {
+ assert.equal(rect.width, Math.floor(500 * scaleFactor))
+ assert.closeTo(rect.height, 300 * scaleFactor, 1)
+ scroll(rect.height)
+ })
+ })
+
+ it('#9 flex:1; align-Items: auto; flex-direction:column', () => {
return driver
- .elementById('flexgrow-column')
- .getRect()
- .then(rect => {
- assert.isBelow(rect.width, 500 * scaleFactor/2)
- assert.equal(rect.height, Math.floor(300 * scaleFactor))
- scroll(rect.height)
- })
- })
+ .elementById('flexgrow-column')
+ .getRect()
+ .then(rect => {
+ assert.isBelow(rect.width, 500 * scaleFactor / 2)
+ assert.closeTo(rect.height, 300 * scaleFactor, 1)
+ scroll(rect.height)
+ })
+ })
- function scroll(height){
- driver.touch('drag', {
- fromX:100,
- fromY:300+height,
- toX: 100,
- toY: 300,
- duration: 0.5
- })
- }
-});
+ function scroll(height) {
+ driver.touch('drag', {
+ fromX: 100,
+ fromY: 300 + height,
+ toX: 100,
+ toY: 300,
+ duration: 0.5
+ })
+ }
+});
\ No newline at end of file
[41/50] incubator-weex git commit: *[android] update to weexjsc
Posted by so...@apache.org.
*[android] update to weexjsc
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/d9ab2af3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/d9ab2af3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/d9ab2af3
Branch: refs/heads/dev
Commit: d9ab2af326c440d4e109c0f236d8e41da6a56608
Parents: 1c200e7
Author: zshshr <zh...@gmail.com>
Authored: Wed Apr 19 12:03:45 2017 +0800
Committer: zshshr <zh...@gmail.com>
Committed: Wed Apr 19 12:03:45 2017 +0800
----------------------------------------------------------------------
android/sdk/libs/armeabi/libweexjsc.so | Bin 0 -> 7816288 bytes
1 file changed, 0 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/d9ab2af3/android/sdk/libs/armeabi/libweexjsc.so
----------------------------------------------------------------------
diff --git a/android/sdk/libs/armeabi/libweexjsc.so b/android/sdk/libs/armeabi/libweexjsc.so
new file mode 100755
index 0000000..f251043
Binary files /dev/null and b/android/sdk/libs/armeabi/libweexjsc.so differ
[10/50] incubator-weex git commit: Merge branch '0.12-dev' into
android-feature-20170307-jsc
Posted by so...@apache.org.
Merge branch '0.12-dev' into android-feature-20170307-jsc
* 0.12-dev: (165 commits)
* [all] update src-header
* [android] Add dom for simpleList.
* [ios] set nil when view unload
* [ios] protect nil value
* [ios] bugfix gradient layer
* [test] ignore src-header check in danger
* [jsfm] jsfm update to 0.20.4
* [android] revert c++ time
Revert "Merge branch '0.12-dev' of https://github.com/lycool/incubator-weex into 0.12-dev"
Revert "* [android] update native so"
* [ios] adjust configuration
* [ios] adjust configuation
* [jsfm] v0.20.4
* [jsfm] revert commit call C++ timer instead of WxTimerModule with in weex jsfm
* [ios] iconfont accord config draw
* [ios] memory leak about coretext
* [android] remove instance#onActivityDestory from test
Revert "Revert "* [ios] iconfont refactor""
Revert "* [ios] iconfont refactor"
* [android] update native so
...
# Conflicts:
# android/sdk/assets/main.js
# android/sdk/libs/armeabi/libweexv8.so
# ios/sdk/WeexSDK/Resources/main.js
# package.json
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/dd47f268
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/dd47f268
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/dd47f268
Branch: refs/heads/dev
Commit: dd47f26853850a52ada59ed2b7792a43d32fec05
Parents: f61a50d 1f2d74d
Author: zshshr <zh...@gmail.com>
Authored: Mon Apr 17 11:44:01 2017 +0800
Committer: zshshr <zh...@gmail.com>
Committed: Mon Apr 17 11:44:01 2017 +0800
----------------------------------------------------------------------
.eslintignore | 1 +
.gitignore | 2 +-
.rat-excludes | 11 +
.travis.yml | 4 +-
DISCLAIMER | 1 +
LICENSE | 2 +-
NOTICE | 15 +-
.../alibaba/weex/commons/ApplicationTest.java | 222 +-----
android/commons/src/main/AndroidManifest.xml | 18 +
.../weex/commons/AbstractWeexActivity.java | 222 +-----
.../weex/commons/SimpleWeexActivity.java | 220 +-----
.../weex/commons/WXAnalyzerDelegate.java | 220 +-----
.../alibaba/weex/commons/adapter/BlurTool.java | 220 +-----
.../commons/adapter/BlurTransformation.java | 222 +-----
.../adapter/DefaultWebSocketAdapter.java | 220 +-----
.../adapter/DefaultWebSocketAdapterFactory.java | 220 +-----
.../commons/adapter/FrescoImageAdapter.java | 220 +-----
.../commons/adapter/FrescoImageComponent.java | 220 +-----
.../weex/commons/adapter/FrescoImageView.java | 220 +-----
.../weex/commons/adapter/ImageAdapter.java | 220 +-----
.../commons/adapter/JSExceptionAdapter.java | 220 +-----
.../alibaba/weex/commons/util/AssertUtil.java | 220 +-----
.../alibaba/weex/commons/util/ScreenUtil.java | 220 +-----
.../java/com/alibaba/weex/ApplicationTest.java | 20 +-
.../com/alibaba/weex/WeappJsBaseTestCase.java | 18 +
.../benchmark/BenchmarkActivityTestRule.java | 218 +-----
.../alibaba/weex/benchmark/BenchmarkTest.java | 218 +-----
.../com/alibaba/weex/benchmark/BoxPlot.java | 218 +-----
.../java/com/alibaba/weex/benchmark/Repeat.java | 218 +-----
.../com/alibaba/weex/benchmark/RepeatRule.java | 218 +-----
.../weex/benchmark/WeexNativeCompareTest.java | 218 +-----
.../weex/uitest/TC_AG/AG_AHref_A_Href.java | 18 +
.../TC_AG/AG_Border_A_Border_Bottom_Color.java | 18 +
.../AG_Border_A_Border_Bottom_Left_Radius.java | 18 +
.../AG_Border_A_Border_Bottom_Right_Radius.java | 18 +
.../TC_AG/AG_Border_A_Border_Bottom_Width.java | 18 +
.../uitest/TC_AG/AG_Border_A_Border_Color.java | 18 +
.../TC_AG/AG_Border_A_Border_Left_Color.java | 18 +
.../TC_AG/AG_Border_A_Border_Left_Width.java | 18 +
.../uitest/TC_AG/AG_Border_A_Border_Radius.java | 18 +
.../TC_AG/AG_Border_A_Border_Right_Color.java | 18 +
.../TC_AG/AG_Border_A_Border_Right_Width.java | 18 +
.../uitest/TC_AG/AG_Border_A_Border_Style.java | 18 +
.../TC_AG/AG_Border_A_Border_Top_Color.java | 18 +
.../AG_Border_A_Border_Top_Left_Radius.java | 18 +
.../AG_Border_A_Border_Top_Right_Radius.java | 18 +
.../TC_AG/AG_Border_A_Border_Top_Width.java | 18 +
.../uitest/TC_AG/AG_Border_A_Border_Width.java | 18 +
.../AG_Border_Div_Border_Bottom_Color.java | 18 +
...AG_Border_Div_Border_Bottom_Left_Radius.java | 18 +
...G_Border_Div_Border_Bottom_Right_Radius.java | 18 +
.../AG_Border_Div_Border_Bottom_Width.java | 18 +
.../TC_AG/AG_Border_Div_Border_Color.java | 18 +
.../TC_AG/AG_Border_Div_Border_Left_Color.java | 18 +
.../TC_AG/AG_Border_Div_Border_Left_Width.java | 18 +
.../TC_AG/AG_Border_Div_Border_Radius.java | 18 +
.../TC_AG/AG_Border_Div_Border_Right_Color.java | 18 +
.../TC_AG/AG_Border_Div_Border_Right_Width.java | 18 +
.../TC_AG/AG_Border_Div_Border_Style.java | 18 +
.../TC_AG/AG_Border_Div_Border_Top_Color.java | 18 +
.../AG_Border_Div_Border_Top_Left_Radius.java | 18 +
.../AG_Border_Div_Border_Top_Right_Radius.java | 18 +
.../TC_AG/AG_Border_Div_Border_Top_Width.java | 18 +
.../TC_AG/AG_Border_Div_Border_Width.java | 18 +
.../AG_Border_Image_Border_Bottom_Color.java | 18 +
..._Border_Image_Border_Bottom_Left_Radius.java | 18 +
...Border_Image_Border_Bottom_Right_Radius.java | 18 +
.../AG_Border_Image_Border_Bottom_Width.java | 18 +
.../TC_AG/AG_Border_Image_Border_Color.java | 18 +
.../AG_Border_Image_Border_Left_Color.java | 18 +
.../AG_Border_Image_Border_Left_Width.java | 18 +
.../TC_AG/AG_Border_Image_Border_Radius.java | 18 +
.../AG_Border_Image_Border_Right_Color.java | 18 +
.../AG_Border_Image_Border_Right_Width.java | 18 +
.../TC_AG/AG_Border_Image_Border_Style.java | 18 +
.../TC_AG/AG_Border_Image_Border_Top_Color.java | 18 +
.../AG_Border_Image_Border_Top_Left_Radius.java | 18 +
...AG_Border_Image_Border_Top_Right_Radius.java | 18 +
.../TC_AG/AG_Border_Image_Border_Top_Width.java | 18 +
.../TC_AG/AG_Border_Image_Border_Width.java | 18 +
.../AG_Border_Input_Border_Bottom_Color.java | 18 +
..._Border_Input_Border_Bottom_Left_Radius.java | 18 +
...Border_Input_Border_Bottom_Right_Radius.java | 18 +
.../AG_Border_Input_Border_Bottom_Width.java | 18 +
.../TC_AG/AG_Border_Input_Border_Color.java | 18 +
.../AG_Border_Input_Border_Left_Color.java | 18 +
.../AG_Border_Input_Border_Left_Width.java | 18 +
.../TC_AG/AG_Border_Input_Border_Radius.java | 18 +
.../AG_Border_Input_Border_Right_Color.java | 18 +
.../AG_Border_Input_Border_Right_Width.java | 18 +
.../TC_AG/AG_Border_Input_Border_Style.java | 18 +
.../TC_AG/AG_Border_Input_Border_Top_Color.java | 18 +
.../AG_Border_Input_Border_Top_Left_Radius.java | 18 +
...AG_Border_Input_Border_Top_Right_Radius.java | 18 +
.../TC_AG/AG_Border_Input_Border_Top_Width.java | 18 +
.../TC_AG/AG_Border_Input_Border_Width.java | 18 +
.../AG_Border_Switch_Border_Bottom_Color.java | 18 +
...Border_Switch_Border_Bottom_Left_Radius.java | 18 +
...order_Switch_Border_Bottom_Right_Radius.java | 18 +
.../AG_Border_Switch_Border_Bottom_Width.java | 18 +
.../TC_AG/AG_Border_Switch_Border_Color.java | 18 +
.../AG_Border_Switch_Border_Left_Color.java | 18 +
.../AG_Border_Switch_Border_Left_Width.java | 18 +
.../TC_AG/AG_Border_Switch_Border_Radius.java | 18 +
.../AG_Border_Switch_Border_Right_Color.java | 18 +
.../AG_Border_Switch_Border_Right_Width.java | 18 +
.../TC_AG/AG_Border_Switch_Border_Style.java | 18 +
.../AG_Border_Switch_Border_Top_Color.java | 18 +
...AG_Border_Switch_Border_Top_Left_Radius.java | 18 +
...G_Border_Switch_Border_Top_Right_Radius.java | 18 +
.../AG_Border_Switch_Border_Top_Width.java | 18 +
.../TC_AG/AG_Border_Switch_Border_Width.java | 18 +
.../AG_Border_Text_Border_Bottom_Color.java | 18 +
...G_Border_Text_Border_Bottom_Left_Radius.java | 18 +
..._Border_Text_Border_Bottom_Right_Radius.java | 18 +
.../AG_Border_Text_Border_Bottom_Width.java | 18 +
.../TC_AG/AG_Border_Text_Border_Color.java | 18 +
.../TC_AG/AG_Border_Text_Border_Left_Color.java | 18 +
.../TC_AG/AG_Border_Text_Border_Left_Width.java | 18 +
.../TC_AG/AG_Border_Text_Border_Radius.java | 18 +
.../AG_Border_Text_Border_Right_Color.java | 18 +
.../AG_Border_Text_Border_Right_Width.java | 18 +
.../TC_AG/AG_Border_Text_Border_Style.java | 18 +
.../TC_AG/AG_Border_Text_Border_Top_Color.java | 18 +
.../AG_Border_Text_Border_Top_Left_Radius.java | 18 +
.../AG_Border_Text_Border_Top_Right_Radius.java | 18 +
.../TC_AG/AG_Border_Text_Border_Top_Width.java | 18 +
.../TC_AG/AG_Border_Text_Border_Width.java | 18 +
.../AG_Border_Video_Border_Bottom_Color.java | 18 +
..._Border_Video_Border_Bottom_Left_Radius.java | 18 +
...Border_Video_Border_Bottom_Right_Radius.java | 18 +
.../AG_Border_Video_Border_Bottom_Width.java | 18 +
.../TC_AG/AG_Border_Video_Border_Color.java | 18 +
.../AG_Border_Video_Border_Left_Color.java | 18 +
.../AG_Border_Video_Border_Left_Width.java | 18 +
.../TC_AG/AG_Border_Video_Border_Radius.java | 18 +
.../AG_Border_Video_Border_Right_Color.java | 18 +
.../AG_Border_Video_Border_Right_Width.java | 18 +
.../TC_AG/AG_Border_Video_Border_Style.java | 18 +
.../TC_AG/AG_Border_Video_Border_Top_Color.java | 18 +
.../AG_Border_Video_Border_Top_Left_Radius.java | 18 +
...AG_Border_Video_Border_Top_Right_Radius.java | 18 +
.../TC_AG/AG_Border_Video_Border_Top_Width.java | 18 +
.../TC_AG/AG_Border_Video_Border_Width.java | 18 +
.../AG_Border_Web_Border_Bottom_Color.java | 18 +
...AG_Border_Web_Border_Bottom_Left_Radius.java | 18 +
...G_Border_Web_Border_Bottom_Right_Radius.java | 18 +
.../AG_Border_Web_Border_Bottom_Width.java | 18 +
.../TC_AG/AG_Border_Web_Border_Color.java | 18 +
.../TC_AG/AG_Border_Web_Border_Left_Color.java | 18 +
.../TC_AG/AG_Border_Web_Border_Left_Width.java | 18 +
.../TC_AG/AG_Border_Web_Border_Radius.java | 18 +
.../TC_AG/AG_Border_Web_Border_Right_Color.java | 18 +
.../TC_AG/AG_Border_Web_Border_Right_Width.java | 18 +
.../TC_AG/AG_Border_Web_Border_Style.java | 18 +
.../TC_AG/AG_Border_Web_Border_Top_Color.java | 18 +
.../AG_Border_Web_Border_Top_Left_Radius.java | 18 +
.../AG_Border_Web_Border_Top_Right_Radius.java | 18 +
.../TC_AG/AG_Border_Web_Border_Top_Width.java | 18 +
.../TC_AG/AG_Border_Web_Border_Width.java | 18 +
.../uitest/TC_AG/AG_CommonAttribute_A_If.java | 18 +
.../uitest/TC_AG/AG_CommonAttribute_Div_If.java | 18 +
.../TC_AG/AG_CommonAttribute_Image_If.java | 18 +
.../TC_AG/AG_CommonAttribute_Input_If.java | 18 +
.../TC_AG/AG_CommonAttribute_Switch_If.java | 18 +
.../TC_AG/AG_CommonAttribute_Text_If.java | 18 +
.../TC_AG/AG_CommonAttribute_Video_If.java | 18 +
.../uitest/TC_AG/AG_CommonAttribute_Web_If.java | 18 +
.../uitest/TC_AG/AG_CommonEvent_A_Onclick.java | 18 +
.../TC_AG/AG_CommonEvent_Div_Onclick.java | 18 +
.../TC_AG/AG_CommonEvent_Image_Onclick.java | 18 +
.../TC_AG/AG_CommonEvent_Input_Onclick.java | 18 +
.../TC_AG/AG_CommonEvent_Switch_Onclick.java | 18 +
.../TC_AG/AG_CommonEvent_Text_Onclick.java | 18 +
.../TC_AG/AG_CommonEvent_Video_Onclick.java | 18 +
.../TC_AG/AG_CommonEvent_Web_Onclick.java | 18 +
.../AG_CommonStyle_A_Background_Color.java | 18 +
.../TC_AG/AG_CommonStyle_A_Widthandheight.java | 18 +
.../AG_CommonStyle_Div_Background_Color.java | 18 +
.../AG_CommonStyle_Div_Widthandheight.java | 18 +
.../AG_CommonStyle_Image_Background_Color.java | 18 +
.../AG_CommonStyle_Image_Widthandheight.java | 18 +
.../AG_CommonStyle_Input_Background_Color.java | 18 +
.../AG_CommonStyle_Input_Widthandheight.java | 18 +
.../AG_CommonStyle_Switch_Background_Color.java | 18 +
.../AG_CommonStyle_Switch_Widthandheight.java | 18 +
.../AG_CommonStyle_Text_Background_Color.java | 18 +
.../AG_CommonStyle_Text_Widthandheight.java | 18 +
.../AG_CommonStyle_Video_Background_Color.java | 18 +
.../AG_CommonStyle_Video_Widthandheight.java | 18 +
.../AG_CommonStyle_Web_Background_Color.java | 18 +
.../AG_CommonStyle_Web_Widthandheight.java | 18 +
.../weex/uitest/TC_AG/AG_Gesture_Div_Click.java | 18 +
.../uitest/TC_AG/AG_Gesture_Div_Conflict.java | 18 +
.../uitest/TC_AG/AG_Gesture_Div_Longpress.java | 18 +
.../weex/uitest/TC_AG/AG_Gesture_Div_Pan.java | 18 +
.../weex/uitest/TC_AG/AG_Gesture_Div_Swipe.java | 18 +
.../weex/uitest/TC_AG/AG_Gesture_Div_Touch.java | 18 +
.../uitest/TC_AG/AG_Image_Image_Onload.java | 18 +
.../uitest/TC_AG/AG_Image_Image_Resize.java | 18 +
.../weex/uitest/TC_AG/AG_Image_Image_Src.java | 18 +
.../uitest/TC_AG/AG_Input_Input_Autofocus.java | 18 +
.../weex/uitest/TC_AG/AG_Input_Input_Color.java | 18 +
.../uitest/TC_AG/AG_Input_Input_Disabled.java | 18 +
.../weex/uitest/TC_AG/AG_Input_Input_Event.java | 18 +
.../uitest/TC_AG/AG_Input_Input_Font_Size.java | 18 +
.../uitest/TC_AG/AG_Input_Input_Font_Style.java | 18 +
.../TC_AG/AG_Input_Input_Font_Weight.java | 18 +
.../TC_AG/AG_Input_Input_Placeholder.java | 18 +
.../TC_AG/AG_Input_Input_Placeholder_Color.java | 18 +
.../uitest/TC_AG/AG_Input_Input_Text_Align.java | 18 +
.../weex/uitest/TC_AG/AG_Input_Input_Type.java | 18 +
.../weex/uitest/TC_AG/AG_Input_Input_Value.java | 18 +
.../weex/uitest/TC_AG/AG_Margin_A_Margin.java | 18 +
.../uitest/TC_AG/AG_Margin_A_Margin_Bottom.java | 18 +
.../uitest/TC_AG/AG_Margin_A_Margin_Left.java | 18 +
.../uitest/TC_AG/AG_Margin_A_Margin_Right.java | 18 +
.../uitest/TC_AG/AG_Margin_A_Margin_Top.java | 18 +
.../weex/uitest/TC_AG/AG_Margin_Div_Margin.java | 18 +
.../TC_AG/AG_Margin_Div_Margin_Bottom.java | 18 +
.../uitest/TC_AG/AG_Margin_Div_Margin_Left.java | 18 +
.../TC_AG/AG_Margin_Div_Margin_Right.java | 18 +
.../uitest/TC_AG/AG_Margin_Div_Margin_Top.java | 18 +
.../uitest/TC_AG/AG_Margin_Image_Margin.java | 18 +
.../TC_AG/AG_Margin_Image_Margin_Bottom.java | 18 +
.../TC_AG/AG_Margin_Image_Margin_Left.java | 18 +
.../TC_AG/AG_Margin_Image_Margin_Right.java | 18 +
.../TC_AG/AG_Margin_Image_Margin_Top.java | 18 +
.../uitest/TC_AG/AG_Margin_Input_Margin.java | 18 +
.../TC_AG/AG_Margin_Input_Margin_Bottom.java | 18 +
.../TC_AG/AG_Margin_Input_Margin_Left.java | 18 +
.../TC_AG/AG_Margin_Input_Margin_Right.java | 18 +
.../TC_AG/AG_Margin_Input_Margin_Top.java | 18 +
.../uitest/TC_AG/AG_Margin_Switch_Margin.java | 18 +
.../TC_AG/AG_Margin_Switch_Margin_Bottom.java | 18 +
.../TC_AG/AG_Margin_Switch_Margin_Left.java | 18 +
.../TC_AG/AG_Margin_Switch_Margin_Right.java | 18 +
.../TC_AG/AG_Margin_Switch_Margin_Top.java | 18 +
.../uitest/TC_AG/AG_Margin_Text_Margin.java | 18 +
.../TC_AG/AG_Margin_Text_Margin_Bottom.java | 18 +
.../TC_AG/AG_Margin_Text_Margin_Left.java | 18 +
.../TC_AG/AG_Margin_Text_Margin_Right.java | 18 +
.../uitest/TC_AG/AG_Margin_Text_Margin_Top.java | 18 +
.../uitest/TC_AG/AG_Margin_Video_Margin.java | 18 +
.../TC_AG/AG_Margin_Video_Margin_Bottom.java | 18 +
.../TC_AG/AG_Margin_Video_Margin_Left.java | 18 +
.../TC_AG/AG_Margin_Video_Margin_Right.java | 18 +
.../TC_AG/AG_Margin_Video_Margin_Top.java | 18 +
.../weex/uitest/TC_AG/AG_Margin_Web_Margin.java | 18 +
.../TC_AG/AG_Margin_Web_Margin_Bottom.java | 18 +
.../uitest/TC_AG/AG_Margin_Web_Margin_Left.java | 18 +
.../TC_AG/AG_Margin_Web_Margin_Right.java | 18 +
.../uitest/TC_AG/AG_Margin_Web_Margin_Top.java | 18 +
.../uitest/TC_AG/AG_Switch_Switch_Checked.java | 18 +
.../uitest/TC_AG/AG_Switch_Switch_Onchange.java | 18 +
.../weex/uitest/TC_AG/AG_Text_Text_Color.java | 18 +
.../uitest/TC_AG/AG_Text_Text_Font_Size.java | 18 +
.../uitest/TC_AG/AG_Text_Text_Font_Style.java | 18 +
.../uitest/TC_AG/AG_Text_Text_Font_Weight.java | 18 +
.../uitest/TC_AG/AG_Text_Text_Line_Height.java | 18 +
.../uitest/TC_AG/AG_Text_Text_Text_Align.java | 18 +
.../TC_AG/AG_Text_Text_Text_Decoration.java | 18 +
.../TC_AG/AG_Text_Text_Text_Overflow.java | 18 +
.../weex/uitest/TC_AG/AG_Text_Text_Value.java | 18 +
.../uitest/TC_AG/AG_Video_Video_Auto_Play.java | 18 +
.../weex/uitest/TC_AG/AG_Video_Video_Event.java | 18 +
.../TC_AG/AG_Video_Video_Play_Status.java | 18 +
.../weex/uitest/TC_AG/AG_Video_Video_Src.java | 18 +
.../weex/uitest/TC_AG/AG_Web_Web_Event.java | 18 +
.../weex/uitest/TC_AG/AG_Web_Web_Src.java | 18 +
.../TC_AHref/WeexUiTestCaseTCAHrefEvent.java | 18 +
.../TC_AHref/WeexUiTestCaseTCAHrefStyle.java | 18 +
.../TC_AHref/WeexUiTestCaseTCAHrefUpdate.java | 18 +
.../TC_Color/WeexUiTestCaseTcColorType.java | 18 +
.../TC_Color/WeexUiTestCaseTcColorUpdate.java | 18 +
.../WeexUiTestCaseTcDowngradeAppVFalse.java | 18 +
.../WeexUiTestCaseTcDowngradeAppVTrue.java | 18 +
.../WeexUiTestCaseTcDowngradeDevMFalse.java | 18 +
.../WeexUiTestCaseTcDowngradeDevMTrue.java | 18 +
.../WeexUiTestCaseTcDowngradeOSVFalse.java | 18 +
.../WeexUiTestCaseTcDowngradeOSVTrue.java | 18 +
.../WeexUiTestCaseTcDowngradeWeexVFalse.java | 18 +
.../WeexUiTestCaseTcDowngradeWeexVTrue.java | 18 +
.../TC_Image/WeexUiTestCaseTcImageUpdate.java | 18 +
.../TC_Input/WeexUiTestCaseTcInputEvent.java | 18 +
.../WeexUiTestCaseTcInputPlaceholder.java | 18 +
.../TC_Input/WeexUiTestCaseTcInputStyle.java | 18 +
.../TC_Input/WeexUiTestCaseTcInputType.java | 18 +
.../TC_Slider/WeexUiTestCaseTcSlider.java | 18 +
.../WeexUiTestCaseTcTextStyleColumn.java | 18 +
.../TC_Text/WeexUiTestCaseTcTextStyleOwn.java | 18 +
.../TC_Text/WeexUiTestCaseTcTextStyleRow.java | 18 +
.../TC_Text/WeexUiTestCaseTcTextType.java | 18 +
.../weex/uitest/WeexUiTestCaseTcElementOpt.java | 18 +
.../java/com/alibaba/weex/util/Falcon.java | 18 +
.../java/com/alibaba/weex/util/ScreenShot.java | 18 +
.../com/alibaba/weex/util/SdCardHelper.java | 18 +
.../java/com/alibaba/weex/util/TestFlow.java | 18 +
.../java/com/alibaba/weex/util/ViewUtil.java | 18 +
.../playground/app/src/main/AndroidManifest.xml | 18 +
.../com/alibaba/weex/BenchmarkActivity.java | 218 +-----
.../java/com/alibaba/weex/IndexActivity.java | 220 +-----
.../java/com/alibaba/weex/SplashActivity.java | 220 +-----
.../src/main/java/com/alibaba/weex/Utility.java | 220 +-----
.../java/com/alibaba/weex/WXApplication.java | 220 +-----
.../java/com/alibaba/weex/WXBaseActivity.java | 220 +-----
.../java/com/alibaba/weex/WXDebugActivity.java | 220 +-----
.../java/com/alibaba/weex/WXPageActivity.java | 220 +-----
.../com/alibaba/weex/constants/Constants.java | 220 +-----
.../alibaba/weex/extend/PlayDebugAdapter.java | 220 +-----
.../extend/WXInstanceStatisticsListener.java | 220 +-----
.../extend/adapter/InterceptWXHttpAdapter.java | 220 +-----
.../alibaba/weex/extend/component/RichText.java | 220 +-----
.../extend/component/WXComponentSyncTest.java | 220 +-----
.../alibaba/weex/extend/component/WXMask.java | 126 +---
.../extend/component/dom/WXMaskDomObject.java | 220 +-----
.../weex/extend/module/GeolocationModule.java | 220 +-----
.../alibaba/weex/extend/module/MyModule.java | 220 +-----
.../weex/extend/module/RenderModule.java | 220 +-----
.../weex/extend/module/SyncTestModule.java | 220 +-----
.../weex/extend/module/WXEventModule.java | 220 +-----
.../extend/module/location/DefaultLocation.java | 222 +-----
.../weex/extend/module/location/ILocatable.java | 220 +-----
.../extend/module/location/LocationFactory.java | 220 +-----
.../alibaba/weex/extend/view/WXMaskView.java | 220 +-----
.../alibaba/weex/https/HotRefreshManager.java | 220 +-----
.../com/alibaba/weex/https/WXHttpManager.java | 220 +-----
.../com/alibaba/weex/https/WXHttpResponse.java | 220 +-----
.../java/com/alibaba/weex/https/WXHttpTask.java | 220 +-----
.../alibaba/weex/https/WXOkHttpDispatcher.java | 220 +-----
.../alibaba/weex/https/WXRequestListener.java | 220 +-----
.../main/res/drawable-v21/ic_menu_camera.xml | 18 +
.../main/res/drawable-v21/ic_menu_gallery.xml | 18 +
.../main/res/drawable-v21/ic_menu_manage.xml | 18 +
.../src/main/res/drawable-v21/ic_menu_send.xml | 18 +
.../src/main/res/drawable-v21/ic_menu_share.xml | 18 +
.../main/res/drawable-v21/ic_menu_slideshow.xml | 18 +
.../app/src/main/res/drawable/side_nav_bar.xml | 18 +
.../src/main/res/layout/activity_dynamic.xml | 18 +
.../app/src/main/res/layout/activity_index.xml | 18 +
.../app/src/main/res/layout/activity_splash.xml | 18 +
.../app/src/main/res/layout/activity_wxpage.xml | 18 +
.../app/src/main/res/layout/app_bar_main.xml | 18 +
.../app/src/main/res/layout/camera.xml | 18 +
.../app/src/main/res/layout/catalog_item.xml | 18 +
.../app/src/main/res/layout/content_dynamic.xml | 18 +
.../app/src/main/res/layout/content_main.xml | 18 +
.../app/src/main/res/layout/content_wx_main.xml | 18 +
.../app/src/main/res/layout/hello_weex.xml | 222 +-----
.../app/src/main/res/layout/id_stub.xml | 18 +
.../playground/app/src/main/res/menu/main.xml | 18 +
.../app/src/main/res/menu/main_scan.xml | 18 +
.../app/src/main/res/menu/refresh.xml | 18 +
.../app/src/main/res/values-v21/styles.xml | 20 +-
.../app/src/main/res/values-w820dp/dimens.xml | 18 +
.../app/src/main/res/values/attrs.xml | 18 +
.../app/src/main/res/values/colors.xml | 18 +
.../app/src/main/res/values/dimens.xml | 18 +
.../app/src/main/res/values/drawables.xml | 18 +
.../src/main/res/values/scan_code_styles.xml | 18 +
.../app/src/main/res/values/strings.xml | 18 +
.../app/src/main/res/values/styles.xml | 18 +
android/playground/codeStyleSettings.xml | 18 +
android/sdk/assets/main.js | 15 +-
android/sdk/config/quality/checkstyle.xml | 18 +
android/sdk/libs/x86/libweexv8.so | Bin 4545544 -> 4545544 bytes
android/sdk/license/LICENSE | 218 +-----
android/sdk/src/main/AndroidManifest.xml | 18 +
.../taobao/weex/IWXActivityStateListener.java | 220 +-----
.../java/com/taobao/weex/IWXRenderListener.java | 220 +-----
.../com/taobao/weex/IWXStatisticsListener.java | 220 +-----
.../main/java/com/taobao/weex/InitConfig.java | 220 +-----
.../java/com/taobao/weex/RenderContainer.java | 220 +-----
.../java/com/taobao/weex/WXEnvironment.java | 238 +------
.../com/taobao/weex/WXGlobalEventModule.java | 126 +---
.../com/taobao/weex/WXGlobalEventReceiver.java | 220 +-----
.../java/com/taobao/weex/WXRenderErrorCode.java | 220 +-----
.../main/java/com/taobao/weex/WXSDKEngine.java | 136 +---
.../java/com/taobao/weex/WXSDKInstance.java | 261 ++-----
.../main/java/com/taobao/weex/WXSDKManager.java | 153 +----
.../taobao/weex/adapter/DefaultUriAdapter.java | 220 +-----
.../weex/adapter/DefaultWXHttpAdapter.java | 220 +-----
.../taobao/weex/adapter/DrawableStrategy.java | 218 +-----
.../taobao/weex/adapter/IDrawableLoader.java | 218 +-----
.../taobao/weex/adapter/IWXDebugAdapter.java | 220 +-----
.../com/taobao/weex/adapter/IWXHttpAdapter.java | 220 +-----
.../weex/adapter/IWXImgLoaderAdapter.java | 220 +-----
.../weex/adapter/IWXJSExceptionAdapter.java | 220 +-----
.../taobao/weex/adapter/IWXSoLoaderAdapter.java | 220 +-----
.../weex/adapter/IWXUserTrackAdapter.java | 220 +-----
.../com/taobao/weex/adapter/URIAdapter.java | 220 +-----
.../com/taobao/weex/annotation/Component.java | 220 +-----
.../com/taobao/weex/annotation/JSMethod.java | 220 +-----
.../weex/appfram/clipboard/IWXClipboard.java | 220 +-----
.../appfram/clipboard/WXClipboardModule.java | 220 +-----
.../navigator/IActivityNavBarSetter.java | 220 +-----
.../appfram/navigator/WXNavigatorModule.java | 130 +---
.../weex/appfram/pickers/DatePickerImpl.java | 220 +-----
.../weex/appfram/pickers/WXPickersModule.java | 394 +++++------
.../weex/appfram/storage/DefaultWXStorage.java | 220 +-----
.../taobao/weex/appfram/storage/IWXStorage.java | 220 +-----
.../weex/appfram/storage/IWXStorageAdapter.java | 220 +-----
.../appfram/storage/StorageResultHandler.java | 220 +-----
.../appfram/storage/WXSQLiteOpenHelper.java | 220 +-----
.../weex/appfram/storage/WXStorageModule.java | 220 +-----
.../appfram/websocket/IWebSocketAdapter.java | 220 +-----
.../websocket/IWebSocketAdapterFactory.java | 220 +-----
.../appfram/websocket/WebSocketCloseCodes.java | 220 +-----
.../weex/appfram/websocket/WebSocketModule.java | 220 +-----
.../java/com/taobao/weex/bridge/Invoker.java | 220 +-----
.../java/com/taobao/weex/bridge/JSCallback.java | 220 +-----
.../taobao/weex/bridge/JavascriptInvokable.java | 220 +-----
.../com/taobao/weex/bridge/MethodInvoker.java | 220 +-----
.../com/taobao/weex/bridge/ModuleFactory.java | 220 +-----
.../taobao/weex/bridge/NativeInvokeHelper.java | 220 +-----
.../taobao/weex/bridge/SimpleJSCallback.java | 220 +-----
.../java/com/taobao/weex/bridge/WXBridge.java | 220 +-----
.../com/taobao/weex/bridge/WXBridgeManager.java | 223 +-----
.../java/com/taobao/weex/bridge/WXHashMap.java | 220 +-----
.../java/com/taobao/weex/bridge/WXJSObject.java | 220 +-----
.../com/taobao/weex/bridge/WXModuleManager.java | 220 +-----
.../java/com/taobao/weex/bridge/WXParams.java | 143 +---
.../taobao/weex/bridge/WXServiceManager.java | 220 +-----
.../java/com/taobao/weex/bridge/WXTask.java | 220 +-----
.../taobao/weex/bridge/WXValidateProcessor.java | 220 +-----
.../java/com/taobao/weex/common/Constants.java | 222 +-----
.../com/taobao/weex/common/Destroyable.java | 220 +-----
.../java/com/taobao/weex/common/IWXBridge.java | 220 +-----
.../com/taobao/weex/common/IWXDebugProxy.java | 220 +-----
.../java/com/taobao/weex/common/IWXObject.java | 220 +-----
.../java/com/taobao/weex/common/IWXTask.java | 220 +-----
.../taobao/weex/common/OnWXScrollListener.java | 143 +---
.../taobao/weex/common/TypeModuleFactory.java | 220 +-----
.../com/taobao/weex/common/WXCompatModule.java | 220 +-----
.../java/com/taobao/weex/common/WXConfig.java | 220 +-----
.../com/taobao/weex/common/WXErrorCode.java | 220 +-----
.../com/taobao/weex/common/WXException.java | 220 +-----
.../com/taobao/weex/common/WXImageSharpen.java | 220 +-----
.../com/taobao/weex/common/WXImageStrategy.java | 222 +-----
.../com/taobao/weex/common/WXInstanceWrap.java | 220 +-----
.../taobao/weex/common/WXJSBridgeMsgType.java | 220 +-----
.../taobao/weex/common/WXJSEngineListener.java | 220 +-----
.../taobao/weex/common/WXJSExceptionInfo.java | 220 +-----
.../com/taobao/weex/common/WXJSService.java | 220 +-----
.../java/com/taobao/weex/common/WXModule.java | 220 +-----
.../com/taobao/weex/common/WXModuleAnno.java | 222 +-----
.../com/taobao/weex/common/WXPerformance.java | 222 +-----
.../com/taobao/weex/common/WXRefreshData.java | 220 +-----
.../taobao/weex/common/WXRenderStrategy.java | 223 +-----
.../java/com/taobao/weex/common/WXRequest.java | 220 +-----
.../taobao/weex/common/WXRequestListener.java | 220 +-----
.../java/com/taobao/weex/common/WXResponse.java | 220 +-----
.../taobao/weex/common/WXRuntimeException.java | 220 +-----
.../java/com/taobao/weex/common/WXThread.java | 220 +-----
.../com/taobao/weex/dom/ApplyStyleConsumer.java | 220 +-----
.../taobao/weex/dom/BasicEditTextDomObject.java | 220 +-----
.../com/taobao/weex/dom/CSSAlignConvert.java | 220 +-----
.../weex/dom/CSSFlexDirectionConvert.java | 220 +-----
.../com/taobao/weex/dom/CSSJustifyConvert.java | 220 +-----
.../taobao/weex/dom/CSSPositionTypeConvert.java | 220 +-----
.../com/taobao/weex/dom/CSSWrapConvert.java | 220 +-----
.../java/com/taobao/weex/dom/DOMAction.java | 220 +-----
.../com/taobao/weex/dom/DOMActionContext.java | 220 +-----
.../taobao/weex/dom/DOMActionContextImpl.java | 222 +-----
.../java/com/taobao/weex/dom/DomContext.java | 220 +-----
.../com/taobao/weex/dom/ImmutableDomObject.java | 220 +-----
.../java/com/taobao/weex/dom/RenderAction.java | 220 +-----
.../taobao/weex/dom/RenderActionContext.java | 220 +-----
.../com/taobao/weex/dom/RenderActionTask.java | 220 +-----
.../weex/dom/SafePutConcurrentHashMap.java | 220 +-----
.../weex/dom/TextAreaEditTextDomObject.java | 220 +-----
.../main/java/com/taobao/weex/dom/WXAttr.java | 220 +-----
.../com/taobao/weex/dom/WXCellDomObject.java | 57 ++
.../com/taobao/weex/dom/WXCustomStyleSpan.java | 220 +-----
.../java/com/taobao/weex/dom/WXDomHandler.java | 220 +-----
.../java/com/taobao/weex/dom/WXDomManager.java | 220 +-----
.../java/com/taobao/weex/dom/WXDomModule.java | 220 +-----
.../java/com/taobao/weex/dom/WXDomObject.java | 220 +-----
.../com/taobao/weex/dom/WXDomObjectFactory.java | 220 +-----
.../java/com/taobao/weex/dom/WXDomRegistry.java | 220 +-----
.../java/com/taobao/weex/dom/WXDomTask.java | 220 +-----
.../main/java/com/taobao/weex/dom/WXEvent.java | 220 +-----
.../com/taobao/weex/dom/WXImageQuality.java | 222 +-----
.../com/taobao/weex/dom/WXLineHeightSpan.java | 220 +-----
.../com/taobao/weex/dom/WXListDomObject.java | 220 +-----
.../taobao/weex/dom/WXRecyclerDomObject.java | 249 +------
.../taobao/weex/dom/WXScrollerDomObject.java | 220 +-----
.../main/java/com/taobao/weex/dom/WXStyle.java | 220 +-----
.../com/taobao/weex/dom/WXSwitchDomObject.java | 220 +-----
.../com/taobao/weex/dom/WXTextDomObject.java | 220 +-----
.../dom/action/AbstractAddElementAction.java | 220 +-----
.../dom/action/AbstractLayoutFinishAction.java | 220 +-----
.../java/com/taobao/weex/dom/action/Action.java | 220 +-----
.../com/taobao/weex/dom/action/Actions.java | 220 +-----
.../weex/dom/action/AddElementAction.java | 220 +-----
.../taobao/weex/dom/action/AddEventAction.java | 220 +-----
.../taobao/weex/dom/action/AddRuleAction.java | 220 +-----
.../taobao/weex/dom/action/AnimationAction.java | 221 +-----
.../weex/dom/action/CreateBodyAction.java | 220 +-----
.../weex/dom/action/CreateFinishAction.java | 220 +-----
.../weex/dom/action/GetComponentRectAction.java | 220 +-----
.../weex/dom/action/InvokeMethodAction.java | 220 +-----
.../weex/dom/action/MoveElementAction.java | 220 +-----
.../weex/dom/action/RefreshFinishAction.java | 220 +-----
.../weex/dom/action/RemoveElementAction.java | 220 +-----
.../weex/dom/action/RemoveEventAction.java | 220 +-----
.../weex/dom/action/ScrollToElementAction.java | 220 +-----
.../weex/dom/action/UpdateAttributeAction.java | 220 +-----
.../weex/dom/action/UpdateFinishAction.java | 220 +-----
.../weex/dom/action/UpdateStyleAction.java | 220 +-----
.../main/java/com/taobao/weex/http/Options.java | 220 +-----
.../main/java/com/taobao/weex/http/Status.java | 220 +-----
.../java/com/taobao/weex/http/WXHttpUtil.java | 220 +-----
.../com/taobao/weex/http/WXStreamModule.java | 220 +-----
.../com/taobao/weex/ui/ComponentCreator.java | 220 +-----
.../weex/ui/ExternalLoaderComponentHolder.java | 220 +-----
.../weex/ui/IExternalComponentGetter.java | 220 +-----
.../taobao/weex/ui/IExternalMoudleGetter.java | 220 +-----
.../com/taobao/weex/ui/IFComponentHolder.java | 220 +-----
.../java/com/taobao/weex/ui/IWXRenderTask.java | 220 +-----
.../taobao/weex/ui/RenderActionContextImpl.java | 220 +-----
.../taobao/weex/ui/SimpleComponentHolder.java | 220 +-----
.../com/taobao/weex/ui/WXComponentRegistry.java | 220 +-----
.../com/taobao/weex/ui/WXRenderHandler.java | 220 +-----
.../com/taobao/weex/ui/WXRenderManager.java | 220 +-----
.../ui/animation/BackgroundColorProperty.java | 218 +-----
.../ui/animation/DimensionUpdateListener.java | 218 +-----
.../weex/ui/animation/WXAnimationBean.java | 220 +-----
.../weex/ui/animation/WXAnimationModule.java | 220 +-----
.../ui/component/AbstractEditComponent.java | 270 ++------
.../weex/ui/component/AppearanceHelper.java | 220 +-----
.../weex/ui/component/NestedContainer.java | 220 +-----
.../taobao/weex/ui/component/Scrollable.java | 220 +-----
.../com/taobao/weex/ui/component/Textarea.java | 220 +-----
.../java/com/taobao/weex/ui/component/WXA.java | 220 +-----
.../taobao/weex/ui/component/WXBaseRefresh.java | 220 +-----
.../weex/ui/component/WXBasicComponentType.java | 221 +-----
.../taobao/weex/ui/component/WXComponent.java | 192 ++----
.../weex/ui/component/WXComponentFactory.java | 220 +-----
.../weex/ui/component/WXComponentProp.java | 220 +-----
.../com/taobao/weex/ui/component/WXDiv.java | 224 +-----
.../com/taobao/weex/ui/component/WXEmbed.java | 262 ++-----
.../com/taobao/weex/ui/component/WXHeader.java | 220 +-----
.../com/taobao/weex/ui/component/WXImage.java | 225 +------
.../taobao/weex/ui/component/WXIndicator.java | 220 +-----
.../com/taobao/weex/ui/component/WXInput.java | 220 +-----
.../com/taobao/weex/ui/component/WXLoading.java | 220 +-----
.../weex/ui/component/WXLoadingIndicator.java | 220 +-----
.../com/taobao/weex/ui/component/WXRefresh.java | 220 +-----
.../taobao/weex/ui/component/WXScroller.java | 220 +-----
.../com/taobao/weex/ui/component/WXSlider.java | 301 +++------
.../weex/ui/component/WXSliderNeighbor.java | 220 +-----
.../com/taobao/weex/ui/component/WXSwitch.java | 220 +-----
.../com/taobao/weex/ui/component/WXText.java | 220 +-----
.../weex/ui/component/WXTextDecoration.java | 220 +-----
.../taobao/weex/ui/component/WXVContainer.java | 220 +-----
.../com/taobao/weex/ui/component/WXVideo.java | 220 +-----
.../com/taobao/weex/ui/component/WXWeb.java | 220 +-----
.../component/helper/SoftKeyboardDetector.java | 148 ++++
.../ui/component/helper/WXStickyHelper.java | 220 +-----
.../ui/component/helper/WXTimeInputHelper.java | 222 +-----
.../ui/component/list/BasicListComponent.java | 220 +-----
.../component/list/HorizontalListComponent.java | 220 +-----
.../ui/component/list/ListComponentView.java | 220 +-----
.../ui/component/list/SimpleListComponent.java | 220 +-----
.../ui/component/list/SimpleRecyclerView.java | 220 +-----
.../ui/component/list/StickyHeaderHelper.java | 220 +-----
.../taobao/weex/ui/component/list/WXCell.java | 220 +-----
.../weex/ui/component/list/WXListComponent.java | 220 +-----
.../component/pesudo/OnActivePseudoListner.java | 220 +-----
.../weex/ui/component/pesudo/PesudoStatus.java | 220 +-----
.../pesudo/TouchActivePseudoListener.java | 220 +-----
.../com/taobao/weex/ui/module/WXMetaModule.java | 220 +-----
.../taobao/weex/ui/module/WXModalUIModule.java | 222 +-----
.../taobao/weex/ui/module/WXTimerModule.java | 222 +-----
.../taobao/weex/ui/module/WXWebViewModule.java | 220 +-----
.../com/taobao/weex/ui/view/IRenderResult.java | 26 +
.../com/taobao/weex/ui/view/IRenderStatus.java | 218 +-----
.../com/taobao/weex/ui/view/IWXScroller.java | 220 +-----
.../com/taobao/weex/ui/view/IWXTextView.java | 220 +-----
.../java/com/taobao/weex/ui/view/IWebView.java | 220 +-----
.../weex/ui/view/WXBaseCircleIndicator.java | 222 +-----
.../weex/ui/view/WXBaseRefreshLayout.java | 220 +-----
.../taobao/weex/ui/view/WXCircleIndicator.java | 220 +-----
.../weex/ui/view/WXCirclePageAdapter.java | 220 +-----
.../taobao/weex/ui/view/WXCircleViewPager.java | 241 +------
.../com/taobao/weex/ui/view/WXEditText.java | 220 +-----
.../com/taobao/weex/ui/view/WXFrameLayout.java | 239 +------
.../weex/ui/view/WXHorizontalScrollView.java | 220 +-----
.../com/taobao/weex/ui/view/WXImageView.java | 229 +------
.../taobao/weex/ui/view/WXLoadingLayout.java | 220 +-----
.../taobao/weex/ui/view/WXRefreshLayout.java | 220 +-----
.../com/taobao/weex/ui/view/WXScrollView.java | 220 +-----
.../taobao/weex/ui/view/WXSmoothScroller.java | 220 +-----
.../com/taobao/weex/ui/view/WXSwitchView.java | 220 +-----
.../com/taobao/weex/ui/view/WXTextView.java | 229 +------
.../com/taobao/weex/ui/view/WXVideoView.java | 220 +-----
.../java/com/taobao/weex/ui/view/WXWebView.java | 220 +-----
.../weex/ui/view/border/BorderCorner.java | 220 +-----
.../weex/ui/view/border/BorderDrawable.java | 222 +-----
.../taobao/weex/ui/view/border/BorderEdge.java | 220 +-----
.../weex/ui/view/border/BorderRadiusType.java | 218 +-----
.../taobao/weex/ui/view/border/BorderStyle.java | 220 +-----
.../taobao/weex/ui/view/border/BorderUtil.java | 220 +-----
.../view/border/BorderWidthStyleColorType.java | 218 +-----
.../weex/ui/view/border/BottomLeftCorner.java | 220 +-----
.../weex/ui/view/border/BottomRightCorner.java | 220 +-----
.../weex/ui/view/border/TopLeftCorner.java | 220 +-----
.../weex/ui/view/border/TopRightCorner.java | 220 +-----
.../taobao/weex/ui/view/gesture/WXGesture.java | 235 +------
.../ui/view/gesture/WXGestureObservable.java | 220 +-----
.../weex/ui/view/gesture/WXGestureType.java | 220 +-----
.../listview/ExtendedLinearLayoutManager.java | 220 +-----
.../weex/ui/view/listview/WXRecyclerView.java | 220 +-----
.../listview/adapter/IOnLoadMoreListener.java | 220 +-----
.../adapter/IRecyclerAdapterListener.java | 220 +-----
.../listview/adapter/ListBaseViewHolder.java | 220 +-----
.../adapter/RecyclerViewBaseAdapter.java | 222 +-----
.../adapter/TransformItemDecoration.java | 220 +-----
.../adapter/WXRecyclerViewOnScrollListener.java | 220 +-----
.../refresh/circlebar/CircleProgressBar.java | 222 +-----
.../circlebar/MaterialProgressDrawable.java | 222 +-----
.../ui/view/refresh/core/WXRefreshView.java | 220 +-----
.../ui/view/refresh/core/WXSwipeLayout.java | 220 +-----
.../ui/view/refresh/wrapper/BaseBounceView.java | 220 +-----
.../refresh/wrapper/BounceRecyclerView.java | 220 +-----
.../refresh/wrapper/BounceScrollerView.java | 220 +-----
.../java/com/taobao/weex/utils/ATagUtil.java | 226 +------
.../main/java/com/taobao/weex/utils/FontDO.java | 222 +-----
.../com/taobao/weex/utils/FunctionParser.java | 220 +-----
.../com/taobao/weex/utils/ImageDrawable.java | 218 +-----
.../java/com/taobao/weex/utils/ImgURIUtil.java | 218 +-----
.../java/com/taobao/weex/utils/LogLevel.java | 220 +-----
.../java/com/taobao/weex/utils/OsVersion.java | 220 +-----
.../taobao/weex/utils/SingleFunctionParser.java | 218 +-----
.../main/java/com/taobao/weex/utils/Trace.java | 220 +-----
.../com/taobao/weex/utils/TypefaceUtil.java | 220 +-----
.../taobao/weex/utils/WXDataStructureUtil.java | 220 +-----
.../java/com/taobao/weex/utils/WXDomUtils.java | 218 +-----
.../java/com/taobao/weex/utils/WXFileUtils.java | 220 +-----
.../com/taobao/weex/utils/WXInterception.java | 220 +-----
.../java/com/taobao/weex/utils/WXJsonUtils.java | 220 +-----
.../java/com/taobao/weex/utils/WXLogUtils.java | 126 +---
.../taobao/weex/utils/WXReflectionUtils.java | 220 +-----
.../com/taobao/weex/utils/WXResourceUtils.java | 325 ++-------
.../taobao/weex/utils/WXSoInstallMgrSdk.java | 220 +-----
.../java/com/taobao/weex/utils/WXUtils.java | 220 +-----
.../java/com/taobao/weex/utils/WXViewUtils.java | 220 +-----
.../taobao/weex/utils/batch/BactchExecutor.java | 220 +-----
.../weex/utils/batch/BatchOperationHelper.java | 220 +-----
.../taobao/weex/utils/batch/Interceptor.java | 220 +-----
android/sdk/src/main/res/values/strings.xml | 222 +-----
.../test/java/com/taobao/weex/TestActivity.java | 220 +-----
.../java/com/taobao/weex/TestApplication.java | 220 +-----
.../java/com/taobao/weex/WXSDKEngineTest.java | 222 +-----
.../java/com/taobao/weex/WXSDKInstanceTest.java | 223 +-----
.../java/com/taobao/weex/WXSDKManagerTest.java | 222 +-----
.../weex/adapter/DefaultUriAdapterTest.java | 222 +-----
.../clipboard/WXClipboardModuleTest.java | 222 +-----
.../navigator/WXNavigatorModuleTest.java | 222 +-----
.../appfram/storage/DefaultWXStorageTest.java | 222 +-----
.../appfram/storage/WXStorageModuleTest.java | 222 +-----
.../taobao/weex/bridge/WXBridgeManagerTest.java | 222 +-----
.../com/taobao/weex/bridge/WXBridgeTest.java | 222 +-----
.../com/taobao/weex/bridge/WXHashMapTest.java | 220 +-----
.../taobao/weex/bridge/WXModuleManagerTest.java | 222 +-----
.../java/com/taobao/weex/common/TestModule.java | 220 +-----
.../taobao/weex/common/TestModuleFactory.java | 220 +-----
.../com/taobao/weex/common/WXModuleTest.java | 222 +-----
.../java/com/taobao/weex/dom/TestDomObject.java | 220 +-----
.../java/com/taobao/weex/dom/WXAttrTest.java | 222 +-----
.../com/taobao/weex/dom/WXDomManagerTest.java | 222 +-----
.../com/taobao/weex/dom/WXDomModuleTest.java | 222 +-----
.../com/taobao/weex/dom/WXDomObjectTest.java | 222 +-----
.../com/taobao/weex/dom/WXDomStatementTest.java | 222 +-----
.../java/com/taobao/weex/dom/WXStyleTest.java | 220 +-----
.../taobao/weex/dom/WXTextDomObjectTest.java | 222 +-----
.../com/taobao/weex/dom/action/TestActions.java | 18 +
.../taobao/weex/http/WXStreamModuleTest.java | 220 +-----
.../com/taobao/weex/ui/ComponentHolderTest.java | 222 +-----
.../taobao/weex/ui/WXRenderStatementTest.java | 222 +-----
.../ui/animation/WXAnimationModuleTest.java | 222 +-----
.../taobao/weex/ui/component/ComponentTest.java | 220 +-----
.../weex/ui/component/EditComponentTest.java | 222 +-----
.../taobao/weex/ui/component/TestComponent.java | 220 +-----
.../taobao/weex/ui/component/TestConstants.java | 220 +-----
.../taobao/weex/ui/component/TextareaTest.java | 222 +-----
.../weex/ui/component/WXComponentTest.java | 222 +-----
.../com/taobao/weex/ui/component/WXDivTest.java | 222 +-----
.../taobao/weex/ui/component/WXEmbedTest.java | 222 +-----
.../taobao/weex/ui/component/WXHeaderTest.java | 222 +-----
.../taobao/weex/ui/component/WXImageTest.java | 128 +---
.../taobao/weex/ui/component/WXLoadingTest.java | 222 +-----
.../taobao/weex/ui/component/WXRefreshTest.java | 222 +-----
.../weex/ui/component/WXScrollerTest.java | 222 +-----
.../weex/ui/component/WXSliderNeighborTest.java | 222 +-----
.../taobao/weex/ui/component/WXSliderTest.java | 222 +-----
.../taobao/weex/ui/component/WXSwitchTest.java | 222 +-----
.../taobao/weex/ui/component/WXTextTest.java | 227 +------
.../taobao/weex/ui/component/WXVideoTest.java | 222 +-----
.../com/taobao/weex/ui/component/WXWebTest.java | 222 +-----
.../component/helper/WXTimeInputHelperTest.java | 220 +-----
.../ui/component/list/WXListComponentTest.java | 222 +-----
.../taobao/weex/ui/module/WXMetaModuleTest.java | 222 +-----
.../weex/ui/module/WXModalUIModuleTest.java | 222 +-----
.../weex/ui/module/WXTimerModuleTest.java | 222 +-----
.../weex/ui/module/WXWebViewModuleTest.java | 222 +-----
.../weex/ui/view/WXCirclePageAdapterTest.java | 222 +-----
.../taobao/weex/ui/view/WXScrollViewTest.java | 222 +-----
.../com/taobao/weex/ui/view/WXWebViewTest.java | 222 +-----
.../weex/ui/view/border/BorderCornerTest.java | 220 +-----
.../weex/ui/view/border/BorderDrawableTest.java | 220 +-----
.../weex/ui/view/gesture/WXGestureTest.java | 222 +-----
.../taobao/weex/utils/FunctionParserTest.java | 222 +-----
.../com/taobao/weex/utils/TypefaceUtilTest.java | 222 +-----
.../com/taobao/weex/utils/WXFileUtilsTest.java | 222 +-----
.../com/taobao/weex/utils/WXJsonUtilsTest.java | 222 +-----
.../com/taobao/weex/utils/WXLogUtilsTest.java | 222 +-----
.../weex/utils/WXReflectionUtilsTest.java | 222 +-----
.../taobao/weex/utils/WXResourceUtilsTest.java | 233 +------
.../java/com/taobao/weex/utils/WXUtilsTest.java | 222 +-----
.../configuration/MockitoConfiguration.java | 220 +-----
.../java/com/taobao/weex/ApplicationTest.java | 20 +-
android/weex_debug/src/main/AndroidManifest.xml | 18 +
.../main/java/com/taobao/weex/WXDebugTool.java | 18 +
.../java/com/taobao/weex/WXPFComponent.java | 18 +
.../main/java/com/taobao/weex/WXPrettyFish.java | 18 +
.../taobao/weex/adapter/DefautDebugAdapter.java | 18 +
.../taobao/weex/bridge/WXWebsocketBridge.java | 220 +-----
.../taobao/weex/scalpel/ScalpelFrameLayout.java | 18 +
.../weex/websocket/WXWebSocketManager.java | 126 +---
.../drawable/leak_canary_toast_background.xml | 18 +
.../res/drawable/prettyfish_bg_floatmenu.xml | 18 +
.../main/res/drawable/prettyfish_coordrect.xml | 18 +
.../src/main/res/drawable/prettyfish_fab.xml | 18 +
.../main/res/layout/prettyfish_coordview.xml | 18 +
.../main/res/layout/prettyfish_coverview.xml | 18 +
.../main/res/layout/prettyfish_datachart.xml | 18 +
.../main/res/layout/prettyfish_datafilelist.xml | 18 +
.../main/res/layout/prettyfish_datafilerow.xml | 18 +
.../src/main/res/layout/prettyfish_datarow.xml | 18 +
.../src/main/res/layout/prettyfish_detail.xml | 18 +
.../main/res/layout/prettyfish_filedetail.xml | 18 +
.../src/main/res/layout/prettyfish_filelist.xml | 18 +
.../src/main/res/layout/prettyfish_filerow.xml | 18 +
.../res/layout/prettyfish_floatmenu_item.xml | 18 +
.../res/layout/prettyfish_floatmenuview.xml | 18 +
.../main/res/layout/prettyfish_recordview.xml | 18 +
.../src/main/res/layout/prettyfish_table.xml | 18 +
.../main/res/layout/prettyfish_tableitem.xml | 18 +
.../src/main/res/layout/prettyfish_uedgird.xml | 18 +
.../weex_debug/src/main/res/values/attrs.xml | 18 +
.../weex_debug/src/main/res/values/colors.xml | 18 +
.../weex_debug/src/main/res/values/dimens.xml | 18 +
.../weex_debug/src/main/res/values/strings.xml | 18 +
.../java/com/taobao/weex/ExampleUnitTest.java | 20 +-
build/build.js | 18 +
build/config.js | 18 +
build/examples-banner-plugin.js | 18 +
build/karma.vue.conf.js | 25 +-
build/nightwatch.config.js | 19 +-
build/rollup.browser.common.config.js | 18 +
build/webpack.ci.config.js | 18 +
build/webpack.ci.web.config.js | 18 +
build/webpack.deprecatedmacacatest.config.js | 18 +
build/webpack.examples.config.js | 22 +-
build/webpack.examples.web.config.js | 51 +-
build/webpack.test.config.js | 18 +
build/webpack.test.web.config.js | 99 +++
build/webpack.vue.config.js | 18 +
dangerfile.js | 55 +-
doc/source/cn/references/modules/dom.md | 3 +-
doc/source/cn/references/modules/modal.md | 2 +
doc/source/references/modules/dom.md | 3 +-
doc/source/references/modules/modal.md | 2 +
examples/component/list/list-basic.we | 72 +-
examples/component/scroller-demo.we | 64 +-
examples/module/componentRect.we | 4 +-
examples/vanilla/index.js | 19 +-
examples/vue/components/sliderinfinite.vue | 46 ++
examples/vue/include/base-url.js | 18 +
examples/vue/index.vue | 10 +-
examples/vue/showcase/compositing.vue | 89 +++
examples/vue/showcase/include/util.js | 18 +
examples/vue/showcase/itemlist.vue | 11 +-
examples/vue/style/index.vue | 2 +-
.../npm/karma-rollup-preprocessor_vx.x.x.js | 53 ++
flow-typed/npm/karma-sinon-chai_vx.x.x.js | 38 ++
html5/frameworks/index.js | 18 +
html5/frameworks/legacy/api/methods.js | 18 +
html5/frameworks/legacy/api/modules.js | 18 +
html5/frameworks/legacy/app/bundle/bootstrap.js | 18 +
html5/frameworks/legacy/app/bundle/define.js | 18 +
html5/frameworks/legacy/app/bundle/index.js | 18 +
html5/frameworks/legacy/app/ctrl/index.js | 18 +
html5/frameworks/legacy/app/ctrl/init.js | 18 +
html5/frameworks/legacy/app/ctrl/misc.js | 18 +
html5/frameworks/legacy/app/differ.js | 18 +
html5/frameworks/legacy/app/downgrade.js | 18 +
html5/frameworks/legacy/app/index.js | 18 +
html5/frameworks/legacy/app/instance.js | 18 +
html5/frameworks/legacy/app/register.js | 18 +
html5/frameworks/legacy/app/viewport.js | 18 +
html5/frameworks/legacy/config.js | 19 +
html5/frameworks/legacy/core/array.js | 19 +
html5/frameworks/legacy/core/dep.js | 19 +
html5/frameworks/legacy/core/object.js | 19 +
html5/frameworks/legacy/core/observer.js | 19 +
html5/frameworks/legacy/core/state.js | 19 +
html5/frameworks/legacy/core/watcher.js | 19 +
html5/frameworks/legacy/index.js | 18 +
html5/frameworks/legacy/static/bridge.js | 18 +
html5/frameworks/legacy/static/create.js | 18 +
html5/frameworks/legacy/static/life.js | 26 +-
html5/frameworks/legacy/static/map.js | 18 +
html5/frameworks/legacy/static/misc.js | 18 +
html5/frameworks/legacy/static/register.js | 18 +
html5/frameworks/legacy/util/index.js | 18 +
html5/frameworks/legacy/util/shared.js | 18 +
html5/frameworks/legacy/vm/compiler.js | 18 +
html5/frameworks/legacy/vm/directive.js | 18 +
html5/frameworks/legacy/vm/dom-helper.js | 18 +
html5/frameworks/legacy/vm/events.js | 18 +
html5/frameworks/legacy/vm/index.js | 18 +
html5/frameworks/vanilla/index.js | 18 +
html5/render/browser/base/atomic.js | 18 +
html5/render/browser/base/component/flexbox.js | 18 +
html5/render/browser/base/component/index.js | 18 +
html5/render/browser/base/component/lazyload.js | 18 +
html5/render/browser/base/component/operate.js | 18 +
html5/render/browser/base/component/position.js | 18 +
html5/render/browser/base/component/sticky.js | 18 +
.../browser/base/component/valueFilter.js | 18 +
html5/render/browser/base/div.js | 18 +
html5/render/browser/base/droot.js | 18 +
html5/render/browser/base/moduleEvent.js | 18 +
html5/render/browser/base/root.js | 18 +
html5/render/browser/bridge/index.js | 18 +
html5/render/browser/bridge/protocol.js | 18 +
html5/render/browser/bridge/receiver.js | 18 +
html5/render/browser/bridge/sender.js | 18 +
html5/render/browser/dom/appearWatcher.js | 18 +
html5/render/browser/dom/componentManager.js | 18 +
html5/render/browser/dom/index.js | 18 +
.../browser/extend/api/animation/index.js | 18 +
.../render/browser/extend/api/animation/lib.js | 18 +
html5/render/browser/extend/api/clipboard.js | 18 +
html5/render/browser/extend/api/dom.js | 18 +
html5/render/browser/extend/api/event.js | 18 +
html5/render/browser/extend/api/geolocation.js | 18 +
html5/render/browser/extend/api/globalEvent.js | 18 +
html5/render/browser/extend/api/meta.js | 18 +
html5/render/browser/extend/api/modal.js | 18 +
html5/render/browser/extend/api/navigator.js | 18 +
html5/render/browser/extend/api/pageInfo.js | 18 +
html5/render/browser/extend/api/storage.js | 19 +
html5/render/browser/extend/api/stream.js | 18 +
html5/render/browser/extend/api/timer.js | 19 +-
html5/render/browser/extend/api/webSocket.js | 19 +
html5/render/browser/extend/api/webview.js | 18 +
html5/render/browser/extend/components/a.js | 18 +
.../browser/extend/components/countdown.js | 18 +
.../browser/extend/components/datepicker.js | 18 +
html5/render/browser/extend/components/embed.js | 18 +
.../browser/extend/components/image/index.js | 18 +
.../extend/components/indicator/index.js | 18 +
html5/render/browser/extend/components/input.js | 18 +
.../render/browser/extend/components/marquee.js | 18 +
.../browser/extend/components/neighbor/index.js | 18 +
.../browser/extend/components/richtext.js | 18 +
.../extend/components/scrollable/index.js | 18 +
.../extend/components/scrollable/list/hlist.js | 18 +
.../extend/components/scrollable/list/index.js | 18 +
.../extend/components/scrollable/list/list.js | 18 +
.../extend/components/scrollable/list/vlist.js | 18 +
.../components/scrollable/loading/index.js | 18 +
.../extend/components/scrollable/motion.js | 18 +
.../components/scrollable/refresh/index.js | 18 +
.../extend/components/scrollable/scroll.js | 19 +
.../extend/components/scrollable/scrollable.js | 18 +
.../components/scrollable/scroller/index.js | 18 +
.../render/browser/extend/components/select.js | 18 +
.../extend/components/slider/carrousel.js | 19 +
.../browser/extend/components/slider/index.js | 18 +
.../browser/extend/components/slider/timer.js | 19 +
.../browser/extend/components/spinner/index.js | 18 +
.../browser/extend/components/switch/index.js | 18 +
.../extend/components/tabheader/index.js | 18 +
html5/render/browser/extend/components/text.js | 18 +
.../browser/extend/components/textarea.js | 18 +
.../browser/extend/components/timepicker.js | 18 +
.../browser/extend/components/video/index.js | 18 +
html5/render/browser/extend/components/web.js | 18 +
html5/render/browser/extend/index.js | 18 +
html5/render/browser/index.js | 18 +
html5/render/browser/render/config.js | 18 +
html5/render/browser/render/gesture.js | 18 +
html5/render/browser/render/index.js | 19 +
html5/render/browser/render/loader.js | 19 +
html5/render/browser/render/register.js | 18 +
html5/render/browser/utils/array.js | 18 +
html5/render/browser/utils/index.js | 19 +
html5/render/browser/utils/logger.js | 20 +-
html5/render/native/index.js | 18 +
html5/render/vue/README.md | 24 +-
html5/render/vue/components/a.js | 35 +-
html5/render/vue/components/div.js | 35 +-
html5/render/vue/components/image.js | 44 +-
html5/render/vue/components/index.js | 18 +
html5/render/vue/components/input.js | 37 +-
.../render/vue/components/scrollable/header.js | 25 +-
.../vue/components/scrollable/list/cell.js | 24 +-
.../vue/components/scrollable/list/index.js | 24 +-
.../vue/components/scrollable/list/listMixin.js | 18 +
.../vue/components/scrollable/list/style.js | 34 +
.../components/scrollable/loading-indicator.js | 61 +-
.../render/vue/components/scrollable/loading.js | 24 +-
.../render/vue/components/scrollable/refresh.js | 24 +-
.../vue/components/scrollable/scroller.js | 26 +-
html5/render/vue/components/slider/index.js | 60 +-
html5/render/vue/components/slider/indicator.js | 76 ++-
.../render/vue/components/slider/slideMixin.js | 42 +-
html5/render/vue/components/switch.js | 84 ++-
html5/render/vue/components/text.js | 46 +-
html5/render/vue/components/textarea.js | 37 +-
html5/render/vue/components/video.js | 24 +-
html5/render/vue/components/warning.js | 18 +
html5/render/vue/components/web.js | 37 +-
html5/render/vue/core/index.js | 20 +
html5/render/vue/core/node.js | 47 ++
html5/render/vue/core/style.js | 230 +++++++
html5/render/vue/env/global.js | 29 +
html5/render/vue/env/index.js | 29 +-
html5/render/vue/env/viewport.js | 180 ++++-
html5/render/vue/env/weex.js | 28 +-
html5/render/vue/env/wx-env.js | 94 ++-
html5/render/vue/index.js | 32 +-
html5/render/vue/mixins/base.js | 61 +-
html5/render/vue/mixins/index.js | 18 +
html5/render/vue/mixins/input-common.js | 19 +
html5/render/vue/mixins/scrollable.js | 18 +
html5/render/vue/mixins/style.js | 160 +----
html5/render/vue/modules/animation.js | 25 +-
html5/render/vue/modules/dom.js | 27 +-
html5/render/vue/modules/index.js | 22 +-
html5/render/vue/modules/modal/alert.js | 18 +
html5/render/vue/modules/modal/confirm.js | 18 +
html5/render/vue/modules/modal/index.js | 28 +-
html5/render/vue/modules/modal/modal.js | 18 +
html5/render/vue/modules/modal/prompt.js | 18 +
html5/render/vue/modules/modal/style.js | 164 +++++
html5/render/vue/modules/modal/toast.js | 18 +
html5/render/vue/modules/navigator.js | 19 +
html5/render/vue/modules/webview.js | 19 +
html5/render/vue/styles/base.css | 194 ++++++
html5/render/vue/styles/components.css | 513 --------------
html5/render/vue/utils/component.js | 18 +
html5/render/vue/utils/event.js | 19 +-
html5/render/vue/utils/func.js | 19 +
html5/render/vue/utils/index.js | 54 +-
html5/render/vue/utils/lazyload.js | 19 +
html5/render/vue/utils/perf.js | 19 +
html5/render/vue/utils/style.js | 129 ++++
html5/render/vue/utils/type.js | 19 +
html5/render/vue/validator/check.js | 18 +
html5/render/vue/validator/index.js | 18 +
html5/render/vue/validator/prop.js | 18 +
html5/render/vue/validator/style.js | 18 +
html5/runtime/callback-manager.js | 19 +
html5/runtime/config.js | 18 +
html5/runtime/handler.js | 19 +
html5/runtime/index.js | 19 +
html5/runtime/init.js | 18 +
html5/runtime/listener.js | 19 +
html5/runtime/service.js | 19 +
html5/runtime/task-center.js | 18 +
html5/runtime/vdom/comment.js | 19 +
html5/runtime/vdom/document.js | 19 +
html5/runtime/vdom/element-types.js | 18 +
html5/runtime/vdom/element.js | 19 +
html5/runtime/vdom/index.js | 18 +
html5/runtime/vdom/node.js | 19 +
html5/runtime/vdom/operation.js | 18 +
html5/services/amd/index.js | 19 +
html5/services/broadcast-channel/index.js | 19 +
.../services/broadcast-channel/message-event.js | 19 +
html5/services/index.js | 18 +
html5/shared/arrayFrom.js | 19 +
html5/shared/console.js | 19 +
html5/shared/freeze.js | 18 +
html5/shared/index.js | 18 +
html5/shared/objectAssign.js | 18 +
html5/shared/objectSetPrototypeOf.js | 19 +
html5/shared/promise.js | 20 +
html5/shared/setTimeout.js | 19 +
html5/test/case/basic/append-root.source.js | 21 +-
html5/test/case/basic/append.source.js | 18 +
html5/test/case/basic/backward1.source.js | 20 +-
html5/test/case/basic/backward2.source.js | 20 +-
html5/test/case/basic/components.source.js | 18 +
.../case/basic/computed-in-repeat.source.js | 20 +-
html5/test/case/basic/created.source.js | 20 +-
html5/test/case/basic/dynamic-id.source.js | 18 +
.../test/case/basic/dynamic-property.source.js | 18 +
html5/test/case/basic/dynamic-type.source.js | 18 +
html5/test/case/basic/foo.source.js | 20 +-
html5/test/case/basic/foo2.source.js | 20 +-
html5/test/case/basic/foo3.source.js | 20 +-
html5/test/case/basic/foo4.source.js | 20 +-
html5/test/case/basic/foo5.source.js | 20 +-
html5/test/case/basic/foo6.source.js | 20 +-
html5/test/case/basic/foo7.source.js | 20 +-
html5/test/case/basic/foo8.source.js | 18 +
html5/test/case/basic/foo9.source.js | 20 +-
.../case/basic/global-weex-object.source.js | 18 +
html5/test/case/basic/id.source.js | 18 +
html5/test/case/basic/if-repeat.source.js | 20 +-
html5/test/case/basic/if-root.source.js | 18 +
html5/test/case/basic/if.source.js | 20 +-
html5/test/case/basic/promise.source.js | 18 +
html5/test/case/basic/ready.source.js | 20 +-
html5/test/case/basic/repeat-array-kv.source.js | 18 +
.../case/basic/repeat-array-no-kv.source.js | 18 +
.../case/basic/repeat-array-non-obj.source.js | 18 +
html5/test/case/basic/repeat-array-v.source.js | 18 +
html5/test/case/basic/repeat-index.source.js | 18 +
html5/test/case/basic/repeat-root.source.js | 18 +
html5/test/case/basic/repeat-watch.source.js | 20 +-
html5/test/case/basic/require.source.js | 18 +
html5/test/case/basic/reset-style.source.js | 18 +
html5/test/case/basic/static1.source.js | 18 +
html5/test/case/basic/static2.source.js | 18 +
html5/test/case/basic/static3.source.js | 18 +
html5/test/case/basic/static4.source.js | 18 +
html5/test/case/basic/subvm.source.js | 18 +
html5/test/case/basic/transformer1.source.js | 20 +-
.../case/complex/append-root-event.source.js | 19 +-
html5/test/case/complex/click.source.js | 20 +-
html5/test/case/complex/computed.source.js | 18 +
html5/test/case/complex/if-refresh.source.js | 20 +-
.../case/complex/if-repeat-refresh.source.js | 20 +-
html5/test/case/complex/inline-click.source.js | 20 +-
html5/test/case/complex/input-binding.source.js | 18 +
html5/test/case/complex/refresh2.source.js | 19 +-
.../test/case/complex/repeat-track-by.source.js | 18 +
html5/test/case/complex/transformer2.source.js | 20 +-
html5/test/case/complex/transformer3.source.js | 20 +-
.../case/multi/clear-dep-target-error.source.js | 18 +
.../case/multi/clear-dep-target-fine.source.js | 18 +
html5/test/case/multi/clear-moduleA.source.js | 18 +
html5/test/case/multi/clear-moduleB.source.js | 18 +
html5/test/case/prepare.js | 18 +
html5/test/case/signals/modal.source.js | 18 +
html5/test/case/signals/signals-long.source.js | 18 +
html5/test/case/signals/signals.source.js | 18 +
html5/test/case/signals/timer.source.js | 18 +
html5/test/case/tester.js | 18 +
.../test/case/throws/global-variable1.source.js | 18 +
.../test/case/throws/global-variable2.source.js | 18 +
.../test/case/throws/global-variable3.source.js | 18 +
html5/test/e2e/runner.js | 18 +
html5/test/e2e/specs/index.js | 18 +
html5/test/render/vue/components/a.js | 18 +
html5/test/render/vue/components/div.js | 18 +
html5/test/render/vue/components/image.js | 22 +-
html5/test/render/vue/components/list.js | 18 +
html5/test/render/vue/components/switch.js | 22 +-
html5/test/render/vue/components/text.js | 22 +-
html5/test/render/vue/components/web.js | 22 +-
html5/test/render/vue/core/scope-style-map.js | 94 +++
html5/test/render/vue/core/style.js | 83 +++
.../vue/data/build/dotvue/scoped-style.js | 543 +++++++++++++++
html5/test/render/vue/data/css/head1.css | 38 ++
html5/test/render/vue/data/css/head10.css | 14 +
html5/test/render/vue/data/css/head11.css | 2 +
html5/test/render/vue/data/css/head12.css | 2 +
html5/test/render/vue/data/css/head13.css | 25 +
html5/test/render/vue/data/css/head2.css | 11 +
html5/test/render/vue/data/css/head3.css | 25 +
html5/test/render/vue/data/css/head4.css | 56 ++
html5/test/render/vue/data/css/head5.css | 153 +++++
html5/test/render/vue/data/css/head6.css | 4 +
html5/test/render/vue/data/css/head7.css | 61 ++
html5/test/render/vue/data/css/head8.css | 507 ++++++++++++++
html5/test/render/vue/data/css/head9.css | 173 +++++
.../render/vue/data/dotvue/scoped-style.vue | 13 +
html5/test/render/vue/data/head-css.js | 31 +
html5/test/render/vue/data/head-map.js | 293 ++++++++
html5/test/render/vue/examples/list-cell.js | 18 +
html5/test/render/vue/helper.js | 140 ----
html5/test/render/vue/helper/env.js | 38 ++
html5/test/render/vue/helper/index.js | 91 +++
html5/test/render/vue/helper/runtime.js | 92 +++
html5/test/render/vue/helper/utils.js | 26 +
html5/test/render/vue/utils.js | 47 --
html5/test/render/vue/utils/func.js | 67 ++
html5/test/render/vue/utils/style.js | 86 +++
html5/test/render/vue/validator/check.js | 18 +
html5/test/render/vue/validator/index.js | 18 +
html5/test/render/vue/validator/prop.js | 18 +
html5/test/render/vue/validator/style.js | 18 +
html5/test/unit/default/api/methods.js | 18 +
html5/test/unit/default/api/modules.js | 18 +
html5/test/unit/default/app/bundle.js | 18 +
html5/test/unit/default/app/ctrl.js | 18 +
html5/test/unit/default/app/downgrade.js | 18 +
html5/test/unit/default/app/index.js | 18 +
html5/test/unit/default/app/register.js | 18 +
html5/test/unit/default/app/viewport.js | 18 +
html5/test/unit/default/helper/document.js | 19 +-
html5/test/unit/default/runtime.js | 18 +
html5/test/unit/default/util/index.js | 18 +
html5/test/unit/default/util/shared.js | 18 +
html5/test/unit/default/vm/compiler.js | 18 +
html5/test/unit/default/vm/directive.js | 18 +
html5/test/unit/default/vm/dom-helper.js | 18 +
html5/test/unit/default/vm/events.js | 18 +
html5/test/unit/default/vm/vm.js | 18 +
html5/test/unit/shared/BroadcastChannel.js | 18 +
html5/test/unit/shared/arrayFrom.js | 18 +
html5/test/unit/shared/console.js | 18 +
html5/test/unit/shared/index.js | 18 +
html5/test/unit/shared/objectAssign.js | 18 +
html5/test/unit/shared/objectSetPrototypeOf.js | 18 +
html5/test/unit/vanilla/index.js | 18 +
html5/test/unit/vdom/index.js | 18 +
html5/test/unit/vdom/listener.js | 18 +
html5/test/unit/vdom/node.js | 18 +
.../WeexDemo.xcodeproj/project.pbxproj | 6 +
ios/playground/WeexDemo/AppDelegate.h | 23 +-
ios/playground/WeexDemo/AppDelegate.m | 28 +-
.../delete.imageset/Contents.json | 23 +
.../Assets.xcassets/delete.imageset/delete.png | Bin 0 -> 289 bytes
.../delete.imageset/delete@2x.png | Bin 0 -> 504 bytes
.../delete.imageset/delete@3x.png | Bin 0 -> 690 bytes
.../scan_history.imageset/Contents.json | 23 +
.../scan_history.imageset/history.png | Bin 0 -> 546 bytes
.../scan_history.imageset/history@2x.png | Bin 0 -> 1037 bytes
.../scan_history.imageset/history@3x.png | Bin 0 -> 1628 bytes
.../WeexDemo/DemoBaseViewController.h | 23 +-
.../WeexDemo/DemoBaseViewController.m | 23 +-
ios/playground/WeexDemo/DemoDefine.h | 25 +-
ios/playground/WeexDemo/Info.plist | 12 +-
.../WeexDemo/Scanner/WXScannerHistoryVC.h | 24 +
.../WeexDemo/Scanner/WXScannerHistoryVC.m | 207 ++++++
ios/playground/WeexDemo/Scanner/WXScannerVC.h | 23 +-
ios/playground/WeexDemo/Scanner/WXScannerVC.m | 39 +-
ios/playground/WeexDemo/UIView+UIThreadCheck.h | 23 +-
ios/playground/WeexDemo/UIView+UIThreadCheck.m | 23 +-
.../WeexDemo/UIViewController+WXDemoNaviBar.h | 23 +-
.../WeexDemo/UIViewController+WXDemoNaviBar.m | 73 +-
ios/playground/WeexDemo/WXDemoViewController.h | 23 +-
ios/playground/WeexDemo/WXDemoViewController.m | 23 +-
ios/playground/WeexDemo/WXSyncTestModule.h | 23 +-
ios/playground/WeexDemo/WXSyncTestModule.m | 23 +-
.../WeexDemo/debug/WXATLoggerPlugin.h | 23 +-
.../WeexDemo/debug/WXATLoggerPlugin.m | 23 +-
.../WeexDemo/debug/WXATViewHierarchyPlugin.h | 23 +-
.../WeexDemo/debug/WXATViewHierarchyPlugin.m | 23 +-
.../extend/component/WXSelectComponent.h | 23 +-
.../extend/component/WXSelectComponent.m | 23 +-
.../extend/handler/WXImgLoaderDefaultImpl.h | 23 +-
.../extend/handler/WXImgLoaderDefaultImpl.m | 23 +-
.../WeexDemo/extend/module/WXEventModule.h | 23 +-
.../WeexDemo/extend/module/WXEventModule.m | 23 +-
ios/playground/WeexDemo/main.m | 23 +-
ios/playground/WeexDemoTests/WeexDemoTests.m | 21 +-
.../WeexUITestDemoUITests.m | 21 +-
ios/sdk/WeexSDK.xcodeproj/project.pbxproj | 10 +
ios/sdk/WeexSDK/Resources/main.js | 15 +-
ios/sdk/WeexSDK/Sources/Bridge/JSValue+Weex.h | 23 +-
ios/sdk/WeexSDK/Sources/Bridge/JSValue+Weex.m | 23 +-
.../WeexSDK/Sources/Bridge/WXBridgeContext.h | 23 +-
.../WeexSDK/Sources/Bridge/WXBridgeContext.m | 27 +-
ios/sdk/WeexSDK/Sources/Bridge/WXBridgeMethod.h | 23 +-
ios/sdk/WeexSDK/Sources/Bridge/WXBridgeMethod.m | 23 +-
ios/sdk/WeexSDK/Sources/Bridge/WXCallJSMethod.h | 23 +-
ios/sdk/WeexSDK/Sources/Bridge/WXCallJSMethod.m | 23 +-
.../WeexSDK/Sources/Bridge/WXComponentMethod.h | 23 +-
.../WeexSDK/Sources/Bridge/WXComponentMethod.m | 23 +-
.../Sources/Bridge/WXDebugLoggerBridge.h | 23 +-
.../Sources/Bridge/WXDebugLoggerBridge.m | 23 +-
ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.h | 23 +-
ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m | 100 ++-
ios/sdk/WeexSDK/Sources/Bridge/WXModuleMethod.h | 23 +-
ios/sdk/WeexSDK/Sources/Bridge/WXModuleMethod.m | 23 +-
ios/sdk/WeexSDK/Sources/Bridge/WXPolyfillSet.h | 23 +-
ios/sdk/WeexSDK/Sources/Bridge/WXPolyfillSet.m | 23 +-
.../Component/Recycler/WXMultiColumnLayout.h | 21 +-
.../Component/Recycler/WXMultiColumnLayout.m | 21 +-
.../Component/Recycler/WXRecyclerComponent.h | 21 +-
.../Component/Recycler/WXRecyclerComponent.m | 22 +-
.../Recycler/WXRecyclerDataController.h | 21 +-
.../Recycler/WXRecyclerDataController.m | 21 +-
.../Recycler/WXRecyclerUpdateController.h | 21 +-
.../Recycler/WXRecyclerUpdateController.m | 21 +-
.../Recycler/WXSectionDataController.h | 21 +-
.../Recycler/WXSectionDataController.m | 21 +-
.../WeexSDK/Sources/Component/WXAComponent.h | 21 +-
.../WeexSDK/Sources/Component/WXAComponent.m | 21 +-
.../Sources/Component/WXCanvasComponent.h | 21 +-
.../Sources/Component/WXCanvasComponent.m | 21 +-
.../WeexSDK/Sources/Component/WXCellComponent.h | 21 +-
.../WeexSDK/Sources/Component/WXCellComponent.m | 31 +-
.../Sources/Component/WXComponent_internal.h | 30 +-
.../Sources/Component/WXCycleSliderComponent.h | 29 +
.../Sources/Component/WXCycleSliderComponent.m | 605 +++++++++++++++++
.../WeexSDK/Sources/Component/WXDivComponent.h | 21 +-
.../WeexSDK/Sources/Component/WXDivComponent.m | 21 +-
.../WeexSDK/Sources/Component/WXEditComponent.h | 21 +-
.../WeexSDK/Sources/Component/WXEditComponent.m | 29 +-
.../Sources/Component/WXEmbedComponent.h | 21 +-
.../Sources/Component/WXEmbedComponent.m | 21 +-
.../Sources/Component/WXFooterComponent.h | 21 +-
.../Sources/Component/WXFooterComponent.m | 21 +-
.../Sources/Component/WXHeaderComponent.h | 21 +-
.../Sources/Component/WXHeaderComponent.m | 21 +-
.../Sources/Component/WXImageComponent.h | 23 +-
.../Sources/Component/WXImageComponent.m | 109 ++-
.../Sources/Component/WXIndicatorComponent.h | 29 +-
.../Sources/Component/WXIndicatorComponent.m | 37 +-
.../WeexSDK/Sources/Component/WXListComponent.h | 21 +-
.../WeexSDK/Sources/Component/WXListComponent.m | 23 +-
.../Sources/Component/WXLoadingComponent.h | 23 +-
.../Sources/Component/WXLoadingComponent.m | 18 +
.../Sources/Component/WXLoadingIndicator.h | 21 +-
.../Sources/Component/WXLoadingIndicator.m | 21 +-
.../Sources/Component/WXRefreshComponent.h | 21 +-
.../Sources/Component/WXRefreshComponent.m | 21 +-
.../Sources/Component/WXScrollerComponent.h | 21 +-
.../Sources/Component/WXScrollerComponent.m | 21 +-
.../Sources/Component/WXSliderComponent.h | 21 +-
.../Sources/Component/WXSliderComponent.m | 26 +-
.../Component/WXSliderNeighborComponent.h | 24 +-
.../Component/WXSliderNeighborComponent.m | 26 +-
.../Sources/Component/WXSwitchComponent.h | 21 +-
.../Sources/Component/WXSwitchComponent.m | 21 +-
.../Sources/Component/WXTextAreaComponent.h | 21 +-
.../Sources/Component/WXTextAreaComponent.m | 21 +-
.../WeexSDK/Sources/Component/WXTextComponent.h | 22 +-
.../WeexSDK/Sources/Component/WXTextComponent.m | 434 +++++++++---
.../Sources/Component/WXTextInputComponent.h | 21 +-
.../Sources/Component/WXTextInputComponent.m | 21 +-
ios/sdk/WeexSDK/Sources/Component/WXTransform.h | 21 +-
ios/sdk/WeexSDK/Sources/Component/WXTransform.m | 21 +-
.../Sources/Component/WXVideoComponent.h | 21 +-
.../Sources/Component/WXVideoComponent.m | 21 +-
.../WeexSDK/Sources/Component/WXWebComponent.h | 21 +-
.../WeexSDK/Sources/Component/WXWebComponent.m | 21 +-
.../Sources/Controller/WXBaseViewController.h | 23 +-
.../Sources/Controller/WXBaseViewController.m | 28 +-
.../Sources/Controller/WXRootViewController.h | 23 +-
.../Sources/Controller/WXRootViewController.m | 23 +-
ios/sdk/WeexSDK/Sources/Debug/WXDebugTool.h | 23 +-
ios/sdk/WeexSDK/Sources/Debug/WXDebugTool.m | 23 +-
.../WeexSDK/Sources/Display/UIBezierPath+Weex.h | 23 +-
.../WeexSDK/Sources/Display/UIBezierPath+Weex.m | 23 +-
.../Sources/Display/WXComponent+BoxShadow.h | 23 +-
.../Sources/Display/WXComponent+BoxShadow.m | 23 +-
.../Sources/Display/WXComponent+Display.h | 23 +-
.../Sources/Display/WXComponent+Display.m | 244 ++++---
.../WeexSDK/Sources/Display/WXDisplayQueue.h | 23 +-
.../WeexSDK/Sources/Display/WXDisplayQueue.m | 23 +-
ios/sdk/WeexSDK/Sources/Display/WXInnerLayer.h | 23 +-
ios/sdk/WeexSDK/Sources/Display/WXInnerLayer.m | 23 +-
ios/sdk/WeexSDK/Sources/Display/WXLayer.h | 23 +-
ios/sdk/WeexSDK/Sources/Display/WXLayer.m | 23 +-
ios/sdk/WeexSDK/Sources/Display/WXRoundedRect.h | 27 +-
.../WeexSDK/Sources/Display/WXRoundedRect.mm | 33 +-
ios/sdk/WeexSDK/Sources/Engine/WXSDKEngine.h | 23 +-
ios/sdk/WeexSDK/Sources/Engine/WXSDKEngine.m | 24 +-
ios/sdk/WeexSDK/Sources/Engine/WXSDKError.h | 23 +-
.../WeexSDK/Sources/Events/WXComponent+Events.h | 23 +-
.../WeexSDK/Sources/Events/WXComponent+Events.m | 23 +-
.../Sources/Handler/WXNavigationDefaultImpl.h | 23 +-
.../Sources/Handler/WXNavigationDefaultImpl.m | 23 +-
.../Sources/Handler/WXURLRewriteDefaultImpl.h | 23 +-
.../Sources/Handler/WXURLRewriteDefaultImpl.m | 23 +-
.../WeexSDK/Sources/Loader/WXResourceLoader.h | 23 +-
.../WeexSDK/Sources/Loader/WXResourceLoader.m | 23 +-
.../WeexSDK/Sources/Loader/WXWebSocketLoader.h | 23 +-
.../WeexSDK/Sources/Loader/WXWebSocketLoader.m | 23 +-
.../WeexSDK/Sources/Manager/WXBridgeManager.h | 23 +-
.../WeexSDK/Sources/Manager/WXBridgeManager.m | 23 +-
.../Sources/Manager/WXComponentFactory.h | 23 +-
.../Sources/Manager/WXComponentFactory.m | 23 +-
.../Sources/Manager/WXComponentManager.h | 27 +-
.../Sources/Manager/WXComponentManager.m | 28 +-
.../Sources/Manager/WXDatePickerManager.h | 23 +-
.../Sources/Manager/WXDatePickerManager.m | 23 +-
.../WeexSDK/Sources/Manager/WXHandlerFactory.h | 23 +-
.../WeexSDK/Sources/Manager/WXHandlerFactory.m | 23 +-
.../Sources/Manager/WXInvocationConfig.h | 23 +-
.../Sources/Manager/WXInvocationConfig.m | 23 +-
.../WeexSDK/Sources/Manager/WXModuleFactory.h | 23 +-
.../WeexSDK/Sources/Manager/WXModuleFactory.m | 23 +-
ios/sdk/WeexSDK/Sources/Manager/WXRuleManager.h | 23 +-
ios/sdk/WeexSDK/Sources/Manager/WXRuleManager.m | 23 +-
ios/sdk/WeexSDK/Sources/Manager/WXSDKManager.h | 23 +-
ios/sdk/WeexSDK/Sources/Manager/WXSDKManager.m | 23 +-
.../WeexSDK/Sources/Manager/WXServiceFactory.h | 23 +-
.../WeexSDK/Sources/Manager/WXServiceFactory.m | 23 +-
.../Sources/Model/WXComponent+Navigation.h | 23 +-
.../Sources/Model/WXComponent+Navigation.m | 23 +-
ios/sdk/WeexSDK/Sources/Model/WXComponent.h | 97 ++-
ios/sdk/WeexSDK/Sources/Model/WXComponent.m | 42 +-
.../WeexSDK/Sources/Model/WXJSExceptionInfo.h | 23 +-
.../WeexSDK/Sources/Model/WXJSExceptionInfo.m | 25 +-
ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.h | 23 +-
ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m | 26 +-
.../Sources/Model/WXSDKInstance_private.h | 23 +-
.../WeexSDK/Sources/Module/WXAnimationModule.h | 23 +-
.../WeexSDK/Sources/Module/WXAnimationModule.m | 23 +-
ios/sdk/WeexSDK/Sources/Module/WXCanvasModule.h | 23 +-
ios/sdk/WeexSDK/Sources/Module/WXCanvasModule.m | 23 +-
.../WeexSDK/Sources/Module/WXClipboardModule.h | 23 +-
.../WeexSDK/Sources/Module/WXClipboardModule.m | 23 +-
ios/sdk/WeexSDK/Sources/Module/WXDomModule.h | 23 +-
ios/sdk/WeexSDK/Sources/Module/WXDomModule.m | 23 +-
.../Sources/Module/WXGlobalEventModule.h | 23 +-
.../Sources/Module/WXGlobalEventModule.m | 23 +-
ios/sdk/WeexSDK/Sources/Module/WXInstanceWrap.h | 23 +-
ios/sdk/WeexSDK/Sources/Module/WXInstanceWrap.m | 23 +-
ios/sdk/WeexSDK/Sources/Module/WXMetaModule.h | 23 +-
ios/sdk/WeexSDK/Sources/Module/WXMetaModule.m | 23 +-
.../WeexSDK/Sources/Module/WXModalUIModule.h | 23 +-
.../WeexSDK/Sources/Module/WXModalUIModule.m | 23 +-
.../WeexSDK/Sources/Module/WXNavigatorModule.h | 23 +-
.../WeexSDK/Sources/Module/WXNavigatorModule.m | 18 +
ios/sdk/WeexSDK/Sources/Module/WXPickerModule.h | 23 +-
ios/sdk/WeexSDK/Sources/Module/WXPickerModule.m | 155 ++++-
.../WeexSDK/Sources/Module/WXStorageModule.h | 23 +-
.../WeexSDK/Sources/Module/WXStorageModule.m | 23 +-
ios/sdk/WeexSDK/Sources/Module/WXStreamModule.h | 23 +-
ios/sdk/WeexSDK/Sources/Module/WXStreamModule.m | 23 +-
ios/sdk/WeexSDK/Sources/Module/WXTimerModule.h | 23 +-
ios/sdk/WeexSDK/Sources/Module/WXTimerModule.m | 23 +-
.../WeexSDK/Sources/Module/WXWebSocketModule.h | 23 +-
.../WeexSDK/Sources/Module/WXWebSocketModule.m | 23 +-
.../WeexSDK/Sources/Module/WXWebViewModule.h | 23 +-
.../WeexSDK/Sources/Module/WXWebViewModule.m | 23 +-
ios/sdk/WeexSDK/Sources/Monitor/WXMonitor.h | 23 +-
ios/sdk/WeexSDK/Sources/Monitor/WXMonitor.m | 29 +-
.../WeexSDK/Sources/Network/WXResourceRequest.h | 23 +-
.../WeexSDK/Sources/Network/WXResourceRequest.m | 23 +-
.../Sources/Network/WXResourceRequestHandler.h | 23 +-
.../WXResourceRequestHandlerDefaultImpl.h | 23 +-
.../WXResourceRequestHandlerDefaultImpl.m | 23 +-
.../Sources/Network/WXResourceResponse.h | 23 +-
.../Sources/Network/WXResourceResponse.m | 23 +-
.../Sources/Protocol/WXAppMonitorProtocol.h | 23 +-
.../WeexSDK/Sources/Protocol/WXBridgeProtocol.h | 27 +-
.../Sources/Protocol/WXDestroyProtocol.h | 23 +-
.../Sources/Protocol/WXEventModuleProtocol.h | 23 +-
.../Sources/Protocol/WXImgLoaderProtocol.h | 23 +-
.../Sources/Protocol/WXJSExceptionProtocol.h | 23 +-
.../WeexSDK/Sources/Protocol/WXModuleProtocol.h | 23 +-
.../Sources/Protocol/WXNavigationProtocol.h | 23 +-
.../Sources/Protocol/WXNetworkProtocol.h | 23 +-
.../Sources/Protocol/WXScrollerProtocol.h | 23 +-
.../Sources/Protocol/WXTextComponentProtocol.h | 23 +-
.../Sources/Protocol/WXURLRewriteProtocol.h | 23 +-
.../Sources/Protocol/WXValidateProtocol.h | 23 +-
ios/sdk/WeexSDK/Sources/Utility/NSArray+Weex.h | 23 +-
ios/sdk/WeexSDK/Sources/Utility/NSArray+Weex.m | 23 +-
.../Sources/Utility/NSObject+WXSwizzle.h | 23 +-
.../Sources/Utility/NSObject+WXSwizzle.m | 23 +-
ios/sdk/WeexSDK/Sources/Utility/NSTimer+Weex.h | 23 +-
ios/sdk/WeexSDK/Sources/Utility/NSTimer+Weex.m | 23 +-
.../Sources/Utility/WXAppConfiguration.h | 23 +-
.../Sources/Utility/WXAppConfiguration.m | 23 +-
ios/sdk/WeexSDK/Sources/Utility/WXAssert.h | 23 +-
ios/sdk/WeexSDK/Sources/Utility/WXAssert.m | 23 +-
ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.h | 23 +-
ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.m | 23 +-
ios/sdk/WeexSDK/Sources/Utility/WXConvert.h | 23 +-
ios/sdk/WeexSDK/Sources/Utility/WXConvert.m | 23 +-
ios/sdk/WeexSDK/Sources/Utility/WXDefine.h | 34 +-
ios/sdk/WeexSDK/Sources/Utility/WXDiffUtil.h | 23 +-
ios/sdk/WeexSDK/Sources/Utility/WXDiffUtil.m | 23 +-
ios/sdk/WeexSDK/Sources/Utility/WXLength.h | 23 +-
ios/sdk/WeexSDK/Sources/Utility/WXLength.m | 23 +-
ios/sdk/WeexSDK/Sources/Utility/WXLog.h | 23 +-
ios/sdk/WeexSDK/Sources/Utility/WXLog.m | 23 +-
.../Utility/WXSimulatorShortcutManager.h | 23 +-
.../Utility/WXSimulatorShortcutManager.m | 23 +-
.../Sources/Utility/WXThreadSafeCounter.h | 23 +-
.../Sources/Utility/WXThreadSafeCounter.m | 23 +-
.../Sources/Utility/WXThreadSafeMutableArray.h | 23 +-
.../Sources/Utility/WXThreadSafeMutableArray.m | 23 +-
.../Utility/WXThreadSafeMutableDictionary.h | 23 +-
.../Utility/WXThreadSafeMutableDictionary.m | 25 +-
ios/sdk/WeexSDK/Sources/Utility/WXType.h | 28 +-
ios/sdk/WeexSDK/Sources/Utility/WXUtility.h | 25 +-
ios/sdk/WeexSDK/Sources/Utility/WXUtility.m | 78 ++-
.../Sources/Utility/WXWeakObjectWrapper.h | 23 +-
.../Sources/Utility/WXWeakObjectWrapper.m | 23 +-
.../View/WXComponent+PseudoClassManagement.h | 23 +-
.../View/WXComponent+PseudoClassManagement.m | 23 +-
.../Sources/View/WXComponent+ViewManagement.h | 23 +-
.../Sources/View/WXComponent+ViewManagement.m | 27 +-
ios/sdk/WeexSDK/Sources/View/WXErrorView.h | 23 +-
ios/sdk/WeexSDK/Sources/View/WXErrorView.m | 23 +-
ios/sdk/WeexSDK/Sources/View/WXRootView.h | 23 +-
ios/sdk/WeexSDK/Sources/View/WXRootView.m | 23 +-
ios/sdk/WeexSDK/Sources/View/WXView.h | 23 +-
ios/sdk/WeexSDK/Sources/View/WXView.m | 23 +-
.../Sources/WebSocket/SRWebSocket+Weex.h | 23 +-
.../Sources/WebSocket/SRWebSocket+Weex.m | 23 +-
.../Sources/WebSocket/WXWebSocketDefaultImpl.h | 23 +-
.../Sources/WebSocket/WXWebSocketDefaultImpl.m | 23 +-
.../Sources/WebSocket/WXWebSocketHandler.h | 23 +-
ios/sdk/WeexSDK/Sources/WeexSDK.h | 21 +-
ios/sdk/WeexSDKTests/TestSupportUtils.h | 21 +-
ios/sdk/WeexSDKTests/TestSupportUtils.m | 21 +-
ios/sdk/WeexSDKTests/WXAnimationModuleTests.m | 21 +-
ios/sdk/WeexSDKTests/WXBridgeMethodTests.m | 21 +-
ios/sdk/WeexSDKTests/WXComponentTests.m | 21 +-
ios/sdk/WeexSDKTests/WXConvertTests.m | 25 +-
ios/sdk/WeexSDKTests/WXFloatCompareTests.m | 25 +-
ios/sdk/WeexSDKTests/WXInstanceWrapTests.m | 21 +-
ios/sdk/WeexSDKTests/WXRootViewTests.m | 25 +-
ios/sdk/WeexSDKTests/WXSDKEngineTests.m | 21 +-
ios/sdk/WeexSDKTests/WXSDKManagerTests.m | 21 +-
ios/sdk/WeexSDKTests/WXStorageTests.m | 25 +-
ios/sdk/WeexSDKTests/WXStreamModuleTests.m | 21 +-
ios/sdk/WeexSDKTests/WXTimerModuleTests.m | 21 +-
ios/sdk/WeexSDKTests/WXURLRewriteTests.m | 25 +-
ios/sdk/WeexSDKTests/WeexSDKTests.m | 21 +-
ios/sdk/WeexSDK_MTL/WeexSDK_MTL.h | 23 +-
ios/sdk/WeexSDK_MTL/WeexSDK_MTL.m | 23 +-
package.json | 14 +-
packages/weex-vue-render/README.md | 24 +-
packages/weex-vue-render/package.json | 2 +-
scripts/apache-rat-0.12.jar | Bin 0 -> 1592593 bytes
scripts/rat-ant-build.xml | 33 +
scripts/rat-scan.sh | 3 +
scripts/replace-header.sh | 4 +
scripts/rh/LICENSE | 674 +++++++++++++++++++
scripts/rh/README | 46 ++
scripts/rh/header.template | 18 +
scripts/rh/remove_header.awk | 48 ++
scripts/rh/replace_header.sh | 11 +
test/ci-funcs.sh | 3 +-
test/pages/components/recycler.vue | 42 +-
test/pages/image-onload.vue | 2 +-
test/pages/slider-infinite.vue | 54 ++
test/run.sh | 9 +-
test/scripts/components/image-onload.test.js | 22 +-
test/scripts/components/recycler.test.js | 184 ++---
test/scripts/components/scroll-event.test.js | 18 +
test/scripts/components/scroller-fixed.test.js | 20 +-
test/scripts/components/slider-infinite.test.js | 59 ++
.../components/textarea-maxlength.test.js | 20 +-
test/scripts/dom.test.js | 18 +
test/scripts/index.test.js | 18 +
test/scripts/util.js | 18 +
vue.html | 10 +-
1458 files changed, 32124 insertions(+), 85030 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/dd47f268/android/playground/app/src/main/java/com/alibaba/weex/WXPageActivity.java
----------------------------------------------------------------------
diff --cc android/playground/app/src/main/java/com/alibaba/weex/WXPageActivity.java
index fbf42af,401f891..3f6e3b7
mode 100755,100644..100644
--- a/android/playground/app/src/main/java/com/alibaba/weex/WXPageActivity.java
+++ b/android/playground/app/src/main/java/com/alibaba/weex/WXPageActivity.java
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/dd47f268/android/sdk/src/main/java/com/taobao/weex/bridge/WXParams.java
----------------------------------------------------------------------
diff --cc android/sdk/src/main/java/com/taobao/weex/bridge/WXParams.java
index f2504d5,6db784d..f3de40e
mode 100755,100644..100644
--- a/android/sdk/src/main/java/com/taobao/weex/bridge/WXParams.java
+++ b/android/sdk/src/main/java/com/taobao/weex/bridge/WXParams.java
[49/50] incubator-weex git commit: Merge branch '0.12-dev' of
https://git-wip-us.apache.org/repos/asf/incubator-weex into 0.12-dev
Posted by so...@apache.org.
Merge branch '0.12-dev' of https://git-wip-us.apache.org/repos/asf/incubator-weex into 0.12-dev
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/9381c91c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/9381c91c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/9381c91c
Branch: refs/heads/dev
Commit: 9381c91cbb642535cde20f003e7256fa94141954
Parents: 9c6489a bcb5e89
Author: sospartan <so...@apache.org>
Authored: Fri Apr 21 11:00:10 2017 +0800
Committer: sospartan <so...@apache.org>
Committed: Fri Apr 21 11:00:10 2017 +0800
----------------------------------------------------------------------
.../java/com/alibaba/weex/WXPageActivity.java | 6 ------
android/sdk/build.gradle | 2 +-
android/sdk/libs/armeabi/libweexjsc.so | Bin 0 -> 7816288 bytes
android/sdk/libs/armeabi/libweexv8.so | Bin 3563544 -> 0 bytes
.../main/java/com/taobao/weex/WXSDKEngine.java | 2 +-
.../java/com/taobao/weex/bridge/WXParams.java | 6 ++++++
.../com/taobao/weex/utils/WXSoInstallMgrSdk.java | 2 +-
7 files changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
[23/50] incubator-weex git commit: * [ios] add config for
componentWithName
Posted by so...@apache.org.
* [ios] add config for componentWithName
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/b2d38557
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/b2d38557
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/b2d38557
Branch: refs/heads/dev
Commit: b2d38557969853b34e4b803ea2aba7a02500d4b3
Parents: e433321
Author: acton393 <zh...@gmail.com>
Authored: Tue Apr 18 11:09:31 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Tue Apr 18 11:09:31 2017 +0800
----------------------------------------------------------------------
.../Sources/Handler/WXConfigDefaultImpl.h | 26 ++++++++++
.../Sources/Handler/WXConfigDefaultImpl.m | 54 ++++++++++++++++++++
.../Sources/Manager/WXComponentFactory.m | 7 +++
.../WeexSDK/Sources/Protocol/WXConfigProtocol.h | 27 ++++++++++
4 files changed, 114 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/b2d38557/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.h
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.h b/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.h
new file mode 100644
index 0000000..ccd7280
--- /dev/null
+++ b/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.h
@@ -0,0 +1,26 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#import <Foundation/Foundation.h>
+
+#import "WXConfigProtocol.h"
+
+@interface WXConfigDefaultImpl : NSObject<WXConfigProtocol>
+
+@end
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/b2d38557/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.m b/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.m
new file mode 100644
index 0000000..1d2ebf5
--- /dev/null
+++ b/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.m
@@ -0,0 +1,54 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+#import "WXConfigDefaultImpl.h"
+#import "WXThreadSafeMutableDictionary.h"
+#import "WXUtility.h"
+
+@interface WXConfigDefaultImpl()
+@property(nonatomic, strong) WXThreadSafeMutableDictionary* configDic;
+@end
+@implementation WXConfigDefaultImpl
+
+- (instancetype)init
+{
+ if (self = [super init]) {
+ _configDic = [WXThreadSafeMutableDictionary new];
+ }
+
+ return self;
+}
+
+- (void)setClassWithName:(Class)className name:(NSString *)name
+{
+ if (![WXUtility isBlankString:name] && className) {
+ [_configDic setObject:className forKey:name];
+ }
+}
+
+- (Class)classWithName:(NSString *)name
+{
+ if (![WXUtility isBlankString:name]) {
+ return [_configDic objectForKey:name];
+ }
+
+ return nil;
+}
+
+@end
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/b2d38557/ios/sdk/WeexSDK/Sources/Manager/WXComponentFactory.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Manager/WXComponentFactory.m b/ios/sdk/WeexSDK/Sources/Manager/WXComponentFactory.m
index aa79bad..7589dfe 100644
--- a/ios/sdk/WeexSDK/Sources/Manager/WXComponentFactory.m
+++ b/ios/sdk/WeexSDK/Sources/Manager/WXComponentFactory.m
@@ -21,6 +21,8 @@
#import "WXAssert.h"
#import "WXLog.h"
#import "WXInvocationConfig.h"
+#import "WXHandlerFactory.h"
+#import "WXConfigProtocol.h"
#import <objc/runtime.h>
@@ -189,6 +191,11 @@
if(!config || !config.clazz) {
return nil;
}
+ id<WXConfigProtocol> configHandler = [WXHandlerFactory handlerForProtocol:NSProtocolFromString(@"WXConfigProtocol")];
+
+ if ([configHandler respondsToSelector:@selector(classWithName:)]) {
+ return [configHandler classWithName:name];
+ }
return NSClassFromString(config.clazz);
}
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/b2d38557/ios/sdk/WeexSDK/Sources/Protocol/WXConfigProtocol.h
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Protocol/WXConfigProtocol.h b/ios/sdk/WeexSDK/Sources/Protocol/WXConfigProtocol.h
new file mode 100644
index 0000000..a4a9e93
--- /dev/null
+++ b/ios/sdk/WeexSDK/Sources/Protocol/WXConfigProtocol.h
@@ -0,0 +1,27 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+@protocol WXConfigProtocol <NSObject>
+
+@optional
+
+- (Class)classWithName:(NSString*)name;
+- (void)setClassWithName:(Class)className name:(NSString*)name;
+
+@end
[02/50] incubator-weex git commit: Merge branch '0.12-dev' into
android-feature-20170307-jsc
Posted by so...@apache.org.
Merge branch '0.12-dev' into android-feature-20170307-jsc
* 0.12-dev: (246 commits)
* [android] fix setSize when defaultHeight is use screen height
* [jsfm] update vue framework to 2.2.2-weex.1
* [test] Closes #141: invalid/pullrequest
* [test] Closes #141: invalid/pullrequest
* [test] fix CI
* [android] update imageView
* [android] avoid remove-readd view when fixed component view already moved
* [android] avoid remove-readd view when fixed component view already moved
* [html5] clear log.
+ [ios] change to color
* [ios] fix box shadow shadowColor get method circularly called
* [ios] add default value
* [ios] refactor gradient-color method
* [html5] update build & test config.
* [html5] fix soucemap with flow.
* [test] update test
* [html5] fix dangerfile.
* [html5] remove unused dependencies.
+ [html5] test for vue-render.
* [test] fix CI
...
# Conflicts:
# android/playground/app/src/main/java/com/alibaba/weex/WXPageActivity.java
# android/sdk/libs/armeabi/libweexv8.so
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/9f1cd6bc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/9f1cd6bc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/9f1cd6bc
Branch: refs/heads/dev
Commit: 9f1cd6bcbce7ccc11e33779219daf9dcef4e97dd
Parents: eee81bc aee3388
Author: zshshr <zh...@gmail.com>
Authored: Thu Apr 6 11:38:35 2017 +0800
Committer: zshshr <zh...@gmail.com>
Committed: Thu Apr 6 11:38:35 2017 +0800
----------------------------------------------------------------------
.eslintrc | 13 +-
.flowconfig | 16 +
CHANGELOG.md | 7 +
README.md | 50 +-
.../app/src/main/assets/component/image-demo.js | 2 +-
.../assets/component/slider-neighbor/index.js | 113 +-
.../slider-neighbor/silder-neighbor.js | 287 -
.../app/src/main/assets/component/text-demo.js | 108 +
android/playground/app/src/main/assets/error.js | 11 +-
.../app/src/main/assets/geolocation.js | 8 -
android/playground/app/src/main/assets/index.js | 17 +-
.../app/src/main/assets/linear-gradient.js | 367 +
.../app/src/main/assets/module/clipboard.js | 10 +-
.../app/src/main/assets/module/componentRect.js | 36 +-
.../app/src/main/assets/module/instance-api.js | 21 +-
.../app/src/main/assets/module/modal.js | 25 +-
.../app/src/main/assets/module/picker-demo.js | 25 +-
.../app/src/main/assets/module/storage-demo.js | 21 +-
.../app/src/main/assets/module/stream-demo.js | 21 +-
.../src/main/assets/module/websocket-demo.js | 25 +-
.../app/src/main/assets/showcase/calculator.js | 25 +-
.../assets/showcase/dropdown/dropdown-demo.js | 38 +-
.../assets/showcase/dropdown/we-dropdown.js | 20 +-
.../app/src/main/assets/showcase/minesweeper.js | 20 +-
.../main/assets/showcase/new-fashion/banner.js | 16 +-
.../main/assets/showcase/new-fashion/banners.js | 28 +-
.../main/assets/showcase/new-fashion/brand.js | 44 +-
.../assets/showcase/new-fashion/category.js | 32 +-
.../main/assets/showcase/new-fashion/coupon.js | 20 +-
.../main/assets/showcase/new-fashion/fashion.js | 46 +-
.../main/assets/showcase/new-fashion/goods.js | 32 +-
.../assets/showcase/new-fashion/headlines.js | 56 +-
.../main/assets/showcase/new-fashion/index.js | 29 +-
.../main/assets/showcase/new-fashion/link.js | 16 +-
.../main/assets/showcase/new-fashion/main.js | 209 +-
.../main/assets/showcase/new-fashion/match.js | 32 +-
.../assets/showcase/new-fashion/resource.js | 46 +-
.../main/assets/showcase/new-fashion/scene.js | 32 +-
.../src/main/assets/showcase/pseudo-class.js | 2425 +++++
.../app/src/main/assets/showcase/ui.js | 28 +-
.../app/src/main/assets/style/index.js | 80 +-
.../app/src/main/assets/style/style-box.js | 44 +-
.../app/src/main/assets/style/style-flex.js | 52 +-
.../app/src/main/assets/style/style-item.js | 20 +-
.../app/src/main/assets/syntax/hello-world-1.js | 12 +-
.../app/src/main/assets/syntax/hello-world-2.js | 12 +-
.../app/src/main/assets/syntax/hello-world-3.js | 16 +-
.../app/src/main/assets/syntax/hello-world-4.js | 20 +-
.../app/src/main/assets/syntax/hello-world-5.js | 20 +-
.../app/src/main/assets/syntax/hello-world.js | 20 +-
.../app/src/main/assets/syntax/index.js | 28 +-
.../src/main/assets/syntax/script-component.js | 32 +-
.../app/src/main/assets/syntax/script-data.js | 20 +-
.../app/src/main/assets/syntax/script-events.js | 20 +-
.../src/main/assets/syntax/script-instance.js | 20 +-
.../src/main/assets/syntax/script-lifecycle.js | 20 +-
.../app/src/main/assets/syntax/script-module.js | 20 +-
.../src/main/assets/syntax/script-options.js | 20 +-
.../src/main/assets/syntax/template-class.js | 20 +-
.../src/main/assets/syntax/template-content.js | 28 +-
.../src/main/assets/syntax/template-event.js | 20 +-
.../app/src/main/assets/syntax/template-if.js | 20 +-
.../assets/syntax/template-repeat-update.js | 20 +-
.../src/main/assets/syntax/template-repeat.js | 20 +-
.../src/main/assets/syntax/template-style.js | 16 +-
.../playground/app/src/main/assets/template.js | 23 +-
android/playground/app/src/main/assets/test.js | 16 +-
.../app/src/main/assets/vue/animation.js | 709 ++
.../app/src/main/assets/vue/components/a.js | 438 +
.../src/main/assets/vue/components/countdown.js | 640 ++
.../app/src/main/assets/vue/components/image.js | 641 ++
.../app/src/main/assets/vue/components/input.js | 364 +
.../app/src/main/assets/vue/components/list.js | 246 +
.../src/main/assets/vue/components/marquee.js | 534 +
.../src/main/assets/vue/components/navigator.js | 1059 ++
.../src/main/assets/vue/components/scroller.js | 304 +
.../src/main/assets/vue/components/slider.js | 898 ++
.../src/main/assets/vue/components/tabbar.js | 599 ++
.../app/src/main/assets/vue/components/text.js | 513 +
.../app/src/main/assets/vue/components/video.js | 396 +
.../app/src/main/assets/vue/components/web.js | 459 +
.../playground/app/src/main/assets/vue/hello.js | 99 +
.../app/src/main/assets/vue/iconfont.js | 204 +
.../playground/app/src/main/assets/vue/index.js | 496 +
.../src/main/assets/vue/modules/clipboard.js | 691 ++
.../src/main/assets/vue/modules/instance-api.js | 304 +
.../app/src/main/assets/vue/modules/modal.js | 581 ++
.../app/src/main/assets/vue/modules/storage.js | 381 +
.../app/src/main/assets/vue/modules/stream.js | 477 +
.../src/main/assets/vue/showcase/calculator.js | 340 +
.../src/main/assets/vue/showcase/itemlist.js | 1062 ++
.../src/main/assets/vue/showcase/new-fashion.js | 3302 ++++++
.../src/main/assets/vue/showcase/progress.js | 336 +
.../app/src/main/assets/vue/style/index.js | 1566 +++
.../app/src/main/assets/vue/style/style-box.js | 780 ++
.../app/src/main/assets/vue/style/style-flex.js | 919 ++
.../app/src/main/assets/vue/style/style-item.js | 155 +
.../src/main/assets/vue/syntax/hello-world-1.js | 95 +
.../src/main/assets/vue/syntax/hello-world-2.js | 112 +
.../src/main/assets/vue/syntax/hello-world-3.js | 127 +
.../src/main/assets/vue/syntax/hello-world-4.js | 167 +
.../src/main/assets/vue/syntax/hello-world-5.js | 173 +
.../src/main/assets/vue/syntax/hello-world.js | 183 +
.../main/assets/vue/syntax/script-component.js | 224 +
.../src/main/assets/vue/syntax/script-data.js | 214 +
.../src/main/assets/vue/syntax/script-events.js | 161 +
.../main/assets/vue/syntax/script-instance.js | 196 +
.../main/assets/vue/syntax/script-lifecycle.js | 155 +
.../src/main/assets/vue/syntax/script-module.js | 156 +
.../main/assets/vue/syntax/script-options.js | 182 +
.../main/assets/vue/syntax/template-class.js | 161 +
.../main/assets/vue/syntax/template-content.js | 189 +
.../main/assets/vue/syntax/template-event.js | 197 +
.../src/main/assets/vue/syntax/template-if.js | 165 +
.../assets/vue/syntax/template-repeat-update.js | 195 +
.../main/assets/vue/syntax/template-repeat.js | 170 +
.../main/assets/vue/syntax/template-style.js | 144 +
.../app/src/main/assets/vue/template.js | 796 ++
.../playground/app/src/main/ic_launcher-web.png | Bin 0 -> 19935 bytes
.../java/com/alibaba/weex/IndexActivity.java | 3 +-
.../src/main/java/com/alibaba/weex/Utility.java | 277 +
.../java/com/alibaba/weex/WXApplication.java | 5 +
.../java/com/alibaba/weex/WXPageActivity.java | 52 +
.../alibaba/weex/extend/component/WXMask.java | 167 +
.../extend/component/dom/WXMaskDomObject.java | 231 +
.../alibaba/weex/extend/view/WXMaskView.java | 220 +
.../app/src/main/res/layout/id_stub.xml | 57 +
.../src/main/res/mipmap-hdpi/ic_launcher.png | Bin 5248 -> 1755 bytes
.../src/main/res/mipmap-mdpi/ic_launcher.png | Bin 4303 -> 1221 bytes
.../src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 6354 -> 2451 bytes
.../src/main/res/mipmap-xxhdpi/ic_launcher.png | Bin 7930 -> 3939 bytes
.../src/main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 10633 -> 5608 bytes
android/sdk/libs/x86/libweexv8.so | Bin 4336768 -> 4545544 bytes
.../main/java/com/taobao/weex/WXSDKEngine.java | 1 -
.../java/com/taobao/weex/WXSDKInstance.java | 23 +-
.../main/java/com/taobao/weex/WXSDKManager.java | 17 +-
.../taobao/weex/adapter/DefaultUriAdapter.java | 8 +-
.../com/taobao/weex/bridge/WXBridgeManager.java | 3 +-
.../java/com/taobao/weex/common/Constants.java | 2 +
.../com/taobao/weex/dom/ApplyStyleConsumer.java | 245 +
.../java/com/taobao/weex/dom/DOMAction.java | 216 +
.../com/taobao/weex/dom/DOMActionContext.java | 255 +
.../taobao/weex/dom/DOMActionContextImpl.java | 620 ++
.../java/com/taobao/weex/dom/RenderAction.java | 215 +
.../taobao/weex/dom/RenderActionContext.java | 218 +
.../com/taobao/weex/dom/RenderActionTask.java | 227 +
.../java/com/taobao/weex/dom/WXDomHandler.java | 82 +-
.../java/com/taobao/weex/dom/WXDomManager.java | 300 +-
.../java/com/taobao/weex/dom/WXDomModule.java | 439 +-
.../java/com/taobao/weex/dom/WXDomObject.java | 4 +-
.../com/taobao/weex/dom/WXDomStatement.java | 1272 ---
.../taobao/weex/dom/WXRecyclerDomObject.java | 4 +-
.../dom/action/AbstractAddElementAction.java | 313 +
.../dom/action/AbstractLayoutFinishAction.java | 240 +
.../java/com/taobao/weex/dom/action/Action.java | 212 +
.../com/taobao/weex/dom/action/Actions.java | 350 +
.../weex/dom/action/AddElementAction.java | 295 +
.../taobao/weex/dom/action/AddEventAction.java | 262 +
.../taobao/weex/dom/action/AddRuleAction.java | 254 +
.../taobao/weex/dom/action/AnimationAction.java | 463 +
.../weex/dom/action/CreateBodyAction.java | 302 +
.../weex/dom/action/CreateFinishAction.java | 224 +
.../weex/dom/action/GetComponentRectAction.java | 299 +
.../weex/dom/action/InvokeMethodAction.java | 236 +
.../weex/dom/action/MoveElementAction.java | 281 +
.../weex/dom/action/RefreshFinishAction.java | 221 +
.../weex/dom/action/RemoveElementAction.java | 286 +
.../weex/dom/action/RemoveEventAction.java | 264 +
.../weex/dom/action/ScrollToElementAction.java | 257 +
.../weex/dom/action/UpdateAttributeAction.java | 263 +
.../weex/dom/action/UpdateFinishAction.java | 237 +
.../weex/dom/action/UpdateStyleAction.java | 298 +
.../taobao/weex/ui/IExternalMoudleGetter.java | 215 +
.../taobao/weex/ui/RenderActionContextImpl.java | 299 +
.../com/taobao/weex/ui/WXRenderManager.java | 191 +-
.../com/taobao/weex/ui/WXRenderStatement.java | 556 --
.../ui/animation/DimensionUpdateListener.java | 6 +-
.../weex/ui/animation/WXAnimationBean.java | 5 +-
.../weex/ui/animation/WXAnimationModule.java | 199 +-
.../weex/ui/component/NestedContainer.java | 2 +
.../taobao/weex/ui/component/WXComponent.java | 42 +-
.../com/taobao/weex/ui/component/WXEmbed.java | 6 +
.../com/taobao/weex/ui/component/WXImage.java | 6 +
.../com/taobao/weex/ui/component/WXText.java | 8 +
.../com/taobao/weex/ui/view/WXTextView.java | 18 +-
.../java/com/taobao/weex/WXSDKManagerTest.java | 2 +-
.../com/taobao/weex/dom/WXDomStatementTest.java | 119 +-
.../com/taobao/weex/dom/action/TestActions.java | 59 +
.../taobao/weex/ui/WXRenderStatementTest.java | 4 +-
.../ui/animation/WXAnimationModuleTest.java | 18 +-
bin/dist-vue.sh | 42 +
build/config.js | 13 +-
build/karma.vue.conf.js | 69 +-
build/webpack.ci.config.js | 53 +
build/webpack.ci.web.config.js | 68 +
build/webpack.deprecatedmacacatest.config.js | 53 +
build/webpack.examples.web.config.js | 24 +-
build/webpack.macacatest.config.js | 57 -
circle.yml | 37 -
dangerfile.js | 30 +
examples/accessibilitySupport.we | 57 +
examples/component/image-demo.we | 2 +-
examples/component/input-demo.we | 253 +-
examples/component/list/list-basic.we | 79 +-
examples/component/scroller-demo.we | 64 +-
examples/component/slider-tab.we | 100 +
examples/include/example-list-item.we | 30 +-
examples/index.we | 4 +-
examples/linear-gradient.we | 3 +
examples/module/chatroom-demo.we | 227 +
examples/module/websocket-demo.we | 50 +-
examples/showcase/boxshadow.we | 46 +
examples/vue/animation.vue | 4 +-
examples/vue/components/countdown.vue | 2 +-
examples/vue/components/image.vue | 2 +-
examples/vue/components/input.vue | 203 +-
examples/vue/components/list.vue | 22 +-
examples/vue/components/marquee.vue | 3 +-
examples/vue/components/navigator.vue | 7 +-
examples/vue/components/scroller.vue | 34 +-
examples/vue/components/slider.vue | 22 +-
examples/vue/components/text.vue | 2 +-
examples/vue/components/textarea.vue | 57 +
examples/vue/components/video.vue | 2 +-
examples/vue/components/web.vue | 2 +-
examples/vue/iconfont.vue | 2 +-
examples/vue/include/base-url.js | 4 +-
examples/vue/include/button.vue | 2 +-
examples/vue/include/countdown.vue | 2 +-
examples/vue/include/example-list-item.vue | 2 +-
examples/vue/include/example-list.vue | 2 +-
examples/vue/include/h1.vue | 2 +-
examples/vue/include/h2.vue | 2 +-
examples/vue/include/h3.vue | 2 +-
examples/vue/include/hn.vue | 2 +-
examples/vue/include/list-item.vue | 2 +-
examples/vue/include/marquee.vue | 4 +-
examples/vue/include/navbar.vue | 2 +-
examples/vue/include/navpage.vue | 2 +-
examples/vue/include/panel.vue | 10 +-
examples/vue/include/slider-item.vue | 2 +-
examples/vue/include/slider-page.vue | 5 +-
examples/vue/include/tabbar.vue | 6 +-
examples/vue/include/tabitem.vue | 2 +-
examples/vue/include/tip.vue | 2 +-
examples/vue/include/wxc-list-item.vue | 2 +-
examples/vue/index.vue | 1 +
examples/vue/modules/stream.vue | 2 +-
examples/vue/showcase/boxshadow.vue | 39 +
examples/vue/showcase/calculator.vue | 2 +-
examples/vue/showcase/include/banners.vue | 4 +-
examples/vue/showcase/include/brand.vue | 2 +-
examples/vue/showcase/include/category.vue | 8 +-
examples/vue/showcase/include/coupon.vue | 2 +-
examples/vue/showcase/include/goods.vue | 4 +-
examples/vue/showcase/include/headlines.vue | 2 +-
examples/vue/showcase/include/match.vue | 4 +-
examples/vue/showcase/include/resource.vue | 2 +-
examples/vue/showcase/include/scene.vue | 4 +-
examples/vue/showcase/itemlist.vue | 246 +-
examples/vue/showcase/new-fashion.vue | 2 +-
examples/vue/style/index.vue | 2 +-
examples/vue/style/style-box.vue | 2 +-
examples/vue/style/style-flex.vue | 2 +-
examples/vue/style/style-item.vue | 2 +-
examples/vue/syntax/hello-world-3.vue | 4 +-
examples/vue/syntax/hello-world-4.vue | 4 +-
examples/vue/syntax/hello-world-5.vue | 4 +-
examples/vue/syntax/hello-world.vue | 4 +-
examples/vue/syntax/include/btn.vue | 2 +-
examples/vue/syntax/include/sub.vue | 2 +-
examples/vue/syntax/script-component.vue | 2 +-
examples/vue/syntax/script-data.vue | 2 +-
examples/vue/syntax/script-events.vue | 4 +-
examples/vue/syntax/script-instance.vue | 2 +-
examples/vue/syntax/script-lifecycle.vue | 4 +-
examples/vue/syntax/script-module.vue | 2 +-
examples/vue/syntax/script-options.vue | 2 +-
examples/vue/syntax/template-class.vue | 2 +-
examples/vue/syntax/template-event.vue | 2 +-
examples/vue/syntax/template-if.vue | 2 +-
examples/vue/syntax/template-repeat-update.vue | 2 +-
examples/vue/syntax/template-repeat.vue | 8 +-
flow-typed/npm/animationjs_vx.x.x.js | 60 +
flow-typed/npm/babel-core_vx.x.x.js | 227 +
flow-typed/npm/babel-eslint_vx.x.x.js | 73 +
flow-typed/npm/babel-istanbul_vx.x.x.js | 353 +
flow-typed/npm/babel-loader_vx.x.x.js | 67 +
flow-typed/npm/babel-plugin-coverage_vx.x.x.js | 32 +
flow-typed/npm/babel-preset-es2015_vx.x.x.js | 32 +
flow-typed/npm/babel-runtime_vx.x.x.js | 1691 ++++
flow-typed/npm/chai_v3.5.x.js | 212 +
flow-typed/npm/chromedriver_vx.x.x.js | 46 +
flow-typed/npm/core-js_vx.x.x.js | 9390 ++++++++++++++++++
flow-typed/npm/cross-spawn_vx.x.x.js | 59 +
flow-typed/npm/css-loader_vx.x.x.js | 87 +
flow-typed/npm/cubicbezier_vx.x.x.js | 109 +
flow-typed/npm/danger_vx.x.x.js | 284 +
flow-typed/npm/envd_vx.x.x.js | 109 +
flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js | 319 +
flow-typed/npm/eslint_vx.x.x.js | 1978 ++++
flow-typed/npm/flow-bin_v0.x.x.js | 6 +
flow-typed/npm/fs-extra_vx.x.x.js | 221 +
flow-typed/npm/http-server_vx.x.x.js | 39 +
flow-typed/npm/httpurl_vx.x.x.js | 67 +
flow-typed/npm/inline-style-prefixer_vx.x.x.js | 347 +
flow-typed/npm/json-loader_vx.x.x.js | 33 +
flow-typed/npm/karma-coverage_vx.x.x.js | 81 +
flow-typed/npm/karma-mocha-reporter_vx.x.x.js | 38 +
flow-typed/npm/karma-mocha_vx.x.x.js | 53 +
.../npm/karma-phantomjs-launcher_vx.x.x.js | 59 +
flow-typed/npm/karma-sourcemap-loader_vx.x.x.js | 33 +
flow-typed/npm/karma-webpack_vx.x.x.js | 45 +
flow-typed/npm/karma_vx.x.x.js | 445 +
flow-typed/npm/lazyimg_vx.x.x.js | 32 +
flow-typed/npm/macaca-cli_vx.x.x.js | 123 +
flow-typed/npm/macaca-utils_vx.x.x.js | 39 +
flow-typed/npm/mocha_v2.4.x.js | 25 +
flow-typed/npm/modals_vx.x.x.js | 81 +
flow-typed/npm/nightwatch_vx.x.x.js | 633 ++
flow-typed/npm/phantomjs-prebuilt_vx.x.x.js | 389 +
flow-typed/npm/query-string_vx.x.x.js | 33 +
flow-typed/npm/reify_vx.x.x.js | 95 +
flow-typed/npm/rollup-plugin-buble_vx.x.x.js | 39 +
flow-typed/npm/rollup-plugin-commonjs_vx.x.x.js | 81 +
flow-typed/npm/rollup-plugin-eslint_vx.x.x.js | 39 +
.../rollup-plugin-flow-no-whitespace_vx.x.x.js | 33 +
flow-typed/npm/rollup-plugin-flow_vx.x.x.js | 33 +
flow-typed/npm/rollup-plugin-json_vx.x.x.js | 46 +
.../npm/rollup-plugin-node-resolve_vx.x.x.js | 53 +
flow-typed/npm/rollup-plugin-postcss_vx.x.x.js | 38 +
flow-typed/npm/rollup-plugin-replace_vx.x.x.js | 46 +
flow-typed/npm/rollup-plugin-uglify_vx.x.x.js | 32 +
flow-typed/npm/rollup-watch_vx.x.x.js | 67 +
flow-typed/npm/rollup_vx.x.x.js | 46 +
flow-typed/npm/scroll-to_vx.x.x.js | 33 +
flow-typed/npm/selenium-server_vx.x.x.js | 39 +
flow-typed/npm/semver_v5.1.x.js | 81 +
flow-typed/npm/serve_vx.x.x.js | 18 +
flow-typed/npm/sinon-chai_vx.x.x.js | 32 +
flow-typed/npm/sinon_vx.x.x.js | 263 +
flow-typed/npm/uglify-js_vx.x.x.js | 116 +
flow-typed/npm/vue-loader_vx.x.x.js | 122 +
flow-typed/npm/vue-template-compiler_vx.x.x.js | 38 +
flow-typed/npm/vue_vx.x.x.js | 1089 ++
flow-typed/npm/webdriver-client_vx.x.x.js | 129 +
flow-typed/npm/webpack_vx.x.x.js | 1523 +++
flow-typed/npm/weex-components_vx.x.x.js | 33 +
flow-typed/npm/weex-loader_vx.x.x.js | 108 +
flow-typed/npm/weex-picker_vx.x.x.js | 81 +
flow-typed/npm/weex-rax-framework_vx.x.x.js | 165 +
flow-typed/npm/weex-styler_vx.x.x.js | 66 +
flow-typed/npm/weex-vdom-tester_vx.x.x.js | 108 +
flow-typed/npm/weex-vue-framework_vx.x.x.js | 33 +
flow-typed/npm/weex-wd_vx.x.x.js | 38 +
flow-typed/npm/wwp_vx.x.x.js | 39 +
flow-typed/npm/xml2map_vx.x.x.js | 45 +
html5/frameworks/legacy/app/ctrl/init.js | 25 +-
html5/frameworks/legacy/static/create.js | 5 +-
html5/render/browser/extend/api/stream.js | 2 +-
html5/render/browser/extend/components/input.js | 33 +
.../browser/extend/components/textarea.js | 32 +
html5/render/browser/utils/index.js | 9 +
html5/render/vue/README.md | 51 +-
html5/render/vue/components/a.js | 18 +-
html5/render/vue/components/div.js | 25 +-
html5/render/vue/components/image.js | 81 +-
html5/render/vue/components/index.js | 9 +-
html5/render/vue/components/input.js | 31 +-
.../render/vue/components/scrollable/header.js | 40 +-
.../vue/components/scrollable/list/cell.js | 15 +-
.../vue/components/scrollable/list/index.js | 32 +-
.../vue/components/scrollable/list/listMixin.js | 118 +-
.../components/scrollable/loading-indicator.js | 3 +-
.../render/vue/components/scrollable/loading.js | 55 +-
.../render/vue/components/scrollable/refresh.js | 64 +-
.../vue/components/scrollable/scroller.js | 30 +-
.../render/vue/components/scrollable/shared.js | 22 -
html5/render/vue/components/slider/index.js | 40 +-
html5/render/vue/components/slider/indicator.js | 115 +-
.../render/vue/components/slider/slideMixin.js | 141 +-
html5/render/vue/components/switch.js | 11 +-
html5/render/vue/components/text.js | 45 +-
html5/render/vue/components/textarea.js | 29 +-
html5/render/vue/components/video.js | 14 +-
html5/render/vue/components/web.js | 19 +-
html5/render/vue/env/WXEnvironment.js | 39 -
html5/render/vue/env/index.js | 17 +-
html5/render/vue/env/viewport.js | 56 +-
html5/render/vue/env/weex.js | 30 +-
html5/render/vue/env/wx-env.js | 48 +
html5/render/vue/index.js | 64 +-
html5/render/vue/mixins/base.js | 110 +-
html5/render/vue/mixins/event.js | 76 -
html5/render/vue/mixins/index.js | 8 +-
html5/render/vue/mixins/input-common.js | 47 +
html5/render/vue/mixins/scrollable.js | 110 +
html5/render/vue/mixins/style.js | 265 +-
html5/render/vue/modules/dom.js | 69 +-
html5/render/vue/modules/index.js | 42 +-
html5/render/vue/styles/components.css | 225 +-
html5/render/vue/styles/reset.css | 44 +-
html5/render/vue/utils/component.js | 83 +-
html5/render/vue/utils/event.js | 91 +-
html5/render/vue/utils/func.js | 81 +-
html5/render/vue/utils/index.js | 55 +-
html5/render/vue/utils/lazyload.js | 102 +
html5/render/vue/utils/perf.js | 170 +
html5/render/vue/utils/style.js | 21 +
html5/render/vue/utils/type.js | 20 +
html5/test/render/index.js | 3 -
html5/test/render/vue/components/a.js | 38 +
html5/test/render/vue/components/div.js | 29 +
html5/test/render/vue/components/image.js | 44 +-
html5/test/render/vue/components/list.js | 21 +-
html5/test/render/vue/components/switch.js | 35 +-
html5/test/render/vue/components/text.js | 42 +-
html5/test/render/vue/components/web.js | 14 +-
html5/test/render/vue/examples/list-cell.js | 16 +-
html5/test/render/vue/helper.js | 157 +-
html5/test/render/vue/utils.js | 1 -
html5/test/render/vue/validator/check.js | 1 -
html5/test/render/vue/validator/index.js | 1 -
html5/test/render/vue/validator/prop.js | 1 -
html5/test/render/vue/validator/style.js | 1 -
index.html | 3 +-
ios/playground/bundlejs/component/image-demo.js | 2 +-
ios/playground/bundlejs/component/input-demo.js | 2683 ++---
.../bundlejs/component/lengthunitwx-demo.js | 329 +
.../bundlejs/component/list/list-basic.js | 132 +-
.../component/list/list-demo-horizon.js | 12 +-
.../bundlejs/component/list/list-demo.js | 12 +-
.../bundlejs/component/list/waterfall.js | 877 ++
.../bundlejs/component/marquee-demo.js | 13 +-
.../bundlejs/component/process-bar-demo.js | 17 +-
.../bundlejs/component/scroller-demo.js | 219 +-
.../bundlejs/component/slider-neighbor/index.js | 8 +-
.../slider-neighbor/slider-neighbor-item.js | 12 +-
.../slider-neighbor/slider-neighbor-page.js | 28 +-
ios/playground/bundlejs/component/slider-tab.js | 633 ++
.../bundlejs/component/slider/index.js | 56 +-
.../bundlejs/component/slider/slider-item.js | 12 +-
.../bundlejs/component/slider/slider-page.js | 28 +-
ios/playground/bundlejs/component/text-demo.js | 24 +-
ios/playground/bundlejs/component/video-demo.js | 24 +-
ios/playground/bundlejs/component/web-demo.js | 25 +-
ios/playground/bundlejs/error.js | 20 +-
ios/playground/bundlejs/geolocation.js | 46 +-
ios/playground/bundlejs/hello.js | 4 +-
ios/playground/bundlejs/iconfont.js | 12 +-
ios/playground/bundlejs/index.js | 270 +-
ios/playground/bundlejs/linear-gradient.js | 8 +-
ios/playground/bundlejs/module/chatroom-demo.js | 370 +
ios/playground/bundlejs/module/clipboard.js | 61 +-
ios/playground/bundlejs/module/componentRect.js | 28 +-
ios/playground/bundlejs/module/instance-api.js | 61 +-
ios/playground/bundlejs/module/modal.js | 27 +-
ios/playground/bundlejs/module/picker-demo.js | 27 +-
ios/playground/bundlejs/module/storage-demo.js | 61 +-
ios/playground/bundlejs/module/stream-demo.js | 61 +-
.../bundlejs/module/websocket-demo.js | 2661 ++---
ios/playground/bundlejs/showcase/boxshadow.js | 269 +
ios/playground/bundlejs/showcase/calculator.js | 30 +-
.../bundlejs/showcase/dropdown/dropdown-demo.js | 38 +-
.../bundlejs/showcase/dropdown/we-dropdown.js | 12 +-
ios/playground/bundlejs/showcase/minesweeper.js | 12 +-
.../bundlejs/showcase/pseudo-class.js | 30 +-
ios/playground/bundlejs/showcase/ui.js | 30 +-
ios/playground/bundlejs/style/index.js | 82 +-
ios/playground/bundlejs/style/style-box.js | 46 +-
ios/playground/bundlejs/style/style-flex.js | 54 +-
ios/playground/bundlejs/style/style-item.js | 12 +-
ios/playground/bundlejs/syntax/hello-world-1.js | 4 +-
ios/playground/bundlejs/syntax/hello-world-2.js | 4 +-
ios/playground/bundlejs/syntax/hello-world-3.js | 8 +-
ios/playground/bundlejs/syntax/hello-world-4.js | 12 +-
ios/playground/bundlejs/syntax/hello-world-5.js | 12 +-
ios/playground/bundlejs/syntax/hello-world.js | 12 +-
ios/playground/bundlejs/syntax/index.js | 296 +-
.../bundlejs/syntax/script-component.js | 24 +-
ios/playground/bundlejs/syntax/script-data.js | 12 +-
ios/playground/bundlejs/syntax/script-events.js | 20 +-
.../bundlejs/syntax/script-instance.js | 12 +-
.../bundlejs/syntax/script-lifecycle.js | 12 +-
ios/playground/bundlejs/syntax/script-module.js | 12 +-
.../bundlejs/syntax/script-options.js | 12 +-
.../bundlejs/syntax/template-class.js | 12 +-
.../bundlejs/syntax/template-content.js | 20 +-
.../bundlejs/syntax/template-event.js | 12 +-
ios/playground/bundlejs/syntax/template-if.js | 12 +-
.../bundlejs/syntax/template-repeat-update.js | 12 +-
.../bundlejs/syntax/template-repeat.js | 12 +-
.../bundlejs/syntax/template-style.js | 8 +-
ios/playground/bundlejs/template.js | 12 +-
ios/playground/bundlejs/test.js | 8 +-
ios/playground/bundlejs/vue/animation.js | 120 +-
ios/playground/bundlejs/vue/components/a.js | 97 +-
.../bundlejs/vue/components/countdown.js | 122 +-
ios/playground/bundlejs/vue/components/image.js | 142 +-
ios/playground/bundlejs/vue/components/input.js | 735 +-
ios/playground/bundlejs/vue/components/list.js | 44 +-
.../bundlejs/vue/components/marquee.js | 105 +-
.../bundlejs/vue/components/navigator.js | 187 +-
.../bundlejs/vue/components/scroller.js | 48 +-
.../bundlejs/vue/components/slider.js | 341 +-
.../bundlejs/vue/components/tabbar.js | 133 +-
ios/playground/bundlejs/vue/components/text.js | 132 +-
ios/playground/bundlejs/vue/components/video.js | 72 +-
.../bundlejs/vue/components/waterfall.js | 877 ++
ios/playground/bundlejs/vue/components/web.js | 74 +-
ios/playground/bundlejs/vue/hello.js | 19 +-
ios/playground/bundlejs/vue/iconfont.js | 36 +-
ios/playground/bundlejs/vue/index.js | 139 +-
.../bundlejs/vue/modules/clipboard.js | 147 +-
.../bundlejs/vue/modules/instance-api.js | 59 +-
ios/playground/bundlejs/vue/modules/modal.js | 105 +-
ios/playground/bundlejs/vue/modules/storage.js | 71 +-
ios/playground/bundlejs/vue/modules/stream.js | 95 +-
.../bundlejs/vue/showcase/boxshadow.js | 244 +
.../bundlejs/vue/showcase/calculator.js | 72 +-
.../bundlejs/vue/showcase/itemlist.js | 166 +-
.../bundlejs/vue/showcase/new-fashion.js | 557 +-
.../bundlejs/vue/showcase/progress.js | 63 +-
ios/playground/bundlejs/vue/style/index.js | 418 +-
ios/playground/bundlejs/vue/style/style-box.js | 180 +-
ios/playground/bundlejs/vue/style/style-flex.js | 238 +-
ios/playground/bundlejs/vue/style/style-item.js | 26 +-
.../bundlejs/vue/syntax/hello-world-1.js | 17 +-
.../bundlejs/vue/syntax/hello-world-2.js | 23 +-
.../bundlejs/vue/syntax/hello-world-3.js | 28 +-
.../bundlejs/vue/syntax/hello-world-4.js | 32 +-
.../bundlejs/vue/syntax/hello-world-5.js | 32 +-
.../bundlejs/vue/syntax/hello-world.js | 32 +-
.../bundlejs/vue/syntax/script-component.js | 64 +-
.../bundlejs/vue/syntax/script-data.js | 36 +-
.../bundlejs/vue/syntax/script-events.js | 32 +-
.../bundlejs/vue/syntax/script-instance.js | 30 +-
.../bundlejs/vue/syntax/script-lifecycle.js | 32 +-
.../bundlejs/vue/syntax/script-module.js | 30 +-
.../bundlejs/vue/syntax/script-options.js | 28 +-
.../bundlejs/vue/syntax/template-class.js | 34 +-
.../bundlejs/vue/syntax/template-content.js | 49 +-
.../bundlejs/vue/syntax/template-event.js | 36 +-
.../bundlejs/vue/syntax/template-if.js | 32 +-
.../vue/syntax/template-repeat-update.js | 40 +-
.../bundlejs/vue/syntax/template-repeat.js | 50 +-
.../bundlejs/vue/syntax/template-style.js | 27 +-
ios/playground/bundlejs/vue/template.js | 181 +-
ios/sdk/WeexSDK.xcodeproj/project.pbxproj | 8 -
.../Component/Recycler/WXMultiColumnLayout.h | 2 +
.../Component/Recycler/WXMultiColumnLayout.m | 5 +-
.../Component/Recycler/WXRecyclerComponent.m | 45 +-
.../Recycler/WXRecyclerDataController.h | 4 +
.../Recycler/WXRecyclerDataController.m | 18 +
.../Component/WXComponent+GradientColor.h | 21 -
.../Component/WXComponent+GradientColor.m | 120 -
.../Sources/Component/WXComponent_internal.h | 12 +
.../WeexSDK/Sources/Component/WXEditComponent.m | 30 +-
.../WeexSDK/Sources/Component/WXListComponent.m | 7 +-
.../Sources/Component/WXScrollerComponent.m | 10 +-
.../WeexSDK/Sources/Component/WXTextComponent.m | 5 +
.../Sources/Display/WXComponent+BoxShadow.h | 2 +-
.../Sources/Display/WXComponent+BoxShadow.m | 10 +-
ios/sdk/WeexSDK/Sources/Display/WXInnerLayer.h | 2 +-
ios/sdk/WeexSDK/Sources/Display/WXInnerLayer.m | 4 +-
.../WeexSDK/Sources/Layout/WXComponent+Layout.m | 5 +-
.../Sources/Manager/WXComponentManager.m | 4 +-
ios/sdk/WeexSDK/Sources/Model/WXComponent.m | 58 +-
ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.h | 2 +-
ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.m | 25 +-
ios/sdk/WeexSDK/Sources/Utility/WXConvert.h | 1 +
ios/sdk/WeexSDK/Sources/Utility/WXConvert.m | 22 +
ios/sdk/WeexSDK/Sources/Utility/WXUtility.h | 27 +
ios/sdk/WeexSDK/Sources/Utility/WXUtility.m | 101 +
.../Sources/View/WXComponent+ViewManagement.m | 1 -
ios/sdk/WeexSDK/Sources/WeexSDK.h | 1 +
package.json | 37 +-
packages/weex-vue-render/README.md | 51 +-
packages/weex-vue-render/package.json | 13 +-
test/.gitignore | 2 +
test/ci-funcs.sh | 3 +
test/pages/components/recycler.vue | 487 +
test/pages/components/scroller-fixed.vue | 64 +
test/pages/components/scroller-fixed.we | 62 -
test/pages/components/textarea-maxlength.vue | 50 +
test/pages/dom-operation.vue | 37 +
test/pages/dom-operation.we | 32 -
test/pages/image-onload.vue | 21 +
test/pages/image-onload.we | 19 -
test/pages/index.vue | 30 +
test/pages/index.we | 27 -
test/pages/list-scroll.vue | 34 +
test/pages/list-scroll.we | 31 -
test/pages/scroller-scroll.vue | 33 +
test/pages/scroller-scroll.we | 31 -
test/run.sh | 10 +-
test/scripts/components/image-onload.test.js | 2 +-
test/scripts/components/recycler.test.js | 412 +
test/scripts/components/scroll-event.test.js | 4 +-
test/scripts/components/scroller-fixed.test.js | 2 +-
.../components/textarea-maxlength.test.js | 36 +
test/scripts/dom.test.js | 11 +-
test/scripts/index.test.js | 16 +-
test/scripts/util.js | 24 +
test/serve.sh | 6 +-
vue.html | 53 +-
606 files changed, 74999 insertions(+), 13487 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/9f1cd6bc/android/playground/app/src/main/java/com/alibaba/weex/WXPageActivity.java
----------------------------------------------------------------------
diff --cc android/playground/app/src/main/java/com/alibaba/weex/WXPageActivity.java
index f8c9b96,7ce282a..fbf42af
--- a/android/playground/app/src/main/java/com/alibaba/weex/WXPageActivity.java
+++ b/android/playground/app/src/main/java/com/alibaba/weex/WXPageActivity.java
@@@ -229,6 -231,8 +231,7 @@@ import android.view.ViewGroup
import android.widget.ProgressBar;
import android.widget.Toast;
+ import com.alibaba.fastjson.JSON;
-import com.alibaba.fastjson.JSONArray;
import com.alibaba.weex.commons.WXAnalyzerDelegate;
import com.alibaba.weex.commons.util.ScreenUtil;
import com.alibaba.weex.constants.Constants;
@@@ -240,10 -244,18 +243,13 @@@ import com.taobao.weex.IWXRenderListene
import com.taobao.weex.RenderContainer;
import com.taobao.weex.WXSDKEngine;
import com.taobao.weex.WXSDKInstance;
-import com.taobao.weex.WXSDKManager;
-import com.taobao.weex.annotation.Component;
import com.taobao.weex.appfram.navigator.IActivityNavBarSetter;
-import com.taobao.weex.bridge.WXValidateProcessor;
import com.taobao.weex.common.IWXDebugProxy;
import com.taobao.weex.common.WXRenderStrategy;
+ import com.taobao.weex.dom.ImmutableDomObject;
-import com.taobao.weex.dom.WXDomModule;
-import com.taobao.weex.dom.WXDomObject;
import com.taobao.weex.ui.component.NestedContainer;
+ import com.taobao.weex.ui.component.WXComponent;
+ import com.taobao.weex.ui.component.WXVContainer;
import com.taobao.weex.utils.WXFileUtils;
import com.taobao.weex.utils.WXLogUtils;
[24/50] incubator-weex git commit: * [ios] remove white space
Posted by so...@apache.org.
* [ios] remove white space
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/f446000c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/f446000c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/f446000c
Branch: refs/heads/dev
Commit: f446000cdfd468d6a083f7563b987e5f224a6869
Parents: b2d3855
Author: acton393 <zh...@gmail.com>
Authored: Tue Apr 18 11:21:03 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Tue Apr 18 11:21:03 2017 +0800
----------------------------------------------------------------------
ios/sdk/WeexSDK/Sources/Utility/WXUtility.m | 1 +
ios/sdk/WeexSDK/Sources/View/WXComponent+ViewManagement.m | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/f446000c/ios/sdk/WeexSDK/Sources/Utility/WXUtility.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Utility/WXUtility.m b/ios/sdk/WeexSDK/Sources/Utility/WXUtility.m
index 048e7bc..d2c2e1a 100644
--- a/ios/sdk/WeexSDK/Sources/Utility/WXUtility.m
+++ b/ios/sdk/WeexSDK/Sources/Utility/WXUtility.m
@@ -343,6 +343,7 @@ static BOOL WXNotStat;
{
NSMutableDictionary * linearGradient = nil;
if ([backgroundImage hasPrefix:@"linear-gradient"] && [backgroundImage hasSuffix:@")"] ) {
+ backgroundImage = [backgroundImage stringByReplacingOccurrencesOfString:@" " withString:@""];
NSRange range = NSMakeRange(16, backgroundImage.length - 17);
NSString *str = [backgroundImage substringWithRange:range];
NSArray *array = [str componentsSeparatedByString:@","];
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/f446000c/ios/sdk/WeexSDK/Sources/View/WXComponent+ViewManagement.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/View/WXComponent+ViewManagement.m b/ios/sdk/WeexSDK/Sources/View/WXComponent+ViewManagement.m
index 55e76b0..88f03d4 100644
--- a/ios/sdk/WeexSDK/Sources/View/WXComponent+ViewManagement.m
+++ b/ios/sdk/WeexSDK/Sources/View/WXComponent+ViewManagement.m
@@ -107,7 +107,7 @@
- (void)_initViewPropertyWithStyles:(NSDictionary *)styles
{
_backgroundColor = styles[@"backgroundColor"] ? [WXConvert UIColor:styles[@"backgroundColor"]] : [UIColor clearColor];
- _backgroundImage = styles[@"backgroundImage"] ? [[WXConvert NSString:styles[@"backgroundImage"]]stringByReplacingOccurrencesOfString:@" " withString:@""]: nil;
+ _backgroundImage = styles[@"backgroundImage"] ? [WXConvert NSString:styles[@"backgroundImage"]]: nil;
_opacity = styles[@"opacity"] ? [WXConvert CGFloat:styles[@"opacity"]] : 1.0;
_clipToBounds = styles[@"overflow"] ? [WXConvert WXClipType:styles[@"overflow"]] : NO;
_visibility = styles[@"visibility"] ? [WXConvert WXVisibility:styles[@"visibility"]] : WXVisibilityShow;
@@ -137,7 +137,7 @@
}
if (styles[@"backgroundImage"]) {
- _backgroundImage = styles[@"backgroundImage"] ? [[WXConvert NSString:styles[@"backgroundImage"]]stringByReplacingOccurrencesOfString:@" " withString:@""]: nil;
+ _backgroundImage = styles[@"backgroundImage"] ? [WXConvert NSString:styles[@"backgroundImage"]]: nil;
if (_backgroundImage) {
[self setGradientLayer];
[43/50] incubator-weex git commit: Merge branch 'dev' into 0.12-dev
Posted by so...@apache.org.
Merge branch 'dev' into 0.12-dev
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/1aa4ec01
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/1aa4ec01
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/1aa4ec01
Branch: refs/heads/dev
Commit: 1aa4ec01a34464142c681da72a74cc38b0051268
Parents: a6b0767 917eabe
Author: cxfeng <cx...@apache.org>
Authored: Thu Apr 20 14:57:02 2017 +0800
Committer: cxfeng <cx...@apache.org>
Committed: Thu Apr 20 14:57:02 2017 +0800
----------------------------------------------------------------------
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
[32/50] incubator-weex git commit: * [ios] update lineIndex
Posted by so...@apache.org.
* [ios] update lineIndex
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/90c35830
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/90c35830
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/90c35830
Branch: refs/heads/dev
Commit: 90c358303096baac16b95b81bdad68c805e8630d
Parents: 1fd7c08
Author: acton393 <zh...@gmail.com>
Authored: Tue Apr 18 18:00:08 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Tue Apr 18 18:00:08 2017 +0800
----------------------------------------------------------------------
ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/90c35830/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m b/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m
index fed8dd5..005ca1a 100644
--- a/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m
+++ b/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m
@@ -609,7 +609,7 @@ do {\
BOOL needTruncation = NO;
CTLineRef ctTruncatedLine = NULL;
CTFrameGetLineOrigins(_coreTextFrameRef, CFRangeMake(0, 0), lineOrigins);
- for (CFIndex lineIndex = 0;(!_lines || _lines >= lineIndex) && lineIndex < lineCount; lineIndex ++) {
+ for (CFIndex lineIndex = 0;(!_lines || _lines > lineIndex) && lineIndex < lineCount; lineIndex ++) {
CTLineRef lineRef = NULL;
lineRef = CFArrayGetValueAtIndex(ctLines, lineIndex);
if (!lineRef) {
[45/50] incubator-weex git commit: * [ios] try to fix list crash on
some occasion
Posted by so...@apache.org.
* [ios] try to fix list crash on some occasion
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/8b9cf602
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/8b9cf602
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/8b9cf602
Branch: refs/heads/dev
Commit: 8b9cf6027d14161e6ce49f2e2ec0cbb471242137
Parents: 6fa910f
Author: acton393 <zh...@gmail.com>
Authored: Thu Apr 20 16:28:00 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Thu Apr 20 16:28:00 2017 +0800
----------------------------------------------------------------------
ios/sdk/WeexSDK/Sources/Component/WXListComponent.m | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8b9cf602/ios/sdk/WeexSDK/Sources/Component/WXListComponent.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Component/WXListComponent.m b/ios/sdk/WeexSDK/Sources/Component/WXListComponent.m
index 45137ef..99f6f54 100644
--- a/ios/sdk/WeexSDK/Sources/Component/WXListComponent.m
+++ b/ios/sdk/WeexSDK/Sources/Component/WXListComponent.m
@@ -276,16 +276,17 @@
}
[self.weexInstance.componentManager _addUITask:^{
- WXLogDebug(@"Insert section:%ld", insertIndex);
- [_completedSections insertObject:completedInsertSection atIndex:insertIndex];
- if (completedReloadSection) {
- WXLogDebug(@"Reload section:%ld", insertIndex - 1);
- _completedSections[insertIndex - 1] = completedReloadSection;
- }
+ WXLogDebug(@"Insert section:%ld", (unsigned long)insertIndex);
[UIView performWithoutAnimation:^{
[_tableView beginUpdates];
+ [_completedSections insertObject:completedInsertSection atIndex:insertIndex];
+ if (completedReloadSection) {
+ WXLogDebug(@"Reload section:%u", insertIndex - 1);
+ _completedSections[insertIndex - 1] = completedReloadSection;
+ }
+
[self _insertTableViewSectionAtIndex:insertIndex keepScrollPosition:keepScrollPosition animation:UITableViewRowAnimationNone];
if (completedReloadSection) {
[05/50] incubator-weex git commit: * [android] bugfix for progard
Posted by so...@apache.org.
* [android] bugfix for progard
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/8832cc34
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/8832cc34
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/8832cc34
Branch: refs/heads/dev
Commit: 8832cc3433acd857b7a0fad188fe410a4e1780d6
Parents: 91a3a2f
Author: zshshr <zh...@gmail.com>
Authored: Mon Apr 10 16:24:11 2017 +0800
Committer: zshshr <zh...@gmail.com>
Committed: Mon Apr 10 16:24:11 2017 +0800
----------------------------------------------------------------------
android/sdk/src/main/java/com/taobao/weex/bridge/WXParams.java | 6 ++++++
1 file changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8832cc34/android/sdk/src/main/java/com/taobao/weex/bridge/WXParams.java
----------------------------------------------------------------------
diff --git a/android/sdk/src/main/java/com/taobao/weex/bridge/WXParams.java b/android/sdk/src/main/java/com/taobao/weex/bridge/WXParams.java
index e7b3f5e..3ccbbb5 100755
--- a/android/sdk/src/main/java/com/taobao/weex/bridge/WXParams.java
+++ b/android/sdk/src/main/java/com/taobao/weex/bridge/WXParams.java
@@ -233,6 +233,9 @@ public class WXParams {
}
public String getLogLevel() {
+ if(logLevel!=null){
+ return "";
+ }
return logLevel;
}
@@ -241,6 +244,9 @@ public class WXParams {
}
public String getNeedInitV8() {
+ if(needInitV8!=null){
+ return "";
+ }
return this.needInitV8;
}
[48/50] incubator-weex git commit: Merge branch
'android-feature-20170307-jsc' into 0.12-dev
Posted by so...@apache.org.
Merge branch 'android-feature-20170307-jsc' into 0.12-dev
* android-feature-20170307-jsc:
* [android] fix so size null
*[android] update to weexjsc
*[android] rename so to weexjsc
* [android] progard bugfix
* [android] bugfix for progard
* [android] jsd native crash fix
* [android] native crash fix
* [android] update jsd so
* [android] strip so
* [android] use jsc
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/bcb5e890
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/bcb5e890
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/bcb5e890
Branch: refs/heads/dev
Commit: bcb5e890491524c5e0b95d9c696970cfb406d8a9
Parents: afad8d2 cbe922c
Author: zshshr <zh...@gmail.com>
Authored: Thu Apr 20 19:16:59 2017 +0800
Committer: zshshr <zh...@gmail.com>
Committed: Thu Apr 20 19:16:59 2017 +0800
----------------------------------------------------------------------
.../java/com/alibaba/weex/WXPageActivity.java | 6 ------
android/sdk/build.gradle | 2 +-
android/sdk/libs/armeabi/libweexjsc.so | Bin 0 -> 7816288 bytes
android/sdk/libs/armeabi/libweexv8.so | Bin 3563544 -> 0 bytes
.../main/java/com/taobao/weex/WXSDKEngine.java | 2 +-
.../java/com/taobao/weex/bridge/WXParams.java | 6 ++++++
.../com/taobao/weex/utils/WXSoInstallMgrSdk.java | 2 +-
7 files changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
[38/50] incubator-weex git commit: * [ios] set usingCoretext false
default
Posted by so...@apache.org.
* [ios] set usingCoretext false default
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/a6b0767e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/a6b0767e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/a6b0767e
Branch: refs/heads/dev
Commit: a6b0767eb0135e455264f1f41d1aa0ef5704008d
Parents: 82f9a32
Author: acton393 <zh...@gmail.com>
Authored: Wed Apr 19 11:44:52 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Wed Apr 19 11:44:52 2017 +0800
----------------------------------------------------------------------
ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m | 2 +-
ios/sdk/WeexSDK/Sources/WeexSDK.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/a6b0767e/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m b/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m
index 005ca1a..09b255d 100644
--- a/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m
+++ b/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m
@@ -80,7 +80,7 @@
@end
-static BOOL textRenderUsingCoreText = YES;
+static BOOL textRenderUsingCoreText = NO;
NSString *const WXTextTruncationToken = @"\u2026";
CGFloat WXTextDefaultLineThroughWidth = 1.2;
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/a6b0767e/ios/sdk/WeexSDK/Sources/WeexSDK.h
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/WeexSDK.h b/ios/sdk/WeexSDK/Sources/WeexSDK.h
index d8ac443..72b86f4 100644
--- a/ios/sdk/WeexSDK/Sources/WeexSDK.h
+++ b/ios/sdk/WeexSDK/Sources/WeexSDK.h
@@ -48,7 +48,6 @@
#import "WXDefine.h"
#import "WXDebugTool.h"
#import "WXConvert.h"
-#import "WXConfigProtocol.h"
#import "WXComponentManager.h"
#import "WXComponent.h"
#import "WXBridgeProtocol.h"
[29/50] incubator-weex git commit: Revert "* [ios] add config for
componentWithName"
Posted by so...@apache.org.
Revert "* [ios] add config for componentWithName"
This reverts commit b2d38557969853b34e4b803ea2aba7a02500d4b3.
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/aaa189f8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/aaa189f8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/aaa189f8
Branch: refs/heads/dev
Commit: aaa189f8181d27afd993fa39c53362f7d954ed77
Parents: f446000
Author: acton393 <zh...@gmail.com>
Authored: Tue Apr 18 17:43:53 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Tue Apr 18 17:43:53 2017 +0800
----------------------------------------------------------------------
.../Sources/Handler/WXConfigDefaultImpl.h | 26 ----------
.../Sources/Handler/WXConfigDefaultImpl.m | 54 --------------------
.../Sources/Manager/WXComponentFactory.m | 7 ---
.../WeexSDK/Sources/Protocol/WXConfigProtocol.h | 27 ----------
4 files changed, 114 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/aaa189f8/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.h
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.h b/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.h
deleted file mode 100644
index ccd7280..0000000
--- a/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-#import <Foundation/Foundation.h>
-
-#import "WXConfigProtocol.h"
-
-@interface WXConfigDefaultImpl : NSObject<WXConfigProtocol>
-
-@end
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/aaa189f8/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.m b/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.m
deleted file mode 100644
index 1d2ebf5..0000000
--- a/ios/sdk/WeexSDK/Sources/Handler/WXConfigDefaultImpl.m
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-#import "WXConfigDefaultImpl.h"
-#import "WXThreadSafeMutableDictionary.h"
-#import "WXUtility.h"
-
-@interface WXConfigDefaultImpl()
-@property(nonatomic, strong) WXThreadSafeMutableDictionary* configDic;
-@end
-@implementation WXConfigDefaultImpl
-
-- (instancetype)init
-{
- if (self = [super init]) {
- _configDic = [WXThreadSafeMutableDictionary new];
- }
-
- return self;
-}
-
-- (void)setClassWithName:(Class)className name:(NSString *)name
-{
- if (![WXUtility isBlankString:name] && className) {
- [_configDic setObject:className forKey:name];
- }
-}
-
-- (Class)classWithName:(NSString *)name
-{
- if (![WXUtility isBlankString:name]) {
- return [_configDic objectForKey:name];
- }
-
- return nil;
-}
-
-@end
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/aaa189f8/ios/sdk/WeexSDK/Sources/Manager/WXComponentFactory.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Manager/WXComponentFactory.m b/ios/sdk/WeexSDK/Sources/Manager/WXComponentFactory.m
index 7589dfe..aa79bad 100644
--- a/ios/sdk/WeexSDK/Sources/Manager/WXComponentFactory.m
+++ b/ios/sdk/WeexSDK/Sources/Manager/WXComponentFactory.m
@@ -21,8 +21,6 @@
#import "WXAssert.h"
#import "WXLog.h"
#import "WXInvocationConfig.h"
-#import "WXHandlerFactory.h"
-#import "WXConfigProtocol.h"
#import <objc/runtime.h>
@@ -191,11 +189,6 @@
if(!config || !config.clazz) {
return nil;
}
- id<WXConfigProtocol> configHandler = [WXHandlerFactory handlerForProtocol:NSProtocolFromString(@"WXConfigProtocol")];
-
- if ([configHandler respondsToSelector:@selector(classWithName:)]) {
- return [configHandler classWithName:name];
- }
return NSClassFromString(config.clazz);
}
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/aaa189f8/ios/sdk/WeexSDK/Sources/Protocol/WXConfigProtocol.h
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Protocol/WXConfigProtocol.h b/ios/sdk/WeexSDK/Sources/Protocol/WXConfigProtocol.h
deleted file mode 100644
index a4a9e93..0000000
--- a/ios/sdk/WeexSDK/Sources/Protocol/WXConfigProtocol.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-@protocol WXConfigProtocol <NSObject>
-
-@optional
-
-- (Class)classWithName:(NSString*)name;
-- (void)setClassWithName:(Class)className name:(NSString*)name;
-
-@end
[13/50] incubator-weex git commit: *[iOS] remove start event and stop
event from slider component.
Posted by so...@apache.org.
*[iOS] remove start event and stop event from slider component.
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/92d91a05
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/92d91a05
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/92d91a05
Branch: refs/heads/dev
Commit: 92d91a05b72a7685831a48847e50bf6bcfff620e
Parents: e11dbdf
Author: LiuHongfeng(GuJian) <La...@gmail.com>
Authored: Mon Apr 17 17:36:51 2017 +0800
Committer: LiuHongfeng(GuJian) <La...@gmail.com>
Committed: Mon Apr 17 17:36:51 2017 +0800
----------------------------------------------------------------------
.../Sources/Component/WXSliderComponent.m | 55 +++-----------------
1 file changed, 6 insertions(+), 49 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/92d91a05/ios/sdk/WeexSDK/Sources/Component/WXSliderComponent.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Component/WXSliderComponent.m b/ios/sdk/WeexSDK/Sources/Component/WXSliderComponent.m
index f0310e5..1077bc8 100644
--- a/ios/sdk/WeexSDK/Sources/Component/WXSliderComponent.m
+++ b/ios/sdk/WeexSDK/Sources/Component/WXSliderComponent.m
@@ -31,8 +31,9 @@
- (void)sliderView:(WXSliderView *)sliderView sliderViewDidScroll:(UIScrollView *)scrollView;
- (void)sliderView:(WXSliderView *)sliderView didScrollToItemAtIndex:(NSInteger)index;
-- (void)sliderView:(WXSliderView *)sliderView scrollViewDidStartScroll:(UIScrollView *)scrollView;
-- (void)sliderView:(WXSliderView *)sliderView scrollViewDidStopScroll:(UIScrollView *)scrollView;
+
+@optional
+- (void)sliderView:(WXSliderView *)sliderView scrollViewDidEndScrollingAnimation:(UIScrollView *)scrollView;
@end
@@ -44,7 +45,6 @@
@property (nonatomic, strong) UIScrollView *scrollView;
@property (nonatomic, strong) NSMutableArray *itemViews;
@property (nonatomic, assign) NSInteger currentIndex;
-@property (nonatomic, assign) BOOL isStartScroll;
- (UIScrollView *)scrollView;
- (void)insertItemView:(UIView *)view atIndex:(NSInteger)index;
@@ -296,15 +296,6 @@
- (void)scrollViewDidScroll:(UIScrollView *)scrollView
{
- [NSObject cancelPreviousPerformRequestsWithTarget:self];
- __weak typeof(self) weakSelf = self;
- if (!weakSelf)
- {
- return;
- }
- //ensure that the end of scroll is fired.
- [self performSelector:@selector(scrollViewDidEndScrollingAnimation:) withObject:nil afterDelay:0.3];
-
UIView *itemView = nil;
for (itemView in self.itemViews) {
if ([self _isItemViewVisiable:itemView]) {
@@ -336,8 +327,8 @@
// called when setContentOffset/scrollRectVisible:animated: finishes. called from the performselector in scrollViewDidScroll if not animating.
-(void)scrollViewDidEndScrollingAnimation:(UIScrollView *)scrollView
{
- if (self.delegate && [self.delegate respondsToSelector:@selector(sliderView:scrollViewDidStopScroll:)]) {
- [self.delegate sliderView:self scrollViewDidStopScroll:scrollView];
+ if (self.delegate && [self.delegate respondsToSelector:@selector(sliderView:scrollViewDidEndScrollingAnimation:)]) {
+ [self.delegate sliderView:self scrollViewDidEndScrollingAnimation:scrollView];
}
}
@@ -356,9 +347,6 @@
@property (nonatomic, assign) CGFloat offsetXAccuracy;
@property (nonatomic, assign) BOOL sliderChangeEvent;
@property (nonatomic, assign) BOOL sliderScrollEvent;
-@property (nonatomic, assign) BOOL sliderScrollStartEvent;
-@property (nonatomic, assign) BOOL sliderScrollEndEvent;
-@property (nonatomic, assign) BOOL sliderStartEventFired;
@property (nonatomic, strong) NSMutableArray *childrenView;
@property (nonatomic, assign) BOOL scrollable;
@@ -495,7 +483,7 @@
WXSliderView *sliderView = (WXSliderView *)_view;
[sliderView removeItemView:view];
[sliderView setCurrentIndex:0];
-}ggg
+}
- (void)updateAttributes:(NSDictionary *)attributes
{
@@ -544,12 +532,6 @@
if ([eventName isEqualToString:@"scroll"]) {
_sliderScrollEvent = YES;
}
- if ([eventName isEqualToString:@"scrollstart"]) {
- _sliderScrollStartEvent = YES;
- }
- if ([eventName isEqualToString:@"scrollend"]) {
- _sliderScrollEndEvent = YES;
- }
}
- (void)removeEvent:(NSString *)eventName
@@ -560,12 +542,6 @@
if ([eventName isEqualToString:@"scroll"]) {
_sliderScrollEvent = NO;
}
- if ([eventName isEqualToString:@"scrollstart"]) {
- _sliderScrollStartEvent = NO;
- }
- if ([eventName isEqualToString:@"scrollend"]) {
- _sliderScrollEndEvent = NO;
- }
}
#pragma mark WXIndicatorComponentDelegate Methods
@@ -630,9 +606,6 @@
[self fireEvent:@"scroll" params:@{@"offsetXRatio":[NSNumber numberWithFloat:offsetXRatio]} domChanges:nil];
}
}
- if (!_sliderStartEventFired) {
- [self sliderView:sliderView scrollViewDidStartScroll:scrollView];
- }
}
- (void)sliderView:(WXSliderView *)sliderView didScrollToItemAtIndex:(NSInteger)index
@@ -643,22 +616,6 @@
}
}
-- (void)sliderView:(WXSliderView *)sliderView scrollViewDidStartScroll:(UIScrollView *)scrollView
-{
- if (_sliderScrollStartEvent) {
- [self fireEvent:@"scrollstart" params:nil domChanges:nil];
- }
- _sliderStartEventFired = YES;
-}
-
-- (void)sliderView:(WXSliderView *)sliderView scrollViewDidStopScroll:(UIScrollView *)scrollView
-{
- if (_sliderScrollEndEvent) {
- [self fireEvent:@"scrollend" params:nil domChanges:nil];
- }
- _sliderStartEventFired = NO;
-}
-
- (void)scrollViewWillBeginDragging:(UIScrollView *)scrollView
{
[self _stopAutoPlayTimer];
[42/50] incubator-weex git commit: * [android] fix so size null
Posted by so...@apache.org.
* [android] fix so size null
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/cbe922c0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/cbe922c0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/cbe922c0
Branch: refs/heads/dev
Commit: cbe922c0d8dfdbb7e1efd9f2495bba59d0d98e23
Parents: d9ab2af
Author: zshshr <zh...@gmail.com>
Authored: Wed Apr 19 17:15:16 2017 +0800
Committer: zshshr <zh...@gmail.com>
Committed: Wed Apr 19 17:15:16 2017 +0800
----------------------------------------------------------------------
.../sdk/src/main/java/com/taobao/weex/utils/WXSoInstallMgrSdk.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/cbe922c0/android/sdk/src/main/java/com/taobao/weex/utils/WXSoInstallMgrSdk.java
----------------------------------------------------------------------
diff --git a/android/sdk/src/main/java/com/taobao/weex/utils/WXSoInstallMgrSdk.java b/android/sdk/src/main/java/com/taobao/weex/utils/WXSoInstallMgrSdk.java
index 75b4840..d280191 100644
--- a/android/sdk/src/main/java/com/taobao/weex/utils/WXSoInstallMgrSdk.java
+++ b/android/sdk/src/main/java/com/taobao/weex/utils/WXSoInstallMgrSdk.java
@@ -111,7 +111,7 @@ public class WXSoInstallMgrSdk {
}
boolean InitSuc = false;
- if (checkSoIsValid(libName, BuildConfig.ARMEABI_Size) ||checkSoIsValid(libName, BuildConfig.X86_Size)) {
+ if (checkSoIsValid(libName, 7816288) ||checkSoIsValid(libName, BuildConfig.X86_Size)) {
/**
* Load library with {@link System#loadLibrary(String)}
[19/50] incubator-weex git commit: * [android] stop load when src is
empty
Posted by so...@apache.org.
* [android] stop load when src is empty
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/ca6a9ffe
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/ca6a9ffe
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/ca6a9ffe
Branch: refs/heads/dev
Commit: ca6a9ffe392980f041f26bd413daf40eee5e4ead
Parents: 92d91a0
Author: lybeen <il...@gmail.com>
Authored: Mon Apr 17 22:38:43 2017 +0800
Committer: lybeen <il...@gmail.com>
Committed: Mon Apr 17 22:38:43 2017 +0800
----------------------------------------------------------------------
.../sdk/src/main/java/com/taobao/weex/ui/component/WXEmbed.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/ca6a9ffe/android/sdk/src/main/java/com/taobao/weex/ui/component/WXEmbed.java
----------------------------------------------------------------------
diff --git a/android/sdk/src/main/java/com/taobao/weex/ui/component/WXEmbed.java b/android/sdk/src/main/java/com/taobao/weex/ui/component/WXEmbed.java
index 049ec8b..2917a60 100644
--- a/android/sdk/src/main/java/com/taobao/weex/ui/component/WXEmbed.java
+++ b/android/sdk/src/main/java/com/taobao/weex/ui/component/WXEmbed.java
@@ -236,7 +236,7 @@ public class WXEmbed extends WXDiv implements WXSDKInstance.OnInstanceVisibleLis
mNestedInstance.destroy();
mNestedInstance = null;
}
- if (mIsVisible) {
+ if (mIsVisible && !TextUtils.isEmpty(this.src)) {
loadContent();
}
}
[37/50] incubator-weex git commit: Merge branch 'test-macaca' of
https://github.com/YorkShen/incubator-weex into 0.12-dev
Posted by so...@apache.org.
Merge branch 'test-macaca' of https://github.com/YorkShen/incubator-weex into 0.12-dev
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/82f9a325
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/82f9a325
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/82f9a325
Branch: refs/heads/dev
Commit: 82f9a325f7978ed3ca0dbe0bb24eeae5efa9620e
Parents: 9d66488 4c175a6
Author: YorkShen <sh...@gmail.com>
Authored: Wed Apr 19 10:20:11 2017 +0800
Committer: YorkShen <sh...@gmail.com>
Committed: Wed Apr 19 10:20:11 2017 +0800
----------------------------------------------------------------------
package.json | 4 ++--
test/serve.sh | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
[47/50] incubator-weex git commit: Merge remote-tracking branch
'upstream/0.12-dev' into 0.12-dev
Posted by so...@apache.org.
Merge remote-tracking branch 'upstream/0.12-dev' into 0.12-dev
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/9c6489a3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/9c6489a3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/9c6489a3
Branch: refs/heads/dev
Commit: 9c6489a3a8a619f581019eb76398609f4176b261
Parents: 33ab659 afad8d2
Author: \u9690\u98ce <cx...@apache.org>
Authored: Thu Apr 20 16:47:07 2017 +0800
Committer: \u9690\u98ce <cx...@apache.org>
Committed: Thu Apr 20 16:47:07 2017 +0800
----------------------------------------------------------------------
.eslintignore | 1 +
.gitignore | 2 +-
.travis.yml | 44 +-
NOTICE | 83 +-
README.md | 2 +-
WeexSDK.podspec | 45 +
android/commons/src/main/AndroidManifest.xml | 18 +
.../java/com/alibaba/weex/ApplicationTest.java | 4 +-
.../com/alibaba/weex/WeappJsBaseTestCase.java | 4 +-
.../benchmark/BenchmarkActivityTestRule.java | 4 +-
.../alibaba/weex/benchmark/BenchmarkTest.java | 4 +-
.../com/alibaba/weex/benchmark/BoxPlot.java | 4 +-
.../java/com/alibaba/weex/benchmark/Repeat.java | 4 +-
.../com/alibaba/weex/benchmark/RepeatRule.java | 4 +-
.../weex/benchmark/WeexNativeCompareTest.java | 4 +-
.../weex/uitest/TC_AG/AG_AHref_A_Href.java | 18 +
.../TC_AG/AG_Border_A_Border_Bottom_Color.java | 18 +
.../AG_Border_A_Border_Bottom_Left_Radius.java | 18 +
.../AG_Border_A_Border_Bottom_Right_Radius.java | 18 +
.../TC_AG/AG_Border_A_Border_Bottom_Width.java | 18 +
.../uitest/TC_AG/AG_Border_A_Border_Color.java | 18 +
.../TC_AG/AG_Border_A_Border_Left_Color.java | 18 +
.../TC_AG/AG_Border_A_Border_Left_Width.java | 18 +
.../uitest/TC_AG/AG_Border_A_Border_Radius.java | 18 +
.../TC_AG/AG_Border_A_Border_Right_Color.java | 18 +
.../TC_AG/AG_Border_A_Border_Right_Width.java | 18 +
.../uitest/TC_AG/AG_Border_A_Border_Style.java | 18 +
.../TC_AG/AG_Border_A_Border_Top_Color.java | 18 +
.../AG_Border_A_Border_Top_Left_Radius.java | 18 +
.../AG_Border_A_Border_Top_Right_Radius.java | 18 +
.../TC_AG/AG_Border_A_Border_Top_Width.java | 18 +
.../uitest/TC_AG/AG_Border_A_Border_Width.java | 18 +
.../AG_Border_Div_Border_Bottom_Color.java | 18 +
...AG_Border_Div_Border_Bottom_Left_Radius.java | 18 +
...G_Border_Div_Border_Bottom_Right_Radius.java | 18 +
.../AG_Border_Div_Border_Bottom_Width.java | 18 +
.../TC_AG/AG_Border_Div_Border_Color.java | 18 +
.../TC_AG/AG_Border_Div_Border_Left_Color.java | 18 +
.../TC_AG/AG_Border_Div_Border_Left_Width.java | 18 +
.../TC_AG/AG_Border_Div_Border_Radius.java | 18 +
.../TC_AG/AG_Border_Div_Border_Right_Color.java | 18 +
.../TC_AG/AG_Border_Div_Border_Right_Width.java | 18 +
.../TC_AG/AG_Border_Div_Border_Style.java | 18 +
.../TC_AG/AG_Border_Div_Border_Top_Color.java | 18 +
.../AG_Border_Div_Border_Top_Left_Radius.java | 18 +
.../AG_Border_Div_Border_Top_Right_Radius.java | 18 +
.../TC_AG/AG_Border_Div_Border_Top_Width.java | 18 +
.../TC_AG/AG_Border_Div_Border_Width.java | 18 +
.../AG_Border_Image_Border_Bottom_Color.java | 18 +
..._Border_Image_Border_Bottom_Left_Radius.java | 18 +
...Border_Image_Border_Bottom_Right_Radius.java | 18 +
.../AG_Border_Image_Border_Bottom_Width.java | 18 +
.../TC_AG/AG_Border_Image_Border_Color.java | 18 +
.../AG_Border_Image_Border_Left_Color.java | 18 +
.../AG_Border_Image_Border_Left_Width.java | 18 +
.../TC_AG/AG_Border_Image_Border_Radius.java | 18 +
.../AG_Border_Image_Border_Right_Color.java | 18 +
.../AG_Border_Image_Border_Right_Width.java | 18 +
.../TC_AG/AG_Border_Image_Border_Style.java | 18 +
.../TC_AG/AG_Border_Image_Border_Top_Color.java | 18 +
.../AG_Border_Image_Border_Top_Left_Radius.java | 18 +
...AG_Border_Image_Border_Top_Right_Radius.java | 18 +
.../TC_AG/AG_Border_Image_Border_Top_Width.java | 18 +
.../TC_AG/AG_Border_Image_Border_Width.java | 18 +
.../AG_Border_Input_Border_Bottom_Color.java | 18 +
..._Border_Input_Border_Bottom_Left_Radius.java | 18 +
...Border_Input_Border_Bottom_Right_Radius.java | 18 +
.../AG_Border_Input_Border_Bottom_Width.java | 18 +
.../TC_AG/AG_Border_Input_Border_Color.java | 18 +
.../AG_Border_Input_Border_Left_Color.java | 18 +
.../AG_Border_Input_Border_Left_Width.java | 18 +
.../TC_AG/AG_Border_Input_Border_Radius.java | 18 +
.../AG_Border_Input_Border_Right_Color.java | 18 +
.../AG_Border_Input_Border_Right_Width.java | 18 +
.../TC_AG/AG_Border_Input_Border_Style.java | 18 +
.../TC_AG/AG_Border_Input_Border_Top_Color.java | 18 +
.../AG_Border_Input_Border_Top_Left_Radius.java | 18 +
...AG_Border_Input_Border_Top_Right_Radius.java | 18 +
.../TC_AG/AG_Border_Input_Border_Top_Width.java | 18 +
.../TC_AG/AG_Border_Input_Border_Width.java | 18 +
.../AG_Border_Switch_Border_Bottom_Color.java | 18 +
...Border_Switch_Border_Bottom_Left_Radius.java | 18 +
...order_Switch_Border_Bottom_Right_Radius.java | 18 +
.../AG_Border_Switch_Border_Bottom_Width.java | 18 +
.../TC_AG/AG_Border_Switch_Border_Color.java | 18 +
.../AG_Border_Switch_Border_Left_Color.java | 18 +
.../AG_Border_Switch_Border_Left_Width.java | 18 +
.../TC_AG/AG_Border_Switch_Border_Radius.java | 18 +
.../AG_Border_Switch_Border_Right_Color.java | 18 +
.../AG_Border_Switch_Border_Right_Width.java | 18 +
.../TC_AG/AG_Border_Switch_Border_Style.java | 18 +
.../AG_Border_Switch_Border_Top_Color.java | 18 +
...AG_Border_Switch_Border_Top_Left_Radius.java | 18 +
...G_Border_Switch_Border_Top_Right_Radius.java | 18 +
.../AG_Border_Switch_Border_Top_Width.java | 18 +
.../TC_AG/AG_Border_Switch_Border_Width.java | 18 +
.../AG_Border_Text_Border_Bottom_Color.java | 18 +
...G_Border_Text_Border_Bottom_Left_Radius.java | 18 +
..._Border_Text_Border_Bottom_Right_Radius.java | 18 +
.../AG_Border_Text_Border_Bottom_Width.java | 18 +
.../TC_AG/AG_Border_Text_Border_Color.java | 18 +
.../TC_AG/AG_Border_Text_Border_Left_Color.java | 18 +
.../TC_AG/AG_Border_Text_Border_Left_Width.java | 18 +
.../TC_AG/AG_Border_Text_Border_Radius.java | 18 +
.../AG_Border_Text_Border_Right_Color.java | 18 +
.../AG_Border_Text_Border_Right_Width.java | 18 +
.../TC_AG/AG_Border_Text_Border_Style.java | 18 +
.../TC_AG/AG_Border_Text_Border_Top_Color.java | 18 +
.../AG_Border_Text_Border_Top_Left_Radius.java | 18 +
.../AG_Border_Text_Border_Top_Right_Radius.java | 18 +
.../TC_AG/AG_Border_Text_Border_Top_Width.java | 18 +
.../TC_AG/AG_Border_Text_Border_Width.java | 18 +
.../AG_Border_Video_Border_Bottom_Color.java | 18 +
..._Border_Video_Border_Bottom_Left_Radius.java | 18 +
...Border_Video_Border_Bottom_Right_Radius.java | 18 +
.../AG_Border_Video_Border_Bottom_Width.java | 18 +
.../TC_AG/AG_Border_Video_Border_Color.java | 18 +
.../AG_Border_Video_Border_Left_Color.java | 18 +
.../AG_Border_Video_Border_Left_Width.java | 18 +
.../TC_AG/AG_Border_Video_Border_Radius.java | 18 +
.../AG_Border_Video_Border_Right_Color.java | 18 +
.../AG_Border_Video_Border_Right_Width.java | 18 +
.../TC_AG/AG_Border_Video_Border_Style.java | 18 +
.../TC_AG/AG_Border_Video_Border_Top_Color.java | 18 +
.../AG_Border_Video_Border_Top_Left_Radius.java | 18 +
...AG_Border_Video_Border_Top_Right_Radius.java | 18 +
.../TC_AG/AG_Border_Video_Border_Top_Width.java | 18 +
.../TC_AG/AG_Border_Video_Border_Width.java | 18 +
.../AG_Border_Web_Border_Bottom_Color.java | 18 +
...AG_Border_Web_Border_Bottom_Left_Radius.java | 18 +
...G_Border_Web_Border_Bottom_Right_Radius.java | 18 +
.../AG_Border_Web_Border_Bottom_Width.java | 18 +
.../TC_AG/AG_Border_Web_Border_Color.java | 18 +
.../TC_AG/AG_Border_Web_Border_Left_Color.java | 18 +
.../TC_AG/AG_Border_Web_Border_Left_Width.java | 18 +
.../TC_AG/AG_Border_Web_Border_Radius.java | 18 +
.../TC_AG/AG_Border_Web_Border_Right_Color.java | 18 +
.../TC_AG/AG_Border_Web_Border_Right_Width.java | 18 +
.../TC_AG/AG_Border_Web_Border_Style.java | 18 +
.../TC_AG/AG_Border_Web_Border_Top_Color.java | 18 +
.../AG_Border_Web_Border_Top_Left_Radius.java | 18 +
.../AG_Border_Web_Border_Top_Right_Radius.java | 18 +
.../TC_AG/AG_Border_Web_Border_Top_Width.java | 18 +
.../TC_AG/AG_Border_Web_Border_Width.java | 18 +
.../uitest/TC_AG/AG_CommonAttribute_A_If.java | 18 +
.../uitest/TC_AG/AG_CommonAttribute_Div_If.java | 18 +
.../TC_AG/AG_CommonAttribute_Image_If.java | 18 +
.../TC_AG/AG_CommonAttribute_Input_If.java | 18 +
.../TC_AG/AG_CommonAttribute_Switch_If.java | 18 +
.../TC_AG/AG_CommonAttribute_Text_If.java | 18 +
.../TC_AG/AG_CommonAttribute_Video_If.java | 18 +
.../uitest/TC_AG/AG_CommonAttribute_Web_If.java | 18 +
.../uitest/TC_AG/AG_CommonEvent_A_Onclick.java | 18 +
.../TC_AG/AG_CommonEvent_Div_Onclick.java | 18 +
.../TC_AG/AG_CommonEvent_Image_Onclick.java | 18 +
.../TC_AG/AG_CommonEvent_Input_Onclick.java | 18 +
.../TC_AG/AG_CommonEvent_Switch_Onclick.java | 18 +
.../TC_AG/AG_CommonEvent_Text_Onclick.java | 18 +
.../TC_AG/AG_CommonEvent_Video_Onclick.java | 18 +
.../TC_AG/AG_CommonEvent_Web_Onclick.java | 18 +
.../AG_CommonStyle_A_Background_Color.java | 18 +
.../TC_AG/AG_CommonStyle_A_Widthandheight.java | 18 +
.../AG_CommonStyle_Div_Background_Color.java | 18 +
.../AG_CommonStyle_Div_Widthandheight.java | 18 +
.../AG_CommonStyle_Image_Background_Color.java | 18 +
.../AG_CommonStyle_Image_Widthandheight.java | 18 +
.../AG_CommonStyle_Input_Background_Color.java | 18 +
.../AG_CommonStyle_Input_Widthandheight.java | 18 +
.../AG_CommonStyle_Switch_Background_Color.java | 18 +
.../AG_CommonStyle_Switch_Widthandheight.java | 18 +
.../AG_CommonStyle_Text_Background_Color.java | 18 +
.../AG_CommonStyle_Text_Widthandheight.java | 18 +
.../AG_CommonStyle_Video_Background_Color.java | 18 +
.../AG_CommonStyle_Video_Widthandheight.java | 18 +
.../AG_CommonStyle_Web_Background_Color.java | 18 +
.../AG_CommonStyle_Web_Widthandheight.java | 18 +
.../weex/uitest/TC_AG/AG_Gesture_Div_Click.java | 18 +
.../uitest/TC_AG/AG_Gesture_Div_Conflict.java | 18 +
.../uitest/TC_AG/AG_Gesture_Div_Longpress.java | 18 +
.../weex/uitest/TC_AG/AG_Gesture_Div_Pan.java | 18 +
.../weex/uitest/TC_AG/AG_Gesture_Div_Swipe.java | 18 +
.../weex/uitest/TC_AG/AG_Gesture_Div_Touch.java | 18 +
.../uitest/TC_AG/AG_Image_Image_Onload.java | 18 +
.../uitest/TC_AG/AG_Image_Image_Resize.java | 18 +
.../weex/uitest/TC_AG/AG_Image_Image_Src.java | 18 +
.../uitest/TC_AG/AG_Input_Input_Autofocus.java | 18 +
.../weex/uitest/TC_AG/AG_Input_Input_Color.java | 18 +
.../uitest/TC_AG/AG_Input_Input_Disabled.java | 18 +
.../weex/uitest/TC_AG/AG_Input_Input_Event.java | 18 +
.../uitest/TC_AG/AG_Input_Input_Font_Size.java | 18 +
.../uitest/TC_AG/AG_Input_Input_Font_Style.java | 18 +
.../TC_AG/AG_Input_Input_Font_Weight.java | 18 +
.../TC_AG/AG_Input_Input_Placeholder.java | 18 +
.../TC_AG/AG_Input_Input_Placeholder_Color.java | 18 +
.../uitest/TC_AG/AG_Input_Input_Text_Align.java | 18 +
.../weex/uitest/TC_AG/AG_Input_Input_Type.java | 18 +
.../weex/uitest/TC_AG/AG_Input_Input_Value.java | 18 +
.../weex/uitest/TC_AG/AG_Margin_A_Margin.java | 18 +
.../uitest/TC_AG/AG_Margin_A_Margin_Bottom.java | 18 +
.../uitest/TC_AG/AG_Margin_A_Margin_Left.java | 18 +
.../uitest/TC_AG/AG_Margin_A_Margin_Right.java | 18 +
.../uitest/TC_AG/AG_Margin_A_Margin_Top.java | 18 +
.../weex/uitest/TC_AG/AG_Margin_Div_Margin.java | 18 +
.../TC_AG/AG_Margin_Div_Margin_Bottom.java | 18 +
.../uitest/TC_AG/AG_Margin_Div_Margin_Left.java | 18 +
.../TC_AG/AG_Margin_Div_Margin_Right.java | 18 +
.../uitest/TC_AG/AG_Margin_Div_Margin_Top.java | 18 +
.../uitest/TC_AG/AG_Margin_Image_Margin.java | 18 +
.../TC_AG/AG_Margin_Image_Margin_Bottom.java | 18 +
.../TC_AG/AG_Margin_Image_Margin_Left.java | 18 +
.../TC_AG/AG_Margin_Image_Margin_Right.java | 18 +
.../TC_AG/AG_Margin_Image_Margin_Top.java | 18 +
.../uitest/TC_AG/AG_Margin_Input_Margin.java | 18 +
.../TC_AG/AG_Margin_Input_Margin_Bottom.java | 18 +
.../TC_AG/AG_Margin_Input_Margin_Left.java | 18 +
.../TC_AG/AG_Margin_Input_Margin_Right.java | 18 +
.../TC_AG/AG_Margin_Input_Margin_Top.java | 18 +
.../uitest/TC_AG/AG_Margin_Switch_Margin.java | 18 +
.../TC_AG/AG_Margin_Switch_Margin_Bottom.java | 18 +
.../TC_AG/AG_Margin_Switch_Margin_Left.java | 18 +
.../TC_AG/AG_Margin_Switch_Margin_Right.java | 18 +
.../TC_AG/AG_Margin_Switch_Margin_Top.java | 18 +
.../uitest/TC_AG/AG_Margin_Text_Margin.java | 18 +
.../TC_AG/AG_Margin_Text_Margin_Bottom.java | 18 +
.../TC_AG/AG_Margin_Text_Margin_Left.java | 18 +
.../TC_AG/AG_Margin_Text_Margin_Right.java | 18 +
.../uitest/TC_AG/AG_Margin_Text_Margin_Top.java | 18 +
.../uitest/TC_AG/AG_Margin_Video_Margin.java | 18 +
.../TC_AG/AG_Margin_Video_Margin_Bottom.java | 18 +
.../TC_AG/AG_Margin_Video_Margin_Left.java | 18 +
.../TC_AG/AG_Margin_Video_Margin_Right.java | 18 +
.../TC_AG/AG_Margin_Video_Margin_Top.java | 18 +
.../weex/uitest/TC_AG/AG_Margin_Web_Margin.java | 18 +
.../TC_AG/AG_Margin_Web_Margin_Bottom.java | 18 +
.../uitest/TC_AG/AG_Margin_Web_Margin_Left.java | 18 +
.../TC_AG/AG_Margin_Web_Margin_Right.java | 18 +
.../uitest/TC_AG/AG_Margin_Web_Margin_Top.java | 18 +
.../uitest/TC_AG/AG_Switch_Switch_Checked.java | 18 +
.../uitest/TC_AG/AG_Switch_Switch_Onchange.java | 18 +
.../weex/uitest/TC_AG/AG_Text_Text_Color.java | 18 +
.../uitest/TC_AG/AG_Text_Text_Font_Size.java | 18 +
.../uitest/TC_AG/AG_Text_Text_Font_Style.java | 18 +
.../uitest/TC_AG/AG_Text_Text_Font_Weight.java | 18 +
.../uitest/TC_AG/AG_Text_Text_Line_Height.java | 18 +
.../uitest/TC_AG/AG_Text_Text_Text_Align.java | 18 +
.../TC_AG/AG_Text_Text_Text_Decoration.java | 18 +
.../TC_AG/AG_Text_Text_Text_Overflow.java | 18 +
.../weex/uitest/TC_AG/AG_Text_Text_Value.java | 18 +
.../uitest/TC_AG/AG_Video_Video_Auto_Play.java | 18 +
.../weex/uitest/TC_AG/AG_Video_Video_Event.java | 18 +
.../TC_AG/AG_Video_Video_Play_Status.java | 18 +
.../weex/uitest/TC_AG/AG_Video_Video_Src.java | 18 +
.../weex/uitest/TC_AG/AG_Web_Web_Event.java | 18 +
.../weex/uitest/TC_AG/AG_Web_Web_Src.java | 18 +
.../TC_AHref/WeexUiTestCaseTCAHrefEvent.java | 18 +
.../TC_AHref/WeexUiTestCaseTCAHrefStyle.java | 18 +
.../TC_AHref/WeexUiTestCaseTCAHrefUpdate.java | 18 +
.../TC_Color/WeexUiTestCaseTcColorType.java | 18 +
.../TC_Color/WeexUiTestCaseTcColorUpdate.java | 18 +
.../WeexUiTestCaseTcDowngradeAppVFalse.java | 18 +
.../WeexUiTestCaseTcDowngradeAppVTrue.java | 18 +
.../WeexUiTestCaseTcDowngradeDevMFalse.java | 18 +
.../WeexUiTestCaseTcDowngradeDevMTrue.java | 18 +
.../WeexUiTestCaseTcDowngradeOSVFalse.java | 18 +
.../WeexUiTestCaseTcDowngradeOSVTrue.java | 18 +
.../WeexUiTestCaseTcDowngradeWeexVFalse.java | 18 +
.../WeexUiTestCaseTcDowngradeWeexVTrue.java | 18 +
.../TC_Image/WeexUiTestCaseTcImageUpdate.java | 18 +
.../TC_Input/WeexUiTestCaseTcInputEvent.java | 18 +
.../WeexUiTestCaseTcInputPlaceholder.java | 18 +
.../TC_Input/WeexUiTestCaseTcInputStyle.java | 18 +
.../TC_Input/WeexUiTestCaseTcInputType.java | 18 +
.../TC_Slider/WeexUiTestCaseTcSlider.java | 18 +
.../WeexUiTestCaseTcTextStyleColumn.java | 18 +
.../TC_Text/WeexUiTestCaseTcTextStyleOwn.java | 18 +
.../TC_Text/WeexUiTestCaseTcTextStyleRow.java | 18 +
.../TC_Text/WeexUiTestCaseTcTextType.java | 18 +
.../weex/uitest/WeexUiTestCaseTcElementOpt.java | 18 +
.../java/com/alibaba/weex/util/Falcon.java | 4 +-
.../java/com/alibaba/weex/util/ScreenShot.java | 4 +-
.../com/alibaba/weex/util/SdCardHelper.java | 4 +-
.../java/com/alibaba/weex/util/TestFlow.java | 4 +-
.../java/com/alibaba/weex/util/ViewUtil.java | 4 +-
.../playground/app/src/main/AndroidManifest.xml | 18 +
.../main/res/drawable-v21/ic_menu_camera.xml | 18 +
.../main/res/drawable-v21/ic_menu_gallery.xml | 18 +
.../main/res/drawable-v21/ic_menu_manage.xml | 18 +
.../src/main/res/drawable-v21/ic_menu_send.xml | 18 +
.../src/main/res/drawable-v21/ic_menu_share.xml | 18 +
.../main/res/drawable-v21/ic_menu_slideshow.xml | 18 +
.../app/src/main/res/drawable/side_nav_bar.xml | 18 +
.../src/main/res/layout/activity_dynamic.xml | 18 +
.../app/src/main/res/layout/activity_index.xml | 18 +
.../app/src/main/res/layout/activity_splash.xml | 18 +
.../app/src/main/res/layout/activity_wxpage.xml | 18 +
.../app/src/main/res/layout/app_bar_main.xml | 18 +
.../app/src/main/res/layout/camera.xml | 18 +
.../app/src/main/res/layout/catalog_item.xml | 18 +
.../app/src/main/res/layout/content_dynamic.xml | 18 +
.../app/src/main/res/layout/content_main.xml | 18 +
.../app/src/main/res/layout/content_wx_main.xml | 18 +
.../app/src/main/res/layout/hello_weex.xml | 222 +----
.../app/src/main/res/layout/id_stub.xml | 18 +
.../playground/app/src/main/res/menu/main.xml | 18 +
.../app/src/main/res/menu/main_scan.xml | 18 +
.../app/src/main/res/menu/refresh.xml | 18 +
.../app/src/main/res/values-v21/styles.xml | 20 +-
.../app/src/main/res/values-w820dp/dimens.xml | 18 +
.../app/src/main/res/values/attrs.xml | 18 +
.../app/src/main/res/values/colors.xml | 18 +
.../app/src/main/res/values/dimens.xml | 18 +
.../app/src/main/res/values/drawables.xml | 18 +
.../src/main/res/values/scan_code_styles.xml | 18 +
.../app/src/main/res/values/strings.xml | 18 +
.../app/src/main/res/values/styles.xml | 18 +
android/playground/codeStyleSettings.xml | 18 +
android/run-ci.sh | 2 +-
android/sdk/assets/main.js | 15 +-
android/sdk/config/quality/checkstyle.xml | 18 +
android/sdk/libs/armeabi/libweexv8.so | Bin 3563544 -> 3563544 bytes
android/sdk/libs/x86/libweexv8.so | Bin 4545544 -> 4545544 bytes
android/sdk/src/main/AndroidManifest.xml | 18 +
.../main/java/com/taobao/weex/WXSDKEngine.java | 4 +-
.../java/com/taobao/weex/WXSDKInstance.java | 2 +-
.../weex/appfram/pickers/WXPickersModule.java | 2 +
.../taobao/weex/ui/component/WXComponent.java | 7 +-
.../com/taobao/weex/ui/component/WXEmbed.java | 2 +-
android/sdk/src/main/res/values/strings.xml | 222 +----
.../java/com/taobao/weex/WXSDKInstanceTest.java | 1 -
android/weex_debug/src/main/AndroidManifest.xml | 18 +
.../drawable/leak_canary_toast_background.xml | 18 +
.../res/drawable/prettyfish_bg_floatmenu.xml | 18 +
.../main/res/drawable/prettyfish_coordrect.xml | 18 +
.../src/main/res/drawable/prettyfish_fab.xml | 18 +
.../main/res/layout/prettyfish_coordview.xml | 18 +
.../main/res/layout/prettyfish_coverview.xml | 18 +
.../main/res/layout/prettyfish_datachart.xml | 18 +
.../main/res/layout/prettyfish_datafilelist.xml | 18 +
.../main/res/layout/prettyfish_datafilerow.xml | 18 +
.../src/main/res/layout/prettyfish_datarow.xml | 18 +
.../src/main/res/layout/prettyfish_detail.xml | 18 +
.../main/res/layout/prettyfish_filedetail.xml | 18 +
.../src/main/res/layout/prettyfish_filelist.xml | 18 +
.../src/main/res/layout/prettyfish_filerow.xml | 18 +
.../res/layout/prettyfish_floatmenu_item.xml | 18 +
.../res/layout/prettyfish_floatmenuview.xml | 18 +
.../main/res/layout/prettyfish_recordview.xml | 18 +
.../src/main/res/layout/prettyfish_table.xml | 18 +
.../main/res/layout/prettyfish_tableitem.xml | 18 +
.../src/main/res/layout/prettyfish_uedgird.xml | 18 +
.../weex_debug/src/main/res/values/attrs.xml | 18 +
.../weex_debug/src/main/res/values/colors.xml | 18 +
.../weex_debug/src/main/res/values/dimens.xml | 18 +
.../weex_debug/src/main/res/values/strings.xml | 18 +
build/build.js | 18 +
build/config.js | 18 +
build/examples-banner-plugin.js | 18 +
build/karma.vue.conf.js | 25 +-
build/nightwatch.config.js | 19 +-
build/rollup.browser.common.config.js | 18 +
build/webpack.ci.config.js | 18 +
build/webpack.ci.web.config.js | 18 +
build/webpack.deprecatedmacacatest.config.js | 18 +
build/webpack.examples.config.js | 18 +
build/webpack.examples.web.config.js | 51 +-
build/webpack.test.config.js | 18 +
build/webpack.test.web.config.js | 99 +++
build/webpack.vue.config.js | 18 +
dangerfile.js | 25 +-
doc/_config.yml | 4 +
doc/package.json | 4 +-
doc/source/cn/guide/integrate-to-your-app.md | 11 +-
doc/source/cn/guide/set-up-env.md | 2 +-
doc/source/cn/guide/tools/devtools.md | 111 ---
doc/source/cn/guide/tools/index.md | 3 +-
doc/source/cn/guide/tools/toolkit.md | 231 +++++
doc/source/cn/guide/tools/weexpack.md | 388 ---------
.../cn/references/advanced/extend-to-ios.md | 84 +-
doc/source/cn/references/common-style.md | 82 +-
doc/source/cn/references/components/input.md | 14 +-
doc/source/cn/references/components/refresh.md | 9 +-
.../cn/references/components/waterfall.md | 69 ++
doc/source/cn/references/components/web.md | 11 +-
doc/source/cn/references/modules/dom.md | 78 +-
doc/source/cn/references/modules/webview.md | 11 +-
doc/source/cn/releasenote.md | 858 +++++++++++++++++++
doc/source/examples/dom-rect.md | 73 +-
doc/source/guide/integrate-to-your-app.md | 7 +-
doc/source/guide/set-up-env.md | 2 +-
doc/source/guide/tools/devtools.md | 100 ---
doc/source/guide/tools/index.md | 3 +-
doc/source/guide/tools/toolkit.md | 198 +++++
doc/source/guide/tools/weexpack.md | 300 -------
doc/source/references/advanced/extend-to-ios.md | 70 +-
doc/source/references/common-style.md | 71 +-
doc/source/references/components/input.md | 23 +-
doc/source/references/components/refresh.md | 11 +-
doc/source/references/components/waterfall.md | 60 ++
doc/source/references/components/web.md | 13 +-
doc/source/references/modules/dom.md | 78 +-
doc/source/references/modules/webview.md | 11 +-
doc/source/releasenote.md | 858 +++++++++++++++++++
doc/source/v-0.10/references/components/list.md | 11 +-
.../references/components/refresh-loading.md | 13 +-
doc/themes/weex/languages/cn.yml | 2 +
doc/themes/weex/languages/en.yml | 2 +
doc/themes/weex/layout/_partial/footer.ejs | 14 +-
doc/themes/weex/layout/_partial/header.ejs | 17 +-
doc/themes/weex/layout/playground.ejs | 2 +-
doc/themes/weex/source/css/common.scss | 4 +-
doc/themes/weex/source/css/partial/article.scss | 4 +
doc/themes/weex/source/css/partial/footer.scss | 18 +-
examples/component/input-demo.we | 14 +-
examples/index.we | 5 +-
examples/vanilla/index.js | 19 +-
examples/vue/components/input.vue | 14 +-
examples/vue/include/base-url.js | 18 +
examples/vue/index.vue | 3 +
examples/vue/market/gcanvas.vue | 40 +
examples/vue/showcase/include/util.js | 18 +
examples/vue/showcase/itemlist.vue | 11 +-
examples/vue/style/index.vue | 2 +-
.../npm/karma-rollup-preprocessor_vx.x.x.js | 53 ++
flow-typed/npm/karma-sinon-chai_vx.x.x.js | 38 +
html5/frameworks/legacy/app/ctrl/init.js | 42 +-
html5/render/vue/README.md | 24 +-
html5/render/vue/components/a.js | 18 +-
html5/render/vue/components/div.js | 18 +-
html5/render/vue/components/image.js | 25 +-
html5/render/vue/components/input.js | 18 +-
.../render/vue/components/scrollable/header.js | 6 +-
.../vue/components/scrollable/list/cell.js | 7 +-
.../vue/components/scrollable/list/index.js | 6 +-
.../vue/components/scrollable/list/style.js | 34 +
.../components/scrollable/loading-indicator.js | 43 +-
.../render/vue/components/scrollable/loading.js | 6 +-
.../render/vue/components/scrollable/refresh.js | 6 +-
.../vue/components/scrollable/scroller.js | 8 +-
html5/render/vue/components/slider/index.js | 37 +-
html5/render/vue/components/slider/indicator.js | 58 +-
html5/render/vue/components/switch.js | 67 +-
html5/render/vue/components/text.js | 27 +-
html5/render/vue/components/textarea.js | 19 +-
html5/render/vue/components/video.js | 7 +-
html5/render/vue/components/web.js | 19 +-
html5/render/vue/core/index.js | 20 +
html5/render/vue/core/node.js | 47 +
html5/render/vue/core/style.js | 230 +++++
html5/render/vue/env/global.js | 29 +
html5/render/vue/env/index.js | 11 +-
html5/render/vue/env/viewport.js | 160 +++-
html5/render/vue/env/weex.js | 9 +-
html5/render/vue/env/wx-env.js | 76 +-
html5/render/vue/index.js | 13 +-
html5/render/vue/mixins/base.js | 43 -
html5/render/vue/mixins/style.js | 142 +--
html5/render/vue/modules/animation.js | 7 +-
html5/render/vue/modules/dom.js | 5 +-
html5/render/vue/modules/index.js | 2 +-
html5/render/vue/modules/modal/index.js | 10 +-
html5/render/vue/modules/modal/style.js | 164 ++++
html5/render/vue/styles/base.css | 194 +++++
html5/render/vue/styles/components.css | 513 -----------
html5/render/vue/utils/index.js | 36 +-
html5/render/vue/utils/style.js | 110 +++
html5/test/case/basic/append-root.source.js | 21 +-
html5/test/case/basic/append.source.js | 18 +
html5/test/case/basic/backward1.source.js | 20 +-
html5/test/case/basic/backward2.source.js | 20 +-
html5/test/case/basic/components.source.js | 18 +
.../case/basic/computed-in-repeat.source.js | 20 +-
html5/test/case/basic/created.source.js | 20 +-
html5/test/case/basic/dynamic-id.source.js | 18 +
.../test/case/basic/dynamic-property.source.js | 18 +
html5/test/case/basic/dynamic-type.source.js | 18 +
html5/test/case/basic/foo.source.js | 20 +-
html5/test/case/basic/foo2.source.js | 20 +-
html5/test/case/basic/foo3.source.js | 20 +-
html5/test/case/basic/foo4.source.js | 20 +-
html5/test/case/basic/foo5.source.js | 20 +-
html5/test/case/basic/foo6.source.js | 20 +-
html5/test/case/basic/foo7.source.js | 20 +-
html5/test/case/basic/foo8.source.js | 18 +
html5/test/case/basic/foo9.source.js | 20 +-
.../case/basic/global-weex-object.source.js | 18 +
html5/test/case/basic/id.source.js | 18 +
html5/test/case/basic/if-repeat.source.js | 20 +-
html5/test/case/basic/if-root.source.js | 18 +
html5/test/case/basic/if.source.js | 20 +-
html5/test/case/basic/promise.source.js | 18 +
html5/test/case/basic/ready.source.js | 20 +-
html5/test/case/basic/repeat-array-kv.source.js | 18 +
.../case/basic/repeat-array-no-kv.source.js | 18 +
.../case/basic/repeat-array-non-obj.source.js | 18 +
html5/test/case/basic/repeat-array-v.source.js | 18 +
html5/test/case/basic/repeat-index.source.js | 18 +
html5/test/case/basic/repeat-root.source.js | 18 +
html5/test/case/basic/repeat-watch.source.js | 20 +-
html5/test/case/basic/require.source.js | 18 +
html5/test/case/basic/reset-style.source.js | 18 +
html5/test/case/basic/static1.source.js | 18 +
html5/test/case/basic/static2.source.js | 18 +
html5/test/case/basic/static3.source.js | 18 +
html5/test/case/basic/static4.source.js | 18 +
html5/test/case/basic/subvm.source.js | 18 +
html5/test/case/basic/transformer1.source.js | 20 +-
.../case/complex/append-root-event.source.js | 19 +-
html5/test/case/complex/click.source.js | 20 +-
html5/test/case/complex/computed.source.js | 18 +
html5/test/case/complex/if-refresh.source.js | 20 +-
.../case/complex/if-repeat-refresh.source.js | 20 +-
html5/test/case/complex/inline-click.source.js | 20 +-
html5/test/case/complex/input-binding.source.js | 18 +
html5/test/case/complex/refresh2.source.js | 19 +-
.../test/case/complex/repeat-track-by.source.js | 18 +
html5/test/case/complex/transformer2.source.js | 20 +-
html5/test/case/complex/transformer3.source.js | 20 +-
.../case/multi/clear-dep-target-error.source.js | 18 +
.../case/multi/clear-dep-target-fine.source.js | 18 +
html5/test/case/multi/clear-moduleA.source.js | 18 +
html5/test/case/multi/clear-moduleB.source.js | 18 +
html5/test/case/prepare.js | 18 +
html5/test/case/signals/modal.source.js | 18 +
html5/test/case/signals/signals-long.source.js | 18 +
html5/test/case/signals/signals.source.js | 18 +
html5/test/case/signals/timer.source.js | 18 +
html5/test/case/tester.js | 18 +
.../test/case/throws/global-variable1.source.js | 18 +
.../test/case/throws/global-variable2.source.js | 18 +
.../test/case/throws/global-variable3.source.js | 18 +
html5/test/e2e/runner.js | 18 +
html5/test/e2e/specs/index.js | 18 +
html5/test/render/vue/components/a.js | 18 +
html5/test/render/vue/components/div.js | 18 +
html5/test/render/vue/components/image.js | 22 +-
html5/test/render/vue/components/list.js | 18 +
html5/test/render/vue/components/switch.js | 22 +-
html5/test/render/vue/components/text.js | 22 +-
html5/test/render/vue/components/web.js | 22 +-
html5/test/render/vue/core/scope-style-map.js | 94 ++
html5/test/render/vue/core/style.js | 83 ++
.../vue/data/build/dotvue/scoped-style.js | 543 ++++++++++++
html5/test/render/vue/data/css/head1.css | 38 +
html5/test/render/vue/data/css/head10.css | 14 +
html5/test/render/vue/data/css/head11.css | 2 +
html5/test/render/vue/data/css/head12.css | 2 +
html5/test/render/vue/data/css/head13.css | 25 +
html5/test/render/vue/data/css/head2.css | 11 +
html5/test/render/vue/data/css/head3.css | 25 +
html5/test/render/vue/data/css/head4.css | 56 ++
html5/test/render/vue/data/css/head5.css | 153 ++++
html5/test/render/vue/data/css/head6.css | 4 +
html5/test/render/vue/data/css/head7.css | 61 ++
html5/test/render/vue/data/css/head8.css | 507 +++++++++++
html5/test/render/vue/data/css/head9.css | 173 ++++
.../render/vue/data/dotvue/scoped-style.vue | 13 +
html5/test/render/vue/data/head-css.js | 31 +
html5/test/render/vue/data/head-map.js | 293 +++++++
html5/test/render/vue/examples/list-cell.js | 18 +
html5/test/render/vue/helper.js | 140 ---
html5/test/render/vue/helper/env.js | 38 +
html5/test/render/vue/helper/index.js | 91 ++
html5/test/render/vue/helper/runtime.js | 92 ++
html5/test/render/vue/helper/utils.js | 26 +
html5/test/render/vue/utils.js | 47 -
html5/test/render/vue/utils/func.js | 67 ++
html5/test/render/vue/utils/style.js | 86 ++
html5/test/render/vue/validator/check.js | 18 +
html5/test/render/vue/validator/index.js | 18 +
html5/test/render/vue/validator/prop.js | 18 +
html5/test/render/vue/validator/style.js | 18 +
html5/test/unit/default/api/methods.js | 18 +
html5/test/unit/default/api/modules.js | 18 +
html5/test/unit/default/app/bundle.js | 18 +
html5/test/unit/default/app/ctrl.js | 18 +
html5/test/unit/default/app/downgrade.js | 18 +
html5/test/unit/default/app/index.js | 18 +
html5/test/unit/default/app/register.js | 18 +
html5/test/unit/default/app/viewport.js | 18 +
html5/test/unit/default/helper/document.js | 19 +-
html5/test/unit/default/runtime.js | 18 +
html5/test/unit/default/util/index.js | 18 +
html5/test/unit/default/util/shared.js | 18 +
html5/test/unit/default/vm/compiler.js | 18 +
html5/test/unit/default/vm/directive.js | 18 +
html5/test/unit/default/vm/dom-helper.js | 18 +
html5/test/unit/default/vm/events.js | 18 +
html5/test/unit/default/vm/vm.js | 18 +
html5/test/unit/shared/BroadcastChannel.js | 18 +
html5/test/unit/shared/arrayFrom.js | 18 +
html5/test/unit/shared/console.js | 18 +
html5/test/unit/shared/index.js | 18 +
html5/test/unit/shared/objectAssign.js | 18 +
html5/test/unit/shared/objectSetPrototypeOf.js | 18 +
html5/test/unit/vanilla/index.js | 18 +
html5/test/unit/vdom/index.js | 18 +
html5/test/unit/vdom/listener.js | 18 +
html5/test/unit/vdom/node.js | 18 +
ios/playground/Podfile | 5 +-
.../WeexDemo.xcodeproj/project.pbxproj | 22 +-
.../WeexDemo/Scanner/WXScannerHistoryVC.h | 21 +-
.../WeexDemo/Scanner/WXScannerHistoryVC.m | 21 +-
ios/playground/WeexDemo/Scanner/WXScannerVC.h | 4 +-
ios/playground/WeexDemo/Scanner/WXScannerVC.m | 4 +-
ios/playground/WeexDemoTests/WeexDemoTests.m | 21 +-
.../WeexUITestDemoUITests.m | 21 +-
ios/sdk/WeexSDK.podspec | 47 -
ios/sdk/WeexSDK/Resources/main.js | 15 +-
.../WeexSDK/Sources/Bridge/WXBridgeContext.m | 2 +-
ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m | 4 +-
.../Component/Recycler/WXMultiColumnLayout.h | 4 +-
.../Component/Recycler/WXMultiColumnLayout.m | 4 +-
.../Component/Recycler/WXRecyclerComponent.h | 4 +-
.../Component/Recycler/WXRecyclerComponent.m | 4 +-
.../Recycler/WXRecyclerDataController.h | 4 +-
.../Recycler/WXRecyclerDataController.m | 4 +-
.../Recycler/WXRecyclerUpdateController.h | 4 +-
.../Recycler/WXRecyclerUpdateController.m | 4 +-
.../Recycler/WXSectionDataController.h | 4 +-
.../Recycler/WXSectionDataController.m | 4 +-
.../WeexSDK/Sources/Component/WXAComponent.h | 4 +-
.../WeexSDK/Sources/Component/WXAComponent.m | 4 +-
.../Sources/Component/WXCanvasComponent.h | 4 +-
.../Sources/Component/WXCanvasComponent.m | 4 +-
.../WeexSDK/Sources/Component/WXCellComponent.h | 4 +-
.../WeexSDK/Sources/Component/WXCellComponent.m | 4 +-
.../Sources/Component/WXComponent_internal.h | 5 +-
.../Sources/Component/WXCycleSliderComponent.h | 21 +-
.../Sources/Component/WXCycleSliderComponent.m | 21 +-
.../WeexSDK/Sources/Component/WXDivComponent.h | 4 +-
.../WeexSDK/Sources/Component/WXDivComponent.m | 4 +-
.../WeexSDK/Sources/Component/WXEditComponent.h | 4 +-
.../WeexSDK/Sources/Component/WXEditComponent.m | 4 +-
.../Sources/Component/WXEmbedComponent.h | 4 +-
.../Sources/Component/WXEmbedComponent.m | 4 +-
.../Sources/Component/WXFooterComponent.h | 4 +-
.../Sources/Component/WXFooterComponent.m | 4 +-
.../Sources/Component/WXHeaderComponent.h | 4 +-
.../Sources/Component/WXHeaderComponent.m | 4 +-
.../Sources/Component/WXImageComponent.h | 4 +-
.../Sources/Component/WXImageComponent.m | 4 +-
.../Sources/Component/WXIndicatorComponent.h | 4 +-
.../Sources/Component/WXIndicatorComponent.m | 4 +-
.../WeexSDK/Sources/Component/WXListComponent.h | 4 +-
.../WeexSDK/Sources/Component/WXListComponent.m | 17 +-
.../Sources/Component/WXLoadingComponent.h | 4 +-
.../Sources/Component/WXLoadingComponent.m | 4 +-
.../Sources/Component/WXLoadingIndicator.h | 4 +-
.../Sources/Component/WXLoadingIndicator.m | 4 +-
.../Sources/Component/WXRefreshComponent.h | 4 +-
.../Sources/Component/WXRefreshComponent.m | 4 +-
.../Sources/Component/WXScrollerComponent.h | 4 +-
.../Sources/Component/WXScrollerComponent.m | 4 +-
.../Sources/Component/WXSliderComponent.h | 4 +-
.../Sources/Component/WXSliderComponent.m | 57 +-
.../Component/WXSliderNeighborComponent.h | 4 +-
.../Component/WXSliderNeighborComponent.m | 4 +-
.../Sources/Component/WXSwitchComponent.h | 4 +-
.../Sources/Component/WXSwitchComponent.m | 4 +-
.../Sources/Component/WXTextAreaComponent.h | 4 +-
.../Sources/Component/WXTextAreaComponent.m | 4 +-
.../WeexSDK/Sources/Component/WXTextComponent.h | 6 +-
.../WeexSDK/Sources/Component/WXTextComponent.m | 490 ++++++++++-
.../Sources/Component/WXTextInputComponent.h | 4 +-
.../Sources/Component/WXTextInputComponent.m | 4 +-
ios/sdk/WeexSDK/Sources/Component/WXTransform.h | 4 +-
ios/sdk/WeexSDK/Sources/Component/WXTransform.m | 4 +-
.../Sources/Component/WXVideoComponent.h | 4 +-
.../Sources/Component/WXVideoComponent.m | 4 +-
.../WeexSDK/Sources/Component/WXWebComponent.h | 4 +-
.../WeexSDK/Sources/Component/WXWebComponent.m | 4 +-
.../Sources/Controller/WXBaseViewController.h | 2 +-
.../Sources/Controller/WXBaseViewController.m | 16 -
.../Sources/Controller/WXRootViewController.m | 17 +-
.../Sources/Display/WXComponent+Display.m | 2 +-
ios/sdk/WeexSDK/Sources/Model/WXComponent.m | 7 +-
ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.m | 1 -
ios/sdk/WeexSDK/Sources/Utility/WXDefine.h | 2 +-
ios/sdk/WeexSDK/Sources/Utility/WXUtility.h | 2 +
ios/sdk/WeexSDK/Sources/Utility/WXUtility.m | 56 +-
.../Sources/View/WXComponent+ViewManagement.m | 5 +-
ios/sdk/WeexSDK/Sources/WeexSDK.h | 32 +-
ios/sdk/WeexSDKTests/TestSupportUtils.h | 21 +-
ios/sdk/WeexSDKTests/TestSupportUtils.m | 21 +-
ios/sdk/WeexSDKTests/WXAnimationModuleTests.m | 21 +-
ios/sdk/WeexSDKTests/WXBridgeMethodTests.m | 21 +-
ios/sdk/WeexSDKTests/WXComponentTests.m | 21 +-
ios/sdk/WeexSDKTests/WXConvertTests.m | 25 +-
ios/sdk/WeexSDKTests/WXFloatCompareTests.m | 25 +-
ios/sdk/WeexSDKTests/WXInstanceWrapTests.m | 21 +-
ios/sdk/WeexSDKTests/WXRootViewTests.m | 29 +-
ios/sdk/WeexSDKTests/WXSDKEngineTests.m | 21 +-
ios/sdk/WeexSDKTests/WXSDKManagerTests.m | 21 +-
ios/sdk/WeexSDKTests/WXStorageTests.m | 25 +-
ios/sdk/WeexSDKTests/WXStreamModuleTests.m | 21 +-
ios/sdk/WeexSDKTests/WXTimerModuleTests.m | 21 +-
ios/sdk/WeexSDKTests/WXURLRewriteTests.m | 25 +-
ios/sdk/WeexSDKTests/WeexSDKTests.m | 21 +-
ios/sdk/buildScripts.sh | 25 +-
package.json | 16 +-
packages/weex-vue-render/README.md | 24 +-
packages/weex-vue-render/package.json | 2 +-
scripts/rat-ant-build.xml | 33 +-
test/ci-funcs.sh | 77 +-
test/pages/components/text-layout.vue | 30 +
test/run.sh | 41 +-
test/scripts/components/image-onload.test.js | 20 +-
test/scripts/components/recycler.test.js | 20 +-
test/scripts/components/scroll-event.test.js | 18 +
test/scripts/components/scroller-fixed.test.js | 20 +-
test/scripts/components/slider-infinite.test.js | 18 +
test/scripts/components/text.test.js | 131 +++
.../components/textarea-maxlength.test.js | 20 +-
test/scripts/dom.test.js | 18 +
test/scripts/index.test.js | 18 +
test/scripts/util.js | 18 +
test/serve.sh | 2 +-
717 files changed, 16856 insertions(+), 3317 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/9c6489a3/test/scripts/components/recycler.test.js
----------------------------------------------------------------------
[21/50] incubator-weex git commit: Merge remote-tracking branch
'upstream/0.12-dev' into 0.12-dev
Posted by so...@apache.org.
Merge remote-tracking branch 'upstream/0.12-dev' into 0.12-dev
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/b0260a2e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/b0260a2e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/b0260a2e
Branch: refs/heads/dev
Commit: b0260a2e20780f0770a7681a46e6c8682defcc17
Parents: 8b0f4a8 ca6a9ff
Author: acton393 <zh...@gmail.com>
Authored: Tue Apr 18 10:13:36 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Tue Apr 18 10:13:36 2017 +0800
----------------------------------------------------------------------
.../com/taobao/weex/ui/component/WXEmbed.java | 2 +-
.../Sources/Component/WXSliderComponent.m | 53 +++-----------------
2 files changed, 9 insertions(+), 46 deletions(-)
----------------------------------------------------------------------
[40/50] incubator-weex git commit: Merge branch '0.12-dev' into
android-feature-20170307-jsc
Posted by so...@apache.org.
Merge branch '0.12-dev' into android-feature-20170307-jsc
* 0.12-dev: (56 commits)
* [ios] set usingCoretext false default
* [test] update case about line-height
* [test] Update close to in lineHeight
* [android] Add log to see CI fails
* [test] add Macaca test case for text The test case mainly focus on the layout of text.
* [ios] update lineIndex
Revert "* [ios] add config for componentWithName"
* [test] Add watch ability for macaca
* [test] fix travis CI
+ [ios] update podspec
* [ios] remove white space
* [ios] add config for componentWithName
* [ios] update license header script
* [ios] remove unused line
* [android] stop load when src is empty
* [ios] update sdk version
* [ios] draw ellipse and support letter-spacing
+ [ios] update version
+ [ios] add gcanvas example & fix wxdevtool crash & move spec to root directory
*[iOS] remove start event and stop event from slider component.
...
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/1c200e73
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/1c200e73
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/1c200e73
Branch: refs/heads/dev
Commit: 1c200e736f95cd51bd3353b70017dedecb43b717
Parents: 1f64322 a6b0767
Author: zshshr <zh...@gmail.com>
Authored: Wed Apr 19 11:54:16 2017 +0800
Committer: zshshr <zh...@gmail.com>
Committed: Wed Apr 19 11:54:16 2017 +0800
----------------------------------------------------------------------
.travis.yml | 42 +-
NOTICE | 75 ++
WeexSDK.podspec | 45 +
android/run-ci.sh | 2 +-
.../com/taobao/weex/ui/component/WXEmbed.java | 2 +-
doc/_config.yml | 4 +
doc/package.json | 4 +-
doc/source/cn/guide/integrate-to-your-app.md | 11 +-
doc/source/cn/guide/set-up-env.md | 2 +-
doc/source/cn/guide/tools/devtools.md | 111 ---
doc/source/cn/guide/tools/index.md | 3 +-
doc/source/cn/guide/tools/toolkit.md | 231 +++++
doc/source/cn/guide/tools/weexpack.md | 388 ---------
.../cn/references/advanced/extend-to-ios.md | 84 +-
doc/source/cn/references/common-style.md | 82 +-
doc/source/cn/references/components/input.md | 14 +-
doc/source/cn/references/components/refresh.md | 9 +-
.../cn/references/components/waterfall.md | 69 ++
doc/source/cn/references/components/web.md | 11 +-
doc/source/cn/references/modules/dom.md | 78 +-
doc/source/cn/references/modules/webview.md | 11 +-
doc/source/cn/releasenote.md | 858 +++++++++++++++++++
doc/source/examples/dom-rect.md | 73 +-
doc/source/guide/integrate-to-your-app.md | 7 +-
doc/source/guide/set-up-env.md | 2 +-
doc/source/guide/tools/devtools.md | 100 ---
doc/source/guide/tools/index.md | 3 +-
doc/source/guide/tools/toolkit.md | 198 +++++
doc/source/guide/tools/weexpack.md | 300 -------
doc/source/references/advanced/extend-to-ios.md | 70 +-
doc/source/references/common-style.md | 71 +-
doc/source/references/components/input.md | 23 +-
doc/source/references/components/refresh.md | 11 +-
doc/source/references/components/waterfall.md | 60 ++
doc/source/references/components/web.md | 13 +-
doc/source/references/modules/dom.md | 78 +-
doc/source/references/modules/webview.md | 11 +-
doc/source/releasenote.md | 858 +++++++++++++++++++
doc/source/v-0.10/references/components/list.md | 11 +-
.../references/components/refresh-loading.md | 13 +-
doc/themes/weex/languages/cn.yml | 2 +
doc/themes/weex/languages/en.yml | 2 +
doc/themes/weex/layout/_partial/footer.ejs | 14 +-
doc/themes/weex/layout/_partial/header.ejs | 17 +-
doc/themes/weex/layout/playground.ejs | 2 +-
doc/themes/weex/source/css/common.scss | 4 +-
doc/themes/weex/source/css/partial/article.scss | 4 +
doc/themes/weex/source/css/partial/footer.scss | 18 +-
examples/component/input-demo.we | 14 +-
examples/index.we | 5 +-
examples/vue/components/input.vue | 14 +-
examples/vue/index.vue | 3 +
examples/vue/market/gcanvas.vue | 40 +
ios/playground/Podfile | 5 +-
.../WeexDemo.xcodeproj/project.pbxproj | 22 +-
ios/sdk/WeexSDK.podspec | 47 -
.../WeexSDK/Sources/Bridge/WXBridgeContext.m | 2 +-
ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m | 2 +-
.../Sources/Component/WXSliderComponent.m | 53 +-
.../WeexSDK/Sources/Component/WXTextComponent.h | 1 +
.../WeexSDK/Sources/Component/WXTextComponent.m | 256 +++++-
.../Sources/Controller/WXBaseViewController.h | 2 +-
.../Sources/Controller/WXBaseViewController.m | 16 -
.../Sources/Controller/WXRootViewController.m | 17 +-
ios/sdk/WeexSDK/Sources/Utility/WXBoxShadow.m | 1 -
ios/sdk/WeexSDK/Sources/Utility/WXDefine.h | 2 +-
ios/sdk/WeexSDK/Sources/Utility/WXUtility.m | 1 +
.../Sources/View/WXComponent+ViewManagement.m | 4 +-
ios/sdk/WeexSDK/Sources/WeexSDK.h | 32 +-
ios/sdk/WeexSDKTests/WXRootViewTests.m | 4 +-
ios/sdk/buildScripts.sh | 25 +-
package.json | 8 +-
test/ci-funcs.sh | 75 +-
test/pages/components/text-layout.vue | 30 +
test/run.sh | 41 +-
test/scripts/components/image-onload.test.js | 2 +-
test/scripts/components/recycler.test.js | 2 +-
test/scripts/components/text.test.js | 131 +++
test/serve.sh | 2 +-
79 files changed, 3566 insertions(+), 1394 deletions(-)
----------------------------------------------------------------------
[03/50] incubator-weex git commit: * [android] jsc native crash fix
Posted by so...@apache.org.
* [android] jsc native crash fix
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/8c97d6c4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/8c97d6c4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/8c97d6c4
Branch: refs/heads/dev
Commit: 8c97d6c435ff18ad632db3a6d5e12c5d2f2e90dd
Parents: 9f1cd6b 41c8ef6
Author: zshshr <zh...@gmail.com>
Authored: Thu Apr 6 15:54:12 2017 +0800
Committer: zshshr <zh...@gmail.com>
Committed: Thu Apr 6 15:54:12 2017 +0800
----------------------------------------------------------------------
android/sdk/libs/armeabi/libweexv8.so | Bin 7813188 -> 7791028 bytes
1 file changed, 0 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8c97d6c4/android/sdk/libs/armeabi/libweexv8.so
----------------------------------------------------------------------
diff --cc android/sdk/libs/armeabi/libweexv8.so
index 8280c19,471bb04..0718096
Binary files differ
[28/50] incubator-weex git commit: * [test] Add watch ability for
macaca
Posted by so...@apache.org.
* [test] Add watch ability for macaca
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/4c175a68
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/4c175a68
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/4c175a68
Branch: refs/heads/dev
Commit: 4c175a680537c9e75ba554c09902f4acb0e0d6fa
Parents: 8ce111a
Author: YorkShen <sh...@gmail.com>
Authored: Wed Apr 12 11:32:10 2017 +0800
Committer: YorkShen <sh...@gmail.com>
Committed: Tue Apr 18 16:14:16 2017 +0800
----------------------------------------------------------------------
package.json | 4 ++--
test/serve.sh | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/4c175a68/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 156eaee..3887a64 100644
--- a/package.json
+++ b/package.json
@@ -47,8 +47,8 @@
"build:examples:native": "webpack --config build/webpack.examples.config.js",
"build:examples:web": "webpack --config build/webpack.examples.web.config.js",
"build:test": "webpack --config build/webpack.test.config.js",
- "build:ci:web": "webpack --config build/webpack.ci.web.config.js",
- "build:ci:native": "webpack --config build/webpack.ci.config.js",
+ "build:ci:web": "webpack --watch --config build/webpack.ci.web.config.js",
+ "build:ci:native": "webpack --watch --config build/webpack.ci.config.js",
"build:ci": "npm run build:ci:native && npm run build:ci:web",
"build": "npm run build:native && npm run build:browser && npm run build:vue && npm run build:examples && npm run build:test",
"dist:vue": "npm run build:vue && bash ./bin/dist-vue.sh",
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/4c175a68/test/serve.sh
----------------------------------------------------------------------
diff --git a/test/serve.sh b/test/serve.sh
index b23dbfd..1b3f18a 100755
--- a/test/serve.sh
+++ b/test/serve.sh
@@ -1,4 +1,4 @@
#!/bin/bash -eu
npm run build:vue
-npm run build:ci
+npm run build:ci &
npm run serve:ui-test
\ No newline at end of file
[26/50] incubator-weex git commit: Merge branch 'ios-demo-0.12-dev'
of https://github.com/kfeagle/incubator-weex into 0.12-dev
Posted by so...@apache.org.
Merge branch 'ios-demo-0.12-dev' of https://github.com/kfeagle/incubator-weex into 0.12-dev
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/32ae6e47
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/32ae6e47
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/32ae6e47
Branch: refs/heads/dev
Commit: 32ae6e47e0d2f92b5d71e12d1dad3c1a6c9af252
Parents: ca6a9ff dd047ba
Author: cxfeng <cx...@apache.org>
Authored: Tue Apr 18 15:58:36 2017 +0800
Committer: cxfeng <cx...@apache.org>
Committed: Tue Apr 18 15:58:36 2017 +0800
----------------------------------------------------------------------
WeexSDK.podspec | 45 +++++++++++++++++++
examples/component/input-demo.we | 14 +++---
examples/index.we | 5 ++-
examples/vue/components/input.vue | 14 +++---
examples/vue/index.vue | 3 ++
examples/vue/market/gcanvas.vue | 40 +++++++++++++++++
ios/playground/Podfile | 5 ++-
.../WeexDemo.xcodeproj/project.pbxproj | 4 +-
ios/sdk/WeexSDK.podspec | 47 --------------------
.../WeexSDK/Sources/Bridge/WXBridgeContext.m | 2 +-
package.json | 4 +-
11 files changed, 116 insertions(+), 67 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/32ae6e47/ios/playground/WeexDemo.xcodeproj/project.pbxproj
----------------------------------------------------------------------
[44/50] incubator-weex git commit: * [ios] use old text render logic
which the os version less than 10.0
Posted by so...@apache.org.
* [ios] use old text render logic which the os version less than 10.0
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/6fa910f5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/6fa910f5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/6fa910f5
Branch: refs/heads/dev
Commit: 6fa910f5ee51668c99584095c42ceea23f3ebfec
Parents: a6b0767
Author: acton393 <zh...@gmail.com>
Authored: Thu Apr 20 16:16:27 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Thu Apr 20 16:16:27 2017 +0800
----------------------------------------------------------------------
ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m | 2 +-
ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m | 11 ++++++++++-
2 files changed, 11 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/6fa910f5/ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m b/ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m
index 5f837cc..7d58cf3 100644
--- a/ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m
+++ b/ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m
@@ -236,7 +236,7 @@
_jsContext[@"WXEnvironment"] = data;
}
-typedef void (*WXJSCGarbageCollect)(JSContextRef);
+//typedef void (*WXJSCGarbageCollect)(JSContextRef);
- (void)garbageCollect
{
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/6fa910f5/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m b/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m
index 09b255d..56c158a 100644
--- a/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m
+++ b/ios/sdk/WeexSDK/Sources/Component/WXTextComponent.m
@@ -75,7 +75,10 @@
return self.wx_component->_ariaLabel;
}
}
- return _textStorage.string;
+ if (![(WXTextComponent*)self.wx_component useCoreText]) {
+ return _textStorage.string;
+ }
+ return [(WXTextComponent*)self.wx_component valueForKey:@"_text"];
}
@end
@@ -146,12 +149,18 @@ CGFloat WXTextDefaultLineThroughWidth = 1.2;
- (BOOL)useCoreText
{
+ if (WX_SYS_VERSION_LESS_THAN(@"10.0")) {
+ // there is something wrong with coreText drawing lineHeight, trying to fix this, or anyone who can help me to fix this.
+ return NO;
+ }
+
if ([_useCoreTextAttr isEqualToString:@"yes"]) {
return YES;
}
if ([_useCoreTextAttr isEqualToString:@"false"]) {
return NO;
}
+
if ([WXTextComponent textRenderUsingCoreText]) {
return YES;
}
[16/50] incubator-weex git commit: + [ios] update version
Posted by so...@apache.org.
+ [ios] update version
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/18fd3e6b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/18fd3e6b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/18fd3e6b
Branch: refs/heads/dev
Commit: 18fd3e6b8397711cba5f2af67b3fcc0d7f38dfdb
Parents: e728662
Author: \u9f50\u5c71 <su...@163.com>
Authored: Mon Apr 17 19:32:48 2017 +0800
Committer: \u9f50\u5c71 <su...@163.com>
Committed: Mon Apr 17 19:32:48 2017 +0800
----------------------------------------------------------------------
ios/playground/Podfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/18fd3e6b/ios/playground/Podfile
----------------------------------------------------------------------
diff --git a/ios/playground/Podfile b/ios/playground/Podfile
index 5ca0552..b9e11fb 100644
--- a/ios/playground/Podfile
+++ b/ios/playground/Podfile
@@ -9,7 +9,7 @@ def common
pod 'SocketRocket', '0.4.2'
pod 'ATSDK-Weex', '0.0.1'
- pod 'WeexGcanvas', '0.0.1.3'
+ pod 'WeexGcanvas', '0.0.1.5'
end
target 'WeexDemo' do
[18/50] incubator-weex git commit: * [ios] update sdk version
Posted by so...@apache.org.
* [ios] update sdk version
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/bc2d964f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/bc2d964f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/bc2d964f
Branch: refs/heads/dev
Commit: bc2d964facc7e8e7a454b403b58ce22df8120c1f
Parents: 242b1ec
Author: acton393 <zh...@gmail.com>
Authored: Mon Apr 17 20:47:56 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Mon Apr 17 20:47:56 2017 +0800
----------------------------------------------------------------------
ios/sdk/WeexSDK.podspec | 2 +-
ios/sdk/WeexSDK/Sources/Utility/WXDefine.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/bc2d964f/ios/sdk/WeexSDK.podspec
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK.podspec b/ios/sdk/WeexSDK.podspec
index 5cc5805..d319be6 100644
--- a/ios/sdk/WeexSDK.podspec
+++ b/ios/sdk/WeexSDK.podspec
@@ -3,7 +3,7 @@ Pod::Spec.new do |s|
s.name = "WeexSDK"
- s.version = "0.11.0"
+ s.version = "0.12.0"
s.summary = "WeexSDK Source ."
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/bc2d964f/ios/sdk/WeexSDK/Sources/Utility/WXDefine.h
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Utility/WXDefine.h b/ios/sdk/WeexSDK/Sources/Utility/WXDefine.h
index 8cca636..f2947ab 100644
--- a/ios/sdk/WeexSDK/Sources/Utility/WXDefine.h
+++ b/ios/sdk/WeexSDK/Sources/Utility/WXDefine.h
@@ -20,7 +20,7 @@
#ifndef __WX_DEFINE_H__
#define __WX_DEFINE_H__
-#define WX_SDK_VERSION @"0.11.0"
+#define WX_SDK_VERSION @"0.12.0"
#if defined(__cplusplus)
#define WX_EXTERN extern "C" __attribute__((visibility("default")))
[22/50] incubator-weex git commit: * [ios] update license header
script
Posted by so...@apache.org.
* [ios] update license header script
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/e4333210
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/e4333210
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/e4333210
Branch: refs/heads/dev
Commit: e43332101477b45ff544df7219111efaeac3c3b0
Parents: b0260a2
Author: acton393 <zh...@gmail.com>
Authored: Tue Apr 18 11:06:58 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Tue Apr 18 11:06:58 2017 +0800
----------------------------------------------------------------------
ios/sdk/WeexSDK/Sources/WeexSDK.h | 33 +++++++++++++++++----------------
ios/sdk/buildScripts.sh | 25 ++++++++++++++++++-------
2 files changed, 35 insertions(+), 23 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/e4333210/ios/sdk/WeexSDK/Sources/WeexSDK.h
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/WeexSDK.h b/ios/sdk/WeexSDK/Sources/WeexSDK.h
index 400324e..d8ac443 100644
--- a/ios/sdk/WeexSDK/Sources/WeexSDK.h
+++ b/ios/sdk/WeexSDK/Sources/WeexSDK.h
@@ -1,20 +1,20 @@
/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied. See the License for the
+* specific language governing permissions and limitations
+* under the License.
*/
#ifdef __OBJC__
@@ -48,6 +48,7 @@
#import "WXDefine.h"
#import "WXDebugTool.h"
#import "WXConvert.h"
+#import "WXConfigProtocol.h"
#import "WXComponentManager.h"
#import "WXComponent.h"
#import "WXBridgeProtocol.h"
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/e4333210/ios/sdk/buildScripts.sh
----------------------------------------------------------------------
diff --git a/ios/sdk/buildScripts.sh b/ios/sdk/buildScripts.sh
index 8e168b4..8f8fe80 100644
--- a/ios/sdk/buildScripts.sh
+++ b/ios/sdk/buildScripts.sh
@@ -5,12 +5,23 @@
function generateFileHeader() {
headerFilePath=$1
headerFileName=`basename $1`
- echo '/**' > $headerFilePath
- echo ' * Created by Weex.' >> $headerFilePath
- echo ' * Copyright (c) 2016, Alibaba, Inc. All rights reserved.' >> $headerFilePath
- echo ' * ' >> $headerFilePath
- echo ' * This source code is licensed under the Apache Licence 2.0.' >> $headerFilePath
- echo ' * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree.' >> $headerFilePath
+ echo '/*' > $headerFilePath
+echo '* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied. See the License for the
+* specific language governing permissions and limitations
+* under the License.' >> $headerFilePath
echo ' */' >> $headerFilePath
echo '' >> $headerFilePath
echo '#ifdef __OBJC__' >> $headerFilePath
@@ -101,4 +112,4 @@ function generateSDKHeader() {
rm $publicHeaderFilePath
fi
generateHeader "${PROJECT_DIR}/${PROJECT_NAME}.xcodeproj" "${publicHeaderFilePath}" 'Public' $sdkName
-}
\ No newline at end of file
+}
[07/50] incubator-weex git commit: * [test] adjust recycler test to
fit both android and ios
Posted by so...@apache.org.
* [test] adjust recycler test to fit both android and ios
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/e327498c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/e327498c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/e327498c
Branch: refs/heads/dev
Commit: e327498c237834ec3f9c8b4a1e88badc336dbba4
Parents: 68acd19
Author: \u9690\u98ce <cx...@apache.org>
Authored: Thu Apr 13 15:55:20 2017 +0800
Committer: \u9690\u98ce <cx...@apache.org>
Committed: Thu Apr 13 15:55:20 2017 +0800
----------------------------------------------------------------------
test/scripts/components/recycler.test.js | 18 +++++-------------
1 file changed, 5 insertions(+), 13 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/e327498c/test/scripts/components/recycler.test.js
----------------------------------------------------------------------
diff --git a/test/scripts/components/recycler.test.js b/test/scripts/components/recycler.test.js
index c83534d..170dff6 100644
--- a/test/scripts/components/recycler.test.js
+++ b/test/scripts/components/recycler.test.js
@@ -202,9 +202,6 @@ describe('recycler @ignore_android', function () {
.getRect()
.then((rect)=>{
console.log(`cell 1 rect after changing column width to 600:${JSON.stringify(rect)}`)
- console.log(`navBarHeight:${navBarHeight}`)
- console.log(`scaleFactor:${scaleFactor}`)
- console.log(`recyclerWidth:${recyclerWidth}`)
cell1Height = rect.height
assert.isOk(isApproximate(rect.x, 0))
@@ -319,7 +316,7 @@ describe('recycler @ignore_android', function () {
console.log(`sticking header rect after setting padding to 12:${JSON.stringify(rect)}`)
assert.isOk(isApproximate(rect.x, 12 * scaleFactor))
- assert.isOk(isApproximate(rect.y, navBarHeight+12 * scaleFactor))
+ assert.isOk(isApproximate(rect.y, navBarHeight + (isAndroid ? 12 * scaleFactor : 0)))
assert.isOk(isApproximate(rect.width, recyclerWidth - 24 * scaleFactor))
assert.isOk(isApproximate(rect.height, 94 * scaleFactor))
})
@@ -332,10 +329,10 @@ describe('recycler @ignore_android', function () {
assert.isOk(isApproximate(rect.width, recyclerWidth - 24 * scaleFactor))
assert.isOk(isApproximate(rect.height, 94 * scaleFactor))
})
- .elementById('cell26')
+ .elementById((isAndroid ? 'cell26' : 'cell27'))
.getRect()
.then((rect)=>{
- console.log(`cell 26 rect after setting padding to 12:${JSON.stringify(rect)}`)
+ console.log(`cell 27 rect after setting padding to 12:${JSON.stringify(rect)}`)
assert.isOk(isApproximate(rect.x, 12 * scaleFactor))
assert.isOk(isApproximate(rect.width, 357 * scaleFactor))
})
@@ -344,12 +341,7 @@ describe('recycler @ignore_android', function () {
it('#11 test onscroll', () => {
let originContentOffset = 0
return driver
- .elementById('cell27')
- .getRect()
- .then((rect)=>{
- console.log(`cell 29 rect:${JSON.stringify(rect)}`)
- })
- .elementById('cell27')
+ .elementById((isAndroid ? 'cell27' : 'cell28'))
.click()
.elementById('stickyText1')
.text()
@@ -374,7 +366,7 @@ describe('recycler @ignore_android', function () {
it('#12 test scrollable', () => {
let originContentOffset = 0
return driver
- .elementById('cell25')
+ .elementById((isAndroid ? 'cell25' : 'cell26'))
.click()
.elementById('stickyText1')
.text()
[09/50] incubator-weex git commit: + [example] fix bug demo
Posted by so...@apache.org.
+ [example] fix bug demo
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/eb6b55c2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/eb6b55c2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/eb6b55c2
Branch: refs/heads/dev
Commit: eb6b55c25ceda9e3681e195df03a0460787b77e7
Parents: 2f8eec6
Author: \u9f50\u5c71 <su...@163.com>
Authored: Sat Apr 15 21:56:17 2017 +0800
Committer: \u9f50\u5c71 <su...@163.com>
Committed: Sat Apr 15 21:56:17 2017 +0800
----------------------------------------------------------------------
examples/component/input-demo.we | 14 +++++++-------
examples/vue/components/input.vue | 14 +++++++-------
2 files changed, 14 insertions(+), 14 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/eb6b55c2/examples/component/input-demo.we
----------------------------------------------------------------------
diff --git a/examples/component/input-demo.we b/examples/component/input-demo.we
index 950805a..ea4313b 100644
--- a/examples/component/input-demo.we
+++ b/examples/component/input-demo.we
@@ -11,7 +11,7 @@
<div style="background-color: #286090">
<text class="title" style="height: 80 ;padding: 20;color: #FFFFFF">input type = text</text>
</div>
- <input type="text" placeholder="Input Text" class="input" :autofocus="autofocus" value="" onchange="onchange" oninput="oninput"/>
+ <input type="text" placeholder="Input Text" class="input" autofocus=true value="" onchange="onchange" oninput="oninput"/>
</div>
<div>
@@ -58,42 +58,42 @@
<div>
<div style="background-color: #286090">
- <text class="title" style="height: 80 ;padding: 20;color: #FFFFFF">input keyboard = default</text>
+ <text class="title" style="height: 80 ;padding: 20;color: #FFFFFF">input return-key-type = default</text>
</div>
<input type="text" placeholder="please input" return-key-type="default" class="input" onchange="onchange" onreturn = "onreturn" oninput="oninput" />
</div>
<div>
<div style="background-color: #286090">
- <text class="title" style="height: 80 ;padding: 20;color: #FFFFFF">input keyboard = go</text>
+ <text class="title" style="height: 80 ;padding: 20;color: #FFFFFF">input return-key-type = go</text>
</div>
<input type="text" placeholder="please input" return-key-type="go" class="input" onchange="onchange" onreturn = "onreturn" oninput="oninput" />
</div>
<div>
<div style="background-color: #286090">
- <text class="title" style="height: 80 ;padding: 20;color: #FFFFFF">input keyboard = next</text>
+ <text class="title" style="height: 80 ;padding: 20;color: #FFFFFF">input return-key-type = next</text>
</div>
<input type="text" placeholder="please input" return-key-type="next" class="input" onchange="onchange" onreturn = "onreturn" oninput="oninput" />
</div>
<div>
<div style="background-color: #286090">
- <text class="title" style="height: 80 ;padding: 20;color: #FFFFFF">input keyboard = search</text>
+ <text class="title" style="height: 80 ;padding: 20;color: #FFFFFF">input return-key-type = search</text>
</div>
<input type="text" placeholder="please input" return-key-type="search" class="input" onchange="onchange" onreturn = "onreturn" oninput="oninput" />
</div>
<div>
<div style="background-color: #286090">
- <text class="title" style="height: 80 ;padding: 20;color: #FFFFFF">input keyboard = send</text>
+ <text class="title" style="height: 80 ;padding: 20;color: #FFFFFF">input return-key-type = send</text>
</div>
<input type="text" placeholder="please input" return-key-type="send" class="input" onchange="onchange" onreturn = "onreturn" oninput="oninput" />
</div>
<div>
<div style="background-color: #286090">
- <text class="title" style="height: 80 ;padding: 20;color: #FFFFFF">input keyboard = done</text>
+ <text class="title" style="height: 80 ;padding: 20;color: #FFFFFF">input return-key-type = done</text>
</div>
<input type="text" placeholder="please input" return-key-type="done" class="input" onchange="onchange" onreturn = "onreturn" oninput="oninput" />
</div>
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/eb6b55c2/examples/vue/components/input.vue
----------------------------------------------------------------------
diff --git a/examples/vue/components/input.vue b/examples/vue/components/input.vue
index 6ef5f9b..9cf4c37 100644
--- a/examples/vue/components/input.vue
+++ b/examples/vue/components/input.vue
@@ -10,7 +10,7 @@
<div style="background-color: #286090">
<text class="title" style="height: 80 ;padding: 20;color: #FFFFFF">input type = text</text>
</div>
- <input type="text" placeholder="Input Text" class="input" :autofocus="autofocus" value="" @change="onchange" @input="oninput"/>
+ <input type="text" placeholder="Input Text" class="input" :autofocus=true value="" @change="onchange" @input="oninput"/>
</div>
<div>
@@ -57,42 +57,42 @@
<div>
<div style="background-color: #286090">
- <text class="title" style="height: 80 ;padding: 20;color: #FFFFFF">input keyboard = default</text>
+ <text class="title" style="height: 80 ;padding: 20;color: #FFFFFF">input return-key-type = default</text>
</div>
<input type="text" placeholder="please input" return-key-type="default" class="input" @change="onchange" @return = "onreturn" @input="oninput" />
</div>
<div>
<div style="background-color: #286090">
- <text class="title" style="height: 80 ;padding: 20;color: #FFFFFF">input keyboard = go</text>
+ <text class="title" style="height: 80 ;padding: 20;color: #FFFFFF">input return-key-type = go</text>
</div>
<input type="text" placeholder="please input" return-key-type="go" class="input" @change="onchange" @return = "onreturn" @input="oninput" />
</div>
<div>
<div style="background-color: #286090">
- <text class="title" style="height: 80 ;padding: 20;color: #FFFFFF">input keyboard = next</text>
+ <text class="title" style="height: 80 ;padding: 20;color: #FFFFFF">input return-key-type = next</text>
</div>
<input type="text" placeholder="please input" return-key-type="next" class="input" @change="onchange" @return = "onreturn" @input="oninput" />
</div>
<div>
<div style="background-color: #286090">
- <text class="title" style="height: 80 ;padding: 20;color: #FFFFFF">input keyboard = search</text>
+ <text class="title" style="height: 80 ;padding: 20;color: #FFFFFF">input return-key-type = search</text>
</div>
<input type="text" placeholder="please input" return-key-type="search" class="input" @change="onchange" @return = "onreturn" @input="oninput" />
</div>
<div>
<div style="background-color: #286090">
- <text class="title" style="height: 80 ;padding: 20;color: #FFFFFF">input keyboard = send</text>
+ <text class="title" style="height: 80 ;padding: 20;color: #FFFFFF">input return-key-type = send</text>
</div>
<input type="text" placeholder="please input" return-key-type="send" class="input" @change="onchange" @return = "onreturn" @input="oninput" />
</div>
<div>
<div style="background-color: #286090">
- <text class="title" style="height: 80 ;padding: 20;color: #FFFFFF">input keyboard = done</text>
+ <text class="title" style="height: 80 ;padding: 20;color: #FFFFFF">input return-key-type = done</text>
</div>
<input type="text" placeholder="please input" return-key-type="done" class="input" @change="onchange" @return = "onreturn" @input="oninput" />
</div>
[25/50] incubator-weex git commit: + [ios] update podspec
Posted by so...@apache.org.
+ [ios] update podspec
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/dd047ba5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/dd047ba5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/dd047ba5
Branch: refs/heads/dev
Commit: dd047ba525709c9c0f002d560f58676886d350e4
Parents: 18fd3e6
Author: \u9f50\u5c71 <su...@163.com>
Authored: Tue Apr 18 14:25:26 2017 +0800
Committer: \u9f50\u5c71 <su...@163.com>
Committed: Tue Apr 18 14:25:26 2017 +0800
----------------------------------------------------------------------
WeexSDK.podspec | 8 ++--
ios/playground/Podfile | 3 +-
.../WeexDemo.xcodeproj/project.pbxproj | 20 +--------
ios/sdk/WeexSDK.podspec | 47 --------------------
4 files changed, 7 insertions(+), 71 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/dd047ba5/WeexSDK.podspec
----------------------------------------------------------------------
diff --git a/WeexSDK.podspec b/WeexSDK.podspec
index 6ec182f..8279ec3 100644
--- a/WeexSDK.podspec
+++ b/WeexSDK.podspec
@@ -27,18 +27,16 @@ Pod::Spec.new do |s|
s.platform = :ios
s.ios.deployment_target = '7.0'
s.source = { :path => '.' }
- s.source_files = 'ios/playground/WeexSDK/Sources/**/*.{h,m,mm,c}'
- s.resources = 'ios/playground/WeexSDK/Resources/main.js', 'ios/playground/WeexSDK/Resources/wx_load_error@3x.png'
+ s.source_files = 'ios/sdk/WeexSDK/Sources/**/*.{h,m,mm,c}'
+ s.resources = 'ios/sdk/WeexSDK/Resources/main.js', 'ios/sdk/WeexSDK/Resources/wx_load_error@3x.png'
s.requires_arc = true
- s.prefix_header_file = 'ios/playground/WeexSDK/Sources/Supporting Files/WeexSDK-Prefix.pch'
+ s.prefix_header_file = 'ios/sdk/WeexSDK/Sources/Supporting Files/WeexSDK-Prefix.pch'
# s.xcconfig = { "GCC_PREPROCESSOR_DEFINITIONS" => '$(inherited) DEBUG=1' }
s.xcconfig = { "OTHER_LINK_FLAG" => '$(inherited) -ObjC'}
- s.user_target_xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => "'$(PODS_ROOT)/WeexSDK'" }
-
s.frameworks = 'CoreMedia','MediaPlayer','AVFoundation','AVKit','JavaScriptCore', 'GLKit'
s.dependency 'SocketRocket'
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/dd047ba5/ios/playground/Podfile
----------------------------------------------------------------------
diff --git a/ios/playground/Podfile b/ios/playground/Podfile
index b9e11fb..8c47e78 100644
--- a/ios/playground/Podfile
+++ b/ios/playground/Podfile
@@ -3,12 +3,13 @@ platform :ios, '7.0'
#inhibit_all_warnings!
def common
- pod 'WeexSDK', :path=>'../sdk/'
+ pod 'WeexSDK', :path=>'../../'
pod 'WXDevtool', '0.9.5'
pod 'SDWebImage', '3.7.5'
pod 'SocketRocket', '0.4.2'
pod 'ATSDK-Weex', '0.0.1'
+ # WeexGcanvas is added by Weex Plugin, more info at https://market.dotwe.org/ext/list.htm
pod 'WeexGcanvas', '0.0.1.5'
end
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/dd047ba5/ios/playground/WeexDemo.xcodeproj/project.pbxproj
----------------------------------------------------------------------
diff --git a/ios/playground/WeexDemo.xcodeproj/project.pbxproj b/ios/playground/WeexDemo.xcodeproj/project.pbxproj
index b613286..c005e17 100644
--- a/ios/playground/WeexDemo.xcodeproj/project.pbxproj
+++ b/ios/playground/WeexDemo.xcodeproj/project.pbxproj
@@ -364,7 +364,6 @@
84361D431CA10F8E00F43825 /* Resources */,
84361D6F1CA10F8E00F43825 /* [CP] Copy Pods Resources */,
84361D701CA10F8E00F43825 /* [CP] Embed Pods Frameworks */,
- 567369891CE436EB000A646C /* ShellScript */,
);
buildRules = (
);
@@ -447,21 +446,6 @@
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
- 36DF47C61FC947C616E7CB76 /* [CP] Copy Pods Resources */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- );
- name = "[CP] Copy Pods Resources";
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-WeexDemo/Pods-WeexDemo-resources.sh\"\n";
- showEnvVarsInLog = 0;
- };
685399B3421CD1410375A2AD /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
@@ -474,7 +458,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "myFile=\"XcodeCoverage/exportenv.sh\"\n\nif [ -f \"$myFile\" ]; then\nXcodeCoverage/exportenv.sh\nfi";
+ shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-WeexDemo/Pods-WeexDemo-frameworks.sh\"\n";
};
74CC7A221C2C13BF00829368 /* Start Samples */ = {
isa = PBXShellScriptBuildPhase;
@@ -562,7 +546,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-WeexDemo/Pods-WeexDemo-frameworks.sh\"\n";
+ shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-WeexDemo/Pods-WeexDemo-resources.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/dd047ba5/ios/sdk/WeexSDK.podspec
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK.podspec b/ios/sdk/WeexSDK.podspec
deleted file mode 100644
index 5cc5805..0000000
--- a/ios/sdk/WeexSDK.podspec
+++ /dev/null
@@ -1,47 +0,0 @@
-# coding: utf-8
-Pod::Spec.new do |s|
-
- s.name = "WeexSDK"
-
- s.version = "0.11.0"
-
- s.summary = "WeexSDK Source ."
-
- s.description = <<-DESC
- A framework for building Mobile cross-platform UI
- DESC
-
- s.homepage = "https://github.com/alibaba/weex"
- s.license = {
- :type => 'Copyright',
- :text => <<-LICENSE
- Alibaba-INC copyright
- LICENSE
- }
- s.authors = { "cxfeng1" => "cxfeng1@gmail.com",
- "boboning" => "ningli928@163.com",
- "yangshengtao" => "yangshengtao1314@163.com",
- "kfeagle" => "sunjjbobo@163.com",
- "acton393" => "zhangxing610321@gmail.com"
- }
- s.platform = :ios
- s.ios.deployment_target = '7.0'
- s.source = { :path => '.' }
- s.source_files = 'WeexSDK/Sources/**/*.{h,m,mm,c}'
- s.resources = 'WeexSDK/Resources/main.js', 'WeexSDK/Resources/wx_load_error@3x.png'
-
- s.requires_arc = true
- s.prefix_header_file = 'WeexSDK/Sources/Supporting Files/WeexSDK-Prefix.pch'
-
-# s.xcconfig = { "GCC_PREPROCESSOR_DEFINITIONS" => '$(inherited) DEBUG=1' }
-
- s.xcconfig = { "OTHER_LINK_FLAG" => '$(inherited) -ObjC'}
-
- s.user_target_xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => "'$(PODS_ROOT)/WeexSDK'" }
-
- s.frameworks = 'CoreMedia','MediaPlayer','AVFoundation','AVKit','JavaScriptCore', 'GLKit'
-
- s.dependency 'SocketRocket'
- s.libraries = "stdc++"
-
-end
[35/50] incubator-weex git commit: * [android] Add log to see CI fails
Posted by so...@apache.org.
* [android] Add log to see CI fails
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/758ee8e2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/758ee8e2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/758ee8e2
Branch: refs/heads/dev
Commit: 758ee8e25b4670d5366f26a10c96e43c329e7e63
Parents: 4720025
Author: YorkShen <sh...@gmail.com>
Authored: Tue Apr 18 16:52:28 2017 +0800
Committer: YorkShen <sh...@gmail.com>
Committed: Tue Apr 18 19:48:52 2017 +0800
----------------------------------------------------------------------
test/scripts/components/text.test.js | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/758ee8e2/test/scripts/components/text.test.js
----------------------------------------------------------------------
diff --git a/test/scripts/components/text.test.js b/test/scripts/components/text.test.js
index 3c7c347..36ea91c 100644
--- a/test/scripts/components/text.test.js
+++ b/test/scripts/components/text.test.js
@@ -47,6 +47,8 @@ describe('weex text', function () {
.elementById('lines')
.getRect()
.then(rect => {
+ console.log(rect)
+ console.log(screenWidth)
assert.equal(rect.width, screenWidth)
assert.equal(rect.height, Math.floor(2 * 32 * scaleFactor))
scroll(rect.height)