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