platform/upstream/efl.git
8 years agoentry: do not set selection on selection,start signal
Mike Blumenkrantz [Thu, 17 Mar 2016 19:08:12 +0000 (15:08 -0400)]
entry: do not set selection on selection,start signal

this is already handled by the selection,changed signal and creates
duplicated events

@fix

8 years agoElm_Glview: fix wrong parameter type
Ji-Youn Park [Thu, 17 Mar 2016 11:44:51 +0000 (20:14 +0830)]
Elm_Glview: fix wrong parameter type

8 years agoElm_Glveiw: add legacy API to .h file
Ji-Youn Park [Thu, 17 Mar 2016 09:08:52 +0000 (17:38 +0830)]
Elm_Glveiw: add legacy API to .h file

8 years agoelm_glview: eo-fication for set function
Ji-Youn Park [Wed, 16 Mar 2016 06:58:35 +0000 (15:28 +0830)]
elm_glview: eo-fication for set function

remove elm_glveiw_XXX_set function and create event
render_set-render
init_set->created
resize_set-> resized
del_set -> destroyed

8 years agoElm_glview: remove elm_glview_size_set.
Ji-Youn Park [Fri, 11 Mar 2016 14:22:23 +0000 (22:52 +0830)]
Elm_glview: remove elm_glview_size_set.

move elm_glview_size_set to legacy wrapper

8 years agoElm_glveiw: change elm_glview_draw_request_set to elm_glview_draw_request.
Ji-Youn Park [Fri, 11 Mar 2016 07:41:00 +0000 (16:11 +0830)]
Elm_glveiw: change elm_glview_draw_request_set to elm_glview_draw_request.

change draw_reqeuest property to method.

8 years agoElm_glview: change method from changed_set to draw_request_set
Ji-Youn Park [Fri, 11 Mar 2016 05:57:34 +0000 (14:27 +0830)]
Elm_glview: change method from changed_set to draw_request_set

changed_set method is already used in Evas.Object_Smart.
elm_glview_changed_set requests Elm_glview for drawing, so change the API to
elm_glview_draw_request_set.

8 years agoExamples: Fix usage of evas image apis
Jean-Philippe Andre [Wed, 16 Mar 2016 11:26:34 +0000 (20:26 +0900)]
Examples: Fix usage of evas image apis

8 years agoElm.Image: Improve error message after load failure
Jean-Philippe Andre [Thu, 17 Mar 2016 02:01:56 +0000 (11:01 +0900)]
Elm.Image: Improve error message after load failure

"Things are going bad for <path> (<internal pointer>)" was pretty
useless, and confusing to some people.

Also, simplify code wrt. returning a bool...

8 years agodocs: properly ends doxygen groups
Jean Guyomarc'h [Wed, 16 Mar 2016 22:25:04 +0000 (23:25 +0100)]
docs: properly ends doxygen groups

8 years agodocs: fix invalid end of group
Jean Guyomarc'h [Wed, 16 Mar 2016 22:18:04 +0000 (23:18 +0100)]
docs: fix invalid end of group

8 years agodocs: bring back docs from eo files by switching to the new group name
Stefan Schmidt [Wed, 16 Mar 2016 21:52:23 +0000 (22:52 +0100)]
docs: bring back docs from eo files by switching to the new group name

During the migration of docs to the eo file the group name changed to have a
Elm_ prefix which resulted in our docs not including this group and not showing
any of the docs in there. Switching to the new name fixes this.

Having this prefix makes sense especially as we are now merging elm into efl.

Hopefully that will be the last change.

@fix

Ref T3109

8 years agodocs: bring back docs from eo files by switching to the new group name
Stefan Schmidt [Wed, 16 Mar 2016 20:52:09 +0000 (21:52 +0100)]
docs: bring back docs from eo files by switching to the new group name

During the migration of docs to the eo file the group name changed to have a
Elm_ prefix which resulted in our docs not including this group and not showing
any of the docs in there. Switching to the new name fixes this.

Having this prefix makes sense especially as we are now merging elm into efl.

This did not only affect the widget but also our container. Infrastructure is
up next. Hopefully that will be the last change.

@fix

Ref T3109

