reactos.git
18 years agoImplement hardware breakpoints and watchpoints
Gé van Geldorp [Sun, 20 Nov 2005 17:51:09 +0000 (17:51 +0000)]
Implement hardware breakpoints and watchpoints

svn path=/trunk/; revision=19380

18 years agoUpdate status
Gé van Geldorp [Sun, 20 Nov 2005 17:48:30 +0000 (17:48 +0000)]
Update status

svn path=/trunk/; revision=19379

18 years agoBeware of the alt+fs slippery finger
Alex Ionescu [Sun, 20 Nov 2005 17:42:44 +0000 (17:42 +0000)]
Beware of the alt+fs slippery finger

svn path=/trunk/; revision=19376

18 years ago- Update NDK with proper (when possible) RTL structure names that were previously...
Alex Ionescu [Sun, 20 Nov 2005 17:16:11 +0000 (17:16 +0000)]
- Update NDK with proper (when possible) RTL structure names that were previously "under review".
- Update relevant source files to new names.

svn path=/trunk/; revision=19375

18 years agopolish resource
Sebastian Gasiorek [Sun, 20 Nov 2005 15:50:47 +0000 (15:50 +0000)]
polish resource

svn path=/trunk/; revision=19374

18 years agoRevert to Wine code to facilitate future syncs. Thanks to Thomas for making
Gé van Geldorp [Sun, 20 Nov 2005 15:43:38 +0000 (15:43 +0000)]
Revert to Wine code to facilitate future syncs. Thanks to Thomas for making
this possible.

svn path=/trunk/; revision=19373

18 years ago- Remove RosSymInfo hack from LDR_DATA_TABLE_ENTRY and use PatchInformation instead...
Alex Ionescu [Sun, 20 Nov 2005 15:27:07 +0000 (15:27 +0000)]
- 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

18 years ago- Add msvc compatible version of ProveForRead(U)LargeInteger
Alex Ionescu [Sun, 20 Nov 2005 15:09:59 +0000 (15:09 +0000)]
- Add msvc compatible version of ProveForRead(U)LargeInteger

svn path=/trunk/; revision=19371

18 years agoSync from Wine-20050830 to Wine-0_9_1:
Gé van Geldorp [Sun, 20 Nov 2005 15:01:10 +0000 (15:01 +0000)]
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

18 years agolittle fix for one polish char
Sebastian Gasiorek [Sun, 20 Nov 2005 14:56:24 +0000 (14:56 +0000)]
little fix for one polish char

svn path=/trunk/; revision=19369

18 years agoSync to Wine-0_9_1:
Gé van Geldorp [Sun, 20 Nov 2005 14:54:49 +0000 (14:54 +0000)]
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

18 years agoSync to Wine-0_9_1:
Gé van Geldorp [Sun, 20 Nov 2005 14:51:28 +0000 (14:51 +0000)]
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

18 years agoadded Polish resource
Sebastian Gasiorek [Sun, 20 Nov 2005 14:48:19 +0000 (14:48 +0000)]
added Polish resource

svn path=/trunk/; revision=19366

18 years agomake compatible again to Windows 2000
Martin Fuchs [Sun, 20 Nov 2005 14:31:55 +0000 (14:31 +0000)]
make compatible again to Windows 2000

svn path=/trunk/; revision=19365

18 years agoSync to Wine-0_9_1:
Gé van Geldorp [Sun, 20 Nov 2005 14:30:08 +0000 (14:30 +0000)]
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

18 years agoSync to Wine-0_9_1:
Gé van Geldorp [Sun, 20 Nov 2005 14:26:47 +0000 (14:26 +0000)]
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

18 years agoMove CreateFile test
Casper Hornstrup [Sun, 20 Nov 2005 13:45:15 +0000 (13:45 +0000)]
Move CreateFile test

svn path=/trunk/; revision=19362

18 years agoRemove support for performance tests since that never worked
Casper Hornstrup [Sun, 20 Nov 2005 13:34:15 +0000 (13:34 +0000)]
Remove support for performance tests since that never worked

svn path=/trunk/; revision=19361

18 years agoAdd missing stubs
Casper Hornstrup [Sun, 20 Nov 2005 13:17:05 +0000 (13:17 +0000)]
Add missing stubs

svn path=/trunk/; revision=19360

