platform/upstream/efl.git
9 years agosynchronize mailmap
Boris Faure [Sun, 5 Oct 2014 13:00:18 +0000 (15:00 +0200)]
synchronize mailmap

9 years agoecore vsync - enable for radeon - i've tested it to work.
Carsten Haitzler (Rasterman) [Sun, 5 Oct 2014 12:42:00 +0000 (21:42 +0900)]
ecore vsync -  enable for radeon - i've tested it to work.

9 years agoecore_imf/ibus : fix bug not to show preedit string on Ubuntu 14.04
Jihoon Kim [Sat, 4 Oct 2014 04:13:46 +0000 (13:13 +0900)]
ecore_imf/ibus : fix bug not to show preedit string on Ubuntu 14.04

since ibus 1.5, enabled, disabled signal was deleted.
It affected bug not to show preedit string,
so code has been updated according to the change of the latest ibus 1.5.
It works well with the older ibus version

9 years agoautotools: Fix Makefile_Eo.am.
Savio S. Machado [Fri, 3 Oct 2014 20:40:15 +0000 (04:40 +0800)]
autotools: Fix Makefile_Eo.am.

Autotools was deploying .eo.{c,h} instead of the .eo files to
${E_PREFIX}/share/eolian/include/eo-1. This patch fix Elementary build
and whoever else was using Eolian and Eo.Base.

9 years agoeo-cxx: Add static assert to check boolean size.
Savio Sena [Fri, 3 Oct 2014 18:04:27 +0000 (15:04 -0300)]
eo-cxx: Add static assert to check boolean size.

9 years agoeina: open files in read-onnly for eina_file_open() on Windows
Vincent Torri [Fri, 3 Oct 2014 07:40:20 +0000 (09:40 +0200)]
eina: open files in read-onnly for eina_file_open() on Windows

A previous fix added the read-write access of files with eina_file_open,
so revert that part

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeolian: free a buffer properly (fixes CID 1243233)
Daniel Kolesa [Fri, 3 Oct 2014 08:26:27 +0000 (09:26 +0100)]
eolian: free a buffer properly (fixes CID 1243233)

9 years agoBuild system: Clean up the generation of sources from eolian.
Tom Hacohen [Thu, 2 Oct 2014 15:52:45 +0000 (16:52 +0100)]
Build system: Clean up the generation of sources from eolian.

This cleans up a lot of the build system. This makes everything
consistent, clean, less redundant and also fixes the issue of make clean
not cleaning up generated files.

9 years agoevas: tests tgv file decoding.
Cedric BAIL [Thu, 2 Oct 2014 14:34:10 +0000 (16:34 +0200)]
evas: tests tgv file decoding.

9 years agoelua: name ctor param names according to their func
Daniel Kolesa [Thu, 2 Oct 2014 14:40:10 +0000 (15:40 +0100)]
elua: name ctor param names according to their func

9 years agoelua: when combining ctor params, do not allow repeated param names
Daniel Kolesa [Thu, 2 Oct 2014 14:26:15 +0000 (15:26 +0100)]
elua: when combining ctor params, do not allow repeated param names

9 years agoelua: translate param names that are lua keywords into acceptable variants
Daniel Kolesa [Thu, 2 Oct 2014 14:20:01 +0000 (15:20 +0100)]
elua: translate param names that are lua keywords into acceptable variants

9 years agoelua: update eo bindings
Daniel Kolesa [Thu, 2 Oct 2014 14:04:02 +0000 (15:04 +0100)]
elua: update eo bindings

9 years agoEo: Move eo_add_ref logic inside the library.
Tom Hacohen [Thu, 2 Oct 2014 14:02:14 +0000 (15:02 +0100)]
Eo: Move eo_add_ref logic inside the library.

It was a stupid lazy decision to leave it outside. Having it inside is safer
and cleaner.

9 years agoelua: generate the object ctor function
Daniel Kolesa [Thu, 2 Oct 2014 13:55:30 +0000 (14:55 +0100)]
elua: generate the object ctor function

9 years agoeolian: call the methods/properties from constructors directly for now
Daniel Kolesa [Thu, 2 Oct 2014 13:40:58 +0000 (14:40 +0100)]
eolian: call the methods/properties from constructors directly for now

9 years agoelua: initial/incomplete support for constructors in lualian
Daniel Kolesa [Thu, 2 Oct 2014 13:25:08 +0000 (14:25 +0100)]
elua: initial/incomplete support for constructors in lualian

9 years agoelua: remove some more obsolete code (gen_ctor is no longer relevant)
Daniel Kolesa [Thu, 2 Oct 2014 12:39:30 +0000 (13:39 +0100)]
elua: remove some more obsolete code (gen_ctor is no longer relevant)

9 years agoelua: lualian type fix
Daniel Kolesa [Thu, 2 Oct 2014 11:39:34 +0000 (12:39 +0100)]
elua: lualian type fix

9 years agoEolian/Generator: Update to use Eolian API.
Daniel Zaoui [Thu, 2 Oct 2014 10:40:12 +0000 (13:40 +0300)]
Eolian/Generator: Update to use Eolian API.

We now use the Eolian library to retrieve the name of the C function used
to get the Eo_Class pointer (e.g evas_object_class_get).

9 years agoelua: remove obsolete code from lualian
Daniel Kolesa [Thu, 2 Oct 2014 10:34:55 +0000 (11:34 +0100)]
elua: remove obsolete code from lualian

9 years agoeolian: add test for the new C class get function API
Daniel Kolesa [Thu, 2 Oct 2014 10:30:36 +0000 (11:30 +0100)]
eolian: add test for the new C class get function API

9 years agoeolian: new API: eolian_class_c_get_function_name_get
Daniel Kolesa [Thu, 2 Oct 2014 10:00:06 +0000 (11:00 +0100)]
eolian: new API: eolian_class_c_get_function_name_get

This allows bindings to easily retrieve name of the C function used to
retrieve the Eo_Class. Also, update the Lua Eolian bindings and generator.

9 years agoelua: update eo lua API against generated lualian output
Daniel Kolesa [Thu, 2 Oct 2014 09:41:06 +0000 (10:41 +0100)]
elua: update eo lua API against generated lualian output

9 years agoelua: properly support _class_get funcs in lualian
Daniel Kolesa [Thu, 2 Oct 2014 09:34:14 +0000 (10:34 +0100)]
elua: properly support _class_get funcs in lualian

9 years agoevas textblock: return text direction for under cursor in cursor geometry get
Thiep Ha [Thu, 2 Oct 2014 07:36:35 +0000 (08:36 +0100)]
evas textblock: return text direction for under cursor in cursor geometry get

Summary:
Currently, in cursor geometry get function, the text direction is not
returned if cursor is under cursor.
This patch fixs it by returning text direction for under cursor.

@fix

Reviewers: tasn

Subscribers: herdsman, cedric

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

9 years agoecore_imf/scim: fix candidate word window position issue
Jihoon Kim [Thu, 2 Oct 2014 01:31:26 +0000 (10:31 +0900)]
ecore_imf/scim: fix candidate word window position issue

In case application window locates in top left position,
The candidate word window provided by scim could overlap the position of entry widget when typing Chinese and Japanese.

9 years agoecore_imf/ibus: fix candidate word window position issue
Jihoon Kim [Thu, 2 Oct 2014 01:09:12 +0000 (10:09 +0900)]
ecore_imf/ibus: fix candidate word window position issue

In case application window locates in top left position,
The candidate word window provided by ibus could overlap the position of entry widget when typing Chinese and Japanese.

9 years agoecore_imf/ibus: fix code formatting
Jihoon Kim [Thu, 2 Oct 2014 00:33:08 +0000 (09:33 +0900)]
ecore_imf/ibus: fix code formatting

9 years agoMerge branch 'devs/devilhorns/xdg_shell'
Chris Michael [Wed, 1 Oct 2014 20:17:23 +0000 (16:17 -0400)]
Merge branch 'devs/devilhorns/xdg_shell'

Summary: This commit merges in changes to update EFL wayland support
to work with the new xdg shell protocol version (version 4)

@feature

9 years agoecore-wayland: Add support for handling surface delete callback
Chris Michael [Wed, 1 Oct 2014 13:07:11 +0000 (09:07 -0400)]
ecore-wayland: Add support for handling surface delete callback

Summary: This adds a private function to call when a surface gets
deleted so we can cleanup properly.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wayland: Cleanup shell surface creation
Chris Michael [Tue, 2 Sep 2014 13:14:36 +0000 (09:14 -0400)]
ecore-wayland: Cleanup shell surface creation

Summary:
  We had some duplication happening here when the IVI shell code got
added. This cleans up the surface creation code (parts of it were
being duplicated)

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-evas-wayland: Add support for minimizing xdg_shell surfaces
Chris Michael [Sat, 23 Aug 2014 13:00:04 +0000 (09:00 -0400)]
ecore-evas-wayland: Add support for minimizing xdg_shell surfaces

xdg_shell protocol supports minimizing surfaces. When elm apps request
iconification, they will call ecore_evas_iconified_set which in turn
will make use of the newly added ecore_wl_window_iconified_set function.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wayland: Add/Implement code to handle iconifying a window
Chris Michael [Sat, 23 Aug 2014 12:57:16 +0000 (08:57 -0400)]
ecore-wayland: Add/Implement code to handle iconifying a window

xdg_shell protocol provides functions to minimize a surface. This is
now implemented via ecore_wl_window_iconified_set.

NB: This Does Not work for wl_shell surfaces because wl_shell provides
no method to minimize.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wayland: Add minimized field to window structure
Chris Michael [Sat, 23 Aug 2014 12:56:50 +0000 (08:56 -0400)]
ecore-wayland: Add minimized field to window structure

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wayland: Add API functions to iconify an Ecore_Wl_Window
Chris Michael [Sat, 23 Aug 2014 12:55:55 +0000 (08:55 -0400)]
ecore-wayland: Add API functions to iconify an Ecore_Wl_Window

These API functions will be called from ecore_evas to iconify an
Ecore_Wl_Window. This is implemented in the xdg_shell protocol

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wayland: Bump xdg_shell version for pending release
Chris Michael [Fri, 22 Aug 2014 18:30:17 +0000 (14:30 -0400)]
ecore-wayland: Bump xdg_shell version for pending release

Wayland 1.6 is due in 2 weeks. The existing xdg_shell code here will
not function with current wayland (from git) unless we bump the xdg
version number.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wayland: Add support for xdg_surface class name
Chris Michael [Thu, 21 Aug 2014 17:29:27 +0000 (13:29 -0400)]
ecore-wayland: Add support for xdg_surface class name

xdg_shell supports setting a "class name" on a window by using
xdg_surface_set_app_id. This commit implements that.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wayland: Fix formatting and add a FIXME note
Chris Michael [Thu, 21 Aug 2014 17:26:01 +0000 (13:26 -0400)]
ecore-wayland: Fix formatting and add a FIXME note

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wayland: Check for valid shell before sending bound event
Chris Michael [Thu, 21 Aug 2014 17:14:20 +0000 (13:14 -0400)]
ecore-wayland: Check for valid shell before sending bound event

We could have either wl_shell OR xdg_shell, so check if we have either
one before dispatching the interfaces_bound event.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wayland: Add missing EINA_UNUSED and fix it's usage in other
Chris Michael [Wed, 13 Aug 2014 14:58:56 +0000 (10:58 -0400)]
ecore-wayland: Add missing EINA_UNUSED and fix it's usage in other
places

Some paramaters here were being used, while others were not. This
fixes the various usage of EINA_UNUSED here to be proper.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wayland: Fix formatting
Chris Michael [Wed, 13 Aug 2014 14:57:39 +0000 (10:57 -0400)]
ecore-wayland: Fix formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wayland: Check return of calloc
Chris Michael [Wed, 13 Aug 2014 14:50:04 +0000 (10:50 -0400)]
ecore-wayland: Check return of calloc

Calloc 'can' fail so lets check the return and make sure 'global' is
valid else we will segfault.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wayland: Fix formatting
Chris Michael [Wed, 13 Aug 2014 14:49:35 +0000 (10:49 -0400)]
ecore-wayland: Fix formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoAdded support for xdg-shell protocol in ecore-wayland.
Chris Michael [Wed, 13 Aug 2014 14:44:19 +0000 (10:44 -0400)]
Added support for xdg-shell protocol in ecore-wayland.

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

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Projects: #efl

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

9 years agoAdded support for xdg-shell protocol in ecore-wayland
Chris Michael [Wed, 13 Aug 2014 14:44:11 +0000 (10:44 -0400)]
Added support for xdg-shell protocol in ecore-wayland

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

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric

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

9 years agoEvas Textblock: Fix native width of BiDi text
Daniel Hirt [Wed, 1 Oct 2014 15:45:10 +0000 (16:45 +0100)]
Evas Textblock: Fix native width of BiDi text

Summary:
This fixes an issue that causes BiDi text to get wrapped even when
resizing the textblock to its native size.
The way we find the last visual item in the native line is wrong. The
'visual_pos' describes the visual position in the formatted layout, in
which wrapping may occur. So, this is really bad to use it for native
width calculations as well.
Also, there's no need to actually reorder the line - we just need the
last visual item.
This adds and uses a function very similar to _layout_line_reorder, in
which we retrieve the last visual item in the native line. This
function does not do any actual reordering, as the native layout is
disposed of after calculation is done.

Also, added GET_ITEM_LEN macro for convenience.

Fixes T1532

@fix

Test Plan: Added to evas textblock test suite in this patch

Reviewers: tasn

Subscribers: id213sin, JackDanielZ, cedric

Maniphest Tasks: T1532

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

9 years agoelua: register classes with their underscored name
Daniel Kolesa [Wed, 1 Oct 2014 15:32:29 +0000 (16:32 +0100)]
elua: register classes with their underscored name

9 years agoeolian: fix a nasty segfault (forgot to update some old code during refactoring)
Daniel Kolesa [Wed, 1 Oct 2014 13:34:33 +0000 (14:34 +0100)]
eolian: fix a nasty segfault (forgot to update some old code during refactoring)

9 years agoelua: lualian table index fix
Daniel Kolesa [Wed, 1 Oct 2014 13:17:31 +0000 (14:17 +0100)]
elua: lualian table index fix

9 years agoecore_imf/ibus : provide to get surrounding text
Jihoon Kim [Wed, 1 Oct 2014 10:45:10 +0000 (19:45 +0900)]
ecore_imf/ibus : provide to get surrounding text

It's important for languages such as Thai where only some sequences of characters are allowed.

9 years agoelua: refactor and fix generated lualian output
Daniel Kolesa [Wed, 1 Oct 2014 09:44:44 +0000 (10:44 +0100)]
elua: refactor and fix generated lualian output

9 years agoelua: more useful generated output in lualian
Daniel Kolesa [Wed, 1 Oct 2014 09:18:59 +0000 (10:18 +0100)]
elua: more useful generated output in lualian

9 years agoecore_imf/ibus: remove flag to support surrounding text
Jihoon Kim [Wed, 1 Oct 2014 08:08:36 +0000 (17:08 +0900)]
ecore_imf/ibus: remove flag to support surrounding text

Not to provide surrounding text in ibus immodule yet.
It will fix bug that can't input vowel in Thai kedmanee layout provided by ibus-m17n

9 years agoeeze - sensors - ints for sensor events were decld in .h - and never .c
Carsten Haitzler (Rasterman) [Wed, 1 Oct 2014 07:29:21 +0000 (16:29 +0900)]
eeze - sensors - ints for sensor events were decld in .h - and never .c

this was bad - we never had eeze sensor events declared inside eeze
so they were only in the .h - they could be diff symbols and thus
valuses may not match. big @fix - it worked by luck, not design.

9 years agoevas: fixed initialization types
Jaeun Choi [Wed, 1 Oct 2014 02:35:10 +0000 (11:35 +0900)]
evas: fixed initialization types

9 years agoemotion gst backend - make note of some bugs! need fixing - cant now
Carsten Haitzler (Rasterman) [Tue, 30 Sep 2014 23:23:26 +0000 (08:23 +0900)]
emotion gst backend - make note of some bugs! need fixing - cant now

9 years agoeolian-cxx: Reinterpret cast instead.
Savio Sena [Tue, 30 Sep 2014 21:53:23 +0000 (18:53 -0300)]
eolian-cxx: Reinterpret cast instead.

9 years agoefreet: fix show/nowshow
Sebastian Dransfeld [Tue, 30 Sep 2014 18:49:16 +0000 (20:49 +0200)]
efreet: fix show/nowshow

This partly reverts c700192, as the change here was wrong.

9 years agoeolian-cxx: Add Eina_Bool* also to C++ interop.
Savio Sena [Tue, 30 Sep 2014 21:08:06 +0000 (18:08 -0300)]
eolian-cxx: Add Eina_Bool* also to C++ interop.

9 years agoeolian-cxx: Add Eina_Bool* to type conversion table.
Savio Sena [Tue, 30 Sep 2014 20:41:41 +0000 (17:41 -0300)]
eolian-cxx: Add Eina_Bool* to type conversion table.

9 years agoevas: GL_X11 - add some more error message.
Cedric BAIL [Tue, 30 Sep 2014 16:31:51 +0000 (18:31 +0200)]
evas: GL_X11 - add some more error message.

9 years agoecore_evas: let's be consistent and always report an error.
Cedric BAIL [Tue, 30 Sep 2014 16:19:15 +0000 (18:19 +0200)]
ecore_evas: let's be consistent and always report an error.

9 years agoevas: GL_X11 - remove lef over unref.
Cedric BAIL [Tue, 30 Sep 2014 16:05:43 +0000 (18:05 +0200)]
evas: GL_X11 - remove lef over unref.

9 years ago[cxx] Fixed distclean when the C++ binding is enabled
Felipe Magno de Almeida [Tue, 30 Sep 2014 15:46:40 +0000 (12:46 -0300)]
[cxx] Fixed distclean when the C++ binding is enabled

The C++ examples were being added twice. So the make distclean was tried after the Makefile was already removed.

Removes the EXAMPLES_SUBDIRS redundancy for the C++ examples.

9 years agoedje_cc: fix memory leak.
Amitesh Singh [Tue, 30 Sep 2014 15:35:01 +0000 (17:35 +0200)]
edje_cc: fix memory leak.

Summary: Free cp->original before freeing cp.

@fix

Reviewers: cedric, seoz

Subscribers: cedric, seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: GL_X11 - fix use of deleted memory by pointing to the right data.
Cedric BAIL [Tue, 30 Sep 2014 15:23:05 +0000 (17:23 +0200)]
evas: GL_X11 - fix use of deleted memory by pointing to the right data.

9 years agoeina : check whether the file exists or not, before memory allocation of Eina_Module
Shinwoo Kim [Tue, 30 Sep 2014 14:35:45 +0000 (16:35 +0200)]
eina : check whether the file exists or not, before memory allocation of Eina_Module

Summary:
Please refer to https://phab.enlightenment.org/D1200

Reviewers: raster, jpeg, zmike, cedric

Subscribers: cedric, seoz

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

9 years agogitignore: don't track generated files.
Cedric BAIL [Tue, 30 Sep 2014 14:25:21 +0000 (16:25 +0200)]
gitignore: don't track generated files.

9 years agoevas: fix gl_context to correctly match window description after a change.
Cedric BAIL [Tue, 30 Sep 2014 14:21:07 +0000 (16:21 +0200)]
evas: fix gl_context to correctly match window description after a change.

This was affecting use of GL backend when having a transparent window. It
is actually a fix for a bug reported by Thanatermesis. It has been inspired
by D1229.

To reproduce the issue just do ELM_ACCEL=gl elementary_test -to "Icon transparent".

9 years agoEo: Better define the relationship of eo_add/del/ref/unref.
Tom Hacohen [Tue, 30 Sep 2014 13:27:43 +0000 (14:27 +0100)]
Eo: Better define the relationship of eo_add/del/ref/unref.

Now it's more clear and consistent. This commit complements the previous
eo_add commit (a7560dbc61953c3652780f232e38adbd2d711972).

Now eo_add should be matched with eo_del
eo_ref with eo_unref
eo_add_ref with eo_unref + eo_del

Essentially, the change is that if you have the ref to an object, you
need to unref it. Thus making ref/unref unneeded for most people who use
things (carefully) in c. If however, you would like to delete an object
previously created by you, you should eo_del (counter-part to eo_add).

It's still recommended you ref/unref when dealing with objects in
scopes, as you can't know when an object might just get deleted as a
by-product of another call.

This fixes an issue found by JackDanielZ.

9 years agoeeze: Add ifdef trap for older udev version
Chris Michael [Tue, 30 Sep 2014 12:38:57 +0000 (08:38 -0400)]
eeze: Add ifdef trap for older udev version

Summary: This adds an ifdef trap for older versions of libudev which
do not provide udev_device_set_sysattr_value function. This fixes
broken EFL compile with older versions of udev.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeeze: Add configure check for older libudev version
Chris Michael [Tue, 30 Sep 2014 12:37:41 +0000 (08:37 -0400)]
eeze: Add configure check for older libudev version

Summary: This adds a check in configure to test the libudev version >
199. Older versions of udev do not provide
udev_device_set_sysattr_value function and thus compile of efl would
break with older versions.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore_imf/ibus: support delete-surrounding-text signal
Jihoon Kim [Tue, 30 Sep 2014 01:47:26 +0000 (10:47 +0900)]
ecore_imf/ibus: support delete-surrounding-text signal

9 years agoecore_imf/wayland: fix memory leak occured after getting surrounding text
Jihoon Kim [Tue, 30 Sep 2014 00:31:33 +0000 (09:31 +0900)]
ecore_imf/wayland: fix memory leak occured after getting surrounding text

9 years ago[cxx] Reenable C++ by default as all outstanding fixes are applied
Felipe Magno de Almeida [Mon, 29 Sep 2014 21:00:15 +0000 (18:00 -0300)]
[cxx] Reenable C++ by default as all outstanding fixes are applied

The C++ binding was disabled because of changes in Eolian. Since we're
already applied fixes on the C++ binding for the changes in the Eolian
API the C++ binding is to be enabled by-default.

9 years agoeina: Eina_Inlist - remove obvious if() check.
Amitesh Singh [Mon, 29 Sep 2014 17:47:09 +0000 (19:47 +0200)]
eina: Eina_Inlist - remove obvious if() check.

Reviewers: seoz, raster, cedric

Reviewed By: cedric

Subscribers: cedric, seoz

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

9 years agoeina: Eina_List - remove obvious if() check.
Amitesh Singh [Mon, 29 Sep 2014 17:45:49 +0000 (19:45 +0200)]
eina: Eina_List - remove obvious if() check.

Summary:
if (cmp == 0) - in false branch, cmp can not be equal to 0
else if (cmp < 0) - in false branch, cmp is atleast 1.
else if (cmp > 0) - it is abvious that cmp > 0.

Reviewers: cedric, seoz, raster

Subscribers: cedric, seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeo-cxx: s/eo_add/eo_add_ref/ in efl::eo::inherit.
Savio Sena [Mon, 29 Sep 2014 16:05:14 +0000 (16:05 +0000)]
eo-cxx: s/eo_add/eo_add_ref/ in efl::eo::inherit.

9 years agoecore-drm: Added private function to cleanup backlight structure
vivek [Mon, 29 Sep 2014 13:28:58 +0000 (09:28 -0400)]
ecore-drm: Added private function to cleanup backlight structure

Summary:
Added _ecore_drm_output_backlight_shutdown function to clean up
the resources related to backlight structure and initialized backlight structure
in _ecore_drm_output_create.

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

Subscribers: cedric

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

9 years agoecore_wayland: Created test suit for ecore_wayland.
Srivardhan Hebbar [Mon, 29 Sep 2014 13:20:04 +0000 (09:20 -0400)]
ecore_wayland: Created test suit for ecore_wayland.

Summary:
Created test suit for ecore_wayland and added test case for ecore_wl_init and ecore_wl_shutdown.

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

Subscribers: cedric

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

9 years agoecore-drm: Added internal function to set output brightness level
vivek [Mon, 29 Sep 2014 12:52:30 +0000 (08:52 -0400)]
ecore-drm: Added internal function to set output brightness level

Summary:
Added _ecore_drm_output_brightness_set function to set brightness level

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

Subscribers: cedric

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

9 years agoelua: properly register the eo class into the system in generated code
Daniel Kolesa [Mon, 29 Sep 2014 11:40:50 +0000 (12:40 +0100)]
elua: properly register the eo class into the system in generated code

9 years agoelua: update lualian generation code to potentially deal with cycles
Daniel Kolesa [Mon, 29 Sep 2014 10:52:50 +0000 (11:52 +0100)]
elua: update lualian generation code to potentially deal with cycles

9 years agoefreet: improve messages
Sebastian Dransfeld [Mon, 29 Sep 2014 07:39:17 +0000 (09:39 +0200)]
efreet: improve messages

9 years agoefreet: remove dead code
Sebastian Dransfeld [Mon, 29 Sep 2014 07:32:48 +0000 (09:32 +0200)]
efreet: remove dead code

9 years agoefreet: tab to spaces
Sebastian Dransfeld [Mon, 29 Sep 2014 07:31:38 +0000 (09:31 +0200)]
efreet: tab to spaces

