summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* efl_ui_dnd: cleanup when backend failed to create dnd opdevs/bu5hm4n/macos-fixMarcel Hollerbach2020-04-071-5/+11
| | | | | | this is needed to not have a dead window on the screen. Differential Revision: https://phab.enlightenment.org/D11654
* ecore_evas_cocoa: be aware of NULL dataMarcel Hollerbach2020-04-071-2/+4
| | | | | | this will now result in the promise beeing rejected. Differential Revision: https://phab.enlightenment.org/D11653
* meson: do no build upower on macosMarcel Hollerbach2020-04-071-1/+1
| | | | | | | this is just causing errors and nothing usefull, upower is not available on macos. Differential Revision: https://phab.enlightenment.org/D11652
* meson: build modules on macos as .soMarcel Hollerbach2020-04-071-1/+1
| | | | | | this is needed in order to support ecore-evas loading of .so modules Differential Revision: https://phab.enlightenment.org/D11651
* meson: support unified suffixes for modulesMarcel Hollerbach2020-04-0722-14/+36
| | | | | | | | | | | 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. Differential Revision: https://phab.enlightenment.org/D11650
* ci: force system zlib on osxMike Blumenkrantz2020-04-072-1/+17
| | | | | | | 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 Differential Revision: https://phab.enlightenment.org/D11661
* evas: prepare for cur beeing NULLMarcel Hollerbach2020-04-061-1/+5
| | | | | | | debug name could be called during any time, even before the constructor, of this super class is hit. So cur can be NULL here. Differential Revision: https://phab.enlightenment.org/D11659
* eo: only prepare a empty nodeMarcel Hollerbach2020-04-061-1/+1
| | | | | | | | 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. Differential Revision: https://phab.enlightenment.org/D11657
* elm icon/image efl ui image - respect aspect hints at all if setCarsten Haitzler (Rasterman)2020-04-061-1/+28
| | | | | | | | 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
* efl.ui.textbox: add test case for copy/paste resultsAli2020-04-061-0/+12
| | | | | | | 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
* ui textpath: removed unused var.Hermet Park2020-04-061-1/+0
|
* ui textpath: update map before rendering begins.Hermet Park2020-04-061-6/+14
| | | | | | | | | | 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
* build: add version to exactness libsMarcel Hollerbach2020-04-061-1/+3
| | | | | | | | this patch was submitted through the bugtracker by Andrew Brouwers. Thank you! fixes T8644
* emile: fix a potentional resource leaking.Wonki Kim2020-04-061-0/+6
| | | | | | | | '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
* ecore_evas: fix leaks in macos and win32Marcel Hollerbach2020-04-062-0/+3
| | | | | | | memory is duplicated in eina_content_new. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11641
* tests/hover: add behavior tests for elm_hoverMike Blumenkrantz2020-04-031-0/+48
| | | | | | | verify geometry and smart callback triggering Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11632
* tests/layout: add explicit test for freeze and thaw no-op correctnessMike Blumenkrantz2020-04-031-0/+21
| | | | | | | | 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
* tests/elm: add wrapper for forcing manual render in testsMike Blumenkrantz2020-04-032-1/+7
| | | | | | | | 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
* tests/elm: add helper macros for asserting size and position of objectsMike Blumenkrantz2020-04-031-0/+18
| | | | | Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11629
* efl_ui/layout: correctly batch object changed state when using freeze/thawMike Blumenkrantz2020-04-033-2/+19
| | | | | | | | | | | 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
* eo: use eina_prefetchMarcel Hollerbach2020-04-031-0/+1
| | | | | | | | | 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
* Replace strncmp codeMarcel Hollerbach2020-04-036-8/+8
| | | | | | | | | | 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
* evas/text: remove paragraph_direction inherit during renderMike Blumenkrantz2020-04-031-16/+0
| | | | | | | | | | | 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
* ecore-evas/cocoa: fix cnp leakMike Blumenkrantz2020-04-031-0/+1
| | | | | | | 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
* elm_entry: using keycode for main keyboard shortcutsAli2020-04-032-10/+40
| | | | | | | | | | 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
* code: Silence compiler warnings.Alastair Poole2020-04-031-2/+2
|
* edje_legacy: Remove EINA_UNUSED when obj is actually usedProhtMeyhet2020-04-031-11/+11
| | | | | | | | | | | | | 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
* free memory in clipboard notify event and fix clipboard clear eventVincent Torri2020-04-031-16/+24
| | | | | Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11564
* doxygen docs: some fixes in Evas_Legacy.hXavi Artigas2020-04-022-15/+88
| | | | | | | | | 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.
* doxygen docs: Add _Eina_Version struct docsXavi Artigas2020-04-021-0/+2
|
* comments: Typos in Efl_Config.hXavi Artigas2020-04-021-2/+2
|
* exactness docs: Add docs, fix docs, remove docsXavi Artigas2020-04-024-44/+96
| | | | | | | | | | | | | | | | | | | | 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
* ci: travis: switch exactness testing to normal test fileStefan Schmidt2020-04-021-1/+1
| | | | | | | | 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
* exactness: protect against forked callsMarcel Hollerbach2020-04-014-11/+47
| | | | | | | | | 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
* release: Update NEWS and bump version for 1.24.0-alpha1 releasev1.24.0-alpha1Stefan Schmidt2020-04-012-3/+68
|
* exactness: error when _src_unit is NULLMarcel Hollerbach2020-03-311-6/+5
| | | | | | | | 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
* exactness: equip with ERR and CRITMarcel Hollerbach2020-03-311-5/+15
| | | | | | | | | | | | | 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
* exactness: correctly call mkdirMarcel Hollerbach2020-03-311-11/+20
| | | | | | | | | 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
* exactness: do not efl_del the evasMarcel Hollerbach2020-03-311-1/+0
| | | | | | | | | | | 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
* exactness_play: introduce runner scriptMarcel Hollerbach2020-03-312-0/+104
| | | | | | | | | 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
* exactness_play: transform to LD_PRELOAD libraryMarcel Hollerbach2020-03-312-142/+101
| | | | | | | this can now be loaded as LD_PRELOAD library Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11615
* exactness_player: refactor main methodMarcel Hollerbach2020-03-311-98/+145
| | | | | | | | | 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
* exactness: remove code for compilingMarcel Hollerbach2020-03-313-54/+2
| | | | | | | | | 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
* exactness_record: introduce runner scriptMarcel Hollerbach2020-03-312-1/+72
| | | | | | | | 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
* exactness_recorder: move to preloadMarcel Hollerbach2020-03-312-126/+82
| | | | | | | | | | 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
* exactness_recorder: refactor main methodMarcel Hollerbach2020-03-313-35/+67
| | | | | | | | | 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
* ecore_evas_wayland: Do not pass negative parameter to close functionChristopher Michael2020-03-301-1/+1
| | | | | | | | 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
* ecore_evas_wayland: Declare variables at top of functionChristopher Michael2020-03-301-1/+3
|
* efl_ui_textbox: pass in correct seatMarcel Hollerbach2020-03-301-2/+2
| | | | | | | | | 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
* canvas vg: null initialization for safety.Hermet Park2020-03-301-1/+1
|