summaryrefslogtreecommitdiffstats
path: root/Header.h
Commit message (Collapse)AuthorAgeFilesLines
* Update license headers to explicitly say GPLv2+Daniel Lange2021-09-221-1/+1
|
* 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.
* IWYU updateChristian Göttsche2021-08-251-0/+1
|
* Add option to change Header layoutChristian Göttsche2021-08-221-12/+6
|
* Ensure we do not attempt to add a DynamicMeter via theNathan Scott2021-07-141-1/+1
| | | | | | | htoprc that we didn't find during start up. This just leaves blank sections of the display as @smalinux found. Related to https://github.com/htop-dev/htop/pull/682
* platform-dependent files included relative to main source directorymayurdahibhate2021-05-101-0/+1
|
* Use unsigned types for CPU counts and associated variablesChristian Göttsche2021-03-191-1/+1
|
* Separate data-update and drawing of headerChristian Göttsche2021-03-041-0/+2
|
* Mark several non-modified pointer variables constChristian Göttsche2021-01-111-3/+3
|
* Remove unused function Header_readMeterNameChristian Göttsche2020-12-061-2/+0
|
* Drop unneeded parameters to the ScreenManager constructorNathan Scott2020-11-261-2/+2
| | | | | | | | | | 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 all required includes explicitBenny Baumann2020-10-181-0/+1
| | | | 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
|
* Consolidate repeated macro definitions into one headerNathan Scott2020-09-091-4/+0
| | | | | | | | The MIN, MAX, CLAMP, MINIMUM, and MAXIMUM macros appear throughout the codebase with many re-definitions. Make a single copy of each in a common header file, and use the BSD variants of MINIMUM/MAXIMUM due to conflicts in the system <sys/param.h> headers.
* Further, minor cleanups to headers post-MakeHeadersNathan Scott2020-09-081-3/+0
| | | | | Remove leftover empty ifdef/endif pairs, whitespace. The generated htop.h file was also unused - removed.
* Remove superfluous 'extern's from function declarations.Zev Weiss2020-09-031-13/+13
| | | | | | | | Applied via: $ find * -name '*.h' -exec sed -i -r 's/^extern (.+\()/\1/;' {} + Suggested-by: Bert Wesarg <bert.wesarg@googlemail.com>
* Axe automated header generation.Zev Weiss2020-09-031-2/+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.
* Re-generate all headers with latest scripts/MakeHeader.pyNathan Scott2020-08-181-13/+13
| | | | Sync-up missing extern declarations for many functions.
* Fix macro Header_forEachColumnExplorer092016-05-071-1/+1
| | | | | | | The (this_) token was not expanded properly, but the bug was not caught because all uses of this macro specifies (this_)=this . Also parenthesize macro tokens to prevent further problems.
* Fix saving of header states, motion in Setup screen.Hisham Muhammad2015-03-161-0/+2
|
* Another mega-patch for the refactoring process.Hisham Muhammad2015-01-231-4/+7
| | | | | Kinda runs, but functionality from the original main loop is still missing. Patience.
* Sorry about the mega-patch.Hisham Muhammad2015-01-211-16/+15
| | | | | This is a work-in-progress, code is currently broken. (Some actions, and notably, the header, are missing.)
* Decouple Header from Meter classes.Hisham Muhammad2014-11-271-2/+0
| | | | (Yes, that's dynamic typing!)
* alignment improvementsHisham Muhammad2014-02-271-1/+1
|
* Changes in object model: separate class objects to store vtable. Also, nicer ↵Hisham Muhammad2012-12-051-1/+1
| | | | UTF-8 display of big numbers.
* major header cleanupHisham Muhammad2011-12-261-5/+1
|
* Mega-commit with features and tweaks for 1.0:Hisham Muhammad2011-11-181-1/+1
| | | | | | | | | | | * Performance improvements * Support for splitting CPU meters into two or four columns (thanks to Wim Heirman) * Switch from PLPA, which is now deprecated, to HWLOC. * Bring back support for native Linux sched_setaffinity, so we don't have to use HWLOC where we don't need to. * Support for typing in user names and column fields in selection panels.
* Tempus fugit.Hisham Muhammad2011-05-261-1/+1
|
* * Option for counting CPUs from zeroHisham Muhammad2011-03-221-1/+4
| | | | | | (thanks to Sean Noonan) * Meters update in every screen (no longer halting while on Setup, etc.)
* Tempus fugit.Hisham Muhammad2010-02-251-1/+1
|
* Regenerated all headers.Hisham Muhammad2006-06-061-1/+1
|
* Rename TypedVector to Vector, matching dit.Hisham Muhammad2006-05-301-2/+2
|
* - Overhaul meters implementation;Hisham Muhammad2006-04-101-13/+10
| | | | | | - add AllCPUsMeter; - because of that, the new .htoprc is incompatible with previous released versions.
* Initial import.Hisham Muhammad2006-03-041-0/+62

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