Commit Graph

7699 Commits

Author SHA1 Message Date
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
Daniel Kolesa eb838d06ae fix atspi after eolian deduplication change; spank tasn on breakage 2014-06-20 17:09:38 +01:00
Daniel Kolesa b8eadb7166 update against latest eolian changes 2014-06-20 12:24:55 +01:00
Daniel Kolesa fb62fde68f move all eo files to new namespace syntax 2014-06-20 10:47:39 +01:00
Daniel Juyung Seo b26413cf32 entry: fixed shadow variable build warnings. 2014-06-19 18:30:21 +09:00
Daniel Kolesa 49c09c2d4b fix up some eo file documentation whitespace issues 2014-06-18 12:57:52 +01:00
Stefan Schmidt 9cf70c353a elm_index: Also free last on error path.
If we can't realloc label we need to free last before we can return
or we leak it.

CID: 1193240
2014-06-17 11:12:04 +02:00
Stefan Schmidt d3b0bb58a4 elm_map: Avoid unlikely division by zero.
The division by zeor could happen when zoom_cnt is zeor OR when region_cnt
is zero. No need for both cases. In the curent implementation this is
impossible as both are hard coded defines. But code changes so we should
handle this.

CID: 1216619
2014-06-17 11:01:22 +02:00
Vyacheslav Reutskiy af4120c5c8 Elementary/Panes: update functionality (add new 8 API functions)
Summary: Added possibility to set the minimum size of the left and right sides.

Reviewers: raster, cedric, seoz, Hermet

Differential Revision: https://phab.enlightenment.org/D998
2014-06-17 10:23:30 +09:00
Lukasz Stanislawski 0975fd37e0 atspi: notify registry daemon about keyboard events.
Test Plan: elemeentary_test with Orca Screen reader 3.10.1

Reviewers: raster, z.kosinski

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D1025
2014-06-16 15:16:39 +09:00
Daniel Kolesa 763019c9d6 atspi: more conformance issues 2014-06-13 16:27:08 +01:00
Daniel Kolesa 56ce51b5d5 atspi: eo file conformance 2014-06-13 16:23:00 +01:00
Zbigniew Kosinski 3c0067305f atspi: checked state for elm_check added
Reviewers: stanluk

Differential Revision: https://phab.enlightenment.org/D1000
2014-06-12 12:57:55 +09:00
Vincent Torri 44b2c2bbb9 backend: add default engine support for Windows and Mac OS X 2014-06-12 03:12:56 +02:00
Vincent Torri 0d6cacb743 backend: remove Windows CE support Windows CE is dead and buried and its gcc port is even more dead and I don't believe in zombies 2014-06-12 03:12:15 +02:00
Ryuan Choi dd829ffd81 elm_web2: Implement _elm_web_elm_widget_on_focus 2014-06-12 15:50:27 +09:00
Lukasz Stanislawski 1c350bbfad atspi: typo fix, avoid returning w/o va_end call
Summary:
CID: 1222462
CID: 1222461
CID: 1222465

Reviewers: raster, seoz, z.kosinski

Differential Revision: https://phab.enlightenment.org/D995
2014-06-11 16:05:54 +09:00
Lukasz Stanislawski e24102c696 atspi: add SENSITIVE to default widget state set.
Summary:
without given state Orca screen reader deafult script interpret
widget as 'grayed out'.

Test Plan: orca screen reader tests on ubuntu 13.10 with orca 3.10.1

Reviewers: raster, seoz, z.kosinski

Differential Revision: https://phab.enlightenment.org/D983
2014-06-11 15:29:31 +09:00
Jaeun Choi 636bb88170 bug fix: _elm_widget_focus_region_show
Summary: should do scrollable_content_set according to focus_region_get

Test Plan: None

Reviewers: woohyun

Differential Revision: https://phab.enlightenment.org/D981
2014-06-11 15:29:31 +09:00
Jean-Philippe Andre 2ffb942d5a Win32: Fix some compilation warnings
Reported by vtorri, thanks
2014-06-11 14:25:47 +09:00
Thiep Ha 36e153f956 dnd: rotate dragwin if main window is rotated when draging
Summary:
During drag, dragwin should be rotated when main window is rotated.

@fix

Reviewers: raster, JackDanielZ, woohyun

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D976
2014-06-11 14:19:27 +09:00
efl 589a8ba74f List: Focus does not move if it's set on item content object.
Summary:
If focus is set on item content object, it's treated as a
different object which results the focus deadlock. So, every
time whenever focus sets on item content object, we need to
unset and set the focus on genlist object. Thanks to Seoz for
the idea.

Test Plan: elementary_test -to "list focus"

Reviewers: seoz, SanghyeonLee, eagleeye

CC: seoz

Differential Revision: https://phab.enlightenment.org/D973
2014-06-11 14:14:28 +09:00
efl f6b7012329 List: Focus set on item content objects, the item content objects should be checked whether type widget or not.
Summary:
Upon focus set, if the item content object is not of type widget
(could be of type Evas_Rectnagle) focus set/get is not possible.
ERR<17428>:eo lib/eo/eo.c:603 _eo_call_resolve() in elm_widget.eo.c:112: you called func 'elm_obj_widget_can_focus_get' (239) which is unknown in class 'Evas_Rectangle'.
ERR<17428>:eo lib/eo/eo.c:788 _eo_api_op_id_get() in elm_widget.eo.c:212: unable to resolve regular api func 'elm_obj_widget_child_can_focus_get' 0xb75e6f40 in class 'Evas_Rectangle'

Test Plan: elementary_test -to "list focus" (make focus_on_selection enabled and give a right key event when a content object is focused)

Reviewers: seoz, SanghyeonLee, eagleeye

CC: seoz

Differential Revision: https://phab.enlightenment.org/D972
2014-06-11 14:07:01 +09:00
Lukasz Stanislawski 4de0d39376 atspi: Add GetInterfaces method
Summary:
Method is required by AT-SPI clients when interface caching is disabled.
Method is not listed in any at-spi specification - found during fixing
clients behaviour.

Reviewers: raster, seoz, z.kosinski

Reviewed By: z.kosinski

Differential Revision: https://phab.enlightenment.org/D971
2014-06-11 13:53:49 +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
Gwanglim Lee dccab720a7 win: fix borderless_set behavior
Summary:
According to the current elm_win code, client side border should be removed
when window is fullscreen mode. And border couldn't be shown on window
during fullscreen mode. When window is going into normal mode from fullscreen,
then display of border should be determined by its borderless state.

1. client border should be shown when window is going into normal mode from fullscreen with borderless state.
2. client border shouldn't be shown when window is going into normal mode from fullscreen with border state.
3. and also client border shouldn't be shown when window is fullscreen mode.

@fix

Test Plan:
1. run elementary_test in wayland server
2. run window states
3. select borderless
4. select fullscreen
5. unselect fullscreen
6. unselect borderless

Reviewers: raster, devilhorns, seoz

Differential Revision: https://phab.enlightenment.org/D988
2014-06-10 15:28:20 -04:00
Anil Kumar Nahak bdb51ddd45 genlist: Focus out of genlist viewport area on resize fixed
Summary:
The focus of genlist was coming out of genlist's viewport area on resizing(shrinking).
This is fixed in this patch.

Test Plan: elementary_test -to genlist5, elementary_test -to fileselector

Reviewers: seoz, singh.amitesh, nirajkr

Differential Revision: https://phab.enlightenment.org/D949
2014-06-10 19:29:47 +09:00
abhi 9c59de7a70 fileselector: Adding search entry for realtime filename search
Summary:
search entry added for searching files/subfolders in a folder
@feature

Test Plan: elementary_test -to fileselector

Reviewers: seoz, raster

CC: raster

Differential Revision: https://phab.enlightenment.org/D875
2014-06-10 18:57:05 +09:00
Lukasz Stanislawski 139c871a72 atspi: add AtspiText and AtspiEditableText interface support.
Summary:
Added reference interface implementation for elm_entry widget. Tests added.
Updated at-spi-constants.h header to version 2.12.0.

Reviewers: raster, seoz

CC: raster

Differential Revision: https://phab.enlightenment.org/D806
2014-06-10 16:18:17 +09:00
Lukasz Stanislawski bc608f73c5 atspi: add AtspiText and AtspiEditableText interface support.
Added reference interface implementation for elm_entry widget. Tests
added. Updated at-spi-constants.h header to version 2.12.0.

@feature
2014-06-10 16:18:10 +09:00
efl b087e80e9b Gengrid: Added horizontal item loop feature.
Summary:
If item loop is enabled, the item moves infinitely in
         horizontal manner (from right to left and from left to
         right).
         Need to implement:
             -for reorder mode and horizontal mode.
         @feature

DEPENDs On D841

Test Plan: elementary_test -to gengrid2

Reviewers: seoz, eagleeye, SanghyeonLee, raster

CC: seoz, raster

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

Conflicts:
	src/lib/elm_gengrid.c
2014-06-10 15:00:09 +09:00
Cedric BAIL ffcdbf20f5 config: always create a themes directory for user.
This make it more logical as it is part of Elementary config, so it
should be elementary duty to create that directory.

@fix
2014-06-10 00:19:19 +02:00
Cedric BAIL aacad9142d clock: remove use of deprecated functions. 2014-06-07 21:08:46 +02:00
Carsten Haitzler f4faf5d54a fix whitespace formatting 2014-06-07 14:57:44 +09:00
abhi e45774f6f2 gengrid: fixed _elm_gengrid_item_edge_check for ELM_FOCUS_DOWN and ELM_FOCUS_UP for normal and horizontal mode
Summary:
Added fixes for:
1.Normal mode: ELM_FOCUS_DOWN and ELM_FOCUS_UP
2.Horizontal mode: ELM_FOCUS_DOWN and ELM_FOCUS_UP

(i)

1|2|3
4|5|6
7|8|9

_elm_gengrid_item_edge_check for ELM_FOCUS_DOWN returns EINA_TRUE for item no.6.
It should not. Fixed this.

(ii)

1|2|3
4|5|6
7

_elm_gengrid_item_edge_check returns EINA_FALSE for ELM_FOCUS_DOWN
for item no. 5 and 6 but EINA_TRUE for item no. 7.
It should return EINA_TRUE for item no. 5 and 6 instead.
Fixed this.

(iii)

1|2|3
4|

_elm_gengrid_item_edge_check returned EINA_FALSE for ELM_FOCUS_UP
for item no. 3. Fixed this.

(iv)

1|4|7
2|5|
3|6|

Horizontal Mode: _elm_gengrid_item_edge_check returned EINA_FALSE
for ELM_FOCUS_DOWN for item no. 7. Fixed this.

(v)

1|4|7
2|5|
3|6|

Horizontal Mode: _elm_gengrid_item_edge_check returned EINA_FALSE
for ELM_FOCUS_UP for item no. 1. Fixed this.

Test Plan: elementary_test -to gengrid2

Reviewers: seoz, raster

CC: singh.amitesh, raster

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

Conflicts:
	src/lib/elm_gengrid.c
2014-06-07 14:56:06 +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
Carsten Haitzler 77ff32b582 elm win - if no ELM_DISPLAY is set, try more engines before giving up
this should fix T1294 without needing ELM_DISPLAY set. @fix
2014-05-30 15:41:40 +09:00
Carsten Haitzler 546b0f6634 atspi:AtspiSelection interface added
Reviewers: stanluk, m.jagiello, raster

Differential Revision: https://phab.enlightenment.org/D810
2014-05-30 11:56:24 +09:00
Yakov Goldberg 4d334ffdd8 Fileselector Entry: add the changed signal in the events section of fileselector_entry.eo 2014-05-29 16:07:53 +03:00
Anil Kumar Nahak c72174031d fileselector: Added focus cycle feature.
Summary:
Previously there was no focus_direction & focus_next.
These functions are added in filesector winset for currect focus movement inside the winset.

Test Plan: elementary_test->"fileselector"

Reviewers: raster, seoz, nirajkr, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D913
2014-05-29 11:35:46 +09:00
efl a6e1a0e2c8 Gengrid: Fixed _elm_gengrid_item_edge_check for ELM_FOCUS_LEFT and ELM_FOCUS_RIGHT in horizontal mode.
Summary:
1|4         _elm_gengrid_item_edge_check for ELM_FOCUS_LEFT returns EINA_FALSE for item no. 3,
2|          which should return EINA_TRUE. Fixed this.
3|

1|4|7|      _elm_gengrid_item_edge_check for ELM_FOCUS_RIGHT returns EINA_FALSE for item no.5,
2|5|        which should return EINA_TRUE. Fixed this.
3|6|

Test Plan: elementary_test -to gengrid2

Reviewers: seoz, eagleeye, SanghyeonLee, raster

CC: seoz, raster

Differential Revision: https://phab.enlightenment.org/D846
2014-05-28 18:21:11 +09:00
Lukasz Stanislawski 39eb7acec6 atspi: add accessible default relations and attributes
Summary: Tests added for accessibile interface

Differential Revision: https://phab.enlightenment.org/D900
2014-05-28 17:12:34 +09:00
bluezery 044b99a2f1 elm_map: Add new elm_map_region_zoom_bring_in() API
Summary:
By using this API, we  can do region show & bring in concurrently.
This needs some tuning more because some main layouting logic in map
needs to be modified to support more smooth animation.
I will spare my time to do that later.
@feature

Reviewers: Hermet, raster, stefan_schmidt

Reviewed By: raster

CC: Jaehyun

Differential Revision: https://phab.enlightenment.org/D887
2014-05-28 17:08:01 +09:00
Yakov Goldberg 2ac106d3fd Entry: add the "changed", "changed,user" signals in the events section of entry.eo. 2014-05-28 10:09:39 +03:00
Lukasz Stanislawski f4f2bbdbcd atspi: add AtspiImage interface support.
Summary: Sample implementation for elm_image added.

Reviewers: raster, seoz

Differential Revision: https://phab.enlightenment.org/D794
2014-05-27 16:23:13 +09:00
Kateryna Fesyna 28e73198f7 Genlist: Add function to search item by string.
Summary:
This function allows user to search for item in Genlist.
It takes four search parameters:
1. pointer to function to get text of the item. It could be the same with item's
   get_text function. This parameter is added to let user use the specific search key
   and to avoid problems with setting item's text, that is not constant.
2. pointer to the item from which search should start.
3. search pattern.
4. fnmatch() flags.
To check it's usage the new test is added to the elementary_test (Genlist Item Search By Text)

Reviewers: cedric, seoz, raster

CC: reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D566
2014-05-27 15:55:05 +09:00
Daniel Juyung Seo 7357290056 genlist: fixed wrong item focus set on item_focus_set API call.
Reset the last_focused_item on _item_focus_set_hook.
This fixes the issue which sets the focus to the wrong item when the
focus is set by an API.

Reproduction step:
elementary_test -> genlist focus -> click an item (not the 2nd item) -> click "Focus 2nd
Item after 1.5 seconds" button.
Focus is not moved to the 2nd item.

@fix
2014-05-26 22:08:13 +09:00
Daniel Juyung Seo d9f0509b5e toolbar: changed internal variable types to sync with other widgets.
Changed the variable type from (Elm_Toolbar_Item *) to (Elm_Object_Item *)
for focused_item, last_focused_item, and prev_focused_item.
2014-05-26 22:07:07 +09:00
Carsten Haitzler 27c8d879af elm scroller - fix documentation on gravity
this fixes T1262
2014-05-26 18:36:13 +09:00
Carsten Haitzler 6bcd3957ca elm spiner - fix flag read to also use the right field 2014-05-26 18:03:44 +09:00