Re: [E-devel] [PROPOSAL] [Evas] Optimizing smooth scaling of Evas in software backend

2014-12-16 Thread Rajeev Ranjan
Hi,
 On 16/12/14 19:13, Tom Hacohen wrote:
> On 16/12/14 13:26, Cedric BAIL wrote:
> > Hello,
>>
>> On Tue, Dec 16, 2014 at 1:56 PM, Rajeev Ranjan wrote:
>>> There is an open source library called libyuv (Reference: 
>>> http://code.google.com/p/libyuv/ as part of chromium project released under 
>>> BSD license) which provides scaling among other operations like color 
>>> conversion and rotation
>>>   for buffers in ARGB and various yuv formats.
>>> It has been optimized for SSE2/SSSE3/AVX2 on x86/x64 and Neon on Arm.
>>> Current acceleration for Smooth scaling in software backend is using Neon 
>>> for Arm and using mmx on x86.
>>> After doing a little bit of experimentation, we found that the smooth 
>>> scaling using libyuv is a bit faster on ARM as well as X86 
>>> platforms(checked with EFL 1.7) when compared with current implementation.
>>> Result of Below mentioned Expedite test cases with xlib engine were found 
>>> to be better on ARM and Even MMX on X86 platforms.
>>>Image Blend Smooth Scaled, Image Blend Smooth Solid Scaled, Image 
>>> Blend Border, Image Blend Solid Middle Border, Image Blend Solid Border, 
>>> Image Blend Border Recolor, Image Quality Scale
>>>
>>> I would like to contribute this optimization for EFL latest release. Please 
>>> share your comments.
>>
>> So basically their is room to improve our assembly code for various
>> target. How do you plan to proceed ? Add a dependency or move the
>> useful code inside of Evas ? Also did you do any comparison on why our
>> assembly and their assembly have different profile. I am wondering if
>> we need to use all of libyuv code or if only a part of it is
>> interesting to us by complementing our current assemblty code.
I was referring to make libyuv as optional build time dependency. So far no 
analysis has been done to figure out as why profiling data with libyuv is 
better compare to current neon code.
The output of smooth scaling seems to be similar though when dumped in raw 
format.
The relevant code in libyuv for which we found performance improvement is 
related to smooth scaling. In case of nearest, it does not give any noticeable 
performance benefit.
>>
> 
> Also, what about a comparison with latest EFL and not just 1.7?
Will share the comparison data after making relevant changes in latest evas 
smooth scaling integration, expecting this to be on the similar line.
> 
> Anyhow, the major problem is that: "pacman -Ss libyuv" returns nothing. 
> That is, it's not even packaged by arch... If anything, we should make 
> it an internal dependency, and not an external one. Dependency hell is 
> an important factor too.
The current version of libyuv is not having packaging based on pkg-config. For 
testing purpose, we had created pc files locally so that pkg-config can work.
We can think of setting environment variables like LIBYUV_LIBS, LIBYUV_CFLAGS 
etc if user wants to enable libyuv dependency in evas build time.
> 
> --
> Tom.
Regards,
Rajeev
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PROPOSAL] [Evas] Optimizing smooth scaling of Evas in software backend

2014-12-16 Thread Rajeev Ranjan
Hi,
  This is a proposal related to optimizing the smooth scaling of Evas with 
software backend.   

There is an open source library called libyuv (Reference: 
http://code.google.com/p/libyuv/ as part of chromium project released under BSD 
license) which provides scaling among other operations like color conversion 
and rotation
 for buffers in ARGB and various yuv formats.
It has been optimized for SSE2/SSSE3/AVX2 on x86/x64 and Neon on Arm.
Current acceleration for Smooth scaling in software backend is using Neon for 
Arm and using mmx on x86.
After doing a little bit of experimentation, we found that the smooth scaling 
using libyuv is a bit faster on ARM as well as X86 platforms(checked with EFL 
1.7) when compared with current implementation.
Result of Below mentioned Expedite test cases with xlib engine were found to be 
better on ARM and Even MMX on X86 platforms.
  Image Blend Smooth Scaled, Image Blend Smooth Solid Scaled, Image Blend 
Border, Image Blend Solid Middle Border, Image Blend Solid Border, Image Blend 
Border Recolor, Image Quality Scale

I would like to contribute this optimization for EFL latest release. Please 
share your comments.
Thank you
Regards,
Rajeev
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[EGIT] [core/efl] master 01/01: evas: fix invalid read reported in eina_rectangle_pool_free by valgrind.

2014-06-20 Thread Rajeev Ranjan
cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=7a35f5ffdb5ffaca0f372c3a2193578af5d7e1ba

commit 7a35f5ffdb5ffaca0f372c3a2193578af5d7e1ba
Author: Rajeev Ranjan 
Date:   Fri Jun 20 10:12:03 2014 +0200

evas: fix invalid read reported in eina_rectangle_pool_free by valgrind.

Summary:
This fixes an invalid read reported by valgrind in eina_rectangle_pool_free
Reference: T1360

Signed-off-by: Sanjay Nirankari 
Signed-off-by: Rajeev Ranjan 

Reviewers: cedric, raster

Reviewed By: cedric

CC: sreedeep.m, sanjay, cedric

Differential Revision: https://phab.enlightenment.org/D1069

