platform/upstream/efl.git
6 years agoelm_clock: convert to composition!
Marcel Hollerbach [Fri, 29 Sep 2017 20:45:30 +0000 (22:45 +0200)]
elm_clock: convert to composition!

6 years agointroduce efl_ui_focus_composition!
Marcel Hollerbach [Fri, 29 Sep 2017 20:43:37 +0000 (22:43 +0200)]
introduce efl_ui_focus_composition!

It does what the class description tells

6 years agoefl_ui_focus_manager_calc: delete items if they are deleted
Marcel Hollerbach [Fri, 29 Sep 2017 16:56:26 +0000 (18:56 +0200)]
efl_ui_focus_manager_calc: delete items if they are deleted

6 years agoelm_widget: use the user_manager for setting focus
Marcel Hollerbach [Thu, 28 Sep 2017 09:33:13 +0000 (11:33 +0200)]
elm_widget: use the user_manager for setting focus

6 years agoefl_ui_Focus_manager_root_focus: add focus rectangle
Marcel Hollerbach [Mon, 28 Aug 2017 08:20:14 +0000 (10:20 +0200)]
efl_ui_Focus_manager_root_focus: add focus rectangle

the focus rectangle is basically just a normal efl.canvas.rectangle, but
with the focus interface implemented.

This fixes alot of errors which gets called when the root_focus manager
is used, with the submanager as mixin.

6 years agoefl_ui_focus_manager_root_focus: correctly call state eval
Marcel Hollerbach [Thu, 24 Aug 2017 18:03:04 +0000 (20:03 +0200)]
efl_ui_focus_manager_root_focus: correctly call state eval

when a new item is registered we should eval state to unregister the
rect

6 years agoefl_ui_focus_manager_root_focus: only register if we really need to
Marcel Hollerbach [Thu, 28 Sep 2017 09:00:10 +0000 (11:00 +0200)]
efl_ui_focus_manager_root_focus: only register if we really need to

6 years agoelm: introduce efl_ui_focus_layer
Marcel Hollerbach [Mon, 25 Sep 2017 16:07:54 +0000 (18:07 +0200)]
elm: introduce efl_ui_focus_layer

what it does is described in the mixin

this commit refactors inwin hover popup ctxpopup to use that behaviour.
Since it should do exactly that.

6 years agoelm_conform: use legacy elm_object api!
Marcel Hollerbach [Wed, 27 Sep 2017 19:11:40 +0000 (21:11 +0200)]
elm_conform: use legacy elm_object api!

6 years agoelm_dayselector: remove old api!
Marcel Hollerbach [Wed, 27 Sep 2017 15:45:28 +0000 (17:45 +0200)]
elm_dayselector: remove old api!

6 years agoelm_toolbar: remove old api!
Marcel Hollerbach [Tue, 26 Sep 2017 23:46:57 +0000 (01:46 +0200)]
elm_toolbar: remove old api!

6 years agoelm_slideshow: remove old api!
Marcel Hollerbach [Tue, 26 Sep 2017 23:44:48 +0000 (01:44 +0200)]
elm_slideshow: remove old api!

6 years agoelm_seperator: remove old api!
Marcel Hollerbach [Tue, 26 Sep 2017 23:44:20 +0000 (01:44 +0200)]
elm_seperator: remove old api!

6 years agoelm_scroller: remove old api!
Marcel Hollerbach [Tue, 26 Sep 2017 23:42:20 +0000 (01:42 +0200)]
elm_scroller: remove old api!

6 years agoelm_prefs: remove old api!
Marcel Hollerbach [Tue, 26 Sep 2017 23:40:30 +0000 (01:40 +0200)]
elm_prefs: remove old api!

6 years agoelm_label: remove old api!
Marcel Hollerbach [Tue, 26 Sep 2017 23:35:23 +0000 (01:35 +0200)]
elm_label: remove old api!

6 years agoelm_diskselector: remove old api!
Marcel Hollerbach [Tue, 26 Sep 2017 23:34:57 +0000 (01:34 +0200)]
elm_diskselector: remove old api!

6 years agoelm_inwin: remove old api!
Marcel Hollerbach [Tue, 26 Sep 2017 23:31:18 +0000 (01:31 +0200)]
elm_inwin: remove old api!

6 years agoelm_index: remove old api!
Marcel Hollerbach [Tue, 26 Sep 2017 23:29:41 +0000 (01:29 +0200)]
elm_index: remove old api!

6 years agoelm_hover: remove old api!
Marcel Hollerbach [Tue, 26 Sep 2017 23:28:16 +0000 (01:28 +0200)]
elm_hover: remove old api!

6 years agoelm_flipselector: remove old api!
Marcel Hollerbach [Tue, 26 Sep 2017 23:23:58 +0000 (01:23 +0200)]
elm_flipselector: remove old api!

6 years agoelm_fileselector_entry: remove old api!
Marcel Hollerbach [Tue, 26 Sep 2017 23:22:41 +0000 (01:22 +0200)]
elm_fileselector_entry: remove old api!

6 years agoelm_fileselector: remove old api!
Marcel Hollerbach [Tue, 26 Sep 2017 23:21:06 +0000 (01:21 +0200)]
elm_fileselector: remove old api!

6 years agoelm_entry: remove old api!
Marcel Hollerbach [Tue, 26 Sep 2017 23:19:20 +0000 (01:19 +0200)]
elm_entry: remove old api!

6 years agoelm_bubble: remove old api!
Marcel Hollerbach [Tue, 26 Sep 2017 23:13:09 +0000 (01:13 +0200)]
elm_bubble: remove old api!

6 years agoelm_actionslider: remove old api!
Marcel Hollerbach [Tue, 26 Sep 2017 23:09:48 +0000 (01:09 +0200)]
elm_actionslider: remove old api!

6 years agoefl_ui_video: remove old api!
Marcel Hollerbach [Tue, 26 Sep 2017 23:05:17 +0000 (01:05 +0200)]
efl_ui_video: remove old api!

6 years agoefl_ui_text: remove old api!
Marcel Hollerbach [Tue, 26 Sep 2017 23:03:59 +0000 (01:03 +0200)]
efl_ui_text: remove old api!

6 years agoefl_ui_slider: remove old api!
Marcel Hollerbach [Tue, 26 Sep 2017 23:03:07 +0000 (01:03 +0200)]
efl_ui_slider: remove old api!

6 years agoefl_ui_progressbar: remove old api!
Marcel Hollerbach [Tue, 26 Sep 2017 23:02:18 +0000 (01:02 +0200)]
efl_ui_progressbar: remove old api!

6 years agoefl_ui_panes: remove old api!
Marcel Hollerbach [Tue, 26 Sep 2017 23:00:33 +0000 (01:00 +0200)]
efl_ui_panes: remove old api!

6 years agoefl_ui_layout: remove old api!
Marcel Hollerbach [Tue, 26 Sep 2017 22:58:58 +0000 (00:58 +0200)]
efl_ui_layout: remove old api!

6 years agoelm_naviframe: remove old api!
Marcel Hollerbach [Mon, 25 Sep 2017 16:10:47 +0000 (18:10 +0200)]
elm_naviframe: remove old api!

6 years agoelm_multibuttonentry: remove old api!
Marcel Hollerbach [Mon, 25 Sep 2017 16:03:12 +0000 (18:03 +0200)]
elm_multibuttonentry: remove old api!

6 years agoefl_ui_frame: remove old api!
Marcel Hollerbach [Mon, 25 Sep 2017 15:56:00 +0000 (17:56 +0200)]
efl_ui_frame: remove old api!

6 years agoefl_ui_flip: remove old api!
Marcel Hollerbach [Mon, 25 Sep 2017 15:54:12 +0000 (17:54 +0200)]
efl_ui_flip: remove old api!

6 years agoefl_ui_clock: remove old api!
Marcel Hollerbach [Mon, 25 Sep 2017 15:52:46 +0000 (17:52 +0200)]
efl_ui_clock: remove old api!

6 years agoefl_ui_button: remove old api!
Marcel Hollerbach [Mon, 25 Sep 2017 15:50:55 +0000 (17:50 +0200)]
efl_ui_button: remove old api!

6 years agoelm_table: remove old api!
Marcel Hollerbach [Tue, 26 Sep 2017 23:46:26 +0000 (01:46 +0200)]
elm_table: remove old api!

6 years agoelm_grid: remove old api!
Marcel Hollerbach [Tue, 26 Sep 2017 23:27:12 +0000 (01:27 +0200)]
elm_grid: remove old api!

6 years agoefl_ui_grid: remove old api!
Marcel Hollerbach [Mon, 25 Sep 2017 16:05:23 +0000 (18:05 +0200)]
efl_ui_grid: remove old api!

6 years agoelm_box: remove old api!
Marcel Hollerbach [Tue, 26 Sep 2017 23:10:47 +0000 (01:10 +0200)]
elm_box: remove old api!

6 years agoefl_ui_box: remove old api!
Marcel Hollerbach [Mon, 25 Sep 2017 15:44:08 +0000 (17:44 +0200)]
efl_ui_box: remove old api!

6 years agoelm_toolbar: we need to register the items in the submanager
Marcel Hollerbach [Tue, 10 Oct 2017 09:15:33 +0000 (11:15 +0200)]
elm_toolbar: we need to register the items in the submanager

6 years agofocus: Avoid infinite loop in window
Jean-Philippe Andre [Tue, 10 Oct 2017 10:30:38 +0000 (19:30 +0900)]
focus: Avoid infinite loop in window

I kept the safety error message for easier debugging.
Test scenario:
  elementary_test -to "Window Inline"
  Click on an entry. Press Shift+Tab.

Ping @bu5hm4n

6 years agowidget: Make focus_mouse_up_handle internal
Jean-Philippe Andre [Tue, 10 Oct 2017 09:53:43 +0000 (18:53 +0900)]
widget: Make focus_mouse_up_handle internal

I don't think this belongs to the public EO API.

Ref T5363

6 years agocombobox: Mark as legacy only if legacy API is used
Jean-Philippe Andre [Tue, 10 Oct 2017 05:15:21 +0000 (14:15 +0900)]
combobox: Mark as legacy only if legacy API is used

See bc2fe6bb778b559e6c88f836d8cbdfb631b193b4

6 years agoevas: Override del() for evas objects
Jean-Philippe Andre [Thu, 28 Sep 2017 09:03:33 +0000 (18:03 +0900)]
evas: Override del() for evas objects

This makes EAPI evas_object_del() and EO API efl_del() work the same on
evas objects, i.e. a del() implies an immediate call to hide() and mark
the object as "delete_me".

If the refcount remains > 0 the object won't be actually deleted, thus
EFL_EVENT_DEL won't be triggered. I think it would probably be a good
idea to have a new event "del,request", to signal reference owners that
this object "wants" to die.

Ping @raster @zmike

6 years agoector: remove unused value
Thiep Ha [Tue, 10 Oct 2017 04:19:03 +0000 (13:19 +0900)]
ector: remove unused value

The stored value of v_last is overwritten in another place,
its stored valued is not used.

6 years agoeio: fix multiple open/close chain example.
Cedric Bail [Tue, 10 Oct 2017 01:27:56 +0000 (18:27 -0700)]
eio: fix multiple open/close chain example.

6 years agoeio: update example for openning and closing file asynchronously using a chain.
Cedric Bail [Tue, 10 Oct 2017 00:44:33 +0000 (17:44 -0700)]
eio: update example for openning and closing file asynchronously using a chain.

6 years agoevas: there is no effect of variable assignment while clean up.
Subodh Kumar [Mon, 9 Oct 2017 23:41:19 +0000 (16:41 -0700)]
evas: there is no effect of variable assignment while clean up.

Summary:
There is no effect of assingning a variable while clean up.
@fix

Reviewers: raster, cedric

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
6 years agoephysic: comparing with same statement.
Subodh Kumar [Mon, 9 Oct 2017 23:40:11 +0000 (16:40 -0700)]
ephysic: comparing with same statement.

Summary:
There is no effect of comparing with same expression.
@fix

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
6 years agoemile: comparing less than zero with unsigned interger.
Subodh Kumar [Mon, 9 Oct 2017 23:38:25 +0000 (16:38 -0700)]
emile: comparing less than zero with unsigned interger.

Summary:
Unsigned integer should not be compared to less than zero.
@fix

Reviewers: cedric

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
6 years agoeina: comparing less than zero with unsigned long int
Subodh Kumar [Mon, 9 Oct 2017 23:37:47 +0000 (16:37 -0700)]
eina: comparing less than zero with unsigned long int

