Commit Graph

2627 Commits

Author SHA1 Message Date
Hisham Muhammad d7c3dc748f Merge pull request #203 from Lance0312/fix-freebsd-compilation-errors
Fix several FreeBSD compilation errors
2015-06-08 15:22:10 -03:00
Lance Chen 5a5dc71770
Cast FreeBSDProcess_new to Process_New
`Process_new_fn` had been renamed to `Process_New` in
d880def0e9
2015-06-07 17:31:05 +08:00
Lance Chen 1efa544e1b
Re-run MakeHeader.py on freebsd/FreeBSDProcess.c
Several functions and struct had changed in
b291fba02b
2015-06-07 17:30:55 +08:00
sherpya a8e1c1c63f added missing defines for android 2015-05-20 04:30:11 +02:00
Christian Hesse 867dece8fe add */.dirstamp to .gitignore 2015-05-15 11:38:16 +02:00
Christian Hesse 08829cbc3b fix compiler warnings
gcc gives warnings like this:

warning: ignoring return value of ‘fscanf’, declared with attribute
warn_unused_result

Assign value to a variable, cast to (void) to discard it.
2015-05-15 11:33:25 +02:00
Hisham Muhammad f1e8a074f2 store cpuCount in an attribute 2015-05-13 15:13:55 -03:00
Hisham Muhammad f4f6d54ffd Fix compilation of OpenVZ support.
Closes #185.
Closes #190.
2015-05-13 15:00:58 -03:00
Hisham Muhammad 64ecba2583 update bar when clicking header. 2015-04-09 16:02:14 -03:00
Hisham Muhammad ac8b934498 Fix failing stuff. 2015-04-09 15:56:43 -03:00
Hisham Muhammad 01737ed66b Reset to the default scheme, not the last one. 2015-04-09 15:44:26 -03:00
Hisham Muhammad 2f45008477 Enable OOM support unconditionally on Linux.
Read OOM data only if column is enabled.
Make sort ordering more consistent. Closes #182.
2015-04-09 15:41:21 -03:00
Hisham Muhammad b291fba02b Fixes to use platform-specific compare routines. 2015-04-09 15:40:46 -03:00
Hisham Muhammad dc4576d327 Fix saving new color scheme. 2015-04-09 15:19:31 -03:00
Hisham Muhammad b1f934c5d5 Visual tweaks: change color when following, add Broken Gray theme. 2015-04-09 15:17:20 -03:00
Hisham Muhammad 01a29f0267 84.9% test coverage in the wip branch! 2015-04-08 21:27:52 -03:00
Hisham Muhammad 094ddc4051 This assert is no longer valid. 2015-04-08 21:27:36 -03:00
Hisham Muhammad d4256d6300 Keep following status when no key is pressed. 2015-04-08 21:25:31 -03:00
Hisham Muhammad fde3457235 Make test more robust. 2015-04-08 19:07:41 -03:00
Hisham Muhammad 86d5750451 Merge branch 'master' into wip 2015-04-08 18:47:01 -03:00
Hisham Muhammad e3d1ca0d20 83.9% test coverage! 2015-04-02 03:33:12 -03:00
Hisham Muhammad 4e29cad4fe Merge branch 'master' into wip 2015-04-02 02:13:18 -03:00
Hisham Muhammad e5b08447fe Better support for testing under wip branch 2015-04-02 02:13:07 -03:00
Hisham Muhammad d880def0e9 Merge branch 'master' into wip
Conflicts:
	Process.c
	Process.h
	htop.c
	linux/LinuxProcess.c
	linux/LinuxProcess.h
	test_spec.lua
2015-04-02 01:57:37 -03:00
Hisham Muhammad 4315e0c2a0 78.8% test coverage! 2015-04-02 01:44:44 -03:00
Hisham Muhammad 1179906e95 Add test, change env variable name 2015-04-02 01:41:52 -03:00
Hisham Muhammad cb8ac6b0f1 Ignore coverage files. 2015-03-31 23:24:06 -03:00
Hisham Muhammad a7236559a7 81.1% test coverage! 2015-03-31 23:23:40 -03:00
Hisham Muhammad 4c24a9b462 Fixes to subclassing Process. 2015-03-31 23:23:10 -03:00
Hisham Muhammad 5320bab202 Cleanup unused field. 2015-03-31 22:31:06 -03:00
Hisham Muhammad 849adf6155 78.8% test coverage! 2015-03-30 01:52:39 -03:00
Hisham Muhammad 99e58b3200 Add test, change env variable name 2015-03-28 19:36:06 -03:00
Hisham Muhammad 4eee71051b Add coverage testing rules 2015-03-28 19:25:48 -03:00
Hisham Muhammad 2939a84ea3 Beginnings of a test suite! 2015-03-27 16:30:02 -03:00
Hisham Muhammad 63aa02c7a9 Beginnings of a test suite! 2015-03-27 16:29:09 -03:00
Hisham Muhammad 80ef119fe7 Add coverage testing rules 2015-03-25 17:14:40 -03:00
Hisham Muhammad 70abaadbaf Fix NULL-termination of array for later use by String_freeArray. 2015-03-25 16:36:42 -03:00
Hisham Muhammad a93db5234c handle clicks on panel header line 2015-03-24 23:12:43 -03:00
Hisham Muhammad 38fd1bfaba Add a test plan.
A list of functionality to go through and test before releases.
2015-03-23 19:25:57 -03:00
Hisham Muhammad 7cb8cb05fb Simplify constructors. 2015-03-23 19:24:34 -03:00
Hisham Muhammad 8a11281c67 Merge branch 'master' into wip
Conflicts:
	Panel.c
	htop.c
	htop.h
2015-03-23 18:16:47 -03:00
Hisham Muhammad b1b3f57976 Tempus fugit.
Conflicts:
	htop.c
	htop.h
2015-03-23 18:15:56 -03:00
Hisham Muhammad 54f8d8154b Do not trust isalpha(c) for values > 255.
Fixes #174.

Conflicts:
	Panel.c
2015-03-23 18:14:35 -03:00
Hisham Muhammad ade7993fcb incremental search and filter reintegrated! 2015-03-23 17:04:53 -03:00
Hisham Muhammad d0c72c3fb2 Move FunctionBar inside Panel 2015-03-23 15:26:56 -03:00
Hisham Muhammad 442a0d33e4 Do not trust isalpha(c) for values > 255.
Fixes #174.
2015-03-22 22:56:28 -03:00
Hisham Muhammad 1084a3ff8f Working on integration of IncSet in new branch. 2015-03-22 22:39:33 -03:00
Hisham Muhammad 09c7152990 Refactor state control variables. 2015-03-22 02:50:40 -03:00
Hisham Muhammad 1e0c530a46 Tempus fugit. 2015-03-21 16:52:54 -03:00
Hisham Muhammad 4e064e0db7 Build fixes to resync with FreeBSD changes. 2015-03-16 23:03:40 -03:00