Commit Graph

703 Commits

Author SHA1 Message Date
Cedric BAIL 8885e90cda ecore: use eina_file_direct_ls (faster, better, cleaner).
SVN revision: 67085
2012-01-11 15:30:40 +00:00
Christopher Michael 54cca7bbf0 Ecore & Ecore_Evas: Fix requirements in configure.ac for wayland_egl.
Fix ecore_evas makefile to use wayland_egl_libs, etc.



SVN revision: 67081
2012-01-11 13:06:02 +00:00
Christopher Michael 1ccaf36197 Ecore_Evas: Update header file (remove dead commented code).
Uncomment ecore_evas_wayland_egl function.



SVN revision: 67080
2012-01-11 13:04:55 +00:00
Christopher Michael 99045fbdba Ecore_Evas: Re-enable wayland_egl engine (for testing).
SVN revision: 67079
2012-01-11 13:03:48 +00:00
Christopher Michael c7edac5b13 Ecore_Evas: Update ecore_evas_private for recent wayland changes.
SVN revision: 67078
2012-01-11 13:03:17 +00:00
Christopher Michael 8f05d8ec93 Ecore_Evas (wayland_egl): Rework ecore_evas for wayland_egl to be
inline with the shm version, and build against newer evas wayland_egl
engine.



SVN revision: 67077
2012-01-11 13:02:27 +00:00
Christopher Michael 7b21d59a52 Ecore_Evas (wayland_shm): Add missing shell_surface handler (recently
added in wayland).



SVN revision: 67076
2012-01-11 13:00:54 +00:00
Christopher Michael 9c3b28d908 Ecore_Evas (Wayland): Be sure to unregister the ecore_evas (wrt input
events).
Add big fat NB wrt potential 'hack' (works around screen garbage on
resize).
Add evas damage rectangle on resize.
Do surface_damage before surface_attach.
Prevent compositor crash on resize by checking width/height <= 0.
Don't do a resize of the ecore_evas unless the event matches.



SVN revision: 67013
2012-01-10 10:31:18 +00:00
Christopher Michael 655e20307a Ecore_Evas (Wayland): Add missing flush during rendering.
NB: This fixes animation issue wrt eating up cpu, only animating when
mouse was over, etc, etc..... Thanks Old Man !! ;)



SVN revision: 66995
2012-01-09 10:52:19 +00:00
ChunEon Park 56a083357c ecore/ecore_evas - removed unused var.
SVN revision: 66987
2012-01-09 07:58:28 +00:00
Christopher Michael d18dafa65a Ecore_Evas (Wayland): Fix building apps without wayland support
(function was missing a declaration if wayland was disabled). (Fixes
elm compile problems).



SVN revision: 66982
2012-01-09 05:22:43 +00:00
Christopher Michael 8bf05691f5 Ecore_Evas: Add api function for wayland_shm_resize.
SVN revision: 66972
2012-01-08 11:30:35 +00:00
Christopher Michael 94a4ce180b Ecore_Evas (wayland): Add shell listener for 'configure' events (occur
on shell_surface_resize).
Provide callback_mouse_in_set for ecore_evas.



SVN revision: 66970
2012-01-08 11:25:57 +00:00
Jiyoun Park 6eb708fb1d Fix Ecore evas extn for multi client model.
It is possible that several process want to show same canvas.
For support this, I changed Ecore buffer canvas to server(socket)
If some application want to show this canvas, 
it create plug image object. 



SVN revision: 66892
2012-01-05 05:08:24 +00:00
Christopher Michael 1dec455b38 Ecore_Evas (wayland): Implement EE functions for iconified & maximized.
SVN revision: 66861
2012-01-04 09:28:36 +00:00
Christopher Michael 4034f41133 Ecore_Evas (Wayland): Add functions for raise, lower, activate, layer,
and focus setting.



SVN revision: 66860
2012-01-04 08:28:23 +00:00
Christopher Michael c69d424fe5 Ecore_Evas (Wayland): Don't feed mouse_move twice
(_ecore_evas_mouse_move_process already feeds to evas).

Add variable to store the 'timestamp' of when mouse button gets
pressed (needed for 'moving' a surface).



SVN revision: 66808
2012-01-03 20:39:10 +00:00
Christopher Michael 2887fd5d2b Ecore_Evas (wayland): A bit of restructure to make prep for the egl
stuffs.



SVN revision: 66764
2012-01-03 01:08:06 +00:00
Christopher Michael c0f98fe6da Ecore_Evas (Wayland): Quiet down the output by disabling LOGFN.
Implement 'ecore_evas_move' for wayland_shm engine.



SVN revision: 66763
2012-01-03 01:06:47 +00:00
Christopher Michael 40669bf381 Ecore_Evas: Fix resize recursion when using wayland framespace.
SVN revision: 66760
2012-01-02 19:36:11 +00:00
Carsten Haitzler 4f4639b81f and fix my "mouse grab+hide_mouse out" fix to not break e17 dnd :)
SVN revision: 66582
2011-12-28 03:07:39 +00:00
Christopher Michael 848bea2e3c Ecore_Evas (Wayland_Shm):
Add an actual 'frame' to ecore_evas_wayland. (just a boring rectangle frame w/ the title).
Add support for size_min/max/base/step setting.
Add support for title & name_class setting.
Add support for setting a cursor.
Add support for hiding an ecore_evas.



SVN revision: 66578
2011-12-27 19:25:38 +00:00
Carsten Haitzler b0ab314d8e fix mouse down grab coutns if window minimized or hidden (especially
the second).



