Commit Graph

1185 Commits

Author SHA1 Message Date
Massimo Maiurana e8c7c67f7b updating french and italian translations
SVN revision: 50428
2010-07-22 11:50:07 +00:00
Carsten Haitzler 35be1859a0 fix possible null ptr deref
SVN revision: 50422
2010-07-21 23:33:35 +00:00
Bruno Dilly e7bd53447a "Ooops, forgot about edje_external in the previous patch. Can someone apply this for me? Thanks."
By Rafael Fonseca <rfonseca@profusion.mobi>


SVN revision: 50393
2010-07-20 21:51:08 +00:00
Bruno Dilly 7808d77502 Add setters and getters to interval for elm spinner and clock
SVN revision: 50392
2010-07-20 21:38:17 +00:00
Jonathan Atton d3ca0b2466 els_icon : hide the object while the image is preloading
SVN revision: 50390
2010-07-20 19:33:40 +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
Jonathan Atton 17288ba690 elm_slideshow:
* remove printf
* no more realize the current item in item_add(). The last item is always and it is the previous item of the first item, consequently a new item was built each time a item vas added :/

SVN revision: 50386
2010-07-20 18:30:22 +00:00
Jonathan Atton c2ad5fd00c elm_slideshow: pre-calcul the next and the previous items, very usefull if the object is big (like a photo)
SVN revision: 50385
2010-07-20 18:26:22 +00:00
Jonathan Atton cefe73d5dc els_icon: preload the image
SVN revision: 50384
2010-07-20 18:04:37 +00:00
Jonathan Atton a9538e68d0 elm_slideshow: use itc-del to delete the data and not the object.
SVN revision: 50383
2010-07-20 16:36:31 +00:00
Davide Andreoli 935260049c small fix in doc
SVN revision: 50322
2010-07-18 11:56:56 +00:00
Jonathan Atton 56079f7819 elm_hover/hoversel: set a default parent in the constructor. With the edje external type we can not set a parent currently but with this patch we can use theses widgets in specifics conditions (the parent will be the edje group)
SVN revision: 50303
2010-07-17 08:54:51 +00:00
Jonathan Atton 7a8c3ce129 External elm_slideshow: add "string: layout"
SVN revision: 50302
2010-07-17 08:18:04 +00:00
Davide Andreoli 9dc25a32d2 whops, commit also Elementary.h.in I always forbot about it :(
and add the cube also to test2

SVN revision: 50289
2010-07-16 20:47:21 +00:00
Mike Blumenkrantz 3b66bd0ff9 things that are important: not trying to pass off a format string as a buffer size in snprintf :)
SVN revision: 50288
2010-07-16 20:39:17 +00:00
Davide Andreoli 5005200d84 Flip widget: add 2 new flip style:
ELM_FLIP_CUBE_RIGHT, ELM_FLIP_CUBE_LEFT

As you can imagine the new animations make the flip as a rotating cube,
the 2 contents are on 2 different faces.


SVN revision: 50287
2010-07-16 20:30:11 +00:00
Carsten Haitzler 64b374c77f finger waggles! this is to make sure developers actually read docs!
SVN revision: 50277
2010-07-16 06:38:59 +00:00
Carsten Haitzler 99f9670d3f fix formatting, docs and warnings. and bug.
SVN revision: 50276
2010-07-16 06:21:25 +00:00
장효영 b32cbb2a3a From: 장효영 <hyoyoung.chang@samsung.com>
I've added elm_label features. That are fontsize, color, background color and
ellipsis (cutting text to fit widget size) features. Most of the property
setting API is wrapping to label tag set.

The rllipsis feature checks part size and cuts character to fit its size.



SVN revision: 50275
2010-07-16 05:50:45 +00:00
Gustavo Sverzut Barbieri c9e3c7dfbc allow group's min to limit the calculated size.
PS: probably other widgets that use swallow should have this, so
objects that have minimum size of 0x0 (like list/genlist) can be
forced to some size using group.min.



SVN revision: 50274
2010-07-15 23:14:55 +00:00
Christopher Michael d3656fc2b3 Clear gengrid Before deleting the pan object. (also, clear function
already deletes the calc job).



SVN revision: 50273
2010-07-15 22:34:55 +00:00
Jonathan Atton 9793de8b33 Elm_Slideshow: Fix the edje, I hope this time it is correct
Elm_Notify: set orient = -1, else the default orientation (0) will be not set because the orient does not change (see the test in elm_notify_orient_set())

SVN revision: 50270
2010-07-15 17:41:19 +00:00
Jonathan Atton 2ad9cb0ad5 Elm_Slideshow : rollback, remove the possibility to have more than 1 item display at the same time. We need a specific widget to do this with specifics animations.
SVN revision: 50269
2010-07-15 17:09:59 +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
Jonathan Atton 974c982095 Elm_Slideshow: Delete correct objects at the correct time. The expose layout bug in specifics condition.
SVN revision: 50263
2010-07-15 09:30:52 +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
Gustavo Sverzut Barbieri 7f8627f801 fix widgets that were forcing style to be "default".
SVN revision: 50257
2010-07-14 21:14:52 +00:00
Jonathan Atton 3eaecdafbd Elm_Slideshow:
- Add a new layout : expose
- Add a way to display more than 1 slide at a time, the number of slides displayed is defined in the layout

