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.
Tom Hacohen [Fri, 27 Sep 2013 11:07:26 +0000 (12:07 +0100)]
Eo: Use __FILE__ and __LINE__ instead of random values.
Tom Hacohen [Fri, 27 Sep 2013 11:01:30 +0000 (12:01 +0100)]
Eo: Rename Eo_Header to Eo_Base.
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.
Tom Hacohen [Fri, 27 Sep 2013 10:13:14 +0000 (11:13 +0100)]
Eo: Get rid of handle. Use the shared header for detection.
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".
Tom Hacohen [Fri, 27 Sep 2013 09:50:06 +0000 (10:50 +0100)]
Eo: Class_Id and Object_Id are now the same type.
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
Tom Hacohen [Wed, 25 Sep 2013 16:48:42 +0000 (17:48 +0100)]
Eo: Fixed unused warnings when have EO_ID.
Jérémy Zurcher [Thu, 26 Sep 2013 22:40:09 +0000 (00:40 +0200)]
eo: ojb_ref -> class_ref
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
Jérémy Zurcher [Thu, 26 Sep 2013 22:13:31 +0000 (00:13 +0200)]
eo: eo_class_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
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
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
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
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)
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
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
Jérémy Zurcher [Thu, 26 Sep 2013 21:13:57 +0000 (23:13 +0200)]
eo: replace Eo_Class with Eo
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
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
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.
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.
Tom Hacohen [Thu, 26 Sep 2013 15:06:46 +0000 (16:06 +0100)]
Eo: remove the classe's EINA_MAGIC when using eo_id.
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>
Carsten Haitzler (Rasterman) [Thu, 26 Sep 2013 10:19:50 +0000 (19:19 +0900)]
evas gl engine - simplify and optimise pipe region intersection checks.
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
Cedric Bail [Thu, 26 Sep 2013 06:51:02 +0000 (15:51 +0900)]
gitignore: do not track generated files.
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.
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.
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
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.
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.
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.
Tae-Hwan Kim [Wed, 25 Sep 2013 09:29:23 +0000 (18:29 +0900)]
eina: add EINA_INLIST_REVERSE_FOREACH_FROM.
Vorobiov Vitalii [Wed, 25 Sep 2013 07:18:05 +0000 (16:18 +0900)]
edje: add text min and max getters/setter to edje_edit.
Cedric Bail [Wed, 25 Sep 2013 06:29:19 +0000 (15:29 +0900)]
eo: fix those anoying check.
Cedric Bail [Wed, 25 Sep 2013 04:32:56 +0000 (13:32 +0900)]
evas: 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.
Cedric Bail [Wed, 25 Sep 2013 04:32:13 +0000 (13:32 +0900)]
eo: make eo_parent_get/set part of eo_base_class.
Carsten Haitzler (Rasterman) [Wed, 25 Sep 2013 04:05:41 +0000 (13:05 +0900)]
fix if obj->layer is null during shutdown
Jérémy Zurcher [Thu, 19 Sep 2013 07:48:19 +0000 (09:48 +0200)]
eo: rename _Eo_Internal -> _Eo_Object
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
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>
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>
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"
Christophe Sadoine [Fri, 6 Sep 2013 02:30:37 +0000 (11:30 +0900)]
eet: added EET_DATA_DESCRIPTOR_ADD_SUB_NESTED().
Cedric Bail [Tue, 24 Sep 2013 06:03:24 +0000 (15:03 +0900)]
eina: fix @since to be a proper revision number.
Jorge Zapata [Mon, 23 Sep 2013 19:13:18 +0000 (21:13 +0200)]
eina: add functions to alloc strings from a printf fmt
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
Cedric Bail [Tue, 24 Sep 2013 03:18:48 +0000 (12:18 +0900)]
efl: add Jorge change to ChangeLog and NEWS.
Jorge Zapata [Mon, 23 Sep 2013 18:48:52 +0000 (20:48 +0200)]
eina: add double_from/to and helper defines in f16p16
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.
Tom Hacohen [Fri, 20 Sep 2013 16:59:44 +0000 (17:59 +0100)]
Evas textblock: Fixed native 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.
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).
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.
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.
Jérémy Zurcher [Mon, 23 Sep 2013 09:07:07 +0000 (11:07 +0200)]
eo: fix EO_DEBUG compilation
Daniel Juyung Seo [Mon, 23 Sep 2013 01:02:59 +0000 (10:02 +0900)]
edc.vim: added insert_before/insert_after.
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.
José Roberto de Souza [Wed, 11 Sep 2013 13:29:36 +0000 (10:29 -0300)]
eldbus codegen: Initialize signal events with 0
José Roberto de Souza [Tue, 10 Sep 2013 21:09:43 +0000 (18:09 -0300)]
eldbus: Use FDO error message to timeout
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
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.
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>
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>
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>
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>
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>
Chris Michael [Fri, 13 Sep 2013 06:14:26 +0000 (07:14 +0100)]
Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
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>
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.
Cedric Bail [Fri, 13 Sep 2013 07:44:38 +0000 (16:44 +0900)]
eo: fix typo.
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.
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
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
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
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
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>
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>
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
Jihoon Kim [Thu, 12 Sep 2013 02:51:14 +0000 (11:51 +0900)]
fix date of Changelog
Jihoon Kim [Thu, 12 Sep 2013 02:49:06 +0000 (11:49 +0900)]
ecore_imf: Fix memory leak in scim immodule
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>
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>
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>
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.
Cedric Bail [Mon, 2 Sep 2013 03:40:45 +0000 (05:40 +0200)]
evil: fix compilation for Windows >= Vista and gcc 4.8.1.
Cedric Bail [Wed, 11 Sep 2013 02:23:50 +0000 (11:23 +0900)]
eo: add a small object cache to make memory recycling faster.
Chris Michael [Tue, 10 Sep 2013 14:58:46 +0000 (15:58 +0100)]
Rework keyboard repeat to use an ecore_timer (not a timerfd).
NB: This fixes keyboard repeat in terminology (under wayland) to be
sane again :)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Tom Hacohen [Tue, 10 Sep 2013 14:56:52 +0000 (15:56 +0100)]
Eo: Set (again, got removed) deleted eo objects' magic.
The French tried to sneak a bug in, they failed.
Bug was introduced in
337fac0e73eb94c9b5c8f091ab0998e8dcde01f7.
Chris Michael [Tue, 10 Sep 2013 13:34:16 +0000 (14:34 +0100)]
Restore old functionality of ecore_evas_alpha_set.
NB: We will still create all new canvases as alpha by setting it in evas,
however this allows the 'state' of ecore_evas_alpha_set/get to retain
it's original functionality and thus accurately report what a client
application May have set alpha value too.
NB: Fixes Phab Ticket T350
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 10 Sep 2013 13:32:57 +0000 (14:32 +0100)]
Remove calls to update_size function in alpha_set and transparent_set.
In alpha_set & transparent_set, add call to set opaque region to NULL
if alpha or transparent.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 10 Sep 2013 13:28:18 +0000 (14:28 +0100)]
On a swapbuf reconfigure, don't check for alpha changing state.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Sung W. Park [Tue, 10 Sep 2013 04:53:56 +0000 (13:53 +0900)]
EvasGL: Fix surface destroy mismatch bug.
For EvasGL direct rendering, EvasGL does a make_current to the
surface that evas is holding on to. When EvasGL was shutting down
it was wrongly deleting evas' surface. This issue was temporarily
fixed by Raphael before but the proper fix was added.
Cedric Bail [Mon, 9 Sep 2013 09:59:21 +0000 (18:59 +0900)]
evas: factorize some code.
Carsten Haitzler (Rasterman) [Sun, 8 Sep 2013 01:03:35 +0000 (10:03 +0900)]
eina - remove deadlock from share-common + remove extra lock/unlock
Tom Hacohen [Fri, 6 Sep 2013 16:19:57 +0000 (17:19 +0100)]
Evas object clouseau: Added object name to the property list.