Re: [E-devel] Bug edje map

2013-02-23 Thread ChunEon Park
map nightmare returns.
 

-Regards, Hermet- 

-Original Message-
From: Carsten Haitzlerras...@rasterman.com 
To: Enlightenment developer listenlightenment-devel@lists.sourceforge.net; 
Cc: 
Sent: 2013-02-23 (토) 12:23:49
Subject: Re: [E-devel] Bug edje map

On Fri, 22 Feb 2013 17:30:08 -0300 Ederson Souza ederson@profusion.mobi said:

oh map. oh so much fun. :)

 Hi,
 
 I'd like to inform about a bug I've found in Edje. If one tries to change
 the text of a TEXT part using a rotation transition, the text will only be
 changed if new text size is different from previous one. If not, it will
 show the animation, but the text won't change.
 I've realised that if the map is not enabled, changing the text works, but
 without the animation.
 I've attached an example, that can be tested with edje_player. If you send:
 
 message 1 INT 1
 message 1 INT 2
 message 1 INT 20
 message 1 INT 30
 message 1 INT 5
 
 You will see the animation all times, but just when the text size changes,
 the text will be changed (it will show 1, 1, 20, 20, 5 instead of 1, 2, 20,
 30, 5).
 Any clues?
 
 Thank you,
 
 -- 
 Ederson de Souza
 ProFUSION Embedded Systems


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

 
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [elementary]map: Fix 1byte invalid read

2013-02-23 Thread Bluezery
2013/2/23 Carsten Haitzler ras...@rasterman.com:
 On Thu, 21 Feb 2013 18:48:42 +0900 Bluezery ohpo...@gmail.com said:

 Hello,

 This patch fix 1byte invalid read error for char * string.
 Readed bytes needs one more bytes for NULL terminated char.

 could you try our new phab tool for submitting patches? see my comments here:

 https://phab.enlightenment.org/D2

 i want to try nut out phab with respect to review and actual patches (and
 generating of them).


I made it! arc is a good tool :)  I think this can be better than gerrit.
https://phab.enlightenment.org/D3

PS. It's better to add the .arcconfig file  to .gitignore


 --
 - Codito, ergo sum - I code, therefore I am --
 The Rasterman (Carsten Haitzler)ras...@rasterman.com




-- 
BRs,
Kim.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [EGIT] [core/efl] master 02/02: Merge branch 'master' of ssh://git.enlightenment.org/core/efl

2013-02-23 Thread Daniel Juyung Seo
Hello, this must be the first merge branch commit.
So what's our policy? merge or rebase?
I think we didn't clear this up.

Daniel Juyung Seo (SeoZ)

On Sat, Feb 23, 2013 at 7:52 PM, ChunEon Park - Enlightenment Git
no-re...@enlightenment.org wrote:
 hermet pushed a commit to branch master.

 commit 029d539a85306019608e27a611ace500b313dd71
 Merge: 9c950e4 161a784
 Author: ChunEon Park chuneon.p...@samsung.com
 Date:   Sat Feb 23 19:52:57 2013 +0900

 Merge branch 'master' of ssh://git.enlightenment.org/core/efl

  src/examples/ecore/ecore_imf_example.c | 44 
 +++---
  1 file changed, 36 insertions(+), 8 deletions(-)

 --

 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_feb

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [elementary]map: Fix 1byte invalid read

2013-02-23 Thread The Rasterman
On Sat, 23 Feb 2013 21:03:02 +0900 Bluezery ohpo...@gmail.com said:

 2013/2/23 Carsten Haitzler ras...@rasterman.com:
  On Thu, 21 Feb 2013 18:48:42 +0900 Bluezery ohpo...@gmail.com said:
 
  Hello,
 
  This patch fix 1byte invalid read error for char * string.
  Readed bytes needs one more bytes for NULL terminated char.
 
  could you try our new phab tool for submitting patches? see my comments
  here:
 
  https://phab.enlightenment.org/D2
 
  i want to try nut out phab with respect to review and actual patches (and
  generating of them).
 
 
 I made it! arc is a good tool :)  I think this can be better than gerrit.
 https://phab.enlightenment.org/D3
 
 PS. It's better to add the .arcconfig file  to .gitignore

