platform/upstream/efl.git
6 years agocxx: Mark wref::lock as const
Jean-Philippe Andre [Thu, 2 Nov 2017 08:59:17 +0000 (17:59 +0900)]
cxx: Mark wref::lock as const

This allows passing in wref to a lambda.
If we passed normal refs, we would end up with dangling references and
many ERR messages.

6 years agocxx: Add nullptr constructor for weak refs
Jean-Philippe Andre [Thu, 2 Nov 2017 05:26:59 +0000 (14:26 +0900)]
cxx: Add nullptr constructor for weak refs

This allows constructs such as:

  wref_obj = obj;
  ...
  wref_obj = nullptr;

6 years agocxx: Completely rewrite box example
Jean-Philippe Andre [Thu, 2 Nov 2017 03:13:53 +0000 (12:13 +0900)]
cxx: Completely rewrite box example

This was showing off box transitions, which don't exist in EO API.

6 years agocxx: Fix a few examples
Jean-Philippe Andre [Wed, 1 Nov 2017 13:42:04 +0000 (22:42 +0900)]
cxx: Fix a few examples

 - Calendar: Some examples can't be ported. Not good.
 - Toolbar: Needs the new API to be completed.
 - Clock: Crashes at runtime.

Ping @felipealmeida

6 years agocxx: Instantiate objects with 2 refs
Jean-Philippe Andre [Wed, 1 Nov 2017 13:01:11 +0000 (22:01 +0900)]
cxx: Instantiate objects with 2 refs

This is the original meaning of efl_add_ref().
Somehow the "ref" bool was set to true in the first call, and false in
the second call.

6 years agocxx: Place beta API declarations behind ifdef
Jean-Philippe Andre [Wed, 1 Nov 2017 12:59:17 +0000 (21:59 +0900)]
cxx: Place beta API declarations behind ifdef

NOTE: protected APIs are placed behind ifdef as well in the
implementation file. This makes sense since the define is required for
the C code to compile, but this isn't what @protected means.

6 years agodocs: be better at a responsive layout when embedded
Andy Williams [Mon, 6 Nov 2017 18:43:06 +0000 (18:43 +0000)]
docs: be better at a responsive layout when embedded

6 years agoedje_pick: Fix segfault due to wrong memory free
Jeeyong Um [Mon, 6 Nov 2017 15:34:32 +0000 (00:34 +0900)]
edje_pick: Fix segfault due to wrong memory free

7 years agoevas-object-main: Fix potential null dereference
Chris Michael [Mon, 6 Nov 2017 15:17:29 +0000 (10:17 -0500)]
evas-object-main: Fix potential null dereference

Coverity reports that EVAS_OBJECT_DATA_SAFE_GET returns NULL here (184
out of 188 times). As such, we should not be calling
_event_animation_object_get with a null object so add a null check here.

Fixes Coverity CID1381713

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoevas-object-main: Fix null dereference
Chris Michael [Mon, 6 Nov 2017 15:13:08 +0000 (10:13 -0500)]
evas-object-main: Fix null dereference

Coverity reports that EVAS_OBJECT_DATA_SAFE_GET returns NULL here (184
out of 188 times). The _all_animation_objects_cancel function
directly dereferences the obj parameter passed into it, so lets null check it
before calling that function.

Fixes Coverity CID1381711

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoevas-object-main: Fix null dereference
Chris Michael [Mon, 6 Nov 2017 15:10:50 +0000 (10:10 -0500)]
evas-object-main: Fix null dereference

Coverity reports that EVAS_OBJECT_DATA_SAFE_GET returns NULL here (184
out of 188 times). The _all_animation_objects_cancel function directly
dereferences the obj parameter passed into it, so lets null check it
before calling that function.

Fixes Coverity CID1381710

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoemotion: Fix data race condition
Chris Michael [Mon, 6 Nov 2017 15:07:48 +0000 (10:07 -0500)]
emotion: Fix data race condition

Coverity reports that we access vfmapped here without holding a lock.
This patch implements eina_lock_take/release while accessing
priv->vfmapped.

Fixes Coverity CID1381624

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoevas-wayland-shm: Do not dereference a potentially freed pointer
Chris Michael [Mon, 6 Nov 2017 15:02:35 +0000 (10:02 -0500)]
evas-wayland-shm: Do not dereference a potentially freed pointer

