platform/upstream/efl.git
11 years agoSet the surface user data to be the current buffer.
Chris Michael [Tue, 21 May 2013 09:51:15 +0000 (10:51 +0100)]
Set the surface user data to be the current buffer.

NB: This is needed because some compositors (Weston) are expecting
wl_surface_get_user_data to return a buffer.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoUse ecore_wl_window_surface_find to get the Ecore_Wl_Window.
Chris Michael [Tue, 21 May 2013 09:49:40 +0000 (10:49 +0100)]
Use ecore_wl_window_surface_find to get the Ecore_Wl_Window.

NB: This is needed because some compositors like Weston are expecting
the wl_surface user_data to be a buffer, not some arbitrary data.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoAdd function to get a Ecore_Wl_Window from a wl_surface.
Chris Michael [Tue, 21 May 2013 09:46:04 +0000 (10:46 +0100)]
Add function to get a Ecore_Wl_Window from a wl_surface.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoevas: always set degre to zero before using it.
Cedric Bail [Mon, 20 May 2013 10:23:36 +0000 (19:23 +0900)]
evas: always set degre to zero before using it.

11 years agoecore_evas/x: Fixed that cursor object was not disappear
Ryuan Choi [Tue, 21 May 2013 00:38:19 +0000 (09:38 +0900)]
ecore_evas/x: Fixed that cursor object was not disappear

When moved mouse among two objects having cursor set,
EVAS_CALLBACK_MOUSE_OUT and EVAS_CALLBACK_MOUSE_IN are fired.

I observed that evas_object_del in callback of EVAS_CALLBACK_MOUSE_OUT
calls EVAS_CALLBACK_MOUSE_IN
so that newly added cursor object was detached.

11 years agoevas/gl: Use GL_FRAMEBUFFER_BINDING, which is available on both.
Rafael Antognolli [Mon, 20 May 2013 17:19:45 +0000 (14:19 -0300)]
evas/gl: Use GL_FRAMEBUFFER_BINDING, which is available on both.

Instead of a define from GL_DRAW_FRAMEBUFFER_BINDING to the above one,
just use it directly since it's available on gles and full gl.

11 years agoWith antognolli's framespace changes, we no longer need to subtract
Chris Michael [Mon, 20 May 2013 17:18:09 +0000 (18:18 +0100)]
With antognolli's framespace changes, we no longer need to subtract
framespace from the output/canvas to get proper x/y coordinates.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
11 years agofix eldbus generator memleak when failing to fetch args
Mike Blumenkrantz [Mon, 20 May 2013 10:12:33 +0000 (11:12 +0100)]
fix eldbus generator memleak when failing to fetch args

11 years agoecore: animator can get called with the same value due to rounding and range limit.
Cedric Bail [Mon, 20 May 2013 09:59:43 +0000 (18:59 +0900)]
ecore: animator can get called with the same value due to rounding and range limit.

11 years agoevas: make canvas event to hot to be frozen.
Cedric Bail [Mon, 20 May 2013 09:17:01 +0000 (18:17 +0900)]
evas: make canvas event to hot to be frozen.

11 years agoeo: some event should not be frozen.
Cedric Bail [Mon, 20 May 2013 09:16:39 +0000 (18:16 +0900)]
eo: some event should not be frozen.

11 years agoremove about 16m mem for mesa for extra evgl context
Carsten Haitzler (Rasterman) [Mon, 20 May 2013 09:09:50 +0000 (18:09 +0900)]
remove about 16m mem for mesa for extra evgl context

only creating the extra evasgl context on demand when/if needed and
thus save 16m of memory allocations corresponding to the extra context

11 years agoFix antognolli build break when --with-opengl=es.
Chris Michael [Sun, 19 May 2013 06:13:03 +0000 (07:13 +0100)]
Fix antognolli build break when --with-opengl=es.

Basically, EGL does not define a GL_DRAW_FRAMEBUFFER_BINDING so we
test for that and if not found then define it to be
GL_FRAMEBUFFER_BINDING

Signed-off-by: Chris Michael <devilhorns@comcast.net>
11 years agoedje/vim - syntax updated
ChunEon Park [Sat, 18 May 2013 18:21:03 +0000 (03:21 +0900)]
edje/vim - syntax updated

