summaryrefslogtreecommitdiffstats
path: root/Vector.h
Commit message (Collapse)AuthorAgeFilesLines
* Update license headers to explicitly say GPLv2+Daniel Lange2021-09-221-1/+1
|
* Code indentationBenny Baumann2021-07-151-1/+1
|
* InfoScreen/ProcessList: do not access Vector internalsChristian Göttsche2021-03-121-0/+4
| | | | Use wrapper function to encapsulate the Vector structure
* Unify prototype of Vector_getChristian Göttsche2021-01-061-1/+1
| | | | | Vector_get() currently takes a `const Vector*` in debug mode and a `Vector*` else.
* Avoid calling Object_isA from inside Vector_isConsistentBenny Baumann2020-11-171-1/+1
|
* Hashtable updateChristian Göttsche2020-11-171-1/+1
| | | | | | - use consistent type for key by introducing a new typedef - use unsigned types for sizes - name parameters in foreach function typedef
* Spacing around operatorsBenny Baumann2020-11-021-1/+1
|
* Hold only a const version of Settings in ProcessListChristian Göttsche2020-10-261-1/+4
|
* Make all required includes explicitBenny Baumann2020-10-181-0/+2
| | | | Information as seen by IWYU 0.12 + clang 9 on Linux
* Misc Vector updatesChristian Göttsche2020-10-161-4/+8
| | | | | | | | - Move swap() macro to source file and implement as function - Implement Vector_get() and Vector_size() as inline functions to make them type safe and avoid lhs usage - Comment comparison statistics, they are only needed for performance testing
* Mark Vector parameter const for non-modifying functionsChristian Göttsche2020-10-151-3/+3
|
* Mark search parameter in Vector_indexOf constChristian Göttsche2020-10-151-1/+1
|
* Mark Object classes and Object class fields constChristian Göttsche2020-10-071-2/+2
|
* Update License consistently to GPLv2 as per COPYING fileDaniel Lange2020-10-051-1/+1
|
* Resolve DEBUG compilation issuesChristian Göttsche2020-10-031-18/+5
| | | | | | | Use NDEBUG conditional instead of DEBUG. Do not call static functions in extern inline ones. Vector.c:67:11: error: static function 'Vector_isConsistent' is used in an inline function with external linkage [-Werror,-Wstatic-in-inline]
* Clean up some code duplication in the header filesHugo Musso Gualandi2020-09-121-4/+0
| | | | | | | | | | | | | PR htop-dev/htop#70 got rid of the infrastructure for generating header files, but it left behind some code duplication. Some of cases are things that belong in the header file and don't need to be repeated in the C file. Other cases are things that belong in the C file and don't need to be in the header file. In this commit I tried to fix all of these that I could find. When given a choice I preferred keeping things out of the header file, unless they were being used by someone else.
* Further, minor cleanups to headers post-MakeHeadersNathan Scott2020-09-081-6/+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-16/+16
| | | | | | | | 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.
* Merge branch 'ci-hwloc-job' of https://github.com/bertwesarg/htop into ↵Nathan Scott2020-08-261-0/+2
| | | | bertwesarg-ci-hwloc-job
* Re-generate all headers with latest scripts/MakeHeader.pyNathan Scott2020-08-181-13/+13
| | | | Sync-up missing extern declarations for many functions.
* Optimize Vector_size on non-debug buildsHisham Muhammad2018-02-051-0/+8
|
* Changes in object model: separate class objects to store vtable. Also, nicer ↵Hisham Muhammad2012-12-051-3/+2
| | | | UTF-8 display of big numbers.
* search and filter for the strace and lsof screens!Hisham Muhammad2012-11-101-2/+2
|
* major header cleanupHisham Muhammad2011-12-261-8/+1
|
* Mega-commit with features and tweaks for 1.0:Hisham Muhammad2011-11-181-1/+18
| | | | | | | | | | | * 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.
* Tempus fugit.Hisham Muhammad2011-05-261-1/+1
|
* expand/collapse treeHisham Muhammad2010-06-171-6/+0
|
* Tempus fugit.Hisham Muhammad2010-02-251-1/+1
|
* warning fixesHisham Muhammad2010-02-251-7/+7
|
* Clean up headers by using 'static' whenever possible.Hisham Muhammad2008-03-091-2/+6
| | | | | Reduces resulting code size.
* Fix GCC 4.3 issues: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=416852Hisham Muhammad2007-08-101-3/+3
|
* Add debugging sanity checks.Hisham Muhammad2006-11-121-0/+2
|
* Performance improvement hackathon: improve process comparison routines,Hisham Muhammad2006-07-111-2/+7
| | | | | | | | | | 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.
* Regenerated all headers.Hisham Muhammad2006-06-061-1/+1
|
* Rename TypedVector to Vector, matching dit.Hisham Muhammad2006-05-301-0/+69

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