Commit Graph

565 Commits

Author SHA1 Message Date
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
Carsten Haitzler 78d08250c4 typo fix!
SVN revision: 45702
2010-01-29 11:06:32 +00:00
Carsten Haitzler 61395ea4ad say we do pings - and respond within the event handler.
SVN revision: 45699
2010-01-29 10:28:54 +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
Carsten Haitzler 8742a16770 use pre-post swap callbacks and expose for gl
SVN revision: 45515
2010-01-24 11:01:39 +00:00
Carsten Haitzler 29645ed5b2 pid++ for evas gl x11 windows!
SVN revision: 45438
2010-01-22 11:15:58 +00:00
Vincent Torri f55cf1cfa8 fix raster's cleaning for Windows CE
SVN revision: 45297
2010-01-18 18:26:34 +00:00
Carsten Haitzler 258f47f511 also more multitouch suport improvements.
SVN revision: 45249
2010-01-17 08:52:38 +00:00
Vincent Torri 60faf54233 statement not reached
SVN revision: 45221
2010-01-16 13:51:55 +00:00
Carsten Haitzler d3afa8952e multitouch support for xi2 and floating xi devices
SVN revision: 45213
2010-01-16 12:20:56 +00:00
Sebastian Dransfeld c25a56fac7 Ecore_Data gone
SVN revision: 45203
2010-01-15 21:47:27 +00:00
Sebastian Dransfeld 2315d4e000 remove unused variable
SVN revision: 45147
2010-01-14 23:47:52 +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
xcomputerman 6e91f15d0b Fix compile errors
SVN revision: 45007
2010-01-09 19:38:34 +00:00
Sebastian Dransfeld 7cb91a2f51 Link against ecore_input_evas
SVN revision: 44959
2010-01-07 19:31:02 +00:00
Sebastian Dransfeld b0a1a778a1 Split evas from ecore_input
SVN revision: 44957
2010-01-07 19:26:52 +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 8007e73077 Patch from Mathieu Taillefumier
I modified some hearder file in ecore to ease the cleanup of the private
header files in ecore. Each module has now a private header with its own
log color (eina_log related). I also created two private header files
for ecore_sdl and ecore_input for this purpose and corrected some typos
in the xlib_xcb private header file.

SVN revision: 44933
2010-01-07 00:30:05 +00:00
Vincent Torri a4b0afb1e4 * move structures from ecore_private.h to the corresponding source files
* add 2 internal ecore_exe functions as ecore_signak.c uses Ecore_Exe members
   no test is done in those 2 functions
 * remove standard headers from ecore_private.h



SVN revision: 44862
2010-01-03 21:55:50 +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
Cedric BAIL d8e1895350 * ecore: Use eina_log.
Patch from Mathieu Taillefumier.


SVN revision: 44637
2009-12-21 17:32:19 +00:00
Carsten Haitzler b8aaad4810 quick - set accepts_input 1 on ee windows. that code neads cleaning up!
SVN revision: 44455
2009-12-14 23:56:56 +00:00
Sebastian Dransfeld 73cde2ffa2 Make clang happy
SVN revision: 44257
2009-12-07 21:01:26 +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 5175806e0c * ecore: Fix some easy error in ecore_evas_quartz. But much more
is needed to make it correctly work.


SVN revision: 43922
2009-11-23 13:32:05 +00:00
Lars Munch 6abf0b9ac4 Fix linking issue when cross building from linux to windows
SVN revision: 43603
2009-11-10 16:58:20 +00:00
Carsten Haitzler 765e981041 keep this as printf.
SVN revision: 43349
2009-10-30 13:08:54 +00:00
Vincent Torri 95709a3ef1 strdup() name and class only if they are not NULL
SVN revision: 43243
2009-10-24 06:59:30 +00:00
Cedric BAIL 2298aa7960 * ecore_evas: Add support for quartz backend in ecore_evas_new.
SVN revision: 43231
2009-10-23 15:00:50 +00:00
Cedric BAIL 33fc62e73f * ecore_evas: Fix typo.
SVN revision: 43185
2009-10-21 14:55:44 +00:00
Vincent Torri 4072d0b23d * check the returned value of the _init() functions
* simplify a bit the init/shutdown functions


