Commit Graph

20 Commits

Author SHA1 Message Date
Lucas De Marchi d98f684bad 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 5a95840222 More 'make net module compile' changes.
SVN revision: 46982
2010-03-08 06:36:02 +00:00
Christopher Michael 4a7c33e669 More work on getting net to compile.
SVN revision: 46981
2010-03-08 06:23:08 +00:00
Christopher Michael bd897a0606 Work on getting net module to compile again.
SVN revision: 46980
2010-03-08 06:16:41 +00:00
Sebastian Dransfeld bb71e2bdc7 Make non static functions EINTERN
SVN revision: 45447
2010-01-22 20:01:01 +00:00
Christopher Michael 817925d225 Make net compile again.
SVN revision: 45262
2010-01-17 15:59:00 +00:00
Christopher Michael 776baedaf9 Update to use eina_stringshare
SVN revision: 37345
2008-10-31 01:39:42 +00:00
Cedric BAIL 32155e088b Remove Evas list from all E-MODULES.
SVN revision: 36977
2008-10-22 13:53:03 +00:00
Christopher Michael 88550fe7a5 Fix up net & screenshot modules to play nicely.
SVN revision: 33338
2008-01-04 06:39:21 +00:00
Sebastian Dransfeld 0ba90c9c74 Implement id_new()
SVN revision: 31737
2007-09-16 03:32:39 +00:00
Sebastian Dransfeld 2f3ac93e24 Fix for gadcon update. Not added new gadcon functions.
SVN revision: 31732
2007-09-16 01:46:52 +00:00
Peter Wehrfritz 313ebefbee *API BREAK* in Ecore Data
SVN revision: 30971
2007-07-25 17:06:42 +00:00
Christopher Michael 69b39c9a3c Ravenlock's Bsd patch for allowing net module to work on *Bsd
SVN revision: 29165
2007-03-26 01:25:10 +00:00
Christopher Michael aed9c89774 Add option to allow disabling of popup window on mouse_over.
SVN revision: 28412
2007-02-21 02:13:35 +00:00
Christopher Michael 9c4d51e53a Provide a source when sending signals.
SVN revision: 28356
2007-02-14 08:26:14 +00:00
Christopher Michael 735d25b743 Added option to always show text on the icon.
Added option to launch an app on double-click.


SVN revision: 28355
2007-02-14 08:23:45 +00:00
Christopher Michael 2e3c6d180b Remove option to set the poll time. Use a hard-coded time that should be
plenty fast enough to get activity changes.


SVN revision: 28327
2007-02-12 21:23:07 +00:00
Miculcy Brian b21cc0cfdc New configuration option which allows to define the activity level.
SVN revision: 28322
2007-02-12 15:55:25 +00:00
Christopher Michael 54936eddf3 Some additional trapping and a config_updated hook to reset the timer.
Remove the module.edj file as it shouldn't be in cvs.
Some changes to Makefile.am for a better maintainer-clean.

Big Thanks To KainX for his help :)


SVN revision: 28307
2007-02-11 15:47:42 +00:00
Michael Jennings cec260cdd5 Sun Feb 11 04:28:49 2007 Michael Jennings (mej)
devilhorns' new net module.
----------------------------------------------------------------------


SVN revision: 28305
2007-02-11 15:28:53 +00:00