[E-devel] gsoc 2009

2009-03-27 Thread Amitav Mohanty
Hello

I am applying in GSoC 2009 for the project idea:RTF document evas-based
renderer. I intend to design a generic rtf rendering library, say
librtf and a module ertf that renders rtf documents using librtf in an
evas text block. Support for tables and images shall be excluded. Ertf
shall conform to the RTF specification version 1.0.

Regards,
Amitav

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


Re: [E-devel] [PATCH] Simple patch for default E theme

2009-03-27 Thread Toma
No need to make an alternate shelf, just need to make it respond to
orientation. Its detailed in the commented out section of your patch.
:)

-Toma


2009/3/27 Mike Rutter roo...@loopfree.net:

 Here is a patch to create a version of the alternate shelf
 theme that works when the shelf is vertical.  All it does
 is take the alternate version and removes the shine part.
 The shine part bands horribly when the shelf is vertical.
 Removing it creates a nice gradient with the over part
 creating separation for the darker portion of the shelf.

 Mike


 --

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



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


[E-devel] [PATCH] ecore_evas_fb.c fix input

2009-03-27 Thread Lars Munch

This patch fixes a bug in ecore_evas_fb.c introduced by the big eina
list conversion. The bug resulted in no input devices where added when
using framebuffer. This patch also cleans up some related NULL
checks that are not needed any more.

Signed-off-by: Lars Munch l...@segv.dk
---
 src/lib/ecore_evas/ecore_evas_fb.c |   75 +++
 1 files changed, 32 insertions(+), 43 deletions(-)

diff --git a/src/lib/ecore_evas/ecore_evas_fb.c 
b/src/lib/ecore_evas/ecore_evas_fb.c
index 074f2ed..39c4af4 100644
--- a/src/lib/ecore_evas/ecore_evas_fb.c
+++ b/src/lib/ecore_evas/ecore_evas_fb.c
@@ -87,11 +87,9 @@ _ecore_evas_fb_lose(void *data __UNUSED__)
ee = (Ecore_Evas *)l;
ee-visible = 0;
  }
-   if (ecore_evas_input_devices)
- {
-   EINA_LIST_FOREACH(ecore_evas_input_devices, ll, dev)
- ecore_fb_input_device_listen(dev, 0);
- }
+
+   EINA_LIST_FOREACH(ecore_evas_input_devices, ll, dev)
+ ecore_fb_input_device_listen(dev, 0);
 }
 
 static void
@@ -112,11 +110,9 @@ _ecore_evas_fb_gain(void *data __UNUSED__)
else
  evas_damage_rectangle_add(ee-evas, 0, 0, ee-w, ee-h);
  }
-   if (ecore_evas_input_devices)
- {
-   EINA_LIST_FOREACH(ecore_evas_input_devices, ll, dev)
- ecore_fb_input_device_listen(dev, 1);
- }
+
+   EINA_LIST_FOREACH(ecore_evas_input_devices, ll, dev)
+ ecore_fb_input_device_listen(dev, 1);
 }
 
 static int
@@ -289,38 +285,35 @@ _ecore_evas_fb_init(int w, int h)
 
caps = ecore_fb_input_device_cap_get(device);
 
