Commit Graph

81 Commits

Author SHA1 Message Date
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
Cedric BAIL 833b17ee4c elementary: reduce possibility of reading thumbnail in the middle of its generation.
SVN revision: 59005
2011-04-28 14:04:00 +00:00
Cedric BAIL 53d904d493 elementary: fix race condition in elm_thumb.
SVN revision: 59003
2011-04-28 13:24:18 +00:00
Daniel Juyung Seo a42dba4f42 Elementary thumb: Added ethumb check routine.
SVN revision: 58982
2011-04-28 02:01:13 +00:00
Daniel Juyung Seo 4fc323297f Elementary thumb: Fixed warning.
SVN revision: 58981
2011-04-28 00:33:46 +00:00
Cedric BAIL 0502444c42 elementary: use new ethumb async exists API.
SVN revision: 58978
2011-04-27 18:07:18 +00:00
ChunEon Park 9420b44918 elementary/segment_control, panes, photocam, photo, win, toolbar, thumb, slideshow, spinner - updated signal callbacks.
made them use signal callbacks description table. 
removed never-called signals
updated doxygen. 




SVN revision: 58816
2011-04-22 00:42:32 +00:00
ChunEon Park 902a467b7e Elementary / genlist, slider, radio, win toolbar, thumb, toggle, scroller, slideshow, spinner
updated signall callback list in each doxygen 



SVN revision: 58342
2011-04-05 02:04:28 +00:00
ChunEon Park 22588576be elementary/theme, widget, win, toolbar, thumb, toggle, util, box - removed white spaces
SVN revision: 58249
2011-04-01 11:20:18 +00:00
Carsten Haitzler f74c18a02e make all widgets use a standard setup macro. cuts code down and
handles null parent errors, null wd alloc, null obj create errors etc.



SVN revision: 58242
2011-04-01 06:08:02 +00:00
3v1n0 ff67ce31fb Always check for valid evas object.
If you try to create a new widget, you must be sure that the parent
is really an evas object.

With the previous implementation it was possible to call an _add
function for an elementary widget with any non-null pointer as parent
eventually causing crashes (like with the elm_box).


SVN revision: 55521
2010-12-12 19:12:43 +00:00