summaryrefslogtreecommitdiffstats
path: root/Panel.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'ci-hwloc-job' of https://github.com/bertwesarg/htop into ↵Nathan Scott2020-08-261-0/+8
| | | | bertwesarg-ci-hwloc-job
* Clean up existing whitespaceDaniel Flanagan2019-10-311-2/+2
|
* Handle unexpected values for character passed to isalnumHisham Muhammad2018-02-051-1/+1
| | | | | | | It seems that certain negative integer values can crash isalnum(). Let's protect against those. Fixes #711.
* Fix scrolling behavior change caused by 759caf0fExplorer092016-08-071-2/+3
| | | | | | | | | | | | | | | | 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>
* Moving left and right needs a full redraw.Hisham2016-06-191-0/+2
|
* Added Ctrl+A and Ctrl+E to go to beginning and end of line.Hisham2016-06-151-9/+17
| | | | | (Also, '^' and '$') Closes #508.
* Make PgDown behavior more usual.Hisham2016-05-041-1/+1
| | | | Closes #480.
* Fix behavior of Panel on empty lists.Hisham2016-02-181-1/+1
| | | | Closes #370.
* Check for failure in allocations.Hisham2016-02-021-2/+2
|
* Fix moving of metersHisham Muhammad2015-11-021-1/+1
|
* fix calloc() callsChristian Hesse2015-09-071-1/+1
| | | | | | | * 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)
* Don't select last item when clicking past the end of the panel.Hisham Muhammad2015-08-271-1/+4
|
* Support for NCurses 6.0 and mouse wheelHisham Muhammad2015-08-191-0/+15
|
* Rename String to StringUtils.David Hunt2015-08-191-1/+1
| | | | | | | | | 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
* Visual tweaks: change color when following, add Broken Gray theme.Hisham Muhammad2015-04-091-7/+13
|
* Merge branch 'master' into wipHisham Muhammad2015-04-021-1/+0
|\ | | | | | | | | | | | | | | | | | | Conflicts: Process.c Process.h htop.c linux/LinuxProcess.c linux/LinuxProcess.h test_spec.lua
| * Cleanup unused field.Hisham Muhammad2015-03-311-1/+0
| |
| * Do not trust isalpha(c) for values > 255.Hisham Muhammad2015-03-221-1/+1
| | | | | | | | Fixes #174.
* | handle clicks on panel header lineHisham Muhammad2015-03-241-3/+7
| |
* | Do not trust isalpha(c) for values > 255.Hisham Muhammad2015-03-231-1/+1
| | | | | | | | | | | | | | Fixes #174. Conflicts: Panel.c
* | incremental search and filter reintegrated!Hisham Muhammad2015-03-231-0/+2
| |
* | Move FunctionBar inside PanelHisham Muhammad2015-03-231-3/+9
| |
* | Refactor state control variables.Hisham Muhammad2015-03-221-2/+2
| |
* | Complete cursor-based movement of headers.Hisham Muhammad2015-02-031-0/+1
| |
* | Another mega-patch for the refactoring process.Hisham Muhammad2015-01-231-5/+5
| | | | | | | | | | Kinda runs, but functionality from the original main loop is still missing. Patience.
* | Sorry about the mega-patch.Hisham Muhammad2015-01-211-91/+88
|/ | | | | This is a work-in-progress, code is currently broken. (Some actions, and notably, the header, are missing.)
* Fix crash when scrolling in a filter view with no processes. Closes #76.Hisham Muhammad2014-05-031-4/+10
|
* alignment improvementsHisham Muhammad2014-02-271-20/+14
|
* Remove explicit calls to curses.h in other filesHisham Muhammad2013-02-261-1/+2
|
* Changes in object model: separate class objects to store vtable. Also, nicer ↵Hisham Muhammad2012-12-051-24/+27
| | | | UTF-8 display of big numbers.
* Add -p flag, contributed by Rob HoelzHisham Muhammad2012-08-101-1/+5
|
* Fix crashes when process list is emptyHisham Muhammad2012-03-051-2/+4
|
* Remove old memory debugging routines. We have Valgrind nowadays.Hisham Muhammad2011-12-261-1/+0
|
* major header cleanupHisham Muhammad2011-12-261-5/+9
|
* Mega-commit with features and tweaks for 1.0:Hisham Muhammad2011-11-181-0/+37
| | | | | | | | | | | * 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.
* Allow typing to select items in various panels (sort, user, signal).Hisham Muhammad2011-11-051-0/+1
| | | | | | Factored code from the SignalsPanel to apply to all selections from main screen. Closes feature request #3425304.
* Fix panel inconsistency that could lead to crashes. Closes #2422267.Hisham Muhammad2011-09-081-9/+2
|
* Tempus fugit.Hisham Muhammad2011-05-261-1/+1
|
* Remove arbitrary limit from rich stringsHisham Muhammad2010-11-221-28/+34
| | | | | | | | | 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
* * Add Bash/emacs style navigation keysHisham Muhammad2010-03-031-0/+8
| | | | | (thanks to Daniel Schuler)
* Tempus fugit.Hisham Muhammad2010-02-251-1/+1
|
* warning fixesHisham Muhammad2010-02-251-1/+1
|
* changes for htop 0.8.2Hisham Muhammad2009-06-021-16/+47
|
* Add Unicode support, enabled with the --enable-unicodeHisham Muhammad2008-03-091-6/+8
| | | | | | flag, which requires libncursesw. Thanks to Sergej Pupykin!
* Make clicks on leftmost panel in the Setup screen change setup pages,Hisham Muhammad2008-03-051-0/+5
| | | | | | 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
* Horizontally scroll in larger increments when on theHisham Muhammad2006-07-231-2/+7
| | | | | Linux console because of slow update of unaccelerated fb
* Perform RichString operations by hand.Hisham Muhammad2006-07-121-7/+6
| | | | | Avoid unnecessary operations when processing entries on ProcessList.
* Performance improvement hackathon: improve process comparison routines,Hisham Muhammad2006-07-111-3/+10
| | | | | | | | | | 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.
* Updates for new version of the MakeHeader.py script.Hisham Muhammad2006-06-061-3/+0
|
* Rename ListBox to Panel, matching dit.Hisham Muhammad2006-05-301-0/+353

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