summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-07-30build: always build elua, make bindings build optionaldevs/q66/elua_enableDaniel Kolesa
This change makes the build system build elua always, except when lua-old is requested, in which case luajit is not available and elua will not be built. Bindings now have a separate configure option. For now, bindings are built by default, to mimic previous behavior, but disabling bindings will no longer also disable elua.
2018-07-28eina: Add doxygen in/out tags for mmap and moduleBryce Harrington
Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6691
2018-07-27eina: Add doxygen in/out tags for logBryce Harrington
Subscribers: cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6690
2018-07-27elm_code_widget: fix keyboard and scrolling with active selection.Alastair Poole
Summary: This adds some attributes to the selectiont type in elm_code. Including the type (whether it is mouse or keyboard) and also whether a selection is in progress. Thus we can reliably select around the file and also move/scroll when there is an active selection. Test Plan: Drag and select text with mouse. Also the same with keyboard (hold shift and select). Leave selection active and scroll around the file. The selection should remain and full movement is possible while retaining the active selection. This could really be refactored for a next major release. Reviewers: #committers, ajwillia.ms, cedric Reviewed By: ajwillia.ms Subscribers: zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6676
2018-07-27eina: Add doxygen in/out tags for lalloc and listBryce Harrington
Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6688
2018-07-26evas: handle all failure cases with error messages in evas_initMike Blumenkrantz
Summary: fix T7026 Reviewers: Hermet Reviewed By: Hermet Subscribers: cedric, #committers Tags: #efl Maniphest Tasks: T7026 Differential Revision: https://phab.enlightenment.org/D6677
2018-07-26edje: handle all failure cases with error messages in initMike Blumenkrantz
Summary: fix T7025 Depends on D6677 Reviewers: Hermet Reviewed By: Hermet Subscribers: cedric, #committers Tags: #efl Maniphest Tasks: T7025 Differential Revision: https://phab.enlightenment.org/D6678
2018-07-26elm: handle all failure cases with error messages in initMike Blumenkrantz
Summary: fix T7021 Depends on D6678 Reviewers: Hermet Reviewed By: Hermet Subscribers: cedric, #committers Tags: #efl Maniphest Tasks: T7021 Differential Revision: https://phab.enlightenment.org/D6679
2018-07-26eina: Add doxygen in/out tags for inlist and iteratorBryce Harrington
Reviewers: segfaultxavi Subscribers: segfaultxavi, cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6686
2018-07-26tests/eio: increase monitoring test timeout to 1sMike Blumenkrantz
this should only affect CI builds, allowing more time for tests to process on the insanely slow virtual hw Differential Revision: https://phab.enlightenment.org/D6623
2018-07-26ci: disable tests on misc buildsMike Blumenkrantz
these tests have some crazy options which cause tests to fail at present ref T7151 Differential Revision: https://phab.enlightenment.org/D6620
2018-07-26ci: make check -> make check-TESTSMike Blumenkrantz
the tests have all been compiled at this point using the check-build target (separately) in order to split out test compile failures from runtime failures, so use the check-TESTS target to run the tests without checking whether the tests are built first Differential Revision: https://phab.enlightenment.org/D6619
2018-07-26ci: run make check in buildMike Blumenkrantz
this adds a script to run make check after the build has finished, repeating tests 3 times to try and reduce false positives from intermittent failure tests ref T7094 Differential Revision: https://phab.enlightenment.org/D6617
2018-07-26ci: add folding for travis logsMike Blumenkrantz
make the build a bit nicer to read the build output is still insanely verbose, so this isn't super useful as the 'pretty' view still takes so long to load that it's almost always better to just read the raw text log Differential Revision: https://phab.enlightenment.org/D6616
2018-07-26ci: use manual autoreconf && configure callsMike Blumenkrantz
our autogen.sh stupidly destroys all the autotools cache files, so ensure that we keep them around to speed up configure Differential Revision: https://phab.enlightenment.org/D6615
2018-07-26ci: make release-ready not allow failuresMike Blumenkrantz
this should no longer fail Differential Revision: https://phab.enlightenment.org/D6612
2018-07-26ci: disable make on release buildsMike Blumenkrantz
make is no longer required for distcheck, so stop doing 2 full tree builds on this build type fixes release builds on travis Differential Revision: https://phab.enlightenment.org/D6611
2018-07-26ci: build tests on macosMike Blumenkrantz
this enables test building on macos (previously disabled) Differential Revision: https://phab.enlightenment.org/D6584
2018-07-26ci: add osx homebrew packages to cacheMike Blumenkrantz
this adds the downloaded homebrew package files to a cache in order to avoid needing to separately download each file at the start of each build not sure we can do better here unless we buy the enterprise-level travis package which allows building with custom osx images which we could pre-install all these dependencies on ref T7096 Differential Revision: https://phab.enlightenment.org/D6610
2018-07-26ci: disable app build on osxMike Blumenkrantz
this isn't currently working, disable for now Differential Revision: https://phab.enlightenment.org/D6609
2018-07-26ci: add autoconf cachingMike Blumenkrantz
this enables caching of the autoreconf and ./configure stages of the build using autotools-provided caching mechanisms in order to speed up these steps fix T7136 Differential Revision: https://phab.enlightenment.org/D6608
2018-07-26ci: don't cd / when building example appMike Blumenkrantz
this gets deleted after the build, so just build it in the efl directory to avoid permission errors when building on osx Differential Revision: https://phab.enlightenment.org/D6607
2018-07-26ci: add ccache supportMike Blumenkrantz
this enables and implements full support for ccache on travis builds fix T7126 Differential Revision: https://phab.enlightenment.org/D6605 =also includes previously-submitted patches= ci: split out ccache config setup into separate script this provides a more unified place to set ccache options also enable ccache compression to cut down on cache upload/download overhead ref D6613 ci: zero ccache stats before build and add some comments for options used zeroing the stats before each build will provide more insight into the cache performance for each build ref D6621 ci: break out ccache stat printing into separate script continue to make travis.yml more readable ref D6622 ci: add more ccache config options to improve cache direct hits ci: disable second cpp run for ccache this should avoid running cpp twice for files https://ccache.samba.org/manual.html#_the_preprocessor_mode
2018-07-26ci: refactor all build steps into separate build scriptsMike Blumenkrantz
this moves each step of the ci build into a separate script with the build type passed as an argument, allowing for easier modification of each individual step as necessary and making travis.yml more readable Differential Revision: https://phab.enlightenment.org/D6604 also includes: ci: break out make commands into travis.yml from build scripts this simplifies the platform-specific build scripts to only perform the configure stage of the build (and any additional setup) and then uses standardized commands for the build in addition to being simpler, this will also provide more/better info about build timings ref D6603
2018-07-25ee_wayland: Update maximize and fullscreen state after configureDerek Foreman
Summary: If the compositor drops fullscreen or maximize for us the CSD to change that state would become broken, as ecore_wl2 thought the window state was whatever we last set it to from the client side. Update that state on configure event. fix T7211 Reviewers: devilhorns, zmike, eagleeye Reviewed By: devilhorns, zmike Subscribers: cedric, #committers, zmike Tags: #efl Maniphest Tasks: T7211 Differential Revision: https://phab.enlightenment.org/D6684
2018-07-25elementary: Check for valid resize objectChris Michael
Summary: Fix an issue where elm_slider was passing NULL to eo functions due to wd->resize_obj being NULL. Discovered via Enlightenment mixer popup dialog ref T7030 Depends on D6639 Reviewers: zmike Reviewed By: zmike Subscribers: Hermet, bu5hm4n, cedric, #committers Tags: #efl Maniphest Tasks: T7030 Differential Revision: https://phab.enlightenment.org/D6640
2018-07-25elementary: Check for valid resize object before callingChris Michael
Summary: efl_layout_signal_emit This patch fixes an issue where NULL was passed to efl_layout_signal_emit due to wd->resize_obj being NULL. This was discovered in Enlightenment by clicking on the mixer module and trying to close the popup window ref T7030 Depends on D6638 Reviewers: zmike Reviewed By: zmike Subscribers: Hermet, cedric, #committers Tags: #efl Maniphest Tasks: T7030 Differential Revision: https://phab.enlightenment.org/D6639
2018-07-25elementary: Check for valid frame objectChris Michael
Summary: Make sure we have a valid frame object before calling edje & evas functions on it. This patch fixes an issue where NULL is being passed to eo functions ref T7030 Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #committers Tags: #efl Maniphest Tasks: T7030 Differential Revision: https://phab.enlightenment.org/D6637
2018-07-25tests: check WIFEXITED to determine if test exited before using exit statusMike Blumenkrantz
Summary: the exit status value is not valid unless the process has terminated normally by calling exit() or _exit(), so only use the status if this is true. otherwise mark the process as a failed test Depends on D6597 Reviewers: ManMower Reviewed By: ManMower Subscribers: cedric, #committers Tags: #efl_tests Differential Revision: https://phab.enlightenment.org/D6600
2018-07-25release: Update NEWS and bump version for 1.21.0-beta1 releasev1.21.0-beta1Stefan Schmidt
2018-07-25tests: limit per-suite forks to cpu countMike Blumenkrantz
this is mostly fine to thrash the cpus on beefy desktop computers, but it completely destroys travis's wimpy 2cpu/2gb ram configurations and causes all the tests to fail instead, restrict forking to the number of cpus detected and wait until a fork exits before beginning a new one ref T7151 Differential Revision: https://phab.enlightenment.org/D6597
2018-07-24evas canvas: fix not to trigger unnecessary events.Hermet Park
Summary: Here comparision is logically wrong because it compares the coordinates(cur, prev) of the different spaces. As you can see just above the conditions, Cur coordinates could be transformed into the map space (if objs have) on the otherhands, prev is not. These wrong condition could occur embarassing event trigger. @fix Reviewers: #committers, zmike Reviewed By: #committers, zmike Subscribers: cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6674
2018-07-24elm/list: remove max size setting on item contentsMike Blumenkrantz
Summary: this was added in a giant block commit in 2009 without direct explanation; it doesn't seem to make functional sense in the original patch and it definitely doesn't make sense now this greatly improves list performance by causing fewer edje recalcs on list items resulting from list fighting with item content objects over max size hint fix T7176 Reviewers: Hermet Reviewed By: Hermet Subscribers: cedric, #committers Tags: #efl_widgets Maniphest Tasks: T7176 Differential Revision: https://phab.enlightenment.org/D6669
2018-07-24efl_ui_win: reset first_draw flag if window is resized while hiddenMike Blumenkrantz
Summary: this indicates that the window's internal object sizes will have changed, requiring a full window recalc. if the window is not visible, defer all recalcs until pre-render to avoid unnecessary calcs and use the same codepath as the initial window show ref T7172 Depends on D6646 Reviewers: kimcinoo, eagleeye, ManMower Reviewed By: ManMower Subscribers: cedric, #committers Tags: #efl_widgets Maniphest Tasks: T7172 Differential Revision: https://phab.enlightenment.org/D6647
2018-07-24efl_ui_win: show internal objects again on show if first_draw flag is setMike Blumenkrantz
Summary: in this case, a window is being shown again after being hidden, so it's safe to immediately show these objects as the size will not have changed since they were last visible fix T7172 ref fa02f16a3fcf24ac32ea0d1e07fbcb145b0da565 Reviewers: kimcinoo, eagleeye Reviewed By: kimcinoo Subscribers: cedric, #committers Tags: #efl_widgets Maniphest Tasks: T7172 Differential Revision: https://phab.enlightenment.org/D6646
2018-07-24eina: Add doxygen in/out tags for evlog, file, fp, freeqBryce Harrington
Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6673
2018-07-24ci: add some line breaks in travis.yml for readabilityMike Blumenkrantz
no functional changes Differential Revision: https://phab.enlightenment.org/D6602
2018-07-24ci: always force eio to use fallback monitoring methodMike Blumenkrantz
inotify is not available in docker containers, so disable this for now as it will always cause codepaths relying on it to time out Differential Revision: https://phab.enlightenment.org/D6601
2018-07-24build: make object rule for eolian tests a versioned conditionalMike Blumenkrantz
automake 1.16 changed the naming of object files: - When subdir-objects is in effect, Automake will now construct shorter object file names when no programs and libraries name clashes are encountered. This should make the discouraged use of 'foo_SHORTNAME' unnecessary in many cases. https://lists.gnu.org/archive/html/info-gnu/2018-02/msg00008.html this requires that object-specific rules must be changed to match the new naming scheme if newer automake is being used. the $am__api_version contains the version string of the automake version used during autoreconf, so this should be checked during configure time in order to generate the correct makefile rule for that automake version other similar rules should be changed in the same way note that this conditional speculates on behavior of automake versions past 1.16, which are not yet released and thus may change, meaning that this issue may reoccur in future automake versions Differential Revision: https://phab.enlightenment.org/D6594
2018-07-24elm_code_widget: resize cursor at time of font change.Alastair Poole
Summary: This ensures the cursor changes to meet the font size change when a font change is made in an Elm_Code_Widget. @fix T6470 Test Plan: Run ecrire or Edi. Open a text file and change the font settings. Cursor should resize with the font when it is changed. Reviewers: #committers, ajwillia.ms Reviewed By: #committers, ajwillia.ms Subscribers: cedric, zmike Tags: #efl Maniphest Tasks: T6470 Differential Revision: https://phab.enlightenment.org/D6596
2018-07-24elm_code_widget: fix select and drag (scrolling).Alastair Poole
Summary: Currently when selecting with the mouse and scrollling, the selection will only continue in one direction. With this patch, the selection can move freely between "pages". Test Plan: select text and drag up and down in elm_code widget (Edi). Reviewers: #committers, ajwillia.ms Reviewed By: ajwillia.ms Subscribers: cedric, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6632
2018-07-24elm test - expand --help to also do -h and -helpCarsten Haitzler (Rasterman)
2018-07-24elm test - unbreak elm test ...Carsten Haitzler (Rasterman)
7ebcb710d2776a0bbd905552226dc1141a18ef7d / D6668 breaks elm test. a fix actually that breaks it even more. before only --help didn't work... now -to/--test-win-only is broken which is the actually useful option... :)
2018-07-24ecore x - fix vsync to not block amdgpu driversCarsten Haitzler (Rasterman)
amdgpu vsync works so don't block is so those drivers get proper vsynced rendering as well. @fix
2018-07-23ecore/signal: use a volatile int to prevent further SIGPIPE during shutdownMike Blumenkrantz
Summary: attempt to prevent any access of the signal pipe once signal handlers are removed in order to avoid triggering a SIGPIPE which would kill the app Depends on D6670 Reviewers: ManMower Reviewed By: ManMower Subscribers: cedric, #committers Tags: #efl_main_loop Differential Revision: https://phab.enlightenment.org/D6672
2018-07-23ecore/signal: delete signal pipe after unsetting signal handlersMike Blumenkrantz
Summary: if a signal is already in the signal pipe when close() is called, this will trigger a SIGPIPE. if the signal handler exists, this will cause the signal handler to infinitely recurse when trying to print the error messages from write()ing the signal data to the close()d pipe fix T7158 Reviewers: ManMower Reviewed By: ManMower Subscribers: cedric, #committers Tags: #efl_main_loop Maniphest Tasks: T7158 Differential Revision: https://phab.enlightenment.org/D6670
2018-07-23macos: allow text to be selected.Alastair Poole
Summary: This gives us basic clipboard handling for MacOS after the refactor was done. Test Plan: Open an entry test. select text with mouse or keyboard. Text can be cut. Text can be copied. Text can be pasted. Reviewers: ajwillia.ms, zmike, jayji Reviewed By: zmike Subscribers: jayji, herdsman, cedric, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D6599
2018-07-23elm_test: fix arg parsingMike Blumenkrantz
Summary: recent changes to ecore changed arg numbering again and no callers outside of test suites were updated ref 9c8749b99a03d3601321da6d16071dd7b631d1ae Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #committers Tags: #efl_widgets Differential Revision: https://phab.enlightenment.org/D6668
2018-07-23evas clip: more strict comparison.Hermet Park
Summary: just improvement from D6645 Reviewers: zmike, #committers Reviewed By: zmike, #committers Subscribers: cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6650
2018-07-23Efl.Ui.Calendar, elm_calendar: Code fixed to support auto repeat feature.Woochan Lee
Summary: 1. Why there is a edje signal callback in elm_calendar? and do we need to maintain? We used edje part like a button before (3 years ago?), So there is a callbacks to get edje signal. Im pretty sure it is not use anymore. but we need to maintain backward compatibility. 2. elm_calendar using using repeat feature in efl_ui_button for it. why did i change it to manual timer? We opend elm_calendar_interval_set() APIs. Support this API the manual timer is proper then using button's feature. 3. why scroll freeze? and why only elm_calendar does it? When the user long press calendar button area and then move the scroll will be activated. it can prevent that weird action. efl_ui_calendar using button's feature. i not sure scroll freeze is deserve to attached in button side as a feature or not. So i will consider more for this case. 4. Why efl_ui_calendar doesn't have year buttons (double spinner case) After interface work, we don't accept style change in the runtime. so that featrue will be supported as API. The year_button_set/get() property should be added. but i dont know is it really needed... If the app developer want use year inc/dec button for efl_ui_calendar. they can inherit the class and make it easily. Test Plan: View, Action, API test in the elementary-test sample App. Ps. The issue of the calendar2 crash when it closed. It's not relative with this commit. its focus. i will look around. Reviewers: Hermet, zmike, ManMower, segfaultxavi, devilhorns Reviewed By: Hermet Subscribers: cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6626