Commit Graph

6761 Commits

Author SHA1 Message Date
Marcus Meissner 49eaa0db2b Do not coerce arguments of ITypeLib::Invoke in-place, or we get
corrupted variants.
Handle V_ARRAY | something -> VT_SAFEARRAY, as this is a NOP.
2003-11-03 22:13:05 +00:00
Mike McCormack 7e1f38034c Stubs for job control. 2003-11-03 22:12:15 +00:00
Alexandre Julliard 6d9350fa1f Use a timeout when sending broadcast messages. 2003-10-31 04:18:55 +00:00
Ulrich Czekalla 736d96b5b3 Duplicate stdin/stdout handles to avoid closing them when library is
unloaded.
2003-10-31 04:17:45 +00:00
Aric Stewart 84ad10bfcd Switched a + to a - so that it makes sense when marking the last node
in the Adapters Info linked list.
2003-10-31 04:16:54 +00:00
Jason Edmeades 2b832f11a5 Make support for CopyRects to a small area of the back buffer, and
correct the general method of updating the back buffer.
2003-10-31 04:15:07 +00:00
Dmitry Timoshkov 99e3e6f88b Replace 28591 by 28605 (euro) for appropriate locales. 2003-10-31 03:40:08 +00:00
Mike McCormack b107b92849 Mostly stub implemenation for cfgmgr32. 2003-10-31 03:38:07 +00:00
Jason Edmeades ef8a634cb4 Clear should not be affected by write masks. 2003-10-31 03:35:43 +00:00
Alexandre Julliard 7370f60120 Implemented RtlCreateUserThread, and use it to move thread creation to
ntdll.
2003-10-31 00:16:20 +00:00
Jason Edmeades ef65d2a6a6 ColorWriteEnable should not impact clearing the screen. 2003-10-31 00:09:07 +00:00
Robert Shearman 90f3057b41 - Use the style returned in custom draw structure to draw the button,
as apps may modify the style this way.
- Disabled buttons can become hot.
- Retrieve image list for drawing after getting image list ID (in
  I_IMAGECALLBACK case).
2003-10-31 00:08:39 +00:00
Raphael Junqueira 62ddeb9da5 - better traces
- some IPersistStream::GetClassID implementation
- add the "search by name" support for IDirectMusicLoader8::GetObject
  (and a hack for understanding containers use)
2003-10-31 00:08:02 +00:00
Vitaliy Margolen 785bae8aae - Fix tab size for TCS_OWNERDRAWFIXED style.
- Correct size recalculation after setting tab width.
- Fix button sizes to match native.
- Center both vertically and horizontally tab text & icon.
- Use correct left/center alignment flags.
2003-10-31 00:06:42 +00:00
Jason Edmeades 0b37bf74b9 CopyRects (per rect) copied one too many lines, trashing the heap.
Also tidies up scissor test from previous patch.
2003-10-30 23:24:44 +00:00
Mike McCormack 0b28472010 Added a test for mailslots. 2003-10-30 23:24:12 +00:00
Alexandre Julliard 0f95d5498d Fixed race in %gs selector restoring during vm86 mode return.
Minor cleanups.
2003-10-30 23:15:56 +00:00
Robert Reif d6f746de4c Cache the wave volume so it can be returned rather than the OSS
derived value when possible.
2003-10-30 23:08:46 +00:00
Mike McCormack c854f9eba8 Return more sane mailslot error values. 2003-10-30 23:08:23 +00:00
Robert Reif b4e9ef02c2 Clean up *GetDevCaps to check for valid pointer and only copy proper
amount of data.
2003-10-30 23:07:23 +00:00
Pavel Roskin 0f252372b7 Include ntdll_misc.h to avoid undefined reference to GetProcessHeap
when compiled without optimization.
2003-10-30 23:06:41 +00:00
Mike McCormack 6a83224eb3 Fix incorrectly sized buffer. 2003-10-30 23:06:10 +00:00
Jason Edmeades c922278bfa Culling to different viewports failed as clearing the whole viewport
cleared the screen.
2003-10-30 23:05:09 +00:00
Hannu Valtonen ab4e40cf0f JoystickAImpl_Unacquire should return DI_NOEFFECT if the device is not
in an acquired state.
2003-10-30 22:48:04 +00:00
Mike McCormack e40da9f17c Some stub implementations. 2003-10-30 22:47:42 +00:00
Mike McCormack 6e86a2a81a Sql tokens are case insensitive in msi.dll. 2003-10-30 22:46:59 +00:00
Jason Edmeades 14231aa83b Correct writing to back buffer in non-ortho mode, and ensure the line
stipple is passed correctly to enable proper wireframe support.
2003-10-30 22:46:29 +00:00
Alexandre Julliard 59022e5818 Restored emulation of protected instructions in 32-bit code when
running with a Win9x version.
2003-10-28 21:57:24 +00:00
Mike McCormack 367462798a Treat missing MSI tables as empty. 2003-10-28 21:49:06 +00:00
Alexandre Julliard 07931f2d70 Removed no longer needed SIGNAL_Unblock() function. 2003-10-28 21:46:46 +00:00
Francois Gouget f405629e8e Weekly spelling fixes. 2003-10-28 21:45:30 +00:00
Mike McCormack 3871395140 Fixed MSI buffer overflow. 2003-10-28 21:43:14 +00:00
Alexandre Julliard 54b1d87daf Implemented Add/RemoveVectoredExceptionHandler. 2003-10-28 21:22:50 +00:00
Pierre d'Herbemont d3ab533eb3 Fixed _wfullpath prototype. 2003-10-28 21:13:13 +00:00
Gerald Pfeifer 6e17989681 Move event_names[] into EVENT_ProcessEvent(). 2003-10-28 21:09:47 +00:00
Uwe Bonnes 143f075335 FormatMessageW: Allocate anough space. 2003-10-28 21:09:32 +00:00
Mike McCormack 717107bb65 Fix string value lookups in MSI. 2003-10-28 21:09:10 +00:00
Rok Mandeljc 10509573ac Some fixes in dmband loading. 2003-10-28 21:08:55 +00:00
Hannu Valtonen 897beee52d SysMouseAImpl_Unacquire should return DI_NOEFFECT if the device is not
in an acquired state.
2003-10-28 21:08:31 +00:00
Alexandre Julliard 55f2dac059 Fixed typo that broke handling of .com and .bat files. 2003-10-28 00:31:52 +00:00
Alexandre Julliard 4cb001967a Switch back to the main process stack before calling exception
handlers.
2003-10-28 00:30:55 +00:00
Alexandre Julliard 8f1b861e27 Repaired relay debugging for kernel and ntdll (spotted by Uwe
Bonnes).
2003-10-28 00:25:32 +00:00
Rein Klazes 7ee2ed5a39 Test WM_KEY* and WM_SYSKEY* messages generated by various keyboard
events.
2003-10-28 00:18:40 +00:00
Robert Reif be4281522d Added support for getting the wave device name. 2003-10-28 00:15:16 +00:00
Rok Mandeljc f1598b9792 Fix dmloader's behavior to be more MS compliant. 2003-10-28 00:10:38 +00:00
Marcus Meissner d9b1bb7152 Use freetype 2.0 defines for font encodings instead of misuse of
MS_MAKE_TAG.
2003-10-28 00:08:28 +00:00
Uwe Bonnes d0f86f640b get_full_path_helper: Handle the case \\.\\ as intended; fix length
arguments for memmove.
2003-10-28 00:07:56 +00:00
Uwe Bonnes 16c3f341f9 Another difference in the printf family. 2003-10-28 00:04:42 +00:00
Raphael Junqueira 493660a529 - Some fixes on DirectSound init (need SetCooperativeLevel as seen in
msdn) on IDirectMusicPerformance8::InitAudio.
- Some fixes in IDirectMusicPerformance8ImplCreateStandardAudioPath
  (not perfect yet, need to understand/fix the channel init/use).
