platform/upstream/efl.git
11 years agoevas/canvas - code refactoring. more clean code.
ChunEon Park [Sun, 29 Sep 2013 08:30:55 +0000 (17:30 +0900)]
evas/canvas - code refactoring. more clean code.

11 years agoReduce the number of deleted objects to reduce the number of expected error prints
Daniel Zaoui [Sun, 29 Sep 2013 06:34:03 +0000 (09:34 +0300)]
Reduce the number of deleted objects to reduce the number of expected error prints

11 years agoEo: fix when detaching the composite of its parent ... that has to exist
Daniel Zaoui [Sun, 29 Sep 2013 05:50:32 +0000 (08:50 +0300)]
Eo: fix when detaching the composite of its parent ... that has to exist

11 years agoEo: merge _eo_obj_dov_internal and _eo_class_dov_internal.
Tom Hacohen [Fri, 27 Sep 2013 16:21:08 +0000 (17:21 +0100)]
Eo: merge _eo_obj_dov_internal and _eo_class_dov_internal.

They are the same except for really minor differences.

11 years agoEo: get rid of eo_class_do(_super) which we don't need anymore.
Tom Hacohen [Fri, 27 Sep 2013 16:01:51 +0000 (17:01 +0100)]
Eo: get rid of eo_class_do(_super) which we don't need anymore.

We now completely use eo_do(_super), so those are not needed.

11 years agoEo: class_get on a class should not return itself.
Tom Hacohen [Fri, 27 Sep 2013 15:50:34 +0000 (16:50 +0100)]
Eo: class_get on a class should not return itself.

This is there until we create a Class class of which all classes are
instances.

11 years agoEo tests: Fixed wrong prototype in one of the tests in the suite.
Tom Hacohen [Fri, 27 Sep 2013 15:44:00 +0000 (16:44 +0100)]
Eo tests: Fixed wrong prototype in one of the tests in the suite.

11 years agoRevert "eo: libs,test,benchmarks Eo_Class -> Eo"
Tom Hacohen [Fri, 27 Sep 2013 15:26:25 +0000 (16:26 +0100)]
Revert "eo: libs,test,benchmarks Eo_Class -> Eo"

This reverts commit 1714fe93f42d6950171d0ab9069bfb808a62fd31.

We actually want this type, it makes things clearer.

Conflicts:
src/tests/eo/function_overrides/function_overrides_inherit2.c
src/tests/eo/function_overrides/function_overrides_simple.c
src/tests/eo/suite/eo_test_class_simple.c

11 years agoManually revert "eo: replace Eo_Class with Eo"
Tom Hacohen [Fri, 27 Sep 2013 15:38:15 +0000 (16:38 +0100)]
Manually revert "eo: replace Eo_Class with Eo"

This reverts commit ee1b0833ed28b47812407a8a6f019a80f9868bfa

I did it manually because the code changed too much.

We actually want this type, it makes things more clear and easier to
understand.

11 years agoEo: Fixed the type _eo_id_get accepts.
Tom Hacohen [Fri, 27 Sep 2013 11:27:00 +0000 (12:27 +0100)]
Eo: Fixed the type _eo_id_get accepts.

11 years agoEo: Explicitly include Eina.h in eo_private.h.
Tom Hacohen [Fri, 27 Sep 2013 11:10:43 +0000 (12:10 +0100)]
Eo: Explicitly include Eina.h in eo_private.h.

It's uses eina stuff, we can't just assume eina is already included.

11 years agoEo: Get rid of the _Eo type, it's not needed.
Tom Hacohen [Fri, 27 Sep 2013 11:09:14 +0000 (12:09 +0100)]
Eo: Get rid of the _Eo type, it's not needed.

We have Eo_Base for that.

11 years agoEo: Use __FILE__ and __LINE__ instead of random values.
Tom Hacohen [Fri, 27 Sep 2013 11:07:26 +0000 (12:07 +0100)]
Eo: Use __FILE__ and __LINE__ instead of random values.

11 years agoEo: Rename Eo_Header to Eo_Base.
Tom Hacohen [Fri, 27 Sep 2013 11:01:30 +0000 (12:01 +0100)]
Eo: Rename Eo_Header to Eo_Base.

