Commit Graph

314 Commits

Author SHA1 Message Date
Lukasz Stanislawski 2ca1f8a75a atspi: properly include at-spi headers.
Summary:
Change requested by TAsn. Previuosly AT-SPI headers were kept private
and included directly into elementary source code. From now on,
AT-SPI headers can be included from Elementary.h public header, however
will be marked as beta APIs.

Commit includes following changes:
* include all atspi headers into new elm_interfaces.h header.
* marking all at-spi interfaces methods/properties as @protected.
* wrap all common headers with EFL_BETA_API_SUPPORT.
* make some common APIs visible in lib, by adding EAPI attribute
  (if someone decides to use beta APIs).

Test Plan: out-off tree build with gcc, g++

Reviewers: tasn

Reviewed By: tasn

Subscribers: seoz, q66, kuuko

Maniphest Tasks: T1721

Differential Revision: https://phab.enlightenment.org/D1528
2014-10-17 16:57:26 +01:00
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
Wonguk Jeong 96f6457fe6 naviframe: hide item added by elm_naviframe_item_insert_before()
Fixes T1650
2014-09-23 11:46:26 +02:00
Daniel Kolesa c159cb2ebc update according to Eolian syntax changes 2014-08-21 09:27:32 +01:00
Daniel Juyung Seo 75b3a73af9 naviframe: set EINA_UNUSED for the unused variable. 2014-08-01 13:10:34 +09:00
Jaehyun Cho 158134c6d9 elc_naviframe: Fix warning caused by elm_obj_layout_signal_emit override function in naviframe
Summary: Fix the elm_obj_layout_signal_emit override function in naviframe to prevent warning

Reviewers: seoz, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1253

@fix
2014-07-31 22:06:27 +09:00
Jaehyun Cho 9cf340ba0d elc_naviframe: Fix access info set for naviframe prev_btn and next_btn.
Summary: Do not set access info for naviframe prev_btn and next_btn when their access info are already set.

Reviewers: Hermet, kimcinoo

Reviewed By: kimcinoo

Differential Revision: https://phab.enlightenment.org/D1255
2014-07-31 21:57:45 +09:00
Lukasz Stanislawski 09b9ef0bc0 atspi: expose more actions through atspi bus.
Summary:
Main purpose of exposing widget actions and keyboard shortcuts
is to allow accessibility clients to implement alternative methods
of GUI navigation.

Reviewers: z.kosinski

Reviewed By: z.kosinski

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1227
2014-07-25 11:58:16 +02:00
Lukasz Stanislawski 3ce591c142 atspi: expose elc_naviframe "top_item_get" action through d-bus 2014-07-15 16:45:55 +02:00
WooHyun Jung 1deb003abe naviframe : fix focus logic while popping an item.
elm_widget_tree_unfocusable_set with EINA_TRUE sets focus to the newest
focused object. If prev item is tree_focusable, one of its children can
get focus. This focus movement is unexpected, so should not be happened.
2014-06-23 15:27:14 +09: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 8ffbf246f4 elm: fixed trivial formattings.
Just found them while reading codes.
2014-05-10 23:44:27 +09:00
Jaehyun Cho ed6fb47ccc naviframe: Emit visible/invisible signals when view is shown/hidden
Summary:
Previously, previous view was just shown by evas_object_show and hidden by evas_object_hide.
Now, "elm,state,visible" and "elm,state,invisible" signals are emitted to enable application to do in edc what they want when each view is shown/hidden.

Reviewers: Hermet

CC: raster

Differential Revision: https://phab.enlightenment.org/D785
2014-04-24 14:22:26 +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
ChunEon Park 5ab6a7739f widgets - don't handle the events(key,mouse) if the object is disabled.
we can prevent to handle the widget events from the widget infra,
if the object is disabled.

conceptually, disabled object should not be interacted to user input(key, mouse)
2014-04-16 10:59:43 +09:00
Tom Hacohen 9c6576d1c6 naviframe: Adjusted to Eo2. 2014-04-10 09:34:59 +01:00
Jaeun Choi df2b76dcc1 naviframe: apply key binding
Summary: This patch applies key binding to elc_naviframe.

