platform/upstream/elementary.git
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

13 years agoAnd set/get style for highlight as well
Iván Briano [Mon, 4 Oct 2010 17:34:35 +0000 (17:34 +0000)]
And set/get style for highlight as well

SVN revision: 53032

13 years agoFocus highlight kinda configurable. More to come when discomfitor feels like implemen...
Iván Briano [Mon, 4 Oct 2010 16:55:32 +0000 (16:55 +0000)]
Focus highlight kinda configurable. More to come when discomfitor feels like implementing it

SVN revision: 53031

13 years agoMore sane handling of current/previous stuff on highlight
Iván Briano [Mon, 4 Oct 2010 12:48:15 +0000 (12:48 +0000)]
More sane handling of current/previous stuff on highlight

And more ridicoulesness to the theme, to force someone to do something decent

SVN revision: 53028

13 years agoFix nasty formatting.
Christopher Michael [Mon, 4 Oct 2010 06:24:16 +0000 (06:24 +0000)]
Fix nasty formatting.

SVN revision: 53009

13 years agoFix return null in func returning void...oopsie ;)
Christopher Michael [Mon, 4 Oct 2010 06:21:38 +0000 (06:21 +0000)]
Fix return null in func returning void...oopsie ;)

SVN revision: 53008

13 years agoAdd some missing box functions (padding & align set).
Christopher Michael [Mon, 4 Oct 2010 05:50:29 +0000 (05:50 +0000)]
Add some missing box functions (padding & align set).
Use Eina_Bool's for evas_object_box functions.

SVN revision: 53006

13 years agoWhitespace be gone !!
Christopher Michael [Mon, 4 Oct 2010 03:40:43 +0000 (03:40 +0000)]
Whitespace be gone !!

SVN revision: 53005

13 years agoFix typo
Nicolas Aguirre [Sun, 3 Oct 2010 09:33:13 +0000 (09:33 +0000)]
Fix typo

SVN revision: 52993

13 years agoFix some misspellings.
Christopher Michael [Sun, 3 Oct 2010 01:44:21 +0000 (01:44 +0000)]
Fix some misspellings.

SVN revision: 52990

13 years agoAdding debug option in elementary.
Tiago Rezende Campos Falcao [Fri, 1 Oct 2010 19:03:23 +0000 (19:03 +0000)]
Adding debug option in elementary.

SVN revision: 52966

13 years agoIsolating single quote in configure.ac
Tiago Rezende Campos Falcao [Fri, 1 Oct 2010 19:03:19 +0000 (19:03 +0000)]
Isolating single quote in configure.ac

SVN revision: 52965

13 years agoGengrid with keyboard scroller
Tiago Rezende Campos Falcao [Fri, 1 Oct 2010 19:03:17 +0000 (19:03 +0000)]
Gengrid 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: 52964

13 years agoGenlist with keyboard scroller
Tiago Rezende Campos Falcao [Fri, 1 Oct 2010 19:03:12 +0000 (19:03 +0000)]
Genlist 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: 52963

13 years agokey events of the scroller treat in event_hook
Tiago Rezende Campos Falcao [Fri, 1 Oct 2010 19:03:07 +0000 (19:03 +0000)]
key events of the scroller treat in event_hook

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

The idea of the treatment of the key downs events in the smart scroller
is be equal to any widget that use it. But to do this, the smart
scroller must listen to the EVAS_CALLBACK_KEY_DOWN, this will cause a
problem to list, genlist, gengrid, because the event will arrive first
to the smart scroller then to this widgets (because the widgets are
listening the event by event_hook). So, if the scroller treat "Up", the
genlist will not select the item above because this event was already
treat by the scroller.

Now the tratment of the keys was tranfer to the elm_scroller instead of
els_scroller.

SVN revision: 52962

13 years agoAdding focus cycle hook to pager, bubble and flip.
Tiago Rezende Campos Falcao [Fri, 1 Oct 2010 19:03:02 +0000 (19:03 +0000)]
Adding focus cycle hook to pager, bubble and flip.

SVN revision: 52961

13 years agoAdding focus cycle hook to Inwin and Frame.
Tiago Rezende Campos Falcao [Fri, 1 Oct 2010 19:02:58 +0000 (19:02 +0000)]
Adding focus cycle hook to Inwin and Frame.

SVN revision: 52960

13 years agoBetter management to focus cycle.
Tiago Rezende Campos Falcao [Fri, 1 Oct 2010 19:02:55 +0000 (19:02 +0000)]
Better management to focus cycle.

Now Widgets can control between children interation or receive focus
itself. And focus_cycle has now one default code.

And don't pass focus to disabled widgets

SVN revision: 52959

13 years agoRename Buttons Labels in test_focus
Tiago Rezende Campos Falcao [Fri, 1 Oct 2010 19:02:51 +0000 (19:02 +0000)]
Rename Buttons Labels in test_focus

SVN revision: 52958

13 years agobug fix! :)
Carsten Haitzler [Thu, 30 Sep 2010 06:01:34 +0000 (06:01 +0000)]
bug fix! :)

SVN revision: 52917

13 years agoAdd two apis to limit page size of gengrid's scroller : elm_gengrid_page_relative_set...
Nicolas Aguirre [Wed, 29 Sep 2010 16:59:35 +0000 (16:59 +0000)]
Add two apis to limit page size of gengrid's scroller : elm_gengrid_page_relative_set and elm_gengrid_page_size_set.
These functions work exactly as those in elm_scroller.

SVN revision: 52895

13 years agoFix: _event_hook must return EINA_FALSE if widget is disable
Tiago Rezende Campos Falcao [Wed, 29 Sep 2010 12:22:41 +0000 (12:22 +0000)]
Fix: _event_hook must return EINA_FALSE if widget is disable

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

widgets:
* button
* check
* file selector button
* radio
* toggle

SVN revision: 52890

13 years agoRemoving event_hook from hoversel
Tiago Rezende Campos Falcao [Wed, 29 Sep 2010 12:22:35 +0000 (12:22 +0000)]
Removing event_hook from hoversel

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

Event hook in hoversel is not needed, because the center of the hoversel
is a button that gets the event and calls the activate of the hoversel.

SVN revision: 52889

13 years agoFixing can_focus to the widgets
Tiago Rezende Campos Falcao [Wed, 29 Sep 2010 12:22:30 +0000 (12:22 +0000)]
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

13 years agoNotify timeout is double (in Externals)
Tiago Rezende Campos Falcao [Wed, 29 Sep 2010 12:22:25 +0000 (12:22 +0000)]
Notify timeout is double (in Externals)

SVN revision: 52887

13 years agoFix cast between int and void* in x86_64.
Tiago Rezende Campos Falcao [Wed, 29 Sep 2010 12:22:22 +0000 (12:22 +0000)]
Fix cast between  int and void* in x86_64.

This need conversion to long, as intermediate.

SVN revision: 52886

13 years agoone more focus case.
Carsten Haitzler [Wed, 29 Sep 2010 05:27:42 +0000 (05:27 +0000)]
one more focus case.

SVN revision: 52879

13 years agothis should fix reparenting of already focused widgets and properly
Carsten Haitzler [Wed, 29 Sep 2010 03:59:28 +0000 (03:59 +0000)]
this should fix reparenting of already focused widgets and properly
reset focus stack.

SVN revision: 52876

13 years agofmting
Carsten Haitzler [Wed, 29 Sep 2010 01:53:43 +0000 (01:53 +0000)]
fmting

SVN revision: 52872

13 years agoat least support software-x11-8 engine - in theory.
Carsten Haitzler [Tue, 28 Sep 2010 22:43:48 +0000 (22:43 +0000)]
at least support software-x11-8 engine - in theory.

SVN revision: 52868

13 years agoScroller is a weird container that can focus
Iván Briano [Tue, 28 Sep 2010 19:36:25 +0000 (19:36 +0000)]
Scroller is a weird container that can focus

SVN revision: 52862

13 years agoLittle debug function. It helped already to track the scrolled_entry focus problems.
Iván Briano [Tue, 28 Sep 2010 19:35:12 +0000 (19:35 +0000)]
Little debug function. It helped already to track the scrolled_entry focus problems.

SVN revision: 52861

13 years agoCreate sub objects using ourself as parent. Avoids having them as subobjects of any...
Iván Briano [Tue, 28 Sep 2010 19:29:24 +0000 (19:29 +0000)]
Create sub objects using ourself as parent. Avoids having them as subobjects of any other widget, which caused problems whens passing focus around

SVN revision: 52860

13 years agoElm notify: better docs and fitting new API.
Gustavo Lima Chaves [Tue, 28 Sep 2010 16:56:34 +0000 (16:56 +0000)]
Elm notify: better docs and fitting new API.

SVN revision: 52854

13 years agoKilled the bottom object. It will come back once the stacking issues are resolved...
Iván Briano [Tue, 28 Sep 2010 16:54:11 +0000 (16:54 +0000)]
Killed the bottom object. It will come back once the stacking issues are resolved or decided how to handle.
But that's minor and non-important, the real deal here is animating the focus highlight object, entirely in the theme.

SVN revision: 52853

13 years agoNew API functions for elm slider.
Gustavo Lima Chaves [Tue, 28 Sep 2010 15:09:19 +0000 (15:09 +0000)]
New API functions for elm slider.

EAPI void elm_slider_end_set(Evas_Object *obj, Evas_Object *end);

will set a *right* aligned sub-object relative to the slider.

EAPI const Evas_Object *elm_slider_end_get(const Evas_Object *obj);

Getter for that object.

EAPI Evas_Object *elm_slider_end_unset(Evas_Object *obj);

Unparent a previously set end object.

EAPI Evas_Object *elm_slider_icon_unset(Evas_Object *obj);

The same for the icon sub-object.

EAPI void elm_slider_indicator_show_set(Evas_Object *obj, Eina_Bool show);
EAPI Eina_Bool elm_slider_indicator_show_get(const Evas_Object *obj);

Set/get whether the slider should display the augmented knob (indicator) at
mouse drag at all.

SVN revision: 52852

13 years agoFix typo from rev52686
Tiago Rezende Campos Falcao [Tue, 28 Sep 2010 14:15:23 +0000 (14:15 +0000)]
Fix typo from rev52686

SVN revision: 52851

13 years agoWrong place for elm_widget_highlight_in_theme_set
Tiago Rezende Campos Falcao [Tue, 28 Sep 2010 14:15:20 +0000 (14:15 +0000)]
Wrong place for elm_widget_highlight_in_theme_set

elm_widget_highlight_in_theme_set only can be called in _theme_hook
after read edje data.

SVN revision: 52850

13 years agoUpdate docs in elm_notify
Tiago Rezende Campos Falcao [Tue, 28 Sep 2010 14:15:17 +0000 (14:15 +0000)]
Update docs in elm_notify

SVN revision: 52849

13 years agoLooks for parent cursors when mouse out a subobj
Bruno Dilly [Tue, 28 Sep 2010 12:44:08 +0000 (12:44 +0000)]
Looks for parent cursors when mouse out a subobj

It will set the parent cursor if it should be visible.

SVN revision: 52848

13 years agofix limit horizontal mode for genlist
Carsten Haitzler [Tue, 28 Sep 2010 08:46:08 +0000 (08:46 +0000)]
fix limit horizontal mode for genlist

SVN revision: 52844

13 years agoFrom: 김지훈 <imfine98@gmail.com>
김지훈 [Tue, 28 Sep 2010 04:28:14 +0000 (04:28 +0000)]
From: 김지훈 <imfine98@gmail.com>

I changed elementary source code related to focus functions.
Eina_Bool is used instead of integer type in those functions.

SVN revision: 52839

13 years agoFixing elm index default theme parts
Bruno Dilly [Mon, 27 Sep 2010 22:19:18 +0000 (22:19 +0000)]
Fixing elm index default theme parts

Make edje stop complaining every time I run elementary_test

SVN revision: 52822

13 years agoDon't add cursor callback for delete on parents of sub objects
Bruno Dilly [Mon, 27 Sep 2010 22:17:40 +0000 (22:17 +0000)]
Don't add cursor callback for delete on parents of sub objects

They will only display a warning because they don't have a cursor themselves.
Only adding for the eventareas will free everything created.

SVN revision: 52821

13 years agofix compilation with MinGW
Vincent Torri [Mon, 27 Sep 2010 21:49:00 +0000 (21:49 +0000)]
fix compilation with MinGW

SVN revision: 52819

13 years agoElm Notify timeout are double.
Tiago Rezende Campos Falcao [Mon, 27 Sep 2010 21:13:45 +0000 (21:13 +0000)]
Elm Notify timeout are double.

And only start timer when visible.
The previous code don't start the timer if timer was changed from
disabled to one valid value.

SVN revision: 52817

13 years agoslider, slideshow and spinner with keyboard arrows
Tiago Rezende Campos Falcao [Mon, 27 Sep 2010 21:13:41 +0000 (21:13 +0000)]
slider, slideshow and spinner with keyboard arrows

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

elm_slider now respond to the keyborad arrows depends on its position.
If it is in a horizontal mode, than its value will change by pressing
left and right, other wise it will respond by pressing up and down

elm_slideshow: go to next and previous with keyboard arrows

elm_spinner: respond to left and right keys in an animated way

SVN revision: 52816

13 years agoFocus Cycle Chain to Table
Tiago Rezende Campos Falcao [Mon, 27 Sep 2010 21:13:36 +0000 (21:13 +0000)]
Focus Cycle Chain to Table

SVN revision: 52815

13 years agoPanel fixed and is now focusable.
Tiago Rezende Campos Falcao [Mon, 27 Sep 2010 21:13:32 +0000 (21:13 +0000)]
Panel fixed and is now focusable.

The old theme start show animation on obj show, if you want
disabled by default it doesn't work well. I changed the theme
default to be visible, don't need animation on "show".

And hidden_set was with inverted logic.

The focus highlight is in theme. And the widget react to
Return/Space.

SVN revision: 52814

13 years agoRefactoring focus_cycle_next_get and copies
Tiago Rezende Campos Falcao [Mon, 27 Sep 2010 21:13:25 +0000 (21:13 +0000)]
Refactoring focus_cycle_next_get and copies

SVN revision: 52813

13 years agoDo not overlap new TEXT part with existing swallows.
Gustavo Lima Chaves [Mon, 27 Sep 2010 20:07:44 +0000 (20:07 +0000)]
Do not overlap new TEXT part with existing swallows.

SVN revision: 52811

13 years agoElm notify's new signal: "timeout".
Gustavo Lima Chaves [Mon, 27 Sep 2010 19:52:56 +0000 (19:52 +0000)]
Elm notify's new signal: "timeout".
Also changing elm_notify_timeout_set()'s behavior: it won't init the
timer itself, unless there was a previous one running.

SVN revision: 52810

13 years agoFixes on scrolled entry docs.
Gustavo Lima Chaves [Mon, 27 Sep 2010 19:04:31 +0000 (19:04 +0000)]
Fixes on scrolled entry docs.

SVN revision: 52807

13 years agoFixes on cnp_helper for changes on Ecore_X (int -> bool)
Bruno Dilly [Mon, 27 Sep 2010 18:45:38 +0000 (18:45 +0000)]
Fixes on cnp_helper for changes on Ecore_X (int -> bool)

It should shut up gcc complains.
I hope I'm not screwing up anything =)

SVN revision: 52806

13 years agoTooltip / Mouse Cursor support for elm_genlist / elm_gengrid items
Bruno Dilly [Mon, 27 Sep 2010 18:18:37 +0000 (18:18 +0000)]
Tooltip / Mouse Cursor support for elm_genlist / elm_gengrid items

This patch add tooltip and mouse cursor support for items of genlist
and gengrid and extends the elementary tests for tooltips and
cursor

By: Thiago Ribeiro Masaki <masaki@profusion.mobi>

SVN revision: 52805

13 years agoRe-check theme when change engine only cursor on elm
Bruno Dilly [Mon, 27 Sep 2010 18:16:34 +0000 (18:16 +0000)]
Re-check theme when change engine only cursor on elm

Otherwise it won't make difference to set it =P

SVN revision: 52804

13 years agoelm: cnp: Send plain text as well plain text.
Brett Nash [Mon, 27 Sep 2010 06:19:12 +0000 (06:19 +0000)]
elm: cnp: Send plain text as well plain text.

SVN revision: 52799

13 years agoHandle utf8 encoded html.
Brett Nash [Mon, 27 Sep 2010 04:25:26 +0000 (04:25 +0000)]
Handle utf8 encoded html.

SVN revision: 52798

13 years agoDon't request things we can't handle.
Brett Nash [Mon, 27 Sep 2010 04:25:17 +0000 (04:25 +0000)]
Don't request things we can't handle.

SVN revision: 52797

13 years agoShush GCC up.
Brett Nash [Mon, 27 Sep 2010 04:25:10 +0000 (04:25 +0000)]
Shush GCC up.

SVN revision: 52796

13 years agofix setting stdicon in elm icon.
Carsten Haitzler [Mon, 27 Sep 2010 02:51:26 +0000 (02:51 +0000)]
fix setting stdicon in elm icon.

SVN revision: 52795

13 years agoallow cursors on edje parts.
Gustavo Sverzut Barbieri [Mon, 27 Sep 2010 00:51:16 +0000 (00:51 +0000)]
allow cursors on edje parts.

yeah, i should do the tooltips one as well, but it's boring so I'll
leave the implementation as the exercise for someone else :-)

and yeah, we should have that inside edje, like a nice description {
cursor: "xterm"; }, but that's not going to happen in Edje 1.0.

SVN revision: 52793

13 years agohelp users by showing some debug messages about themes not being found.
Gustavo Sverzut Barbieri [Sun, 26 Sep 2010 23:27:18 +0000 (23:27 +0000)]
help users by showing some debug messages about themes not being found.

If you have problem seeing stuff due theme misses, then use:

   export EINA_LOG_LEVELS=elementary:4

and you should see some reports of missing groups with files. This
helps a lot for genlist and its complex way of naming items :-)

SVN revision: 52791

13 years agoless yet faster and less error-prone code by using Widget_Data instead.
Gustavo Sverzut Barbieri [Sun, 26 Sep 2010 23:19:15 +0000 (23:19 +0000)]
less yet faster and less error-prone code by using Widget_Data instead.

instead of refetching and revalidating Widget_Data everytime, just
handle it. Although this will save some instructions, the goal is to
make code shorter and less error prone.

SVN revision: 52790

13 years agoconst! bad devilhorns...
Gustavo Sverzut Barbieri [Sun, 26 Sep 2010 15:28:04 +0000 (15:28 +0000)]
const! bad devilhorns...

SVN revision: 52779

13 years agofmting
Carsten Haitzler [Sun, 26 Sep 2010 02:55:51 +0000 (02:55 +0000)]
fmting

SVN revision: 52770

13 years agoClean up some dead code on elementary
Bruno Dilly [Sat, 25 Sep 2010 22:08:56 +0000 (22:08 +0000)]
Clean up some dead code on elementary

SVN revision: 52764

13 years agoRemove some dead assignments from elementary
Bruno Dilly [Sat, 25 Sep 2010 22:07:55 +0000 (22:07 +0000)]
Remove some dead assignments from elementary

SVN revision: 52763

13 years agoAdd cursor engine only usage to elm config
Bruno Dilly [Sat, 25 Sep 2010 22:04:51 +0000 (22:04 +0000)]
Add cursor engine only usage to elm config

Only use engine cursors by default

SVN revision: 52762

13 years agoImplements a way to select if we should use ecore_evas for cursor or only engine
Bruno Dilly [Sat, 25 Sep 2010 22:03:37 +0000 (22:03 +0000)]
Implements a way to select if we should use ecore_evas for cursor or only engine

With this commit is now possible to not use theme's cursor (default behevior)
that could be overriding cursors defined by the engine.

SVN revision: 52761

13 years agoAdd cursor support on Elm using ecore_evas
Bruno Dilly [Sat, 25 Sep 2010 22:01:19 +0000 (22:01 +0000)]
Add cursor support on Elm using ecore_evas

Basically, get the group from widget theme, using the string passed to
elm_object_cursor_set, get hot spots x and y from the theme (keeps the object
and these two integers on cursor struct).
Cursor is set with ecore_evas_object_cursor_set()

Some functions to change style were added to the api.

SVN revision: 52760

13 years agoFix typo.
Christopher Michael [Sat, 25 Sep 2010 22:01:18 +0000 (22:01 +0000)]
Fix typo.

SVN revision: 52759

13 years agoAdd function to return the children of an elm_box.
Christopher Michael [Sat, 25 Sep 2010 21:39:29 +0000 (21:39 +0000)]
Add function to return the children of an elm_box.

SVN revision: 52753

13 years agoworkaround for now :(
Carsten Haitzler [Sat, 25 Sep 2010 14:57:34 +0000 (14:57 +0000)]
workaround for now :(

SVN revision: 52735

13 years agofix clip artifact that elm_config shows up with flip.
Carsten Haitzler [Sat, 25 Sep 2010 12:41:06 +0000 (12:41 +0000)]
fix clip artifact that elm_config shows up with flip.

SVN revision: 52732