summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Release 3.1.03.1.0Nathan Scott2021-09-211-1/+1
|
* Some minor editorial changes to the readmeBenny Baumann2021-09-201-7/+7
|
* Bump to rc3, likely final release commits for 3.1.0Nathan Scott2021-09-201-1/+1
|
* Merge branch 'cgzones-readme'3.1.0rc3Nathan Scott2021-09-201-45/+55
|\
| * Merge branch 'readme' of https://github.com/cgzones/htop into cgzones-readmeNathan Scott2021-09-201-45/+55
|/|
| * Update ReadMeChristian Göttsche2021-09-191-45/+55
| | | | | | | | | | | | | | Add license and repology badge, improve several wording, improve several sections. [skip ci]
* | Merge branch 'cgzones-multicolumn'Nathan Scott2021-09-204-1/+18
|\ \
| * | Merge branch 'multicolumn' of https://github.com/cgzones/htop into ↵Nathan Scott2021-09-204-1/+18
|/| | | | | | | | | | | cgzones-multicolumn
| * | Header: do not let multi-column meters expand to empty neighborsChristian Göttsche2021-09-184-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extending to right neighbors is intended for text meters with an overlong content, so the whole text is shown if possible. Multi column meters, like the combined memory and swap meter, position its text depending on the given total width; keep the position to the original assigned header slot. Short term resolution for #796
* | | Merge branch 'cgzones-mouse'Nathan Scott2021-09-201-2/+2
|\ \ \ | |_|/ |/| |
| * | Merge branch 'mouse' of https://github.com/cgzones/htop into cgzones-mouseNathan Scott2021-09-201-2/+2
|/| |
| * | MainPanel: do not reset on disabled mouse eventsChristian Göttsche2021-09-181-2/+2
| | | | | | | | | | | | Do not reset the hidden process selection (and hidden function bar) on mouse events, when mouse support is disabled.
* | | Fix typoChristian Göttsche2021-09-181-1/+1
| |/ |/|
* | Fix typo in gettime implementation on darwinBenny Baumann2021-09-181-1/+2
|/
* Merge pull request #779 from BenBE/percent-highlightNathan Scott2021-09-141-0/+2
|\ | | | | Highlight percentages similar to large numbers
| * Process_printPercentage using one color transitionNathan Scott2021-09-141-1/+1
| | | | | | Update Process_printPercentage such that color change happens only once at 100% and beyond.
| * Highlight large percentages similar to large memory columnsBenny Baumann2021-09-051-0/+2
| |
* | Header: cache number of columns in HeaderLayout_getColumnsChristian Göttsche2021-09-121-1/+1
| | | | | | | | | | The header layout, and therefore the number of columns, should never be changed within such loop.
* | Linux: recalculate LRS valueChristian Göttsche2021-09-121-1/+1
| | | | | | | | | | The LRS value is only zero in the first cycle; drop the check to recalculate while running.
* | valgrind: rewrite ncurses suppressionsChristian Göttsche2021-09-111-33/+17
| | | | | | | | | | Simplify and update valgrind suppressions for possible leak and reachable memory inside ncurses.
* | valgrind: track origin of uninitialised valuesChristian Göttsche2021-09-111-1/+1
| |
* | HeaderOptionsPanel: select the current not saved optionChristian Göttsche2021-09-111-1/+1
| | | | | | | | | | | | | | | | Select the current active header layout, not the current saved layout from the settings, as the value gets only saved back from the active header to settings on closing the setup menu. Closes: #785
* | Linux: zero CPU data after allocationChristian Göttsche2021-09-111-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Zero all the CPU data, like totalPeriod, after its memory allocation via realloc(3). Conditional jump or move depends on uninitialised value(s) at 0x132A9B: LinuxProcessList_scanCPUTime (LinuxProcessList.c:1928) by 0x1358C3: ProcessList_goThroughEntries (LinuxProcessList.c:2079) by 0x12A79A: ProcessList_scan (ProcessList.c:627) by 0x11CA67: CommandLine_run (CommandLine.c:357) by 0x4A81E49: (below main) (libc-start.c:314) Uninitialised value was created by a heap allocation at 0x48396C5: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x12F633: xRealloc (XUtils.c:64) by 0x12F633: xReallocArray (XUtils.c:78) by 0x1325A8: LinuxProcessList_updateCPUcount (LinuxProcessList.c:207) by 0x134E0A: ProcessList_new (LinuxProcessList.c:284) by 0x11C8D0: CommandLine_run (CommandLine.c:301) by 0x4A81E49: (below main) (libc-start.c:314)
* | Add xReallocArrayZero() helperChristian Göttsche2021-09-112-0/+18
| | | | | | | | | | Add helper function to reallocate an dynamic allocated array including zeroing the newly allocated memory.
* | MemorySwapMeter: align with CPU meterChristian Göttsche2021-09-101-2/+6
| | | | | | | | | | | | | | | | | | Use the same width for each sub meter to align with CPU meter. Currently if the total width is even, so it does not split exactly into 2 equal parts plus 1 (for the middle space character column), the extra column is added to the second meter width. Closes: #783
* | CRT: close backup stderr file after resetChristian Göttsche2021-09-101-0/+2
| | | | | | | | | | Close the backup file descriptor of original stderr once it has been restored at stderr.
* | Settings: set ok when reading configuration from sysconfdirChristian Hesse2021-09-101-1/+1
| | | | | | | | | | Without this htoprc from sysconfdir is ignored and default meters are loaded.
* | Add missing end-of-line to htoprc file version mismatch warningNathan Scott2021-09-081-1/+1
| |
* | Fix a typo in a configure.ac commentNathan Scott2021-09-081-1/+1
| |
* | Update configure to reflect rc2 in the version3.1.0rc2Benny Baumann2021-09-051-1/+1
|/
* Add a Process_printPercentage helper routineHisham Muhammad2021-09-053-44/+29
| | | | | Replace several open-coded variants of percentage formatting. This function has been ported from Hishams old 'next' branch.
* Drop redundant semicolonsChristian Göttsche2021-09-041-2/+2
|
* hwloc: use int in hwloc_bitmap_foreach_begin loopChristian Göttsche2021-09-042-5/+5
| | | | Affinity.c:67:10: runtime error: implicit conversion from type 'int' of value -1 (32-bit, signed) to type 'unsigned int' changed the value to 4294967295 (32-bit, unsigned)
* configure: output vserver as implied if ancient-vserver is enabledChristian Göttsche2021-09-041-3/+6
| | | | | | | | The build time configuration ancient-vserver implies the configuration vserver; say so in the configure status report if only ancient-vserver has been specified. Also indent with 3 spaces.
* Header: use upper case floating point suffixChristian Göttsche2021-09-041-6/+6
|
* Settings: enclose casted macro argument in parenthesisChristian Göttsche2021-09-041-1/+1
|
* Reduce variable scopeChristian Göttsche2021-09-042-2/+4
| | | | | Also avoid declaring variables of different type, pointer and array, in the same line.
* ColumnsPanel: drop unused struct declarationChristian Göttsche2021-09-041-6/+0
|
* NetBSD: scale CPU frequenciesChristian Göttsche2021-09-031-12/+16
| | | | | | Use a value type of 'long int' to avoid ENOMEM failures of sysctl(3). Also check for "machdep.tsc_freq", scaled in MHz.
* NetBSD: misc const additionsChristian Göttsche2021-09-031-2/+2
|
* NetBSD: update process fieldsChristian Göttsche2021-09-031-3/+14
| | | | Populate fields to ttyname, minflt, majflt and processor.
* NetBSD: fix reading environment variables of processesChristian Göttsche2021-09-031-3/+3
| | | | | kvm_getenvv(3) seems not to work with kvm_openfiles(..., KVM_NO_FILES, ...)
* NetBSD: simplify Platform_setMemoryValuesChristian Göttsche2021-09-031-6/+3
|
* NetBSD: silence dropping const qualifier on define_key(3)Christian Göttsche2021-09-031-0/+8
| | | | | | On NetBSD define_key(3) has the prototype int define_key(char *sequence, int key_symbol);
* NetBSD: color process state P as runningChristian Göttsche2021-09-033-8/+12
| | | | | | On NetBSD state 'R' means runnable not running. Improve the color identifier name accordingly.
* Add completion handling for dynamic meters and columnsNathan Scott2021-09-0319-4/+96
| | | | | | | Be sure to free dynamic memory allocated for meters and columns strings, no-op on platforms other than pcp. Closes #774
* Merge pull request #775 from cgzones/pcpNathan Scott2021-09-031-1/+1
|\ | | | | PCP: do not set exe to empty string
| * PCP: do not set exe to empty stringChristian Göttsche2021-09-021-1/+1
|/ | | | | | In case the executable is an empty string, e.g. if pcp is run by an unprivileged user, do not set procExe to an empty value, which breaks the formatting of the PROCEXE column and the merged-cmdline logic.
* Linux: rework disk-io parsingChristian Göttsche2021-09-021-14/+5
| | | | | | | | | Generalize sub-diskname handling, like sdb1/sdb2, to not count the usage twice with the aggregate top-diskname, like sdb. Rely on /proc/diskstats being ordered, e.g. no sub-diskname precedes its top-diskname. Closes: #675
* Settings: create default meters on no existing config fileChristian Göttsche2021-09-021-0/+3
| | | | | | | | If htop is started for the first time and no configuration file exists the header is empty cause no meters are added as a default. Add the default meters if parsing all available configuration paths failed.

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