Commit Graph

8886 Commits

Author SHA1 Message Date
Christian Costa
8b0ec72563 Added missing initialization of the filesource output pin critical
section.
Avoid indefinite wait when calling GetOverlappedResult.
Fixed initial refcount of the IMemAllocator object.
Improved some traces.
2004-08-13 19:49:16 +00:00
Huw Davies
869e9cafd9 If a device doesn't support device bitmaps, then store the bits on the
gdi side.
2004-08-13 19:48:55 +00:00
Huw Davies
c141a3424e Fix first parameter of GetDefaultPrinterA|W. 2004-08-13 19:48:25 +00:00
Huw Davies
13f52454c4 Sync with dibsection in SetDIBitsToDevice. 2004-08-13 19:47:29 +00:00
Robert Reif
778168c316 Fix BSD build. 2004-08-13 19:47:11 +00:00
Francois Gouget
d244f6eb4f The Windows headers don't define the DRV_QUERYDEVICEINTERFACE(SIZE)
macros.
2004-08-13 19:46:43 +00:00
Francois Gouget
9b0136fbff Rename ResourceHandle to Reserved in the IMAGE_RESOURCE_DATA_ENTRY
structure to match the Windows headers.
2004-08-13 19:46:28 +00:00
James Hawkins
7aa82c80d4 If the pszProvName param of CryptEnumProviders is too small to hold
the provider name, SetLastError to ERROR_MORE_DATA.
2004-08-13 19:45:40 +00:00
Jon Griffiths
fb50426533 Make pattern brush data const. 2004-08-13 19:44:49 +00:00
Robert Reif
9d5b0873a0 More dsound tests error message cleanups.
Only display verbose information when in interactive mode.
2004-08-13 19:44:29 +00:00
Robert Reif
c5a15bf3ec Better mmap failure error message. 2004-08-13 19:42:36 +00:00
Alexandre Julliard
936198ce45 Moved ICOM_THIS_MULTI definition out of objbase.h and into the files
that use it.
2004-08-13 00:44:22 +00:00
Alexandre Julliard
ff039ccdf3 We don't need the shared heap on non-i386 platforms. 2004-08-13 00:42:09 +00:00
Robert Reif
22174de9bb Use GlobalMemoryStatusEx in GlobalMemoryStatus rather than the other
way around.
2004-08-13 00:41:34 +00:00
Markus Amsler
ff828161fd Make FINDFIRST working with /. 2004-08-13 00:39:58 +00:00
Markus Amsler
f89e115867 Make environment variables uppercase. 2004-08-13 00:39:16 +00:00
Steven Edwards
be2c020ce4 Implemented DllRegisterServer and DllUnregisterServer. 2004-08-13 00:38:59 +00:00
Alexandre Julliard
48c4bb3c31 Get rid of the non-standard ICOM_VTABLE macro. 2004-08-12 23:00:51 +00:00
Jacek Caban
edd49c782d Implemented IsOS function. 2004-08-12 20:28:12 +00:00
Thomas Weidenmüller
0a4d8f7f7d Correct tooltips behavior. 2004-08-12 20:27:01 +00:00
Huw Davies
dd8922f20b Repect the width of both the src and dst when calculating how many
pixels to copy in a dib <-> bmp operation.
2004-08-12 20:02:39 +00:00
Mike McCormack
a3a19355cd Prevent listview from crashing when a null sort function is passed to
LVM_SORTITEMS.
2004-08-12 20:01:55 +00:00
Robert Reif
101599e902 Speed up mixing and unmixing by moving sample size and buffer wrap
tests to outside the loop.  The code is not as compact or pretty but
it should be faster.
2004-08-12 20:01:32 +00:00
Alexandre Julliard
0467ce9fd7 Get rid of the non-standard ICOM_VFIELD macro. 2004-08-12 19:52:49 +00:00
Alexandre Julliard
616940eb9a Get rid of the non-standard ICOM_DEFINE macro. 2004-08-12 03:33:30 +00:00
Robert Reif
74662974f6 Start cleaning up error messages.
Don't print verbose info unless in interactive mode or debugging.
2004-08-12 03:29:39 +00:00
James Hawkins
e672d8b6b4 Added tests for CryptEnumProviders. 2004-08-12 03:24:20 +00:00
James Hawkins
e1f5370f42 Cleanup A->W cross call in CryptEnumProviders. 2004-08-12 03:24:10 +00:00
Alexandre Julliard
b459952144 Avoid some non-portable makefile constructs, and get rid of the
ALTNAMES variable.
2004-08-11 23:59:06 +00:00
Hans Leidekker
5f6f63a49d Fix signed/unsigned comparison warnings. 2004-08-11 23:45:34 +00:00
Alexandre Julliard
06233cfb47 Avoid some non-portable makefile constructs. 2004-08-11 20:59:09 +00:00
Filip Navara
ab13698998 Don't update infoPtr->dwStyle in LISTVIEW_WindowProc. It's already
handled in LISTVIEW_StyleChanged and LISTVIEW_Create processing.
Ignore WS_VSCROLL/WS_HSCROLL flags in infoPtr->dwStyle because they're
not always up-to-date.
2004-08-11 20:53:32 +00:00
Francois Gouget
522217c0e2 Remove LPFILESYSTEMBINDDATA as it's not defined in the standard
Windows headers.
2004-08-11 20:52:37 +00:00
Francois Gouget
bf72af30d0 Modify widl to put the C COM macros inside an #ifdef COBJMACROS block
as is done in the Windows headers.
Add #define COBJMACROS where needed in Wine.
Fixes the compilation of the oleaut32/tests/olefont.c and
urlmon/tests/url.c conformance tests with the Windows headers.
2004-08-11 19:43:45 +00:00
Francois Gouget
48ea250887 Don't define __WINE_USE_MSVCRT in the Visual C++ project. It is not
needed as it is defined by the Wine headers.
Use __WINE_USE_MSVCRT to detect whether we are being compiled with the
Wine MSVCRT headers or the Windows ones. In the latter case:
 - don't try to include the Wine-specific msvcrt headers
 - skip all the headers.c tests since there's no MSVCRT_* symbols to
   check
