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
Daniel Kolesa [Fri, 11 Jul 2014 11:22:36 +0000 (12:22 +0100)]
eolian: update print code (it made some obsolete assumptions before)
Daniel Kolesa [Fri, 11 Jul 2014 11:02:02 +0000 (12:02 +0100)]
eolian: fix a segfault
Daniel Kolesa [Fri, 11 Jul 2014 10:52:45 +0000 (11:52 +0100)]
eolian: fix testsuite
Daniel Kolesa [Fri, 11 Jul 2014 10:47:37 +0000 (11:47 +0100)]
eolian: events now use Eolian_Type* instead of stringshare
Daniel Kolesa [Fri, 11 Jul 2014 10:33:26 +0000 (11:33 +0100)]
eolian: remove parser dump for now (doesn't include all info, when it's needed again it can be re-added)
Daniel Kolesa [Fri, 11 Jul 2014 10:31:48 +0000 (11:31 +0100)]
eolian: separate database fill stuff from the parser
Daniel Kolesa [Fri, 11 Jul 2014 09:57:28 +0000 (10:57 +0100)]
eolian: split db fill func into multiple funcs
Jean-Philippe Andre [Fri, 11 Jul 2014 06:18:52 +0000 (15:18 +0900)]
Edje: Add support for ETC1+Alpha
If the image is not opaque and etc1 is selected, choose
ETC1_ALPHA as encoding format.
Jean-Philippe Andre [Fri, 11 Jul 2014 06:15:52 +0000 (15:15 +0900)]
Eet: Add support for ETC1+Alpha
The TGV file format and GL engine now support ETC1 encoding
with alpha using an extra texture.
This commit adds similar support to the Eet encoder/decoder.
@feature
ChunEon Park [Fri, 11 Jul 2014 05:50:20 +0000 (14:50 +0900)]
Revert "evas/gl: improve the rendering quality."
This reverts commit
5e18223f67a62ad752c3aac16ed23e390a9e0fe4.
Conflicts:
src/modules/evas/engines/gl_common/evas_gl_context.c
we've got a side effect(another quality issue) of the patch. so revert it.
Jean-Philippe Andre [Thu, 10 Jul 2014 03:01:23 +0000 (12:01 +0900)]
Evas gl: Fix upload of RGB+A textures [INCOMPLETE]
The textures have duplicated borders, take them into account.
Jean-Philippe Andre [Fri, 11 Jul 2014 03:17:46 +0000 (12:17 +0900)]
Evas gl: Replace all remaining references to mask stuff by alpha
Masking is not used (there even was a recent commit by Hermet to
remove most of the occurences of mask shaders in GL), and I've
introduced a new ETC1+Alpha feature. Replace the old texm and
associated variables by texa for alpha texures.
Jean Guyomarc'h [Thu, 10 Jul 2014 18:04:24 +0000 (20:04 +0200)]
ecore_cocoa: Introduce canvas resizing + warning fixes
Summary: Add support for canvas resizing: the window was resizable but its content was not resized.
Reviewers: raster, raoulh, naguirre, cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1163
ChunEon Park [Thu, 10 Jul 2014 15:20:48 +0000 (00:20 +0900)]
ecore - fix a typo in doc.
Daniel Kolesa [Thu, 10 Jul 2014 14:40:58 +0000 (15:40 +0100)]
eolian: remove redundant enum
Daniel Kolesa [Thu, 10 Jul 2014 14:36:18 +0000 (15:36 +0100)]
eolian: remove unused enum and field
Daniel Kolesa [Thu, 10 Jul 2014 14:31:01 +0000 (15:31 +0100)]
eolian: refactoring: get rid of Eo_Event_Def
Daniel Kolesa [Thu, 10 Jul 2014 14:23:06 +0000 (15:23 +0100)]
eolian: refactoring: get rid of Eo_Implement_Def
Daniel Kolesa [Thu, 10 Jul 2014 14:10:24 +0000 (15:10 +0100)]
eolian: refactoring: remove Eo_Type_Def
Daniel Kolesa [Thu, 10 Jul 2014 13:44:17 +0000 (14:44 +0100)]
eolian: get rid of Eo_Type_Def
Daniel Kolesa [Thu, 10 Jul 2014 13:30:34 +0000 (14:30 +0100)]
eolian: refactoring: refactor eolian_database.h
Daniel Kolesa [Thu, 10 Jul 2014 13:19:06 +0000 (14:19 +0100)]
eolian: refactoring: more consistent naming
Daniel Kolesa [Thu, 10 Jul 2014 13:04:13 +0000 (14:04 +0100)]
eolian: API refactoring
Daniel Kolesa [Thu, 10 Jul 2014 12:13:46 +0000 (13:13 +0100)]
eolian: separate database API and internals into different source files
Daniel Kolesa [Thu, 10 Jul 2014 11:15:29 +0000 (12:15 +0100)]
eolian: refactoring: split up eolian_database into individual files
Daniel Kolesa [Thu, 10 Jul 2014 10:06:20 +0000 (11:06 +0100)]
eolian: const fixes
Maksym Volodin [Thu, 10 Jul 2014 09:51:26 +0000 (11:51 +0200)]
edje: Edje_edit - edje_edit_state_text_source_set and edje_edit_state_text_text_source_set logic fix.
Summary: Patch make it possible to set NULL value for text_text_source and text_source.
Reviewers: cedric, raster, Hermet, seoz, reutskiy.v.v
Subscribers: cedric, reutskiy.v.v
Differential Revision: https://phab.enlightenment.org/D1167
Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
Cedric BAIL [Thu, 10 Jul 2014 09:34:34 +0000 (11:34 +0200)]
evas: gl_common already provide the infrastruture to manipulate ImageSEC.
ms [Thu, 10 Jul 2014 08:39:06 +0000 (10:39 +0200)]
test_test
Reviewers: kimcinoo
Reviewed By: kimcinoo
Subscribers: kimcinoo, cedric
Differential Revision: https://phab.enlightenment.org/D1153
Mykyta Biliavskyi [Thu, 10 Jul 2014 08:38:26 +0000 (10:38 +0200)]
edje: Edje_Edit - fix size memory calculating for realloc array of tweens.
Summary:
If in _Edje_Part_Description_Spec_Image->tweens wasn't added no one image,
when edje object was loaded from file, then realloc will work as free(), because size
of reallocating memory always will equal 0.
@fix
Reviewers: raster, seoz, cedric, Hermet, reutskiy.v.v
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1160
Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
Daniel Kolesa [Wed, 9 Jul 2014 20:31:03 +0000 (21:31 +0100)]
eolian: the entire API is now const correct
Daniel Kolesa [Wed, 9 Jul 2014 20:07:15 +0000 (21:07 +0100)]
eolian: const correctness
Daniel Kolesa [Wed, 9 Jul 2014 20:02:41 +0000 (21:02 +0100)]
eolian_cxx: pass everything by ref
Daniel Kolesa [Wed, 9 Jul 2014 19:59:31 +0000 (20:59 +0100)]
eolian: refactoring step six
Move Eolian_Function as well, plus fix const correctness of several API funcs.
Savio Sena [Wed, 9 Jul 2014 18:55:24 +0000 (15:55 -0300)]
eolian-cxx: Pass references instead of pointers.
Fix Eolian-Cxx API to pass references instead of pointers.
Chris Michael [Wed, 9 Jul 2014 16:56:05 +0000 (12:56 -0400)]
evas-engine-wayland-shm: Check for depth being INHERIT on reconfigure
Software Generic backend can send us OUTBUF_DEPTH_INHERIT during a
reconfigure. If we are inheriting the previous depth, let's check that
so we don't get needless destrouction/recreation of shm buffers.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Daniel Kolesa [Wed, 9 Jul 2014 16:18:02 +0000 (17:18 +0100)]
eolian: refactoring step five
Move from all instances of Eolian_Type to Eolian_Type*.
Daniel Kolesa [Wed, 9 Jul 2014 16:04:00 +0000 (17:04 +0100)]
eolian: fix tests (update according to API changes)
Daniel Kolesa [Wed, 9 Jul 2014 16:01:19 +0000 (17:01 +0100)]
eolian: refactoring step four
Move from all isntances of Eolian_Function_Parameter to Eolian_Function_Parameter* plus const fixes.
Daniel Kolesa [Wed, 9 Jul 2014 15:45:41 +0000 (16:45 +0100)]
eolian: refactoring step three
Move from all instances of Eolian_Event and Eolian_Implement to Eolian_Event* and Eolian_Implement*.
Chris Michael [Wed, 9 Jul 2014 15:39:26 +0000 (11:39 -0400)]
evas-engine-drm: Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 9 Jul 2014 15:38:06 +0000 (11:38 -0400)]
evas-engine-drm: Fix evas drm engine bufer depth
Seems the new software_generic backend is passing in
OUTBUF_DEPTH_INHERIT during a reconfigure, so let's add a check for
that else if not, the entire drm engine stops rendering due to output
buffers not being created to match the framebuffer depth.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Daniel Kolesa [Wed, 9 Jul 2014 15:33:07 +0000 (16:33 +0100)]
eolian: refactoring step two
Move from all instances of Eolian_Class to Eolian_Class*.
Daniel Kolesa [Wed, 9 Jul 2014 14:56:04 +0000 (15:56 +0100)]
eolian: refactoring step one
Rename the public Eolian types to use a consistent naing scheme.
Chris Michael [Wed, 9 Jul 2014 15:17:21 +0000 (11:17 -0400)]
evas-engine-drm: Fix update of output buffer size
Adjust the ob->w/h dimensions After the framebuffer has been setup
because we cannot have output buffers smaller than the framebuffer
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 9 Jul 2014 15:15:39 +0000 (11:15 -0400)]
evas-engine-drm: Fix software_generic_update to use the correct size.
We cannot use epd->output.w/h in these calls as the setup of the
output buffer May cause a resize. Drm buffers cannot be allocated
Smaller than the framebuffer size, so evas_drm_outbuf_setup function
May resize the ob->w/h to match the framebuffer.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Cedric BAIL [Wed, 9 Jul 2014 14:14:57 +0000 (16:14 +0200)]
evas: correct multi buffer support.