This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Move Package::Constants from ext/ to cpan/
[perl5.git] / ext / Win32 / Changes
1 Revision history for the Perl extension Win32.
2
3 0.39    [2009-01-19]
4         - Add support for Windows 2008 Server and Windows 7 in
5           Win32::GetOSName() and in the documentation for
6           Win32::GetOSVersion().
7         - Make Win32::GetOSName() implementation testable.
8         - Document that the OSName for Win32s is actually "WinWin32s".
9
10 0.38    [2008-06-27]
11         - Fix Cygwin releated problems in t/GetCurrentThreadId.t
12           (Jerry D. Hedden).
13
14 0.37    [2008-06-26]
15         - Add Win32::GetCurrentProcessId() function
16
17 0.36    [2008-04-17]
18         - Add typecasts for Win64 compilation
19
20 0.35    [2008-03-31]
21         Integrate changes from bleadperl:
22         - Silence Borland compiler warning (Steve Hay)
23         - Fix memory leak in Win32::GetOSVersion (Vincent Pit)
24         - Test Win32::GetCurrentThreadId on cygwin (Reini Urban, Steve Hay)
25
26 0.34    [2007-11-21]
27         - Document "WinVista" return value for Win32::GetOSName()
28           (Steve Hay).
29
30 0.33    [2007-11-12]
31         - Update version to 0.33 for Perl 5.10 release
32         - Add $^O test in Makefile.PL for CPAN Testers
33         - Use Win32::GetLastError() instead of $^E in t/Names.t for
34           cygwin compatibility (Jerry D. Hedden).
35
36 0.32    [2007-09-20]
37         - Additional #define's for older versions of VC++ (Dmitry Karasik).
38         - Win32::DomainName() doesn't return anything when the Workstation
39           service isn't running.  Set $^E and adapt t/Names.t accordingly
40           (Steve Hay & Jerry D. Hedden).
41         - Fix t/Names.t to allow Win32::GetOSName() to return an empty
42           description as the 2nd return value (e.g. Vista without SP).
43         - Fix t/GetFileVersion.t for Perl 5.10
44
45 0.31    [2007-09-10]
46         - Apply Cygwin fixes from bleadperl (from Jerry D. Hedden).
47         - Make sure Win32::GetLongPathName() always returns drive
48           letters in uppercase (Jerry D. Hedden).
49         - Use uppercase environment variable names in t/Unicode.t
50           because the MSWin32 doesn't care, and Cygwin only works
51           with the uppercased version.
52         - new t/Names.t test (from Sébastien Aperghis-Tramoni)
53
54 0.30    [2007-06-25]
55         - Fixed t/Unicode.t test for Cygwin (with help from Jerry D. Hedden).
56         - Fixed and documented Win32::GetShortPathName() to return undef
57           when the pathname doesn't exist (thanks to Steve Hay).
58         - Added t/GetShortPathName.t
59
60 0.29    [2007-05-17]
61         - Fixed to compile with Borland BCC (thanks to Steve Hay).
62
63 0.28_01 [2007-05-16]
64         - Increase version number as 0.28 was already used by an ActivePerl
65           release (for essentially 0.27 plus the Win32::IsAdminUser() change).
66
67         - Add MODULE and PROTOTYPES directives to silence warnings from
68           newer versions of xsubpp.
69
70         - Use the Cygwin codepath in Win32::GetFullPathName() when
71           PERL_IMPLICIT_SYS is not defined, because the other code
72           relies on the virtualization code in win32/vdir.h.
73
74 0.27_02 [2007-05-15]
75         - We need Windows 2000 or later for the Unicode support because
76           WC_NO_BEST_FIT_CHARS is not supported on Windows NT.
77
78         - Fix Win32::GetFullPathName() on Windows NT to return an
79           empty file part if the original argument ends with a slash.
80
81 0.27_01 [2007-04-18]
82         - Update Win32::IsAdminUser() to use the IsUserAnAdmin() function
83           in shell32.dll when available.  On Windows Vista this will only
84           return true if the process is running with elevated privileges
85           and not just when the owner of the process is a member of the
86           "Administrators" group.
87
88         - Win32::ExpandEnvironmentStrings() may return a Unicode string
89           (a string containing characters outside the system codepage)
90
91         - new Win32::GetANSIPathName() function returns a pathname in
92           a form containing only characters from the system codepage
93
94         - Win32::GetCwd() will return an ANSI version of the directory
95           name if the long name contains characters outside the system
96           codepage.
97
98         - Win32::GetFolderPath() will return an ANSI pathname. Call
99           Win32::GetLongPathName() to get the canonical Unicode
100           representation.
101
102         - Win32::GetFullPathName() will return an ANSI pathname. Call
103           Win32::GetLongPathName() to get the canonical Unicode
104           representation.
105
106         - Win32::GetLongPathName() may return a Unicode path name.
107           Call Win32::GetANSIPathName() to get a representation using
108           only characters from the system codepage.
109
110         - Win32::LoginName() may return a Unicode string.
111
112         - new Win32::OutputDebugString() function sends a string to
113           the debugger.
114
115         - new Win32::GetCurrentThreadId() function returns the thread
116           id (to complement the process id in $$).
117
118         - new Win32::CreateDirectory() creates a new directory.  The
119           name of the directory may contain Unicode characters outside
120           the system codepage.
121
122         - new Win32::CreateFile() creates a new file.  The name of the
123           file may contain Unicode characters outside the system codepage.
124
125
126 0.27    [2007-03-07]
127         - Extracted from the libwin32 distribution to simplify maintenance
128           because Win32 is a dual-life core module since 5.8.4.
129
130         - Win32.pm and Win32.xs updated to version in bleadperl.
131           This includes all the Win32::* function from win32/win32.c
132           in core Perl, except for Win32::SetChildShowWindows().
133
134         - Install into 'perl' directory instead of 'site' for Perl 5.8.4
135           and later.
136
137         - Add some simple tests.