platform/upstream/efl.git
7 years agoecore_imf: Add ecore_imf_context_input_panel_position_set API
InHong Han [Thu, 14 Sep 2017 01:39:03 +0000 (10:39 +0900)]
ecore_imf: Add ecore_imf_context_input_panel_position_set API

Summary: Sets the x,y coordinates of the input panel

Test Plan: Tested in Tizen device

Reviewers: woohyun, id213sin, jihoon, cedric

Subscribers: jpeg, jihoon, cedric

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

7 years agoeina: add tests for eina_value_to_binbuf.
Cedric Bail [Thu, 14 Sep 2017 00:26:26 +0000 (17:26 -0700)]
eina: add tests for eina_value_to_binbuf.

7 years agoeina: add an ability to quickly convert from an Eina_Value to an Eina_Binbuf.
Cedric Bail [Thu, 14 Sep 2017 00:26:04 +0000 (17:26 -0700)]
eina: add an ability to quickly convert from an Eina_Value to an Eina_Binbuf.

7 years agoeio: migrate efl.io.manager.open to use Eina_Future.
Cedric Bail [Wed, 13 Sep 2017 22:52:40 +0000 (15:52 -0700)]
eio: migrate efl.io.manager.open to use Eina_Future.

7 years agoecore: allow efl_loop_future_scheduler_get on all Efl.Loop.User.
Cedric Bail [Wed, 13 Sep 2017 22:51:49 +0000 (15:51 -0700)]
ecore: allow efl_loop_future_scheduler_get on all Efl.Loop.User.

7 years agoeolian: more relaxed rules on what is actually ownable
Daniel Kolesa [Wed, 13 Sep 2017 22:34:06 +0000 (00:34 +0200)]
eolian: more relaxed rules on what is actually ownable

For example, aliases to ownable types are now also ownable,
which wasn't possible in the previous version, where you could
only own actual expanded ownable types.

7 years agoeolian: include terminatable checks in ownable check
Daniel Kolesa [Wed, 13 Sep 2017 22:28:32 +0000 (00:28 +0200)]
eolian: include terminatable checks in ownable check

7 years agoeolian: inherit freefunc between types/typedecls
Daniel Kolesa [Wed, 13 Sep 2017 22:12:46 +0000 (00:12 +0200)]
eolian: inherit freefunc between types/typedecls

7 years agoeolian: make test data validate
Daniel Kolesa [Wed, 13 Sep 2017 21:58:33 +0000 (23:58 +0200)]
eolian: make test data validate

7 years agoeolian: always implicitly validate database and remove its API
Daniel Kolesa [Wed, 13 Sep 2017 21:55:06 +0000 (23:55 +0200)]
eolian: always implicitly validate database and remove its API

7 years agoeolian: move terminated_array typecheck to validate pass
Daniel Kolesa [Fri, 8 Sep 2017 12:43:19 +0000 (14:43 +0200)]
eolian: move terminated_array typecheck to validate pass

7 years agoeolian: move ownable checks to validation stage
Daniel Kolesa [Fri, 8 Sep 2017 12:22:13 +0000 (14:22 +0200)]
eolian: move ownable checks to validation stage

7 years agoedje: make it handle late appearing of devices
Marcel Hollerbach [Wed, 13 Sep 2017 19:27:02 +0000 (21:27 +0200)]
edje: make it handle late appearing of devices

device adds can happen late, which means evas does not know the default
device until a time that is later than the focusing of some edje part.
Which means that keystrokes etc. are lost for the parts beeing focused
before the default device appeared. This should fix that.

For the later people in this world: Watch out! someone decided to map
seats in edje with a linear counter starting at 1, which means
seat0<->seat1 seat1<->seat2 thanks for that riddle, i feel like i have
beaten the sphinxs.

fix T6022

7 years agoeina: fix Eina_Rectangle support in Eina_Value.
Cedric Bail [Wed, 13 Sep 2017 17:39:31 +0000 (10:39 -0700)]
eina: fix Eina_Rectangle support in Eina_Value.

Thanks for the review Gustavo.

7 years agoeina: allow convertion to BLOB from Eina_File Eina_Value by mmap the file.
Cedric Bail [Wed, 13 Sep 2017 17:38:36 +0000 (10:38 -0700)]
eina: allow convertion to BLOB from Eina_File Eina_Value by mmap the file.

7 years agoeina: improve Eina_File support in Eina_Value.
Cedric Bail [Wed, 13 Sep 2017 17:36:05 +0000 (10:36 -0700)]
eina: improve Eina_File support in Eina_Value.

Thanks Gustavo.

7 years agoexamples/evas: fix recent build break from rectangle change
Stefan Schmidt [Wed, 13 Sep 2017 12:38:10 +0000 (14:38 +0200)]
examples/evas: fix recent build break from rectangle change

Introduced with commit 13da5e980eb43288b9b9f502cb6a7a000e1f26ea

A compile before pushing would have been great, again.
Having the same name for two variables is something no compiler likes.

evas-map-utils-eo.c:74:8: error: conflicting types for ‘r’
    int r, g, b, a, f;
        ^
evas-map-utils-eo.c:73:19: note: previous declaration of ‘r’ was here
    Eina_Rectangle r;
                   ^
evas-map-utils-eo.c:93:31: error: ‘h’ undeclared (first use in this function)
    efl_gfx_size_get(o, NULL, &h);
                               ^
evas-map-utils-eo.c:93:31: note: each undeclared identifier is reported only once for each function it appears in
evas-map-utils-eo.c:108:25: error: ‘w’ undeclared (first use in this function)
    efl_gfx_size_get(o, &w, &h);

7 years agoefl.ui.clock: correct value_set/get & value_min/max APIs signature.
Amitesh Singh [Wed, 13 Sep 2017 11:11:19 +0000 (20:11 +0900)]
efl.ui.clock: correct value_set/get & value_min/max APIs signature.

We could just pass Efl_Time value as copy by value to set time in setter APIs
and return Efl_Time value in getter APIs.

Thanks to @JackDanielZ for the report.

Fixes T6008

7 years agogitignore: add some new example binaries to the ignore list
Stefan Schmidt [Wed, 13 Sep 2017 09:16:39 +0000 (11:16 +0200)]
gitignore: add some new example binaries to the ignore list

7 years agoecore: fix distcheck buil by including missing file
Stefan Schmidt [Wed, 13 Sep 2017 09:11:11 +0000 (11:11 +0200)]
ecore: fix distcheck buil by including missing file

In commit df9f2e07722fa384cba09e934351e90f0d237009 this new header file
was introduced but it was missing from this list and thus never made it
into the dist.

I have to say I look forward to a future where a git based dist
handling, like meson does, replaces the tiresome approach of keeping the
list up to date.

7 years agoefl_access: Use Eina.Rectangle (EO)
Jean-Philippe Andre [Wed, 13 Sep 2017 08:32:35 +0000 (17:32 +0900)]
efl_access: Use Eina.Rectangle (EO)

7 years agoefl_gfx_fill: Use Eina.Rectangle for fill (EO)
Jean-Philippe Andre [Wed, 13 Sep 2017 08:41:20 +0000 (17:41 +0900)]
efl_gfx_fill: Use Eina.Rectangle for fill (EO)

7 years agoedje: Use Eina_Rectangle for parts_extends_calc (EO)
Jean-Philippe Andre [Wed, 13 Sep 2017 08:11:06 +0000 (17:11 +0900)]
edje: Use Eina_Rectangle for parts_extends_calc (EO)

7 years agoefl_gfx: Remove color_part API (EO)
Jean-Philippe Andre [Wed, 13 Sep 2017 08:00:14 +0000 (17:00 +0900)]
efl_gfx: Remove color_part API (EO)

This API was introduced in commit:
  cd3f8db506379a770ef37134748a64adfae66ab3

This was since limited to EO only APIs, and totally underexploited.
After that, efl_part() was introduced, which defines how all part APIs
should be designed.

Nothing uses this API, efl_vg had an implementation that provides no
extra value over the other APIs.

7 years agoefl_gfx: Use Eina.Rectangle for geometry (EO)
Jean-Philippe Andre [Wed, 13 Sep 2017 07:49:04 +0000 (16:49 +0900)]
efl_gfx: Use Eina.Rectangle for geometry (EO)

This saves a few lines already (without even having the proper helpers
for stack rectangles).

7 years agoevas: Use Eina_Rectangle internally
Jean-Philippe Andre [Wed, 13 Sep 2017 07:38:33 +0000 (16:38 +0900)]
evas: Use Eina_Rectangle internally

Instead of Evas_Coord_Rectangle which is exactly the same thing but with
a different name and typedefs.

7 years agoedje: Rename part external class
Jean-Philippe Andre [Wed, 13 Sep 2017 04:58:38 +0000 (13:58 +0900)]
edje: Rename part external class

This was missed in the previous commit as this special part class didn't
include the internal keyword.

Ref T5315
Ref T5306

7 years agoedje/elm: Rename _internal_ to _part_ (EO)
Jean-Philippe Andre [Wed, 13 Sep 2017 04:29:25 +0000 (13:29 +0900)]
edje/elm: Rename _internal_ to _part_ (EO)

In Edje and Elementary, we have part objects, which are what is returned
by the interface efl_part(). Those objects can't be of an opaque type as
this doesn't work nicely with strongly typed languages such as C++ or
C#. In JS, Lua, C the types are weak and mostly runtime-based so it
doesn't matter much.

As a consequence, the documentation and the types need to look nice in
this EO API. Thus, we remove the abusive term "internal" and explicitly
call all those classes "part" something.

Eventually we want the types to be declared in the EO file so bindings
(C#, C++, ...) can generate the proper access methods, returning the
best possible types.

Note that right now a few of those part types are used in the legacy API
but don't actually need to be exposed externally.

This is kind of a mega commit that does all the renaming at once, but
it's really just a big sed operation. The power of good IDEs :)

Ref T5315
Ref T5306

7 years agowidget: Make part_text_translate internal
Jean-Philippe Andre [Wed, 13 Sep 2017 04:11:03 +0000 (13:11 +0900)]
widget: Make part_text_translate internal

7 years agowidget: Rename focus_manager_factory to create
Jean-Philippe Andre [Wed, 13 Sep 2017 02:33:08 +0000 (11:33 +0900)]
widget: Rename focus_manager_factory to create

factory is not a verb :)

Ref T5363

7 years agoevas: Fix build break
Jean-Philippe Andre [Wed, 13 Sep 2017 04:38:57 +0000 (13:38 +0900)]
evas: Fix build break

Ooops. Classic.
See 9ed6838f17e43621eea6f388eb2f5eceba14ecad

7 years agoefl.ui.slider_interval: Add missing since tag
Amitesh Singh [Wed, 13 Sep 2017 03:22:54 +0000 (12:22 +0900)]
efl.ui.slider_interval: Add missing since tag

7 years agoevas: Non functional changes to event grabber
Jean-Philippe Andre [Wed, 13 Sep 2017 02:09:40 +0000 (11:09 +0900)]
evas: Non functional changes to event grabber

This changes the CRI logs and the variable names.

I still think this API needs some fixing in order to not abuse the
smart object API. This should be done before it's too late (i.e. E is
released and depends on it).

7 years agoevas: Add group_member_is to smart objects
Jean-Philippe Andre [Wed, 13 Sep 2017 01:56:55 +0000 (10:56 +0900)]
evas: Add group_member_is to smart objects

This is a new function that indicates whether an object is a child of a
parent or not. Dead simple, as this simply compares if parent == this.
Note that this check was impossible to do with the event grabber.

Also, rename group_children_iterate to group_members_iterate for
consistency with the other group_member functions.

@feature

7 years agoelm: Fix use of Efl.Access APIs
Jean-Philippe Andre [Tue, 12 Sep 2017 10:42:26 +0000 (19:42 +0900)]
elm: Fix use of Efl.Access APIs

See also 7d397c9f195a9121153909c0f

Thanks @stefan for the first fix patch, I simply failed to push this one
early enough.

7 years agoctxpopup: Avoid safety error on call on null obj
Jean-Philippe Andre [Tue, 12 Sep 2017 08:42:28 +0000 (17:42 +0900)]
ctxpopup: Avoid safety error on call on null obj

See 6aa309ffb80a30ce7049d744f2d5abcc2a70b42c

7 years agoeo: Add class name to error log (unref)
Jean-Philippe Andre [Thu, 7 Sep 2017 00:51:09 +0000 (09:51 +0900)]
eo: Add class name to error log (unref)

7 years agoemotion: Make it a clipped smart object
Jean-Philippe Andre [Wed, 6 Sep 2017 14:03:30 +0000 (23:03 +0900)]
emotion: Make it a clipped smart object

This reduces code.
And probably adds new bugs.

7 years agoemotion: Fix refcounts related to eio use
Jean-Philippe Andre [Wed, 6 Sep 2017 12:26:57 +0000 (21:26 +0900)]
emotion: Fix refcounts related to eio use

Inside emotion, if Eio is compiled, some asynchronous functions are used
and a refcounted struct was used to ensure safety of the code.
Unfortunately the logic didn't make much sense as emotion's private data
is used. The refcount becomes useless, the lifecycle of the data being
bound to the object itself.

Note that an actual crash is almost impossible because:
 - eio is actually quite fast
 - evas objects are kept alive for 2 frames
 - eina_freeq is used to keep eo objects' data alive for some more time

But this in theory fixes the events, as they were sent on the wrong
object. "obj" is the image object, "smartobj" was the emotion object.
This is fixed with a weak ref.

I don't think it is necessary to backport this.

7 years agoevas: Fix evas grid
Jean-Philippe Andre [Wed, 6 Sep 2017 06:57:35 +0000 (15:57 +0900)]
evas: Fix evas grid

It's a complete mess mixing legacy and EO in a really bad way.

7 years agoedje: Remove use of smart clipped data
Jean-Philippe Andre [Wed, 6 Sep 2017 06:14:07 +0000 (15:14 +0900)]
edje: Remove use of smart clipped data

This removes dependency on a legacy structure.
Edje object does not change the smart data, unlike evas box and grid.

7 years agoevas: Add EO API to get clipper in smart object
Jean-Philippe Andre [Wed, 6 Sep 2017 06:02:07 +0000 (15:02 +0900)]
evas: Add EO API to get clipper in smart object

It's not exposing anything that wasn't already accessible before (you
could just add a member and get its clip, for instance).

This will be used by Edje Object.

This is a minor
@feature

7 years agoevas: Fix crash with smart objects
Jean-Philippe Andre [Wed, 6 Sep 2017 03:13:58 +0000 (12:13 +0900)]
evas: Fix crash with smart objects

This is due to the previous patches.

7 years agoevas: Remove class Efl.Canvas.Group.Clipped
Jean-Philippe Andre [Wed, 6 Sep 2017 02:56:50 +0000 (11:56 +0900)]
evas: Remove class Efl.Canvas.Group.Clipped

The functionality is now merged inside the core Group class, which will
allow us to clean up its API.

7 years agoevas/edje/elm: Remove all uses of clipped groups
Jean-Philippe Andre [Wed, 6 Sep 2017 02:52:35 +0000 (11:52 +0900)]
evas/edje/elm: Remove all uses of clipped groups

This removes the uses of the *EO* class, obviously not the use of the
clipped smart objects.

7 years agoevas: Move all overrides to std smart object
Jean-Philippe Andre [Wed, 6 Sep 2017 01:31:08 +0000 (10:31 +0900)]
evas: Move all overrides to std smart object

- color_set
- visible_set
- position_set
- no_render_set
- member_add, member_del
- group_add, group_del
- clip_set

Notes:
 - Widget overrides color_set without calling super() which means that
   color_get() returns a different value. Also any subsequent child
   object add will not inherit the color.
 - Smart clipped objects also don't call super.

This patch changes that, but only for smart clipped objects created
through EO. This shouldn't have any side effect.

7 years agoevas: Remove group_add from clipped smart object
Jean-Philippe Andre [Fri, 1 Sep 2017 06:35:33 +0000 (15:35 +0900)]
evas: Remove group_add from clipped smart object

Moved from clipped to the general smart object class.

7 years agoevas: Remove group_del override from smart clipped
Jean-Philippe Andre [Fri, 1 Sep 2017 06:21:22 +0000 (15:21 +0900)]
evas: Remove group_del override from smart clipped

7 years agoevas: Remove private data for clipped object
Jean-Philippe Andre [Fri, 1 Sep 2017 05:50:29 +0000 (14:50 +0900)]
evas: Remove private data for clipped object

Another step towards merging both classes of smart objects.

7 years agoevas: Add internal API to make smart obj (un)clipped
Jean-Philippe Andre [Fri, 1 Sep 2017 03:30:49 +0000 (12:30 +0900)]
evas: Add internal API to make smart obj (un)clipped

Introduction to the problem:
 - Efl.Canvas.Group has a method member_add() to add sub objects.
 - Efl.Canvas.Group (simple smart object) does NOT actually delete the
   objects on deletion. But:
 - Efl.Canvas.Group.Clipped is a direct subclass and WILL delete the sub
   objects on deletion.

Semantically, all smart objects (at least in EO and Elementary) will own
and delete sub objects automatically. Some exceptions are:
 - Edje object (smart clipped) does not delete swallowed objects.
   Edje object is a "clipped" smart object but it pops out all swallowed
   children before getting deleted.
 - Evas box/table/grid also pop out their children before deletion.
   Those classes are all legacy & internal only.
 - Elm.Widget will "manually" delete all its sub objects at deletion, as
   it inherits from Efl.Canvas.Group but basically takes full ownership
   of the sub objects. Note that member_add shouldn't be used on a
   widget, the widgets do it themselves.

Also, smart clipped objects are much more convenient to use as they will
handle some things for you: color, visibility, moving and ownership.

So, the API member_add needs to be marked as own(). But right now
Efl.Canvas.Group does not own. Thus, here's the plan:
 - Mark clipped objects as such with an internal API
 - Merge clipped smart object features directly inside the standard
   smart object.
 - Get rid of Efl.Canvas.Group.Clipped entirely and watch all hell break
   loose.

Ref T5301

7 years agoevas: Add some EO safety to legacy EAPI
Jean-Philippe Andre [Fri, 1 Sep 2017 05:29:10 +0000 (14:29 +0900)]
evas: Add some EO safety to legacy EAPI

7 years agoeina: add an Eina_Value helper for Eina_Rectangle.
Vincent Torri [Mon, 11 Sep 2017 01:52:47 +0000 (03:52 +0200)]
eina: add an Eina_Value helper for Eina_Rectangle.

7 years agoeina: compilation fixed on OpenIndiana
Vincent Torri [Mon, 11 Sep 2017 01:08:36 +0000 (03:08 +0200)]
eina: compilation fixed on OpenIndiana

socket library must be passed as connect() is used in eina_db

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoeina: add an Eina_Value helper for Eina_File.
Cedric BAIL [Tue, 12 Sep 2017 22:40:42 +0000 (15:40 -0700)]
eina: add an Eina_Value helper for Eina_File.

7 years agoeio: move efl.io.manager.close to use the new future.
Cedric BAIL [Tue, 12 Sep 2017 21:08:40 +0000 (14:08 -0700)]
eio: move efl.io.manager.close to use the new future.

7 years agoeio: simplify promise use.
Cedric BAIL [Tue, 12 Sep 2017 17:22:21 +0000 (10:22 -0700)]
eio: simplify promise use.

7 years agoeina: cleanup documentation for promise.
Cedric BAIL [Tue, 12 Sep 2017 17:16:44 +0000 (10:16 -0700)]
eina: cleanup documentation for promise.

7 years agotests: fix build after elm atspi renaming
Stefan Schmidt [Tue, 12 Sep 2017 14:01:44 +0000 (16:01 +0200)]
tests: fix build after elm atspi renaming

Renamed but make check not taken into account.

7 years agogenlist: fix decorate mode dangling pointer in deletion
SangHyeon Jade Lee [Tue, 12 Sep 2017 09:38:44 +0000 (18:38 +0900)]
genlist: fix decorate mode dangling pointer in deletion

fix decorate mode crash issue reported by Jack Daniel in T6000
which is occured by dangling pointer in item deletion on decorate mode.

Signed-off-by: SangHyeon Jade Lee <dltkdgus1764@gmail.com>
7 years agoefl.ui.slider: implement efl.text intf
Amitesh Singh [Tue, 12 Sep 2017 09:25:41 +0000 (18:25 +0900)]
efl.ui.slider: implement efl.text intf

efl_text_set/get would work on slider text part.

7 years agoefl.ui.range: remove interval_enable/set/get APIs from interface
Amitesh Singh [Tue, 12 Sep 2017 08:29:18 +0000 (17:29 +0900)]
efl.ui.range: remove interval_enable/set/get APIs from interface

Remove interval related apis from interface since interval slider
implements these features now. Although legacy range APIs would still
work on slider widget.

7 years agointerval slider: Add new interval slider widget
Amitesh Singh [Tue, 12 Sep 2017 01:07:58 +0000 (10:07 +0900)]
interval slider: Add new interval slider widget

This widget is a slider with two indicators which allows
to have interval of value.

7 years agoedje: Add legacy compatibility code
Jean-Philippe Andre [Tue, 12 Sep 2017 08:21:32 +0000 (17:21 +0900)]
edje: Add legacy compatibility code

This affects:
 - edje_object_part_swallow
 - edje_object_part_swallow_get

Fixes T5944

@fix

7 years agoector: Copyedit Ector doxygen
Bryce Harrington [Tue, 12 Sep 2017 07:07:13 +0000 (16:07 +0900)]
ector: Copyedit Ector doxygen

Summary:
- Fix various spelling and grammar errors.
- Add a slight bit more explanation of what Ector is.
- Condense compilation directions similar to Evas.

Reviewers: cedric

Subscribers: jpeg

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

7 years agoelm: rename Elm.Interface.Atspi.Component => Efl.Access.Component
Lukasz Stanislawski [Tue, 12 Sep 2017 06:49:29 +0000 (15:49 +0900)]
elm: rename Elm.Interface.Atspi.Component => Efl.Access.Component

Reviewers: jpeg, cedric

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

7 years agoelm: rename Elm.Interface.Atspi.Image => Efl.Access.Image
Lukasz Stanislawski [Tue, 12 Sep 2017 06:48:39 +0000 (15:48 +0900)]
elm: rename Elm.Interface.Atspi.Image => Efl.Access.Image

Reviewers: jpeg, cedric

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

7 years agoelm: rename Elm.Interface.Atspi.Window => Efl.Access.Window
Lukasz Stanislawski [Tue, 12 Sep 2017 06:48:10 +0000 (15:48 +0900)]
elm: rename Elm.Interface.Atspi.Window => Efl.Access.Window

Reviewers: cedric, jpeg

Subscribers: cedric, jpeg

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

7 years agoelm: rename Elm.Interface.Atspi.Value => Efl.Access.Value
Lukasz Stanislawski [Tue, 12 Sep 2017 06:36:24 +0000 (15:36 +0900)]
elm: rename Elm.Interface.Atspi.Value => Efl.Access.Value

Reviewers: jpeg, cedric, stanluk

Subscribers: cedric, jpeg

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

7 years agoUi text: reduce calls to update functions
Daniel Hirt [Sat, 9 Sep 2017 10:21:06 +0000 (13:21 +0300)]
Ui text: reduce calls to update functions

Reduces calls to update functions when entering text.
Also, remaining calls to update the cursors were moved to the decoration
jobs.

7 years agoeio: first convertion to new future/promise.
Cedric BAIL [Mon, 11 Sep 2017 23:10:46 +0000 (16:10 -0700)]
eio: first convertion to new future/promise.

7 years agoeina: add eina_promise_data_set symetric to eina_promise_data_get.
Cedric BAIL [Mon, 11 Sep 2017 23:09:43 +0000 (16:09 -0700)]
eina: add eina_promise_data_set symetric to eina_promise_data_get.

7 years agoeina: fix typos in eina_promise_all_array documentation.
Cedric BAIL [Mon, 11 Sep 2017 23:08:23 +0000 (16:08 -0700)]
eina: fix typos in eina_promise_all_array documentation.

7 years agoevas: actually output might not be initialized until later.
Cedric BAIL [Mon, 11 Sep 2017 18:31:50 +0000 (11:31 -0700)]
evas: actually output might not be initialized until later.

7 years agoExamples: fix C++ examples
Daniel Zaoui [Mon, 11 Sep 2017 18:12:30 +0000 (21:12 +0300)]
Examples: fix C++ examples

The examples have not been updated after the last C++ changes.

7 years agoeina: fix build for big endian platforms
Stefan Schmidt [Mon, 11 Sep 2017 11:45:18 +0000 (13:45 +0200)]
eina: fix build for big endian platforms

Summary:
The code in eina_debug.c requires the eina_swapX() functions on big endian platforms, so include the required header.

Test Plan: Do build on big endian platform like ppc64 or s390x.

Subscribers: kubu, cedric, jpeg

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

7 years agoevas textblock: support ZWJ, ZWNJ, LRM, RLM in escaped form
Youngbok Shin [Mon, 11 Sep 2017 05:53:04 +0000 (08:53 +0300)]
evas textblock: support ZWJ, ZWNJ, LRM, RLM in escaped form

