platform/upstream/elementary.git
13 years agoReview of content setters, getters and unsetters
Tiago Rezende Campos Falcao [Thu, 14 Oct 2010 18:54:42 +0000 (18:54 +0000)]
Review of content setters, getters and unsetters

Revised the parent, icon, end and content setter and getters of
elementary objects.
Review to smart objects and widgets items will be the next steps.

SVN revision: 53425

13 years agoallow theme of fileselector_entry components.
Gustavo Sverzut Barbieri [Thu, 14 Oct 2010 18:24:24 +0000 (18:24 +0000)]
allow theme of fileselector_entry components.

Right now I'm abusing style, setting fileselector_entry/$style on
items, however if it's not found the fallback will be 'default' and
not 'fileselector_entry/default' as it should be.

I'm wondering if this should be implemented in elm_theme.c by
replacing the last '/$component' with '/default', the remove it and
try again, like:

{{{
        input = a/b/c
        pass1 = a/b/default
        pass2 = a/b
        pass3 = a/default
        pass4 = a
        pass5 = default
}}}

SVN revision: 53423

13 years agoMake elm build again (remove duplicated function declarations which
Christopher Michael [Thu, 14 Oct 2010 18:18:34 +0000 (18:18 +0000)]
Make elm build again (remove duplicated function declarations which
had different params) ... come on people, at least build your code
before committing

SVN revision: 53422

13 years agoRemoving unused variables
Tiago Rezende Campos Falcao [Thu, 14 Oct 2010 17:58:01 +0000 (17:58 +0000)]
Removing unused variables

SVN revision: 53421

13 years agoAlloc the data before registry it as callback data.
Tiago Rezende Campos Falcao [Thu, 14 Oct 2010 17:57:58 +0000 (17:57 +0000)]
Alloc the data before registry it as callback data.

SVN revision: 53420

13 years agoAdding new toolbar api to correct .h
Tiago Rezende Campos Falcao [Thu, 14 Oct 2010 17:57:55 +0000 (17:57 +0000)]
Adding new toolbar api to correct .h

Acidx maybe added the new API in Elementary.h, but this should be done
in Elementary.h.in

SVN revision: 53419

13 years agoFix make distcheck
Lucas De Marchi [Thu, 14 Oct 2010 17:21:59 +0000 (17:21 +0000)]
Fix make distcheck

By: Peter van de Werken <pwerken-e@a-eskwadraat.nl>

SVN revision: 53416

13 years ago[Elementary] Fix style issues in Elm_Toolbar that managed to slip in my previous...
Leandro Pereira [Thu, 14 Oct 2010 16:50:05 +0000 (16:50 +0000)]
[Elementary] Fix style issues in Elm_Toolbar that managed to slip in my previous commit.

SVN revision: 53412

13 years ago[Elementary] Use themeable icons in Elm_Toolbar.
Leandro Pereira [Thu, 14 Oct 2010 15:27:31 +0000 (15:27 +0000)]
[Elementary] Use themeable icons in Elm_Toolbar.

This allows having themeable icons for toolbar items -- inclusing lower
resolution ones for the More menu button. Changes to Elm_Menu_Item in the
same spirit will follow.

SVN revision: 53407

13 years ago[Elementary] Implement priority in Elm_Toolbar.
Leandro Pereira [Thu, 14 Oct 2010 15:27:25 +0000 (15:27 +0000)]
[Elementary] Implement priority in Elm_Toolbar.

Toolbars can now be scrollable, non-scrollable, or hide icons selectively
according to a priority.  This changed the API slightly, thus

   elm_toolbar_scrollable_set(obj, 1)

Should be

   elm_toolbar_mode_expand_set(obj, ELM_TOOLBAR_EXPAND_SCROLL)

Values for non-scrollable and scrollable remain the same, so if constants
aren't being used, just the function name should be changed.

The new mode, ELM_TOOLBAR_EXPAND_MENU, will create a menu of items when the
space isn't large enough to hold all the items.  Which items will be kept on
the toolbar or which items will be added to the menu is controlled by the
priority of each item: higher ones will be kept if possible, lower ones will
be tratored on the first opportunity.

SVN revision: 53406

13 years agoClean elm of null pointers dereferences
Bruno Dilly [Thu, 14 Oct 2010 14:12:26 +0000 (14:12 +0000)]
Clean elm of null pointers dereferences

SVN revision: 53399

13 years agoClean elm of undefined assigned values
Bruno Dilly [Thu, 14 Oct 2010 14:11:53 +0000 (14:11 +0000)]
Clean elm of undefined assigned values

SVN revision: 53398

13 years agoFix typo on cnp_helper :)
Bruno Dilly [Thu, 14 Oct 2010 14:11:15 +0000 (14:11 +0000)]
Fix typo on cnp_helper :)

