Tom Hacohen [Wed, 7 May 2014 14:03:40 +0000 (15:03 +0100)]
Eo: Improved docs a bit.
Chris Michael [Fri, 9 May 2014 06:58:22 +0000 (07:58 +0100)]
evas-wayland-shm: Use XDG_RUNTIME_DIR if available for creating mmap'd
buffer file.
@bugfix: When we create the mmap'd file for shm buffer access, try
using the XDG_RUNTIME_DIR first as the place to create the file. If
that does not exist in the environment, Then fallback to using /tmp
directory.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 6 May 2014 12:09:20 +0000 (13:09 +0100)]
ecore-x: Set keycode in ecore_event structure during key press/release events
bugfix@: As we have support in the Ecore_Event structure for storing
keycode on key press/release, let's utilize it. This will simplify
wayland compositor code as we won't have to parse key names to get the
keycode.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
WooHyun Jung [Fri, 9 May 2014 04:34:38 +0000 (13:34 +0900)]
ecore/example: Modify the explanation of ecore evas extn plug example.
Mike Blumenkrantz [Fri, 9 May 2014 01:03:53 +0000 (21:03 -0400)]
call edje_cc link combining when popping the group so the last group doesn't not get linked
Cedric Bail [Thu, 8 May 2014 14:24:04 +0000 (16:24 +0200)]
autotools: make it possible to forcibly disable neon.
Jérémy Zurcher [Thu, 8 May 2014 11:44:47 +0000 (13:44 +0200)]
eo: improve error reporting, update tests
Jérémy Zurcher [Wed, 7 May 2014 22:15:30 +0000 (00:15 +0200)]
eo: improve error reporting for _eo_api_op_id_get()
Jérémy Zurcher [Wed, 7 May 2014 22:14:10 +0000 (00:14 +0200)]
silence a few warnings
Savio Sena [Wed, 7 May 2014 21:40:43 +0000 (23:40 +0200)]
eolian_cxx: fix install-examples and (post-install) compilation.
Summary:
This patch fixes T1226 by adding a Makefile.examples to
examples/eolian_cxx. It also fixes a bug in bin/eolian_cxx: the
include paths were not being correctly generated for directories
outside EFL tree.
Reviewers: cedric, smohanty, stefan_schmidt, stefan
CC: uartie, wayland-efl, felipealmeida, raster, woohyun, cedric
Maniphest Tasks: T1226
Differential Revision: https://phab.enlightenment.org/D824
Signed-off-by: Cedric Bail <cedric.bail@free.fr>
Felipe Magno de Almeida [Wed, 7 May 2014 21:37:33 +0000 (23:37 +0200)]
eolian_cxx: fix compilation of examples out-of-tree
Summary: Changed erroneous top_builddir for include paths for eolian_gen tool.
Reviewers: cedric, stefan_schmidt, stefan
CC: cedric
Differential Revision: https://phab.enlightenment.org/D830
Signed-off-by: Cedric Bail <cedric.bail@free.fr>
Mike Blumenkrantz [Wed, 7 May 2014 17:13:56 +0000 (13:13 -0400)]
fix emotion_test signal emit object
@fix
Jérémy Zurcher [Wed, 7 May 2014 15:32:49 +0000 (17:32 +0200)]
do not use EINA_FALSE instead of NULL
ChunEon Park [Wed, 7 May 2014 13:33:15 +0000 (22:33 +0900)]
evas/evas3d: removed export of evas_3d_node_add() and apply eo to examples.
but still i don't like eo apis used in app side (if it's only way)
we should export legacy apis for convenience.
lets decide this policy later.
Jean-Philippe Andre [Wed, 7 May 2014 10:47:46 +0000 (19:47 +0900)]
rg_etc: Add README to EXTRA_DIST
Jean-Philippe Andre [Wed, 7 May 2014 10:43:30 +0000 (19:43 +0900)]
rg_etc: Add a README for the Zlib license
ChunEon Park [Wed, 7 May 2014 10:36:45 +0000 (19:36 +0900)]
evas/evas3d: call eo_unref() after eo_add().
since eo default ref count is 1 and increased by canvas parent again,
they should be unref() called if they wanna deleted automatically.
I wonder if evas unref the objects while it removes the objects from it's list,
then user don't need to call eo_unref() manually which may cause a mistake in usage.
Jaehyun Cho [Wed, 7 May 2014 10:21:32 +0000 (19:21 +0900)]
evas-3d: Fix typo in evas-3d-pick.c
Summary: Fix typo with eo_do in evas-3d-pick.c
Reviewers: Hermet
Reviewed By: Hermet
CC: cedric
Differential Revision: https://phab.enlightenment.org/D828
Lucas De Marchi [Wed, 7 May 2014 09:42:30 +0000 (06:42 -0300)]
eolian_cxx: Fix out of tree build
Passing a relative path prepending "./" is generally the wrong thing to
do in autotools because the auto vars may be absolute. Fix build:
...
ERR<17525>:eo_toknz lib/eolian/eo_lexer.rl:1325 eo_tokenizer_database_fill() unable to read in .//home/lucas/p/e//efl/src/lib/ecore/ecore_poll.eo
Couldn't load input file: .//home/lucas/p/e//efl/src/lib/ecore/ecore_poll.eo
ChunEon Park [Wed, 7 May 2014 07:55:50 +0000 (16:55 +0900)]
evas/evas3d - adjust examples window size.
ChunEon Park [Wed, 7 May 2014 07:31:08 +0000 (16:31 +0900)]
evas - removed stdlib.h math.h header include in each source files.
It's included in the evas_common_private.h.
ChunEon Park [Wed, 7 May 2014 07:23:53 +0000 (16:23 +0900)]
evas/evas3d: don't be crash when it's running on sw backened.
It doesn't have a plan that evas3d supports sw backened in the near future,
let it prenvent engine function access in case of sw backened.
ChunEon Park [Wed, 7 May 2014 06:32:11 +0000 (15:32 +0900)]
evas/evas3d: set gl backened forcely in the examples
Right now, evas 3d doesn't support software renderer,
we set the gl backened forcely.
Daniel Zaoui [Sun, 4 May 2014 07:04:06 +0000 (10:04 +0300)]
Eolian_CXX: Fix generation warnings.
Since there was a bug in Eolian (Spank on you Savio that you didn't tell
me :-)), the cxx generator needed some workaround that is no more
mandatory now.
Daniel Zaoui [Wed, 7 May 2014 06:08:30 +0000 (09:08 +0300)]
Eolian: fix type resolving for implement functions.
The type of the virtual functions implemented in a class was let unresolved
and led to inconsistency when working with them.
In fact, the type can be resolved easily after all the classes that the
specific class inherits from are parsed and stored in the database.
Fix T1228
Savio Sena [Tue, 6 May 2014 22:18:42 +0000 (00:18 +0200)]
eolian_cxx: remove warnings from bin and lib.
Reviewers: cedric, smohanty, stefan_schmidt, stefan
CC: felipealmeida, cedric
Differential Revision: https://phab.enlightenment.org/D826
Signed-off-by: Cedric Bail <cedric.bail@free.fr>
Savio Sena [Tue, 6 May 2014 21:41:05 +0000 (23:41 +0200)]
examples: fix the include paths of eina example.
Summary:
"make examples" was failing for parallel build set-ups (i.e.,
top_builddir != top_srcdir).
Reviewers: cedric, smohanty, stefan_schmidt, stefan
CC: felipealmeida, cedric
Differential Revision: https://phab.enlightenment.org/D825
Signed-off-by: Cedric Bail <cedric.bail@free.fr>
Cedric Bail [Tue, 6 May 2014 20:19:47 +0000 (22:19 +0200)]
autotools: make it possible to disable support for C++11.
zmike [Tue, 6 May 2014 13:57:34 +0000 (09:57 -0400)]
edje entry no longer selects none with unimplemented ctrl+w key press
zmike [Tue, 6 May 2014 13:52:37 +0000 (09:52 -0400)]
edje entry no longer prints control codes
this has been an annoyance for way too long which has required various hacks to suppress
Tom Hacohen [Tue, 6 May 2014 10:41:17 +0000 (11:41 +0100)]
Eo gdb: Removed unneeded eo_backtrace and fixed eo_step for eo2.
Stefan Schmidt [Tue, 6 May 2014 07:56:46 +0000 (09:56 +0200)]
examples: Fix install for eolian_cxx examples
Remove reference to non existing Makefile.example to let the install
succeed.
Fixes T1226
Savio Sena [Mon, 5 May 2014 20:09:28 +0000 (13:09 -0700)]
eolian-cxx: Fixed the generation .eo.h path.
Summary: This patch fixes T1225
Reviewers: uartie
CC: uartie, wayland-efl, felipealmeida, cedric, smohanty, raster, stefan_schmidt, stefan, woohyun
Maniphest Tasks: T1225
Differential Revision: https://phab.enlightenment.org/D821
Stefan Schmidt [Mon, 5 May 2014 14:28:22 +0000 (16:28 +0200)]
release: v1.10.0 beta1
Stefan Schmidt [Mon, 5 May 2014 09:46:36 +0000 (11:46 +0200)]
configure: Print out eolian_cxx path in summary if set
Mike Blumenkrantz [Mon, 5 May 2014 00:36:58 +0000 (20:36 -0400)]
eldbus-codegen no longer passes garbage values to error callbacks
@fix
Cedric Bail [Sun, 4 May 2014 11:55:37 +0000 (13:55 +0200)]
autotools: add our own macro that disable anything not really C++11.
Cedric Bail [Sun, 4 May 2014 11:24:30 +0000 (13:24 +0200)]
autotools: fix typos for autodetecting C++11.
Cedric Bail [Sun, 4 May 2014 11:11:11 +0000 (13:11 +0200)]
eolian_cxx: oops, forgot to disable build of Eolian_Cxx if C++11 is not available.
Felipe Magno de Almeida [Sun, 4 May 2014 10:19:39 +0000 (12:19 +0200)]
eolian-cxx: fix make distcheck and automake files for Eolian C++
Summary:
Fixed distcheck for Eolian C++. Made the generated files as
nodist so it doesn't get picked up for generation way too
early.
Reviewers: cedric, seoz
CC: cedric
Maniphest Tasks: T1220
Differential Revision: https://phab.enlightenment.org/D820
Signed-off-by: Cedric Bail <cedric.bail@free.fr>
Daniel Zaoui [Sun, 4 May 2014 06:36:02 +0000 (09:36 +0300)]
Eolian: Fix support of virtual constructors.
Daniel Zaoui [Sun, 4 May 2014 04:41:46 +0000 (07:41 +0300)]
Eolian: Fix Coverity issue CID1210805.
The list is not used anymore so it can be removed.
Cedric Bail [Sun, 4 May 2014 00:17:45 +0000 (02:17 +0200)]
eolian_cxx: add forgotten include for packaging.
Cedric Bail [Sat, 3 May 2014 23:58:53 +0000 (01:58 +0200)]
eolian_cxx: fix include for cross compiling on Windows.
Cedric Bail [Sat, 3 May 2014 22:20:12 +0000 (00:20 +0200)]
evas: let's not leak on failure.
CID 1210815
Cedric Bail [Sat, 3 May 2014 22:18:55 +0000 (00:18 +0200)]
evas: reuse buffer instead of leaking it.
CID 1210816
Cedric Bail [Sat, 3 May 2014 22:16:35 +0000 (00:16 +0200)]
evas: behave nicely with unitialized data.
CID 1210818
It would be a better and more working fix to use Evas_GL_Image, sadly
no time to do it right now and may be to intrusive for an alpha release.
Cedric Bail [Sat, 3 May 2014 22:14:52 +0000 (00:14 +0200)]
evas: fix use of uninitialized pointer.
CID 1210819
Savio Sena [Fri, 2 May 2014 22:55:51 +0000 (00:55 +0200)]
eolian_cxx: initial version of the EFL C++ Bindings Generator.
Summary:
This patch adds 'eolian_cxx' -- a C++ bindings generator --
to the EFL tree. Eolian Cxx uses Eolian API to read .eo files and generate
.eo.hh. It relies/depends on Eo Cxx and Eina Cxx (both non-generated
bindings).
src/bin/eolian_cxx: The eolian_cxx program.
src/lib/eolian_cxx: A header-only library that implements the C++ code
generation that binds the .eo classes.
=Examples=
src/examples/eolian_cxx/eolian_cxx_simple_01.cc: The simplest example,
it just uses some "dummy" generated C++ classes.
src/examples/eolian_cxx/eolian_cxx_inherit_01.cc: Illustrates how
pure C++ classes inherit from .eo generated classes.
src/examples/evas/evas_cxx_rectangle.cc: More realistic example using
the generated bindings Evas Cxx. Still a bit shallow because we don't
have full fledged .eo descriptions yet, but will be improved.
=Important=
The generated code is not supported and not a stable API/ABI. It is
here to gather people interest and get review before we set things in
stone for release 1.11.
@feature
Reviewers: cedric, smohanty, raster, stefan_schmidt
CC: felipealmeida, JackDanielZ, cedric, stefan
Differential Revision: https://phab.enlightenment.org/D805
Signed-off-by: Cedric Bail <cedric.bail@free.fr>
Felipe Magno de Almeida [Fri, 2 May 2014 22:52:47 +0000 (00:52 +0200)]
eina-cxx: add eina_integer_sequence, eina_optional and their tests.
Summary: eina::optional mimics C++14 std::optional behavior and semantics.
Reviewers: felipealmeida, cedric, smohanty, woohyun, raster
CC: cedric
Differential Revision: https://phab.enlightenment.org/D815
Signed-off-by: Cedric Bail <cedric.bail@free.fr>
Savio Sena [Fri, 2 May 2014 06:18:56 +0000 (08:18 +0200)]
eet-cxx: remove unused typedef.
Summary: This patch removes warnings.
Reviewers: cedric, smohanty, felipealmeida
CC: cedric
Differential Revision: https://phab.enlightenment.org/D814
Signed-off-by: Cedric Bail <cedric.bail@free.fr>
Tom Hacohen [Thu, 1 May 2014 12:58:10 +0000 (13:58 +0100)]
Eo: Made some functions class functions again.
This broke in the transition to Eo2.
Tom Hacohen [Thu, 1 May 2014 12:28:16 +0000 (13:28 +0100)]
Eo: fixed misleading indentation.
Cedric Bail [Thu, 1 May 2014 10:04:42 +0000 (12:04 +0200)]
evas: protect against lacking light.
Cedric Bail [Thu, 1 May 2014 09:08:35 +0000 (11:08 +0200)]
evas: don't track Evas_3D examples.
Cedric Bail [Thu, 1 May 2014 09:02:30 +0000 (11:02 +0200)]
evas: make evas_3d_node_add visible to others.
Cedric Bail [Thu, 1 May 2014 09:01:56 +0000 (11:01 +0200)]
evas: fix Evas_3D examples to use Eo API.
Stefan Schmidt [Wed, 30 Apr 2014 14:18:14 +0000 (16:18 +0200)]
configure: Only allow wayland + egl with opengl ES
We only support the Wayland EGL engine build with OpenGL ES but not full
OpenGL. Reflect this in our configure to avoid compile errors after a
successful configure run. Fixes T1202
@fix
ChunEon Park [Wed, 30 Apr 2014 13:02:23 +0000 (22:02 +0900)]
evas/evas3d: rewrite evas-3d-md2 example with eo based.
ChunEon Park [Wed, 30 Apr 2014 12:40:47 +0000 (21:40 +0900)]
evas/evas3d: rewrite evas-3d-cube2 example with eo based.
ChunEon Park [Wed, 30 Apr 2014 12:36:04 +0000 (21:36 +0900)]
evas/evas3d: cleanup cube example code.
fixed eo grammar error.
added static keywords for internal variables.
include eo header explicitly.
fixed indentation.
ChunEon Park [Wed, 30 Apr 2014 12:11:48 +0000 (21:11 +0900)]
evas/evas3d: removed unnecessary header include.
ChunEon Park [Wed, 30 Apr 2014 11:37:20 +0000 (20:37 +0900)]
evas/evas_3d: rewrite evas_3d_cube eo based.
still evas_3d_node_add() call should be changed to eo_add().
ChunEon Park [Wed, 30 Apr 2014 11:20:44 +0000 (20:20 +0900)]
evas/evas3d: exceptional handling if a camera doesn't set to a scene.
Daniel Zaoui [Tue, 29 Apr 2014 11:20:10 +0000 (14:20 +0300)]
Eolian: fix prints
Jean-Philippe Andre [Wed, 30 Apr 2014 05:48:16 +0000 (14:48 +0900)]
Evas filters: Fix parsing of instructions with unnamed arguments
Jean-Philippe Andre [Wed, 30 Apr 2014 04:38:38 +0000 (13:38 +0900)]
Evas filters: Premultiply colors after parsing integers
Carsten Haitzler (Rasterman) [Tue, 29 Apr 2014 14:01:49 +0000 (23:01 +0900)]
return stride for yuv formats as width in bytes (y width).
Stefan Schmidt [Tue, 29 Apr 2014 12:48:06 +0000 (14:48 +0200)]
build/lcov/: Disable coverage for external headers
Some gcc header sneaked in before but with the new lcov option
we can avoid this.
Stefan Schmidt [Tue, 29 Apr 2014 11:55:56 +0000 (13:55 +0200)]
build: Fix coevrage build with eolian and lcov 1.10
Mixing up the new eolian test with its generated eo_lexer code and a new
version of lcov like 1.10. It works fine with lcov 1.6.
The problem is that this combination somhow triggers a wrong file path
with filename NONE. It was only triggered when adding the eolian test
suite so its a combination here.
For now we use this bandaid to remove the broken files. Need to find a
way to report this to lcov upstream.
Jean-Philippe Andre [Tue, 29 Apr 2014 06:33:51 +0000 (15:33 +0900)]
Evas: Fix stretching of ETC1/2 textures
ETC1/2 textures are (for now) allocated one by one for each image,
because we use only glCompressedTexImage (not SubImage). So,
the texture height must fit that of its content.
This commit bypasses the usual pool allocation logic where textures
are rounded up to the next multiple of 16 pixels in height, in
case of ETC1/2.
ChunEon Park [Tue, 29 Apr 2014 06:44:29 +0000 (15:44 +0900)]
evas - removed unncessary header include
it's already done in evas_common_private.h. no need it in each file.
ChunEon Park [Tue, 29 Apr 2014 05:04:10 +0000 (14:04 +0900)]
ecore/example: --warning.
use scanf() return value for removing compiling warning.
Jean-Philippe Andre [Tue, 29 Apr 2014 00:02:49 +0000 (09:02 +0900)]
Evas GL: Fix invalid definitions of ETC2 GLenum
Bad copy and paste.
Jean-Philippe Andre [Mon, 28 Apr 2014 06:08:08 +0000 (15:08 +0900)]
Evas: Fix wrong comment
Mike Blumenkrantz [Mon, 28 Apr 2014 14:17:23 +0000 (10:17 -0400)]
edje_cc now requires quotes for using lazEDC block naming
this was making syntax errors much harder to debug and only served the purpose of further enabling shitty, nonconformant edc creating. removing now before it becomes an api break
Cedric Bail [Mon, 28 Apr 2014 09:07:49 +0000 (11:07 +0200)]
autotools: remove left over from optional Evas 3D support.
ChunEon Park [Mon, 28 Apr 2014 11:51:02 +0000 (20:51 +0900)]
evas/gl - make simple.
it already prints error msg inside new functions.
Stefan Schmidt [Mon, 28 Apr 2014 11:00:32 +0000 (13:00 +0200)]
release: v1.10.0 alpha1
Daniel Zaoui [Mon, 28 Apr 2014 09:05:27 +0000 (12:05 +0300)]
Eolian/Tests: fix distcheck.
The .eo file was not added into EXTRA_DIST and as consequence the test
was failing during distcheck.
Daniel Zaoui [Sun, 27 Apr 2014 13:11:18 +0000 (16:11 +0300)]
Eolian: update cmake.
The change is needed for applications that want to use the installed .eo files
(currently of efl and elementary).
Daniel Zaoui [Mon, 28 Apr 2014 05:45:39 +0000 (08:45 +0300)]
Eolian: add API to retrieve the file name of a class
Cedric Bail [Sun, 27 Apr 2014 18:42:50 +0000 (20:42 +0200)]
emotion: remove warning.
Daniel Zaoui [Sun, 27 Apr 2014 13:23:54 +0000 (16:23 +0300)]
Eolian: add API to parse all the .eo files.
Wonguk Jeong [Sun, 27 Apr 2014 11:10:25 +0000 (13:10 +0200)]
emotion: use eina stringshare not strdup
Summary: @fix
Reviewers: raster, cedric
Reviewed By: cedric
CC: seoz, cedric
Differential Revision: https://phab.enlightenment.org/D804
Cedric Bail [Sun, 27 Apr 2014 10:02:53 +0000 (12:02 +0200)]
autotools: enable lua old support before testing for it.
Jean-Philippe Andre [Fri, 25 Apr 2014 10:47:01 +0000 (19:47 +0900)]
Evas: Disable legacy bindings for the filters
Those are BETA APIs.
Define EFL_BETA_API_SUPPORT to use these Eo APIs.
Jean-Philippe Andre [Fri, 25 Apr 2014 10:09:54 +0000 (19:09 +0900)]
tests: Disable the evas filters test suite for now
Yes, it's a bad move. But I'd rather avoid breaking make check
for now until I have a proper test suite.
The script language has been changed to Lua, and so its
limitations and syntax are not the same. Remember this is a beta
API so it shouldn't even be exposed to normal apps.
Jean-Philippe Andre [Fri, 21 Mar 2014 08:03:33 +0000 (17:03 +0900)]
Evas image: Gracefully handle filter failures
Add proper callback and mark filter as invalid in case of failure.
This might still trigger a redraw.
Jean-Philippe Andre [Thu, 20 Mar 2014 09:24:38 +0000 (18:24 +0900)]
Evas image: Skip draw when the image size is < 0 due to filter padding
If the Image Object size is smaller than the required padding,
nothing should be drawn, so just skip it.
Jean-Philippe Andre [Thu, 20 Mar 2014 07:29:24 +0000 (16:29 +0900)]
Evas image: Add read-only property filter_padding
Returns l, r, t, b and true/false if the filter is used & valid.
Jean-Philippe Andre [Thu, 20 Mar 2014 02:10:43 +0000 (11:10 +0900)]
Evas filters: Fix image with filters using fill mode
Depending on the "filled" flag, adjust how the image is filtered.
Filled: take padding into account and zoom out original image if needed
Non filled: we're tiling anyways, so padding doesn't have any meaning
Jean-Philippe Andre [Wed, 19 Mar 2014 00:40:28 +0000 (09:40 +0900)]
Evas filters: Quick redraw using output buffer
In Image_Object, reuse the previous output buffer if it is
still valid (image didn't change, etc...).
Jean-Philippe Andre [Mon, 17 Mar 2014 07:10:03 +0000 (16:10 +0900)]
Evas filters: Add support for Evas_Object_Image
This adds filter support to Image objects as well.
The exact same filters can run on Text and on Images
(provided some colorspace limitations are respected).
This basically adds:
- Support for RGBA input buffer
- Eo entry points for Image filter support
- Implement basic filter support in Evas_Image
Jean-Philippe Andre [Wed, 16 Apr 2014 03:20:09 +0000 (12:20 +0900)]
Evas filters: Remove legacy code
The compatibility layer and Lua implementation are now complete.
Jean-Philippe Andre [Fri, 11 Apr 2014 08:10:52 +0000 (17:10 +0900)]
Evas filters: switch script language to Lua
It was a pretty stupid idea to write a parser for a custom language
when we already have Lua as a dependency and it's so beautiful and
easy.
There is a fallback function to allow for compatibility with legacy
filters. But that broken syntax is not recommended. I'll probably
remove it soon.
All the test cases I have in my example app work fine with this
compatibily layer.
Jean-Philippe Andre [Thu, 10 Apr 2014 08:49:53 +0000 (17:49 +0900)]
Evas: Add lua support for evas
Since Lua is already a dependency for Edje, I believe it is safe
to add it as a dependency for Evas as well.
This will be used to replace the (bad) scripting language used for
the Evas filters (text effects).
Daniel Zaoui [Sun, 27 Apr 2014 08:12:06 +0000 (11:12 +0300)]
Evas_3d: Fix warning.
The variable was defined twice.
Daniel Zaoui [Sun, 27 Apr 2014 08:05:03 +0000 (11:05 +0300)]
Tests: fix annoying warning.
The function is not used so I commented it, in case it has to be used
later.
Daniel Zaoui [Sun, 27 Apr 2014 07:57:50 +0000 (10:57 +0300)]
Eolian: Valgrind fixes.