platform/upstream/efl.git
9 years agoREADME: Remove outdated version number
Stefan Schmidt [Thu, 11 Dec 2014 13:07:15 +0000 (14:07 +0100)]
README: Remove outdated version number

We have the version in configure.ac and NEWS where it gets updated for
releases. This occurrence gets forgotten to often on the other hand. Its
not needed here so we remove it.

9 years agoEvas: Stop installing Evas_Engine_Stuff.h
Jean-Philippe Andre [Wed, 10 Dec 2014 11:26:55 +0000 (20:26 +0900)]
Evas: Stop installing Evas_Engine_Stuff.h

Those really are internals shared between ecore and evas.
Considering ecore & evas are just part of EFL, and expedite
now doesn't even rely on these headers anymore, we can safely
remove them from the dist packages.

This will allow us to break this seemingly internal API/ABI.

9 years agoecore-drm: Free devices before we release the libinput reference
Chris Michael [Wed, 10 Dec 2014 19:26:52 +0000 (14:26 -0500)]
ecore-drm: Free devices before we release the libinput reference

Summary: When destroying evdev devices, we make calls to
libinput_device_unref ... but we cannot Make that call if the libinput
context has been destroyed already (as happens when we free input). So
to fix, don't release the libinput context until all devices have been
released.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-gl-common: Fix issue with Coverity reporting null dereferences
Chris Michael [Wed, 10 Dec 2014 18:30:51 +0000 (13:30 -0500)]
evas-gl-common: Fix issue with Coverity reporting null dereferences

Summary: This fixes Coverity CID1257606 and CID1257607: Dereferencing
null return value. _evgl_tls_resource_get Can return NULL so we should
be checking that returned value before trying to use it

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeldbus: Fix possible null dereference reported by Coverity
Chris Michael [Wed, 10 Dec 2014 18:24:54 +0000 (13:24 -0500)]
eldbus: Fix possible null dereference reported by Coverity

Summary: Fix Coverity CID1256952: reports a null derefence here due to
eldbus_message_new returning NULL, thus causing a null dereference
when trying to set reply->dbus_msg

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Don't declare sprite variable unless we need it, also fix
Chris Michael [Wed, 10 Dec 2014 17:17:37 +0000 (12:17 -0500)]
ecore-drm: Don't declare sprite variable unless we need it, also fix
some formatting.

Summary: This commit saves from declaring variable for
Ecore_Drm_Sprite unless we are going inactive and need to iterate
sprites. (and also fixes some formatting)

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Fix formatting
Chris Michael [Wed, 10 Dec 2014 17:14:25 +0000 (12:14 -0500)]
ecore-drm: Fix formatting

Summary: No functional changes, just formatting fixes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Fix formatting
Chris Michael [Wed, 10 Dec 2014 17:13:33 +0000 (12:13 -0500)]
ecore-drm: Fix formatting

Summary: No functional changes, just formatting fixes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add event to notify session activation state.
Seunghun Lee [Wed, 10 Dec 2014 17:12:21 +0000 (12:12 -0500)]
ecore-drm: Add event to notify session activation state.

Summary:
this event is to notify session activation state to compositor.
thus compositor can change composite state by this event.

Reviewers: devilhorns

Subscribers: torori, cedric

Differential Revision: https://phab.enlightenment.org/D1767

9 years agoecore-drm: Finish implementing touch events
Chris Michael [Wed, 10 Dec 2014 17:01:16 +0000 (12:01 -0500)]
ecore-drm: Finish implementing touch events

Summary: This fixes the touch events to actually send button down/up
when the proper touch event occurs

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Also update device calibration when output size changes
Chris Michael [Wed, 10 Dec 2014 17:00:22 +0000 (12:00 -0500)]
ecore-drm: Also update device calibration when output size changes

Summary: When the output size gets updated, it could end up changing
the device calibration (wrt input event transformation), so we should
update the device calibration also

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-evas-drm: Fix up error handling
Chris Michael [Wed, 10 Dec 2014 15:45:43 +0000 (10:45 -0500)]
ecore-evas-drm: Fix up error handling

Summary: Due to the change of order in creating outputs & inputs, we
need an additional goto error for destroying inputs if output_create
fails

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-evas-drm: Create inputs before we create outputs
Chris Michael [Wed, 10 Dec 2014 15:43:59 +0000 (10:43 -0500)]
ecore-evas-drm: Create inputs before we create outputs

Summary: Call function to create drm input devices Before we create
outputs. This is done so that when outputs Do get created, it will
update the input's known size of output for device coordinate
transformation

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Comment out debug line for unhandled touch_frame event
Chris Michael [Wed, 10 Dec 2014 15:43:28 +0000 (10:43 -0500)]
ecore-drm: Comment out debug line for unhandled touch_frame event

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Update pointer motion event coordinates
Chris Michael [Wed, 10 Dec 2014 15:19:54 +0000 (10:19 -0500)]
ecore-drm: Update pointer motion event coordinates

Summary: This fixes pointer motion events to be transformed based on
output coordinates

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Transform touch events into output coordinates
Chris Michael [Wed, 10 Dec 2014 15:17:54 +0000 (10:17 -0500)]
ecore-drm: Transform touch events into output coordinates

Summary: This updates touch events to be transformed into output
coordinates

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add internal function to set the output size in the input
Chris Michael [Wed, 10 Dec 2014 15:16:24 +0000 (10:16 -0500)]
ecore-drm: Add internal function to set the output size in the input
device structure

Summary: This is used to update all input devices as to the new output
size so that input device events can get their coordinates transformed
into output coords

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Update input devices with new output size
Chris Michael [Wed, 10 Dec 2014 15:15:57 +0000 (10:15 -0500)]
ecore-drm: Update input devices with new output size

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add output size to device structure and add internal
Chris Michael [Wed, 10 Dec 2014 15:15:10 +0000 (10:15 -0500)]
ecore-drm: Add output size to device structure and add internal
function for setting size

Summary: This is needed so that events for mouse, touch, etc can get
transformed into output coordinates

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Fix formatting
Chris Michael [Wed, 10 Dec 2014 15:04:22 +0000 (10:04 -0500)]
ecore-drm: Fix formatting

Summary: No functional changes, just formatting fixes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Fix usage of EINA_LIST_FREE
Chris Michael [Wed, 10 Dec 2014 15:00:13 +0000 (10:00 -0500)]
ecore-drm: Fix usage of EINA_LIST_FREE

Summary: When we exit the backlight_init function, we should
stringshare_del the returned device strings from eeze properly

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Fix formatting
Chris Michael [Wed, 10 Dec 2014 14:59:48 +0000 (09:59 -0500)]
ecore-drm: Fix formatting

Summary: No functional changes, just fixing formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Handle various touch events
Chris Michael [Wed, 10 Dec 2014 14:45:29 +0000 (09:45 -0500)]
ecore-drm: Handle various touch events

Summary: This adds code to handle various touch events (up, down,
motion) so that touchscreen devices can work with ecore_drm.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Remove libinput log print callback
Chris Michael [Wed, 10 Dec 2014 14:44:38 +0000 (09:44 -0500)]
ecore-drm: Remove libinput log print callback

Summary: This was causing crashes in libinput when trying to print out
via eina_log. Disable/Remove it. Let libinput print it's own logs.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoelua: always install cmake stuff for elua, even when not being built
Daniel Kolesa [Wed, 10 Dec 2014 15:25:00 +0000 (15:25 +0000)]
elua: always install cmake stuff for elua, even when not being built

9 years agoecore_drm: Setup correct linker flags for usage with systemd-login
Stefan Schmidt [Wed, 10 Dec 2014 14:09:44 +0000 (15:09 +0100)]
ecore_drm: Setup correct linker flags for usage with systemd-login

After the introduction of the non-systemd launcher the linking with systemd
enabled failed for me.

lib/ecore_drm/.libs/libecore_drm.so: undefined reference to `sd_pid_get_session'

Better we make sure that we actually setup the linker flags for the systemd use
case as well.

9 years agomodules/tgv: Switch from obsolete LZ4_uncompress function to LZ4_decompress_fast
Stefan Schmidt [Wed, 10 Dec 2014 13:47:42 +0000 (14:47 +0100)]
modules/tgv: Switch from obsolete LZ4_uncompress function to LZ4_decompress_fast

The function is declared as obsolete and in some newer headers it is no
longer defined. The new function is the same besides the name change.

9 years agoconfigure: Fix typo in systemd-login check
Stefan Schmidt [Wed, 10 Dec 2014 13:43:19 +0000 (14:43 +0100)]
configure: Fix typo in systemd-login check

9 years agoeet: Switch from obsolete LZ4_uncompress function to LZ4_decompress_fast
Stefan Schmidt [Wed, 10 Dec 2014 13:34:42 +0000 (14:34 +0100)]
eet: Switch from obsolete LZ4_uncompress function to LZ4_decompress_fast

The function is declared as obsolete and in some newer headers it is no
longer defined. The new function is the same besides the name change.

9 years agoecore-drm: fix passing wrong argument to open().
Seunghun Lee [Wed, 10 Dec 2014 13:04:32 +0000 (08:04 -0500)]
ecore-drm: fix passing wrong argument to open().

Summary: remove unintended argument.

@fix

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1765

9 years agoecore-drm: restore VT to text mode when close tty.
Seunghun Lee [Wed, 10 Dec 2014 13:03:44 +0000 (08:03 -0500)]
ecore-drm: restore VT to text mode when close tty.

Summary: if ecore-drm failed to be run after changing tty mode, need to restore VT to text mode.

Test Plan:
- run enlightenment(drm backend) without systemd.
after changing tty graphics mode, if it's failed to be run by any reason,
you'll see black screen and coulnd't control session.

@fix

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1764

9 years agoecore-drm: cleanup data when failed to setup tty.
Seunghun Lee [Wed, 10 Dec 2014 13:02:45 +0000 (08:02 -0500)]
ecore-drm: cleanup data when failed to setup tty.

Summary: added code to free string of tty's name when failed to setup tty.

@fix

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1763

9 years agoecore_drm: Removed unused variables in ecore_drm_evdev
kabeer khan [Wed, 10 Dec 2014 13:01:19 +0000 (08:01 -0500)]
ecore_drm: Removed unused variables in ecore_drm_evdev

Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

@fix

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1762

9 years agoecore-drm: Added cleanup data code as a error handling of connect logind.
Seunghun Lee [Wed, 10 Dec 2014 13:00:17 +0000 (08:00 -0500)]
ecore-drm: Added cleanup data code as a error handling of connect logind.

Summary: need to clean also dbus, when failed open VT as a connection progress of logind.

@fix

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1756

9 years agoecore-drm: Fix formatting.
Chris Michael [Wed, 10 Dec 2014 12:59:10 +0000 (07:59 -0500)]
ecore-drm: Fix formatting.

Summary: No functional changes, just formatting fixes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoedge: fix memory leak and removed redundant return statement.
Srivardhan Hebbar [Wed, 10 Dec 2014 10:19:59 +0000 (11:19 +0100)]
edge: fix memory leak and removed redundant return statement.

Summary:
The name was freed after exit, so freeing it before and also freeing in a error case. There was a return statement after exit, thought it was redundant and removed.
@fix

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: devilhorns, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1758

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_audio: fix memory leak in ecore_audio_pulse.
kabeer khan [Wed, 10 Dec 2014 10:19:18 +0000 (11:19 +0100)]
ecore_audio: fix memory leak in ecore_audio_pulse.

Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

@fix

Reviewers: devilhorns, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1761

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: Edje_Edit - generate missed properties of 'text' block
Maksym Volodin [Wed, 10 Dec 2014 02:44:50 +0000 (03:44 +0100)]
edje: Edje_Edit - generate missed properties of 'text' block

Summary:
missed souce, text-source, repch, size_range, style are added.
TODO is added for filter property.

Reviewers: Hermet, raster, cedric

Subscribers: cedric, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D1754

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoEvas GL: Fix direct rendering with client-side rotation
Jean-Philippe Andre [Tue, 9 Dec 2014 12:36:45 +0000 (21:36 +0900)]
Evas GL: Fix direct rendering with client-side rotation

There was a problem when checking whether the current surface
is compatible with direct rendering. In case of client-side
rotation (it's a flag set on the surface by the app), a surface
can be directly rendered even if the rotation is not 0.

But, before this patch, it was assumed that the surface was
current. Which doesn't make sense because make_current is
called by the pixel callback, from the application, and this
happens *after* we check for direct rendering.

As a consequence, it was not possible to mix directly rendered
surfaces with FBO-based ones, and use client-side rotation.

This patch should solve that issue.

9 years agoevil: add getpwnam() function
Vincent Torri [Tue, 9 Dec 2014 19:35:15 +0000 (20:35 +0100)]
evil: add getpwnam() function

@feature

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecoreodrm - fix build if systemd is not enabled
Carsten Haitzler (Rasterman) [Tue, 9 Dec 2014 23:54:02 +0000 (08:54 +0900)]
ecoreodrm - fix build if systemd is not enabled

9 years agoecore-drm: Merge port to libinput
Chris Michael [Tue, 9 Dec 2014 20:16:27 +0000 (15:16 -0500)]
ecore-drm: Merge port to libinput

Merge branch 'devs/devilhorns/libinput'

Summary: These commits port the current ecore_drm input code to use
libinput for handling of devices, input events, etc

@feature

9 years agoecore-drm: Port ecore_drm to use libinput
Chris Michael [Tue, 9 Dec 2014 20:13:49 +0000 (15:13 -0500)]
ecore-drm: Port ecore_drm to use libinput

Summary: This ports the input code of ecore_drm to make use of
libinput for handling of devices, events, etc

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Fix ecore_drm_launcher_device_close to not cause segfaults
Chris Michael [Tue, 9 Dec 2014 20:12:36 +0000 (15:12 -0500)]
ecore-drm: Fix ecore_drm_launcher_device_close to not cause segfaults

Summary: We can only call _ecore_drm_logind_device_close if we have an
actual device string. It is possible that this Could get called with
NULL, and thus cause a crash.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Cleanup structures in private header
Chris Michael [Tue, 9 Dec 2014 20:11:46 +0000 (15:11 -0500)]
ecore-drm: Cleanup structures in private header

Summary: With the port to libinput, some fields in the input & evdev
structures are not needed anymore, so this commit cleans those up.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeeze: Add API function for eeze_udev_find_by_subsystem_sysname
Chris Michael [Tue, 9 Dec 2014 20:10:43 +0000 (15:10 -0500)]
eeze: Add API function for eeze_udev_find_by_subsystem_sysname

Summary: This adds an API function to find a device by
subsystem_sysname. This is needed for the port of ecore_drm to use
libinput.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeeze: Add API function declaration for find_by_subsystem_sysname
Chris Michael [Tue, 9 Dec 2014 20:09:25 +0000 (15:09 -0500)]
eeze: Add API function declaration for find_by_subsystem_sysname

Summary: This adds an API function declaration for
eeze_udev_find_by_subsystem_sysname function which is needed for the
porting of ecore_drm to use libinput

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Include libinput header in drm private header
Chris Michael [Tue, 9 Dec 2014 15:00:29 +0000 (10:00 -0500)]
ecore-drm: Include libinput header in drm private header

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add libinput dependency check
Chris Michael [Tue, 9 Dec 2014 14:58:27 +0000 (09:58 -0500)]
ecore-drm: Add libinput dependency check

Summary: ecore-drm will now require libinput for handling input
devices, so this commit adds a configure check for libinput

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Fix formatting
Chris Michael [Tue, 9 Dec 2014 14:52:24 +0000 (09:52 -0500)]
ecore-drm: Fix formatting

Summary: No functional changes, just fixing formatting

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Fix error message typo
Chris Michael [Tue, 9 Dec 2014 14:50:59 +0000 (09:50 -0500)]
ecore-drm: Fix error message typo

Summary: This just fixes a typo in the error message string

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: added drm launcher that is allow to determine whether to launch with login...
Seunghun Lee [Tue, 9 Dec 2014 14:36:42 +0000 (09:36 -0500)]
ecore-drm: added drm launcher that is allow to determine whether to launch with logind or root privilege.

Summary:
- allow to launch drm backend without systemd-logind with root privilege.
- allow to open drm device node via logind, not directly open it, in case exist systemd-logind.
- fixes issue that couldn't switch session, because ecore-drm couldn't drop master to drm device with no permission. (allow to switch session appropriate.)

Reviewers: gwanglim, devilhorns

Subscribers: torori, cedric

Differential Revision: https://phab.enlightenment.org/D1704

9 years agoethumb: Fixing eina_init to eina_shutdown.
Srivardhan Hebbar [Tue, 9 Dec 2014 14:24:38 +0000 (09:24 -0500)]
ethumb: Fixing eina_init to eina_shutdown.

Summary:
In the end we should call eina_shutdown, but by mistake eina_init is being called. So have corrected that.

@fix

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1751

9 years agoevas_xcb_outbuf: fix memory leak
kabeer khan [Tue, 9 Dec 2014 14:22:41 +0000 (09:22 -0500)]
evas_xcb_outbuf: fix memory leak

Summary: This fixes a leak in the xcb engine where the Outbuf_Region
was not being freed.

@fix

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1750

9 years agoeina: removed multiple eina_init call.
Srivardhan Hebbar [Tue, 9 Dec 2014 10:16:42 +0000 (11:16 +0100)]
eina: removed multiple eina_init call.

Summary:
I observed that eina_init() was called twice in this function and eina_shutdown() once. So thought this might be a mistake, and so have cleaned it.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: devilhorns, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1748

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoEvas GL: Fix scissors with direct rendering
Jean-Philippe Andre [Tue, 9 Dec 2014 09:35:35 +0000 (18:35 +0900)]
Evas GL: Fix scissors with direct rendering

If an app calls glDisable(SCISSORS) and uses direct rendering,
then the DR scissors were dropped and so glClear would erase
the contents of the entire canvas, instead of being restricted
to the image object.

9 years agoEvas GL: Fix current FBO after make_current(0, 0)
Jean-Philippe Andre [Tue, 9 Dec 2014 09:02:20 +0000 (18:02 +0900)]
Evas GL: Fix current FBO after make_current(0, 0)

Example scenario:
- Create a direct rendered Evas GL 'sfc' 'ctx'
- Create a PBuffer dummy surface, make it current
- Do some stuff
- Make current (NULL, NULL) to go back to no target
- Make current (sfc, ctx)
--> glClear() will not render anything on screen

Reason:
The current FBO binding is still set to the implicit FBO
bound to the PBuffer surface (it could be any surface, really).

9 years agoedje/edje_cc: don't limit the bezier cubic minium value to 0.
ChunEon Park [Tue, 9 Dec 2014 07:59:58 +0000 (16:59 +0900)]
edje/edje_cc: don't limit the bezier cubic minium value to 0.

No need to limit the minimum value to 0.
let user have a choice.

9 years agoecore/animator: improve the doc description.
ChunEon Park [Tue, 9 Dec 2014 07:51:08 +0000 (16:51 +0900)]
ecore/animator: improve the doc description.

9 years agoecore/animator: code refactoring.
ChunEon Park [Tue, 9 Dec 2014 07:43:23 +0000 (16:43 +0900)]
ecore/animator: code refactoring.

renamed to more meaningful name.
don't stupid computaion twice.

9 years agoecore/animator: fix the wrong computation of bezier cubic.
ChunEon Park [Tue, 9 Dec 2014 07:27:29 +0000 (16:27 +0900)]
ecore/animator: fix the wrong computation of bezier cubic.

Previous beizer cubic finds t value approximately.
In this sequence, there were 2 problems.

1. Previous guess_t value should be passed to differential equation to get the more accurate t value.
2. Guessing time count is not enough. I found 6 is enough time to get the t value experimentally. Previously it just tried 4 times on the other hand.

@fix

9 years agoRevert "ecore/animator: fix the bezier cubic compuation."
ChunEon Park [Tue, 9 Dec 2014 03:19:03 +0000 (12:19 +0900)]
Revert "ecore/animator: fix the bezier cubic compuation."

This reverts commit 2e1032e28f0cd704ffaf28cea0b5ad533ae2b6c1.

This patch is wrong. On reviewing the origin implementation.

9 years agoRevert "ecore/animator: simpler code"
ChunEon Park [Tue, 9 Dec 2014 03:18:48 +0000 (12:18 +0900)]
Revert "ecore/animator: simpler code"

This reverts commit 44f0f3e1707f0ade71eb7ccab5ecc70494c00ad8.

9 years agoedje: Edje_Edit - generate 'perspective' block
Maksym Volodin [Tue, 9 Dec 2014 02:10:59 +0000 (03:10 +0100)]
edje: Edje_Edit - generate 'perspective' block

Summary: Adds focal and zplane perspective to the part when generating an EDC.

Reviewers: Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D1742

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: Edje_Edit - add generation of missed properties of 'image' block.
Kateryna Fesyna [Tue, 9 Dec 2014 02:07:27 +0000 (03:07 +0100)]
edje: Edje_Edit - add generation of missed properties of 'image' block.

Summary: add generation of missed parameters: scale_hint, border_scale and border_scale_by.

Reviewers: Hermet, cedric, raster

Subscribers: cedric, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D1741

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoEvas font: Improve RLE rounding alpha8 to alpha44
Jean-Philippe Andre [Tue, 9 Dec 2014 02:00:38 +0000 (11:00 +0900)]
Evas font: Improve RLE rounding alpha8 to alpha44

This should ensure that the difference between the original
pixel value and the rle4 encoded one is <= 8.

The previous fix was a bit stupid as it was not taking into
account the conversion a4 to a8 (which is a8 = (a4 << 4) | a4).

9 years agoelocation test binary variables should not be defined if tests don't exist
Mike Blumenkrantz [Mon, 8 Dec 2014 20:26:09 +0000 (15:26 -0500)]
elocation test binary variables should not be defined if tests don't exist

src/Makefile_Elocation.am:32: warning: variable 'tests_elocation_elocation_suite_SOURCES' is defined but no program or
src/Makefile_Elocation.am:32: library has 'tests_elocation_elocation_suite' as canonical name (possible typo)
src/Makefile.am:82:   'src/Makefile_Elocation.am' included from here
src/Makefile_Elocation.am:41: warning: variable 'tests_elocation_elocation_suite_LDADD' is defined but no program or
src/Makefile_Elocation.am:41: library has 'tests_elocation_elocation_suite' as canonical name (possible typo)
src/Makefile.am:82:   'src/Makefile_Elocation.am' included from here
src/Makefile_Elocation.am:42: warning: variable 'tests_elocation_elocation_suite_DEPENDENCIES' is defined but no program or
src/Makefile_Elocation.am:42: library has 'tests_elocation_elocation_suite' as canonical name (possible typo)
src/Makefile.am:82:   'src/Makefile_Elocation.am' included from here

9 years agobuild fix for elua binary when using -jX
Mike Blumenkrantz [Mon, 8 Dec 2014 20:23:43 +0000 (15:23 -0500)]
build fix for elua binary when using -jX

libtool: link: cannot find the library `lib/elua/libelua.la' or unhandled argument `lib/elua/libelua.la'
make[2]: *** [bin/elua/elua] Error 1

9 years agoupower module now errors and kills itself off when unsupported new version detected
Mike Blumenkrantz [Mon, 8 Dec 2014 20:02:05 +0000 (15:02 -0500)]
upower module now errors and kills itself off when unsupported new version detected

0.99.0 removed the OnLowBattery property and added the per-device WarningLevel property. this requires what will effectively be a full rewrite of the module to track all the power levels of all the attached batteries and set the ecore power level somehow based on a combination of their levels

since I have no desire to spend any more hours working on and debugging this module which is based on a known-unstable api, I'm making it disable itself if it detects a version >= 0.99.0. hopefully someone will decide to maintain both this and eldbus in the future so that we can more accurately track upstream when they make changes to these things

ref T1908

ref T1909

9 years agoeldbus hackaround for proxy deletion during pending callback
Mike Blumenkrantz [Mon, 8 Dec 2014 19:55:30 +0000 (14:55 -0500)]
eldbus hackaround for proxy deletion during pending callback

this is merely a way to avoid crashing immediately when the referenced bug is triggered. it does not fix the problem.

ref T1908

9 years agoelua: add pc file into gitignore
Daniel Kolesa [Mon, 8 Dec 2014 16:13:02 +0000 (16:13 +0000)]
elua: add pc file into gitignore

9 years agoelua: add elua.pc to configure.ac and add cmake definitions for elua
Daniel Kolesa [Mon, 8 Dec 2014 16:11:35 +0000 (16:11 +0000)]
elua: add elua.pc to configure.ac and add cmake definitions for elua

9 years agoelua: add pkg-config for the elua library
Daniel Kolesa [Mon, 8 Dec 2014 15:59:13 +0000 (15:59 +0000)]
elua: add pkg-config for the elua library

9 years agoeina: Refactored code and removed unwanted assignment.
Srivardhan Hebbar [Mon, 8 Dec 2014 13:46:50 +0000 (14:46 +0100)]
eina: Refactored code and removed unwanted assignment.

Summary:
Removed unused assignment for length.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1739

9 years agoelua: initial skeleton for the Elua library
Daniel Kolesa [Mon, 8 Dec 2014 11:38:04 +0000 (11:38 +0000)]
elua: initial skeleton for the Elua library

Because of Bob and other things, it is required to separate the functionality currently
provided by the elua binary into a library. This library will then be used by the elua
binary as well as any other project.

9 years agoevas/gl_drm: Fix warning
Gwanglim Lee [Mon, 8 Dec 2014 10:07:27 +0000 (19:07 +0900)]
evas/gl_drm: Fix warning

Using int instead of uint32_t.

9 years agoEvas font: Compress font algo should round instead of floor
Jean-Philippe Andre [Mon, 8 Dec 2014 04:50:44 +0000 (13:50 +0900)]
Evas font: Compress font algo should round instead of floor

This is an attempt at having higher quality font rendering
while still using RLE-based font compression.

9 years agoeina_thread: fix memory leak
kabeer khan [Mon, 8 Dec 2014 08:19:28 +0000 (09:19 +0100)]
eina_thread: fix memory leak

Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1737

9 years agoeina: corrected documentation of ecore_hash_destroy function in benchmarj.
Srivardhan Hebbar [Mon, 8 Dec 2014 08:18:08 +0000 (09:18 +0100)]
eina: corrected documentation of ecore_hash_destroy function in benchmarj.

Summary:
ecore_hash_destroy function return nothing, still in the documentation of the function, it was mentioned that it would return true or false. So corrected the documentation.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: devilhorns, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1738

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore-wayland: make possible to disable xdg-shell at runtime
Philippe Coval [Fri, 5 Dec 2014 19:02:16 +0000 (14:02 -0500)]
ecore-wayland: make possible to disable xdg-shell at runtime

Summary:
Since xdg-shell is not yet supported officialy by wayland
It makes sense to have it disabled by default
and enable it on purpose.

Using env variable : EFL_WAYLAND_DONT_USE_XDG_SHELL
(name is inspired from Qt implementation of xdg-shell
but in the opposite way)

There is no EFL_WAYLAND_USE_XDG_SHELL in efl,
please use EFL_WAYLAND_DONT_USE_XDG_SHELL instead.

By default xdg-shell is enabled since it's supported by efl

Since there is only one shell supported at runtime
it's easier to switch to wl-shell (wayland's fallback shell)
by change this env variable.

Note, this patch can be reverted once xdg-shell replaces wl-shell
in wayland which is not the case in weston-1.6
but could integrated into upcoming wayland-1.7
(to be confirmed on release)

Change-Id: Id3732492397df9abe4a7c9e6e92a8f2c993c8395
Bug: https://phab.enlightenment.org/T1901
Bug-Tizen: TC-1353/part
Forwarded: https://phab.enlightenment.org/T1901
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
Tizen Test Plan: echo 'export EFL_WAYLAND_DONT_USE_XDG_SHELL=defined' > /etc/profile.d/ecore.sh

Reviewers: seoz, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1734

9 years agoeeze_scanner now has separate return codes for various startup-related failures
Mike Blumenkrantz [Fri, 5 Dec 2014 18:35:14 +0000 (13:35 -0500)]
eeze_scanner now has separate return codes for various startup-related failures

ref T1612

9 years agoeeze_scanner needs to hash on the address of the pointer and not use direct_add()
Mike Blumenkrantz [Fri, 5 Dec 2014 18:34:11 +0000 (13:34 -0500)]
eeze_scanner needs to hash on the address of the pointer and not use direct_add()

this is an @fix for the constant crashing

ref T1612

9 years agoecore-con now prints error messages when local socket creation fails
Mike Blumenkrantz [Fri, 5 Dec 2014 18:19:49 +0000 (13:19 -0500)]
ecore-con now prints error messages when local socket creation fails

9 years agoecore-evas-wayland: Fix issue with ELM_PROFILE=mobile and windows not
Chris Michael [Fri, 5 Dec 2014 17:49:42 +0000 (12:49 -0500)]
ecore-evas-wayland: Fix issue with ELM_PROFILE=mobile and windows not
showing up correctly.

Summary: If elm config profile is set to Mobile, then the
auto_norender_withdrawn is set to 1, which was causing Elm windows to
not draw properly due to the ee->withdrawn property not being updated.
It was not getting updated due to these checks for override.

NB: Tested this with all elm profiles, tested in weston, and tested in
Enlightenment (Wayland).

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeldbus: Use the timeout parameter on eldbus_proxy_send_and_block()
José Roberto de Souza [Fri, 5 Dec 2014 03:04:20 +0000 (01:04 -0200)]
eldbus: Use the timeout parameter on eldbus_proxy_send_and_block()

Sorry by bad I had forgot to use the new parameter.

9 years agoeldbus: Add timeout parameter to eldbus_proxy_send_and_block()
José Roberto de Souza [Fri, 5 Dec 2014 03:04:20 +0000 (01:04 -0200)]
eldbus: Add timeout parameter to eldbus_proxy_send_and_block()

As all other send functions have, we need to have here.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeldbus: Fix _eldbus_connection_send_and_block()
José Roberto de Souza [Fri, 5 Dec 2014 03:01:37 +0000 (01:01 -0200)]
eldbus: Fix _eldbus_connection_send_and_block()

Some problems with the actual implementation:
- the reply should not be writable, as it can only be read.
- if an error happen dbus_connection_send_with_reply_and_block()
will return NULL so we need check before use it
- all other send calls remove one reference of the message

Now also it is creating a error message, so the caller can know why it fail.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore/animator: simpler code
ChunEon Park [Fri, 5 Dec 2014 14:24:16 +0000 (23:24 +0900)]
ecore/animator: simpler code

9 years agoecore/animator: fix the bezier cubic compuation.
ChunEon Park [Fri, 5 Dec 2014 14:17:38 +0000 (23:17 +0900)]
ecore/animator: fix the bezier cubic compuation.

The previous compuation is totally wrong.
Even it doesn't work correctly.
(I have no idea what the orignal author was thinking?)

