Commit Graph

12230 Commits

Author SHA1 Message Date
Jee-Yong Um d0b244313e hoversel: remove scrollable_set/get() API
Summary:
Hoversel scrollability can be considered as default behavior of hoversel.
These APIs are not necessary any more.

Reviewers: cedric, DaveMDS

Subscribers: DaveMDS, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-10-30 07:05:12 +01:00
Amitesh Singh 9aff275143 test_gesture_layer: use bigger font size for entry 2015-10-30 10:17:01 +05:30
Lukasz Stanislawski ca3fcf1481 win: reemit atspi "focused" event on bridge connection
At-spi clients assume that object:state-changed:focused event is emitted
on application start. By the time atspi_bridge will establish
connection on at-spi bus all focused events are already emitted.
To fix this we reemit "focused" event in bridge connection callback.

This fixes a bug when Orca screen reader do not read first element after
application launch.

@fix
2015-10-29 11:41:59 +01:00
Daniel Juyung Seo 24797adcf5 elm: Fix typos fun! 2015-10-29 02:08:16 +09:00
Stefan Schmidt d01380a4bd release: Update NEWS and bump version for 1.16.0-beta3 release 2015-10-26 03:59:15 +01:00
Stefan Schmidt 6cf4cbcf77 po: update po files 2015-10-26 03:50:28 +01:00
Jee-Yong Um e71b32cf60 hoversel: expands scrollable hoversel as large as it can
Summary:
In D2063, "max_size" data item is added to limit the number of items
to show at a time when hoversel is expanded.
However, it limits the number of items too few, so makes scrollable
function useless.
This patch removes limitation of hoversel size with pixels,
but if it needs, developers can set the limitation yet.
(By theme customization)

Test Plan:
elementary_test "hoversel"
click the second hoversel

Reviewers: DaveMDS, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-10-26 01:47:46 +01:00
woochan lee 859e9a91ce multibuttonentry: fix label packed many times in internal box.
Summary:
The Internal box can has a lot of label for child when user set text many times.
Fix this wrong implement. It has to get only one label for child.

@fix

Test Plan:
Call elm_object_text_set() many times for MBE.
Check the label got a wrong geometry.

Reviewers: Hermet, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-10-26 01:20:56 +01:00
woochan lee 637254ef60 gesture_layer: fix long tap gesture has wrong timestamp.
Summary:
The timestamp has 0 value when n_long_tap_start callback called.
Then timestamp is same on each n_long_tap_move callback functions.

For fix this bug, update timestamp before called state_set function.
Also update timestamp in every timeout.

Test Plan:
Run test_gesture_layer2.c
Print timestamp in every n_long_tap_XXX callback.

Reviewers: tasn, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-10-24 04:05:24 +02:00
Andrii Kroitor b922dbd0cb elm_colorselector: fix color selection with spinners
Reviewers: cedric, Hermet, raster, reutskiy.v.v

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-10-24 04:05:24 +02:00
Jee-Yong Um 033820031c elm_hoversel: remove unused internal functions
Summary:
remove unused internal functions
(that added for scrollability, but not used any more)

T2765

Reviewers: Hermet, cedric

Maniphest Tasks: T2765

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-10-24 04:05:23 +02:00
Cedric BAIL 0d95415b7e Revert "elementary: Comment out (#if 0) unused functions"
This reverts commit 74a7661119d122ec52844ad58c0901db739949f1.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-10-24 04:05:23 +02:00
Jee-Yong Um 4b7617063f elm_hoversel: change API name (label_auto_changed -> auto_update)
Summary: elm_hoversel_label_auto_changed_set/get() API names are not clear.

Reviewers: Hermet, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-10-24 04:05:23 +02:00
Jee-Yong Um 33f803a170 elm_hoversel: change Elm_Hoversel_Data member name from scroll_enabled to scrollable
Summary:
elm_hoversel_scroll_enabled_set/get() API were changed to
elm_hoversel_scrollable_set/get().
However, the name of member of Elm_Hovsersel_Data related to those API
are not changed.
It can confuse developers later, so change it same to the name defined
in elm_hoversel.eo file.

Reviewers: Hermet, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-10-24 04:05:23 +02:00
Vivek Ellur 03747a7ef6 elm_index: Fix memory leak issue in realloc failure
Summary:
@Fix

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>

Reviewers: cedric

Differential Revision: https://phab.enlightenment.org/D3214
2015-10-22 12:40:19 -07:00
Vivek Ellur d2d831ddd3 dayselector: fix warning related to argument type
Summary:
@fix

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>

Reviewers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-10-22 12:37:47 -07:00
Davide Andreoli 08e6b45084 Fix typo in docs
not "a castrated ram (a male sheep)"  :D
2015-10-22 19:35:51 +02:00
Amitesh Singh e58a8f848c flip: use eo_isa for checking object types 2015-10-22 22:37:53 +05:30
Amitesh Singh dcc066569f image: use eo_isa for checking object types instead of string comparison 2015-10-22 22:14:40 +05:30
Shilpa Singh 894faaadac elm_cnp: DnD/X11: correct drag window position in rotation
Summary:
For various angles 90, 180, 270,  the calculation of dnd window position
is not proper causing window to be placed wrongly while dragging.
Signed-Off By: Kumar Navneet <k.navneet@samsung.com>

@fix

Test Plan:
Longpress and drag and drop in entry by placing device at various angles
90, 180 and 270.

Reviewers: woohyun, cedric, thiepha

Reviewed By: thiepha

Subscribers: navnbeet

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-10-21 14:39:10 -07:00
Stefan Schmidt 98bb77d4a8 build: simplify SUBDIR usage in examples 2015-10-21 11:05:46 +02:00
Stefan Schmidt 3a334ecd4d examples/sphere_hunter: fix another instance of floating point incorrectness
I missed this one yesterday. Also change it to use floating point values
instead of casting which does not make much sense for hard-coded values.

CID: 1327343
2015-10-21 11:05:27 +02:00
Stefan Schmidt d1fd0e34a4 examples/sphere_hunter: remove unused function
After fixing the Coverity issue clang told me that this function is actually
not used at all.
2015-10-20 17:23:19 +02:00
Stefan Schmidt 0e558fd750 elm_widget_prefs: no need to redefine a typedef we already have
Spotted by clang. This was already typedef'ed in elm_prefs_data.h
2015-10-20 17:10:12 +02:00
Stefan Schmidt fa8f1374ee examples/sphere_hunter: initialize struct in all cases
If l == 0 we would never initialize vec3 struct members.

CID: 1327345
2015-10-20 16:53:53 +02:00
Stefan Schmidt 0a8e616416 examples/sphere_hunter: make sure we do not loose fractional part of double.
When dividing with an int we would loose the fractional part. Better cast to
a double to make clear we want double precision here.

CID: 1327343, 1327344
2015-10-20 16:39:42 +02:00
Stefan Schmidt ab2697af29 examples/sphere_hunter: use coorect logic for if condition.
We want a value here which is between 0 and 10. We need a logical AND here. If
we use OR this condition could never be false.

CID: 1327357
2015-10-20 16:27:10 +02:00
Stefan Schmidt 998d007558 examples/camera_light: free resources if we fail to allocate all and leave
We return here leaving maybe some other allocations around and leaking.

CID: 1327348, 1327349, 1327350
2015-10-20 16:16:31 +02:00
Lukasz Stanislawski f9defcd945 atspi: fix invalid shift operation.
Add additional check in case when Elm_Atspi_Role_Type enum will enlarge.

CID: 1325724
2015-10-20 12:00:08 +02:00
Carsten Haitzler e7dbba85c9 elm test - make automated test betetr by auto-exiting after 50 bounces 2015-10-20 14:05:05 +09:00
Carsten Haitzler 5a4ee64637 elm test - genlist test - add bounce option test for testing performance
for release we need to test performance - esp of evas and eo in real life usage
and scroling is just such one. this adds a simple automated scrolling
test to genlist test (hit the button or ELM_TEST_AUTOBOUNCE=1
elementary_test -to genlist) so you can get consistent input and benchmark info
2015-10-20 12:26:31 +09:00
Cedric BAIL 1164824201 toolbar: limit number of min restricted calc to exacly what we need.
This change is the simplest I could do, but I think it would be better
to move _item_theme_hook inside _item_new. This is a further attempt
to fix T2777.
2015-10-19 17:10:01 -07:00
Nak-Gyeong Kim 11e5e87103 elm_win: fix wrong comment.
Summary:
static const char SIG_FOCUS_OUT[] = "focus,out"; // deprecated. use "unfocused" instead.
static const char SIG_FOCUS_IN[] = "focus,in"; // deprecated. use "focused" instead.

@fix

Test Plan: N/A

Reviewers: seoz, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-10-19 11:55:30 -07:00
Sung-Taek Hong 1f03888c27 elc_file_selector_button: free allocated path name
Summary:
Currently path is strdup() when getting real path, but it is not freed
in some cases.

@fix

Reviewers: seoz, Hermet, woohyun, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-10-19 11:55:30 -07:00
Sung-Taek Hong 5bfa138bcc elm_map: block longpressed event when scrolled, zoomed, or rotated
Summary:
Currently, longpressed event can be called when map is
scrolled, zoomed or rotated. This might cause unintentional
result, because mouse need to be down at lease once to
execute scroll, zoom, or rotate, and longpressed event will start
when those events takes long enough time.

Reviewers: seoz, Hermet, woohyun, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-10-19 11:55:30 -07:00
Cedric BAIL a3806857ca hoversel: rename label_auto_changed -> auto_update
Thanks to Davide Andreoli for his review and suggestion.
2015-10-19 11:55:30 -07:00
Lukasz Stanislawski 12feff963e atspi: clean-up children-changed event emission.
Patch fixes bugs caused by difference between elm widget
and atspi objects hierarchy.
2015-10-19 17:26:13 +02:00
Lukasz Stanislawski f9fa294776 atspi: always update cache
libatspi implementation allows to call methods on objects which
are not added to client cache with "AddAccessible" at-spi signal.
Bridge should allow to perform such calls by updating its internal
cache as soons as it returns a reference to the dbus object to client.
2015-10-19 17:18:06 +02:00
Stefan Schmidt 8adfc975d2 release: Update NEWS and bump version for 1.16.0-beta2 release 2015-10-19 14:09:19 +02:00
Lukasz Stanislawski 2e70c7c15b atspi: fix typo 2015-10-19 13:40:05 +02:00
Amitesh Singh 56951adbfb test_genlist: set focus on popup's button 2015-10-17 00:50:17 +05:30
Cedric BAIL a77b922e28 toolbar: shutup compiler warning. 2015-10-15 17:23:21 -07:00
Cedric BAIL 58d38c10d2 toolbar: delay evaluation of the toolbar size until it stabilize.
Elementary is not using much the calculate callback from Evas. This
create all sort of problem where it transform O(n) algorithm. Like
sizing a toolbar for next frame to O(n^n) by actually sizing the
toolbar every time an object is inserted.

T2777
2015-10-15 16:38:24 -07:00
Cedric BAIL e13d263fe1 toolbar: remove useless call to _sizing_eval.
_sizing_eval is very costly on toolbar as it recalc all edje part and sends
signal to all of them. _item_theme_hook was already calling _sizing_eval
doubling the cost of adding new item.
2015-10-15 16:38:24 -07:00
Mike Blumenkrantz 1387dc63cd border: bring sparklebear theme up-to-date with current efl rendering
various fixes have occurred over the years to improve proxy rendering.
as a result, this theme, which is apparently the only other user of proxy
edje parts besides deskmirror, was broken.

@fix
2015-10-15 16:35:46 -04:00
Mike Blumenkrantz e6fa6a6097 deskmirror: unset proxy.source_clip for urgency effects
cfedba598c in efl fixed source clipping
for proxy objects, breaking badly-clipped edje proxy objects everywhere

@fix
2015-10-15 16:09:39 -04:00
Amitesh Singh 3d743982f1 example: genlist - intialize buffer array to 0
CID: 1327347
2015-10-14 20:47:46 +05:30
Amitesh Singh 97e0b8a7d2 example: genlist - intialize buffer array to 0
CID: 1327346
2015-10-14 20:45:10 +05:30
Amitesh Singh fd10a7de21 example: glview - use delete to deallocate memory
CID: 1327362
2015-10-14 20:33:13 +05:30
Amitesh Singh 78cde26a79 example: glview - use delete to deallocate memory
CID: 1327363
2015-10-14 20:30:06 +05:30