Commit Graph

92 Commits

Author SHA1 Message Date
Carsten Haitzler 1e8520050d ecore evas gets func to get dpi and frix x screen size get.
SVN revision: 73341
2012-07-05 12:51:05 +00:00
Christopher Michael 33681aa35f Ecore_Evas Merge Tizen changes to upstream EFL.
SVN revision: 73206
2012-07-03 07:44:17 +00:00
Stefan Schmidt ec9a93ff43 ecore_evas/fb: Also check for NULL argument to strtol()
We can't be sure that disp_name is not NULL here. Better check before handing it over to strtol()

SVN revision: 72143
2012-06-14 15:01:54 +00:00
Jonas M. Gastal d6350e7bc2 Cleanup Doxygen Warnings - ecore 2
Files modified:
ecore/src/lib/ecore_evas/Ecore_Evas.h
ecore/src/lib/ecore_evas/ecore_evas_fb.c
ecore/src/lib/ecore_evas/ecore_evas_sdl.c
ecore/src/lib/ecore_evas/ecore_evas_util.c
ecore/src/lib/ecore_evas/ecore_evas_x.c
ecore/src/lib/ecore_fb/ecore_fb_li.c

SVN revision: 70422
2012-04-23 20:09:48 +00:00
Carsten Haitzler f62daabcb9 * Fix range of issues with ecore_fb and even ecore_evas where
it didn't work right on the fb. (timestamps wrong, focus
handling etc.). This makes it work fully again.
                        


SVN revision: 69715
2012-03-29 05:57:41 +00:00
Carsten Haitzler 57c681a33e booyah. added lots of ecore_evas state stuff and ability to track
state changes too made by a wm - eg getting iconified.



SVN revision: 68493
2012-02-28 06:43:59 +00:00
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 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
Vincent Torri 112f992a0e Ecore: fix warnings
SVN revision: 65976
2011-12-06 22:33:01 +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
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
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
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
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 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
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
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
Daniel Juyung Seo 6ef3841a37 Ecore: Removed trailing whitespaces.
SVN revision: 58753
2011-04-20 14:15:33 +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
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
Carsten Haitzler bcf7b03bae warnings--
SVN revision: 52459
2010-09-19 03:51:56 +00:00
Carsten Haitzler 6402642686 more leak--
SVN revision: 51701
2010-08-28 14:56:14 +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
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
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
이상진 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
Carsten Haitzler 921587e70b more work on the sync stuff... looking good now.
SVN revision: 45772
2010-02-01 14:13:48 +00:00
Lars Munch a5a6b927d0 Free all handlers and silence spank errors when trying to free an unused handler.
Thanks to Petr Stetiar for bug report and fix.

This closes #508



SVN revision: 45673
2010-01-28 22:23:00 +00:00
Cedric BAIL dd1abb5bae * ecore_evas: Cleanup buffer render user. Why isn't this common too ?
SVN revision: 45114
2010-01-14 17:52:29 +00:00
Carsten Haitzler 30939bf353 clean up engines - put idle entere handlign in core. same with lists. quyartz
looks broken to me. sdl looks like it could be much more complete - like
multiple sdl windows/instances.

anyway - allow rendering to be manual.



SVN revision: 44938
2010-01-07 05:29:06 +00:00
Sebastian Dransfeld 0a9456ccf7 Remove duplication from ecore headers
Clean up Ecore.h and ecore_private.h

SVN revision: 44664
2009-12-22 21:15:12 +00:00
Carsten Haitzler 96b82e825b remove code that forceds fb 0 . let disp name do it
SVN revision: 44149
2009-12-03 02:23:25 +00:00
Cedric BAIL eb543607a3 * ecore: Remove Ecore_List2 from ecore_evas.
SVN revision: 41073
2009-06-17 11:42:02 +00:00
Lars Munch bb74cf5f48 ecore-evas-fb: This patch fixes a bug in ecore_evas_fb.c introduced by the big eina
list conversion. The bug resulted in no input devices where added when
using framebuffer. This patch also cleans up some related NULL
checks that are not needed any more.

Signed-off-by: Lars Munch <lars@segv.dk>


SVN revision: 40224
2009-04-19 15:47:32 +00:00
Carsten Haitzler 5a740af16d fix ecore-evas-fb fullscreen!
SVN revision: 40125
2009-04-17 01:53:37 +00:00
Vincent Torri f8646c4d9c use ecore_input for the windows xp code
SVN revision: 40054
2009-04-14 20:04:16 +00:00
Vincent Torri c2a3c26379 * unused parameters --
* llvm report --


SVN revision: 39977
2009-04-11 10:31:42 +00:00
Carsten Haitzler 4ee9e854d5 fix build problem.. how did this get in - 2 funcs of the same name, one
static.. one not?



SVN revision: 39604
2009-03-21 00:39:02 +00:00
Vincent Torri 8eb538126c remove trailing spaces
SVN revision: 39574
2009-03-19 07:59:59 +00:00
Vincent Torri 1ed8721fa2 typo--
SVN revision: 39556
2009-03-18 17:23:11 +00:00
Cedric BAIL 9f3aac0837 * ecore_evas: Fix typo preventing live preview to work and add
sub_ecore_evas to SDL backend.



SVN revision: 39555
2009-03-18 17:12:52 +00:00
Cedric BAIL 57e8d73fba Let me introduce you to Ecore_Input. The idea is to share as much as possible event
between all ecore graphic engine to ease porting of application and reduce the amount of
specific code per engine. This patch does just that.
	All your application should continu to work has previously, if it's not the case
please report any new behaviour regarding mouse and keyboard.


SVN revision: 39505
2009-03-16 16:24:43 +00:00
Carsten Haitzler fea71a8859 patch from Lars Munch for abs input device support in ecore_fb
SVN revision: 39461
2009-03-13 09:47:43 +00:00
Carsten Haitzler 9911c70dff ECORE_EVAS_FPS_DEBUG now printfs useful data.
SVN revision: 39273
2009-02-28 07:54:47 +00:00
Carsten Haitzler 82bc9fb21d other typo
SVN revision: 39240
2009-02-26 07:33:55 +00:00
Carsten Haitzler 1d7083de96 fix typo
SVN revision: 39239
2009-02-26 07:27:08 +00:00