[E-devel] EWL in a Evas/Edje application?

2008-10-04 Thread Diogo Dutra
Hi,
I am creating a app in evas/edje, but I would to put some widgets in
the app, I did it, but the widget is not accessible, a button for
example is not clickable.
Have a way to do this!? If yes, please tell me!

I tested ETK and works ok, but I want to use EWL because portability,
the EWL was ported to windows, but ETK not.. (I think), if ETK run in
windows I will use it.

-- 
===

Diogo Dutra Albuquerque

Meu Curriculum Lattes: http://lattes.cnpq.br/3624796077679922

-
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] - Python-etk patch

2008-10-04 Thread Boris Faure (aka billiob)
The previous patch 0006-add-TextView-a-little-of-Textblock.patch is wrong.
You should use the one attached instead.
-- 
Boris FAURE (aka billiob)
-
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] - Python-etk patch

2008-10-04 Thread Boris Faure (aka billiob)
On Wed, Sep 24, 2008 at 11:29, MALBROUKOU Karel [EMAIL PROTECTED] wrote:
 Hi everyone,

 I have added some widgets support to the python-etk module:
  - Dialog
  - StockEnums under etk.c_etk
  - Example on how to use FilechooserWidget and Dialog

 Please find the patch in attachment!

 --
 Karel Malbroukou
 Sr. Linux Admin

 PowerE2E

Hi,

I have some patches for python-etk too!
Those patches add:
- Menu*, PopupWindow
- EvasObject
- String, very incomplete but it fits my needs
- TextView and a very little of TextBlock
- HPaned and VPaned

There are also 2 new examples files, one for menus, and the second for
the TextView and HPaned.

Those patches should be applied after the one from Karel MALBROUKOU.

I haven't managed to make etk.MenuItemRadio.group_set work.
In the example 19-text.py, you'll see that the position of the
separator can not be set before the widgets are drawn.

Greetings
-- 
Boris FAURE (aka billiob)
-
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] EWL in a Evas/Edje application?

2008-10-04 Thread Gustavo Sverzut Barbieri
On Sat, Oct 4, 2008 at 10:12 AM, Diogo Dutra [EMAIL PROTECTED] wrote:
 Hi,
 I am creating a app in evas/edje, but I would to put some widgets in
 the app, I did it, but the widget is not accessible, a button for
 example is not clickable.
 Have a way to do this!? If yes, please tell me!

 I tested ETK and works ok, but I want to use EWL because portability,
 the EWL was ported to windows, but ETK not.. (I think), if ETK run in
 windows I will use it.

not much info here, but I guess your SWALLOW part is marked with
mouse_events: 0, thus blocking events on the swallowed button.

Another option is that you left an object on top of this button that
gets events, maybe a transparent rectangle with mouse_events: 1 ?


-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: [EMAIL PROTECTED]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

-
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] EWL in a Evas/Edje application?

2008-10-04 Thread Diogo Dutra
Im sorry, I dont gave the information correctly.
I will explain better.
I put a EWL widget in the evas/edje application, the widget appears,
but is not usable.
I want to put a entrybox widget in my application, to the user type something..
In etk I put the entrybox easily and works fine, but in EWL not.
The application part of evas/edje works fine.

My ask is: Have a way to put a EWL widget in a evas/edje application?

On Sat, Oct 4, 2008 at 12:29 PM, Gustavo Sverzut Barbieri
[EMAIL PROTECTED] wrote:
 On Sat, Oct 4, 2008 at 10:12 AM, Diogo Dutra [EMAIL PROTECTED] wrote:
 Hi,
 I am creating a app in evas/edje, but I would to put some widgets in
 the app, I did it, but the widget is not accessible, a button for
 example is not clickable.
 Have a way to do this!? If yes, please tell me!

 I tested ETK and works ok, but I want to use EWL because portability,
 the EWL was ported to windows, but ETK not.. (I think), if ETK run in
 windows I will use it.

 not much info here, but I guess your SWALLOW part is marked with
 mouse_events: 0, thus blocking events on the swallowed button.

 Another option is that you left an object on top of this button that
 gets events, maybe a transparent rectangle with mouse_events: 1 ?


 --
 Gustavo Sverzut Barbieri
 http://profusion.mobi embedded systems
 --
 MSN: [EMAIL PROTECTED]
 Skype: gsbarbieri
 Mobile: +55 (19) 9225-2202




-- 
===

Diogo Dutra Albuquerque

Meu Curriculum Lattes: http://lattes.cnpq.br/3624796077679922

-
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] configure.ac

2008-10-04 Thread Peter Wehrfritz
Hi all,

The filename configure.in is deprecated for a long time now. Since we 
are know using svn it'd be easy to move the files to the correct name 
configure.ac. If there aren't any objections, I will do the rename.

Regards Peter

-
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] Exchange library needs your attention

2008-10-04 Thread Massimiliano Calamelli
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi, here's a little status update for the client side of exchange, my
library.
A lot of things are done, others are coming.
Hot changes from last mail:
* the cli (exchange_cli) are powered by getopt
* the library provide a doxy docs, ./gendoc in the root (standard
layout, currently not the E standard)
* a lot of new functions

The code can be found here:
http://staff.get-e.org/?p=users/mcalamelli/exchange.git;a=summary

Here's the feed, to get updates (i'll mail on lists ony for VERY big
changes): 

RSS - http://staff.get-e.org/?p=users/mcalamelli/exchange.git;a=rss
ATOM - http://staff.get-e.org/?p=users/mcalamelli/exchange.git;a=atom

I'm going on with TODO list, anyway any suggestion are welcome.

Feel free to test, use and abuse, and maybe merge in proto... :)

Ciao

Massimiliano
- -- 
Massimiliano Calamelli
http://mcalamelli.netsons.org
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFI3QpTleGEL56NNP4RAtOmAJ4wSQpRk9LCjFgF7MOhO/JZIjP+VQCeMLQy
DvhCTcM4bbzK354x96ceNhI=
=zQ/N
-END PGP SIGNATURE-

-
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] Fwd: EWL in a Evas/Edje application?

2008-10-04 Thread Nathan Ingersoll
Forgot to reply-all.


-- Forwarded message --
From: Nathan Ingersoll [EMAIL PROTECTED]
Date: Sat, Oct 4, 2008 at 11:40 AM
Subject: Re: [E-devel] EWL in a Evas/Edje application?
To: Diogo Dutra [EMAIL PROTECTED]


On Sat, Oct 4, 2008 at 10:56 AM, Diogo Dutra [EMAIL PROTECTED] wrote:
 Im sorry, I dont gave the information correctly.
 I will explain better.
 I put a EWL widget in the evas/edje application, the widget appears,
 but is not usable.
 I want to put a entrybox widget in my application, to the user type 
 something..
 In etk I put the entrybox easily and works fine, but in EWL not.
 The application part of evas/edje works fine.

 My ask is: Have a way to put a EWL widget in a evas/edje application?

We have an example of how to accomplish this in the source tree. Take
a  look at ewl/src/bin/ewl_embed_test.c for an example.

Nathan

 On Sat, Oct 4, 2008 at 12:29 PM, Gustavo Sverzut Barbieri
 [EMAIL PROTECTED] wrote:
 On Sat, Oct 4, 2008 at 10:12 AM, Diogo Dutra [EMAIL PROTECTED] wrote:
 Hi,
 I am creating a app in evas/edje, but I would to put some widgets in
 the app, I did it, but the widget is not accessible, a button for
 example is not clickable.
 Have a way to do this!? If yes, please tell me!

 I tested ETK and works ok, but I want to use EWL because portability,
 the EWL was ported to windows, but ETK not.. (I think), if ETK run in
 windows I will use it.

 not much info here, but I guess your SWALLOW part is marked with
 mouse_events: 0, thus blocking events on the swallowed button.

 Another option is that you left an object on top of this button that
 gets events, maybe a transparent rectangle with mouse_events: 1 ?


 --
 Gustavo Sverzut Barbieri
 http://profusion.mobi embedded systems
 --
 MSN: [EMAIL PROTECTED]
 Skype: gsbarbieri
 Mobile: +55 (19) 9225-2202




 --
 ===

 Diogo Dutra Albuquerque

 Meu Curriculum Lattes: http://lattes.cnpq.br/3624796077679922

 -
 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


[E-devel] edc and edj MIME Types?

2008-10-04 Thread Andreas Volz
Hi,

is there a MIME definition for edj and edc file? I searched
in /opt/e17/share/mime, but there's not such a directory.

Is it available anywhere else?

regards
Andreas

-
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] R: Tooltip disable for edje_editor

2008-10-04 Thread Toma
They steal focus when entering text. Thats using the click to focus
settings in e17.
Toma

2008/9/27 Dave Andreoli [EMAIL PROTECTED]:

 - Andreas Volz [EMAIL PROTECTED] ha scritto:

 Hello,

 as tooltips seem to be broken in Etk I created a little patch for
 edje_editor to disable tooltips.

 Witch problem do you get with tooltips?
 They work well here

 Dave


 Index: src/bin/edje_editor_window.c
 ===
 --- src/bin/edje_editor_window.c  (Revision 36225)
 +++ src/bin/edje_editor_window.c  (Arbeitskopie)
 @@ -48,7 +48,8 @@

 //Tooltips
 etk_tooltips_init();
 -   etk_tooltips_enable();
 +   //etk_tooltips_enable();
 +   etk_tooltips_disable();

 //Create the evas objects needed by the canvas (fakewin,
 handlers)
 canvas_prepare();

 May I commit this until tooltips in Etk are fixed again? Currently
 it's not
 really possible to work with edje_editor.

 regards
 Andreas

 -
 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


[E-devel] [Update] Exchange library

2008-10-04 Thread Massimiliano Calamelli
Hi, here's a little status update for the client side of exchange, my
library.
A lot of things are done, others are coming.
Hot changes from last mail:
* the cli (exchange_cli) are powered by getopt
* the library provide a doxy docs, ./gendoc in the root (standard
layout, currently not the E standard)
* a lot of new functions

The code can be found here:
http://staff.get-e.org/?p=users/mcalamelli/exchange.git;a=summary

Here's the feed, to get updates (i'll mail on lists ony for VERY big
changes):

RSS - http://staff.get-e.org/?p=users/mcalamelli/exchange.git;a=rss
ATOM - http://staff.get-e.org/?p=users/mcalamelli/exchange.git;a=atom

I'm going on with TODO list, anyway any suggestion are welcome.

Feel free to test, use and abuse, and maybe merge in proto... :)

Ciao

Massimiliano

-
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] patch: prevent exebuf from trying to match with empty commands

2008-10-04 Thread Chidambar 'ilLogict' Zinnoury
 Hello!

 Here is a patch that prevents exebuf from matching .desktops for icons
when having an empty buffer (matches here with cups.desktop which has an
empty generic name).

 Cheers !

 Chidambar 'ilLogict' Zinnoury
Index: trunk/e/src/modules/exebuf/e_exebuf.c
===
--- trunk/e/src/modules/exebuf/e_exebuf.c	(revision 36289)
+++ trunk/e/src/modules/exebuf/e_exebuf.c	(working copy)
@@ -414,6 +414,9 @@
edje_object_part_text_set(bg_object, e.text.label, cmd_buf);
if (icon_object) evas_object_del(icon_object);
icon_object = NULL;
+
+   if (!cmd_buf[0]) return;
+
desktop = efreet_util_desktop_exec_find(cmd_buf);
if (!desktop) desktop = efreet_util_desktop_name_find(cmd_buf);
if (!desktop) desktop = efreet_util_desktop_generic_name_find(cmd_buf);


signature.asc
Description: PGP signature
-
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 SVN: toma trunk/THEMES/b_and_w

2008-10-04 Thread Chidambar 'ilLogict' Zinnoury
 Hello!

Dans son message intitulé « E SVN: toma trunk/THEMES/b_and_w » du
Sat, 27 Sep 2008 19:36:43 -0700, Enlightenment SVN
[EMAIL PROTECTED] nous a donné l'occasion de lire :

 Log:
   Swap icon in. Test it in Wallpaper/Gradient selector.
[snip]

 IMHO, this icon does not really match the rest of the theme: there is
no other one with a white border. Same icon without that white border
but a pixel-glow effect next to border (such as the check icon) would
be great.

 My 2 cents.

 As I am into it, I also would like to thank you for all the great
artwork you're creating :D

 Cheers!

 Chidambar ilLogict Zinnoury


signature.asc
Description: PGP signature
-
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] Auth checkout from svn?

2008-10-04 Thread Viktor Kojouharov
The following is a very silly question:

How do I checkout the trunk, using my username (the public key is still
in devs, and I still have the private key)?

I was out of the loop for a couple of months, so I  missed the whole
cvs-svn migration thing.


-
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] New icons - style

2008-10-04 Thread Toma
Hey all,
Just thought Id run this by the dev list before starting to make a
pile of icons. You might have noticed a few widget style icons coming
into svn lately, and the style they use. Feel free to open the SVG of
'widgets.svg.gz' in inkscape (its in THEMES/b_and_w/) and more
recently 'swap.svg.gz' in the same dir. For those of you with little
time/effort, heres a quick pixmap for 'swap' to inspect.
http://members.iinet.net.au/~haste/e17/swap.png

Anything wrong with those? Constructive criticism is needed!
Toma

-
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] patch: prevent exebuf from trying to match with empty commands

2008-10-04 Thread Gustavo Sverzut Barbieri
On Sun, Sep 28, 2008 at 10:03 AM, Chidambar 'ilLogict' Zinnoury
[EMAIL PROTECTED] wrote:
  Hello!

  Here is a patch that prevents exebuf from matching .desktops for icons
 when having an empty buffer (matches here with cups.desktop which has an
 empty generic name).

svn it is.


-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: [EMAIL PROTECTED]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

-
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] Auth checkout from svn?

2008-10-04 Thread Peter Wehrfritz
Viktor Kojouharov schrieb:
 The following is a very silly question:

 How do I checkout the trunk, using my username (the public key is still
 in devs, and I still have the private key)?

 I was out of the loop for a couple of months, so I  missed the whole
 cvs-svn migration thing.
   
http://svn.enlightenment.org/

-
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] Auth checkout from svn?

2008-10-04 Thread Viktor Kojouharov
On Sat, 2008-10-04 at 20:54 +0200, Peter Wehrfritz wrote:
 Viktor Kojouharov schrieb:
  The following is a very silly question:
 
  How do I checkout the trunk, using my username (the public key is still
  in devs, and I still have the private key)?
 
  I was out of the loop for a couple of months, so I  missed the whole
  cvs-svn migration thing.

 http://svn.enlightenment.org/
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] Patch: add jpeg thumbnail format to epsilon

2008-10-04 Thread Hendrik Siedelmann
Did I post this in some wrong form? I can't believe there's no one
interested in this. I thought this was asked for before, but it doesnt
look like it. I'd be happy to get any feedback, even if only to know
why my patch was completely ignored.

I'm refering to my mail from 21 Sep 2008:
Okay here it is, this patch adds the possibility to epsilon to create
thumbnails in jpg format. The thumbnails are saved in FDO naming
convention, just with ending .jpg. Would be glad if you could give me
some feedback so this could eventually be included in svn. Patch works
for me, but there are some things to mention:

- default behaviour is like before, BUT epsilon_exists will also find
jpg thumbs, so epsilon_thumb_file_get will return the jpg and
epsilon_info_get will return nothing as the jpg contains no exif
infos.

- I don't know what happens in those HAVE_EPEG_H parts, only tested
without epeg.

- new function epsilon_format_set which allows to set format to jpeg.

- also changed epsilon_thumbd and added function
epsilon_request_add_advanced which can also set format (and in the
future hopefully custom sizes).

- changed epsilon_thumb_test to accept the arguments -large and -jpg
to request thumbnails with these options.

From my test the jpg output is at least two times as fast on my laptop
and at least five times on the the freerunner. Also the resulting
files are 10-20% the size of png thumbnails.

-
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] R: Re: always e17 on opensolaris

2008-10-04 Thread Joerg Sonnenberger
On Tue, Sep 30, 2008 at 05:49:42AM +0200, Vincent Torri wrote:
  the man page says that strcasestr is a non standard function.
 
  Is there a standard function that do the same job? I can't find any :(
 
 I know that gnulib provides an implementation of that function that is 
 missing on some OS, but gnulib is an horror to install and to use.

Just pick the version e.g. from NetBSD and use AC_REPLACE or whatever.
Ask for patches if you don't want to do it.

 I tried once to use it (for the %a modifier of snprintf).

Hex-float is a bit more problematic :)

Joerg

-
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] ecore_pipe again

2008-10-04 Thread Peter Wehrfritz
Peter Wehrfritz schrieb:
 Sebastian Dransfeld schrieb:
   
 Peter Wehrfritz wrote:
   
 
 Hi all,

 I took Vincent's last ecore_pipe approach and changed ecore_pipe_write 
 to accept variable long data and not only a pointer. I also added the 
 possibility to pass a data pointer to the handler callback to avoid the 
 usage of globals. The win version does probably not work.

 Please read it carefully, because I'm not very familiar with pipes. 
 Attached you'll find a little test app, too.
 
   
 Shouldn't you check that you actually read the number of bytes the 
 system says is in the pipeline
 

 Right, sorry I forgot to mention, that I skipped them, because I'm not 
 sure how I should handle these cases. Of course that doesn't mean that 
 we have not to handle them.

 1. What shall we do if the return size is smaller (but  0). If I 
 understood it right, that can happen if the writing process writes more 
 bytes then PIPE_BUF. Should we then retry it, to get the rest of the 
 data. Or should we buffer the already read data and try it to get the 
 rest when _ecore_pipe_read is called again.

 2. What should we do if we get an error messages? And when can this 
 happen? If we can loose some bytes then we are out of sync with the 
 lenght and data portions and the results would be randomly, but in any 
 case wrong.

 3. In Vincent's version he called read as long as he gets pointer from 
 the pipe, should I also loop as long as there is data in the pipe?

 I hope I covered here all possible errors

Can anyone help here? I don't need it personally, but it'd be nice to 
have it in ecore. Especially since it isn't that trivial like it looks 
on the first sight.

Peter

-
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] R: Exchange library, update and suggestion...

2008-10-04 Thread Dave Andreoli

- Massimiliano Calamelli [EMAIL PROTECTED] ha scritto:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi, here's a update for the client side of exchange.
 A lot of things are done, other are coming.
 Major changes:
 * the cli (exchange_cli) are powered by getopt
 * the library now provide a doxy docs, ./gendoc in the root (default
 layout, currently not the E standard)
 * a lot of new functions
 
 The code can be found here:
 http://staff.get-e.org/?p=users/mcalamelli/exchange.git;a=summary
 
 Here's the feed, to get updates
 
 RSS - http://staff.get-e.org/?p=users/mcalamelli/exchange.git;a=rss
 ATOM -
 http://staff.get-e.org/?p=users/mcalamelli/exchange.git;a=atom
 
 I'm going on with TODO list, but any suggestion are more than
 welcome.
 Use and abuse it, and tell me what you think.
 
 I hope there is a little place for me in PROTO...

IMHO Absolutly! This stuff is really intresting :)
Dave

 
 Happy coding
 
 Massimiliano
 - -- 
 Massimiliano Calamelli
 http://mcalamelli.netsons.org
 [EMAIL PROTECTED]
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (MingW32)
 
 iD8DBQFI4kh8leGEL56NNP4RAgtyAJ0SPYJePyl9rbS0PqVw8xuVgdDgxACg5+VA
 72p0uu4HcPXSqHF7Qifusr4=
 =oCAi
 -END PGP SIGNATURE-
 
 -
 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] - Python-etk patch

2008-10-04 Thread Gustavo Sverzut Barbieri
On Thu, Sep 25, 2008 at 10:40 AM, Boris Faure (aka billiob)
[EMAIL PROTECTED] wrote:
 The previous patch 0006-add-TextView-a-little-of-Textblock.patch is wrong.
 You should use the one attached instead.

still /etc/mime.types problem and no patch attached, mine reads:
text/diff   diff
text/patch  patch

those patches are already applied, so send the fixes on top of svn.

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: [EMAIL PROTECTED]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

-
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] Fwd: EWL in a Evas/Edje application?

2008-10-04 Thread Diogo Dutra
Thank you guys!

I dont swallowed the widget into the evas, this was my mistake.

the function ewl_embed_canvas_set return void* and I think this was
void... so I dont take the evas_object pointer and dont swallowed it
to the evas.

The example of ewl_embed_test.c was very helpfull, it bring me the
light of the swallowed widget.

Now it works!

On Sat, Oct 4, 2008 at 1:40 PM, Nathan Ingersoll [EMAIL PROTECTED] wrote:
 Forgot to reply-all.


 -- Forwarded message --
 From: Nathan Ingersoll [EMAIL PROTECTED]
 Date: Sat, Oct 4, 2008 at 11:40 AM
 Subject: Re: [E-devel] EWL in a Evas/Edje application?
 To: Diogo Dutra [EMAIL PROTECTED]


 On Sat, Oct 4, 2008 at 10:56 AM, Diogo Dutra [EMAIL PROTECTED] wrote:
 Im sorry, I dont gave the information correctly.
 I will explain better.
 I put a EWL widget in the evas/edje application, the widget appears,
 but is not usable.
 I want to put a entrybox widget in my application, to the user type 
 something..
 In etk I put the entrybox easily and works fine, but in EWL not.
 The application part of evas/edje works fine.

 My ask is: Have a way to put a EWL widget in a evas/edje application?

 We have an example of how to accomplish this in the source tree. Take
 a  look at ewl/src/bin/ewl_embed_test.c for an example.

 Nathan

 On Sat, Oct 4, 2008 at 12:29 PM, Gustavo Sverzut Barbieri
 [EMAIL PROTECTED] wrote:
 On Sat, Oct 4, 2008 at 10:12 AM, Diogo Dutra [EMAIL PROTECTED] wrote:
 Hi,
 I am creating a app in evas/edje, but I would to put some widgets in
 the app, I did it, but the widget is not accessible, a button for
 example is not clickable.
 Have a way to do this!? If yes, please tell me!

 I tested ETK and works ok, but I want to use EWL because portability,
 the EWL was ported to windows, but ETK not.. (I think), if ETK run in
 windows I will use it.

 not much info here, but I guess your SWALLOW part is marked with
 mouse_events: 0, thus blocking events on the swallowed button.

 Another option is that you left an object on top of this button that
 gets events, maybe a transparent rectangle with mouse_events: 1 ?


 --
 Gustavo Sverzut Barbieri
 http://profusion.mobi embedded systems
 --
 MSN: [EMAIL PROTECTED]
 Skype: gsbarbieri
 Mobile: +55 (19) 9225-2202




 --
 ===

 Diogo Dutra Albuquerque

 Meu Curriculum Lattes: http://lattes.cnpq.br/3624796077679922

 -
 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




-- 
===

Diogo Dutra Albuquerque

Meu Curriculum Lattes: http://lattes.cnpq.br/3624796077679922

-
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] Patch: add jpeg thumbnail format to epsilon

2008-10-04 Thread Hendrik Siedelmann
2008/10/4 Gustavo Sverzut Barbieri [EMAIL PROTECTED]:
 On Mon, Sep 29, 2008 at 4:43 PM, Hendrik Siedelmann
 [EMAIL PROTECTED] wrote:
 Did I post this in some wrong form? I can't believe there's no one
 interested in this. I thought this was asked for before, but it doesnt
 look like it. I'd be happy to get any feedback, even if only to know
 why my patch was completely ignored.

 I'm refering to my mail from 21 Sep 2008:
Okay here it is, this patch adds the possibility to epsilon to create
thumbnails in jpg format. The thumbnails are saved in FDO naming
convention, just with ending .jpg. Would be glad if you could give me
some feedback so this could eventually be included in svn. Patch works
for me, but there are some things to mention:

- default behaviour is like before, BUT epsilon_exists will also find
jpg thumbs, so epsilon_thumb_file_get will return the jpg and
epsilon_info_get will return nothing as the jpg contains no exif
infos.

- I don't know what happens in those HAVE_EPEG_H parts, only tested
without epeg.

- new function epsilon_format_set which allows to set format to jpeg.

- also changed epsilon_thumbd and added function
epsilon_request_add_advanced which can also set format (and in the
future hopefully custom sizes).

- changed epsilon_thumb_test to accept the arguments -large and -jpg
to request thumbnails with these options.

 From my test the jpg output is at least two times as fast on my laptop
and at least five times on the the freerunner. Also the resulting
files are 10-20% the size of png thumbnails.

 Hey, calm down! We're all busy and I'm sure there is interest in it, I
 do, for example... as well as need to reply to Philip's thumbnail
 spec... just need time! :-)

 I'll try to go through it during this weekend.

Sorry for the rush, I didn't want to sound rude. And thank you for
looking at it. This little bit of feedback is all I wanted :).

hendrik

-
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] Patch: add jpeg thumbnail format to epsilon

2008-10-04 Thread Gustavo Sverzut Barbieri
On Sat, Oct 4, 2008 at 8:42 PM, Hendrik Siedelmann
[EMAIL PROTECTED] wrote:
 2008/10/4 Gustavo Sverzut Barbieri [EMAIL PROTECTED]:
 On Mon, Sep 29, 2008 at 4:43 PM, Hendrik Siedelmann
 [EMAIL PROTECTED] wrote:
 Did I post this in some wrong form? I can't believe there's no one
 interested in this. I thought this was asked for before, but it doesnt
 look like it. I'd be happy to get any feedback, even if only to know
 why my patch was completely ignored.

 I'm refering to my mail from 21 Sep 2008:
Okay here it is, this patch adds the possibility to epsilon to create
thumbnails in jpg format. The thumbnails are saved in FDO naming
convention, just with ending .jpg. Would be glad if you could give me
some feedback so this could eventually be included in svn. Patch works
for me, but there are some things to mention:

- default behaviour is like before, BUT epsilon_exists will also find
jpg thumbs, so epsilon_thumb_file_get will return the jpg and
epsilon_info_get will return nothing as the jpg contains no exif
infos.

- I don't know what happens in those HAVE_EPEG_H parts, only tested
without epeg.

- new function epsilon_format_set which allows to set format to jpeg.

- also changed epsilon_thumbd and added function
epsilon_request_add_advanced which can also set format (and in the
future hopefully custom sizes).

- changed epsilon_thumb_test to accept the arguments -large and -jpg
to request thumbnails with these options.

 From my test the jpg output is at least two times as fast on my laptop
and at least five times on the the freerunner. Also the resulting
files are 10-20% the size of png thumbnails.

 Hey, calm down! We're all busy and I'm sure there is interest in it, I
 do, for example... as well as need to reply to Philip's thumbnail
 spec... just need time! :-)

 I'll try to go through it during this weekend.

 Sorry for the rush, I didn't want to sound rude. And thank you for
 looking at it. This little bit of feedback is all I wanted :).

you didn't sound rude, I was just doing a pong, we're here :-)

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: [EMAIL PROTECTED]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

-
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] Are Etk_Mdi_Windows relative to their Etk_Mdi_Area or the Etk_Window?

2008-10-04 Thread Viktor Kojouharov
I'm having a bit of a problem when using the Etk_Mdi_Windows inside an
Etk_Mdi_Area.

Since the area is not at coordinate 1x1 relative to the window, dragging
the mdi windows produces an initial (relative to the drag start) 'jump'.
The jump offset is the offset of the area itself, so I'm thinking that
the position of the area is not taken into consideration when moving its
children. Is this a [known] bug?


-
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] [PATCH] UDP client/server support

2008-10-04 Thread Matt Barclay
Hello,

With this patch, ecore will have full UDP client/server support.
Tooling UDP into the framework wasn't the easiest thing in the world
because a UDP server has a single socket (i.e. file handle) that is
used to handle all clients, whereas a TCP server generates a new
socket for each client that encapsulates all the details of the
connection.  So here's how I implemented it:

UDP Server (Unicast and Multicast):
1.  When there is data on the socket, the callback uses recvfrom() to
read the datagram and client address (struct sockaddr_in)
2.  Create a new Ecore_Con_Client and save the client address
(sockaddr_in) details with the data field.  Leave the fd, buf,
and fd_handler fields NULL.
3.  Create a new Ecore_Con_Event_Client_Data and save the datagram in
the data field, and the client in the client field
4.  ecore_con_client_send() is updated to check for a
client-server-type of ECORE_CON_REMOTE_UDP and use sendto() with
client-data as the destination instead of appending the buffer to
client-buf
5.  relevant portions of ecore_con_client_del() and
_ecore_con_event_client_data_free() are updated to ensure the client
and data memory are freed

The use of recvfrom() and sendto() feels a little dirty to me, but I'm
not sure how else to preserve the client address so that packets can
be sent back to the client.  AFAIK, there isn't any way to do an
accept() on a UDP socket such that a new file handle is created that
encapsulates the end points of the UDP socket.  Would appreciate some
enlightenment on this topic if I'm wrong.  ;)

UDP Client support fits nicely into the framework as a new socket is
created each time ecore_con_server_connect() is called.

A UDP Server example program is included with the patch, and examples
of multicast and UDP client support can be found in SVN:
TEST/orig/ecore/

Regards,
Matt
Index: ecore/src/lib/ecore_con/ecore_con.c
===
--- ecore/src/lib/ecore_con/ecore_con.c	(revision 36438)
+++ ecore/src/lib/ecore_con/ecore_con.c	(working copy)
@@ -33,7 +33,7 @@
 static int _ecore_con_svr_handler(void *data, Ecore_Fd_Handler *fd_handler);
 static int _ecore_con_cl_handler(void *data, Ecore_Fd_Handler *fd_handler);
 static int _ecore_con_cl_udp_handler(void *data, Ecore_Fd_Handler *fd_handler);
-static int _ecore_con_mcast_handler(void *data, Ecore_Fd_Handler *fd_handler);
+static int _ecore_con_svr_udp_handler(void *data, Ecore_Fd_Handler *fd_handler);
 static int _ecore_con_svr_cl_handler(void *data, Ecore_Fd_Handler *fd_handler);
 static void _ecore_con_server_flush(Ecore_Con_Server *svr);
 static void _ecore_con_client_flush(Ecore_Con_Client *cl);
@@ -323,23 +323,31 @@
 _ecore_con_svr_handler, svr, NULL, NULL);
 	if (!svr-fd_handler) goto error;
  }
-   else if (type == ECORE_CON_REMOTE_MCAST)
+   else if (type == ECORE_CON_REMOTE_MCAST || type == ECORE_CON_REMOTE_UDP)
  {
svr-fd = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP);
if(svr-fd  0) goto error;
-   mreq.imr_multiaddr.s_addr = inet_addr(name);
-   mreq.imr_interface.s_addr = htonl(INADDR_ANY);
-   if (setsockopt(svr-fd, IPPROTO_IP, IP_ADD_MEMBERSHIP, mreq,sizeof(mreq)) != 0) goto error;
+
+   socket_addr.sin_family = AF_INET;
+   socket_addr.sin_port = htons(port);
+
+   if (type == ECORE_CON_REMOTE_MCAST)
+	 {
+	   socket_addr.sin_addr.s_addr = inet_addr(name);
+	   mreq.imr_multiaddr.s_addr = inet_addr(name);
+	   mreq.imr_interface.s_addr = htonl(INADDR_ANY);
+	   if (setsockopt(svr-fd, IPPROTO_IP, IP_ADD_MEMBERSHIP, mreq,sizeof(mreq)) != 0) goto error;
+	 }
+   else
+	 socket_addr.sin_addr.s_addr = htonl(INADDR_ANY);
+
if (setsockopt(svr-fd, SOL_SOCKET, SO_REUSEADDR, on,sizeof(on)) != 0) goto error;
if (fcntl(svr-fd, F_SETFL, O_NONBLOCK)  0) goto error;
if (fcntl(svr-fd, F_SETFD, FD_CLOEXEC)  0) goto error;
-   socket_addr.sin_family = AF_INET;
-   socket_addr.sin_port = htons(port);
-   socket_addr.sin_addr.s_addr = inet_addr(name);
if (bind(svr-fd, (struct sockaddr *)socket_addr,sizeof(struct sockaddr_in))  0) goto error;
svr-fd_handler =
 	 ecore_main_fd_handler_add(svr-fd, ECORE_FD_READ,
-   _ecore_con_mcast_handler, svr, NULL, NULL);
+   _ecore_con_svr_udp_handler, svr, NULL, NULL);
if (!svr-fd_handler) goto error;
  }
 
@@ -806,16 +814,21 @@
if (size  1) return 0;
if (cl-fd_handler)
  ecore_main_fd_handler_active_set(cl-fd_handler, ECORE_FD_READ | ECORE_FD_WRITE);
-   if (cl-buf)
+
+   if(cl-server  cl-server-type == ECORE_CON_REMOTE_UDP)
  {
-	unsigned char *newbuf;
-
-	newbuf = realloc(cl-buf, cl-buf_size + size);
-	if (newbuf) cl-buf = newbuf;
-	else return 0;
-	memcpy(cl-buf + cl-buf_size, data, size);
-	cl-buf_size += size;
+   sendto(cl-server-fd, data, size, 0, (struct sockaddr *) cl-data, sizeof(struct sockaddr_in));
  }
+   else if (cl-buf)
+ {
+   unsigned char *newbuf;
+   
+