Commit Graph

26975 Commits

Author SHA1 Message Date
Daniel Kolesa 23761ed627 edje_cc_handlers: fix coverity defects
Fixes CID 1193224, 1193225, 1193226, 1193227, 1193230 (resource leak)
2014-08-04 10:26:06 +01:00
Daniel Kolesa 91bf465d52 eolian/generator: coverity fix
Fixes CID 1229130 (ignoring number of bytes read)
2014-08-04 09:59:36 +01:00
bluezery 8f30d8a949 Eina: Change from "" to <> for header inclusion
Summary:
All eina_xxx.h are expored headers.
Using system path to search eina headers seems to be better.

Reviewers: raster, stefan_schmidt, stefan, cedric

Subscribers: stefan_schmidt, cedric

Differential Revision: https://phab.enlightenment.org/D1079
2014-08-02 21:10:37 +02:00
Carsten Haitzler 38bed2cd8a fix warning about unused var 2014-08-02 22:54:23 +09:00
Carsten Haitzler 8296470e36 ecore-evas - fix continual wakeups with unchanged canvases
this fixes a nasty bug where ecore-evas forces mainloop spins all the
time due to trying to align rendraws to animator boundaries. this
requires an extra evas feature to work that i just put in.

@fix
2014-08-02 13:16:27 +09:00
Carsten Haitzler 2b3998cced add evas changed get in order to help fix ecore-evas bug
this does add an api, but it is to fix another bug in ecore-evas
2014-08-02 13:15:59 +09:00
Carsten Haitzler 812494ca58 ecore-x vsync tool. fix multi-client handling so ticking continues
a mistaking in using the wrong tick var caused ticking to stop when a
client that is ticking exits while another ticks. this fixes it.
2014-08-02 13:15:14 +09:00
Carsten Haitzler aad0192a89 clean vsync code - use do+while not goto. 2014-08-02 12:54:34 +09:00
Carsten Haitzler b0d4793d6f ecore-x-vsync - rearragnge to move vsync event input to thread
this uses a thread to collect vsync input events and filter them
before forwarding them to the mainloop (as a double timestamp). this
means wakeups only happen for the actual vsync and thus animator and
not for other screens we are filtering out anyway. this should fix the
continual animator wakeups that happen if you have a dri/drm based
driver and > 1 screen.
2014-08-02 12:03:35 +09:00
Stefan Schmidt 87311806c9 build: Bring coverage back to a working state
With commit 6030b9de79 the internal name EFL
name was changed to EFLALL but the needed CFLAGS and LDFLAGS for coverage
have not been adjusted. Thus it was simply no longer producing the gcda
files needed by lcov.

All back now and it shows an amazing jump in our coverage to:
Overall coverage rate:
  lines......: 31.6% (45827 of 144975 lines)
  functions..: 41.1% (5620 of 13684 functions)
2014-08-01 23:59:48 +02:00
MinJeong Kim 43c9e896a7 build/drm: Fix missing ecore-drm for evas_drm engine
Summary:
With removing of pkgconfig checking on EVAS_CHECK_ENGINE for drm,
evas_drm engine need to setup libs including internal ecore-drm.
But, the evas_drm engine have missed ecore-drm libs because it have been
done after finishing setup library of evas.

This revision moves setup dependendency for ecore-drm into proper place.

Test Plan:
1. Build EFL with --enable-drm
2. ELM_ENGINE=drm E_WL_FORCE=wayland_shm enlightement_start

Reviewers: gwanglim, devilhorns, stefan_schmidt

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1249
2014-08-01 14:25:52 +02:00
Carsten Haitzler 0e330cfbe4 fix wakeups to not happen for now until i fix vsync 2014-08-01 19:00:18 +09:00
Stefan Schmidt d788ee9e32 release: Update NEWS and bump version for 1.11.0-alpha1 release 2014-08-01 10:40:46 +02:00
Carsten Haitzler e54ec867e9 ecore-x vsync nvidia glx tool - handle clients disabling first then enabling 2014-08-01 09:33:16 +09:00
Carsten Haitzler aa6e9c2968 ecore animator - this fixes suspended animators still waking up
@fix