Coverity reports that _evas_dmabuf_buffer_init function here can
potentially free the surface that was passed into it. If that happens,
we should not be calling the _fallback function with surface as the
parameter as that will directly dereference the freed pointer.

Fixes Coverity CID1381707

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoevas-gl-cocoa: Remove need for useless region_free function
Chris Michael [Mon, 6 Nov 2017 14:28:53 +0000 (09:28 -0500)]
evas-gl-cocoa: Remove need for useless region_free function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoevas-gl-drm: Remove need for useless region_free function
Chris Michael [Mon, 6 Nov 2017 14:27:39 +0000 (09:27 -0500)]
evas-gl-drm: Remove need for useless region_free function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoevas-gl-sdl: Remove need for useless free_region function
Chris Michael [Mon, 6 Nov 2017 14:26:13 +0000 (09:26 -0500)]
evas-gl-sdl: Remove need for useless free_region function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoevas-gl-x11: Remove need for useless free_region function
Chris Michael [Mon, 6 Nov 2017 14:25:19 +0000 (09:25 -0500)]
evas-gl-x11: Remove need for useless free_region function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoevas-wayland-egl: Remove need for useless free_region function
Chris Michael [Mon, 6 Nov 2017 14:23:13 +0000 (09:23 -0500)]
evas-wayland-egl: Remove need for useless free_region function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoevas-wayland-shm: Remove need for useless free_region function
Chris Michael [Mon, 6 Nov 2017 14:21:59 +0000 (09:21 -0500)]
evas-wayland-shm: Remove need for useless free_region function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoevas-software-x11: Remove need for useless free_region function
Chris Michael [Mon, 6 Nov 2017 14:19:20 +0000 (09:19 -0500)]
evas-software-x11: Remove need for useless free_region function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoevas-software-gdi: Remove need for useless free_region function
Chris Michael [Mon, 6 Nov 2017 14:17:02 +0000 (09:17 -0500)]
evas-software-gdi: Remove need for useless free_region function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoevas-software-ddraw: Remove need for useless free_region function
Chris Michael [Mon, 6 Nov 2017 14:15:54 +0000 (09:15 -0500)]
evas-software-ddraw: Remove need for useless free_region function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoevas-eglfs: Remove need for useless free_region function
Chris Michael [Mon, 6 Nov 2017 14:14:14 +0000 (09:14 -0500)]
evas-eglfs: Remove need for useless free_region function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoevas-drm: Remove need for useless free_region function
Chris Michael [Mon, 6 Nov 2017 14:13:12 +0000 (09:13 -0500)]
evas-drm: Remove need for useless free_region function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoevas-software-generic: Check for render engine function before calling
Chris Michael [Mon, 6 Nov 2017 14:10:28 +0000 (09:10 -0500)]
evas-software-generic: Check for render engine function before calling

In most engines which inherit from software_generic, they do not
implement the outbuf_free_region_for_update function. Most engines
have it as an unused function. If we simply add a check here, then we
can reduce the need for having useless function in multiple engines.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoefl_ui_calendar: apply efl_ui_focus_composition
WooHyun Jung [Mon, 6 Nov 2017 07:28:29 +0000 (16:28 +0900)]
efl_ui_calendar: apply efl_ui_focus_composition

7 years agoevas textblock: handle ellipsis when text's height exceed its area by "br"
Youngbok Shin [Mon, 6 Nov 2017 02:29:43 +0000 (11:29 +0900)]
evas textblock: handle ellipsis when text's height exceed its area by "br"

Summary:
Textblock's ellipsis feature only worked when text's width exceeds its area.
So, it didn't work when text's height exceeds its area by "br" tags.
This patch will do ellipsis when only ellipsis=1.0 is set.
@fix

Test Plan: make check

Reviewers: herdsman, raster, cedric, jpeg, sohyun

Reviewed By: raster

Subscribers: woohyun

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

7 years agogitignores - update for new pc files
Carsten Haitzler (Rasterman) [Mon, 6 Nov 2017 02:25:26 +0000 (11:25 +0900)]
gitignores - update for new pc files

7 years agoedje: don't return negative width and height from _parts_extends
Youngbok Shin [Mon, 6 Nov 2017 02:06:41 +0000 (11:06 +0900)]
edje: don't return negative width and height from _parts_extends

Summary:
It should return width and height with positive values or zero.
@fix

Test Plan: make check