- Fix typo on CreateDirectMusicContainer.
- Add missing define in dsound.h.
- Better traces on IDirectMusicLoader8::SetSearchDirectory.
2003-10-27 22:08:37 +00:00
Uwe Bonnes 4f20d16596 Control_DoLaunch: memmove needs bytes as length argument. 2003-10-27 22:06:56 +00:00
Jukka Heinonen 6b47f11db6 Clean up mouse driver implementation. 2003-10-27 22:06:27 +00:00
Jukka Heinonen 181a7cca2b Moved drive parameter block (DPB) routines to winedos. 2003-10-27 22:06:10 +00:00
Uwe Bonnes f227cfaac6 Added a few stubs. 2003-10-27 22:05:33 +00:00
Hans Leidekker a2977cf5b8 Added Dutch translations. 2003-10-27 22:04:36 +00:00
Shachar Shemesh 9f42d25134 Updated Hebrew resources. 2003-10-27 22:02:06 +00:00
Robert Reif f2133052b1 Fix SMPTE time.
Fix primary buffer volume setting.
2003-10-27 22:01:30 +00:00
Robert Reif 7d43722256 Only copy amount requested up to size of structure. 2003-10-27 22:01:01 +00:00
Robert Reif 4824460772 Clear a new hardware buffer to proper silence values based on format.
Allows dxdiag to play 8 bit sounds in hardware primary buffer now.
2003-10-27 22:00:10 +00:00
Alexandre Julliard b83789fdc3 Updated some of the generated tests. 2003-10-24 04:45:35 +00:00
Alexandre Julliard 2e4f0bc9ba Use sigsetjmp instead of setjmp in Wine internal exception handlers to
make sure the signal mask is restored properly.
2003-10-24 04:30:13 +00:00
Uwe Bonnes c23a9257f0 Added a test case for sprintf. 2003-10-24 04:24:08 +00:00
Filip Navara d8bd18e639 - Removed initialization of sh32_policy_table in SHInitRestricted,
because it's already statically initialized.
- Removed calling of SHInitRestricted(NULL, NULL) from DllMain because
  it does nothing in this case now.
- Added support for flags FWF_DESKTOP, FWF_NOCLIENTEDGE,
  FWF_TRANSPARENT in ShellView.
- Fixed small bug in setting SysTray window class hbrBackground.
2003-10-24 04:23:37 +00:00
Dmitry Timoshkov 88de9ef068 More tests for window creation parameters. 2003-10-24 04:22:24 +00:00
Dmitry Timoshkov c99317a8c9 Windows always sets cbtc.hwndInsertAfter to HWND_TOP. 2003-10-24 04:21:46 +00:00
Pavel Roskin 6d6d06a8dc Make MSVCRT__sopen() complain louder about unknown oflags, but not
about _O_WRONLY.
MSVCRT_fopen() should pass third argument to _open() because it may
set _O_CREAT.
2003-10-24 04:21:09 +00:00
Ivan Leo Murray-Smith 5f51bcf868 Added Italian resources. 2003-10-24 04:19:20 +00:00
Robert Shearman fad1e1108e Don't store band text if "" is passed into SetBandInfo. 2003-10-24 04:18:42 +00:00
Alexandre Julliard f9df57d94d Call the application entry point from kernel32, some apps depend on
that.
2003-10-24 00:32:36 +00:00
Oleg Prokhorov b6ee614a81 Another portion of HeapReAlloc fixes. 2003-10-24 00:29:43 +00:00
Jon Griffiths 13a5d6e627 Added tests for FoldStringA/W. 2003-10-24 00:26:18 +00:00
Jon Griffiths 4938f6b993 Implemented FoldStringA (using W version).
Documentation updates.
2003-10-24 00:24:46 +00:00
Pavel Roskin fac7e78a18 Added test for tmpnam(). 2003-10-24 00:24:08 +00:00
Pavel Roskin 9661d05b4e MSVCRT_tmpnam(): complete rewrite. Use the same names as the native
version.  Use the caller-supplied buffer if possible.
2003-10-24 00:23:51 +00:00
Alexandre Julliard 8824c38e9e Simplified signal stack allocation a bit, and avoid allocating it on
non-i386 platforms.
2003-10-22 03:26:53 +00:00
Alexandre Julliard 5e4e0de15f A signal stack is not needed on PowerPC. 2003-10-22 03:25:38 +00:00
Robert Shearman d6a06f942e - Fix error paths in advapi32.CryptAcquireContextA.
- Call CRYPT_VerifyImage to verify the signature, even though it
  currently does nothing.
