summaryrefslogtreecommitdiffstats
path: root/ColumnsPanel.c
Commit message (Collapse)AuthorAgeFilesLines
* Allow to pass '/' for item searchBenny Baumann2020-12-031-1/+1
|
* IWYU update (Linux)Christian Göttsche2020-11-191-1/+0
|
* Spacing around operatorsBenny Baumann2020-11-021-1/+1
|
* Fix segmentation fault when column name is NULL.Erdem Ersoy2020-10-311-9/+0
| | | | So, some columns (ex: SECATTR) can be sortable now.
* Make all required includes explicitBenny Baumann2020-10-181-7/+10
| | | | Information as seen by IWYU 0.12 + clang 9 on Linux
* Rename StringUtils.[ch] to XUtils.[ch]Benny Baumann2020-10-161-1/+1
|
* Mark Object instances constChristian Göttsche2020-10-071-1/+1
|
* Handle Panel_getSelected() returning NULLChristian Göttsche2020-10-061-1/+3
| | | | | | | | | | | | | | | | | | | | | Found by compiling with LTO: ColumnsPanel.c: In function ‘ColumnsPanel_eventHandler’: ColumnsPanel.c:46:59: error: potential null pointer dereference [-Werror=null-dereference] 46 | ((ListItem*)Panel_getSelected(super))->moving = this->moving; | ^ AvailableColumnsPanel.c: In function ‘AvailableColumnsPanel_eventHandler’: AvailableColumnsPanel.c:31:8: error: potential null pointer dereference [-Werror=null-dereference] 31 | int key = ((ListItem*) Panel_getSelected(super))->key; | ^ AvailableMetersPanel.c: In function ‘AvailableMetersPanel_eventHandler’: AvailableMetersPanel.c:40:24: error: potential null pointer dereference [-Werror=null-dereference] 40 | int param = selected->key & 0xff; | ^ linux/IOPriorityPanel.c: In function ‘IOPriorityPanel_getIOPriority’: linux/IOPriorityPanel.c:37:11: error: potential null pointer dereference [-Werror=null-dereference] 37 | return (IOPriority) ( ((ListItem*) Panel_getSelected(this))->key ); | ^
* 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-12/+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.
* Remove trailing whitespacesChristian Göttsche2020-08-211-1/+0
|
* Clean up existing whitespaceDaniel Flanagan2019-10-311-2/+2
|
* fix fallthough comments for GCC 7.xChristian Hesse2017-10-231-2/+2
| | | | | | | | | | GCC 7.x does some extended checks on fallthough for switch/case statement. The warning looks like this: warning: this statement may fall through [-Wimplicit-fallthrough=] It can be told about implicit fallthough, however it does not recognize comments within blocks, so move the comments outside.
* 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.
* Check for failure in allocations.Hisham2016-02-021-1/+1
|
* Highlight moving meters in a different color.Hisham Muhammad2015-11-021-0/+1
|
* Handle KEY_RECLICK events generated by ScreenManagerHisham Muhammad2015-08-271-0/+2
|
* 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
* 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-1/+4
|
* Get FreeBSD tree to compile again with latest changes.Hisham Muhammad2015-03-161-1/+3
|
* Isolate portable and Linux-specific process fields.Hisham Muhammad2015-03-161-1/+1
|
* Move more Linux-specific code into Linux subdir.Hisham Muhammad2015-03-151-0/+1
|
* Sorry about the mega-patch.Hisham Muhammad2015-01-211-19/+41
| | | | | This is a work-in-progress, code is currently broken. (Some actions, and notably, the header, are missing.)
* Performance improvements due to conditional parsing of IO data depending on ↵Hisham Muhammad2013-05-241-1/+4
| | | | | | | selected fields. On my machine, this gives a ~20% improvement in htop process time use with the default config.
* Changes in object model: separate class objects to store vtable. Also, nicer ↵Hisham Muhammad2012-12-051-4/+10
| | | | UTF-8 display of big numbers.
* Remove old memory debugging routines. We have Valgrind nowadays.Hisham Muhammad2011-12-261-1/+0
|
* major header cleanupHisham Muhammad2011-12-261-4/+13
|
* fix pagedown in some panelsHisham Muhammad2011-12-141-1/+2
|
* Mega-commit with features and tweaks for 1.0:Hisham Muhammad2011-11-181-0/+7
| | | | | | | | | | | * 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.
* changes for htop 0.8.2Hisham Muhammad2009-06-021-2/+2
|
* Clean up headers by using 'static' whenever possible.Hisham Muhammad2008-03-091-45/+46
| | | | | Reduces resulting code size.
* --sort-key flag in the command-line, overriding theHisham Muhammad2006-08-041-7/+13
| | | | | | saved setting in .htoprc for the session. (thanks to Rodolfo Borges)
* Rename ListBox'es to Panel's, matching dit.Hisham Muhammad2006-05-301-0/+104

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