Commit Graph

20 Commits

Author SHA1 Message Date
Daniel Juyung Seo b40b6d68b8 elm test_box.c: Revised box_pack sample code.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68216
2012-02-21 11:46:05 +00:00
Daniel Juyung Seo a3ae956f8f elm test_box.c: Added more test sample. Patch by Shinwoo Kim
<kimcinoo@gmail.com>

On Thu, Feb 16, 2012 at 10:20 AM, cnook <kimcinoo@gmail.com> wrote:
> Dear All, Hello~
>
> As you guess, the patch is for the elementary_test.
> Please review the patch and give any feedbacks.
>
> The test_actionslider patch is mainly for elm_actionslider_xxx_get()
APIs.
> It would not be a good idea to add test code for such APIs.
> So I have planed to add test code except elm_xxx_get() APIs
>
> Sincerely,
> Shinwoo Kim.

SVN revision: 68205
2012-02-21 07:06:39 +00:00
Hyoyoung Chang 068985b187 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_genlist - add item_class management
functions

I make controversial apis for item class management.
As raster and other guys suggest, I simplify APIs and its behaviors.

First, Two public apis and two internal apis are introduced

+EAPI Elm_Genlist_Item_Class *
+elm_genlist_item_class_new(void)

+EAPI void
+elm_genlist_item_class_free(Elm_Genlist_Item_Class *itc)

+void
+_elm_genlist_item_class_ref(Elm_Genlist_Item_Class *itc)

+void
+_elm_genlist_item_class_unref(Elm_Genlist_Item_Class *itc)

genlist item class is maintained by genlist in automatic manner.

And three fields are introduced in genlist item class.
+   int version;
+   unsigned int refcount;
+   Eina_Bool delete_me;

Normally a user add a elm_genlist_item_class by
elm_genlist_item_class_new().
Then its reference counter is automatic maintained.
If the user wanna to remove the elm_genlist_item_class, then call
elm_genlist_item_class_free()
After refcount reaches to 0, it will be removed.



SVN revision: 68147
2012-02-20 08:26:17 +00:00
Jérémy Zurcher a0366f0ef1 From: Jérémy Zurcher <jeremy@asynk.ch>
Subject: [E-devel] patch : eina_prefix + elementary_test

please find attached a small patch for eina_prefix

it prevent segfault when for instance
no elm_app_compile_*_dir_set is called prior to elm_app_info_set

and another one for elementary/src/bin/test*.c which tends to replace
usage of PACKAGE_DATA_DIR with elm_app_data_dir_get



SVN revision: 62796
2011-08-25 10:01:59 +00:00
Daniel Juyung Seo d473e343eb elm test: Refactoring. Changed 1 to EINA_TRUE for Eina_Bool parameter of elm_win_autodel_set() API.
SVN revision: 61695
2011-07-25 14:22:19 +00:00
Tom Hacohen 36be2846c9 Elm button: Fix the tests to use the new elm_object_text_set/get API.
SVN revision: 60800
2011-06-29 07:11:54 +00:00
Carsten Haitzler af679f1cc7 hmm conflict not merged right. fix.
SVN revision: 60177
2011-06-10 07:08:34 +00:00
Carsten Haitzler 1e9bdf652b box may be deleted when win is deleted - so dont assume box is around.
SVN revision: 60176
2011-06-10 06:46:04 +00:00
Mike McCormack 88b6d94a8e elementary_test: Avoid a double free in box transition
*** glibc detected *** elementary_test: double free or corruption (fasttop): 0x096aa5d0 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(+0x6b591)[0xd08591]
/lib/tls/i686/cmov/libc.so.6(+0x6cde8)[0xd09de8]
/lib/tls/i686/cmov/libc.so.6(cfree+0x6d)[0xd0cecd]
/usr/local/lib/libevas.so.1(evas_object_smart_callback_call+0x146)[0x37d4f6]
/usr/local/lib/libelementary-ver-pre-svn-09.so.0(+0xcf984)[0x287984]
/usr/local/lib/libecore_evas.so.1(+0x11457)[0x612457]
/usr/local/lib/libecore.so.1(_ecore_event_call+0x389)[0xe93399]
/usr/local/lib/libecore.so.1(+0xca05)[0xe97a05]

my prefix: /usr/local
elm test data in /usr/local/share/elementary
==18230== Invalid read of size 4
==18230==    at 0x80582D6: _win_del (test_box.c:203)
==18230==    by 0x42684F5: evas_object_smart_callback_call (evas_object_smart.c:409)
==18230==    by 0x4112983: _elm_win_delete_request (elm_win.c:624)
==18230==    by 0x4338456: _ecore_evas_x_event_window_delete_request (ecore_evas_x.c:1065)
==18230==    by 0x4307398: _ecore_event_call (ecore_events.c:641)
==18230==    by 0x430BA04: _ecore_main_gsource_dispatch (ecore_main.c:553)

SVN revision: 60174
2011-06-10 06:03:52 +00:00
Carsten Haitzler b11b798344 dont set padding of 1000 pls. :)
SVN revision: 59700
2011-05-26 09:27:30 +00:00
Carsten Haitzler 322b55133d elm box -> use padding!
SVN revision: 59699
2011-05-26 09:22:43 +00:00
Daniel Juyung Seo 9005f95c62 Elementary: Removed trailing whitespaces except for some files that
raster is heavily working on recently.


SVN revision: 59683
2011-05-26 00:39:12 +00:00
Daniel Juyung Seo 7023c0006d Elementary bin: Use EINA_TRUE/EINA_FALSE for Eina_Bool parameters.
SVN revision: 58688
2011-04-15 11:44:05 +00:00
Iván Briano 7d2afc8104 Adding a Transition Layout example in elementary_test
By: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 53865
2010-10-25 12:48:51 +00:00
Bruno Dilly 4ea66676b3 Fix some Wextra complains on elm bin
SVN revision: 53636
2010-10-19 18:25:22 +00:00
Carsten Haitzler 70c5674f8f oops - other way.
SVN revision: 45107
2010-01-14 04:02:21 +00:00
Carsten Haitzler de06f5c6da add a test
SVN revision: 45106
2010-01-14 04:00:17 +00:00
Christopher Michael 4edc6ac299 EVAS_HINT_EXPAND/EVAS_HINT_FILL changes in mass.
(Built and tested)



SVN revision: 42779
2009-09-28 19:23:33 +00:00
Carsten Haitzler 428b791408 fix some quicklaunch issues
SVN revision: 42481
2009-09-14 04:21:34 +00:00
Davide Andreoli cf6f01b171 * Split up elementary test.c in several files, one per widget
SVN revision: 41749
2009-08-13 22:41:43 +00:00