platform/upstream/efl.git
9 years agoecore-drm: Default device->session to NULL
Chris Michael [Thu, 22 Jan 2015 17:36:00 +0000 (12:36 -0500)]
ecore-drm: Default device->session to NULL

Summary: This sets the default session to NULL when a device is
created. Also a formatting fix

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Store session name inside dev structure and don't
Chris Michael [Thu, 22 Jan 2015 17:34:38 +0000 (12:34 -0500)]
ecore-drm: Store session name inside dev structure and don't
take/release session control inside dbus functions

Summary: These changes move the storage of session name to inside the
Ecore_Drm_Device structure and remove calls to take/release session
control to outside of the dbus code

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore: Remove potentially useless 'else' branches
Chris Michael [Thu, 22 Jan 2015 15:59:03 +0000 (10:59 -0500)]
ecore: Remove potentially useless 'else' branches

Summary: We actually don't need an else branch here if we don't have
USE_G_MAIN_LOOP

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore: Remove blank line
Chris Michael [Thu, 22 Jan 2015 15:58:34 +0000 (10:58 -0500)]
ecore: Remove blank line

Summary: No functional changes, just removing an empty line

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agorelease: Update NEWS and bump version for 1.13.0-beta2 release v1.13.0-beta2
Stefan Schmidt [Mon, 26 Jan 2015 11:48:00 +0000 (12:48 +0100)]
release: Update NEWS and bump version for 1.13.0-beta2 release

9 years agoembryo: prevent useless assignment.
woochan lee [Mon, 26 Jan 2015 11:11:03 +0000 (12:11 +0100)]
embryo: prevent useless assignment.

Summary: In the if case 's1[]19 = 0' state looks meaningless.

Reviewers: raster, Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoEvas masking: Fix masking of mapped sub-objects
Jean-Philippe Andre [Mon, 26 Jan 2015 08:52:38 +0000 (17:52 +0900)]
Evas masking: Fix masking of mapped sub-objects

Some complex examples of masking with mapped smart objects
would fail miserably, rendering the object without any mask,
and/or showing the mask itself somewhere in white color...

9 years agoEvas masking: Fix rendering of masked objects with maps
Jean-Philippe Andre [Mon, 26 Jan 2015 05:26:36 +0000 (14:26 +0900)]
Evas masking: Fix rendering of masked objects with maps

9 years agoevas: fix signed/unsigned warning.
Cedric BAIL [Mon, 26 Jan 2015 10:20:32 +0000 (11:20 +0100)]
evas: fix signed/unsigned warning.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: fix to load BMP file compressed with RLE.
jiin.moon [Mon, 26 Jan 2015 10:02:58 +0000 (11:02 +0100)]
evas: fix to load BMP file compressed with RLE.

Summary:
If the file size of RLE compressed image is bigger than original image,
BMP loader doesn't work as well.
@fix

Reviewers: Hermet, cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: add new test for bug in BMP loader.
Cedric BAIL [Mon, 26 Jan 2015 10:02:14 +0000 (11:02 +0100)]
evas: add new test for bug in BMP loader.

9 years agoevas: fix tests to actually test image !
Cedric BAIL [Mon, 26 Jan 2015 10:01:44 +0000 (11:01 +0100)]
evas: fix tests to actually test image !

9 years agoelocation: fix typos.
Cedric BAIL [Sun, 25 Jan 2015 13:23:32 +0000 (14:23 +0100)]
elocation: fix typos.

9 years agoEfreet: do not get confused by path ending with / in XDG_* vars
Dave Andreoli [Sun, 25 Jan 2015 11:44:09 +0000 (12:44 +0100)]
Efreet: do not get confused by path ending with / in XDG_* vars

This @fix the parsing of dirs from the xdg env vars. Now always remove
the leading / char from the paths.

This was causing lots of trouble on my system, where XDG_DATA_DIRS is:
/usr/local/share/enlightenment:/usr/local/share:/usr/local/share/:/usr/share/

At first /usr/local/share was added 2 times in the list, one with the / and one
witout, causing a double lookup for each file.

Secondly the icon cache was totally unusable as the cached paths ended up
as: /usr/share//icons/Mint-X/places/32/folder.svg. The double / in there
was making the cache lookup to fail and anways return the biggest icon
available. Causing a big system slowdown whe searching for icons.

