Commit Graph

56 Commits

Author SHA1 Message Date
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
Carsten Haitzler f47d6203b0 elementary.h.... oh so much formatting cleanup. spacing... etc. also
elm_thumb really has no choice - has to return void * for thumb client.



SVN revision: 55252
2010-12-04 04:10:25 +00:00
helen 030b697366 EINA_SAFETY_ON_NULL_RETURN
Checking parameters with EINA_SAFETY_ON_NULL_RETURN and
EINA_SAFETY_ON_NULL_RETURN_VAL in Elementary

SVN revision: 55188
2010-12-03 14:08:33 +00:00
Carsten Haitzler ef82b1451c 1. need calls return runtime failure if elm doesnt have the feature.
2. elm config dont use desktops if no efreet.



SVN revision: 53945
2010-10-28 04:13:09 +00:00
Tiago Rezende Campos Falcao 15d0643b10 Getters should received const pointers
Only two getters continue without const:
* elm_theme_get
Need name review, or comportament.

* elm_toolbar_item_menu_get
Need comportament review, but will be fixed by bdilly.

SVN revision: 53874
2010-10-25 14:34:22 +00:00
Tiago Rezende Campos Falcao 4672a51b0c Remove tests == 0 and != 0
SVN revision: 53787
2010-10-22 21:41:27 +00:00
Tiago Rezende Campos Falcao 1a93e760bd Coccinelle
SVN revision: 53786
2010-10-22 21:41:22 +00:00
Bruno Dilly a109dce782 Fix some wextra complains on elm lib
SVN revision: 53635
2010-10-19 18:24:27 +00:00
Lucas De Marchi 4b7e285cf8 warnings--
* Remove warnings caused by comparison between signed and unsigned values
 * Remove a comparison of unsigned expression < 0 that is always false



SVN revision: 53588
2010-10-19 02:17:37 +00:00
Brett Nash 580c2797bb elm_cnp: Elm Drop Data is now Elm Selection data.
SVN revision: 53556
2010-10-18 04:48:44 +00:00
Christopher Michael c17b186326 Add UNUSED where missing.
Use #defines for string constants (less 'const char' variables being
used).
Fix formatting & whitespace where needed.



SVN revision: 53287
2010-10-12 03:59:30 +00:00
Gustavo Sverzut Barbieri 6a10964414 don't use ethumb if no path was set yet.
SVN revision: 53235
2010-10-09 18:43:03 +00:00
Gustavo Sverzut Barbieri e7924d7fac cancel previous request, if any.
SVN revision: 53216
2010-10-08 22:43:17 +00:00
Gustavo Sverzut Barbieri 3bdda23c70 ethumb reload function.
SVN revision: 53215
2010-10-08 22:14:50 +00:00
Tiago Rezende Campos Falcao 8ca4d18a0b Fixing can_focus to the widgets
Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

widgets:
anchorblock:    can_focus = EINA_TRUE
anchorview:     can_focus = EINA_TRUE
fileselector:   can_focus = EINA_FALSE
hoversel:       can_focus = EINA_FALSE
notepad:        can_focus = EINA_TRUE
scrolled_entry: can_focus = EINA_TRUE
bubble:         can_focus = EINA_FALSE
calendar:       can_focus = EINA_TRUE
clock:          can_focus = EINA_TRUE
conformant:     can_focus = EINA_FALSE
flip:           can_focus = EINA_FALSE
frame:          can_focus = EINA_FALSE
gengrid:        can_focus = EINA_TRUE
genlist:        can_focus = EINA_TRUE
index:          can_focus = EINA_FALSE
list:           can_focus = EINA_TRUE
layout:         can_focus = EINA_FALSE
map:            can_focus = EINA_TRUE
mapbuf:         can_focus = EINA_FALSE
menu:           can_focus = EINA_FALSE
notify:         can_focus = EINA_FALSE
pager:          can_focus = EINA_FALSE
panes:          can_focus = EINA_FALSE
progressbar:    can_focus = EINA_FALSE
photocam:       can_focus = EINA_TRUE
scroller:       can_focus = EINA_TRUE
table:          can_focus = EINA_FALSE
thumb:          can_focus = EINA_FALSE
win:            can_focus = EINA_FALSE

SVN revision: 52888
2010-09-29 12:22:30 +00:00
Brett Nash e8346ef866 elm_thumb: Can now be dragged too.
SVN revision: 52285
2010-09-15 05:42:19 +00:00
Brett Nash ecddd92903 Allow multiple calls to need_ethumb, efree and edbus without messing
everything up.

SVN revision: 52235
2010-09-14 07:01:57 +00:00
Luis Felipe Strano Moraes ffe42daedb Better variable naming for elm_thumb.
By: Rafael "15 years experience" Fonseca <rfonseca@profusion.mobi>



SVN revision: 50389
2010-07-20 18:42:59 +00:00
Luis Felipe Strano Moraes eb03502762 After Sachiel's changes about making the edje_object a sub_object of
elm_thumb widget, all the stuff about alignement and crop are not
used anymore.

By: Rafael "15 years experience" Fonseca <rfonseca@profusion.mobi>



SVN revision: 50388
2010-07-20 18:42:21 +00:00
Luis Felipe Strano Moraes f0e322d506 Set size min hint to elm_thumb.
By: Rafael "15 years" Fonseca <rfonseca@profusion.mobi>



SVN revision: 50387
2010-07-20 18:41:04 +00:00
Gustavo Sverzut Barbieri 9d7be6a1f4 fix hide/del bug if thumb generation was pending, reuse objects if possible.
As spotted by Brian, we were not cancelling the thumbnail generation
on hide/delete, when the generation finished garbage would be used and
we'd segv. This commit fixes this, also removing the useless
is_generating, as it can be interpreted from wd->id (-1 is not
generating).

As an optimization, we now just delete the view object if it changed
between image and edje (video), otherwise we reuse it.




SVN revision: 50268
2010-07-15 14:29:17 +00:00
Gustavo Sverzut Barbieri 6762573b97 Fix elm_thumb smart callback calling
Currently, elm_thumb is passing the wrong pointer to the
smart_callback_call function, so the callbacks are not being
called. The attached patch fix that.

By: Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 50258
2010-07-14 21:29:10 +00:00
Cedric BAIL bdf6efa129 * elementary: fix Ecore API changes.
SVN revision: 49860
2010-06-25 09:58:14 +00:00
Bruno Dilly 37250a5ab6 This patch make it possible to ask elm_thumb for the generated thumbnail
path.

By: Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 49550
2010-06-06 22:15:27 +00:00
Fabiano Fidêncio 7746e8b514 From: Fabiano Fidêncio <fidencio@profusion.mobi>
Changing return of Eina_Bool functions that were not EINA_TRUE or
EINA_FALSE in Edje.
In Elementary too ...



SVN revision: 49470
2010-06-05 13:12:45 +00:00
Iván Briano 5a19ae8a8b Set main object as resize object for the widget
This way, Elementary handles stacking, resizing and moving of the
object by itself, instead of letting it loose and stacked over
everything else.



SVN revision: 48945
2010-05-17 17:36:43 +00:00