Commit Graph

639 Commits

Author SHA1 Message Date
Tom Hacohen 509e7bed98 Evas font-engine: handle invisible chars in font query.
SVN revision: 56429
2011-01-30 10:33:43 +00:00
Tom Hacohen 039fd390a7 Evas font engine: Fixed query_size and query advance.
SVN revision: 56427
2011-01-30 10:33:32 +00:00
Tom Hacohen 34d5f9141d Evas font engine: Merge text walking to a couple of macros, this is more consistent, and the code is smaller and easier to handle.
SVN revision: 56426
2011-01-30 10:33:24 +00:00
Tom Hacohen d7c2187c1f Evas font engine: Added skipping of invisible chars to the font drawing function - this means we can't draw them until we add a specil "draw inivisble" mode.
SVN revision: 56424
2011-01-30 10:33:14 +00:00
Tom Hacohen a92826ae5e Evas textblock: Fixed mixed format and text item reordering.
SVN revision: 56404
2011-01-30 10:31:08 +00:00
Carsten Haitzler c472771a84 well neon asm was wrongly documented - and wrong before anyway. it's
disabled for now and uses memcpy. bizarre stuff occurs if i try use it
though.



SVN revision: 56304
2011-01-26 08:45:11 +00:00
Carsten Haitzler ecd007c049 fix slow path in neon - memcpy is actually faster! :)
SVN revision: 56240
2011-01-20 09:33:07 +00:00
Carsten Haitzler 6a5adabb1c prevent fpe (dv by 0)
SVN revision: 56191
2011-01-16 12:04:40 +00:00
Carsten Haitzler 4da0e7dbb6 remove unused code.
SVN revision: 56177
2011-01-16 06:22:45 +00:00
Carsten Haitzler e0fbc8d169 chr never used in func.
SVN revision: 56175
2011-01-16 06:19:12 +00:00
Carsten Haitzler e7bd084847 in case we access other footer elements in future - align it.
SVN revision: 56174
2011-01-16 06:00:12 +00:00
Carsten Haitzler 9218ac3c38 more robust utf8 walking code to survive malformed utf8 and not crash
in the next ut8 char get code.



SVN revision: 56131
2011-01-15 14:08:56 +00:00
Mike Blumenkrantz 4f5e4e0765 sighhh add more calloc checks
SVN revision: 56100
2011-01-14 06:35:41 +00:00
Mike Blumenkrantz 39eb62a758 add calloc check to avoid null deref
SVN revision: 56098
2011-01-14 06:28:40 +00:00
Mike Blumenkrantz fbb73e32a9 another dead store
SVN revision: 56094
2011-01-14 06:14:39 +00:00
Mike Blumenkrantz 930a112d6f this is never read, so remove it
SVN revision: 56092
2011-01-14 06:11:07 +00:00
Carsten Haitzler da9bf3353f oooh oops. all calls to cache_prune already lock for it.. so deadlock!
fix fix! sorry!



SVN revision: 56043
2011-01-11 08:12:32 +00:00
Carsten Haitzler 49f5946b26 remove dangling useless template code
SVN revision: 56038
2011-01-11 05:43:48 +00:00
Carsten Haitzler 04ab07667b fix possible thread lock issue - scalecache wasnt locked in 1
circumstance.



SVN revision: 56037
2011-01-11 05:43:10 +00:00
Carsten Haitzler 19d4f8affc add unload callback - missing event problem that makes it impossible
for client apps that tried to be efficient with preloads to adapt
when the preloaded data is taken away from them. this allows it.
missing callback api bug fix.



SVN revision: 55745
2010-12-24 16:04:27 +00:00
Vincent Torri bb9de107ad preload_done member is declared only if async preload is enabled
SVN revision: 55627
2010-12-18 10:09:58 +00:00
Vincent Torri c60b4933c0 preload_done member is declared only if async preload is enabled
SVN revision: 55626
2010-12-18 09:59:50 +00:00
Vincent Torri 9064029863 missing declaration
SVN revision: 55625
2010-12-18 08:48:58 +00:00
Carsten Haitzler 62c8659619 fixed async preload stall bug! still 1 issue left when caches
(scalecaches) are flushed which can cause a hang until all data is
"loaded back in" again. it's a bit of a doosey actually and so isn't
fixed here.



SVN revision: 55551
2010-12-14 10:22:06 +00:00
Carsten Haitzler bd3ae0dc9d fix warning.
SVN revision: 55542
2010-12-14 03:09:01 +00:00
Carsten Haitzler b493685f89 set clobber info right for neon test.
SVN revision: 55529
2010-12-13 03:56:53 +00:00
Brett Nash f2e4cc5555 Evas: Neon: Do neon test if ARM...
Not ARM 70.  So this should you know... turn on the neon test.

SVN revision: 55317
2010-12-06 07:53:33 +00:00
Brett Nash 157bf3a573 Evas: Neon: More .fpu neon flags
Also clean up some ugly code.

SVN revision: 55314
2010-12-06 04:57:54 +00:00
Brett Nash 19c28b345f Evas: Neon: Explicitly set the .fpu flag for neon.
This means you should not need to set any special compiler flags; which should
mean gcc will generate non-neon specific asm (unless you tell it to).  This
means it is possible to build an armv6 binary with neon suppor (as we always
meant to to do).