As a bonus the function now use eina_str_split instead of the custom splitting
code that require a bad special handling for the last item.

9 years agoautotools: remove some Windows CE bits.
Vincent Torri [Fri, 23 Jan 2015 16:18:23 +0000 (17:18 +0100)]
autotools: remove some Windows CE bits.

We actually do not support Windows CE and don't plan to. Let's remove that
from our configure.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore-wayland: Don't send a mouse_up on grab release unless we
Chris Michael [Fri, 23 Jan 2015 21:00:03 +0000 (16:00 -0500)]
ecore-wayland: Don't send a mouse_up on grab release unless we
actually have a grabbed button

Summary: If we don't have an actual grabbed mouse button, then don't
send a mouse up event. Caught this while adding e_grabinput support to
Enlightenment.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoEo add: beef up error reporting.
Tom Hacohen [Fri, 23 Jan 2015 16:51:02 +0000 (16:51 +0000)]
Eo add: beef up error reporting.

In some cases object ceration would fail without an error,
this is bad and should not happen.

Thanks to cedric for reporting.

9 years agoevas/map: make an internal function to static.
ChunEon Park [Fri, 23 Jan 2015 13:50:04 +0000 (22:50 +0900)]
evas/map: make an internal function to static.

no need this function set external.

9 years agoEvas masking: And another case of bad mask rendering
Jean-Philippe Andre [Fri, 23 Jan 2015 08:23:09 +0000 (17:23 +0900)]
Evas masking: And another case of bad mask rendering

A masked object just can't be considered as opaque. As such,
it can't generate an obscure area. This fixes some super
rare rendering bug.

9 years agoEvas masking: Fix blending of some border images
Jean-Philippe Andre [Fri, 23 Jan 2015 08:02:40 +0000 (17:02 +0900)]
Evas masking: Fix blending of some border images

9 years agoee engines should not crash when re-setting the same title/name_class
Mike Blumenkrantz [Thu, 22 Jan 2015 19:37:56 +0000 (14:37 -0500)]
ee engines should not crash when re-setting the same title/name_class

@fix

9 years agoEvas masking: Simplify ref/unref code
Jean-Philippe Andre [Thu, 22 Jan 2015 09:21:44 +0000 (18:21 +0900)]
Evas masking: Simplify ref/unref code

Those masks are always render surfaces so we should
treat them as such. Plus, there are proper functions
to ref/unref GL images.

9 years agoEvas masking: Aaaand fix another series of memleaks
Jean-Philippe Andre [Thu, 22 Jan 2015 08:55:04 +0000 (17:55 +0900)]
Evas masking: Aaaand fix another series of memleaks

Don't inc-ref more than we can dec-ref.

9 years agoEvas masking: Fix another memory leak
Jean-Philippe Andre [Thu, 22 Jan 2015 08:43:23 +0000 (17:43 +0900)]
Evas masking: Fix another memory leak

When the mask is hidden, free its surface.
This will fix leaks in, say, a genlist full of masked
objects.

9 years agoEvas masking: Fix potential GPU memory leak
Jean-Philippe Andre [Thu, 22 Jan 2015 08:25:59 +0000 (17:25 +0900)]
Evas masking: Fix potential GPU memory leak

This should free the mask surface properly, like we do
in software.

9 years agoEvas masking: Fix potential crash
Jean-Philippe Andre [Thu, 22 Jan 2015 07:39:03 +0000 (16:39 +0900)]
Evas masking: Fix potential crash

This adjusts the clip to match the mask image data.
To be fair, I'm not sure in which situation those two
don't match well. This patch fixes a rare crash.

9 years agowarning--
Daniel Zaoui [Wed, 21 Jan 2015 18:42:58 +0000 (20:42 +0200)]
warning--

9 years agoevas: do not compute things twice.
Cedric BAIL [Wed, 21 Jan 2015 15:13:50 +0000 (16:13 +0100)]
evas: do not compute things twice.

Fix CID 1265599, 1265597, 1265598 and 1265596.

9 years agoeet: properly handle failure and success case by not leaking memory.
Cedric BAIL [Wed, 21 Jan 2015 15:07:07 +0000 (16:07 +0100)]
eet: properly handle failure and success case by not leaking memory.

CID 1265601.

9 years agoEvas masking: Fix major memory leak
Jean-Philippe Andre [Wed, 21 Jan 2015 08:30:18 +0000 (17:30 +0900)]
Evas masking: Fix major memory leak

The memory usage graph was going up and to the right!
I was told this is always a good thing!

... maybe not this time :)

Hopefully I didn't forget a case. An intense session of
genlist scrolling with masks all over the place and masks
of masks didn't show any glitch, crash or memory leak.

9 years agoEvas masking: Try to reduce memory footprint a little
Jean-Philippe Andre [Wed, 21 Jan 2015 06:14:50 +0000 (15:14 +0900)]
Evas masking: Try to reduce memory footprint a little

Move some mask object pointers around to spare a few
bytes of memory.

Fixes T2025.

9 years agoecore-wl needs to also set xdg props again on show
Mike Blumenkrantz [Wed, 21 Jan 2015 00:11:25 +0000 (19:11 -0500)]
ecore-wl needs to also set xdg props again on show

fix T1819

9 years agoecore: lower priority of some intrusive logs.
Vasyl Vavrychuk [Tue, 20 Jan 2015 18:13:29 +0000 (19:13 +0100)]
ecore: lower priority of some intrusive logs.

Summary:
After fixed logging to journald there is lots of prints like
Jan 15 16:04:21 localhost system_server[1017]: enter idling=1 fds=1 events=0 timers=0 (next=17.14) idlers=0

Jan 15 16:04:21 localhost system_server[1017]: leave, timeout = 0

Change-Id: Id26e37a55ddaad36094308ac7fd09767cf659c04
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@globallogic.com>
Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: reduce potential memory hole in Evas_Object_Protected_State.
Cedric BAIL [Tue, 20 Jan 2015 17:27:59 +0000 (18:27 +0100)]
evas: reduce potential memory hole in Evas_Object_Protected_State.

The main difference between 1.12 and 1.13 memory foot print is actually
related to this two pointer to mask. I am wondering if there is not an
issue here also has we do have a duplicated pointer. We have prev_mask
and mask in both cur and prev state of an Evas_Object, but only mask
and prev_mask from the cur state seems to be accessed.

If we can remove two pointers from those state, we should have a decent
win in expedite benchmark. Hopefully 300KB to win there (Close to half
the additional cost in memory).

9 years agoevas: reorder structure to avoid structural hole.
Cedric BAIL [Tue, 20 Jan 2015 17:21:03 +0000 (18:21 +0100)]
evas: reorder structure to avoid structural hole.

9 years agoedje: edje_pick - fix double free eina hash iterator.
Mykyta Biliavskyi [Tue, 20 Jan 2015 11:55:14 +0000 (12:55 +0100)]
edje: edje_pick - fix double free eina hash iterator.

Summary:
move freeing iterator into block where it was created.
@fix

Reviewers: raster, Hermet, reutskiy.v.v, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoRevert "ecore-drm: Don't init tty unless we are Not using systemd"
Chris Michael [Mon, 19 Jan 2015 17:55:50 +0000 (12:55 -0500)]
Revert "ecore-drm: Don't init tty unless we are Not using systemd"

This reverts commit 28e4901d041e087f505c19bc9733ef22d31addf0.

This broke vt switching in drm so revert (for now) until we get the
systemd vt and setup handlers

9 years agoecore-drm: Don't init tty unless we are Not using systemd
Chris Michael [Mon, 19 Jan 2015 17:38:12 +0000 (12:38 -0500)]
ecore-drm: Don't init tty unless we are Not using systemd

Summary: It turns out we don't need to handle open & setup of the tty
unless we are Not using systemd. This fixes an issue during
enlightenment restart where we are unable to reopen the tty.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Reset output cursor and crtc mode on shutdown
Chris Michael [Mon, 19 Jan 2015 17:37:12 +0000 (12:37 -0500)]
ecore-drm: Reset output cursor and crtc mode on shutdown

Summary: When we shutdown outputs, we should reset the hardware cursor
state and the saved crtc mode in order to reset things back to normal.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Restore tty keyboard mode on restore of tty
Chris Michael [Mon, 19 Jan 2015 17:27:28 +0000 (12:27 -0500)]
ecore-drm: Restore tty keyboard mode on restore of tty