Summary:
Unsigned integer should not be compared to less than zero
@fix

Test Plan: NA

Reviewers: cedric

Reviewed By: cedric

Subscribers: jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
6 years agoeina: same expression on both statement.
Subodh Kumar [Mon, 9 Oct 2017 23:36:54 +0000 (16:36 -0700)]
eina: same expression on both statement.

Summary:
Comparing with same expression is avoided.
@fix

Reviewers: cedric

Subscribers: jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
6 years agoefl_ui_focus_manager_calc: we dont need the explicit root handling,
Marcel Hollerbach [Mon, 9 Oct 2017 11:12:06 +0000 (13:12 +0200)]
efl_ui_focus_manager_calc: we dont need the explicit root handling,

that is done later in line 1205

6 years agoefl_ui_focus_manager_calc: focus a child if a logical is focused
Marcel Hollerbach [Mon, 9 Oct 2017 11:06:47 +0000 (13:06 +0200)]
efl_ui_focus_manager_calc: focus a child if a logical is focused

If you call focus_set(m, o) where o is a logical child, then the focus
will go to any none logical child of o, or if there is nothing in the
children of o, then the focus will remain on the now focused element.

6 years agoRevert "edje: moved from edje_multisense.c to Ecore_Audio.h for select the type of...
Carsten Haitzler (Rasterman) [Sat, 7 Oct 2017 10:26:10 +0000 (19:26 +0900)]
Revert "edje: moved from edje_multisense.c to Ecore_Audio.h for select the type of render."

This reverts commit c1c424a4075a85375c83f4c137b74c9919c5fc57.

revert edje multisense changes to match ecore audio revert

6 years agoRevert "ecore_audio: a minimal template for playing sound on WINDOWS is added"
Carsten Haitzler (Rasterman) [Sat, 7 Oct 2017 10:09:53 +0000 (19:09 +0900)]
Revert "ecore_audio: a minimal template for playing sound on WINDOWS is added"

This reverts commit 7a98f617e94ef42787e06e685a8d5e7be34fff21.

this commit breaks compiling things against efl badly. i'm on holiday
and haver only a mini screen and keyboard wwith me so any serious wok
in hunting these issues isn't going to be fun or easy. as this causes
bad build brreaks this is worth a revert IMHO. please re-submit wwhen
you've tested against efl by building things against it. also our
public headers just should not have such ifdefs/if's that change api
presented based on how efl is cnfigured. we expose the same api and
macros and types regardless of internal config.

6 years agoemotion gst1 - handle null imagwe data returrn and dont crash
Carsten Haitzler (Rasterman) [Sat, 7 Oct 2017 09:24:29 +0000 (18:24 +0900)]
emotion gst1 - handle null imagwe data returrn and dont crash

fix crash i spotted thanks to getting img obbj data returning null.
@fix

6 years agoefreet: unsigned int cannot be compared to less than zero.
Subodh Kumar [Fri, 6 Oct 2017 16:53:15 +0000 (09:53 -0700)]
efreet: unsigned int cannot be compared to less than zero.

Summary:
Wrong camparision with less than zero for unsigned integer.
@fix

Test Plan: NA

Reviewers: raster, cedric

Reviewed By: cedric

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoevas: there is no effect of variable assignment outside the function.
Subodh Kumar [Fri, 6 Oct 2017 16:52:41 +0000 (09:52 -0700)]
evas: there is no effect of variable assignment outside the function.

Summary:
Variable assigned is not used anywhere else, making it unused.
@fix

Test Plan: Na

Reviewers: raster, cedric

Reviewed By: cedric

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoeet: wrong comparision to less than zero with unsigned integer.
Subodh Kumar [Fri, 6 Oct 2017 16:51:13 +0000 (09:51 -0700)]
eet: wrong comparision to less than zero with unsigned integer.

Summary:
Unsigned interger should not be compared to less than zero.
@fix

Test Plan: Na

Reviewers: cedric

Subscribers: jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoelementary: passing NULL to variadic funtion can be undefined.
Subodh Kumar [Fri, 6 Oct 2017 16:50:20 +0000 (09:50 -0700)]
elementary: passing NULL to variadic funtion can be undefined.

Summary:
Passing NULL to variadic funtion may lead to undefined behaviour.
@fix