9 years agoEvil: add strptime()
Vincent Torri [Sun, 28 Sep 2014 13:28:25 +0000 (15:28 +0200)]
Evil: add strptime()

@feature

9 years agoEvil: fix fcntl() when used with F_SETFL
Vincent Torri [Sun, 28 Sep 2014 13:26:51 +0000 (15:26 +0200)]
Evil: fix fcntl() when used with F_SETFL

@fix

9 years agoecore vsync - fix up dual nvidia + dri/drm driver discovery
Carsten Haitzler (Rasterman) [Sun, 28 Sep 2014 02:34:40 +0000 (11:34 +0900)]
ecore vsync - fix up dual nvidia + dri/drm driver discovery

this fixes drm vsync discovery when you have both drm and nvidia
drivers seemingly present in /dev but the intel drivers are the dri
ones and nvidiactl is there (who knows if it's used). keep the nvidia
drivers working too with a name/desc check on drm driver as the drm
driver is in fact nvidia's own and set flags appropriately

@fix

9 years agoeolian-cxx: Replace old eo_add with eo_add_ref.
Savio Sena [Fri, 26 Sep 2014 21:55:04 +0000 (18:55 -0300)]
eolian-cxx: Replace old eo_add with eo_add_ref.

eo_add_ref behaves like the old eo_add.

9 years agoecore-drm: Fix _device_add function to check input
vivek [Fri, 26 Sep 2014 13:04:24 +0000 (09:04 -0400)]
ecore-drm: Fix _device_add function to check input

Summary:
Add condition to check if input is NULL in _device_add function

@fix

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

Subscribers: cedric

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

9 years agoeeze: Added API to get sysattr list of a device
vivek [Fri, 26 Sep 2014 12:37:20 +0000 (08:37 -0400)]
eeze: Added API to get sysattr list of a device

Summary:
Added eeze_udev_syspath_get_sysattr_list API to get
list of sysattr of a device. It returns Eina list containing list
of system attributes.

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

Subscribers: cedric

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

9 years agoelua: begin work on new style constructors
Daniel Kolesa [Fri, 26 Sep 2014 12:24:41 +0000 (13:24 +0100)]
elua: begin work on new style constructors

9 years agoEvas Textblock: Fix bad empty line add on wrapping
Daniel Hirt [Fri, 26 Sep 2014 12:14:20 +0000 (13:14 +0100)]
Evas Textblock: Fix bad empty line add on wrapping

Summary:
In some cases of char or word wrapping, an empty line might be
accidentally added at the end of the paragraph. That line contains
no items. Of course, this line should not exist.
One outcome of this is that it causes wrong height values of the
paragraph, when the finalizing code uses the
_layout_last_line_max_descent_adjust_calc, which in turn
looks at that empty line to calculate the descent values.

@fix

Test Plan: Char-wrap and word-wrap tests to test suite included in this revision.

Reviewers: tasn

Subscribers: JackDanielZ, cedric

Projects: #efl

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

9 years agoelua: remove ldouble from lualian
Daniel Kolesa [Fri, 26 Sep 2014 12:16:13 +0000 (13:16 +0100)]
elua: remove ldouble from lualian

9 years agoelua: lualian event cleanup
Daniel Kolesa [Fri, 26 Sep 2014 12:11:05 +0000 (13:11 +0100)]
elua: lualian event cleanup

9 years agoelua: remove Constructor/Default_Constructor from lualian (obsolete)
Daniel Kolesa [Fri, 26 Sep 2014 12:10:03 +0000 (13:10 +0100)]
elua: remove Constructor/Default_Constructor from lualian (obsolete)

9 years agoeeze: Added API to set sysattr values
vivek [Fri, 26 Sep 2014 12:06:05 +0000 (08:06 -0400)]
eeze: Added API to set sysattr values

Summary:
Added eeze_udev_set_sysattr API to set value of various
system attributes of a device

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

Subscribers: cedric

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

9 years agoecore_wayland: Added cursor_name to Ecore_Wl_Window.
Srivardhan Hebbar [Fri, 26 Sep 2014 12:02:25 +0000 (08:02 -0400)]
ecore_wayland: Added cursor_name to Ecore_Wl_Window.

Summary:
Added cursor_name to Ecore_Wl_Window so that we can compare with input cursor name and avoid unnecessary cursor set calls to wayland.

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

Subscribers: cedric

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