wine
15 years agobrowseui: Fix several memory leaks in the tests.
Huw Davies [Sat, 12 Dec 2009 14:21:17 +0000 (14:21 +0000)] 
browseui: Fix several memory leaks in the tests.

Found by Valgrind.

15 years agooleaut32: Fix a memory leak in the tests.
Huw Davies [Sat, 12 Dec 2009 14:04:35 +0000 (14:04 +0000)] 
oleaut32: Fix a memory leak in the tests.

Found by Valgrind.

15 years agoshdocvw: Fix a memory leak in the tests.
Huw Davies [Sat, 12 Dec 2009 12:19:05 +0000 (12:19 +0000)] 
shdocvw: Fix a memory leak in the tests.

Found by Valgrind.

15 years agofusion: Fix a memory leak in the tests.
Huw Davies [Sat, 12 Dec 2009 12:18:37 +0000 (12:18 +0000)] 
fusion: Fix a memory leak in the tests.

Found by Valgrind.

15 years agogdiplus: Add test for image palette functions.
Vincent Povirk [Fri, 11 Dec 2009 21:55:01 +0000 (15:55 -0600)] 
gdiplus: Add test for image palette functions.

15 years agogdiplus: Initialize the palettes of new indexed bitmaps.
Vincent Povirk [Fri, 11 Dec 2009 23:16:21 +0000 (17:16 -0600)] 
gdiplus: Initialize the palettes of new indexed bitmaps.

15 years agogdiplus: Implement GdipGetImagePalette.
Vincent Povirk [Fri, 11 Dec 2009 23:00:19 +0000 (17:00 -0600)] 
gdiplus: Implement GdipGetImagePalette.

15 years agogdiplus: Implement GdipGetImagePaletteSize.
Vincent Povirk [Fri, 11 Dec 2009 22:56:08 +0000 (16:56 -0600)] 
gdiplus: Implement GdipGetImagePaletteSize.

15 years agogdiplus: Implement GdipSetImagePalette.
Vincent Povirk [Fri, 11 Dec 2009 22:51:46 +0000 (16:51 -0600)] 
gdiplus: Implement GdipSetImagePalette.

15 years agoinclude: Add PaletteFlags enumeration.
Vincent Povirk [Fri, 11 Dec 2009 23:19:53 +0000 (17:19 -0600)] 
include: Add PaletteFlags enumeration.

15 years agowinhttp/tests: Skip secure connection tests if the request fails.
Juan Lang [Fri, 11 Dec 2009 22:10:27 +0000 (14:10 -0800)] 
winhttp/tests: Skip secure connection tests if the request fails.

15 years agowinhttp: Don't call a function whose result is never used.
Juan Lang [Fri, 11 Dec 2009 22:07:43 +0000 (14:07 -0800)] 
winhttp: Don't call a function whose result is never used.

15 years agoshlwapi: Beginning implementation of IUnknown_QueryServiceForWebBrowserApp.
Aric Stewart [Fri, 11 Dec 2009 21:44:10 +0000 (15:44 -0600)] 
shlwapi: Beginning implementation of IUnknown_QueryServiceForWebBrowserApp.

15 years agowinex11.drv: Use the old method to delete the desktop window.
Vincent Povirk [Fri, 11 Dec 2009 17:47:59 +0000 (11:47 -0600)] 
winex11.drv: Use the old method to delete the desktop window.

15 years agouser32: Move Get/SetWindowLong16 implementation to wnd16.c.
Alexandre Julliard [Sun, 13 Dec 2009 14:30:35 +0000 (15:30 +0100)] 
user32: Move Get/SetWindowLong16 implementation to wnd16.c.

15 years agouser32: Remove the no longer used WINPROC_CallDlgProc16 function.
Alexandre Julliard [Sun, 13 Dec 2009 09:59:31 +0000 (10:59 +0100)] 
user32: Remove the no longer used WINPROC_CallDlgProc16 function.

15 years agouser32: Move SystemParametersInfo16 to user16.c.
Alexandre Julliard [Fri, 11 Dec 2009 19:59:04 +0000 (20:59 +0100)] 
user32: Move SystemParametersInfo16 to user16.c.

15 years agouser32: Split the handling of the 16-bit messages out of the static winproc.
Alexandre Julliard [Fri, 11 Dec 2009 19:25:32 +0000 (20:25 +0100)] 
user32: Split the handling of the 16-bit messages out of the static winproc.

