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
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