11 years agoRevert this, there is no build break apparently. Give cookie back to
Chris Michael [Sat, 18 May 2013 16:48:13 +0000 (17:48 +0100)]
Revert this, there is no build break apparently. Give cookie back to
antognolli

Revert "include evas_gl_common.h"

This reverts commit 81cee894e13257c6cedfdddbcab3e453cc5cd01a.

11 years agoinclude evas_gl_common.h
Chris Michael [Sat, 18 May 2013 14:53:55 +0000 (15:53 +0100)]
include evas_gl_common.h

(Bad antognolli, No cookie !!)

NB: Fixes build break !!! If we are going to use defines from glext.h,
let's be sure to have the necessary header included Yes ?? ;)

Signed-off-by: Chris Michael <devilhorns@comcast.net>
11 years agodisable all the waiting on gl - squeeze some more performance out of gl.
Carsten Haitzler (Rasterman) [Sat, 18 May 2013 01:04:37 +0000 (10:04 +0900)]
disable all the waiting on gl - squeeze some more performance out of gl.

11 years agoevas/gl: Restore framebuffer after texture creation.
Rafael Antognolli [Fri, 17 May 2013 23:28:07 +0000 (20:28 -0300)]
evas/gl: Restore framebuffer after texture creation.

If we don't do this, the framebuffer object used on shader_array_flush()
will be wrong.

NOTE: shader_array_flush() should take care of setting the fbo
correctly.

11 years agoedje: Fix edje box crash
José Roberto de Souza [Fri, 17 May 2013 21:44:24 +0000 (18:44 -0300)]
edje: Fix edje box crash

When a signal change a state of a edje box to a state that was already active
and we add/del a item of edje box a crash happen.

Example:
test.edc:

