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
Vincent Torri [Mon, 25 Apr 2011 09:14:59 +0000 (09:14 +0000)]
formatting
SVN revision: 58896
Carsten Haitzler [Mon, 25 Apr 2011 09:02:20 +0000 (09:02 +0000)]
add backlight api to NEWS
SVN revision: 58894
Cedric BAIL [Mon, 25 Apr 2011 08:48:20 +0000 (08:48 +0000)]
eina: fix eina_lock on windows.
SVN revision: 58893
Sung W. Park [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.
SVN revision: 58892
Cedric BAIL [Mon, 25 Apr 2011 07:14:54 +0000 (07:14 +0000)]
ecore: fix name.
SVN revision: 58890
Vincent Torri [Mon, 25 Apr 2011 07:06:12 +0000 (07:06 +0000)]
Ecore: NEWS file filled.
SVN revision: 58889
Cedric BAIL [Mon, 25 Apr 2011 06:10:15 +0000 (06:10 +0000)]
ecore: update ChangeLog name to new name.
SVN revision: 58888
Jihoon Kim [Mon, 25 Apr 2011 05:57:49 +0000 (05:57 +0000)]
From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] bug fix : preedit text was commited when
shift key was pressed
ATM, preedit text is commited when shift key is pressed.
This patch file is for solving this bug.
SVN revision: 58887
Jihoon Kim [Mon, 25 Apr 2011 05:36:58 +0000 (05:36 +0000)]
From: Jihoon Kim <imfine98@gmail.com>
Subject: [E-devel] [PATCH] bug fix in : "cursor, changed" signal is
not emitted when the content of entry is removed
I found the bug that "cursor,changed" signal is not emitted when the content
of entry is removed.
Let's assume the cursor position is equal to 10.
In this situation, elm_entry_entry_set(en, "") is called.
The content of entry is removed and the cursor position is equal to 0, but
"cursor,changed" signal is not emitted.
This patch is for solving this problem.
In addition, it lets the input method module know the cursor position using
ecore_imf_context_cursor_position_set API
in case that _edje_entry_set_cursor_{start, end} is called.
(Raster: actually it should always emit changed. not check pos at all.
technically pos could be the same BUT cursor moved on screen due to a
reformat). :)
SVN revision: 58886
Carsten Haitzler [Mon, 25 Apr 2011 02:36:14 +0000 (02:36 +0000)]
warnings--
SVN revision: 58884
Carsten Haitzler [Mon, 25 Apr 2011 02:30:42 +0000 (02:30 +0000)]
lets compile again shall we?
SVN revision: 58883
Carsten Haitzler [Mon, 25 Apr 2011 02:28:42 +0000 (02:28 +0000)]
lets have a Makefile.am shall we?
SVN revision: 58882
Cedric BAIL [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.
SVN revision: 58878
Cedric BAIL [Sun, 24 Apr 2011 20:22:50 +0000 (20:22 +0000)]
eina: move eina_object to use eina_lock too.
SVN revision: 58876
Cedric BAIL [Sun, 24 Apr 2011 20:22:17 +0000 (20:22 +0000)]
eina: put global into namespace and add lock abort
SVN revision: 58875
Cedric BAIL [Sun, 24 Apr 2011 20:21:07 +0000 (20:21 +0000)]
evas: remove a few shadow variable.
SVN revision: 58874
Cedric BAIL [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.
SVN revision: 58873