SVN revision: 66568
2011-12-27 12:02:18 +00:00
Cedric BAIL 411b2b8676 ecore: include header only when required.
SVN revision: 66563
2011-12-27 10:10:47 +00:00
Christopher Michael 627d39bfa2 Ecore: Add Ecore_Wayland (Wayland backend like ecore_x).
Ecore_Evas: Add 'drame_frame' functions.
Add ecore_evas_wayland code (for creating ecore_evas' in wayland).

NB: Merry Christmas EFL !!, Here is you're gift :)



SVN revision: 66542
2011-12-26 23:27:20 +00:00
Jiyoun Park 66faed1695 remove white space and trailing
SVN revision: 66475
2011-12-23 07:13:38 +00:00
Cedric BAIL 953f0300de ecore: actually provide all needed symbol.
SVN revision: 66379
2011-12-20 09:26:20 +00:00
Carsten Haitzler df705cd4fc unused warning--
SVN revision: 66366
2011-12-20 08:22:03 +00:00
Carsten Haitzler 0d91f7a776 update @since's - seems i can put them on single lines.
SVN revision: 66323
2011-12-19 07:25:27 +00:00
Carsten Haitzler dad90306a2 address fixme's in extn :)
SVN revision: 66320
2011-12-19 06:54:08 +00:00
Mike Blumenkrantz 420cd2c7bd fix null deref here too
SVN revision: 66296
2011-12-16 18:09:14 +00:00
Cedric BAIL 25407702b7 ecore: fix Ecore_Evas build without Ecore_Ipc.
SVN revision: 66285
2011-12-16 13:47:37 +00:00
Carsten Haitzler ef7d5face3 extn ecore-evas! WOOOOOOOOOOOOT!
SVN revision: 66283
2011-12-16 10:58:17 +00:00
Carsten Haitzler e50cd3f1e6 Clean up several ecore-evas-buffer routines to match the nicer extn
stuff. Just cleanups here.



SVN revision: 66282
2011-12-16 10:56:01 +00:00
Carsten Haitzler 2b3cf9d6e9 support move_resize on buffer canvases - didn't handle it before.
SVN revision: 66178
2011-12-14 08:18:35 +00:00
Carsten Haitzler 0a1deb3756 move render func into struct - dont set it later.
SVN revision: 66177
2011-12-14 07:53:18 +00:00
Cedric BAIL 2a169ea4e4 ecore: fix header inclusion.
SVN revision: 66039
2011-12-08 16:19:44 +00:00
Vincent Torri 112f992a0e Ecore: fix warnings
SVN revision: 65976
2011-12-06 22:33:01 +00:00
Cedric BAIL 38567fbf32 ecore: include stdlib.h when required.
SVN revision: 65964
2011-12-06 16:09:05 +00:00
Vincent Torri 1c43e16493 Ecore_Win32: Fix AltGr detection on Windows XP (discard additional Ctrl left)
API break (no problem if you don't use timestamps directly from Ecore_Win32)

SVN revision: 65673
2011-11-29 06:58:55 +00:00
Rafael Antognolli e8060b3cd6 ecore/fb: Bring back the old signature of ecore_fb_input_device_open.
A previous patch had changed its signature, but since this is an EAPI,
we can't break it. Now ecore_fb_input_device_window_set() was added to
provide the same functionality.



SVN revision: 65589
2011-11-24 21:08:22 +00:00
Rafael Antognolli 70060f434c ecore/fb: Fix tslib input events.
With ecore_evas_input, every event must tell for which window it
is intended.

Patch for SiT.



SVN revision: 65539
2011-11-23 16:52:14 +00:00
Carsten Haitzler 8910244dec Fix bug ecore-evas for fb, buffer, sdl back-ends to ensure
mouse is in on init (as events wont always give this) and focus
is set on show if appropriate if no focus in/out events come
from the back-end later

Fix setting override state to only hide if it should be
visible at that point in x back end support
        


SVN revision: 65508
2011-11-22 05:51:06 +00:00
Vincent Torri 1e7698357d Ecore: fix some warnings on Windows
SVN revision: 65497
2011-11-21 20:20:39 +00:00
Christopher Michael 6f2a5f3562 Ecore_Evas: We don't need to allocate 10 items for this array if we
are only going to use (at most) 3.



SVN revision: 65194
2011-11-14 18:48:19 +00:00
Carsten Haitzler 0d3f5383bf warning--
SVN revision: 65141
2011-11-14 04:32:12 +00:00
Vincent Torri d8a69c1622 Ecore: add callbacks for window focus in/out event on Win32 and WinCE
Patch by Shinwoo Kim


SVN revision: 65048
2011-11-11 07:24:00 +00:00
Youness Alaoui aeb68dfc92 Ecore-evas: Add psl1ght module to ecore-evas
SVN revision: 64783
2011-11-05 17:50:02 +00:00
Nicolas Aguirre c63526f777 ecore: fix ecore build when ecore_cocoa is not build !
SVN revision: 64658
2011-11-02 19:44:36 +00:00
Nicolas Aguirre f4d650a5e4 ecore: Add ecore_cocoa and ecore_evas_cocoa engine support. Currently, event and main loop integration is not working, but you can create a new ecore_cocoa window and attach an evas inside.
SVN revision: 64656
2011-11-02 19:20:09 +00:00
Jiyoun Park 5e81768386 Implement ee's req value to other windowing system.
currently only x windowing system implement this value


SVN revision: 64634
2011-11-02 06:55:12 +00:00
Jiyoun Park 8edcfacd3f Implement ee's req value to other windowing system.
currently only x windowing system implement this value.



SVN revision: 64554
2011-10-31 10:46:35 +00:00
Jiyoun Park 08fc8a696d I update Changelog and add @since info
SVN revision: 64495
2011-10-28 11:50:32 +00:00
Jiyoun Park f627a72047 Add a new API(ecore_evas_request_geometry_get)
The reson why I add this is for communicate with X in async mode.
For example, If applications call elm_win_rotation_with_resize_set API
when they start run and rotation mode is set.
ecore size doesn't changed yet, so it make elm window size to 1
becaues elm window's resize function use ecore_evas_geometry_get API.
so I add new api help upperside get info related with recently request geometry



SVN revision: 64492
2011-10-28 11:15:33 +00:00
Rafael Antognolli 53031cf572 ecore/fb: Change fb engine input to use ecore_input_evas.
Nothing changes, only making the ecore fb engine to send keyboard and
mouse events using ecore_input_evas, instead of its own ecore events.

Patch for SiT.



SVN revision: 64447
2011-10-27 19:29:08 +00:00
Carsten Haitzler b08afffb83 thanks to jiyoun's work in finding why this happens - here's actually a
simpler fix. :)



SVN revision: 64405
2011-10-26 05:29:38 +00:00
Rafael Antognolli ca46030e4d ecore_evas_fb: use _ecore_evas_fb_render instead of the buffer one.
This mistake was introduced long ago on a cleanup.
Patch for SiT.



SVN revision: 64258
2011-10-21 16:07:29 +00:00
Carsten Haitzler ff45aac69d lets have envrionment var control over semisync in ecore-evas
SVN revision: 64191
2011-10-20 06:39:03 +00:00
Carsten Haitzler be90232bc0 match changes in ews code
SVN revision: 64126
2011-10-17 07:00:38 +00:00
Carsten Haitzler 210c5a9377 handle buffer allocation failure - null buffer.
SVN revision: 64125
2011-10-17 06:59:08 +00:00
Carsten Haitzler 194df9ef24 for gustavo -> ews matching changes.
SVN revision: 64081
2011-10-15 03:19:25 +00:00
Carsten Haitzler ee158e76fc 1. make inline image ee buffer non-alpha by default. thats the default
for all eee's. this was wrong.
2. make sure it sets back data when finished - check data in and check
it out.



SVN revision: 64069
2011-10-14 07:28:45 +00:00
Carsten Haitzler 2c08cfa53c add env var to disable compositor syncing for testing
SVN revision: 63979
2011-10-11 06:18:13 +00:00
Christopher Michael f06f66b0a9 Ecore_Evas: Fix building of ecore_evas when ews is disabled.
SVN revision: 63888
2011-10-06 20:54:46 +00:00
Gustavo Sverzut Barbieri fc1cf7e259 ews: do not allow resize the window using a mouse.
EWS is meant to run in FB or other systems without actual windows, but
as we test on X11 let's forbid to change the resolution.

One is still able to do it using ecore_evas_ews_setup().



SVN revision: 63860
2011-10-06 00:09:17 +00:00
Gustavo Sverzut Barbieri f51d00e4cf ecore_evas_ews: focus-out may be called during deletion.
SVN revision: 63857
2011-10-05 23:41:39 +00:00
Gustavo Sverzut Barbieri 5be92e7d21 ecore_evas_ews: apply modifiers to target evas.
SVN revision: 63855
2011-10-05 23:24:45 +00:00
Gustavo Sverzut Barbieri b136246078 ecore_evas_ews: fixed bug with rendering.
Ouch, did not notice the engines were hardcode to buffer engine, let's
make it generic to the render function of the engine.



SVN revision: 63853
2011-10-05 22:52:41 +00:00
Gustavo Sverzut Barbieri 27bd62e087 ecore_evas_ews: fix focus of inner canvas.
SVN revision: 63852
2011-10-05 22:51:37 +00:00
Gustavo Sverzut Barbieri 163272dc48 Welcome EWS - Ecore+Evas Single Process Windowing System.
EWS is a new Ecor_Evas engine that builds on top of other engines. It
will create a backing store Ecore_Evas and ecore_evas_ews_new()
windows are created in it as images, but transparent to the outside
users (similar to buffer's ecore_evas_object_image_new()).

It provides a basic windowing system, with a known background object
that can be changed to your pleasure, and issue Ecore_Events to notify
of new windows and changes like movement, etc. Then you can write a
simple window manager based on it. (See example, Elementary will
contain one as well).

Backing store is determined by your best engine (as in
ecore_evas_new()) or specified with ecore_evas_ews_engine_set() or
environment variable $ECORE_EVAS_EWS (format:
engine-namey:w:h:options). The size can be set with
ecore_evas_ews_setup().



SVN revision: 63848
2011-10-05 22:11:00 +00:00
Christopher Michael 63baac01f2 Ecore_Evas: Rename xcb cflags & libs variable to avoid pkg-config
confusion.



SVN revision: 63582
2011-09-24 06:20:47 +00:00
Christopher Michael fe35a0421b Ecore_Evas: Don't need the WindowAttributes variable unless we are an
argb window. 

(Sorry vtorri).



SVN revision: 63534
2011-09-22 09:26:02 +00:00
Vincent Torri b25413d367 whitespaces--
SVN revision: 63531
2011-09-22 06:02:26 +00:00
Christopher Michael dd77378588 Ecore_Evas: Rework ecore_evas_x_render function so it does not
allocate memory for list variables & rectangles unless we need to (ie:
If there are no evas_render_updates to do, then there is no need to
allocate extra list variables & rectangles).



SVN revision: 63528
2011-09-22 02:39:23 +00:00
Christopher Michael 0009c82081 Ecore_Evas: When doing rotation_set_internal, no need to fetch the
ecore_x_window_size here as the returned values are not used anyway,
so avoid the extra function call.



SVN revision: 63523
2011-09-21 21:01:15 +00:00
Christopher Michael 42d8b6b481 Ecore_Evas: No need to call ecore_x_window_move/resize is the canvas
is already at the required size or position.



SVN revision: 63522
2011-09-21 20:55:12 +00:00
Youness Alaoui 5714e384d7 Ecore: Allow ecore-evas-sdl to work with software-sdl-16 engine. Also removed dead code
SVN revision: 63253
2011-09-07 06:58:28 +00:00
Youness Alaoui ea4aa8f446 Ecore: Add the noframe extra option to the ecore-evas-sdl
SVN revision: 63252
2011-09-07 06:58:21 +00:00
Vincent Torri 5d63d386df use EINA_FALSE / EINA_TRUE
SVN revision: 62974
2011-08-29 21:47:07 +00:00
ChunEon Park c6bd24febb ecore_evas - patched by Gwanglim Lee <gl77.lee@samsung.com>
Hi all,

I've fixed a minor bug in the ecore_evas_gl_x11_pre_post_swap_callback_set API.
It wasn't setting a post_swap callback properly.

Please review it.

BR,




SVN revision: 62785
2011-08-25 08:14:21 +00:00
Lucas De Marchi 428c512599 ecore: silence warnings the right way
Setting a variable but not using it will trigger another warning on gcc >= 4.6.



SVN revision: 62717
2011-08-23 12:04:52 +00:00
Sebastian Dransfeld ea52155aeb ecore: Fix shadow warnings
SVN revision: 62562
2011-08-18 10:59:24 +00:00
Gustavo Lima Chaves 79f479c754 [ecore] Examples for the last batch of documentation
bumps.



SVN revision: 62152
2011-08-05 20:16:19 +00:00
Gustavo Lima Chaves 813e5e978a [ecore] Documentation for the following:
- ecore_evas_buffer_allocfunc_new
 - ecore_evas_buffer_new
 - ecore_evas_buffer_pixels_get
 - ecore_evas_manual_render
 - ecore_evas_object_image_new
 - ecore_evas_object_ecore_evas_get
 - ecore_evas_object_evas_get



SVN revision: 62151
2011-08-05 20:16:13 +00:00
Jonas M. Gastal 7de33b63a3 Ecore: ecore_evas window properties documentation.
These functions are not contemplated by examples because there is no
meaningfull example(just setting the flags doesn't won't help developers
in understading how to use them) and because their behavior is dependant
on the windowing system.



SVN revision: 62056
2011-08-03 14:39:01 +00:00
Jonas M. Gastal 92f409501d Ecore: ecore_evas basics documentation.
SVN revision: 62055
2011-08-03 14:38:32 +00:00
Jonas M. Gastal 62cd6116d1 Ecore: ecore_evas_object documentation.
SVN revision: 62016
2011-08-02 17:02:07 +00:00
Gustavo Lima Chaves 171186e10c [ecore] Documenting the following:
- ecore_evas_size_base_get
 - ecore_evas_size_base_set
 - ecore_evas_size_max_get
 - ecore_evas_size_max_set
 - ecore_evas_size_min_get
 - ecore_evas_size_min_set
 - ecore_evas_size_step_get
 - ecore_evas_size_step_set



SVN revision: 62012
2011-08-02 16:44:08 +00:00
Jonas M. Gastal 070ed98761 Ecore: ecore evas callbacks documentation.
SVN revision: 61998
2011-08-02 13:52:26 +00:00
Carsten Haitzler 48cb97bcec more error handling improvements
SVN revision: 61879
2011-07-29 06:21:43 +00:00
Carsten Haitzler bf5829a614 make sure we complain enough on stderr about enignes not being found
by ecore-evas. improved error handling, though not really a bug.



SVN revision: 61878
2011-07-29 06:20:55 +00:00
Christopher Michael ab5e8633df Ecore_Evas: Remove xlib (and xcb) specific calls for the software_x11
and opengl_x11 engines and replace with ecore_x calls.

NB: I did not touch software_16 or software_8 so we cannot yet remove
the XLib linking wrt ecore_evas. I leave that exercise to 'the old
man' as per our convo this morning...but this does put us one step
closer ;)



SVN revision: 61743
2011-07-26 11:24:10 +00:00
Christopher Michael 4b87169132 Ecore_Evas: Use ecore_x function(s) for getting window attributes.
Some fixes for OpenGL wrt xcb (minor stuffs).

NB: We already use ecore_x for some things in here, so let's keep
duplicated code down to a minimum and resuse what we already have ;)