11 years agoEo: Added an Eo_Class type just for compat. Should be removed.
Tom Hacohen [Fri, 27 Sep 2013 10:50:41 +0000 (11:50 +0100)]
Eo: Added an Eo_Class type just for compat. Should be removed.

11 years agoEo: Get rid of handle. Use the shared header for detection.
Tom Hacohen [Fri, 27 Sep 2013 10:13:14 +0000 (11:13 +0100)]
Eo: Get rid of handle. Use the shared header for detection.

11 years agoEo: Merge common part of class and object.
Tom Hacohen [Fri, 27 Sep 2013 09:59:41 +0000 (10:59 +0100)]
Eo: Merge common part of class and object.

First step toward getting rid of "handle".

11 years agoEo: Class_Id and Object_Id are now the same type.
Tom Hacohen [Fri, 27 Sep 2013 09:50:06 +0000 (10:50 +0100)]
Eo: Class_Id and Object_Id are now the same type.

11 years agoEo: unify the class func and normal func prototypes.
Tom Hacohen [Wed, 25 Sep 2013 17:10:03 +0000 (18:10 +0100)]
Eo: unify the class func and normal func prototypes.

Conflicts:
src/lib/eo/eo.c

11 years agoEo: Fixed unused warnings when have EO_ID.
Tom Hacohen [Wed, 25 Sep 2013 16:48:42 +0000 (17:48 +0100)]
Eo: Fixed unused warnings when have EO_ID.

11 years agoeo: ojb_ref -> class_ref
Jérémy Zurcher [Thu, 26 Sep 2013 22:40:09 +0000 (00:40 +0200)]
eo: ojb_ref -> class_ref

11 years agoeo: eo_do_super_internal() supports objects and classes
Jérémy Zurcher [Thu, 26 Sep 2013 22:38:15 +0000 (00:38 +0200)]
eo: eo_do_super_internal() supports objects and classes

eo_class_do_super() macro calls eo_do_super()
eo_class_do_super_internal() and _eo_class_op_internal() are removed

Conflicts:
src/lib/eo/eo.c

11 years agoeo: eo_class_get() supports objects and classes
Jérémy Zurcher [Thu, 26 Sep 2013 22:13:31 +0000 (00:13 +0200)]
eo: eo_class_get() supports objects and classes

11 years agoeo: eo_class_name_get() supports objects and classes
Jérémy Zurcher [Thu, 26 Sep 2013 22:13:00 +0000 (00:13 +0200)]
eo: eo_class_name_get() supports objects and classes

11 years agoeo: eo_vdo_internal() supports objects and classes
Jérémy Zurcher [Thu, 26 Sep 2013 22:11:19 +0000 (00:11 +0200)]
eo: eo_vdo_internal() supports objects and classes

Conflicts:
src/lib/eo/Eo.h
src/lib/eo/eo.c

11 years agoeo: eo_do_internal() supports objects and classes
Jérémy Zurcher [Thu, 26 Sep 2013 22:02:30 +0000 (00:02 +0200)]
eo: eo_do_internal() supports objects and classes

eo_class_do() macro calls eo_do()
eo_class_do_internal()  is removed
op_type argument is remove from eo_do, eo_vdo_internal

Conflicts:
src/lib/eo/eo.c

11 years agoeo: add union _Eo to unify objects and classes internal pointers
Jérémy Zurcher [Thu, 26 Sep 2013 21:33:19 +0000 (23:33 +0200)]
eo: add union _Eo to unify objects and classes internal pointers

11 years agoeo: add _eo_is_a_class(const Eo *obj_id)
Jérémy Zurcher [Thu, 26 Sep 2013 21:32:43 +0000 (23:32 +0200)]
eo: add _eo_is_a_class(const Eo *obj_id)

11 years agoeo: _Eo -> _Eo_Object
Jérémy Zurcher [Thu, 26 Sep 2013 21:31:39 +0000 (23:31 +0200)]
eo: _Eo -> _Eo_Object

Conflicts:
src/lib/eo/eo.c

11 years agoeo: libs,test,benchmarks Eo_Class -> Eo
Jérémy Zurcher [Thu, 26 Sep 2013 21:14:39 +0000 (23:14 +0200)]
eo: libs,test,benchmarks Eo_Class -> Eo

Conflicts:
src/tests/eo/suite/eo_test_general.c

11 years agoeo: replace Eo_Class with Eo
Jérémy Zurcher [Thu, 26 Sep 2013 21:13:57 +0000 (23:13 +0200)]
eo: replace Eo_Class with Eo

11 years agoeo: if HAVE_EO_ID use MBS to tag Eo_Id
Jérémy Zurcher [Thu, 26 Sep 2013 21:12:48 +0000 (23:12 +0200)]
eo: if  HAVE_EO_ID use MBS to tag Eo_Id

a bit is taken from generation bits to tag objects references so that we
know if a Eo* is a class or an object

11 years agoeo: if !HAVE_EO_ID front-pad _Eo_Class and _Eo_Object with _Eo_Handle
Jérémy Zurcher [Thu, 26 Sep 2013 21:12:06 +0000 (23:12 +0200)]
eo: if !HAVE_EO_ID front-pad _Eo_Class and _Eo_Object with _Eo_Handle

this is the first step on the road to remove class specific EAPI from Eo.h
using this handle we will know if a Eo* is a class or an object pointer

Conflicts:
src/lib/eo/eo.c

11 years agoRevert "evas gl engine - simplify and optimise pipe region intersection checks."
Carsten Haitzler (Rasterman) [Fri, 27 Sep 2013 08:57:41 +0000 (17:57 +0900)]
Revert "evas gl engine - simplify and optimise pipe region intersection checks."

This reverts commit d4861504127c8a2d7375b076c18c22086914e94c.

11 years agoEvas image: Moved a variable decl into the ifdef.
Tom Hacohen [Thu, 26 Sep 2013 15:57:37 +0000 (16:57 +0100)]
Evas image: Moved a variable decl into the ifdef.

This variable is only ever used in the ifdef so there it should
reside.

11 years agoEo: remove the classe's EINA_MAGIC when using eo_id.
Tom Hacohen [Thu, 26 Sep 2013 15:06:46 +0000 (16:06 +0100)]
Eo: remove the classe's EINA_MAGIC when using eo_id.

11 years agoFix doxy typo/grammar
Chris Michael [Thu, 26 Sep 2013 07:35:22 +0000 (08:35 +0100)]
Fix doxy typo/grammar

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoevas gl engine - simplify and optimise pipe region intersection checks.
Carsten Haitzler (Rasterman) [Thu, 26 Sep 2013 10:19:50 +0000 (19:19 +0900)]
evas gl engine - simplify and optimise pipe region intersection checks.

11 years agoedje swallowing on the currently-swallowed part, which is a noop, now once again...
Mike Blumenkrantz [Thu, 26 Sep 2013 08:02:54 +0000 (09:02 +0100)]
edje swallowing on the currently-swallowed part, which is a noop, now once again returns true

11 years agogitignore: do not track generated files.
Cedric Bail [Thu, 26 Sep 2013 06:51:02 +0000 (15:51 +0900)]
gitignore: do not track generated files.

11 years agoeina: improve benchmark logic to be able to choose which one to run.
Cedric Bail [Thu, 26 Sep 2013 06:04:21 +0000 (15:04 +0900)]
eina: improve benchmark logic to be able to choose which one to run.

Note: Eina_Hash benchmark is not really matching all our usecase.
We need a better tests that would expand the bench with a wider range
of key size. Basically giving a 3d dimension to our gnuplot. Don't know
if it is doable.

11 years agoeina: check if the complete hash match before checking if the key match during childr...
Cedric Bail [Thu, 26 Sep 2013 05:51:54 +0000 (14:51 +0900)]
eina: check if the complete hash match before checking if the key match during children walk.

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.

This idea was given by Lucas De Marchi's blog :
http://www.politreco.com/2013/09/optimizing-hash-table-with-kmod-as-testbed/

I do believe that rolling a crc32 implementation as a hash function should give interesting result
in our test.

11 years agoconfigure: Add evas to ETHUMB_CLIENT_INTERNAL_LIBS
Ryuan Choi [Thu, 26 Sep 2013 04:04:37 +0000 (13:04 +0900)]
configure: Add evas to ETHUMB_CLIENT_INTERNAL_LIBS

It is to fix possible build break of ethumb_client after b3749450

11 years agoRevert "eina: add functions to alloc strings from a printf fmt"
Lucas De Marchi [Thu, 26 Sep 2013 01:51:03 +0000 (22:51 -0300)]
Revert "eina: add functions to alloc strings from a printf fmt"

This reverts commit b5fce696c743c50ea0a049c4f879756b5ed231d4 and fixes
to NEWS and @since that came later.

These functions are pretty trivial and their functionality can be
obtained with asprintf() and snprintf. The first is not available only
on windows, but there's an implementation for that one on Evil, that
should be used instead.

11 years agoEvas font: Fixed evas_font_path_* functions to apply to fontconfig.
Tom Hacohen [Wed, 25 Sep 2013 14:05:01 +0000 (15:05 +0100)]
Evas font: Fixed evas_font_path_* functions to apply to fontconfig.

Until now those were only used for custom fonts, and not for fontconfig
searches. With this commit, fontconfig will also start looking in those
dirs.

11 years agoEvas font: Use our own custom fontconfig config.
Tom Hacohen [Wed, 25 Sep 2013 13:53:37 +0000 (14:53 +0100)]
Evas font: Use our own custom fontconfig config.

This will make sure people that change the default config don't affect us.

11 years agoeina: add EINA_INLIST_REVERSE_FOREACH_FROM.
Tae-Hwan Kim [Wed, 25 Sep 2013 09:29:23 +0000 (18:29 +0900)]
eina: add EINA_INLIST_REVERSE_FOREACH_FROM.

11 years agoedje: add text min and max getters/setter to edje_edit.
Vorobiov Vitalii [Wed, 25 Sep 2013 07:18:05 +0000 (16:18 +0900)]
edje: add text min and max getters/setter to edje_edit.

11 years agoeo: fix those anoying check.
Cedric Bail [Wed, 25 Sep 2013 06:29:19 +0000 (15:29 +0900)]
eo: fix those anoying check.

11 years agoevas: update to new eo_parent_get/set API.
Cedric Bail [Wed, 25 Sep 2013 04:32:56 +0000 (13:32 +0900)]
evas: update to new eo_parent_get/set API.

11 years agoecore: update to new eo_parent_get/set API.
Cedric Bail [Wed, 25 Sep 2013 04:32:41 +0000 (13:32 +0900)]
ecore: update to new eo_parent_get/set API.

11 years agoeo: make eo_parent_get/set part of eo_base_class.
Cedric Bail [Wed, 25 Sep 2013 04:32:13 +0000 (13:32 +0900)]
eo: make eo_parent_get/set part of eo_base_class.

11 years agofix if obj->layer is null during shutdown
Carsten Haitzler (Rasterman) [Wed, 25 Sep 2013 04:05:41 +0000 (13:05 +0900)]
fix if obj->layer is null during shutdown

11 years agoeo: rename _Eo_Internal -> _Eo_Object
Jérémy Zurcher [Thu, 19 Sep 2013 07:48:19 +0000 (09:48 +0200)]
eo: rename _Eo_Internal -> _Eo_Object

11 years agoeo: typedef uintptr_t Eo_Id; as Eo_Class_Id
Jérémy Zurcher [Wed, 18 Sep 2013 20:05:26 +0000 (22:05 +0200)]
eo: typedef uintptr_t Eo_Id; as Eo_Class_Id

11 years agoDo not call actual wl_surface_commit unless we have a buffer attached.
Chris Michael [Tue, 24 Sep 2013 10:33:13 +0000 (11:33 +0100)]
Do not call actual wl_surface_commit unless we have a buffer attached.

NB: Fixes zmike multi-client problem

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoAdd structure member to mark if window has an actual buffer
Chris Michael [Tue, 24 Sep 2013 10:32:52 +0000 (11:32 +0100)]
Add structure member to mark if window has an actual buffer

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoevas render bug--
Mike Blumenkrantz [Tue, 24 Sep 2013 10:32:24 +0000 (11:32 +0100)]
evas render bug--