Test Plan: NA

Reviewers: lukasz.stanislawski

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoevas: fix for sscanf use with save flags input.
Godly T.Alias [Fri, 6 Oct 2017 16:48:28 +0000 (09:48 -0700)]
evas: fix for sscanf use with save flags input.

Summary:
As 'flags' can be supplied by application, in case application is supplying
a big string(error case), it can cause crash in some version of glibc.

Setting maximum possible input (0x64) length as width specifier

Fix for static code analyzer warnings
- scanf without field width limits can crash with huge input data on some versions of libc

Signed-off-by: Godly T.Alias <godlytalias@yahoo.co.in>
Test Plan: Run SonarQube

Reviewers: cedric, raster, Princekrdubey, rajeshps

Reviewed By: cedric

Subscribers: jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoelementary: fix unintentional visibility of elm_hover in combobox constructor
Yeongjong Lee [Fri, 6 Oct 2017 16:46:21 +0000 (09:46 -0700)]
elementary: fix unintentional visibility of elm_hover in combobox constructor

Summary:
since fd9cf1d3b628f70d66ec85a4f2433c675d9ad243, All Eo canvas objects remain
visible by default.
but elm_hover doesn't want to be shown in combobox constructor.
showing elm_hover in constructor occurs unexpected behavior.
this fixes that bug.

Test Plan:
1. elementary_test - Combobox
2. Click the combobox to Expand the list.

Reviewers: jpeg, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoefl: properly initialize Eina_File.
Cedric BAIL [Thu, 5 Oct 2017 23:24:47 +0000 (16:24 -0700)]
efl: properly initialize Eina_File.

CID 1381605.

6 years agobuild: fix make examples on Windows
Cedric BAIL [Thu, 5 Oct 2017 23:23:50 +0000 (16:23 -0700)]
build: fix make examples on Windows

Summary: We should define the windows version before including evil.

Test Plan: Run make examples on windows newer than XP.

Reviewers: vtorri

Subscribers: jenkins, cedric, jpeg

Tags: #efl, #windows

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoevas: make sure we always open the file and look at its header before trying to load...
Cedric BAIL [Thu, 5 Oct 2017 23:02:47 +0000 (16:02 -0700)]
evas: make sure we always open the file and look at its header before trying to load data.

6 years agoeio: migrate example to use Eina_Future.
Cedric BAIL [Thu, 5 Oct 2017 21:21:23 +0000 (14:21 -0700)]
eio: migrate example to use Eina_Future.

6 years agoevas: remove evas_canvas3d_texture_file_set and efl_file_set instead.
Cedric BAIL [Thu, 5 Oct 2017 18:36:23 +0000 (11:36 -0700)]
evas: remove evas_canvas3d_texture_file_set and efl_file_set instead.

6 years agoevas: remove unused function evas_cache_image_request.
Cedric BAIL [Thu, 5 Oct 2017 16:42:36 +0000 (09:42 -0700)]
evas: remove unused function evas_cache_image_request.

6 years agoevas: remove unused function evas_cache_engine_image_request.
Cedric BAIL [Thu, 5 Oct 2017 16:41:41 +0000 (09:41 -0700)]
evas: remove unused function evas_cache_engine_image_request.

6 years agoevas: remove unused function evas_common_load_image_from_file.
Cedric BAIL [Thu, 5 Oct 2017 16:37:07 +0000 (09:37 -0700)]
evas: remove unused function evas_common_load_image_from_file.

6 years agoevas: remove unused fonction evas_gl_common_image_load.
Cedric BAIL [Thu, 5 Oct 2017 16:36:45 +0000 (09:36 -0700)]
evas: remove unused fonction evas_gl_common_image_load.

6 years agoeina: continue to check for magic.
Cedric BAIL [Thu, 5 Oct 2017 16:28:13 +0000 (09:28 -0700)]
eina: continue to check for magic.

6 years agoevas-gl-image: Fix dereference after null check
Chris Michael [Thu, 5 Oct 2017 13:54:03 +0000 (09:54 -0400)]
evas-gl-image: Fix dereference after null check

Coverity reports passing a null pointer 'im->gc' to
evas_gl_common_context_flush which directly dereferences it, so lets
be sure that 'im->gc' is valid before passing it to context_flush

