vivek [Tue, 23 Sep 2014 12:28:08 +0000 (08:28 -0400)]
Ecore_drm: Added initial support for backlight in ecore_drm module
Summary:
Added initial support for backlight in drm by adding various structures
and provided api for initializing the backlight struct.
Signed-off-by: vivek <vivek.ellur@samsung.com>
Reviewers: devilhorns, stefan_schmidt
Subscribers: stefan_schmidt, cedric
Differential Revision: https://phab.enlightenment.org/D1448
Carsten Haitzler (Rasterman) [Tue, 23 Sep 2014 12:31:54 +0000 (21:31 +0900)]
efl - vsync - deal with both broken and non-broken libdrm
@fix
Jérémy Zurcher [Tue, 23 Sep 2014 09:15:11 +0000 (11:15 +0200)]
evas/engines: avoid redefinition of typedef Outbuf
'typedef struct _Outbuf Outbuf' is in software_generic/Evas_Engine_Software_Generic.h
that is always included
Amitesh Singh [Tue, 23 Sep 2014 09:06:16 +0000 (11:06 +0200)]
Revert "edje: prevent resource leak."
Summary:
This reverts commit
f6eb1f17a1b34b2f2fb49feb09bb03a8263be56f.
This will result into failure of edc compilation with recursive use of include.
Reviewers: cedric, raster, seoz
Reviewed By: seoz
Subscribers: chinmaya061, cedric, seoz
Differential Revision: https://phab.enlightenment.org/D1475
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Jérémy Zurcher [Tue, 23 Sep 2014 08:56:57 +0000 (10:56 +0200)]
eolian: silence uninitialized var in goto end branch
Jérémy Zurcher [Tue, 23 Sep 2014 08:51:05 +0000 (10:51 +0200)]
eo: call stack depth is 1024
Jérémy Zurcher [Tue, 23 Sep 2014 08:47:24 +0000 (10:47 +0200)]
eo: call stack can grow/shrink when not using mmap
- if HAVE_MMAP call stack do not shrink and abort() when should grow
- otherwise it's a growing/shrinking stack using realloc
Jérémy Zurcher [Tue, 23 Sep 2014 08:43:36 +0000 (10:43 +0200)]
eo: remove stack->max_size
- define EO_CALL_STACK_SIZE instead of stack->max_size
- we are talking about size here not maxsize
Jérémy Zurcher [Tue, 23 Sep 2014 08:41:13 +0000 (10:41 +0200)]
eo: remove XXX, it's ok now ...
Jérémy Zurcher [Tue, 23 Sep 2014 08:29:44 +0000 (10:29 +0200)]
eo: unify error msgs
Jérémy Zurcher [Tue, 23 Sep 2014 08:26:33 +0000 (10:26 +0200)]
eo: call stack remove stack->dropcount
stack->shrink_frame does the same but more efficiently
change the value of EO_CALL_STACK_SHRINK_DROP if needed
Jérémy Zurcher [Tue, 23 Sep 2014 08:24:06 +0000 (10:24 +0200)]
eo: fix call stack shrink_frame
- do never shrink under EO_CALL_STACK_DEPTH_MIN size
- set shrink_frame at (current_size/2) - EO_CALL_STACK_SHRINK_OFFSET
Jérémy Zurcher [Tue, 23 Sep 2014 08:21:26 +0000 (10:21 +0200)]
eo: remove FIXME: Thread Local Storage
done in
d39d7050
Jihoon Kim [Tue, 23 Sep 2014 01:20:49 +0000 (10:20 +0900)]
Add example code of ecore_imf_context_bidi_direction_set in ecore_imf_example
Jihoon Kim [Tue, 23 Sep 2014 01:18:35 +0000 (10:18 +0900)]
ecore_imf: Add ecore_imf_context_bidi_direction_set/get API
Some Input Methods want to know the bidi direction (LTR/RTL) at the current cursor position.
Chris Michael [Mon, 22 Sep 2014 20:04:20 +0000 (16:04 -0400)]
Merge branch 'devs/devilhorns/ecore_drm'
ecore-drm: Merge rewrite of ecore-drm input/dbus handling to use
Eldbus library.
Previous ecore-drm code relied on dbus itself. This changes the code
(internally) to rely on Eldbus library and thus makes ecore-drm input
handling asynchronous.
@fix
Chris Michael [Mon, 22 Sep 2014 19:57:12 +0000 (15:57 -0400)]
ecore-drm: Rework internal dbus code to use Eldbus
Summary: This changes all of our internal dbus code for ecore-drm to
work with async Eldbus calls. This adds a potential delay to startup
in that input devices may not be immediately available for use, but is
unavoidable due to Eldbus not having a dbus function call to block for
a reply.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Mon, 22 Sep 2014 19:54:37 +0000 (15:54 -0400)]
ecore-drm: Rework input code to function with Eldbus
Summary: Eldbus runs async so we needed to rework the internal input
code to function with it. This commit changes the iternal code to
issue a device open, and then wait for Eldbus to return us a callback
from the proxy that the device open is finished. This Does add a delay
during startup (which means devices will not always be immediately
ready for use) but thus is the nature of Eldbus.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Mon, 22 Sep 2014 19:44:50 +0000 (15:44 -0400)]
ecore-drm: Fix some error/warn message formatting
NB: Nothing functional here, just alignment of error messages in output.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Mon, 22 Sep 2014 19:43:37 +0000 (15:43 -0400)]
ecore-drm: Fix private function prototypes for new dbus functions
Summary: In porting Ecore_Drm to use Eldbus, I had to change some
internal functions to work with the async nature of Eldbus. As a
result, I had to modify some private local functions.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 18 Sep 2014 15:39:29 +0000 (11:39 -0400)]
ecore-drm: Include config.h in private header
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 18 Sep 2014 15:35:20 +0000 (11:35 -0400)]
ecore-drm: Add Eldbus header to private header file
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 18 Sep 2014 15:32:37 +0000 (11:32 -0400)]
ecore-drm: Add Eldbus as a dependency for ecore-drm
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 18 Sep 2014 15:31:37 +0000 (11:31 -0400)]
ecore-drm: Remove direct dbus dependency from Ecore_Drm
Sumary: Ecore_Drm will be using Eldbus library now, so remove dbus-1
dependency
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 18 Sep 2014 15:30:56 +0000 (11:30 -0400)]
efl: Move Eldbus above Ecore_Drm
Sumary: Ecore_Drm will use Eldbus library for dbus functionality, so
we need to check for Eldbus first before Ecore_Drm
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Amitesh Singh [Mon, 22 Sep 2014 17:42:36 +0000 (13:42 -0400)]
ecore_x: No need to free NULL value.
NB: This reintroduces the Coverity Resouce Leak detected with CID1039276
Summary:
When ecore_x_window_prop_property_get returns 0, data is already NULL hence
no need to free NULL value. This fault was introduced in
45a2296218b0f297
while fixing coverity defects.
Reviewers: seoz, cedric, raster, devilhorns
Subscribers: cedric, seoz
Differential Revision: https://phab.enlightenment.org/D1473
Tom Hacohen [Mon, 22 Sep 2014 15:08:21 +0000 (16:08 +0100)]
Add missing cmake config for efl libs.
Amitesh Singh [Mon, 22 Sep 2014 12:52:10 +0000 (14:52 +0200)]
epp: fix memory leak.
Reviewers: cedric, seoz
Subscribers: cedric, seoz
Differential Revision: https://phab.enlightenment.org/D1470
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Igor Gala [Mon, 22 Sep 2014 12:24:32 +0000 (14:24 +0200)]
edje: Edje_Edit - get the buffer with sound's data
Summary:
add opportunity get the buffer with sound data for certain sound
from the given edje object. It is needed to play some sound with logic API.
@feature
Reviewers: Hermet, raster, seoz, reutskiy.v.v, NikaWhite, cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1422
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Jean Guyomarc'h [Mon, 22 Sep 2014 12:20:31 +0000 (14:20 +0200)]
evas: Gl_Cocoa - fix early segfault caused by unloaded symbols
Summary:
evas_gl_symbols() (introduced in commit 9a9d78d) was not dlsym()ed
which led to unloaded symbols, so NULL function pointers which were happily
dereferenced, leading to an early segfault, and therefore to a broken engine.
@fix
Reviewers: cedric, raoulh
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1440
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
kabeer khan [Mon, 22 Sep 2014 12:17:26 +0000 (14:17 +0200)]
eina: Remove TODO, add code to delete the modules array
Summary:
As mentioned in TODO in eina_bench.c I added the code to loop through _modules array and delete each item.:
Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: cedric, raster
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1446
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
kabeer khan [Mon, 22 Sep 2014 12:16:00 +0000 (14:16 +0200)]
eina: add test cases for Eina_Trash
Summary:
New test case for Eina_Trash was added
Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: raster, cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1460
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Andrii Kroitor [Mon, 22 Sep 2014 12:14:41 +0000 (14:14 +0200)]
edje: Edje_Edit: fixing text properties setting
Summary:
edje_edit_state_text_source_set shouldn't replace existing text.
edje_edit_state_text_set should update text in other parts, that are using given part as text.text_source
Reviewers: seoz, Hermet, cedric
Reviewed By: cedric
Subscribers: cedric, reutskiy.v.v
Differential Revision: https://phab.enlightenment.org/D1463
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Andrii Kroitor [Mon, 22 Sep 2014 12:13:17 +0000 (14:13 +0200)]
edje: Edje_Edit: add missing part type checks
Summary: added necessary type checks before using typedata
Reviewers: seoz, Hermet, cedric
Subscribers: cedric, reutskiy.v.v
Differential Revision: https://phab.enlightenment.org/D1464
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Anand [Mon, 22 Sep 2014 12:12:02 +0000 (14:12 +0200)]
edje: fix resourse leak in epp.
Summary: Variable prefix going out of scope leaks the storage it points to.
Reviewers: seoz, singh.amitesh, cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1468
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Daniel Kolesa [Mon, 22 Sep 2014 12:19:50 +0000 (13:19 +0100)]
eolian: stringshare del note in 2 more functions
Daniel Kolesa [Mon, 22 Sep 2014 12:16:57 +0000 (13:16 +0100)]
eolian: update docs
Daniel Kolesa [Mon, 22 Sep 2014 11:47:30 +0000 (12:47 +0100)]
eolian: remove some unused funcs
Andrii Kroitor [Mon, 22 Sep 2014 04:51:41 +0000 (13:51 +0900)]
edje_program: added signal "focus,part,out" when focus is discarded
Summary: @fix
Reviewers: cedric, seoz, Hermet
Reviewed By: Hermet
Subscribers: cedric, reutskiy.v.v
Differential Revision: https://phab.enlightenment.org/D1415
Andrii Kroitor [Mon, 22 Sep 2014 01:55:27 +0000 (10:55 +0900)]
edje_edit: added missing funcion declaration
Summary:
added edje_edit_program_filter_state_get and
edje_edit_program_filter_state_set to header
Reviewers: seoz, cedric, Hermet
Reviewed By: Hermet
Subscribers: cedric, reutskiy.v.v
Differential Revision: https://phab.enlightenment.org/D1457
Stefan Schmidt [Fri, 19 Sep 2014 13:55:18 +0000 (15:55 +0200)]
doc: Add footer to display project version and copyright
Like we do in Elementary already.
Stefan Schmidt [Fri, 19 Sep 2014 13:48:12 +0000 (15:48 +0200)]
docs: Sync foooter css style from Elementary
Stefan Schmidt [Fri, 19 Sep 2014 13:25:25 +0000 (15:25 +0200)]
docs: Add eolian and eina c++ pages to main docs page
Make sure these are marked as BETA as we don't guarantee API for these just now.
Stefan Schmidt [Fri, 19 Sep 2014 13:24:58 +0000 (15:24 +0200)]
docs/eolian: Add main landing page for Eolian documentation
Stefan Schmidt [Fri, 19 Sep 2014 13:23:51 +0000 (15:23 +0200)]
docs/eina_cxx: Add main landing page for Eina C++ documentation
Stefan Schmidt [Fri, 19 Sep 2014 12:13:30 +0000 (14:13 +0200)]
docs: Correct D-Bus spelling
vivek [Fri, 19 Sep 2014 13:04:49 +0000 (09:04 -0400)]
Ecore_Wayland: Raise a event when data source target accepts events
Summary:
1) Added data source target struct for target event
2) Raise a event when data source target accepts pointer focus or
motion events
Signed-off-by: vivek <vivek.ellur@samsung.com>
Reviewers: devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1466
vivek [Fri, 19 Sep 2014 12:42:49 +0000 (08:42 -0400)]
Ecore_Wayland: Raise a event when data source cancelled
Summary:
1) Created a event struct for data source cancel event
2) Raise a event when data source is cancelled
Signed-off-by: vivek <vivek.ellur@samsung.com>
Reviewers: devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1465
Jean-Philippe ANDRE [Thu, 18 Sep 2014 07:11:46 +0000 (16:11 +0900)]
Evas filters: Fix parsing of argument lists
Make check would even fail on 32bit machines because of that:
Lua tables are not arrays and lua_next doesn't ensure the order
of the elements as I wrongly assumed.
@fix
Fixes T1615
Jean-Philippe Andre [Fri, 8 Aug 2014 04:46:22 +0000 (13:46 +0900)]
Evas: Directly load ETC2 and ETC1+Alpha formats from Eet
When loading those formats from an Eet file, software fallback was
always happening.
Jean-Philippe Andre [Thu, 24 Jul 2014 06:21:16 +0000 (15:21 +0900)]
Evas DDS: Silently fail when the format is not DDS
Evas can try all image loaders sequentially and they shouldn't
complain that the file does not match their format.
Jean-Philippe Andre [Thu, 17 Jul 2014 05:35:49 +0000 (14:35 +0900)]
Evas GLX: Simplify code
if (A) then B else B
Marcel Hollerbach [Fri, 19 Sep 2014 01:16:37 +0000 (02:16 +0100)]
ecore_con: Fix error goto, scope data should not be freed
Summary:
If the function jumpes to the error, the scope data is freed, this is
wrong, just the object should be destroyed, so not free, just eo_unref
the object. Cause the object is just added above the object ref count
should get 0 and obj will get removed
Test Plan: Use the ecore_con_server_client_limit_set function and set the max count to 1, at the connect of a second client the server will fail at this free.
Reviewers: tasn
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1459
Chris Michael [Thu, 18 Sep 2014 15:57:24 +0000 (11:57 -0400)]
ecore-wayland: Don't crash if we have no shm interface yet when
setting cursor theme
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 18 Sep 2014 15:56:41 +0000 (11:56 -0400)]
ecore-wayland: Allow setting input->cursor_size even if we don't have
the shm interface yet
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Thu, 18 Sep 2014 15:49:36 +0000 (11:49 -0400)]
ecore-wayland should not cause crashes when setting cursor size if display shm is not yet acquired
crash added in
c01c8456fecbf979ce0d4a91d6291a93e56486c8
Srivardhan Hebbar [Thu, 18 Sep 2014 15:03:26 +0000 (11:03 -0400)]
ecore_wayland: Added goto in ecore_init for exit to reduce repetition of code.
Summary:
Instead of repeating the clean-up code if any initialization fails in the init function, I've moved those to one location and added goto.
Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1461
Srivardhan Hebbar [Thu, 18 Sep 2014 14:52:29 +0000 (10:52 -0400)]
ecore_wayland: Added cursor_theme_name in Ecore_Wl_input.
Summary:
1. Added cursor_theme_name to Ecore_Wl_Input struct.
2. Made it configurable through environment variable ECORE_WL_INPUT_CURSOR_THEME_NAME.
3. Added a API ecore_wl_cursor_theme_name_set for user to set manually.
Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1458
Sebastian Dransfeld [Thu, 18 Sep 2014 08:44:18 +0000 (10:44 +0200)]
Evas: Fix crash in hide
During E shutdown I often get a crash here, so check if we have an evas.
@fix
Sebastian Dransfeld [Thu, 18 Sep 2014 07:23:00 +0000 (09:23 +0200)]
efreet: Store known desktop environments
Savio Sena [Thu, 18 Sep 2014 06:05:47 +0000 (07:05 +0100)]
ecore-con: Fixed header to allow compilation in C++.
Summary: C++ takes the second typedef as redefinition and yields errors.
Reviewers: zmike, tasn
Reviewed By: tasn
Subscribers: larry, cedric, felipealmeida
Differential Revision: https://phab.enlightenment.org/D1455
WooHyun Jung [Thu, 18 Sep 2014 04:30:07 +0000 (13:30 +0900)]
examples: Change EINA_TRUE/FALSE to ECORE_CALLBACK_RENEW/CANCEL
Savio Sena [Wed, 17 Sep 2014 18:59:19 +0000 (15:59 -0300)]
autotools: Removed undefined variable from Makefile_Efl.am.
Variable 'efleolianfiles_DATA' used before definition.
Chris Michael [Wed, 17 Sep 2014 13:17:03 +0000 (09:17 -0400)]
ecore-wayland; Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 17 Sep 2014 13:14:39 +0000 (09:14 -0400)]
ecore-wayland: Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Srivardhan Hebbar [Wed, 17 Sep 2014 13:11:46 +0000 (09:11 -0400)]
ecore_wayland: Added cursor_size in Ecore_Wl_Input.
Summary:
1. Added cursor_size to Ecore_Wl_Input struct.
2. Made it configurable through environment variable ECORE_WL_INPUT_CURSOR_SIZE.
3. Added a API ecore_wl_input_cursor_size_set for user to set manually.
Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1456
Conflicts:
src/lib/ecore_wayland/ecore_wl_private.h
Chris Michael [Wed, 17 Sep 2014 12:05:42 +0000 (08:05 -0400)]
ecore-wayland: Move external variable below structure
This commit moves the typedef struct to just above the structure, and
moves the external variable below the structure definition. No real
functional changes, just some cleanup.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Srivardhan Hebbar [Wed, 17 Sep 2014 12:04:40 +0000 (08:04 -0400)]
ecore-wayland: Moving Ecore_Wl_Display to private.
Summary:
Moving "typedef _Ecore_Wl_Display Ecore_Wl_Display" from Ecore_Wayland.h to ecore_wl_private.h.
Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1451
Savio Sena [Tue, 16 Sep 2014 21:16:56 +0000 (18:16 -0300)]
eolian-cxx: Remove warnings during release compilation.
Daniel Kolesa [Tue, 16 Sep 2014 14:10:22 +0000 (17:10 +0300)]
eolian: initialize property type correctly
Jean Guyomarc'h [Tue, 16 Sep 2014 10:11:59 +0000 (12:11 +0200)]
ecore: silent pointless warning when not having epoll
Reviewers: cedric, raster
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1441
Jean Guyomarc'h [Tue, 16 Sep 2014 09:45:27 +0000 (11:45 +0200)]
gitignores: ignore efl-cxx.pc
Reviewers: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1439
Gwanglim Lee [Tue, 16 Sep 2014 09:21:28 +0000 (11:21 +0200)]
ecore-evas: Add missing opengl_drm engine in available engine list
Summary:
This adds opengl_drm to the list of ecore-evas available engines.
Now, we can test opengl_drm engine using expedite.
Test Plan: run expedite with opengl_drm option
Reviewers: devilhorns, stefan_schmidt, cedric, raster
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1453
Gwanglim Lee [Tue, 16 Sep 2014 09:17:38 +0000 (11:17 +0200)]
evas/gl_drm: Remove drm own_fd handling from gl_drm engine
Summary:
These are obsolete codes because evas engines no longer
has a use case for handling the drm file descriptor. And also it
is the same change as what Stefan Schmidt did to evas_drm.
Test Plan: N/A
Reviewers: devilhorns, stefan_schmidt, cedric, raster
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1452
Jihoon Kim [Tue, 16 Sep 2014 05:22:19 +0000 (14:22 +0900)]
Add explanation about ecore_imf_context_retrieve_surrounding_callback_set
ecore_imf_context_retrieve_surrounding_callback_set () is very important to input languages such as Thai.
Ryuan Choi [Mon, 15 Sep 2014 21:56:50 +0000 (06:56 +0900)]
configure: Fix the possible build break after
715da43d3
Added eet into internal dependencies for ethumb_client
I got below errors for ethumb_client
CCLD bin/ethumb_client/ethumbd
lib/edje/.libs/libedje.so: undefined reference to `ecore_imf_context_input_hint_set'
lib/edje/.libs/libedje.so: undefined reference to `ecore_imf_context_input_hint_get'
collect2: error: ld returned 1 exit status
Savio Sena [Mon, 15 Sep 2014 21:53:27 +0000 (18:53 -0300)]
eo-cxx: Added _reset() to efl::eo::base.
Chris Michael [Mon, 15 Sep 2014 19:45:31 +0000 (15:45 -0400)]
ecore-drm: Fix drm VT switching to work again
This commit fixes VT switching in the ecore_drm library code to work
again. Previously we were not dup'ing the stdin fd which lead to
inappropriate ioctls for that fd. Fix that by adding the missing dup
call. This also adds more error messages during ioctl function calls,
and cleans up the switching handler code (for keyboard events).
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Mon, 15 Sep 2014 19:43:14 +0000 (15:43 -0400)]
ecore-drm: Fix missing close of fd on _device_add
If we failed to create an evdev device for an input, we should also be
closing the fd before we return
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Mon, 15 Sep 2014 19:42:26 +0000 (15:42 -0400)]
ecore-drm: Close input device fd on error during open and fix some
todo messages
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Mon, 15 Sep 2014 18:32:49 +0000 (14:32 -0400)]
ecore-drm: Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
MinJeong Kim [Mon, 15 Sep 2014 16:03:52 +0000 (12:03 -0400)]
ecore-drm: added vt switch key event handler
Summary:
Because vt mode of tty is set to VT_PROCESS,
ecore-drm is responsible for managing switch-to or switch-from other vt.
For that, ecore-drm has to handshake with kernel(tty driver).
On switch-from side(A):
1. Listen key event to satisfy vt switch key binding.
2. ioctl(fd, VT_ACTIVE, switch-to-vt) for activating switch-to vt.
3. Receive SIGUSR1(relsig) from kernel.
4. Prepare releasing vt, and ioctl(fd, VT_RELDISP, 1).
On switch-to side(B):
0. Kernel receive VT_RELDISP with value 1(ok) from switch-from vt.
1. Receive SIGUSR2(acqsig) from kernel.
2. ioctl(fd, VT_RELDISP, VT_ACKACQ), and start to setup vt.
This revision added A-1 step on above.
Test Plan:
On booted PC with systemd.
1. launch enlightenment_start with drm and wayland
ex) ECORE_DRM_TTY=/dev/tty1 \
E_WL_FORCE=drm \
ELM_ENGINE=wayland_shm enlightenment_start
2. try to switch vt by pressing "Ctrl + Alt + (F1 ~ F8)"
Reviewers: gwanglim, stefan_schmidt, devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1280
Chris Michael [Mon, 15 Sep 2014 15:44:10 +0000 (11:44 -0400)]
ecore-evas-drm: Implement ecore_evas_pointer_xy_get for drm engine
This implements ecore_evas_pointer_xy_get for the drm engine, However
this is simply using evas_pointer_output_xy_get for the moment because
I need to add ecore_drm functions for getting pointer position.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Mon, 15 Sep 2014 15:23:03 +0000 (11:23 -0400)]
ecore-evas-drm: Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Kai Huuhko [Mon, 15 Sep 2014 11:47:38 +0000 (14:47 +0300)]
mailmap: add my work alias
Kai Huuhko [Mon, 15 Sep 2014 11:38:12 +0000 (14:38 +0300)]
Eolian: Fix a c&p mistake in doc
Kai Huuhko [Mon, 15 Sep 2014 11:34:33 +0000 (14:34 +0300)]
Eolian: Fix a few warnings
"function declaration isn't a prototype"
void was forgotten from empty params list
Jihoon Kim [Sun, 14 Sep 2014 06:22:03 +0000 (15:22 +0900)]
edje: fix build warning in _edje_entry_input_hint_set/get
Thanks for reporting, jeyzu
Cedric BAIL [Fri, 12 Sep 2014 21:11:01 +0000 (23:11 +0200)]
Revert "autotools: Fix 'make distcheck'."
This reverts commit
4341c8a4373fbfeb1a1879b25ca4a496ae214d85.
This patch was pushed I guess after an automatic git rebase without conflict.
Chinmaya Panigrahi [Fri, 12 Sep 2014 21:07:18 +0000 (23:07 +0200)]
edje: prevent resource leak.
Summary:
The pointer used is not freed at the end of the function which
results resource leak.
@fix
Test Plan: Not Available
Reviewers: seoz, raster, cedric
Reviewed By: cedric
Subscribers: raster, seoz, cedric
Differential Revision: https://phab.enlightenment.org/D1438
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Andrii Kroitor [Fri, 12 Sep 2014 21:02:31 +0000 (23:02 +0200)]
edje: Edje_Edit - add edje_edit_program_transition_state_set
Summary:
Set parts into intermediate state of programs transition.
0.0 represents the start state, 1.0 - the final state. Other values will set
parts to an intermediate state taking into account programs transition type.
Reviewers: seoz, Hermet, cedric
Reviewed By: cedric
Subscribers: cedric, reutskiy.v.v
Differential Revision: https://phab.enlightenment.org/D1435
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Andrii Kroitor [Fri, 12 Sep 2014 21:00:47 +0000 (23:00 +0200)]
edje: Edje_Edit - add edje_edit_program_stop_all
Summary:
Stops all running programs. If any program has "after" field its value
will be ignored.
Reviewers: cedric, seoz, Hermet
Subscribers: cedric, reutskiy.v.v
Differential Revision: https://phab.enlightenment.org/D1433
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Savio Sena [Fri, 12 Sep 2014 20:09:48 +0000 (17:09 -0300)]
tests/eolian: Added unit tests for eolian_function_is_constructor().
Savio Sena [Fri, 12 Sep 2014 19:51:37 +0000 (16:51 -0300)]
eolian: Added eolian_function_is_constructor().
This patch adds a list of strings called 'ctor_of' to
_Eolian_Function. This list will contain all classes in which this
function is a constructing function.
ctor_of is filled in two moments:
* When filling the constructors of a class, class->full_name is inserted
in the 'ctor_of' of each constructor's function.
* When filling the implements of a class, if the function is a
constructor of its superclass it also becomes a constructor of the
current class, so class->full_name is also inserted in the 'ctor_of'
of each implement's function.
eolian_function_is_constructor gets a func and klass arguments. It goes
through ctor_of of func and returns EINA_TRUE if klass->full_name is
found, otherwise it returns EINA_FALSE.
Savio Sena [Fri, 12 Sep 2014 19:50:09 +0000 (16:50 -0300)]
eolian-cxx: Refactored eolian_cxx to cope with new Eolian API.
Savio Sena [Fri, 12 Sep 2014 19:48:58 +0000 (16:48 -0300)]
eolian-cxx: Added properties_get() wrapper.
Returns the list of all properties in a class.
Savio Sena [Fri, 12 Sep 2014 19:48:40 +0000 (16:48 -0300)]
eolian-cxx: Added wrappers to handle Eolian_Implements.
Savio Sena [Fri, 12 Sep 2014 19:47:51 +0000 (16:47 -0300)]
eolian-cxx: Added new wrappers to handle Eolian_Function.
function_is_constructor() and function_is_visible().
Savio Sena [Fri, 12 Sep 2014 19:47:07 +0000 (16:47 -0300)]
eolian-cxx: Added wrappers to handle Eolian_Constructor.
Savio Sena [Fri, 12 Sep 2014 19:44:47 +0000 (16:44 -0300)]
eolian-cxx: Make class_name() wrapper return lower-case string.