dev@weex.incubator.apache.org

2018-03-21 Thread misakuo
GitHub user misakuo opened a pull request:

https://github.com/apache/incubator-weex-site/pull/117

update doc of input&slider&pickers



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

$ git pull https://github.com/misakuo/incubator-weex-site master

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

https://github.com/apache/incubator-weex-site/pull/117.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 #117


commit bc465a5e8e4159440ffc06006e0ae3b2bb599d59
Author: moxun.ljf 
Date:   2018-03-22T04:02:23Z

update doc of input&slider&pickers




---


[GitHub] incubator-weex-site pull request #115: update doc of textarea

2018-03-21 Thread misakuo
GitHub user misakuo opened a pull request:

https://github.com/apache/incubator-weex-site/pull/115

update doc of textarea



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

$ git pull https://github.com/misakuo/incubator-weex-site master

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

https://github.com/apache/incubator-weex-site/pull/115.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 #115


commit 58feaa316fba9c6ee2169994750fba358278aa2b
Author: moxun.ljf 
Date:   2018-03-21T06:34:28Z

update doc of textarea




---


Re: 【Discussion】 More enhanced about component

2018-02-27 Thread misakuo
It is a great idea to add two-way communication channel to web component, I
can help provide the implementation of the Android platform.
Render the html source is also a useful feature, it makes us easier to
achieve some complex typesetting like rich text.
very good proposal.

2018-02-28 11:37 GMT+08:00 汤威 :

> Hi, I'm Tw93 (侑夕) from Fliggy, I'd like to discuss the enhancements about
> component, let it take over where we can't implement through weex.
>
>
> Target
>
>  is used to display web content that specified by src attribute in
> weex page,We also can use webview module to control WebView behavior such
> as goBack, goForward and reload.
>
> But it's not enough in most businesses,I think a more enhanced web
> component should have the following:
>
>
> Support to send messages from Weex to a html in  component.
>
>
> Support to send messages from a html in  component to Weex.
>
>
> Support to render html source.
>
>
> Previously,  component was an island that only rendered a remote url, but
> enabled it to communicate through the context native to the webView. Then
> I'm going to describe the solution that I came up with.
>
>
> My solution
>
>
> Code
>
> Weex iOS:
>
> https://github.com/tw93/incubator-weex/blob/ios-
> feature-enhanced-web/ios/sdk/WeexSDK/Sources/Component/WXWebComponent.m
>
>
>
> Weex Vue Demo:
>
> http://dotwe.org/vue/f0c7d877fb6b0e9b661aa4f53a652793
>
>
> Demo Bundle JS
>
>
> Web End
>
>
>
>
> Demo && Theory
>
>
>
>
>
>
>
> Details
>
>
> Support to send messages from Weex to a html in  component.
>
> Native:
>
>   - (void)notifyWebview:(NSDictionary *) data   { NSString *json =
> [WXUtility JSONString:data]; NSString *code = [NSString
> stringWithFormat:@"(function(){var evt=null;var data=%@;if(typeof
> CustomEvent==='function'){evt=new CustomEvent('notify',{detail:
> data})}else{evt=document.createEvent('CustomEvent');
> evt.initCustomEvent('notify',true,true,data)}document.dispatchEvent(evt)}())",
> json]; [_jsContext evaluateScript:code];   }
>
> How to use:
>
> // Weex const webview = weex.requireModule('webview');
> webview.notifyWebview(this.$refs.webview, "message"); // Web
> document.addEventListener('notify',function(e){   console.log(e.detail)
> },false)
>
>
> Support to send messages from a html in  component to Weex.
>
>
> Native:
>
> _jsContext[@"postMessage"] = ^(JSValue *data){   [weakSelf 
> fireEvent:@"notify"
> params:[data toDictionary]];   };
>
> How to use:
>
> // Weex  // Web
> window.postMessage(message, targetOrigin, false);
>
>
> Support to render html source.
>
>
> Native:
>
> [_webview loadHTMLString:_source baseURL:nil];
>
> How to use:
>
> 
>
> Welcome to put forward any suggestion about the solution or other
> requirements for the  component.
>
> After that, I'm going to submit a pr.  Thanks!