Fixes CID1374273

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoevas-gl-common: Fix dereference after null check
Chris Michael [Thu, 5 Oct 2017 13:51:00 +0000 (09:51 -0400)]
evas-gl-common: Fix dereference after null check

Coverity reports that there may be a null pointer dereference here so
check that 'error' exists before trying to set it.

Fixes CID1374272

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoeolian-bin: Free previously allocated eina_strbuf
Chris Michael [Thu, 5 Oct 2017 13:46:18 +0000 (09:46 -0400)]
eolian-bin: Free previously allocated eina_strbuf

Coverity reports that the eina_strbuf 'param_call' leaks when it goes
out of scope here, so fix the leak by freeing the strbuf

Fixes CID1381502

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoevas: remove image_load from the engine.
Cedric Bail [Thu, 5 Oct 2017 04:48:26 +0000 (21:48 -0700)]
evas: remove image_load from the engine.

6 years agoevas: remove use of engine image_load from Evas.Canvas3D.Texture.
Cedric Bail [Thu, 5 Oct 2017 04:32:22 +0000 (21:32 -0700)]
evas: remove use of engine image_load from Evas.Canvas3D.Texture.

6 years agoevas: remove duplicated code and rely on Efl.File { get; set; }
Cedric Bail [Thu, 5 Oct 2017 04:01:35 +0000 (21:01 -0700)]
evas: remove duplicated code and rely on Efl.File { get; set; }

We can almost remove image_load from the engine backend after this patch.
One little bit left in Evas_3D.

6 years agoedje: remove duplicated code and rely on Efl.File { set; get; } mixin.
Cedric Bail [Thu, 5 Oct 2017 04:00:56 +0000 (21:00 -0700)]
edje: remove duplicated code and rely on Efl.File { set; get; } mixin.

6 years agoefl: make Efl.File a mixin that implement file_set for everyone.
Cedric Bail [Thu, 5 Oct 2017 03:58:06 +0000 (20:58 -0700)]
efl: make Efl.File a mixin that implement file_set for everyone.

6 years agoeina: Eina_Prefix should never contain a NULL, no code expect it.
Cedric Bail [Thu, 5 Oct 2017 03:57:08 +0000 (20:57 -0700)]
eina: Eina_Prefix should never contain a NULL, no code expect it.

6 years agoeina: allow eina_file_close(NULL) to simplify code using Eina_File.
Cedric Bail [Thu, 5 Oct 2017 03:56:15 +0000 (20:56 -0700)]
eina: allow eina_file_close(NULL) to simplify code using Eina_File.

6 years agoelementary: update code highlighting to follow eolian syntax change.
Cedric Bail [Wed, 4 Oct 2017 18:32:09 +0000 (11:32 -0700)]
elementary: update code highlighting to follow eolian syntax change.

6 years agoecore-evas-drm: Implement support for hardware output rotations
Chris Michael [Wed, 4 Oct 2017 15:41:59 +0000 (11:41 -0400)]
ecore-evas-drm: Implement support for hardware output rotations

This patch adds support for doing output rotations via hardware. This
is implemented inside the Ecore_Evas engine so that it is transparent
to the caller of ecore_evas_rotation_set.

ref T5999

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoector: minor grammar fixups
Bryce Harrington [Tue, 3 Oct 2017 18:36:41 +0000 (11:36 -0700)]
ector: minor grammar fixups

Reviewers: cedric

Subscribers: jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoedje: moved from edje_multisense.c to Ecore_Audio.h for select the type of render.
Ivan Furs [Tue, 3 Oct 2017 18:22:07 +0000 (11:22 -0700)]
edje: moved from edje_multisense.c to Ecore_Audio.h for select the type of render.

Reviewers: NikaWhite, raster, cedric, vtorri, rimmed

Reviewed By: NikaWhite, vtorri

Subscribers: artem.popov, cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoecore_audio: a minimal template for playing sound on WINDOWS is added
Ivan Furs [Tue, 3 Oct 2017 18:21:07 +0000 (11:21 -0700)]
ecore_audio: a minimal template for playing sound on WINDOWS is added

Summary:
Realization of audio data playback through WASAPI (Windows Audio Session API).(minimal)
WASAPI model:
1. Find  a playback device (in the default system)
2. Register the client on the playback device.
3. Create a playback format for audio data.
4. Initialize the client with the created format, and access mode,  ....
5. Take the object-rendering from the client for play the data stream.
6. Play data stream

ecore_audio model:
1. create a object for play the data stream(out object)
2. create a object to receive the data stream(in object)
3. register in the out-object the in-object
4. play data stream

Necessary:
Realize the ecore_audio object to play the data stream using the WASAPI model.

How implemented:
1. The object ecore_audio_out_wasapi is implemented
2. object ecore_audio_out_wasapi - the object constructor is find a playback device (in the default system)(WASAPI)
3. _ecore_audio_out_wasapi_ecore_audio_out_input_attach -  register in the out-object the in-object
   3.1 Register the client on the playback device.(WASAPI)
   3.2 Create a playback format for audio data.(WASAPI)
   3.3 Initialize the client with the created format, and access mode,  ....(WASAPI)
4. _write_cb - play data
   4.1  Take the object-rendering from the client for play the data stream.(WASAPI)
   4.2  Play data stream(WASAPI)

Reviewers: cedric, vtorri, raster, an.kroitor, NikaWhite, FurryMyad, rimmed, t.naumenko, Jaehyun, bowonryu

Reviewed By: vtorri, NikaWhite

Subscribers: artem.popov, cedric, jpeg

Tags: #windows

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoelput: Fix issue of pointer rotation not being set on startup
Chris Michael [Tue, 3 Oct 2017 17:25:03 +0000 (13:25 -0400)]
elput: Fix issue of pointer rotation not being set on startup

elput_input_pointer_rotation_set may be getting called before input
devices are actually added, so we need to be able to set pointer
rotation when a device actually gets added.

To fix this, we will store the requested input rotation value, and
apply it at the time of input device creation.

NB: The current case is that the wl_drm module will apply existing
output rotation before Input has completely initialized, thus any
calls to set the pointer rotation there will not succeed as input
devices have not been created yet.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoecore-file: do not emit events when an inotify watch is removed
Mike Blumenkrantz [Tue, 3 Oct 2017 17:33:14 +0000 (13:33 -0400)]
ecore-file: do not emit events when an inotify watch is removed

???????????????????????????????????????????????????????????????????????????????

@fix

6 years agoelementary: Mark unused function parameter as unused
Chris Michael [Mon, 2 Oct 2017 12:19:42 +0000 (08:19 -0400)]
elementary: Mark unused function parameter as unused

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoecore-con: Mark unused function paramater as unused
Chris Michael [Mon, 2 Oct 2017 12:12:06 +0000 (08:12 -0400)]
ecore-con: Mark unused function paramater as unused

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoCanvas layout: fix Efl.text (non-legacy) TEXT parts
Daniel Hirt [Mon, 2 Oct 2017 08:03:37 +0000 (11:03 +0300)]
Canvas layout: fix Efl.text (non-legacy) TEXT parts

Current implementation should also support TEXT parts (like button)
with usage of efl_text_set.

Follow-up to 0061a4bb349e6c8e122913791bf83f7f40b0cede.

6 years agoWindows: remove XP support and forbid compilation and run on this platform
Vincent Torri [Sun, 1 Oct 2017 16:07:02 +0000 (17:07 +0100)]
Windows: remove XP support and forbid compilation and run on this platform

Test Plan: run on XP

Reviewers: jpeg, cedric, ajwillia.ms

Reviewed By: ajwillia.ms

Subscribers: ajwillia.ms

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

6 years agoUi layout: handle Efl.Text legacy code better
Daniel Hirt [Sun, 1 Oct 2017 15:40:50 +0000 (18:40 +0300)]
Ui layout: handle Efl.Text legacy code better

This should cover the cases without need to duplicate a lot of code.
Follow-up to deca3c947ff1a2bed3f4baadce576105055af266.

6 years agoCanvas layout: improve legacy code paths for Efl.Text
Daniel Hirt [Sun, 1 Oct 2017 15:38:18 +0000 (18:38 +0300)]
Canvas layout: improve legacy code paths for Efl.Text

Better handling of specific cases where you want to efl_text_set on
a TEXTBLOCK part.
Follow-up to af1595fd0160f76de82cddeb2576143f65492c0b.