SVN revision: 61676
2011-07-25 09:29:09 +00:00
Vincent Torri 3e655d5e56 link xim module against ecore_x. This patch fixes compilation on mac os x
SVN revision: 61625
2011-07-24 00:23:34 +00:00
Christopher Michael 08aedd264a Ecore_Evas: Use an easier check for If existing ecore_evas is already
alpha. No need to do comparisons like this.



SVN revision: 61611
2011-07-23 17:37:04 +00:00
Christopher Michael da03bd6e66 Ecore_Evas: Fixes for working with the xcb engine. Fix some
formatting. Fix dst_rect being uninitialized. Remove 'prefetch &
fetch' calls as they are not used in the new xcb stuffs.



SVN revision: 61379
2011-07-14 15:40:53 +00:00
Carsten Haitzler f1b0e8d075 provide alpha set call for buffer canvas in ecore-evas. new feature
related to elm shot engine.



SVN revision: 61077
2011-07-06 10:21:16 +00:00
Ulrich Eckhardt 46cdaea3cb From: Ulrich Eckhardt <doomster@knuut.de>
Subject: [E-devel] XRender engine causes ecore build failure

while building ecore. The problem is that this engine was removed from evas 
but not yet completely from ecore. I was on IRC with Vincent Torri (vtorri) 
and Daniel Juyung Seo (SeoZ) and the consensus was to remove the code for the 
XRender engines, both the Xlib and XCB versions.

