Commit Graph

10350 Commits

Author SHA1 Message Date
Daniel Juyung Seo 2bfacb3942 list: fixed wrong indentation. 2014-07-20 00:59:23 +09:00
Daniel Juyung Seo bf13cdc72e test_toolbar: removed unnecessary EINA_UNUSED.
event_info is used.
2014-07-20 00:58:59 +09:00
Daniel Kolesa f1aba06a0a update according to latest eolian changes 2014-07-18 17:30:06 +01:00
Jaeun Choi e8d9356cb9 notify: removed unnecessary lines 2014-07-18 19:36:39 +09:00
Jaeun Choi 6ce0f6b4b2 list: call "selected" callback after set focus to the selected item
in current code, when a list item is selected, "selected" callback is called first
and then focus is set to the item. this is a problem if another widget, popup for instance,
is created on top of the list in the callback function. in such a case, the popup should
get focused (not the list item). this patch fixes it by changing the order.

@fix
2014-07-18 19:34:13 +09:00
Stefan Schmidt be06709712 popup: Remove unused variable.
int_ret was never used here. Looks like a copy and paste error.
2014-07-18 12:07:29 +02:00
Zbigniew Kosinski 9c3547f270 atspi: Orca is able to read slider value changes
Reviewers: stanluk

Differential Revision: https://phab.enlightenment.org/D1012
2014-07-18 11:47:48 +02:00
Chris Michael 1db0e58c31 elementary: Don't segfault if we are not using an X11-compatible engine
When running Enlightenment under Wayland only, during init of E we
make a call to elm_config_all_flush. elm_config_all_flush is making
calls to ecore_x_window function(s) (for setting of elm_profile),
However this causes a crash if the ELM_ENGINE is not one that is
running under X11 (ie: ELM_ENGINE=drm or wayland_*). So to fix this
crash, we will compare the current ELM_ENGINE and see if it is
X11-compatible before making unnecessary (and crashing) calls to
ecore_x_window functions.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-07-17 12:54:13 -04:00
Ryuan Choi 057d5456c6 tests: Pass the interval to elm_test_helper_wait_flag for the caller to change
Like JackDanielZ suggested.
2014-07-17 22:36:31 +09:00
Daniel Juyung Seo 568a47c19d mailmap: added Wonguk Jeong's information. 2014-07-17 22:12:07 +09:00
Ryuan Choi 4938a7c246 tests: Add elm_test_helper_wait_flag to avoid infinite loop
Test of elm_fileselector_selected and future tests may have conditional loop
which some flag.
This patch adds elm_test_helper_wait_flag, simple wrapper of the loop with timer
in order to exit the loop when expected callbacks are not called.
2014-07-16 23:31:58 +09:00
Jaeun Choi f7c43bff97 popup: code refactoring
Popup has an abnormal parent-child tree as follows, and this patch fixes it.

 - when popup is created, it creates a notify as a child and the tree is [parent - popup - notify].
 - when popup is visible, it is set as a content of notify and the tree is [parent - notify - popup].
 - when popup is hidden, the tree is reverted.

To fix this, I made an internal layout and set it as the content of notify
so that the tree remains as [parent - popup - notify - layout] all the time.
2014-07-16 22:45:29 +09:00
Daniel Kolesa a2849edf1d sync mailmap 2014-07-16 12:50:11 +01:00
Daniel Juyung Seo 6dd25fe3be mailmap: updated Tae-hwan Kim's mailmap again and keep in sync with efl/enlightenment's mailmaps.
Special thanks to Stefan for the advice.
2014-07-16 20:39:03 +09:00
Daniel Juyung Seo 1c3d895381 mailmap: updated Taehwan Kim's mailmap. 2014-07-16 19:58:00 +09:00
ChunEon Park cf4f298d5a transit - fix to adopt the tween_mode factor.
ACCELERATE, DECELLERATE, SINUSOIDAL modes didn't work with the tween mode factor before.
now it works.

@fix
2014-07-16 11:20:52 +09:00
Jaehyun Cho 72ab60a50b elementary examples: Add an elm_map example using evas3d
Summary: Add an elm_map example using evas3d. elm_map is shown in 3D or 2D.

Reviewers: cedric, Hermet

Reviewed By: Hermet

Subscribers: cedric, seoz

Differential Revision: https://phab.enlightenment.org/D1120
2014-07-16 11:00:52 +09:00
Daniel Kolesa ef221e45b2 update according to eolian syntax changes 2014-07-15 23:53:18 +01:00
Ryuan Choi 2e431dd299 Fix build break while building with --with-tests=regular
_elm_atspi_init and _elm_atspi_root_get was removed at 99a32ea4b
2014-07-16 07:19:25 +09:00
Tom Hacohen a4c9a3e20e Tests atspi: fix undefined reference.
Thanks to Ryuan Choi for reporting.
This was changed due to eolian changes.
2014-07-15 22:51:08 +01:00
Lukasz Stanislawski 3ce591c142 atspi: expose elc_naviframe "top_item_get" action through d-bus 2014-07-15 16:45:55 +02:00
Lukasz Stanislawski f9ad7f921a atspi: expose elm_image "activate" action through d-bus 2014-07-15 16:45:55 +02:00
Carsten Haitzler b32349d5d6 adjust to dbus interace struct.. back to where it was 2014-07-15 17:19:06 +09:00
ChunEon Park 0f6bb7fac2 genlist - fix a crash.
It allows NULL focused item.
let it null check.
2014-07-15 12:31:07 +09:00
Shobhit f4fea0abca genlist: Removed unnecessary calculation.
Summary: Removed unnecessary calculation from _elm_genlist_elm_widget_focus_highlight_geometry_get()

Test Plan: elementary_test -to "genlist focus"

Reviewers: seoz, Hermet

Reviewed By: Hermet

Subscribers: sachin.dev

Differential Revision: https://phab.enlightenment.org/D1145
2014-07-15 12:15:53 +09:00
Amitesh Singh 6de233cfdb widget item: replaced eo_class_name_get call with eo_isa.
Reviewers: seoz, raster, Hermet

Reviewed By: Hermet

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1170
2014-07-15 12:11:51 +09:00
wonguk.jeong 2b062fe557 list: remove annoying error msg on select
Summary:
on select below message was shown,

ERR<19329>: elm_main.c:1556 elm_object_widget_check() safety check failed: obj == NULL

Test Plan:
1. terminology -> options -> keys -> select item -> check error message
2. elementary_test -> list2 -> select topmost item -> check error message

Reviewers: raster, cedric, seoz, Hermet

Reviewed By: Hermet

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1185
2014-07-15 12:10:04 +09:00
wonguk.jeong de7dc33904 genlist: remove annoying error message
Summary:
content couldn't be always a elm widget.
After checking whether it's elm widget or not, use widget API

Test Plan:
terminology -> options -> font -> select font and check below error message

ERR<25935>:eo lib/eo/eo.c:603 _eo_call_resolve() in elm_widget.eo.c:8: you called func 'elm_obj_widget_focus_get' (213) which is unknown in class 'Edje_Object'.

Reviewers: raster, cedric, seoz, Hermet

Reviewed By: Hermet

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1186
2014-07-15 12:07:10 +09:00
Daniel Juyung Seo b0b527ab22 elm_win: added focused and unfocused smart callback descriptions.
This was removed by a commit 8519257.
The removal of redundant smart callback call was good but we need to
have these descriptions still.
2014-07-15 02:06:26 +09:00
Daniel Juyung Seo e36e9cf012 test_win_state: changed internal callback function name and splitted a focus callback for a better focus debug. 2014-07-15 01:05:47 +09:00
Daniel Juyung Seo b8eb31335d elm_config: updated color class api documentation. 2014-07-15 01:05:47 +09:00
Daniel Kolesa dbd2d0f893 update according to eolian changes 2014-07-14 16:54:20 +01:00
Daniel Kolesa a447e5d116 update according to eolian type changes 2014-07-14 16:26:14 +01:00
Kateryna Fesyna 34e2c8ae8a Win: Delete "focused" and "unfocused" signals emission because they duplicate Widgets signals
Summary:
"focused" and "unfocused" signals are emitted from Win and Widget. This causes
signals duplication when window is unfocused. To avoid this duplication, emission of these
signals is deleted from the Win.

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

Subscribers: reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D1183
2014-07-14 19:30:25 +09:00
E_counter 12cf5047f1 Scroller: Added auto-hide and show features for UP, DOWN , LEFT and RIGHT arrows.
Summary:
hide UP ARROW, when there is nothing to scroll up; otherwise show UP ARROW.
hide DOWN ARROW, when there is nothing to scroll down; otherwise show DOWN ARROW.
hide LEFT ARROW, when there is nothing to scroll left; otherwise show LEFT ARROW.
hide RIGHT ARROW, when there is nothing to scroll right; otherwise show RIGHT ARROW.

Test Plan:
elementary_test-> scroller
check visibility of vertical-UP and vertical-DOWN arrows, when vertical-scrollbar is at position top, bottom or else-where.
check visibility of horizontal-LEFT and horizontal-RIGHT arrows, when horizontal-scrollbar is at position extreme-left, extreme-right or else-where.

Reviewers: raster, seoz, nirajkr, singh.amitesh

Subscribers: sachin.dev

Differential Revision: https://phab.enlightenment.org/D1092
2014-07-14 18:02:11 +09:00
Daniel Kolesa 815acbc305 move all eo files to new builtin bool type 2014-07-11 14:44:47 +01:00
Carsten Haitzler 6930871d6f elm theme - fix wayland borders to be sized and colored correctly
@fix
2014-07-11 22:12:57 +09:00
Daniel Juyung Seo 4bd3170a9f elm_removed: remove undeprecated apis from the removed info. 2014-07-11 18:08:41 +09:00
Amitesh Singh b9efdea6d9 tooltip: corrected the typo in documentation of elm_object_tooltip_show
Summary: @fix

Reviewers: seoz, raster

Subscribers: shobhit, seoz

Differential Revision: https://phab.enlightenment.org/D1174
2014-07-11 15:14:05 +09:00
Lukasz Stanislawski e48cc8dbe7 atspi: expose elm_check "activate" action through d-bus 2014-07-10 14:13:15 +02:00
Lukasz Stanislawski d385caf4da atspi: improve code reusage
atspi d-bus signals have similar signatures, however use dbus variant type
to encode signal specific data. This patch adds utility function to construct
atspi dbus signal with custom variant data.
2014-07-10 10:18:53 +02:00
Daniel Juyung Seo e7e1b39014 gengrid, list: removed unnecessary condition check.
This is a successive commit of aac6e071e.
2014-07-10 00:46:52 +09:00
Daniel Juyung Seo e39781d834 examples: use a proper casting for 64 bit system by uintptr_t. 2014-07-10 00:45:47 +09:00
Shobhit 32c3bf41b5 genlist: Removed unnecessary condition check.
Summary:
Removed condition check from _elm_genlist_elm_widget_item_loop_enabled_set()

Reviewers: seoz

CC: sachin.dev

Differential Revision: https://phab.enlightenment.org/D1144
2014-07-10 00:39:52 +09:00
Daniel Juyung Seo 05854d4156 test_genlist: removed unnecessary spaces. 2014-07-10 00:30:48 +09:00
Amitesh Singh 04bbda8911 gengrid: Added normal reorder type
Summary:
- Added Elm_Gengrid_Reorder_Type enum
- Added API elm_gengrid_reorder_type_set()
- Implemented the normal reorder type animation
- The old reorder type is changed to ELM_GENGRID_REORDER_TYPE_SWAP.
- ELM_GENGRID_REORDER_TYPE_NORMAL is the default reorder type.

Test Plan:
1. elementary_test->"Gengrid Focus"
2. Enable "Reorder Mode Enable"
3. Move the items by keys

@feature

Reviewers: raster, seoz

CC: seoz, chinmaya061, aryarockstar

Differential Revision: https://phab.enlightenment.org/D813
2014-07-09 15:09:43 +09:00
Jean-Philippe Andre 4d8e485fc8 elm_cnp: Break after we found the target we were looking for
Basic optimization of the search.
2014-07-09 09:09:16 +09:00
MinJeong Kim 0d530cd78f elm_cnp: Do not request for selection_set when buffer is empty
Summary:
When a wayland client requests selection_set, Wayland server doesn't care and doesn't know how long source data is.
so, it cannot ignore request for selection_set about empty buffer.
therefore to avoid copying empty buffer, it need to check length of buffer before request selection_set.

Test Plan:
1. Run "elementray_test -to entry5" with wayland server.
2. Drag text and try to paste.
3. Drag empty area in entry (request for selection_set on empty buffer is rejected)
4. Try to paste (you can see text of step 2).

Reviewers: devilhorns, raster, seoz

CC: gwanglim

Differential Revision: https://phab.enlightenment.org/D1146
2014-07-08 09:45:47 -04:00
Yakov Goldberg 4f0bc40b91 image: fix segv in elm_image_file_set() 2014-07-08 16:34:23 +03:00
Daniel Kolesa 42a84b759b update according to eolian changes 2014-07-08 14:16:04 +01:00