Done, D1
D3, alias JackDanielZ, alias Daniel.
On 03/18/2014 03:16 AM, Daniel Juyung Seo wrote:
> Yo,
> I got a crash after your successive eolian patch to elementary.
> It is easy to reproduce.
> elementary_test -> list focus
> Click a list item.
>
> #0 0xb7e6b506 in _elm_list_focus_highlight_geometry_get (obj=0x8000aa56,
> _pd=0x802691a0, list=0xbfffe2e0) at elm_list.c:3051
> #5 0xb7f01860 in elm_widget_focus_highlight_geometry_get (obj=0x8000aa56,
> x=0xbfffe3a8, y=0xbfffe3ac, w=0xbfffe3b0, h=0xbfffe3b4, is_next=1 '\001')
> at elm_widget.eo.c:1259
> #6 0xb7f06c2c in _elm_win_focus_highlight_simple_setup (sd=0x80166cf8,
> obj=0x8000522a) at elm_win.c:742
> ...
>
> 3047 Eina_Bool *is_next = va_arg(*list, Eina_Bool *);
> 3048
> 3049 Elm_List_Smart_Data *sd = _pd;
> 3050
> 3051 if (is_next && *is_next)
> 3052 {
> 3053 if (sd->focused_item)
> 3054 {
> 3055 _elm_list_item_coordinates_adjust((Elm_List_Item
> *)sd->focused_item, x, y, w, h);
> (gdb) p is_next
> $1 = (Eina_Bool *) 0x1 <Address 0x1 out of bounds>
>
> Can you have a look at this?
>
> Thanks.
>
> Daniel Juyung Seo (SeoZ)
>
>
>
> On Mon, Mar 17, 2014 at 4:52 PM, Daniel Zaoui <[email protected]>wrote:
>
>> jackdanielz pushed a commit to branch master.
>>
>>
>> http://git.enlightenment.org/core/elementary.git/commit/?id=c9d7bdb64cae8aa22f2d2c4263e1e6b6b015bcfa
>>
>> commit c9d7bdb64cae8aa22f2d2c4263e1e6b6b015bcfa
>> Author: Daniel Zaoui <[email protected]>
>> Date: Sun Mar 16 13:32:53 2014 +0200
>>
>> Eolian: Integration of Container
>> ---
>> src/lib/Makefile.am | 13 +++++++----
>> src/lib/elm_container.c | 23 +------------------
>> src/lib/elm_container.eo | 50
>> ++++++++++++++++++++++++++++++++++++++++++
>> src/lib/elm_widget_container.h | 5 +++++
>> 4 files changed, 65 insertions(+), 26 deletions(-)
>>
>> diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
>> index a6b6ca3..ee0633e 100644
>> --- a/src/lib/Makefile.am
>> +++ b/src/lib/Makefile.am
>> @@ -3,7 +3,8 @@ MAINTAINERCLEANFILES = Makefile.in
>>
>> CLEANFILES=
>>
>> -EOLIAN_FLAGS = @DEPS_EOLIAN_FLAGS@
>> +EOLIAN_FLAGS = @DEPS_EOLIAN_FLAGS@ \
>> + -I$(top_srcdir)/src/lib
>>
>> include $(top_srcdir)/Makefile_Eolian_Helper.am
>>
>> @@ -524,11 +525,15 @@ elm_intro.h.in
>>
>> BUILT_SOURCES = \
>> elm_widget.eo.c \
>> - elm_widget.eo.h
>> + elm_widget.eo.h \
>> + elm_container.eo.c \
>> + elm_container.eo.h
>>
>> EXTRA_DIST += \
>> - elm_widget.eo
>> + elm_widget.eo \
>> + elm_container.eo
>>
>> nodist_includesunstable_HEADERS = \
>> - elm_widget.eo.h
>> + elm_widget.eo.h \
>> + elm_container.eo.h
>>
>> diff --git a/src/lib/elm_container.c b/src/lib/elm_container.c
>> index 1d4d67b..04f3bbc 100644
>> --- a/src/lib/elm_container.c
>> +++ b/src/lib/elm_container.c
>> @@ -6,29 +6,8 @@
>> #include "elm_priv.h"
>> #include "elm_widget_container.h"
>>
>> -EAPI Eo_Op ELM_OBJ_CONTAINER_BASE_ID = EO_NOOP;
>> -
>> #define MY_CLASS ELM_OBJ_CONTAINER_CLASS
>>
>> #define MY_CLASS_NAME "Elm_Container"
>>
>> -static const Eo_Op_Description op_desc[] = {
>> - EO_OP_DESCRIPTION(ELM_OBJ_CONTAINER_SUB_ID_CONTENT_SET, "Set the
>> content on part of a given container widget."),
>> - EO_OP_DESCRIPTION(ELM_OBJ_CONTAINER_SUB_ID_CONTENT_GET, "Get the
>> content on a part of a given container widget"),
>> - EO_OP_DESCRIPTION(ELM_OBJ_CONTAINER_SUB_ID_CONTENT_UNSET, "Unset the
>> content on a part of a given container widget"),
>> - EO_OP_DESCRIPTION(ELM_OBJ_CONTAINER_SUB_ID_CONTENT_SWALLOW_LIST_GET,
>> "Get the list of swallow parts of a given container widget"),
>> - EO_OP_DESCRIPTION_SENTINEL
>> -};
>> -
>> -static const Eo_Class_Description class_desc = {
>> - EO_VERSION,
>> - MY_CLASS_NAME,
>> - EO_CLASS_TYPE_REGULAR,
>> - EO_CLASS_DESCRIPTION_OPS(&ELM_OBJ_CONTAINER_BASE_ID, op_desc,
>> ELM_OBJ_CONTAINER_SUB_ID_LAST),
>> - NULL,
>> - 0,
>> - NULL,
>> - NULL
>> -};
>> -
>> -EO_DEFINE_CLASS(elm_obj_container_class_get, &class_desc,
>> ELM_OBJ_WIDGET_CLASS, NULL);
>> +#include "elm_container.eo.c"
>> diff --git a/src/lib/elm_container.eo b/src/lib/elm_container.eo
>> new file mode 100644
>> index 0000000..6f0f8e8
>> --- /dev/null
>> +++ b/src/lib/elm_container.eo
>> @@ -0,0 +1,50 @@
>> +class Elm_Container (Elm_Widget)
>> +{
>> + eo_prefix: elm_obj_container;
>> + data: null;
>> + properties {
>> + content_swallow_list {
>> + get {
>> + /*@ No description supplied by the EAPI. */
>> + legacy null;
>> + }
>> + values {
>> + Eina_List *ret; /*@ Eina_List */
>> + }
>> + }
>> + }
>> + methods {
>> + content_set {
>> + /*@ No description supplied by the EAPI. */
>> + params {
>> + @in const char *name;
>> + @in Evas_Object *content;
>> + }
>> + return Eina_Bool;
>> + legacy null;
>> + }
>> + content_get {
>> + /*@ No description supplied by the EAPI. */
>> + params {
>> + @in const char *name;
>> + }
>> + return Evas_Object *;
>> + legacy null;
>> + }
>> + content_unset {
>> + /*@ No description supplied by the EAPI. */
>> + params {
>> + @in const char *name;
>> + }
>> + return Evas_Object *;
>> + legacy null;
>> + }
>> + }
>> + implements {
>> + virtual::content_set;
>> + virtual::content_unset;
>> + virtual::content_get;
>> + virtual::content_swallow_list::get;
>> + }
>> +
>> +}
>> diff --git a/src/lib/elm_widget_container.h
>> b/src/lib/elm_widget_container.h
>> index 2e1d378..e1edf87 100644
>> --- a/src/lib/elm_widget_container.h
>> +++ b/src/lib/elm_widget_container.h
>> @@ -30,6 +30,9 @@
>> * - elm_object_part_content_unset()
>> */
>>
>> +#include "elm_container.eo.h"
>> +
>> +#if 0
>> #define ELM_OBJ_CONTAINER_CLASS elm_obj_container_class_get()
>>
>> const Eo_Class *elm_obj_container_class_get(void) EINA_CONST;
>> @@ -100,3 +103,5 @@ enum
>> #define elm_obj_container_content_swallow_list_get(ret)
>> ELM_OBJ_CONTAINER_ID(ELM_OBJ_CONTAINER_SUB_ID_CONTENT_SWALLOW_LIST_GET),
>> EO_TYPECHECK(Eina_List **,ret)
>>
>> #endif
>> +
>> +#endif
>>
>> --
>>
>>
>>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel