Commit Graph

7042 Commits

Author SHA1 Message Date
Gerald Pfeifer
e04b8d5056 Avoid long long constant. 2003-11-20 04:18:50 +00:00
Grant Williamson
2a825b9e3b Dutch keyboard support. 2003-11-20 04:14:30 +00:00
Alexandre Julliard
12d3d81cbd Use a more portable way to generate authors.c. 2003-11-19 02:35:31 +00:00
Rein Klazes
e617a9c528 Include ft2build.h before freetype/freetype.h. Libfreetype 2.1.7
requires this.
2003-11-19 02:18:13 +00:00
Ivan Leo Murray-Smith
15a9d28707 Added/updated Italian resources. 2003-11-19 02:14:44 +00:00
Lionel Ulmer
63d9cfcf11 Fix some other multi-texturing problems. 2003-11-18 23:20:25 +00:00
Robert Shearman
d6254fcb43 - AVI Splitter implementation.
- Add new debugging function wine_dbstr_longlong.
2003-11-18 20:47:48 +00:00
Francois Gouget
84540b4dc7 Assorted spelling fixes. 2003-11-18 20:41:24 +00:00
Mike McCormack
a7270ec780 Improve error handling in CryptAcquireContext. 2003-11-18 20:40:12 +00:00
Hans Leidekker
af7e65b46d Account for the fact that the temporary directory may expand to a long
name.
2003-11-18 20:39:34 +00:00
Alexandre Julliard
129f1e6910 Generate the authors list for the shell about dialog from AUTHORS at
compile time. Converted the about dialog to Unicode.
2003-11-18 19:50:24 +00:00
Dmitry Timoshkov
f2963aeb86 Make national (hot)keys work in menus. Make menu code use unicode APIs. 2003-11-18 19:42:31 +00:00
Huw Davies
a63270f183 Unswap Page Up & Down and fix TBS_DOWNISLEFT.
NM_* notifications go via WM_NOTIFY not WN_?SCROLL.
Pull the notification window from the CreateStruct.
Send a TB_THUMBPOSITION at the end of a drag.
2003-11-18 19:39:40 +00:00
Francois Gouget
6768ecb6c1 Scale the buffer sizes with MAX_LISTED_ENV_VAR.
Add a note about the limited buffer size used by the *Profile functions.
Fix a couple of spelling errors.
2003-11-18 19:38:51 +00:00
Rein Klazes
b76e883344 The LVN_GETDISPINFO notify message should point to the same iSubItem
as in the call to LISTVIEW_GetItemT, valid or not. Fix a badly placed
brace.
2003-11-18 19:38:30 +00:00
Alexandre Julliard
a7ce2abc9d Removed include/selectors.h. 2003-11-18 00:16:25 +00:00
Alexandre Julliard
746d900b04 Force minimum stack size to 1Mb for Xlib. 2003-11-18 00:14:17 +00:00
Martin Fuchs
76adb1ff0d - Move shell window into the background.
- Add tests for Get/SetShellWindow().
2003-11-18 00:13:34 +00:00
Sami Aario
f22a4720b5 Added some conformance tests for ddraw. These enumerate some display
modes and then attempt to open them.
2003-11-18 00:12:00 +00:00
Alexandre Julliard
204847e8f6 Use the wine_ldt_* functions directly in winedos instead of calling
SELECTOR_AllocBlock.
2003-11-18 00:06:15 +00:00
Aric Stewart
89ba8760f3 We need to make sure that customdraw_fill is called even if
CDRF_NOTIFYITEMDRAW is not being used because we used the text and
background colors from that struct later.
2003-11-18 00:04:27 +00:00
Dmitry Timoshkov
1fa82e51c2 Apply same magic to LibAttr.lcid from MSFT to SLTG. 2003-11-18 00:02:25 +00:00
Alexandre Julliard
d868549754 Moved toolhelp.h to dlls/kernel. 2003-11-17 20:49:45 +00:00
Alexandre Julliard
f9be2f3d21 Removed some unnecessary includes. 2003-11-17 20:31:29 +00:00
Alexandre Julliard
464cc10419 Fixed regression in loading of builtin apps from the system dir when
the native doesn't exist.
2003-11-17 20:18:19 +00:00
Alexandre Julliard
d3fb25cd0f Moved a few definitions used in only one source file out of module.h. 2003-11-17 20:16:38 +00:00
Alexandre Julliard
8fb98a41e0 Added wine_ldt_is_system() to replace the IS_SELECTOR_SYSTEM macro,
and stop exporting the WINE_LDT_FIRST_ENTRY constant.
2003-11-17 20:12:56 +00:00
Jason Edmeades
912c09b8ef Disable the use of the 'w' parm in rhw mode. 2003-11-17 20:04:44 +00:00
Jason Edmeades
61608b71fc If swap mode is discard, clear the backbuffer before moving onto the
next frame.
2003-11-17 20:04:30 +00:00
Jason Edmeades
96be4449f3 Use the current window visual only. 2003-11-17 20:04:08 +00:00
Robert Reif
58fe9f1fc0 Initialize buffer reference count. 2003-11-17 20:03:42 +00:00
Lionel Ulmer
a122673ebf Fix graphical corruption on surface lock when multi-texturing is
active.
2003-11-17 20:02:33 +00:00
Rein Klazes
7b6b9d6e93 Ignore invalid iSubItem in LISTVIEW_GetItemT(). 2003-11-17 20:01:49 +00:00
Ivan Leo Murray-Smith
e2b29cc65f Improved Italian translations. 2003-11-17 20:00:33 +00:00
Ivan Leo Murray-Smith
e51000f44f Added Italian translation. 2003-11-17 19:59:13 +00:00
Alexandre Julliard
e983652363 Moved a number of DOS definitions out of the global headers and into
winedos private files. Removed the msdos.h header.
2003-11-15 00:13:20 +00:00
Alexandre Julliard
4044372596 Moved winedos loading functionality to dlls/kernel/instr.c and get rid
of msdos/dpmi.c.
2003-11-14 21:08:39 +00:00
Robert Reif
3f1498fc6c Fixes more use before set races.
Work around for queue reordering feature.
Stop recording on reset.
Better debug info.
Dsound callback capture state fix.
2003-11-14 21:03:24 +00:00
Jon Griffiths
136fa03fbf Implement the non-variant date conversions correctly, without going
through 'struct tm' first. Handle negative & 'rolling' dates too.
2003-11-14 21:01:36 +00:00
Jon Griffiths
2f558b53f1 Add some missing prototypes/defines.
OaBuildVersion() returns a ULONG, not UINT.
2003-11-14 21:01:15 +00:00
Jon Griffiths
bb61fe35a2 Dump a few more known variant types.
Don't call DateToTM() - it's going away soon.
2003-11-14 20:59:46 +00:00
Jon Griffiths
998cdd650a Fix a crash in GetLocaleInfo() when extra high bits are set. 2003-11-14 20:59:03 +00:00
Alexandre Julliard
adfa5e101f Repaired INT21_FindFirst/FindNext. 2003-11-14 06:22:32 +00:00
Eric Pouech
8ca6cadab1 - moved the remaining of int21 calls to dlls/winedos
- disabled drive enabling/disabling as well as disk serial number
  writing (for DLL separation issues)
- added volume management prototypes to include/winbase.h
- started DefineDosDevice (needed by first item in this list)
- removed int21 specific code from dlls/kernel
2003-11-14 04:54:39 +00:00
Raphael Junqueira
0196861349 Add the wined3d dll for beginning a cleaner d3d architecture that will
contain the shared openGL code needed for all wine direct3d
implementations.
2003-11-14 03:50:35 +00:00
Dmitry Timoshkov
b0c2e54a03 Add preliminary support for keyboard layout APIs. 2003-11-14 03:32:43 +00:00
Kirill Smelkov
676164cc39 Added _execle/_execlpe & _spawnle/_spawnlpe stubs. 2003-11-14 03:29:51 +00:00
Alexandre Julliard
55b51eabdf Removed instance.h and callback.h, moving their contents to
kernel_private.h.
2003-11-13 21:04:01 +00:00
Alexandre Julliard
7999469e7d Moved memory/environ.c, memory/virtual.c and misc/cpu.c to
dlls/kernel.
Get rid of the memory/ directory.
2003-11-13 20:58:55 +00:00
Alexandre Julliard
0b2f7a81c9 AVM GmbH http://www.avm.de/
Removed some old RCS comments.
Fixed a message location and CAPI_WAIT_FOR_SIGNAL.
2003-11-13 20:51:49 +00:00
Huw Davies
83e9fd8513 Implemented LVS_EX_CHECKBOXES. 2003-11-13 20:50:25 +00:00
Dmitry Timoshkov
d6872aff18 Avoid setting infoPtr->firstVisible to NULL in TREEVIEW_Sort. 2003-11-13 20:49:00 +00:00
Huw Davies
ef2ac7acc3 Scale the OUTLINETEXTMETRIC's bounding box with the font size.
Fix wineps's font downloaders to cope with this behaviour.
2003-11-12 22:42:55 +00:00
Huw Davies
50c9ff030f Fix some weird logic in ImageList_Write. 2003-11-12 22:41:44 +00:00
Huw Davies
ac24a0a692 A multicolumn listview should get a customdraw notification for the
item as well as one for subitem 0.
2003-11-12 22:41:27 +00:00
Christian Costa
2aba972aff Alsa midi fixes. 2003-11-12 22:40:59 +00:00
Alexandre Julliard
daeccba704 Moved the exec_wine_binary function to the wine library, and use it to
exec the wineserver too.
2003-11-11 22:21:29 +00:00
Alexandre Julliard
dfe1df6408 Make sure the protection flags on the memory view of the PE header
match the actual mmap protection.
2003-11-11 22:06:59 +00:00
Ulrich Czekalla
fd5e811c4e Added stubs for AccessCheckByType, AddAuditAccessAce,
GetNamedSecurityInfoA, GetNamedSecurityInfoW.
Implemented ConvertStringSecurityDescriptorToSecurityDescriptorW,
DeleteAce, MakeAbsoluteSD, GetAclInformation, ConvertStringSidToSidW,
RtlDeleteAce, RtlQueryInformationAcl.
2003-11-11 22:03:24 +00:00
Andreas Mohr
34ed04f1fa Don't include build number in GetVersion() for Win9x versions. 2003-11-11 22:00:14 +00:00
Mike Hearn
2ea3dc4302 Implemented ReportEventA/W. 2003-11-11 21:59:15 +00:00
Dmitry Timoshkov
4f21b3cd64 Fix a bug in VkKeyScan. 2003-11-11 21:57:52 +00:00
Carlos Lozano
b40a287e03 NtReadFile checks that offset is not null. 2003-11-11 21:57:07 +00:00
Robert Reif
56c449b9e6 Don't flag failed opens of unsupported formats as an error. 2003-11-11 21:56:21 +00:00
Huw Davies
4a8c8e4e1b Handle multicopy printing correctly. 2003-11-11 20:41:14 +00:00
Gerald Pfeifer
149bb9e625 Fix format strings in T42_download_header() and T42_download_glyph(). 2003-11-11 20:40:27 +00:00
Dmitry Timoshkov
bec6cfe0d0 Constify strings. 2003-11-11 20:39:34 +00:00
Alexandre Julliard
4d626b062b Authors: Dmitry Timoshkov <dmitry@codeweavers.com>, Huw Davies <huw@codeweavers.com>
Constify strings.
Fix args of [GS]etPrinterDataEx
2003-11-11 20:38:51 +00:00
Lionel Ulmer
a39afdd633 Fix parsing of GL version string in X.Y cases. 2003-11-11 20:38:20 +00:00
Jukka Heinonen
d7ee5f3f31 Fix race in real mode event handling.
Merge real mode pending event checking routines.
Remove some obsolete code.
2003-11-11 00:44:10 +00:00
Raphael Junqueira
63c1093f24 - stupid typos fixes on software vertex shader operands
- CopyRects fix (problem in error paths) based on Carlos Lozano patch
2003-11-11 00:43:51 +00:00
Huw Davies
b330df5665 Rewrite ScrollDC. 2003-11-11 00:43:16 +00:00
Huw Davies
e459f7a681 Much better parsing of /etc/printcap.
Don't even try to use heuristics to guess whether the printer is
PostScript or not - we're going to get it wrong anyway.
Don't list printer entries that begin with ispunct() - these are used
for 'tc' aliases.
2003-11-11 00:42:35 +00:00
Lionel Ulmer
b6ddd8cadb Better color-keying support. 2003-11-11 00:31:16 +00:00
Dmitry Timoshkov
b95693c632 Constify strings. 2003-11-11 00:30:42 +00:00
Huw Davies
4e947d2f7b Implement the missing tesselator functions and fix the tesselator
callbacks so that the correct calling convention is used.
2003-11-11 00:30:10 +00:00
Huw Davies
5722f67bb6 GetTextExtentPoint already adds char_extra so don't add it on again. 2003-11-11 00:28:51 +00:00
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