platform/upstream/efl.git
10 years agoOne ) too many.
Iván Briano [Mon, 16 Dec 2013 17:45:00 +0000 (15:45 -0200)]
One ) too many.

10 years agoEvas textblock: Fixed range_deletion bug with multiple visible formats.
Tom Hacohen [Mon, 16 Dec 2013 15:45:07 +0000 (15:45 +0000)]
Evas textblock: Fixed range_deletion bug with multiple visible formats.

This makes the tests added in 8bee8853ae1e38823ee0dbcac1643d23c3e34379
pass.

Thanks to Youngbok Shin for reporting.

10 years agoEvas test textblock: Added a test for a broken range_delete case.
Youngbok Shin [Mon, 16 Dec 2013 12:05:47 +0000 (12:05 +0000)]
Evas test textblock: Added a test for a broken range_delete case.

This fixes bad integration by me (Tom) of Youngbok's patch in
42a06f24d8de13953fdceea02c51ad534bccd626.

10 years agoemotion: fix Windows compilation.
Cedric BAIL [Mon, 16 Dec 2013 08:03:10 +0000 (17:03 +0900)]
emotion: fix Windows compilation.

10 years agoemotion: revert to fast sed to use the right eina log domain.
Cedric BAIL [Mon, 16 Dec 2013 06:25:36 +0000 (15:25 +0900)]
emotion: revert to fast sed to use the right eina log domain.

10 years agobugfix: eldbus code generator struct members named "proxy" should not be passed to...
discomfitor [Sun, 15 Dec 2013 05:07:22 +0000 (00:07 -0500)]
bugfix: eldbus code generator struct members named "proxy" should not be passed to eina_value_free.

come on.

10 years agoedje_edit - fix mem leak of src strbuf on print status
Carsten Haitzler (Rasterman) [Sun, 15 Dec 2013 02:40:16 +0000 (11:40 +0900)]
edje_edit - fix mem leak of src strbuf on print status

though utterly minor - it's still a leak. fix CID 1039263

10 years agoedje - edje_edit - don't access collection after it is freed
Carsten Haitzler (Rasterman) [Sun, 15 Dec 2013 02:34:43 +0000 (11:34 +0900)]
edje - edje_edit - don't access collection after it is freed

should fix CID 1137855

10 years agoemotion - webcam - don't access after free and ensure it is not in list
Carsten Haitzler (Rasterman) [Sun, 15 Dec 2013 02:29:07 +0000 (11:29 +0900)]
emotion - webcam - don't access after free and ensure it is not in list

this should fix CID 1137853 and CID 1137854

10 years agoevas - fb engine - fix mem leak if ioctl fails on fb mode
Carsten Haitzler (Rasterman) [Sun, 15 Dec 2013 02:25:56 +0000 (11:25 +0900)]
evas - fb engine - fix mem leak if ioctl fails on fb mode

this fixes CID 1137852

10 years agoecore-file - fix mem leak in ecore_file_app_exe_get() on restart
Carsten Haitzler (Rasterman) [Sun, 15 Dec 2013 02:18:38 +0000 (11:18 +0900)]
ecore-file - fix mem leak in ecore_file_app_exe_get() on restart

this actually fixes the issue. coverity did point it out but i fixed
it incorrectly. since it was still there in the scan i now fixed it
properly. fixes CID 1039279

10 years agoevas - software-x11 - fill in unused struct members to avoid uninitialized
Carsten Haitzler (Rasterman) [Sun, 15 Dec 2013 02:11:17 +0000 (11:11 +0900)]
evas - software-x11 - fill in unused struct members to avoid uninitialized

this shoudl fix CID 1039548 (missed other memmbers before) and if
valgrind ever sees this now it won't complain either.

10 years agobugfix: make eldbus generated code not crash on every single generated event
discomfitor [Sun, 15 Dec 2013 00:54:35 +0000 (19:54 -0500)]
bugfix: make eldbus generated code not crash on every single generated event

this is pretty depressing to find after it's been in git for over a year

