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
Carsten Haitzler
3df7e6ebfc
fix randr bug! -> tunix!
...
SVN revision: 51475
2010-08-21 02:37:20 +00:00
Christopher Michael
f8d86f6d7c
Remove blank line & fix formatting of function params.
...
SVN revision: 51397
2010-08-19 14:41:24 +00:00
Christopher Michael
3e61872e46
Add missing UNUSED.
...
SVN revision: 51396
2010-08-19 14:33:49 +00:00
Christopher Michael
4c30f8ec92
Handle missing case of POLICY_NONE.
...
SVN revision: 51395
2010-08-19 14:32:16 +00:00
Christopher Michael
a154885a59
Add some missing UNUSED macros.
...
SVN revision: 51394
2010-08-19 14:29:05 +00:00
Carsten Haitzler
67782a333f
from t_unix <- add none enum for randr
...
SVN revision: 51387
2010-08-19 08:25:34 +00:00
Sebastian Dransfeld
ff0f25ea7b
Fix inline functions
...
Inline functions which are to be used in serveral files must be
completly written in the .x file.
SVN revision: 51361
2010-08-18 21:27:40 +00:00
Christopher Michael
1e8383c131
Fix 'suggest braces around empty body if statement'.
...
SVN revision: 51291
2010-08-18 16:28:36 +00:00
Christopher Michael
b82186120a
Fix 'unused variable'.
...
SVN revision: 51290
2010-08-18 16:26:20 +00:00
Mike Blumenkrantz
236d58f0de
ecore_thread_pool -> ecore_thread_local
...
SVN revision: 51272
2010-08-18 08:56:44 +00:00
Vincent Torri
aaffd2acac
fix compilation without thread support
...
SVN revision: 51267
2010-08-17 19:21:47 +00:00
Cedric BAIL
59f3bf1eb6
* ecore: const Eina_Bool don't make any sense.
...
SVN revision: 51252
2010-08-17 14:48:21 +00:00
Lucas De Marchi
32a891e57e
Don't return int in functions returning Eina_Bool
...
SVN revision: 51201
2010-08-16 12:03:49 +00:00
Carsten Haitzler
e286f48745
and now ecore is 1.0.0 ready too.
...
SVN revision: 51165
2010-08-16 08:17:24 +00:00
Joerg Sonnenberger
df0903779c
From: Joerg Sonnenberger <joerg@britannica.bec.de>
...
Subject: [E-devel] ecore's poll file manager
Hi all,
attached is a small bugfix for ecore. If the to-be-monitored path
doesn't exist, the poll monitor currently tries to remove an item from a
list which was never hooked up.
SVN revision: 51123
2010-08-15 02:59:32 +00:00
Cedric BAIL
2531cd8114
* ecore: fix cancel from another thread.
...
SVN revision: 51119
2010-08-14 16:15:09 +00:00
Mike McCormack
3bdbb34d64
From: Mike McCormack <mj.mccormack@samsung.com>
...
This patch implements the ecore main loop in terms of the GTK main loop, so
ecore is a layer on top of glib.
Compared the the current glib integration in ecore, this has the added
advantage of allowing use of EFL libraries in GTK.
SVN revision: 51113
2010-08-14 11:19:03 +00:00
Leif Middelschulte
e7e09623ef
From: Leif Middelschulte <leif.middelschulte@gmail.com>
...
patch for ecore-x xrandr 1.3 support - breaks previous api. final api
change (i know about) before we go alpha. in to svn we go.
SVN revision: 51109
2010-08-14 10:21:03 +00:00
Eduardo de Barros Lima
4cc5441313
Ecore_Getopt: Fix attributions
...
Modern languages in general use the '=' character for attribution, while
',' character is for something else.
SVN revision: 51082
2010-08-13 15:34:25 +00:00
Lucas De Marchi
1c651049c5
Apply memset-calloc.cocci
...
Change calls to malloc + memset to calloc whenever an automatic conversion can
be done.
Possible candidates are not treated here, only the ones we can be sure the
conversion is safe.
SVN revision: 51078
2010-08-13 12:53:08 +00:00
Cedric BAIL
a6645cb746
* eina: fix eina array threadsafe version.
...
Also add iterator and accessor ability to walk threadsafely.
Rename EINA_EACH to EINA_EACH_CB to match other callback cast.
SVN revision: 51000
2010-08-11 14:32:30 +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
6b5d5eab73
Do not compare pointers to 0
...
SVN revision: 50973
2010-08-10 19:24:38 +00:00
Carsten Haitzler
f3f7274796
shapeinput too
...
SVN revision: 50879
2010-08-07 01:32:07 +00:00
Carsten Haitzler
2692e43cf1
shape event gets info.
...
SVN revision: 50878
2010-08-07 01:27:25 +00:00
Lucas De Marchi
bbc863fbe7
init/shutdown ecore in ecore_x_init
...
2 simple rules:
1) init what you use
2) shutdown what you init
SVN revision: 50836
2010-08-05 13:50:47 +00:00
Lucas De Marchi
4f12b27ec7
Fix return value
...
SVN revision: 50835
2010-08-05 13:48:43 +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
Nicolas Aguirre
bd0d948867
uncrustify ecore directfb
...
SVN revision: 50815
2010-08-04 16:17:53 +00:00
Nicolas Aguirre
53380ff916
Use english messages for error log.
...
SVN revision: 50814
2010-08-04 16:12:12 +00:00
Mike Blumenkrantz
a475971aaa
convert all function pointers to typedefs, add doxy stubs for typedefs.
...
note: I've chosen to consolidate typedefs where possible to simplify things
my time is limited this week, so feel free to expand on the doxy stubs I've added if you know what they do
SVN revision: 50803
2010-08-04 02:55:20 +00:00
Carsten Haitzler
ee1b715780
support calls++
...
SVN revision: 50760
2010-08-03 09:02:27 +00:00
Mike Blumenkrantz
bec24bf71f
fix random value generator.
...
SPANK SPANK SPANK!!!
SVN revision: 50750
2010-08-02 19:36:37 +00:00
Mike Blumenkrantz
54a05dc2aa
re-reformat
...
SVN revision: 50747
2010-08-02 18:54:27 +00:00
Mike Blumenkrantz
d07a90f62a
re-uncrustify
...
SVN revision: 50745
2010-08-02 17:47:49 +00:00
Mike Blumenkrantz
122ec75b01
return void* for data functions; depend on user not to be stupid (hahahahahah)
...
fix doxy to display correctly and be accurate once again
TODO: add functions to rwlock global data while threads are modifying it?
SVN revision: 50692
2010-07-30 20:33:32 +00:00
Mike Blumenkrantz
5d52fce3f6
rrrrrrrrrrrrrr stupid enum!
...
SVN revision: 50689
2010-07-30 17:03:34 +00:00
Mike Blumenkrantz
8c946dff90
grrrrr this enum is really starting to piss me off
...
SVN revision: 50688
2010-07-30 15:57:19 +00:00
Mike Blumenkrantz
d25cc594f9
remove ecore_thread_pool_data_wait, make thread data struct private again, return void* on _set(), fix global_wait to not mutex longer than wait time when no data added
...
SVN revision: 50687
2010-07-30 15:56:18 +00:00
Lucas De Marchi
8989ca1261
Spell: rememebr => remember
...
SVN revision: 50686
2010-07-30 11:34:08 +00:00
Mike Blumenkrantz
7c45637e38
add data freeing support to ecore thread data api
...
TO FUTURE MIKE: you were too tired to update the doxy last night and instead of writing the doxy updates you fell asleeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
SVN revision: 50682
2010-07-30 08:52:18 +00:00
Mike Blumenkrantz
bc39497059
ssl cert cleanups: round 3
...
fix bitmask detection and refcount more correctly
SVN revision: 50679
2010-07-30 06:47:59 +00:00
Carsten Haitzler
ffc048d5e4
doc++
...
SVN revision: 50673
2010-07-30 02:57:39 +00:00
Carsten Haitzler
6dd1042033
fix close before fd handler del's
...
SVN revision: 50670
2010-07-30 02:50:50 +00:00
Carsten Haitzler
bdce85e21c
del x fd handler before close.
...
SVN revision: 50669
2010-07-30 02:44:43 +00:00
Carsten Haitzler
24bf638323
clean up epoll stuff a little bit. 32 events now.
...
SVN revision: 50668
2010-07-30 02:42:47 +00:00
Carsten Haitzler
0b3b437823
close after del fd handler
...
SVN revision: 50667
2010-07-30 02:42:17 +00:00
Carsten Haitzler
e3d14a1032
formatting ewwww
...
SVN revision: 50665
2010-07-30 00:35:57 +00:00