platform/upstream/efl.git
9 years agoelua: ffi.string in method calls is bad... reduce allocs
Daniel Kolesa [Fri, 17 Oct 2014 13:56:28 +0000 (14:56 +0100)]
elua: ffi.string in method calls is bad... reduce allocs

9 years agoecore_imf: Add normal and password variations
Jihoon Kim [Fri, 17 Oct 2014 12:34:08 +0000 (21:34 +0900)]
ecore_imf: Add normal and password variations

9 years agoecore_imf: Add example code link in Ecore_IMF API doxygen
Jihoon Kim [Fri, 17 Oct 2014 04:54:02 +0000 (13:54 +0900)]
ecore_imf: Add example code link in Ecore_IMF API doxygen

9 years agoscale: add the API edje_object_base_scale_get.
Jaehwan Kim [Thu, 16 Oct 2014 04:15:38 +0000 (13:15 +0900)]
scale: add the API edje_object_base_scale_get.

This function returns the base_scale factor set on the
Edje object.
The base_scale can be set in the collection of edc.
If it isn't set, the default value is 1.0.

9 years agoEcore_Win32: Fix string for the BackSpace key on Windows
Vincent Torri [Tue, 14 Oct 2014 12:55:20 +0000 (14:55 +0200)]
Ecore_Win32: Fix string for the BackSpace key on Windows

@fix

9 years agoEdje_Edit: creating new hash in global data if it is not created yet
Vitalii Vorobiov [Mon, 13 Oct 2014 13:51:29 +0000 (16:51 +0300)]
Edje_Edit: creating new hash in global data if it is not created yet

Summary: edje_edit_data_add doesn't work if loaded EDJ file doesn't contain
any data items. It can't add new data item to emptry (NULL) hash.
Now, if there is no data in EDJ yet (so hash is empty), by adding new data it
will create hash and after that will add new data.

@fix

9 years agoeo-cxx: Replace C++ throw with EFL_CXX_THROW.
Savio S. Machado [Mon, 13 Oct 2014 10:45:34 +0000 (07:45 -0300)]
eo-cxx: Replace C++ throw with EFL_CXX_THROW.

9 years agoecore: Add more documentation for ecore_animator_source_set().
Daniel Juyung Seo [Mon, 13 Oct 2014 05:56:19 +0000 (14:56 +0900)]
ecore: Add more documentation for ecore_animator_source_set().

9 years agoevas: more defensive programming.
Cedric BAIL [Sun, 12 Oct 2014 08:11:26 +0000 (10:11 +0200)]
evas: more defensive programming.

9 years agoelua: properly hook up gc so that eo objects are unref'd in C when collected
Daniel Kolesa [Fri, 10 Oct 2014 14:44:49 +0000 (15:44 +0100)]
elua: properly hook up gc so that eo objects are unref'd in C when collected

9 years agoelua: fix eo callback return
Daniel Kolesa [Fri, 10 Oct 2014 13:46:50 +0000 (14:46 +0100)]
elua: fix eo callback return

9 years agoelua: very basic event support in eo bindings
Daniel Kolesa [Fri, 10 Oct 2014 12:58:04 +0000 (13:58 +0100)]
elua: very basic event support in eo bindings

9 years agoelua: initial, restricted support for property syntax and property/event inheritance
Daniel Kolesa [Fri, 10 Oct 2014 12:48:25 +0000 (13:48 +0100)]
elua: initial, restricted support for property syntax and property/event inheritance

9 years agoelua/autotools: unbork (forgot to remove this)
Daniel Kolesa [Fri, 10 Oct 2014 12:07:46 +0000 (13:07 +0100)]
elua/autotools: unbork (forgot to remove this)

9 years agoelua: remove testing elementary bindings
Daniel Kolesa [Fri, 10 Oct 2014 12:04:15 +0000 (13:04 +0100)]
elua: remove testing elementary bindings

9 years agoRevert "Revert "Eo: Move eo_add_ref logic inside the library.""
Tom Hacohen [Fri, 10 Oct 2014 08:30:52 +0000 (09:30 +0100)]
Revert "Revert "Eo: Move eo_add_ref logic inside the library.""

This reverts commit 11da9421842c439474ea08b346cdb1ee986db361.

Can't reproduce with the non-existent bug report, thus have no choice
but consider it as working.

9 years agoRevert "Eo: Move eo_add_ref logic inside the library."
Mike Blumenkrantz [Fri, 10 Oct 2014 01:01:48 +0000 (21:01 -0400)]
Revert "Eo: Move eo_add_ref logic inside the library."

This reverts commit 8d16d8eb5711d246509e44bf0ce5366f65fd9aea.

this broke child object deletion in all the cases that I tested and regular object deletion in some cases as well

