Commit Graph

3803 Commits

Author SHA1 Message Date
Carsten Haitzler 7bbeca7dcd API add: From <dunamis.park@samsung.com> - sungwoo
start of evas gl api (with compile warning fixes). (part 2)
      


SVN revision: 58321
2011-04-04 11:48:36 +00:00
Tom Hacohen 32b352dde9 Evas textblock: clean up render_pre a bit.
* _relayout is the way to go when we want to relayout.
* no need to mark content_changed=0 all over the place, it's already
  set in the first if.
* no need to call evas_object_render_pre_prev_cur_add more than once.

SVN revision: 58319
2011-04-04 11:14:38 +00:00
Carsten Haitzler 8859f850fb API add: From <dunamis.park@samsung.com> - sungwoo
start of evas gl api (with compile warning fixes).



SVN revision: 58318
2011-04-04 10:23:12 +00:00
Daniel Juyung Seo e1abab20f3 Evas Evas.h: Removed trailing whitespaces.
SVN revision: 58314
2011-04-04 08:10:06 +00:00
ChunEon Park 099d9e4a7f evas / evas_smart - removed white spaces
SVN revision: 58305
2011-04-03 16:15:21 +00:00
Tom Hacohen d4e2a42dff Evas textblock: Fixed native size calculation.
There was a bug (visible in elementary_test's Entry for example) that
made native size calculation of the textblock wrong in some cases.

SVN revision: 58289
2011-04-03 09:14:03 +00:00
Carsten Haitzler cc151e55cf actually can just mark as changed. let layout happen later when
requested.



SVN revision: 58227
2011-03-31 11:25:39 +00:00
Carsten Haitzler b1c3fa8a88 ummm... tasn.. you broke scaling of tb's! fix.,
SVN revision: 58226
2011-03-31 11:19:17 +00:00
Carsten Haitzler 1c3bfd1a22 FIX: fix render bug when rendering to buffer canvases due to lost
clipper.



SVN revision: 58223
2011-03-31 10:26:42 +00:00
Tom Hacohen 71372d9c65 Evas font-engine: Removed "use-kerning" from draw code.
It hasn't been used for a while. Everything is already calculated in
content_create.

SVN revision: 58215
2011-03-30 15:55:10 +00:00
Tom Hacohen 2e429037d0 Evas textblock: Updated changelog.
SVN revision: 58213
2011-03-30 13:11:04 +00:00
Tom Hacohen e9327efd98 Evas textblock: Removed duplicated condition.
raster: don't drink and code :).

SVN revision: 58212
2011-03-30 12:58:09 +00:00
Carsten Haitzler 97600782de verified. can remove the format forcing.
SVN revision: 58211
2011-03-30 12:26:07 +00:00
Tom Hacohen eaa8f71523 Evas textblock: Init first paragraph's y correctly.
SVN revision: 58208
2011-03-30 12:19:05 +00:00
Carsten Haitzler 267bf54d8a printf--
SVN revision: 58206
2011-03-30 12:17:45 +00:00
Tom Hacohen 2ffe5c197c Evas textblock: We don't need to mark as changed here.
SVN revision: 58205
2011-03-30 12:08:50 +00:00
Carsten Haitzler d3ce734dc9 handle align and ellipsis re-format right .
SVN revision: 58204
2011-03-30 12:05:07 +00:00
Carsten Haitzler df16f26dc7 use o->valign.
SVN revision: 58202
2011-03-30 11:34:06 +00:00
Tom Hacohen d47cefb425 Evas textblock: Actually use the valign value when layouting.
SVN revision: 58201
2011-03-30 11:10:23 +00:00
Carsten Haitzler c404d42a22 ellipsis re-format on height change too if an ellipsis is set anywhere
SVN revision: 58200
2011-03-30 10:38:02 +00:00
Carsten Haitzler 12d1b2d24d flesh out valign prop to have real api. untested currently.
SVN revision: 58199
2011-03-30 10:31:29 +00:00
Christopher Michael 672037e416 Evas: Textblock: Fix variable may be used uninitialized warning.
SVN revision: 58193
2011-03-30 05:48:39 +00:00
Tom Hacohen a2cecf5ea7 Evas textblock: Implemented vertical alignment - no way to set it yet.
Implemented the code needed, but there's still no way to set it.
This should be discussed. Not sure whether this should be part of
the API, or should just be set in the default style.

SVN revision: 58185
2011-03-29 14:14:29 +00:00
Tom Hacohen a9fb04ffb0 Evas Textblock/text: Add clipping until we fix inset handling.
Currently inset handling is not handled correctly so we just clip
to the left if there's no enough margin to draw the what overflows.
This is the same behavior that was done up until now because of the
global clipper that was applied.

SVN revision: 58184
2011-03-29 13:52:42 +00:00
Tom Hacohen fabf5bc16b Evas Textblock/text: Fix rendering outsize of zone and speed things up.
This speeds things up and uses "out of render zone" drawing.
In this commit we also start using width correctly so rendering should
be more exact.

SVN revision: 58183
2011-03-29 13:52:35 +00:00
Tom Hacohen 6f0bad18af Evas font-engine: Use advance instead of width with whitespace size calc
Advance is the real width of whitespace, not the width of the glyph
which is just 0.

SVN revision: 58182
2011-03-29 13:52:30 +00:00
Tom Hacohen 533ef3530e Evas font-engine: Added right_inset_get.
This lets us get the difference between the width and the advance
of a string pretty fast, which means we only need to calculate either
advance or width, because we can now calculate one from the other.

SVN revision: 58181
2011-03-29 13:52:22 +00:00
Tom Hacohen 79c580c65e Revert "evas: work around text/textblock bug rendering outside of rendering zone."
This reverts commit 58156

SVN revision: 58180
2011-03-29 13:52:08 +00:00
Carsten Haitzler 6b4d91830e wer can release compiler data if we want when done with glsl compiling.
SVN revision: 58172
2011-03-29 09:10:57 +00:00
Cedric BAIL bcc8abe6fe evas: work around text/textblock bug rendering outside of rendering zone.
This fix is temporary and waiting for Tasn to look at the proper fix. It will
be removed once that done.


SVN revision: 58156
2011-03-28 14:32:03 +00:00
Vincent Torri 535dabaca1 rename libtool version names to fit libtool doc
SVN revision: 58118
2011-03-27 18:07:42 +00:00
Tom Hacohen 6c29ea29fb Evas font-engine: Fix font size updating.
This commit fixes two types of misupdate of the font size.
1. Not updating all the fonts when not using Harfbuzz.
2. In rare cases update the wrong font when using Harfbuzz.

SVN revision: 58114
2011-03-27 12:22:13 +00:00
Vincent Torri 9093a47081 formatting
SVN revision: 58099
2011-03-26 17:13:52 +00:00
Vincent Torri 9cc1e2a01d Evas: improve jpeg m4 macro check
Use AC_LANG_PROGRAM instead of AC_LANG_SOURCE


SVN revision: 58097
2011-03-26 17:09:44 +00:00
Carsten Haitzler f2bf8bbfd9 ok. multi-screen (multihead) support with simultaneous display on 2
screens with the same gl context is more pain than imagined. revert
attempt to handle it. just use xinerama/twinview if u want the
compositor to not suck.



SVN revision: 58050
2011-03-24 01:45:12 +00:00
Cedric BAIL 5842ce6070 evas: fixed the last issue with clipping.
SVN revision: 58035
2011-03-23 15:50:02 +00:00
Tom Hacohen 301d5da589 Evas textblock: Updated format_prepend/append docs.
SVN revision: 58031
2011-03-23 11:43:52 +00:00
Brett Nash a4ff4f7fa3 Evas: proxy: more agressive pre_rendering of stuff
so both for smarts and non-smart objects.  once again thanks to tom/tasn.

SVN revision: 58019
2011-03-23 09:08:36 +00:00
Brett Nash 24d20d5a88 evas: proxy: do prerender if not done.
thanks to tom (tasn) for finding this for me.

SVN revision: 58017
2011-03-23 08:49:01 +00:00
Gustavo Sverzut Barbieri 7502b7fe0b Don't create useless modules dir if we're not going to install modules.
SVN revision: 58014
2011-03-23 03:33:55 +00:00
Gustavo Sverzut Barbieri 9f0b807db4 Fix build with static modules, thanks Gentoo ;-)
I don't know if this is useful to backport to stable branch, if you
think so please do it as I don't even have that checkout... svn is
annoying :-P



SVN revision: 58012
2011-03-23 02:45:19 +00:00
Brett Nash 3470b9f817 Evas: De-beta readme.
Warning: This change makes evas web2.0 incompatible.  We also lack a wet floor
logo.

SVN revision: 58011
2011-03-23 01:37:19 +00:00
Brett Nash 154b7d1f3a Evas: Readme: Make doc clearer for metric and word cache.
Wow, first gentoo related bug fix.

SVN revision: 58010
2011-03-23 01:37:17 +00:00
Brett Nash fc2c613bec Evas: PRoxy: First pass at punching through hidden clips.
SVN revision: 58009
2011-03-23 01:37:14 +00:00
Cedric BAIL 25f1cf2d2f evas: fix build with uclibc.
SVN revision: 57991
2011-03-22 14:29:25 +00:00
Cedric BAIL 9eb10c822d evas: that wasn't a typo in fact.
SVN revision: 57989
2011-03-22 13:44:29 +00:00
Cedric BAIL bc554a974d evas: fix typos.
SVN revision: 57988
2011-03-22 13:36:16 +00:00
Tom Hacohen c116d8cc31 Evas textblock: Don't create text props if there's no font.
Thanks to Nash for letting me know about it. It's not really useful,
but at least it helps us avoid crashing.

SVN revision: 57984
2011-03-22 10:18:46 +00:00
Cedric BAIL 2b3ee3f630 evas: hopefully the last clip bug fix.
If no one see breakage due to this, I will backport all of them in two days.


SVN revision: 57934
2011-03-21 15:18:26 +00:00
Carsten Haitzler 3f92c6056c another vendor/renderer example.
SVN revision: 57926
2011-03-21 02:09:09 +00:00