Commit Graph

94 Commits

Author SHA1 Message Date
Daniel Juyung Seo fadcf243ce access: Fixed memory leak.
This fixes coverity CID 1193244:  Resource leak  (RESOURCE_LEAK).

@fix
2014-03-21 02:33:22 +09:00
Daniel Zaoui 45dc4cd461 Eolian: Fix ctor/dtor generation 2014-03-19 07:04:34 +02:00
Daniel Zaoui cbae1d7cba Eolian: Integration of Access 2014-03-19 07:04:34 +02:00
Daniel Zaoui e2206a1a22 Eolian: Integration of Elm Widget 2014-03-17 09:03:56 +02:00
Jaehwan Kim 9d4a9dae02 access: Add elm_widget_access_highlight_in_theme_set/get.
This is for widget to draw the access highlight itself in theme.
2014-02-08 12:27:41 +09:00
Daniel Juyung Seo 5353aa863c elm: Removed unnecessary null check for free. 2014-01-22 11:13:11 +09:00
Daniel Juyung Seo 43533a2fb9 elm: Removed unnecessary null check for eina_stringshare_del. 2014-01-22 10:54:45 +09:00
Daniel Juyung Seo fd5c046dfe elm: Changed __UNUSED__ to EINA_UNUSED. 2014-01-06 23:33:57 +09:00
Daniel Juyung Seo 2caa98e296 Revert "elm_access: Disable public accessibility APIs in elm 1.8 release."
This reverts commit 0d61121ce4f87c9e9b0e8d8d7975f815328fe6f5.
2013-12-16 16:02:35 +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 b977c01224 elm_access: Disable public accessibility APIs in elm 1.8 release.
Accessibility APIs are added after elm 1.7 and they are not stable yet.
Disabled those APIs for elm 1.8 release. We are going to work on them after elm 1.8 release.
2013-11-02 04:23:15 +09:00
Daniel Juyung Seo e951a0b499 access: fixed a typo. _elm_access_object_hilight -> _elm_access_object_highlight. 2013-10-31 23:01:56 +09:00
Daniel Juyung Seo 422728a8d2 elm_access.c: Removed dead code.
ho cannot be null.
This fixes coverity CID 1046506.
2013-10-08 19:57:42 +09:00
Daniel Juyung Seo 62b89f0ad5 elm_access.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:13:18 +09:00
Cedric Bail 29af5e1e43 elementary: update to new eo_parent_get/set API. 2013-09-25 13:34:27 +09:00
Shinwoo Kim 3359ff5be5 [access] unfocusable object could have highlight 2013-09-10 14:22:21 +09:00
Shinwoo Kim 34de4d619d [access] enhancement - refine function name to _elm_access_auto_highlight_set from _elm_access_read_mode_set 2013-09-10 14:01:50 +09:00
Shinwoo Kim ee57d26ada [access] delete access object in job when its hover object is deleted 2013-09-07 11:34:04 +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 20f58390d7 elm_access.c: refactoring. cleaner code. 2013-08-11 18:23:18 +09:00
Shinwoo Kim 7af04bd5ec [access] remove double free possibility by removing object data 2013-08-09 19:03:56 +09:00
Shinwoo Kim c47ef1b7fe [access] use proper name _elm_access_info_get(); not _elm_access_object_get(); to get access information 2013-07-31 12:57:49 +09:00
Carsten Haitzler 3571cdd209 unregister access fully on del of src obj. 2013-07-18 12:48:22 +09:00
Shinwoo Kim e35f12deaa [access] add elm_access_highlight_next_set, export elm_widget_focus_region_show 2013-07-06 14:41:00 +09:00
Shinwoo Kim 0853e304e6 [access] set a module api to NULL in shutdown(); because _elm_module_unload(); could access m->api and try to free(); 2013-07-05 19:04:36 +09:00
Shinwoo Kim 4ec80b4e9f Revert "[Access] Add new API to register a part on an object item as an access object."
This reverts commit 741243b645248223527ef834ed0dc10622a0ffd3.
2013-06-05 15:05:58 +09:00
Daniel Juyung Seo d0d4afd590 elm: refactoring. no printf in the library. use eina log instead. 2013-06-05 14:40:03 +09:00
Tae-Hwan Kim 9aaf2f5587 [Access] Add new API to register a part on an object item as an access object.
Author: bluezery
2013-06-04 19:34:18 +09:00
Daniel Juyung Seo b0f793baa7 elm_access.c: ELM_SAFE_FREE adoption for access.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:22:16 +09:00
Daniel Juyung Seo ac25946a19 elm: introduce ELM_FREE_FUNC for code quality enhancement.
There are pros and cons but this
1. reduces human mistakes.
2. enhances readability.
3. enhances code quality.
4. removes future bug.
5. was adopted from enlightenment.

This is not all. I will work on enhancing elementary more and more.
2013-05-22 02:24:02 +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
Shinwoo Kim 1a20353725 [access] make access object unfocusable, when accessibility is disabled 2013-04-22 14:18:42 +09:00
Shinwoo Kim ae9adc7944 [access] reset access info callback function, if access info data is set 2013-04-18 11:01:20 +09:00
Shinwoo Kim 8558d80ae1 [access] add elm_access_action(), elm_access_action_cb_set() 2013-04-18 10:52:01 +09:00
Shinwoo Kim 31afa29838 [access] read at once 2013-04-17 17:22:13 +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
Shinwoo Kim e8ab610b57 [access] do not call timer callback directly 2013-03-23 08:45:26 +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 0d05c1aeb4 [access] do not try to give a highlight, if the object already has a highlight - use more proper line 2013-03-08 11:44:49 +09:00
Shinwoo Kim 99ad5779de [access] do not highlight, if the object already has the highlight 2013-03-07 20:30:33 +09:00
Shinwoo Kim 99f870ac39 [access] check whether a highlight object is NULL or not 2013-03-01 19:03:36 +09:00
Shinwoo Kim 2a10366721 [access] remove unnecessary lines 2013-03-01 18:58:25 +09:00
Shinwoo Kim b534e20062 [access][ctxpopup][popup] parent could be any object such as elm_list which does
not know ctxpopup, popup as its child object in the focus_next();.



SVN revision: 83884
2013-02-14 09:20:54 +00:00
Shinwoo Kim 72991f6dfe I "accidently" fixed this bug in elm_access.
_elm_access_highlight_cycle sets access read_mode as EINA_TRUE
and then never set it back as EINA_FASLE,
which causes elm_widget_focus_steal not to be called when restoring focus tree.

...sorry for a lame explanation (somebody help me out!)

signed-off-by: Jaeun Choi jaeun_choi@naver.com


SVN revision: 83883
2013-02-14 08:41:18 +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
Daniel Juyung Seo 374bf4c8cb elm elm_access.c: Fixed formatting.
SVN revision: 83783
2013-02-08 15:16:20 +00:00
Shinwoo Kim 0a1d984d9b [access] unregister an object from application side.
SVN revision: 83761
2013-02-08 06:16:03 +00:00
Shinwoo Kim 166f5ae570 [access] convey(relay) focus(highlight) to the object which is swallowed by Elm_Object_Item.
SVN revision: 83742
2013-02-07 13:01:34 +00:00
Shinwoo Kim f495b4514d [access] export functions: elm_access_say(); elm_access_highlight_set();
SVN revision: 83620
2013-02-05 10:11:42 +00:00