hmm it seems without a .arcconfig things are all bad. if i add one i cant make
things work as master has it but somenow patch branch doesnt as it is based on
an olkder rev. if i add one it conflicts etc.

can u re-submit the same patch again please? really testing and trying to make
phab work for us... sorry about the pain... its initial. once i know how this
works it should be smoother and i'll document it.

 
  --
  - Codito, ergo sum - I code, therefore I am --
  The Rasterman (Carsten Haitzler)ras...@rasterman.com
 
 
 
 
 -- 
 BRs,
 Kim.
 
 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_feb
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [EGIT] [core/efl] master 02/02: Merge branch 'master' of ssh://git.enlightenment.org/core/efl

2013-02-23 Thread Bluezery
Before make commit, git pull should be done to prevent this useless commit.
If conflict occurred, git stash  git pull  git stash pop is good solution.
Otherwise, solve the conflict manually to make commit on top of the
origin/master's HEAD.

2013/2/23 Daniel Juyung Seo seojuyu...@gmail.com:
 Hello, this must be the first merge branch commit.
 So what's our policy? merge or rebase?
 I think we didn't clear this up.

 Daniel Juyung Seo (SeoZ)

 On Sat, Feb 23, 2013 at 7:52 PM, ChunEon Park - Enlightenment Git
 no-re...@enlightenment.org wrote:
 hermet pushed a commit to branch master.

 commit 029d539a85306019608e27a611ace500b313dd71
 Merge: 9c950e4 161a784
 Author: ChunEon Park chuneon.p...@samsung.com
 Date:   Sat Feb 23 19:52:57 2013 +0900

 Merge branch 'master' of ssh://git.enlightenment.org/core/efl

  src/examples/ecore/ecore_imf_example.c | 44 
 +++---
  1 file changed, 36 insertions(+), 8 deletions(-)

 --

 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_feb

 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_feb
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



-- 
BRs,
Kim.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [EGIT] [core/efl] master 02/02: Merge branch 'master' of ssh://git.enlightenment.org/core/efl

2013-02-23 Thread Daniel Juyung Seo
Yes 'git pull --rebase' also helps but we should decide the policy first.
There was a discussion about this but as far as I know we didn't make
a conclusion that can be announced.

Daniel Juyung Seo (SeoZ)

On Sat, Feb 23, 2013 at 11:46 PM, Bluezery ohpo...@gmail.com wrote:
 Before make commit, git pull should be done to prevent this useless commit.
 If conflict occurred, git stash  git pull  git stash pop is good solution.
 Otherwise, solve the conflict manually to make commit on top of the
 origin/master's HEAD.

 2013/2/23 Daniel Juyung Seo seojuyu...@gmail.com:
 Hello, this must be the first merge branch commit.
 So what's our policy? merge or rebase?
 I think we didn't clear this up.

 Daniel Juyung Seo (SeoZ)

 On Sat, Feb 23, 2013 at 7:52 PM, ChunEon Park - Enlightenment Git
 no-re...@enlightenment.org wrote:
 hermet pushed a commit to branch master.

 commit 029d539a85306019608e27a611ace500b313dd71
 Merge: 9c950e4 161a784
 Author: ChunEon Park chuneon.p...@samsung.com
 Date:   Sat Feb 23 19:52:57 2013 +0900

 Merge branch 'master' of ssh://git.enlightenment.org/core/efl

  src/examples/ecore/ecore_imf_example.c | 44 
 +++---
  1 file changed, 36 insertions(+), 8 deletions(-)

 --

 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_feb

 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_feb
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



 --
 BRs,
 Kim.

 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_feb
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [EGIT] [core/efl] master 02/02: Merge branch 'master' of ssh://git.enlightenment.org/core/efl

2013-02-23 Thread Tom Hacohen
We said rebase for the time being, to work more like SVN, if we'd like to
change that at some point in the future, we will.


