summaryrefslogtreecommitdiffstats
path: root/Panel.c
AgeCommit message (Collapse)Author
2020-08-26Merge branch 'ci-hwloc-job' of https://github.com/bertwesarg/htop into ↵Nathan Scott
bertwesarg-ci-hwloc-job
2019-10-31Clean up existing whitespaceDaniel Flanagan
2018-02-05Handle unexpected values for character passed to isalnumHisham Muhammad
It seems that certain negative integer values can crash isalnum(). Let's protect against those. Fixes #711.
2016-08-07Fix scrolling behavior change caused by 759caf0fExplorer09
Commit "Make PgDown behavior more usual." 759caf0f8fa593430adea676fc64612b5197dca8 silently changes the PageDown scrolling behavior that, instead of scrolling one window down until the end of the window touches the end of the list, the window simply repositions itself in a way that the selected item always become the last item in the new window. The commit reverts the behavior, and also fixes sanity conditionals so that the scrollV variable will _never_ become negative or out-of- bound. Fixes issue #532. Also keep the problem #480 addressed. Signed-off-by: Kang-Che Sung <explorer09 @ gmail.com>
2016-06-19Moving left and right needs a full redraw.Hisham
2016-06-15Added Ctrl+A and Ctrl+E to go to beginning and end of line.Hisham
(Also, '^' and '$') Closes #508.
2016-05-04Make PgDown behavior more usual.Hisham
Closes #480.
2016-02-18Fix behavior of Panel on empty lists.Hisham
Closes #370.
2016-02-02Check for failure in allocations.Hisham
2015-11-02Fix moving of metersHisham Muhammad
2015-09-07fix calloc() callsChristian Hesse
* size_t nmemb (number of elements) first, then size_t size * do not assume char is size 1 but use sizeof() * allocate for char, not pointer to char (found by Michael McConville, fixes #261)
2015-08-27Don't select last item when clicking past the end of the panel.Hisham Muhammad
2015-08-19Support for NCurses 6.0 and mouse wheelHisham Muhammad
2015-08-19Rename String to StringUtils.David Hunt
Fixes building on case-insensitive filesystems where String.h gets confused with <string.h>. From d734dacea0a10d0465dad4e95b3421511e7da112 Mon Sep 17 00:00:00 2001 From: David Hunt <dhunt@iolanthe.attlocal.net> Date: Sat, 11 Jul 2015 20:56:31 -0500 Subject: [PATCH 1/8] Rename String to StringUtils
2015-04-09Visual tweaks: change color when following, add Broken Gray theme.Hisham Muhammad
2015-04-02Merge branch 'master' into wipHisham Muhammad
Conflicts: Process.c Process.h htop.c linux/LinuxProcess.c linux/LinuxProcess.h test_spec.lua
2015-03-31Cleanup unused field.Hisham Muhammad
2015-03-24handle clicks on panel header lineHisham Muhammad
2015-03-23Do not trust isalpha(c) for values > 255.Hisham Muhammad
Fixes #174. Conflicts: Panel.c
2015-03-23incremental search and filter reintegrated!Hisham Muhammad
2015-03-23Move FunctionBar inside PanelHisham Muhammad
2015-03-22Do not trust isalpha(c) for values > 255.Hisham Muhammad
Fixes #174.
2015-03-22Refactor state control variables.Hisham Muhammad
2015-02-03Complete cursor-based movement of headers.Hisham Muhammad
2015-01-23Another mega-patch for the refactoring process.Hisham Muhammad
Kinda runs, but functionality from the original main loop is still missing. Patience.
2015-01-21Sorry about the mega-patch.Hisham Muhammad
This is a work-in-progress, code is currently broken. (Some actions, and notably, the header, are missing.)
2014-05-03Fix crash when scrolling in a filter view with no processes. Closes #76.Hisham Muhammad
2014-02-27alignment improvementsHisham Muhammad
2013-02-26Remove explicit calls to curses.h in other filesHisham Muhammad
2012-12-05Changes in object model: separate class objects to store vtable. Also, nicer ↵Hisham Muhammad
UTF-8 display of big numbers.
2012-08-10Add -p flag, contributed by Rob HoelzHisham Muhammad
2012-03-05Fix crashes when process list is emptyHisham Muhammad
2011-12-26Remove old memory debugging routines. We have Valgrind nowadays.Hisham Muhammad
2011-12-26major header cleanupHisham Muhammad
2011-11-18Mega-commit with features and tweaks for 1.0:Hisham Muhammad
* 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.
2011-11-05Allow typing to select items in various panels (sort, user, signal).Hisham Muhammad
Factored code from the SignalsPanel to apply to all selections from main screen. Closes feature request #3425304.
2011-09-08Fix panel inconsistency that could lead to crashes. Closes #2422267.Hisham Muhammad
2011-05-26Tempus fugit.Hisham Muhammad
2010-11-22Remove arbitrary limit from rich stringsHisham Muhammad
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
2010-03-03* Add Bash/emacs style navigation keysHisham Muhammad
(thanks to Daniel Schuler)
2010-02-25Tempus fugit.Hisham Muhammad
2010-02-25warning fixesHisham Muhammad
2009-06-02changes for htop 0.8.2Hisham Muhammad
2008-03-09Add Unicode support, enabled with the --enable-unicodeHisham Muhammad
flag, which requires libncursesw. Thanks to Sergej Pupykin!
2008-03-05Make clicks on leftmost panel in the Setup screen change setup pages,Hisham Muhammad
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
2006-07-23Horizontally scroll in larger increments when on theHisham Muhammad
Linux console because of slow update of unaccelerated fb
2006-07-12Perform RichString operations by hand.Hisham Muhammad
Avoid unnecessary operations when processing entries on ProcessList.
2006-07-11Performance improvement hackathon: improve process comparison routines,Hisham Muhammad
disable useless code in release builds such as runtime type-checking on dynamic data structures and process fields that are not being computed, faster(?) method for verifying the process owner (still need to ensure correctness), don't destroy and create process objects for hidden kernel threads over and over. Phew. I shouldn't be doing all this today, but I could not resist.
2006-06-06Updates for new version of the MakeHeader.py script.Hisham Muhammad
2006-05-30Rename ListBox to Panel, matching dit.Hisham Muhammad