Commit Graph

679 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 83e1e71bee Introduce Epplet_adjust_priority()
Avoiding some code duplication.
2021-08-31 07:11:23 +02:00
Kim Woelders a128ce65ce Drop snprintf source
Nobody hasn't got that these days.

Also drop some unused autofoo stuff.
2021-08-31 07:11:23 +02:00
Kim Woelders b0cbcb1f8a Add option to build with asan 2021-08-31 07:11:11 +02:00
Kim Woelders b0192f9165 Drop old hint stuff
Has probably been obsolete for more than a decade by now.
2021-08-23 14:40:42 +02:00
Kim Woelders c0fb557700 Drop obsolete AC_HEADER_SYS_WAIT 2021-08-23 14:40:42 +02:00
Kim Woelders 901f4af699 Eliminate obsolete AC_HEADER_TIME 2021-03-26 16:33:08 +01:00
Kim Woelders effc4cc774 Use fabs(), not abs() on doubles 2020-12-09 18:05:49 +01:00
Kim Woelders 9b37aee247 configure.ac: Drop unnecessary prefix stuff 2020-03-07 10:26:53 +01:00
Kim Woelders e3e1717145 Fix incorrect check for __attribute__ ((unused)))
Worked with gcc which allows nested functions but not with
clang-analyzer which doesn't.
2020-02-08 08:41:32 +01:00
Kim Woelders 3274b92440 autogen.sh: Add -n as alternative to NOCONFIGURE 2020-02-08 08:41:32 +01:00
Kim Woelders a17caca4c7 Update .gitignore 2020-02-08 08:41:32 +01:00
Kim Woelders 0d88c6d795 Enable visibility hiding by default
Makes next to no difference in sizes.
Let's just do it anyway.
2019-03-13 19:25:12 +01:00
Kim Woelders 2e970c84f8 Fix build with -fvisibility=hidden
Just using EAPI from Imlib2.h.
2019-03-13 18:52:38 +01:00
Kim Woelders 722ca7bb81 Warning fixes for gcc 9 2019-02-10 05:51:07 +01:00
Kim Woelders de7383cb1a Update .gitignore 2019-02-10 05:50:43 +01:00
Kim Woelders c00cefd35e E-Power: Enable using POWER_SUPPLY_POWER_NOW and POWER_SUPPLY_ENERGY_... too 2018-11-03 07:25:28 +01:00
Kim Woelders 3b703b57a2 E-Power: Cleanups 2018-10-06 19:31:40 +02:00
Kim Woelders 027b09599a 0.16.000. 2018-10-06 19:31:40 +02:00
Kim Woelders 71597ceb7b Reintroduce acflags for configuration of rpmbuilds 2018-10-05 15:44:01 +02:00
Kim Woelders 32fb2eee32 Version 0.16. 2018-08-13 15:27:53 +02:00
Kim Woelders 49aafdaf62 Change Epplet_dialog_ok() to printf() style
.. avoiding some format-truncation warnings.
2018-08-13 13:22:08 +02:00
Kim Woelders 03408c7d36 Avoid format-truncation warning 2018-08-12 17:39:13 +02:00
Kim Woelders fa26f27075 Fix incorrect buffer size 2018-08-12 17:35:56 +02:00
Kim Woelders d25de2e202 Simplify autogen.sh 2018-08-12 16:27:16 +02:00
Kim Woelders cc3232f8d2 Spec file cleanups 2018-08-12 16:24:42 +02:00
Kim Woelders 27ae1328ae Version 0.15. 2017-04-16 13:47:36 +02:00
Kim Woelders 2024b0345d Build silently (use AM_SILENT_RULES). 2017-04-16 13:16:44 +02:00
Kim Woelders f8ea2e08d0 Build .xz tarball too. 2017-04-16 13:05:51 +02:00
Kim Woelders 7895a582ce Warning fix for gcc 7. 2017-02-12 20:16:35 +01:00
Kim Woelders 3f57e098f1 Fix issue found by gcc 6.
../../../epplets/E-Exec.c: In function ‘run_contents’:
../../../epplets/E-Exec.c:61:44: error: iteration 49 invokes undefined behavior [-Werror=aggressive-loop-optimizations]
        command_history[i] = command_history[i + 1];
                             ~~~~~~~~~~~~~~~^~~~~~~
../../../epplets/E-Exec.c:60:5: note: within this loop
     for (i = 0; i < MAX_HIST_LEN; i++)
     ^~~
2016-08-19 09:31:22 +02:00
Kim Woelders 2ea5042e00 Warning cleanups - epplets. 2016-08-19 09:31:22 +02:00
Kim Woelders 919dc4c069 Warning cleanups - api. 2016-08-19 09:31:09 +02:00
Kim Woelders bb351a0665 Autofoo update (warnings). 2016-08-19 09:31:09 +02:00
Kim Woelders 8fa9a94c57 Autofoo update (unused, func).
Add __UNUSED__ and __func__ stuff from e16.
2016-08-19 09:31:09 +02:00
Kim Woelders ee82f13d2f Don't remove m4 when cleaning. 2016-08-19 09:31:09 +02:00
Kim Woelders 4329400927 Autofoo update (AC_PROG_LIBTOOL -> LT_INIT).
Also tidy up a bit in Makefile.am.
2014-02-16 10:44:03 +01:00
Kim Woelders 3ae4a353ae E-Power: Fix showing image when battery is > 100% full(?). 2013-07-25 20:19:36 +02:00
Kim Woelders 0c472462c8 E-Power: Mode tweaks.
- Try newest (most likely?) method first.
- Enable selecting specific mode (for debug).
2013-07-25 20:19:36 +02:00
Kim Woelders ed72a3550d E-Power: Simplifications. 2013-07-25 20:19:35 +02:00
Kim Woelders f126801893 E-Power: Some refactoring. 2013-07-14 20:18:01 +02:00
Kim Woelders be52365c1c E-Power: Timer tweaks.
Change all timeouts to 10 s.
2013-07-14 20:10:16 +02:00
Kim Woelders 2a2b07b2df E-Power: Cosmetics. 2013-07-14 16:40:16 +02:00
Kim Woelders f1c8766cca Use "wop" in stead of ancient "remember" IPC command.
Already done in remember case, seems appropriate for unremembering too.
2013-07-14 16:39:59 +02:00
Kim Woelders 695a39808a Change MAX to MAXVAL to avoid name clashes. 2013-07-12 23:02:00 +02:00
Kim Woelders e00a53d390 Fix optional libgtop usage. 2013-07-12 23:00:17 +02:00
Kim Woelders 0b15bff14f Change package name to e16-epplets for package naming consistency. 2013-07-12 22:23:19 +02:00
Kim Woelders 631daee134 Remove obsolete USE_OLD_REMEMBER/NO_AUTO_RESPAWN stuff. 2013-07-12 22:23:18 +02:00
Kim Woelders 30baa4ff7c Autofoo cleanups.
- Remove obsolete AC_TYPE_SIGNAL.
- Remove unnecessary AC_GCC_TRADITIONAL.
- Remove unrecommended AM_SANITY_CHECK.
2013-07-12 22:13:16 +02:00