8 years agodocs: bring back docs from eo files by switching to the new group name
Stefan Schmidt [Wed, 16 Mar 2016 15:05:31 +0000 (16:05 +0100)]
docs: bring back docs from eo files by switching to the new group name

During the migration of docs to the eo file the group name changed to have a
Elm_ prefix which resulted in our docs not including this group and not showing
any of the docs in there. Switching to the new name fixes this.

Having this prefix makes sense especially as we are now merging elm into efl.

@fix

Fixes T3109

8 years agolabel: add themes for left and right aligned text
Mike Blumenkrantz [Wed, 16 Mar 2016 16:12:58 +0000 (12:12 -0400)]
label: add themes for left and right aligned text

@feature

8 years agointerface_scrollable: fix the getting scroll view port size
taehyub [Tue, 15 Mar 2016 18:49:48 +0000 (11:49 -0700)]
interface_scrollable: fix the getting scroll view port size

Summary:
In auto scroller mode, both of vbar and hbar of scroller is created when scroller content size is getting large.
At the state, If we make hbar disappear by resizing scroller content, vbar size is set to small.
Because at the moment, the width and height of elm.swallow.content of sid->edje_obj are zero.

@fix

Test Plan:
1. set scroller auto mode
2. make vbar and hbar by resizing scroller content
3. make hbar disappear by resizing scroller content
4. see the vbar size whether it is correct or not

Reviewers: Hermet, Jaehyun_Cho, NikaWhite, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
8 years agoChange elm according to the renaming of the eo_add() current object.
Tom Hacohen [Tue, 15 Mar 2016 15:30:32 +0000 (15:30 +0000)]
Change elm according to the renaming of the eo_add() current object.

8 years agoElm.Image: Adapt to recent changes in Efl.Image
Jean-Philippe Andre [Thu, 3 Mar 2016 11:27:23 +0000 (20:27 +0900)]
Elm.Image: Adapt to recent changes in Efl.Image

8 years agoweb: provide a direct access to the configured web engine class.
Cedric BAIL [Mon, 14 Mar 2016 23:25:18 +0000 (16:25 -0700)]
web: provide a direct access to the configured web engine class.

8 years agoweb: fix breakage after roll over with eo_add change.
Cedric BAIL [Mon, 14 Mar 2016 22:03:15 +0000 (15:03 -0700)]
web: fix breakage after roll over with eo_add change.

8 years agoconfig: Fix wrong scroll config variables.
Daniel Juyung Seo [Mon, 14 Mar 2016 17:23:31 +0000 (02:23 +0900)]
config: Fix wrong scroll config variables.

This was recovered by Coverity CID 1352816 and 1352817.

8 years agoRevert "genlist: fix item sizing error"
Vyacheslav Reutskiy [Mon, 14 Mar 2016 09:30:55 +0000 (11:30 +0200)]
Revert "genlist: fix item sizing error"

After this change genlist unrealizes all realized items on every resize.
Check this in elementary_test "Genlist Del".
The expand issue should be fixed in another way.

This reverts commit 89a7e471d155dedb14f23dbb85e2178497620864.

8 years agobutton: don't attempt to set non-existent "icononly" state for elm.text
Mike Blumenkrantz [Fri, 11 Mar 2016 21:39:40 +0000 (16:39 -0500)]
button: don't attempt to set non-existent "icononly" state for elm.text

8 years agoCombobox: Fix according to the new (old) eo_add syntax.
Tom Hacohen [Fri, 11 Mar 2016 12:38:26 +0000 (12:38 +0000)]
Combobox: Fix according to the new (old) eo_add syntax.

8 years agoRevert "Combobox: Semi automatic migration to the new eo_add."
Tom Hacohen [Fri, 11 Mar 2016 12:34:19 +0000 (12:34 +0000)]
Revert "Combobox: Semi automatic migration to the new eo_add."

Reverted eo_add() changes following the return to the old eo_add()
syntax.

This reverts commit 90e465317d10ca01ff39824e56828ee983f7ae41.

8 years agoRevert "Automatic migration to the new eo_add syntax."
Tom Hacohen [Fri, 11 Mar 2016 12:34:16 +0000 (12:34 +0000)]
Revert "Automatic migration to the new eo_add syntax."

This reverts commit d1a1819813d74361b25fd5c1123f7ac76be9b84f.

