Commit Graph

29979 Commits

Author SHA1 Message Date
Carsten Haitzler 6cd13509b6 efl - add model mv header to installled headers - fix build break
this broke anything building against efl because this header was never
installed... yet another build break in the last 2 days.
2015-04-06 10:11:15 +09:00
Cedric BAIL ec6b88257d Merge branch 'devs/felipealmeida/emodel'
Efl.Model is an attempt to provide a data model as in the M of MVC to efl core.
A first implementation and example is provided as a Eio.Model. This together with
some patch in Elementary should provide a fully asynchronous and fast modern MVC
system for EFL.

The API has been in review since last summer, but will still only be accessible
with EFL BETA API and EO for now. More data model should come in the future.
2015-04-05 16:24:47 +02:00
Felipe Magno de Almeida 7928609a29 efl: move emodel to be an efl interfaces. 2015-04-05 16:23:38 +02:00
Larry Jr 2f53833331 emodel: api change property_get/set and event modelchange 2015-04-05 15:19:55 +02:00
Cedric BAIL 23cfd2b4f4 eio: fix coding style of Eio_Model. 2015-04-05 15:19:53 +02:00
Cedric BAIL 92be4f9c89 eio: use Eina_Log in Eio_Model. 2015-04-05 15:19:52 +02:00
Cedric BAIL 9a1a549ef4 eio: add missing file to release tarball. 2015-04-05 15:19:50 +02:00
Larry Jr 9ed6bea380 emodel: API changes and removed unnecessary eina_values copy and stringshares 2015-04-05 15:19:49 +02:00
Guilherme Lepsch 68a31df227 eio: fix mismatch datatypes for internal data model properties. 2015-04-05 15:19:47 +02:00
Larry Jr 05eecf5c8f emodel: Created Emodel and Eio_Model. 2015-04-05 15:19:45 +02:00
Vincent Torri c8a9769665 Evas: remove warning while factorizing code 2015-04-05 11:30:56 +03:00
ChunEon Park 513b7c5ed9 evas: fix typo in doc. 2015-04-04 15:04:01 +09:00
Carsten Haitzler bd18b52c46 efl - fix more cedric build breaks...
never checked anything depending on efl to build... didnt install
ector.pc...! fix!
2015-04-04 11:50:51 +09:00
Mike Blumenkrantz 0ae06207af edje: flag param as unused 2015-04-03 21:26:34 -04:00
Mike Blumenkrantz 12acac7035 edje: immediately return NULL when no color classes exist in edje_color_class_active_iterator_new() 2015-04-03 21:26:02 -04:00
Carsten Haitzler d4a1044811 evas - unbreak build from cedric merge...
how did this NOT break for you - there is no efl_vg_image.eo so why
have a c++ hh for it?
2015-04-04 09:42:05 +09:00
Cedric BAIL 6a909d7a4f Merge branch 'devs/cedric/evas_vg'
This commit add Evas_Object_VG, a new Evas_Object that provide a vector graphics
scenegraph following SVG specification. It will be considered a bug if some behavior
did not follow the SVG standard. Evas_Object_VG provide 3 kind of object for now:
shape, linear and radial gradient.

Vector object are very different in nature from what Evas did manipulate until now,
especially SVG defined one. They don't allow the easy detection of opaque area, thus
no cutout possible during the rendering and they usually require a large number of
them to draw something nice on scree. The cutout optimization in Evas is directly
impacted by the number of object, so splitting the two scenegraph did make sense.
Also SVG use matrix transformation everywhere, while Evas is using an UV mapping.
This make it a clear choice to have two scenegraph.

A part from the author you will see with git, there is two big thanks that needs to
be said here. First special thanks goes to Jorge Luis "turran" Zapata who is
developping is own vector stack: http://enesim.org/ since a long time now and did
share is technical advice and also influenced strongly the design. We did evaluate
the possibility to include enesim in efl, but that wasn't really possible sadly.
Another thanks goes to Jose O Gonzalez who did support and answer a lot of my
question and helped me a lot to.
2015-04-03 17:15:52 +02:00
Cedric BAIL 6a52271a86 ector: make sure that all of Ector is a beta API. 2015-04-03 16:57:55 +02:00
Cedric BAIL 899b70d3dc evas: mark Evas VG API as beta API to. 2015-04-03 16:57:35 +02:00
Subhransu Mohanty 85312d56c6 ector: update cairo enum definitions and fix gradient spread issue.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:38:19 +02:00
Subhransu Mohanty c8764e9279 ector: fix memory leak in Ector.Renderer.Generic.Base class
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:38:18 +02:00
Subhransu Mohanty f4d325ee78 evas: fix memory leak in Efl.Vg.Base class. 2015-04-03 16:38:17 +02:00
Subhransu Mohanty 8d584dff34 efl: fix memory leak in efl_gfx_shape_interpolate().
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:38:15 +02:00
Subhransu Mohanty 5c31036249 evas/canvas : bail out in case of empty or null dash.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:38:14 +02:00
Subhransu Mohanty 4ad8b3ab52 evas: update batman example with shape property interpolation
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:38:13 +02:00
Subhransu Mohanty 2d74a4efb2 efl: fix svg path parsing to handle Z also.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:38:11 +02:00
Subhransu Mohanty 470d64c85e efl: update efl_gfx_shape interpolation to use fill color.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:38:10 +02:00
Cedric BAIL c44aa8f05d efl: all those function should have been static already. 2015-04-03 16:38:08 +02:00
Cedric BAIL 41a75f0b07 efl: follow Efl.VG naming by using bounds_get as an API name. 2015-04-03 16:38:08 +02:00
Cedric BAIL 990c088f6b evas: align naming with ector, use bounds. 2015-04-03 16:38:07 +02:00
Cedric BAIL 65fb92831b ector: there is no need for bounds get to return a Eina_Bool. 2015-04-03 16:38:06 +02:00
Cedric BAIL 600e69d226 evas: implements efl_vg_bound_get in all Efl.VG object. 2015-04-03 16:38:04 +02:00
Cedric BAIL c1836b97ed evas: remove Efl.VG.Image for now as it was not implemented. 2015-04-03 16:38:00 +02:00
Cedric BAIL 2613d17844 evas: remove unused function, no need for untested code. 2015-04-03 16:37:59 +02:00
Cedric BAIL 0eeb19d688 evas: implement stack below and above get for Efl.VG object. 2015-04-03 16:37:58 +02:00
Cedric BAIL 1821aef0c6 evas: add forgotten static in some Efl_VG object. 2015-04-03 16:37:57 +02:00
Cedric BAIL 9e3cfef8d7 evas: add missing boung_get and above/below get. 2015-04-03 16:37:56 +02:00
Cedric BAIL 510a3e42e8 ector: implements bounds_get for gradients in Cairo backend. 2015-04-03 16:37:55 +02:00
Cedric BAIL 2d9bccbfdc ector: implements bounds_get for Ector_Renderer_Cairo_Shape. 2015-04-03 16:34:30 +02:00
Cedric BAIL 7bca6c00f4 ector: fix the return type of ector_renderer_bounds_get. 2015-04-03 16:34:29 +02:00
Cedric BAIL 30e2b8398e efl: add path bounding box computation.
This code does compute the largest possible bounding box not a minimal one.
2015-04-03 16:34:28 +02:00
Cedric BAIL 8288e0a880 evas: remove SVG loader code. 2015-04-03 16:34:27 +02:00
Cedric BAIL 013b18ea6a evas: removing the ability to load file in Evas_Object_VG for now.
Without events and animation it is not really useful and that can only be
done with a library on top of Ecore.
2015-04-03 16:34:26 +02:00
Cedric BAIL 5310a3ea9c ector: remove some warning from the Cairo backend. 2015-04-03 16:34:25 +02:00
Cedric BAIL 39f7ce192c ector: implement surface size property. 2015-04-03 16:34:24 +02:00
Cedric BAIL 0d95e53932 ector: remove useless function for now. 2015-04-03 16:34:23 +02:00
Cedric BAIL b18b1e89ff evas: fix Windows build. 2015-04-03 16:34:22 +02:00
Subhransu Mohanty 7d0944bda5 evas: handle mul_col for ector drawing in gl backend.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:34:21 +02:00
Subhransu Mohanty 6c64f2db74 ector: fix transform issue in cairo backend.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:34:19 +02:00
Subhransu Mohanty 72967efd9d evas: update batman example with transformation and opengl.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:34:17 +02:00