summaryrefslogtreecommitdiffstats
path: root/Settings.c
Commit message (Collapse)AuthorAgeFilesLines
* Dynamically adjust the size of line readsHisham Muhammad2016-06-191-4/+7
| | | | | | | * Dynamically adjust the size of line reads. * Remove some more uses of fgets with arbitrary sizes. * Fix reading of lines and width of n column. Fixes #514.
* Silence cast warning.Hisham2016-05-301-1/+1
|
* Silence warnings about seteuid return value.Hisham2016-05-251-6/+6
| | | | Closes #483.
* Initialize default meter modes properly.Hisham2016-02-021-5/+15
|
* Merge branch 'xalloc'Hisham2016-02-021-17/+17
|\
| * Check for failure in allocations.Hisham2016-02-021-17/+17
| |
* | Differentiate threads by default.Hisham2016-01-311-1/+2
|/
* Fix fopen mode in Settings_read()Michael Klein2015-12-091-1/+1
|
* drop privileges during Settings_read()/Settings_write()Michael Klein2015-12-021-1/+13
|
* Rename String to StringUtils.David Hunt2015-08-191-1/+1
| | | | | | | | | Fixes building on case-insensitive filesystems where String.h gets confused with <string.h>. From d734dacea0a10d0465dad4e95b3421511e7da112 Mon Sep 17 00:00:00 2001 From: David Hunt <dhunt@iolanthe.attlocal.net> Date: Sat, 11 Jul 2015 20:56:31 -0500 Subject: [PATCH 1/8] Rename String to StringUtils
* Ensure default matches classic htop behavior.Hisham Muhammad2015-08-121-0/+1
|
* Merge pull request #148 from nckx/display-basenameHisham Muhammad2015-08-121-0/+4
|\ | | | | [PATCH] New setting: "Show program path"
| * New setting: "Show program path"Tobias Geerinckx-Rice2015-08-071-0/+4
| | | | | | | | | | | | | | | | | | Add a setting to hide all but the last component from the programme path, leaving only the "basename". Makes htop more usable on smaller screens, or systems with longer than average paths. Off by default. "Highlight program basename" will still be respected, to further visually separate process names from their arguments.
* | store cpuCount in an attributeHisham Muhammad2015-05-131-9/+11
|/
* Reset to the default scheme, not the last one.Hisham Muhammad2015-04-091-2/+1
|
* Fix saving new color scheme.Hisham Muhammad2015-04-091-1/+2
|
* Fix NULL-termination of array for later use by String_freeArray.Hisham Muhammad2015-03-251-1/+1
|
* Fix saving of header states, motion in Setup screen.Hisham Muhammad2015-03-161-0/+2
|
* Get FreeBSD tree to compile again with latest changes.Hisham Muhammad2015-03-161-1/+1
|
* Isolate portable and Linux-specific process fields.Hisham Muhammad2015-03-161-5/+1
|
* Move more Linux-specific code into Linux subdir.Hisham Muhammad2015-03-151-3/+4
|
* Another mega-patch for the refactoring process.Hisham Muhammad2015-01-231-1/+1
| | | | | Kinda runs, but functionality from the original main loop is still missing. Patience.
* Sorry about the mega-patch.Hisham Muhammad2015-01-211-123/+210
| | | | | This is a work-in-progress, code is currently broken. (Some actions, and notably, the header, are missing.)
* Decouple Header from Meter classes.Hisham Muhammad2014-11-271-2/+19
| | | | (Yes, that's dynamic typing!)
* Improve function prototype, helping analysis.Hisham Muhammad2014-04-241-1/+1
|
* Fix resource leak.Hisham Muhammad2014-04-241-1/+1
|
* safer code, check result of lstatHisham Muhammad2014-04-221-3/+5
|
* alignment improvementsHisham Muhammad2014-02-271-1/+1
|
* Make CPU meter optionally account guest time in its percentagesHisham Muhammad2013-12-181-0/+3
|
* Performance improvements due to conditional parsing of IO data depending on ↵Hisham Muhammad2013-05-241-0/+2
| | | | | | | selected fields. On my machine, this gives a ~20% improvement in htop process time use with the default config.
* Option to update process names on every refreshHisham Muhammad2012-10-201-0/+3
| | | | | (thanks to Rob Hoelz)
* avoid deleting valid symbolic links to .htoprcHisham Muhammad2012-03-051-1/+3
| | | | | | so that home directories can be used with both old and new versions of htop (see #3496731).
* Remove old memory debugging routines. We have Valgrind nowadays.Hisham Muhammad2011-12-261-1/+0
|
* major header cleanupHisham Muhammad2011-12-261-4/+10
|
* Move .htoprc to XDG-compliant path ~/.config/htop/htoprc,Hisham Muhammad2011-12-251-18/+42
| | | | | | respecting $XDG_CONFIG_HOME (thanks to Hadzhimurad Ustarkhan for the suggestion.)
* Fix typo that has been lurking since 2006Hisham Muhammad2011-12-231-1/+1
|
* Mega-commit with features and tweaks for 1.0:Hisham Muhammad2011-11-181-6/+6
| | | | | | | | | | | * 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.
* Don't simply trust that string splits were successful...Hisham Muhammad2011-08-291-9/+15
|
* be more precise in the commentHisham Muhammad2011-08-121-2/+1
|
* Tempus fugit.Hisham Muhammad2011-05-261-1/+1
|
* * Option for counting CPUs from zeroHisham Muhammad2011-03-221-0/+3
| | | | | | (thanks to Sean Noonan) * Meters update in every screen (no longer halting while on Setup, etc.)
* Tempus fugit.Hisham Muhammad2010-02-251-1/+1
|
* show custom thread namesHisham Muhammad2010-02-251-1/+4
|
* minor tweaks by David WeberHisham Muhammad2010-02-221-4/+2
|
* Clean up headers by using 'static' whenever possible.Hisham Muhammad2008-03-091-35/+35
| | | | | Reduces resulting code size.
* BUGFIX: Fix display of CPU count for threaded processes.Hisham Muhammad2008-03-081-0/+4
| | | | | | | | | | When user threads are hidden, process now shows the sum of processor usage for all processors. When user threads are displayed, each thread shows its own processor usage, including the root thread. (thanks to Bert Wesarg for the report) Also, add option to display thread colors differently.
* Avoid crashing when using many meters (thanks to David Cho for the report)Hisham Muhammad2007-11-261-1/+1
|
* IO-wait time now counts as idle time, which is a moreHisham Muhammad2007-11-091-2/+5
| | | | | | | accurate description. It is still available in split time, now called detailed CPU time. (thanks to Samuel Thibault for the report)
* Add a trailing newline in .htoprcHisham Muhammad2007-08-101-0/+1
| | | | | | http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=420856 (sheesh, the things people get worked up about :) )
* Contribution by Philipp Richter: Display IO-Wait, IRQ and Soft-IRQ values in ↵Hisham Muhammad2006-10-041-0/+3
| | | | | | | status bar (minor modifications: default to false, add help)

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