summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add a bunch of fixes and tests - to be splitdevs/herdsman/tb_nextDaniel Hirt2016-03-223-3/+18
|
* Revert "Evas textblock: use bytecode font hinting in test suite"Daniel Hirt2016-03-221-1/+1
| | | | This reverts commit 91d1ac690dfd0c44365f2389e2fe15254f8702ca.
* Evas textblock: use bytecode font hinting in test suiteDaniel Hirt2016-03-221-1/+1
| | | | | | In real usage, bytecode hinting is default. This changes our suite to be consistent with that as it became harder for me to compare results with the suite.
* Evas font: Fix last_up_to_pos caseDaniel Hirt2016-03-221-1/+1
| | | | | | | | | This fixed condition basically means that we in our first glyph, so we need to check if it DOESN'T fit. This was discovered while trying to fix a case with textblock ellipsis and results didn't make much sense. @fix
* Evas textblock: tosquash to fixDaniel Hirt2016-03-221-0/+1
|
* add fixDaniel Hirt2016-03-211-1/+1
|
* add failing testDaniel Hirt2016-03-211-0/+23
|
* eina_file: move doc block about eina_file_path_join from inline to file.hBoris Faure2016-03-192-42/+36
|
* Evas.Draggable_Interface: add drag_target propertyJi-Youn Park2016-03-191-0/+20
| | | | object can set this property true if object can be target of dragging content.
* efl js: Add clean up callbacks to deallocate memory used in v8::ExternalVitor Sousa2016-03-1811-27/+123
| | | | | | | | | | | | | 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.
* efl js: Finish Eina_Iterator bindingVitor Sousa2016-03-188-30/+364
|
* efl js: Fix naming of manual binding functions.Lauro Moura2016-03-1824-321/+304
| | | | Also removed references to the discarded manual binding "ecore_js_file".
* eina_cxx: Add missing methods to Eina C++ wrappersVitor Sousa2016-03-184-1/+30
| | | | Also fix release_native_handle type error on mutable ranges.
* eina_cxx: Add specialized eina::iterator for Eo* wrappersVitor Sousa2016-03-184-2/+165
| | | | | | | | | 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.
* efl js: Update Javascript binding to compile with new Eolian APIVitor Sousa2016-03-1813-437/+530
| | | | Reword test method names to check naming convention.
* evas.canvas3d: fix wrong output in evas-3d-pick exampleOleksandr Shcherbina2016-03-181-17/+2
| | | | | | | | | | | | | | | | 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>
* edje_cc: make script_override default value as EINA_FALSEJee-Yong Um2016-03-181-1/+1
| | | | | | | | | | | | | | | | 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>
* evas: include Eet.h as we do export a function using Eet_Data_Descriptor.Cedric Bail2016-03-181-0/+1
| | | | | This was spotted by Nicolas Aguirre while building on Yocto which has more agressive build option and warning.
* evas: add eglfs evas module.Nicolas Aguirre2016-03-1810-0/+2245
| | | | | | | | | | | | | | | | | | 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>
* evas: remove check for wayland-egl version.Clément Bénier2016-03-181-1/+1
| | | | | | | | | | | 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>
* evas-wayland-shm: Override image_native init and shutdown functionsChris Michael2016-03-181-0/+2
| | | | | | | | | | | | 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>
* evas-wayland-egl: Override image_native init and shutdown functionsChris Michael2016-03-181-1/+8
| | | | | | | | | | | | | 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>
* edje_edit: program's source and signal CAN be NULLVitalii Vorobiov2016-03-181-4/+0
| | | | | 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
* tests: Remove unused variables (evas_image)Jean-Philippe Andre2016-03-181-2/+1
|
* edje_cc: fix inheriting script from other groupJee-Yong Um2016-03-181-7/+19
| | | | | | | | | | | | | | | 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
* Efl.Gfx.Fill: Rename filled to fill_autoJean-Philippe Andre2016-03-189-30/+19
| | | | | | 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.
* Evas.Image: (eo) fill_set now unsets the filled flagJean-Philippe Andre2016-03-183-4/+16
| | | | | | | | 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?
* evas/gl_x11 : Move engine data to native.Minkyoung Kim2016-03-182-20/+38
| | | | | | | | | | | | | | | | 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
* Revert "edje: remove unnecessary repetition during copying code"Jaehyun Cho2016-03-181-4/+3
| | | | | | | | 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.
* evas: fix access to possibility undefined function.Cedric BAIL2016-03-171-1/+2
|
* evas.canvas3d: example using static LODOleksandr Shcherbina2016-03-175-0/+5910
| | | | | | | | | | | | | | 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>
* edje: remove unnecessary repetition during copying codeJee-Yong Um2016-03-171-3/+4
| | | | | | | | | | | | | | 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>
* edje: add fixed automatically for optimizing edje calc speed.Hosang Kim2016-03-171-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* edje: do not emit selection,start twice when running select allMike Blumenkrantz2016-03-171-1/+1
| | | | @fix
* Efl.Canvas.Image: Add forgotten files!Jean-Philippe Andre2016-03-172-0/+617
| | | | Oh...
* Efl.Canvas.Surface: Fix linking of inexisting functionsJean-Philippe Andre2016-03-174-3/+1
| | | | | | The EO files specified some functions that were not implemented. Somehow this links fine with recent GCC but older versions have trouble.
* Evas.Image: Simplify inheritance tree of image classesJean-Philippe Andre2016-03-175-7/+6
| | | | | | | | 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).
* Evas.Image: Create Efl.Canvas.Image for file & data imagesJean-Philippe Andre2016-03-1710-530/+251
| | | | | | | | | | | | 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...)
* Evas: Improve EVAS_OBJECT_LEGACY_API a bit moreJean-Philippe Andre2016-03-171-2/+4
| | | | | This now calls EINA_SAFETY_ERROR which makes it easy to then break inside _eina_legacy_error.
* Evas.Image: Move all legacy EAPI out of evas_object_image.cJean-Philippe Andre2016-03-174-862/+857
| | | | | Some of these functions are still be in use by the new EO objects, like data_set/get/copy_set.
* Evas.Image: Fix ERR message (invalid call)Jean-Philippe Andre2016-03-171-1/+2
| | | | | | There was an unintended change from a silent return to EINA_SAFETY inside _evas_object_image_free(). This avoids calling the function altogether.
* cxx: follow eoid to eo_self rename in cxx generator and bindingsStefan Schmidt2016-03-163-8/+8
| | | | Bringing efl back to a building state with cxx enabled.
* evas: Fix incorrect expression in efl_canvas_surface_x11Chris Michael2016-03-161-1/+3
| | | | | | | | | | | 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>
* evas: Fix incorrect expression in efl_canvas_surface_tbmChris Michael2016-03-161-1/+3
| | | | | | | | | | | 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>
* evas: Fix incorrect expression in efl_canvas_surface_waylandChris Michael2016-03-161-1/+3
| | | | | | | | | | | 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>
* evas.canvas3d: support static LOD technicOleksandr Shcherbina2016-03-158-6/+91
| | | | | | | | | | | | | | | | | | | 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>
* evas: some changes for preload thread dead lock issuejiin.moon2016-03-152-4/+19
| | | | | | | | | | | | | | 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>
* edje: remove redundant fetch code in file.set methodJee-Yong Um2016-03-151-4/+1
| | | | | | | | | | | | 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>
* edje_cc: remove unnecessary internal functionJee-Yong Um2016-03-151-26/+0
| | | | | | | | | | | | | | | | 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>
* edje: fix wrong char in error messageJee-Yong Um2016-03-151-1/+1
| | | | | | | | | | 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>