8 years agoRevert "combobox: fix borkage after eo_add change."
Tom Hacohen [Fri, 11 Mar 2016 12:31:40 +0000 (12:31 +0000)]
Revert "combobox: fix borkage after eo_add change."

This reverts commit da8287fa370bb579a4a592dd280ac5c8a6a25830.

8 years agoRevert "elm - genlist item - index get start from 0 - unbreak api break"
Carsten Haitzler (Rasterman) [Fri, 11 Mar 2016 06:29:03 +0000 (15:29 +0900)]
Revert "elm - genlist item - index get start from 0 - unbreak api break"

This reverts commit 22eefc9626e15e78612396a9c7adca89ffc228e2.

ok - so equation changed. tizen 2.3 did ship with index starting at
1, so back to 1 (ugh - ugly). so apparently we have switch between 0
and 1 over history at various points (and no one in efl land uses this
api so we dont see it). but given that the largest userbase of efl atm
starts at 1 - we'll leave it there.

8 years agonone: fix symbol issue
Cedric BAIL [Fri, 11 Mar 2016 00:36:58 +0000 (16:36 -0800)]
none: fix symbol issue

T3295

8 years agogitignore: do not track eo generated files.
Cedric BAIL [Fri, 11 Mar 2016 00:31:29 +0000 (16:31 -0800)]
gitignore: do not track eo generated files.

8 years agocombobox: fix warning due to change in eo event signature.
Cedric BAIL [Fri, 11 Mar 2016 00:31:02 +0000 (16:31 -0800)]
combobox: fix warning due to change in eo event signature.

8 years agowebkit2: undef macro before redefining them.
Cedric BAIL [Thu, 10 Mar 2016 22:53:06 +0000 (14:53 -0800)]
webkit2: undef macro before redefining them.

8 years agocombobox: add Multiple selection feature
divyesh purohit [Thu, 10 Mar 2016 22:24:50 +0000 (14:24 -0800)]
combobox: add Multiple selection feature

Summary:
This patch focuses on Combobox widget customization,
Multibuttonentry widget is used instead of entry for taking user input.
The idea is to make the widget look like  {F28112} {F28115} when the multiple_selection is set.
To-DO:
1) Need to add scrollable interface to combobox when MBE is used (need some suggestions on it).
2) focus cycle is still buggy as genlist requires focus otherwise selected item will return NULL (sometimes)
Signed-off-by: divyesh purohit <div.purohit@samsung.com>
@feature

Test Plan: Please run combobox multiple selection example from elementart_test.

Reviewers: raster, shilpasingh, cedric

Subscribers: govi, rajeshps

Projects: #elementary

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

8 years agoefl: followup with renaming efl animator.
Cedric BAIL [Thu, 10 Mar 2016 21:13:45 +0000 (13:13 -0800)]
efl: followup with renaming efl animator.

8 years agocolorclass: allocate memory to fit the original size of data type
Jee-Yong Um [Thu, 10 Mar 2016 16:04:03 +0000 (11:04 -0500)]
colorclass: allocate memory to fit the original size of data type

Summary:
The size of Colorclass is 20 bytes, but that of Elm_Color_Overlay 16 bytes.
Currently, there is no code to access last 4 bytes, but it can cause
seg fault by another patch.

Reviewers: cedric, zmike

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

8 years agoelm - genlist item - index get start from 0 - unbreak api break
Carsten Haitzler (Rasterman) [Thu, 10 Mar 2016 09:29:22 +0000 (18:29 +0900)]
elm - genlist item - index get start from 0 - unbreak api break

so in feb 2015 seoz changed elm_genlist_item_index_get to start from 1
rather than 0. going back to elm code in 1.7 - it started at 0. this
is an api break that shouldn't have happend, but did. this fixes that.
yes - it's inconsistent with gengrid's index_get - but gengrid here is
wrong. nth_get starts at 0. this will get fixed with eo api's, and in
fact none of these index/nth api's should be in genlist's eo api.
legacy only. i can see why this was changed - it matches gengrid and
is more consistent, but we can't break things even if stupid.

@fix

8 years agoelm_web: Remove eo generated files
Jean-Philippe Andre [Thu, 10 Mar 2016 01:51:19 +0000 (10:51 +0900)]
elm_web: Remove eo generated files

