Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-11-17 | Avoid calling Object_isA from inside Vector_isConsistent | Benny Baumann | |
2020-11-17 | Hashtable update | Christian Göttsche | |
- use consistent type for key by introducing a new typedef - use unsigned types for sizes - name parameters in foreach function typedef | |||
2020-11-02 | Embracing branches | Benny Baumann | |
2020-11-02 | Spacing around operators | Benny Baumann | |
2020-11-02 | Spacing after keywords (if) | Benny Baumann | |
2020-11-02 | Assert Vector_get returns an object | Christian Göttsche | |
It is generally assumed Vector_get returns a non-NULL object. Use a generic assert in Vector_get instead of in callers. | |||
2020-10-27 | Drop duplicate and always true condition | Christian Göttsche | |
This block is only entered if this->owner is true. | |||
2020-10-26 | Hold only a const version of Settings in ProcessList | Christian Göttsche | |
2020-10-18 | Make all required includes explicit | Benny Baumann | |
Information as seen by IWYU 0.12 + clang 9 on Linux | |||
2020-10-16 | Misc Vector updates | Christian Göttsche | |
- 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 | |||
2020-10-15 | Mark Vector parameter const for non-modifying functions | Christian Göttsche | |
2020-10-15 | Mark search parameter in Vector_indexOf const | Christian Göttsche | |
2020-10-07 | Mark Object classes and Object class fields const | Christian Göttsche | |
2020-10-07 | Replace copy loop by memmove in Vector_insert | Benny Baumann | |
This is basically the same change like in Vector_take, just in the opposite direction. | |||
2020-10-07 | Use memmove for Vector_take | Benny Baumann | |
Doing a quick check with callgrind this gives an average reduction from 1804 cycles/call down to 491 cycles/call on my test system. The average was taken over about 40k calls. | |||
2020-10-05 | Update License consistently to GPLv2 as per COPYING file | Daniel Lange | |
2020-10-03 | Resolve DEBUG compilation issues | Christian Göttsche | |
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] | |||
2020-10-02 | minor typo in Vector.c | ckath | |
2020-09-29 | Drop redundant casts to the same type | Christian Göttsche | |
2020-09-12 | Clean up some code duplication in the header files | Hugo Musso Gualandi | |
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. | |||
2020-09-03 | Axe automated header generation. | Zev Weiss | |
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. | |||
2020-08-26 | Merge branch 'ci-hwloc-job' of https://github.com/bertwesarg/htop into ↵ | Nathan Scott | |
bertwesarg-ci-hwloc-job | |||
2019-10-31 | Clean up existing whitespace | Daniel Flanagan | |
2018-02-05 | Optimize Vector_size on non-debug builds | Hisham Muhammad | |
2016-02-02 | Check for failure in allocations. | Hisham | |
2015-09-16 | Clean up some needless malloc casts, convert some mallocs to callocs, and ↵ | Michael McConville | |
fix some style | |||
2015-04-08 | This assert is no longer valid. | Hisham Muhammad | |
2015-02-03 | Complete cursor-based movement of headers. | Hisham Muhammad | |
2014-04-21 | shorten scope of variable. | Hisham Muhammad | |
2012-12-05 | Changes in object model: separate class objects to store vtable. Also, nicer ↵ | Hisham Muhammad | |
UTF-8 display of big numbers. | |||
2012-11-10 | search and filter for the strace and lsof screens! | Hisham Muhammad | |
2011-12-26 | Remove old memory debugging routines. We have Valgrind nowadays. | Hisham Muhammad | |
2011-12-26 | major header cleanup | Hisham Muhammad | |
2011-11-18 | Mega-commit with features and tweaks for 1.0: | Hisham Muhammad | |
* 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. | |||
2011-05-26 | Tempus fugit. | Hisham Muhammad | |
2010-11-22 | Fix off-by-one in Vector (the probable cause for many user-reported crashes?) | Hisham Muhammad | |
2010-06-17 | expand/collapse tree | Hisham Muhammad | |
2010-02-25 | Tempus fugit. | Hisham Muhammad | |
2010-02-25 | warning fixes | Hisham Muhammad | |
2008-03-09 | Clean up headers by using 'static' whenever possible. | Hisham Muhammad | |
Reduces resulting code size. | |||
2006-11-12 | Add debugging sanity checks. | Hisham Muhammad | |
2006-11-08 | Yet another sanity check. | Hisham Muhammad | |
2006-07-11 | Performance improvement hackathon: improve process comparison routines, | Hisham Muhammad | |
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. | |||
2006-06-06 | Updates for new version of the MakeHeader.py script. | Hisham Muhammad | |
2006-05-30 | Rename TypedVector to Vector, matching dit. | Hisham Muhammad | |