Signed-off-by: Cedric BAIL 
---
 src/lib/eina/eina_rectangle.c | 8 ++--
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/lib/eina/eina_rectangle.c b/src/lib/eina/eina_rectangle.c
index 972755f..1386092 100644
--- a/src/lib/eina/eina_rectangle.c
+++ b/src/lib/eina/eina_rectangle.c
@@ -658,17 +658,13 @@ EAPI void
 eina_rectangle_pool_free(Eina_Rectangle_Pool *pool)
 {
Eina_Rectangle_Alloc *del;
-   Eina_List *l;
Eina_Rectangle *r;
 
EINA_SAFETY_ON_NULL_RETURN(pool);
DBG("pool=%p, size=(%d, %d), references=%u",
pool, pool->w, pool->h, pool->references);
-   EINA_LIST_FOREACH(pool->empty, l, r)
-   {
-  eina_rectangle_free(r);
-  pool->empty = eina_list_remove_list(pool->empty, l);
-   }
+   EINA_LIST_FREE(pool->empty, r)
+ eina_rectangle_free(r);
while (pool->head)
  {
 del = (Eina_Rectangle_Alloc *)pool->head;

-- 




[EGIT] [core/efl] master 01/01: evas: improvement of Eina Rectangle Pool and integration with Evas GL backend.

2014-06-19 Thread Rajeev Ranjan
cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=bd65b5db5ddcada0255c5ccbaaa1280279ea5679

commit bd65b5db5ddcada0255c5ccbaaa1280279ea5679
Author: Rajeev Ranjan 
Date:   Thu Jun 19 14:35:37 2014 +0200

evas: improvement of Eina Rectangle Pool and integration with Evas GL 
backend.

Summary:
This patch introduce various new logic for packing/unpacking of Eina 
Rectangle in a pool.
It is then used by Evas GL backend texture allocation to improve how 
efficiently we pack
image in texture atlas. This lead to improved memory usage and reduced 
power consumption
with usually a more stable higher FPS (as it use less texture to do the 
same task, their
is less texture switch, so saving memory and speed at the same time).

This patch was developped on Cedric's suggestions to optimize the packing 
logic using Skyline
algorithm. This patch is based on master and is a new submission for 
earlier phab link
https://phab.enlightenment.org/D774.

Signed-off-by: Sanjay Nirankari 
Signed-off-by: Rajeev Ranjan 
Signed-off-by: Sreedeep Moulik 

Reviewers: cedric, raster

CC: wonsik, jpeg, sreedeep.m, sanjay, govi

Differential Revision: https://phab.enlightenment.org/D1063

Signed-off-by: Cedric BAIL 
---
 AUTHORS|   1 +
 src/lib/eina/eina_rectangle.c  | 342 -
 src/lib/eina/eina_rectangle.h  |  24 ++
 .../evas/engines/gl_common/evas_gl_common.h|  14 +-
 .../evas/engines/gl_common/evas_gl_context.c   |  17 +-
 .../evas/engines/gl_common/evas_gl_texture.c   | 154 +-
 6 files changed, 441 insertions(+), 111 deletions(-)

diff --git a/AUTHORS b/AUTHORS
index d40a8fd..000723e 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -130,6 +130,7 @@ Paulo Cavalcanti 
 Jean-Philippe Andre 
 Yury Usischev 
 Youngbok Shin 
+Rajeev Ranjan (Rajeev)  
 
 Ecore
 -
diff --git a/src/lib/eina/eina_rectangle.c b/src/lib/eina/eina_rectangle.c
index 5ae680b..972755f 100644
--- a/src/lib/eina/eina_rectangle.c
+++ b/src/lib/eina/eina_rectangle.c
@@ -61,9 +61,13 @@ struct _Eina_Rectangle_Pool
Eina_List *empty;
void *data;
 
+   Eina_Compare_Cb eina_rectangle_compare_func;
+
Eina_Trash *bucket;
unsigned int bucket_count;
 
+   Eina_Rectangle_Packing type;
+
unsigned int references;
int w;
int h;
@@ -109,18 +113,40 @@ static int _eina_rectangle_log_dom = -1;
 #define DBG(...) EINA_LOG_DOM_DBG(_eina_rectangle_log_dom, __VA_ARGS__)
 
 static int
-_eina_rectangle_cmp(const Eina_Rectangle *r1, const Eina_Rectangle *r2)
+_eina_rectangle_cmp(const void *data1, const void *data2)
 {
+   Eina_Rectangle *r1 = (Eina_Rectangle *) data1;
+   Eina_Rectangle *r2 = (Eina_Rectangle *) data2;
return (r2->w * r2->h) - (r1->w * r1->h);
 }
 
+static int
+_eina_rectangle_cmp_asc(const void *data1, const void *data2)
+{
+   Eina_Rectangle *r1 = (Eina_Rectangle *) data1;
+   Eina_Rectangle *r2 = (Eina_Rectangle *) data2;
+   return (r1->w * r1->h) - (r2->w * r2->h);
+}
+
+static int
+_eina_rectangle_cmp_bl(const void *data1, const void *data2)
+{
+   Eina_Rectangle *r1 = (Eina_Rectangle *) data1;
+   Eina_Rectangle *r2 = (Eina_Rectangle *) data2;
+   if (r1->y != r2->y)
+ return (r1->y) - (r2->y);
+   else
+ return (r1->x) - (r2->x);
+}
+
 static Eina_List *
-_eina_rectangle_merge_list(Eina_List *empty, Eina_Rectangle *r)
+_eina_rectangle_merge_list(Eina_List *empty, Eina_Rectangle_Packing type, 
Eina_Rectangle *r)
 {
-   Eina_Rectangle *match;
+   Eina_Rectangle *match, *r1;
Eina_List *l;
int xw;
int yh;
+   int x2 ,y2 ,w2 ,h2;
 
if (r->w == 0 || r->h == 0)
  {
@@ -166,13 +192,41 @@ start_again:
 
goto start_again;
 }
+  else if (match->y > r->y && type == Eina_Packing_Bottom_Left_Skyline
+   && (match->y + match->h == r->y + r->h) &&
+  (match->x + match->w == r->x || r->x + r->w == match->x))
+{
+
+   if (r->x < match->x)
+  match->x = r->x;
+
+   match->w += r->w;
+
+   x2 = r->x;
+   y2 = r->y;
+   w2 = r->w;
+   h2 = match->y - r->y;
+
+   eina_rectangle_free(r);
+
+   r1 = eina_rectangle_new(x2, y2, w2, h2);
+
+   empty = eina_list_remove_list(empty, l);
+
+   if (r1)
+  empty = eina_list_append(empty, r1);
+
+   r = match;
+
+   goto start_again;
+}
}
 
return eina_list_append(empty, r);
 }
 
 static Eina_List *
-_eina_rectangle_empty_space_find(Eina_List *empty, int w, int h, int *x, int 
*y)
+_eina_rectangle_empty_space_find(Eina_List *empty, Eina_Rectangle_Packing 
type, int w, int h, int *x, 

[EGIT] [core/efl] master 01/01: eina: fix in eina_rectangle_pool to make sorting effective

2014-02-13 Thread Rajeev Ranjan
cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=743d7da92fcdf032455af5ca3d67add0edd28d43

commit 743d7da92fcdf032455af5ca3d67add0edd28d43
Author: Rajeev Ranjan 
Date:   Fri Feb 14 10:01:30 2014 +0900

eina: fix in eina_rectangle_pool to make sorting effective

Summary: This patch fixes the bug related to sorting not happening in 
eina_rectangle_pool

Reviewers: cedric, raster, seoz, Hermet

Differential Revision: https://phab.enlightenment.org/D556

Signed-off-by: Cedric BAIL 
---
 src/lib/eina/eina_rectangle.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eina/eina_rectangle.c b/src/lib/eina/eina_rectangle.c
index 85cf310..5ae680b 100644
--- a/src/lib/eina/eina_rectangle.c
+++ b/src/lib/eina/eina_rectangle.c
@@ -437,7 +437,7 @@ eina_rectangle_pool_request(Eina_Rectangle_Pool *pool, int 
w, int h)
   return NULL;
 
/* Sort empty if dirty */
-   if (pool->sorted)
+   if (!pool->sorted)
  {
 pool->empty =
eina_list_sort(pool->empty, 0, 
EINA_COMPARE_CB(_eina_rectangle_cmp));

-- 




Re: [E-devel] use the widget plug?

2013-06-06 Thread Rajeev Ranjan
Hi,
   You can check in elementary/src/bin/test_win_plug.c.
Regards,
Rajeev

--- Original Message ---
Sender : Karol Dudek
Date : Jun 06, 2013 17:56 (GMT+09:00)
Title : [E-devel] use the widget plug?

Hello,

where can I find an example of using the widget plug 
(http://docs.enlightenment.org/auto/elementary/group__Plug.html)? For 
most of the widgets are examples of the use, but this does not. Is this 
widget is practically applied?

Regards,
KD

--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Edje] Cropped Image render

2013-06-04 Thread Rajeev Ranjan
Hi,
   You can use evas_object_image_fill_set in order to specify the region of the 
image you want to read from.

In case you want to use it in edje, you can use image.fill property.
  description {
..
fill {
smooth: 0-1;
origin {
relative: X-axis Y-axis;
offset:   X-axis Y-axis;
}
size {
relative: width  height;
offset:   width  height;
}
}
..
}

For more reference on this edje usage, please refer here: 
http://docs.enlightenment.org/auto/edje/edcref.html#sec_collections_group_parts_description_image_fill.
Regards,
Rajeev

--- Original Message ---
Sender : Nistha Tandiya
Date : Jun 05, 2013 13:25 (GMT+09:00)
Title : [E-devel] [Edje] Cropped Image render

Hi All,
I wish to render a clipped subpart of an image in a container... The image
portion could be from anywhere in the image... Could u help ?

- Nistha
--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Query][Elementary] Regarding signal emit hook support in elm_notify

2013-03-18 Thread Rajeev Ranjan
Hi ,
> --- Original Message ---
> Sender : Daniel Juyung Seo
> Date : Mar 08, 2013 18:04 (GMT+09:00)
> Title : Re: [E-devel] [Query][Elementary] Regarding signal emit hook support 
> in elm_notify
> 
> On Wed, Mar 6, 2013 at 4:19 PM, Rajeev Ranjan wrote:
>> Hi,
>>I want to add some effect while hiding the notify instances.
>> In order to achieve this in a generic way, I think it is better to use 
>> signal emit hook similar to one supported in elm_layout and all of the 
>> widgets inherited through it.
>> Currently API elm_object_signal_emit works for layout and icon.
>> So I propose to either support signal emit hook at elm_widget_container 
>> level or we can inherit elm_notify from elm_layout rather than from 
>> container which will allow us to use signal emit hook of layout.
> 
> elm_layout is a wrapper for edje object. It doesn't make sense if
> elm_widget_container handles edje signals.
> elm_notify already uses internal edje object. Why don't we make this
> inherit elm_layout? That sounds correct.
> Btw, why don't you use elm_popup that you contributed? It inherits layout.
> 
Actually I want to show some sort of hide transition effect for popup. For this 
to work, I should be able to emit a signal for notify base edje object as popup 
internally uses elm_notify.
Popup infact reuses the base edc group defined in popup for various 
orientations. So emitting signal to this edje object is one possible way of 
getting this hide transition effect.
As Popup already has been inherited from layout, so apps can use its emit hook 
for emitting a signal which internally would be forwarded to Notify to show the 
hide transition effect and then hide it on effect competion.
But this requires emit hook support in elm_notify.
 
> Daniel Juyung Seo (SeoZ)
> 
> 
>> Please let me know about your opinion on this.
>> Thank you.
>> Regards,
>> Rajeev
>> --


Thank you.
Regards,
Rajeev
--
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_mar
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [Query][Elementary] Regarding signal emit hook support in elm_notify

2013-03-05 Thread Rajeev Ranjan
Hi,
   I want to add some effect while hiding the notify instances.
In order to achieve this in a generic way, I think it is better to use signal 
emit hook similar to one supported in elm_layout and all of the widgets 
inherited through it.
Currently API elm_object_signal_emit works for layout and icon.
So I propose to either support signal emit hook at elm_widget_container level 
or we can inherit elm_notify from elm_layout rather than from container which 
will allow us to use signal emit hook of layout.
Please let me know about your opinion on this.
Thank you.
Regards,
Rajeev
--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Query] Controlling further eventing on an edje draggable part programmatically

2013-02-18 Thread Rajeev Ranjan
Hi Raster,
> --- Original Message ---
> Sender : Carsten Haitzler
> Date : Feb 18, 2013 12:39 (GMT+09:00)
> Title : Re: [E-devel] [Query] Controlling further eventing on an edje 
> draggable part programmatically
> 
> On Fri, 15 Feb 2013 11:43:21 +0000 (GMT) Rajeev Ranjan 
> said:
> 
>> Hi,
>> > --- Original Message ---
>> > Sender : Carsten Haitzler
>> > Date : Feb 15, 2013 20:15 (GMT+09:00)
>> >Title : Re: [E-devel] [Query] Controlling further eventing on an edje
>> >draggable part programmatically
>> > 
>> > On Fri, 15 Feb 2013 11:02:13 + (GMT) Rajeev Ranjan 
>> said:
>> >
>> >> Hi,
>> >>   I have a requirement where on certain event like on resize I dont want 
>> >> to
>> >> keep allowing dragging for an edje draggable part even if 
>> >> mouse,up/touch,up
>> >> has not yet been done after mouse,down.
>> >
>> > this sounds odd. can you please expand on why you need/want this?
>> >
>>Basically my requirement is related to elm_panes(vertical) where in
>> landscape mode we have both contents set and in portrait mode, we have single
>> content set and left size set to 1.0 to hide the other content area. Now when
>> we tap on handler in panes in landscape mode and without lifting finger,
>> rotate the device to portrait mode, then still the handler can be dragged. In
>> this case, it is unwanted if there is a single content in portrait mode and
>> the other one is unset when mode is portrait.
>
> hmmm ok - it smells more to me that you need a feature in the elm panes widget
> to be able to go in "show only one element" mode (and maybe choose that
> element - top/bottom etc.) it sounds to me like you then want to emit a signal
> to the panes edje obj to tell it to go into "1 content only" and indicate 
> which
> one, or to go back to normal "2 items".
Yes, this is infact the actual requirement in panes however this kind of 
requirement is not limited to panes only. E.g. in slider as well, we don't want 
to have the dragging happening on rotation as
because of window resize the touch point position will change and will be 
having different position than that of indicator.
Further I made the handler(draggable part) invisible when there be a single 
content(the other one is unset on rotation), still the handler continued to 
take events[At the time of drag start, handler was visible].
Please tell me if there can be a way by which we can stop further dragging 
programmatically for draggable part.

 
> 
> > >> For this, I used pointer_mode: NOGRAB for draggable part but it didn't 
> > >> work
> > >> in case of draggable as it kept taking drag events even if the 
> > >> mouse/touch
> > >> was outside draggable geometry. Even synthesizing mouse,up,1 with source
> > >> "" in edc had no effect and drag event was continuously
> > >> going to the draggable part.
> > >
> > > nograb is a totally different thing to what you want i think.. so it's not
> > > going to help :)
> > >>
> > I tested pointer_mode with NOGRAB option for parts other than draggable and
> > found that the events outside the part geometry are ignored in this case
> > (including mouse,up), so I thought that may be this should work with
> > draggable as well.
> > 
> > >> Please let me know if there is any way we can control this (avoiding
> > >> further drag event for a drag part) programmatically.
> > >> 
> > >> Thank you.
> > >> Regards,
> > >> Rajeev
> > >> --

> > > - Codito, ergo sum - "I code, therefore I am" --
> > > The Rasterman (Carsten Haitzler)ras...@rasterman.com
> > 
> > Thank you.
> > Regards,
> > Rajeev
> --
> -- 
> - Codito, ergo sum - "I code, therefore I am" --
> The Rasterman (Carsten Haitzler)ras...@rasterman.com

Thank you.
Regards,
Rajeev
--
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Query] Controlling further eventing on an edje draggable part programmatically

2013-02-15 Thread Rajeev Ranjan
Hi,
> --- Original Message ---
> Sender : Carsten Haitzler
> Date : Feb 15, 2013 20:15 (GMT+09:00)
>Title : Re: [E-devel] [Query] Controlling further eventing on an edje 
>draggable part programmatically
> 
> On Fri, 15 Feb 2013 11:02:13 +0000 (GMT) Rajeev Ranjan 
said:
>
>> Hi,
>>   I have a requirement where on certain event like on resize I dont want to
>> keep allowing dragging for an edje draggable part even if mouse,up/touch,up
>> has not yet been done after mouse,down.
>
> this sounds odd. can you please expand on why you need/want this?
>
   Basically my requirement is related to elm_panes(vertical) where in 
landscape mode we have both contents set and in portrait mode, we have single 
content set and left size set to 1.0 to hide the other content area.
Now when we tap on handler in panes in landscape mode and without lifting 
finger, rotate the device to portrait mode, then still the handler can be 
dragged.
In this case, it is unwanted if there is a single content in portrait mode and 
the other one is unset when mode is portrait.

>> For this, I used pointer_mode: NOGRAB for draggable part but it didn't work
>> in case of draggable as it kept taking drag events even if the mouse/touch
>> was outside draggable geometry. Even synthesizing mouse,up,1 with source
>> "" in edc had no effect and drag event was continuously
>> going to the draggable part.
>
> nograb is a totally different thing to what you want i think.. so it's not
> going to help :)
>>
I tested pointer_mode with NOGRAB option for parts other than draggable and 
found that the events
outside the part geometry are ignored in this case(including mouse,up), so I 
thought that may be this should work with draggable as well.

>> Please let me know if there is any way we can control this (avoiding further
>> drag event for a drag part) programmatically.
>> 
>> Thank you.
>> Regards,
>> Rajeev
>> --
>> Free Next-Gen Firewall Hardware Offer
>> Buy your Sophos next-gen firewall before the end March 2013 
>> and get the hardware for free! Learn more.
>> http://p.sf.net/sfu/sophos-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

Thank you.
Regards,
Rajeev
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [Query] Controlling further eventing on an edje draggable part programmatically

2013-02-15 Thread Rajeev Ranjan
Hi,
  I have a requirement where on certain event like on resize I dont want to 
keep allowing dragging for an edje draggable part even if mouse,up/touch,up has 
not yet been done after mouse,down.

For this, I used pointer_mode: NOGRAB for draggable part but it didn't work in 
case of draggable as it kept taking drag events even if the mouse/touch was 
outside draggable geometry.
Even synthesizing mouse,up,1 with source "" in edc had no 
effect and drag event was continuously going to the draggable part.

Please let me know if there is any way we can control this (avoiding further 
drag event for a drag part) programmatically.

Thank you.
Regards,
Rajeev
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [Patch] [Elementary] Documentation update for gengrid

2012-11-07 Thread Rajeev Ranjan
Hi,
   Attached is a patch to update documentation for gengrid related to changing 
longpress_timeout value in gengrid.
Signed-off by: Rajeev Ranjan 

Thank you.
Regards,
Rajeev

elm_gengrid.diff
Description: Binary data
--
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_nov___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [Elementary] Query related to sideeffect of genlist using clipper for changing color in disabled state for its text and swallow parts of items

2012-10-30 Thread Rajeev Ranjan
Hi,
   I am encountering an issue when using a widget which has its own color 
change(using its theme implementation) on being disabled in Genlist item in 
disabled state.

When an item is disabled, the clipper part's(disclip) color in genlist is 
changed, as a result the clippie(swallow part) color changes as well by 
gettting blended with clipper color.
This is fine until the swallow part in the item does not have its own color 
change implemented in case of disabled state such as icon however if the 
swallow part is a widget
which has its own color for disabled state then this creates a problem as the 
final color of the widget(swallow part) in genlist item is different from what 
it should be.

In order to test this issue, I am sending a patch for elementary test and this 
issue can be seen under tab "Genlist Full Widget".
Please provide your opinion about addressing this issue.

The issue related to event getting propagated to button and check even if the 
genlist item is disabled in the sample code are not related to this, rather it 
is probelm with elm_frame which does not seem to disable its
content if frame itself is disabled.
I will analyze this issue and send a patch soon about this.


Thank you.
Regards,
Rajeev

elementary_test.diff
Description: Binary data
--
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_sfd2d_oct___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [E-Devel][Patch][Elementary] Gengrid: Bug fix

2012-10-18 Thread Rajeev Ranjan

   Hi,

  I reviewed this patch and it looks good to me.

   Thanks.

   Regards,

   Rajeev


   --- Original Message ---

   Sender : Bluezery

   Date : Oct 19, 2012 12:30 (GMT+09:00)

   Title : [E-devel] [E-Devel][Patch][Elementary] Gengrid: Bug fix


   Dear all,
   There is a bug, invalid data assign into ecore_job.
   Trivial whilte space removal is included also.  it's automated in my editor
   :D.
   Please review this patch.
   --
   BRs,
   Kim.


   [SeenTimeChecker?do=bb6409750c48f44e3ec6bc58fa030d1df3c3e9dbe0bc93a5f1d2345d
   123b7a3c770255183a8f81f75f2c6c48df01bb6e980b3871b38ac2d74ed859d628c32758
   cd62c5cf0684a728c55b39cc59eacf878f9a26ce15a0]
--
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_sfd2d_oct
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [patch][elementary] Additional safety checks in elm_layout

2012-10-18 Thread Rajeev Ranjan

   Hi,

  I checked this patch and it looks good to me to add these safety checks
   in case of box.

   Regards,
   Rajeev


   --- Original Message ---

   Sender   :   Beata  Koziarek  Junior  Software
   Engineer/SPRC-Linux Platform (SSD)/Samsung Electronics

   Date : Oct 18, 2012 21:42 (GMT+09:00)

   Title : [E-devel] [patch][elementary] Additional safety checks in elm_layout


   Hi,
   This patch adds safety checks which I think are needed for objects in
   elm_laout_box functions.
   Please find attached file and give me some feedback.
   Regards,
   Beata


   [SeenTimeChecker?do=bb6409750c48f44ef8f06881d0bd87d6e81ae59027053a47f1d2345d
   123b7a3c770255183a8f81f75f2c6c48df01bb6e980b3871b38ac2d74ed859d628c32758
   cd62c5cf0684a728c55b39cc59eacf878f9a26ce15a0]
--
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_sfd2d_oct
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [Patch] [Elementary] elm_datetime widget bug fix: elm_datetime_field_limit_set() API is not working for min/max boundary conditions

2012-08-31 Thread Rajeev Ranjan
Hi,
   Please review the attached patch for fixing issue in API 
elm_datetime_field_limit_set() for boundary values.
It has been created by Sumanth for datetime widget.

[Issue Details]:
  elm_datetime_field_limit_set() API is not working well for boundary values. 
  [ex: for date, we can't set max limit as 31 and for minute, we can't set 60 
etc.. 
 - it fails at boundary conditions of Min/Max limit for all datetime 
fields.]

[Root cause]:
   Boundary condition checking has not been done in a proper way.

[Change Description]:
   Boundary checking condition is corrected and the min/max limit boundary 
values are included as API input. 

Signed-Off-By: Sumanth Krishna (sumant...@samsung.com)
Signed-Off-By: Rajeev Ranjan (rajee...@samsung.com)

Thank You.
Regards,
Rajeev


elm_datetime.diff
Description: Binary data
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] [Elementary] elm_datetime widget bug fix : Display AM/PM string(s) in all locales

2012-08-27 Thread Rajeev Ranjan
Hi Daniel, 
  I noticed the point you were raising and yes, we intend to negate the second 
strncmp as well.
Attached is the modified patch with the fix.
Thank you
Regards,
Rajeev

--- Original Message ---
Sender : Rajeev Ranjan Chief Engineer/SISO-BSG/Samsung 
Electronics
Date : Aug 24, 2012 19:21 (GMT+05:30)
Title : Re: Re: [E-devel] [Patch] [Elementary] elm_datetime widget bug fix : 
Display AM/PM string(s) in all locales

> Hi Daniel,
>Following is my reply to your queries.
>  --- Original Message ---
>  Sender : Daniel Willmann Engineer/SERI-Samsung Linux Platform (SLP)/Samsung 
> Electronics
>  Date : Aug 24, 2012 19:06 (GMT+05:30)
>  Title : Re: [E-devel] [Patch] [Elementary] elm_datetime widget bug fix : 
> Display AM/PM string(s) in all locales

>  > Hello,

>> On 08/24/2012 02:03 PM, Rajeev Ranjan wrote:
>>> [Root cause]:
> >>Some locales don't have AM/PM string since they strictly follow 24 HR 
> >> format and the this case is not handled in datetime widget.
> >> 
> >> [Change Description]:
> >>Datetime widget is modified to display default AM/PM strings incase, 
> >> if, it is not present in the locale.

> > Is that still going to display AM/PM even if the hours are in 24h mode?
> > If so I am against this. I quite like my 24h time :-)
> Nope,  it will not show AM/PM if hours are in 24h mode :).
> > 
> >> +   // If a locale doesn't support AM/PM strings, set the default values
> >> +   if ((buf[0] == 0) && (!strncmp(fmt, "%p", BUFF_SIZE) || strncmp(fmt, 
> >> "%P", BUFF_SIZE)))
> > Here you probably want to negate the second strncmp() as well, so:
> > ... && (!strncmp() || !strncmp())
> >
> Basically  checking here if AM/PM is not present in the buffer(inside locale 
> string) and user wants AM/PM(by checking format here; will be set in case of 
> 12 hour settings), then setting AM/PM based on the current time.
Yes you are right. I intend to negate second strncmp as well.
> >
> > Regards
> > Daniel

> Regards,
> Rajeev

elm_datetime.patch
Description: Binary data
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] [Elementary] elm_datetime widget bug fix : Display AM/PM string(s) in all locales

2012-08-24 Thread Rajeev Ranjan
Hi Daniel,
   Following is my reply to your queries.
--- Original Message ---
Sender : Daniel Willmann Engineer/SERI-Samsung Linux 
Platform (SLP)/Samsung Electronics
Date : Aug 24, 2012 19:06 (GMT+05:30)
Title : Re: [E-devel] [Patch] [Elementary] elm_datetime widget bug fix : 
Display AM/PM string(s) in all locales

> Hello,

> On 08/24/2012 02:03 PM, Rajeev Ranjan wrote:
>> [Root cause]:
>>Some locales don't have AM/PM string since they strictly follow 24 HR 
>> format and the this case is not handled in datetime widget.
>> 
>> [Change Description]:
>>Datetime widget is modified to display default AM/PM strings incase, if, 
>> it is not present in the locale.

> Is that still going to display AM/PM even if the hours are in 24h mode?
> If so I am against this. I quite like my 24h time :-)
Nope,  it will not show AM/PM if hours are in 24h mode :).
> 
>> +   // If a locale doesn't support AM/PM strings, set the default values
>> +   if ((buf[0] == 0) && (!strncmp(fmt, "%p", BUFF_SIZE) || strncmp(fmt, 
>> "%P", BUFF_SIZE)))
> Here you probably want to negate the second strncmp() as well, so:
> ... && (!strncmp() || !strncmp())
>
Basically  checking here if AM/PM is not present in the buffer(inside locale 
string) and user wants AM/PM(by checking format here; will be set in case of 12 
hour settings), then setting AM/PM based on the current time.
>
> Regards
> Daniel

Regards,
Rajeev
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [Patch] [Elementary] elm_datetime widget bug fix : Display AM/PM string(s) in all locales

2012-08-24 Thread Rajeev Ranjan
Hi,
   Please review the attached patch for supporting simple transition without 
any effect in slideshow widget.
It is created by Sumanth for datetime widget.

[Current Issue]:
  AM/PM strings are not displayed in some locale settings.

[Root cause]:
   Some locales don't have AM/PM string since they strictly follow 24 HR format 
and the this case is not handled in datetime widget.

[Change Description]:
   Datetime widget is modified to display default AM/PM strings incase, if, it 
is not present in the locale.

Signed-Off-By: Sumanth Krishna 
Signed-Off-By: Rajeev Ranjan 

Thank You.
Regards,
Rajeev

elm_datetime.patch
Description: Binary data
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [e-users] EFL Developer Day

2012-07-29 Thread Rajeev Ranjan
Hi,
I too would like to go through the recordings of the sessions. :)
Regards,
Rajeev

--- Original Message ---
Sender : Sanjeev BA
Date : Jul 30, 2012 03:36 (GMT+05:30)
Title : Re: [E-devel] [e-users] EFL Developer Day

It would be great to see the recordings of the sessions.
Kindly publish the links once they are ready.

On Sat, Jul 28, 2012 at 10:50 AM, Daniel Juyung Seo wrote:

> argggh I am really sad that I am missing this. Enjoy the EFL dev day
> everybody!
>
> Daniel Juyung Seo (SeoZ)
> On Jul 28, 2012 10:41 AM, "Carsten Haitzler" wrote:
>
> > It's official. The first ever EFL developer day is happening. It will be
> > held
> > during Linuxcon Europe on November 5, 2012 in Barcelona, Spain at the
> same
> > location. See the Co-Located Events page:
> >
> >
> http://events.linuxfoundation.org/events/linuxcon-europe/co-located-events
> > For more information about LinuxCon please see the LinuxCon Europe site:
> >   http://events.linuxfoundation.org/events/linuxcon-europe
> >
> > Please come along and meet the people face-to-face who work on
> > Enlightenment
> > and EFL. Find out the history, the present and what will happen in the
> > future.
> > Grill the developers in person and otherwise have a great time.
> >
> > We're growing and moving and it's time we had a conference of our own. So
> > here
> > comes the first ever EFL Developer Day. We have decided to co-locate the
> > event
> > alongside LinuxCon Europe which is also running alongside ELC Europe, the
> > KVM
> > Forum, Gluster workshop, Yocto Project Developer Day and Wireless Mini
> > Summit.
> > It will be held on the 5th of November at the Hotel Fira Palace in
> > Barcelona,
> > Spain. Plan your travel today and join in on the fun and excitement.
> >
> > We're already planning a fully packed day of presentations, panels and
> > more, so
> > stay tuned for more information on this in the coming weeks.
> >
> > For information on the event, please contact:
> >   enlightenment-e...@lists.sourceforge.net
> > or join any of our normasl mailing lists and IRC channels and discuss
> > there:
> >   http://www.enlightenment.org/p.php?p=contact
> >
> > --
> > - Codito, ergo sum - "I code, therefore I am" --
> > The Rasterman (Carsten Haitzler)ras...@rasterman.com
> >
> >
> >
> >
> --
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and
> > threat landscape has changed and how IT managers can respond. Discussions
> > will include endpoint security, mobile security and the latest in malware
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > ___
> > enlightenment-users mailing list
> > enlightenment-us...@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> >
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [patch][elementary] popup - getting proper geometry value

