Commit Graph

4175 Commits

Author SHA1 Message Date
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