windows-pr 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +438 -429
- data/README +5 -1
- data/lib/windows/clipboard.rb +61 -61
- data/lib/windows/com.rb +192 -192
- data/lib/windows/com/accessibility.rb +16 -16
- data/lib/windows/directory.rb +27 -27
- data/lib/windows/error.rb +498 -484
- data/lib/windows/eventlog.rb +80 -80
- data/lib/windows/filesystem.rb +15 -15
- data/lib/windows/handle.rb +23 -23
- data/lib/windows/library.rb +44 -44
- data/lib/windows/mailslot.rb +24 -24
- data/lib/windows/memory.rb +128 -128
- data/lib/windows/msvcrt/io.rb +73 -73
- data/lib/windows/msvcrt/string.rb +182 -182
- data/lib/windows/nio.rb +50 -50
- data/lib/windows/ntfs/winternl.rb +117 -110
- data/lib/windows/process.rb +176 -176
- data/lib/windows/socket.rb +86 -86
- data/lib/windows/system_info.rb +229 -229
- data/lib/windows/thread.rb +64 -64
- data/lib/windows/unicode.rb +155 -155
- data/lib/windows/wsa.rb +102 -102
- data/test/tc_msvcrt_buffer.rb +11 -7
- data/test/tc_ntfs_winternl.rb +48 -44
- data/test/tc_unicode.rb +83 -83
- data/windows-pr.gemspec +34 -34
- metadata +50 -63
data/CHANGES
CHANGED
@@ -1,429 +1,438 @@
|
|
1
|
-
= 1.2.
|
2
|
-
*
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
*
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
*
|
15
|
-
|
16
|
-
|
17
|
-
*
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
*
|
24
|
-
*
|
25
|
-
|
26
|
-
|
27
|
-
*
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
*
|
37
|
-
|
38
|
-
= 1.
|
39
|
-
*
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
*
|
44
|
-
|
45
|
-
*
|
46
|
-
|
47
|
-
= 1.0.
|
48
|
-
*
|
49
|
-
|
50
|
-
* Removed
|
51
|
-
|
52
|
-
*
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
*
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
*
|
77
|
-
* Added some
|
78
|
-
|
79
|
-
*
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
*
|
87
|
-
* Added
|
88
|
-
* Added
|
89
|
-
*
|
90
|
-
|
91
|
-
*
|
92
|
-
|
93
|
-
|
94
|
-
= 1.0.
|
95
|
-
*
|
96
|
-
|
97
|
-
* Added
|
98
|
-
|
99
|
-
|
100
|
-
*
|
101
|
-
*
|
102
|
-
|
103
|
-
|
104
|
-
*
|
105
|
-
|
106
|
-
* Added the
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
*
|
111
|
-
|
112
|
-
|
113
|
-
* Now
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
*
|
120
|
-
|
121
|
-
|
122
|
-
*
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
*
|
131
|
-
*
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
* Added
|
148
|
-
|
149
|
-
|
150
|
-
*
|
151
|
-
|
152
|
-
|
153
|
-
*
|
154
|
-
|
155
|
-
|
156
|
-
*
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
* Added
|
165
|
-
*
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
* Added
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
* Added
|
177
|
-
*
|
178
|
-
|
179
|
-
|
180
|
-
= 0.9.
|
181
|
-
*
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
*
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
*
|
194
|
-
|
195
|
-
*
|
196
|
-
|
197
|
-
|
198
|
-
*
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
*
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
*
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
* Added the
|
219
|
-
|
220
|
-
|
221
|
-
* Added
|
222
|
-
*
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
*
|
231
|
-
|
232
|
-
*
|
233
|
-
|
234
|
-
*
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
*
|
243
|
-
*
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
*
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
*
|
252
|
-
* Added
|
253
|
-
|
254
|
-
|
255
|
-
* Added
|
256
|
-
*
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
* Added
|
262
|
-
* Added
|
263
|
-
|
264
|
-
|
265
|
-
*
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
= 0.7.
|
270
|
-
*
|
271
|
-
|
272
|
-
* Added
|
273
|
-
|
274
|
-
*
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
* Added the Windows::MSVCRT::
|
286
|
-
|
287
|
-
* Added
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
= 0.7.
|
294
|
-
* Added
|
295
|
-
* Added the
|
296
|
-
* Added the Windows::
|
297
|
-
* Added
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
* Added
|
304
|
-
*
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
= 0.6.
|
329
|
-
*
|
330
|
-
*
|
331
|
-
|
332
|
-
|
333
|
-
* Added more
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
*
|
340
|
-
*
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
*
|
345
|
-
|
346
|
-
*
|
347
|
-
|
348
|
-
|
349
|
-
*
|
350
|
-
Windows::
|
351
|
-
|
352
|
-
= 0.6.
|
353
|
-
*
|
354
|
-
|
355
|
-
* Added the
|
356
|
-
|
357
|
-
|
358
|
-
* Added the Windows::
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
= 0.5.
|
370
|
-
*
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
*
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
*
|
382
|
-
*
|
383
|
-
* Finer grained method wrapping/checking for the Windows::
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
*
|
390
|
-
|
391
|
-
*
|
392
|
-
*
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
*
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
* Added
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
* Added
|
405
|
-
* Added
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
* Added the
|
414
|
-
* Added the
|
415
|
-
* Added the
|
416
|
-
* Added the
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
* Added the
|
421
|
-
* Added the
|
422
|
-
*
|
423
|
-
|
424
|
-
|
425
|
-
* Added the
|
426
|
-
*
|
427
|
-
|
428
|
-
= 0.
|
429
|
-
*
|
1
|
+
= 1.2.2 - 12-Jul-2012
|
2
|
+
* Changed some of the function prototypes in the Windows::Process module to
|
3
|
+
use 'S' instead of 'P' when dealing with const* strings. This fixes potential
|
4
|
+
errors regarding attempted modification of frozen strings. Thanks go to
|
5
|
+
Pok Lau and John Keiser.
|
6
|
+
* Fixed the multi_to_wide documentation. Thanks go to Dan Rathbun for the spot.
|
7
|
+
* Fixed the MEM_4MB_PAGES constant in the Windows::Memory module.
|
8
|
+
* Added some token related error constants to the Windows::Error module.
|
9
|
+
|
10
|
+
= 1.2.1 - 25-Aug-2011
|
11
|
+
* The strcpy, mbscpy and wsccpy functions in the Windows::MSVCRT::String
|
12
|
+
module have been made friendlier. They will now accept either a string
|
13
|
+
or an address for the second argument.
|
14
|
+
* Minor modification to one GetFinalPathNameByHandle test.
|
15
|
+
|
16
|
+
= 1.2.0 - 24-Mar-2011
|
17
|
+
* All methods and constants are now private. These methods were never meant
|
18
|
+
to be used by individual objects, but are only meant to be used internally.
|
19
|
+
Note that, because of an issue currently in the windows-api library, some
|
20
|
+
methods may still be currently public, but users of this library should not
|
21
|
+
count on that for long.
|
22
|
+
* Added the Windows::WSA and Windows::Socket modules.
|
23
|
+
* Fixed the MAKEWORD and MAKELONG macro methods in the SystemInfo module.
|
24
|
+
* Added many more functions and some constants to the Windows::Registry module.
|
25
|
+
Thanks go to Dan Rathbun for the suggestion.
|
26
|
+
* Fixed the HKEY_CURRENT_USER constant in the Windows::Registry module.
|
27
|
+
* The custom GetFinalPathNameByHandle method for Windows XP and 2000 has been
|
28
|
+
fixed and reworked. It is limited to a defacto VOLUME_NAME_NT flag value,
|
29
|
+
however. See the comments for details.
|
30
|
+
|
31
|
+
= 1.1.3 - 20-Jan-2011
|
32
|
+
* Added the windows_7? method to the Windows::SystemInfo module.
|
33
|
+
* Some minor cosmetic updates to other files.
|
34
|
+
|
35
|
+
= 1.1.2 - 6-Nov-2010
|
36
|
+
* Fixed a job security flag name.
|
37
|
+
|
38
|
+
= 1.1.1 - 6-Nov-2010
|
39
|
+
* Added some security flags for Job objects to the Windows::Process module.
|
40
|
+
* Added namespace functions to the Windows::Synchronize module.
|
41
|
+
|
42
|
+
= 1.1.0 - 5-Nov-2010
|
43
|
+
* Added the get_volume_type method to the Windows::Volume module.
|
44
|
+
* Added more tests for the Windows::Volume module.
|
45
|
+
* Removed the non-gem installation task and added a clean task.
|
46
|
+
|
47
|
+
= 1.0.9 - 6-Feb-2010
|
48
|
+
* A couple of modules that were checking against $KCODE now check against
|
49
|
+
__ENCODING__ or the string encoding for Ruby 1.9.x.
|
50
|
+
* Removed an indentation warning that was revealed by Ruby 1.9.x.
|
51
|
+
* Refactored the Rakefile, scoping and adding additional tasks.
|
52
|
+
* Updated some tests to handling Ruby 1.9.x better. All tests now pass
|
53
|
+
without warning with 1.9.x.
|
54
|
+
* Added SERVICE_ACCEPT_PRESHUTDOWN constant to service.rb.
|
55
|
+
|
56
|
+
= 1.0.8 - 24-Aug-2009
|
57
|
+
* Several return value constants that were set at -1 are now set to
|
58
|
+
0xFFFFFFFF instead because win32-api returns unsigned longs.
|
59
|
+
* Removed the two mailslot constants from the Windows::File module. They're
|
60
|
+
defined in the Windows::Mailslot module.
|
61
|
+
* Added the windows_version method to the Windows::SystemInfo module. It
|
62
|
+
returns a float in 'major.minor' format.
|
63
|
+
|
64
|
+
= 1.0.7 - 20-Aug-2009
|
65
|
+
* Added the Windows::Mailslot module.
|
66
|
+
* The IsProcessInJob function in the Windows::Process module is now wrapped
|
67
|
+
properly so that it doesn't cause an error on Windows 2000. Thanks go to
|
68
|
+
Finbar Clenaghan for the spot.
|
69
|
+
* Minor updates to the conversion guide.
|
70
|
+
|
71
|
+
= 1.0.6 - 19-Jul-2009
|
72
|
+
* Added several job functions to the Windows::Process module.
|
73
|
+
* Updated license to Artistic 2.0.
|
74
|
+
|
75
|
+
= 1.0.5 - 21-May-2009
|
76
|
+
* Fixed VARIANT_TRUE value in the Windows::COM::Variant module.
|
77
|
+
* Added some functions to the Windows::National module, and handled some
|
78
|
+
Vista only functions properly.
|
79
|
+
* Updated the return types of the SafeArrayCreate and SafeArrayCreateVector
|
80
|
+
functions in the Windows::COM::Automation module.
|
81
|
+
|
82
|
+
= 1.0.4 - 15-May-2009
|
83
|
+
* Created the Windows::COM::Variant module.
|
84
|
+
* Created the Windows::COM::Accessibility module.
|
85
|
+
* Added some IDispatch constants to the Windows::COM module.
|
86
|
+
* Added some IDispatch error constants to the Windows::Error module.
|
87
|
+
* Added many more constants to the Windows::COM::Automation module.
|
88
|
+
* Added a couple of functions to the Windows::National module.
|
89
|
+
* Corrected the return type for various SysXXX functions in the
|
90
|
+
Windows::COM::Automation module.
|
91
|
+
* Corrected the prototype for the RegEnumKeyEx function in the
|
92
|
+
Windows::Registry module.
|
93
|
+
|
94
|
+
= 1.0.3 - 23-Apr-2009
|
95
|
+
* Created the Windows::GDI::MetaFile module.
|
96
|
+
* Added GetWindowLongPtr and SetWindowLongPtr to Windows::Window::Classes.
|
97
|
+
* Added DefWindowProc to Windows::Window::Message.
|
98
|
+
* Added more methods and format constants to the Windows::Clipboard module.
|
99
|
+
* Added more methods to the Windows::GDI::Bitmap module.
|
100
|
+
* Prototype update for DragQueryFile() in the Windows::Shell module.
|
101
|
+
* Return type change for GetClipboardData in the Windows::Clipboard module.
|
102
|
+
|
103
|
+
= 1.0.2 - 5-Mar-2009
|
104
|
+
* Fixed the library for the AttachThreadInput function in the Windows::Thread
|
105
|
+
module. Thanks go to an anonymous user for the spot.
|
106
|
+
* Added the beginnings of the Windows::Security::Authentication module.
|
107
|
+
|
108
|
+
= 1.0.1 - 9-Feb-2009
|
109
|
+
* Added the Windows::Window::Menu module.
|
110
|
+
* Added the Windows::Window::Classes module.
|
111
|
+
* Added tests for several Windows::Window::XXX modules that weren't
|
112
|
+
previously covered.
|
113
|
+
* Now properly wraps some methods in the Windows::Network::Winsock module
|
114
|
+
that weren't supported on Windows 2000.
|
115
|
+
* Added the IsWow64Process function to the Windows::Process module.
|
116
|
+
* Added the windows_64? helper method to the Windows::Process module.
|
117
|
+
|
118
|
+
= 1.0.0 - 5-Feb-2009
|
119
|
+
* Fixed the prototype for DuplicateHandle() in the Windows::Handle module.
|
120
|
+
|
121
|
+
= 0.9.9 - 1-Feb-2009
|
122
|
+
* Now explicitly checks for Win32::API::LoadLibraryError in the method
|
123
|
+
declarations instead of Windows::API::Error. The latter no longer exists,
|
124
|
+
and the former is a better way to check for methods that don't exist on
|
125
|
+
particular versions of Windows. This change requires windows-api 0.3.0
|
126
|
+
and win32-api 1.3.0.
|
127
|
+
* Added a few functions to the Windows::Security module.
|
128
|
+
* Added the NtQuerySystemInformation function to the Windows::NTFS::Winternl
|
129
|
+
module.
|
130
|
+
* Added tests for the Windows::NTFS::Winternl module.
|
131
|
+
* Declaration fix in Windows::Security module for Win2k.
|
132
|
+
* Fixed a directory test for Win2k.
|
133
|
+
|
134
|
+
= 0.9.8 - 15-Dec-2008
|
135
|
+
* Added many more functions and a few constants to the Windows::Security
|
136
|
+
module.
|
137
|
+
|
138
|
+
= 0.9.7 - 5-Dec-2008
|
139
|
+
* Renamed Windows::NTFS::File to Windows::NTFS::Winternl.
|
140
|
+
* Updated the Windows::Network::Management and Windows::Shell modules to use
|
141
|
+
the 'S' prototype where appropriate.
|
142
|
+
* Updated the Windows::File module to use the 'S' prototype where appropriate.
|
143
|
+
* Added the GetFinalPathNameByHandle function to the Windows::NTFS::Winternl
|
144
|
+
module for Windows XP/2000.
|
145
|
+
* Added a few new functions to the Windows::Volume module and converted 'P'
|
146
|
+
prototypes to 'S' where appropriate.
|
147
|
+
* Added SE_OBJECT_TYPE enumeration values to the Windows::Security module.
|
148
|
+
|
149
|
+
= 0.9.6 - 14-Nov-2008
|
150
|
+
* Updated the RegisterServiceCtrlHandler and RegisterServiceCtrlHandlerEx
|
151
|
+
prototypes in the Windows::Service module. Changed old 'P' prototype to 'K'
|
152
|
+
for callbacks.
|
153
|
+
* Added explicit ANSI and Wide character functions for GetFileSecurity and
|
154
|
+
SetFileSecurity in the Windows::Security module (since automatic unicode
|
155
|
+
generation is set to false for that particular module).
|
156
|
+
* Added IO reparse point tag constants to the Windows::File module.
|
157
|
+
* The multi_to_wide helper method in Windows::Unicode now returns the string
|
158
|
+
as-is if it's already a Unicode string.
|
159
|
+
* A couple 'P' prototypes were switched to 'S' in Windows::Unicode functions.
|
160
|
+
|
161
|
+
= 0.9.5 - 21-Oct-2008
|
162
|
+
* Fixed the rescue clauses for unsupported functions for the Windows::Console
|
163
|
+
and Windows::Debug modules. Thanks go to an anonymous user for the spot.
|
164
|
+
* Added a couple functions to the Windows::File and Windows::NIO modules.
|
165
|
+
* Removed the SetFilePointer and SetFilePointerEx functions from the
|
166
|
+
Windows::File module since they're already in the Windows::NIO module.
|
167
|
+
|
168
|
+
= 0.9.4 - 27-Sep-2008
|
169
|
+
* Added some macros from windef.h to the Windows::SystemInfo module.
|
170
|
+
* Added the windows_2000?, windows_xp?, windows_2003? and windows_vista?
|
171
|
+
helper methods to the Windows::SystemInfo module.
|
172
|
+
* Added the umask and umask_s functions to the Windows::MSVCRT::File module.
|
173
|
+
* Added SH_DENYNO and SHORT_LIVED constants to the Windows::MSVCRT::IO module.
|
174
|
+
* Fixed the prototype for open and wopen in the Windows::MSVCRT::IO module.
|
175
|
+
* Added SHGetFolderLocation to the Windows::Shell module.
|
176
|
+
* Added NT privilege constants to the Windows::Security module.
|
177
|
+
* The wide_to_multi helper function is now friendlier with regards to strings
|
178
|
+
that may be missing a trailing double null.
|
179
|
+
|
180
|
+
= 0.9.3 - 12-Sep-2008
|
181
|
+
* Added event logging functions for Windows Vista and later to the
|
182
|
+
Windows::EventLog module.
|
183
|
+
|
184
|
+
= 0.9.2 - 5-Sep-2008
|
185
|
+
* Added some WoW64 functions to Windows::File and Windows::SystemInfo.
|
186
|
+
* All modules now rescue Windows::API::Error for failed function loads.
|
187
|
+
I was previously inconsistent on just what error I was rescuing.
|
188
|
+
|
189
|
+
= 0.9.1 - 28-Jul-2008
|
190
|
+
* Yet another refactoring of the multi_to_wide and wide_to_multi helper
|
191
|
+
methods in the Windows::Unicode module. In addition to a bug fix, they
|
192
|
+
now raise an ArgumentError if they fail.
|
193
|
+
* Yet another tweak to get_last_error in the Windows::Error module. It now
|
194
|
+
always uses the explicit ANSI version of the FormatMessage function.
|
195
|
+
* Added tests for the multi_to_wide and wide_to_multi helper methods.
|
196
|
+
|
197
|
+
= 0.9.0 - 26-Jul-2008
|
198
|
+
* The process of converting prototypes from 'P' to 'S' has begun. This
|
199
|
+
means that this library now requires win32-api 1.2.0 or later.
|
200
|
+
* Added the Windows::Window::Message module.
|
201
|
+
* Added the Windows::Window::Timer module.
|
202
|
+
* Added the Windows::Window::Dialog module.
|
203
|
+
* Added many more functions and constants to the Windows::Security module.
|
204
|
+
* All ACE related constants have been move from the Windows::File module and
|
205
|
+
are instead defined in the Windows::Security module. Not to worry, though.
|
206
|
+
The Windows::File module now mixes in the Windows::Security module.
|
207
|
+
* Added several profile related functions to the Windows::Shell module.
|
208
|
+
* Changed the prototype of ConvertSidToStringSid and ConvertStringSidToSid
|
209
|
+
back to 'LP' in the Windows::Security module. I'm not sure why I changed
|
210
|
+
those before. If this causes too much grief I'll change them back.
|
211
|
+
|
212
|
+
= 0.8.7 - 23-Jun-2008
|
213
|
+
* Wide character fix for the get_last_error helper function. Thanks go to
|
214
|
+
Dave Whitley for the spot.
|
215
|
+
* Added local memory functions and constants to the Windows::Memory module.
|
216
|
+
|
217
|
+
= 0.8.6 - 14-Jun-2008
|
218
|
+
* Added the Windows::Network::Winsock module.
|
219
|
+
* Added the Windows::ToolHelper module.
|
220
|
+
* Added CLSCTX enum constants to the Windows::COM module.
|
221
|
+
* Added several WSA socket error constants to Windows::Error.
|
222
|
+
* Moved the Process32First and Process32Next functions from Windows::Process
|
223
|
+
to Windows::ToolHelper.
|
224
|
+
|
225
|
+
= 0.8.5 - 28-May-2008
|
226
|
+
* Added more pipe related error codes to the Windows::Error module.
|
227
|
+
* Added the FlushFileBuffers function to the Windows::File module.
|
228
|
+
|
229
|
+
= 0.8.4 - 18-May-2008
|
230
|
+
* Added the Windows::NTFS::File module.
|
231
|
+
* Added several IOCTL macro methods to the Windows::DeviceIO module.
|
232
|
+
* Wrapped the GetLayeredWindowAttributes function in the Windows::Window
|
233
|
+
module since it is only supported on Windows XP or later.
|
234
|
+
* Fixed the CreateThread prototype with regards to callback support.
|
235
|
+
|
236
|
+
= 0.8.3 - 26-Apr-2008
|
237
|
+
* Now requires windows-api 0.2.3 or later to take advantage of the
|
238
|
+
improvements in auto constant generation.
|
239
|
+
* Fixed a scope resolution bug in the custom memcpy method in the
|
240
|
+
Windows::MSVCRT::Buffer module.
|
241
|
+
* Added some more Windows::MSVCRT::String functions.
|
242
|
+
* Added the FSCTL_ENUM_USN_DATA macro method in Windows::DeviceIO.
|
243
|
+
* Some modules were refactored to take advantage of the improvements in
|
244
|
+
windows-api 0.2.3. This resulted in a net reduction of code.
|
245
|
+
|
246
|
+
= 0.8.2 - 17-Apr-2008
|
247
|
+
* Most of the MSVCRT modules now use the MSVCRT_DLL from the Windows::API
|
248
|
+
library. This helps resolve an obscure bug where state information from a
|
249
|
+
statically linked runtime DLL is local to that runtime and not shared with
|
250
|
+
the Ruby process.
|
251
|
+
* Now requires windows-api 0.2.2 or later.
|
252
|
+
* Added more MSVCRT tests.
|
253
|
+
|
254
|
+
= 0.8.1 - 27-Mar-2008
|
255
|
+
* Added waitable timer functions to the Windows::Synchronize module.
|
256
|
+
* Fixed params 3 and 4 in the CreateProcess function.
|
257
|
+
|
258
|
+
= 0.8.0 - 20-Jan-2008
|
259
|
+
* Added the Windows::COM::Automation module.
|
260
|
+
* Moved Windows::NetworkManagement to Windows::Network::Management.
|
261
|
+
* Added the Windows::Network::SNMP module.
|
262
|
+
* Added a MAXPATH constant to Windows::Limits, which is variable depending
|
263
|
+
on whether or not $KCODE is set to UTF8.
|
264
|
+
* Added some macro methods to Windows::Error.
|
265
|
+
* Added many more methods to Windows::COM.
|
266
|
+
* Fixed the prototype for the SetConsoleCtrlHandler in the Windows::Console
|
267
|
+
module, and added the CTRL_CLOSE_EVENT constant.
|
268
|
+
|
269
|
+
= 0.7.4 - 11-Dec-2007
|
270
|
+
* Added several more functions to Windows::Window.
|
271
|
+
* Added many more constants to the Windows::NetworkManagement module.
|
272
|
+
* Added several more functions and a few constants to the Windows::Process
|
273
|
+
module.
|
274
|
+
* The multi_to_wide and wide_to_multi methods in Windows::Unicode will now
|
275
|
+
return nil if you pass a nil argument. Also, they will raise a TypeError
|
276
|
+
if you pass a non-nil, non-string object.
|
277
|
+
|
278
|
+
= 0.7.3 - 23-Nov-2007
|
279
|
+
* Several thread related methods were moved out of the Windows::Process
|
280
|
+
module and into the Windows::Thread module.
|
281
|
+
* Added critical section methods to the Windows::Synchronize module.
|
282
|
+
* Added many more constants and methods to the Windows::Shell module.
|
283
|
+
* Created the Windows::Thread module.
|
284
|
+
* Fixed the PathCreateFromUrl return type in the Windows::Path module.
|
285
|
+
* Added the strncpy and wcsncpy functions to the Windows::MSVCRT::String
|
286
|
+
module.
|
287
|
+
* Added several token related methods and constants to the Windows::Security
|
288
|
+
module.
|
289
|
+
* The multi_to_wide and wide_to_multi methods were refactored slightly. Both
|
290
|
+
now only use MSVCRT string functions internally in case any Ruby String
|
291
|
+
methods are redefined.
|
292
|
+
|
293
|
+
= 0.7.2 - 15-Oct-2007
|
294
|
+
* Added the Windows::MSVCRT::Time module.
|
295
|
+
* Added the Windows::MSVCRT::Directory module.
|
296
|
+
* Added some SID related security constants to the Windows::Security module.
|
297
|
+
* Added more constants and the HasOverlappedIoCompleted macro to the
|
298
|
+
Windows::Synchronize module.
|
299
|
+
* Added some 'find' methods to the Windows::File module.
|
300
|
+
* Some prototype fixes for the 'Virtual' functions in Windows::Memory.
|
301
|
+
|
302
|
+
= 0.7.1 - 21-Sep-2007
|
303
|
+
* Added USN (changejournal) macros to Windows::DeviceIO.
|
304
|
+
* Added the Heap functions to Windows::Memory.
|
305
|
+
* Added the Windows::Time module.
|
306
|
+
* Added a Rakefile with tasks for installation and testing.
|
307
|
+
* Added and refactored some tests.
|
308
|
+
|
309
|
+
= 0.7.0 - 9-Aug-2007
|
310
|
+
* All modules now use the windows-api library behind the scenes.
|
311
|
+
* Added the Windows::NIO module. This contains native Windows IO functions.
|
312
|
+
* Added several more functions to the Windows::GDI::PaintDrawing module.
|
313
|
+
* Fixed the prototype for the GetWindowsDirectory function in the
|
314
|
+
Windows::SystemInfo module.
|
315
|
+
|
316
|
+
= 0.6.6 - 3-May-2007
|
317
|
+
* Added the Windows::MSVCRT::IO module.
|
318
|
+
* Removed the SetConsoleCommandHistoryMode method from the Windows::Console
|
319
|
+
module. This was a preliminary function for Vista only, and it has since
|
320
|
+
been removed. Thanks go to Drew Colthorp for the spot.
|
321
|
+
|
322
|
+
= 0.6.5 - 28-Feb-2007
|
323
|
+
* Important bug fixes for the Windows::Directory, Windows::Memory,
|
324
|
+
Windows::Synchronize and Windows::Volume modules. These were either fixes
|
325
|
+
for the function declaration or the wrapper method. Thanks go to Katsuyuki
|
326
|
+
Miyamuko for the spot and the patches.
|
327
|
+
|
328
|
+
= 0.6.4 - 28-Feb-2007
|
329
|
+
* Add more string functions to the Windows::MSVCRT::String module.
|
330
|
+
* Minor enhancement to the multi_to_wide and wide_to_multi helper methods in
|
331
|
+
the Windows::Unicode module. You can now pass an explicit encoding as an
|
332
|
+
optional second argument.
|
333
|
+
* Added several more methods to the Windows::National module.
|
334
|
+
* Finer grained method wrapping/checking for the Windows::Volume module.
|
335
|
+
Thanks go to Dave Rose for the spot.
|
336
|
+
|
337
|
+
= 0.6.3 - 2-Feb-2007
|
338
|
+
* Fixed the DLL for SetLastErrorEx in the Windows::Error module.
|
339
|
+
* Fixed an unitialized constant bug in the Windows::DeviceIO module.
|
340
|
+
* Fixed a bug in the NetWkstaSetInfo() method, from the
|
341
|
+
Windows::NetworkManagement module. Thanks go to Richard (???) for the spot.
|
342
|
+
* Added more security related methods and constants to the Windows::Security
|
343
|
+
module.
|
344
|
+
* Fixed a bug in the GetComputerName method in the Windows::SystemInfo module.
|
345
|
+
Thanks go to Russell Christopher for the spot and the fix.
|
346
|
+
* Changed method prototype for GetUserName and GetUserNameEx in the
|
347
|
+
Windows::SystemInfo module.
|
348
|
+
* Added the PIPE_UNLIMITED_INSTANCES constant to the Windows::Pipe module.
|
349
|
+
* Altered the prototype for the ConvertSidToStringSid() and
|
350
|
+
ConvertStringSidToSid() methods from the Windows::Security module.
|
351
|
+
|
352
|
+
= 0.6.2 - 21-Dec-2006
|
353
|
+
* Added file related constants from sys/stat.h to the Windows::MSVCRT::File
|
354
|
+
module.
|
355
|
+
* Added the open_osfhandle method to the Windows::Handle module.
|
356
|
+
* Changed the signatures for the VirtualFree and VirtualFreeEx functions in
|
357
|
+
the Windows::Memory module.
|
358
|
+
* Added the Windows::GDI::Bitmap, Windows::GDI::DeviceContext and
|
359
|
+
Windows::GDI::PaintingDrawing modules.
|
360
|
+
|
361
|
+
= 0.6.1 - 22-Nov-2006
|
362
|
+
* Changed the signature for VirtualAlloc and VirtualAllocEx in the
|
363
|
+
Windows::Memory module (long instead of pointer for first argument).
|
364
|
+
* Added the get_osfhandle method to the Windows::Handle module.
|
365
|
+
|
366
|
+
= 0.6.0 - 5-Nov-2006
|
367
|
+
* Added the Windows::Volume module.
|
368
|
+
|
369
|
+
= 0.5.6 - 22-Oct-2006
|
370
|
+
* Modified the memcpy method in Windows::MSVCRT::Buffer to do the right
|
371
|
+
thing based on the type of the parameters, as well as automatically
|
372
|
+
set the default size to the size of the source being copied.
|
373
|
+
|
374
|
+
= 0.5.5 - 11-Oct-2006
|
375
|
+
* Prototype modification for VirtualQuery and VirtualQueryEx in the
|
376
|
+
Windows::Memory module.
|
377
|
+
|
378
|
+
= 0.5.4 - 8-Sep-2006
|
379
|
+
* Added the Windows::NetworkManagement module, which contains methods like
|
380
|
+
NetUserAdd(), etc.
|
381
|
+
* Fixed bugs in SetLastError and SetLastErrorEx declarations.
|
382
|
+
* Finer grained method wrapping/checking for the Windows::Library module.
|
383
|
+
* Finer grained method wrapping/checking for the Windows::Console module.
|
384
|
+
* Added a test case for the Windows::Library module.
|
385
|
+
* Added the LOCKFILE_EXCLUSIVE_LOCK and LOCKFILE_FAIL_IMMEDIATELY constants
|
386
|
+
to the Windows::File module.
|
387
|
+
|
388
|
+
= 0.5.3 - 10-Aug-2006
|
389
|
+
* Added wide character functions to the EventLog module.
|
390
|
+
* Added a test suite for the EventLog module.
|
391
|
+
* Fixed method wrapper for MapViewOfFileEx.
|
392
|
+
* Finer grained method wrapping/checking for the Windows::Registry module (the
|
393
|
+
RegSaveKeyEx might not be defined).
|
394
|
+
|
395
|
+
= 0.5.2 - 29-Jul-2006
|
396
|
+
* Prototype fixes/changes for CreateProcess, GlobalLock, GlobalMemoryStatusEx,
|
397
|
+
and CreateFileMapping.
|
398
|
+
* Finer grained method wrapping/checking for the Windows::Process module (only
|
399
|
+
two methods might not be defined).
|
400
|
+
* Added method wrappers for the Handle constants.
|
401
|
+
* Added mmap related methods and constants.
|
402
|
+
* Added more test cases.
|
403
|
+
* Added wide character methods to the Windows::Directory class.
|
404
|
+
* Added wide character helper methods.
|
405
|
+
* Added a few more methods to MSVCRT::String.
|
406
|
+
|
407
|
+
= 0.5.1 - 26-May-2006
|
408
|
+
* Minor updates and fixes for the Unicode and DeviceIO modules.
|
409
|
+
* Added some wide character support, based on $KCODE values (which should
|
410
|
+
not be used at this time).
|
411
|
+
|
412
|
+
= 0.5.0 - 23-May-2006
|
413
|
+
* Added the Registry module
|
414
|
+
* Added the EventLog module
|
415
|
+
* Added the National module
|
416
|
+
* Added the SystemInfo module
|
417
|
+
|
418
|
+
= 0.4.0 - 7-May-2006
|
419
|
+
* Bug fix for the WaitForMultipleObjects method in synchronize.rb
|
420
|
+
* Added the Window module (just a few constants for now)
|
421
|
+
* Added the Console module (AttachConsole, etc)
|
422
|
+
* Added the Library module (LoadLibrary, etc)
|
423
|
+
* Added the Directory module (CreateDirectory, etc)
|
424
|
+
* Added the Shell module (some constants, a few methods for now)
|
425
|
+
* Added the Unicode module (WideCharToMultiByte, etc)
|
426
|
+
* Added process creation, priority and startf flags to the Process module
|
427
|
+
|
428
|
+
= 0.3.0 - 22-Apr-2006
|
429
|
+
* Added the Limits module.
|
430
|
+
* Added the Security module.
|
431
|
+
* Fixed a signature bug in the MSVCRT/Buffer module.
|
432
|
+
|
433
|
+
= 0.2.0 - 13-Apr-2006
|
434
|
+
* Added the FileSystem module.
|
435
|
+
* Fixed signature and dll mistakes in the File module.
|
436
|
+
|
437
|
+
= 0.1.0 - 4-Apr-2006
|
438
|
+
* Initial release
|