objects that were visible and marked as "render del" rects during render are now detected when they magically change visibility during the same render loop, fixing a very hard to reproduce E19 corner case related to fullscreen client rendering with nocomp disabled

<raster> for now all i can say is "put the patch in and lets see if things break"

11 years agoeet: added EET_DATA_DESCRIPTOR_ADD_SUB_NESTED().
Christophe Sadoine [Fri, 6 Sep 2013 02:30:37 +0000 (11:30 +0900)]
eet: added EET_DATA_DESCRIPTOR_ADD_SUB_NESTED().

11 years agoeina: fix @since to be a proper revision number.
Cedric Bail [Tue, 24 Sep 2013 06:03:24 +0000 (15:03 +0900)]
eina: fix @since to be a proper revision number.

11 years agoeina: add functions to alloc strings from a printf fmt
Jorge Zapata [Mon, 23 Sep 2013 19:13:18 +0000 (21:13 +0200)]
eina: add functions to alloc strings from a printf fmt

11 years agoeina: add a substraction in rectangles and more helpers
Jorge Zapata [Mon, 23 Sep 2013 19:13:52 +0000 (21:13 +0200)]
eina: add a substraction in rectangles and more helpers

Also add functions to cut a rectangle in the different
lengths/coordinates.
Add helper macros to printf a rectangle

11 years agoefl: add Jorge change to ChangeLog and NEWS.
Cedric Bail [Tue, 24 Sep 2013 03:18:48 +0000 (12:18 +0900)]
efl: add Jorge change to ChangeLog and NEWS.

11 years agoeina: add double_from/to and helper defines in f16p16
Jorge Zapata [Mon, 23 Sep 2013 18:48:52 +0000 (20:48 +0200)]
eina: add double_from/to and helper defines in f16p16

11 years agoEvas textblock: Fixed broken test.
Tom Hacohen [Fri, 20 Sep 2013 16:59:12 +0000 (17:59 +0100)]
Evas textblock: Fixed broken test.

Item is not meant to take the size of the max ascent, just the ascent.

11 years agoEvas textblock: Fixed native size calculation.
Tom Hacohen [Fri, 20 Sep 2013 16:59:44 +0000 (17:59 +0100)]
Evas textblock: Fixed native size calculation.

11 years agoEvas textblock: Fix format based line size calculation.
Tom Hacohen [Fri, 20 Sep 2013 15:55:22 +0000 (16:55 +0100)]
Evas textblock: Fix format based line size calculation.

Format based line size modifiers were not applied.

11 years agoEvas textblock: Fixed max descent adjustment and a related bug.
Tom Hacohen [Fri, 20 Sep 2013 15:09:21 +0000 (16:09 +0100)]
Evas textblock: Fixed max descent adjustment and a related bug.

The bug caused wrong line sizing in some situations (appending new
paragraphs to a textblock).

11 years agoEvas textblock: Fixed ascent/descent calculation a bit more.
Tom Hacohen [Fri, 20 Sep 2013 14:53:08 +0000 (15:53 +0100)]
Evas textblock: Fixed ascent/descent calculation a bit more.

Separated maxascent/descent from ascent/descent even further.
Fix calculation to be based on font instance and not the font group.

11 years agoEvas textblock: rename maxascent/descent->ascent/descent.
Tom Hacohen [Fri, 20 Sep 2013 13:47:32 +0000 (14:47 +0100)]
Evas textblock: rename maxascent/descent->ascent/descent.

Although we kinda use them as max in some situations, they are actually
just the regular ascent and descent. Following commits will make this
separation even stronger.

11 years agoeo: fix EO_DEBUG compilation
Jérémy Zurcher [Mon, 23 Sep 2013 09:07:07 +0000 (11:07 +0200)]
eo: fix EO_DEBUG compilation

11 years agoedc.vim: added insert_before/insert_after.
Daniel Juyung Seo [Mon, 23 Sep 2013 01:02:59 +0000 (10:02 +0900)]
edc.vim: added insert_before/insert_after.

11 years agoEvas textblock: Fix wrong line spacing when appending lines.
Tom Hacohen [Fri, 20 Sep 2013 12:52:40 +0000 (13:52 +0100)]
Evas textblock: Fix wrong line spacing when appending lines.

This fixes T397 which was introduced by commit: 4bcf4991ebf11b3035a.
This also fixes the issues with enventor.

11 years agoeldbus codegen: Initialize signal events with 0
José Roberto de Souza [Wed, 11 Sep 2013 13:29:36 +0000 (10:29 -0300)]
eldbus codegen: Initialize signal events with 0

11 years agoeldbus: Use FDO error message to timeout
José Roberto de Souza [Tue, 10 Sep 2013 21:09:43 +0000 (18:09 -0300)]
eldbus: Use FDO error message to timeout

11 years agoeo_ptr_indirection.x: fix _eo_id_release when !HAVE_EO_ID
Jérémy Zurcher [Wed, 18 Sep 2013 15:12:15 +0000 (17:12 +0200)]
eo_ptr_indirection.x: fix _eo_id_release when !HAVE_EO_ID

11 years agoEvasGL: Fixed a bug where the wrong data variable to buffer alloc func.
Sung W. Park [Tue, 17 Sep 2013 08:22:26 +0000 (17:22 +0900)]
EvasGL: Fixed a bug where the wrong data variable to buffer alloc func.

It's an optional feature so it's not automatically turned on but
would have caused a segfault somewhere.  Somehow slipped notice
but fixed now.

11 years agoReset window opaque region on 180 degree flips also.
Chris Michael [Tue, 17 Sep 2013 07:27:15 +0000 (08:27 +0100)]
Reset window opaque region on 180 degree flips also.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoCall common rotation code before setting engine info
Chris Michael [Tue, 17 Sep 2013 06:38:29 +0000 (07:38 +0100)]
Call common rotation code before setting engine info

NB: Part of Phab T359 fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoRework common rotation code to match X11 more closely.
Chris Michael [Tue, 17 Sep 2013 06:37:07 +0000 (07:37 +0100)]
Rework common rotation code to match X11 more closely.

NB: Part of Phab T359 fix.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoAdd API functions for window_rotation set/get and Fix Protruding surfaces on rotated...
Chris Michael [Tue, 17 Sep 2013 06:33:30 +0000 (07:33 +0100)]
Add API functions for window_rotation set/get and Fix Protruding surfaces on rotated, opaque windows

Phab Ticket T359
https://phab.enlightenment.org/T359

NB: When setting the window opaque region, take into account any
existing window rotation, and set opaque region accordingly.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoUpdate doxy for opaque_region_set function.
Chris Michael [Tue, 17 Sep 2013 06:31:44 +0000 (07:31 +0100)]
Update doxy for opaque_region_set function.
Add 'rotation' field to Ecore_Wl_Window structure.
Add API functions to get/set window rotation.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoFix formatting
Chris Michael [Fri, 13 Sep 2013 06:14:26 +0000 (07:14 +0100)]
Fix formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoRemove extra blank space
Chris Michael [Fri, 13 Sep 2013 06:12:58 +0000 (07:12 +0100)]
Remove extra blank space

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agomailmaip: Add .mailmap file to fixup various git author entries.
Stefan Schmidt [Fri, 13 Sep 2013 12:49:08 +0000 (13:49 +0100)]
mailmaip: Add .mailmap file to fixup various git author entries.

This is an attempt to unify the various spellings and email addresses people
use in the git author line. This simple matching rules clean these up and show
them as one single author. Which in turn makes statistics with e.g. git
shortlog much nicer.

I only fixed these up for the top 50 committer in efl. If your entry is missing
or wrong feel free to add or change it. This changes alone brings down the
unique author count to 275 from 311.

11 years agoeo: fix typo.
Cedric Bail [Fri, 13 Sep 2013 07:44:38 +0000 (16:44 +0900)]
eo: fix typo.

11 years agoRevert "Reduce additional call to eina_stringshare_replace."
Chris Michael [Fri, 13 Sep 2013 06:00:28 +0000 (07:00 +0100)]
Revert "Reduce additional call to eina_stringshare_replace."

