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
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
Carsten Haitzler
a3808761cc
fix bug with prev/cur text state access in text obj for utf8 string.
...
SVN revision: 57201
2011-02-21 06:12:28 +00:00
Mike Frysinger
981da7524b
evas: fix building with libpng-1.5
...
this should work with libpng-1.[245].x; dont know about older versions
SVN revision: 57178
2011-02-20 01:21:33 +00:00
Carsten Haitzler
d3ce2c4bbb
changelog for todays fixes
...
SVN revision: 57164
2011-02-19 15:55:04 +00:00
Carsten Haitzler
75dcf25bb9
fix convert to a8. someone fixed this badly. fix right now.
...
SVN revision: 57163
2011-02-19 15:53:47 +00:00
Carsten Haitzler
905d57b315
fix off by 1!
...
SVN revision: 57162
2011-02-19 15:48:46 +00:00
Tom Hacohen
bf11500312
Evas: Updated changelog.
...
SVN revision: 57098
2011-02-16 16:43:49 +00:00
Tom Hacohen
e1b714f9a9
Evas font: Draw the replacement char whan the glyph can't be found.
...
SVN revision: 57097
2011-02-16 16:36:16 +00:00
Tom Hacohen
bd0695d1b5
Evas encoding: Removed Evas_Encoding and moved to eina_unicode_utf8* instead.
...
SVN revision: 57096
2011-02-16 16:00:17 +00:00
Tom Hacohen
129a2eb57b
Evas encoding: Should be bitwise AND and not logical AND.
...
SVN revision: 57092
2011-02-16 14:59:36 +00:00
Tom Hacohen
3b7bc65841
Evas encoding: Fixed an issue with the return value of prev_get when at the start.
...
SVN revision: 57091
2011-02-16 13:17:09 +00:00
Tom Hacohen
a01b8fa7ce
Evas encoding: Made the utf8 parser more robust.
...
In now handles more error cases in a more correct way.
SVN revision: 57090
2011-02-16 13:00:50 +00:00
Tom Hacohen
52807e1550
Evas textblock: Fixed possible issue with word/mixed wrapping.
...
SVN revision: 57089
2011-02-16 13:00:41 +00:00
Tom Hacohen
4f597bf730
Evas textblock: Fixed an issue with item size calculation.
...
This caused some issues in some cases. Just switch continue with a goto to the end of the loop so we'll be able to calculate the sizes even when we don't need to format the format item.
SVN revision: 57081
2011-02-16 09:43:57 +00:00
Jeonghyun Yun
2c428c4c15
From: Jeonghyun Yun <jh0506.yun@samsung.com>
...
Subject: Re: [E-devel] [Patch] evas_image_load_bmp small patch
When I tested some bmp files on evas, I found one bmp file is not displayed.
But this bmp file is displayed on windows and linux gimp and etc.
So I checked this bmp file, this file have 208 data per line despite 207
pixel per line!!
I fixed code to skip the data when data is more than width instead of
break. I think this is not bug but evas policy problem.
SVN revision: 57076
2011-02-16 05:44:01 +00:00
Cedric BAIL
a7d7ae4360
* evas: prevent early death of stringshare.
...
SPANK ! SPANK ! SPANK !
PLEASE USE STRINGSHARE REPLACE EVERY TIME YOU DO
A STRINGSHARE_DEL FOLLOWED BY A STRINGSHARE_ADD.
SVN revision: 57057
2011-02-15 17:24:55 +00:00
Tom Hacohen
24f943fa3d
Evas textblock: Fixed a small calculation in format item's size calculation. Was correct, but too complex, simplified it.
...
SVN revision: 57056
2011-02-15 16:50:14 +00:00
Tom Hacohen
d09431f2a1
Evas textblock: Fixed a bug that caused format item positions to be wrong in some cases.
...
Just sanitized some of the item coordinates calculation.
SVN revision: 57055
2011-02-15 16:50:07 +00:00
Sebastian Dransfeld
bd9d4c5019
Better fix for invalid variable usage.
...
No point in having to pointers, and fix formatting.
SVN revision: 57037
2011-02-14 20:21:10 +00:00
Tom Hacohen
0229e71b48
Evas textblock: Fixed evas_textblock_cursor_range_geometry_get which didn't work when across multiple paragraphs.
...
SVN revision: 57027
2011-02-14 16:14:26 +00:00
Tom Hacohen
b2bf107e38
Evas textblock: strcpy->strncpy in a place we use a cached len, to be on the safe side.
...
SVN revision: 57025
2011-02-14 15:02:58 +00:00
Tom Hacohen
2a2f88aa2c
Evas font: Fixed wrong condition that may cause an invalid read when using OT.
...
SVN revision: 57024
2011-02-14 15:02:52 +00:00
Tom Hacohen
5991e80d35
Evas textblock: Fixed compilation error, I don't understand what went wrong in my last two commits, sorry for the spam.
...
SVN revision: 57023
2011-02-14 14:44:47 +00:00
Tom Hacohen
38dc347fcf
Evas textblock: Fix compilation warning, for some reason this wasn't included in the previous patch.
...
SVN revision: 57022
2011-02-14 14:42:22 +00:00
Tom Hacohen
4f80504b6d
Evas: updated changelog.
...
SVN revision: 57020
2011-02-14 14:17:18 +00:00
Tom Hacohen
56f8891073
Evas textblock: Added a mode for setting newline behavior.
...
Can either be normal, or PS mode which means newline character behaves as a PS.
SVN revision: 57019
2011-02-14 14:17:12 +00:00
ChunEon Park
be1bc9ae8c
evas/engines - fixed invalid variable usage.
...
SVN revision: 57017
2011-02-14 13:59:36 +00:00
Tom Hacohen
7cd80bfc23
Evas textblock: Fixed it so there's an Evas_Text_Props field only for text objects.
...
Saves some memory.
SVN revision: 57016
2011-02-14 13:09:41 +00:00
Tom Hacohen
5b477a6454
Evas textblock: Wrapping - used a less correct approach that appears to be 3 times faster.
...
SVN revision: 57015
2011-02-14 12:44:38 +00:00
Tom Hacohen
8cadb71e4b
Evas textblock: don't force calc utf8 string in evas_textblock_style_set. Only calc it when used.
...
SVN revision: 57014
2011-02-14 12:44:31 +00:00
Tom Hacohen
11dbc52d0e
Evas textblock: Fixed issue with incorrect sizes in textblock, _text_item_update_sizes should be called after merging.
...
SVN revision: 57012
2011-02-14 10:49:14 +00:00
Tom Hacohen
62f763217e
Evas textblock: Use eina_unicode_strndup instead of eina_unicode_strdup beacuse we already have the lentgth.
...
SVN revision: 57011
2011-02-14 10:49:09 +00:00
Tom Hacohen
3c18adad9c
Evas textblock: Replaced all the calls to eina_unicode_strlen with the cached text_len.
...
This also fixes an issue with ellip_char text pos.
SVN revision: 57010
2011-02-14 10:49:05 +00:00
Tom Hacohen
862b468165
Evas textblock: speeded things up by using the cached text_len
...
instead of calling eina_unicode_strlen all the time.
Also fixed an issue with size calculation.
SVN revision: 57009
2011-02-14 10:09:27 +00:00
Tom Hacohen
4a3493030c
Evas textblock: Used eina_list_append_relative_list instead of eina_list_append_relative
...
in some places, which obviously made things way faster.
SVN revision: 57008
2011-02-14 09:37:49 +00:00
Mike Blumenkrantz
97f30a8b6d
missing semicolon. you never cease to amaze me, edev.
...
SVN revision: 57004
2011-02-14 05:21:17 +00:00
ChunEon Park
7f631d4db1
evas/evas_object_image - fixed an inccorect word in doxygen
...
SVN revision: 57003
2011-02-14 04:42:53 +00:00
Tom Hacohen
5a646fe6fd
Evas font: removed an obsolete comment.
...
SVN revision: 56989
2011-02-13 16:35:03 +00:00
Tom Hacohen
c5ebe60c53
Evas textblock: Improved error message.
...
SVN revision: 56984
2011-02-13 13:07:37 +00:00
Tom Hacohen
9ed2f6cbc0
Evas font-engine: Added text_len to text_props which fixes
...
a bug with cursor position and ligatures.
SVN revision: 56983
2011-02-13 12:57:37 +00:00
Brett Nash
8729a314ab
Fix the semicolon, and small optimisation.
...
SVN revision: 56975
2011-02-13 00:27:03 +00:00
Carsten Haitzler
0bde1e25a1
fix silly sized scaling issue.
...
SVN revision: 56962
2011-02-12 14:50:25 +00:00
Carsten Haitzler
d0ac8d8601
fix up gl side image cache to cleanly ref/deref and shadow image
...
cache. yes - changelog - this is just fixing up whats already
changelogged.
SVN revision: 56949
2011-02-11 06:23:10 +00:00
Daniel Juyung Seo
5372923677
dox.in update: elementary,evas,edje,ecore,eio,eet,eeze.
...
Sync authors in doc with AUTHORS.
Updated date to 2011.
SVN revision: 56926
2011-02-10 16:50:18 +00:00
Tom Hacohen
f0eebf1696
Evas text_utils: make the text_props_content_ref/unref more robust.
...
Don't allocate a text info if the length is 0. No point in that because
content won't be allocated anyway.
SVN revision: 56924
2011-02-10 15:29:13 +00:00
Tom Hacohen
b2029f0648
Evas text_utils: fixed a bug with splitting.
...
Cutoff is the position in the string, not in the string object.
SVN revision: 56920
2011-02-10 15:02:26 +00:00
Tom Hacohen
b4f5d791a5
Evas text: Fixed compilation warning introduced in last commit.
...
SVN revision: 56896
2011-02-10 09:11:30 +00:00
Tom Hacohen
6e68ec8b42
Evas font-engine: Fixed inset to use the string objects instead of strings.
...
SVN revision: 56895
2011-02-10 09:03:14 +00:00
Carsten Haitzler
aaad5f7319
fix most of nash's mess. 2 added aborts that nash has to fix.
...
SVN revision: 56891
2011-02-10 06:52:53 +00:00
Carsten Haitzler
1e58115de6
make font cache flush 0 out font cache size first
...
SVN revision: 56890
2011-02-10 06:12:09 +00:00
Brett Nash
290e6c430d
Remove the old 'proxy' functions.
...
Now I know git-svn decided to not merge everything.
Anyway the proxy functions are not part of images. Use them there.
SVN revision: 56884
2011-02-09 21:38:57 +00:00
Brett Nash
9c927de649
Add evas_object_image_source_get, and fix NOTNULL() args to _source_set
...
Source set of 'NULL' is the equivelent of source_unset (actually source_unset
is an alias to source_set with a second NULL arg.
And I still want to know why these are in my tree, but not upstream.
SVN revision: 56881
2011-02-09 21:36:10 +00:00
Brett Nash
1415635f94
Add header for image proxy.
...
Not sure why this didn't merge then either.
No changelog since it's adding a missing header.
SVN revision: 56880
2011-02-09 21:36:07 +00:00
Christopher Michael
0bee0601e1
Evas: Fixed a few 'implicit declaration' warnings.
...
Add missing evas_object_image_source functions.
(was giving nasty 'implicit declarations' prior to this change)
Add UNUSED to evas_common_map_rgba for npoints variable
(wasn't used in that function)
Fixed a little formatting in evas_object_main.c
Add UNUSED to the eng_image_map_draw function of the gl_x11 engine.
(npoints variable not used there)
Fixed a little formatting in gl_x11 engine.
SVN revision: 56869
2011-02-09 18:39:54 +00:00
Lucas De Marchi
81cc0b0cd5
evas: make less noise when configuring
...
Remove the following warning during bootstrap:
configure.ac:790: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
Reference:
http://www.flameeyes.eu/autotools-mythbuster/forwardporting/autoconf.html
SVN revision: 56861
2011-02-09 17:53:00 +00:00
Brett Nash
8b90ca9676
Hardcode directfb and sdl to use 4 point maps.
...
SVN revision: 56828
2011-02-09 01:07:52 +00:00
Tom Hacohen
eaa25d4784
Evas font-query: Fixed compilation warnings. Cedric's compiler doesn't trust me like me compiler trusts me.
...
SVN revision: 56813
2011-02-08 15:23:22 +00:00
Tom Hacohen
cb2587c8f6
Evas textblock: started using the new eina_unicode_strndup.
...
SVN revision: 56808
2011-02-08 13:44:41 +00:00
Tom Hacohen
5ceb0ce407
Evas encoding: Improved evas_common_encoding_utf8_get_len to be more consistent with evas_common_encoding_utf8_get_next. This is a semi fix to the issue with malformed utf8 strings ( #670 )
...
SVN revision: 56806
2011-02-08 13:22:10 +00:00
Carsten Haitzler
c743e4f56c
methinks nash you missed doing the pipe pipeline for map changes.
...
SVN revision: 56805
2011-02-08 12:10:58 +00:00
Carsten Haitzler
7881c0b849
improvement to gl engine wrt. caching.
...
SVN revision: 56801
2011-02-08 11:41:38 +00:00
Carsten Haitzler
e2bd68dc91
hey... no printfs during all that lighting calcing :)
...
SVN revision: 56800
2011-02-08 11:37:48 +00:00
Tom Hacohen
9ad7690524
Evas textblock: #if 0 a couple of debugging functions.
...
SVN revision: 56797
2011-02-08 08:13:35 +00:00
Tom Hacohen
7a90712518
Evas font-engine: Fixed the issue of text not showing when using pipe-rendering. For some reason I put the parameters as "src, dst" instead of "dst, src" and I also missed the compilation warning about the passing const as non-const.
...
SVN revision: 56796
2011-02-08 08:12:55 +00:00
Carsten Haitzler
40b908c869
oops somehow missed this commit - part of adding wbmp support. limit
...
image size macro used. (so no point with a changelog - part of existing).
SVN revision: 56791
2011-02-07 23:06:22 +00:00
Brett Nash
70109827c3
Clean up for proxies.
...
SVN revision: 56781
2011-02-07 04:27:48 +00:00
Brett Nash
310f872e56
Manual merge of proxy code (inc ChangeLog)
...
SVN revision: 56780
2011-02-07 04:18:37 +00:00
Brett Nash
84fdff5919
Fixes to make proxy work
...
SVN revision: 56779
2011-02-07 01:38:00 +00:00
Mike Blumenkrantz
1d0e9bf198
remove some commas
...
SVN revision: 56778
2011-02-07 00:20:00 +00:00
Brett Nash
aa59164001
Support for Proxy Objects (and others)
...
Proxy objects allow you to use another image as the source of an image.
Essentially allowing the same object to be rendered multiple times. One
object (the source) is the original, each additional 'copy' is an image with
evas_object_image_source_set.
This is complete.
Also add partially working arbitrary maps, and arbitrary clipping.
Unfortunately both have some issues yet to be resolved (waiting on the next
feature to get merged together).
SVN revision: 56777
2011-02-06 23:52:17 +00:00
Brett Nash
3cece3340b
Proxy: Use the always map option, and tweak for images.
...
SVN revision: 56776
2011-02-06 23:51:58 +00:00
Brett Nash
ab4b1521ac
Fix redrawing issues with proxies.
...
SVN revision: 56775
2011-02-06 23:51:48 +00:00
Brett Nash
3b91e744e4
Deleting an object cleans up proxies now.
...
SVN revision: 56774
2011-02-06 23:51:39 +00:00
Brett Nash
37ea40c0cc
Add the extra proxy convenience functions.
...
SVN revision: 56773
2011-02-06 23:51:34 +00:00
Brett Nash
2dd6fa09cb
Proxy Debug --
...
SVN revision: 56772
2011-02-06 23:51:30 +00:00
Brett Nash
4beae65f42
Proxy Debug --
...
SVN revision: 56771
2011-02-06 23:51:27 +00:00
Brett Nash
99ab5efc6e
Proxy: Pass the correct object to opaque check
...
SVN revision: 56770
2011-02-06 23:51:23 +00:00
Brett Nash
d7688c9719
Debug --
...
SVN revision: 56769
2011-02-06 23:51:19 +00:00
Brett Nash
d62f0f5ef3
Debug --
...
SVN revision: 56768
2011-02-06 23:51:14 +00:00
Brett Nash
c415c2c14a
Proxy: Whitespace--
...
SVN revision: 56767
2011-02-06 23:51:08 +00:00
Brett Nash
b9e165ac92
Proxy: Opaque test a little smarter
...
SVN revision: 56766
2011-02-06 23:50:58 +00:00
Brett Nash
8603177a12
Render smart objects too.
...
SVN revision: 56765
2011-02-06 23:50:45 +00:00
Brett Nash
068c9144a8
Basic (but ugly) working proxy map for text/textblocks.
...
SVN revision: 56764
2011-02-06 23:50:30 +00:00
Brett Nash
644c43460c
Switch to a sub proxy sstructure.
...
SVN revision: 56763
2011-02-06 23:50:19 +00:00
Brett Nash
e52a55a907
Old stagaed patch for managing list of proxies.
...
SVN revision: 56762
2011-02-06 23:50:06 +00:00
Brett Nash
37aba1b3ea
Actually commit object proxy
...
SVN revision: 56761
2011-02-06 23:49:54 +00:00
Brett Nash
04f6e8f789
Proxy Object framework.
...
Doesn't do anything useful yet. But it's a start.
SVN revision: 56760
2011-02-06 23:49:44 +00:00
Tom Hacohen
2f9d2760ee
Evas font-engine: Don't ref/unref info if len==0 because in this case there's no 'info' but the text prop is legal (empty string).
...
SVN revision: 56746
2011-02-06 08:31:46 +00:00
Vincent Torri
4ddec6a307
put visual studio files outside the libraries directory
...
SVN revision: 56688
2011-02-03 19:53:57 +00:00
Tom Hacohen
d124b1e2a9
Evas textblock: Use the ellipsis char instead of 3 dots for textblock ellipsis.
...
SVN revision: 56651
2011-02-02 16:24:02 +00:00
Tom Hacohen
eaf0368b9c
Evas table: Updated the table's docs. vtorri - Thanks for the notice.
...
SVN revision: 56646
2011-02-02 09:01:26 +00:00
Tom Hacohen
00b61c9e00
Evas font-ot: Started using our glyph and kerning caches when using Harfbuzz - Major speedups (obviously, only with harfbuzz).
...
SVN revision: 56644
2011-02-02 08:24:57 +00:00
Tom Hacohen
6e7b0dffd7
Evas: updated changelog.
...
SVN revision: 56634
2011-02-01 13:21:48 +00:00
Tom Hacohen
36df64bbeb
Evas table: Added "mirrored mode" to table. This is important for ui mirroring and let users do cooler stuff.
...
SVN revision: 56633
2011-02-01 12:50:59 +00:00
Tom Hacohen
1cd89c7155
Evas text: Don't call text_props_info_create if there's no font set.
...
SVN revision: 56632
2011-02-01 12:18:11 +00:00
Tom Hacohen
912d176d3e
Evas: Updated changelog.
...
SVN revision: 56631
2011-02-01 12:18:05 +00:00
Tom Hacohen
211400d1f6
Evas font: Fixed word_prerender now that we cache everything. Do we really need it now?.
...
SVN revision: 56630
2011-02-01 12:18:01 +00:00
Tom Hacohen
94b5a536f0
Evas font/textblock/text: Started using string objects instead of
...
strings in most of the font engine (everywhere except draw).
Haven't removed the paramteres yet, but did mark them as UNUSED.
Removing them will be part of a future change.
Removed run-time OT toggling support, OT is now fast, no need for that.
Renamed all of the intl_props->text_props (because it really changed purpose now)
Fixed spliting/merging of text_props to be fast and good, not hacky and
complex like before.
Note to reviewers: Most of the changes are indentation related, sorry
for the mess, but I had to do it all in one commit, splitting was not
trivial (at least not in retrospect). The important parts are
evas_font_default_walk.x and text_utils.c. query and draw were just
adjusted a bit and the rest were only adjusted to conform to renaming or
were renaming on their own.
SVN revision: 56629
2011-02-01 12:17:52 +00:00
Tom Hacohen
22b440ff2a
Evas textblock: Fixed a couple of invalid reads in split and remove
...
whites
SVN revision: 56628
2011-02-01 12:17:38 +00:00
Carsten Haitzler
573103fd34
formatting of wbmp loader code fix.
...
SVN revision: 56625
2011-02-01 09:40:30 +00:00
Carsten Haitzler
75bb165f29
Thanks to samsung - added WBMP loader.
...
SVN revision: 56624
2011-02-01 09:38:48 +00:00
Carsten Haitzler
22230fe193
slight tune of neon asm - based on stuff from nash. not worth a
...
changelog entry though. not a major enough improvement as i measure it.
SVN revision: 56614
2011-02-01 06:30:35 +00:00
Tom Hacohen
517756c0cc
Evas textblock: Fixed paragraph line number. It got corrupted in some cases.
...
SVN revision: 56609
2011-01-31 14:43:48 +00:00
ChunEon Park
b6c29efe76
From: ChunEon Park <chuneon.park@samsung.com>
...
Subject: Re: [E-devel] some bug fix patches
Fix lurking free bug in grab code.
SVN revision: 56576
2011-01-31 08:42:34 +00:00
Carsten Haitzler
21af8142da
other way.
...
SVN revision: 56575
2011-01-31 08:40:51 +00:00
Tom Hacohen
cdb54ed92d
Revert "Snapshot." - didn't mean to commit this :(
...
This reverts commit 521198281e4ac616fee48d27aae9e6983d5950c3.
SVN revision: 56556
2011-01-30 13:58:06 +00:00
Tom Hacohen
ead10d70f7
Revert "Snap 2" - didn't mean to commit it. :(
...
This reverts commit 66c113787b440a282b6cc2cab6d35f5c700627f4.
SVN revision: 56555
2011-01-30 13:57:55 +00:00
Tom Hacohen
5548283814
Evas: Updated changelog.
...
SVN revision: 56554
2011-01-30 13:55:16 +00:00
Tom Hacohen
13dce619f1
Snap 2
...
SVN revision: 56553
2011-01-30 13:55:12 +00:00
Tom Hacohen
d6feccdebb
Snapshot.
...
SVN revision: 56552
2011-01-30 13:55:04 +00:00
Tom Hacohen
20e89e9d01
Evas: Updated changelog.
...
SVN revision: 56546
2011-01-30 10:46:06 +00:00
Tom Hacohen
3999767698
Evas textblock: Eliminate the use of cutoff, we don't really want/need that.
...
SVN revision: 56545
2011-01-30 10:46:02 +00:00
Tom Hacohen
198da9e2af
Evas font: Fix indentation.
...
SVN revision: 56544
2011-01-30 10:45:56 +00:00
Tom Hacohen
f247b0d480
Evas textblock: Did a bit of code clean-up.
...
SVN revision: 56543
2011-01-30 10:45:51 +00:00
Tom Hacohen
5a5ebae319
Evas textblock: Added ellipsis support (actually only for the 1.0 case) to textblock.
...
SVN revision: 56542
2011-01-30 10:45:45 +00:00
Tom Hacohen
604f4d5549
Evas textblock: Fixed a memory leak and comment.
...
SVN revision: 56541
2011-01-30 10:45:40 +00:00
Tom Hacohen
00a48c01ea
Evas textblock: Updated a comment.
...
SVN revision: 56540
2011-01-30 10:45:34 +00:00
Tom Hacohen
620c9f1cb7
Evas textblock: Fixed issue with charwrap causing an infinite loop.
...
SVN revision: 56539
2011-01-30 10:45:28 +00:00
Tom Hacohen
a7e2bbabae
Evas font: Fixed memory leak when reloading an already-loaded face.
...
SVN revision: 56538
2011-01-30 10:45:23 +00:00
Tom Hacohen
a98aaaae64
Evas text: Fixed a segfault with text objects with a font not yet set (but with text set).
...
SVN revision: 56537
2011-01-30 10:45:17 +00:00
Tom Hacohen
df727d6772
Revert "Evas textblock: Use the last item's width, not advance, when calculating line's width and wrapping."
...
There were issues introduced with this commit, should fix it in the
future.
This reverts commit 53cf2da5684871c77b7efc6406de98d5fb681914.
SVN revision: 56536
2011-01-30 10:45:11 +00:00
Tom Hacohen
ed75dc7082
Evas textblock: Fixed paragraph width to also take in-paragraph line indentation into account.
...
SVN revision: 56535
2011-01-30 10:45:06 +00:00
Tom Hacohen
e82371fd03
Evas text: Added API to query text object's text direction.
...
SVN revision: 56534
2011-01-30 10:45:00 +00:00
Tom Hacohen
0cdb64e00e
Evas textblock: Fixed cursor position in BEFORE mode. Fixed a reference to a memory location (on the stack) we don't own anymore.
...
SVN revision: 56533
2011-01-30 10:44:55 +00:00
Tom Hacohen
2f8968f4f8
Evas textblock: Fixed cursor position with a cleared textblock.
...
SVN revision: 56532
2011-01-30 10:44:48 +00:00
Tom Hacohen
e4bcb7f90f
Evas textblock: Use the last item's width, not advance, when calculating line's width and wrapping.
...
SVN revision: 56531
2011-01-30 10:44:42 +00:00
Tom Hacohen
abb427a683
Evas text: Fixed string_size_get to use the last item's width instead of advance.
...
SVN revision: 56530
2011-01-30 10:44:37 +00:00
Tom Hacohen
8119efadda
Evas font-engine: Fixed query size when not using OT to take the last char's width on RTL mode, instead of the first.
...
SVN revision: 56529
2011-01-30 10:44:31 +00:00
Tom Hacohen
895124e1b9
Evas text: relayout the items when needed.
...
SVN revision: 56528
2011-01-30 10:44:23 +00:00
Tom Hacohen
61e6f43f66
Evas text: Fixed vert advance get in cases of mixed scripts with different ascents/descents.
...
SVN revision: 56527
2011-01-30 10:44:17 +00:00
Tom Hacohen
8871470af7
Evas textblock: Fixed a typo in the wordwrap code.
...
SVN revision: 56526
2011-01-30 10:44:11 +00:00
Tom Hacohen
ae1325aec0
Evas textblock: Added wrap=mixed to the style options.
...
SVN revision: 56525
2011-01-30 10:44:03 +00:00
Tom Hacohen
6b8aa0e419
Evas textblock: Fixed a bug with wordwrapping causing an infinite loop in some cases.
...
SVN revision: 56524
2011-01-30 10:43:55 +00:00
Tom Hacohen
379eb8f660
Evas font-engine: Fixed ot face loading when loading fonts from memory.
...
SVN revision: 56523
2011-01-30 10:43:50 +00:00
Tom Hacohen
7924eef840
Evas bidi: Fixed visibility issue with evas_bidi_shape_string which is supposed to be visible to extrenal moduels as well.
...
SVN revision: 56522
2011-01-30 10:43:42 +00:00
Tom Hacohen
34c6617e5a
Evas font-engine: add a function to just ref text props.
...
SVN revision: 56521
2011-01-30 10:43:34 +00:00
Tom Hacohen
07004f537a
Evas textblock: Implemented support for size_native_get which was partially broken because calc_only was not implemented.
...
SVN revision: 56520
2011-01-30 10:43:26 +00:00
Tom Hacohen
03e32ec5c4
Evas textblock: Added mixedwrap code - the code is there but nothing is really using it at the moment, will add that in the future.
...
SVN revision: 56519
2011-01-30 10:43:21 +00:00
Tom Hacohen
546ceb4151
Evas textblock: Remove unused function: _evas_textblock_cursor_node_format_before_pos_get.
...
SVN revision: 56518
2011-01-30 10:43:15 +00:00
Tom Hacohen
b7cd0dbabb
Evas textblock: Fixed word prerender, it now compiles and even mostly works, there are still some glitches (haven't benchmarked it though).
...
SVN revision: 56517
2011-01-30 10:43:09 +00:00
Tom Hacohen
e809000965
Evas font-engine: Exposed PEN_Y in the walker functions and started using it instead of the hackish _pen_y.
...
SVN revision: 56516
2011-01-30 10:43:03 +00:00