2003-10-22 03:04:30 +00:00
Robert Reif 80a7638006 Fix MMDRV_PhysicalFeatures to handle both 16 and 32 bit pointers
properly.
2003-10-22 03:04:07 +00:00
Dave Belanger 46329e83f0 Fix EMF driver UpdateBBox routine. The EMF bounding box must be stored
in device coordinates in the metafile.
2003-10-22 03:02:08 +00:00
Dave Belanger 2c39191ef1 Fix splitpath and wsplitpath for the file extension. 2003-10-21 23:51:06 +00:00
Gregory M. Turner ad24c5599e - Remove an erroneous check in NdrSendReceive.
- Change fixmes.
2003-10-21 23:49:57 +00:00
Gerald Pfeifer ea469ad7fd Remove unused variables EXE, BAT, CMD, and COM. 2003-10-21 23:49:36 +00:00
Gerald Pfeifer 219b19f780 Remove unused variable depths[]. 2003-10-21 23:49:25 +00:00
Steven Edwards f508a78509 - Win16/32 cleanup.
- Fixes for building with the PSDK.
2003-10-21 23:45:43 +00:00
Daniel Marmier c33e4c4723 RegCreateKeyEx{A,W}: state that class string is constant. 2003-10-21 23:44:37 +00:00
Maxime Bellengé ed3847247e Fix TAB_DeleteItem and TAB_DeleteAllItems regressions introduced by
the last TAB_InvalidateTabArea changes.
Correct the indentation for these functions.
2003-10-21 23:44:03 +00:00
Mike McCormack 8a6ca5ad3f Don't use free'd pointer in status control - found by Valgrind. 2003-10-21 23:43:14 +00:00
Ferenc Wagner 4b28f0f9c6 Account for unique NT4 behaviour.
Better error message.
2003-10-21 23:42:50 +00:00
Robert Reif e14ae47c1d Only return the number of bytes requested. 2003-10-21 23:41:26 +00:00
Alexandre Julliard 2aa8a8390a Replaced a few more 0xffffffff by the appropriate constants. 2003-10-16 19:31:11 +00:00
Rolf Kalbermatter 76f13deb26 Use INVALID_FILE_ATTRIBUTES to test for failure of
GetFileAttributesA/W and not -1 or 0xFFFFFFFF.
2003-10-16 19:12:49 +00:00
Alexandre Julliard 81db03dd61 The imported typelib name must be converted to Unicode. 2003-10-16 19:09:41 +00:00
Christian Costa 4bf5d02c23 Add support for all Z buffer depths that are lower that the current
one.
2003-10-16 19:08:33 +00:00
Alexandre Julliard bbc5242fbc Fixed handling of relay and snoop include/exclude lists to behave as
documented (based on a patch by Rein Klazes).
2003-10-16 00:24:49 +00:00
Alexandre Julliard 8f751bcb40 Print thread id in snoop traces. 2003-10-16 00:23:51 +00:00
Alex Pasadyn bab639e78a - Added support for XRandR extension.
- Added new debugging channels for resolution changing.
- Streamlined resolution changing and removed duplicated code.
2003-10-16 00:21:42 +00:00
Steven Edwards c3c0c56c78 - Split Win16/32 file dialogs.
- Remove support for Win16 style'd Win32 dialogs.
2003-10-16 00:16:40 +00:00
Alexandre Julliard 65f7ce21d5 Fixed cut&paste error. 2003-10-15 21:02:53 +00:00
Adam Gundy c2d90611f6 Only send TVN_ITEMEXPANDING for items marked as having children. 2003-10-15 21:01:54 +00:00
Oleg Prokhorov cf8b84c19f Another portion of HeapReAlloc fixes. 2003-10-15 21:01:05 +00:00
Jon Griffiths 8c4ef67452 Implemented FoldStringW. 2003-10-15 20:57:49 +00:00
Marcus Meissner b1b1e297ef Specify fourcc codes for encodings directly, instead of using changing
enum names.
2003-10-15 20:51:22 +00:00
Dmitry Timoshkov 5376c868c9 Fix an obvious typo in call_hook_AtoW. 2003-10-15 20:50:38 +00:00
Jon Griffiths cc83d9addc Add resources for boolean strings in several languages. 2003-10-15 20:50:24 +00:00
Dimitrie O. Paun fc551563ff Merge win.ini/[mci extensions] into the registry. 2003-10-15 20:49:29 +00:00
Alexandre Julliard 49a0224fb3 Get rid of the drive codepages and use CP_UNIXCP instead. 2003-10-15 03:47:53 +00:00
Daniel Marmier f95be92d24 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-15 03:35:54 +00:00
Alexandre Julliard 2937826866 Rewrote splitpath and wsplitpath to avoid modifying the path
separators.
2003-10-15 02:34:51 +00:00
Dave Belanger 2925d6ad17 Improved selection of freetype face charmap. 2003-10-15 02:33:55 +00:00
Dave Belanger 53f2e61e37 Implemented BitBlt, StretchBlt and SetDIBitsToDevice EMF driver
callbacks.
Cleaned up redundant code in EMFDRV_StretchDIBits.
2003-10-15 02:33:15 +00:00
Alexandre Julliard d004059538 Moved the 16-bit storage interfaces out of the exported headers. 2003-10-14 20:23:01 +00:00
Maxime Bellengé 5b99b3df29 - Implemented HEADER_SetBitmapMargin and HEADER_GetBitmapMargin.
- Get rid of some magic numbers in HEADER_DrawItem.
- Fixed the drawing of images from imagelist when the
  HDF_BITMAP_ON_RIGHT flag is set.
