platform/upstream/efl.git
8 years agoecore_audio: document ecore_audio core class
Stefan Schmidt [Mon, 18 Apr 2016 20:05:22 +0000 (22:05 +0200)]
ecore_audio: document ecore_audio core class

Merging some property descriptions and some smaller changes.

8 years agoecore_audio: document all ecore_audio_out classes
Stefan Schmidt [Mon, 18 Apr 2016 20:04:53 +0000 (22:04 +0200)]
ecore_audio: document all ecore_audio_out classes

8 years agoecore_audio: document all ecore_audio_in classes
Stefan Schmidt [Mon, 18 Apr 2016 09:46:06 +0000 (11:46 +0200)]
ecore_audio: document all ecore_audio_in classes

For the properties we really only need to document the property itself and not
its setter and getter functions.

8 years agoFix Makevars and update all pos'
maxerba [Mon, 18 Apr 2016 12:18:00 +0000 (14:18 +0200)]
Fix Makevars and update all pos'

In the elementary tree all translatable messages are enclosed in a E_() macro, and since this macro was undefined in Makevars all massages was not included in catalog.
If some coder think that the E domain is useless, or deprecated or whatever, please remove it and update all source files accordingly.

8 years agoeolian: fix invalid type_type mapping in lua bindings
Daniel Kolesa [Mon, 18 Apr 2016 15:09:21 +0000 (16:09 +0100)]
eolian: fix invalid type_type mapping in lua bindings

8 years agoelm_photo: make sure we have a separate variable for the sanitized path
Stefan Schmidt [Mon, 18 Apr 2016 12:26:02 +0000 (14:26 +0200)]
elm_photo: make sure we have a separate variable for the sanitized path

That way we can safely free it again after it got memory allocated from
eina_file_path_sanitize(). Fixes a memory leak.

CID: 1353601

8 years agoelm_atspi_bridge: unref eldbus msg before returning to avoid memory leak
Stefan Schmidt [Mon, 18 Apr 2016 11:36:17 +0000 (13:36 +0200)]
elm_atspi_bridge: unref eldbus msg before returning to avoid memory leak

If we goto fail here we still have the ret eldbus message referenced. Make
sure we unref so it can be free'd and we do not leak memory.

CID: 1353603

8 years agoelm_spinner: free string in all cases before returning
Stefan Schmidt [Mon, 18 Apr 2016 10:55:05 +0000 (12:55 +0200)]
elm_spinner: free string in all cases before returning

If len < max_len was true here we leaked new_str. Make sure we also free it
in this case.

CID: 1353605

8 years agoelm_conform: fix memory leak for state variable
Stefan Schmidt [Mon, 18 Apr 2016 10:36:11 +0000 (12:36 +0200)]
elm_conform: fix memory leak for state variable

Make sure we actually free state here before going out of scope.

CID: 1353606

8 years agoeolian: free impl_full_params strbuf before going out of scope
Stefan Schmidt [Mon, 18 Apr 2016 10:29:14 +0000 (12:29 +0200)]
eolian: free impl_full_params strbuf before going out of scope

Just missed impl_full_params here while all others are free'd fine.

CID: 1354287

8 years agoeolian: fix object scope def in lua bindings
Daniel Kolesa [Mon, 18 Apr 2016 12:50:28 +0000 (13:50 +0100)]
eolian: fix object scope def in lua bindings

8 years agoecore exe: don't allocate inside fork to avoid issues with mem debuggers
Carsten Haitzler (Rasterman) [Mon, 18 Apr 2016 12:38:47 +0000 (21:38 +0900)]
ecore exe: don't allocate inside fork to avoid issues with mem debuggers

so i've been doing some debugging and having a mem debugger that
preloads and tracks allocs means you need locks, but locks can do
nasty things after forks + threads.... esp if threads held locks.

this allows mem debugging with preloads easily and doesn't muck things
up.

8 years agoClean up the different parents in the EFL.
Tom Hacohen [Mon, 18 Apr 2016 09:10:43 +0000 (10:10 +0100)]
Clean up the different parents in the EFL.

This change was dubbed "visual parent" on my todo. Essentially what it
does is better defines eo_parent (as seen in the docs), limits the usage
(and exposure of the other parents) and renames them to more descriptive
names.

Merge branch 'devs/tasn/raw_parent'

8 years agoEdje tests: Add parent upadting tests to edje.
Tom Hacohen [Fri, 15 Apr 2016 16:45:52 +0000 (17:45 +0100)]
Edje tests: Add parent upadting tests to edje.

8 years agoElm layout: Add parent updating tests to elm layout.
Tom Hacohen [Fri, 15 Apr 2016 14:06:41 +0000 (15:06 +0100)]
Elm layout: Add parent updating tests to elm layout.

8 years agoElm popup: use the correct parent for calculations.
Tom Hacohen [Mon, 11 Apr 2016 17:11:23 +0000 (18:11 +0100)]
Elm popup: use the correct parent for calculations.

It just so happens that these parents are the same at the moment.
They don't have to be. We should use the correct, popup specific parent for
that.

8 years agoElm widget: rename parent to widget_parent and mark as protected.
Tom Hacohen [Mon, 11 Apr 2016 16:51:15 +0000 (17:51 +0100)]
Elm widget: rename parent to widget_parent and mark as protected.

This removes the conflicts between the different parents and also
indicates that this is to be used internally by widgets and should
not be confused with the normal user visible parent.

It is an internal attribute that should not be used by people
not implementing widgets. Marking it as protected signifies it
as such.

8 years agoElm: Reparent when swallowing an object.
Tom Hacohen [Thu, 7 Apr 2016 13:50:32 +0000 (14:50 +0100)]
Elm: Reparent when swallowing an object.

Make the layout the parent on swallow, and the canvas the parent on
unswallow.

8 years agoEdje: Reparent when swallowing/unswallowing.
Tom Hacohen [Thu, 7 Apr 2016 13:56:57 +0000 (14:56 +0100)]
Edje: Reparent when swallowing/unswallowing.

On swallow make the edje object the parent, on unswallow the canvas.

8 years agoEvas object: rename smart_parent to render_parent and mark as protected.
Tom Hacohen [Thu, 14 Apr 2016 17:33:25 +0000 (18:33 +0100)]
Evas object: rename smart_parent to render_parent and mark as protected.

8 years agoecore_imf/wayland: Fix bug language changed event is always called
Jihoon Kim [Mon, 18 Apr 2016 05:51:46 +0000 (14:51 +0900)]
ecore_imf/wayland: Fix bug language changed event is always called

8 years agoeina mempool: don't allow 0 sized mempools
Carsten Haitzler (Rasterman) [Sun, 17 Apr 2016 03:13:25 +0000 (12:13 +0900)]
eina mempool: don't allow 0 sized mempools

there is no point in having a mempool with a max 0 size. this leads to
us mallocing 0 bytes for the base. not good. make minimim size 1. :)

@fix

8 years agoEo: Silence warning about no side-effect in _eo_add_common
Felipe Magno de Almeida [Sun, 17 Apr 2016 17:53:23 +0000 (14:53 -0300)]
Eo: Silence warning about no side-effect in _eo_add_common

Added a cast to void to silence the warning about no side-effect on
GCC.

8 years agodocs: document ecore_mainloop class, functions and events.
Stefan Schmidt [Fri, 15 Apr 2016 13:45:15 +0000 (15:45 +0200)]
docs: document ecore_mainloop class, functions and events.

8 years agodocs: add description for ecore_poller class and cleanup some other parts
Stefan Schmidt [Fri, 15 Apr 2016 12:37:02 +0000 (14:37 +0200)]
docs: add description for ecore_poller class and cleanup some other parts

8 years agodocs: fix some typos in ecore_timer EO docs
Stefan Schmidt [Fri, 15 Apr 2016 12:19:54 +0000 (14:19 +0200)]
docs: fix some typos in ecore_timer EO docs

8 years agoelua: more file utilities in clib
Daniel Kolesa [Sat, 16 Apr 2016 17:15:35 +0000 (18:15 +0100)]
elua: more file utilities in clib

8 years agoelm_focus: keep all focused states to be consistent when win loses and gets focus
WooHyun Jung [Sat, 16 Apr 2016 04:47:13 +0000 (13:47 +0900)]
elm_focus: keep all focused states to be consistent when win loses and gets focus

Since focus_clear removed all the focused traces, focus was not reverted well
whenever win lost and got focus repeatedly.
For instance,
1. set focus to button1
2. set focus to button2
3. win focus out and in
4. remove button2
5. focus is on win not on button1

