summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-07meson: build modules on macos as .soMarcel Hollerbach
this is needed in order to support ecore-evas loading of .so modules Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11651
2020-04-07meson: support unified suffixes for modulesMarcel Hollerbach
A long story in a few words: sometimes on macos modules will be compiled into .dylib, sometimes, into .so suffix. We did not set the suffix everywhere in our meson build instructions, hence our suffixes have been differently, which resulted in random load fails on different maschines. With this commit, we ensure that we suffix all modules the same way. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11650
2020-04-07ci: force system zlib on osxMike Blumenkrantz
osx doesn't ship a pkgconfig file for its own zlib, so now we're shipping a pkgconfig file for their zlib to avoid future issues Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11661
2020-04-07evas: prepare for cur beeing NULLMarcel Hollerbach
debug name could be called during any time, even before the constructor, of this super class is hit. So cur can be NULL here. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11659
2020-04-07eo: only prepare a empty nodeMarcel Hollerbach
Summary: do not take over complete vtables. This might fix wrong vtable settings when a type is not in the inheritance of another type, but the function is implemented. Reviewers: woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11657
2020-04-06elm icon/image efl ui image - respect aspect hints at all if setCarsten Haitzler (Rasterman)
these did not even look at aspect hints when calculating sizing. that means any attempt to set them would lead to... nothing useful. this handles horiz/vert/both cases (as best as is possible). @fix This reverts previous commit and fixes it in the box layout to respect aspect in elm boxes. note - this probably needs doing in other containers too like table... Revert "elm icon/image efl ui image - respect aspect hints at all if set"
2020-04-06elm icon/image efl ui image - respect aspect hints at all if setCarsten Haitzler (Rasterman)
these did not even look at aspect hints when calculating sizing. that means any attempt to set them would lead to... nothing useful. this handles horiz/vert/both cases (as best as is possible). @fix
2020-04-06efl.ui.textbox: add test case for copy/paste resultsAli
since paste is now working when called from user source code, this test case can be added Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11625
2020-04-06ui textpath: removed unused var.Hermet Park
2020-04-06ui textpath: update map before rendering begins.Hermet Park
previously, textpath delays the map calculation to avoid duplicated jobs. some cases, this job could be delayed to the next frame that occured a wrong frame result. This render_pre event gurantees the textpath to update frames exactly. @fix
2020-04-06build: add version to exactness libsMarcel Hollerbach
this patch was submitted through the bugtracker by Andrew Brouwers. Thank you! fixes T8644
2020-04-06emile: fix a potentional resource leaking.Wonki Kim
'ctx' can be leaked in some case. this pathc fixes it. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11368
2020-04-06ecore_evas: fix leaks in macos and win32Marcel Hollerbach
memory is duplicated in eina_content_new. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11641
2020-04-03tests/hover: add behavior tests for elm_hoverMike Blumenkrantz
verify geometry and smart callback triggering Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11632
2020-04-03tests/layout: add explicit test for freeze and thaw no-op correctnessMike Blumenkrantz
this shouldn't trigger any canvas changes since nothing is happening during the freeze Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11631
2020-04-03tests/elm: add wrapper for forcing manual render in testsMike Blumenkrantz
this can be useful when a test needs to immediately verify whether a render is occurring Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11630
2020-04-03tests/elm: add helper macros for asserting size and position of objectsMike Blumenkrantz
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11629
2020-04-03efl_ui/layout: correctly batch object changed state when using freeze/thawMike Blumenkrantz
previously this would always queue a recalc when calling thaw even if the object hadn't changed also mimic edje internal behavior with unsetting 'frozen' during force calc for possible future handling even though it has no effect presently Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11628
2020-04-03eo: use eina_prefetchMarcel Hollerbach
we should prefetch the func pointer here. Later on we are accessing the func pointer in a streak, after that, we do not use it anymore. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11593
2020-04-03Replace strncmp codeMarcel Hollerbach
the structure "!strcmp(X, "foo", strlen("foo"))" is equal to "eina_has_prefix(X, "foo")", and the later is nicer to read, hence this replaces it. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11620
2020-04-03evas/text: remove paragraph_direction inherit during renderMike Blumenkrantz
this is unnecessary: * for the text object itself, the value is correctly set whenever the paragraph_direction property is changed * for inheritance, smart object already implements propagation which triggers on member add or property change Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11549
2020-04-03ecore-evas/cocoa: fix cnp leakMike Blumenkrantz
this pointer needs to be freed if it's being copied Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11604
2020-04-03elm_entry: using keycode for main keyboard shortcutsAli
Previously we use key strings to detect keyboard shortcuts (for example copy/paste/select_all, .. etc) Now we will use key code alongside with these key strings (I do not remove the key string, because I am afraid something depends on them because some methods do not send keycode with keys) This issue can be easily detected when the keyboard layout is not a Latin language, for example Hitting "C" will produce key string depends on related language not letter C, but Keycodes remain the same regardless of keyboard layout. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11606
2020-04-03code: Silence compiler warnings.Alastair Poole
2020-04-03edje_legacy: Remove EINA_UNUSED when obj is actually usedProhtMeyhet
This removes EINA_UNUSED when obj is actually used like in a call ed = _edje_fetch(obj); Please note the macro GET_REAL_PART_ON_FAIL_RETURN also uses obj. No functional changes, just cleanup. Reviewed-by: Christopher Michael <devilhorns@comcast.net> Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11471
2020-04-03free memory in clipboard notify event and fix clipboard clear eventVincent Torri
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11564
2020-04-02doxygen docs: some fixes in Evas_Legacy.hXavi Artigas
This brings into the docs hundreds of methods! due to the ingroup->defgroup mistake, they were out of any scope and therefore they were silently ignored by doxygen. Also, document lots of missing "obj" parameters. Not strictly necessary, but this further reduces the number of doxygen warnings.
2020-04-02doxygen docs: Add _Eina_Version struct docsXavi Artigas
2020-04-02comments: Typos in Efl_Config.hXavi Artigas
2020-04-02exactness docs: Add docs, fix docs, remove docsXavi Artigas
Summary: The Exactness tool needed usage instructions... and quite some more fixes. There was copypasta all around. Depends on D11634 Test Plan: Build and Enjoy Reviewers: bu5hm4n, stefan_schmidt Reviewed By: stefan_schmidt Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11637
2020-04-02ci: travis: switch exactness testing to normal test fileStefan Schmidt
Since the changes from Marcel to run exactness as LD_PRELOADed library we can switch back to the normal test.txt file and names. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11636
2020-04-01exactness: protect against forked callsMarcel Hollerbach
there came up a issue, where a excatness spawned processes were bringing up a efreetd instance, when the efreetd instance turned off itself, the files for exactness were written again, which is wrong. This ensures that forked instances do not take any actions. Differential Revision: https://phab.enlightenment.org/D11634
2020-04-01release: Update NEWS and bump version for 1.24.0-alpha1 releasev1.24.0-alpha1Stefan Schmidt
2020-03-31exactness: error when _src_unit is NULLMarcel Hollerbach
if _src_unit is NULL, the write here would delete the actions, with this commit we ensure that this is printing an error. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11627
2020-03-31exactness: equip with ERR and CRITMarcel Hollerbach
before a few commits, we had the situation that errors were overseen because the log was simply so big, that errors did not get shown properly. With this commit, exactness will simply abort if there is a real issue in the code. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11624
2020-03-31exactness: correctly call mkdirMarcel Hollerbach
we should not error when mkdir returns < 0. EEXIST should not result in the return here. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11618
2020-03-31exactness: do not efl_del the evasMarcel Hollerbach
there is no need to do that, more than that. This is super dangerous, the display and connection ptr of x are passed from ecore_evas to evas, if you delete evas before ecore_evas, the later ecore_evas deletion will destroy the x connection which calls some functions in evas, which is already freed, which leads to a crash. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11617
2020-03-31exactness_play: introduce runner scriptMarcel Hollerbach
this is just a little python script, so you can lunch exactness_play without the need of handdefining LD_PRELOAD Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11616
2020-03-31exactness_play: transform to LD_PRELOAD libraryMarcel Hollerbach
this can now be loaded as LD_PRELOAD library Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11615
2020-03-31exactness_player: refactor main methodMarcel Hollerbach
this refactors everything that is not argc argv related out of the main method. For later usage Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11614
2020-03-31exactness: remove code for compilingMarcel Hollerbach
this seems to be made for compiling binaries before testing. That sounds like a good idea, however, implementing a full buildtool in exactness is a bit hard. Hence, using meson for that would be better. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11613
2020-03-31exactness_record: introduce runner scriptMarcel Hollerbach
this is just a little python script, so you can lunch exactness_record without the need of handdefining LD_PRELOAD Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11611
2020-03-31exactness_recorder: move to preloadMarcel Hollerbach
this is now not a binary anymore, that dlopen's a binary, it is now a library, that can be loaded using LD_PRELOAD. EXACTNESS_DEST is used for the path of the .exu file. EXACTNESS_FONTS_DIR is used to get the fonts directory Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11610
2020-03-31exactness_recorder: refactor main methodMarcel Hollerbach
all calls taht are not related to env var checking, are moved out of the main method. That is in preparation for later refactorings. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11623
2020-03-30ecore_evas_wayland: Do not pass negative parameter to close functionChristopher Michael
Coverity reports that 'fd' here is negative, and close() cannot accept a negative parameter, so add a check to make sure 'fd' is not negative before passing to close function. Fixes CID1420318
2020-03-30ecore_evas_wayland: Declare variables at top of functionChristopher Michael
2020-03-30efl_ui_textbox: pass in correct seatMarcel Hollerbach
0 was the wrong seat, and only worked on a small amount of systems fixes T8639 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11622
2020-03-30canvas vg: null initialization for safety.Hermet Park
2020-03-30exactness_recorder: cleanup code a bitMarcel Hollerbach
_test_name was not used globally, so lets move it to the used scope. Verbose is not used at all either. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11609
2020-03-30elm_atspi_bridge: initialize variablesShinwoo Kim
The efl_access_text_attribute_get is resolved by elm_entry. Please refer to _elm_entry_efl_access_text_attribute_get first. Uninitialized variables are used for its parameters, and it is able to return before setting these variables. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11619