SVN revision: 53397

13 years agoRemove dead assignments from elementary
Bruno Dilly [Thu, 14 Oct 2010 14:10:33 +0000 (14:10 +0000)]
Remove dead assignments from elementary

The only one remaining is on index code, related to the not yet
implemented horizontal mode.

SVN revision: 53396

13 years agoAdd list item check on tooltip and cursors functions
Bruno Dilly [Thu, 14 Oct 2010 14:09:49 +0000 (14:09 +0000)]
Add list item check on tooltip and cursors functions

SVN revision: 53395

13 years agomissing some AUTHORS from patches put in.
Carsten Haitzler [Thu, 14 Oct 2010 03:51:58 +0000 (03:51 +0000)]
missing some AUTHORS from patches put in.

rememebr... if your5 name is MISSING here... and you contributed...
and you WANT your name here.. provide it IN your patch... OR remember
to remind us that you are missing...

REMIND US!!!!!!!!!!!!!!!!

SVN revision: 53389

13 years agobox & table are handled in elm_layout.
Gustavo Sverzut Barbieri [Thu, 14 Oct 2010 02:36:37 +0000 (02:36 +0000)]
box & table are handled in elm_layout.

so far they're just managing the lifetime of objects, same as swallow.

SVN revision: 53385

13 years agoadd elm_fileselector_entry
Gustavo Sverzut Barbieri [Thu, 14 Oct 2010 01:18:14 +0000 (01:18 +0000)]
add elm_fileselector_entry

works, but focus chain is not giving focus to button.

SVN revision: 53384

13 years agodefault layout improvements and fixes.
Gustavo Sverzut Barbieri [Wed, 13 Oct 2010 23:36:59 +0000 (23:36 +0000)]
default layout improvements and fixes.

toolbar-content-back got and elm.swallow.end, on the opposite side of
"back".

removed "fixed: 1 1" errors.

checked with elementary_config changing finger size and scale, works nice!

SVN revision: 53383

13 years agoFix typo.
Iván Briano [Wed, 13 Oct 2010 18:58:29 +0000 (18:58 +0000)]
Fix typo.

I mean, update highlight object to follow focused object properly.

SVN revision: 53376

13 years agoFix typo (I believe the word is breaking) ;)
Christopher Michael [Wed, 13 Oct 2010 17:50:20 +0000 (17:50 +0000)]
Fix typo (I believe the word is breaking) ;)

SVN revision: 53372

13 years agoIgnore colorpreview.edj and fix colorpicker signals documentation
Bruno Dilly [Wed, 13 Oct 2010 17:38:35 +0000 (17:38 +0000)]
Ignore colorpreview.edj and fix colorpicker signals documentation

SVN revision: 53367

13 years ago[Elm_diskpicker] define MAX macro for those (poor Windows
Vincent Torri [Wed, 13 Oct 2010 13:39:24 +0000 (13:39 +0000)]
[Elm_diskpicker] define MAX macro for those (poor Windows
developers) who don't have it

SVN revision: 53355

13 years agotypo---
Carsten Haitzler [Wed, 13 Oct 2010 12:29:33 +0000 (12:29 +0000)]
typo---

SVN revision: 53351

13 years agolets set list to null after we free it and before we call funcs that
Carsten Haitzler [Wed, 13 Oct 2010 00:41:00 +0000 (00:41 +0000)]
lets set list to null after we free it and before we call funcs that
could call callbacks that access this freed list eh?

SVN revision: 53325

13 years agocouple of standard layout for apps to use.
Gustavo Sverzut Barbieri [Tue, 12 Oct 2010 22:28:47 +0000 (22:28 +0000)]
couple of standard layout for apps to use.

These are the layouts I've seen in use, they're in B&W/Elm-default
mood, but in efenniht they should look like eve/enjoy.

SVN revision: 53318

13 years agoexport missing toolbar_item method
Gustavo Sverzut Barbieri [Tue, 12 Oct 2010 22:23:00 +0000 (22:23 +0000)]
export missing toolbar_item method

SVN revision: 53317

13 years agoDon't use values that need computing for relative & offset as this
Christopher Michael [Tue, 12 Oct 2010 21:21:38 +0000 (21:21 +0000)]
Don't use values that need computing for relative & offset as this
would cause the computation to be needed every time the widget
(colorpicker) gets moved/resized....just do the math and set the values.

SVN revision: 53315

13 years agoSome colorpicker cleanups:
Christopher Michael [Tue, 12 Oct 2010 21:10:12 +0000 (21:10 +0000)]
Some colorpicker cleanups:
  Don't need Ecore.h here, Elementary.h already includes it
  Fix formatting.
  Use #define for signal name rather than const char
  Initialize integer's with a value.
  Add 'changed' signal to Elementary.h so people know it emits changed
also.

SVN revision: 53314

13 years agoElementary Colorpicker, widget designed to select a color.
Bruno Dilly [Tue, 12 Oct 2010 20:38:00 +0000 (20:38 +0000)]
Elementary Colorpicker, widget designed to select a color.

This is one more widget whose idea come from Samsung set of
contributions to Elementary.

SVN revision: 53313

13 years agoDefault BG Plain test back to scaled....
Christopher Michael [Tue, 12 Oct 2010 15:33:40 +0000 (15:33 +0000)]
Default BG Plain test back to scaled....
Oopsie, that should not have been there.

SVN revision: 53309

13 years agoAdd 2 new options for bg image: Center & Stretch.
Christopher Michael [Tue, 12 Oct 2010 14:38:46 +0000 (14:38 +0000)]
Add 2 new options for bg image: Center & Stretch.
Add a new Test for BG Options.
Add a new 'bg_overlay' in objects/test.edc for testing bg overlay stuff.

NB: There is an issue here that I cannot seem to get straight (perhaps
pebkac, not sure)...but basically it seems that showing/hiding the
overlay causes the other swallows of the edc to get recalc'd and makes
the 'image' not work well w/ Center.

SVN revision: 53307

13 years agoBetter name(s) for the bg option enum.
Christopher Michael [Tue, 12 Oct 2010 10:30:32 +0000 (10:30 +0000)]
Better name(s) for the bg option enum.

SVN revision: 53302

13 years agoAdd ability for elm_bg to have a color rectangle.
Christopher Michael [Tue, 12 Oct 2010 08:46:17 +0000 (08:46 +0000)]
Add ability for elm_bg to have a color rectangle.
Add ability for elm_bg to have 'overlays' such as animated fog, etc.
Normalize elm_bg internal object names:
  Rename wd->img to the more generic wd->base.
Remove erroneous evas_object_resize(wd->base, 0, 0) (not needed).
Fix typo in doxy comment.
Add doxy for new functions (color_set, overlay_set)
Add swallow part in edc for bg color rectangle.
Fix overlay swallow part offsets.

SVN revision: 53299

13 years agoMake 'Tiled' actually do a tile :)
Christopher Michael [Tue, 12 Oct 2010 04:34:42 +0000 (04:34 +0000)]
Make 'Tiled' actually do a tile :)

SVN revision: 53292

13 years agoWidget_Data gets passed to the _custom_resize callback as 'data'
Christopher Michael [Tue, 12 Oct 2010 04:21:50 +0000 (04:21 +0000)]
Widget_Data gets passed to the _custom_resize callback as 'data'
already, so no need to refetch it.

SVN revision: 53291

13 years agoAdd option for elm_bg to be Tiled, Scaled (more options to come).
Christopher Michael [Tue, 12 Oct 2010 04:12:48 +0000 (04:12 +0000)]
Add option for elm_bg to be Tiled, Scaled (more options to come).

SVN revision: 53290

13 years agoAdd UNUSED where needed.
Christopher Michael [Tue, 12 Oct 2010 04:07:27 +0000 (04:07 +0000)]
Add UNUSED where needed.
Fix usage of UNUSED in _elm_cursor_del.
Use #define for string constant.
Fix formatting.

SVN revision: 53289

13 years agoAdd UNUSED where missing.
Christopher Michael [Tue, 12 Oct 2010 04:02:47 +0000 (04:02 +0000)]
Add UNUSED where missing.
Use #defines for string constants.
Fix up some formatting.

SVN revision: 53288

13 years agoAdd UNUSED where missing.
Christopher Michael [Tue, 12 Oct 2010 03:59:30 +0000 (03:59 +0000)]
Add UNUSED where missing.
Use #defines for string constants (less 'const char' variables being
used).
Fix formatting & whitespace where needed.

SVN revision: 53287

13 years agoAdd UNUSED where missing.
Christopher Michael [Tue, 12 Oct 2010 03:53:03 +0000 (03:53 +0000)]
Add UNUSED where missing.
Only calculate scale once here and reuse it.
Fix formatting.

SVN revision: 53286

13 years agoAdd UNUSED where needed.
Christopher Michael [Tue, 12 Oct 2010 03:47:07 +0000 (03:47 +0000)]
Add UNUSED where needed.

SVN revision: 53285

13 years agoAdd UNUSED where needed.
Christopher Michael [Tue, 12 Oct 2010 03:46:11 +0000 (03:46 +0000)]
Add UNUSED where needed.
Fix some formatting snafus.

SVN revision: 53284

13 years agoAdd UNUSED where needed.
Christopher Michael [Tue, 12 Oct 2010 03:42:01 +0000 (03:42 +0000)]
Add UNUSED where needed.

SVN revision: 53282

13 years agoString.h is already included via Elementary.h
Christopher Michael [Tue, 12 Oct 2010 02:38:19 +0000 (02:38 +0000)]
String.h is already included via Elementary.h

SVN revision: 53280

13 years agooops, important typo, thanks tiagofalcao
Gustavo Sverzut Barbieri [Mon, 11 Oct 2010 17:55:28 +0000 (17:55 +0000)]
oops, important typo, thanks tiagofalcao

SVN revision: 53267

13 years agoAdd safety checks to genlist and gengrid.
Rafael Fonseca [Mon, 11 Oct 2010 02:09:36 +0000 (02:09 +0000)]
Add safety checks to genlist and gengrid.

The insert_(before|after) functions require a relative item so let's check for
it and appropriately return if it is not given.

SVN revision: 53253

13 years agoFix items alignment in Gengrid.
Rafael Fonseca [Mon, 11 Oct 2010 01:55:07 +0000 (01:55 +0000)]
Fix items alignment in Gengrid.

Now alignment works no matter whether the item is smaller than the grid or not.
Also added a spinner to Gengrid 2 test so we can see the alignment in action
for different item sizes.

SVN revision: 53252

13 years agoMake Gengrid 2 test work with recent gengrid modifications.
Rafael Fonseca [Mon, 11 Oct 2010 01:46:14 +0000 (01:46 +0000)]
Make Gengrid 2 test work with recent gengrid modifications.

Before changing gengrid internal to use inlist, passing a NULL item to
insert_before and insert_after functions would make them behave as prepend and
append respectively but now one would just get a SEGV. So test for a selected
item before doing anything ;)

SVN revision: 53251

13 years agobugs--
Gustavo Sverzut Barbieri [Mon, 11 Oct 2010 01:03:37 +0000 (01:03 +0000)]
bugs--

SVN revision: 53249

13 years agogengrid more genlist-like.
Gustavo Sverzut Barbieri [Sun, 10 Oct 2010 23:54:11 +0000 (23:54 +0000)]
gengrid more genlist-like.

use inlist so we don't have to find stuff to operate on.

export more methods, like elm_gengrid_item_next_get(),
elm_gengrid_item_prev_get() and elm_gengrid_first_item_get() and elm_gengrid_last_item_get()... so we don't expose elm_gengrid_items_get().

People using the old elm_gengrid_items_get() should move to
elm_gengrid_first_item_get() and then next variant.

SVN revision: 53248

13 years agoAdd more insertion types to Gengrid.
Rafael Fonseca [Sun, 10 Oct 2010 21:05:23 +0000 (21:05 +0000)]
Add more insertion types to Gengrid.

Gengrid now has modes append, prepend, insert_before and insert_after. To see
them working check the Gengrid 2 test on elementary_test.

SVN revision: 53242

13 years agoDon't change no_select state when adding item to Gengrid.
Rafael Fonseca [Sun, 10 Oct 2010 20:45:30 +0000 (20:45 +0000)]
Don't change no_select state when adding item to Gengrid.

If one wants to create a Gengrid with seletion mode disabled and dynamically
add items to it the no select mode would be overwritten. So make Gengrid
selectable by default and just change the selection state when user explicitly
calls elm_gengrid_no_select_mode_set() function.

SVN revision: 53241

13 years agoelm_gengrid_item_update()
Gustavo Sverzut Barbieri [Sat, 9 Oct 2010 19:07:42 +0000 (19:07 +0000)]
elm_gengrid_item_update()

also missing are elm_gengrid_item_prepend(),
elm_gengrid_item_insert_before() and elm_gengrid_item_insert_after()!
I can't do them right now, so any help is appreciated.

SVN revision: 53236

13 years agodon't use ethumb if no path was set yet.
Gustavo Sverzut Barbieri [Sat, 9 Oct 2010 18:43:03 +0000 (18:43 +0000)]
don't use ethumb if no path was set yet.

SVN revision: 53235

13 years agoelm: fix doc
Boris Faure [Sat, 9 Oct 2010 14:42:04 +0000 (14:42 +0000)]
elm: fix doc

SVN revision: 53234

13 years agowork when items are bigger than viewport.
Gustavo Sverzut Barbieri [Sat, 9 Oct 2010 01:42:32 +0000 (01:42 +0000)]
work when items are bigger than viewport.

rfonseca, be careful with corner cases... and PLEASE ADD SPACES!!!! it's awful to read (a*b)/c+d/e...

SVN revision: 53225

13 years agodocument new style.
Gustavo Sverzut Barbieri [Sat, 9 Oct 2010 01:34:01 +0000 (01:34 +0000)]
document new style.

SVN revision: 53224

13 years agothumbnail style without frame.
Gustavo Sverzut Barbieri [Fri, 8 Oct 2010 23:18:03 +0000 (23:18 +0000)]
thumbnail style without frame.

SVN revision: 53221

13 years agocancel previous request, if any.
Gustavo Sverzut Barbieri [Fri, 8 Oct 2010 22:43:17 +0000 (22:43 +0000)]
cancel previous request, if any.

SVN revision: 53216

13 years agoethumb reload function.
Gustavo Sverzut Barbieri [Fri, 8 Oct 2010 22:14:50 +0000 (22:14 +0000)]
ethumb reload function.

SVN revision: 53215

13 years agoElm_object_focus give focus to one focusable obj.
Tiago Rezende Campos Falcao [Fri, 8 Oct 2010 20:16:52 +0000 (20:16 +0000)]
Elm_object_focus give focus to one focusable obj.

SVN revision: 53206

13 years agoAdd Object name in dot dump
Tiago Rezende Campos Falcao [Fri, 8 Oct 2010 20:16:48 +0000 (20:16 +0000)]
Add Object name in dot dump

Now can generate graphs like this:
https://trac.profusion.mobi/~tiago/editje_elm_dump.png

Call elm_object_tree_dot_dump(obj, "file.dot")
and use $ dot -Tpng file.dot -ofile.png

SVN revision: 53205

13 years agoFix the assignment that discards const qualifier.
Tiago Rezende Campos Falcao [Fri, 8 Oct 2010 16:27:07 +0000 (16:27 +0000)]
Fix the assignment that discards const qualifier.

SVN revision: 53195

13 years agoFix event propagation in elementary.
Tiago Rezende Campos Falcao [Fri, 8 Oct 2010 16:27:04 +0000 (16:27 +0000)]
Fix event propagation in elementary.

Need set ON_HOLD, and check it.

SVN revision: 53194

13 years agoDon't add again one child to the same parent
Tiago Rezende Campos Falcao [Fri, 8 Oct 2010 16:27:01 +0000 (16:27 +0000)]
Don't add again one child to the same parent

SVN revision: 53193

13 years agoShut up gcc about uninitialized use of variables.
Iván Briano [Fri, 8 Oct 2010 13:08:43 +0000 (13:08 +0000)]
Shut up gcc about uninitialized use of variables.

SVN revision: 53185

13 years ago From: ?\236?\157?\180?\235?\170?\133?\236?\158?\172 <mjae.lee@samsung.com>
?\236?\157?\180?\235?\170?\133?\236?\158?\172 [Fri, 8 Oct 2010 12:50:40 +0000 (12:50 +0000)]
  From: ?\236?\157?\180?\235?\170?\133?\236?\158?\172 <mjae.lee@samsung.com>
  Subject: patch for elm_widget_show_region_set function

back in again. i backed it out because of unrelated issues.

SVN revision: 53184

13 years agoMake sure we handle data length correctly on text length.
Brett Nash [Fri, 8 Oct 2010 04:14:13 +0000 (04:14 +0000)]
Make sure we handle data length correctly on text length.

SVN revision: 53179

13 years agoElementary: Don't #define _GNU_SOURCE
Eduardo de Barros Lima [Thu, 7 Oct 2010 21:34:43 +0000 (21:34 +0000)]
Elementary: Don't #define _GNU_SOURCE

Use proper AC_GNU_SOURCE macro in configure.ac instead.

SVN revision: 53168

13 years agocopy&paste left-overs
Gustavo Sverzut Barbieri [Thu, 7 Oct 2010 20:01:42 +0000 (20:01 +0000)]
copy&paste left-overs

SVN revision: 53161

13 years agogenlist's height-for-width mode is in.
Gustavo Sverzut Barbieri [Thu, 7 Oct 2010 19:57:20 +0000 (19:57 +0000)]
genlist's height-for-width mode is in.

I'll commit this to bring some attention to the topic, it is harmless
for people that do not use it, but for users it may be slow on list
resize.

SVN revision: 53160

13 years agoAdd yet another kind of list widget to elm - diskpicker
Bruno Dilly [Thu, 7 Oct 2010 18:44:43 +0000 (18:44 +0000)]
Add yet another kind of list widget to elm - diskpicker

This is one more widget whose idea come from Samsung set of
contributions to Elementary.

SVN revision: 53150

13 years agoRemoving unused variables to clean compile
Tiago Rezende Campos Falcao [Thu, 7 Oct 2010 14:49:37 +0000 (14:49 +0000)]
Removing unused variables to clean compile

SVN revision: 53146

13 years agoElm Button with custom focus highlight
Tiago Rezende Campos Falcao [Thu, 7 Oct 2010 14:49:35 +0000 (14:49 +0000)]
Elm Button with custom focus highlight

SVN revision: 53145

13 years agoFilter input text in entries.
Iván Briano [Thu, 7 Oct 2010 12:50:00 +0000 (12:50 +0000)]
Filter input text in entries.

Users can set filters of their own (text only, no format now) or use the
predefined ones.

SVN revision: 53141

13 years agoand handle disables for everything else that has disable hooks.
Carsten Haitzler [Thu, 7 Oct 2010 07:44:50 +0000 (07:44 +0000)]
and handle disables for everything else that has disable hooks.

SVN revision: 53138

13 years agoFrom: RAJEEV RANJAN <rajeev.r@samsung.com>
RAJEEV RANJAN [Thu, 7 Oct 2010 07:31:24 +0000 (07:31 +0000)]
From: RAJEEV RANJAN <rajeev.r@samsung.com>
Subject: Patch to address some focus and disabling issue in elementary
widgets

We have observed some generic issues in Elementary widgets.

1. Widgets not getting disabled if we call elm_object_disabled_set(ob,
EINA_TRUE) followed by elm_object_style_set(obj, <style_name>);

This works fine if we disable the widget after changing the style(call
to theme_hook happens here).

It happens because we are not sending the edje signal in theme_hook of
the widgets, if the widget is already in disabled state.

I have added this code in theme_hook of elm_button as an example and
we will need to apply the similar stuff in all other widgets if needed.

 2. The widget gets focused in a particular scenario even though we
call elm_object_focus_allow_set(obj, EINA_FALSE).

The code snippet to explain the scenario which we observed was like
this:

Evas_Object *button = NULL, *icon = NULL;

button = elm_button_add(parent);

elm_object_focus_allow_set(button, EINA_FALSE);

icon = elm_icon_add(button);

elm_icon_file_set(icon, EDJE_PATH, "test.icon");

elm_button_icon_set(button, icon);

  An icon object does not take focus by default. But still whenever
the focus returned to the parent(layout in this case) after closing
some popup, the button gets focused though we had disabled it
explicitly.

 The reason is in this case, when we call elm_icon_add(button), icon
gets added to button as a sub-object and in this call, we set
sd->child_can_focus for button(the parent) as true because till now,
the focus property for icon has not been set to false which by default
is true.

 This was set later in the function elm_icon_add() as follows:
 elm_widget_can_focus_set(obj, EINA_FALSE);

  Actually this should be set before adding icon as sub-object of the
parent which in this case is a button.

 I have done the required modification in the function elm_icon_add().

  Attached to this mail is the patch file for these two issues.The
revision from which I have created this patch file is 53129.
We may need to do similar changes in other widgets if required.

SVN revision: 53137

13 years agoother part of genlist tree expand depth patch. test code.
Carsten Haitzler [Thu, 7 Oct 2010 07:30:44 +0000 (07:30 +0000)]
other part of genlist tree expand depth patch. test code.

SVN revision: 53136

13 years agoFrom: 서주영 <juyung.seo@samsung.com>
서주영 [Thu, 7 Oct 2010 06:45:36 +0000 (06:45 +0000)]
From: 서주영 <juyung.seo@samsung.com>
Subject: [EFL] Small Patch for Genlist : elm_genlist_item_expanded_depth_get() API

I added one API to genlist : elm_genlist_item_expanded_depth_get(). This is
used to get an item's expanded depth. I tested this with latest SVN revision
53090.

Can you review this patch and apply this to upstream?

SVN revision: 53134

13 years agoaaaagh! free the member list! :)
Carsten Haitzler [Thu, 7 Oct 2010 03:53:53 +0000 (03:53 +0000)]
aaaagh! free the member list! :)

SVN revision: 53131

13 years agoexample with button that propagates event to the list item.
Gustavo Sverzut Barbieri [Wed, 6 Oct 2010 22:47:12 +0000 (22:47 +0000)]
example with button that propagates event to the list item.

SVN revision: 53122

13 years agoevent catcher should be the lowest object!
Gustavo Sverzut Barbieri [Wed, 6 Oct 2010 22:45:46 +0000 (22:45 +0000)]
event catcher should be the lowest object!

this damn bitch made me waste hours hunting a supposedly bug in Evas
event dispatch system just to realize the bug was in the theme... and
list in the LIST + COMPRESSED! :-( Everything else was correct.

The idea of "end" is that we may want to have some action item as
well, such as a button (see modification in test_list.c). In this case
we want the button to receive the event before the list item (or even
block the event going to the list item). Use case: add a "delete"
button to the item, click delete and you want to avoid it being
selected (think of a bookmark where you want to delete a folder, but
select the item would enter that folder that you want to delete).

SVN revision: 53121

13 years agoAdding custom chain to focus.
Tiago Rezende Campos Falcao [Wed, 6 Oct 2010 20:24:22 +0000 (20:24 +0000)]
Adding custom chain to focus.

Added set, get, unset, prepend and append (relative or not).

Set - overwrite the custom chain
Unset - Delete the custom chain
Get- Return the custom chain
Append - append after the relative object or in the end
Prepend - prepend before the relative object or in the start

SVN revision: 53115

13 years agoSet const where need in focus_next_get functions set
Tiago Rezende Campos Falcao [Wed, 6 Oct 2010 20:24:19 +0000 (20:24 +0000)]
Set const where need in focus_next_get functions set

SVN revision: 53114

13 years agoAdding elm_widget_focus_cycle method
Tiago Rezende Campos Falcao [Wed, 6 Oct 2010 20:24:16 +0000 (20:24 +0000)]
Adding elm_widget_focus_cycle method

This will cycle focus inside the sub-tree of one object.

SVN revision: 53113

13 years agoRename focus method from cycle to next_get
Tiago Rezende Campos Falcao [Wed, 6 Oct 2010 20:24:13 +0000 (20:24 +0000)]
Rename focus method from cycle to next_get

SVN revision: 53112

13 years agoOptimized Linear Focus Chain
Tiago Rezende Campos Falcao [Wed, 6 Oct 2010 20:24:09 +0000 (20:24 +0000)]
Optimized Linear Focus Chain

Before, the focus_cycle try pass the focus to next, and try again if
need loop the objects. Now, the focus cycle return possible next
object and if is necessary loop or not to focus this returned object.

SVN revision: 53111

13 years agoElementary Flippicker, a fresh new widget.
Gustavo Lima Chaves [Wed, 6 Oct 2010 18:40:04 +0000 (18:40 +0000)]
Elementary Flippicker, a fresh new widget.

This is one more widget whose idea come from Samsung set of
contributions to Elementary.

There is a known bug involving embryo + string functions, which will,
if in "stress", appear at the labels of the widget. Not time to attack
it right now, though.

SVN revision: 53109

13 years agoKill job when shutting down highlight
Iván Briano [Wed, 6 Oct 2010 16:42:46 +0000 (16:42 +0000)]
Kill job when shutting down highlight

SVN revision: 53104

13 years agoGenlist expanding items when press Return or Space
Tiago Rezende Campos Falcao [Tue, 5 Oct 2010 19:10:11 +0000 (19:10 +0000)]
Genlist expanding items when press Return or Space

Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

See elementary_test Genlist Tree

SVN revision: 53079

13 years agoList with navigation between items
Tiago Rezende Campos Falcao [Tue, 5 Oct 2010 19:10:08 +0000 (19:10 +0000)]
List with navigation between items

Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

Up and Down to navigate without multi selection. Hold shift +
up/down to multi select.

SVN revision: 53078

13 years agoelm_list_item_bring_in
Tiago Rezende Campos Falcao [Tue, 5 Oct 2010 19:10:06 +0000 (19:10 +0000)]
elm_list_item_bring_in

Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

function bring_in in list, like genlist and gengrid

SVN revision: 53077

13 years agoList with keyboard scroller
Tiago Rezende Campos Falcao [Tue, 5 Oct 2010 19:10:03 +0000 (19:10 +0000)]
List with keyboard scroller

Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

Keys:
up
kp_up
down
kp_down
left
kp_left
right
kp_right
Page Up
Page Down
Home
End

p.s.: kp = key pad

SVN revision: 53076

13 years agoList with els_scroller
Tiago Rezende Campos Falcao [Tue, 5 Oct 2010 19:10:00 +0000 (19:10 +0000)]
List with els_scroller

Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

The list use elm_scroller instead els_scroller like the others. This is
a problem, because the scroller is son of the list, so when you click on
an item, the event will be done in the item (an edje object) that will
pass to the box it is inside, the box will pass the event to the
scroller and then to the list. So, with the event arriving the scroller
first than the list, if you press up, the navigation between item will
not happen because the scroller is treating the event first. So a good
solution is to pass the list to use smart scroller intead elm_scroller
(like genlist and gengrid).

SVN revision: 53075

13 years agoGendrid with navigation between items
Tiago Rezende Campos Falcao [Tue, 5 Oct 2010 19:09:58 +0000 (19:09 +0000)]
Gendrid with navigation between items

Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

Up, Down, Left and Right to navigate without multi selection.
Hold shift + up/down/left/right to multi select.

SVN revision: 53074

13 years agoGenlist with navigation between items
Tiago Rezende Campos Falcao [Tue, 5 Oct 2010 19:09:55 +0000 (19:09 +0000)]
Genlist with navigation between items

Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

Up and Down to navigate without multi selection. Hold shift + up/down to
multi select.

SVN revision: 53073

13 years agoHoversel can have focus
Tiago Rezende Campos Falcao [Tue, 5 Oct 2010 19:09:52 +0000 (19:09 +0000)]
Hoversel can have focus

SVN revision: 53072

13 years agoAdding method to output the elm obj tree in dot.
Tiago Rezende Campos Falcao [Mon, 4 Oct 2010 18:37:48 +0000 (18:37 +0000)]
Adding method to output the elm obj tree in dot.

This Debug search all subobjects from one object and put in file all
sub-tree of elementary objects as dot language in file. After you can
use dot(from graphviz) to generate PNG, SVG,... diagram of objects.

SVN revision: 53035

13 years agoAdding focus cycle hook to Panes
Tiago Rezende Campos Falcao [Mon, 4 Oct 2010 18:37:45 +0000 (18:37 +0000)]
Adding focus cycle hook to Panes

SVN revision: 53034