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