aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ci: always use same version numbering for every builddevs/discomfitor/citestMike Blumenkrantz2018-08-162-0/+27
| | | | | | | | if the version number ever changes then this destroys the entire ccache as the version is used in various places in headers which are included throughout the tree Differential Revision: https://phab.enlightenment.org/D6848
* move examples to submoduleMike Blumenkrantz2018-08-16714-130812/+22
| | | | cibuildme
* tests/elm: speed up all main loop timer executionMike Blumenkrantz2018-08-162-5/+42
| | | | | | | | | | | | | | this spins a second loop which manages a timer to trigger the canvas tick and increase the loop timer by a fixed interval on every timer call by increasing the loop time manually, timers such as edje animation timers which would usually take a very long time (e.g., 0.5s) to run will instead complete almost instantly, making tests run much faster the second loop is necessary in this case in order to accurately provide ticks at a consistent interval without any modifications to timing Differential Revision: https://phab.enlightenment.org/D6791
* tests/elm: use custom tick source for animator eventsMike Blumenkrantz2018-08-161-0/+2
| | | | | | | ensure that animator ticks are occurring at the same time as render dumping in order to further speed up tests Differential Revision: https://phab.enlightenment.org/D6766
* tests/elm: further reduce buffer render intervalMike Blumenkrantz2018-08-161-3/+3
| | | | | | this further increases the speed at which some tests perform Differential Revision: https://phab.enlightenment.org/D6765
* ci: explicitly clone and build an external app during distcheckMike Blumenkrantz2018-08-161-0/+3
| | | | Differential Revision: https://phab.enlightenment.org/D6789
* ci: disable backtracing on log errorsMike Blumenkrantz2018-08-162-1/+2
| | | | | | | this is just spam that fills up the logs and sometimes causes builds to abort when they reach the maximum log size Differential Revision: https://phab.enlightenment.org/D6788
* efl/timer: correctly handle timer freeze during constructionMike Blumenkrantz2018-08-161-9/+6
| | | | | | | it is not correct to throw an error when methods are called during construction Differential Revision: https://phab.enlightenment.org/D6787
* disable notificaitonsMike Blumenkrantz2018-08-161-12/+0
|
* ci: move distcheck build skipping to earliest possible place in buildMike Blumenkrantz2018-08-163-43/+59
| | | | | | | | | | | | this breaks out the script to evaluate whether a distcheck should occur into a separate file and runs it in the before_install hook, setting a variable on skip running configure or any commands at all is unnecessary if the distcheck build will be skipped, so just update the last-distcheck file and abort the build immediately to save time Differential Revision: https://phab.enlightenment.org/D6735
* ci: use manual script for distcheck buildMike Blumenkrantz2018-08-162-3/+122
| | | | | | | | | | | | | | | | | this adds a script which reimplements the distcheck rule generated from automake and runs that script instad of 'make distcheck' the benefit of this is that the distcheck script can run tests multiple times to avoid intermittent failures which could potentially cause build errors. distcheck builds are by far the longest and most costly of all ci builds, so it's important to reduce failure rates in these builds to the absolute minimum in order to keep ci build times low cibuildme fix T7094 Differential Revision: https://phab.enlightenment.org/D6734
* ci: trigger distcheck only if build files changed or keyword presentMike Blumenkrantz2018-08-161-9/+36
| | | | | | | 'cibuildme' , when placed in a commit log, will force a distcheck build on CI if no build files have changed Differential Revision: https://phab.enlightenment.org/D6664
* ci: silence libtoolMike Blumenkrantz2018-08-161-2/+2
| | | | | | attempt to disable some libtool warnings throughout the build Differential Revision: https://phab.enlightenment.org/D6661
* elm/code: use evas as parent for evas object creationMike Blumenkrantz2018-08-161-2/+2
| | | | | | | | | | | | | | | Summary: evas object types require an evas as the parent. this has always been the case, though it has only begun to (again) be treated as an error recently fixes unit test failures Subscribers: cedric, #reviewers, #committers Tags: #efl_widgets_code Differential Revision: https://phab.enlightenment.org/D6852
* tests/edje: fix object parenting for swallow testsMike Blumenkrantz2018-08-161-2/+2
| | | | | | | | | | | | | | | | | | Summary: recent safety check patches exposed issues here where tests were incorrectly written to pass evas objects as edje object parents, resulting in new test failures after this began to be detected and treated as an error Reviewers: netstar Reviewed By: netstar Subscribers: netstar, cedric, #reviewers, #committers Tags: #efl_tests Differential Revision: https://phab.enlightenment.org/D6851
* Remove EOLIAN_TESTS_EOS_GENERATEDDerek Foreman2018-08-161-6/+1
| | | | | | | | | | | | | | | | | | | | | Summary: commit 74b56eedd1e0f7c51500bf880b59257ecea0bd0e added these to clean, but the variable contains some non-generated files. Turns out these files don't have to be part of the build at all, as the tests that use them generate them in temp dirs. Just remove the variable entirely. Reviewers: bu5hm4n, zmike, q66 Reviewed By: bu5hm4n, zmike, q66 Subscribers: cedric, #reviewers, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6850
* evas: check evas class instead of using evas_findYeongjong Lee2018-08-1613-31/+19
| | | | | | | | | | | | | | | | | | | | | | | | Summary: A object that is not evas class shouldn't use evas_find. it may occurs segfault. ref c2e8b492b18bdecc2300ad051ba1406e40ad068f Test Plan: Evas *evas = evas_new(); evas_free(evas); evas_object_line_add(evas); Check weather there is segfault. Reviewers: Hermet, raster, zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6816
* ecore_evas: Fix elm warnings when building without wayland supportDerek Foreman2018-08-161-0/+3
| | | | | | | | | | | | | | | | | | | | Summary: efl_ui_win.c only includes private ecore_evas headers when building for wayland, but wayland canvas creation functions are called even in non-wayland builds. Move the "hidden" wayland APIs to the public header so they don't mess up non-wayland builds. Reviewers: devilhorns, zmike Reviewed By: devilhorns, zmike Subscribers: devilhorns, cedric, #reviewers, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6822
* tests/eio: disable efreet cache for eio testsMike Blumenkrantz2018-08-162-2/+8
| | | | | | | | | | | | | | | | Summary: having this enabled slows down test execution by a significant amount for some reason Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl_tests Differential Revision: https://phab.enlightenment.org/D6836
* edje/multisense: always return muted=true if multisense is disabledMike Blumenkrantz2018-08-161-1/+1
| | | | | | | | | | | | | | | | Summary: there is no sound when multisense is disabled, so this is functionally equivalent to the audio being muted Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl_layout_engine Differential Revision: https://phab.enlightenment.org/D6837
* elm/config: return false when setting audio config if multisense is disabledMike Blumenkrantz2018-08-161-0/+4
| | | | | | | | | | | | | | | | Summary: these operations cannot be completed if the support is not built in, so return false in order to provide the correct state to the caller Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D6839
* elm_code_line: fix potential crash.Alastair Poole2018-08-161-1/+1
| | | | | | | | | | | | | | | | | Summary: This can occur and thus malloc will return NULL when line->length is 0. Check for !line->length and return. Very difficult to reproduce, but I had managed three times, and avoided a crash. Reviewers: #committers, ajwillia.ms, zmike Reviewed By: #committers, zmike Subscribers: cedric, #reviewers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6842
* efl_ui_image: avoid a call to NULLYeongjong Lee2018-08-161-3/+7
| | | | | | | | | | | | | | | | Summary: Image object isn't created on constructor anymore. so that it need to check whether image object exist. Reviewers: Hermet, zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6834
* elm_image: create image object before call elm_image_object_getYeongjong Lee2018-08-163-1/+18
| | | | | | | | | | | | | | | | | | | | | | | Summary: image object was created in group_add before 868e3308. if you call elm_image_object_get before file_set, you can get NULL. this patch avoid that. Test Plan: obj = elm_image_add(...); img = elm_image_object_get(obj); img should not be NULL. Reviewers: Hermet, zmike Reviewed By: zmike Subscribers: JackDanielZ, cedric, #reviewers, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6828
* ci: disable notifications for canceled buildsMike Blumenkrantz2018-08-161-0/+1
| | | | | | | | canceled builds indicate that someone is actively watching a build, likely in order to test changes. there's no point in spamming irc for these events Differential Revision: https://phab.enlightenment.org/D6730
* ci: disable unnecessary build targetsMike Blumenkrantz2018-08-161-8/+8
| | | | | | | | | | | examples and install are both built by distcheck build, no need to also build them in every other build there's also no need to try building an app against the compiled libraries since ci runs unit tests, requiring binaries to run after linking to the libraries Differential Revision: https://phab.enlightenment.org/D6663
* elm_image: add EINA_UNUSED to avoid build warningYeongjong Lee2018-08-161-1/+1
| | | | Differential Revision: https://phab.enlightenment.org/D6844
* tests/image: remove unused variableYeongjong Lee2018-08-161-4/+0
| | | | Differential Revision: https://phab.enlightenment.org/D6843
* tests: add more info on failsafe timeoutMike Blumenkrantz2018-08-161-1/+17
| | | | | | | if a test is continually deadlocking then it's useful to know which test is failing to complete Differential Revision: https://phab.enlightenment.org/D6785
* tests: add failsafe timeout for tests running in fork modeMike Blumenkrantz2018-08-164-10/+63
| | | | | | | | | | | | | some tests manage to deadlock themselves on travis, seemingly due to some hard to reproduce issues which are a result of the extremely low amount of resources available on travis builds this adds a simple 'timeout' process which does nothing but sleep(60); and then returns. the exiting of this process will cause the main test process to break out of the deadlock and then exit instead of timing out a ci build Differential Revision: https://phab.enlightenment.org/D6697
* eina: Add doxygen in/out tags for safepointer, safety_checks, slice, etc.Bryce Harrington2018-08-154-139/+159
| | | | | | | | | | | | Reviewers: netstar Reviewed By: netstar Subscribers: netstar, cedric, #reviewers, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6833
* elm/list: use while() loop to iterate item list during smart deleteMike Blumenkrantz2018-08-151-2/+3
| | | | | | | | | | | | | | | | | | | | | Summary: using EINA_LIST_FREE here double deletes 2 list items on every iteration due to recursive list removals, which prevents some items from being deleted as expected fix T7266 Reviewers: netstar Reviewed By: netstar Subscribers: netstar, cedric, #reviewers, #committers Tags: #efl_widgets Maniphest Tasks: T7266 Differential Revision: https://phab.enlightenment.org/D6829
* tests/elm: remove elm_test_helper.(c|h) filesMike Blumenkrantz2018-08-156-72/+53
| | | | | | | | | these timer functions are only used by fileselector and I'm trying to consolidate timer usage no functional changes Differential Revision: https://phab.enlightenment.org/D6768
* tests/naviframe: add test to verify preserve_on_pop functionalityMike Blumenkrantz2018-08-151-0/+81
| | | | | | | | | this adds a naviframe with button content and pushes/pops the stack a couple times to see if a delete callback is called on the button ref T7236 Differential Revision: https://phab.enlightenment.org/D6762
* tests/eina: suppress deprecated api warnings for eina abi testMike Blumenkrantz2018-08-141-0/+7
| | | | | | | | | | | | Reviewers: devilhorns, ManMower Reviewed By: ManMower Subscribers: cedric, #reviewers, #committers Tags: #efl_build Differential Revision: https://phab.enlightenment.org/D6810
* evas gl: fix missing map texture target.Hermet Park2018-08-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | Summary: Map context missed setting texture target. I guess this is one of regression bugs in gl backend. When shader is flushed, it sets invalid texture target with map texture. That caused blank map rendering, this could be observed temporary because gl pipe contexts are reusable and missing texture target means, it could use previous texture target values that mostly have GL_TEXTURE_2D. @fix Reviewers: #committers, ManMower Reviewed By: #committers, ManMower Subscribers: ManMower, cedric, #reviewers, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6818
* evas: support wayland static engine loadingMarcel Hollerbach2018-08-141-0/+16
| | | | | | | | | | | | | | Summary: This fixes static loading of the here changes engines. Reviewers: ManMower, devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6795
* elm/win: skip frame updating if csd is not activeMike Blumenkrantz2018-08-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Summary: this avoids extra recalcs and resizes when csd is not active, which has the side benefit of not breaking the x11 engine's behavior--currently only an issue because the ecore-evas x11 backend does not have an implementation of ConfigureNotify event handling which is even remotely correct these issues will be resolved in future patches fix T7243 ref T7008 Reviewers: devilhorns, ManMower Reviewed By: devilhorns, ManMower Subscribers: ManMower, cedric, #reviewers, #committers Tags: #efl_display_system Maniphest Tasks: T7243, T7008 Differential Revision: https://phab.enlightenment.org/D6794
* ecore-evas/x: rework draw_block unsetting from ConfigureNotifyMike Blumenkrantz2018-08-141-8/+11
| | | | | | | | | | | | | | | | | | | | | Summary: draw_block should only be unset if the event is triggered by the wm or the window is an override, otherwise it prematurely begins rendering the window at a size which may or may not be accurate ref T7008 Reviewers: devilhorns, ManMower Reviewed By: ManMower Subscribers: ManMower, cedric, #reviewers, #committers Tags: #efl_display_system Maniphest Tasks: T7008 Differential Revision: https://phab.enlightenment.org/D6793
* ecore/main: only update loop_time during loop iteration if the change is ↵Mike Blumenkrantz2018-08-141-14/+22
| | | | | | | | | | | | | | | | | | | | | monotonic Summary: in the case where the user has called loop_time_set with a value in the future, avoid setting the loop time to something that would potentially cause a callback to occur with a loop_time value before a previous occurrence of that callback @fix Reviewers: ManMower Reviewed By: ManMower Subscribers: ManMower, #reviewers, cedric, #committers Tags: #efl_main_loop Differential Revision: https://phab.enlightenment.org/D6764
* eina_vpath: specilice the eina_vpath headersMarcel Hollerbach2018-08-141-0/+7
| | | | | | | | | | | | | | Summary: For now its beta, and the since tag is added. Reviewers: zmike Reviewed By: zmike Subscribers: #reviewers, kimcinoo, Hermet, cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6751
* build: fix evas static build of gl enginesMike Blumenkrantz2018-08-141-0/+11
| | | | | | | | | | | | | | | | | | Summary: when gl_common is built statically, the include directories for it need to be added to the main evas library build @fix Reviewers: devilhorns, vtorri, ManMower Reviewed By: ManMower Subscribers: ManMower, #reviewers, cedric, #committers Tags: #efl_build Differential Revision: https://phab.enlightenment.org/D6681
* elm_panel: return instead of EINA_SAFETY_ON_FALSE_RETURNAlastair Poole2018-08-141-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | Summary: As with other checks in ELM return if object is not yet finalized. This stops lots of console noise. @fix T7265 Test Plan: elementary_test: use panel test from console and view the noise from EINA. Apply then do the same. Reviewers: #committers, zmike Reviewed By: #committers, zmike Subscribers: cedric, #reviewers, zmike Tags: #efl Maniphest Tasks: T7265 Differential Revision: https://phab.enlightenment.org/D6826
* elementary: Check for valid cursor_rect when (un)setting focusChris Michael2018-08-141-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: As the cursor_rect for elm_code_widget is not created until the code widget gets focus, we cannot just assume it is already there when trying to emit a focus signal. The cursor_rect does not get created until widget_cursor_update is called. This fixes an issue where NULL is passed to efl_layout_signal_emit. To test this, just launch elementary_test and click the Code Editor test. As soon as you try to click into the Code Editor, this gets triggered. ref T7030 Reviewers: netstar, ajwillia.ms Reviewed By: netstar Subscribers: #reviewers, cedric, #committers, zmike Tags: #efl Maniphest Tasks: T7030 Differential Revision: https://phab.enlightenment.org/D6701
* edje: unset internal _need_imf flag on shutdownMike Blumenkrantz2018-08-141-1/+4
| | | | | | | | | | | | | | | | | | Summary: failing to unset this causes the ecore_imf flag to go negative if edje is ever completely shut down twice @fix Reviewers: ManMower Reviewed By: ManMower Subscribers: ManMower, #reviewers, cedric, #committers Tags: #efl_layout_engine, #easy Differential Revision: https://phab.enlightenment.org/D6763
* theme: add programs for deferred naviframe push/pop signalsJaehyun Cho2018-08-141-8/+8
| | | | | | | | | | | | | | | | | | | | | | | Summary: Naviframe provides deferred push/pop signals to begin transition effect and not to emit signals frequently for transition callbacks. To handle the deferred naviframe push/pop signals, programs which catch the signals are added. @fix Test Plan: Test naviframe in elementary_test by pressing next and prev buttons. Reviewers: zmike, Hermet Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D6823
* tests/genlist: add focus testYeongjong Lee2018-08-141-0/+43
| | | | | This adds test for simulating focus state. Differential Revision: https://phab.enlightenment.org/D6800
* efl_ui_focus_manager_calc: restore focus correctly if redirect gets NULLMarcel Hollerbach2018-08-141-4/+15
| | | | | | Otherwise we might end up with focus beeing NULL. Differential Revision: https://phab.enlightenment.org/D6803
* efl_ui_focus_manager_calc: fix unregistering the root of a redirectMarcel Hollerbach2018-08-141-7/+17
| | | | | | | | | | | | | There is often a tree of elements registered in a manager that are having all the same redirect element. Unserting the redirect property just because the node has this redirect element is not helpfull as this would break basically elm_tests button search. However, if it is the container itself, then the redirect can be unset, as nothing else can ever reach again the redirect manager. ref D6800 Differential Revision: https://phab.enlightenment.org/D6802
* efl_ui_focus_manager: adjust pop history popMarcel Hollerbach2018-08-143-8/+36
| | | | | | It now searches for a element if the focus stack is empty. Differential Revision: https://phab.enlightenment.org/D6801