Commit Graph

12732 Commits

Author SHA1 Message Date
Cedric BAIL c2a1c49ab2 elementary: move all legacy files to their expected new location. 2016-03-23 13:24:41 -07:00
Ji-Youn Park f8d1db017e Elm_Image: remove Elm.Image.scale property. use the Elm.Widget.scale.
elm image don't need to manage scale value itself.
Just modify eo part. legacy c part(ex: remove scale data in elm image)is still remains.
2016-03-23 17:53:51 +08:30
WooHyun Jung 10c807ed35 popup: visual related signals should be processed immediately 2016-03-23 11:42:14 +09:00
Minkyu Kang 7ddd831de8 image: remove duplicate _elm_image_internal_sizing_eval call
Summary:
When set the file to image widget, _elm_image_internal_sizing_eval is called many times.
This patch will remove duplicate call.
In _elm_image_sizing_eval function, elm_obj_image_scale_set will be called always,
calling _elm_image_internal_sizing_eval is unnecessary.

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

Reviewers: Hermet, cedric

Subscribers: seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-03-22 16:03:10 -07:00
SungTaek Hong 5bde5fc431 map: separate name, route source logic
Summary:
 - So far, elm_map only provides Open Street Map
   and lacks ability to expand to other map providers
   since it's xml parse only fits into that of OSM.
 - This patch is to make route and name source same to
   tile source, which supports other map tile providers.

Reviewers: woohyun, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-03-22 15:58:24 -07:00
Umesh Tanwar 2d0343dcde theme: fix non-fixed parts.
Summary:
The error shown while testing elementary_test.

Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>

Test Plan:
run elementary_test ->type "genlist" in search
->move to "genlist focus" button using navigation keys.

Reviewers: cedric, singh.amitesh, Hermet

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-03-22 15:03:42 -07:00
Ji-Youn Park 1586a086d6 elm_image: fix build warning 2016-03-22 22:55:14 +08:30
Ji-Youn Park adcc8c218c elm_image: remove elm_image_memfile_set api from eo API.
memfile_set feature will be deprecated.
instead of memfile_set, use Efl.file.mmap.
and merge elm_image_obj_mmap_set and elm_image_efl_file_mmap_set
2016-03-22 22:44:09 +08:30
Ji-Youn Park b76f9c8f6e elm_entry: revert drag_target_set API in elm_entry.
elm_entry, editable value is used not only drag_target but also other editable feature
2016-03-22 19:47:51 +08:30
Daniel Zaoui 3642ac66f6 Panes: adapt test to for more API coverage 2016-03-22 13:10:08 +02:00
Daniel Zaoui 55a61d91ed Label: adapt slide test to fit Exactness requirements 2016-03-22 11:29:24 +02:00
WooHyun Jung 2584d25b75 label: whenever text is changed, sliding related things should be checked
@fix
2016-03-22 14:45:49 +09:00
WooHyun Jung eacade5929 Revert "elm_widget: update child object focus_order."
This reverts commit b78720016a9023cb57ec2a05c8cfbdf6eeae600f.

We need to find another way to fix the problem.
This will break focus revert logic.
2016-03-22 10:13:28 +09:00
Daniel Zaoui 1029ccd362 Genlist: fix test ending
The multi select data was freed as it was an api_data structure,
resulting in a crash when trying to free an internal api_data pointer.

@fix
2016-03-21 14:34:24 +02:00
Vyacheslav Reutskiy dfd9841da2 menu: fix the 'fixed' errors output
Add missed attribute fixed to menu and hover styles
2016-03-21 10:48:59 +02:00
Daniel Zaoui 15ce2b267b Genlist: fix wrong use of Eo item
The Eo item was given as parameter of a function expecting its item data.

@fix
2016-03-21 09:01:15 +02:00
Daniel Zaoui 027dff300f Datetime: update test for Exactness
A fix date is now set so Exactness can work on datetime widget.
2016-03-20 13:11:53 +02:00
Daniel Zaoui a60ff38a01 Tests/Photocam: add default image
This helps to generate a Exactness scenario that doesn't depend on file
locations.
2016-03-20 10:51:55 +02:00
Ji-Youn Park 07fa35da20 Evas.Draggable_Interface: move editable_set/get to lecacy API
Elm_XXX_editable_set/get is related with drag and drop.

Elm_entry, Elm_image, Elm_photo, Elm_thumb has editable API.
If user call elm_entry_editable_set(obj, EINA_TRUE),
elm entry's content(text) can be changed into dragging text.
elm_image(photo,thumb also) is same. its content(image) also
can be changed into dragging image.

so changed for these widget to use drag_target property in evas_draggable_interface
2016-03-19 10:40:25 +08:30
Umesh Tanwar 1adb1962de elm_widget: update child object focus_order.
Summary:
_parent_focus() when called recursively updates the
sd->focus_order for parent obeject only. The sibling's sd->focus_order
not get updated.
So updated the focus_order for siblings.

Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>

Test Plan:
{F30149}
correct case:
1. Press Enter key on click button. A popoup will come.
2. Pressing enter key on popup button the popup hides and focus goes back to click button.

issue case:
1. Press Enter key on click button. A popoup will come.
2. press Alt+tab twice.
3. Pressing enter key on popup button the popup hides and focus does not go back to click button.

Reviewers: raster, cedric

Subscribers: singh.amitesh

Differential Revision: https://phab.enlightenment.org/D3807
2016-03-18 11:58:02 -07:00
Youngbok Shin a0f37fad24 modules: remove error message from dlsym() when a module is loaded
Summary:
dlsym() could print error message when it tried to load
a nonexistent symbol. Whenever eina_module_load is called,
it checks __eina_module_init symbol. Even if there is no
symbol for init, module loading could be done well.
But, it will print an error message. So, we need to use
EINA_MODULE_INIT, EINA_MODULE_SHUTDOWN in every modules
for removing error messages.

Test Plan: N/A

Reviewers: woohyun, raster, Hermet, seoz, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-03-18 11:54:07 -07:00
WooHyun Jung 8b8ad8ad76 focus: add focus_move_policy_automatic_set/get function
Summary:
After setting specific focus move policy to one winset object,
if it should not follow the system focus move policy change,
this new api can be used.

@feature
2016-03-18 16:38:26 +09:00
Mike Blumenkrantz 2f8b8ff1f3 entry: do not set selection on selection,start signal
this is already handled by the selection,changed signal and creates
duplicated events

@fix
2016-03-17 15:12:58 -04:00
Ji-Youn Park 28add49a80 Elm_Glview: fix wrong parameter type 2016-03-17 20:14:55 +08:30
Ji-Youn Park 9dd69c849e Elm_Glveiw: add legacy API to .h file 2016-03-17 17:38:55 +08:30
Ji-Youn Park 570d532f11 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
2016-03-17 16:50:44 +08:30
Ji-Youn Park 47172d7274 Elm_glview: remove elm_glview_size_set.
move elm_glview_size_set to legacy wrapper
2016-03-17 16:50:32 +08:30
Ji-Youn Park e2efc6d6d1 Elm_glveiw: change elm_glview_draw_request_set to elm_glview_draw_request.
change draw_reqeuest property to method.
2016-03-17 16:50:16 +08:30
Ji-Youn Park 36af2dfcd4 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.
2016-03-17 16:50:00 +08:30
Jean-Philippe Andre 03b147dc17 Examples: Fix usage of evas image apis 2016-03-17 13:55:01 +09:00
Jean-Philippe Andre 612fc42f49 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...
2016-03-17 13:55:01 +09:00
Jean Guyomarc'h 49b966b653 docs: properly ends doxygen groups 2016-03-16 23:25:04 +01:00
Jean Guyomarc'h 52f0f1bfb1 docs: fix invalid end of group 2016-03-16 23:18:04 +01:00
Stefan Schmidt 407a717200 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
2016-03-16 22:52:23 +01:00
Stefan Schmidt 6dcd4f6287 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
2016-03-16 21:52:09 +01:00
Stefan Schmidt 536a64c447 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
2016-03-16 21:00:37 +01:00
Mike Blumenkrantz dcebc67ab9 label: add themes for left and right aligned text
@feature
2016-03-16 12:13:22 -04:00
taehyub 374a102573 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>
2016-03-15 11:49:53 -07:00
Tom Hacohen d8f76f5fb6 Change elm according to the renaming of the eo_add() current object. 2016-03-15 15:30:32 +00:00
Jean-Philippe Andre caa7039b2c Elm.Image: Adapt to recent changes in Efl.Image 2016-03-15 14:07:39 +09:00
Cedric BAIL bbffd68c0b web: provide a direct access to the configured web engine class. 2016-03-14 16:25:18 -07:00
Cedric BAIL 73ea27f034 web: fix breakage after roll over with eo_add change. 2016-03-14 15:03:15 -07:00
Daniel Juyung Seo 3e8558d69a config: Fix wrong scroll config variables.
This was recovered by Coverity CID 1352816 and 1352817.
2016-03-15 02:24:33 +09:00
Vyacheslav Reutskiy 2461929e0a 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.
2016-03-14 11:33:44 +02:00
Mike Blumenkrantz 63e6bad234 button: don't attempt to set non-existent "icononly" state for elm.text 2016-03-11 16:39:58 -05:00
Tom Hacohen 1e1faf5aec Combobox: Fix according to the new (old) eo_add syntax. 2016-03-11 12:38:26 +00:00
Tom Hacohen 3433d3f1a8 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.
2016-03-11 12:36:19 +00:00
Tom Hacohen e6031a23e8 Revert "Automatic migration to the new eo_add syntax."
This reverts commit d1a1819813d74361b25fd5c1123f7ac76be9b84f.
2016-03-11 12:36:19 +00:00
Tom Hacohen a2f94bbc11 Revert "combobox: fix borkage after eo_add change."
This reverts commit da8287fa370bb579a4a592dd280ac5c8a6a25830.
2016-03-11 12:36:18 +00:00
Carsten Haitzler 23546c3c7f 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.
2016-03-11 15:32:34 +09:00