Tom Hacohen
a4b92a0c69
Evas font-engine: Fix an issue with font_run_end_get.
...
SVN revision: 59818
2011-05-30 15:18:53 +00:00
Tom Hacohen
876e80c1f8
Evas font-engine: font_run_end_get. Fix possible segfault.
...
Patch by Cedric.
SVN revision: 59817
2011-05-30 13:59:18 +00:00
Tom Hacohen
b1d889a1df
Evas textblock: There can be only one ellipsis item per textblock.
...
SVN revision: 59816
2011-05-30 13:19:13 +00:00
Tom Hacohen
5a785e86bf
Evas textblock: Use Evas_Coord instead of int for coords.
...
SVN revision: 59815
2011-05-30 13:19:10 +00:00
Tom Hacohen
6d66a59333
Evas textblock: Removed some fat. Format should be a stringshare.
...
SVN revision: 59814
2011-05-30 13:19:07 +00:00
Tom Hacohen
943145d125
Evas textblock: Don't try to move text if the length to be moved is 0.
...
SVN revision: 59813
2011-05-30 13:19:03 +00:00
Tom Hacohen
56b6e2ed28
Evas textblock: Remove a bit of useless fat.
...
SVN revision: 59812
2011-05-30 13:19:00 +00:00
Tom Hacohen
44dec7a617
Evas text/textblock: Fixed warnings when frame_quening is on.
...
SVN revision: 59809
2011-05-30 10:55:35 +00:00
Tom Hacohen
a403ca75c2
Evas text/textblock: init cur_fi to NULL.
...
SVN revision: 59808
2011-05-30 10:55:31 +00:00
Tom Hacohen
884eaf1c63
Evas textblock: Fix casting of font when calling pipe op.
...
SVN revision: 59807
2011-05-30 09:03:46 +00:00
Tom Hacohen
a3719b21f9
Evas text/textblock: Check we actually found a font instance.
...
Currently we only check we have a font_set which is not enough.
Having a fontset and not having an fi should never happen, but it can.
SVN revision: 59804
2011-05-30 08:42:26 +00:00
Tom Hacohen
0b72b9fcf5
Evas font-engine: Fallback to script_fi if we didn't find another one.
...
SVN revision: 59803
2011-05-30 08:31:29 +00:00
Tom Hacohen
7e01aebd17
Evas textblock: clean up text_append, and possibly solve infinite loop.
...
I removed the workaround that solved it, for this cleaner, solution that
should work.
SVN revision: 59802
2011-05-30 08:16:35 +00:00
Tom Hacohen
0967176b12
Evas textblock: Removed ununeeded allocation.
...
SVN revision: 59801
2011-05-30 08:16:32 +00:00
Tom Hacohen
6b894e69fa
Evas textblock: Fix an issue with empty textblocks.
...
SVN revision: 59800
2011-05-30 07:52:44 +00:00
Tom Hacohen
599d9992b6
Evas textblock: Possible workaround for the infinite loop morlenxus is having.
...
SVN revision: 59791
2011-05-29 21:11:58 +00:00
Vincent Torri
4963571e08
Evas : evas_preload.c : Fix compilation when --disable-async-preload is passed to configure.
...
SVN revision: 59786
2011-05-29 14:34:33 +00:00
Tom Hacohen
a8ddf9b1f8
Evas engines: Adjust all the rest of the engines to use Evas_Font_Set.
...
SVN revision: 59784
2011-05-29 13:56:23 +00:00
Tom Hacohen
228c7548a4
Evas font-engine: In continuation of the previous commit. Use Evas_Font_Set.
...
SVN revision: 59783
2011-05-29 13:35:45 +00:00
Tom Hacohen
60aa86a0ef
Evas font-engine: Added two font opaque types.
...
Added Evas_Font_Instance and Evas_Font_Set which correspond to
RGBA_Font_Int and RGBA_Font. This is very important for strict type
checking which we now finally have.
This commit does not include logic changes, only casting and changing
types of pointers to the opaque pointer types.
SVN revision: 59782
2011-05-29 13:00:54 +00:00
Tom Hacohen
b7e2277ef0
Evas textblock/font-engine: Fix compiler warnings with -Wshadow.
...
SVN revision: 59781
2011-05-29 12:03:20 +00:00
Tom Hacohen
dbe7a9800e
Evas textblock: Added support for numeric escape sequences.
...
Patch by Raoul Hecky.
SVN revision: 59780
2011-05-29 11:47:53 +00:00
Tom Hacohen
422d9358bf
Evas font-engine: Conform to the API changes in Harfbuzz 0.6.0.
...
SVN revision: 59779
2011-05-29 11:09:47 +00:00
Tom Hacohen
81b217f8c4
Evas font-engine: Fixed font fallback in the same script run.
...
SVN revision: 59777
2011-05-29 09:20:18 +00:00
Tom Hacohen
ca1fc26a0e
Evas font-engine: Fixed a bug in the glyph search function.
...
SVN revision: 59776
2011-05-29 09:20:13 +00:00
Carsten Haitzler
bdba0b8171
Add feature: convenience call: evas_event_thaw_eval()
...
SVN revision: 59727
2011-05-27 08:26:11 +00:00
Christopher Michael
943cd64c7f
Evas: Png Loader: Fix shadow declaration of variable 'compress'.
...
SVN revision: 59718
2011-05-27 02:00:15 +00:00
Christopher Michael
9c9ebcba16
Evas: Fix shadow declaration of 'i' variable.
...
SVN revision: 59716
2011-05-27 01:50:10 +00:00
Christopher Michael
9b649530bd
Evas: Fix more shadow declarations of variables.
...
SVN revision: 59715
2011-05-27 01:47:58 +00:00
Christopher Michael
ffc97c3754
Evas: Fix more shadow declarations of 'index' variable.
...
SVN revision: 59714
2011-05-27 01:44:10 +00:00
Christopher Michael
6379aa55aa
Evas: Fix shadow declaration of variable 'write'.
...
SVN revision: 59713
2011-05-27 01:22:56 +00:00
Christopher Michael
b1181721fa
Evas: Fix shadow declaration of variable 'index'
...
SVN revision: 59712
2011-05-27 01:19:35 +00:00
Christopher Michael
96b00531c9
Evas: Fix shadow declaration of variable 'index'.
...
SVN revision: 59711
2011-05-27 01:17:15 +00:00
Christopher Michael
04a24dc1f3
Evas: Fix shadow declaration of variable 'index'
...
SVN revision: 59710
2011-05-27 01:13:41 +00:00
Carsten Haitzler
cae0e6ea83
chlog++
...
SVN revision: 59694
2011-05-26 08:37:44 +00:00
Carsten Haitzler
4b6fcc8afa
fix table to actually use fractional weighting.
...
SVN revision: 59693
2011-05-26 08:37:07 +00:00
Carsten Haitzler
d4b2236040
forgot chglog.
...
SVN revision: 59688
2011-05-26 05:42:15 +00:00
Carsten Haitzler
f304bf6941
fix table to handle weighting correctly for expands vs not expands. if
...
ANY elemtn that spans a col or row CANt expand that column or row is
VETOED frome xpanding, as opposed to the inverse
SVN revision: 59687
2011-05-26 05:40:47 +00:00
Carsten Haitzler
01cbefe2ae
fix c fallback rendering - mask op was wrong. mmx was right. why is
...
the neon code sitting there.. with no neon? just c? if so.. just kill
the neon code and let c fallbacks take care of it as all we do is dup
code. either that or actually implement the neon.
SVN revision: 59686
2011-05-26 02:44:01 +00:00
Michael BOUCHAUD
5b428f87f9
evas: add raw loaders ...
...
SVN revision: 59680
2011-05-25 20:21:25 +00:00
Carsten Haitzler
701601b4bc
aaah fix brackets i just unfixed.
...
SVN revision: 59667
2011-05-25 11:56:13 +00:00
Carsten Haitzler
51d97e0f40
remove commented out table code.
...
SVN revision: 59666
2011-05-25 11:50:37 +00:00
Cedric BAIL
2600ac9160
evas: use Eina_File when possible.
...
SVN revision: 59645
2011-05-24 10:19:06 +00:00
Carsten Haitzler
f854f1f275
fix glpipe optimization that stops the pipes from being used with many
...
maps
SVN revision: 59638
2011-05-24 06:51:47 +00:00
Boris Faure
a9fe27d54c
evas: typo
...
SVN revision: 59631
2011-05-23 19:38:28 +00:00
ChunEon Park
8e9be7f42f
evas/evas_map - removed white spaces, fixed identation.
...
SVN revision: 59620
2011-05-23 10:37:17 +00:00
Vincent Torri
70c27550cf
Evas: Fix compilation with libjpeg 8 on Windows.
...
SVN revision: 59609
2011-05-23 06:45:19 +00:00
Vincent Torri
17114374a9
improve linbpg detection
...
SVN revision: 59576
2011-05-22 08:53:31 +00:00
Christopher Michael
cee78bdc1f
Evas: Initialize some variables to zero (to remove compiler warnings).
...
SVN revision: 59569
2011-05-21 22:28:13 +00:00
Daniel Juyung Seo
924bddfc83
Evas evas_render.c: Fixed formatting.
...
Fixed indentation and removed trailing whitespaces.
SVN revision: 59560
2011-05-21 06:23:33 +00:00
Christopher Michael
8c2397f8c2
Evas: Add UNUSED to evas_engine function 'eng_image_load_error_get'
...
for data paramater (it is not used in the function).
SVN revision: 59547
2011-05-20 01:35:41 +00:00
Christopher Michael
b3d66d5b25
Evas: evas_common_frameq_thread (in evas_pipe.c) uses 'gettimeofday',
...
so include the proper header file for that function (so we don't get
implicit declaration warning)
SVN revision: 59546
2011-05-20 01:33:55 +00:00
Carsten Haitzler
88b59a9bb6
fix proxy sourcing of smart obj that updates.
...
SVN revision: 59536
2011-05-19 13:01:44 +00:00
Vincent Torri
9347b624a6
Add postscript to the list of files supported by the generic loader
...
SVN revision: 59533
2011-05-19 12:41:17 +00:00
Carsten Haitzler
4dd1d5cf62
fix load of data to ACTUALLY set the load error in evas's image
...
objects. including preload.
SVN revision: 59529
2011-05-19 11:19:22 +00:00
Tom Hacohen
359e67f68a
Evas textblock: Added an rbtree index for the layout paragraphs.
...
This can be used with both coordinates and line numbers, this is a
faster way to find layout paragraphs in the textblock which means
we should now be a lot faster with big textblocks.
SVN revision: 59527
2011-05-19 09:54:30 +00:00
Tom Hacohen
3227929fcf
Evas textblock: Use the saved paragraph pointer instead of searching.
...
SVN revision: 59526
2011-05-19 09:54:19 +00:00
Carsten Haitzler
59bc413e1f
handle surf alloc failures.
...
SVN revision: 59524
2011-05-19 09:28:43 +00:00
Carsten Haitzler
3789e32040
check return of alloc surf for eet loader.
...
SVN revision: 59523
2011-05-19 09:25:31 +00:00
Carsten Haitzler
19b70919ad
small fix - check surface alloc return and reurn alloc failure.
...
SVN revision: 59522
2011-05-19 09:22:35 +00:00
Carsten Haitzler
5b2a35392b
fix bug in new proxy code (no need for changelog as its a new feature
...
thats not released yet) wher using proxy via map doesnt let you use uv
coords right as its ALWAYs filling/scaling only due to not using
source image size and proxy size right.
SVN revision: 59519
2011-05-19 05:52:47 +00:00
Vincent Torri
b3ed32be46
remove some shadow declarations
...
SVN revision: 59508
2011-05-18 14:12:10 +00:00
Tom Hacohen
f3ef64a31e
Evas font-engine: Replace deprecated freetype constants.
...
SVN revision: 59507
2011-05-18 13:47:45 +00:00
Tom Hacohen
1ad5cdfb89
Evas font-engine: Remove useless if, it's never a bitmap.
...
SVN revision: 59506
2011-05-18 13:47:37 +00:00
Tom Hacohen
b831d3c1e1
Evas font-engine: Fix searching of fonts to ignore more control characters.
...
SVN revision: 59499
2011-05-18 11:18:08 +00:00
Tom Hacohen
fccfbf78b0
Evas font-engine: Don't search fi again in ot populate.
...
We already calculate it in content create.
SVN revision: 59498
2011-05-18 11:18:00 +00:00
Carsten Haitzler
23c715b282
fixed issues on evas gl suport from sungwoo.
...
SVN revision: 59492
2011-05-18 09:49:58 +00:00
Carsten Haitzler
62efa76e50
add grid layout obj to evas (along with table and box)
...
SVN revision: 59481
2011-05-18 07:04:32 +00:00
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