[GitHub] incubator-weex issue #1128: [Android] Merge LayoutEngine and WeexCore

2018-04-25 Thread YorkShen
Github user YorkShen commented on the issue:

https://github.com/apache/incubator-weex/pull/1128
  
https://issues.apache.org/jira/projects/WEEX/issues/WEEX-301


---


[GitHub] incubator-weex issue #1132: [Android] Merge LayoutEngine and WeexCore

2018-04-27 Thread YorkShen
Github user YorkShen commented on the issue:

https://github.com/apache/incubator-weex/pull/1132
  
https://issues.apache.org/jira/browse/WEEX-69?jql=text%20~%20%22yoga%22


---


[GitHub] incubator-weex pull request #1160: * [android] Update gitignore.

2018-05-09 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/1160

* [android] Update gitignore.

Update gitIgnore

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex git-ignore

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/1160.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1160


commit 0aa1ca9985913744b93ccc782b250bc010a497e6
Author: YorkShen 
Date:   2018-05-10T03:30:24Z

* [android] Update gitignore.




---


[GitHub] incubator-weex pull request #1160: * [android] Update gitignore.

2018-05-10 Thread YorkShen
Github user YorkShen closed the pull request at:

https://github.com/apache/incubator-weex/pull/1160


---


[GitHub] incubator-weex pull request #1169: * [Android] Add exception info when there...

2018-05-13 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/1169

* [Android] Add exception info when there is a JS error during add

https://issues.apache.org/jira/browse/WEEX-357

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex android_container_cast

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/1169.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1169


commit 29a9ab08baec0275a76de7a00cdac529798594a8
Author: YorkShen 
Date:   2018-05-14T04:05:42Z

* [Android] Add exception info when there is a JS error during 
addElementAction.




---


[GitHub] incubator-weex pull request #1170: * [Android] Update gradle wrapper.

2018-05-13 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/1170

* [Android] Update gradle wrapper.

https://issues.apache.org/jira/browse/WEEX-358

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex android_gradle_wrapper

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/1170.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1170


commit 593cc64c25f47267e4eeba21e0d3322151e38ed4
Author: YorkShen 
Date:   2018-05-14T04:10:57Z

* [Android] Update gradle wrapper.




---


[GitHub] incubator-weex pull request #1173: * [Core] Fix max-width problem.

2018-05-14 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/1173

* [Core] Fix max-width problem.

https://issues.apache.org/jira/browse/WEEX-361

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex layout_text_max_width

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/1173.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1173


commit f71f15abed5632a1813c074786681d388335db71
Author: YorkShen 
Date:   2018-05-14T12:58:51Z

* [Core] Fix max-width problem.
http://dotwe.org/vue/4022e76a68de681d423ea49ae434deff




---


[GitHub] incubator-weex pull request #1170: * [Android] Update gradle wrapper.

2018-05-15 Thread YorkShen
Github user YorkShen closed the pull request at:

https://github.com/apache/incubator-weex/pull/1170


---


[GitHub] incubator-weex pull request #1173: [WEEX-361][Core] max width

2018-05-15 Thread YorkShen
Github user YorkShen closed the pull request at:

https://github.com/apache/incubator-weex/pull/1173


---


[GitHub] incubator-weex pull request #1169: * [Android] Add exception info when there...

2018-05-15 Thread YorkShen
Github user YorkShen closed the pull request at:

https://github.com/apache/incubator-weex/pull/1169


---


[GitHub] incubator-weex pull request #1223: [WEEX-417] Add a new method to stream mod...

2018-05-29 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/1223

[WEEX-417] Add a new method to stream module

https://issues.apache.org/jira/browse/WEEX-417

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex stream

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/1223.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1223


commit 9313072bfdac0882025e6dee7f3e2108c57225bf
Author: YorkShen 
Date:   2018-05-30T06:25:28Z

* [Android] Add a new method to StreamModule




---


[GitHub] incubator-weex pull request #1294: [Weex-480][Android] Memory leak of Instan...

2018-06-26 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/1294

[Weex-480][Android] Memory leak of InstanceWrap

https://issues.apache.org/jira/browse/WEEX-480

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex bugfix-memoryleak

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/1294.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1294


commit f19a82614c3d91f48a5f4469508d01b185034d59
Author: YorkShen 
Date:   2018-06-26T09:54:36Z

* [Android] Fix potential memory leak.




---


[GitHub] incubator-weex pull request #1296: * [WEEX-481][Android] Fix duplication of ...

2018-06-26 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/1296

* [WEEX-481][Android] Fix duplication of animation initialization.

https://issues.apache.org/jira/browse/WEEX-481

* [Android] Fix duplication of animation initialization due to 
transformOrigin of CSS

http://dotwe.org/vue/c793e8f291dba9ab7ba660d07b0644e6

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex 
bugfix-css-transformOrigin

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/1296.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1296


commit 08a5b473884adc471b1882279c42ea2b5c0f1490
Author: YorkShen 
Date:   2018-06-27T06:20:35Z

* [Android] Fix duplication of animation initialization due to 
transformOrigin of CSS

http://dotwe.org/vue/c793e8f291dba9ab7ba660d07b0644e6




---


