Cedric Bail
cb5dbb55c3
eo: reporting error here just make the caller code more complex for nothing valuable.
2013-07-05 10:18:19 +09:00
Tom Hacohen
5d4ff97e20
Evas textblock: Fixed issue with *textblock_cursor_range_formats_get.
...
In some cases we could return extra formats that are outside of the
range. It's actually not completely fixed yet.
Thanks to clang-analyzer for detecting this.
2013-07-04 10:07:52 +01:00
Jean-Philippe Andre
09a5c28e5b
evas/cserve2: no cache for large images or non-smooth
...
The concept is taken from scalecache. I am not sure of the
performance impact.
2013-07-04 13:02:48 +09:00
Jean-Philippe Andre
46b7baa379
evas/cserve2: merge SETOPTS into OPEN
...
When opening an image, OPEN and SETOPTS were always sent
consecutively. Merging these two messages may improve the
performance a bit (not measured), but also simplify the
whole thing.
Note: cserve2 debug tools have not been fixed yet.
2013-07-04 13:02:48 +09:00
Jean-Philippe Andre
ca5d174568
evas/cserve2: use Evas_Image_Load_Opts directly
...
Image_Data contained a similar struct to the standard Evas struct,
let's not duplicate it uselessly.
2013-07-04 13:02:48 +09:00
Cedric Bail
f825bebcdb
eina: improve Eina_Tiler to be in par with Evas_Tilebuf.
2013-07-04 13:02:48 +09:00
Cedric Bail
a865b77c14
eo: another small micro optimization giving a 10% speed increase.
2013-07-04 13:02:28 +09:00
Carsten Haitzler
bf482c7742
eldbus - better fix for dbus_conn becoming null in dispatch
2013-07-04 10:56:43 +09:00
Carsten Haitzler
bdd57af113
eldbus - only unref client conns that are not null after dispatch
2013-07-04 08:41:45 +09:00
Shinwoo Kim
daca686168
[ecore_x] add accessibility support - enable, disable
2013-07-03 13:13:32 +09:00
Daniel Juyung Seo
311db0fc58
evas_object_smart.c: removed unnecessary code.
2013-07-02 17:07:05 +09:00
Daniel Juyung Seo
e3e35bfcaf
edje_text.c: proper formatting.
...
inspired by Daniel Willmann's commit b6aaef651b
2013-07-02 17:07:05 +09:00
Jean-Philippe Andre
f1506d8dd2
evas/loaders: use Eina_Stringshare where needed.
...
Evas loaders' open() function expect the key to be a stringshare,
so declare it as such and keep using ref() without add().
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
bb4e7fb869
evas: fix compilation warning in evas_font_draw.
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
22e79af097
evas/cserve2: return in case of select timeout.
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
79b102f6fd
evas/cserve2: add some more error debug (client side).
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
90d8647c02
evas/cserve2: fix crash with YUV tests in expedite.
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
c39b714868
evas/modules: Add preprocessor ifs
...
We'll want to distinguish full builds for evas and partial
builds for cserve2 slaves.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
db6cba1429
evas/cserve2: avoid useless SETOPT messages.
...
Most of the time, the SETOPT message is sent only
to carry 0 data. Let's add a flag to the OPEN message to
avoid useless socket calls.
Server-side: implement with message faking.
Also, fix image ID logic on client side:
- alloc data entry asap,
- assign image_id during call to OPEN
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
096a8ece9f
evas/cserve2: Set default LRU size to 4Mb or env-based
...
The LRU should not be limited to 0 byte otherwise all scaled
images will be dropped and reloaded constantly, killing the
performance.
The size is inspired from the scalecache's size of 4Mb.
Variable: EVAS_CSERVE2_SIZE (number in Mb)
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
f7c6545170
evas/cserve2: minor fixes (error paths).
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
ChunEon Park
627beaae71
evas/proxy rendering - optimize proxy rendering.
...
re-render proxies if sources are changed. this patch increases the proxy rendering up to 2x.
2013-07-02 15:38:42 +09:00
ChunEon Park
5f4ae9abeb
evas/render - refactoring about checking smart member changed.
...
move those code to the evas_object_smart.
2013-07-02 15:28:56 +09:00
Daniel Willmann
b6aaef651b
edje_text: Clarify that the block and else are independent
...
Sometimes whitespace helps
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-07-01 16:04:27 +01:00
Tom Hacohen
827885d794
Evas textblock: Fixed format parsing to not be confused by single-quotes.
...
Before this commit, having a single quote anywhere in the format would mess
up all of the format parsing.
Thanks to MinSu Seo for reporting.
2013-07-01 14:18:52 +01:00
Cedric Bail
cc012b754c
eo: little micro optimization.
2013-07-01 18:35:55 +09:00
Cedric Bail
c435968f69
eo: a little more inlining, give me a 10% speed improvement.
2013-07-01 18:18:40 +09:00
Chris Michael
2a67e78bde
Fix klockwork memleak: We should free 'texts' that we malloc'd earlier
...
if we are going to error out.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-28 14:14:44 +01:00
Chris Michael
694d1600e8
We should free glyph_out also (as that gets malloc'd too) on error.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-28 14:13:09 +01:00
Chris Michael
dd136b82e2
Fix klockwork memleak: If we allocate space for a Font Glyph (through
...
evas_common_font_int_cache_glyph_get), then we should free that
allocation when we have an error.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-28 14:02:00 +01:00
Carsten Haitzler
6828cf2e29
evas: efl 1.8 dev bug only... update add bug in image objects throws away some updates.
2013-06-28 17:26:14 +09:00
Cedric Bail
dcf65a8eec
eo: add a new macro to make the code easier to read and use it.
2013-06-28 15:28:30 +09:00
Cedric Bail
7849c5de32
eo: 30% speed improvement in message propagation.
2013-06-28 10:18:39 +09:00
Cedric Bail
383592b444
eo: eo is absolutely necessary by now, can't be disabled any more.
2013-06-28 10:18:39 +09:00
Cedric Bail
0ed0d79611
evas: prevent people from including header directly.
2013-06-28 10:18:39 +09:00
Eduardo Lima (Etrunko)
2e7479f8db
eldbus: Missing dbus_connection_unref() in error path
...
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-27 17:31:22 -03:00
Eduardo Lima (Etrunko)
f6295c5828
eldbus: Call dbus_bus_register() for TYPE_ADDRESS connections
...
From D-Bus documentation:
http://dbus.freedesktop.org/doc/api/html/group__DBusBus.html
dbus_bus_register():
If you open a bus connection with dbus_connection_open() or
dbus_connection_open_private() you will have to dbus_bus_register()
yourself, or make the appropriate registration method calls yourself.
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-27 17:24:46 -03:00
Eduardo Lima (Etrunko)
6f255a7ccc
eldbus: Add proxy call to org.freedesktop.DBus.Hello
...
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-27 16:43:24 -03:00
Chris Michael
d263e31c7f
When getting crtc info, fill in missing "rotations" field so that the
...
value is initialized.
NB: Spank Spank whoever did this ... oh wait, that was me :( Ouch !!
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-27 10:46:34 +01:00
Stefan Schmidt
42e838545a
edje_entry: Fix memory leak in _edje_entry_imf_event_preedit_changed_cb
...
info is only local and we are going out of scope after allocating memory
for it. As we are going out of scope anyway we can safely free it before.
2013-06-27 09:43:08 +01:00
Cedric Bail
267b9e4c29
efreet: always sanitize path.
2013-06-27 15:19:44 +09:00
Cedric Bail
61396654a5
efreet: cleanup code by using Eina_File infra.
2013-06-27 15:19:43 +09:00
Daniel Willmann
f24dea2a90
evas_convert_colorspace: Remove printf in e_c_convert_yuv_422_601_to()
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-26 18:53:08 +01:00
Daniel Willmann
2df506feed
evas_convert_colorspace: Be nice and actually return the converted data
...
Fixes a memory leaks in evas_common_convert_yuv_42* and actually makes
these functions more useful. It's a win-win.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-26 18:53:08 +01:00
Eduardo Lima (Etrunko)
1a2ae24e8b
ecore_wayland: Yes, we need to call display_dispatch
...
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-26 11:36:07 -03:00
Raphael Kubo da Costa
302d42b9af
pixes -> pixels.
2013-06-26 16:26:35 +03:00
Chris Michael
3b8d6bf89a
Add missing initializer for wl_seat_listener.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-26 12:39:14 +01:00
Chris Michael
3230114ff9
feature: Add support for global_remove in the display listener.
...
bugfix T151: Catch fatal error from wayland displays and signal apps to exit.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-26 11:57:49 +01:00
Carsten Haitzler
33678961b6
efreet: and dont try change mode if runtime dir is /tmp
2013-06-26 12:16:50 +09:00
Cedric Bail
e920c2cc76
efreet: make geteuid an optional function.
2013-06-26 11:24:29 +09:00