Tom Hacohen
dd503b47fd
Evas textblock: Fix a potential bug in wrapping.
...
SVN revision: 59464
2011-05-17 07:08:33 +00:00
Carsten Haitzler
a59cd2a040
pointed out by jiyoun ... but patch wasn't quite right. shouldnt
...
manually ref-- the old im - should call drop. also... dont make
original dirty as we don't modify it, we just drop (unref) it.
SVN revision: 59431
2011-05-16 02:06:41 +00:00
Tom Hacohen
e4dada93e6
Evas textblock: Set cursor position if not already set when inserting text.
...
This was always the meaning of cur->node=NULL, but here it explicitly
does it, which makes things easier in the long run.
SVN revision: 59406
2011-05-15 15:36:04 +00:00
Tom Hacohen
1e542a0d47
Evas textblock: Fixed a possible bug with wordwrap.
...
SVN revision: 59405
2011-05-15 13:57:47 +00:00
Tom Hacohen
353ce0f48a
Evas textblock: Speed up rendering. Find the start paragraph for all.
...
Until now all the format/text drawing loops went through all the
paragraphs skipping all the ones that are outside the clipping/object
zone. This changeset find the first paragraph to be renedred first so we
don't walk all the paragraphs for nothing. This speeds up rendering of
the ends of very big textblocks in a very noticable manner.
SVN revision: 59404
2011-05-15 12:00:01 +00:00
Tom Hacohen
44b8ca79a4
Evas font-engine: Remove the useless RGBA_Font_Source hb.face.
...
SVN revision: 59403
2011-05-15 11:59:58 +00:00
Tom Hacohen
726d37b782
Evas font-engine: Adjust code to use latest Harfbuzz (0.5.0)
...
SVN revision: 59402
2011-05-15 11:59:54 +00:00
Vincent Torri
c3d5bfb5c5
Evas: cache: missing guards
...
SVN revision: 59394
2011-05-15 10:11:22 +00:00
Vincent Torri
f0cbd4add5
add some guards for non Windows headers and reorder
...
alphabetically some autotools stuff
SVN revision: 59393
2011-05-15 05:42:30 +00:00
Tom Hacohen
8315f9879c
Evas textblock: Fix segfault with evas_textblock_cursor_content_get.
...
Patch by Brian Wang.
SVN revision: 59347
2011-05-12 15:12:10 +00:00
Tom Hacohen
909e11f49f
Evas font-engine: Fix usage of font cache (= -> ==).
...
SVN revision: 59344
2011-05-12 08:38:24 +00:00
Tom Hacohen
7d1f21946a
Evas font-engine: abort font load even sooner if name is NULL.
...
SVN revision: 59343
2011-05-12 08:38:21 +00:00
Carsten Haitzler
74d6d2b948
wrn--!
...
SVN revision: 59342
2011-05-12 08:30:49 +00:00
Carsten Haitzler
3761d8ecf8
Evas Smart: add ability to get usage count
...
SVN revision: 59341
2011-05-12 08:28:25 +00:00
Carsten Haitzler
6162859727
chlog++
...
SVN revision: 59330
2011-05-11 11:29:21 +00:00
Carsten Haitzler
9d945dd593
fix svg load WITH scaling - scale down size request broken. 2
...
different sizing methods.
SVN revision: 59329
2011-05-11 11:26:51 +00:00
Tom Hacohen
13d032d0b1
Evas textblock: Added _format_list_get for fast retrieval of anchors.
...
This is very useful in edje_entry that keeps a list of anchors.
Currently only "a" and "item" are supported, and unless something
drastic will happen, it will stay this way.
SVN revision: 59325
2011-05-11 10:18:24 +00:00
Carsten Haitzler
ba6775813b
chlog++
...
SVN revision: 59324
2011-05-11 09:55:08 +00:00
Carsten Haitzler
a5d62bdbcd
Fix: egl mode in engine forgot to call pre/post swap callback. thanks
...
guanglim!
SVN revision: 59322
2011-05-11 09:14:59 +00:00
Tom Hacohen
faba2810b4
Evas textblock: Don't allow overwriting the format stack.
...
SVN revision: 59320
2011-05-11 08:35:09 +00:00
Tom Hacohen
fd25efda3a
Evas textblock: Only parse formats that can change the format stack.
...
No need to parse all the newlines when all we want is just to modify the
format stack.
SVN revision: 59319
2011-05-11 08:34:57 +00:00
Cedric BAIL
30ecc3a5b8
evas: fix typos.
...
SVN revision: 59306
2011-05-10 07:55:22 +00:00
Cedric BAIL
21971b92a0
evas: fix xcb build.
...
SVN revision: 59302
2011-05-09 15:18:03 +00:00
Cedric BAIL
c2df2df0c6
evas: don't use dead condition.
...
SVN revision: 59300
2011-05-09 14:42:12 +00:00
Cedric BAIL
f91a33ef0d
evas: we should not rely on mutex recursive stuff. fix potential source of bug.
...
SVN revision: 59294
2011-05-09 12:55:57 +00:00
Cedric BAIL
b15093851e
evas: fix evas_pipe and use eina_condition.
...
SVN revision: 59291
2011-05-09 11:05:04 +00:00
Cedric BAIL
849eea718d
evas: fix software 16 sdl.
...
SVN revision: 59290
2011-05-09 10:56:32 +00:00
Cedric BAIL
2166ee30c5
evas: use Eina_Condition.
...
SVN revision: 59288
2011-05-09 10:33:21 +00:00
Tom Hacohen
e607c581f0
Evas text: clean up evas_text_style_pad_get a bit further.
...
SVN revision: 59284
2011-05-09 07:40:14 +00:00
Tom Hacohen
7cd241ae62
Evas text: Made evas_text_style_pad_get faster.
...
SVN revision: 59282
2011-05-08 15:43:44 +00:00
Tom Hacohen
730bfce44e
Evas textblock: Do a bit of uchar -> Eina_Bool and setting as bitfield.
...
SVN revision: 59281
2011-05-08 15:33:23 +00:00
Tom Hacohen
1a0fba718f
Evas textblock: Remove unused alloca.
...
SVN revision: 59280
2011-05-08 15:33:20 +00:00
Tom Hacohen
edafdf5323
Evas textblock: Clean up clipping and render a bit.
...
SVN revision: 59279
2011-05-08 14:54:27 +00:00
Tom Hacohen
811b4d9a68
Evas table: fix ui-mirroring with homogeneous tables.
...
SVN revision: 59277
2011-05-08 12:26:44 +00:00
Tom Hacohen
9f29ea18d3
Evas textblock: Break on mandatory and allowed break options.
...
SVN revision: 59274
2011-05-08 11:20:19 +00:00
Tom Hacohen
8214888f83
Evas textblock: Moved format text_node invalidation to it's own function.
...
SVN revision: 59273
2011-05-08 11:20:16 +00:00
Tom Hacohen
47a59417d2
Evas textblock: Move ellipsis handling to a different function.
...
SVN revision: 59272
2011-05-08 11:20:13 +00:00
Tom Hacohen
6d14277c6d
Evas textblock: clean up mixed/word wrap a bit.
...
SVN revision: 59271
2011-05-08 09:13:59 +00:00
Tom Hacohen
4851a57f92
Evas textblock: Fix possible issues with charwrap not wrapping correctly.
...
SVN revision: 59270
2011-05-08 09:13:56 +00:00
Daniel Juyung Seo
8d29e13103
Evas evas_object_smart.c: Fixed indentation.
...
SVN revision: 59258
2011-05-07 08:01:42 +00:00
ChunEon Park
fb2d08f92d
evas / evas_object_smart - mistook! spank my ass!
...
SVN revision: 59242
2011-05-06 11:04:32 +00:00
ChunEon Park
c1e6f2174c
evas/evas_object_smart - fixed parent cache invalidation logic error.
...
SVN revision: 59241
2011-05-06 10:55:24 +00:00
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
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