Summary: When we are shutting down a tty, restore the old keyboard
mode that we retain from tty_setup.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agorelease: Update NEWS and bump version for 1.13.0-beta1 release v1.13.0-beta1
Stefan Schmidt [Mon, 19 Jan 2015 13:15:17 +0000 (14:15 +0100)]
release: Update NEWS and bump version for 1.13.0-beta1 release

9 years agoRevert "eet: fix memory leak in eet_cipher"
Cedric BAIL [Mon, 19 Jan 2015 13:44:13 +0000 (14:44 +0100)]
Revert "eet: fix memory leak in eet_cipher"

This reverts commit d25d56758c735cdf5760278f8a97e9c6b8ec7355.

That patch was leading to double. Thanks ami for finding it.

9 years agoexamples/evas: Add evas_3d_shadows binary to .gitignore
Stefan Schmidt [Mon, 19 Jan 2015 09:41:47 +0000 (10:41 +0100)]
examples/evas: Add evas_3d_shadows binary to .gitignore

9 years agoecore-wayland: Don't crash if we have no input->cursor_name
Chris Michael [Fri, 16 Jan 2015 15:35:06 +0000 (10:35 -0500)]
ecore-wayland: Don't crash if we have no input->cursor_name

Summary: If we are using a touchscreen, there will be no pointer and
thus no cursor_name to use. Trap for that case by checking if
input->cursor_name is valid.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoexamples/eina_inarray: Remove unused variables.
Stefan Schmidt [Fri, 16 Jan 2015 09:39:24 +0000 (10:39 +0100)]
examples/eina_inarray: Remove unused variables.

9 years agoEvas masking: Fix precise_is_inside for masked smart objects
Jean-Philippe Andre [Fri, 16 Jan 2015 02:45:28 +0000 (11:45 +0900)]
Evas masking: Fix precise_is_inside for masked smart objects

The flag should be set on the mask itself.
Checking for (x,y) being inside the mask can be an expensive operation,
so further optimization will be required.

9 years agoecore-evas-x should check itself before it wrecks itself when re-setting the same...
Mike Blumenkrantz [Thu, 15 Jan 2015 06:30:27 +0000 (01:30 -0500)]
ecore-evas-x should check itself before it wrecks itself when re-setting the same name/class

9 years agoedje: Edje_Edit - fix memory leak in edje_edit_image_usage_list_get
Andrii Kroitor [Wed, 14 Jan 2015 13:56:55 +0000 (14:56 +0100)]
edje: Edje_Edit - fix memory leak in edje_edit_image_usage_list_get

Summary:
freeing iterator when necessary

@fix

Reviewers: Hermet, seoz, cedric

Reviewed By: cedric

Subscribers: cedric, reutskiy.v.v

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina mmap safety handler - fix on systems without some sibgus types
Carsten Haitzler (Rasterman) [Wed, 14 Jan 2015 10:16:35 +0000 (19:16 +0900)]
eina mmap safety handler - fix on systems without some sibgus types

this fixes 615456aae8c309d0e82c6b549d17a7109554a4f6 to compile on
systems without MCERR sigbus types.

9 years agoeet - one place endianess check wasn't explicit - cleaner code if it is
Carsten Haitzler (Rasterman) [Wed, 14 Jan 2015 09:17:19 +0000 (18:17 +0900)]
eet - one place endianess check wasn't explicit - cleaner code if it is

this MAY be a bugfix, but i can't see how after checking the code, but
to keep it conistent and less likely to grow a bug... do this.

9 years agoeet - boyscouting - clean up whitespaces
Carsten Haitzler (Rasterman) [Wed, 14 Jan 2015 09:13:57 +0000 (18:13 +0900)]
eet - boyscouting - clean up whitespaces

9 years agoeet - image decode - fix robustness of image decode from eet file
Carsten Haitzler (Rasterman) [Wed, 14 Jan 2015 09:11:22 +0000 (18:11 +0900)]
eet - image decode - fix robustness of image decode from eet file

there are possible security implications by not checking values of
size fields to see if they are within the data range AND are not 0 or
negative. so do this.

@fix

