Re: [E-devel] Unified theme for apps

2008-04-03 Thread andres
El Tuesday 01 April 2008 14:57:04 The DarkMaster escribió:
 Andre's idea looks very interesting to me (I never mentioned, by the way,
 that EWl or anything else should be reduced to something like GTK. In my
 OpenGEU themes I just create GTk themes which look similar to certain E17
 themes to solve the integration issue).

 Hope to see any other new about it if someone else thinks this may be
 interesting.

 Luca

Hello, I documented a possible method to provide GTK/QT applicatons with a 
consistent look in the wiki: 
http://wiki.enlightenment.org/index.php/GTK-QT-Edje_Theme_Engine

Since SoC wont begin until april 21 I decided to take a stab at this if there 
is any interest. Feedback at this point would be greatly appreciated since I 
would hate to make some fundamental mistake.

 I plan to start working on this on Friday 11. This doesn't solve the original 
problem of a unified EFL look but the concepts I detailed in the article 
could be very well applied to this problem as well.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Nightly build log for E17 on 2008-04-03 07:08:58 -0700

2008-04-03 Thread Nightly build system
Build log for Enlightenment DR 0.17 on 2008-04-03 07:08:58 -0700
Build logs are available at http://download.enlightenment.org/tests/logs

Packages that failed to build:
ecore_li  http://download.enlightenment.org/tests/logs/ecore_li.log
engage  http://download.enlightenment.org/tests/logs/engage.log
enna  http://download.enlightenment.org/tests/logs/enna.log
epdf  http://download.enlightenment.org/tests/logs/epdf.log

Packages with no supported build system:
entice, esmart_rsvg, exorcist, python-efl, 

Packages skipped:
camE, enotes, enscribe, epbb, eplay, erss, etk_server, etox, e_utils, 
Evas_Perl, 
evoak, gfx_routines, lvs-gui, med, nexus, notgame, ruby-efl, webcam, 

Packages that build OK:
alarm, bling, calendar, cpu, deskshow, echo, eclair, ecore, edata, edb, 
e_dbus, edje_editor, edje, edje_viewer, edvi, eet, eflame, eflpp, efm_nav, 
efm_path, efreet, elapse, elation, elicit, elitaire, e, embrace, embryo, 
emotion, emphasis, empower, emprint, emu, enesim, engrave, engycad, enhance, 
enity, enterminus, enthrall, entrance_edit_gui, entrance, entropy, envision, 
epeg, ephoto, e_phys, epsilon, epx, equate, esmart, estickies, etk_extra, 
etk, etk-perl, evas, evfs, evolve, ewl, examine, execwatch, exhibit, exml, 
expedite, express, exquisite, extrackt, feh, flame, forecasts, gevas2, iconbar, 
imlib2_loaders, imlib2, Imlib2_Perl, imlib2_tools, language, mail, mem, 
mixer, moon, mpdule, net, news, notification, penguins, pesh, photo, rage, 
rain, screenshot, scrot, slideshow, snow, taskbar, tclock, uptime, weather, 
winselector, wlan, 

Debian GNU/Linux 4.0 \n \l

Linux enlightenment2 2.6.18-4-686 #1 SMP Wed May 9 23:03:12 UTC 2007 i686 
GNU/Linux


See http://download.enlightenment.org/tests/ for details.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH] Some small speedup for Edje

2008-04-03 Thread Cedric BAIL
Hi,

  So here are some patch that should not break edje too much.

0001 and 0002: Replace call to snprintf by using memcpy or some kind of itoa.
0003: edje_match can work without the need to call memset.
0004: When edje hide an object, their is no need to move/resize it and
mark it as changed (because when it will be shown again, we will move
it any way). This should delay the update of swallowed object and
could have some border effect I didn't know about. I didn't find any
issue with enlightenment nor the app I am using, but it will be better
if some more people could test this patch.

Have fun,
  Cedric
