169 lines
		
	
	
	
		
			4.9 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			169 lines
		
	
	
	
		
			4.9 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
2016-02-07 Doug Torrance
 | 
						||
Bump to version 0.85.
 | 
						||
 | 
						||
2016-02-07 Doug Torrance
 | 
						||
Remove .cvsignore.
 | 
						||
 | 
						||
2016-02-07 Doug Torrance
 | 
						||
Switch build system to autotools.
 | 
						||
 | 
						||
To take advantage of this, we rename CHANGES to ChangeLog and also replace
 | 
						||
the WMTOP_VERSION macro with PACKAGE_VERSION.
 | 
						||
 | 
						||
2016-02-07 Doug Torrance
 | 
						||
Use proper int types.
 | 
						||
 | 
						||
Based partially on a patch by wbk to fix Gentoo bug #410093 [1].  From the
 | 
						||
bug report:
 | 
						||
 | 
						||
  After fixing the /proc/meminfo issue, another bug will emerge on systems
 | 
						||
  where total system RAM in bytes exceeds INT_MAX. The correct top three
 | 
						||
  processes will be identified, but their load bars will have the wrong
 | 
						||
  value. This is caused by a value overflow due to storing total system
 | 
						||
  memory in an "int" type variable. We will end up thinking ((Total RAM)
 | 
						||
  modulo (INT_MAX)) is our total system RAM, so our percentages will be
 | 
						||
  inflated when drawing the load bar. This fix will require a bit more care
 | 
						||
  to follow the flow of data and ensure this value isn't being cast to "int"
 | 
						||
  along the way. Function return types will need to be changed.
 | 
						||
 | 
						||
[1] https://bugs.gentoo.org/show_bug.cgi?id=410093
 | 
						||
 | 
						||
2015-09-07 Doug Torrance
 | 
						||
Remove inline keywords.
 | 
						||
 | 
						||
Otherwise, build fails with "error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
 | 
						||
‘__attribute__’ before ‘void’" if using ANSI C.
 | 
						||
 | 
						||
2015-09-07 Doug Torrance
 | 
						||
Add #define _BSD_SOURCE.
 | 
						||
 | 
						||
Avoid implicit declaration warnings (usleep and getpagesize) if compiled
 | 
						||
using C99 standard.
 | 
						||
 | 
						||
2015-09-07 Doug Torrance
 | 
						||
Switch user variable from int to uid_t.
 | 
						||
 | 
						||
Fixes 'comparison between signed and unsigned integer expressions' compiler
 | 
						||
warnings.
 | 
						||
 | 
						||
2015-09-07 Doug Torrance
 | 
						||
Remove wmgeneral directory and use libdockapp.
 | 
						||
 | 
						||
2015-09-07 Doug Torrance
 | 
						||
Escape minus signs and fix spelling errors in manpage.
 | 
						||
 | 
						||
Obtained from [1].
 | 
						||
 | 
						||
[1] https://sources.debian.net/src/wmtop/0.84-12/debian/patches/
 | 
						||
    fix_manpage.patch/
 | 
						||
 | 
						||
2015-09-07 Doug Torrance
 | 
						||
Fix incorrect memory usage.
 | 
						||
 | 
						||
Patch by Dwayne C. Litzenberger <dlitz@dlitz.net> to fix Debian bug #224732.
 | 
						||
 | 
						||
Obtained from [1].
 | 
						||
 | 
						||
[1] https://sources.debian.net/src/wmtop/0.84-12/debian/patches/
 | 
						||
    fix_incorrect_memory_usage.patch/
 | 
						||
 | 
						||
Revision 1.3  2001/03/06 21:29:46  mrolig
 | 
						||
 | 
						||
added support for stripping kdeinit, and displaying something useful for KDE apps.
 | 
						||
 | 
						||
Revision 1.3	2001/03/05 22:15:00	mrolig
 | 
						||
Added ability to strip kdeinit from kde proc names
 | 
						||
 | 
						||
Revision 1.2  2000/04/29 18:16:07  sigfpe
 | 
						||
Minor changes.
 | 
						||
This version will be release 0.8
 | 
						||
 | 
						||
Revision 1.1  2000/04/08 01:38:00  sigfpe
 | 
						||
Added change log.
 | 
						||
 | 
						||
Revision 1.2  2000/04/05 05:36:14  sigfpe
 | 
						||
Updated usage information and manual page.
 | 
						||
 | 
						||
Revision 1.1.1.1  2000/04/05 04:40:57  sigfpe
 | 
						||
Importing wmtop into CVS on sourcefourge for the first time.
 | 
						||
 | 
						||
Revision 1.26  2000/04/03 22:14:29  dan
 | 
						||
Reintroduced some changes lost in the incorporation of Alan Swanson's
 | 
						||
changes.  Tested under FreeBSD.
 | 
						||
 | 
						||
Revision 1.25  2000/04/03 17:27:02  dan
 | 
						||
Incorporated some changes from Alan Swanson. Had to redo some changes that
 | 
						||
were made after the version Alan was using.
 | 
						||
 | 
						||
Revision 1.23  2000/03/12 08:39:17  dan
 | 
						||
Fixed process name nontracking bug.
 | 
						||
 | 
						||
Revision 1.21  1999/10/13 03:05:29  dan
 | 
						||
Fixed missing final '0' to execlp(). Only apparent under FreeBSD.
 | 
						||
 | 
						||
Revision 1.20  1999/10/06 21:48:11  dan
 | 
						||
Beta release of 0.6
 | 
						||
 | 
						||
Revision 1.19  1999/10/05 20:15:17  dan
 | 
						||
Tidied up a bit.
 | 
						||
 | 
						||
Revision 1.18  1999/10/05 04:25:21  dan
 | 
						||
Replaced ptable[] with find_process() fixing FreeBSD core dumps
 | 
						||
 | 
						||
Revision 1.17  1999/10/03 10:05:34  dan
 | 
						||
CPU time now supported under FreeBSD
 | 
						||
 | 
						||
Revision 1.16  1999/10/03 08:43:41  dan
 | 
						||
Last purely Linux version. Starting on FreeBSD port.
 | 
						||
 | 
						||
Revision 1.15  1999/09/26 20:14:57  dan
 | 
						||
*** empty log message ***
 | 
						||
 | 
						||
Revision 1.14  1999/09/26 05:07:41  dan
 | 
						||
Major rearrangement.
 | 
						||
 | 
						||
Revision 1.13  1999/09/26 04:53:07  dan
 | 
						||
*** empty log message ***
 | 
						||
 | 
						||
Revision 1.11  1999/09/18 01:06:00  dan
 | 
						||
Improved process object. Moving towards platform independence.
 | 
						||
Changed Makefile using changes from Brian Servis.
 | 
						||
 | 
						||
Revision 1.10  1999/09/14 06:50:18  dan
 | 
						||
Created process process structure
 | 
						||
 | 
						||
Revision 1.9  1999/08/04 18:33:08  dan
 | 
						||
Tidied up source code a tiny bit.
 | 
						||
Added CHANGES log and TODO file.
 | 
						||
 | 
						||
Revision 1.8  1999/07/27 04:51:02  dan
 | 
						||
Added manual page.
 | 
						||
 | 
						||
Revision 1.7  1999/07/26 23:26:39  dan
 | 
						||
Fixed problems with zombies thanks to the UNIX FAQ at
 | 
						||
http://www.erlenstar.demon.co.uk/unix/faq_toc.html
 | 
						||
 | 
						||
Revision 1.6  1999/07/23 18:09:02  dan
 | 
						||
Using exec() instead of system(). Still getting zombies. Must learn some
 | 
						||
system programming :-)
 | 
						||
 | 
						||
Revision 1.5  1999/07/19 21:31:46  dan
 | 
						||
Added -c option
 | 
						||
 | 
						||
Revision 1.4  1999/07/19 20:52:13  dan
 | 
						||
Removing files that are now unnecessary
 | 
						||
 | 
						||
Revision 1.3  1999/07/11 17:43:04  dan
 | 
						||
Added -x <regexp>
 | 
						||
Added -U
 | 
						||
 | 
						||
Revision 1.2  1999/06/15 23:48:39  dan
 | 
						||
Tidying up. Removed some inherited code no longer used. Indenting the way I
 | 
						||
like it.
 | 
						||
 | 
						||
Revision 1.1  1999/06/15 23:10:17  dan
 | 
						||
Complete rearrangement
 | 
						||
 | 
						||
Revision 1.4  1999/06/11 20:21:58  dan
 | 
						||
Added logging information 'cos the GPL says you have to have the date of
 | 
						||
modification stored in your file
 |