summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas (unfollow)
AgeCommit message (Collapse)Author
2017-11-07evas: rely on ecore to reset ecore_pipe for evas_async_events.Cedric BAIL
Ecore being a dependency of evas, let's make our life easier and rely on ecore to tell us when to reset pipe due to a fork instead of trying to guess.
2017-11-07Remove evas internal dependency from the evas_font modulesubhransu mohanty
Summary: dev branch : devs/subhransu/font The Final goal is to move the evas_font module to ector so that both ector and evas can reuse the code. make the api simple so that sam eapi can be used by evas_textblock and ector text. This is the 1st stage to achive that gola, first remove the evas internal dependancy as much as possible before moving to ector library. Reviewers: jpeg, raster, herdsman, cedric, id213sin Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5419
2017-11-07evas: Add some crash prevention checksJean-Philippe Andre
This could happen if objects still have references while evas is being shut down (a bad situation).
2017-11-06evas-object-main: Fix potential null dereferenceChris Michael
Coverity reports that EVAS_OBJECT_DATA_SAFE_GET returns NULL here (184 out of 188 times). As such, we should not be calling _event_animation_object_get with a null object so add a null check here. Fixes Coverity CID1381713 @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-11-06evas-object-main: Fix null dereferenceChris Michael
Coverity reports that EVAS_OBJECT_DATA_SAFE_GET returns NULL here (184 out of 188 times). The _all_animation_objects_cancel function directly dereferences the obj parameter passed into it, so lets null check it before calling that function. Fixes Coverity CID1381711 @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-11-06evas-object-main: Fix null dereferenceChris Michael
Coverity reports that EVAS_OBJECT_DATA_SAFE_GET returns NULL here (184 out of 188 times). The _all_animation_objects_cancel function directly dereferences the obj parameter passed into it, so lets null check it before calling that function. Fixes Coverity CID1381710 @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-11-06evas textblock: handle ellipsis when text's height exceed its area by "br"Youngbok Shin
Summary: Textblock's ellipsis feature only worked when text's width exceeds its area. So, it didn't work when text's height exceeds its area by "br" tags. This patch will do ellipsis when only ellipsis=1.0 is set. @fix Test Plan: make check Reviewers: herdsman, raster, cedric, jpeg, sohyun Reviewed By: raster Subscribers: woohyun Differential Revision: https://phab.enlightenment.org/D5412
2017-11-02eo files: convert various to use @crefDaniel Kolesa
2017-11-02eolian: only allow reference (ownable) types in containersDaniel Kolesa
2017-11-01evas: Minor formatting fixesChris Michael
NB: No functional changes Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-11-01evas: Move evas_canvas.eo to legacy-onlyJean-Philippe Andre
This isn't meant to be installed. The canvas API in EO is based around the interfaces Efl.Canvas and the widget Efl.Ui.Win. Anything else is not EO (eg: ecore_evas, evas, ...) Note: evas_canvas3d is the last remaining thing that is installed along EO files, but those are all beta APIs.
2017-11-01evas: Add seat argument to 'pointer_inside' (EO)Jean-Philippe Andre
This merges pointer_inside and pointer_inside_by_device. Affects only EO.
2017-11-01evas: Remove specific pointer_inside APIJean-Philippe Andre
This is a name clash. It doesn't matter too much since Evas.Canvas isn't meant to be exposed to the EO API.
2017-10-31evas: Remove erroneous EINA_UNUSEDChris Michael
'output' variable is actually used in this function, so remove EINA_UNUSED from function parameter Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-10-31efl_animation: Change protected methods to be internal methodsJaehyun Cho
target_state_save, target_state_reset, target_map_reset methods are used internally. Therefore, those methods become internal methods.
2017-10-27evas: fix typo in eo fileJinYong Park
Summary: Change the first letter of the sentence from lowercase to uppercase, and fix typo "top be" to "to be" Reviewers: cedric, jpeg, stefan_schmidt, myoungwoon, Jaehyun_Cho, conr2d Reviewed By: cedric Differential Revision: https://phab.enlightenment.org/D5398 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2017-10-27evas vg: Add FIXME and fix strbuf useJean-Philippe Andre
This is the result of a really quick review of the new VG code. Most of it was moved around, but this merge includes the following: - Move logic from edje to evas - Create static lib for common VG handling - Add file_set() API - Add a basic VG cache in evas side - Add savers modules, implement loaders and savers.
2017-10-27evas/vg: Added file handling support in vg canvas.subhransu mohanty
2017-10-27evas/vg: Added vg tree caching supportsubhransu mohanty
2017-10-26evas: allow to suspend the rendering of an output.Cedric BAIL
2017-10-26Revert "evas: Fix C++ compilation"Jean-Philippe Andre
@felipealmeida says this cyclic dependency is fixed! This is awesome. :) This reverts commit 60e31101a66aa78b544f39cff6ba27cdc704deef.
2017-10-26evas textblocke: add align=end for putting a text at the opposite side of ↵Youngbok Shin
LTR/RTL Summary: There is a requirement for putting text at right side for LTR and at left side for RTL. It satisfies that reqirement easily. It also add "start" keywork for "align" tag. "start" will be same with "auto". Intuitionally, developer will try "align=start" if they once saw "align=end" in elsewhere. On the other hand, it only add "END" as new enumeration value for efl interface. @feature Test Plan: N/A Reviewers: herdsman, cedric, jpeg, raster Reviewed By: raster Subscribers: woohyun Differential Revision: https://phab.enlightenment.org/D5342
2017-10-25evas/vg: Added align, viewbox and fill_mode property to the vg canvassubhransu mohanty
Summary: viewbox, fill_mode and align property required to scale the vg tree that we get from the svg file or manually created depending on the vg canvas size. Reviewers: jpeg, cedric Subscribers: jenkins, cedric Differential Revision: https://phab.enlightenment.org/D5358
2017-10-25efl_animation: Remove duration_only_set and total_duration_set methodsJaehyun Cho
Remove unnecessary methods, duration_only_set and total_duration_set.
2017-10-24evas/vg: renamed the evas_vg class to efl_canvas_vgsubhransu mohanty
Reviewers: jpeg Subscribers: jenkins, cedric Differential Revision: https://phab.enlightenment.org/D5357
2017-10-23evas: add set function for root_node property.subhransu mohanty
Summary: Currently user ask for the root_node from the evas_vg object and then attach its tree by setting the root node as parent. With this change this process will be explicit. user has to set the root node to the evas_vg object and the object will take the ownership of the tree. User can query the current vg_tree by root_node_get api. Test Plan: Fixed the test app to reflects this change. Reviewers: jpeg, cedric Reviewed By: jpeg, cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5347 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2017-10-23efl_animation: Remove unnecessary macroJaehyun Cho
2017-10-19evas: propagate object data to evas_object_inform_call_changed_size_hints ↵Cedric BAIL
instead of fetching it again.
2017-10-19evas: propagate object data to evas_object_inform_call_restack instead of ↵Cedric BAIL
fetching it again.
2017-10-19evas: propagate object data to evas_object_inform_call_resize instead of ↵Cedric BAIL
fetching it again.
2017-10-19evas: propagate object data to evas_object_inform_call_hide instead of ↵Cedric BAIL
fetching it again.
2017-10-19evas: propagate object data to evas_object_inform_call_show instead of ↵Cedric BAIL
fetching it again.
2017-10-19evas/gesture: Enabled efl_provider_get() to find gesture managersmohanty
2017-10-19evas/gesture: Integrated gesture framework to evas.smohanty
2017-10-13evas: removing unwanted operation in interface createGodly T.Alias
Summary: Signed-off-by: Godly T.Alias <godlytalias@yahoo.co.in> Reviewers: cedric, raster, rajeshps, prince.dubey Reviewed By: cedric Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D5288 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2017-10-13efl_animation: Fix to set Efl_Event_Description for event animationJaehyun Cho
Any event represented by Efl_Event_Description can be registered for event animation. (e.g. EFL_GFX_EVENT_SHOW, EFL_GFX_EVENT_HIDE, etc.)
2017-10-13efl_animation: Fix shadowing local variable warningJaehyun Cho
2017-10-13evas: Fix crash when object is not fully createdJean-Philippe Andre
This fixes make check.
2017-10-13evas: Fix C++ compilationJean-Philippe Andre
Efl.Animation and Efl.Canvas.Object need each other, and introduce a cyclic dependency. Eolian doesn't complain... but C++ fails to compile, as one header must be included before the other, and vice-versa. Do we have other cyclic dependencies? I remember we lifted the limitation in eolian itself, but can't remember exactly how it should be handled... Ping @q66 @felipealmeida
2017-10-13eo: Simplify debug_name_overrideJean-Philippe Andre
Simply pass in the strbuf and don't expect the callee to own it. This makes things simpler and safer (it'll crash only if the callee frees said strbuf, and shouldn't leak). efl_ebug_name is new in the upcoming release, EFL 1.21. Realised this after talking with Amitesh. Thanks. See 999dbd9764426890c0e11841358f9219082b89b2 And c4769ff8989bab2b745017b843f073e5737e91e0
2017-10-12efl_animation: Add interpolator propertyJaehyun Cho
Interpolator property is added to apply interpolation function.
2017-10-12efl_animation: Add repeat_mode propertyJaehyun Cho
To not display original state when the reverse repeat starts, the animators in group parallel and group sequential are deleted.
2017-10-12efl_animation: Add start_delay propertyJaehyun Cho
Add start_delay property to delay the given amount of time in seconds from when the animation starts until the animation is animated.
2017-10-12efl_animation: Add repeat_count propertyJaehyun Cho
2017-10-12efl_animation: Add pause and resume methodsJaehyun Cho
Add target_map_reset method to fix flicking issue when animation is paused and resumed.
2017-10-12efl_animation: Support event animationJaehyun Cho
Register an animation for an event. Start the animation when the event happens.
2017-10-12efl_animation: Add sequential group animation and objectJaehyun Cho
Efl.Animation.Group.Sequential is a class for animations started in sequence. Efl.Animation.Object.Group.Sequential is a class which provides methods for an object of Efl.Animation.Group.Sequential. The objects added into the sequential group animation object start in sequence.
2017-10-12efl_animation: Add parallel group animation and objectJaehyun Cho
Efl.Animation.Group.Parallel is a class for animations started in parallel. Efl.Animation.Object.Group.Parallel is a class which provides methods for an object of Efl.Animation.Group.Parallel. The objects added into the parallel group animation object start in parallel.
2017-10-12efl_animation: Add group animation objectJaehyun Cho
2017-10-12efl_animation: Add group animationJaehyun Cho
Efl.Animation.Group is an abstract class which provides methods for group animations such as parallel and sequential group animations.