Commit Graph

2218 Commits

Author SHA1 Message Date
Carsten Haitzler 3b9219748d warnings--
SVN revision: 57877
2011-03-19 03:56:35 +00:00
Cedric BAIL 5b096042a2 evas: fix wrong call to free when using mempool for Evas_Object.
Patch by Jiyoun Park <jy0703.park@samsung.com>


SVN revision: 57846
2011-03-18 10:56:27 +00:00
Cedric BAIL 76a0da7a1c evas: rename Evas_GL_Context to Evas_Engine_GL_Context
patch by Sung W. Park <sungwoo@gmail.com>


SVN revision: 57803
2011-03-16 17:32:49 +00:00
Cedric BAIL 564526ef38 evas: probably another needed patch for clipping issue with map.
No need to update ChangeLog as it is the part of yesterday patch.


SVN revision: 57800
2011-03-16 13:59:13 +00:00
Cedric BAIL 4b5b0d479f evas: this will fix some clipping issue with map.
This patch should be backported if it work well. Need more tester.
It doesn't fix a missing del detection in enki and elementary_test transit 4.


SVN revision: 57765
2011-03-15 16:20:57 +00:00
Tom Hacohen 7c236dca76 Evas common: Use _GNU_SOURCE instead of __USE_GNU.
Thanks to aissen for letting us know.

SVN revision: 57764
2011-03-15 14:23:07 +00:00
Tom Hacohen 34bf708aae Evas font-engine: Fixed bug with different sizes in Korean text.
I'm still not sure if it's just a workaround that just fixes a symptom
of a bigger issue, or actually needed, but this is good until I figure
this out completely.

SVN revision: 57761
2011-03-15 11:00:29 +00:00
Carsten Haitzler 3d26ace1c7 evas: add memory image loader api. ask not how it works or i shall
disembowel you. ktnxbi.



SVN revision: 57736
2011-03-14 10:53:37 +00:00
Carsten Haitzler 710630d074 Evas: add ico loader!
SVN revision: 57693
2011-03-11 15:07:25 +00:00
Carsten Haitzler 51b3f6c969 fix -> call hide BEFORE del.
SVN revision: 57613
2011-03-09 06:16:46 +00:00
Carsten Haitzler b893963ee8 i cannot believe evas has lasted this long without this. obj ref &
unref.



SVN revision: 57582
2011-03-08 12:23:37 +00:00
Rui Seabra dabd515538 Fix build (from make dist files).
SVN revision: 57573
2011-03-08 11:27:40 +00:00
Vincent Torri c94650f933 final fix for the static jpeg build on Windows
SVN revision: 57367
2011-02-27 10:31:18 +00:00
Vincent Torri 62ff67f365 Evas jpeg saver: don't build and fix static build on Windows (jpeg saver does not compile)
SVN revision: 57361
2011-02-27 10:02:59 +00:00
Vincent Torri c4da291c3f Evas: fix static build of *bmp and tga loaders
not sure it needs a changelog entry. If yes, tell.
backport to 1.0 needed for bmp and tga


SVN revision: 57356
2011-02-27 09:19:24 +00:00
Vincent Torri 52b7825237 fix Windows CE compilation
SVN revision: 57308
2011-02-24 19:24:39 +00:00
Tom Hacohen 1078e941fa Evas textblock: Added a workaround for a segfault.
The problem is that we currently do try to split even if we can't.
We should overview things and fix it in a more proper way, but this is
a good enough solution in the meanwhile, because this part will be fixed
soon.

SVN revision: 57301
2011-02-24 15:18:10 +00:00
Tom Hacohen a8f52f4378 Evas textblock: Don't set style if it's the same.
SVN revision: 57296
2011-02-24 08:43:38 +00:00
Tom Hacohen 38bf6ec94c Evas textblock: Stringshare the style text of each style.
SVN revision: 57295
2011-02-24 08:43:34 +00:00
Tom Hacohen 28ee865391 Evas textblock: Fix wrong behavior when updating style.
When updating style we should not clear the utf8 text but we should relayout.
And definitely not reset it.

SVN revision: 57294
2011-02-24 08:43:30 +00:00
Tom Hacohen b890c5397b Evas textblock: Remove a redundant cast.
SVN revision: 57268
2011-02-23 16:50:59 +00:00
Tom Hacohen ef3b7a72f2 Evas textblock: Fix the false-positive strict-aliasing issue with gcc.
Only happens with some versions of gcc. I think it's a false positive
because both of the items are compatible.

SVN revision: 57267
2011-02-23 16:49:31 +00:00
Tom Hacohen 6a5e4338a1 Evas font-engine: Also unref the fs->file (see last commit).
SVN revision: 57262
2011-02-23 11:53:29 +00:00
Tom Hacohen e0deeea0df Evas font-engine: Ref fs->file if we use it.
SVN revision: 57261
2011-02-23 11:50:09 +00:00
Tom Hacohen 0f77f14ccc Evas font-engine: Fixed walking to use ptrs instead of indexes.
I.e walk using a ptr instead of arr[i] all the time. This should make
things faster. Also as part of the change, fixed char_index to be
an offset inside the string object, and not a general offset which was
bad.

SVN revision: 57241
2011-02-22 13:00:02 +00:00
Carsten Haitzler 62062af8b4 * Fixed bug smart calc array where it'd nuke the array when nested
process calls hapen and leave some objects uncalculated, but
          removed from the array and marked as needing a calc thus never
          getting back into the array.
          


SVN revision: 57234
2011-02-22 12:12:37 +00:00
Tom Hacohen 7420939ddb Evas textblock: Fixed setting cursor in evas_textblock_cursor_paragraph_char_last.
On empty paragraphs the cursor position was set to values < 0 which
is bad and caused issues in other places as well.

SVN revision: 57229
2011-02-22 09:31:19 +00:00
Carsten Haitzler a3808761cc fix bug with prev/cur text state access in text obj for utf8 string.
SVN revision: 57201
2011-02-21 06:12:28 +00:00
Carsten Haitzler 75dcf25bb9 fix convert to a8. someone fixed this badly. fix right now.
SVN revision: 57163
2011-02-19 15:53:47 +00:00
Carsten Haitzler 905d57b315 fix off by 1!
SVN revision: 57162
2011-02-19 15:48:46 +00:00
Tom Hacohen e1b714f9a9 Evas font: Draw the replacement char whan the glyph can't be found.
SVN revision: 57097
2011-02-16 16:36:16 +00:00
Tom Hacohen bd0695d1b5 Evas encoding: Removed Evas_Encoding and moved to eina_unicode_utf8* instead.
SVN revision: 57096
2011-02-16 16:00:17 +00:00
Tom Hacohen 129a2eb57b Evas encoding: Should be bitwise AND and not logical AND.
SVN revision: 57092
2011-02-16 14:59:36 +00:00
Tom Hacohen 3b7bc65841 Evas encoding: Fixed an issue with the return value of prev_get when at the start.
SVN revision: 57091
2011-02-16 13:17:09 +00:00
Tom Hacohen a01b8fa7ce Evas encoding: Made the utf8 parser more robust.
In now handles more error cases in a more correct way.

SVN revision: 57090
2011-02-16 13:00:50 +00:00
Tom Hacohen 52807e1550 Evas textblock: Fixed possible issue with word/mixed wrapping.
SVN revision: 57089
2011-02-16 13:00:41 +00:00
Tom Hacohen 4f597bf730 Evas textblock: Fixed an issue with item size calculation.
This caused some issues in some cases. Just switch continue with a goto to the end of the loop so we'll be able to calculate the sizes even when we don't need to format the format item.

SVN revision: 57081
2011-02-16 09:43:57 +00:00
Cedric BAIL a7d7ae4360 * evas: prevent early death of stringshare.
SPANK ! SPANK ! SPANK !

	PLEASE USE STRINGSHARE REPLACE EVERY TIME YOU DO
	A STRINGSHARE_DEL FOLLOWED BY A STRINGSHARE_ADD.



SVN revision: 57057
2011-02-15 17:24:55 +00:00
Tom Hacohen 24f943fa3d Evas textblock: Fixed a small calculation in format item's size calculation. Was correct, but too complex, simplified it.
SVN revision: 57056
2011-02-15 16:50:14 +00:00
Tom Hacohen d09431f2a1 Evas textblock: Fixed a bug that caused format item positions to be wrong in some cases.
Just sanitized some of the item coordinates calculation.

SVN revision: 57055
2011-02-15 16:50:07 +00:00
Sebastian Dransfeld bd9d4c5019 Better fix for invalid variable usage.
No point in having to pointers, and fix formatting.

SVN revision: 57037
2011-02-14 20:21:10 +00:00
Tom Hacohen 0229e71b48 Evas textblock: Fixed evas_textblock_cursor_range_geometry_get which didn't work when across multiple paragraphs.
SVN revision: 57027
2011-02-14 16:14:26 +00:00
Tom Hacohen b2bf107e38 Evas textblock: strcpy->strncpy in a place we use a cached len, to be on the safe side.
SVN revision: 57025
2011-02-14 15:02:58 +00:00
Tom Hacohen 2a2f88aa2c Evas font: Fixed wrong condition that may cause an invalid read when using OT.
SVN revision: 57024
2011-02-14 15:02:52 +00:00
Tom Hacohen 5991e80d35 Evas textblock: Fixed compilation error, I don't understand what went wrong in my last two commits, sorry for the spam.
SVN revision: 57023
2011-02-14 14:44:47 +00:00
Tom Hacohen 38dc347fcf Evas textblock: Fix compilation warning, for some reason this wasn't included in the previous patch.
SVN revision: 57022
2011-02-14 14:42:22 +00:00
Tom Hacohen 56f8891073 Evas textblock: Added a mode for setting newline behavior.
Can either be normal, or PS mode which means newline character behaves as a PS.

SVN revision: 57019
2011-02-14 14:17:12 +00:00
ChunEon Park be1bc9ae8c evas/engines - fixed invalid variable usage.
SVN revision: 57017
2011-02-14 13:59:36 +00:00
Tom Hacohen 7cd80bfc23 Evas textblock: Fixed it so there's an Evas_Text_Props field only for text objects.
Saves some memory.

SVN revision: 57016
2011-02-14 13:09:41 +00:00
Tom Hacohen 5b477a6454 Evas textblock: Wrapping - used a less correct approach that appears to be 3 times faster.
SVN revision: 57015
2011-02-14 12:44:38 +00:00