-- 
Cedric BAIL
From 08d8bdad2c2752d076e4efe9b168df43068bc885 Mon Sep 17 00:00:00 2001
From: Cedric BAIL [EMAIL PROTECTED]
Date: Thu, 3 Apr 2008 17:51:38 +0200
Subject: [PATCH] Replace snprintf by faster call to memcpy.

---
 src/lib/edje_load.c |   20 +++-
 1 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/src/lib/edje_load.c b/src/lib/edje_load.c
index cc659d9..0117e14 100644
--- a/src/lib/edje_load.c
+++ b/src/lib/edje_load.c
@@ -1002,14 +1002,24 @@ _edje_collection_free_prog_cache_matches_free_cb(const Evas_Hash *hash, const ch
 static void
 _cb_signal_repeat(void *data, Evas_Object *obj, const char *signal, const char *source)
 {
-   Evas_Object *parent;
-   Edje *ed;
-   char new_src[4096]; /* XXX is this max reasonable? */
+   Evas_Object	*parent;
+   Edje		*ed;
+   char		 new_src[4096]; /* XXX is this max reasonable? */
+   int		 length_parent;
+   int		 length_source;
 
parent = data;
ed = _edje_fetch(obj);
if (!ed) return;
-   snprintf(new_src, sizeof(new_src), %s%c%s, ed-parent,
-EDJE_PART_PATH_SEPARATOR, source);
+   /* Replace snprint(%s%c%s) == memcpy + *new_src + memcat */
+   length_parent = strlen(ed-parent);
+   length_source = strlen(source);
+   if (length_source + length_parent + 2  sizeof(new_src))
+ return ;
+
+   memcpy(new_src, ed-parent, length_parent);
+   new_src[length_parent] = EDJE_PART_PATH_SEPARATOR;
+   memcpy(new_src + length_parent + 1, source, length_source + 1);
+
edje_object_signal_emit(parent, signal, new_src);
 }
-- 
1.5.4.GIT

From 32fc1af53975983829504c39f340a9d507506001 Mon Sep 17 00:00:00 2001
From: Cedric BAIL [EMAIL PROTECTED]
Date: Thu, 3 Apr 2008 17:54:12 +0200
Subject: [PATCH] Replace snprintf by faster memcpy and own itoa.

---
 src/lib/edje_calc.c |   61 ++-
 1 files changed, 60 insertions(+), 1 deletions(-)

diff --git a/src/lib/edje_calc.c b/src/lib/edje_calc.c
index 8b390bf..972f89b 100644
--- a/src/lib/edje_calc.c
+++ b/src/lib/edje_calc.c
@@ -1114,6 +1114,61 @@ _edje_gradient_recalc_apply(Edje *ed, Edje_Real_Part *ep, Edje_Calc_Params *p3,
  }
 }
 
+static int
+_edje_nitoa_rec(char *string, int len, unsigned int value)
+{
+   const char	*array = 0123456789;
+   int		 length;
+   int		 quotient;
+   int		 modulo;
+
+   if (len = 0) return 0;
+   if (value == 0) return 0;
+
+   quotient = value / 10;
+   modulo = value % 10;
+
+   length = _edje_nitoa_rec(string, len - 1, quotient);
+
+   if (length + 1  len) return length;
+
+   string[length] = array[modulo];
+
+   return length + 1;
+}
+
+static int
+_edje_nitoa(char *string, int len, int value)
+{
+   int	length;
+
+   if (len = 0) return 0;
+   if (len == 1)
+ {
+	*string = '\0';
+	return 1;
+ }
+
+   if (value  0)
+ {
+	*string = '-';
+
+	++string;
+	--len;
+ }
+
+   if (value == 0)
+ {
+	strncpy(string, 0, len);
+	return 1;
+ }
+
+   length = _edje_nitoa_rec(string, len, value);
+   string[length] = '\0';
+
+   return length;
+}
+
 static void
 _edje_image_recalc_apply(Edje *ed, Edje_Real_Part *ep, Edje_Calc_Params *p3, Edje_Part_Description *chosen_desc, double pos)
 {
@@ -1173,7 +1228,11 @@ _edje_image_recalc_apply(Edje *ed, Edje_Real_Part *ep, Edje_Calc_Params *p3, Edj
 	  }
 	else
 	  {
-	 snprintf(buf, sizeof(buf), images/%i, image_id);
+	 /* Replace snprint(images/%i) == memcpy + itoa */
+#define IMAGES images/
+	 memcpy(buf, IMAGES, strlen(IMAGES));
+	 _edje_nitoa(buf + strlen(IMAGES), sizeof(buf) - strlen(IMAGES), image_id);
+
 	 evas_object_image_file_set(ep-object, ed-file-path, buf);
 	 if (evas_object_image_load_error_get(ep-object) != EVAS_LOAD_ERROR_NONE)
 	   {
-- 
1.5.4.GIT

From 0cdace8774ee880b30b0784bcfbbed68930650f2 Mon Sep 17 00:00:00 2001
From: Cedric BAIL [EMAIL PROTECTED]
Date: Thu, 3 Apr 2008 17:55:00 +0200
Subject: [PATCH] Remove useless memset.

---
 src/lib/edje_match.c |7 ++-
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/lib/edje_match.c b/src/lib/edje_match.c
index 2240519..b398e5d 100644
--- a/src/lib/edje_match.c
+++ b/src/lib/edje_match.c
@@ -95,7 +95,7 @@ _edje_match_states_insert(Edje_States*list,
{
   const size_t i = idx * (patterns_max_length + 1) + pos;
 
-  if (list-has[i]) return;
+  if (list-size  i  list-has[i]) return;
   

Re: [E-devel] Eet - proposing doing an alpha release. 0.9.99900

2008-04-03 Thread Cedric BAIL
On Fri, Mar 28, 2008 at 3:05 PM, The Rasterman Carsten Haitzler
[EMAIL PROTECTED] wrote:
  1. eet -x was broken by the dictionary changes lately. (cedric!:))
  2. eet -e is the reverse and thus needs to work too.

Oops, it's still broken.

  that's it. fix these and we are golden.
  to test. try this:

  cd ~/.e/e/config/default

  eet -x e.cfg config out.txt

  out.txt should be a very long text file with 1000's of lines of structures 
 and
  fields. you should be able to take out.txt and eet -e it back with no ill
  effects. (floating point numbers may lose accuracy as they are decoded as
  decimal and thus when encoded again may not be exactly the same).

Hum, are you sure of the behaviour of -x, it should just dump a data
corresponding to a key. That's all and it seems to work. The only
problem is what append if the dictionary change between the time you
dumped the data and the time you insert it again. I can add a way to
dump the dictionnary, but inserting an old dictionary inside a
modified eet file could break it.

For the -d option, it seems to be broken. I will fix it.
-- 
Cedric BAIL

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eet - proposing doing an alpha release. 0.9.99900

2008-04-03 Thread The Rasterman
On Thu, 3 Apr 2008 18:57:15 +0200 Cedric BAIL [EMAIL PROTECTED] babbled:

 On Fri, Mar 28, 2008 at 3:05 PM, The Rasterman Carsten Haitzler
 [EMAIL PROTECTED] wrote:
   1. eet -x was broken by the dictionary changes lately. (cedric!:))
   2. eet -e is the reverse and thus needs to work too.
 
 Oops, it's still broken.
 
   that's it. fix these and we are golden.
   to test. try this:
 
   cd ~/.e/e/config/default
 
   eet -x e.cfg config out.txt
 
   out.txt should be a very long text file with 1000's of lines of structures
  and fields. you should be able to take out.txt and eet -e it back with no
  ill effects. (floating point numbers may lose accuracy as they are decoded
  as decimal and thus when encoded again may not be exactly the same).
 
 Hum, are you sure of the behaviour of -x, it should just dump a data
 corresponding to a key. That's all and it seems to work. The only

i meant -d - sorry :)

 problem is what append if the dictionary change between the time you
 dumped the data and the time you insert it again. I can add a way to
 dump the dictionnary, but inserting an old dictionary inside a
 modified eet file could break it.
 
 For the -d option, it seems to be broken. I will fix it.
 -- 
 Cedric BAIL
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] R: [PATCH] Some small speedup for Edje

2008-04-03 Thread Dave Andreoli

- Cedric BAIL [EMAIL PROTECTED] ha scritto:

 Hi,
 
   So here are some patch that should not break edje too much.
 
 0001 and 0002: Replace call to snprintf by using memcpy or some kind
 of itoa.
 0003: edje_match can work without the need to call memset.
 0004: When edje hide an object, their is no need to move/resize it
 and
 mark it as changed (because when it will be shown again, we will move
 it any way). This should delay the update of swallowed object and
 could have some border effect I didn't know about. I didn't find any
 issue with enlightenment nor the app I am using, but it will be
 better
 if some more people could test this patch.
 

Seems that all work well here (tested a bit in the editor)

dave

 Have fun,
   Cedric
 -- 
 Cedric BAIL
 
 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Edje Text part - vertical orientation?

2008-04-03 Thread Jess
Hello,
  I am having an issue with a touchscreen (driver problem - microtouch), in 
which using xrandr the pointer gets into some sort of funk. As this is just to
demo the feasibility, I have opted to just rotate all of my images and layout.
I am running into an issue with a text part I have created, in which I would
now like the text part to be oriented on its side (so as to display correctly
in portrait orientation).  Has anyone run into this?  I have reveiwed the
fit and min settings, but that doesn't seem to be what I am after.  Any ideas?


Thanks everyone!

Jess


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Edje Text part - vertical orientation?

2008-04-03 Thread The Rasterman
On Thu, 3 Apr 2008 13:46:27 -0500 Jess [EMAIL PROTECTED] babbled:

 Hello,
   I am having an issue with a touchscreen (driver problem - microtouch), in 
 which using xrandr the pointer gets into some sort of funk. As this is just to
 demo the feasibility, I have opted to just rotate all of my images and layout.
 I am running into an issue with a text part I have created, in which I would
 now like the text part to be oriented on its side (so as to display correctly
 in portrait orientation).  Has anyone run into this?  I have reveiwed the
 fit and min settings, but that doesn't seem to be what I am after.  Any ideas?

there is no text rotation support in edje. what u DO want is to use evas'[s own
native canvas rotation support - ecore_evas exports this cleanly.

 Thanks everyone!
 
 Jess
 
 
 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
 ___
 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)[EMAIL PROTECTED]


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] Some small speedup for Edje

2008-04-03 Thread Kim Woelders
Cedric BAIL wrote:
 Hi,
 
   So here are some patch that should not break edje too much.
 
 0001 and 0002: Replace call to snprintf by using memcpy or some kind of itoa.

Is this really worth while? Possibly a small speedup at the cost of 
considerably more and considerably uglier code?

/Kim

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Edje Text part - vertical orientation?

2008-04-03 Thread Jess
Great!  I'll check that out.

Thanks Raster

Jess

On Fri, Apr 04, 2008 at 05:51:33AM +1100, Carsten Haitzler wrote:
 On Thu, 3 Apr 2008 13:46:27 -0500 Jess [EMAIL PROTECTED] babbled:
 
  Hello,
I am having an issue with a touchscreen (driver problem - microtouch), in 
  which using xrandr the pointer gets into some sort of funk. As this is just 
  to
  demo the feasibility, I have opted to just rotate all of my images and 
  layout.
  I am running into an issue with a text part I have created, in which I would
  now like the text part to be oriented on its side (so as to display 
  correctly
  in portrait orientation).  Has anyone run into this?  I have reveiwed the
  fit and min settings, but that doesn't seem to be what I am after.  Any 
  ideas?
 
 there is no text rotation support in edje. what u DO want is to use evas'[s 
 own
 native canvas rotation support - ecore_evas exports this cleanly.
 
  Thanks everyone!
  
  Jess
  
  
  -
  Check out the new SourceForge.net Marketplace.
  It's the best place to buy or sell services for
  just about anything Open Source.
  http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
  ___
  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)[EMAIL PROTECTED]
 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Edje Text part - vertical orientation?

2008-04-03 Thread The Rasterman
On Thu, 3 Apr 2008 14:47:57 -0500 Jess [EMAIL PROTECTED] babbled:

you won't need to rotate your images then too. evas will rotate the whole
canvas for you (this is there for when x didn't have xrandr support and for
framebuffer rendering too).

 Great!  I'll check that out.
 
 Thanks Raster
 
 Jess
 
 On Fri, Apr 04, 2008 at 05:51:33AM +1100, Carsten Haitzler wrote:
  On Thu, 3 Apr 2008 13:46:27 -0500 Jess [EMAIL PROTECTED] babbled:
  
   Hello,
 I am having an issue with a touchscreen (driver problem - microtouch),
   in which using xrandr the pointer gets into some sort of funk. As this is
   just to demo the feasibility, I have opted to just rotate all of my
   images and layout. I am running into an issue with a text part I have
   created, in which I would now like the text part to be oriented on its
   side (so as to display correctly in portrait orientation).  Has anyone
   run into this?  I have reveiwed the fit and min settings, but that
   doesn't seem to be what I am after.  Any ideas?
  
  there is no text rotation support in edje. what u DO want is to use evas'[s
  own native canvas rotation support - ecore_evas exports this cleanly.
  
   Thanks everyone!
   
   Jess
   
   
   -
   Check out the new SourceForge.net Marketplace.
   It's the best place to buy or sell services for
   just about anything Open Source.
   http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
   ___
   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)[EMAIL PROTECTED]
  
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] Some small speedup for Edje

2008-04-03 Thread The Rasterman
On Thu, 03 Apr 2008 21:25:05 +0200 Kim Woelders [EMAIL PROTECTED] babbled:

 Cedric BAIL wrote:
  Hi,
  
So here are some patch that should not break edje too much.
  
  0001 and 0002: Replace call to snprintf by using memcpy or some kind of
  itoa.
 
 Is this really worth while? Possibly a small speedup at the cost of 
 considerably more and considerably uglier code?

i've reverted them anyway.. b0rks. :(


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Edje Text part - vertical orientation?

2008-04-03 Thread Jess
Hey Raster,
 Yep, I have grabbed the function out of the docs, and implemented with a backup
of my code.  Worked awesome  Very sweet having libraries that help rather 
than turn your code into soup ;-).


Thanks again,
Jess


On Fri, Apr 04, 2008 at 07:27:35AM +1100, Carsten Haitzler wrote:
 On Thu, 3 Apr 2008 14:47:57 -0500 Jess [EMAIL PROTECTED] babbled:
 
 you won't need to rotate your images then too. evas will rotate the whole
 canvas for you (this is there for when x didn't have xrandr support and for
 framebuffer rendering too).
 
  Great!  I'll check that out.
  
  Thanks Raster
  
  Jess
  
  On Fri, Apr 04, 2008 at 05:51:33AM +1100, Carsten Haitzler wrote:
   On Thu, 3 Apr 2008 13:46:27 -0500 Jess [EMAIL PROTECTED] babbled:
   
Hello,
  I am having an issue with a touchscreen (driver problem - microtouch),
in which using xrandr the pointer gets into some sort of funk. As this 
is
just to demo the feasibility, I have opted to just rotate all of my
images and layout. I am running into an issue with a text part I have
created, in which I would now like the text part to be oriented on its
side (so as to display correctly in portrait orientation).  Has anyone
run into this?  I have reveiwed the fit and min settings, but that
doesn't seem to be what I am after.  Any ideas?
   
   there is no text rotation support in edje. what u DO want is to use 
   evas'[s
   own native canvas rotation support - ecore_evas exports this cleanly.
   
Thanks everyone!

Jess


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
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)[EMAIL PROTECTED]
   
  
 
 
 -- 
 - Codito, ergo sum - I code, therefore I am --
 The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] etk?

2008-04-03 Thread Jose Gonzalez

  The recent discussions here about toolkit theming and such
has brought up, to me at least, the question of the future of the
etk gui-toolkit. From what I can see, there has been little or no
work done on this lib in a looong time -- it appears abandoned or
maybe just plain un-maintained right now.
  Simon, etk's maintainer, hasn't been seen in a long time..
and yet there are apps out there that depend on it, eg. edje-editor
which I've noticed has a bug report stating that it's impossible
to enter text correctly. Moom is working on this in etk...thanks.

  So, does anyone know what's up with etk.. is it dead, or
sleeping, or planning big-things, or what?


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [Patch] Dragable etk_scrolled_view

2008-04-03 Thread Tick

Hi All,
   The attached patch lets etk_scrolled_view been dragable with 
pressing on the panel directly and drag. If you drag fast, after 
releasing the panel will still scrolling until it stop slowly.


Adding the following functions.
voidetk_scrolled_view_dragable_set(Etk_Scrolled_View 
*scrolled_view, Etk_Bool dragable);

Etk_Bool   etk_scrolled_view_dragable_get(Etk_Scrolled_View *scrolled_view);

additional functions for detail control. (Most user don't need them)
double
etk_scrolled_view_drag_sample_interval_magic_set(Etk_Scrolled_View 
*scrolled_view,double interval);
double
etk_scrolled_view_drag_sample_interval_magic_get(Etk_Scrolled_View 
*scrolled_view);
unsigned int etk_scrolled_view_drag_damping_magic_set(Etk_Scrolled_View 
*scrolled_view,unsigned int damping);
unsigned int etk_scrolled_view_drag_damping_magic_get(Etk_Scrolled_View 
*scrolled_view);


You can test this with etk_test after patching and adding two line in 
etk_test

cvs diff: Diffing .
Index: etk_scrolled_view_test.c
===
RCS file: /var/cvs/e/e17/libs/etk/src/bin/etk_scrolled_view_test.c,v
retrieving revision 1.8
diff -r1.8 etk_scrolled_view_test.c
29a30,31

etk_scrolled_view_policy_set(ETK_SCROLLED_VIEW(scrolled_view),ETK_POLICY_HIDE,ETK_POLICY_HIDE);

etk_scrolled_view_dragable_set(ETK_SCROLLED_VIEW(scrolled_view),ETK_TRUE);


Cheers,
Tick
Index: etk/src/lib/etk_scrolled_view.c
===
--- etk.orig/src/lib/etk_scrolled_view.c	2008-04-02 11:53:32.0 +0800
+++ etk/src/lib/etk_scrolled_view.c	2008-04-04 11:59:24.0 +0800
@@ -37,7 +37,15 @@
 static Etk_Bool _etk_scrolled_view_child_added_cb(Etk_Object *object, void *child, void *data);
 static Etk_Bool _etk_scrolled_view_child_removed_cb(Etk_Object *object, void *child, void *data);
 static Etk_Bool _etk_scrolled_view_child_scroll_size_changed_cb(Etk_Object *object, void *data);
+static int _etk_scrolled_view_motive_bounce(void *data); 
 
+
+static Etk_Bool _etk_scrolled_view_mouse_down(Etk_Object *object, Etk_Event_Mouse_Down *event, void *data); 
+static Etk_Bool _etk_scrolled_view_mouse_up(Etk_Object *object, Etk_Event_Mouse_Up *event, void *data);
+static Etk_Bool _etk_scrolled_view_mouse_click(Etk_Object *object, Etk_Event_Mouse_Up *event, void *data);
+static Etk_Bool _etk_scrolled_view_mouse_move(Etk_Object *object, Etk_Event_Mouse_Move *event, void *data); 
+
+static Etk_Bool _etk_scrolled_view_bar_mouse_down(Etk_Object *object, Etk_Event_Mouse_Down *event, void *data); 
 /**
  *
  * Implementation
@@ -173,6 +181,82 @@
   *vpolicy = scrolled_view ? scrolled_view-vpolicy : ETK_POLICY_AUTO;
 }
 
+/**
+ * @brief Set the scrolled view dragable or not
+ * @param scrolled_view a scrolled view
+ * @param dragable The scrolled view is dragable or not?
+ */ 
+void etk_scrolled_view_dragable_set(Etk_Scrolled_View *scrolled_view, Etk_Bool dragable) 
+{
+   if (!scrolled_view)
+  return;
+   scrolled_view-drag.dragable = dragable;
+}
+
+/**
+ * @brief Get the scrolled view dragable flag
+ * @param scrolled_view a scrolled view
+ * @return Returns ETK_TURE if the scrolled view is dragable
+ */
+Etk_Bool etk_scrolled_view_dragable_get(Etk_Scrolled_View *scrolled_view) 
+{
+   if (!scrolled_view)
+  return ETK_FALSE;
+   return scrolled_view-drag.dragable;
+}
+
+/**
+ * @brief Set the scrolled view sample interval to calculate the scrolling speed.
+ * @param scrolled_view a scrolled view
+ * @param interval The interval of sampling latest scrolling speed (minimial 0.2 second, default 0.5 second)
+ * @return Returns the actual sampling interval set. If scrolled_view is NULL returns 0.0f. 
+ */
+double etk_scrolled_view_drag_sample_interval_magic_set(Etk_Scrolled_View *scrolled_view,double interval) 
+{
+   if (!scrolled_view)
+  return 0.0f;
+   interval = interval = 0.2f ? interval : 0.2f;
+   scrolled_view-drag.sample_magic = interval;
+   return scrolled_view-drag.sample_magic;
+}
+
+/**
+ * @brief Get the scrolled view sample interval to calculate the scrolling speed.
+ * @param scrolled_view a scrolled view
+ * @return Returns the sampling interval. If scrolled_view is NULL return 0.0f. 
+ */
+double etk_scrolled_view_drag_sample_interval_magic_get(Etk_Scrolled_View *scrolled_view)
+{
+   if (!scrolled_view)
+  return 0.0f;
+   return scrolled_view-drag.sample_magic;
+}
+
+/**
+ * @brief Set the damping magic number of a dragable scrolled view
+ * @param scrolled_view a scrolled view
+ * @param damping The damping factor of the dragable scrolled view (default 100)
+ * @return Returns the actual damping factor set
+ */ 
+unsigned int etk_scrolled_view_drag_damping_magic_set(Etk_Scrolled_View *scrolled_view,unsigned int damping)
+{
+   if (!scrolled_view)
+  return 0;
+   scrolled_view-drag.damping_magic = damping;
+   return scrolled_view-drag.damping_magic;
+}
+

Re: [E-devel] E CVS: libs/ewl pfritz

2008-04-03 Thread Vincent Torri


 libewl_la_LIBADD = $(GCOV_LIBS) @EMOTION_LIBS@ @EPSILON_LIBS@ @EFREET_LIBS@ 
 @EDJE_LIBS@ @ECORE_LIBS@ @EVAS_LIBS@ -lm
 libewl_la_LDFLAGS = @create_shared_lib@ -version-info @INTERFACE_VERSION@
 +libewl_la_LIBTOOLFLAGS =

that line is one of the patch about not building the static lib of the 
modules. Do I add the other line of the patch ?

Vincent

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel