profile/ivi/evas.git
13 years agoEvas font: Removed a deprecated macro.
tasn [Wed, 20 Apr 2011 14:21:00 +0000 (14:21 +0000)]
Evas font: Removed a deprecated macro.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58759 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font: Removed LOGICAL_WALK and updated last_up_to_pos accondingly.
tasn [Wed, 20 Apr 2011 14:20:57 +0000 (14:20 +0000)]
Evas font: Removed LOGICAL_WALK and updated last_up_to_pos accondingly.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58758 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas text/textblock: Change item size calculation to use advance again.
tasn [Wed, 20 Apr 2011 14:20:54 +0000 (14:20 +0000)]
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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58757 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font-engine: Cache pen position instead of advance.
tasn [Wed, 20 Apr 2011 14:20:51 +0000 (14:20 +0000)]
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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58756 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font-engine: Fix drawing of replacement char when not using Harfbuzz.
tasn [Wed, 20 Apr 2011 14:20:48 +0000 (14:20 +0000)]
Evas font-engine: Fix drawing of replacement char when not using Harfbuzz.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58755 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofilter: handle malloc failers without crashing.
raster [Wed, 20 Apr 2011 08:28:40 +0000 (08:28 +0000)]
filter: handle malloc failers without crashing.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58752 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agolets properly document filter calls and return sane values
raster [Wed, 20 Apr 2011 08:24:56 +0000 (08:24 +0000)]
lets properly document filter calls and return sane values

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58751 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoand lets have getters for setters shall we - if we go implement 1 of
raster [Wed, 20 Apr 2011 08:20:36 +0000 (08:20 +0000)]
and lets have getters for setters shall we - if we go implement 1 of
them.. lets implement alll shall we?

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58750 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoand fix filter api to be consistent with evas.. letalone all of efl.
raster [Wed, 20 Apr 2011 08:13:33 +0000 (08:13 +0000)]
and fix filter api to be consistent with evas.. letalone all of efl.
VERB AT END!!!! (get/set/whatever)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58749 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomore formatting fixes after filter commit.
raster [Wed, 20 Apr 2011 08:09:30 +0000 (08:09 +0000)]
more formatting fixes after filter commit.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58748 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoand fix more filter messups. o->fitler will be leaked on obj deletion
raster [Wed, 20 Apr 2011 08:06:59 +0000 (08:06 +0000)]
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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58747 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomore bad code - why pass in void * image and data? sero point.. and it
raster [Wed, 20 Apr 2011 08:05:23 +0000 (08:05 +0000)]
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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58746 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agooh god. more warning fixes...
raster [Wed, 20 Apr 2011 08:01:04 +0000 (08:01 +0000)]
oh god. more warning fixes...

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58745 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomore fixme fixes of filter
raster [Wed, 20 Apr 2011 07:35:18 +0000 (07:35 +0000)]
more fixme fixes of filter

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58744 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agostart fixing shader mess. at least add mask compile to scripts. need
raster [Wed, 20 Apr 2011 07:12:51 +0000 (07:12 +0000)]
start fixing shader mess. at least add mask compile to scripts. need
to do filters.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58743 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix filter code to move docs to Evas.h
raster [Wed, 20 Apr 2011 07:08:48 +0000 (07:08 +0000)]
fix filter code to move docs to Evas.h

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58742 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agooh dear... way too many warnings. added a whole bunch of fixme's too
raster [Wed, 20 Apr 2011 01:22:08 +0000 (01:22 +0000)]
oh dear... way too many warnings. added a whole bunch of fixme's too
for later.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58740 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: export evas_filter_software_get() (used in software_generic engine)
caro [Tue, 19 Apr 2011 21:37:32 +0000 (21:37 +0000)]
Evas: export evas_filter_software_get() (used in software_generic engine)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58736 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font-engine: fix a segfault with empty strings.
tasn [Tue, 19 Apr 2011 20:27:34 +0000 (20:27 +0000)]
Evas font-engine: fix a segfault with empty strings.

Thanks to Nicolas Aguirre (captainigloo) for the catch.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58734 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Filter: Add evas_object_image filter changes.
nash [Tue, 19 Apr 2011 06:16:21 +0000 (06:16 +0000)]
Evas: Filter: Add evas_object_image filter changes.

This is where the actual filtering takes place.  Kinda important to make it
work.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58729 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Filters:
nash [Tue, 19 Apr 2011 05:47:56 +0000 (05:47 +0000)]
Evas: Filters:

More work, proudly supported by Samsung.  Filters!

So now you can apply a whole host of cheesy visual effects to objects at
runtime.  This is the first commit, there are a couple of more to come as I
tweak the filters, and fix blur with GL[1].

