Commit Graph

12215 Commits

Author SHA1 Message Date
Jacek Caban 51bb3f6079 Added tests. 2005-06-27 11:19:49 +00:00
Eric Pouech 6d68a03d4f Implemented OpenProcess on top of NtOpenProcess. 2005-06-27 11:12:11 +00:00
Vitaly Lipatov 06ce892008 Changes stub to FIXME for GetGlobalFontLinkObject. 2005-06-27 11:10:16 +00:00
Felix Nawothnig 85e942f951 Report a todo and skip DIB tests when they fail at a non-truecolor
screen depth.
2005-06-27 11:09:52 +00:00
Stefan Huehner ffe53258aa Fix some -Wstrict-prototypes warnings. 2005-06-27 09:57:28 +00:00
Eric Pouech a1deba5ab4 - OpenConsole: try to open the Unix console if we fail with wineserver
- kernel32: simplifying code for opening a console handle
- msvcrt: now correctly initializing the handles to the Windows
  console
2005-06-27 09:54:09 +00:00
Eric Pouech 809edabfbe Const correctness fixes. 2005-06-27 09:53:46 +00:00
Jacek Caban 945671c6db Added stub implementation of about and res protocols. 2005-06-27 09:50:56 +00:00
Mike McCormack 9484e56b35 Declare and fix function prototypes. 2005-06-27 09:49:48 +00:00
Jacek Caban 6cb97534dc Fix test on NT 4. 2005-06-27 09:49:26 +00:00
Eric Pouech 2510658d8b Now generating argument-less functions as (void) instead of (). 2005-06-27 09:46:35 +00:00
Eric Pouech 1f7a8d6a5e Fixed window size computation for non child windows. 2005-06-27 09:45:26 +00:00
Jacek Caban a352cc8a6b Fix typo in comment about Wine registry key. 2005-06-27 09:43:12 +00:00
Jacek Caban 7371c3c5ea Better notify macro 2005-06-27 09:42:40 +00:00
Juan Lang 94bd145865 - implement encode and decode of BasicConstraints2, sequence of any
- fix encoding of integer value 0
- more tests
2005-06-27 09:42:15 +00:00
Saulius Krasuckas c48c3abd92 Additional test cases for IShellFolder_BindToObject. 2005-06-27 09:41:48 +00:00
Hans Leidekker 26138619b3 Fix some -Wmissing-declarations warnings.
"errno" is not a good choice for a parameter name.
2005-06-25 18:34:32 +00:00
Alexandre Julliard f51496a232 Remove some i386 ifdefs for 16-bit entry points since they are no
longer used by default on other platforms anyway.
2005-06-25 18:34:00 +00:00
Andreas Mohr 0aa05e2ca0 Fix some 16-bit return values. 2005-06-25 18:32:36 +00:00
Michael Jung 114975d937 Fix a lurking infinite loop in SHGetPathFromIDList. 2005-06-25 18:32:17 +00:00
Michael Kaufmann 41a9757654 - Remove the old margins from the format rectangle before adding the
new margins.
- Adjust the format rectangle and repaint the control after the
  margins have been set.
- New tests.
2005-06-25 18:32:07 +00:00
Mike McCormack 91b398c3aa - use STATUS_TIMEOUT instead of WAIT_TIMEOUT
- add RTL_ to one more CRITICAL_SECTION_DEBUG
2005-06-25 18:31:29 +00:00
Mike McCormack 6c45b62679 - NtWaitForSingleObject doesn't return WAIT_FAILED.
- Use STATUS_WAIT_0 not WAIT_OBJECT_0.
2005-06-25 18:31:19 +00:00
Mike McCormack 51c583f9a9 Use NT status codes for exceptions. 2005-06-25 18:31:00 +00:00
Jacek Caban 74a1d3d02e Changed message about Mozilla ActiveX Control. 2005-06-25 18:30:49 +00:00
Mike McCormack 6b636e3e7b Use RTL_CRITICAL_SECTION instead of CRITICAL_SECTION. 2005-06-25 18:00:57 +00:00
Jacek Caban a13064019a Implemented Dll[Un]RegisterServer. 2005-06-25 17:58:35 +00:00
Paul Rupe 45f1b06b94 Make ungetc(EOF) a no-op. 2005-06-25 17:58:19 +00:00
Felix Nawothnig b5aa931fb9 Don't dump content of output buffers. 2005-06-25 17:56:56 +00:00
Michael Jung 526377c511 Use the CallForAttributes registry value, instead of promoting the
root folder's SFGAO_FILESYSTEM flag to the registry.
2005-06-25 17:56:13 +00:00
Michael Jung 11cadc368a Support for shellfolder's CallForAttributes registry value. 2005-06-25 17:55:53 +00:00
Robert Shearman 389f9d55d9 - Document how the native lays out the internal components of
buttons.
- Fix control to follow these rules.
- Don't redraw disabled buttons.
- Padding is never less that GetSystemMetrics(SM_{CX,CY}EDGE).
- Change default iListGap value to 4 to match native.
2005-06-25 17:55:40 +00:00
Robert Shearman eb9960f15b Fix a regression in IE where the Favourites menu didn't appear
correctly because the height and width were swapped in the pager
control.
2005-06-25 17:55:15 +00:00
James Hawkins bf7596fd0c Implement RtlAddAuditAccessAce. 2005-06-24 12:20:15 +00:00
Gerold Jens Wucherpfennig 4e1ec201ef Some FCI work. 2005-06-24 12:16:37 +00:00
Aric Stewart 25f1e75d43 Perform ExecuteAction at UILevel 2. 2005-06-24 12:14:52 +00:00
Aric Stewart b9c6b85779 Redo how we extract files from a cabinet in order to dramatically
improve performance, especially if picking and choosing files out of
the cabinet.
2005-06-24 12:14:35 +00:00
Aric Stewart 9adacf6a72 Rework CreateShortcuts to use MSI_IterateRecords. 2005-06-24 11:58:21 +00:00
Alexandre Julliard b9a3f8fabf RtlGetFullPathName_U should remove the trailing dot on directory
names.
2005-06-24 11:55:28 +00:00
James Hawkins 0ea0f5fffd - Define FSCTL_PIPE_IMPERSONATE.
- Implement ImpersonateNamedPipeClient.
2005-06-24 11:54:15 +00:00
Oliver Stieber 18857f1170 Add support for samplers.
Switch from using d3d9 constants to wined3d constants so that there's
no recursive dependencies.
2005-06-24 11:53:07 +00:00
Aric Stewart 0713f098ec Properly handle -1 as a registry key root. 2005-06-24 11:51:29 +00:00
Paul Vriens 9a9f4cdab5 Correct the entries for [Nt|Zw]OpenSymbolicLinkObject. 2005-06-24 11:38:41 +00:00
Mike McCormack 2250fce60f Implement transparency in the text control. 2005-06-24 11:34:43 +00:00
Mike McCormack 261a8b5e9a Add prototype and fix RtlpNtCreateKey. 2005-06-24 11:34:31 +00:00
Michael Jung bb562118c0 Added tests for ShellFolder's CallForAttributes value. 2005-06-24 11:33:35 +00:00
Michael Kaufmann 07763aade5 Paint the background with the correct color if WS_BORDER. 2005-06-24 11:33:23 +00:00
Aric Stewart 854bfc4b0f Rework SelfRegModules to use MSI_IterateRecords. 2005-06-24 11:33:02 +00:00
Vitaly Lipatov 815dea38ab - Add some descriptions for PageSetupDlg functions.
- Implement user paint hook support and PSD_ENABLEPAGEPAINTHOOK
  checking.
2005-06-23 16:45:39 +00:00
Jacek Caban 34d71249c5 Added stub implementation of IViewObject[2] interface. 2005-06-23 16:44:43 +00:00
Jacek Caban fd2b4986a8 Use GUIDs from itss.idl. 2005-06-23 16:44:28 +00:00
Oliver Stieber e8855c48d8 Make all newly created surfces dirty, so that they are loaded properly
the first time around.
Replace some calls to cubetexture in basetexture to calls to
basetexture.
Check that the level isn't out of bounds in calls to texture.
2005-06-23 16:44:19 +00:00
Mike McCormack 7e3918d53e Make the MSI icon control work. 2005-06-23 16:43:38 +00:00
Aric Stewart 04598248af Rework component, feature and file loading to use MSI_IterateRecords. 2005-06-23 16:43:24 +00:00
Felix Nawothnig f192bb60f8 - Replaced server requests by native APIs in EnumProcessModules,
GetModuleBaseNameW, GetModuleFileNameExW and GetModuleInformation.
- Make EnumProcessModules return modules in load order
- Set ERROR_INSUFFICIENT_BUFFER in GetModuleInformation when failing
  due to (cb < sizeof(MODULEINFO)).
2005-06-23 11:41:05 +00:00
James Hawkins fc6b6f4848 Add stub implementations for BuildSecurityDescriptorA/W. 2005-06-23 11:40:57 +00:00
Oliver Stieber 46e7c30a71 Implement swapchains. 2005-06-23 11:05:24 +00:00
Aric Stewart a9b5052ff9 Rework RegisterFonts to use MSI_IterateRecords. 2005-06-23 11:04:09 +00:00
James Hawkins dd3fd54a65 Forward AddAuditAccessAce to its Rtl counterpart. 2005-06-23 11:03:52 +00:00
James Hawkins a0bfbb9801 Add stub implementation of RtlAddAuditAccessAce. 2005-06-23 11:03:30 +00:00
Alexandre Julliard f84401aa17 Sort entry points in the same order as Windows. 2005-06-23 09:57:11 +00:00
Michael Stefaniuc 0b1f8cdf4d - more VarFormat fixes for number formats (exponent, mixed '#' and '0'
in formats, rounding, etc). Simplify the code.
- previous VarFormat todo_wine tests pass now + add more tests
2005-06-23 09:48:07 +00:00
Paul Vriens 138934129c NT4 doesn't support ProcessIoCounters. 2005-06-23 09:47:31 +00:00
Paul Vriens 51d04fa9ef Return STATUS_OBJECT_NAME_NOT_FOUND in NtOpenSymbolicLinkObject (until
implemented).
2005-06-23 09:47:05 +00:00
Aric Stewart aded32f37b Rework WriteIniValues to use MSI_IterateRecords. 2005-06-23 09:46:31 +00:00
Aric Stewart 916ef94945 Rework PublishProduct to use MSI_IterateRecords. 2005-06-22 18:42:19 +00:00
Alexandre Julliard aa0b9aac0d Sort entry points alphabetically. 2005-06-22 18:38:23 +00:00
Oliver Stieber 784518d772 Correct GetDeviceCaps so that it uses wined3dcaps as required by the
earlier device caps patch.
2005-06-22 18:30:29 +00:00
Aric Stewart 234dc4b2d2 Rework RegisterTypeLibraries to use MSI_IterateRecords. 2005-06-22 18:27:34 +00:00
Alexandre Julliard dcad0864bb Fix duplication of _Getnames and _Gettnames, only the latter actually
exists.
2005-06-22 18:07:31 +00:00
Mike McCormack 5c1ffddb88 Fix declarations, remove unused code. 2005-06-22 18:05:02 +00:00
Saulius Krasuckas 77577822e3 - Move test init code back to START_TEST(shlfolder).
- Move creation and cleanup of a test-folders nearer to
  test_EnumObjects.
2005-06-22 18:04:04 +00:00
Felix Nawothnig 8af1ce0ba1 - Use smaller numbers as coordinates for mapping tests to avoid
rounding-errors.
- Simplify calculation of mapped coordinates for MM_TEXT.
2005-06-22 18:03:19 +00:00
Aric Stewart c79f4e2111 Rework LaunchConditions to use MSI_IterateRecords. 2005-06-22 18:03:08 +00:00
Alexandre Julliard 35ba3e2752 Moved font settings to HKCU\Software\Wine\X11 Driver\Fonts. 2005-06-22 12:02:47 +00:00
Mike McCormack 3a9f2262b1 Fix up declarations. 2005-06-22 12:01:39 +00:00
Mike McCormack 05f53afd5a Declare RtlGUIDFromString and RtlStringFromGUID. 2005-06-22 12:00:57 +00:00
Mike McCormack 46cd043226 Add some missing declarations. 2005-06-22 12:00:12 +00:00
Felix Nawothnig 68ee20e36d Skip ACL tests on Win9x. 2005-06-22 12:00:01 +00:00
Mike McCormack 9e5b4d4019 Make a function static. 2005-06-22 11:59:43 +00:00
Alexandre Julliard ddb002437b Don't require execute permission on the process heap. 2005-06-21 20:54:31 +00:00
Stefan Huehner 863a4b1488 Fix some more -Wstrict-prototypes warnings. 2005-06-21 20:53:13 +00:00
Aric Stewart 443ad4d328 Rework CostFinalize to use MSI_IterateRecords. 2005-06-21 20:50:12 +00:00
James Hawkins bfaac2776a Implement IsTokenRestricted. 2005-06-21 20:49:54 +00:00
Alexandre Julliard f724399f60 Add PAGE_GUARD flag to the returned protection of guard pages. 2005-06-21 20:23:02 +00:00
Paul Vriens fbf0aeaa43 Change ProcessBasicInformation to the same behavior as the rest.
Use KERNEL_USER_TIMES for ProcessTimes.
Add tests for vm, io, times and handlecount info classes.
Fixes for -Wstrict-prototypes warnings.
2005-06-21 20:22:01 +00:00
Felix Nawothnig 12168fe749 Accept DSERR_NODRIVER from IDirectSoundCapture_CreateCaptureBuffer. 2005-06-21 20:21:39 +00:00
Aric Stewart e89f849612 Fix situations where TARGETDIR is set to a non \ terminated
path. Fixes a few installers.
2005-06-21 20:21:30 +00:00
Aric Stewart 92ef78ee04 Rework WriteRegistryValues to use MSI_IterateRecords. 2005-06-21 20:21:18 +00:00
James Hawkins bafa13c6a6 Implement GetTrustee* functions. 2005-06-21 20:20:47 +00:00
Saulius Krasuckas b98a26853c Cleanup the shlfolder test a bit more. 2005-06-21 20:04:17 +00:00
Oliver Stieber 0ce74f54fe Call wined3d for GetDirect3D instead of using the ->direct3D instance,
which is no longer valid.
2005-06-21 20:04:07 +00:00
Aric Stewart 2274ff1937 Rework CreateFolders to use MSI_IterateRecords. 2005-06-21 20:03:46 +00:00
Aric Stewart 1e6c09a3f3 Duplicate files should not fail if unable to get Destination
Directory.
2005-06-21 20:03:30 +00:00
Vitaly Lipatov be2092266e Initialize extensions after correct context is created. 2005-06-21 20:03:18 +00:00
Rein Klazes 9048257dd9 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.
2005-06-21 20:02:54 +00:00
Maarten Lankhorst e325f7ed82 Changed setting default port number from HTTP_Connect to
HttpOpenRequestW.
2005-06-21 20:02:34 +00:00
Maarten Lankhorst 6d6ca1e7c5 - Added new INTERNET_OPTION* defines.
- Fixed InternetSetOptionW unknown option handling, and added
  INTERNET_OPTION_DISABLE_PASSPORT_AUTH.
2005-06-21 20:02:21 +00:00
Alexandre Julliard 60b3d30f9b Don't require execute permission for thread stacks. 2005-06-21 09:57:53 +00:00
Mike McCormack 04f9f1b066 Don't include winbase.h or winerror.h when not necessary. 2005-06-21 09:52:40 +00:00
Maarten Lankhorst da38b66ace Improved ObtainUserAgentString stub. 2005-06-21 09:44:47 +00:00
Mike McCormack 06e23dad02 - use interfaces rather than internal functions
- remove declaration of AddRef and QueryInterface functions from
  headers
2005-06-21 09:44:28 +00:00
Robert Reif 0043504155 Fix a typo. 2005-06-21 09:43:29 +00:00
Michael Jung 8765e4a522 Propagate the root folder's attributes to the registry. 2005-06-21 09:42:38 +00:00
Mike McCormack e8c1bf3283 Make functions static, fix declarations. 2005-06-20 18:39:40 +00:00
Mike McCormack 78911f34d9 - avoid winternl.h depending on winbase.h
- define RTL versions of TIME_ZONE_INFORMATION and SYSTEMTIME
2005-06-20 18:37:17 +00:00
Alexandre Julliard 1cfdb0fd9d Moved the audio driver configuration to HKCU\Software\Wine\Drivers and
changed it a bit to follow the model of the graphics driver.
2005-06-20 18:35:57 +00:00
Alexandre Julliard ab88743c25 Moved a few registry keys from HKLM\Software\Wine to
HKCU\Software\Wine for consistency.
2005-06-20 16:04:32 +00:00
Alexandre Julliard 0ddb8d11be Moved configuration data to HKCU\Software\Wine\Alsa Driver. 2005-06-20 16:03:21 +00:00
Mike McCormack ff536fbe42 Make functions static. 2005-06-20 16:01:04 +00:00
Vitaly Lipatov 0624e17e7e Fix returned value for SPI_SETMOUSEBUTTONSWAP. 2005-06-20 15:36:17 +00:00
Stefan Huehner 9213d56ae0 Make some function static. 2005-06-20 15:35:54 +00:00
Jeremy White ddf70d7ecb Revamp the initialization for Alsa. 2005-06-20 15:34:59 +00:00
Vitaly Lipatov b39c3981c2 - Realize DoEnvironmentSubstA via ExpandEnvironmentStringsA.
- Fix types and return values.
- Add prototype into shellapi.h.
2005-06-20 15:33:48 +00:00
Aric Stewart 09b7503f0b Use MSI_IterateRecords for DuplicateFiles. 2005-06-20 15:33:22 +00:00
Aric Stewart 2703d717c6 Use MSI_IterateRecords for processing actions.
Some whitespace cleanup and replace a comment block I did not want to
remove.
2005-06-20 15:33:10 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Rein Klazes 75d88907ff 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.
2005-06-20 14:12:39 +00:00
Robert Reif e5208ca7a3 Fix roundoff error to prevent negative length. 2005-06-20 14:12:03 +00:00
Mike McCormack 9251b2c6b5 Make tabs work in msi dialogs. 2005-06-20 14:11:43 +00:00
Robert Shearman 4bba21643c Add support for impersonating a token. 2005-06-20 13:18:38 +00:00
Robert Shearman 0a645e8cb9 Convert some registry helper functions to use unicode versions of
CLSID & registry functions (untested).
2005-06-20 13:14:22 +00:00
Lauri Tulmin 33a82558ea - add some tests for {Get|Set}Pixel
- skip tests that fail in win9x
2005-06-20 13:13:53 +00:00
Hans Leidekker 4f27582cc8 Stub implementation for GetMenuBarInfo. 2005-06-20 11:45:21 +00:00
Robert Shearman 9cb94b276f Implement RtlImpersonateSelf, RevertToSelf and MapGenericMask. 2005-06-20 11:44:45 +00:00
Rein Klazes 433f72f8b2 In MCI_(Un)MapMsg16To32W with wMsg == MCI_OPEN(_DRIVER) only do
strdupAtoW on those parameters that are flagged to be a string.
2005-06-20 11:44:17 +00:00
Vitaly Lipatov 86f575cdc1 Allow null pointers for EM_GETSEL message (as MSDN says). 2005-06-20 11:42:38 +00:00
Michael Jung 74afc7f12e Use stat's dev/inode to compare paths instead of comparing the
strings. Defer building a folder's children SHITEMIDS until explicitly
asked for.
2005-06-20 11:42:23 +00:00
Paul Vriens db9396f68b Stub implementations for ProcessVmCounters, ProcessTimes and
ProcessHandleCount.
Changed ProcessIoCounters to match windows behavior.
2005-06-20 11:42:02 +00:00
Mike McCormack 405ac7a80c - don't include winreg.h
- include kernel_private.h to get declaration for convert_old_config()
2005-06-20 10:40:37 +00:00
James Hawkins e485f984bd Implement RtlCopySecurityDescriptor. 2005-06-20 10:34:30 +00:00
Robert Shearman 5807cb79f0 Change the RPC code to use the unicode versions of the CLSID &
registry functions.
2005-06-20 10:33:28 +00:00
Robert Shearman f419880d64 - 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.
2005-06-20 10:33:17 +00:00
Rein Klazes 843cd506c5 In SCROLL_DrawScrollbar allocate the internal info if needed. 2005-06-20 10:32:44 +00:00
Krzysztof Foltman cb836344cd - 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.
2005-06-20 10:31:38 +00:00
Stefan Leichter fcd6764928 Make shell32 tests loadable on NT4. 2005-06-20 10:31:14 +00:00
Pierre d'Herbemont cca2b04ab7 Move the (Mac OS X) IOKit headers to the top of the file to prevent a
compilation failure.
2005-06-20 10:31:04 +00:00
Troy Rollo 698a0cb44b Change WS_bind to accept an sa_family of 0 as "don't care". 2005-06-20 10:30:50 +00:00
Mike McCormack 383302c11e Make functions static. 2005-06-20 10:30:15 +00:00
Aric Stewart 71a55e04a3 Allow control events to return codes to halt the processing of event.
Needed for the SetTargetPath Event.
2005-06-17 21:31:06 +00:00
Francois Gouget a1f4fac03c Fix the CryptEncodeObjectEx() prototype.
Fixes winapi_check warnings.
2005-06-17 21:26:53 +00:00
Francois Gouget fd73829593 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.
2005-06-17 21:26:31 +00:00
Aric Stewart 3257bcd48c A long overdue fix to MSI_SetTargetPath. This should fix an error with
some installers that where unable to change the target path.
2005-06-17 21:25:51 +00:00
Aric Stewart e9db87b956 Flesh out the remaining keys in RegisterProduct. 2005-06-17 21:25:41 +00:00
Alexandre Julliard 6e764fceda Moved directory options to HKCU\Software\Wine. 2005-06-17 21:07:44 +00:00
Alexandre Julliard 7e39d1d13d Moved version key to HKCU\Software\Wine. 2005-06-17 21:06:14 +00:00
Vitaliy Margolen fb99124f94 Deactivate active window in ShowWindow(,SW_HIDE). 2005-06-17 21:05:16 +00:00
Francois Gouget 6394a15314 Assorted spelling fixes. 2005-06-17 20:59:49 +00:00
Francois Gouget 9769816b6e Fix winapi_check documentation warnings. 2005-06-17 20:58:33 +00:00
Vitaliy Margolen f32bcd8fc1 ShowOwnedPopups and WM_SHOWWINDOW should handle non-WS_POPUP style
windows as well.
2005-06-17 20:57:26 +00:00