Re: [E-devel] [ecore_con] Bug fix when data is NULL.
If it is http "DELETE" or "GET", not "POST", it can be 0. :-) On Thu, Nov 10, 2011 at 3:33 PM, Carsten Haitzler wrote: > On Wed, 9 Nov 2011 18:29:49 +0900 Bluezery said: > >> Hi, >> >> If data is NULL, curl makes length field as -1 . >> length filed should be set by 0. >> Please review below. > > it's worth a shot. people have been trying to find out how to do 0 byte sized > posts.. it hasnt worked... :) > >> Index: src/lib/ecore_con/ecore_con_url.c >> === >> --- src/lib/ecore_con/ecore_con_url.c (리비전 64937) >> +++ src/lib/ecore_con/ecore_con_url.c (작업 사본) >> @@ -695,7 +695,9 @@ _ecore_con_url_send(Ecore_Con_Url *url_c >> curl_easy_setopt(url_con->curl_easy, CURLOPT_POSTFIELDS, data); >> curl_easy_setopt(url_con->curl_easy, >> CURLOPT_POSTFIELDSIZE, length); >> } >> - else if (mode == MODE_POST) >> + else curl_easy_setopt(url_con->curl_easy, CURLOPT_POSTFIELDSIZE, 0); >> + >> + if (mode == MODE_POST) >> { >> curl_easy_setopt(url_con->curl_easy, CURLOPT_POST, 1); >> } >> @@ -1373,7 +1375,7 @@ _ecore_con_url_perform(Ecore_Con_Url *ur >> url_con->active = EINA_TRUE; >> curl_multi_add_handle(_curlm, url_con->curl_easy); >> curl_multi_perform(_curlm, &still_running); >> - >> + >> completed_immediately = _ecore_con_url_process_completed_jobs(url_con); >> >> if (!completed_immediately) >> >> >> Thanks, >> Kim > > > -- > - Codito, ergo sum - "I code, therefore I am" -- > The Rasterman (Carsten Haitzler) ras...@rasterman.com > > -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] sound api "plan"
On Thu, 10 Nov 2011 14:19:35 +0900 Carsten Haitzler (The Rasterman) wrote: > On Wed, 9 Nov 2011 22:26:04 +1000 David Seikel > said: > > > Just in case it helps, here's the bt with symbols. > > can u try svn now? i moved remix init outside of thread. really not > too good imho, but the only solution i have right now. That seems to have done the trick, I've been unable to trigger the seggie so far. -- A big old stinking pile of genius that no one wants coz there are too many silver coated monkeys in the world. signature.asc Description: PGP signature -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [ecore_con] Bug fix when data is NULL.
On Wed, 9 Nov 2011 18:29:49 +0900 Bluezery said: > Hi, > > If data is NULL, curl makes length field as -1 . > length filed should be set by 0. > Please review below. it's worth a shot. people have been trying to find out how to do 0 byte sized posts.. it hasnt worked... :) > Index: src/lib/ecore_con/ecore_con_url.c > === > --- src/lib/ecore_con/ecore_con_url.c (리비전 64937) > +++ src/lib/ecore_con/ecore_con_url.c (작업 사본) > @@ -695,7 +695,9 @@ _ecore_con_url_send(Ecore_Con_Url *url_c > curl_easy_setopt(url_con->curl_easy, CURLOPT_POSTFIELDS, data); > curl_easy_setopt(url_con->curl_easy, > CURLOPT_POSTFIELDSIZE, length); >} > -else if (mode == MODE_POST) > +else curl_easy_setopt(url_con->curl_easy, CURLOPT_POSTFIELDSIZE, 0); > + > +if (mode == MODE_POST) >{ > curl_easy_setopt(url_con->curl_easy, CURLOPT_POST, 1); >} > @@ -1373,7 +1375,7 @@ _ecore_con_url_perform(Ecore_Con_Url *ur > url_con->active = EINA_TRUE; > curl_multi_add_handle(_curlm, url_con->curl_easy); > curl_multi_perform(_curlm, &still_running); > - > + > completed_immediately = _ecore_con_url_process_completed_jobs(url_con); > > if (!completed_immediately) > > > Thanks, > Kim -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch][Evas] Fix wrong location of _evas_touch_point_remove()
On Thu, 10 Nov 2011 02:19:27 + (GMT) EunMi Lee said: > Dear all, > > I have a small patch to fix the wrong location of _evas_touch_point_remove(). > _evas_touch_point_remove() should be called in the evas_event_feed_mouse_up(), > but it is called in the evas_event_feed_mouse_cancel() in the current code. > Would you apply attached patch? yup. you're right. it did go to the wrong spot. fixed in svn! thanks! -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] sound api "plan"
On Wed, 9 Nov 2011 22:26:04 +1000 David Seikel said: > Just in case it helps, here's the bt with symbols. can u try svn now? i moved remix init outside of thread. really not too good imho, but the only solution i have right now. -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: jaehwan IN trunk/edje/src: bin lib
Dear Cedric I'm sorry for late reply. :) 2011년 11월 3일 목요일에 Cedric BAIL님이 작성: > On Thu, Nov 3, 2011 at 5:43 AM, Enlightenment SVN > > wrote: > > Log: > > Add CURRENT option which edje object moves from current position. > > Currently, when the part in edc move by transition, it moves from the > > one of the states to another of the states even if it is ainimating. > > We need it to move from current position, because the animation is not > > natural and smooth. So I made the "CURRENT" option. > > And that's patch is so super simple to read and understand now ! That > rock ! Thanks ! > > > Author: jaehwan > > Date: 2011-11-02 21:43:00 -0700 (Wed, 02 Nov 2011) > > New Revision: 64675 > > Trac: http://trac.enlightenment.org/e/changeset/64675 > > > > Modified: > > trunk/edje/src/bin/edje_cc_handlers.c trunk/edje/src/lib/Edje.h > trunk/edje/src/lib/edje_calc.c trunk/edje/src/lib/edje_private.h > trunk/edje/src/lib/edje_program.c > > > > Modified: trunk/edje/src/bin/edje_cc_handlers.c > > === > > --- trunk/edje/src/bin/edje_cc_handlers.c 2011-11-03 03:26:29 UTC > (rev 64674) > > +++ trunk/edje/src/bin/edje_cc_handlers.c 2011-11-03 04:43:00 UTC > (rev 64675) > > @@ -7121,7 +7121,7 @@ > > @property > > transition > > @parameters > > -[type] [length] [[interp val 1]] [[interp val 2]] > > +[type] [length] [[interp val 1]] [[interp val 2]] [[option]] > > @effect > > Defines how transitions occur using STATE_SET action.\n > > Where 'type' is the style of the transition and 'length' is a > double > > @@ -7157,6 +7157,11 @@ > > spring "swings" and val 1 specifies the decay, but it can exceed > 1.0 > > on the outer swings. > > > > +Valid option is CURRENT. > > + > > +CURRENT is the option which the edje object moves from current > position. > > +It can be used as the last parameter of the every type. > > + > > @endproperty > > */ > > static void > > @@ -7190,15 +7195,30 @@ > >"SPRING", > EDJE_TWEEN_MODE_SPRING, > >NULL); > >current_program->tween.time = FROM_DOUBLE(parse_float_range(1, 0.0, > 9.0)); > > + if ((current_program->tween.mode >= EDJE_TWEEN_MODE_LINEAR) && > > + (current_program->tween.mode <= EDJE_TWEEN_MODE_DECELERATE)) > > + { > > +if ((get_arg_count() == 3) && (!strcmp(parse_str(2), > "CURRENT"))) > > + current_program->tween.mode |= > EDJE_TWEEN_MODE_OPT_FROM_CURRENT; > > +else if (get_arg_count() != 2) > > + { > > + ERR("%s: Error. parse error %s:%i. " > > + "Need 2rd parameter to set time", > > + progname, file_in, line - 1); > > + exit(-1); > > + } > > + } > >// the following need v1 > >// EDJE_TWEEN_MODE_ACCELERATE_FACTOR > >// EDJE_TWEEN_MODE_DECELERATE_FACTOR > >// EDJE_TWEEN_MODE_SINUSOIDAL_FACTOR > >// current_program->tween.v1 > > - if ((current_program->tween.mode >= > EDJE_TWEEN_MODE_ACCELERATE_FACTOR) && > > + else if ((current_program->tween.mode >= > EDJE_TWEEN_MODE_ACCELERATE_FACTOR) && > >(current_program->tween.mode <= > EDJE_TWEEN_MODE_SINUSOIDAL_FACTOR)) > > { > > -if (get_arg_count() != 3) > > +if ((get_arg_count() == 4) && (!strcmp(parse_str(3), > "CURRENT"))) > > + current_program->tween.mode |= > EDJE_TWEEN_MODE_OPT_FROM_CURRENT; > > +else if (get_arg_count() != 3) > > { > > ERR("%s: Error. parse error %s:%i. " > > "Need 3rd parameter to set factor", > > @@ -7215,7 Hum, I don't think you should look so late into ed->x and > ed->y. I > guess that if the object is moved between the time your got the > current->x position and the time you update the position, it will be > wrong. Couldn't you directly do this operation when you retrieve the > current state ? > The part which be retrieved current state is in _edje_program_run. That's when the edje program is started by any event or signal emit. I think the current position have to be got at that time. And If there is transition in program, the animator is started. While animator is called, the edje_part_recalc is called and it decides the object position, color and so on. So I inserted the code into that function. > > > + p1->w = ep->current->w; > > + p1->h = ep->current->h; > > + p1->color.r = ep->current->color.r; > > + p1->color.g = ep->current->color.g; > > + p1->color.b = ep->current->color.b; > > + p1->color.a = ep->current->color.a; > > + p1->type.text.size = ep->current->type.text.size; > > + p1->type.text.color2.r = ep->current->type.text.color2.r; > > + p1->type.text.color2.g = ep->current->type.text.col
[E-devel] [Patch][Evas] Fix wrong location of _evas_touch_point_remove()
Dear all, I have a small patch to fix the wrong location of _evas_touch_point_remove(). _evas_touch_point_remove() should be called in the evas_event_feed_mouse_up(), but it is called in the evas_event_feed_mouse_cancel() in the current code. Would you apply attached patch? Regards, Eunmi Lee touch_point_fix_wrong_code_location.diff Description: Binary data -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch] ecore_evas_win32, window focus-in/out event callback
Dear Mr. Vincent Torri, Hi~ I have attached refined patch based on your comments include wince related also. Thanks a lot! Sincerely, Shinwoo Kim. 2011/11/9 cnook : > Dear All, Hello~ > > There were unimplemented callback for window focus in/out event on Win32. > I have added these two callbacks. Please review the attached patch. > > > Sincerely, > Shinwoo Kim. > Index: src/lib/ecore_evas/ecore_evas_win32.c === --- src/lib/ecore_evas/ecore_evas_win32.c (revision 64980) +++ src/lib/ecore_evas/ecore_evas_win32.c (working copy) @@ -19,7 +19,7 @@ #ifdef BUILD_ECORE_EVAS_WIN32 -#define ECORE_EVAS_EVENT_COUNT 8 +#define ECORE_EVAS_EVENT_COUNT 10 static int _ecore_evas_init_count = 0; @@ -29,6 +29,10 @@ static Eina_Bool _ecore_evas_win32_event_mouse_in( static Eina_Bool _ecore_evas_win32_event_mouse_out(void *data __UNUSED__, int type __UNUSED__, void *event); +static Eina_Bool _ecore_evas_win32_event_window_focus_in(void *data __UNUSED__, int type __UNUSED__, void *event); + +static Eina_Bool _ecore_evas_win32_event_window_focus_out(void *data __UNUSED__, int type __UNUSED__, void *event); + static Eina_Bool _ecore_evas_win32_event_window_damage(void *data __UNUSED__, int type __UNUSED__, void *event); static Eina_Bool _ecore_evas_win32_event_window_destroy(void *data __UNUSED__, int type __UNUSED__, void *event); @@ -96,12 +100,14 @@ _ecore_evas_win32_init(void) ecore_evas_event_handlers[0] = ecore_event_handler_add(ECORE_WIN32_EVENT_MOUSE_IN, _ecore_evas_win32_event_mouse_in, NULL); ecore_evas_event_handlers[1] = ecore_event_handler_add(ECORE_WIN32_EVENT_MOUSE_OUT, _ecore_evas_win32_event_mouse_out, NULL); - ecore_evas_event_handlers[2] = ecore_event_handler_add(ECORE_WIN32_EVENT_WINDOW_DAMAGE, _ecore_evas_win32_event_window_damage, NULL); - ecore_evas_event_handlers[3] = ecore_event_handler_add(ECORE_WIN32_EVENT_WINDOW_DESTROY, _ecore_evas_win32_event_window_destroy, NULL); - ecore_evas_event_handlers[4] = ecore_event_handler_add(ECORE_WIN32_EVENT_WINDOW_SHOW, _ecore_evas_win32_event_window_show, NULL); - ecore_evas_event_handlers[5] = ecore_event_handler_add(ECORE_WIN32_EVENT_WINDOW_HIDE, _ecore_evas_win32_event_window_hide, NULL); - ecore_evas_event_handlers[6] = ecore_event_handler_add(ECORE_WIN32_EVENT_WINDOW_CONFIGURE, _ecore_evas_win32_event_window_configure, NULL); - ecore_evas_event_handlers[7] = ecore_event_handler_add(ECORE_WIN32_EVENT_WINDOW_DELETE_REQUEST, _ecore_evas_win32_event_window_delete_request, NULL); + ecore_evas_event_handlers[2] = ecore_event_handler_add(ECORE_WIN32_EVENT_WINDOW_FOCUS_IN, _ecore_evas_win32_event_window_focus_in, NULL); + ecore_evas_event_handlers[3] = ecore_event_handler_add(ECORE_WIN32_EVENT_WINDOW_FOCUS_OUT, _ecore_evas_win32_event_window_focus_out, NULL); + ecore_evas_event_handlers[4] = ecore_event_handler_add(ECORE_WIN32_EVENT_WINDOW_DAMAGE, _ecore_evas_win32_event_window_damage, NULL); + ecore_evas_event_handlers[5] = ecore_event_handler_add(ECORE_WIN32_EVENT_WINDOW_DESTROY, _ecore_evas_win32_event_window_destroy, NULL); + ecore_evas_event_handlers[6] = ecore_event_handler_add(ECORE_WIN32_EVENT_WINDOW_SHOW, _ecore_evas_win32_event_window_show, NULL); + ecore_evas_event_handlers[7] = ecore_event_handler_add(ECORE_WIN32_EVENT_WINDOW_HIDE, _ecore_evas_win32_event_window_hide, NULL); + ecore_evas_event_handlers[8] = ecore_event_handler_add(ECORE_WIN32_EVENT_WINDOW_CONFIGURE, _ecore_evas_win32_event_window_configure, NULL); + ecore_evas_event_handlers[9] = ecore_event_handler_add(ECORE_WIN32_EVENT_WINDOW_DELETE_REQUEST, _ecore_evas_win32_event_window_delete_request, NULL); ecore_event_evas_init(); return _ecore_evas_init_count; @@ -173,6 +179,40 @@ _ecore_evas_win32_event_mouse_out(void *data __UNU } static Eina_Bool +_ecore_evas_win32_event_window_focus_in(void *data __UNUSED__, int type __UNUSED__, void *event) +{ + Ecore_Evas *ee; + Ecore_Win32_Event_Window_Focus_In *e; + + e = event; + ee = ecore_event_window_match(e->window); + if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON; + if (e->window != ee->prop.window) return ECORE_CALLBACK_PASS_ON; + + ee->prop.focused = 1; + evas_focus_in(ee->evas); + if (ee->func.fn_focus_in) ee->func.fn_focus_in(ee); + return ECORE_CALLBACK_PASS_ON; +} + +static Eina_Bool +_ecore_evas_win32_event_window_focus_out(void *data __UNUSED__, int type __UNUSED__, void *event) +{ + Ecore_Evas *ee; + Ecore_Win32_Event_Window_Focus_Out *e; + + e = event; + ee = ecore_event_window_match(e->window); + if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON; + if (e->window != ee->prop.window) return ECORE_CALLBACK_PASS_ON; + + evas_focus_out(ee->evas); + ee->prop.focused = 0; + if (ee->func.fn_focus_out) ee->func.fn_focus_out(ee); + return ECORE_CALLBACK_PASS_ON; +} + +static Eina_Bool _ecore_evas_win32_event_window_damage(void *da
Re: [E-devel] sound api "plan"
On Thu, 10 Nov 2011 03:50:11 +1000 David Seikel said: > On Mon, 7 Nov 2011 12:33:10 +0900 Carsten Haitzler (The Rasterman) > wrote: > > > attached. this was a sample edc that would be able to play audio, not > > just single samples but whole sequences across multiple tracks as > > well as control specific channels and tracks. it didn't specify > > looping params yet or other additional stuff. > > Where's the .wavs? And the ones for the example in the edje source to > while we are at it. byo wavs. -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EFL 1.1 roundup
On Wed, 9 Nov 2011 19:01:45 +0100 (CET) Vincent Torri wrote: > > > On Wed, 9 Nov 2011, Mike Blumenkrantz wrote: > > > On Wed, 9 Nov 2011 15:18:03 +0100 > > Mark-Willem Jansen wrote: > > > >> > >> It seems that the "view reports" are missing for the updated reports > >> > >> -- > >> Mark-Willem Jansen > >> > >>> Date: Wed, 9 Nov 2011 08:49:26 -0500 > >>> From: m...@zentific.com > >>> To: lists.sourceforge.net enlightenment-devel@lists.sourceforge.net > >>> Subject: Re: [E-devel] EFL 1.1 roundup > >>> > >>> On Wed, 9 Nov 2011 08:15:14 -0500 > >>> Mike Blumenkrantz wrote: > >>> > On Tue, 8 Nov 2011 21:07:35 -0500 > Mike Blumenkrantz wrote: > > > It's that time again! Everyone point your browsers to > > http://dev.enlightenment.fr/~discomfitor/ > > and start fixing the things you know! > > > I've updated the evas report. > > >>> Eina report updated. > >>> > >>> -- > >>> Mike Blumenkrantz > >>> Zentific: Doctor recommended, mother approved. > >>> > > works fine here > > isn't it possible to remove the conftest.c files ?? there are generated by > configure and should not appear in the list > > Vincent Okay, I've removed them. -- Mike Blumenkrantz Zentific: Doctor recommended, mother approved. -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EFL 1.1 roundup
On Wed, 9 Nov 2011, Mike Blumenkrantz wrote: > On Wed, 9 Nov 2011 07:25:51 +0100 (CET) > Vincent Torri wrote: > >> >> >> On Tue, 8 Nov 2011, Mike Blumenkrantz wrote: >> >>> It's that time again! Everyone point your browsers to >>> http://dev.enlightenment.fr/~discomfitor/ >>> and start fixing the things you know! >> >> why is there some conftest.c files listed there ? >> >> Vincent >> >>> >>> -- >>> Mike Blumenkrantz >>> Zentific: Doctor recommended, mother approved. >>> > eh sometimes it includes that file from running configure. ignore those. i know i have to ignore them. I would like to know if it's possible to not adding them to the list of real bugs Vincent -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EFL 1.1 roundup
On Wed, 9 Nov 2011, Mike Blumenkrantz wrote: > On Wed, 9 Nov 2011 15:18:03 +0100 > Mark-Willem Jansen wrote: > >> >> It seems that the "view reports" are missing for the updated reports >> >> -- >> Mark-Willem Jansen >> >>> Date: Wed, 9 Nov 2011 08:49:26 -0500 >>> From: m...@zentific.com >>> To: lists.sourceforge.net enlightenment-devel@lists.sourceforge.net >>> Subject: Re: [E-devel] EFL 1.1 roundup >>> >>> On Wed, 9 Nov 2011 08:15:14 -0500 >>> Mike Blumenkrantz wrote: >>> On Tue, 8 Nov 2011 21:07:35 -0500 Mike Blumenkrantz wrote: > It's that time again! Everyone point your browsers to > http://dev.enlightenment.fr/~discomfitor/ > and start fixing the things you know! > I've updated the evas report. >>> Eina report updated. >>> >>> -- >>> Mike Blumenkrantz >>> Zentific: Doctor recommended, mother approved. >>> > works fine here isn't it possible to remove the conftest.c files ?? there are generated by configure and should not appear in the list Vincent -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ 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/emotion: . src/lib
On Wed, 9 Nov 2011, Enlightenment SVN wrote: > Log: > emotion: make it possible to define webcam statically. > > > Author: cedric > Date: 2011-11-09 08:27:49 -0800 (Wed, 09 Nov 2011) > New Revision: 64995 > Trac: http://trac.enlightenment.org/e/changeset/64995 > > Modified: > trunk/emotion/configure.ac trunk/emotion/src/lib/emotion_main.c > trunk/emotion/src/lib/emotion_private.h > > Modified: trunk/emotion/configure.ac > === > --- trunk/emotion/configure.ac2011-11-09 16:13:26 UTC (rev 64994) > +++ trunk/emotion/configure.ac2011-11-09 16:27:49 UTC (rev 64995) > @@ -107,7 +107,7 @@ > > ### Checks for libraries > > -PKG_CHECK_MODULES(EMOTION, [eina >= 1.0.0 evas >= 1.0.0 ecore >= 1.0.0]) > +PKG_CHECK_MODULES(EMOTION, [eina >= 1.0.0 evas >= 1.0.0 ecore >= 1.0.0 eet > >= 1.4.0]) > requirement_emotion="ecore >= 1.0.0 evas >= 1.0.0 eina >= 1.0.0" requirements too, please > > if test "x${have_emotion_test}" = "xyes" ; then > > Modified: trunk/emotion/src/lib/emotion_main.c > === > --- trunk/emotion/src/lib/emotion_main.c 2011-11-09 16:13:26 UTC (rev > 64994) > +++ trunk/emotion/src/lib/emotion_main.c 2011-11-09 16:27:49 UTC (rev > 64995) > @@ -14,6 +14,8 @@ > # include > #endif > > +#include omg, i've just seen that. Order of headers is: 1) config.h 2) standard headers 3) other library headers 4) EFL headers 5) emotion headers otherwise you break compilation on Windows Vincent > + > EAPI int EMOTION_WEBCAM_UPDATE = 0; > > struct ext_match_s > @@ -118,7 +120,13 @@ >return result; > } > > -#ifdef EMOTION_HAVE_EEZE > +typedef struct _Emotion_Webcams Emotion_Webcams; > + > +struct _Emotion_Webcams > +{ > + Eina_List *webcams; > +}; > + > struct _Emotion_Webcam > { >EINA_REFCOUNT; > @@ -127,19 +135,49 @@ >const char *device; >const char *name; > > + const char *custom; > + >const char *filename; > }; > > static int _emotion_webcams_count = 0; > -static Eina_List *_emotion_webcams = NULL; > +static Eet_Data_Descriptor *_webcam_edd; > +static Eet_Data_Descriptor *_webcams_edd; > + > +static Emotion_Webcams *_emotion_webcams = NULL; > +static Eet_File *_emotion_webcams_file = NULL; > + > +static Eet_Data_Descriptor * > +_emotion_webcams_data(void) > +{ > + Eet_Data_Descriptor_Class eddc; > + > + EET_EINA_FILE_DATA_DESCRIPTOR_CLASS_SET(&eddc, Emotion_Webcam); > + _webcam_edd = eet_data_descriptor_file_new(&eddc); > + EET_DATA_DESCRIPTOR_ADD_BASIC(_webcam_edd, Emotion_Webcam, "device", > device, EET_T_STRING); > + EET_DATA_DESCRIPTOR_ADD_BASIC(_webcam_edd, Emotion_Webcam, "name", name, > EET_T_STRING); > + EET_DATA_DESCRIPTOR_ADD_BASIC(_webcam_edd, Emotion_Webcam, "custom", > custom, EET_T_STRING); > + EET_DATA_DESCRIPTOR_ADD_BASIC(_webcam_edd, Emotion_Webcam, "filename", > filename, EET_T_STRING); > + > + EET_EINA_FILE_DATA_DESCRIPTOR_CLASS_SET(&eddc, Emotion_Webcams); > + _webcams_edd = eet_data_descriptor_file_new(&eddc); > + EET_DATA_DESCRIPTOR_ADD_LIST(_webcams_edd, Emotion_Webcams, "webcams", > webcams, _webcam_edd); > + > + return _webcams_edd; > +} > + > +#ifdef EMOTION_HAVE_EEZE > static Eeze_Udev_Watch *eeze_watcher = NULL; > > static void > emotion_webcam_destroy(Emotion_Webcam *ew) > { > - eina_stringshare_del(ew->syspath); > - eina_stringshare_del(ew->device); > - eina_stringshare_del(ew->name); > + if (!ew->custom) > + { > +eina_stringshare_del(ew->syspath); > +eina_stringshare_del(ew->device); > +eina_stringshare_del(ew->name); > + } >free(ew); > } > > @@ -169,11 +207,11 @@ >|| caps.capabilities & V4L2_CAP_MODULATOR) > goto on_error; > > - EINA_LIST_FOREACH(_emotion_webcams, l, check) > + EINA_LIST_FOREACH(_emotion_webcams->webcams, l, check) > if (check->device == ew->device) >goto on_error; > > - _emotion_webcams = eina_list_append(_emotion_webcams, ew); > + _emotion_webcams->webcams = eina_list_append(_emotion_webcams->webcams, > ew); > >EINA_REFCOUNT_INIT(ew); > > @@ -198,6 +236,7 @@ >test = malloc(sizeof (Emotion_Webcam)); >if (!test) return NULL; > > + test->custom = NULL; >test->syspath = eina_stringshare_ref(syspath); >test->name = eeze_udev_syspath_get_sysattr(syspath, "name"); > > @@ -241,10 +280,10 @@ > Emotion_Webcam *check; > Eina_List *l; > > -EINA_LIST_FOREACH(_emotion_webcams, l, check) > +EINA_LIST_FOREACH(_emotion_webcams->webcams, l, check) > if (check->syspath == syspath) > { > - _emotion_webcams = eina_list_remove_list(_emotion_webcams, l); > + _emotion_webcams->webcams = > eina_list_remove_list(_emotion_webcams->webcams, l); >EINA_REFCOUNT_UNREF(check) > emotion_webcam_destroy(check); >break ; > @@ -265,9 +304,31 @@ > EA
Re: [E-devel] [Patch] ecore_evas_win32, window focus-in/out event callback
Hey On Wed, 9 Nov 2011, cnook wrote: > Dear All, Hello~ > > There were unimplemented callback for window focus in/out event on Win32. > I have added these two callbacks. Please review the attached patch. you have to update also ECORE_EVAS_EVENT_COUNT at the top of the file. Otherwise, the patch looks good. Would it be possible to do it also for ecore_evas_wince ? It's almost copy/paste Vincent -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] sound api "plan"
On Mon, 7 Nov 2011 12:33:10 +0900 Carsten Haitzler (The Rasterman) wrote: > attached. this was a sample edc that would be able to play audio, not > just single samples but whole sequences across multiple tracks as > well as control specific channels and tracks. it didn't specify > looping params yet or other additional stuff. Where's the .wavs? And the ones for the example in the edje source to while we are at it. -- A big old stinking pile of genius that no one wants coz there are too many silver coated monkeys in the world. signature.asc Description: PGP signature -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] sound api "plan"
On Wed, 9 Nov 2011 22:26:04 +1000 David Seikel wrote: > On Wed, 9 Nov 2011 20:04:55 +0900 Carsten Haitzler (The Rasterman) > wrote: > > > On Wed, 9 Nov 2011 20:58:10 +1000 David Seikel > > said: > > > > > On Wed, 9 Nov 2011 18:32:32 +1000 David Seikel > > > wrote: > > > > > > > On Wed, 9 Nov 2011 15:08:38 +0900 Carsten Haitzler (The > > > > Rasterman) wrote: > > > > > > > > > On Wed, 9 Nov 2011 14:56:48 +1000 David Seikel > > > > > said: > > > > > > > > > > > On Tue, 8 Nov 2011 15:41:11 +0900 Carsten Haitzler (The > > > > > > Rasterman) wrote: > > > > > > > > > > > > > On Tue, 8 Nov 2011 13:49:57 +1000 David Seikel > > > > > > > said: > > > > > > > > > > > > > > > On Tue, 8 Nov 2011 12:15:44 +0900 Carsten Haitzler (The > > > > > > > > Rasterman) wrote: > > > > > > > > > > > > > > > > > On Tue, 8 Nov 2011 00:13:18 +1000 David Seikel > > > > > > > > > said: > > > > > > > > > > > > > > > > > > > On Mon, 7 Nov 2011 23:55:24 +1000 David Seikel > > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > > > On Mon, 7 Nov 2011 22:48:04 +1000 David Seikel > > > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > > > > > On Mon, 7 Nov 2011 21:36:43 +0900 Carsten > > > > > > > > > > > > Haitzler (The Rasterman) > > > > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > > > > > > > On Mon, 7 Nov 2011 11:00:24 +0100 Raoul Hecky > > > > > > > > > > > > > said: > > > > > > > > > > > > > > > > > > > > > > > > > > > Le lundi 7 novembre 2011 04:33:10, Carsten > > > > > > > > > > > > > > Haitzler a écrit : > > > > > > > > > > > > > > > attached. this was a sample edc that would > > > > > > > > > > > > > > > be able to play audio, not just single > > > > > > > > > > > > > > > samples but whole sequences across > > > > > > > > > > > > > > > multiple tracks as well as control > > > > > > > > > > > > > > > specific channels and tracks. it didn't > > > > > > > > > > > > > > > specify looping params yet or other > > > > > > > > > > > > > > > additional stuff. > > > > > > > > > > > > > > > > > > > > > > > > > > > > Such a huge thing just to play sound in > > > > > > > > > > > > > > edje... Is it really necessary to have all > > > > > > > > > > > > > > this in edje or are you just nostalgic of > > > > > > > > > > > > > > the good old days of trackers?? > > > > > > > > > > > > > > > > > > > > > > > > > > DAMNED STRAIGHT I AM! :) i just discovered > > > > > > > > > > > > > milkytracker! i'm enjoying myself > > > > > > > > > > > > > thoroughly! :) > > > > > > > > > > > > > > > > > > > > > > > > > > seriously though... you CAN still just play > > > > > > > > > > > > > samples.. then play samples WITH volume > > > > > > > > > > > > > envelopes and looping (sounds as this glues > > > > > > > > > > > > > sample+envelopes) and then play entire > > > > > > > > > > > > > sequences (a series of samples played with > > > > > > > > > > > > > timing), which is the basics for most musical > > > > > > > > > > > > > scoring, then combine these into multiple > > > > > > > > > > > > > track patterns and put them together into > > > > > > > > > > > > > whole songs if u want. it drops down to the > > > > > > > > > > > > > simple and up to the whole "compose a whole > > > > > > > > > > > > > score" end of things. > > > > > > > > > > > > > > > > > > > > > > > > > > if all you ever choose to do is play samples - > > > > > > > > > > > > > then its largely irrelevant. reality is that > > > > > > > > > > > > > if you want to have complex sound effects you > > > > > > > > > > > > > need to start doing all of these little > > > > > > > > > > > > > bits. :) > > > > > > > > > > > > > > > > > > > > > > > > > > let me give an example. scrolling. > > > > > > > > > > > > > > > > > > > > > > > > > > you want to play some "wind blowing" when you > > > > > > > > > > > > > first start to drag > > > > > > > > > > > > > - this may consist of 2 or 3 channels of sound > > > > > > > > > > > > > with various wind samples overlayed at > > > > > > > > > > > > > staggered intervals to give the impression of > > > > > > > > > > > > > something that isn't always looping and > > > > > > > > > > > > > repeating (it's a neat trick you also can do > > > > > > > > > > > > > with overlayed images). you want this "song" > > > > > > > > > > > > > to fade in then keep looping a few patterns > > > > > > > > > > > > > where you really are using 5 or so 5 second > > > > > > > > > > > > > samples to create several minutes of wind > > > > > > > > > > > > > sound. now when you actually MOVE your mouse > > > > > > > > > > > > > (or finger) you year some "tinkling" sounds > > > > > > > > > > > > > that sound like the small glass bells being > > > > > > > > > > > > > shaken. these play and fade out becoming > > > > > > > > > > > > > quieter the slower your drag and varying > > > > > > > > > > > > > pitch depending on how high or low your > > > > > > > > > > > > > position is on the scroll range. you would > > > > > > > > > > > > > implement
Re: [E-devel] sound api "plan"
On Wed, 9 Nov 2011 14:28:50 -0200 Rafael Antognolli wrote: > On Wed, Nov 9, 2011 at 12:43 PM, Tom Hacohen > wrote: > > > > On 09/11/11 16:16, Mike Blumenkrantz wrote: > > > I'm fairly certain that his objection is not to the API or > > > features it introduces, but for the timetable and lack of PUBLIC > > > review for such a huge patch. You continue to claim that "it's > > > tiny" and "it only affects you if you are using the features it > > > introduces". Both of these are false claims which have been > > > disproved by me and others. We have less than two weeks until the > > > 1.1 release. Prior to this addition, EFL and Edje were considered > > > by everyone in the community be stable and in good shape. This is > > > no longer the case, and I'm sure there are many others aside from > > > Vincent who would agree with this sentiment. > > > > > > > I concur. > > Agreed. > > > > I vote that the sound API and all related commits be reverted > > > immediately and pushed off until after 1.1. Regardless of your > > > expertise on sound implementations and how solid you may claim it > > > to be, this feature CANNOT be tested sufficiently to meet EFL > > > quality standards before the release. That alone should be enough > > > to have ensured that it was never committed in the first place, > > > other breakages notwithstanding. > > > > > > > No idea what needs to be done about it, but the current situation is > > indeed problematic. > > I think that Gustavo's idea of releasing Edje again soon after this > release, just to include this sound API, would solve the problem, > right? What would be a good reason for not doing that? > > We already have a different version for eet, keeping that for edje too > shouldn't be much pain... That would certainly give me a chance to include the sound stuff in the lua edje API and have it out soon. On the other hand, that don't do my current project any good, it's just more complex code when all I need is to squirt a .wav at /dev/dsp. A problem I have solved already. Still would be neat for other things. B-) -- A big old stinking pile of genius that no one wants coz there are too many silver coated monkeys in the world. signature.asc Description: PGP signature -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] sound api "plan"
On Wed, Nov 9, 2011 at 12:43 PM, Tom Hacohen wrote: > > On 09/11/11 16:16, Mike Blumenkrantz wrote: > > I'm fairly certain that his objection is not to the API or features it > > introduces, but for the timetable and lack of PUBLIC review for such a huge > > patch. You continue to claim that "it's tiny" and "it only affects you if > > you > > are using the features it introduces". Both of these are false claims which > > have been disproved by me and others. > > We have less than two weeks until the 1.1 release. Prior to this addition, > > EFL > > and Edje were considered by everyone in the community be stable and in good > > shape. This is no longer the case, and I'm sure there are many others aside > > from Vincent who would agree with this sentiment. > > > > I concur. Agreed. > > I vote that the sound API and all related commits be reverted immediately > > and > > pushed off until after 1.1. Regardless of your expertise on sound > > implementations and how solid you may claim it to be, this feature CANNOT be > > tested sufficiently to meet EFL quality standards before the release. That > > alone > > should be enough to have ensured that it was never committed in the first > > place, other breakages notwithstanding. > > > > No idea what needs to be done about it, but the current situation is > indeed problematic. I think that Gustavo's idea of releasing Edje again soon after this release, just to include this sound API, would solve the problem, right? What would be a good reason for not doing that? We already have a different version for eet, keeping that for edje too shouldn't be much pain... -- Rafael Antognolli ProFUSION embedded systems http://profusion.mobi -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] sound api "plan"
On 09/11/11 16:16, Mike Blumenkrantz wrote: > I'm fairly certain that his objection is not to the API or features it > introduces, but for the timetable and lack of PUBLIC review for such a huge > patch. You continue to claim that "it's tiny" and "it only affects you if you > are using the features it introduces". Both of these are false claims which > have been disproved by me and others. > We have less than two weeks until the 1.1 release. Prior to this addition, EFL > and Edje were considered by everyone in the community be stable and in good > shape. This is no longer the case, and I'm sure there are many others aside > from Vincent who would agree with this sentiment. > I concur. > I vote that the sound API and all related commits be reverted immediately and > pushed off until after 1.1. Regardless of your expertise on sound > implementations and how solid you may claim it to be, this feature CANNOT be > tested sufficiently to meet EFL quality standards before the release. That > alone > should be enough to have ensured that it was never committed in the first > place, other breakages notwithstanding. > No idea what needs to be done about it, but the current situation is indeed problematic. -- Tom. -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] sound api "plan"
On Wed, Nov 9, 2011 at 12:16 PM, Mike Blumenkrantz wrote: > > On Tue, 8 Nov 2011 16:33:42 +0900 > Carsten Haitzler (The Rasterman) wrote: > > > On Tue, 8 Nov 2011 07:23:27 +0100 (CET) Vincent Torri > > said: > > > > > > > > > > > On Mon, 7 Nov 2011, Carsten Haitzler (The Rasterman) wrote: > > > > > > > attached. this was a sample edc that would be able to play audio, not > > > > just > > > > single samples but whole sequences across multiple tracks as well as > > > > control specific channels and tracks. it didn't specify looping params > > > > yet or other additional stuff. > > > > > > i've never heard about that sound plan before the commit. The patch was > > > not public and we could not have discussed about it before the commit. So > > > I really don't like the way it came into edje. > > > > i'm not sure this is much different from anything else that goes on in efl. > > i > > have done work for a decade+ without discussing patches on the mailing list > > first. so have most developers. as such this patch this time was going > > through > > me. the comments on the patch so far havent actually commented on the edc > > api > > it adds at all which everyone is up in arms about "for release". so since > > everyone complaining isn't actually talking about that... i'll write it here > > in short form. it adds: > > sounds { > > sample { > > name: "" ; > > source: ""; > > } > > ... > > tone: "" ; > > ... > > } > > and 2 more actions: > > PLAY_SAMPLE "" ; > > PLAY_TONE "" ; > > > > that's it. unfortunately to make this WORK u need a chunk of infra like > > being > > able to load and encode samples into edj files, decode them, play and mix > > them, resample them, etc. all of which is opaque to the api. > > > > > > > I'm fairly certain that his objection is not to the API or features it > introduces, but for the timetable and lack of PUBLIC review for such a huge > patch. You continue to claim that "it's tiny" and "it only affects you if you > are using the features it introduces". Both of these are false claims which > have been disproved by me and others. > We have less than two weeks until the 1.1 release. Prior to this addition, EFL > and Edje were considered by everyone in the community be stable and in good > shape. This is no longer the case, and I'm sure there are many others aside > from Vincent who would agree with this sentiment. > > I vote that the sound API and all related commits be reverted immediately and > pushed off until after 1.1. Regardless of your expertise on sound > implementations and how solid you may claim it to be, this feature CANNOT be > tested sufficiently to meet EFL quality standards before the release. That > alone > should be enough to have ensured that it was never committed in the first > place, other breakages notwithstanding. Agreed. And to be fair the argument "it was a feature, features were not frozen, if there was bugs then they have to be fixed in the 2 weeks reserved for that" is not true. First of all, the merged feature was not complete. It will break things like edje_inspect, Edje_Edit users (ie: editje) and seems to break more than that for couple of people. This seems like: let's commit 'void foo_feature(void) { puts("todo");}"' to introduce the feature, implementing it during the feature freeze period reserved to bugfix. Really, if the freeze is just 2 weeks, what's the point in committing such a thing at the last minute? Just leave it out, iron the bugs for 1.1, release it ON TIME, then open the trunk and merge it. If there is a need we can release Edje 1.2 with it in few weeks or months afterwards. Given the current approach what happens is that 2 weeks of bugfixing will not be enough, then we'll extend it, delaying the whole thing for everybody that depends on releases. People willing to merge features will give a big "Let's do the same -- don't care" and will merge their own stuff, calling it tested, trusted and small... that's the never-ending story we all know :-( I do support Mike on this topic. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EFL 1.1 roundup
On Wed, 9 Nov 2011 15:18:03 +0100 Mark-Willem Jansen wrote: > > It seems that the "view reports" are missing for the updated reports > > -- > Mark-Willem Jansen > > > Date: Wed, 9 Nov 2011 08:49:26 -0500 > > From: m...@zentific.com > > To: lists.sourceforge.net enlightenment-devel@lists.sourceforge.net > > Subject: Re: [E-devel] EFL 1.1 roundup > > > > On Wed, 9 Nov 2011 08:15:14 -0500 > > Mike Blumenkrantz wrote: > > > > > On Tue, 8 Nov 2011 21:07:35 -0500 > > > Mike Blumenkrantz wrote: > > > > > > > It's that time again! Everyone point your browsers to > > > > http://dev.enlightenment.fr/~discomfitor/ > > > > and start fixing the things you know! > > > > > > > I've updated the evas report. > > > > > Eina report updated. > > > > -- > > Mike Blumenkrantz > > Zentific: Doctor recommended, mother approved. > > works fine here -- Mike Blumenkrantz Zentific: Doctor recommended, mother approved. -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EFL 1.1 roundup
It seems that the "view reports" are missing for the updated reports -- Mark-Willem Jansen > Date: Wed, 9 Nov 2011 08:49:26 -0500 > From: m...@zentific.com > To: lists.sourceforge.net enlightenment-devel@lists.sourceforge.net > Subject: Re: [E-devel] EFL 1.1 roundup > > On Wed, 9 Nov 2011 08:15:14 -0500 > Mike Blumenkrantz wrote: > > > On Tue, 8 Nov 2011 21:07:35 -0500 > > Mike Blumenkrantz wrote: > > > > > It's that time again! Everyone point your browsers to > > > http://dev.enlightenment.fr/~discomfitor/ > > > and start fixing the things you know! > > > > > I've updated the evas report. > > > Eina report updated. > > -- > Mike Blumenkrantz > Zentific: Doctor recommended, mother approved. > > -- > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] sound api "plan"
On Tue, 8 Nov 2011 16:33:42 +0900 Carsten Haitzler (The Rasterman) wrote: > On Tue, 8 Nov 2011 07:23:27 +0100 (CET) Vincent Torri > said: > > > > > > > On Mon, 7 Nov 2011, Carsten Haitzler (The Rasterman) wrote: > > > > > attached. this was a sample edc that would be able to play audio, not just > > > single samples but whole sequences across multiple tracks as well as > > > control specific channels and tracks. it didn't specify looping params > > > yet or other additional stuff. > > > > i've never heard about that sound plan before the commit. The patch was > > not public and we could not have discussed about it before the commit. So > > I really don't like the way it came into edje. > > i'm not sure this is much different from anything else that goes on in efl. i > have done work for a decade+ without discussing patches on the mailing list > first. so have most developers. as such this patch this time was going through > me. the comments on the patch so far havent actually commented on the edc api > it adds at all which everyone is up in arms about "for release". so since > everyone complaining isn't actually talking about that... i'll write it here > in short form. it adds: >sounds { > sample { > name: "" ; > source: ""; > } > ... > tone: "" ; > ... >} > and 2 more actions: >PLAY_SAMPLE "" ; >PLAY_TONE "" ; > > that's it. unfortunately to make this WORK u need a chunk of infra like being > able to load and encode samples into edj files, decode them, play and mix > them, resample them, etc. all of which is opaque to the api. > > > I'm fairly certain that his objection is not to the API or features it introduces, but for the timetable and lack of PUBLIC review for such a huge patch. You continue to claim that "it's tiny" and "it only affects you if you are using the features it introduces". Both of these are false claims which have been disproved by me and others. We have less than two weeks until the 1.1 release. Prior to this addition, EFL and Edje were considered by everyone in the community be stable and in good shape. This is no longer the case, and I'm sure there are many others aside from Vincent who would agree with this sentiment. I vote that the sound API and all related commits be reverted immediately and pushed off until after 1.1. Regardless of your expertise on sound implementations and how solid you may claim it to be, this feature CANNOT be tested sufficiently to meet EFL quality standards before the release. That alone should be enough to have ensured that it was never committed in the first place, other breakages notwithstanding. -- Mike Blumenkrantz Zentific: Doctor recommended, mother approved. -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EFL 1.1 roundup
On Wed, 9 Nov 2011 08:15:14 -0500 Mike Blumenkrantz wrote: > On Tue, 8 Nov 2011 21:07:35 -0500 > Mike Blumenkrantz wrote: > > > It's that time again! Everyone point your browsers to > > http://dev.enlightenment.fr/~discomfitor/ > > and start fixing the things you know! > > > I've updated the evas report. > Eina report updated. -- Mike Blumenkrantz Zentific: Doctor recommended, mother approved. -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EFL 1.1 roundup
On Tue, 8 Nov 2011 21:07:35 -0500 Mike Blumenkrantz wrote: > It's that time again! Everyone point your browsers to > http://dev.enlightenment.fr/~discomfitor/ > and start fixing the things you know! > I've updated the evas report. -- Mike Blumenkrantz Zentific: Doctor recommended, mother approved. -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/e_dbus/src/lib/notification
On Wed, 9 Nov 2011 21:53:44 +0900 Carsten Haitzler (The Rasterman) wrote: > On Wed, 9 Nov 2011 07:47:43 -0500 Mike Blumenkrantz said: > > > On Wed, 9 Nov 2011 15:10:58 +0900 > > Carsten Haitzler (The Rasterman) wrote: > > > > > On Tue, 8 Nov 2011 21:14:43 -0500 Mike Blumenkrantz > > > said: > > > > > > > On Tue, 8 Nov 2011 05:00:51 -0800 > > > > "Enlightenment SVN" wrote: > > > > > > > > > Log: > > > > > THIS is the right way to handle the img data coming from notification > > > > > msg's and objects and passing it into evas objects. take note! > > > > > > > > > > > > > > > > > > > > Author: raster > > > > > Date: 2011-11-08 05:00:51 -0800 (Tue, 08 Nov 2011) > > > > > New Revision: 64947 > > > > > Trac: http://trac.enlightenment.org/e/changeset/64947 > > > > > > > > > > Modified: > > > > > trunk/e_dbus/src/lib/notification/notification.c > > > > hmm something about this commit broke image alpha for notify images. > > > > transparent backgrounds are now white > > > > > > icons coming from apps to an efl notification thing like e17 and notify > > > module or.. efl SENDING notification icons? > > > > > > > > this one is icons from non-efl apps losing transparency > > i'm staring at an icon from firefox.. with transparency :) > > what the shit -- Mike Blumenkrantz Zentific: Doctor recommended, mother approved. -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/e_dbus/src/lib/notification
On Wed, 9 Nov 2011 07:47:43 -0500 Mike Blumenkrantz said: > On Wed, 9 Nov 2011 15:10:58 +0900 > Carsten Haitzler (The Rasterman) wrote: > > > On Tue, 8 Nov 2011 21:14:43 -0500 Mike Blumenkrantz > > said: > > > > > On Tue, 8 Nov 2011 05:00:51 -0800 > > > "Enlightenment SVN" wrote: > > > > > > > Log: > > > > THIS is the right way to handle the img data coming from notification > > > > msg's and objects and passing it into evas objects. take note! > > > > > > > > > > > > > > > > Author: raster > > > > Date: 2011-11-08 05:00:51 -0800 (Tue, 08 Nov 2011) > > > > New Revision: 64947 > > > > Trac: http://trac.enlightenment.org/e/changeset/64947 > > > > > > > > Modified: > > > > trunk/e_dbus/src/lib/notification/notification.c > > > hmm something about this commit broke image alpha for notify images. > > > transparent backgrounds are now white > > > > icons coming from apps to an efl notification thing like e17 and notify > > module or.. efl SENDING notification icons? > > > > > this one is icons from non-efl apps losing transparency i'm staring at an icon from firefox.. with transparency :) -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EFL 1.1 roundup
On Wed, 9 Nov 2011 07:25:51 +0100 (CET) Vincent Torri wrote: > > > On Tue, 8 Nov 2011, Mike Blumenkrantz wrote: > > > It's that time again! Everyone point your browsers to > > http://dev.enlightenment.fr/~discomfitor/ > > and start fixing the things you know! > > why is there some conftest.c files listed there ? > > Vincent > > > > > -- > > Mike Blumenkrantz > > Zentific: Doctor recommended, mother approved. > > eh sometimes it includes that file from running configure. ignore those. -- Mike Blumenkrantz Zentific: Doctor recommended, mother approved. -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/e_dbus/src/lib/notification
On Wed, 9 Nov 2011 15:10:58 +0900 Carsten Haitzler (The Rasterman) wrote: > On Tue, 8 Nov 2011 21:14:43 -0500 Mike Blumenkrantz said: > > > On Tue, 8 Nov 2011 05:00:51 -0800 > > "Enlightenment SVN" wrote: > > > > > Log: > > > THIS is the right way to handle the img data coming from notification > > > msg's and objects and passing it into evas objects. take note! > > > > > > > > > > > > Author: raster > > > Date: 2011-11-08 05:00:51 -0800 (Tue, 08 Nov 2011) > > > New Revision: 64947 > > > Trac: http://trac.enlightenment.org/e/changeset/64947 > > > > > > Modified: > > > trunk/e_dbus/src/lib/notification/notification.c > > hmm something about this commit broke image alpha for notify images. > > transparent backgrounds are now white > > icons coming from apps to an efl notification thing like e17 and notify module > or.. efl SENDING notification icons? > > this one is icons from non-efl apps losing transparency -- Mike Blumenkrantz Zentific: Doctor recommended, mother approved. -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] sound api "plan"
On Wed, 9 Nov 2011 20:04:55 +0900 Carsten Haitzler (The Rasterman) wrote: > On Wed, 9 Nov 2011 20:58:10 +1000 David Seikel > said: > > > On Wed, 9 Nov 2011 18:32:32 +1000 David Seikel > > wrote: > > > > > On Wed, 9 Nov 2011 15:08:38 +0900 Carsten Haitzler (The Rasterman) > > > wrote: > > > > > > > On Wed, 9 Nov 2011 14:56:48 +1000 David Seikel > > > > said: > > > > > > > > > On Tue, 8 Nov 2011 15:41:11 +0900 Carsten Haitzler (The > > > > > Rasterman) wrote: > > > > > > > > > > > On Tue, 8 Nov 2011 13:49:57 +1000 David Seikel > > > > > > said: > > > > > > > > > > > > > On Tue, 8 Nov 2011 12:15:44 +0900 Carsten Haitzler (The > > > > > > > Rasterman) wrote: > > > > > > > > > > > > > > > On Tue, 8 Nov 2011 00:13:18 +1000 David Seikel > > > > > > > > said: > > > > > > > > > > > > > > > > > On Mon, 7 Nov 2011 23:55:24 +1000 David Seikel > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > On Mon, 7 Nov 2011 22:48:04 +1000 David Seikel > > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > > > On Mon, 7 Nov 2011 21:36:43 +0900 Carsten Haitzler > > > > > > > > > > > (The Rasterman) wrote: > > > > > > > > > > > > > > > > > > > > > > > On Mon, 7 Nov 2011 11:00:24 +0100 Raoul Hecky > > > > > > > > > > > > said: > > > > > > > > > > > > > > > > > > > > > > > > > Le lundi 7 novembre 2011 04:33:10, Carsten > > > > > > > > > > > > > Haitzler a écrit : > > > > > > > > > > > > > > attached. this was a sample edc that would > > > > > > > > > > > > > > be able to play audio, not just single > > > > > > > > > > > > > > samples but whole sequences across multiple > > > > > > > > > > > > > > tracks as well as control specific channels > > > > > > > > > > > > > > and tracks. it didn't specify looping > > > > > > > > > > > > > > params yet or other additional stuff. > > > > > > > > > > > > > > > > > > > > > > > > > > Such a huge thing just to play sound in > > > > > > > > > > > > > edje... Is it really necessary to have all > > > > > > > > > > > > > this in edje or are you just nostalgic of the > > > > > > > > > > > > > good old days of trackers?? > > > > > > > > > > > > > > > > > > > > > > > > DAMNED STRAIGHT I AM! :) i just discovered > > > > > > > > > > > > milkytracker! i'm enjoying myself thoroughly! :) > > > > > > > > > > > > > > > > > > > > > > > > seriously though... you CAN still just play > > > > > > > > > > > > samples.. then play samples WITH volume > > > > > > > > > > > > envelopes and looping (sounds as this glues > > > > > > > > > > > > sample+envelopes) and then play entire > > > > > > > > > > > > sequences (a series of samples played with > > > > > > > > > > > > timing), which is the basics for most musical > > > > > > > > > > > > scoring, then combine these into multiple track > > > > > > > > > > > > patterns and put them together into whole songs > > > > > > > > > > > > if u want. it drops down to the simple and up > > > > > > > > > > > > to the whole "compose a whole score" end of > > > > > > > > > > > > things. > > > > > > > > > > > > > > > > > > > > > > > > if all you ever choose to do is play samples - > > > > > > > > > > > > then its largely irrelevant. reality is that if > > > > > > > > > > > > you want to have complex sound effects you need > > > > > > > > > > > > to start doing all of these little bits. :) > > > > > > > > > > > > > > > > > > > > > > > > let me give an example. scrolling. > > > > > > > > > > > > > > > > > > > > > > > > you want to play some "wind blowing" when you > > > > > > > > > > > > first start to drag > > > > > > > > > > > > - this may consist of 2 or 3 channels of sound > > > > > > > > > > > > with various wind samples overlayed at staggered > > > > > > > > > > > > intervals to give the impression of something > > > > > > > > > > > > that isn't always looping and repeating (it's a > > > > > > > > > > > > neat trick you also can do with overlayed > > > > > > > > > > > > images). you want this "song" to fade in then > > > > > > > > > > > > keep looping a few patterns where you really > > > > > > > > > > > > are using 5 or so 5 second samples to create > > > > > > > > > > > > several minutes of wind sound. now when you > > > > > > > > > > > > actually MOVE your mouse (or finger) you year > > > > > > > > > > > > some "tinkling" sounds that sound like the > > > > > > > > > > > > small glass bells being shaken. these play and > > > > > > > > > > > > fade out becoming quieter the slower your drag > > > > > > > > > > > > and varying pitch depending on how high or low > > > > > > > > > > > > your position is on the scroll range. you would > > > > > > > > > > > > implement these with another few tacks like the > > > > > > > > > > > > wind, applying modifiers for pitch and volume > > > > > > > > > > > > of the play instructions. the bell sample can > > > > > > > > > > > > be 2 or 3 samples like the wind to give the > > > > > > > > > > > > impression of many distinct bells, just played > > > > > > > > > > > > at differing speeds for pitches (
[E-devel] [Patch] ecore_evas_win32, window focus-in/out event callback
Dear All, Hello~ There were unimplemented callback for window focus in/out event on Win32. I have added these two callbacks. Please review the attached patch. Sincerely, Shinwoo Kim. Index: src/lib/ecore_evas/ecore_evas_win32.c === --- src/lib/ecore_evas/ecore_evas_win32.c (revision 64980) +++ src/lib/ecore_evas/ecore_evas_win32.c (working copy) @@ -29,6 +29,10 @@ static Eina_Bool _ecore_evas_win32_event_mouse_in( static Eina_Bool _ecore_evas_win32_event_mouse_out(void *data __UNUSED__, int type __UNUSED__, void *event); +static Eina_Bool _ecore_evas_win32_event_window_focus_in(void *data __UNUSED__, int type __UNUSED__, void *event); + +static Eina_Bool _ecore_evas_win32_event_window_focus_out(void *data __UNUSED__, int type __UNUSED__, void *event); + static Eina_Bool _ecore_evas_win32_event_window_damage(void *data __UNUSED__, int type __UNUSED__, void *event); static Eina_Bool _ecore_evas_win32_event_window_destroy(void *data __UNUSED__, int type __UNUSED__, void *event); @@ -96,12 +100,14 @@ _ecore_evas_win32_init(void) ecore_evas_event_handlers[0] = ecore_event_handler_add(ECORE_WIN32_EVENT_MOUSE_IN, _ecore_evas_win32_event_mouse_in, NULL); ecore_evas_event_handlers[1] = ecore_event_handler_add(ECORE_WIN32_EVENT_MOUSE_OUT, _ecore_evas_win32_event_mouse_out, NULL); - ecore_evas_event_handlers[2] = ecore_event_handler_add(ECORE_WIN32_EVENT_WINDOW_DAMAGE, _ecore_evas_win32_event_window_damage, NULL); - ecore_evas_event_handlers[3] = ecore_event_handler_add(ECORE_WIN32_EVENT_WINDOW_DESTROY, _ecore_evas_win32_event_window_destroy, NULL); - ecore_evas_event_handlers[4] = ecore_event_handler_add(ECORE_WIN32_EVENT_WINDOW_SHOW, _ecore_evas_win32_event_window_show, NULL); - ecore_evas_event_handlers[5] = ecore_event_handler_add(ECORE_WIN32_EVENT_WINDOW_HIDE, _ecore_evas_win32_event_window_hide, NULL); - ecore_evas_event_handlers[6] = ecore_event_handler_add(ECORE_WIN32_EVENT_WINDOW_CONFIGURE, _ecore_evas_win32_event_window_configure, NULL); - ecore_evas_event_handlers[7] = ecore_event_handler_add(ECORE_WIN32_EVENT_WINDOW_DELETE_REQUEST, _ecore_evas_win32_event_window_delete_request, NULL); + ecore_evas_event_handlers[2] = ecore_event_handler_add(ECORE_WIN32_EVENT_WINDOW_FOCUS_IN, _ecore_evas_win32_event_window_focus_in, NULL); + ecore_evas_event_handlers[3] = ecore_event_handler_add(ECORE_WIN32_EVENT_WINDOW_FOCUS_OUT, _ecore_evas_win32_event_window_focus_out, NULL); + ecore_evas_event_handlers[4] = ecore_event_handler_add(ECORE_WIN32_EVENT_WINDOW_DAMAGE, _ecore_evas_win32_event_window_damage, NULL); + ecore_evas_event_handlers[5] = ecore_event_handler_add(ECORE_WIN32_EVENT_WINDOW_DESTROY, _ecore_evas_win32_event_window_destroy, NULL); + ecore_evas_event_handlers[6] = ecore_event_handler_add(ECORE_WIN32_EVENT_WINDOW_SHOW, _ecore_evas_win32_event_window_show, NULL); + ecore_evas_event_handlers[7] = ecore_event_handler_add(ECORE_WIN32_EVENT_WINDOW_HIDE, _ecore_evas_win32_event_window_hide, NULL); + ecore_evas_event_handlers[8] = ecore_event_handler_add(ECORE_WIN32_EVENT_WINDOW_CONFIGURE, _ecore_evas_win32_event_window_configure, NULL); + ecore_evas_event_handlers[9] = ecore_event_handler_add(ECORE_WIN32_EVENT_WINDOW_DELETE_REQUEST, _ecore_evas_win32_event_window_delete_request, NULL); ecore_event_evas_init(); return _ecore_evas_init_count; @@ -173,6 +179,40 @@ _ecore_evas_win32_event_mouse_out(void *data __UNU } static Eina_Bool +_ecore_evas_win32_event_window_focus_in(void *data __UNUSED__, int type __UNUSED__, void *event) +{ + Ecore_Evas *ee; + Ecore_Win32_Event_Window_Focus_In *e; + + e = event; + ee = ecore_event_window_match(e->window); + if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON; + if (e->window != ee->prop.window) return ECORE_CALLBACK_PASS_ON; + + ee->prop.focused = 1; + evas_focus_in(ee->evas); + if (ee->func.fn_focus_in) ee->func.fn_focus_in(ee); + return ECORE_CALLBACK_PASS_ON; +} + +static Eina_Bool +_ecore_evas_win32_event_window_focus_out(void *data __UNUSED__, int type __UNUSED__, void *event) +{ + Ecore_Evas *ee; + Ecore_Win32_Event_Window_Focus_Out *e; + + e = event; + ee = ecore_event_window_match(e->window); + if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON; + if (e->window != ee->prop.window) return ECORE_CALLBACK_PASS_ON; + + evas_focus_out(ee->evas); + ee->prop.focused = 0; + if (ee->func.fn_focus_out) ee->func.fn_focus_out(ee); + return ECORE_CALLBACK_PASS_ON; +} + +static Eina_Bool _ecore_evas_win32_event_window_damage(void *data __UNUSED__, int type __UNUSED__, void *event) { Ecore_Evas *ee; -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1___ enlightenment-devel mailing list enligh
Re: [E-devel] sound api "plan"
On Wed, 9 Nov 2011 20:58:10 +1000 David Seikel said: > On Wed, 9 Nov 2011 18:32:32 +1000 David Seikel > wrote: > > > On Wed, 9 Nov 2011 15:08:38 +0900 Carsten Haitzler (The Rasterman) > > wrote: > > > > > On Wed, 9 Nov 2011 14:56:48 +1000 David Seikel > > > said: > > > > > > > On Tue, 8 Nov 2011 15:41:11 +0900 Carsten Haitzler (The Rasterman) > > > > wrote: > > > > > > > > > On Tue, 8 Nov 2011 13:49:57 +1000 David Seikel > > > > > said: > > > > > > > > > > > On Tue, 8 Nov 2011 12:15:44 +0900 Carsten Haitzler (The > > > > > > Rasterman) wrote: > > > > > > > > > > > > > On Tue, 8 Nov 2011 00:13:18 +1000 David Seikel > > > > > > > said: > > > > > > > > > > > > > > > On Mon, 7 Nov 2011 23:55:24 +1000 David Seikel > > > > > > > > wrote: > > > > > > > > > > > > > > > > > On Mon, 7 Nov 2011 22:48:04 +1000 David Seikel > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > On Mon, 7 Nov 2011 21:36:43 +0900 Carsten Haitzler > > > > > > > > > > (The Rasterman) wrote: > > > > > > > > > > > > > > > > > > > > > On Mon, 7 Nov 2011 11:00:24 +0100 Raoul Hecky > > > > > > > > > > > said: > > > > > > > > > > > > > > > > > > > > > > > Le lundi 7 novembre 2011 04:33:10, Carsten > > > > > > > > > > > > Haitzler a écrit : > > > > > > > > > > > > > attached. this was a sample edc that would be > > > > > > > > > > > > > able to play audio, not just single samples but > > > > > > > > > > > > > whole sequences across multiple tracks as well > > > > > > > > > > > > > as control specific channels and tracks. it > > > > > > > > > > > > > didn't specify looping params yet or other > > > > > > > > > > > > > additional stuff. > > > > > > > > > > > > > > > > > > > > > > > > Such a huge thing just to play sound in edje... Is > > > > > > > > > > > > it really necessary to have all this in edje or > > > > > > > > > > > > are you just nostalgic of the good old days of > > > > > > > > > > > > trackers?? > > > > > > > > > > > > > > > > > > > > > > DAMNED STRAIGHT I AM! :) i just discovered > > > > > > > > > > > milkytracker! i'm enjoying myself thoroughly! :) > > > > > > > > > > > > > > > > > > > > > > seriously though... you CAN still just play > > > > > > > > > > > samples.. then play samples WITH volume envelopes > > > > > > > > > > > and looping (sounds as this glues sample+envelopes) > > > > > > > > > > > and then play entire sequences (a series of samples > > > > > > > > > > > played with timing), which is the basics for most > > > > > > > > > > > musical scoring, then combine these into multiple > > > > > > > > > > > track patterns and put them together into whole > > > > > > > > > > > songs if u want. it drops down to the simple and up > > > > > > > > > > > to the whole "compose a whole score" end of things. > > > > > > > > > > > > > > > > > > > > > > if all you ever choose to do is play samples - then > > > > > > > > > > > its largely irrelevant. reality is that if you want > > > > > > > > > > > to have complex sound effects you need to start > > > > > > > > > > > doing all of these little bits. :) > > > > > > > > > > > > > > > > > > > > > > let me give an example. scrolling. > > > > > > > > > > > > > > > > > > > > > > you want to play some "wind blowing" when you first > > > > > > > > > > > start to drag > > > > > > > > > > > - this may consist of 2 or 3 channels of sound with > > > > > > > > > > > various wind samples overlayed at staggered > > > > > > > > > > > intervals to give the impression of something that > > > > > > > > > > > isn't always looping and repeating (it's a neat > > > > > > > > > > > trick you also can do with overlayed images). you > > > > > > > > > > > want this "song" to fade in then keep looping a few > > > > > > > > > > > patterns where you really are using 5 or so 5 > > > > > > > > > > > second samples to create several minutes of wind > > > > > > > > > > > sound. now when you actually MOVE your mouse (or > > > > > > > > > > > finger) you year some "tinkling" sounds that sound > > > > > > > > > > > like the small glass bells being shaken. these play > > > > > > > > > > > and fade out becoming quieter the slower your drag > > > > > > > > > > > and varying pitch depending on how high or low your > > > > > > > > > > > position is on the scroll range. you would > > > > > > > > > > > implement these with another few tacks like the > > > > > > > > > > > wind, applying modifiers for pitch and volume of > > > > > > > > > > > the play instructions. the bell sample can be 2 or > > > > > > > > > > > 3 samples like the wind to give the impression of > > > > > > > > > > > many distinct bells, just played at differing > > > > > > > > > > > speeds for pitches (you can normally go up 1 octave > > > > > > > > > > > before it sounds just odd and want to get a new > > > > > > > > > > > sampling). > > > > > > > > > > > > > > > > > > > > I'm excited by that. B-) > > > > > > > > > > > > > > > > > > > > However, with multisense turned on (Ubuntu 10.04, > > > > > > > > > > sndfile 1.0.21), wh
Re: [E-devel] sound api "plan"
On Wed, 9 Nov 2011 18:32:32 +1000 David Seikel wrote: > On Wed, 9 Nov 2011 15:08:38 +0900 Carsten Haitzler (The Rasterman) > wrote: > > > On Wed, 9 Nov 2011 14:56:48 +1000 David Seikel > > said: > > > > > On Tue, 8 Nov 2011 15:41:11 +0900 Carsten Haitzler (The Rasterman) > > > wrote: > > > > > > > On Tue, 8 Nov 2011 13:49:57 +1000 David Seikel > > > > said: > > > > > > > > > On Tue, 8 Nov 2011 12:15:44 +0900 Carsten Haitzler (The > > > > > Rasterman) wrote: > > > > > > > > > > > On Tue, 8 Nov 2011 00:13:18 +1000 David Seikel > > > > > > said: > > > > > > > > > > > > > On Mon, 7 Nov 2011 23:55:24 +1000 David Seikel > > > > > > > wrote: > > > > > > > > > > > > > > > On Mon, 7 Nov 2011 22:48:04 +1000 David Seikel > > > > > > > > wrote: > > > > > > > > > > > > > > > > > On Mon, 7 Nov 2011 21:36:43 +0900 Carsten Haitzler > > > > > > > > > (The Rasterman) wrote: > > > > > > > > > > > > > > > > > > > On Mon, 7 Nov 2011 11:00:24 +0100 Raoul Hecky > > > > > > > > > > said: > > > > > > > > > > > > > > > > > > > > > Le lundi 7 novembre 2011 04:33:10, Carsten > > > > > > > > > > > Haitzler a écrit : > > > > > > > > > > > > attached. this was a sample edc that would be > > > > > > > > > > > > able to play audio, not just single samples but > > > > > > > > > > > > whole sequences across multiple tracks as well > > > > > > > > > > > > as control specific channels and tracks. it > > > > > > > > > > > > didn't specify looping params yet or other > > > > > > > > > > > > additional stuff. > > > > > > > > > > > > > > > > > > > > > > Such a huge thing just to play sound in edje... Is > > > > > > > > > > > it really necessary to have all this in edje or > > > > > > > > > > > are you just nostalgic of the good old days of > > > > > > > > > > > trackers?? > > > > > > > > > > > > > > > > > > > > DAMNED STRAIGHT I AM! :) i just discovered > > > > > > > > > > milkytracker! i'm enjoying myself thoroughly! :) > > > > > > > > > > > > > > > > > > > > seriously though... you CAN still just play > > > > > > > > > > samples.. then play samples WITH volume envelopes > > > > > > > > > > and looping (sounds as this glues sample+envelopes) > > > > > > > > > > and then play entire sequences (a series of samples > > > > > > > > > > played with timing), which is the basics for most > > > > > > > > > > musical scoring, then combine these into multiple > > > > > > > > > > track patterns and put them together into whole > > > > > > > > > > songs if u want. it drops down to the simple and up > > > > > > > > > > to the whole "compose a whole score" end of things. > > > > > > > > > > > > > > > > > > > > if all you ever choose to do is play samples - then > > > > > > > > > > its largely irrelevant. reality is that if you want > > > > > > > > > > to have complex sound effects you need to start > > > > > > > > > > doing all of these little bits. :) > > > > > > > > > > > > > > > > > > > > let me give an example. scrolling. > > > > > > > > > > > > > > > > > > > > you want to play some "wind blowing" when you first > > > > > > > > > > start to drag > > > > > > > > > > - this may consist of 2 or 3 channels of sound with > > > > > > > > > > various wind samples overlayed at staggered > > > > > > > > > > intervals to give the impression of something that > > > > > > > > > > isn't always looping and repeating (it's a neat > > > > > > > > > > trick you also can do with overlayed images). you > > > > > > > > > > want this "song" to fade in then keep looping a few > > > > > > > > > > patterns where you really are using 5 or so 5 > > > > > > > > > > second samples to create several minutes of wind > > > > > > > > > > sound. now when you actually MOVE your mouse (or > > > > > > > > > > finger) you year some "tinkling" sounds that sound > > > > > > > > > > like the small glass bells being shaken. these play > > > > > > > > > > and fade out becoming quieter the slower your drag > > > > > > > > > > and varying pitch depending on how high or low your > > > > > > > > > > position is on the scroll range. you would > > > > > > > > > > implement these with another few tacks like the > > > > > > > > > > wind, applying modifiers for pitch and volume of > > > > > > > > > > the play instructions. the bell sample can be 2 or > > > > > > > > > > 3 samples like the wind to give the impression of > > > > > > > > > > many distinct bells, just played at differing > > > > > > > > > > speeds for pitches (you can normally go up 1 octave > > > > > > > > > > before it sounds just odd and want to get a new > > > > > > > > > > sampling). > > > > > > > > > > > > > > > > > > I'm excited by that. B-) > > > > > > > > > > > > > > > > > > However, with multisense turned on (Ubuntu 10.04, > > > > > > > > > sndfile 1.0.21), when it gets to compiling > > > > > > > > > elementary's edje files I get - > > > > > > > > > > > > > > > > > > /opt/e17/bin/edje_cc -id ../../data/themes > > > > > > > > > -fd ../../data/themes \ > > > > > > > > > <-->../../data/themes/defaul
[E-devel] [ecore_con] Bug fix when data is NULL.
Hi, If data is NULL, curl makes length field as -1 . length filed should be set by 0. Please review below. Index: src/lib/ecore_con/ecore_con_url.c === --- src/lib/ecore_con/ecore_con_url.c (리비전 64937) +++ src/lib/ecore_con/ecore_con_url.c (작업 사본) @@ -695,7 +695,9 @@ _ecore_con_url_send(Ecore_Con_Url *url_c curl_easy_setopt(url_con->curl_easy, CURLOPT_POSTFIELDS, data); curl_easy_setopt(url_con->curl_easy, CURLOPT_POSTFIELDSIZE, length); } -else if (mode == MODE_POST) +else curl_easy_setopt(url_con->curl_easy, CURLOPT_POSTFIELDSIZE, 0); + +if (mode == MODE_POST) { curl_easy_setopt(url_con->curl_easy, CURLOPT_POST, 1); } @@ -1373,7 +1375,7 @@ _ecore_con_url_perform(Ecore_Con_Url *ur url_con->active = EINA_TRUE; curl_multi_add_handle(_curlm, url_con->curl_easy); curl_multi_perform(_curlm, &still_running); - + completed_immediately = _ecore_con_url_process_completed_jobs(url_con); if (!completed_immediately) Thanks, Kim Index: src/lib/ecore_con/ecore_con_url.c === --- src/lib/ecore_con/ecore_con_url.c (리비전 64937) +++ src/lib/ecore_con/ecore_con_url.c (작업 사본) @@ -695,7 +695,9 @@ _ecore_con_url_send(Ecore_Con_Url *url_c curl_easy_setopt(url_con->curl_easy, CURLOPT_POSTFIELDS, data); curl_easy_setopt(url_con->curl_easy, CURLOPT_POSTFIELDSIZE, length); } -else if (mode == MODE_POST) +else curl_easy_setopt(url_con->curl_easy, CURLOPT_POSTFIELDSIZE, 0); + +if (mode == MODE_POST) { curl_easy_setopt(url_con->curl_easy, CURLOPT_POST, 1); } @@ -1373,7 +1375,7 @@ _ecore_con_url_perform(Ecore_Con_Url *ur url_con->active = EINA_TRUE; curl_multi_add_handle(_curlm, url_con->curl_easy); curl_multi_perform(_curlm, &still_running); - + completed_immediately = _ecore_con_url_process_completed_jobs(url_con); if (!completed_immediately) -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] sound api "plan"
On Wed, 9 Nov 2011 15:08:38 +0900 Carsten Haitzler (The Rasterman) wrote: > On Wed, 9 Nov 2011 14:56:48 +1000 David Seikel > said: > > > On Tue, 8 Nov 2011 15:41:11 +0900 Carsten Haitzler (The Rasterman) > > wrote: > > > > > On Tue, 8 Nov 2011 13:49:57 +1000 David Seikel > > > said: > > > > > > > On Tue, 8 Nov 2011 12:15:44 +0900 Carsten Haitzler (The > > > > Rasterman) wrote: > > > > > > > > > On Tue, 8 Nov 2011 00:13:18 +1000 David Seikel > > > > > said: > > > > > > > > > > > On Mon, 7 Nov 2011 23:55:24 +1000 David Seikel > > > > > > wrote: > > > > > > > > > > > > > On Mon, 7 Nov 2011 22:48:04 +1000 David Seikel > > > > > > > wrote: > > > > > > > > > > > > > > > On Mon, 7 Nov 2011 21:36:43 +0900 Carsten Haitzler (The > > > > > > > > Rasterman) wrote: > > > > > > > > > > > > > > > > > On Mon, 7 Nov 2011 11:00:24 +0100 Raoul Hecky > > > > > > > > > said: > > > > > > > > > > > > > > > > > > > Le lundi 7 novembre 2011 04:33:10, Carsten Haitzler > > > > > > > > > > a écrit : > > > > > > > > > > > attached. this was a sample edc that would be > > > > > > > > > > > able to play audio, not just single samples but > > > > > > > > > > > whole sequences across multiple tracks as well as > > > > > > > > > > > control specific channels and tracks. it didn't > > > > > > > > > > > specify looping params yet or other additional > > > > > > > > > > > stuff. > > > > > > > > > > > > > > > > > > > > Such a huge thing just to play sound in edje... Is > > > > > > > > > > it really necessary to have all this in edje or are > > > > > > > > > > you just nostalgic of the good old days of > > > > > > > > > > trackers?? > > > > > > > > > > > > > > > > > > DAMNED STRAIGHT I AM! :) i just discovered > > > > > > > > > milkytracker! i'm enjoying myself thoroughly! :) > > > > > > > > > > > > > > > > > > seriously though... you CAN still just play samples.. > > > > > > > > > then play samples WITH volume envelopes and looping > > > > > > > > > (sounds as this glues sample+envelopes) and then play > > > > > > > > > entire sequences (a series of samples played with > > > > > > > > > timing), which is the basics for most musical > > > > > > > > > scoring, then combine these into multiple track > > > > > > > > > patterns and put them together into whole songs if u > > > > > > > > > want. it drops down to the simple and up to the whole > > > > > > > > > "compose a whole score" end of things. > > > > > > > > > > > > > > > > > > if all you ever choose to do is play samples - then > > > > > > > > > its largely irrelevant. reality is that if you want > > > > > > > > > to have complex sound effects you need to start doing > > > > > > > > > all of these little bits. :) > > > > > > > > > > > > > > > > > > let me give an example. scrolling. > > > > > > > > > > > > > > > > > > you want to play some "wind blowing" when you first > > > > > > > > > start to drag > > > > > > > > > - this may consist of 2 or 3 channels of sound with > > > > > > > > > various wind samples overlayed at staggered intervals > > > > > > > > > to give the impression of something that isn't always > > > > > > > > > looping and repeating (it's a neat trick you also can > > > > > > > > > do with overlayed images). you want this "song" to > > > > > > > > > fade in then keep looping a few patterns where you > > > > > > > > > really are using 5 or so 5 second samples to create > > > > > > > > > several minutes of wind sound. now when you actually > > > > > > > > > MOVE your mouse (or finger) you year some "tinkling" > > > > > > > > > sounds that sound like the small glass bells being > > > > > > > > > shaken. these play and fade out becoming quieter the > > > > > > > > > slower your drag and varying pitch depending on how > > > > > > > > > high or low your position is on the scroll range. you > > > > > > > > > would implement these with another few tacks like the > > > > > > > > > wind, applying modifiers for pitch and volume of the > > > > > > > > > play instructions. the bell sample can be 2 or 3 > > > > > > > > > samples like the wind to give the impression of many > > > > > > > > > distinct bells, just played at differing speeds for > > > > > > > > > pitches (you can normally go up 1 octave before it > > > > > > > > > sounds just odd and want to get a new sampling). > > > > > > > > > > > > > > > > I'm excited by that. B-) > > > > > > > > > > > > > > > > However, with multisense turned on (Ubuntu 10.04, > > > > > > > > sndfile 1.0.21), when it gets to compiling elementary's > > > > > > > > edje files I get - > > > > > > > > > > > > > > > > /opt/e17/bin/edje_cc -id ../../data/themes > > > > > > > > -fd ../../data/themes \ > > > > > > > > <-->../../data/themes/default.edc \ > > > > > > > > <-->../../data/themes/default.edj /opt/e17/bin/edje_cc > > > > > > > > -id ../../data/themes -fd ../../data/themes \ > > > > > > > > <-->../../data/themes/default-desktop.edc \ > > > > > > > > <-->../../data/themes/default-desktop.edj ALSA > > > > > >