15 years agouser32: Split the handling of the 16-bit messages out of the scrollbar winproc.
Alexandre Julliard [Fri, 11 Dec 2009 19:25:28 +0000 (20:25 +0100)] 
user32: Split the handling of the 16-bit messages out of the scrollbar winproc.

15 years agouser32: Split the handling of the 16-bit messages out of the listbox winproc.
Alexandre Julliard [Fri, 11 Dec 2009 19:25:23 +0000 (20:25 +0100)] 
user32: Split the handling of the 16-bit messages out of the listbox winproc.

15 years agouser32: Split the handling of the 16-bit messages out of the combo winproc.
Alexandre Julliard [Fri, 11 Dec 2009 19:25:18 +0000 (20:25 +0100)] 
user32: Split the handling of the 16-bit messages out of the combo winproc.

15 years agouser32: Split the handling of the 16-bit messages out of the button winproc.
Alexandre Julliard [Fri, 11 Dec 2009 14:51:34 +0000 (15:51 +0100)] 
user32: Split the handling of the 16-bit messages out of the button winproc.

15 years agouser32: Split the handling of the 16-bit messages out of the edit winproc.
Alexandre Julliard [Fri, 11 Dec 2009 14:51:34 +0000 (15:51 +0100)] 
user32: Split the handling of the 16-bit messages out of the edit winproc.

15 years agouser32: Store the 16-bit edit handle directly in the window extra bytes.
Alexandre Julliard [Fri, 11 Dec 2009 17:13:03 +0000 (18:13 +0100)] 
user32: Store the 16-bit edit handle directly in the window extra bytes.

15 years agouser32: Split the code that deals with the 16-bit edit buffer handle to separate...
Alexandre Julliard [Fri, 11 Dec 2009 16:04:59 +0000 (17:04 +0100)] 
user32: Split the code that deals with the 16-bit edit buffer handle to separate functions.

15 years agouser32: Add a thunking mechanism for 16-bit edit word break procedures.
Alexandre Julliard [Fri, 11 Dec 2009 13:52:28 +0000 (14:52 +0100)] 
user32: Add a thunking mechanism for 16-bit edit word break procedures.

15 years agomsi/tests: Fix a handle leak.
Alexandre Julliard [Fri, 11 Dec 2009 18:19:27 +0000 (19:19 +0100)] 
msi/tests: Fix a handle leak.

15 years agowinhttp: Free OpenSSL error strings at unload.
Juan Lang [Fri, 11 Dec 2009 16:16:25 +0000 (08:16 -0800)] 
winhttp: Free OpenSSL error strings at unload.

15 years agocrypt32: Accept end certificates with no extended key usage extension if a particular...
Juan Lang [Fri, 11 Dec 2009 16:12:54 +0000 (08:12 -0800)] 
crypt32: Accept end certificates with no extended key usage extension if a particular key usage is requested.

15 years agomsi/tests: Remove some barriers to running msi tests in parallel.
Chris Schafer [Thu, 10 Dec 2009 22:07:14 +0000 (14:07 -0800)] 
msi/tests: Remove some barriers to running msi tests in parallel.

15 years agoserver: Simplify computation of file modes from the security descriptor.
Alexandre Julliard [Fri, 11 Dec 2009 16:32:38 +0000 (17:32 +0100)] 
server: Simplify computation of file modes from the security descriptor.

15 years agoserver: Include user groups in file mode calculation when user is file owner.
Ben Peddell [Wed, 9 Dec 2009 15:31:53 +0000 (01:31 +1000)] 
server: Include user groups in file mode calculation when user is file owner.

15 years agoadvapi32/tests: Fix memory leaks in tests.
Juan Lang [Fri, 11 Dec 2009 15:59:17 +0000 (07:59 -0800)] 
advapi32/tests: Fix memory leaks in tests.

15 years agooleaut32: Use wire sizes for marshaled safe arrays of bstrs and variants; fixes a...
Jeremy White [Fri, 11 Dec 2009 15:26:10 +0000 (09:26 -0600)] 
oleaut32: Use wire sizes for marshaled safe arrays of bstrs and variants; fixes a test failure on win64.

15 years agooleaut32/tests: Check the actual size of safe arrays marshaled, not just projected...
Jeremy White [Fri, 11 Dec 2009 15:25:50 +0000 (09:25 -0600)] 
oleaut32/tests: Check the actual size of safe arrays marshaled, not just projected size.

15 years agooleaut32/tests: Avoid a memory leak; spotted by Valgrind.
Jeremy White [Fri, 11 Dec 2009 15:25:25 +0000 (09:25 -0600)] 
oleaut32/tests: Avoid a memory leak; spotted by Valgrind.

15 years agooleaut32: Fix double-free in tests.
Huw Davies [Fri, 11 Dec 2009 13:28:19 +0000 (13:28 +0000)] 
oleaut32: Fix double-free in tests.

Found by Valgrind.

15 years agooleaut32/tests: Fix a couple of leaks in tests.
Nikolay Sivov [Fri, 11 Dec 2009 12:14:32 +0000 (15:14 +0300)] 
oleaut32/tests: Fix a couple of leaks in tests.

15 years agoshlwapi: Ordinal 196 is SHVerbExistsNA not DnsRecordSetCompare.
Aric Stewart [Fri, 11 Dec 2009 14:43:22 +0000 (08:43 -0600)] 
shlwapi: Ordinal 196 is SHVerbExistsNA not DnsRecordSetCompare.

15 years agoshell32/tests: Fix a test failure on a default Windows 7 system.
Paul Vriens [Fri, 11 Dec 2009 11:56:01 +0000 (12:56 +0100)] 
shell32/tests: Fix a test failure on a default Windows 7 system.

15 years agogdi32: Implement WineEngGetCharABCWidthsFloat and forward GetCharABCWidthsFloat to it.
Hans Leidekker [Fri, 11 Dec 2009 10:38:24 +0000 (11:38 +0100)] 
gdi32: Implement WineEngGetCharABCWidthsFloat and forward GetCharABCWidthsFloat to it.

15 years agoinclude: Remove useless definitions for nonexistent Win16 messages.
Alexandre Julliard [Fri, 11 Dec 2009 11:24:44 +0000 (12:24 +0100)] 
include: Remove useless definitions for nonexistent Win16 messages.

15 years agoshdocvw: Fix test for non-english IE MUI.
Alistair Leslie-Hughes [Tue, 8 Dec 2009 10:49:40 +0000 (21:49 +1100)] 
shdocvw: Fix test for non-english IE MUI.

15 years agodxdiagn: Initialize a structure size member before calling EnumDisplayDevicesW.
Andrew Nguyen [Fri, 11 Dec 2009 02:02:24 +0000 (20:02 -0600)] 
dxdiagn: Initialize a structure size member before calling EnumDisplayDevicesW.

15 years agomsi: Wine fails the test and passes us a Session object back, so free it in this...
James Hawkins [Fri, 11 Dec 2009 01:01:24 +0000 (17:01 -0800)] 
msi: Wine fails the test and passes us a Session object back, so free it in this case.

15 years agomsi: Refactor the Installer.RelatedProducts method into InstallerImpl_RelatedProducts.
James Hawkins [Fri, 11 Dec 2009 01:03:23 +0000 (17:03 -0800)] 
msi: Refactor the Installer.RelatedProducts method into InstallerImpl_RelatedProducts.

15 years agomsi: Refactor the Installer.Products method into InstallerImpl_Products.
James Hawkins [Fri, 11 Dec 2009 01:03:16 +0000 (17:03 -0800)] 
msi: Refactor the Installer.Products method into InstallerImpl_Products.

15 years agomsi: Refactor the Installer.ProductInfo method into InstallerImpl_ProductInfo.
James Hawkins [Fri, 11 Dec 2009 01:03:10 +0000 (17:03 -0800)] 
msi: Refactor the Installer.ProductInfo method into InstallerImpl_ProductInfo.

15 years agomsi: Refactor the Installer.ProductState method into InstallerImpl_ProductState.
James Hawkins [Fri, 11 Dec 2009 01:03:04 +0000 (17:03 -0800)] 
msi: Refactor the Installer.ProductState method into InstallerImpl_ProductState.

15 years agomsi: Refactor the Installer.RegistryValue method into InstallerImpl_RegistryValue.
James Hawkins [Fri, 11 Dec 2009 01:02:58 +0000 (17:02 -0800)] 
msi: Refactor the Installer.RegistryValue method into InstallerImpl_RegistryValue.

15 years agomsi: Refactor the Installer.Version method into InstallerImpl_Version.
James Hawkins [Fri, 11 Dec 2009 01:02:49 +0000 (17:02 -0800)] 
msi: Refactor the Installer.Version method into InstallerImpl_Version.