eo.h and eo.c were added by mistake.
I couldn't quite test the build since the we still need ewekbit2
for configure to enable elm_web. @cedric has a bit of work left
here :)

8 years agocombobox: fix borkage after eo_add change.
Cedric BAIL [Thu, 10 Mar 2016 00:57:02 +0000 (16:57 -0800)]
combobox: fix borkage after eo_add change.

toto = titi = eo_add is no longer valid.

8 years agoconfig: add entry to set web backend.
Cedric BAIL [Thu, 10 Mar 2016 00:55:09 +0000 (16:55 -0800)]
config: add entry to set web backend.

Will switch later to a combobox using eio_model.

8 years agoconfig: add API to configure Elm_Web backend.
Cedric BAIL [Thu, 10 Mar 2016 00:14:00 +0000 (16:14 -0800)]
config: add API to configure Elm_Web backend.

8 years agoweb: split web into a module.
Cedric BAIL [Wed, 9 Mar 2016 23:57:09 +0000 (15:57 -0800)]
web: split web into a module.

There is currently no configuration to switch backend. Another patch
will introduce it.

8 years agoImage test: Migrate to the new event cb signature.
Tom Hacohen [Wed, 9 Mar 2016 16:27:01 +0000 (16:27 +0000)]
Image test: Migrate to the new event cb signature.

8 years agoAutomatic migration to the new eo_add syntax.
Tom Hacohen [Wed, 9 Mar 2016 16:08:12 +0000 (16:08 +0000)]
Automatic migration to the new eo_add syntax.

8 years agoCombobox: Semi automatic migration to the new eo_add.
Tom Hacohen [Wed, 9 Mar 2016 16:01:26 +0000 (16:01 +0000)]
Combobox: Semi automatic migration to the new eo_add.

8 years agotheme: Fix scroller colorclass typo.
Stephen okra Houston [Tue, 8 Mar 2016 19:36:58 +0000 (13:36 -0600)]
theme: Fix scroller colorclass typo.

8 years agoRevert "list: set internal box as homogeneous if no separator items are present"
Hermet Park [Tue, 8 Mar 2016 11:58:17 +0000 (20:58 +0900)]
Revert "list: set internal box as homogeneous if no separator items are present"

This reverts commit 9f4c43c20dfa36e7a8be18278acf4336c13574d7.

I'm sorry but this causes a side effect(list sizing issue) at enventor.
And I couldn't find any mis-usage in enventor side.

We can't not accept this patch unless we figure the exact reason out.

8 years agoelm_genlist: Added elm_genlist_filtered_items_count API
shashank.p [Tue, 8 Mar 2016 06:47:57 +0000 (07:47 +0100)]
elm_genlist: Added elm_genlist_filtered_items_count API

Summary: This clarifies the documentation of the new api.

Reviewers: SanghyeonLee, shilpasingh, cedric

Reviewed By: cedric

Subscribers: bu5hm4n, buds

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

8 years agofileselector: clarify the condition statement for checking ok button
Jee-Yong Um [Mon, 7 Mar 2016 10:26:15 +0000 (11:26 +0100)]
fileselector: clarify the condition statement for checking ok button

Summary:
elm_fileselector_buttons_ok_cancel_set() API checks the existence of
ok button before adding it.
This patch makes condition statement more intuitive.

Reviewers: cedric, bu5hm4n

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

8 years agoremove duplicated typedef
Marcel Hollerbach [Sat, 5 Mar 2016 19:00:56 +0000 (20:00 +0100)]
remove duplicated typedef

this is already defined in elm_layout.eo.h.

8 years agoatspi intf: image - fix compilation warnings after eo4 migration changes
Amitesh Singh [Sat, 5 Mar 2016 01:20:34 +0000 (06:50 +0530)]
atspi intf: image - fix compilation warnings after eo4 migration changes

                     ======
  CC       libelementary_la-elm_interface_atspi_value.lo
  elm_interface_atspi_image.c: In function '_elm_interface_atspi_image_description_set':
  elm_interface_atspi_image.c:36:9: warning: 'old_descr' may be used uninitialized in this function [-Wmaybe-uninitialized]
           eina_stringshare_del(old_descr);
                    ^
                    ======