SVN revision: 50256
2010-07-14 21:12:58 +00:00
Gustavo Lima Chaves 6005cc95e7 Elm notify theme apply.
Patch by k-s.



SVN revision: 50252
2010-07-14 19:04:22 +00:00
Jonathan Atton a05015145d Elm_Photo:
- Add a way to display a photo by keeping the ratio AND the theme can display something around the photo (border ...). The way I use is maybe a bit crappy (embryo, offset ...) but I do not know a better way.
 - Add a new style (with a shadow). The default style has no changes
 If you do not like my way, revert the commit and commit your way :)
 
Elm_Slideshow:
 - Use elm_photo in the test
 - Add a black background

SVN revision: 50248
2010-07-14 14:48:21 +00:00
Jonathan Atton b8e248f29c Add a list of "layout" to elm_slideshow. A layout is like a "sub-style". For example the content can take all the slideshow widget (~fullscreen) or not. I do not have finish to work on it.
SVN revision: 50247
2010-07-14 09:07:43 +00:00
Lucas De Marchi e87ed1007b Remove unneeded code with notnull.cocci script
This continues previous commit with more complex places, where it required
more than just removing some "ifs".



SVN revision: 50242
2010-07-14 02:20:30 +00:00
Lucas De Marchi 6325ab86a3 Remove unneeded code with notnull.cocci script
The notnull.cocci script from Coccinelle finds places where you check if a
variable is NULL, but it's known not to be NULL. The check can be safely
removed. For example, this code would be caught by notnull:

if (!var) return;
if (var && var->fld) { ... }

It's needless to check again if var is not NULL because if it's in fact NULL,
it would have returned on the previous "if". This commit removes all the
trivial places where this pattern happens. Another patch will be generated for
the more complex cases.


SVN revision: 50241
2010-07-14 02:05:47 +00:00
Bruno Dilly 4c02246e5d Use widget style instead of default on elm index items
SVN revision: 50236
2010-07-13 21:33:12 +00:00
Lucas De Marchi 821160957f ops, copy & past fail
I meant clock_val_down_exit_on_error.



SVN revision: 50211
2010-07-13 02:10:00 +00:00
Lucas De Marchi 51429ba1ec Fix dereference of null pointer
Bug found by Coccinelle with 'isnull.cocci' script (Dereference of an
expression that has been checked to be NULL) [1].

[1] http://www.emn.fr/x-info/coccinelle/rules/isnull.html



SVN revision: 50210
2010-07-13 02:01:52 +00:00
Rafael Fonseca e2c8e29aa8 From: Rafael Fonseca <rfonseca@profusion.mobi>
Subject: [E-devel] [PATCH] [Elementary] Fix flickering issue on
elm_slideshow

Hey guys,

the attached patch solves the issue of the previous image flickering 
after the transition is over on elm_slideshow.



SVN revision: 50190
2010-07-12 01:15:52 +00:00
Carsten Haitzler bae2ede1aa actually ONLy need 1 -I
SVN revision: 50182
2010-07-11 23:39:54 +00:00
Carsten Haitzler 0fec718cb1 also conform to the includes in name-vmaj dir policy
SVN revision: 50181
2010-07-11 23:34:49 +00:00
Jonathan Atton 24f5b1831b Add the elm notify external object
SVN revision: 50180
2010-07-11 21:19:27 +00:00
Lucas De Marchi 5fa0945d28 Constify parameters of elm_widget_drag_*_get functions
Change "Evas_Object*" to "const Evas_Object*" in:
 * elm_widget_drag_lock_x_get()
 * elm_widget_drag_lock_y_get()
 * elm_widget_drag_child_locked_x_get()
 * elm_widget_drag_child_locked_y_get()

By: Fabiano Fidencio <fidencio@profusion.mobi>



SVN revision: 50177
2010-07-10 22:05:37 +00:00
Carsten Haitzler e3679621e0 barf. build. didnt use ethubm cflags. bad!
SVN revision: 50171
2010-07-10 02:31:58 +00:00
Carsten Haitzler ed968a9b0f err should be ethumb_client - not ethumb.
SVN revision: 50170
2010-07-10 02:28:01 +00:00
Gustavo Sverzut Barbieri 340b0b6f5e Fix gengrid usage of item class style.
By: Leandro "acidx" Pereira <leandro@profusion.mobi>



SVN revision: 50136
2010-07-08 23:17:12 +00:00
Bruno Dilly 5e928b9366 Add possibility to get all the items in Gengrid
By Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 50087
2010-07-06 21:14:38 +00:00
Christopher Michael 12e6621218 Fix warning related to Ecore Api changes.
Fix some formatting.



SVN revision: 50085
2010-07-06 20:16:25 +00:00
titan 25ef450968 Patch to fix gengrid item positioning. From Rafael Fonseca.
SVN revision: 50053
2010-07-06 01:23:54 +00:00
ChunEon Park c2758ed8c9 From: ChunEon Park <chuneon.park@samsung.com>
Subject: elm_animator

an animator wrapper - can be attached to an object (and be deleted if
object is deleted) and otherwise call a callback with a 0.0->1.0 value
where along the path you should be etc. etc. - ie handle higher level
animation runs.



SVN revision: 50039
2010-07-04 23:41:48 +00:00