Felipe Magno de Almeida [Wed, 16 Jul 2014 23:17:10 +0000 (20:17 -0300)]
eolian-cxx: Fixed using eo::base for extension_inheritance
Extended the logic for rewriting the eo::base to efl::eo::base for
parents to extension inheritance.
Felipe Magno de Almeida [Thu, 17 Jul 2014 00:52:22 +0000 (21:52 -0300)]
eolian-cxx: Added empty wrapper constructor
Added empty wrapper constructor to generation from std::nullptr_t and
allowed efl::eo::base to be empty with proper copy-constructors and
assignment operators.
Felipe Magno de Almeida [Wed, 16 Jul 2014 14:04:22 +0000 (11:04 -0300)]
evas-cxx: Added canvas sub-directory to include paths for evas and evas-cxx
These subdirectories are needed because the generated wrappers include them directly.
Felipe Magno de Almeida [Wed, 16 Jul 2014 14:33:42 +0000 (11:33 -0300)]
eolian-cxx: Fixed inheritance extensions not proper qualifying the base class
The generator now globally qualifies the base names, so it works
outside the efl namespace
Savio Sena [Thu, 17 Jul 2014 04:25:45 +0000 (01:25 -0300)]
eolian-cxx: Fixed the translation of the native type.
Savio Sena [Thu, 17 Jul 2014 03:38:13 +0000 (00:38 -0300)]
eolian-cxx: Fixed a bug in class validator.
Savio Sena [Thu, 17 Jul 2014 00:29:47 +0000 (21:29 -0300)]
eolian-cxx: Initial version of complex types / callbacks / events implementation.
Savio Sena [Wed, 16 Jul 2014 19:32:56 +0000 (16:32 -0300)]
eolian-cxx: Added examples.
Added complex types, callbacks and events examples.
Savio Sena [Wed, 16 Jul 2014 19:14:17 +0000 (16:14 -0300)]
eolian-cxx: Added tests.
Savio Sena [Fri, 11 Jul 2014 23:19:30 +0000 (20:19 -0300)]
eina-cxx: Added interop containers.
Savio Sena [Fri, 11 Jul 2014 23:19:01 +0000 (20:19 -0300)]
tests: Added config.h to tests.
Savio Sena [Fri, 11 Jul 2014 23:17:04 +0000 (20:17 -0300)]
examples: Removed compilation warnings.
Daniel Kolesa [Fri, 18 Jul 2014 16:29:25 +0000 (17:29 +0100)]
eolian: disallow the data field in interfaces; it's always null
Felipe Magno de Almeida [Fri, 18 Jul 2014 15:23:32 +0000 (12:23 -0300)]
eolian-cxx: Fixed example eo file
The coulourable.eo file got outdated when Eolian syntax changed, it is
now updated and fixed.
Felipe Magno de Almeida [Fri, 18 Jul 2014 15:00:39 +0000 (12:00 -0300)]
eolian-cxx: Disabled temporarily the inheritance feature
This feature is buggy when using multi-level namespaces. I disabled it
temporarily and will fix it ASAP and re-enable it.
Stefan Schmidt [Fri, 18 Jul 2014 13:29:35 +0000 (15:29 +0200)]
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
Carsten Haitzler (Rasterman) [Fri, 18 Jul 2014 07:56:20 +0000 (16:56 +0900)]
evas - render2 - now finally tracking updates right. map/proxy not done
Carsten Haitzler (Rasterman) [Fri, 18 Jul 2014 07:51:07 +0000 (16:51 +0900)]
evas - more render2 work - follows smart children now
Carsten Haitzler (Rasterman) [Thu, 17 Jul 2014 23:05:25 +0000 (08:05 +0900)]
eina - fix eina-module warning with global + stop using gcc extn for file
Chris Michael [Thu, 17 Jul 2014 18:47:02 +0000 (14:47 -0400)]
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>
Chris Michael [Thu, 17 Jul 2014 16:55:18 +0000 (12:55 -0400)]
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>
Cedric BAIL [Wed, 16 Jul 2014 15:43:38 +0000 (17:43 +0200)]
eina: forgotten return value.
Vincent Torri [Wed, 16 Jul 2014 12:13:28 +0000 (14:13 +0200)]
eina: make error message more precise.
Tom Hacohen [Thu, 17 Jul 2014 15:07:33 +0000 (16:07 +0100)]
Eolian generator: Disable system dir scan.
This was causing trouble for cross compilation.
Thanks to q66 for the fix and cedric for reporting.
Carsten Haitzler (Rasterman) [Thu, 17 Jul 2014 13:51:20 +0000 (22:51 +0900)]
more work on render2 - still not working with smart objects
Daniel Kolesa [Thu, 17 Jul 2014 13:17:19 +0000 (14:17 +0100)]
eolian: lexing of string literals (including support for escape sequences etc.)
Daniel Juyung Seo [Thu, 17 Jul 2014 13:15:50 +0000 (22:15 +0900)]
mailmap: added Wonguk Jeong's information.
Daniel Kolesa [Thu, 17 Jul 2014 12:07:39 +0000 (13:07 +0100)]
eolian: lexing of number literals (integer and floating point, decimal and hex, no octal)
Chris Michael [Wed, 16 Jul 2014 11:59:21 +0000 (07:59 -0400)]
evas-drm: Remove extra blank line
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Daniel Kolesa [Wed, 16 Jul 2014 15:18:13 +0000 (16:18 +0100)]
eolian: preliminary number constant stuff in eo_lexer
Daniel Kolesa [Wed, 16 Jul 2014 15:06:04 +0000 (16:06 +0100)]
eolian: remove TOK_EOF, replace with -1
Daniel Kolesa [Wed, 16 Jul 2014 14:33:11 +0000 (15:33 +0100)]
eolian: remove eo_lexer_get_until and allow just single-word value in the data: field of a class
Daniel Kolesa [Wed, 16 Jul 2014 13:46:38 +0000 (14:46 +0100)]
eolian: simplify the lexer (remove custom ident chars)
Daniel Kolesa [Wed, 16 Jul 2014 13:43:40 +0000 (14:43 +0100)]
eolian: parse events without get_ident
Carsten Haitzler (Rasterman) [Wed, 16 Jul 2014 13:09:41 +0000 (22:09 +0900)]
oops - remove printf that snuck in from dev
Daniel Kolesa [Wed, 16 Jul 2014 11:49:17 +0000 (12:49 +0100)]
mailmap: add myself
Carsten Haitzler (Rasterman) [Wed, 16 Jul 2014 11:42:34 +0000 (20:42 +0900)]
evas - work on evas render2 and begin making it work at all
Carsten Haitzler (Rasterman) [Wed, 16 Jul 2014 07:14:41 +0000 (16:14 +0900)]
eina - thread queue - fix block pool shutdown
Daniel Juyung Seo [Wed, 16 Jul 2014 11:39:56 +0000 (20:39 +0900)]
mailmap: keep in sync with elementary and enlightenment's mailmaps.
Vyacheslav Reutskiy [Wed, 16 Jul 2014 11:30:51 +0000 (14:30 +0300)]
evas: mark the evas text object as dirty, when text style is changed.
@fix
Stefan Schmidt [Thu, 10 Jul 2014 08:05:59 +0000 (10:05 +0200)]
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.
Stefan Schmidt [Tue, 15 Jul 2014 12:24:56 +0000 (14:24 +0200)]
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.
Daniel Kolesa [Tue, 15 Jul 2014 23:30:48 +0000 (00:30 +0100)]
eolian: fix memory leak
Daniel Kolesa [Tue, 15 Jul 2014 22:50:34 +0000 (23:50 +0100)]
eolian: make event type syntax consistent
Daniel Kolesa [Tue, 15 Jul 2014 19:00:59 +0000 (20:00 +0100)]
eolian: warning fix
Daniel Kolesa [Tue, 15 Jul 2014 16:06:18 +0000 (17:06 +0100)]
eolian: parser cleanup - structs no longer have to lookahead, making our grammar effectively LL(1)
Stefan Schmidt [Tue, 15 Jul 2014 15:01:14 +0000 (17:01 +0200)]
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.
Daniel Kolesa [Tue, 15 Jul 2014 14:50:58 +0000 (15:50 +0100)]
eolian: add test for extern
Daniel Kolesa [Tue, 15 Jul 2014 14:33:22 +0000 (15:33 +0100)]
eolian: support for extern structs and typedefs (including API)
Chris Michael [Tue, 15 Jul 2014 13:44:53 +0000 (09:44 -0400)]
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
Chris Michael [Tue, 15 Jul 2014 13:41:29 +0000 (09:41 -0400)]
ecore-drm: Reenable setting the VT to graphics mode
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 15 Jul 2014 13:40:39 +0000 (09:40 -0400)]
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>
Chris Michael [Tue, 15 Jul 2014 13:39:56 +0000 (09:39 -0400)]
ecore-drm: When we destroy any evdev device, also close the associated
fd.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 15 Jul 2014 13:38:25 +0000 (09:38 -0400)]
ecore-drm: Fix ecore_drm_device calls to drop & set drm master
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 15 Jul 2014 13:28:57 +0000 (09:28 -0400)]
ecore-drm: Add ecore_drm_dbus file for dbus functions
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 15 Jul 2014 13:28:03 +0000 (09:28 -0400)]
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>
Chris Michael [Tue, 15 Jul 2014 13:27:19 +0000 (09:27 -0400)]
ecore-drm: Remove eldbus header and add dbus header
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 15 Jul 2014 13:25:55 +0000 (09:25 -0400)]
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>
Chris Michael [Fri, 11 Jul 2014 22:26:41 +0000 (18:26 -0400)]
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>
Chris Michael [Fri, 11 Jul 2014 22:26:04 +0000 (18:26 -0400)]
ecore-drm: Add dbus file
Add internal source file for ecore_drm_dbus code
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 11 Jul 2014 18:50:57 +0000 (14:50 -0400)]
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>
Chris Michael [Fri, 11 Jul 2014 18:47:39 +0000 (14:47 -0400)]
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>
Chris Michael [Fri, 11 Jul 2014 18:46:35 +0000 (14:46 -0400)]
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>
Chris Michael [Fri, 11 Jul 2014 18:45:00 +0000 (14:45 -0400)]
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>
Carsten Haitzler (Rasterman) [Tue, 15 Jul 2014 11:38:34 +0000 (20:38 +0900)]
fix mouse sticking when xkbmap changes whilst running
this fixes T1415
Carsten Haitzler (Rasterman) [Tue, 15 Jul 2014 08:02:07 +0000 (17:02 +0900)]
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.
Daniel Kolesa [Tue, 15 Jul 2014 09:09:50 +0000 (10:09 +0100)]
eolian: comment eo_lexer.h
ChunEon Park [Tue, 15 Jul 2014 03:01:24 +0000 (12:01 +0900)]
evas/evas3d - removed unused warnings in the example.
perepelits.m [Tue, 15 Jul 2014 02:55:27 +0000 (11:55 +0900)]
[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
Felipe Magno de Almeida [Mon, 14 Jul 2014 23:01:14 +0000 (08:01 +0900)]
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
Daniel Kolesa [Mon, 14 Jul 2014 16:02:58 +0000 (17:02 +0100)]
eolian: also make time_t a builtin
Daniel Kolesa [Mon, 14 Jul 2014 15:51:38 +0000 (16:51 +0100)]
eolian: builtin types size, ssize, intptr, uintptr, ptrdiff
Daniel Kolesa [Mon, 14 Jul 2014 15:35:22 +0000 (16:35 +0100)]
elua: update lualian types
Daniel Kolesa [Mon, 14 Jul 2014 15:25:26 +0000 (16:25 +0100)]
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.
Daniel Kolesa [Mon, 14 Jul 2014 15:08:31 +0000 (16:08 +0100)]
elua: use the type API in lualian (but only basics of it)
Daniel Kolesa [Mon, 14 Jul 2014 14:37:32 +0000 (15:37 +0100)]
elua: make the lua generator generate things again - type stuff will need re-work
Daniel Kolesa [Mon, 14 Jul 2014 14:16:46 +0000 (15:16 +0100)]
elua: update eolian bindings and add Ptr_Iterator and String_Iterator common objects to eina iterator module
Cedric BAIL [Mon, 14 Jul 2014 13:59:06 +0000 (15:59 +0200)]
lz4: fix another security issue on ARM 32bits.
Mykyta Biliavskyi [Mon, 14 Jul 2014 13:55:44 +0000 (15:55 +0200)]
edje: Edje_Edit - delete unnecessary check id's in edje_edit_part_restack_part_below(above).
Summary:
In case when reorder part below or above part with id 0, function return
EINA_FALSE. But part shoud restacked normaly.
Reviewers: raster, seoz, cedric, Hermet, reutskiy.v.v
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1184
Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
Cedric BAIL [Mon, 14 Jul 2014 13:46:14 +0000 (15:46 +0200)]
evas: remove useless declaration from GL_Generic.
Cedric BAIL [Mon, 14 Jul 2014 10:54:02 +0000 (12:54 +0200)]
eina: win32 and linux version code are the same. Sharing code is better.
Cedric BAIL [Mon, 14 Jul 2014 10:52:32 +0000 (12:52 +0200)]
eina: simplify logic.
Daniel Kolesa [Mon, 14 Jul 2014 11:11:48 +0000 (12:11 +0100)]
eolian: add tests for struct types plus fix a double free and name storage on the way
Vincent Torri [Sun, 13 Jul 2014 11:49:31 +0000 (13:49 +0200)]
eina: (Windows) fix creation of files with eina_file_open() in some cases
@fix
Vincent Torri [Sun, 13 Jul 2014 10:44:34 +0000 (12:44 +0200)]
eina: call the function, then return
Vincent Torri [Sun, 13 Jul 2014 08:59:40 +0000 (10:59 +0200)]
efl: remove Windows CE support
Cedric BAIL [Sat, 12 Jul 2014 10:22:16 +0000 (12:22 +0200)]
evil: fix mistaken check of returned value by mkdir.
mkdir succeed with return == 0 !
@fix
Chris Michael [Fri, 11 Jul 2014 22:22:51 +0000 (18:22 -0400)]
ecore-evas: Remove extra whitespace
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 11 Jul 2014 22:21:37 +0000 (18:21 -0400)]
ecore-evas: Fix missing drm engine in list
Drm is an available ecore_evas engine if support was built for it,
however it was not being listed as an available engine. This adds drm
to the list of available engines.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Daniel Kolesa [Fri, 11 Jul 2014 13:40:14 +0000 (14:40 +0100)]
eolian: builtin bool type, and change the eo files to use that
Cedric BAIL [Fri, 11 Jul 2014 13:16:03 +0000 (15:16 +0200)]
evas: make gl_x11 rely on gl_generic.
Note that we can't access gl_common directly as it is not possible to link it
2 times. I also didn't want to force evas to be linked with GL/EGL. So I rely
now on dlsym on about 20 symbols to get that backend going.
Cedric BAIL [Fri, 11 Jul 2014 13:15:42 +0000 (15:15 +0200)]
autotools: turn on build for gl_generic backend.
Cedric BAIL [Fri, 11 Jul 2014 13:11:58 +0000 (15:11 +0200)]
evas: add gl_generic backend.
This is the first step to introduce a common gl infrastructure for all gl based backend.
For now it is strictly doing the exact same thing that the gl_x11 was doing, but I already
spoted that a lot of the optimization in gl_x11 where not incorporated in other gl backend.
So this is going to help everyone by sharing more code on a crucial part of our infrastructure.
Cedric BAIL [Fri, 11 Jul 2014 13:10:53 +0000 (15:10 +0200)]
evas: export symbol from gl_common so that loading gl_generic can expose them.
Cedric BAIL [Fri, 11 Jul 2014 10:13:37 +0000 (12:13 +0200)]
evas: load engine symbol into global namespace.
Cedric BAIL [Fri, 11 Jul 2014 10:13:02 +0000 (12:13 +0200)]
eina: make it possible to load module symbol into the global namespace.
Cedric BAIL [Fri, 11 Jul 2014 10:08:42 +0000 (12:08 +0200)]
evas: check if Render_Engine was created before using it in error case.
Daniel Kolesa [Fri, 11 Jul 2014 13:30:22 +0000 (14:30 +0100)]
eolian: s/dflt/default/g
Daniel Kolesa [Fri, 11 Jul 2014 12:10:04 +0000 (13:10 +0100)]
eolian: remove eolian_show and replace it with variants for class/struct/typedef/all.
Daniel Kolesa [Fri, 11 Jul 2014 11:26:33 +0000 (12:26 +0100)]
eolian: fix type print