SVN revision: 55307
2010-12-06 01:50:32 +00:00
Carsten Haitzler cb41bf7dbd From: 백근훈 [mailto:knhoon.baik@samsung.com]
Subject: evas scalecache 관련 패치 검토 요청
...

There is the report that evas_engine_dump() does not dump scalecache.
Knhoon made a patch for that.



SVN revision: 55178
2010-12-03 09:36:17 +00:00
Carsten Haitzler 10bfc098fb fix neon (thnx nash) to not round down incorrectly on blend
SVN revision: 55115
2010-12-01 09:46:49 +00:00
Carsten Haitzler afa0050f32 fix smooth scaler to not round down incorrectly.
SVN revision: 55114
2010-12-01 09:46:26 +00:00
Carsten Haitzler f5b7648de0 make cutout rect blocks a bit bigger.
SVN revision: 54547
2010-11-14 06:00:35 +00:00
Tom Hacohen 7bf2353f96 Evas font-engine: Fixed the first miss breaks font bug and removed the work around. My tests show it work, but just to make sure, if it doesn't for you, let me know.
SVN revision: 54456
2010-11-11 13:07:04 +00:00
Cedric BAIL 87d707ee2c * evas: some style fix.
SVN revision: 54331
2010-11-08 14:34:19 +00:00
Cedric BAIL 4e1ea67122 * evas: don't segv when manipulating line at canvas border.
FIXME: When the jump code start, it break line continuity and
	make them look hugly. I have no idea how to properly fix that
	right now.


SVN revision: 54330
2010-11-08 14:31:22 +00:00
Cedric BAIL 4b50987072 * evas: fix possible off by one bug with line object.
Reported by Daniele.


SVN revision: 54182
2010-11-05 14:59:22 +00:00
Tom Hacohen da512dde9b Evas font-engine: Don't break if there was a previous miss. This is a workaround for a bug in the font index caching mechanism that happens if you cache the index miss before all the fonts were changed. We should probably just put a "dirty" flag on font sets that loaded more fonts or something like that.
SVN revision: 54157
2010-11-04 16:32:42 +00:00
Carsten Haitzler 05246414c6 oops - in the process i disabled the multiple fonts in the fontsets to
load on demand when first needed. fixed. rendering etc. works again
for all intl fonts.



SVN revision: 54085
2010-11-02 04:56:57 +00:00
Carsten Haitzler e0e6020902 work on fixing up a font "leak". its disabled via returns in funcs -
but also added in 24bit unicode support. needed for unicode v6
absolutely.. so we can have the pile of poo char work.



SVN revision: 53987
2010-10-29 12:55:42 +00:00
Carsten Haitzler 541394175a fix tasn bug++
SVN revision: 53860
2010-10-25 11:56:20 +00:00
Carsten Haitzler 3a9d3268d2 fix warnings in async render code.. and well.. warn about it - it
crashes for me in expedite with 4 cores on x86 at random points. looks
like it's bitrotting. though it was relatively tentative to begin with.



SVN revision: 53856
2010-10-25 11:27:17 +00:00
Tom Hacohen 79ec0e7975 Evas font-engine: Silence gcc about a possible use of unitialized value which can't really happen. Add parenthesis where needed.
SVN revision: 53855
2010-10-25 11:24:25 +00:00
Tom Hacohen 9a89173df6 Evas font-engine: Reverted my hack in 53828 because cedric already implemented clipping to object geometry.
SVN revision: 53830
2010-10-24 12:28:36 +00:00
Tom Hacohen b705c2c038 Evas font-engine: Hacked around a wrong setting of clipping in textblock. - Email in ML will soon follow.
SVN revision: 53828
2010-10-24 10:59:52 +00:00
Cedric BAIL d88f751b16 * evas: prevent possible segv.
SVN revision: 53408
2010-10-14 15:52:10 +00:00
Tom Hacohen 8d0492fcfd Evas textblock + font engine: Don't take inset into account when not needed.
SVN revision: 53353
2010-10-13 13:33:59 +00:00
Gustavo Sverzut Barbieri 379b546adf better logging.
* log domains in lower-case only please. let's make it a standard so
   we don't have to look at the code everytime to figure out the name...

 * logs do NOT require trailing newline (\n), it's automatic!

 * do NOT add newline inside log messages!

 * add gl_common logging.

NOTE: I tried to compile all modules, but there are clear broken
      modules such as cairo and qtopia. Other modules like gl_sdl are
      broken as they were not updated to new gl_common api (resize
      method AFAIR).



SVN revision: 53174
2010-10-07 23:46:42 +00:00
Christopher Michael 2f3b2b99e5 Fix issue when using word-cache: Make sure we have a 'last' word
before trying to free it, else we segfault.

Fix compiler warnings wrt const vs non-const of Evas_BiDi_Props.
Fix formatting and remove whitespace also.

NB: The major change here is in evas_font_word_prerender wrt freeing
the 'last' word of the cache.



SVN revision: 53166
2010-10-07 21:07:53 +00:00
Tom Hacohen fc060c6a8f Evas font query: query coords should not take bitmap positioning into account.
SVN revision: 53097
2010-10-06 12:24:14 +00:00