Please direct bugs to me nash@nash.id.au.

[1] You'd think shaders would be good at this.. but no, generic blur and GL
are like trying to get an apple product to work with Linux.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58726 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Filter: Add the shaders - nice and safe change here.
nash [Tue, 19 Apr 2011 05:47:51 +0000 (05:47 +0000)]
Evas: Filter: Add the shaders - nice and safe change here.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58725 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Work around for mask issues
nash [Tue, 19 Apr 2011 05:47:47 +0000 (05:47 +0000)]
Evas: Work  around for mask issues

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58724 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Fix nasty blank space after return and before semicolon.
devilhorns [Mon, 18 Apr 2011 16:31:12 +0000 (16:31 +0000)]
Evas: Fix nasty blank space after return and before semicolon.

NB: Nothing functional, just formatting.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58708 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed an invalid read.
tasn [Sun, 17 Apr 2011 08:38:29 +0000 (08:38 +0000)]
Evas textblock: Fixed an invalid read.

In some cases an invalid read would occur. This was because we didn't
handle node merging appropriately.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58701 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofailure case more efficient
raster [Fri, 15 Apr 2011 09:32:28 +0000 (09:32 +0000)]
failure case more efficient

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58683 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix image double-deref/free when not meant to happen
raster [Fri, 15 Apr 2011 07:49:25 +0000 (07:49 +0000)]
fix image double-deref/free when not meant to happen

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58682 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix binary ppm loading. that was odd.
raster [Fri, 15 Apr 2011 07:08:14 +0000 (07:08 +0000)]
fix binary ppm loading. that was odd.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58681 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas text/textblock: Add setting bidi_delimiter API.
tasn [Thu, 14 Apr 2011 15:34:01 +0000 (15:34 +0000)]
Evas text/textblock: Add setting bidi_delimiter API.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58669 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoautogen: unobrk things.
cedric [Thu, 14 Apr 2011 14:51:36 +0000 (14:51 +0000)]
autogen: unobrk things.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58668 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoautogen: improve detection of parameter change.
cedric [Thu, 14 Apr 2011 14:03:46 +0000 (14:03 +0000)]
autogen: improve detection of parameter change.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58667 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Clean up a bit.
tasn [Thu, 14 Apr 2011 12:34:29 +0000 (12:34 +0000)]
Evas textblock: Clean up a bit.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58663 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Move bidi props to the layout paragraphs.
tasn [Thu, 14 Apr 2011 12:13:20 +0000 (12:13 +0000)]
Evas textblock: Move bidi props to the layout paragraphs.

This will let us do cool overrides more control via higher level protocol
when we'll want to.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58662 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed invalid reads with ellipsis in some cases.
tasn [Thu, 14 Apr 2011 11:37:09 +0000 (11:37 +0000)]
Evas textblock: Fixed invalid reads with ellipsis in some cases.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58659 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed ellipsis.
tasn [Thu, 14 Apr 2011 11:37:06 +0000 (11:37 +0000)]
Evas textblock: Fixed ellipsis.

It's actually just a workaround until we finally fix draw to not need
the text.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58658 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix map update bug. :)
raster [Thu, 14 Apr 2011 10:47:40 +0000 (10:47 +0000)]
fix map update bug. :)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58656 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Updated changelog.
tasn [Thu, 14 Apr 2011 07:40:45 +0000 (07:40 +0000)]
Evas: Updated changelog.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58653 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas bidi: Added a way to ask for bidi segmentation indexes.
tasn [Thu, 14 Apr 2011 07:40:42 +0000 (07:40 +0000)]
Evas bidi: Added a way to ask for bidi segmentation indexes.

This lets you pass the bidi engine a list of indexes in the paragraph,
that will segment it bidi-wise. I.e the bidi algorithm will be applied to
each segment individually. This implements HL4 of the bidi algorithm.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58652 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Reformat if not valid in some cases we forgot.
tasn [Thu, 14 Apr 2011 07:34:06 +0000 (07:34 +0000)]
Evas textblock: Reformat if not valid in some cases we forgot.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58651 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock Fixed a "may be used uninit" compiler warning.
tasn [Wed, 13 Apr 2011 22:40:25 +0000 (22:40 +0000)]
Evas textblock Fixed a "may be used uninit" compiler warning.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58646 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Removed unneeded casting.
tasn [Wed, 13 Apr 2011 13:29:24 +0000 (13:29 +0000)]
Evas textblock: Removed unneeded casting.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58635 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fix error messages about bad cutoff positions.
tasn [Wed, 13 Apr 2011 13:28:08 +0000 (13:28 +0000)]
Evas textblock: Fix error messages about bad cutoff positions.

This was caused because we failed to check text item's text boundaries
and we tried splitting beyond them.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58634 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Clean up getting bidi props (unify to a function).
tasn [Wed, 13 Apr 2011 12:21:58 +0000 (12:21 +0000)]
Evas textblock: Clean up getting bidi props (unify to a function).

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58632 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas bidi: Add len parameter to evas_bidi_paragraph_props_get
tasn [Wed, 13 Apr 2011 12:21:54 +0000 (12:21 +0000)]
Evas bidi: Add len parameter to evas_bidi_paragraph_props_get

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58631 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font-engine: Move, rename and make *_text_font_style_match static.
tasn [Wed, 13 Apr 2011 10:55:59 +0000 (10:55 +0000)]
Evas font-engine: Move, rename and make *_text_font_style_match static.

It's only really used (and will ever be used) in a very specific place,
no need to put it in a place that's visible to all the lib.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58627 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Make sure we only test with positive indexes.
tasn [Wed, 13 Apr 2011 10:24:54 +0000 (10:24 +0000)]
Evas textblock: Make sure we only test with positive indexes.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58625 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed a wrong test for end of string.
tasn [Wed, 13 Apr 2011 10:22:55 +0000 (10:22 +0000)]
Evas textblock: Fixed a wrong test for end of string.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58624 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix slowdown - drew empty shadow when didnt need to.
raster [Wed, 13 Apr 2011 09:29:45 +0000 (09:29 +0000)]
fix slowdown - drew empty shadow when didnt need to.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58623 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font-engine: Fix the fallback fribidi shaper.
tasn [Wed, 13 Apr 2011 08:37:01 +0000 (08:37 +0000)]
Evas font-engine: Fix the fallback fribidi shaper.

Just keep the shaped string in the string object if fribidi is used
without harfbuzz.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58620 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Don't keep a copy of the string per text item.
tasn [Wed, 13 Apr 2011 08:36:57 +0000 (08:36 +0000)]
Evas textblock: Don't keep a copy of the string per text item.

We don't need to copy it around because we have string objects now. This
lets us remove a lot of unneeded allocations and unwanted strcpys.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58619 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font-engine: Fixed *props_info_create to accept a const string.
tasn [Wed, 13 Apr 2011 08:36:54 +0000 (08:36 +0000)]
Evas font-engine: Fixed *props_info_create to accept a const string.

We don't want to have to alloc just for the engine. We want to be able to
pass our own const copy.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58618 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font-engine: Use len in font_draw instead of \0
tasn [Wed, 13 Apr 2011 08:36:51 +0000 (08:36 +0000)]
Evas font-engine: Use len in font_draw instead of \0

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58617 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font-engine: *text_props_script_set add parameter len.
tasn [Wed, 13 Apr 2011 08:36:46 +0000 (08:36 +0000)]
Evas font-engine: *text_props_script_set add parameter len.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58616 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoignore++
englebass [Tue, 12 Apr 2011 22:47:12 +0000 (22:47 +0000)]
ignore++

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58609 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix new map bug! aaagh. i think this came in post 1.0 - happy now tho.
raster [Tue, 12 Apr 2011 09:44:50 +0000 (09:44 +0000)]
fix new map bug! aaagh. i think this came in post 1.0 - happy now tho.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58588 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas Evas.h: Removed trailing whitespaces.
seoz [Tue, 12 Apr 2011 09:25:12 +0000 (09:25 +0000)]
Evas Evas.h: Removed trailing whitespaces.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58587 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas evas_object_smart.c: Use pre-defined type, Evas_Smart_Cb, instead
seoz [Tue, 12 Apr 2011 09:23:57 +0000 (09:23 +0000)]
Evas evas_object_smart.c: Use pre-defined type, Evas_Smart_Cb, instead
of describing all parameters.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58586 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix some formatting
raster [Tue, 12 Apr 2011 09:23:52 +0000 (09:23 +0000)]
fix some formatting

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58585 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font-engine: Added support for runtime-italic/bold.
tasn [Tue, 12 Apr 2011 09:05:47 +0000 (09:05 +0000)]
Evas font-engine: Added support for runtime-italic/bold.

Now when setting :style=Oblique/Italic/Cursiva/Bold and etc and there's
no matching font found in the system, adjustments will be done on
runtime to support that feature.

Patch by Myoungwoon Roy Kim (roy_kim).

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58584 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fix formatted size calculation with ellipsis.
tasn [Tue, 12 Apr 2011 07:13:33 +0000 (07:13 +0000)]
Evas textblock: Fix formatted size calculation with ellipsis.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58580 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Removed obsolete comments.
tasn [Tue, 12 Apr 2011 07:13:07 +0000 (07:13 +0000)]
Evas textblock: Removed obsolete comments.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58579 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fix a possible leak with calc_only layouting.
tasn [Tue, 12 Apr 2011 06:52:27 +0000 (06:52 +0000)]
Evas textblock: Fix a possible leak with calc_only layouting.

Style padding changes would have triggered a code-path that skips cleaning
up the temporary layout created.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58578 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agosimplify tiff loader. hoping 64bit bug goes away. :) can't test right
raster [Tue, 12 Apr 2011 06:20:38 +0000 (06:20 +0000)]
simplify tiff loader. hoping 64bit bug goes away. :) can't test right
now.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58577 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agono need to get this.
raster [Tue, 12 Apr 2011 00:06:57 +0000 (00:06 +0000)]
no need to get this.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58574 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed double-drawing bug (visible in efm).
tasn [Mon, 11 Apr 2011 15:37:06 +0000 (15:37 +0000)]
Evas textblock: Fixed double-drawing bug (visible in efm).

Moved the place we merge back items at. It's currently cleaner, more
correct and as mentioned, fixes a double-drawing bug.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58555 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed not drawing cut paragraphs when doing ellipsis.
tasn [Mon, 11 Apr 2011 13:44:01 +0000 (13:44 +0000)]
Evas textblock: Fixed not drawing cut paragraphs when doing ellipsis.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58553 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Updated changelog.
tasn [Mon, 11 Apr 2011 12:18:10 +0000 (12:18 +0000)]
Evas: Updated changelog.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58550 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agochlog++
raster [Mon, 11 Apr 2011 12:07:03 +0000 (12:07 +0000)]
chlog++

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58547 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomany more shadow options (8 shadow directions now)
raster [Mon, 11 Apr 2011 12:05:59 +0000 (12:05 +0000)]
many more shadow options (8 shadow directions now)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58546 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas sw8: Inherit most of the engine from sw_generic.
tasn [Mon, 11 Apr 2011 10:18:13 +0000 (10:18 +0000)]
Evas sw8: Inherit most of the engine from sw_generic.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58543 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas sw16: Inherit most of the engine from sw_generic.
tasn [Mon, 11 Apr 2011 10:18:10 +0000 (10:18 +0000)]
Evas sw16: Inherit most of the engine from sw_generic.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58542 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Add EVAS_API_RESET that overrides API with NULL.
tasn [Mon, 11 Apr 2011 10:18:06 +0000 (10:18 +0000)]
Evas: Add EVAS_API_RESET that overrides API with NULL.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58541 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: *_markup_prepend should use the passed cursor.
tasn [Sun, 10 Apr 2011 07:27:07 +0000 (07:27 +0000)]
Evas textblock: *_markup_prepend should use the passed cursor.

This fixes a bug that caused evas_object_textblock_text_markup_prepend
to use the object's cursor, instead of the passed cursor when prepending
text.
Thanks to WooHyun for the catch.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58531 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agogles warning--
raster [Sat, 9 Apr 2011 04:13:21 +0000 (04:13 +0000)]
gles warning--

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58514 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agodoxy move to header.
raster [Fri, 8 Apr 2011 07:26:20 +0000 (07:26 +0000)]
doxy move to header.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58477 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agodoxy to h.
raster [Fri, 8 Apr 2011 06:11:31 +0000 (06:11 +0000)]
doxy to h.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58473 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font-engine: Remove most of the passing of strings.
tasn [Thu, 7 Apr 2011 16:25:56 +0000 (16:25 +0000)]
Evas font-engine: Remove most of the passing of strings.

We have string objects, we don't really need them. Draw still uses strings
for metric cache, but that will be removed soon as well.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58460 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fix handling of newline in compatiblity mode.
tasn [Thu, 7 Apr 2011 15:25:19 +0000 (15:25 +0000)]
Evas textblock: Fix handling of newline in compatiblity mode.

This fixes an issue with newlines that were shoved in the middle of
other format parts like <font_size=46 \n>.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58457 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed a major bug - don't recreate format items.
tasn [Thu, 7 Apr 2011 14:25:48 +0000 (14:25 +0000)]
Evas textblock: Fixed a major bug - don't recreate format items.

I added a mode to format parsing that doesn't create new format items.
The bug was that format items were created all the time although they were
not needed.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58456 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoRevert "Evas textblock: Fixed a major bug. Forgot recreating a layout paragraph."
tasn [Thu, 7 Apr 2011 14:01:31 +0000 (14:01 +0000)]
Revert "Evas textblock: Fixed a major bug. Forgot recreating a layout paragraph."

