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
Daniel Zaoui [Thu, 24 Apr 2014 13:51:04 +0000 (16:51 +0300)]
Eolian: Remove support of legacy into implement section.
It has been decided that this support is not needed.
Daniel Zaoui [Thu, 24 Apr 2014 13:30:40 +0000 (16:30 +0300)]
Eolian: Removal of the support for custom destructors.
For no reason, I added it a long time ago.
Daniel Zaoui [Thu, 24 Apr 2014 12:43:37 +0000 (15:43 +0300)]
Eolian/Tests: add test for ctors and dtors.
Daniel Zaoui [Thu, 24 Apr 2014 11:17:47 +0000 (14:17 +0300)]
TextBlock: fix porting to Eolian.
evas_object_text_clear was no more defined in the headers. Since the
function code is not generated by Eolian, the declaration in the headers
has to be done manually too.
Daniel Zaoui [Thu, 24 Apr 2014 11:07:18 +0000 (14:07 +0300)]
Eolian/Tests: Clean makefile + add return comment tests.
Wonguk Jeong [Thu, 24 Apr 2014 09:10:10 +0000 (18:10 +0900)]
emotion: play set before file open callback bug fix
Summary:
Before "open_done" callback, play unset is ineffective.
is it intentional logic?
if we set play and unset play again before "open_done" callback, the video will be played.
@fix
Reviewers: raster, cedric
CC: seoz, cedric
Differential Revision: https://phab.enlightenment.org/D786
Daniel Zaoui [Wed, 23 Apr 2014 13:26:15 +0000 (16:26 +0300)]
Eolian: Remove useless functions.
Default ctor/dtor are considered as implemented functions and no more as
special functions.
Mike Blumenkrantz [Wed, 23 Apr 2014 13:27:31 +0000 (09:27 -0400)]
revert edje ellipsis doc changes
if we're reverting functional changes, then it's probably a good idea to revert the accompanying documentation
Yossi Kantor [Thu, 3 Apr 2014 15:15:14 +0000 (18:15 +0300)]
Eolian: Legacy integration of Evas class
Yossi Kantor [Thu, 3 Apr 2014 12:14:46 +0000 (15:14 +0300)]
Eolian: Legacy integration of Evas Box and Evas Out
Yossi Kantor [Thu, 3 Apr 2014 11:07:33 +0000 (14:07 +0300)]
Eolian: Legacy integration of Evas Image
Yossi Kantor [Wed, 2 Apr 2014 14:53:53 +0000 (17:53 +0300)]
Eolian: Legacy integration of Evas Grid
Yossi Kantor [Wed, 2 Apr 2014 13:15:28 +0000 (16:15 +0300)]
Eolian: Legacy integration of Evas Object
Yossi Kantor [Wed, 2 Apr 2014 10:46:36 +0000 (13:46 +0300)]
Eolian: Legacy integration of Evas Common Interface
Yossi Kantor [Wed, 2 Apr 2014 07:27:36 +0000 (10:27 +0300)]
Eolian: Legacy partial integration of Evas Smart
Daniel Zaoui [Wed, 23 Apr 2014 12:54:12 +0000 (15:54 +0300)]
Eolian: Fix distcheck
scope.eo was not included in EXTRA_DIST.
Yossi Kantor [Mon, 7 Apr 2014 08:28:53 +0000 (11:28 +0300)]
Eolian: Legacy integration of Ecore
Yossi Kantor [Sun, 6 Apr 2014 10:42:36 +0000 (13:42 +0300)]
Eolian: Legacy integration of Edje
Carsten Haitzler (Rasterman) [Wed, 23 Apr 2014 10:57:15 +0000 (19:57 +0900)]
partly revert mike's ellipsis changes as they break edje
partly revert
adcc32329128b13fda47405a896319c7c96ea85f as the default
ellipsis value was 0 as per the document, and must stay, as changing
this breaks edc descirptions as now text is no longer ellipsised by
default. this ACTUALLY broke titlebars on the default theme - just
have a title that is too long and see how it no longer goes:
This is a title he...
it instead covers the screen for as long as the title is.
if you want -1 for ellipsis... then set it. :)
Daniel Zaoui [Wed, 23 Apr 2014 08:23:39 +0000 (11:23 +0300)]
Eo: adapt benchmarks to Eo2.
Yossi Kantor [Thu, 10 Apr 2014 08:44:27 +0000 (11:44 +0300)]
Eolian: Space after const missing in function parameters of legacy header
Daniel Zaoui [Wed, 23 Apr 2014 05:55:15 +0000 (08:55 +0300)]
Eolian/Generator: support --eo.
--eo1 is still supported but it will be removed soon.
Daniel Zaoui [Tue, 22 Apr 2014 15:39:38 +0000 (18:39 +0300)]
Eo: adapt examples to Eo2.
It includes Eo and Evas porting to Eo2.
Mike Blumenkrantz [Wed, 23 Apr 2014 00:18:46 +0000 (20:18 -0400)]
edje: the ellipsis fuckup preservation commit.
what a huge, colossal cock-up of a clusterfuck. it's a good thing nobody ever uses ellipses or edje. otherwise we'd probably get complaints about this kind of thing.
Mike Blumenkrantz [Tue, 22 Apr 2014 23:17:13 +0000 (19:17 -0400)]
edje now correctly forces ellipsis setting on text parts
this should always be applied, not just when min_x isn't set; failure to do so causes erroneous ellipsizing in some cases where it should be explicitly prohibited
@fix
Jérémy Zurcher [Tue, 22 Apr 2014 18:31:11 +0000 (20:31 +0200)]
Eolian: add methods and properties scope support tests
Jérémy Zurcher [Tue, 22 Apr 2014 18:24:27 +0000 (20:24 +0200)]
Eolian: fix properties and methods scope support
define scope keywords 'protected' and 'public'
disallow scope keywords as property or method name
use move_ts action to move token start after scope modifier if found
use end_property_scope and end_method_scope actions to handle it
Carsten Haitzler (Rasterman) [Tue, 22 Apr 2014 11:22:35 +0000 (20:22 +0900)]
improve eo call stack
it now does up to 8192 entries and madvise unused upper pages when
dropping. also delay dropping to avoi too many syscalls
Jean-Philippe Andre [Tue, 22 Apr 2014 10:53:55 +0000 (19:53 +0900)]
Evas gl: Don't swap RGBA colors with ETC1
Since rg_etc1 now outputs proper BGRA data, the shaders should not
swizzle the colors around. Stick to the normal fragment shaders.
Note: This is not tested.
Carsten Haitzler (Rasterman) [Tue, 22 Apr 2014 10:17:26 +0000 (19:17 +0900)]
eo - callstack. realloc is a bad idea. use mmap and keep addr fixed
this fixes and eo2 problem where when callstack grows (or shrinks)
and realloc nas to relocate memory, the frame ptrs like fptr become
invalid and all sorts of hell ensues.
this uses mmap so blowing the stack will segv, not scribble over
memory, also its separated from malloc heap, and now big enough to not
need to size ... ever (1024 entries).
Jean-Philippe Andre [Tue, 22 Apr 2014 02:52:53 +0000 (11:52 +0900)]
rg_etc1: Fix RGBA vs BGRA mishandling of the ETC1 codec
Evas uses BGRA data while rg_etc1 uses RGBA data, so there
were incompatibilities between the two.
Now, rg_etc1 will take BGRA data as input and output.
Jean-Philippe Andre [Tue, 22 Apr 2014 08:12:02 +0000 (17:12 +0900)]
Evas gl_x11: Fix abort() in evas_object_image_data_get()
Since the introduction of new colorspaces for GL_X11
(GRY8, AGRY88 and ETC1), stride_get() would return
an invalid value and data_get() would just abort().
Add proper support for these functions.
ETC1 data will NOT be returned from data_get() and
stride_get() will return 0. This is to avoid people from
messing up badly with encoded color spaces.
Daniel Zaoui [Mon, 21 Apr 2014 14:02:36 +0000 (17:02 +0300)]
Eo: Add tests dir to .gitignore
Daniel Zaoui [Mon, 21 Apr 2014 06:36:44 +0000 (09:36 +0300)]
Eolian: infras for tests + first test
Jean-Philippe Andre [Tue, 22 Apr 2014 03:41:07 +0000 (12:41 +0900)]
Ecore: Fix compilation warnings
When HAVVE_LIBTS is not defined, we have 3 unused variable warnings.
Fix that.
Jean-Philippe Andre [Mon, 21 Apr 2014 02:41:28 +0000 (11:41 +0900)]
rg_etc1: Disable code producing artifacts
So I must have been a bit tired last Friday when "fixing" some
code producing artifacts, as I was just basically disabling part
of the code without realizing it :)
Let's just disable it then.
Mike Blumenkrantz [Mon, 21 Apr 2014 14:04:31 +0000 (10:04 -0400)]
edje now alerts the user to its failure when running recursive embryo programs
Mike Blumenkrantz [Mon, 21 Apr 2014 03:32:08 +0000 (23:32 -0400)]
typo from edje program info commit
Mike Blumenkrantz [Mon, 21 Apr 2014 03:30:13 +0000 (23:30 -0400)]
edje programs now provide slightly more verbose errors when disabling due to recursion limits
Wonguk Jeong [Sun, 20 Apr 2014 13:58:47 +0000 (09:58 -0400)]
emotion: fix triggering condition of fallback module loading
@fix
Summary:
In emotion_engine_instance_new(), if given module name is wrong or if loding is failed, fallback module loading should be triggered.a (previously, it check just whether name is NULL or not)
In case of T1025, "vlc" was given name. Therefore, fallback was not triggered.
Fixes T1025
Test Plan: enlightenment -> efm -> mouse over multimedia files -> check whether preview is shown properly or not
Reviewers: raster, cedric
CC: seoz, cedric, zmike
Maniphest Tasks: T1025
Differential Revision: https://phab.enlightenment.org/D773
Jean-Philippe Andre [Fri, 18 Apr 2014 10:02:28 +0000 (19:02 +0900)]
ecore_evas_convert: Fix default quality setting
Quality should not default to 100 unless specified in the
command line. In particular, we don't want to save ETC1 at
high quality by default since it can take hours (literally).
Jean-Philippe Andre [Fri, 18 Apr 2014 09:17:57 +0000 (18:17 +0900)]
rg_etc1: Fix rare artifacts + add comments
Add some comments as I'm reading and understanding the code.
Fix some rare artifacts happening mostly with medium quality
encoding, where a few pixels (2x2, 2x4 or 4x2) will have a
horrible contrast with their surroundings (eg. pink over black).
Jean-Philippe Andre [Fri, 18 Apr 2014 09:32:20 +0000 (18:32 +0900)]
Evas: Add comments to the TGV saver (FIXME)
The block size has a visual effect. This is obviously a bug.
Jean-Philippe Andre [Fri, 18 Apr 2014 07:39:37 +0000 (16:39 +0900)]
Edje: Use LOSSY_ETC1 instead of LOSSY
Add a new flag in EDC files to specify ETC1 compression
should be enabled. It follows the same rules as the
current LOSSY flag for JPEG compression.
@feature
Jean-Philippe Andre [Fri, 18 Apr 2014 06:31:43 +0000 (15:31 +0900)]
rg_etc1: Fix encoding of solid color blocks
The ETC1 encoder is expected to write all 8 bytes of the
output data. But in case of a solid color block, it was writing
only 1 of the first 3 bytes (R, G, B). So lots of solid blocks
were containing invalid data (for instance: R + dR < 0 or > 255).
Jean-Philippe Andre [Fri, 18 Apr 2014 04:12:03 +0000 (13:12 +0900)]
Edje: Fix ETC1 encoding with EET and Edje
There were a few critical issues:
- Invalid pointer arithmetics on the input data (char vs. int)
- Invalid logic in the pixel duplication code
All of these due to bad copy and paste :(
Also, use LZ4HC instead of LZ4 when compression is enabled.
ETC1 encoding is so damn slow you won't see the difference between
LZ4 and LZ4HC compression times.
Jean-Philippe Andre [Thu, 17 Apr 2014 10:04:31 +0000 (19:04 +0900)]
Edje: Add support for ETC1 encoding
Edje will compress images as ETC1 provided that they don't
contain any alpha AND the command line includes -etc1.
Jean-Philippe Andre [Thu, 17 Apr 2014 10:03:19 +0000 (19:03 +0900)]
Eet: Use medium quality for ETC1 by default
And remove dithering.
This is the same as
07700a799ce759
Daniel Zaoui [Fri, 18 Apr 2014 06:21:35 +0000 (09:21 +0300)]
Eolian/Lexer: Fix coverity issues.
Fix CID 1203411
Fix CID 1203412
Daniel Zaoui [Fri, 18 Apr 2014 06:01:37 +0000 (09:01 +0300)]
Eolian/Generator: Fix coverity issues.
Fix CID 1203409
Fix CID 1203410
Daniel Zaoui [Thu, 17 Apr 2014 14:07:23 +0000 (17:07 +0300)]
Eolian/Lexer: fix when function name is composed of only one letter.
Cedric Bail [Thu, 17 Apr 2014 19:29:31 +0000 (21:29 +0200)]
edje: let's call this function before returning.
CID 1194718.
Cedric Bail [Thu, 17 Apr 2014 19:26:57 +0000 (21:26 +0200)]
rg_etc: check against meaningful size (pointer size is not)
CID 1195440.
Cedric Bail [Thu, 17 Apr 2014 19:21:54 +0000 (21:21 +0200)]
evas: let's check fwrite work as expected.
CID 1195441.
Cedric Bail [Thu, 17 Apr 2014 19:18:32 +0000 (21:18 +0200)]
evas: fix TGV loader to not leak ressource.
CID 1195443.
Cedric Bail [Thu, 17 Apr 2014 19:16:12 +0000 (21:16 +0200)]
ecore_evas: avoid using non initialized value for cursor position in X backend.
CID 1195445.
Cedric Bail [Thu, 17 Apr 2014 19:10:34 +0000 (21:10 +0200)]
eo: do not risk dereferencing NULL.
CID 1199563.
Felipe Magno de Almeida [Thu, 17 Apr 2014 19:08:43 +0000 (21:08 +0200)]
ecore: Fixed se of EINA_MAIN_LOOP_CHECK_RETURN macros with functions with return types
Summary:
Changed uses of EINA_MAIN_LOOP_CHECK_RETURN for EINA_MAIN_LOOP_CHECK_RETURN_VAL
for functions that doesn't have void return types.
These only error out when compiling with --with-profile=debug
@fixed
Reviewers: raster, cedric, smohanty
CC: cedric
Differential Revision: https://phab.enlightenment.org/D765