Commit Graph

3843 Commits

Author SHA1 Message Date
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
Tom Hacohen df5202b2dd Evas font: Iterate with pointers, not indexes.
SVN revision: 57917
2011-03-20 15:05:05 +00:00
Tom Hacohen 421621a7ac Evas textblock: Fixed a small error in docs.
SVN revision: 57916
2011-03-20 13:56:08 +00:00
Carsten Haitzler 383f5a91c7 and check extent... FIRST
SVN revision: 57915
2011-03-20 13:25:27 +00:00
Tom Hacohen 6b2d04c4e0 Evas font: Added a comment to a confusing magic number.
SVN revision: 57913
2011-03-20 08:51:41 +00:00
Carsten Haitzler 5c45d8fdaf support multiple screens AT the same time... multiple gl contexts -
one is created per screen #. max is 16 screens (0->15). dont know if
this really works yet.



SVN revision: 57912
2011-03-20 08:48:30 +00:00
Carsten Haitzler ac97fb1944 add blacklisting for software gl implementations
SVN revision: 57908
2011-03-20 06:08:53 +00:00
Carsten Haitzler b875f1dda5 turn loose binding off on newer-ish nvidia dreiver versions. this is an
experiment. testing to see if it helps.



SVN revision: 57893
2011-03-19 10:58:34 +00:00
Carsten Haitzler cc58ee1e6a evas cache system more pedantic about matches and statting.
SVN revision: 57890
2011-03-19 07:08:59 +00:00
Carsten Haitzler 3b9219748d warnings--
SVN revision: 57877
2011-03-19 03:56:35 +00:00
Carsten Haitzler 269d65dc05 nochlog: fix warning to not wrap @ 80 cols.
SVN revision: 57876
2011-03-19 03:44:33 +00:00
Daniel Juyung Seo e2ca5e51f4 Evas evas.dox.in: Added Jiyoun Park. Sync with AUTHORS.
SVN revision: 57849
2011-03-18 12:13:54 +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
Carsten Haitzler 543016a352 revert version change 999 -> 99. also e17 didnt even need it as it
produced no versioned .so files.



SVN revision: 57844
2011-03-18 07:35:19 +00:00
Sebastian Dransfeld 8dee8ac0ac Set v_mic to 99 (less than 256) to please OS X
SVN revision: 57824
2011-03-17 13:12:50 +00:00
Daniel Juyung Seo e93b867f97 Evas evas.dox.in: Added Sung W. Park.
SVN revision: 57808
2011-03-16 22:06:50 +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
Vincent Torri e9a7a23536 Evas: formatting and add ico module building
1) i like alphabetical order (build order of modules and configure output

2) ico module was not built

SVN revision: 57747
2011-03-14 20:33:44 +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 6ae518d6d0 handle 1bit icos properly. oops.
make ico loader more robust for broken ico/cur files. ico/cur is a
broken format... but hey. it has to be dealt with.



SVN revision: 57721
2011-03-13 04:41:30 +00:00
Carsten Haitzler 710630d074 Evas: add ico loader!
SVN revision: 57693
2011-03-11 15:07:25 +00:00
Carsten Haitzler 0f002c7f93 chlog++ - and yes i know. backport to 1.0.1 - as i said already. will
go over these when i get to it.



SVN revision: 57669
2011-03-10 12:13:25 +00:00
Carsten Haitzler 1f2163eeba ok - finally - biran wang... you get your hacky bmp loader.
SVN revision: 57668
2011-03-10 12:11:42 +00:00
Sung W. Park 37c3f59341 From: "Sung W. Park" <sungwoo@gmail.com>
Subject: [E-devel] Evas - OpenGL and Image Object -
evas_object_image_native_surface_set()

Fix bug with yinvert handling of native surfaces.



SVN revision: 57658
2011-03-10 08:23:39 +00:00
Carsten Haitzler 51b3f6c969 fix -> call hide BEFORE del.
SVN revision: 57613
2011-03-09 06:16:46 +00:00
Carsten Haitzler 36a0d2587b and now with some testing... actually fix the swapintervals fun :)
SVN revision: 57596
2011-03-08 15:56:39 +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
Sebastian Dransfeld 75ea58e2e2 ignore++
SVN revision: 57576
2011-03-08 11:41:40 +00:00
Rui Seabra dabd515538 Fix build (from make dist files).
SVN revision: 57573
2011-03-08 11:27:40 +00:00
Rui Seabra e68cdfa48b Support WBMP loader.
SVN revision: 57572
2011-03-08 11:27:00 +00:00
Carsten Haitzler e4b877f45d 2 different sync apis with differetn ext's. fix.
SVN revision: 57569
2011-03-08 11:20:49 +00:00
Mike Blumenkrantz 63638f7393 _evas_gl_common_viewport_set segv fix: ROUND 2!
SVN revision: 57561
2011-03-08 01:00:21 +00:00
Carsten Haitzler ccfe91cc58 REVERT! hell no. glu is not going to become a dependency. it never
was. you broke gl-es support and didnt link to glu either. it's a
separate lib. no no no no no.



SVN revision: 57558
2011-03-07 19:11:18 +00:00
Mike Blumenkrantz ea5e9b6773 fix weird segv I found when trying opengl mode in comp module on my desktop, waiting for someone to give me the "good job you did it correctly" before I backport since I probably didn't
SVN revision: 57546
2011-03-07 05:41:49 +00:00
Daniel Juyung Seo cb4030b2c8 Evas evas.dox.in: Fixed typo.
SVN revision: 57457
2011-03-01 14:03:50 +00:00
Vincent Torri be83c603b2 formatting
SVN revision: 57368
2011-02-27 10:32:52 +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 e1f359a127 whitespaces--
SVN revision: 57362
2011-02-27 10:04:19 +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 03d42cee69 formatting and spell
SVN revision: 57359
2011-02-27 09:37:14 +00:00
Vincent Torri bd5cdd7432 Actually, it's important and it's a compilation failure. Users
will know when it has been fixed


SVN revision: 57358
2011-02-27 09:31:00 +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
Cedric BAIL 74a5463b36 efl: add back touch on configure time generated file.
SVN revision: 57232
2011-02-22 10:29:28 +00:00
Tom Hacohen 4f36121edb Evas: Updated changelog.
SVN revision: 57230
2011-02-22 09:33:22 +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
Cedric BAIL 810ce84f7e efl: turn on cached result, that will reduce your configure time a lot !
SVN revision: 57213
2011-02-21 14:56:49 +00:00