Commit Graph

9789 Commits

Author SHA1 Message Date
Dmitry Timoshkov a6429d6065 Indicate that support for HCBT_SYSCOMMAND hooks is implemented. 2004-12-08 13:38:25 +00:00
Alexandre Julliard 4bfeb2840a Added a bunch of tests for various behaviors of RedrawWindow. 2004-12-07 17:34:19 +00:00
Alexandre Julliard 5defa49979 Moved update region handling to the server. 2004-12-07 17:31:53 +00:00
Juan Lang b100339e2f Flush file in fputc when character is '\n'. 2004-12-07 17:05:08 +00:00
Mike Hearn 36aee71988 Rename the STUBMGR thread to more accurately reflect its purpose. 2004-12-07 17:01:40 +00:00
Huw Davies 23ded07e63 Remove Invoke's dependence on the internal TLBFuncDesc structure.
Fix memory leaks in some failure cases.
2004-12-07 16:59:40 +00:00
Robert Shearman ee6982eeae Implement handle tables and add tests for them. 2004-12-07 14:47:13 +00:00
Hans Leidekker 8360a3a87e Move ICC profile handling into its own file.
Test GetColorProfileFromHandle and SetColorProfileHeader.
Test and partially implement {G,S}etStandardColorSpaceProfile{A,W}.
Improve existing tests and fix any bugs they revealed.
2004-12-07 14:42:47 +00:00
Robert Shearman e7110f0982 Clean up devenum and properly implement DllCanUnloadNow ref counting. 2004-12-07 14:37:11 +00:00
Alexandre Julliard 5f1ef6d09b Fixed compile error. 2004-12-07 14:31:53 +00:00
Jason Edmeades 819b0e1190 Add BaseTexture class support, call from d3d9. 2004-12-07 14:29:12 +00:00
Filip Navara 0e6c60076f - Don't use DrawEdge with NULL device context, it's invalid call and
sets last error.
- Tooltip icons must be destroyed with DestroyIcon and not with
  DeleteObject.
- Rebar cursors must be destroyed with DestroyCursor and not with
  DeleteObject.
2004-12-07 14:27:43 +00:00
Alexander Yaworsky e2b9000b84 Implemented RegisterServiceCtrlHandler, ControlService. 2004-12-07 14:24:58 +00:00
Tomas Vanek 342451b2dd Fixed no memory condition test in IDirectSoundImpl_Create. 2004-12-07 14:23:46 +00:00
Juan Lang a4d4d1979b Use W calls rather than A in CreatePipe. 2004-12-07 14:23:03 +00:00
Christian Costa d3fb100c36 Fixed enumeration of joysticks in DX8.
Fixed some traces.
2004-12-07 14:19:29 +00:00
Huw Davies 367d16931e GetFuncIndexOfMemId should respect invkind and return
TYPE_E_ELEMENTNOTFOUND if the function cannot be found.
2004-12-07 14:18:29 +00:00
Alexandre Julliard b4e495574b Authors: Eric Pouech <pouech-eric@wanadoo.fr>, Filip Navara <xnavara@volny.cz>
32 bit low level drivers now use a Unicode interface (used to be ANSI):
- Send the *_GETDEVCAPS messages in unicode format from the
  *GetDevCapsW function and call the *GetDevCapsW from their respective
  Ansi versions.
- Modify all low level drivers to correctly process the *_GETDEVCAPS
  messages as unicode.
