Commit Graph

15643 Commits

Author SHA1 Message Date
H. Verbeet 7d97f29c24 wined3d: Don't use GetDevice in IWineD3DSurfaceImpl_GetContainer, as
it adds a reference to the device that shouldn't be there.
2006-02-27 12:20:09 +01:00
Roderick Colenbrander d13469c1d8 d3d8: Moved the remaining code over to WineD3D (based on patches by
Oliver Stieber).
2006-02-27 12:20:03 +01:00
Hans Leidekker 4a8961ce3d winsock: Fix two Windows to Unix mapping issues.
Handle wildcard address family hint in getaddrinfo.
Convert flags too in getnameinfo.
2006-02-27 12:19:18 +01:00
Henning Gerhardt 39be679a45 crypt32: Add German resource file. 2006-02-27 12:19:03 +01:00
Saulius Krasuckas 9f19f75a54 mscms: One more LastError code fixed. 2006-02-27 12:18:46 +01:00
Michael Jung 50f3eaef77 shell32/tests: Added test for Desktop::ParseDisplayName(SHGetFolderPath(CSIDL_PERSONAL))
Test if the Desktop Folder's ParseDisplayName recognizes MyDocument's
path.  Removed some HRESULT tests on IUnknown_Release calls, which
returns ULONG.
2006-02-27 12:18:28 +01:00
Jacek Caban b7e8057eec mshtml: Return error in NewChannelFromURL if retval is NULL. 2006-02-27 12:11:43 +01:00
Jacek Caban 9b6c08a243 mshtml: Added nsIURI::Clone implementation. 2006-02-27 12:11:43 +01:00
Jacek Caban 71b881e4ba mshtml: Don't add null byte to post data. 2006-02-27 12:11:43 +01:00
Jacek Caban 4f9c9a16ad mshtml: Init nsIOService as soon as possible. 2006-02-27 12:11:43 +01:00
Vitaly Lipatov f382722390 iphplapi: Define IF_NAMESIZE if missing. 2006-02-24 21:13:54 +01:00
Alexander N. Sørnes 46a96312e5 Updated/new Norwegian Bokmål resources. 2006-02-24 21:11:03 +01:00
Vitaly Lipatov aee52b747e ole32: Add descriptions for StgCreateDocfile and StgIsStorageFile functions. 2006-02-24 21:10:27 +01:00
Phil Krylov 69ae27ed2f riched20: Added a comment to make life easier. 2006-02-24 21:10:13 +01:00
Francois Gouget 4aa6418d51 Assorted spelling fixes. 2006-02-24 21:10:03 +01:00
Francois Gouget dcb90635f8 winsock: Tweak getnameinfo() prototype.
Tweak the getnameinfo() prototype to better match the Windows PSDK and
the GetNameInfoW() prototype.
Update win32.api.
2006-02-24 21:09:19 +01:00
Francois Gouget 44344a31bb msftedit: Fix CreateTextServices() forward. 2006-02-24 21:07:55 +01:00
Francois Gouget a323238301 d3d8: Remove spaces before '\n', spelling fix. 2006-02-24 21:07:47 +01:00
Francois Gouget e092adfc9b Add trailing '\n's to ok() calls. 2006-02-24 21:07:33 +01:00
Francois Gouget 29b5c987d5 user32: Handle WM_ENDSESSION in DefWinProc().
DefWinProc() should call PostQuitMessage() on WM_ENDSESSION if the
shutdown is proceeding.
2006-02-24 21:07:08 +01:00
Francois Gouget feb153c649 user32: 0 vs. INFINITE timeout.
It is 0 that denotes an infinite timeout for the wine server now, not
-1 (INFINITE).
Document put_message_in_queue()'s check for INFINITE (done for
backwards compatibility with Windows 9x).
2006-02-24 21:06:50 +01:00
Francois Gouget 6edd77228d user: Fix ExitWindows().
- Use 0 to get an infinite timeout with SendMessageTimeoutW().
- Use SendMessageTimeoutW() to send the WM_ENDSESSION messages too so
we don't get stuck if a process is hung.
- Only send WM_ENDSESSION to windows that received a
WM_QUERYENDSESSION message. Also better mimick the Windows behavior.
2006-02-24 21:06:23 +01:00
Jeff Latimer ec6744490d usp10: Tidy default values.
Set values for pwLogClust, uJustification and fClusterStart similar to
what Windows uses.
2006-02-24 21:05:56 +01:00
Alexandre Julliard d61ad6cdd7 x11drv: Make the synchronous option a debug channel instead of a
registry entry to make it easier to use.
2006-02-24 21:05:44 +01:00
Alexandre Julliard 7bd0cdafc2 ntdll: Use PROT_NONE instead of 0. 2006-02-24 11:31:24 +01:00
Alexandre Julliard 2ba3d3ac25 kernel: Don't request execute permission for DOS memory. 2006-02-24 11:31:04 +01:00
Juan Lang b48f865f7d crypt32: Use public functions during serialization rather than relying
on the internal format of a certificate.
2006-02-24 11:26:20 +01:00
Juan Lang 690f98408b crypt32: implement CryptEnumOIDInfo and CryptFindOIDInfo.
- implement CryptEnumOIDInfo and CryptFindOIDInfo
- implement CertOIDToAlgId and CertAlgIdToOID using CryptFindOIDInfo
2006-02-24 11:26:01 +01:00
Detlef Riekenberg 110612c137 winspool/tests: Skip tests, when a remote print server has no RPC
service running.
2006-02-24 11:24:40 +01:00
Vitaly Lipatov a8397e307a ole32/tests: Do not compare returned by DeleteFile value with TRUE. 2006-02-24 11:23:40 +01:00
Robert Shearman f4a8ba9548 ole: Fallthrough from local activation in CoGetClassObject.
If local-server or local-service activation doesn't work in
CoGetClassObject then fallthrough instead of returning from the
function.
2006-02-24 11:23:16 +01:00
Robert Shearman 7fbca4c111 oleaut: Fix standard font cloning.
Create new empty connection points on clone of the standard Font
(based on a patch by Alex Villacís Lasso).
2006-02-24 11:23:03 +01:00
Francois Gouget 1f297893e5 user: Give meaningful names to the structures used to transfer
information to the test threads.
2006-02-24 11:22:28 +01:00
Ulrich Czekalla 2ee5a5bf7c msi: When evaluating conditions, if the condition is empty or none is
provided then treat it as being satisfied.
2006-02-24 11:21:59 +01:00
Huw Davies 4eb389bbdf msxml3: Fix for empty node lists. 2006-02-24 11:21:37 +01:00
Dmitry Timoshkov 69a23a608e gdi: Use "MS Sans Serif" as default sans serif font, not Arial. 2006-02-24 11:21:20 +01:00
Huw Davies 66a05b2aec gdi32: Fallback to StretchDIBits if the driver doesn't support BitBlt. 2006-02-24 11:21:07 +01:00
Detlef Riekenberg 56247a2084 cfgmgr32: Forward some functions to setupapi.dll. 2006-02-24 11:20:53 +01:00
James Hawkins ee324e694a setupapi: Downgrade an ERR to a WARN. 2006-02-23 12:09:38 +01:00
Kevin Koltzau 53b74b0d56 riched20: Call GetClipboardData callback on cut/copy. 2006-02-23 11:52:03 +01:00
Kevin Koltzau 33af76f991 riched20: Enable retrieving data through the ole interface. 2006-02-23 11:51:33 +01:00
Kevin Koltzau d52ae24b5e riched20: Ensure copied text is terminated with a null. 2006-02-23 11:51:24 +01:00
Kevin Koltzau 27e2dcff1d riched20: EM_GETOLEINTERFACE is not a stub. 2006-02-23 11:51:14 +01:00
Kevin Koltzau 58b2995311 riched20: Store reference to editor in ole interface. 2006-02-23 11:14:41 +01:00
Kevin Koltzau c0cd38fbab riched20: Allocate proper amount of memory for formatetc array. 2006-02-23 11:14:30 +01:00
Juan Lang 6da92ded75 crypt32: Move OIDToAlgID and AlgIDToOID to oid.c. 2006-02-23 11:14:13 +01:00
Juan Lang aa6dc003a4 crypt32: Implement CertFindCertificateInStore, with tests. 2006-02-23 11:13:45 +01:00
Stefan Leichter 3600b04877 Added msftedit.dll. 2006-02-22 22:24:47 +01:00
Kevin Koltzau a13245847f riched20: Add IDataObject implementation and use it for cut/copy. 2006-02-22 22:23:49 +01:00
Kevin Koltzau 77da4fc5b5 x11drv: Fix 64bit warning. 2006-02-22 22:17:20 +01:00
Robert Shearman 4ac8567497 msi: Fix heap overflow in ITERATE_CreateShortcuts. 2006-02-22 22:15:54 +01:00
Robert Shearman ecc5c18f4e msi: Init size before passing to RegEnumValue. 2006-02-22 22:15:41 +01:00
Robert Shearman e664435f50 msi: Always set a value for intype in ready_volume.
Remove a memory leak.
2006-02-22 22:15:26 +01:00
Robert Shearman 66c9cbbe0f msi: Fix heap overflow in save_string_table.
Fix heap overflow caused by not accounting for the dummy first item,
which contains the codepage.
2006-02-22 22:15:12 +01:00
Robert Shearman 6c529a7273 ole: Make the CoCreateInstance test succeed.
Move the uninitialized apartment check after zeroing out the return
value.
2006-02-22 22:14:52 +01:00
Brian Chang 8f6ba475e8 riched20: EM_SETOPTIONS/EM_GETOPTIONS base implementation.
ECO_READONLY implemented and tested.
2006-02-22 22:14:38 +01:00
Juan Lang 5d3889412d crypt32: Tidy up tests.
Fix up encoded data to use BYTE arrays rather than strings, and remove
extraneous NULL bytes from the end of some of them
2006-02-22 18:20:03 +01:00
Juan Lang d740f342b9 crypt32: Add stubs for CryptFindOIDInfo and I_CryptInstallAsn1Module.
Move CryptVerifyMessageSignature stub to main.c.
2006-02-22 18:19:49 +01:00
Mike McCormack a7e36dd27e kernel32: Add a stub implementation for CmdBatNotification. 2006-02-22 17:02:56 +01:00
Alexandre Julliard 3229e293d3 kernel: Initialize the dll path from the main exe name explicitly
since ImagePathName is not always set at that point.
2006-02-22 17:02:25 +01:00
Robert Shearman f689e3fca4 shell32: Move systray handling to the explorer process. 2006-02-22 16:33:33 +01:00
Alexandre Julliard 0199b4410a kernel: Get rid of module.h. 2006-02-22 16:30:22 +01:00
Alexandre Julliard 4107751dd3 ntdll: Simplify loadorder code by using an enum instead of an array
to represent load order values.
Added a special value for default load order so that we can handle it
differently later on.
2006-02-22 16:30:05 +01:00
Alexandre Julliard a877fdc4dc kernel: Don't bother checking load order of the exe in the parent process. 2006-02-22 16:21:12 +01:00
Huw Davies d8a6c278fa gdi32: Update due to last minute api change in freetype 2.2.0.
FT_Module_Get_Flags existed briefly in freetype 2.2.0.rc1 but has now
been replaced by FT_Get_TrueType_Engine_Type.  There's no point in
supporting an rc1 release, so this removes support for
FT_Module_Get_Flags and adds support for FT_Get_TrueType_Engine_Type.
2006-02-22 16:20:25 +01:00
Jeff Latimer 4241adbfcf usp10: Add ScriptGetCMap functionality to translate wchars to glyphs. 2006-02-22 16:19:42 +01:00
Peter Beutner 82818284c3 msvcrt: Save esp before calling catch block and restore afterwards.
It seems like the esp value (which is saved at [ebp-16]) is sometimes
changed inside the catch handler so we end up with a bogus esp
afterwards.  To avoid that save it before calling the catch block.
2006-02-22 12:21:00 +01:00
Peter Beutner be07b6db59 msvcrt: Fix handling of multiple nested exceptions.
Save in each nested frame a pointer to the original exception record.
Only one refence in thread_data isn't enough when we have multiple
nested frames.
2006-02-22 12:06:56 +01:00
Peter Beutner 62dc7f52f4 msvcrt: Fix handling of nested exceptions.
Move handling of nested exceptions completely in the
catch_function_nested_handler().  If a new exception was thrown inside
a catch block destroy the old exception object, if it is a rethrow
re-propagate the previous object.
2006-02-22 12:04:13 +01:00
Eric Pouech 1be2e1edef shell32: Fixes for bugs found by valgrind on shell32 tests harness.
- read strings from left to right (PathGetDriveNumberW)
- don't access buffers before they are filled (SHGetPathFromIDListW)
- fill buffers & variables on all paths (SHELL_FindExecutable)
- handle error condition (unix_fs)
- don't shoot in the blind for AW APIs (tests/shelllink.c)
2006-02-22 12:04:02 +01:00
Marco Timpano 8d845e3a1a winedos: Fixed a couple of typos in ppdev. 2006-02-22 12:03:07 +01:00
Francois Gouget 4db07ab496 mapi: Add some missing MAPI prototypes.
Add some missing MAPI prototypes to mapi.h (spotted by winapi_check)
and include it where they are implemented.
Make mapi.h and mapix.h compatible. gcc does not like macros and
prototypes to be redefined so this involved protecting against
multiple definitions.
Fix the MAPISendMail() implementation prototype.
2006-02-22 12:02:46 +01:00
Lei Zhang 805dc74809 riched20: Implement FR_MATCHCASE for EM_FINDTEXT.
Removed todo flag from affected FR_MATCHCASE tests.
2006-02-22 11:33:10 +01:00
Ulrich Czekalla 9d389ec03f msi: Implement MsiSourceListAddSource. 2006-02-22 11:32:58 +01:00
Ulrich Czekalla 7aa3be4741 advapi32: Add partial implementation of LookupAccountNameW. 2006-02-22 11:32:41 +01:00
Stefan Leichter f7b678e887 shell32: Export PathResolve by name. 2006-02-22 11:32:24 +01:00
Alexandre Julliard 477b3bf566 kernel: Moved the get_startup_info call to ntdll. 2006-02-22 09:57:19 +01:00
Alexandre Julliard e27358ea5c server: Remove no longer needed fields in the init_process_done request. 2006-02-21 20:08:19 +01:00
Aric Stewart 6976e2016d twain: Implment DG_IMAGE/DAT_IMAGEMEMXFER/MSG_GET.
Implement the DG_IMAGE/DAT_IMAGEMEMXFER/MSG_GET code path. Along with
a number of corrections and improvements to allow the actual aquiring
of images to succeed.
2006-02-21 19:50:29 +01:00
Huw Davies cce65b70b7 msxml3: Improve parse error handling a bit. 2006-02-21 19:48:44 +01:00
Huw Davies 7ee50b699d msxml3: Use url monikers to load xml. 2006-02-21 19:48:30 +01:00
Alexandre Julliard 2df3ad64eb kernel: Use LoadLibrary to load the main exe in all cases. 2006-02-21 19:48:18 +01:00
Alexandre Julliard ca311b3f4c ntdll: Support loading a builtin under a different name.
Find the proper modref in that case based on the dlopen handle.
2006-02-21 19:43:22 +01:00
Alexandre Julliard fa5b5102d7 ntdll: Moved LDR_DONT_RESOLVE_REFS handling into fixup_imports.
This ensures that we never fixup imports twice on the same dll.
2006-02-21 19:32:26 +01:00
Alexandre Julliard 39a1a94221 shell32: Use more reasonable timeouts in shlexec test. 2006-02-21 19:30:29 +01:00
Alexandre Julliard 68ea200f32 ntdll: Support loading builtin dlls with an explicit path name also
when loadorder is set to builtin only.
2006-02-21 11:56:16 +01:00
Uwe Bonnes 19e29d6035 ntdll: Remove spaces at end of name in import_dll. 2006-02-21 11:50:23 +01:00
Jeff Latimer 044a6f81b3 usp10: Add stub for ScriptTextOut. 2006-02-21 11:31:34 +01:00
Jeff Latimer a05e712cb8 usp10: Add ScriptPlace funtionality.
The key function is to calculate the total of the ABC widths of the
characters converted to gylphs by ScriptShape.
2006-02-21 11:31:18 +01:00
Jacek Caban 0c12e2663b shdocvw: Added correct implementation of IProvideClassInfo::GetGUID. 2006-02-21 11:31:02 +01:00
Roderick Colenbrander b24e69dc38 d3d8: Move the capability detection code over to WineD3D.
Let the few existing parts which need the capabiliteis use the WineD3D
capability structure (gl_info). This info structure contains next to
'flags' inidicating certain features also all GL/GLX functions
pointers. Because D3D8 moves over to the wined3d gl_info structure all
the gl prototypes in d3dcore_gl.h were unneeded and removed.
2006-02-21 11:28:58 +01:00
Lei Zhang 0014e50465 riched20: Fix for EM_FINDTEXT input validation.
Fixed the cpMin/cpMax validation code for EM_FINDTEXT.
Removed todo flag from affected EM_FINDTEXT tests.
2006-02-21 11:27:51 +01:00
James Hawkins 2aa6e2ebd9 advpack: Implement AddDelBackupEntry. 2006-02-21 11:27:34 +01:00
James Hawkins bc7cb836f2 advpack: Add tests for AddDelBackupEntry. 2006-02-21 11:26:41 +01:00
James Hawkins 7d8f9de837 advpack: Make AddDelBackupEntry always return S_OK. 2006-02-21 11:26:32 +01:00
James Hawkins 60de11c084 advpack: Branch off the advpack install functions into install.c. 2006-02-21 11:26:07 +01:00
James Hawkins b88b480851 advpack: Implement the Open/CloseINFEngine and TranslateINFStringEx
trio of functions.
2006-02-21 11:23:28 +01:00
James Hawkins dd5ae20dc1 advpack: Load the LDIDs of an install section in TranslateInfString. 2006-02-21 11:18:25 +01:00
Dr J A Gow e3af1227c9 ole32: Fix stream ref counting.
Stream methods called after parent object has been closed correctly
return STG_E_REVERTED.
Stream refcounting fixed. Now can safely call IStorage destructor
before IStream destructor and guarantee file will be closed.
2006-02-21 11:18:05 +01:00
Dr J A Gow c74e5a784d ole32: Fix up permissions when opening streams.
Fix up permissions when opening streams in storage objects when
storage object has been opened in transacted mode.
2006-02-21 11:17:32 +01:00