SVN revision: 42995
2009-10-10 05:28:43 +00:00
Vincent Torri 832b0ee18f too much \n in einal log macros
SVN revision: 42854
2009-10-02 04:40:46 +00:00
Vincent Torri c06f58dc3f logify ecore_evas. Patch by Mathieu Taillefumier (a bit modified)
SVN revision: 42852
2009-10-02 04:35:04 +00:00
Vincent Torri 3a0ee809e3 remove \n in logging messages
SVN revision: 42738
2009-09-27 03:56:12 +00:00
Iván Briano 6cf87428a4 Improve documentation for Evas, Ecore, Edje and Elementary.
Work by:
 - Thiago R. Masaki (mostly)
 - Fabiano Fidencio
 - Gustavo Lima


SVN revision: 42551
2009-09-17 22:38:22 +00:00
Vincent Torri df88395e4f * fix logging for Windows XP and CE port
by adding namespace to logging macros
 * formatting and warning cleanup



SVN revision: 42341
2009-09-08 05:39:09 +00:00
Vincent Torri e6891b228c formatting
SVN revision: 42275
2009-09-05 08:52:41 +00:00
Vincent Torri 1dd8436cd4 add Mathieu Taillefumier's patch for eina logging,
with small modifications and fixing

ecore_evas_win32 does not build, though. I think that
if we add log support in evas, all the macro must have
different names, because of all the _private.h headers
that are included in all source files (that's the problem
with win32). I'll fix ecore_evas_win32 build later. Or
someone can do it if he wants :-)


SVN revision: 42274
2009-09-05 08:39:34 +00:00
Carsten Haitzler d6cdd8131b 1. ecore-evas doesnt disable draws to fully obscured windows if compositoir
is there
2. static atom for compositor check
3. stop filterng out mouse moves for better scroll momentum checks



SVN revision: 42182
2009-09-02 12:48:56 +00:00
Vincent Torri 2d11ac918c fix number of events
SVN revision: 42114
2009-08-30 21:41:51 +00:00
Vincent Torri 0bd66ee195 fix warnings
SVN revision: 42014
2009-08-26 15:32:23 +00:00
Gustavo Sverzut Barbieri 4a2bd500e3 remove gcc -Wextra warnings
SVN revision: 41369
2009-07-16 21:42:02 +00:00
Gustavo Sverzut Barbieri 00d15b298a do not remove sub-evases from ecore_evases list.
they are not there, they're listed inside sub_ecore_evas of parent instead.



SVN revision: 41368
2009-07-16 21:39:48 +00:00
Vincent Torri 7807fa64a0 rename 'x11' to 'xlib' for software x11 based engines when it makes sense
SVN revision: 41330
2009-07-14 21:18:27 +00:00
Cedric BAIL 0c9aead634 Evas_Rectangle are gone. We now use Eina_Rectangle and memory pool is
shared accross the application.


SVN revision: 41170
2009-06-23 13:57:27 +00:00
Cedric BAIL cfd40e9cc4 * ecore_evas: Fix ecore_evas_gl_x11_new usage.
SVN revision: 41167
2009-06-23 09:55:47 +00:00
Lars Munch 9b521201d0 Fix a few more Ecore_List2 to Eina_Inlist conversion typos.
ecore_evas_x.c is just changed for consistency.



SVN revision: 41085
2009-06-17 16:08:26 +00:00
Lars Munch 6b25cf2ad9 Fix typo in Ecore_List2 to Eina_Inlist conversion
SVN revision: 41078
2009-06-17 13:14:02 +00:00
Cedric BAIL eb543607a3 * ecore: Remove Ecore_List2 from ecore_evas.
SVN revision: 41073
2009-06-17 11:42:02 +00:00
Cedric BAIL 3ff7c2300d * ecore: Fix ecore_evas_x uninitialised variable.
SVN revision: 41069
2009-06-17 11:13:11 +00:00
Carsten Haitzler 4672d36251 fix artifacts on window rotation
SVN revision: 41010
2009-06-12 05:32:01 +00:00
Vincent Torri 20108eea57 Add Region API to ecore_x (Xlib using Region and XCB using pixman).
This allow to use the same code in ecore_evas for Xlib and XCB