18 years agoHandle indirect calls to functions in external modules
Casper Hornstrup [Sun, 20 Nov 2005 13:12:33 +0000 (13:12 +0000)]
Handle indirect calls to functions in external modules

svn path=/trunk/; revision=19359

18 years agocorect scroll icon hotspot for big icon mode
Martin Fuchs [Sun, 20 Nov 2005 09:09:19 +0000 (09:09 +0000)]
corect scroll icon hotspot for big icon mode

svn path=/trunk/; revision=19358

18 years agoIt is generally considered a good idea to release a fast mutex in the same order...
Alex Ionescu [Sun, 20 Nov 2005 08:46:09 +0000 (08:46 +0000)]
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

18 years agoVitaliy Margolen <wine-patch@kievinfo.com>
Gé van Geldorp [Sun, 20 Nov 2005 08:41:46 +0000 (08:41 +0000)]
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

18 years agoMake the address space mutex unsafe, because sometimes it is acquired at > APC_LEVEL...
Alex Ionescu [Sun, 20 Nov 2005 03:16:26 +0000 (03:16 +0000)]
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

18 years agoFix hal build
Alex Ionescu [Sat, 19 Nov 2005 23:07:32 +0000 (23:07 +0000)]
Fix hal build

svn path=/trunk/; revision=19354

18 years ago- Deprecated
Alex Ionescu [Sat, 19 Nov 2005 22:32:09 +0000 (22:32 +0000)]
- Deprecated

svn path=/trunk/; revision=19353

18 years ago- Reimplement Fast Mutex implementation in HAL/NT to be compatible with the real...
Alex Ionescu [Sat, 19 Nov 2005 22:13:35 +0000 (22:13 +0000)]
- 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

18 years agoCreate parent directory before creating the definition file
Casper Hornstrup [Sat, 19 Nov 2005 21:07:25 +0000 (21:07 +0000)]
Create parent directory before creating the definition file

svn path=/trunk/; revision=19351

18 years agoAdd dhcpcapi.dll to the bootcd. Fixes bug 1037
Thomas Bluemel [Sat, 19 Nov 2005 19:20:51 +0000 (19:20 +0000)]
Add dhcpcapi.dll to the bootcd. Fixes bug 1037

svn path=/trunk/; revision=19350

18 years agoAccording to MSDN: "PnP Manager queries a device's BusRelations (child devices) when...
Aleksey Bragin [Sat, 19 Nov 2005 19:10:13 +0000 (19:10 +0000)]
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

18 years agoDon't bail out for unparsable environment variables.
Filip Navara [Sat, 19 Nov 2005 18:58:04 +0000 (18:58 +0000)]
Don't bail out for unparsable environment variables.

svn path=/trunk/; revision=19348

18 years agoUncomment MAC code page and font signature locale strings.
Filip Navara [Sat, 19 Nov 2005 18:01:10 +0000 (18:01 +0000)]
Uncomment MAC code page and font signature locale strings.

svn path=/trunk/; revision=19345

18 years ago"sync up sprintf.c with swprintf.c. They both do the same except one is the wchar...
Magnus Olsen [Sat, 19 Nov 2005 14:23:33 +0000 (14:23 +0000)]
"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

18 years agoSorry, I forgot to commit this file...
Hervé Poussineau [Sat, 19 Nov 2005 13:31:52 +0000 (13:31 +0000)]
Sorry, I forgot to commit this file...

svn path=/trunk/; revision=19343

18 years agoAdd a stub for ClientSideInstallW. umpnpmgr is supposed to run rundll32 in the contex...
Thomas Bluemel [Sat, 19 Nov 2005 13:27:27 +0000 (13:27 +0000)]
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

18 years agoFix access rights (even if not checked in KernelMode)
Hervé Poussineau [Sat, 19 Nov 2005 09:29:20 +0000 (09:29 +0000)]
Fix access rights (even if not checked in KernelMode)

svn path=/trunk/; revision=19341

18 years agoImplement InterfacePciDevicePresent(Ex) of PCI_DEVICE_PRESENT_INTERFACE
Hervé Poussineau [Sat, 19 Nov 2005 09:08:08 +0000 (09:08 +0000)]
Implement InterfacePciDevicePresent(Ex) of PCI_DEVICE_PRESENT_INTERFACE

svn path=/trunk/; revision=19340

18 years ago- Send ExGetPreviousMode() to ObReferenceObjectByHandle instead of UserMode
Hervé Poussineau [Sat, 19 Nov 2005 09:05:37 +0000 (09:05 +0000)]
- Send ExGetPreviousMode() to ObReferenceObjectByHandle instead of UserMode
- KeGetPreviousMode -> ExGetPreviousMode changes

svn path=/trunk/; revision=19339

18 years agoNote to me, check build in mingw before commiting.
Ged Murphy [Sat, 19 Nov 2005 00:16:18 +0000 (00:16 +0000)]
Note to me, check build in mingw before commiting.

svn path=/trunk/; revision=19338

18 years agofix the build
Thomas Bluemel [Fri, 18 Nov 2005 23:58:48 +0000 (23:58 +0000)]
fix the build

svn path=/trunk/; revision=19337

18 years agoadd library
Ged Murphy [Fri, 18 Nov 2005 23:38:38 +0000 (23:38 +0000)]
add library

svn path=/trunk/; revision=19336

18 years agoupdate my todo list
Ged Murphy [Fri, 18 Nov 2005 23:35:16 +0000 (23:35 +0000)]
update my todo list

svn path=/trunk/; revision=19335

18 years ago- define STATUS_* codes correctly in winnt.h and ntstatus.h
Thomas Bluemel [Fri, 18 Nov 2005 23:19:48 +0000 (23:19 +0000)]
- 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

18 years agofixed uninitialized variable warnings
Thomas Bluemel [Fri, 18 Nov 2005 23:19:38 +0000 (23:19 +0000)]
fixed uninitialized variable warnings

svn path=/trunk/; revision=19333

18 years ago- use InterlockedExchange for setting shutdown flag
Ged Murphy [Fri, 18 Nov 2005 22:55:30 +0000 (22:55 +0000)]
- 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

18 years agoImplement stubs for PCI_DEVICE_PRESENT_INTERFACE query-interface, plus fixes from...
Aleksey Bragin [Fri, 18 Nov 2005 22:32:44 +0000 (22:32 +0000)]
Implement stubs for PCI_DEVICE_PRESENT_INTERFACE query-interface, plus fixes from hpoussin.

svn path=/trunk/; revision=19331

18 years agoAdded structs and other needed stuff for PCI_DEVICE_PRESENT_INTERFACE query.
Aleksey Bragin [Fri, 18 Nov 2005 22:28:54 +0000 (22:28 +0000)]
Added structs and other needed stuff for PCI_DEVICE_PRESENT_INTERFACE query.

svn path=/trunk/; revision=19330

18 years ago- Changed all registry functions to WCHAR.
Hartmut Birr [Fri, 18 Nov 2005 22:04:17 +0000 (22:04 +0000)]
- 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

18 years agoRevert 19324 and part of 19325...
Hervé Poussineau [Fri, 18 Nov 2005 20:35:42 +0000 (20:35 +0000)]
Revert 19324 and part of 19325...

svn path=/trunk/; revision=19328

18 years agoDue to CcRos's abusive usage and dependency on our broken Fast Mutex implementation...
Alex Ionescu [Fri, 18 Nov 2005 18:51:31 +0000 (18:51 +0000)]
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

18 years agoFix installation of VMware display driver
Hervé Poussineau [Fri, 18 Nov 2005 18:48:14 +0000 (18:48 +0000)]
Fix installation of VMware display driver

svn path=/trunk/; revision=19326

18 years ago- Don't use buffered I/O, to prevent some lag
Hervé Poussineau [Fri, 18 Nov 2005 17:28:19 +0000 (17:28 +0000)]
- 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

18 years agoPrevent the reinstall of devices that use the NULL driver at each reboot
Hervé Poussineau [Fri, 18 Nov 2005 16:42:41 +0000 (16:42 +0000)]
Prevent the reinstall of devices that use the NULL driver at each reboot

svn path=/trunk/; revision=19324

18 years agoadd crypt32 to bootcd
Christoph von Wittich [Fri, 18 Nov 2005 11:49:51 +0000 (11:49 +0000)]
add crypt32 to bootcd

svn path=/trunk/; revision=19323

18 years agoFixed skipped events from keyboard:
Art Yerkes [Fri, 18 Nov 2005 10:53:32 +0000 (10:53 +0000)]
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

18 years agoexport some more Crypto-API functions
Christoph von Wittich [Fri, 18 Nov 2005 06:15:24 +0000 (06:15 +0000)]
export some more Crypto-API functions

svn path=/trunk/; revision=19321

18 years agogot a lot of crypt32 stuff working
Christoph von Wittich [Fri, 18 Nov 2005 02:08:46 +0000 (02:08 +0000)]
got a lot of crypt32 stuff working

svn path=/trunk/; revision=19320

18 years agoadded LIST_FOR_EACH_ENTRY_SAFE macro
Christoph von Wittich [Thu, 17 Nov 2005 23:19:36 +0000 (23:19 +0000)]
added LIST_FOR_EACH_ENTRY_SAFE macro

svn path=/trunk/; revision=19319

18 years agoAdd CommandLineFromMsiDescriptor
Gé van Geldorp [Thu, 17 Nov 2005 23:19:29 +0000 (23:19 +0000)]
Add CommandLineFromMsiDescriptor

svn path=/trunk/; revision=19318

18 years agoSync to Wine-0_9_1:
Gé van Geldorp [Thu, 17 Nov 2005 22:06:47 +0000 (22:06 +0000)]
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

18 years agofix a lot of compile problems with encode.c and cert.c (still not added to build)
Christoph von Wittich [Thu, 17 Nov 2005 21:59:57 +0000 (21:59 +0000)]
fix a lot of compile problems with encode.c and cert.c (still not added to build)

svn path=/trunk/; revision=19316

18 years agoSync to Wine-0_9_1:
Gé van Geldorp [Thu, 17 Nov 2005 21:58:13 +0000 (21:58 +0000)]
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

18 years agoFrancois Gouget <fgouget@free.fr>
Gé van Geldorp [Thu, 17 Nov 2005 21:56:58 +0000 (21:56 +0000)]
Francois Gouget <fgouget@free.fr>
Remove spaces before '\n' in traces.

svn path=/trunk/; revision=19314

18 years agoSync to Wine-0_9_1:
Gé van Geldorp [Thu, 17 Nov 2005 21:52:13 +0000 (21:52 +0000)]
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

18 years agoImprove stopping control of the service
Ged Murphy [Thu, 17 Nov 2005 21:35:56 +0000 (21:35 +0000)]
Improve stopping control of the service

svn path=/trunk/; revision=19312

18 years agoSync to Wine-0_9_1:
Gé van Geldorp [Thu, 17 Nov 2005 21:12:27 +0000 (21:12 +0000)]
Sync to Wine-0_9_1:
YunSong Hwang <hys545@dreamwiz.com>
Add Korean translations.

svn path=/trunk/; revision=19311

18 years agoWine-0_9_1 vendor import. Changes for ReactOS by cwittich
Gé van Geldorp [Thu, 17 Nov 2005 21:02:48 +0000 (21:02 +0000)]
Wine-0_9_1 vendor import. Changes for ReactOS by cwittich

svn path=/trunk/; revision=19310

18 years agoRemove in preparation for proper vendor drop
Gé van Geldorp [Thu, 17 Nov 2005 20:59:05 +0000 (20:59 +0000)]
Remove in preparation for proper vendor drop

svn path=/trunk/; revision=19309

18 years agoSync to Wine-0_9_1:
Gé van Geldorp [Thu, 17 Nov 2005 20:49:37 +0000 (20:49 +0000)]
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

18 years agoAdd header needed to build crypt32.dll
Gé van Geldorp [Thu, 17 Nov 2005 20:33:50 +0000 (20:33 +0000)]
Add header needed to build crypt32.dll

svn path=/trunk/; revision=19306

18 years agoSync to Wine-0_9_1:
Gé van Geldorp [Thu, 17 Nov 2005 20:21:39 +0000 (20:21 +0000)]
Sync to Wine-0_9_1:
David Kredba <kredba@math.cas.cz>
- Czech resources update.

svn path=/trunk/; revision=19305

18 years agoadded crypt32 (still not complete, from wine 0.91)
Christoph von Wittich [Thu, 17 Nov 2005 20:17:53 +0000 (20:17 +0000)]
added crypt32 (still not complete, from wine 0.91)

svn path=/trunk/; revision=19304

18 years agoWine-0_9_1 vendor import
Gé van Geldorp [Thu, 17 Nov 2005 20:16:02 +0000 (20:16 +0000)]
Wine-0_9_1 vendor import

svn path=/trunk/; revision=19303

18 years agoWrong subdirectory
Gé van Geldorp [Thu, 17 Nov 2005 20:11:40 +0000 (20:11 +0000)]
Wrong subdirectory

svn path=/trunk/; revision=19302

18 years agoWine-0_9_1 vendor import
Gé van Geldorp [Thu, 17 Nov 2005 20:03:55 +0000 (20:03 +0000)]
Wine-0_9_1 vendor import

svn path=/trunk/; revision=19301

18 years agoRemove old dirs in preparation of vendor import
Gé van Geldorp [Thu, 17 Nov 2005 20:00:21 +0000 (20:00 +0000)]
Remove old dirs in preparation of vendor import

svn path=/trunk/; revision=19300

18 years agoSync to Wine-0_9_1:
Gé van Geldorp [Thu, 17 Nov 2005 19:50:28 +0000 (19:50 +0000)]
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

18 years agoSync to Wine-0_9_1:
Gé van Geldorp [Thu, 17 Nov 2005 19:44:07 +0000 (19:44 +0000)]
Sync to Wine-0_9_1:
Vijay Kiran Kamuju <infyquest@gmail.com>
- Jonathan Ernst <Jonathan@ErnstFamily.ch>
  Display an error if no printer is installed.
Michael Jung <mjung@iss.tu-darmstadt.de>
- Initialize COM prior to displaying the file dialog.
Henning Gerhardt <henning.gerhardt@web.de>
- Update German resource file.
David Kredba <kredba@math.cas.cz>
- Czech resources update.

svn path=/trunk/; revision=19297

18 years agoSync to Wine-0_9_1:
Gé van Geldorp [Thu, 17 Nov 2005 19:36:54 +0000 (19:36 +0000)]
Sync to Wine-0_9_1:
Vitaliy Margolen <wine-patch@kievinfo.com>
- Unify HEADER_GetItem[A/W] into one function.
- Unify HEADER_InsertItem[A/W] into one function.
- Unify HEADER_SetItem[A/W] into one function.
Michael Kaufmann <hallo@michael-kaufmann.ch>
- Handle WM_PRINTCLIENT.
  Don't use SelectClipRgn in WM_PRINTCLIENT.
Dimi Paun <dimi@lattica.com>
- Validate the column index passed in by the caller.
Alex Villacís Lasso <a_villacis@palosanto.com>
- Do not issue a GetUpdateRect() to query an update region for
  WM_PAINT(wParam=HDC) case. Instead, use GetClientRect() for a bounding
  rect.
Vincent Béron <vberon@mecano.gme.usherb.ca>
- Move functions in comctl32/string.c to remove function declaration.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Use Win32 APIs for string comparison.
- Avoid printing out a possibly uninitialized variable.
Ulrich Czekalla <ulrich@codeweavers.com>
- Clear bLButtonDown flags if mouse is not down.
Martin Fuchs <martin-fuchs@gmx.net>
- Include config.h and port.h for strncasecmp() in MSVC port.

svn path=/trunk/; revision=19296

18 years agoSet the value/data cell to dirty, if an existing value is overwritten.
Hartmut Birr [Thu, 17 Nov 2005 17:34:22 +0000 (17:34 +0000)]
Set the value/data cell to dirty, if an existing value is overwritten.

svn path=/trunk/; revision=19295

18 years ago- Fixed the test for the dirty bitmap size.
Hartmut Birr [Thu, 17 Nov 2005 17:29:36 +0000 (17:29 +0000)]
- Fixed the test for the dirty bitmap size.
- Fixed the length to copy the old dirty bitmap.

svn path=/trunk/; revision=19294

18 years agosorry, forgot to change one var
Christoph von Wittich [Thu, 17 Nov 2005 13:46:07 +0000 (13:46 +0000)]
sorry, forgot to change one var

svn path=/trunk/; revision=19293

18 years agofixed length calculation of lpDependencies
Christoph von Wittich [Thu, 17 Nov 2005 13:45:02 +0000 (13:45 +0000)]
fixed length calculation of lpDependencies

svn path=/trunk/; revision=19292

18 years agoimplemented CreateServiceA
Christoph von Wittich [Thu, 17 Nov 2005 13:23:37 +0000 (13:23 +0000)]
implemented CreateServiceA

svn path=/trunk/; revision=19291

18 years agoRevert part of 19289, I don't want all people to use French ReactOS...
Hervé Poussineau [Thu, 17 Nov 2005 13:01:29 +0000 (13:01 +0000)]
Revert part of 19289, I don't want all people to use French ReactOS...