Here we just need a simple and clear fomular to get the current progress frame.

If i'm wrong, please ping me.

@fix

9 years agoEo: fix error handling when too many deletions invocations occur.
Daniel Zaoui [Fri, 5 Dec 2014 01:19:47 +0000 (03:19 +0200)]
Eo: fix error handling when too many deletions invocations occur.

Before this fix, when a deletion was invoked twice on an object, a
wrong message ("...You wrongly call eo_unref() within a destructor...")
was printed. This was caused by the del_triggered flag that was not
resetted when the destruction finished.

This patch fixes this behavior by printing the right message on a double
deletion.

9 years agoeldbus: Add actual API function code for eldbus_proxy_send_and_block
Chris Michael [Thu, 4 Dec 2014 14:48:21 +0000 (09:48 -0500)]
eldbus: Add actual API function code for eldbus_proxy_send_and_block

Summary: This adds the actual code to send a dbus message and block
while waiting for a reply.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeldbus: Add code for _eldbus_connection_send_and_block function
Chris Michael [Thu, 4 Dec 2014 14:47:01 +0000 (09:47 -0500)]
eldbus: Add code for _eldbus_connection_send_and_block function

Summary: This function will send a message to dbus and block while
waiting for a reply

NB: This is needed for our 'port to libinput', and for our 'opening up the
drm card without systemd' efforts

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeldbus: Add API function declaration for eldbus_proxy_send_and_block
Chris Michael [Thu, 4 Dec 2014 14:45:51 +0000 (09:45 -0500)]
eldbus: Add API function declaration for eldbus_proxy_send_and_block

Summary: This adds a public facing API function to make dbus calls
which will block and wait for a reply. This is needed for a couple of
use cases in our Wayland efforts (libinput, etc).

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeldbus: Add function prototype for send_and_block
Chris Michael [Thu, 4 Dec 2014 14:43:50 +0000 (09:43 -0500)]
eldbus: Add function prototype for send_and_block

Summary: This just adds the function prototype into the eldbus private
header. It will be used in the new proxy function
"eldbus_proxy_send_and_block"

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore: Fix @since version to 1.13 for new API
Stefan Schmidt [Thu, 4 Dec 2014 14:02:34 +0000 (15:02 +0100)]
ecore: Fix @since version to 1.13 for new API

1.3 is acient so we really will release this with 1.13.
Removed some trailing whitespaces devilhorns added. :)

9 years agoecore: Add code for new API function 'ecore_main_loop_nested_get'
Chris Michael [Thu, 4 Dec 2014 13:56:43 +0000 (08:56 -0500)]
ecore: Add code for new API function 'ecore_main_loop_nested_get'

Summary: This commit adds the actual code to the function, which
returns the 'in_main_loop' variable so that we can detect if the
ecore_main_loop is actually running.

NB: Will be needed for new eldbus API function (yet to add).

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore: Add a new API function ecore_main_loop_nested_get
Chris Michael [Thu, 4 Dec 2014 13:54:48 +0000 (08:54 -0500)]
ecore: Add a new API function ecore_main_loop_nested_get

Summary: This commit adds a new function 'ecore_main_loop_nested_get'
so that we can detect if the ecore_main_loop is running.

NB: This is going to be needed for a new eldbus function that we have
to add in order to handle a use-case on the Wayland side. Spoke with
cedric for a while wrt to all this, and he gave it his 'ok' ;)

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoconfigure: Add note about automake 1.14 problem
Stefan Schmidt [Thu, 4 Dec 2014 13:11:35 +0000 (14:11 +0100)]
configure: Add note about automake 1.14 problem

Maybe we can remove this once it is fixed and the fixed version it widely used.

9 years agobuild: support automake-1.14
Philippe Coval [Thu, 4 Dec 2014 12:50:58 +0000 (13:50 +0100)]
build: support automake-1.14

Summary:
This was needed to install example on purposes

The problem is that the install_sh* variables
in generated makefiles are expanding to ~/install-sh
which is wrong and should be the one in root source tree

Change-Id: I5311298864a5f042de90071cb6dfaefbefdf001a
Bug: https://phab.enlightenment.org/T1889
Bug-Tizen: TC-2177
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
Reviewers: seoz

Subscribers: stefan_schmidt, cedric

Maniphest Tasks: T1889

Differential Revision: https://phab.enlightenment.org/D1724

9 years agoevas/examples: fix warnings.
ChunEon Park [Thu, 4 Dec 2014 10:47:41 +0000 (19:47 +0900)]
evas/examples: fix warnings.

removed unused.