Summary:
The patch supports the following escaped string from Evas Textblock.
These unicodes are frequently used.
ZWNJ U+200C - &zwnj;
ZWJ  U+200D - &zwj;
LRM  U+200E - &lrm;
RLM  U+200F - &rlm;
@feature

Test Plan: N/A

Reviewers: raster, cedric, herdsman, jpeg, woohyun

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

7 years agoevas: don't search other fonts only for INHERITED script unicodes
Youngbok Shin [Mon, 11 Sep 2017 05:52:03 +0000 (08:52 +0300)]
evas: don't search other fonts only for INHERITED script unicodes

Summary:
INHERITED script unicodes are only meaningful when it comes
after the previous unicode from same font.
Even if there is no glyph for the INHERTED script unicode from current font,
don't search other font for loading the unicdoe as first unicode
of next item. It will be meaningless.
@fix

Test Plan:
Check the following Emoji sequence with an emoji font
which does not have variation selector glyphs.
{ 0x1F3F3, 0xFE0F, 0x200D, 0x1F308 }

Reviewers: raster, cedric, herdsman, jpeg, woohyun

Reviewed By: herdsman

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

7 years agoefl ui layout - fix warning fro wrong type... its a list not a hash.
Carsten Haitzler (Rasterman) [Sun, 10 Sep 2017 04:21:50 +0000 (13:21 +0900)]
efl ui layout - fix warning fro wrong type... its a list not a hash.

7 years agoeo-cxx: Require instantiate keyword for constructors calling efl_add to avoid ambiguity
Felipe Magno de Almeida [Thu, 7 Sep 2017 09:02:43 +0000 (18:02 +0900)]
eo-cxx: Require instantiate keyword for constructors calling efl_add to avoid ambiguity

7 years agoedje: Better debug logs for invalid calls to swallow
Jean-Philippe Andre [Wed, 6 Sep 2017 05:39:22 +0000 (14:39 +0900)]
edje: Better debug logs for invalid calls to swallow

These error messages will be triggered when efl_part() is used, and the
part is not a swallow part.

7 years agoEvas filters: remove needless check for negative case.
Sungtaek Hong [Mon, 4 Sep 2017 08:47:31 +0000 (17:47 +0900)]
Evas filters: remove needless check for negative case.

Summary:
Becuse ox is set to 0,
it cannot be negative, so negative check will be needless.

Reviewers: jpeg

Reviewed By: jpeg

Subscribers: cedric

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

7 years agoCanvas text: emit missing events during text changes
Daniel Hirt [Thu, 7 Sep 2017 13:53:01 +0000 (16:53 +0300)]
Canvas text: emit missing events during text changes

Some text changes were not picked up by the Ui.Text widget, so no size
evaluation was triggered.

7 years agoelm: Fix multiple connections from model to properties in Layout
Felipe Magno de Almeida [Thu, 7 Sep 2017 03:07:08 +0000 (12:07 +0900)]
elm: Fix multiple connections from model to properties in Layout

7 years agoecore: Add efl_model_copmosite_selection model
Felipe Magno de Almeida [Thu, 7 Sep 2017 03:06:17 +0000 (12:06 +0900)]
ecore: Add efl_model_copmosite_selection model

7 years agoefl: Make models 0-based index, not 1-based
Felipe Magno de Almeida [Thu, 7 Sep 2017 03:05:24 +0000 (12:05 +0900)]
efl: Make models 0-based index, not 1-based

7 years agoeio: Fix eio model children count in initialization of children model
Felipe Magno de Almeida [Thu, 7 Sep 2017 03:04:40 +0000 (12:04 +0900)]
eio: Fix eio model children count in initialization of children model

7 years agoRevert "elm: rename elm spinner to Efl.Ui.Spinner"
Amitesh Singh [Thu, 7 Sep 2017 02:12:52 +0000 (11:12 +0900)]
Revert "elm: rename elm spinner to Efl.Ui.Spinner"

This reverts commit 9836116cab93388cf3d079d39180f675f86be78f.

This is based on discussion today i had.
There would be a separate minimal spinner class instead
which facilates ways to extend it.

7 years agocxx: generate a constructor with a parent and a lambda function
Daniel Zaoui [Wed, 6 Sep 2017 22:24:52 +0000 (01:24 +0300)]
cxx: generate a constructor with a parent and a lambda function

Until now, one could not invoke functions into the constructor of a
widget possessing a parent. It is needed for widgets such as Efl.Ui.Check
where style is needed during construction.

