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.
Daniel Zaoui [Sun, 27 Apr 2014 07:03:39 +0000 (10:03 +0300)]
Eolian/Generator: only requests .eo files parsing when needed.
Before this change, all the .eo files of the directories given with -I
option were parsed. Most of this information was not necessary at all,
since only the classes belonging to the inheritance of the class given
as parameter were needed.
Now, during the parsing of the given class, the inherits classes are
searched and parsed.
A condition is needed to make it work well. To find a filename for a
class, we consider the lowercase of the class name as the filename we
have to parse.
e.g, Elm_Button -> elm_button -> elm_button.eo
It considerably reduces the generation time.
A fix in the tests was needed.
Daniel Zaoui [Sun, 27 Apr 2014 05:04:00 +0000 (08:04 +0300)]
Eolian: remove --eo1 support totally
Savio Sena [Sat, 26 Apr 2014 14:26:33 +0000 (16:26 +0200)]
eina_cxx: fix a bug in efl::eina::range_inlist constructor.
Summary: Fixes const propagation of range_inlist.
Reviewers: cedric, raster, seoz, raoulh, Andreas, smohanty
CC: felipealmeida, cedric
Differential Revision: https://phab.enlightenment.org/D796
Signed-off-by: Cedric Bail <cedric.bail@free.fr>
Daniel Juyung Seo [Sat, 26 Apr 2014 12:46:50 +0000 (21:46 +0900)]
AUTHORS: updated Brett's email address.
Daniel Zaoui [Sat, 26 Apr 2014 07:28:11 +0000 (10:28 +0300)]
Evas_3d: fix some typo in .eo.
@in is not used for properties.
Daniel Zaoui [Sat, 26 Apr 2014 07:10:06 +0000 (10:10 +0300)]
Evas_3d: modify .eo files to disable legacy.
Instead of setting legacy to null to every function, you can set the
class legacy_prefix to null. It will disable legacy for all the class.
Mike Blumenkrantz [Sat, 26 Apr 2014 06:21:51 +0000 (02:21 -0400)]
eina_value_free() now takes NULL like the rest of the efl free functions
Mike Blumenkrantz [Sat, 26 Apr 2014 06:16:55 +0000 (02:16 -0400)]
fix edje_cc multiple link usage on same description
Cedric Bail [Fri, 25 Apr 2014 17:28:38 +0000 (19:28 +0200)]
evas: remove Evas_3D legacy API.
Mike Blumenkrantz [Wed, 23 Apr 2014 15:57:06 +0000 (11:57 -0400)]
edje_cc now (more) correctly handles text filter inheriting/resetting
Mike Blumenkrantz [Tue, 22 Apr 2014 19:21:50 +0000 (15:21 -0400)]
edje should only apply "calculated" text size if that size exists
fixes text.source sizing when size is not specified in child part
Mike Blumenkrantz [Tue, 22 Apr 2014 17:19:09 +0000 (13:19 -0400)]
edje now correctly supports text.source and text.text_source for swallowed parts
fix T1186
Mike Blumenkrantz [Tue, 22 Apr 2014 14:14:31 +0000 (10:14 -0400)]
edje_cc no longer has "slave" lookups
these appear to have been replaced many centuries ago with copied_X lookups
Mike Blumenkrantz [Mon, 21 Apr 2014 20:25:26 +0000 (16:25 -0400)]
edc parts.alias documentation is now comprehensible and useful
Mike Blumenkrantz [Mon, 21 Apr 2014 14:29:53 +0000 (10:29 -0400)]
edje now has the group.script_recursion flag for permitting unsafe embryo recursion
this is enabled for all scripts within a group, and it should only be used if you:
1) know what you are doing
2) know why this is unsafe (T905)
@feature
Mike Blumenkrantz [Wed, 9 Apr 2014 02:12:37 +0000 (22:12 -0400)]
edje_cc now supports part.description.link for single line state changes
@feature
Mike Blumenkrantz [Tue, 8 Apr 2014 23:16:44 +0000 (19:16 -0400)]
eina_hash now has helper functions for managing lists inside hashes
@feature
Mike Blumenkrantz [Tue, 8 Apr 2014 13:48:46 +0000 (09:48 -0400)]
edje_cc now supports group.program_source for specifying a default source in programs
this allows for program.source to be omitted 99% of the time since most sources in an application/library will be the same within a single group
@feature
Mike Blumenkrantz [Tue, 8 Apr 2014 02:09:56 +0000 (22:09 -0400)]
edje_cc now has the program.groups and X.target_group keywords for target grouping
this allows any number of parts/programs to be added by name into a logical grouping which can then be referenced inside a program.
eg.
before
------
program { signal: XYZ; source: 123;
action: STATE_SET "default";
targets: "sup" "dawg" "parts" "up" "in" "dis" "progrizzle";
}
program { signal: ABC; source: 123;
action: STATE_SET "notdefault";
targets: "sup" "dawg" "parts" "up" "in" "dis" "progrizzle" "tooizzle";
}
======
after
------
target_group: "default" "sup" "dawg" "parts" "up" "in" "dis" "progrizzle";
program { signal: XYZ; source: 123;
action: STATE_SET "default";
group: "default";
}
program { signal: ABC; source: 123;
action: STATE_SET "notdefault";
group: "default";
target: "tooizzle";
}
@feature
Mike Blumenkrantz [Mon, 31 Mar 2014 15:05:24 +0000 (11:05 -0400)]
edje emit refactored to streamline emit programs with targets
Mike Blumenkrantz [Sat, 29 Mar 2014 14:18:50 +0000 (10:18 -0400)]
edje_cc now errors immediately on syntax errors triggered by lack of parameters
Mike Blumenkrantz [Tue, 25 Mar 2014 15:12:21 +0000 (11:12 -0400)]
edje_cc now supports targets for SIGNAL_EMIT actions
this is much more intuitive than somehow knowing you're supposed to add a ':' between part:signal
@feature
Mike Blumenkrantz [Mon, 24 Mar 2014 19:09:16 +0000 (15:09 -0400)]
edje_cc now supports the group.inherit_only attribute
use this for flagging a group as a "virtual" group which is only used for inheriting
@feature
Mike Blumenkrantz [Fri, 21 Mar 2014 20:58:24 +0000 (16:58 -0400)]
edje_cc now supports "lazEDC", a more concise version of EDC
in today's modern world of fast-paced, HTML5-driven, C++-riddled
development, nobody wants to spend hours typing out long words like
"description" or "mouse_events" or "name". there's no time for it
and certainly nobody is going to allocate budget for this sort of
keyboard-related nonsense.
enter lazEDC: the solution for edje-loving keyboard jockeys everywhere.
by breaking the parser of edje_cc with the strength of 10 frenchmen,
new, shorter keywords such as "nomouse" can be used in place of lengthy,
rambling statements like "mouse_events: 0", and things like
part { name: "clip"; type: RECT; description { state: "default" 0.0; }}
can now be written as
rect { "clip"; }
with the exact same effect.
initial tests show that complex and terrible edc files such as the infamous
"genlist.edc" can be reduced in size by over 15% using these new features.
see edcref for docs, and genlist.edc for examples
@feature
@awesome
Cedric Bail [Fri, 25 Apr 2014 14:46:46 +0000 (16:46 +0200)]
evas: fix broken build with OpenGL ES backend.
This is a temporary fix, once we move to Evas_GL_Image, it shouldn't
be needed anymore. Thanks to Cédric "chep" Chépied for reporting the
issue.
Cedric Bail [Fri, 25 Apr 2014 14:41:08 +0000 (16:41 +0200)]
evas: our API are always build in, only the header require define to be used.
Cedric Bail [Fri, 25 Apr 2014 14:16:46 +0000 (16:16 +0200)]
evas: rename near and far as it seems protected on Windows.
Daniel Zaoui [Fri, 25 Apr 2014 13:38:17 +0000 (16:38 +0300)]
Evas_3d: Fix warnings.
Daniel Zaoui [Fri, 25 Apr 2014 06:26:39 +0000 (09:26 +0300)]
Eolian/Tests: add test for complex type.
It includes too fixes for the complex type. If I had listened to Tasn,
I would have detected them a long time ago.
But he didn't insist enough. He just said:
"Write your tests, ?#@*&%! french!"
Cedric Bail [Fri, 25 Apr 2014 12:34:55 +0000 (14:34 +0200)]
evas: fix massive number of warning introduced by Evas_3d.
Vincent Torri [Fri, 25 Apr 2014 10:23:41 +0000 (12:23 +0200)]
ecore: improve and fix various issue in Ecore_Exe windows implementation.
Signed-off-by: Cedric Bail <cedric.bail@free.fr>
ChunEon Park [Fri, 25 Apr 2014 11:19:33 +0000 (20:19 +0900)]
evas/image: updated image_scene_set/get doc.
ChunEon Park [Fri, 25 Apr 2014 11:10:46 +0000 (20:10 +0900)]
evas/image - fixed typo
ChunEon Park [Fri, 25 Apr 2014 11:01:26 +0000 (20:01 +0900)]
evas/image - fill up a missed initial value in the image state.
ChunEon Park [Fri, 25 Apr 2014 10:53:18 +0000 (19:53 +0900)]
evas/evas3d: rename 3d_scene_set()/get() to scene_set()/get()
if eolian generates c++ apis, the method name will be started with
numberic character that wont' be accepted by c++ language.
so renamed.
ChunEon Park [Wed, 16 Apr 2014 13:29:02 +0000 (22:29 +0900)]
evas/evas3d: clean up camera code.
rewrite for more efl style.
ChunEon Park [Wed, 16 Apr 2014 11:11:15 +0000 (20:11 +0900)]
evas/evas3d: keep the code style.
ChunEon Park [Wed, 16 Apr 2014 08:55:34 +0000 (17:55 +0900)]
evas/evas3d: just cleanup image code.
changed to clean efl style.
ChunEon Park [Wed, 16 Apr 2014 07:31:14 +0000 (16:31 +0900)]
evas/evas3d: cleanup docs and removed unncessary files.
Conflicts:
src/lib/evas/Evas_Legacy.h
ChunEon Park [Tue, 15 Apr 2014 05:09:25 +0000 (14:09 +0900)]
evas/evas3d: filled up missed eo headers to be installed.
Conflicts:
src/Makefile_Evas.am
ChunEon Park [Tue, 15 Apr 2014 04:36:20 +0000 (13:36 +0900)]
evas/evas3d: don't occur build break.
the declared t3d_scene api names are not matched exactly between header and code.
these name should be just "3d_scene"
and still there was a Evas_3D.h reference in evas Makefile.
ChunEon Park [Tue, 15 Apr 2014 04:19:26 +0000 (13:19 +0900)]
evas/evas3d - changed file access authority.
don't other users execute or write them.
ChunEon Park [Fri, 25 Apr 2014 08:18:57 +0000 (17:18 +0900)]
evas/evas3d: oops. evas_3d.h should be removed since it's merged to evas.h
ChunEon Park [Tue, 15 Apr 2014 01:32:39 +0000 (10:32 +0900)]
evas3d: forget evas_3d.h. it's merged to evas.h
Conflicts:
src/lib/evas/Evas_3D.h
ChunEon Park [Tue, 15 Apr 2014 01:18:49 +0000 (10:18 +0900)]
evas3d: fixed grammartical break.
ChunEon Park [Tue, 15 Apr 2014 01:07:31 +0000 (10:07 +0900)]
evas/evas3d - use the image loader of the evas instead of the png lib.
subhransu [Mon, 14 Apr 2014 10:59:38 +0000 (19:59 +0900)]
Evas_3D : Eolian change for Evas_3D_Object.
Conflicts:
src/lib/evas/Evas_Eo.h
subhransu [Mon, 14 Apr 2014 10:03:47 +0000 (19:03 +0900)]
Evas_3D : Eolian change
Conflicts:
src/Makefile_Evas.am
src/lib/evas/Evas_3D.h
src/lib/evas/Evas_Eo.h
Jean-Philippe Andre [Fri, 25 Apr 2014 05:51:42 +0000 (14:51 +0900)]
Evas gl_x11: Add ETC2 support to the GL/X11 engine
This should allow texture upload with ETC2 RGB8 or RGBA8 formats.
Untested for now...
@feature
Jean-Philippe Andre [Fri, 25 Apr 2014 02:24:14 +0000 (11:24 +0900)]
Evas: Add support for ETC2 in the TGV loader
There is an ifdef HAVE_ETC2_DECODER to disable unimplemented code.
Since these ETC2 decoding function are not implemented yet,
they should be disabled at compile time.
Yes, this means Evas will not be able to load those images in case
of SW engine or GL engine w/o ETC2 support.
@feature
Jean-Philippe Andre [Wed, 23 Apr 2014 11:02:22 +0000 (20:02 +0900)]
Evas TGV: Add direct copy mode for ETC1/ETC2 data
If the image is already in ETC1 or ETC2, then just copy its data
(and LZ4 compress it).
@feature
Jean-Philippe Andre [Fri, 25 Apr 2014 02:18:16 +0000 (11:18 +0900)]
Evas: Add RGB8_ETC2 and RGBA8_ETC2 colorspaces
These are two variants of ETC2 texture compression format.
Subhransu Sekhar Mohanty [Fri, 28 Mar 2014 03:16:42 +0000 (12:16 +0900)]
Evas: 3D: Change the api name from t3d_scene to 3d_scene as the eolian issue got fixed.
Taekyun Kim [Wed, 8 Jan 2014 11:59:39 +0000 (20:59 +0900)]
Evas: 3D: Add missing image file for example evas-3d-proxy
Taekyun Kim [Wed, 8 Jan 2014 10:04:52 +0000 (19:04 +0900)]
Evas: 3D: API documentation
Conflicts:
src/lib/evas/Evas_3D.h
Taekyun Kim [Tue, 7 Jan 2014 09:07:38 +0000 (18:07 +0900)]
Evas: 3D: Updated proxy texture example
Taekyun Kim [Tue, 7 Jan 2014 08:39:23 +0000 (17:39 +0900)]
Evas: 3D: Refined proxy texture implementation
Added new APIs for controlling source object's visibility.
Fixed bugs related to updating proxy textures.
Taekyun Kim [Mon, 6 Jan 2014 06:12:02 +0000 (15:12 +0900)]
Evas: 3D: Fix typo error in preprocessor for GLES
Taekyun Kim [Mon, 6 Jan 2014 06:10:59 +0000 (15:10 +0900)]
Evas: 3D: evas_3d_node_look_at_set() bug fix
Taekyun Kim [Fri, 27 Dec 2013 12:14:59 +0000 (21:14 +0900)]
Evas: 3D: Example: MD2 mesh file example
MD2 model file is from http://mb.srb2.org/showthread.php?t=34800
Thanks to Jeck Jim.
Taekyun Kim [Fri, 27 Dec 2013 11:31:39 +0000 (20:31 +0900)]
Evas: 3D: Example: Picking example
Taekyun Kim [Fri, 27 Dec 2013 11:29:07 +0000 (20:29 +0900)]
Evas: 3D: Example: Proxy texture example
Taekyun Kim [Fri, 27 Dec 2013 09:45:41 +0000 (18:45 +0900)]
Evas: 3D: Example: Rotating Cube 2
Demonstrating key frame material animation and normal mapping.
Taekyun Kim [Fri, 27 Dec 2013 08:39:58 +0000 (17:39 +0900)]
Evas: 3D: Example: Rotating cube
ChunEon Park [Fri, 25 Apr 2014 07:17:43 +0000 (16:17 +0900)]
evas/evas3d: include evas3d header file properly.
Taekyun Kim [Fri, 27 Dec 2013 07:56:30 +0000 (16:56 +0900)]
Evas: 3D: Introducing 3D scene rendering features
Enable 3D features using --enable-evas-3d=yes when configuring.
APIs are exposed through Evas_3D.h.
Currently, evas-3d is being supported only on gl_x11 engine.
Conflicts:
src/lib/evas/Evas_Eo.h
Jaeun Choi [Fri, 25 Apr 2014 06:26:48 +0000 (15:26 +0900)]
Evas: gif decoding bug fix
Gif decoder decodes prior frames sequentially to decode a specific frame.
The last frame of sequential decoding, which is the frame we want to decode,
remains un-decoded until the while loop stops.
The frame count should be incremented after the comparison statement.
bluezery [Fri, 25 Apr 2014 05:27:15 +0000 (14:27 +0900)]
edje: Remove build warnning by clang
Summary:
This can fix below warning:
bin/edje/edje_cc_handlers.c:9839:42: warning: equality comparison with
extraneous parentheses [-Wparentheses-equality]
Reviewers: raster, cedric, seoz
Reviewed By: seoz
CC: cedric
Differential Revision: https://phab.enlightenment.org/D792
Jean-Philippe Andre [Wed, 23 Apr 2014 09:08:36 +0000 (18:08 +0900)]
Evas TGV: Fix distortion of TGV images (ETC1)
Due to some invalid geometry considerations, there was a
1 pixel distortion in images, varying with the lz4 compressed
macro-block size.
Anyhow, I couldn't wrap my head around Cedric's code. So I rewrote
the whole thing instead, fixed it and improved the block size
selection (based on the image size, to optimize lz4 compression).
se.osadchy [Fri, 25 Apr 2014 02:09:35 +0000 (11:09 +0900)]
Edje/Edje_edit: corrected type of input parameter for offset value
Summary: Input type for offset value must be Integer in the "edje_edit_rel1(2)_offset_x(y)_set" functions
Reviewers: cedric, Hermet
CC: cedric, Hermet, raster
Differential Revision: https://phab.enlightenment.org/D562
Ryuan Choi [Fri, 25 Apr 2014 01:29:01 +0000 (10:29 +0900)]
Clear the values of pipe before calling handler.
Summary:
Applications are stuck when handler of pipe made nested loop.
In the nested loop, _ecore_pipe_read() tried to read new data based on previous information which is not cleared yet.
Spotted by gyuyoung.kim, sy302.park.
Related webkit bug is https://bugs.webkit.org/show_bug.cgi?id=129294
Reviewers: cedric, seoz, raster
CC: seoz, cedric
Differential Revision: https://phab.enlightenment.org/D790