9 years agoEee image: fix macros to be surrounded with do while().
Tom Hacohen [Wed, 14 Jan 2015 08:54:58 +0000 (08:54 +0000)]
Eee image: fix macros to be surrounded with do while().

Macros should be surrounded with do {} while() statements,
otherwise there can be issues, like the macro not requiring a semicolon
after the statement or etc.

@fix

9 years agoEvas GL common: Remove unused filter_prog
Jean-Philippe Andre [Wed, 14 Jan 2015 07:36:48 +0000 (16:36 +0900)]
Evas GL common: Remove unused filter_prog

9 years agoEvas GL common: Add shader ID as debug info in the pipe
Jean-Philippe Andre [Wed, 14 Jan 2015 07:30:29 +0000 (16:30 +0900)]
Evas GL common: Add shader ID as debug info in the pipe

Simplifies code readability a bit and helps for debugging (with GDB).

9 years agoEvas masking: Fix evas map masking in GL
Jean-Philippe Andre [Wed, 14 Jan 2015 05:56:38 +0000 (14:56 +0900)]
Evas masking: Fix evas map masking in GL

While this may look like a feature, it's definitely a fix.

9 years agoecore-drm: Re-enable setting K_OFF keyboard mode
Chris Michael [Tue, 13 Jan 2015 20:35:55 +0000 (15:35 -0500)]
ecore-drm: Re-enable setting K_OFF keyboard mode

Summary: Now that things are shaping up, we can re-enable the K_OFF
tty mode which will help with buffering input, etc.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wayland: Fix issue with Elementary DnD test not releasing mouse
Chris Michael [Tue, 13 Jan 2015 16:37:02 +0000 (11:37 -0500)]
ecore-wayland: Fix issue with Elementary DnD test not releasing mouse

Summary: When we do an input_ungrab, we should be sending a mouse up
event so that apps/elm/etc know that the mouse has been released. This
fixes an issue in the Elm Features DnD test report by Daniel Zaoui

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wayland: Don't set move cursor unless we actually start a drag
Chris Michael [Tue, 13 Jan 2015 16:23:27 +0000 (11:23 -0500)]
ecore-wayland: Don't set move cursor unless we actually start a drag

Summary: We should not be setting a 'move' cursor unless we actually
make the call to start a drag

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-evas-drm: Init outputs before inputs so that input devices can
Chris Michael [Tue, 13 Jan 2015 15:34:48 +0000 (10:34 -0500)]
ecore-evas-drm: Init outputs before inputs so that input devices can
have a pointer to outputs

Summary: In order to limit pointer motion, we need to assign an Output
to each Input device. In order to accomplish that, we need to
initialize Outputs first

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Limit mouse movement to within the output size
Chris Michael [Tue, 13 Jan 2015 15:33:22 +0000 (10:33 -0500)]
ecore-drm: Limit mouse movement to within the output size

Summary: This patch adds support to limit the mouse from moving
outside the output dimensions, and fixes coordinate transformation
calls to use the Output from the Input device

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Remove call to unused function
Chris Michael [Tue, 13 Jan 2015 15:31:14 +0000 (10:31 -0500)]
ecore-drm: Remove call to unused function

Summary: This just removes the call to the no longer used/needed
function to update the input device's view of the output.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Remove unused function
Chris Michael [Tue, 13 Jan 2015 15:29:59 +0000 (10:29 -0500)]
ecore-drm: Remove unused function

Summary: Since we now have a reference to the actual output inside the
input device, we no longer need this function to update the Input
device's view of the output size.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add actual Outut to the Input device structure
Chris Michael [Tue, 13 Jan 2015 15:29:05 +0000 (10:29 -0500)]
ecore-drm: Add actual Outut to the Input device structure

Summary: This adds an actual Ecore_Drm_Output pointer to the
Ecore_Drm_Evdev structure so we can check the output size to limit
mouse corrdinates.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeina: fix eina_log with journald.
Vasyl Vavrychuk [Tue, 13 Jan 2015 15:18:20 +0000 (16:18 +0100)]
eina: fix eina_log with journald.

Summary:
Nothing was printed to journald before because sd_journal_send_with_location
expects file and line to be of the NAME=VALUE form.

