Commit Graph

38 Commits

Author SHA1 Message Date
Elyes HAOUAS 1fd0435f21 Get rid of trailing whitespaces (4 / 14)
Remove trailing whitespaces
Differential Revision: https://phab.enlightenment.org/D12002
2020-06-23 10:29:14 +02:00
Marcel Hollerbach 8e3606698e refactor build
libraries are split into deps, external deps, and pub deps.
Evas engines are refactored to use the predefined engine deps.

this is preparation work for efl-one.

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11806
2020-05-27 11:06:46 +02:00
Stefan Schmidt b135341961 lib: add more c_args handling for places we missed before
These meson files did not have the c_args handling before. Make sure we
use package_c_args here as well.

Reviewed-by: Vincent Torri <vincent.torri@gmail.com>
Reviewed-by: João Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D11860
2020-05-26 10:15:27 +02:00
Christopher Michael e676c989d1 ecore_fb: Add missing tslib dependency
If EFL is built with tslib support, which is used by ecore_fb, then we
need to add a dependency on tslib else the build will fail to compile
(undefined reference to ts_open function).
2019-01-11 09:20:07 -05:00
Marcel Hollerbach 46d464e5bf here comes meson
a new shiny buildtool that currently completes in the total of ~ 4 min..
1 min. conf time
2:30 min. build time
Where autotools takes:
1:50 min. conf time
3:40 min. build time.

meson was taken because it went quite good for enlightenment, and is a traction gaining system that is also used by other mayor projects. Additionally, the DSL that is defined my meson makes the configuration of the builds a lot easier to read.

Further informations can be gathered from the README.meson

Right now, bindings & windows support are missing.

It is highly recommented to use meson 0.48 due to optimizations in meson
that reduced the time the meson call would need.

Co-authored-by: Mike Blumenkrantz <zmike@samsung.com>

Differential Revision: https://phab.enlightenment.org/D7012
Depends on D7011
2018-10-02 17:22:50 +02:00
Yeongjong Lee 02d83ebcd4 docs: Fix typos in API reference doc and comments.
Reviewers: Hermet, segfaultxavi

Reviewed By: Hermet, segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6948
2018-08-31 17:45:31 +09:00
junsu choi 0f06f222ba ecore_fb: fix divided by zero
Summary:
w and h must not be zero.
because of the divide_by_zero exception occurs on line 649 and 653.

Test Plan: N/A

Reviewers: woohyun, kimcinoo, cedric

Subscribers: cedric

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

Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
2018-04-09 10:36:43 -07:00
Jiyoun Park 1ee59694ec ecore_fb_li: add error handling code related with calloc 2017-08-09 11:10:20 +09:00
Carsten Haitzler 5c431b14de evas fb dev env var - allow in setuid processes with sanitizing
this allows only /dev/fb[0-0] or /dev/fb/something where somthing does
not begin with a . - thus no way to break out of the fb subdir... so
it should be ok... this keeps setuid safety and allows this env var to
work now as intended in this situation.
2017-02-09 18:38:28 +09:00
Cedric BAIL 8f1c071d6a eina: rename EINA_{FLT,DBL}_CMP to EINA_{FLT,DBL}_EQ. 2017-01-06 15:58:46 -08:00
Gustavo Sverzut Barbieri 5e006baacf ecore_fb: allow ecore_fb to not setup VT.
Some systems won't allow VT to be setup due permissions to KDSETMODE
to KD_GRAPHICS.

Introduce $ECORE_FB_NO_VT envvar to allow skip that setup.
2017-01-03 12:44:54 -02:00
Gustavo Sverzut Barbieri 806be7adc0 ecore_fb_init(): use 'name' parameter similar to ecore_evas_fb_new().
Instead of assuming /dev/fb/0 or /dev/fb0, use the given 'name'
parameter in a similar way to ecore_evas_fb_new(): a number to be
parsed with 'strtoul()'.

Without this calling ecore_evas_fb_new() or ecore_evas_new() with
'display=1' will produce incorrect results.

@fix
2017-01-03 12:44:54 -02:00
Chris Michael 87c085688d ecore-fb: remove float comparison warnings for ecore_fb_li
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-12-20 10:30:04 -05:00
Chidambar Zinnoury 2bd5259d6c ecore fb: Add the following sixteen known keys to the list. 2016-11-18 17:51:16 +01:00
Chidambar Zinnoury 4c35f0ab02 ecore fb: Use the “Compose” name for the 0x7f key. 2016-11-18 17:51:16 +01:00
Chidambar Zinnoury a42d2fef69 ecore fb: Use a default tslib device when none is specified through the environment variable TSLIB_TSDEVICE.
It seems that tslib’s applications has been using /dev/input/event0 as default device for more than a decade. Let’s use the same one.
2015-10-28 17:17:54 +01:00
Chidambar Zinnoury 1ce89485d3 Revert “ecore fb: Change default tslib device.”
This reverts commit d1f863b272.

 My test script was wrong, thus the test for this commit being a pass while it shouldn’t.

 Moral: don’t code when you crave some sleep.