SVN revision: 40959
2009-06-08 06:34:20 +00:00
Vincent Torri 87b0ca2ab1 add rotation support for the gdi engine
SVN revision: 40916
2009-06-06 06:54:34 +00:00
Carsten Haitzler 68129ccab5 dfb has been broken since rev 39505! <- cedric!
SVN revision: 40733
2009-05-19 06:18:00 +00:00
Vincent Torri 72e17e3589 fix some warnings
SVN revision: 40719
2009-05-18 06:33:28 +00:00
Vincent Torri fab9a2ca4d the mouse_in event has strangely been removed. It's back, now
SVN revision: 40718
2009-05-18 06:19:23 +00:00
Vincent Torri 4065fdd4f5 API BREAK
fix consistentness of ecore_x API. Rename some _del functions to _free ones.

See ticket #302


SVN revision: 40532
2009-05-07 08:35:00 +00:00
Vincent Torri c01d945c99 missing use of ecore_x_drawable_rectangle_fill()
SVN revision: 40360
2009-04-25 07:53:28 +00:00
Vincent Torri 2fd6df87f8 use ecore_x_drawable_rectangle_fill().
SVN revision: 40359
2009-04-25 07:16:59 +00:00
Vincent Torri e9bacbe619 * formatting in ecore_evas_win32.c
* fix fullscreen_set() and borderless_set() functions in ecore_win32
 * change SetWindowLong() to SetWindowLongPtr() as it is deprecated
 * better error management when dealing with SetWindowLongPtr()
 * remove useless SendMessage() calls
 * other minor fixes


SVN revision: 40354
2009-04-24 19:37:09 +00:00
Vincent Torri 00098e2458 fix cast
SVN revision: 40337
2009-04-23 18:43:12 +00:00
Vincent Torri 38fe5f2884 add GDI evas engine support
SVN revision: 40311
2009-04-23 03:24:16 +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 ce5a59b7e5 lutin... release soname patch. verbose svn soname used right now
SVN revision: 40131
2009-04-17 10:01:45 +00:00
Carsten Haitzler 5a740af16d fix ecore-evas-fb fullscreen!
SVN revision: 40125
2009-04-17 01:53:37 +00:00
Vincent Torri 377e89ae28 init and shutdown ecore_event_evas
SVN revision: 40078
2009-04-15 09:41:26 +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 764a5550fa fix compilation on linux after having fixed compilation on windows...
sorry


SVN revision: 39992
2009-04-11 17:20:29 +00:00
Vincent Torri 166c8b63df the header files are a mess in ecore and, unfortunately, the order matters, especially on Windows
SVN revision: 39985
2009-04-11 13:56:18 +00:00
Vincent Torri 5efbc4e310 remove useless ecore_evas_x_**_subwindow_get() functions
SVN revision: 39979
2009-04-11 12:17:14 +00:00
Vincent Torri c2a3c26379 * unused parameters --
* llvm report --


SVN revision: 39977
2009-04-11 10:31:42 +00:00
Vincent Torri f7d7e4e74a API BREAK
for consistentness, ecore_***_window_del is renamed
ecore_***_window_free


SVN revision: 39918
2009-04-10 08:46:41 +00:00
Vincent Torri 2045310c43 * (should) fix the compilation on Mac OS X (ecore_input)
* better check of Cocoa.h

Patch by Andrew Wiliams and myself.

As I had to modify the patch so that it compiles on linux, could
the Mac OS X users check if the compilation is fine ?

Next steps:
 * change the name 'quartz' to 'cocoa'
 * add in ecore_cocoa all the needed functions to be used in ecore_evas
   (windows management, cursors, events, etc...) so that ecore_evas_cocoa.c
   does not contain objective c code anymore



SVN revision: 39915
2009-04-10 06:31:58 +00:00
Stafford Mitchell Horne 3eb42f9fc2 Actually use the correct build flag
SVN revision: 39729
2009-03-26 16:08:45 +00:00
Stafford Mitchell Horne 749e8b1e74 Fix build issues
* Fix warning with mouse move callback
 * If Xrender is disabled, dont build Xrender_Xlib support (caused build failure)


