Commit Graph

22914 Commits

Author SHA1 Message Date
Chris Michael 7fa2c11e72 Add some checking/trapping for valid wayland display.
Remove dead commented lines

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-24 07:15:44 +01:00
Chris Michael 1832bf5c03 Fixup formatting.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-24 07:11:32 +01:00
Chris Michael 8ed4b5ac84 Add wayland to ecore_imf "in tree" modules
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-24 07:06:49 +01:00
Jérémy Zurcher fc4e117e10 remove double def of Eo_Callback_Priority 2013-07-23 19:41:37 +00:00
Carsten Haitzler 1842545f00 reformat some of changelog to be consistent/neater 2013-07-23 21:19:13 +09:00
Yury Usischev 3a5df752e6 evas - fix long standing c "fallback" code "simd" (2 register) multiply 2013-07-23 21:16:40 +09:00
Daniel Juyung Seo 07dfac45e8 edc.vim: updated edc syntax files. 2013-07-23 19:00:04 +09:00
ChunEon Park ad31750ba0 edje - updated vim syntax 2013-07-23 17:08:22 +09:00
Jiyoun Park 75a39b02bd * Evas: fix infinite loop if app use ecore evas image
app have to call update add function after object data set
2013-07-23 17:01:36 +09:00
Chris Michael 8f11c31396 During ecore_wl_window_pointer_set (called from
ecore_evas_object_cursor_set), assign the pointer properties to the
window structure so they can be applied on pointer_enter events.

NB: Phab T230

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-23 07:15:20 +01:00
Chris Michael f0289a1936 Check for valid input->pointer before calling wl_pointer_set_cursor.
During a pointer_enter event, if the window was assigned a custom
cursor, respect it. By default we will still set left_arrow initially,
but if the window was assigned a custom cursor, use it.

NB: Fixes Phab T230

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-23 07:15:20 +01:00
Chris Michael 8f8d79cb91 Add a pointer structure to the window struct.
NB: This is used in a case where someone calls
ecore_evas_object_cursor_set on a specific window. The generic
pointer_enter code for a window initially sets the cursor to
left_arrow by default. When the above function is used, and a pointer
enter event occurs, the cursor assigned from the above function was
not being respected.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-23 07:15:20 +01:00
Chris Michael 3482b91624 No longer necessary to set the surface user_data to be equal to the
buffer.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-23 07:15:20 +01:00
Chris Michael cc596a3588 If the init count is >= 1, then we want to iterate (ecore_imf wayland
module adds an extra init).

Fix some formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-23 07:15:19 +01:00
Chris Michael a233f23c2f Remove call to display_iterate during init (this stalls our compositor
due to code reuse and is not needed from the client side anyway).

Add function for setting "server mode" (this will allow us to avoid
any display_iterate calls which would block our compositor).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-23 07:15:19 +01:00
Chris Michael 93398d66ed Add API function for setting "server_mode"
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-23 07:15:19 +01:00
Cedric Bail 1dd7ed18bc eo: turn Eo API in a beta API as discussion are still ongoing. 2013-07-23 11:27:29 +09:00
Cedric Bail c6f999aa46 efl: add a macro for beta API support. 2013-07-23 11:27:29 +09:00
Cedric Bail ee72c809f0 efl: fix headers order. 2013-07-23 11:27:29 +09:00
Sung W. Park 7aa516c01a Evas: adding image dump debug feature for wayland_egl backend
Porting commit f10c108283d9b76708418ba172b9ff0b28a09cd6 to wayland
engine.

Added a feature to dump out a png image before calling SwapBuffers.
To turn on the feature, use the following env vars.

EVAS_GL_SWAP_BUFFER_DEBUG_DIR="dir_name" sets the name of the directory
that the files will be output to and enables the debug mode.

EVAS_GL_SWAP_BUFFER_DEBUG_ALWAYS=1 will enable the writing of the
files every frame.  This in effect turns on the swap_buffer_debug
variable, which can be set on or off in gdb for debugging.  This will
allow dumping of certain frames without having to dump out a ton of
files to track down one frame.
2013-07-23 10:27:28 +09:00
Sung W. Park 3074280217 Evas: adding image dump debug feature for gl_x11 backend
Added a feature to dump out a png image before calling SwapBuffers.
To turn on the feature, use the following env vars.

EVAS_GL_SWAP_BUFFER_DEBUG_DIR="dir_name" sets the name of the directory
that the files will be output to and enables the debug mode.

EVAS_GL_SWAP_BUFFER_DEBUG_ALWAYS=1 will enable the writing of the
files every frame.  This in effect turns on the swap_buffer_debug
variable, which can be set on or off in gdb for debugging.  This will
allow dumping of certain frames without having to dump out a ton of
files to track down one frame.
2013-07-23 10:27:28 +09:00
José Roberto de Souza 79851b4762 edje: Update custom data in _edje_signal_callback_move_last() 2013-07-22 10:14:23 -03:00
José Roberto de Souza fe6dbda0e1 edje: Refactor signal callbacks flags
Share a byte with 2 matchs and use bitwise operations to read/write they states
is not much readable and easily could lead a issues.

Use a struct is much simpler and only will coast a half of byte per match.
2013-07-22 10:14:16 -03:00
Yakov Goldberg ae561346e4 evas/textblock: fix my own boolean expression to be more obvious 2013-07-21 11:57:11 +03:00
ChunEon Park 4c5ea19d83 edje - add a FIXME. 2013-07-20 19:38:25 +09:00
José Roberto de Souza e6db48531d edje: Fix typo in 397e0b90a2 2013-07-19 16:56:48 -03:00
Mike Blumenkrantz 2dee0a9357 edje don't unswallow and reswallow an object into the same part if it's already there 2013-07-19 15:09:27 +01:00
José Roberto de Souza 4732679935 edje: Add missing ChangeLog and NEWS of signal callbacks fixes 2013-07-19 10:10:49 -03:00
Cedric Bail 614263c1ed evas: add geometry_set to please zmike. 2013-07-19 18:37:43 +09:00
Carsten Haitzler f325a38632 evas sw map render - make more optimal (but compiler already did it)
as pointed out by y.usishchev@samsung.com - this code is copy & paste
badness, but the compiler optimizer fixed it up already, so it made no
difference in real life.
2013-07-19 18:32:57 +09:00
Mike Blumenkrantz ea7bc3f670 revert e7862929e4
the ECORE_X_SYNC environment variable exists to make ecore-x debugging synchronous.
printing X errors as they occur is useful for application developers; errors should not
be silenced just because they are inconvenient or plentiful.
2013-07-19 09:02:33 +01:00
Cedric Bail cf9b0180d6 edje: add threshold to draggable part. 2013-07-19 15:40:11 +09:00
Carsten Haitzler e7862929e4 ecore-x: make error prints DBG not ERR so we don't get spammed
because an error with no idea where it came from since its async is
pretty much usless noise. if you want this to be useful you literally
need to do an xsync every x call and be able to get backtraces... the
xsync then would be inside ecore-x. and of course this would be so
nastily slow that you need to make it an option at build...
2013-07-19 09:23:11 +09:00
José Roberto de Souza 18b27878aa edje: Fix size calculation of flags of signal callbacks 2013-07-18 18:52:27 -03:00
José Roberto de Souza bca31e4ad1 edje: Correctly set match flag in _edje_signal_callback_move_last()
This was causing some callback be removed instead a deleted callback.
Also was leaking stringshare and decreasing matches_count.

SPANK SPANK SPANK cedric
2013-07-18 18:52:22 -03:00
Stefan Schmidt d33562f49a Revert "evil: Fix parallel make by setting internal dependencies."
This reverts commit 0f0165e253.

Reverting my whole try to make the mingw build work with make -j6
on jenkins.

People told me that other people said that parallel build was
already working fine. Thats not what I see, but I could not care
less. If some folks leave the community but still want to preserve
ownership about specific parts I'm not in the mood for any such
politics.
2013-07-18 14:21:19 +01:00
Stefan Schmidt 0e54680072 Revert "evil: Also add LDL_LIB to LIDADD"
This reverts commit 079bc42bfe.
2013-07-18 14:21:19 +01:00
Stefan Schmidt fc57945873 Revert "evil: Evils own libdl lib is also needed for the test programs."
This reverts commit 525c4cbece.
2013-07-18 14:21:19 +01:00
ChunEon Park 42549d43ab edje - removed unncessary casting 2013-07-18 20:58:56 +09:00
ChunEon Park d34f25949d edje - fault casting. 2013-07-18 20:34:24 +09:00
Cedric Bail b343874300 edje: fix typo and deep apology to asdfuser. 2013-07-18 20:19:09 +09:00
ChunEon Park 8cec34d1d4 edje/map - changed data structure from list to array to improve color data memory access 2013-07-18 20:09:54 +09:00
Carsten Haitzler 382f3d5d60 emotion: warnings-- for x overlay/xv. 2013-07-18 20:07:01 +09:00
Carsten Haitzler f9f0b717e6 emotion - fix shutdown to ensure all pending async calls are gone too. 2013-07-18 20:00:22 +09:00
Stefan Schmidt 525c4cbece evil: Evils own libdl lib is also needed for the test programs.
Looks like USE_EVIL_INTERNEL_LIBS does only contains libevil itself.
For the test programs we still need the evil specific libdl for linking.
Lets hope this is the last parallel make fix for evil.
2013-07-18 11:06:07 +01:00
Stefan Schmidt 079bc42bfe evil: Also add LDL_LIB to LIDADD 2013-07-18 09:31:31 +01:00
Stefan Schmidt 0f0165e253 evil: Fix parallel make by setting internal dependencies.
The mingw build was failing when running in parallel. It was not
finding the internal lib for linking. Make sure we properly depend
on them.
2013-07-18 09:05:29 +01:00
Cedric Bail 9d54653a31 edje: update position after avoiding rounding error. 2013-07-18 16:52:57 +09:00
Cedric Bail 397e0b90a2 edje: improve accuracy of math logic in part positioning. 2013-07-18 16:20:32 +09:00
Vladislav Brovko 56adc51e83 eina: add Eina_Value tests convert from short, int. 2013-07-18 16:19:26 +09:00