Cedric BAIL
a95bf1e226
evas: fix working with utf8.
...
SVN revision: 72515
2012-06-20 04:58:47 +00:00
Carsten Haitzler
3a03502bb8
printf-- and keep inset line in case for later
...
SVN revision: 72514
2012-06-20 04:54:23 +00:00
Carsten Haitzler
9a56eec38c
woooow line advance broken for bitmap fonts!
...
SVN revision: 72513
2012-06-20 04:53:21 +00:00
Carsten Haitzler
3c2fbc3e9a
fix grid sizing for textgrid with some mono ttf fonts!
...
SVN revision: 72511
2012-06-20 04:45:05 +00:00
Cedric BAIL
1d58c6dee0
evas: small 25% speed up of textgrid (we are still on average 10ms slower than urxvt).
...
This patch reuse the same Evas_Text_Props across the textgrid (Later we could do that
across the canvas itself, but no test case yet, so not yet). It delay the real destruction
of Evas_Text_Props after the rendering cycle, so they will really die only if they are
not used during the latest frame. We could delay it a little bit more, but that does
the job at the moment.
SVN revision: 72510
2012-06-20 04:09:05 +00:00
Vincent Torri
e68d4430d9
Evas: remove software DirectDraw 16 bits engine
...
Nowadays, this engine is completely useless. Windows users (>= XP) use
only 32 bits depth color, so let's kill that engine. Less code to
maintain for me.
SVN revision: 72494
2012-06-19 17:06:44 +00:00
Tom Hacohen
3e5a5aac7b
Evas textblock: Fixed rendering issues with small fonts.
...
GRIDFIT when we HINT, get the UNSCALED sizes otherwise.
SVN revision: 72409
2012-06-18 15:43:49 +00:00
Carsten Haitzler
bc7c4664c4
fix underline and strikethrough drawing in textgrid.
...
SVN revision: 72405
2012-06-18 13:54:18 +00:00
Tom Hacohen
abd7d01a98
Evas textblock: Fixed issue with _textblock_clear and cursors.
...
Now it properly sets the remaining cursors.
SVN revision: 72403
2012-06-18 13:44:26 +00:00
Carsten Haitzler
282783c949
dotn segv if color vals beyond palette size in tg.
...
SVN revision: 72401
2012-06-18 13:36:19 +00:00
Tom Hacohen
b20190232c
Evas textblock: Fixed issues with deleting paragraphs using range_del.
...
Also added test cases for that.
SVN revision: 72398
2012-06-18 13:31:20 +00:00
Tom Hacohen
eefaa4c0fe
Evas font: Revert "This makes build break when harfbuz already installed ."
...
This reverts commit 72372.
I just don't get this commit, you just disabled the define that's
responsible of turning harfbuzz on. If you have a too old harfbuzz,
update, I don't plan on supporting old versions of an unreleased always
changing piece of sw.
SVN revision: 72393
2012-06-18 12:50:19 +00:00
Carsten Haitzler
00eea12d83
fix off-by-1 in textgrid!
...
SVN revision: 72380
2012-06-18 10:25:12 +00:00
Jiyoun Park
bd102bf741
This makes build break when harfbuz already installed .
...
for example , hb_shape_full function is supported only harfbuzz-20120607 version.
(harfbuzz 0.6 or 0.7 does not support this function)
but OT_SUPPORT define always turned on if harfbuzz installed.
SVN revision: 72372
2012-06-18 08:30:32 +00:00
Cedric BAIL
b3c50c2407
evas: destroy the mutex after we use it for the last time.
...
SVN revision: 72329
2012-06-18 01:05:30 +00:00
Carsten Haitzler
d09c4f4a4b
remove workaround thanks to tasn font fix.
...
SVN revision: 72280
2012-06-17 07:27:44 +00:00
Tom Hacohen
6e3ddcd6a0
Evas font: Fix the font engine to work with Bitmap fonts.
...
Oops, I used the Outline CBox function instead of the Glyph one. Fixed.
SVN revision: 72278
2012-06-17 07:18:50 +00:00
Cedric BAIL
67a8db57b1
evas: let's have an O(1) check instead of O(N).
...
SVN revision: 72266
2012-06-17 04:32:54 +00:00
Carsten Haitzler
873d5ed76a
add ()'s
...
SVN revision: 72259
2012-06-17 02:42:15 +00:00
Carsten Haitzler
1e043ecd3b
wanrn--
...
SVN revision: 72250
2012-06-17 01:33:23 +00:00
Carsten Haitzler
fc9218087d
adjust default memprool alloc sizes. too big imho.
...
SVN revision: 72249
2012-06-17 01:32:10 +00:00
Carsten Haitzler
23c6ea5b97
printf--
...
SVN revision: 72217
2012-06-16 06:29:36 +00:00
Carsten Haitzler
2c1b13a9b3
font changes update correctly now in tg.
...
SVN revision: 72215
2012-06-16 06:28:11 +00:00
Carsten Haitzler
8f998d85f9
wrong logic check. fix!
...
SVN revision: 72211
2012-06-16 05:27:12 +00:00
Carsten Haitzler
ea2d9df312
completing more work on textgrid. well optimized now in terms of
...
tracking updates and minimizing rendering etc.
SVN revision: 72208
2012-06-16 05:06:29 +00:00
Carsten Haitzler
8156f2f103
workaround text issue not getting widht of stirng right with bimtap
...
fonts - use advance+inset as workaround.
SVN revision: 72195
2012-06-15 14:24:01 +00:00
Carsten Haitzler
824f7172da
fix new textgrid to actually handle updates right.. well for now.
...
SVN revision: 72191
2012-06-15 13:59:10 +00:00
ChunEon Park
02ededc16a
evas/render - clean up when map is enabled. In this case, it's children should be cleaned up in the list.
...
SVN revision: 72190
2012-06-15 13:29:24 +00:00
ChunEon Park
a8c0af3015
evas/render - no. my fault.
...
SVN revision: 72188
2012-06-15 11:42:56 +00:00
ChunEon Park
fa927a68cd
evas/render - removed useless param
...
SVN revision: 72187
2012-06-15 11:40:08 +00:00
ChunEon Park
b79f60974b
evas/render - fix indent.
...
SVN revision: 72186
2012-06-15 11:16:11 +00:00
ChunEon Park
2c601fc25b
evas/event - simpler route
...
SVN revision: 72185
2012-06-15 10:34:22 +00:00
Mike Blumenkrantz
c10b10fad0
changelog + documentation for evas_object_smart_members_get() commit
...
SVN revision: 72179
2012-06-15 09:49:46 +00:00
Mike Blumenkrantz
214f736fb0
make evas_object_smart_members*get return NULL for non-smart objs...not sure I need to changelog this?
...
SVN revision: 72178
2012-06-15 09:36:39 +00:00
Vincent Torri
a95cf57438
Evas: add textgrid object (not finished, nor optimized :-) ) Go raster, go !
...
SVN revision: 72169
2012-06-15 07:19:04 +00:00
Mike Blumenkrantz
4383a1f409
hey how about we stop breaking evas and edje with EVERY DAMN COMMIT???
...
SVN revision: 72162
2012-06-15 06:36:49 +00:00
Cedric BAIL
d636db3c66
evas: cache conversion from Evas_Map to RGBA_Map.
...
SVN revision: 72119
2012-06-14 09:58:16 +00:00
Tom Hacohen
77e0f02f72
Revert "evas/event - Fixed incorrect events passing. Now child's repeat events does not affect to the parent's level."
...
This reverts commit 72080.
It broke everything. EFM stopped responding to mouse clicks, same with
clouseau. Seriously, completely broken.
SVN revision: 72093
2012-06-13 17:37:19 +00:00
ChunEon Park
c513f84aa8
evas/event - Fixed incorrect events passing. Now child's repeat events does not affect to the parent's level.
...
SVN revision: 72080
2012-06-13 10:19:19 +00:00
Mike Blumenkrantz
a82974536d
fix crash when adding an image to an engineless canvas
...
SVN revision: 72071
2012-06-13 08:20:28 +00:00
Mike Blumenkrantz
04f2f44d6a
bring some sanity back to Evas.h formatting
...
SVN revision: 72069
2012-06-13 08:12:36 +00:00
Tom Hacohen
c4d284c1fe
Evas smart: Fixed issue with eyelight.
...
Thanks a lot to Daniel for reporting.
SVN revision: 72068
2012-06-13 07:55:24 +00:00
ChunEon Park
8414915d9b
evas/event - trivial changes
...
SVN revision: 72060
2012-06-13 06:08:01 +00:00
Carsten Haitzler
6746b071d1
and in my continuing foxes for bitmap font loading... correctly chose
...
the closest of N sizes.
SVN revision: 72055
2012-06-13 00:54:27 +00:00
Carsten Haitzler
f3c3450dd8
actually getting smart data should safely retunr NULL if not a smart
...
object type without bitching. this is a quick "is it a alid smart
object" check.
SVN revision: 72041
2012-06-12 16:26:47 +00:00
Tom Hacohen
c3fe7b3aa8
Evas: Unbreak evas. Apparently it doesn't compile in some cases.
...
Thanks to mekius for reporting.
SVN revision: 72036
2012-06-12 15:25:27 +00:00
Tom Hacohen
1ef99594d8
Evas smart: Verify it's a smart object before returning the data.
...
SVN revision: 72034
2012-06-12 14:24:07 +00:00
Tom Hacohen
a9709c792e
Evas font: Support no bidi no shaping mode in font rendering.
...
For no bidi: just don't set the bidi stuff. I.e paragraph props and the
other stuff (including text_props_direction_set). If you disable BiDi you most
likely want to disable shaping as well.
For no shaping: Disable bidi (i.e don't set direction) and pass
EVAS_TEXT_PROPS_MODE_NONE to info create.
This will prove especially useful for textgrid, but not only.
SVN revision: 72032
2012-06-12 14:14:52 +00:00
ChunEon Park
b726de235a
evas/map - removed empty evas_object_map_source_set/get APIs.
...
They does nothing and discarded since the evas_object_image_source_set/get is providing.
SVN revision: 71984
2012-06-12 07:23:46 +00:00
ChunEon Park
3a0f535a40
evas/line - Fixed simple line drawing on s/w backened. Unmatched loop scope caused the destination buffer pointer march in place.
...
SVN revision: 71977
2012-06-12 02:52:51 +00:00
ChunEon Park
ea43e9004f
evas/line - fixed indentation
...
SVN revision: 71976
2012-06-12 02:47:34 +00:00
Daniel Juyung Seo
06c4fa8cac
evas Evas.h: Fixed typo.
...
SVN revision: 71971
2012-06-12 01:50:06 +00:00
Tom Hacohen
39f75a3524
Evas smart: Remove from the list, don't assume we have not other refcounts.
...
Without it, it just assumes the object has no refcounts and deletes the
object by force. It's very bad if you use refcounts, because your refcounts
are gone.
SVN revision: 71936
2012-06-11 08:35:07 +00:00
Tom Hacohen
13669e9e19
Evas magic checks: Print magic errors by default.
...
We still don't print on NULL because there are two many such errors in
evas, but at least we print on magic errors which are even worse.
SVN revision: 71894
2012-06-10 08:43:49 +00:00
Cedric BAIL
c9cd50983f
evas: make pipe rendering faster by forcing it to update region that fit in CPU cache.
...
NOTE: for people using Evas pipe rendering infrastructure. I am interested in reporting
expedite test before and after this patch with the associated type of CPU (number, thread,
cache). Thanks.
SVN revision: 71887
2012-06-10 04:58:24 +00:00
Carsten Haitzler
9d96a8ec62
fix bvitmap font handling. woot. can use pcf's and bitmap ttf's well n
...
ow. :)
SVN revision: 71886
2012-06-10 03:23:57 +00:00
Cedric BAIL
3b9b38c619
evas: don't include clip object.
...
SVN revision: 71829
2012-06-08 03:45:40 +00:00
Cedric BAIL
e1578910bd
evas: this function call are internal no need for expensive check.
...
SVN revision: 71789
2012-06-07 10:06:50 +00:00
Cedric BAIL
3333544ed6
evas: delay O(n) update of the bounding box until we really need it.
...
SVN revision: 71773
2012-06-07 07:10:36 +00:00
Cedric BAIL
dd84715cc8
evas: fix YUV video prepare issue with pipe rendering.
...
SVN revision: 71771
2012-06-07 04:01:46 +00:00
Tom Hacohen
01c10de3f5
Evas textblock: Added some NULL checks that shouldn't happen.
...
SVN revision: 71708
2012-06-05 11:35:58 +00:00
Tom Hacohen
06bce244aa
Evas textblock: Fixed cursor position empty right aligned textblocks.
...
Thanks to WooHyun for reporting this.
SVN revision: 71704
2012-06-05 10:27:54 +00:00
Jihoon Kim
bb56b0b09c
fix @version in each EFL header doxygen
...
SVN revision: 71691
2012-06-04 23:27:02 +00:00
ChunEon Park
32e15bb3eb
evas/line - code refactoring.
...
SVN revision: 71685
2012-06-04 11:39:43 +00:00
ChunEon Park
12602756c3
evas/line - trivial changes
...
SVN revision: 71684
2012-06-04 11:21:05 +00:00
ChunEon Park
cdbff9552d
evas/line - identation fix
...
SVN revision: 71683
2012-06-04 11:16:29 +00:00
Carsten Haitzler
0ccd4cdf2a
FRom daniel zaoui -> spotted issues with callback deletionon evas_free
...
that may cause evas's to not be freed. fixxxxors!
SVN revision: 71552
2012-05-30 10:41:19 +00:00
ChunEon Park
88c5f1df74
evas/map - fixed afterimage problem. now we don't need work-around code anymore.
...
SVN revision: 71549
2012-05-30 10:12:10 +00:00
Carsten Haitzler
318bd30043
This is a small change, so I won't changelog it (or backport), but
...
make _shutdown() funcs across efl complain and be unhappy if you
shutdown to < 0 shutdowns and not pull init count below 0.
SVN revision: 71548
2012-05-30 10:08:41 +00:00
ChunEon Park
6473f0316c
evas/map - simplify code
...
SVN revision: 71545
2012-05-30 08:40:21 +00:00
Cedric BAIL
7909cb7bd6
evas: finally got rid of that nasty dancing font issue with pipe rendering.
...
SVN revision: 71544
2012-05-30 08:29:29 +00:00
Cedric BAIL
ef3e42033b
evas: Don't wake up prepare thread when there is nothing to do.
...
SVN revision: 71543
2012-05-30 08:15:42 +00:00
ChunEon Park
ba47683a9b
evas/render - pre render will be always. don't need if and else if which will be never reached.
...
SVN revision: 71540
2012-05-30 07:32:27 +00:00
ChunEon Park
84f38fea16
evas/evas_object_smart - simpler code.
...
SVN revision: 71531
2012-05-30 06:29:14 +00:00
ChunEon Park
140e97171b
evas/map - fixed to update the rendering when map is enabled.
...
Now children objects of the mapped object should be cleaned from the internal cache lists.
SVN revision: 71519
2012-05-30 00:51:11 +00:00
Tom Hacohen
ef25a41a76
Evas object text: Make the object size big enough to show the whole text.
...
I.e even if advance is smaller than width, take it into account.
SVN revision: 71507
2012-05-29 14:43:21 +00:00
Tom Hacohen
af55fb6217
Evas text: apply italic correction for run-time slanted texts (disabled).
...
Also, put the slant angle calculations in a macro for easier future changes.
Just have it there so people who want it can turn it on.
SVN revision: 71506
2012-05-29 14:43:17 +00:00
Tom Hacohen
d7f811fe8f
Evas font-draw: Use bitmap offset in the glyph when drawing.
...
SVN revision: 71505
2012-05-29 14:43:10 +00:00
ChunEon Park
054360207b
evas/render - they are already cleaned.
...
SVN revision: 71499
2012-05-29 09:09:13 +00:00
ChunEon Park
b2a3f3b540
evas/render - removed duplicated call
...
SVN revision: 71491
2012-05-29 05:24:43 +00:00
ChunEon Park
63d97b8441
evas/rendering - Fixed to clean up when map actually changed. Now rendering updates will be correct after evas_map acutally disabled for the smart object.
...
SVN revision: 71490
2012-05-29 05:13:03 +00:00
Christopher Michael
1fbf92cc36
Evas: (wayland): Use Seb's strncmp statement (easier to read, cleaner,
...
simpler, and possibly faster).
Thanks Seb ;)
SVN revision: 71431
2012-05-25 23:51:21 +00:00
Christopher Michael
909d83bf3a
Evas: Fix clipping issue for wayland engines (were drawing outside the
...
viewort). This fixes the Elm Map 3D test issue where the cube was
drawing onto the window border (and perhaps other tests).
SVN revision: 71426
2012-05-25 12:55:45 +00:00
Christopher Michael
ba863e5a41
Evas: Add framespace clip object (for efl wayland clipping issue).
...
SVN revision: 71425
2012-05-25 12:54:38 +00:00
ChunEon Park
c3ace0d8e3
evas - trivial code refactoring for evas_object_clip_recalc
...
SVN revision: 71418
2012-05-25 08:13:40 +00:00
Daniel Juyung Seo
51c2d442f5
e, evas, elementary: Synced @author with AUTHORS.
...
SVN revision: 71399
2012-05-24 07:17:05 +00:00
Daniel Juyung Seo
2c7898e5d9
evas evas_object_smart_clipped.c: Fixed formatting.
...
SVN revision: 71396
2012-05-24 06:48:25 +00:00
Daniel Juyung Seo
2ff06b9333
evas Evas.h: Fixed typo.
...
SVN revision: 71395
2012-05-24 06:48:21 +00:00
Carsten Haitzler
b249d37ce4
based on Raphael's idea of tmpdir env vars and such - but different.
...
still disables unlink on non-linux.
SVN revision: 71386
2012-05-24 05:07:22 +00:00
Rafael Antognolli
9398a60c22
evas/cserve2: Adding message structs for font rendering
...
communication.
SVN revision: 71360
2012-05-23 18:09:57 +00:00
Tom Hacohen
f35bbc3923
Evas grid/table: Add const to objects where needed.
...
SVN revision: 71312
2012-05-22 10:18:46 +00:00
Tom Hacohen
1d7cdc8348
Evas box: Add const to some getters.
...
Thanks to Daniel Zaoui for letting me know.
SVN revision: 71308
2012-05-22 08:48:03 +00:00
Carsten Haitzler
69bd9ce72e
let's make server work out of the box if u set:
...
export EVAS_CSERVE2=1
(and run cserve2)
SVN revision: 71274
2012-05-21 08:44:55 +00:00
Sung Park
8250180aec
Separated checks for gl2.h defines and gl2ext.h defines in Evas_GL.h.
...
SVN revision: 71270
2012-05-21 08:01:28 +00:00
Cedric BAIL
d30a9bf8be
evas: this should fix the last remaining bug with my lockless font rendering.
...
SVN revision: 71236
2012-05-19 07:43:37 +00:00
ChunEon Park
2a9f42c47e
evas/evas_render - and should update the mapped objects when their color is changed since color should be multiplied again.
...
SVN revision: 71226
2012-05-18 07:17:34 +00:00
ChunEon Park
03995b4e98
evas/evas_render - should call the render_post since the object color can be changed without changing map
...
SVN revision: 71224
2012-05-18 06:51:30 +00:00
Cedric BAIL
495addd041
evas: don't try to walk if we don't have anything to walk on.
...
SVN revision: 71221
2012-05-18 03:16:22 +00:00
Cedric BAIL
b0d3526d89
evas: another improvement part of the previous lock less font rendering patch.
...
Now evas will in all case do the layout during the prepare stage. It will do that
once and as long as the text didn't change. This does improve by a factor of at
least 2.3 in all expedite test case except the text change that only get a 30%
increase (I expect a drop in performance on non pipe rendering for text change
expedite test only, but this case is not common in real life).
This also fix the issue that show random size glyph when using pipe rendering.
SVN revision: 71220
2012-05-18 02:16:54 +00:00
ChunEon Park
c21bfb49c2
evas - removed unnecessary fields, changed_nomove and changed_move_only.
...
These are actually not necessary right now.
SVN revision: 71199
2012-05-17 10:51:54 +00:00