summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* PressureStallMeter: improve display stringsChristian Göttsche2020-12-021-12/+19
| | | | | - Shorten name for header setup menu - Improve caption in bar mode
* Meter: document MeterClass string fieldsChristian Göttsche2020-12-021-4/+4
|
* Use String_eq for readability and consistencyChristian Göttsche2020-12-021-3/+3
|
* Add cast to unsigned char to avoid signed char misuseChristian Göttsche2020-12-021-1/+1
|
* Merge identical conditional branchesChristian Göttsche2020-12-022-6/+2
|
* Drop redundant return statementsChristian Göttsche2020-12-021-2/+0
|
* Compare indices not index with pairChristian Göttsche2020-12-021-1/+1
| | | | | | Fixes always true condition. Found by LGTM.com
* Use enum element name instead of magic numberChristian Göttsche2020-12-021-1/+2
|
* Fix a little typo (spelling) in the styleguideNathan Scott2020-12-011-2/+2
|
* Merge branch 'styleguide-tweak' of https://github.com/natoscott/htop into ↵Nathan Scott2020-12-011-14/+53
|\ | | | | | | natoscott-styleguide-tweak
| * Update docs/styleguide.mdNathan Scott2020-12-011-1/+1
| | | | | | Co-authored-by: BenBE <BenBE@geshi.org>
| * Tweak style guide wording around single code statementsNathan Scott2020-11-281-14/+53
| | | | | | | | | | | | | | | | | | | | There was wording about brace-enclosing single code statements being 'strongly encouraged' - this isn't consistently used and IMO it introduces unnecessary noise in otherwise neat, concise code. I've reworded (dropped) this section and also fixed a handful of minor typos while reading this doc a little more carefully.
* | Print G in gigabyte colorChristian Göttsche2020-11-291-1/+2
| | | | | | | | When printing a size like 27.2G print the G like the 27 in the gigabyte color.
* | Implement Hashtable_clear to empty an existing HashtableBenny Baumann2020-11-292-4/+14
| |
* | Linux: fix process parsing for hidden pid directoriesChristian Göttsche2020-11-291-2/+2
| |
* | TypoChristian Göttsche2020-11-281-1/+1
| |
* | Typo fix in docsBenny Baumann2020-11-281-1/+1
| |
* | Include documentation for COMM and EXEBenny Baumann2020-11-281-0/+6
| |
* | Hide process selection on ESCChristian Göttsche2020-11-288-7/+13
| | | | | | | | | | | | Do not highlight the current process line after pressing ESC in the main screen. Restore after pressing any key.
* | Update even more snprintfsChristian Göttsche2020-11-286-14/+14
| | | | | | | | Use size of actual buffers instead of magic numbers
* | Replace more snprintfs, reduce buffer sizes to what is printedDaniel Lange2020-11-281-19/+19
| |
* | Use 'N/A' instead of 'no perm' for more consistencyBenny Baumann2020-11-282-8/+11
| |
* | Fix reading of device nodes > 2 chars from memory mapsDaniel Lange2020-11-281-4/+4
| |
* | configure: do not check functions we are using unconditionallyChristian Göttsche2020-11-281-1/+6
| |
* | Add compat mode for systems without openat(2)Christian Göttsche2020-11-285-42/+111
| |
* | LinuxProcessList: use openat instead of building path stringsChristian Göttsche2020-11-281-96/+97
| | | | | | | | openat() is available since Linux 2.6.16
* | Drop unused global ProcessList memory fieldsNathan Scott2020-11-275-24/+3
| | | | | | | | | | | | | | | | | | | | The global ProcessList structure contains a couple of unused fields. 'sharedMem' has never been used by any Meter, since its not been anything other than zero in Linux /proc/meminfo for many, many years. The freeMem field is only used in the usedMem calculation, so it can reside on the stack like some other memory variables used within-calculations-only and not exposed to the user via a Meter.
* | Drop unneeded parameters to the ScreenManager constructorNathan Scott2020-11-265-46/+31
| | | | | | | | | | | | | | | | | | | | All calls to ScreenManager_new always pass the same first five values, the orientation is always HORIZONTAL and the y1 parameter is always the height of the passed-in header struct pointer. I think its safe to assert at this point that no VERTICAL orientation will arrive (if it does, its no harm in re-adding this then) - so we can remove unused conditionals (and TODOs) based on orientation too.
* | Make casing of N/A consistent (majority was N/A)Benny Baumann2020-11-261-1/+1
| |
* | Randomly refresh M_LRS calculation, but latest after 2sBenny Baumann2020-11-261-8/+7
| |
* | Distinguish display of no permissions for reading M_LRSBenny Baumann2020-11-261-1/+9
| |
* | Roll our own strtoull implementation specialized to handle the parsing ↵Benny Baumann2020-11-261-20/+54
| | | | | | | | requirements
* | Hardcode actual conversions to read the maps file dataBenny Baumann2020-11-261-8/+49
| |
* | Only calculate M_LRS size every 5 secondsBenny Baumann2020-11-262-3/+22
| |
* | Calculate library size (M_LRS column) from maps fileFynn Wulf2020-11-266-14/+89
| |
* | IOPriorityPanel: drop unnecessary buffer size decrementChristian Göttsche2020-11-261-1/+1
| | | | | | | | xSnprintf guarantees null-termination within the passed size.
* | configure: create typedefs for fixed-sized integers if neededChristian Göttsche2020-11-261-0/+4
| | | | | | | | | | | | If not defined in stdint.h or inttypes.h See https://www.gnu.org/software/autoconf/manual/autoconf-2.62/html_node/Particular-Types.html
* | Fix crash when getCommandStr not overloaded for a platform processChristian Göttsche2020-11-261-1/+1
| | | | | | | | Closes: #343
* | LinuxProcessList_recurseProcTree: compute time only once and mark parent constChristian Göttsche2020-11-251-5/+6
| |
* | Track file descriptors in valgrind scriptChristian Göttsche2020-11-251-1/+1
| |
* | Drop taskstats conditionalChristian Göttsche2020-11-256-38/+11
| | | | | | | | | | | | | | | | | | | | taskstats is only checked on runtime if the column RCHAR, WCHAR, SYSCR, SYSCW, RBYTES, WBYTES, CNCLWB, IO_READ_RATE, IO_WRITE_RATE or IO_RATE is selected. taskstats is currently enabled by default. Drop the taskstats configuration switch, to reduce the maintenance cost.
* | Drop cgroup conditionalChristian Göttsche2020-11-256-30/+6
| | | | | | | | | | | | | | | | | | cgroup is only checked on runtime if the column CGROUP is selected. cgroup is currently disabled by default, but most distributions do enable it. Drop the cgroup configuration switch, to reduce the maintenance cost.
* | Add support to change numeric options in settings screenChristian Göttsche2020-11-2512-153/+330
| | | | | | | | Like delay or highlightDelaySecs
* | Fully support non-ascii characters in Meter-BarChristian Göttsche2020-11-253-8/+28
| | | | | | | | | | | | | | | | | | | | Currently the code does not handle multi-byte characters, so length- computations take the raw count of C characters and not the to displayed size into account. An example is the degree sign for temperatures. Closes: #329
* | LinuxProcessList: fix misspellingChristian Göttsche2020-11-251-5/+5
| |
* | Unify naming of first argument of Platform_getBatteryChristian Göttsche2020-11-2511-36/+36
| | | | | | | | Use percent throughout
* | Improve Fahrenheit temperature configuration textChristian Göttsche2020-11-251-1/+1
| |
* | ProcessLocksScreen_draw: use Process_getCommand instead of raw commChristian Göttsche2020-11-251-1/+1
| |
* | Fix file descriptor leak in LinuxProcessList_readCmdlineFile after xread failureChristian Göttsche2020-11-241-1/+3
| | | | | | | | Found by Coverity
* | Include comm before cmdline if exe could not be read, but comm mismatches ↵Benny Baumann2020-11-243-2/+35
| | | | | | | | | | | | basename from cmdline Also highlights entries where exe was marked deleted

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