summaryrefslogtreecommitdiffstats
path: root/CategoriesPanel.c
Commit message (Collapse)AuthorAgeFilesLines
* Update includes based on IWYUBenny Baumann2023-12-261-1/+1
|
* Add includes for config.h as per the discussion in PR #1337Daniel Lange2023-12-261-0/+2
| | | | | | Many thanks to @Explorer09 Kang-Che Sung (宋岡哲). Also add a #error stanza to XUtils.h in case somebody forgets the beautiful mess GNU forces on us.
* Support dynamic screens with 'top-most' entities beyond processesSohaib Mohamed2023-08-301-2/+16
| | | | | | | | | | | | | | | | | | | | | | This implements our concept of 'dynamic screens' in htop, with a first use-case of pcp-htop displaying things like top-filesystem and top-cgroups under new screen tabs. However the idea is more general than use in pcp-htop and we've paved the way here for us to collectively build mroe general tabular screens in core htop, as well. From the pcp-htop side of things, dynamic screens are configured using text-based configuration files that define the mapping for PCP metrics to columns (and metric instances to rows). Metrics are defined either directly (via metric names) or indirectly via PCP derived metric specifications. Value scaling and the units displayed is automatic based on PCP metric units and data types. This commit represents a collaborative effort of several months, primarily between myself, Nathan and BenBE. Signed-off-by: Sohaib Mohamed <sohaib.amhmd@gmail.com> Signed-off-by: Nathan Scott <nathans@redhat.com>
* Introduce Machine class for host-specific info (split from ProcessList)Nathan Scott2023-05-081-10/+14
| | | | | | | | | | | First stage in sanitizing the process list structure so that htop can support other types of lists too (cgroups, filesystems, ...), in the not-too-distant future. This introduces struct Machine for system-wide information while keeping process-list information in ProcessList (now much less). Next step is to propogate this separation into each platform, to match these core changes.
* Introduce screen tabsHisham Muhammad2021-12-071-5/+7
| | | | This is a forward port (by nathans) of Hisham's original code.
* Update license headers to explicitly say GPLv2+Daniel Lange2021-09-221-1/+1
|
* Fix meterPanels size calculation for dynamic array allocationNathan Scott2021-08-311-1/+1
|
* IWYU updateChristian Göttsche2021-08-251-0/+3
|
* Simplify adding pages in one placeBenny Baumann2021-08-221-22/+22
|
* Add option to change Header layoutChristian Göttsche2021-08-221-7/+28
|
* Removed unused field in ColorsPanelBenny Baumann2021-08-221-1/+1
|
* PCP: support for 'dynamic columns' added at runtimeSohaib Mohamed2021-08-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements support for arbitrary Performance Co-Pilot metrics with per-process instance domains to form new htop columns. The column-to-metric mappings are setup using configuration files which will be documented via man pages as part of a follow-up commit. We provide an initial set of column configurations so as to provide new capabilities to pcp-htop: including configs for containers, open fd counts, scheduler run queue time, tcp/udp bytes/calls sent/recv, delay acct, virtual machine guests, detailed virtual memory, swap. Note there is a change to the configuration file path resolution algorithm introduced for 'dynamic meters'. First, look in any custom PCP_HTOP_DIR location. Then iterate, in priority order, users home directory, then local sysadmins files in /etc/pcp/htop, then readonly configuration files below /usr/share/pcp/htop. This final location becomes the preferred place for our own shipped meter and column files. The Settings file (htoprc) writing code is updated to not using the numeric identifier for dynamic columns. The same strategy used for dynamic meters is used here where we write Dynamic(name) so the name can be setup once more at start. Regular (static) columns writing to htoprc - i.e. numerically indexed - is unchanged.
* Allow to pass '/' for item searchBenny Baumann2020-12-031-1/+1
|
* Embracing branchesBenny Baumann2020-11-021-0/+1
|
* Make all required includes explicitBenny Baumann2020-10-181-7/+13
| | | | 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
|
* Call character checking function with unsigned charChristian Göttsche2020-09-171-1/+1
| | | | See https://wiki.sei.cmu.edu/confluence/display/c/STR37-C.+Arguments+to+character-handling+functions+must+be+representable+as+an+unsigned+char
* Axe automated header generation.Zev Weiss2020-09-031-16/+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.
* Mark some things as constRichard2017-07-221-1/+1
| | | | | | | Several string pointer arrays pointed to const strings but were not const themselves. A few various structures and arrays were also marked const.
* Added Ctrl+A and Ctrl+E to go to beginning and end of line.Hisham2016-06-151-2/+2
| | | | | (Also, '^' and '$') Closes #508.
* handle clicks on panel header lineHisham Muhammad2015-03-241-1/+1
|
* Do not trust isalpha(c) for values > 255.Hisham Muhammad2015-03-231-1/+1
| | | | | | | Fixes #174. Conflicts: Panel.c
* Move FunctionBar inside PanelHisham Muhammad2015-03-231-23/+10
|
* Complete cursor-based movement of headers.Hisham Muhammad2015-02-031-8/+14
|
* Another mega-patch for the refactoring process.Hisham Muhammad2015-01-231-2/+0
| | | | | Kinda runs, but functionality from the original main loop is still missing. Patience.
* Sorry about the mega-patch.Hisham Muhammad2015-01-211-8/+13
| | | | | This is a work-in-progress, code is currently broken. (Some actions, and notably, the header, are missing.)
* Changes in object model: separate class objects to store vtable. Also, nicer ↵Hisham Muhammad2012-12-051-4/+10
| | | | UTF-8 display of big numbers.
* search and filter for the strace and lsof screens!Hisham Muhammad2012-11-101-0/+6
|
* Remove old memory debugging routines. We have Valgrind nowadays.Hisham Muhammad2011-12-261-1/+0
|
* major header cleanupHisham Muhammad2011-12-261-3/+12
|
* * Add Bash/emacs style navigation keysHisham Muhammad2010-03-031-0/+2
| | | | | (thanks to Daniel Schuler)
* warning fixesHisham Muhammad2010-02-251-6/+6
|
* changes for htop 0.8.2Hisham Muhammad2009-06-021-13/+13
|
* Clean up headers by using 'static' whenever possible.Hisham Muhammad2008-03-091-42/+42
| | | | | Reduces resulting code size.
* Make clicks on leftmost panel in the Setup screen change setup pages,Hisham Muhammad2008-03-051-23/+29
| | | | | | like the keyboard navigation does. Fixes bug reported by Tero Keinanen. https://sourceforge.net/tracker/index.php?func=detail&aid=1754735&group_id=108839&atid=651633
* Updates for new version of the MakeHeader.py script.Hisham Muhammad2006-06-061-12/+6
|
* Remove references to ListBoxHisham Muhammad2006-05-301-14/+14
|
* Rename ListBox'es to Panel's, matching dit.Hisham Muhammad2006-05-301-0/+134

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