Commit Graph

17 Commits

Author SHA1 Message Date
Kim Woelders 9cb4561227 Indent tweaks, cleanups 2021-08-31 07:47:46 +02:00
Kim Woelders 9d0e6438db Drop unnecessary headers 2021-08-31 07:11:23 +02:00
Kim Woelders 2ea5042e00 Warning cleanups - epplets. 2016-08-19 09:31:22 +02:00
Kim Woelders ee7cfd147d Indent.
SVN revision: 77224
2012-09-30 09:41:07 +00:00
Kim Woelders 5052a0dceb Cleanups.
SVN revision: 65611
2011-11-26 10:37:46 +00:00
Lucas De Marchi 205582b59e Revert and re-apply badnull patch
Revert previous patch generated by badnull.cocci script, and apply the new one.
The main difference is that assert and assert-like functions are not touched
anymore.




SVN revision: 51650
2010-08-26 01:34:13 +00:00
Lucas De Marchi fd4740a25d 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
Kim Woelders 6f9b038c1e Now that we are playing around here - Indent!
SVN revision: 22149
2006-04-15 22:04:48 +00:00
Kim Woelders 6855a6db1e Fix for e16.8.
SVN revision: 21675
2006-04-01 16:14:34 +00:00
Michael Jennings e4cf75a03e Wed Jan 5 20:11:40 PST 2000
(KainX)

New version number and copyright dates that include 2000.


SVN revision: 1859
2000-01-05 16:24:01 +00:00
Michael Jennings 180b8b08ea Added stuff to the focus in/out handlers. I skipped Tom's in case he's
testing shit. :-)


SVN revision: 1492
1999-12-03 19:52:28 +00:00
Tom Gilbert a10eadf816 Fri Nov 12 16:50:11 GMT 1999
(gilbertt)

Changes to E-Clock.c E-Areas.c Emix.x E-Sys.c E-Mountbox.c E-Load.c
E-Memwatch.c

Using atexit(Epplet_cleanup) prevents all those "mulitple spawning on
startup problems" people get.


SVN revision: 1269
1999-11-12 16:48:44 +00:00
Christian Kreibich 811247cb78 Esnprintf is in the house now :)
SVN revision: 1242
1999-11-10 23:37:53 +00:00
Michael Jennings 117ca28b7e Fri Oct 22 23:22:25 PDT 1999
(KainX)

Fixed configure.in so that user-specified $CFLAGS will be honored.  Also
removed all the warnings from compiling.


SVN revision: 955
1999-10-22 23:45:57 +00:00
Michael Jennings 9898d36b95 Fri Oct 22 21:43:33 PDT 1999
(KainX)

Alright, I've got the config stuff working as planned.  Epplet_Init() has the
same parameters as it used to.  If you use config files, make sure to call
Epplet_load_config() AFTER calling Epplet_Init() but BEFORE attempting to
access config data.

Also note the function name changes:  Epplet_save_config(),
Epplet_query_config_data(), and Epplet_modify_config_data().


SVN revision: 951
1999-10-22 22:09:18 +00:00
Christian Kreibich 5231296117 Ok, the config file management should work now. Lock files are used
for instance accounting, every epplet has its own directory in
~/.enlightenment/epplet_config/<epplet-name>, transparent config file
handling is provided. Users only need to query for settings and change
settings. Config settings are saved automatically on exit, which
means that users MUST call Epplet_cleanup() before exiting. Every
epplet instance has its own config file. Also added a mechanism for
defining default settings.

Updated all epplets accordingly.

Look at ConfigTestEpplet.c for the details. It shows what instance it
is running as and keeps a record on how many times that instance
has been run in the config files.


SVN revision: 949
1999-10-22 16:43:22 +00:00
Carsten Haitzler f335cedd01 add epplet from john slee that chnages desktop areas :) great example of
using IPC to control E form an epplet :)


SVN revision: 921
1999-10-21 09:07:38 +00:00