Commit Graph

10367 Commits

Author SHA1 Message Date
Carsten Haitzler 52ab06e169 elm theme - add blank cursor type in theme 2014-07-21 13:07:18 +09:00
Carsten Haitzler 057611a7e4 elm win noblank property added - to disable screen blanking/saving
@feature

this adds a per-window property of "noblank". this implies turning
offf the screensaver whenever there is a window visible with this
property set on it. only x11 support atm.
2014-07-21 11:39:32 +09:00
Carsten Haitzler 138ab6509d dbus warn-- 2014-07-20 12:21:54 +09:00
Daniel Juyung Seo 3e8499942b button.edc: partial apply for the newly adopted sexy edc structure. 2014-07-20 06:01:30 +09:00
Daniel Juyung Seo e9bcb8f2a5 gitignore: do not track generated files. 2014-07-20 05:22:36 +09:00
Daniel Juyung Seo e01e7683e6 examples: Call window object show after its content creation.
Window show call triggers all smart objects' smart calculation
and in case of X11, XMapWindow() is called directly.
Also moved resize of window accordingly.
2014-07-20 05:21:08 +09:00
Daniel Juyung Seo 2782c35fbc example/evas3d: set the window name as other example codes.
__WIN__ is too distinguishable.
2014-07-20 05:08:41 +09:00
Daniel Juyung Seo 8d74e140c4 systray: fixed wrong struct initializer.
This fixes the following build warning.

elm_systray.c:294:1: warning: excess elements in struct initializer
[enabled by default]
elm_systray.c:294:1: warning: (near initialization for '_iface_desc')
[enabled by default]
2014-07-20 01:59:31 +09:00
Daniel Juyung Seo fb09956f86 test_toolbar: clean up clicked callback usage.
- Removed unselected handling routine. As this is clicked callback,
 there will be no unselected status for the clicked item in clicked
 callback.
- Removed check for event_info. In the clicked callback, event_info
 should be always valid.
- Changed internal variable name for the more item.
2014-07-20 01:52:48 +09:00
Daniel Juyung Seo 76d8d7d277 elm: use @p for parameters in doxygen. 2014-07-20 01:50:06 +09:00
Daniel Juyung Seo fbf2c58127 toolbar: added selected and unselected smartcallbacks to toolbar.
- Item based widget should emit this signal. This is good for the
consistency and makes application developers easy to guess.
- Added test case to elementary_test -> toolbar

@feature
2014-07-20 01:46:35 +09:00
Daniel Juyung Seo 3b83fc3b93 toolbar: changed internal variable name sanely.
Do not need to use 'obj2' as an object variable name as we can use 'obj'
as usual.
2014-07-20 01:20:10 +09:00
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