Chris Michael [Wed, 4 Dec 2013 11:29:32 +0000 (11:29 +0000)]
Update the engine resize edge before we call ecore_wl_window_resize
Ecore_wl_window_resize essentially tells the shell to start the resize
process. We should have the evas engine info's resize_edge updated
Before we start that process so that Evas knows where the resize is
occuring from
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Carsten Haitzler (Rasterman) [Wed, 4 Dec 2013 11:22:26 +0000 (20:22 +0900)]
efreet - protect efreetd from recursing too far to save overhead and mem
an errant path made its way into my efreet cache. this had a
side-effect of causing efreetd to scan my entire $HOME recursively
to monitor everything. while the original cause was $HOME getting in,
we shouldn't have efreetd sit and consume scan all of $HOME when this
is far from a normal situation. the recursive scanning is there ot
handle some minimal levels of subdirs in app directories, but not an
entire filesystem, so this mitigates the effects of errant cache data
by limiting the amount of recursion allows for icon dirs and desktop
dirs to 8 and 3 levels respectively.
Carsten Haitzler (Rasterman) [Wed, 4 Dec 2013 11:20:20 +0000 (20:20 +0900)]
yet another useless images.mk change...
Daniel Juyung Seo [Wed, 4 Dec 2013 10:43:26 +0000 (19:43 +0900)]
ecore ecore_glib.c: fixed documentation about glib integration always configure option.
--enable-glib-integration-always was changed to --with-glib=always in efl 1.8.
Cedric Bail [Wed, 4 Dec 2013 10:05:03 +0000 (19:05 +0900)]
eina: improve cmp function of eina_hash string related hash.
For strings, we already know the length, so let's just not call the
heavy strcmp if the length is not already the same. Get some easy
speedup here.
Cedric Bail [Wed, 4 Dec 2013 10:04:24 +0000 (19:04 +0900)]
eina: fuzze test the eina_hash_string_superfast to.
Cedric Bail [Wed, 4 Dec 2013 09:32:29 +0000 (18:32 +0900)]
eina: ignore benchmark binary.
Cedric Bail [Wed, 4 Dec 2013 09:29:07 +0000 (18:29 +0900)]
eina: increase hash matching inside of Eina_Hash.
This is the correct implementation of the idea developped in Lucas De Marchi's blog :
http://www.politreco.com/2013/09/optimizing-hash-table-with-kmod-as-testbed/
This give an interesting +15% for all Eina_Hash user whatever hash function they use. The inlined
djb2 is still the fastest one and all other give very close result. It does increase memory foot
print, but as much as the previous way of doing it.
Cedric Bail [Wed, 4 Dec 2013 08:53:34 +0000 (17:53 +0900)]
Revert "eina: work around current strange behavior seen in eina_cow."
This reverts commit
e4107b2936e2a11e5966bbdc591f110156191af0.
Cedric Bail [Wed, 4 Dec 2013 08:53:28 +0000 (17:53 +0900)]
Revert "eina: more work around to limit problem."
This reverts commit
c5db264e0a98234d32553ec1b43e612e0da1eeb3.
Cedric Bail [Wed, 4 Dec 2013 08:24:30 +0000 (17:24 +0900)]
Revert "eina: check if the complete hash match before checking if the key match during children walk."
This reverts commit
295babadb1675d1160b18c639dd6dcbe20b02cfb.
The implementation of that said optimization is actually wrong.
Cedric Bail [Wed, 4 Dec 2013 08:21:47 +0000 (17:21 +0900)]
eina: add fuzzy test of eina_hash.
Cedric Bail [Wed, 4 Dec 2013 08:10:47 +0000 (17:10 +0900)]
evas: fix loader to properly define _XOPEN_SOURCE for Solaris.
Sebastian Dransfeld [Wed, 4 Dec 2013 08:03:56 +0000 (09:03 +0100)]
efreet: Create stack at start of recursion
No need to check for NULL stack, we know where we start our recursive
scan, so create the stack there.
Also fixes CID1132751 and CID1132752
Sebastian Dransfeld [Wed, 4 Dec 2013 07:36:46 +0000 (08:36 +0100)]
efreet: Create stack at start of recursion
No need to check for NULL stack, we know where we start our recursive
scan, so create the stack there.
Cedric Bail [Wed, 4 Dec 2013 07:31:49 +0000 (16:31 +0900)]
eina: more work around to limit problem.
Cedric Bail [Wed, 4 Dec 2013 06:36:17 +0000 (15:36 +0900)]
eina: work around current strange behavior seen in eina_cow.
This is not perfect, it will just limit the propagation of the problem
for some time. Yes, it does hide it under the carpet, but that's better
than having a crash. Problem seems to be in Eina_Hash, but is really
difficult to reproduce and fix for the moment.
Cedric Bail [Wed, 4 Dec 2013 06:20:17 +0000 (15:20 +0900)]
eina: add fuzzy testing of the red black tree.
ChunEon Park [Tue, 3 Dec 2013 16:04:21 +0000 (01:04 +0900)]
evas/event - fix the inccorect event hit area.
cedriccccccccccccccccccccccccccc!!!!!!!!!!!!!!!!!!
Cedric Bail [Tue, 3 Dec 2013 07:23:05 +0000 (16:23 +0900)]
evas: bugfix in evas_render of not maintaining changed flags on object correctly.
This bug is particularly visible in EFM video preview ( T 539 ). The problem is
that the logic for changed has evolved over time. At the beginning Evas canvas
was flat and could be handle in an array. It was then not using the changed flag
that much. This day, we are living with a tree and we need to propagate the
changed flag to the parent, so that when we walk them we only need to walk the
active objects and don't spend our time on branch that are completely static.
Sadly things did collide here. We remove all object that have been rendered
from the pending_objects array. That does include any smart object that was
processed even if one of the child was not. Once any of the child of that not
processed object is marked changed, it will be propagated up to the first
parent that is changed. As the parent of that one are marked as not changed
when evas_render walk the tree, he is blocked really early in the process and
never get a chance to detect that the child of a not changed object did change
and tada !
The fix is to add all the parent of all the object that are in the pending_objects
array back into the pending_objects list. So they will always be marked as changed.
Another alternative to this logic would have been to change pending_change to
filter out those and keep them around. I choose the first solution as I think it
will be more robust to catch all the parent in all case.
Cedric Bail [Tue, 3 Dec 2013 02:48:48 +0000 (11:48 +0900)]
gitignore: ignore new async test.
Jihoon Kim [Tue, 3 Dec 2013 04:32:15 +0000 (13:32 +0900)]
ximmodule: check whether pointer is NULL before accessing in xim_preedit_callback_set
ecore_imf_context_data_get () can return NULL, so it should be checked before using the result value.
This fixes CID 1135273
Rafael Antognolli [Mon, 2 Dec 2013 20:05:05 +0000 (18:05 -0200)]
Merge branch 'withdrawn'
Implement withdrawn_set/unset on Wayland engines. It basically calls
ecore_evas_show/hide. Some fixes were done to show/hide on both EGL and
SHM backends too.
This set of patches should fix T155.
Rafael Antognolli [Mon, 2 Dec 2013 19:39:24 +0000 (17:39 -0200)]
ecore_evas/wayland: Add a function to cleanup the frame callback.
This callback must be manually destroyed and removed on
ecore_evas_hide(), because it won't be delivered anymore after the
surface is destroyed. If the callback still exists, the engine will find
it and avoid doing a new redraw until it is finally called.
Maybe the correct thing to do is to keep this callback in the
Ecore_Wl_Window struct, and have some functions to set/unset it, so it
gets destroyed when the window is hidden. Or when the surface is
destroyed.
Rafael Antognolli [Mon, 2 Dec 2013 19:42:37 +0000 (17:42 -0200)]
ecore_evas/wayland_egl: Unset the surface on window hide.
We must unset it, so the Evas engine knows that it has to do all the
setup to destroy the EGL surfaces associated with it. And in the case of
an ecore_evas_show, recreate everything again.
Rafael Antognolli [Sat, 30 Nov 2013 12:14:05 +0000 (10:14 -0200)]
ecore_evas/wayland: Implement ecore_evas_withdrawn_set.
Just call ecore_evas_show/hide inside the function.
Rafael Antognolli [Sat, 30 Nov 2013 12:09:38 +0000 (10:09 -0200)]
evas/wayland_shm: Don't use a global var to store the sent buffer.
When an Ecore_Evas is hidden, it will destroy the buffer swapper. When
it's shown again, it will try to attach a new buffer, that can be same
buffer. If that global var is still pointing to the old buffer, it can
match to it again and avoid sending a new buffer. So, just put this sent
buffer var in the buffer swapper, and it will get set to NULL when the
swapper is destroyed and created again.
This should fix an intermitent problem of ecore_evas_show() not always
working after an ecore_evas_hide() on the wayland_shm engine.
Seong-ho Cho [Mon, 2 Dec 2013 10:15:21 +0000 (19:15 +0900)]
Update Korean translation for the efl1.8 release
Summary: Translation patch for the efl 1.8. of course, existing one has no problem, but some of sentence structure is enhanced.
Reviewers: seoz
CC: seoz, cedric
Differential Revision: https://phab.enlightenment.org/D360
Carsten Haitzler (Rasterman) [Mon, 2 Dec 2013 07:33:34 +0000 (16:33 +0900)]
NEON vectorization: added use of COLSAME define in map routine
Reviewers: raster
Reviewed By: raster
CC: cedric
Differential Revision: https://phab.enlightenment.org/D341
Daniel Juyung Seo [Mon, 2 Dec 2013 07:02:23 +0000 (16:02 +0900)]
Revert "fix smart sma by allowing more recursion"
This reverts commit
1319733caeb811cd0d53b589b8a11f4229455ed3.
Let's revert this patch and lower the recursion number.
As we released efl 1.8, let's find the root causes of the problem and fix them.
I already told this revert to raster so I am not mean :)
Otavio Pontes [Mon, 2 Dec 2013 05:59:43 +0000 (14:59 +0900)]
Adding the cubic-bezier curve to edje transitions
Summary: Adding an option to use a cubic-bezier curve in edje transitions.
Reviewers: Sachiel, cedric, raster
Reviewed By: raster
CC: raster
Differential Revision: https://phab.enlightenment.org/D319
Carsten Haitzler (Rasterman) [Mon, 2 Dec 2013 05:57:07 +0000 (14:57 +0900)]
Eldbus: added function for getting bus unique name
Summary:
Hello guys,
We are now working on a accessibility support for elementary (ATSPI2) and we need following function to correctly register application.
Reviewers: cedric, raster, lucasdemarchi
Reviewed By: raster
Differential Revision: https://phab.enlightenment.org/D327
Vyacheslav Reutskiy [Mon, 2 Dec 2013 05:54:28 +0000 (14:54 +0900)]
edje_edit: Add getters and setters for fixed param
Reviewers: cedric, seoz, raster
Reviewed By: raster
CC: cedric
Differential Revision: https://phab.enlightenment.org/D339
Carsten Haitzler (Rasterman) [Mon, 2 Dec 2013 03:28:12 +0000 (12:28 +0900)]
FUCK - remove logic to silently add -release names to libtool builds
sneaky hidden m4 rule to ADD -release to shared lib names IF profile
!= dev profile. come on! why do that? seriously. this snuck in and was
undetected because i recompiled things against efl and thus things
linked against the new releasename libs. this requires an efl 1.8.1.
argh!
Daniel Juyung Seo [Mon, 2 Dec 2013 03:40:56 +0000 (12:40 +0900)]
ecore ecore_x_e: check 0 and -1 for ecore_x_window_prop_card32_get() return value which mean fail.
- ecore_x_window_prop_card32_get() returns:
-1 if the property was not successfully fetched.
0 if the property exists but has no elements.
Daniel Juyung Seo [Mon, 2 Dec 2013 03:07:18 +0000 (12:07 +0900)]
NEWS: added EFL 1.9.0 NEWS entry.
Daniel Juyung Seo [Mon, 2 Dec 2013 03:07:04 +0000 (12:07 +0900)]
ChangeLog: added 1.8 release entry.
Jihoon Kim [Mon, 2 Dec 2013 00:40:48 +0000 (09:40 +0900)]
fix unchecked return value of stat in ecore_file_mv
stat() function may fail and return an error code
This fixes CID 1039697
Cedric Bail [Sun, 1 Dec 2013 11:55:54 +0000 (20:55 +0900)]
evil: use the right ifdef.
Carsten Haitzler (Rasterman) [Sun, 1 Dec 2013 10:04:31 +0000 (19:04 +0900)]
v1.8.0
Carsten Haitzler (Rasterman) [Sun, 1 Dec 2013 05:53:53 +0000 (14:53 +0900)]
readme - make requirements list a bullet list
Carsten Haitzler (Rasterman) [Sun, 1 Dec 2013 05:51:23 +0000 (14:51 +0900)]
add some README dependency notes
Carsten Haitzler (Rasterman) [Sun, 1 Dec 2013 04:52:53 +0000 (13:52 +0900)]
eina - fix set-but-unused warning in eina_cow when valgrind off
Carsten Haitzler (Rasterman) [Sun, 1 Dec 2013 04:50:54 +0000 (13:50 +0900)]
release work - switch to release profile
this now maxes out max log level to 3 (same as dev otherwise)
Carsten Haitzler (Rasterman) [Sun, 1 Dec 2013 04:26:04 +0000 (13:26 +0900)]
evas event freezing is "wrong" for core events - turn it off
this turns off event freezing for SOME event types for eveas canvas
events (was was intended to begin with). this fixes T577
Carsten Haitzler (Rasterman) [Sun, 1 Dec 2013 03:50:45 +0000 (12:50 +0900)]
evas - pre/post render events are for canvas not object
the eo event naming was wrong for pre/post render event callbacks.
they are for the canvas as a whole, not per object
Carsten Haitzler (Rasterman) [Sun, 1 Dec 2013 03:16:28 +0000 (12:16 +0900)]
fix freetype header includes to be correct where ft 2.5.1 breaks builds
this should fix T591
Boris Faure [Mon, 25 Nov 2013 22:33:51 +0000 (23:33 +0100)]
fix eina_cow issues. Closes T581, T527
Oleksandr Shcherbina [Fri, 29 Nov 2013 13:17:18 +0000 (22:17 +0900)]
ecore/ecore_file: NULL-check for input parameter
Add check by NULL for input parameter 'path' in method ecore_file_mkpath
Reviewers: seoz, Hermet
CC: cedric
Differential Revision: https://phab.enlightenment.org/D349
Sebastian Dransfeld [Fri, 29 Nov 2013 21:20:32 +0000 (22:20 +0100)]
eina: formatting
Sebastian Dransfeld [Fri, 29 Nov 2013 21:20:13 +0000 (22:20 +0100)]
efreet: add async menu test
Sebastian Dransfeld [Fri, 29 Nov 2013 21:18:51 +0000 (22:18 +0100)]
efreet: improve locking
Do find and ref inside lock, so no one can ref-- after we find desktop
Rafael Antognolli [Fri, 29 Nov 2013 20:03:25 +0000 (18:03 -0200)]
ecore/wayland: Use touch_focus for touch_based events.
Also call the mouse related events with BTN_LEFT instead of 0, otherwise
the correct button won't be assigned to the event (button 1).
Rafael Antognolli [Fri, 29 Nov 2013 18:04:18 +0000 (16:04 -0200)]
ecore/wayland: Send a mouse up event when the implicit grab starts.
The previous workaround used to send a mouse up event to the
application, using the pointer enter callback to determine when an
implicit grab has finished. This was "simulating" a mouse up event when
the surface move or resize finished.
However, this doesn't work for touch-based move. The pointer enter isn't
emitted, because the wl_touch interface doesn't have the concept of a
pointer.
Changing this code to make it more similar to what Weston's toytoolkit
does, the mouse up event is sent as soon as the move or resize grab
starts. After that, the compositor takes care of the move/resize almost
entirely.
Should fix T468.
Rafael Antognolli [Thu, 28 Nov 2013 19:53:42 +0000 (17:53 -0200)]
ecore/wayland: Get the touch up event position from the down_info.
down_info is a struct that stores some information about the current
pressed touch events. It should be used for that specific touch point,
instead of the generic input info, when sending a mouse_up event.
Rafael Antognolli [Fri, 29 Nov 2013 19:14:43 +0000 (17:14 -0200)]
ecore/wayland: Remove list of touch points from input structure.
We already have the "Ecore_Wl_Mouse_Down_Info" list, that contains this
information.
José Roberto de Souza [Fri, 29 Nov 2013 19:21:14 +0000 (17:21 -0200)]
eldbus: Fix crash caused when the object of an monitored proxy is deleted
This happen because proxy was already freed and we try print some information
about the proxy in error message.
This fix: https://phab.enlightenment.org/T543
José Roberto de Souza [Fri, 29 Nov 2013 18:39:10 +0000 (16:39 -0200)]
Revert "workaround for T543"
This reverts commit
b663b5b8c7232d38ba257f99490cfa22814d7970.
Carsten Haitzler (Rasterman) [Fri, 29 Nov 2013 15:16:17 +0000 (00:16 +0900)]
readme update - mention systemd / udev for eeze deps
Carsten Haitzler (Rasterman) [Fri, 29 Nov 2013 10:36:41 +0000 (19:36 +0900)]
v1.8.0-beta2
Chris Michael [Fri, 29 Nov 2013 10:35:46 +0000 (10:35 +0000)]
Fix some typos/grammar issues in new README
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Carsten Haitzler (Rasterman) [Fri, 29 Nov 2013 08:36:13 +0000 (17:36 +0900)]
update images.mk
Carsten Haitzler (Rasterman) [Fri, 29 Nov 2013 08:31:33 +0000 (17:31 +0900)]
readme - update readme for efl 1.8
lots of extra documentation and information now in the README
Stanislav Vorobiov [Thu, 28 Nov 2013 09:18:16 +0000 (18:18 +0900)]
evas - fix gl egl textrue from pixmap support y invert query extension
Instead of hardcoding yinvert=1 we should query for
EGL_NOK_texture_from_pixmap extension and if it's present
use EGL_Y_INVERTED_NOK value
Jean-Philippe Andre [Fri, 29 Nov 2013 02:45:19 +0000 (11:45 +0900)]
evas/cserve2: Fix interrupt on select in edje_cc
Summary:
Block SIGCHLD during select().
This fixes a bug with edje_cc when EVAS_CSERVE2=1: Fixes T464.
select() used to return prematurately with EINTR because the
app received some unexpected signals. In particular SIGCHLD
is received when a child terminates, but this is not a reason
to cancel the image load.
In theory, all blocked signals in pselect() should be pending
until pselect returns, so any SIGCHLD should still trigger
the app's signal handler.
Reviewers: cedric
CC: raster, cedric
Maniphest Tasks: T464
Differential Revision: https://phab.enlightenment.org/D357
Cedric Bail [Fri, 29 Nov 2013 06:32:27 +0000 (15:32 +0900)]
evas: roundup the step size of an array to fit in one page of memory.
This make an array stay in 4K instead of 20K before. It should reduce a little
bit our peak memory usage without slowing down things to much.
Cedric Bail [Fri, 29 Nov 2013 06:30:32 +0000 (15:30 +0900)]
eina: fix rounding logic to avoid making the array to short.
I have no idea how the previous formula was supposed to work at all, but
this one is the same as our alignof code to make sure we do allocate to
the really nearest size and don't do over allocation. Additionnaly it works.
Jihoon Kim [Fri, 29 Nov 2013 04:53:47 +0000 (13:53 +0900)]
ecore_evas: fix wrong check in _ecore_evas_buffer_msg_send
'if (!child_ee)' implies that "child_ee" is equal to NULL, but
child_ee is used in the nest of if statement.
This fixes CID 1039431
Jihoon Kim [Fri, 29 Nov 2013 02:35:44 +0000 (11:35 +0900)]
xim immodule: fix dereference before NULL check issue in client_window_set
The variable 'info' can be NULL, therefore it should be checked before accessing.
This fixes CID 1039640
Jihoon Kim [Fri, 29 Nov 2013 02:23:29 +0000 (11:23 +0900)]
ibusimmodule: check whether pointer is NULL or not before accessing.
The pointer variable str can be NULL, therefore we should check whether it is NULL or not
before accessing.
This fixes CID 1132621, 1132622, 1132623
Jerome Pinot [Thu, 28 Nov 2013 13:15:37 +0000 (22:15 +0900)]
doc: add missing images
The edje-nested.{png,eps} files were missing in the doc tree. I
regenerated them using the sample code from tutorial_edje_nested.html
ChunEon Park [Thu, 28 Nov 2013 12:24:11 +0000 (21:24 +0900)]
evas - code refactoring.
put the frequently used compare prior to the other.
Carsten Haitzler (Rasterman) [Thu, 28 Nov 2013 09:00:25 +0000 (18:00 +0900)]
fix eina_array_remove to actually realloc down in size to remove bloat
eina_array_remove() didnt ever realloc down unless we went to 0
members. this wasn't very good as you'd expect the array to be reduced
in size if enough items were removed. not only that the old code was
stupid and ALWAYS malloc()ed a new array of the exact same size and
copied items over in the most complex way possible, then freed the old
one. this would have added overhead wherever used (evas_render) that
should not have been there.
this is based on the idea in a patch from
Viacheslav Lvov <v.lvov@samsung.com>, but this is a re-do of it
entirely, reducing the codebase massively even compared to the patch
and making it much simpler to read, maintain, actually reduce memory
and cut overhead.
Cedric Bail [Thu, 28 Nov 2013 08:17:09 +0000 (17:17 +0900)]
ecore_ipc: prevent a double free.
According to clang static analyzer it is possible to find a path where
buf and svr->buf are pointing to the same array, better be safe than sorry.
Arguably this code could be more readable if it was using Eina_Binbuf.
Cedric Bail [Thu, 28 Nov 2013 08:04:32 +0000 (17:04 +0900)]
evas: this value is never read after that point, simplify logic.
This has been spotted by clang static analyzer.
Cedric Bail [Thu, 28 Nov 2013 08:00:35 +0000 (17:00 +0900)]
evas: simplify logic for better readability.
This also should solve some complain from clang static analyzer.
Cedric Bail [Thu, 28 Nov 2013 07:55:24 +0000 (16:55 +0900)]
edje: make sure there is an initial value to avoid garbage out.
Detected by clang static analyzer.
Cedric Bail [Thu, 28 Nov 2013 07:36:21 +0000 (16:36 +0900)]
ecore_con: remove unecessary code.
Cedric Bail [Thu, 28 Nov 2013 07:32:29 +0000 (16:32 +0900)]
edje: correctly setup PATH and install Edje file as they are needed by examples.
This will fix T61.
ChunEon Park [Thu, 28 Nov 2013 05:03:05 +0000 (14:03 +0900)]
evas/line - fix the line position set problem.
If the line goes to the 0, 0 then it won't be updated. Now it's fixed.
Daniel Juyung Seo [Wed, 27 Nov 2013 12:43:06 +0000 (21:43 +0900)]
ecore ecore_x_e: initialize local variable to avoid having wrong value.
Thanks to devilhorns!
Carsten Haitzler (Rasterman) [Wed, 27 Nov 2013 10:45:29 +0000 (19:45 +0900)]
recursive monitoring and scanning fix for icons and desktop files
this fixes T580 ... or SHOULD fix it. there is recursion detection
code now and it properly follows symlinks and dirs. it also properly
updates the file monitor tree for both icons and desktops and it only
monitors dirs, not files (as a dir picks up changes to child data).
tested and it seems not to recurse into self-referencing symlinks
(once it detects the loop) and detects changes nicely in all my tests.
Cedric Bail [Wed, 27 Nov 2013 05:30:03 +0000 (14:30 +0900)]
ecore_con: fix unitialized use of buffer from strncpy.
Fix CID 1039725.
Cedric Bail [Wed, 27 Nov 2013 05:27:00 +0000 (14:27 +0900)]
ecore_con: fix non initialized use of buf with strncpy.
This fix CID 1039723.
Cedric Bail [Wed, 27 Nov 2013 04:45:50 +0000 (13:45 +0900)]
evas: add missing define for some target.
Cedric Bail [Wed, 27 Nov 2013 02:06:56 +0000 (11:06 +0900)]
Revert "Revert "evas: allow fuzziness on the texture format returned by GL.""
This reverts commit
87385b05c3117aa8d46fd4029bfdeadf3444a7b9 that is necessary for desktop target.
Jean-Philippe Andre [Mon, 25 Nov 2013 02:43:43 +0000 (11:43 +0900)]
evas/cserve2: Update image loaders list
evas_image_load.c's list was updated to match the generic
loaders, in
38dd405712f5306fdb4b30.
The list used by cserve should be the same. Actually, there
should be a common function instead of code duplication here.
Jihoon Kim [Wed, 27 Nov 2013 00:31:26 +0000 (09:31 +0900)]
edje_entry: fix out-ouf-bounds issue in _edje_entry_imf_event_preedit_changed_cb
The maximum index of tagname is 7, and preedit_type_size is equal to 8.
Checking "attr->preedit_type <= preedit_type_size" implies that the value of "attr->preedit_type" may be up to 8
This patch fixes CID 1039308
Daniel Juyung Seo [Tue, 26 Nov 2013 17:02:41 +0000 (02:02 +0900)]
evas evas_render: removed unnecessary semicolon from a macro.
This fixes coverity CID 1132631.
Daniel Juyung Seo [Tue, 26 Nov 2013 16:52:21 +0000 (01:52 +0900)]
ecore ibus_imcontext: print the value of cursor_pos only when cursor_pos
is not null.
This fixes coverity CID 1132624.
Daniel Juyung Seo [Tue, 26 Nov 2013 16:48:58 +0000 (01:48 +0900)]
ecore scim_imcontext: do not check null for ic. it was already checked
by EINA_SAFETY_ON_NULL_RETURN.
This fixes coverity CID 1132628.
Daniel Juyung Seo [Tue, 26 Nov 2013 16:39:40 +0000 (01:39 +0900)]
emotion emotion_test: free allocated data when the dependent object is
deleted.
This fixes coverity CID 1099709.
Rafael Antognolli [Tue, 26 Nov 2013 16:10:15 +0000 (14:10 -0200)]
ecore_evas/wayland: Update comments inside rotation code.
Rafael Antognolli [Tue, 26 Nov 2013 16:01:35 +0000 (14:01 -0200)]
ecore_evas/wayland: Fix non-resize rotation.
Fix phab T392.
Notice that it should reopen T359, as it wasn't really fixed, but a
rotation with resize was being used when a non-resized rotation was
requested. The cause of the "protruding surfaces" is likely the fact
that Elementary is setting the opaque regions manually, instead of
leaving it to Ecore_Evas. This must be fixed either inside Elementary
itself, or adding the "surface extents" (shadow/non-visible surface
parts) info to Ecore_Evas too.
Rafael Antognolli [Tue, 26 Nov 2013 13:41:54 +0000 (11:41 -0200)]
Revert "evas: allow fuzziness on the texture format returned by GL."
This reverts commit
2b5b3438e82a9a1bb4086864660942d3c1ddc113.
Breaks gl engines when using GLES + EGL.
Tom Hacohen [Tue, 26 Nov 2013 13:08:55 +0000 (13:08 +0000)]
Eo: Fixed eo_manual_free to always return a value.
I wonder how come this wasn't triggered in 64bit and only in 32.
Tom Hacohen [Tue, 26 Nov 2013 12:26:30 +0000 (12:26 +0000)]
Evas tests: Add canvas free with ref tests.
This should check test for the issue fixed in:
bb4a19b5ad6a8fc6720154700aabfa32f4b71244
8bba92fbca7c721a7582b098698404e491f44941
Tom Hacohen [Tue, 26 Nov 2013 12:16:22 +0000 (12:16 +0000)]
Evas object: Set manual_free to false once obj is detached from canvas.
This means unref will really free the object instead of just let it
linger in memory once the object is unrefed.
This is also correct because once detached from the canvas, Evas has
nothing to do with the object and it shouldn't need the manual free
anymore.
Tom Hacohen [Tue, 26 Nov 2013 12:10:53 +0000 (12:10 +0000)]
Eo: Make eo_manual_free() return a success flag.
eo_manual_free() can fail in some cases, and it is useful for users of
this API to know about it in order to decide what to do.
Tom Hacohen [Tue, 26 Nov 2013 11:46:49 +0000 (11:46 +0000)]
Evas layer: Fix deletion of canvas with still-refed objects.
This fixes the infinite loop while deleting canvases with still
referenced objects.
The canvas should not assume it can get rid of all of the objects. Some
objects might be referenced. I also added a printf to let the user know
about it.
This fixes T565.