Commit Graph

11627 Commits

Author SHA1 Message Date
Lukasz Stanislawski 31545f69f8 atspi: set FOCUSABLE state only when widget has no focusable children
AT-SPI2 specification states that active window can have only one widget
with FOCUSED state. This differs from elementary design which assumes
that whole elementary widget tree branch is focused.
Patch assumes that if a widget have no focusable children and can have
focus it can be marked as FOCUSABLE on atspi bus.
2015-05-13 15:39:24 +02:00
Lukasz Stanislawski 06f97cd1af atspi: do not return ELM_ATSPI_STATE_ACTIVE when widget is enabled.
According to atspi specification ATSPI_STATE_ACTIVE is reserved
only for windows having keyboard focus.
2015-05-13 15:39:24 +02:00
Lukasz Stanislawski c306271bc3 atspi: handle state change notifications in on_focus function 2015-05-13 15:39:24 +02:00
Ji-Youn Park 8d1a238d1c elm_win: Add elm win key grab. If keyrouter support several keygrab mode, apps can use it. 2015-05-13 20:57:36 +09:00
Daniel Kolesa c075f15d67 eo: sync with latest Eolian changes and introduce a harmless temporary hack 2015-05-12 16:27:09 +01:00
Lukasz Stanislawski 5d61fe27d4 atspi: add component interface to elm_widget_item objects. 2015-05-12 15:31:20 +02:00
Lukasz Stanislawski 0279a91e57 atspi: fix accessible_at_point method to match specification. 2015-05-12 15:24:16 +02:00
Daniel Kolesa 5fdf454ef0 eo: fix up the remaining doc comments 2015-05-11 15:25:29 +01:00
Daniel Kolesa e74cd43c7b elm_widget_item: fix doc comments 2015-05-11 15:11:48 +01:00
Lukasz Stanislawski 7abf897ac0 atspi: more org.a11y.atspi.Window signals is broadcasted. 2015-05-11 15:48:49 +02:00
Vitor Sousa d9174d4bc0 elm_win: Move enums to elm_win.eo
Move enums from elm_win_common.h to elm_win.eo in order to make them
more accessible for bindings.

Moved the include for elm_win.eo.legacy.h to the top of elm_win_legacy.h
to allow the use of the generated types in the function declarations.
2015-05-07 16:00:03 -03:00
Vitor Sousa 06bfb7cb94 elm_win_standard: Add elm_win_standard class
This commit adds the Eolian class elm_win_standard.
It is basically a derivation from elm_win that creates a default background.

The intent is to replace the legacy functions elm_win_util_standard_add and
elm_win_util_dialog_add by functions accessible via Eo API functions such as
eo_add and eo_do.

To fully replace an elm_win_util_standard_add call, use:

  eo_add(ELM_WIN_STANDARD_CLASS, NULL,
         elm_obj_win_name_set("example"),
         elm_obj_win_type_set(ELM_WIN_BASIC),
         elm_obj_win_title_set("Example"));
2015-05-07 15:59:50 -03:00
Vitor Sousa 7d21b7beb1 elm_win: Replace elm_win_constructor by constructing properties
Removed the constructing method elm_obj_win_constructor.
Now "name" and "type" are properties that must be set at creation, like this:

  eo_add(ELM_WIN_CLASS, NULL,
         elm_obj_win_name_set("example"),
         elm_obj_win_type_set(ELM_WIN_BASIC));

Also, the "title" property can be set at creation now.
2015-05-07 13:55:27 -03:00
Daniel Kolesa fd06107d07 eolian: use the new property syntax 2015-05-07 17:32:53 +01:00
Jee-Yong Um 198f086feb elm_genlist: Emitting signal when content or text is set in genlist item
Summary:
There could be a demand for providing subtle different item styles
according to the existence of icon or text swallowed in genlist item.
For example, if icon exists, genlist item shows icon, or show rectangle
where icon should be placed.
One style can have various form with this signal.

Reviewers: Hermet

Subscribers: Hermet

Differential Revision: https://phab.enlightenment.org/D2348
2015-05-07 17:18:45 +09:00
maxerba 44f53930ee Updating spanish translation 2015-05-06 19:03:29 +02:00
Vitor Sousa a4e9658e70 elm_photocam: use Efl.File in Elm_Photocam
Summary:
Address the issue:
- Elm photocam and the file interface clash on file_set.
Specified in the page:

https://phab.enlightenment.org/w/efl_interfaces/

Reviewers: felipealmeida, tasn

Differential Revision: https://phab.enlightenment.org/D2351
2015-05-06 15:46:46 +01:00
Tom Hacohen 9639418c59 Win: Make animator,tick signal actually work.
This commit also updated one of the elementary test to show
the new one of doing it.

This lets users of the API just add a callback and automatically
get animation ticks. It's done per window, because update rate
may be different for different windows (think different screens).
2015-05-06 15:46:46 +01:00
Vitor Sousa 7b74f29445 Revised classes and interfaces in .eo files and added missing attributes
Summary:
Some newly implemented attributes are not present in several classes and
interfaces.

This patch:
- Adds some attributes (like @nullable, @optional, own, free) to several .eo files.
- Changes some eina types names to the equivalent eolian name (like "Eina_Bool" to "bool")
- Adds the element type of lists and iterators.

Reviewers: felipealmeida, tasn

Reviewed By: tasn

Differential Revision: https://phab.enlightenment.org/D2350
2015-05-06 15:46:46 +01:00
Tom Hacohen efc0d3ef35 Elm image: Use correct Eolian namespace syntax. 2015-05-06 15:46:46 +01:00
Tom Hacohen 8bbdeb3d93 Elm button: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen f627a65ea9 Most of elm: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen 63d1667b81 Elm bubble: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen c5ba34add2 Elm bg: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen 0316c2630f Elm box: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen f6cf792356 Elm container: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen 5fc6407cd1 Elm layout: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen 96a0528978 Elm actionslider: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen 97adfcc706 Elm access: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen 0b6bacd035 Elm widget+item: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Chris Michael a224a5ac20 elementary: Remove unused variable
@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-06 10:40:33 -04:00
Stefan Schmidt f57ab7ef74 Revert "fileselector: Work around initial genlist size bug for release."
This reverts commit 64a4cf4c6847936f5074ad94bf9a8f2283609c3b.

Was only a workaround for the release. Needs proper fixing in the 1.15 cycle now.
2015-05-06 16:14:28 +02:00
Stefan Schmidt aa1f0566ed configure: Switch to dev mode again. Merge window for 1.15 is open now. 2015-05-06 16:00:13 +02:00
Stefan Schmidt 14bd99bd40 release: Update NEWS and bump version for 1.14.0 release 2015-05-06 15:30:02 +02:00
Stefan Schmidt deee7a231a fileselector: Work around initial genlist size bug for release.
Jupp, its a dirty hack but it helps to work around the problem for now and
get the release out. I will revert it in master after the release and we
keep the bug open until this is fixed and hopefully backported.

ref T2367
2015-05-06 14:34:32 +02:00
Cedric BAIL 35723cd7d4 naviframe: fix poping top item continuously to empty the naviframe stack.
This should be a proper fix for T1717. Idea is that we build a list of operation
that needs to be deferred in order (including pop and push) so that we are sure
we can pop and push in any order without the need to wait for any event.
2015-05-06 14:25:15 +02:00
Cedric BAIL 51386942a0 naviframe: add a test for checking expected behavior or item_pop. 2015-05-05 18:13:12 +02:00
Lukasz Stanislawski f299be8712 gengrid: fix mem leak occuring when getting name from atspi interface 2015-05-04 11:46:05 +02:00
Davide Andreoli b25a0a3ea3 Fix slideshow smart events event_info
Changed all the callback_call to pass the correct Elm_Object_Item
(Eo) pointer, was passing Elm_Slideshow_Item_Data instead.

@fix

Also updated the test
2015-05-04 02:16:33 +02:00
Sung-Taek Hong 058fbcca59 map: fix scale calculation error
Summary:
As the map shows the nearer to the equator,
the scale of the map should be smaller.

In elm_map, the opposite happens because
meters per pixel was miscalculated.
Thus, calculation is corrected
http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames#Resolution_and_Scale
@fix

Reviewers: seoz, woohyun, Hermet

Differential Revision: https://phab.enlightenment.org/D2426
2015-05-01 14:34:11 +09:00
Umesh Tanwar fb54e83a55 Genlist: rectification in _item_focused_next()
Summary:
If current item is disabled, next item should be
taken.

Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>

@fix

Reviewers: raster, Hermet

Subscribers: singh.amitesh, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2458
2015-05-01 14:33:18 +09:00
Amitesh Singh f2be5189c9 entry: Fix memory leak.
Summary:
This fixes memory leak in case of txt is NULL

@Fix

Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>

Reviewers: seoz, raster, Hermet

Subscribers: seoz, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2459
2015-05-01 14:32:34 +09:00
Umesh Tanwar 3253568481 Genlist: fix multiselect for ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY select_mode
Summary:
fix the _item_multi_select_down() function for
ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY select_mode.
_item_multi_select_up is right, but _item_multi_select_down is wrong.
So fixed this.

Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>

@fix

Reviewers: Hermet, raster

Reviewed By: raster

Subscribers: sachin.dev, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D2452
2015-05-01 12:05:07 +09:00
Cedric BAIL 3ffb541827 win: remove dead code.
pointer.ee was never set. This lead to some useless ERR discovered by klasyc, thanks.
2015-04-29 10:30:18 +02:00
Amitesh Singh 9399c492b2 slider: remove duplicated lines in slider test.
Reviewers: seoz, raster, Hermet

Reviewed By: Hermet

Subscribers: cedric, seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-28 14:11:55 +02:00
kabeer khan 5d0614ba61 photocam: update photocam example to demonstrate photocam orientation.
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: cedric, raster

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-28 14:11:55 +02:00
kabeer khan 06e02ad88d Revert "elm_photocam: Limiting image reload in zoom in/out"
Summary:
After discussion with DaveMDS, D2402 is a wrong fix and must be reverted.
This reverts commit a7978f931a4b67820b6b65758ce6f362c1ebec70.

Reviewers: cedric, DaveMDS

Subscribers: jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-28 14:11:55 +02:00
Stefan Schmidt 19a47f81cd release: Update NEWS and bump version for 1.14.0-beta3 release 2015-04-27 14:49:00 +02:00
Hosang Kim 900aebec53 Fix scrollbar position issue when content is resized.
Summary:
When content is resized, scrollbar's position is not updated.
Add bar position update after bar size is changed.

Test Plan: elementary_test -> scroller3

Reviewers: seoz, jaehwan, woohyun, cedric, raster, kimcinoo, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2419
2015-04-27 13:55:10 +09:00
Andrii Kroitor 39ed1a812b elm_toolbar: fix memory leaks
Summary:
incorrect evas_object_box_children_get usage: returned list must be freed

@fix

Reviewers: cedric, seoz, raster, reutskiy.v.v, Hermet

Differential Revision: https://phab.enlightenment.org/D2412
2015-04-27 10:53:28 +09:00