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