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