Commit graph

18184 commits

Author SHA1 Message Date
Sebastian Gasiorek 9acc2d9d19 polish resource
svn path=/trunk/; revision=19374
2005-11-20 15:50:47 +00:00
Gé van Geldorp 4a815b7e4d Revert to Wine code to facilitate future syncs. Thanks to Thomas for making
this possible.

svn path=/trunk/; revision=19373
2005-11-20 15:43:38 +00:00
Alex Ionescu 918739b554 - Remove RosSymInfo hack from LDR_DATA_TABLE_ENTRY and use PatchInformation instead. It's still an abuse but at least we're not defining a new structure/
svn path=/trunk/; revision=19372
2005-11-20 15:27:07 +00:00
Alex Ionescu f4159d0350 - Add msvc compatible version of ProveForRead(U)LargeInteger
svn path=/trunk/; revision=19371
2005-11-20 15:09:59 +00:00
Gé van Geldorp 27acbaabe3 Sync from Wine-20050830 to Wine-0_9_1:
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
- Fix .spec declarations for functinos with 64bit arguments (reported by
  winapi_check).
Mike Hearn <mh@codeweavers.com>
- Robert Shearman <rob@codeweavers.com>
  Change stub manager to track the number of normal marshals instead of
  using the state machine so that multiple marshals of the same object
  and interface work correctly.
Robert Shearman <rob@codeweavers.com>
- Pass WM_QUIT to outer modal loop.
- Fix the return codes during unmarshaling so that it returns failure
  codes instead of S_FALSE returned from IStream_Read.
- Don't fail in CoRegisterClassObject if the class already exists and
  the REGCLS_MULTIPLEUSE flag is specified.
- Fix ref-counting rules to match native DCOM Dlls.
- Add exception handling for stubs.
- Implement OleRegEnumVerbs.
- The [string] attribute is only valid on byte, char and wchar_t types,
  so replace "unsigned short" by "WCHAR".
- Implement OleIsRunning.
- Add a stubbed out implementation of IAdviseSink and advise the
  delegate object to use it.
- Initialize out pointer to NULL before access check in
  IStorage_CreateStorage.
- WriteClassStg should return E_INVALIDARG if pstg is NULL instead of
  asserting.
- ReadClassStg should return E_INVALIDARG if pstg is NULL instead of
  crashing and a NULL pclsid should cause it to return the same
  value.
- Make the interfaces that should be supported by the data cache
  explicit so their is no confusion in this file as to what it should
  be implementing and what this object should implement.
- Delegate some IOleObject methods to the server IOleObject if it is
  running.
- Implement some IRunningObject functions that actually start the server
  and initialize it.
- Remove redunant braces.
- Compact multi-line comments that fit into one line.
- Remove comments that state the obvious.
- Remove extra brackets that are redundant because the -> operator
  binds tighter than &.
- Change "this" to "This" to make code more like other interface
  implementations.
- Remove redundant comparisons with NULL for pointers.
- Re-arrange some functions and vtables so we don't have declarations
  for all of the functions in the file.
- Fix a trace to refer to the object ID rather than the legacy MID.
- Fix the error case of CoMarshalInterThreadInterface to release the
  stream.
- Move all 16-bit functions to an appropriate 16-bit file.
- Implement OLE object notifications, making sure to cope with the case
  of the advise holder not being created because no notifications are
  needed.
- Implement a Stop function and use this to properly implement
  IOleObject_Close, IAdviseSink_OnClose and the destructor.
- We shouldn't pass the application name into CreateProcess because the
  value stored in the registry could include arguments.
- Extend COM_OpenKeyForCLSID to open a subkey and return an HRESULT.
- Fix up the callers and reorganize CoGetClassObject to split out the
  inproc code into another function.
Alex Villacís Lasso <a_villacis@palosanto.com>
- Add NULL check for sinkInterface in DataCache_GetAdvise.
- Add missing ! to fix a reversed condition check in
  OleCreateDefaultHandler, in order to match intent in comment.
Vincent Béron <vberon@mecano.gme.usherb.ca>
- Use the proper calling convention for 2 16-bit functions.
Alexandre Julliard <julliard@winehq.org>
- We are no longer generating .spec.c files.
- Use a more portable scheme for storing the name of a critical
  section.
- Fixed some traces to use the right printf format and avoid typecasts.
- Removed unused debug channels.
- We are no longer generating .dbg.c files.
Richard Cohen <richard@daijobu.co.uk>
- Relax the share mode validation for transacted storage, with a test.
Eric Pouech <eric.pouech@wanadoo.fr>
- Fixes for function prototypes without arguments.
Michael Jung <mjung@iss.tu-darmstadt.de>
- Added tracing to CoCreateInstance.
Markus Amsler <markus.amsler@oribi.org>
- Improve c2man Documented-Total count.

svn path=/trunk/; revision=19370
2005-11-20 15:01:10 +00:00
Sebastian Gasiorek 20b7b755de little fix for one polish char
svn path=/trunk/; revision=19369
2005-11-20 14:56:24 +00:00
Gé van Geldorp c969388396 Sync to Wine-0_9_1:
Markus Amsler <markus.amsler@oribi.org>
Improve c2man Documented-Total count. Changes:
- add missing returns section

svn path=/trunk/; revision=19368
2005-11-20 14:54:49 +00:00
Gé van Geldorp 300a536ca9 Sync to Wine-0_9_1:
Jacek Caban <jack@itma.pwr.wroc.pl>
- Added IInternetPriority implementation to FileProtocol.
- Report BINDSTATUS_SENDINGREQUEST in FileProtocol::Start.
- Added implementation of IInternetPriority in HttpProtocol.

svn path=/trunk/; revision=19367
2005-11-20 14:51:28 +00:00
Sebastian Gasiorek 586b737ba2 added Polish resource
svn path=/trunk/; revision=19366
2005-11-20 14:48:19 +00:00
Martin Fuchs a8f51c60cb make compatible again to Windows 2000
svn path=/trunk/; revision=19365
2005-11-20 14:31:55 +00:00
Gé van Geldorp 267f5afc37 Sync to Wine-0_9_1:
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
- Semi-stub implementation for SHRegGetValue(A|W).

svn path=/trunk/; revision=19364
2005-11-20 14:30:08 +00:00
Gé van Geldorp 5d29a2df63 Sync to Wine-0_9_1:
Michael Jung <mjung@iss.tu-darmstadt.de>
- Support for shell instance objects.
  Removed a wine_todo for a no longer failing test.
  Added a test for IPersistFolder3::GetCurFolder.
- Added initial tests for shdocvw's FolderShortcut related
  functionality.
- Only return SHDOCVW_ClassFactory if asked for CLSID_WebBrowser.

svn path=/trunk/; revision=19363
2005-11-20 14:26:47 +00:00
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