9 years agoecore_imf/wayland: Use simple code to fix infinite loop bug related to ibus-hangul
Jihoon Kim [Fri, 10 Oct 2014 01:01:53 +0000 (10:01 +0900)]
ecore_imf/wayland: Use simple code to fix infinite loop bug related to ibus-hangul

9 years agoFix a bug with using Eio_File handler in main callback.
Guillaume Friloux [Thu, 9 Oct 2014 19:41:55 +0000 (21:41 +0200)]
Fix a bug with using Eio_File handler in main callback.

When using eio_file_stat_ls() (or any other exposing Eio_File *handler),
it will not be possible to use it from the main callback due to eio
freeing data too fast from the thread.

Moved frees from _eio_file_eina_ls_heavy() to eio_async_end() to be
sure that all the calls to main callback are over.
This implied adding the Eina_Iterator from eina_file_stat_ls to
the _Eio_File_Ls structure.

9 years agoeina-cxx: Replace throws with EFL_CXX_THROW.
Savio S. Machado [Thu, 9 Oct 2014 17:00:56 +0000 (14:00 -0300)]
eina-cxx: Replace throws with EFL_CXX_THROW.

9 years agoevas: GL_X11 context need to always be with alpha or it will fail to change.
Cedric BAIL [Thu, 9 Oct 2014 10:20:53 +0000 (12:20 +0200)]
evas: GL_X11 context need to always be with alpha or it will fail to change.

@fix

9 years agoeolian-cxx: Fixed pointer dereferencing for Eolian types and constant propagation...
Felipe Magno de Almeida [Thu, 9 Oct 2014 00:09:19 +0000 (21:09 -0300)]
eolian-cxx: Fixed pointer dereferencing for Eolian types and constant propagation for C++ eina list containers

With the addition of pointer types, the eolian C++ generator now has
to dereference to get the base type which might be a complex type.

9 years agoecore_con: Fix connect() handling
Guillaume Friloux [Wed, 8 Oct 2014 09:53:15 +0000 (11:53 +0200)]
ecore_con: Fix connect() handling

If connect() returns 0, we must send the ECORE_CON_EVENT_SERVER_ADD event
because it wont be given by select(). select() will ONLY notice it if connect
returns -1 with errno set to EINPROGRESS.

This bug is reproductible with 100% chance using ecore_con_telnet_client example
from https://github.com/gfriloux/examples if you connect to 127.0.0.1 instead of
of an external network ip, under FreeBSD (and likely any BSD).

Seems very rare to trigger it under GNU/Linux as it seems that connect()
doesnt want to return 0 when having non blocking sockets (or is too slow),
but it seems i was having this bug too on production servers, without being
ever able to reproduce it.

9 years agoeina: remove macros referencing to absent functions.
Tae-Hwan Kim [Wed, 8 Oct 2014 16:58:32 +0000 (18:58 +0200)]
eina: remove macros referencing to absent functions.

Summary: eina_ustrbuf_insert_printf and eina_ustrbuf_insert_vprintf are absent

@fix

Reviewers: huchi, raster, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: fix warnings introduced by Evas_3D eet import/export feature.
Bogdan Devichev [Wed, 8 Oct 2014 16:42:41 +0000 (18:42 +0200)]
evas: fix warnings introduced by Evas_3D eet import/export feature.

Summary:
This is a fix of those warnings. Sorry for existence of them.
   CC       lib/evas/common/lib_evas_libevas_la-evas_alpha_main.lo
../../src/lib/evas/canvas/evas_3d_mesh_loader_eet.c:113:13: warning:
assignment from incompatible pointer type
     eet_file = _evas_3d_eet_file_new();
              ^
   CC       lib/evas/common/lib_evas_libevas_la-evas_blend_main.lo
   CC       lib/evas/common/lib_evas_libevas_la-evas_blit_main.lo
   CC       lib/evas/common/lib_evas_libevas_la-evas_convert_color.lo
../../src/lib/evas/canvas/evas_3d_mesh_saver_eet.c: In function
'evas_3d_mesh_save_eet':
../../src/lib/evas/canvas/evas_3d_mesh_saver_eet.c:159:13: warning:
assignment from incompatible pointer type
     eet_file = _evas_3d_eet_file_new();
              ^
   CC       lib/evas/common/lib_evas_libevas_la-evas_convert_colorspace.lo
   CC       lib/evas/common/lib_evas_libevas_la-evas_convert_gry_1.lo
../../src/lib/evas/canvas/evas_3d_eet.c: In function
'_evas_3d_eet_file_new':
../../src/lib/evas/canvas/evas_3d_eet.c:28:4: warning: return discards
'const' qualifier from pointer target type
     return creating_file;

Reviewers: cedric, artem.popov

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore-evas-drm: Fix formatting
Chris Michael [Wed, 8 Oct 2014 15:35:17 +0000 (11:35 -0400)]
ecore-evas-drm: Fix formatting