15 years agomsi: Refactor the Installer.InstallProduct method into InstallerImpl_InstallProduct.
James Hawkins [Fri, 11 Dec 2009 01:02:39 +0000 (17:02 -0800)] 
msi: Refactor the Installer.InstallProduct method into InstallerImpl_InstallProduct.

15 years agomsi: Refactor the remaining Installer object stub methods into respective functions.
James Hawkins [Fri, 11 Dec 2009 01:02:32 +0000 (17:02 -0800)] 
msi: Refactor the remaining Installer object stub methods into respective functions.

15 years agomsi: Refactor the Installer.UILevel method into InstallerImpl_UILevel.
James Hawkins [Fri, 11 Dec 2009 01:02:24 +0000 (17:02 -0800)] 
msi: Refactor the Installer.UILevel method into InstallerImpl_UILevel.

15 years agomsi: Refactor the Installer.SummaryInformation method to InstallerImpl_SummaryInforma...
James Hawkins [Fri, 11 Dec 2009 01:02:16 +0000 (17:02 -0800)] 
msi: Refactor the Installer.SummaryInformation method to InstallerImpl_SummaryInformation.

15 years agomsi: Refactor Installer.OpenProduct and Installer.OpenDatabase into respective functions.
James Hawkins [Fri, 11 Dec 2009 01:02:08 +0000 (17:02 -0800)] 
msi: Refactor Installer.OpenProduct and Installer.OpenDatabase into respective functions.

15 years agomsi: Refactor the Installer.OpenPackage method into InstallerImpl_OpenPackage.
James Hawkins [Fri, 11 Dec 2009 01:01:58 +0000 (17:01 -0800)] 
msi: Refactor the Installer.OpenPackage method into InstallerImpl_OpenPackage.

15 years agomsi: Refactor the Installer.CreateRecord method into InstallerImpl_CreateRecord.
James Hawkins [Fri, 11 Dec 2009 01:01:50 +0000 (17:01 -0800)] 
msi: Refactor the Installer.CreateRecord method into InstallerImpl_CreateRecord.

15 years agomsi: Stub out a few more Installer object methods.
James Hawkins [Fri, 11 Dec 2009 01:01:43 +0000 (17:01 -0800)] 
msi: Stub out a few more Installer object methods.

15 years agomsi: Close the original record before copying new data into it.
James Hawkins [Fri, 11 Dec 2009 01:01:12 +0000 (17:01 -0800)] 
msi: Close the original record before copying new data into it.

15 years agomsi: Fix a handle leak in the record tests.
James Hawkins [Fri, 11 Dec 2009 01:01:06 +0000 (17:01 -0800)] 
msi: Fix a handle leak in the record tests.

15 years agodmloader: pObject NULL checks are not necessary (Coverity).
Marcus Meissner [Thu, 10 Dec 2009 23:10:02 +0000 (00:10 +0100)] 
dmloader: pObject NULL checks are not necessary (Coverity).

15 years agodmime: Actually get a pCLSID stream before using it (Coverity).
Marcus Meissner [Thu, 10 Dec 2009 23:04:40 +0000 (00:04 +0100)] 
dmime: Actually get a pCLSID stream before using it (Coverity).

15 years agojscript: Fixed uninitialized usage of i (Coverity).
Marcus Meissner [Thu, 10 Dec 2009 22:56:21 +0000 (23:56 +0100)] 
jscript: Fixed uninitialized usage of i (Coverity).

15 years agoole32: Implement Revert for transacted storage objects.
Vincent Povirk [Sat, 5 Dec 2009 00:02:59 +0000 (18:02 -0600)] 
ole32: Implement Revert for transacted storage objects.

15 years agoole32: Implement transacted storage.
Vincent Povirk [Fri, 4 Dec 2009 23:33:50 +0000 (17:33 -0600)] 
ole32: Implement transacted storage.

15 years agoole32: Add a stub transacted storage type.
Vincent Povirk [Wed, 2 Dec 2009 16:59:47 +0000 (10:59 -0600)] 
ole32: Add a stub transacted storage type.

TransactedSnapshotImpl acts as a proxy between the user and the storage
interfaces that modify the file directly (or another transacted storage).
Currently, it does not change the operations.

15 years agoole32: Add Invalidate to the storage vtable.
Vincent Povirk [Fri, 4 Dec 2009 21:49:31 +0000 (15:49 -0600)] 
ole32: Add Invalidate to the storage vtable.