2003-10-14 20:13:42 +00:00
Maxime Bellengé 8147ee1095 Only redraw the necessary area of the tab component and not the whole
component like windows does.
2003-10-14 20:12:05 +00:00
Gerald Pfeifer 0974c154cb Remove unused variables mdays, months, days, and DateStyle. 2003-10-14 20:10:16 +00:00
Dmitry Timoshkov b27c09b25f Fix Finnish keyboard layout to better match the XFree86 one. 2003-10-14 20:07:03 +00:00
Mike McCormack 4fcb06a5a9 Pass the correct lparam when calling PageDlgProcA's PageSetupHook for
WM_INITDIALOG.
2003-10-14 20:06:46 +00:00
Michael Günnewig 41d6b67c7f Fixed usage of GlobaReAlloc. 2003-10-14 20:06:23 +00:00
Robert Reif 9d2e09851b Free should not happen when still playing. 2003-10-14 20:05:42 +00:00
Alexandre Julliard a3c45689b4 Moved codepage functions to dlls/kernel.
Changed initialisation of the locale functions so that CP_UNIXCP works
as soon as possible during kernel32 init.
2003-10-14 05:32:30 +00:00
Dmitry Timoshkov 2581db8f6a Fixed some problems found while compiling and linking Wine under
Cygwin.
2003-10-14 05:27:43 +00:00
Oleg Prokhorov de12a97041 Another portion of HeapReAlloc fixes. 2003-10-14 05:24:20 +00:00
Jukka Heinonen 46f29944c3 Remove races from DPMI async event handling. 2003-10-14 05:20:34 +00:00
Gerald Pfeifer 9b4b21b7b0 Fix function pointer variable declaration in __wine_process_init(). 2003-10-14 05:19:24 +00:00
Oleg Prokhorov 2f878e518b Small fix in sound flushing code. 2003-10-14 05:18:40 +00:00
Alexandre Julliard e55d5937ac Set or clear the BeingDebugged flag in the PEB when a debugger is
attached to or detached from a process.
Don't send exception events to the server unless a debugger is
present.
2003-10-14 01:30:42 +00:00
Alexandre Julliard 0b1a82aa5e Added check for pthread.h (reported by Steven Edwards).
Removed init_done check, the process heap is now created before kernel
is loaded anyway.
2003-10-14 01:27:31 +00:00
Daniel Marmier 4034ff36c0 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-14 01:19:27 +00:00
Dmitry Timoshkov 9bd1dbd0b4 Fix some cases when 'keysym' might be left uninitialized. 2003-10-14 01:17:37 +00:00
Daniel Marmier 5202364a5b ALSA_WaveInit: repaired device name. 2003-10-14 01:17:16 +00:00
Christian Costa a03c939a66 Add necessary AddRef/Release stuff to {Set/Get}CurrentViewport.
When changing parameters of a viewport, do the appropriate update if
it is current.
2003-10-14 01:16:42 +00:00
Vitaliy Margolen bd7bdbce3f Fix setting size of tab control. 2003-10-14 01:16:16 +00:00
Alexandre Julliard aff0343da5 Update __wine_main_argc after option processing. 2003-10-11 05:26:31 +00:00
Dimitrie O. Paun 921df719e5 Fix some instances of memory allocation through HeapReAlloc(). 2003-10-11 05:25:31 +00:00
Dave Belanger 9973af57e9 Implementation of underline and strikeout text in xrender. 2003-10-11 05:24:22 +00:00
Dimitrie O. Paun fbdfd910c1 Remove SYMBOLFILE and LDDLLFLAGS from Makefiles. 2003-10-11 01:09:15 +00:00
Alexandre Julliard 6ac34ac6ab Define an LDDLL command to link dlls, instead of using LDDLLFLAGS. 2003-10-11 01:05:18 +00:00
Alexandre Julliard e8dae9c029 We no longer need to link against ntdll in the Unix sense. 2003-10-11 01:00:35 +00:00
Alexandre Julliard 08a64e6e6a Moved the pthread emulation into the main binary so that we don't need
to link it against ntdll.
2003-10-10 23:37:18 +00:00
Jon Griffiths 9194267814 Documentation update. 2003-10-10 23:33:59 +00:00
Alexandre Julliard a6ed49ade3 Don't reference the environ global variable from kernel32, it may fail
to link (reported by Gerald Pfeifer).
2003-10-10 23:33:21 +00:00
Alexandre Julliard a438ebc509 Fixed importing of dlls with no exports (reported by Warren Baird).
Don't crash on an empty load order specification (reported by Maxime
Bellengé).
Try to avoid crashing when an import is missing for a builtin dll.
2003-10-10 23:28:51 +00:00
Alexandre Julliard b576c052dc The intermediate .tmp.o file is no longer needed.
DLLMAIN is not used anymore.
2003-10-10 04:31:54 +00:00
Alexandre Julliard 1c73771f30 Use the standard DllMain entry point. 2003-10-10 04:30:54 +00:00
Alexandre Julliard 313661d1b0 LDIMPORTS is no longer needed. 2003-10-10 00:52:01 +00:00
Alexandre Julliard 7196724ad0 We can now use the standard DllMain as entry point. 2003-10-10 00:50:56 +00:00
Alexandre Julliard 21066d0d44 Link kernel32 as a normal dll. 2003-10-10 00:23:47 +00:00
Alexandre Julliard 410e6b7b39 Changed the init code to make libwine load only ntdll and transfer
control to it, and then have ntdll load kernel32 using the normal
loader mechanisms.
Get rid of BUILTIN32_LoadExeModule.
2003-10-10 00:12:17 +00:00
Dave Belanger 3da1e24643 Implementation of SetTextJustication EMF driver callback. 2003-10-10 00:06:59 +00:00
Dave Belanger 43e8471a55 Improved font glyph transformation support in GetGlyphOutline. 2003-10-10 00:06:35 +00:00
Alexandre Julliard b10dcfe3b9 Make sure we always use the same name for the semaphore (spotted by
Ben A L Jemmett).
2003-10-10 00:05:49 +00:00
Uwe Bonnes 78754341db Added test for %n. 2003-10-10 00:00:35 +00:00