SVN revision: 39713
2009-03-25 15:20:07 +00:00
Vincent Torri e402cd49eb use the new merged xrender engine
SVN revision: 39667
2009-03-24 07:53:31 +00:00
Vincent Torri 3e94ac52b6 * API BREAK: ecore_gc_new can create now a graphic context
with all the values that the X protocol allows. See
   documentation for more info about its use
 * use it in ecore_evas


SVN revision: 39654
2009-03-23 13:28:59 +00:00
Vincent Torri d5f0588c67 as the XCB and Xlib software engines have merged, the
"software_xcb" render method does not exist anymore.


SVN revision: 39612
2009-03-21 20:32:02 +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
Cedric BAIL 2bf2c79957 * Ecore_Input: Make it generic.
SVN revision: 39577
2009-03-19 13:06:16 +00:00
Viktor Kojouharov ca0470e59f make this build again
SVN revision: 39576
2009-03-19 12:36:19 +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
Vincent Torri 08bbf2f99f remove useless libs flags (the link is done with the corresponding .la files)
SVN revision: 39553
2009-03-18 17:01:23 +00:00
Cedric BAIL 8f9b260382 * ecore_evas_x: Remove now useless function.
SVN revision: 39506
2009-03-16 16:40:00 +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
Vincent Torri 8153df719c typo
SVN revision: 39482
2009-03-14 20:42:48 +00:00
Vincent Torri d9d7c7d23b * update configure.ac so that default options are chosen according to the host
* fix requirements
 * fix configuration on mac os x (problem with automake 1.9) and
   add missing values/macro for quartz support
 * small typo in ecore_evas_win32 api
 * use m4 api in m4 files



SVN revision: 39471
2009-03-13 16:35:16 +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
Vincent Torri 0b5c7881a1 * fix possible se fault (spotted by Lars Munch)
* add some info when keys are pressed


SVN revision: 39393
2009-03-06 16:13:18 +00:00
Carsten Haitzler 9911c70dff ECORE_EVAS_FPS_DEBUG now printfs useful data.
SVN revision: 39273
2009-02-28 07:54:47 +00:00
Vincent Torri 7311be0ec4 fix some llvm reports
SVN revision: 39241
2009-02-26 07:46:57 +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
Cedric BAIL 6978e98dc6 * estickies,
* etk,
	* PROTO/exalt,
	* E-MODULES-EXTRA/diskio,
	* E-MODULES-EXTRA/drawer,
	* E-MODULES-EXTRA/penguins,
	* E-MODULES-EXTRA/slideshow,
	* E-MODULES-EXTRA/mail,
	* E-MODULES-EXTRA/forecasts,
	* E-MODULES-EXTRA/iiirk,
	* E-MODULES-EXTRA/places,
	* e,
	* ewl,
	* ecore,
	* elitaire,
	* entrance,
	* e_dbus,
	* efreet: Here we go, move from Ecore_List to Eina_List.

	NOTE: This patch is huge, I did test it a lot, and I hope nothing is
	broken. But if you think something change after this commit, please
	contact me ASAP.


SVN revision: 39200
2009-02-25 11:03:47 +00:00
Gustavo Sverzut Barbieri b8cf731e79 Fix ecore-evas-directfb feed of keyboard events.
This makes eve/webkit-efl work with directfb.



SVN revision: 39184
2009-02-24 22:43:57 +00:00
Jonathan Atton 2c65d61731 from vtorri:
too much return in ecore_win32_window.c
fix seg fault in ecore_evas_win32.c



SVN revision: 39144
2009-02-22 14:54:45 +00:00
Vincent Torri 95d32ad4ce add log
SVN revision: 39130
2009-02-21 22:51:06 +00:00
Vincent Torri 2e8e1f9673 add log
SVN revision: 39124
2009-02-21 16:01:24 +00:00
Vincent Torri 757c5e757e include windows.h. fix compilation when cross-compiling on linux
patch from Lars Munch


SVN revision: 38990
2009-02-10 07:53:16 +00:00
Cedric BAIL 3f767e7cf8 * ecore/src/lib/ecore_evas/ecore_evas_quartz.c,
* ecore/src/lib/ecore_evas/ecore_evas_fb.c,
	* ecore/src/lib/ecore_evas/ecore_evas_x.c,
	* ecore/src/lib/ecore_evas/ecore_evas_directfb.c,
	* ecore/src/lib/ecore_evas/ecore_evas_sdl.c: Prevent use of deleted object.



