Commit Graph

26975 Commits

Author SHA1 Message Date
Stefan Schmidt 6d08b96bd3 build/drm: Allow building from scratch by not using pkgconfig for internal libs
Using pkgconfig for internal libs turns out to be not a really good idea. It
works fine if you already have an efl install with the needed ecore-drm.pc
file but it will fail if you build from scratch.

We already have a m4 macro for these internal dependencies. Make use of it
for the evas drm engine depending on ecore-drm.

Fixes T1432
2014-07-18 15:32:52 +02:00
Carsten Haitzler c11592fb6a evas - render2 - now finally tracking updates right. map/proxy not done 2014-07-18 16:56:20 +09:00
Carsten Haitzler bed30a7eb9 evas - more render2 work - follows smart children now 2014-07-18 16:51:07 +09:00
Carsten Haitzler 7a7d3be140 eina - fix eina-module warning with global + stop using gcc extn for file 2014-07-18 08:05:25 +09:00
Chris Michael ff5bac5e6e ecore-drm: Fix trapping of SIGUSR1 for VT switching signals
SIGUSR1 is used here to catch VT switching and either acquire or
release the VT. The problem is that XWayland Also sends SIGUSR1 when
it has finished initializing. In order to not get confused about where
the SIGUSR1 came from we can check the pid inside the siginfo
structure and see if it matches.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-07-17 14:47:02 -04:00
Chris Michael d1c583d30c ecore-drm: Reduce debug noise
As input is sorted out here (for now), we don't need to be so noisy
and printout extra debug stuff

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-07-17 12:56:02 -04:00
Cedric BAIL 1eccc2824f eina: forgotten return value. 2014-07-17 17:51:22 +02:00
Vincent Torri f61f8d30fc eina: make error message more precise. 2014-07-17 17:51:22 +02:00
Tom Hacohen 076d816364 Eolian generator: Disable system dir scan.
This was causing trouble for cross compilation.

Thanks to q66 for the fix and cedric for reporting.
2014-07-17 16:07:57 +01:00
Carsten Haitzler 6bf45900c8 more work on render2 - still not working with smart objects 2014-07-17 22:53:37 +09:00
Daniel Kolesa 6c268d98e5 eolian: lexing of string literals (including support for escape sequences etc.) 2014-07-17 14:17:19 +01:00
Daniel Juyung Seo ed510ffb05 mailmap: added Wonguk Jeong's information. 2014-07-17 22:15:50 +09:00
Daniel Kolesa e9e38b553b eolian: lexing of number literals (integer and floating point, decimal and hex, no octal) 2014-07-17 13:07:39 +01:00
Chris Michael 278d55bf0f evas-drm: Remove extra blank line
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-07-16 11:35:26 -04:00
Daniel Kolesa 80165034ed eolian: preliminary number constant stuff in eo_lexer 2014-07-16 16:18:13 +01:00
Daniel Kolesa c636882158 eolian: remove TOK_EOF, replace with -1 2014-07-16 16:06:04 +01:00
Daniel Kolesa 226f417005 eolian: remove eo_lexer_get_until and allow just single-word value in the data: field of a class 2014-07-16 15:33:11 +01:00
Daniel Kolesa 9b2680ad6f eolian: simplify the lexer (remove custom ident chars) 2014-07-16 14:46:38 +01:00
Daniel Kolesa e2bab9ed2c eolian: parse events without get_ident 2014-07-16 14:43:40 +01:00
Carsten Haitzler 8b2f042477 oops - remove printf that snuck in from dev 2014-07-16 22:09:41 +09:00
Daniel Kolesa 9a6ee60ef1 mailmap: add myself 2014-07-16 12:49:17 +01:00
Carsten Haitzler f5221b9cfb evas - work on evas render2 and begin making it work at all 2014-07-16 20:43:32 +09:00
Carsten Haitzler 45f01bd11c eina - thread queue - fix block pool shutdown 2014-07-16 20:43:32 +09:00
Daniel Juyung Seo c683e16dc4 mailmap: keep in sync with elementary and enlightenment's mailmaps. 2014-07-16 20:39:56 +09:00
Vyacheslav Reutskiy 8ee6e168de evas: mark the evas text object as dirty, when text style is changed.
@fix
2014-07-16 14:30:51 +03:00
Stefan Schmidt 18989020d7 evas/drm: Make use of ecore_drm for opening DRM device
We use this functionality already from ecore_drm. The evas version does
not even use udev to acquire the device which means we could not support
hotplugging. The only missing feature was the capability check for
DUMB_BUFFER which I added to ecore_drm now.

