summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* elm_dnd: support target setting on none evas_objectsdevs/bu5hm4n/travis-cnpMarcel Hollerbach2020-04-122-12/+42
| | | | | | before this only worked for elm widgets. This however mirrored the behaviour from efl_ui_selection_manager.c. So this restores the behaviour prior to selection_manager.
* ecore_evas_x: allow parsing of links form the link listMarcel Hollerbach2020-04-123-4/+34
| | | | | | this is needed in order to return the data the same way the legacy impl did. This however has the annoying sideeffect that ecore_evas_x now depends on efreet, and we had to change the build order.
* elm_dnd: complete the list of causal text typesMarcel Hollerbach2020-04-111-1/+5
| | | | Differential Revision: https://phab.enlightenment.org/D11684
* elm_slider: create timer for hiding laterMarcel Hollerbach2020-04-111-3/+7
| | | | | | | _popup_show deletes the hide timer, hence we need to create the timer later on, or this will not automatically hide the indicator. Differential Revision: https://phab.enlightenment.org/D11679
* tests: popupAlastair Poole2020-04-091-2/+2
| | | | | I missed this warning on this machine apologies for the unnecessary noise.
* tests: Add case to match ephoto behaviour.Alastair Poole2020-04-091-0/+76
|
* elm_dnd: null check for safetyYeongjong Lee2020-04-081-0/+9
| | | | | | | Also, it needs to keep backward compatibility. Reviewed-by: Christopher Michael <devilhorns@comcast.net> Differential Revision: https://phab.enlightenment.org/D11666
* release: Update NEWS and bump version for 1.24.0-beta1 releasev1.24.0-beta1Stefan Schmidt2020-04-081-0/+3
|
* elm_entry, accessibility: Send utf8 text instead of markup to ATSPI clientShilpa Singh2020-04-071-4/+6
| | | | | | | | | | | | | | | | Summary: Markup text cannot be read as per expectation by a text to speech engine, hence send text in UTF8 format Test Plan: Test the text returned by connecting to object:text-changed:insert and object:text-changed:delete events in ATSPI-clients Reviewers: kimcinoo Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11660
* efl_ui_dnd: cleanup when backend failed to create dnd opMarcel 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. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> 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. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> 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 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> 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. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> 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 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11661
* evas: prepare for cur beeing NULLMarcel Hollerbach2020-04-071-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. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11659
* eo: only prepare a empty nodeMarcel Hollerbach2020-04-071-1/+1
| | | | | | | | | | | | | | | 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
* elm icon/image efl ui image - respect aspect hints at all if setCarsten Haitzler (Rasterman)2020-04-062-39/+20
| | | | | | | | | | | | | | 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"
* 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