Commit Graph

15149 Commits

Author SHA1 Message Date
Huw Davies ef23ab4729 msxml: Add attribute node implementation. 2006-01-18 11:28:34 +01:00
Marcus Meissner 71908c41c3 msvcrt: _makepath(): operate on target buffer directly. 2006-01-17 16:20:37 +01:00
Robert Reif c82a63ba97 dsound: Primary buffer size change tests.
It looks like Windows doesn't change the primary buffer length when
changing formats so make the tests fail now.
This means the current ALSA implementation is broken when hardware
acceleration is set to full and the primary buffer format is changed.
2006-01-17 16:19:54 +01:00
Robert Reif 03b8fca7e2 dsound: Add full duplex tests. 2006-01-17 16:19:14 +01:00
Robert Reif 27e591959f dsound: Add full duplex support. 2006-01-17 16:13:58 +01:00
Robert Reif 3a4e11cd24 dsound: Convert IDirectSoundImpl from a COM class to a regular class
and move most of the COM functions to the DirectSoundDevice class.
2006-01-17 16:10:15 +01:00
Michael Kaufmann 73a23606a9 static control: Immediately repaint the control. 2006-01-17 16:09:32 +01:00
Michael Kaufmann 6ca3e6365a static control: Separate WM_NCCREATE and WM_SETTEXT.
- Separate WM_NCCREATE and WM_SETTEXT.
- WM_SETTEXT and WM_SETFONT are ignored for static controls that don't
  display text.