2012-07-25 Thread Rajeev Ranjan
Hi,
  Till now I didn't feel any need for getting the geometry of the popup however 
I agree that evas_object_geometry_get being a generic Evas level API, it needs 
to be supported by all Elementary widgets as well.
The flip side of the current patch is that user can get the geometry of popup 
excluding blocked area.
I too would prefer some other way of setting the geometry of an evas object 
other than by calling evas_object_resize/evas_object_move.
Regards,
Rajeev

--- Original Message ---
Sender : Kim Shinwoo
Date : Jul 25, 2012 07:52 (GMT+05:30)
Title : [E-devel] [patch][elementary] popup - getting proper geometry value

dear all, hello.

current popup does not give proper geometry value,
evas_object_geometry_get(popup, &x, &y, &w, &h) gives 0, 0, 0, 0.
the patch resolves it, but it would be not a good way to get geometry
value. which is the best way to set obj->cur.geometry.x(y,w,h)?
please enlighten me. thanks.

cordially,
shinwoo kim.
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] edje multisense

2012-07-17 Thread Rajeev Ranjan

Hi,
  Multisense in edje is for supporting various type of feedbacks like sound, 
vibration etc at edje level based on the events.
This feature can be used by applications using edje's edc interfaces.
Each type of multisense feedback can have various attributes eg. sound can have 
amplitude as a property.
The usage of this is similar to that of image.
Currently it is implemented at edje level however work is in progress to bring 
it at ecore level so that it can be used outside edc files as well.
Regards,
Rajeev

--- Original Message ---
Sender : jls legalize
Date : Jul 17, 2012 12:43 (GMT+05:30)
Title : [E-devel] edje multisense

Hi
What do I need multisense in edje for?
Is there any app that uses it?
Thanks

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch][Elementary]Patch for switching in slideshow with no transition effect

2012-06-19 Thread Rajeev Ranjan
Hi,
   Can somebody have a look at the patch and provide feedback on it.
If things are fine, please commit it.
This will address the issue related to slideshow transition with no effect.
Thank You.
Regards,
Rajeev

--- Original Message ---
Sender : Gustavo Lima Chaves
Date : Jun 11, 2012 19:58 (GMT+05:30)
Title : Re: [E-devel] [Patch][Elementary]Patch for switching in slideshow with 
no transition effect

* Rajeev Ranjan [2012-06-09 07:10:11 +]:

> Hi,
>Please review the attached patch for supporting simple transition without 
> any effect in slideshow widget.
> 
> [Current Issue]:
>"transition,end" singal does not get emitted when the transition is set to 
> NULL or has not been set. This signal is used normal to detect the end of the 
> slideshow images and is
> emitted once transition is over.
> Moreover the visibility of the slides during transition with no effect is not 
> proper as this is not implemented in the corresponding theme.
> 
> [Root cause]:
>The visibility change needed for images in theme does not happen in case 
> of no transition effect.
> 
> [Change Description]:
>Handled NULL transition setting in C code and sent the appropriate signal 
> to indicate the next and previous action for image slide. Updated sample code 
> also.
>Modified the sample code to incorporate transition with No effect.
> 
> Signed-Off-By: Rajeev Ranjan
> 
> Thank You.
> Regards,
> Rajeev

Seems good enough.

BR,

> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


-- 
Gustavo Lima Chaves
Computer Engineer @ ProFUSION Embedded Systems

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [Patch][Elementary]Patch for switching in slideshow with no transition effect

2012-06-09 Thread Rajeev Ranjan
Hi,
   Please review the attached patch for supporting simple transition without 
any effect in slideshow widget.

[Current Issue]:
   "transition,end" singal does not get emitted when the transition is set to 
NULL or has not been set. This signal is used normal to detect the end of the 
slideshow images and is
emitted once transition is over.
Moreover the visibility of the slides during transition with no effect is not 
proper as this is not implemented in the corresponding theme.

[Root cause]:
   The visibility change needed for images in theme does not happen in case of 
no transition effect.

[Change Description]:
   Handled NULL transition setting in C code and sent the appropriate signal to 
indicate the next and previous action for image slide. Updated sample code also.
   Modified the sample code to incorporate transition with No effect.

Signed-Off-By: Rajeev Ranjan

Thank You.
Regards,
Rajeev

elm_slideshow.patch
Description: Binary data
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch][elementary] datetime module, delete callback

2012-06-08 Thread Rajeev Ranjan
Hi,
  I went through your patch. Looks good to me.
Regards,
Rajeev


--- Original Message ---
Sender : Kim Shinwoo
Date : Jun 08, 2012 11:47 (GMT+05:30)
Title : Re: [E-devel] [Patch][elementary] datetime module, delete callback

Hey, I would like to bring your attention to this!

2012/6/5 Kim Shinwoo :
> Dear all, hello.
>
> There is a case, in the _ctxpopup_parent_resize_cb() is called even
> though the datetime is removed.
> It makes a crash, so the callback should be deleted before removing
> datetime. That's it.
>
> Sincerely,
> Shinwoo Kim.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [Patch] [Elementary] Fix for sliding animation in various notify orientations

2012-06-05 Thread Rajeev Ranjan
Hi,
   Please review the attached patch for fixing the sliding animation in notify 
which has stopped happening quite sometime back.
[Issue]:
   Sliding animations for various orientations is not shown.
[Root cause]:
   The signal names and sources are not proper.
[Change Description]:
   Changed the signal names and sources. Also removed unnecessary programs from 
notify edc.
Note: "Signals like elm,action,show" and "elm,action,hide" are not being 
emitted for the widget's base edje object.

Signed-Off-By: Rajeev Ranjan

Thank You.
Regards.
Rajeev

elm_notify.patch
Description: Binary data
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH][EDJE] Patch to remove the alpha from image header while saving if the alpha is set to 1 but the image is fully opaque

2012-04-18 Thread Rajeev Ranjan
Hi,
   First of all, thanks for your feedbacks about the previous implementation at 
eet level. 

Attached to the mail is a patch to set the alpha information for an image 
header to 0 with alpha present but all the texels being opaque.
Continuing to our discussion, as suggested by many people in the community it 
has been implemented at edje_cc level.

Change description:
While compiling the edc file, image data for image files is scanned to find 
out whether the alpha value in header is set to 1 and is not being used in the 
image.
  If this is the case, while writing to eet the alpha is set to 0 to avoid 
blending for such images in the graphics pipeline when used by evas.

Thank You.
Regards,
Rajeev



--- Original Message ---
Sender : Carsten Haitzler
Date : Apr 16, 2012 12:43 (GMT+05:30)
Title : Re: [E-devel] [PATCH][EET] Patch to remove the alpha from image header 
while saving if the alpha is set to 1 but the image is fully opaque

On Mon, 16 Apr 2012 07:05:14 + (GMT) Rajeev Ranjan 
said:

> Hi Gustavo,
>Thanks for your information on evas_image_loader when pixels are being
> scanned and sparse_alpha flag is being set. But this common function
> "evas_common_image_set_alpha_sparse" is being called only for loaders of svg
> and tiff files, not for other formats.
> 
> Besides in this function, we are already scanning image data texels in order
> to determine alpha_sparse. So if we do similar stuff for determining opacity
> of image in some other function, then scanning will happen twice for any
> image while loading which will affect the performance(load time). Then the
> option we are left with is to set the apha flag here itself in this function
> while scanning the image data and call this function from loaders for all
> image formats. Whether this option in your opinion is good as this function
> name suggests for setting the alpha_sparse, not the alpha value.
> 
> And this change will affect the image loading performance every time it gets
> loaded where as if we do it in edje_cc code, then this will affect only the
> eet creation flow using edje_cc, not the normal operation.
> 
> Others including Raster has suggested for scanning the image data in edje_cc
> saving flow which in my opinion should be good as it will not affect the
> normal flow performance.
> 
> I would like to know whether this should be default behavior of edje_cc or
> shall I add it as an option to the compiler. If it should be an option, then
> what option flag do you suggest! I think -o should be good.

default in edje_cc sounds just fine to me. it's an optimization.

> Please let me know your opinion on this.
> Thank You.
> Regards,
> Rajeev
> 
> --- Original Message ---
> Sender : Gustavo Sverzut Barbieri 
> Date : Fri, 13 Apr 2012 11:24:29 -0300
> Title : Re: [E-devel] [PATCH][EET] Patch to remove the alpha from image
> header while saving if the alpha is set to 1 but the image is fully opaque
> 
> On 04/13/12 22:55, Gustavo Sverzut Barbieri  wrote:
> > On Fri, 13 Apr 2012 13:54:50 + (GMT) Rajeev Ranjan
> > said:
> >
> > Hi Rajeev,
> 
> > As far as I remember there is already an alpha analysis being done by
> > Evas image loaders to set "sparse alpha" flag. I believe the same
> > analysis can be used to detect no-alpha situation.
> 
> > If so, doing in Evas is a best fit as it will work with images loaded
> > from internet or disk.
> 
> > BR,
> > -- Gustavo
> >
> 
> >> Hi,
> >> Attached to the mail is a patch to set the alpha information for an
> >> image header to 0 with alpha present but all the texels being opaque.
> >>
> >> The objective of this patch is to avoid the alpha blending for the images
> >> which don't use alpha but while creating, the alpha channel has been added
> >> by the creator. In order to do so, the image individual texels are scanned
> >> to find if alpha is used in the image for any texel and the image is fully
> >> opaque, while saving the alpha is set to 0. If the alpha information in
> >> image header is set to 0 already, then this stage is skipped.
> >>
> >> This implementation can be done at either eet level or edje level.
> >> Currently in this patch it has been done in eet.
> >>
> >> If required, it can be implemented in edje_cc itself rather than in eet
> >> image data saving. One more option can be to make this scanning optional
> >> which can be done in edje_cc through an option provided this is implementd
> >> at edje_cc level rather than at eet level.
> >>
> >> Change Description:
> >>
> >> While writing the image to eet fi

[E-devel] [Query][E-Notify] Enotification sending does not work if sender and receiver(running the notification daemon) run under different user

2012-04-18 Thread Rajeev Ranjan
Hi,
  While working with E-Notify, I found that notification sent by a sender app 
does not get received by the receiver(running the daemon such as Enlightenment 
window manager or some other app) if both run under different
user.
One can test this by running e-notify-send under some other user, say root by 
switching to that using su.
I tested in an enlightenment session as well as by running notification daemon 
in another application after disabling notification module in enlightenment 
window manager.
Is it because, E-Notify is using Session Bus!

Please suggest a way by which it can work between users as well. My requirement 
is support multiple users sessions and they should be able to communicate using 
e-notify.

Thank You.
Regards,
Rajeev
--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH][EET] Patch to remove the alpha from image header while saving if the alpha is set to 1 but the image is fully opaque

2012-04-16 Thread Rajeev Ranjan
Hi Gustavo,
   Thanks for your information on evas_image_loader when pixels are being 
scanned and sparse_alpha flag is being set.
But this common function "evas_common_image_set_alpha_sparse" is being called 
only for loaders of svg and tiff files, not for other formats.

