Commit Graph

91 Commits

Author SHA1 Message Date
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
Jihoon Kim 797bd6ecee elm_thumb: fix build warning in case of no ethumb
SVN revision: 71184
2012-05-16 23:44:46 +00:00
Gustavo Lima Chaves 728f4210c2 [elm] warnings, be gone
SVN revision: 71177
2012-05-16 19:28:07 +00:00
Gustavo Lima Chaves e607a807f6 [elm] Making thumb a base widget.
I've received feedback on being bad to expose the thumb's frame.
So, making it a base widget here. Let me know what you guys think.



SVN revision: 71176
2012-05-16 19:04:10 +00:00
Gustavo Lima Chaves 83f37467b6 [elm] Thumb now a layout.
SVN revision: 71173
2012-05-16 17:20:42 +00:00
Cedric BAIL a666de6518 elementary: reload theme when it change on disk.
NOTE: This is not very robust yet. But that's not related to this patch.
You can see the issue when switching between two different theme in
elementary_config. At some point elementary_test start to loose information.


SVN revision: 70895
2012-05-09 10:46:14 +00:00
Carsten Haitzler 1b1489da31 elm_thumb_ethumb_client_connected ->
elm_thumb_ethumb_client_connected_get()

more consistent name.



SVN revision: 68001
2012-02-16 05:58:23 +00:00
Jihoon Kim 61ea7edcd0 elm_thumb.c: fix build warning in case without ethumb
SVN revision: 67744
2012-02-08 01:45:26 +00:00
Michael BOUCHAUD 302124b296 elementary: move pulse,stop signal to a better place
SVN revision: 66865
2012-01-04 11:35:45 +00:00
Carsten Haitzler 4ca8671927 if u are going to add assert()'s - include assert.h!
SVN revision: 65952
2011-12-06 09:39:38 +00:00
Cedric BAIL 13c14120f2 elementary: use new Ethumb facility.
SVN revision: 65782
2011-12-01 15:37:56 +00:00
Cedric BAIL f7e4327955 ethumb: cleanup API.
SVN revision: 65660
2011-11-28 23:24:32 +00:00
Gustavo Lima Chaves 31a3e6180a [elementary] All docs to elm's header, as Raster wishes.
Discomfitor, now it's time to split the header and/or write another novel.



SVN revision: 62315
2011-08-10 21:03:21 +00:00
Rafael Antognolli 5286f7a506 elementary/thumb - Added explained example and some more doc.
SVN revision: 61960
2011-08-01 17:37:10 +00:00
Cedric BAIL 0bb407df5c elementary: use the key provided by ethumb.
SVN revision: 60753
2011-06-28 09:17:37 +00:00
Daniel Juyung Seo 0349ab98ce elm: Fixed wrong vim formatting.
SVN revision: 60714
2011-06-27 02:54:41 +00:00
Cedric BAIL e20bf4eba5 elementary: add elm_icon_thumb_set.
NOTE: it will only display thumbnail if you requested ethumb in your app.
See fileselector example for more information.


SVN revision: 59848
2011-05-31 16:16:01 +00:00
Cedric BAIL b795bd3985 elementary: fix aspect ratio of thumbnail.
SVN revision: 59192
2011-05-04 14:11:12 +00:00
Cedric BAIL 728b6f153a elementary: make elm_thumb never lock your app.
SVN revision: 59113
2011-05-02 10:20:25 +00:00
Daniel Juyung Seo e6a05d7bb2 Elementary thumb: Fixed warnings.
SVN revision: 59037
2011-04-29 12:40:47 +00:00
Cedric BAIL 97febc0a94 elementary: proper fix for thumbnail race condition.
NOTE: evas is able to load corrupted file in some case.
Without proper detection of this corrupted file, we will always end
up with some error when doing thumbnail of the same file in parallele.


SVN revision: 59013
2011-04-28 15:53:19 +00:00