cedric [Mon, 2 May 2011 11:28:47 +0000 (11:28 +0000)]
evas: don't use EINA_LOCK_INITIALIZER and improve eina_threads call.
Only call eina_threads_shutdown when thread are dead and not before.
Release and destroy thread lock before calling evas_async_events_process
as you should never have a lock taken in the main loop when calling it.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59119
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 2 May 2011 09:28:00 +0000 (09:28 +0000)]
Evas font-engine: Cache fi for all cases (even without harfbuzz).
This is now possible, because we have a script querying function.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59109
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 2 May 2011 09:27:56 +0000 (09:27 +0000)]
Evas language: Split to script even if there's no Harfbuzz.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59108
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 2 May 2011 09:27:49 +0000 (09:27 +0000)]
Evas font-engine: Made *_unicode_funcs_get internal to font_ot.c
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59107
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 2 May 2011 08:24:27 +0000 (08:24 +0000)]
warning-- for eina locks
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59102
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 2 May 2011 07:28:07 +0000 (07:28 +0000)]
Evas language: Added a character script querying function.
This is added until there will be a library that does it; From my
understanding, there are already people working on such library.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59100
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 2 May 2011 07:28:02 +0000 (07:28 +0000)]
Evas language: Updated scripts according to Unicode 6.0
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59099
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 2 May 2011 07:27:59 +0000 (07:27 +0000)]
Evas language: Fix typos.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59098
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 2 May 2011 07:27:48 +0000 (07:27 +0000)]
Evas textblock: Unified the wmax calculation into one place.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59097
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 2 May 2011 03:06:34 +0000 (03:06 +0000)]
more docs.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59094
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 2 May 2011 02:43:10 +0000 (02:43 +0000)]
improve evas_gl docs a bit.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59093
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 2 May 2011 02:14:00 +0000 (02:14 +0000)]
From: "Sung W. Park" <sungwoo@gmail.com>
Subject: evas_gl_api_get patch.
Here's a patch that simply overrides the GL functions for Evas_GL
except for two functions that I provide on my own. It may have some symbol
resolving warnings but that'll all go away eventually when we do everything
via dlsym or getProcAddress.
You can apply the patch to the latest revision of evas. (I've just
updated them) I'm also attaching a sample GLES program that uses
evas_gl_api_get. You don't need to link it to -lGL.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59092
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 2 May 2011 00:45:16 +0000 (00:45 +0000)]
add LKDBUG. sorry - was trying to ekep other changes out of svn for
nowand didnt commit this bit.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59090
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 1 May 2011 13:25:23 +0000 (13:25 +0000)]
and fix up lock goop to work right with improved eina lock goop. i
hope i nixed this bug.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59086
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 1 May 2011 07:26:42 +0000 (07:26 +0000)]
revert some changces to try fix lock issues - they create other
nastier ones.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59073
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 1 May 2011 06:58:36 +0000 (06:58 +0000)]
try and remove lock deadlocks...
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59070
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Sun, 1 May 2011 06:39:26 +0000 (06:39 +0000)]
Evas: Filter: Brightness: Fix clamp ranges, and don't double negate
Basically it's a clamp function...
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59068
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Sun, 1 May 2011 06:39:24 +0000 (06:39 +0000)]
evas: filter: brightness: software brightness filter.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59067
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Sun, 1 May 2011 06:39:22 +0000 (06:39 +0000)]
evas: filter: Use the correct fields in filter_set
Strangely, not everything is a blur.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59066
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Sun, 1 May 2011 06:39:19 +0000 (06:39 +0000)]
Use ARGB_JOIN everywhere in evas_filter.
Now to re-apply brightness.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59065
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 1 May 2011 06:26:41 +0000 (06:26 +0000)]
and try and reduce possible cache deadlocks/issues.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59064
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 1 May 2011 06:24:02 +0000 (06:24 +0000)]
could have a cache deadlock here as _sci_find is called from with
already locked caches.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59063
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 1 May 2011 06:06:56 +0000 (06:06 +0000)]
whitespaces--
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59062
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 1 May 2011 04:44:56 +0000 (04:44 +0000)]
remove unneded lock+unlock
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59060
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Fri, 29 Apr 2011 19:26:56 +0000 (19:26 +0000)]
Evas text: Move the shadow calculations out of the loop.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59047
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 28 Apr 2011 15:02:11 +0000 (15:02 +0000)]
Evas font-engine: Fixed rendering of empty text.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59006
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 28 Apr 2011 12:57:35 +0000 (12:57 +0000)]
Evas font-engine: Document and cleanup the comments in font-query.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59002
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 28 Apr 2011 12:12:57 +0000 (12:12 +0000)]
Evas textblock: Fixed a bug with drawing formats when clipped.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59001
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 28 Apr 2011 11:08:20 +0000 (11:08 +0000)]
Evas textblock: Added "password" tag - toggle password mode.
This lets you toggle the password mode inside the text. Especially
useful for implementing "show last char" in password entries.
Patch by Shilpaonkar Singh
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@59000
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 28 Apr 2011 08:18:44 +0000 (08:18 +0000)]
Evas textblock: Fixed *_format_remove_pair to invalidate the text nodes.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58991
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 28 Apr 2011 06:59:11 +0000 (06:59 +0000)]
fix formatting.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58988
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 27 Apr 2011 14:59:22 +0000 (14:59 +0000)]
Evas textblock: Use strncmp instead of strncpy and strcmp.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58963
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 27 Apr 2011 14:00:00 +0000 (14:00 +0000)]
Evas font-engine: Remove dependency or harfbuzz being built with glib.
Harfbuzz needs unicode querying functions in order to work properly,
until there'll be a nice lib that does that (should be under dev) we have
to depend on an outside source. This commit uses new Harfbuzz API that
lets us not care about the unicode function provider and just let harfbuzz
to manage it on it's own.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58961
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 27 Apr 2011 12:41:26 +0000 (12:41 +0000)]
Evas textblock: Implement format invalidation points support.
This lets us only relayout what's needed also when inserting formats.
This means inserting <b> </> for example is now as fast as inserting any
other char and doesn't cause a complete relayout.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58958
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 26 Apr 2011 14:20:45 +0000 (14:20 +0000)]
Evas font-engine: Fixes last commit to not seg when not using OT.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58936
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 26 Apr 2011 14:20:41 +0000 (14:20 +0000)]
Revert "BAD TASN!". Yeah, I'm evil.
Following commit includes a fix.
This reverts commit 58933.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58935
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 26 Apr 2011 14:20:38 +0000 (14:20 +0000)]
Evas font-engine: Updated comments.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58934
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 26 Apr 2011 14:05:01 +0000 (14:05 +0000)]
BAD TASN!
ROLL BACK TODAYS CHANGES TO EVAS....
SEGV SEGV EVERYWHERE!
*SPANK*
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58933
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
seoz [Tue, 26 Apr 2011 13:02:02 +0000 (13:02 +0000)]
Evas Evas.h: Sync dox authors with AUTHORS file.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58932
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
yoz [Tue, 26 Apr 2011 12:36:57 +0000 (12:36 +0000)]
email address of Thierry El Borgi
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58931
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 26 Apr 2011 10:21:01 +0000 (10:21 +0000)]
Evas font-engine: fix issue with using the wrong fi.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58930
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 26 Apr 2011 09:41:07 +0000 (09:41 +0000)]
make generic loader 2 stage (head + data)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58927
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 26 Apr 2011 09:26:33 +0000 (09:26 +0000)]
Evas font-engine: use the cached fi instead of searching for it.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58926
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 26 Apr 2011 09:14:23 +0000 (09:14 +0000)]
Evas font-engine: Added a fixme.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58925
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 26 Apr 2011 09:14:02 +0000 (09:14 +0000)]
Evas font-engine: Cache fi when using Harfbuzz.
Soon I will also do it for all cases, but it's not possible at the
moment because we depend on harfbuzz for querying unicode properties.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58924
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 26 Apr 2011 08:45:21 +0000 (08:45 +0000)]
fixme++
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58923
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 26 Apr 2011 05:12:25 +0000 (05:12 +0000)]
use correct hdr in shm open check.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58917
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 26 Apr 2011 01:03:06 +0000 (01:03 +0000)]
add generic image loader. allows for GPL loaders, unstable loaders and
more. making a loader is a matter of a binary of a specific name and
evas passes certain input on the cmd-line and your binary produces
output on stdout (and also optionally additionally in a shm or tmp
file).
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58914
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 25 Apr 2011 17:11:58 +0000 (17:11 +0000)]
evas: don't forget to init eina_threads when using threads.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58908
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 25 Apr 2011 09:42:49 +0000 (09:42 +0000)]
oops - didnt mean to commit that. that was just an example.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58897
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 25 Apr 2011 08:41:36 +0000 (08:41 +0000)]
From: "Sung W. Park" <sungwoo@gmail.com>
Subject: [E-devel] [Review] [Patch] Evas - OpenGL on Evas: surface
texture creation patch
I'm attaching a patch that addresses the awkward usage case. It's something
that didn't bother me initially but the more I look at it, i think
it's a little off. :-)
The initial version of the evas_gl that I've submitted had the
following use case.
evasgl = evas_gl_new(e);
sfc = evas_gl_surface_create(...);
ctx = evas_gl_context_create(...);
// Make current triggers surface texture and FBO to be created
evas_gl_make_current(evasgl, sfc, ctx);
// Then you can do a surface_get to retrieve the proper texture and set it
evas_gl_native_surface_get(evasgl, sfc, &ns);
evas_object_image_native_surface_set(img_obj, &ns);
The unnatural thing about this use case is that you have to call the make_current
one time in order for evas_gl to generate a surface texture. This is because
you need a context to create a texture. Unfortunately, this makes the usage
case really awkward.
So, instead, I've decided to get rid of the need for calling the make_current
by generating a surface texture when evas_gl_surface_create() is called
by using the evas' gl context. This works because the newly created context
shares resources with evas. in fact, this is what i'm currently doing with surface
deletion anyway so I thought this solution was reasonable.
Here's how it looks after you get rid of the make_current:
evasgl = evas_gl_new(e);
sfc = evas_gl_surface_create(...);
ctx = evas_gl_context_create(...);
evas_gl_native_surface_get(evasgl, sfc, &ns);
evas_object_image_native_surface_set(img_obj, &ns);
The patch is pretty small and straightforward.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58892
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 25 Apr 2011 02:36:14 +0000 (02:36 +0000)]
warnings--
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58884
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 25 Apr 2011 02:28:42 +0000 (02:28 +0000)]
lets have a Makefile.am shall we?
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58882
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Sun, 24 Apr 2011 20:25:34 +0000 (20:25 +0000)]
evas: use eina_lock.
NOTE: now when preload and ecore_thread are not running all lock
are disabled inside evas.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58878
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Sun, 24 Apr 2011 20:21:07 +0000 (20:21 +0000)]
evas: remove a few shadow variable.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58874
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Sun, 24 Apr 2011 19:45:43 +0000 (19:45 +0000)]
evas: add psd file format support.
Patch from Thierry el Borgi with some rework of myself.
NOTE: I don't have much file to test, so if some don't
contact us with those file and we will fix the loader
if needed.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58873
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sat, 23 Apr 2011 22:37:42 +0000 (22:37 +0000)]
hmmm actually this wasn't the cause. but someone definitely broke something here...
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58846
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Sat, 23 Apr 2011 22:32:06 +0000 (22:32 +0000)]
okay who's the joker that broke evas build? freetype 9.3.0 is definitely not a valid dependency :/
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58845
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 23 Apr 2011 02:02:45 +0000 (02:02 +0000)]
nash -> i fixed your mask rendering. interesting you only mask *IF*
you have 1:1 scaling. you could do this with scaled imaged (and
unscaled masks) with ease. both smooth and nearest.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58838
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 23 Apr 2011 01:22:17 +0000 (01:22 +0000)]
comments for nash
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58837
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 23 Apr 2011 00:35:42 +0000 (00:35 +0000)]
wrn-- -> my bad.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58836
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 22 Apr 2011 11:47:14 +0000 (11:47 +0000)]
an initial test at trying pixman instead of evas software rendering.
results... in comments. disabled atm unless u --enable it. only
replaces 1 operation in 2 cases.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58824
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 21 Apr 2011 15:34:44 +0000 (15:34 +0000)]
Evas textblock: Added a temp fix for repch until implemented nicely.
This fix is just until we finally split to scripts and cache fi all
the time, i.e in all the possible paths (regular, fribidi and harfbuzz).
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58806
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Thu, 21 Apr 2011 15:21:40 +0000 (15:21 +0000)]
Evas: Fix typos from 'old mans' recent commit sot hings build again
wrt xcb.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58804
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 21 Apr 2011 14:04:53 +0000 (14:04 +0000)]
Evas harfbuzz: Adjust evas to work with Harfbuzz >= 3.0
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58802
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 21 Apr 2011 14:04:46 +0000 (14:04 +0000)]
Evas textblock: Clean repch code a bit. No logic changes.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58801
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 21 Apr 2011 12:33:35 +0000 (12:33 +0000)]
add in lots of ptr checks to sw-x11 outbut code... this may only
happen if we ran out of mem and mallocs failed... but we can avoid a
crash.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58797
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 21 Apr 2011 09:23:42 +0000 (09:23 +0000)]
From: "Sung W. Park" <sungwoo@gmail.com>
(part of the evas-gl work)
the patch basically checks to see if the current context is evas' gl context
and if it is, it'll call evas_gl_common_context_flush(). I think this
is the proper
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58786
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 21 Apr 2011 09:18:45 +0000 (09:18 +0000)]
and tho the header has that func.. evas doesn't. remove it. seems this
api wasnt removed from the public h before release. it can't have
worked anyway so not a break.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58785
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 21 Apr 2011 08:47:16 +0000 (08:47 +0000)]
Evas font-engine: Fixed kerning issue and a major rendering bug.
Kerning: We are walking the string visually so we don't need to do
anything special for kerning when in rtl, freetype works with "left" and
"right" which we automatically get.
Rendering bug: Cedric found that in some cases there were missing
characters. This was caused because I forgot to convert the kerning from
16.6 fixed point to int.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58783
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 21 Apr 2011 08:18:38 +0000 (08:18 +0000)]
neon asm is not working. even after some typo fixes.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58782
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Thu, 21 Apr 2011 06:26:49 +0000 (06:26 +0000)]
Evas: filter: Remove warning from evil type things.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58780
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 21 Apr 2011 06:24:27 +0000 (06:24 +0000)]
fix some nasty image cache issues i've found like double-frees, leaks
etc. etc. in corner-cases. it also re-factors the image cache code to
be much more manageable and understandable with cache/list management
doing the right thing in the internal calls.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58779
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Thu, 21 Apr 2011 06:22:06 +0000 (06:22 +0000)]
Evas: Mask: Add the part where evas actually uses the mask in GL.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58778
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 21 Apr 2011 06:21:51 +0000 (06:21 +0000)]
warning--
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58777
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Thu, 21 Apr 2011 06:01:59 +0000 (06:01 +0000)]
Evas: Filter: Avoid a double free.
I just don't know why.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58776
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Thu, 21 Apr 2011 06:01:56 +0000 (06:01 +0000)]
Evas: Filter: Don't leak keys either.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58775
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Thu, 21 Apr 2011 06:01:53 +0000 (06:01 +0000)]
Evas: Filter: More aggresively avoid allocing filter data.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58774
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Thu, 21 Apr 2011 06:01:50 +0000 (06:01 +0000)]
Evas: Filter: No need to allocate on a getter.
Just return the default.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58773
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Thu, 21 Apr 2011 06:01:48 +0000 (06:01 +0000)]
Evas: Filter: Use some ARGB joins.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58772
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Thu, 21 Apr 2011 02:30:34 +0000 (02:30 +0000)]
Evas: Fix broken [ARGB]_VAL macros.
And no one ever noticed til now?
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58770
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Thu, 21 Apr 2011 02:30:32 +0000 (02:30 +0000)]
Evas: Filter: Remove last vestiges of alpha/red/green/blue macros
Using the [ARGB]_VAL ones intead. Also means need to change to use pointer
instead of array syntax to the all macro.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58769
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Wed, 20 Apr 2011 14:44:32 +0000 (14:44 +0000)]
Evas: Filter: Fix filter length assignment.
Fun fact... this works on 64 bit systems... well mine anyway, but falls over
in a horrible mess on 32bit systems.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58763
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Wed, 20 Apr 2011 14:44:29 +0000 (14:44 +0000)]
Evas: Filter: Whitespace fixes
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58762
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
nash [Wed, 20 Apr 2011 14:44:26 +0000 (14:44 +0000)]
Evas: Filter: Handle memory alloc error a little more gracefully
In this case, just set the filter type to none.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58761
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 20 Apr 2011 14:35:37 +0000 (14:35 +0000)]
Evas bidi: Fixed spelling errors: NATURAL -> NEUTRAL (Macro name).
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58760
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 20 Apr 2011 14:21:00 +0000 (14:21 +0000)]
Evas font: Removed a deprecated macro.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58759
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 20 Apr 2011 14:20:57 +0000 (14:20 +0000)]
Evas font: Removed LOGICAL_WALK and updated last_up_to_pos accondingly.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58758
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 20 Apr 2011 14:20:54 +0000 (14:20 +0000)]
Evas text/textblock: Change item size calculation to use advance again.
We don't need to do any tricks anymore because size calculation is now
very fast, as fast as the tricks we did, so it's best to just do what
we really want to do.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58757
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 20 Apr 2011 14:20:51 +0000 (14:20 +0000)]
Evas font-engine: Cache pen position instead of advance.
We only really use adavnce for calculating the pen position, so it makes more
sense to just cache the pen_position instead and calculate advance from
that if ever needed.
This means size/advance calculations are now O(1) because we don't need to
walk the strings anymore.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58756
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 20 Apr 2011 14:20:48 +0000 (14:20 +0000)]
Evas font-engine: Fix drawing of replacement char when not using Harfbuzz.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58755
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 20 Apr 2011 08:28:40 +0000 (08:28 +0000)]
filter: handle malloc failers without crashing.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58752
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 20 Apr 2011 08:24:56 +0000 (08:24 +0000)]
lets properly document filter calls and return sane values
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58751
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 20 Apr 2011 08:20:36 +0000 (08:20 +0000)]
and lets have getters for setters shall we - if we go implement 1 of
them.. lets implement alll shall we?
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58750
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 20 Apr 2011 08:13:33 +0000 (08:13 +0000)]
and fix filter api to be consistent with evas.. letalone all of efl.
VERB AT END!!!! (get/set/whatever)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58749
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 20 Apr 2011 08:09:30 +0000 (08:09 +0000)]
more formatting fixes after filter commit.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58748
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 20 Apr 2011 08:06:59 +0000 (08:06 +0000)]
and fix more filter messups. o->fitler will be leaked on obj deletion
as there was no cleanup.. and the method of exposing
evas_filter_key_get() was so out of step with any other code i have
ever seen.. letalong evas... fix.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58747
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 20 Apr 2011 08:05:23 +0000 (08:05 +0000)]
more bad code - why pass in void * image and data? sero point.. and it
totally is out of step with the rest of the api for gl_common.. that
alone would tell you "dont so that". ugh. more filter fixes.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58746
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 20 Apr 2011 08:01:04 +0000 (08:01 +0000)]
oh god. more warning fixes...
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58745
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 20 Apr 2011 07:35:18 +0000 (07:35 +0000)]
more fixme fixes of filter
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58744
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33