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.
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
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
Jean-Philippe Andre [Wed, 13 Sep 2017 04:11:03 +0000 (13:11 +0900)]
widget: Make part_text_translate internal
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
Jean-Philippe Andre [Wed, 13 Sep 2017 04:38:57 +0000 (13:38 +0900)]
evas: Fix build break
Ooops. Classic.
See
9ed6838f17e43621eea6f388eb2f5eceba14ecad
Amitesh Singh [Wed, 13 Sep 2017 03:22:54 +0000 (12:22 +0900)]
efl.ui.slider_interval: Add missing since tag
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).
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
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.
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
Jean-Philippe Andre [Thu, 7 Sep 2017 00:51:09 +0000 (09:51 +0900)]
eo: Add class name to error log (unref)
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.
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.
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.
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.
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
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.
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.
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.
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.
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.
Jean-Philippe Andre [Fri, 1 Sep 2017 06:21:22 +0000 (15:21 +0900)]
evas: Remove group_del override from smart clipped
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.
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
Jean-Philippe Andre [Fri, 1 Sep 2017 05:29:10 +0000 (14:29 +0900)]
evas: Add some EO safety to legacy EAPI
Vincent Torri [Mon, 11 Sep 2017 01:52:47 +0000 (03:52 +0200)]
eina: add an Eina_Value helper for Eina_Rectangle.
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>
Cedric BAIL [Tue, 12 Sep 2017 22:40:42 +0000 (15:40 -0700)]
eina: add an Eina_Value helper for Eina_File.
Cedric BAIL [Tue, 12 Sep 2017 21:08:40 +0000 (14:08 -0700)]
eio: move efl.io.manager.close to use the new future.
Cedric BAIL [Tue, 12 Sep 2017 17:22:21 +0000 (10:22 -0700)]
eio: simplify promise use.
Cedric BAIL [Tue, 12 Sep 2017 17:16:44 +0000 (10:16 -0700)]
eina: cleanup documentation for promise.
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.
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>
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.
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.
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.
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
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
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
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
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
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
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.
Cedric BAIL [Mon, 11 Sep 2017 23:10:46 +0000 (16:10 -0700)]
eio: first convertion to new future/promise.
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.
Cedric BAIL [Mon, 11 Sep 2017 23:08:23 +0000 (16:08 -0700)]
eina: fix typos in eina_promise_all_array documentation.
Cedric BAIL [Mon, 11 Sep 2017 18:31:50 +0000 (11:31 -0700)]
evas: actually output might not be initialized until later.
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.
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
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 - ‌
ZWJ U+200D - ‍
LRM U+200E - ‎
RLM U+200F - ‏
@feature
Test Plan: N/A
Reviewers: raster, cedric, herdsman, jpeg, woohyun
Differential Revision: https://phab.enlightenment.org/D5173
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
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.
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
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.
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
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.
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
Felipe Magno de Almeida [Thu, 7 Sep 2017 03:06:17 +0000 (12:06 +0900)]
ecore: Add efl_model_copmosite_selection model
Felipe Magno de Almeida [Thu, 7 Sep 2017 03:05:24 +0000 (12:05 +0900)]
efl: Make models 0-based index, not 1-based
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
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.
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
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.
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.
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.
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
Amitesh Singh [Wed, 6 Sep 2017 05:04:45 +0000 (14:04 +0900)]
elm test: slider: Add limited interval slider example.
Jaehyun Cho [Wed, 6 Sep 2017 02:19:28 +0000 (11:19 +0900)]
evas_language_utils: Fix build error without NLS
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.
Jean-Philippe Andre [Tue, 5 Sep 2017 07:29:01 +0000 (16:29 +0900)]
filters: Fix GL support aka. cedric's bork
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
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.
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
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
Marcel Hollerbach [Mon, 4 Sep 2017 17:44:03 +0000 (19:44 +0200)]
evas_thread: only join the thread if the thread is still alive
otherwise we might join a invalid thread id, that could lead to a
deadlock. Lets not do that.
ref T5245
@fix
Jaeun Choi [Tue, 5 Sep 2017 08:09:37 +0000 (17:09 +0900)]
elm_panel: set content as a sub object of panel object
since sd->bx is not an elm object, it is excluded from parent-child tree.
in case of a non-scrollable panel, the content needs to be attached to the tree
as a child of panel object directly.
Amitesh Singh [Tue, 5 Sep 2017 07:20:43 +0000 (16:20 +0900)]
eina: fix compilation after b0rking in
c9a0237770a7fb
Ref T5966
Thiep Ha [Tue, 5 Sep 2017 06:56:00 +0000 (15:56 +0900)]
eina_promise: remove shadowed declaration warning
Thiep Ha [Tue, 5 Sep 2017 05:44:21 +0000 (14:44 +0900)]
focus_manager: remove unused parameter warning
Thiep Ha [Tue, 5 Sep 2017 05:19:59 +0000 (14:19 +0900)]
textpath: correct map point number
The last map point is not counted if seg is too small.
Test: change start angle to 3, the last segment is missed.
Thiep Ha [Tue, 5 Sep 2017 03:07:38 +0000 (12:07 +0900)]
textpath: remove legacy api support
Thiep Ha [Tue, 5 Sep 2017 03:02:01 +0000 (12:02 +0900)]
textpath: do not process line if failed to allocate segment
Thiep Ha [Tue, 5 Sep 2017 02:55:07 +0000 (11:55 +0900)]
textpath: correct data gets from path
values of px0, py0 should be stored from previous command.
Jean Guyomarc'h [Mon, 4 Sep 2017 22:09:57 +0000 (00:09 +0200)]
eina: fix destruction of the osx semaphores
Well... that's just embarassing... semaphore_destroy() actually takes
the mach task as its first parameter, not the second. This core
amazingly worked very fine on macOS earlier than Sierra.
Fixes T5245
Jean Guyomarc'h [Mon, 4 Sep 2017 17:59:20 +0000 (19:59 +0200)]
ecore: fix return value
Guilherme Iscaro [Wed, 30 Aug 2017 20:25:28 +0000 (17:25 -0300)]
efl_io_copier: Use the new Eina_Future API.
Guilherme Iscaro [Wed, 30 Aug 2017 20:24:27 +0000 (17:24 -0300)]
efl_net: Use the new Eina_Future API.
Gustavo Sverzut Barbieri [Sat, 26 Aug 2017 22:59:39 +0000 (19:59 -0300)]
Efl_Loop: add job, timeout and idle based on Eina_Future.
Since some clash with old version, then add Eina_FutureXXX to their
name, later we'll sed.
Gustavo Sverzut Barbieri [Sat, 26 Aug 2017 22:39:23 +0000 (19:39 -0300)]
export efl_future_then() for Eina_Future syntax sugar.
This is actually written as efl_future_Eina_FutureXXX_then() as the
old API clashes, after removing the old code we'll "sed" to fix those.
Gustavo Sverzut Barbieri [Sat, 26 Aug 2017 22:04:43 +0000 (19:04 -0300)]
Eina_Future: add eina_future_resolved()
This is a helper that creates a promise, then a future and immediately
resolves the promise, this will let the future be dispatched as usual,
from a clean main loop context.
Guilherme Iscaro [Tue, 8 Aug 2017 21:11:23 +0000 (18:11 -0300)]
Eina_Promise/Eina_Future: Add example and tests.
Guilherme Iscaro [Fri, 25 Aug 2017 22:53:15 +0000 (19:53 -0300)]
Efl_Object: Add integration with Eina_Future.
This commit adds the EO support for the new future infra.
From now on there's no need to efl_future_link()/efl_future_unlink()
object and futures since the new API already handles that internally.
Guilherme Iscaro [Tue, 8 Aug 2017 21:10:36 +0000 (18:10 -0300)]
Eina: Add Eina_Promise/Eina_Future.
This commit adds a new promise/future API which aims to replace
efl_future.
Cedric Bail [Mon, 4 Sep 2017 10:08:33 +0000 (03:08 -0700)]
eina: properly track valgrind use of the mempool.
T5966
Youngbok Shin [Mon, 4 Sep 2017 07:18:05 +0000 (10:18 +0300)]
evas: proceed glyph iterator to handle next index properly
Summary:
When harfbuzz is enabled, _content_create_ot() function will be used
for shaping. If evas_common_font_int_cache_glyph_get() failed in some reason,
it never proceed gl_itr until the end.
It can cause weird rendering result. Because, all of gl_itr after the failure
can't have proper x_bear, y_bear and width.
@fix
Test Plan: N/A
Reviewers: raster, cedric, herdsman, jpeg
Differential Revision: https://phab.enlightenment.org/D5154
Jaehyun Cho [Mon, 4 Sep 2017 05:58:39 +0000 (14:58 +0900)]
naviframe: Fix to finish transition for newly pushed item
If current item was deleted while new item was pushed, then the signals
for the newly pushed item was not sent.
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 signals only for the deleted item is not
sent.
Marcel Hollerbach [Sat, 2 Sep 2017 17:08:18 +0000 (19:08 +0200)]
elm_widget: move the complete regsiter/unregister logic
We had here a little problem, state focus_state_eval function handled
the unregisteration and consideration of the focus flags and then only
called a helper function (which was a widget function), that then did
the registeration in logical or regular mode.
Elm scroller for example took that function overwrote it and did onyl
permit logical registrations. Then again a evaluation of the focus state
and flags took place, and the function considered elm_scroller should be
registered as regular object, but found it to be logical. This lead to
the problem that we permantently unregistered Elm.Scroller and
registered it again as logical just to unregister it again. This was on
the one side a performance downside. But also a bug since all items from
within the Elm_Scrollers sub manager are getting reparent onto the
parent, which means not the root of the scroller (the scroller itself)
is the logical entrypoint to the widget but rather this reparented
widget, which led to unexpected focus warps like described in T5923.
tldr: this fixes T5923
Marcel Hollerbach [Sat, 2 Sep 2017 17:41:30 +0000 (19:41 +0200)]
efl_ui_focus_manager: present a slightly better error message
with this and the backtrace you can probebly figure out if you just
registered the same widget twice for different types
Marcel Hollerbach [Fri, 1 Sep 2017 16:12:13 +0000 (18:12 +0200)]
efl_ui_focus_manager_sub: not needed anymore, handled by calc