summaryrefslogtreecommitdiff
path: root/src/lib (follow)
AgeCommit message (Collapse)Author
2015-01-21warning--Daniel Zaoui
2015-01-21eet: properly handle failure and success case by not leaking memory.Cedric BAIL
CID 1265601.
2015-01-21Evas masking: Fix major memory leakJean-Philippe Andre
The memory usage graph was going up and to the right! I was told this is always a good thing! ... maybe not this time :) Hopefully I didn't forget a case. An intense session of genlist scrolling with masks all over the place and masks of masks didn't show any glitch, crash or memory leak.
2015-01-21Evas masking: Try to reduce memory footprint a littleJean-Philippe Andre
Move some mask object pointers around to spare a few bytes of memory. Fixes T2025.
2015-01-20ecore-wl needs to also set xdg props again on showMike Blumenkrantz
fix T1819
2015-01-20ecore: lower priority of some intrusive logs.Vasyl Vavrychuk
Summary: After fixed logging to journald there is lots of prints like Jan 15 16:04:21 localhost system_server[1017]: enter idling=1 fds=1 events=0 timers=0 (next=17.14) idlers=0 Jan 15 16:04:21 localhost system_server[1017]: leave, timeout = 0 Change-Id: Id26e37a55ddaad36094308ac7fd09767cf659c04 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@globallogic.com> Reviewers: cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1875 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-01-20evas: reduce potential memory hole in Evas_Object_Protected_State.Cedric BAIL
The main difference between 1.12 and 1.13 memory foot print is actually related to this two pointer to mask. I am wondering if there is not an issue here also has we do have a duplicated pointer. We have prev_mask and mask in both cur and prev state of an Evas_Object, but only mask and prev_mask from the cur state seems to be accessed. If we can remove two pointers from those state, we should have a decent win in expedite benchmark. Hopefully 300KB to win there (Close to half the additional cost in memory).
2015-01-20evas: reorder structure to avoid structural hole.Cedric BAIL
2015-01-19Revert "ecore-drm: Don't init tty unless we are Not using systemd"Chris Michael
This reverts commit 28e4901d041e087f505c19bc9733ef22d31addf0. This broke vt switching in drm so revert (for now) until we get the systemd vt and setup handlers
2015-01-19ecore-drm: Don't init tty unless we are Not using systemdChris Michael
Summary: It turns out we don't need to handle open & setup of the tty unless we are Not using systemd. This fixes an issue during enlightenment restart where we are unable to reopen the tty. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-19ecore-drm: Reset output cursor and crtc mode on shutdownChris Michael
Summary: When we shutdown outputs, we should reset the hardware cursor state and the saved crtc mode in order to reset things back to normal. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-19ecore-drm: Restore tty keyboard mode on restore of ttyChris Michael
Summary: When we are shutting down a tty, restore the old keyboard mode that we retain from tty_setup. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-19Revert "eet: fix memory leak in eet_cipher"Cedric BAIL
This reverts commit d25d56758c735cdf5760278f8a97e9c6b8ec7355. That patch was leading to double. Thanks ami for finding it.
2015-01-16ecore-wayland: Don't crash if we have no input->cursor_nameChris Michael
Summary: If we are using a touchscreen, there will be no pointer and thus no cursor_name to use. Trap for that case by checking if input->cursor_name is valid. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-16Evas masking: Fix precise_is_inside for masked smart objectsJean-Philippe Andre
The flag should be set on the mask itself. Checking for (x,y) being inside the mask can be an expensive operation, so further optimization will be required.
2015-01-14edje: Edje_Edit - fix memory leak in edje_edit_image_usage_list_getAndrii Kroitor
Summary: freeing iterator when necessary @fix Reviewers: Hermet, seoz, cedric Reviewed By: cedric Subscribers: cedric, reutskiy.v.v Differential Revision: https://phab.enlightenment.org/D1868 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-01-14eina mmap safety handler - fix on systems without some sibgus typesCarsten Haitzler (Rasterman)
this fixes 615456aae8c309d0e82c6b549d17a7109554a4f6 to compile on systems without MCERR sigbus types.
2015-01-14eet - one place endianess check wasn't explicit - cleaner code if it isCarsten Haitzler (Rasterman)
this MAY be a bugfix, but i can't see how after checking the code, but to keep it conistent and less likely to grow a bug... do this.
2015-01-14eet - boyscouting - clean up whitespacesCarsten Haitzler (Rasterman)
2015-01-14eet - image decode - fix robustness of image decode from eet fileCarsten Haitzler (Rasterman)
there are possible security implications by not checking values of size fields to see if they are within the data range AND are not 0 or negative. so do this. @fix
2015-01-14Eee image: fix macros to be surrounded with do while().Tom Hacohen
Macros should be surrounded with do {} while() statements, otherwise there can be issues, like the macro not requiring a semicolon after the statement or etc. @fix
2015-01-13ecore-drm: Re-enable setting K_OFF keyboard modeChris Michael
Summary: Now that things are shaping up, we can re-enable the K_OFF tty mode which will help with buffering input, etc. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-13ecore-wayland: Fix issue with Elementary DnD test not releasing mouseChris Michael
Summary: When we do an input_ungrab, we should be sending a mouse up event so that apps/elm/etc know that the mouse has been released. This fixes an issue in the Elm Features DnD test report by Daniel Zaoui @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-13ecore-wayland: Don't set move cursor unless we actually start a dragChris Michael
Summary: We should not be setting a 'move' cursor unless we actually make the call to start a drag @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-13ecore-drm: Limit mouse movement to within the output sizeChris Michael
Summary: This patch adds support to limit the mouse from moving outside the output dimensions, and fixes coordinate transformation calls to use the Output from the Input device @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-13ecore-drm: Remove call to unused functionChris Michael
Summary: This just removes the call to the no longer used/needed function to update the input device's view of the output. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-13ecore-drm: Remove unused functionChris Michael
Summary: Since we now have a reference to the actual output inside the input device, we no longer need this function to update the Input device's view of the output size. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-13ecore-drm: Add actual Outut to the Input device structureChris Michael
Summary: This adds an actual Ecore_Drm_Output pointer to the Ecore_Drm_Evdev structure so we can check the output size to limit mouse corrdinates. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-13eina: fix eina_log with journald.Vasyl Vavrychuk
Summary: Nothing was printed to journald before because sd_journal_send_with_location expects file and line to be of the NAME=VALUE form. Change-Id: I382b82b665558fddebae61b7d0a8d4de87638511 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@globallogic.com> Reviewers: kuri, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1865 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-01-13eina - mmap safety handler - fix to only handle sigbus's from ioCarsten Haitzler (Rasterman)
@fix this fixes the eina mmap safety handler to only handle what comes from actual i/o errors (not actual corrupt/hw memory faults or invalid objects), and if it's not a sigbus eina mmap should handle then pass it onto the previous handler before eina mmap took over.
2015-01-12edje: Remove dead codeChris Michael
Summary: This removes the commented out dead code block from 9cdb8aaf9bec83a0e0879c04f66408f6326fa2b2 @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-12Eo: use int for _eo_init_count intsead of Eina_BoolNicolas Aguirre
2015-01-12Eo base class: Fix compliation.Tom Hacohen
@inout also used to affect the type generated. Compile check even the simplest changes.
2015-01-12Eo base: Remove @inout usage.Tom Hacohen
First step towards deprecation of @inout.
2015-01-12Ecore: add EAPI to retrieve Ecore_Evas parent of a buffer.Daniel Zaoui
2015-01-11Eo: add function name to the eo_do pre and post hooks.Daniel Zaoui
This is useful to determine the Eolian class/function.
2015-01-09edje: Fix Coverity CID1261437Chris Michael
Summary: Coverity reports idential code for different branches here. Not sure WHY that was done, but I commented out the existing if statement for posterity. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-09evas: Fix unintentional integer overflowChris Michael
Summary: This fixes CID1261436: unintentional integer overflow @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-09elocation: Mark elocation as BETA API for the upcoming 1.13 releaseStefan Schmidt
It is not ready as a public API yet. It needs to run on GeoClue1 and GeoClue2 which will definitely bring API changes as some parts are tied to mcuh to what GeoClue1 offers right now.
2015-01-08eo: Fix bad addressing in _eo_classes arrayAvi Levin
The header.id was masked before using it as index in the _eo_classes array and was not unmasked when used. It hasn't caused segfault (by sheer luck) but was wrong. @fix
2015-01-08eina: all Eina_Stringshare printf variant now return empty string as expected.Cedric BAIL
Previously Eina_Stringshare printf variant where returning NULL with ("%s", ""). This is highly disturbing as you would have gotten "(null)", if you asked for ("s", NULL). To clarify and make things logical, we now return "".
2015-01-08eina: fix memory leaks in eina_stringshare_printf/vprintf functions.Amitesh Singh
Summary: @Fix Test Plan: CK_FORK=no valgrind --leak-check=full {UNIT_TEST_PROGRAM} "String Share" Reviewers: cedric, seoz, Hermet, raster Subscribers: cedric, seoz Differential Revision: https://phab.enlightenment.org/D1857
2015-01-08evas:fix markup text length issueJae Yong Hwang
Summary: There was no conversion to the double quotation mark in the evas_textblock_text_utf8_to_markup function. The price of the text coming out to API and text coming out to Textblock was different as a result. As a result, Two text lengths came out differently. So, I added the exceptional treatment part in the evas_textblock_text_utf8_to_markup function. @fix Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1853
2015-01-08[Evas, Edje] Adding of new structuresperepelits.m
Summary: There will be several methods to set orientation in edc, so we have decided to make one big vector, the main reason is that we use quaternion by default, but look_at, for example, is given as 6 coordinates. Reviewers: Hermet, cedric, raster Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1693
2015-01-07ecore: fix compilation, missing return value in ecore_thread_waitJérémy Zurcher
@fix ecore_thread_wait return EINA_TRUE if execution is over or thread is NULL
2015-01-07ecore-wayland: Simplify opaque and input region handling.Chris Michael
Summary: We can make opaque and input region handling simplier if we just use one opaque & input region per window. Previous code would always create a new region, set it to the surface, then destroy it. This code works much nicer in that it hammers the protocol with less region create/destroy calls. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-07eio: forcefully wait on shutdown for all thread to stop.Cedric BAIL
This should avoid potential crash during shutdown while some Eio thread were still running. We are still not blocking for more than 30s, so if an IO is blocked on a dead device, you should be fine.
2015-01-07ecore: add ecore_thread_wait and necessary infrastructure.Cedric BAIL
This enable the possibility to block the main loop until a specific thread is done. It may trigger still process ending of other thread during that function call, but not any other type of event (timer, animator, idler, ... are all ignored).
2015-01-07evas textgrid - fix drawing of codepoints that are 0Carsten Haitzler (Rasterman)
this fixes artifacts if you have cells with 0 codepoints and also have underlines or strikethroughs in them. @fix
2015-01-07evas map aa - match previous fix.Carsten Haitzler (Rasterman)
this matches 83eb1aa3c2e15568c89546048d72d7cae071ee42 fix in the other map render func