Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Split RichString_(append|appendn|write) into wide and ascii | Christian Göttsche | 2020-12-08 | 1 | -8/+8 |
| | | | | | | | | RichString_writeFrom takes a top spot during performance analysis due to the calls to mbstowcs() and iswprint(). Most of the time we know in advance that we are only going to print regular ASCII characters. | ||||
* | Use sizeof buffer instead of magic number | Christian Göttsche | 2020-12-08 | 1 | -4/+4 |
| | |||||
* | Introduce METER_BUFFER_CHECK and METER_BUFFER_APPEND_CHR to cleanup writing ↵ | Christian Göttsche | 2020-12-06 | 1 | -6/+5 |
| | | | | | | to bar buffers Closes: #294 | ||||
* | Use size_t as len type for Meter_UpdateValues | Christian Göttsche | 2020-12-06 | 1 | -1/+1 |
| | | | | Most of the time the parameter is passed to snprintf type functions | ||||
* | Make all required includes explicit | Benny Baumann | 2020-10-18 | 1 | -6/+2 |
| | | | | Information as seen by IWYU 0.12 + clang 9 on Linux | ||||
* | Mark Object pointer to _display function const | Christian Göttsche | 2020-10-10 | 1 | -2/+2 |
| | |||||
* | Mark Object instances const | Christian Göttsche | 2020-10-07 | 1 | -1/+1 |
| | |||||
* | Update License consistently to GPLv2 as per COPYING file | Daniel Lange | 2020-10-05 | 1 | -1/+1 |
| | |||||
* | Covert Meter attributes to file-local constant arrays | Christian Göttsche | 2020-09-29 | 1 | -2/+4 |
| | |||||
* | Axe automated header generation. | Zev Weiss | 2020-09-03 | 1 | -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. | ||||
* | Clean up existing whitespace | Daniel Flanagan | 2019-10-31 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | use dynamic units for text display | Christian Hesse | 2015-08-27 | 1 | -12/+7 |
| | | | | Signed-off-by: Christian Hesse <mail@eworm.de> | ||||
* | make units more dynamic | Christian Hesse | 2015-08-27 | 1 | -1/+9 |
| | | | | Signed-off-by: Christian Hesse <mail@eworm.de> | ||||
* | Changed MemoryMeter and SwapMeter to use short memory sizes | Tomasz Kramkowski | 2015-06-09 | 1 | -1/+1 |
| | | | | | The MemoryMeter and SwapMeter now use the short GNU Coreutils style format to represent memory sizes. | ||||
* | Add longer descriptions to available meters. | Hisham Muhammad | 2015-02-03 | 1 | -3/+3 |
| | |||||
* | Sorry about the mega-patch. | Hisham Muhammad | 2015-01-21 | 1 | -10/+3 |
| | | | | | This is a work-in-progress, code is currently broken. (Some actions, and notably, the header, are missing.) | ||||
* | Make blue text more readable. Closes #55. | Hisham Muhammad | 2014-04-24 | 1 | -1/+1 |
| | |||||
* | BUGFIX: Fix crash when adding meters and toggling detailed CPU time. | Hisham Muhammad | 2014-01-16 | 1 | -1/+1 |
| | | | | | See https://bugzilla.redhat.com/show_bug.cgi?id=987805 for details. (thanks to Dawid Gajownik for the detailed analysis!) | ||||
* | Remove explicit calls to curses.h in other files | Hisham Muhammad | 2013-02-26 | 1 | -1/+0 |
| | |||||
* | Changes in object model: separate class objects to store vtable. Also, nicer ↵ | Hisham Muhammad | 2012-12-05 | 1 | -3/+7 |
| | | | | 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 |
| | |||||
* | Tempus fugit. | Hisham Muhammad | 2011-05-26 | 1 | -1/+1 |
| | |||||
* | Remove arbitrary limit from rich strings | Hisham Muhammad | 2010-11-22 | 1 | -2/+1 |
| | | | | | | | | | Fix subtree hiding Fix reading of CPU values in hidden threads Fix hiding of zombie processes as kernel threads Remove "debug proc" code Code cleanup in processElements | ||||
* | Tempus fugit. | Hisham Muhammad | 2010-02-25 | 1 | -1/+1 |
| | |||||
* | warning fixes | Hisham Muhammad | 2010-02-25 | 1 | -5/+5 |
| | |||||
* | Clean up headers by using 'static' whenever possible. | Hisham Muhammad | 2008-03-09 | 1 | -14/+14 |
| | | | | | Reduces resulting code size. | ||||
* | Perform RichString operations by hand. | Hisham Muhammad | 2006-07-12 | 1 | -1/+1 |
| | | | | | Avoid unnecessary operations when processing entries on ProcessList. | ||||
* | 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 | -43/+24 |
| | | | | | | - add AllCPUsMeter; - because of that, the new .htoprc is incompatible with previous released versions. | ||||
* | Initial import. | Hisham Muhammad | 2006-03-04 | 1 | -0/+90 |