There is a switch over the different engine types, where there are still a few 
places left where XRender is handled, grep for "xrender" or "XRENDER" and you 
will find them. The question is whether to just return NULL in order to signal 
that this engine is not supported or to remove the whole thing. The latter 
could break binary compatibility, therefore I left those stubs in.



SVN revision: 60502
2011-06-20 06:58:33 +00:00
Vincent Torri 3914920d09 Ecore : ecore_evas : use correct temporary directory on Windows
SVN revision: 60468
2011-06-17 21:49:47 +00:00
Boris Faure e6119fa4d9 remove .cvsignore files
SVN revision: 60246
2011-06-12 21:38:37 +00:00
Carsten Haitzler 3862411f83 fix sdl ecore evas mixup when adding ecore evas geometry get
SVN revision: 59841
2011-05-31 11:18:28 +00:00
Lucas De Marchi 2f4bba5d15 ecore: fix misspellings
Misspellings found by codespell


SVN revision: 59821
2011-05-30 16:17:07 +00:00
Gustavo Sverzut Barbieri 89971de866 Ecore_Evas: introduce ecore_evas_screen_geometry_get()
This common interface allows engines to provide whole screen
information to users.

Right now just X is implemented and it queries the size of the default
screen. I hope this is fine.



SVN revision: 59761
2011-05-27 19:31:11 +00:00
Gustavo Sverzut Barbieri a2e1a187e6 let ecore_evas_ecore_evas_get() be safer.
SVN revision: 59759
2011-05-27 18:53:27 +00:00
Daniel Juyung Seo 6ef3841a37 Ecore: Removed trailing whitespaces.
SVN revision: 58753
2011-04-20 14:15:33 +00:00
Cedric BAIL 2bb86cbe4f ecore: fix build without Ecore_Evas_X.
SVN revision: 58689
2011-04-15 13:33:44 +00:00
Carsten Haitzler 8d5212d060 BUG!! fix buffer canvas modifier set setting! gah!
SVN revision: 58685
2011-04-15 11:01:15 +00:00
Carsten Haitzler 18ecece5f3 and oops.. fix my fox to coord xlations. working now.
SVN revision: 58630
2011-04-13 12:12:41 +00:00
Carsten Haitzler 9c4345a997 printf--
SVN revision: 58629
2011-04-13 12:06:17 +00:00
Carsten Haitzler 7a2fd8c67d fix buglet in inlined image buffer canvas -> coords repeated when
dragged outside the bounds.



