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.
Tom Hacohen [Fri, 6 Sep 2013 16:19:07 +0000 (17:19 +0100)]
Evas object clouseau: cleaned up the code a bit.
Cedric Bail [Fri, 6 Sep 2013 07:47:36 +0000 (16:47 +0900)]
edje: add border linked to Image sets.
It is quite common that in an image sets each image has different border size.
This patch permit to define the border value on a per image basis in the set.
Michael Bouchaud [Thu, 5 Sep 2013 21:32:23 +0000 (23:32 +0200)]
edje: fix recursive scale_set on edje_object
Carsten Haitzler (Rasterman) [Thu, 5 Sep 2013 11:30:51 +0000 (20:30 +0900)]
evas - fix render op reset when drawing map objs :)
Cedric Bail [Thu, 5 Sep 2013 10:30:38 +0000 (19:30 +0900)]
edje: forgotten patch to fix ABI.
Cedric Bail [Thu, 5 Sep 2013 10:22:51 +0000 (19:22 +0900)]
edje: fix function to use Eo API.
I am really unhappy to have to do this patch myself. This commit is in since
May and I have continuously request to be fixed. It has taken way to long. It's
done now. Next time I see such a patch in EFL, I will revert it right away.
Cedric Bail [Thu, 5 Sep 2013 08:15:58 +0000 (17:15 +0900)]
evas: add evas_object_smart_iterator_new().
This is going to break Eo ABI. Rebuild all software using Eo API on top
of EFL (Elementary for example).
Carsten Haitzler (Rasterman) [Thu, 5 Sep 2013 03:46:06 +0000 (12:46 +0900)]
eina - stringshare - strlen already would deal with optimization cases
Chris Michael [Wed, 4 Sep 2013 13:36:29 +0000 (14:36 +0100)]
Merge branch 'framespace'
Chris Michael [Wed, 4 Sep 2013 13:25:50 +0000 (14:25 +0100)]
Create any wayland canvases as Alpha by default now.
Remove calls to ecore_wl_window_update_size inside the alpha &
transparent_do functions (this call not needed here anymore).
NB: This is needed due to recent frame "fixes". Basically, even tho we
set the opaque region correctly on a surface now, if the canvas itself
is not alpha, then we will end up with a black "spacer" around the
window.
NNB: Tested Both engines with terminology (both translucent and not) and also the window state test in elementary.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 4 Sep 2013 13:24:04 +0000 (14:24 +0100)]
Set surface opaque region to NULL if window is transparent/alpha.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Michaël Bouchaud (yoz) [Wed, 4 Sep 2013 10:06:03 +0000 (12:06 +0200)]
edje: be recursive on edje_object_scale_set
Carsten Haitzler (Rasterman) [Wed, 4 Sep 2013 02:40:07 +0000 (11:40 +0900)]
ecore-input - compose seq handler now uses compact str - saves about 100k
Carsten Haitzler (Rasterman) [Mon, 2 Sep 2013 12:07:37 +0000 (21:07 +0900)]
evas - in dump also ensure an idle flush logic and proxy surface dump happens
Rafael Antognolli [Sat, 31 Aug 2013 17:23:44 +0000 (14:23 -0300)]
evas/gl: Do not reassign the surface during make current.
There was already a surface created by _evgl_tls_resource_create(). If
we assign a new one here, the wrong one will be destroyed at
_evgl_tls_resource_destroy(), and later the GL window will be destroyed
before the surface, causing invalid access errors.
This fixes https://phab.enlightenment.org/T326
Tom Hacohen [Tue, 3 Sep 2013 10:49:02 +0000 (11:49 +0100)]
Evas textblock: fixed *_markup_get issue with escaped chars.
Markup_get was misbehaving and returning wrong results with some escaped
chars. markup_to_utf8 was working correctly. Merged the code together
and now both are consistent and correct.
Thanks to WooHyun for reporting.
Ulisses Furquim [Tue, 3 Sep 2013 04:48:08 +0000 (01:48 -0300)]
evas/render: improve evas_render_sync()
Tracking only the async rendering canvases and just waiting for the last one
to finish rendering. This should be enough to sync all canvases since the
render thread orderly executes the commands.