Commit Graph

13474 Commits

Author SHA1 Message Date
Tom Hacohen 2d0304019d 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
2011-05-06 10:00:21 +00:00
Cedric BAIL a68c149866 evas: don't try all loader on directory.
SVN revision: 59235
2011-05-06 09:36:24 +00:00
Cedric BAIL 8820713691 eina: remove flood of debugging information.
SVN revision: 59234
2011-05-06 09:16:40 +00:00
Cedric BAIL b4f8d80b02 eina: remove useless lock.
SVN revision: 59233
2011-05-06 09:07:26 +00:00
Cedric BAIL ba96d1220f evas: actually check if loading header was fine.
SVN revision: 59232
2011-05-06 09:01:18 +00:00
Cedric BAIL 139e49792d evas: don't assume anymore that text_node is != NULL.
SVN revision: 59231
2011-05-06 09:00:44 +00:00
Tom Hacohen a82b3834b3 Evas liblinebreak: Don't ship it's headers. Oops, missed that one.
SVN revision: 59220
2011-05-05 17:57:31 +00:00
Tom Hacohen 53a6bbeb8b 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
2011-05-05 16:35:39 +00:00
Tom Hacohen 4c9b729cd3 Evas textblock: Updated a FIXME.
SVN revision: 59218
2011-05-05 16:35:36 +00:00
Tom Hacohen 31c8b4d7f7 Evas textblock: Until we actually use it in charwrap, don't malloc line_breaks.
SVN revision: 59217
2011-05-05 16:35:32 +00:00
Tom Hacohen 9677320259 Evas textblock: Wrapping is now absolute to the paragraph.
This is not yet noticable, still need to use the new info.

SVN revision: 59215
2011-05-05 13:38:09 +00:00
Tom Hacohen c6751884b0 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
2011-05-05 13:38:04 +00:00
Gustavo Sverzut Barbieri d974109126 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
2011-05-05 13:33:12 +00:00
Tom Hacohen 424cd61f2d Evas static_deps: And now fix the Makefile.am.
SVN revision: 59211
2011-05-05 12:50:36 +00:00
Tom Hacohen 6709470bea Evas: Actually add the static_deps make file.
SVN revision: 59210
2011-05-05 12:42:46 +00:00
Tom Hacohen 604ad360ff Evas: Updated changelog.
SVN revision: 59209
2011-05-05 11:06:09 +00:00
Tom Hacohen 921067869c Evas textblock: Clean up word/mixed wrap and add liblinebreak support.
SVN revision: 59208
2011-05-05 11:06:06 +00:00
Tom Hacohen 94cb08b3fc Evas font-engine: Made the cutoff error more verbose.
SVN revision: 59207
2011-05-05 11:06:03 +00:00
Tom Hacohen 05df9e72f2 Evas font-query: Fixed documentation error.
SVN revision: 59206
2011-05-05 11:05:59 +00:00
Tom Hacohen c28c5625c5 Evas canvas: use liblinebreak when available.
SVN revision: 59205
2011-05-05 11:05:54 +00:00
Tom Hacohen a4dbf6867b Evas linebraek: Fix liblinebreak's CB class at sot handling.
SVN revision: 59204
2011-05-05 11:05:50 +00:00
Tom Hacohen bf909af0f3 Evas: Added liblinebreak (static dep) to the build process.
SVN revision: 59203
2011-05-05 11:05:44 +00:00
Tom Hacohen e307051ccb Evas text_utils: Added evas_common_text_props_can_split
SVN revision: 59202
2011-05-05 11:05:37 +00:00
Cedric BAIL 25550183e0 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
2011-05-04 13:53:22 +00:00
ChunEon Park 2b52e0b758 evas / canvas - removed useless line.
SVN revision: 59190
2011-05-04 11:19:49 +00:00
Tom Hacohen 5e287a25da Evas font: only "bidi-shape" RTL strings.
SVN revision: 59183
2011-05-04 08:46:17 +00:00
Tom Hacohen cd674cb1c6 Evas font-engine: Moved non-draw related from font_draw.c to font_main.c
SVN revision: 59180
2011-05-04 08:27:19 +00:00
Tom Hacohen b186585231 Evas font-engine: Use Eina_Unicode instead of int for unicode codepoints
SVN revision: 59179
2011-05-04 08:27:13 +00:00
Carsten Haitzler 97a12de552 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
2011-05-04 08:05:46 +00:00
Tom Hacohen 232158ba48 Evas language: Fixed a warning and a comment.
SVN revision: 59173
2011-05-04 06:57:45 +00:00
Tom Hacohen f3b54de94d Evas text: Don't save unicode text, no use for it.
SVN revision: 59172
2011-05-04 06:57:35 +00:00
Carsten Haitzler 3c434464d1 fix warning.
SVN revision: 59169
2011-05-04 06:29:30 +00:00
Carsten Haitzler b520b60b81 chlog++
SVN revision: 59168
2011-05-04 06:15:11 +00:00
Jiyoun Park 56111d2b69 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
2011-05-04 06:15:00 +00:00
Carsten Haitzler cc9bc35e59 chlog++
SVN revision: 59158
2011-05-04 02:28:23 +00:00
Carsten Haitzler 1a9054b5f4 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
2011-05-04 02:27:00 +00:00
Tom Hacohen 3f0411265a Evas font-engine: Fix size activation of fi in content_create.
SVN revision: 59153
2011-05-03 16:18:17 +00:00
Tom Hacohen 2e71b5ab90 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
2011-05-03 14:36:47 +00:00
Cedric BAIL fdb32980b5 eio: add forgotten file.
SVN revision: 59149
2011-05-03 13:07:26 +00:00
Cedric BAIL fb2310d5a4 eio: add beginning of xattr support.
SVN revision: 59146
2011-05-03 10:36:51 +00:00
Carsten Haitzler c9fe9dfef3 chlog++
SVN revision: 59145
2011-05-03 10:00:54 +00:00
Carsten Haitzler 043bd2644a fix segv! wow. data was null.
SVN revision: 59144
2011-05-03 09:46:55 +00:00
Carsten Haitzler eb5208f2f0 aaaaah fix my fix for preloading multi-target entry stuff to call per
preload target again (fix shortcut)



SVN revision: 59143
2011-05-03 09:10:10 +00:00
Carsten Haitzler 3610be8437 also conflict with gl2.h (gles2 headers)
SVN revision: 59142
2011-05-03 05:53:20 +00:00
Carsten Haitzler c31c015c68 formatting fix.
SVN revision: 59141
2011-05-03 03:24:36 +00:00
Carsten Haitzler 57e07025d4 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
2011-05-03 03:20:02 +00:00
Carsten Haitzler 569ca2b315 wrn--
SVN revision: 59139
2011-05-03 03:11:08 +00:00
Tom Hacohen 4a11dacf16 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
2011-05-02 18:19:41 +00:00
Tom Hacohen e93f10b8aa Evas font-engine: Remove passing of strings to font_draw.
This is not needed anymore because we have working string objects.

SVN revision: 59133
2011-05-02 15:33:46 +00:00
Tom Hacohen dad49dd1f2 Evas font-draw: Fix word-cache to not need text.
SVN revision: 59132
2011-05-02 15:33:38 +00:00