summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* efl_ui_pager: refactor unpack functionJaeun Choi2019-03-291-11/+20
|
* efl_ui_pager: add a missing conditionJaeun Choi2019-03-291-1/+1
|
* efl_ui_pager: fix pack functionJaeun Choi2019-03-294-5/+34
|
* elm_priv.h: remove unnecesary lineJaeun Choi2019-03-291-1/+0
|
* efl_ui_pager: disable loop if items are not enough after unpackingJaeun Choi2019-03-291-4/+11
|
* mono-docs: Minor ammendments to Eina.ValueXavi Artigas2019-03-291-7/+7
|
* efl_ui_widget: reintroduce legacy behaviourMarcel Hollerbach2019-03-292-3/+78
| | | | | | | | | | before the refactoring of the disabled property, there was no way to enable a widget which has a disabled tree. This here however enables this to work again like this. The user will be told with an error message. The integraty of the property is maintained accross reparents. Reviewed-by: Jaehyun Cho <jae_hyun.cho@samsung.com> Differential Revision: https://phab.enlightenment.org/D8459
* efl_ui_widget: add tests for parent and disalbed propertyMarcel Hollerbach2019-03-291-0/+62
| | | | | | | | this just adds more coverage over the behaviour of efl_ui_widget properties. Reviewed-by: Jaehyun Cho <jae_hyun.cho@samsung.com> Differential Revision: https://phab.enlightenment.org/D8458
* efl_ui_test_widget: ensures tests do not errorMarcel Hollerbach2019-03-291-1/+27
| | | | | Reviewed-by: Jaehyun Cho <jae_hyun.cho@samsung.com> Differential Revision: https://phab.enlightenment.org/D8457
* Revert "evas gl engines - avoid getting context if possible"Carsten Haitzler (Rasterman)2019-03-294-18/+5
| | | | | | | | | This reverts commit e7771438a25382a2e4fabe33753456dcde8cab40. This should fix T7764 zmike - you're right. thanks for narrowing down the commit... revert time.
* remove the definition of HAVE_WASAPI as it is never usedVincent Torri2019-03-281-1/+0
| | | | | | | | | | | | | | | | Summary: HAVE_WASAPI is never used Test Plan: compilation Reviewers: zmike, cedric, raster Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8493
* efl_ui_alert_popup: add new feature for applying side button style of alert ↵Taehyub Kim2019-03-282-33/+100
| | | | | | | | | | | | | | | | popup Summary: This feature will apply side button style for each left and right button of alert popup Reviewers: Jaehyun_Cho, cedric Reviewed By: Jaehyun_Cho Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8492
* elm_entry: CRI if efl_file methods are called directly on this objectMike Blumenkrantz2019-03-282-1/+9
| | | | | | | eo methods should not be called on legacy objects Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8487
* docs: Document event info calling conventionXavi Artigas2019-03-282-2/+9
| | | | | | | | | | Both at the emitter (efl_event_callback_call) and the receiver (info field in the Efl.Event structure). The Events tutorial should repeat this. Fixes T7760 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8486
* efl_ui_slider: block scrolling when on sliderMarcel Hollerbach2019-03-282-0/+87
| | | | | | | | | | | when a mouse cursor is over a slider, the mouse wheel should be used to affect the state of the slider, not also the one of the slider. ref T2529 Reviewed-by: Bowon Ryu <bowon.ryu@samsung.com> Reviewed-by: Jaehyun Cho <jae_hyun.cho@samsung.com> Differential Revision: https://phab.enlightenment.org/D8455
* elementary: remove some asynchronous behavior from the fileselector.Cedric BAIL2019-03-282-61/+17
| | | | | | | | | | | | | | | Marcel notted that when using the LIST view of the fileselector on a big directory, we end up having to wait for the entire genlist to be populated to be able to switch to another directory. This is actually a side effect of the populate code being triggered through an idler. This idler was useful when the list was populated directly, but now that we rely on Efl.Io.Model, we should be asynchronous enough that it shouldn't be a problem to actually not be asynchronous here. By removing the reliance on the idler, we are not queued after all the idler and can properly short circuit all of that. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8491
* elementary: restore quick exit from wait loop in fileselector test.Cedric BAIL2019-03-281-2/+6
| | | | | | | | | The test was not expecting both callback to be set when the wait loop was started. By moving them around, it fixes the test case to only have one relevant callback set at a time. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8490
* elc_filselector: solve the mysterium of sometimes failing testsMarcel Hollerbach2019-03-272-15/+9
| | | | | | | | | | | | | | | | | | | | | so after a phone call, two days of debugging, tears, crying etc. etc. we finally came to a point of enlightenment! *Someone* (bu5hm4n) moved gengrid and genlist events from eo back to smart events, so we can work arround legacy borks and event-name collisions, at this point he did not knew that some widgets (fileselector) already relied on those *lovely* events. Hence this broke theoretically the testsuite, however, the fileselector testsuite is ultimatily buggy, and the wait function does not return false when it timeouts, (i don't know why not). So this break was never discovered. Additionally there is a second issue. it appears, that when we immidiatly quit the mainloop after we have got the selected callback, that then genlist decides to forget about the sd->selected pointer, and NULLs that one out. Which then results in the fact that elm_fileselector_selected_get ends up returning invalid paths. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8488
* elementary: make sure that the model parent being used is always the ↵Cedric BAIL2019-03-271-5/+6
| | | | | | | | | | | | | fileselector. Model provided by an item selection would have there parent being the current model of the fileselector. Once that one is replaced by the item model, it would automatically invalidate the model and break any further request. This lead to a bug where you could only get into one directory before everything else being empty. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8450
* elementary: prevent asynchronous properties change to believe target is ↵Cedric BAIL2019-03-272-2/+4
| | | | | | | | | | | ready when it is not in fileselector. In some case, the properties changed event would be triggered first on the object model instead of the target model. This now enforce that the target will be the first model to handle and react on the information. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8449
* elementary: fix fileselector entry support to define path manually.Cedric BAIL2019-03-271-72/+25
| | | | | | | | There was no need in the first place to do all this asynchronous work here. It is more robust to do it in sync. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8448
* eio: work around the lack of integration between Ecore_Thread and Eina_Future.Cedric BAIL2019-03-271-9/+111
| | | | | | | | | | | | | | | Ecore_Thread excpect resolution of the error and done case to be instantaneous, while Eina_Future default scheduler linked with Ecore main loop is build around asynchronous answer. This create a lot of potential. A better patch would be to provide an Ecore_Thread helper that does the integration properly. Sadly we are in release now, so this is basically what an helper would do, but contained inside Efl_Io_Manager. This also solve the same problem as D7970 and D8053, but it should avoid its side effect. Reviewed-by: YeongJong Lee <yj34.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D8371
* eio: add test to ensure proper lifecycle of Efl_Io object and futures.Yeongjong Lee2019-03-271-0/+17
| | | | | Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8372
* eio: Efl.Io.Model should not make request when the object is invalidating ↵Cedric BAIL2019-03-271-2/+2
| | | | | | | itself. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8373
* eio: remove unecessary use of weak reference.Cedric BAIL2019-03-272-22/+1
| | | | | | | | | | There is no point in keeping a pointer to the main loop now that we are using efl_future_then. This resolve potential bug with leftover dangling weak reference as efl_future_then do require a free case otherwise. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8374
* elementary: destroy fileselector children when they are not itemized yet.Cedric BAIL2019-03-272-15/+12
| | | | | | | | | | | As we now do everything asynchronously, we do have model representing child of the main model that don't provide enough information to be displayed yet. This are not tracked by a genlist item, nor are they a child of the fileselector. To properly handle their lifecycle, it is necessary to unref them manually explicitely. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8375
* eio: guarantee that we will at least process one request per loop iteration ↵Cedric BAIL2019-03-271-4/+10
| | | | | | | for very slow system. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8447
* elementary: improve lifecycle of model object in the fileselector widget.Cedric BAIL2019-03-271-19/+24
| | | | | | | | | | | | | | | | This is a minimal change and it would be best to refactor the code completely using all the infrastructure we have now instead of the organically grown code, but I am afraid of doing such a big change at this point of our release cycle. Part of the improvement are use of efl_replace to make sure Eo object reference are set to NULL once reference are dropped. Handling the case when a processed child is actually pointing to an error. Also it is not supported by model to get their parent stolen, so this has been fixed too. Finally setting the path asynchronously was creating more trouble than needed, when it could be done in a synchronous way. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8336
* eo: refactor auto_unref logic used by efl_part.Cedric BAIL2019-03-271-15/+13
| | | | | | | This bring no functional change to Eo and efl_part. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8357
* eo: enforce auto_unref logic at the end of efl_unref execution.Cedric BAIL2019-03-271-0/+3
| | | | | | | | This allow for the safe use of efl_ref/efl_unref around an efl_part without calling any function on that part. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8358
* Revert "efl_ui_layout: call efl_del instead of efl_unref when text part does ↵Cedric BAIL2019-03-271-1/+1
| | | | | | | | | | | | not exist" This reverts commit cced5487c83c8f75e2ca40969f5749d5e6570228. This patch was pushed just to silence warning without fixing the problem and doing something that was incorrect (coupling an efl_del with an efl_ref). Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8429
* elementary: only apply text when the object is not invalidated and dying.Cedric BAIL2019-03-271-0/+3
| | | | | Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8359
* elementary: split the smart callback event name from the Eo name when needed.Cedric BAIL2019-03-274-27/+23
| | | | | | | This fix the borkage of the "selected" smart event not being triggered. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8332
* eina: prevent double cancel of ongoing dispatched future.Cedric BAIL2019-03-271-0/+13
| | | | | Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8333
* eio: rely on efl_future_then to properly protect Eo object during the ↵Cedric BAIL2019-03-271-10/+8
| | | | | | | lifecycle of the future callback. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8334
* eio: path and filename property should always remind accessible even in case ↵Cedric BAIL2019-03-271-1/+1
| | | | | | | of error. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8335
* build: add autotools for elm config embeddingMike Blumenkrantz2019-03-272-2/+8
| | | | | | | | | | | | | | Summary: Depends on D8481 Reviewers: bu5hm4n, devilhorns Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl_build Differential Revision: https://phab.enlightenment.org/D8489
* elementary: embed standard config as fallbackMarcel Hollerbach2019-03-273-140/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: as you can see in T7620, there is quite some critics about how we are handling configs in elm. This patch enables the compile-time standard config to be used instead of some weak-wrong-usage hardcoded structure defines somewhere in elm. This means, that every update to the default theme will be also in the next build embedded, without any config files installed at all, the standard config for desktops will work, and a error will be printed, so the user does have the possibility to interact with elm as he wishes, while he sees this error. fixes T7620 Reviewers: zmike, cedric, segfaultxavi, devilhorns Reviewed By: zmike Subscribers: devilhorns, #reviewers, #committers Tags: #efl Maniphest Tasks: T7620 Differential Revision: https://phab.enlightenment.org/D8481
* build: fix meson vnc-server option textMike Blumenkrantz2019-03-271-1/+1
| | | | | | | | | | | | | | Summary: thx @vtorri for reporting Reviewers: devilhorns, vtorri Reviewed By: vtorri Subscribers: cedric, #reviewers, vtorri, #committers Tags: #efl_build Differential Revision: https://phab.enlightenment.org/D8480
* build: fix meson pixman dependency nameMike Blumenkrantz2019-03-271-1/+1
| | | | | | | | | | | | | | Summary: thx @vtorri for reporting Reviewers: devilhorns, vtorri Reviewed By: vtorri Subscribers: cedric, #reviewers, vtorri, #committers Tags: #efl_build Differential Revision: https://phab.enlightenment.org/D8479
* eina benchmark: fix warnings on Windows 64 bitsVincent Torri2019-03-272-9/+10
| | | | | | | | | | | | | | | | Summary: long is always a 32 bits type on Windows Test Plan: compilation Reviewers: raster, zmike, cedric Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8482
* test: add a test case for elm_entryWonki Kim2019-03-273-0/+42
| | | | | | | | | | | | | | | | Summary: behaviors of elm_entry has been changed so that this patch provides usages to keep as a test case. Reviewers: zmike, Hermet, YOhoho Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8483
* entry: move a point to do 'auto_save' to another placeWonki Kim2019-03-271-4/+5
| | | | | | | | | | | | | | | | | | | | Summary: By reworking on efl_file, logic flow for entry has been changed. and it causes autosave making a file that is passed to elm_entry_file_set empty. Test Plan: 1. call elm_entry_file_set for a file. 2. check the file is not empty after calling the function. Reviewers: zmike, bu5hm4n Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8362
* evas_render: Process deferred callback in the sync render case.Woochanlee2019-03-271-0/+1
| | | | | | | | | | | | | | | | | | | Summary: The EVAS_CALLBACK_RENDER_POST callback has been deferred when the callback is registered during the render(inside_post_render flag on). In the sync render case, the logic to call deferred callbacks is missing, and callbacks are not being called in certain cases. @fix Reviewers: ManMower, Hermet Reviewed By: Hermet Subscribers: zmike, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8478
* eolian_csharp: hide struct native representation inside the managed structVitor Sousa2019-03-265-245/+185
| | | | | | | | | | | | | | | | | | | | | | | Summary: Rework the struct binding generator to declare the native struct nested inside the managed one. This way native structs are less likely to cause confusion; for example with an IDE that supports automatic completion. Get rid of struct conversion class methods in favor of using (the already generated) implicit conversion operators. Depends on D8469 Reviewers: segfaultxavi, lauromoura, felipealmeida Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8470
* eolian_csharp: make struct generator use indentation level from contextVitor Sousa2019-03-261-84/+92
| | | | | | | | | | | | | | | | | | | Summary: Make the struct generator (the first one to) extract indentation information from the context, an effort for a future overall consistency in white space generation. Depends on D8468 Reviewers: lauromoura, segfaultxavi, felipealmeida Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8469
* eolian_csharp: add indentation contextVitor Sousa2019-03-2610-28/+59
| | | | | | | | | | | | | | | | | | | | | | | | | Summary: Also, use new context class for cleaner constructs. Also, make functions receive context objects by reference to avoid unnecessary object copies (since context objects are bigger now). This commit contains preparation structures for a future overhaul of white space generation. Depends on D8467 Test Plan: ninja test Reviewers: felipealmeida, lauromoura Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8468
* eolian_cxx: rework context code, also more flexible scope indentation generatorVitor Sousa2019-03-262-28/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Context management classes now store constant copies of the tags they are supposed to hold. So, they are immutable objects now. Functions that manipulate context create new object copies as needed. `constexpr` was added for class constructor and functions. Indentation generator now used four space by default. Also, the amount of desired spaces can now be specified at call site. Added helper methods to return 'indented' and 'unindented' version of a given indentation generator object. Test Plan: ninja test Reviewers: felipealmeida, lauromoura Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8467
* efl-csharp: Remove spaces from type strings in generator.Lauro Moura2019-03-264-77/+98
| | | | | | | | | | | | | | | | | | | | | | | | | Summary: Previously, the type_impl and marshall_type_impl generators relied on a type mismatch in the match table to fallback to the else branch in the match check to actually print the type string. This was achieved by adding the " " prefix to the type. This commit changes this behavior to invoke a proper visitor just to print and makes both generators return trimmed type strings. This will help conforming to the C# coding conventions. Test Plan: run test suite Reviewers: felipealmeida, vitor.sousa Reviewed By: felipealmeida, vitor.sousa Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8441
* elementary: fix ATSPI reflection API warning.Cedric BAIL2019-03-261-1/+1
| | | | | | | | | | | | | | Summary: Depends on D8451 Reviewers: zmike, bu5hm4n, stefan_schmidt, devilhorns Reviewed By: devilhorns Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8452