Commit Graph

134 Commits

Author SHA1 Message Date
Daniel Zaoui 187d6bf8de Elementary: replace eo_data_get for objects data referencing. 2013-05-01 11:04:09 +03:00
Ryuan Choi 5685b1607b elm cursor: theme_search means opposition to engine_only.
theme_search_enabled API was introduced instead of engine_only API,
but the meaning is opposition.
2013-05-01 16:39:51 +09:00
ChunEon Park fb78d7dbd3 elementary/layout - layout supports "language,changed" callback 2013-04-30 18:47:38 +09:00
ChunEon Park e95af92756 elementary/widget - added elm_object_part_text_translatble_set() 2013-04-23 16:49:49 +09:00
Daniel Juyung Seo b2663b9d16 elm_entry, elm_layout: fixed formatting.
1. fixed formatting.
2. removed unnecessary lines.
2013-04-17 14:16:56 +09:00
Daniel Juyung Seo dce0d0e9dd elm_layout.c: Fixed layout's _dbg_info_get() function.
It was crashing with the combination of clouseau + naviframe.
Special thanks to JackDanielZ.
2013-04-09 14:48:42 +09:00
Daniel Juyung Seo 74b3eed5fd elm: print the error message inside elm_widget_sub_object_add().
1. Do not need to print the same error message from all the widget codes.
2. Even though elm_widget_sub_object_add() can be used internally, there should be no error message at all.
   Elm devs should fix it beforehand.
   So it looks ok to print the error message in elm_widget_sub_object_add() to force elm devs to fix it.
3. Got additional code cleanups.
2013-04-03 11:28:53 +09:00
Stefan Schmidt 9840d67f6a elm: No need for two set of parentheses in a simple comparison.
Seems this got copied around. Better fix it now before it widespreads more.
2013-03-22 08:44:15 +00:00
Tom Hacohen 6612aa8189 Revert changes that slipped in (to elm_layout) that shouldn't have had. 2013-03-19 15:16:58 +00:00
Carsten Haitzler 7916fc6a88 printf - SHUSH! no debug! 2013-03-19 11:05:43 +09:00
Tom Hacohen d75cb616da Change usage of eo_do_super to the new prototype. 2013-03-18 16:15:12 +00:00
Shinwoo Kim 82053ab780 [layout][access] access object on a layout could not be a child of the layout eventhough it is a child actually, because the access object could not be swallowed. 2013-03-18 17:55:09 +09:00
Daniel Juyung Seo 78c042cdbe elm *.c: fixed formatting with EINA_LIST_FREE.
EINA_LIST_FREE (xxx) -> EINA_LIST_FREE(xxx)
2013-03-09 13:23:42 +09:00
Daniel Juyung Seo 395e58265c elm elm_layout.c: fixed a document typo. 2013-03-01 00:18:58 +09:00
Tom Hacohen 912eac55ce Elm layout: Expose some clouseau information.
SVN revision: 84241
2013-02-19 16:23:27 +00:00
ChunEon Park 844b5805ff elementary/widget - don't handle tthe resize objects in widget infrastructure. Acutally these resize objects are sub objects so we don't need to care them separately. This caused overhead in some cases(ie, theme change)
SVN revision: 83990
2013-02-16 13:39:59 +00:00
Daniel Zaoui cdd1eea853 Replace supported_types
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 83803
2013-02-10 07:52:31 +00:00
Jaehwan Kim a36ec132c7 Fix the bug which the callbacks of the sub-object are added even if the sub-object is already added the parent object.
SVN revision: 82053
2013-01-03 09:52:57 +00:00
Cedric BAIL 91dc461a8d elementary: move code around for better readability.
SVN revision: 79871
2012-11-30 07:55:49 +00:00
WooHyun Jung 5147620d6c [elementary/elm_layout] There can be the cases with no aliases and no part name. Then EINA_FALSE should be returned.
Should All widgets(including elm_layout) have default aliases? or Not?.