On Sat, Feb 23, 2013 at 2:52 PM, Daniel Juyung Seo seojuyu...@gmail.comwrote:

 Yes 'git pull --rebase' also helps but we should decide the policy first.
 There was a discussion about this but as far as I know we didn't make
 a conclusion that can be announced.

 Daniel Juyung Seo (SeoZ)

 On Sat, Feb 23, 2013 at 11:46 PM, Bluezery ohpo...@gmail.com wrote:
  Before make commit, git pull should be done to prevent this useless
 commit.
  If conflict occurred, git stash  git pull  git stash pop is good
 solution.
  Otherwise, solve the conflict manually to make commit on top of the
  origin/master's HEAD.
 
  2013/2/23 Daniel Juyung Seo seojuyu...@gmail.com:
  Hello, this must be the first merge branch commit.
  So what's our policy? merge or rebase?
  I think we didn't clear this up.
 
  Daniel Juyung Seo (SeoZ)
 
  On Sat, Feb 23, 2013 at 7:52 PM, ChunEon Park - Enlightenment Git
  no-re...@enlightenment.org wrote:
  hermet pushed a commit to branch master.
 
  commit 029d539a85306019608e27a611ace500b313dd71
  Merge: 9c950e4 161a784
  Author: ChunEon Park chuneon.p...@samsung.com
  Date:   Sat Feb 23 19:52:57 2013 +0900
 
  Merge branch 'master' of ssh://git.enlightenment.org/core/efl
 
   src/examples/ecore/ecore_imf_example.c | 44
 +++---
   1 file changed, 36 insertions(+), 8 deletions(-)
 
  --
 
 
 --
  Everyone hates slow websites. So do we.
  Make your web apps faster with AppDynamics
  Download AppDynamics Lite for free today:
  http://p.sf.net/sfu/appdyn_d2d_feb
 
 
 --
  Everyone hates slow websites. So do we.
  Make your web apps faster with AppDynamics
  Download AppDynamics Lite for free today:
  http://p.sf.net/sfu/appdyn_d2d_feb
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 
 
  --
  BRs,
  Kim.
 
 
 --
  Everyone hates slow websites. So do we.
  Make your web apps faster with AppDynamics
  Download AppDynamics Lite for free today:
  http://p.sf.net/sfu/appdyn_d2d_feb
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_feb
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel




-- 
Tom.
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Patch review/submission

2013-02-23 Thread The Rasterman
I've written up a nice wiki page on this after some experimentation:

https://phab.enlightenment.org/w/arcanist/

Please use arc(anist) to submit patches, or we get no context. right now I KNOW
if you have commit access you can submit a patch and commit it. You can even
push it before approval, but arc complains. I currently don't know what to do
about patches submitted if you do not have commit access. I don't know if arc
land will work or not - but I suspect it won't. The problem is, if a reviewer
tries to land a patch from someone else themselves, then arc seems to be most
unhappy complaining about revisions.

We need to work out the kinks in this process, But I think this can/will
streamline patch submission and review a lot for us. The phab web ui is not bad
at all for review. it's pretty much what gerrit is, just a bit prettier.

So sorry to the first few people being guinea pigs, but once this settles,
things will be better. :) I've at least documented what I know so far as above.

-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [EGIT] [core/efl] master 02/02: Merge branch 'master' of ssh://git.enlightenment.org/core/efl

2013-02-23 Thread Daniel Juyung Seo
Ok so, I consider we use rebase not merge.
Thanks.

Daniel Juyung Seo (SeoZ)

On Sun, Feb 24, 2013 at 12:15 AM, Tom Hacohen t...@stosb.com wrote:
 We said rebase for the time being, to work more like SVN, if we'd like to
 change that at some point in the future, we will.


 On Sat, Feb 23, 2013 at 2:52 PM, Daniel Juyung Seo 
 seojuyu...@gmail.comwrote:

 Yes 'git pull --rebase' also helps but we should decide the policy first.
 There was a discussion about this but as far as I know we didn't make
 a conclusion that can be announced.

 Daniel Juyung Seo (SeoZ)

 On Sat, Feb 23, 2013 at 11:46 PM, Bluezery ohpo...@gmail.com wrote:
  Before make commit, git pull should be done to prevent this useless
 commit.
  If conflict occurred, git stash  git pull  git stash pop is good
 solution.
  Otherwise, solve the conflict manually to make commit on top of the
  origin/master's HEAD.
 
  2013/2/23 Daniel Juyung Seo seojuyu...@gmail.com:
  Hello, this must be the first merge branch commit.
  So what's our policy? merge or rebase?
  I think we didn't clear this up.
 
  Daniel Juyung Seo (SeoZ)
 
  On Sat, Feb 23, 2013 at 7:52 PM, ChunEon Park - Enlightenment Git
  no-re...@enlightenment.org wrote:
  hermet pushed a commit to branch master.
 
  commit 029d539a85306019608e27a611ace500b313dd71
  Merge: 9c950e4 161a784
  Author: ChunEon Park chuneon.p...@samsung.com
  Date:   Sat Feb 23 19:52:57 2013 +0900
 
  Merge branch 'master' of ssh://git.enlightenment.org/core/efl
 
   src/examples/ecore/ecore_imf_example.c | 44
 +++---
   1 file changed, 36 insertions(+), 8 deletions(-)
 
  --
 
 
 --
  Everyone hates slow websites. So do we.
  Make your web apps faster with AppDynamics
  Download AppDynamics Lite for free today:
  http://p.sf.net/sfu/appdyn_d2d_feb
 
 
 --
  Everyone hates slow websites. So do we.
  Make your web apps faster with AppDynamics
  Download AppDynamics Lite for free today:
  http://p.sf.net/sfu/appdyn_d2d_feb
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 
 
  --
  BRs,
  Kim.
 
 
 --
  Everyone hates slow websites. So do we.
  Make your web apps faster with AppDynamics
  Download AppDynamics Lite for free today:
  http://p.sf.net/sfu/appdyn_d2d_feb
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_feb
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel




 --
 Tom.
 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_feb
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Patch review/submission

2013-02-23 Thread Daniel Juyung Seo
Good job! Nice summary of arcanist.

1. But is there any way to do(submit, review, commit) from the phab
web interface?
2. So basically all of us including committers should use phab to
commit something?
3. Anybody who has an access can add me as a reviewer automatically
for elementary patch?

Thanks.

Daniel Juyung Seo (SeoZ)

On Sun, Feb 24, 2013 at 12:48 AM, Carsten Haitzler ras...@rasterman.com wrote:
 I've written up a nice wiki page on this after some experimentation:

 https://phab.enlightenment.org/w/arcanist/

 Please use arc(anist) to submit patches, or we get no context. right now I 
 KNOW
 if you have commit access you can submit a patch and commit it. You can even
 push it before approval, but arc complains. I currently don't know what to do
 about patches submitted if you do not have commit access. I don't know if arc
 land will work or not - but I suspect it won't. The problem is, if a reviewer
 tries to land a patch from someone else themselves, then arc seems to be most
 unhappy complaining about revisions.

 We need to work out the kinks in this process, But I think this can/will
 streamline patch submission and review a lot for us. The phab web ui is not 
 bad
 at all for review. it's pretty much what gerrit is, just a bit prettier.

 So sorry to the first few people being guinea pigs, but once this settles,
 things will be better. :) I've at least documented what I know so far as 
 above.

 --
 - Codito, ergo sum - I code, therefore I am --
 The Rasterman (Carsten Haitzler)ras...@rasterman.com


 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_feb
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Patch review/submission

2013-02-23 Thread The Rasterman
On Sun, 24 Feb 2013 01:06:41 +0900 Daniel Juyung Seo seojuyu...@gmail.com
said:

 Good job! Nice summary of arcanist.
 
 1. But is there any way to do(submit, review, commit) from the phab
 web interface?

no. well ok u can copy  paste a diff (create diff) but then there is no
context no src tree its relative to) so its just a dumb review the diff thing.

 2. So basically all of us including committers should use phab to
 commit something?

no - this is for REVIEW. if you want others to review BEFORE you commit/push -
then see that doc. we can always review after the commit if we want with
audit... but chances are we'll rarely do that.

 3. Anybody who has an access can add me as a reviewer automatically
 for elementary patch?