Apparently it was a mistake and I did handle everything correctly.

This reverts commit 58454.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58455 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed a major bug. Forgot recreating a layout paragraph.
tasn [Thu, 7 Apr 2011 13:40:42 +0000 (13:40 +0000)]
Evas textblock: Fixed a major bug. Forgot recreating a layout paragraph.

We should create a layout paragraph when it's a new paragraph and when
we removed the previous one that was there because we wanted to
remake it. Forgot adding a paragraph in the second case.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58454 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Fix last changelog entry description.
tasn [Thu, 7 Apr 2011 13:34:00 +0000 (13:34 +0000)]
Evas: Fix last changelog entry description.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58453 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Updated changelog.
tasn [Thu, 7 Apr 2011 13:15:57 +0000 (13:15 +0000)]
Evas textblock: Updated changelog.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58449 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed a bug in newline compatible mode.
tasn [Thu, 7 Apr 2011 13:13:41 +0000 (13:13 +0000)]
Evas textblock: Fixed a bug in newline compatible mode.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58447 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Don't mark nodes as clean when in 'calc_only'.
tasn [Thu, 7 Apr 2011 13:13:38 +0000 (13:13 +0000)]
Evas textblock: Don't mark nodes as clean when in 'calc_only'.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58446 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Add saftey check.
tasn [Thu, 7 Apr 2011 12:27:35 +0000 (12:27 +0000)]
Evas textblock: Add saftey check.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58431 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Adding visible formats - only invalidate current node.
tasn [Thu, 7 Apr 2011 12:22:16 +0000 (12:22 +0000)]
Evas textblock: Adding visible formats - only invalidate current node.

No need to invalidate all the nodes when adding visible formats because
they are "like regular text".

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58428 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Only relayout paragraphs that have changed.
tasn [Thu, 7 Apr 2011 11:24:15 +0000 (11:24 +0000)]
Evas textblock: Only relayout paragraphs that have changed.

Remove deleted paragraphs, add new paragraphs and generally relayout
only when really needed. Also, don't relayout when width hasn't changed
and the paragraph haven't changed.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58418 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Clean the code a bit (remove node-invalidation func).
tasn [Thu, 7 Apr 2011 11:24:11 +0000 (11:24 +0000)]
Evas textblock: Clean the code a bit (remove node-invalidation func).

No need for that, just specifically mark where needed that a node has
changed. This is cleaner and nicer.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58417 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Cleaned code up a bit.
tasn [Wed, 6 Apr 2011 15:51:14 +0000 (15:51 +0000)]
Evas textblock: Cleaned code up a bit.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58395 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: fix broken 16bits engine.
cedric [Wed, 6 Apr 2011 15:37:54 +0000 (15:37 +0000)]
evas: fix broken 16bits engine.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58394 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoand now REALLY fix that viewport bug...
raster [Wed, 6 Apr 2011 10:11:01 +0000 (10:11 +0000)]
and now REALLY fix that viewport bug...

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58386 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoand handle other make current to "no context" in case.
raster [Wed, 6 Apr 2011 09:40:13 +0000 (09:40 +0000)]
and handle other make current to "no context" in case.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58385 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix gles engine bug with > 1 window.. missing viewport transform
raster [Wed, 6 Apr 2011 09:38:39 +0000 (09:38 +0000)]
fix gles engine bug with > 1 window.. missing viewport transform
fixups on deletion of a window!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58384 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agochlog++
raster [Wed, 6 Apr 2011 07:37:13 +0000 (07:37 +0000)]
chlog++

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58382 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix scossor clip on 90 degree rots.
raster [Wed, 6 Apr 2011 07:32:33 +0000 (07:32 +0000)]
fix scossor clip on 90 degree rots.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58381 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Mask: Fix non-masked image rendering.
nash [Wed, 6 Apr 2011 06:43:33 +0000 (06:43 +0000)]
Evas: Mask: Fix non-masked image rendering.

Mismerge by me.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58380 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Mask: Add shader init code.
nash [Wed, 6 Apr 2011 06:15:59 +0000 (06:15 +0000)]
Evas: Mask: Add shader init code.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58377 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Mask: Fix undeclared warnings.
nash [Wed, 6 Apr 2011 06:10:31 +0000 (06:10 +0000)]
Evas: Mask: Fix undeclared warnings.

Also comment out a function.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58376 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofixme notice, fix make current context to force if it was changed.
raster [Wed, 6 Apr 2011 05:56:53 +0000 (05:56 +0000)]
fixme notice, fix make current context to force if it was changed.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58375 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33