Commit graph

18272 commits

Author SHA1 Message Date
Casper Hornstrup f244ed68b8 Move CreateFile test
svn path=/trunk/; revision=19362
2005-11-20 13:45:15 +00:00
Casper Hornstrup 031ac865db Remove support for performance tests since that never worked
svn path=/trunk/; revision=19361
2005-11-20 13:34:15 +00:00
Casper Hornstrup f1bef0d01a Add missing stubs
svn path=/trunk/; revision=19360
2005-11-20 13:17:05 +00:00
Casper Hornstrup 9fc1f92d21 Handle indirect calls to functions in external modules
svn path=/trunk/; revision=19359
2005-11-20 13:12:33 +00:00
Martin Fuchs 3385bb9ee8 corect scroll icon hotspot for big icon mode
svn path=/trunk/; revision=19358
2005-11-20 09:09:19 +00:00
Alex Ionescu 474b9e8155 It is generally considered a good idea to release a fast mutex in the same order that you acquired it, since acquiring at passive->apc and apc->apc does not bode well when you release to apc->passive. passive->apc. This fixes the npfs bug on vmware, lowering the total npfs bug count to a mere 42.
svn path=/trunk/; revision=19357
2005-11-20 08:46:09 +00:00
Gé van Geldorp 4c62f96aad Vitaliy Margolen <wine-patch@kievinfo.com>
- Michael Jung <mjung@iss.tu-darmstadt.de>
  Set all capability flags supported by the shellfolder, disregarding
  the flag mask given to GetAttributesOf.
  Unit tests to demonstrate this behaviour.
Michael Jung <mjung@iss.tu-darmstadt.de>
- Added some comments to document unixfs.
- Fixed crash in unixfs shellfolder handling with winamp.
- Implemented UnixFolder's IPersistPropertyBag::Load method.
- Initialize COM prior to displaying the SHBrowseForFolder dialog.
- More robust code for querying ShellFolder attributes (some
  ShellFolders ignore the flag mask in GetAttributesOf).
- Remove iconcache pre-initialization hack, it's not necessary any
  more.
- Move target folder initialization to a dedicated function.
- Use this function in BindToObject (should be faster).
- Special handling for FolderShortcut objects in Initialize method.
- Removed a todo_wine from a no longer failing unit test.
- Replaced tabs with spaces.
Robert Shearman <rob@codeweavers.com>
- Convert SHELL32_BindToChild to Unicode and fix up the callers.
Vincent Bén <vberon@mecano.gme.usherb.ca>
- Unicodify systray.c.
- Move functions a bit to get rid of a static declaration.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Correctly handle flags parameter in SHAddToRecentDocs.
Martin Fuchs <martin-fuchs@gmx.net>
- Correct WINAPI position for MSVC portability.
Mike McCormack <mike@codeweavers.com>
- Partially implement and test the shelllink object's
  IShellLinkDataList::CopyDataBlock and GetFlags methods.
- Use advapi32.CommandLineFromMsiDescriptor to get msi component paths.
- Pass the correct verb.
  Add a space between extra parameters.
  Wait for ShellExecute to complete.
- Handle MSI advertised shortcuts in the shelllink object.
- Implement IContextMenu::QueryContextMenu and
  IContextMenu::InvokeCommand.
- Add the IObjectWithSite interface.
- Invoke shortcuts through IContextMenu, rather than trying to access
  them directly.
- Fix a problem spotted by Dmitry and another one stopping correctly
  formatted lnk files from being generated.