if you have an account with phab, it seems anyone can add you as a reviewer -
yes. :)

 Thanks.
 
 Daniel Juyung Seo (SeoZ)
 
 On Sun, Feb 24, 2013 at 12:48 AM, Carsten Haitzler ras...@rasterman.com
 wrote:
  I've written up a nice wiki page on this after some experimentation:
 
  https://phab.enlightenment.org/w/arcanist/
 
  Please use arc(anist) to submit patches, or we get no context. right now I
  KNOW if you have commit access you can submit a patch and commit it. You
  can even push it before approval, but arc complains. I currently don't know
  what to do about patches submitted if you do not have commit access. I
  don't know if arc land will work or not - but I suspect it won't. The
  problem is, if a reviewer tries to land a patch from someone else
  themselves, then arc seems to be most unhappy complaining about revisions.
 
  We need to work out the kinks in this process, But I think this can/will
  streamline patch submission and review a lot for us. The phab web ui is not
  bad at all for review. it's pretty much what gerrit is, just a bit prettier.
 
  So sorry to the first few people being guinea pigs, but once this settles,
  things will be better. :) I've at least documented what I know so far as
  above.
 
  --
  - Codito, ergo sum - I code, therefore I am --
  The Rasterman (Carsten Haitzler)ras...@rasterman.com
 
 
  --
  Everyone hates slow websites. So do we.
  Make your web apps faster with AppDynamics
  Download AppDynamics Lite for free today:
  http://p.sf.net/sfu/appdyn_d2d_feb
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_feb
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] How can I reset a table's content without blank

2013-02-23 Thread 哆啦比猫
In fact, the image data is generated on the fly(I'm writing an procedural image 
generator). Internally, they are stored as SIMD floating point vectors, with 4 
elements, rgbx, where x is an undefined value and each ranged from 0 to 1.
I chose PPM because the file format is SIMPLE.


Can I disable async preload of elm_image? Must I touch the lower level thing?


Anyway, I'll learn more about the low-level stuff. The lack of documents really 
sucks.
BTW, here is what I'm writing: http://cjprods.org/ipu/ , licensed under The MIT 
License.


On Fri, 22 Feb 2013 16:03:57 +0800 (CST) 哆啦比猫 cj...@126.com said:


 What I want to do is:
 
 
 // show result in Image Stack (a table, in fact)
 elm_table_clear(stack, true);
 for (int i=ipu_stack_length()-1; i=0; i--) {
 image = elm_image_add(win);
 elm_image_resizable_set(image, 0, 0);
 evas_object_size_hint_min_set(image, 256, 256); // all the images are 256x256
 evas_object_size_hint_padding_set(image, 10, 10, 10, 0);

dont set min size (and padding may or may not be used/honored by widgets. they
all pretty much only honor min/max size. anything else is optional). if you
want direct control like this - drop down a layer to evas image objects. don't
use elm image objects. elm objects set min/max size hints for you and will just
fight with you on the sizing.

 ppm = ipu_ppm_get(ppm_size); // get the image from top of ipu's stack, in
 PPM format elm_image_memfile_set(image, ppm, ppm_size, ppm, NULL);
 ipu_ppm_free(ppm);

just so you know... loading images from memory is less efficient than from
files on disk. ALSO be aware since you are using a ppm... its in memory
UNCOMPRESSED as RGB data... that's about as inefficient as u'd get... you are
BETTER off having it as a jpeg maybe or a png even... in memory - and even
better off having it separate on disk. if you must have the data compiled into
your executable... convert to ARGB premultiplied format (32bits - 1 int per
pixel) and then just have into on width, height and alpha mask and then set the
argb pointer directly on the image... to do that you will have to drop down to
evas image objects. like this:

int mydata[] = {
   0x, 0x, 
   0x, 0x
};
int mywidth = 2;
int myheight = 2;
Eina_Bool myalpha = EINA_TRUE;

Evas_Object *img;

img = evas_object_image_filled_add(evas_object_evas_get(win));
evas_object_image_size_set(img, mywidth, myheight);
evas_object_image_alpha_set(img myalpha);
evas_object_image_data_set(img, mydata);

... convert your image into some c data array declaration as above. this will
save memory (the data will be used directly from your executable and not
duplicated if possible). it just isnt compressed, so disk-space will be ugly if
these images get big and plentiful in your code. in the end as i said - i
advise putting them into actual data files. there are ways to pack them all
into a single resource file (eet for example - this is actually what edje files
are).

 elm_table_pack(stack, image, 0, i, 1, 1);
 evas_object_show(image);
 
 ipu_ignore(); // pop the top of ipu's stack
 }
 
 But the table flashes, then show the images. I don't want the flash when
 reset the content of the table. I've tried elm_win_norender_push() and
 elm_win_norender_pop(), but seems not working as expected. I've also tried
 creating a new table, then set it to the content of it's container, not work
 neither.

