Commit Graph

111 Commits

Author SHA1 Message Date
Tom Hacohen 12e4804c06 thumb: Adjusted to Eo2. 2014-04-10 09:39:31 +01:00
Daniel Zaoui b55775d43c Eolian: Integration of Thumb 2014-03-31 10:23:51 +03:00
Daniel Juyung Seo db5fe2581d elm: Removed unnecessary null check for evas_object_del. 2014-01-22 10:54:52 +09:00
Daniel Juyung Seo 43533a2fb9 elm: Removed unnecessary null check for eina_stringshare_del. 2014-01-22 10:54:45 +09:00
Daniel Juyung Seo fd5c046dfe elm: Changed __UNUSED__ to EINA_UNUSED. 2014-01-06 23:33:57 +09:00
Stephen Houston 6c3e99c0a5 elm_thumb: Delete ethumb object on smart_del in order to prevent the ethumb from being left as an artifact after the elm_thumb has been deleted. 2013-12-29 11:24:54 -06:00
Daniel Juyung Seo e63dd3110a elm: Unified eina critical manro to CRI.
Being annoyed by different types of eina critical macros - CRI, CRIT,
 CRITICAL -, I concluded to unify them to one. Discussed on IRC and
 finally, CRI was chosen to meet the consistency with other macros -
 ERR, WRN, INF, DBG - in terms of the number of characters.
If there is any missing bits, please let me know.
2013-12-26 13:03:55 +09:00
Daniel Juyung Seo 6d71a23c3a elm lib: removed all the unnecessary empty lines.
being pedantic.
2013-12-15 06:18:35 +09:00
Yakov Goldberg 5bed747f58 thumb: typo in Eo OP_ID name 2013-11-17 13:23:17 +02:00
Carsten Haitzler 9d4a9900cc option build deps that efl guarantees... now just are assumed and not ifdef'd 2013-11-12 22:56:05 +09:00
Tom Hacohen 2f1e1554e5 Changed Eo class names to be consistent.
All the class names are now of the format: Elm_Type_Subtype_Extra
2013-11-07 11:44:22 +00:00
Daniel Zaoui b66233d128 DnD: multi-callbacks support
This features permits execution of more than one set of functions during
DnD.
Delete function API has been modified to give the developer the
possibility to remove a specific set of functions.
2013-11-05 08:28:54 +02:00
Daniel Juyung Seo 4cd13727f1 elm_thumb.c: Refactoring. Now thumb inherits layout. 2013-10-17 14:27:01 +09:00
Jaehyun Cho db2d711d64 [elm_widget] Enable not to add resize object to or delete resize object from sub object when the resize object is set.
Summary: Add one more argument, 'Eina_Bool sub_object' to elm_widget_resize_object_set. If the argument, 'sub_object' is set as EINA_TRUE, the new resize object is added to the sub object and the previous resize object is deleted from the sub object.

Reviewers: Hermet, seoz

CC: Jaehyun_Cho, seoz, raster

Differential Revision: https://phab.enlightenment.org/D265
2013-10-17 01:19:40 +09:00
Amitesh Singh 9eb1b1f65e elm_thumb.c: focus/unfocused support in thumb.
This feature is enabled only when the user enalbed focus support manually for thumb.

Reviewers: seoz

Differential Revision: https://phab.enlightenment.org/D241
2013-10-14 19:12:32 +09:00
Daniel Juyung Seo 6397761c6a elm_test: Fixed formatting. tab to space.
Changed tab to space before working on the code.
Kinda surprised by the number of tabs we had.
2013-10-14 19:12:32 +09:00
Carsten Haitzler 95fdc9cc88 fix up namespace for many signal while keeping old versions for compat 2013-10-05 21:35:27 +09:00
Daniel Juyung Seo b76f4b9e2e elm_thumb.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:15:56 +09:00
Cedric Bail 29af5e1e43 elementary: update to new eo_parent_get/set API. 2013-09-25 13:34:27 +09:00
Michaël Bouchaud (yoz) bde54b0e16 elementary: del image_preload signal callback on elm_thumb when needed 2013-09-10 12:52:11 +02:00
ChunEon Park d461a8be05 elementary/widgets - set parents before widget constructs their body.
This avoids unnecessary multiple setups when obj and subobj has connected.
2013-08-27 14:19:19 +09:00
Stephen Houston 0b60d87ac5 elm_thumb: Add support for ethumb formatting and size manipulation.
Add the ability to manipulate elm_thumb thumbnails per object by
exposing ethumb manipulation. Reviewed by raster and SeoZ.
2013-08-11 23:30:27 -05:00
Carsten Haitzler ebc1219eef Revert "elm_thumb - Fix always false on elm_thumb_ethumb_client_get"
This reverts commit 0b787c4829a7b54b8612a9828aba47df7fe37588.
2013-08-05 12:16:55 +09:00
Stephen Houston e3484dcac4 elm_thumb - Fix always false on elm_thumb_ethumb_client_get
When ethumb_client_init is called in elm_need_ethumb, the ethumb client needs to be set in order to use
elm_thumb_ethumb_client_get after calling elm_need_ethumb. spank spank raster for removing? :)
2013-08-04 16:40:29 -05:00
Carsten Haitzler f4896a6ae6 ethumb - stop requesting ethumbd to start again every time it dies 2013-07-04 08:39:00 +09:00
Daniel Juyung Seo 29a3cb3105 elm_thumb.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 21:08:22 +09:00
Daniel Zaoui 441a95662d Elementary: fix elm_thumb by giving the object as data of the callback.
The callbacks were expecting the object itself when they were receiving
the data of this object.
2013-05-14 09:50:31 +03:00
Mike Blumenkrantz 40924d8994 if you see some blatantly wrong old code below the #ifdef block you're working on, fix it ffs!
I'M LOOKING AT YOU, JACKDANIELZ
2013-05-10 13:37:30 +01:00
Cedric Bail c929b33052 elementary: properly sanitize headers order. 2013-05-03 16:07:06 +09:00
Daniel Zaoui 187d6bf8de Elementary: replace eo_data_get for objects data referencing. 2013-05-01 11:04:09 +03:00
Daniel Juyung Seo 74b3eed5fd elm: print the error message inside elm_widget_sub_object_add().
1. Do not need to print the same error message from all the widget codes.
2. Even though elm_widget_sub_object_add() can be used internally, there should be no error message at all.
   Elm devs should fix it beforehand.
   So it looks ok to print the error message in elm_widget_sub_object_add() to force elm devs to fix it.