2015-10-28 17:14:59 +01:00
Chidambar Zinnoury d1f863b272 ecore fb: Change default tslib device.
It seems that tslib has been using /dev/input/event0 as default device for more than a decade. Let’s align.
2015-10-27 17:02:11 +01:00
Chidambar Zinnoury 9d3bc82d08 ecore fb: Unbreak ecore_evas_fb.
The ecore_evas_fb module uses ecore_fb_ts_* functions which are only available to EFL internals and not for the general API.

 However, EAPI not being defined in ecore_fb_private.h made the symbols not being exported at all, which in return made execution-time linking not finding them and thus failing.
2015-10-20 18:58:18 +02:00
Chidambar Zinnoury 90aa3b13ed ecore fb: We shall look for the Ecore_Fb.h header only where needed. 2015-10-20 18:56:47 +02:00
Cedric BAIL ce5ccfb5be ecore: remove the need to order the header correctly for Windows. 2015-05-07 09:53:10 +02:00
Olivier Guiter 86aa034379 core_fb: Fix crash on tablet with removable kbd
On tablet with removable keyboard (e.g.: T100), as the FB support
in ecore is very limited, the lib crashes when you remove the kbd.
This patch disabled gracefully a "not anymore present" keyboard...

Signed-off-by: Olivier Guiter <olivier.guiter@linux.intel.com>
2014-06-30 19:55:40 -03:00
Jean-Philippe Andre 81fbd0e262 Ecore: Fix compilation warnings
When HAVVE_LIBTS is not defined, we have 3 unused variable warnings.
Fix that.
2014-04-22 12:41:07 +09:00
Carsten Haitzler 76aa21ac0c ecore-fb - fix mouse wheel to not be inverted 2014-03-28 23:03:02 +09:00
John Magolske cc645d1edb ecore-fb - also actually make escape work 2014-03-28 17:19:11 +09:00
John Magolske 71a9b7f5e9 fix ecore_fb handling of escape and alt
as per mail to enlightenment-users@lists.sourceforge.net by:

John Magolske <listmail@b79.net>
Date: Fri, 28 Mar 2014 01:03:40 -0700
2014-03-28 17:16:24 +09:00
Gustavo Sverzut Barbieri 78a9830a40 ecore_fb: @fix use of uninitialized values reported by valgrind. 2014-03-06 11:19:13 -03:00
Carsten Haitzler e8c13118eb fix mingw build for setuid fix/checks 2014-01-08 22:06:41 +09:00
Carsten Haitzler b95ef3801f setuid safeness - ensure if an app that is setuid doesn't do bad things
this makes efl ignore certain env vars for thnigs and entirely removes
user modules (that no one ever used) etc. etc. to ensure that *IF* an
app is setuid, there isn't a priv escalation path that is easy.
2014-01-08 19:46:23 +09:00
Carsten Haitzler 753c359e61 ecore_fb - fix fb size get to use evas env vars for fb device
this makes evas ane ecore_fb agree on how to address the fb device.
this fixes terminology in fb on optimus (dual gpu) setups where you may
have to declare the exact fb to use (there are 2 of them, not just
fb0) and makes things consistent at least. this also should fix T253
2013-11-17 12:07:46 +09:00
Chris Michael cf859cfacc Fix horrid formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-15 13:40:50 +01:00
Chris Michael 7c6e4a2339 Fix doxy typo
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-15 13:38:44 +01:00
Chris Michael 961c8c8684 Remove blank line
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-15 13:38:44 +01:00
ChunEon Park 7f45507e62 ecore/ecore_fb - missed move call?
SVN revision: 82438
2013-01-09 08:22:05 +00:00
Gustavo Sverzut Barbieri 7abf31c882 efl/ecore_fb: remove deprecated files.
SVN revision: 82240
2013-01-04 20:44:19 +00:00
Gustavo Sverzut Barbieri 2d3da46379 efl/ecore_fb: fix doxygen hierarchy.
SVN revision: 81836
2012-12-28 19:49:12 +00:00
Jonas M. Gastal e3ae81e65f efl: Created Ecore group and added existing Ecore groups to it.
SVN revision: 81293
2012-12-18 18:38:44 +00:00
Vincent Torri 7d6010b12c merge: add escape ecore, fix several bugs
SVN revision: 79995
2012-12-02 22:35:45 +00:00