it flashes because elm_image automatically enables the async preload feature of
evas - it means evas only synchronously checks the image header and doesn't
decode the data immediately. it decodes it in a background thread and THEN when
its decoded, elm_image will show the image. until then its hiddden. this avoids
blocking and waiting, but means that you get this behaviour. higher level
widgets do this - they layer on top extra behaviour. it is often handy/useful,
but in your case probably isn't what you want, so drop down to a more manual
layer if that's what you want.

n.b. you can create your own composite objects via smart objects. this lets you
create intelligent objects with exactly the kind of behaviour you desire.
terminology does this with media objects. it uses this to do smart stuff like
turn smooth scaling and and off while the object keeps resizing (to make zoom
animations smoother), and then when it stops for a little while it turns smooth
scaling on again. the same trick is used to deal with vector data files
(ps/pdf/svg) by re-loading the image when resizing stops but telling it to
render at the current pixel size and thus have perfect correct scaled data,
but having fast bitmap stretching in between.

 --
 Where there is a hacker, there is art.
 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_feb
 ___
 enlightenment-devel mailing list
 

Re: [E-devel] How can I reset a table's content without blank

2013-02-23 Thread The Rasterman
On Sun, 24 Feb 2013 11:49:35 +0800 (CST) 哆啦比猫 cj...@126.com said:

 In fact, the image data is generated on the fly(I'm writing an procedural
 image generator). Internally, they are stored as SIMD floating point vectors,
 with 4 elements, rgbx, where x is an undefined value and each ranged from 0
 to 1. I chose PPM because the file format is SIMPLE.

if ua re already generating the data in code.. just then provide ARGB data
direct as i gave an example. it's massively more efficient.

 Can I disable async preload of elm_image? Must I touch the lower level thing?

no you can't disable it. :)

 Anyway, I'll learn more about the low-level stuff. The lack of documents
 really sucks. BTW, here is what I'm writing: http://cjprods.org/ipu/ ,
 licensed under The MIT License.

the lover level is almost as easy. tyhats the thing about efl... it has so many
layers, you'll get lost. the evas image object layer is not that low level
it's not immediate mode rendering (like cairo, canvas2d in html ot webgl, or
opengl). it's still high level compared to what most peolpe thnik of as low
level.  scaling and blending is all handled for you as is stacking and redraw.
you just provide width, height, alpha flag and argb pixel values. :) (note its
premultiplied alpha argb).

