wine
19 years agoIn reg_get_logfont:
Rein Klazes [Tue, 21 Jun 2005 20:02:54 +0000 (20:02 +0000)] 
In reg_get_logfont:
- handle the case that the registry value is a LOGFONT16;
- if the lfHeight field is positive, it represents the font's point
  size and must be converted to logical units.

19 years agoChanged setting default port number from HTTP_Connect to
Maarten Lankhorst [Tue, 21 Jun 2005 20:02:34 +0000 (20:02 +0000)] 
Changed setting default port number from HTTP_Connect to
HttpOpenRequestW.

19 years ago- Added new INTERNET_OPTION* defines.
Maarten Lankhorst [Tue, 21 Jun 2005 20:02:21 +0000 (20:02 +0000)] 
- Added new INTERNET_OPTION* defines.
- Fixed InternetSetOptionW unknown option handling, and added
  INTERNET_OPTION_DISABLE_PASSPORT_AUTH.

19 years agoDon't require execute permission for thread stacks.
Alexandre Julliard [Tue, 21 Jun 2005 09:57:53 +0000 (09:57 +0000)] 
Don't require execute permission for thread stacks.

19 years agoDon't include winbase.h or winerror.h when not necessary.
Mike McCormack [Tue, 21 Jun 2005 09:52:40 +0000 (09:52 +0000)] 
Don't include winbase.h or winerror.h when not necessary.

19 years agoDon't include winbase.h when it's not necessary.
Mike McCormack [Tue, 21 Jun 2005 09:46:15 +0000 (09:46 +0000)] 
Don't include winbase.h when it's not necessary.

19 years agoImproved ObtainUserAgentString stub.
Maarten Lankhorst [Tue, 21 Jun 2005 09:44:47 +0000 (09:44 +0000)] 
Improved ObtainUserAgentString stub.

19 years ago- use interfaces rather than internal functions
Mike McCormack [Tue, 21 Jun 2005 09:44:28 +0000 (09:44 +0000)] 
- use interfaces rather than internal functions
- remove declaration of AddRef and QueryInterface functions from
  headers

19 years agoFix winsock.h and stdlib.h collision by including windows.h instead
Pierre d'Herbemont [Tue, 21 Jun 2005 09:43:44 +0000 (09:43 +0000)] 
Fix winsock.h and stdlib.h collision by including windows.h instead
of the previous headers.

19 years agoFix a typo.
Robert Reif [Tue, 21 Jun 2005 09:43:29 +0000 (09:43 +0000)] 
Fix a typo.

19 years agoAdded KERNEL_USER_TIMES struct.
Paul Vriens [Tue, 21 Jun 2005 09:43:13 +0000 (09:43 +0000)] 
Added KERNEL_USER_TIMES struct.

19 years agoUpdate Dutch resource file.
Paul Vriens [Tue, 21 Jun 2005 09:42:56 +0000 (09:42 +0000)] 
Update Dutch resource file.

19 years agoPropagate the root folder's attributes to the registry.
Michael Jung [Tue, 21 Jun 2005 09:42:38 +0000 (09:42 +0000)] 
Propagate the root folder's attributes to the registry.

19 years agoRemove superfluous include statements.
Martin Fuchs [Mon, 20 Jun 2005 18:39:48 +0000 (18:39 +0000)] 
Remove superfluous include statements.

19 years agoMake functions static, fix declarations.
Mike McCormack [Mon, 20 Jun 2005 18:39:40 +0000 (18:39 +0000)] 
Make functions static, fix declarations.

19 years ago- avoid winternl.h depending on winbase.h
Mike McCormack [Mon, 20 Jun 2005 18:37:17 +0000 (18:37 +0000)] 
- avoid winternl.h depending on winbase.h
- define RTL versions of TIME_ZONE_INFORMATION and SYSTEMTIME

19 years agoMoved the audio driver configuration to HKCU\Software\Wine\Drivers and
Alexandre Julliard [Mon, 20 Jun 2005 18:35:57 +0000 (18:35 +0000)] 
Moved the audio driver configuration to HKCU\Software\Wine\Drivers and
changed it a bit to follow the model of the graphics driver.