8 years agogenlist: fix item sizing error
Jee-Yong Um [Sat, 5 Mar 2016 00:02:46 +0000 (16:02 -0800)]
genlist: fix item sizing error

Summary:
Sometimes genlist expands its items' width over viewport,
so horizontal scrollbar is shown unnecessarily.
This will correct item sizing calculation.

@fix

Test Plan:
elementary_test -to "genlist tree"
elementary_test -to "fileselector"

Reviewers: SanghyeonLee, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agomap: fix memory leak
SungTaek Hong [Sat, 5 Mar 2016 00:02:15 +0000 (16:02 -0800)]
map: fix memory leak

Summary:
- in dump_cb buf is allocated by malloc() ->strdup() -> free.
  This is needless.
- And buf allocated in dump_cb is strdup again.
  This may cause memory leak.

Reviewers: Hermet, woohyun, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoconfig: handle is_mirrored, and translate are not part of EET file, when config flush...
Shinwoo Kim [Sat, 5 Mar 2016 00:00:06 +0000 (16:00 -0800)]
config: handle is_mirrored, and translate are not part of EET file, when config flush occurs

Summary: is_mirrored, and translate value is reset, when config flush occurs.

Reviewers: raster, cedric, jpeg, tasn

Subscribers: seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoimage: fix the wrong return value
Minkyu Kang [Fri, 4 Mar 2016 23:55:14 +0000 (15:55 -0800)]
image: fix the wrong return value

Summary: Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoGenlist: fix for an item width calculation issue on item show / scrolling
godly.talias [Fri, 4 Mar 2016 23:46:18 +0000 (15:46 -0800)]
Genlist: fix for an item width calculation issue on item show / scrolling

Summary:
When item_show / scrolling is happening, _item_block_position will be
called from smart_calculate where item width is set as block width.
If items are not realized _item_realize will be called and if items are
getting realized for first time we set mincalcd as false. So later
item width gets overwritten by min width of item and so issue is happening.

@fix T2603

Signed-off-by: godly.talias <godly.talias@samsung.com>
Test Plan: elementary_test -> Genlist Group -> show 480

Reviewers: prince.dubey, shilpasingh, SanghyeonLee, cedric

Subscribers: rajeshps, seoz, govi

Maniphest Tasks: T2603

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agonotify: delete unnecessary smart move/resize.
Hosang Kim [Fri, 4 Mar 2016 23:42:57 +0000 (15:42 -0800)]
notify: delete unnecessary smart move/resize.

Summary:
elm_notify's size is dependent on parent's size.
So _elm_notify_evas_object_smart_move/resize() are not necessary.

Reviewers: woohyun, jypark, Hermet, minkyu, cedric

Reviewed By: cedric

Subscribers: minkyu

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agogenlist: add elm_genlist_filtered_items_count API
shashank.p [Fri, 4 Mar 2016 23:41:02 +0000 (15:41 -0800)]
genlist: add elm_genlist_filtered_items_count API

Summary: This API will return the number of items that have passed the filter at a given point of time. If the API is called before "filter,done" callback comes, it may or may not give the filtered count for the complete genlist.

Test Plan: Updated Genlist_filter example to print the output from filtered_count_get API in "filter,done" callback.

Reviewers: SanghyeonLee, shilpasingh, cedric

Reviewed By: cedric

Subscribers: buds

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agofileselector: refine code and theme
Jee-Yong Um [Fri, 4 Mar 2016 23:39:29 +0000 (15:39 -0800)]
fileselector: refine code and theme

Summary:
refine code and theme, hopefully solve the issue
that the height of file list (genlist) is calculated wrong.

Test Plan: elementary_test -to fileselector

Reviewers: SanghyeonLee, jpeg, cedric

Subscribers: taxi2se

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agowin: add check for focus object before adding new one
Jee-Yong Um [Fri, 4 Mar 2016 23:37:17 +0000 (15:37 -0800)]
win: add check for focus object before adding new one

Summary:
Focus object is added repeatedly, when focus is enabled.
This patch checks existing focus object.

Test Plan:
elementary_test -to focus
check/uncheck "Focus Highlight Enable" with spacebar

Reviewers: Jaehyun_Cho, jpeg, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agofileselector: add backspace key binding to move to previous path.
Jee-Yong Um [Fri, 4 Mar 2016 23:32:22 +0000 (15:32 -0800)]
fileselector: add backspace key binding to move to previous path.

Summary: Add backspace key to move to previous path.

Test Plan:
remove /home/username/.elementary (to apply new elementary config file)
elementary_test -to fileselector

Reviewers: cedric, jpeg

Subscribers: bu5hm4n

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

8 years agomultibuttonentry: add elm.swallow.background part
Woochan Lee [Fri, 4 Mar 2016 23:29:17 +0000 (15:29 -0800)]
multibuttonentry: add elm.swallow.background part

Summary: This swallow part is for custom background image.

Reviewers: kimcinoo, Hermet, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agotheme: add new time gadget themes
Mike Blumenkrantz [Thu, 3 Mar 2016 14:52:38 +0000 (09:52 -0500)]
theme: add new time gadget themes

8 years agotheme: move digit* images to O/
Mike Blumenkrantz [Thu, 3 Mar 2016 13:43:53 +0000 (08:43 -0500)]
theme: move digit* images to O/

8 years agotheme: add new wireless gadget theme
Mike Blumenkrantz [Wed, 2 Mar 2016 21:55:04 +0000 (16:55 -0500)]
theme: add new wireless gadget theme

8 years agostart: add alias for new gadget group
Mike Blumenkrantz [Wed, 2 Mar 2016 21:11:34 +0000 (16:11 -0500)]
start: add alias for new gadget group

8 years agotheme: add bryce edcs
Mike Blumenkrantz [Wed, 2 Mar 2016 20:49:51 +0000 (15:49 -0500)]
theme: add bryce edcs

8 years agocombobox: store eo_constructor() return value into obj
Amitesh Singh [Fri, 4 Mar 2016 09:27:39 +0000 (14:57 +0530)]
combobox: store eo_constructor() return value into obj

This is what we do in every widget's base constructor.

@fix

8 years agoelm_access: remove duplicated line, ELM_SAFE_FREE handles NULL assign
Shinwoo Kim [Fri, 4 Mar 2016 07:02:13 +0000 (16:02 +0900)]
elm_access: remove duplicated line, ELM_SAFE_FREE handles NULL assign

8 years agoelm_access: mapi have to be set NULL after free(m->api)
Jonghee Choi [Fri, 4 Mar 2016 06:33:49 +0000 (15:33 +0900)]
elm_access: mapi have to be set NULL after free(m->api)

Summary: mapi have to be set NULL after free(m->api)

Reviewers: kimcinoo

Reviewed By: kimcinoo

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

8 years agohoversel: remove EINA_UNUSED since data is getting used
Amitesh Singh [Fri, 4 Mar 2016 05:44:20 +0000 (11:14 +0530)]
hoversel: remove EINA_UNUSED since data is getting used

8 years agoGenlist test: Adjust according to the recent eo event changes.
Tom Hacohen [Thu, 3 Mar 2016 13:44:07 +0000 (13:44 +0000)]
Genlist test: Adjust according to the recent eo event changes.

Thanks to zmike for letting me know.

8 years agoMigrate elementary to the new Eo4 syntax
Tom Hacohen [Thu, 3 Mar 2016 10:10:20 +0000 (10:10 +0000)]
Migrate elementary to the new Eo4 syntax

Eo's syntax has changed (see efl.git for more info), this adjusts
elementary accordingly.

This is a merge commit that merges my branch will all of the fixes

8 years agoFix warnings following migration to Eo4.
Tom Hacohen [Wed, 2 Mar 2016 15:21:42 +0000 (15:21 +0000)]
Fix warnings following migration to Eo4.

Mostly unused variables.

8 years agoMap: Correct broken migration.
Tom Hacohen [Wed, 2 Mar 2016 15:17:43 +0000 (15:17 +0000)]
Map: Correct broken migration.

The script failed migrating some code, so I needed to fix it manually.

8 years agoAutomatic migration to Eo4.
Tom Hacohen [Wed, 2 Mar 2016 12:10:48 +0000 (12:10 +0000)]
Automatic migration to Eo4.

I just ran my script (email to follow) to migrate all of the EFL
automatically. This commit is *only* the automatic conversion, so it can
be easily reverted and re-run.

8 years agoApp client/server and entry: Mix of automatic migration and manual adjustments.
Tom Hacohen [Wed, 2 Mar 2016 11:57:19 +0000 (11:57 +0000)]
App client/server and entry: Mix of automatic migration and manual adjustments.

The script couldn't handle everything correctly on its own.

8 years agoManually migrate some eo_do for the migration script
Tom Hacohen [Wed, 2 Mar 2016 11:50:51 +0000 (11:50 +0000)]
Manually migrate some eo_do for the migration script

The script doesn't handle a few corner cases well. Update the code
manually so it doesn't have to deal with those.

8 years agoRemove redundant defines.
Tom Hacohen [Wed, 2 Mar 2016 11:53:04 +0000 (11:53 +0000)]
Remove redundant defines.

8 years agoScaling test: reorder instructions to set the correct scale
Daniel Zaoui [Thu, 3 Mar 2016 08:25:22 +0000 (10:25 +0200)]
Scaling test: reorder instructions to set the correct scale

If the scale is set on an object before contents are set, it will not
pass to them. Because of this, in the test, scale of the first label
remains 1.0, i.e the window scale, instead of 0.5.
The patch modifies the order of the instructions by setting the scale
after setting the label as content of the frame.

8 years agoradio: inherit from elm check
Amitesh Singh [Thu, 3 Mar 2016 06:28:21 +0000 (11:58 +0530)]
radio: inherit from elm check

Summary: Radio inherits from Check now and remove the duplicate codes

Reviewers: yashu21985, cedric, tasn, raster

Reviewed By: raster

Subscribers: seoz

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

8 years agoelm_cursor: don't include Ecore_Cocoa_Cursor.h (deleted in EFL)
Jean Guyomarc'h [Wed, 6 Jan 2016 22:17:56 +0000 (23:17 +0100)]
elm_cursor: don't include Ecore_Cocoa_Cursor.h (deleted in EFL)

8 years agoSpinner: Swap abs with fabs because we're dealing with doubles.
Tom Hacohen [Wed, 2 Mar 2016 15:29:14 +0000 (15:29 +0000)]
Spinner: Swap abs with fabs because we're dealing with doubles.

8 years agobuild: enhance generated html output from coverage report
Stefan Schmidt [Wed, 2 Mar 2016 08:25:43 +0000 (09:25 +0100)]
build: enhance generated html output from coverage report

We do not handle branch coverage so remove that part of the output. On the
other hand at a legend to allow people to understand the color meanings.

8 years agobuild: fix problems with coverage check build where some files are not found
Stefan Schmidt [Wed, 2 Mar 2016 08:07:41 +0000 (09:07 +0100)]
build: fix problems with coverage check build where some files are not found

Switch to use a lcov config file which geninfo_auto_base and remove hard coding
the base dir  to src/lib. geninfo_auto_base is designed for a use case like
ours where we have several base dirs (lib, bin, tests, ...) and it detects them
automatically. This fixes failures in a coverage run like this:

genhtml: ERROR: cannot read
/srv/build/workspace/manual_elm_gcc_x86_64_exactness_coverage/src/lib/test_win_state.c

Where the file is simply looked for in the wrong directory.

8 years agoFix example with new event api.
Lauro Moura [Tue, 1 Mar 2016 15:21:11 +0000 (12:21 -0300)]
Fix example with new event api.

Summary: Fix build after changes.

Reviewers: felipealmeida, cedric, tasn

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

8 years agoElm_Hoversel: import elm_icon
Daniel Zaoui [Tue, 1 Mar 2016 06:26:43 +0000 (08:26 +0200)]
Elm_Hoversel: import elm_icon

The icon type is needed by item_add

8 years agoelm map: silence uninit var warnings that new gcc versions show
Carsten Haitzler (Rasterman) [Tue, 1 Mar 2016 04:37:39 +0000 (13:37 +0900)]
elm map: silence uninit var warnings that new gcc versions show

gcc thinks the vars may in theory be uniitiialized. it's right but it
won't actually happen. but having noise in warning output is bad, so
fix the warnings so we can focus on the real bugs/issues/warnings

8 years agoelm_gen: update highlight geometry after clearing items
Jee-Yong Um [Fri, 19 Feb 2016 23:58:30 +0000 (15:58 -0800)]
elm_gen: update highlight geometry after clearing items

Summary:
After genlist/genrid items are cleared, item highlight still
remains in blank space. This patch fixes this by updating highlight.

Test Plan:
elementary_test -to fileselector
enter blank directory and see highlight still remains

Reviewers: jpeg, SanghyeonLee, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoimage: remove EINA_UNUSED
Minkyu Kang [Fri, 19 Feb 2016 23:57:12 +0000 (15:57 -0800)]
image: remove EINA_UNUSED

Summary:
parameter is used

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Reviewers: Hermet, seoz, cedric

Reviewed By: cedric

Subscribers: seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agospinner: add label format validator
Shilpa Singh [Fri, 19 Feb 2016 23:56:31 +0000 (15:56 -0800)]
spinner: add label format validator

Summary:
Check for all error conditions case in elm_spinner_label_format_set
and set label format only if its valid.

Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
@feature

Test Plan:
1. Launch elementary test spinner
2. Set invalid formats e.g. formats with out %, formats with more than
one format specifier "%d %s" etc:-

Reviewers: jpeg, cedric

Reviewed By: cedric

Subscribers: govi, buds, subodh6129

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoEo events: Migrate all of elm to the new event callback signatures
Tom Hacohen [Mon, 29 Feb 2016 11:32:52 +0000 (11:32 +0000)]
Eo events: Migrate all of elm to the new event callback signatures

8 years agolist: set update hints on item edje objects
Mike Blumenkrantz [Fri, 26 Feb 2016 17:45:26 +0000 (12:45 -0500)]
list: set update hints on item edje objects

without size hints on the edje object, a list item will never be sized
accurately, meaning that the size hints set on subobjects (icon, end) are
ignored in nearly all cases, and any previous sizing which was accurate was,
in fact, merely coincidentally accurate

@fix

8 years agolist: set internal box as homogeneous if no separator items are present
Mike Blumenkrantz [Fri, 26 Feb 2016 17:43:38 +0000 (12:43 -0500)]
list: set internal box as homogeneous if no separator items are present

this is a significant performance optimization since all non-separator
items should always be sized identically

8 years agolist test: use 1.0 instead of EVAS_HINT_EXPAND
Mike Blumenkrantz [Fri, 26 Feb 2016 17:40:56 +0000 (12:40 -0500)]
list test: use 1.0 instead of EVAS_HINT_EXPAND

these are functionally identical but semantically different

8 years agolist: do not change scr_min flags when setting an unenforced list mode
Mike Blumenkrantz [Fri, 26 Feb 2016 16:54:16 +0000 (11:54 -0500)]
list: do not change scr_min flags when setting an unenforced list mode

only LIMIT and EXPAND modes prohibit manually setting these flags. changing
them in any other scenario can result in overriding user-set flags

@fix

8 years agoentry: send focus/unfocus signals to scroller interface
Amitesh Singh [Fri, 26 Feb 2016 14:25:31 +0000 (19:55 +0530)]
entry: send focus/unfocus signals to scroller interface

In case of scrollable entry, send focus/unfocus signals to scroller
interface edje.

8 years agoview list: free style in base destructor.
Amitesh Singh [Fri, 26 Feb 2016 14:04:20 +0000 (19:34 +0530)]
view list: free style in base destructor.

typecast const char * to void * and pass ptr to free() since it doesn't modify the value pointed to,
either conceptually or in practice, it merely looks up the memory block using the pointer and deallocates it.

@fix

8 years agogenlist: fix a typo.
Hermet Park [Fri, 26 Feb 2016 12:50:19 +0000 (21:50 +0900)]
genlist: fix a typo.

8 years agoelm_web: define elm_web_zoom_mode in eolian file elm_web.eo
Larry [Thu, 25 Feb 2016 21:54:09 +0000 (18:54 -0300)]
elm_web: define elm_web_zoom_mode in eolian file elm_web.eo

8 years agoelm_toolbar define elm_toolbar_item_state in elm toolbar eolian files
Larry [Thu, 25 Feb 2016 21:51:53 +0000 (18:51 -0300)]
elm_toolbar define elm_toolbar_item_state in elm toolbar eolian files