Change-Id: I382b82b665558fddebae61b7d0a8d4de87638511
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@globallogic.com>
Reviewers: kuri, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina - mmap safety handler - fix to only handle sigbus's from io
Carsten Haitzler (Rasterman) [Tue, 13 Jan 2015 10:26:55 +0000 (19:26 +0900)]
eina - mmap safety handler - fix to only handle sigbus's from io

@fix

this fixes the eina mmap safety handler to only  handle what comes
from actual i/o errors (not actual corrupt/hw memory faults or invalid
objects), and if it's not a sigbus eina mmap should handle then pass
it onto the previous handler before eina mmap took over.

9 years agoecore_cocoa: Depend on ecore_cocoa_window.h file for library build.
Stefan Schmidt [Tue, 13 Jan 2015 09:57:53 +0000 (10:57 +0100)]
ecore_cocoa: Depend on ecore_cocoa_window.h file for library build.

Without this missing dependency the file would not show up in the
tarball and the build on MAC OSX would fail.

Thanks a lot to Leif Middelschulte for testing and the report!

9 years agoedje: Remove dead code
Chris Michael [Mon, 12 Jan 2015 16:44:06 +0000 (11:44 -0500)]
edje: Remove dead code

Summary: This removes the commented out dead code block from
9cdb8aaf9bec83a0e0879c04f66408f6326fa2b2

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoEo: use int for _eo_init_count intsead of Eina_Bool
Nicolas Aguirre [Mon, 12 Jan 2015 13:43:25 +0000 (14:43 +0100)]
Eo: use int for _eo_init_count intsead of Eina_Bool

9 years agoEo base class: Fix compliation.
Tom Hacohen [Mon, 12 Jan 2015 13:43:59 +0000 (13:43 +0000)]
Eo base class: Fix compliation.

@inout also used to affect the type generated.
Compile check even the simplest changes.

9 years agoEo base: Remove @inout usage.
Tom Hacohen [Mon, 12 Jan 2015 13:33:39 +0000 (13:33 +0000)]
Eo base: Remove @inout usage.

First step towards deprecation of @inout.

9 years agoconfigure: Makre sure the tarballs are marked as alpha1 v1.13.0-alpha1
Stefan Schmidt [Mon, 12 Jan 2015 12:30:20 +0000 (13:30 +0100)]
configure: Makre sure the tarballs are marked as alpha1

9 years agorelease: Update NEWS and bump version for 1.13.0 release
Stefan Schmidt [Mon, 12 Jan 2015 11:59:42 +0000 (12:59 +0100)]
release: Update NEWS and bump version for 1.13.0 release

9 years agoEo tests: Fix bad free in eo_test_value
Avi Levin [Mon, 12 Jan 2015 11:34:01 +0000 (13:34 +0200)]
Eo tests: Fix bad free in eo_test_value

When running eo_test_suite we get an memory error: "double free or corruption".
That error arises because we try to free an Eina_Value value in eo_test_value
that doesn't need to freed.
I switched the eina_value_free to wina_value_flush, the proper way of
releasing it.

@fix

9 years agoefl - edje_cc - fix default state checks in previous commit
Carsten Haitzler (Rasterman) [Mon, 12 Jan 2015 09:01:34 +0000 (18:01 +0900)]
efl - edje_cc - fix default state checks in previous commit

this fixes 0cb33a46758bd1f66653e97d7ad027a9529b1279
@fix

9 years agoedje - edje_cc - fix wrong state lists where default is not the first
Carsten Haitzler (Rasterman) [Mon, 12 Jan 2015 06:54:22 +0000 (15:54 +0900)]
edje - edje_cc - fix wrong state lists where default is not the first

this fixes T1926
@fix

9 years agoEcore: add EAPI to retrieve Ecore_Evas parent of a buffer.
Daniel Zaoui [Thu, 8 Jan 2015 09:47:31 +0000 (11:47 +0200)]
Ecore: add EAPI to retrieve Ecore_Evas parent of a buffer.

9 years agoEo: add function name to the eo_do pre and post hooks.
Daniel Zaoui [Mon, 27 Oct 2014 06:44:02 +0000 (08:44 +0200)]
Eo: add function name to the eo_do pre and post hooks.

This is useful to determine the Eolian class/function.

