Cedric BAIL [Mon, 9 May 2011 10:29:55 +0000 (10:29 +0000)]
eina: check pending lock at the right time.
SVN revision: 59286
Tom Hacohen [Mon, 9 May 2011 08:40:15 +0000 (08:40 +0000)]
Edje entry: Speed up anchor calculation.
SVN revision: 59285
Tom Hacohen [Mon, 9 May 2011 07:40:14 +0000 (07:40 +0000)]
Evas text: clean up evas_text_style_pad_get a bit further.
SVN revision: 59284
Tom Hacohen [Sun, 8 May 2011 15:43:44 +0000 (15:43 +0000)]
Evas text: Made evas_text_style_pad_get faster.
SVN revision: 59282
Tom Hacohen [Sun, 8 May 2011 15:33:23 +0000 (15:33 +0000)]
Evas textblock: Do a bit of uchar -> Eina_Bool and setting as bitfield.
SVN revision: 59281
Tom Hacohen [Sun, 8 May 2011 15:33:20 +0000 (15:33 +0000)]
Evas textblock: Remove unused alloca.
SVN revision: 59280
Tom Hacohen [Sun, 8 May 2011 14:54:27 +0000 (14:54 +0000)]
Evas textblock: Clean up clipping and render a bit.
SVN revision: 59279
Tom Hacohen [Sun, 8 May 2011 12:26:44 +0000 (12:26 +0000)]
Evas table: fix ui-mirroring with homogeneous tables.
SVN revision: 59277
Tom Hacohen [Sun, 8 May 2011 11:20:19 +0000 (11:20 +0000)]
Evas textblock: Break on mandatory and allowed break options.
SVN revision: 59274
Tom Hacohen [Sun, 8 May 2011 11:20:16 +0000 (11:20 +0000)]
Evas textblock: Moved format text_node invalidation to it's own function.
SVN revision: 59273
Tom Hacohen [Sun, 8 May 2011 11:20:13 +0000 (11:20 +0000)]
Evas textblock: Move ellipsis handling to a different function.
SVN revision: 59272
Tom Hacohen [Sun, 8 May 2011 09:13:59 +0000 (09:13 +0000)]
Evas textblock: clean up mixed/word wrap a bit.
SVN revision: 59271
Tom Hacohen [Sun, 8 May 2011 09:13:56 +0000 (09:13 +0000)]
Evas textblock: Fix possible issues with charwrap not wrapping correctly.
SVN revision: 59270
Daniel Juyung Seo [Sun, 8 May 2011 06:21:33 +0000 (06:21 +0000)]
Edje: Improved vim syntax file edc.vim.
SVN revision: 59264
Daniel Juyung Seo [Sat, 7 May 2011 08:01:42 +0000 (08:01 +0000)]
Evas evas_object_smart.c: Fixed indentation.
SVN revision: 59258
ChunEon Park [Fri, 6 May 2011 11:04:32 +0000 (11:04 +0000)]
evas / evas_object_smart - mistook! spank my ass!
SVN revision: 59242
ChunEon Park [Fri, 6 May 2011 10:55:24 +0000 (10:55 +0000)]
evas/evas_object_smart - fixed parent cache invalidation logic error.
SVN revision: 59241
Tom Hacohen [Fri, 6 May 2011 10:00:21 +0000 (10:00 +0000)]
Evas textblock: Fix seg with empty textblocks that cause wrapping.
Revert "evas: don't assume anymore that text_node is != NULL."
This reverts commit 59231
Thanks to cedric for the report + initial fix.
SVN revision: 59237
Cedric BAIL [Fri, 6 May 2011 09:36:24 +0000 (09:36 +0000)]
evas: don't try all loader on directory.
SVN revision: 59235
Cedric BAIL [Fri, 6 May 2011 09:16:40 +0000 (09:16 +0000)]
eina: remove flood of debugging information.
SVN revision: 59234
Cedric BAIL [Fri, 6 May 2011 09:07:26 +0000 (09:07 +0000)]
eina: remove useless lock.
SVN revision: 59233
Cedric BAIL [Fri, 6 May 2011 09:01:18 +0000 (09:01 +0000)]
evas: actually check if loading header was fine.
SVN revision: 59232
Cedric BAIL [Fri, 6 May 2011 09:00:44 +0000 (09:00 +0000)]
evas: don't assume anymore that text_node is != NULL.
SVN revision: 59231
Tom Hacohen [Thu, 5 May 2011 17:57:31 +0000 (17:57 +0000)]
Evas liblinebreak: Don't ship it's headers. Oops, missed that one.
SVN revision: 59220
Tom Hacohen [Thu, 5 May 2011 16:35:39 +0000 (16:35 +0000)]
Evas textblock: Fix linewrap to only wrap if there's a wrap point.
For example before the fix, "aaa<b>cccc</>aaa" would have 2 possible
wrap points, <b> and </>, after the fix, those are no longer valid.
Also fixed another issue with wrapping not working.
SVN revision: 59219
Tom Hacohen [Thu, 5 May 2011 16:35:36 +0000 (16:35 +0000)]
Evas textblock: Updated a FIXME.
SVN revision: 59218
Tom Hacohen [Thu, 5 May 2011 16:35:32 +0000 (16:35 +0000)]
Evas textblock: Until we actually use it in charwrap, don't malloc line_breaks.
SVN revision: 59217
Tom Hacohen [Thu, 5 May 2011 13:38:09 +0000 (13:38 +0000)]
Evas textblock: Wrapping is now absolute to the paragraph.
This is not yet noticable, still need to use the new info.
SVN revision: 59215
Tom Hacohen [Thu, 5 May 2011 13:38:04 +0000 (13:38 +0000)]
Evas textblock: Use more relevant replacement chars for formats.
For example we use 0x2029 (PS char) for paragraph separator, \n for newline
and \t for tab. This lets us handle their bidi and line break properties
in a more correct manner.
SVN revision: 59214
Gustavo Sverzut Barbieri [Thu, 5 May 2011 13:33:12 +0000 (13:33 +0000)]
fix it so it's extensible and we'll avoid errors in future.
Often people will copy, paste and modify the "if" block, so let's do
it right from beginning. What was wrong was the "" (empty string) as
initial SUBDIR.
SVN revision: 59213
Tom Hacohen [Thu, 5 May 2011 12:50:36 +0000 (12:50 +0000)]
Evas static_deps: And now fix the Makefile.am.
SVN revision: 59211
Tom Hacohen [Thu, 5 May 2011 12:42:46 +0000 (12:42 +0000)]
Evas: Actually add the static_deps make file.
SVN revision: 59210
Tom Hacohen [Thu, 5 May 2011 11:06:09 +0000 (11:06 +0000)]
Evas: Updated changelog.
SVN revision: 59209
Tom Hacohen [Thu, 5 May 2011 11:06:06 +0000 (11:06 +0000)]
Evas textblock: Clean up word/mixed wrap and add liblinebreak support.
SVN revision: 59208
Tom Hacohen [Thu, 5 May 2011 11:06:03 +0000 (11:06 +0000)]
Evas font-engine: Made the cutoff error more verbose.
SVN revision: 59207
Tom Hacohen [Thu, 5 May 2011 11:05:59 +0000 (11:05 +0000)]
Evas font-query: Fixed documentation error.
SVN revision: 59206
Tom Hacohen [Thu, 5 May 2011 11:05:54 +0000 (11:05 +0000)]
Evas canvas: use liblinebreak when available.
SVN revision: 59205
Tom Hacohen [Thu, 5 May 2011 11:05:50 +0000 (11:05 +0000)]
Evas linebraek: Fix liblinebreak's CB class at sot handling.
SVN revision: 59204
Tom Hacohen [Thu, 5 May 2011 11:05:44 +0000 (11:05 +0000)]
Evas: Added liblinebreak (static dep) to the build process.
SVN revision: 59203
Tom Hacohen [Thu, 5 May 2011 11:05:37 +0000 (11:05 +0000)]
Evas text_utils: Added evas_common_text_props_can_split
SVN revision: 59202
Cedric BAIL [Wed, 4 May 2011 13:53:22 +0000 (13:53 +0000)]
eina: improve on/off and debugging lock.
Now if a lock is still taken when shutdown occur, you will know
where it come from !
SVN revision: 59191
ChunEon Park [Wed, 4 May 2011 11:19:49 +0000 (11:19 +0000)]
evas / canvas - removed useless line.
SVN revision: 59190
Tom Hacohen [Wed, 4 May 2011 08:46:17 +0000 (08:46 +0000)]
Evas font: only "bidi-shape" RTL strings.
SVN revision: 59183
Tom Hacohen [Wed, 4 May 2011 08:27:19 +0000 (08:27 +0000)]
Evas font-engine: Moved non-draw related from font_draw.c to font_main.c
SVN revision: 59180
Tom Hacohen [Wed, 4 May 2011 08:27:13 +0000 (08:27 +0000)]
Evas font-engine: Use Eina_Unicode instead of int for unicode codepoints
SVN revision: 59179
Carsten Haitzler [Wed, 4 May 2011 08:05:46 +0000 (08:05 +0000)]
make get program binary able to be disabled via env var and display if
wee find the extn too. tested on gles now too.
SVN revision: 59178
Tom Hacohen [Wed, 4 May 2011 06:57:45 +0000 (06:57 +0000)]
Evas language: Fixed a warning and a comment.
SVN revision: 59173
Tom Hacohen [Wed, 4 May 2011 06:57:35 +0000 (06:57 +0000)]
Evas text: Don't save unicode text, no use for it.
SVN revision: 59172
Carsten Haitzler [Wed, 4 May 2011 06:29:30 +0000 (06:29 +0000)]
fix warning.
SVN revision: 59169
Carsten Haitzler [Wed, 4 May 2011 06:15:11 +0000 (06:15 +0000)]
chlog++
SVN revision: 59168
Jiyoun Park [Wed, 4 May 2011 06:15:00 +0000 (06:15 +0000)]
From: Jiyoun Park <jy0703.park@samsung.com>
Subject: [E-devel] [Patch] Evas gl shader use binary shader
I make patch related with evas gl binary shader.
The concept of binary shader is compile shader only once.
Some people want to use binary shader because of performance issue.
In current evas gl engine, every application have to compile shader each
time.
But I modify code , so only first running application need compile shader.
Other application use already compiled shader(binary shader)
The binary shader is made under HOME/.evas/gl_common_shaders directory.
Binary shader is created according to GL vendor,GL renderer, GL version and
Module_arch.
The basic flow is
1. First running application which use gl engine check binary shader
directory, but it can't find binary shader.
2. After compiling shader, It saves compiled shaders..
3. Other application checks shader directory, it can use binary
shaders.
In mobile target, using binary shader, I can save 150ms. (that time, there
is 11 shaders).
If there is more shaders and more applications, this flow maybe save more
total time.
(the above is now in, changelog coming, with change to using ~/.cache,
some formatting fixes, make ity do the desktop gl one right with the
retrievable hint parameter ont he program etc. - doesn't break desktop
gl at least. yay. a,so fixes to mke it compile at all).
SVN revision: 59167
Carsten Haitzler [Wed, 4 May 2011 02:28:23 +0000 (02:28 +0000)]
chlog++
SVN revision: 59158
Carsten Haitzler [Wed, 4 May 2011 02:27:00 +0000 (02:27 +0000)]
improve table layout for homogneous mode so it rounds correctly if
table not a multiple of rows and/or cols in size
SVN revision: 59157
Tom Hacohen [Tue, 3 May 2011 16:18:17 +0000 (16:18 +0000)]
Evas font-engine: Fix size activation of fi in content_create.
SVN revision: 59153
Tom Hacohen [Tue, 3 May 2011 14:36:47 +0000 (14:36 +0000)]
Evas font-engine: Fix glyphs not being drawn.
Thanks to Brian Wang for the report.
This happened because we were querying for the index of the wrong fi,
this became especially visible after we started caching fi.
SVN revision: 59152
Cedric BAIL [Tue, 3 May 2011 13:07:26 +0000 (13:07 +0000)]
eio: add forgotten file.
SVN revision: 59149
Cedric BAIL [Tue, 3 May 2011 10:36:51 +0000 (10:36 +0000)]
eio: add beginning of xattr support.
SVN revision: 59146
Carsten Haitzler [Tue, 3 May 2011 10:00:54 +0000 (10:00 +0000)]
chlog++
SVN revision: 59145
Carsten Haitzler [Tue, 3 May 2011 09:46:55 +0000 (09:46 +0000)]
fix segv! wow. data was null.
SVN revision: 59144
Carsten Haitzler [Tue, 3 May 2011 09:10:10 +0000 (09:10 +0000)]
aaaaah fix my fix for preloading multi-target entry stuff to call per
preload target again (fix shortcut)
SVN revision: 59143
Carsten Haitzler [Tue, 3 May 2011 05:53:20 +0000 (05:53 +0000)]
also conflict with gl2.h (gles2 headers)
SVN revision: 59142
Carsten Haitzler [Tue, 3 May 2011 03:24:36 +0000 (03:24 +0000)]
formatting fix.
SVN revision: 59141
Carsten Haitzler [Tue, 3 May 2011 03:20:02 +0000 (03:20 +0000)]
if you preload the same image more than once.. it may/will cause
problems as target is inserter in cache image target list multiple
times. fix by only alloding preload request to go in once.
SVN revision: 59140
Carsten Haitzler [Tue, 3 May 2011 03:11:08 +0000 (03:11 +0000)]
wrn--
SVN revision: 59139
Tom Hacohen [Mon, 2 May 2011 18:19:41 +0000 (18:19 +0000)]
Eina lock: unused warning suppression is done with (void).
Not only that it's uglier doing mutex=0, but also new gcc started
complainig about it.
SVN revision: 59137
Tom Hacohen [Mon, 2 May 2011 15:33:46 +0000 (15:33 +0000)]
Evas font-engine: Remove passing of strings to font_draw.
This is not needed anymore because we have working string objects.
SVN revision: 59133
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