Reviewers: raster, jpeg, cedric

Reviewed By: raster

Subscribers: jiin.moon

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

7 years agoAdding danish translation
maxerba [Sun, 5 Nov 2017 11:22:51 +0000 (12:22 +0100)]
Adding danish translation

7 years agoeo: fix typo.
Cedric Bail [Sat, 4 Nov 2017 20:26:21 +0000 (13:26 -0700)]
eo: fix typo.

Thanks Gustavo.

7 years agoedje_cc_script: remove build warning
Sungtaek Hong [Sat, 4 Nov 2017 05:41:44 +0000 (14:41 +0900)]
edje_cc_script: remove build warning

Summary: initiate pointer var with NULL to remove build warning

Reviewers: conr2d

Subscribers: cedric, jpeg

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

7 years agoeo: add helper to manipulate Eo object as Eina_Value.
Cedric Bail [Mon, 30 Oct 2017 23:08:09 +0000 (16:08 -0700)]
eo: add helper to manipulate Eo object as Eina_Value.

7 years agoeo: refactor use of efl_replace.
Cedric Bail [Mon, 30 Oct 2017 23:02:58 +0000 (16:02 -0700)]
eo: refactor use of efl_replace.

7 years agoeina: add a function return a reference to a copy of Eina_Value.
Cedric BAIL [Fri, 3 Nov 2017 22:19:25 +0000 (15:19 -0700)]
eina: add a function return a reference to a copy of Eina_Value.

7 years agoelm_code: Trying some markdown syntax, this is complex
Andy Williams [Fri, 3 Nov 2017 21:05:08 +0000 (21:05 +0000)]
elm_code: Trying some markdown syntax, this is complex

7 years agoelm_code: Trying some markdown syntax, this is complex
Andy Williams [Fri, 3 Nov 2017 21:03:58 +0000 (21:03 +0000)]
elm_code: Trying some markdown syntax, this is complex

7 years agoedje_recc: don't use negative exit code in a /bin/sh script
Derek Foreman [Fri, 3 Nov 2017 20:46:11 +0000 (15:46 -0500)]
edje_recc: don't use negative exit code in a /bin/sh script

Apparently this isn't well supported by dash, which will print an
error and return a 2, where zsh and bash will return 255.

Explicitly returning 255 seems least surprising.

see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772322

 #IHaveNoIdeaWhatThisScriptDoes

7 years agoA more readable layout for doxygen landing page
Andy Williams [Fri, 3 Nov 2017 18:17:53 +0000 (18:17 +0000)]
A more readable layout for doxygen landing page

Also moved out the C++ reference as that should be separate.
(C++ link now on the main /docs page)

7 years agoeolian: disallow ptr() on things that are already pointer-like
Daniel Kolesa [Fri, 3 Nov 2017 14:30:10 +0000 (15:30 +0100)]
eolian: disallow ptr() on things that are already pointer-like

This disallows deeply nested pointers, you can only explicitly
ptr() on types that are strictly value types.

For a few cases where it was necessary to override this behavior,
you can use legacy(ptr(x)) as a temporary measure.

7 years agoecore_evas: always find a source for ticking legacy animator.
Cedric Bail [Thu, 2 Nov 2017 22:21:37 +0000 (15:21 -0700)]
ecore_evas: always find a source for ticking legacy animator.

As we do not know when a window won't be able to tick, and we do
not know which window a legacy animator is attached to, we require
all windows to tick as often as they can and only generate one tick
per loop run.

This might need more adjustement especially with multi output.

7 years agoCorrect struct labelling
Andy Williams [Thu, 2 Nov 2017 20:57:47 +0000 (20:57 +0000)]
Correct struct labelling

Avoids linking every occurrence of 'The'

7 years agocxx: fix application build error
Daniel Zaoui [Thu, 2 Nov 2017 18:46:49 +0000 (20:46 +0200)]
cxx: fix application build error

gesture files are not found because the include path is not supplied by
pkg-config.

7 years agoeo files: convert various to use @cref
Daniel Kolesa [Thu, 2 Nov 2017 15:40:42 +0000 (16:40 +0100)]
eo files: convert various to use @cref