collections {
group {
name: "box_text";
parts {
part {
name: "elm.box.buttons";
type: BOX;
description {
state: "default" 0.0;
min: 0 100;
max: 9999 100;
align: 0 0;
box {
layout: "horizontal";
min: 1 1;
}
visible: 0;
}
description {
state: "show" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
}
programs {
program {
signal: "show,buttons";
source: "gui";
action: STATE_SET "show" 0.0;
transition: ACCELERATE 1;
target: "elm.box.buttons";
}
program {
signal: "hide,buttons";
source: "gui";
action: STATE_SET "default" 0.0;
transition: ACCELERATE 1;
target: "elm.box.buttons";
}
}
}
}

test.c:

//Compile with:
//gcc -g test.c -o test `pkg-config --cflags --libs elementary edje ecore`

static int count = 0;

static Eina_Bool _fill(void *data)
{
int i;
Evas_Object *layout = data;
Evas_Object *edje = elm_layout_edje_get(layout);

edje_object_part_box_remove_all(edje, "elm.box.buttons", EINA_TRUE);
elm_layout_signal_emit(layout, "show,buttons", "gui");

printf("_fill()\n");

for (i = 0; i < 5; i++, count++)
{
Evas_Object *btn;
char buf[50];

btn = elm_button_add(layout);
snprintf(buf, sizeof(buf), "button %d", count);
elm_object_text_set(btn, buf);
edje_object_part_box_append(edje, "elm.box.buttons", btn);
evas_object_show(btn);
}

return EINA_TRUE;
}

EAPI_MAIN int
elm_main(int argc, char **argv)
{
Evas_Object *win, *bg, *layout;

win = elm_win_add(NULL, "test", ELM_WIN_BASIC);
elm_win_title_set(win, "Test");
elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
    elm_win_autodel_set(win, EINA_TRUE);

bg = elm_bg_add(win);
elm_bg_color_set(bg, 255, 255, 255);
evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_win_resize_object_add(win, bg);
evas_object_show(bg);

layout = elm_layout_add(win);
elm_layout_file_set(layout, "test.edj", "box_text");
evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_show(layout);

_fill(layout);
ecore_timer_add(5, _fill, layout);

evas_object_resize(win, 800, 320);
evas_object_show(win);

elm_run();
    elm_shutdown();

    return 0;
}
ELM_MAIN()

(gdb) bt
0x00000000 in ?? ()
0xb7add287 in _edje_box_layout_calculate_coords ()
   from /usr/lib/libedje.so.1
0xb7add5cd in _edje_box_layout () from /usr/lib/libedje.so.1
0xb7c98ff7 in _evas_object_box_smart_calculate ()
   from /usr/lib/libevas.so.1
0xb7c97a36 in evas_object_smart_calculate () from /usr/lib/libevas.so.1
0xb7ae1b12 in _edje_part_recalc_single () from /usr/lib/libedje.so.1
0xb7ae3380 in _edje_part_recalc () from /usr/lib/libedje.so.1
0xb7ae59ff in _edje_recalc_do () from /usr/lib/libedje.so.1
0xb7b3603a in _edje_smart_calculate () from /usr/lib/libedje.so.1
0xb7c97be2 in evas_call_smarts_calculate () from /usr/lib/libevas.so.1
0xb7cc7d88 in evas_render_updates_internal () from /usr/lib/libevas.so.1
0xb7ba7c97 in _ecore_evas_x_render () from /usr/lib/libecore_evas.so.1
0xb7ba27c6 in _ecore_evas_idle_enter () from /usr/lib/libecore_evas.so.1
0xb7c27212 in _ecore_idle_enterer_call () from /usr/lib/libecore.so.1
0xb7c28d3d in _ecore_main_loop_iterate_internal ()
   from /usr/lib/libecore.so.1
0xb7c2941f in ecore_main_loop_begin () from /usr/lib/libecore.so.1
0xb7e8def8 in elm_run () from /usr/lib/libelementary.so.1
0xb7f6f8ee in appcore_efl_main () from /usr/lib/libappcore-efl.so.1
0xb7644bb5 in app_efl_main () from /usr/lib/libcapi-appfw-application.so.0
0x08074c5a in main (argc=1, argv=0xbffffb64) at src/main_tizen.c:155

==2036== Jump to the invalid address stated on the next line
==2036==    at 0x0: ???
==2036==    by 0x44C35CC: _edje_box_layout (in /usr/lib/libedje.so.1.7.99)
==2036==    by 0x42E8FF6: _evas_object_box_smart_calculate (in /usr/lib/libevas.so.1.7.99)
==2036==    by 0x42E7A35: evas_object_smart_calculate (in /usr/lib/libevas.so.1.7.99)
==2036==    by 0x44C7B11: _edje_part_recalc_single (in /usr/lib/libedje.so.1.7.99)
==2036==    by 0x44C937F: _edje_part_recalc (in /usr/lib/libedje.so.1.7.99)
==2036==    by 0x44CB9FE: _edje_recalc_do (in /usr/lib/libedje.so.1.7.99)
==2036==    by 0x451C039: _edje_smart_calculate (in /usr/lib/libedje.so.1.7.99)
==2036==    by 0x42E7BE1: evas_call_smarts_calculate (in /usr/lib/libevas.so.1.7.99)
==2036==    by 0x4317D87: evas_render_updates_internal (in /usr/lib/libevas.so.1.7.99)
==2036==    by 0x4465C96: _ecore_evas_x_render (in /usr/lib/libecore_evas.so.1.7.99)
==2036==    by 0x44607C5: _ecore_evas_idle_enter (in /usr/lib/libecore_evas.so.1.7.99)
==2036==  Address 0x0 is not stack'd, malloc'd or (recently) free'd

We called anim->start aftwards just to be sure to stick to something if
all fail.

11 years agotests/ecore_animators: Don't rely on consistent timing
Daniel Willmann [Fri, 17 May 2013 17:16:09 +0000 (18:16 +0100)]
tests/ecore_animators: Don't rely on consistent timing

This may break under heavy load so we shouldn't rely on it. Instead make
sure that time only moves forward.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agoecore_animator: Ensure correct start/end values are returned.
Daniel Willmann [Thu, 16 May 2013 17:09:14 +0000 (18:09 +0100)]
ecore_animator: Ensure correct start/end values are returned.

Make sure pos_map(0) == 0 and pos_map(1) == 1

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agotests/ecore: Add test for ecore_animator
Daniel Willmann [Thu, 16 May 2013 17:07:56 +0000 (18:07 +0100)]
tests/ecore: Add test for ecore_animator

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agoeina_fp: Fix eina_f32p32_mul rounding issues
Daniel Willmann [Fri, 17 May 2013 13:43:19 +0000 (14:43 +0100)]
eina_fp: Fix eina_f32p32_mul rounding issues

Previous multiplication just truncated the fraction part to 16 bits. If
we round properly we can actually increase accuracy a bit.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agoeina_test_fp: Test multiplication and division as well
Daniel Willmann [Fri, 17 May 2013 15:46:23 +0000 (16:46 +0100)]
eina_test_fp: Test multiplication and division as well

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agoeo ptr ind: fix comments
Jérémy Zurcher [Fri, 17 May 2013 09:39:01 +0000 (11:39 +0200)]
eo ptr ind: fix comments

11 years agoeo ptr ind: empty tables are freed except 1 kept as spare
Jérémy Zurcher [Fri, 17 May 2013 08:35:16 +0000 (10:35 +0200)]
eo ptr ind: empty tables are freed except 1 kept as spare

- this reduces unused memory usage
- the spare table avoids the free/alloc corner case

11 years agoeo ptr ind: current_table -> _current_table
Jérémy Zurcher [Fri, 17 May 2013 07:23:00 +0000 (09:23 +0200)]
eo ptr ind: current_table -> _current_table

11 years agoeio: fix Eio.h author information
Jihoon Kim [Fri, 17 May 2013 00:33:22 +0000 (09:33 +0900)]
eio: fix Eio.h author information

11 years agoevas/wayland-egl: Don't crash when re->win is NULL
Eduardo Lima (Etrunko) [Wed, 15 May 2013 19:28:58 +0000 (16:28 -0300)]
evas/wayland-egl: Don't crash when re->win is NULL

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
11 years agoeio - fix header doc.
ChunEon Park [Thu, 16 May 2013 13:34:03 +0000 (22:34 +0900)]
eio - fix header doc.

11 years agoeo ptr ind: store partial Eo Id in the table
Jérémy Zurcher [Thu, 16 May 2013 12:56:41 +0000 (14:56 +0200)]
eo ptr ind: store partial Eo Id in the table

- very small speed up
- maybe later use this to avoid table indexes not NULL checks
  in _eo_id_release and _eo_obj_pointer_get

11 years agoAdd missing NULL fields.
Chris Michael [Thu, 16 May 2013 12:22:35 +0000 (13:22 +0100)]
Add missing NULL fields.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoRevert "ecore evas wayland: if(()) are used for assignments, add missing NULL fields"
Chris Michael [Thu, 16 May 2013 12:20:21 +0000 (13:20 +0100)]
Revert "ecore evas wayland: if(()) are used for assignments, add missing NULL fields"

This reverts commit ab505d5d23299e658b39fa7d0f1aa73742e3e7fb.

11 years agoeo ptr ind: use of mprotect when EINA_DEBUG_MALLOC is set
Jérémy Zurcher [Thu, 16 May 2013 11:15:43 +0000 (13:15 +0200)]
eo ptr ind: use of mprotect when EINA_DEBUG_MALLOC is set

- to enable this feature, compile with --with-profile=debug
- the mid tables and tables are write protected after modifications,
  you will segfault if you mess with them

11 years agoeo ptr ind: set generation counter range to [1;max-1]
Jérémy Zurcher [Thu, 16 May 2013 09:50:21 +0000 (11:50 +0200)]
eo ptr ind: set generation counter range to [1;max-1]

- so we never generate an Eo Id equal to 0,
  thus don't need to skip the first top table index anymore

11 years agoeo ptr ind: minimize amount of wasted memory
Jérémy Zurcher [Thu, 16 May 2013 09:46:20 +0000 (11:46 +0200)]
eo ptr ind: minimize amount of wasted memory

- because of mmap PAGE_SIZE alignement and added magic header, almost a
  memory page is wasted per table and mid table allocation.
- reducing the number of tables per mid table and the number of entries
  per table solves this.

11 years agoeo ptr ind: mostly cosmetic
Jérémy Zurcher [Thu, 16 May 2013 08:55:32 +0000 (10:55 +0200)]
eo ptr ind: mostly cosmetic

- add and use SHIFT_* macros
- rename queue into fifo
- try to clarify the structure top table -> mid table -> table[entry]

11 years agoecore evas wayland: if(()) are used for assignments, add missing NULL fields
Jérémy Zurcher [Wed, 15 May 2013 14:42:31 +0000 (16:42 +0200)]
ecore evas wayland: if(()) are used for assignments, add missing NULL fields

11 years agoEdje textblock: Fixed issue with quoted formats. (Fixes T113).
Tom Hacohen [Thu, 16 May 2013 10:04:01 +0000 (11:04 +0100)]
Edje textblock: Fixed issue with quoted formats. (Fixes T113).

11 years agoEvas textblock: Removed double ;.
Tom Hacohen [Thu, 16 May 2013 09:38:56 +0000 (10:38 +0100)]
Evas textblock: Removed double ;.

11 years agoEvas language: Handle signed wchar_t in a nicer way.
Tom Hacohen [Thu, 16 May 2013 08:56:17 +0000 (09:56 +0100)]
Evas language: Handle signed wchar_t in a nicer way.

11 years agocmake : find_package should find Ecore modules using underline. Accepted
Ryuan Choi [Wed, 15 May 2013 14:19:47 +0000 (15:19 +0100)]
cmake : find_package should find Ecore modules using underline. Accepted

11 years agoevas: fix make distcheck
Daniel Willmann [Wed, 15 May 2013 12:22:13 +0000 (13:22 +0100)]
evas: fix make distcheck

Follow font rename from DejaVuSans.eet to TestFont.eet in commit e7cd15.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agoemotion: Fix distcheck by referring to the correct file name
Daniel Willmann [Wed, 15 May 2013 12:10:20 +0000 (13:10 +0100)]
emotion: Fix distcheck by referring to the correct file name

It's emotion_modules.h - not emotion_module.h

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agoremove rect leak in swapbuf flush in dri2 software path of evas
Carsten Haitzler (Rasterman) [Wed, 15 May 2013 10:38:16 +0000 (19:38 +0900)]
remove rect leak in swapbuf flush in dri2 software path of evas

11 years agoevas: No need to finish a block with NULL statement.
Stefan Schmidt [Tue, 14 May 2013 14:45:22 +0000 (15:45 +0100)]
evas: No need to finish a block with NULL statement.

11 years agoeo: Fix memleak in EO_DBG_INFO_APPEND macro
Stefan Schmidt [Tue, 14 May 2013 12:54:43 +0000 (13:54 +0100)]
eo: Fix memleak in EO_DBG_INFO_APPEND macro

If List is NULL we would never make any use of the alloced Tmp. Better check
for NULL before doing the actual alloc and doing the work.

11 years agoOoops, this should return the allocated Ecore_Evas.
Chris Michael [Tue, 14 May 2013 10:30:37 +0000 (11:30 +0100)]
Ooops, this should return the allocated Ecore_Evas.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoFix 'return' with no value, in function returning non-void
Chris Michael [Tue, 14 May 2013 09:48:40 +0000 (10:48 +0100)]
Fix 'return' with no value, in function returning non-void

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoAdd ecore_evas_drm private header.
Chris Michael [Tue, 14 May 2013 09:46:21 +0000 (10:46 +0100)]
Add ecore_evas_drm private header.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoStart on basic ecore_evas_drm code.
Chris Michael [Tue, 14 May 2013 09:45:47 +0000 (10:45 +0100)]
Start on basic ecore_evas_drm code.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoAdd start of ecore_evas_drm code.
Chris Michael [Tue, 14 May 2013 07:16:45 +0000 (08:16 +0100)]
Add start of ecore_evas_drm code.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoAdd pc file for evas drm engine.
Chris Michael [Tue, 14 May 2013 07:16:21 +0000 (08:16 +0100)]
Add pc file for evas drm engine.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoStart on ecore_evas Drm code.
Chris Michael [Tue, 14 May 2013 07:15:53 +0000 (08:15 +0100)]
Start on ecore_evas Drm code.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoecore_imf: fix crash when ecore_imf_context_del is called in ecore_imf_context_input_...
Jihoon Kim [Tue, 14 May 2013 07:14:38 +0000 (16:14 +0900)]
ecore_imf: fix crash when ecore_imf_context_del is called in ecore_imf_context_input_panel_callback_call

11 years agoEdje entry: return surrounding string until the start position of selection
Jihoon Kim [Tue, 14 May 2013 00:33:19 +0000 (09:33 +0900)]
Edje entry: return surrounding string until the start position of selection

11 years agoFixed text/block tests: Added Korean UnDotum font and fixed some issues.
Tom Hacohen [Mon, 13 May 2013 14:13:25 +0000 (15:13 +0100)]
Fixed text/block tests: Added Korean UnDotum font and fixed some issues.

11 years agoFix broken test from previous commit.
Tom Hacohen [Mon, 13 May 2013 12:51:14 +0000 (13:51 +0100)]
Fix broken test from previous commit.

11 years agoEvas bidi test: Improved error output.
Tom Hacohen [Mon, 13 May 2013 12:49:51 +0000 (13:49 +0100)]
Evas bidi test: Improved error output.

11 years ago[Edje_Entry] Add selection handlers to entry
thiepha (Thiep Ha) [Mon, 13 May 2013 10:11:51 +0000 (19:11 +0900)]
[Edje_Entry] Add selection handlers to entry

Add selection handlers to entry.

https://phab.enlightenment.org/D117

Conflicts:

ChangeLog
NEWS

11 years agoevas: fix evas flushing its command queue to wrong gl context in gl-backends
Sung W. Park [Mon, 13 May 2013 05:12:36 +0000 (14:12 +0900)]
evas: fix evas flushing its command queue to wrong gl context in gl-backends

For native surface rendering (glX, egl) in gl-backend,  if pixel get callback
function is called for native rendering, there is a case where evas will
try to call evas_gl_common_context_flush() to flush its remaining commands
in its command queue while the context is set current to the native surface/
context that is called within the pixel get callback.  So, I've added an
engine function that forces a flush before it enters the pixel get callback
function.

11 years agofix cedric's image property code... that broke load opt downscaling...
Carsten Haitzler (Rasterman) [Sun, 12 May 2013 06:50:52 +0000 (15:50 +0900)]
fix cedric's image property code... that broke load opt downscaling...

CEDRIC... it WAS YOU!... YOU BROKE ETHUMB!... i was.. RIGHT! :) well
done. your borking skills are pretty good. :) you broke load opt
downscaling for jpegs in general.. it just happened to turn up in
ethumb.