3. Got additional code cleanups.
2013-04-03 11:28:53 +09:00
Daniel Juyung Seo 615d05bfe5 elm: removed unnecessary multi blank lines. 2013-04-03 10:45:15 +09:00
Tom Hacohen d75cb616da Change usage of eo_do_super to the new prototype. 2013-03-18 16:15:12 +00:00
Daniel Juyung Seo 78c042cdbe elm *.c: fixed formatting with EINA_LIST_FREE.
EINA_LIST_FREE (xxx) -> EINA_LIST_FREE(xxx)
2013-03-09 13:23:42 +09:00
Gustavo Lima Chaves 312d0217a0 An internal layout error, on a widget set, is a CRITICAL error. 2013-03-01 23:04:31 -03:00
Carsten Haitzler 3091ccc3f6 flesh out a lot more of dnd support in elm and add apis to set up dnd
targets for objects as well as initiate a dnd.



SVN revision: 84282
2013-02-21 13:21:08 +00:00
Daniel Zaoui cdd1eea853 Replace supported_types
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 83803
2013-02-10 07:52:31 +00:00
Daniel Juyung Seo 1a9f44f993 elm thumb: Fixed thumb theme hook.
SVN revision: 82882
2013-01-16 11:49:31 +00:00
Stefan Schmidt 3a650a499b elm/thumb: Make sure we also build without ethumb.
Patch by Tasn.

SVN revision: 82758
2013-01-14 12:20:57 +00:00
Gustavo Sverzut Barbieri cf67b17f8b fix elm_thumb usage of edje/elm
really, the problem was not even ethumb, but mixing elm_layout and
evas_object with edje.



SVN revision: 82740
2013-01-14 01:24:53 +00:00
Mike McCormack e334e681ec elementary: Fix an unused warning
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 82670
2013-01-11 21:41:01 +00:00
Daniel Juyung Seo ffa9c1e793 elm: Refactoring.
Smart data is already initialized so we do not need to re-initialize them if the value equals to 0, NULL, or EINA_FALSE.
Sometimes re-initializing smart data explicitly is needed for readability. So there are left overs.

SVN revision: 82228
2013-01-04 19:10:19 +00:00
Gustavo Sverzut Barbieri 066157cfdb more shutdown fixes for elm_need/unneed.
SVN revision: 80258
2012-12-05 15:13:18 +00:00
Daniel Zaoui 0c915e9023 Cleaning: removed include Eo.h in widgets because it was indirectly included by Elementary.h
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79682
2012-11-26 09:29:01 +00:00
Yakov Goldberg 5c98343198 We have ported to Eo all the widgets of elementary. We didn't change the inheritance itself, only the mechanism, as done previously in Evas, Ecore and Edje. We removed totally the previous inheritance mechanism.
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79668
2012-11-26 06:32:53 +00:00
Daniel Juyung Seo f05a7001f1 elm image, photo, plug, segment_control, thumb: Check button type and on_hold flag on mouse_down/up.
SVN revision: 79284
2012-11-14 10:49:54 +00:00
Daniel Juyung Seo 30dba54610 elm: Fixed indentations for EINA_LIST/INLIST_FOREACH(_SAFE).
SVN revision: 77244
2012-10-01 07:36:27 +00:00
Gustavo Lima Chaves 4ee9bb397e [elm] Thumb now inheritable.
SVN revision: 74604
2012-07-30 22:35:44 +00:00
Gustavo Lima Chaves 584c53c1be [elm] New elm_widget_add() usage spread.
SVN revision: 74148
2012-07-18 21:03:39 +00:00
Gustavo Lima Chaves 971b8a98fa [elm] Init code fix - thumb.
SVN revision: 74005
2012-07-17 18:43:53 +00:00