Cedric BAIL [Thu, 24 Mar 2016 00:13:57 +0000 (17:13 -0700)]
elementary: initial compilation of the library only.
Cedric BAIL [Thu, 24 Mar 2016 00:12:58 +0000 (17:12 -0700)]
eolian: temporary disable strict mode as elementary can not be built with it.
Cedric BAIL [Wed, 23 Mar 2016 23:00:47 +0000 (16:00 -0700)]
elementary: merge configure logic.
Cedric BAIL [Wed, 23 Mar 2016 21:05:36 +0000 (14:05 -0700)]
elementary: removing webkit2 module as it should now be built outside of tree.
A later new repository will show up with it.
Cedric BAIL [Wed, 23 Mar 2016 20:15:16 +0000 (13:15 -0700)]
elementary: integrate translation inside Efl translation.
Please spend time looking at those as I had to do few stuff
manually and I may have borked some of them.
Side note question, why do we have ko.po and ko_KR.po ?
Cedric BAIL [Wed, 23 Mar 2016 20:03:34 +0000 (13:03 -0700)]
elementary: reposition the translation to the new file location.
Cedric BAIL [Wed, 23 Mar 2016 19:56:14 +0000 (12:56 -0700)]
elementary: move all legacy files to their expected new location.
Tom Hacohen [Wed, 23 Mar 2016 10:59:41 +0000 (10:59 +0000)]
Merge elementary into the EFL.
This merges elementary into the efl repository while maintaining all of
Elementary's history.
Shuhrat Dehkanov [Wed, 23 Mar 2016 10:22:44 +0000 (11:22 +0100)]
Docs: change 'emittion' to 'emission'
Reviewers: cedric, stefan_schmidt
Subscribers: minkyu, cedric, seoz, jpeg
Differential Revision: https://phab.enlightenment.org/D3823
Ji-Youn Park [Wed, 23 Mar 2016 09:23:47 +0000 (17:53 +0830)]
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.
WooHyun Jung [Wed, 23 Mar 2016 02:42:14 +0000 (11:42 +0900)]
popup: visual related signals should be processed immediately
Minkyu Kang [Tue, 22 Mar 2016 22:59:05 +0000 (15:59 -0700)]
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>
SungTaek Hong [Tue, 22 Mar 2016 22:58:18 +0000 (15:58 -0700)]
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>
Umesh Tanwar [Tue, 22 Mar 2016 22:03:37 +0000 (15:03 -0700)]
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>
Ji-Youn Park [Tue, 22 Mar 2016 14:22:52 +0000 (22:52 +0830)]
elm_image: fix build warning
Ji-Youn Park [Tue, 22 Mar 2016 14:14:04 +0000 (22:44 +0830)]
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
Ji-Youn Park [Tue, 22 Mar 2016 12:33:55 +0000 (21:03 +0830)]
Efl_file: add more information into the documentation
Ji-Youn Park [Tue, 22 Mar 2016 11:17:48 +0000 (19:47 +0830)]
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
Daniel Zaoui [Tue, 22 Mar 2016 11:09:27 +0000 (13:09 +0200)]
Panes: adapt test to for more API coverage
Daniel Zaoui [Tue, 22 Mar 2016 09:17:33 +0000 (11:17 +0200)]
Label: adapt slide test to fit Exactness requirements
WooHyun Jung [Tue, 22 Mar 2016 05:45:49 +0000 (14:45 +0900)]
label: whenever text is changed, sliding related things should be checked
@fix
Jean-Philippe Andre [Tue, 22 Mar 2016 04:37:46 +0000 (13:37 +0900)]
Evas: Add missing cspaces to data_get/put (sw engine)
Also, remove abort() in default case. Leftover abort()
can actually make applications crash.
Jean-Philippe Andre [Tue, 22 Mar 2016 04:49:00 +0000 (13:49 +0900)]
evas: NEON scaling up fixed
Summary:
Previous implementation loaded data from memory first and then checked the borders.
Here I check the borders first as it is for C implementation.
This prevents read of non-accessible memory.
Reviewers: cedric, jypark, Hermet, jiin.moon, jpeg
Reviewed By: jpeg
Projects: #efl
Differential Revision: https://phab.enlightenment.org/D3809
Ji-Youn Park [Tue, 22 Mar 2016 03:51:29 +0000 (12:21 +0830)]
ecore_evas: change RENDER_SYNC from define to env
outside needs to turn on/off RENDER_SYNC feature.
env val: ECORE_EVAS_RENDER_SYNC.
Cedric Bail [Tue, 22 Mar 2016 02:46:30 +0000 (19:46 -0700)]
Revert "edje: seems like preloading is fixed and we can now run edje_cc in //"
This reverts commit
e6a27e13b54a024ca849b9fd798398d51f2e27f8.
While preloading itself is fixed, we forgot a little detail there is limit to
the amount of files we can open on any system. This is high enough on Linux that
we never see the issue, but on MacOS X, we can't even build elementary theme.
Reverting this for now and until we have a proper fix for this.
WooHyun Jung [Tue, 22 Mar 2016 01:13:28 +0000 (10:13 +0900)]
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.
Cedric BAIL [Mon, 21 Mar 2016 23:31:26 +0000 (16:31 -0700)]
evas: make no longer supported object, legacy only.
So I forgot to clean my hard drive from previously generated files,
and obviously everything still worked. This lead to having to roll back
evas_smart_clipped.eo as a public eo object until we merge elementary.
Still I would like someone to take a look at elm_pan.eo and figure out
how to not rely on smart clipped there.
Cedric BAIL [Mon, 21 Mar 2016 23:03:36 +0000 (16:03 -0700)]
evas: actually we still do need those header for the legacy API
Cedric BAIL [Mon, 21 Mar 2016 22:01:36 +0000 (15:01 -0700)]
evas: disable installation of no longer supported Eo object for EFL 2.0.
Vitor Sousa [Mon, 21 Mar 2016 20:27:46 +0000 (17:27 -0300)]
eina_cxx: fix Coverity warning regarding uninitialized iterator member
Chris Michael [Mon, 21 Mar 2016 13:29:32 +0000 (09:29 -0400)]
evas-wayland-shm: Fix rotation for wayland shm engine
Prior to this fix, window rotation was not operating correctly and the
surface contents would get rendered at the wrong size and position.
This patch fixes the engine so that rotation operates properly now.
NB: Tested with the Window States(2) test in elementary
Thanks to shiin for reporting :)
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Daniel Zaoui [Mon, 21 Mar 2016 12:33:19 +0000 (14:33 +0200)]
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
Jihoon Kim [Mon, 21 Mar 2016 07:36:42 +0000 (16:36 +0900)]
ecore_imf/wayland: use default preedit style
Change-Id: Iffb2d450923bbde191c4928253f133b13608a8e8
Vyacheslav Reutskiy [Mon, 21 Mar 2016 08:48:59 +0000 (10:48 +0200)]
menu: fix the 'fixed' errors output
Add missed attribute fixed to menu and hover styles
Daniel Zaoui [Mon, 21 Mar 2016 07:01:15 +0000 (09:01 +0200)]
Genlist: fix wrong use of Eo item
The Eo item was given as parameter of a function expecting its item data.
@fix
Daniel Zaoui [Sun, 20 Mar 2016 11:11:53 +0000 (13:11 +0200)]
Datetime: update test for Exactness
A fix date is now set so Exactness can work on datetime widget.
Daniel Zaoui [Sun, 20 Mar 2016 08:48:12 +0000 (10:48 +0200)]
Tests/Photocam: add default image
This helps to generate a Exactness scenario that doesn't depend on file
locations.
Boris Faure [Sat, 19 Mar 2016 14:55:21 +0000 (15:55 +0100)]
eina_file: move doc block about eina_file_path_join from inline to file.h
Ji-Youn Park [Sat, 19 Mar 2016 01:30:19 +0000 (10:00 +0830)]
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
Ji-Youn Park [Fri, 18 Mar 2016 09:04:59 +0000 (17:34 +0830)]
Evas.Draggable_Interface: add drag_target property
object can set this property true if object can be target of dragging content.
Vitor Sousa [Wed, 16 Mar 2016 22:46:22 +0000 (19:46 -0300)]
efl js: Add clean up callbacks to deallocate memory used in v8::External
Add several garbage collector callbacks for cleaning allocated C and C++
data used inside v8:External objects.
Fix eo_unref of already freed object in eo_js_construct_from_eo.hh.
Ensure all structs are allocated with malloc.
Add test for garbage collection.
Had to created .sh script because shebang clause do not support multiple
arguments.
Vitor Sousa [Wed, 16 Mar 2016 19:08:45 +0000 (16:08 -0300)]
efl js: Finish Eina_Iterator binding
Lauro Moura [Tue, 15 Mar 2016 21:00:20 +0000 (18:00 -0300)]
efl js: Fix naming of manual binding functions.
Also removed references to the discarded manual binding "ecore_js_file".
Vitor Sousa [Wed, 9 Dec 2015 17:32:04 +0000 (15:32 -0200)]
eina_cxx: Add missing methods to Eina C++ wrappers
Also fix release_native_handle type error on mutable ranges.
Vitor Sousa [Tue, 1 Dec 2015 19:25:11 +0000 (17:25 -0200)]
eina_cxx: Add specialized eina::iterator for Eo* wrappers
Add specialization of eina::iterator for Eo* C++ wrappers.
Specialize ibegin/iend methods in eina::list and eina::array of
Eo* wrappers to use the new eina::iterator.
Add unit test.
Vitor Sousa [Mon, 14 Mar 2016 16:14:37 +0000 (13:14 -0300)]
efl js: Update Javascript binding to compile with new Eolian API
Reword test method names to check naming convention.
Umesh Tanwar [Fri, 18 Mar 2016 18:56:59 +0000 (11:56 -0700)]
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
Oleksandr Shcherbina [Fri, 18 Mar 2016 18:55:04 +0000 (11:55 -0700)]
evas.canvas3d: fix wrong output in evas-3d-pick example
Summary:
Since that
https://git.enlightenment.org/core/efl.git/commit/?id=
c850cc0d80b754be851576083eba27a72b58b9f2
we don't use scene object for recalculation pick coordinates.
@fix
Reviewers: cedric, Hermet, raster
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D3806
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Youngbok Shin [Fri, 18 Mar 2016 18:54:00 +0000 (11:54 -0700)]
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>
Jee-Yong Um [Fri, 18 Mar 2016 18:52:52 +0000 (11:52 -0700)]
edje_cc: make script_override default value as EINA_FALSE
Summary:
script_override variable is initialized as EINA_FALSE
when group is created, but assign EINA_TRUE can mislead
some developers to think script_override default value
is EINA_TRUE.
Reviewers: Jaehyun_Cho
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3803
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Cedric Bail [Fri, 18 Mar 2016 17:08:15 +0000 (10:08 -0700)]
evas: include Eet.h as we do export a function using Eet_Data_Descriptor.
This was spotted by Nicolas Aguirre while building on Yocto which has
more agressive build option and warning.
Nicolas Aguirre [Fri, 18 Mar 2016 07:56:59 +0000 (08:56 +0100)]
evas: add eglfs evas module.
EGL Fullscreen is a module intended to support many proprietary GL driver that come
with custom API to create framebuffer/window. This one is starting by covering Android
with libhybris/hwcomposer. Later on, it should be able to support easily the Raspberry Pi
driver.
At this moment this does not work properly. Activate it at your own risk ! Do not report
bug if you don't know what you are doing :-) A backend for Ecore_Evas will come later on
along with a patch for Ecore_FB to use libinput. Finally a few patch should hopefully
enable this backend to work and compile more easily (relying on proper header detection
and dlopen/dlsym for access to proprietary function).
You can read more about the goal of this patch by reading our wiki at :
https://phab.enlightenment.org/w/boot2efl/
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Clément Bénier [Fri, 11 Dec 2015 15:27:24 +0000 (16:27 +0100)]
evas: remove check for wayland-egl version.
wayland-egl minimal version currently checked is 9.2.0 which is the
Mesa version of wayland-egl. If wayland-egl is shipped with closed
source drivers or in case of libhybris, the wayland-egl.pc pontetially
contains a different value. This commit remove the check for the
version.
Signed-off-by: Nicolas Aguirre <aguirre.nicolas@gmail.com>
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Chris Michael [Fri, 18 Mar 2016 12:53:35 +0000 (08:53 -0400)]
evas-wayland-shm: Override image_native init and shutdown functions
A previous commit added these functions so we can test if native image
is supported, however that commit did not actually override this
functions (evas api override). This small patch simply does that.
ref
20b4d9dd6adb88f9dd0cd51fa849f0c360432279
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Fri, 18 Mar 2016 12:50:54 +0000 (08:50 -0400)]
evas-wayland-egl: Override image_native init and shutdown functions
If we are going to define native_init & native_shutdown functions,
then we should probably be using them ;) Also, as this is a wayland
egl engine, we can return from native_init based on
eglQueryWaylandBufferWL
ref
20b4d9dd6adb88f9dd0cd51fa849f0c360432279
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Vitalii Vorobiov [Fri, 18 Mar 2016 12:00:51 +0000 (14:00 +0200)]
edje_edit: program's source and signal CAN be NULL
Or else user can't remove them, only by writing source/signal like "" or some
gibberish which is still getting interprettered as source and signal
WooHyun Jung [Fri, 18 Mar 2016 07:38:26 +0000 (16:38 +0900)]
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
Jean-Philippe Andre [Fri, 18 Mar 2016 04:53:39 +0000 (13:53 +0900)]
tests: Remove unused variables (evas_image)
Jee-Yong Um [Fri, 18 Mar 2016 04:30:55 +0000 (13:30 +0900)]
edje_cc: fix inheriting script from other group
Summary:
If a group inherits from the other, group script block is copied
only when there are program script blocks in parent group.
This patch makes edje_cc always copies group script block,
but allows to override group script block in child group.
The content of reverted D3799 is included. That reveals this inconsistency.
Reviewers: cedric
Subscribers: Jaehyun_Cho, woohyun, jpeg
Differential Revision: https://phab.enlightenment.org/D3802
Jean-Philippe Andre [Fri, 18 Mar 2016 02:50:48 +0000 (11:50 +0900)]
Efl.Gfx.Fill: Rename filled to fill_auto
fill_filled is a strange name for the property.
fill_auto seems to make more sense. If you disagree, scream at
me or revert this commit.
Jean-Philippe Andre [Fri, 18 Mar 2016 02:29:55 +0000 (11:29 +0900)]
Evas.Image: (eo) fill_set now unsets the filled flag
There's no point in calling fill_set AND fillet_set(false).
If a users wants to specify the fill, that should be enough
to switch to non-filled mode.
Maybe the "filled" mode should even be called auto or something?
Minkyoung Kim [Thu, 17 Mar 2016 09:20:49 +0000 (18:20 +0900)]
evas/gl_x11 : Move engine data to native.
Summary:
If 2 evases refer to same pixmap, use same EvasGL_Image.
But EvasGL_Image can have only one engine data.
When evas related to native is destroyed and another evas use that native, crash occur.
So native callbacks need to be independent to engine data.
Test Plan: mobile, local test
Reviewers: cedric, spacegrapher, wonsik, jpeg
Reviewed By: jpeg
Differential Revision: https://phab.enlightenment.org/D3800
Jaehyun Cho [Fri, 18 Mar 2016 02:31:45 +0000 (11:31 +0900)]
Revert "edje: remove unnecessary repetition during copying code"
This reverts commit
37408aef95ee5794f9030ece34be9d6b097d064e.
This commit is reverted temporarily to prevent build fail.
This commit reveals the hidden bug when elementary theme is built.
This commit will be applied after the hidden bug is resolved.
Cedric BAIL [Thu, 17 Mar 2016 23:12:51 +0000 (16:12 -0700)]
evas: fix access to possibility undefined function.
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
Oleksandr Shcherbina [Thu, 17 Mar 2016 18:14:08 +0000 (11:14 -0700)]
evas.canvas3d: example using static LOD
Summary:
Example using static LOD in evas.canvas3d
It should be applied after D3731
Reviewers: Hermet, raster, cedric
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D3732
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Jee-Yong Um [Thu, 17 Mar 2016 18:13:10 +0000 (11:13 -0700)]
edje: remove unnecessary repetition during copying code
Summary: Code doesn't need to be copied every time when program is copied.
Reviewers: cedric
Reviewed By: cedric
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D3799
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Hosang Kim [Thu, 17 Mar 2016 18:12:34 +0000 (11:12 -0700)]
edje: add fixed automatically for optimizing edje calc speed.
Summary:
Applications usually use edje syntax like as,
```
part { name :"bg";
type: SWALLOW;
description {
state: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 0.0 0.0;
align: 0.0 0.0;
min: 100 100;
}
}
```
But edje does not calculate it exactly without "fixed: 1 1".
So edje calculation is repeated until 4000 x 4000, it is waste of time.
Reviewers: woohyun, raster, Hermet, id213sin, cedric
Reviewed By: cedric
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3801
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Mike Blumenkrantz [Thu, 17 Mar 2016 18:14:32 +0000 (14:14 -0400)]
edje: do not emit selection,start twice when running select all
@fix
Ji-Youn Park [Thu, 17 Mar 2016 11:44:51 +0000 (20:14 +0830)]
Elm_Glview: fix wrong parameter type
Ji-Youn Park [Thu, 17 Mar 2016 09:08:52 +0000 (17:38 +0830)]
Elm_Glveiw: add legacy API to .h file
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
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
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.
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.
Jean-Philippe Andre [Thu, 17 Mar 2016 05:14:06 +0000 (14:14 +0900)]
Efl.Canvas.Image: Add forgotten files!
Oh...
Jean-Philippe Andre [Thu, 17 Mar 2016 05:02:26 +0000 (14:02 +0900)]
Efl.Canvas.Surface: Fix linking of inexisting functions
The EO files specified some functions that were not implemented.
Somehow this links fine with recent GCC but older versions have
trouble.
Jean-Philippe Andre [Wed, 16 Mar 2016 11:26:34 +0000 (20:26 +0900)]
Examples: Fix usage of evas image apis
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...
Jean-Philippe Andre [Wed, 16 Mar 2016 11:53:34 +0000 (20:53 +0900)]
Evas.Image: Simplify inheritance tree of image classes
This is a bit artificial, as all image objects are still based on
the Evas.Image main class. The inheritance tree alone does not
give much information on what features are supported by which
class (eg. only Efl.Canvas.Image supports the file interface for
file_set).
Jean-Philippe Andre [Wed, 16 Mar 2016 10:37:04 +0000 (19:37 +0900)]
Evas.Image: Create Efl.Canvas.Image for file & data images
This replaces standard Evas_Object_Image when it is used "normally",
ie. it's an image from a file or from a pixel buffer. All other APIs
(proxy, snapshot, 3d, gl, ...) are disabled on this object.
Also, reduce number of failing calls when the object is not a legacy
object, but a legacy function is called. This is because a lot of
image APIs are called internally using the legacy APIs, often in
order to reset the state of the image object (eg. set file to NULL,
etc...)
Jean-Philippe Andre [Wed, 16 Mar 2016 10:36:19 +0000 (19:36 +0900)]
Evas: Improve EVAS_OBJECT_LEGACY_API a bit more
This now calls EINA_SAFETY_ERROR which makes it easy to then
break inside _eina_legacy_error.
Jean-Philippe Andre [Tue, 15 Mar 2016 07:19:12 +0000 (16:19 +0900)]
Evas.Image: Move all legacy EAPI out of evas_object_image.c
Some of these functions are still be in use by the new EO objects,
like data_set/get/copy_set.
Jean-Philippe Andre [Wed, 16 Mar 2016 10:03:41 +0000 (19:03 +0900)]
Evas.Image: Fix ERR message (invalid call)
There was an unintended change from a silent return to EINA_SAFETY
inside _evas_object_image_free(). This avoids calling the function
altogether.
Jean Guyomarc'h [Wed, 16 Mar 2016 22:25:04 +0000 (23:25 +0100)]
docs: properly ends doxygen groups
Jean Guyomarc'h [Wed, 16 Mar 2016 22:18:04 +0000 (23:18 +0100)]
docs: fix invalid end of group
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
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
Stefan Schmidt [Wed, 16 Mar 2016 20:11:17 +0000 (21:11 +0100)]
cxx: follow eoid to eo_self rename in cxx generator and bindings
Bringing efl back to a building state with cxx enabled.
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
Mike Blumenkrantz [Wed, 16 Mar 2016 16:12:58 +0000 (12:12 -0400)]
label: add themes for left and right aligned text
@feature
Chris Michael [Wed, 16 Mar 2016 13:24:20 +0000 (09:24 -0400)]
evas: Fix incorrect expression in efl_canvas_surface_x11
This patch fixes an issue detected by Coverity where 'obj' is written
twice with the same value
CID1353363
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Wed, 16 Mar 2016 13:22:46 +0000 (09:22 -0400)]
evas: Fix incorrect expression in efl_canvas_surface_tbm
This patch fixes an issue detected by Coverity where 'obj' is written
twice with the same value
CID1353365
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Chris Michael [Wed, 16 Mar 2016 13:21:08 +0000 (09:21 -0400)]
evas: Fix incorrect expression in efl_canvas_surface_wayland
This patch fixes an issue detected by Coverity where 'obj' is written
twice with the same value
CID1353365
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Oleksandr Shcherbina [Tue, 15 Mar 2016 19:49:33 +0000 (12:49 -0700)]
evas.canvas3d: support static LOD technic
Summary:
Main flow: add several meshes(with different number of polygons) in one node,
enable LOD for node, set boundary distances to choose need mesh depend on distance
to the camera node, render only need mesh. Add API's enable lod in
evas_canvas3d_node module and set boundary distance to module
evas_canvas3d_mesh module Refactored function evas_canvas3d_node_mesh_collect
to calculate distance. Refactored _scene_render to have possibility pass to the
render only need LOD mesh.
Reviewers: cedric, Hermet, raster
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D3731
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
jiin.moon [Tue, 15 Mar 2016 18:57:19 +0000 (11:57 -0700)]
evas: some changes for preload thread dead lock issue
Summary:
Add spin lock to access to new flag can check to
status of the preload
Reviewers: jpeg, cedric, jypark
Subscribers: raster
Differential Revision: https://phab.enlightenment.org/D3775
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
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>
Jee-Yong Um [Tue, 15 Mar 2016 18:39:47 +0000 (11:39 -0700)]
edje: remove redundant fetch code in file.set method
Summary:
Edje data structure is passed as a parameter, but in file.set method
_edje_fetch() is called one more time unnecessarily.
Reviewers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3788
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Jee-Yong Um [Tue, 15 Mar 2016 18:31:30 +0000 (11:31 -0700)]
edje_cc: remove unnecessary internal function
Summary:
This internal function was made for checking non-existence of
Edje Part when handling insert_before/after attributes.
However, checking is implemented in different way and this function
is not used anywhere.
Reviewers: cedric
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D3790
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Jee-Yong Um [Tue, 15 Mar 2016 18:29:47 +0000 (11:29 -0700)]
edje: fix wrong char in error message
Summary: fix wrong char in error message of _edje_real_part_image_set()
Reviewers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3792
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>