-   if (ecore_evas_input_devices)
- {
-/* Mouse */
+   /* Mouse */
 #ifdef HAVE_TSLIB
-if (caps  ECORE_FB_INPUT_DEVICE_CAP_RELATIVE)
+   if (caps  ECORE_FB_INPUT_DEVICE_CAP_RELATIVE)
 #else
-if ((caps  ECORE_FB_INPUT_DEVICE_CAP_RELATIVE) || (caps  
ECORE_FB_INPUT_DEVICE_CAP_ABSOLUTE))
+   if ((caps  ECORE_FB_INPUT_DEVICE_CAP_RELATIVE) || (caps  
ECORE_FB_INPUT_DEVICE_CAP_ABSOLUTE))
 #endif
+ {
+ecore_fb_input_device_axis_size_set(device, w, h);
+ecore_fb_input_device_listen(device,1);
+ecore_evas_input_devices = 
eina_list_append(ecore_evas_input_devices, device);
+if (!mouse_handled)
   {
- ecore_fb_input_device_axis_size_set(device, w, h);
- ecore_fb_input_device_listen(device,1);
- ecore_evas_input_devices = 
eina_list_append(ecore_evas_input_devices, device);
- if (!mouse_handled)
-   {
-  ecore_evas_event_handlers[2]  = 
ecore_event_handler_add(ECORE_FB_EVENT_MOUSE_BUTTON_DOWN, 
_ecore_evas_event_mouse_button_down, NULL);
-  ecore_evas_event_handlers[3]  = 
ecore_event_handler_add(ECORE_FB_EVENT_MOUSE_BUTTON_UP, 
_ecore_evas_event_mouse_button_up, NULL);
-  ecore_evas_event_handlers[4]  = 
ecore_event_handler_add(ECORE_FB_EVENT_MOUSE_MOVE, 
_ecore_evas_event_mouse_move, NULL);
-  ecore_evas_event_handlers[5]  = 
ecore_event_handler_add(ECORE_FB_EVENT_MOUSE_WHEEL, 
_ecore_evas_event_mouse_wheel, NULL);
-  mouse_handled = 1;
-   }
+ ecore_evas_event_handlers[2]  = 
ecore_event_handler_add(ECORE_FB_EVENT_MOUSE_BUTTON_DOWN, 
_ecore_evas_event_mouse_button_down, NULL);
+ ecore_evas_event_handlers[3]  = 
ecore_event_handler_add(ECORE_FB_EVENT_MOUSE_BUTTON_UP, 
_ecore_evas_event_mouse_button_up, NULL);
+ ecore_evas_event_handlers[4]  = 
ecore_event_handler_add(ECORE_FB_EVENT_MOUSE_MOVE, 
_ecore_evas_event_mouse_move, NULL);
+ ecore_evas_event_handlers[5]  = 
ecore_event_handler_add(ECORE_FB_EVENT_MOUSE_WHEEL, 
_ecore_evas_event_mouse_wheel, NULL);
+ mouse_handled = 1;
   }
-/* Keyboard */
-else if ((caps  ECORE_FB_INPUT_DEVICE_CAP_KEYS_OR_BUTTONS)  
!(caps  ECORE_FB_INPUT_DEVICE_CAP_ABSOLUTE))
+ }
+   /* Keyboard */
+   else if ((caps  ECORE_FB_INPUT_DEVICE_CAP_KEYS_OR_BUTTONS)  !(caps  
ECORE_FB_INPUT_DEVICE_CAP_ABSOLUTE))
+ {
+ecore_fb_input_device_listen(device,1);
+ecore_evas_input_devices = 
eina_list_append(ecore_evas_input_devices, device);
+if (!keyboard_handled)
   {
- ecore_fb_input_device_listen(device,1);
- ecore_evas_input_devices = 
eina_list_append(ecore_evas_input_devices, device);
- if (!keyboard_handled)
-   {
-  ecore_evas_event_handlers[0]  = 
ecore_event_handler_add(ECORE_FB_EVENT_KEY_DOWN, _ecore_evas_event_key_down, 
NULL);
-  ecore_evas_event_handlers[1]  = 
ecore_event_handler_add(ECORE_FB_EVENT_KEY_UP, _ecore_evas_event_key_up, NULL);
-  keyboard_handled = 1;
-   }
+ ecore_evas_event_handlers[0]  

Re: [E-devel] edje_object_size_min_calc() doesn't return correct size

2009-03-27 Thread Nicolas Aguirre
On Wed, Mar 25, 2009 at 6:29 PM, Rafael Antognolli
antogno...@profusion.mobi wrote:

 Hi,

 I'm trying to use edje_object_size_min_calc() to get the size of an
 edje object after I resized an Evas_Object that is swallowed into it.
 I'm resizing this Evas_Object with
 edje_extern_object_[min/max]_size_set(), and I have a part that is
 relative to this swallow and larger than it. When I use
 edje_object_part_geometry_get() the size returned is correct, but
 edje_object_size_min_calc() still just returns the size of the
 swallow, not the size of the part relative to it (which is larger).

 I even tried to get the size after main_loop iterations, but still got
 wrong values.

 Any suggestions? May edje_object_size_min_calc() be broken or it
 shouldn't return these values?

 Regards,
 --
 Rafael Antognolli

You should maybe try to use edje_object_calc_force.

--
Nicolas Aguirre
Mail: aguirre.nico...@gmail.com
Web: http://www.digital-corner.org

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


[E-devel] edgebindings module: point of view

2009-03-27 Thread Thanatermesis
In Elive, after the last upgrade some users was complained about that they
can't send a window by dragging it to the other desktop (click in the
border, move it to the edge screen limits, and appear on the new desktop),
but by other side, the switch of desktops by edge screen (by mouse moving to
the limits of the screen) its disabled by default, so aparently with the
actual way of work of this module, it is needed to have both features
working at the same time

I imagine that the idea of this module is to made something more
customizable, but there's still two main features of enlightenment (that
are in e16 too) moved to something a bit different, after to think a bit
about the new module, my point of view is that will be nice to have, apart
of the actual configuration of this module, two simple checkboxes to
enable/disable these two very common and used features (to switch desktop
with the mouse, and to switch desktop when moving windows)


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