Commit Graph

9902 Commits

Author SHA1 Message Date
James Hawkins ce4a4ef981 Minor documentation addition. 2004-12-14 15:27:05 +00:00
James Hawkins 7f34c04067 Cleanup some documentation. 2004-12-14 15:26:04 +00:00
Robert Shearman 40b4f7f6e6 Use OBJREF on the wire for generic marshaling functions. 2004-12-14 15:14:40 +00:00
Juan Lang 7b44be79df Implement _popen and _pclose, and use debugstr_a to avoid a crash
tracing long command lines.
2004-12-14 15:13:54 +00:00
Juan Lang 8c0ccdcb68 Use debugstr_a to avoid crash tracing long command line. 2004-12-14 15:13:05 +00:00
Juan Lang 9b6c0eff37 - make file functions (mostly) thread-safe
- update a couple traces
2004-12-14 11:59:43 +00:00
Jason Edmeades c4de952eb5 Add Clear, Present and EndScene support and fix a bug in the drawing
code.
2004-12-14 11:54:27 +00:00
Robert Reif 3e2af5d04f Fix a typo that didn't allow pcm to mulaw conversions. 2004-12-14 11:45:11 +00:00
Robert Shearman 67942791e2 Implement RPC_E_DISCONNECTED in proxies. 2004-12-14 11:44:11 +00:00
Francois Gouget eb3f078c75 Add trailing '\n's to ok() calls. 2004-12-14 11:41:24 +00:00
Michael Stefaniuc 1493433e38 Missing HeapFree's + 1 LocalFree (found by smatch). 2004-12-14 11:38:50 +00:00
Robert Shearman 398a595377 Fixed incorrect unsigned test. 2004-12-14 11:35:12 +00:00
Eric Pouech 4056d7ef8c Fixed some errors in function prototypes. 2004-12-13 21:19:01 +00:00
Robert Shearman 7572b125b5 Implement NtQueryTimer. 2004-12-13 21:10:58 +00:00
Jason Edmeades 2003c7ab11 Add {G,S}etRenderState and {G,S}etTextureStageState support, and
ensure the stateblock is fully populated at device startup.
2004-12-13 13:35:38 +00:00
Robert Reif 20f8397321 Make the PCM conversion routines of msacm produce identical results to
the native dll.
Allow any PCM to PCM conversion, not just advertised ones.
2004-12-13 13:31:36 +00:00
Hans Leidekker 97b7e0dec7 Fix compilation with GCC 4. 2004-12-13 13:30:49 +00:00
Michael Jung 96ebad1a0d Implemented CPSignHash and CPVerifySignature.
Added tests for CPVerifySignature.
Fixed minor bugs in implglue.c.
2004-12-13 13:24:48 +00:00
Hans Leidekker 3e60f767ef Test and implement SetColorProfileElement.
Document more functions.
2004-12-13 13:23:17 +00:00
Juan Lang 76d8779c6f - use Heap functions rather than libc for mem allocation
- document a bunch of functions
2004-12-13 13:21:39 +00:00
Gerald Pfeifer 53b71e464a Use proper type for fourth parameter to VerQueryValueW(). 2004-12-13 13:20:36 +00:00
Christian Costa 6a8ae41c9d Handle device class in DX8 enumeration (found by Robert Reif).
Fixed remaining DX8 device types.
Factorized a bit GetCapabilities for keyboard and mouse.
2004-12-13 13:17:03 +00:00
Huw Davies dc27c04ebf Fix always false test. Spotted by Eric Pouech. 2004-12-13 13:14:36 +00:00
Eric Pouech eefb72c826 Fixed copy&paste error. 2004-12-13 12:04:14 +00:00
Eric Pouech c164e069a8 Fixed array index overflow. 2004-12-13 12:01:58 +00:00
Jon Griffiths d6139af2da Implement the remaining MRU functions, fix a couple of differences
from native comctl32, add tests of MRU behaviour and documentation.
2004-12-10 15:31:38 +00:00
Rein Klazes 03d9cf286e - implement __pioinfo, __badioinfo and _adjust_fdiv
- remove all stubs of data item from the spec file, those actually may
  hide problems.
2004-12-10 15:28:25 +00:00
Michael Stefaniuc 9fe94da2aa Add missing HeapFree's (found by smatch). 2004-12-10 15:24:52 +00:00
Alexandre Julliard 25b6493aee Added some sanity checks on window dimensions. 2004-12-09 16:58:00 +00:00
Alexandre Julliard 50c1a6b959 Fixed read_directory_getdents for large directories (found by Rein
Klazes).
2004-12-09 16:54:20 +00:00
Alexander Yaworsky e849a56673 Check service database name in OpenSCManager(). 2004-12-09 16:52:10 +00:00
Juan Lang 1e23777ae5 - implement _dup, _dup2, and _pipe
- make max file descriptors 2048 to match MS
- increase max file streams to match
2004-12-09 16:51:26 +00:00
Alexandre Julliard ebe3c529b1 Janitorial: C booleans must not be compared against TRUE. 2004-12-09 14:07:59 +00:00
Alexandre Julliard 4a9b22b2c3 Merged system metrics support into sysparams.c, and moved that file to
the dlls/user directory.
2004-12-09 13:48:56 +00:00
James Hawkins f238cd88e8 Properly implement DllCanUnloadNow ref counting. 2004-12-09 13:46:47 +00:00
José Manuel Ferrer Ortiz 7a03fd6763 Added some Spanish translations. 2004-12-09 13:44:20 +00:00
Alexandre Julliard 94ee1ebd6c Remove a few no longer needed 16-bit exports from gdi32. 2004-12-09 11:51:21 +00:00
Alexandre Julliard 65af698536 Use an escape mechanism similar to the x11drv one to set the DC
origin.
2004-12-09 11:45:16 +00:00
Jason Edmeades f738c146e2 Add {G,S}etIndices, {G,S}Viewport and enable the basic drawing
functionality into wined3d and call from d3d9.
2004-12-09 11:42:34 +00:00
Klemens Friedl 586930973d More Windows-like About dialog. 2004-12-09 11:39:31 +00:00
Walt Ogburn eca0a25634 Added some tests for win-format metafiles. 2004-12-09 11:37:59 +00:00
Christian Costa be82f977ce Initialize the hkey member when creating the propery bag object. 2004-12-09 11:37:09 +00:00
Huw Davies 033276b687 Remove the remaining dependencies on internal structures from Invoke. 2004-12-09 11:36:27 +00:00
Alexandre Julliard 86b95b8c6d Revert previous change since it causes a crash in desktop mode. 2004-12-08 19:45:05 +00:00
Rein Klazes bcb3490d3c GetUpdateRect can be called with a NULL rect. 2004-12-08 19:43:45 +00:00
Mike McCormack 42d55786b9 Stub implementation for GetLastInputInfo. 2004-12-08 19:41:36 +00:00
Thomas Weidenmüller a1f3756daa Free allocated font handles when control is destroyed. 2004-12-08 19:36:23 +00:00
Christian Costa ce70daf3ec Allocate the proper size for the SystemClock object. 2004-12-08 19:33:09 +00:00
Huw Davies 3dc64fc541 GetTypeAttr should deep copy the typedesc. 2004-12-08 19:32:28 +00:00
Alexandre Julliard 6a78c16aac Moved private USER definitions to a new user_private.h header, and
removed the global user.h.
2004-12-08 18:06:14 +00:00
Robert Shearman 2c3de6db24 - Make the wine_marshal_id structure more like the DCOM OBJREF
structure, by replacing the process id field by apartment id (OXID),
  changing the users of the process id field to use the new field and
  renaming the objectid field to oid.
- Fix StdMarshalImpl_UnmarshalInterface to invalidate and release its
  stub when doing a same apartment marshal.
2004-12-08 17:49:30 +00:00
Huw Davies 7a6c099921 Fix return value of GetVarIndexOfMemId. 2004-12-08 17:48:16 +00:00
Alexandre Julliard d646c7ed32 Moved some more 16-bit USER functions to the corresponding 16-bit
files.
2004-12-08 14:15:24 +00:00
Alexandre Julliard 56ef1fec30 Moved palette functions to user_main.c and removed
windows/painting.c.
2004-12-08 14:12:09 +00:00
Gerald Pfeifer cd2b2bd99a Avoid a warning on FreeBSD. 2004-12-08 14:09:37 +00:00
Mike McCormack 0128a849b1 Stub implementations for Lsa(Store/Retrieve)PrivateData. 2004-12-08 14:02:26 +00:00
Alexander Yaworsky 9087fb2000 Notify StartService when service control dispatcher has been
started. Otherwise StartService terminates service process.
2004-12-08 14:01:26 +00:00
Robert Shearman cd0970eb24 Make the DECIMAL_SETZERO macro take a DECIMAL instead of a DECIMAL* as
in the Microsoft headers and fix up the only caller.
2004-12-08 13:59:52 +00:00
Ge van Geldorp c24ca67f58 Match PSDK definitions for LPCWAVEFORMATEX. 2004-12-08 13:57:55 +00:00
Stefan Leichter 77928370a5 Fixed tests of GetAcceptLanguagesA for win9x/ME. 2004-12-08 13:52:02 +00:00
Juan Lang e520346265 Convert some registry calls from A to W. 2004-12-08 13:49:36 +00:00
Jacek Caban 7af955a198 - Implemented CreateAsyncBindCtx.
- Added test.
2004-12-08 13:46:01 +00:00
Michael Jung 0e9f423b17 Fixed linking issues. 2004-12-08 13:44:41 +00:00
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