Commit Graph

679 Commits

Author SHA1 Message Date
Kim Woelders 9800689a7c Eliminate use of malloc.h. 2013-03-24 23:27:28 +01:00
Kim Woelders 26f04329f9 Fix autogen.sh after m4 directory change. 2013-03-16 13:26:41 +01:00
Kim Woelders a87fc81f0a Add AC_CONFIG_MACRO_DIR and ACLOCAL_AMFLAGS.
SVN revision: 82725
2013-01-13 13:09:58 +00:00
Kim Woelders 83c964a105 Change obsolete INCLUDES to AM_CPPFLAGS.
Also fix incorrect api include path (for epplet.h).

SVN revision: 82724
2013-01-13 13:09:56 +00:00
Kim Woelders 777db67d85 0.14.000.
SVN revision: 82723
2013-01-13 13:09:52 +00:00
Kim Woelders 24c96a6ec3 Version 0.14.
SVN revision: 77331
2012-10-02 18:43:30 +00:00
Kim Woelders 4dfe5f175e Fix linking on debian.
Patch by The Wanderer.

SVN revision: 77228
2012-09-30 09:41:40 +00:00
Kim Woelders 7e8e4fbc92 Fix linking on Fedora with ld.gold.
SVN revision: 77227
2012-09-30 09:41:38 +00:00
Kim Woelders f642c0da22 Minor cleanups in the comms department.
SVN revision: 77226
2012-09-30 09:41:36 +00:00
Kim Woelders 22e7b1bbae Use XkbKeycodeToKeysym() in stead of XKeycodeToKeysym().
Avoids deprecation warning.

SVN revision: 77225
2012-09-30 09:41:34 +00:00
Kim Woelders ee7cfd147d Indent.
SVN revision: 77224
2012-09-30 09:41:07 +00:00
Kim Woelders a03689744e Add support for reading battery status from /sys/class/power_supply.
Patch by Melvin Meadlin.

SVN revision: 65612
2011-11-26 10:37:48 +00:00
Kim Woelders 5052a0dceb Cleanups.
SVN revision: 65611
2011-11-26 10:37:46 +00:00
Kim Woelders 29b192c412 Using -rpath should not be necessary.
..._DEPENDENCIES shouldn't be either.

SVN revision: 65610
2011-11-26 10:37:44 +00:00
Kim Woelders 6888019ca6 0.13.000
SVN revision: 65609
2011-11-26 10:37:41 +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
Lucas De Marchi 9c2a943418 Apply badzero.cocci, badnull.cocci and badnull2.cocci
Since badzero.cocci depends on coccinelle knowledge about a variable being a pointer
and about a function returning a pointer, maybe there are false negatives.



SVN revision: 51092
2010-08-13 17:04:13 +00:00
Lucas De Marchi 6d588aa309 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
Lucas De Marchi 1ed7653a27 Do not compare pointers to 0
SVN revision: 50973
2010-08-10 19:24:38 +00:00
Lucas De Marchi 2d992bb760 Spell: rememebr => remember
SVN revision: 50686
2010-07-30 11:34:08 +00:00
Lucas De Marchi deadbb382c Fix wrong type in malloc
Bugs found by bad-malloc.cocci



SVN revision: 50194
2010-07-12 03:35:43 +00:00
Kim Woelders ac5648a12c Version 0.13.
SVN revision: 48476
2010-04-30 14:04:54 +00:00
Kim Woelders b907c9f828 Fix some warnings.
SVN revision: 48475
2010-04-30 14:04:50 +00:00
Kim Woelders 4b65b51a5c Bump revision, autofoo cleanups.
SVN revision: 47765
2010-04-05 17:47:11 +00:00
Kim Woelders ddaa1d19ac Indent
SVN revision: 46481
2010-02-25 20:09:39 +00:00
Kim Woelders f57262369d Add option to ignore error for missing device (patch by Melvin Meadlin II).
Useful for when devices are external and removed, or when the module
has to be reloaded.

SVN revision: 46480
2010-02-25 20:09:37 +00:00
Kim Woelders 123d3649c2 Fix some warnings on 64 bit platforms.
SVN revision: 46479
2010-02-25 20:09:34 +00:00
Kim Woelders 0812b7d329 Fix linking with --no-add-needed.
SVN revision: 46160
2010-02-14 08:08:54 +00:00
Kim Woelders 8b754c1f3f Remove AM_MAINTAINER_MODE.
SVN revision: 46159
2010-02-14 08:08:29 +00:00
Kim Woelders 5fe260debb Version 0.12.
SVN revision: 38437
2009-01-03 09:09:28 +00:00
Kim Woelders 3942c19a02 Autofoo tweaks.
SVN revision: 38436
2009-01-03 09:01:16 +00:00
Kim Woelders 54c47230bf Avoid some crashes on early exit. Cleanups.
SVN revision: 38413
2009-01-01 20:42:28 +00:00
Kim Woelders 5c6abb57ff E-PlayCD: Show device file name in error messages.
SVN revision: 38412
2009-01-01 20:42:25 +00:00
Kim Woelders 6d8b0e7594 E-SD: Fix crash when ESD is not running on startup.
SVN revision: 38411
2009-01-01 20:42:23 +00:00
Kim Woelders f87f3959de Emix: Show device file name in error messages.
SVN revision: 38410
2009-01-01 20:42:20 +00:00
Kim Woelders 4e3c05ed44 E-Wireless: Correct epplet name.
SVN revision: 38409
2009-01-01 20:42:18 +00:00
Kim Woelders 5b1aa90bba Spec file tweaks.
SVN revision: 38408
2009-01-01 20:42:16 +00:00
Kim Woelders 3f5450a1fd About epplet tweaks (edox) - Remove fonts, use default bg.png.
SVN revision: 38407
2009-01-01 20:42:13 +00:00
Kim Woelders f2f752010e Bump version, cleanups.
SVN revision: 36463
2008-10-05 21:28:00 +00:00
Peter Wehrfritz aad4270f7f configure.in -> configure.ac
SVN revision: 36367
2008-09-30 23:54:31 +00:00
Kim Woelders f3b3be3324 Remove .cvsignore.
SVN revision: 35637
2008-08-23 23:29:40 +00:00
Kim Woelders 5eb5fc6f6d Autofoo cleanups.
SVN revision: 35631
2008-08-23 17:47:10 +00:00
Kim Woelders 9bde183d3b .gitignore
SVN revision: 35630
2008-08-23 17:47:07 +00:00
Kim Woelders 793ebd0127 Remove RCS tags and debian remnants.
SVN revision: 35629
2008-08-23 15:56:25 +00:00
Kim Woelders 22536b034e Remove obsolete debian stuff.
SVN revision: 35628
2008-08-23 15:47:10 +00:00
Kim Woelders 718ea6987a Corrupt - Restore.
SVN revision: 35626
2008-08-23 15:42:22 +00:00
Kim Woelders acb7897a96 Corrupt - Remove.
SVN revision: 35625
2008-08-23 15:39:15 +00:00
Kim Woelders 21bf2dc09b Another one.
SVN revision: 35624
2008-08-23 15:28:54 +00:00
Kim Woelders 57abe9ef06 Another one.
SVN revision: 35623
2008-08-23 15:27:48 +00:00