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