Tom Hacohen [Mon, 2 May 2011 15:33:38 +0000 (15:33 +0000)]
Evas font-draw: Fix word-cache to not need text.
SVN revision: 59132
Tom Hacohen [Mon, 2 May 2011 15:33:35 +0000 (15:33 +0000)]
Evas textblock: Now that we cache fi, we don't need shaped_text anymore.
SVN revision: 59131
Tom Hacohen [Mon, 2 May 2011 15:33:31 +0000 (15:33 +0000)]
Evas textblock: Remove obsolete comment.
SVN revision: 59130
Tom Hacohen [Mon, 2 May 2011 15:33:27 +0000 (15:33 +0000)]
Evas textblock: We finally cache fi - remove related hacks.
SVN revision: 59129
Cedric BAIL [Mon, 2 May 2011 13:52:34 +0000 (13:52 +0000)]
eina: forgotten commit.
SVN revision: 59125
Cedric BAIL [Mon, 2 May 2011 13:51:20 +0000 (13:51 +0000)]
eina: use the right naming.
SVN revision: 59124
Cedric BAIL [Mon, 2 May 2011 13:40:28 +0000 (13:40 +0000)]
eina: add back threads on/off support.
NOTE: only use it if you know what you are doing !
SVN revision: 59123
Tom Hacohen [Mon, 2 May 2011 13:24:26 +0000 (13:24 +0000)]
Evas bidi: Made fribidichar<->eina_unicode conversion a compile time test.
SVN revision: 59122
Cedric BAIL [Mon, 2 May 2011 13:09:38 +0000 (13:09 +0000)]
eina: forgotten initialization.
SVN revision: 59121
Cedric BAIL [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.
SVN revision: 59119
Cedric BAIL [Mon, 2 May 2011 11:25:35 +0000 (11:25 +0000)]
eina: improve thread debugging and portability.
All thread debugging facility, including lock debug, on by turning --enable-debug-threads
at configure time of eina.
When threads check are disable, make sure that all lock/release are called
from the main loop only. And in all case, eina_lock_new/eina_lock_delete should be
called from the main loop.
Remove static initialization as it is not portable under Windows.
SVN revision: 59118
Cedric BAIL [Mon, 2 May 2011 11:20:00 +0000 (11:20 +0000)]
eina: make sure eina_threads_init/eina_threads_shutdown are correctly called.
SVN revision: 59117
Tom Hacohen [Mon, 2 May 2011 10:20:20 +0000 (10:20 +0000)]
Edje min_calc: Don't print the 4000x4000 err when there's a textblock.
SVN revision: 59112
Tom Hacohen [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.
SVN revision: 59109
Tom Hacohen [Mon, 2 May 2011 09:27:56 +0000 (09:27 +0000)]
Evas language: Split to script even if there's no Harfbuzz.
SVN revision: 59108
Tom Hacohen [Mon, 2 May 2011 09:27:49 +0000 (09:27 +0000)]
Evas font-engine: Made *_unicode_funcs_get internal to font_ot.c
SVN revision: 59107
Carsten Haitzler [Mon, 2 May 2011 08:34:22 +0000 (08:34 +0000)]
also return deadlock from normal lock (not try only)
SVN revision: 59103
Carsten Haitzler [Mon, 2 May 2011 08:24:27 +0000 (08:24 +0000)]
warning-- for eina locks
SVN revision: 59102
Carsten Haitzler [Mon, 2 May 2011 08:24:06 +0000 (08:24 +0000)]
formalise eina lock results to be equivalent to true/false with added
deadlock for try.
SVN revision: 59101
Tom Hacohen [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.
SVN revision: 59100
Tom Hacohen [Mon, 2 May 2011 07:28:02 +0000 (07:28 +0000)]
Evas language: Updated scripts according to Unicode 6.0
SVN revision: 59099
Tom Hacohen [Mon, 2 May 2011 07:27:59 +0000 (07:27 +0000)]
Evas language: Fix typos.
SVN revision: 59098
Tom Hacohen [Mon, 2 May 2011 07:27:48 +0000 (07:27 +0000)]
Evas textblock: Unified the wmax calculation into one place.
SVN revision: 59097
Vincent Torri [Mon, 2 May 2011 07:04:24 +0000 (07:04 +0000)]
time.h should be sufficient
SVN revision: 59096
Vincent Torri [Mon, 2 May 2011 05:52:31 +0000 (05:52 +0000)]
Eina: eina_file.h: fix compilation on Mac Os X
define time_t on Mac OS X. Patch by Dave Ray.
SVN revision: 59095
Carsten Haitzler [Mon, 2 May 2011 03:06:34 +0000 (03:06 +0000)]
more docs.
SVN revision: 59094
Carsten Haitzler [Mon, 2 May 2011 02:43:10 +0000 (02:43 +0000)]
improve evas_gl docs a bit.
SVN revision: 59093
Sung W. Park [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.
SVN revision: 59092
Carsten Haitzler [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.
SVN revision: 59090
Vincent Torri [Sun, 1 May 2011 17:45:58 +0000 (17:45 +0000)]
Ecore: ecore_con: Evil not needed in ecore_con_local.c
SVN revision: 59087
Carsten Haitzler [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.
SVN revision: 59086
Carsten Haitzler [Sun, 1 May 2011 13:24:08 +0000 (13:24 +0000)]
oh dear. this new eina_lock thing is a bit of a mess isn't it now?
some fundamental errors there. don't go replacing pthread locks with
wrappers unless you know full well what u are doing. havnig threads
only work while "threads are initted" and then init/shtudown the thread
thing every time u spawn a thread.. is pretty silly. what if a thread
ends in the background WHILE u have a lock.. u try unlock.. u know
what ? your unlock DOES nothing. so you retain a lock. next time u
want to lock once a thread is around.. u have a deadlock issue.
even better - the checking if threads are initted and up is not
locked, so it can come up while it is being checked. more race
conditions. u need to clokc the init/shutdown AND lock the checking of
the value... and even then u STILl have problem #1 above. so that code
is now gone.
also trylock trturn inverse logic to the original pthread func and the
macros in evas that used it were not changed accordingly! aaagh!
i've also added backtrace debug ability to eina threads if compiled in
- u can get a bt of who last locked something. i had to do this just to
begin to grasp what on earth was going on. it's off by default.
also... the locks are error check locks to trylock can detect
deadlocks. speacil "2" return for now. better than a poke in the eye
with a sharp stick until we decide what to do. for now i hopew i have
killed this thread lock bug.
SVN revision: 59085
Carsten Haitzler [Sun, 1 May 2011 07:26:42 +0000 (07:26 +0000)]
revert some changces to try fix lock issues - they create other
nastier ones.
SVN revision: 59073
Carsten Haitzler [Sun, 1 May 2011 06:58:36 +0000 (06:58 +0000)]
try and remove lock deadlocks...
SVN revision: 59070
Brett 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...
SVN revision: 59068
Brett Nash [Sun, 1 May 2011 06:39:24 +0000 (06:39 +0000)]
evas: filter: brightness: software brightness filter.
SVN revision: 59067
Brett 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.
SVN revision: 59066
Brett Nash [Sun, 1 May 2011 06:39:19 +0000 (06:39 +0000)]
Use ARGB_JOIN everywhere in evas_filter.
Now to re-apply brightness.
SVN revision: 59065
Carsten Haitzler [Sun, 1 May 2011 06:26:41 +0000 (06:26 +0000)]
and try and reduce possible cache deadlocks/issues.
SVN revision: 59064
Carsten Haitzler [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.
SVN revision: 59063
Vincent Torri [Sun, 1 May 2011 06:06:56 +0000 (06:06 +0000)]
whitespaces--
SVN revision: 59062
Carsten Haitzler [Sun, 1 May 2011 04:44:56 +0000 (04:44 +0000)]
remove unneded lock+unlock
SVN revision: 59060
Tom Hacohen [Fri, 29 Apr 2011 19:26:56 +0000 (19:26 +0000)]
Evas text: Move the shadow calculations out of the loop.
SVN revision: 59047
Vincent Torri [Fri, 29 Apr 2011 19:10:51 +0000 (19:10 +0000)]
ecore: fix #elif usage
SVN revision: 59045
Boris Faure [Fri, 29 Apr 2011 19:08:03 +0000 (19:08 +0000)]
eina: fix #elif usage
SVN revision: 59044
Boris Faure [Fri, 29 Apr 2011 19:07:46 +0000 (19:07 +0000)]
eina: remove redundant declaration
SVN revision: 59043
Tom Hacohen [Fri, 29 Apr 2011 18:54:29 +0000 (18:54 +0000)]
Eina refcount: Wrap EINA_REFCOUNT_UNREF with do {} while(0).
SVN revision: 59042
Cedric BAIL [Fri, 29 Apr 2011 16:24:14 +0000 (16:24 +0000)]
eio: use eina refcount.
SVN revision: 59040
Cedric BAIL [Fri, 29 Apr 2011 16:09:45 +0000 (16:09 +0000)]
ethumb: use Eina_Refcount.
SVN revision: 59039
Cedric BAIL [Fri, 29 Apr 2011 16:09:07 +0000 (16:09 +0000)]
eina: Add refcounting macro helper.
SVN revision: 59038
Vincent Torri [Fri, 29 Apr 2011 07:39:28 +0000 (07:39 +0000)]
shadow var--
SVN revision: 59032
Vincent Torri [Fri, 29 Apr 2011 07:34:12 +0000 (07:34 +0000)]
formatting
SVN revision: 59031
Vincent Torri [Fri, 29 Apr 2011 07:22:53 +0000 (07:22 +0000)]
Ecore: ecore_con: add some checks and formatting
* add checks for the fd handlers
* reformat a bit _ecore_con_svr_tcp_handler()
SVN revision: 59030
Jihoon Kim [Fri, 29 Apr 2011 05:16:51 +0000 (05:16 +0000)]
From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] Add ecore_imf_context_autocapital_type_{set, get},
To support the autocapitalization feature, I'd like to add
ecore_imf_context_autocapital_type_{set,get} API.
I will implement the autocapital feature in immodule, so the immodule
should know the autocapitalization type.
This API is for letting immodule know the autocapitalization type.
In addition, ecore_imf_context_prediction_allow_set API is used to set
whether the IM context should allow to use the text prediction.
SVN revision: 59025
Vincent Torri [Thu, 28 Apr 2011 20:57:30 +0000 (20:57 +0000)]
ChangeLog entry for the monotonic clock implementation for Mac OS X
patch by Eduardo Felipe Castegnaro
SVN revision: 59024
Vincent Torri [Thu, 28 Apr 2011 19:38:41 +0000 (19:38 +0000)]
Ecore: ecore_time : Add a fast high-resolution monotonic clock
SVN revision: 59021
Cedric BAIL [Thu, 28 Apr 2011 17:00:49 +0000 (17:00 +0000)]
ethumb: reduce number of generate.
SVN revision: 59018
Cedric BAIL [Thu, 28 Apr 2011 17:00:13 +0000 (17:00 +0000)]
ethumb: cache exists result.
SVN revision: 59017
Cedric BAIL [Thu, 28 Apr 2011 16:45:45 +0000 (16:45 +0000)]
eio: also copy xattr when available.
SVN revision: 59015
Tom Hacohen [Thu, 28 Apr 2011 15:29:50 +0000 (15:29 +0000)]
Edje size_min_restricted_calc: Hopefully fixed textblock handling.
SVN revision: 59010
Tom Hacohen [Thu, 28 Apr 2011 15:02:11 +0000 (15:02 +0000)]
Evas font-engine: Fixed rendering of empty text.
SVN revision: 59006
Cedric BAIL [Thu, 28 Apr 2011 13:25:14 +0000 (13:25 +0000)]
ethumb: use xattr as cache when available.
SVN revision: 59004
Tom Hacohen [Thu, 28 Apr 2011 12:57:35 +0000 (12:57 +0000)]
Evas font-engine: Document and cleanup the comments in font-query.
SVN revision: 59002
Tom Hacohen [Thu, 28 Apr 2011 12:12:57 +0000 (12:12 +0000)]
Evas textblock: Fixed a bug with drawing formats when clipped.
SVN revision: 59001
Tom Hacohen [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
SVN revision: 59000
Tom Hacohen [Thu, 28 Apr 2011 08:18:44 +0000 (08:18 +0000)]
Evas textblock: Fixed *_format_remove_pair to invalidate the text nodes.
SVN revision: 58991
Carsten Haitzler [Thu, 28 Apr 2011 06:59:11 +0000 (06:59 +0000)]
fix formatting.
SVN revision: 58988
Vincent Torri [Wed, 27 Apr 2011 19:44:57 +0000 (19:44 +0000)]
Eina: eina_object : more use of eina_lock
SVN revision: 58980
Cedric BAIL [Wed, 27 Apr 2011 18:06:42 +0000 (18:06 +0000)]
ethumb: make exists client API async.
Ethumb_Client now use Ecore_Thread with this patch.
TODO:
* cache exists requests (client side).
* cache generate requests (server side).
SVN revision: 58977
Vincent Torri [Wed, 27 Apr 2011 17:00:36 +0000 (17:00 +0000)]
Eina: Fix static build of the buddy mempool
SVN revision: 58974
Vincent Torri [Wed, 27 Apr 2011 16:58:23 +0000 (16:58 +0000)]
formatting: alphabetical order
SVN revision: 58973
Vincent Torri [Wed, 27 Apr 2011 16:15:41 +0000 (16:15 +0000)]
do not enter the modules dir if they are not built
SVN revision: 58971
Vincent Torri [Wed, 27 Apr 2011 15:50:12 +0000 (15:50 +0000)]
remove shadow var
SVN revision: 58966
Tom Hacohen [Wed, 27 Apr 2011 14:59:22 +0000 (14:59 +0000)]
Evas textblock: Use strncmp instead of strncpy and strcmp.
SVN revision: 58963
Tom Hacohen [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.
SVN revision: 58961
Tom Hacohen [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.
SVN revision: 58958
Carsten Haitzler [Wed, 27 Apr 2011 11:20:42 +0000 (11:20 +0000)]
dont use old evas.h in docs.
SVN revision: 58955
Cedric BAIL [Wed, 27 Apr 2011 10:27:07 +0000 (10:27 +0000)]
eio: add inotify backend and fix api.
Note: API/ABI of Eio_Monitor could be considered usable and need feedback.
Still lacking of proper fallback and windows port.
SVN revision: 58953
Cedric BAIL [Wed, 27 Apr 2011 09:44:37 +0000 (09:44 +0000)]
eet: remove uneeded Evas.h.
SVN revision: 58950
Vincent Torri [Wed, 27 Apr 2011 05:45:28 +0000 (05:45 +0000)]
remove shadow variables
SVN revision: 58945
Tom Hacohen [Tue, 26 Apr 2011 14:20:45 +0000 (14:20 +0000)]
Evas font-engine: Fixes last commit to not seg when not using OT.
SVN revision: 58936
Tom Hacohen [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.
SVN revision: 58935
Tom Hacohen [Tue, 26 Apr 2011 14:20:38 +0000 (14:20 +0000)]
Evas font-engine: Updated comments.
SVN revision: 58934
Carsten Haitzler [Tue, 26 Apr 2011 14:05:01 +0000 (14:05 +0000)]
BAD TASN!
ROLL BACK TODAYS CHANGES TO EVAS....
SEGV SEGV EVERYWHERE!
*SPANK*
SVN revision: 58933
Daniel Juyung Seo [Tue, 26 Apr 2011 13:02:02 +0000 (13:02 +0000)]
Evas Evas.h: Sync dox authors with AUTHORS file.
SVN revision: 58932
Michael BOUCHAUD [Tue, 26 Apr 2011 12:36:57 +0000 (12:36 +0000)]
email address of Thierry El Borgi
SVN revision: 58931
Tom Hacohen [Tue, 26 Apr 2011 10:21:01 +0000 (10:21 +0000)]
Evas font-engine: fix issue with using the wrong fi.
SVN revision: 58930
Carsten Haitzler [Tue, 26 Apr 2011 09:41:07 +0000 (09:41 +0000)]
make generic loader 2 stage (head + data)
SVN revision: 58927
Tom Hacohen [Tue, 26 Apr 2011 09:26:33 +0000 (09:26 +0000)]
Evas font-engine: use the cached fi instead of searching for it.
SVN revision: 58926
Tom Hacohen [Tue, 26 Apr 2011 09:14:23 +0000 (09:14 +0000)]
Evas font-engine: Added a fixme.
SVN revision: 58925
Tom Hacohen [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.
SVN revision: 58924
Carsten Haitzler [Tue, 26 Apr 2011 08:45:21 +0000 (08:45 +0000)]
fixme++
SVN revision: 58923
Vincent Torri [Tue, 26 Apr 2011 06:55:17 +0000 (06:55 +0000)]
Eina: eina_lock : fix compilation on Windows. eina_object.c must be fixed too.
SVN revision: 58920
Carsten Haitzler [Tue, 26 Apr 2011 05:12:25 +0000 (05:12 +0000)]
use correct hdr in shm open check.
SVN revision: 58917
Carsten Haitzler [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).
SVN revision: 58914
Cedric BAIL [Mon, 25 Apr 2011 17:11:58 +0000 (17:11 +0000)]
evas: don't forget to init eina_threads when using threads.
SVN revision: 58908
Cedric BAIL [Mon, 25 Apr 2011 17:04:46 +0000 (17:04 +0000)]
eio: add Eio_Monitor API.
Not yet working. Need to handle message, add fallback and windows support.
SVN revision: 58907
Cedric BAIL [Mon, 25 Apr 2011 17:01:26 +0000 (17:01 +0000)]
eio: fix eio shadow warning.
SVN revision: 58906
Vincent Torri [Mon, 25 Apr 2011 13:10:57 +0000 (13:10 +0000)]
Ecore: ecore_con: fix warning on Windows
SVN revision: 58899
Carsten Haitzler [Mon, 25 Apr 2011 09:42:49 +0000 (09:42 +0000)]
oops - didnt mean to commit that. that was just an example.
SVN revision: 58897