SVN revision: 38949
2009-02-05 10:45:52 +00:00
Carsten Haitzler 863f9c13f4 as ecore_x makes direct calls to xlib or xcb and xrender - link to them
directly.



SVN revision: 38933
2009-02-04 00:27:48 +00:00
Vincent Torri 29b0f87503 uniformize the inclusion of config.h
SVN revision: 38865
2009-01-31 18:56:17 +00:00
Vincent Torri e18508b701 remove a bit the mess n ecore. It's just the first patch...
* add vim header
 * include config.h when necessary
 * fix the order of some include
 * move the standard header in ecore_private.h to the source files

I have recompiled all the efl and e17, and e17 seems to work fine with these changes.
If you encounter problems with that commit, let me know.


SVN revision: 38864
2009-01-31 18:33:39 +00:00
Vincent Torri 10c6c96c44 fix the render method of the opengl glew engine
Thanks to Roberto Huelga


SVN revision: 38817
2009-01-27 21:58:15 +00:00
Vincent Torri 538fbbd1bc set the window to fullscreen if requested when creating the ecore_evas (win ce)
SVN revision: 38653
2009-01-19 20:30:56 +00:00
Vincent Torri 621e507655 * add Evil cflags and libs in ecore_job and ecore_imf Makefile.am's
in case Evil is not installed in /usr/local
 * define fullscreen default values for the win ce engines in ecore_evas:
   - gdi engine is windowed
   - the other engines are fullscreen


SVN revision: 38647
2009-01-19 18:14:10 +00:00
Vincent Torri f26751a57c * add _move, _resize and _move_resize to ecore_wince and ecore_evas_wince
* small fix for ecore_win32