9 years agoecore_imf/scim: Fix logically dead code in scim module
Jihoon Kim [Sat, 10 Jan 2015 00:27:10 +0000 (09:27 +0900)]
ecore_imf/scim: Fix logically dead code in scim module

CID 1261449

@fix

9 years agoedje: Fix Coverity CID1261437
Chris Michael [Fri, 9 Jan 2015 20:28:55 +0000 (15:28 -0500)]
edje: Fix Coverity CID1261437

Summary: Coverity reports idential code for different branches here.
Not sure WHY that was done, but I commented out the existing if
statement for posterity.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas: Fix unintentional integer overflow
Chris Michael [Fri, 9 Jan 2015 20:26:32 +0000 (15:26 -0500)]
evas: Fix unintentional integer overflow

Summary: This fixes CID1261436: unintentional integer overflow

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore_evas/wayland_egl: Set alpha of ecore_evas object if parent alpha is set
kabeer khan [Fri, 9 Jan 2015 18:23:55 +0000 (13:23 -0500)]
ecore_evas/wayland_egl: Set alpha of ecore_evas object if parent alpha is set

Summary:
Resolved FIXME ecore_evas_wayland_egl_new_internal to set alpha if parent alpha is set

@fix

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

Reviewed By: devilhorns

Subscribers: cedric

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

9 years agoexamples/elocation: Remove unused config.h include
Stefan Schmidt [Fri, 9 Jan 2015 15:46:51 +0000 (16:46 +0100)]
examples/elocation: Remove unused config.h include

It is not needed here.

9 years agoexamples/evas-3d-blending: Remove unused global variable.
Stefan Schmidt [Fri, 9 Jan 2015 15:44:56 +0000 (16:44 +0100)]
examples/evas-3d-blending: Remove unused global variable.

This got shadowed in one of the functions and is not used at all.

9 years agoexamples/evas-3d-shadows: Avoid shadowing a global variable.
Stefan Schmidt [Fri, 9 Jan 2015 15:37:35 +0000 (16:37 +0100)]
examples/evas-3d-shadows: Avoid shadowing a global variable.

9 years agoexamples/evas-3d-frustum: Remove unused variables.
Stefan Schmidt [Fri, 9 Jan 2015 15:29:50 +0000 (16:29 +0100)]
examples/evas-3d-frustum: Remove unused variables.

9 years agoelocation: Mark elocation as BETA API for the upcoming 1.13 release
Stefan Schmidt [Fri, 9 Jan 2015 15:22:07 +0000 (16:22 +0100)]
elocation: Mark elocation as BETA API for the upcoming 1.13 release

It is not ready as a public API yet. It needs to run on GeoClue1
and GeoClue2 which will definitely bring API changes as some parts
are tied to mcuh to what GeoClue1 offers right now.

9 years agoelua: convert some eolian binding API results to numbers
Daniel Kolesa [Fri, 9 Jan 2015 15:45:03 +0000 (15:45 +0000)]
elua: convert some eolian binding API results to numbers

This might fix some bugs and is the right thing to do anyway.

9 years agoecore-evas-wayland: Port fix of min/max size calculations to the
Chris Michael [Thu, 8 Jan 2015 14:10:21 +0000 (09:10 -0500)]
ecore-evas-wayland: Port fix of min/max size calculations to the
configure event handler

Summary: This patch ports the fix for windows without a min/max size
being set over to the configure event handler (which was also not
taking into account the fact that Some windows may Not have a min/max
property set on them.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoedje: update the edc reference
Vyacheslav Reutskiy [Fri, 9 Jan 2015 07:42:19 +0000 (07:42 +0000)]
edje: update the edc reference

Add a list of global signals that edje provide.

9 years agotests/ecore_thread: Disable verbose logging with printf
Stefan Schmidt [Thu, 8 Jan 2015 16:03:55 +0000 (17:03 +0100)]
tests/ecore_thread: Disable verbose logging with printf

If we are going to test for 10000000 messages we should not print out for each
of them to stdout. The log file for ecore_suite will catch them all. It ended
up being 199MB on my machine just filled with these debug statements.

I left it in in case someone needs it for debugging but we should not have it
on by default.

9 years agoeo: Fix bad addressing in _eo_classes array
Avi Levin [Thu, 8 Jan 2015 12:40:56 +0000 (14:40 +0200)]
eo: Fix bad addressing in _eo_classes array

The header.id was masked before using it as index in the _eo_classes
array and was not unmasked when used.
It hasn't caused segfault (by sheer luck) but was wrong.

@fix

9 years agoecore_evas_x: Free XCounter values leak.
Myoungwoon Kim [Thu, 8 Jan 2015 13:35:49 +0000 (08:35 -0500)]
ecore_evas_x: Free XCounter values leak.

Summary:
Whenever creating a window via elm_win_add(), save netwm_sync_counter values to edata->netwm_sync_counter
by ecore_x_sync_counter_new().
However, never free the values when a window has been destroyed.
So this patch is for free the values in _ecore_evas_x_free().

@fix

Reviewers: cedric, raster, Hermet, devilhorns

Reviewed By: devilhorns

Subscribers: cedric, seoz

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

9 years agoecore_imf: Add null check condition in ecore_imf module
vivek [Thu, 8 Jan 2015 13:34:01 +0000 (08:34 -0500)]
ecore_imf: Add null check condition in ecore_imf module

Summary: Fixed null pointer dereference issue in ecore_imf module

@fix

Signed-off-by: vivek <vivek.ellur@samsung.com>
Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: raster, cedric

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

9 years agoeina: all Eina_Stringshare printf variant now return empty string as expected.
Cedric BAIL [Thu, 8 Jan 2015 11:34:20 +0000 (12:34 +0100)]
eina: all Eina_Stringshare printf variant now return empty string as expected.

Previously Eina_Stringshare printf variant where returning NULL with ("%s", ""). This
is highly disturbing as you would have gotten "(null)", if you asked for ("s", NULL).
To clarify and make things logical, we now return "".

9 years agoeina: fix memory leaks in eina_stringshare_printf/vprintf functions.
Amitesh Singh [Thu, 8 Jan 2015 10:48:01 +0000 (19:48 +0900)]
eina: fix memory leaks in eina_stringshare_printf/vprintf functions.

Summary: @Fix

Test Plan:
  CK_FORK=no valgrind --leak-check=full {UNIT_TEST_PROGRAM} "String Share"

Reviewers: cedric, seoz, Hermet, raster

Subscribers: cedric, seoz

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

9 years agoevas:fix markup text length issue
Jae Yong Hwang [Thu, 8 Jan 2015 10:38:48 +0000 (19:38 +0900)]
evas:fix markup text length issue

Summary:
There was no conversion to the double quotation mark in the evas_textblock_text_utf8_to_markup function.
The price of the text coming out to API and text coming out to Textblock was different as a result.
As a result, Two text lengths came out differently.
So, I added the exceptional treatment part in the evas_textblock_text_utf8_to_markup function.

@fix

Subscribers: cedric

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

9 years ago[Evas, Edje] Adding of new structures
perepelits.m [Thu, 8 Jan 2015 06:21:15 +0000 (15:21 +0900)]
[Evas, Edje] Adding of new structures

Summary:
There will be several methods to set orientation in edc, so we have decided to make one big vector,
the main reason is that we use quaternion by default, but look_at, for example, is given as 6 coordinates.

Reviewers: Hermet, cedric, raster

Subscribers: cedric

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

9 years agoecore: fix compilation, missing return value in ecore_thread_wait
Jérémy Zurcher [Wed, 7 Jan 2015 21:12:29 +0000 (22:12 +0100)]
ecore: fix compilation, missing return value in ecore_thread_wait

@fix ecore_thread_wait return EINA_TRUE if execution is over or thread is NULL

9 years agoecore-evas-wayland: Fix min/max size calculations
Chris Michael [Wed, 7 Jan 2015 19:47:55 +0000 (14:47 -0500)]
ecore-evas-wayland: Fix min/max size calculations

Summary: This fixes an issue for windows which do not set a min or max
size in the properties. This was discovered when running Enlightenment
in a Wayland-Only scenario, and trying to bring up the settings panel
which would cause an endless loop in calculating the proper window
size due to min/max not being set.

@fix

NB: Thanks to Mike for the help in tracing this ! :)

Signed-off-by: Chris Michael <cp.michael@samsung.com>