15 years agoole32: Create internal storage objects with a refcount of 1.
Vincent Povirk [Wed, 2 Dec 2009 17:03:36 +0000 (11:03 -0600)] 
ole32: Create internal storage objects with a refcount of 1.

For consistency with StorageImpl_Construct.

15 years agowined3d: Move IWineD3DDeviceImpl_RestoreWindow() to swapchain.c.
Henri Verbeet [Thu, 10 Dec 2009 20:41:56 +0000 (21:41 +0100)] 
wined3d: Move IWineD3DDeviceImpl_RestoreWindow() to swapchain.c.

15 years agowined3d: Move IWineD3DDeviceImpl_SetupFullscreenWindow() to swapchain.c.
Henri Verbeet [Thu, 10 Dec 2009 20:41:55 +0000 (21:41 +0100)] 
wined3d: Move IWineD3DDeviceImpl_SetupFullscreenWindow() to swapchain.c.

15 years agowined3d: Add a separate function for swapchain initialization.
Henri Verbeet [Thu, 10 Dec 2009 20:41:54 +0000 (21:41 +0100)] 
wined3d: Add a separate function for swapchain initialization.

15 years agowined3d: Correctly calculate the extended style in IWineD3DDeviceImpl_RestoreWindow().
Henri Verbeet [Thu, 10 Dec 2009 20:41:53 +0000 (21:41 +0100)] 
wined3d: Correctly calculate the extended style in IWineD3DDeviceImpl_RestoreWindow().

15 years agowined3d: Properly invalidate the context's draw buffer in color_fill_fbo().
Henri Verbeet [Thu, 10 Dec 2009 20:41:52 +0000 (21:41 +0100)] 
wined3d: Properly invalidate the context's draw buffer in color_fill_fbo().

15 years agoshlwapi/tests: Testing framework and IConnection point tests.
Aric Stewart [Thu, 10 Dec 2009 19:16:34 +0000 (13:16 -0600)] 
shlwapi/tests: Testing framework and IConnection point tests.

15 years agoshlwapi: Release rgcd.pUnk returned by enumeration.
Aric Stewart [Thu, 10 Dec 2009 19:16:26 +0000 (13:16 -0600)] 
shlwapi: Release rgcd.pUnk returned by enumeration.

15 years agoshlwapi: DISPPARAMS on Invoke are never NULL.
Aric Stewart [Thu, 10 Dec 2009 19:16:14 +0000 (13:16 -0600)] 
shlwapi: DISPPARAMS on Invoke are never NULL.

15 years agoshlwapi: Failure in IConnectionPoint_GetConnectionInterface does not prevent Invoking.
Aric Stewart [Thu, 10 Dec 2009 19:16:06 +0000 (13:16 -0600)] 
shlwapi: Failure in IConnectionPoint_GetConnectionInterface does not prevent Invoking.

15 years agoshlwapi: Rename ConnectToConnectionPoint bAdviseOnly to fConnect as MSDN.
Aric Stewart [Thu, 10 Dec 2009 19:15:58 +0000 (13:15 -0600)] 
shlwapi: Rename ConnectToConnectionPoint bAdviseOnly to fConnect as MSDN.

15 years agowineboot: Terminate processes immediately after WM_ENDSESSION.
Vincent Povirk [Thu, 10 Dec 2009 18:35:18 +0000 (12:35 -0600)] 
wineboot: Terminate processes immediately after WM_ENDSESSION.

Once a process returns from WM_ENDSESSION, we can assume it has finished
doing any cleanup it needs but will most likely not shut down on its own.

15 years agowineboot: Do not force --kill when --end-session is set.
Vincent Povirk [Thu, 10 Dec 2009 18:19:49 +0000 (12:19 -0600)] 
wineboot: Do not force --kill when --end-session is set.

The --kill switch ends processes from all desktops, but --end-session only
applies to the current desktop. This causes windows from other desktops to
dangerously close without notification that the session is ending.

15 years agocrypt32: Fix CertAddCTLContextToStore for CERT_STORE_ADD_USE_EXISTING add disposition.
Juan Lang [Thu, 10 Dec 2009 17:06:39 +0000 (09:06 -0800)] 
crypt32: Fix CertAddCTLContextToStore for CERT_STORE_ADD_USE_EXISTING add disposition.

