Re: [E-devel] IMLIB2 ported to mingw+msys

2008-11-01 Thread Vincent Torri


On Thu, 30 Oct 2008, Kim Woelders wrote:

 On Tue, 28 Oct 2008 17:45:10 +0100, carlo.bramix [EMAIL PROTECTED] 
 wrote:

 Hello,
 I got the sources of your newly released Imlib2 1.4.2 and I did again the 
 fixes for Mingw+Msys.
 I think I also fixed my bugs with:
 1) bad mmap() detection
 2) wrong use of HAVE_SIGJMP_BUF instead of HAVE_SIGSETJMP.
 3) all my files are in unix format.
 I tested Imlib2 with:
 - Mingw+Msys
 - Cygwin
 - Linux Debian 4.0r3
 and everything seems to be working.
 Attached patch includes all those fixes.
 

 dlfcn-win32.c/h are missing from this patch. I assume they were meant to the 
 same as in the original patch.

 Vincent - Do you still want to evilify imlib2? Otherwise I'm fine with this 
 patch (except a few nitpicks I'll fix if/when committed).

I can try to integrate Evil. Right now, i'm trying to make the efl working 
natively on Windows CE. If you can wait a bit (around 1 week), I'll try to 
do it next week end

Vincent

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Implementing a polygon / image map in edje

2008-11-01 Thread Viktor Kojouharov
On Fri, 2008-10-31 at 23:38 -0400, Jose Gonzalez wrote:
 Carsten wrote:
 
  On Fri, 31 Oct 2008 21:27:48 -0400 Jose Gonzalez [EMAIL PROTECTED] 
  babbled:
 
 

 And unfortunately you have another set of tough decisions to make for
  both evas and edje.
 
 The 'good' news is that, if desired, we can make evas and edje 
  incorporate
  most all vgfx stuff that others have, and some further stuff they don't as
  well, and do so within 3 or 4 months (a bit longer for some extensible
  aspects). The 'bad' news is that in order to 'revamp' not only the vgfx
  capabilities, but also add further gfx abilities, each and every set of 
  such
  revamps will likely mean breaking most of the current engines, and getting
  much of this into edje will likely mean breakage there too.
 
 I'd suggest you consider too ways: Either release evas and edje now, and
  start a branch for the 'next' breaking versions and concentrate on those..
  or start breaking evas and edje now. Because the longer you wait on this,
  the more difficult and less likely it will actually get done.
  
 
  right now e17 is what needs to be done. efl's existance if FOR e17. i dont 
  want
  or plan to break anything for it nor do i want to split development effort 
  into
  2 branches. i just want to keep vector stuff out UNTIL e17 is out (this 
  means
  evas/edje 1.0 will come out etc.). so it'd be the release then do it after
  option - but the release is going to wait until e17. you may have noticed i
  have been knocking off some stuff there of late...
 

 
Your call, as I've always said. Just so long as you're aware.

If you want, you can always branch evas and edje now, and work on the
new stuff. Then merge after e17 is released. 
 
 
 
 Click here to find the satellite television package that meets your needs.
 http://thirdpartyoffers.juno.com/TGL2141/fc/Ioyw6i3mzvzYoLIhNo53kk8NG17HNoJmVqi8AJvvpAU4rAgv4ncPTW/
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E-Module_Extra stringshare patch.

2008-11-01 Thread Luca De Marini
Thank you very much man, Extramenu is an important module in OpenGEU, Dave
lately is not answering so I'm really happy you did this :)
Could you do this to trash too pleaase? I beg you :)
Greetings,

Luca

2008/10/31 Stephane Bauland [EMAIL PROTECTED]

 Hi all, i notice that evas_stringshare left on some of the modules. Here is
 attached the patch to replac evas_stringshare by eina ones.

 PS: I test them quickly, they seem to be working.



 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E-Module_Extra stringshare patch.

2008-11-01 Thread Luca De Marini
Ehm... sorry people, I read a bad topic, I thought it was about emodule
extramenu just woke up. I'll try to turn on the brain next time... sorry
again, don't you mind please :(

Lua

2008/11/1 Luca De Marini [EMAIL PROTECTED]

 Thank you very much man, Extramenu is an important module in OpenGEU, Dave
 lately is not answering so I'm really happy you did this :)
 Could you do this to trash too pleaase? I beg you :)
 Greetings,

 Luca

 2008/10/31 Stephane Bauland [EMAIL PROTECTED]

 Hi all, i notice that evas_stringshare left on some of the modules. Here
 is attached the patch to replac evas_stringshare by eina ones.

 PS: I test them quickly, they seem to be working.



 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E-Module_Extra stringshare patch.

2008-11-01 Thread Stephane Bauland
Luca De Marini wrote:
 Thank you very much man, Extramenu is an important module in OpenGEU, 
 Dave lately is not answering so I'm really happy you did this :)
 Could you do this to trash too pleaase? I beg you :)
 Greetings,

 Luca
I just patch svn modules, but if you want to do it. Then eina keep the 
same API for stringshare than the evas one.

So you can do this : find module/dir -name '*.c' -exec sed -i 
's/evas_stringshare/eina_stringshare/g' {} \;

That will automaticaly replace evas by eina. You just have to test if 
they correctly work after, but their's no prob :)

 2008/10/31 Stephane Bauland [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED]

 Hi all, i notice that evas_stringshare left on some of the
 modules. Here is attached the patch to replac evas_stringshare by
 eina ones.

 PS: I test them quickly, they seem to be working.



 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win
 great prizes
 Grand prize is a trip for two to an Open Source event anywhere in
 the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 mailto:enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] IMLIB2 ported to mingw+msys

2008-11-01 Thread carlo.bramix
Hello,

I tried to analize my changes more in detail.

The mmap() problem with TGA file loader: I could do it natively on Windows too 
(with CreateFileMapping(), MapViewOfFile(), etc) but I do not think this is 
what you really want...
So, this is a good reason for adding the dependency with Evil if mmap() is 
supported.
As alternative, we can do a simple wrapper to another specific library like 
LibTGA, which just handle TGA images as you can probably imagine by its name.
BTW, I improved libTGA a lot because I wanted to use it in my Windows image 
viewer clone, but it seems I received no replies from the author... (sigh!).

LibJPEG is normally used with setjmp/longjmp under Windows.
I admit that I do not know if this will corrupt something with IMLIB2.

Into IMLIB2 there are already some #ifdef on EMX.
The coding solution for EMX is good for Windows too.
There is only one wrong thing here and it is the inclusion of pwd.h which do 
not exists under Windows.
So I simply added the check on pwd.h into configure script.

The -no-undefined flag is required for mingw and cygwin, otherwise libtool 
will never create a shared library.
There are no much work-arounds here.

I added macro IMLIB2_IS_COMPILING to distinguish the compilation of IMLIB2 from 
the applications. There was already BUILDING_DLL with a similar purpose, but if 
a library depends from IMLIB2 and it uses BUILDING_DLL too, it will happen an 
error because an import/export confict (I already encountered such problems in 
the past).
If I can give a suggestion, I would use a different name here.

Some functions are missing, (mkstemp, dlopen, etc) but doing a replacement is 
very easy even for me ;)
For the functions into dlfcn.h, it would be perfect to use dlfcn-win32 package 
but since it is not compiled with libtool (in other words, there is no libdl.la 
file) the linking fails to build a shared library because it cannot know the 
dependencies of -ldl (perhaps a fix to dlfcn-win32 will be appreciated).
In conclusion, these functions too may be provided by Evil.

I hope this will help.

Sincerely,

Carlo Bramini.


-- Initial Header ---

From  : Vincent Torri [EMAIL PROTECTED]
To  : Kim Woelders [EMAIL PROTECTED]
Cc  : enlightenment-devel enlightenment-devel@lists.sourceforge.net
Date  : Sat, 1 Nov 2008 08:23:50 +0100 (CET)
Subject : Re: [E-devel] IMLIB2 ported to mingw+msys

 On Thu, 30 Oct 2008, Kim Woelders wrote:
 
  On Tue, 28 Oct 2008 17:45:10 +0100, carlo.bramix [EMAIL PROTECTED] 
  wrote:
 
  Hello,
  I got the sources of your newly released Imlib2 1.4.2 and I did again the 
  fixes for Mingw+Msys.
  I think I also fixed my bugs with:
  1) bad mmap() detection
  2) wrong use of HAVE_SIGJMP_BUF instead of HAVE_SIGSETJMP.
  3) all my files are in unix format.
  I tested Imlib2 with:
  - Mingw+Msys
  - Cygwin
  - Linux Debian 4.0r3
  and everything seems to be working.
  Attached patch includes all those fixes.
  
 
  dlfcn-win32.c/h are missing from this patch. I assume they were meant to 
  the 
  same as in the original patch.
 
  Vincent - Do you still want to evilify imlib2? Otherwise I'm fine with this 
  patch (except a few nitpicks I'll fix if/when committed).
 
 I can try to integrate Evil. Right now, i'm trying to make the efl working 
 natively on Windows CE. If you can wait a bit (around 1 week), I'll try to 
 do it next week end
 
 Vincent
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] IMLIB2 ported to mingw+msys

2008-11-01 Thread Vincent Torri

Hey,

 The mmap() problem with TGA file loader: I could do it natively on Windows 
 too (with CreateFileMapping(), MapViewOfFile(), etc) but I do not think this 
 is what you really want...
 So, this is a good reason for adding the dependency with Evil if mmap() is 
 supported.
 As alternative, we can do a simple wrapper to another specific library like 
 LibTGA, which just handle TGA images as you can probably imagine by its name.
 BTW, I improved libTGA a lot because I wanted to use it in my Windows image 
 viewer clone, but it seems I received no replies from the author... (sigh!).

 LibJPEG is normally used with setjmp/longjmp under Windows.
 I admit that I do not know if this will corrupt something with IMLIB2.

 Into IMLIB2 there are already some #ifdef on EMX.
 The coding solution for EMX is good for Windows too.
 There is only one wrong thing here and it is the inclusion of pwd.h which do 
 not exists under Windows.
 So I simply added the check on pwd.h into configure script.

 The -no-undefined flag is required for mingw and cygwin, otherwise libtool 
 will never create a shared library.
 There are no much work-arounds here.

 I added macro IMLIB2_IS_COMPILING to distinguish the compilation of IMLIB2 
 from the applications. There was already BUILDING_DLL with a similar purpose, 
 but if a library depends from IMLIB2 and it uses BUILDING_DLL too, it will 
 happen an error because an import/export confict (I already encountered such 
 problems in the past).
 If I can give a suggestion, I would use a different name here.

 Some functions are missing, (mkstemp, dlopen, etc) but doing a replacement is 
 very easy even for me ;)
 For the functions into dlfcn.h, it would be perfect to use dlfcn-win32 
 package but since it is not compiled with libtool (in other words, there is 
 no libdl.la file) the linking fails to build a shared library because it 
 cannot know the dependencies of -ldl (perhaps a fix to dlfcn-win32 will be 
 appreciated).
 In conclusion, these functions too may be provided by Evil.

Evil has most of these functions. You can look at them here:

http://trac.enlightenment.org/e/browser/trunk/PROTO/evil/src/lib

look at he header files to see which functions are available. I have 
grouped them according to the file where they are declared in the libc. 
dl* files are in the dlfcn/ sub directory.

Vincent

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Prototype thumbnailer now has a Epeg plugin (fwd)

2008-11-01 Thread Jose Gonzalez
Joerg Sonnenberger wrote:
 On Thu, Oct 30, 2008 at 09:09:55AM -0400, Jose Gonzalez wrote:
   
Errr..  I mean in your example one *would* jpg-downscale to 32,
 and the software down-scale to 31. The result, with 'smooth-scaling'
 would be quite good.
 

 I think it is better to downscale only the *second* nearest power-of-two
 fraction and use full downscaling from that. That mean stay with 64 go
 down from that.
   

   You can test this yourself very easily right now to see the difference
with your example case.

   Take your test 64x64 jpg image file as you want. Then, using a software-x11
evas, create two image objects. One you will load the jpg without any size
load-opts, and the other with the size load-opts set to scale it to 32x32.
Then, set both image objs to have smooth-scaling to true, their obj size to 
31x31
and their image-fill-size to the same, and render the evas.
   This will smooth-scale the first one from 64 to 31 and the second from 32 to 
31
(where the 32x32 will come from jpg-down-scaling), and you'll have your 
comparison
right there.



Find the right teaching school to meet your educational needs. Click to learn 
more. 
http://thirdpartyoffers.juno.com/TGL2141/fc/Ioyw6i3njBiMcP0WVpoDiiRrzq3D73GUBGxgotDlmPfug0IrYukFde/

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Rage TODO items

2008-11-01 Thread Tim Felgentreff
Me again. Missed 4 lines in the settings patch. Sorry, this one works
now.
-Tim
# This patch adds some config options
# With it, one can toggle fullscreen,
# and change between x11 and xrender (for now)
# It adds a function to restart rage
--- a/src/bin/Makefile.am
+++ b/src/bin/Makefile.am
@@ -35,7 +35,9 @@ e_table.h \
 e_layout.c \
 e_layout.h \
 e_flowlayout.c \
-e_flowlayout.h
+e_flowlayout.h \
+conf_options.c \
+conf_options.h
 
 rage_LDADD = @my_libs@ @EVAS_LIBS@ @ECORE_LIBS@ @EDJE_LIBS@ @EMOTION_LIBS@
 
--- /dev/null
+++ b/src/bin/conf_options.c
@@ -0,0 +1,61 @@
+#include conf_options.h
+#include main.h
+
+void 
+config_option_fullscreen(void *data)
+{
+   Ecore_Evas *ee = (Ecore_Evas *)data;
+
+   if (ecore_evas_fullscreen_get(ee))
+   {
+  ecore_evas_fullscreen_set(ee, 0);
+  ecore_evas_cursor_set(ee, NULL, 0, 0, 0);
+   }
+   else 
+   {
+  ecore_evas_fullscreen_set(ee, 1);
+  ecore_evas_cursor_set(ee, , 999, 0, 0);
+   }
+}
+
+void 
+config_option_themes(void *data)
+{
+}
+
+void
+config_option_modes_switch(void* data)
+{
+   char* engine = (char*)data;
+   if (!strcmp(engine, software_x11))
+  main_reset(-x11);
+   else if (!strcmp(engine, xrender_x11))
+  main_reset(-xr);
+}
+
+void 
+config_option_modes(void *data)
+{
+   Eina_List *el, *l;
+
+   el = ecore_evas_engines_get();
+   
+   menu_push(menu, Modes, NULL, NULL);
+   for (l = el; l; l=l-next)
+   {
+   	menu_item_add(icon/modes, l-data,
+		  NULL, NULL, config_option_modes_switch,  
+		  l-data, NULL, NULL, NULL);
+   }
+
+   menu_go();
+   menu_item_select(el-data);
+
+   ecore_evas_engines_free(el);
+}
+
+void 
+config_option_volumes(void *data)
+{
+}
+

--- /dev/null
+++ b/src/bin/conf_options.h
@@ -0,0 +1,10 @@
+#ifndef conf_options_h
+#define conf_options_h
+
+void config_option_fullscreen(void *data);
+void config_option_themes(void *data);
+void config_option_modes(void *data);
+void config_option_volumes(void *data);
+
+#endif
+
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -342,24 +342,24 @@ static void
 main_menu_config(void *data)
 {
menu_push(menu, Settings, NULL, NULL);
-   menu_item_add(icon/config, Option 1,
-		  Option 1, NULL,
-		  NULL, NULL, NULL, NULL, NULL);
-   menu_item_add(icon/config, Option 2,
-		  Option 2, NULL,
-		  NULL, NULL, NULL, NULL, NULL);
-   menu_item_add(icon/config, Option 3,
-		  Option 3, NULL,
-		  NULL, NULL, NULL, NULL, NULL);
-   menu_item_add(icon/config, Option 4,
-		  Option 4, NULL,
-		  NULL, NULL, NULL, NULL, NULL);
-   menu_item_enabled_set(Settings, Option 1, 1);
-   menu_item_enabled_set(Settings, Option 2, 1);
-   menu_item_enabled_set(Settings, Option 3, 1);
-   menu_item_enabled_set(Settings, Option 4, 1);
+   menu_item_add(icon/fullscreen, Fullscreen,
+		  Fullscreen On/Off, NULL,
+		  config_option_fullscreen, ecore_evas, NULL, NULL, NULL);
+   menu_item_add(icon/themes, Themes,
+		  Select your theme, NULL,
+		  config_option_themes, NULL, NULL, NULL, NULL);
+   menu_item_add(icon/modes, Modes,
+		  Change the engine Rage uses, NULL,
+		  config_option_modes, ecore_evas, NULL, NULL, NULL);
+   menu_item_add(icon/volumes, Volumes,
+		  Edit your Volumes, NULL,
+		  config_option_volumes, NULL, NULL, NULL, NULL);
+   menu_item_enabled_set(Settings, Fullscreen, 1);
+   menu_item_enabled_set(Settings, Themes, 1);
+   menu_item_enabled_set(Settings, Modes, 1);
+   menu_item_enabled_set(Settings, Volumes, 1);
menu_go();
-   menu_item_select(Option 1);
+   menu_item_select(Fullscreen);
 }
 
 typedef struct _Genre  Genre;
--- a/src/bin/main.h
+++ b/src/bin/main.h
@@ -9,6 +9,7 @@
 #include mini.h
 #include minivid.h
 #include sha1.h
+#include conf_options.h
 
 extern Evas *evas;
 extern char *theme;
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -271,6 +271,12 @@ main_usage(void)
exit(-1);
 }
 
+void
+main_reset(char *arg)
+{
+   execlp(rage, rage, arg, NULL);
+}
+
 static int
 main_volume_add(void *data, int type, void *ev)
 {
--- a/src/bin/main.h
+++ b/src/bin/main.h
@@ -20,3 +20,4 @@ extern char *config;
 
 void main_mode_push(int mode);
 void main_mode_pop(void);
+void main_reset(char* arg);
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Geubuntu-dev] Pidgin lagging or using too much resources

2008-11-01 Thread Jorge Mariani
Hi.

I'm using the 177.80 proprietary driver from nVidia. I'm interested on  
trying nouveau. How do I install it?

Regards.

On Oct 30, 2008, at 9:02 AM, Ross Vandegrift wrote:

 On Thu, Oct 30, 2008 at 07:33:02AM -0600, Jorge Mariani wrote:
 I have a Dell Precision M4300, CoreDuo, 4GB RAM, two disks (40GB  
 Solid
 State, 80GB SATA), and nVidia Quadro FX360M.
 I have installed Ubuntu Server with LAMP.
 I usually run Firefox 3.0.3 with Firebug, Scite or Bluefish, Pidgin,
 and sometimes GIMP.

 [snip]

 I navigated the whole internet looking for solutions, and none  
 worked,
 until I found an article talking about GMail messaging and having
 issues with that. So, i disabled GMail from Pidgin (I only have Luca
 connected) and then voila, freezing is no longer happening, and the
 machine is usable again (besides the fact Firefox still eats round  
 40%
 CPU when scrolling a page).

 Noting that your video card is nvidia and you're seeing slow
 scrolling, you're probably using the nv open source driver.

 If this is correct, you're likely experiencing software glyph and
 compositing issues from Xorg.  You'll notice this happens in varying
 degress when Gecko renders layers of translucent images.  The more
 layers to blend the worse it get.

 Check if nouveau, the experimental accelerated driver, supports your
 chipset.  If so, you should experience quite better performance.  I'm
 using nouveau with a G7x card and Enlightenment.

 Ross

 --
 Ross Vandegrift
 [EMAIL PROTECTED]

 If the fight gets hot, the songs get hotter.  If the going gets  
 tough,
 the songs get tougher.
   --Woody Guthrie


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Geubuntu-dev] Pidgin lagging or using too much resources

2008-11-01 Thread Vincent Torri


Hey,


I'm using the 177.80 proprietary driver from nVidia. I'm interested on
trying nouveau. How do I install it?


 * main site : http://nouveau.freedesktop.org/wiki/

 * installing nouveau :

http://nouveau.freedesktop.org/wiki/InstallNouveau

or better:

http://nouveau.freedesktop.org/wiki/UbuntuPackages

as geubuntu is based on ubuntu.

 * of course, there are mailing lists and irc chan (#nouveau @ freenode) 
if you want more help


Vincent


On Oct 30, 2008, at 9:02 AM, Ross Vandegrift wrote:


On Thu, Oct 30, 2008 at 07:33:02AM -0600, Jorge Mariani wrote:

I have a Dell Precision M4300, CoreDuo, 4GB RAM, two disks (40GB
Solid
State, 80GB SATA), and nVidia Quadro FX360M.
I have installed Ubuntu Server with LAMP.
I usually run Firefox 3.0.3 with Firebug, Scite or Bluefish, Pidgin,
and sometimes GIMP.


[snip]


I navigated the whole internet looking for solutions, and none
worked,
until I found an article talking about GMail messaging and having
issues with that. So, i disabled GMail from Pidgin (I only have Luca
connected) and then voila, freezing is no longer happening, and the
machine is usable again (besides the fact Firefox still eats round
40%
CPU when scrolling a page).


Noting that your video card is nvidia and you're seeing slow
scrolling, you're probably using the nv open source driver.

If this is correct, you're likely experiencing software glyph and
compositing issues from Xorg.  You'll notice this happens in varying
degress when Gecko renders layers of translucent images.  The more
layers to blend the worse it get.

Check if nouveau, the experimental accelerated driver, supports your
chipset.  If so, you should experience quite better performance.  I'm
using nouveau with a G7x card and Enlightenment.

Ross

--
Ross Vandegrift
[EMAIL PROTECTED]

If the fight gets hot, the songs get hotter.  If the going gets
tough,
the songs get tougher.
--Woody Guthrie



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
Ce message a été vérifié par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.
Message délivré par le serveur de messagerie de l'Université d'Evry.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Rage TODO items

2008-11-01 Thread Tim Felgentreff
Hi, I am atm trying to help a little for the first time, working on the
TODO list of Rage. I have started on two items already. One is simple
mouse control for rage, and the other is work on the settings menu. I
would like to hear what you think. I would also like to add support for
an eet configfile to rage, if that's okay with the maintainer. Both
patches apply cleanly to revision 37377, they're not interrelated.
Regards, Tim
# This patch enables mouse events on the menu items
# It shows the mouse pointer temporarily when moved in 
# fullscreen mode
# Leftclick enters an item, rightclick leaves it
--- a/src/bin/menu.c
+++ b/src/bin/menu.c
@@ -73,6 +73,24 @@ _menu_current_get(void)
return NULL;
 }
 
+void
+_menu_mouseover_select(void *data, Evas_Object *obj, const char *emission, const char *source) 
+{
+   menu_item_select((char*) data);
+}
+
+void
+_menu_mouseover_go(void *data, Evas_Object *obj, const char *emission, const char *source) 
+{
+   menu_item_select_go();
+}
+
+void
+_menu_mouseover_pop(void *data, Evas_Object *obj, const char *emission, const char *source) 
+{
+   if ((menus)  (menus-next)) menu_pop();
+}
+
 static void
 _menu_item_select_update(Menu *m, Menu_Item *mi)
 {
@@ -131,6 +149,9 @@ _menu_realize(Menu *m)
 	mi = l-data;
 	mi-base = edje_object_add(evas);
 	edje_object_file_set(mi-base, theme, menu_item);
+	edje_object_signal_callback_add(mi-base, mouse,move, *, _menu_mouseover_select, (void*)mi-label);
+	edje_object_signal_callback_add(mi-base, mouse,clicked,1, *, _menu_mouseover_go, NULL);
+	edje_object_signal_callback_add(mi-base, mouse,clicked,3, *, _menu_mouseover_pop, NULL);
 	if (mi-label)
 	  edje_object_part_text_set(mi-base, label, mi-label);
 	else
--- a/data/default.edc
+++ b/data/default.edc
@@ -1145,6 +1145,21 @@ collections {
 	}
 	 }
 	 part {
+	name: mouse_rectangle;
+	mouse_events: 1;
+	type: RECT;
+	description {
+	   state: default 0.0;
+	   color: 0 0 0 0;
+	   rel1 {
+		  offset:  -9 -9;
+	   }
+	   rel2 {
+		  offset:  10 10;
+	   }
+	}
+	 }
+	 part {
 	name: label;
 	type: TEXT;
 effect: SOFT_OUTLINE;
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -10,6 +10,7 @@ struct _Mode
 Evas*evas = NULL;
 char*theme = NULL;
 char*config = NULL;
+Ecore_Timer* mouse_timeout = NULL;
 
 static double   start_time = 0.0;
 static Ecore_Evas  *ecore_evas = NULL;
@@ -23,6 +24,7 @@ static void main_usage(void);
 static int main_volume_add(void *data, int type, void *ev);
 static int main_volume_del(void *data, int type, void *ev);
 static void main_key_down(void *data, Evas *e, Evas_Object *obj, void *event_info);
+static void main_mouse_move(void *data, Evas *e, Evas_Object *obj, void *event_info);
 static int  main_signal_exit(void *data, int ev_type, void *ev);
 static void main_delete_request(Ecore_Evas *ee);
 static void main_resize(Ecore_Evas *ee);
@@ -161,6 +163,7 @@ main(int argc, char **argv)
evas_object_resize(o, startw, starth);
evas_object_show(o);
evas_object_event_callback_add(o, EVAS_CALLBACK_KEY_DOWN, main_key_down, NULL);
+   evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_MOVE, main_mouse_move, NULL);
evas_object_focus_set(o, 1);
o_bg = o;
 
@@ -754,3 +757,24 @@ main_menu_tv(void *data)
 {
system(tvtime -m -n PAL -f custom);
 }
+
+int
+main_mouse_timeout(void* data)
+{
+   ecore_evas_cursor_set(ecore_evas, , 999, 0, 0);
+   mouse_timeout = NULL;
+   return ECORE_CALLBACK_CANCEL;
+}
+
+static void
+main_mouse_move(void *data, Evas *e, Evas_Object *obj, void *event_info)
+{
+   if (mouse_timeout)
+  ecore_timer_delay(mouse_timeout, 1-ecore_timer_pending_get(mouse_timeout));
+   else
+   {
+  mouse_timeout = ecore_timer_add(1, main_mouse_timeout, NULL);
+  ecore_evas_cursor_set(ecore_evas, NULL, 0, 0, 0);
+   }
+}
+
# This patch adds some config options
# With it, one can toggle fullscreen,
# and change between x11 and xrender (for now)
# It adds a function to restart rage
--- a/src/bin/Makefile.am
+++ b/src/bin/Makefile.am
@@ -35,7 +35,9 @@ e_table.h \
 e_layout.c \
 e_layout.h \
 e_flowlayout.c \
-e_flowlayout.h
+e_flowlayout.h \
+conf_options.c \
+conf_options.h
 
 rage_LDADD = @my_libs@ @EVAS_LIBS@ @ECORE_LIBS@ @EDJE_LIBS@ @EMOTION_LIBS@
 
--- /dev/null
+++ b/src/bin/conf_options.c
@@ -0,0 +1,57 @@
+#include conf_options.h
+#include main.h
+
+void 
+config_option_fullscreen(void *data)
+{
+   Ecore_Evas *ee = (Ecore_Evas *)data;
+
+   if (ecore_evas_fullscreen_get(ee))
+   {
+  ecore_evas_fullscreen_set(ee, 0);
+  ecore_evas_cursor_set(ee, NULL, 0, 0, 0);
+   }
+   else 
+   {
+  ecore_evas_fullscreen_set(ee, 1);
+  ecore_evas_cursor_set(ee, , 999, 0, 0);
+   }
+}
+
+void 
+config_option_themes(void *data)
+{
+}
+
+void
+config_option_modes_switch(void* data)
+{
+   char* engine = (char*)data;
+   if (!strcmp(engine, software_x11))
+  main_reset(-x11);
+   else if (!strcmp(engine, xrender_x11))
+  

[E-devel] swallow question

2008-11-01 Thread flower-mei
 
 hi all,

  Maybe I don't understand the  swallow and  unswallow  very  well, when I 
unswallow a part, then swallow a new part it just display nothing that is the 
current part is unswallowed  but  the new part maybe  not be swallowed 
successfully or some reason made it not displayed, I am confused  by this. 
what's  the problem?
 
the code is: 

 self.sub_menu = edje.Edje(self.ee.evas, 
   file=self.edje_file, 
   group=current_menu)

 self.main_group.part_unswallow(sub_menu_contents,self.sub_menu)
 self.sub_menu_new =  edje.Edje(self.ee.evas, 
   file=self.edje_file, 
   group=new_menu)
 self.main_group.part_swallow(sub_menu_contents,self.sub_menu_new)
 

 thanks! 
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] fixing the python-edje example 03-kinetic_list

2008-11-01 Thread dongmei zhou
hi all,
python-efl examples  in  directory :
root/trunk/e17/proto/python-efl/python-edje/examples/evas-demo/03-kinetic_list
has some problems

when  running:
KineticList.clip_set(object) not implemented.
ResizableImage.clip_set(object) not implemented.
ResizableImage.show() not implemented.
who can help  fix  this :)

 ( I am  learning through  this  example )

thanks!
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E-Module_Extra stringshare patch.

2008-11-01 Thread Christopher Michael
In cvs, thanks :)

dh

Stephane Bauland wrote:
 Hi all, i notice that evas_stringshare left on some of the modules. Here 
 is attached the patch to replac evas_stringshare by eina ones.
 
 PS: I test them quickly, they seem to be working.
 
 
 
 
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 
 
 
 
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel