Re: [E-devel] E SVN: discomfitor trunk/eeze/src/bin
Log: add signal handlers storage_setup(); + /* have to override ecore's signal handlers to ensure that socket file is removed */ + ecore_job_add(sigs_setup, NULL); No need for job here, you can ecore's signal handlers are set up in ecore_init. (Used to be at least, and if not must be fixed). S. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: discomfitor trunk/eeze/src/bin
On Thu, 30 Jun 2011 08:33:30 +0200 s...@tango.flipp.net wrote: Log: add signal handlers storage_setup(); + /* have to override ecore's signal handlers to ensure that socket file is removed */ + ecore_job_add(sigs_setup, NULL); No need for job here, you can ecore's signal handlers are set up in ecore_init. (Used to be at least, and if not must be fixed). S. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel hm good point, thanks -- Mike Blumenkrantz Zentific: Coding in binary since '10. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] eeze mounting
I've just committed the last part of eeze mounting in e17. To use it, have the latest eeze and e and pass --enable-mount-eeze. Then simply pray for it to work! Report bugs, etc, I'm preparing for my inbox to be flooded. -- Mike Blumenkrantz Zentific: Coding in binary since '10. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] efenniht broken?
with the default theme all looks fine, but switching to efenniht there are a couple of issues that weren't there last time I tried this great theme. to better explain these issues I've made two screenshots: http://massimo.solira.org/files/battery.jpg as you can see, the battery is at 28% of charge, but the icon is all filled. http://massimo.solira.org/files/connman.jpg the signal strength to my wlan router is 68% but, again, the bar is all filled. also, while we're at it, it would be nice to have a custom efenniht icon even for the backlight module :) -- Massimo Maiurana massimoatragusa.linux.it http://massimo.solira.orgGPG keyID #7044D601 Creare l'uomo fu un'idea bizzarra e originale, ma aggiungere la pecora fu una tautologia. [Mark Twain] signature.asc Description: OpenPGP digital signature -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] eeze mounting
On Thu, Jun 30, 2011 at 5:35 AM, Mike Blumenkrantz m...@zentific.com wrote: I've just committed the last part of eeze mounting in e17. To use it, have the latest eeze and e and pass --enable-mount-eeze. Then simply pray for it to work! Report bugs, etc, I'm preparing for my inbox to be flooded. Ok, will try to flood it in the weekend... -- Rafael Antognolli ProFUSION embedded systems http://profusion.mobi -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster IN trunk/e/data/themes: . images
Argh... Is it intended to match any new theme, or the default bw one? On Thu, Jun 30, 2011 at 6:58 AM, Enlightenment SVN no-re...@enlightenment.org wrote: Log: lets try a new default wallpaper. this is up for debate/grabs right now as to what our default should be... tryiong different things right now to see how people like it. Author: raster Date: 2011-06-30 02:58:31 -0700 (Thu, 30 Jun 2011) New Revision: 60870 Trac: http://trac.enlightenment.org/e/changeset/60870 Added: trunk/e/data/themes/images/bg_base.png trunk/e/data/themes/images/bg_over.png trunk/e/data/themes/images/bg_shadow.png Modified: trunk/e/data/themes/default.edc trunk/e/data/themes/images/Makefile.am Modified: trunk/e/data/themes/default.edc === --- trunk/e/data/themes/default.edc 2011-06-30 09:49:24 UTC (rev 60869) +++ trunk/e/data/themes/default.edc 2011-06-30 09:58:31 UTC (rev 60870) @@ -279,11 +279,14 @@ /* this section defines that images are to be included and how to * encode them */ images { - image: vgrad_dark.png COMP; + image: bg_shadow.png COMP; /* the encoding method is COMP. this * is lossless, but compressed */ - image: grill_dark_tiny_pattern.png COMP; - // image: circle_shade.png COMP; + image: bg_over.png LOSSY 80; + /* the encoding is LOSSY. this loses quality (80% quality level) + * but uses less space in return. uses JPEG and can do alpha channels + * too */ + image: bg_base.png COMP; } /* this section actually contains the list of parts from bottom to top * (defining the layering/stacking order) */ @@ -312,7 +315,7 @@ * parent.child: blah; in a key to avoid doing * parent { child: blah; } */ - image.normal: vgrad_dark.png; + image.normal: bg_base.png; /* use the vgrad_dark.png im */ fill { /* now specify how the image is to fill the part */ @@ -323,7 +326,7 @@ /* X and Y point relative to the part * as a whole for the size (dont scale * in X but scale 100% in Y */ - offset: 36 0; + offset: 761 0; /* offsets from the relative scale point * so here offset is 36 to the right in * X and at the Y relative point. this @@ -334,32 +337,23 @@ } } part { - name: grill; - /* this is the overlay to look like a grill */ + name: over; description { state: default 0.0; - image.normal: grill_dark_tiny_pattern.png; - /* use the grill */ - fill { - /* set the fill to only tile - never scale at all */ - size { - relative: 0 0; - /* relative 0 0 so it never scales */ - offset: 144 144; - /* we know the grill image is 144x144 - * so set the offset to this so it - * tiles perfectly */ - } - } + image.normal: bg_over.png; + /* tiled at 800x600 */ + fill.size.relative: 0 0; + fill.size.offset: 800 600; + fill.smooth: 0; } } - /* part { name: shade; - mouse_events: 0; - description { state: default 0.0; - image.normal: circle_shade.png; + /* a circular shadow on top */ + part { name: shadow; + description { state: default 0.0; + image.normal: bg_shadow.png; fill.smooth: 0; } - } */ + } } } group { Modified: trunk/e/data/themes/images/Makefile.am === --- trunk/e/data/themes/images/Makefile.am 2011-06-30 09:49:24 UTC (rev 60869) +++ trunk/e/data/themes/images/Makefile.am 2011-06-30 09:58:31 UTC (rev 60870) @@ -440,5 +440,7 @@ batt_base.png \ batt_level.png \ batt_over.png \ -batt_power.png - +batt_power.png \ +bg_shadow.png \ +bg_over.png \ +bg_base.png Property changes on: trunk/e/data/themes/images/bg_base.png ___ Added: svn:mime-type + application/octet-stream Property changes on: trunk/e/data/themes/images/bg_over.png ___ Added: svn:mime-type + application/octet-stream Property changes on: trunk/e/data/themes/images/bg_shadow.png
Re: [E-devel] E SVN: raster IN trunk/e/data/themes: . images
Looks neat. But I prefer previous one :) Daniel Juyung Seo (SeoZ) On Thu, Jun 30, 2011 at 6:58 PM, Enlightenment SVN no-re...@enlightenment.org wrote: Log: lets try a new default wallpaper. this is up for debate/grabs right now as to what our default should be... tryiong different things right now to see how people like it. Author: raster Date: 2011-06-30 02:58:31 -0700 (Thu, 30 Jun 2011) New Revision: 60870 Trac: http://trac.enlightenment.org/e/changeset/60870 Added: trunk/e/data/themes/images/bg_base.png trunk/e/data/themes/images/bg_over.png trunk/e/data/themes/images/bg_shadow.png Modified: trunk/e/data/themes/default.edc trunk/e/data/themes/images/Makefile.am Modified: trunk/e/data/themes/default.edc === --- trunk/e/data/themes/default.edc 2011-06-30 09:49:24 UTC (rev 60869) +++ trunk/e/data/themes/default.edc 2011-06-30 09:58:31 UTC (rev 60870) @@ -279,11 +279,14 @@ /* this section defines that images are to be included and how to * encode them */ images { - image: vgrad_dark.png COMP; + image: bg_shadow.png COMP; /* the encoding method is COMP. this * is lossless, but compressed */ - image: grill_dark_tiny_pattern.png COMP; - // image: circle_shade.png COMP; + image: bg_over.png LOSSY 80; + /* the encoding is LOSSY. this loses quality (80% quality level) + * but uses less space in return. uses JPEG and can do alpha channels + * too */ + image: bg_base.png COMP; } /* this section actually contains the list of parts from bottom to top * (defining the layering/stacking order) */ @@ -312,7 +315,7 @@ * parent.child: blah; in a key to avoid doing * parent { child: blah; } */ - image.normal: vgrad_dark.png; + image.normal: bg_base.png; /* use the vgrad_dark.png im */ fill { /* now specify how the image is to fill the part */ @@ -323,7 +326,7 @@ /* X and Y point relative to the part * as a whole for the size (dont scale * in X but scale 100% in Y */ - offset: 36 0; + offset: 761 0; /* offsets from the relative scale point * so here offset is 36 to the right in * X and at the Y relative point. this @@ -334,32 +337,23 @@ } } part { - name: grill; - /* this is the overlay to look like a grill */ + name: over; description { state: default 0.0; - image.normal: grill_dark_tiny_pattern.png; - /* use the grill */ - fill { - /* set the fill to only tile - never scale at all */ - size { - relative: 0 0; - /* relative 0 0 so it never scales */ - offset: 144 144; - /* we know the grill image is 144x144 - * so set the offset to this so it - * tiles perfectly */ - } - } + image.normal: bg_over.png; + /* tiled at 800x600 */ + fill.size.relative: 0 0; + fill.size.offset: 800 600; + fill.smooth: 0; } } - /* part { name: shade; - mouse_events: 0; - description { state: default 0.0; - image.normal: circle_shade.png; + /* a circular shadow on top */ + part { name: shadow; + description { state: default 0.0; + image.normal: bg_shadow.png; fill.smooth: 0; } - } */ + } } } group { Modified: trunk/e/data/themes/images/Makefile.am === --- trunk/e/data/themes/images/Makefile.am 2011-06-30 09:49:24 UTC (rev 60869) +++ trunk/e/data/themes/images/Makefile.am 2011-06-30 09:58:31 UTC (rev 60870) @@ -440,5 +440,7 @@ batt_base.png \ batt_level.png \ batt_over.png \ -batt_power.png - +batt_power.png \ +bg_shadow.png \ +bg_over.png \ +bg_base.png Property changes on: trunk/e/data/themes/images/bg_base.png ___ Added: svn:mime-type + application/octet-stream Property changes on: trunk/e/data/themes/images/bg_over.png ___ Added: svn:mime-type + application/octet-stream Property changes on: trunk/e/data/themes/images/bg_shadow.png
Re: [E-devel] eeze mounting
On Thu, 30 Jun 2011 11:40:22 -0300 Rafael Antognolli antogno...@profusion.mobi wrote: On Thu, Jun 30, 2011 at 5:35 AM, Mike Blumenkrantz m...@zentific.com wrote: I've just committed the last part of eeze mounting in e17. To use it, have the latest eeze and e and pass --enable-mount-eeze. Then simply pray for it to work! Report bugs, etc, I'm preparing for my inbox to be flooded. Ok, will try to flood it in the weekend... patches welcome!!! -- Mike Blumenkrantz Zentific: Coding in binary since '10. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: seoz trunk/devs/seoz
On Thu, 30 Jun 2011 08:24:02 -0700 Enlightenment SVN no-re...@enlightenment.org wrote: Log: devs/seoz: Updated build script. Author: seoz Date: 2011-06-30 08:24:02 -0700 (Thu, 30 Jun 2011) New Revision: 60873 Trac: http://trac.enlightenment.org/e/changeset/60873 Modified: trunk/devs/seoz/build.sh Modified: trunk/devs/seoz/build.sh === --- trunk/devs/seoz/build.sh 2011-06-30 12:34:15 UTC (rev 60872) +++ trunk/devs/seoz/build.sh 2011-06-30 15:24:02 UTC (rev 60873) @@ -8,7 +8,8 @@ export MAKEFLAGS=make -j6 alias make='make -j6' -export BUILD_BASIC=eina eet evas ecore embryo edje e_dbus efreet expedite e ethumb elementary +export BUILD_ELM_DEPENDS=PROTO/emap eio +export BUILD_BASIC=eina eet evas ecore embryo edje e_dbus efreet expedite e ethumb $BUILD_ELM_DEPENDS elementary export BUILD_PYTHON_BINDINGS=BINDINGS/python/python-evas BINDINGS/python/python-elementary BINDINGS/python/python-ecore BINDINGS/python/python-edje BINDINGS/python/python-emotion export BUILD_C_BINDINGS=BINDINGS/cxx/eflxx BINDINGS/cxx/einaxx BINDINGS/cxx/evasxx BINDINGS/cxx/ecorexx BINDINGS/cxx/elementaryxx export BUILD_BINDINGS=$BUILD_PYTHON_BINDINGS $BUILD_C_BINDINGS -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ enlightenment-svn mailing list enlightenment-...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-svn you don't build eeze? : -- Mike Blumenkrantz Zentific: Coding in binary since '10. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] emotion
I'm documenting the emotion API right now, and just noticed the following API: emotion_object_module_option_set() emotion_object_audio_mute_set() emotion_object_video_mute_set() So, what's the difference between them? Is module_option_set() intended to be extended in the future, allowing more options than just audio and video mute? From what I can see in the code, audio and video mute_set call the module-mute_set(), which does the same as module_option_set() is doing. So, is it possible to deprecate one of these APIs? Or we really need them? Regards, -- Rafael Antognolli ProFUSION embedded systems http://profusion.mobi -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] emotion
On Thu, Jun 30, 2011 at 2:59 PM, Rafael Antognolli antogno...@profusion.mobi wrote: I'm documenting the emotion API right now, and just noticed the following API: emotion_object_module_option_set() emotion_object_audio_mute_set() emotion_object_video_mute_set() So, what's the difference between them? Is module_option_set() intended to be extended in the future, allowing more options than just audio and video mute? From what I can see in the code, audio and video mute_set call the module-mute_set(), which does the same as module_option_set() is doing. So, is it possible to deprecate one of these APIs? Or we really need them? Actually, looking again at the code, the emotion_object_module_option_set() function seems bogus, since it only set the audio and video to mute if the given option is off, but does nothing if anything else is given as parameter. I vote to deprecate this function. -- Rafael Antognolli ProFUSION embedded systems http://profusion.mobi -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster IN trunk/e/data/themes: . images
On Thu, 30 Jun 2011 11:50:54 -0300 Rafael Antognolli antogno...@profusion.mobi said: no - not matching any new theme. the grey + grill bg just looks so.. bland. TOO colorless. Argh... Is it intended to match any new theme, or the default bw one? On Thu, Jun 30, 2011 at 6:58 AM, Enlightenment SVN no-re...@enlightenment.org wrote: Log: lets try a new default wallpaper. this is up for debate/grabs right now as to what our default should be... tryiong different things right now to see how people like it. Author: raster Date: 2011-06-30 02:58:31 -0700 (Thu, 30 Jun 2011) New Revision: 60870 Trac: http://trac.enlightenment.org/e/changeset/60870 Added: trunk/e/data/themes/images/bg_base.png trunk/e/data/themes/images/bg_over.png trunk/e/data/themes/images/bg_shadow.png Modified: trunk/e/data/themes/default.edc trunk/e/data/themes/images/Makefile.am Modified: trunk/e/data/themes/default.edc === --- trunk/e/data/themes/default.edc 2011-06-30 09:49:24 UTC (rev 60869) +++ trunk/e/data/themes/default.edc 2011-06-30 09:58:31 UTC (rev 60870) @@ -279,11 +279,14 @@ /* this section defines that images are to be included and how to * encode them */ images { - image: vgrad_dark.png COMP; + image: bg_shadow.png COMP; /* the encoding method is COMP. this * is lossless, but compressed */ - image: grill_dark_tiny_pattern.png COMP; - // image: circle_shade.png COMP; + image: bg_over.png LOSSY 80; + /* the encoding is LOSSY. this loses quality (80% quality level) + * but uses less space in return. uses JPEG and can do alpha channels + * too */ + image: bg_base.png COMP; } /* this section actually contains the list of parts from bottom to top * (defining the layering/stacking order) */ @@ -312,7 +315,7 @@ * parent.child: blah; in a key to avoid doing * parent { child: blah; } */ - image.normal: vgrad_dark.png; + image.normal: bg_base.png; /* use the vgrad_dark.png im */ fill { /* now specify how the image is to fill the part */ @@ -323,7 +326,7 @@ /* X and Y point relative to the part * as a whole for the size (dont scale * in X but scale 100% in Y */ - offset: 36 0; + offset: 761 0; /* offsets from the relative scale point * so here offset is 36 to the right in * X and at the Y relative point. this @@ -334,32 +337,23 @@ } } part { - name: grill; - /* this is the overlay to look like a grill */ + name: over; description { state: default 0.0; - image.normal: grill_dark_tiny_pattern.png; - /* use the grill */ - fill { - /* set the fill to only tile - never scale at all */ - size { - relative: 0 0; - /* relative 0 0 so it never scales */ - offset: 144 144; - /* we know the grill image is 144x144 - * so set the offset to this so it - * tiles perfectly */ - } - } + image.normal: bg_over.png; + /* tiled at 800x600 */ + fill.size.relative: 0 0; + fill.size.offset: 800 600; + fill.smooth: 0; } } - /* part { name: shade; - mouse_events: 0; - description { state: default 0.0; - image.normal: circle_shade.png; + /* a circular shadow on top */ + part { name: shadow; + description { state: default 0.0; + image.normal: bg_shadow.png; fill.smooth: 0; } - } */ + } } } group { Modified: trunk/e/data/themes/images/Makefile.am === --- trunk/e/data/themes/images/Makefile.am 2011-06-30 09:49:24 UTC (rev 60869) +++ trunk/e/data/themes/images/Makefile.am 2011-06-30 09:58:31 UTC (rev 60870) @@ -440,5 +440,7 @@ batt_base.png \ batt_level.png \ batt_over.png \ -batt_power.png - +batt_power.png \ +bg_shadow.png \ +bg_over.png \ +bg_base.png Property changes on: trunk/e/data/themes/images/bg_base.png ___
Re: [E-devel] E SVN: raster IN trunk/e/data/themes: . images
On Fri, 1 Jul 2011 08:01:42 +0900 Carsten Haitzler (The Rasterman) ras...@rasterman.com wrote: On Thu, 30 Jun 2011 11:50:54 -0300 Rafael Antognolli antogno...@profusion.mobi said: no - not matching any new theme. the grey + grill bg just looks so.. bland. TOO colorless. Argh... Is it intended to match any new theme, or the default bw one? On Thu, Jun 30, 2011 at 6:58 AM, Enlightenment SVN no-re...@enlightenment.org wrote: Log: lets try a new default wallpaper. this is up for debate/grabs right now as to what our default should be... tryiong different things right now to see how people like it. Author: raster Date: 2011-06-30 02:58:31 -0700 (Thu, 30 Jun 2011) New Revision: 60870 Trac: http://trac.enlightenment.org/e/changeset/60870 Added: trunk/e/data/themes/images/bg_base.png trunk/e/data/themes/images/bg_over.png trunk/e/data/themes/images/bg_shadow.png Modified: trunk/e/data/themes/default.edc trunk/e/data/themes/images/Makefile.am I know a guy who knows something about coloring... -- Mike Blumenkrantz Zentific: Coding in binary since '10. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: seoz trunk/devs/seoz
Man, you found it! I failed :( Daniel Juyung Seo (SeoZ) On Fri, Jul 1, 2011 at 12:37 AM, Mike Blumenkrantz m...@zentific.com wrote: On Thu, 30 Jun 2011 08:24:02 -0700 Enlightenment SVN no-re...@enlightenment.org wrote: Log: devs/seoz: Updated build script. Author: seoz Date: 2011-06-30 08:24:02 -0700 (Thu, 30 Jun 2011) New Revision: 60873 Trac: http://trac.enlightenment.org/e/changeset/60873 Modified: trunk/devs/seoz/build.sh Modified: trunk/devs/seoz/build.sh === --- trunk/devs/seoz/build.sh 2011-06-30 12:34:15 UTC (rev 60872) +++ trunk/devs/seoz/build.sh 2011-06-30 15:24:02 UTC (rev 60873) @@ -8,7 +8,8 @@ export MAKEFLAGS=make -j6 alias make='make -j6' -export BUILD_BASIC=eina eet evas ecore embryo edje e_dbus efreet expedite e ethumb elementary +export BUILD_ELM_DEPENDS=PROTO/emap eio +export BUILD_BASIC=eina eet evas ecore embryo edje e_dbus efreet expedite e ethumb $BUILD_ELM_DEPENDS elementary export BUILD_PYTHON_BINDINGS=BINDINGS/python/python-evas BINDINGS/python/python-elementary BINDINGS/python/python-ecore BINDINGS/python/python-edje BINDINGS/python/python-emotion export BUILD_C_BINDINGS=BINDINGS/cxx/eflxx BINDINGS/cxx/einaxx BINDINGS/cxx/evasxx BINDINGS/cxx/ecorexx BINDINGS/cxx/elementaryxx export BUILD_BINDINGS=$BUILD_PYTHON_BINDINGS $BUILD_C_BINDINGS -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ enlightenment-svn mailing list enlightenment-...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-svn you don't build eeze? : -- Mike Blumenkrantz Zentific: Coding in binary since '10. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: cedric IN trunk/elementary: . data/themes src/lib
Spank spank!! Missing elm_video.c Daniel Juyung Seo (SeoZ) On Fri, Jul 1, 2011 at 2:18 AM, Enlightenment SVN no-re...@enlightenment.org wrote: Log: elementary: add higger level elm_video object. Author: cedric Date: 2011-06-30 10:18:13 -0700 (Thu, 30 Jun 2011) New Revision: 60877 Trac: http://trac.enlightenment.org/e/changeset/60877 Modified: trunk/elementary/configure.ac trunk/elementary/data/themes/default.edc trunk/elementary/src/lib/Elementary.h.in trunk/elementary/src/lib/Makefile.am Modified: trunk/elementary/configure.ac === --- trunk/elementary/configure.ac 2011-06-30 16:11:35 UTC (rev 60876) +++ trunk/elementary/configure.ac 2011-06-30 17:18:13 UTC (rev 60877) @@ -229,6 +229,17 @@ AM_CONDITIONAL([HAVE_EIO], [test x${have_eio} = xyes]) +PKG_CHECK_MODULES([EMOTION], + [emotion], + [ + have_emotion=yes + AC_DEFINE(HAVE_EMOTION, 1, [Use Emotion for asynchronous file access]) + requirement_elm=emotion ${requirement_elm} + ], + [have_emotion=no]) + +AM_CONDITIONAL([HAVE_EMOTION], [test x${have_emotion} = xyes]) + requirement_elm=edje = 1.0.0 ecore-file = 1.0.0 ecore-evas = 1.0.0 ecore = 1.0.0 evas = 1.0.0 eet = 1.4.0 eina = 1.0.0 ${requirement_elm} have_elementary_x=no @@ -605,7 +616,8 @@ echo EMap...: ${have_elementary_emap} echo Ethumb.: ${have_elementary_ethumb} echo Quick Launch...: ${have_fork} -echo eio: ${have_eio} +echo EIO: ${have_eio} +echo Emotion: ${have_emotion} echo echo eet..: ${eet_eet} echo edje_cc..: ${edje_cc} Modified: trunk/elementary/data/themes/default.edc === --- trunk/elementary/data/themes/default.edc 2011-06-30 16:11:35 UTC (rev 60876) +++ trunk/elementary/data/themes/default.edc 2011-06-30 17:18:13 UTC (rev 60877) @@ -36504,4 +36504,67 @@ } } } + + group { + name: elm/video/base/default; + + parts { + part { + name: clipper; + type: RECT; + + description { + color: 255 255 255 255; + } + description { + state: darker 0.0; + color: 128 128 128 255; + } + } + part { + name: elm.swallow.video; + type: SWALLOW; + + clip_to: clipper; + mouse_events: 0; + + description { + aspect_preference: BOTH; + aspect: 1 1; + } + } + } + + programs { + program { + signal: elm,video,load; + source: elm; + + action: STATE_SET darker 0.0; + target: clipper; + } + program { + signal: elm,video,play; + source: elm; + + action: STATE_SET default 0.0; + target: clipper; + } + program { + signal: elm,video,end; + source: elm; + + action: STATE_SET darker 0.0; + target: clipper; + transition: LINEAR 0.5; + } + program { + signal: elm,video,pause; + source: elm; + + action: STATE_SET darker 0.0; + target: clipper; + } + } + } } Modified: trunk/elementary/src/lib/Elementary.h.in === --- trunk/elementary/src/lib/Elementary.h.in 2011-06-30 16:11:35 UTC (rev 60876) +++ trunk/elementary/src/lib/Elementary.h.in 2011-06-30 17:18:13 UTC (rev 60877) @@ -6398,7 +6398,26 @@ EAPI Evas_Object *elm_genscroller_add(Evas_Object *parent); EAPI void elm_genscroller_world_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h); - + + EAPI Evas_Object *elm_video_add(Evas_Object *parent); + EAPI void elm_video_file_set(Evas_Object *video, const char *filename); + EAPI void elm_video_uri_set(Evas_Object *video, const char *uri); + EAPI Evas_Object *elm_video_emotion_get(Evas_Object *video); + EAPI void elm_video_play(Evas_Object *video); + EAPI void elm_video_pause(Evas_Object *video); + EAPI void elm_video_stop(Evas_Object *video); + EAPI Eina_Bool elm_video_is_playing(Evas_Object *video); + EAPI Eina_Bool elm_video_audio_mute_get(Evas_Object *video); + EAPI void elm_video_audio_mute_set(Evas_Object *video, Eina_Bool mute); + EAPI double elm_video_audio_level_get(Evas_Object *video); + EAPI void elm_video_audio_level_set(Evas_Object *video, double volume); + EAPI double elm_video_play_position_get(Evas_Object *video); + EAPI void
Re: [E-devel] efenniht broken?
Try it again :) Thanks On Thu, Jun 30, 2011 at 5:59 AM, Massimo Maiurana maiur...@gmail.com wrote: with the default theme all looks fine, but switching to efenniht there are a couple of issues that weren't there last time I tried this great theme. to better explain these issues I've made two screenshots: http://massimo.solira.org/files/battery.jpg as you can see, the battery is at 28% of charge, but the icon is all filled. http://massimo.solira.org/files/connman.jpg the signal strength to my wlan router is 68% but, again, the bar is all filled. also, while we're at it, it would be nice to have a custom efenniht icon even for the backlight module :) -- Massimo Maiurana massimoatragusa.linux.it http://massimo.solira.org GPG keyID #7044D601 Creare l'uomo fu un'idea bizzarra e originale, ma aggiungere la pecora fu una tautologia. [Mark Twain] -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Tiago Rezende Campos Falcão http://www.tiagofalcao.com -- ProFUSION | embedded systems Computer Systems Laboratory - IC - Unicamp Grupo Pró Software Livre - Unicamp Laboratory of Information Systems - IC - Unicamp -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch][Evil] evil_string has strcasestr
Hi :-] Your review comments in the attached patch. Thanks for your response always. Sincerely, Shinwoo Kim. 2011/6/29 Vincent Torri vto...@univ-evry.fr On Wed, 29 Jun 2011, cnook wrote: Oh I see, I got the point. Thanks for your response. Wherever the strcasestr() is used using previous patch, would be changed as bellow. #ifdef HAVE_STRCASESTR strcase(h, n); #else _elm_util_strcasestr(h, n); #endif better: #ifdef HAVE_STRCASESTR # define _elm_util_strcasestr(h, n) strcase((h), (n)) #endif and always use _elm_util_strcasestr() instead of strcasestr() Vincent Anyhow, I have refined the previous patch and attached. Then, wherever the strcasestr() is used, should be changed just as bellow _elm_util_strcasestr(h, n); Sincerely, Shinwoo Kim. 2011/6/29 Vincent Torri vto...@univ-evry.fr what he means is: * using AC_CHECK_FUNCS([strcasestr]) in configure.ac defined HAVE_STRCASESTR in config.h * in the code, you use the macro HAVE_STRCASESTR to use the glibc version of strcase, or to use your own version Vincent On Wed, 29 Jun 2011, cnook wrote: Hi Thanks for your response. I have no enough idea when it comes to E16. Actually this patch comes because of the Evil Windows environments - strcasestr does not exist. If strcasestr alternative - Estrcasestr - is on the E16, Should I install the E16 also or not? Sincerely, Shinwoo Kim. 2011/6/29 Hyoyoung Chang hyoyoung.ch...@samsung.com I think it's a nice patch if glibc's strcasestr can be used How about to add statements like below? #ifdef HAVE_STRCASESTR #define Estrcasestr(haystack, needle) strcasestr(haystack, needle) #else const char *Estrcasestr(const char *haystack, const char *needle); #endif In E16/e/src/util.h From: cnook [mailto:kimci...@gmail.com] Sent: Tuesday, June 28, 2011 3:58 PM To: Hyoyoung Chang Cc: Daniel Juyung Seo; enlightenment-devel@lists.**so**urceforge.nethttp://sourceforge.net enlightenment-**de...@lists.sourceforge.netenlightenment-devel@lists.sourceforge.net Subject: Re: [E-devel] [Patch][Evil] evil_string has strcasestr Dear All, Hi~ Here is the patch added on the elementary. :-] Sincerely, Shinwoo Kim. 2011/6/22 Hyoyoung Chang hyoyoung.ch...@samsung.com As I know strcasestr is not standard function. It's a glibc extension. CONFORMING TO The strstr() function conforms to C89 and C99. The strcasestr() funcÿÿ tion is a nonstandard extension. -- man page of strcasestr Is it only used in elementary? If then how about add to check routine in configure and add in elm_util.c? Or is it widely used in e project, it can be added in other module. PS. I google about strcasestr. It's contained in LSB 3.1 http://refspecs.freestandards.org/LSB_3.1.1/LSB-Core-** generic/LSB-Core-generihttp:/**/refspecs.freestandards.org/** LSB_3.1.1/LSB-Core-generic/**LSB-Core-generihttp://refspecs.freestandards.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generi c/baselib-strcasestr.html -Original Message- From: cnook [mailto:kimci...@gmail.com] Sent: Wednesday, June 22, 2011 5:56 PM To: Daniel Juyung Seo Cc: enlightenment-devel@lists.**so**urceforge.nethttp://sourceforge.net enlightenment-**de...@lists.sourceforge.netenlightenment-devel@lists.sourceforge.net Subject: Re: [E-devel] [Patch][Evil] evil_string has strcasestr Dear Mr. Daniel, Thanks your response :-] Initially, I had added this to the elm_entry in downstream(?), but a reviewer does not prefer it in the elm_entry. Then how about add this somewhere in Elementary? um... btw... why I added this to Evil module is.. there is no strcasestr on MinGW Env. only. Sincerely, Shinwoo Kim. 2011/6/22 Daniel Juyung Seo seojuyu...@gmail.com Well.. Dear Shinwoo Kim, According to vtorri's comment, you can merge this patch and another patch that uses this feature. Thanks. Daniel Juyung Seo (SeoZ) On Wed, Jun 22, 2011 at 4:53 PM, Vincent Torri vto...@univ-evry.fr wrote: On Wed, 22 Jun 2011, cnook wrote: Thanks for your response. There is a possibility in newly made elementary widget. So far, no one have used strcasestr in upstream. i won't add functions if they are not needed. Evil is minimalist and must remain like that. If strcasestr is needed, it will be added. Vincent Sincerely, Shinwoo Kim. 2011/6/22 Vincent Torri vto...@univ-evry.fr Hey There is no strcasestr() on MinGW Env. So this patch comes.. Please review the attached one. where is strcasestr used ? Vincent --** --** -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today.
Re: [E-devel] E SVN: seoz trunk/devs/seoz
You know, discomfitor is gazing on us always on the top of a windmill. Let's run together for the best moment! -Regards, Hermet- -Original Message- From: Daniel Juyung Seolt;seojuyu...@gmail.comgt; To: Mike Blumenkrantzlt;m...@zentific.comgt; Cc: enlightenment-devel@lists.sourceforge.net; enlightenment-...@lists.sourceforge.net Sent: 11-07-01(금) 09:04:29 Subject: Re: [E-devel] E SVN: seoz trunk/devs/seozMan, you found it! I failed :( Daniel Juyung Seo (SeoZ) On Fri, Jul 1, 2011 at 12:37 AM, Mike Blumenkrantz lt;m...@zentific.comgt; wrote: On Thu, 30 Jun 2011 08:24:02 -0700 Enlightenment SVN lt;no-re...@enlightenment.orggt; wrote: Log: devs/seoz: Updated build script. Author: seoz Date: 2011-06-30 08:24:02 -0700 (Thu, 30 Jun 2011) New Revision: 60873 Trac: http://trac.enlightenment.org/e/changeset/60873 Modified: trunk/devs/seoz/build.sh Modified: trunk/devs/seoz/build.sh === --- trunk/devs/seoz/build.sh 2011-06-30 12:34:15 UTC (rev 60872) +++ trunk/devs/seoz/build.sh 2011-06-30 15:24:02 UTC (rev 60873) @@ -8,7 +8,8 @@ export MAKEFLAGS=make -j6 alias make='make -j6' -export BUILD_BASIC=eina eet evas ecore embryo edje e_dbus efreet expedite e ethumb elementary +export BUILD_ELM_DEPENDS=PROTO/emap eio +export BUILD_BASIC=eina eet evas ecore embryo edje e_dbus efreet expedite e ethumb $BUILD_ELM_DEPENDS elementary export BUILD_PYTHON_BINDINGS=BINDINGS/python/python-evas BINDINGS/python/python-elementary BINDINGS/python/python-ecore BINDINGS/python/python-edje BINDINGS/python/python-emotion export BUILD_C_BINDINGS=BINDINGS/cxx/eflxx BINDINGS/cxx/einaxx BINDINGS/cxx/evasxx BINDINGS/cxx/ecorexx BINDINGS/cxx/elementaryxx export BUILD_BINDINGS=$BUILD_PYTHON_BINDINGS $BUILD_C_BINDINGS -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ enlightenment-svn mailing list enlightenment-...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-svn you don't build eeze? : -- Mike Blumenkrantz Zentific: Coding in binary since '10. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: seoz trunk/devs/seoz
If I remember correctly, he lost his windmill :) Daniel Juyung Seo (SeoZ) 2011/7/1 ChunEon Park her...@naver.com You know, discomfitor is gazing on us always on the top of a windmill. Let's run together for the best moment! -Regards, Hermet- -Original Message- *From:* Daniel Juyung Seoseojuyu...@gmail.com *To:* Mike Blumenkrantzm...@zentific.com *Cc:* enlightenment-devel@lists.sourceforge.net; enlightenment-...@lists.sourceforge.net *Sent:* 11-07-01(금) 09:04:29 *Subject:* Re: [E-devel] E SVN: seoz trunk/devs/seozMan, you found it! I failed :( Daniel Juyung Seo (SeoZ) On Fri, Jul 1, 2011 at 12:37 AM, Mike Blumenkrantz m...@zentific.com wrote: On Thu, 30 Jun 2011 08:24:02 -0700 Enlightenment SVN no-re...@enlightenment.org wrote: Log: devs/seoz: Updated build script. Author: seoz Date: 2011-06-30 08:24:02 -0700 (Thu, 30 Jun 2011) New Revision: 60873 Trac: http://trac.enlightenment.org/e/changeset/60873 Modified: trunk/devs/seoz/build.sh Modified: trunk/devs/seoz/build.sh === --- trunk/devs/seoz/build.sh 2011-06-30 12:34:15 UTC (rev 60872) +++ trunk/devs/seoz/build.sh 2011-06-30 15:24:02 UTC (rev 60873) @@ -8,7 +8,8 @@ export MAKEFLAGS=make -j6 alias make='make -j6' -export BUILD_BASIC=eina eet evas ecore embryo edje e_dbus efreet expedite e ethumb elementary +export BUILD_ELM_DEPENDS=PROTO/emap eio +export BUILD_BASIC=eina eet evas ecore embryo edje e_dbus efreet expedite e ethumb $BUILD_ELM_DEPENDS elementary export BUILD_PYTHON_BINDINGS=BINDINGS/python/python-evas BINDINGS/python/python-elementary BINDINGS/python/python-ecore BINDINGS/python/python-edje BINDINGS/python/python-emotion export BUILD_C_BINDINGS=BINDINGS/cxx/eflxx BINDINGS/cxx/einaxx BINDINGS/cxx/evasxx BINDINGS/cxx/ecorexx BINDINGS/cxx/elementaryxx export BUILD_BINDINGS=$BUILD_PYTHON_BINDINGS $BUILD_C_BINDINGS -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ enlightenment-svn mailing list enlightenment-...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-svn you don't build eeze? : -- Mike Blumenkrantz Zentific: Coding in binary since '10. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: seoz trunk/devs/seoz
On Fri, 1 Jul 2011 10:28:09 +0900 Daniel Juyung Seo seojuyu...@gmail.com wrote: If I remember correctly, he lost his windmill :) Daniel Juyung Seo (SeoZ) 2011/7/1 ChunEon Park her...@naver.com You know, discomfitor is gazing on us always on the top of a windmill. Let's run together for the best moment! -Regards, Hermet- -Original Message- *From:* Daniel Juyung Seoseojuyu...@gmail.com *To:* Mike Blumenkrantzm...@zentific.com *Cc:* enlightenment-devel@lists.sourceforge.net; enlightenment-...@lists.sourceforge.net *Sent:* 11-07-01(금) 09:04:29 *Subject:* Re: [E-devel] E SVN: seoz trunk/devs/seozMan, you found it! I failed :( Daniel Juyung Seo (SeoZ) On Fri, Jul 1, 2011 at 12:37 AM, Mike Blumenkrantz m...@zentific.com wrote: On Thu, 30 Jun 2011 08:24:02 -0700 Enlightenment SVN no-re...@enlightenment.org wrote: Log: devs/seoz: Updated build script. Author: seoz Date: 2011-06-30 08:24:02 -0700 (Thu, 30 Jun 2011) New Revision: 60873 Trac: http://trac.enlightenment.org/e/changeset/60873 I am working on something more manageable than a windmill for now! -- Mike Blumenkrantz Zentific: Coding in binary since '10. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] [patch] elm_win - add continuous capturing screen
Dear Elementary developers. I've made a patch about elm_win. Adding repeat option to support continuous capturing the screen. Repeat range is can set from 1 to 999. Filename is set like filename001.png Thank you. Index: elm_win.c === --- elm_win.c (리ë¹ì 60904) +++ elm_win.c (ìì ì¬ë³¸) @@ -42,7 +42,7 @@ * screenshot and how long to delay in the engine string. The engine string * is encoded in the following way: * - * shot:[delay=XX][:][file=XX] + * shot:[delay=XX][:][repeat=DDD][:][file=XX] * * Where options are separated by a : char if more than one option is given, * with delay, if provided being the first option and file the last (order @@ -50,8 +50,12 @@ * shown before doing the virtual in memory rendering and then save the * output to the file specified by the file option (and then exit). If no * delay is given, the default is 0.5 seconds. If no file is given the - * default output file is out.png. Some examples of using the shot engine: + * default output file is out.png. Repeat option is for continous + * capturing screenshots. Repeat range is from 1 to 999 and + * filename is fixed to out001.png + * Some examples of using the shot engine: * + * ELM_ENGINE=shot:delay=1.0:repeat=5:file=elm_test.png elementary_test * ELM_ENGINE=shot:delay=1.0:file=elm_test.png elementary_test * ELM_ENGINE=shot:file=elm_test2.png elementary_test * ELM_ENGINE=shot:delay=2.0 elementary_test @@ -85,6 +89,8 @@ struct { const char *info; Ecore_Timer *timer; + int repeat_count; + int shot_counter; } shot; Eina_Bool autodel : 1; int *autodel_clear, rot; @@ -188,20 +194,70 @@ { char *p; char *tmp = strdup(win-shot.info); + char *repname = NULL; if (!tmp) return NULL; + for (p = (char *)win-shot.info; *p; p++) { if (!strncmp(p, file=, 5)) { strcpy(tmp, p + 5); - return tmp; + if (!win-shot.repeat_count) return tmp; + else + { + char *dotptr = rindex(tmp, '.'); + if (dotptr) +{ + repname = malloc(sizeof(char)*(strlen(tmp)+16)); + strncpy(repname, tmp, dotptr - tmp); + sprintf(repname + (dotptr - tmp), %03d, win-shot.shot_counter+1); + strcat(repname, dotptr); + return repname; +} + } } } free(tmp); - return strdup(out.png); + if (!win-shot.repeat_count) return strdup(out.png); + else + { +repname = malloc(sizeof(char)*24); +sprintf(repname, out%03d.png, win-shot.shot_counter+1); +return repname; + } } +static int +_shot_repeat_count_get(Elm_Win *win) +{ + + char *p, *pd; + char *d = strdup(win-shot.info); + + if (!d) return 0; + for (p = (char *)win-shot.info; *p; p++) + { +if (!strncmp(p, repeat=, 7)) + { + int v; + + for (pd = d, p += 7; (*p) (*p != ':'); p++, pd++) + { + *pd = *p; + } + *pd = 0; + v = atoi(d); + if (v 0) v = 0; + if (v 1000) v = 999; + free(d); + return v; + } + } + free(d); + return 0; +} + static char * _shot_key_get(Elm_Win *win __UNUSED__) { @@ -246,6 +302,7 @@ if (key) free(key); if (flags) free(flags); ecore_evas_free(ee); + if (win-shot.repeat_count) win-shot.shot_counter++; } static Eina_Bool @@ -253,12 +310,25 @@ { Elm_Win *win = data; _shot_do(win); + if (win-shot.repeat_count) + { +int remainshot = (win-shot.repeat_count - win-shot.shot_counter); +if (remainshot 0) return EINA_TRUE; + } win-shot.timer = NULL; elm_exit(); return EINA_FALSE; } static void +_shot_init(Elm_Win *win) +{ + if (!win-shot.info) return; + win-shot.repeat_count = _shot_repeat_count_get(win); + win-shot.shot_counter = 0; +} + +static void _shot_handle(Elm_Win *win) { if (!win-shot.info) return; @@ -1470,6 +1540,7 @@ win-ee = ecore_evas_buffer_new(1, 1); ecore_evas_manual_render_set(win-ee, EINA_TRUE); win-shot.info = eina_stringshare_add(_elm_config-engine + 5); + _shot_init(win); } #undef FALLBACK_TRY break; -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___