Commit Graph

13983 Commits

Author SHA1 Message Date
Alexandre Julliard 4b5f326e3f Default to an empty driver instead of dying if the specified display
driver couldn't be loaded.
2005-10-31 15:43:10 +00:00
Michael Jung 7a48f838dd Added initial tests for shdocvw's FolderShortcut related
functionality.
2005-10-31 14:13:14 +00:00
Marcus Meissner 98ed5585c7 Added assembly implementation of EXC_CallHandler. 2005-10-31 14:08:05 +00:00
Mike McCormack 3e6f31bf0b Fix and test MsiGetProperty and MsiSetProperty. 2005-10-31 14:07:37 +00:00
Mike McCormack 94caa05d07 Improve MsiUseFeatureEx and MsiGetFeatureState a little, add some
simple test cases.
2005-10-31 14:07:20 +00:00
James Hawkins 1928ee8804 Implement InternetCreateUrlW and test cases. 2005-10-31 14:06:35 +00:00
Huw Davies 0d23ac479b Fix handling of relative state indices in RestoreDC.
Fix return value of SaveDC when writing to an emf.
Before writing the EMR_EOF record we should ensure that we clear the
state stack.
2005-10-31 10:05:52 +00:00
Christian Costa be29e3708b Finish moving d3d[1..3] light code to use d3d7. 2005-10-31 10:05:15 +00:00
Marcus Meissner 5c256c518f Define obsoleted CLK_TCK to CLOCKS_PER_SEC if not there. 2005-10-31 10:04:57 +00:00
Hans Leidekker e4ba39b3cc Improve the implementation of SQLConfigDataSource, SQLConfigDriver,
SQLInstallDriver{,Ex}, SQLInstallerError and
SQLInstallTranslator{,Ex}.
2005-10-31 10:04:12 +00:00
Juan Lang 7e5a079d25 Implement CertSignSignature and CertVerifySignature(Ex). 2005-10-31 10:04:06 +00:00
Robert Reif 274de441f7 Add waveOutPause/waveOutRestart test.
Tighten up play duration test when ending too soon.
Set VirtualFree size to 0.
2005-10-31 10:03:25 +00:00
Stefan Leichter e1cf3392cb Stop PathIsValidCharW tests after 100 failing tests. 2005-10-31 10:02:24 +00:00
Roderick Colenbrander 9970133f2b In case of D3D9 the CreateQuery call can be used to retrieve status
information. According to MSDN the 'ppQuery' parameter can be set to
NULL to detect if a certain query Type is supported.
2005-10-31 09:59:56 +00:00
Mike McCormack 559427023f Add a stub for the AllocateRegistrySpace action. 2005-10-30 19:23:28 +00:00
Mike McCormack ec5edeebf4 Define MSIDBOPEN_ constants using LPCWSTR when compiling Wine. 2005-10-30 19:21:51 +00:00
Mike McCormack fa292e4bb2 Add a read-only implementation of the SelectionTree control. 2005-10-30 19:21:24 +00:00
Mike McCormack 7f26cffd6b Simplify register_progid() and remove a fixed length buffer. 2005-10-30 19:17:06 +00:00
Mike McCormack cad9677756 Handle MaskEdit masks containing dashes and other constant
characters.
2005-10-30 19:16:55 +00:00
Mike McCormack 9293f869cc Use msi_get_property_int() in a few more places. 2005-10-30 19:16:45 +00:00
Alexandre Julliard 220f2ce9fb Make all winecrt0 functions and variables hidden. 2005-10-30 19:10:35 +00:00
Julien Cegarra 49c46e9d3d Correct name of sound.dll to sound.drv (WIN16). 2005-10-30 19:06:59 +00:00
Kai Blin 2b5ade97ce A dispatcher for running ntlm_auth. 2005-10-30 19:06:24 +00:00
Michael Kaufmann aa97e9164e Handle the left and right arrow keys. 2005-10-30 19:05:42 +00:00
Mike McCormack 06c477fec8 Add a stub implementation of msi.MsiSetMode. 2005-10-30 19:05:13 +00:00
Mike McCormack f8853e4a9f Remove unused package parameter of register_progid_base(). 2005-10-30 19:04:57 +00:00
Mike McCormack 9ba8ba30bb Use "static const" rather than "const static" as gcc -W complains
about the former.
2005-10-30 19:04:26 +00:00
Robert Reif b8d1544661 Implement _wstrdate and _wstrtime with tests. 2005-10-30 19:03:58 +00:00
Peter Beutner 78ea87c580 Fix exception handling for non CXX_EXCEPTIONs. 2005-10-30 19:03:43 +00:00
Eric Pouech 289889c9ec Implemented local/global atom creation, deletion & lookup on top of
ntdll.
2005-10-29 12:37:42 +00:00
Juan Lang 0fa94b9969 Export functions by ordinal, cryptnet.dll at least depends on it. 2005-10-29 12:37:22 +00:00
Mike McCormack 991bae1409 Don't change the UI level during ExecuteAction. 2005-10-29 11:40:03 +00:00
Mike McCormack 13fee293ba Implement MsiGetFeatureUsageA and MsiUseFeature(Ex)A using their W
versions.
2005-10-29 11:36:57 +00:00
Mike McCormack d693f461ba Remove the unused 1st parameter of ACTION_VerifyComponentForAction. 2005-10-29 11:36:48 +00:00
Mike McCormack 96e24c1d82 Explicitly check for MSICONDITION_TRUE being returned from
MsiEvaluateCondition.
2005-10-29 11:29:31 +00:00
Mike McCormack 9c8458514c Some installers don't call the CreateFolders action before the
InstallFiles action as MSDN specifies, but it still seems to work, so
make sure that we create component directories in the InstallFiles
action anyway.
2005-10-29 11:29:17 +00:00
Vitaliy Margolen c258430643 Unify HEADER_GetItem[A/W] into one function. 2005-10-29 11:08:20 +00:00
Mike McCormack 9d43994ec2 Add a bunch of tests for MsiEvaluateCondition and make them pass. 2005-10-29 11:08:05 +00:00
Mike McCormack 4007d748dc Make enter and escape trigger the default and cancel buttons in
dialogs.
2005-10-29 11:07:46 +00:00
Mike McCormack 29c93e431d Deleted two buggy functions that incorrectly and inefficiently check
whether a row already exists in a table, and replaced them with a call
to an existing working function that does the same thing correctly.
2005-10-29 11:07:29 +00:00
Mike McCormack ab787f9d89 Remove an incorrect comment and check for 0 being an invalid file
handle.
2005-10-29 11:07:11 +00:00
Mike McCormack d730baf3b1 Extract file directly to their target location, bypassing the need to
use temporary files and move files.
2005-10-29 10:31:06 +00:00
Robert Shearman 0033a5a8e7 - Read DLL name from modules in MSFT typelibs.
- A name offset of -1 for a parameter means that it has the same name
  as the function.
- Print an error if a ReadName is attempted with an offset of -1,
  since this will read garbage.
- Implement ITypeInfo_GetDllEntry.
2005-10-29 10:30:57 +00:00
Oliver Stieber 1f2a9e2c31 Move the softwareVertexProcessing flag from the stateblock to the
device because its state shouldn't be recorded in a stateblock.
2005-10-29 10:30:36 +00:00
Robert Shearman e31f610bdb Print an error if a DC is created with a bad device. 2005-10-29 10:29:56 +00:00
Kevin Koltzau f9fb40e572 Enable line editing for _cgets. 2005-10-29 10:29:24 +00:00
Ivan Leo Puoti 52c6299538 Delete some temp files created by the ole32 tests. 2005-10-29 10:29:18 +00:00
Thomas Weidenmueller 561f2f0399 Passing NULL as the last two parameters to ReadFile is illegal and
actually causes a crash on windows. The attached patch fixes this.
2005-10-29 10:29:08 +00:00
Jacek Caban eb68aa7317 Report BINDSTATUS_SENDINGREQUEST in FileProtocol::Start. 2005-10-29 10:28:47 +00:00
Mike McCormack 481bccc8b7 Add an implementation for MsiGetShortcutTargetA/W. 2005-10-29 10:28:30 +00:00
Alexandre Julliard a2fb7c1644 Added an implementation of the FSCTL_DISMOUNT_VOLUME ioctl that
attempts to unmount the Unix device.
2005-10-28 16:45:24 +00:00
Ivan Leo Puoti ce08973ffa Fix NtQueryDirectoryObject prototype, documentation, and the
definition of the structure it uses.
2005-10-28 16:42:11 +00:00
Huw Davies d7d8998d1e xform can be NULL when setting the identity. 2005-10-28 16:41:25 +00:00
Mike McCormack 7d99f36d03 Fix a memory leak. 2005-10-28 16:41:02 +00:00
Mike McCormack 0857fc2919 Handle MSI advertised shortcuts in the shelllink object. 2005-10-28 16:40:51 +00:00
Mike McCormack 7bdcc78bcd Put the UI update code for cabinet file into a separate function. 2005-10-28 10:43:50 +00:00
Oliver Stieber 946f91103d Correct the way that VerFindFileA checks for a file that is
exclusively locked.
2005-10-28 10:42:09 +00:00
Saulius Krasuckas f91b3ae3e4 Test CreateThread() for reception of NULL pointer to TID. 2005-10-28 10:41:57 +00:00
Saulius Krasuckas d599020853 Don't pass CreateThread() with a NULL pointer to TID as Win9x does not
create a thread then.
2005-10-28 10:41:48 +00:00
Mike McCormack 8caef535e0 Return an error in MsiGetComponentPathW if passed a null component. 2005-10-28 10:41:20 +00:00
Mike McCormack 029c83d88e Fix error handling in MsiEvaluateCondition. 2005-10-28 10:41:05 +00:00
Mike McCormack 2fa0dbd595 Translate INVALID_HANDLE_VALUE to zero for cabinet handles. 2005-10-28 10:40:54 +00:00
Saulius Krasuckas d2e0d5e8bd Don't send a CTRL_C_EVENT signal to console if we are on Win9x and
console signal handler is set to NULL.
2005-10-28 10:40:42 +00:00
Vitaliy Margolen 89a4918218 Unify HEADER_InsertItem[A/W] into one function. 2005-10-28 10:40:27 +00:00
Mike McCormack 923a9e47e7 Fix a memory leak in the cabinet extracting code. 2005-10-28 10:09:59 +00:00
Juan Lang 2d6d002b44 Use CryptMem functions for internal memory allocation. 2005-10-28 10:09:26 +00:00
James Hawkins 19ce8115a8 Correct parameter names for InternetSetFilePointer. 2005-10-28 10:08:44 +00:00
Michael Stefaniuc 8ecefe9e93 Handle VT_DECIMAL in VarCmp(). 2005-10-28 10:08:31 +00:00
Mike McCormack cbe3fb6922 Use the correct buffer - reported by Jesse Allen. 2005-10-28 09:40:16 +00:00
Saulius Krasuckas 02a810f10c Add a test for GetThreadExitCode.
Use GetModuleHandleA as kernel32 should be present on every system.
2005-10-28 09:40:09 +00:00
Mike McCormack f86c4e8c90 Implement IContextMenu::QueryContextMenu and
IContextMenu::InvokeCommand.
2005-10-28 09:39:50 +00:00
Mike McCormack 0bf9978da2 Fix MsiGetPropertyA/W spec declarations. 2005-10-28 09:39:35 +00:00
Mike McCormack 03b4dbbdc4 Create component folders in the CreateFolders action. 2005-10-28 09:39:29 +00:00
Vitaliy Margolen a996000ad5 - Send whole OBJECT_ATTRIBUTES.Attributes to the server not just an
inherit flag.
- Pass DesiredAccess to the server when creating mailslot.
2005-10-27 18:30:37 +00:00
Ivan Leo Puoti a0fb866294 Allow mapi32 tests to load and exit gracefully if mapi32.dll isn't
installed.
2005-10-27 18:29:27 +00:00
Ivan Leo Puoti 7230a90821 Delete a temp file. 2005-10-27 18:29:07 +00:00
Vijay Kiran Kamuju ab80e557d7 Add default implementation for max_conn_pre_*_server flag.
Add stubs for the above flags in InternetSetOption.
2005-10-27 18:28:59 +00:00
Phil Krylov 30d6d5dc92 Fixed SetTextAlign(), SetBkMode(), SetROP2(), SetPolyFillMode(), and
SetStretchBltMode() to assume that the corresponding DC driver
functions return only a BOOL success flag, and therefore a proper
return value should be generated by the main function. Fixed
EMFDRV_StretchDIBits() to return a proper value (like
MFDRV_StretchDIBits already does). Added comments about other cases of
improper return values.
2005-10-27 18:28:43 +00:00
Dmitry Timoshkov 26b40c296f Add some missing USER definitions, add a couple of FIXMEs for not
implemented features.
2005-10-27 18:28:23 +00:00
Mike McCormack 558abec8d5 If an action fails, print out its name as well as the error code. Use
%d for error codes so it's easy to match them up to something in
winerror.h.
2005-10-27 12:39:28 +00:00
Mike McCormack 51c6618d8d Rename load_dynamic_stringW to msi_dup_record_field to better describe
what it does, and replace a few instances with MSI_RecordGetString to
avoid allocating memory.
2005-10-27 12:36:12 +00:00
Vitaliy Margolen 1e16caf55d Add test for undocumented 0x4D message sent on F1. 2005-10-27 12:31:04 +00:00
Vijay Kiran Kamuju ecc633adb7 Added a test case for %0f and %.0f. 2005-10-27 12:25:18 +00:00
Mike McCormack 1cd26d25fc Implement transforms. This still includes some debugging code which
can be enabled by setting debug_transform to 1 in the relevant
places.
2005-10-27 12:25:04 +00:00
Robert Lunnon 0989cfae25 Reorder header files to avoid name space collision with symbol
PAGESIZE.
2005-10-27 12:24:42 +00:00
Michael Jung 8fca00e030 Implemented UnixFolder's IPersistPropertyBag::Load method. 2005-10-27 12:09:59 +00:00
Alex Villacís Lasso c1d07134b8 Add tests for functionality implemented or corrected: multiplication,
division, cast to double, cast to string.
2005-10-27 12:09:40 +00:00
Robert Shearman 69562b0edf There is no need to call IUnknown_QueryInterface since getting the
correct object is handled by the proxy manager.
2005-10-27 12:08:58 +00:00
Michael Jung d699222eae Remove iconcache pre-initialization hack, it's not necessary any
more.
2005-10-27 12:08:44 +00:00
Mike McCormack ba293eef48 Tidy up the RegisterProduct action a little. 2005-10-27 12:08:16 +00:00
Oliver Stieber 009cc4e403 Release the OpenGL context when the device is released. 2005-10-27 12:08:00 +00:00
Alexandre Julliard 51fbfbb9bb Make show_dir_symlinks the default and get rid of the option. 2005-10-27 11:22:47 +00:00
Robert Reif e46a0c4763 Added more error codes to dxerr8 and dxerr9 which were extracted from
MinGW win32api-3.3 file dxerr.c written by Filip Navara <xnavara@volny.cz>.
2005-10-27 11:20:15 +00:00
Uwe Bonnes 457ece155f Test for argv handling. 2005-10-27 10:25:49 +00:00
Ivan Leo Puoti e1008c386f Add stub implementation for NtAccessCheckAndAuditAlarm. 2005-10-27 10:25:41 +00:00
Juan Lang c534fa1e82 Implement CryptMem and undocumented I_Crypt*Tls functions, with tests. 2005-10-27 10:24:20 +00:00
Oliver Stieber 473cac840b Correct the number of parameters expected for the LRP function. 2005-10-27 10:23:53 +00:00
Oliver Stieber 9c676e6c19 Changed index and vertex buffer so that internal references are
counted separately to external ones.
2005-10-27 10:23:41 +00:00
Dmitry Timoshkov 520bec000f Correctly handle flags parameter in SHAddToRecentDocs. 2005-10-27 10:22:38 +00:00
Mike McCormack 990e537ac5 Missing and zero precision specifiers are different. 2005-10-27 10:20:08 +00:00
Robert Shearman 3c2bda8f83 Add IFontEventsDisp and IProvideMultipleClassInfo. 2005-10-27 10:19:54 +00:00
Vitaliy Margolen 05905cc526 Unify HEADER_SetItem[A/W] into one function. 2005-10-27 10:19:29 +00:00
Mike McCormack 56aa241b97 Add the IObjectWithSite interface. 2005-10-27 10:19:16 +00:00
Mike McCormack d2232bf88c Add a currently failing test case for menus. 2005-10-27 10:19:01 +00:00
Robert Reif 0c488e76b1 Remove unused variable from IDirectSoundFullDuplexImpl.
Move DirectSoundFullDuplexCreate to get rid of forward declarations.
2005-10-27 10:18:51 +00:00
Alexandre Julliard a51f2becf6 In FindNextFileExW don't report directory symlinks that point to one
of the parent directories, to avoid infinite recursions.
2005-10-26 13:57:45 +00:00
Mike McCormack f8fef6ea94 Create a stub function to apply a single table transform and call it
where we need to apply transforms.
2005-10-26 13:56:33 +00:00
Huw Davies c4e8f06375 Stubs for NdrStubForwardingFunction and NdrCStdStubBuffer2_Release
along with a few related defines.
2005-10-26 13:56:00 +00:00
Alex Villacís Lasso 69b5f808a7 Implement complete VarDecDiv() for any valid DECIMAL. 2005-10-26 13:53:21 +00:00
Alexandre Julliard cb443bdb04 Attach to implicitly loaded builtin dlls on process startup. 2005-10-26 12:12:44 +00:00
Huw Davies 0c6d54631f Treat paramflags == 0 like PARAMFLAG_FIN. 2005-10-26 12:06:49 +00:00
Alex Villacís Lasso fa49ffcb61 Implement complete VarDecMul() for any valid DECIMAL. 2005-10-26 12:06:41 +00:00
Mike McCormack 965a72add0 Enumerate the substorage transforms for any patches that are passed on
the command line with PATCH=.  Need to implement
table_apply_transform() before this will do anything interesting.
2005-10-26 12:06:21 +00:00
Michael Jung 31c9033023 - Try LoadLibrary/LoadImage to extract icons from wine's built-in dlls
if SearchPath fails to find the requested file in
  PrivateExtractIcons.
- Some unit tests for PrivateExtractIcons.
2005-10-26 12:05:59 +00:00
Michael Stefaniuc c64abfa374 Handle VT_CY in VarDiv(). 2005-10-26 12:05:39 +00:00
Detlef Riekenberg 2ee26f2145 Updated trace to support VERSIONED_PRINTER. 2005-10-26 12:05:17 +00:00
Peter Beutner 4dcab2805c Proper implementation of IOCTL_{STORAGE,CDROM}_CHECK_VERIFY. 2005-10-26 10:13:09 +00:00
Robert Shearman 22c97cd98a Implement a Stop function and use this to properly implement
IOleObject_Close, IAdviseSink_OnClose and the destructor.
2005-10-26 10:12:49 +00:00
Robert Shearman 5c2a708d51 - Forward IDispatch functions to the MIDL-generated proxy.
- Remove special cases caused by previous marshaling of IDispatch &
  IUnknown that is no longer done.
- Add error messages if an IUnknown or IDispatch method is called when
  it no longer should be.
2005-10-26 10:12:30 +00:00
Alex Villacís Lasso 00187fab29 Implement complete VarBstrFromDec() for any valid DECIMAL, with
internationalization support borrowed from VARIANT_BstrFromReal(). The
decimal fix for VARIANT_BstrFromReal was encapsulated in a separate
function and reused.
2005-10-26 10:12:20 +00:00
Vitaliy Margolen 453e16d329 Silently ignore WM_PAINT in msg tests. 2005-10-26 10:11:52 +00:00
Vitaliy Margolen eb8478002d Cosmetic changes to NtCreateNamedPipeFile change "oa" to "attr". 2005-10-26 10:11:08 +00:00
Mike McCormack 6d9c80e8a0 Create an internal handle-free api for reading MSI database summary
information.
2005-10-26 10:10:50 +00:00
Mike McCormack 2cb2316557 Switch back to using IPicture to load images. LoadImage did the
resizing for us, but doesn't handle jpeg files and requires us writing
a temp file, whereas IPicture handles jpeg files and can load directly
from a stream.
2005-10-26 10:10:34 +00:00
Dmitry Timoshkov 62d3ab9bd0 Add a test for GetCurrentObject, make it pass under Wine. 2005-10-26 10:10:23 +00:00
Ivan Leo Puoti 372a281c24 Make secur32.dll tests load on nt 4.0. 2005-10-26 10:09:53 +00:00
Hans Leidekker 5a932ccd71 Implement SQLInstallDriverManager. 2005-10-26 10:09:34 +00:00
Stefan Huehner 927ba076f1 Fix IXMLDOMDocument error handling. 2005-10-26 10:09:22 +00:00
Eric Pouech 0518c164ca Previous fix incorrectly removed all test for strings starting with
'?', this is only valid when undname is called with the 'NO_ARGUMENTS'
flags.
2005-10-26 10:09:05 +00:00
Stefan Leichter 3cb62c6532 Fix for GetPrinterDriverDirectoryA test. 2005-10-26 10:08:38 +00:00
Vitaliy Margolen c3bb842237 Test for return value from CreateDirectory("c:"). 2005-10-26 10:08:20 +00:00
Jacek Caban 02708c6227 Make functions static. 2005-10-26 10:07:58 +00:00
Uwe Bonnes dc4f752e9d Fix gcc 4 warnings. 2005-10-26 10:05:27 +00:00
Saulius Krasuckas a4dfeca2ca Link to {G|S}etRelAbs() during runtime as Win9x OSes miss them. 2005-10-26 10:05:07 +00:00
Rein Klazes 16a5c4fbca Fixed a lot of bugs in TEXT_TabbedTextOut. With the test cases used to
find them.
2005-10-26 10:04:21 +00:00
Michal Suchanek 8741940a1b Make Czech font selection dialog usable. 2005-10-24 21:41:43 +00:00
Eric Pouech 904b6ea8e3 Made accept thread safe(r). 2005-10-24 21:41:34 +00:00
Vitaliy Margolen f610f31c10 Fix bad mouse lag in games that do their own mouse warping. 2005-10-24 15:11:37 +00:00
Robert Lunnon c22716f5ec Rename queue_t to jobqueue_t to avoid collision with library symbol
queue_t.
2005-10-24 15:03:02 +00:00
Robert Lunnon c0fcf36e0a Added header errno.h. 2005-10-24 15:02:30 +00:00
Alexandre Julliard bb648917b6 _cexit should call the atexit functions. 2005-10-21 15:55:20 +00:00
Troy Rollo c0b79e0b05 Detect when the notification callback has destroyed the ListView to
avoid attempts to access data that is no longer valid.
2005-10-21 15:49:36 +00:00
Krzysztof Foltman 364c3aa449 Separators with group style set don't separate toolbar radio groups
anymore (which broke tool selection in Front Panel Designer).
2005-10-21 15:45:11 +00:00
Richard Cohen b26ae86b58 Handle NULL string lparam when translating messages A->W. 2005-10-21 15:43:09 +00:00
Alexandre Julliard 4a0a099c11 Fixed a handle leak. 2005-10-20 13:21:39 +00:00
Vincent Béron 18e909e650 Allow file:/// protocol to be used to download the Mozilla ActiveX
control.
2005-10-20 13:20:03 +00:00
Vijay Kiran Kamuju 9c6a15ce62 Fix msvcrt symbol demangling for non MS symbols. 2005-10-20 13:15:11 +00:00
Vincent Béron 3eb08c44e7 Remove tempfile used to download Mozilla ActiveX control once it's not
used anymore.
2005-10-20 13:14:31 +00:00
Vitaliy Margolen 247ab64d38 Restore focus to the current control without selecting text. 2005-10-20 11:36:55 +00:00
Rein Klazes 551ef36517 In GetDiskFreeSpace:
- only cap the total size and available size to 2GB in Win3.x thru
  WinME;
- in that case adjust number of clusters to be less then 65536 by
  increasing the cluster size;
- add corresponding tests.
2005-10-20 11:36:40 +00:00