Commit Graph

76 Commits

Author SHA1 Message Date
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
Shinwoo Kim 2f5bb2b5cf [access] shutdown access module explicitly
SVN revision: 83577
2013-02-04 04:51:26 +00:00
Shinwoo Kim 8ffacbf583 [access] The read next/prev message does not move focus but move highlight only, the focus moves when the activate message is detected.
SVN revision: 83379
2013-01-28 11:13:18 +00:00
Shinwoo Kim b7e997b9fb [access] evas_call_smarts_calculate(); makes evas_event_feed_mouse_move();
so new object would be highlighted if there is new object under the previous mouse(cursor) position.
to fix this issue, elm_access is using the mouse_event_enable flag. but it would cause a problem as
following case: 1. create input window in access module, 2. read something, 3. disable access module
this would be resolved by export api to set mouse_event_enable flag the other day.


SVN revision: 82933
2013-01-17 11:32:14 +00:00
Shinwoo Kim 47d2e7a701 [access] use more proper name elm_access_object_get(); instead of elm_access_object_access_get();
SVN revision: 82793
2013-01-15 06:31:35 +00:00
Shinwoo Kim fd66920430 [access] follow consistent naming rule in elementary as below.
- elm_access_object_item_register(); -> elm_object_item_access_register();
  - elm_access_content_cb_set(); -> elm_access_info_cb_set(); The content would be considered as an evas object.
  - elm_access_text_set(); -> elm_access_info_set();


SVN revision: 82791
2013-01-15 04:20:37 +00:00
Daniel Juyung Seo 5ab9f4b980 elm access: Added const for getters.
SVN revision: 82588
2013-01-10 21:11:59 +00:00
Daniel Juyung Seo 26eccbef54 elm access: Code restructuring like other codes.
SVN revision: 82586
2013-01-10 21:11:34 +00:00
Shinwoo Kim 44363b8f19 [access] export some APIs which would improve application side flexibility.
+ elm_access_object_item_register();
  + elm_access_object_item_unregister();
  + elm_access_object_item_access_get();



SVN revision: 82561
2013-01-10 12:00:05 +00:00
Shinwoo Kim a05fc18d87 [access] return null; not return;
SVN revision: 82345
2013-01-07 13:26:54 +00:00
Shinwoo Kim 03c859692b [access] _elm_access_add() could return NULL
SVN revision: 82319
2013-01-07 05:56:51 +00:00
Shinwoo Kim 88dac18cf7 [access] export elm_access_activate_cb_set(); and add related documentation.
SVN revision: 82052
2013-01-03 09:31:33 +00:00
Shinwoo Kim f10fb3e115 [access] export some APIs,and remove unnecessary lines.
+ elm_access_object_register();
  + elm_access_object_unregister();
  + elm_access_text_set();
  + elm_access_text_get();
  + elm_access_cb_set();

These APIs are to use edje part, evas object as an accessible object.
and do not create access object, because access object would be created at run time.
This is different with internal API _elm_access_object_register();


SVN revision: 81659
2012-12-23 14:50:56 +00:00
Daniel Juyung Seo d24d0348ce elm access: const for getters.
SVN revision: 80369
2012-12-06 16:12:59 +00:00
Shinwoo Kim 30be7b82dc [access] add elm_access_external_info_get(Evas_Object*); becuase there is set();
SVN revision: 80353
2012-12-06 12:21:19 +00:00
Shinwoo Kim f426ed101c [access] elm_access_external_info_set(Evas_Object*, const char*) initial draft
i would like to export an API which name is elm_access_external_info_set(Evas_Object *, const char*);
this will be using by application side to set additional accessibility information.

widget could have different information which could be different in another context.
for example: there would be an entry which is for user ID, and there would be another entry which is for password.
in this case, developer would like to add additional information for each entry as below.

  entry for user id reads "entry (default information), this entry is for user id (additional information)"
  entry for password reads "entry, this entry is for password"

for this reason, i have attached patch. please review the patch and give feedbacks.



SVN revision: 80339
2012-12-06 10:56:29 +00:00
Shinwoo Kim 358ffe3b6b [access] remove internal APIs
1. _elm_access_item_register(); please use _elm_access_widget_item_register();
  2. _elm_access_item_unregister(); please use _elm_access_widget_item_unregister();
  3. Elm_Access_Info of Elm_Widget_Item, because Elm_Widget_Item uses elm_access object which has Elm_Access_Info.


SVN revision: 80063
2012-12-03 12:53:24 +00:00
Shinwoo Kim 80d7b56b1f [access] enhance access features
1. add access lines for ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_READ
  2. add _elm_access_highlight_cycle(); becase there is a case that
     highlight object would be different with focused object after
     user moves finger to specific object which does not have focus
     currently.


SVN revision: 79884
2012-11-30 11:50:52 +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