SVN revision: 38609
2009-01-16 19:03:57 +00:00
Vincent Torri 6a337b0c4e * ecore/ecore_pipe.c:
fix doc

 * ecore_file/Makefile.am:
     add Windows cflags

 * ecore_file/ecore_file_private.h:
     move Evil.h so that EAPI is correctly defined

 * ecore_wince:
     make window_new windowed by default. other backend that gdi might have problems.
     add title_set and fullscreen_set functions.
     do not use aygshell features anymore for fullscreen (it's not free and not always available)
     include missing config.h

 * ecore_evas:
     move Evas.h and Ecore_Getopt.h so that EAPI is correctly defined
     add title_set and fullscreen_set functions.



SVN revision: 38540
2009-01-10 17:57:25 +00:00
Cedric BAIL 61199e56ee Fix sdl engine.
SVN revision: 38277
2008-12-22 11:16:26 +00:00
Gustavo Sverzut Barbieri c36a5f23c3 and we must always pre_free, otherwise we end being called after canvas free.
SVN revision: 38272
2008-12-21 22:33:35 +00:00
Gustavo Sverzut Barbieri 0ec59ba102 must dissociate even if we will not delete the canvas.
otherwise subsequent associate requests will crash on us by using stale pointer.



SVN revision: 38271
2008-12-21 22:29:50 +00:00
Gustavo Sverzut Barbieri 02ced33a33 Oops! ecore must not depend on ecore-evas!
move helper function inside ecore-evas.



SVN revision: 38250
2008-12-20 15:19:48 +00:00
Vincent Torri e66e9cc905 * ecore_win32_window.c:
fix fullscreen

 * ecore_evas_win32.c:
   add fullscreen (d3d and ddraw) and shape (d3d) support
   minor formatting

 * configure.ac:
   enable direct3d support



SVN revision: 38248
2008-12-20 14:37:04 +00:00
Carsten Haitzler a38ab7590d doc++
SVN revision: 38229
2008-12-19 14:44:47 +00:00
Carsten Haitzler d3f645a37a add del flag to associate
SVN revision: 38225
2008-12-19 14:30:03 +00:00
Carsten Haitzler 8da641854b dont resize/move fullscreen canvases
SVN revision: 38224
2008-12-19 13:11:21 +00:00
Carsten Haitzler 6fc7c79741 use new engine merge.
SVN revision: 38175
2008-12-17 08:16:21 +00:00
Gustavo Sverzut Barbieri f29338d413 Bugfix: do not search/delete in non-existent hashes.
SVN revision: 38119
2008-12-12 22:34:20 +00:00
Cedric BAIL 642d8686de Remove ecore_hash and eina_hash use from ecore.
SVN revision: 38105
2008-12-11 13:55:47 +00:00
Vincent Torri 4862bc46f1 * Patch by Dmitriy Mazovka
- add shape support in ecore_win32
  - add drag'n drop support in ecore_win32 (reworked)
 * remove strange character (ecore_evas_win32.c)
 * include Eina.h before defining EAPI (Ecore_Data.h)
 * add -lole32 as lib for DnD, minor thing (configure.ac)

next steps will be the new direct3d engine, and full support
of DnD, shapes and fullscreen for the directdraw engine and
in ecore_evas.


SVN revision: 37831
2008-11-27 19:30:39 +00:00
Vincent Torri e9798f4d5e add Windows CE gdi backend
SVN revision: 37713
2008-11-19 09:24:26 +00:00
Vincent Torri 9b19b7dec4 autotools fixes
* remove useless _DEPENDENCIES variables
 * remove useless files in EXTRA_DIST
 * use -no-undefied directly
 * add some flags when the host is windows ce

make distcheck succeeds on my computer

next step will be to fix the horrible mess in Ecore.h and ecore_private.h


SVN revision: 37406
2008-11-02 09:01:35 +00:00
Vincent Torri 36a04eb80a const++
SVN revision: 37405
2008-11-02 08:40:27 +00:00
Vincent Torri f90666e89b const++
SVN revision: 37404
2008-11-02 08:32:52 +00:00
Vincent Torri 478e8c1e4c fix ecore_evas on Windows CE
SVN revision: 37380
2008-11-01 19:01:58 +00:00
Gustavo Sverzut Barbieri 59c00da15a add some const.
SVN revision: 37318
2008-10-29 20:12:45 +00:00
Gustavo Sverzut Barbieri fe94f35f38 Return associated object.
SVN revision: 37316
2008-10-29 19:50:24 +00:00
Gustavo Sverzut Barbieri 9f45e76c20 Export driver as engine_name.
Also make sure it matches the names used by engines_get().



SVN revision: 37314
2008-10-29 19:31:05 +00:00
Gustavo Sverzut Barbieri 37b9f3af65 use unsigned for 1-bit members.
SVN revision: 37313
2008-10-29 19:07:10 +00:00
Sebastian Dransfeld 6c3723225a parse functions should return the point where they left of.
SVN revision: 37168
2008-10-26 20:05:59 +00:00
Sebastian Dransfeld 92383c7ce4 Don't declare static functions if they are not used.
SVN revision: 37165
2008-10-26 19:56:38 +00:00
Sebastian Dransfeld c343d0dfb9 Don't declare static functions if they are not used.
SVN revision: 37164
2008-10-26 19:54:42 +00:00
Sebastian Dransfeld 71e3ad924c This function returns void
SVN revision: 37163
2008-10-26 19:45:59 +00:00
Gustavo Sverzut Barbieri 0621fd52cc add helper ecore_evas_object_associate.
We usually want to create an Ecore_Evas and attach an object to it, be
it the background, your smart object that will manage the scene (ie:
edje) and this is replicated everywhere. Not anymore!

ecore_evas_new() and ecore_evas_object_associate() will behave much
like regular toolkits "window-new()" and "window-main-child-add()",
actually it was based on elm_win.c and hopefully we can remove that,
or most of that code and replace with this helper.

I'll add an Evas smart object to handle stacks of objects, that is, it
will be a clipped smart object that on resize it will resize every
child to the same size. This means we can associate this stack object
and add a background and then your stuff on top of it.



SVN revision: 37010
2008-10-23 01:00:16 +00:00
Carsten Haitzler f7283eb333 remove some debugging
SVN revision: 36960
2008-10-22 09:25:38 +00:00
Cedric BAIL 0780128787 Remove Evas_List from Ecore.
SVN revision: 36941
2008-10-21 15:54:55 +00:00
Miculcy Brian 0660f3a086 fix warnings, thanks thomasg
SVN revision: 36643
2008-10-13 23:27:58 +00:00