Vincent Torri [Tue, 14 Oct 2014 12:55:20 +0000 (14:55 +0200)]
Ecore_Win32: Fix string for the BackSpace key on Windows
@fix
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
Savio S. Machado [Mon, 13 Oct 2014 10:45:34 +0000 (07:45 -0300)]
eo-cxx: Replace C++ throw with EFL_CXX_THROW.
Daniel Juyung Seo [Mon, 13 Oct 2014 05:56:19 +0000 (14:56 +0900)]
ecore: Add more documentation for ecore_animator_source_set().
Cedric BAIL [Sun, 12 Oct 2014 08:11:26 +0000 (10:11 +0200)]
evas: more defensive programming.
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
Daniel Kolesa [Fri, 10 Oct 2014 13:46:50 +0000 (14:46 +0100)]
elua: fix eo callback return
Daniel Kolesa [Fri, 10 Oct 2014 12:58:04 +0000 (13:58 +0100)]
elua: very basic event support in eo bindings
Daniel Kolesa [Fri, 10 Oct 2014 12:48:25 +0000 (13:48 +0100)]
elua: initial, restricted support for property syntax and property/event inheritance
Daniel Kolesa [Fri, 10 Oct 2014 12:07:46 +0000 (13:07 +0100)]
elua/autotools: unbork (forgot to remove this)
Daniel Kolesa [Fri, 10 Oct 2014 12:04:15 +0000 (13:04 +0100)]
elua: remove testing elementary bindings
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.
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
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
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.
Savio S. Machado [Thu, 9 Oct 2014 17:00:56 +0000 (14:00 -0300)]
eina-cxx: Replace throws with EFL_CXX_THROW.
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
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.
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.
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>
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>
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>
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>
Cedric BAIL [Wed, 8 Oct 2014 15:08:52 +0000 (17:08 +0200)]
gitignore: let's ignore some more generated files.
Cedric BAIL [Wed, 8 Oct 2014 15:08:02 +0000 (17:08 +0200)]
evas: let's fix all Tasn borkage.
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>
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>
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>
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
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.
Jean-Philippe Andre [Wed, 8 Oct 2014 06:50:28 +0000 (15:50 +0900)]
Evas: Remove unused array calculate_objects
ChunEon Park [Wed, 8 Oct 2014 06:47:58 +0000 (15:47 +0900)]
evas: support anti-alias for gl line drawing.
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.
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.
Daniel Kolesa [Tue, 7 Oct 2014 14:06:32 +0000 (15:06 +0100)]
elua: add support for ctor func as last param
ChunEon Park [Tue, 7 Oct 2014 13:19:33 +0000 (22:19 +0900)]
evas: updated doc
here also use Eina_Bool for consistency.
ChunEon Park [Tue, 7 Oct 2014 13:15:34 +0000 (22:15 +0900)]
evas: updated doc.
mention Eina_Bool for consistency.
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.
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.
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.
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>
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>
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.
Chris Michael [Mon, 6 Oct 2014 14:07:07 +0000 (10:07 -0400)]
Revert "ecore-drm: Fix formatting"
This reverts commit
d4e4038e52696d965b9107be5f5f9cdfff6c32ee.
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>
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
Daniel Kolesa [Mon, 6 Oct 2014 12:50:14 +0000 (13:50 +0100)]
elua/autotools: fix build without an existing EFL installation
Daniel Kolesa [Mon, 6 Oct 2014 12:39:53 +0000 (13:39 +0100)]
gitignore: add .eo.lua
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
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
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.
Daniel Kolesa [Mon, 6 Oct 2014 09:41:53 +0000 (10:41 +0100)]
autotools: fix elua helper eo target
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
Boris Faure [Sun, 5 Oct 2014 13:00:18 +0000 (15:00 +0200)]
synchronize mailmap
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.
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
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.
Savio Sena [Fri, 3 Oct 2014 18:04:27 +0000 (15:04 -0300)]
eo-cxx: Add static assert to check boolean size.
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>
Daniel Kolesa [Fri, 3 Oct 2014 08:26:27 +0000 (09:26 +0100)]
eolian: free a buffer properly (fixes CID 1243233)
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.
Cedric BAIL [Thu, 2 Oct 2014 14:34:10 +0000 (16:34 +0200)]
evas: tests tgv file decoding.
Daniel Kolesa [Thu, 2 Oct 2014 14:40:10 +0000 (15:40 +0100)]
elua: name ctor param names according to their func
Daniel Kolesa [Thu, 2 Oct 2014 14:26:15 +0000 (15:26 +0100)]
elua: when combining ctor params, do not allow repeated param names
Daniel Kolesa [Thu, 2 Oct 2014 14:20:01 +0000 (15:20 +0100)]
elua: translate param names that are lua keywords into acceptable variants
Daniel Kolesa [Thu, 2 Oct 2014 14:04:02 +0000 (15:04 +0100)]
elua: update eo bindings
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.
Daniel Kolesa [Thu, 2 Oct 2014 13:55:30 +0000 (14:55 +0100)]
elua: generate the object ctor function
Daniel Kolesa [Thu, 2 Oct 2014 13:40:58 +0000 (14:40 +0100)]
eolian: call the methods/properties from constructors directly for now
Daniel Kolesa [Thu, 2 Oct 2014 13:25:08 +0000 (14:25 +0100)]
elua: initial/incomplete support for constructors in lualian
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)
Daniel Kolesa [Thu, 2 Oct 2014 11:39:34 +0000 (12:39 +0100)]
elua: lualian type fix
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).
Daniel Kolesa [Thu, 2 Oct 2014 10:34:55 +0000 (11:34 +0100)]
elua: remove obsolete code from lualian
Daniel Kolesa [Thu, 2 Oct 2014 10:30:36 +0000 (11:30 +0100)]
eolian: add test for the new C class get function API
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.
Daniel Kolesa [Thu, 2 Oct 2014 09:41:06 +0000 (10:41 +0100)]
elua: update eo lua API against generated lualian output
Daniel Kolesa [Thu, 2 Oct 2014 09:34:14 +0000 (10:34 +0100)]
elua: properly support _class_get funcs in lualian
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
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.
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.
Jihoon Kim [Thu, 2 Oct 2014 00:33:08 +0000 (09:33 +0900)]
ecore_imf/ibus: fix code formatting
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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
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