[E-devel] Simple question about Evas Map object

2013-08-10 Thread 이준호
Hello Guys,
Here are some questions about Evas Map object.

When I control geometry values of Evas object using Evas Map to show
transition effect,
after transition has been done, If I update any object (such as TEXT or
SWALLOW part)  in same layout tree(?),
that geometry values to be reset.

For example,

There is a group in edj file and that group has 2 part.
One is TEXT part, and another is IMAGE, like below.

|--|
|--|
|  TEXT|   |  TEXT
   |
| (10,20)   |   |
  |
|   || |   |
  |
|   | IMAGE | |   =  | (10,40)
  |
|   || |   |
|| |
|   || |   |   | IMAGE
| |
|  (40,50) ||   |
 | |
| ||
|| |
| ||
   (40,70) |
|--|
|--|

In above case, I move IMAGE part to down of screen using evas map API.
Then, I set new text into TEXT part (using edje_object_part_text_set),
IMAGE object to be reset automatically, like below.

|--|
|--|

|  TEXT|   |  TEXT
   |
| |   | (10,20)
  |
| |   |
|| |
| (10,40)   |  =   |   | IMAGE |
 |
|   || |  ||
 ||
|   | IMAGE | |  |
 |||
|   || |  |
 (40,50)  |
|   || |  |
 |
|  (40,70) |   |
   |
|--|
|--|

Actually, I want to keep geometry of above IMAGE, even if some object in
edje layout has been changed.
Is there any good idea??
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Simple question about Evas Map object

2013-08-10 Thread The Rasterman
On Sat, 10 Aug 2013 16:21:06 +0900 이준호 eso...@gmail.com said:

ummm.. your ascii diagram... doesnt seem to come out well at all. :(

 Hello Guys,
 Here are some questions about Evas Map object.
 
 When I control geometry values of Evas object using Evas Map to show
 transition effect,
 after transition has been done, If I update any object (such as TEXT or
 SWALLOW part)  in same layout tree(?),
 that geometry values to be reset.
 
 For example,
 
 There is a group in edj file and that group has 2 part.
 One is TEXT part, and another is IMAGE, like below.
 
 |--|
 |--|
 |  TEXT|   |  TEXT
|
 | (10,20)   |   |
   |
 |   || |   |
   |
 |   | IMAGE | |   =  | (10,40)
   |
 |   || |   |
 || |
 |   || |   |   | IMAGE
 | |
 |  (40,50) ||   |
  | |
 | ||
 || |
 | ||
(40,70) |
 |--|
 |--|
 
 In above case, I move IMAGE part to down of screen using evas map API.
 Then, I set new text into TEXT part (using edje_object_part_text_set),
 IMAGE object to be reset automatically, like below.
 
 |--|
 |--|
 
 |  TEXT|   |  TEXT
|
 | |   | (10,20)
   |
 | |   |
 || |
 | (10,40)   |  =   |   | IMAGE |
  |
 |   || |  ||
  ||
 |   | IMAGE | |  |
  |||
 |   || |  |
  (40,50)  |
 |   || |  |
  |
 |  (40,70) |   |
|
 |--|
 |--|
 
 Actually, I want to keep geometry of above IMAGE, even if some object in
 edje layout has been changed.
 Is there any good idea??
 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead. 
 Download for free and get started troubleshooting in minutes. 
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
 ___
 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


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Simple question about Evas Map object

2013-08-10 Thread 이준호
Sorry, I attached image file, please refer it.

On Sat, Aug 10, 2013 at 4:29 PM, Carsten Haitzler ras...@rasterman.com wrote:
 On Sat, 10 Aug 2013 16:21:06 +0900 이준호 eso...@gmail.com said:

 ummm.. your ascii diagram... doesnt seem to come out well at all. :(

 Hello Guys,
 Here are some questions about Evas Map object.

 When I control geometry values of Evas object using Evas Map to show
 transition effect,
 after transition has been done, If I update any object (such as TEXT or
 SWALLOW part)  in same layout tree(?),
 that geometry values to be reset.

 For example,

 There is a group in edj file and that group has 2 part.
 One is TEXT part, and another is IMAGE, like below.

 |--|
 |--|
 |  TEXT|   |  TEXT
|
 | (10,20)   |   |
   |
 |   || |   |
   |
 |   | IMAGE | |   =  | (10,40)
   |
 |   || |   |
 || |
 |   || |   |   | IMAGE
 | |
 |  (40,50) ||   |
  | |
 | ||
 || |
 | ||
(40,70) |
 |--|
 |--|

 In above case, I move IMAGE part to down of screen using evas map API.
 Then, I set new text into TEXT part (using edje_object_part_text_set),
 IMAGE object to be reset automatically, like below.

 |--|
 |--|

 |  TEXT|   |  TEXT
|
 | |   | (10,20)
   |
 | |   |
 || |
 | (10,40)   |  =   |   | IMAGE |
  |
 |   || |  ||
  ||
 |   | IMAGE | |  |
  |||
 |   || |  |
  (40,50)  |
 |   || |  |
  |
 |  (40,70) |   |
|
 |--|
 |--|

 Actually, I want to keep geometry of above IMAGE, even if some object in
 edje layout has been changed.
 Is there any good idea??
 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
 ___
 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

attachment: map.png--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Simple question about Evas Map object

2013-08-10 Thread The Rasterman
On Sat, 10 Aug 2013 16:41:35 +0900 이준호 eso...@gmail.com said:

the image object is part of the edje obj? like a part {} ? are you using
evas_map apis to move it? you are GETTING the object handle from edje (via part
name) and then manipulating it via map in your code?

 Sorry, I attached image file, please refer it.
 
 On Sat, Aug 10, 2013 at 4:29 PM, Carsten Haitzler ras...@rasterman.com
 wrote:
  On Sat, 10 Aug 2013 16:21:06 +0900 이준호 eso...@gmail.com said:
 
  ummm.. your ascii diagram... doesnt seem to come out well at all. :(
 
  Hello Guys,
  Here are some questions about Evas Map object.
 
  When I control geometry values of Evas object using Evas Map to show
  transition effect,
  after transition has been done, If I update any object (such as TEXT or
  SWALLOW part)  in same layout tree(?),
  that geometry values to be reset.
 
  For example,
 
  There is a group in edj file and that group has 2 part.
  One is TEXT part, and another is IMAGE, like below.
 
  |--|
  |--|
  |  TEXT|   |  TEXT
 |
  | (10,20)   |   |
|
  |   || |   |
|
  |   | IMAGE | |   =  | (10,40)
|
  |   || |   |
  || |
  |   || |   |   | IMAGE
  | |
  |  (40,50) ||   |
   | |
  | ||
  || |
  | ||
 (40,70) |
  |--|
  |--|
 
  In above case, I move IMAGE part to down of screen using evas map API.
  Then, I set new text into TEXT part (using edje_object_part_text_set),
  IMAGE object to be reset automatically, like below.
 
  |--|
  |--|
 
  |  TEXT|   |  TEXT
 |
  | |   | (10,20)
|
  | |   |
  || |
  | (10,40)   |  =   |   | IMAGE |
   |
  |   || |  ||
   ||
  |   | IMAGE | |  |
   |||
  |   || |  |
   (40,50)  |
  |   || |  |
   |
  |  (40,70) |   |
 |
  |--|
  |--|
 
  Actually, I want to keep geometry of above IMAGE, even if some object in
  edje layout has been changed.
  Is there any good idea??
  --
  Get 100% visibility into Java/.NET code with AppDynamics Lite!
  It's a free troubleshooting tool designed for production.
  Get down to code-level detail for bottlenecks, with 2% overhead.
  Download for free and get started troubleshooting in minutes.
  http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
  ___
  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


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Simple question about Evas Map object

2013-08-10 Thread 이준호
Sorry, not IMAGE, but SWALLOW.
I use SWALLOW part and put Evas object (image widget)

Here are real codes...
I defined a group, like below.

group {
name: group;
...(blah)...
part {
name: hbox;
type: SWALLOW;
mouse_events: 1;
scale: 1;
description {
...(blah)...
}
}

...(blah)...

part {
name: title;
type: TEXTBLOCK;
mouse_events: 0;
scale: 1;
description {
...(blah)...
}
}
...(blah)...
}
}

Then, control it in my .c code.
(current is evas object swallowed with above hbox. I move it to
out of screen for showing transition effect)

...(blah)...
map = evas_map_new(4);
int x,y,w,h;
evas_object_geometry_get(current, x, y, w, h);
evas_map_util_points_populate_from_geometry(map, x, y, w, h, 0);
...(blah)...
evas_map_point_coord_set(map, 0, x, y_values[0], 0);
evas_map_point_coord_set(map, 1, x + w, y_values[1], 0);
evas_map_point_coord_set(map, 2, x + w, y_values[2], 0);
evas_map_point_coord_set(map, 3, y_values[3], 0);

...
evas_object_map_set(current, map);
evas_object_map_enable_set(current, 1);

evas_map_free(map); 
...(blah)...


On Sat, Aug 10, 2013 at 4:46 PM, Carsten Haitzler ras...@rasterman.com wrote:
 On Sat, 10 Aug 2013 16:41:35 +0900 이준호 eso...@gmail.com said:

 the image object is part of the edje obj? like a part {} ? are you using
 evas_map apis to move it? you are GETTING the object handle from edje (via 
 part
 name) and then manipulating it via map in your code?

 Sorry, I attached image file, please refer it.

 On Sat, Aug 10, 2013 at 4:29 PM, Carsten Haitzler ras...@rasterman.com
 wrote:
  On Sat, 10 Aug 2013 16:21:06 +0900 이준호 eso...@gmail.com said:
 
  ummm.. your ascii diagram... doesnt seem to come out well at all. :(
 
  Hello Guys,
  Here are some questions about Evas Map object.
 
  When I control geometry values of Evas object using Evas Map to show
  transition effect,
  after transition has been done, If I update any object (such as TEXT or
  SWALLOW part)  in same layout tree(?),
  that geometry values to be reset.
 
  For example,
 
  There is a group in edj file and that group has 2 part.
  One is TEXT part, and another is IMAGE, like below.
 
  |--|
  |--|
  |  TEXT|   |  TEXT
 |
  | (10,20)   |   |
|
  |   || |   |
|
  |   | IMAGE | |   =  | (10,40)
|
  |   || |   |
  || |
  |   || |   |   | IMAGE
  | |
  |  (40,50) ||   |
   | |
  | ||
  || |
  | ||
 (40,70) |
  |--|
  |--|
 
  In above case, I move IMAGE part to down of screen using evas map API.
  Then, I set new text into TEXT part (using edje_object_part_text_set),
  IMAGE object to be reset automatically, like below.
 
  |--|
  |--|
 
  |  TEXT|   |  TEXT
 |
  | |   | (10,20)
|
  | |   |
  || |
  | (10,40)   |  =   |   | IMAGE |
   |
  |   || |  ||
   ||
  |   | IMAGE | |  |
   |||
  |   || |  |
   (40,50)  |
  |   || |  |
   |
  |  (40,70) |   |
 |
  |--|
  |--|
 
  Actually, I want to keep geometry of above IMAGE, even if some object in
  edje layout has been changed.
  Is 

[E-devel] speed Simple question about Evas Map object Efl× 이준호profiles

2013-08-10 Thread Vasiliy Tolstov
Hello.
Some time after sing e17 on my working notebook i nees simple feature -
All the time i need minimal speed for powersaving, but very rarely i need
to see full screen video and it very slow on minimal speed. I need to
increase speed via speed cpu plugin.
Is that possible to create app like on android - i create profile that
contains brightness, sound, speed , wifi and other stuff stettings. And i
able to chouse needed profile and apply all settings?

I think it very useful.. What dou you think?

P.S. If nobody can write such app, can you provide me links to docs, that i
need to use to write such app?
P.P.S. After creating econnman package for ubuntu and massively using it i
see , that it have many missing features.
What is the future for connman applet for e17/e18?
Some time ago i see that  mailing list have emails about elev8 and simle
conman applet writing in javascript.
If i need fully functional connman applet what is the best method to writ
it - use elev8 or python bindings?

Very big thanks for E.



-- 
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru
jabber: v...@selfip.ru
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] speed Simple question about Evas Map object Efl× 이준호profiles

2013-08-10 Thread P Purkayastha
On 08/10/2013 05:22 PM, Vasiliy Tolstov wrote:
 Hello.
 Some time after sing e17 on my working notebook i nees simple feature -
 All the time i need minimal speed for powersaving, but very rarely i need
 to see full screen video and it very slow on minimal speed. I need to
 increase speed via speed cpu plugin.
 Is that possible to create app like on android - i create profile that
 contains brightness, sound, speed , wifi and other stuff stettings. And i
 able to chouse needed profile and apply all settings?

 I think it very useful.. What dou you think?

 P.S. If nobody can write such app, can you provide me links to docs, that i
 need to use to write such app?
 P.P.S. After creating econnman package for ubuntu and massively using it i
 see , that it have many missing features.
 What is the future for connman applet for e17/e18?
 Some time ago i see that  mailing list have emails about elev8 and simle
 conman applet writing in javascript.
 If i need fully functional connman applet what is the best method to writ
 it - use elev8 or python bindings?

 Very big thanks for E.

E already has support for profiles. Settings - Settings - Profiles. 
You can create a new profile that contains the settings you want. Then 
you can change your profile on the fly either via that Profiles dialog, 
or via command line:

enlightenment_remote -defalut-profile-set profile name

P.S. Try to create your own thread next time :-)



--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] profiles

