Commit Graph

40 Commits

Author SHA1 Message Date
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
Vincent Torri ed3725ddcd fix returned type of callbacks
SVN revision: 49877
2010-06-26 15:35:30 +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
Carsten Haitzler 921587e70b more work on the sync stuff... looking good now.
SVN revision: 45772
2010-02-01 14:13:48 +00:00
Vincent Torri f55cf1cfa8 fix raster's cleaning for Windows CE
SVN revision: 45297
2010-01-18 18:26:34 +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
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 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
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
Cedric BAIL eb543607a3 * ecore: Remove Ecore_List2 from ecore_evas.
SVN revision: 41073
2009-06-17 11:42:02 +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 38fe5f2884 add GDI evas engine support
SVN revision: 40311
2009-04-23 03:24:16 +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 f7d7e4e74a API BREAK
for consistentness, ecore_***_window_del is renamed
ecore_***_window_free


SVN revision: 39918
2009-04-10 08:46:41 +00:00
Cedric BAIL 2bf2c79957 * Ecore_Input: Make it generic.
SVN revision: 39577
2009-03-19 13:06:16 +00:00
Vincent Torri 8eb538126c remove trailing spaces
SVN revision: 39574
2009-03-19 07:59:59 +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
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
Vincent Torri 2e8e1f9673 add log
SVN revision: 39124
2009-02-21 16:01:24 +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 642d8686de Remove ecore_hash and eina_hash use from ecore.
SVN revision: 38105
2008-12-11 13:55:47 +00:00
Vincent Torri e9798f4d5e add Windows CE gdi backend
SVN revision: 37713
2008-11-19 09:24:26 +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
Sebastian Dransfeld 92383c7ce4 Don't declare static functions if they are not used.
SVN revision: 37165
2008-10-26 19:56:38 +00:00
Cedric BAIL 0780128787 Remove Evas_List from Ecore.
SVN revision: 36941
2008-10-21 15:54:55 +00:00
doursse d569f393d6 put guards around config.h, remove trailing spaces
SVN revision: 35104
2008-07-14 10:06:34 +00:00
Carsten Haitzler 542e51691b ecore_evas activate call.. uses netwm one... eek. need to add xcb.
SVN revision: 34949
2008-06-30 08:39:36 +00:00
doursse 6456e1f6b7 add ecore_evas for wince
SVN revision: 34759
2008-06-06 13:57:03 +00:00