Commit Graph

146 Commits

Author SHA1 Message Date
Gustavo Lima Chaves 9f84593673 [elm] Prepare for removal of last widget using
internal scrolling smart cbs.




SVN revision: 75892
2012-08-30 16:45:34 +00:00
Carsten Haitzler 2e83d89fc8 core fixup of elm cnp to be able to work regardless ofr display
backend and isolate x11 specific stuff in its own fat ifdef and
functions/vars.



SVN revision: 75523
2012-08-22 08:33:43 +00:00
Kim Shinwoo 4de57c2cb9 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] *  access *

Series of of pathes from kim shinwoo. looked good to me - so in they
go, finishing off some more access mode to be more complete.



SVN revision: 75415
2012-08-18 13:52:03 +00:00
Gustavo Lima Chaves 35f9a089f9 [elm] doc++
SVN revision: 74855
2012-08-03 16:43:41 +00:00
Cedric BAIL 5e5d86df36 elementary: add thaw/freeze to Elm_Layout and use it in Elm_Calendar.
NOTE: This improve calendar performance quite a lot, but a better improvement
would be to populate the object when we really need it. I don't know how to
do that in current Elementary source code. Reason for another expected massive
improvement is that every time you set a property on an Elm_Calendar trigger
a populate and that one is costly (Around 6 populates call per Elm_Calendar in
our code example, meaning doing it could give us a 6 times boost...).


SVN revision: 74553
2012-07-30 07:14:33 +00:00
Gustavo Lima Chaves c134c85cd6 [elm] One more scrolling hook that must be there
till I address it.




SVN revision: 74406
2012-07-25 22:03:15 +00:00
Gustavo Lima Chaves 5a44c924e4 [elm] New infra to help factorize initting code for
widgets.

Some of them have initting code using the parent ptr for some logic.
Now there's a new idiom on instantiating widgets which adresses
that. It'll be used for all widgets from now on.



SVN revision: 74147
2012-07-18 21:03:28 +00:00
Kim Shinwoo 86f0153542 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: Re: [E-devel] [Patch][layout] select layout in access mode

I revised the patch which has the way to get the state of
accessibility now. elm_layout_edje_object_can_access_set/get().



SVN revision: 73393
2012-07-06 04:03:21 +00:00
Gustavo Lima Chaves c96106df2c [elm] Fix missing initializer on base smart class.
Please explain this new access virtual.


Patch by: Gustavo Lima Chaves <glima@profusion.mobi>



SVN revision: 73359
2012-07-05 14:37:18 +00:00
Gustavo Lima Chaves 45e8d67a78 [elm] New scrollable interface in.
This is meant to be used for all widgets implementing scrolling views.
An Elementary interface adds a given behaviour to whichever widget,
from any class.



SVN revision: 73307
2012-07-04 21:41:01 +00:00
Gustavo Lima Chaves 9d25d801e6 [elm] These intricate scrolling hooks will be the
last to be evaluated.

Porting of the basic scrolling infra to an interface will happenfirst, as well as the scrolling widgets porting.

Patch by: Gustavo Lima Chaves <glima@profusion.mobi>



SVN revision: 73306
2012-07-04 21:36:50 +00:00
Kim Shinwoo a060189012 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [Patch][elm_widget] access hook

Real time setting would be necessary in case of running applications
which
have elm_layout or elm_widget_item.
If the access mode does not care of this, running applications should
restart. The attached for this. Please review the patch and give any
feedbacks. Thanks.



SVN revision: 73229
2012-07-03 12:09:34 +00:00
Gustavo Sverzut Barbieri c4caf9d82f safety for elm_object_item_widget_get().
SVN revision: 73117
2012-07-02 01:38:21 +00:00
Kim Shinwoo 4709f16668 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [Patch][elementary] elm_access, use widget_item in
focus chain