7 years agoefl-ui-focus-manager: Remove set but not used variable
Chris Michael [Thu, 2 Nov 2017 14:05:56 +0000 (10:05 -0400)]
efl-ui-focus-manager: Remove set but not used variable

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoelm radio: fix build of things that don't enable eo APIs
Daniel Kolesa [Thu, 2 Nov 2017 13:48:52 +0000 (14:48 +0100)]
elm radio: fix build of things that don't enable eo APIs

7 years agodocgen: better space out includes
Daniel Kolesa [Thu, 2 Nov 2017 13:36:00 +0000 (14:36 +0100)]
docgen: better space out includes

7 years agodocgen: fix generation and generate notes correctly
Daniel Kolesa [Thu, 2 Nov 2017 13:29:20 +0000 (14:29 +0100)]
docgen: fix generation and generate notes correctly

7 years agoeolian: fix tests following the container restrictions
Daniel Kolesa [Thu, 2 Nov 2017 13:03:30 +0000 (14:03 +0100)]
eolian: fix tests following the container restrictions

7 years agoeio: properly mark array contents as ptr
Daniel Kolesa [Thu, 2 Nov 2017 12:53:14 +0000 (13:53 +0100)]
eio: properly mark array contents as ptr

7 years agoeolian: only allow reference (ownable) types in containers
Daniel Kolesa [Thu, 2 Nov 2017 12:51:02 +0000 (13:51 +0100)]
eolian: only allow reference (ownable) types in containers

7 years agoUpdate my name in more places
Andy Williams [Thu, 2 Nov 2017 10:34:05 +0000 (10:34 +0000)]
Update my name in more places

7 years agoUpdate auto API doc styling to match main website
Andy Williams [Thu, 2 Nov 2017 10:27:05 +0000 (10:27 +0000)]
Update auto API doc styling to match main website

Not perfect, but it's a good start

7 years agoelm test: panes - revert the code
Amitesh Singh [Thu, 2 Nov 2017 08:37:25 +0000 (17:37 +0900)]
elm test: panes - revert the code

test_panes.c code was added into previous patch by accident.

7 years agoEfl.Ui.Radio: remove value{} api
Amitesh Singh [Thu, 2 Nov 2017 08:26:12 +0000 (17:26 +0900)]
Efl.Ui.Radio: remove value{} api

Efl.Ui.Nstate already implements value{}.

@fix

7 years agoecore_evas: if an async rendering is still going on, there won't be a new one starting.
Cedric BAIL [Wed, 1 Nov 2017 22:33:44 +0000 (15:33 -0700)]
ecore_evas: if an async rendering is still going on, there won't be a new one starting.

7 years agoecore_evas: do not propagate drawing change blindly from sub surface to parent.
Cedric BAIL [Wed, 1 Nov 2017 22:25:53 +0000 (15:25 -0700)]
ecore_evas: do not propagate drawing change blindly from sub surface to parent.

It is not because a round of rendering happen for a child, that it result in
actually drawing anything in the parent. The parent will always be aware of
the rendering request of the sub surface and we should only track what the
parent think.

T6049

Tested-by: Derek Foreman <derekf@osg.samsung.com>
7 years agoefl_ui_radio: remove some legacy code
Sungtaek Hong [Wed, 1 Nov 2017 17:15:48 +0000 (10:15 -0700)]
efl_ui_radio: remove some legacy code

Summary:
This uses constructor/destructor instead of group_add/group_del.

Note: finalize can't be used for theme loading as any action done
inside
efl_add(...) would be lost (eg. part text set).

Test Plan: 1) run elementary_test -to radio

Reviewers: jpeg, woohyun, cedric

Subscribers: akanad

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoevas-wayland-shm: Fix formatting
Chris Michael [Thu, 26 Oct 2017 18:23:23 +0000 (14:23 -0400)]
evas-wayland-shm: Fix formatting

Make this line readable in 80 columns

NB: No functional changes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoevas: Minor formatting fixes
Chris Michael [Tue, 5 Sep 2017 15:48:52 +0000 (11:48 -0400)]
evas: Minor formatting fixes

NB: No functional changes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoevas-drm: Fix formatting
Chris Michael [Wed, 30 Aug 2017 14:04:31 +0000 (10:04 -0400)]
evas-drm: Fix formatting

NB: No functional changes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoefl_ui_focus_manager: remove strange naming of a function
Marcel Hollerbach [Wed, 1 Nov 2017 14:25:00 +0000 (15:25 +0100)]
efl_ui_focus_manager: remove strange naming of a function

this is just normal next or prev, the prepare is done on the caller side
now

7 years agoefl_ui_focus_manager: improve debug informations
Marcel Hollerbach [Wed, 1 Nov 2017 14:24:36 +0000 (15:24 +0100)]
efl_ui_focus_manager: improve debug informations

7 years agoecore-drm2: Fix issue of not being able to set output mode
Chris Michael [Wed, 1 Nov 2017 12:52:03 +0000 (08:52 -0400)]
ecore-drm2: Fix issue of not being able to set output mode

If we pass in screen geometry here when trying to set an output mode,
we can encounter "out of memory" errors from libdrm with outputs
that have a high resolution. As it turns out, we should be passing 0, 0 for
the x/y values when trying to set an output mode.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoefl_ui_win: revert accidental override remove
Daniel Kolesa [Wed, 1 Nov 2017 12:40:09 +0000 (13:40 +0100)]
efl_ui_win: revert accidental override remove

7 years agoelm: mark access interfaces as beta
Lukasz Stanislawski [Wed, 1 Nov 2017 12:31:46 +0000 (21:31 +0900)]
elm: mark access interfaces as beta

Subscribers: cedric, jpeg

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

7 years agoelm: Major cleanup of EO files
Jean-Philippe Andre [Wed, 1 Nov 2017 06:16:30 +0000 (15:16 +0900)]
elm: Major cleanup of EO files

This prevents legacy EO classes from being exposed through .eo.h headers
or .eo in share/eolian/includes. Also removes a slew of useless xxx_eo.h
intermediate headers.

Notes:
 - elm_systray has no proper API: it's not clear if the EO API should be
   released (in which case it needs to be renamed to efl_something) and
   there is no legacy API to create a systray object.
 - Some files have been placed in a "FIXME" section, as I believe they
   are necessary within EO land, but at the same time still don't
   conform to the interfaces (eg. name starts with elm_).
 - elm_interface_scrollable is required by photocam. This means photocam
   needs to be adapted to fit the EO scroller API (still to be
   completed, I believe).

Bugs:
 - This breaks most C++ examples. I KNOW. And I'm working on it.

Ref T5301

7 years agoeolian: add part validation (including dup check with funcs)
Daniel Kolesa [Wed, 1 Nov 2017 12:19:33 +0000 (13:19 +0100)]
eolian: add part validation (including dup check with funcs)

7 years agoelementary: use @cref where possible
Daniel Kolesa [Wed, 1 Nov 2017 11:10:05 +0000 (12:10 +0100)]
elementary: use @cref where possible

7 years agoeolian: add @cref as alternative to @in
Daniel Kolesa [Wed, 1 Nov 2017 11:00:14 +0000 (12:00 +0100)]
eolian: add @cref as alternative to @in

This is a "pass by reference to const" equivalent. There is no explicit pointer
and currently it's the same as ptr(const(x)) on the type. However, it is also
usable on properties.

7 years agoGenlist Item Pin Feature
Godly T.Alias [Wed, 1 Nov 2017 07:11:30 +0000 (16:11 +0900)]
Genlist Item Pin Feature

Summary:
**@feature** T6241

This feature enables genlist to pin an item to viewport which will
be available always for user to view/select.

**Use Case**:
In a big list of music, most times when user finds a song which they
like, before playing that they may want to go through the entire list
to check whether there is some other good songs, but
after seeing the entire list user have to again scroll back to the
position of item which they liked to play it then.
In this case item pinning can be used, so that the item
which they want to keep for future selection can be pinned
and then it will remain in viewport, finally when user want to do
operation on item, it will be readily available in viewport.

Signed-off-by: Godly T.Alias <godlytalias@yahoo.co.in>
Test Plan: Elementary Test -> Genlist -> Double click on items to enable/disable pinning

Reviewers: raster, cedric, prince.dubey, SanghyeonLee

Subscribers: rajeshps, jpeg, shilpasingh

Tags: #efl

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

7 years agoEcore_Imf: fix wrong annotation and enum name
JinYong Park [Wed, 1 Nov 2017 04:09:17 +0000 (13:09 +0900)]
Ecore_Imf: fix wrong annotation and enum name

Summary:
There are wrong annotation about version and wrong enum name
so fix that.

Reviewers: jpeg, cedric, akanad

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

