win32-process 0.8.1 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cf10e88099dc989f86c78658d50bd9240df03def
4
- data.tar.gz: 951a0922f13e168d293026cd64e9ce2a33fd8091
3
+ metadata.gz: 926d11c2decf3d0b4485438ecc0e556c4f4dd6b6
4
+ data.tar.gz: dceca9dcec40d50f7a988e70fe6edc1b12e3f0f4
5
5
  SHA512:
6
- metadata.gz: 31aa0654299b0a4a9caeb2b54d06223113e69849d523ee43a65910e5caf934199bcdfc51951835aee9c5d9c3ed5adf8bd08ede28dae07d9450a0b785dc04f527
7
- data.tar.gz: 478b9a19027d205cf2b326fa800ff97a93af364a7dd897b4cde2f1635218decb4910f0cc62b25011b59ea9c3a3d0b751da881b3a131784f9b4694cd9dd1a8b88
6
+ metadata.gz: 5de6f6baa70732cdcb55725dd5eb64b4f331f55e92a1c00e69564cf6ba522431af6d0be609dd7990e761688abfe5ea34170a9643137b6aade17863779a25dd84
7
+ data.tar.gz: 7573c1115cec0c361245250a63f800c77e0591cc8a49aabc60b2d64841f5ab738d815a982e2f1c7d1c00f74ef74a1d3f2c771a7e8abc194f40a10e14d9783153
Binary file
data.tar.gz.sig CHANGED
@@ -1,2 +1 @@
1
- 3���܁|1m�g˗���I�kNwbM ���T��#T������JML!�7��]/$S�Y
2
- ܣ:�V��=n)0��d��ԫ��E��W�멷خ��PnY˼]�5���XIu�*�ܣ�0ɻUA��_����.�ׁ��/�s��!M4z&��$gIMHG�����Mn�y߆��c��+g�9���5�6L���覷�]+��Z� #�o}W��R
1
+ i�����j1ء��>Q������D2Q�;�I��,B@�AvW�ɄXn+��\����6�ںί��-�dW�;`���ӳ��@U���0�->���"a2'��B%_��(dx��l��=QW"+w5j��osH T�4�r�t�����pc�^�G 3��I���]
data/CHANGES CHANGED
@@ -1,259 +1,265 @@
1
- = 0.8.1 - 3-Sep-2015
2
- * The gem is now signed.
3
- * Updated Rakefile and gemspec to support signing.
4
- * Added a win32-process.rb stub for your convenience.
5
-
6
- = 0.8.0 - 29-Apr-2015
7
- * Added the Process.snapshot method that lets you gather information for
8
- the heap, threads, modules, and processes.
9
-
10
- = 0.7.5 - 3-Mar-2015
11
- * Use require_relative where possible.
12
- * Fixed a bug in Process.setrlimit. Note that this method has been marked
13
- as experimental until further notice.
14
- * Minor updates to gemspec and Rakefile.
15
- * Added known issue for JRuby and SIGBRK to the README.
16
-
17
- = 0.7.4 - 21-Oct-2013
18
- * Fixed the INVALID_HANDLE_VALUE constant for 64-bit versions of Ruby.
19
- * Added Rake as a development dependency.
20
-
21
- = 0.7.3 - 25-Sep-2013
22
- * Added the Process.get_exitcode method. Thanks go to mthiede for the patch.
23
- * The Process.kill method raises a SecurityError if the $SAFE level is 2
24
- or higher. This was done to match the spec.
25
- * Fixed a bug in our custom Process.uid method that affected 64-bit Ruby.
26
- * A note was added to use the Process.spawn method instead of Process.create
27
- method where practical.
28
-
29
- = 0.7.2 - 8-Apr-2013
30
- * Fixed a 64 bit issue caused by the fact that HANDLE's were set as ulong
31
- instead of intptr_t. Thanks go to Crossverse the spot.
32
- * Added some typedefs in the underlying FFI code for Windows data types.
33
-
34
- = 0.7.1 - 3-Jan-2013
35
- * The _get_errno function is apparently not exported on on Windows XP or
36
- earlier. On those platforms, FFI.errno is now used instead. Thanks go
37
- to Lars Christensen for the report.
38
-
39
- = 0.7.0 - 22-Aug-2012
40
- * Converted to use FFI instead of win32-api.
41
- * Now requires Ruby 1.9.x or later.
42
- * Removed the experimental Process.fork function. This obviated the necessity
43
- of custom implementations of other methods, like Process.waitpid, so those
44
- no longer have custom implementations either. These also proved to be
45
- somewhat problematic with Ruby 1.9.x anyway.
46
- * Removed the custom Process.ppid method because Ruby 1.9.x now supports it.
47
- * The Process.kill method now supports the :exit_proc, :dll_module and
48
- :wait_time options for signals 1 and 4-8.
49
-
50
- = 0.6.5 - 27-Dec-2010
51
- * Fixed getpriority and setpriority so that the underlying process handle is
52
- always closed. Thanks go to Rafal Michalski for the spot and patch.
53
- * Updated getpriority and setpriority so that there are no longer any
54
- default arguments. This now matches the MRI spec.
55
- * Updated Process.create so that illegal options now raise an ArgumentError
56
- instead of a Process::Error.
57
- * Fixed a bug in an error message in the Process.create method where the actual
58
- error message was getting lost.
59
- * Refactored the test suite to use test-unit 2.x features, and make tests a
60
- little more robust in general.
61
-
62
- = 0.6.4 - 13-Nov-2010
63
- * Altered the wait, wait2, waitpid and waitpid2 methods to match the current
64
- MRI interface, i.e. they accept and optional pid and flags, though the
65
- latter is ignored. Thanks go to Robert Wahler for the spot.
66
- * Renamed the example scripts to avoid any potential confusion with actual
67
- test scripts and cleaned them up a bit.
68
- * Added Rake tasks to run the example programs.
69
- * Updated the MANIFEST.
70
-
71
- = 0.6.3 - 9-Nov-2010
72
- * Fixed a bug in the Process.kill method where the remote thread created
73
- was not being properly closed. Thanks go to Ben Nagy for the spot.
74
- * Added the Process.job? method that returns whether or not the current process
75
- is already in a job.
76
- * Added the Process.setrlimit method. Like the Process.getrlimit method it
77
- only supports a limited subset of resources.
78
- * Rakefile tweaks.
79
-
80
- = 0.6.2 - 19-Dec-2009
81
- * Fixed an issue where stdin, stdout and stderr might not be inheritable
82
- even if the inherit option was set. Thanks go to Michael Buselli for the
83
- spot and the patch.
84
- * Added a basic implementation of Process.getrlimit.
85
- * Added the Process.get_affinity method.
86
- * Added test-unit 2.x and sys-proctable as development dependencies.
87
- * Added the :uninstall and :build_gem Rake tasks to the Rakefile.
88
- * Bumped required version of windows-pr to 1.0.6.
89
-
90
- = 0.6.1 - 16-Jul-2009
91
- * Added the Process.uid method. This method returns a user id (really, the RID
92
- of the SID) by default, but can also take an optional parameter to return
93
- a binary SID instead at the user's discretion.
94
- * Added working implementations of Process.getpriority and Process.setpriority.
95
- Note they they only work for processes, not process groups or users.
96
- * Set license to Artistic 2.0, and updated the gemspec.
97
-
98
- = 0.6.0 - 31-Oct-2008
99
- * The mandatory argument for Process.create has been switched from 'app_name'
100
- to 'command_line', to be more in line with underlying CreateProcess API.
101
- Note that 'command_line' will default to 'app_name' if only the latter is
102
- set, but both may be set individually. Keep in mind that 'app_name' must
103
- be a full path to the executable. Thanks go to Jeremy Bopp for the patch.
104
- * Removed the deprecated ProcessError constant. Use Process::Error instead.
105
- * Explicitly include and extend the Windows::Thread module now. Thanks go to
106
- Qi Lu for the spot.
107
- * Slightly more robust internal code handling for some of the other methods,
108
- typically related to ensuring that HANDLE's are closed.
109
- * Example programs are now included with the gem.
110
-
111
- = 0.5.9 - 14-Jun-2008
112
- * Added a proper implementation of Process.ppid.
113
-
114
- = 0.5.8 - 24-Mar-2008
115
- * Fixed a bug in Process.create where the handles in the PROCESS_INFORMATION
116
- struct were not closed, regardless of the 'close_handles' option. Thanks
117
- go to Lars Christensen for the spot and the patch.
118
-
119
- = 0.5.7 - 27-Mar-2008
120
- * Fixed issues with thread_inherit and process_inherit in the Process.create
121
- method. This in turn required an update to windows-pr. Thanks go to Steve
122
- Shreeve for the spot.
123
- * Fixed a potential issue with startf_flags and stdin/stdout/stderr handling.
124
- Thanks again go to Steve Shreeve for the spot and the patch.
125
- * Fixed the code so that it no longer emits redefinition warnings.
126
- * Fixed a bug in the Rake install task (for non-gem installations).
127
-
128
- == 0.5.6 - 13-Mar-2008
129
- * Fixed a bug in the Process.waitpid2 method where it wasn't returning the
130
- proper exit code. Thanks go to Jeremy Bopp for the spot and the patch.
131
- * In the spirit of DWIM, if the 'stdin', 'stdout' or 'stderr' keys are
132
- encountered in the startup_info hash, then the inherit flag is automatically
133
- set to true and the startf_flags key is automatically OR'd with the
134
- STARTF_USESTDHANDLES value. Thanks go to Sander Pool for the inspiration.
135
-
136
- == 0.5.5 - 12-Dec-2007
137
- * The Process.create method now automatically closes the process and thread
138
- handles in the ProcessInfo struct before returning, unless you explicitly
139
- tell it not to via the 'close_handles' option.
140
- * The Process.create method now supports creating a process as another user
141
- via the 'with_logon', 'password' and 'domain' options.
142
-
143
- == 0.5.4 - 23-Nov-2007
144
- * Changed ProcessError to Process::Error.
145
- * Now requires windows-pr 0.7.3 or later because of some reorganization in
146
- that library with regards to thread functions.
147
- * Better cleanup of HANDLE's in a couple methods when failure occurs.
148
- * Added an additional require/include necessitated by a change in the method
149
- organization in the windows-pr library.
150
-
151
- == 0.5.3 - 29-Jul-2007
152
- * Added a Rakefile with tasks for installation and testing.
153
- * Removed the install.rb file (now handled by the Rakefile).
154
- * Updated the README and MANIFEST files.
155
-
156
- == 0.5.2 - 22-Jan-2007
157
- * The startup_info parameter for the Process.create method now accepts
158
- 'stdin', 'stdout', and 'stderr' as valid parameters, which you can pass
159
- a Ruby IO object or a fileno in order to redirect output from the created
160
- process.
161
-
162
- == 0.5.1 - 24-Aug-2006
163
- * Fixed a bug in the Process.create method where the return value for
164
- CreateProcess() was being evaluated incorrectly. Thanks go to David Haney
165
- for the spot.
166
- * Added a slightly nicer error message if an invalid value is passed to the
167
- Process.create method.
168
- * Removed an extraneous '%' character from an error message.
169
-
170
- == 0.5.0 - 29-Jul-2006
171
- * The Process.create method now returns a ProcessInfo struct instead of the
172
- pid. Note that you can still grab the pid out of the struct if needed.
173
- * The Process.create method now allows the process_inherit and
174
- thread_inherit options which determine whether a process or thread
175
- object's handles are inheritable, respectively.
176
- * The wait and wait2 methods will now work if GetProcessId() isn't defined
177
- on your system.
178
- * The 'inherit?' hash option was changed to just 'inherit' (no question mark).
179
- * Minor doc correction - the 'inherit' option defaults to false, not true.
180
-
181
- == 0.4.2 - 29-May-2006
182
- * Fixed a typo/bug in Process.kill for signal 3, where I had accidentally
183
- used CTRL_BRK_EVENT instead of the correct CTRL_BREAK_EVENT. Thanks go
184
- to Luis Lavena for the spot.
185
-
186
- == 0.4.1 - 13-May-2006
187
- * Fixed a bug where spaces in $LOAD_PATH would cause Process.fork to fail.
188
- Thanks go to Justin Bailey for the spot and patch.
189
- * Added a short synopsis to the README file.
190
-
191
- == 0.4.0 - 7-May-2006
192
- * Now pure Ruby, courtesy of the Win32API package.
193
- * Now comes with a gem.
194
- * Modified Process.kill to send a signal to the current process if pid 0
195
- is specified, as per the current 1.8 behavior.
196
- * Process.create now accepts the 'environment' key/value, where you can
197
- pass a semicolon-separated string as the environment for the new process.
198
- * Moved the GUI related options of Process.create to subkeys of the
199
- 'startup_info' key. See documentation for details.
200
- * Replaced Win32::ProcessError with just ProcessError.
201
-
202
- == 0.3.3 - 16-Apr-2006
203
- * Fixed a bug in Process.create with regards to creation_flags. Thanks go
204
- to Tophe Vigny for the spot.
205
-
206
- == 0.3.2 - 12-Aug-2005
207
- * Fixed a bug in Process.kill where a segfault could occur. Thanks go to
208
- Bill Atkins for the spot.
209
- * Changed VERSION to WIN32_PROCESS_VERSION, because it's a module.
210
- * Made the CHANGES, README and doc/process.txt documents rdoc friendly.
211
- * Removed the process.rd file.
212
-
213
- == 0.3.1 - 9-Dec-2004
214
- * Modified Process.fork to return an actual PID instead of a handle. This
215
- means that it should work with Process.kill and other methods that expect
216
- an actual PID.
217
- * Modified Process.kill to understand the strings "SIGINT", "INT", "SIGBRK",
218
- "BRK", "SIGKILL" and "KILL". These correspond to signals 2, 3 and 9,
219
- respectively.
220
- * Added better $LOAD_PATH handling for Process.fork. Thanks go to Aslak
221
- Hellesoy for the spot and the patch.
222
- * Replaced all instances of rb_sys_fail(0) with rb_raise(). This is because
223
- of a strange bug in the Windows Installer that hasn't been nailed down yet.
224
- This means that you can't rescue Errno::ENOENT any more, but will have to
225
- rescue StandardError. This only affects Process.kill.
226
- * The signals that were formerly 1 and 2 and now 2 and 3. I did this because
227
- I wanted the same signal number for SIGINT as it is on *nix.
228
- * Added a test_kill.rb script under the examples directory.
229
- * Other minor cleanup and corrections.
230
-
231
- == 0.3.0 - 25-Jul-2004
232
- * Added the create() method.
233
- * Moved the example programs to doc/examples.
234
- * Updated the docs, and toned down claims of fork's similarity to the Unix
235
- version.
236
- * Minor updates to the test suite.
237
-
238
- == 0.2.1 - 17-May-2004
239
- * Made all methods module functions, except fork, rather than singleton
240
- methods.
241
- * Minor doc changes.
242
-
243
- == 0.2.0 - 11-May-2004
244
- * Removed the Win32 module/namespace. You no longer 'include Win32' and you
245
- no longer need to prefix Process with 'Win32::'.
246
- * The fork() method is now a global function as well as a method of the
247
- Process module. That means you can call 'fork' instead of 'Process.fork'
248
- if you like.
249
- * Doc updates to reflect the above changes.
250
-
251
- == 0.1.1 - 6-Mar-2004
252
- * Fixed bug where spaces in the directory name caused the fork() method to
253
- fail (Park).
254
- * Normalized tc_process.rb somewhat to make it easier to run outside of the
255
- test directory if desired.
256
- * Fixed up tc_process.rb a bit.
257
-
258
- == 0.1.0 - 19-Feb-2004
259
- * Initial release
1
+ = 0.8.2 - 15-Oct-2015
2
+ * Fixed a declaration bug in the CreateProcess function prototype, and replaced
3
+ all instances of :bool with :int in function prototypes, along with
4
+ corresponding core code changes. Thanks go to Kartik Null Cating-Subramanian
5
+ for the spot.
6
+
7
+ = 0.8.1 - 3-Sep-2015
8
+ * The gem is now signed.
9
+ * Updated Rakefile and gemspec to support signing.
10
+ * Added a win32-process.rb stub for your convenience.
11
+
12
+ = 0.8.0 - 29-Apr-2015
13
+ * Added the Process.snapshot method that lets you gather information for
14
+ the heap, threads, modules, and processes.
15
+
16
+ = 0.7.5 - 3-Mar-2015
17
+ * Use require_relative where possible.
18
+ * Fixed a bug in Process.setrlimit. Note that this method has been marked
19
+ as experimental until further notice.
20
+ * Minor updates to gemspec and Rakefile.
21
+ * Added known issue for JRuby and SIGBRK to the README.
22
+
23
+ = 0.7.4 - 21-Oct-2013
24
+ * Fixed the INVALID_HANDLE_VALUE constant for 64-bit versions of Ruby.
25
+ * Added Rake as a development dependency.
26
+
27
+ = 0.7.3 - 25-Sep-2013
28
+ * Added the Process.get_exitcode method. Thanks go to mthiede for the patch.
29
+ * The Process.kill method raises a SecurityError if the $SAFE level is 2
30
+ or higher. This was done to match the spec.
31
+ * Fixed a bug in our custom Process.uid method that affected 64-bit Ruby.
32
+ * A note was added to use the Process.spawn method instead of Process.create
33
+ method where practical.
34
+
35
+ = 0.7.2 - 8-Apr-2013
36
+ * Fixed a 64 bit issue caused by the fact that HANDLE's were set as ulong
37
+ instead of intptr_t. Thanks go to Crossverse the spot.
38
+ * Added some typedefs in the underlying FFI code for Windows data types.
39
+
40
+ = 0.7.1 - 3-Jan-2013
41
+ * The _get_errno function is apparently not exported on on Windows XP or
42
+ earlier. On those platforms, FFI.errno is now used instead. Thanks go
43
+ to Lars Christensen for the report.
44
+
45
+ = 0.7.0 - 22-Aug-2012
46
+ * Converted to use FFI instead of win32-api.
47
+ * Now requires Ruby 1.9.x or later.
48
+ * Removed the experimental Process.fork function. This obviated the necessity
49
+ of custom implementations of other methods, like Process.waitpid, so those
50
+ no longer have custom implementations either. These also proved to be
51
+ somewhat problematic with Ruby 1.9.x anyway.
52
+ * Removed the custom Process.ppid method because Ruby 1.9.x now supports it.
53
+ * The Process.kill method now supports the :exit_proc, :dll_module and
54
+ :wait_time options for signals 1 and 4-8.
55
+
56
+ = 0.6.5 - 27-Dec-2010
57
+ * Fixed getpriority and setpriority so that the underlying process handle is
58
+ always closed. Thanks go to Rafal Michalski for the spot and patch.
59
+ * Updated getpriority and setpriority so that there are no longer any
60
+ default arguments. This now matches the MRI spec.
61
+ * Updated Process.create so that illegal options now raise an ArgumentError
62
+ instead of a Process::Error.
63
+ * Fixed a bug in an error message in the Process.create method where the actual
64
+ error message was getting lost.
65
+ * Refactored the test suite to use test-unit 2.x features, and make tests a
66
+ little more robust in general.
67
+
68
+ = 0.6.4 - 13-Nov-2010
69
+ * Altered the wait, wait2, waitpid and waitpid2 methods to match the current
70
+ MRI interface, i.e. they accept and optional pid and flags, though the
71
+ latter is ignored. Thanks go to Robert Wahler for the spot.
72
+ * Renamed the example scripts to avoid any potential confusion with actual
73
+ test scripts and cleaned them up a bit.
74
+ * Added Rake tasks to run the example programs.
75
+ * Updated the MANIFEST.
76
+
77
+ = 0.6.3 - 9-Nov-2010
78
+ * Fixed a bug in the Process.kill method where the remote thread created
79
+ was not being properly closed. Thanks go to Ben Nagy for the spot.
80
+ * Added the Process.job? method that returns whether or not the current process
81
+ is already in a job.
82
+ * Added the Process.setrlimit method. Like the Process.getrlimit method it
83
+ only supports a limited subset of resources.
84
+ * Rakefile tweaks.
85
+
86
+ = 0.6.2 - 19-Dec-2009
87
+ * Fixed an issue where stdin, stdout and stderr might not be inheritable
88
+ even if the inherit option was set. Thanks go to Michael Buselli for the
89
+ spot and the patch.
90
+ * Added a basic implementation of Process.getrlimit.
91
+ * Added the Process.get_affinity method.
92
+ * Added test-unit 2.x and sys-proctable as development dependencies.
93
+ * Added the :uninstall and :build_gem Rake tasks to the Rakefile.
94
+ * Bumped required version of windows-pr to 1.0.6.
95
+
96
+ = 0.6.1 - 16-Jul-2009
97
+ * Added the Process.uid method. This method returns a user id (really, the RID
98
+ of the SID) by default, but can also take an optional parameter to return
99
+ a binary SID instead at the user's discretion.
100
+ * Added working implementations of Process.getpriority and Process.setpriority.
101
+ Note they they only work for processes, not process groups or users.
102
+ * Set license to Artistic 2.0, and updated the gemspec.
103
+
104
+ = 0.6.0 - 31-Oct-2008
105
+ * The mandatory argument for Process.create has been switched from 'app_name'
106
+ to 'command_line', to be more in line with underlying CreateProcess API.
107
+ Note that 'command_line' will default to 'app_name' if only the latter is
108
+ set, but both may be set individually. Keep in mind that 'app_name' must
109
+ be a full path to the executable. Thanks go to Jeremy Bopp for the patch.
110
+ * Removed the deprecated ProcessError constant. Use Process::Error instead.
111
+ * Explicitly include and extend the Windows::Thread module now. Thanks go to
112
+ Qi Lu for the spot.
113
+ * Slightly more robust internal code handling for some of the other methods,
114
+ typically related to ensuring that HANDLE's are closed.
115
+ * Example programs are now included with the gem.
116
+
117
+ = 0.5.9 - 14-Jun-2008
118
+ * Added a proper implementation of Process.ppid.
119
+
120
+ = 0.5.8 - 24-Mar-2008
121
+ * Fixed a bug in Process.create where the handles in the PROCESS_INFORMATION
122
+ struct were not closed, regardless of the 'close_handles' option. Thanks
123
+ go to Lars Christensen for the spot and the patch.
124
+
125
+ = 0.5.7 - 27-Mar-2008
126
+ * Fixed issues with thread_inherit and process_inherit in the Process.create
127
+ method. This in turn required an update to windows-pr. Thanks go to Steve
128
+ Shreeve for the spot.
129
+ * Fixed a potential issue with startf_flags and stdin/stdout/stderr handling.
130
+ Thanks again go to Steve Shreeve for the spot and the patch.
131
+ * Fixed the code so that it no longer emits redefinition warnings.
132
+ * Fixed a bug in the Rake install task (for non-gem installations).
133
+
134
+ == 0.5.6 - 13-Mar-2008
135
+ * Fixed a bug in the Process.waitpid2 method where it wasn't returning the
136
+ proper exit code. Thanks go to Jeremy Bopp for the spot and the patch.
137
+ * In the spirit of DWIM, if the 'stdin', 'stdout' or 'stderr' keys are
138
+ encountered in the startup_info hash, then the inherit flag is automatically
139
+ set to true and the startf_flags key is automatically OR'd with the
140
+ STARTF_USESTDHANDLES value. Thanks go to Sander Pool for the inspiration.
141
+
142
+ == 0.5.5 - 12-Dec-2007
143
+ * The Process.create method now automatically closes the process and thread
144
+ handles in the ProcessInfo struct before returning, unless you explicitly
145
+ tell it not to via the 'close_handles' option.
146
+ * The Process.create method now supports creating a process as another user
147
+ via the 'with_logon', 'password' and 'domain' options.
148
+
149
+ == 0.5.4 - 23-Nov-2007
150
+ * Changed ProcessError to Process::Error.
151
+ * Now requires windows-pr 0.7.3 or later because of some reorganization in
152
+ that library with regards to thread functions.
153
+ * Better cleanup of HANDLE's in a couple methods when failure occurs.
154
+ * Added an additional require/include necessitated by a change in the method
155
+ organization in the windows-pr library.
156
+
157
+ == 0.5.3 - 29-Jul-2007
158
+ * Added a Rakefile with tasks for installation and testing.
159
+ * Removed the install.rb file (now handled by the Rakefile).
160
+ * Updated the README and MANIFEST files.
161
+
162
+ == 0.5.2 - 22-Jan-2007
163
+ * The startup_info parameter for the Process.create method now accepts
164
+ 'stdin', 'stdout', and 'stderr' as valid parameters, which you can pass
165
+ a Ruby IO object or a fileno in order to redirect output from the created
166
+ process.
167
+
168
+ == 0.5.1 - 24-Aug-2006
169
+ * Fixed a bug in the Process.create method where the return value for
170
+ CreateProcess() was being evaluated incorrectly. Thanks go to David Haney
171
+ for the spot.
172
+ * Added a slightly nicer error message if an invalid value is passed to the
173
+ Process.create method.
174
+ * Removed an extraneous '%' character from an error message.
175
+
176
+ == 0.5.0 - 29-Jul-2006
177
+ * The Process.create method now returns a ProcessInfo struct instead of the
178
+ pid. Note that you can still grab the pid out of the struct if needed.
179
+ * The Process.create method now allows the process_inherit and
180
+ thread_inherit options which determine whether a process or thread
181
+ object's handles are inheritable, respectively.
182
+ * The wait and wait2 methods will now work if GetProcessId() isn't defined
183
+ on your system.
184
+ * The 'inherit?' hash option was changed to just 'inherit' (no question mark).
185
+ * Minor doc correction - the 'inherit' option defaults to false, not true.
186
+
187
+ == 0.4.2 - 29-May-2006
188
+ * Fixed a typo/bug in Process.kill for signal 3, where I had accidentally
189
+ used CTRL_BRK_EVENT instead of the correct CTRL_BREAK_EVENT. Thanks go
190
+ to Luis Lavena for the spot.
191
+
192
+ == 0.4.1 - 13-May-2006
193
+ * Fixed a bug where spaces in $LOAD_PATH would cause Process.fork to fail.
194
+ Thanks go to Justin Bailey for the spot and patch.
195
+ * Added a short synopsis to the README file.
196
+
197
+ == 0.4.0 - 7-May-2006
198
+ * Now pure Ruby, courtesy of the Win32API package.
199
+ * Now comes with a gem.
200
+ * Modified Process.kill to send a signal to the current process if pid 0
201
+ is specified, as per the current 1.8 behavior.
202
+ * Process.create now accepts the 'environment' key/value, where you can
203
+ pass a semicolon-separated string as the environment for the new process.
204
+ * Moved the GUI related options of Process.create to subkeys of the
205
+ 'startup_info' key. See documentation for details.
206
+ * Replaced Win32::ProcessError with just ProcessError.
207
+
208
+ == 0.3.3 - 16-Apr-2006
209
+ * Fixed a bug in Process.create with regards to creation_flags. Thanks go
210
+ to Tophe Vigny for the spot.
211
+
212
+ == 0.3.2 - 12-Aug-2005
213
+ * Fixed a bug in Process.kill where a segfault could occur. Thanks go to
214
+ Bill Atkins for the spot.
215
+ * Changed VERSION to WIN32_PROCESS_VERSION, because it's a module.
216
+ * Made the CHANGES, README and doc/process.txt documents rdoc friendly.
217
+ * Removed the process.rd file.
218
+
219
+ == 0.3.1 - 9-Dec-2004
220
+ * Modified Process.fork to return an actual PID instead of a handle. This
221
+ means that it should work with Process.kill and other methods that expect
222
+ an actual PID.
223
+ * Modified Process.kill to understand the strings "SIGINT", "INT", "SIGBRK",
224
+ "BRK", "SIGKILL" and "KILL". These correspond to signals 2, 3 and 9,
225
+ respectively.
226
+ * Added better $LOAD_PATH handling for Process.fork. Thanks go to Aslak
227
+ Hellesoy for the spot and the patch.
228
+ * Replaced all instances of rb_sys_fail(0) with rb_raise(). This is because
229
+ of a strange bug in the Windows Installer that hasn't been nailed down yet.
230
+ This means that you can't rescue Errno::ENOENT any more, but will have to
231
+ rescue StandardError. This only affects Process.kill.
232
+ * The signals that were formerly 1 and 2 and now 2 and 3. I did this because
233
+ I wanted the same signal number for SIGINT as it is on *nix.
234
+ * Added a test_kill.rb script under the examples directory.
235
+ * Other minor cleanup and corrections.
236
+
237
+ == 0.3.0 - 25-Jul-2004
238
+ * Added the create() method.
239
+ * Moved the example programs to doc/examples.
240
+ * Updated the docs, and toned down claims of fork's similarity to the Unix
241
+ version.
242
+ * Minor updates to the test suite.
243
+
244
+ == 0.2.1 - 17-May-2004
245
+ * Made all methods module functions, except fork, rather than singleton
246
+ methods.
247
+ * Minor doc changes.
248
+
249
+ == 0.2.0 - 11-May-2004
250
+ * Removed the Win32 module/namespace. You no longer 'include Win32' and you
251
+ no longer need to prefix Process with 'Win32::'.
252
+ * The fork() method is now a global function as well as a method of the
253
+ Process module. That means you can call 'fork' instead of 'Process.fork'
254
+ if you like.
255
+ * Doc updates to reflect the above changes.
256
+
257
+ == 0.1.1 - 6-Mar-2004
258
+ * Fixed bug where spaces in the directory name caused the fork() method to
259
+ fail (Park).
260
+ * Normalized tc_process.rb somewhat to make it easier to run outside of the
261
+ test directory if desired.
262
+ * Fixed up tc_process.rb a bit.
263
+
264
+ == 0.1.0 - 19-Feb-2004
265
+ * Initial release