Commit Graph

29964 Commits

Author SHA1 Message Date
Stefan Schmidt 079fcf29a3 ecore_con: Make sure the server.key and pem are distributed in the tarball
Pull them out of the if EFL_ENABLE_TESTS test as we need them to be put into
the tarball in all cases.
2015-04-07 13:19:34 +02:00
Cedric BAIL 0b4d525e59 evas: make all of Evas_Object_VG API part of BETA
As JP pointed out there is no point of having an API if the only way to use
it is through a BETA API.
2015-04-07 13:11:21 +02:00
Jean-Philippe Andre e9cd816839 ecore_evas_convert: Implement hacky solution for Ctrl+C
Problem: evas_object_image_save() can't be interrupted.
But, with ETC1/ETC2 encoding, it might be terribly long and
the user has no way to cancel encoding (except SIGKILL).

The proper solution would be to tell evas that the save
operation has been cancelled. And run that in a thread,
in a non-blocking way. I guess Efl.File.async could be
used for that, which means maybe also introduce
Efl.File.async_cancel? This will have to wait for
EFL 1.15 I'm afraid.

Note: edje_cc still can't be cancelled during ETC encoding.
2015-04-07 17:59:45 +09:00
Jean-Philippe Andre 18d5e04bb5 Emile image: Fix TGV (ETC1,2) loader
The error was not reset to NONE even in case of success.
2015-04-07 14:40:00 +09:00
Jean-Philippe Andre 05314902e0 Evas: Fix build for cserve2
This should fix a strange build error for gentoo, reported by Branko.
Dunno why it didn't fail with the default flags.
2015-04-07 14:10:33 +09:00
Jean-Philippe Andre 5bdcea59db Evas gl_x11: Fix runtime switching of GL window configurations
Test case:
- Elementary Test
-- GLView
--- Direct rendering

Direct rendering would never happen in reality, because Evas GL
had to fallback. The reason being that DR requires the window
to have a depth buffer, but this depth buffer was no present
in the default config.

From elm, the solution is to set a special accel_preference,
for instance "gl:depth". But setting this value right before
calling elm_win_add() for the GLView test was already too late.
Indeed, evas_x would keep the default configurations and reuse
them no matter what was requested (ie. only RGB and RGBA would
work).

Solution:
Implement a slightly more complex cache based on a hash map instead
of just two static variables. Always request a new config if it's
not found in the current hash. Store that config, and reuse it for
the same config requests.

Tons of line changes because of the name changes and the whitespace
adjustments. Also some variables disappeared into the magic hash table.
2015-04-07 14:10:33 +09:00
Jean-Philippe Andre 07e95f8003 eetpack: Fix shadow variable warning 2015-04-07 11:39:32 +09:00
Mike Blumenkrantz d0dcad1dda edje: allow empty part.desc.inherit; statements to autoinherit default desc
typing inherit: "default"; constantly is annoying and unnecessary.

@feature
2015-04-06 20:43:49 -04:00
Mike Blumenkrantz b8fe6d8cc7 edje: add part.desc.rel.{to,to_x,to_y} keywords
it was annoying to have to type two lines for setting parts relative to
each other, so now only one is needed

@feature
2015-04-06 20:43:49 -04:00
Bogdan Devichev 509304645a evas-3d: blending example uses spheres from primitives
Reviewers: Hermet, raster, cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2162
2015-04-07 09:17:24 +09:00
Bogdan Devichev 7fc3e1e3c2 evas-3d: fog example uses spheres from primitives
Reviewers: Hermet, raster, cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2166
2015-04-07 09:14:42 +09:00
Mike Blumenkrantz c3dc01ef32 edje: fix edje_mmap_color_class_iterator_new() iterator
not actually the same iterator as a certain frenchman originally wrote

 #cedric
2015-04-06 15:11:06 -04:00
Mike Blumenkrantz 052d27c9f1 edje: remove recalc when unswallowing objects
I can't test this as thoroughly as I'd like due to ref T2272, but
it appears that this calc was also unnecessary
2015-04-06 12:59:07 -04:00
Mike Blumenkrantz 42b46ca915 edje: add color_class.desc lazedc synonym
I hate typing.
2015-04-06 11:52:28 -04:00
Andrii Kroitor 9fdcecebe3 edje: fix program transition generation by Edje_Edit.
Summary:
fix possible CURRENT option omission (0-time transition + non-LINEAR
transition type. fix extra ';' for omitted 0-time LINEAR transition

Reviewers: cedric, seoz, raster, Hermet

Subscribers: cedric, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D2279

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-06 16:37:53 +02:00
Andrii Kroitor 0de1bde1ca edje: fix possible segfault in Edje_Edit _check_recursive_reference
Summary: if we don't force object loading ref can be NULL

Reviewers: seoz, raster, Hermet, Sergeant_Whitespace, cedric

Reviewed By: Sergeant_Whitespace, cedric

Subscribers: Sergeant_Whitespace, cedric, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D2274

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-06 16:37:53 +02:00
Cedric BAIL ae157734ff Added non-edc resource dependencies on .edc while dumping dependencies
Summary: Added code to include non-edc resource (image, sound, video etc) path in dep file while dumping include dependencies for edc files.

Reviewers: raster, cedric, Sergeant_Whitespace

Reviewed By: cedric, Sergeant_Whitespace

Subscribers: Sergeant_Whitespace

Projects: #efl

Maniphest Tasks: T2252

Differential Revision: https://phab.enlightenment.org/D2270
2015-04-06 16:37:53 +02:00
Srivardhan Hebbar 4b0e879591 ecore_con: Split ecore_con test suite from ecore.
Summary:
Have created ecore_con test suite.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric, Sergeant_Whitespace, stefan_schmidt

Subscribers: stefan_schmidt, Sergeant_Whitespace, cedric

Maniphest Tasks: T2235

Differential Revision: https://phab.enlightenment.org/D2269
2015-04-06 16:37:53 +02:00
perepelits.m 39432aa0f2 edje: add of textures to edje_cc (part 2).
Summary: Adding of wrap mode and filter of the given texture

Reviewers: raster, Hermet, Sergeant_Whitespace, cedric

Reviewed By: Sergeant_Whitespace, cedric

Subscribers: Sergeant_Whitespace, cedric, artem.popov

Differential Revision: https://phab.enlightenment.org/D2256

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-06 16:37:53 +02:00
kabeer khan 757c7c3f10 evas: add image_orient_set/get tests in evas tests suite.
Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2239

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-06 16:37:52 +02:00
Srivardhan Hebbar 3f35bc341a ecore_con: add tests case related to HTTP post and ftp upload.
Summary:
Made http and ftp url configurable via configure and also added test cases for ftp upload and http post.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: Sergeant_Whitespace, cedric

Subscribers: Sergeant_Whitespace, cedric

Differential Revision: https://phab.enlightenment.org/D2226

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-06 16:37:52 +02:00
ChunEon Park 7a6eb2ea42 evas/common: improve evas_common_convert_argb_unpremul() computation.
prev logic increased the alpha channel by 1 so the unpremul resulted in the color got too diff from the origin.

We can't avoid losing the rest values while dividing values in premul/unpremul()
but this will recover the value better closed to origin value.
2015-04-06 22:02:49 +09:00
Jean-Philippe Andre f419555cd8 Evas GL: Skip direct rendering check if the surface is indirect
Note: These checks are only for debugging.
2015-04-06 17:24:43 +09:00
Daekwang Ryu 29cb8aeb59 Evas GL: check EvasGL cache file version with micro version
Summary: check EvasGL cache file version with micro version

Reviewers: cedric, raster, jpeg, Sergeant_Whitespace

Reviewed By: Sergeant_Whitespace

Subscribers: Sergeant_Whitespace, cedric, wonsik, spacegrapher, mer.kim

Differential Revision: https://phab.enlightenment.org/D2188

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2015-04-06 16:32:49 +09:00
Jean-Philippe Andre cc36889d73 Efl.File: Add async property and async_wait() method
Summary:
Some other patches in elm will implement support for images.
async means fopen() will happen asynchronously in a thread.

Reviewers: cedric, raster, tasn

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2261
2015-04-06 15:58:55 +09:00
Bogdan Devichev f8f118f058 evas-3d: T2226 (Evas Eet saver does out of range access) fixed.
Summary:
texcoord now is 2D vector

@fix

Reviewers: cedric, Hermet, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2233
2015-04-06 14:13:30 +09:00
Oleksandr Shcherbina bc8dfbb1ef [evas/evas_3D] Billboard mechanism
Summary:
Add pointer to target billboard node in Evas_3D_Node
Skip set flags change orientation for billboard node
Add method node_billboard_update to use it for change orientation during traverse
by nodes
Split API evas_3d_node_look_at_set to have possibility change orientation of node
without set flags

Reviewers: cedric, Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2245
2015-04-06 14:10:28 +09:00
Bogdan Devichev 5a5322706e evas-3D: primitives: cylinder is standardized now (normalized and z is a axis of symmetry)
Summary: {F13942}

Test Plan: D2248 gives app for testing.

Reviewers: cedric, Hermet, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2250
2015-04-06 13:58:22 +09:00
Andrii Kroitor a30091ee93 edje_edit: add program action DRAG_* support to code generation
Reviewers: cedric, seoz, raster, reutskiy.v.v, Hermet

Reviewed By: Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2281
2015-04-06 13:52:28 +09:00
Andrii Kroitor e7d48d39ca edje_edit: fix box/table items source generation
Reviewers: cedric, seoz, raster, reutskiy.v.v, Hermet

Reviewed By: Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2282
2015-04-06 13:44:22 +09:00
Andrii Kroitor 77004c5154 edje_edit: fix STATE_SET and SIGNAL_EMIT generation
Summary:
edje_cc allows state, signal and source to be "". So edje_edit also should
handle this values as valid and souldn't break programs, that are using them.

Reviewers: cedric, seoz, raster, Hermet

Reviewed By: Hermet

Subscribers: cedric, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D2280
2015-04-06 13:40:27 +09:00
Andrii Kroitor 7bbb04d6fa edje_edit: add 'fixed' support to code generation
Reviewers: cedric, seoz, Hermet, raster, Sergeant_Whitespace

Reviewed By: Sergeant_Whitespace

Subscribers: Sergeant_Whitespace, cedric, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D2267
2015-04-06 13:24:40 +09:00
Bogdan Devichev 8c350554de evas-3d: parallax-occlusion example is fixed.
Summary: wrong pathes to resources are fixed

Reviewers: cedric, Hermet, raster, Sergeant_Whitespace

Reviewed By: Sergeant_Whitespace

Subscribers: Sergeant_Whitespace, Ievgen, cedric

Differential Revision: https://phab.enlightenment.org/D2235
2015-04-06 11:01:14 +09:00
Bogdan Devichev 7f128ec8d2 evas-3D: primitives: cone is standardized now (normalized and z is an axis of symmetry)
Summary: {F13944}

Test Plan: D2248 gives app for testing.

Reviewers: cedric, Hermet, raster, Sergeant_Whitespace

Reviewed By: Sergeant_Whitespace

Subscribers: Sergeant_Whitespace, cedric

Differential Revision: https://phab.enlightenment.org/D2251
2015-04-06 10:58:28 +09:00
Oleksandr Shcherbina e2f11bf4cb Revert "Evas 3D: Fix shadow map shader"
Summary:
This reverts commit 4af7a947a6.
There is more convenient way remove noise in vector gl_Fragcolor at shadow_map
shader, because current decision lead to useless issue with shadow effect.
Need just add default initialize at the begining in shader file smth like that
gl_FragColor = vec4(1);
I suppose do that after this patch.

Reviewers: cedric, raster, Hermet

Reviewed By: Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2290
2015-04-06 10:45:42 +09:00
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