Commit Graph

6915 Commits (e85491274d0e1d0bf6a8bcd06eb41b16e4f6ad40)

Author SHA1 Message Date
Huw Davies 9959aca826 GetTextExtentPoint should include an inter character spacing set by
SetTextCharacterExtra.
2003-11-11 00:28:19 +00:00
Huw Davies 818c5861c4 Add support for LVS_EX_SUBITEMIMAGES. 2003-11-11 00:26:15 +00:00
Robert Reif 342d59f262 Fix a race condition where result could be read before set.
Fix test to use correct event in interactive mode.
2003-11-11 00:25:50 +00:00
Gerald Pfeifer 03bb9b112b Fix format specifiers for HDCs. 2003-11-11 00:25:10 +00:00
Alexandre Julliard 50fba7ffec Moved the remaining SYSDEPS_* functions to the wine_pthread interface.
Let the pthread library allocate the stack itself.
2003-11-09 01:25:23 +00:00
Kirill Smelkov 8d0ac5574e Added gopher stubs. 2003-11-09 01:23:32 +00:00
Lionel Ulmer 4a078c8376 Fix some stupid bug with missing braces. 2003-11-09 01:21:25 +00:00
Gerald Pfeifer 5cc4b3ba16 Removed dead code in VarDateFromUI2(). 2003-11-09 01:21:04 +00:00
Eric Pouech b1a2d883fc Removed some more dependencies on wine 16-bit specific entities. 2003-11-09 01:19:58 +00:00
Alexandre Julliard 9f514fe239 Avoid the XSync call in X11DRV_expect_error by storing the current
request number and checking that on errors.
Moved the XSync call from X11DRV_check_error into the callers so that
it can be avoided for requests that already wait for a reply.
2003-11-09 00:34:43 +00:00
Gerald Pfeifer 56b0939efe Move scsi_command_size from winescsi.h to SCSI_Fix_CMD_LEN(), its only
user.
2003-11-09 00:31:08 +00:00
Gerald Pfeifer 6c7d5f500a Fix format specifiers for HWNDs. 2003-11-09 00:30:50 +00:00
Francois Gouget ed27249038 Fixed buffer overflow.
Fixed two -Wwrite-strings warnings (but there are more).
2003-11-09 00:30:36 +00:00
Huw Davies 6e12807b55 Load any TrueType fonts that fontconfig knows about. 2003-11-09 00:30:13 +00:00
Robert Shearman fc58ef8119 Added chevron support. 2003-11-09 00:28:24 +00:00
Huw Davies a7c4fa8119 ReleaseCapture on lbuttondown if the cursor is outside an item, just
like the native one does.
2003-11-09 00:27:20 +00:00
Huw Davies 9fb3f4e0d7 Update the visrgn in ResetDC so that GetClipBox works correctly after
a change in paper size/orientation.
2003-11-09 00:26:50 +00:00
Alexandre Julliard b9efd4afcb Moved loader/module.c to dlls/kernel. 2003-11-06 01:09:58 +00:00
Alexandre Julliard 00fdd9fc1b AVM Computersysteme Vertriebs GmbH
Implemented a CAPI20 wrapper library for CAPI4Linux access.