So, focus logic changes to not clear focused states when win loses focus.

@fix

8 years agoelm_win: remove duplicated focused/unfocused event call
WooHyun Jung [Sat, 16 Apr 2016 01:37:34 +0000 (10:37 +0900)]
elm_win: remove duplicated focused/unfocused event call

These are already called in elm_widget's on_focus.

@fix

8 years agoevas: update evas-3d-shadow example
Oleksandr Shcherbina [Fri, 15 Apr 2016 18:19:20 +0000 (11:19 -0700)]
evas: update evas-3d-shadow example

Summary: Add possibility turn on/off rendering scene with/without post processing

Reviewers: cedric, raster, Hermet

Subscribers: jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
8 years agoedje_cc: delete anonymous lookup during program removal
Jee-Yong Um [Fri, 15 Apr 2016 18:14:31 +0000 (11:14 -0700)]
edje_cc: delete anonymous lookup during program removal

Summary:
program_remove attribute allows to remove program inherited from
parent group, but if its action is EDJE_ACTION_TYPE_SCRIPT,
anonymous lookup also should be deleted.

@fix

Reviewers: cedric, jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
8 years agoautotools: fix make distcheck.
Cedric Bail [Fri, 15 Apr 2016 18:06:13 +0000 (11:06 -0700)]
autotools: fix make distcheck.

8 years agoEdje tests: Don't ship test edje files and clean up their generation.
Tom Hacohen [Fri, 15 Apr 2016 17:18:03 +0000 (18:18 +0100)]
Edje tests: Don't ship test edje files and clean up their generation.

This was duplication hell and also quite stupid. This commit should fix
this mess (to an extent).

8 years agoEdje tests: Fix tests when running out of source and remove hack.
Tom Hacohen [Fri, 15 Apr 2016 16:54:32 +0000 (17:54 +0100)]
Edje tests: Fix tests when running out of source and remove hack.