7 years agoEet: fix wrong doxygen definition
JinYong Park [Wed, 1 Nov 2017 04:08:58 +0000 (13:08 +0900)]
Eet: fix wrong doxygen definition

Summary:
Eet_Image_Encoding and Eet_Colorclass is from enumeration in Emile,
but it's definition is typedef, not enum.

It makes broken link like below webpage.
https://docs.enlightenment.org/efl/current/group__Eet__File__Image__Group.html

In above page, Eet_Image_Encoding is not linked.

So doxygen documentation should be changed to typedef.

Reviewers: cedric, jpeg, myoungwoon, conr2d

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

7 years agoElm_Entry: Add annotation to unnamed enum
JinYong Park [Wed, 1 Nov 2017 04:08:36 +0000 (13:08 +0900)]
Elm_Entry: Add annotation to unnamed enum

Summary:
There are unnamed enumeration in Elm_Entry,
so add annotation and names like D5376 (https://phab.enlightenment.org/D5376)

Reviewers: jpeg, cedric, myoungwoon

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

7 years agoeina: Fix spelling errors in documentation (log..matrix)
Bryce Harrington [Wed, 1 Nov 2017 02:36:50 +0000 (11:36 +0900)]
eina: Fix spelling errors in documentation (log..matrix)

Reviewers: cedric, ajwillia.ms

Subscribers: segfaultxavi, jpeg

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

7 years agoevas: Move evas_canvas.eo to legacy-only
Jean-Philippe Andre [Tue, 31 Oct 2017 07:36:32 +0000 (16:36 +0900)]
evas: Move evas_canvas.eo to legacy-only

This isn't meant to be installed. The canvas API in EO is based around
the interfaces Efl.Canvas and the widget Efl.Ui.Win. Anything else is
not EO (eg: ecore_evas, evas, ...)

Note: evas_canvas3d is the last remaining thing that is installed along
EO files, but those are all beta APIs.

7 years agoevas: Add seat argument to 'pointer_inside' (EO)
Jean-Philippe Andre [Tue, 31 Oct 2017 07:30:43 +0000 (16:30 +0900)]
evas: Add seat argument to 'pointer_inside' (EO)

This merges pointer_inside and pointer_inside_by_device.
Affects only EO.

7 years agoedje_cc: Fix shadow warning (global scope)
Jean-Philippe Andre [Tue, 31 Oct 2017 07:27:38 +0000 (16:27 +0900)]
edje_cc: Fix shadow warning (global scope)

7 years agoevas: Remove specific pointer_inside API
Jean-Philippe Andre [Tue, 31 Oct 2017 07:23:07 +0000 (16:23 +0900)]
evas: Remove specific pointer_inside API

This is a name clash. It doesn't matter too much since Evas.Canvas isn't
meant to be exposed to the EO API.

7 years agoevas: Remove erroneous EINA_UNUSED
Chris Michael [Tue, 31 Oct 2017 14:02:40 +0000 (10:02 -0400)]
evas: Remove erroneous EINA_UNUSED

'output' variable is actually used in this function, so remove
EINA_UNUSED from function parameter

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoefl_animation: Change protected methods to be internal methods
Jaehyun Cho [Tue, 31 Oct 2017 11:19:50 +0000 (20:19 +0900)]
efl_animation: Change protected methods to be internal methods

target_state_save, target_state_reset, target_map_reset methods are used
internally.
Therefore, those methods become internal methods.

7 years agoeina: Fix spelling errors in documentation (file..lock)
Bryce Harrington [Tue, 31 Oct 2017 11:31:24 +0000 (11:31 +0000)]
eina: Fix spelling errors in documentation (file..lock)

Summary: Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>

Reviewers: cedric, ajwillia.ms

Reviewed By: ajwillia.ms

Subscribers: segfaultxavi, jpeg

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

7 years agoeolian: properly free parts
Daniel Kolesa [Tue, 31 Oct 2017 11:14:51 +0000 (12:14 +0100)]
eolian: properly free parts

7 years agoeolian: fill parts into db
Daniel Kolesa [Tue, 31 Oct 2017 11:10:59 +0000 (12:10 +0100)]
eolian: fill parts into db

7 years agoedje_cc: move offset_scale to correct place and fix doc
Andrii Kroitor [Tue, 31 Oct 2017 08:34:28 +0000 (10:34 +0200)]
edje_cc: move offset_scale to correct place and fix doc

7 years agoeolian: Add some color to those warning messages
Jean-Philippe Andre [Tue, 31 Oct 2017 05:20:09 +0000 (14:20 +0900)]
eolian: Add some color to those warning messages

Note: This is not using eina_log, not entirely sure why, but this
doesn't prevent us from adding some color.

7 years agoeolian: Skip @beta APIs for duplicate warnings
Jean-Philippe Andre [Tue, 31 Oct 2017 04:58:31 +0000 (13:58 +0900)]
eolian: Skip @beta APIs for duplicate warnings

No warnings:
export EOLIAN_WARN_FUNC_DUPLICATES=0

No beta warnings:
export EOLIAN_WARN_FUNC_DUPLICATES=1

All warnings including beta:
export EOLIAN_WARN_FUNC_DUPLICATES=2

EOLIAN_WARN_FUNC_DUPLICATES is not an API and may change in the future
as we improve the tool :)