11 years agoeeze: do no try to match an unknown property
Boris 'billiob' Faure [Sun, 12 May 2013 20:22:48 +0000 (22:22 +0200)]
eeze: do no try to match an unknown property

11 years agoAdd ecore_x_randr_config_timestamp_get to return config timestamp that
Chris Michael [Sat, 11 May 2013 15:09:39 +0000 (16:09 +0100)]
Add ecore_x_randr_config_timestamp_get to return config timestamp that
XRandr has currently.

NB: needed for some updates/fixes to randr dialog.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
11 years ago* Evas: Fix crash if app use native surface in wrong engine.
Jiyoun Park [Sat, 11 May 2013 13:40:50 +0000 (22:40 +0900)]
* Evas: Fix crash if app use native surface in wrong engine.
in sw engine, visual cannot be the image data.

11 years agoEvas font/text: Fixed an issue with asc/desc calculation in text object.
Tom Hacohen [Fri, 10 May 2013 16:44:30 +0000 (17:44 +0100)]
Evas font/text: Fixed an issue with asc/desc calculation in text object.

Added font_int asc/desc getters in order to achieve that.

Thanks to MinSu Seo for reporting.

11 years agofix cedric build break
Carsten Haitzler (Rasterman) [Fri, 10 May 2013 07:59:33 +0000 (16:59 +0900)]
fix cedric build break

11 years agoemotion: oops, forgot to update the Makefile.
Cedric Bail [Fri, 10 May 2013 05:28:48 +0000 (14:28 +0900)]
emotion: oops, forgot to update the Makefile.

11 years agoedje: let's not reopen the file for nothing.
Cedric Bail [Fri, 10 May 2013 02:39:55 +0000 (11:39 +0900)]
edje: let's not reopen the file for nothing.

11 years agofree strings in dri/drm swapper so they don't leak.
Carsten Haitzler (Rasterman) [Fri, 10 May 2013 04:35:02 +0000 (13:35 +0900)]
free strings in dri/drm swapper so they don't leak.

11 years agoemotion: rename Emotion_Module.h to emotion_modules.h
Cedric Bail [Thu, 9 May 2013 11:54:57 +0000 (13:54 +0200)]
emotion: rename Emotion_Module.h to emotion_modules.h

11 years agoecore_evas: backport svn r83875.
Raoul Hecky [Fri, 10 May 2013 01:43:33 +0000 (10:43 +0900)]
ecore_evas: backport svn r83875.

Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
11 years agonote the pa abort and disble del of out. leak it for now.
Carsten Haitzler (Rasterman) [Fri, 10 May 2013 00:10:58 +0000 (09:10 +0900)]
note the pa abort and disble del of out. leak it for now.

11 years agoeet_mmap uses reader/writers caches for lookup.. but never ADDs to
Carsten Haitzler (Rasterman) [Fri, 10 May 2013 00:00:02 +0000 (09:00 +0900)]
eet_mmap uses reader/writers caches for lookup.. but never ADDs to
these caches! bad bad bad!

11 years agodo not make eet files get refcounts of 2 on eet_mmap so they then never free.
Carsten Haitzler (Rasterman) [Thu, 9 May 2013 23:54:50 +0000 (08:54 +0900)]
do not make eet files get refcounts of 2 on eet_mmap so they then never free.

we set references to 1 then on success references++... thus ALWAYS
being on 2.

11 years agoslightly refactor eo usage in multishesne to ... make use of eo's
Carsten Haitzler (Rasterman) [Thu, 9 May 2013 23:24:32 +0000 (08:24 +0900)]
slightly refactor eo usage in multishesne to ... make use of eo's
ability to call setup methods.. on setup... all at once.

11 years agomultisense segv (free data that isnt malloced) fix...
Carsten Haitzler (Rasterman) [Thu, 9 May 2013 23:04:14 +0000 (08:04 +0900)]
multisense segv (free data that isnt malloced) fix...

11 years agoevas/gl - and don't try blend as possible.
ChunEon Park [Thu, 9 May 2013 16:51:42 +0000 (01:51 +0900)]
evas/gl - and don't try blend as possible.

11 years agoevas - don't try blend on gl backened if the render option is COPY
ChunEon Park [Thu, 9 May 2013 16:33:56 +0000 (01:33 +0900)]
evas - don't try blend on gl backened if the render option is COPY

11 years agoTEMPORARY EDJE FIX
Mike Blumenkrantz [Thu, 9 May 2013 10:27:50 +0000 (11:27 +0100)]
TEMPORARY EDJE FIX

edje proxy parts seem to break (crash) when animating a state change from custom->default on an animator. adding a null check here avoids that and seems to work fine, but I am not an edje_calc expert

11 years agoedje_multisense: Guard _free function as well
Daniel Willmann [Thu, 9 May 2013 09:55:36 +0000 (10:55 +0100)]
edje_multisense: Guard _free function as well

Otherwise -> build error when building without multisense support

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agoedje_multisense: Provide VIO free function to free the data
Daniel Willmann [Thu, 9 May 2013 09:12:44 +0000 (10:12 +0100)]
edje_multisense: Provide VIO free function to free the data

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agoecore_audio: Handle destruction of sndfile input
Daniel Willmann [Thu, 9 May 2013 09:11:09 +0000 (10:11 +0100)]
ecore_audio: Handle destruction of sndfile input

Correctly close any file we have open and release VIO data

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
11 years agoadd embryo fill support for proxy parts
Mike Blumenkrantz [Thu, 9 May 2013 09:26:40 +0000 (10:26 +0100)]
add embryo fill support for proxy parts

11 years agofix edje custom states on proxy parts
Mike Blumenkrantz [Thu, 9 May 2013 08:57:56 +0000 (09:57 +0100)]
fix edje custom states on proxy parts

11 years agoeet: initialize it to zero.
Cedric Bail [Thu, 9 May 2013 08:21:34 +0000 (17:21 +0900)]
eet: initialize it to zero.

11 years agoFix proxy object check to compare against proper object.
Chris Michael [Thu, 9 May 2013 07:06:05 +0000 (08:06 +0100)]
Fix proxy object check to compare against proper object.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoevas: reorder cache destruction.
Cedric Bail [Thu, 9 May 2013 00:57:37 +0000 (09:57 +0900)]
evas: reorder cache destruction.

11 years agoeina: add EINA_INLIST_FREE.
Cedric Bail [Thu, 9 May 2013 00:57:19 +0000 (09:57 +0900)]
eina: add EINA_INLIST_FREE.

11 years agoRevert "Revert 2 commits from cedric:"
Cedric Bail [Thu, 9 May 2013 00:37:55 +0000 (09:37 +0900)]
Revert "Revert 2 commits from cedric:"

This reverts commit 71c0eb6dc6607209222a715302f8c62bf679eb29.

11 years agoecore_evas/wayland: Implement borderless_set engine method.
Rafael Antognolli [Wed, 8 May 2013 22:18:55 +0000 (19:18 -0300)]
ecore_evas/wayland: Implement borderless_set engine method.

It is needed to set the engine internal borderless property.

Also update the border (frame) object, showing/hiding it as needed, and
updating the framespace size when the frame object is handled by the
engine.

11 years agoecore_evas/wayland_egl: Remove wrong if.
Rafael Antognolli [Wed, 8 May 2013 21:18:23 +0000 (18:18 -0300)]
ecore_evas/wayland_egl: Remove wrong if.

It was left behind when fixing the borderless feature.

11 years agoevas/wayland_egl: Implement image_mmap engine method.
Rafael Antognolli [Wed, 8 May 2013 20:47:55 +0000 (17:47 -0300)]
evas/wayland_egl: Implement image_mmap engine method.

It looks like several methods like this one should be moved to a common
place (gl_common, maybe).

11 years agoecore_evas/wayland: Do not send additional mouse_in's.
Rafael Antognolli [Wed, 8 May 2013 17:01:23 +0000 (14:01 -0300)]
ecore_evas/wayland: Do not send additional mouse_in's.

If this Ecore_Evas already has a mouse inside it, there's no need to
send an additional mouse in event.

Additionally, always send a mouse_move event before a mouse_down, so the
Evas pointer position can be updated properly before the mouse down.

11 years agoevas/examples: Adding an example for multi-touch.
Rafael Antognolli [Tue, 7 May 2013 21:31:39 +0000 (18:31 -0300)]
evas/examples: Adding an example for multi-touch.

11 years agoecore/wayland: Store the multi position per device/finger.
Rafael Antognolli [Tue, 7 May 2013 21:09:02 +0000 (18:09 -0300)]
ecore/wayland: Store the multi position per device/finger.

This will make every touch point have its position updated on
multi_move, and then it can be used to send a correct multi_up event.

11 years agoEcore/Evas: Add evas_event_input_multi_down/up().
Rafael Antognolli [Tue, 7 May 2013 20:53:42 +0000 (17:53 -0300)]
Ecore/Evas: Add evas_event_input_multi_down/up().

These events (from multi-touch) also have information about the mouse
pointer position, so they must be translated by the framespace too.

11 years agoecore/wayland: Report correctly the device which emitted the mouse event.
Rafael Antognolli [Tue, 7 May 2013 19:18:06 +0000 (16:18 -0300)]
ecore/wayland: Report correctly the device which emitted the mouse event.

11 years agodon't try free a NULL image handle in proxy_unset.
Carsten Haitzler (Rasterman) [Wed, 8 May 2013 14:41:39 +0000 (23:41 +0900)]
don't try free a NULL image handle in proxy_unset.

11 years agoRevert "eo_gdb.py: added eo_bt for eo_backtrace alias in an ugly way."
Daniel Juyung Seo [Wed, 8 May 2013 13:02:50 +0000 (22:02 +0900)]
Revert "eo_gdb.py: added eo_bt for eo_backtrace alias in an ugly way."

This reverts commit 4850c53350732d0617f10bcee964df4d9b197681.

You can set the alias in the .gdbinit.
So my .gdbinit looks like:

source /usr/local/share/eo/gdb/eo_gdb.py
alias -a eo_bt = eo_backtrace

Special thanks to Alex-P. Natsios for the tip.