Commit Graph

40 Commits

Author SHA1 Message Date
Daniel Juyung Seo 0645ba436d test_box: Add box align test sample.
This shows how elm_box_align_set() works.
2014-11-09 18:36:29 +09:00
Daniel Juyung Seo d883aa2499 test_box: Remove unnecessary object resize.
- Do not resize window's resize object manually.
- Do not resize box's children objects manually.
2014-11-09 16:05:01 +09:00
Jihoon Kim 052cc50c57 elm_test: use EINA_TRUE or FALSE as parameter of elm_image_resizable_set 2013-12-19 19:20:20 +09:00
Daniel Juyung Seo d5a74454ee elm_test: call evas_object_show(win) after its content creation.
- refer commit 64fd5a825b24591aedb9cac695d03f5b4d867442 for the detail
explanation.
- also move evas_object_resize(win, xx) alongside evas_object_show(win).
2013-12-15 05:47:39 +09:00
Jean-Philippe Andre 877e122e7a elementary_test: remove ELM_LIB_QUICKLAUNCH
Refer to the previous commits for the reason.
Remove all #ifndef ELM_LIB_QUICKLAUNCH from the test files.
2013-11-05 10:05:01 +09:00
Daniel Juyung Seo 83db5ad972 elm_test: __UNUSED__ -> EINA_UNUSED. 2013-09-01 10:18:03 +09:00
Daniel Juyung Seo 5953de5f2a elm test: Use EVAS_HINT_EXPAND and EVAS_HINT_FILL instead of 1.0 and -1.0.
SVN revision: 81948
2013-01-01 08:45:03 +00:00
Daniel Juyung Seo 264bbe0d8f elm test: Correct elm_win_resize_object_set() usage. Call evas_object_size_hint_weight_set() before calling elm_win_resize_object_set().
SVN revision: 79281
2012-11-14 10:49:45 +00:00
Gustavo Lima Chaves bbf0a4345e [elm] And now remove deprecated calls usage (WRT
icon/image thing).



SVN revision: 71473
2012-05-28 21:50:11 +00:00
Gustavo Lima Chaves bc06e63aa7 [Elm] Box ported to new class schema.
SVN revision: 70745
2012-05-03 22:44:41 +00:00
Carsten Haitzler c0f2f4be91 REVERT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
this breaks theme api. so NO! come back with a version that doesn't
break it.



SVN revision: 70679
2012-05-03 01:19:05 +00:00
Gustavo Lima Chaves 23d5e2c1e1 [Elm] Box ported to new class schema.
SVN revision: 70668
2012-05-02 17:02:04 +00:00
Daniel Juyung Seo 7f2fc8ef80 elm bin: Use convenient utility function elm_win_util_standard_add()
instead of elm_win_add() + elm_bg_add(). This is for normal style
(ELM_WIN_BASIC) window.

SVN revision: 69848
2012-04-02 06:20:28 +00:00
Daniel Juyung Seo e838d6d2f2 Revert a wrong commit. Un-wanted files are committed together.
Revert "elm bin: Use convenient utility function elm_win_util_standard_add() instead of elm_win_add() + elm_bg_add(). This is for normal style (ELM_WIN_BASIC) window."

This reverts commit 31b24a0edb0028528d7c859070e03236ba42867b.

SVN revision: 69847
2012-04-02 06:20:22 +00:00
Daniel Juyung Seo b4308ab089 elm bin: Use convenient utility function elm_win_util_standard_add() instead of elm_win_add() + elm_bg_add(). This is for normal style (ELM_WIN_BASIC) window.
SVN revision: 69845
2012-04-02 06:07:58 +00:00
Mike Blumenkrantz cf8ab5c674 for the last time: CONFIG.H ALWAYS GETS INCLUDED FIRST. AAAAAAAALLLLLLLLLLLLLLLLLLLLLLLWAAAAAAAAAAAAAAAAAAAAAAAAAAAYYYYYYYYYYYYYYYYYYYYYSSSSSSSSSSSSSSSSSSS
SVN revision: 69764
2012-03-29 19:27:13 +00:00
Daniel Juyung Seo 8c17d99712 elm: Fixed formatting. Added a space after 'if/while/for'
SVN revision: 69744
2012-03-29 11:09:45 +00:00
Daniel Juyung Seo 9c3fa866f5 elm: Applied icon/image API changes.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68728
2012-03-05 15:10:59 +00:00
Aharon Hillel cb31e1367d elementary: updated sources to fix warnings.
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 68336
2012-02-23 13:58:49 +00:00
Aharon Hillel 5eb64aafe0 elementary: Updated test_box.c to do API testing
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 68322
2012-02-23 13:58:04 +00:00
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