Besides in this function, we are already scanning image data texels in order to 
determine alpha_sparse. So if we do similar stuff for determining opacity of 
image in some other function, then scanning will happen twice for any image 
while loading which will
affect the performance(load time).
Then the option we are left with is to set the apha flag here itself in this 
function while scanning the image data and call this function from loaders for 
all image formats.
Whether this option in your opinion is good as this function name suggests for 
setting the alpha_sparse, not the alpha value.

And this change will affect the image loading performance every time it gets 
loaded where as if we do it in edje_cc code, then this will affect only the eet 
creation flow using edje_cc, not the normal operation.

Others including Raster has suggested for scanning the image data in edje_cc 
saving flow which in my opinion should be good as it will not affect the normal 
flow performance.

I would like to know whether this should be default behavior of edje_cc or 
shall I add it as an option to the compiler. If it should be an option, then 
what option flag do you suggest!
I think -o should be good.

Please let me know your opinion on this.
Thank You.
Regards,
Rajeev

--- Original Message ---
Sender : Gustavo Sverzut Barbieri 
Date : Fri, 13 Apr 2012 11:24:29 -0300
Title : Re: [E-devel] [PATCH][EET] Patch to remove the alpha from image header 
while saving if the alpha is set to 1 but the image is fully opaque

On 04/13/12 22:55, Gustavo Sverzut Barbieri  wrote:
> On Fri, 13 Apr 2012 13:54:50 + (GMT) Rajeev Ranjan
> said:
>
> Hi Rajeev,

> As far as I remember there is already an alpha analysis being done by
> Evas image loaders to set "sparse alpha" flag. I believe the same
> analysis can be used to detect no-alpha situation.

> If so, doing in Evas is a best fit as it will work with images loaded
> from internet or disk.

> BR,
> -- Gustavo
>

>> Hi,
>> Attached to the mail is a patch to set the alpha information for an image
>> header to 0 with alpha present but all the texels being opaque.
>>
>> The objective of this patch is to avoid the alpha blending for the images
>> which don't use alpha but while creating, the alpha channel has been added by
>> the creator. In order to do so, the image individual texels are scanned to
>> find if alpha is used in the image for any texel and the image is fully
>> opaque, while saving the alpha is set to 0. If the alpha information in
>> image header is set to 0 already, then this stage is skipped.
>>
>> This implementation can be done at either eet level or edje level. Currently
>> in this patch it has been done in eet.
>>
>> If required, it can be implemented in edje_cc itself rather than in eet image
>> data saving. One more option can be to make this scanning optional which can
>> be done in edje_cc through an option provided this is implementd at edje_cc
>> level rather than at eet level.
>>
>> Change Description:
>>
>> While writing the image to eet file, the image data is scanned to find 
>> out
>> whether the alpha value in header is set to 1 and is not being used in the
>> image. If that is the case while writing, we set the alpha to 0 to avoid
>> blending for such images in the graphics pipeline.
>>
>> This will be an optimization for rendering once the image is loaded from eet
>> file as alpha blending can be avoided for such images.
>>
>> Signed-Off-By: RAJEEV RANJAN
>>
>> Please review the same and provide your feedbacks.
>> Thank You.
>> Regards,
>> Rajeev
>
--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH][EET] Patch to remove the alpha from image header while saving if the alpha is set to 1 but the image is fully opaque

2012-04-13 Thread Rajeev Ranjan
Hi,
   Attached to the mail is a patch to set the alpha information for an image 
header to 0 with alpha present but all the texels being opaque.

The objective of this patch is to avoid the alpha blending for the images which 
don't use alpha but while creating, the alpha channel has been added by the 
creator.
In order to do so, the image individual texels are scanned to find if alpha is 
used in the image for any texel and the image is fully opaque, while saving the 
alpha is set to 0.
If the alpha information in  image header is set to 0 already, then this stage 
is skipped.

This implementation can be done at either eet level or edje level. Currently in 
this patch it has been done in eet.

If required, it can be implemented in edje_cc itself rather than in eet image 
data saving.
One more option can be to make this scanning optional which can be done in 
edje_cc through an option provided this is implementd at edje_cc level rather 
than at eet level.

Change Description:

   While writing the image to eet file, the image data is scanned to find out 
whether the alpha value in header is set to 1 and is not being used in the 
image.
  If that is the case while writing, we set the alpha to 0 to avoid blending 
for such images in the graphics pipeline.

This will be an optimization for rendering once the image is loaded from eet 
file as alpha blending can be avoided for such images.

Signed-Off-By: RAJEEV RANJAN

Please review the same and provide your feedbacks.
Thank You.
Regards,
Rajeev

eet_image.patch
Description: Binary data
--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] Elementary: New custom widget Popup

2012-03-01 Thread Rajeev Ranjan
Hi Raster,
   Following are my comments inlined to your queries.
--
From: "Carsten Haitzler (The Rasterman)" 
Sent: Thursday, March 01, 2012 4:34 PM
To: "Enlightenment developer list" 
Subject: Re: [E-devel] [Patch] Elementary: New custom widget Popup
> On Mon, 20 Feb 2012 20:07:24 +0900 woohyun said:
> 
> 1. why elm_popup_repeat_events_set(). yes - i see that it stops events
> repeating from notify up - but if u dont want them to repeat to parents of
> popup, then juts set the no propagate on the popup and that should do the
> trick... or is this meant to do something else - like work around something?

This API is inline with the notify's API elm_notify_repeat_events_set.
When it is set to TRUE, then it does not have the blocking translucent area
around the content of popup and lower level objects around it
receive the mouse/touch events otherwise events are blocked.


> 2. you can append items, but not clear - that'd really be a minimum for this 
> to
> function properly. other than that - no complaints. get those fixed and then
> just commit it. don't wait for me to re-review.
> 

Popup content ( Item list  or  full content set by app ) can be cleared using 
elm_object_content_set(obj, NULL);  
Popup supports 2 type of contents ( full content or List of items ), above 
approach is followed.

>> I just forward Rajeev's patch about new widget elm_popup :)
>> Please refer to the following message.
>> ==
>> Hi,
>> > On Thu, Feb 16, 2012 at 9:30 AM, Tom Hacohen wrote:
>> > Your patch doesn't apply. Won't review.
>>  This patch is based on latest svn revision 68142, so there should not be any
>> problem in applying it. In the last one, there was an issue in applying for
>> file doc/widget/Makefile.am as Pager's entry from Maklefile was removed
>> later. Thank you. Regards,
>> Rajeev
>> -Original Message-
>> From: "Rajeev Ranjan"<rajee...@samsung.com> 
>> To: "Enlightenment developer
>> list"<enlightenment-devel@lists.sourceforge.net> Cc: "SUBRAMANIAM
>> CHINNACHAMY"<csm...@samsung.com> Sent: 12-02-17(?) 21:15:48
>> Subject: Re: [E-devel] [Patch] Elementary: New custom widget Popup
>> Hi, 
>> > On Thu, Feb 16, 2012 at 9:30 AM, Tom Hacohen<tom.haco...@samsung.com>
>> > wrote: Your patch doesn't apply. Won't review.
>> > 
>> Some updates done during my patch creation & mailing time :( I will update
>> and post it soon ). 
>> > On 16/02/12 16:38, Gustavo Sverzut Barbieri wrote:> aside from that I
>> > wonder what it offers on top of elm_layout. Maybe just add a canned layout
>> > as we do with others?
>> >
>> > how does it compare with inwin?
>>  
>> inwin will cover the entire area of the parent window and it can expand by
>> setting its style to "minimal vertical". Popup can be very small to almost
>> full screen notification with partial transparent outer area. Popup also
>> supports screen orientations ( left,right,top, bottom etc, through Notify).
>> More over, there are marks to deprecate inwin ( refer the elm_win.h), so
>> there is no alternate to elm_popup widget.
>> > Isn't it better to provide styles for notify and inwin?
>> >
>> > 
>>  Popup is custom widget ( elc_popup - enhancement over elm_notify ),
>> simplifies application effort in showing either list or any other content
>> notification with title and action area buttons. Perhaps, one can develop
>> application with Evas & edje, but why do we have elm_layout, elm_separator,
>> naviframe etc... Basically it simplifies the development and provides option
>> to show notification with few lines of code( with uniform look & feel ).
>> > Whenever sending these patches, please elaborate on the need, the
>> > existing solutions and why they do not fit or why they are not
>> > fixable.
>> > 
>>  Features supported by Popup can still be implemented by using the existing
>> widgets such as notify and custom layout having Title, content and action
>> buttons as its internal parts. These features are supported on almost all
>> leading UI widget tool kits as a widget similar to what Popup is supposed to
>> do. Reason is pretty simple as this enables user to get all commonly used
>> features like action button, title, content etc in a form of a single widget
>> which helps in application development. Popup widget is self explanatory one
>> ( common across all the UI toolkits ). its just matter 

Re: [E-devel] [Patch] Elementary: New custom widget Popup

2012-02-22 Thread Rajeev Ranjan
Hi,
   Can someone provide review comments on the newly proposed widget "Popup".
Please consider my previous responses while doing so.
Thanks.
Regards,
Rajeev

==
Date: Mon, 20 Feb 2012 20:07:24 +0900
From: woohyun 
Subject: Re: [E-devel] [Patch] Elementary: New custom widget Popup
To: Enlightenment develo 
Message-ID: <934bf4b353bdfb4bed89020ab9f8a...@tweb03-2.nm>
Content-Type: text/plain; charset="euc-kr"

I just forward Rajeev's patch about new widget elm_popup :)
Please refer to the following message.
==
Hi,
> On Thu, Feb 16, 2012 at 9:30 AM, Tom Hacohen wrote:
> Your patch doesn't apply. Won't review.
This patch is based on latest svn revision 68142, so there should not be any 
problem in applying it.
In the last one, there was an issue in applying for file doc/widget/Makefile.am 
as Pager's entry from Maklefile was removed later.
Thank you.
Regards,
Rajeev
-Original Message-
From: "Rajeev Ranjan" 
To: "Enlightenment developer list"
Cc: "SUBRAMANIAM CHINNACHAMY"
Sent: 12-02-17(?) 21:15:48
Subject: Re: [E-devel] [Patch] Elementary: New custom widget Popup
Hi, 
> On Thu, Feb 16, 2012 at 9:30 AM, Tom Hacohen wrote:
> Your patch doesn't apply. Won't review.
> 
Some updates done during my patch creation & mailing time :( I will update and 
post it soon ).

> On 16/02/12 16:38, Gustavo Sverzut Barbieri wrote:> aside from that I wonder 
> what it offers on top of elm_layout. Maybe
> just add a canned layout as we do with others?
>
> how does it compare with inwin?

inwin will cover the entire area of the parent window and it can expand by 
setting its style to "minimal vertical".
Popup can be very small to almost full screen notification with partial 
transparent outer area.
Popup also supports screen orientations ( left,right,top, bottom etc, through 
Notify).
More over, there are marks to deprecate inwin ( refer the elm_win.h), so there 
is no alternate to elm_popup widget.
> Isn't it better to provide styles for notify and inwin?
>
> 
Popup is custom widget ( elc_popup - enhancement over elm_notify ), simplifies 
application effort in showing either list or any other 
content notification with title and action area buttons. Perhaps, one can 
develop application with Evas & edje, but why do we have elm_layout, 
elm_separator, naviframe etc... Basically it simplifies the development and 
provides option to show notification with few lines of code( with 
uniform look & feel ).
> Whenever sending these patches, please elaborate on the need, the
> existing solutions and why they do not fit or why they are not
> fixable.
> 
Features supported by Popup can still be implemented by using the existing 
widgets such as notify and custom layout having Title, content and action 
buttons as its internal parts.
These features are supported on almost all leading UI widget tool kits as a 
widget similar to what Popup is supposed to do.
Reason is pretty simple as this enables user to get all commonly used features 
like action button, title, content etc in a form of a single widget which helps 
in application development.
Popup widget is self explanatory one ( common across all the UI toolkits ). its 
just matter of whether every 
application should write few hundred lines of C & EDC code or just do with few 
lines of code with popup.

> It's a layout inside an elm_notify if I understand it correctly, I don't
> understand why such a simple widget should become to be 1450 lines.
>> 
> The code became large mostly because of the dynamic rearrangement support for 
> the internal action buttons when deleted and support for multiple content 
> parts including items.

Popup supports List Items with individual item add/delete feature, not just 
with that, also any layout/content .
> Also, I dislike the wrap_set API, I think it's awful.
> 
This API has been added to help app developers control the wrapping of the 
content description text. Most of the time, mixed wrapping should be fine but 
if someone wants, word/char wrapping can be set using this API.

> On Feb 17, 2012 06:34 (GMT+05:30), Daniel Juyung Seo 
> wrote:
> I think Rajeev needs to have a solid explanation why popup is needed even 
> though we already have notify widget. 
> Rajeev, can you describe that?
> Thanks in advance.
> Daniel Juyung Seo (SeoZ)

Popup reuses notify capability to orient itself based on need and resizing 
based on content minimum size.
Encapsulating commonly used stuffs like title, content and action buttons allow 
app developers to reuse the commonly used features in the form of a widget.
In addition to these parts, popup has support for items which helps in quickly 
adding the list of items and setting their int

Re: [E-devel] [Patch] Elementary: New custom widget Popup

2012-02-17 Thread Rajeev Ranjan
Hi, 
> On Thu, Feb 16, 2012 at 9:30 AM, Tom Hacohen  wrote:
> Your patch doesn't apply. Won't review.
> 

Some updates done during my patch creation & mailing time :( I will update and 
post it soon ).
   
> On 16/02/12 16:38, Gustavo Sverzut Barbieri wrote:> aside from that I wonder 
> what it offers on top of elm_layout. Maybe
> just add a canned layout as we do with others?
>
> how does it compare with inwin?
 
inwin will cover the entire area of the parent window and it can expand by 
setting its style to "minimal vertical".

Popup can be very small to almost full screen notification with partial 
transparent outer area.
Popup also supports screen orientations ( left,right,top, bottom etc, through 
Notify).
More over, there are marks to deprecate inwin ( refer the elm_win.h), so there 
is no alternate to elm_popup widget.


> Isn't it better to provide styles for notify and inwin?
>
> 
  Popup is custom widget ( elc_popup - enhancement over elm_notify ), 
simplifies application effort in showing either list  or any other 
content notification with title and action area buttons.  Perhaps, one can 
develop application with Evas & edje, but why do we have elm_layout, 
elm_separator, naviframe etc... Basically it simplifies  the development  and 
provides option to show notification with few lines of code( with 
uniform look & feel ).
> Whenever sending these patches, please elaborate on the need, the
> existing solutions and why they do not fit or why they are not
> fixable.
> 
 Features supported by Popup can still be implemented by using the existing 
widgets such as notify and custom layout having Title, content and action 
buttons as its internal parts.
 These features are supported on almost all leading UI widget tool kits as a 
widget similar to what Popup is supposed to do.
 Reason is pretty simple as this enables user to get all commonly used features 
like action button, title, content etc in a form of a single widget which helps 
in application development.
  Popup widget is self explanatory one ( common across all the UI toolkits ). 
its just matter of whether every 
application should write few hundred lines of C & EDC code  or just do with few 
lines of code with popup.
   
> It's a layout inside an elm_notify if I understand it correctly, I don't
> understand why such a simple widget should become to be 1450 lines.
>> 
> The code became large mostly because of the dynamic rearrangement support for 
> the internal action buttons when deleted and support for multiple content 
> parts including items.
   
  Popup supports  List Items with individual item add/delete feature, not just 
with that, also any layout/content .

> Also, I dislike the wrap_set API, I think it's awful.
> 
 This API has been added to help app developers control the wrapping of the 
content description text. Most of the time, mixed wrapping should be fine but 
if someone wants, word/char wrapping can be set using this API.

   
> On Feb 17, 2012 06:34 (GMT+05:30), Daniel Juyung Seo  
> wrote:
> I think Rajeev needs to have a solid explanation why popup is needed even 
> though we already have notify widget. 
> Rajeev, can you describe that?
> Thanks in advance.
> Daniel Juyung Seo (SeoZ)
 
 Popup reuses notify capability to orient itself based on need and resizing 
based on content minimum size.
 Encapsulating commonly used stuffs like title, content and action buttons 
allow app developers to reuse the commonly used features in the form of a 
widget.
 In addition to these parts, popup has support for items which helps in quickly 
adding the list of items and setting their internal content.

 Thank You.
 Regards,
 Rajeev




--- Original Message ---
Sender : Daniel Juyung Seo
Date : Feb 17, 2012 06:34 (GMT+05:30)
Title : Re: [E-devel] [Patch] Elementary: New custom widget Popup

I think Rajeev needs to have a solid explanation why popup is needed even 
though we already have notify widget.
Rajeev, can you describe that?


Thanks in advance.


Daniel Juyung Seo (SeoZ)


On Thu, Feb 16, 2012 at 11:43 PM, Tom Hacohen  wrote:

On 16/02/12 16:38, Gustavo Sverzut Barbieri wrote:
> On Thu, Feb 16, 2012 at 9:30 AM, Tom Hacohen  wrote:
>> Your patch doesn't apply. Won't review.
>
> aside from that I wonder what it offers on top of elm_layout. Maybe
> just add a canned layout as we do with others?
>
> how does it compare with inwin?
>
> Isn't it better to provide styles for notify and inwin?
>
> Whenever sending these patches, please elaborate on the need, the
> existing solutions and why they do not fit or why they are not
> fixable.
>
>


It's a layout inside an elm_notify if I understand it correctly, I don't
understand why such a simple widget should become to be 1450 lines.

Also, I dislike the wrap_set API, I think it's awful.

--
Tom.


--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes u

Re: [E-devel] [Patch] Elementary: New custom widget Popup

2012-02-17 Thread Rajeev Ranjan

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] elm_panes patch

2012-02-03 Thread Rajeev Ranjan
Hi Michael,
> On 02/03/12 00:12, Christopher Michael wrote:
> Ok, so how about elm_panes_position_fixed_set ?
I agree with this new name.
How about  making the existing API elm_panes_fixed_set() work by applying the 
patch for default theme and then replace this API with 
elm_panes_poistion_fixed_set() by deprecating the existing one?
I would need to update the documentation for these existing APIs as well as it 
is not there at present.
Thank you.
Regards,
Rajeev

--- Original Message ---
Sender : Christopher Michael
Date : Feb 03, 2012 20:55 (GMT+05:30)
Title : Re: [E-devel] [Patch] elm_panes patch

On 02/03/12 00:12, Rajeev Ranjan wrote:
> Hi,
>>>> On 02/02/12 10:41, Michael Blumenkrantz wrote:
>>>> I'd like to see:
>>>>
>>>>>>   This patch addresses the issue of API elm_panes_fixed_set
>>>>>   'size_fixed_set'
>>>>
>>>> renamed to elm_panes_size_fixed_set OR elm_panes_fixed_size_set ...
>>>> elm_panes_fixed_set doesn't exactly tell me what is being "fixed".
>>>>
>
> imho, elm_panes_size_fixed_set() gives the impression that the overall panes 
> size can't be changed however that is not the case as one can do so by 
> putting panes in a widget which can change its overall size.
> However this API just fixes the handler's poistion at the current relative 
> position so that the contents' relative sizes don't change by dragging the 
> handler.
>
Ok, so how about elm_panes_position_fixed_set ?

dh

>>> On Thu, 02 Feb 2012 10:38:20 -0500
>>> Christopher Michael   wrote:
>>> hmm imo elm_panes_locked_set() might be even better since this more 
>>> effectively
>>> describes the actual operation taking place
>
> Yeah, this looks better. We can consider something like 
> elm_panes_handler_fixed_set() if people here don't agree with the API name 
> elm_panes_locked_set().
> But now when this API(elm_panes_fixed_set) is already there in the elementary 
> package, won't it be better to make this API working by applying this patch 
> and then deprecate it and replace it with new one!
> Regards,
> Rajeev
>
> --- Original Message ---
> Sender : Michael Blumenkrantz
> Date : Feb 02, 2012 21:19 (GMT+05:30)
> Title : Re: [E-devel] [Patch] elm_panes patch
>
> On Thu, 02 Feb 2012 10:46:33 -0500
> Christopher Michael wrote:
>
>> On 02/02/12 10:41, Michael Blumenkrantz wrote:
>>> On Thu, 02 Feb 2012 10:38:20 -0500
>>> Christopher Michael  wrote:
>>>
>>>> On 02/02/12 08:40, Rajeev Ranjan wrote:
>>>>> Hi Michael,
>>>>>   Without this patch even if one sets the second parameter of API
>>>>> elm_panes_fixed_set(Evas_Object obj, Eina_Bool fixed) to EINA_TRUE, there
>>>>> is no impact and handler does not get fixed to the current location. The
>>>>> internal edje signals emitted in this API is not handled in default
>>>>> theme's edc, hence there is no effect. The parts and programs needed to
>>>>> handle these edje signals for default theme are included in this patch. I
>>>>> can raise a separate patch for updating the documentation of this API in
>>>>> the header file src/lib/elm_panes.h once we get it working for default
>>>>> theme. Regards, Rajeev
>>>>>
>>>>> P.S.: Resending the mail as the previous one's content was not sent to the
>>>>> community.
>>>>>
>>>>
>>>> I'd like to see:
>>>>
>>>>>>   This patch addresses the issue of API elm_panes_fixed_set
>>>>>   'size_fixed_set'
>>>>
>>>> renamed to elm_panes_size_fixed_set OR elm_panes_fixed_size_set ...
>>>> elm_panes_fixed_set doesn't exactly tell me what is being "fixed".
>>>>
>>>> dh
>>>>
>>>>>
>>>>> --- Original Message ---
>>>>> Sender : Christopher Michael
>>>>> Date : Feb 02, 2012 14:36 (GMT+05:30)
>>>>> Title : Re: [E-devel] [Patch] elm_panes patch
>>>>>
>>>>> On 02/02/12 01:15, Rajeev Ranjan wrote:
>>>>>> Hi,
>>>>>>
>>>>>> Attached to the mail is patch for Elementary Widget elm_panes.
>>>>>> This patch addresses the issue of API elm_panes_fixed_set
>>>>> 'size_fixed_set'
>>>>>
>>>>> dh
>>>>>
>>>>>  not working as the signal re

Re: [E-devel] [Patch] elm_panes patch

2012-02-02 Thread Rajeev Ranjan
Hi,
> >> On 02/02/12 10:41, Michael Blumenkrantz wrote:
> >> I'd like to see:
> >>
> >>   >>  This patch addresses the issue of API elm_panes_fixed_set
> >>   >  'size_fixed_set'
> >>
> >> renamed to elm_panes_size_fixed_set OR elm_panes_fixed_size_set ...
> >> elm_panes_fixed_set doesn't exactly tell me what is being "fixed".
> >>
  
imho, elm_panes_size_fixed_set() gives the impression that the overall panes 
size can't be changed however that is not the case as one can do so by putting 
panes in a widget which can change its overall size.
However this API just fixes the handler's poistion at the current relative 
position so that the contents' relative sizes don't change by dragging the 
handler.

>> On Thu, 02 Feb 2012 10:38:20 -0500
>> Christopher Michael  wrote:
>> hmm imo elm_panes_locked_set() might be even better since this more 
>> effectively
>> describes the actual operation taking place

Yeah, this looks better. We can consider something like 
elm_panes_handler_fixed_set() if people here don't agree with the API name 
elm_panes_locked_set().
But now when this API(elm_panes_fixed_set) is already there in the elementary 
package, won't it be better to make this API working by applying this patch and 
then deprecate it and replace it with new one!
Regards,
Rajeev

--- Original Message ---
Sender : Michael Blumenkrantz
Date : Feb 02, 2012 21:19 (GMT+05:30)
Title : Re: [E-devel] [Patch] elm_panes patch

On Thu, 02 Feb 2012 10:46:33 -0500
Christopher Michael wrote:

> On 02/02/12 10:41, Michael Blumenkrantz wrote:
> > On Thu, 02 Feb 2012 10:38:20 -0500
> > Christopher Michael  wrote:
> >
> >> On 02/02/12 08:40, Rajeev Ranjan wrote:
> >>> Hi Michael,
> >>>  Without this patch even if one sets the second parameter of API
> >>> elm_panes_fixed_set(Evas_Object obj, Eina_Bool fixed) to EINA_TRUE, there
> >>> is no impact and handler does not get fixed to the current location. The
> >>> internal edje signals emitted in this API is not handled in default
> >>> theme's edc, hence there is no effect. The parts and programs needed to
> >>> handle these edje signals for default theme are included in this patch. I
> >>> can raise a separate patch for updating the documentation of this API in
> >>> the header file src/lib/elm_panes.h once we get it working for default
> >>> theme. Regards, Rajeev
> >>>
> >>> P.S.: Resending the mail as the previous one's content was not sent to the
> >>> community.
> >>>
> >>
> >> I'd like to see:
> >>
> >>   >>  This patch addresses the issue of API elm_panes_fixed_set
> >>   >  'size_fixed_set'
> >>
> >> renamed to elm_panes_size_fixed_set OR elm_panes_fixed_size_set ...
> >> elm_panes_fixed_set doesn't exactly tell me what is being "fixed".
> >>
> >> dh
> >>
> >>>
> >>> --- Original Message ---
> >>> Sender : Christopher Michael
> >>> Date : Feb 02, 2012 14:36 (GMT+05:30)
> >>> Title : Re: [E-devel] [Patch] elm_panes patch
> >>>
> >>> On 02/02/12 01:15, Rajeev Ranjan wrote:
> >>>> Hi,
> >>>>
> >>>> Attached to the mail is patch for Elementary Widget elm_panes.
> >>>> This patch addresses the issue of API elm_panes_fixed_set
> >>> 'size_fixed_set'
> >>>
> >>> dh
> >>>
> >>> not working as the signal required to do so is not handled in default
> >>> theme.
> >>> signals..sigs..
> >>>
> >>>>
> >>>> Change Log:
> >>>> a. Implementation of API elm_panes_fixed_set for default theme. When this
> >>>> property is set to TRUE, then the handler gets invisible
> >>>
> >>> last i checked, invisible was invis.not for the user..wm ovrd? input
> >>> only?
> >>>
> >>> and user can't change the relative size of the contents by dragging it.
> >>>>
> >>> no more comment right now.
> >>>
> >>> dh
> >>>
> >>>> Signed-Off-By: RAJEEV RANJAN
> >>>>
> >>>>
> >>>>
> >>>> In the current API elm_panes_fixed_set, we don't disable the content
> >>>> regions, just divider is set to fixed at the current position.
> >>&

Re: [E-devel] [Patch] elm_panes patch

2012-02-02 Thread Rajeev Ranjan
Hi Michael,
   Without this patch even if one sets the second parameter of API 
elm_panes_fixed_set(Evas_Object obj, Eina_Bool fixed) to EINA_TRUE, there is no 
impact and handler does not get fixed to the current location.
The internal edje signals emitted in this API is not handled in default theme's 
edc, hence there is no effect.
The parts and programs needed to handle these edje signals for default theme 
are included in this patch.
I can raise a separate patch for updating the documentation of this API in the 
header file src/lib/elm_panes.h once we get it working for default theme.
Regards,
Rajeev 

P.S.: Resending the mail as the previous one's content was not sent to the 
community.


--- Original Message ---
Sender : Christopher Michael
Date : Feb 02, 2012 14:36 (GMT+05:30)
Title : Re: [E-devel] [Patch] elm_panes patch

On 02/02/12 01:15, Rajeev Ranjan wrote:
> Hi,
>
> Attached to the mail is patch for Elementary Widget elm_panes.
> This patch addresses the issue of API elm_panes_fixed_set
'size_fixed_set'

dh

  not working as the signal required to do so is not handled in default 
theme.
signals..sigs..

>
> Change Log:
> a. Implementation of API elm_panes_fixed_set for default theme. When this 
> property is set to TRUE, then the handler
> gets invisible

last i checked, invisible was invis.not for the user..wm ovrd? input 
only?

and user can't change the relative size of the contents by dragging it.
>
no more comment right now.

dh

> Signed-Off-By: RAJEEV RANJAN
>
>
>
> In the current API elm_panes_fixed_set, we don't disable the content regions, 
> just divider is set to fixed at the current position.
>
> We are not implementing this using disable_hook as I could not find any 
> disable_hook for similar containers like panel, box etc and moreover we won't 
> be disabling the content regions in this case
> which will be different from the existing implementations for disable_hook in 
> multiple widgets.
>
>
> Thank you
> Regards,
> Rajeev
>
>
>
> --
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
>
>
>
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] elm_panes patch

2012-02-02 Thread Rajeev Ranjan

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [Patch] elm_panes patch

2012-02-01 Thread Rajeev Ranjan
Hi,

Attached to the mail is patch for Elementary Widget elm_panes.
This patch addresses the issue of API elm_panes_fixed_set not working as the 
signal required to do so is not handled in default theme.

Change Log:
a. Implementation of API elm_panes_fixed_set for default theme. When this 
property is set to TRUE, then the handler
gets invisible and user can't change the relative size of the contents by 
dragging it.

Signed-Off-By: RAJEEV RANJAN 



In the current API elm_panes_fixed_set, we don't disable the content regions, 
just divider is set to fixed at the current position.

We are not implementing this using disable_hook as I could not find any 
disable_hook for similar containers like panel, box etc and moreover we won't 
be disabling the content regions in this case
which will be different from the existing implementations for disable_hook in 
multiple widgets.


Thank you
Regards,
Rajeev

elm_panes.patch
Description: Binary data
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [Patch] Some memory issue fixes for elementary

2011-09-21 Thread Rajeev Ranjan
Hi all,
   I found few memory related issues in elementary package when performed 
static analysis on it.

These issues include:
Array indices getting out of bounds, freed memory address being passed to a 
function as parameter, memory not getting cleaned up because of earlier return 
statement.

Issues details:
1. In elm_widget.c inside function elm_widget_signal_callback_del(),  it is 
possible that freed memory address esd is passed to the 
sd->callback_del_func(). I think it should be data, not esd.
Moreover what if the callback frees memory for data, then the other problem is 
that the return value is data from the function 
elm_widget_signal_callback_del() which in my opinion can be a problem.

2. Inside directory src/edje_externals for files elm_genlist.c, elm_notify.c, 
elm_list.c, elm_thumb.c and elm_map.c, array indices can go beyound bounary.
sizeof() operator for an array of character pointers will return [number of 
elements in the array * size of (char*)], basically 4 times the number of 
elements which has been taken care in assertion inside src/edje_extenarnals
while performing assertion but has been missed in the next statement in the 
loop condition.

3. In file src/lib/elm_config.c inside function _elm_config_profiles_list, 
freeing of file iterator has been missed out.

Please review the attached patch and let me know your opinion.

Thanks.
Regards,
Rajeev


elementary_memory_fixes.patch
Description: Binary data
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] elm_progressbar patch

2011-06-01 Thread RAJEEV RANJAN

   Hi Hermet,

  Adding a text part using edje text part in edc is possible however if we
   use this approach then we won't be able to provide i18n support as this
   support is not there at edje level as of now.

   As far as breaking of themability is concerned, as the name of parts along
   with label for those in the list are being maintained, so on theme change
   the widget can apply these parts label if those parts are present in the new
   theme.

   An application using progressbar anyway will be aware of the text parts
   which it is interesting in adding, so it should provide those parts in all
   themes or extensions/overlays.

   Thanks.

   Regards,

   Rajeev


   --- Original Message ---

   Message: 1
   Date: Wed, 01 Jun 2011 17:49:35 +0900
   From: ChunEon Park
   Subject: Re: [E-devel] [Patch] elm_progressbar patch
   To: ChunEon Park
   Cc: prince.du...@samsung.com, 'EFL'
   Message-ID: <7677c7613f53ca7088b6efde4e7ce...@tweb36-2.nm>
   Content-Type: text/plain; charset="EUC-KR"
   Hi, prince.
   I checked your patch right before.
   But I dont like these new APIs.
   Currently progressbar provides label_set API for normal case.
   and  people  could add extra text with text-part in separted layout or
   elm_label or something else if they need.
   This kind of API would make the widget break theme changing.
   Doesn't it?
   Thanks.
   
   Let's run together for the best moment!
   -Regards, Hermet-
   -Original Message-
   From: "ChunEon Park"
   To: "'ChunEon Park'";
   "'EFL'"
   Cc: prince.du...@samsung.com
   Sent: 11-05-26(?) 11:17:05
   Subject: RE: [E-devel] [Patch] elm_progressbar patchOops, I missed patch
   file.
   Try it again! :p
   -Original Message-
   From: ChunEon Park [mailto:her...@naver.com]
   Sent: Thursday, May 26, 2011 11:14 AM
   To: EFL
   Cc: prince.du...@samsung.com
   Subject: [E-devel] [Patch] elm_progressbar patch
   Hi,
   This patch is sent by Prince Kumar Dubey (prince.du...@samsung.com)
   Could somebody review this patch?
   If nobody review this, then I will later.
   Thanks.
   
   Let's run together for the best moment!
   -Regards, Hermet-
   
   --
   vRanger cuts backup time in half-while increasing security.
   With the market-leading solution for virtual backup and recovery,
   you get blazing-fast, flexible, and affordable data protection.
   Download your free trial now.
   http://p.sf.net/sfu/quest-d2dcopy1
   ___
   enlightenment-devel mailing list
   enlightenment-devel@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
   [SeenTimeChecker?do=705252d897453316b22ebdd87d25aaf3c8f3520e2c71f17ff1d2345d
   123b7a3c770255183a8f81f75f2c6c48df01bb6e980b3871b38ac2d74ed859d628c32758
   cd62c5cf0684a728c55b39cc59eacf878f9a26ce15a0]
--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Proposal on extending elm_notify functionalities for having title support

2011-05-03 Thread RAJEEV RANJAN

   Hi Raster,

   I got the opinion from you and many others in EFL community and I'm
   working on elc_popup which uses elm_notify internally. :)

   Thanks for the feedback.

   Regards,

   Rajeev


   --- Original Message ---

   Sender : Carsten Haitzler

   Date : May 04, 2011 03:44 (GMT+05:30)

   Title : Re: [E-devel] Proposal on extending elm_notify functionalities for
   having title support


   On Wed, 4 May 2011 00:57:33 +0900 Daniel Juyung Seo said:
   i've said my piece.. elc_popup (or elc_dialog). ie use elm_notify, but stick
   a
   standard "dialog window content" in it.
   > Any updates for this issue?
   >
   > Daniel Juyung Seo (SeoZ)
   > On Apr 29, 2011 3:26 PM, "Daniel Juyung Seo" wrote:
   > > 1. Add this feature to notify.
   > > 2. Make a new widget
   > > 3. Use elm_layout
   > >
   > > 1 doesn't look so promising.
   > > I prefer 2. Those kind of combination(title, content, action area) is
   > common
   > > I think.
   > > We can do this by 3 even now :) But still 2 is useful :)
   > >
   > > Thanks.
   > > Daniel Juyung Seo (SeoZ)
   > >
   > >
   > > On Fri, Apr 29, 2011 at 2:34 PM, Carsten Haitzler > >wrote:
   > >
   > >> On Tue, 26 Apr 2011 15:10:58 +0200 Atton Jonathan <
   > >> jonathan.at...@gmail.com>
   > >> said:
   > >>
   > >> agreed. elm_notify is popping up SOME generic object thing in the
   window
   > >> (at
   > >> some location) maybe having it animate on show and hide, and contain
   some
   > >> content. what rajeev is suggesting is some pre-defined standard content
   > >> COMBINEd with elm_notify. ie... danieal elc_popup.c suggestion is
   right.
   > >> its a
   > >> "pre-combined widget" that is known to be made up of specific child
   > >> components
   > >> pre-combined in a generally useful way that is used often enough in
   > >> multiple
   > >> apps where duplicating this in every app all the time is useless and
   thus
   > >> making a common implementation is useful.
   > >>
   > >> > no new windows :o I do no like it !
   > >> >
   > >> > elm_notify can be use to do more than displaying a dialog windows,
   > that's
   > >> > why I think we should do it in a new widget.
   > >> >
   > >> > 2011/4/26 Nicolas Aguirre
   > >> >
   > >> > >
   > >> > >
   > >> > > 2011/4/26 Daniel Juyung Seo
   > >> > >
   > >> > >> Something like elc_popup.c ?
   > >> > >> I like that!
   > >> > >>
   > >> > >> Thanks.
   > >> > >> Daniel Juyung Seo (SeoZ)
   > >> > >>
   > >> > >>
   > >> > >>
   > >> > > It would be usefull to have the popup/notify who displayed in his
   own
   > >> > > window whith an extra API. What do you think about it ?
   > >> > >
   > >> > > IMO, ELM_Notify is the right place for it.
   > >> > >
   > >> > >
   > >> > > --
   > >> > > Nicolas Aguirre
   > >> > > Mail: aguirre.nico...@gmail.com
   > >> > > Web: http://enna.geexbox.org
   > >> > > Blog: http://dev.enlightenment.fr/~captainigloo/
   > >> > >
   > >> >
   > >> >
   > >> >
   > >> > --
   > >> > Regards.
   > >> >
   > >>
   >
   
   --
   > >> > WhatsUp Gold - Download Free Network Management Software
   > >> > The most intuitive, comprehensive, and cost-effective network
   > >> > management toolset available today. Delivers lowest initial
   > >> > acquisition cost and overall TCO of any competing solution.
   > >> > http://p.sf.net/sfu/whatsupgold-sd
   > >> > ___
   > >> > 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
   > >>
   > >>
   > >>
   > >>
   >
   
   --
   > >> WhatsUp Gold - Download Free Network Management Software
   > >> The most intuitive, comprehensive, and cost-effective network
   > >> management toolset available today. Delivers lowest initial
   > >> acquisition cost and overall TCO of any competing solution.
   > >> http://p.sf.net/sfu/whatsupgold-sd
   > >> ___
   > >> 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


   [SeenTimeChecker?do=b0f0001462bf730b1d3ef2356668a507b99c939596a902adf1d2345d
   123b7a3c770255183a8f81f75f2c6c48df01bb6e980b3871b38ac2d74ed859d628c32758
   cd62c5cf0684a728c55b39cc59eacf878f9a26ce15a0]
--
WhatsUp Gold - Download Free Network Management

Re: [E-devel] Proposal on extending elm_notify functionalities for having title support

2011-04-27 Thread RAJEEV RANJAN

   Hi All,

  I would like to add a point that I don't intend to modify the content
   part. Rather I am proposing to have two additional swallow parts for title
   and action areas.

   So the existing functionalities and APIs will not get affected. We will get
   additional features to set the title and action areas if needed.

   Thanks.

   Regards,

   Rajeev


   --- Original Message ---

   Sender  : RAJEEV RANJAN Lead Engineer/SISO-Linux
   Platform Lab/Samsung Electronics

   Date : Apr 27, 2011 12:31 (GMT+05:30)

   Title : Re: [E-devel] Proposal on extending elm_notify functionalities for
   having title support


   Hi all,

  Thanks for your valuable feedbacks.

   The change what I am proposing is in content part to have 2 optional parts
   viz. title-area and action-area.

   I was not proposing to change the existing APIs and the overall architecture
   will remain same. So there will be no issue to the existing application.

   This will give more flexibility to user and will allow to set title to the
   notify without need to create the overall content with title and action-area
   for each usage.

   Title  and  action  area can be swallow parts(internal) as you rightly
   said which can have some size based on the style or zero size based on
   whether they are present or not.

   IMHO, this will not break the generic approach of having a generic content
   to the notify as this will be continued in the extended version as well with
   2 additional optional parts viz. title and action areas.

   Please let me know your opinion on this.

   Regards,

   Rajeev


   --- Original Message ---

   Sender : Bruno Dilly

   Date : Apr 26, 2011 19:33 (GMT+05:30)

   Title : Re: [E-devel] Proposal on extending elm_notify functionalities for
   having title support


   On Tue, Apr 26, 2011 at 9:58 AM, Tom Hacohen
   wrote:
   > I don't think a new widget just for that is a good idea, why not just
   > create a different theme?
   Maybe it's not required. It will depends what is intended.
   Right now notify is designed the more generic way as possible: content
   is a swallow. So you can set any evas object you want, you can set a
   box with a title label, a description label, and how many buttons you
   want, or even better, you can set a elm_layout as content, and use a
   design more interesting than a box. Sure, you'll need a group for
   that, but it's up to your application.
   If you want to add these new parts to the widget theme, it can be
   done, but it will add complexity to all elementary themes and to the
   code that will need to be maintained. So before adding anything to the
   libs you should analyze if it's generic enough to be relevant.
   My 2 cents.
   >
   > --
   > Tom.
   >
   > On Tue, 2011-04-26 at 14:47 +0200, Atton Jonathan wrote:
   >> hum.
   >>
   >> Maybe you should create a new widget which use elm_notify ?
   >>
   >> 2011/4/26 RAJEEV RANJAN
   >>
   >> >
   >> >   Hi All,
   >> >
   >>  > I  am  planning  to use elm_notify which provides a nice
   functionality
   >> > for
   >> >   showing  alert message/important information on the screen.
   >> >
   >> >   In addition to the existing functionalities, we need to have title
   >> > support
   >> >   so that we can show the  title to the notify if needed.
   >> >
   >> >
   >> >   For this I am proposing following changes in the content part of
   Notify.
   >> >
   >> >   Content ==> Title(optional) + Content + Action-area(optional)
   >> >
   >> >
   >> >   Action-area can hold button item(s) in the current content region of
   >> > notify
   >> >   and on clicking on these, user will be notified
   >> >
   >> >   and can handle the event in the callback, say hiding of the notify
   and/or
   >> >   doing some logic operations . This will enable to handle the action
   not
   >> > only
   >> >   on blocked event area but to action area as well.
   >> >
   >> >   User should be able to set new button items to action-area through
   API
   >> > like
   >> >   [Evas_Object *elm_notify_action_area_button_add( notify,
   >> >   button)].
   >> >
   >> >   Please let me know about your valuable opinion on this as whether
   >> > extending
   >> >   elm_notify for this functionality is a good idea.
   >> >
   >> >   Thanks.
   >> >
   >> >   Regards,
   >> >
   >> >   Rajeev
   >> >
   >> >
   >> >
   >> >
   >> >
   [SeenTimeChecker?do=9213de45efed55c3c2f82d733db96f82385dda2b8b7eb147f1d2345d

[E-devel] Proposal on extending elm_notify functionalities for having title support

2011-04-26 Thread RAJEEV RANJAN

   Hi All,

  I am planning to use elm_notify which provides a nice functionality for
   showing  alert message/important information on the screen.

   In addition to the existing functionalities, we need to have title support
   so that we can show the  title to the notify if needed.


   For this I am proposing following changes in the content part of Notify.

   Content ==> Title(optional) + Content + Action-area(optional)


   Action-area can hold button item(s) in the current content region of notify
   and on clicking on these, user will be notified

   and can handle the event in the callback, say hiding of the notify and/or
   doing some logic operations . This will enable to handle the action not only
   on blocked event area but to action area as well.

   User should be able to set new button items to action-area through API like
   [Evas_Object *elm_notify_action_area_button_add( notify,
   button)].

   Please let me know about your valuable opinion on this as whether extending
   elm_notify for this functionality is a good idea.

   Thanks.

   Regards,

   Rajeev



   [SeenTimeChecker?do=9213de45efed55c3c2f82d733db96f82385dda2b8b7eb147f1d2345d
   123b7a3c770255183a8f81f75f2c6c48df01bb6e980b3871b38ac2d74ed859d628c32758
   cd62c5cf0684a728c55b39cc59eacf878f9a26ce15a0]
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Proposal on providing internationalization support for EDC TEXT

2011-03-18 Thread Rajeev Ranjan
Hi,

 

TEXT/TEXTBLOCK supports setting a string directly in edc.  So how to 
internationalize this string?

 

We thought of few approaches. I am listing down them here.

 

Approach  1:

   Widgets/Applications based on elementary can use API 
edje_object_part_text_set(Evas_Object*, const char*, const 
char* ); to set the text part by making use of I18N support of 
elementary(using gettext).

Pros/Cons: This again depends in C Code, Theme extendibility is lost.

 

Approach 2: 

   Having separate Attibutes to TEXT/TEXTBLOCK part for each of the languages 
being supported.

e.g. text.text_enGB:"http://p.sf.net/sfu/internap-sfd2d
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Opinion regarding auto-expansion of some of the elementary widgets based on their content

2011-02-11 Thread Rajeev Ranjan
 Hello all, 
   This is regarding the auto-resizing of some of the elementary widgets when 
their content get modified.
For example, in case of elm_button when we modify the text of the button then 
the button size gets changed.
This happens in this widget by resetting the min size hint of the widget based 
on edje calculated size insize function "_sizing_eval()".
But sometimes even application/another widget using elm_button may set the min 
size hint for the button widget which gets over-written in this function 
resulting to no effect for the hint set by application.
If we swallow the button in an edc group then there is no issue as edje will 
keep reinforcing the size on it however if we place the button at some 
location/alignment and set the min hint size for this(without explicitly 
resizing it) then the size of button will be the same as the min size hint set 
and will change based on the text length which may not be the desired behavior 
in some cases and the application may want to set the size of the button based 
on some logic suited to the application, say half/one-third of the avaliable 
width.

IMHO, we can have an API, say elm_object_autoexpand_set(obj, 
EINA_TRUE). 
Based on the second parameter we can compare the current min size of the widget 
and edje calculated minimum size in function "_sizing_eval()".
If the second paramer be true, then we can simply reset the minimum size to 
edje calculated minimum size ELSE we can see if the current min size is greater 
than the edje calculated minimum size, in which case we won't reset it else we 
will.

Such kind of requirement is not limited to elm_button and may be needed for 
other widgets too, hence I am proposing the change at elm_widget level.

Please let me know your opinion on this proposal.
Thank You.
Regards,
Rajeev

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] How to stack internal smart members of a smart object correctly against any other Evas Object

2010-12-31 Thread RAJEEV RANJAN

   Hi, this is Rajeev.

   I want to create a widget in which there are some smart members(created
   using evas_object_smart_member_add).

   I am animating these members(layouts) to achieve some sort of effect.

   Now I want to stack these smart members internally in such a way that it
   respects the stacking of overall widget in the application.

   E.g.,  If I put some part on top of this widget(as a swallow part in the
   edc) then the new part should appear on top of all the internal Evas objects
   as well.

   I have gone through  the earlier posts on this forum related to stacking of
   smart members of a smart object.

   Please suggest some way to achieve this requirement.

   Regards,
   Rajeev


   [SeenTimeChecker?do=4e59822364a34d8a5fd3a96d53a665d56900575e0da81329f1d2345d
   123b7a3c770255183a8f81f75f2c6c48df01bb6e980b3871b38ac2d74ed859d628c35636
   153862824035326bbdfb2ea96a2fcf878f9a26ce15a0]
--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel