Commit graph

18061 commits

Author SHA1 Message Date
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
Gé van Geldorp 5f23f01a75 Wine-0_9_1 vendor import. Changes for ReactOS by cwittich
svn path=/trunk/; revision=19310
2005-11-17 21:02:48 +00:00
Gé van Geldorp fb3d16f5b7 Remove in preparation for proper vendor drop
svn path=/trunk/; revision=19309
2005-11-17 20:59:05 +00:00
Gé van Geldorp 4cfb1ff7dc Sync to Wine-0_9_1:
Ivan Leo Puoti <ivanleo@gmail.com>
- Fix some wrong prototypes.
Thomas Weidenmueller <wine-patches@reactsoft.com>
- Passing NULL as the last two parameters to ReadFile is illegal and
  actually causes a crash on windows. The attached patch fixes this.
Aric Stewart <aric@codeweavers.com>
- Force files to install if the REINSTALL property is set.
Mike McCormack <mike@codeweavers.com>
- 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.
- Create component folders in the CreateFolders action.
- 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.
- 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.
- Tidy up the RegisterProduct action a little.
- Create a stub function to apply a single table transform and call it
  where we need to apply transforms.
- 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.
- Simplify register_progid() and remove a fixed length buffer.
- Make enter and escape trigger the default and cancel buttons in
  dialogs.
- 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.
- Remove unused package parameter of register_progid_base().
- Remove an incorrect comment and check for 0 being an invalid file
  handle.
- Add missing semicolons that caused compile trouble on FreeBSD.
- Extract file directly to their target location, bypassing the need to
  use temporary files and move files.
- Put the UI update code for cabinet file into a separate function.
- Translate INVALID_HANDLE_VALUE to zero for cabinet handles.
- Fix a memory leak in the cabinet extracting code.
- Fix passing of NULL pointers to MsiDecomposeDescriptor and add a
  test.
- Fix parameter handling in MsiSetTargetPath, and add a test for it.
- 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.
- Fix and test MsiGetProperty and MsiSetProperty.
- Add a stub implementation of msi.MsiSetMode.
- NULL and empty strings are the same in conditions.
- Add a bunch of tests for MsiEvaluateCondition and make them pass.
- Fix error handling in MsiEvaluateCondition.
- Create the +msidb debug channel for msi database code.
- Implement transforms.  This still includes some debugging code which
  can be enabled by setting debug_transform to 1 in the relevant
  places.
- Define NONAMELESSUNION and NONAMELESSSTRUCT for older compilers.
- Remove some redundant null pointer checks.
- Make sure to unregister all the classes that were registered when msi
  is unloaded, so we can register again cleanly.
- Fix a memory leak.
- Implement the RemoveFiles action.
- Add a read-only implementation of the SelectionTree control.
- Make sure we only CoUninitialize after successfully initializing.
  Fix the address of the returned IShellLinkDataList interface.
- Use an enumeration for file states.
- Handle MaskEdit masks containing dashes and other constant
  characters.
- Stub implementation for MsiAdvertiseScriptA/W.
- Add a stub for the AllocateRegistrySpace action.
- Explicitly check for MSICONDITION_TRUE being returned from
  MsiEvaluateCondition.
- Stub implementation for MsiGetFileHashA/W.
- Define MSIDBOPEN_ constants using LPCWSTR when compiling Wine.
- Improve MsiUseFeatureEx and MsiGetFeatureState a little, add some
  simple test cases.
- Use msi_get_property_int() in a few more places.
- Implement MsiGetFeatureUsageA and MsiUseFeature(Ex)A using their W
  versions.
- Use "static const" rather than "const static" as gcc -W complains
  about the former.
- Add an implementation for MsiGetShortcutTargetA/W.
- Don't change the UI level during ExecuteAction.
- Return an error in MsiGetComponentPathW if passed a null component.
- Remove the unused 1st parameter of ACTION_VerifyComponentForAction.
- Fix MsiGetPropertyA/W spec declarations.
- Create an internal handle-free api for reading MSI database summary
  information.

svn path=/trunk/; revision=19307
2005-11-17 20:49:37 +00:00
Gé van Geldorp af002b222f Add header needed to build crypt32.dll
svn path=/trunk/; revision=19306
2005-11-17 20:33:50 +00:00
Gé van Geldorp bf3f6f7eae Sync to Wine-0_9_1:
David Kredba <kredba@math.cas.cz>
- Czech resources update.

svn path=/trunk/; revision=19305
2005-11-17 20:21:39 +00:00
Christoph von Wittich 5b0468545d added crypt32 (still not complete, from wine 0.91)
svn path=/trunk/; revision=19304
2005-11-17 20:17:53 +00:00
Gé van Geldorp afde0fcd9f Wine-0_9_1 vendor import
svn path=/trunk/; revision=19303
2005-11-17 20:16:02 +00:00
Gé van Geldorp a93a95ecf2 Wrong subdirectory
svn path=/trunk/; revision=19302
2005-11-17 20:11:40 +00:00
Gé van Geldorp 1ac0e4f848 Wine-0_9_1 vendor import
svn path=/trunk/; revision=19301
2005-11-17 20:03:55 +00:00
Gé van Geldorp 66725bf306 Remove old dirs in preparation of vendor import
svn path=/trunk/; revision=19300
2005-11-17 20:00:21 +00:00
Gé van Geldorp fcff4ba024 Sync to Wine-0_9_1:
Francois Gouget <fgouget@free.fr>
- Remove spaces before '\n' in traces.
Christoph Frick <frick@sc-networks.de>
- Moved and adopted joystick_linux.c code into the
  joystick_linuxinput.c.

svn path=/trunk/; revision=19298
2005-11-17 19:50:28 +00:00