[GitHub] incubator-weex pull request #1294: [Weex-480][Android] Memory leak of Instan...

2018-06-26 Thread YorkShen
Github user YorkShen closed the pull request at:

https://github.com/apache/incubator-weex/pull/1294


---


[GitHub] incubator-weex pull request #1294: [Weex-480][Android] Memory leak of Instan...

2018-06-26 Thread YorkShen
Github user YorkShen closed the pull request at:

https://github.com/apache/incubator-weex/pull/1294


---


[GitHub] incubator-weex pull request #1294: [Weex-480][Android] Memory leak of Instan...

2018-06-26 Thread YorkShen
GitHub user YorkShen reopened a pull request:

https://github.com/apache/incubator-weex/pull/1294

[Weex-480][Android] Memory leak of InstanceWrap

https://issues.apache.org/jira/browse/WEEX-480

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex bugfix-memoryleak

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/1294.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1294


commit f19a82614c3d91f48a5f4469508d01b185034d59
Author: YorkShen 
Date:   2018-06-26T09:54:36Z

* [Android] Fix potential memory leak.




---


[GitHub] incubator-weex pull request #1296: * [WEEX-481][Android] Fix duplication of ...

2018-06-27 Thread YorkShen
Github user YorkShen closed the pull request at:

https://github.com/apache/incubator-weex/pull/1296


---


[GitHub] incubator-weex pull request #1303: [Weex-488] InstanceWrap unavailable on An...

2018-06-29 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/1303

[Weex-488] InstanceWrap unavailable on Android

https://issues.apache.org/jira/browse/WEEX-488

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex bugfix_downgrade

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/1303.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1303


commit 6149d49d70409faacad25e4759a564446c290838
Author: YorkShen 
Date:   2018-06-29T06:46:36Z

Revert "* [Android] Fix potential memory leak."

This reverts commit 361df72 and fix memory leak by make instanceWrap not 
global

(cherry picked from commit 07f8250)




---


[GitHub] incubator-weex pull request #1332: [WEEX-507][Android] Upgrade to Android AP...

2018-07-16 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/1332

[WEEX-507][Android] Upgrade to Android API 26

https://issues.apache.org/jira/browse/WEEX-507
Update to Android API 26

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex android26

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/1332.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1332


commit 9a46b15fe8b1933a2f4bbf5dc8283aede20c5ff3
Author: YorkShen 
Date:   2018-07-16T09:34:09Z

* [Android] Upgrade to API 26

commit 45722f35dbc5d11caad4c684de6fbef1d0c13bd1
Author: YorkShen 
Date:   2018-07-16T12:08:55Z

* [Core] Remove dexposed, which is not supported by ART VM.

commit 8ba9bd6edc0f2a2a70e07fff798596c2cfd9c884
Author: YorkShen 
Date:   2018-07-16T12:37:35Z

* Update android version in travisCI




---


[GitHub] incubator-weex pull request #1333: [WEEX-508][Android] Fix display error of ...

2018-07-16 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/1333

[WEEX-508][Android] Fix display error of base64 IconFont

https://issues.apache.org/jira/browse/WEEX-508

Fix display error of base64 IconFont, Ref 
https://jsplayground.taobao.org/raxplayground/64800ba5-9250-4b13-834b-167de6aa9522

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex bugfix-iconfont

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/1333.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1333


commit 450c14b2b75851369209ba965beaf44f19f94dbb
Author: YorkShen 
Date:   2018-07-16T13:13:27Z

* [Android] Fix display error of base64 IconFont


https://jsplayground.taobao.org/raxplayground/64800ba5-9250-4b13-834b-167de6aa9522




---


[GitHub] incubator-weex pull request #1334: [WEEX-509][Android] Fix NPE in WXSDKInsta...

2018-07-16 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/1334

[WEEX-509][Android] Fix NPE in WXSDKInstance.onActivityPause()

https://issues.apache.org/jira/browse/WEEX-509

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex bugfix-npe

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/1334.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1334


commit 68d0bab4b9bdaf7e5e40fe7dbfee2c6f1b73f61e
Author: YorkShen 
Date:   2018-07-16T13:31:21Z

* [Android] Fix NPE in WXSDKInstance




---


[GitHub] incubator-weex pull request #1344: * [Core] Fix "flex-grow" problem on text

2018-07-18 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/1344

* [Core] Fix "flex-grow" problem on text

https://issues.apache.org/jira/browse/WEEX-522

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex bugfix_text_flex

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/1344.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1344


commit 4c20ba3d0b8eaf3c1ea0b69a9ff4e935400d815c
Author: YorkShen 
Date:   2018-07-11T02:11:02Z

* [Core] Fix "flex-grow" problem on text




---


[GitHub] incubator-weex pull request #1359: [WEEX-532][Android] Fix Iconfont issue

2018-07-23 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/1359

[WEEX-532][Android] Fix Iconfont issue

https://issues.apache.org/jira/browse/WEEX-532

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex android_iconfont

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/1359.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1359


commit 8e47317e84f79e11f7ec588836109f8590efd568
Author: YorkShen 
Date:   2018-07-23T10:01:43Z

* [android] Fix Iconfont issue