Test Plan: elementary_test > Naviframe > check key events

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D709
2014-04-10 11:14:59 +09:00
Daniel Zaoui 8c86eecb4b Fix Uninitialized scalar variable reported by Coverity.
Fixes Coverity CID1195446
2014-04-03 12:08:38 +03:00
Daniel Zaoui b62d73c702 Eolian: Integration of Naviframe 2014-03-31 13:48:26 +03:00
Subhransu Sekhar Mohanty 68b66830b4 naviframe : Fixed the overlap issue during multiple push.
Summary:
Currently there is a overlap issue in naviframe in case of multiple push.
This issue will occur if the naviframe edc implements push,defered for
the item transition. The issue occurs becoz of cur,push,deffered is not being
called to the current and intermediate items during multiple item push.
To fix the above issue pass the data as current item that needs to be
out of the aviframe during creating the animator job.

@fix

Reviewers: Jaehyun, seoz, Hermet

Reviewed By: Hermet

CC: raster

Differential Revision: https://phab.enlightenment.org/D645
2014-03-22 14:23:23 +09:00
Daniel Zaoui e2206a1a22 Eolian: Integration of Elm Widget 2014-03-17 09:03:56 +02:00
Andy Williams bcf8f05e73 naviframe: Fixing issue with over-generalisation of common code in change: Refactored item_push functionality in naviframe. 2014-03-14 01:32:43 +00:00
Subhransu Sekhar Mohanty 8d05e3657e naviframe : Refactored item_push functionality in naviframe.
Summary:
Added item_push_helper function, so that both item_push as well as item_promote
will reuse the same functionality.

Reviewers: seoz, Hermet, Jaehyun

Differential Revision: https://phab.enlightenment.org/D627
2014-03-12 19:13:36 +09:00
Jaehyun Cho 698eb0c7fc naviframe: Fix smart_show function to show only top item view
Summary:
Now if evas_object_show is called for naviframe, all item views are shown.
This may cause the previous item view is overlapped to the top item view.
To resolve this problem, fix smart_show of naviframe to show only top item view.
@fix

Reviewers: Hermet

CC: seoz

Differential Revision: https://phab.enlightenment.org/D594
2014-03-07 11:12:06 +09:00
Jaehyun Cho 4002cb2c5a naviframe: Emit visible signal to edc theme when first item is pushed
Summary:
Emit "elm,state,visible" "elm" signal to edc file when first item is pushed.
Above signal can be used if an application wants to do something when the first view is shown on the screen.

@fix

Reviewers: Hermet, seoz, raster

CC: seoz, raster

Differential Revision: https://phab.enlightenment.org/D483
2014-03-05 14:34:49 +09:00
Jaehyun Cho bd7c5cbbff naviframe: Fix elm_naviframe_item_pop_to not to attempt to remove removed item
Summary:
Previously, the following error message is shown.
         eina_inlist_remove() safety check failed: item does not appear to be part of an inlist!
         Now, eina_inlist_remove() is removed from elm_naviframe_item_pop_to
         because eina_inlist_remove() is called in _item_del_pre_hook.

Reviewers: seoz, raster

Reviewed By: raster

CC: Hermet

Differential Revision: https://phab.enlightenment.org/D553
2014-02-17 21:09:53 +09:00
Jaehyun Cho 934113bc20 naviframe: Fix to set only top view to be focusable
Summary:
Previously, all views were focusable except during transition.
         Now, only top view is focusable.

Reviewers: seoz

CC: Hermet

Differential Revision: https://phab.enlightenment.org/D554
2014-02-17 21:03:01 +09: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
Jaehyun Cho 4aeb779a48 naviframe: Hide inserted view if the view is not a top view
Summary:
Although an inserted view is not a top view, the inserted view is shown
         because it is not received invisible signal.
         To resolve the problem, the invisible signal is emitted if the inserted
         view is not a top view.

Reviewers: Hermet, raster

Reviewed By: raster

CC: seoz

Differential Revision: https://phab.enlightenment.org/D494
2014-02-07 23:21:31 +09:00
WooHyun Jung 0a1179dde4 elm_layout now supports focused/unfocused smart callback
by itself for widgets that inherit layout class.
If it uses elm_widget's, smart callback will be called at the
beginning or smart_on_focus function.
2014-02-06 16:18:57 +09:00
Tom Hacohen ad36b35ffc Revert "[naviframe] Fix to hide the previous view by emitting signal"
This breaks elementary_config (open it and you'll see the weird bugs on
the top left corner). Please fix it and recommit as needed. I have no
time to dive into naviframe and see what this patch is meant to be
doing.

This reverts commit e3784b68e01849a99e06f31e02192ffb19d1275c.
2014-01-24 17:37:24 +00:00
ChunEon Park f8d00ae0f2 elementary - override widget translation but work also the base widget's behavior.
Some widgets override the widget translation but it didn't inherit the base widget's function.
Becuase of it,The language changed won't be properly called in the widget tree.

Now it fixed it.
2014-01-23 20:20:43 +09:00
ChunEon Park 39ad0e358e elementary - support language changed callback from a few widgets.
support a language,changed callback if a widget has the text part in default.
2014-01-23 20:07:20 +09:00
ChunEon Park aebdcff513 elementary - use the focused/unfocused string in widget defined.
Now, it will share the strings so that reduce the binary size also user uses it in one way.
2014-01-23 17:27:17 +09:00
Carsten Haitzler 91c61d0837 naviframe - don't access item after del 2014-01-23 11:59:07 +09:00
Daniel Juyung Seo e7528a2e78 naviframe: Use elm_widget_item_del() when you want to delete the item
data.

It will call del_pre_func and free the item data.
Special thanks to glima for the report.
2014-01-22 23:33:47 +09:00
Jaehyun Cho 404093c701 [naviframe] Fix to enable item deletion in pop_cb
Summary: Fix to enable item deletion in the registered pop_cb function

Reviewers: Hermet

Reviewed By: Hermet

CC: seoz

Differential Revision: https://phab.enlightenment.org/D487
2014-01-22 22:13:51 +09:00
Jaehyun Cho 1ca6d33e08 [naviframe] do not size evaluate during deletion
Summary: Author: Shinwoo Kim <cinoo.kim@samsung.com>  2012-12-11 20:13:39

Reviewers: Hermet

CC: seoz

Differential Revision: https://phab.enlightenment.org/D485
2014-01-22 22:09:16 +09:00
Jaehyun Cho ef93bf6616 [naviframe] Fix to hide the previous view by emitting signal
Summary:
Previously, previous view was hidden by evas_object_hide.
         However, this method is no longer correct because size calculation of naviframe causes evas_object_show.
         Now, previous view is hidden by emitting signal to naviframe theme and clipper hides the previous view.

Reviewers: Hermet

Reviewed By: Hermet

CC: seoz

Differential Revision: https://phab.enlightenment.org/D484
2014-01-22 22:07:31 +09:00
Daniel Juyung Seo db5fe2581d elm: Removed unnecessary null check for evas_object_del. 2014-01-22 10:54:52 +09:00
Daniel Juyung Seo a4f3074f9c elm: Removed unnecessary null check for ecore_timer_del,
ecore_animator_del, and ecore_job_del.

As all efl public free apis get null as valid parameter, we do not need
to check null. I also removed some null check for other free apis which
were right next to timer/animator/job del. After this job code got
cleaner.
2014-01-21 23:18:16 +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
ChunEon Park 812bdae606 elementary - don't use __UNUSED__ anymore 2014-01-15 14:36:55 +09:00
Jaehyun Cho afef2271fd [naviframe] Replace naviframe title visible APIs to naviframe title enabled APIs
Summary:
To support naviframe title transition effect, naviframe title enabled APIs are applied.
         To remove the duplicate functionalities, naviframe title visible APIs are deprecated.

Reviewers: Hermet

Reviewed By: Hermet

CC: seoz, raster

Differential Revision: https://phab.enlightenment.org/D426
2014-01-15 14:29:05 +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
Daniel Juyung Seo 6d71a23c3a elm lib: removed all the unnecessary empty lines.
being pedantic.
2013-12-15 06:18: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 d22076681b elm: Fixed formatting about smart_event check for code consistency.
- Made it look clearer.
- Removed unnecessary local variables.
- Keep the code sequence consistent.
2013-10-28 23:30:12 +09:00