2004-08-11 19:36:17 +00:00
Francois Gouget
076d78b903 Add some missing definitions to mmreg.h.
Add #define NOBITMAP where needed in the Wine sources.
Fixes the compilation of msacm/tests/msacm.c with the Windows
headers.
2004-08-11 19:35:34 +00:00
Francois Gouget
a560bcb834 Don't include wine/debug.h when compiling on Windows.
GetCPInfoExA() is missing on some Windows platforms, load it
dynamically.
2004-08-11 19:34:45 +00:00
Huw Davies
dbf5b2a320 Don't try to rotate bitmap fonts. 2004-08-11 19:34:20 +00:00
Dmitry Timoshkov
8c2ff3ca6d - add stubbed support for IEnumScript interface
- ConvertINetMultiByteToUnicode/ConvertINetUnicodeToMultiByte should
  return required target length if the target buffer is NULL
- add the tests for all the above
- fix IMultiLanguage2 vtable (it was missing ConvertStringFromUnicodeEx)
2004-08-11 18:53:02 +00:00
Francois Gouget
3e3ba437ee Replace strcasecmp() with lstrcmpiA() to help compilation with Windows
headers.
2004-08-11 18:51:25 +00:00
Huw Davies
9277cf199f Fix maskblt to work with any set of rops and to also take into account
the current brush.  It also now works if the mask bitmap is already
selected into a dc.
2004-08-11 18:51:10 +00:00
Huw Davies
175208f5e1 Ever since win98 pattern brushes have been able to be larger than 8x8
pixels, so remove this restriction.
2004-08-11 18:50:52 +00:00
Francois Gouget
9806c99033 Define _WIN32_WINNT otherwise we are missing some definitions with the
Windows headers.
2004-08-11 18:50:40 +00:00
Robert Reif
a34c67f6b9 Only print out verbose information when in interactive mode. 2004-08-11 18:50:09 +00:00
Robert Reif
d2db8dc3a8 Only printout information when in interactive mode. 2004-08-11 18:49:52 +00:00
Huw Davies
0e58986d4f Don't ever return a bitmap font if the driver can't use it. 2004-08-11 18:49:34 +00:00
Robert Reif
17a8372302 Only copy number of bytes specified up to size of DevCaps structure. 2004-08-11 18:48:46 +00:00
Steven Edwards
9719aace66 Implemented AtlModuleTerm. 2004-08-11 18:47:52 +00:00
Robert Reif
704e16c32d Fixed a bug where freqAdjust was not being updated properly when the
primary buffer format changed.
2004-08-11 00:18:13 +00:00
Mike McCormack
06b8046f20 Added a test for stat'ing a memory based storage file. 2004-08-11 00:17:52 +00:00
Hans Leidekker
9baafec900 Fix signed/unsigned comparison warnings. 2004-08-10 23:43:21 +00:00
Ulrich Czekalla
8322fc6a57 Avoid holding x11drv lock while calling function that grabs gdi
lock. Prevents potential deadly embrace.
2004-08-10 23:42:52 +00:00
Ulrich Czekalla
842320998a Handle EINTR when polling. 2004-08-10 23:42:36 +00:00
Huw Davies
c8c4bf30fb We don't currently support horizontal stretching of bitmap fonts, so
we should ignore lfWidth.
2004-08-10 23:42:18 +00:00
Mike McCormack
f0baf82b36 stat on memory storage should return a NULL name, not "". 2004-08-10 23:41:58 +00:00
Mike McCormack
08c6c698dd Fix the processing of the lpszHeaders field in HttpSendRequest. 2004-08-10 23:41:35 +00:00
Hans Leidekker
70d400adf6 Fix signed/unsigned comparison warnings. 2004-08-09 23:42:19 +00:00
Markus Amsler
bd97e85922 Fix EXEC function 01 (load but don't execute): initial ax has to be on
child's stack.
2004-08-09 23:39:40 +00:00
Markus Amsler
448dc4fa1e Fixed drive mapping in GET ALLOCATION. 2004-08-09 23:39:12 +00:00
Dmitry Timoshkov
d134ca1ea8 Fix button behaviour on WM_SETFOCUS/WM_KILLFOCUS with a test case. 2004-08-09 23:38:40 +00:00
Huw Davies
945d98ba26 GetCharABCWidths should fail for non-scalable fonts. 2004-08-09 23:38:10 +00:00
Filip Navara
1076286020 Fix TOOLBAR_DrawMasked to correctly use image list mask. 2004-08-09 23:37:54 +00:00
Jon Griffiths
5f2e8b7f46 Delete the about dialog font when the dialog is closed. 2004-08-09 22:56:58 +00:00
Francois Gouget
4d73f22245 Remove the assert()s that checked that IDirectSoundBuffer_Lock() is
given two distinct pointers.
2004-08-09 22:56:45 +00:00
Mike McCormack
f8167f01bc Implement A->W call for SetNamedSecurityInfo. 2004-08-09 22:55:47 +00:00
Stefan Leichter
1550f5ef13 Added stub for CertFindCertificateInStore. 2004-08-09 22:55:35 +00:00
Huw D M Davies
26ae2dd365 Fix compilation of winmm tests. 2004-08-09 22:55:03 +00:00
Huw Davies
86c9f378a4 Try harder to match to a font if the family name is matches, but the
style is doesn't.
2004-08-09 22:54:33 +00:00
Filip Navara
9a0f5ede42 Use correct dialog title for Wizard 97 and correctly display header
bitmap for old-style Wizard 97.
2004-08-09 22:54:14 +00:00
James Hawkins
8cc77c1805 Make CryptEnumProvidersA pcbProvName parameter contain the correct
size of the provider name on return.
2004-08-09 22:53:58 +00:00
Eric Kohl
bea0555890 Move watermark and header bitmap loading code from
PROPSHEET_CreatePage into its own function PROPSHEET_LoadWizardBitmaps
and call this function from property sheet's dialog procedure.
2004-08-09 19:48:04 +00:00
Mike McCormack
9cd9cfd2ed Use Heap function in preference to malloc/free. 2004-08-09 19:46:47 +00:00
Mike McCormack
d161a8f64e Fix definition of LookupPrivilegeNameW and declare it. 2004-08-09 19:46:15 +00:00
Mike McCormack
13b6ce6da8 Fix warnings generated with -Wsign-compare. 2004-08-09 18:54:23 +00:00
Huw Davies
544c85ee01 Break and default char are both relative to first char in the winfnt
header.
2004-08-09 18:52:51 +00:00
Mike McCormack
f2460876ae Remove dead code. 2004-08-09 18:52:32 +00:00
Hans Leidekker
dbb3e14748 Fix signed/unsigned comparison warnings. 2004-08-09 18:52:18 +00:00
James Hawkins
62851fdb52 Fix alloc failure check in CryptEnumProvidersW. 2004-08-09 18:51:48 +00:00
Lionel Ulmer
aa25b1f886 Do not initialize variables before going into the Render short-cut. 2004-08-09 18:50:35 +00:00
Dmitry Timoshkov
1e268017d1 module->addr_sorttab may be NULL due to a hack in
elf_new_wine_thunks.
2004-08-09 18:50:21 +00:00
Robert Reif
fbce110be4 Test different primary buffer formats while keeping the secondary
buffer format constant.
2004-08-09 18:50:06 +00:00
Marcus Meissner
2e6e18bfbb Marked some functions in debughlp as static.
Do not use REFIID as return, but IID*.
2004-08-09 18:49:42 +00:00
Ofir Petruska
7054a8de78 Default DesktopDoubleBuffered to true. 2004-08-09 18:48:49 +00:00
Mike Hearn
81fd67d0d7 Only trace FOURCC handler when one is specified 2004-08-09 18:47:37 +00:00
Mike McCormack
e00a0ea330 Added a test for ConvertSidToStringSidW. 2004-08-09 18:47:22 +00:00
Mike McCormack
be303074d6 Implemented ConvertSidToStringSidA/W. 2004-08-09 18:47:06 +00:00
Robert Reif
6d33f1c2c1 Added some mixer tests. 2004-08-09 18:46:26 +00:00
Robert Reif
c427708bd5 Change MIXER_GetDev to take pointer to returned address pointer and
return one of 3 possible return values rather than an address or
NULL.
2004-08-09 18:45:05 +00:00
Vincent Béron
9ebfac0eed Update WinXP version to SP2. 2004-08-09 18:44:29 +00:00
Thomas Weidenmüller
9d6f88c952 Implemented syslink control. 2004-08-06 19:17:49 +00:00
Huw Davies
2bf1562c28 Actually pass the blend function on to the graphics driver. 2004-08-06 18:59:31 +00:00
Jon Griffiths
42c8b413da Don't leak cache imagelists on exit. 2004-08-06 18:58:18 +00:00
Mike McCormack
c62317989a Add another test for InternetCrackUrlW. 2004-08-06 18:58:04 +00:00
Mike McCormack
efbb50bc25 Fix the dwUrlPathLength returned by InternetCrackUrl when
lpszExtraInfo is null.
2004-08-06 18:57:53 +00:00
Dmitry Timoshkov
54c0af651b Implement ConvertINetMultiByteToUnicode, ConvertINetUnicodeToMultiByte
and IsConvertINetStringAvailable by moving common code around, add a
stub for ConvertINetString.
2004-08-06 18:56:46 +00:00
Huw Davies
2c527f96eb Maintain a cache (currently of up to 10) of unused fonts. This speeds
up apps that repeatedly recreate the same font.
2004-08-06 17:31:39 +00:00
Mike McCormack
2d86d17f2f Implement A->W call for GetNamedSecurityInfo. 2004-08-06 17:31:17 +00:00
Christian Costa
479c13b84e Implemented IDirect3DDevice{2,3}::GetLightState.
Fixed traces in execute buffers.
Updated copyright info.
2004-08-06 17:30:44 +00:00
Mike McCormack
4604e66094 Fix warnings found with -Wsign-compare. 2004-08-06 17:30:20 +00:00
Robert Reif
7ef15a607c Adds debug name to remaining critical sections. 2004-08-06 17:30:00 +00:00
Huw Davies
e82dfab20f dlopen libungif and libjpeg. 2004-08-04 19:10:26 +00:00
Markus Amsler
b5b8810e99 Pass debug exceptions to winedos. 2004-08-04 19:08:19 +00:00
Alexandre Julliard
94a9d33b6c Authors: Dmitry Timoshkov <dmitry@codeweavers.com>, Mike McCormack <mike@codeweavers.com>
Added an implementation of mlang.dll and test cases for it.
2004-08-04 18:33:06 +00:00
Filip Navara
3a6c9dc907 Destroy associated listview when IShellView is destroyed. 2004-08-04 18:16:27 +00:00
Huw Davies
2b804c56da Convert gdi font list to use list.h. 2004-08-04 18:16:13 +00:00
Huw Davies
4e54df5a95 Added top-down dib support to AlphaBlend. 2004-08-04 18:15:42 +00:00
Dmitry Timoshkov
0abeb87e7a Added CLSID and IIDs for mlang. 2004-08-04 18:15:27 +00:00
Mike McCormack
e3d8853bb8 Moved FlushInstructionCache to ntdll. 2004-08-04 18:15:04 +00:00
Robert Reif
7bf7bce0da Add CRITICAL_SECTION debug info. 2004-08-04 18:14:21 +00:00
Francois Gouget
e07608064a Play back what has been recorded when in interactive mode so that the
user can verify that the recording is correct.
2004-08-02 22:29:02 +00:00
Alexandre Julliard
60f0439ba6 Make relay and snooping work for LoadLibrary+GetProcAddress sequence
(based on a patch by Dmitry Timoshkov).
2004-08-02 22:25:01 +00:00
Lionel Ulmer
fbf003dd39 - add S3TC support to BltFast (fixes NOLF)
- proper surface unlocking in case of error in the Blt case
2004-08-02 22:21:30 +00:00
James Hawkins
1866dfbe16 Cleanup A->W cross calls. 2004-08-02 22:21:12 +00:00
Thomas Weidenmueller
7155eff8bc Added support for PBS_MARQUEE style. 2004-08-02 22:19:50 +00:00
Huw Davies
dd5b23fddb Implement AlphaBlend using the XRENDER extension. 2004-08-02 18:54:54 +00:00
Alexandre Julliard
c09881d51c Fixed some more freeing issues in CryptAcquireContextA. 2004-08-02 18:49:26 +00:00
Jens Collin
ff3d644072 Use ShellExecute instead of CreateProcess in run dialog. 2004-08-02 18:48:21 +00:00
Robert Shearman
5c7c5fafb6 - Add static to non-exported marshal functions.
- Remove unused marshal functions.
- Rename several RPC functions.
2004-08-02 18:47:31 +00:00
Gerald Pfeifer
0ba37e23d9 Avoid using round(), which is unportable. 2004-08-02 18:47:09 +00:00
Mike Hearn
819942339f Disconnect proxies at COM shutdown to release the corresponding
stubs.
2004-08-02 18:28:29 +00:00
Christian Costa
5e6487fe78 Improved IDirect3DViewportImpl_3_2_1_TransformVertices stub. 2004-08-02 18:27:32 +00:00
Francois Gouget
1426632839 Check the return value of IDirectSoundImpl_Create() to detect errors.
Always set *ppDS to NULL in case of error.
2004-08-02 18:27:16 +00:00
Christian Costa
0bbe91213d Fixed D3DOP_STATELIGHT opcode.
Implemented _dump_D3DEXECUTEBUFFERDESC.
2004-08-02 18:26:53 +00:00
Marcus Meissner
6695417321 Check return value of get_bbox(). 2004-08-02 18:26:14 +00:00
Marcus Meissner
fd3d572190 Replaced incorrect C comparison construct. 2004-08-02 18:25:42 +00:00
Dmitry Timoshkov
304f106a07 Create toolbar with a not zero default size, it allows applications
which check toolbar size before adding buttons to it work.
2004-08-02 18:25:20 +00:00
Marcus Meissner
e5a5e7271d Implemented PSM_INDEXTOHWND. 2004-08-02 18:24:58 +00:00
Christian Costa
9713f651fe Moved libtxc_dxt definitions into ddraw headers. 2004-08-02 18:24:40 +00:00
Lionel Ulmer
5ffe177543 - Fix compilation on boxes without OpenGL installed.
- Print the warning message only once.
2004-08-02 18:24:04 +00:00
Christian Costa
eac96b5606 Added native and emulated S3TC support. 2004-07-30 18:54:32 +00:00
Ivan Leo Puoti
e7c40e298f Fix dll version detection. 2004-07-30 18:45:50 +00:00
Mike Hearn
ce335adddd Don't marshal IClassFactory into the local server pipe until we have
connected, otherwise we might end up with stubs that are never used.
2004-07-30 18:44:09 +00:00
Mike Hearn
6545d994af Disconnect the server object from the stub on stub destruction. 2004-07-30 18:43:27 +00:00
Alexandre Julliard
6cd1a7d9a9 Authors: Robert Shearman <rob@codeweavers.com>, Mike Hearn <mh@codeweavers.com>
Fix infinite loops by checking the return value of _invoke_onereq and
bailing appropriately.
2004-07-30 18:43:07 +00:00
Robert Reif
4c3d661781 Refactored common test code into subroutines.
Added tests for correct Compact behavior.
Added tests for all possible IDirectSound[8] creation modes with good
and bad arguments.
Split dsound.c and ds3d.c into separate files for IDirectSound and
IDirectSound8 interfaces and added code to not execute IDirectSound8
tests when run with a dsound.dll of version 7 or earlier.  We should
now be able to run these tests on a Windows system with DX7 or earlier
(untested).
2004-07-30 18:42:51 +00:00
Robert Reif
b6ab40e977 Added error checking to IDirectSound_Compact.
Fixed IDirectSoundImpl_Create to return DSERR_NODRIVER for a bad
device IID.
2004-07-30 18:42:23 +00:00
Thomas Weidenmueller
02aa8d50af Implementation of TouchFileTimes(), thanks to Florian Stinglmayr for
submitting a rough draft.
2004-07-30 04:22:44 +00:00
Jacek Caban
6b6abc884f Added EM_SCROLLCARET definition in include/richedit.h and handling in
WindowProc.
2004-07-30 04:19:56 +00:00
Alexandre Julliard
81b22375d0 Added support for getting and setting the UI language. 2004-07-30 01:45:16 +00:00
Michael Jung
4ce6ee1b31 Fixed a potential double call to CRYPT_Free on variable "temp". 2004-07-30 00:07:35 +00:00
Michael Jung
b4b0c243ac Added a tiny unit test for rsabase.dll. 2004-07-30 00:06:54 +00:00
Jeroen Janssen
cead7c0e81 Updated some MSDN links in the code. 2004-07-30 00:03:02 +00:00
Robert Shearman
11fc5874df Emit fixme for known local wrong behaviour. 2004-07-30 00:02:17 +00:00
Henning Gerhardt
ddaddd412e Added German resources for devenum. 2004-07-30 00:00:37 +00:00
Aric Stewart
6a787c7c40 Use correct calling convention for the custom action handlers. 2004-07-30 00:00:25 +00:00
Aric Stewart
8d81d671eb Make the msistring_makehash return something other than just 1 or
0. Also handle the case where the string or stored string is null.
2004-07-29 23:59:15 +00:00
Filip Navara
06e9945f70 Add REST_NONLEGACYSHELLMODE policy. 2004-07-29 23:58:31 +00:00
Mike Hearn
5169f3c5d2 Implement disconnect for proxies so that stubs are properly
destroyed.
2004-07-29 23:58:12 +00:00
Ivan Leo Puoti
fd233e2235 Change the NT service pack version from 6 to 6a, correct win2k3 name. 2004-07-29 23:57:23 +00:00
Robert Shearman
37cc006083 Document wrong behaviour for IRunningObjectTable. 2004-07-29 02:44:09 +00:00