NB: No functional changes, just cosmetic

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-evas-drm: Set the ecore_drm_device reference in the engine data
Chris Michael [Wed, 8 Oct 2014 15:30:36 +0000 (11:30 -0400)]
ecore-evas-drm: Set the ecore_drm_device reference in the engine data

Summary: Since we have a field inside the engine info structure to
store a reference to the Ecore_Drm_Device, then let's set it.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agogitignore: let's ignore some more generated files.
Cedric BAIL [Wed, 8 Oct 2014 15:08:52 +0000 (17:08 +0200)]
gitignore: let's ignore some more generated files.

9 years agoevas: let's fix all Tasn borkage.
Cedric BAIL [Wed, 8 Oct 2014 15:08:02 +0000 (17:08 +0200)]
evas: let's fix all Tasn borkage.

9 years agoecore-drm: Fix drm cards on ARM platform not having boot_vga parameter
Chris Michael [Wed, 8 Oct 2014 14:06:45 +0000 (10:06 -0400)]
ecore-drm: Fix drm cards on ARM platform not having boot_vga parameter

Summary:
On some ARM platforms, the drivers do not list boot_vga as an
attribute, so we cannot do checks for that. This patch fixes finding
drm cards on those platforms by skipping the boot_vga check if we had
to use "platform" to find it.

Thanks to shiin for the report :)

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Fix failure of finding drm device on ARM platforms.
Chris Michael [Wed, 8 Oct 2014 13:31:37 +0000 (09:31 -0400)]
ecore-drm: Fix failure of finding drm device on ARM platforms.

Summary:
On some ARM platforms we were failing to find the drm device card.
This was due to those ARM platforms using SUBSYSTEM="platform" as a
udev attribute instead of "pci". This fixes that issue so that those
devices are found again.

Thanks to shiin for the report :)

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-gl-common: Fix compile for EGL due to missing GL_LINE_SMOOTH
Chris Michael [Wed, 8 Oct 2014 13:04:21 +0000 (09:04 -0400)]
evas-gl-common: Fix compile for EGL due to missing GL_LINE_SMOOTH

Summary:
When compiling for EGL, GL_LINE_SMOOTH ends up not being defined so
compile breaks. This fix just checks if GL_LINE_SMOOTH is missing and
if so it defines it.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoelua: fix class c get function in lualian and make lua files rebuild on lualian changes
Daniel Kolesa [Wed, 8 Oct 2014 08:58:40 +0000 (09:58 +0100)]
elua: fix class c get function in lualian and make lua files rebuild on lualian changes

9 years agoEvas examples: Fix 3d aabb example.
Tom Hacohen [Wed, 8 Oct 2014 08:14:48 +0000 (09:14 +0100)]
Evas examples: Fix 3d aabb example.

This fixes evas-3d-aabb.c after the changes to eo_add.

Fixes T1719.

9 years agoEvas: Remove unused array calculate_objects
Jean-Philippe Andre [Wed, 8 Oct 2014 06:50:28 +0000 (15:50 +0900)]
Evas: Remove unused array calculate_objects

9 years agoevas: support anti-alias for gl line drawing.
ChunEon Park [Wed, 8 Oct 2014 06:47:58 +0000 (15:47 +0900)]
evas: support anti-alias for gl line drawing.

9 years agoecore_imf/wayland: fix infinite loop bug when ibus-hangul is used
Jihoon Kim [Wed, 8 Oct 2014 05:24:14 +0000 (14:24 +0900)]
ecore_imf/wayland: fix infinite loop bug when ibus-hangul is used

When korean language was typed with ibus-hangul,
wayland immodule falled into the infinite loop.

9 years agoecore_con: check that we have an actual server data before using it.
Cedric BAIL [Tue, 7 Oct 2014 14:28:17 +0000 (16:28 +0200)]
ecore_con: check that we have an actual server data before using it.

9 years agoelua: add support for ctor func as last param
Daniel Kolesa [Tue, 7 Oct 2014 14:06:32 +0000 (15:06 +0100)]
elua: add support for ctor func as last param

9 years agoevas: updated doc
ChunEon Park [Tue, 7 Oct 2014 13:19:33 +0000 (22:19 +0900)]
evas: updated doc

here also use Eina_Bool for consistency.

9 years agoevas: updated doc.
ChunEon Park [Tue, 7 Oct 2014 13:15:34 +0000 (22:15 +0900)]
evas: updated doc.

mention Eina_Bool for consistency.

9 years agoevas/3d: Add declaration for new mesh functions.
Stefan Schmidt [Tue, 7 Oct 2014 07:33:51 +0000 (09:33 +0200)]
evas/3d: Add declaration for new mesh functions.

They are used in other files but have never been declared.