svn path=/trunk/; revision=19356
2005-11-20 08:41:46 +00:00
Alex Ionescu e65d49b000 Make the address space mutex unsafe, because sometimes it is acquired at > APC_LEVEL. This makes bugchecks...'work'...again (how ironic).
svn path=/trunk/; revision=19355
2005-11-20 03:16:26 +00:00
Alex Ionescu 216543bf9a Fix hal build
svn path=/trunk/; revision=19354
2005-11-19 23:07:32 +00:00
Alex Ionescu 217fc0b603 - Deprecated
svn path=/trunk/; revision=19353
2005-11-19 22:32:09 +00:00
Alex Ionescu b8f8ea844f - Reimplement Fast Mutex implementation in HAL/NT to be compatible with the real implementation. (Fast Mutex needs to raise IRQL).
- Implement ExEnterCriticalRegionAndAcquireFastMutexUnsafe and ExReleaseFastMutexUnsafeAndLeaveCriticalRegion.
- Make win32k use those two new functions so that it can continue running at PASSIVE_LEVEL.
- Remove CcBrokenMutex and use the new APIs instead.
- Implement and export ntoskrnl version of Fast Mutex
- Update headers for new fast-mutex definition and API exports.
- Fix RemoveEntryList in NDK.
- Add exfuncs.h to NDK.
- Fix path in mmtypes.h in NDK to be compatible to how it shoudl be included.

svn path=/trunk/; revision=19352
2005-11-19 22:13:35 +00:00
Casper Hornstrup e89ef63b04 Create parent directory before creating the definition file
svn path=/trunk/; revision=19351
2005-11-19 21:07:25 +00:00
Thomas Bluemel 60ed715e3e Add dhcpcapi.dll to the bootcd. Fixes bug 1037
svn path=/trunk/; revision=19350
2005-11-19 19:20:51 +00:00
Aleksey Bragin e9bd48433d According to MSDN: "PnP Manager queries a device's BusRelations (child devices) when the device is enumerated".
This change implements this behaviour in reactos (thanks Filip Navara for providing this good idea). Before, querying BusRelations was done only for ACPI/BUS_EXTENDER DeviceType.

svn path=/trunk/; revision=19349
2005-11-19 19:10:13 +00:00
Filip Navara 407573dbb8 Don't bail out for unparsable environment variables.
svn path=/trunk/; revision=19348
2005-11-19 18:58:04 +00:00
Filip Navara 59abe42fd8 Uncomment MAC code page and font signature locale strings.
svn path=/trunk/; revision=19345
2005-11-19 18:01:10 +00:00
Magnus Olsen 6ea2d31a1e "sync up sprintf.c with swprintf.c. They both do the same except one is the wchar-version, so they shouldn't differ in other parts." by Elrond <elrond(at)samba(dash)tng(dot)org>
svn path=/trunk/; revision=19344
2005-11-19 14:23:33 +00:00
Hervé Poussineau f5238f3c36 Sorry, I forgot to commit this file...
svn path=/trunk/; revision=19343
2005-11-19 13:31:52 +00:00
Thomas Bluemel 2dbda08b7e Add a stub for ClientSideInstallW. umpnpmgr is supposed to run rundll32 in the context of the currently logged on user like this:
"rundll32.exe newdev.dll,ClientSideInstall \\.\pipe\PNP_Device_Install_Pipe_0.{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}"

svn path=/trunk/; revision=19342
2005-11-19 13:27:27 +00:00
Hervé Poussineau 2c5fc4425c Fix access rights (even if not checked in KernelMode)
svn path=/trunk/; revision=19341
2005-11-19 09:29:20 +00:00
Hervé Poussineau b4c206def5 Implement InterfacePciDevicePresent(Ex) of PCI_DEVICE_PRESENT_INTERFACE
svn path=/trunk/; revision=19340
2005-11-19 09:08:08 +00:00
Hervé Poussineau e6bbd8f247 - Send ExGetPreviousMode() to ObReferenceObjectByHandle instead of UserMode
- KeGetPreviousMode -> ExGetPreviousMode changes

svn path=/trunk/; revision=19339
2005-11-19 09:05:37 +00:00
Ged Murphy b659ca827a Note to me, check build in mingw before commiting.
svn path=/trunk/; revision=19338
2005-11-19 00:16:18 +00:00
Thomas Bluemel f2c46acc54 fix the build
svn path=/trunk/; revision=19337
2005-11-18 23:58:48 +00:00
Ged Murphy 6196249dba add library
svn path=/trunk/; revision=19336
2005-11-18 23:38:38 +00:00
Ged Murphy f9ce3f9550 update my todo list
svn path=/trunk/; revision=19335
2005-11-18 23:35:16 +00:00
Thomas Bluemel edeb6b991c - define STATUS_* codes correctly in winnt.h and ntstatus.h
- fix code that incorrectly includes headers for status codes (changes to files shared with wine will be submitted to winehq)
- fix wine SEH macros and support code, these changes should enable us to port crypt32.dll (and maybe other libraries) without modifications