10 years agoedje: adding Alias API into edje_edit module
Vorobiov Vitalii [Sat, 14 Dec 2013 09:40:26 +0000 (18:40 +0900)]
edje: adding Alias API into edje_edit module

Summary:
This commit will add some API for working with aliases.
There are four functions will be added:
1. edje_edit_group_aliases_get - this function will return the list of aliases of certain group.
2. edje_edit_group_is_alias - this function will check if the given group name is actually an alias.
3. edje_edit_group_aliased_get - return the main real group that is being aliased.
4. edje_edit_group_alias_add - add new alias name.

Also the function "edje_edit_group_del" was modified because of wrong behaviour.
Now if the given group is alias, it will successfully delete it,
but if the given group is main group, it will also delete all it's aliases.

This commit also modify EDJ file by adding new field for detecting if the group is alias or not.

Reviewers: cedric, seoz, raster

Reviewed By: raster

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D376

10 years agoevas common - uninitialized use warning remove
Carsten Haitzler (Rasterman) [Sat, 14 Dec 2013 09:28:56 +0000 (18:28 +0900)]
evas common - uninitialized use warning remove

10 years agoedje: Fixing little misbehavior of edje_edit_state_rel_to_set
Vorobiov Vitalii [Sat, 14 Dec 2013 09:26:30 +0000 (18:26 +0900)]
edje: Fixing little misbehavior of edje_edit_state_rel_to_set

Summary:
After making part relative to the whole interface (by giving NULL parameter)
it was returning EINA_FALSE (not successfull).

Reviewers: seoz, cedric, raster

Reviewed By: raster

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D379

10 years agoEvas textblock: Fixed deletion of ranges ending with visual formats.
Tom Hacohen [Fri, 13 Dec 2013 14:41:49 +0000 (14:41 +0000)]
Evas textblock: Fixed deletion of ranges ending with visual formats.

This is a regression introduced in:
3f3ad67616d491c40e4c7c34d3927896f80b8caa

10 years agoEvas textblock: Added more range_delete tests.
Youngbok Shin [Fri, 13 Dec 2013 14:37:21 +0000 (14:37 +0000)]
Evas textblock: Added more range_delete tests.

These tests check for a regression with deletion of ranges ending with
visual formats.
Thanks to Youngbok Shin for sending me the tests.

10 years agoecore_file - finding exe path - if HOME is not set a leak could happen
Carsten Haitzler (Rasterman) [Fri, 13 Dec 2013 12:23:07 +0000 (21:23 +0900)]
ecore_file - finding exe path - if HOME is not set a leak could happen

this fixes CID 1039279

10 years agoeina - eina_file - fix leak of fd is fd is 0
Carsten Haitzler (Rasterman) [Fri, 13 Dec 2013 12:16:52 +0000 (21:16 +0900)]
eina - eina_file - fix leak of fd is fd is 0

this should fix CID 1039181

10 years agofix fd leak in emotion webcam where fd of value 0 never closed
Carsten Haitzler (Rasterman) [Fri, 13 Dec 2013 12:15:01 +0000 (21:15 +0900)]
fix fd leak in emotion webcam where fd of value 0 never closed

fixes CID 1039175

10 years agoedje - lib - remove useless memset as later memcpy overwrites
Carsten Haitzler (Rasterman) [Fri, 13 Dec 2013 12:08:31 +0000 (21:08 +0900)]
edje - lib - remove useless memset as later memcpy overwrites

this removes a useless memset that does nothing usefule as a later
memcpy (not far down from it) will overwrite it anyway.

10 years agoethumbd - fix possible out of bounds access to work table
Carsten Haitzler (Rasterman) [Fri, 13 Dec 2013 11:46:10 +0000 (20:46 +0900)]
ethumbd - fix possible out of bounds access to work table

this should fix CID 1039314 in case an unsused table slot cannot be
found. this should actualyl never happen because table expands/allocs
zero out new entires so they are "unused".

10 years agoedje - epp - fix possible array access by negative
Carsten Haitzler (Rasterman) [Fri, 13 Dec 2013 11:39:43 +0000 (20:39 +0900)]
edje - epp - fix possible array access by negative

this should fix CID 1039357

10 years agoecore - utils - makekeys - fix uniitialized arrays
Carsten Haitzler (Rasterman) [Fri, 13 Dec 2013 11:30:55 +0000 (20:30 +0900)]
ecore - utils - makekeys - fix uniitialized arrays

potential problem due to stak being filled or not. this fixes possible
problems CID 1039547 and CID 1039546

10 years agoevas - silence coverity in code
Carsten Haitzler (Rasterman) [Fri, 13 Dec 2013 11:21:53 +0000 (20:21 +0900)]
evas - silence coverity in code

fixes CID 1039549 and CID 1039548 - though it isn't a bug, but means
it should not come back in coverity.

10 years agoeeze - fix uninitialised sigation struct content
Carsten Haitzler (Rasterman) [Fri, 13 Dec 2013 11:08:15 +0000 (20:08 +0900)]
eeze - fix uninitialised sigation struct content

should fix CID 1039552

10 years agoedje_decc - fix possible use of uninitialized string
Carsten Haitzler (Rasterman) [Fri, 13 Dec 2013 11:03:14 +0000 (20:03 +0900)]
edje_decc - fix possible use of uninitialized string

this should fix CID 1039553

10 years agoethumb - ensure buf is nul terminated
Carsten Haitzler (Rasterman) [Fri, 13 Dec 2013 09:41:03 +0000 (18:41 +0900)]
ethumb - ensure buf is nul terminated

this SHOULD deal with CID 1039577  and CID 1039576

10 years agoevas - common - remove useless new as next call allocs if NULL
Carsten Haitzler (Rasterman) [Fri, 13 Dec 2013 08:56:00 +0000 (17:56 +0900)]
evas - common - remove useless new as next call allocs if NULL

10 years agoecore-con - fix possible unterminated buffers
Carsten Haitzler (Rasterman) [Fri, 13 Dec 2013 07:27:04 +0000 (16:27 +0900)]
ecore-con - fix possible unterminated buffers

this should fix CID 1039725 and CID 1039724

10 years ago[Edje] Update anchor and item tags when text is deleted by _edje_entry_imf_event_dele...
Youngbok Shin [Fri, 13 Dec 2013 12:04:36 +0000 (12:04 +0000)]
[Edje] Update anchor and item tags when text is deleted by _edje_entry_imf_event_delete_surrounding_cb.

Summary:
Anchor and item tags should be updated when text is changed.
In _edje_entry_imf_event_delete_surrounding_cb function,
the text is changed by "evas_textblock_cursor_range_delete" API
and there was no update about anchor and item tags.

It can result that the tags hang in the air after deleting.

Reviewers: tasn, woohyun, seoz, jihoon

Reviewed By: tasn

CC: cedric
Differential Revision: https://phab.enlightenment.org/D368

10 years agoibusimmodule: support preedit style
Jihoon Kim [Fri, 13 Dec 2013 11:17:19 +0000 (20:17 +0900)]
ibusimmodule: support preedit style

This patch will support to display the style of preedit such as underline, reverse.

10 years agoemotion: make webcam initialization lazy and non blocking.
Cedric BAIL [Fri, 13 Dec 2013 03:44:19 +0000 (12:44 +0900)]
emotion: make webcam initialization lazy and non blocking.

This should fix T648.

10 years agoemotion: fix potential memory leak when webcam register fail.
Cedric BAIL [Fri, 13 Dec 2013 03:22:06 +0000 (12:22 +0900)]
emotion: fix potential memory leak when webcam register fail.

10 years agoemotion: use emotion log domain instead of eina one.
Cedric BAIL [Fri, 13 Dec 2013 02:27:57 +0000 (11:27 +0900)]
emotion: use emotion log domain instead of eina one.

10 years agoemotion: lower warning on webcam access error to information (Not critical anyway).
Cedric BAIL [Fri, 13 Dec 2013 02:27:20 +0000 (11:27 +0900)]
emotion: lower warning on webcam access error to information (Not critical anyway).

10 years agoecore_con - dns.c - re-fix coverty double-free. coverity was and is right.
Carsten Haitzler (Rasterman) [Fri, 13 Dec 2013 00:41:23 +0000 (09:41 +0900)]
ecore_con - dns.c - re-fix coverty double-free. coverity was and is right.

fixes CID 1039909 again (it's back after rebase). it is an actual bug.

10 years agofix ecore-x shadow warning
discomfitor [Thu, 12 Dec 2013 14:31:08 +0000 (09:31 -0500)]
fix ecore-x shadow warning

10 years agorebase dns.c from upstream
discomfitor [Thu, 12 Dec 2013 14:29:02 +0000 (09:29 -0500)]
rebase dns.c from upstream

10 years agoevas - fix gif loader drop of image data sometimes (image dump/flush)
Carsten Haitzler (Rasterman) [Thu, 12 Dec 2013 09:42:13 +0000 (18:42 +0900)]
evas - fix gif loader drop of image data sometimes (image dump/flush)

stable release - cherry-pick me!

this fixses some still gifs going missing.

10 years agopkgbuild: follow aur efl-git version naming.
Cedric BAIL [Thu, 12 Dec 2013 02:04:43 +0000 (11:04 +0900)]
pkgbuild: follow aur efl-git version naming.

10 years agopkgbuild: let's tests all backend in our package.
Cedric BAIL [Thu, 12 Dec 2013 01:28:13 +0000 (10:28 +0900)]
pkgbuild: let's tests all backend in our package.

10 years agoautotools: detect systemd to warn user they are required to use --enable-systemd...
Cedric BAIL [Thu, 12 Dec 2013 01:27:01 +0000 (10:27 +0900)]
autotools: detect systemd to warn user they are required to use --enable-systemd to turn it on.

10 years agoembryo - embryo_cc - argv parsing MIGHT leave str buf not nul terminated
Carsten Haitzler (Rasterman) [Wed, 11 Dec 2013 13:50:34 +0000 (22:50 +0900)]
embryo - embryo_cc - argv parsing MIGHT leave str buf not nul terminated

should fix CID 1039726

10 years agoevas - evas gl - fix realloc failure case to handle it properly
Carsten Haitzler (Rasterman) [Wed, 11 Dec 2013 13:44:42 +0000 (22:44 +0900)]
evas - evas gl - fix realloc failure case to handle it properly

patched shader string realloc failure not handled right - could leak
patched string and p.

10 years agoevas - evas_gl - fix shader patch to not free static strings
Carsten Haitzler (Rasterman) [Wed, 11 Dec 2013 13:40:15 +0000 (22:40 +0900)]
evas - evas_gl - fix shader patch to not free static strings

parsing problem with opengl_strtok() which would free the previous
token "p", but in some cases it would be a const string. this should
fix CID 1039653

10 years agoeet data encode - dont free data if its not separately allocated
Carsten Haitzler (Rasterman) [Wed, 11 Dec 2013 11:44:51 +0000 (20:44 +0900)]
eet data encode - dont free data if its not separately allocated

in one case data is not separately allocated but is part of the
Eet_Variant_Unknow struct where it is allocated as extra space on the
end of the data blob. in this case don't free it, otherwise do (pass
in true) as before. this should fix CID 1039728

10 years agoecore - ecore systemd module - unused var warning - remove unused var
Carsten Haitzler (Rasterman) [Wed, 11 Dec 2013 11:21:32 +0000 (20:21 +0900)]
ecore - ecore systemd module - unused var warning - remove unused var

10 years agoemotion - generic module - re-order code to make coverty happy
Carsten Haitzler (Rasterman) [Wed, 11 Dec 2013 10:54:15 +0000 (19:54 +0900)]
emotion - generic module - re-order code to make coverty happy

this fixes CID 1039884 which isn't a real problem as the callback del
never dereferences the data pointer - just uses it as a value, but
this is really to ensure that it doesn't come back if the code were to
change.

10 years agoevas - font dir - remove from hash before free/del
Carsten Haitzler (Rasterman) [Wed, 11 Dec 2013 10:49:36 +0000 (19:49 +0900)]
evas - font dir - remove from hash before free/del

this addresses CID 1039889 but was otherwise harmless

10 years agoethumb - client lib - fix access of async item in idler after free
Carsten Haitzler (Rasterman) [Wed, 11 Dec 2013 10:42:07 +0000 (19:42 +0900)]
ethumb - client lib - fix access of async item in idler after free

this fixes CID 1039892

10 years agoephysics - fix real access-after-free issue on delete of constraint
Carsten Haitzler (Rasterman) [Wed, 11 Dec 2013 10:38:46 +0000 (19:38 +0900)]
ephysics - fix real access-after-free issue on delete of constraint

this fixes CID 1039895

10 years agoecore-con - dns.c - fix double free
Carsten Haitzler (Rasterman) [Wed, 11 Dec 2013 10:32:54 +0000 (19:32 +0900)]
ecore-con - dns.c - fix double free

this fixes CID 1039909

10 years agoedje - edje_pick - fix coverty access-after-unref issue
Carsten Haitzler (Rasterman) [Wed, 11 Dec 2013 10:24:42 +0000 (19:24 +0900)]
edje - edje_pick - fix coverty access-after-unref issue

fixes CID 1039916

10 years agoedje - edje_cc - fix coverty issue of not exiting loop for box items name
Carsten Haitzler (Rasterman) [Wed, 11 Dec 2013 10:13:16 +0000 (19:13 +0900)]
edje - edje_cc - fix coverty issue of not exiting loop for box items name

this shoul fix CID 1039918

10 years agoevas - textblock - fix dbg_info_get to avoid leak if root is NULL
Carsten Haitzler (Rasterman) [Wed, 11 Dec 2013 10:00:15 +0000 (19:00 +0900)]
evas - textblock - fix dbg_info_get to avoid leak if root is NULL

fixes CID 1040007

10 years agoevas - cserve2 - fix uninitialized member "image_id".
Carsten Haitzler (Rasterman) [Wed, 11 Dec 2013 09:47:39 +0000 (18:47 +0900)]
evas - cserve2 - fix uninitialized member "image_id".

fixes CID 1042303.

10 years agoevas - gl - ifdef out unused var with non-gles build
Carsten Haitzler (Rasterman) [Wed, 11 Dec 2013 09:26:45 +0000 (18:26 +0900)]
evas - gl - ifdef out unused var with non-gles build

10 years agoevas - gl - use snprintf for safety (never likely anyway, so code was fine)
Carsten Haitzler (Rasterman) [Wed, 11 Dec 2013 09:25:29 +0000 (18:25 +0900)]
evas - gl - use snprintf for safety (never likely anyway, so code was fine)

10 years agoemotion - test - exit if calloc fails
Carsten Haitzler (Rasterman) [Wed, 11 Dec 2013 09:22:59 +0000 (18:22 +0900)]
emotion - test - exit if calloc fails

spotted this while looking at coverty issue. likely analysis tools
will complain.

10 years agoedje - edje_cc - try and make coverty ignore the leak (invalid)
Carsten Haitzler (Rasterman) [Wed, 11 Dec 2013 09:20:13 +0000 (18:20 +0900)]
edje - edje_cc - try and make coverty ignore the leak (invalid)

hope that this does not reappear in future if changes happen in src.
CID 1132627

10 years agoevas gif loader - address animated always being true
Carsten Haitzler (Rasterman) [Wed, 11 Dec 2013 09:10:15 +0000 (18:10 +0900)]
evas gif loader - address animated always being true

this addresses CID 1135790 and removes useless checks.

10 years agopkgbuild: we do conflict with efl-git from AUR.
Cedric BAIL [Wed, 11 Dec 2013 04:56:08 +0000 (13:56 +0900)]
pkgbuild: we do conflict with efl-git from AUR.

10 years agoautotools: only turn on auto testing on linux.
Cedric BAIL [Wed, 11 Dec 2013 04:46:33 +0000 (13:46 +0900)]
autotools: only turn on auto testing on linux.

10 years agoautotools: fix complain about using subdirs without the right option.
Cedric BAIL [Wed, 11 Dec 2013 04:46:01 +0000 (13:46 +0900)]
autotools: fix complain about using subdirs without the right option.

10 years agoautotools: make systemd dependency detection automatic.
Cedric BAIL [Wed, 11 Dec 2013 02:39:09 +0000 (11:39 +0900)]
autotools: make systemd dependency detection automatic.

10 years agoautotools: let's try this variant for detecting c++ compiler availability.
Cedric BAIL [Wed, 11 Dec 2013 01:40:13 +0000 (10:40 +0900)]
autotools: let's try this variant for detecting c++ compiler availability.

10 years agogif loader - handle theoretical NULL loader_data case
Carsten Haitzler (Rasterman) [Wed, 11 Dec 2013 00:23:09 +0000 (09:23 +0900)]
gif loader - handle theoretical NULL loader_data case

10 years agoEvas tests: Add invalid markup test
Jean-Philippe Andre [Tue, 10 Dec 2013 11:42:58 +0000 (20:42 +0900)]
Evas tests: Add invalid markup test

Commit 0cb048f9b681d43fe9 fixed a crash in Textblock where
a couple "key=val" had an empty value ("key=").

10 years agoecore_x: ensure positive malloc size
Sebastian Dransfeld [Tue, 10 Dec 2013 07:50:18 +0000 (08:50 +0100)]
ecore_x: ensure positive malloc size

size_ret is used later as an argument for malloc, so it should be
positive. In addition this should ensure that
ecore_x_window_porp_property_get returns a positive value and is true if
we malloc data.

Hopefully also fixes CID 1135636

10 years agoevas - fix gif loader cpu overuse - used too much cpu to decode anims
Carsten Haitzler (Rasterman) [Tue, 10 Dec 2013 07:27:19 +0000 (16:27 +0900)]
evas - fix gif loader cpu overuse - used too much cpu to decode anims

stable release - cherry-pick me!

the evas gif loader used way too much cpu to decode animated gifs
because in the rewrite that made it correct, it did not store the
current gif file handle and state, thus each frame it would have to
decode all frames before that one before finally decoding the final
one. that means to decode frame 200, it decoded frame 1, 2, 3, 4 etc.
all the way up to 199 THEN decoded 200 on top, so decode cost became
progressively more then further through the animation you were.

this fixes that by storing state and file handle and allowing you to
iterate through.

10 years agoecore_x: remove double free
Sebastian Dransfeld [Tue, 10 Dec 2013 07:28:21 +0000 (08:28 +0100)]
ecore_x: remove double free

We first free'd the data in the else, then at the end.

Now we free old_data just before return, and at the end.

Fixes CID 1135637

10 years agoecore-evas - disable comp syncing by default (can be turned on though still)
Carsten Haitzler (Rasterman) [Tue, 10 Dec 2013 05:02:27 +0000 (14:02 +0900)]
ecore-evas - disable comp syncing by default (can be turned on though still)

10 years agoEvas textblock: Fix crash with empty markups values
Jean-Philippe Andre [Tue, 10 Dec 2013 02:39:15 +0000 (11:39 +0900)]
Evas textblock: Fix crash with empty markups values

Markup parsing will segv if a value string is empty,
as in "<style=>". Sure, this is invalid, but hey, it could
definitely be used from an app or even by a user writing
his own markups :)

The internal doc says this function expects an item to be
of the form "key=val" but there are no checks beyond the
presence of "=" in the string before calling it.

10 years agoautotools: try to figure out what our buildbot get here.
Cedric Bail [Tue, 10 Dec 2013 02:30:43 +0000 (11:30 +0900)]
autotools: try to figure out what our buildbot get here.

10 years agoecore_imf/wayland: Only call hide_input_panel on im_context_hide().
Rafael Antognolli [Mon, 9 Dec 2013 16:21:29 +0000 (14:21 -0200)]
ecore_imf/wayland: Only call hide_input_panel on im_context_hide().

There's no need to call it on text_input_leave too, otherwise this would
be called twice, the one from text_input_leave possibly being called
after the focus was regain already by a text input, causing the bug
described in T237.

This fixes T237.

10 years agoecore_evas: added missing documentation for ecore_evas_manual_render_set/get().
Daniel Juyung Seo [Mon, 9 Dec 2013 11:17:05 +0000 (20:17 +0900)]
ecore_evas: added missing documentation for ecore_evas_manual_render_set/get().

10 years agoEvas textblock: Slightly improve paragraph items freeing.
Tom Hacohen [Mon, 9 Dec 2013 13:33:46 +0000 (13:33 +0000)]
Evas textblock: Slightly improve paragraph items freeing.

Use the EINA_LIST_FREE macro instead of a safe loop and a list free.
This is faster and cleaner.

10 years agoautotools: work around buggy macro to force C++ compiler detection.
Cedric Bail [Mon, 9 Dec 2013 12:35:56 +0000 (21:35 +0900)]
autotools: work around buggy macro to force C++ compiler detection.

10 years agoecore_evas/wayland: Update withdrawn property, and inform state_changed.
Rafael Antognolli [Wed, 4 Dec 2013 20:50:19 +0000 (18:50 -0200)]
ecore_evas/wayland: Update withdrawn property, and inform state_changed.

10 years agofix seb "fix" commit that causes lots of segvs.
Carsten Haitzler (Rasterman) [Mon, 9 Dec 2013 09:39:07 +0000 (18:39 +0900)]
fix seb "fix" commit that causes lots of segvs.

this fixes 04e0a6d95ec5610e35febbbb9b1be1a361f177ae which introduced
copy & paste segv's by properly terminating the right buffer.

10 years agoEvas/cserve2: Fix crash during shutdown
Jean-Philippe Andre [Mon, 9 Dec 2013 08:48:32 +0000 (17:48 +0900)]
Evas/cserve2: Fix crash during shutdown

If an image failed to load, and cserve2 returned an error message,
then the File_Entry was freed, but not removed from the hash.
Solution: remove entry from the hash, let the callback free the data.

10 years agoEvas: Fix crash in GL engine(s) during preload cancel
Jean-Philippe Andre [Mon, 9 Dec 2013 08:28:02 +0000 (17:28 +0900)]
Evas: Fix crash in GL engine(s) during preload cancel

In my config, running terminology with the GL engine and under
cserve2, some image could not be loaded. The tex argument
in evas_gl_preload_target_[un]register was NULL, leading to
an immediate crash.

10 years agoFix opaque windows becoming transparent after hide() then show().
Chris Michael [Mon, 9 Dec 2013 07:32:45 +0000 (07:32 +0000)]
Fix opaque windows becoming transparent after hide() then show().

This fixes Phab #T611. Previously, windows which were opaque would
become transparent after being hidden and then shown. We fix that by a
call to ecore_wl_window_alpha_set when the window gets shown. This
patch also brings the wayland_egl hide code more inline with the shm
hide code by testing if the surface does not match the existing one.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoEcore: add DnD abort from source
Daniel Zaoui [Sun, 1 Dec 2013 12:48:21 +0000 (14:48 +0200)]
Ecore: add DnD abort from source

This can be used to cancel a DnD drag operation in the middle.

10 years agoecore evas - add animator update syncing to only render on animator ticks
Carsten Haitzler (Rasterman) [Sun, 8 Dec 2013 06:07:40 +0000 (15:07 +0900)]
ecore evas - add animator update syncing to only render on animator ticks

this adds a ifdefable feature to sync rendering only to animator
slots. this should reduce over-render of more frames than a user can
see when updates are triggered by things like mouse movements (which
may come in many times faster than the framerate). this is an
experiment to see if this helps smoothness and load. it also has
problems in e grabs x while rendering - this is now fixed in e18
alreadey, but it is just a config you can turn off.

