Commit Graph

6961 Commits

Author SHA1 Message Date
Jeff Miller 811c4119b9 Mask off bit 0x80 in the accelerator table entry field fVirt if it's
not the last entry.
2003-11-26 22:28:16 +00:00
Huw Davies 96b9057097 Merge GetItem[AW] into GetItemT. 2003-11-26 22:26:19 +00:00
Aric Stewart d78dfc8e44 Redraw if bold state changes. 2003-11-26 22:07:17 +00:00
Robert Shearman 7d6afc5ddc - Add support for TBSTYLE_EX_MIXEDBUTTONS.
- Add support for TBSTYLE_EX_HIDECLIPPEDBUTTONS.
- Replace 'magic numbers' with #define'd constants.
- Fix TBN_INITCUSTOMIZE.
- Add support for TBN_CUSTHELP and TBN_RESET.
- Fix TB_SETEXTENDEDSTYLE (it appears it should or the new style,
  rather than set).
- Fix TB_SETSTYLE (this is meant to be for setting the control style,
  not the button style).
2003-11-26 22:05:02 +00:00
Michael Günnewig edd8bc3a77 Fixed multiple bugs in FindSample implementation of AVI and WAV file
handler.
2003-11-26 22:04:29 +00:00
Ulrich Czekalla 12f7a36132 Always recompute an item's text width in the case of text callbacks
and when its attributes change.
2003-11-26 22:03:58 +00:00
Dmitry Timoshkov 985ae970fb Fix .spec file parameters for CreateDC driver API. 2003-11-26 22:03:34 +00:00
Dmitry Timoshkov 602c4a7e8a Fix another RtlReAllocateHeap call. 2003-11-26 22:03:21 +00:00
Dmitry Timoshkov 86e4079bc2 Make Alt+[national key] menu shortcuts work. 2003-11-26 05:08:48 +00:00
Dimitrie O. Paun 3e54350dc2 {Global,Local}ReAlloc() does not allocate memory. 2003-11-26 05:04:15 +00:00
Alexandre Julliard 77b8c0a42f NE_LoadBuiltinModule: return error 21 if the module we loaded was a
32-bit builtin. This should help WinExec16 to do the right thing.
2003-11-26 04:13:53 +00:00
Alexandre Julliard b7976c00a0 Fixed declarations of BroadcastSystemMessage and TranslateAccelerator
in winuser.h. Added GetWindowModuleFileName.
2003-11-26 04:09:00 +00:00
Alexandre Julliard 29cff12d06 Moved the ShellExecuteEx definitions to shellapi.h where they belong. 2003-11-26 03:59:16 +00:00
Christian Costa 3640c36f8b Fix handling of the lpuDeviceID input param in MIDI_StreamOpen. 2003-11-26 03:39:13 +00:00
Rein Klazes 801cb5a6f1 Fix "sample" box drawing by adding some needed coordinate and size
transformations.
2003-11-26 03:38:39 +00:00
Mike McCormack 7eab865d99 Use the handle deletion mechanism in wmfs. 2003-11-26 03:38:11 +00:00
Huw Davies 5693ecd212 Unicodification. Based on a patch by Aric Stewart. 2003-11-26 03:37:30 +00:00
Dimitrie O. Paun a1cee57ce9 Fix mem leak when GlobalReAlloc() fails. 2003-11-26 03:36:18 +00:00
Dimitrie O. Paun 99bf92e338 SysReAllocStringLen is documented to segfault on NULL pointer. 2003-11-26 03:35:16 +00:00
Dimitrie O. Paun d8aa853596 Fix the IMalloc::ReAlloc() to follow the documented behavior. 2003-11-26 03:34:51 +00:00
Alexandre Julliard cba157e998 Better support for loading exe files as libraries.
Make sure kernel32 and ntdll have a full path name even though they
are loaded before we know the system dir.
2003-11-25 05:28:57 +00:00
Huw Davies 9e8ce63e2e Let enhmetafiles reuse gdi handles. This works by a dc 'registering'
with an object that it wants to know when the object is deleted. Until
the dc gets delete notification it's free to assume that it doesn't
need to write the create record for that object again.  Upon receiving
the delete notification it writes the DeleteObject record. Windows
seems to do it this way too.
2003-11-25 05:03:09 +00:00
Alexandre Julliard 6281d82e87 Store the thread entry point in the startup info passed to the new
thread instead of the TEB.
2003-11-25 03:42:05 +00:00
Huw Davies c2d3477556 Add support for display of dibs on MSB XServers. 2003-11-25 03:27:37 +00:00
Uwe Bonnes 111b1cbf68 INT21_GetFreeDiskSpace(): The drive parameter is found in the DL
register.
2003-11-25 03:26:14 +00:00
Alexandre Julliard 9e73f55af3 Store the last error code at the TEB offset used by NT instead of the
Win9x one.
2003-11-25 01:53:23 +00:00
Eric Pouech ff0365290b Got rid of DRIVE_OpenDevice, and replaced it with Win32 equivalents. 2003-11-25 01:51:07 +00:00
Jon Griffiths 392cbdf7b8 Tests for the non-variant date conversion functions. 2003-11-25 01:50:10 +00:00
Jon Griffiths 4f0f1d9253 Improve/shrink variant dumping code. 2003-11-25 01:49:48 +00:00
Jon Griffiths d537c955bc Implemented the variant formatting functions.
Bool->bstr makes a number str unless [ALPHA|LOCAL]BOOL is passed.
2003-11-25 01:49:31 +00:00
Jon Griffiths f9bca5eaf7 Macros for dumping a variants type and flags.
Fix the date inlines.
Round negative numbers with fractional parts > 0.5 correctly.
2003-11-25 01:48:51 +00:00
Vincent Béron f68ec6fc5d Undefine FAR to avoid conflict with ssl.h. 2003-11-25 01:48:01 +00:00
Mike McCormack b6002e8830 Stub implementation for CreateStdAccessibleObject. 2003-11-25 01:46:10 +00:00
Rein Klazes 8ba9b5fc7e Use button face color for the image mask when adding a bitmap to the
toolbar, not the color of the top left pixel of the image.
2003-11-25 01:45:50 +00:00
Alexandre Julliard 16b4411669 Removed MODULE_GetLoadOrderA. 2003-11-25 01:03:04 +00:00
Dimitrie O. Paun c762f5d7af RtlHeapReAllocate() should not allocate memory.
Add small test to make sure it doesn't return.
Don't import ntdll for tests, we need to load it dynamically.
2003-11-25 01:02:02 +00:00
Ulrich Czekalla e3c9de666d Implemented DMORegister, DMOUnregister, DMOGetName, DMOEnum. 2003-11-25 00:55:57 +00:00
Alexandre Julliard 436eda3071 Removed task.h. 2003-11-25 00:42:26 +00:00
Jon Griffiths eff671ef0d Documentation updates 2003-11-25 00:08:46 +00:00
Michael Günnewig 4a1063c6e9 Implemented IAVIEditSTream_fnPaste method. 2003-11-25 00:07:25 +00:00
Lionel Ulmer 1eaee42399 Use vertex arrays when possible. 2003-11-25 00:06:33 +00:00
Alexandre Julliard c6d44be3e5 Create a huge array in bss to reserve the memory area we need for PE
binaries, to prevent exec shield from mapping system libraries there.
2003-11-22 00:08:26 +00:00
Dmitry Timoshkov 33f9dcb1f9 Move CompareString implementation to libwine_unicode, add a bunch of
CompareString tests.
2003-11-22 00:00:53 +00:00
Eric Pouech 1bcbd54697 HeapReAlloc doesn't allocate memory. 2003-11-21 23:54:04 +00:00
Robert Shearman 3842103c74 Handle EIO file error. 2003-11-21 23:53:44 +00:00
Gregory M. Turner add18f77e9 Implemented RpcObjectSetType. 2003-11-21 22:14:42 +00:00
Alexandre Julliard 15c64e704b Removed the ts_xlib files. 2003-11-21 21:50:59 +00:00
Alexandre Julliard 64c0e2ac96 Removed the remaining TSX calls. 2003-11-21 21:48:36 +00:00
Marcus R. Brown 76fc417588 Replace various routines with a forward to ntdll. 2003-11-21 21:31:35 +00:00
Rein Klazes 7f7cde0eee Fix some confusion between number of bitmaps and number of buttons in
TOOLBAR_ReplaceBitmap().
2003-11-21 21:30:48 +00:00
Huw Davies 4a8e33954e We need to send TVN_EXPAND* on collapsing either when the user has
initiated it with the mouse/keybaord or in response to a TVM_EXPAND
when the state is not TVIS_EXPANDEDONCE.  This brings the logic into
line with TREEVIEW_Expand.
2003-11-21 21:30:20 +00:00
Alexandre Julliard 8a7fbf542d Removed more TSX functions. 2003-11-21 05:41:56 +00:00
Alexandre Julliard 720af28ea4 Always ignore BadMatch errors resulting from XSetInputFocus so that we
don't need to wait for the reply.
2003-11-21 05:30:34 +00:00
Alexandre Julliard 3f6cb0cc3f Delay the creation of the X atoms until we really need them, to allow
getting more of them in one call.
Use XGetAtomNames to retrieve all the selection atoms at once.
2003-11-21 05:23:17 +00:00
Alexandre Julliard 2496c08b76 Get rid of a bunch of TSX functions. 2003-11-21 00:17:33 +00:00
Alexandre Julliard b539a571e3 There's no need to initialize XKB on the GDI display, this saves a
couple of server round trips.
2003-11-20 23:46:24 +00:00
Dimitrie O. Paun f448b79e79 RtlReAllocateHeap() does not allocate memory. 2003-11-20 23:44:13 +00:00
Dimitrie O. Paun f5a23da2b2 Bail when we're out of memory. 2003-11-20 23:42:38 +00:00
Dimitrie O. Paun c5150fb682 Fix realloc() to match the documented behaviour.
Add a few simple tests for it.
2003-11-20 23:41:13 +00:00
Gregory M. Turner 9e85bf3f87 - Trace the argument to RPCRT4_server_thread.
- ^null implies two indirections, we have one.
- Ove's intent doesn't matter, the current implementation is right.
2003-11-20 23:39:18 +00:00
Ulrich Czekalla 032bdc9f1d Initial implementation to support XDND protocol. 2003-11-20 22:09:51 +00:00
Ivan Leo Murray-Smith 5a2f3c1f1f Added/updated Italian resources. 2003-11-20 22:07:35 +00:00
Dimitrie O. Paun c594043316 Make the controls send notifications to the parent window passed to
them in CREATESTRUCT.  Based on a treeview patch by Igor Grahek.
2003-11-20 22:04:13 +00:00
Alexandre Julliard d09c3289a2 Intern all the atoms we'll need in one step to avoid multiple server
round trips.
2003-11-20 04:24:18 +00:00
Francois Gouget cd1a13b00e If using the default values, also set dwType to REG_SZ as our default
strings don't need to be expanded (found by Valgrind).
2003-11-20 04:21:12 +00:00
Francois Gouget a971f54816 Don't use the data returned by RegQueryValueExW if it fails (found by
Valgrind).
A spelling fix.
2003-11-20 04:20:50 +00:00
Dimitrie O. Paun 6443ee58bc Cleanup the edit wndproc a bit. 2003-11-20 04:19:59 +00:00
Dimitrie O. Paun e5762652d2 Remove some dead code: hwndParent is not used anywhere. 2003-11-20 04:19:41 +00:00
Ivan Leo Murray-Smith baa2b1f04f Added Italian language support. 2003-11-20 04:19:18 +00:00
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