7 years agoelm test: calender - use eina_strbuf_append_strftime instead
Amitesh Singh [Tue, 31 Oct 2017 05:26:55 +0000 (14:26 +0900)]
elm test: calender - use eina_strbuf_append_strftime instead

7 years agoefl_ui_slider: add eina_value_flush after using the value
WooHyun Jung [Tue, 31 Oct 2017 02:33:12 +0000 (11:33 +0900)]
efl_ui_slider: add eina_value_flush after using the value

7 years agoefl_ui_calendar: apply new format_cb
WooHyun Jung [Fri, 27 Oct 2017 09:31:59 +0000 (18:31 +0900)]
efl_ui_calendar: apply new format_cb

7 years agoeo-cxx: Fix compilation error with any_value received by value
Felipe Magno de Almeida [Mon, 30 Oct 2017 23:05:39 +0000 (21:05 -0200)]
eo-cxx: Fix compilation error with any_value received by value

7 years agoecore_evas_wayland: Fix session recovery
Derek Foreman [Mon, 30 Oct 2017 19:23:07 +0000 (14:23 -0500)]
ecore_evas_wayland: Fix session recovery

Turns out when apps reconnect to the compositor they don't always
realize they need to redraw themselves.  Force a manual render
at startup if we end up in a state where an update is needed but
has probably been dropped on the floor.

7 years agoefl-net: fixup copy & paste abuse.
Cedric Bail [Mon, 30 Oct 2017 18:17:59 +0000 (11:17 -0700)]
efl-net: fixup copy & paste abuse.

7 years agoedje_cc: fix parsing and documentation
Andrii Kroitor [Mon, 30 Oct 2017 14:46:09 +0000 (16:46 +0200)]
edje_cc: fix parsing and documentation

This fixes parsing of properties in edje_cc and makes it more
consistent. All bool and color values are now parsed in same way.
Default values for many values are now given in edc_ref.
Some documentation blocks are moved to correct places.
Fixed mistakes in description of edc properties.

@fix

7 years agoedje_cc: fix item.max parsing
Andrii Kroitor [Mon, 30 Oct 2017 14:26:57 +0000 (16:26 +0200)]
edje_cc: fix item.max parsing

It is now possible to set item.max back to default value (-1 -1).

@fix

7 years agoedje_cc: make box/table item.spread minimum 1 1
Andrii Kroitor [Mon, 30 Oct 2017 13:50:28 +0000 (15:50 +0200)]
edje_cc: make box/table item.spread minimum 1 1

Minimum value was 0 0, but it has same effect as 1 1.

7 years agoedje_cc: fix program.filter description
Andrii Kroitor [Mon, 30 Oct 2017 13:12:23 +0000 (15:12 +0200)]
edje_cc: fix program.filter description

@fix

7 years agoedje_cc: fix text.align description
Andrii Kroitor [Mon, 30 Oct 2017 12:26:43 +0000 (14:26 +0200)]
edje_cc: fix text.align description

@fix

7 years agoedje_cc: limit map.zoom to non-negative values
Andrii Kroitor [Mon, 30 Oct 2017 11:51:17 +0000 (13:51 +0200)]
edje_cc: limit map.zoom to non-negative values

@fix

7 years agoedje_cc: move box and table properties documentation
Andrii Kroitor [Mon, 30 Oct 2017 11:12:11 +0000 (13:12 +0200)]
edje_cc: move box and table properties documentation

Documentation comments for properties should be near parser
implementation.

@fix