Tom Hacohen [Tue, 20 May 2014 14:31:53 +0000 (15:31 +0100)]
Eo legacy events: Add legacy events tests.
These tests test mixing legacy events with eo events.
Tom Hacohen [Mon, 19 May 2014 14:28:49 +0000 (15:28 +0100)]
Eo: Support mixing legacy and non-legacy callbacks.
Tom Hacohen [Mon, 19 May 2014 14:17:08 +0000 (15:17 +0100)]
Eo/evas events: Move legacy events dynamic generator to eo.
Carsten Haitzler (Rasterman) [Wed, 28 May 2014 09:26:51 +0000 (18:26 +0900)]
warning--
se.osadchy [Wed, 28 May 2014 09:24:58 +0000 (18:24 +0900)]
[Evas/evas_3d_scene] Propagate events.
Summary: Add 3 new APIs function for full work of the picking nodes.
Reviewers: Hermet, cedric, raster
CC: cedric
Differential Revision: https://phab.enlightenment.org/D889
Vitor Sousa [Wed, 28 May 2014 08:54:01 +0000 (17:54 +0900)]
C++11 explicit conversion from accessor to bollean
Summary:
Replaced the "safe bool idiom" by explicit conversion to bollean,
in order to follow the improved conventions of the C++11.
Reviewers: felipealmeida, cedric, woohyun, smohanty, raster
Reviewed By: raster
CC: savio, cedric
Differential Revision: https://phab.enlightenment.org/D903
Vitor Sousa [Wed, 28 May 2014 08:51:14 +0000 (17:51 +0900)]
Correction for the macro EINA_CXX_DOM_LOG
Summary: The previous definition of EINA_CXX_DOM_LOG could cause a problem if used inside an one-line "if" statement followed by an "else". Changed the top "if" by a "for" statement to avoid this problem.
Reviewers: felipealmeida, cedric, woohyun, smohanty, raster
Reviewed By: raster
CC: savio, cedric
Differential Revision: https://phab.enlightenment.org/D902
Vitor Sousa [Wed, 28 May 2014 08:49:06 +0000 (17:49 +0900)]
Fixed rbegin/rend implementation on the Eina C++ ranges.
Summary:
Fixed the rbegin/rend functions returning switched reverse iterators.
Added code to some unit tests for comparing elements in reverse order, in interest of
checking the correctness of the rbegin/rend functions.
Reviewers: felipealmeida, cedric, woohyun, smohanty, raster
Reviewed By: felipealmeida
CC: savio, cedric
Differential Revision: https://phab.enlightenment.org/D901
MinJeong Kim [Wed, 28 May 2014 07:34:05 +0000 (16:34 +0900)]
eina-tiler:add union, subtract, intersection, equal apis for tilers
Summary:
Support union, subtract, intersection, equal(comparison) between tilers.
@feature
Test Plan: Test with added test case(src/tests/eina/eina_test_tiler.c) and the example(src/examples/eina/eina_tiler_02.c)
Reviewers: gwanglim, devilhorns, raster, zmike, cedric
CC: cedric
Differential Revision: https://phab.enlightenment.org/D880
Daniel Zaoui [Wed, 28 May 2014 06:32:56 +0000 (09:32 +0300)]
Eolian: fix issue for Windows.
On Windows, '\' are used to separate the names of a path. It was not
supported.
This patch fixes that. Thanks to Vincent Torri for catching it (and good
luck in Windows ;-))
Jaehyun Cho [Wed, 28 May 2014 05:32:39 +0000 (14:32 +0900)]
gl_x11/evas_engine: Prevent dereference before NULL check
Summary: re->win pointer was not compared with NULL pointer before re->win was referenced.
Reviewers: Hermet
Reviewed By: Hermet
CC: seoz, cedric
Differential Revision: https://phab.enlightenment.org/D910
Jaehyun Cho [Wed, 28 May 2014 05:29:22 +0000 (14:29 +0900)]
evas_gl_rectangle: Remove unnecessary conditional expression
Summary: The comparison gc->dc with NULL is not necessary. So the unnecessary conditional expression is removed.
Reviewers: Hermet
CC: seoz, cedric
Differential Revision: https://phab.enlightenment.org/D909
ChunEon Park [Wed, 28 May 2014 05:19:46 +0000 (14:19 +0900)]
evas/textblock - apply efl coding style.
ChunEon Park [Wed, 28 May 2014 05:14:35 +0000 (14:14 +0900)]
evas/textblock - removed unnecessary null check.
It should be definitely valid.
It's meaningless checking the value there.
ChunEon Park [Wed, 28 May 2014 05:07:20 +0000 (14:07 +0900)]
evas/textblock - null check format.
logically it's insane that it doesn't check the null there but it checks right next line.
Jean-Philippe Andre [Wed, 28 May 2014 03:04:36 +0000 (12:04 +0900)]
Evas rg_etc2: Fix Windows build
Use unsigned char/int instead of stdint in the header file.
Jaehyun Cho [Wed, 28 May 2014 02:24:56 +0000 (11:24 +0900)]
evas_draw_main: Remove unnecessary conditional expression
Summary: The comparison dc with NULL is not necessary. So remove the unnecessary conditional expression.
Reviewers: Hermet
Reviewed By: Hermet
CC: seoz, cedric
Differential Revision: https://phab.enlightenment.org/D908
Jaehyun Cho [Wed, 28 May 2014 02:22:51 +0000 (11:22 +0900)]
evas_font_dir: Prevent the use after free
Summary: Pointer fd is used after being deallocated.
Reviewers: Hermet
Reviewed By: Hermet
CC: seoz, cedric
Differential Revision: https://phab.enlightenment.org/D906
Jean-Philippe Andre [Wed, 28 May 2014 02:18:03 +0000 (11:18 +0900)]
Eolian test: Fix other compilation warnings
Jean-Philippe Andre [Wed, 28 May 2014 02:12:45 +0000 (11:12 +0900)]
Eolian test: Fix test on hardened gentoo
Invalid snprintf, why declare MAX_PATH and then use PATH_MAX?
Jean-Philippe Andre [Tue, 27 May 2014 23:12:29 +0000 (08:12 +0900)]
Evas rg_etc1: Fix build break (with DEBUG)
Ooops, bad code merge here.
This breaks the nightly builds.
ChunEon Park [Tue, 27 May 2014 13:41:40 +0000 (22:41 +0900)]
evas/evas3d - fixed incorrect usage in evas-3d-aabb example.
ChunEon Park [Tue, 27 May 2014 13:24:44 +0000 (22:24 +0900)]
Revert "ecore/ecore_event - logically this check is redundant."
This reverts commit
df60e63bf9968a4528577762a7da262466ac7683.
seems this patch is wrong.
Tom Hacohen [Tue, 27 May 2014 13:18:40 +0000 (14:18 +0100)]
Evas textblock: Fix wrong advance calculation when bidi is disabled.
The last_it was not updated correctly with bidi disabled.
Thanks to Daniel Hirt for spotting this.
@fix
ChunEon Park [Tue, 27 May 2014 13:17:01 +0000 (22:17 +0900)]
edje/epp - clean up memory allocated.
Oleksandr Shcherbina [Tue, 27 May 2014 13:07:28 +0000 (22:07 +0900)]
[evas/evas-3d] Add OBB and AABB.
Summary: Add axis-aligned bounding box (AABB) to frame. Set and update AABB and oriented bounding box (OBB) in node.
Reviewers: Hermet, cedric, raster
CC: cedric
Differential Revision: https://phab.enlightenment.org/D881
ChunEon Park [Tue, 27 May 2014 13:00:59 +0000 (22:00 +0900)]
edje/edje_cc - intensive null check.
ChunEon Park [Tue, 27 May 2014 11:44:37 +0000 (20:44 +0900)]
ecore/ecore_exe - removed duplicated null check.
ChunEon Park [Tue, 27 May 2014 11:34:42 +0000 (20:34 +0900)]
ecore/ecore_event - logically this check is redundant.
remove check so that prevent tool doens't notify this anymore.
Stefan Schmidt [Tue, 27 May 2014 09:15:35 +0000 (11:15 +0200)]
autotools: Add xz as additional tarball format
If this turns out well we will remove bz2 in 1.12
Daniel Zaoui [Tue, 27 May 2014 05:18:33 +0000 (08:18 +0300)]
Eolian: fix coverity issues.
CID 1216274
CID 1216275
CID 1216276
CID 1216277
CID 1216278
CID 1216279
CID 1216280
Jean-Philippe Andre [Thu, 8 May 2014 01:48:35 +0000 (10:48 +0900)]
Evas rg_etc: Show in the doc that we use BGRA now
Jean-Philippe Andre [Wed, 7 May 2014 08:08:19 +0000 (17:08 +0900)]
Evas rg_etc2: Small performance fix
Alpha is always 255 otherwise we need to loop around and
clamp the values to 255 anyways.
Jean-Philippe Andre [Wed, 7 May 2014 05:50:29 +0000 (14:50 +0900)]
Evas rg_etc1: Also decode RGBA8 from the TGV loader
Jean-Philippe Andre [Wed, 7 May 2014 05:47:45 +0000 (14:47 +0900)]
Evas rg_etc2: Complete support for ETC2 with RGBA8_EAC
Add support for alpha in the ETC2 decoder.
Jean-Philippe Andre [Wed, 30 Apr 2014 08:18:50 +0000 (17:18 +0900)]
Evas rg_etc2: Use new ETC2 decoder for RGB8_ETC2
Alpha support is still a TODO.
Jean-Philippe Andre [Wed, 30 Apr 2014 05:10:33 +0000 (14:10 +0900)]
Evas rg_etc2: Add ETC2 decoding routines
Simple implementation of the OpenGL ES 3.0 specification, annex C.1.
Matvey Konovalov [Wed, 30 Apr 2014 05:08:55 +0000 (14:08 +0900)]
Evas rg_etc1: Unroll the decoding loop for performance
Measurements have shown a 40% perf increase with these changes.
Patch by Matvey Konovalov.
Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
maxerba [Mon, 26 May 2014 19:36:43 +0000 (21:36 +0200)]
Updating galician, lithuanian and adding turkish translations
Mike Blumenkrantz [Mon, 26 May 2014 16:23:29 +0000 (12:23 -0400)]
edje should only match swallow visibility if it's actually a group part
fixes visibility of actual swallow parts
Mike Blumenkrantz [Mon, 26 May 2014 16:25:07 +0000 (12:25 -0400)]
Revert "Revert "recursively hide edje group objects on edje hide""
This reverts commit
b8ca758658cc71bdfecd45bc2a5b8d31ca5e17fc.
Carsten Haitzler (Rasterman) [Mon, 26 May 2014 14:17:33 +0000 (23:17 +0900)]
Revert "recursively hide edje group objects on edje hide"
Unless you like your desktop to look something like:
http://www.enlightenment.org/ss/e-
53834e0c0cb3c1.
87889787.png
then this commit really needs reverting.
This reverts commit
385326b8e4d7c05794670773aad6ece236ea71d9.
Carsten Haitzler (Rasterman) [Mon, 26 May 2014 07:41:39 +0000 (16:41 +0900)]
update po's
zmike [Thu, 22 May 2014 17:39:14 +0000 (13:39 -0400)]
recursively hide edje group objects on edje hide
this massively improves edje performance when using groups, which previously would continue calculating their parts even when their parent object was hidden
CPU usage in my test case went from 20-30% to 1%.
@fix
Daniel Zaoui [Mon, 26 May 2014 12:37:33 +0000 (15:37 +0300)]
Eolian: fix generation when optimization is set.
When using -O2 or -O3, the Eina_Bool legacy_support (unsigned char) was
overriding the int eo_needed.
The result was a failure during options check:
Eo flag is not specified (use --eo). Aborting eo generation.
@fix
Daniel Zaoui [Sun, 25 May 2014 13:44:50 +0000 (16:44 +0300)]
Eolian/Generator: add support to namespaces.
The C generators now support namespaces generation.
Daniel Zaoui [Sun, 25 May 2014 10:53:49 +0000 (13:53 +0300)]
Eolian: add support of namespaces.
It is now possible to define a class in a .eo file as e.g:
Elm::Widgets::Button.
Elm and Widgets will be the namespaces of the class Button.
@feature
Daniel Zaoui [Sun, 25 May 2014 08:39:33 +0000 (11:39 +0300)]
Eolian: remove unused structures.
These structs were belonging to a feature that has been removed cause
not considered as needed.
Daniel Zaoui [Fri, 23 May 2014 14:38:39 +0000 (17:38 +0300)]
Eolian/Tests: add test for events.
Daniel Zaoui [Thu, 22 May 2014 14:24:50 +0000 (17:24 +0300)]
Eolian: modify API to allow future scalability
Until now, the functions giving access to class information were taking
the class name as parameter.
Except the fact that we needed to search into a hash table for the internal
class structure, no flexibility is possible.
This change consists in modifying most of the APIs using the class name
with a new Eolian_Class type and adapt the code of the C and C++
generators accordingly.
Daniel Zaoui [Wed, 21 May 2014 10:56:31 +0000 (13:56 +0300)]
Eolian/Tests: add test for overriding functions
Daniel Zaoui [Wed, 21 May 2014 08:39:16 +0000 (11:39 +0300)]
Eolian/Tests: add test for consts
This tests checks the different 'const' possibilities in the .eo file
and their good parsing.
Daniel Zaoui [Fri, 2 May 2014 16:20:10 +0000 (19:20 +0300)]
Eolian: add test for generator.
The test checks the dev code generator.
Daniel Zaoui [Thu, 1 May 2014 12:07:26 +0000 (15:07 +0300)]
Eolian/Generator: add support for implementation source file.
By using -gi option, the generator appends the functions that are
present into the given eo file and missing into the developer file
(given via -o option as an in/out file).
@feature
Daniel Zaoui [Thu, 1 May 2014 12:05:33 +0000 (15:05 +0300)]
Eolian/Tests: move parsing tests to a specific file
Daniel Zaoui [Wed, 30 Apr 2014 09:03:09 +0000 (12:03 +0300)]
Eolian: add support for typedefs.
It includes parser updates, database fill and tests on basic and complex
types.
One can define types in this way:
type Evas_Coord: int; /* Simple type definition */
type List_Objects: Eina_List * <Eo *>;
@feature
Stefan Schmidt [Mon, 26 May 2014 10:45:42 +0000 (12:45 +0200)]
release: Switch back to development mode
Open for 1.11 changes now.
Stefan Schmidt [Mon, 26 May 2014 09:50:38 +0000 (11:50 +0200)]
release: v1.10.0
Savio Sena [Mon, 26 May 2014 06:47:44 +0000 (15:47 +0900)]
autotools: Fix eolianc-xx header distribution.
Summary:
Sorry, last patch added the headers to the correct relative
location but replaced dist with nodist which is incorrect. nodist is
for generated headers only.
Reviewers: cedric, raster
Reviewed By: raster
CC: felipealmeida, smohanty, cedric
Differential Revision: https://phab.enlightenment.org/D898
Savio Sena [Sat, 24 May 2014 00:27:47 +0000 (02:27 +0200)]
autotools: fix Eolian-Cxx installation.
Summary: grammar/* is now installed to the correct destination.
Reviewers: tasn, cedric
CC: JackDanielZ, felipealmeida, smohanty, cedric
Differential Revision: https://phab.enlightenment.org/D895
Signed-off-by: Cedric Bail <cedric.bail@free.fr>
Savio Sena [Sat, 24 May 2014 00:27:11 +0000 (02:27 +0200)]
efl: remove some warnings.
Summary:
Mainly from the examples but also from libunibreak and tests/eet.
I'm not sure if it's really worth to remove warnings from the examples
-- because it adds pedantic-ness to something supposed to be didatic,
but I leave for you guys to judge.
Reviewers: tasn, cedric
CC: felipealmeida, raster, smohanty, cedric
Differential Revision: https://phab.enlightenment.org/D896
Signed-off-by: Cedric Bail <cedric.bail@free.fr>
Savio Sena [Sat, 24 May 2014 00:24:42 +0000 (02:24 +0200)]
eina-cxx: remove a warning.
Summary: When assert is disabled 'diff' variable was unused.
Reviewers: tasn, cedric
CC: JackDanielZ, smohanty, felipealmeida, cedric
Differential Revision: https://phab.enlightenment.org/D893
Signed-off-by: Cedric Bail <cedric.bail@free.fr>
Savio Sena [Sat, 24 May 2014 00:23:47 +0000 (02:23 +0200)]
autotools: disable automake portability warnings.
Summary:
Vanish with these:
src/Makefile_Eolian_Helper.am:15: warning: '%'-style pattern rules are a GNU make extension
src/Makefile.am:36: 'src/Makefile_Eolian.am' included from here
src/Makefile_Eolian.am:42: 'src/Makefile_Eolian_Helper.am' included from here
src/Makefile_Eolian_Helper.am:18: warning: '%'-style pattern rules are a GNU make extension
src/Makefile.am:36: 'src/Makefile_Eolian.am' included from here
src/Makefile_Eolian.am:42: 'src/Makefile_Eolian_Helper.am' included from here
src/Makefile_Eolian_Helper.am:21: warning: '%'-style pattern rules are a GNU make extension
Reviewers: tasn, cedric
CC: JackDanielZ, smohanty, felipealmeida, raster, cedric
Differential Revision: https://phab.enlightenment.org/D894
Signed-off-by: Cedric Bail <cedric.bail@free.fr>
maxerba [Fri, 23 May 2014 21:41:05 +0000 (23:41 +0200)]
Updating czech translation
Daniel Zaoui [Wed, 21 May 2014 12:34:08 +0000 (15:34 +0300)]
Eolian: fix class lookup during parsing.
If classes A and B are stored in a same file, when A inherits from B,
and A needs to be generated, the generator, even if B is parsed, will
not search the class in the database but will look for some b.eo.
This patch fixes that issue by checking the existence of the classes
into the database before looking for a corresponding file.
Youngbok Shin [Wed, 21 May 2014 09:39:36 +0000 (10:39 +0100)]
evas/text: fix abnormal ellipsis logic when harfbuzz is enabled.
Summary:
text_props.len indicates visual length from harfbuzz logic when it is available.
But, input pram "idx" is logical length. So, ellipsis works abnormally in some case.
@fix
Test Plan: D870
Reviewers: tasn, woohyun
CC: cedric, herdsman
Differential Revision: https://phab.enlightenment.org/D871
Youngbok Shin [Wed, 21 May 2014 09:36:27 +0000 (10:36 +0100)]
evas/text: add text ellipsis test case for ligatures special case.
Summary:
Some fonts has combination information for "ff".
When harfbuzz is enabled with the font, evas text ellipsis logic can be broken.
Reviewers: tasn, woohyun, cedric
Reviewed By: tasn
CC: cedric, herdsman
Differential Revision: https://phab.enlightenment.org/D870
Some comment/commit message improvements by TAsn.
Jean-Philippe Andre [Mon, 19 May 2014 12:04:32 +0000 (21:04 +0900)]
Eo: Add function name to OP desc on Windows
Match function names when the API pointer is out of range.
Reviewed by TAsn and modified according to his comments :)
Differential Revision: https://phab.enlightenment.org/D876
Jean-Philippe Andre [Tue, 20 May 2014 09:00:14 +0000 (18:00 +0900)]
Win32: Fix invalid free in eio monitor
You can't just duplicate a string once and free it three times...
Vorobiov Vitalii [Wed, 21 May 2014 04:13:50 +0000 (06:13 +0200)]
edje: Edje_Edit - fix wrong behaviour on draggable.event processing while deleting parts.
Summary:
the draggable.event field (in edje) is pointing on the id of the part it is assigned to.
The main problem is about deleting parts.
After part being deleted, all other parts (that are below the deleted part) have their id shifted,
but event doesnt shift.
For example,
1) draggable.event at some part pointing at part with id=7,
2) some other part is being deleted
3) part with id=7 have new id now (id=6)
4) draggable.event DOESN'T change it's pointer and still points at part with id=7 (which is now has id=6)
5) if there is no parts with id=7 anymore, then it could give you SEGFAULT someday (or not, depending on luck).
This commit contains next changes:
1) after deleting part, draggable.event also shifts (if required)
2) after deleting part that is being pointed with event by someone, it will remove all event points at it
@fix
Reviewers: cedric, raster, seoz
CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D878
Signed-off-by: Cedric Bail <cedric.bail@free.fr>
Shinwoo Kim [Fri, 16 May 2014 02:26:53 +0000 (11:26 +0900)]
Win32: Add configuration to cross-compile
Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
Jean-Philippe Andre [Fri, 16 May 2014 07:32:59 +0000 (16:32 +0900)]
Win32: Fix ecore_evas engine search path
Engines are stored in a lib/ folder, while the main DLL files
are in the bin/ folder, so the engine would never be found.
A solution was to add the proper checkme file in the share
folder, but since this is necessary only for Windows, we
can simply use ../lib instead of using the full eina_prefix
detector.
Thanks vtorri for the review.
Carsten Haitzler (Rasterman) [Tue, 20 May 2014 04:56:54 +0000 (13:56 +0900)]
update po's
Savio Sena [Tue, 20 May 2014 03:19:25 +0000 (12:19 +0900)]
autotools: Fix Makefile_Ecore_Audio_Cxx.am.
Summary: This patch fixes T1246.
Reviewers: cedric, smohanty, stefan_schmidt, raster
Reviewed By: raster
CC: felipealmeida, cedric
Maniphest Tasks: T1246
Differential Revision: https://phab.enlightenment.org/D873
maxerba [Mon, 19 May 2014 19:52:22 +0000 (21:52 +0200)]
Updating translations
Stefan Schmidt [Mon, 19 May 2014 16:24:17 +0000 (18:24 +0200)]
release: v1.10.0 beta3
ChunEon Park [Mon, 19 May 2014 13:42:36 +0000 (22:42 +0900)]
evas/render - fix segfault because of null cow access.
issue ticket: T1252
@fixed
Kai Huuhko [Mon, 19 May 2014 11:15:51 +0000 (14:15 +0300)]
efreet: Fix mistakenly inverted behavior in URI handling
Fixes a mistake in commit
78c9a82a142f619ccd0957957351fe0e573de76c
The authority part would get placed in the struct member "path",
and vice versa.
Lesson learned: Don't rewrite your patch late at night after
arc has messed it up.
ChunEon Park [Mon, 19 May 2014 09:47:20 +0000 (18:47 +0900)]
evas/gl_x11 - replace inlist counting to one api call.
Kai Huuhko [Mon, 19 May 2014 06:48:41 +0000 (15:48 +0900)]
efreet: Handle URIs in a more generic way
Summary: Fixes T1219
Reviewers: englebass
CC: cedric
Maniphest Tasks: T1219
Differential Revision: https://phab.enlightenment.org/D865
Carsten Haitzler (Rasterman) [Mon, 19 May 2014 06:23:16 +0000 (15:23 +0900)]
update po's
Daniel Zaoui [Sun, 18 May 2014 11:16:58 +0000 (14:16 +0300)]
Eolian/Lexer: fix support of const parameters.
The syntax to define a parameter of a property as const is as following:
set {
data: const;
}
When no space was present between ':' and "const", a syntax error was
occurring.
Tom Hacohen [Fri, 16 May 2014 13:43:09 +0000 (14:43 +0100)]
Eo: Make it clearer that a NULL deref can't happen.
We check _current_table for NULL, and then populate it (it's a global)
through another function, but we don't really check it's not NULL before
using it, we just assume because of an indirect other variable.
This confused coveritiy, can confuse humans too, and in general risky
(if something changes).
CID 1039419
Tom Hacohen [Mon, 30 Sep 2013 13:16:46 +0000 (14:16 +0100)]
Eo callbacks: Fix a possible issue of corrupted callback list.
This happens when we delete more than one callback at the beginning
of the list (i.e 2 or more) in one go.
Tom Hacohen [Mon, 30 Sep 2013 13:15:37 +0000 (14:15 +0100)]
Eo: Don't write to pointer after free.
Fixes coverity: CID 1039898.
Tom Hacohen [Fri, 16 May 2014 13:30:33 +0000 (14:30 +0100)]
Revert "Eo: Fix deref after free."
Coverity found the issue, but it's an issue we've already fixed in the
past. I don't know how it got lost, but it seems like someone did a bad
merge. Probably when migrating to Eo2.
This reverts commit
831c20464d212fde8d6ee125342e90e5e64efc1e.
Tom Hacohen [Fri, 16 May 2014 13:27:39 +0000 (14:27 +0100)]
Eo: Fix deref after free.
In some rare cases it was possible for a pointer to be referenced after
it was already freed. This is now fixed thanks to coverity.
@fix
CID 1039898
Stefan Schmidt [Fri, 16 May 2014 13:00:10 +0000 (15:00 +0200)]
edje_calc: Document some intended fall through cases in switch-case
We share code here for different types. Make a note and also marked them as
false positive in coverity.
CID 1039377, CID 1039376
Stefan Schmidt [Fri, 16 May 2014 12:32:51 +0000 (14:32 +0200)]
ethumb: Memset whole contex in md5 implementation
I don't know what they tried here but if we consider the content
of ctx sensitive we should memset the whole thing.
CID 222382
Stefan Schmidt [Fri, 16 May 2014 11:54:54 +0000 (13:54 +0200)]
ecore_imf: Account for terminating null byte on copy
strlen retruns the count with the terminating null byte but strncpy expects
length with it. Account for that.
Stefan Schmidt [Fri, 16 May 2014 11:52:26 +0000 (13:52 +0200)]
ecore_imf: Avoid potential buffer overrun
We can't just blindly copy the full string into a 128 byte buffer. Adding
some check here to actually stay below the buffer limit or return.
CID 1193233
Carsten Haitzler (Rasterman) [Thu, 15 May 2014 12:23:51 +0000 (21:23 +0900)]
fix ecore_thread_global_data_wait to work when no data exists yet
@fix
this is based on feedback from wonil choi, where this didn't work
right. this also has an if check for the hash itself.
Carsten Haitzler (Rasterman) [Thu, 15 May 2014 08:43:00 +0000 (17:43 +0900)]
fix behavior of edje entry to match other toolkit entires
this fixes T1229 in the part about the cursor behavior when you press
updown/left/right when a selection is there. @fix
Jean-Philippe Andre [Thu, 15 May 2014 03:26:44 +0000 (12:26 +0900)]
edje_calc: Fix invalid parameters during first calc
In particular, ellipsis is -1 by default in Evas, but at this
point (first layout calc), the parameters used for recalc are
incomplete and ellipsis would then be 0 by default (calloc).
As a consequence, Edje will call ellipsis_set(0) enabling
ellipsis even on objects that force "ellipsis: -1".
Solution: set all the parameters before entering text/tb calc.
I believe the other changes are only color and image padding
and should not affect recalc_single.
Carsten Haitzler (Rasterman) [Thu, 15 May 2014 06:48:18 +0000 (15:48 +0900)]
fix ecore_con_url using 100% cpu and just let fd handler do work
this fixes T1251 - @fix
U. Artie Eoff [Wed, 14 May 2014 23:13:33 +0000 (16:13 -0700)]
evas/wayland_shm: unlink the REAL temporary file
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Daniel Zaoui [Wed, 14 May 2014 11:26:50 +0000 (14:26 +0300)]
Eolian/Generator: fix the class description generation.
The class description was not used during the generation of the legacy
and Eo headers.
Jean-Philippe Andre [Wed, 14 May 2014 08:47:53 +0000 (17:47 +0900)]
Evas filters: Fix NULL dereference (legacy_strdup)
CID 1210809
CID 1210813
+ remove comment
Jean-Philippe Andre [Wed, 14 May 2014 08:45:20 +0000 (17:45 +0900)]
Evas filters: Fix NULL dereferences
CID 1210807
CID 1210808
Jean-Philippe Andre [Wed, 14 May 2014 08:42:54 +0000 (17:42 +0900)]
Evas filters: Remove logically dead code
CID 1181889