Gustavo Lima Chaves
8d38f7ad7f
[evas] Documentation bumps on
...
evas{_init,_shutdown,_load_error_str}.
SVN revision: 60143
2011-06-09 17:01:14 +00:00
Gustavo Lima Chaves
ef41d78fce
[evas] Example code for evas{_init,_shutdown,_load_error_str}.
...
SVN revision: 60142
2011-06-09 17:00:24 +00:00
Gustavo Lima Chaves
e79cc153ea
[evas] Lots of documentation groups didn't have end
...
delimiters set.
SVN revision: 60141
2011-06-09 16:48:31 +00:00
Gustavo Lima Chaves
92d15b99c9
[evas] Tell doxygen how our example files are.
...
SVN revision: 60140
2011-06-09 16:48:24 +00:00
Gustavo Lima Chaves
a3c50952d2
[evas] Cleaning whitespaces at doxyfile.
...
SVN revision: 60139
2011-06-09 16:48:16 +00:00
ChunEon Park
9442a38b81
evas/canvas - removed white trailing
...
SVN revision: 60112
2011-06-09 03:08:50 +00:00
ChunEon Park
c982843cb3
evas/canvas - removed white spaces / fixed indentation
...
SVN revision: 60109
2011-06-09 02:45:59 +00:00
Carsten Haitzler
54afc1bba6
neon rendering bug - fix by disabling
...
SVN revision: 60068
2011-06-08 03:04:12 +00:00
Christopher Michael
a96a4c12a0
Evas: Make sure we return a value from image_load_orientation_get.
...
SVN revision: 60052
2011-06-07 22:09:18 +00:00
Cedric BAIL
260718c700
evas: add evas_object_image_load_orientation_set, evas_object_image_load_orientation_get.
...
SVN revision: 60040
2011-06-07 13:39:13 +00:00
Cedric BAIL
1e62ad24a3
evas: use Eina_File for JPEG loader.
...
SVN revision: 60039
2011-06-07 13:34:18 +00:00
Tom Hacohen
59a22ad090
Evas textblock: Fixed two ellipsis issues.
...
1. If there's no wrapping enabled, do ellipsis even if we still have vertical
room left.
2. Fixed updating of o->have_ellipsis.
SVN revision: 60038
2011-06-07 11:38:07 +00:00
Mike McCormack
2b58267396
Add ignore and update files
...
SVN revision: 60034
2011-06-07 10:26:13 +00:00
ChunEon Park
431b652da9
evas/evas_gl - removed white spaces / fixed identation
...
SVN revision: 60019
2011-06-07 04:30:25 +00:00
Rafael Antognolli
22cfc5e480
evas: "make doc" now works when srcdir != builddir.
...
SVN revision: 60005
2011-06-06 20:27:01 +00:00
Cedric BAIL
8b4793d575
evas: and some doc for the 60000 commits :-)
...
SVN revision: 60000
2011-06-06 17:49:58 +00:00
Tom Hacohen
2e28418051
Evas textblock: make charwrap not force wrap in an illegal position.
...
SVN revision: 59965
2011-06-05 10:51:39 +00:00
Vincent Torri
5886a2ed27
fix static link of the generic loader and psd loader
...
SVN revision: 59951
2011-06-04 05:33:37 +00:00
Carsten Haitzler
7a262be257
add new extens to evas known shortcut list
...
SVN revision: 59950
2011-06-04 05:26:56 +00:00
Carsten Haitzler
22e4f86c96
protext against <0 table lookups. yes eina_unicode can define
...
Eina_Unicode as wchart_t.. which is SIGNED.. this is the problem of
not having a fixed typedef that is known to always be the same type
with same underlying properties!
SVN revision: 59947
2011-06-04 03:31:29 +00:00
Vincent Torri
74ead7c758
Evas: add video loaders
...
SVN revision: 59926
2011-06-03 22:39:03 +00:00
Tom Hacohen
0daae8a59a
Evas font-engine: If still after all we can't find a font, use the first.
...
SVN revision: 59924
2011-06-03 20:48:56 +00:00
Christopher Michael
9257cdc055
Evas: Fix 'reset_time_interval' may be used uninitialized warning.
...
SVN revision: 59908
2011-06-03 00:26:19 +00:00
Vincent Torri
1fc436ceb7
Evas : evas_image_scalecache.c : usleep() might not be defined on Windows. Use Sleep() instead.
...
SVN revision: 59906
2011-06-02 19:20:39 +00:00
Tom Hacohen
85cf792f24
Evas font-engine: Use binary search for finding index in text props.
...
I finally got around to verifying it and the list is assured to be monotonic
(direction depends on bidi direction).
SVN revision: 59903
2011-06-02 15:36:50 +00:00
Tom Hacohen
9bd8ccae80
Evas textblock: Fixed an issue with min size calculation introduced in 59899
...
SVN revision: 59901
2011-06-02 14:52:43 +00:00
Tom Hacohen
3da52c35cd
Evas textblock: Fix skipping of ascii control chars.
...
SVN revision: 59900
2011-06-02 14:31:15 +00:00
Tom Hacohen
5311e3de70
Evas textblock: Fixed min size calculation with right aligned paragraphs.
...
SVN revision: 59899
2011-06-02 14:02:31 +00:00
Carsten Haitzler
5d2bd283c3
disable evas filter code. buggy. doesn't work right.
...
SVN revision: 59898
2011-06-02 10:40:43 +00:00
Carsten Haitzler
2ffa0f4075
disable masking support. back to clip rects.
...
SVN revision: 59896
2011-06-02 10:00:05 +00:00
Carsten Haitzler
7d08af1ed0
disable map mesh support - engine code still doesnt handle != 4 points
...
so pointless exposing it as its broken inthe engine.
SVN revision: 59895
2011-06-02 09:49:17 +00:00
Tom Hacohen
4b5440650e
Evas text: Fix ellipsis bidi, broke it a couple of days ago.
...
SVN revision: 59877
2011-06-01 15:08:47 +00:00
Cedric BAIL
ad81c809cd
evas: make Vincent happy.
...
SVN revision: 59875
2011-06-01 15:00:55 +00:00
Cedric BAIL
0e0dca586f
evas: add evas_object_image_extension_can_load_get.
...
This functions let you check if a file could be opened by
Evas_Object_Image. It is threadsafe, and you should use it
from another thread as often as possible :-)
SVN revision: 59872
2011-06-01 14:32:08 +00:00
Tom Hacohen
1dfe691a36
Evas textblock: Start splitting layouting and layouting with rendering.
...
The difference is that we can now avoid doing some things when layouting but
not actually drawing, for example: bidi stuff.
SVN revision: 59871
2011-06-01 14:25:15 +00:00
Tom Hacohen
3e1727f7b1
Evas textblock: Use advance when calculating line breaks and widths.
...
SVN revision: 59870
2011-06-01 14:25:11 +00:00
Tom Hacohen
0a5b27c1bd
Evas textblock: Added a paragraph property to indicate if bidi.
...
SVN revision: 59869
2011-06-01 14:25:08 +00:00
Tom Hacohen
bebbe2253a
Evas textblock: Only use paragraph bidi props in the layout code.
...
Next commits will clear them outside of it. I.e paragraph bidi props are only
valid in the layout code.
SVN revision: 59861
2011-06-01 08:35:25 +00:00
Tom Hacohen
2b23129955
Evas textblock: Paragraphs don't need a x coordinate - remove.
...
SVN revision: 59860
2011-06-01 08:35:21 +00:00
Tom Hacohen
87d196e4bb
Evas textblock: Split _layout to _layout and _layout_pre.
...
This cleans the code a bit and will soon let us do smarter native size
calculation.
SVN revision: 59845
2011-05-31 12:55:57 +00:00
Tom Hacohen
7cdf099d5c
Evas textblock: Remove calc_only from layout, not needed anymore.
...
SVN revision: 59844
2011-05-31 12:55:54 +00:00
Tom Hacohen
71fe0782d9
Evas textblock: Move native size calculation out of the regular layout.
...
SVN revision: 59843
2011-05-31 12:55:51 +00:00
Tom Hacohen
8d816d4b43
Evas bidi: Fixed warning when compiling with Wshadow.
...
SVN revision: 59842
2011-05-31 12:55:46 +00:00
Carsten Haitzler
3fa85660f8
fix gl engine make current impl (for ne evas gl stuff so no chlog
...
needed) to handle make current return value right
SVN revision: 59834
2011-05-31 07:10:37 +00:00
Lucas De Marchi
10237c5b56
evas: fix misspellings
...
Misspellings found by codespell
SVN revision: 59822
2011-05-30 16:45:08 +00:00
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
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
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
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
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
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
Tom Hacohen
61e340ec6c
Evas textblock: Now that we cache fi, we don't need shaped_text anymore.
...
SVN revision: 59131
2011-05-02 15:33:35 +00:00
Tom Hacohen
4fafc63d0f
Evas textblock: Remove obsolete comment.
...
SVN revision: 59130
2011-05-02 15:33:31 +00:00
Tom Hacohen
0bf964a221
Evas textblock: We finally cache fi - remove related hacks.
...
SVN revision: 59129
2011-05-02 15:33:27 +00:00
Tom Hacohen
2e0bb38935
Evas bidi: Made fribidichar<->eina_unicode conversion a compile time test.
...
SVN revision: 59122
2011-05-02 13:24:26 +00:00
Cedric BAIL
902350711d
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
2011-05-02 11:28:47 +00:00
Tom Hacohen
9d23367627
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
2011-05-02 09:28:00 +00:00
Tom Hacohen
af53b3d4a9
Evas language: Split to script even if there's no Harfbuzz.
...
SVN revision: 59108
2011-05-02 09:27:56 +00:00
Tom Hacohen
5793e609a0
Evas font-engine: Made *_unicode_funcs_get internal to font_ot.c
...
SVN revision: 59107
2011-05-02 09:27:49 +00:00
Carsten Haitzler
a05d575f0a
warning-- for eina locks
...
SVN revision: 59102
2011-05-02 08:24:27 +00:00
Tom Hacohen
afac2fdd18
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
2011-05-02 07:28:07 +00:00
Tom Hacohen
9389fed0a0
Evas language: Updated scripts according to Unicode 6.0
...
SVN revision: 59099
2011-05-02 07:28:02 +00:00
Tom Hacohen
fb511c9dfe
Evas language: Fix typos.
...
SVN revision: 59098
2011-05-02 07:27:59 +00:00
Tom Hacohen
1ce96a62e0
Evas textblock: Unified the wmax calculation into one place.
...
SVN revision: 59097
2011-05-02 07:27:48 +00:00
Carsten Haitzler
56363c3d73
more docs.
...
SVN revision: 59094
2011-05-02 03:06:34 +00:00
Carsten Haitzler
0dd92d46c8
improve evas_gl docs a bit.
...
SVN revision: 59093
2011-05-02 02:43:10 +00:00
Sung W. Park
bc8af94bfa
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
2011-05-02 02:14:00 +00:00
Carsten Haitzler
a9c70e1a28
add LKDBUG. sorry - was trying to ekep other changes out of svn for
...
nowand didnt commit this bit.
SVN revision: 59090
2011-05-02 00:45:16 +00:00
Carsten Haitzler
e3a69d7c4a
and fix up lock goop to work right with improved eina lock goop. i
...
hope i nixed this bug.
SVN revision: 59086
2011-05-01 13:25:23 +00:00
Carsten Haitzler
3aa2f7bb4a
revert some changces to try fix lock issues - they create other
...
nastier ones.
SVN revision: 59073
2011-05-01 07:26:42 +00:00
Carsten Haitzler
d5b8646544
try and remove lock deadlocks...
...
SVN revision: 59070
2011-05-01 06:58:36 +00:00
Brett Nash
94275377e5
Evas: Filter: Brightness: Fix clamp ranges, and don't double negate
...
Basically it's a clamp function...
SVN revision: 59068
2011-05-01 06:39:26 +00:00
Brett Nash
370f868003
evas: filter: brightness: software brightness filter.
...
SVN revision: 59067
2011-05-01 06:39:24 +00:00
Brett Nash
feeb11f555
evas: filter: Use the correct fields in filter_set
...
Strangely, not everything is a blur.
SVN revision: 59066
2011-05-01 06:39:22 +00:00
Brett Nash
2ad85405df
Use ARGB_JOIN everywhere in evas_filter.
...
Now to re-apply brightness.
SVN revision: 59065
2011-05-01 06:39:19 +00:00
Carsten Haitzler
3d4b3d40a9
and try and reduce possible cache deadlocks/issues.
...
SVN revision: 59064
2011-05-01 06:26:41 +00:00
Carsten Haitzler
f2e2d8963a
could have a cache deadlock here as _sci_find is called from with
...
already locked caches.
SVN revision: 59063
2011-05-01 06:24:02 +00:00
Vincent Torri
c7b9d3d14e
whitespaces--
...
SVN revision: 59062
2011-05-01 06:06:56 +00:00
Carsten Haitzler
a41176be3d
remove unneded lock+unlock
...
SVN revision: 59060
2011-05-01 04:44:56 +00:00
Tom Hacohen
961e0c794a
Evas text: Move the shadow calculations out of the loop.
...
SVN revision: 59047
2011-04-29 19:26:56 +00:00
Tom Hacohen
5570891eb3
Evas font-engine: Fixed rendering of empty text.
...
SVN revision: 59006
2011-04-28 15:02:11 +00:00
Tom Hacohen
7280b0d852
Evas font-engine: Document and cleanup the comments in font-query.
...
SVN revision: 59002
2011-04-28 12:57:35 +00:00
Tom Hacohen
8991e90293
Evas textblock: Fixed a bug with drawing formats when clipped.
...
SVN revision: 59001
2011-04-28 12:12:57 +00:00
Tom Hacohen
ff0bcef2db
Evas textblock: Added "password" tag - toggle password mode.
...
This lets you toggle the password mode inside the text. Especially
useful for implementing "show last char" in password entries.
Patch by Shilpaonkar Singh
SVN revision: 59000
2011-04-28 11:08:20 +00:00
Tom Hacohen
368a77aea0
Evas textblock: Fixed *_format_remove_pair to invalidate the text nodes.
...
SVN revision: 58991
2011-04-28 08:18:44 +00:00
Carsten Haitzler
f7b637ca03
fix formatting.
...
SVN revision: 58988
2011-04-28 06:59:11 +00:00
Tom Hacohen
3e5cb0ac98
Evas textblock: Use strncmp instead of strncpy and strcmp.
...
SVN revision: 58963
2011-04-27 14:59:22 +00:00
Tom Hacohen
2ca672d8b4
Evas font-engine: Remove dependency or harfbuzz being built with glib.
...
Harfbuzz needs unicode querying functions in order to work properly,
until there'll be a nice lib that does that (should be under dev) we have
to depend on an outside source. This commit uses new Harfbuzz API that
lets us not care about the unicode function provider and just let harfbuzz
to manage it on it's own.
SVN revision: 58961
2011-04-27 14:00:00 +00:00
Tom Hacohen
722707547a
Evas textblock: Implement format invalidation points support.
...
This lets us only relayout what's needed also when inserting formats.
This means inserting <b> </> for example is now as fast as inserting any
other char and doesn't cause a complete relayout.
SVN revision: 58958
2011-04-27 12:41:26 +00:00
Tom Hacohen
a3e8da3507
Evas font-engine: Fixes last commit to not seg when not using OT.
...
SVN revision: 58936
2011-04-26 14:20:45 +00:00
Tom Hacohen
476ac636d5
Revert "BAD TASN!". Yeah, I'm evil.
...
Following commit includes a fix.
This reverts commit 58933.
SVN revision: 58935
2011-04-26 14:20:41 +00:00
Tom Hacohen
8f41c4c125
Evas font-engine: Updated comments.
...
SVN revision: 58934
2011-04-26 14:20:38 +00:00
Carsten Haitzler
2d2b2d686e
BAD TASN!
...
ROLL BACK TODAYS CHANGES TO EVAS....
SEGV SEGV EVERYWHERE!
*SPANK*
SVN revision: 58933
2011-04-26 14:05:01 +00:00
Daniel Juyung Seo
a96bb7a222
Evas Evas.h: Sync dox authors with AUTHORS file.
...
SVN revision: 58932
2011-04-26 13:02:02 +00:00
Michael BOUCHAUD
f958f76306
email address of Thierry El Borgi
...
SVN revision: 58931
2011-04-26 12:36:57 +00:00
Tom Hacohen
a3c144d2c9
Evas font-engine: fix issue with using the wrong fi.
...
SVN revision: 58930
2011-04-26 10:21:01 +00:00
Carsten Haitzler
54f2389187
make generic loader 2 stage (head + data)
...
SVN revision: 58927
2011-04-26 09:41:07 +00:00
Tom Hacohen
cb561612f2
Evas font-engine: use the cached fi instead of searching for it.
...
SVN revision: 58926
2011-04-26 09:26:33 +00:00
Tom Hacohen
9b0005e62a
Evas font-engine: Added a fixme.
...
SVN revision: 58925
2011-04-26 09:14:23 +00:00
Tom Hacohen
f0e18f58ff
Evas font-engine: Cache fi when using Harfbuzz.
...
Soon I will also do it for all cases, but it's not possible at the
moment because we depend on harfbuzz for querying unicode properties.
SVN revision: 58924
2011-04-26 09:14:02 +00:00
Carsten Haitzler
4af57920a8
fixme++
...
SVN revision: 58923
2011-04-26 08:45:21 +00:00
Carsten Haitzler
0de9ac68dd
use correct hdr in shm open check.
...
SVN revision: 58917
2011-04-26 05:12:25 +00:00
Carsten Haitzler
0e57095d06
add generic image loader. allows for GPL loaders, unstable loaders and
...
more. making a loader is a matter of a binary of a specific name and
evas passes certain input on the cmd-line and your binary produces
output on stdout (and also optionally additionally in a shm or tmp
file).
SVN revision: 58914
2011-04-26 01:03:06 +00:00
Cedric BAIL
a613126be4
evas: don't forget to init eina_threads when using threads.
...
SVN revision: 58908
2011-04-25 17:11:58 +00:00
Carsten Haitzler
b3a893c78c
oops - didnt mean to commit that. that was just an example.
...
SVN revision: 58897
2011-04-25 09:42:49 +00:00
Sung W. Park
d12e4f28d4
From: "Sung W. Park" <sungwoo@gmail.com>
...
Subject: [E-devel] [Review] [Patch] Evas - OpenGL on Evas: surface
texture creation patch
I'm attaching a patch that addresses the awkward usage case. It's something
that didn't bother me initially but the more I look at it, i think
it's a little off. :-)
The initial version of the evas_gl that I've submitted had the
following use case.
evasgl = evas_gl_new(e);
sfc = evas_gl_surface_create(...);
ctx = evas_gl_context_create(...);
// Make current triggers surface texture and FBO to be created
evas_gl_make_current(evasgl, sfc, ctx);
// Then you can do a surface_get to retrieve the proper texture and set it
evas_gl_native_surface_get(evasgl, sfc, &ns);
evas_object_image_native_surface_set(img_obj, &ns);
The unnatural thing about this use case is that you have to call the make_current
one time in order for evas_gl to generate a surface texture. This is because
you need a context to create a texture. Unfortunately, this makes the usage
case really awkward.
So, instead, I've decided to get rid of the need for calling the make_current
by generating a surface texture when evas_gl_surface_create() is called
by using the evas' gl context. This works because the newly created context
shares resources with evas. in fact, this is what i'm currently doing with surface
deletion anyway so I thought this solution was reasonable.
Here's how it looks after you get rid of the make_current:
evasgl = evas_gl_new(e);
sfc = evas_gl_surface_create(...);
ctx = evas_gl_context_create(...);
evas_gl_native_surface_get(evasgl, sfc, &ns);
evas_object_image_native_surface_set(img_obj, &ns);
The patch is pretty small and straightforward.
SVN revision: 58892
2011-04-25 08:41:36 +00:00
Carsten Haitzler
15d22f9c47
warnings--
...
SVN revision: 58884
2011-04-25 02:36:14 +00:00
Carsten Haitzler
75292cc435
lets have a Makefile.am shall we?
...
SVN revision: 58882
2011-04-25 02:28:42 +00:00
Cedric BAIL
c517bb20ee
evas: use eina_lock.
...
NOTE: now when preload and ecore_thread are not running all lock
are disabled inside evas.
SVN revision: 58878
2011-04-24 20:25:34 +00:00
Cedric BAIL
c708610cbc
evas: remove a few shadow variable.
...
SVN revision: 58874
2011-04-24 20:21:07 +00:00
Cedric BAIL
0cef5e41fe
evas: add psd file format support.
...
Patch from Thierry el Borgi with some rework of myself.
NOTE: I don't have much file to test, so if some don't
contact us with those file and we will fix the loader
if needed.
SVN revision: 58873
2011-04-24 19:45:43 +00:00
Mike Blumenkrantz
4386f8fb35
hmmm actually this wasn't the cause. but someone definitely broke something here...
...
SVN revision: 58846
2011-04-23 22:37:42 +00:00
Mike Blumenkrantz
4ebe4bec94
okay who's the joker that broke evas build? freetype 9.3.0 is definitely not a valid dependency :/
...
SVN revision: 58845
2011-04-23 22:32:06 +00:00
Carsten Haitzler
fa309e5069
nash -> i fixed your mask rendering. interesting you only mask *IF*
...
you have 1:1 scaling. you could do this with scaled imaged (and
unscaled masks) with ease. both smooth and nearest.
SVN revision: 58838
2011-04-23 02:02:45 +00:00
Carsten Haitzler
8cca4234c4
comments for nash
...
SVN revision: 58837
2011-04-23 01:22:17 +00:00
Carsten Haitzler
6282cc0a6d
wrn-- -> my bad.
...
SVN revision: 58836
2011-04-23 00:35:42 +00:00
Carsten Haitzler
c885080057
an initial test at trying pixman instead of evas software rendering.
...
results... in comments. disabled atm unless u --enable it. only
replaces 1 operation in 2 cases.
SVN revision: 58824
2011-04-22 11:47:14 +00:00
Tom Hacohen
902d94afb9
Evas textblock: Added a temp fix for repch until implemented nicely.
...
This fix is just until we finally split to scripts and cache fi all
the time, i.e in all the possible paths (regular, fribidi and harfbuzz).
SVN revision: 58806
2011-04-21 15:34:44 +00:00
Christopher Michael
2dce8da128
Evas: Fix typos from 'old mans' recent commit sot hings build again
...
wrt xcb.
SVN revision: 58804
2011-04-21 15:21:40 +00:00
Tom Hacohen
48d0603e5d
Evas harfbuzz: Adjust evas to work with Harfbuzz >= 3.0
...
SVN revision: 58802
2011-04-21 14:04:53 +00:00
Tom Hacohen
3f86ed9349
Evas textblock: Clean repch code a bit. No logic changes.
...
SVN revision: 58801
2011-04-21 14:04:46 +00:00
Carsten Haitzler
b1285ae71a
add in lots of ptr checks to sw-x11 outbut code... this may only
...
happen if we ran out of mem and mallocs failed... but we can avoid a
crash.
SVN revision: 58797
2011-04-21 12:33:35 +00:00
Sung W. Park
db20d2aeab
From: "Sung W. Park" <sungwoo@gmail.com>
...
(part of the evas-gl work)
the patch basically checks to see if the current context is evas' gl context
and if it is, it'll call evas_gl_common_context_flush(). I think this
is the proper
SVN revision: 58786
2011-04-21 09:23:42 +00:00
Carsten Haitzler
a570e2580c
and tho the header has that func.. evas doesn't. remove it. seems this
...
api wasnt removed from the public h before release. it can't have
worked anyway so not a break.
SVN revision: 58785
2011-04-21 09:18:45 +00:00
Tom Hacohen
543a0da0d8
Evas font-engine: Fixed kerning issue and a major rendering bug.
...
Kerning: We are walking the string visually so we don't need to do
anything special for kerning when in rtl, freetype works with "left" and
"right" which we automatically get.
Rendering bug: Cedric found that in some cases there were missing
characters. This was caused because I forgot to convert the kerning from
16.6 fixed point to int.
SVN revision: 58783
2011-04-21 08:47:16 +00:00
Carsten Haitzler
22671d41d9
neon asm is not working. even after some typo fixes.
...
SVN revision: 58782
2011-04-21 08:18:38 +00:00
Brett Nash
5c88b6c8f2
Evas: filter: Remove warning from evil type things.
...
SVN revision: 58780
2011-04-21 06:26:49 +00:00
Carsten Haitzler
6152914dd5
fix some nasty image cache issues i've found like double-frees, leaks
...
etc. etc. in corner-cases. it also re-factors the image cache code to
be much more manageable and understandable with cache/list management
doing the right thing in the internal calls.
SVN revision: 58779
2011-04-21 06:24:27 +00:00
Brett Nash
d157c43997
Evas: Mask: Add the part where evas actually uses the mask in GL.
...
SVN revision: 58778
2011-04-21 06:22:06 +00:00
Carsten Haitzler
794f1c56cd
warning--
...
SVN revision: 58777
2011-04-21 06:21:51 +00:00
Brett Nash
aaf036eec9
Evas: Filter: Avoid a double free.
...
I just don't know why.
SVN revision: 58776
2011-04-21 06:01:59 +00:00
Brett Nash
3bbe4023d0
Evas: Filter: Don't leak keys either.
...
SVN revision: 58775
2011-04-21 06:01:56 +00:00
Brett Nash
52a1e85d86
Evas: Filter: More aggresively avoid allocing filter data.
...
SVN revision: 58774
2011-04-21 06:01:53 +00:00
Brett Nash
97a442eaf1
Evas: Filter: No need to allocate on a getter.
...
Just return the default.
SVN revision: 58773
2011-04-21 06:01:50 +00:00
Brett Nash
f19bea3bf1
Evas: Filter: Use some ARGB joins.
...
SVN revision: 58772
2011-04-21 06:01:48 +00:00
Brett Nash
9862b4bf5d
Evas: Fix broken [ARGB]_VAL macros.
...
And no one ever noticed til now?
SVN revision: 58770
2011-04-21 02:30:34 +00:00
Brett Nash
b17702d7d8
Evas: Filter: Remove last vestiges of alpha/red/green/blue macros
...
Using the [ARGB]_VAL ones intead. Also means need to change to use pointer
instead of array syntax to the all macro.
SVN revision: 58769
2011-04-21 02:30:32 +00:00
Brett Nash
e410651d24
Evas: Filter: Fix filter length assignment.
...
Fun fact... this works on 64 bit systems... well mine anyway, but falls over
in a horrible mess on 32bit systems.
SVN revision: 58763
2011-04-20 14:44:32 +00:00
Brett Nash
8809ce8a12
Evas: Filter: Whitespace fixes
...
SVN revision: 58762
2011-04-20 14:44:29 +00:00
Brett Nash
044b02ce0e
Evas: Filter: Handle memory alloc error a little more gracefully
...
In this case, just set the filter type to none.
SVN revision: 58761
2011-04-20 14:44:26 +00:00
Tom Hacohen
cb19804054
Evas bidi: Fixed spelling errors: NATURAL -> NEUTRAL (Macro name).
...
SVN revision: 58760
2011-04-20 14:35:37 +00:00
Tom Hacohen
57665ebf34
Evas font: Removed a deprecated macro.
...
SVN revision: 58759
2011-04-20 14:21:00 +00:00
Tom Hacohen
6609b1d7ba
Evas font: Removed LOGICAL_WALK and updated last_up_to_pos accondingly.
...
SVN revision: 58758
2011-04-20 14:20:57 +00:00
Tom Hacohen
b59156c788
Evas text/textblock: Change item size calculation to use advance again.
...
We don't need to do any tricks anymore because size calculation is now
very fast, as fast as the tricks we did, so it's best to just do what
we really want to do.
SVN revision: 58757
2011-04-20 14:20:54 +00:00
Tom Hacohen
543c0cafc0
Evas font-engine: Cache pen position instead of advance.
...
We only really use adavnce for calculating the pen position, so it makes more
sense to just cache the pen_position instead and calculate advance from
that if ever needed.
This means size/advance calculations are now O(1) because we don't need to
walk the strings anymore.
SVN revision: 58756
2011-04-20 14:20:51 +00:00
Tom Hacohen
2f86580227
Evas font-engine: Fix drawing of replacement char when not using Harfbuzz.
...
SVN revision: 58755
2011-04-20 14:20:48 +00:00
Carsten Haitzler
b44bf7f8ff
filter: handle malloc failers without crashing.
...
SVN revision: 58752
2011-04-20 08:28:40 +00:00
Carsten Haitzler
8da6f52bfd
lets properly document filter calls and return sane values
...
SVN revision: 58751
2011-04-20 08:24:56 +00:00
Carsten Haitzler
649cba4e45
and lets have getters for setters shall we - if we go implement 1 of
...
them.. lets implement alll shall we?
SVN revision: 58750
2011-04-20 08:20:36 +00:00
Carsten Haitzler
2598499970
and fix filter api to be consistent with evas.. letalone all of efl.
...
VERB AT END!!!! (get/set/whatever)
SVN revision: 58749
2011-04-20 08:13:33 +00:00
Carsten Haitzler
ce8297e04b
more formatting fixes after filter commit.
...
SVN revision: 58748
2011-04-20 08:09:30 +00:00
Carsten Haitzler
6720d96208
and fix more filter messups. o->fitler will be leaked on obj deletion
...
as there was no cleanup.. and the method of exposing
evas_filter_key_get() was so out of step with any other code i have
ever seen.. letalong evas... fix.
SVN revision: 58747
2011-04-20 08:06:59 +00:00
Carsten Haitzler
7ed47808cb
more bad code - why pass in void * image and data? sero point.. and it
...
totally is out of step with the rest of the api for gl_common.. that
alone would tell you "dont so that". ugh. more filter fixes.
SVN revision: 58746
2011-04-20 08:05:23 +00:00
Carsten Haitzler
18619830c4
oh god. more warning fixes...
...
SVN revision: 58745
2011-04-20 08:01:04 +00:00