summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* TESTING ONLYdevs/stefan/testsuite-enhancementsStefan Schmidt2020-03-271-12/+0
|
* ci: enable ecore_con IPv6 testsStefan Schmidt2020-03-271-2/+3
| | | | | We have them behind an env variable as this is system specific. Enable them on CI to fully test these paths as well.
* copying: remove obsolete items from copying that dont exist anymoreCarsten Haitzler (Rasterman)2020-03-261-2/+0
|
* eina: prefetch for _eo_obj_pointer_getMarcel Hollerbach2020-03-261-3/+6
| | | | | | | | | | Reviewers: raster, stefan_schmidt Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11603
* fix segfault when there is no text in clipboardVincent Torri2020-03-261-12/+18
| | | | | | | | | | | | | | Test Plan: cnp a clipboard content without text Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11565
* doxygen docs: Fix warnings in elm_config.hXavi Artigas2020-03-262-9/+11
|
* doxygen docs: Fix warnings in Ecore_Common.hXavi Artigas2020-03-263-7/+11
|
* doxygen docs: Fix several warnings in Eina filesXavi Artigas2020-03-2611-26/+26
|
* eo: move all call assignmentMarcel Hollerbach2020-03-261-3/+2
| | | | | | | | this improves the cache performance a lot. Caches are only invalidated once, and not multiple times. Reviewed-by: Carsten Haitzler (Rasterman) <rasterman.com> Differential Revision: https://phab.enlightenment.org/D11592
* eo: there is no reason to equip for calls to classesMarcel Hollerbach2020-03-261-49/+15
| | | | | | | | | | | calls to classes are not needed anymore, since class inheritance is not a thing anymore. After removing is_obj from the function the compile can optimize the code better, since assignments to fields are not conditionally anymore. Reviewed-by: Carsten Haitzler (Rasterman) <rasterman.com> Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11591
* evas_textblock: prevent updating cursor unless they are ready during markup_setAli2020-03-262-6/+23
| | | | | | | | | | | | | | | | | | | Summary: During Markup_set at text block level, we will not update the cursors, unless their status is updated and ready. This can cause serious issues, especially if a cursor also depends on another cursor for some calculations, (like the segfault happening in TextBox T8637) Reviewers: woohyun, bu5hm4n, zmike Reviewed By: woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8637 Differential Revision: https://phab.enlightenment.org/D11598
* efl_ui_spin_button: add tests for direct input featureMarcel Hollerbach2020-03-251-0/+55
| | | | | | | | this simply passes in some key sequences and checks if the validation is working. Additionally the output value is checked. Depends on D11009 Differential Revision: https://phab.enlightenment.org/D11010
* suite_helpers: add helper for key down eventsMarcel Hollerbach2020-03-252-0/+16
| | | | usefull for emulating key events.
* suite_helper: do not use stacked values hereMarcel Hollerbach2020-03-251-1/+1
| | | | | | | this is ending up beeing garbage pointers when not properly overwritten. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11597
* evas_textblock_tests: do not free a text cursor hereMarcel Hollerbach2020-03-251-1/+1
| | | | | | | | | the cur_obj would have been always dead at this point, as the textblock was freed. This now moved the textcursor object to a previous point. However, we could also remove the explicit cursor deletion... Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11596
* efl_check: unset the callback hereMarcel Hollerbach2020-03-251-0/+1
| | | | | | | | | | this is needed in order to not accidently overwrite stack values. This never showed up while running the test suite, as erroring would have aborted anyways. However, when we are running with CK_FORK=no, this may leak into another test. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11595
* evas: free font lists correctlyMarcel Hollerbach2020-03-251-0/+2
| | | | | | | | | sometimes a canvas object is zombying, and does not get freed correctly. If this is right now happening in our test suite, we are going to free the list, but do not clean up the pointer in there. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11594
* edje/multisense: track and destroy multisense inputs on shutdownMike Blumenkrantz2020-03-251-0/+6
| | | | | | | leaking these means leaking file references, and there's no reason for it Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11533
* edje/multisense: free multisense output on shutdownMike Blumenkrantz2020-03-251-2/+1
| | | | | | | this comment has now been addressed Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11532
* ecore/audio: rewrite pulseaudio output to not use global variablesMike Blumenkrantz2020-03-251-49/+76
| | | | | | | | | this breaks down immediately when calling init/shutdown in quick succession due to the async nature of pulseaudio. we have object-based private data, so we can just use that instead Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11531
* ecore/audio: correctly handle sndfile error when setting new vioMike Blumenkrantz2020-03-251-0/+4
| | | | | | | need to immediately call the free here to avoid leaking the callback data Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11530
* ecore/audio: remove duplicated vio code from sndfile inputMike Blumenkrantz2020-03-251-25/+5
| | | | | | | this is already done in the base implementation Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11529
* ecore/audio: add a couple more functions to the pulse callback structMike Blumenkrantz2020-03-252-0/+4
| | | | | | | to be used later Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11528
* ecore/audio: free vio on in/out object destructionMike Blumenkrantz2020-03-252-2/+10
| | | | | | | | ensure we don't leak these since that means we also leak the user's free data and callback Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11527
* ecore/audio: add ERR messages when trying to overwrite existing vioMike Blumenkrantz2020-03-252-2/+8
| | | | | | | this probably causes a crash or a leak at some point Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11526
* exactness: handbuild a new argv array instead of reassemling the new oneMarcel Hollerbach2020-03-252-24/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | this commit removes the code that was changing argv values, and replaces it with a new array. Which is absolutly fine, as the argv / argc values are never accessed later on. Only the copies that have been passed to efl_main or elm_main. This resolves several issues: 1. the for loop is useless, every single array element that gets initialized with it, is some offset from argv[0] this may also crash when argv[i] - argv[opt_args] is bigger strlen argv[0]. 2. The memcpy here is super dangerous, the dest array is not garanteed to have the same size as argv[0], this only works if the client application name is shorter than the name "exactness_recorder" 3. The memset here is absolutly wrong. There is again no garantee that the array has the expected size behind that, this was constantly overwriting the segment after the place where argv was stored, which was lukely enough on fedora always the environs, which deleted the couple first segments. (This was not causing any fuzz, since they have been sudo related env vars on the docker image). However, on arch this just crashed right away. On Ubuntu this overwrote DISPLAY, which resulted in the unability to launch the app. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11600
* emotion - webcam - fix segv on webcam plug/unplug and cleanCarsten Haitzler (Rasterman)2020-03-253-191/+95
| | | | | | | | | | | | | | | well hunting was fun... custom webcams i just cant see being used. no api to add them - have to hand craft a config file .. and udev/eeze provide info on webcam devices anyway at runtime with plug/unplug etc. ... so this should be the only ay (for now) and it keesp the code simpler and less bug-prone now issue was some nasty skipping unref as opposed to destroy. in chasing i simplified the code to help me narrow it down and not chase the same logic in multiple places. shorter cleaere, simpler and minux one bug. @fix
* evas/render: minor cleanups for norender functionsMike Blumenkrantz2020-03-251-11/+1
| | | | | | | | | | | | | | | | | | | Summary: evas_norender cannot produce update regions, so there's nothing to free remove commented lines no functional changes Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11584
* ecore_cocoa: remove left over from evas3d removalStefan Schmidt2020-03-251-2/+0
| | | | These directories do not exist any longer. Failing build on CI.
* canvas 3d: remove all canvas3d features across efl.Hermet Park2020-03-25118-36960/+9
| | | | | | | | | | Reviewers: jsuya, kimcinoo, bu5hm4n, raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11552
* efl_ui_image: keep efl_ui_image size for internal imageShinwoo Kim2020-03-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: The size of internal image could be bigger than the size of efl_ui_image with following code. image = elm_image_add elm_image_fill_outside_set(image, EINA_TRUE); If the internal image object is 300x300, and efl_ui_image is 360x77, then the internal image object will resize to 360x360 which is bigger than the size of efl_ui_image. This is a compatibility issue. This patch will make efl_ui_image work as before commit 8cb6c3e Elm_image: implement 'scale_type' and 'scalable'... Test Plan: This is old example to reproduce the problem. {F3859361} This is newly added example to check if this patch breaks compatibility or not. {F3859390} You can use the example with following image. {F3859391} This is result before applying this patch. {F3859388} This is result after applying this patch. {F3859389} The translucent rectangle is the size of the efl_ui_image. As you might be noticed, only FIT_WIDTH (the 4th one of each row), and EXPAND (the 6th one of each row) are different. One more difference the 1st one of 2nd row; NONE. F.Y.I. and for quick understanding of example. The 1st row efl_ui_image is bigger than internal image. The 2nd row efl_ui_image is smaller than internal image. From the left the scale type is NONE, FILL, FIT, FIT_WIDTH, FIT_HEIGHT, EXPAND, and TILE. Reviewers: Hermet, jsuya, herb Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11587
* efl/mailmap: Move unused addresses to the bottom of listChristopher Michael2020-03-241-4/+4
|
* Revert "efl/mailmap: Remove old unused addresses"Christopher Michael2020-03-241-0/+5
| | | | | | Revert these in favor of reorder so we can keep history This reverts commit 94a80803558a682e78b53e190b23c32b54200c65.
* efl/mailmap: Remove old unused addressesChristopher Michael2020-03-241-5/+0
|
* eo: free vtable when erroring outMarcel Hollerbach2020-03-241-0/+1
| | | | | | | | | | if there is a error when settings API to the vtable, free the vtable instead of leaking it. CID 1422015 Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11580
* eo: do not check this hereMarcel Hollerbach2020-03-241-3/+2
| | | | | | | | | | | as coverity points out, _obj_is_override is already dereferencing obj->opt so this was the wrong spot to check this. CID 1422014 CID 1422013 Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11579
* eo: fix wrong formattingMarcel Hollerbach2020-03-241-1/+1
| | | | | | | | no functional changes. Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11578
* eo: only really copy when there is contentMarcel Hollerbach2020-03-241-1/+4
| | | | | | | | | otherwise we are allocating a 0 sized memory element, which is pointless. ASAN would report a 0 sized allocated but not freed element as a leak. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11577
* eo: correctly flag allocated memoryMarcel Hollerbach2020-03-241-0/+2
| | | | | | | | | | | | | sometimes there is the chance that we need to allocate memory depending on the functions that are defined, not on the types that are available. However, even if this should only happen in error cases and on mixins, we should ensure that this is all correctly freed flagged. Due to the correct flagging here, we are not copying the memory later on in a wrong way. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11576
* eo: do no allocate a 0 sized segmentMarcel Hollerbach2020-03-241-2/+5
| | | | | | | | | allocating 0 sized elements here is pointless. This here was doing that, so ensure that we are only allocating vtable nodes that have more than 0 function pointers. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11575
* eo: do not NULL out the object itselfMarcel Hollerbach2020-03-241-4/+7
| | | | | | | | otherwise we would not free it in the next run over the vtable. Which would result in a leak. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11574
* eo: do not null out the vtable chain of your own classesMarcel Hollerbach2020-03-241-0/+2
| | | | | | | | | | the free methods here accidently took the top of the mro into account, which is the class itself, which NULLed out the wrong classes. After this, we are finally freeing the mixin vtables. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11573
* edje_cc: free ecore_evasMarcel Hollerbach2020-03-241-0/+1
| | | | | | | | | | | we have initialized it, we should shutdown it. This was we are not getting random vtable allocation leak reports in the asan job anymore. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Reviewed-by: Chris Michael <cp.michael@samsung.com> Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11572
* eo: do not allocate too much memoryMarcel Hollerbach2020-03-241-3/+15
| | | | | | | | | when handoverwriting function on a object, only existing API can be overwritten, but not newer ones. Thats why its enough to pass the size of the klass, and not the size of the globally defined classes. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11571
* tests/elm: add strict test to verify elm image gif supportMike Blumenkrantz2020-03-241-0/+49
| | | | | | | | | | | | | | Summary: Depends on D11583 Reviewers: kimcinoo, Hermet, raster, cedric, bu5hm4n Reviewed By: bu5hm4n Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11484
* tests/elm: use norender_with_updatesMike Blumenkrantz2020-03-241-1/+1
| | | | | | | | | | | | | | Summary: Depends on D11582 Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11583
* evas: add function for norendering with updatesMike Blumenkrantz2020-03-242-0/+32
| | | | | | | | | | | | | | | | Summary: the same as norender, but useful Depends on D11581 Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11582
* evas/render: produce update regions when do_draw isn't set but make_updates isMike Blumenkrantz2020-03-241-6/+36
| | | | | | | | | | | | | | Summary: this is a valid combination of parameters that should be handled Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11581
* eo - fix err path for eo_isa to unlock shared objectsCarsten Haitzler (Rasterman)2020-03-241-1/+2
| | | | fix CID 1363294
* doxygen docs: Fix warnings in Ecore_Wl2.h and associatesXavi Artigas2020-03-242-13/+12
|