- *_GETDEVCAPS messages are now mapped from/to unicode for 16 bit code.
- Removed all SoundBlaster naming oldies.
Better use of some unicode functions (instead of Ansi) in winmm.
2004-12-06 20:55:25 +00:00
Eric Pouech 294835a839 Another round of const correctness fixes. 2004-12-06 20:43:55 +00:00
Ivan Leo Puoti 01035f172d Register the IME class when imm32.dll is loaded. 2004-12-06 20:39:07 +00:00
Stefan Leichter 2d136f0de9 Fix missing imports on NT4. 2004-12-06 20:38:24 +00:00
Robert Reif d7292751e0 Return the actual device interface name.
Fixes some memory leaks.
2004-12-06 20:37:00 +00:00
Jean-Michel Dault ee2f10d51d Added another Canadian keyboard layout. 2004-12-06 17:06:20 +00:00
Alexandre Julliard 1d38462e52 Fixed a leak in getsockname.
Replaced malloc by HeapAlloc.
2004-12-06 16:52:36 +00:00
Alexandre Julliard da41f988a8 Use a direct getdents syscall on Linux to avoid relying on
implementation details of seekdir/telldir.
2004-12-06 16:48:16 +00:00
Dmitry Timoshkov 12f49fb9b1 ShowWindow activates only a being maximized child window, add a couple
of message tests for MDI child activation.
2004-12-06 16:38:19 +00:00
Dmitry Timoshkov 627260f89e Avoid crashes in ddraw.dll when loading it without x11drv, for
instance from wineprefixcreate in a text mode console.
2004-12-06 16:21:27 +00:00
Mike McCormack d921d161c4 Stub implementation for SetupDiOpenDeviceInterface. 2004-12-06 16:19:15 +00:00
Ulrich Czekalla 63d757f044 Set the out buffer count to zero on read error. 2004-12-06 16:18:22 +00:00
Mike McCormack 6b395bab07 Fix transposition of 4 byte values when reading in table data from
storage.
2004-12-06 16:17:45 +00:00
Mike McCormack 4bda758157 Stub implementations for DecryptFile, EncryptFile and
GetServiceDisplayName.
2004-12-06 16:17:08 +00:00
Eric Kohl d267f993f9 DrawStatusText() must not process prefix characters. 2004-12-06 16:15:38 +00:00
Juan Lang 4120647ae7 Set st_mode bits in _fstati64. 2004-12-06 16:14:09 +00:00
Christian Costa 0de664aa73 S/W vshader fixes (spotted by Eric Pouech). 2004-12-06 16:11:38 +00:00
Filip Navara 8f3b7dfddc Don't try to free pointer from union that isn't used. 2004-12-06 16:09:37 +00:00
Juan Lang e3060b4d98 msvcrt_spawn should free STARTUPINFOA's lpReserved2, not its address. 2004-12-06 16:08:36 +00:00
Robert North 7fafd5ccc2 Set the values WTInfoA returns from screen size for CTX_SYSEXTX and
CTX_SYSEXTY context fields, to match Windows behaviour.
2004-12-06 16:07:33 +00:00
Robert Shearman cba8763c33 Remove unnecessary WNDPROC casts. 2004-12-06 11:51:29 +00:00
Christian Costa 8d01911493 Better handling of errors in RenderFile. 2004-12-06 11:47:13 +00:00
Stefan Leichter 9cc5c15795 Fix missing imports of the test program on NT4. 2004-12-06 11:45:13 +00:00
Robert Reif 373ab78519 Always create a property set for secondary buffers. 2004-12-06 11:42:58 +00:00
James Hawkins 74d32620eb Remove c++-style comment. 2004-12-06 11:41:32 +00:00
Mike McCormack c72d956b90 Make sure to insert the proxy authentication header if necessary. 2004-12-06 11:40:57 +00:00
Stewart Allen 7cb55431d0 Added SAST (South African Standard Time), corrected CAT to Central
African Time.
2004-12-06 11:39:34 +00:00
Dmitry Timoshkov 902cb4201b Perform host name initialization if computer name can't be read from
registry.
2004-12-06 11:38:25 +00:00
Michael Jung 0ff7203335 Added a missing break in encrypt_block_impl. 2004-12-06 11:37:43 +00:00
Alexander Yaworsky bb1466e861 Implemented SetServiceStatus, QueryServiceStatus. 2004-12-06 11:35:22 +00:00
James Hawkins e3ba250034 Only call test_set_provider_ex() once. 2004-12-06 11:34:40 +00:00
Juan Lang d179f8be8c Revert shell32 version to Win2K SP4 level. 2004-12-06 11:34:07 +00:00
Huw Davies 81768fe150 Allocate the TYPEATTR rather than copying it.
For a dual interface the dispinterface's cfuncs should include the
inherited functions, cbSizeVft should just be the size of IDispatch's
vtbl and we should strip TYPEFLAG_FOLEAUTOMATION.
2004-12-02 19:58:07 +00:00
Alexander Yaworsky e6985ab3a5 Basic implementation of service control dispatcher. 2004-12-02 19:51:41 +00:00
Peter Chapman 505dfdefb5 Fix up several inline assembler blocks so that they produce correct
code with the -fomit-frame-pointer gcc flag.
2004-12-02 18:19:25 +00:00
Eric Kohl faa7df1e08 Implement SetupDiBuildClassInfoList(ExW),
SetupDiClassGuidsFromName(W/ExW), SetupDiClassNameFromGuid(W/ExW),
SetupDiGetActualSectionToInstallW, SetupDiGetClassDescription(W/ExW),
SetupDiInstallClassW partially, SetupDiOpenClassRegKey(ExW),
SetupOpenMasterInf.
2004-12-02 18:09:53 +00:00
Eric Pouech 44158dd690 - moved event, semaphore, mutex implementation from kernel32 to ntdll
- added mutant implementation in ntdll, and use it for mutex
  implementation in kernel32
- added access parameter on event, semaphore, timer creation in
  wineserver (as ntdll interface requires it)
- added missing definitions in include/winternl.h
2004-12-02 18:05:37 +00:00
James Hawkins 513d5087b4 Fix cabextract memory leak. 2004-12-02 17:55:41 +00:00
Dmitry Timoshkov fafe030e9a Always create a suspended thread in CreateThread and resume it if
CREATE_SUSPENDED flag is not set as Windows does.
2004-12-01 15:37:26 +00:00
Michael Jung 95c3d9b2a5 Moved code specific to CPGenKey, CPDeriveKey or CPImportKey from
new_key into the respective functions.
2004-12-01 15:34:56 +00:00
Robert Shearman 3b0a5d0a06 - Add some function declarations to objbase.h.
- Add stubs for server ref counting.
- Implement HRESULT marshaling.
2004-12-01 15:33:34 +00:00
Filip Navara 155c8acfbd - Check the return value from *_GETNUMDEVS message as per KB90562.
- Fix typo in MMDRV_InstallMap.
2004-12-01 15:32:19 +00:00
Alexander Yaworsky 78b64795d7 Introduced service thread. 2004-12-01 15:31:34 +00:00
Bill Medland 22da469b20 If the buffer is no longer static the names should reflect that.
Also minimise the use of the constant.
2004-12-01 15:29:04 +00:00
Mike McCormack 418672f2e5 Added a stub implementation for GetCurrentHwProfileW. 2004-12-01 15:27:59 +00:00
Ulrich Czekalla 21970dc2f7 Prevent the animation thread from waiting on itself when it stops. 2004-12-01 15:27:18 +00:00
Eric Pouech 0a258964c2 Const correctness fixes. 2004-11-30 21:38:57 +00:00
Jacek Caban d9ce4cd628 - Added stub implementation of IInternetZoneManager interface.
- Added implementation of CoInternetCreateZoneManager function.
- Added stub implementation of UrlMkGetSessionOption and corrected
  declaration of UrlMkSetSessionOption.
- Code cleanup.
2004-11-30 21:14:21 +00:00
Hans Leidekker 7c98f01159 Infrastructure for handling ICC profiles.
Always load color profiles into memory.
Implement and test GetColorProfileElement and GetColorProfileHeader.
Implement GetColorProfileFromHandle and SetColorProfileHeader.
2004-11-30 21:06:14 +00:00
Adam D. Moss 880bc9ce9f Fix compilation. 2004-11-30 21:05:27 +00:00
Huw Davies 5763977496 For a 15/16 bpp dib we send RGB triples to the printer so the size
multiplier is 3 not 2.
2004-11-30 21:02:46 +00:00
Michael Jung ca371a48b2 Incorporated LibTomCrypt code into rsaenh to get rid of OpenSSL
dependencies.
2004-11-30 17:43:59 +00:00
Jon Griffiths c50d8743fa Ensure DllCanUnloadNow is a truly void function, and give it a unique
name so it can be documented per-dll.
2004-11-30 17:40:51 +00:00
Jon Griffiths 18b26d893a Implement DllMain, DllCanUnloadNow, WrapProgress,
MAPIGetDefaultMalloc, IsBadBoundedStringPtr, UFromSz, UlFromSzHex,
CbOfEncoded.
Add tests for the above.
2004-11-30 17:38:52 +00:00
Dmitry Timoshkov 30bebfdc38 - Pass infoPtr around in month calendar control.
- Add support for WM_SETFONT and WM_GETFONT messages.
2004-11-30 17:35:16 +00:00
James Hawkins 88aeb475c0 Fixed a few memory leaks. 2004-11-30 17:33:27 +00:00
Alexander Yaworsky 8109cfd443 Merge Unicode and ASCII versions of StartServiceCtrlDispatcher.
Implement StartServiceCtrlDispatcherA on the top of
StartServiceCtrlDispatcherW.
Get rid of HEAP_strdupWtoA.
2004-11-30 17:29:03 +00:00
Robert Shearman d7dd3e37c8 Store the new style before redrawing and repositioning the control. 2004-11-30 17:28:10 +00:00
Jon Griffiths 5685659d75 Allow NCBRESET and NCBADDNAME to work even if there are no adapters. 2004-11-30 17:26:22 +00:00
Dmitry Timoshkov ba0ee349e6 DrawTextEx should allocate text buffer on stack for thread safeness. 2004-11-30 17:21:16 +00:00
Alexandre Julliard 7e11e528c1 Fixed RtlExpandEnvironmentStrings_U to not depend on the string being
null-terminated (spotted by Alexander Yaworsky).
2004-11-29 18:24:08 +00:00
Mike McCormack 174ae13752 Added some tests for timer functions. 2004-11-29 18:21:14 +00:00
Alexandre Julliard e0db46c4aa Get rid of the client-side window timer structures. 2004-11-29 18:18:02 +00:00
Eric Pouech 5c2a891c43 Made some functions and variables static. 2004-11-29 18:00:10 +00:00
Jason Edmeades 0a944ae319 Implement Material, Clip plane and Light support plus
MultiplyTransform.
2004-11-29 17:53:42 +00:00
Gunnar Dalsnes 3f884c2c7e Added a test to make sure that CreateDirectoryA/W does not create
multiple non-existing directories in the path given.
2004-11-29 17:52:06 +00:00
Eric Kohl 6199da3955 F4 key flips the listbox in default (not extended UI) mode. 2004-11-29 17:51:23 +00:00
Christian Costa 161a6b4d21 AVI decompressor:
- Make copies of bitmap header from media type for input and output
  and update them when needed.
- Fixed subtype for 32-bit depth in QueryAccept.
AVI splitter:
- Fixed handling of rec list.
2004-11-29 17:50:23 +00:00
Alexandre Julliard 03bd646cd0 Added missing CoInitialize. 2004-11-29 17:01:21 +00:00
Mike Hearn b547af156b Trace the OLE error info strings. 2004-11-29 17:00:39 +00:00
Mike Hearn a153efc5bb - Improve OLE function documentation.
- Bail out with CO_E_NOTINITIALIZED when apt is null.
2004-11-29 17:00:15 +00:00
Mike McCormack bc42b2e19e CFM_GETSPEC always returns a space-separated list. 2004-11-29 16:59:14 +00:00
Alexandre Julliard 7469973023 Take advantage of the new winproc handling to move some more functions
to 16-bit files.
TIMER_IsTimerValid is no longer necessary now that winprocs are never
freed.
2004-11-28 15:10:28 +00:00
Jason Edmeades eba27af4f1 Add Get/Set Transform support, plus BeginScene (does nothing). 2004-11-28 15:04:41 +00:00
Eric Pouech d3b39fe3f2 Fixed file name when opening NUL. 2004-11-28 15:01:50 +00:00
Huw Davies a96a700cf2 Protect sscanfs with a "C" locale so that they still work with new
glibcs in a locale doesn't use a '.' as a decimal separator.
2004-11-28 14:59:13 +00:00
Dmitry Timoshkov e04da6bb72 Add a test for ReadFile/WriteFile fault handling, make it pass under
Wine.
2004-11-28 14:58:11 +00:00
Ge van Geldorp c33c2da87d - Fix vertical position of text in single-line edit controls.
- Add tests for this.
2004-11-28 14:55:42 +00:00
Robert North 584c157237 - Ensure that if buffer pointer is null, queue is flushed.
- Ensure that correct packets are copied into output buffer.
- Use memmove when moving packets within queue, as source and dest
  will typically overlap.
- When moving packets in queue, ensure correct number of packets are
  moved.
2004-11-28 14:54:26 +00:00
Mike McCormack 181705cbbd - Don't limit the size of the property that can be retrieved by
MsiGetProperty.
- Make MsiGetProperty A/W implementations more consistent.
2004-11-28 14:53:46 +00:00
Alexandre Julliard 648994c3ef Changed winproc allocation to be based only on the procedure address,
to avoid the need to keep track of winprocs for each window and class.
2004-11-24 18:43:18 +00:00
Alexandre Julliard a79c534c0e Avoid using the MAKEPOINTS macro, it's broken on big endian. 2004-11-24 18:28:31 +00:00
Jason Edmeades 73e8baffd2 Add indexbuffer support into wined3d. 2004-11-24 18:13:41 +00:00