Explorer09
99fb3070a2
Explicit "maxItems" property of meters
...
Two changes in this commit:
- All meters now explicitly specify "maxItems" property, even for just
1 item. (Exception is "container" CPU meter classes, which use
CUSTOM_METERMODE.)
- "maxItems" being 0 is now allowed. This will let bar meters and graph
meters render an empty meter.
2016-03-11 10:54:34 +08:00
David Hunt
5e602f18d5
Rename String to StringUtils.
...
Fixes building on case-insensitive filesystems where String.h gets confused with <string.h>.
From d734dacea0a10d0465dad4e95b3421511e7da112 Mon Sep 17 00:00:00 2001
From: David Hunt <dhunt@iolanthe.attlocal.net>
Date: Sat, 11 Jul 2015 20:56:31 -0500
Subject: [PATCH 1/8] Rename String to StringUtils
2015-08-19 13:45:20 -03:00
Hisham Muhammad
5c8b83405b
Merge branch 'master' into wip
...
Conflicts:
Process.c
Process.h
linux/LinuxProcess.c
linux/LinuxProcess.h
linux/LinuxProcessList.c
unsupported/Platform.c
unsupported/Platform.h
2015-03-16 03:22:33 -03:00
Hisham Muhammad
9780c312f4
Fix allocation of processes. Closes #166 .
...
Conflicts:
Process.c
Process.h
ProcessList.c
ScreenManager.c
linux/LinuxProcessList.c
2015-02-23 01:13:40 -03:00
Hisham Muhammad
c2108e5a48
Another mega-patch for the refactoring process.
...
Kinda runs, but functionality from the original main loop
is still missing. Patience.
2015-01-23 03:08:21 -02:00
Hisham Muhammad
430c7c9a9b
Move platform-dependent parts of Linux battery meter.
2014-11-27 21:04:57 -02:00
Hisham Muhammad
9eec37c432
More sanity checks.
2014-04-24 19:54:06 -03:00
Hisham Muhammad
50b701258d
Make static analyzers happy.
2014-04-24 19:46:10 -03:00
Hisham Muhammad
814ce89b45
Oops, fix use of memset.
2014-04-24 19:44:41 -03:00
Hisham Muhammad
659251c501
Fix array limit.
2014-04-24 19:43:27 -03:00
Hisham Muhammad
2fdebf6a29
Remove useless test.
2014-04-24 12:16:21 -03:00
Hisham Muhammad
b1564c2be9
Refactor and fix resource leaks.
2014-04-22 18:19:01 -03:00
Hisham Muhammad
c1e0f6e17c
BUGFIX: Fix crash when adding meters and toggling detailed CPU time.
...
See https://bugzilla.redhat.com/show_bug.cgi?id=987805 for details.
(thanks to Dawid Gajownik for the detailed analysis!)
2014-01-16 01:40:47 -02:00
Hisham Muhammad
00b324bfc1
Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers.
2012-12-05 15:12:20 +00:00
Hisham Muhammad
58676d7001
minor style cleanups
2012-02-02 22:03:07 +00:00
Hisham Muhammad
45f7a4fc8d
Remove old memory debugging routines. We have Valgrind nowadays.
2011-12-26 22:04:29 +00:00
Hisham Muhammad
84281bdc44
major header cleanup
2011-12-26 21:35:57 +00:00
Hisham Muhammad
d1b1cbc757
cleanups and fixes, thanks to cppcheck and gcc -Wextra
2011-10-25 00:05:46 +00:00
Hisham Muhammad
300caa076e
Tempus fugit.
2011-05-26 16:35:07 +00:00
Hisham Muhammad
3fcbcbfda6
Improve battery meter support (thanks to Richard W.) Closes #3063541 .
2010-11-20 19:13:12 +00:00
Hisham Muhammad
a600d5a6e9
Tempus fugit.
2010-02-25 02:08:18 +00:00
Hisham Muhammad
02a30bfecd
warning fixes
2010-02-25 01:43:18 +00:00
Hisham Muhammad
c9e59b4a33
minor tweaks by David Weber
2010-02-22 20:54:01 +00:00
Hisham Muhammad
1371ee28a7
don't use unbounded operations
2009-06-02 04:49:26 +00:00
Hisham Muhammad
20bb68824d
updated battery meter code from Ian Hands, slightly tweaked
2009-04-27 21:48:09 +00:00
Hisham Muhammad
11931f1bc8
ACPI Battery meter
...
contributed by Ian Hands
2008-09-23 06:21:28 +00:00