Commit Graph

12264 Commits

Author SHA1 Message Date
Jean Guyomarc'h cd6ddbdb3f segment_control: fix variable affectation
Summary:
When an Elm_Segment_Control object is created, the constructor calls
the smart_add() behind the scenes. It then calls _update_list() which
calls _position_items(), with the sd->obj unset (because it was set
after calling super constructors). This led to a CRI() (and therefore
to a backtrace) on the creation of each Elm_Segment_Control.

@fix

Test Plan: elementary_test

Reviewers: stefan_schmidt, cedric, raster

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-09 16:13:19 -08:00
Subodh Kumar d0497272d1 hoversel: refactor a bit to avoid code duplication.
Summary:
Avoid code duplication

Two dismissal signals at two different places
created some confusion and also code is duplicated.
Also removed some extra space.

Test Plan: NA

Reviewers: cedric

Differential Revision: https://phab.enlightenment.org/D3269
2015-11-09 16:06:26 -08:00
shashank.p 1e2b58a8c8 genlist: modified first/last/prev/next get API for filtered list.
Summary: elm_genlist_first_item_get(), elm_genlist_last_item_get(), elm_genlist_item_prev_get(), elm_genlist_item_next_get() should return the next filtered item if filter is applied on the genlist.

Test Plan: test_genlist.c => Genlist Filter demo updated

Reviewers: shilpasingh, cedric, SanghyeonLee

Subscribers: divyesh, rajeshps

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-09 16:03:08 -08:00
Shinwoo Kim 278ceaa12e conform: retry connect to indicator when confrom fails connect.
Summary:
An application starts before the indicator has. In this case,
the application should try to connect again with the indicator.

Test Plan:
1. Start an application without the indicator service.
2. Start the indicator service.

Reviewers: raster, Hermet, woohyun, jaehwan, cedric

Subscribers: seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-09 16:00:19 -08:00
Shilpa Singh f1f1ed290c naviframe: subtitle,show signal not sent
Summary:
1. When subtitle is set using actual part name "elm.text.subtitle",
subtitle,show signal is not sent issue fix.
2. Remove unnecessary checks, maintain code readability.

@fix

Test Plan:
Set text using edc part name elm.text.subtitle

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: shashank0990

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-09 14:34:40 -08:00
woochan lee 41bfc98606 index: internal item's edje object handling logic changed to improve performance.
Summary:
The box_clear, box_fill internal functions called when almost every internal chage happend.
(resize, theme apply, item append, item delete etc...)
Then those APIs delete/create item's edje object for all of the items.

It's very not good action for performance.
So, i changed this just edje object box unpack/pack instead of delete/create.

@fix

Test Plan:
Working test on elementary_test
and Call all of the index APIs for check this change.

Reviewers: Hermet, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-09 12:37:09 -08:00
Youngbok Shin 6bfe82cc77 toolbar: reduce changing widget parent-child relationship when an item is added.
Summary:
It is an legacy of old code. When the view object of item was edje,
I think there was no meaningless parent-child relationship changes.
But, now, the view object is elm_layout and if we add object in proper order,
we don't need to make an useless parent-child realationship in any moments.

Test Plan: None

Reviewers: woohyun, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-09 12:37:09 -08:00
Shilpa Singh 043a7e1210 toolbar: add item_signal_emit.
Summary:
Application cannot send signals to toolbar item using elm_object_item_signal_emit API.

@feature

Test Plan: Send signal to toolbar item from app using elm_object_item_signal_emit widget.

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-09 12:37:09 -08:00
Youngbok Shin 73dbb059c1 toolbar: remove a legacy code.
Summary:
The icon is already sub object of VIEW(item) by content_set.
We don't need to make icon as a sub object of obj again.
It was used when VIEW(item) is Edje object.

Test Plan: None

Reviewers: Hermet, eagleeye, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-09 12:37:09 -08:00
Shilpa Singh 8f3e250418 colorselector: read color names instead of RGBA when accessibility is set
Summary:
Issue: When accessibility is set, individual color item's RGBA values are read
instead of actual color names.
Solution: Read color names by matching the color RGBA from the array.

Test Plan:
enable accessibility
run elementary test
select colorselector demo
click on individual color palette items

Reviewers: cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-09 12:37:09 -08:00
Jee-Yong Um 8ffd8d190d hover/hoversel: clean up code for getting edje_object_data
Summary:
There are several lines to get edje_object_data from elm_hover
or elm_hoversel like edje_object_data_get(elm_layout_edje_get(obj), "key");
These codes can be replaced with elm_layout_data_get(obj, "key");

Reviewers: Hermet, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-09 12:37:09 -08:00
Prince Kumar Dubey 02906c7865 conform: if window is in background, indicator must not update the plug information.
Summary:
When the window is in background, for associated conformant, indicator must not update the plug information.
To fix this issue, On window goes to background, the associated plug handled by confromant is deleted.

Test Plan:
On any device (like handset) which should have indicator support, this scenario can be reproduce. I tested on a handset
with gdb attach to running process having window and confromant with indicator support.

Reviewers: raster, Hermet, cedric

Reviewed By: cedric

Subscribers: rajeshps, govi

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-09 12:37:09 -08:00
Shilpa Singh c713fe4bc3 calendar: weekdays do not get translated when language is dynamically changed issue fix
Summary:
When calendar widget is already created and if we change language,
weekdays do not get translated because weekday string is statically
stored only during create.
Update the weekdays again when object is changed.

@fix

Test Plan:
1.Create and show calendar widget
2.Change the language
Weekdays do not get translated

Reviewers: Hermet, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-09 12:37:09 -08:00
godly.talias 8042242b3d hoversel: do item view creation at the time of item addition.
Summary:
Currently hoversel creates the item view when user clicks on hoversel,
So it will cause a delay for the hover to come depending on number
of items as the items in hover have to be created. If item creation
is done during item_add that delay can be avoided and pressed effect also
will become smooth (item_add will be taking more time with this change, but
it happens only once). If applications prefer memory usage more than execution
time, then applications can do item_add in hoversel clicked callback.

Test Plan: elementary_test

Reviewers: raster, Hermet, conr2d, prince.dubey, shilpasingh, cedric

Reviewed By: cedric

Subscribers: rajeshps, poornima.srinivasan

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-09 12:37:09 -08:00
Daniel Kolesa 7a89984e1d build: don't provide --eo to eolian_gen 2015-11-09 20:36:15 +00:00
Stefan Schmidt 62b641b93f configure: Switch to dev mode again. Merge window for 1.17 is open now 2015-11-09 11:46:30 +01:00
Stefan Schmidt 5dd0aef273 release: Update NEWS and bump version for 1.16.0 release 2015-11-09 11:08:34 +01:00
Stefan Schmidt 116e4c0326 po: update po files for release 2015-11-09 11:04:36 +01:00
Wonsik Jung 0c64dc46e6 win : Prohibiting auto-rendering, until elm_win is shown.
Summary:
Although elm_win is only created and evas_object_show with elm_win is not called,
evas_rendering works sometimes.
This rendering is not necessary. Because on one is shown and just back buffer is allocated.
This patch is the prohibiting auto-rendering, if elm_win is shown by calling evas_object_show()
It is effective for power consumption and reducing memory.

@fix

Test Plan:
1. elementary_test : checking all menus's working
2. modifed bg_example_02 : updated elm_bg's color by animator without evas_object_show(elm_win)

Reviewers: jpeg, jypark, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D3282
2015-11-05 20:39:39 +09:00
Lukasz Stanislawski 93d9489819 atspi: add missing SELECTED changed signals
@fix
2015-11-05 10:56:44 +01:00
Jean Guyomarc'h 6c462c653b elm_segment_control: fix invalid parameter
Summary:
Eo complained about an invalid type 'Edje_Object' passed to
elm_widget_sub_object_add(). It is the segment control itself
that should be the subject of the call to this function.

@fix

Test Plan: elementary_test: no more Eo errors

Reviewers: cedric, stefan_schmidt

Differential Revision: https://phab.enlightenment.org/D3277
2015-11-05 16:12:44 +09:00
Carsten Haitzler 0d81f89fe7 genlist tree test - minor - show all callbacks called so people know
act as "docs" so people can see what is called when. minor just in elm
test.
2015-11-05 11:44:16 +09:00
chris 891e8c33bb autoscroll focus: pass the object region position relative to the scroller.
Summary:
The region position passed to region_show and region_bring_in used to be
relative to the object position, not the scroller.

This fixes T1686.

@fix

Reviewers: seoz

Maniphest Tasks: T1686

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-04 16:23:32 -08:00
Hosang Kim dfefdde8f8 interface_scrollable: delete unnecessary smart callback call.
Summary:
When _elm_interface_scrollable_page_bring_in is called, page is not changed yet.
So "page,changed" smart callback is unnecessary.

Sometimes "page,changed" smart callback is called twice.
Because "drag,stop" and "anim,stop"is called it.
So I add updating current page code.

Test Plan:
elementary_test -> scroller

1. using wheel.
2. using "prev page" and "next page".
3. draging sceen

Reviewers: Hermet, singh.amitesh, cedric, raster, jaehwan, seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-04 16:23:32 -08:00
Shilpa Singh 480d54d5d9 colorselector: picker spinner UI not proper issue fix.
Summary:
Picker spinner UI not proper, showing blank buttons issue fix.

@fix T2401

Test Plan:
1. Launch elementary_test
2. Select colorselector
3. Tap on picker
4. observe, spinner UI not proper.

Reviewers: cedric, subodh6129

Reviewed By: subodh6129

Maniphest Tasks: T2401

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-04 16:23:32 -08:00
Jean-Philippe Andre a4e0a789d0 notify: animate on hide
There was all the necessary code, except that the default
theme did not implement properly the signal & required data.

There is still a problem though, as the "timeout" smart callback
will be called at the start of the animation, so it's not possible
for an app to hide() or del() at this point (that would get
rid of the animation). But there's no other callback after
the animation ends.

elementary_test -to Notify > "Bottom" illustrates this issue.
2015-11-04 17:24:53 +09:00
Cedric BAIL b17287397a Revert "elm: Add eglfs backend support."
This reverts commit 0d6aedbf44e5c371bddfa2b6b61c9409ed2184e3.

This patch landed a little bit to early.
2015-11-02 15:54:41 -08:00
Nicolas Aguirre a392441fca elm: Add eglfs backend support. 2015-11-03 00:15:09 +01:00
Felipe Magno de Almeida 440ab875fb Remove #include for config.h from C++ public header
Removed #include for elementary_config.h if HAVE_CONFIG_H is
defined. Which causes errors with external projects. Instead,
defined the necessary macros to use the Eo API.
2015-11-02 19:39:55 -02:00
Yeshwanth Reddivari bdf70f176e Hoversel: Fix dismiss callback
Summary: Dismiss callback was getting called on hover object instead of hoversel object.

Reviewers: raster, Hermet, alok25, mvsovani, conr2d, singh.amitesh

Reviewed By: singh.amitesh

Subscribers: sachin.dev

Differential Revision: https://phab.enlightenment.org/D3261
2015-11-02 19:29:57 +05:30
Amitesh Singh c86b0c08c4 test_explode: use evas_object_clipees_has instead
fixes memory leak and better performance
2015-11-02 08:58:15 +05:30
Lukasz Stanislawski 56400822f0 widget: update child_can_focus flag on focusability change
Summary:
Previously child_can_focus flag could be only updated when
child is deleted from object's subobject list. This patch
additionally updates child_can_focus flag when focusability
is changed with elm_widget_focus_can_set function.

Patch solves child_can_focus issue in similar situations:

elm_icon_add(layout);
elm_object_content_set(layout, icon);
elm_widget_child_can_focus_get(layout); // returns EINA_TRUE

icon = elm_icon_add(win);
elm_object_content_set(layout, icon);
elm_widget_child_can_focus_get(layout); // returns EINA_FALSE

@fix

Reviewers: cedric, stefan_schmidt

Subscribers: seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-10-30 07:22:08 +01:00
woochan lee d7b2b4facc multibuttonentry: fix internal entry be an orphan when editable set API called.
Summary:
When user called "elm_multibuttonetnry_editable_set()" API as false.
the internal entry will be unpacked from box.

Then called that API as true again.
the internal entry just show without box packed.

Also, editable set API should not work in MBE shrink mode.

Test Plan:
Alternately Call elm_multibuttonentry_ediable_set API as true, false.
Then check the internal entry state.

Reviewers: Hermet, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-10-30 07:05:12 +01:00
Shilpa Singh ffaee8f599 multibuttonentry: when item is clicked/selected, select function not called issue fix.
Summary:
The select function set in item_append does not get called on item selection issue fix.
As per documentation, the function has to get called.

@fix

Test Plan: elementary_test is updated with the demo

Reviewers: navnbeet, Hermet, CHAN, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-10-30 07:05:12 +01:00
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