Marcus Meissner <marcus@jet.franken.de>
Cleaned up, autoconfed.
2003-11-06 00:26:43 +00:00
Alexandre Julliard 4dba172e55 Added server_abort_thread to replace SYSDEPS_AbortThread.
Removed no longer used SIGNAL_Block and SIGNAL_Reset.
Moved some internal ntdll definitions to ntdll_misc.h.
2003-11-06 00:08:05 +00:00
Alexandre Julliard 8574412e1e Added wine_pthread_create_thread and wine_pthread_exit_thread to the
pthread support, and removed the corresponding SYSDEPS functions.
Moved stack allocation for new threads to wine_pthread_create_thread
to allow more flexibility.
2003-11-05 23:31:11 +00:00
Marcelo Duarte 8defcd386c Localization to the Portuguese of Brazil. 2003-11-05 23:27:01 +00:00
Vincent Béron bd699e5edc Implemented GetDCPenColor and GetDCBrushColor. 2003-11-05 23:25:37 +00:00
Robert Reif 636f29d83c Fix wave in stop. 2003-11-05 23:22:23 +00:00
Mike McCormack bd9d8a32e4 MsiOpenDatabase's szPersist parameter may be a string or a bitmask. 2003-11-05 01:50:19 +00:00
Ulrich Czekalla 16ff6689df Implemented SetDCPenColor and SetDCBrushColor. 2003-11-05 01:43:57 +00:00
Mike McCormack d48f3b60fe Stub implementation for MsiVerifyPackage. 2003-11-05 01:42:02 +00:00
Ulrich Czekalla da10653f6f Implemented RtlSelfRelativeToAbsoluteSD and RtlMakeSelfRelativeSD.
Fixed some related SE_SELF_RELATIVE bugs.
2003-11-05 01:41:20 +00:00
Ulrich Czekalla af0d2afe20 Initial implementation of OleUIInsertObject. 2003-11-05 01:34:38 +00:00
Alexandre Julliard 063cff8686 Use the signal stack pointer to determine the current thread.
Converted the SIGUSR2 handler to use setup_exception (probably still
not working properly).
2003-11-05 00:52:29 +00:00
Alexandre Julliard 47f62a402a Set %fs and %gs in the register context to their current value when
calling 16-bit code.
2003-11-05 00:46:44 +00:00
Huw Davies 83d6e26b31 Support for duplex printing. 2003-11-05 00:37:47 +00:00
Huw Davies 4b0fc2e341 Make sure that all printer entries have a valid Name and Port key.
Cope with cups printer deletion.
2003-11-05 00:36:47 +00:00
Huw Davies 4de17c3724 LISTVIEW_GetSubItemRect should succeed if subitem == 0 whatever mode
the listview is in.
2003-11-05 00:35:57 +00:00
Rein Klazes 56121b7161 Correctly place a toolbar with CCS_BOTTOM style at the bottom, not the
top.
2003-11-05 00:35:28 +00:00
Mike McCormack 05d00f06de Implement MsiOpenProductW. 2003-11-05 00:34:51 +00:00
Alexandre Julliard 7924f421e9 Allocate the TEB and signal stack separately from the main stack.
Dynamically allocate the initial TEB too so that it is properly
page-aligned.
2003-11-04 04:50:18 +00:00
Gerald Pfeifer bcb09c198d The CDDA case of CDROM_RawRead() no longer works on FreeBSD -CURRENT,
remove it.  Also, combine the FreeBSD and NetBSD NYI notes.
2003-11-04 04:23:49 +00:00
Huw Davies e63e39f2c5 PropSheetPageProc callback should always have hwnd = 0. 2003-11-04 04:23:00 +00:00
Alexandre Julliard 55cb8177b5 Authors: Ulrich Czekalla <ulrich@codeweavers.com>, Huw Davies <huw@codeweavers.com>
Added drag and drop support to listview.
2003-11-04 04:22:37 +00:00
Huw Davies 3ce815e7f3 Fix a fixme. 2003-11-04 04:22:07 +00:00
Dmitry Timoshkov 9ac3bdd85f WM_WINDOWPOSCHANGING should receive original, not fixed values. 2003-11-04 04:21:42 +00:00
Dmitry Timoshkov 3baa9b99fd Protect ILIsParent from NULL pidls. 2003-11-04 04:21:01 +00:00
Robert Reif 0c55534707 Fixed bug in capture stop. Only current header should be returned to
app.
Make wave fragment size adjustable to guarantee better than 10 ms
latency.  Makes a difference for 8 kHz voice apps.
2003-11-04 04:20:47 +00:00
Jason Edmeades dfccba7153 Pass through floats correctly to the render states at
initialization. Fixes point problems.
2003-11-04 04:17:52 +00:00
Carlos Lozano d970c097f4 Check that we don't write out of the defined range of palettes. 2003-11-04 04:17:28 +00:00
Alexandre Julliard a062677a95 Allocate a memory view for builtin dlls so that VirtualQuery returns
something sensible.
2003-11-03 22:23:09 +00:00
Alexandre Julliard 7fcc737faa Fixed type and protection values returned by NtQueryVirtualMemory to
be closer to what Windows does.
Allow using MEM_SYSTEM without MEM_RESERVE to avoid 64k alignment.
Use pread instead of lseek+read when faking mmap.
2003-11-03 22:21:55 +00:00
Huw Davies f94159cdb2 Don't get confused if PSN_SETACTIVE returns a positive number that
isn't a resource id.
2003-11-03 22:15:39 +00:00
Huw Davies b37adfb4b5 Make the listview send its notifications to the parent window passed
to it in CREATESTRUCT.  Based on a treeview patch by Igor Grahek.
2003-11-03 22:15:22 +00:00
Huw Davies dfdb7cf659 Fix the return value of StretchDIBits. 2003-11-03 22:14:46 +00:00
Huw Davies c346a8be6f Implement PSDRV_PaintRgn (also gets us FillRgn, FrameRgn and FillPath
for free).
2003-11-03 22:14:30 +00:00
Dmitry Timoshkov 262b93caa3 Add support for QWERTZ virtual keys mapping, fix many keyboard layouts
to conform to the XFree86 ones, add support for Russian cp1251 and
phonetic keyboard layouts, Israelian phonetic and Saharon keyboard
layouts.
2003-11-03 22:13:48 +00:00
Jukka Heinonen 02a23461ae Implement fat32 extended free space function.
Make fat32 calls reset carry flag explicitly.
2003-11-03 22:13:25 +00:00
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
Uwe Bonnes 242beda8d2 %n returns the number of consumed characters. 2003-10-10 00:00:19 +00:00
Alexandre Julliard 5cb5aa6346 Use the Rtl bitmap functions to implement Tls allocation.
Get rid of the PDB structure.
2003-10-09 19:58:56 +00:00
Alexandre Julliard 30b588955a We need to initialize the relay debug lists for +snoop too. 2003-10-09 19:52:23 +00:00
Oleg Prokhorov 947c61e4f7 Avoid HeapReAlloc of a NULL pointer. 2003-10-09 19:49:05 +00:00
Dimitrie O. Paun b0f4a564a1 Move useful information out of documentation/shell32. 2003-10-09 19:47:08 +00:00
Mike McCormack c06bcc110f Stub implementations for some functions related to RegisterWait. 2003-10-09 19:46:43 +00:00
Robert Reif 9964e42988 Fixed SMPTE time.
Fixed bad wave in position at startup and reset.
2003-10-09 19:45:39 +00:00
Steven Edwards ad4a2b9064 Bring imagehlp (mostly) inline with the PSDK and Mingw. 2003-10-09 19:45:07 +00:00
Dave Belanger 5735c58eb1 Improved the bounding box calculation for the EMF driver ExtTextOut
metarecord. It takes the text alignment into account.
2003-10-09 19:44:35 +00:00
Alexandre Julliard 96118aeafb Added a few missing exports. 2003-10-09 05:00:41 +00:00
Alexandre Julliard 20e73d739a Moved the constructor for the initial TEB to ntdll so that it runs as
early as possible on startup.
2003-10-09 04:59:03 +00:00
Dave Belanger 36a6c740c4 Implementation of EMF driver OffsetViewportOrg and OffsetWindowOrg
callbacks using the EMR_SETVIEWPORTORGEX and EMR_SETWINDOWORGEX
metarecords respectively.
2003-10-09 04:42:45 +00:00
Alexandre Julliard 67d9f38059 Added __wine_set_signal_fs function to avoid sharing the
SYSLEVEL_Win16CurrentTeb variable between kernel and ntdll.
On the kernel side, replaced SYSLEVEL_Win16CurrentTeb by
CallTo16_TebSelector stored directly in the asm relay code to avoid a
run-time relocation.
2003-10-08 22:59:22 +00:00
Alexandre Julliard 2de67b8428 Duplicate parts of the relay debugging init code into kernel to avoid
referencing ntdll internal symbols.
2003-10-08 22:41:12 +00:00
Alexandre Julliard 0de2fde550 Moved build_command_line back to kernel and make it handle Unicode
properly.
2003-10-08 22:38:52 +00:00
Robert Reif 93d3492f7f Make capture more reliable by submitting all buffers before start.
Added support for non pcm formats.
Added more property set support.
2003-10-08 22:35:26 +00:00
Pavel Roskin e5e1844d24 Include ntdll_misc.h to get the GetCurrentProcess/ThreadId macros. 2003-10-08 22:34:37 +00:00
Dave Belanger 633e379eb9 Implementation of SetPixel metarecord. 2003-10-08 22:34:15 +00:00
Dave Belanger a7bbf47f1b Avoid excessive heap memory reallocation when generating EMF
metarecords in memory.
2003-10-08 22:33:35 +00:00
Pavel Roskin 3ec73af37f Include ntdll_misc.h to get the GetCurrentProcess/ThreadId macros. 2003-10-08 19:11:08 +00:00
Pavel Roskin 91f234f267 Eliminate dependency on SetLastError(). 2003-10-08 19:10:33 +00:00
Francois Gouget 61ef356347 Some spelling fixes. 2003-10-08 19:09:44 +00:00
Alexandre Julliard 593dec5d66 Authors: Warren Baird <warren.baird@cimmetry.com>, Dave Belanger <dave.belanger@cimmetry.com>
Moved code out of assert statements so you can safely compile with
-DNDEBUG.
2003-10-08 19:08:23 +00:00
Mike McCormack 8365577125 Don't share some protected mode interrupts in winedos. 2003-10-08 19:07:45 +00:00
Alexandre Julliard 687ecfa312 Moved a few more functions to the dlls/kernel directory. 2003-10-08 04:24:49 +00:00
Alexandre Julliard b81d9e7cf4 Link all remaining files that contain kernel APIs into kernel32.dll
instead of ntdll.dll. Removed a number of no longer needed files.
2003-10-08 03:57:02 +00:00
Alexandre Julliard 953849f2fc Added hack to call CreateFileW through a pointer so that we don't need
to link to kernel functions.
Commented out SMB support in NtReadFile for now.
2003-10-08 03:51:31 +00:00
Alexandre Julliard 01def427b7 Pass the cdrom device path in CDROM_InitRegistry so that ntdll doesn't
need to call DRIVE_GetDevice.
Get rid of GetDriveType calls.
2003-10-08 02:59:22 +00:00
Alexandre Julliard 87ae825bf8 Get rid of the argv0 and full_argv0 global variables. 2003-10-08 00:45:01 +00:00
Alexandre Julliard af192f83b6 Store a "removable" flag instead of the full drive type in the server
file object; this way we don't need to use GetDriveTypeW in the loader
code.
Make sure we always have a valid builtin_load_info pointer.
2003-10-08 00:25:32 +00:00
Alexandre Julliard 146afcc98c Removed references to GetSystemDirectoryW.
Optimized module lookup a bit.
Keep track of the modref pointer across builtin dll loads to avoid
having to look it up by name afterwards.
2003-10-07 22:56:34 +00:00
Daniel Marmier 7e0ddbc60f Fixed warnings with gcc option "-Wwrite-strings". 2003-10-07 22:54:17 +00:00
Steven Edwards c48c16471c Remove a few unneeded include statements in internal headers.
Started bringing setupapi in line with PSDK.
2003-10-07 22:51:09 +00:00
Rein Klazes c6c404dcd6 Added a check for <scsi/scsi.h> and include it in dlls/ntdll/cdrom.c. 2003-10-07 22:49:22 +00:00
Uwe Bonnes 3e83ec296e Added some tests around fget(w)s. 2003-10-07 05:30:36 +00:00
Uwe Bonnes 7b8b62e61a fget(w)s(): Don't drop characters when buffer is not large enough. 2003-10-07 05:22:04 +00:00
Uwe Bonnes 16fa009085 _write(): Don't fragment WriteFile() for TEXT mode write. 2003-10-07 04:01:28 +00:00
Alexandre Julliard 5d9422b09f Rewrite of the dll file search algorithm to better deal with the
broken behavior of RtlDosSearchPath_U.
2003-10-07 03:48:42 +00:00
Alexandre Julliard 509e4d175a A couple more fixes in RtlGetFullPathName_U.
Reverted my previous fix in RtlDosSearchPath_U, extension handling is
supposed to be broken.
2003-10-07 03:46:34 +00:00
Alexandre Julliard 8d174d3f47 Store the global shell, progman and taskman windows in the server
(based on a patch by Martin Fuchs).
2003-10-07 03:40:23 +00:00
Uwe Bonnes 6fbcacbb92 _read(): In _O_TEXT mode make Readfile calls in chunks as big as
possible.
2003-10-07 03:33:58 +00:00
Dave Belanger d1fa4b2d73 Spit out EMR_RESTOREDC metarecords with -1 as argument as long as we
don't get to the saved state we want.
2003-10-07 03:32:28 +00:00
Jukka Heinonen ca2902f3d1 Use correct pointer when accessing real mode interrupt vectors under
Win16.
2003-10-07 03:32:03 +00:00
Jason Edmeades e0faa866e0 DXTn stride is to the next block, which is the equivalent to 4 rows
worth of bytes.
2003-10-07 03:31:46 +00:00
Daniel Marmier ee1eb63b31 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-07 03:30:47 +00:00
Alexandre Julliard 632676b17e Moved the final process init and dependency loading to
dlls/ntdll/loader.c, (ab)using the LdrInitializeThunk entry point.
2003-10-06 21:18:51 +00:00