19 years agoMoved a few registry keys from HKLM\Software\Wine to
Alexandre Julliard [Mon, 20 Jun 2005 16:04:32 +0000 (16:04 +0000)] 
Moved a few registry keys from HKLM\Software\Wine to
HKCU\Software\Wine for consistency.

19 years agoMoved configuration data to HKCU\Software\Wine\Alsa Driver.
Alexandre Julliard [Mon, 20 Jun 2005 16:03:21 +0000 (16:03 +0000)] 
Moved configuration data to HKCU\Software\Wine\Alsa Driver.

19 years agoMake functions static.
Mike McCormack [Mon, 20 Jun 2005 16:01:04 +0000 (16:01 +0000)] 
Make functions static.

19 years agoAlso check for /usr/X11R6/lib/libGL.dylib.
Pierre d'Herbemont [Mon, 20 Jun 2005 15:52:16 +0000 (15:52 +0000)] 
Also check for /usr/X11R6/lib/libGL.dylib.

19 years agoFix returned value for SPI_SETMOUSEBUTTONSWAP.
Vitaly Lipatov [Mon, 20 Jun 2005 15:36:17 +0000 (15:36 +0000)] 
Fix returned value for SPI_SETMOUSEBUTTONSWAP.

19 years agoMake some function static.
Stefan Huehner [Mon, 20 Jun 2005 15:35:54 +0000 (15:35 +0000)] 
Make some function static.

19 years agoRevamp the initialization for Alsa.
Jeremy White [Mon, 20 Jun 2005 15:34:59 +0000 (15:34 +0000)] 
Revamp the initialization for Alsa.

19 years ago- Realize DoEnvironmentSubstA via ExpandEnvironmentStringsA.
Vitaly Lipatov [Mon, 20 Jun 2005 15:33:48 +0000 (15:33 +0000)] 
- Realize DoEnvironmentSubstA via ExpandEnvironmentStringsA.
- Fix types and return values.
- Add prototype into shellapi.h.

19 years agoUse MSI_IterateRecords for DuplicateFiles.
Aric Stewart [Mon, 20 Jun 2005 15:33:22 +0000 (15:33 +0000)] 
Use MSI_IterateRecords for DuplicateFiles.

19 years agoUse MSI_IterateRecords for processing actions.
Aric Stewart [Mon, 20 Jun 2005 15:33:10 +0000 (15:33 +0000)] 
Use MSI_IterateRecords for processing actions.
Some whitespace cleanup and replace a comment block I did not want to
remove.

19 years agoFix more -Wstrict-prototypes warnings.
Stefan Huehner [Mon, 20 Jun 2005 14:18:03 +0000 (14:18 +0000)] 
Fix more -Wstrict-prototypes warnings.

19 years agoOwner drawn menu item size calculation fixes:
Rein Klazes [Mon, 20 Jun 2005 14:12:39 +0000 (14:12 +0000)] 
Owner drawn menu item size calculation fixes:
- Correct width calculation of owner drawn menu items;
- Set the height value in the MEASUREITEM struct to the same value as
  Windows (NT/2k/XP) does (problem debugged by Felix Nawothnig);
- Add tests for the fixes above;
- Also add tests for menu bars with owner drawn items.

19 years agoFix roundoff error to prevent negative length.
Robert Reif [Mon, 20 Jun 2005 14:12:03 +0000 (14:12 +0000)] 
Fix roundoff error to prevent negative length.

19 years agoMake tabs work in msi dialogs.
Mike McCormack [Mon, 20 Jun 2005 14:11:43 +0000 (14:11 +0000)] 
Make tabs work in msi dialogs.

19 years agoUse __ASM_NAME and HAVE_ASM_DOT_SIZE in a few places in winebuild
Wolfgang Thaller [Mon, 20 Jun 2005 13:38:39 +0000 (13:38 +0000)] 
Use __ASM_NAME and HAVE_ASM_DOT_SIZE in a few places in winebuild
where they have been missing (needed for Darwin/x86).

19 years agoAdd support for impersonating a token.
Robert Shearman [Mon, 20 Jun 2005 13:18:38 +0000 (13:18 +0000)] 
Add support for impersonating a token.

19 years agoConvert some registry helper functions to use unicode versions of
Robert Shearman [Mon, 20 Jun 2005 13:14:22 +0000 (13:14 +0000)] 
Convert some registry helper functions to use unicode versions of
CLSID & registry functions (untested).

