sys-proctable 0.9.8-universal-mingw32 → 0.9.9-universal-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGES CHANGED
@@ -1,347 +1,353 @@
1
- == 0.9.8 - 18-Apr-2015
2
- * Fixed a bug in the gemspec. Last version got yanked.
3
-
4
- == 0.9.7 - 18-Apr-2015
5
- * Fixed a bug in the OSX code that could cause the ps method to fail. Thanks
6
- go to Koshevoy Anton for the spot.
7
- * Some internal refactoring of version handling. Now all platforms use a
8
- single version file.
9
- * Replaced vm_size_t and lwpid_t with universal data types on FreeBSD because
10
- FFI on FreeBSD 10 no longer understands them. Thanks go to Mike Owens for
11
- the spot.
12
-
13
- == 0.9.6 - 24-Feb-2015
14
- * Added NLWP field on Linux. Thanks go to Rich Chatterton for the patch.
15
-
16
- == 0.9.5 - 10-Feb-2015
17
- * Significant cleanup and memory reduction of the OSX code. Thanks go
18
- to Ivan (toy) for the patches.
19
- * Skip over /proc/<file>/status if unreadable on Linux. Thanks go to Jianjun
20
- Mao for the patch.
21
-
22
- == 0.9.4 - 4-Mar-2014
23
- * Added support for AIX 5.3 or later courtesy of Rick Ohnemus.
24
- * The Solaris version now uses FFI structs instead of a packed array.
25
- It solved issues with 64-bit versions of Ruby and it's self-documenting.
26
- * The FreeBSD version has been converted to use FFI. In addition, additional
27
- struct members have been added, and members that previously returned nil
28
- now return meaningful data.
29
- * Support for NetBSD and OpenBSD has been temporarily dropped. Considering
30
- that the C code did not build on those platforms anyway, I doubt most of
31
- you will notice. Patches for those platforms are welcome, but only using FFI.
32
-
33
- == 0.9.3 - 17-Mar-2013
34
- * Fixed a bug on OSX where a long command string arg could cause
35
- a segfault. Thanks go to Nathaniel Bibler for the spot.
36
- * Changed the gem platform from mingw to mingw32 for Windows.
37
-
38
- == 0.9.2 - 8-Oct-2012
39
- * Added cmdline support for OS X. Thanks go to Matthias Zirnstein for
40
- the patch.
41
- * Warning cleanup for 1.9.
42
- * Updated the gem platform handling. Replaced the borked string approach
43
- with a two element array for Gem::Platform.new.
44
- * MS date strings are now parse with DateTime instead of Date.
45
-
46
- == 0.9.1 - 3-Aug-2011
47
- * Added the pctcpu and pctmem members for Linux.
48
- * Added Errno::ESRCH to a rescue clause on Linux that fixed a bug
49
- where a missing entry wasn't being skipped when run as root. Thanks
50
- go to Austin Ziegler for the spot and patch.
51
- * Fixed a build warning for Darwin.
52
- * Updates to the test suite for both Darwin and Linux.
53
- * Added an explicit type check for BSD for pids.
54
- * Added nicer error messages for BSD if kvm_open fails.
55
- * Added .core files to the clean task.
56
- * Altered the platform settings in the Rakefile so that generated gems
57
- use 'universal' platform architectures for any particular operating system.
58
-
59
- == 0.9.0 - 14-Oct-2009
60
- * Changed the license to Artistic 2.0.
61
- * Fixed a bug in the OS X code where a segfault would occur when an attempt
62
- was made to gather resource usage information on zombie processes. From
63
- now on that information is always set to nil for zombie processes. Thanks
64
- go to Tom Lianza for the spot and Philip Kromer for investigating the
65
- root cause of the failure.
66
- * Removed the FreeBSD code that read out of /proc. It was a pain from a
67
- maintenance point of view, and most FreeBSD installs do not mount /proc
68
- by default. The FreeBSD platform now uses the same code that the other
69
- BSD platforms use.
70
- * Fixed a bug in the BSD code where the ProcTable::Error class had the
71
- wrong parent class.
72
- * Some major gemspec updates, including an updated license. The platform
73
- handling logic is now in the Rakefile in the 'gem' task.
74
- * Updated the README file to include an additional acknowledgement, a
75
- license change and some minor formatting changes.
76
- * The test-unit library was changed from a runtime to a development dependency.
77
-
78
- == 0.8.1 - 6-Apr-2009
79
- * The Linux and Solaris libraries now handle the possibility of a process
80
- terminating in the middle of a read more gracefully. If that happens, they
81
- merely skip to the next record, i.e. it's all or nothing. Thanks go to
82
- Heejong Lee for the spot and patch.
83
- * Fixed a bug in the Linux version where embedded nulls were not being
84
- stripped out of the cmdline data.
85
- * Added the comm alias back to the Solaris version. Thanks go to Jun Young Kim
86
- for the spot.
87
-
88
- == 0.8.0 - 26-Jan-2009
89
- * The Linux and Solaris versions of this library are now pure Ruby. Be warned,
90
- however, that only Solaris 8 and later are now supported. This may change
91
- in a future release if there's demand to support 2.6 and 2.7.
92
- * Some Struct::ProcTableStruct members have changed. As a general rule they
93
- now more closely match the C struct member name. See individual platforms
94
- for more details.
95
- * Bug fix for the cmd_args struct member on Solaris.
96
- * Bug fixes for OS X. Added a VERSION constant, fixed struct name, and changed
97
- pct_cpu to pctcpu.
98
- * The .new method is now explicitly illegal.
99
- * The Struct::ProcTableStruct instances are now frozen. This is read-only data.
100
- * Added the peak_page_file_usage and status members on MS Windows. The status
101
- member is always nil, but was added for completeness.
102
- * Fixed the quota_peak_paged_pool_usage member on MS Windows.
103
- * ProcTableError is now ProcTable::Error.
104
- * Minor test case fix for kvm/bsd based versions.
105
- * Added the 'time' library as a require for Windows (to parse MS date/time
106
- format strings).
107
- * The kvm (bsd.c) implementation now works for FreeBSD 7.
108
- * Added many more tests.
109
- * Added some benchmarking code in the 'benchmarks' directory.
110
- * Added a 'bench' Rake task.
111
- * Renamed the test_ps.rb file to example_ps.rb in order to avoid any possible
112
- confusion with actual test files.
113
- * Added an 'example' rake task to run the example file.
114
-
115
- == 0.7.6 - 11-Jul-2007
116
- * Fixed the starttime for Linux. Thanks go to Yaroslav Dmitriev for the spot.
117
- * Fixed a bug in the MS Windows version within a private method that parsed
118
- an MS specific date format. This was caused by a backwards incompatible
119
- change in the Time.parse method in Ruby 1.8.6. See ruby-core: 11245 ff.
120
- * Fixed the gemspec (I hope). Please let me know if you have problems.
121
- * Added a Rakefile. Building, testing and installing should now be handled via
122
- Rake tasks. The install.rb file has been removed - that code is now
123
- integrated in the Rakefile.
124
- * Minor directory layout changes and cleanup (mostly for the extconf.rb file).
125
- * Side note - it seems that the code for OS X *does* work, at least on 10.4.10.
126
- I can only conclude that previous reports about it failing were related to
127
- bugs in OS X or were really just build issues. Apologies (and thanks, again)
128
- to David Felstead for the code. However, see the README for more information
129
- specific to OS X, as there are shortcomings.
130
-
131
- == 0.7.5 - 23-Nov-2006
132
- * Fixed int/long issues for Linux. Thanks go to Matt Lightner for the spot.
133
- * Minor documentation fixes and changes to the extconf.rb file.
134
-
135
- == 0.7.4 - 20-Nov-2006
136
- * Added a patch that deals with the large file compilation issue on Solaris.
137
- You no longer need to build Ruby with --disable-largefile, or build a
138
- 64 bit Ruby, in order for this package to work. Thanks go to Steven Jenkins
139
- for the information that led to the patch.
140
- * Added inline rdoc to the source code.
141
- * Added a gemspec.
142
- * Fixed some potential 64 bit issues (struct declarations).
143
- * Added preliminary support for Darwin (OS X). The code was provided by
144
- David Felstead, but does not appear to compile successfully. Help wanted.
145
-
146
- == 0.7.3 - 27-Oct-2005
147
- * Fix for 1.8.3 and later (rb_pid_t). This should have only affected
148
- Solaris.
149
-
150
- == 0.7.2 - 15-May-2005
151
- * Bug fix for the FreeBSD version that reads from /proc.
152
- * Eliminated the test bug on Linux (inexplicably caused by File.copy). The
153
- test suite should now run without segfaulting.
154
- * Include bsd.c in tarball (oops).
155
- * Minor test updates for FreeBSD.
156
- * The 'pct_cpu' member for the BSD/kvm version has been changed to 'pctcpu'
157
- for consistency with other platforms.
158
-
159
- == 0.7.1 - 8-May-2005
160
- * Bug fixed for the cmdline info on Linux. Thanks go to Arash Abedinzadeh
161
- for the spot.
162
- * Added an example program.
163
- * Minor setup fix for Win32 in tc_all.rb.
164
-
165
- == 0.7.0 - 25-Apr-2005
166
- * Scrapped the C implementation for Windows in favor of an OLE + WMI pure Ruby
167
- approach. See documentation for details.
168
- * Added an optional lkvm implementation for BSD users. This is automatically
169
- used if the /proc filesystem isn't found.
170
- * Added prusage info for the Solaris version.
171
- * Added name, eid, euid, gid and guid information for Linux. Thanks go to
172
- James Hranicky for the patch.
173
- * Fixed some potential bugs in the Linux version. Thanks go to James
174
- Hranicky for the spot.
175
- * Added the 'sys/top' package.
176
- * ProcTable.fields no longer supports a block form.
177
- * The BTIME (boot time) information has been removed from the Linux version.
178
- If you want that information, use sys-uptime instead.
179
- * The .html and .rd files have been removed. You can generate html on your
180
- own with rdoc if you like.
181
- * Some code cleanup on the C side of the house.
182
- * Most documents made rdoc friendly.
183
- * Renamed 'install_pure_ruby.rb' to just 'install.rb'.
184
- * Removed the 'INSTALL' file. Installation instructions are in the README.
185
- * Some test suite cleanup and reorganization.
186
- * Moved project to RubyForge.
187
-
188
- == 0.6.4 - 31-Mar-2004
189
- * Fixed a bug in the pure Ruby version for Win32. Thanks go to Mark Hudson
190
- for the spot.
191
- * Fixed a bug in the C implementation for Win32 where the cmdline and path
192
- values were sometimes wrong for running processes. Thanks go to Park Heesob
193
- for the fix.
194
- * Updated the VERSION constant and removed the VERSION class method in the
195
- pure Ruby version for Win32.
196
- * Updated install_pure_ruby.rb and test.rb scripts.
197
- * Updated warranty information.
198
- * The extconf.rb script has been revamped. See the INSTALL and README files
199
- for important changes since the last release.
200
- * The start ProcInfo struct member on Solaris, HP-UX and FreeBSD is now a
201
- Time object, not a Fixnum/Bignum.
202
- * Modified linux.c yet again to make gcc happy when it comes to multi-line
203
- string literals.
204
- * Minor change to way process state is handled on HP-UX.
205
- * Documentation additions and updates, including warranty information.
206
-
207
- == 0.6.3 - 24-Feb-2004
208
- * Fixed a bug in the Solaris version where the cmd_args array did not
209
- necessarily contain data on 2.7 and later. The current patch still
210
- does not quite fix the problem for 2.6 and earlier but can be easily
211
- derived manually by parsing the cmdline string.
212
-
213
- == 0.6.2 - 20-Jan-2004
214
- * Fixed a small memory leak in the solaris version.
215
-
216
- == 0.6.1 - 31-Dec-2003
217
- * Fixed a minor bug in the cmdline field on Linux where a blank character
218
- was being appended to the end of the field.
219
- * Fixed a minor annoyance where the windows.rb file was being copied into
220
- the Ruby lib directory on install.
221
- * Added a test_memleak.rb file. Currently only supported on Linux and
222
- only does a file descriptor count check. I plan to expand this to
223
- other platforms in the future.
224
- * Minor test suite changes
225
- * MANIFEST correction and update.
226
-
227
- == 0.6.0 - 22-Oct-2003
228
- * Significant API change (and thus, a version jump) - only a
229
- single argument is now accepted to the ps() method, and only a PID
230
- (Fixnum) is regarded as a valid argument.
231
- * Calling ps() with a pid returns a single ProcTable struct (or nil
232
- if the pid is not found), instead of a one element array.
233
- * Argument to ps() now works properly on HP-UX and Win32.
234
- * Removed the '#include <sys/types32.h>' in sunos.h. It wasn't needed
235
- and you're not supposed to include it directly.
236
- * Fixed 2.6 compatibility issue with regards to cmdline on Solaris.
237
- * Removed the ProcStatException completely on Linux. There was no reason
238
- to fail on a directory read for /proc/xxx/stat. If the read fails
239
- (meaning the process died in the middle of collecting info for it), it
240
- is simply ignored.
241
- * The ttynum bug on HPUX has been fixed. In addition, the return value for
242
- this field is now a string rather than an int and the field name has
243
- been changed to "ttydev".
244
- * The ttynum field has been changed to ttydev on Solaris and HPUX. On
245
- Solaris, the ttydev is now reported as -1 if there is no associated tty.
246
- In a future release, Solaris and the other *nix platforms will be changed
247
- so that ttydev is always a device name (i.e String).
248
- * Added plain text documentation for all platforms.
249
- * Some test suite cleanup.
250
- * Changed .rd2 extension to just '.rd'.
251
-
252
- == 0.5.2 - 18-Jul-2003
253
- * Modified cmdline to extend past the traditional 80 character limit on
254
- Solaris, where possible (Solaris 2.6+ only).
255
- * Added the cmdline_args and num_args fields on Solaris, which returns
256
- an array of cmdline arguments and the number of cmdline arguments,
257
- respectively.
258
- * Minor modification to fields() method, in addition to warning cleanup
259
- for Solaris.
260
- * Changed "defunct" state string to "zombie" for Solaris.
261
- * Should cleanly compile with -Wall -W now (gcc) on Solaris.
262
- * Added solaris.txt to doc directory.
263
- * MANIFEST corrections.
264
-
265
- == 0.5.1 - 16-Jul-2003
266
- * Fixed a nasty file descriptor bug in the Linux code, where file descriptors
267
- were continuously being used up.
268
- * Added the BTIME (boot time) constant for Linux.
269
- * Fixed up the test/test.rb file a bit.
270
- * Added BTIME tests to tc_linux.rb.
271
-
272
- == 0.5.0 - 11-Jul-200
273
- * Added HP-UX support!
274
- * Note that passing PID's or strings as arguments to ps() is not supported
275
- in the HP-UX version. This functionality will be stripped out of the
276
- other versions in a future release. See the README file for more details.
277
- * Removed the VERSION() class method. Use the constant instead.
278
- * Separated the rd docs from their respective source files. Now in the doc
279
- directory.
280
- * Got rid of the interactive html generation in extconf.rb.
281
- * Changed License to Artistic.
282
-
283
- == 0.4.3 - 30-May-2003
284
- * Added a version.h file to store the version number. Modified all of the
285
- C source files to use that instead of hard coding the version everywhere.
286
- * Added a generic test.rb script for those without TestUnit installed, or
287
- just futzing in general. Modified the extconf.rb script to copy this
288
- instead of writing an inline HERE document.
289
- * Modified extconf.rb so that it builds with mingw or cygwin. Thanks go to
290
- Peter Fischer for the spot and patch.
291
- * Modified test suite to work with TestUnit 0.1.6 or 0.1.8.
292
-
293
- == 0.4.2 - 14-Apr-2003
294
- * Added pure Ruby version for Win32 - thanks Park Heesob.
295
- * Modified extconf.rb file to handle pure Ruby versions.
296
- * Added install_pure_ruby.rb file, an alternate installation
297
- script for pure Ruby versions.
298
-
299
- == 0.4.1 - 31-Mar-2003
300
- * Added support for Solaris 2.5.x.
301
- * All exceptions are now a direct subclass of StandardError.
302
- * Value returned for wchan now more meaningful (2.5.x only for now).
303
- * Fixed the start, utime and ctime for FreeBSD.
304
- * Minor fix to FreeBSD test suite.
305
- * Some changes to extconf.rb.
306
- * Minor doc changes.
307
- * Added License and Copyright info.
308
-
309
- == 0.4.0 - 10-Mar-2003
310
- * Added MS Windows support (non-cygwin).
311
- * Added environment information for Linux version.
312
- * Added real exceptions (type depends on platform).
313
- * Added a test suite (for those with testunit installed).
314
- * Removed the sys-uname requirement.
315
- * Heavily modified the extconf.rb script.
316
- * Changed "Changelog" to "CHANGES" and "Manifest" to "MANIFEST".
317
- * Added a VERSION constant and class method.
318
- * Minor internal directory layout change (put 'os' under 'lib').
319
- * Changed package name to lower case.
320
- * Doc changes, including license information.
321
-
322
- == 0.3.1 - 16-Aug-2002
323
- * Added a "comm" field to the sunos version. I am going to try to make this a
324
- common field for all platforms to help reduce RUBY_PLATFORM checking.
325
- * Fixed the release date for 0.3.0 (was accidentally marked *July*).
326
- * Added an INSTALL file.
327
- * Minor documentation change to the sunos.c source file.
328
-
329
- == 0.3.0 - 11-Aug-2002
330
- * Added FreeBSD support!
331
- * Struct name changed to just "ProcTableStruct" to be compliant with future
332
- versions of Ruby.
333
- * The ps() function now returns an array of ProcTableStruct's in lvalue context.
334
- * Fixed the ability to search by process name in Linux.
335
- * Modified Linux "comm" field to strip parenthesis.
336
- * Some doc changes/additions.
337
- * Added Sean Chittenden to the "Acknowledgements" section. Sean provided me
338
- with access to a FreeBSD box, which is how I was able to provide FreeBSD
339
- support. Thanks Sean!
340
-
341
- == 0.2.0 - 19-Jul-2002
342
- * Added the ability to search by process name.
343
- * test.rb modified to be cross-platform.
344
- * Solaris - fixed bug with fname (was accidentally called "name").
345
-
346
- == 0.1.0 - 2-Jul-2002
347
- - Initial release.
1
+ == 0.9.9 - 8-Nov-2015
2
+ * Added support for cgroups on Linux. Thanks go to Dennis Günnewig for the patch.
3
+ * Added a sys-proctable.rb file for convenience.
4
+ * This gem is now signed.
5
+ * Gem related tasks in the Rakefile now assume Rubygems 2.x.
6
+
7
+ == 0.9.8 - 18-Apr-2015
8
+ * Fixed a bug in the gemspec. Last version got yanked.
9
+
10
+ == 0.9.7 - 18-Apr-2015
11
+ * Fixed a bug in the OSX code that could cause the ps method to fail. Thanks
12
+ go to Koshevoy Anton for the spot.
13
+ * Some internal refactoring of version handling. Now all platforms use a
14
+ single version file.
15
+ * Replaced vm_size_t and lwpid_t with universal data types on FreeBSD because
16
+ FFI on FreeBSD 10 no longer understands them. Thanks go to Mike Owens for
17
+ the spot.
18
+
19
+ == 0.9.6 - 24-Feb-2015
20
+ * Added NLWP field on Linux. Thanks go to Rich Chatterton for the patch.
21
+
22
+ == 0.9.5 - 10-Feb-2015
23
+ * Significant cleanup and memory reduction of the OSX code. Thanks go
24
+ to Ivan (toy) for the patches.
25
+ * Skip over /proc/<file>/status if unreadable on Linux. Thanks go to Jianjun
26
+ Mao for the patch.
27
+
28
+ == 0.9.4 - 4-Mar-2014
29
+ * Added support for AIX 5.3 or later courtesy of Rick Ohnemus.
30
+ * The Solaris version now uses FFI structs instead of a packed array.
31
+ It solved issues with 64-bit versions of Ruby and it's self-documenting.
32
+ * The FreeBSD version has been converted to use FFI. In addition, additional
33
+ struct members have been added, and members that previously returned nil
34
+ now return meaningful data.
35
+ * Support for NetBSD and OpenBSD has been temporarily dropped. Considering
36
+ that the C code did not build on those platforms anyway, I doubt most of
37
+ you will notice. Patches for those platforms are welcome, but only using FFI.
38
+
39
+ == 0.9.3 - 17-Mar-2013
40
+ * Fixed a bug on OSX where a long command string arg could cause
41
+ a segfault. Thanks go to Nathaniel Bibler for the spot.
42
+ * Changed the gem platform from mingw to mingw32 for Windows.
43
+
44
+ == 0.9.2 - 8-Oct-2012
45
+ * Added cmdline support for OS X. Thanks go to Matthias Zirnstein for
46
+ the patch.
47
+ * Warning cleanup for 1.9.
48
+ * Updated the gem platform handling. Replaced the borked string approach
49
+ with a two element array for Gem::Platform.new.
50
+ * MS date strings are now parse with DateTime instead of Date.
51
+
52
+ == 0.9.1 - 3-Aug-2011
53
+ * Added the pctcpu and pctmem members for Linux.
54
+ * Added Errno::ESRCH to a rescue clause on Linux that fixed a bug
55
+ where a missing entry wasn't being skipped when run as root. Thanks
56
+ go to Austin Ziegler for the spot and patch.
57
+ * Fixed a build warning for Darwin.
58
+ * Updates to the test suite for both Darwin and Linux.
59
+ * Added an explicit type check for BSD for pids.
60
+ * Added nicer error messages for BSD if kvm_open fails.
61
+ * Added .core files to the clean task.
62
+ * Altered the platform settings in the Rakefile so that generated gems
63
+ use 'universal' platform architectures for any particular operating system.
64
+
65
+ == 0.9.0 - 14-Oct-2009
66
+ * Changed the license to Artistic 2.0.
67
+ * Fixed a bug in the OS X code where a segfault would occur when an attempt
68
+ was made to gather resource usage information on zombie processes. From
69
+ now on that information is always set to nil for zombie processes. Thanks
70
+ go to Tom Lianza for the spot and Philip Kromer for investigating the
71
+ root cause of the failure.
72
+ * Removed the FreeBSD code that read out of /proc. It was a pain from a
73
+ maintenance point of view, and most FreeBSD installs do not mount /proc
74
+ by default. The FreeBSD platform now uses the same code that the other
75
+ BSD platforms use.
76
+ * Fixed a bug in the BSD code where the ProcTable::Error class had the
77
+ wrong parent class.
78
+ * Some major gemspec updates, including an updated license. The platform
79
+ handling logic is now in the Rakefile in the 'gem' task.
80
+ * Updated the README file to include an additional acknowledgement, a
81
+ license change and some minor formatting changes.
82
+ * The test-unit library was changed from a runtime to a development dependency.
83
+
84
+ == 0.8.1 - 6-Apr-2009
85
+ * The Linux and Solaris libraries now handle the possibility of a process
86
+ terminating in the middle of a read more gracefully. If that happens, they
87
+ merely skip to the next record, i.e. it's all or nothing. Thanks go to
88
+ Heejong Lee for the spot and patch.
89
+ * Fixed a bug in the Linux version where embedded nulls were not being
90
+ stripped out of the cmdline data.
91
+ * Added the comm alias back to the Solaris version. Thanks go to Jun Young Kim
92
+ for the spot.
93
+
94
+ == 0.8.0 - 26-Jan-2009
95
+ * The Linux and Solaris versions of this library are now pure Ruby. Be warned,
96
+ however, that only Solaris 8 and later are now supported. This may change
97
+ in a future release if there's demand to support 2.6 and 2.7.
98
+ * Some Struct::ProcTableStruct members have changed. As a general rule they
99
+ now more closely match the C struct member name. See individual platforms
100
+ for more details.
101
+ * Bug fix for the cmd_args struct member on Solaris.
102
+ * Bug fixes for OS X. Added a VERSION constant, fixed struct name, and changed
103
+ pct_cpu to pctcpu.
104
+ * The .new method is now explicitly illegal.
105
+ * The Struct::ProcTableStruct instances are now frozen. This is read-only data.
106
+ * Added the peak_page_file_usage and status members on MS Windows. The status
107
+ member is always nil, but was added for completeness.
108
+ * Fixed the quota_peak_paged_pool_usage member on MS Windows.
109
+ * ProcTableError is now ProcTable::Error.
110
+ * Minor test case fix for kvm/bsd based versions.
111
+ * Added the 'time' library as a require for Windows (to parse MS date/time
112
+ format strings).
113
+ * The kvm (bsd.c) implementation now works for FreeBSD 7.
114
+ * Added many more tests.
115
+ * Added some benchmarking code in the 'benchmarks' directory.
116
+ * Added a 'bench' Rake task.
117
+ * Renamed the test_ps.rb file to example_ps.rb in order to avoid any possible
118
+ confusion with actual test files.
119
+ * Added an 'example' rake task to run the example file.
120
+
121
+ == 0.7.6 - 11-Jul-2007
122
+ * Fixed the starttime for Linux. Thanks go to Yaroslav Dmitriev for the spot.
123
+ * Fixed a bug in the MS Windows version within a private method that parsed
124
+ an MS specific date format. This was caused by a backwards incompatible
125
+ change in the Time.parse method in Ruby 1.8.6. See ruby-core: 11245 ff.
126
+ * Fixed the gemspec (I hope). Please let me know if you have problems.
127
+ * Added a Rakefile. Building, testing and installing should now be handled via
128
+ Rake tasks. The install.rb file has been removed - that code is now
129
+ integrated in the Rakefile.
130
+ * Minor directory layout changes and cleanup (mostly for the extconf.rb file).
131
+ * Side note - it seems that the code for OS X *does* work, at least on 10.4.10.
132
+ I can only conclude that previous reports about it failing were related to
133
+ bugs in OS X or were really just build issues. Apologies (and thanks, again)
134
+ to David Felstead for the code. However, see the README for more information
135
+ specific to OS X, as there are shortcomings.
136
+
137
+ == 0.7.5 - 23-Nov-2006
138
+ * Fixed int/long issues for Linux. Thanks go to Matt Lightner for the spot.
139
+ * Minor documentation fixes and changes to the extconf.rb file.
140
+
141
+ == 0.7.4 - 20-Nov-2006
142
+ * Added a patch that deals with the large file compilation issue on Solaris.
143
+ You no longer need to build Ruby with --disable-largefile, or build a
144
+ 64 bit Ruby, in order for this package to work. Thanks go to Steven Jenkins
145
+ for the information that led to the patch.
146
+ * Added inline rdoc to the source code.
147
+ * Added a gemspec.
148
+ * Fixed some potential 64 bit issues (struct declarations).
149
+ * Added preliminary support for Darwin (OS X). The code was provided by
150
+ David Felstead, but does not appear to compile successfully. Help wanted.
151
+
152
+ == 0.7.3 - 27-Oct-2005
153
+ * Fix for 1.8.3 and later (rb_pid_t). This should have only affected
154
+ Solaris.
155
+
156
+ == 0.7.2 - 15-May-2005
157
+ * Bug fix for the FreeBSD version that reads from /proc.
158
+ * Eliminated the test bug on Linux (inexplicably caused by File.copy). The
159
+ test suite should now run without segfaulting.
160
+ * Include bsd.c in tarball (oops).
161
+ * Minor test updates for FreeBSD.
162
+ * The 'pct_cpu' member for the BSD/kvm version has been changed to 'pctcpu'
163
+ for consistency with other platforms.
164
+
165
+ == 0.7.1 - 8-May-2005
166
+ * Bug fixed for the cmdline info on Linux. Thanks go to Arash Abedinzadeh
167
+ for the spot.
168
+ * Added an example program.
169
+ * Minor setup fix for Win32 in tc_all.rb.
170
+
171
+ == 0.7.0 - 25-Apr-2005
172
+ * Scrapped the C implementation for Windows in favor of an OLE + WMI pure Ruby
173
+ approach. See documentation for details.
174
+ * Added an optional lkvm implementation for BSD users. This is automatically
175
+ used if the /proc filesystem isn't found.
176
+ * Added prusage info for the Solaris version.
177
+ * Added name, eid, euid, gid and guid information for Linux. Thanks go to
178
+ James Hranicky for the patch.
179
+ * Fixed some potential bugs in the Linux version. Thanks go to James
180
+ Hranicky for the spot.
181
+ * Added the 'sys/top' package.
182
+ * ProcTable.fields no longer supports a block form.
183
+ * The BTIME (boot time) information has been removed from the Linux version.
184
+ If you want that information, use sys-uptime instead.
185
+ * The .html and .rd files have been removed. You can generate html on your
186
+ own with rdoc if you like.
187
+ * Some code cleanup on the C side of the house.
188
+ * Most documents made rdoc friendly.
189
+ * Renamed 'install_pure_ruby.rb' to just 'install.rb'.
190
+ * Removed the 'INSTALL' file. Installation instructions are in the README.
191
+ * Some test suite cleanup and reorganization.
192
+ * Moved project to RubyForge.
193
+
194
+ == 0.6.4 - 31-Mar-2004
195
+ * Fixed a bug in the pure Ruby version for Win32. Thanks go to Mark Hudson
196
+ for the spot.
197
+ * Fixed a bug in the C implementation for Win32 where the cmdline and path
198
+ values were sometimes wrong for running processes. Thanks go to Park Heesob
199
+ for the fix.
200
+ * Updated the VERSION constant and removed the VERSION class method in the
201
+ pure Ruby version for Win32.
202
+ * Updated install_pure_ruby.rb and test.rb scripts.
203
+ * Updated warranty information.
204
+ * The extconf.rb script has been revamped. See the INSTALL and README files
205
+ for important changes since the last release.
206
+ * The start ProcInfo struct member on Solaris, HP-UX and FreeBSD is now a
207
+ Time object, not a Fixnum/Bignum.
208
+ * Modified linux.c yet again to make gcc happy when it comes to multi-line
209
+ string literals.
210
+ * Minor change to way process state is handled on HP-UX.
211
+ * Documentation additions and updates, including warranty information.
212
+
213
+ == 0.6.3 - 24-Feb-2004
214
+ * Fixed a bug in the Solaris version where the cmd_args array did not
215
+ necessarily contain data on 2.7 and later. The current patch still
216
+ does not quite fix the problem for 2.6 and earlier but can be easily
217
+ derived manually by parsing the cmdline string.
218
+
219
+ == 0.6.2 - 20-Jan-2004
220
+ * Fixed a small memory leak in the solaris version.
221
+
222
+ == 0.6.1 - 31-Dec-2003
223
+ * Fixed a minor bug in the cmdline field on Linux where a blank character
224
+ was being appended to the end of the field.
225
+ * Fixed a minor annoyance where the windows.rb file was being copied into
226
+ the Ruby lib directory on install.
227
+ * Added a test_memleak.rb file. Currently only supported on Linux and
228
+ only does a file descriptor count check. I plan to expand this to
229
+ other platforms in the future.
230
+ * Minor test suite changes
231
+ * MANIFEST correction and update.
232
+
233
+ == 0.6.0 - 22-Oct-2003
234
+ * Significant API change (and thus, a version jump) - only a
235
+ single argument is now accepted to the ps() method, and only a PID
236
+ (Fixnum) is regarded as a valid argument.
237
+ * Calling ps() with a pid returns a single ProcTable struct (or nil
238
+ if the pid is not found), instead of a one element array.
239
+ * Argument to ps() now works properly on HP-UX and Win32.
240
+ * Removed the '#include <sys/types32.h>' in sunos.h. It wasn't needed
241
+ and you're not supposed to include it directly.
242
+ * Fixed 2.6 compatibility issue with regards to cmdline on Solaris.
243
+ * Removed the ProcStatException completely on Linux. There was no reason
244
+ to fail on a directory read for /proc/xxx/stat. If the read fails
245
+ (meaning the process died in the middle of collecting info for it), it
246
+ is simply ignored.
247
+ * The ttynum bug on HPUX has been fixed. In addition, the return value for
248
+ this field is now a string rather than an int and the field name has
249
+ been changed to "ttydev".
250
+ * The ttynum field has been changed to ttydev on Solaris and HPUX. On
251
+ Solaris, the ttydev is now reported as -1 if there is no associated tty.
252
+ In a future release, Solaris and the other *nix platforms will be changed
253
+ so that ttydev is always a device name (i.e String).
254
+ * Added plain text documentation for all platforms.
255
+ * Some test suite cleanup.
256
+ * Changed .rd2 extension to just '.rd'.
257
+
258
+ == 0.5.2 - 18-Jul-2003
259
+ * Modified cmdline to extend past the traditional 80 character limit on
260
+ Solaris, where possible (Solaris 2.6+ only).
261
+ * Added the cmdline_args and num_args fields on Solaris, which returns
262
+ an array of cmdline arguments and the number of cmdline arguments,
263
+ respectively.
264
+ * Minor modification to fields() method, in addition to warning cleanup
265
+ for Solaris.
266
+ * Changed "defunct" state string to "zombie" for Solaris.
267
+ * Should cleanly compile with -Wall -W now (gcc) on Solaris.
268
+ * Added solaris.txt to doc directory.
269
+ * MANIFEST corrections.
270
+
271
+ == 0.5.1 - 16-Jul-2003
272
+ * Fixed a nasty file descriptor bug in the Linux code, where file descriptors
273
+ were continuously being used up.
274
+ * Added the BTIME (boot time) constant for Linux.
275
+ * Fixed up the test/test.rb file a bit.
276
+ * Added BTIME tests to tc_linux.rb.
277
+
278
+ == 0.5.0 - 11-Jul-200
279
+ * Added HP-UX support!
280
+ * Note that passing PID's or strings as arguments to ps() is not supported
281
+ in the HP-UX version. This functionality will be stripped out of the
282
+ other versions in a future release. See the README file for more details.
283
+ * Removed the VERSION() class method. Use the constant instead.
284
+ * Separated the rd docs from their respective source files. Now in the doc
285
+ directory.
286
+ * Got rid of the interactive html generation in extconf.rb.
287
+ * Changed License to Artistic.
288
+
289
+ == 0.4.3 - 30-May-2003
290
+ * Added a version.h file to store the version number. Modified all of the
291
+ C source files to use that instead of hard coding the version everywhere.
292
+ * Added a generic test.rb script for those without TestUnit installed, or
293
+ just futzing in general. Modified the extconf.rb script to copy this
294
+ instead of writing an inline HERE document.
295
+ * Modified extconf.rb so that it builds with mingw or cygwin. Thanks go to
296
+ Peter Fischer for the spot and patch.
297
+ * Modified test suite to work with TestUnit 0.1.6 or 0.1.8.
298
+
299
+ == 0.4.2 - 14-Apr-2003
300
+ * Added pure Ruby version for Win32 - thanks Park Heesob.
301
+ * Modified extconf.rb file to handle pure Ruby versions.
302
+ * Added install_pure_ruby.rb file, an alternate installation
303
+ script for pure Ruby versions.
304
+
305
+ == 0.4.1 - 31-Mar-2003
306
+ * Added support for Solaris 2.5.x.
307
+ * All exceptions are now a direct subclass of StandardError.
308
+ * Value returned for wchan now more meaningful (2.5.x only for now).
309
+ * Fixed the start, utime and ctime for FreeBSD.
310
+ * Minor fix to FreeBSD test suite.
311
+ * Some changes to extconf.rb.
312
+ * Minor doc changes.
313
+ * Added License and Copyright info.
314
+
315
+ == 0.4.0 - 10-Mar-2003
316
+ * Added MS Windows support (non-cygwin).
317
+ * Added environment information for Linux version.
318
+ * Added real exceptions (type depends on platform).
319
+ * Added a test suite (for those with testunit installed).
320
+ * Removed the sys-uname requirement.
321
+ * Heavily modified the extconf.rb script.
322
+ * Changed "Changelog" to "CHANGES" and "Manifest" to "MANIFEST".
323
+ * Added a VERSION constant and class method.
324
+ * Minor internal directory layout change (put 'os' under 'lib').
325
+ * Changed package name to lower case.
326
+ * Doc changes, including license information.
327
+
328
+ == 0.3.1 - 16-Aug-2002
329
+ * Added a "comm" field to the sunos version. I am going to try to make this a
330
+ common field for all platforms to help reduce RUBY_PLATFORM checking.
331
+ * Fixed the release date for 0.3.0 (was accidentally marked *July*).
332
+ * Added an INSTALL file.
333
+ * Minor documentation change to the sunos.c source file.
334
+
335
+ == 0.3.0 - 11-Aug-2002
336
+ * Added FreeBSD support!
337
+ * Struct name changed to just "ProcTableStruct" to be compliant with future
338
+ versions of Ruby.
339
+ * The ps() function now returns an array of ProcTableStruct's in lvalue context.
340
+ * Fixed the ability to search by process name in Linux.
341
+ * Modified Linux "comm" field to strip parenthesis.
342
+ * Some doc changes/additions.
343
+ * Added Sean Chittenden to the "Acknowledgements" section. Sean provided me
344
+ with access to a FreeBSD box, which is how I was able to provide FreeBSD
345
+ support. Thanks Sean!
346
+
347
+ == 0.2.0 - 19-Jul-2002
348
+ * Added the ability to search by process name.
349
+ * test.rb modified to be cross-platform.
350
+ * Solaris - fixed bug with fname (was accidentally called "name").
351
+
352
+ == 0.1.0 - 2-Jul-2002
353
+ - Initial release.