this fixes a long standing issue where a suspended animator still is
waking up as originally suspended animators were expected to hang out
for a small time. as e's comp uses a suspended animator, this is a
problem as it causes continual wakupes every single frame (60hz or so)
with this suspended animator. this fixes that and accounts for
suspended animators with tick begin/end
2014-08-01 09:31:18 +09:00
Carsten Haitzler 6e7b42111f ecore_x - vsync nvidia/glx service fix so it connects 1st not 2nd time 2014-08-01 08:47:06 +09:00
Carsten Haitzler 570c1f9692 ecore_x_vsync - protect against silly clients asking for vsync lots
this allows a client to ask multiple times and have to release the
same number of times for vsync events to stop. covers possible misuse
2014-07-31 23:16:40 +09:00
Daniel Kolesa c7215e7653 autotools: fix distcheck by removing Makevars in proper stage 2014-07-31 14:26:52 +01:00
Cedric BAIL df06ec9cf3 autotools: po/Makevars is generated by configure, not Makefile.
If you did do a make clean, then you couldn't do a make afterward. Reason
was that po/Makevars is generated by configure and not Makefile. So it can
only be cleaned with make distclean and not make clean.
2014-07-31 12:03:58 +02:00
Stefan Schmidt c30e14c708 tests/eolian_cxx: Package callback.eo file into tarball in all cases.
When running make distcheck with release mode enabled the callback.eo
file did not find its way into the tarball and failed the build.
2014-07-31 11:21:20 +02:00
Thiep Ha e3f68561b3 ecore_evas_extn: fix wrong plug image display after connect
Summary:
Plug image is displayed incorrect after connect to socket.

Test case: Run ecore_evas_extn_socket_example -> run ecore_evas_extn_plug_example -> click Change bg to change bg color.
Run 2nd ecore_evas_extn_plug_example. The plug area image of 2nd plug is incorrect display (different with 1st plug image).
Reason: When a plug connects to socket, socket sends incorrect buffer information.
Fix: Change buffer information.

@fix

Reviewers: Hermet, huchi

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1232
2014-07-31 05:28:42 +02:00
Savio Sena 1d271ed1bc autotools: Fix eolian_cxx tests.
Added callback.eo.c and callback.eo.h as dependencies to
eolian_cxx_test_callback.c and also added all generated files to CLEANFILES.
2014-07-30 23:07:43 -03:00
Carsten Haitzler b00e964ae6 fix build dep problem with ecore-x 2014-07-31 10:47:05 +09:00
Carsten Haitzler 4d8dcab8f0 Revert "tests/eolian_cxx: Add another generated file to BUILT_SOURCES"
This reverts commit 577a6bfbba.

This brings efl back to building - it entirely stopped building for me
with this change so even if this tried to fix something... it made
just regular building of efl at all cease to work here which i'd say
is bad (if this just fixes a dist problem - at least dist is broken,
but regular build is not - we are in better shape).
2014-07-30 21:40:16 +09:00
Carsten Haitzler beb7e6e611 evas - gl-x11 - extensions - be more specific about video_sync extn
this should avoid false-positive detection for this extension - other
extensions share string content
2014-07-30 21:40:16 +09:00
Daniel Kolesa 444b62c51c eolian: fix: remove unused function 2014-07-30 13:33:52 +01:00
Stefan Schmidt 577a6bfbba tests/eolian_cxx: Add another generated file to BUILT_SOURCES
If not put into BUILT_SOURCES it will not be added to CLEANFILES
and thus staying around as uncleaned file which make distcheck
complain about it.
2014-07-30 10:53:15 +02:00
Stefan Schmidt 089bd6f9b3 build: Clean Makevar now that we generate one on our own
Since we generate our own Makevar for the po subdir we also need to clean
it up. If not distcheck complains about uncleaned files.
2014-07-30 09:23:15 +02:00
Cedric BAIL ca2e2af522 ecore_evas_extn: do not double close fd in case of memory starvation.
In case eina_stringshare_add was failing it could lead to a double close
on lockfd. This was reported by coverity: CID1039885

@fix
2014-07-30 03:47:31 +02:00
Cedric BAIL 048d52f086 autotools: shutup stupid warning. 2014-07-30 03:42:04 +02:00
Tom Hacohen 8daba1c909 Eldbus C++: Don't generate C++ bindings when C++ is disabled. 2014-07-30 02:21:18 +01:00
Carsten Haitzler 2be17655fa fix vsync display env var handling to be right 2014-07-30 08:38:21 +09:00
Chris Michael aea57d7a8e evas-wayland-shm: Free allocated rectangle after sending damages
We allocate a new eina_rectangle here, but we never free it after
sending damages to the surface.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-07-29 17:45:24 -04:00
Stefan Schmidt 9b4b35eec4 build: Make sure xgettext_wrapper.sh gets packaged into the tarball
We need this in the tarball when not running from git. Also fixes
make distcheck.
2014-07-29 21:09:16 +02:00
Stefan Schmidt 67df734ead evas/engine_gl_generic: Make sure we epend on the needed header for compiling.
Fixup for a3a15b1986 which removed the header
from installation. We need to have it in SOURCES now during distcheck.
2014-07-29 17:05:30 +02:00
Stefan Schmidt 21da4a5454 Revert "configure.ac: generate Makevars in the correct directory even with out-of-tree build"
This reverts commit dd37d2bc07.

This breaks make distcheck. Looking at this commit I really wonder if it does
anything good. It seems to work for po_makefile_in. It also breaks for
distcheck which is using out of tree builds in the _build folder.

If someone can explain me why something like this is needed for makevars I
want to hear it. getting a fix in that does not break distcheck would be fine
I guess.
2014-07-29 16:34:09 +02:00
Carsten Haitzler 0010159fe7 ecore-x-vsync - oops - fixed, but debug paths left in - remove.. 2014-07-29 23:22:06 +09:00
Carsten Haitzler acf4e67420 ecore-x-vsync - found issue when vt switchign with nvidia - workaround 2014-07-29 23:19:52 +09:00
Carsten Haitzler ad176286d2 fix parallel build for ecore_x_vsync tool 2014-07-29 21:34:39 +09:00
Carsten Haitzler aaefbaa43e ecore_x - vsync fix drm support to work again
due to mesa changes to hide dri2 symbols, i have had to work on a fix
that makes this work again by going right to drm. now it works and
animators shoudl be vsynced on drm drivers if possible (only 1 card -
use card 0). already existing nvidia solution that uses a lot more
memory is there. others - no support. timers only
2014-07-29 20:02:33 +09:00
Tom Hacohen a3a15b1986 Evas GL Generic: Don't install an internal header.
I'm not 100% sure this header is internal, but it depends on internal
headers, so it should either be internal or massively re-worked.
Anyhow, it has no business being installed until the includes are
fixed.
2014-07-29 10:06:33 +01:00
Daniel Kolesa 5a603c00b6 eolian: remove irrelevant comments
This functionality was already done previously.
2014-07-29 10:05:06 +01:00
perepelits.m 0ea04a4870 [Evas\evas-3d\example] Add example of 3d-shooter
Reviewers: cedric, raster, Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1215
2014-07-29 17:23:54 +09:00
Wonguk Jeong 171d9bc135 ecore: fix example build fail (ecore_compose_get_example) 2014-07-29 02:11:17 +02:00
Carsten Haitzler 2d63a70422 ecore x vsync animator support - add a glx based vsync ticker
this adds a slave process that is useful on nvidia drivers as there
isn't another way to get vsync evenys (that i know about). i need to
make another slave process to that includes a dri2 protocol
implementation since mesa has now hidden its dri2 symbols.
2014-07-28 23:00:34 +09:00
Mike Blumenkrantz 89d0e9f033 add simple ecore_con_url test suite 2014-07-28 09:48:18 -04:00
Mike Blumenkrantz 9c5d565d2b call ecore_init() for ecore_con_url_init()
ecore functions are used by this api, so ecore must be initialized
2014-07-28 09:48:18 -04:00
Mike Blumenkrantz 662c726652 remove unnecessary header include from ecore-con test 2014-07-28 09:48:18 -04:00
Daniel Kolesa 5cc18bfd5a eolian: fix: remove leftover keywords 2014-07-28 11:57:37 +01:00
Daniel Kolesa 64c2b292ba eolian: preliminary eo file support for builtin true/false/null
Real API will use the new expression system, but that won't get into 1.11.
2014-07-28 10:16:15 +01:00