This is the second iteration of this patch. Thsi time also taking expedite
runs of he evas drm engine in account.
2014-07-16 08:53:43 +02:00
Stefan Schmidt b9da47eccf m4/evas_check_engine: Link evas drm engine to ecore-drm instead libdrm
We now longer use libdrm directly in the evas drm engine thus we switch
linking to ecore-drm.
2014-07-16 08:53:36 +02:00
Daniel Kolesa 198a61c37d eolian: fix memory leak 2014-07-16 00:30:48 +01:00
Daniel Kolesa ae3eb2b942 eolian: make event type syntax consistent 2014-07-15 23:50:34 +01:00
Daniel Kolesa 8716112a43 eolian: warning fix 2014-07-15 20:00:59 +01:00
Daniel Kolesa d0e0576f0b eolian: parser cleanup - structs no longer have to lookahead, making our grammar effectively LL(1) 2014-07-15 17:06:47 +01:00
Stefan Schmidt 58f47426a4 iconfigure: Only use libsystemd-login dep for ecore-drm
At least with systemd 208 there is no pc file for just libsystemd. It is split
into daemon id128 journal and login. We only need login here so only require it.
2014-07-15 17:01:14 +02:00
Daniel Kolesa 00f99a874d eolian: add test for extern 2014-07-15 15:50:58 +01:00
Daniel Kolesa 0d0f6e3743 eolian: support for extern structs and typedefs (including API) 2014-07-15 15:33:22 +01:00
Chris Michael 8914e60f15 Merge branch 'devs/devilhorns/systemd'
Merge in the new ecore-drm input code which allows us to open and read
from input devices as a normal user without any special permissions or
suid binaries

@feature
2014-07-15 09:44:53 -04:00
Chris Michael 9c20a1b979 ecore-drm: Reenable setting the VT to graphics mode
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-07-15 09:44:14 -04:00
Chris Michael c043021397 ecore-drm: Cleanup ecore_drm_input code to add/remove devices
This removes calls to the ecore_drm slave binary, and makes use of our
new dbus function calls to open an input device

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-07-15 09:44:14 -04:00
Chris Michael 87049f9124 ecore-drm: When we destroy any evdev device, also close the associated
fd.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-07-15 09:44:14 -04:00
Chris Michael 24ed704c8c ecore-drm: Fix ecore_drm_device calls to drop & set drm master
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-07-15 09:44:14 -04:00
Chris Michael be325af372 ecore-drm: Add ecore_drm_dbus file for dbus functions
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-07-15 09:44:14 -04:00
Chris Michael 61070f779f ecore-drm: Cleanup ecore_drm init/shutdown functions
As we don't need to spawn the suid binary anymore, we can remove all
the old code that was doing socketpair, passing messages, etc, etc.
Replace with proper ecore_drm_dbus function calls.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-07-15 09:44:14 -04:00
Chris Michael e711a294b2 ecore-drm: Remove eldbus header and add dbus header
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-07-15 09:44:14 -04:00
Chris Michael d486de9f62 ecore-drm: Remove eldbus dependency
Eldbus works asynchronously, but we need syncronous method calls to
get the replies from opening input devices, so let's just use normal
dbus

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-07-15 09:44:14 -04:00
Chris Michael 121be16f3a ecore-drm: Cleanup ecore_drm private header
Remove support for logging to a file.
Fix ecore_drm_dbus function prototypes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-07-15 09:44:14 -04:00
Chris Michael 5ce304ff84 ecore-drm: Add dbus file
Add internal source file for ecore_drm_dbus code

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-07-15 09:44:14 -04:00
Chris Michael 6935c4febd ecore-drm: Add necessary headers for dbus and systemd-login
This feature allows us to open input devices and receive events from
them as a normal user without the need for special input device
permissions, or the need for a slave suid binary.

NB: This will only wor with dbus & systemd support

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-07-15 09:43:12 -04:00
Chris Michael 30b048b3b0 ecore-drm: Remove ecore_drm binary files
We no longer need the ecore_drm_launch binary to open input devices.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-07-15 09:42:01 -04:00
Chris Michael 8b0fe68043 ecore-drm: Remove ecore_drm_launch binary from Makefile
We will no longer need the ecore_drm_launch binary for opening inputs

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-07-15 09:42:01 -04:00
Chris Michael c696b6af72 ecore-drm: Add eldbus, systemd, and systemd-login dependencies
Ecore_Drm will now require dbus, systemd, and systemd-login support in
order to open input devices as a normal user

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-07-15 09:42:01 -04:00
Carsten Haitzler 20c8065da6 fix mouse sticking when xkbmap changes whilst running
this fixes T1415
2014-07-15 20:39:13 +09:00