Carsten Haitzler
6e0f9db089
lets not segv if src is null :)
...
SVN revision: 74978
2012-08-07 10:59:44 +00:00
Cedric BAIL
1284e077ad
evas: don't clip the clipper.
...
SVN revision: 74974
2012-08-07 10:44:15 +00:00
Carsten Haitzler
ce676a703d
compile test... ceeeeedric!
...
SVN revision: 74972
2012-08-07 10:26:36 +00:00
Cedric BAIL
61c2345c55
evas: properly warn when linking object from different canvas.
...
SVN revision: 74968
2012-08-07 09:43:22 +00:00
Daniel Juyung Seo
2cefdbcec6
evas evas_object_smart.c: evas_object_smart_smart_get() does the exactly same check.
...
SVN revision: 74952
2012-08-07 00:57:09 +00:00
Gustavo Lima Chaves
c343725133
[evas] Add forgotten magic checks on those iface functions.
...
SVN revision: 74948
2012-08-06 16:19:25 +00:00
Carsten Haitzler
4674438654
do fcfini now - it seesm to not be a problem with fc anymore
...
SVN revision: 74870
2012-08-04 04:34:49 +00:00
Carsten Haitzler
6d02ebcf28
leaks--!
...
SVN revision: 74868
2012-08-04 04:14:38 +00:00
Stefan Schmidt
49caa43011
evas/canvas: Remove set but unused variable.
...
SVN revision: 74808
2012-08-02 16:05:49 +00:00
Christopher Michael
15a9aa0950
Evas: Fix evas build from botched copy/paste.
...
Apologies, I pasted the code in the wrong position :(
SVN revision: 74740
2012-08-01 14:32:26 +00:00
Christopher Michael
2a32afd20b
Evas: Fix trying to clip objects to the framespace clip if the object
...
is going to be deleted. Patch from eduardo.de.barros.lime@intel.com .
SVN revision: 74739
2012-08-01 14:14:34 +00:00
Jiyoun Park
102a85cc6e
Fix evas pointer count problem, if press/release events occurs not pair,
...
it screws up the evas event process. We are not deal with release event if
there is no pressed pointer
SVN revision: 74705
2012-08-01 05:43:50 +00:00
Tom Hacohen
6dd9396d6f
Evas font: Fixed compilation without fontconfig.
...
Thanks a lot to JaMa for reporting this.
SVN revision: 74640
2012-07-31 10:51:11 +00:00
Christopher Michael
72aad68b27
Evas: Fix bugs in Wayland Engine(s) with regard to object geometry &
...
position. Fix bug when clipping to viewport/framespace. These changes
fix Several buggers on Trac which related to the Wayland Engine(s).
Fix minor bug in evas_render where clipping for framespace would
not take into account the frame height and also move the frame clip to
the values specified in framespace (not viewport).
Fix buggers in evas_object_main which was causing objects (when created using
the wayland engines) to be an incorrect size & position (objects will now
be the same size/position in EFL Wayland as they are in X11).
Fix evas_object_geometry_get to return values based on where they were
moved (in relation to framespace). (These fixes are for the Wayland
Engines and do not affect X11).
Remove nw/nh from evas_object_resize (not needed variables anymore).
SVN revision: 74565
2012-07-30 09:52:33 +00:00
Tom Hacohen
6c9804fba9
Evas font: Fixed font cache to correctly handle different font sizes.
...
Used to just go for the first match in the cache which means it would always
think we only have the wrong size in the cache, and it would just add
new entries all the time.
SVN revision: 74435
2012-07-26 11:31:36 +00:00
Carsten Haitzler
a3d66cfed3
fix long standing layer set bug
...
SVN revision: 74342
2012-07-24 04:59:22 +00:00
Cedric BAIL
58827ba3b6
evas: handle proxy with the right context.
...
SVN revision: 74340
2012-07-24 04:27:17 +00:00
Cedric BAIL
733338509e
evas: make evas_object_smart_type_check more resilient.
...
Issue reported by JPeg.
SVN revision: 74295
2012-07-22 07:03:29 +00:00
ChunEon Park
d8a799003c
evas/image - trivial changes
...
SVN revision: 74204
2012-07-20 05:41:25 +00:00
Cedric BAIL
4107be8da7
evas: little cosmetic fix.
...
SVN revision: 74181
2012-07-19 11:07:54 +00:00
Cedric BAIL
f7d8ab31ed
evas: try to unbork previous map fix.
...
NOTE: That one is nasty and I do admit that this doesn't
sounds like the proper fix, but as it doesn't trigger other
issue and is simple/reasonable I took to defeat that damn
beast.
SVN revision: 74180
2012-07-19 11:07:14 +00:00
Tom Hacohen
df9ee73e48
Evas textblock: Fixed memory leak on tb deletion.
...
Thanks to k-s for reporting this.
SVN revision: 74165
2012-07-19 08:17:17 +00:00
Tom Hacohen
b22564a2e5
Evas image: reset error after setting a proxy.
...
evas_object_image_file_set tries to load the file even if the file is NULL,
this in turn makes proxies always report about an error, although there
isn't really one.
I'm not sure whether evas_object_image_file_set should behave the way it
does, but I'm sure the proxy needs to reset the error anyway (because of
potential previous errors).
SVN revision: 74073
2012-07-18 14:09:53 +00:00
Carsten Haitzler
8d4f8f3dc7
fix box size hint handling.
...
SVN revision: 74039
2012-07-18 06:57:10 +00:00
Gustavo Lima Chaves
fb2a822637
[evas] Interfaces improvement.
...
iface add() before smart add() is better.
SVN revision: 73991
2012-07-17 14:50:25 +00:00
Cedric BAIL
7f1e95afc8
evas: fix evas map life cycle.
...
SVN revision: 73963
2012-07-17 09:09:45 +00:00
Cedric BAIL
64fd2b487a
evas: fix garbage with left over mapped smart object.
...
This fix the bug reported by Bruno Dilly.
SVN revision: 73944
2012-07-17 03:35:53 +00:00
ChunEon Park
3f3314725c
evas/render - fixed to do pre render for the children of mapped object.
...
Now textblock can calc it's texts geom correctly when it is a child of the mapped obj.
SVN revision: 73930
2012-07-16 11:33:12 +00:00
ChunEon Park
37af49d771
evas/render - removed duplicated recalc.
...
SVN revision: 73927
2012-07-16 11:19:08 +00:00
ChunEon Park
a7a4fbbe74
evas/render - removed uselss compare and fix indent
...
SVN revision: 73903
2012-07-16 03:12:39 +00:00
Carsten Haitzler
6238ca9806
warn--
...
SVN revision: 73429
2012-07-07 01:05:50 +00:00
Cedric BAIL
d059c8ccf8
evas: update map when they are not defined yet.
...
SVN revision: 73420
2012-07-06 14:56:42 +00:00
Cedric BAIL
401d68ada6
evas: catch bad map early on.
...
SVN revision: 73416
2012-07-06 14:03:38 +00:00
Gustavo Lima Chaves
b64fa6453a
Evas_Smart_Interface support.
...
This gives Evas simple (smart object) interfaces, to extend the object behaviorextension beyond the limits of mere sub-classing.
Patch by: Gustavo Lima Chaves <glima@profusion.mobi>
SVN revision: 73302
2012-07-04 21:23:03 +00:00
Cedric BAIL
1d415b796b
evas: add more infrastructure to the prepare stage of pipe rendering.
...
NOTE: this improve some test by 10 to 15% some other are down by 5%.
Their is still more tunning and improvement possible now (Particularly
with Map), but it will do for now.
SVN revision: 73264
2012-07-04 09:39:23 +00:00
Christopher Michael
8689cb87a0
Evas: Merge evas_object_image changes from Tizen to upstream EFL.
...
SVN revision: 73198
2012-07-03 07:30:05 +00:00
Carsten Haitzler
fd72d84dcc
textgrid - use evas coords for cell size. more correct indeed - thanks
...
tom. als warning--
SVN revision: 73159
2012-07-02 12:35:53 +00:00
Sung Park
896d489db8
EvasGL: Fixed a few minor bugs.
...
- Added (w,h) <=0 dimension check for evas_gl_surface_create()
- Changed evas_gl_make_current to return error when either
surface or context is NULL. Semantically, this was allowed
before but it was changed to reflect eglMakeCurrent behavior.
- evas_gl_make_current - detached any previously attached
buffers before attaching new ones to an FBO during a make_current.
- Used dynamic memory for extension string allocation for safety.
SVN revision: 72926
2012-06-27 08:19:25 +00:00
Mike Blumenkrantz
5ad3c7b54e
casting for windows
...
SVN revision: 72849
2012-06-26 06:57:00 +00:00
Mike Blumenkrantz
3098c43745
int -> ptr more correctly
...
SVN revision: 72778
2012-06-25 06:46:57 +00:00
Rafael Antognolli
2f3426b67c
evas/cserve2: CServe2 client side lib modifications.
...
Add the calls to request font loading and glyphs on the client lib.
SVN revision: 72700
2012-06-22 20:31:31 +00:00
Cedric BAIL
1cf893a99d
evas: don't forget to destroy all the cached Evas_Text_Props on font change.
...
SVN revision: 72516
2012-06-20 05:02:57 +00:00
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
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
Carsten Haitzler
00eea12d83
fix off-by-1 in textgrid!
...
SVN revision: 72380
2012-06-18 10:25:12 +00:00
Carsten Haitzler
d09c4f4a4b
remove workaround thanks to tasn font fix.
...
SVN revision: 72280
2012-06-17 07:27:44 +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
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
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
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
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
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
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
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
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
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
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