Tom Hacohen
368a77aea0
Evas textblock: Fixed *_format_remove_pair to invalidate the text nodes.
...
SVN revision: 58991
2011-04-28 08:18:44 +00:00
Carsten Haitzler
f7b637ca03
fix formatting.
...
SVN revision: 58988
2011-04-28 06:59:11 +00:00
Tom Hacohen
3e5cb0ac98
Evas textblock: Use strncmp instead of strncpy and strcmp.
...
SVN revision: 58963
2011-04-27 14:59:22 +00:00
Tom Hacohen
2ca672d8b4
Evas font-engine: Remove dependency or harfbuzz being built with glib.
...
Harfbuzz needs unicode querying functions in order to work properly,
until there'll be a nice lib that does that (should be under dev) we have
to depend on an outside source. This commit uses new Harfbuzz API that
lets us not care about the unicode function provider and just let harfbuzz
to manage it on it's own.
SVN revision: 58961
2011-04-27 14:00:00 +00:00
Tom Hacohen
722707547a
Evas textblock: Implement format invalidation points support.
...
This lets us only relayout what's needed also when inserting formats.
This means inserting <b> </> for example is now as fast as inserting any
other char and doesn't cause a complete relayout.
SVN revision: 58958
2011-04-27 12:41:26 +00:00
Tom Hacohen
a3e8da3507
Evas font-engine: Fixes last commit to not seg when not using OT.
...
SVN revision: 58936
2011-04-26 14:20:45 +00:00
Tom Hacohen
476ac636d5
Revert "BAD TASN!". Yeah, I'm evil.
...
Following commit includes a fix.
This reverts commit 58933.
SVN revision: 58935
2011-04-26 14:20:41 +00:00
Tom Hacohen
8f41c4c125
Evas font-engine: Updated comments.
...
SVN revision: 58934
2011-04-26 14:20:38 +00:00
Carsten Haitzler
2d2b2d686e
BAD TASN!
...
ROLL BACK TODAYS CHANGES TO EVAS....
SEGV SEGV EVERYWHERE!
*SPANK*
SVN revision: 58933
2011-04-26 14:05:01 +00:00
Daniel Juyung Seo
a96bb7a222
Evas Evas.h: Sync dox authors with AUTHORS file.
...
SVN revision: 58932
2011-04-26 13:02:02 +00:00
Michael BOUCHAUD
f958f76306
email address of Thierry El Borgi
...
SVN revision: 58931
2011-04-26 12:36:57 +00:00
Tom Hacohen
a3c144d2c9
Evas font-engine: fix issue with using the wrong fi.
...
SVN revision: 58930
2011-04-26 10:21:01 +00:00
Carsten Haitzler
54f2389187
make generic loader 2 stage (head + data)
...
SVN revision: 58927
2011-04-26 09:41:07 +00:00
Tom Hacohen
cb561612f2
Evas font-engine: use the cached fi instead of searching for it.
...
SVN revision: 58926
2011-04-26 09:26:33 +00:00
Tom Hacohen
9b0005e62a
Evas font-engine: Added a fixme.
...
SVN revision: 58925
2011-04-26 09:14:23 +00:00
Tom Hacohen
f0e18f58ff
Evas font-engine: Cache fi when using Harfbuzz.
...
Soon I will also do it for all cases, but it's not possible at the
moment because we depend on harfbuzz for querying unicode properties.
SVN revision: 58924
2011-04-26 09:14:02 +00:00
Carsten Haitzler
4af57920a8
fixme++
...
SVN revision: 58923
2011-04-26 08:45:21 +00:00
Carsten Haitzler
0de9ac68dd
use correct hdr in shm open check.
...
SVN revision: 58917
2011-04-26 05:12:25 +00:00
Carsten Haitzler
0e57095d06
add generic image loader. allows for GPL loaders, unstable loaders and
...
more. making a loader is a matter of a binary of a specific name and
evas passes certain input on the cmd-line and your binary produces
output on stdout (and also optionally additionally in a shm or tmp
file).
SVN revision: 58914
2011-04-26 01:03:06 +00:00
Cedric BAIL
a613126be4
evas: don't forget to init eina_threads when using threads.
...
SVN revision: 58908
2011-04-25 17:11:58 +00:00
Carsten Haitzler
b3a893c78c
oops - didnt mean to commit that. that was just an example.
...
SVN revision: 58897
2011-04-25 09:42:49 +00:00
Sung W. Park
d12e4f28d4
From: "Sung W. Park" <sungwoo@gmail.com>
...
Subject: [E-devel] [Review] [Patch] Evas - OpenGL on Evas: surface
texture creation patch
I'm attaching a patch that addresses the awkward usage case. It's something
that didn't bother me initially but the more I look at it, i think
it's a little off. :-)
The initial version of the evas_gl that I've submitted had the
following use case.
evasgl = evas_gl_new(e);
sfc = evas_gl_surface_create(...);
ctx = evas_gl_context_create(...);
// Make current triggers surface texture and FBO to be created
evas_gl_make_current(evasgl, sfc, ctx);
// Then you can do a surface_get to retrieve the proper texture and set it
evas_gl_native_surface_get(evasgl, sfc, &ns);
evas_object_image_native_surface_set(img_obj, &ns);
The unnatural thing about this use case is that you have to call the make_current
one time in order for evas_gl to generate a surface texture. This is because
you need a context to create a texture. Unfortunately, this makes the usage
case really awkward.
So, instead, I've decided to get rid of the need for calling the make_current
by generating a surface texture when evas_gl_surface_create() is called
by using the evas' gl context. This works because the newly created context
shares resources with evas. in fact, this is what i'm currently doing with surface
deletion anyway so I thought this solution was reasonable.
Here's how it looks after you get rid of the make_current:
evasgl = evas_gl_new(e);
sfc = evas_gl_surface_create(...);
ctx = evas_gl_context_create(...);
evas_gl_native_surface_get(evasgl, sfc, &ns);
evas_object_image_native_surface_set(img_obj, &ns);
The patch is pretty small and straightforward.
SVN revision: 58892
2011-04-25 08:41:36 +00:00
Carsten Haitzler
15d22f9c47
warnings--
...
SVN revision: 58884
2011-04-25 02:36:14 +00:00
Carsten Haitzler
75292cc435
lets have a Makefile.am shall we?
...
SVN revision: 58882
2011-04-25 02:28:42 +00:00
Cedric BAIL
c517bb20ee
evas: use eina_lock.
...
NOTE: now when preload and ecore_thread are not running all lock
are disabled inside evas.
SVN revision: 58878
2011-04-24 20:25:34 +00:00
Cedric BAIL
c708610cbc
evas: remove a few shadow variable.
...
SVN revision: 58874
2011-04-24 20:21:07 +00:00
Cedric BAIL
0cef5e41fe
evas: add psd file format support.
...
Patch from Thierry el Borgi with some rework of myself.
NOTE: I don't have much file to test, so if some don't
contact us with those file and we will fix the loader
if needed.
SVN revision: 58873
2011-04-24 19:45:43 +00:00
Mike Blumenkrantz
4386f8fb35
hmmm actually this wasn't the cause. but someone definitely broke something here...
...
SVN revision: 58846
2011-04-23 22:37:42 +00:00
Mike Blumenkrantz
4ebe4bec94
okay who's the joker that broke evas build? freetype 9.3.0 is definitely not a valid dependency :/
...
SVN revision: 58845
2011-04-23 22:32:06 +00:00
Carsten Haitzler
fa309e5069
nash -> i fixed your mask rendering. interesting you only mask *IF*
...
you have 1:1 scaling. you could do this with scaled imaged (and
unscaled masks) with ease. both smooth and nearest.
SVN revision: 58838
2011-04-23 02:02:45 +00:00
Carsten Haitzler
8cca4234c4
comments for nash
...
SVN revision: 58837
2011-04-23 01:22:17 +00:00
Carsten Haitzler
6282cc0a6d
wrn-- -> my bad.
...
SVN revision: 58836
2011-04-23 00:35:42 +00:00
Carsten Haitzler
c885080057
an initial test at trying pixman instead of evas software rendering.
...
results... in comments. disabled atm unless u --enable it. only
replaces 1 operation in 2 cases.
SVN revision: 58824
2011-04-22 11:47:14 +00:00
Tom Hacohen
902d94afb9
Evas textblock: Added a temp fix for repch until implemented nicely.
...
This fix is just until we finally split to scripts and cache fi all
the time, i.e in all the possible paths (regular, fribidi and harfbuzz).
SVN revision: 58806
2011-04-21 15:34:44 +00:00
Christopher Michael
2dce8da128
Evas: Fix typos from 'old mans' recent commit sot hings build again
...
wrt xcb.
SVN revision: 58804
2011-04-21 15:21:40 +00:00
Tom Hacohen
48d0603e5d
Evas harfbuzz: Adjust evas to work with Harfbuzz >= 3.0
...
SVN revision: 58802
2011-04-21 14:04:53 +00:00
Tom Hacohen
3f86ed9349
Evas textblock: Clean repch code a bit. No logic changes.
...
SVN revision: 58801
2011-04-21 14:04:46 +00:00
Carsten Haitzler
b1285ae71a
add in lots of ptr checks to sw-x11 outbut code... this may only
...
happen if we ran out of mem and mallocs failed... but we can avoid a
crash.
SVN revision: 58797
2011-04-21 12:33:35 +00:00
Sung W. Park
db20d2aeab
From: "Sung W. Park" <sungwoo@gmail.com>
...
(part of the evas-gl work)
the patch basically checks to see if the current context is evas' gl context
and if it is, it'll call evas_gl_common_context_flush(). I think this
is the proper
SVN revision: 58786
2011-04-21 09:23:42 +00:00
Carsten Haitzler
a570e2580c
and tho the header has that func.. evas doesn't. remove it. seems this
...
api wasnt removed from the public h before release. it can't have
worked anyway so not a break.
SVN revision: 58785
2011-04-21 09:18:45 +00:00
Tom Hacohen
543a0da0d8
Evas font-engine: Fixed kerning issue and a major rendering bug.
...
Kerning: We are walking the string visually so we don't need to do
anything special for kerning when in rtl, freetype works with "left" and
"right" which we automatically get.
Rendering bug: Cedric found that in some cases there were missing
characters. This was caused because I forgot to convert the kerning from
16.6 fixed point to int.
SVN revision: 58783
2011-04-21 08:47:16 +00:00
Carsten Haitzler
22671d41d9
neon asm is not working. even after some typo fixes.
...
SVN revision: 58782
2011-04-21 08:18:38 +00:00
Brett Nash
5c88b6c8f2
Evas: filter: Remove warning from evil type things.
...
SVN revision: 58780
2011-04-21 06:26:49 +00:00
Carsten Haitzler
6152914dd5
fix some nasty image cache issues i've found like double-frees, leaks
...
etc. etc. in corner-cases. it also re-factors the image cache code to
be much more manageable and understandable with cache/list management
doing the right thing in the internal calls.
SVN revision: 58779
2011-04-21 06:24:27 +00:00
Brett Nash
d157c43997
Evas: Mask: Add the part where evas actually uses the mask in GL.
...
SVN revision: 58778
2011-04-21 06:22:06 +00:00
Carsten Haitzler
794f1c56cd
warning--
...
SVN revision: 58777
2011-04-21 06:21:51 +00:00
Brett Nash
aaf036eec9
Evas: Filter: Avoid a double free.
...
I just don't know why.
SVN revision: 58776
2011-04-21 06:01:59 +00:00
Brett Nash
3bbe4023d0
Evas: Filter: Don't leak keys either.
...
SVN revision: 58775
2011-04-21 06:01:56 +00:00
Brett Nash
52a1e85d86
Evas: Filter: More aggresively avoid allocing filter data.
...
SVN revision: 58774
2011-04-21 06:01:53 +00:00
Brett Nash
97a442eaf1
Evas: Filter: No need to allocate on a getter.
...
Just return the default.
SVN revision: 58773
2011-04-21 06:01:50 +00:00
Brett Nash
f19bea3bf1
Evas: Filter: Use some ARGB joins.
...
SVN revision: 58772
2011-04-21 06:01:48 +00:00
Brett Nash
9862b4bf5d
Evas: Fix broken [ARGB]_VAL macros.
...
And no one ever noticed til now?
SVN revision: 58770
2011-04-21 02:30:34 +00:00
Brett Nash
b17702d7d8
Evas: Filter: Remove last vestiges of alpha/red/green/blue macros
...
Using the [ARGB]_VAL ones intead. Also means need to change to use pointer
instead of array syntax to the all macro.
SVN revision: 58769
2011-04-21 02:30:32 +00:00
Brett Nash
e410651d24
Evas: Filter: Fix filter length assignment.
...
Fun fact... this works on 64 bit systems... well mine anyway, but falls over
in a horrible mess on 32bit systems.
SVN revision: 58763
2011-04-20 14:44:32 +00:00
Brett Nash
8809ce8a12
Evas: Filter: Whitespace fixes
...
SVN revision: 58762
2011-04-20 14:44:29 +00:00
Brett Nash
044b02ce0e
Evas: Filter: Handle memory alloc error a little more gracefully
...
In this case, just set the filter type to none.
SVN revision: 58761
2011-04-20 14:44:26 +00:00
Tom Hacohen
cb19804054
Evas bidi: Fixed spelling errors: NATURAL -> NEUTRAL (Macro name).
...
SVN revision: 58760
2011-04-20 14:35:37 +00:00
Tom Hacohen
57665ebf34
Evas font: Removed a deprecated macro.
...
SVN revision: 58759
2011-04-20 14:21:00 +00:00
Tom Hacohen
6609b1d7ba
Evas font: Removed LOGICAL_WALK and updated last_up_to_pos accondingly.
...
SVN revision: 58758
2011-04-20 14:20:57 +00:00
Tom Hacohen
b59156c788
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.
SVN revision: 58757
2011-04-20 14:20:54 +00:00
Tom Hacohen
543c0cafc0
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.
SVN revision: 58756
2011-04-20 14:20:51 +00:00
Tom Hacohen
2f86580227
Evas font-engine: Fix drawing of replacement char when not using Harfbuzz.
...
SVN revision: 58755
2011-04-20 14:20:48 +00:00
Carsten Haitzler
b44bf7f8ff
filter: handle malloc failers without crashing.
...
SVN revision: 58752
2011-04-20 08:28:40 +00:00
Carsten Haitzler
8da6f52bfd
lets properly document filter calls and return sane values
...
SVN revision: 58751
2011-04-20 08:24:56 +00:00
Carsten Haitzler
649cba4e45
and lets have getters for setters shall we - if we go implement 1 of
...
them.. lets implement alll shall we?
SVN revision: 58750
2011-04-20 08:20:36 +00:00
Carsten Haitzler
2598499970
and fix filter api to be consistent with evas.. letalone all of efl.
...
VERB AT END!!!! (get/set/whatever)
SVN revision: 58749
2011-04-20 08:13:33 +00:00
Carsten Haitzler
ce8297e04b
more formatting fixes after filter commit.
...
SVN revision: 58748
2011-04-20 08:09:30 +00:00
Carsten Haitzler
6720d96208
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.
SVN revision: 58747
2011-04-20 08:06:59 +00:00
Carsten Haitzler
7ed47808cb
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.
SVN revision: 58746
2011-04-20 08:05:23 +00:00
Carsten Haitzler
18619830c4
oh god. more warning fixes...
...
SVN revision: 58745
2011-04-20 08:01:04 +00:00
Carsten Haitzler
7b88f0d723
more fixme fixes of filter
...
SVN revision: 58744
2011-04-20 07:35:18 +00:00
Carsten Haitzler
384892d7fa
start fixing shader mess. at least add mask compile to scripts. need
...
to do filters.
SVN revision: 58743
2011-04-20 07:12:51 +00:00
Carsten Haitzler
d51d11f658
fix filter code to move docs to Evas.h
...
SVN revision: 58742
2011-04-20 07:08:48 +00:00
Carsten Haitzler
1eaba59607
oh dear... way too many warnings. added a whole bunch of fixme's too
...
for later.
SVN revision: 58740
2011-04-20 01:22:08 +00:00
Vincent Torri
c00b418345
Evas: export evas_filter_software_get() (used in software_generic engine)
...
SVN revision: 58736
2011-04-19 21:37:32 +00:00
Tom Hacohen
fd4203a682
Evas font-engine: fix a segfault with empty strings.
...
Thanks to Nicolas Aguirre (captainigloo) for the catch.
SVN revision: 58734
2011-04-19 20:27:34 +00:00
Brett Nash
ba45fbee9e
Evas: Filter: Add evas_object_image filter changes.
...
This is where the actual filtering takes place. Kinda important to make it
work.
SVN revision: 58729
2011-04-19 06:16:21 +00:00
Brett Nash
9eaea94252
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.
SVN revision: 58726
2011-04-19 05:47:56 +00:00
Brett Nash
36370ae91e
Evas: Filter: Add the shaders - nice and safe change here.
...
SVN revision: 58725
2011-04-19 05:47:51 +00:00
Brett Nash
72d667e8d9
Evas: Work around for mask issues
...
SVN revision: 58724
2011-04-19 05:47:47 +00:00
Christopher Michael
b42f8940b3
Evas: Fix nasty blank space after return and before semicolon.
...
NB: Nothing functional, just formatting.
SVN revision: 58708
2011-04-18 16:31:12 +00:00
Tom Hacohen
e6be4f7deb
Evas textblock: Fixed an invalid read.
...
In some cases an invalid read would occur. This was because we didn't
handle node merging appropriately.
SVN revision: 58701
2011-04-17 08:38:29 +00:00
Carsten Haitzler
7a2f6cd6d6
failure case more efficient
...
SVN revision: 58683
2011-04-15 09:32:28 +00:00
Carsten Haitzler
4e5231b3f8
fix image double-deref/free when not meant to happen
...
SVN revision: 58682
2011-04-15 07:49:25 +00:00
Carsten Haitzler
7722171b96
fix binary ppm loading. that was odd.
...
SVN revision: 58681
2011-04-15 07:08:14 +00:00
Tom Hacohen
f5e7165a65
Evas text/textblock: Add setting bidi_delimiter API.
...
SVN revision: 58669
2011-04-14 15:34:01 +00:00
Cedric BAIL
cb90b07d81
autogen: unobrk things.
...
SVN revision: 58668
2011-04-14 14:51:36 +00:00
Cedric BAIL
df4bef8bdf
autogen: improve detection of parameter change.
...
SVN revision: 58667
2011-04-14 14:03:46 +00:00
Tom Hacohen
d0e889fbe7
Evas textblock: Clean up a bit.
...
SVN revision: 58663
2011-04-14 12:34:29 +00:00
Tom Hacohen
2a7b919cd7
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.
SVN revision: 58662
2011-04-14 12:13:20 +00:00
Tom Hacohen
86fd95e80e
Evas textblock: Fixed invalid reads with ellipsis in some cases.
...
SVN revision: 58659
2011-04-14 11:37:09 +00:00
Tom Hacohen
e6edd2ce7f
Evas textblock: Fixed ellipsis.
...
It's actually just a workaround until we finally fix draw to not need
the text.
SVN revision: 58658
2011-04-14 11:37:06 +00:00
Carsten Haitzler
01146b8343
fix map update bug. :)
...
SVN revision: 58656
2011-04-14 10:47:40 +00:00
Tom Hacohen
bc6e404e71
Evas: Updated changelog.
...
SVN revision: 58653
2011-04-14 07:40:45 +00:00
Tom Hacohen
46beed0916
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.
SVN revision: 58652
2011-04-14 07:40:42 +00:00
Tom Hacohen
9de9eca278
Evas textblock: Reformat if not valid in some cases we forgot.
...
SVN revision: 58651
2011-04-14 07:34:06 +00:00
Tom Hacohen
90ad3ed743
Evas textblock Fixed a "may be used uninit" compiler warning.
...
SVN revision: 58646
2011-04-13 22:40:25 +00:00
Tom Hacohen
b5d014dcb7
Evas textblock: Removed unneeded casting.
...
SVN revision: 58635
2011-04-13 13:29:24 +00:00
Tom Hacohen
d53aa0f7d6
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.
SVN revision: 58634
2011-04-13 13:28:08 +00:00
Tom Hacohen
0243ddf34b
Evas textblock: Clean up getting bidi props (unify to a function).
...
SVN revision: 58632
2011-04-13 12:21:58 +00:00
Tom Hacohen
f9936b341f
Evas bidi: Add len parameter to evas_bidi_paragraph_props_get
...
SVN revision: 58631
2011-04-13 12:21:54 +00:00
Tom Hacohen
caa46dc1ba
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.
SVN revision: 58627
2011-04-13 10:55:59 +00:00
Tom Hacohen
90982f71bc
Evas textblock: Make sure we only test with positive indexes.
...
SVN revision: 58625
2011-04-13 10:24:54 +00:00
Tom Hacohen
829b48aebd
Evas textblock: Fixed a wrong test for end of string.
...
SVN revision: 58624
2011-04-13 10:22:55 +00:00
Carsten Haitzler
1d58c36340
fix slowdown - drew empty shadow when didnt need to.
...
SVN revision: 58623
2011-04-13 09:29:45 +00:00
Tom Hacohen
1dac813ace
Evas font-engine: Fix the fallback fribidi shaper.
...
Just keep the shaped string in the string object if fribidi is used
without harfbuzz.
SVN revision: 58620
2011-04-13 08:37:01 +00:00
Tom Hacohen
7220fe7bf3
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.
SVN revision: 58619
2011-04-13 08:36:57 +00:00
Tom Hacohen
682c7dcdc5
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.
SVN revision: 58618
2011-04-13 08:36:54 +00:00
Tom Hacohen
680c4354ba
Evas font-engine: Use len in font_draw instead of \0
...
SVN revision: 58617
2011-04-13 08:36:51 +00:00
Tom Hacohen
ffbe4ed971
Evas font-engine: *text_props_script_set add parameter len.
...
SVN revision: 58616
2011-04-13 08:36:46 +00:00
Sebastian Dransfeld
09c490369a
ignore++
...
SVN revision: 58609
2011-04-12 22:47:12 +00:00
Carsten Haitzler
f67fbf23e5
fix new map bug! aaagh. i think this came in post 1.0 - happy now tho.
...
SVN revision: 58588
2011-04-12 09:44:50 +00:00
Daniel Juyung Seo
50e748b8cd
Evas Evas.h: Removed trailing whitespaces.
...
SVN revision: 58587
2011-04-12 09:25:12 +00:00
Daniel Juyung Seo
d37ee17f9c
Evas evas_object_smart.c: Use pre-defined type, Evas_Smart_Cb, instead
...
of describing all parameters.
SVN revision: 58586
2011-04-12 09:23:57 +00:00
Carsten Haitzler
9718eed08e
fix some formatting
...
SVN revision: 58585
2011-04-12 09:23:52 +00:00
Tom Hacohen
ad3b167e88
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).
SVN revision: 58584
2011-04-12 09:05:47 +00:00
Tom Hacohen
892994005b
Evas textblock: Fix formatted size calculation with ellipsis.
...
SVN revision: 58580
2011-04-12 07:13:33 +00:00
Tom Hacohen
eb99563451
Evas textblock: Removed obsolete comments.
...
SVN revision: 58579
2011-04-12 07:13:07 +00:00
Tom Hacohen
15d09d72f8
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.
SVN revision: 58578
2011-04-12 06:52:27 +00:00
Carsten Haitzler
578ac6f0b6
simplify tiff loader. hoping 64bit bug goes away. :) can't test right
...
now.
SVN revision: 58577
2011-04-12 06:20:38 +00:00
Carsten Haitzler
27609d0572
no need to get this.
...
SVN revision: 58574
2011-04-12 00:06:57 +00:00
Tom Hacohen
4a557812e1
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.
SVN revision: 58555
2011-04-11 15:37:06 +00:00
Tom Hacohen
8e68291273
Evas textblock: Fixed not drawing cut paragraphs when doing ellipsis.
...
SVN revision: 58553
2011-04-11 13:44:01 +00:00
Tom Hacohen
3624347598
Evas: Updated changelog.
...
SVN revision: 58550
2011-04-11 12:18:10 +00:00
Carsten Haitzler
bb03df9625
chlog++
...
SVN revision: 58547
2011-04-11 12:07:03 +00:00
Carsten Haitzler
5bc7805b28
many more shadow options (8 shadow directions now)
...
SVN revision: 58546
2011-04-11 12:05:59 +00:00
Tom Hacohen
a8890cff0d
Evas sw8: Inherit most of the engine from sw_generic.
...
SVN revision: 58543
2011-04-11 10:18:13 +00:00
Tom Hacohen
1527652986
Evas sw16: Inherit most of the engine from sw_generic.
...
SVN revision: 58542
2011-04-11 10:18:10 +00:00
Tom Hacohen
6560dc9a05
Evas: Add EVAS_API_RESET that overrides API with NULL.
...
SVN revision: 58541
2011-04-11 10:18:06 +00:00
Tom Hacohen
733cfc629b
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.
SVN revision: 58531
2011-04-10 07:27:07 +00:00
Carsten Haitzler
6b3e820f35
gles warning--
...
SVN revision: 58514
2011-04-09 04:13:21 +00:00
Carsten Haitzler
09069b6172
doxy move to header.
...
SVN revision: 58477
2011-04-08 07:26:20 +00:00
Carsten Haitzler
296739cd7d
doxy to h.
...
SVN revision: 58473
2011-04-08 06:11:31 +00:00
Tom Hacohen
5d4f6d3cbe
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.
SVN revision: 58460
2011-04-07 16:25:56 +00:00
Tom Hacohen
c9290ef41d
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>.
SVN revision: 58457
2011-04-07 15:25:19 +00:00
Tom Hacohen
87bba22028
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.
SVN revision: 58456
2011-04-07 14:25:48 +00:00
Tom Hacohen
0ced548b40
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.
SVN revision: 58455
2011-04-07 14:01:31 +00:00
Tom Hacohen
a855dd9ac0
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.
SVN revision: 58454
2011-04-07 13:40:42 +00:00
Tom Hacohen
f44f44e024
Evas: Fix last changelog entry description.
...
SVN revision: 58453
2011-04-07 13:34:00 +00:00
Tom Hacohen
b5b34a6fe3
Evas textblock: Updated changelog.
...
SVN revision: 58449
2011-04-07 13:15:57 +00:00
Tom Hacohen
af1bdf3525
Evas textblock: Fixed a bug in newline compatible mode.
...
SVN revision: 58447
2011-04-07 13:13:41 +00:00
Tom Hacohen
0f964640ae
Evas textblock: Don't mark nodes as clean when in 'calc_only'.
...
SVN revision: 58446
2011-04-07 13:13:38 +00:00
Tom Hacohen
776aa8b507
Evas textblock: Add saftey check.
...
SVN revision: 58431
2011-04-07 12:27:35 +00:00
Tom Hacohen
eed9c92ee6
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".
SVN revision: 58428
2011-04-07 12:22:16 +00:00
Tom Hacohen
80905b3802
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.
SVN revision: 58418
2011-04-07 11:24:15 +00:00
Tom Hacohen
8ea0800b21
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.
SVN revision: 58417
2011-04-07 11:24:11 +00:00
Tom Hacohen
2702074e76
Evas textblock: Cleaned code up a bit.
...
SVN revision: 58395
2011-04-06 15:51:14 +00:00
Cedric BAIL
ca7ff47005
evas: fix broken 16bits engine.
...
SVN revision: 58394
2011-04-06 15:37:54 +00:00
Carsten Haitzler
fe933e7b34
and now REALLY fix that viewport bug...
...
SVN revision: 58386
2011-04-06 10:11:01 +00:00
Carsten Haitzler
4a982fb26e
and handle other make current to "no context" in case.
...
SVN revision: 58385
2011-04-06 09:40:13 +00:00
Carsten Haitzler
dcdd502fd4
fix gles engine bug with > 1 window.. missing viewport transform
...
fixups on deletion of a window!
SVN revision: 58384
2011-04-06 09:38:39 +00:00
Carsten Haitzler
fca2d9cf38
chlog++
...
SVN revision: 58382
2011-04-06 07:37:13 +00:00
Carsten Haitzler
70bc3602c7
fix scossor clip on 90 degree rots.
...
SVN revision: 58381
2011-04-06 07:32:33 +00:00
Brett Nash
073dd42baa
Evas: Mask: Fix non-masked image rendering.
...
Mismerge by me.
SVN revision: 58380
2011-04-06 06:43:33 +00:00
Brett Nash
cc34e132be
Evas: Mask: Add shader init code.
...
SVN revision: 58377
2011-04-06 06:15:59 +00:00
Brett Nash
f915ba4ef4
Evas: Mask: Fix undeclared warnings.
...
Also comment out a function.
SVN revision: 58376
2011-04-06 06:10:31 +00:00
Carsten Haitzler
5c994667c2
fixme notice, fix make current context to force if it was changed.
...
SVN revision: 58375
2011-04-06 05:56:53 +00:00
Carsten Haitzler
99e32eebaa
warning--
...
SVN revision: 58374
2011-04-06 05:55:21 +00:00
Brett Nash
b96d227334
Masking: Push a bit more arbitrary clipping
...
This seems to have got lost in my big messup before. This pushes enough of
mask/arbitrary clip to be somewhat useful. I need to push a little more soon
for it to be 100% happy, but this is useful level.
SVN revision: 58373
2011-04-06 05:38:38 +00:00
Brett Nash
a5d83e3cbe
Evas: Remove magic for proxy.
...
Since proxy became part of images, it should not be there (or anywhere).
And for vtorri compat: no changelog, added post 1.0, removed post 1.0
SVN revision: 58372
2011-04-06 05:38:09 +00:00
Cedric BAIL
dd38ffb274
evas: remove useless check.
...
SVN revision: 58365
2011-04-05 14:31:49 +00:00
Cedric BAIL
b0e45e04bc
evas: and now, the last one to die today, Evas Xrender backend.
...
SVN revision: 58364
2011-04-05 14:16:18 +00:00
Cedric BAIL
1b3b01cb4f
evas: and now is the death of Qtopia engine.
...
SVN revision: 58362
2011-04-05 13:45:54 +00:00
Cedric BAIL
30f906aac9
evas: one more death: gl_glew !
...
SVN revision: 58360
2011-04-05 13:19:20 +00:00
Cedric BAIL
cbad6075d7
evas: remove Evas Cairo backend.
...
SVN revision: 58359
2011-04-05 13:00:23 +00:00
Cedric BAIL
ad5a2f59c6
evas: remove Evas Quartz backend.
...
SVN revision: 58358
2011-04-05 12:25:25 +00:00
Tom Hacohen
86ca6e9ccf
Evas textblock: Removed deprecated code.
...
This logic is already done elsewhere, no need for this function (which is
broken anyway).
SVN revision: 58349
2011-04-05 10:39:24 +00:00
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