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
Jean-Philippe Andre
d712a13a7a
evas/cserve2: use null-terminated strings everywhere.
...
Some hashtable lookups failed because the keys were added
either with eina_stringshare_add() or e_s_add_lenth() but
looked for with e_s_add_length() only.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:09 +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
Cedric Bail
2fdc05863d
eet: force thread to always run during eet_cache_concurrency test.
2013-07-02 13:45:30 +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
Jiyoun Park
958a430f5e
* Evas: Fix jpeg loader cannot deal with exif information correctly
2013-06-29 15:00:43 +09:00
Daniel Willmann
7927c0f9fa
edje_test: Test geometry of a more complex layout
...
It seems someone thought it was fun to have rel2.offset behave
differently than rel1.offset...
A rel2.offset of 0 actually means the size is increased by one pixel.
Acocunt for that in the tests.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-28 14:25:30 +01:00
Daniel Willmann
db29fbb286
edje_test: Make the variable returned in test_layout_get static
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-28 14:25:30 +01:00
Chris Michael
f9348a5015
Fix klockwork possible memleak report:
...
If we get an error trying to "make current" an allocated surface, then
we should free that allocated surface.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-28 14:23:57 +01: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
Chris Michael
7e222b949c
Fix klockwork memleak: If we allocate a colormap above, then we need
...
to free it on error.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-28 13:57:56 +01:00
Chris Michael
204212131b
Fix klockwork error: Null pointer may be dereferenced
...
Check for valid out_file before trying to use it.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-28 13:48:21 +01:00
Chris Michael
d92edb51a4
Fix memleak reported by klockwork:
...
If a jpeg image is rotated and we have allocated space for ptr_rotate,
then we should free it Always ... Not Only if the degrees are
180...because we allocate it always
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-28 13:39:45 +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
Daniel Willmann
5763195418
edje_test: Test geometry and color of edje part
...
Just a simple test that uses the existing test_layout
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-27 17:51:30 +01:00
Daniel Willmann
a23ff7b5ab
edje_test: Make test_layout_get() configurable
...
This will help when we want to test different edj files
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-27 17:50:23 +01:00
Daniel Willmann
3e5ff22ab9
eina_test_fp: Improve speed of eina_fp test
...
Test less values in between, but still have a decent combination of
large/small values to test.
Fixes -WTasn
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-27 14:34:02 +01: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
Eduardo Lima (Etrunko)
2d84a8a8fb
WIP
...
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-26 10:58:36 -03:00
Daniel Willmann
dd76f4cd05
evas gl_x11: Fix uninitialized use of re in eng_output_flush()
...
In case of render_mode == EVAS_RENDER_MODE_ASYNC_INIT we're jumping
directly to end which then calls
evas_gl_preload_render_unlock(eng_preload_make_current, re);
Make sure re is initialized with the render engine data so we don't
dereference junk.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-26 14:42:10 +01:00
Daniel Willmann
adcde1f87e
evas gl_common: Fix incorrect number of parameters in functions
...
_evgl_tls_resource_get() and _surface_context_list_print() don't take
parameters.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-26 14:42:10 +01: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
Daniel Willmann
cd980c4bea
edje_cc: Fix memory leak in data_thread_script() in error case
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-26 11:10:57 +01:00
Tom Hacohen
182dfb82d4
Evas gl: Fixed double-free when failing gl init.
2013-06-26 10:40:44 +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
d64c808a73
evas: check wether we do have a data or not.
2013-06-26 11:49:16 +09:00
Cedric Bail
e920c2cc76
efreet: make geteuid an optional function.
2013-06-26 11:24:29 +09:00
Cedric Bail
e888a07c0a
evas: cleanup headers. Should work on windows.
2013-06-26 11:24:29 +09:00
Deon Thomas
67df5b4ad1
Ecore DPMS Function to get the current dpms power level
2013-06-26 08:32:42 +09:00