SVN revision: 79861
2012-11-30 06:18:48 +00:00
Daniel Zaoui 0c915e9023 Cleaning: removed include Eo.h in widgets because it was indirectly included by Elementary.h
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79682
2012-11-26 09:29:01 +00:00
Yakov Goldberg 5c98343198 We have ported to Eo all the widgets of elementary. We didn't change the inheritance itself, only the mechanism, as done previously in Evas, Ecore and Edje. We removed totally the previous inheritance mechanism.
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79668
2012-11-26 06:32:53 +00:00
WooHyun Jung 5a4de3b062 [elementary/elm_layout] When elm_layout(or a widget inherits elm_layout) is deleted,
it doesn't need to call _smart_sizing_eval in itself.
Currently, _smart_sizing_eval is called by _elm_layout_smart_sub_object_del when elm_layout is deleted.
I think this is called unnecessarily.


SVN revision: 79540
2012-11-22 14:46:45 +00:00
Cedric BAIL 0474ed0f3f elementary: adds safety check when setting childs to elm_layout_box_*.
Patch from KoziarekBeata <b.koziarek@samsung.com>


SVN revision: 78220
2012-10-19 03:17:00 +00:00
Daniel Juyung Seo 30dba54610 elm: Fixed indentations for EINA_LIST/INLIST_FOREACH(_SAFE).
SVN revision: 77244
2012-10-01 07:36:27 +00:00
Tom Hacohen fd23a2a3af Elm layout: Revert "Elm layout: Fix segfault in some cases."
This reverts commit 76000.

Many thanks to glima for spanking me back into the right path.

SVN revision: 76012
2012-09-03 13:55:20 +00:00
Tom Hacohen 1ecc6bca52 Elm layout: Fix segfault in some cases.
Apparently this fixes stuff for Daniel Zaoui with some more complicated cases.

SVN revision: 76000
2012-09-03 11:14:17 +00:00
Gustavo Sverzut Barbieri dc718ff3ff fix layout signal emission.
- swallow: do not use magic constant '12' and assume it was prefixed
   with 'elm.swallow.';
 - text: use part name and now always 'text'



SVN revision: 75338
2012-08-16 21:41:24 +00:00
Gustavo Lima Chaves 72fa126e71 [elm] Inheritance tweeks on layout.
SVN revision: 74677
2012-07-31 22:05:38 +00:00
Christopher Michael bb27d02b6e Elm: Formatting.
SVN revision: 74554
2012-07-30 07:18:16 +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
Cedric BAIL 187462ec9d elementary: fix erroneous memory access.
One more pack of beer for the Valgrind developer !


SVN revision: 74202
2012-07-20 04:20:06 +00:00
Gustavo Lima Chaves 584c53c1be [elm] New elm_widget_add() usage spread.
SVN revision: 74148
2012-07-18 21:03:39 +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
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 Lima Chaves b15d43ef71 [elm] Oops, forgotten class smart cbs setting
paths.
This will also unb0rk Edje externals signal proxying.



SVN revision: 71868
2012-06-08 21:05:45 +00:00
Cedric BAIL c512652e70 elementary: Don't try to restore table part that the job of Edje.
NOTE: wondering if all that code shouldn't just be removed.


SVN revision: 71675
2012-06-04 02:58:08 +00:00
Cedric BAIL de165727bb elementary: improve doc.
Patch by Jérôme Pinot <ngc891@gmail.com>.

- #link on the beginning of a new line does give ugly output:
http://ngc891.blogdns.net/pub/projects/debug/doxygen-formating-eww.png
- some typos
- some missing @c
- in elm_web, convert remaining @li parameter lists to @param
- minor random fixes


SVN revision: 71486
2012-05-29 03:09:06 +00:00
Gustavo Lima Chaves 4f8b51b1aa [elm] And here comes image, icon and photo on the
new schema.
els_icon smart object was brought to be the base of the image widget,
in the form of an image class.

An elm icon is now a elm image, with a little more on top of it.

An elm photo is a now base widget aggregating an icon.

Toolbar's internal usage of the former els_icon is now changed to
icons, instead.

Some naviframe instantiations were set to enable events during
transitions, because this code is buggy and my chages exposed the
problem. It will be fixed as soon as I get to port Naviframe.



SVN revision: 71429
2012-05-25 19:53:59 +00:00
Leif Middelschulte 40e93fac34 Fix possible segv in smart_del callback.
Patch by glima

SVN revision: 71373
2012-05-23 21:56:44 +00:00
WooHyun Jung 68555430a3 elementary/elm_layout : Sync with old elm_layout. elm_widget_sub_object_add
should be called prior to edje_object_part_swallow. This is because
evas-callback function(about EVAS_CALLBACK_CHANGED_SIZE_HINTS) which is
registered by _smart_sub_object_add should be called after the one
registered by edje_object_part_swallow.


SVN revision: 70985
2012-05-14 06:13:47 +00:00
Cedric BAIL a666de6518 elementary: reload theme when it change on disk.
NOTE: This is not very robust yet. But that's not related to this patch.
You can see the issue when switching between two different theme in
elementary_config. At some point elementary_test start to loose information.


SVN revision: 70895
2012-05-09 10:46:14 +00:00
Gustavo Lima Chaves 57b7d52466 [Elm] Helper on resize_object_add()
SVN revision: 70712
2012-05-03 22:41:47 +00:00
Gustavo Lima Chaves f4e29b50ee [Elm] 2nd specialization of Elm's new base smart
class: elm_layout.
This will be, besides the codebase for the elm_layout widget, a common
base for all other widgets which got an edje layout as a basis for
their decoration.

From now on, all elm_layout_* namespaced fuctions will function
on objects inheriting from this base:

- elm_layout_content_set
- elm_layout_content_get
- elm_layout_content_unset
- elm_layout_text_set
- elm_layout_text_get

(recovered from deprecated header -> not anymore)

- elm_layout_sizing_eval
- elm_layout_data_get
- elm_layout_edje_get

- elm_layout_file_set
- elm_layout_theme_set

- elm_layout_box_append
- elm_layout_box_prepend
- elm_layout_box_insert_before
- elm_layout_box_insert_at
- elm_layout_box_remove
- elm_layout_box_remove_all
- elm_layout_table_pack
- elm_layout_table_unpack
- elm_layout_table_clear

Three missing functions on layouts were added, then:

- elm_layout_signal_emit
- elm_layout_signal_callback_add
- elm_layout_signal_callback_del

Naturally, the elm_object_ namespaced counterparts of those will also
function (they will be deprecated on the future).



SVN revision: 70708
2012-05-03 22:41:26 +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 ca072667db [Elm] Helper on resize_object_add()
SVN revision: 70635
2012-05-02 16:58:31 +00:00
Gustavo Lima Chaves e6ab50005c [Elm] 2nd specialization of Elm's new base smart
class: elm_layout.
This will be, besides the codebase for the elm_layout widget, a common
base for all other widgets which got an edje layout as a basis for
their decoration.

From now on, all elm_layout_* namespaced fuctions will function
on objects inheriting from this base:

- elm_layout_content_set
- elm_layout_content_get
- elm_layout_content_unset
- elm_layout_text_set
- elm_layout_text_get

(recovered from deprecated header -> not anymore)

- elm_layout_sizing_eval
- elm_layout_data_get
- elm_layout_edje_get

- elm_layout_file_set
- elm_layout_theme_set

- elm_layout_box_append
- elm_layout_box_prepend
- elm_layout_box_insert_before
- elm_layout_box_insert_at
- elm_layout_box_remove
- elm_layout_box_remove_all
- elm_layout_table_pack
- elm_layout_table_unpack
- elm_layout_table_clear

Three missing functions on layouts were added, then:

- elm_layout_signal_emit
- elm_layout_signal_callback_add
- elm_layout_signal_callback_del

Naturally, the elm_object_ namespaced counterparts of those will also
function (they will be deprecated on the future).



SVN revision: 70631
2012-05-02 16:58:10 +00:00
Carsten Haitzler 3a7b769a63 use the new escape text set to clear up issues if theme has TEXT vs
TEXTBLOCK items and handling escapes so text is consistend across elm.
fiuxes the fileselector issues kai reported.



SVN revision: 70362
2012-04-20 12:51:10 +00:00
Daniel Zaoui 2af393e43b elm layout: Fixed handling of NULL in part_content_set.
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 69918
2012-04-04 09:04:39 +00:00