thats rather neat (the app you're making) :)

also.. if u stuff the argb pixel data into an evas image object.. evas can save
the image for u in whatever format u like (png, jpg, tiff, eet supported).

 On Fri, 22 Feb 2013 16:03:57 +0800 (CST) 哆啦比猫 cj...@126.com said:
 
 
  What I want to do is:
  
  
  // show result in Image Stack (a table, in fact)
  elm_table_clear(stack, true);
  for (int i=ipu_stack_length()-1; i=0; i--) {
  image = elm_image_add(win);
  elm_image_resizable_set(image, 0, 0);
  evas_object_size_hint_min_set(image, 256, 256); // all the images are
  256x256 evas_object_size_hint_padding_set(image, 10, 10, 10, 0);
 
 dont set min size (and padding may or may not be used/honored by widgets.
 they all pretty much only honor min/max size. anything else is optional). if
 you want direct control like this - drop down a layer to evas image objects.
 don't use elm image objects. elm objects set min/max size hints for you and
 will just fight with you on the sizing.
 
  ppm = ipu_ppm_get(ppm_size); // get the image from top of ipu's stack, in
  PPM format elm_image_memfile_set(image, ppm, ppm_size, ppm, NULL);
  ipu_ppm_free(ppm);
 
 just so you know... loading images from memory is less efficient than from
 files on disk. ALSO be aware since you are using a ppm... its in memory
 UNCOMPRESSED as RGB data... that's about as inefficient as u'd get... you are
 BETTER off having it as a jpeg maybe or a png even... in memory - and even
 better off having it separate on disk. if you must have the data compiled
 into your executable... convert to ARGB premultiplied format (32bits - 1 int
 per pixel) and then just have into on width, height and alpha mask and then
 set the argb pointer directly on the image... to do that you will have to
 drop down to evas image objects. like this:
 
 int mydata[] = {
0x, 0x, 
0x, 0x
 };
 int mywidth = 2;
 int myheight = 2;
 Eina_Bool myalpha = EINA_TRUE;
 
 Evas_Object *img;
 
 img = evas_object_image_filled_add(evas_object_evas_get(win));
 evas_object_image_size_set(img, mywidth, myheight);
 evas_object_image_alpha_set(img myalpha);
 evas_object_image_data_set(img, mydata);
 
 ... convert your image into some c data array declaration as above. this will
 save memory (the data will be used directly from your executable and not
 duplicated if possible). it just isnt compressed, so disk-space will be ugly
 if these images get big and plentiful in your code. in the end as i said - i
 advise putting them into actual data files. there are ways to pack them all
 into a single resource file (eet for example - this is actually what edje
 files are).
 
  elm_table_pack(stack, image, 0, i, 1, 1);
  evas_object_show(image);
  
  ipu_ignore(); // pop the top of ipu's stack
  }
  
  But the table flashes, then show the images. I don't want the flash
  when reset the content of the table. I've tried elm_win_norender_push() and
  elm_win_norender_pop(), but seems not working as expected. I've also tried
  creating a new table, then set it to the content of it's container, not
  work neither.
 
 it flashes because elm_image automatically enables the async preload feature
 of evas - it means evas only synchronously checks the image header and
 doesn't decode the data immediately. it decodes it in a background thread
 and THEN when its decoded, elm_image will show the image. until then its
 hiddden. this avoids blocking and waiting, but means that you get this
 behaviour. higher level widgets do this - they layer on top extra behaviour.
 it is often handy/useful, but in your case probably isn't what you want, so
 drop down to a more manual layer if that's what you want.
 
 n.b. you can create your 

Re: [E-devel] Patch review/submission

2013-02-23 Thread Daniel Juyung Seo
On Sun, Feb 24, 2013 at 1:30 AM, Carsten Haitzler ras...@rasterman.com wrote:
 On Sun, 24 Feb 2013 01:06:41 +0900 Daniel Juyung Seo seojuyu...@gmail.com
 said:

 Good job! Nice summary of arcanist.

 1. But is there any way to do(submit, review, commit) from the phab
 web interface?

 no. well ok u can copy  paste a diff (create diff) but then there is no
 context no src tree its relative to) so its just a dumb review the diff 
 thing.

Ok. I expected something like that when we use arc diff because
gerrit supports web interface for review and commit(submit).
That's good to have but ok without it.


 2. So basically all of us including committers should use phab to
 commit something?

 no - this is for REVIEW. if you want others to review BEFORE you commit/push -
 then see that doc. we can always review after the commit if we want with
 audit... but chances are we'll rarely do that.


Ok I misunderstood the doc. So basically we can just push.

 3. Anybody who has an access can add me as a reviewer automatically
 for elementary patch?

 if you have an account with phab, it seems anyone can add you as a reviewer -
 yes. :)


I mean *automatically* add me as a reviewer for elementary patches.
I guess there must be a configuration for each arcanist project.

Daniel Juyung Seo (SeoZ)

 Thanks.

 Daniel Juyung Seo (SeoZ)

 On Sun, Feb 24, 2013 at 12:48 AM, Carsten Haitzler ras...@rasterman.com
 wrote:
  I've written up a nice wiki page on this after some experimentation:
 
  https://phab.enlightenment.org/w/arcanist/
 
  Please use arc(anist) to submit patches, or we get no context. right now I
  KNOW if you have commit access you can submit a patch and commit it. You
  can even push it before approval, but arc complains. I currently don't know
  what to do about patches submitted if you do not have commit access. I
  don't know if arc land will work or not - but I suspect it won't. The
  problem is, if a reviewer tries to land a patch from someone else
  themselves, then arc seems to be most unhappy complaining about revisions.
 
  We need to work out the kinks in this process, But I think this can/will
  streamline patch submission and review a lot for us. The phab web ui is not
  bad at all for review. it's pretty much what gerrit is, just a bit 
  prettier.
 
  So sorry to the first few people being guinea pigs, but once this settles,
  things will be better. :) I've at least documented what I know so far as
  above.
 
  --
  - Codito, ergo sum - I code, therefore I am --
  The Rasterman (Carsten Haitzler)ras...@rasterman.com
 
 
  --
  Everyone hates slow websites. So do we.
  Make your web apps faster with AppDynamics
  Download AppDynamics Lite for free today:
  http://p.sf.net/sfu/appdyn_d2d_feb
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_feb
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



 --
 - Codito, ergo sum - I code, therefore I am --
 The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Patch review/submission

