- 15 Jun, 2016 3 commits
-
-
https://github.com/hishamhm/htopHisham authored
-
Hisham authored
(Also, '^' and '$') Closes #508.
-
Hisham authored
-
- 04 Jun, 2016 1 commit
-
-
Hisham Muhammad authored
Fix xStrdup debug build failure & allow Clang to use ((nonnull))
-
- 03 Jun, 2016 1 commit
-
-
Explorer09 authored
-
- 02 Jun, 2016 3 commits
-
-
Hisham Muhammad authored
Fixes upon xStrdup(NULL) problem
-
Explorer09 authored
__attribute__((nonnull)) will help catching "calling with NULL" mistake on compile time. I also convert xStrdup into a macro, that will do assert() inline when the code is *not* built with -DNDEBUG . For release builds (with -DNDEBUG), preprocessor trick will ensure that generated code remains the same.
-
Explorer09 authored
This effectively reverts "Stricter strdup." 4674b4a7 If str is NULL upon the calling of strdup(), it should crash with SIGSEGV. Just let it crash. Adding the "if (!str) fail();" code serves nothing but bloat.
-
- 30 May, 2016 5 commits
- 27 May, 2016 2 commits
-
-
Hisham Muhammad authored
Remove redundant is-null checks on free(Meter.drawData)
-
Explorer09 authored
-
- 26 May, 2016 2 commits
- 25 May, 2016 1 commit
-
-
Hisham authored
-
- 19 May, 2016 4 commits
-
-
Hisham authored
-
Hisham authored
-
Hisham Muhammad authored
configure.ac fixes
-
Hisham Muhammad authored
FreeBSD: fix multithreaded CPU% in process list
-
- 16 May, 2016 1 commit
-
-
Hisham Muhammad authored
Fix FreeBSD CPU bars calculation
-
- 08 May, 2016 3 commits
-
-
Explorer09 authored
-
Explorer09 authored
3 effects in this commit, with the first being the main one: 1. Fix the "`missing' script is too old or missing" warning. See: <https://lists.gnu.org/archive/html/automake/2010-08/msg00108.html> 2. By moving AC_CANONICAL_TARGET down in order, we are now able to set the directory for auxiliary scripts. For now it's still './'. I added the line "AC_CONFIG_AUX_DIR([.])" to show that the directory change is possible. 3. AC_USE_SYSTEM_EXTENSIONS includes checks from AC_PROG_CC, by moving the former macro down, we can save size in 'configure' by not generating repeated checks.
-
Explorer09 authored
AC_HELP_STRING -> AS_HELP_STRING AC_TRY_COMPILE -> AC_COMPILE_IFELSE([AC_LANG_PROGRAM([...])],...) AC_CONFIG_HEADER -> AC_CONFIG_HEADERS AC_PROG_LIBTOOL -> LT_INIT Note: There might be more deprecated macros that I haven't noticed. I just wish to avoid painful highlighting from my text editor (gedit) that complains about them. :)
-
- 07 May, 2016 2 commits
-
-
Hisham Muhammad authored
Fix macro Header_forEachColumn
-
Explorer09 authored
The (this_) token was not expanded properly, but the bug was not caught because all uses of this macro specifies (this_)=this . Also parenthesize macro tokens to prevent further problems.
-
- 05 May, 2016 3 commits
-
-
Hisham authored
See #237.
-
https://github.com/hishamhm/htopHisham authored
-
Hisham authored
Closes #480.
-
- 04 May, 2016 7 commits
-
-
Hisham Muhammad authored
Use Linux backend on the Hurd
-
Hisham Muhammad authored
Fix a typo in the man page (Debian Lintian spelling-error-in-manpage)
-
Hisham Muhammad authored
Add Keywords entry to .desktop file (Debian Lintian warning desktop-e…
-
Hisham authored
Use a SOURCE_DATA_EPOCH friendly date. Suggested by @fasterit in #476.
-
Hisham authored
-
Hisham Muhammad authored
Rename Meter.setValues() functions to updateValues()
-
Explorer09 authored
Rationale (copied from htop issue #471): The function name "setValues" is misleading. For most OOP (object- oriented programming) contexts, setXXX functions mean they will change some member variables of an object into something specified in function arguments. But in the *Meter_setValues() case, the new values are not from the arguments, but from a hard-coded source. The caller is not supposed to change the values[] to anything it likes, but rather to "update" the values from the source. Hence, updateValues is a better name for this family of functions.
-
- 30 Apr, 2016 2 commits
-
-
Hisham Muhammad authored
Remove needless allocation error conditions
-
Michael McConville authored
These allocations were converted to use xMalloc et al. and no longer need error checks.
-