Re: weex v0.17 bug报告

2018-02-26 Thread misakuo
It is has been fixed in https://github.com/apache/incubator-weex/pull/907
Upgrade weex to 0.18.0 should be able to solve this problem

在 2018年2月27日 上午11:52,韩海波 写道:

> 问题描述:伪类:activie 在版本com.taobao.android:weex_sdk:0.17.0@aar
> 上无效(快速点击可用,正常点击时,无法恢复正常色)
>
>
>
>
> 代码样例:只需变更版本即可复现bug。
>
>
>class="root rootSelected" v-for="num in lists">   class="text">{{num}} 
> const modal = weex.requireModule('modal') const LOADMORE_COUNT = 4 export
> default { data () { return { lists: [1, 2, 3, 4, 5] } }, methods: { fetch
> (event) { modal.toast({ message: 'loadmore', duration: 1 }) setTimeout(()
> => { const length = this.lists.length for (let i = length; i < length +
> LOADMORE_COUNT; ++i) { this.lists.push(i + 1) } }, 800) } } } 
>  .root{ background-color: #FF; height: 300px; }
> .rootSelected:active { background-color: #e2e2e2; } .panel { width: 600px;
> height: 250px; margin-left: 75px; margin-top: 35px; margin-bottom: 35px;
> flex-direction: column; justify-content: center; border-width: 2px;
> border-style: solid; border-color: rgb(162, 217, 192); background-color:
> rgba(162, 217, 192, 0.2); } .text { font-size: 50px; text-align: center;
> color: #41B883; } 


[GitHub] incubator-weex-site pull request #37: *[doc] update doc for input

2018-01-17 Thread misakuo
GitHub user misakuo opened a pull request:

https://github.com/apache/incubator-weex-site/pull/37

*[doc] update doc for input



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

$ git pull https://github.com/misakuo/incubator-weex-site master

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

https://github.com/apache/incubator-weex-site/pull/37.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 #37


commit 19aa2e914e9820ad21df7d81c01a240e590890f7
Author: moxun.ljf 
Date:   2018-01-18T04:26:55Z

update doc for input




---


Re: customize request when download bundle js in weex

2017-11-30 Thread misakuo
We already have the HttpAdapter abstract in native, why is not do customize
in here?
In fact, the request is not always bound to the WXSDKInstance
2017-11-30 19:55 GMT+08:00 杨 劭君 :

> +1, customize request header is useful
>
> 在 2017/11/30 17:19,“Adam Feng” 写入:
>
> +1, adding custom header (such as cookie) to request is useful, it
> should be supported both on iOS and Android.
>
> Thanks.
> Adam Feng
>
> On 30 Nov 2017, 5:16 PM +0800, xing zhang ,
> wrote:
> > Hi all,
> >
> > According to my observation, you can specify a URL or js content to
> > render a page, for URL , then WeexSDK build a request for download
> the
> > resource and pour into the engine to
> >
> > render. But in most case, we need customize a request for
> downloading a
> > resource, and we can setup our request userAgent and headers, our
> server
> > can receive these header to
> >
> > customize response for a request from a device.
> >
> > As for this we can expose a `renderWithRequest` interface for
> > WXSDKInstance, is this way convenient ?
> >
> > comments? please
>
>
>


Re: Community building?

2017-11-24 Thread misakuo
+1, Github issue is very helpful to improve the community activity

2017-11-24 18:16 GMT+08:00 xing zhang :

> +1, It will be much more convenient to communicate among developers.
>
> 2017-11-24 17:58 GMT+08:00 陈泽峰 :
>
> > I think it's good for Weex Community to open github issues.It's a easy
> way
> > for Weex users to discuss features or report a bug.
> >   Only thing I worry about is the language issue.Too many github issues
> > were committed and replied in chinese, and it seems not got controled in
> > the old Weex github project.Will it be a problem that may stop Weex go
> > farther in Apache?
> >
> >
> >   Anyway,I still say yes to github issues.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > -- Original --
> > From:  "Hanks Zhang";
> > Date:  Fri, Nov 24, 2017 04:33 PM
> > To:  "Weex问题列表";
> >
> > Subject:  Re: Community building?
> >
> >
> > Hi Raphael,
> >
> > Sorry for reminding you again. I really want to be informed about the
> > process of opening GitHub issues.
> >
> > Looking forward to further discussion.
> >
> > Best regards, Hanks
> >
> > 2017-11-10 13:06 GMT+08:00 Adam Feng :
> >
> > > +1,  We can give it a try,  for Github issues are easier to manage.
> > >
> > > Thanks.
> > > Adam Feng
> > >
> > > On 24 Oct 2017, 1:29 PM +0800, Raphael Bircher <
> rbircherapa...@gmail.com
> > >,
> > > wrote:
> > > > Hi all
> > > >
> > > > First of all, thanks for the work. We at Apache tend to do not a vote
> > on
> > > > such a Topic. This one is a typical case for lazy consensus.
> > > >
> > > > We let this thread now open and allow a discussion. It gives us the
> > > chance
> > > > to make a good proposal even better. You have not this chance if you
> > > vote,
> > > > you can only say yes or no. That's the reason we normally avoid
> voting
> > > (if
> > > > possible)
> > > >
> > > > Sometimes you have no discussion on a proposal, this means for as:
> "all
> > > > are happy". Often people who are happy with the proposal simply give
> a
> > > +1,
> > > > to show the support.
> > > >
> > > > If a discussion starts, we discuss it out and try to rich consensus
> > > within
> > > > the community. Normally this goes much quicker then anyone expect. If
> > the
> > > > discussion is settle down. the proposal is accepted.
> > > >
> > > > I will answer to the other points in a separate mail
> > > >
> > > > Regards, Raphael
> > > >
> > > > Am .10.2017, 06:39 Uhr, schrieb Hanks Zhang :
> > > >
> > > > > Hi, Raphael
> > > > >
> > > > > As far as I know, our workflow is adjusted, documents are
> reorganized
> > > and
> > > > > assigned to the specific person to rewritten them. We all take part
> > in
> > > > > it.
> > > > > After all the documents are ready we'll deploy the new website to
> the
> > > > > server.
> > > > >
> > > > > 1. The "contribution" related documents [1] are finished and being
> > > > > reviewed.
> > > > > 2. The "" component document is treated as the template,
> > > > > its structure and details are under adjusting.
> > > > > 3. The tutorial document [2] is on the halfway.
> > > > >
> > > > > There is another thing we are discussing: whether to use GitHub to
> > > manage
> > > > > issues.
> > > > >
> > > > > I think is more convenient to use GitHub issue if we have
> permissions
> > > to
> > > > > manage them, such as close, assign, add labels, etc. We can also
> use
> > a
> > > > > bot
> > > > > to close or fast reply issues, in order to keep the quality and
> > remove
> > > > > redundancy.
> > > > >
> > > > > Should we start a vote on this question?
> > > > >
> > > > > [1] https://github.com/apache/incubator-weex-site/pull/2
> > > > > [2]
> > > > > https://github.com/apache/incubator-weex-site/blob/
> > > master/source/guide/index.md
> > > > >
> > > > >
> > > > > 2017-10-24 11:50 GMT+08:00 Raphael Bircher <
> rbircherapa...@gmail.com
> > >:
> > > > >
> > > > > > Hi everybody
> > > > > >
> > > > > > Can someone bring me update about the community building efforts
> at
> > > the
> > > > > > weex project? Thanks a load!
> > > > > >
> > > > > > Regards Raphael
> > > > > >
> > > > > > --
> > > > > > My introduction https://youtu.be/Ln4vly5sxYU
> > > > > >
> > > >
> > > >
> > > > --
> > > > My introduction https://youtu.be/Ln4vly5sxYU
> > >
> >
>


Re: Plugin development

2017-11-06 Thread misakuo
Hi Tiago,

We found the old version of weexpack relied on an incorrect android project
template that missing some necessary files. We just released a new version
of weexpack,  you can upgrade it according to the following steps:

1. run " rm -rf ~/.xtoolkit/node_modules/weexpack "
2. run " weex update weexpack "
3. create a new plugin project using " weex plugin create xxx "

Then you should be able to run playground app inslde the plugin project
correctly. If you have any other questions, just feel free to ask us.

Cheers.
Misakuo


2017-11-05 2:06 GMT+08:00 Tiago Alves :

> Good day!
>
> I am developing a weex plugin. I feel it will be a great oportunity for me
> to help improving the plugin docs.
>
> I remember reading docs about developing a weex plugin (plugin.xml, etc),
> but thats seems to be gone along with the legacy stuff. Is there any docs
> that would help me getting started?
>
> I am using this plugin as reference
> https://github.com/weex-plugins/weex-amap, but this sort of reverse
> engineering gives the constant feeling that I am missing out on something.
>
> Thanks!
> Tiago
>


[GitHub] incubator-weex-site pull request #6: [WEEX-86][doc] Update documents for ind...

2017-10-31 Thread misakuo
GitHub user misakuo opened a pull request:

https://github.com/apache/incubator-weex-site/pull/6

[WEEX-86][doc] Update documents for indicator



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

$ git pull https://github.com/misakuo/incubator-weex-site master

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

https://github.com/apache/incubator-weex-site/pull/6.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 #6


commit e897c5895edb3b0cca62eea82ed83e193c3a9261
Author: moxun.ljf 
Date:   2017-10-31T07:00:58Z

* [doc] update doc for indicator




---


[GitHub] incubator-weex pull request #259: * [android] ignore auto capitals in dialog...

2017-04-12 Thread misakuo
GitHub user misakuo opened a pull request:

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

* [android] ignore auto capitals in dialog button text



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

$ git pull https://github.com/misakuo/incubator-weex 
android-feature-picker-improvement

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

https://github.com/apache/incubator-weex/pull/259.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 #259


commit e0a0c72e8c6b5f8507caf1d3b2102ecddbf66927
Author: moxun.ljf 
Date:   2017-04-12T02:05:24Z

* [android] ignore caps on dialog button




---
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 #239: * [android] add alias for slider component

2017-04-09 Thread misakuo
GitHub user misakuo opened a pull request:

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

* [android] add alias for slider component

add alias `cycleslider` to slider component unified with iOS

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

$ git pull https://github.com/misakuo/incubator-weex 
android-feature-slider-improvement

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

https://github.com/apache/incubator-weex/pull/239.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 #239


commit 20fb5c7d79abf0b15f725f592f53d7cce682c2b4
Author: moxun.ljf 
Date:   2017-04-10T05:25:31Z

* [android] add alias for slider component




---
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 #234: * [android] single picker improvement

2017-04-07 Thread misakuo
GitHub user misakuo opened a pull request:

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

* [android] single picker improvement 

more option for single picker:
- title
- titleColor
- titleBackgroundColor
- confirmTitle
- confirmTitleColor
- cancelTitle
- cancelTitleColor
- textColor
- selectionColor

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

$ git pull https://github.com/misakuo/incubator-weex 
android-feature-picker-improvement

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

https://github.com/apache/incubator-weex/pull/234.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 #234


commit 7f606216b1b6239749c56100d65f1d067ff9e9fd
Author: moxun.ljf 
Date:   2017-03-23T05:45:38Z

* [example] add demo for list & scroller with onScroll event

commit 9076095f84cbc8b886ecba10ec8a74d70ad92d8e
Author: moxun.ljf 
Date:   2017-03-27T02:53:23Z

Merge remote-tracking branch 'upstream/0.12-dev' into 0.12-dev

commit e7656e791af8da09bb39c8f96af4e00daa6ad1d2
Author: moxun.ljf 
Date:   2017-03-27T11:46:10Z

Merge remote-tracking branch 'upstream/0.12-dev' into 0.12-dev

commit 8f62317a2edb67f972f6e7cfb84a1ed9182b4b87
Author: moxun.ljf 
Date:   2017-03-30T08:19:24Z

Merge remote-tracking branch 'upstream/0.12-dev' into 0.12-dev

# Conflicts:
#   examples/component/list/list-basic.we

commit 9fe32be6fefc32de38b3f2aa4ad1a49011886109
Author: moxun.ljf 
Date:   2017-04-05T03:39:06Z

Merge remote-tracking branch 'upstream/0.12-dev' into 0.12-dev

commit c86d15e68a4d9da094b12631bc4ebfad82d1d267
Author: moxun.ljf 
Date:   2017-04-07T02:32:29Z

Merge remote-tracking branch 'upstream/0.12-dev' into 0.12-dev

commit 36628f59effc80990c274a27de4ca99baa5777cd
Author: moxun.ljf 
Date:   2017-04-07T09:30:20Z

* [android] improvement for single picker




---
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 #172: * [android] allow 0 as width or height for view

2017-03-31 Thread misakuo
Github user misakuo commented on the issue:

https://github.com/apache/incubator-weex/pull/172
  
ok, you can close this pr after csslayout updated


---
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 #191: * [android] prevent the NullPointerExcepti...

2017-03-30 Thread misakuo
GitHub user misakuo opened a pull request:

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

* [android] prevent the NullPointerException

prevent the NPE that caused by WXSDKInstance object is null

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

$ git pull https://github.com/misakuo/incubator-weex 
android-bugfix-instance-npe

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

https://github.com/apache/incubator-weex/pull/191.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 #191


commit 7f606216b1b6239749c56100d65f1d067ff9e9fd
Author: moxun.ljf 
Date:   2017-03-23T05:45:38Z

* [example] add demo for list & scroller with onScroll event

commit 9076095f84cbc8b886ecba10ec8a74d70ad92d8e
Author: moxun.ljf 
Date:   2017-03-27T02:53:23Z

Merge remote-tracking branch 'upstream/0.12-dev' into 0.12-dev

commit e7656e791af8da09bb39c8f96af4e00daa6ad1d2
Author: moxun.ljf 
Date:   2017-03-27T11:46:10Z

Merge remote-tracking branch 'upstream/0.12-dev' into 0.12-dev

commit 8f62317a2edb67f972f6e7cfb84a1ed9182b4b87
Author: moxun.ljf 
Date:   2017-03-30T08:19:24Z

Merge remote-tracking branch 'upstream/0.12-dev' into 0.12-dev

# Conflicts:
#   examples/component/list/list-basic.we

commit bfb99d2c30d21429385965fd78d95b3f8b7aae1a
Author: moxun.ljf 
Date:   2017-03-30T08:30:53Z

* [android] prevent NPE that caused by WXSDKInstance is null




---
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 #180: * [doc] update doc about list, scroller an...

2017-03-28 Thread misakuo
GitHub user misakuo opened a pull request:

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

* [doc] update doc about list, scroller and slider



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

$ git pull https://github.com/misakuo/incubator-weex example-feature-scroll

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

https://github.com/apache/incubator-weex/pull/180.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 #180


commit 5c72f20ee85a6eea22d56a4a4fe0dd63c8435f2b
Author: moxun 
Date:   2017-03-29T03:03:58Z

Update list.md

commit f4a57cc5a2efe3c259607d929c546b936c909682
Author: moxun.ljf 
Date:   2017-03-29T03:46:51Z

* [doc] update changes doc since 0.10




---
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 #172: * [android] allow 0 as width or height for...

2017-03-27 Thread misakuo
GitHub user misakuo opened a pull request:

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

* [android] allow 0 as width or height for view

Testcase:
http://dotwe.org/weex/61bdb15864bf581904a280cedcd3681b

iOS & H5 are currently in line with expectations

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

$ git pull https://github.com/misakuo/incubator-weex 
android-bugfix-zero-height

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

https://github.com/apache/incubator-weex/pull/172.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 #172


commit 7f606216b1b6239749c56100d65f1d067ff9e9fd
Author: moxun.ljf 
Date:   2017-03-23T05:45:38Z

* [example] add demo for list & scroller with onScroll event

commit 9076095f84cbc8b886ecba10ec8a74d70ad92d8e
Author: moxun.ljf 
Date:   2017-03-27T02:53:23Z

Merge remote-tracking branch 'upstream/0.12-dev' into 0.12-dev

commit e7656e791af8da09bb39c8f96af4e00daa6ad1d2
Author: moxun.ljf 
Date:   2017-03-27T11:46:10Z

Merge remote-tracking branch 'upstream/0.12-dev' into 0.12-dev

commit 1845031541edf192625474dccc827cb0a4c7b3b4
Author: moxun.ljf 
Date:   2017-03-27T11:57:58Z

* [android] accept 0 value as height or width




---
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 #163: * [example] add demo for list & scroller with onS...

2017-03-26 Thread misakuo
Github user misakuo commented on the issue:

https://github.com/apache/incubator-weex/pull/163
  
@zshshr review pls


---
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 #151: * [example] add demo for list & scroller with onS...

2017-03-26 Thread misakuo
Github user misakuo commented on the issue:

https://github.com/apache/incubator-weex/pull/151
  
link to #163 


---
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 #151: * [example] add demo for list & scroller w...

2017-03-26 Thread misakuo
Github user misakuo closed the pull request at:

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


---
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 #163: * [example] add demo for list & scroller w...

2017-03-26 Thread misakuo
GitHub user misakuo opened a pull request:

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

* [example] add demo for list & scroller with onScroll event

add example for scroll event

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

$ git pull https://github.com/misakuo/incubator-weex example-feature-scroll

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

https://github.com/apache/incubator-weex/pull/163.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 #163


commit bc723eb9012b93b30d82712cdf98c28b09b8342f
Author: moxun.ljf 
Date:   2017-03-23T05:45:38Z

* [example] add demo for list & scroller with onScroll event
(cherry picked from commit 7f60621)




---
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 #155: * [android] input & textarea improvement

2017-03-23 Thread misakuo
GitHub user misakuo opened a pull request:

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

* [android] input & textarea improvement

Changes:
- support `type="number"`
- fire the `keyboardevent` event when the softkeyboard is toggled or hided

Demo:
- http://dotwe.org/vue/df1cc1d6d2920f966c8d222b38dc44aa

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

$ git pull https://github.com/misakuo/incubator-weex 
android-feature-input-improvement-012

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

https://github.com/apache/incubator-weex/pull/155.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 #155


commit 7f606216b1b6239749c56100d65f1d067ff9e9fd
Author: moxun.ljf 
Date:   2017-03-23T05:45:38Z

* [example] add demo for list & scroller with onScroll event

commit 51ea1db598b102863e1c034cacd7c45e0fb4c0db
Author: moxun.ljf 
Date:   2017-03-24T06:11:20Z

* [android] add keyboard event to edittext




---
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 #143: * [android] slider improvement

2017-03-23 Thread misakuo
Github user misakuo commented on the issue:

https://github.com/apache/incubator-weex/pull/143
  
macaca let's go!


---
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 #151: * [example] add demo for list & scroller w...

2017-03-22 Thread misakuo
GitHub user misakuo opened a pull request:

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

* [example] add demo for list & scroller with onScroll event

add example for scroll event

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

$ git pull https://github.com/misakuo/incubator-weex example-scroll-event

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

https://github.com/apache/incubator-weex/pull/151.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 #151


commit 7f606216b1b6239749c56100d65f1d067ff9e9fd
Author: moxun.ljf 
Date:   2017-03-23T05:45:38Z

* [example] add demo for list & scroller with onScroll event




---
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 #143: * [android] slider improvement

2017-03-21 Thread misakuo
GitHub user misakuo opened a pull request:

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

* [android] slider improvement

- allows auto play when the number of items is 2
- allows infinite scroll when the number of items items is 2
- ability to disable infinite scroll

Testcase:
http://dotwe.org/weex/f7e8b0cb0e0a2bfe613011b28d8c0276

Known issue:
- When the number of items is 2,  the loop scroll from item 2 to item 1 
will have no animation effect

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

$ git pull https://github.com/misakuo/incubator-weex 
android-feature-slider-improvement

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

https://github.com/apache/incubator-weex/pull/143.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 #143


commit 01813d84167711ed766043bb06c4e40d072c07e8
Author: moxun.ljf 
Date:   2017-03-21T03:24:49Z

* [android] slider improvement

commit 003e9ae2c330da318090d02b229569ec5518ed51
Author: moxun.ljf 
Date:   2017-03-22T06:13:55Z

* [android] disable auto scroll on not infinite




---
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 #56: * [android] ignore system action on WXThread.secur...

2017-03-07 Thread misakuo
Github user misakuo commented on the issue:

https://github.com/apache/incubator-weex/pull/56
  
@sospartan review please


---
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 #56: * [android] ignore system action on WXThrea...

2017-03-07 Thread misakuo
GitHub user misakuo opened a pull request:

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

* [android] ignore system action on WXThread.secure()

Ignore the Runnable send from system

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

$ git pull https://github.com/misakuo/incubator-weex 
android-bugfix-clickidentify

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

https://github.com/apache/incubator-weex/pull/56.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 #56


commit 8bb79e330760531fdbd4299596416e4999b82908
Author: moxun.ljf 
Date:   2017-03-07T08:28:11Z

* [android] ignore system action on WXThread.secure()




---
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 #23: * [android] fix the ConcurrentModificationExceptio...

2017-03-05 Thread misakuo
Github user misakuo commented on the issue:

https://github.com/apache/incubator-weex/pull/23
  
looks like the inspector's problem, close this pr


---
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 #23: * [android] fix the ConcurrentModificationE...

2017-03-05 Thread misakuo
Github user misakuo closed the pull request at:

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


---
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 #23: * [android] fix the ConcurrentModificationExceptio...

2017-03-03 Thread misakuo
Github user misakuo commented on the issue:

https://github.com/apache/incubator-weex/pull/23
  
@sospartan review please


---
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 #23: * [android] fix the ConcurrentModificationE...

2017-03-02 Thread misakuo
GitHub user misakuo opened a pull request:

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

* [android] fix the ConcurrentModificationException

The exception:
![粘贴图片.png](https://ooo.0o0.ooo/2017/03/03/58b901868d7f7.png)

Is due to one thread to modify the ArrayList while another thread is 
iterating over it, replacing the `ArrayList` with `CopyToWriteArrayList` should 
be able to solve it

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

$ git pull https://github.com/misakuo/incubator-weex 
android-bugfix-concurrentmodifyexception

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

https://github.com/apache/incubator-weex/pull/23.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 #23


commit 2280cef5a34eb505a6d4d911e438f9703b5ed7da
Author: moxun.ljf 
Date:   2017-03-03T05:36:42Z

* [android] fix the ConcurrentModificationException




---
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 #15: * [android] provide image size by imageview...

2017-03-01 Thread misakuo
GitHub user misakuo opened a pull request:

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

* [android] provide image size by imageview self

将获取原图宽高的逻辑抽象出接口,以适应业务方接入å…
¶ä»–ImageView的需求

Testcase:
http://dotwe.org/weex/33a55e02641bc01bbae1243a8e03906a

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

$ git pull https://github.com/misakuo/incubator-weex 
android-feature-getimagesize

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

https://github.com/apache/incubator-weex/pull/15.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 #15


commit 5a285f05dd387ddf434e2f4735f054224132fea0
Author: moxun.ljf 
Date:   2017-03-01T01:54:33Z

* [android] provide image size by imageview self




---
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.
---