9 years agobuild: Change cxx-bindings option to reflect its changed default state
Stefan Schmidt [Tue, 7 Oct 2014 06:50:45 +0000 (08:50 +0200)]
build: Change cxx-bindings option to reflect its changed default state

In f9e862e52e7f17cd49431fbfb78667e4a1fba3e5 the cxx-bindings have been
changed to enabled by default again but the help text and option name
was not changed back.

9 years agoevas - render2 renders conecnt for the first time... wow...
Carsten Haitzler (Rasterman) [Tue, 7 Oct 2014 05:34:36 +0000 (14:34 +0900)]
evas - render2 renders conecnt for the first time... wow...

this is an unused code path UNLESS you:

export EVAS_RENDER2=1

so this will affect nothing unless you enable this and test it. it's
designe dto be done this way so we can slowly bring it in and bring it
up to speed and peolpe can easily test it and so on.

so now - content is rendered. most content is actually. only thing
that breaks that i can see so far is mapped smart objects.

9 years agoevas: Evas_3D - add .eet export/import
Bogdan Devichev [Mon, 6 Oct 2014 14:27:06 +0000 (16:27 +0200)]
evas: Evas_3D - add .eet export/import

Summary: The first version of .eet format is added. All changes due to discussion in D1307 are done.

Reviewers: artem.popov, se.osadchy, reutskiy.v.v, Hermet, raster, cedric, Oleksander

@feature

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore-drm: Remove the FIXME note
Chris Michael [Mon, 6 Oct 2014 14:08:19 +0000 (10:08 -0400)]
ecore-drm: Remove the FIXME note

Summary: Apparently, it's better if we just let this fail rather than
trying to be proactive for the API user.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoRevert verifying anything passed in to the API.
Chris Michael [Mon, 6 Oct 2014 14:07:22 +0000 (10:07 -0400)]
Revert verifying anything passed in to the API.

Revert "ecore_drm: Verifying if name format is /dev/xyz before assigning to tty."

This reverts commit 5ebc31908e7ac81a8f6ce0979a40ba7865a5bf48.

9 years agoRevert "ecore-drm: Fix formatting"
Chris Michael [Mon, 6 Oct 2014 14:07:07 +0000 (10:07 -0400)]
Revert "ecore-drm: Fix formatting"

This reverts commit d4e4038e52696d965b9107be5f5f9cdfff6c32ee.

9 years agoecore-drm: Fix formatting
Chris Michael [Mon, 6 Oct 2014 13:13:41 +0000 (09:13 -0400)]
ecore-drm: Fix formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore_drm: Verifying if name format is /dev/xyz before assigning to tty.
Srivardhan Hebbar [Mon, 6 Oct 2014 13:12:38 +0000 (09:12 -0400)]
ecore_drm: Verifying if name format is /dev/xyz before assigning to tty.

Summary: Because this is an exposed API function, we should be
checking that the name parameter is valid, and also verify it's
formatting before we use it. This patch fixes that by comparing the
passed in name and assembling a valid tty name to open

@fix

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

Subscribers: cedric

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

9 years agoelua/autotools: fix build without an existing EFL installation
Daniel Kolesa [Mon, 6 Oct 2014 12:50:14 +0000 (13:50 +0100)]
elua/autotools: fix build without an existing EFL installation

9 years agogitignore: add .eo.lua
Daniel Kolesa [Mon, 6 Oct 2014 12:39:53 +0000 (13:39 +0100)]
gitignore: add .eo.lua

9 years agoecore_drm: Removed unwanted FIXME line.
Srivardhan Hebbar [Mon, 6 Oct 2014 12:41:38 +0000 (08:41 -0400)]
ecore_drm: Removed unwanted FIXME line.

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

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric

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

9 years agoecore_drm: Removed hard coded seat value.
Srivardhan Hebbar [Mon, 6 Oct 2014 12:32:01 +0000 (08:32 -0400)]
ecore_drm: Removed hard coded seat value.

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

Reviewers: devilhorns

Subscribers: cedric

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

9 years agoelua/autotools: generate .eo.lua files out of all eo files at build time
Daniel Kolesa [Mon, 6 Oct 2014 10:32:25 +0000 (11:32 +0100)]
elua/autotools: generate .eo.lua files out of all eo files at build time

Also change the generator a bit so that it doesn't rely on lib name information
and fix the runtime to properly source lua files within tree.

9 years agoautotools: fix elua helper eo target
Daniel Kolesa [Mon, 6 Oct 2014 09:41:53 +0000 (10:41 +0100)]
autotools: fix elua helper eo target

9 years agoemotion - limit pos set seecks to 0.0 at minumum point
Carsten Haitzler (Rasterman) [Mon, 6 Oct 2014 00:13:14 +0000 (09:13 +0900)]
emotion - limit pos set seecks to 0.0 at minumum point

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>