Luis Felipe Strano Moraes [Tue, 20 Jul 2010 18:42:21 +0000 (18:42 +0000)]
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
Luis Felipe Strano Moraes [Tue, 20 Jul 2010 18:41:04 +0000 (18:41 +0000)]
Set size min hint to elm_thumb.
By: Rafael "15 years" Fonseca <rfonseca@profusion.mobi>
SVN revision: 50387
Jonathan Atton [Tue, 20 Jul 2010 18:30:22 +0000 (18:30 +0000)]
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
Jonathan Atton [Tue, 20 Jul 2010 18:26:22 +0000 (18:26 +0000)]
elm_slideshow: pre-calcul the next and the previous items, very usefull if the object is big (like a photo)
SVN revision: 50385
Jonathan Atton [Tue, 20 Jul 2010 18:04:37 +0000 (18:04 +0000)]
els_icon: preload the image
SVN revision: 50384
Jonathan Atton [Tue, 20 Jul 2010 16:36:31 +0000 (16:36 +0000)]
elm_slideshow: use itc-del to delete the data and not the object.
SVN revision: 50383
Davide Andreoli [Sun, 18 Jul 2010 11:56:56 +0000 (11:56 +0000)]
small fix in doc
SVN revision: 50322
Jonathan Atton [Sat, 17 Jul 2010 08:54:51 +0000 (08:54 +0000)]
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
Jonathan Atton [Sat, 17 Jul 2010 08:18:04 +0000 (08:18 +0000)]
External elm_slideshow: add "string: layout"
SVN revision: 50302
Davide Andreoli [Fri, 16 Jul 2010 20:47:21 +0000 (20:47 +0000)]
whops, commit also Elementary.h.in I always forbot about it :(
and add the cube also to test2
SVN revision: 50289
Mike Blumenkrantz [Fri, 16 Jul 2010 20:39:17 +0000 (20:39 +0000)]
things that are important: not trying to pass off a format string as a buffer size in snprintf :)
SVN revision: 50288
Davide Andreoli [Fri, 16 Jul 2010 20:30:11 +0000 (20:30 +0000)]
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
Carsten Haitzler [Fri, 16 Jul 2010 06:38:59 +0000 (06:38 +0000)]
finger waggles! this is to make sure developers actually read docs!
SVN revision: 50277
Carsten Haitzler [Fri, 16 Jul 2010 06:21:25 +0000 (06:21 +0000)]
fix formatting, docs and warnings. and bug.
SVN revision: 50276
장효영 [Fri, 16 Jul 2010 05:50:45 +0000 (05:50 +0000)]
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
Gustavo Sverzut Barbieri [Thu, 15 Jul 2010 23:14:55 +0000 (23:14 +0000)]
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
Christopher Michael [Thu, 15 Jul 2010 22:34:55 +0000 (22:34 +0000)]
Clear gengrid Before deleting the pan object. (also, clear function
already deletes the calc job).
SVN revision: 50273
Jonathan Atton [Thu, 15 Jul 2010 17:41:19 +0000 (17:41 +0000)]
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
Jonathan Atton [Thu, 15 Jul 2010 17:09:59 +0000 (17:09 +0000)]
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
Gustavo Sverzut Barbieri [Thu, 15 Jul 2010 14:29:17 +0000 (14:29 +0000)]
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
Jonathan Atton [Thu, 15 Jul 2010 09:30:52 +0000 (09:30 +0000)]
Elm_Slideshow: Delete correct objects at the correct time. The expose layout bug in specifics condition.
SVN revision: 50263
Gustavo Sverzut Barbieri [Wed, 14 Jul 2010 21:29:10 +0000 (21:29 +0000)]
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
Gustavo Sverzut Barbieri [Wed, 14 Jul 2010 21:14:52 +0000 (21:14 +0000)]
fix widgets that were forcing style to be "default".
SVN revision: 50257
Jonathan Atton [Wed, 14 Jul 2010 21:12:58 +0000 (21:12 +0000)]
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
Gustavo Lima Chaves [Wed, 14 Jul 2010 19:04:22 +0000 (19:04 +0000)]
Elm notify theme apply.
Patch by k-s.
SVN revision: 50252
Jonathan Atton [Wed, 14 Jul 2010 14:48:21 +0000 (14:48 +0000)]
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
Jonathan Atton [Wed, 14 Jul 2010 09:07:43 +0000 (09:07 +0000)]
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
Lucas De Marchi [Wed, 14 Jul 2010 02:20:30 +0000 (02:20 +0000)]
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
Lucas De Marchi [Wed, 14 Jul 2010 02:05:47 +0000 (02:05 +0000)]
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
Bruno Dilly [Tue, 13 Jul 2010 21:33:12 +0000 (21:33 +0000)]
Use widget style instead of default on elm index items
SVN revision: 50236
Lucas De Marchi [Tue, 13 Jul 2010 02:10:00 +0000 (02:10 +0000)]
ops, copy & past fail
I meant clock_val_down_exit_on_error.
SVN revision: 50211
Lucas De Marchi [Tue, 13 Jul 2010 02:01:52 +0000 (02:01 +0000)]
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
Rafael Fonseca [Mon, 12 Jul 2010 01:15:52 +0000 (01:15 +0000)]
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
Carsten Haitzler [Sun, 11 Jul 2010 23:39:54 +0000 (23:39 +0000)]
actually ONLy need 1 -I
SVN revision: 50182
Carsten Haitzler [Sun, 11 Jul 2010 23:34:49 +0000 (23:34 +0000)]
also conform to the includes in name-vmaj dir policy
SVN revision: 50181
Jonathan Atton [Sun, 11 Jul 2010 21:19:27 +0000 (21:19 +0000)]
Add the elm notify external object
SVN revision: 50180
Lucas De Marchi [Sat, 10 Jul 2010 22:05:37 +0000 (22:05 +0000)]
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
Carsten Haitzler [Sat, 10 Jul 2010 02:31:58 +0000 (02:31 +0000)]
barf. build. didnt use ethubm cflags. bad!
SVN revision: 50171
Carsten Haitzler [Sat, 10 Jul 2010 02:28:01 +0000 (02:28 +0000)]
err should be ethumb_client - not ethumb.
SVN revision: 50170
Gustavo Sverzut Barbieri [Thu, 8 Jul 2010 23:17:12 +0000 (23:17 +0000)]
Fix gengrid usage of item class style.
By: Leandro "acidx" Pereira <leandro@profusion.mobi>
SVN revision: 50136
Bruno Dilly [Tue, 6 Jul 2010 21:14:38 +0000 (21:14 +0000)]
Add possibility to get all the items in Gengrid
By Rafael Fonseca <rfonseca@profusion.mobi>
SVN revision: 50087
Christopher Michael [Tue, 6 Jul 2010 20:16:25 +0000 (20:16 +0000)]
Fix warning related to Ecore Api changes.
Fix some formatting.
SVN revision: 50085
titan [Tue, 6 Jul 2010 01:23:54 +0000 (01:23 +0000)]
Patch to fix gengrid item positioning. From Rafael Fonseca.
SVN revision: 50053
ChunEon Park [Sun, 4 Jul 2010 23:41:48 +0000 (23:41 +0000)]
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
Gustavo Sverzut Barbieri [Thu, 1 Jul 2010 23:53:17 +0000 (23:53 +0000)]
Oops, add missing .h and minor issues.
* add const to getter
* enforce bool is 0/1
* remove trailing whitespace
SVN revision: 49982
Gustavo Sverzut Barbieri [Thu, 1 Jul 2010 23:48:10 +0000 (23:48 +0000)]
Elm_List separator support.
By: Leandro "acidx" Pereira <leandro@profusion.mobi>
SVN revision: 49981
Carsten Haitzler [Thu, 1 Jul 2010 06:59:30 +0000 (06:59 +0000)]
expose drag lock (x and y axis).
SVN revision: 49963
Carsten Haitzler [Thu, 1 Jul 2010 06:51:18 +0000 (06:51 +0000)]
somone copy & pasted junk into doc comments. bad! fix.
SVN revision: 49962
Brett Nash [Thu, 1 Jul 2010 01:18:32 +0000 (01:18 +0000)]
TUrn off debug.
SVN revision: 49956
Jonathan Atton [Wed, 30 Jun 2010 19:26:53 +0000 (19:26 +0000)]
elm_map: Add a hidden object to separate maps objects and marker objects. This way markers are always on top of the map.
SVN revision: 49952
Jonathan Atton [Wed, 30 Jun 2010 17:36:31 +0000 (17:36 +0000)]
Change the map item design
SVN revision: 49950
Brett Nash [Wed, 30 Jun 2010 13:20:58 +0000 (13:20 +0000)]
Improvements to cut and paste.
SVN revision: 49947
Bruno Dilly [Mon, 28 Jun 2010 15:32:20 +0000 (15:32 +0000)]
Change elm functions elm_object_signal_listen to elm_object_signal_callback_add
and elm_object_signal_unlisten to elm_object_signal_callback_del
SVN revision: 49926
Carsten Haitzler [Sun, 27 Jun 2010 14:06:10 +0000 (14:06 +0000)]
and final post snap - next releasename
SVN revision: 49903
Carsten Haitzler [Sun, 27 Jun 2010 13:45:27 +0000 (13:45 +0000)]
snap+release
SVN revision: 49899
Carsten Haitzler [Sun, 27 Jun 2010 13:33:31 +0000 (13:33 +0000)]
Snapshot TMP/st/elementary
SVN revision: 49898
Bruno Dilly [Fri, 25 Jun 2010 22:40:42 +0000 (22:40 +0000)]
Set hooks for elm object signal listen and unlisten for elm spinner
SVN revision: 49870
Bruno Dilly [Fri, 25 Jun 2010 22:40:11 +0000 (22:40 +0000)]
Set hooks for elm object signal emit, listen and unlisten on elm clock
SVN revision: 49869
Bruno Dilly [Fri, 25 Jun 2010 22:38:32 +0000 (22:38 +0000)]
Implement elm_object_signal_listen and unlisten
elm_object_signal_listen add callback(s) for edje object(s) of the widget.
elm_object_signal_unlisten delete this callback.
They're general functions, and every widget should set hooks for these.
It will improve elm extension flexibility. We have already
elm_object_signal_emit to send signals for the widgets theme, adding callbacks
is an expected step.
It provides a way to support sound on widgets. For example, in the elm extension
we could emit "file_to_play", "play", and add a callback with
elm_object_signal_listen for "*", "play". The callback function could use
the signal received to request the file to be played by the backend
sound system.
Certainly we should look for a better way to provide support for sound
on edje, but for now, it does the work. And anyway, it's only a use case
for these new functions.
SVN revision: 49868
Bruno Dilly [Fri, 25 Jun 2010 22:28:06 +0000 (22:28 +0000)]
fix for Ecore API changes on test_genlist
SVN revision: 49867
Vincent Torri [Fri, 25 Jun 2010 12:14:34 +0000 (12:14 +0000)]
next try to make it compile on Windows
SVN revision: 49865
Vincent Torri [Fri, 25 Jun 2010 11:56:02 +0000 (11:56 +0000)]
elm_cnp_helper.c is for X11 stuff only
SVN revision: 49864
Cedric BAIL [Fri, 25 Jun 2010 09:58:14 +0000 (09:58 +0000)]
* elementary: fix Ecore API changes.
SVN revision: 49860
Brett Nash [Thu, 24 Jun 2010 03:02:18 +0000 (03:02 +0000)]
Fix return of hover check.
SVN revision: 49827
Brett Nash [Thu, 24 Jun 2010 03:01:47 +0000 (03:01 +0000)]
return NULL, not NULL.
SVN revision: 49826
Carsten Haitzler [Thu, 24 Jun 2010 02:54:03 +0000 (02:54 +0000)]
aaah safety delete - nash nash nash. for you.
SVN revision: 49825
Jonathan Atton [Wed, 23 Jun 2010 17:58:08 +0000 (17:58 +0000)]
elm_notify: recalc everything if the size hint change
SVN revision: 49820
Brett Nash [Wed, 23 Jun 2010 08:51:58 +0000 (08:51 +0000)]
Add elm_object_top_widget_get(): Useful for hoversels.
Also useful for arguments about widget_top or top_widget.
After all it's not a widget of type top, but rather the widget at the top.
Your views? Opinions on a postcard plase.
SVN revision: 49814
Brett Nash [Wed, 23 Jun 2010 08:08:17 +0000 (08:08 +0000)]
Elm entry now uses new & improved cut and paste.
SVN revision: 49813
Brett Nash [Wed, 23 Jun 2010 08:02:35 +0000 (08:02 +0000)]
Improve content negotiation on paste
SVN revision: 49812
Brett Nash [Wed, 23 Jun 2010 01:28:57 +0000 (01:28 +0000)]
Fix elm->elm copy
SVN revision: 49810
Jonathan Atton [Tue, 22 Jun 2010 19:08:52 +0000 (19:08 +0000)]
elm_panes : add the horizontal mode
SVN revision: 49801
Jonathan Atton [Tue, 22 Jun 2010 17:27:19 +0000 (17:27 +0000)]
remove useless calcul
SVN revision: 49795
Brett Nash [Tue, 22 Jun 2010 05:12:08 +0000 (05:12 +0000)]
Add me to authors, and make selection work a bit better.
SVN revision: 49792
Brett Nash [Tue, 22 Jun 2010 01:25:20 +0000 (01:25 +0000)]
Clarify 'secondary' string.
SVN revision: 49791
Jonathan Atton [Mon, 21 Jun 2010 20:58:40 +0000 (20:58 +0000)]
refactor elm_panes_left_content* -> elm_panes_content_left*
SVN revision: 49788
Jonathan Atton [Mon, 21 Jun 2010 20:39:11 +0000 (20:39 +0000)]
elm_panes : center the bar
SVN revision: 49787
Jonathan Atton [Mon, 21 Jun 2010 20:15:57 +0000 (20:15 +0000)]
elm_panes : - add an animation with 2 arrows while the bar is dragged. - add getter/setter for the size of the left content. - in the test : double click -> open/close the left content
SVN revision: 49786
Iván Briano [Mon, 21 Jun 2010 18:16:45 +0000 (18:16 +0000)]
Fix the usage of API_ENTRY macro in the new funcion _newest_focus_order_get
By: Thiago Ribeiro Masaki <masaki@profusion.mobi>
SVN revision: 49785
Carsten Haitzler [Mon, 21 Jun 2010 07:39:49 +0000 (07:39 +0000)]
fix focus issue if child has focus and is deleted (or in this case not
- hidden) - focuse most recent focused widget.
SVN revision: 49780
Jonathan Atton [Sun, 20 Jun 2010 16:01:15 +0000 (16:01 +0000)]
Add a new widget : elm_panes :)
SVN revision: 49773
Cedric BAIL [Fri, 18 Jun 2010 14:45:42 +0000 (14:45 +0000)]
* configure.ac: take inept translation a little bit into account.
SVN revision: 49743
Iván Briano [Thu, 17 Jun 2010 16:09:23 +0000 (16:09 +0000)]
Avoid returning stack trash, thanks nash.
SVN revision: 49730
Brett Nash [Thu, 17 Jun 2010 08:50:43 +0000 (08:50 +0000)]
Updates to entry to use selection code.
SVN revision: 49728
Brett Nash [Thu, 17 Jun 2010 08:14:32 +0000 (08:14 +0000)]
Fix == and =.
SVN revision: 49727
Brett Nash [Thu, 17 Jun 2010 08:07:27 +0000 (08:07 +0000)]
Add to Makefile.
SVN revision: 49726
Brett Nash [Thu, 17 Jun 2010 08:06:07 +0000 (08:06 +0000)]
Add the Cut and Paste helper code.
SVN revision: 49725
Iván Briano [Wed, 16 Jun 2010 20:58:09 +0000 (20:58 +0000)]
Standardizing elm_<widget>_{icon,content}_set API
elm_<widget>_icon_set was changed to the better form and the signals
was passed to hidden icons when one icon is changed/removed.
Moreover, when changed by {icon,content}_set the old {icon,content}
will be deleted.
By: Fabiano Fidencio <fidencio@profusion.mobi>
SVN revision: 49706
Iván Briano [Wed, 16 Jun 2010 20:58:01 +0000 (20:58 +0000)]
Allowing that icon/content can be set as NULL
Now, we can "remove" the icon used for the widget, in editje.
By: Fabiano Fidencio <fidencio@profusion.mobi>
SVN revision: 49705
Iván Briano [Wed, 16 Jun 2010 20:57:51 +0000 (20:57 +0000)]
Changing internal name from chk to radio
chk is used to check.
By: Fabiano Fidencio <fidencio@profusion.mobi>
SVN revision: 49704
Iván Briano [Wed, 16 Jun 2010 20:57:42 +0000 (20:57 +0000)]
Including icon show/hide in bubble widget
States and program craeted to allow that the user can change/delete
an icon without the icon remain floating on the screen
By: Fabiano Fidencio <fidencio@profusion.mobi>
SVN revision: 49703
Iván Briano [Wed, 16 Jun 2010 20:57:33 +0000 (20:57 +0000)]
Fixing icon lost of external widgets in editje.
When params_free is made icons/content were deleted.
It's not necessary with the new API for icon/content set in elementary.
By: Fabiano Fidencio <fidencio@profusion.mobi>
SVN revision: 49702
Bruno Dilly [Tue, 15 Jun 2010 15:55:22 +0000 (15:55 +0000)]
Fix max value wrapping calculation of elm spinner.
By: Rafael Fonseca <rfonseca@profusion.mobi>
SVN revision: 49683
Bruno Dilly [Tue, 15 Jun 2010 15:04:05 +0000 (15:04 +0000)]
Set signal emit hooks for entry, scroller and scrolled entry.
SVN revision: 49682
Bruno Dilly [Tue, 15 Jun 2010 14:11:13 +0000 (14:11 +0000)]
Add elm_object_signal_emit
This function sends a signal to the edje object of the obj.
It's a general function, and every widget should set a hook for this.
I'm setting a hook only for the spinner now, but soon I will work on other widgets.
SVN revision: 49681
Jonathan Atton [Sat, 12 Jun 2010 16:05:48 +0000 (16:05 +0000)]
Add style "fade_invisible" to elm_panel. This style create an invisible panel (no image, we only see the content) and the transition is a fading
SVN revision: 49657
Brett Nash [Thu, 10 Jun 2010 06:41:50 +0000 (06:41 +0000)]
/me shuts up GCC for not understanding this new fangled C code.
SVN revision: 49608
Christopher Michael [Thu, 10 Jun 2010 01:21:39 +0000 (01:21 +0000)]
Don't allow toolbar to be dragable w/ the mouse if scrollable is set
to False.
SVN revision: 49602
Christopher Michael [Wed, 9 Jun 2010 21:08:12 +0000 (21:08 +0000)]
Use proper formatting.
SVN revision: 49597
Gustavo Sverzut Barbieri [Wed, 9 Jun 2010 18:22:47 +0000 (18:22 +0000)]
SVN_REPO_PATH envvar during autoconf to use svnversion in there.
Some systems, like the Gentoo, copy the svn contents somewhere before
doing the autoconf, this may result in lack of .svn and thus minor
version "0".
This patch introduces the $SVN_REPO_PATH to say where the svn checkout
containing the ".svn" directory is.
SVN revision: 49594