19 years ago- add some tests for {Get|Set}Pixel
Lauri Tulmin [Mon, 20 Jun 2005 13:13:53 +0000 (13:13 +0000)] 
- add some tests for {Get|Set}Pixel
- skip tests that fail in win9x

19 years ago- Sync with ReactOS repository, re-indent and remove tabs in resource
Martin Fuchs [Mon, 20 Jun 2005 11:45:39 +0000 (11:45 +0000)] 
- Sync with ReactOS repository, re-indent and remove tabs in resource
  scripts and header files.
- Add #ifdef __WINE__ for the Wine About dialog.

19 years agoStub implementation for GetMenuBarInfo.
Hans Leidekker [Mon, 20 Jun 2005 11:45:21 +0000 (11:45 +0000)] 
Stub implementation for GetMenuBarInfo.

19 years agoImplement RtlImpersonateSelf, RevertToSelf and MapGenericMask.
Robert Shearman [Mon, 20 Jun 2005 11:44:45 +0000 (11:44 +0000)] 
Implement RtlImpersonateSelf, RevertToSelf and MapGenericMask.

19 years agoIn MCI_(Un)MapMsg16To32W with wMsg == MCI_OPEN(_DRIVER) only do
Rein Klazes [Mon, 20 Jun 2005 11:44:17 +0000 (11:44 +0000)] 
In MCI_(Un)MapMsg16To32W with wMsg == MCI_OPEN(_DRIVER) only do
strdupAtoW on those parameters that are flagged to be a string.

19 years agoImplement try_mmap_fixed for Darwin.
Wolfgang Thaller [Mon, 20 Jun 2005 11:43:47 +0000 (11:43 +0000)] 
Implement try_mmap_fixed for Darwin.

19 years agoWinebuild darwin/x86-specific fixes:
Wolfgang Thaller [Mon, 20 Jun 2005 11:43:16 +0000 (11:43 +0000)] 
Winebuild darwin/x86-specific fixes:
- Assembler interprets .align as power-of-two
- Add .weak_reference to output where gcc 3.3 swallows it

19 years agoAllow null pointers for EM_GETSEL message (as MSDN says).
Vitaly Lipatov [Mon, 20 Jun 2005 11:42:38 +0000 (11:42 +0000)] 
Allow null pointers for EM_GETSEL message (as MSDN says).

19 years agoUse stat's dev/inode to compare paths instead of comparing the
Michael Jung [Mon, 20 Jun 2005 11:42:23 +0000 (11:42 +0000)] 
Use stat's dev/inode to compare paths instead of comparing the
strings. Defer building a folder's children SHITEMIDS until explicitly
asked for.

19 years agoStub implementations for ProcessVmCounters, ProcessTimes and
Paul Vriens [Mon, 20 Jun 2005 11:42:02 +0000 (11:42 +0000)] 
Stub implementations for ProcessVmCounters, ProcessTimes and
ProcessHandleCount.
Changed ProcessIoCounters to match windows behavior.

19 years ago- don't include winreg.h
Mike McCormack [Mon, 20 Jun 2005 10:40:37 +0000 (10:40 +0000)] 
- don't include winreg.h
- include kernel_private.h to get declaration for convert_old_config()

19 years agoRemove unnecessary includes.
Mike McCormack [Mon, 20 Jun 2005 10:35:36 +0000 (10:35 +0000)] 
Remove unnecessary includes.

19 years agoImplement RtlCopySecurityDescriptor.
James Hawkins [Mon, 20 Jun 2005 10:34:30 +0000 (10:34 +0000)] 
Implement RtlCopySecurityDescriptor.

19 years agoChange the RPC code to use the unicode versions of the CLSID &
Robert Shearman [Mon, 20 Jun 2005 10:33:28 +0000 (10:33 +0000)] 
Change the RPC code to use the unicode versions of the CLSID &
registry functions.

19 years ago- Change some of the registry helper functions to use the unicode
Robert Shearman [Mon, 20 Jun 2005 10:33:17 +0000 (10:33 +0000)] 
- Change some of the registry helper functions to use the unicode
  versions of the CLSID & registry functions.
- Reindent CoGetClassObject and output an error message if the class
  isn't registered.
- Add tests for the touched functions.

19 years agoIn SCROLL_DrawScrollbar allocate the internal info if needed.
Rein Klazes [Mon, 20 Jun 2005 10:32:44 +0000 (10:32 +0000)] 
In SCROLL_DrawScrollbar allocate the internal info if needed.

19 years agoAdded PF_NX_ENABLED definition.
Marcus Meissner [Mon, 20 Jun 2005 10:32:31 +0000 (10:32 +0000)] 
Added PF_NX_ENABLED definition.

19 years agoEnable MAKEPOINTS usage in Wine.
Dmitry Timoshkov [Mon, 20 Jun 2005 10:32:07 +0000 (10:32 +0000)] 
Enable MAKEPOINTS usage in Wine.

19 years ago- Fix a warning caused by the TAB patch.
Krzysztof Foltman [Mon, 20 Jun 2005 10:31:38 +0000 (10:31 +0000)] 
- Fix a warning caused by the TAB patch.
- Initialize *pcb to a large value before calling the stream-out
  callback (to make applications that don't set *pcb at all happy).
- Don't flush the output stream when error condition is set.

19 years agoMake shell32 tests loadable on NT4.
Stefan Leichter [Mon, 20 Jun 2005 10:31:14 +0000 (10:31 +0000)] 
Make shell32 tests loadable on NT4.

19 years agoMove the (Mac OS X) IOKit headers to the top of the file to prevent a
Pierre d'Herbemont [Mon, 20 Jun 2005 10:31:04 +0000 (10:31 +0000)] 
Move the (Mac OS X) IOKit headers to the top of the file to prevent a
compilation failure.

19 years agoChange WS_bind to accept an sa_family of 0 as "don't care".
Troy Rollo [Mon, 20 Jun 2005 10:30:50 +0000 (10:30 +0000)] 
Change WS_bind to accept an sa_family of 0 as "don't care".

19 years agoSync msvcmaker with make_ctests to generate valid code.
Saulius Krasuckas [Mon, 20 Jun 2005 10:30:31 +0000 (10:30 +0000)] 
Sync msvcmaker with make_ctests to generate valid code.

19 years agoMake functions static.
Mike McCormack [Mon, 20 Jun 2005 10:30:15 +0000 (10:30 +0000)] 
Make functions static.

19 years agoUpdate the win(16|32).api files to match the current sources.
Francois Gouget [Fri, 17 Jun 2005 21:31:17 +0000 (21:31 +0000)] 
Update the win(16|32).api files to match the current sources.

19 years agoAllow control events to return codes to halt the processing of event.
Aric Stewart [Fri, 17 Jun 2005 21:31:06 +0000 (21:31 +0000)] 
Allow control events to return codes to halt the processing of event.
Needed for the SetTargetPath Event.

19 years agoFix the CryptEncodeObjectEx() prototype.
Francois Gouget [Fri, 17 Jun 2005 21:26:53 +0000 (21:26 +0000)] 
Fix the CryptEncodeObjectEx() prototype.
Fixes winapi_check warnings.

19 years agoFix the prototypes of SQLCreateDataSource*(), SQLGetPrivateProfileString*().
Francois Gouget [Fri, 17 Jun 2005 21:26:31 +0000 (21:26 +0000)] 
Fix the prototypes of SQLCreateDataSource*(), SQLGetPrivateProfileString*().
Fix the return type of SQLInstallerError*() and
SQLPostInstallerError*().
Fix the SQLInstallDriver() and SQLInstallDriverEx() prototypes in the
spec file.
Add an odbccp32 section to win32.api for winapi_check.

19 years agoA long overdue fix to MSI_SetTargetPath. This should fix an error with
Aric Stewart [Fri, 17 Jun 2005 21:25:51 +0000 (21:25 +0000)] 
A long overdue fix to MSI_SetTargetPath. This should fix an error with
some installers that where unable to change the target path.

19 years agoFlesh out the remaining keys in RegisterProduct.
Aric Stewart [Fri, 17 Jun 2005 21:25:41 +0000 (21:25 +0000)] 
Flesh out the remaining keys in RegisterProduct.

19 years agoUpdated paths of ShowDirSymlinks, ShowDotFiles and Version options.
Alexandre Julliard [Fri, 17 Jun 2005 21:09:07 +0000 (21:09 +0000)] 
Updated paths of ShowDirSymlinks, ShowDotFiles and Version options.

19 years agoMoved directory options to HKCU\Software\Wine.
Alexandre Julliard [Fri, 17 Jun 2005 21:07:44 +0000 (21:07 +0000)] 
Moved directory options to HKCU\Software\Wine.

19 years agoMoved version key to HKCU\Software\Wine.
Alexandre Julliard [Fri, 17 Jun 2005 21:06:14 +0000 (21:06 +0000)] 
Moved version key to HKCU\Software\Wine.

19 years agoDeactivate active window in ShowWindow(,SW_HIDE).
Vitaliy Margolen [Fri, 17 Jun 2005 21:05:16 +0000 (21:05 +0000)] 
Deactivate active window in ShowWindow(,SW_HIDE).

19 years agoAssorted spelling fixes.
Francois Gouget [Fri, 17 Jun 2005 20:59:49 +0000 (20:59 +0000)] 
Assorted spelling fixes.

19 years agoFix winapi_check documentation warnings.
Francois Gouget [Fri, 17 Jun 2005 20:58:33 +0000 (20:58 +0000)] 
Fix winapi_check documentation warnings.

19 years agoShowOwnedPopups and WM_SHOWWINDOW should handle non-WS_POPUP style
Vitaliy Margolen [Fri, 17 Jun 2005 20:57:26 +0000 (20:57 +0000)] 
ShowOwnedPopups and WM_SHOWWINDOW should handle non-WS_POPUP style
windows as well.

19 years agoBreak out all the file related actions and helper functions into
Aric Stewart [Fri, 17 Jun 2005 20:56:55 +0000 (20:56 +0000)] 
Break out all the file related actions and helper functions into
files.c

19 years agoFix the FreeADsMem() prototype.
Francois Gouget [Fri, 17 Jun 2005 20:56:21 +0000 (20:56 +0000)] 
Fix the FreeADsMem() prototype.
Add an activeds section to win32.api for winapi_check.
Fix a documentation warning.

19 years agoProtect the unistd.h and sys/stat.h includes.
Francois Gouget [Fri, 17 Jun 2005 20:56:02 +0000 (20:56 +0000)] 
Protect the unistd.h and sys/stat.h includes.
Include config.h.
Fixes warnings reported by winapi_check.

19 years agoRemove an unneeded variable in test_query_timeofday().
Francois Gouget [Fri, 17 Jun 2005 20:55:40 +0000 (20:55 +0000)] 
Remove an unneeded variable in test_query_timeofday().
Rename a variable to 'is_nt' to make its meaning clearer.

19 years agoRemove unneeded NULL cast.
Francois Gouget [Fri, 17 Jun 2005 20:55:27 +0000 (20:55 +0000)] 
Remove unneeded NULL cast.

19 years agoRemove a check for obsolete directory and file special cases.
Francois Gouget [Fri, 17 Jun 2005 20:55:07 +0000 (20:55 +0000)] 
Remove a check for obsolete directory and file special cases.

19 years agoWe should set the global $all_modules variable otherwise there's no
Francois Gouget [Fri, 17 Jun 2005 20:54:55 +0000 (20:54 +0000)] 
We should set the global $all_modules variable otherwise there's no
point.

19 years agoUse a simpler expression for the "RichEdit20W" string to workaround
Marcus Meissner [Fri, 17 Jun 2005 20:54:42 +0000 (20:54 +0000)] 
Use a simpler expression for the "RichEdit20W" string to workaround
compiler bug.

19 years agoSpecify enough buffer for id[] (20 chars are not enough).
Marcus Meissner [Fri, 17 Jun 2005 20:54:29 +0000 (20:54 +0000)] 
Specify enough buffer for id[] (20 chars are not enough).

19 years agoUse HANDLE instead of HKEY in the NT API.
Mike McCormack [Fri, 17 Jun 2005 13:58:33 +0000 (13:58 +0000)] 
Use HANDLE instead of HKEY in the NT API.

19 years agoInitialize more structure members, including biSizeImage if bits ==
Michael Kaufmann [Fri, 17 Jun 2005 13:56:25 +0000 (13:56 +0000)] 
Initialize more structure members, including biSizeImage if bits ==
NULL and biBitCount != 0.

19 years agoThe TEB doesn't need execute permissions.
Alexandre Julliard [Fri, 17 Jun 2005 12:15:44 +0000 (12:15 +0000)] 
The TEB doesn't need execute permissions.

19 years agoDdeCreateStringHandleA/W takes a pointer to a const string,
Dmitry Timoshkov [Fri, 17 Jun 2005 12:12:49 +0000 (12:12 +0000)] 
DdeCreateStringHandleA/W takes a pointer to a const string,
accordingly fix the spec entries.

19 years agoRemove trailing backslash from DOS paths in GetDisplayNameOf.
Michael Jung [Fri, 17 Jun 2005 12:12:35 +0000 (12:12 +0000)] 
Remove trailing backslash from DOS paths in GetDisplayNameOf.

19 years agoCorrections of Czech translation by Denzil.
Martin Fuchs [Fri, 17 Jun 2005 12:12:13 +0000 (12:12 +0000)] 
Corrections of Czech translation by Denzil.

19 years agoDeclare Nt directory functions.
Mike McCormack [Fri, 17 Jun 2005 12:11:58 +0000 (12:11 +0000)] 
Declare Nt directory functions.

19 years agoMove the loader a bit higher in memory to leave more space for ntdll
Alexandre Julliard [Fri, 17 Jun 2005 10:22:46 +0000 (10:22 +0000)] 
Move the loader a bit higher in memory to leave more space for ntdll
and kernel32.

19 years agoRemove some -Wstrict-prototypes warnings.
Stefan Huehner [Fri, 17 Jun 2005 10:11:37 +0000 (10:11 +0000)] 
Remove some -Wstrict-prototypes warnings.

19 years agoChange the way caps are sent between d3d9/d3d8 and wined3d to make it
Oliver Stieber [Fri, 17 Jun 2005 09:59:03 +0000 (09:59 +0000)] 
Change the way caps are sent between d3d9/d3d8 and wined3d to make it
easier for wined3d to support additional versions of Direct3D.

19 years agoExtractAssociatedIconA needs to allocate enough space to have EAIW
Marcus Meissner [Fri, 17 Jun 2005 09:52:33 +0000 (09:52 +0000)] 
ExtractAssociatedIconA needs to allocate enough space to have EAIW
fill in lpIconPathW.

19 years agoRemove cszbs from msi/action.h.
Marcus Meissner [Fri, 17 Jun 2005 09:52:13 +0000 (09:52 +0000)] 
Remove cszbs from msi/action.h.

19 years agoForward GetPrivate/KernelObjectSecurity to NtQuerySecurityObject.
James Hawkins [Fri, 17 Jun 2005 09:52:06 +0000 (09:52 +0000)] 
Forward GetPrivate/KernelObjectSecurity to NtQuerySecurityObject.

19 years agoFixed POINTS definition for WORDS_BIGENDIAN case.
Dmitry Timoshkov [Fri, 17 Jun 2005 09:50:48 +0000 (09:50 +0000)] 
Fixed POINTS definition for WORDS_BIGENDIAN case.

19 years agoAdd a few traces and comments.
Juan Lang [Fri, 17 Jun 2005 09:50:37 +0000 (09:50 +0000)] 
Add a few traces and comments.

19 years agoAdd more missing defs.
Juan Lang [Fri, 17 Jun 2005 09:50:17 +0000 (09:50 +0000)] 
Add more missing defs.

19 years agoMake import thunks position-independent to avoid text relocations.
Alexandre Julliard [Thu, 16 Jun 2005 20:51:50 +0000 (20:51 +0000)] 
Make import thunks position-independent to avoid text relocations.

19 years agoUse the standard font path to look for TrueType fonts.
Alexandre Julliard [Thu, 16 Jun 2005 20:48:28 +0000 (20:48 +0000)] 
Use the standard font path to look for TrueType fonts.

19 years agoRename _D3DCAPS9.MaxPixelShaderValue to the correct
Oliver Stieber [Thu, 16 Jun 2005 20:42:55 +0000 (20:42 +0000)] 
Rename _D3DCAPS9.MaxPixelShaderValue to the correct
_D3DCAPS9.PixelShader1xMaxValue.

19 years agoBreak out all the top level apis into install.c.
Aric Stewart [Thu, 16 Jun 2005 20:40:34 +0000 (20:40 +0000)] 
Break out all the top level apis into install.c.