Carsten Haitzler (Rasterman) [Tue, 1 Nov 2016 14:04:47 +0000 (23:04 +0900)]
remove xcb support in ecore_x and evas engines as per mailing list
as per mailing list discussion about dropping xcb support now. it
hasn't been complete for a long time, thus not recommented for being
turned on. as we are moving to a wayland world xcbmakes even less
sense. as agreed, time to clean up a bit and remove a distraction as
well as not well tested code. this also updates po's too.
@feature
Daniel Kolesa [Thu, 3 Nov 2016 13:21:57 +0000 (14:21 +0100)]
eolian: rename is_ref API to is_ptr to match syntax
Stefan Schmidt [Thu, 3 Nov 2016 10:54:47 +0000 (11:54 +0100)]
docs: document all missing type defines in our eo files
With this commit we reach 100% alias doc coverage for our eo files.
Stefan Schmidt [Thu, 3 Nov 2016 10:54:20 +0000 (11:54 +0100)]
docs: ecore: document various type defines
Stefan Schmidt [Thu, 3 Nov 2016 10:52:35 +0000 (11:52 +0100)]
docs: edje: document various type defines
Stefan Schmidt [Thu, 3 Nov 2016 10:51:14 +0000 (11:51 +0100)]
docs: elm: document various type defines
Stefan Schmidt [Thu, 3 Nov 2016 10:48:49 +0000 (11:48 +0100)]
docs: evas: document various type defines
Stefan Schmidt [Thu, 3 Nov 2016 09:13:49 +0000 (10:13 +0100)]
docs: efl_clock: fill missings docs for new efl clock class
Stefan Schmidt [Thu, 3 Nov 2016 08:59:58 +0000 (09:59 +0100)]
docs: efl_observer: fill missing docs for new efl_observer
Amitesh Singh [Thu, 3 Nov 2016 09:24:50 +0000 (14:54 +0530)]
elm: fix build break
"/usr/local/include/elementary-1/Elementary.h:266:30: fatal error:
efl_ui_clock.eo.h: No such file or directory"
Jean-Philippe Andre [Thu, 3 Nov 2016 08:11:32 +0000 (17:11 +0900)]
evas: Fix warning with va_start in internal EAPI
Clang 3.9.0 told me:
warning: passing an object that undergoes default argument
promotion to 'va_start' has undefined behavior [-Wvarargs]
So I told it to shut up and changed Eina_Bool to int.
Note that edje_edit_state_external_param_set has the same issue.
Jean-Philippe Andre [Wed, 2 Nov 2016 10:51:20 +0000 (19:51 +0900)]
evas: Add some safety code to evas_clip
I'm trying to fix a crash that seems to happens in some very odd
circumstances under stress testing. I have absolutely no idea
what is going wrong... So let's just add some extra safety.
Jean-Philippe Andre [Thu, 27 Oct 2016 06:46:28 +0000 (15:46 +0900)]
ecore_evas/x: Minor code simplification
Jean-Philippe Andre [Tue, 1 Nov 2016 05:53:52 +0000 (14:53 +0900)]
evas: Simplify intercept code
I'm trying to fix a bug. This is not changing logic in any way,
just factorizes the use of va_args.
Jean-Philippe Andre [Tue, 1 Nov 2016 03:01:42 +0000 (12:01 +0900)]
elm: Fix usage of invalid object type (image)
This fixes a a crash on NULL and ensures the EAPI call is
done on an elm_image. Just checking NULL is not good enough
as _efl_ui_image_sizing_eval() doesn't check the type first.
Jean-Philippe Andre [Tue, 1 Nov 2016 02:48:30 +0000 (11:48 +0900)]
evas: Fix debug logs with REND_DBG (typo)
Jean-Philippe Andre [Tue, 1 Nov 2016 03:06:22 +0000 (12:06 +0900)]
evas: Avoid calling render() on smart objects
Smart objects do not render themselves. This can avoid a
bit of extra unnecessary work.
Jean-Philippe Andre [Tue, 1 Nov 2016 02:23:29 +0000 (11:23 +0900)]
evas: Simplify GL masking and fix window rotation
The original solution was really complex and relied on
transforming the current gl_Position into the screen
coordinate in pixels, and map that to the pixel position
in the mask.
This new solution simply pushes the required vertices for
the mask, based on its geometry. This fixes masks when used
in a rotated window.
Why was it so hard to get right? :(
@fix
Jean-Philippe Andre [Thu, 27 Oct 2016 04:33:36 +0000 (13:33 +0900)]
wayland: Remove support for "draw_frame"
draw_frame is a legacy feature that draws a very ugly window border
with a white rect and a black text as title bar. This could be
used in wayland when using only the ecore_evas APIs, rather than
elm_win.
Note that the API ecore_evas_draw_frame_set() can not possibly work
as the flag is checked when the ecore_evas is created, so changing
the flag has no effect on existing windows.
Jean-Philippe Andre [Thu, 27 Oct 2016 03:05:16 +0000 (12:05 +0900)]
ecore_evas: Replace ECORE_MAGIC_CHECK with common macro
This removes a lot of clutter in the code.
Jean-Philippe Andre [Wed, 2 Nov 2016 01:56:35 +0000 (10:56 +0900)]
efl: Fix build break with builddir != srcdir
Amitesh Singh [Thu, 3 Nov 2016 06:30:17 +0000 (12:00 +0530)]
efl_ui_clock: Merge datetime/dayselector/clock widgets into efl_ui_clock.
Summary:
Datetime widget is module based, so datetime widget is used as base for efl_ui_clock and merged dayselector/clock features into efl_ui_clock.
Added day selection and seconds support in efl_ui_clock.
Added clock features like auto updation of time, stop timer etc in efl_ui_clock.
Added API to enable/disable edit_mode. efl_ui_clock can be configurable to display either only day/date/time or display any two of them or display all three.
Added efl_ui_clock.c and test_ui_clock.c. Theme and Module is added in another patch by Amitesh.
Original author is Yeshwanth <r.yeshwanth@samsung.com>. I have polished this patch a bit and make it compatible with current EFL code.
Test Plan: test_ui_clock
Reviewers: bu5hm4n, tasn, yashu21985, jpeg, cedric, raster
Subscribers: CHAN, woohyun
Differential Revision: https://phab.enlightenment.org/D3938
Amitesh Singh [Thu, 3 Nov 2016 06:29:31 +0000 (11:59 +0530)]
Efl.Ui.Clock: Add elm module & theme
Summary: depends on D3938
Reviewers: yashu21985, bu5hm4n, woohyun, Hermet, raster, jpeg
Subscribers: gohwoon.jeong, cedric, seoz, jpeg
Differential Revision: https://phab.enlightenment.org/D3939
Derek Foreman [Wed, 2 Nov 2016 18:13:07 +0000 (13:13 -0500)]
ecore_evas_wayland: Minimize differences between shm and egl
Finally bring these together as much as possible to avoid future
diversions when bugs are only fixed in one or the other.
There are functional changes - state tracking for client side effects is
now added to the shm engine, some bug fixes for the egl engine have been
brought to the shm engine.
Derek Foreman [Wed, 2 Nov 2016 12:41:33 +0000 (07:41 -0500)]
ecore_evas_wayland: Make resize code common
Brings resize code into the common implementation - there is a functional
change. There appears to have been a bug in the egl resize where it
used the same w, h order for portrait evases as for landscape. This was
fixed in shm. I've used the shm variant for the common code.
Derek Foreman [Tue, 1 Nov 2016 22:16:07 +0000 (17:16 -0500)]
ecore_evas_wayland: Make rotation_set common
Rotation set can be moved into common now - should be no functional
change.
Derek Foreman [Tue, 1 Nov 2016 22:15:24 +0000 (17:15 -0500)]
ecore_evas_wayland: Make transparent_set common
Moves transparent set into the common implementation - there is a
functional change here - the egl engine now calls transparent_set in
render_updates like the shm engine.
It is probable the this was the intended behaviour all along.
Derek Foreman [Tue, 1 Nov 2016 21:34:26 +0000 (16:34 -0500)]
ecore_evas_wayland: Make alpha set common
Moves alpha set into the common implementation - there is a functional
change here - the egl engine now calls alpha_do in render_updates like
the shm engine.
It is probable that this was the intended behaviour all along.
Derek Foreman [Tue, 1 Nov 2016 21:20:49 +0000 (16:20 -0500)]
ecore_evas_wayland: Move more functions into the common implementation
Show and hide can be made common with almost no functional changes.
Derek Foreman [Tue, 1 Nov 2016 20:46:35 +0000 (15:46 -0500)]
wayland evas engines: share engine info structure
These engines are incredibly similar - by sharing the same engine info
structure we'll be able to simplify the wayland ecore_evas bits and
make them much more maintainable.
Derek Foreman [Tue, 1 Nov 2016 20:47:08 +0000 (15:47 -0500)]
ecore_evas_wayland: Don't include Evas_Engine_Wayland_Egl.h
There doesn't seem to be any need for this.
Derek Foreman [Tue, 1 Nov 2016 17:38:44 +0000 (12:38 -0500)]
wayland_egl: Remove unused wl_egl_window variables
Derek Foreman [Tue, 1 Nov 2016 17:07:10 +0000 (12:07 -0500)]
wayland evas engines: rename wayland display to wl_display
Continuing to make the shm and egl engines closer to eachother.
Derek Foreman [Tue, 1 Nov 2016 16:41:47 +0000 (11:41 -0500)]
wayland_egl: Rename surface to wl_surface
Making this code more closely match the wayland_shm engine
Derek Foreman [Tue, 1 Nov 2016 16:26:14 +0000 (11:26 -0500)]
wayland_egl: Remove pre_post_swap_callback_set
This stuff seems copied from gl_x11 which actually has API to use it.
In this engine nothing can actually set it, so it's just all dead code.
Derek Foreman [Tue, 1 Nov 2016 16:24:12 +0000 (11:24 -0500)]
wayland_egl: Remove Evas_Engine_Info_Wayland_Egl_Swap_Mode enum
Nothing uses this.
Derek Foreman [Tue, 1 Nov 2016 13:36:55 +0000 (08:36 -0500)]
wayland_egl: Remove screen from engine info
Doesn't appear to actually be used for anything.
Derek Foreman [Tue, 1 Nov 2016 12:42:23 +0000 (07:42 -0500)]
wayland ecore evas: move move_resize to common
It's identical in both shm and egl variants, share it.
Derek Foreman [Tue, 1 Nov 2016 12:41:09 +0000 (07:41 -0500)]
wayland_egl: Remove some leftovers from www
The render post callback and "wobbling" variable were only required for
the client side effect.
Chris Michael [Wed, 2 Nov 2016 16:12:04 +0000 (12:12 -0400)]
ecore-wl2: Update cursor regardless of cursor surface
If a NULL surface gets passed into ecore_wl2_window_pointer_set that
would mean we are unsetting the cursor surface, so we should still be
calling wl_pointer_set_cursor even with a NULL surface.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Wed, 2 Nov 2016 15:29:49 +0000 (11:29 -0400)]
theme: remove text.min from bryce sizing text
this causes bogus min size calc values
ref T4809
Mike Blumenkrantz [Wed, 2 Nov 2016 15:19:54 +0000 (11:19 -0400)]
theme: trigger recalc from time's clock themes when object is resized
Chris Michael [Wed, 2 Nov 2016 13:44:13 +0000 (09:44 -0400)]
elput: Add API to allow setting pointer acceleration profile
This patch adds an API that can be used to set a pointer acceleration
profile. This API should be used when addressing T4736
ref T4736
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Daniel Kolesa [Wed, 2 Nov 2016 12:06:38 +0000 (13:06 +0100)]
eolian: rename ref to ptr to avoid confusion with eo refs
Jaehyun Cho [Wed, 2 Nov 2016 10:51:47 +0000 (19:51 +0900)]
naviframe: Fix to process title show/hide signal immediately
WooHyun Jung [Wed, 2 Nov 2016 00:28:26 +0000 (09:28 +0900)]
elm_popup: before getting focus, all sub objs should be shown
Gustavo Sverzut Barbieri [Tue, 1 Nov 2016 21:36:20 +0000 (19:36 -0200)]
unbreak build for OpenSSL < 1.0.2
not the ideal solution, but we need a decision if we're going to copy
the long code from OpenSSL into our library just to support legacy
users, given that Efl.Net targeted at the future.
Cedric BAIL [Tue, 1 Nov 2016 18:36:10 +0000 (11:36 -0700)]
elementary: not every call are from ecore_job infrastructure, NULL only when they are.
This is something that our tests suite detected. Please pay attention.
Jee-Yong Um [Tue, 1 Nov 2016 17:59:09 +0000 (10:59 -0700)]
edje.object: implement Efl.Observer interface
Summary:
To remove duplicated lines to handle edje class (color, text, size),
observer interface is implemented to Edje.Object.
Reviewers: jpeg, cedric
Reviewed By: cedric
Subscribers: bu5hm4n, cedric
Differential Revision: https://phab.enlightenment.org/D4359
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Youngbok Shin [Tue, 1 Nov 2016 17:54:16 +0000 (10:54 -0700)]
elementary entry: keep style user when new theme is applied
Summary:
The style user should be kept when entry's mode is changed.
@fix
Test Plan:
1. Run "elementary_test -to "entry style user"
2. Click "Singleline Mode" toggle
3. See the result
Reviewers: raster, tasn, herdsman, cedric
Reviewed By: cedric
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D4366
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Woochan Lee [Tue, 1 Nov 2016 17:51:27 +0000 (10:51 -0700)]
elm_multibuttonentry: send "clicked" signal when item got hardware enter key.
Summary:
It was kind of bug state before.
There was no any action when the user gives a focus on an item. then press the enter key.
The item should be set as selected state after that should call clicked signal.
@fix
Test Plan: elementary test MBE sample.
Reviewers: woohyun, bu5hm4n, Hermet
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4368
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Gustavo Sverzut Barbieri [Tue, 1 Nov 2016 18:01:57 +0000 (16:01 -0200)]
efl_net_server support systemd socket activation.
It includes extensive verifications to avoid mistakes and usage of
incorrect sockets.
Bruno Dilly [Tue, 1 Nov 2016 18:07:05 +0000 (16:07 -0200)]
Merge branch 'devs/bdilly/ecore_evas_wayland'
This series adds multiseat support to wayland engine.
Evas devices are created for seats (parent), keyboard, mouses and
touch input devices.
This way an application would be able to differentiate between
source seat of input events.
Reviewed By: devilhorns, ManMower, iscaro
Differential Revision: https://phab.enlightenment.org/D4370
@feature
Bruno Dilly [Fri, 7 Oct 2016 18:57:04 +0000 (15:57 -0300)]
examples/ecore: add example / test for wayland multiseat
Bruno Dilly [Thu, 6 Oct 2016 20:43:12 +0000 (17:43 -0300)]
ecore_wl2: associate evas devices to input ecore events
So users would be able to differentiate between source
seats.
Bruno Dilly [Wed, 5 Oct 2016 13:36:19 +0000 (10:36 -0300)]
ecore_wl2: add ecore event for seat capabilities change
So when mouse / keyboard are present or not it will
generate events.
ecore_evas/wayland will handle that creating or
deleting evas devices for each one (seat device
will be used as parent).
Bruno Dilly [Tue, 4 Oct 2016 18:19:51 +0000 (15:19 -0300)]
ecore_wl2: add ecore event for seat name change
And handle it on ecore_evas/wayland, properly
setting the evas device names.
Bruno Dilly [Mon, 3 Oct 2016 15:34:10 +0000 (12:34 -0300)]
ecore_evas/wayland: handle added / removed seats
Create or delete evas_devices with class EVAS_DEVICE_CLASS_SEAT
for seats on each ecore_evas created so far.
Initially it's named considering its Wayland id.
Bruno Dilly [Mon, 3 Oct 2016 14:19:22 +0000 (11:19 -0300)]
ecore_evas/wayland: remove unnecessary NULL attributions
When freeing wdata there is no reason to set each
freed field to NULL.
Bruno Dilly [Mon, 3 Oct 2016 13:21:47 +0000 (10:21 -0300)]
evas: Fix doxygen and normalize function signature
On recently added function evas_device_add_full()
Guilherme Iscaro [Tue, 1 Nov 2016 18:03:52 +0000 (16:03 -0200)]
Evas Device: Avoid invalid ptr indirection.
Summary:
When Evas is deleted the function _evas_device_cleanup() goes thru all
devices and unref them. Since Evas_Devices are Efl_Input_Device, the user
may still hold a reference to the device (efl_ref()),
thus causing the device to do not be deleted *yet*.
This causes a problem, because when the user calls efl_unref()
and the device itself is deleted the Evas _del_cb
callback will be called and will try to access the Evas_Public_Data from
a deleted object.
In order to avoid this problem all devices will be kept in the devices
list and Evas will unregister the EFL_EVENT_DEL from those devices that
were not deleted.
Reviewers: jpeg, bdilly, barbieri, cedric
Reviewed By: bdilly, cedric
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4369
Chris Michael [Tue, 1 Nov 2016 14:52:49 +0000 (10:52 -0400)]
elementary: Use software engine for wayland client pointers
There seem to be an issue with the ecore_evas_wayland_egl engine when
using them for cursors. The issue is that a black square shows up
behind the mouse pointer. This does not happen with the wayland_shm
engine so use wayland_shm engine for mouse pointers (for now) until
this can be sorted out.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Stefan Schmidt [Tue, 1 Nov 2016 13:18:26 +0000 (14:18 +0100)]
docs: add missing docs for the rest of efl interfaces
Stefan Schmidt [Tue, 1 Nov 2016 13:17:50 +0000 (14:17 +0100)]
docs: efl_text: ad missing docs for efl_text* interfaces
Stefan Schmidt [Tue, 1 Nov 2016 13:15:30 +0000 (14:15 +0100)]
docs: efl_image: add missing docs for efl_image_* interfaces
Stefan Schmidt [Tue, 1 Nov 2016 13:14:19 +0000 (14:14 +0100)]
docs: efl_pack: add missing docs for efl_pack_* interfaces
Stefan Schmidt [Tue, 1 Nov 2016 13:13:42 +0000 (14:13 +0100)]
docs: efl_io: add missing docs for efl_io_* interfaces
Stefan Schmidt [Tue, 1 Nov 2016 13:11:52 +0000 (14:11 +0100)]
docs: efl_gfx: add missing docs for efl_gfx_* interfaces
Stefan Schmidt [Tue, 1 Nov 2016 13:11:10 +0000 (14:11 +0100)]
docs: efl_ui: add missing docs for efl_ui_* interfaces
Gustavo Sverzut Barbieri [Tue, 1 Nov 2016 13:52:21 +0000 (11:52 -0200)]
examples/ecore: command to generate OpenSSL PEM files.
it's cumbersome to remember these commands and without them it's hard
to test the SSL server examples, so add a make rule for that.
Gustavo Sverzut Barbieri [Tue, 1 Nov 2016 12:45:38 +0000 (10:45 -0200)]
efl_net_server_example: oops, do not assume all servers are Efl.Net.Server.Fd
SSL server is not an Fd, it contains one internally, but that's
hidden. So call proper methods.
Dave Andreoli [Tue, 1 Nov 2016 08:53:39 +0000 (09:53 +0100)]
Scroller test: add a page_size spinner
and also #define the PAGESIZE
Jean-Philippe Andre [Tue, 1 Nov 2016 06:49:20 +0000 (15:49 +0900)]
elm: Fix disappearance of some elm images
After the commit
97c9fa64a461c (Remove group_show and group_hide),
some Efl.Ui.Image objects would not render properly. The reason
being that the object call to show() was aborted too early when
the image is still preloading.
This made for really random results as an image preload could
take more or less time, depending on chance.
Gustavo Sverzut Barbieri [Tue, 1 Nov 2016 03:31:56 +0000 (01:31 -0200)]
efl_net_{server,dialer}_ssl: TCP + SSL easy to use.
in the previous commit we're manually upgrading an existing TCP socket
to SSL. It is desired since some protocols need to negotiate, like
STARTTLS and the likes
Now we offer 2 classes that does autostart SSL once the socket is
ready.
Gustavo Sverzut Barbieri [Tue, 1 Nov 2016 00:28:41 +0000 (22:28 -0200)]
efl_net_ssl: fix build on LibreSSL and BSD
As usual thanks to @netstar for quickly spotting the problem :-)
Fixes: T4811
Gustavo Sverzut Barbieri [Sat, 29 Oct 2016 00:48:19 +0000 (22:48 -0200)]
efl_net_socket_ssl: initial SSL wrapper.
This is the first step towards SSL connections on top of sockets, with
an example on how to upgrade a dialer and a server client using TCP.
Gustavo Sverzut Barbieri [Fri, 28 Oct 2016 23:11:17 +0000 (21:11 -0200)]
efl_io_copier: do not ERROR on EAGAIN.
As done by write, if we try to read and we can't, then don't give
up. This happens with streams that wraps another, like SSL, may report
there are data to read, but once you try it may not result in enough
data to upper layers.
Gustavo Sverzut Barbieri [Fri, 28 Oct 2016 00:26:02 +0000 (22:26 -0200)]
efl_net_socket_fd: do not act if already closed, do not set eos.
It's pointless to reset eos, if it was set, keep it like that.
Gustavo Sverzut Barbieri [Thu, 27 Oct 2016 22:57:47 +0000 (20:57 -0200)]
ecore_getopt: allow empty strings as parameters.
Sometimes we want to specify an empty string, that should be allowed.
Gustavo Sverzut Barbieri [Thu, 27 Oct 2016 14:05:50 +0000 (12:05 -0200)]
remove incorrect EINA_UNUSED.
Chris Michael [Mon, 31 Oct 2016 18:03:30 +0000 (14:03 -0400)]
ecore-wl2: Unify surface creation code
As we call the same code during ecore_wl2_window_surface_get and
ecore_wl2_window_show functions that basically create the wl_surface
for a given window we can unify that code into one function that can
be called from various places. This also fixes an issue inside
ecore_wl2_window_show where the window surface_id may not have been
getting filled properly.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Stefan Schmidt [Mon, 31 Oct 2016 13:21:06 +0000 (14:21 +0100)]
docs: efl_canvas: fill in missing docs for efl_canvas interface
Stefan Schmidt [Mon, 31 Oct 2016 13:20:44 +0000 (14:20 +0100)]
docs: efl_animator: fill in missing docs for efl_animator interface
Stefan Schmidt [Mon, 31 Oct 2016 13:02:25 +0000 (14:02 +0100)]
docs: efl_gfx: fill in missing docs for efl_gfx interface
Dave Andreoli [Mon, 31 Oct 2016 16:35:05 +0000 (17:35 +0100)]
Add 2 buttons in the Scroller test to reveal one more bug
the buttons should scroll up and down by 1 px, but nothing move here
That test was still broken in other ways, for example:
play a bit with the "to X Y" buttons and see if it always do the correct thing
Vyacheslav Reutskiy [Mon, 31 Oct 2016 11:16:36 +0000 (13:16 +0200)]
edje_edit: generate to source code base_scale if it different from 1.0
Fixes T4767
Carsten Haitzler (Rasterman) [Mon, 31 Oct 2016 10:46:06 +0000 (19:46 +0900)]
emotion gst1 module - disable subtitles by default as that should be
there are spu apis to turn subtitles on and off and this should be off
until turned on by api. you really have to be able to choose the
subtitles to display - eg language etc. to use them effectively.
this fixes T4795
@fix
Carsten Haitzler (Rasterman) [Mon, 31 Oct 2016 04:55:07 +0000 (13:55 +0900)]
ecore audio - fix hang in wayland due to pulse audio connecting to x
pulse insists on connecting to the xserver on init/setup context if:
1. DISPLAY is set
AND
2. DISPLAY is not empty
so to do a pretty horrible worka-round, empty off the display if its
set so pa doesnt go connect to x and do this if WAYLAND_DISPLAy is set
assuming we'll use wayland then. this is far better than a solid
rock-hard hang. :)
@fix
InHong Han [Wed, 3 Aug 2016 07:40:24 +0000 (16:40 +0900)]
elm_entry: Add voice input panel layout
@feature
Change-Id: I41502d2446b95a4be31fc60a8d995b9d37930844
Signed-off-by: InHong Han <inhong1.han@samsung.com>
Cedric Bail [Sun, 30 Oct 2016 22:49:54 +0000 (15:49 -0700)]
ecore_audio: deprecating enum is apparently not supported in every version of gcc.
Jean Guyomarc'h [Sun, 30 Oct 2016 18:12:24 +0000 (19:12 +0100)]
tests: fix eolian_cxx tests with clang
eolian_cxx tests failed to link because of massively inexistant symbols.
I assume eolian_cxx tests have been working at some point. Maybe they
were gcc-only? I don't get what's going on with gcc and non-existant
symbols. Is there a sugar-coating of some kind? Because when a symbol
does not exist, clang throws you away. Is it because we are only
referring to the eo implementation functions via function pointers?
That's the second time I'm doing a fix like this. Maybe we should change
a bit our linking flags (see --unresolved-symbols in ld)??
Anyway, now we have our symbols. Clang is happy, make check can go on...
Jean Guyomarc'h [Sun, 30 Oct 2016 17:40:54 +0000 (18:40 +0100)]
ecore_con: fix structure declaration
Clang raised a massive amount of warnings due to the struct sockaddr_un
not being declared before using it. So, include the header that declares
this structure first.
Jean Guyomarc'h [Sun, 30 Oct 2016 15:35:56 +0000 (16:35 +0100)]
ecore_cocoa: fix handling of some keys
The ascii circumflex (^) can be typed by pressing twice the ^ key on a
mac keyboard. A single press allows composition (e.g. ^+e = ê).
Pressing ^ twice though, led to a segmentation fault in elementary,
because the result character of the operation (^) appeared in the raw
characters stack, and not in the filtered one.
This is a bit weird, as backtick (`) appears in the filtered keys stack.
@fix
Jean Guyomarc'h [Sun, 30 Oct 2016 15:34:35 +0000 (16:34 +0100)]
ecore_cocoa: prettify code a bit
Remove extraneous whitespaces, use appropriate macros when possible,
and mark a memory allocation failure as an unlikely case.
Jean Guyomarc'h [Sun, 30 Oct 2016 15:18:41 +0000 (16:18 +0100)]
ecore_cocoa: fix behaviour of option key
Commit
e44c48b90408d2518e2708090796988cfd3cacea failed to translate the
deprecated API into the Sierra API... replacing the Command key flags
by the Option key flags. This resulted of Opt+q quitting the program.
@fix
Jean Guyomarc'h [Sun, 2 Oct 2016 12:22:53 +0000 (14:22 +0200)]
ecore_cocoa: allow to override termination sequence
Jean Guyomarc'h [Sat, 29 Oct 2016 21:31:28 +0000 (23:31 +0200)]
autotools: stop summoning systemd's infernal cow
Systemd support has now been enabled by default on all capable
platforms. By explicitely providing --disable-systemd, one can disable
its integration to EFL.
When I litterally write that I don't want systemd support, please
don't tell me to enable it. It's almost a passive aggression there ;)
Jean Guyomarc'h [Sat, 29 Oct 2016 20:32:19 +0000 (22:32 +0200)]
ecore_audio: drop support for CoreAudio on macOS
CoreAudio support was initially introduced by commit
62e29b39f4df40fd3c0a6b17f7a16f0f8fc1d0c9 as an experimental feature.
It played basic sounds, but suffered from drawbacks: it was controlling
the master channel, and therefore any sound played by ecore_audio would
shut down a previous sound (e.g. background music) for the time of the
sound being played. So that wasn't exactly great... Also, after some
time, some hangs have been reported when playing a sound on input. Most
of the time, it translated as a pause in the main loop (see T3797).
More recently (several months ago), ecore_audio with CoreAudio stopped
working during 1.19 development...
So... CoreAudio support on macOS has never been great. And now it's fully
broken. Instead of trying to revive the thing, let just use PulseAudio.
PulseAudio can be installed without any trouble on macOS thanks to
package managers such as Homebrew. Actually, the efl package provided by
Homebrew already provides PulseAudio as a dependency. And it actually
just works very fine. Dropping CoreAudio seems therefore a nice option:
removes unmaintained code, fixes bugs, and add features.
Carsten Haitzler (Rasterman) [Sat, 29 Oct 2016 01:15:40 +0000 (10:15 +0900)]
elm win - add ifdef around wl code so it compiles with wl off
Vitor Sousa [Fri, 28 Oct 2016 23:19:37 +0000 (21:19 -0200)]
eio model: remove useless efreet_mime_type_get call