Daniel Kolesa [Mon, 21 Jul 2014 15:00:57 +0000 (16:00 +0100)]
eolian/generator: add code to check if the newly generated output is the same as old output - disabled for now because of build system issues
Daniel Kolesa [Mon, 21 Jul 2014 14:11:19 +0000 (15:11 +0100)]
eolian: fill in full_name and namespaces properly, and allow parsing dots in type names
Daniel Kolesa [Mon, 21 Jul 2014 13:38:43 +0000 (14:38 +0100)]
eolian: type_struct_description, type_struct_file -> type_description, type_file
Daniel Kolesa [Mon, 21 Jul 2014 13:27:23 +0000 (14:27 +0100)]
eolian: new APIs: eolian_type_full_name_get, eolian_type_naespaces_list_get
Daniel Kolesa [Mon, 21 Jul 2014 13:14:22 +0000 (14:14 +0100)]
eolian: type_struct_is_extern -> type_is_extern
Daniel Kolesa [Mon, 21 Jul 2014 12:56:20 +0000 (13:56 +0100)]
eolian: initial code and struct layout for revamped alias API
Daniel Zaoui [Mon, 21 Jul 2014 11:42:13 +0000 (14:42 +0300)]
Eina: fix annoying warning during tests.
Daniel Kolesa [Mon, 21 Jul 2014 11:28:25 +0000 (12:28 +0100)]
eolian: typo fix
Daniel Kolesa [Mon, 21 Jul 2014 11:03:51 +0000 (12:03 +0100)]
eolian: add API to retrieve filename for each typedef and struct
Daniel Kolesa [Mon, 21 Jul 2014 10:47:35 +0000 (11:47 +0100)]
eolian: only check redef on actual named structs
Daniel Kolesa [Mon, 21 Jul 2014 10:42:05 +0000 (11:42 +0100)]
eolian: put structs and typedefs right in the respective hashmaps without going through nodes
Daniel Kolesa [Mon, 21 Jul 2014 10:34:14 +0000 (11:34 +0100)]
eolian: check redefinitions in the parser instead (provides line info)
Daniel Kolesa [Mon, 21 Jul 2014 10:22:49 +0000 (11:22 +0100)]
eolian: check for typedef and struct redefinitions
q66 [Sat, 19 Jul 2014 12:00:44 +0000 (13:00 +0100)]
eolian: ouch... fix a major bug, *spanks self*
WooHyun Jung [Sat, 19 Jul 2014 00:50:59 +0000 (09:50 +0900)]
evas: table - when colspan(rowspan) is over 2, padding size should be added.
@ fix
Felipe Magno de Almeida [Fri, 18 Jul 2014 22:23:43 +0000 (19:23 -0300)]
eldbus-cxx: Used inner braces for initialization of inner struct
This removes lots of warnings when compiling with clang.
Felipe Magno de Almeida [Fri, 18 Jul 2014 22:20:55 +0000 (19:20 -0300)]
eolian-cxx: Fixed generation using abstract return-type instead of C type
The _tmp_ret variable should use the native C type and not the
abstracted C++ type.
Felipe Magno de Almeida [Fri, 18 Jul 2014 20:58:45 +0000 (17:58 -0300)]
eolian-cxx: Fixed exapmle with support for complex types
Automatic conversion of Evas_Object* to evas::object wrapper broke the
example. Fixed it by using the new feature :).
Felipe Magno de Almeida [Fri, 18 Jul 2014 20:57:04 +0000 (17:57 -0300)]
eolian-cxx: Fixed inheritance feature with callbacks
The addition of callbacks was making the inheritance to fail. Fixed
generation by using the C types, instead of the abstracted callback
types for the wrapper functions.
Felipe Magno de Almeida [Fri, 18 Jul 2014 20:25:06 +0000 (17:25 -0300)]
eolian-cxx: Added callback test
Added test for callback generation and uses
Felipe Magno de Almeida [Fri, 18 Jul 2014 00:49:12 +0000 (21:49 -0300)]
eolian-cxx: Various and various fixes with callbacks
Mimic the callback function generation for other functions that were
being generated incorrectly and inconsistently.
Felipe Magno de Almeida [Fri, 18 Jul 2014 00:48:56 +0000 (21:48 -0300)]
eolian-cxx: Workaround for callbacks without void* data parameter
Felipe Magno de Almeida [Fri, 18 Jul 2014 00:48:00 +0000 (21:48 -0300)]
eo-cxx: Added a few complex types to lookup table
Felipe Magno de Almeida [Fri, 18 Jul 2014 00:47:36 +0000 (21:47 -0300)]
Fixed type looking up for complex types
Felipe Magno de Almeida [Fri, 18 Jul 2014 00:47:23 +0000 (21:47 -0300)]
Changed uses of std::abort to assert's with better description
Felipe Magno de Almeida [Fri, 18 Jul 2014 00:46:50 +0000 (21:46 -0300)]
eo-cxx: Added support for returning-void function objects
Felipe Magno de Almeida [Fri, 18 Jul 2014 00:46:13 +0000 (21:46 -0300)]
eo-cxx: Removed the necessity of copying for interoperability of containers
Felipe Magno de Almeida [Fri, 18 Jul 2014 00:45:25 +0000 (21:45 -0300)]
eina-cxx: Added move-constructors to lists
Felipe Magno de Almeida [Thu, 17 Jul 2014 18:29:31 +0000 (15:29 -0300)]
eo-cxx: Added default-constructor to wref type
Felipe Magno de Almeida [Thu, 17 Jul 2014 18:29:16 +0000 (15:29 -0300)]
eina-cxx: Added range_list to range types for eina-cxx
Added range_list which abstracts a ptr_list for wrapper types.
Felipe Magno de Almeida [Thu, 17 Jul 2014 17:09:26 +0000 (14:09 -0300)]
eolian-cxx: Workaround for multiple callbacks without corresponding void*data
Added workaround for generating classes with methods that have more
than one callback but doesn't have a corresponding void* data
parameter. E.g., elm_box.eo.
Felipe Magno de Almeida [Thu, 17 Jul 2014 17:07:09 +0000 (14:07 -0300)]
eina-cxx: eldbus-cxx: eo-cxx: Fixed test includes and header installation
Felipe Magno de Almeida [Thu, 17 Jul 2014 17:05:19 +0000 (14:05 -0300)]
eo-cxx: Added catch-all to_c interoperability function
Felipe Magno de Almeida [Thu, 17 Jul 2014 17:02:23 +0000 (14:02 -0300)]
eina-cxx: Fixed includ'ing list and array containers and fixed constructor
Added include for eina_list and eina_array for Eina.hh and fixed the
eina_ptrlist constructor receiving a raw Eina_List*.
Felipe Magno de Almeida [Wed, 16 Jul 2014 23:12:58 +0000 (20:12 -0300)]
eolian-cxx: Fixed double qualifying operator on generated code
Fixed the generation of double qualifying operators on extension
inheritance for classes defined in the global namespace.
Savio Sena [Thu, 17 Jul 2014 07:14:22 +0000 (04:14 -0300)]
eolian-cxx: Fixed complex-types.
Savio Sena [Thu, 17 Jul 2014 07:14:01 +0000 (04:14 -0300)]
eolian-cxx: Updated the examples according to the new syntax.
Savio Sena [Thu, 17 Jul 2014 07:06:07 +0000 (04:06 -0300)]
eolian-cxx: Relevant cosmetics.
Savio Sena [Thu, 17 Jul 2014 07:05:30 +0000 (04:05 -0300)]
eolian-cxx: Fixed the translation of classnames
Savio Sena [Thu, 17 Jul 2014 07:04:51 +0000 (04:04 -0300)]
eo-cxx: Fixed duplicated constructors.
Felipe Magno de Almeida [Wed, 16 Jul 2014 23:13:46 +0000 (20:13 -0300)]
eolian-cxx: Added eo_base extension_inheritance
Added eo::base as a partial specialization for extension inheritance,
since eo::base is not generated.
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>