2013-08-10 Thread Vasiliy Tolstov
суббота, 10 августа 2013 г. пользователь P Purkayastha писал:



 E already has support for profiles. Settings - Settings - Profiles.
 You can create a new profile that contains the settings you want. Then
 you can change your profile on the fly either via that Profiles dialog,
 or via command line:

 enlightenment_remote -defalut-profile-set profile name

 P.S. Try to create your own thread next time :-)


 THanks. Sorry for thread issue , this is bad gmail offline app =).
For profiles - i need to customize all stuff in that profile - settings for
font, theme and other stuff. Is that possible to create profile based on
settings from other profile?


-- 
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru
jabber: v...@selfip.ru
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] profiles

2013-08-10 Thread P Purkayastha
On 08/10/2013 07:52 PM, Vasiliy Tolstov wrote:
 суббота, 10 августа 2013 г. пользователь P Purkayastha писал:



 E already has support for profiles. Settings - Settings - Profiles.
 You can create a new profile that contains the settings you want. Then
 you can change your profile on the fly either via that Profiles dialog,
 or via command line:

 enlightenment_remote -defalut-profile-set profile name

 P.S. Try to create your own thread next time :-)


 THanks. Sorry for thread issue , this is bad gmail offline app =).
 For profiles - i need to customize all stuff in that profile - settings for
 font, theme and other stuff. Is that possible to create profile based on
 settings from other profile?

Yes. By default when you create a profile, it clones the current profile.



--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Simple question about Evas Map object

2013-08-10 Thread Gustavo Sverzut Barbieri
You can't set map in a swallowed object. Edje handles map automatically and 
will reset your values when a recalc is needed (object resized, shown, moved, 
text set...)

It is similar when you set visibility, color or geometry from outside. Edje 
manages that and resets, conflicting with you. 

--Gustavo

Sent from my iPhone

On 10/08/2013, at 04:57, 이준호 eso...@gmail.com wrote:

 Sorry, not IMAGE, but SWALLOW.
 I use SWALLOW part and put Evas object (image widget)
 
 Here are real codes...
 I defined a group, like below.
 
group {
name: group;
 ...(blah)...
part {
name: hbox;
type: SWALLOW;
mouse_events: 1;
scale: 1;
description {
 ...(blah)...
}
}
 
 ...(blah)...
 
part {
name: title;
type: TEXTBLOCK;
mouse_events: 0;
scale: 1;
description {
 ...(blah)...
}
}
 ...(blah)...
}
}
 
 Then, control it in my .c code.
 (current is evas object swallowed with above hbox. I move it to
 out of screen for showing transition effect)
 
 ...(blah)...
map = evas_map_new(4);
int x,y,w,h;
evas_object_geometry_get(current, x, y, w, h);
evas_map_util_points_populate_from_geometry(map, x, y, w, h, 0);
 ...(blah)...
evas_map_point_coord_set(map, 0, x, y_values[0], 0);
evas_map_point_coord_set(map, 1, x + w, y_values[1], 0);
evas_map_point_coord_set(map, 2, x + w, y_values[2], 0);
evas_map_point_coord_set(map, 3, y_values[3], 0);
 
 ...
evas_object_map_set(current, map);
evas_object_map_enable_set(current, 1);
 
evas_map_free(map);
 ...(blah)...
 
 
 On Sat, Aug 10, 2013 at 4:46 PM, Carsten Haitzler ras...@rasterman.com 
 wrote:
 On Sat, 10 Aug 2013 16:41:35 +0900 이준호 eso...@gmail.com said:
 
 the image object is part of the edje obj? like a part {} ? are you using
 evas_map apis to move it? you are GETTING the object handle from edje (via 
 part
 name) and then manipulating it via map in your code?
 
 Sorry, I attached image file, please refer it.
 
 On Sat, Aug 10, 2013 at 4:29 PM, Carsten Haitzler ras...@rasterman.com
 wrote:
 On Sat, 10 Aug 2013 16:21:06 +0900 이준호 eso...@gmail.com said:
 
 ummm.. your ascii diagram... doesnt seem to come out well at all. :(
 
 Hello Guys,
 Here are some questions about Evas Map object.
 
 When I control geometry values of Evas object using Evas Map to show
 transition effect,
 after transition has been done, If I update any object (such as TEXT or
 SWALLOW part)  in same layout tree(?),
 that geometry values to be reset.
 
 For example,
 
 There is a group in edj file and that group has 2 part.
 One is TEXT part, and another is IMAGE, like below.
 
 |--|
 |--|
 |  TEXT|   |  TEXT
   |
 | (10,20)   |   |
  |
 |   || |   |
  |
 |   | IMAGE | |   =  | (10,40)
  |
 |   || |   |
 || |
 |   || |   |   | IMAGE
| |
 |  (40,50) ||   |
 | |
 | ||
 || |
 | ||
   (40,70) |
 |--|
 |--|
 
 In above case, I move IMAGE part to down of screen using evas map API.
 Then, I set new text into TEXT part (using edje_object_part_text_set),
 IMAGE object to be reset automatically, like below.
 
 |--|
 |--|
 
 |  TEXT|   |  TEXT
   |
 | |   | (10,20)
  |
 | |   |
 || |
 | (10,40)   |  =   |   | IMAGE |
 |
 |   || |  ||
 ||
 |   | IMAGE | |  |
 |||
 |   || |  |
 (40,50)  |
 |   || |  |
 |
 |  (40,70) |   |
   |
 |--|
 |--|
 
 Actually, I want to keep geometry of above IMAGE, even if some object in
 edje layout has been changed.
 Is there any good 

Re: [E-devel] RFC: Add some system-wide ecore events and module loading

2013-08-10 Thread Gustavo Sverzut Barbieri

On 10/08/2013, at 02:18, Carsten Haitzler (The Rasterman) 
ras...@rasterman.com wrote:

 On Sat, 10 Aug 2013 01:15:00 -0300 Gustavo Sverzut Barbieri
 barbi...@profusion.mobi said:
 
 
 On 10/08/2013, at 00:54, Carsten Haitzler (The Rasterman)
 ras...@rasterman.com wrote:
 
 On Sat, 10 Aug 2013 00:48:24 -0300 Gustavo Sverzut Barbieri
 barbi...@profusion.mobi said:
 
 Q comments:
 
 The state is low mem/bat, but it means a change happened. You should use
 getter to figure out the on/off. Can change the name, but I'm not too found
 of a multiple level... People barely handle two and I guess more complex
 decisions should be done elsewhere, like the wm changing ionice/nice/oomadj
 more aggressively on various levels.
 
 the wm can't stop the app from polling some url every 5 seconds over an lte
 radio that's sucking juice... :) i don't think people HAVE to handle all
 levels, but if its an enaum they can choose which levels they handle and we
 logcially can only be in one state at a time. also getting a low battery (or
 low mem) event to tell you you are NOT in that state anymore sounds odd...
 so a name change might be best either way P)
 
 Suggestion?
 
 1. change low mem and low battery events to POWER and MEMORY events, make
 returns from these funcs return enums.

You can do it :) otherwise I can try to handle it on Monday. Also check the 
locale one, I've prefixed it with system, see if you like it. 


 do you just want me to do my suggestion in git? you can revert it? or send a
 patch?
 
 
 As for commit, I didn't have my keys, lost my ssd but sent a new key via
 Tasn. All fixed
 
 oooh crap! that sucks. :( hope you're all back to normal. how did you lose
 the ssd?
 
 My 2 months old MacBook Air died, no idea why... Bad luck
 
 major poo. :( my s9 is still humming along 1.5years later or so...  ssd and
 all. :)

My old MacBook also has ssd and running well for 2+ years... And that one did 
daily compile of stuff, this one was basically an user machine with all apps 
in macos, and a vm with arch + e17. So vey bad luck


 
 --Gustavo
 
 Sent from my iPhone
 
 On 10/08/2013, at 00:13, Carsten Haitzler (The Rasterman)
 ras...@rasterman.com wrote:
 
 On Fri, 9 Aug 2013 01:10:09 -0300 Gustavo Sverzut Barbieri
 barbi...@profusion.mobi said:
 
 comments inline...
 
 Hey,
 
 find the patches attached, they implement what I said. Also attached
 is a small test app to print out the values when they change. One can
 change it with:
 
 localectl set-locale LC_MESSAGES=en_US LC_CTYPE=pt_BR
 timedatectl set-timezone America/Sao_Paulo
 sudo date --set=00:00:00
 hostnamectl set-hostname something
 
 all of these should generate the events if you're running with
 systemd. If you're not, then the sudo date should work given that
 you have timerfd.
 
 cool. i was going to mention the date change thing can be done via timerfd
 on linux :)
 
 What do you think? (If you like could you commit, I'm out of commit
 access)
 
 you don't have commit access? eh? of course you do! :) or you mean you
 can't commit right now due to network or whatever issues?
 
 my comment is on low mem/batttery events. as per my other mails. i think
 these are better renamed POWER_STATE and MEMORY_STATE ... along with all
 the getters and setters - make power state an enum and memory state
 too. :) memory state for now can just be NORMAL and LOW for memory  we
 can add more enums/state later if we want. :)
 
 On Thu, Aug 8, 2013 at 3:24 PM, Gustavo Sverzut Barbieri
 barbi...@profusion.mobi wrote:
 On Thu, Aug 8, 2013 at 3:18 PM, Michael Blumenkrantz
 michael.blumenkra...@gmail.com wrote:
 On Thu, 8 Aug 2013 15:13:01 -0300
 Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote:
 
 On Thu, Aug 8, 2013 at 3:01 PM, Michael Blumenkrantz
 michael.blumenkra...@gmail.com wrote:
 On Thu, 8 Aug 2013 14:48:54 -0300
 Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote:
 
 On Thu, Aug 8, 2013 at 2:31 PM, Michael Blumenkrantz
 michael.blumenkra...@gmail.com wrote:
 On Thu, 08 Aug 2013 17:16:40 +0100
 Tom Hacohen tom.haco...@samsung.com wrote:
 
 I like almost all of the suggestions. Apps need the information so
 they can assist the system to behave better.
 
 One thing I don't like is the passing of information through the
 signals. I think we just provide the notification and let the user
 probe for whatever it needs. I don't like creating additional
 structures that we'll have to maintain. Also, if an application
 cares about a certain feature it usually already has code that
 probes for it and acts upon it (when the application runs), having
 another way (the parameters passed here) will lead to code
 duplication. That's the thing I hated the most when working on
 SHR, having signals and getters with different signatures so you
 had to write glue code everywhere.
 
 [..]
 
 
 I have to reluctantly agree with Tom on this. The idea of having
 even more event structs to remember is not something that I would
 enjoy thinking about, let alone using.
 
 

Re: [E-devel] Simple question about Evas Map object

2013-08-10 Thread The Rasterman
On Sat, 10 Aug 2013 16:57:30 +0900 이준호 eso...@gmail.com said:

 Sorry, not IMAGE, but SWALLOW.
 I use SWALLOW part and put Evas object (image widget)
 
 Here are real codes...
 I defined a group, like below.
 
   group {
   name: group;
 ...(blah)...
   part {
   name: hbox;
   type: SWALLOW;
   mouse_events: 1;
   scale: 1;
   description {
 ...(blah)...
   }
   }
 
 ...(blah)...
 
   part {
   name: title;
   type: TEXTBLOCK;
   mouse_events: 0;
   scale: 1;
   description {
 ...(blah)...
   }
   }
 ...(blah)...
   }
   }
 
 Then, control it in my .c code.
 (current is evas object swallowed with above hbox. I move it to
 out of screen for showing transition effect)

there is your problem. once you swallow it.. edje is in charge of stacking,
clipping, and geometry.. that includes maps. so you are going to FIGHT with
edje.

if you want separated control over your ojects, put it inside a smart object of
your own. edje will control the smart object, then based on the smart obj
size/position etc. YOU can control your image obj in code. there are plenty of
examples of this - terminology's media.c for example is such a simple smart
obj. it normally only contains a single image obj in it (or emotion video obj
etc.).

 ...(blah)...
   map = evas_map_new(4);
   int x,y,w,h;
   evas_object_geometry_get(current, x, y, w, h);
   evas_map_util_points_populate_from_geometry(map, x, y, w, h,
 0); ...(blah)...
   evas_map_point_coord_set(map, 0, x, y_values[0], 0);
   evas_map_point_coord_set(map, 1, x + w, y_values[1], 0);
   evas_map_point_coord_set(map, 2, x + w, y_values[2], 0);
   evas_map_point_coord_set(map, 3, y_values[3], 0);
 
 ...
   evas_object_map_set(current, map);
   evas_object_map_enable_set(current, 1);
 
   evas_map_free(map); 
 ...(blah)...
 
 
 On Sat, Aug 10, 2013 at 4:46 PM, Carsten Haitzler ras...@rasterman.com
 wrote:
  On Sat, 10 Aug 2013 16:41:35 +0900 이준호 eso...@gmail.com said:
 
  the image object is part of the edje obj? like a part {} ? are you using
  evas_map apis to move it? you are GETTING the object handle from edje (via
  part name) and then manipulating it via map in your code?
 
  Sorry, I attached image file, please refer it.
 
  On Sat, Aug 10, 2013 at 4:29 PM, Carsten Haitzler ras...@rasterman.com
  wrote:
   On Sat, 10 Aug 2013 16:21:06 +0900 이준호 eso...@gmail.com said:
  
   ummm.. your ascii diagram... doesnt seem to come out well at all. :(
  
   Hello Guys,
   Here are some questions about Evas Map object.
  
   When I control geometry values of Evas object using Evas Map to show
   transition effect,
   after transition has been done, If I update any object (such as TEXT or
   SWALLOW part)  in same layout tree(?),
   that geometry values to be reset.
  
   For example,
  
   There is a group in edj file and that group has 2 part.
   One is TEXT part, and another is IMAGE, like below.
  
   |--|
   |--|
   |  TEXT|   |
   | TEXT
  |
   | (10,20)   |   |
 |
   |   || |   |
 |
   |   | IMAGE | |   =  | (10,40)
 |
   |   || |   |
   || |
   |   || |   |   |
   |   |IMAGE
   | |
   |  (40,50) ||   |
| |
   | ||
   || |
   | ||
  (40,70) |
   |--|
   |--|
  
   In above case, I move IMAGE part to down of screen using evas map API.
   Then, I set new text into TEXT part (using edje_object_part_text_set),
   IMAGE object to be reset automatically, like below.
  
   |--|
   |--|
  
   |  TEXT|   |
   | TEXT
  |
   | |   | (10,20)
 |
   | |   |
   || |
   | (10,40) 

Re: [E-devel] RFC: Add some system-wide ecore events and module loading

2013-08-10 Thread The Rasterman
On Sat, 10 Aug 2013 10:06:35 -0300 Gustavo Sverzut Barbieri
barbi...@gmail.com said:

 
 On 10/08/2013, at 02:18, Carsten Haitzler (The Rasterman)
 ras...@rasterman.com wrote:
 
  On Sat, 10 Aug 2013 01:15:00 -0300 Gustavo Sverzut Barbieri
  barbi...@profusion.mobi said:
  
  
  On 10/08/2013, at 00:54, Carsten Haitzler (The Rasterman)
  ras...@rasterman.com wrote:
  
  On Sat, 10 Aug 2013 00:48:24 -0300 Gustavo Sverzut Barbieri
  barbi...@profusion.mobi said:
  
  Q comments:
  
  The state is low mem/bat, but it means a change happened. You should use
  getter to figure out the on/off. Can change the name, but I'm not too
  found of a multiple level... People barely handle two and I guess more
  complex decisions should be done elsewhere, like the wm changing
  ionice/nice/oomadj more aggressively on various levels.
  
  the wm can't stop the app from polling some url every 5 seconds over an
  lte radio that's sucking juice... :) i don't think people HAVE to handle
  all levels, but if its an enaum they can choose which levels they handle
  and we logcially can only be in one state at a time. also getting a low
  battery (or low mem) event to tell you you are NOT in that state anymore
  sounds odd... so a name change might be best either way P)
  
  Suggestion?
  
  1. change low mem and low battery events to POWER and MEMORY events, make
  returns from these funcs return enums.
 
 You can do it :) otherwise I can try to handle it on Monday. Also check the
 locale one, I've prefixed it with system, see if you like it. 

sure. i'll go do some mods and then you can weigh in with comments if needed.
faster this way. it's a suggestion at this point so really just waiting to see
how people think it feels.

  do you just want me to do my suggestion in git? you can revert it? or send a
  patch?
  
  
  As for commit, I didn't have my keys, lost my ssd but sent a new key via
  Tasn. All fixed
  
  oooh crap! that sucks. :( hope you're all back to normal. how did you lose
  the ssd?
  
  My 2 months old MacBook Air died, no idea why... Bad luck
  
  major poo. :( my s9 is still humming along 1.5years later or so...  ssd and
  all. :)
 
 My old MacBook also has ssd and running well for 2+ years... And that one did
 daily compile of stuff, this one was basically an user machine with all
 apps in macos, and a vm with arch + e17. So vey bad luck

still a shame. i hope you got it replaced/fixed under warranty :)

  --Gustavo
  
  Sent from my iPhone
  
  On 10/08/2013, at 00:13, Carsten Haitzler (The Rasterman)
  ras...@rasterman.com wrote:
  
  On Fri, 9 Aug 2013 01:10:09 -0300 Gustavo Sverzut Barbieri
  barbi...@profusion.mobi said:
  
  comments inline...
  
  Hey,
  
  find the patches attached, they implement what I said. Also attached
  is a small test app to print out the values when they change. One can
  change it with:
  
  localectl set-locale LC_MESSAGES=en_US LC_CTYPE=pt_BR
  timedatectl set-timezone America/Sao_Paulo
  sudo date --set=00:00:00
  hostnamectl set-hostname something
  
  all of these should generate the events if you're running with
  systemd. If you're not, then the sudo date should work given that
  you have timerfd.
  
  cool. i was going to mention the date change thing can be done via
  timerfd on linux :)
  
  What do you think? (If you like could you commit, I'm out of commit
  access)
  
  you don't have commit access? eh? of course you do! :) or you mean you
  can't commit right now due to network or whatever issues?
  
  my comment is on low mem/batttery events. as per my other mails. i think
  these are better renamed POWER_STATE and MEMORY_STATE ... along with all
  the getters and setters - make power state an enum and memory state
  too. :) memory state for now can just be NORMAL and LOW for memory  we
  can add more enums/state later if we want. :)
  
  On Thu, Aug 8, 2013 at 3:24 PM, Gustavo Sverzut Barbieri
  barbi...@profusion.mobi wrote:
  On Thu, Aug 8, 2013 at 3:18 PM, Michael Blumenkrantz
  michael.blumenkra...@gmail.com wrote:
  On Thu, 8 Aug 2013 15:13:01 -0300
  Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote:
  
  On Thu, Aug 8, 2013 at 3:01 PM, Michael Blumenkrantz
  michael.blumenkra...@gmail.com wrote:
  On Thu, 8 Aug 2013 14:48:54 -0300
  Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote:
  
  On Thu, Aug 8, 2013 at 2:31 PM, Michael Blumenkrantz
  michael.blumenkra...@gmail.com wrote:
  On Thu, 08 Aug 2013 17:16:40 +0100
  Tom Hacohen tom.haco...@samsung.com wrote:
  
  I like almost all of the suggestions. Apps need the information
  so they can assist the system to behave better.
  
  One thing I don't like is the passing of information through the
  signals. I think we just provide the notification and let the
  user probe for whatever it needs. I don't like creating
  additional structures that we'll have to maintain. Also, if an
  application cares about a certain feature it usually already
  has code that probes for it and acts upon it (when 

Re: [E-devel] RFC Enlightenment For Mobile

2013-08-10 Thread The Rasterman
On Fri, 9 Aug 2013 19:20:31 -0300 Gustavo Sverzut Barbieri barbi...@gmail.com
said:

i added some comments about more support for things like inhibiting suspend,
requesting a hibernate etc. etc. too.

 Hey guys,
 
 I'm trying to improve enlightenment so it's less patched when used by
 mobile systems. Currently I'm looking into Tizen and they had some
 requirements we couldn't fulfill, then they did some hacks that are
 everything but nice.
 
 I'm still collecting ideas as I look into their code, documenting them at:
 
 https://phab.enlightenment.org/w/enlightenmentformobile/
 
 If you have ideas or comments, please add them to that page. As you
 may have noticed some of the items such as system notifications were
 already added to Ecore, later I plan to do the hooking into
 Elementary. I've asked Discomfitor to do some parts in Enlightenment,
 but he is quite busy these days... so if you want a nice task, please
 jump in to do it :-)
 
 One of the items I'm wondering is this one:
 
 Elementary should have a new policy to help battery and performance it
 could request,delete windows that are hidden after a threshold and
 system is under
 low-memory/battery state. This would complement the existing policy of
 quit application after last window is closed. Applications could reject
 delete request,
 so it is safe. Need a way to reload the resources, for instance if
 window X is
 auto-deleted and application exits, WM should be able to request that
 exact window to be recreated -- could we use name/class, eventually as a call
 to Open(name=X, class=Y) as mentioned above? If so Enlightenment task switcher
 would have to track applications and windows even if they are not running.
 
 Ideas?
 
 Cheers,
 -- 
 Gustavo Sverzut Barbieri
 --
 Mobile: +55 (19) 9225-2202
 Contact: http://www.gustavobarbieri.com.br/contact
 
 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead. 
 Download for free and get started troubleshooting in minutes. 
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
 ___
 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


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Simple question about Evas Map object

2013-08-10 Thread 이준호
Thank you for your advice !!!

On Sat, Aug 10, 2013 at 10:28 PM, Carsten Haitzler ras...@rasterman.com wrote:
 On Sat, 10 Aug 2013 16:57:30 +0900 이준호 eso...@gmail.com said:

 Sorry, not IMAGE, but SWALLOW.
 I use SWALLOW part and put Evas object (image widget)

 Here are real codes...
 I defined a group, like below.

   group {
   name: group;
 ...(blah)...
   part {
   name: hbox;
   type: SWALLOW;
   mouse_events: 1;
   scale: 1;
   description {
 ...(blah)...
   }
   }

 ...(blah)...

   part {
   name: title;
   type: TEXTBLOCK;
   mouse_events: 0;
   scale: 1;
   description {
 ...(blah)...
   }
   }
 ...(blah)...
   }
   }

 Then, control it in my .c code.
 (current is evas object swallowed with above hbox. I move it to
 out of screen for showing transition effect)

 there is your problem. once you swallow it.. edje is in charge of stacking,
 clipping, and geometry.. that includes maps. so you are going to FIGHT with
 edje.

 if you want separated control over your ojects, put it inside a smart object 
 of
 your own. edje will control the smart object, then based on the smart obj
 size/position etc. YOU can control your image obj in code. there are plenty of
 examples of this - terminology's media.c for example is such a simple smart
 obj. it normally only contains a single image obj in it (or emotion video obj
 etc.).

 ...(blah)...
   map = evas_map_new(4);
   int x,y,w,h;
   evas_object_geometry_get(current, x, y, w, h);
   evas_map_util_points_populate_from_geometry(map, x, y, w, h,
 0); ...(blah)...
   evas_map_point_coord_set(map, 0, x, y_values[0], 0);
   evas_map_point_coord_set(map, 1, x + w, y_values[1], 0);
   evas_map_point_coord_set(map, 2, x + w, y_values[2], 0);
   evas_map_point_coord_set(map, 3, y_values[3], 0);

 ...
   evas_object_map_set(current, map);
   evas_object_map_enable_set(current, 1);

   evas_map_free(map);
 ...(blah)...


 On Sat, Aug 10, 2013 at 4:46 PM, Carsten Haitzler ras...@rasterman.com
 wrote:
  On Sat, 10 Aug 2013 16:41:35 +0900 이준호 eso...@gmail.com said:
 
  the image object is part of the edje obj? like a part {} ? are you using
  evas_map apis to move it? you are GETTING the object handle from edje (via
  part name) and then manipulating it via map in your code?
 
  Sorry, I attached image file, please refer it.
 
  On Sat, Aug 10, 2013 at 4:29 PM, Carsten Haitzler ras...@rasterman.com
  wrote:
   On Sat, 10 Aug 2013 16:21:06 +0900 이준호 eso...@gmail.com said:
  
   ummm.. your ascii diagram... doesnt seem to come out well at all. :(
  
   Hello Guys,
   Here are some questions about Evas Map object.
  
   When I control geometry values of Evas object using Evas Map to show
   transition effect,
   after transition has been done, If I update any object (such as TEXT or
   SWALLOW part)  in same layout tree(?),
   that geometry values to be reset.
  
   For example,
  
   There is a group in edj file and that group has 2 part.
   One is TEXT part, and another is IMAGE, like below.
  
   |--|
   |--|
   |  TEXT|   |
   | TEXT
  |
   | (10,20)   |   |
 |
   |   || |   |
 |
   |   | IMAGE | |   =  | (10,40)
 |
   |   || |   |
   || |
   |   || |   |   |
   |   |IMAGE
   | |
   |  (40,50) ||   |
| |
   | ||
   || |
   | ||
  (40,70) |
   |--|
   |--|
  
   In above case, I move IMAGE part to down of screen using evas map API.
   Then, I set new text into TEXT part (using edje_object_part_text_set),
   IMAGE object to be reset automatically, like below.
  
   |--|
   |--|
  
   |  TEXT|   |
   | TEXT
  |
   | |   | (10,20)
 |
   |

Re: [E-devel] Simple question about Evas Map object

2013-08-10 Thread Daniel Juyung Seo
As Gustavo Sverzut Barbieri and Carsten Haitzler(raster) mentioned, you
can't manipulate edje part(including swallowed object) manually.
Like raster suggested, you can create your own smart object for this usage.
But if you just want to change the swallowed object's geometry, I hope you
could try out with more ways.

1. edje evas map
2. unswallow and move
3. use edc transition with state change

I hope any of these would help you.
Thanks.

Daniel Juyung Seo (SeoZ)



On Sat, Aug 10, 2013 at 4:57 PM, 이준호 eso...@gmail.com wrote:

 Sorry, not IMAGE, but SWALLOW.
 I use SWALLOW part and put Evas object (image widget)

 Here are real codes...
 I defined a group, like below.

 group {
 name: group;
 ...(blah)...
 part {
 name: hbox;
 type: SWALLOW;
 mouse_events: 1;
 scale: 1;
 description {
 ...(blah)...
 }
 }

 ...(blah)...

 part {
 name: title;
 type: TEXTBLOCK;
 mouse_events: 0;
 scale: 1;
 description {
 ...(blah)...
 }
 }
 ...(blah)...
 }
 }

 Then, control it in my .c code.
 (current is evas object swallowed with above hbox. I move it to
 out of screen for showing transition effect)

 ...(blah)...
 map = evas_map_new(4);
 int x,y,w,h;
 evas_object_geometry_get(current, x, y, w, h);
 evas_map_util_points_populate_from_geometry(map, x, y, w,
 h, 0);
 ...(blah)...
 evas_map_point_coord_set(map, 0, x, y_values[0], 0);
 evas_map_point_coord_set(map, 1, x + w, y_values[1], 0);
 evas_map_point_coord_set(map, 2, x + w, y_values[2], 0);
 evas_map_point_coord_set(map, 3, y_values[3], 0);

 ...
 evas_object_map_set(current, map);
 evas_object_map_enable_set(current, 1);

 evas_map_free(map);
 ...(blah)...


 On Sat, Aug 10, 2013 at 4:46 PM, Carsten Haitzler ras...@rasterman.com
 wrote:
  On Sat, 10 Aug 2013 16:41:35 +0900 이준호 eso...@gmail.com said:
 
  the image object is part of the edje obj? like a part {} ? are you using
  evas_map apis to move it? you are GETTING the object handle from edje
 (via part
  name) and then manipulating it via map in your code?
 
  Sorry, I attached image file, please refer it.
 
  On Sat, Aug 10, 2013 at 4:29 PM, Carsten Haitzler ras...@rasterman.com
 
  wrote:
   On Sat, 10 Aug 2013 16:21:06 +0900 이준호 eso...@gmail.com said:
  
   ummm.. your ascii diagram... doesnt seem to come out well at all. :(
  
   Hello Guys,
   Here are some questions about Evas Map object.
  
   When I control geometry values of Evas object using Evas Map to show
   transition effect,
   after transition has been done, If I update any object (such as TEXT
 or
   SWALLOW part)  in same layout tree(?),
   that geometry values to be reset.
  
   For example,
  
   There is a group in edj file and that group has 2 part.
   One is TEXT part, and another is IMAGE, like below.
  
   |--|
   |--|
   |  TEXT|   |
  TEXT
  |
   | (10,20)   |   |
 |
   |   || |   |
 |
   |   | IMAGE | |   =  | (10,40)
 |
   |   || |   |
   || |
   |   || |   |   |
 IMAGE
   | |
   |  (40,50) ||   |
| |
   | ||
   || |
   | ||
  (40,70) |
   |--|
   |--|
  
   In above case, I move IMAGE part to down of screen using evas map
 API.
   Then, I set new text into TEXT part (using
 edje_object_part_text_set),
   IMAGE object to be reset automatically, like below.
  
   |--|
   |--|
  
   |  TEXT|   |
  TEXT
  |
   | |   |
 (10,20)
 |
   | |   |
   || |
   | (10,40)   |  =   |   | IMAGE
   

Re: [E-devel] speed Simple question about Evas Map object Efl× 이준호profiles

2013-08-10 Thread thomasg
On Sat, Aug 10, 2013 at 1:01 PM, P Purkayastha ppu...@gmail.com wrote:
 On 08/10/2013 05:22 PM, Vasiliy Tolstov wrote:
 Hello.
 Some time after sing e17 on my working notebook i nees simple feature -
 All the time i need minimal speed for powersaving, but very rarely i need
 to see full screen video and it very slow on minimal speed. I need to
 increase speed via speed cpu plugin.
 Is that possible to create app like on android - i create profile that
 contains brightness, sound, speed , wifi and other stuff stettings. And i
 able to chouse needed profile and apply all settings?

 I think it very useful.. What dou you think?

 P.S. If nobody can write such app, can you provide me links to docs, that i
 need to use to write such app?
 P.P.S. After creating econnman package for ubuntu and massively using it i
 see , that it have many missing features.
 What is the future for connman applet for e17/e18?
 Some time ago i see that  mailing list have emails about elev8 and simle
 conman applet writing in javascript.
 If i need fully functional connman applet what is the best method to writ
 it - use elev8 or python bindings?

 Very big thanks for E.

 E already has support for profiles. Settings - Settings - Profiles.
 You can create a new profile that contains the settings you want. Then
 you can change your profile on the fly either via that Profiles dialog,
 or via command line:

 enlightenment_remote -defalut-profile-set profile name

 P.S. Try to create your own thread next time :-)


Actually, profiles are not designed for this and shouldn't be used in
this case, nobody should have to maintain an extra full profile just
for some settings.

E however has proper infrastructure for this, it just isn't really
used and very unpolished: Modes.
This is currently a part of the Conf module and can be accessd via
Menu - Settings - Modes. Right now it has Offline and Presentation
presets which are hardcoded in the module.
I don't think anyone has worked on it in a while and I'm pretty sure
this feature should be added as a separate module, because sooner or
later Conf is going to be replaced by Conf2 which does not support
this.

But I agree with the OP, this feature is useful and should get some love :)

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [EGIT] [themes/dark] master 01/01: progress done - rotate the text as a solution for vert progress status

2013-08-10 Thread Daniel Juyung Seo
Hehe good idea.
It looks good :)

Daniel Juyung Seo (SeoZ)


On Sun, Aug 11, 2013 at 1:22 AM, Carsten Haitzler - Enlightenment Git 
no-re...@enlightenment.org wrote:

 raster pushed a commit to branch master.

 commit 5bba801af516fd80e25c779d5191a1f01a83936a
 Author: Carsten Haitzler (Rasterman) ras...@rasterman.com
 Date:   Sun Aug 11 01:21:57 2013 +0900

 progress done - rotate the text as a solution for vert progress status
 ---
  edje/edc/elm/progress.edc | 21 +
  1 file changed, 17 insertions(+), 4 deletions(-)

 diff --git a/edje/edc/elm/progress.edc b/edje/edc/elm/progress.edc
 index cfbcfed..596d348 100644
 --- a/edje/edc/elm/progress.edc
 +++ b/edje/edc/elm/progress.edc
 @@ -884,24 +884,37 @@ group { name: elm/progressbar/vertical/default;
  align: 0.5 1.0;
   }
}
 -  part { name: elm.text.status; type: TEXT; mouse_events: 0;
 +  part { name: statbox; type: SPACER;
   scale: 1;
 - effect: GLOW;
   description { state: default 0.0;
  fixed: 1 1;
  rel1.to: inside;
  rel2.to: inside;
 +aspect: 1.0 1.0; aspect_preference: NONE;
 + }
 +  }
 +  part { name: elm.text.status; type: TEXT; mouse_events: 0;
 + scale: 1;
 + effect: GLOW;
 + description { state: default 0.0;
 +fixed: 1 1;
 +rel1.to: statbox;
 +rel2.to: statbox;
  color_class: progress_status;
 -align: 0.5 1.0;
 +align: 1.0 0.5;
  text { font: FN; size: 10;
 min: 0 1;
 text_class: progress_status;
 -   align: 0.5 1.0;
 +   align: 1.0 0.5;
  }
  color: 255 255 255 255;
  color2: 51 153 255 64;
  color3: 51 153 255 32;
  visible: 1;
 +map.on: 1;
 +map.smooth: 0;
 +map.rotation.center: statbox;
 +map.rotation.z: 90;
   }
   description { state: hidden 0.0;
  inherit: default 0.0;

 --


 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel