Re: [E-devel] [Patch] Emotion, show a default object if there is no video
On Tuesday 13 May 2008 01:55:24 Carsten Haitzler wrote: > On Tue, 13 May 2008 00:43:29 +0200 raoul <[EMAIL PROTECTED]> babbled: > > Hi, > > > > Here is a small patch that add 2 functions to set/get a default > > Evas_Object in emotion, if there is no video. It's usefull when one don't > > want to have a black (or any other color) screen if emotion failed to > > open a stream. It works with an Evas_Object, so edje object could be used > > for some eye candy animations :) > > > > Here is the patch: > > http://www.calaos.fr/pub/emotion/patch_emotion_default_frame.diff > > > > and a small test app with an edje file: > > http://www.calaos.fr/pub/emotion/test_emotion.c > > http://www.calaos.fr/pub/emotion/logo.edj > > > > Any comments? > > hmm i'd say no. here's why: you now have an extra object to control, > possibly destroy yourself or have emotion destroy as needed etc. etc. and > that logic is going into emotion itself. i would say it'd be better to have > callbacks (smart callbacks, just like there are ones for "frame_decode", > "length_change", "frame_resize", "decode_stop", "playback_finished", > "audio_level_change", "channels_change", "title_change", "progress_change", > "ref_change", "button_num_change", "button_change". > > in fact - you don't need more signals. when you set play_set() to 1 - > simple hide the emotion object or do whatever you want (display some image > or edje in its place), then when you get the FIRST frame_decode callback > after just starting play, show the emotion object (or begin to fade it in, > or zoom it out or whatever you like!). so everything you need is already > there :) no need to complicate emotion itself. Hmm, you're right... Damn i wish i had thought about that earlier ;) > > Regards, > > > > -- > > > > Raoul Hecky > > > > > > - > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > > ___ > > enlightenment-devel mailing list > > enlightenment-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Raoul Hecky Calaos - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch] Emotion, show a default object if there is no video
On Tue, 13 May 2008 00:43:29 +0200 raoul <[EMAIL PROTECTED]> babbled: > Hi, > > Here is a small patch that add 2 functions to set/get a default Evas_Object > in emotion, if there is no video. It's usefull when one don't want to have a > black (or any other color) screen if emotion failed to open a stream. It > works with an Evas_Object, so edje object could be used for some eye candy > animations :) > > Here is the patch: > http://www.calaos.fr/pub/emotion/patch_emotion_default_frame.diff > > and a small test app with an edje file: > http://www.calaos.fr/pub/emotion/test_emotion.c > http://www.calaos.fr/pub/emotion/logo.edj > > Any comments? hmm i'd say no. here's why: you now have an extra object to control, possibly destroy yourself or have emotion destroy as needed etc. etc. and that logic is going into emotion itself. i would say it'd be better to have callbacks (smart callbacks, just like there are ones for "frame_decode", "length_change", "frame_resize", "decode_stop", "playback_finished", "audio_level_change", "channels_change", "title_change", "progress_change", "ref_change", "button_num_change", "button_change". in fact - you don't need more signals. when you set play_set() to 1 - simple hide the emotion object or do whatever you want (display some image or edje in its place), then when you get the FIRST frame_decode callback after just starting play, show the emotion object (or begin to fade it in, or zoom it out or whatever you like!). so everything you need is already there :) no need to complicate emotion itself. > Regards, > > -- > > Raoul Hecky > > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > 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] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Emotion, gstreamer blocking
On Tue, 13 May 2008 00:56:41 +0200 raoul <[EMAIL PROTECTED]> babbled: > > Hi, > > I'm using a lot emotion with the gstreamer backend to play some network > stream and display them in my app. And I'm facing something really bad for > the user experience when gstreamer try to open a bad network stream (because > the network is down, the stream is not available anymore, ...). What happens > is that emotion_object_file_set() blocks. > In fact, emotion blocks because gstreamer calls connect() and there is no > response from the network device. > This is bad because my app is frozen for a long time. > > There is one solution to avoid this, it's using a thread with pipes like the > xine backend. I know raster is not a big fan of threads, so I'm wondering if > there isn't any other way to avoid gstreamer to block... i'm not - but i did actually do all that thread madness for the xine backend - more as a necessity than something i liked. there isn't much of a choice unless gstreamer provides a way of doing this asynchronously. libxine really was 100% designed to be controlled by multiple threads and so it was a requirement to split it up. not doing so could easily lead to deadlocks within xine's infrastructure. > If there isn't a better approach, I will do it with a thread. > > Any good idea? > > Regards, > > -- > > Raoul Hecky > > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > 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] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Emotion, gstreamer blocking
Hi, I'm using a lot emotion with the gstreamer backend to play some network stream and display them in my app. And I'm facing something really bad for the user experience when gstreamer try to open a bad network stream (because the network is down, the stream is not available anymore, ...). What happens is that emotion_object_file_set() blocks. In fact, emotion blocks because gstreamer calls connect() and there is no response from the network device. This is bad because my app is frozen for a long time. There is one solution to avoid this, it's using a thread with pipes like the xine backend. I know raster is not a big fan of threads, so I'm wondering if there isn't any other way to avoid gstreamer to block... If there isn't a better approach, I will do it with a thread. Any good idea? Regards, -- Raoul Hecky - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] [Patch] Emotion, show a default object if there is no video
Hi, Here is a small patch that add 2 functions to set/get a default Evas_Object in emotion, if there is no video. It's usefull when one don't want to have a black (or any other color) screen if emotion failed to open a stream. It works with an Evas_Object, so edje object could be used for some eye candy animations :) Here is the patch: http://www.calaos.fr/pub/emotion/patch_emotion_default_frame.diff and a small test app with an edje file: http://www.calaos.fr/pub/emotion/test_emotion.c http://www.calaos.fr/pub/emotion/logo.edj Any comments? Regards, -- Raoul Hecky - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] cleanup of the autotools stuff
Vincent Torri wrote: > > On Sun, 11 May 2008, Vincent Torri wrote: > >> Hey, >> >> I've cleaned a bit the autotools stuff: >> >> * use correct way to remove the check of g++ and g77 from libtool >> * use correct way to deal with PACKAGE_DATA_DIR and PACKAGE_LIB_DIR >> * use AC_HELP_STRING when missing >> * formatting >> >> later, I plan to add win32 support (compilation without x11. I don't think >> i'll add any win32 specific graphic stuff) >> >> if the formatting is good enough, i can commit. > > I've forgotten something: do you want I add the same libtool versioning > than other efl (based on the version in configure.in) ? Anyway, it would > be better to put it in configure.in, and not in src/lib/Makefile.am > Patch looks fine to me. I think it makes sense to move the lib version stuff to configure.in. /Kim - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Handling hardware keys on maemo with EFL
On Mon, 2008-05-12 at 13:08 -0300, Gustavo Sverzut Barbieri wrote: > On Sun, May 11, 2008 at 5:05 AM, Ben Martin > <[EMAIL PROTECTED]> wrote: > > Hi, > > Evas_Modifier_Mask mask = 0; > > evas_object_key_grab(edje, "F6", > > mask, ~mask, 0); > > evas_object_event_callback_add( > > edje, EVAS_CALLBACK_KEY_DOWN, > > _cb_key_down, ee ); > > > > This have nothing to do with EFL, Maemo have these mapped like this > and the keys are documented in their website. They provide it like > that and we just keep. This seems the most logical. I guess if you start performing tricks to support one hardware platform specially then there will be no end to the custom enum {}'s for each platform ;) signature.asc Description: This is a digitally signed message part - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Network Manager
Hello. On Mon, 2008-05-12 at 10:18, Ross Vandegrift wrote: > On Wed, May 07, 2008 at 09:51:05PM +0200, Stefan Schmidt wrote: > > > > Cool. Motivation push. People really using it. ;) > > Hah - I actually hacked through the crashes I found in NM this past > weekend and have a custom NetworkManager running that fixes my issues. > I tried picking up my demo code, but it looks like E_Nm is pretty > different than the way I remember it :). Yeah, I chnaged a lot. Also announced this as everybody thought there was no real consument for it. As I started it was only working after some patches. > Stefan - IIRC, you sent in some patches for E_Nm after I did. It > looks like the general idea is that there's structures recording the > state of various NM things (devices, networks, APs, etc). That's right. > I'm concerned because some of the comments indicate E_Nm's API is > taken from NetworkManager 0.7 - is that correct? 0.6 seems to be the > version included in all the distros, and attempting to upgrade to 0.7 > was a miserable, miserable thing. > > Is the 0.6 API still in there? It never was. E_nm was designed for NM 0.7, not 0.6. And yes, I see the problem that only 0.6.6 is included in most distos. (You can get packages for Debian SID, OpenSuse, Fedora AFAIK). The point not doing e_nm for the 0.6 API is that there are *majaor* API changes. Mostly the complete API re-written. It is not easy to support both. If somebody else jumps up and will write patches for the 0.6 API we can talk about this. I'm not this guy. NM 0.7 is noz out yet, right. But e_nm is ready neither so I don't see such a big problem here. regards Stefan Schmidt signature.asc Description: Digital signature - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Network Manager
Hello. On Mon, 2008-05-12 at 12:59, Atton Jonathan wrote: > On Sat, 10 May 2008 22:17:52 +0200 > Stefan Schmidt <[EMAIL PROTECTED]> wrote: > > > > Personally I can't understand from a look at the panel what > > connection is active and used. eth2 and eth3 both have IP address > > assigned. Which one is the one in use? Both? Describing that eth2, > > why do we need to know the device name, is a wireless device would be > > helpful. Only after looking at the config window I realized that the > > satellite antenna is an icon for the wifi card. > > > > both are used :), but only one has a default route. Hmm, how can I see that? > > Bar for network strength for wifi or gsm/3g networks would be helpful, > > too. > > > > in fact in the screenshot I m connected to the wireless network "hehe" > and you can see the quality of the network. :) My mistake. I have seen that you were connected to the "hehe" wifi network. Want I meant was one strength bar. In ratio with the current strength. Horizontal. Also the strength as number would be helpfull. I like the vertical bar approach you used for smaller areas. Like phone displays, but we have enough space there anyway. Again, that is somethoing that can be adjusted with a theme. Nothing that is code specific. > > > People can learn the meaning of stuff they see or they can just > > understand it because it is easy enough. I prefer the later. Lazy guy. > > :) > > I suppose it's the difference between Gnome and Kde ^^ What do you mean here? regards Stefan Schmidt signature.asc Description: Digital signature - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Handling hardware keys on maemo with EFL
On Sun, May 11, 2008 at 5:05 AM, Ben Martin <[EMAIL PROTECTED]> wrote: > Hi, >I notice that things like the fullscreen key on maemo are mapped to > F6 by default. Are folks developing for maemo with EFL just using xev to > work out the default key bindings and mapping key grabs for those events > to callbacks to handle them? > > This works but isn't exactly straightforward readability wise. I guess > the app could #define MAEMO_N810_FULLSCREEN_KEY to "F6" to make things > more legible unless there is already a preferred method to handle these > extra keys. > > Evas_Modifier_Mask mask = 0; > evas_object_key_grab(edje, "F6", > mask, ~mask, 0); > evas_object_event_callback_add( > edje, EVAS_CALLBACK_KEY_DOWN, > _cb_key_down, ee ); > This have nothing to do with EFL, Maemo have these mapped like this and the keys are documented in their website. They provide it like that and we just keep. -- 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Network Manager
On Wed, May 07, 2008 at 09:51:05PM +0200, Stefan Schmidt wrote: > On Tue, 2008-05-06 at 17:36, Ross Vandegrift wrote: > > On Tue, May 06, 2008 at 09:27:07PM +0200, The DarkMaster wrote: > > > Hallo, I'm very interested in this topic and an E17 network manager is > > > really needed by my OpenGEU distro too. Well, I believe taht a good choice > > > would be that of using Network Manager from Gnome: > > > http://www.gnome.org/projects/NetworkManager/ > > > > Since I started working on e_nm, Stefan has contributed a number of > > patches to the infrastructure for it. A proof-of-concept that > > doesn't do much of anything with that library is at > > http://kallisti.us/~ross/enetmgr-0.1.tar.gz > > Cool. Motivation push. People really using it. ;) Hah - I actually hacked through the crashes I found in NM this past weekend and have a custom NetworkManager running that fixes my issues. I tried picking up my demo code, but it looks like E_Nm is pretty different than the way I remember it :). Stefan - IIRC, you sent in some patches for E_Nm after I did. It looks like the general idea is that there's structures recording the state of various NM things (devices, networks, APs, etc). I'm concerned because some of the comments indicate E_Nm's API is taken from NetworkManager 0.7 - is that correct? 0.6 seems to be the version included in all the distros, and attempting to upgrade to 0.7 was a miserable, miserable thing. Is the 0.6 API still in there? > > I have some updates to it that don't even build against current libe_nm. > > I also have to update it to some newer API changes. > > Besides that I have a lot stuff in some hacky patches that are to ugly > for upstream. I need to sit down, sort things out and push them out > for review. > > regards > Stefan Schmidt > - > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Ross Vandegrift [EMAIL PROTECTED] "The good Christian should beware of mathematicians, and all those who make empty prophecies. The danger already exists that the mathematicians have made a covenant with the devil to darken the spirit and to confine man in the bonds of Hell." --St. Augustine, De Genesi ad Litteram, Book II, xviii, 37 - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ 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-05-12 07:09:05 -0700
Build log for Enlightenment DR 0.17 on 2008-05-12 07:09:05 -0700 Build logs are available at http://download.enlightenment.org/tests/logs Packages that failed to build: enna http://download.enlightenment.org/tests/logs/enna.log epdf http://download.enlightenment.org/tests/logs/epdf.log evolve http://download.enlightenment.org/tests/logs/evolve.log Packages with no supported build system: entice, esmart_rsvg, exorcist, python-efl, Packages skipped: camE, ecore_dbus, engage, 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_li, 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, ewl, examine, execwatch, exhibit, exml, expedite, express, exquisite, extrackt, feh, flame, forecasts, gevas2, iconbar, iiirk, 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. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Network Manager
On Sat, 10 May 2008 22:17:52 +0200 Stefan Schmidt <[EMAIL PROTECTED]> wrote: > Hello. > > On Thu, 2008-05-08 at 10:09, Atton Jonathan wrote: > > On Wed, 7 May 2008 21:47:44 +0200 > > Stefan Schmidt <[EMAIL PROTECTED]> wrote: > > > > > > > > Sounds good. Some first ideas: > > > o Gadget for the shelf to show signal strength for wifi, gsm/3g > > > and indicates what kind of connection is used atm. > > > o Click on the gadget shows available wifi networks, and other > > > network connections like ethernet (Only with connected cable?) > > > and wireless broadband modems. > > Show all the interface with their state, a picture for example (not > > link, not activate ...), as exalt does. I think it's better to > > have a complete status of the computer. > > I'm looking at the following picture: > http://watchwolf.fr/wiki/lib/exe/fetch.php?cache=cache&media=28_08_07_desktop.jpg > > Personally I can't understand from a look at the panel what > connection is active and used. eth2 and eth3 both have IP address > assigned. Which one is the one in use? Both? Describing that eth2, > why do we need to know the device name, is a wireless device would be > helpful. Only after looking at the config window I realized that the > satellite antenna is an icon for the wifi card. > both are used :), but only one has a default route. > Bar for network strength for wifi or gsm/3g networks would be helpful, > too. > in fact in the screenshot I m connected to the wireless network "hehe" and you can see the quality of the network. :) > People can learn the meaning of stuff they see or they can just > understand it because it is easy enough. I prefer the later. Lazy guy. > :) I suppose it's the difference between Gnome and Kde ^^ > > Besides that I'm fine with this kind of panel. > > > > o Some kind of advanced settings UI. Handling stored connections, > > > set IP address, stuff for complicated wifi setup, etc.. Not sure > > > how connected this should be to the gadget. > > > > > > > Personally I don't like the apps with a lot of windows as > > gnome-applet, I prefer 1 window, with a list of interfaces and for > > each interface 1 frame. An advanced mode can be use for some > > options (run a command, the wpa_supplicant drivers ...), something > > you don't change each days. > > Yeah, nm-applet is sometimes "don't bother the user with anything" > fanatic here. :) > > Different frames for different stuff is fine for me. Defining what to > put in which frame is of course a totally different story. The > wireless card frame looks a bit full to me. But that are details. > > The main outstanding question is imho *who* likes to take care of the > UI? I'm neither an usability expert nor an interaction designer and I > guess not much people here are. So, who steps up and likes to do this > job? > > Designing the UI could be well done in parallel to the backends. Get > some mock-ups ready and we connect the things when they are ready. > > regards > Stefan Schmidt - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel