Tom Hacohen
f03148f9e3
Evas font: Fixed evas_font_path_* functions to apply to fontconfig.
...
Until now those were only used for custom fonts, and not for fontconfig
searches. With this commit, fontconfig will also start looking in those
dirs.
2013-09-25 15:07:39 +01:00
Tom Hacohen
baf018d659
Evas font: Use our own custom fontconfig config.
...
This will make sure people that change the default config don't affect us.
2013-09-25 15:07:38 +01:00
Cedric Bail
b37494503f
evas: update to new eo_parent_get/set API.
2013-09-25 13:34:18 +09:00
Carsten Haitzler
b5472db51d
fix if obj->layer is null during shutdown
2013-09-25 13:05:41 +09:00
Mike Blumenkrantz
21daab2c62
evas render bug--
...
objects that were visible and marked as "render del" rects during render are now detected when they magically change visibility during the same render loop, fixing a very hard to reproduce E19 corner case related to fullscreen client rendering with nocomp disabled
<raster> for now all i can say is "put the patch in and lets see if things break"
2013-09-24 11:34:21 +01:00
Tom Hacohen
2ab088aeea
Evas textblock: Fixed native size calculation.
2013-09-23 14:37:18 +01:00
Tom Hacohen
2173652b4d
Evas textblock: Fix format based line size calculation.
...
Format based line size modifiers were not applied.
2013-09-23 14:37:18 +01:00
Tom Hacohen
cbde2bef69
Evas textblock: Fixed max descent adjustment and a related bug.
...
The bug caused wrong line sizing in some situations (appending new
paragraphs to a textblock).
2013-09-23 14:37:18 +01:00
Tom Hacohen
72167b9cc3
Evas textblock: Fixed ascent/descent calculation a bit more.
...
Separated maxascent/descent from ascent/descent even further.
Fix calculation to be based on font instance and not the font group.
2013-09-23 14:37:18 +01:00
Tom Hacohen
5adffd54e5
Evas textblock: rename maxascent/descent->ascent/descent.
...
Although we kinda use them as max in some situations, they are actually
just the regular ascent and descent. Following commits will make this
separation even stronger.
2013-09-23 14:37:18 +01:00
Tom Hacohen
94e6f6a5bc
Evas textblock: Fix wrong line spacing when appending lines.
...
This fixes T397 which was introduced by commit: 4bcf4991eb
.
This also fixes the issues with enventor.
2013-09-20 13:52:48 +01:00
Chris Michael
a0fb1f4728
Fix formatting
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-17 07:41:07 +01:00
Chris Michael
24847d77dc
Remove extra blank space
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-17 07:41:07 +01:00
Chris Michael
d673cbc398
Readd the master clip for rendering of wayland engines.
...
NB: Master clip is needed so that things don't draw outside the client
area.
NB: This is a partial fix. Still a work in progress. Some remaining
issues with some various elm_tests that use evas_map.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-11 14:10:27 +01:00
Tom Hacohen
c598997299
Evas object clouseau: Added object name to the property list.
2013-09-06 17:19:57 +01:00
Tom Hacohen
f30be9b8ad
Evas object clouseau: cleaned up the code a bit.
2013-09-06 17:19:07 +01:00
Carsten Haitzler
3f94953509
evas - fix render op reset when drawing map objs :)
2013-09-05 20:31:17 +09:00
Cedric Bail
a626a91d69
evas: add evas_object_smart_iterator_new().
...
This is going to break Eo ABI. Rebuild all software using Eo API on top
of EFL (Elementary for example).
2013-09-05 17:16:40 +09:00
Carsten Haitzler
441f10e3ab
evas - in dump also ensure an idle flush logic and proxy surface dump happens
2013-09-04 11:42:08 +09:00
Tom Hacohen
bda3ceb632
Evas textblock: fixed *_markup_get issue with escaped chars.
...
Markup_get was misbehaving and returning wrong results with some escaped
chars. markup_to_utf8 was working correctly. Merged the code together
and now both are consistent and correct.
Thanks to WooHyun for reporting.
2013-09-03 11:50:34 +01:00
Ulisses Furquim
0af10ae93f
evas/render: improve evas_render_sync()
...
Tracking only the async rendering canvases and just waiting for the last one
to finish rendering. This should be enough to sync all canvases since the
render thread orderly executes the commands.
2013-09-03 01:52:38 -03:00
Cedric Bail
9ac13e4aec
Revert "evas/render - this is insane to me since nowhere it release the render_pre_done FALSE pairly."
...
This reverts commit fd7d1f9f98
.
This commit is the one breaking Evas_Map use in shelf. Let's investigate why it was disable
in the first place.
2013-09-03 12:39:49 +09:00
Cedric Bail
7396dc2d89
evas: simplify logic and API signature, thanks k-s.
2013-09-03 11:08:12 +09:00
Ulisses Furquim
0c83dd806a
evas/render: sync all canvases in _render_dump()
2013-09-02 20:03:23 -03:00
Ulisses Furquim
063f076aed
evas/async_render: remove block/unblock of render thread.
...
This reverts commit 42a46214c4
.
2013-09-02 20:01:37 -03:00
Ulisses Furquim
31b1cc6e3e
evas/render: introduce evas_render_sync().
...
evas_render_sync() will loop through all canvases and wait for their
rendering to finish. Since this function will execute from the main
thread that will sync all of them.
2013-09-02 19:41:32 -03:00
Cedric Bail
a007a3af13
evas: focus_set can fail... internally handle that case properly now.
2013-09-02 20:28:51 +09:00
Jean-Philippe Andre
cafa763817
evas: Fix sigsegv after font rehint
...
If a text object is rehinted after it is deleted,
baaad things happen. Mark Evas_Object_Text as dead by
setting font to NULL.
Note the crash happened with cserve2 and maybe not in normal
cases.
2013-09-02 15:00:01 +09:00
Cedric Bail
54ef511197
evas: handle error case by properly deallocating memory.
2013-09-02 12:33:21 +09:00
Carsten Haitzler
08e430b18a
move render wait before the block to avoid deadlock.
2013-08-30 09:09:08 +09:00
Carsten Haitzler
42a46214c4
other async render issue - sync ALL rendering canvases, not just one
2013-08-29 21:18:04 +09:00
Cedric Bail
bcb9ccb129
evas: let's allow intercept of other type of operation on the same object during an intercept.
2013-08-29 14:25:23 +09:00
Cedric Bail
35b98861dd
evas: simplify code for setting intercept callback.
2013-08-29 11:35:35 +09:00
Cedric Bail
1ac1db596f
evas: add interceptor for focus_set.
2013-08-29 11:21:20 +09:00
Cedric Bail
85f0749a83
evas: cleanup intercept code and improve performance there a little.
2013-08-29 10:53:48 +09:00
Cedric Bail
62a759de43
evas: define MAP_HUGETLB when it is not defined.
2013-08-29 09:54:34 +09:00
Cedric Bail
ebdc7a9952
evas: use mmap/munmap on system that have it for image data.
2013-08-28 17:17:35 +09:00
Carsten Haitzler
175335ae08
evas - restore ability for evas_render_dump() to dump out referenced data
2013-08-28 16:44:31 +09:00
WooHyun Jung
d2da97c75b
evas_event: Nomally, the point's state is maintained POINT_MOVE before it is released.
2013-08-28 13:40:27 +09:00
Tom Hacohen
041e3af3e5
Evas bidi: Fixed a bug causing BiDi not to work in some cases.
...
This issue cause non-letter RTL characters not to be detected as RTL
which in turn turned off bidi for those strings.
Example broken text: <RLM><LRO>[PAS<RLO>[--DES<PDF><PDF>.
Thanks to Yakov Goldberg for reporting this issue.
2013-08-27 14:11:16 +01:00
Carsten Haitzler
4aaf857fc8
fix apparent tb item leak (definitely lost)
2013-08-27 17:20:56 +09:00
Cedric Bail
33372313a1
evas: try to also cancel multi button to.
2013-08-27 16:52:24 +09:00
Chris Michael
eff087a4b3
Fix redraw rectangle when framespace changes to not be Outside viewport.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-23 08:39:03 +01:00
Tom Hacohen
4bcf4991eb
Evas textblock: Fixed calculation of maxdescent.
...
Thanks to YoungBok Shin for reporting.
2013-08-20 11:13:06 +01:00
Chris Michael
865531a9e1
Fix compiler warning about missing braces.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-19 08:35:34 +01:00
Mike Blumenkrantz
c31061b642
evas render debug now prints object names if they exist
2013-08-19 05:20:57 +01:00
ChunEon Park
86ff7c3659
evas - oops, this line shouldn't be pushed.
2013-08-18 16:54:22 +09:00
ChunEon Park
cbfba2fd59
evas - should be rendered even if non-smart proxy object doesn't affected by clipper.
2013-08-18 16:31:43 +09:00
ChunEon Park
75ccce5706
evas - removed redundant code.
...
This check is not necessary but causes incorrect clipping issues.
At this moment, if primitive objects (except image) is the source then that code may be helpful but it doesn't guarantee same behavior for all the primitive objects.
So, right now removed it.
2013-08-18 16:26:11 +09:00
Cedric Bail
2b68a31252
evas: handle gracefully move from evas_object_image_file_set to and from evas_object_image_mmap_set.
2013-08-12 12:12:13 +09:00