svn path=/trunk/; revision=19334
2005-11-18 23:19:48 +00:00
Thomas Bluemel 33830d0a76 fixed uninitialized variable warnings
svn path=/trunk/; revision=19333
2005-11-18 23:19:38 +00:00
Ged Murphy 64bc82cc1a - use InterlockedExchange for setting shutdown flag
- fix bug in select() which was stopping the service from shutting down
- add more event logs

svn path=/trunk/; revision=19332
2005-11-18 22:55:30 +00:00
Aleksey Bragin b8fe484f43 Implement stubs for PCI_DEVICE_PRESENT_INTERFACE query-interface, plus fixes from hpoussin.
svn path=/trunk/; revision=19331
2005-11-18 22:32:44 +00:00
Aleksey Bragin 36f1b7334e Added structs and other needed stuff for PCI_DEVICE_PRESENT_INTERFACE query.
svn path=/trunk/; revision=19330
2005-11-18 22:28:54 +00:00
Hartmut Birr aebe29f1ef - Changed all registry functions to WCHAR.
- Implemented packed/unpacked names for keys and values.    
- Fixed the hash values for very short data.  
- Fixed the debug build.    
- Don't search for a serial mouse, if the port is used for debug prints.

svn path=/trunk/; revision=19329
2005-11-18 22:04:17 +00:00
Hervé Poussineau 0bfe9a412e Revert 19324 and part of 19325...
svn path=/trunk/; revision=19328
2005-11-18 20:35:42 +00:00
Alex Ionescu 1c7c84efbc Due to CcRos's abusive usage and dependency on our broken Fast Mutex implementation, Fast Mutex can't be fixed until the Cc Rewrite is complete. Since that seems to take longer and we've identified drivers which need the correct Fast Mutex implementation committed, I've isolated the old implementation as "CcBrokenMutex" and replaced the calls related to "ExFastMutex" inside CC, so that our fast mutex implementation can be fixed without affecting Cc.
svn path=/trunk/; revision=19327
2005-11-18 18:51:31 +00:00
Hervé Poussineau f3e17583dd Fix installation of VMware display driver
svn path=/trunk/; revision=19326
2005-11-18 18:48:14 +00:00
Hervé Poussineau e253c1b277 - Don't use buffered I/O, to prevent some lag
- mouclass: Change the critical section place, to follow changes done in kbdclass in r19322

svn path=/trunk/; revision=19325
2005-11-18 17:28:19 +00:00
Hervé Poussineau 162952722e Prevent the reinstall of devices that use the NULL driver at each reboot
svn path=/trunk/; revision=19324
2005-11-18 16:42:41 +00:00
Christoph von Wittich 93eec292ae add crypt32 to bootcd
svn path=/trunk/; revision=19323
2005-11-18 11:49:51 +00:00
Art Yerkes 82beaf2b2a Fixed skipped events from keyboard:
- Wait for IO if it would be pending
- Don't copy into UserBuffer directly in read because it'll be 
  overwritten.  Use Irp->AssociatedIrp.SystemBuffer.

svn path=/trunk/; revision=19322
2005-11-18 10:53:32 +00:00
Christoph von Wittich d7b2d1d3c2 export some more Crypto-API functions
svn path=/trunk/; revision=19321
2005-11-18 06:15:24 +00:00
Christoph von Wittich 8347f2c508 got a lot of crypt32 stuff working
svn path=/trunk/; revision=19320
2005-11-18 02:08:46 +00:00
Christoph von Wittich 16cc7e9f01 added LIST_FOR_EACH_ENTRY_SAFE macro
svn path=/trunk/; revision=19319
2005-11-17 23:19:36 +00:00
Gé van Geldorp 5c75d1e001 Add CommandLineFromMsiDescriptor
svn path=/trunk/; revision=19318
2005-11-17 23:19:29 +00:00
Gé van Geldorp d7b3954583 Sync to Wine-0_9_1:
Huw Davies <huw@codeweavers.com>
- Stubs for NdrStubForwardingFunction and NdrCStdStubBuffer2_Release
  along with a few related defines.
- Marshal enums.

svn path=/trunk/; revision=19317
2005-11-17 22:06:47 +00:00
Christoph von Wittich a0c1d56a3e fix a lot of compile problems with encode.c and cert.c (still not added to build)
svn path=/trunk/; revision=19316
2005-11-17 21:59:57 +00:00
Gé van Geldorp 6f80f1c062 Sync to Wine-0_9_1:
Phil Krylov <phil@newstar.rinet.ru>
- Added support for EM_REQUESTRESIZE message, EN_REQUESTRESIZE
  notification, and ENM_REQUESTRESIZE event mask.
- Cache background color brush instead of recreating it at each screen
  update.
Mike McCormack <mike@codeweavers.com>
- Convert all RTFPanic and RTFMsg calls to ERR calls.

svn path=/trunk/; revision=19315
2005-11-17 21:58:13 +00:00
Gé van Geldorp 1cae6cbce7 Francois Gouget <fgouget@free.fr>
Remove spaces before '\n' in traces.

svn path=/trunk/; revision=19314
2005-11-17 21:56:58 +00:00
Gé van Geldorp 6b37e95bd4 Sync to Wine-0_9_1:
Huw Davies <huw@codeweavers.com>
- Treat paramflags == 0 like PARAMFLAG_FIN.
- Don't call Release on a null ptr.
- Deal with pExcepInfo == NULL.
Robert Shearman <rob@codeweavers.com>
- Add IFontEventsDisp and IProvideMultipleClassInfo.
- Make sure to clean up properly on error.
- Restrict the critical section to getting the channel buffer and
  adding a reference to it.
- There is no need to call IUnknown_QueryInterface since getting the
  correct object is handled by the proxy manager.
- 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.
- Cleanup formating of DispCallFunc.
- Fix DispCallFunc for functions with return values.
- Don't rely on _copy_arg as it is going away soon.
- Make wParamFlags in the paramdesc dumping function human readable.
- Enums should be VT_I4 instead of VT_INT.
- Trace the return value from the ITypeInfo_fnInvoke.
- 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.
- Fix a crash during +variant logging caused by a typo causing an array
  to be one element less than expected.
- The PSDispatch PS class factory can manage both typelib marshalled and
  IDispatch, which is NDR marshalled, so we need a wrapper to call the
  appropriate CreateProxy or CreateStub function.
Alex Villacís Lasso <a_villacis@palosanto.com>
- Implement complete VarDecDiv() for any valid DECIMAL.
- Implement complete VarDecMul() for any valid DECIMAL.
- 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.
Michael Stefaniuc <mstefani@redhat.de>
- Handle VT_DECIMAL in VarCmp().
- Handle VT_CY in VarDiv().
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
- Extend VarCmp() and add test cases.
Marcus Meissner <marcus@jet.franken.de>
- Added support of loading of IPicture data from non-statable
  IStreams. Added testcases for this.
- Added support for VT_I8/VT_UI8 marshalling.
- Fixed FMT_DATE_GENERAL and FMT_DATE_TIME_SYS cases in
  VARIANT_FormatDate.

svn path=/trunk/; revision=19313
2005-11-17 21:52:13 +00:00
Ged Murphy 7373027088 Improve stopping control of the service
svn path=/trunk/; revision=19312
2005-11-17 21:35:56 +00:00
Gé van Geldorp 79ae10d5fb Sync to Wine-0_9_1:
YunSong Hwang <hys545@dreamwiz.com>
Add Korean translations.

svn path=/trunk/; revision=19311
2005-11-17 21:12:27 +00:00