- WM_SETTEXT must not be used to change the icon/bitmap/metafile.
- Immediately repaint the control on all occasions.
2006-01-17 16:08:59 +01:00
Michael Kaufmann 97be4fa91d static control: Don't load OEM bitmaps. 2006-01-17 16:07:10 +01:00
Michael Kaufmann 2ddbc7b6e0 static control: STN_ENABLE and STN_DISABLE notifications. 2006-01-17 16:06:41 +01:00
Michael Kaufmann 2b8cda7162 static control: Better STM_GETIMAGE.
STM_GETIMAGE returns NULL if the given image type doesn't match the
control's style.
2006-01-17 16:05:25 +01:00
Michael Kaufmann 46d007cedb static control: Support SS_REALSIZEIMAGE.
- Support SS_REALSIZEIMAGE (this flag means "it's not necessary to
  load icons in the default icon size").
- SS_ICON: Ability to display cursors.
2006-01-17 16:04:40 +01:00
Michael Kaufmann 66b5020e02 static control: Support SS_REALSIZECONTROL.
- Support SS_REALSIZECONTROL (this flag means "don't resize the
  control to the size of the bitmap/icon").
- Always call GlobalUnlock16 after GlobalLock16.
2006-01-17 16:03:44 +01:00
Michael Kaufmann 910f4bb50e static control: Background of enhanced metafiles.
- Always paint the background of static controls displaying enhanced
  metafiles.
- Also paint the background if there's no metafile to display.
2006-01-17 16:01:40 +01:00
Michael Kaufmann 7effdb0b23 static control: Support text style flags.
- Support DT_END_ELLIPSIS, DT_PATH_ELLIPSIS and DT_WORD_ELLIPSIS.
- Paint simple text without prefixes (SS_SIMPLE | SS_NOPREFIX) with
  the ExtTextOut function like the native control does.
- Gray text color: Only for non-simple static controls.
2006-01-17 16:00:47 +01:00
Alex Villacís Lasso 5964f663f3 msacm: Add parameter tests for ACM_METRIC_DRIVER_PRIORITY and
ACM_METRIC_DRIVER_SUPPORT.
Fix copy&paste mislabeling on acmDriverID test failure.
2006-01-17 16:00:16 +01:00
Alex Villacís Lasso 1da4b59e33 msacm: Fix acmMetrics(ACM_METRIC_DRIVER_PRIORITY) return on error. 2006-01-17 15:59:59 +01:00
Alex Villacís Lasso 9a577e5e41 msacm: Add support for ACM_METRIC_DRIVER_SUPPORT. 2006-01-17 15:59:02 +01:00
Michael Jung db7a3a352e shell32: Support for CLSID_ShellFSFolder in unixfs. 2006-01-17 15:58:52 +01:00
Vitaly Budovski 624efed78e d3d8: Render state additions.
Implemented D3DRS_EDGEANTIALIAS.
Implemented D3DRS_POINTSPRITEENABLE.
Implemented D3DRS_MULTISAMPLEANTIALIAS.
2006-01-17 15:58:43 +01:00
Alexandre Julliard 37ea1c4659 shlwapi: Fixed use of wrong buffer in SHCopyKeyW. 2006-01-17 13:34:52 +01:00
Robert Shearman a40ce39340 user: Fix WM_QUIT message ordering from PostQuitMessage.
Added a new server call as PostQuitMessage should set a flag in the
message queue to return the WM_QUIT message when there are no other
pending messages, rather than posting a message to the thread queue as
it does at the moment.
2006-01-17 13:14:31 +01:00
Mike McCormack 2e32a425db ntdll: Add a test for NtNotifyChangeDirectoryFile. 2006-01-17 13:13:29 +01:00
Mike McCormack 1f7c81eb36 kernel32: Create a stub implementation for PostQueuedCompletionStatus. 2006-01-17 13:13:01 +01:00
Mike McCormack 9c58884161 ntdll: Use FILE_OPEN instead of OPEN_EXISTING when calling NtCreateFile. 2006-01-17 13:12:43 +01:00
Michael Stefaniuc 2f9c9b31ae oleaut32: Tests for the VarCmp reimplementation. 2006-01-16 21:34:59 +01:00
Michael Stefaniuc f73b68b016 oleaut32: Reimplement VarCmp().
- Supports now all WinXP allowed combinations of input variants.
- VT_RESERVED on input variants is handled now.
- Removed complicated VT_DATE comparision; that's not how Windows does it.
- Improved documentation.
2006-01-16 21:34:50 +01:00
Michael Stefaniuc e47b813fc6 oleaut32: Define missing but useful VTBIT_* macros. 2006-01-16 21:32:24 +01:00
Robert Shearman d9d9d7e897 shell: GetDetailsOf fix.
Initialise hr and psd->str.uType before the call to
IShellFolder_GetDisplayNameOf so that whatever it returns is
preserved.
2006-01-16 21:32:06 +01:00
Robert Shearman f8782733f3 shell: Convert the filesystem shell folder to Unicode. 2006-01-16 21:31:48 +01:00
Robert Shearman 50c1e46d18 shell: Convert SHELL32_GetDisplayNameOfChild to unicode. 2006-01-16 21:31:10 +01:00
Alex Villacís Lasso 8cfa507f31 msacm: Fix incorrect linked list traversing leading to memory/driver
instance leak.
2006-01-16 21:30:52 +01:00
Mike McCormack 13ea51556d kernel32: Move FileCDR16 in with the other 16bit file functions. 2006-01-16 20:51:28 +01:00
Robert Shearman 1f04fc6a49 oleaut: Handle a non-byref variant being passed for a byref param in
ITypeInfo::Invoke.
2006-01-16 20:44:13 +01:00
Robert Shearman d86f8d2ef2 oleaut: Only allocate memory once for each array needed for the
arguments in ITypeInfo::Invoke.
2006-01-16 20:43:55 +01:00
Robert Shearman 0f8db3feca oleaut: Simplify missing argument handling in ITypeInfo::Invoke.
Simplify missing argument handling by pre-allocating an array of the
maximum number of missing arguments there could be.
2006-01-16 20:43:20 +01:00
Huw Davies e7187ff31f msxml: Fix for get_nodeValue on attributes. 2006-01-16 20:43:02 +01:00
Huw Davies 65707fb940 msxml: Implement setAttribute. 2006-01-16 20:42:39 +01:00
Saulius Krasuckas 191f21c7d4 mscms: Collect some data during profile enumeration. 2006-01-16 20:42:24 +01:00
Hans Leidekker 9ba1876c40 kernel: Documentation cleanups. 2006-01-16 20:42:09 +01:00
Rein Klazes de9400262e user: Avoid buffer overflow in sysparams.c.
Increase buffer size to 12 for getting and setting integer parameters
from/to the registry.
2006-01-16 20:41:57 +01:00
Mike McCormack a3348cf4a0 ntdll: Use the NTAPI definition of EXCEPTION_ACCESS_VIOLATION. 2006-01-16 20:40:25 +01:00
Mike McCormack 0c728255a4 ntdll: Add a stub implementation of NtNotifyChangeDirectoryFile. 2006-01-16 20:40:11 +01:00
Robert Reif eb919b5263 dsound: Make dumpCooperativeLevel global.
Remove extern from some function prototypes.
2006-01-16 20:39:52 +01:00
Robert Reif 34ec3a633a dsound: Make some capture functions global. 2006-01-16 20:39:14 +01:00
Mike McCormack 477bce38dc msi: Eliminate a fixed length buffer. 2006-01-16 20:38:28 +01:00
Hans Leidekker f8125a98d8 gdi: better implementation for GetCharABCWidthsFloat{A,W}. 2006-01-16 20:38:17 +01:00
Lionel Ulmer 00577aa605 ddraw: Better simulate what 'GetVerticalBlankStatus' does on real hardware. 2006-01-16 20:38:08 +01:00
Michael Jung f87efbd14e unixfs: Fix SetNameOf.
Ensure that pidls passed to SHNotify are absolute SetNameOf should
fail on absolute path names.
Some tests to show this.
2006-01-16 20:37:51 +01:00
Robert Shearman 1616f81d00 oleaut: Add const attribute to iterators in get functions. 2006-01-14 17:48:12 +01:00
Robert Shearman 0b2c0d8365 oleaut: Initialise more fields in CreateDispTypeInfo.
Don't leave some of the fields of the TLBFuncDesc structure
uninitialised in CreateDispTypeInfo.
2006-01-14 17:47:36 +01:00
Robert Shearman 878af6661e oleaut: Support VT_CY in the typelib marshaller. 2006-01-14 17:47:25 +01:00
Robert Shearman b3041ba6ad ole: Optimisation for COM Calls.
Add an optimisation to yield and try to allow the RPC to run before
waiting for messages and RPCs to arrive.
2006-01-14 17:45:49 +01:00
Alexandre Julliard 30a90e1842 msvcrt: Forward functions to ntdll instead of libc where possible. 2006-01-14 17:42:12 +01:00
Alexandre Julliard b34ac466b1 msvcrt: Added wrappers for a few functions instead of linking them
directly to libc.
2006-01-14 17:40:29 +01:00
Alexandre Julliard 78412005e1 msvcrt: Set errno in the standard math functions too, not only in the
_CI* variants.
2006-01-14 17:36:23 +01:00
Alexandre Julliard ee603ce6dd msvcrt: Make snprintf and snwprintf use the msvcrt version of printf.
Remove todos from tests that succeed now.
2006-01-14 17:30:02 +01:00
Alexandre Julliard ad8cb6133e msvcrt: Reimplement rand() and srand() to use per-thread data for the
random seed.
2006-01-14 17:27:28 +01:00
Alexandre Julliard 2ec3b96135 msvcrt: Make strtok and wcstok thread-safe by using the per-thread data. 2006-01-14 17:24:49 +01:00
Alexandre Julliard f9e5b0f5f0 msvcrt: Implemented asctime, ctime and strftime instead of using the libc ones.
Make the code thread-safe by using asctime_r if available.
2006-01-14 17:22:03 +01:00
Michael Jung b52146d95f unixfs: Fix ParseDisplayName.
Build an absolute pidl to query attributes in
UnixFolder::ParseDisplayName.
2006-01-14 17:10:53 +01:00
James Hawkins d582fdd39e advpack: Remove stub status from implemented functions. 2006-01-14 17:10:31 +01:00
James Hawkins 461904cb6e advpack: Add stubs for CloseINFEngine, OpenINFEngine, and
TranslateInfStringEx.
2006-01-14 17:10:16 +01:00
James Hawkins 9e9fe39774 advpack: Add a stub for AddDelBackupEntry. 2006-01-14 17:09:02 +01:00
Alexandre Julliard ebe727e56d kernel: Make sure the file contains data for the ReadFile test. 2006-01-14 17:08:14 +01:00
Alexandre Julliard 49c7bbe0de rpcrt4: Fixed asm syntax for rep; movsl. 2006-01-14 17:07:28 +01:00
Robert Reif 52e384f9fb dsound: Rename some functions, make some functions global, and move
some code around.
2006-01-14 17:06:52 +01:00
Robert Reif 2d82fc42f0 dsound: Add DSOUND_PrimarySetFormat and use it to set primary format. 2006-01-14 17:06:22 +01:00
Vitaliy Margolen a5074584a8 shell32: Fix cut & paste error. 2006-01-14 17:06:03 +01:00
Huw Davies d9fc6985fa msxml: Implement getAttribute. 2006-01-14 17:05:32 +01:00
Jacek Caban d44364d3fe mshtml: Better handling of IDocHostUIHandler in SetClientSite. 2006-01-14 17:04:54 +01:00
Alexandre Julliard 068cedc7f2 kernel: Reimplemented the MapHInst functions in assembly. 2006-01-13 14:29:30 +01:00
Alexandre Julliard 643463b456 kernel: Reimplemented the SMap/SUnmap functions in assembly. 2006-01-13 14:26:24 +01:00
David Moore 1ef9a6db4e gdi: Fix display of fonts using Symbol codepages and assorted other
codepages.
2006-01-13 14:25:16 +01:00
James Hawkins 05d079a325 advpack: Move file related functions to files.c. 2006-01-13 14:16:29 +01:00
James Hawkins a56e256323 advpack: Add stubs for the file save/restore functions. 2006-01-13 14:16:02 +01:00
James Hawkins 0b2d3f17b3 advpack: Only output a FIXME if flags are set. 2006-01-13 14:15:29 +01:00
Saulius Krasuckas f107125b3b mscms: Fix some wine_todo for GetStandardColorSpaceProfile(). 2006-01-13 14:09:04 +01:00
Saulius Krasuckas 7a044cb365 mscms: Make two checks more strict in the case of success. 2006-01-13 14:08:45 +01:00
Alexandre Julliard 2878d99216 ntdll: Add debug registers to the context of all exceptions.
Maintain a local cache of the debug registers to avoid server calls
where possible.
2006-01-13 13:58:14 +01:00
James Hawkins d6bfc17ba3 advpack: Add initial tests for AdvInstallFile. 2006-01-13 13:54:30 +01:00
James Hawkins 3e8b588d3a advpack: Implement AdvInstallFile. 2006-01-13 13:54:23 +01:00
Phil Krylov 6e3a72549a riched20: Select word on double click. 2006-01-13 13:54:11 +01:00
Phil Krylov e0fc772889 riched20: TODO list update. 2006-01-13 13:53:42 +01:00
Phil Krylov 8205252f10 riched20: Fixed some selection painting bugs. 2006-01-13 13:53:35 +01:00
Jeremy White 9d90ef017c msi: gcc 2.95 compatibility fix. 2006-01-13 13:53:16 +01:00
Jeremy White 2c79ae4746 crypt32: Preserve gcc 2.95 compatibility. 2006-01-13 13:53:05 +01:00
Aric Stewart 21712d3d15 wininet: Handle NULL lpBuffersIn in HttpSendRequestExW. 2006-01-13 13:52:38 +01:00
Saulius Krasuckas d37d5cd51d mscms: Make enumerating more verbose. 2006-01-13 13:52:21 +01:00
Alexandre Julliard eca9e4449c ntdll: Round PE header size to a page boundary for size checks. 2006-01-13 13:52:07 +01:00
Eric Pouech 2cdace2760 ntdll: Created infrastructure to support IOCTL for serial devices.
- created infrastructure in ntdll to support IOCTL for serial devices
- implemented IOCTLs in ntdll for serial break support
- implemented the kernel32 equivalent on top of those IOCTLs
2006-01-12 13:32:51 +01:00
Vitaliy Margolen 978f470692 ntdll: NtQueryInformationToken change parameters according to PSDK.
Check for NULL pointer.
2006-01-12 13:32:09 +01:00
Ge van Geldorp a8d1e6e068 shell32: Fix directory execution.
Only use the Folder class handler if we're actually executing a
folder.
2006-01-12 13:31:45 +01:00
James Hawkins 92797c7b21 advpack: Add documentation for ExecuteCab. 2006-01-12 13:31:23 +01:00
James Hawkins ee3194bee2 advpack: Add stubs for the remaining registry functions. 2006-01-12 13:31:12 +01:00
James Hawkins 877c8092cf cabinet: Move the remaining cabextract.c functions to fdi.c. 2006-01-12 13:30:43 +01:00
Stefan Brüns 324b11f206 commdlg: Makes return value of FILEDLG95_SendFileOK dependent of
return value, not of DWL_MSGRESULT.
2006-01-12 13:30:11 +01:00
Detlef Riekenberg 1be185f76e ntdll/tests: Skip tests if NtCurrentTeb doesn't exist. 2006-01-12 13:29:49 +01:00
Martin Fuchs 73096db501 shell32: MSVC compatibility fix in dump_pidl_hex(). 2006-01-12 13:29:21 +01:00
Robert Shearman 9cc41d278f kernel32: Fix GlobalReAlloc for size = 0.
GlobalReAlloc should return NULL if the requested size is 0, the block
is moveable and it is locked, but otherwise it should return the
original memory block.
2006-01-12 11:55:25 +01:00
Phil Krylov 49eecf5128 riched20: Initial support for word break callback procedures. 2006-01-12 11:54:57 +01:00
Phil Krylov 777d9bfacd riched20: Removed a useless check in painting code. 2006-01-12 11:54:37 +01:00
Huw Davies d2c60e53de gdi: If the last param of GetKerningPairs is NULL then return the
number of pairs.
2006-01-12 11:54:20 +01:00
Robert Shearman d11069f8bb shell: Fix view window Z order.
After creating the Shell View window we should call SetWindowPos to
move the window on top of other child windows in the parent window.
Also delay the showing of the window so that we can do more
initialisation after window creation without it causing visual
artifacts.
2006-01-12 11:54:03 +01:00
Robert Shearman 9227902714 oleaut: Support conversion of VT_SAFEARRAY into VT_ARRAY|type.
Typelib variant types that cannot be converted should return
DISP_E_BADVARTYPE.
Don't call DispCallFunc if conversion of one of the arguments failed.
2006-01-12 11:53:47 +01:00
Robert Shearman f431353058 ole: Fix crash in RpcChannelBuffer_SendReceive.
Initialise apt to NULL since ipid_to_apt_stubbuffer no longer does
this for us.
2006-01-12 11:53:32 +01:00
Robert Shearman 9ac3b28354 ole: Use strict prototypes for some test functions. 2006-01-12 11:53:19 +01:00
Saulius Krasuckas 6aa3d8a443 mscms: Null ID can make GetStandardColorSpaceProfile*() succeed. 2006-01-12 11:53:12 +01:00
Jacek Caban 11a0c8cd39 shlwapi: UrlCanonicalize: fix URL_DONT_SIMPLIFY.
- URL_DONT_SIMPLIFY should change '/' <-> '\'
- Better '/' / '\' handling
2006-01-11 21:15:31 +01:00
Huw Davies 50c64c04df msxml: Implement createNode, appendChild and insertAfter. 2006-01-11 21:15:12 +01:00
Mike McCormack 848f67e13e msi: Make the MSI SelectionTree control do something useful. 2006-01-11 21:12:06 +01:00
Alexandre Julliard 9eae2d714d ntdll: Round up the mapping size in map_file_into_view when setting
the protection bytes.
2006-01-11 20:59:07 +01:00
Juan Lang 79575a8aff crypt32: Fix a test that fails on Windows. 2006-01-11 20:57:41 +01:00
Jacek Caban ab6adcb077 urlmon: Reimplement CoInternetCombineUrl to use pluggable protocol. 2006-01-11 20:57:23 +01:00
Jacek Caban 0d57265a16 urlmon: Use CoInternetCombineUrl in URLMonikerImpl_Construct. 2006-01-11 20:55:51 +01:00
Aric Stewart 4bc3b16b44 msvcrt: Modify dir test to create its own directory to ensure the
directory exists for the test. Using the temp dir as the root.
2006-01-11 20:55:38 +01:00
Phil Krylov 2eb59ee2b0 riched20: Added \n to trace output. 2006-01-11 20:55:18 +01:00
Marcus Meissner cf173911a3 ole: ITypeInfo::Invoke stack overwrite fix.
Have enough stack space up to even VT_VARIANTs, fixes a stack
corruption.
2006-01-11 20:55:07 +01:00
Huw Davies bce90cfb85 msxml: Fix for selectNodes when the node has no children. 2006-01-11 20:54:32 +01:00
James Hawkins 213d8a0f2f cabinet: Remove no longer used code from cabextract.c. 2006-01-11 20:54:10 +01:00
Alexandre Julliard 2654be08d5 ntdll: Handle NtSetContextThread on the client side (as far as
possible) when setting the context of the current thread.
2006-01-11 20:20:32 +01:00
Martin Fuchs 7114f8c3bd shell32: Fix folder icon index when read from registry.
Change "DWORD dwNr" into "int icon_idx" at several places.
2006-01-11 12:33:24 +01:00
Alex Villacís Lasso 6d88d5ad5c winealsa: Ensure that copy_format() will not write past end of
referenced WAVEFORMATPCMEX structure.
2006-01-11 12:33:05 +01:00
Eric Pouech 329ab98940 ntdll: Implemented ntdll.NtSetInformationThread(ThreadAffinityMask).
Reimplemented kernel32.SetThreadAffinityMask on top of it.
2006-01-11 12:32:19 +01:00
James Hawkins 1ca3a4afe3 advpack: Implement ExtractFiles. 2006-01-11 12:13:03 +01:00
James Hawkins 362aa36d09 cabinet: Add documentation for FDITruncateCabinet. 2006-01-11 12:12:54 +01:00
Robert Reif 54cf8ea1ac dsound: Add primary buffer change tests.
Add tests to figure out whether Windows can change the primary buffer
capabilities after setting the buffer format. Based on a patch by Alex
Villacís Lasso.
2006-01-11 12:12:46 +01:00
Mike McCormack 891df89ee7 msi: Remove the font when setting a control's text. 2006-01-11 12:12:16 +01:00
Rob Shearman 823ba55aca comctl32: Test the painting behaviour of the progress bar control.
Test the painting behaviour of the progress bar control when the
PBM_SETPOS message is sent to it, with respect to whether the
background is erased and what part of the control is redrawn.
2006-01-11 12:12:06 +01:00
Mike McCormack ab4438e24d comctl32: Invalidate the entire progress bar any time it changes. 2006-01-11 12:11:46 +01:00
Saulius Krasuckas dc2cdf13a4 mscms: Set the last error code to an unusual value. 2006-01-11 12:10:56 +01:00
Ulrich Czekalla 55f7f8b999 commdlg: If provided use and update hDevMode in the PAGESETUPDLG struct.
Update the dmDefaultSourcea return value inside hDevMode.
2006-01-11 12:10:33 +01:00
Huw Davies 586ed7d458 opengl: Use indirect contexts if the surface is a pixmap. 2006-01-11 12:10:04 +01:00
Robert Shearman 6e6d24e959 ole: Implement IEnumSTATDATA for the Ole Advise Holder.
Implement IEnumSTATDATA for the Ole Advise Holder and use it to
implement the Send* functions.
2006-01-11 12:09:32 +01:00
Robert Shearman 781970f001 ole: Initialise hrref so as not to display garbage in the trace. 2006-01-11 12:09:17 +01:00
Robert Shearman 92ad2958ac ole: Remove some duplicated code. 2006-01-11 12:09:11 +01:00
Rein Klazes fe57d73249 hhctrl.ocx: Report commands in HtmlHelp that are not handled at all. 2006-01-10 20:41:23 +01:00
Phil Krylov 6818762a6e riched20: Reduced screen flicker by using proper update region invalidation. 2006-01-10 20:41:23 +01:00
Vitaliy Margolen 1406010d3c kernel: Remove no longer used debug channel. 2006-01-10 20:41:23 +01:00
Robert Shearman cd2fafb775 ole: Defer apartment window creation until the first object is marshalled. 2006-01-10 20:41:23 +01:00
Robert Shearman fcba783fc7 ole: Add an accessor function for an apartment's window. 2006-01-10 20:41:22 +01:00
Robert Shearman d175f154ba ole: Report and clean up after PostMessage failures. 2006-01-10 20:41:22 +01:00
Robert Shearman a02cb3ebd6 ole: Pass a channel into IRpcStubBuffer::Invoke.
Create a server channel and store this in the ifstub.
Rename ipid_to_apt_and_stubbuffer to ipid_get_dispatch_params and make
the function return an HRESULT.
Return the channel for the ifstub in ipid_get_dispatch_params.
2006-01-10 20:41:22 +01:00
Robert Shearman 8e5b36147d ole: Reduce the access rights required by start_local_service. 2006-01-10 20:41:22 +01:00
Robert Shearman c46386ff5c ole: Return the last error if we couldn't open the requested service.
Fix the ok/failed message.
2006-01-10 20:41:22 +01:00
James Hawkins 4e31bf6863 advpack: Add initial tests for ExtractFiles.
- Use FCI to create a test cabinet file.
- Add initial tests for ExtractFiles.
2006-01-10 20:41:22 +01:00
Robert Shearman b330bd7ae9 rpcrt4: Remove the unused RPCRT4_GetPSFactory function. 2006-01-10 19:59:48 +01:00
Robert Shearman e298538459 rpcrt4: Don't release the interface pointer on failure.
Don't release the interface pointer on failure since we are not the
ones that allocated it. It is the caller's responsability to call
NdrInterfacePointerFree, where the freeing is supposed to happen.
2006-01-10 19:59:26 +01:00
Robert Shearman cb7aa0306e kernel32: Return an error when unlocking a global with a zero lock count.
Rename GLOBAL_LOCK_MAX to the public GMEM_LOCKCOUNT.
2006-01-10 19:59:15 +01:00
Saulius Krasuckas ab113d7e59 mscms: Enumerate registered standard colorspace profiles. 2006-01-10 19:59:02 +01:00
Huw Davies a48bb7b3de msxml: It's valid to release an empty document. 2006-01-10 19:58:42 +01:00
Phil Krylov 1b9fc2a170 comctl32: Fix emitting of NM_CUSTOMDRAW header notifications.
Emit NM_CUSTOMDRAW header notifications for all headers, not only
ownerdrawn. Allow to change item text and background colors in an
application's NM_CUSTOMDRAW handler.
2006-01-10 19:58:24 +01:00
Phil Krylov f5ebb75f08 riched20: Allow NUL characters. 2006-01-10 19:58:00 +01:00
Robert Shearman f61878b1d5 kernel: Remove wine/server.h include from files where it is no longer needed. 2006-01-10 18:09:28 +01:00
Alexandre Julliard 90e3865929 ntdll: NtRaiseException doesn't need to be a register function.
Moved common code between NtRaiseException and RtlRaiseException to a
separate raise_exception function.
2006-01-10 17:51:22 +01:00
Alexandre Julliard 8b84808bed kernel: Don't send a debugger event in UnhandledExceptionFilter,
leave that to the standard ntdll exception handling.
2006-01-10 17:44:39 +01:00
Alexandre Julliard 52bce47b14 kernel: Implement FT_Exit directly in assembly to avoid the overhead
of register functions.
2006-01-10 17:43:05 +01:00
James Hawkins ca0246fbde cabinet: Add initial tests for Extract. 2006-01-10 12:14:47 +01:00
James Hawkins 54565b72fd cabinet: Implement Extract on top of FDI. 2006-01-10 12:13:07 +01:00
Rein Klazes 43694d9582 winedos: Open files with write access on read only media.
If the CreateFile in INT21_CreateFile fails with ERROR_WRITE_PROTECT,
retry without write access.
2006-01-10 12:12:46 +01:00
Phil Krylov d82af6f711 riched20: Speed up text insertion.
Optimized reading large texts into RichEdit to be an O(n) order
algorythm instead of O(n^2) by removing extraneous conversions of
character offsets to run offsets.
2006-01-10 12:10:49 +01:00
Mike McCormack a8b71c2727 advapi32: If we can't connect to a service's pipe, name the service in
the error message.
2006-01-10 12:10:34 +01:00
Mike McCormack f69d7bf0f3 msi: Count the number of columns requested and allocate that many,
as columns may be select more than once in from a table.
2006-01-10 12:10:19 +01:00
Mike McCormack aa81e4fa68 msi: Don't crash if there's no script present when we try execute one. 2006-01-10 12:09:19 +01:00
Mike McCormack 1acf032a99 msi: Fixed the prototype of MsiDatabaseIsTablePersistent.
Implemented MsiDatabaseIsTablePersistentA via the W function.
2006-01-10 12:09:11 +01:00
Troy Rollo b7652d89db user: Fix return type of EnableMenuItem. 2006-01-10 12:08:48 +01:00
Troy Rollo e80a85a33b shell32: Fix bug in renaming files in the file dialogs when UNIX paths
are being used.
2006-01-10 12:08:28 +01:00
Michael Kaufmann 7ff2a68459 user: Improve the ownerdraw support of the static control. 2006-01-10 12:07:57 +01:00
Michael Kaufmann 37c68b47f4 user: The LoadImage resource string may be a numeric string. 2006-01-10 12:07:32 +01:00
Kaj Kaloinen ee9b656edc shlwapi: Add Finnish translation. 2006-01-10 12:07:07 +01:00
Phil Krylov b2d289fa23 comctl32: Call UpdateWindow() after changing statusbar text. 2006-01-10 12:06:44 +01:00
James Hawkins 325c19cfc5 advpack: Add documentation for ExtractFiles. 2006-01-09 20:26:10 +01:00
James Hawkins 18d6f6944b cabinet: Clean up the documentation for Extract. 2006-01-09 20:24:21 +01:00
James Hawkins 6213c452bb cabinet: Add the two flags used by Extract to cabinet.h. 2006-01-09 20:24:10 +01:00
James Hawkins e073fbdce9 cabinet: Define the flags member of the EXTRACTdest structure. 2006-01-09 20:23:34 +01:00
James Hawkins f9859a88d3 cabinet: Fix the second parameter name of Extract. 2006-01-09 20:23:26 +01:00
James Hawkins d57c20ac95 cabinet: Store the cab file handle before extracting files so we can
close the cab file even if no files are extracted.
2006-01-09 20:23:15 +01:00
Phil Krylov a05bfbfb86 comctl32: Fix rebar autosize behaviour.
Allow autoresizing rebar by PostMessage(hwndRebar, WM_SIZE, 0, 0) like
native does, taking as few rows as possible and using the parent
window client area size for the other dimension (width for horizontal
rebars or height for vertical ones).
2006-01-09 18:41:45 +01:00
Phil Krylov a2f883484f user: Fix dropdown combo creation when there is no space for an edit control. 2006-01-09 18:41:33 +01:00
Robert Shearman b75db2d9de ole: Join the MTA if necessary when executing an RPC call.
Join the MTA if necessary when executing an RPC call to ensure that it
is executing with a valid apartment and won't fail for certain COM
calls.
2006-01-09 18:41:19 +01:00
Robert Shearman 1eda42ccac ole: Prefer services over servers.
Attempt to start as a local service before attempting to start as a
local server for the CLSCTX_LOCAL_SERVER case.
2006-01-09 18:40:42 +01:00
Robert Shearman e0605afdf6 ole: Add some tests for CLSIDFromString. 2006-01-09 18:40:27 +01:00
Robert Shearman cc4669cc5f ole: Remove __CLSIDFromStringA.
Move the ANSI implementation of CLSIDFromString to ole16.c and change
CLSIDFromString to only deal with Unicode strings.
2006-01-09 18:40:17 +01:00
Robert Shearman 1926b6da63 rpcrt4: Improve ReadVariance.
Extend ReadVariance to read the offset as well as the actual count,
since these always come in pairs.
Handle the variance not being present in ReadVariance and always call
it from the unmarshalling functions to simplify the code there and
also to fix a bug where the format pointer wasn't advanced properly
for complex arrays (introduced in the previous patch when implementing
variance).
2006-01-09 17:21:01 +01:00
Robert Shearman 2e875d5d35 rpcrt4: Validate complex array format string.
Verify that the format string being passed into the complex array
functions is a complex array one.
2006-01-09 17:20:19 +01:00
Jacek Caban fdc130f753 urlmon: Fix ref counting. 2006-01-09 17:20:04 +01:00
Jacek Caban 99306db99e urlmon: Pass FORMATETC to OnDataAvailable. 2006-01-09 17:19:49 +01:00
Jacek Caban 762e2696df urlmon: Added implementation of protocol stream. 2006-01-09 17:18:06 +01:00
Robert Shearman 811fb7614c Call DisableThreadLibraryCalls for DLLs that don't need thread
creation/destruction notifications.
2006-01-09 17:17:37 +01:00
YunSong Hwang dc8c6bb90b shell32: Update the Korean translation. 2006-01-09 17:17:20 +01:00
Alexander N. Sørnes 22ce9a6653 shell32: Updated Norwegian Bokmål resources. 2006-01-09 17:17:09 +01:00
Hans Leidekker c0a223be60 usp10: Improve stubs.
Improve stubs for ScriptGetProperties and ScriptItemize.
Add stub for ScriptFreeCache.
2006-01-09 17:16:57 +01:00
Mike McCormack 3066397bab kernel: Trying to lock an empty global memory block gives an ERROR_DISCARDED. 2006-01-09 17:16:32 +01:00
Mike McCormack c83a5930b1 user32: Update the list of things to fix in the Combo control. 2006-01-09 17:16:14 +01:00
Rein Klazes 079912c679 user32: Prevent a crash in GetMenuStringA caused by calling strlenW on
a NULL pointer, with a test.
2006-01-09 17:13:44 +01:00
Phil Krylov 194eeaab7d riched20: Fixed calculation of left indent and first indent paragraph
properties.
2006-01-09 17:12:51 +01:00
Phil Krylov 74aa295f55 riched20: Simplified logic in ME_StrRelPos(). 2006-01-09 17:12:34 +01:00
Aric Stewart 3022ade359 msvcrt: Add a regression test for _fullpath. 2006-01-06 21:46:09 +01:00
Aric Stewart e09a6c8080 msvcrt: Reworked _fullpath.
Investigation with native msvcrt revealed that it is a wrapper for
GetFullPathName and the current implementation was crashing with older
mozilla installs if the path passed in was uninitialized.
2006-01-06 21:45:26 +01:00
Alexandre Julliard 0f81ac3506 ole: Remove a no longer needed smbfs hack. 2006-01-06 21:19:05 +01:00
Raimonds Praude 860d682c2b user32: Limit text in the edit field of a combo box. 2006-01-06 21:16:52 +01:00
Marcus Meissner b49a1de179 gdi: Filter GETSCALINGFACTOR and SETABORTDOC proc in metafile
Escapes.
2006-01-06 21:16:37 +01:00
Robert Shearman d2bdbd4ea5 ole: Remove the no longer used _copy_arg function. 2006-01-06 21:16:21 +01:00
Robert Shearman 8cf5373f60 ole: ITypeInfo::Invoke rewrite.
Re-implement ITypeInfo::Invoke on top of DispCallFunc and
VariantChangeType instead of _invoke and _copy_arg.
2006-01-06 21:15:48 +01:00
Robert Shearman 95312fcb63 ole: Remove "stub" from TRACEs of functions that aren't stubs. 2006-01-06 21:08:09 +01:00
Hans Leidekker 43179c26f4 mscms: Silence a potentially noisy fixme. 2006-01-06 21:07:55 +01:00
Hans Leidekker 45fe4642e1 kernel: Documentation cleanups. 2006-01-06 21:07:46 +01:00
Robert Shearman c96e102fff rpcrt4: Compute variance for complex arrays 2006-01-06 21:07:27 +01:00
Robert Shearman 3180de6a98 rpcrt4: Call NdrStubCall2 when dealing with a pure interpreted stub
that has no dispatch table.
2006-01-06 21:07:20 +01:00
Michael Kaufmann e7322e5109 Static control: Support enhanced metafiles. 2006-01-06 21:07:07 +01:00
Thomas Weidenmueller bb56d907e5 comctl32: Reduce memory usage of the syslink control. 2006-01-06 13:08:09 +01:00
Thomas Weidenmueller adc416b756 comctl32: Some painting fixes for the syslink control. 2006-01-06 13:04:14 +01:00
Rolf Kalbermatter d1b375f7e6 urlmon: Fix a LARGE_INTEGER truncation. 2006-01-06 13:03:50 +01:00
Robert Reif e49a5c22fb dsound: Refactor playback.
Replace references of IDirectSoundImpl with DirectSoundDevice to
remove one level of indirection and remove the problem of a three
object circular reference.
2006-01-06 12:35:20 +01:00
Mike McCormack ead00327e9 msi: Unload riched20 after its window is destroyed. 2006-01-06 12:35:09 +01:00
Mike McCormack abbe4b6dd0 msi: Make radio buttons grey out correctly when disabled. 2006-01-06 12:19:33 +01:00
Mike McCormack b9d135a37b msi: Clean trailing and leading spaces from path segments. 2006-01-06 12:19:22 +01:00
YunSong Hwang 43460a9d25 commdlg: Updated Korean translation. 2006-01-06 12:17:24 +01:00
Mike McCormack 98ed3fa553 oleaut32: Output a FIXME message only once. 2006-01-06 12:16:58 +01:00
Robert Reif b2d604a9da dsound: Fix double free bug in tests.
Fix double free in tests.  Only happens in interactive mode when
testing duplicated 3D buffers.
2006-01-06 12:16:41 +01:00
Anssi Hannula 17f0fcc776 shell32: Spelling fixes for the Finnish resource. 2006-01-06 12:16:22 +01:00
Ulrich Czekalla 427920f8a2 ole: Fix SmallBlocksToBigBlocks loop.
Stop copying data when read returns 0 bytes
2006-01-06 12:16:04 +01:00
Robert Shearman 3dea0973d2 Added implementation of security.dll. 2006-01-05 14:39:41 +01:00
Jacek Caban ad02317248 wininet: lpvStatusInfo in INTERNET_STATUS_NAME_RESOLVED,
INTERNET_STATUS_CONNECTING_TO_SERVER and
INTERNET_STATUS_CONNECTED_TO_SERVER should be strings, not
sockaddr_in.
2006-01-05 14:37:06 +01:00
Alexandre Julliard 545c4b7e7c msvcrt: Added assembly routines to save/restore registers for setjmp/longjmp
to avoid the overhead of a full-blown register function.
Some tracing improvements.
2006-01-05 14:36:37 +01:00
Alexandre Julliard abb170fac3 msvcrt: Added some assembly glue for the asm bits of __CxxFrameHandler
to avoid having to save/restore the whole context on every call.
2006-01-05 13:56:11 +01:00
Jacek Caban b235d7953c urlmon: Added implementation of QueryService and stub implementation
of IHttpNegotiate2 interface.
2006-01-05 13:42:43 +01:00
Jacek Caban 6744b9b468 urlmon: Query service provider for IInternetProtocol. 2006-01-05 13:42:32 +01:00
Marcus Meissner 25b54cbb9f winspool: Added ordinal exported functions of winspool.drv. 2006-01-05 13:42:13 +01:00
Dan Kegel d69366a171 oleaut32: Allow _invoke to handle up to 23 parameters. 2006-01-05 13:41:35 +01:00
Eric Pouech 558130a696 dbghelp: StackWalk (32 and 64 bit version).
- enhance implementation of StackWalk (32 and 64 bit version) by
  making use of module information and calling for FPO
- FPO part is still non functional
- implemented SymGetModuleBase64
- stubbed SymFunctionTableAccess64
2006-01-05 13:41:25 +01:00
Robert Reif 5070268711 dsound: Capture refactoring.
Move initialization code from DirectSoundCapture to
DirectSoundCaptureDevice.
Make DirectSoundCaptureBuffer directly reference
DirectSoundCaptureDevice rather than DirectSoundCapture to eliminate
one level of indirection.
Rename DSOUND_CreateDirectSoundCaptureBuffer to
IDirectSoundCaptureBufferImpl_Create to be consistent.
2006-01-05 13:37:15 +01:00
Eric Pouech 5d210af9dc dbghelp: Removed no longer needed 'stub' in TRACEs. 2006-01-05 12:19:18 +01:00
Robert Shearman be77b87600 rpcrt4: Implement NdrClientCall2 and NdrServerCall2. 2006-01-05 12:19:05 +01:00
Robert Shearman 83ff8560c3 ole: Store the result from _invoke in a VARIANTARG structure. 2006-01-05 12:18:54 +01:00
Robert Shearman 1191249fc9 kernel32: Check for the correct error return value from open. 2006-01-05 12:18:29 +01:00
Jacek Caban 089435d43b urlmon: Code clean up. 2006-01-05 12:18:06 +01:00
Jacek Caban c448968bfa urlmon: Added GetBindInfoString implementation. 2006-01-05 12:17:59 +01:00
Alex Villacís Lasso f21c9028a5 msacm: Initialize some ACMSTREAMHEADER fields for the sake of native codecs.
Initialize cb[Src|Dst]LengthUsed to 0 before calling into codec,
required by (some?) native codecs.
2006-01-04 15:27:35 +01:00
Marcus Meissner 5ddf98affe winsock: Map wildcards for socket type and protocol in getaddrinfo(). 2006-01-04 15:07:34 +01:00
Alexandre Julliard 45a4e5439b Set refcount to -1 on implicitly loaded dlls to avoid unloading them
(suggested by Michael Ost).
2006-01-04 14:55:33 +01:00
Marcus Meissner 64869596cf shlwapi: Print PathCombine* strings arguments in relay debugging. 2006-01-04 14:52:55 +01:00
Mike McCormack e534e7726b msi: Apply any MSI transforms specified by the TRANSFORMS property. 2006-01-04 14:51:25 +01:00
Mike McCormack 40a76a58e3 msi: Add a stub for MsiGetLastErrorRecord. 2006-01-04 14:51:05 +01:00
Mike McCormack 576b8a5920 msi: Fixes for the MaskedEdit control.
Allow MaskedEdit masks that aren't enclosed with <>.
Allow the MaskedEdit's edit controls to scroll a bit in case things
don't line up.
2006-01-04 14:49:50 +01:00
Robert Reif 7643df49d7 dsound: Capture cleanup.
Move code and function prototypes around to eliminate forward
declarations.  No code is changed.
2006-01-04 14:49:34 +01:00
Vitaliy Margolen c99880d955 shell32: Create Local AppData for user profile.
Move history and internet tmp files to Local Settings.
2006-01-04 14:48:59 +01:00
Vitaliy Margolen 5e3df98294 shell32: Update Russian resources. 2006-01-04 14:48:28 +01:00
Rein Klazes 1d4b52c254 user32: Menu tracing improvements. 2006-01-04 14:48:07 +01:00
Alexandre Julliard 67f29999a3 ntdll: Check file size when mapping image sections to avoid SIGBUS errors. 2006-01-03 17:39:23 +01:00