There was a seriously horrible hack here to workaround this issue. This
hacks goes all the way back to 3e07236. The essence of the hack was to
try the system files for the tests (and I guess that's why we were
shipping them although we really shouldn't).

This change fixes the file lookup for out of source files.

Hat-tip to zmike for pointing me to abs_top_buildir.

8 years agoElm test layout: Fix indentation.
Tom Hacohen [Fri, 15 Apr 2016 13:10:35 +0000 (14:10 +0100)]
Elm test layout: Fix indentation.

8 years agoElementary tests: Migrate the suite to the efl test infra.
Tom Hacohen [Fri, 15 Apr 2016 13:39:11 +0000 (14:39 +0100)]
Elementary tests: Migrate the suite to the efl test infra.

8 years agoEo: Make sure semi-colons and other directives aren't used in eo_add.
Tom Hacohen [Fri, 15 Apr 2016 12:52:32 +0000 (13:52 +0100)]
Eo: Make sure semi-colons and other directives aren't used in eo_add.

This was already enforced in the legacy version but was not enforced in
the GCC extension version. This change makes sure it's disallowed in
both.

8 years agoElm ctxpopup: Remove useless implementation of sub_object_add.
Tom Hacohen [Fri, 15 Apr 2016 12:40:23 +0000 (13:40 +0100)]
Elm ctxpopup: Remove useless implementation of sub_object_add.

Was just calling super and nothing more.

8 years agoelput: Adjust EAPI for windows build
Chris Michael [Fri, 15 Apr 2016 12:13:47 +0000 (08:13 -0400)]
elput: Adjust EAPI for windows build

Small patch to fix definition of EAPI on Windows. Thanks to vtorri for
reporting.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoElementary Toolbar: Send order signals when a item is added/removed
Youngbok Shin [Fri, 15 Apr 2016 06:10:49 +0000 (15:10 +0900)]
Elementary Toolbar: Send order signals when a item is added/removed

Summary:
Send order signals for changing item's state according to its order.
It does not affect to existing themes. It sends the following signals.
elm,order,first,item
elm,order,default,item
elm,order,last,item
@feature

Test Plan: N/A

Reviewers: woohyun, jaehwan, eagleeye, cedric

Subscribers: cedric, jpeg

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

8 years agoautotools: fix build after hungry rebase.
Cedric BAIL [Fri, 15 Apr 2016 00:05:35 +0000 (17:05 -0700)]
autotools: fix build after hungry rebase.

8 years agoexamples: add DESTDIR support for install.
Cedric BAIL [Fri, 15 Apr 2016 00:00:08 +0000 (17:00 -0700)]
examples: add DESTDIR support for install.

8 years agoelementary: make it possible to build the library alone.
Cedric BAIL [Thu, 14 Apr 2016 23:22:23 +0000 (16:22 -0700)]
elementary: make it possible to build the library alone.

8 years agoeio: make it possible to build the library alone.
Cedric BAIL [Thu, 14 Apr 2016 23:18:19 +0000 (16:18 -0700)]
eio: make it possible to build the library alone.

8 years agoector: make it possible to build the library alone.
Cedric BAIL [Thu, 14 Apr 2016 22:41:40 +0000 (15:41 -0700)]
ector: make it possible to build the library alone.

8 years agoecore: make it possible to build the library alone.
Cedric BAIL [Thu, 14 Apr 2016 22:38:22 +0000 (15:38 -0700)]
ecore: make it possible to build the library alone.

8 years agoedje: make it possible to build the library alone.
Cedric BAIL [Thu, 14 Apr 2016 22:35:34 +0000 (15:35 -0700)]
edje: make it possible to build the library alone.

8 years agoefl: make it possible to build the library alone.
Cedric BAIL [Thu, 14 Apr 2016 22:26:50 +0000 (15:26 -0700)]
efl: make it possible to build the library alone.

8 years agoeo: make it possible to build the library alone.
Cedric BAIL [Wed, 13 Apr 2016 23:23:45 +0000 (16:23 -0700)]
eo: make it possible to build the library alone.

8 years agoautotools: allow reuse of some macro for subdirectory Eolian build.
Cedric BAIL [Thu, 14 Apr 2016 00:28:31 +0000 (17:28 -0700)]
autotools: allow reuse of some macro for subdirectory Eolian build.

8 years agoeet: make it possible to build the library alone.
Cedric BAIL [Wed, 13 Apr 2016 23:16:46 +0000 (16:16 -0700)]
eet: make it possible to build the library alone.

8 years agoemile: make it possible to build the library alone.
Cedric BAIL [Wed, 13 Apr 2016 23:11:44 +0000 (16:11 -0700)]
emile: make it possible to build the library alone.

8 years agoeina: make it possible to build the library alone.
Cedric BAIL [Wed, 13 Apr 2016 23:07:33 +0000 (16:07 -0700)]
eina: make it possible to build the library alone.

8 years agoevil: make it possible to build the library alone.
Cedric BAIL [Wed, 13 Apr 2016 22:55:31 +0000 (15:55 -0700)]
evil: make it possible to build the library alone.

So I have been battling with autotools on this for a full week now,
and what we want is basically impossible. A.k.a. one file definition
and possibility to do a full build or just a partial build of efl.
Even moving to just partial build require to land a massive patch that
change everything in our build system and this is just not a road I
want to take.

For reference, if one day automake allow the use of any kind of variable
(autoconf AC_SUBST expansion or $()) in the _SOURCES parameter, it will
be possible to fix. Alternatively if they allow to build subdirectory
before they do BUILT_SOURCE, it would make it possible to incrementaly
move to only partial build. In the mean time, a less problematic solution
is to duplicate source code.

8 years agoautotools: track dependencies for partial sub build.
Cedric BAIL [Thu, 14 Apr 2016 00:27:31 +0000 (17:27 -0700)]
autotools: track dependencies for partial sub build.

8 years agoEo base: Improve documentation.
Tom Hacohen [Thu, 14 Apr 2016 17:32:45 +0000 (18:32 +0100)]
Eo base: Improve documentation.

8 years agodocs: add description for class and method parameters
Stefan Schmidt [Thu, 14 Apr 2016 16:17:01 +0000 (18:17 +0200)]
docs: add description for class and method parameters

8 years agodocs: add method parameter descriptions for ecore_idle_*
Stefan Schmidt [Thu, 14 Apr 2016 15:10:49 +0000 (17:10 +0200)]
docs: add method parameter descriptions for ecore_idle_*

Now that we support these in docgen catch up in some example EO files.

8 years agodocs: add class and method parameter descriptions to ecore_idler class
Stefan Schmidt [Thu, 14 Apr 2016 15:10:05 +0000 (17:10 +0200)]
docs: add class and method parameter descriptions to ecore_idler class

8 years agoEo base: Make parent nullable.
Tom Hacohen [Mon, 11 Apr 2016 16:29:15 +0000 (17:29 +0100)]
Eo base: Make parent nullable.

It's allowed to be null, so mark it as such. This is useful
for languages that support nullable vs non-nullable types.

8 years agoedje: fix invalid calculation to get a circular dependency
Shinwoo Kim [Thu, 14 Apr 2016 12:55:14 +0000 (21:55 +0900)]
edje: fix invalid calculation to get a circular dependency

8 years agodatetime_input_ctxpopup: delete previously created ctxpopup if theme is broken
Vitalii Vorobiov [Thu, 14 Apr 2016 11:35:42 +0000 (20:35 +0900)]
datetime_input_ctxpopup: delete previously created ctxpopup if theme is broken

Summary:
Or else it will create dozens of ctxpopup's if user applied wrong or broken
theme that do not remove ctxpopups at all (lack of programs/signals or whatever
brokes ctxpopup behaviour)

@fix

Reviewers: cedric, reutskiy.v.v, NikaWhite, raster, an.kroitor, wc, Hermet

Reviewed By: Hermet

Subscribers: jpeg

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

8 years agoevas.canvas3d: Change shade_mode to shader_mode
Oleksandr Shcherbina [Thu, 14 Apr 2016 11:28:20 +0000 (20:28 +0900)]
evas.canvas3d: Change shade_mode to shader_mode

Summary:
enum Evas.Canvas3D.Shade_Mode are using for choose relevant shader source code.
So renaming have a sence.
Rename evas_canvas3d_shade_mode_set/get property to evas_canvas3d_shader_mode_set/get
Rename internal fields and functions

Reviewers: cedric, Hermet, raster

Subscribers: jpeg

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

8 years agoElementary: fix PACKAGE_DATA_DIR value
YOhoho [Thu, 14 Apr 2016 11:06:46 +0000 (20:06 +0900)]
Elementary: fix PACKAGE_DATA_DIR value

Summary:
when run elementary_config, It can't find 'font_preview.edj'.
i modified PACKAGE_DATA_DIR value.

Test Plan: elementary_config

Reviewers: Hermet, cedric

Subscribers: conr2d, jpeg

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

8 years agoelput - update gitignore.
Hermet Park [Thu, 14 Apr 2016 11:02:09 +0000 (20:02 +0900)]
elput - update gitignore.

ignore a generated pc file.

8 years agoeo - key obj reference - don't unref on del event callback
Carsten Haitzler (Rasterman) [Thu, 14 Apr 2016 01:35:18 +0000 (10:35 +0900)]
eo - key obj reference - don't unref on del event callback

object is being deleted by cb - don't unref as we are already at 0.

8 years agoelput: Add missing optional feature check for systemd
Chris Michael [Wed, 13 Apr 2016 19:44:13 +0000 (15:44 -0400)]
elput: Add missing optional feature check for systemd

As elput can potentially use systemd-logind for various input device
functions, we should add this as an optional dependency in the
configure checks.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoMerge branch 'devs/devilhorns/elput'
Chris Michael [Wed, 13 Apr 2016 18:16:39 +0000 (14:16 -0400)]
Merge branch 'devs/devilhorns/elput'

The elput library is an efl abstraction for the libinput library which
can be used by various other subsystems (ecore_fb, ecore_drm, etc)
to handle interfacing with libinput without having to duplicate the
code in each subsystem.

Elput currently uses systemd-logind by default to open/close input
devices, but has the ability for other methods (direct opening) to be
easily added through the Manager implementation.

NB: This library is merged with EFL_BETA_API_SUPPORT and is subject to
API changes.

8 years agoelput: Add API function to set output size on an input device
Chris Michael [Thu, 7 Apr 2016 13:10:48 +0000 (09:10 -0400)]
elput: Add API function to set output size on an input device

This function is used to adjust device calibration based on size of
output

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelput: Add API function to set input window
Chris Michael [Thu, 7 Apr 2016 13:08:00 +0000 (09:08 -0400)]
elput: Add API function to set input window

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelput: Add event which can be raised when devices get added or removed
Chris Michael [Thu, 7 Apr 2016 13:00:18 +0000 (09:00 -0400)]
elput: Add event which can be raised when devices get added or removed

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelput: Handle various events from libinput and pass to ecore_event
Chris Michael [Wed, 6 Apr 2016 15:32:42 +0000 (11:32 -0400)]
elput: Handle various events from libinput and pass to ecore_event

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelput: Add event structures for keymap and modifier sending events
Chris Michael [Wed, 6 Apr 2016 17:23:36 +0000 (13:23 -0400)]
elput: Add event structures for keymap and modifier sending events

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelput: Create and send seat frame events when we need to
Chris Michael [Wed, 6 Apr 2016 14:38:08 +0000 (10:38 -0400)]
elput: Create and send seat frame events when we need to

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelput: Create and raise event when seat capabilities change
Chris Michael [Wed, 6 Apr 2016 14:26:46 +0000 (10:26 -0400)]
elput: Create and raise event when seat capabilities change

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelput: Add support for creating and removing devices
Chris Michael [Wed, 6 Apr 2016 12:46:29 +0000 (08:46 -0400)]
elput: Add support for creating and removing devices

This patch adds start of code to create or remove input devices such
as keyboards, pointers, or touch devices.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelput: Start code to process events from libinput
Chris Michael [Fri, 1 Apr 2016 17:22:16 +0000 (13:22 -0400)]
elput: Start code to process events from libinput

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelput: Add API function to initialize and shutdown input devices
Chris Michael [Fri, 1 Apr 2016 17:04:25 +0000 (13:04 -0400)]
elput: Add API function to initialize and shutdown input devices

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelput: Remove vt activate/restore from input manager interface
Chris Michael [Fri, 1 Apr 2016 13:49:36 +0000 (09:49 -0400)]
elput: Remove vt activate/restore from input manager interface

As this library is just going to deal with libinput, we don't need to
have interface functions to activate or restore a virtual terminal.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelput: Add API functions to open and close an input device
Chris Michael [Fri, 1 Apr 2016 13:12:36 +0000 (09:12 -0400)]
elput: Add API functions to open and close an input device

This adds new API functions which can be called to open or close an input
device and take control (or release control) of said device

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelput: Add input manager interface and APIs to connect & disconnect
Chris Michael [Thu, 31 Mar 2016 16:34:32 +0000 (12:34 -0400)]
elput: Add input manager interface and APIs to connect & disconnect

This commit adds the start of the Elput Manager & Interface code. This
will be used as an inteface to various backend methods of session &
device control (ie: systemd, direct interface, etc). This will provide
various abstractions for working with libinput when opening/closing
input devices.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelput: Add test framework for Elput library
Chris Michael [Thu, 24 Mar 2016 17:38:44 +0000 (13:38 -0400)]
elput: Add test framework for Elput library

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelput: Initial checkin of elput library
Chris Michael [Thu, 24 Mar 2016 15:19:31 +0000 (11:19 -0400)]
elput: Initial checkin of elput library

The elput library is an efl abstraction for the libinput library which
can be used by various other subsystems (ecore_fb, ecore_drm, etc) to
handle interfacing with libinput without having to duplicate the code
in each subsystem.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoeo: adjust direction of parameters
Dave Andreoli [Wed, 13 Apr 2016 18:12:18 +0000 (20:12 +0200)]
eo: adjust direction of parameters

They are OUT params in real

Side note: the doc for this function miss the x parameter in the generated .eo.h file
...if someone want to look at the doc generation code.

8 years agoeina: Fix promise error with eina_promise_all
Felipe Magno de Almeida [Wed, 13 Apr 2016 17:43:43 +0000 (14:43 -0300)]
eina: Fix promise error with eina_promise_all

Fix value_set and error_set signatures which were receiving a
owner. They actually receive the promise and not the owner, this
caused wrong access to memory and were not visible by warnings because
the functions are casted.

This problem caused errors in which it seemed that promise had
actually error'ed when questioned it.

8 years agoecore-drm: Don't leak object properties
Chris Michael [Wed, 13 Apr 2016 16:55:59 +0000 (12:55 -0400)]
ecore-drm: Don't leak object properties

When fetching possible planes for an output, we end up leaking object
properties here as these were never freed.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agodocs: add descriptions and and more to ecore.idle classes
Stefan Schmidt [Wed, 13 Apr 2016 14:56:47 +0000 (16:56 +0200)]
docs: add descriptions and and more to ecore.idle classes

8 years agodocs: add description for ecore.exe class and events
Stefan Schmidt [Wed, 13 Apr 2016 13:34:11 +0000 (15:34 +0200)]
docs: add description for ecore.exe class and events

8 years agodocs: add nstate widget to elm widget list index
Stefan Schmidt [Wed, 13 Apr 2016 14:34:55 +0000 (16:34 +0200)]
docs: add nstate widget to elm widget list index

8 years agodocs: make elementary docs available form main doc page
Stefan Schmidt [Wed, 13 Apr 2016 13:06:52 +0000 (15:06 +0200)]
docs: make elementary docs available form main doc page

While elm docs have been merged in they never have been accessible from the
main page of our docs. Fix this by including elm_intro.h and referencing it
from the main page. While we are at it rename it to the scheme we used in EFL.

Another missing piece was the index with all widget references. Never brought
over form the elm legacy tree. Putting this in and we are now at least able to
navigate to all elm widget pages.

8 years agodocs: generate nstate widget preview for documentation
Stefan Schmidt [Wed, 13 Apr 2016 12:34:26 +0000 (14:34 +0200)]
docs: generate nstate widget preview for documentation

The preview example code was already there but not hooked up in our preview
screenshot magic.

8 years agoedje - delete obj - null out freed items in structs/data
Carsten Haitzler (Rasterman) [Wed, 13 Apr 2016 10:59:00 +0000 (19:59 +0900)]
edje - delete obj - null out freed items in structs/data

i just got a segv freeing ian invalid ptr... it SEEMS as if something
has tried to free and edje object twice... but i can't be sure as
valgrind can't catch this. it's a one-off, so ensure after free, we
NULL out things we freed to avoid this.

@fix

8 years agoctxpopup: pass const object ptr as argument in horizontal_get()
Amitesh Singh [Wed, 13 Apr 2016 10:41:19 +0000 (16:11 +0530)]
ctxpopup: pass const object ptr as argument in horizontal_get()

8 years agoexample: eina log - set eina log levels in examples
Amitesh Singh [Wed, 13 Apr 2016 09:59:29 +0000 (15:29 +0530)]
example: eina log - set eina log levels in examples

8 years agoeldbus: make tests suite more robust to initialization count change.
Cedric BAIL [Tue, 12 Apr 2016 17:40:58 +0000 (10:40 -0700)]
eldbus: make tests suite more robust to initialization count change.

8 years agoeo - add object sotrage in generic values with ref/unref
Carsten Haitzler (Rasterman) [Tue, 12 Apr 2016 16:04:11 +0000 (01:04 +0900)]
eo - add object sotrage in generic values with ref/unref

this adds eo_key_obj_set/get/del() like with data but for object
handles so the obj is ref'd as long as the key and parent obj exists
and then unreffed on deletion. it also tracks deletion of reffed
objects like weak refs and then removes the key automatically.

@feature

8 years agotests/eldbus: add now needed calls to ecore_init/shutdown
Stefan Schmidt [Tue, 12 Apr 2016 15:22:28 +0000 (17:22 +0200)]
tests/eldbus: add now needed calls to ecore_init/shutdown

Since commit 53c66c98c2ae13a8c96b4ae1f9d735cda179e89d eldbus o longer calls
ecore_init() wo we need to handle this. Fixes the edlbus tests cases.

8 years agotests/eldbus_cxx: add ecore_init calls in tests now that eldbus does no longer
Stefan Schmidt [Tue, 12 Apr 2016 14:41:28 +0000 (16:41 +0200)]
tests/eldbus_cxx: add ecore_init calls in tests now that eldbus does no longer

Since commit 53c66c98c2ae13a8c96b4ae1f9d735cda179e89d eldbus o longer calls
ecore_init() wo we need to handle this. Fixes edlbus_cxx tests cases.

8 years agoEina matrix/vector tests: pass correct pointers to arrays.
Tom Hacohen [Tue, 12 Apr 2016 14:45:10 +0000 (15:45 +0100)]
Eina matrix/vector tests: pass correct pointers to arrays.

Clang (rightfully) complained about passing double ** where we should have
passed a double *.

8 years agoEet test: renamed shadowing variable.
Tom Hacohen [Tue, 12 Apr 2016 14:40:42 +0000 (15:40 +0100)]
Eet test: renamed shadowing variable.