svn path=/trunk/; revision=19290

18 years ago- 2nd stage setup: start umpnpmgr service only after the installation of device classes
Hervé Poussineau [Thu, 17 Nov 2005 12:49:37 +0000 (12:49 +0000)]
- 2nd stage setup: start umpnpmgr service only after the installation of device classes
- Implement ScmrChangeServiceConfigW
- Change StartServiceW stub to return success
This fixes a race condition in device installation, which sometimes lead to a bad installation for network cards, and no network connectivity at next reboot

svn path=/trunk/; revision=19289

18 years agoSecond attempt to have a working keyboard and mouse at third reboot
Hervé Poussineau [Thu, 17 Nov 2005 08:29:59 +0000 (08:29 +0000)]
Second attempt to have a working keyboard and mouse at third reboot
May fix bug 1018

svn path=/trunk/; revision=19288

18 years agoanother no-op. Remove the win32apiisms. Make compatible with both DDKs
Steven Edwards [Thu, 17 Nov 2005 05:53:52 +0000 (05:53 +0000)]
another no-op. Remove the win32apiisms. Make compatible with both DDKs

svn path=/trunk/; revision=19287

18 years ago- use Winefile command line for initial directory selection
Martin Fuchs [Wed, 16 Nov 2005 23:07:37 +0000 (23:07 +0000)]
- use Winefile command line for initial directory selection
- remove useless hwndParent variable

svn path=/trunk/; revision=19286

18 years agono op header change. Correct some of the header guards to match the DDK
Steven Edwards [Wed, 16 Nov 2005 22:28:05 +0000 (22:28 +0000)]
no op header change. Correct some of the header guards to match the DDK

svn path=/trunk/; revision=19285

18 years agoAdd a bit of defensive programming
Gé van Geldorp [Wed, 16 Nov 2005 21:44:26 +0000 (21:44 +0000)]
Add a bit of defensive programming

svn path=/trunk/; revision=19283

18 years agoGive comdlg32.dll a little bit more space
Gé van Geldorp [Wed, 16 Nov 2005 21:43:38 +0000 (21:43 +0000)]
Give comdlg32.dll a little bit more space

svn path=/trunk/; revision=19282

18 years agoUpdate status
Gé van Geldorp [Wed, 16 Nov 2005 21:17:19 +0000 (21:17 +0000)]
Update status

svn path=/trunk/; revision=19274

18 years agoAdd some SEH protection (not complete yet)
Gé van Geldorp [Wed, 16 Nov 2005 20:52:07 +0000 (20:52 +0000)]
Add some SEH protection (not complete yet)

svn path=/trunk/; revision=19272

18 years agoFix IoIsWdmVersionAvailable() to confirm we're compatible with Win2k (someone forgot...
Aleksey Bragin [Wed, 16 Nov 2005 20:38:31 +0000 (20:38 +0000)]
Fix IoIsWdmVersionAvailable() to confirm we're compatible with Win2k (someone forgot 0x before 10) and also added brief comments on which version corresponds to what.

svn path=/trunk/; revision=19271

18 years agoExport _vsnwprintf
Hervé Poussineau [Wed, 16 Nov 2005 17:34:50 +0000 (17:34 +0000)]
Export _vsnwprintf

svn path=/trunk/; revision=19270

18 years agoStartScan is always in BOTTOM_UP sense for GetDIBits
Gé van Geldorp [Wed, 16 Nov 2005 16:12:59 +0000 (16:12 +0000)]
StartScan is always in BOTTOM_UP sense for GetDIBits

svn path=/trunk/; revision=19269

18 years agoAlways pad scanlines to multiples of 4 bytes for DIBs
Gé van Geldorp [Wed, 16 Nov 2005 16:10:57 +0000 (16:10 +0000)]
Always pad scanlines to multiples of 4 bytes for DIBs

svn path=/trunk/; revision=19268

18 years agoPass correct masks when creating bitfield palette
Gé van Geldorp [Wed, 16 Nov 2005 16:05:55 +0000 (16:05 +0000)]
Pass correct masks when creating bitfield palette

svn path=/trunk/; revision=19267

18 years agofix memory leak in case of error
Christoph von Wittich [Wed, 16 Nov 2005 15:53:16 +0000 (15:53 +0000)]
fix memory leak in case of error

svn path=/trunk/; revision=19266