summaryrefslogtreecommitdiffstats
path: root/ClockMeter.c
Commit message (Collapse)AuthorAgeFilesLines
* Use size_t as len type for Meter_UpdateValuesChristian Göttsche2020-12-061-1/+1
| | | | Most of the time the parameter is passed to snprintf type functions
* Spacing around operatorsBenny Baumann2020-11-021-1/+1
|
* Make all required includes explicitBenny Baumann2020-10-181-2/+5
| | | | Information as seen by IWYU 0.12 + clang 9 on Linux
* Mark Object instances constChristian Göttsche2020-10-071-1/+1
|
* Update License consistently to GPLv2 as per COPYING fileDaniel Lange2020-10-051-1/+1
|
* Covert Meter attributes to file-local constant arraysChristian Göttsche2020-09-291-1/+1
|
* Axe automated header generation.Zev Weiss2020-09-031-3/+0
| | | | | | | | | | | | | | Reasoning: - implementation was unsound -- broke down when I added a fairly basic macro definition expanding to a struct initializer in a *.c file. - made it way too easy (e.g. via otherwise totally innocuous git commands) to end up with timestamps such that it always ran MakeHeader.py but never used its output, leading to overbuild noise when running what should be a null 'make'. - but mostly: it's just an awkward way of dealing with C code.
* Rename Meter.setValues() functions to updateValues()Explorer092016-05-041-2/+2
| | | | | | | | | | | | Rationale (copied from htop issue #471): The function name "setValues" is misleading. For most OOP (object- oriented programming) contexts, setXXX functions mean they will change some member variables of an object into something specified in function arguments. But in the *Meter_setValues() case, the new values are not from the arguments, but from a hard-coded source. The caller is not supposed to change the values[] to anything it likes, but rather to "update" the values from the source. Hence, updateValues is a better name for this family of functions.
* Explicit "maxItems" property of metersExplorer092016-03-111-0/+1
| | | | | | | | | 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.
* get a useful tolal for clock meterChristian Hesse2015-08-281-1/+1
|
* Use reentrant version to silence warnings.Hisham Muhammad2014-04-211-1/+2
|
* BUGFIX: Fix crash when adding meters and toggling detailed CPU time.Hisham Muhammad2014-01-161-1/+0
| | | | | See https://bugzilla.redhat.com/show_bug.cgi?id=987805 for details. (thanks to Dawid Gajownik for the detailed analysis!)
* Changes in object model: separate class objects to store vtable. Also, nicer ↵Hisham Muhammad2012-12-051-3/+6
| | | | UTF-8 display of big numbers.
* Remove old memory debugging routines. We have Valgrind nowadays.Hisham Muhammad2011-12-261-1/+0
|
* major header cleanupHisham Muhammad2011-12-261-3/+7
|
* Tempus fugit.Hisham Muhammad2011-05-261-1/+1
|
* Tempus fugit.Hisham Muhammad2010-02-251-1/+1
|
* Clean up headers by using 'static' whenever possible.Hisham Muhammad2008-03-091-7/+7
| | | | | Reduces resulting code size.
* Updates for new version of the MakeHeader.py script.Hisham Muhammad2006-06-061-3/+3
|
* - Overhaul meters implementation;Hisham Muhammad2006-04-101-35/+17
| | | | | | - add AllCPUsMeter; - because of that, the new .htoprc is incompatible with previous released versions.
* Initial import.Hisham Muhammad2006-03-041-0/+54

© 2014-2024 Faster IT GmbH | imprint | privacy policy