This reverts commit f4f44c777ad410eaea152cc8745ca641ea2c2d5a.

11 years agoephysics: Avoid use after free.
Stefan Schmidt [Thu, 12 Sep 2013 14:53:10 +0000 (15:53 +0100)]
ephysics: Avoid use after free.

Like the one before. This time we use free deirectly so no delay. Don't
use it after being freed.

CID: 1039894

11 years agoephysics: Avoid use after free.
Stefan Schmidt [Thu, 12 Sep 2013 14:48:58 +0000 (15:48 +0100)]
ephysics: Avoid use after free.

body gets deleted here so better not access it afterwards. My guess is that
in many cases the actual free gets delayed long enough to not crash here but
better avoid this race in the first place.

CID: 1039896

11 years agoecore_evas: Remove unused code.
Stefan Schmidt [Thu, 12 Sep 2013 14:40:41 +0000 (15:40 +0100)]
ecore_evas: Remove unused code.

rot = rot % 360;
while (rot < 0) rot += 360;

it is guaranteed that rot is between 0 and 359.

CID: 1039470, 1039471

11 years agoemotion: Avoid leak by also checking for fd being null.
Stefan Schmidt [Thu, 12 Sep 2013 14:24:32 +0000 (15:24 +0100)]
emotion: Avoid leak by also checking for fd being null.

If fd would be null here we would leak the fd handle. Fix the check.

CID: 1039175

11 years agoReduce unnecessary pointer frame callbacks
Chris Michael [Thu, 12 Sep 2013 13:56:58 +0000 (14:56 +0100)]
Reduce unnecessary pointer frame callbacks

NB: We only need to do pointer frame callbacks if the pointer is using
an animated image.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoReduce additional call to eina_stringshare_replace.
Chris Michael [Thu, 12 Sep 2013 12:25:34 +0000 (13:25 +0100)]
Reduce additional call to eina_stringshare_replace.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoecore_audio: Add missing break in _format_set()
Stefan Schmidt [Thu, 12 Sep 2013 13:49:24 +0000 (14:49 +0100)]
ecore_audio: Add missing break in _format_set()

We have been missing the actual break statement in this switch. Without
it the format for auto would always been set to wav.

CID: 1039378

11 years agofix date of Changelog
Jihoon Kim [Thu, 12 Sep 2013 02:51:14 +0000 (11:51 +0900)]
fix date of Changelog

11 years agoecore_imf: Fix memory leak in scim immodule
Jihoon Kim [Thu, 12 Sep 2013 02:49:06 +0000 (11:49 +0900)]
ecore_imf: Fix memory leak in scim immodule

11 years agoAlso reset opaque region is transparent is toggled.
Chris Michael [Wed, 11 Sep 2013 13:13:53 +0000 (14:13 +0100)]
Also reset opaque region is transparent is toggled.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoAdd back saving of opaque region into window structure.
Chris Michael [Wed, 11 Sep 2013 13:07:06 +0000 (14:07 +0100)]
Add back saving of opaque region into window structure.

NB: Needed so that we can reset the opaque region if alpha_set is
being toggled on/off all the time.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoReadd the master clip for rendering of wayland engines.
Chris Michael [Wed, 11 Sep 2013 12:00:23 +0000 (13:00 +0100)]
Readd the master clip for rendering of wayland engines.

NB: Master clip is needed so that things don't draw outside the client
area.

NB: This is a partial fix. Still a work in progress. Some remaining
issues with some various elm_tests that use evas_map.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoeo: add eo_childrens_iterator_new().
Cedric Bail [Wed, 11 Sep 2013 07:08:06 +0000 (16:08 +0900)]
eo: add eo_childrens_iterator_new().

The goal would be to replace the smart children list and friends. The
problem is that they differ in content. Smart children and Eo children are
the same, but Elm children and them differ. If I put this function as a
virtual, it would be possible to override the list of children and if we
start using it in Evas render loop, that could result in "weird" behavior.

I have added the use of a simplified Eina_Trash mempool kind of feature
to have some fast path for allocation if we start using it in Evas render
loop.