Commit Graph

67 Commits

Author SHA1 Message Date
Tom Hacohen 7629c147eb Eo related: Change according to recent changes in eo_add().
For more info check out a7560dbc61 in
the EFL tree.
2014-09-25 17:39:34 +01:00
Daniel Kolesa c159cb2ebc update according to Eolian syntax changes 2014-08-21 09:27:32 +01:00
Zbigniew Kosinski 9ce23f0004 atspi:Set roles for widgets
Reviewers: stanluk, m.jagiello, raster

Differential Revision: https://phab.enlightenment.org/D930
2014-06-11 11:07:16 +09:00
Tom Hacohen efa41c7d75 Elm: Update code to use the new class names generated by eolian. 2014-06-03 11:54:44 +01:00
Daniel Juyung Seo 44a67054de elm: fixed wrong internal variable name.
Unified the local variable name to ret if the ret is a return value of
another content_unset calls.
- Evas_Object *int_ret --> Evas_Object *ret
- Evas_Object *int_content --> Evas_Object *ret
- Evas_Object *content --> Evas_Object *ret
2014-05-10 14:13:57 +09:00
Daniel Zaoui 1303a6dbec Eolian: fix names for elc widgets.
Even if the file names are elc_..., the class names are supposed to be
elm_...
2014-04-22 16:39:35 +03:00
Tom Hacohen 83fc130dd4 fileselector entry: Adjusted to Eo2. 2014-04-10 09:34:59 +01:00
Daniel Zaoui 7e895e4d16 Eolian: Integration of File Selector Entry 2014-03-31 13:48:26 +03:00
Daniel Zaoui 2c24e9899d Eolian: Integration of File Selector Interface 2014-03-31 13:48:25 +03:00
Daniel Zaoui e2206a1a22 Eolian: Integration of Elm Widget 2014-03-17 09:03:56 +02:00
Jaehwan Kim db23689614 access: Add smart signal "access,changed"
It occurs that access mode is changed.
Application can add this callback for each widget.
2014-02-08 14:05:14 +09:00
ChunEon Park dbacb2fef9 elementary - send signal "language,changed" with one way in the widget.
Call the smart callback in the widget infra so that each widget don't need to hook the smart_translate only for the smart call.

This makes reducing duplicated code and supporting language,chagned from all widgets.
2014-01-23 19:30:34 +09:00
Daniel Juyung Seo 8298782bdc fileselector: Make fileselector focusable. Ok on Enter key and Cancel on Escape key.
Now fileselector accepts the key event on Enter and Escape.
2014-01-22 18:43:18 +09:00
Daniel Juyung Seo 5353aa863c elm: Removed unnecessary null check for free. 2014-01-22 11:13:11 +09:00
Daniel Juyung Seo c0d6b27a16 fileselector_entry: Moved declarations of deprecated APIs to
elm_deprecated.h and marked them as EINA_DEPRECATED in c code.
2014-01-21 23:50:31 +09:00
Ryuan Choi 26dd1db99c Introduce fileselector interface and applied to elm_fileselector.
Summary:
fileselector_button and fileselector_entry should have almost same interfaces with fileselector.
Previously , we exposed them individually such as elm_fileselector_is_save_set().

Instead of adding the same APIs three times, we can reuse one fileselector's API using Eo interface.

This patch introduced fileselector interface and applied it to elm_fileselector.

Reviewers: seoz, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D475
2014-01-21 22:50:35 +09:00
Yakov Goldberg 3379c124df all widgets: change Eo API for "elm_widget_theme()" to "theme_apply"
There are elm_widget_theme/theme_set/theme_get functions.
    In Eolian these functions will be described as "theme" method and
    "theme" property. There is clash here.
    So add suffix "_apply" to Eo API for "elm_widget_theme".
2014-01-21 11:08:29 +02:00
Ryuan Choi e62d226ccf fileselector_entry: Removed _mirrored_set(), one line local function
Small refactoring.
It is unnecessary one line function which just calls elm_widget_mirrored_set.
2014-01-15 21:58:07 +09:00
Ryuan Choi 7d72dd6c35 fileselector_entry: Delay elm_layout_theme_set until memebers are initialized in _smart_add
Summary:
elm_layout_theme_set can call some methods like _smart_disable and there are some warnings
when these methods manipulate some member variabls which are not initialized yet.
It's because elm_layout_theme_set is called too early in _smart_add.

Spotted while digging warnings after rELM4c3e23de9e46

Reviewers: seoz, raster

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D459
2014-01-15 21:44:21 +09:00
Daniel Juyung Seo fd5c046dfe elm: Changed __UNUSED__ to EINA_UNUSED. 2014-01-06 23:33:57 +09:00
Daniel Juyung Seo e63dd3110a elm: Unified eina critical manro to CRI.
Being annoyed by different types of eina critical macros - CRI, CRIT,
 CRITICAL -, I concluded to unify them to one. Discussed on IRC and
 finally, CRI was chosen to meet the consistency with other macros -
 ERR, WRN, INF, DBG - in terms of the number of characters.
If there is any missing bits, please let me know.
2013-12-26 13:03:55 +09:00
Tom Hacohen 2f1e1554e5 Changed Eo class names to be consistent.
All the class names are now of the format: Elm_Type_Subtype_Extra
2013-11-07 11:44:22 +00:00
Daniel Juyung Seo 8ec25b69fb elm: Added missing undefs. 2013-10-19 02:20:34 +09:00
Daniel Juyung Seo c336c4e688 elc_fileselector_entry.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:12:27 +09:00
Cedric Bail 29af5e1e43 elementary: update to new eo_parent_get/set API. 2013-09-25 13:34:27 +09:00
Daniel Juyung Seo 280987dd1d ctxpopup, fileselector, fileselector_button, fileselector_entry, actionslider: apply more signal macro. 2013-09-03 08:39:02 +09:00
ChunEon Park fe0f0a445e elementary/widgets - set parents before widget constructs their body.
This avoids unnecessary setups again when obj <-> sub has connected.
2013-08-27 00:29:45 +09:00
Daniel Juyung Seo ecf6eff9a4 elm: formatting fix for consistency. 2013-07-23 06:05:16 +09:00
Daniel Juyung Seo 896f149e82 elm: use more descriptive and consistent local variable name. 2013-07-23 05:34:19 +09:00
Ryuan Choi f12b32955a Revert "Remove redundant check routine what elm_entry_utf8_to_markup() returns."
This commit is invalid.
It just use strdup and strdup may return NULL when memory is not enough.

This reverts commit f579f7fd4b5e863f01a001876e536f5becc40811.
2013-07-18 10:26:27 +09:00
Ryuan Choi d6b87a1859 Remove redundant check routine what elm_entry_utf8_to_markup() returns.
elm_entry_utf8_to_markup() always returns allocated string.
So, we don't need to check what it returns.
2013-07-18 02:01:43 +09:00
Cedric Bail c929b33052 elementary: properly sanitize headers order. 2013-05-03 16:07:06 +09:00
Daniel Zaoui 187d6bf8de Elementary: replace eo_data_get for objects data referencing. 2013-05-01 11:04:09 +03:00
ChunEon Park fd772a71eb elementary/fileselector_button, fileselector_entry, spinner - support language,changed callback. 2013-04-23 21:00:50 +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
Tom Hacohen d75cb616da Change usage of eo_do_super to the new prototype. 2013-03-18 16:15:12 +00:00
Gustavo Lima Chaves 312d0217a0 An internal layout error, on a widget set, is a CRITICAL error. 2013-03-01 23:04:31 -03: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
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
Gustavo Lima Chaves 802d05d60f [elm] Filesector entry ported.
NB: IMO this should be a child of file selector button, but we'd have
to break its theme for that. Do go we go for that?



SVN revision: 75891
2012-08-30 16:45:28 +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
Jiyoun Park 2baf8077e2 remove some code related with elm_fileselector deprecated function
SVN revision: 68453
2012-02-26 13:16:36 +00:00
ChunEon Park e75c2a8333 elementary/fileselector_button, fileselector_entry - deprecated APIs.
elm_fileselector_button_icon_set
elm_fileselector_button_icon_get
elm_fileselector_button_icon_unset
elm_fileselector_entry_button_icon_set
elm_fileselector_entry_button_icon_get
elm_fileselector_entry_button_icon_unset



SVN revision: 66988
2012-01-09 08:06:43 +00:00
Carsten Haitzler f6a3fc40e1 stop using deprecated calls.
SVN revision: 66681
2011-12-30 10:02:19 +00:00
Daniel Juyung Seo bafe9c7426 elm: Use appropriate add/del_full for evas event callbacks.
SVN revision: 64536
2011-10-31 00:13:32 +00:00
Gustavo Lima Chaves a2ad0ab50e [elementary] Documenting/exemplifying file selector
entry.



SVN revision: 61403
2011-07-15 14:03:21 +00:00
Tom Hacohen fc6c3c3fc8 Elm: Make all the widgets accept "default" as the default.
SVN revision: 61002
2011-07-04 10:52:23 +00:00
Tom Hacohen 8031214260 elm fileselector_button_entry: add the elm_object_text_set/get hooks.
deprecate: elm_fileselector_button_entry_indicator_label_set/get.

SVN revision: 60993
2011-07-04 10:14:05 +00:00
Tom Hacohen b071be2cd2 Elm fileselector_btn: Fix code to use the new elm_object_text_set/get API.
SVN revision: 60992
2011-07-04 10:14:02 +00:00