Re: [E-devel] Composite broken
On 10/20/2010 10:59 AM, Mike Blumenkrantz wrote: Perfect. Now stop playing Flame Warrior IX on reddit and get on IRC! Is that what he does whole day? No wonder he is never around on irc ;) -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] UI-Mirroring implementation - quick consultation
On Wed, 2010-10-20 at 10:12 +0900, Carsten Haitzler wrote: I also considered this, but Tasn enlightened me that this is context specific and just parts of the interface should be like that. Thus no canvas/global event. eh? hrrrmfmw he? hummm fmmm? eh? do enlighten me... (i am assuming for now that ui mirroring doesn't just dumbly go change x coords of all edje parts to be w - x as opposed to x). ie that parts have left and right modes and the designer has to handle it properly etc. (so some parts go left, some go right and so on). Let me explain, generally it is a per application decision (actually taken from the translation file, by translating a special string), but, even so, parts of the interface can be manually set to rtl/ltr (hence the need for per object control). The most basic example is images. Some of the images need to mirror, for example image used for elm_menu's arrow (remember, it will be moved automatically to the left, and a right facing arrow there will look weird), while others should not mirror, for example the image in an elm_icon object. Therefore, I came up with the following scheme: Each object has two flags, one that signifies the current state (whether it's CURRENTLY rtl/ltr), and one that signifies the behavior (AUTO/MANUAL) in MANUAL mode, the object's direction is exactly what set by the programmer/designer, either by a direct call to evas, or just by marking the flag in the edc. This will be use automatically for images, ui-designers will have to explicitly set (in the edje/code) that a specific image (like the one in elm_menu) is not really a normal image, but it's use used for indication and should be mirrored*. So generally you'll have a full interface in one direction, and some objects in another direction. So yeah, mostly what you said raster, you just flip (inside each evas object, for example inside an edje layout) the UI i.e x1 becomes w - x2 x2 = w - x1 (because you want to also keep x1 to be the upper left corner) and in some cases like described above you also mirror images, and yes, the designer can control whether one item should mirror or not, but he does not need to write the layout twice, everything just works, like magic :P (and since the feature is already implemented here, and just the toggling is not yet implemented, I can testify from experience, it's awesome.) * - in the future I intend on supporting replacement layouts and replacement images in edje just if someone wants to more fine-tune the change, although, looking at how GTK+ are doing UI-mirroring, it's not really needed. Regarding: imho all you need is the same as scale. you want a single global RTL or LTR (default is LTR) and then per object an api call to set this explicitly. the rest would be the job of something like elementary to just set it on everything (like it does with scale etc.). What if I want to change an object and all of it's children? The idea was: each children with AUTO mode registers to his father's rtl changes so this way when you change this property, it goes down the chain, you don't think that's a good idea? Thanks again, Tom. -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] UI-Mirroring implementation - quick consultation
Almost forgot, wanted to emphasize why it's important to have the direction in the translation file: Not only that only parts of a specific application can be different, but having complete applications different is very common. For example, many people would hate running e17 itself in rtl mode (including myself), but would like running the image editing applications in rtl mode. He also would like running the word processor in rtl mode, but because there's no Hebrew translation available, or the current one is very poor (hence you won't get the special translated string translated, either by lack of translation or a decision by the translator that the interface is not translated enough to mirror) it should not mirror, because an rtl interface in English is just weird. :) I hope this clarifies the use cases a bit more. -- Tom. On Wed, 2010-10-20 at 09:41 +0200, Tom Hacohen wrote: On Wed, 2010-10-20 at 10:12 +0900, Carsten Haitzler wrote: I also considered this, but Tasn enlightened me that this is context specific and just parts of the interface should be like that. Thus no canvas/global event. eh? hrrrmfmw he? hummm fmmm? eh? do enlighten me... (i am assuming for now that ui mirroring doesn't just dumbly go change x coords of all edje parts to be w - x as opposed to x). ie that parts have left and right modes and the designer has to handle it properly etc. (so some parts go left, some go right and so on). Let me explain, generally it is a per application decision (actually taken from the translation file, by translating a special string), but, even so, parts of the interface can be manually set to rtl/ltr (hence the need for per object control). The most basic example is images. Some of the images need to mirror, for example image used for elm_menu's arrow (remember, it will be moved automatically to the left, and a right facing arrow there will look weird), while others should not mirror, for example the image in an elm_icon object. Therefore, I came up with the following scheme: Each object has two flags, one that signifies the current state (whether it's CURRENTLY rtl/ltr), and one that signifies the behavior (AUTO/MANUAL) in MANUAL mode, the object's direction is exactly what set by the programmer/designer, either by a direct call to evas, or just by marking the flag in the edc. This will be use automatically for images, ui-designers will have to explicitly set (in the edje/code) that a specific image (like the one in elm_menu) is not really a normal image, but it's use used for indication and should be mirrored*. So generally you'll have a full interface in one direction, and some objects in another direction. So yeah, mostly what you said raster, you just flip (inside each evas object, for example inside an edje layout) the UI i.e x1 becomes w - x2 x2 = w - x1 (because you want to also keep x1 to be the upper left corner) and in some cases like described above you also mirror images, and yes, the designer can control whether one item should mirror or not, but he does not need to write the layout twice, everything just works, like magic :P (and since the feature is already implemented here, and just the toggling is not yet implemented, I can testify from experience, it's awesome.) * - in the future I intend on supporting replacement layouts and replacement images in edje just if someone wants to more fine-tune the change, although, looking at how GTK+ are doing UI-mirroring, it's not really needed. Regarding: imho all you need is the same as scale. you want a single global RTL or LTR (default is LTR) and then per object an api call to set this explicitly. the rest would be the job of something like elementary to just set it on everything (like it does with scale etc.). What if I want to change an object and all of it's children? The idea was: each children with AUTO mode registers to his father's rtl changes so this way when you change this property, it goes down the chain, you don't think that's a good idea? Thanks again, Tom. -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] ANNOUNCE: ALPHA Release of Elementary
Yay. Does that mean that elementary will finally be moved out of TMP? :P Anyhow, great job, I love elementary, and was very glad to see this announcement. Please consider also including a bit of internals exposing, for example, elm_notepad is made of an elm_entry, we should have a function elm_notepad_elm_entry_get that returns the elm_entry and lets up manipulate it like a regular entry, for example, setting line_wrap, toggling the editable property, getting selection, and whatever. It's nice because we get a lot of cool stuff for free, it's of course up to the users of the API not to do forbidden stuff like moving the elm_entry object itself, or whatever, but there are other idiotics thing that can't be done by the users and aren't done. That's what I think is missing for ALPHA. -- Tom. -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] ANNOUNCE: ALPHA Release of Elementary
On Wed, 20 Oct 2010 09:56:47 +0200 Tom Hacohen tom.haco...@partner.samsung.com wrote: Yay. Does that mean that elementary will finally be moved out of TMP? :P And into PROTO! -- Mike Blumenkrantz Zentific: Our boolean values are huge. -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] ANNOUNCE: ALPHA Release of Elementary
On Wed, 2010-10-20 at 04:51 -0400, Mike Blumenkrantz wrote: On Wed, 20 Oct 2010 09:56:47 +0200 Tom Hacohen tom.haco...@partner.samsung.com wrote: Yay. Does that mean that elementary will finally be moved out of TMP? :P And into PROTO! That's no joking matter, it's a scary option. -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] Reinit main loop if somebody passes a closed fd to epoll
On Tue, Oct 19, 2010 at 10:47 PM, Mike McCormack mj.mccorm...@samsung.com wrote: On 10/19/2010 10:19 PM, Gustavo Sverzut Barbieri wrote: On Tue, Oct 19, 2010 at 11:16 AM, Mike McCormack mj.mccorm...@samsung.com wrote: Hi Guys, Superficially tested... issue is if somebody does: close(fd); ecore_main_fd_handler_del(fdh); epoll can't remove the fd because it's already closed, so we get an EBADF from the kernel. Work around the broken case by issuing a WARN() and reinitializing ecore. WARN takes no trailing \n Ack. other than that, why do we need to reinit it? Just let the fdh handle be removed from the list and never be considered anymore. I don't see why we need to reinit it. Because the fd *may* still be in the epoll array. If somebody happened to dup() that fd, then the kernel will still have a filp hanging around and the fd will not be automatically removed from the epoll set. The kernel only automatically removes an fd from epoll when its filp is destroyed, not when the fd (which is just a reference to the filp) is closed. See the attached program for details. Kernel guys are aware of this, and say that it works as designed... seems weird, but okay. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] ANNOUNCE: ALPHA Release of Elementary
On Wed, Oct 20, 2010 at 5:56 AM, Tom Hacohen tom.haco...@partner.samsung.com wrote: Yay. Does that mean that elementary will finally be moved out of TMP? :P Anyhow, great job, I love elementary, and was very glad to see this announcement. Please consider also including a bit of internals exposing, for example, elm_notepad is made of an elm_entry, we should have a function elm_notepad_elm_entry_get that returns the elm_entry and lets up manipulate it like a regular entry, for example, setting line_wrap, toggling the editable property, getting selection, and whatever. It's nice because we get a lot of cool stuff for free, it's of course up to the users of the API not to do forbidden stuff like moving the elm_entry object itself, or whatever, but there are other idiotics thing that can't be done by the users and aren't done. No. Returning internal objects for users to meddle with is a very bad idea. What's done around with other composed widgets is adding functions mirroring the ones of the internal widgets. It's ugly and I really dislike it, but at least you keep your internals protected and when something is not supposed to be done, you don't have to go around documenting it, instead you just not provide the function to do it. That's what I think is missing for ALPHA. -- Tom. -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] [E-Devel] what are the differences between els, elc, elm?
Hello, I'm curious what the differences are between els, elc, elm in elementary/src/lib. I tried to figure the differences. elm is a public widget. els is a smart object and is used internally by elementary widgets. elc looks like an elementary widget as well. Any ideas? Thanks. Daniel Juyung Seo. -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [E-Devel] what are the differences between els, elc, elm?
On Wed, Oct 20, 2010 at 10:27 AM, Daniel Juyung Seo seojuyu...@gmail.com wrote: Hello, I'm curious what the differences are between els, elc, elm in elementary/src/lib. I tried to figure the differences. elm is a public widget. els is a smart object and is used internally by elementary widgets. elc looks like an elementary widget as well. Yup, except unlike the simple elm widgets, elc are composed of other elm/c widgets to provide something more complex. Examples are the scrolled_entry, which is a simple entry inside a scroller. Before it was there you had to do that every time in your apps. Fileselector is another one, with a list to show files, an optional entry to set the name to save, buttons to open/cancel, etc. Any ideas? Thanks. Daniel Juyung Seo. -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [E-Devel] what are the differences between els, elc, elm?
On Wed, 20 Oct 2010 21:27:37 +0900 Daniel Juyung Seo seojuyu...@gmail.com said: Hello, I'm curious what the differences are between els, elc, elm in elementary/src/lib. I tried to figure the differences. elm is a public widget. els is a smart object and is used internally by elementary widgets. elc looks like an elementary widget as well. :) yes - correct, elc is a collector widget - basically it takes 1 or more existing elementary widgets and collects them together along with higher level logic (possibly - like notepad with automatic load from and save to a text file from the entry). -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: tiago trunk/ephoto/src/bin
On Wed, Oct 20, 2010 at 10:08 AM, Enlightenment SVN no-re...@enlightenment.org wrote: Log: Fix focus in flow mode. You only can give focus to visible objects, hidden objects are unfocusable. Author: tiago Date: 2010-10-20 05:08:42 -0700 (Wed, 20 Oct 2010) New Revision: 53655 Modified: trunk/ephoto/src/bin/ephoto_flow_browser.c trunk/ephoto/src/bin/ephoto_main.c Modified: trunk/ephoto/src/bin/ephoto_flow_browser.c === --- trunk/ephoto/src/bin/ephoto_flow_browser.c 2010-10-20 12:08:39 UTC (rev 53654) +++ trunk/ephoto/src/bin/ephoto_flow_browser.c 2010-10-20 12:08:42 UTC (rev 53655) @@ -415,6 +415,7 @@ fb-viewer = _viewer_add(fb-orient_layout, fb-path); elm_layout_content_set (fb-orient_layout, elm.swallow.content, fb-viewer); + evas_object_show(fb-viewer); wrong, wrong, wrong... I wouldn't expect this coming from you :-( we just swallowed the damn object! it makes no sense to show it. Actually we're forbidden to do so. @@ -21,8 +21,8 @@ ephoto_flow_browser_path_set(ephoto-flow_browser, NULL); ephoto_slideshow_entry_set(ephoto-slideshow, NULL); + elm_pager_content_promote(ephoto-pager, ephoto-thumb_browser); elm_object_focus(ephoto-thumb_browser); - elm_pager_content_promote(ephoto-pager, ephoto-thumb_browser); _ephoto_state_set(ephoto, EPHOTO_STATE_THUMB); order should not matter. Something ELSE is wrong there and you're just working around it here. The promote can be delayed and postponed due internal elm_pager internals, you should not trust it. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Transition Layout for elm_box
As suggested by Sachiel I added the transition layout for elm_box in elementary_test. The patch is attached. 2010/9/29 Otávio Pontes ota...@profusion.mobi: 2010/9/28 Gustavo Sverzut Barbieri barbi...@profusion.mobi: 2010/9/23 Otávio Pontes ota...@profusion.mobi: 2010/9/22 Gustavo Sverzut Barbieri barbi...@profusion.mobi: 2010/9/22 Otávio Pontes ota...@profusion.mobi: I have added the transition layout into edje too. It displays an animation when changing box state with different layouts. I am sending the patch for edje and an edc sample file. Awesome results, few comments: - edje users don't have direct access to items, so you shouldn't require to listen to child,added/child,removed... but it doesn't hurt... however: - edje already knows about the items, as they are managed through edje_object_part_box_* methods. You should reuse that. This will avoid reload children list to recreate all items again. Done. And it was a better solution. - at _edje_box_layout_calculate_coords() you don't revert the box properties (padding, align) to the original once you measure the final state. Okay, at layout you have a if (progress == 0.0) and then do that, but it is better to do it in the other function. Also, comparing Setting box properties in layout function when progress == 0 is necessary because sometimes layout is used without any animation and _edje_box_layout_calculate_coords is called only when an animation will start. After running _edje_box_layout_calculate_coords the layout will place objects without looking at box properties. These properties will be needed only when progress == 0.0, so setting them on _edje_box_layout_calculate_coords is not necessary. for double equality will raise some warnings for compilers with -Wextra AFAIR. Checking now if progress 0.01 to avoid floating point problems. - double check if anim-start_progress 1 before calling _exec() to avoid division by 0.0 and an FPU exception? While it is hard to happen in tests, it may happen one day in platforms that crash the application :-( Done. - edje coding style require all structs with Edje prefix, even if they are private. Done Last but not least, few questions that I cannot remember from Edje and from your patch it is not obvious to me: - does it still allocates the animation even if the transition is immediate (ie: zero timed transition: in your program)? Seems so as _edje_box_recalc_apply() always create it. _edje_box_recalc_apply aways allocate the anim struct, that is used for all animations with this box. I could allocate the struct only if necessary, but it wont be possible to avoid reloading children in _edje_box_layout_load_children_list. In this new patch anim struct is created when the first child is added to the box. I'd move this to part box constructor: evas_object_box_layout_set(ep-object, _edje_box_layout, ep-anim, _edje_box_layout_free_data), always have it (you may even call it just box and remove the anim reference. Then you free it (your _edje_box_layout_free_data) at part delete. You keep this as the single layout function ever set to ep-object. Then move all your _edje_box_layout_calculate_coords() to _edje_box_recalc_apply() as there you know for sure what happened and do not have to set a flag to be checked later... I guess these things will make code simpler and less error prone, also easier for others to review and maintain it. Calling functions to allocate and destroy data in edje_load.c. Restart flag was removed and _edje_box_layout_calculate_coords is called in in _edje_box_recalc_apply. The recalculate flag is still necessary. Sending new patch attached. sorry taking so long! in svn as r52871. Thanks -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Otavio Pontes ProFUSION embedded systems http://www.profusion.mobi From a6757cc527d6aaa08c1593d04ffcad849a04f282 Mon Sep 17 00:00:00 2001 From: Otavio Pontes ota...@profusion.mobi Date: Mon, 18 Oct 2010 10:08:13 -0200 Subject: [PATCH] Adding a Transition Layout example in elementary_test To: ota...@profusion.mobi --- TMP/st/elementary/src/bin/test.c |2 + TMP/st/elementary/src/bin/test_box.c | 109 ++ 2 files changed, 111 insertions(+), 0 deletions(-) diff --git a/TMP/st/elementary/src/bin/test.c b/TMP/st/elementary/src/bin/test.c index 04ba223..5a17cb5 100644 --- a/TMP/st/elementary/src/bin/test.c +++ b/TMP/st/elementary/src/bin/test.c @@ -12,6 +12,7 @@ void test_icon(void *data, Evas_Object *obj, void *event_info); void test_box_vert(void *data, Evas_Object *obj, void *event_info); void test_box_vert2(void *data, Evas_Object *obj, void *event_info); void test_box_horiz(void *data, Evas_Object *obj, void *event_info); +void test_box_transition(void *data, Evas_Object *obj,
Re: [E-devel] [PATCH] Elm_Pager configuration to show or not the first animation
On Wed, Oct 20, 2010 at 10:42 AM, Alex Grilo abgr...@profusion.mobi wrote: Hi, This is a patch to configure if the first animation of an elm_pager will be shown or not. There are some applications in which this first animation seems weird. I don't think it should be configurable. I guess the current behavior was just a missing implementation detail. I don't see use cases to have that animation for the first one. another option is to emit a signal to the theme with the first animation. But I'd not do it right now, just if there is demand (I think there is none). -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] Elm_Pager configuration to show or not the first animation
On Wed, Oct 20, 2010 at 10:42 AM, Alex Grilo abgr...@profusion.mobi wrote: Hi, This is a patch to configure if the first animation of an elm_pager will be shown or not. There are some applications in which this first animation seems weird. I can't say I like the patch. It looks hackish and the naming of variables and functions doesn't really tell what it does. It's to keep the animation of an object being added to the pager from happening? Because it looks like you are misreading it as a first animation in the pager, when it's per item added. It could be done in theme alone, just having another style that doesn't animate with that signal. thanks -- -- Alex Bredariol Grilo ProFUSION embedded systems http://profusion.mobi -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] #includes in Eina.h
At Wed, 20 Oct 2010 08:08:21 +0900, Carsten Haitzler (The Rasterman) wrote: aaah and this is where things clash. we TOTALLY rely on pkg-config as part of the solution. if you try to not use it, you are fighting against EFL. literally we DEPEND on pkg-config to be able to, in future, change include dirs, paths and other such options. you're driving down the wrong side of the road against traffic here. In the end, I was able to make things work on CMake and get some useful output from pkg-config, so all ended well :) -- Raphael Kubo da Costa ProFUSION embedded systems http://profusion.mobi -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] Accept a long instead of a size_t for ecore_con_url_send's length.
Oops, apparently you've sent this answer only to me and it's been sitting on my inbox for a few days. CC'ing the list back. At Tue, 19 Oct 2010 11:30:02 +0900, Carsten Haitzler (The Rasterman) wrote: On Mon, 18 Oct 2010 22:55:49 -0200 Raphael Kubo da Costa k...@profusion.mobi said: At Tue, 19 Oct 2010 08:26:37 +0900, Carsten Haitzler (The Rasterman) wrote: On Mon, 18 Oct 2010 14:29:24 -0200 Raphael Kubo da Costa k...@profusion.mobi said: Sorry, I've kind of missed the point while reading your message ;) Are you saying we should use an unsigned long even though it will be read as a long by curl, or that we shoulduse POSTFIELDSIZE_LARGE, or that it's OK as it is? point: if curl has a limit implicitly placed by using signed long (on 32bit systems this is 2gb - on 64bit systems it's too big to bother discussing :)). but if OUR api should directly reflect such limits is another question. is it really valid/sensible to be sending 2gb post data in 1 go? remember that this will need to be memcpy'd on a 32bit system into an internal buffer so it can be spooled out - so you will already fail as simply there is not enough memory space to even do this. for 64bit systems.. is it sensible to even be sending 2gb posts? i have my doubts. as the webserver will need to accept such massive posts. i don't see that being sensible at all. if your connection drops you have to re-send.. the 2gb blob. as such thats a MASSIVE waste. wouldn't reality be that any such massive file uploads would always be split over many posts of much smaller chunks? if that is the case... we could just use an int and be done with it. you still can't even manage 2gb on a 32bit system - and on a 64bit box that will be the theoretical limit, but in practice any such protocol design that requires you post entire complete 2gb (or bigger) blobs of data is a broken protocol anyway? Well, I might be wrong here because it's too late to be digging through libcurl's internals right now, but at first glance, it seems to do any required splitting of the content into various requests when it cannot be sent all at once. for a post? i thought an http post is a 1 time thing? (a get can get specific regions of a file with size+offset, but a post can only send a post as a while as a mime encoded file? am i wrong?). Well, I haven't looked at libcurl's internals ever since, so I can't tell for sure. -- Raphael Kubo da Costa ProFUSION embedded systems http://profusion.mobi -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [E-Devel] what are the differences between els, elc, elm?
Thank you Sachiel and Rasterman. Everything is clear now :) thanks. Daniel Juyung Seo. On Wed, Oct 20, 2010 at 9:34 PM, Carsten Haitzler ras...@rasterman.com wrote: On Wed, 20 Oct 2010 21:27:37 +0900 Daniel Juyung Seo seojuyu...@gmail.com said: Hello, I'm curious what the differences are between els, elc, elm in elementary/src/lib. I tried to figure the differences. elm is a public widget. els is a smart object and is used internally by elementary widgets. elc looks like an elementary widget as well. :) yes - correct, elc is a collector widget - basically it takes 1 or more existing elementary widgets and collects them together along with higher level logic (possibly - like notepad with automatic load from and save to a text file from the entry). -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler) ras...@rasterman.com -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] Elm_Pager configuration to show or not the first animation
The idea is not to execute the animation when the first element is pushed. Barbieri suggested to remove the first animation on all cases instead of being a configuration, so I guess it can't be done only with theme, is it right? I made the suggested changes and here is a new version of the patch. On Wed, Oct 20, 2010 at 10:57 AM, Iván Briano (Sachiel) sachi...@gmail.comwrote: On Wed, Oct 20, 2010 at 10:42 AM, Alex Grilo abgr...@profusion.mobi wrote: Hi, This is a patch to configure if the first animation of an elm_pager will be shown or not. There are some applications in which this first animation seems weird. I can't say I like the patch. It looks hackish and the naming of variables and functions doesn't really tell what it does. It's to keep the animation of an object being added to the pager from happening? Because it looks like you are misreading it as a first animation in the pager, when it's per item added. It could be done in theme alone, just having another style that doesn't animate with that signal. thanks -- -- Alex Bredariol Grilo ProFUSION embedded systems http://profusion.mobi -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- -- Alex Bredariol Grilo ProFUSION embedded systems http://profusion.mobi Index: src/lib/elm_pager.c === --- src/lib/elm_pager.c (revision 53651) +++ src/lib/elm_pager.c (working copy) @@ -28,6 +28,7 @@ Eina_List *stack; Item *top, *oldtop; Evas_Object *rect, *clip; + Eina_Bool first_element; }; struct _Item @@ -141,7 +142,12 @@ wd-top = ittop; o = wd-top-base; evas_object_show(o); - if (wd-oldtop wd-oldtop-popme) + if (wd-first_element) + { + edje_object_signal_emit(o, elm,action,show,no-animation, elm); + wd-first_element = EINA_FALSE; + } + else if (wd-oldtop wd-oldtop-popme) edje_object_signal_emit(o, elm,action,show, elm); else edje_object_signal_emit(o, elm,action,push, elm); @@ -246,6 +252,8 @@ elm_widget_resize_object_set(obj, wd-clip); elm_widget_sub_object_add(obj, wd-clip); + wd-first_element = EINA_TRUE; + wd-rect = evas_object_rectangle_add(e); elm_widget_sub_object_add(obj, wd-rect); evas_object_color_set(wd-rect, 255, 255, 255, 0); @@ -424,4 +432,3 @@ if (!wd-top) return NULL; return wd-top-content; } - Index: data/themes/default.edc === --- data/themes/default.edc (revision 53651) +++ data/themes/default.edc (working copy) @@ -22607,6 +22607,13 @@ target: clip; after: show_end; } + program { name: show_start_no_animation; +signal: elm,action,show,no-animation; + action: STATE_SET visible 0.0; + target: base; + target: clip; +after: show_end; + } program { name: show_end; action: SIGNAL_EMIT elm,action,show,finished ; } -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] RSS of me blog
Hello Someone can update the RSS of my blog in the planet please ? http://watchwolf.fr/index.php?format=feedtype=rsslang=en -- Regards. -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: cedric trunk/eio/src/lib
On Wed, Oct 20, 2010 at 2:42 PM, Enlightenment SVN no-re...@enlightenment.org wrote: Log: * eio: add eio_file_chmod and eio_file_chown. Okay, we're in a thread, but recursive operations should use the at variants to speed them up. Would you mind implementing them as well (using your code as fallback when they are not available)? It's basically dirfd(DIR *d) then use this as parameter for openat(), unlinkat(), ... I'm also following systemd and see they're effectively using it for good! (may also be used as a good source of examples git://anongit.freedesktop.org/systemd) -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: cedric trunk/eio/src/lib
On Wed, 20 Oct 2010, Gustavo Sverzut Barbieri wrote: On Wed, Oct 20, 2010 at 2:42 PM, Enlightenment SVN no-re...@enlightenment.org wrote: Log: * eio: add eio_file_chmod and eio_file_chown. Okay, we're in a thread, but recursive operations should use the at variants to speed them up. if they are available. Iirc, they don't on Windows. Vincent Would you mind implementing them as well (using your code as fallback when they are not available)? It's basically dirfd(DIR *d) then use this as parameter for openat(), unlinkat(), ... I'm also following systemd and see they're effectively using it for good! (may also be used as a good source of examples git://anongit.freedesktop.org/systemd) -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] ANNOUNCE: ALPHA Release of Elementary
On Tue, Oct 19, 2010 at 10:03 PM, Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote: On Tue, Oct 19, 2010 at 8:52 PM, Gustavo Lima Chaves gl...@profusion.mobi wrote: Ladies and gentlemen, Elementary is planned to be released as alpha *soon*. This means the API, after this snapshot, has to be good to go (but there may be bugs on implementation, still). The focus is on fixing bugs now and keeping API stable for a full release once bugs are gone. We're working hard to get a planified and consistent API until the end of the week, maximum, and your help is very much appreciated. NB: if have API changes waiting to be commited, do so *now*!! If you let it pass, you'll have to wait until v. 1.1 (for API additions) or 2.0 (for API breaks). Once we reach this goal, the alpha release of Elementary will be available from: http://download.enlightenment.org/releases/ More technical details on what's in and out of this release (1.0): - NO guarana merge, the so called one is not happening. elm_widget will remain as the single smart object and no inheritance will be allowed. However elm_widget.h is already installed to /usr/include and may be used with caution to extend elementary using its hooks. To avoid breakages, when we get to it we'll likely create an elm_base or similar that will be an inheritable smart object. - except for a single widget and a helper (animation/transition) that is missing from Samsung, no other widgets are planned. Don't expect much more than what we have now. But maybe we could drop widgets in a bad shape? I couldn't look deeper on carousel yet, but I believe it never was completely implemented. What should it be? Raster ? - don't expect new theme --- no efenniht as default as there is no manpower to finish it :-( - elementary_config will be usable, actually saving the profile and implementing the missing tabs. - API will get missing getters, setters, const... and checks to avoid crashes. - focus and keyboard navigation should work, at least reasonably. - profiles will be used more wisely, with standard being the desktop one and it should look more like what a desktop would expect. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] ANNOUNCE: ALPHA Release of Elementary
On Wed, Oct 20, 2010 at 7:44 PM, Bruno Dilly bdi...@profusion.mobi wrote: But maybe we could drop widgets in a bad shape? I couldn't look deeper on carousel yet, but I believe it never was completely implemented. What should it be? Raster ? elm_menu also needs a rewrite. Coming to think of it, isn't it time to take it out of the TMP dir? :P -- Tom. -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] 2 Backtraces (crashes/segfaults of e17)
The first one only occured once, seems to be evas related and i cannot easily reproduce it. The second one is randr related and i can reproduce it in a good amount of cases, usually when i start an older game in wine in fullscreen mode, where the aspect ration gets adjusted by the nvidia drivers (a 4:3 fullscreen doesnt look that well on a 16:9 screen). If e17 does not crash during that game, i can exit the game without problems. But once i try to exit e17, i get the second bt, which results in e17 not reacting to any input (requires a kill -9 to stop it). -- Thomas Sachau Gentoo Linux Developer #0 0x673b181793d3 in __poll (fds=value optimized out, nfds=value optimized out, timeout=value optimized out) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x673b1589ea7a in _xcb_conn_wait (c=0x7a9610, cond=value optimized out, vector=0x0, count=0x0) at xcb_conn.c:313 #2 0x673b158a04f8 in xcb_wait_for_event (c=0x7a9610) at xcb_in.c:535 #3 0x673b18d1ac78 in _XReadEvents (dpy=0x79c590) at xcb_io.c:341 #4 0x673b18cfd648 in XNextEvent (dpy=0x79c590, event=0x73a07657a010) at NextEvent.c:51 #5 0x0043ad1f in e_alert_show ( text=0x5142d8 This is very bad. Enlightenment SEGV'd.\n\nThis is not meant to happen and is likely a sign of\na bug in Enlightenment or the libraries it relies\non. You can gdb attach to this process now to try\ndebug i...) at e_alert.c:146 #6 0x004e0ac9 in e_sigseg_act (x=value optimized out, info=value optimized out, data=value optimized out) at e_signals.c:129 #7 signal handler called #8 eina_rbtree_delete (root=0x31312e33312e3637, func=0x673b19cabd10 _eina_hash_head_free, data=0xd58e20) at eina_rbtree.c:585 #9 0x673b19cac2cc in eina_hash_free (hash=0xd58e20) at eina_hash.c:1031 #10 0x673b1b8f21cf in _evas_common_font_int_free (fi=0xde8300) at evas_font_load.c:85 #11 0x673b19cab637 in _eina_hash_el_free (hash_element=0xde83a8, hash=value optimized out) at eina_hash.c:396 #12 0x673b19cab957 in _eina_hash_del_by_hash_el (hash=0x99a130, hash_element=0xde83a8, hash_head=0xde8380, key_hash=-927478372) at eina_hash.c:419 #13 0x673b19cabb3b in _eina_hash_del_by_key_hash (hash=0x99a130, key=value optimized out, key_length=value optimized out, key_hash=-927478372, data=value optimized out) at eina_hash.c:469 #14 0x673b1b8f2331 in evas_common_font_flush () at evas_font_load.c:827 #15 0x673b1b8f24ed in evas_common_font_free (fn=0xde5610) at evas_font_load.c:603 #16 0x673b1b8b7f08 in evas_fonts_zero_presure (evas=0xac3180) at evas_font_dir.c:164 #17 0x673b1b8bec35 in evas_render_idle_flush (e=0xac3180) at evas_render.c:1485 #18 0x673b1b1cf9d1 in _ecore_evas_cb_idle_flush (data=value optimized out) at ecore_evas.c:2826 #19 0x673b1b6355aa in _ecore_timer_call (when=value optimized out) at ecore_timer.c:552 #20 0x673b1b632a29 in _ecore_main_loop_iterate_internal (once_only=0) at ecore_main.c:1213 #21 0x673b1b632f37 in ecore_main_loop_begin () at ecore_main.c:568 #22 0x0042f94b in main (argc=value optimized out, argv=value optimized out) at e_main.c:1156 #0 0x673b181793d3 in __poll (fds=value optimized out, nfds=value optimized out, timeout=value optimized out) at ../sysdeps/unix/sysv/linux/poll.c:87 resultvar = 18446744073709551100 oldtype = 0 result = value optimized out #1 0x673b1589ea7a in _xcb_conn_wait (c=0x7a9610, cond=value optimized out, vector=0x0, count=0x0) at xcb_conn.c:313 ret = 22 fd = {fd = 5, events = 1, revents = 0} #2 0x673b158a04f8 in xcb_wait_for_event (c=0x7a9610) at xcb_in.c:535 ret = 0x0 #3 0x673b18d1ac78 in _XReadEvents (dpy=0x79c590) at xcb_io.c:341 event = 0x73a07657a010 response = value optimized out serial = 35 #4 0x673b18cfd648 in XNextEvent (dpy=0x79c590, event=0x73a07657a010) at NextEvent.c:51 No locals. #5 0x0043ad1f in e_alert_show ( text=0x5142d8 This is very bad. Enlightenment SEGV'd.\n\nThis is not meant to happen and is likely a sign of\na bug in Enlightenment or the libraries it relies\non. You can gdb attach to this process now to try\ndebug i...) at e_alert.c:146 w = 170 i = value optimized out j = value optimized out k = value optimized out line =
Re: [E-devel] ANNOUNCE: ALPHA Release of Elementary
On Wed, Oct 20, 2010 at 4:24 PM, Tom Hacohen t...@stosb.com wrote: On Wed, Oct 20, 2010 at 7:44 PM, Bruno Dilly bdi...@profusion.mobi wrote: But maybe we could drop widgets in a bad shape? I couldn't look deeper on carousel yet, but I believe it never was completely implemented. What should it be? Raster ? elm_menu also needs a rewrite. Coming to think of it, isn't it time to take it out of the TMP dir? :P In these lines, elm_animator seems quite odd, not to say purposeless... all that thing to convert a simple current - start_time into a 0.0-1.0 value?? Raster, why did you add such elm_animator to Elementary? Particularly with such uncommon API that takes an object as parameter for elm_animator_add() with the sole purpose to remove when such object is removed?! Even worse is that the curve style is just a non-extensible enum, much like Edje with different names (curve in, curve out... where is sinusoidal???) -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] RSS of me blog
On Wed, Oct 20, 2010 at 2:58 PM, Atton Jonathan jonathan.at...@gmail.com wrote: Hello Someone can update the RSS of my blog in the planet please ? http://watchwolf.fr/index.php?format=feedtype=rsslang=en updated! -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] ANNOUNCE: ALPHA Release of Elementary
On Wed, Oct 20, 2010 at 10:09 AM, Iván Briano (Sachiel) sachi...@gmail.com wrote: On Wed, Oct 20, 2010 at 5:56 AM, Tom Hacohen tom.haco...@partner.samsung.com wrote: Yay. Does that mean that elementary will finally be moved out of TMP? :P Anyhow, great job, I love elementary, and was very glad to see this announcement. Please consider also including a bit of internals exposing, for example, elm_notepad is made of an elm_entry, we should have a function elm_notepad_elm_entry_get that returns the elm_entry and lets up manipulate it like a regular entry, for example, setting line_wrap, toggling the editable property, getting selection, and whatever. It's nice because we get a lot of cool stuff for free, it's of course up to the users of the API not to do forbidden stuff like moving the elm_entry object itself, or whatever, but there are other idiotics thing that can't be done by the users and aren't done. No. Returning internal objects for users to meddle with is a very bad idea. What's done around with other composed widgets is adding functions mirroring the ones of the internal widgets. It's ugly and I really dislike it, but at least you keep your internals protected and when something is not supposed to be done, you don't have to go around documenting it, instead you just not provide the function to do it. I've been talking to Falcão, and what about just including the (auto) save / file set stuff to (scrolled) entries and remove notepad ? So if you want to set an entry to load / save to a file, you can use it the same way you could use notepad. Do you guys think it's a reasonable idea? That's what I think is missing for ALPHA. -- Tom. -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] 2 Backtraces (crashes/segfaults of e17)
Hello Thomas, at the moment I don't have access to an external monitor for further debugging of the randr mode setting issue. Last time I had access to an external monitor, I traced it down to a wrong events sent by my driver for some reason. It looks like your driver doesn't send mode names. Attached patch fixes their freeing. BR, Leif P.S.: Further patches for RandR follow as soon, as I have access to an external monitor again. 2010/10/20 Thomas Sachau to...@gentoo.org: The first one only occured once, seems to be evas related and i cannot easily reproduce it. The second one is randr related and i can reproduce it in a good amount of cases, usually when i start an older game in wine in fullscreen mode, where the aspect ration gets adjusted by the nvidia drivers (a 4:3 fullscreen doesnt look that well on a 16:9 screen). If e17 does not crash during that game, i can exit the game without problems. But once i try to exit e17, i get the second bt, which results in e17 not reacting to any input (requires a kill -9 to stop it). -- Thomas Sachau Gentoo Linux Developer -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel diff --git a/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c b/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c index bd56228..bc9cdd3 100644 --- a/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c +++ b/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c @@ -405,13 +405,14 @@ ecore_x_randr_mode_info_get(Ecore_X_Window root, Ecore_X_Randr_Mode mode) ret-vSyncEnd = res-modes[i].vSyncEnd; ret-vTotal = res-modes[i].vTotal; ret-name = NULL; - ret-nameLength = 0; if (res-modes[i].nameLength 0) { ret-nameLength = res-modes[i].nameLength; ret-name = strndup(res-modes[i].name, res-modes[i].nameLength); } + else +ret-nameLength = 0; ret-modeFlags = res-modes[i].modeFlags; break; } @@ -438,7 +439,7 @@ ecore_x_randr_mode_info_free(Ecore_X_Randr_Mode_Info *mode_info) if (!mode_info) return; - if (mode_info-name) + if (mode_info-nameLength 0) free(mode_info-name); free(mode_info); -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] ANNOUNCE: ALPHA Release of Elementary
On Wed, Oct 20, 2010 at 5:59 PM, Bruno Dilly bdi...@profusion.mobi wrote: On Wed, Oct 20, 2010 at 10:09 AM, Iván Briano (Sachiel) sachi...@gmail.com wrote: On Wed, Oct 20, 2010 at 5:56 AM, Tom Hacohen tom.haco...@partner.samsung.com wrote: Yay. Does that mean that elementary will finally be moved out of TMP? :P Anyhow, great job, I love elementary, and was very glad to see this announcement. Please consider also including a bit of internals exposing, for example, elm_notepad is made of an elm_entry, we should have a function elm_notepad_elm_entry_get that returns the elm_entry and lets up manipulate it like a regular entry, for example, setting line_wrap, toggling the editable property, getting selection, and whatever. It's nice because we get a lot of cool stuff for free, it's of course up to the users of the API not to do forbidden stuff like moving the elm_entry object itself, or whatever, but there are other idiotics thing that can't be done by the users and aren't done. No. Returning internal objects for users to meddle with is a very bad idea. What's done around with other composed widgets is adding functions mirroring the ones of the internal widgets. It's ugly and I really dislike it, but at least you keep your internals protected and when something is not supposed to be done, you don't have to go around documenting it, instead you just not provide the function to do it. I've been talking to Falcão, and what about just including the (auto) save / file set stuff to (scrolled) entries and remove notepad ? So if you want to set an entry to load / save to a file, you can use it the same way you could use notepad. Do you guys think it's a reasonable idea? from all ideas it seems like the best... but really, since there is no optimized way of saving (like saving incrementally or such), is saving to a file something really worth to have in an entry??? -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: englebass trunk/efreet/src/lib
On Wed, Oct 20, 2010 at 6:39 PM, Enlightenment SVN no-re...@enlightenment.org wrote: Log: use EINA_LIST_FREE for list deletion Author: englebass Date: 2010-10-20 13:39:38 -0700 (Wed, 20 Oct 2010) New Revision: 53690 Modified: trunk/efreet/src/lib/efreet_private.h Modified: trunk/efreet/src/lib/efreet_private.h === --- trunk/efreet/src/lib/efreet_private.h 2010-10-20 20:39:19 UTC (rev 53689) +++ trunk/efreet/src/lib/efreet_private.h 2010-10-20 20:39:38 UTC (rev 53690) @@ -65,11 +65,10 @@ * If x is a valid pointer destroy x and set to NULL */ #define IF_FREE_LIST(list, free_cb) do { \ - while (list) \ - { \ - free_cb(eina_list_data_get(list)); \ - list = eina_list_remove_list(list, list); \ - } \ + void *_data; \ + EINA_LIST_FREE(list, _data) \ + free_cb(_data); \ + list = NULL; \ } while (0) list = NULL is worthless, EINA_LIST_FREE updates list... and just stops when it reaches NULL :-) -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] ANNOUNCE: ALPHA Release of Elementary
On Wed, Oct 20, 2010 at 4:24 PM, Tom Hacohen t...@stosb.com wrote: elm_menu also needs a rewrite. I've sent some patches today, in the same line of recent Elm_Toolbar changes -- breaking the API again -- and I with it were better; discussing with k-s, he commented on porting the ideas of the menu code in E17 to Elm. If there are no complaints regarding this, or if there are other ideas awaiting to be transformed in code, shout now because this is the time. -- Cheers, Leandro -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Fwd: E SVN: acidx IN trunk/TMP/st/elementary/src: bin lib
Brian and other interested peers, the elm menu changed WRT icon. Expect more changes soon to the way menus are structured. -- Forwarded message -- From: Enlightenment SVN no-re...@enlightenment.org Date: Wed, Oct 20, 2010 at 7:30 PM Subject: E SVN: acidx IN trunk/TMP/st/elementary/src: bin lib To: enlightenment-...@lists.sourceforge.net Log: [Elementary] Use elm_icon_standard_set() on Elm_Menu items. This breaks the API *and* the ABI, but this should be consistent with Elm_Toolbar. We'll probably need a tweak here and there, but I really think Elm_Menu should be rewritten. Author: acidx Date: 2010-10-20 14:30:00 -0700 (Wed, 20 Oct 2010) New Revision: 53694 Modified: trunk/TMP/st/elementary/src/bin/test_menu.c trunk/TMP/st/elementary/src/bin/test_toolbar.c trunk/TMP/st/elementary/src/lib/Elementary.h.in trunk/TMP/st/elementary/src/lib/elm_menu.c trunk/TMP/st/elementary/src/lib/elm_toolbar.c Modified: trunk/TMP/st/elementary/src/bin/test_menu.c === --- trunk/TMP/st/elementary/src/bin/test_menu.c 2010-10-20 20:55:42 UTC (rev 53693) +++ trunk/TMP/st/elementary/src/bin/test_menu.c 2010-10-20 21:30:00 UTC (rev 53694) @@ -4,8 +4,7 @@ #endif #ifndef ELM_LIB_QUICKLAUNCH -static Evas_Object *win, *bg, *menu, *rect, *ic;; -static char buf[PATH_MAX]; +static Evas_Object *win, *bg, *menu, *rect; static void _show(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info) @@ -18,83 +17,38 @@ static void _populate_4(Elm_Menu_Item *item) { - Evas_Object *ic; Elm_Menu_Item *item2; - ic = elm_icon_add(win); - snprintf(buf, sizeof(buf), %s/images/logo_small.png, PACKAGE_DATA_DIR); - elm_icon_file_set(ic, buf, NULL); - elm_menu_item_add(menu, item, ic, menu 2, NULL, NULL); - - ic = elm_icon_add(win); - snprintf(buf, sizeof(buf), %s/images/logo_small.png, PACKAGE_DATA_DIR); - elm_icon_file_set(ic, buf, NULL); - - elm_menu_item_add(menu, item, ic, menu 3, NULL, NULL); - + elm_menu_item_add(menu, item, go-bottom, menu 2, NULL, NULL); + elm_menu_item_add(menu, item, go-first, menu 3, NULL, NULL); elm_menu_item_separator_add(menu, item); - - ic = elm_icon_add(win); - snprintf(buf, sizeof(buf), %s/images/logo_small.png, PACKAGE_DATA_DIR); - elm_icon_file_set(ic, buf, NULL); - item2 = elm_menu_item_add(menu, item, ic, Disabled item, NULL, NULL); + item2 = elm_menu_item_add(menu, item, go-last, Disabled item, NULL, NULL); elm_menu_item_disabled_set(item2, 1); - - ic = elm_icon_add(win); - snprintf(buf, sizeof(buf), %s/images/logo_small.png, PACKAGE_DATA_DIR); - elm_icon_file_set(ic, buf, NULL); - item2 = elm_menu_item_add(menu, item, ic, Disabled item, NULL, NULL); + item2 = elm_menu_item_add(menu, item, go-next, Disabled item, NULL, NULL); elm_menu_item_disabled_set(item2, 1); - - ic = elm_icon_add(win); - snprintf(buf, sizeof(buf), %s/images/logo_small.png, PACKAGE_DATA_DIR); - elm_icon_file_set(ic, buf, NULL); - item2 = elm_menu_item_add(menu, item, ic, Disabled item, NULL, NULL); + item2 = elm_menu_item_add(menu, item, go-up, Disabled item, NULL, NULL); elm_menu_item_disabled_set(item2, 1); } static void _populate_3(Elm_Menu_Item *item) { - Evas_Object *ic; Elm_Menu_Item *item2; - ic = elm_icon_add(win); - snprintf(buf, sizeof(buf), %s/images/logo_small.png, PACKAGE_DATA_DIR); - elm_icon_file_set(ic, buf, NULL); - elm_menu_item_add(menu, item, ic, menu 2, NULL, NULL); - - ic = elm_icon_add(win); - snprintf(buf, sizeof(buf), %s/images/logo_small.png, PACKAGE_DATA_DIR); - elm_icon_file_set(ic, buf, NULL); - - elm_menu_item_add(menu, item, ic, menu 3, NULL, NULL); - + elm_menu_item_add(menu, item, media-eject, menu 2, NULL, NULL); + elm_menu_item_add(menu, item, media-playback-start, menu 3, NULL, NULL); elm_menu_item_separator_add(menu,item); - - ic = elm_icon_add(win); - snprintf(buf, sizeof(buf), %s/images/logo_small.png, PACKAGE_DATA_DIR); - elm_icon_file_set(ic, buf, NULL); - item2 = elm_menu_item_add(menu, item, ic, Disabled item, NULL, NULL); + item2 = elm_menu_item_add(menu, item, media-playback-stop, Disabled item, NULL, NULL); elm_menu_item_disabled_set(item2, 1); } static void _populate_2(Elm_Menu_Item *item) { - Evas_Object *ic; Elm_Menu_Item *item2, *item3; - ic = elm_icon_add(win); - snprintf(buf, sizeof(buf), %s/images/logo_small.png, PACKAGE_DATA_DIR); - elm_icon_file_set(ic, buf, NULL); - elm_menu_item_add(menu, item, ic, menu 2, NULL, NULL); - - ic = elm_icon_add(win); - snprintf(buf, sizeof(buf), %s/images/logo_small.png, PACKAGE_DATA_DIR); - elm_icon_file_set(ic, buf, NULL); - - item2 = elm_menu_item_add(menu, item, ic, menu 3, NULL, NULL); + elm_menu_item_add(menu, item, system-reboot, menu 2, NULL, NULL); + item2 = elm_menu_item_add(menu, item, system-shutdown, menu 3, NULL, NULL); _populate_3(item2); @@ -106,18 +60,10 @@
Re: [E-devel] E SVN: glima trunk/TMP/st/elementary/src/lib
On Wed, 20 Oct 2010 09:51:20 -0700 Enlightenment SVN no-re...@enlightenment.org said: Log: Raster? NO! revert pls.! it really is a #ifndef.. notice that there is a 3rd ifdef moving the code around. Author: glima Date: 2010-10-20 09:51:20 -0700 (Wed, 20 Oct 2010) New Revision: 53680 Modified: trunk/TMP/st/elementary/src/lib/elm_main.c Modified: trunk/TMP/st/elementary/src/lib/elm_main.c === --- trunk/TMP/st/elementary/src/lib/elm_main.c2010-10-20 16:51:13 UTC (rev 53679) +++ trunk/TMP/st/elementary/src/lib/elm_main.c2010-10-20 16:51:20 UTC (rev 53680) @@ -533,7 +533,7 @@ { _elm_sub_init_count++; if (_elm_sub_init_count 1) return _elm_sub_init_count; -#ifndef SEMI_BROKEN_QUICKLANCH +#ifdef SEMI_BROKEN_QUICKLANCH ecore_app_args_set(argc, (const char **)argv); evas_init(); edje_init(); @@ -559,7 +559,7 @@ { _elm_sub_init_count--; if (_elm_sub_init_count 0) return _elm_sub_init_count; -#ifndef SEMI_BROKEN_QUICKLANCH +#ifdef SEMI_BROKEN_QUICKLANCH _elm_win_shutdown(); _elm_module_shutdown(); ecore_imf_shutdown(); @@ -630,7 +630,7 @@ EAPI void elm_quicklaunch_seed(void) { -#ifndef SEMI_BROKEN_QUICKLANCH +#ifdef SEMI_BROKEN_QUICKLANCH Evas_Object *win, *bg, *bt; win = elm_win_add(NULL, seed, ELM_WIN_BASIC); -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ enlightenment-svn mailing list enlightenment-...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-svn -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Fwd: E SVN: acidx IN trunk/TMP/st/elementary/src: bin lib
On Thu, Oct 21, 2010 at 6:54 AM, Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote: Brian and other interested peers, the elm menu changed WRT icon. Expect more changes soon to the way menus are structured. Thanks for the heads-up. I'm glad I'm not affected this time. :-) brian -- Forwarded message -- From: Enlightenment SVN no-re...@enlightenment.org Date: Wed, Oct 20, 2010 at 7:30 PM Subject: E SVN: acidx IN trunk/TMP/st/elementary/src: bin lib To: enlightenment-...@lists.sourceforge.net Log: [Elementary] Use elm_icon_standard_set() on Elm_Menu items. This breaks the API *and* the ABI, but this should be consistent with Elm_Toolbar. We'll probably need a tweak here and there, but I really think Elm_Menu should be rewritten. Author: acidx Date: 2010-10-20 14:30:00 -0700 (Wed, 20 Oct 2010) New Revision: 53694 Modified: trunk/TMP/st/elementary/src/bin/test_menu.c trunk/TMP/st/elementary/src/bin/test_toolbar.c trunk/TMP/st/elementary/src/lib/Elementary.h.in trunk/TMP/st/elementary/src/lib/elm_menu.c trunk/TMP/st/elementary/src/lib/elm_toolbar.c Modified: trunk/TMP/st/elementary/src/bin/test_menu.c === --- trunk/TMP/st/elementary/src/bin/test_menu.c 2010-10-20 20:55:42 UTC (rev 53693) +++ trunk/TMP/st/elementary/src/bin/test_menu.c 2010-10-20 21:30:00 UTC (rev 53694) @@ -4,8 +4,7 @@ #endif #ifndef ELM_LIB_QUICKLAUNCH -static Evas_Object *win, *bg, *menu, *rect, *ic;; -static char buf[PATH_MAX]; +static Evas_Object *win, *bg, *menu, *rect; static void _show(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info) @@ -18,83 +17,38 @@ static void _populate_4(Elm_Menu_Item *item) { - Evas_Object *ic; Elm_Menu_Item *item2; - ic = elm_icon_add(win); - snprintf(buf, sizeof(buf), %s/images/logo_small.png, PACKAGE_DATA_DIR); - elm_icon_file_set(ic, buf, NULL); - elm_menu_item_add(menu, item, ic, menu 2, NULL, NULL); - - ic = elm_icon_add(win); - snprintf(buf, sizeof(buf), %s/images/logo_small.png, PACKAGE_DATA_DIR); - elm_icon_file_set(ic, buf, NULL); - - elm_menu_item_add(menu, item, ic, menu 3, NULL, NULL); - + elm_menu_item_add(menu, item, go-bottom, menu 2, NULL, NULL); + elm_menu_item_add(menu, item, go-first, menu 3, NULL, NULL); elm_menu_item_separator_add(menu, item); - - ic = elm_icon_add(win); - snprintf(buf, sizeof(buf), %s/images/logo_small.png, PACKAGE_DATA_DIR); - elm_icon_file_set(ic, buf, NULL); - item2 = elm_menu_item_add(menu, item, ic, Disabled item, NULL, NULL); + item2 = elm_menu_item_add(menu, item, go-last, Disabled item, NULL, NULL); elm_menu_item_disabled_set(item2, 1); - - ic = elm_icon_add(win); - snprintf(buf, sizeof(buf), %s/images/logo_small.png, PACKAGE_DATA_DIR); - elm_icon_file_set(ic, buf, NULL); - item2 = elm_menu_item_add(menu, item, ic, Disabled item, NULL, NULL); + item2 = elm_menu_item_add(menu, item, go-next, Disabled item, NULL, NULL); elm_menu_item_disabled_set(item2, 1); - - ic = elm_icon_add(win); - snprintf(buf, sizeof(buf), %s/images/logo_small.png, PACKAGE_DATA_DIR); - elm_icon_file_set(ic, buf, NULL); - item2 = elm_menu_item_add(menu, item, ic, Disabled item, NULL, NULL); + item2 = elm_menu_item_add(menu, item, go-up, Disabled item, NULL, NULL); elm_menu_item_disabled_set(item2, 1); } static void _populate_3(Elm_Menu_Item *item) { - Evas_Object *ic; Elm_Menu_Item *item2; - ic = elm_icon_add(win); - snprintf(buf, sizeof(buf), %s/images/logo_small.png, PACKAGE_DATA_DIR); - elm_icon_file_set(ic, buf, NULL); - elm_menu_item_add(menu, item, ic, menu 2, NULL, NULL); - - ic = elm_icon_add(win); - snprintf(buf, sizeof(buf), %s/images/logo_small.png, PACKAGE_DATA_DIR); - elm_icon_file_set(ic, buf, NULL); - - elm_menu_item_add(menu, item, ic, menu 3, NULL, NULL); - + elm_menu_item_add(menu, item, media-eject, menu 2, NULL, NULL); + elm_menu_item_add(menu, item, media-playback-start, menu 3, NULL, NULL); elm_menu_item_separator_add(menu,item); - - ic = elm_icon_add(win); - snprintf(buf, sizeof(buf), %s/images/logo_small.png, PACKAGE_DATA_DIR); - elm_icon_file_set(ic, buf, NULL); - item2 = elm_menu_item_add(menu, item, ic, Disabled item, NULL, NULL); + item2 = elm_menu_item_add(menu, item, media-playback-stop, Disabled item, NULL, NULL); elm_menu_item_disabled_set(item2, 1); } static void _populate_2(Elm_Menu_Item *item) { - Evas_Object *ic; Elm_Menu_Item *item2, *item3; - ic = elm_icon_add(win); - snprintf(buf, sizeof(buf), %s/images/logo_small.png, PACKAGE_DATA_DIR); - elm_icon_file_set(ic, buf, NULL); - elm_menu_item_add(menu, item, ic, menu 2, NULL, NULL); - - ic = elm_icon_add(win); - snprintf(buf, sizeof(buf), %s/images/logo_small.png, PACKAGE_DATA_DIR); -
Re: [E-devel] Fwd: E SVN: acidx IN trunk/TMP/st/elementary/src: bin lib
On Wed, Oct 20, 2010 at 11:04 PM, Brian Wang brian.wang.0...@gmail.com wrote: On Thu, Oct 21, 2010 at 6:54 AM, Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote: Brian and other interested peers, the elm menu changed WRT icon. Expect more changes soon to the way menus are structured. Thanks for the heads-up. I'm glad I'm not affected this time. :-) I guess nobody except Enlil is... menu in its traditional incarnation is really a PITA, useless in any mobile software (I guess yours?). But to make everybody happy we'll refactor it and probably implement different profiles, one of them will implement something usable in mobiles. It will stack menus into a single area, much like phones do, or Eve (our browser). If things go right, just by a change of profile value we should be able to get the current menu or the stacked one, future plans include a 3rd mode with popup menus (like e17/gtk/qt). -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: glima trunk/TMP/st/elementary/src/lib
On Wed, Oct 20, 2010 at 10:30 PM, Carsten Haitzler ras...@rasterman.com wrote: On Wed, 20 Oct 2010 09:51:20 -0700 Enlightenment SVN no-re...@enlightenment.org said: Log: Raster? NO! revert pls.! it really is a #ifndef.. notice that there is a 3rd ifdef moving the code around. I'm not up to date so I can test it, but apparently there was a segfault when running elementary_test, caused by a missing evas_init(). Author: glima Date: 2010-10-20 09:51:20 -0700 (Wed, 20 Oct 2010) New Revision: 53680 Modified: trunk/TMP/st/elementary/src/lib/elm_main.c Modified: trunk/TMP/st/elementary/src/lib/elm_main.c === --- trunk/TMP/st/elementary/src/lib/elm_main.c 2010-10-20 16:51:13 UTC (rev 53679) +++ trunk/TMP/st/elementary/src/lib/elm_main.c 2010-10-20 16:51:20 UTC (rev 53680) @@ -533,7 +533,7 @@ { _elm_sub_init_count++; if (_elm_sub_init_count 1) return _elm_sub_init_count; -#ifndef SEMI_BROKEN_QUICKLANCH +#ifdef SEMI_BROKEN_QUICKLANCH ecore_app_args_set(argc, (const char **)argv); evas_init(); edje_init(); @@ -559,7 +559,7 @@ { _elm_sub_init_count--; if (_elm_sub_init_count 0) return _elm_sub_init_count; -#ifndef SEMI_BROKEN_QUICKLANCH +#ifdef SEMI_BROKEN_QUICKLANCH _elm_win_shutdown(); _elm_module_shutdown(); ecore_imf_shutdown(); @@ -630,7 +630,7 @@ EAPI void elm_quicklaunch_seed(void) { -#ifndef SEMI_BROKEN_QUICKLANCH +#ifdef SEMI_BROKEN_QUICKLANCH Evas_Object *win, *bg, *bt; win = elm_win_add(NULL, seed, ELM_WIN_BASIC); -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ enlightenment-svn mailing list enlightenment-...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-svn -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler) ras...@rasterman.com -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: glima trunk/TMP/st/elementary/src/lib
On Thu, 21 Oct 2010 00:25:29 -0200 Iván Briano (Sachiel) sachi...@gmail.com said: true - the non quicklaunch path broke in fixing the quicklaunch path - fixed now. On Wed, Oct 20, 2010 at 10:30 PM, Carsten Haitzler ras...@rasterman.com wrote: On Wed, 20 Oct 2010 09:51:20 -0700 Enlightenment SVN no-re...@enlightenment.org said: Log: Raster? NO! revert pls.! it really is a #ifndef.. notice that there is a 3rd ifdef moving the code around. I'm not up to date so I can test it, but apparently there was a segfault when running elementary_test, caused by a missing evas_init(). Author: glima Date: 2010-10-20 09:51:20 -0700 (Wed, 20 Oct 2010) New Revision: 53680 Modified: trunk/TMP/st/elementary/src/lib/elm_main.c Modified: trunk/TMP/st/elementary/src/lib/elm_main.c === --- trunk/TMP/st/elementary/src/lib/elm_main.c 2010-10-20 16:51:13 UTC (rev 53679) +++ trunk/TMP/st/elementary/src/lib/elm_main.c 2010-10-20 16:51:20 UTC (rev 53680) @@ -533,7 +533,7 @@ { _elm_sub_init_count++; if (_elm_sub_init_count 1) return _elm_sub_init_count; -#ifndef SEMI_BROKEN_QUICKLANCH +#ifdef SEMI_BROKEN_QUICKLANCH ecore_app_args_set(argc, (const char **)argv); evas_init(); edje_init(); @@ -559,7 +559,7 @@ { _elm_sub_init_count--; if (_elm_sub_init_count 0) return _elm_sub_init_count; -#ifndef SEMI_BROKEN_QUICKLANCH +#ifdef SEMI_BROKEN_QUICKLANCH _elm_win_shutdown(); _elm_module_shutdown(); ecore_imf_shutdown(); @@ -630,7 +630,7 @@ EAPI void elm_quicklaunch_seed(void) { -#ifndef SEMI_BROKEN_QUICKLANCH +#ifdef SEMI_BROKEN_QUICKLANCH Evas_Object *win, *bg, *bt; win = elm_win_add(NULL, seed, ELM_WIN_BASIC); -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ enlightenment-svn mailing list enlightenment-...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-svn -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler) ras...@rasterman.com -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] [PATCH] _edje_entry_imf_event_delete_surrounding_cb in edje_entry is implemented.
Hi, all. _edje_entry_imf_event_delete_surrounding_cb in edje_entry.c was not implemented yet. I send this patch to fill that function. Please review and apply svn if it is ok. Thanks. -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] _edje_entry_imf_event_delete_surrounding_cb in edje_entry is implemented.
2010/10/21 김지훈 jihoon48@samsung.com: Hi, all. _edje_entry_imf_event_delete_surrounding_cb in edje_entry.c was not implemented yet. I send this patch to fill that function. Please review and apply svn if it is ok. Sorry annoying mailing list did remove your attachment. -- Cedric BAIL -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] RSS of me blog
Thank you. 2010/10/20 Gustavo Sverzut Barbieri barbi...@profusion.mobi On Wed, Oct 20, 2010 at 2:58 PM, Atton Jonathan jonathan.at...@gmail.com wrote: Hello Someone can update the RSS of my blog in the planet please ? http://watchwolf.fr/index.php?format=feedtype=rsslang=en updated! -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Regards. -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel