Commit Graph

12243 Commits (60f8543362fa5f3671b1e6513a16570f761eac3a)

Author SHA1 Message Date
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
Aric Stewart c668952023 Break out all the file related actions and helper functions into
files.c
2005-06-17 20:56:55 +00:00
Francois Gouget 483bce1dae Fix the FreeADsMem() prototype.
Add an activeds section to win32.api for winapi_check.
Fix a documentation warning.
2005-06-17 20:56:21 +00:00
Francois Gouget f9280a3a95 Protect the unistd.h and sys/stat.h includes.
Include config.h.
Fixes warnings reported by winapi_check.
2005-06-17 20:56:02 +00:00
Francois Gouget b80fbbb85d Remove an unneeded variable in test_query_timeofday().
Rename a variable to 'is_nt' to make its meaning clearer.
2005-06-17 20:55:40 +00:00
Francois Gouget 7706560dcd Remove unneeded NULL cast. 2005-06-17 20:55:27 +00:00
Marcus Meissner 7ac39aa44b Use a simpler expression for the "RichEdit20W" string to workaround
compiler bug.
2005-06-17 20:54:42 +00:00
Marcus Meissner 94bc167ae4 Specify enough buffer for id[] (20 chars are not enough). 2005-06-17 20:54:29 +00:00
Mike McCormack 5b2d5fd758 Use HANDLE instead of HKEY in the NT API. 2005-06-17 13:58:33 +00:00
Michael Kaufmann a5abe264c9 Initialize more structure members, including biSizeImage if bits ==
NULL and biBitCount != 0.
2005-06-17 13:56:25 +00:00
Alexandre Julliard 811e966083 The TEB doesn't need execute permissions. 2005-06-17 12:15:44 +00:00
Dmitry Timoshkov ae703ec937 DdeCreateStringHandleA/W takes a pointer to a const string,
accordingly fix the spec entries.
2005-06-17 12:12:49 +00:00
Michael Jung ff75b415d2 Remove trailing backslash from DOS paths in GetDisplayNameOf. 2005-06-17 12:12:35 +00:00
Mike McCormack 379946c9f8 Declare Nt directory functions. 2005-06-17 12:11:58 +00:00
Stefan Huehner 03cc8c4181 Remove some -Wstrict-prototypes warnings. 2005-06-17 10:11:37 +00:00
Oliver Stieber e70e3ba0ff Change the way caps are sent between d3d9/d3d8 and wined3d to make it
easier for wined3d to support additional versions of Direct3D.
2005-06-17 09:59:03 +00:00
Marcus Meissner 96ebd31066 ExtractAssociatedIconA needs to allocate enough space to have EAIW
fill in lpIconPathW.
2005-06-17 09:52:33 +00:00
Marcus Meissner 0d307eb040 Remove cszbs from msi/action.h. 2005-06-17 09:52:13 +00:00
James Hawkins 5909b0de35 Forward GetPrivate/KernelObjectSecurity to NtQuerySecurityObject. 2005-06-17 09:52:06 +00:00
Juan Lang 2aa7f3c276 Add a few traces and comments. 2005-06-17 09:50:37 +00:00
Alexandre Julliard 190f845cb1 Make import thunks position-independent to avoid text relocations. 2005-06-16 20:51:50 +00:00
Alexandre Julliard 6a04614be0 Use the standard font path to look for TrueType fonts. 2005-06-16 20:48:28 +00:00
Oliver Stieber 4dfabb0bd1 Rename _D3DCAPS9.MaxPixelShaderValue to the correct
_D3DCAPS9.PixelShader1xMaxValue.
2005-06-16 20:42:55 +00:00
Aric Stewart 4b600b8736 Break out all the top level apis into install.c. 2005-06-16 20:40:34 +00:00
Mike McCormack a677ac554f Added support for the MSI MaskEdit control. 2005-06-16 20:37:53 +00:00
Oliver Stieber 93fefdf452 Disable the creation of invalid vertex declarations in d3d9 preventing
some applications from crashing.
2005-06-16 20:37:22 +00:00
Oliver Stieber 2708871628 Added relay tracing to texture. 2005-06-16 20:36:12 +00:00
Robert Shearman 8cb3f92e53 - All versions of Windows ignore the access rights of the passed in
parent handle to RegCreateKey(Ex).
- Add a test that shows this.
2005-06-16 20:34:34 +00:00
Aric Stewart 816217e99e A simple cleanup to only track the temp file if we need to have it
laying around because the action is going on asynchronously. Otherwise
clean up the temp file as the action finishes.
2005-06-16 20:33:58 +00:00
Alexandre Julliard f0fcaed630 Moved configuration keys to HKCU\Software\Wine\X11 Driver. 2005-06-16 16:14:46 +00:00
Alexandre Julliard ffdc0332fa Moved configuration keys to HKCU\Software\Wine\DllOverrides. 2005-06-16 16:13:11 +00:00
Aric Stewart fd8c175a3c Add UI messages to FindRelatedProducts.
Reduce unneeded includes.
2005-06-16 16:08:58 +00:00
Juan Lang 7f811b71ee - implement encoding and decoding of enumerated types, unsigned
integers, octet strings, and bit strings
- correct length handling
- the usual tests
2005-06-16 16:08:50 +00:00
Alexandre Julliard ccb64b117f Store vtables in the data segment to avoid text relocations. 2005-06-16 15:53:29 +00:00
Stefan Huehner 712087700e Fix some -Wstrict-prototypes warnings. 2005-06-16 15:52:44 +00:00
Aric Stewart db982e2586 Break out all the class registration actions into classes.c. This
includes RegisterClassInfo, RegisterProgIds, RegisterExtensions and
RegisterMIMETypes.
2005-06-16 15:51:44 +00:00
Alexandre Julliard efcc2b83d8 Store a relative pointer for registry entry points to avoid some text
relocations.
2005-06-16 11:04:41 +00:00
Mike McCormack 7da043f869 Add/fix more NT native API declarations. 2005-06-16 10:46:11 +00:00
Mike McCormack 65ad7da1f7 Fix some declaration and write string warnings. 2005-06-16 10:45:25 +00:00
Mike McCormack 4d2d627c3f - forward AddRef, Release, QueryInterface and GetClassID to internal
implementations
- implement GetClassID properly
2005-06-16 10:43:50 +00:00
Alexandre Julliard 8d5b7908f2 Use the DEFINE_REGS_ENTRYPOINT macro to define register functions
instead of doing it by hand.
2005-06-16 09:59:12 +00:00
Alexandre Julliard 91c86bb546 Removed the DOS version option, specifying the Windows version should
be enough to achieve the same results.
2005-06-16 09:47:17 +00:00
Mike McCormack 64a3b82831 SHCreateStreamOnFileW is implemented in shlwapi, so we don't need
another implementation in shell32.
2005-06-16 09:46:17 +00:00
Mike McCormack 0a44661d6f Switch IShellLink to use shlwapi.SHCreateStreamOnFileW. 2005-06-16 09:46:05 +00:00
Michael Jung e5ef9dd8dc Test GetAttributesOf on the MyComputer shellfolder. 2005-06-16 09:44:50 +00:00
Paul Vriens e77306365b ProcessName should be without the path. 2005-06-16 09:44:39 +00:00
Paul Vriens 62441145b6 W2K3 returns STATUS_INVALID_HANDLE instead of STATUS_ACCESS_VIOLATION. 2005-06-16 09:43:59 +00:00
Maarten Lankhorst 35da52d9ca - Implemented ICSeqCompressFrame{Start,,End}
- Modified ICCompressorFree to properly free the initialized variables
  from ICSeqCompressFrameStart.
2005-06-16 09:43:48 +00:00
Huw Davies 2e301ceb1c For modal propsheets we should run our own message loop rather than
use a modal dialogbox just like Windows does.  This helps apps that
subclass the propsheet's wndproc.
2005-06-15 19:12:57 +00:00
Aric Stewart 118ea90888 Break out all the helper functions into helpers.c. 2005-06-15 19:12:42 +00:00
Michael Jung e2dbc8044a Added tests for SHGetPathFromIDList. 2005-06-15 18:07:55 +00:00
Huw Davies 47db6bc567 Unquote the icon file path if it's quoted. 2005-06-15 18:07:43 +00:00
Dmitry Timoshkov f85535c6f4 Add a test case for WM_[L|R|M|X]BUTTONDBLCLK generation behaviour. 2005-06-15 18:07:33 +00:00
Felix Nawothnig d418460ff4 - Replaced server requests in EnumProcesses by native APIs
- Fixed third parameter (should return the amount of used and not
  needed memory).
2005-06-15 18:07:11 +00:00
Robert Shearman 57b5615fc2 Implement GetComboBoxInfo and CB_GETCOMBOBOXINFO. 2005-06-15 10:23:54 +00:00
Mike McCormack c62940a1ac Remove some uses of wine/unicode.h functions. 2005-06-15 10:21:46 +00:00
Juan Lang 12a9ec138d Add encode/decode support for multi-byte integers. 2005-06-15 10:21:32 +00:00
Mike McCormack f674f1f71b Fix declarations. 2005-06-15 10:20:53 +00:00
Mike McCormack 0220d7ac89 Fix declarations in the tests. 2005-06-15 10:20:30 +00:00
Robert Shearman 9495180325 MSDN states that DuplicateToken should create a new token with the
TOKEN_QUERY | TOKEN_IMPERSONATE rights, not 0.
2005-06-15 10:20:17 +00:00
Michael Jung ebb1aaee86 Implement SHGetPathFromIDList based on GetDisplayNameOf. 2005-06-15 10:20:00 +00:00
Paul Vriens 7691aca10c Only exact buffer size gives STATUS_SUCCESS. 2005-06-15 10:19:34 +00:00
Alexandre Julliard 302cd456c3 Moved debugging config options to HKCU\Software\Wine\Debug. 2005-06-14 19:23:00 +00:00
Michael Jung 8b4b4b3af2 Replace magic error constant. 2005-06-14 19:18:26 +00:00
Saulius Krasuckas d002f5ce22 Avoid accessing uninitialized data on WinME (based on an old patch by
Ferenc Wagner).
2005-06-14 19:18:18 +00:00
Stefan Huehner ed12859a4a Remove include "cursoricon.h" from nonclient.c and win.c. 2005-06-14 19:18:08 +00:00
Michael Jung 81b7509f3b Use SHGetPathFromIDList instead of SHELL32_GetPathFromIDList. 2005-06-14 19:17:41 +00:00
Alexandre Julliard acaa5c5eff Removed the check for the old Resolution option. 2005-06-14 18:13:09 +00:00
Alexandre Julliard cb538c0533 Merged palette option processing into the main configuration code. 2005-06-14 18:12:15 +00:00
Michael Jung bb19a58a93 Return the correct attributes for the desktop folder.
Corresponding tests.
2005-06-14 18:10:24 +00:00
Alexandre Julliard d4156b5657 Use a better location than HKCU\Wine for saving the temporary
parameters.
2005-06-14 17:26:52 +00:00
Alexandre Julliard 1ba6e1cb16 Avoid repeatedly opening the configuration registry key. 2005-06-14 17:24:28 +00:00
Alexandre Julliard 629352bdc4 Moved network configuration parameters to HKCU\Software\Wine\Network. 2005-06-14 17:22:41 +00:00
Michael Jung 5664a68033 Added tests to compare SHGetPathFromIDList and GetDisplayNameOf. 2005-06-14 17:21:25 +00:00
Mike McCormack 9f92ead47f Fixes for -Wmissing-declaration and -Wwrite-string warnings. 2005-06-14 17:21:18 +00:00
Alexandre Julliard 7e44db5c41 Moved config parameters to HKCU\Software\Wine\DirectInput. 2005-06-14 12:34:33 +00:00
Alexandre Julliard 2e5cc85dcf Moved config parameters to HKCU\Software\Wine\DirectSound. 2005-06-14 12:34:00 +00:00
Alexandre Julliard 9ad3a97acb Moved all font config parameters to HKCU\Software\Wine\Fonts.
Replaced the FontDirs key enumeration by a simple Path value.
2005-06-14 12:33:19 +00:00
Ivan Leo Puoti eacd06264e Reimplement IOCTL_SCSI_PASS_THROUGH_DIRECT and
IOCTL_SCSI_PASS_THROUGH on top of the linux scsi driver.
2005-06-14 12:25:41 +00:00
Saulius Krasuckas 8272074b85 Change (long long) to (LONGLONG) to compile with MSVC. 2005-06-14 12:25:29 +00:00
Paul Vriens 93f887250a Return STATUS_INVALID_INFO_CLASS for non-implemented classes.
Return STATUS_ACCESS_VIOLATION if no buffer given.
Added tests for ProcessBasicInformation.
2005-06-14 12:25:02 +00:00
Lauri Tulmin f124878918 - EM_CHARFROMPOS should return the closest char (clicking on the first
half of a character should return current char and clicking on the
  second half should return next char)
- EM_POSFROMCHAR should return -1 if character index is greater or
  equal to text length
2005-06-14 12:24:48 +00:00
Alexandre Julliard 8a985c59da Removed the Tweak.Fonts configuration hack. 2005-06-14 11:53:39 +00:00
Alexandre Julliard bb1dbb5ac9 Get rid of the PerfectGraphics option, that's not really useful. 2005-06-14 11:52:48 +00:00
Alexandre Julliard c913efa244 Hardcode the location of config.sys, no need for a config parameter
for that.
2005-06-14 11:48:57 +00:00
Mike McCormack 0c9cb1dcee Declare port functions and fix prototypes. 2005-06-14 11:43:20 +00:00
Mike McCormack 0f36d124a2 Fix warnings from -Wmissing-declarations. 2005-06-14 11:42:34 +00:00
Mike McCormack fc51a2680a Fix declaration warnings in the test cases. 2005-06-14 11:40:04 +00:00
Michael Stefaniuc b9208137c1 - Fix VarFormat for formats that mix '0' and '#' in the whole number
part.
- Fix VarFormat for negative exponent formats.
- Add tests for the above + a couple of "todo_wine"'s.
2005-06-14 11:39:32 +00:00
Mike McCormack 215bd9a70b Add the IContextMenu interface to the ShellLink object. 2005-06-14 11:38:55 +00:00
Juan Lang 4b10986670 Add CertAlgIdToOID and CertOIDToAlgId, with tests. 2005-06-14 11:38:36 +00:00
Alex Villacís Lasso a63de8d249 Avoid one more access to pcbRead. 2005-06-14 11:38:09 +00:00
Mike McCormack 9b95bb526d Fix some warnings. 2005-06-13 19:05:42 +00:00
Alex Villacís Lasso 4a109c7818 Prevent crash on IDirectMusicLoaderResourceStream_IStream_Read. 2005-06-13 19:05:01 +00:00
Aric Stewart 31695b54c9 A "1" is returned not a 1 for AssignmentType. Also as a bit more to
the FIXME message.
2005-06-13 19:04:39 +00:00
Mike McCormack 0569609e3d Implement ShellLink's IShellExtInit::Initialize() method. 2005-06-13 19:04:17 +00:00
Alexandre Julliard 2e4bca9db5 Added magic comments to all Wine-specific registry accesses to make
them easier to grep.
2005-06-13 18:56:00 +00:00
Alexandre Julliard f231ef560e Removed references to obsolete configuration entries. 2005-06-13 18:48:09 +00:00
Huw Davies d5fce697f7 When loading a bitmap we should stretch the image to the requested
size.
2005-06-13 18:47:21 +00:00
Krzysztof Foltman 6b1e80cb2c Test when TVN_SELCHANGING and TVN_SELCHANGED are really sent. 2005-06-13 12:23:01 +00:00
Alexandre Julliard c2d5b444b3 Moved the NONAMELESSUNION/STRUCT macros to wine/test.h so that they
can be used in all the test.
2005-06-13 12:10:54 +00:00
Mike McCormack d4eb4f54ed - add the IShellExtInit interface to the ShellLink object
- use inline functions rather than macros to resolve the
  implementation pointer from an interface pointer
2005-06-13 11:50:09 +00:00
Detlef Riekenberg 29056637a5 Added activeds.dll with some stubs to get the native printui.dll to
load.
2005-06-13 11:47:46 +00:00
Juan Lang 4d7e1e4baa - encode/decode X509_NAMEs for simple string encodings, with tests
- more tests and some fixes to other types
2005-06-13 11:39:35 +00:00
Krzysztof Foltman 112df73530 Don't send TVN_SELCHANGING nor TVN_SELCHANGED if the same item is
selected again.
2005-06-13 11:38:55 +00:00
Christian Costa acb2ff2da5 Added window support to the video renderer:
- replaced ddraw code by window code.
- implemented IBasicVideo and IVideoWindow interfaces.
2005-06-13 11:37:55 +00:00
Paul Vriens 5e5008502e Fixed size of our SYSTEM_TIMEOFDAY_INFORMATION struct.
Fixed return codes and ReturnLength/buffer for
SystemTimeOfDayInformation.
Added tests for SystemTimeOfDayInformation.
2005-06-13 11:34:56 +00:00
James Hawkins d27d5b0a26 Implement RtlAbsoluteToSelfRelativeSD. 2005-06-13 11:34:02 +00:00
Mike McCormack c8091b3761 Fix warnings in tests, remove pointless comments. 2005-06-13 10:03:33 +00:00
Mike McCormack d838385b38 Add and fix function prototypes. 2005-06-13 10:03:18 +00:00
Robert Shearman fd5f7729cb Fix PropVariant tests on Windows 2000 and above. 2005-06-13 10:02:10 +00:00
Robert Shearman f49339ace3 Remove needless call to Sleep. 2005-06-13 10:02:02 +00:00
Robert Shearman a1e466ae77 - Add registry entries for local-only OLE interfaces.
- Change IUnknown to local interface.
2005-06-13 10:01:43 +00:00
Robert Shearman 65284aab20 Richedit classes should be global. 2005-06-13 10:01:32 +00:00
Robert Shearman 4fee52683b Fix size passed to lstrcpynA function - sizeof(string) == 4 not 16 as
needed.
2005-06-13 10:01:20 +00:00
Mike McCormack 74b37280b3 Silence some -Wmissing-declarations warnings. 2005-06-13 10:00:37 +00:00
Marcus Meissner 970ae8d0ba Corrected string length method in ITypeLib::IsName() and FindName()
for LPOLESTR type.
2005-06-13 09:59:55 +00:00
Krzysztof Foltman ab214a05c8 Emit \tx for user-defined TABs. 2005-06-12 11:08:29 +00:00
Lionel Ulmer 039beeea8f Remove some FIXMEs and replace them with TRACEs. 2005-06-12 11:08:04 +00:00
James Hawkins 00c32239b4 Remove stub status.
Check for correct revision value.
2005-06-12 11:07:37 +00:00
James Hawkins f3392ac814 Add RtlAnsiCharToUnicodeChar definition.
Correct stub status of RtlAnsiCharToUnicodeChar.
2005-06-12 11:07:25 +00:00
Matthew Davison 5014e742fb Stub out the error dialog functions.
Modify the default callbacks to call these for Delete and Rename
errors.
Modify the default callbacks to ignore file missing errors when
deleting files.
2005-06-12 11:05:58 +00:00
Eric Kohl a9983c8d16 Implement RtlAdjustPrivilege. 2005-06-12 10:44:01 +00:00
Krzysztof Foltman b16f330197 - added support for \ulnone (turning underline off)
- support for basic subscript and superscript
- untested support for text offset
2005-06-12 10:43:24 +00:00
Lionel Ulmer 78e95198cb Support all possible texture coordinates sizes. 2005-06-12 10:43:11 +00:00
Robert Shearman 1a76541733 - Don't print out cryptic message if IDispatch or IUnknown object is
just NULL.
- puArgErr is a ref pointer so we have to provide a dummy pointer if
  it is NULL.
- Fail gracefully and notify caller if we ran out of memoy or if
  variant copying failed.
2005-06-12 10:42:36 +00:00
Robert Shearman 44246e47ec Fix registry test for Win9x by skipping a section that fails, but
succeeds on NT.
2005-06-12 10:42:13 +00:00
Marcus Meissner 22be9fbcef Move static variables out of header file, also the local interface
implementations.
2005-06-12 10:42:03 +00:00
Robert Reif 6b3dc57b5f Make dsound tests loadable on NT4. 2005-06-12 10:41:49 +00:00
Glenn Wurster d11bdd5e1d Add declaration of X11DRV_GetDIBColorTable to avoid compile warning. 2005-06-12 10:41:39 +00:00
Felix Nawothnig 8b5c8f6d7f Add a workaround for Win9x apps which pass the parameters for
GetCurrentDirectoryA in wrong order.
2005-06-12 10:41:22 +00:00
Paul Vriens 50d1e4f0bf Fixed ReturnLength of SystemCpuInformation.
Added first test for SystemCpuInformation.
2005-06-10 19:52:32 +00:00
Mike McCormack 908308631f Create a stub implementation for MsiViewGetError. 2005-06-10 19:52:13 +00:00
Mike McCormack 950e5e626c Dependency fixes for winternl.h. 2005-06-10 19:33:47 +00:00
Michael Jung 71404a7372 Set the FILESYSANCESTOR and FILESYSTEM flags correctly in
GetAttributesOf.
2005-06-10 19:31:59 +00:00
Robert Shearman 3fe5a1eb62 Clear out parameters to stop bad pointers lying around in memory if
the function doesn't set them to anything.
2005-06-10 19:31:45 +00:00
Glenn Wurster ca46c6a8ae Adds support for the DIBINDEX type of COLORREF. 2005-06-10 19:31:20 +00:00
James Hawkins 89bba4a255 Implement RtlAnsiCharToUnicodeChar. 2005-06-10 19:30:23 +00:00
Mike McCormack 8d9471db99 Declare functions and correct prototypes. 2005-06-10 19:29:16 +00:00
Juan Lang b06e8c5973 Cryp{En|De}codeObjectEx should return success if the input buffer is
NULL, some MS sample programs depend on that.  Fix functions and
tests.
2005-06-10 19:28:58 +00:00
Lauri Tulmin 24c73fd4a0 Bottom edge of the update region should be relative to the top edge of
the format rect.
2005-06-09 20:40:31 +00:00
Stefan Leichter ff23e5a916 Make ddraw tests loadable on NT4. 2005-06-09 20:38:21 +00:00
Paul Vriens 2b7094e4d4 Reduce our buffer by 1 SYSTEM_THREAD_INFORMATION per process.
Minimize some calculations.
2005-06-09 20:33:45 +00:00
Lauri Tulmin c40562307c Add more tests for text placement in single and multiline edit
controls. Some of the tests are marked as todo.
2005-06-09 20:32:32 +00:00
Aric Stewart 09b0abaa1c Extending upon Mike McCormack's cleanup to use MSI_RecordGetString. 2005-06-09 20:30:59 +00:00
Aric Stewart c28bb54f7a Register the Product Version also.
Also help plug some memory leaks pointed out by Mike McCormack.
2005-06-09 15:49:11 +00:00
Alexandre Julliard b9b1ea9c9f Added a close_handle method to the object operations, and use it to
implement registry notifications and the strange behavior of
CloseHandle on winstation/desktop handles.
2005-06-09 15:39:52 +00:00
Aric Stewart d1a7f070d4 Avoid a loop where a parent's parent refers to itself as its parent. 2005-06-09 15:35:48 +00:00
Alexandre Julliard 78a3e63377 The desktop of a new thread should be set from the process initial
desktop, not from the parent thread.
Fixed a couple of bugs in the desktop name handling.
2005-06-09 12:07:12 +00:00
Saulius Krasuckas 83ac47e53c Get current directory during tests on win9x too. 2005-06-09 12:05:50 +00:00
Mike McCormack fa1b7822a5 Add the IShellLinkDataList interface to the ShellLink object. 2005-06-09 12:05:38 +00:00
Aric Stewart 00337b9a51 Added module upgrade.c and implemented FindRelatedProducts. 2005-06-09 12:05:27 +00:00
Alexandre Julliard 075f98e2f1 Moved dde files to the main directory and got rid of the dlls/user/dde
subdirectory.
2005-06-09 10:21:31 +00:00
Alexandre Julliard e0996494d0 Moved monitor functions to dlls/user/misc.c and finally got rid of the
windows/ directory.
2005-06-09 10:07:04 +00:00
Paul Vriens c5e9809242 Added test for SystemProcessInformation. 2005-06-09 10:03:25 +00:00
Robert Shearman 472852bef3 Added test for AccessCheck. 2005-06-09 10:03:11 +00:00
Mike McCormack 882bc4d18d Warning fixes for -Wmissing-declarations and -Wwrite-strings. 2005-06-09 09:50:56 +00:00
Alexandre Julliard f5c433fa68 Moved windows/driver.c to dlls/user/driver16.c. 2005-06-09 09:50:03 +00:00
Jeremy White b70b78783d Combine WINE_WAVEOUT and WINE_WAVEIN into a single structure. 2005-06-09 09:49:31 +00:00
Mike McCormack 6b44c2a56c Fix some warnings. 2005-06-09 09:48:36 +00:00
Marcus Meissner ec7a5931ae Removed CLSID_CompositeMoniker (conflicting with static definition). 2005-06-09 09:47:44 +00:00
Marcus Meissner 9c01e4274f Fixed definition/declaration mismatches of newly static vtables. 2005-06-09 09:47:10 +00:00
Mike McCormack f55de5cf35 Fix warnings exposed by -Wmissing-declarations and -Wwrite-strings. 2005-06-09 09:46:39 +00:00
Mike McCormack 8e2cb0835c Add a cast to get rid of a warning. 2005-06-09 09:46:23 +00:00
Dmitry Timoshkov 17408ba751 Added a couple of CloseHandle calls. 2005-06-09 09:46:06 +00:00
Robert Shearman 037bdc0dc0 IUnknown isn't a remotable interface so the stub manager shouldn't
need a marshaller for it.
2005-06-09 09:45:59 +00:00
Robert Shearman 0c5118144a - Don't free the fileio object because it will be freed anyway in
fileio_terminate on error.
- Print out statuses in hex, rather than decimal.
2005-06-09 09:45:42 +00:00
Mike McCormack a46a159be9 Make ADVAPI_IsLocalComputer static and simplify it a little. 2005-06-09 09:44:44 +00:00
Mike McCormack 4fd603607f Include appmgmt.h where its functions are used. 2005-06-09 09:44:26 +00:00
Mike McCormack f4ce07c294 Make interface methods static. 2005-06-09 09:44:12 +00:00
Robert Shearman 1329f87d46 - The typelib marshaler should only free the memory it actually allocated.
- Add special cases for two lesser used types that aren't
  sizeof(DWORD) sized.
2005-06-09 09:43:38 +00:00
Michael Jung d1f59dba67 Use shell icon cache instead of an own IExtractIcon implementation. 2005-06-09 09:43:18 +00:00
Uwe Bonnes 290a419f0a Don't try to access floppy if it's not mounted. 2005-06-09 09:42:49 +00:00