2013-02-23 Thread The Rasterman
On Sun, 24 Feb 2013 14:48:51 +0900 Daniel Juyung Seo seojuyu...@gmail.com
said:

 On Sun, Feb 24, 2013 at 1:30 AM, Carsten Haitzler ras...@rasterman.com
 wrote:
  On Sun, 24 Feb 2013 01:06:41 +0900 Daniel Juyung Seo seojuyu...@gmail.com
  said:
 
  Good job! Nice summary of arcanist.
 
  1. But is there any way to do(submit, review, commit) from the phab
  web interface?
 
  no. well ok u can copy  paste a diff (create diff) but then there is no
  context no src tree its relative to) so its just a dumb review the diff
  thing.
 
 Ok. I expected something like that when we use arc diff because
 gerrit supports web interface for review and commit(submit).
 That's good to have but ok without it.

i guess its a limitation of phabricator at the moment. when you paste a patch
in too you'd want to be able to select a source repository, base directory etc.
too so it can be more easily reviewed WITH content, but you can't. :( yes - a
nice please commit it with author information intact thanks would be perfect
to have in the ui. :)

 
  2. So basically all of us including committers should use phab to
  commit something?
 
  no - this is for REVIEW. if you want others to review BEFORE you
  commit/push - then see that doc. we can always review after the commit if
  we want with audit... but chances are we'll rarely do that.
 
 
 Ok I misunderstood the doc. So basically we can just push.

correct. nothing stops u from pushing as normal. this review thing is just for:

1. people who can't push, so only way to get code in is via review.
2. people who can push, but would prefer some review first.

  3. Anybody who has an access can add me as a reviewer automatically
  for elementary patch?
 
  if you have an account with phab, it seems anyone can add you as a reviewer
  - yes. :)
 
 
 I mean *automatically* add me as a reviewer for elementary patches.
 I guess there must be a configuration for each arcanist project.

not that i saw. reviewers have to be manually specified when submitting the
patch via arc.

 Daniel Juyung Seo (SeoZ)
 
  Thanks.
 
  Daniel Juyung Seo (SeoZ)
 
  On Sun, Feb 24, 2013 at 12:48 AM, Carsten Haitzler ras...@rasterman.com
  wrote:
   I've written up a nice wiki page on this after some experimentation:
  
   https://phab.enlightenment.org/w/arcanist/
  
   Please use arc(anist) to submit patches, or we get no context. right now
   I KNOW if you have commit access you can submit a patch and commit it.
   You can even push it before approval, but arc complains. I currently
   don't know what to do about patches submitted if you do not have commit
   access. I don't know if arc land will work or not - but I suspect it
   won't. The problem is, if a reviewer tries to land a patch from someone
   else themselves, then arc seems to be most unhappy complaining about
   revisions.
  
   We need to work out the kinks in this process, But I think this can/will
   streamline patch submission and review a lot for us. The phab web ui is
   not bad at all for review. it's pretty much what gerrit is, just a bit
   prettier.
  
   So sorry to the first few people being guinea pigs, but once this
   settles, things will be better. :) I've at least documented what I know
   so far as above.
  
   --
   - Codito, ergo sum - I code, therefore I am --
   The Rasterman (Carsten Haitzler)ras...@rasterman.com
  
  
   --
   Everyone hates slow websites. So do we.
   Make your web apps faster with AppDynamics
   Download AppDynamics Lite for free today:
   http://p.sf.net/sfu/appdyn_d2d_feb
   ___
   enlightenment-devel mailing list
   enlightenment-devel@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
  --
  Everyone hates slow websites. So do we.
  Make your web apps faster with AppDynamics
  Download AppDynamics Lite for free today:
  http://p.sf.net/sfu/appdyn_d2d_feb
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 
 
  --
  - Codito, ergo sum - I code, therefore I am --
  The Rasterman (Carsten Haitzler)ras...@rasterman.com
 
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net