Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename Meter.setValues() functions to updateValues() | Explorer09 | 2016-05-04 | 1 | -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 meters | Explorer09 | 2016-03-11 | 1 | -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. | ||||
* | Make UptimeMeter cross-platform again. | Hisham Muhammad | 2014-11-27 | 1 | -10/+5 |
| | |||||
* | Move UptimeMeter back into cross-platform code. | Hisham Muhammad | 2014-11-27 | 1 | -0/+64 |
| | | | | We'll just isolate the platform-dependent bit. | ||||
* | Move UptimeMeter into platform-dependent area. | Hisham Muhammad | 2014-11-27 | 1 | -64/+0 |
| | | | | Set up environment to move other meters. | ||||
* | BUGFIX: Fix crash when adding meters and toggling detailed CPU time. | Hisham Muhammad | 2014-01-16 | 1 | -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 Muhammad | 2012-12-05 | 1 | -3/+6 |
| | | | | UTF-8 display of big numbers. | ||||
* | Remove old memory debugging routines. We have Valgrind nowadays. | Hisham Muhammad | 2011-12-26 | 1 | -1/+0 |
| | |||||
* | major header cleanup | Hisham Muhammad | 2011-12-26 | 1 | -4/+7 |
| | |||||
* | cleanups and fixes, thanks to cppcheck and gcc -Wextra | Hisham Muhammad | 2011-10-25 | 1 | -1/+1 |
| | |||||
* | sanity checks | Hisham Muhammad | 2011-09-08 | 1 | -2/+4 |
| | |||||
* | Tempus fugit. | Hisham Muhammad | 2011-05-26 | 1 | -1/+1 |
| | |||||
* | Tempus fugit. | Hisham Muhammad | 2010-02-25 | 1 | -1/+1 |
| | |||||
* | coverity fixes | Hisham Muhammad | 2009-10-16 | 1 | -1/+1 |
| | |||||
* | simplify uptime calculation | Hisham Muhammad | 2009-03-11 | 1 | -3/+3 |
| | |||||
* | Clean up headers by using 'static' whenever possible. | Hisham Muhammad | 2008-03-09 | 1 | -13/+13 |
| | | | | | Reduces resulting code size. | ||||
* | A fix for long uptimes, sent my Marc Cahalan | Hisham Muhammad | 2006-08-30 | 1 | -1/+1 |
| | |||||
* | Updates for new version of the MakeHeader.py script. | Hisham Muhammad | 2006-06-06 | 1 | -3/+3 |
| | |||||
* | - Overhaul meters implementation; | Hisham Muhammad | 2006-04-10 | 1 | -51/+32 |
| | | | | | | - add AllCPUsMeter; - because of that, the new .htoprc is incompatible with previous released versions. | ||||
* | Initial import. | Hisham Muhammad | 2006-03-04 | 1 | -0/+77 |