Commit Graph

428 Commits

Author SHA1 Message Date
Hisham Muhammad 4a26ac05b0 Let's see if responsiveness is still good using the full CRT_delay
in ncurses. CPU usage goes down noticeably.
(Also, add missing comma, sorry.)
2015-02-04 11:41:53 -02:00
Hisham Muhammad cfc773f7ee Use UTF-8 only when using UTF-8 :-) 2015-02-04 11:41:02 -02:00
Hisham Muhammad 6302b3e593 Make sure these are initialized. 2015-02-04 11:40:44 -02:00
Hisham Muhammad d7c843c23b Complete cursor-based movement of headers. 2015-02-03 22:32:07 +01:00
Hisham Muhammad 14bd77c5f4 Add longer descriptions to available meters. 2015-02-03 22:31:44 +01:00
Hisham Muhammad f5f29ceeb9 Make the implementation of color schemes declarative. 2015-02-03 22:30:05 +01:00
Hisham Muhammad c3a7b2f134 Merge branch 'master' into wip 2015-01-23 11:23:44 -02:00
Hisham Muhammad 83a829a286 Remove bogus assertion. Closes #159. 2015-01-23 11:22:55 -02:00
Hisham Muhammad c2108e5a48 Another mega-patch for the refactoring process.
Kinda runs, but functionality from the original main loop
is still missing. Patience.
2015-01-23 03:08:21 -02:00
Hisham Muhammad 3383d8e556 Sorry about the mega-patch.
This is a work-in-progress, code is currently broken.
(Some actions, and notably, the header, are missing.)
2015-01-21 23:27:31 -02:00
Hisham Muhammad 36b7832884 Fix initialization of cpuData structure. Closes #159. 2015-01-19 16:24:56 -02:00
Hisham Muhammad 430c7c9a9b Move platform-dependent parts of Linux battery meter. 2014-11-27 21:04:57 -02:00
Hisham Muhammad b4f6b11092 Move "get max pid" code into platform specific area. 2014-11-27 20:10:23 -02:00
Hisham Muhammad 5578a316f0 Merge branch 'master' of https://github.com/hishamhm/htop 2014-11-27 19:58:07 -02:00
Hisham Muhammad 529095607c Isolate cross-platform code for load average. 2014-11-27 19:57:24 -02:00
Hisham Muhammad e748401588 Build fix. 2014-11-27 19:46:01 -02:00
Hisham Muhammad ca03094bb2 Make UptimeMeter cross-platform again. 2014-11-27 19:41:14 -02:00
Hisham Muhammad 2dcdd87658 Move UptimeMeter back into cross-platform code.
We'll just isolate the platform-dependent bit.
2014-11-27 19:34:47 -02:00
Hisham Muhammad 357e7a3243 Move UptimeMeter into platform-dependent area.
Set up environment to move other meters.
2014-11-27 19:18:14 -02:00
Hisham Muhammad b192af006f Decouple Header from Meter classes.
(Yes, that's dynamic typing!)
2014-11-27 18:38:52 -02:00
Hisham Muhammad cda6bdd56b Add ProcessList_delete to the variable interface. 2014-11-27 17:48:38 -02:00
Hisham Muhammad ff4d1b466f Build fixes. 2014-11-27 16:31:42 -02:00
Hisham Muhammad 6afacee50d A little refactoring 2014-11-27 16:28:32 -02:00
Hisham Muhammad a75161f862 Get Linux "emulation" working again for our FreeBSD folks using linprocfs. 2014-11-24 20:11:33 -02:00
Hisham Muhammad aaaaf063a1 Builds on Linux again! 2014-11-24 19:22:50 -02:00
Hisham Muhammad 26422af608 Files moved and added for supporting separate platforms. 2014-11-24 18:55:49 -02:00
Hisham Muhammad eb229d9aef Changes for supporting separate platform subdirectories. 2014-11-24 18:55:03 -02:00
Hisham Muhammad 1eda099d06 Another portability tweak. 2014-11-19 23:27:21 -02:00
Hisham Muhammad 9faf4938b8 Refactored key handlers.
Made the logic more modular, hopefully easier to follow,
and removed repeated code.
Plus, some optimization in RichString code.
2014-11-19 23:17:52 -02:00
Hisham Muhammad 300af4b829 Minor reorganization. 2014-11-19 23:17:16 -02:00
Hisham Muhammad 66ec872fc6 Merge pull request #137 from Kayvlim/master
Added new color for 'D' state.
2014-10-13 23:01:37 -03:00
Valmiky Arquissandas b2e94d626d Fixed a wrong attribution. 2014-10-14 02:48:17 +01:00
Valmiky Arquissandas 64e0d9452d Added new color for 'D' state. 2014-10-14 02:30:17 +01:00
Hisham Muhammad 0e8a02367e Merge branch 'master' of https://github.com/hishamhm/htop 2014-06-04 16:49:33 -03:00
Hisham Muhammad eb196f8ba4 Get two data points for meters.
Ensure one mini-reading-cycle runs before getting the UI active
so we have two data points to get better meter measurements from
the get-go.
2014-06-04 16:45:55 -03:00
Hisham Muhammad e4882ed9fb Merge pull request #95 from Sworddragon/master
FLT columns for the manpage
2014-05-23 22:45:54 -03:00
Sworddragon 0fc388f2ee Added columns for the page faults in the manpage 2014-05-17 20:22:30 +02:00
Sworddragon 0341cb3b5f Minor fixes for the manpage 2014-05-17 20:20:58 +02:00
Hisham Muhammad 56cf323ccf Merge pull request #93 from Sworddragon/master
Manpage update
2014-05-15 12:00:16 -03:00
Sworddragon afe0c8cb45 Reordered columns in the manpage 2014-05-15 10:19:37 +02:00
Sworddragon bbd62c1929 Added columns and added/fixed aliases in the manpage 2014-05-15 10:19:22 +02:00
Hisham Muhammad 9ba8e2ed05 Merge pull request #86 from stefanbeller/gitignore
Add a .gitignore file
2014-05-06 11:56:00 -03:00
Stefan Beller 4eeb9d5e64 Add a .gitignore file
This file tells git to ignore the files generated via
./autogen.sh && ./configure && make
2014-05-06 16:21:15 +02:00
Hisham Muhammad 8a1c304bed Merge branch 'master' of https://github.com/hishamhm/htop 2014-05-05 23:19:07 -03:00
Hisham Muhammad b7de9bd0f5 Don't stop refreshing if clock was adjusted. 2014-05-05 23:18:14 -03:00
Hisham Muhammad f0e2a0e771 Merge pull request #82 from yardenac/processlist
pass processlist flags to readOpenVZData (fixes build error)
2014-05-04 18:52:11 -03:00
yar 730ab0c9a8 pass processlist flags to readOpenVZData (fixes build error) 2014-05-04 09:43:45 -07:00
Hisham Muhammad ff6cddfd16 Document $HTOPRC. Closes #73. 2014-05-03 18:14:08 -03:00
Hisham Muhammad da16de5a86 Update changelog. 2014-05-03 18:09:31 -03:00
Hisham Muhammad 4939468df0 Fix crash when scrolling in a filter view with no processes. Closes #76. 2014-05-03 18:08:46 -03:00