It has been possible to use widget_item in access mode. The mouse-in
event
makes the widget_item speak.
But focus chain is not useful in access mode, because the widget_item
cannot get the focus as the edje object.
The accessibility highlight will move by keeping the attached patch
and you
can hear the sound of widget item information.
Please review the patch and give some feedbacks. There would be further
works such as dynamic setting focus next hook,
the previous _elm_access_list_register();, but please keep this first if
there is no big trouble. I'll do those also. Thanks.



SVN revision: 73074
2012-06-30 06:21:14 +00:00
Cedric BAIL d78b70af51 elementary: use Edje to enable accessibility on TEXTBLOCK.
Patch by Kim Shinwoo <kimcinoo.efl@gmail.com>.


SVN revision: 72841
2012-06-26 05:54:45 +00:00
Gustavo Sverzut Barbieri dafcd43f50 EAPI elm_drag and elm_drop so I can use them from terminology.
SVN revision: 72505
2012-06-19 20:17:46 +00:00
Gustavo Lima Chaves ccaa32d72a [elm] Welcome pretty widget hierarchy images on docs.
The Makefile rule building that is commented out -- meant to be run
locally once in a while (when changes on overall widget tree happen)
and changed images commited.



SVN revision: 71721
2012-06-05 22:41:21 +00:00
Daniel Juyung Seo 92aad7f156 elm elm_widget.h elm_widget_layout.h: Fixed typo.
SVN revision: 71611
2012-05-31 23:02:54 +00:00
Daniel Juyung Seo 741ada7b0b elm headers: Fixed typo.
SVN revision: 71589
2012-05-31 17:55:07 +00:00
Gustavo Lima Chaves a239210a0d [Elm] Now elm win and inwin got into the new
widget hierarchy.
Win inherits directly from Elm_Widget_Smart_Class, while inwin is now
an elm layout.

Note that elm_widget_sub_object_list_get(), which was an unecessary
hack only used on win, was killed.



SVN revision: 70717
2012-05-03 22:42:15 +00:00
Gustavo Lima Chaves 66f5d302ee [Elm] Creating base smart class, to be extended
properly by real widgets.
I'm also creating a *compatibility* class on top of it, which extends
the old (unique) one to its old components, so that everything goes
unnoticed for the widgets.

Next, we'll be accessing class functions for widget hooks *on the base
class*, which will be proxied back to the instance ones.

Then, one by one the widgets will be translated to a proper
hierarchical smart class parentage, making extensibility and reuse
much better.

Last, but not least, since we'll be moving these hooks to the class,
where (almost) everything is a function, let's adapt to the future --
take away the "_func" suffix from them.

NB: there is ONE hook and associated data which was kept on the base,
for now: "show_region" stuff. I did that because scrollers need that
in order to work, right now. Keep in mind, though, the scrollers will
be reworked, so that fields ought to be changed soon, too.



SVN revision: 70704
2012-05-03 22:41:04 +00:00
WooHyun Jung f83917a420 elementar/focus : New feature - focus movement in all direction. By
using elm_widget_focus_direction_go function, focus will be moved from
the current focused object to the near object in one direction.
Direction can be set by degree(for easy usability). Degree changes
clockwise, i.e. 0 means UP, 90 means RIGHT, 180 means DOWN, and 270
means LEFT. You can select any direction by changing this degree.


SVN revision: 70681
2012-05-03 03:02:54 +00:00
Carsten Haitzler c0f2f4be91 REVERT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
this breaks theme api. so NO! come back with a version that doesn't
break it.



SVN revision: 70679
2012-05-03 01:19:05 +00:00
Gustavo Lima Chaves 5869e3bd8d [Elm] Now elm win and inwin got into the new
widget hierarchy.
Win inherits directly from Elm_Widget_Smart_Class, while inwin is now
an elm layout.

Note that elm_widget_sub_object_list_get(), which was an unecessary
hack only used on win, was killed.



SVN revision: 70640
2012-05-02 16:58:56 +00:00
Gustavo Lima Chaves 72d6e15f93 [Elm] Creating base smart class, to be extended
properly by real widgets.
I'm also creating a *compatibility* class on top of it, which extends
the old (unique) one to its old components, so that everything goes
unnoticed for the widgets.

Next, we'll be accessing class functions for widget hooks *on the base
class*, which will be proxied back to the instance ones.

Then, one by one the widgets will be translated to a proper
hierarchical smart class parentage, making extensibility and reuse
much better.

Last, but not least, since we'll be moving these hooks to the class,
where (almost) everything is a function, let's adapt to the future --
take away the "_func" suffix from them.

NB: there is ONE hook and associated data which was kept on the base,
for now: "show_region" stuff. I did that because scrollers need that
in order to work, right now. Keep in mind, though, the scrollers will
be reworked, so that fields ought to be changed soon, too.



SVN revision: 70627
2012-05-02 16:57:38 +00:00
Daniel Juyung Seo 044bdaf657 elm: Renamed internal function about elm_object_item_part_content/text_set/unset/get.
SVN revision: 70161
2012-04-12 23:39:36 +00:00
ChunEon Park c35d5ac903 elementary/win - [E-devel] [Patch][Elementary] Patch for elm_win to fix the focus chain issue in case of a widget added as a normal sub-object, not a resizable object
Current Issue:
Currently when we add a widget to window as a sub-object, e.g.
elm_notify_add(win) which internally calls elm_widget_sub_object_add
then the focus chain using <TAB> includes only
the first focusable subitem of the widget, not all.
Whereas with elm_win_resize_object_add, it works fine and cycles to
all focusable sub-items of the widget.

Reason:
The reason is that we are appending sub-object to the list in
elm_win which is used for focus chain, only in case of
elm_win_resize_object_add.

Change Description:
Added a new API: EAPI Eina_List
*elm_widget_sub_object_list_get(const Evas_Object *obj);
This API returns the list of sub-objects of an elementary widget
(sd->subobjs) where sd is Smart_Data pointer obtainted using
elm_widget_smart_data_get(obj).
We have used this API in elm_win for focus_next_hook implementation.

Signed-Off-By: RAJEEV RANJAN<rajeev.r>@samsumg.com>



SVN revision: 69943
2012-04-06 06:19:16 +00:00
ChunEon Park ee803ccfd8 elementary/widget - removed item smart callback internal infra.
Not exposed and not used anywhere.

We don't recommend to apply this.



SVN revision: 69889
2012-04-03 07:30:11 +00:00
Carsten Haitzler 2101792842 fix next calgrind bitch. yay!
SVN revision: 69737
2012-03-29 09:54:21 +00:00
Gustavo Lima Chaves ee95a473cf [Elm] Just being future-proof on some methods: error val on return.
SVN revision: 68844
2012-03-06 18:39:53 +00:00
ChunEon Park b42f6a38a3 elementary/widget - modified to check delete_me inside MACRO.
SVN revision: 68387
2012-02-24 06:53:03 +00:00
ChunEon Park 9536b08c36 elementary/elm_object_item - added smart callback feature.
SVN revision: 68377
2012-02-24 04:31:03 +00:00
Carsten Haitzler 628927d3d4 use focus order to determine if window never focused before instead of
show count. fixes focus problems in elm tests for entries



SVN revision: 68211
2012-02-21 10:54:46 +00:00
Carsten Haitzler 1656bc941d make sure to pass const to these funcs when getting.
SVN revision: 68156
2012-02-20 12:13:08 +00:00
Sanjeev BA 410abe34d1 Fix typos in documentation #11.
Signed-off-by: Sanjeev BA <iamsanjeev@gmail.com>

SVN revision: 67914
2012-02-14 08:50:53 +00:00
ChunEon Park 4ea4e28f15 elementary/widget - just removed macros duplicated impl.
SVN revision: 67666
2012-02-01 03:07:53 +00:00
ChunEon Park fcc6192848 elementary - modified item_del_pre_hook function prototype.
Now it returns the bool value to free the widget item.

Some widget items(i,e genlist) should not be deleted directly when elm_object_item_del is called.
So, if the pre_hook function returns EINA_FALSE, then the widget item will not be deleted.



SVN revision: 67565
2012-01-27 11:56:14 +00:00
ChunEon Park da7b8465a3 elementary/genlist - Elm_Genlist_Item -> Elm_Object_Item
SVN revision: 67370
2012-01-20 05:18:31 +00:00
ChunEon Park 56a881bd35 elementary/menu, ctxpopup, index, segment_control, diskselector, multibuttonentry, toolbar, naviframe, slideshow, hoversel, filpselector - deprecated xxxx_item_del() APIs.
But instead,  made to use the elm_object_item_del() APIs
for this, elm_widget_item needed to provide elm_widget_item_del_pre_hook.




SVN revision: 67010
2012-01-10 05:02:11 +00:00
ChunEon Park 0f8b78cdd5 elementary - renamed internal callback function
elm_widget_item_disabled_set_hook_set -> elm_widget_item_disabled_hook_set



SVN revision: 67007
2012-01-10 01:00:23 +00:00
ChunEon Park 594430c470 elementary/widget - just renamed internally.
SVN revision: 67006
2012-01-10 00:33:51 +00:00
ChunEon Park aac0e16d03 elementary/widget - +del_pre_hook
now elm_object_item_del is exposed to users, 
this callback is used for widgets to use internally.



SVN revision: 67004
2012-01-10 00:02:58 +00:00
Carsten Haitzler 745a1517d5 remove eina_pure and eina_nonnull because really.. they screw up
auto-formatting scripts and i just spent a long time fixing the
results of one. the actual value of these macros is minimal at best



SVN revision: 66680
2011-12-30 09:48:46 +00:00
Carsten Haitzler ec0bd7f73f move lots of deprecated stuff into deprecated files. need 2 right now.
SVN revision: 66679
2011-12-30 09:41:11 +00:00
Carsten Haitzler 0930fdcd52 fomatting of headers -> fixup. and documentation fixing.
SVN revision: 66667
2011-12-30 07:20:48 +00:00
Carsten Haitzler 1713de6106 add recursie object find function - it will only look at elm children
not go into edje objects et.c and hunt their children too. should be
more efficient than evas's recursive name finder.



SVN revision: 66591
2011-12-28 06:01:31 +00:00
Carsten Haitzler b8d342e49e add func for recursively finding named widgets.
SVN revision: 66589
2011-12-28 05:51:10 +00:00
Hyoyoung Chang ad04bbfc23 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_cnp_helper - make some cnp apis as
public EAPI

As I suggested, I made a patch for some cnp apis.
I think copying and pasting APIs are pretty mature to be public
Those are elm_selection_set, elm_selection_clear, elm_selection_get.
And adding cnp prefix for distinction from word, or char selections.

elm_selection_set    --> elm_cnp_selection_set
elm_selection_clear --> elm_cnp_selection_clear
elm_selection_get    --> elm_cnp_selection_get

And drag and drop APIs should be remained as private.
It has many flaws.




SVN revision: 66505
2011-12-26 04:08:45 +00:00
Hyoyoung Chang fe1cf81624 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_cnp_helper - bugfix mixing with ecore selection set apis
Date: Tue, 20 Dec 2011 18:57:25 +0900

Dear all

When ecore selection set apis(such as ecore_x_selection_clipboard_set)
used in elementary,
Some data is not pasted to elementary widgets.
It's due to mix ecore selection with elementary selection apis.

Data which by ecore doesn't have TARGETS information,
so elementary make it up with TARGETS Information for copying & pasting.

Thank you.


SVN revision: 66407
2011-12-21 03:49:53 +00:00
Hyoyoung Chang cb4aeb780e From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_cnp_helper - add type checking for non-elm cnp datas
Date: Fri, 16 Dec 2011 17:09:37 +0900

Dear developers

elm_cnp_helper supports rich types for copying & pasting.
but it doesn't extend like x11 way.
this patch introduces to reduce mismatch for checking selection type format.
now elm can live in harmony with non-elm cnp datas

Thanks


SVN revision: 66367
2011-12-20 08:37:26 +00:00