summaryrefslogtreecommitdiffstats
path: root/AvailableColumnsPanel.c
Commit message (Collapse)AuthorAgeFilesLines
* Rework enum ProcessFieldChristian Göttsche2020-12-191-1/+1
| | | | | | Use only one enum instead of a global and a platform specific one. Drop Platform_numberOfFields global variable. Set known size of Process_fields array
* Allow to pass '/' for item searchBenny Baumann2020-12-031-1/+1
|
* Make all required includes explicitBenny Baumann2020-10-181-3/+6
| | | | Information as seen by IWYU 0.12 + clang 9 on Linux
* Rename StringUtils.[ch] to XUtils.[ch]Benny Baumann2020-10-161-1/+1
|
* Move xAsprintf, xSnprintf and xStrdup to StringUtils.hBenny Baumann2020-10-161-5/+6
|
* Mark Object instances constChristian Göttsche2020-10-071-1/+1
|
* Handle Panel_getSelected() returning NULLChristian Göttsche2020-10-061-1/+5
| | | | | | | | | | | | | | | | | | | | | 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-9/+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.
* Security review: check results of snprintf.Hisham Muhammad2017-07-271-1/+1
| | | | | Calls marked with xSnprintf shouldn't fail. Abort program cleanly if any of them does.
* 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.
* 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
|
* 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-13/+9
| | | | | 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.
* Remove old memory debugging routines. We have Valgrind nowadays.Hisham Muhammad2011-12-261-1/+0
|
* major header cleanupHisham Muhammad2011-12-261-5/+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/+5
| | | | | | | | | | | * 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.
* Clean up headers by using 'static' whenever possible.Hisham Muhammad2008-03-091-22/+22
| | | | | Reduces resulting code size.
* Make column operation more comfortable.Hisham Muhammad2008-03-091-3/+2
|
* Rename ListBox'es to Panel's, matching dit.Hisham Muhammad2006-05-301-0/+72

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