summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Ui text: use async layoutdevs/herdsman/text_async2Daniel Hirt2017-09-116-51/+167
| | | | | | | | | | | | | | | Adds "Efl.Ui.Text_Async" object. This new widget uses the "async_layout" functionality of the underlying Efl.Canvas.Text_Async object. Currently, if "editable" mode is enabled, there is no asynchronous layout, as interactive operations (e.g. typing) should get processed immediately. Thus, only "non-editable" instructs the text object to do asynchronous layout. elementary_test "efl ui text" is modified to use this new widget. @feature
* Canvas text async: add async layout functionalityDaniel Hirt2017-09-114-150/+581
| | | | | | | | | | | | | | | | This adds Efl.Canvas.Text_Async with the 'async_layout' method. The 'async layout' method is similar to 'size_formatted_get', but done outside of the mainloop. When a call is made to this method, a thread is created (after some preparation like updating the logical text items), and the visual layout is offloaded to that thread. Mainloop is blocked for operations that manipulate the object, if a thread has already been created but hasn't complete its work. Consecutive calls for async layout for the same object are not handled simultaneously. Each time the threads has complete its work, the next (if exists) layout will be dispatched. @feature
* Ui text: reduce calls to update decorationsDaniel Hirt2017-09-102-10/+38
|
* efl ui layout - fix warning fro wrong type... its a list not a hash.Carsten Haitzler (Rasterman)2017-09-101-1/+1
|
* eo-cxx: Require instantiate keyword for constructors calling efl_add to ↵Felipe Magno de Almeida2017-09-088-25/+200
| | | | avoid ambiguity
* edje: Better debug logs for invalid calls to swallowJean-Philippe Andre2017-09-082-16/+44
| | | | | These error messages will be triggered when efl_part() is used, and the part is not a swallow part.
* Evas filters: remove needless check for negative case.Sungtaek Hong2017-09-081-2/+3
| | | | | | | | | | | | | | 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
* Canvas text: emit missing events during text changesDaniel Hirt2017-09-071-2/+3
| | | | | Some text changes were not picked up by the Ui.Text widget, so no size evaluation was triggered.
* elm: Fix multiple connections from model to properties in LayoutFelipe Magno de Almeida2017-09-071-139/+95
|
* ecore: Add efl_model_copmosite_selection modelFelipe Magno de Almeida2017-09-0712-43/+577
|
* efl: Make models 0-based index, not 1-basedFelipe Magno de Almeida2017-09-072-8/+7
|
* eio: Fix eio model children count in initialization of children modelFelipe Magno de Almeida2017-09-072-8/+62
|
* Revert "elm: rename elm spinner to Efl.Ui.Spinner"Amitesh Singh2017-09-0710-127/+128
| | | | | | | | 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.
* cxx: generate a constructor with a parent and a lambda functionDaniel Zaoui2017-09-071-0/+4
| | | | | | | | 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
* naviframe: Fix to finish transition for newly pushed itemJaehyun Cho2017-09-061-6/+13
| | | | | | | | | | | | | | | | | | | | | | 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.
* Revert "naviframe: Fix to finish transition for newly pushed item"Jaehyun Cho2017-09-061-4/+5
| | | | This reverts commit 8574128b67d336e796ca0f0abc9b97e65f7799d4.
* elementary: atspi accessible name uses plain textShinwoo Kim2017-09-067-16/+42
| | | | The markup information of accessible name is not necessary.
* eo-cxx: Fix ompilation error for uncomplete Eina_Future typeFelipe Magno de Almeida2017-09-061-0/+4
|
* elm test: slider: Add limited interval slider example.Amitesh Singh2017-09-061-0/+28
|
* evas_language_utils: Fix build error without NLSJaehyun Cho2017-09-061-1/+6
|
* elementary: enhance accessible name of elm_entryShinwoo Kim2017-09-061-1/+7
| | | | | | 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.
* filters: Fix GL support aka. cedric's borkJean-Philippe Andre2017-09-069-39/+32
|
* filters: Safety++Jean-Philippe Andre2017-09-065-40/+73
| | | | | | | | | 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
* eina: properly mark memory for valgrind before accessing it in one_big mempool.Cedric Bail2017-09-051-2/+15
|
* ecore_drm2: Better handling of blank time checksDerek Foreman2017-09-051-3/+3
| | | | | | | | | | 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
* Revert "evas_thread: only join the thread if the thread is still alive"Marcel Hollerbach2017-09-051-2/+2
| | | | | | This reverts commit e41d46c635bdf769d4b93da609883347168c719a. This seems to be wrong
* evas_thread: only join the thread if the thread is still aliveMarcel Hollerbach2017-09-051-2/+2
| | | | | | | | | otherwise we might join a invalid thread id, that could lead to a deadlock. Lets not do that. ref T5245 @fix
* elm_panel: set content as a sub object of panel objectJaeun Choi2017-09-051-1/+3
| | | | | | 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.
* eina: fix compilation after b0rking in c9a0237770a7fbAmitesh Singh2017-09-051-2/+2
| | | | Ref T5966
* eina_promise: remove shadowed declaration warningThiep Ha2017-09-051-1/+0
|
* focus_manager: remove unused parameter warningThiep Ha2017-09-051-1/+1
|
* textpath: correct map point numberThiep Ha2017-09-052-1/+2
| | | | | The last map point is not counted if seg is too small. Test: change start angle to 3, the last segment is missed.
* textpath: remove legacy api supportThiep Ha2017-09-052-10/+0
|
* textpath: do not process line if failed to allocate segmentThiep Ha2017-09-051-0/+1
|
* textpath: correct data gets from pathThiep Ha2017-09-051-4/+6
| | | | values of px0, py0 should be stored from previous command.
* eina: fix destruction of the osx semaphoresJean Guyomarc'h2017-09-051-1/+1
| | | | | | | | 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
* ecore: fix return valueJean Guyomarc'h2017-09-041-1/+1
|
* efl_io_copier: Use the new Eina_Future API.devs/iscaro/futureGuilherme Iscaro2017-09-041-25/+22
|
* efl_net: Use the new Eina_Future API.Guilherme Iscaro2017-09-048-166/+168
|
* Efl_Loop: add job, timeout and idle based on Eina_Future.Gustavo Sverzut Barbieri2017-09-045-0/+199
| | | | | Since some clash with old version, then add Eina_FutureXXX to their name, later we'll sed.
* export efl_future_then() for Eina_Future syntax sugar.Gustavo Sverzut Barbieri2017-09-041-0/+12
| | | | | 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.
* Eina_Future: add eina_future_resolved()Gustavo Sverzut Barbieri2017-09-042-2/+61
| | | | | | 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.
* Eina_Promise/Eina_Future: Add example and tests.Guilherme Iscaro2017-09-046-0/+1679
|
* Efl_Object: Add integration with Eina_Future.Guilherme Iscaro2017-09-043-19/+488
| | | | | | 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.
* Eina: Add Eina_Promise/Eina_Future.Guilherme Iscaro2017-09-0412-0/+3290
| | | | | This commit adds a new promise/future API which aims to replace efl_future.
* eina: properly track valgrind use of the mempool.Cedric Bail2017-09-041-2/+16
| | | | T5966
* evas: proceed glyph iterator to handle next index properlyYoungbok Shin2017-09-041-2/+1
| | | | | | | | | | | | | | | | 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
* naviframe: Fix to finish transition for newly pushed itemJaehyun Cho2017-09-041-5/+4
| | | | | | | | | | | 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.
* elm_widget: move the complete regsiter/unregister logicMarcel Hollerbach2017-09-0213-68/+112
| | | | | | | | | | | | | | | | | | | | | 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
* efl_ui_focus_manager: present a slightly better error messageMarcel Hollerbach2017-09-021-2/+3
| | | | | with this and the backtrace you can probebly figure out if you just registered the same widget twice for different types