@fix T5980

7 years agonaviframe: Fix to finish transition for newly pushed item
Jaehyun Cho [Wed, 6 Sep 2017 11:04:41 +0000 (20:04 +0900)]
naviframe: Fix to finish transition for newly pushed item

Suppose naviframe top item is "A" and a new item "B" is newly pushed.
In this case, if "A" is deleted by elm_object_item_del() before
transition for "B" is started, then signal for "B" is also not sent and
"B" does not become visible.

The above issue happened if the transition effect was implemented by
using deferred signals (i.e. "pushed,deferred" and "popped,deferred").

To resolve the above issue, the signal only for the deleted item is not
sent.

Suppose naviframe top item is "A" and a new item "B" is newly pushed.
In this case, if "B" is deleted by elm_object_item_del() before
transition for "B" is started, then signal for "A" is still sent and "A"
becomes invisible.

To resolve the above issue, if the deleted item is the top item and it
is in the middle of item push, then all the signals related to the
deleted item are not sent.

7 years agoRevert "naviframe: Fix to finish transition for newly pushed item"
Jaehyun Cho [Wed, 6 Sep 2017 11:03:26 +0000 (20:03 +0900)]
Revert "naviframe: Fix to finish transition for newly pushed item"

This reverts commit 8574128b67d336e796ca0f0abc9b97e65f7799d4.

7 years agoelementary: atspi accessible name uses plain text
Shinwoo Kim [Wed, 6 Sep 2017 10:54:59 +0000 (19:54 +0900)]
elementary: atspi accessible name uses plain text

The markup information of accessible name is not necessary.

7 years agoeo-cxx: Fix ompilation error for uncomplete Eina_Future type
Felipe Magno de Almeida [Wed, 6 Sep 2017 08:03:03 +0000 (17:03 +0900)]
eo-cxx: Fix ompilation error for uncomplete Eina_Future type

7 years agoelm test: slider: Add limited interval slider example.
Amitesh Singh [Wed, 6 Sep 2017 05:04:45 +0000 (14:04 +0900)]
elm test: slider: Add limited interval slider example.

7 years agoevas_language_utils: Fix build error without NLS
Jaehyun Cho [Wed, 6 Sep 2017 02:19:28 +0000 (11:19 +0900)]
evas_language_utils: Fix build error without NLS

7 years agoelementary: enhance accessible name of elm_entry
Shinwoo Kim [Wed, 6 Sep 2017 00:58:07 +0000 (09:58 +0900)]
elementary: enhance accessible name of elm_entry

The accessible name of elm_entry was guide text.
The accessible name of elm_entry should be its text.
If there is not text information, then guide text is using for accessible name.

7 years agofilters: Fix GL support aka. cedric's bork
Jean-Philippe Andre [Tue, 5 Sep 2017 07:29:01 +0000 (16:29 +0900)]
filters: Fix GL support aka. cedric's bork

7 years agofilters: Safety++
Jean-Philippe Andre [Mon, 4 Sep 2017 10:08:02 +0000 (19:08 +0900)]
filters: Safety++

This is an attempt at fixing crashes in empc.
Test scenario:
  ELM_ACCEL="" elementary_test -to "Gfx Filters"
  And mouse scroll like crazy in the spinner.

@fix

7 years agoeina: properly mark memory for valgrind before accessing it in one_big mempool.
Cedric Bail [Wed, 6 Sep 2017 00:01:03 +0000 (17:01 -0700)]
eina: properly mark memory for valgrind before accessing it in one_big mempool.

7 years agoecore_drm2: Better handling of blank time checks
Derek Foreman [Tue, 5 Sep 2017 17:08:02 +0000 (12:08 -0500)]
ecore_drm2: Better handling of blank time checks

On some systems we'll successfully complete the vblank ioctl but get
a reply of 0.  When that happens we can't use that time for ticking
as it will break all of the entire world.

Fixes immediate screen blank on rpi3.

@ref T5977

7 years agoRevert "evas_thread: only join the thread if the thread is still alive"
Marcel Hollerbach [Tue, 5 Sep 2017 12:36:17 +0000 (14:36 +0200)]
Revert "evas_thread: only join the thread if the thread is still alive"

This reverts commit e41d46c635bdf769d4b93da609883347168c719a.

This seems to be wrong