10 years agoecore loop + animator - add call to get if an animator cb has run this iter
Carsten Haitzler (Rasterman) [Sun, 8 Dec 2013 06:05:51 +0000 (15:05 +0900)]
ecore loop + animator - add call to get if an animator cb has run this iter

this adds a simple call and infra to get if an animator has run this
iteration. it's simple and not really useful other than internally to
efl.

10 years agobuild: fix installing in DESTDIR for packaging and buildbot.
Cedric Bail [Mon, 9 Dec 2013 01:57:12 +0000 (10:57 +0900)]
build: fix installing in DESTDIR for packaging and buildbot.

This should fix T628 .

10 years agoefl: remove uuid from all libtool files.
Cedric Bail [Sun, 8 Dec 2013 02:50:54 +0000 (11:50 +0900)]
efl: remove uuid from all libtool files.

This change is needed for windows as this library is statically linked into
evil, but libtool doesn't get it.

10 years agoecore_x: Fix buffer overrun
Sebastian Dransfeld [Sat, 7 Dec 2013 17:32:17 +0000 (18:32 +0100)]
ecore_x: Fix buffer overrun

Use strncpy to prevent buffer overrun on buf, and '\0' terminate.

Fixes CID 1039584

10 years agoecore_x: Fix bug in ecore_x_region_invert
Sebastian Dransfeld [Sat, 7 Dec 2013 17:25:22 +0000 (18:25 +0100)]
ecore_x: Fix bug in ecore_x_region_invert

As bounds is a pointer, bounds + num will always be postive, so this is
an eternal loop. In addition, XFixesInvertRegion only accepts one
region, so num must be 1.

Fixes CID 1039469

10 years agoecore_x: Remove NULL check
Sebastian Dransfeld [Sat, 7 Dec 2013 17:02:21 +0000 (18:02 +0100)]
ecore_x: Remove NULL check

to get here, old_data != NULL.

Fixes CID 1039648 and 1039649

10 years agoecore_x: Use free, not XFree
Sebastian Dransfeld [Sat, 7 Dec 2013 17:00:27 +0000 (18:00 +0100)]
ecore_x: Use free, not XFree

Data returned from ecore_x_window_prop_property_get are malloced, so use
free, not XFree. Which also is consistent, as free was used on other
occasions.

10 years agoecore_x: supported isn't an optional argument
Sebastian Dransfeld [Sat, 7 Dec 2013 16:56:55 +0000 (17:56 +0100)]
ecore_x: supported isn't an optional argument

if supported is NULL, this function isn't of any use.

Fixes CID 1039430

10 years agoecore_x: Only use att if call succeeds.
Sebastian Dransfeld [Sat, 7 Dec 2013 16:53:34 +0000 (17:53 +0100)]
ecore_x: Only use att if call succeeds.

XGetWindowAttributes isn't guaranteed to succeed.

Fixes CID 1039692

10 years agoecore_x: Only do memset if len < 20
Sebastian Dransfeld [Sat, 7 Dec 2013 16:50:15 +0000 (17:50 +0100)]
ecore_x: Only do memset if len < 20

If len is 20, n is 0, and nothing to memset.

Fixes CID 1039311

10 years agoecore_x: always free data and return value
Sebastian Dransfeld [Sat, 7 Dec 2013 16:46:29 +0000 (17:46 +0100)]
ecore_x: always free data and return value

if we are the selected parser, we are responsible for free'ing data and
returning a selection value.

10 years agoecore_x: Check if we have data
Sebastian Dransfeld [Sat, 7 Dec 2013 16:43:46 +0000 (17:43 +0100)]
ecore_x: Check if we have data

data could be NULL and size == 0, so check for this.

Fixes CID 1039264

10 years agoecore_x: '\0' terminate converted text
Sebastian Dransfeld [Sat, 7 Dec 2013 16:14:11 +0000 (17:14 +0100)]
ecore_x: '\0' terminate converted text

This makes ecore_x text converter behave like elm text converter.

Fixes CID 1039310