SVN revision: 58628
2011-04-13 12:05:31 +00:00
Doyun Kang 631f94a523 From: Doyun Kang <doyoun.kang@samsung.com>
Add support for shape input setting and modification (with
fixes/modifications and extensions added tomake it more complete).



SVN revision: 58621
2011-04-13 09:06:05 +00:00
Cedric BAIL 38771d0adb ecore: fix ecore_evas removal of Evas Quartz backend.
SVN revision: 58363
2011-04-05 14:04:10 +00:00
Cedric BAIL 442654b1ec ecore: remove user of deprecated Evas Quartz backend.
SVN revision: 58355
2011-04-05 12:08:53 +00:00
Carsten Haitzler 4155a7df00 add new version of efl sync proto between comp and client.
SVN revision: 58220
2011-03-31 08:13:14 +00:00
Carsten Haitzler 1588a92819 ecore-evas: feature++ : support netm sync protocol for clients
SVN revision: 58198
2011-03-30 10:10:04 +00:00
Carsten Haitzler 4b80f12e31 fix associate stuff with interecepts so events come in with
override-redirect windows.



SVN revision: 58033
2011-03-23 13:31:05 +00:00
Vincent Torri a1977a6b74 Ecore ecore_evas:
Fix Ecore_WinCE window type


SVN revision: 57310
2011-02-24 19:37:21 +00:00
Christopher Michael f9d65ac745 Ecore_Evas: Add UNUSED where missing.
When building ecore_evas for gl, some functions had unused parameters.
Add UNUSED to those.



SVN revision: 57196
2011-02-20 16:39:43 +00:00
Carsten Haitzler 75b46faa61 fix sync to send done messges but not wait for sync counter with gl
engine.



SVN revision: 56563
2011-01-31 06:21:57 +00:00
Carsten Haitzler 79a249e476 oh and i didnt realise - gl enigne can avoid sync as its swap based :)
SVN revision: 56108
2011-01-14 10:35:59 +00:00
Vincent Torri 89b5e3fa75 Windows CE clean up
SVN revision: 55955
2011-01-06 19:35:51 +00:00
Carsten Haitzler 1046621d6a and we were missing vsync set support in ecore-evas, but had indirect
support. fix.



SVN revision: 55755
2010-12-26 10:17:31 +00:00
Carsten Haitzler a332eaa36b and break api in ecore_input_evas - not used anyway except within
ecore. the api didn't allow for rotation of multitouch input. need to
fix. done.



SVN revision: 55367
2010-12-08 03:25:23 +00:00
Carsten Haitzler b148711260 formatting!
SVN revision: 55348
2010-12-07 08:38:07 +00:00
Cedric BAIL 4fc861fe81 * ecore: raise gl_sdl priority over software_sdl.
SVN revision: 54595
2010-11-16 15:38:22 +00:00
Cedric BAIL 272a92e8f3 * ecore: fix mouse wheel for frame buffer.
Patch by Eduardo Felipe <eduardofelipe87@gmail.com>.


SVN revision: 54471
2010-11-11 18:45:16 +00:00
Carsten Haitzler be6cf01bb8 make sure it has dynamic hint set.
SVN revision: 54114
2010-11-03 04:08:09 +00:00
Eduardo de Barros Lima 454f896043 Ecore: Decide whether library will be built or not in upper level
As requested by vtorri. :D



SVN revision: 53967
2010-10-28 16:37:41 +00:00
Cedric BAIL e27a2a14a0 * ecore: don't expose Ecore_Evas internal magic outside.
SVN revision: 53930
2010-10-27 17:42:30 +00:00
Carsten Haitzler d3233bd67c fix ecore-evas to use stride return for buffers.
SVN revision: 53909
2010-10-27 04:52:54 +00:00
Iván Briano 02dced207e Revert the changes on ecore_x, seems not needed and break composite
SVN revision: 53617
2010-10-19 13:56:17 +00:00
Iván Briano bab8d2d0cd Use event_win when it exists to match source of events
I don't expect anything to break, but if mouse or keyboard events suddenly
disappear, feel free to revert this patch while blaming cedric or discomfitor.



SVN revision: 53583
2010-10-18 21:50:41 +00:00
Carsten Haitzler 18f7762fc0 make sure we have undefed stuff
SVN revision: 53562
2010-10-18 05:09:30 +00:00
Carsten Haitzler 1cae896bba delay comp setup until show. (and unset on hide)
SVN revision: 53256
2010-10-11 06:28:01 +00:00
Gustavo Sverzut Barbieri 3a88bc8b71 log domains in lower-case only please.
let's make it a standard so we don't have to look at the code
everytime to figure out the name...



SVN revision: 53172
2010-10-07 22:31:46 +00:00
Cedric BAIL f728fbf8f7 * ecore: fix build without X.
SVN revision: 53015
2010-10-04 09:35:06 +00:00
Carsten Haitzler 44093c2bdc set client leader by default - support setting it explicitly from code
too. fix default win props too.



SVN revision: 52974
2010-10-02 01:56:23 +00:00
Vincent Torri 439168c6ff tab------------
SVN revision: 52896
2010-09-29 17:03:38 +00:00
Vincent Torri 62bcf9643e check the returned value of evas_engine_info_set()
SVN revision: 52894
2010-09-29 16:45:49 +00:00
Vincent Torri ce40390347 int --> Eina_Bool
please review it

SVN revision: 52730
2010-09-25 07:03:02 +00:00
Carsten Haitzler bcf7b03bae warnings--
SVN revision: 52459
2010-09-19 03:51:56 +00:00
Vincent Torri f4f1dcf519 add the possibility to have shaped windows in ecore_evas (gdi
only for now)


SVN revision: 52418
2010-09-18 17:24:31 +00:00
Vincent Torri 5973521793 check returned value of evas_engine_info_set()
SVN revision: 52360
2010-09-17 06:14:08 +00:00
Vincent Torri 56fa2461ed warning--
SVN revision: 52292
2010-09-15 08:41:41 +00:00
Carsten Haitzler 4f823dab67 fix first map bug handling to handle more than first window map.
SVN revision: 52200
2010-09-13 22:16:26 +00:00
Lucas De Marchi be1b6d32ef Fix common misspellings
Following misspellings were fixed:

alledgedly->allegedly
cant->can't
carefull->careful
consistant->consistent
currenly->currently
dependancy->dependency
descripters->descriptors
doesnt->doesn't
dosen't->doesn't
existant->existent
exmaple->example
inbetween->between
independant->independent
isnt->isn't
mroe->more
neccessary->necessary
occured->occurred
occurence->occurrence
parrallel->parallel
particualr->particular
preceeding->preceding
recieved->received
recieves->receives
seperate->separate
substraction->subtraction
succesfully->successfully
successfull->successful
sucess->success
supress->suppress
usefull->useful
witht->with



SVN revision: 51986
2010-09-08 11:23:42 +00:00
Vincent Torri 156952f938 fix include order for Windows
SVN revision: 51740
2010-08-30 05:49:18 +00:00
Carsten Haitzler 6402642686 more leak--
SVN revision: 51701
2010-08-28 14:56:14 +00:00
Christopher Michael 51f2ed1d97 Add UNUSED where missing.
SVN revision: 51618
2010-08-24 23:29:24 +00:00
Carsten Haitzler 864fcb6c17 fix sync issue in 1 special event re-order case. booo!
SVN revision: 51609
2010-08-24 09:26:34 +00:00
Lucas De Marchi 5a8a8c9014 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Christopher Michael f8d86f6d7c Remove blank line & fix formatting of function params.
SVN revision: 51397
2010-08-19 14:41:24 +00:00
Carsten Haitzler 6308b452af oooh that broke comp - hmm this bears some investigaing. remove eating
of show/hide events for ee's



SVN revision: 50982
2010-08-11 05:18:58 +00:00
Carsten Haitzler 18c41d2e78 work around a gl driver bug
export ECORE_EVAS_GL_FIRST_MAP_BUG=1

if you end up with blank empty windows when using evas gl engine in them



SVN revision: 50981
2010-08-11 05:12:22 +00:00
Lucas De Marchi 0a4617ae38 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Alexander Kerner ba10bce434 From: Alexander Kerner <alexander.kerner@googlemail.com>
Subject: [E-devel] 8bpp xcb evas engine

Hi all,

I've implemented the 8bpp grayscale evas engine. It is based on the 16bpp
engine. It would be nice if someone could review the code and maybe commit
into svn. The patches against evas and ecore are attached.



SVN revision: 50561
2010-07-28 00:17:40 +00:00
Christopher Michael e6f4e7be70 Remove useless if statement. Regardless if count is greater than 1, we
were still returning the count anyway.



SVN revision: 50369
2010-07-19 18:16:56 +00:00
Christopher Michael 6f110efad1 Remove duplicate if (This is already checked a few lines above, so not
needed).



SVN revision: 50272
2010-07-15 20:52:29 +00:00
Christopher Michael bb651d8eb8 Move Ecore.h (and associated headers) to own dir.
SVN revision: 50142
2010-07-09 06:23:19 +00:00
Lucas De Marchi c7d1c78c46 Finish fixing int => Eina_Bool
A buggy standard.h caused some parser errors in the previous committed
patch generated by Coccinelle. This commit find the other places.



SVN revision: 50052
2010-07-06 00:08:52 +00:00
Lucas De Marchi 7051feb04e Fix callback signatures
The change from returning int to Eina_Bool left several call sites with
warnings because they were not updated. Here they are fixed by using
Coccinelle, a tool that allows us to automate tasks like that. This
commit was generated from the following semantic patch:

virtual org

@r1@
identifier fn!=NULL, fn2;
expression E1, E2, E3;
@@
(
ecore_event_handler_add(E1, fn, ...)
|
ecore_event_filter_add(E1, fn, ...)
|
ecore_idler_add(fn, ...)
|
ecore_idle_enterer_add(E1, fn, ...)
|
ecore_idle_enterer_before_add(E1, fn, ...)
|
ecore_idle_exiter_add(E1, fn, ...)
|
ecore_main_fd_handler_add(E1, E2, fn, E3, fn2, ...)
|
ecore_main_win32_handler_add(E1, fn, ...)
|
ecore_timer_add(E1, fn, ...)
|
ecore_timer_loop_add(E1, fn, ...)
|
ecore_animator_add(fn, ...)
|
ecore_poller_add(E1, E2, fn, ...)
)

@r2@
identifier r1.fn;
identifier ret;
typedef Eina_Bool;
position p;
@@
- int
+ Eina_Bool
fn@p(...) {
<...
(
- return 1;
+ return EINA_TRUE;
|
- return 0;
+ return EINA_FALSE;
|
- int
+ Eina_Bool
ret;
...
return <+...ret...+>;
|
return ...;
)
...>
}

@r3@
identifier r1.fn2;
identifier ret;
position p;
@@
- int
+ Eina_Bool
fn2@p(...) {
...
(
- return 1;
+ return EINA_TRUE;
|
- return 0;
+ return EINA_FALSE;
|
- int
+ Eina_Bool
ret;
...
return <+...ret...+>;
|
return ...;
)
...
}

@r4@
identifier r1.fn;
@@
- int
+ Eina_Bool
fn(...);

@r5@
identifier r1.fn2;
@@
- int
+ Eina_Bool
fn2(...);

@script:python depends on org@
p << r2.p;
f << r1.fn;
@@
import sys
msg="WARNING: wrong callback %s! ( %s:%s )" % (f, p[0].file,p[0].line)
print >> sys.stderr, msg

@script:python depends on org@
p << r3.p;
f << r1.fn2;
@@
import sys
msg="WARNING: wrong callback %s! ( %s:%s )" % (f, p[0].file,p[0].line)
print >> sys.stderr, msg



SVN revision: 49985
2010-07-02 01:38:05 +00:00
Brett Nash bb4c28dbb1 Commit ecore_evas_ecore_evases get
Coming soon:
	ecore_ecore_evas_evas_get
	evas_ecore_ecore_evas_get
	get_ecore_evas_ecore_evas_name_gen()


SVN revision: 49983
2010-07-02 00:32:56 +00:00
Vincent Torri ed3725ddcd fix returned type of callbacks
SVN revision: 49877
2010-06-26 15:35:30 +00:00
Cedric BAIL fbe9064310 * ecore: Ecore callback really should return Eina_Bool.
SVN revision: 49829
2010-06-24 16:15:56 +00:00
Carsten Haitzler eb4b780754 set magic to none later - and set props to null after freeing each -
in case del callbacks on objects access ee.



SVN revision: 49410
2010-06-03 12:33:27 +00:00
Carsten Haitzler 427b678d44 proto wrong. fix.
SVN revision: 49298
2010-05-29 13:49:43 +00:00
Carsten Haitzler 17263ea263 add ecore versioning
SVN revision: 49271
2010-05-29 06:28:25 +00:00
Carsten Haitzler eaad0eb095 big patch from Samsung SAIT (Advanced research group) for async multi-frame
rendering. to turn on:

1.
configure with --enable-async-render
2.
export EVAS_RENDER_MODE=non-blocking
  
presto. necessitates some api swizzling (thus the expedite. ecore etc. changes)

the kind of results you get on a desktop:

http://www.rasterman.com/files/evas-async-vs-none.html



SVN revision: 49087
2010-05-21 07:10:45 +00:00
Carsten Haitzler 1ea1a6d3cc oops typo.
SVN revision: 49050
2010-05-20 04:47:53 +00:00
Lukasz Wrzosek 4957dd16fe From: Lukasz Wrzosek <l.wrzosek@samsung.com>
I’ve prepared basic patch to add support for custom malloc/free functions for
buffer management. (with changes to api from raster to addd void *data param
to alloc/free callbacks and naming and ordering changes).



SVN revision: 49044
2010-05-20 03:53:54 +00:00
Christopher Michael 0cad792cb6 Fix typos ;)
SVN revision: 48958
2010-05-18 04:13:13 +00:00
Carsten Haitzler 194aa90d0c handle info_set failures.
SVN revision: 48957
2010-05-18 03:50:17 +00:00
Vincent Torri 798e88594f * fix comment
* do consistent test (though it is useless)


SVN revision: 48708
2010-05-09 06:03:46 +00:00
Carsten Haitzler 9c96f2b98e try right #ifdef
SVN revision: 48707
2010-05-09 05:51:10 +00:00
Carsten Haitzler e2279c66c4 support new gl enigne rotate ability from ecore-evas
SVN revision: 48705
2010-05-09 05:15:55 +00:00
Vincent Torri 5f6f8cbc48 fix vc++ compilation
SVN revision: 48064
2010-04-17 05:35:13 +00:00
Vincent Torri c77c8c6cb3 more quartz -> cocoa renaming
SVN revision: 47506
2010-03-27 18:28:50 +00:00
Gustavo Sverzut Barbieri 9bf201e26e add debugs and warnings to ecore_evas_new().
Sometimes it might be useful for the tester to detect the engine that
is being used.



SVN revision: 47391
2010-03-23 17:35:22 +00:00
Vincent Torri 43f88cb30d Second part of the renaming 'quartz' -> 'cocoa'
API break. Not really important for now as that port
is in a very bad shape anyway



SVN revision: 47340
2010-03-19 06:57:47 +00:00
Vincent Torri 0b168c9813 First part of the renaming 'quartz' -> 'cocoa'
Quartz is the name of the graphic library
Cocoa is the Objective C API to build applications

I can't test this so maybe I have forgotten some
modifications to do. Please report any problem in
that thread


SVN revision: 47339
2010-03-19 06:48:08 +00:00
Carsten Haitzler bf9b51d12b only send rend done if syncing.
SVN revision: 47288
2010-03-16 12:31:09 +00:00
Carsten Haitzler 07a9e63cb4 missing call if gl enigne not built.
SVN revision: 46763
2010-03-02 01:43:45 +00:00
Carsten Haitzler 4d33962b8c set win to 0 - in case
SVN revision: 46684
2010-03-01 12:01:57 +00:00
Carsten Haitzler 2a70e8701c allow alpha ee windows.
SVN revision: 46678
2010-03-01 04:44:36 +00:00
Gustavo Sverzut Barbieri dba2a95572 warnings--
Ecore now goes clean on -Wall -Wextra :-)



SVN revision: 46672
2010-02-28 23:27:47 +00:00
Carsten Haitzler 498dec5154 hmm fix resize before change alpha...
SVN revision: 46579
2010-02-27 14:40:10 +00:00
Ulisses Furquim f316516b1c Checking init count before actually freeing ecore evases.
SVN revision: 46447
2010-02-24 22:48:55 +00:00
Gustavo Sverzut Barbieri 11ca6cc505 Update to new event callback signature.
SVN revision: 46207
2010-02-16 13:00:11 +00:00
Carsten Haitzler 4e51efd326 1. if software-x11 not enabled.. still build... but.....
2. ecore-txt is a REQUIREMENT FOR ECORE-X! DONT DISABLE!



SVN revision: 46199
2010-02-16 01:27:25 +00:00
Christopher Michael 82ce1b5e7b Reorganize code a little here to remove duplication. No function changes
(and no issues found when tested).



SVN revision: 46184
2010-02-15 07:23:58 +00:00
Carsten Haitzler 830a7c89ee be more robust when gtl creation fails - return a null ee.
SVN revision: 46178
2010-02-15 05:26:42 +00:00
Carsten Haitzler 440f6d0d7b change gl engine api a little - fixed in ecore-evas and expedite. expose
indirect option in ecore-evas with a new opt param for gl engines - will add
more opts over time.



SVN revision: 46177
2010-02-15 05:05:05 +00:00
Carsten Haitzler 302e9054c4 dont return unknown!
SVN revision: 46162
2010-02-14 08:15:49 +00:00
이상진 7c9103f3ae From: 이상진 <lsj119@samsung.com>
I am attaching another patches for transparent window.

1. Use RGB Visual.
2. Set destination_alpha in ecore_evas for alpha composite in evas.
3. add Function
   - Ecore_Evas_Engine_Func->fn_transparent_set
   - ecore_evas_transparent_set , ecore_evas_transparent_get
   - elm_win_transparent_set, elm_win_transparent_get




SVN revision: 46106
2010-02-12 05:31:26 +00:00
이상진 fb352ec80f From: 이상진 <lsj119@samsung.com>
Patch for rotate with resize

(fixed formatting a bit)



SVN revision: 46046
2010-02-10 14:35:07 +00:00
Cedric BAIL 58e14477d7 * ecore_evas_x: Fix build without X.
SVN revision: 45838
2010-02-03 16:05:25 +00:00
Carsten Haitzler b63900e442 aaaah. i smell another broken wm out there that only handles wm_delete as the
first wm_protocols property. BAD WM! (its not e17 - thats for sure)



SVN revision: 45827
2010-02-03 03:20:22 +00:00
Carsten Haitzler 921587e70b more work on the sync stuff... looking good now.
SVN revision: 45772
2010-02-01 14:13:48 +00:00
Carsten Haitzler 2af8f0e8b5 add some sync stuff.. wil be used soon
SVN revision: 45733
2010-01-30 10:42:22 +00:00
xcomputerman 164a8b8142 Add support for OpenGL SDL
SVN revision: 45732
2010-01-30 10:23:54 +00:00