15 years agocrypt32: Fix CertAddCRLContextToStore for CERT_STORE_ADD_USE_EXISTING add disposition.
Juan Lang [Thu, 10 Dec 2009 17:06:10 +0000 (09:06 -0800)] 
crypt32: Fix CertAddCRLContextToStore for CERT_STORE_ADD_USE_EXISTING add disposition.

15 years agocrypt32: Don't dereference an output pointer which may be NULL.
Juan Lang [Thu, 10 Dec 2009 16:58:20 +0000 (08:58 -0800)] 
crypt32: Don't dereference an output pointer which may be NULL.

15 years agocrypt32: Trace chain final error status.
Juan Lang [Thu, 10 Dec 2009 15:49:05 +0000 (07:49 -0800)] 
crypt32: Trace chain final error status.

15 years agocomctl32/tests: Fix a test failure on older comctl32.
Paul Vriens [Thu, 10 Dec 2009 15:23:31 +0000 (16:23 +0100)] 
comctl32/tests: Fix a test failure on older comctl32.

15 years agommdevapi: Add initial mmdevapi dll.
Maarten Lankhorst [Wed, 9 Dec 2009 14:38:43 +0000 (15:38 +0100)] 
mmdevapi: Add initial mmdevapi dll.

15 years agodsound: Only initialize one guid for capture and renderer.
Maarten Lankhorst [Wed, 9 Dec 2009 14:49:12 +0000 (15:49 +0100)] 
dsound: Only initialize one guid for capture and renderer.

15 years agodbghelp: Fix an invalid pointer cast.
Alexandre Julliard [Thu, 10 Dec 2009 14:31:27 +0000 (15:31 +0100)] 
dbghelp: Fix an invalid pointer cast.

15 years agodbghelp: Moved addr_to_linear() to stack.c.
Alexandre Julliard [Thu, 10 Dec 2009 14:29:20 +0000 (15:29 +0100)] 
dbghelp: Moved addr_to_linear() to stack.c.

15 years agowinedbg: Fix a number of 64-bit pointer truncation issues.
Alexandre Julliard [Thu, 10 Dec 2009 14:23:45 +0000 (15:23 +0100)] 
winedbg: Fix a number of 64-bit pointer truncation issues.

15 years agoddraw/tests: Fix some test failures on Vista+.
Paul Vriens [Thu, 10 Dec 2009 12:19:48 +0000 (13:19 +0100)] 
ddraw/tests: Fix some test failures on Vista+.

15 years agows2_32: Return the full list of local IP addresses when gethostbyname() is called...
Erich Hoover [Sun, 6 Dec 2009 02:26:56 +0000 (19:26 -0700)] 
ws2_32: Return the full list of local IP addresses when gethostbyname() is called on the local hostname.

15 years agows2_32: Separate out hostent creation from duplication.
Erich Hoover [Sun, 6 Dec 2009 02:26:33 +0000 (19:26 -0700)] 
ws2_32: Separate out hostent creation from duplication.

15 years agoole32/tests: Don't crash on Win9x/WinMe by using more A-functions.
Paul Vriens [Thu, 10 Dec 2009 10:55:58 +0000 (11:55 +0100)] 
ole32/tests: Don't crash on Win9x/WinMe by using more A-functions.

15 years agoimagehlp/tests: Run tests again on Win95.
Paul Vriens [Thu, 10 Dec 2009 10:41:48 +0000 (11:41 +0100)] 
imagehlp/tests: Run tests again on Win95.

15 years agontoskrnl: Add IoAllocateErrorLogEntry stub.
Wolfram Sang [Wed, 9 Dec 2009 18:22:14 +0000 (19:22 +0100)] 
ntoskrnl: Add IoAllocateErrorLogEntry stub.

15 years agokernel32: Consolidate some related code closer together.
Ken Thomases [Wed, 9 Dec 2009 21:03:18 +0000 (15:03 -0600)] 
kernel32: Consolidate some related code closer together.

15 years agokernel32: Mac lang. pref. overrides LANG, but not LC_ALL or LC_MESSAGES.
Ken Thomases [Wed, 9 Dec 2009 21:03:07 +0000 (15:03 -0600)] 
kernel32: Mac lang. pref. overrides LANG, but not LC_ALL or LC_MESSAGES.

15 years agokernel32: On Mac, construct locale string from language and country codes.
Ken Thomases [Wed, 9 Dec 2009 21:02:55 +0000 (15:02 -0600)] 
kernel32: On Mac, construct locale string from language and country codes.

Don't rely on CFLocaleGetIdentifier(), whose result may not be sensible to
the C library.