http://rax.alibaba-inc.com/playground/28149825-d0c2-490a-b048-17832cf31886




---


[GitHub] incubator-weex pull request #1360: * [WEEX-533][Android] Fix animation memor...

2018-07-23 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/1360

* [WEEX-533][Android] Fix animation memory leak

https://issues.apache.org/jira/browse/WEEX-533

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex 
bugfix_animation_memoryleak

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/1360.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1360


commit 291e48b3e304305f5d71c2df484f952101450249
Author: YorkShen 
Date:   2018-07-23T12:18:56Z

* [Android] Fix animation memory leak




---


[GitHub] incubator-weex pull request #1361: * [WEEX-534][Android] Add JS Error Log in...

2018-07-23 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/1361

* [WEEX-534][Android] Add JS Error Log in GraphicActionAddElement

https://issues.apache.org/jira/projects/WEEX/issues/WEEX-534

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex 
android_addElementException

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/1361.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1361


commit 40e105cc7b2acec16d9ee72cb85a305b57191f6a
Author: YorkShen 
Date:   2018-07-23T14:32:19Z

* [Android] Add JS Error Log in GraphicActionAddElement

Set component.view.ContentDescription to ref if there is no 
contentDescription.




---


[GitHub] incubator-weex pull request #1370: * [WEEX-537][Android] Add more log when c...

2018-07-24 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/1370

* [WEEX-537][Android] Add more log when callNative failed.

https://issues.apache.org/jira/browse/WEEX-537

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex 
android_callNativeException

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/1370.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1370


commit 4f6b6c266c02aa8219bec6f061d60e2670555edb
Author: YorkShen 
Date:   2018-07-24T03:40:37Z

* [Android] Add more log when callNative failed.

(cherry picked from commit abf5fd1)




---


[GitHub] incubator-weex pull request #359: * [android] Fix mixing background-color an...

2017-05-17 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/359

* [android] Fix mixing background-color and border-color(rgba)

When combining border-color(rgba) and background-image together, the alpha 
in border-color also has an unexpected influence on background-image due to 
border and background-image share the same paint.

Refer http://dotwe.org/vue/d97477731dd85fedb3970fb106953fb9 to see a demo.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex 
android-bugfix-background-image

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/359.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #359


commit f5e80a464f7db962dee7b03d0ff2f45590e9d300
Author: YorkShen 
Date:   2017-05-18T03:35:48Z

* [android] Fix mixing background-color and border-color(rgba)
When combining border-color(rgba) and background-image together, the alpha 
in border-color also has an unexpected influence on background-image due to 
border and background-image share the same paint.
Refer http://dotwe.org/vue/d97477731dd85fedb3970fb106953fb9 to see a demo




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex pull request #365: * [android] Use the power of API 25

2017-05-18 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/365

* [android] Use the power of API 25

Remove magic numbers from WXViewUtils and use the power of API 25.

1. Use IntDef Annotation to imply return value.
2. Use Version_CODES.N to replace 24.


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex 
android-newfeature-api25

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/365.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #365


commit 28dfca0664b87a1ccc675bca5990b90b1c3012ae
Author: YorkShen 
Date:   2017-05-18T09:33:47Z

* [android] Remove magic numbers from WXViewUtils and use the power of API 
25.

1. Use IntDef Annotation to imply return value.
2. Use Version_CODES.N to replace 24.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex pull request #418: * [android] Support rotateX and rotateY, o...

2017-06-05 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/418

* [android] Support rotateX and rotateY, optimize animation as well.

* [Use LayoutParamsProperty instead of DimensionUpdateListener to achieve 
height/width animation.](http://dotwe.org/vue/c7a70462a136b61e11ab37f384862003)
* [Support rotateX and 
rotateY.](http://dotwe.org/vue/b13927aa309b5402bdf49bf9f546f7d8)
* Stop remove transform and transform-origin from WXStyle in 
UpdateStyleAction.
* Stop execute animation callback if corresponding WXInstance is destroyed 
when animation finished.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex 
android-feature-animation

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/418.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #418


commit 061f884934944a257b399826d9b3dedcc2042281
Author: YorkShen 
Date:   2017-06-05T06:59:31Z

* [android] Support rotateX and rotateY, optimize animation as well.
* [Use LayoutParamsProperty instead of DimensionUpdateListener to 
achieve height/width 
animation.](http://dotwe.org/vue/c7a70462a136b61e11ab37f384862003)
* [Support rotateX and 
rotateY.](http://dotwe.org/vue/b13927aa309b5402bdf49bf9f546f7d8).
* Stop remove transform and transform-origin from WXStyle in 
UpdateStyleAction.
* Stop execute animation callback if corresponding WXInstance is 
destroyed when animation finished.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex pull request #420: * [android] Use pair in android.util.pair.

2017-06-05 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/420

* [android] Use pair in android.util.pair.

As support-v4 actually supports api 9 from support library [24.2.0 and 
higher](https://developer.android.com/topic/libraries/support-library/index.html#api-versions).
 Any class reference in v4 library that is expected to work lower than API 9 
and higher than API 4 should be 
[migrated](https://developer.android.com/topic/libraries/support-library/rev-archive.html).

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex android-feature-v4

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/420.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #420


commit c75a5e2133ec5aafb8e6a9e12ba6f882c571d6c0
Author: YorkShen 
Date:   2017-06-05T07:47:09Z

* [android] Use pair in android.util.pair.

As support-v4 actually supports api 9 from support library [24.2.0 and 
higher](https://developer.android.com/topic/libraries/support-library/index.html#api-versions).
 Any class reference in v4 library that is expected to work lower than API 9 
and higher than API 4 should be 
[migrate](https://developer.android.com/topic/libraries/support-library/rev-archive.html).




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex pull request #421: * [android] Update Robolectric to 3.3.2

2017-06-05 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/421

* [android] Update Robolectric to 3.3.2



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex android-robolectric

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/421.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #421


commit 52e806dd3a5a762cdbc7c8f9fe1b099eb0e600f9
Author: YorkShen 
Date:   2017-06-05T10:01:52Z

* [android] Update Robolectric to 3.3.2




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex pull request #439: * [android] Fixing clearTimeout and clearI...

2017-06-11 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/439

* [android] Fixing clearTimeout and clearInterval doesn't when funId is 
greater than 127

Due the implementation of [int 
auto-boxing](https://stackoverflow.com/questions/3130311/weird-integer-boxing-in-java)
 and 
[messageQueue](https://stackoverflow.com/questions/36190851/android-os-handler-removemessages-doesnt-work-when-poxing-value-type-as-msg-obj),
 clearTimeout and clearTimeout won't work when funId is greater than 127. It 
works fine when funId is smaller than 127.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex android-bugfix-timer

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/439.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #439


commit 0040dcaa106de388db0b9c2ce70ce40b24a10926
Author: YorkShen 
Date:   2017-06-12T04:06:43Z

* [android] Fixing clearTimeout and clearInterval doesn't when funId is 
greater than 127.

Due the implementation of [int 
auto-boxing](https://stackoverflow.com/questions/3130311/weird-integer-boxing-in-java)
 and 
[messageQueue](https://stackoverflow.com/questions/36190851/android-os-handler-removemessages-doesnt-work-when-poxing-value-type-as-msg-obj),
 clearTimeout and clearTimeout won't work when funId is greater than 127. It 
works fine when funId is smaller than 127.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex pull request #439: * [android] Fixing clearTimeout and clearI...

2017-06-11 Thread YorkShen
Github user YorkShen commented on a diff in the pull request:

https://github.com/apache/incubator-weex/pull/439#discussion_r121319317
  
--- Diff: 
android/sdk/src/main/java/com/taobao/weex/ui/module/WXTimerModule.java ---
@@ -34,28 +39,20 @@
 import com.taobao.weex.dom.action.Actions;
 import com.taobao.weex.utils.WXJsonUtils;
 import com.taobao.weex.utils.WXLogUtils;
-
 import java.util.ArrayList;
 import java.util.HashMap;
 
-import static com.taobao.weex.bridge.WXBridgeManager.KEY_ARGS;
-import static com.taobao.weex.bridge.WXBridgeManager.KEY_METHOD;
-import static com.taobao.weex.bridge.WXBridgeManager.METHOD_CALLBACK;
-import static com.taobao.weex.bridge.WXBridgeManager.METHOD_CALL_JS;
-
 public class WXTimerModule extends WXModule implements Destroyable, 
Handler.Callback {
 
   private final static String TAG = "timer";
   private Handler handler;
+  private SparseArray antiIntAutoBoxing;
--- End diff --

antiIntAutoBoxing is enough. 

* JIRA is down, BTW.
* JIRA waring is irrelevant.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex issue #439: * [android] Fixing clearTimeout and clearInterval...

2017-06-12 Thread YorkShen
Github user YorkShen commented on the issue:

https://github.com/apache/incubator-weex/pull/439
  
* JIRA is down, BTW.
* JIRA waring is irrelevant. I'm just fixing bug. NO document is needed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex issue #439: * [android] Fixing clearTimeout and clearInterval...

2017-06-12 Thread YorkShen
Github user YorkShen commented on the issue:

https://github.com/apache/incubator-weex/pull/439
  

https://issues.apache.org/jira/projects/WEEX/issues/WEEX-45?filter=allopenissues


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex pull request #477: + [Android] Add "pseudoRef" and "itemClick...

2017-06-27 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/477

+ [Android] Add "pseudoRef" and "itemClick" in Constants.

No JIRA issue needed.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex 
feature-richtext-itemclick

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/477.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #477


commit 42e92a7ac77240444f6506f86783f0d8c00d612e
Author: YorkShen 
Date:   2017-06-28T03:45:50Z

+ [Android] Add "pseudoRef" and "itemClick" in Constants.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex pull request #477: + [Android] Add "pseudoRef" and "itemClick...

2017-06-27 Thread YorkShen
Github user YorkShen closed the pull request at:

https://github.com/apache/incubator-weex/pull/477


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex pull request #478: + [android] Change the default behavior of...

2017-06-28 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/478

+ [android] Change the default behavior of imageQuality



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex android-imageQuality

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/478.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #478


commit 2c248325d808cf3780c96a2d1dafbe2cd4a86038
Author: YorkShen 
Date:   2017-06-14T09:39:42Z

* [android] Add RAW and None for imageQuality

commit ddc9c3d18dcf4593e8e4eab76084ed9078229c0a
Author: YorkShen 
Date:   2017-06-27T07:57:20Z

- [android] Remove Raw from imageQuality

commit 5b1cf3854b3bc4bea9ec7b4a3beca634073e38df
Author: YorkShen 
Date:   2017-06-28T07:26:48Z

* [android] Change the default value of img quality.

commit df3f903417386cb1ec31ccaa42632e211625db26
Author: YorkShen 
Date:   2017-06-28T07:32:44Z

* [android] Remove raw




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex issue #478: + [android] Change the default behavior of imageQ...

2017-06-28 Thread YorkShen
Github user YorkShen commented on the issue:

https://github.com/apache/incubator-weex/pull/478
  
No JIRA issue needed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex pull request #805: * [Android] Fix that moveElement doesn't w...

2017-10-18 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/805

* [Android] Fix that moveElement doesn't work when parent is not a list

 Fix that moveElement doesn't work when parent is not a list.

I think this bug exists for more than two years.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex 
android-bugfix-moveElement

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/805.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #805


commit e264c25d1a590cb2729d7bfa8396d26a7bb6fdc6
Author: YorkShen 
Date:   2017-10-18T08:13:09Z

* [Android] Fix that moveElement doesn't work when parent is not a list




---


[GitHub] incubator-weex issue #805: * [Android] Fix that moveElement doesn't work whe...

2017-10-18 Thread YorkShen
Github user YorkShen commented on the issue:

https://github.com/apache/incubator-weex/pull/805
  
Ref <https://issues.apache.org/jira/browse/WEEX-87>


---


[GitHub] incubator-weex pull request #892: * [Android] Add NPE protection in Abstract...

2017-11-19 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/892

* [Android] Add NPE protection in AbstractLayoutFinishAction.

Add NPE protection in AbstractLayoutFinishAction in Android

<https://issues.apache.org/jira/browse/WEEX-135>

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex 
android_bugfix_layoutfinish_npe

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/892.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #892


commit 068f5579855e883ea84914e0b339aea21c95c9fd
Author: YorkShen 
Date:   2017-11-20T07:42:22Z

* [Android] Add NPE protection in AbstractLayoutFinishAction.




---


[GitHub] incubator-weex pull request #892: * [Android] Add NPE protection in Abstract...

2017-11-20 Thread YorkShen
Github user YorkShen closed the pull request at:

https://github.com/apache/incubator-weex/pull/892


---


[GitHub] incubator-weex pull request #551: Support perspective for Android

2017-07-27 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/551

Support perspective for Android



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex 
android-feature-perspective

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/551.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #551


commit 9715b8d75e45f89375c27928a49211a1214e3828
Author: YorkShen 
Date:   2017-07-21T08:44:22Z

* [android] Add the ability of changing perspective

commit 924d252c9dc0dc517011983ca07d086f3c5e1bf8
Author: YorkShen 
Date:   2017-07-26T08:51:05Z

* [android] Fix bug of perspective

commit cc49764e6de39774804904f163b5d51fdfc520ef
Author: YorkShen 
Date:   2017-07-27T03:30:26Z

* [android] Move perspective from style to transform

commit b96d92d84bf99a661770897c9b3f4d6d14757750
Author: YorkShen 
Date:   2017-07-28T06:26:09Z

* [android] Use linkedHashMap instead of HashMap




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex issue #551: Support perspective for Android

2017-07-27 Thread YorkShen
Github user YorkShen commented on the issue:

https://github.com/apache/incubator-weex/pull/551
  
Ref <https://issues.apache.org/jira/browse/WEEX-60>


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex issue #552: * [android] Refactor the process of lines style i...

2017-07-27 Thread YorkShen
Github user YorkShen commented on the issue:

https://github.com/apache/incubator-weex/pull/552
  
Ref <https://issues.apache.org/jira/browse/WEEX-63>


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex pull request #552: * [android] Refactor the process of lines ...

2017-07-27 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/552

* [android] Refactor the process of lines style in text.

This is for the purpose of lines in richtext , which inherits text.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex android-feature-lines

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/552.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #552


commit 86c2a7d60e1e506b7c448fb5e83b6ecc00c5b697
Author: YorkShen 
Date:   2017-07-21T06:43:25Z

* [android] Refactor the process of lines style in text.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex pull request #554: * [android] Upgrade to API 25.

2017-07-28 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/554

* [android] Upgrade to API 25.



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex android-feature-api25

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/554.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #554


commit efd535a76fece0780c5331d3b2916a368493d405
Author: YorkShen 
Date:   2017-07-28T08:48:38Z

* [android] Upgrade to API 25.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex issue #628: * [android] Refactor the code of resize attr on i...

2017-08-21 Thread YorkShen
Github user YorkShen commented on the issue:

https://github.com/apache/incubator-weex/pull/628
  
@notdanger


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex issue #628: * [android] Refactor the code of resize attr on i...

2017-08-21 Thread YorkShen
Github user YorkShen commented on the issue:

https://github.com/apache/incubator-weex/pull/628
  
Ref <https://issues.apache.org/jira/browse/WEEX-65>.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex pull request #628: * [android] Refactor the code of resize at...

2017-08-21 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/628

* [android] Refactor the code of resize attr on image.

The "resize" attribute on image doesn't depend on ImageView.setScaleType 
any longer, BitmapShader can do all the work.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex android_feature_resize

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/628.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #628


commit 52b1353d5678bfd1bc05bf69718b8bf2f5dbfb56
Author: YorkShen 
Date:   2017-08-22T03:37:04Z

* [android] Refactor the code of resize attr on image.

The "resize" attribute on image doesn't depend on ImageView.setScaleType 
any longer, BitmapShader can do all the work.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex pull request #640: * [android] Update DrawableLoader

2017-08-23 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/640

* [android] Update DrawableLoader



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex 
android-feature-drawableLoader

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/640.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #640


commit 72cc65f7e7c43c53716c53009f9a96005a10a65c
Author: YorkShen 
Date:   2017-08-23T09:45:41Z

* [android] Update DrawableLoader

(cherry picked from commit 8e0701f)




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex pull request #642: * [android] Fix NPE error message.

2017-08-24 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/642

 * [android] Fix NPE error message.



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex 
android_bugfix_floatnpe

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/642.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #642


commit e4738055185cbb771ebec7406c397a3bd21f55e0
Author: YorkShen 
Date:   2017-08-24T07:09:12Z

 * [android] Fix NPE error message.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex pull request #643: * [Android] Add the ability of flatgui

2017-08-24 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/643

* [Android] Add the ability of flatgui

As it is known to all that the view hierarchy in android should be reduce 
as much as possible. The deeper the view hierarchy is, the worse the android 
app performance . But the front-end engineer is often unaware of the view 
hierarchy in weex until he/she asked android developer for help.

The main problem of deep view hierarchy is that the implementation of view 
is expensive and costs lost of CPU/Memory. The cost of a view is basically 
linear to the length of view hierarchy. It is also unnecessary to create view 
for some components, like  and  as they mostly draw nothing but 
the objects Weex framework provides. There is no reason we waste limited mobile 
resource to create view in such scenario.

Suppose the following component structure is given, the view hierarchy will 
be the same to the component hierarchy, where there is at least 10 views(if 
there is no children in slider and no wrapper view for slider) and the height 
of the tree is 5. 


![viewgui](https://gm1.ggpht.com/Cc3V2APSK7kcyIgTq0QiTfvHg3-RfHPAcQ9JOXbxcdAb2IbaJhKpwXgKV8UPQYGZmITtYENCe4l6UvfwBNobEyujGTcaxdVZTcPmcBF_axvPo6zDGOrFOrhDonKjv_1XKb9_awpZqZSPo16sbE8GMXw8EMbnF68NUyYutTIEOQ0u1QRkLbeJGcFbniE1D7_PWcvk0zlTTdr6uS_wjLu6Oqm0IgofMBHx_AbiPRdSDDIaCQwRy0vhJshscPUZ6vAddDy3fIzhwIaoGeBxDjhOsN5bNYKgP4vdLpQo_q34dzpQlmbAp-Fj-sa2iJo4Xz72VrgNbcGbm6lY7dASXW5k9uGkeUgiunhPgKuQGdXHOhpLo6zx8ISHUh2ZQJziNPm-JoTW4rFOG-qCsCwOAISHa3_TtXptZH9oGh8rshkKdEEbYJEbfhQF3O7jG_0trNY-XerNU6e_SWl0Y_qtiu9Esl8cbVhMHVhF1GOM877_pYID4czYmrSdIHOODg3ebY3KBY5bmWD9Fb3ah4mZMwSSSvpHYHN6W6Ok7y8lG5dajS-LOLYvlgnv6TH1AuOVXmwGDJsrUuSOiUayR1dpPtXm0X3T64tMLoqfgU_H9zL98q681mbsJ2gr7iBtek3zaipoAqIRM_CSw8qYILOu5MRLbV_6zb_kPtnCRv1dKxNrqv9rR3RmdeZgFlTDY_15uzzHYVoNXBbQn64D33utuB10rWJP=w1600-h1000-l75-ft)

With Flatten mechanism enable, the view hierarchy will looks like below 
with 2 views and the height of view tree is 3. Note, only rounded-rect is 
marked as view, oval will be marked as a custom drawCommand. 


![flatgui](https://gm1.ggpht.com/Q8YiQBv15qmFxIJW-Ogl3HEJVR7RYU1k5JPK_5OvKO4p4ubJPl9crFCfB4Na9JzDPU5Q7bXd6u5DgV_MW6_l1EikCyeoFuCBNe0MEZtBNp8qqifVTNFauL6MKsQx6xUpSaNfyGZiXVbfgrZh1qulW2_ZJPf_ZaH1-KyFEyKytl9Ouq9FkTbdgA2m2f7NHOGpE8sFZs0JsTZShXk670IV1wTEyB-sPrwSiqj1VvnpKRI-AZGcz-_UbJ_F6s_LU5NVkehmKyD2b9VyRkRDKvwf2nJ1afSJhg-3RVRojYrVH3A8pK1S055hr4gx9BUp6gqAROVfhS_V61087LBYCGyszdfhHbnnh7thZo26TXFWuK6IiBn7W0bZJxJmCDAGqJZNIYnZz3FxXd6C1go1CQHh78ggneoiPd6gn5qs8Eocak3JYI0FtllryvSycjfODpW1ZrGwZn7dZ1pKOJdOPSeGTqobloNyAKcv3drPmeauCQO3-MAwg-iM_kYbu7V3wy7viL7hjfBMefLL4qXOEwoChBkM3yqwTmsibz34H6pmWeXe-cpKCcJtEZ2kOwGywPGpTw_zM31n2OgslhuSl0AfMMoYWwm8I9m8GRwd2WR8LIgY8WecVBKLfQnqHgzUgKy7nYHTS9p-Dkh9zEuAUi7Nfe5ve0BcVgQeFJ7RC_D1sfutuStG2Vgt97SPzFt9Pz8YBsQAJYXim0utKT3GbgML1SU13Fs=w1600-h1000-l75-ft)

For now, FlatGUI is disabled by default and only support the usage in 
wxcell.

Ref <https://issues.apache.org/jira/browse/WEEX-66>

@nodanger

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex 
android-feature-flatGUI

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/643.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #643


commit 1520660029b47917ee1d86609ced6c8ec4853fc6
Author: YorkShen 
Date:   2017-08-22T03:37:04Z

* [android] Init commit for flatGUI

commit 7663f2b6e4bfc62786408573174548294a27e6ac
Author: YorkShen 
Date:   2017-08-24T03:16:41Z

* [android] Add flag in WXCell to decide whether enable flatGUI.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex pull request #646: * [android] test

2017-08-24 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/646

* [android] test



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex test

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/646.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #646


commit 2da05063076391b86112e73c2def69ca50f2df9a
Author: YorkShen 
Date:   2017-08-24T10:26:06Z

* [android] test




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex pull request #646: * [android] test

2017-08-24 Thread YorkShen
Github user YorkShen closed the pull request at:

https://github.com/apache/incubator-weex/pull/646


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex pull request #643: * [Android] Add the ability of FlatGUI

2017-09-04 Thread YorkShen
Github user YorkShen commented on a diff in the pull request:

https://github.com/apache/incubator-weex/pull/643#discussion_r136905789
  
--- Diff: 
android/sdk/src/test/java/com/taobao/weex/ui/component/WXTextTest.java ---
@@ -27,7 +32,9 @@
 import com.taobao.weex.dom.WXTextDomObject;
 import com.taobao.weex.dom.flex.Spacing;
 import com.taobao.weex.ui.SimpleComponentHolder;
-
+import com.taobao.weex.ui.flat.FlatGUIIContext;
--- End diff --

My mistake, thank you for figuring out.


---


[GitHub] incubator-weex pull request #695: Remove useless method in Android

2017-09-13 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/695

Remove useless method in Android

@nodanger

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex 0.16-dev-remove-method

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/695.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #695


commit 04180c9e8ca01be0c35e3ab50bb3d673e8fc7fd6
Author: YorkShen 
Date:   2017-09-11T03:33:16Z

- [android] Remove useless method.




---


[GitHub] incubator-weex pull request #699: * [android] The timer in Android will supp...

2017-09-14 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/699

* [android] The timer in Android will supports float interval/delay

The timer in Android will supports float interval/delay and transform them 
to int.

As some codes always ignore the docs and pass float value, which is not 
supported, the sdk has no way but to be tolerant with wrong behavior.

Refer <https://issues.apache.org/jira/browse/WEEX-68>

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex android-timer

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/699.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #699


commit c0035091b5a7bc0bfb331a53d5e3daf5d692fa2b
Author: YorkShen 
Date:   2017-09-14T07:24:14Z

* [android]The timer in Android will supports float interval/delay and 
transform them to int.

As some codes always ignore the docs and pass float value, which is not 
supported, the sdk has no way but to be tolerant with wrong behavior.




---


[GitHub] incubator-weex pull request #700: + [android] Add a new log level.

2017-09-14 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/700

+ [android] Add a new log level.



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex android-feature-log

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/700.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #700


commit 71365a24a5eda7bb6ae7ae0d074b3c9acb7b0947
Author: YorkShen 
Date:   2017-09-14T08:58:08Z

+ [android] Add a new log level.




---


[GitHub] incubator-weex pull request #718: * [android] Fix the problem of 'text-overf...

2017-09-20 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/718

* [android] Fix the problem of  'text-overflow:clip' 

* [android] Fix the problem of  'text-overflow:clip'  will delete the 
second last word

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex 
android_bugfix_textoverflow_clip

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/718.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #718


commit 7a1769fca7cb6cb57a7a0c828ebfd9ed94f17876
Author: YorkShen 
Date:   2017-09-20T08:24:18Z

 * [android] Fix the problem of  'text-overflow:clip' will delete the 
second last word.




---


[GitHub] incubator-weex issue #700: + [android] Add a new log level.

2017-09-20 Thread YorkShen
Github user YorkShen commented on the issue:

https://github.com/apache/incubator-weex/pull/700
  
Notify the user "What A Terrible Mistake"


---


[GitHub] incubator-weex pull request #718: * [android] Fix the problem of 'text-overf...

2017-09-20 Thread YorkShen
GitHub user YorkShen reopened a pull request:

https://github.com/apache/incubator-weex/pull/718

* [android] Fix the problem of  'text-overflow:clip' 

* [android] Fix the problem of  'text-overflow:clip'  will delete the 
second last word

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex 
android_bugfix_textoverflow_clip

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/718.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #718


commit 7a1769fca7cb6cb57a7a0c828ebfd9ed94f17876
Author: YorkShen 
Date:   2017-09-20T08:24:18Z

 * [android] Fix the problem of  'text-overflow:clip' will delete the 
second last word.




---


[GitHub] incubator-weex pull request #718: * [android] Fix the problem of 'text-overf...

2017-09-20 Thread YorkShen
Github user YorkShen closed the pull request at:

https://github.com/apache/incubator-weex/pull/718


---


[GitHub] incubator-weex pull request #774: fix scroll to bug and add md5 for template

2017-10-09 Thread YorkShen
Github user YorkShen commented on a diff in the pull request:

https://github.com/apache/incubator-weex/pull/774#discussion_r143443048
  
--- Diff: android/sdk/src/main/java/com/taobao/weex/utils/WXFileUtils.java 
---
@@ -130,4 +134,26 @@ public static boolean saveFile(String path, byte[] 
content, Context context) {
 }
 return false;
   }
+
+  public static String md5(String  template){
+try {
+  if(template == null){
+return  "";
+  }
+  return  md5(template.getBytes("UTF-8"));
+} catch (UnsupportedEncodingException e) {
+  return  "";
+}
+  }
+
+  public static String md5(byte[] bts){
+try {
+  MessageDigest digest = MessageDigest.getInstance("MD5");
+  digest.update(bts);
+  BigInteger bigInt = new BigInteger(1, digest.digest());
--- End diff --

Using new String(byte []) is a better choice.


---


[GitHub] incubator-weex issue #279: + [test] Add maraca test case of timer.

2017-05-02 Thread YorkShen
Github user YorkShen commented on the issue:

https://github.com/apache/incubator-weex/pull/279
  
I will close This PR and submit a new PR to 0.13-dev


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex pull request #279: + [test] Add maraca test case of timer.

2017-05-02 Thread YorkShen
Github user YorkShen closed the pull request at:

https://github.com/apache/incubator-weex/pull/279


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex pull request #304: Test timer

2017-05-02 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/304

Test timer

Add macaca case for timer.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex test-timer

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/304.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #304


commit ad10ff392a07c125869bedf2d91587661725e3eb
Author: YorkShen 
Date:   2017-04-21T08:45:17Z

+ [test] Add maraca test case of timer for android.

This test case will fail as there is a bug in js-framework

commit bc2c5f7003b4638618e6e3e71a94b1fcc4efb3b1
Author: YorkShen 
Date:   2017-04-24T06:36:48Z

+ [test] Add a typical usage of timer in vue.
This test case should fail as there is a bug in js-framework

commit 73d11b78c268c1285c71fa0419018579d4d7756b
Author: YorkShen 
Date:   2017-04-28T02:43:25Z

* [test] update macaca case for timer-module

commit d29717d23c2a1f0f9078e7e89c4fcd7683f772fa
Author: YorkShen 
Date:   2017-04-28T09:23:14Z

* [test] Remove timeModule in maraca case




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex pull request #306: + [test] Add macaca case for a tag

2017-05-02 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/306

+ [test] Add macaca case for a tag



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex test-a

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/306.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #306


commit c3d47650064d952caf21271139f42e4b8276cacf
Author: YorkShen 
Date:   2017-05-02T09:38:11Z

+ [test] Add macaca case for a tag




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex pull request #310: * [android] Update build.gradle

2017-05-03 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/310

* [android] Update build.gradle



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex gradle-update

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/310.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #310


commit a332b2d330358b370fd3666360a8f522de329a35
Author: YorkShen 
Date:   2017-05-03T10:08:46Z

* [android] Update build.gradle




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex pull request #338: * [android] Fix switchDom issue

2017-05-11 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/338

* [android] Fix switchDom issue

See http://dotwe.org/vue/06b1d740fb69d04f9ebe9eaf730974d1

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex 0.13-dev

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/338.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #338


commit 0250e2f2200ec41d87c1614174b39fffcc18f8ef
Author: YorkShen 
Date:   2017-05-11T12:35:18Z

* [android] Fix switchDom issue
http://dotwe.org/vue/06b1d740fb69d04f9ebe9eaf730974d1




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-weex pull request #346: Border test case of macaca

2017-05-15 Thread YorkShen
GitHub user YorkShen opened a pull request:

https://github.com/apache/incubator-weex/pull/346

Border test case of macaca

Add baseline for test case of border in macaca

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/YorkShen/incubator-weex border_test

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-weex/pull/346.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #346


commit b5d428b14859205d47021675439c02ed7216e9c2
Author: YorkShen 
Date:   2017-05-15T07:30:46Z

* [test] Update border case for android.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---