summaryrefslogtreecommitdiffstats
path: root/OpenFilesScreen.h
Commit message (Collapse)AuthorAgeFilesLines
* Update license headers to explicitly say GPLv2+Daniel Lange2021-09-221-1/+1
|
* cleaned up includes with iwyumayurdahibhate2021-05-101-0/+1
|
* Make all required includes explicitBenny Baumann2020-10-181-0/+4
| | | | Information as seen by IWYU 0.12 + clang 9 on Linux
* OpenFilesScreen updateChristian Göttsche2020-10-101-20/+1
| | | | | | | | | | | | | | | | | | | | | | | - Remove local types and function from header file - Reduce OpenFiles_Data to neccessary size - Print file access mode (r/w/u) - Fix memory leak on consecutive items without an intermediate file item: ==15257==ERROR: LeakSanitizer: detected memory leaks Direct leak of 120 byte(s) in 12 object(s) allocated from: #0 0x48c864 in strdup (htop/htop+0x48c864) #1 0x542f68 in xStrdup htop/XAlloc.c:71:17 #2 0x50e225 in OpenFilesScreen_getProcessData htop/OpenFilesScreen.c:112:25 #3 0x50cd17 in OpenFilesScreen_scan htop/OpenFilesScreen.c:141:35 #4 0x4fd3eb in InfoScreen_run htop/InfoScreen.c:81:35 #5 0x4d58bb in actionLsof htop/Action.c:361:4 #6 0x501766 in MainPanel_eventHandler htop/MainPanel.c:80:19 #7 0x5289fa in ScreenManager_run htop/ScreenManager.c:227:19 #8 0x4f748e in main htop/htop.c:300:4 #9 0x7ff73e0d8cc9 in __libc_start_main csu/../csu/libc-start.c:308:16 SUMMARY: AddressSanitizer: 120 byte(s) leaked in 12 allocation(s).
* Mark Object instances constChristian Göttsche2020-10-071-1/+1
|
* Update License consistently to GPLv2 as per COPYING fileDaniel Lange2020-10-051-1/+1
|
* Further, minor cleanups to headers post-MakeHeadersNathan Scott2020-09-081-1/+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-4/+4
| | | | | | | | 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-4/+4
| | | | Sync-up missing extern declarations for many functions.
* refactor *Screen classes, add InfoScreen superclassHisham Muhammad2016-01-121-6/+8
|
* Move FunctionBar inside PanelHisham Muhammad2015-03-231-2/+0
|
* Add .h file ref previous commitHisham Muhammad2014-04-221-3/+7
|
* alignment improvementsHisham Muhammad2014-02-271-1/+1
|
* search and filter for the strace and lsof screens!Hisham Muhammad2012-11-101-1/+0
|
* major header cleanupHisham Muhammad2011-12-261-12/+0
|
* Use strdup explicitlyHisham Muhammad2011-12-251-1/+1
|
* add missing update to header fileHisham Muhammad2011-03-281-0/+1
|
* extra checks for lsof failuresHisham Muhammad2009-10-161-1/+1
|
* oops, add missing filesHisham Muhammad2009-06-021-0/+53

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