Commit Graph

26763 Commits

Author SHA1 Message Date
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
Carsten Haitzler 3c130836ad new eina api/object - eina thread queues
@feature

This is a new feature for eina (and EFL) - a zero-copy thread message
queue for sending messages from one thread to another or from the
ecore mainloop to or back to the mainloop from threads. It has a
complete test suite too.
2014-07-15 20:39:13 +09:00
Daniel Kolesa 5c3cc82bdd eolian: comment eo_lexer.h 2014-07-15 10:10:12 +01:00
ChunEon Park 958e57f8ae evas/evas3d - removed unused warnings in the example. 2014-07-15 12:01:24 +09:00
perepelits.m 7058bade6d [Evas\evas-3d\example] Add example of cube rotation
Summary: This example shows mechanism of 3d object rotation

Reviewers: cedric, Hermet, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1114
2014-07-15 11:59:58 +09:00
Felipe Magno de Almeida 835b8756ec Fixes ABI breakage in Eldbus for use with C++ Eldbus
Summary:
This fixes the breakage when Eldbus_Service_Interface_Desc added a
wrongfully methods2 field to a class that is allocated by the user.

This patch adds the respective eldbus_service_interface_register2 and
eldbus_service_interface_fallback_register2 for registration of
Eldbus_Service_Interface_Desc2 which is now versioned. So future the
functions can be backwards compatible and the struct be forward
compatible and leaves the Eldbus_Service_Interface_Desc and
eldbus_service_interface_register and
eldbus_service_interface_fallback_register intact as it was in EFL
1.10.

This fixes T1408

Reviewers: cedric, stefan_schmidt, raster

Reviewed By: raster

Subscribers: cedric

Maniphest Tasks: T1408

Differential Revision: https://phab.enlightenment.org/D1188
2014-07-15 08:01:14 +09:00
Daniel Kolesa 831ade54fa eolian: also make time_t a builtin 2014-07-14 17:02:58 +01:00
Daniel Kolesa 3be0dce99d eolian: builtin types size, ssize, intptr, uintptr, ptrdiff 2014-07-14 16:51:38 +01:00
Daniel Kolesa 7b9276042d elua: update lualian types 2014-07-14 16:35:22 +01:00
Daniel Kolesa f510b6de72 eolian: schar and uchar are now called byte and ubyte, char stays
Here, 'char' represents an actual character and is meant to be treated as so by generators.
The byte types represent a numerical value and should be treated numerically.
2014-07-14 16:25:26 +01:00
Daniel Kolesa 10ea6e9f0f elua: use the type API in lualian (but only basics of it) 2014-07-14 16:08:31 +01:00
Daniel Kolesa 30e8d8a735 elua: make the lua generator generate things again - type stuff will need re-work 2014-07-14 15:37:32 +01:00
Daniel Kolesa c548981046 elua: update eolian bindings and add Ptr_Iterator and String_Iterator common objects to eina iterator module 2014-07-14 15:16:46 +01:00