reactos.git
17 years agoBUGFIX: MouseSafety does it's own parameter validation, and this calculation was...
Royce Mitchell III [Sun, 12 Dec 2004 21:38:25 +0000 (21:38 +0000)]
BUGFIX: MouseSafety does it's own parameter validation, and this calculation was flat-out wrong anyway

svn path=/trunk/; revision=12059

17 years ago* Implement EnumDisplayDevicesA
Thomas Bluemel [Sun, 12 Dec 2004 21:25:05 +0000 (21:25 +0000)]
* Implement EnumDisplayDevicesA
* Better implementation of LookupAccountSidA/W stubs
* Allow enumeration of display settings in CLI mode
* Add route app to compile/install target
* Correct debug messages

Patch by Herv� Poussineau.

svn path=/trunk/; revision=12058

17 years agotesting reveals that source rect must be constrained to the boundaries of the source...
Royce Mitchell III [Sun, 12 Dec 2004 20:58:09 +0000 (20:58 +0000)]
testing reveals that source rect must be constrained to the boundaries of the source image. Adjust dest rect so that output still lands where user expected it. This fixes kmode crash from comctl32 handing bad data off to StretchBlt().

svn path=/trunk/; revision=12057

17 years agoMessageBoxIndirectA() should check whether the MB_USERICON bit was set, otherwise...
Thomas Bluemel [Sun, 12 Dec 2004 20:40:06 +0000 (20:40 +0000)]
MessageBoxIndirectA() should check whether the MB_USERICON bit was set, otherwise in case the lpszIcon field of the MSGBOXPARAMS structure, the application passed to it, was never initialized and is not being interpreted as an atom, it takes this random pointer and tries to convert the string inside it to unicode - which might cause an exception. it solves a problem with winzip hardon discovered.
The bug also exists in wine but doesn't appear to arise.

svn path=/trunk/; revision=12056

17 years ago- Split KdInitSystem in two phases, to enable debug prints (serial line and bochs)
Hartmut Birr [Sun, 12 Dec 2004 20:14:01 +0000 (20:14 +0000)]
- Split KdInitSystem in two phases, to enable debug prints (serial line and bochs)
  in the very early boot stage (before the initialisation from hal).

svn path=/trunk/; revision=12055

17 years ago*** empty log message ***
Filip Navara [Sun, 12 Dec 2004 18:14:22 +0000 (18:14 +0000)]
*** empty log message ***

svn path=/trunk/; revision=12054

17 years agoadded .cvsignore
Steven Edwards [Sun, 12 Dec 2004 18:07:44 +0000 (18:07 +0000)]
added .cvsignore

svn path=/trunk/; revision=12053

17 years ago- Remove -DCOBJMACROS from oleaut32 makefile.
Filip Navara [Sun, 12 Dec 2004 18:01:23 +0000 (18:01 +0000)]
- Remove -DCOBJMACROS from oleaut32 makefile.
- Minor fixes to OLE interface prototypes.

svn path=/trunk/; revision=12052

17 years agofixed problems with mouse cursor handling
Thomas Bluemel [Sun, 12 Dec 2004 17:56:52 +0000 (17:56 +0000)]
fixed problems with mouse cursor handling

svn path=/trunk/; revision=12051

17 years ago- Fixed the definition of SYNCH_LEVEL.
Hartmut Birr [Sun, 12 Dec 2004 17:52:06 +0000 (17:52 +0000)]
- Fixed the definition of SYNCH_LEVEL.

svn path=/trunk/; revision=12050

17 years ago- Used the lock prefix on smp builds.
Hartmut Birr [Sun, 12 Dec 2004 17:48:20 +0000 (17:48 +0000)]
- Used the lock prefix on smp builds.

svn path=/trunk/; revision=12049

17 years agoHans Leidekker <hans@it.vu.nl>
Filip Navara [Sun, 12 Dec 2004 17:46:53 +0000 (17:46 +0000)]
Hans Leidekker <hans@it.vu.nl>
Fix compilation with GCC 4.

svn path=/trunk/; revision=12048

17 years ago- Improved KeBugCheckWithTf for smp machines.
Hartmut Birr [Sun, 12 Dec 2004 17:42:00 +0000 (17:42 +0000)]
- Improved KeBugCheckWithTf for smp machines.

svn path=/trunk/; revision=12047

17 years ago- Redefined OldIrql. It was lost while my code cleanup.
Hartmut Birr [Sun, 12 Dec 2004 17:36:00 +0000 (17:36 +0000)]
- Redefined OldIrql. It was lost while my code cleanup.

svn path=/trunk/; revision=12046

17 years ago- Replaced PiThreadLock with the dispatcher databae lock.
Hartmut Birr [Sun, 12 Dec 2004 17:25:53 +0000 (17:25 +0000)]
- Replaced PiThreadLock with the dispatcher databae lock.
- Fixed some problems while setting/changing the affinity of a thread.

svn path=/trunk/; revision=12045

17 years ago- Reformulate comment.
Filip Navara [Sun, 12 Dec 2004 17:24:30 +0000 (17:24 +0000)]
- Reformulate comment.

svn path=/trunk/; revision=12044

17 years ago- Workaround infinite loop on loopback connect.
Filip Navara [Sun, 12 Dec 2004 17:03:01 +0000 (17:03 +0000)]
- Workaround infinite loop on loopback connect.

svn path=/trunk/; revision=12043

17 years ago- Don't call IntReleaseWindowObject with handle.
Filip Navara [Sun, 12 Dec 2004 16:47:52 +0000 (16:47 +0000)]
- Don't call IntReleaseWindowObject with handle.

svn path=/trunk/; revision=12042

17 years ago- Fix compilation of non-DBG builds.
Filip Navara [Sun, 12 Dec 2004 15:57:15 +0000 (15:57 +0000)]
- Fix compilation of non-DBG builds.

svn path=/trunk/; revision=12041

17 years ago- Remove Wine-isms from advapi32 because it's a ReactOS DLL!
Eric Kohl [Sun, 12 Dec 2004 15:17:38 +0000 (15:17 +0000)]
- Remove Wine-isms from advapi32 because it's a ReactOS DLL!
- Enforce a consistent coding style.
- Remove -D__REACTOS__

svn path=/trunk/; revision=12040

17 years ago- Fix receiving of loopback packets.
Filip Navara [Sun, 12 Dec 2004 11:48:04 +0000 (11:48 +0000)]
- Fix receiving of loopback packets.
- Fix recursive spinlock acquire in NBQueuePacket.
- Don't pend connect requests if they're satisfied during the call.
- Basic implementation of listen.

svn path=/trunk/; revision=12039

17 years agoUpdate the Wine porting documentation.
Steven Edwards [Sun, 12 Dec 2004 04:43:36 +0000 (04:43 +0000)]
Update the Wine porting documentation.

svn path=/trunk/; revision=12038

17 years agoNeed -D__REACTOS__ in makefile for porting from wine.
James Tabor [Sun, 12 Dec 2004 04:34:23 +0000 (04:34 +0000)]
Need -D__REACTOS__ in makefile for porting from wine.

svn path=/trunk/; revision=12037

17 years agoaccidently committed this file, revert changes
Thomas Bluemel [Sun, 12 Dec 2004 02:15:23 +0000 (02:15 +0000)]
accidently committed this file, revert changes

svn path=/trunk/; revision=12036

17 years ago1. remove mouse cursor hacks from eng/mouse
Thomas Bluemel [Sun, 12 Dec 2004 01:40:39 +0000 (01:40 +0000)]
1. remove mouse cursor hacks from eng/mouse
2. implemented more win2k-like gdi handle table (handle entry lookup is not yet optimized/cached!)
3. moved cursoricon.c from objects to ntuser as it's part of the user api and not of the gdi
4. get rid of the eng handle table
5. minor fixes

svn path=/trunk/; revision=12035

17 years agodon't leak resources
Thomas Bluemel [Sat, 11 Dec 2004 22:39:38 +0000 (22:39 +0000)]
don't leak resources

svn path=/trunk/; revision=12034

17 years agosilence some debug output
Thomas Bluemel [Sat, 11 Dec 2004 21:19:41 +0000 (21:19 +0000)]
silence some debug output

svn path=/trunk/; revision=12033

17 years agoFixed warnings of mismatched format and arg type.
Art Yerkes [Sat, 11 Dec 2004 21:07:20 +0000 (21:07 +0000)]
Fixed warnings of mismatched format and arg type.

svn path=/trunk/; revision=12032

17 years agoAdded double complete protection so that we never call an upper-level
Art Yerkes [Sat, 11 Dec 2004 20:48:33 +0000 (20:48 +0000)]
Added double complete protection so that we never call an upper-level
completion routine more than once for the same packet.  This alleviates
a bug i observe with the realtek 8139, as reported by gge.

Define BREAK_ON_DOUBLE_COMPLETE to get a bugcheck if a send completion
handler would be called more than once.  This define is intended to help
us determine if the actual bug is in our ndis.

svn path=/trunk/; revision=12031

17 years ago- Minor fixes to MenuGetRosMenuItemInfo.
Filip Navara [Sat, 11 Dec 2004 20:18:06 +0000 (20:18 +0000)]
- Minor fixes to MenuGetRosMenuItemInfo.

svn path=/trunk/; revision=12030

17 years agodisable 2 environ tests that fail under ros.
Steven Edwards [Sat, 11 Dec 2004 20:01:50 +0000 (20:01 +0000)]
disable 2 environ tests that fail under ros.

svn path=/trunk/; revision=12029

17 years agoDisable a cpp test. We need dbghelp support for name de-mangling.
Steven Edwards [Sat, 11 Dec 2004 19:51:31 +0000 (19:51 +0000)]
Disable a cpp test. We need dbghelp support for name de-mangling.

svn path=/trunk/; revision=12028

17 years ago- Fix yet another heap free error.
Filip Navara [Sat, 11 Dec 2004 19:45:10 +0000 (19:45 +0000)]
- Fix yet another heap free error.

svn path=/trunk/; revision=12027

17 years ago1. don't dispatch sent messages to windows during destruction
Thomas Bluemel [Sat, 11 Dec 2004 19:39:18 +0000 (19:39 +0000)]
1. don't dispatch sent messages to windows during destruction
2. fixed class lookup in a hacky way (get's rewritten soon anyway)

svn path=/trunk/; revision=12026

17 years agoAdded Wine msvcrt regression tests.
Steven Edwards [Sat, 11 Dec 2004 19:31:46 +0000 (19:31 +0000)]
Added Wine msvcrt regression tests.
I am working on making us pass all of them and disabling the ones that fail.

svn path=/trunk/; revision=12025

17 years agoWineism cleanup has started.
Steven Edwards [Sat, 11 Dec 2004 19:21:35 +0000 (19:21 +0000)]
Wineism cleanup has started.

svn path=/trunk/; revision=12024

17 years agoRemove some of the unneeded internal headers in a further effort
Steven Edwards [Sat, 11 Dec 2004 19:21:11 +0000 (19:21 +0000)]
Remove some of the unneeded internal headers in a further effort
to de-wineify my bad import of msvcrt last year.

svn path=/trunk/; revision=12023

17 years agomsvcrt lock functions have been dewine-ifyed.
Steven Edwards [Sat, 11 Dec 2004 19:20:19 +0000 (19:20 +0000)]
msvcrt lock functions have been dewine-ifyed.

svn path=/trunk/; revision=12022

17 years agode-wineifying parts of msvcrt.
Steven Edwards [Sat, 11 Dec 2004 19:19:38 +0000 (19:19 +0000)]
de-wineifying parts of msvcrt.

svn path=/trunk/; revision=12021

17 years agoadd wrapper code for the VkKeyScan functions around
Steven Edwards [Sat, 11 Dec 2004 18:43:06 +0000 (18:43 +0000)]
add wrapper code for the VkKeyScan functions around
VkKeyScanExW and GetKeyboardLayout.
(Both still need to be implemented)

svn path=/trunk/; revision=12020

17 years agoFix output of the build system for VERBOSE=yes, add output for "make install" in...
Gregor Anich [Sat, 11 Dec 2004 17:53:12 +0000 (17:53 +0000)]
Fix output of the build system for VERBOSE=yes, add output for "make install" in half-verbose mode.

svn path=/trunk/; revision=12019

17 years ago- Manage TCP ports using port set and dynamically assign TCP port number if sin_port...
Filip Navara [Sat, 11 Dec 2004 16:36:06 +0000 (16:36 +0000)]
- Manage TCP ports using port set and dynamically assign TCP port number if sin_port == 0.

svn path=/trunk/; revision=12018

17 years agoremove accctrl.h from include. The w32api version works fine for us.
Steven Edwards [Sat, 11 Dec 2004 16:02:22 +0000 (16:02 +0000)]
remove accctrl.h from include. The w32api version works fine for us.

svn path=/trunk/; revision=12017

17 years agoAdd half-verbose output to build system and make it the default (the old output is...
Gregor Anich [Sat, 11 Dec 2004 16:02:22 +0000 (16:02 +0000)]
Add half-verbose output to build system and make it the default (the old output is available via setting VERBOSE=yes)

svn path=/trunk/; revision=12016

17 years agoRtlLargeIntegerArithmeticShift() shouldn't return uninitialized data from the stack
Thomas Bluemel [Sat, 11 Dec 2004 15:23:51 +0000 (15:23 +0000)]
RtlLargeIntegerArithmeticShift() shouldn't return uninitialized data from the stack

svn path=/trunk/; revision=12015

17 years ago- Implement WSPGetSockName.
Filip Navara [Sat, 11 Dec 2004 14:59:32 +0000 (14:59 +0000)]
- Implement WSPGetSockName.
- Minor AFD fixes.

svn path=/trunk/; revision=12014

17 years ago- Detect HDTV output
Gé van Geldorp [Sat, 11 Dec 2004 14:45:00 +0000 (14:45 +0000)]
- Detect HDTV output
- Increase scrolling speed
- Blacklist more PCI slots

svn path=/trunk/; revision=12013

17 years agoupdate Doxyfile format
Martin Fuchs [Sat, 11 Dec 2004 14:15:57 +0000 (14:15 +0000)]
update Doxyfile format

svn path=/trunk/; revision=12012

17 years agoenable new Doxygen option SHOW_DIRECTORIES
Martin Fuchs [Sat, 11 Dec 2004 13:40:24 +0000 (13:40 +0000)]
enable new Doxygen option SHOW_DIRECTORIES

svn path=/trunk/; revision=12011

17 years ago- Don't try to free pointer from union that isn't used.
Filip Navara [Sat, 11 Dec 2004 00:33:13 +0000 (00:33 +0000)]
- Don't try to free pointer from union that isn't used.

svn path=/trunk/; revision=12010

17 years ago- Use malloc/free in C++ new/delete operator implementation (resolves heap issues...
Filip Navara [Sat, 11 Dec 2004 00:24:03 +0000 (00:24 +0000)]
- Use malloc/free in C++ new/delete operator implementation (resolves heap issues with Mozilla Firefox).

svn path=/trunk/; revision=12009

17 years agoforgot this file
Thomas Bluemel [Sat, 11 Dec 2004 00:22:25 +0000 (00:22 +0000)]
forgot this file

svn path=/trunk/; revision=12008

17 years agoport crypt and trustee support from Wine. Patch by Steven Edwards.
Thomas Bluemel [Sat, 11 Dec 2004 00:21:33 +0000 (00:21 +0000)]
port crypt and trustee support from Wine. Patch by Steven Edwards.

svn path=/trunk/; revision=12007

17 years agoPagedPool improvements: differenciate between hiredzone and loredzone, added double...
Royce Mitchell III [Sat, 11 Dec 2004 00:13:37 +0000 (00:13 +0000)]
PagedPool improvements: differenciate between hiredzone and loredzone, added double-free detection including stack trace of free'er, keep track of Tags, two new utility functions for debugging ( VOID ExRosDumpPagedPoolByTag(ULONG) and ULONG ExRosQueryPoolTag(PVOID) ).

svn path=/trunk/; revision=12006

17 years agofixed a bug that caused locking a not anymore existing message queue while dispatchin...
Thomas Bluemel [Fri, 10 Dec 2004 22:40:29 +0000 (22:40 +0000)]
fixed a bug that caused locking a not anymore existing message queue while dispatching a message. Thanks to Royce for helping me :)

svn path=/trunk/; revision=12005

17 years ago- Update registry keys for sound blaster driver.
Filip Navara [Fri, 10 Dec 2004 19:09:02 +0000 (19:09 +0000)]
- Update registry keys for sound blaster driver.

svn path=/trunk/; revision=12004

17 years ago- Fix HalGetAdapter for ISA adapters.
Filip Navara [Fri, 10 Dec 2004 19:05:33 +0000 (19:05 +0000)]
- Fix HalGetAdapter for ISA adapters.
- Fix layout of EISA_CONTROL structure.

svn path=/trunk/; revision=12003

17 years agoUse static buffer for DbgPrint message queueing instead of ExAllocatePool.
Gregor Anich [Fri, 10 Dec 2004 18:31:04 +0000 (18:31 +0000)]
Use static buffer for DbgPrint message queueing instead of ExAllocatePool.

svn path=/trunk/; revision=12002

17 years agoAdd video miniport driver for Xbox, to be used in conjunction with
Gé van Geldorp [Fri, 10 Dec 2004 17:11:35 +0000 (17:11 +0000)]
Add video miniport driver for Xbox, to be used in conjunction with
framebuf.dll DDI

svn path=/trunk/; revision=12001

17 years ago- Move desktop code from NtUserUpdatePerUserSystemParameters to IntDesktopUpdatePerUs...
Filip Navara [Fri, 10 Dec 2004 16:52:04 +0000 (16:52 +0000)]
- Move desktop code from NtUserUpdatePerUserSystemParameters to IntDesktopUpdatePerUserSettings.

svn path=/trunk/; revision=12000

17 years ago- Fix definitions of SecurityAnonymous, SecurityIdentification, SecurityImpersonation...
Filip Navara [Fri, 10 Dec 2004 16:50:38 +0000 (16:50 +0000)]
- Fix definitions of SecurityAnonymous, SecurityIdentification, SecurityImpersonation, SecurityDelegation.
- Fix prototype of NtDuplicateToken and change DuplicateTokenEx accordingly.
- Implement NtOpenThreadToken[Ex] (complete rewrite), PsDisableImpersonation and PsRestoreImpersonation.

svn path=/trunk/; revision=11999

17 years agoAdd an option to serialize DbgPrint - don't worry, it's disabled by default and meant...
Gregor Anich [Fri, 10 Dec 2004 14:58:26 +0000 (14:58 +0000)]
Add an option to serialize DbgPrint - don't worry, it's disabled by default and meant only for those who are tired of reading mixed debug messages.

svn path=/trunk/; revision=11998

17 years agoimplemented GetThreadIOPendingFlag() (only kernel32 part)
Thomas Bluemel [Thu, 9 Dec 2004 19:11:07 +0000 (19:11 +0000)]
implemented GetThreadIOPendingFlag() (only kernel32 part)

svn path=/trunk/; revision=11996

17 years agoimplemented CheckRemoteDebuggerPresent() (only kernel32 part)
Thomas Bluemel [Thu, 9 Dec 2004 19:03:33 +0000 (19:03 +0000)]
implemented CheckRemoteDebuggerPresent() (only kernel32 part)

svn path=/trunk/; revision=11995

17 years agoimplemented SetDllDirectory() and GetDllDirectory(). LoadLibrary(Ex)() should be...
Thomas Bluemel [Thu, 9 Dec 2004 17:28:10 +0000 (17:28 +0000)]
implemented SetDllDirectory() and GetDllDirectory(). LoadLibrary(Ex)() should be extended to use the dll directory when present!

svn path=/trunk/; revision=11994

18 years agoallow data from SYM files to be used in stack traces in DBG builds
Royce Mitchell III [Thu, 9 Dec 2004 14:20:06 +0000 (14:20 +0000)]
allow data from SYM files to be used in stack traces in DBG builds

svn path=/trunk/; revision=11993

18 years agoStarted cleaning up the mess from my old import of
Steven Edwards [Thu, 9 Dec 2004 06:10:06 +0000 (06:10 +0000)]
Started cleaning up the mess from my old import of
Wine code in to msvcrt.

I will start looking at cleaning up the memory allocation problems soon.

svn path=/trunk/; revision=11992

18 years agoadd dsound to the top makefile.
Steven Edwards [Thu, 9 Dec 2004 06:04:40 +0000 (06:04 +0000)]
add dsound to the top makefile.

svn path=/trunk/; revision=11991

18 years agoFix a compile error I was seeing due to lack of mbstowcs.
Steven Edwards [Thu, 9 Dec 2004 05:53:47 +0000 (05:53 +0000)]
Fix a compile error I was seeing due to lack of mbstowcs.
Please let me know if this breaks anything for anyone else.

svn path=/trunk/; revision=11990

18 years agoDoing some work on the msvcrt Wine mess.
Steven Edwards [Thu, 9 Dec 2004 05:34:07 +0000 (05:34 +0000)]
Doing some work on the msvcrt Wine mess.
Added .cvsignore to make it less trouble to see whats going on.

svn path=/trunk/; revision=11989

18 years agoDisregard that last change. The line endings were messed up.
Steven Edwards [Thu, 9 Dec 2004 04:47:20 +0000 (04:47 +0000)]
Disregard that last change. The line endings were messed up.

svn path=/trunk/; revision=11988

18 years agoremove C++ style comments.
Steven Edwards [Thu, 9 Dec 2004 04:41:13 +0000 (04:41 +0000)]
remove C++ style comments.

svn path=/trunk/; revision=11987

18 years agoDon't write to blacklisted PCI functions either
Gé van Geldorp [Wed, 8 Dec 2004 21:53:24 +0000 (21:53 +0000)]
Don't write to blacklisted PCI functions either

svn path=/trunk/; revision=11984

18 years ago- Add DSOUND.DLL to the bootcd
Richard Campbell [Wed, 8 Dec 2004 16:49:38 +0000 (16:49 +0000)]
- Add DSOUND.DLL to the bootcd

svn path=/trunk/; revision=11982

18 years agoDisk partitioning handling
Gé van Geldorp [Wed, 8 Dec 2004 11:42:28 +0000 (11:42 +0000)]
Disk partitioning handling

svn path=/trunk/; revision=11981

18 years agoSync to Wine-20041201
Gé van Geldorp [Tue, 7 Dec 2004 23:08:34 +0000 (23:08 +0000)]
Sync to Wine-20041201

svn path=/trunk/; revision=11980

18 years agoSync to Wine-20041201
Gé van Geldorp [Tue, 7 Dec 2004 22:45:09 +0000 (22:45 +0000)]
Sync to Wine-20041201

svn path=/trunk/; revision=11979

18 years agoSync to Wine-20041201
Gé van Geldorp [Tue, 7 Dec 2004 22:32:28 +0000 (22:32 +0000)]
Sync to Wine-20041201
Alexandre Julliard <julliard@winehq.org>
- Avoid using gettimeofday.

svn path=/trunk/; revision=11978

18 years agoSync to Wine-20041201
Gé van Geldorp [Tue, 7 Dec 2004 22:19:10 +0000 (22:19 +0000)]
Sync to Wine-20041201

svn path=/trunk/; revision=11977

18 years agoSync to Wine-20041201
Gé van Geldorp [Tue, 7 Dec 2004 21:41:02 +0000 (21:41 +0000)]
Sync to Wine-20041201
Filip Navara <xnavara@volny.cz>
- Check the return value from *_GETNUMDEVS message as per KB90562.
- Fix typo in MMDRV_InstallMap.
Eric Pouech <pouech-eric@wanadoo.fr>
- Const correctness fixes.
Robert Shearman <rob@codeweavers.com>
- Fix broken thread start routines.
Eric Pouech <pouech-eric@wanadoo.fr>
Filip Navara <xnavara@volny.cz>
32 bit low level drivers now use a Unicode interface (used to be ANSI):
- Send the *_GETDEVCAPS messages in unicode format from the
  *GetDevCapsW function and call the *GetDevCapsW from their respective
  Ansi versions.
- Modify all low level drivers to correctly process the *_GETDEVCAPS
  messages as unicode.
- *_GETDEVCAPS messages are now mapped from/to unicode for 16 bit code.
- Removed all SoundBlaster naming oldies.
- Better use of some unicode functions (instead of Ansi) in winmm.
Jeremy White <jwhite@codeweavers.com>
- The Sleep(0) in this loop is incorrect, and should be removed.  This
  fixes iTunes and a game reported by che.
Remi Assailly <remi.assailly@free.fr>
- Add some missing error values in WINMM_ErrorToString.

svn path=/trunk/; revision=11976

18 years agoSetDllDirectoryA/W(): lie to caller and indicate that their request completed success...
Royce Mitchell III [Tue, 7 Dec 2004 20:18:49 +0000 (20:18 +0000)]
SetDllDirectoryA/W(): lie to caller and indicate that their request completed successfully

svn path=/trunk/; revision=11975

18 years agoremoved an ASSERT that occured when system ran out of GDI handles, and added more...
Royce Mitchell III [Tue, 7 Dec 2004 19:53:44 +0000 (19:53 +0000)]
removed an ASSERT that occured when system ran out of GDI handles, and added more correct error handling for the condition

svn path=/trunk/; revision=11974

18 years agoSync to Wine-20041201
Gé van Geldorp [Tue, 7 Dec 2004 19:35:19 +0000 (19:35 +0000)]
Sync to Wine-20041201
Eric Pouech <pouech-eric@wanadoo.fr>
- Const correctness fixes.

svn path=/trunk/; revision=11973

18 years agoSync to Wine-20041201
Gé van Geldorp [Tue, 7 Dec 2004 19:28:49 +0000 (19:28 +0000)]
Sync to Wine-20041201
Eric Pouech <pouech-eric@wanadoo.fr>
- Const correctness fixes.

svn path=/trunk/; revision=11972

18 years agoCode cleanup and sink with WindHq CVS.
James Tabor [Tue, 7 Dec 2004 08:13:01 +0000 (08:13 +0000)]
Code cleanup and sink with WindHq CVS.

svn path=/trunk/; revision=11971

18 years agoSync to Wine-20041201
Gé van Geldorp [Mon, 6 Dec 2004 23:55:46 +0000 (23:55 +0000)]
Sync to Wine-20041201
Eric Pouech <pouech-eric@wanadoo.fr>
- Const correctness fixes.
Juan Lang <juan_lang@yahoo.com>
- Fix CSIDL_CONTROLS and CSIDL_PRINTERS PIDL types, and update tests now
  that they pass.
Robert Shearman <rob@codeweavers.com>
- Use more specific error codes than E_FAIL, where possible.
- Move vtable to end, give it the const modifier, and remove unneeded
  function declarations.
Juan Lang <juan_lang@yahoo.com>
- the correct registry location to override is User Shell Folders, not
  Shell Folders
- if User Shell Folders doesn't exist in HKCU, HKLM should be tried
- SHGetSpecialFolderPath should call SHGetFolderPath, not vice-versa
- the default values should be localizable
- some of the parameter checking and returned LPITEMIDLISTs were a bit
  off
- _SHExpandEnvironmentStrings should return input string if no % found
to expand, and should call ExpandEnvironmentStringsW if it doesn't
handle an environment variable directly.  Based on a patch from Dan
Kegel.
- Avoid copying invalid data on error.
- Update shell32's version to WinXP level.
Aric Stewart <aric@codeweavers.com>
- Implementation of PathCleanupSpec.
Fabrice Menard <menard.fabrice@wanadoo.fr>
- Some French translations added.
- Check the type of error returned by SHCreateDirectoryExW.
Rolf Kalbermatter <rolf.kalbermatter@citeng.com>
- Use SHCreateDirectoryEx function instead of doing explicit recursive
  directory creation.
- Fix bad memory allocation for unicode buffer.
- SHCreateDirectory should create intermediate directories if
  necessary.
- Remove extra boolean parameter in SHNotifyMoveFile as it is not
  used.
- Use in SHFileOperation the function SHNotifyCreateDirectory instead
  of SHCreateDirectoryEx as it does not anymore what is needed here.
- Fix several unsigned/signed mismatch warnings.
Alexandre Julliard <julliard@winehq.org>
- Avoid copying invalid data on error.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Tom Wickline <twickline@sitestar.net>
- Version resources cleanup.

svn path=/trunk/; revision=11970

18 years agocorrected the last error to check for when determining if the file already exists...
Gunnar Dalsnes [Mon, 6 Dec 2004 14:45:47 +0000 (14:45 +0000)]
corrected the last error to check for when determining if the file already exists (when using CreateFile with CREATE_NEW)

svn path=/trunk/; revision=11969

18 years ago-correct return value/last error
Gunnar Dalsnes [Mon, 6 Dec 2004 14:37:11 +0000 (14:37 +0000)]
-correct return value/last error
-make use of macros for stu conversion
-pass NULL timeout for INFINITE wait instead of waiting for 292000 years;-D

svn path=/trunk/; revision=11968

18 years ago-add TYPE_ALIGNMENT macro
Gunnar Dalsnes [Mon, 6 Dec 2004 14:34:43 +0000 (14:34 +0000)]
-add TYPE_ALIGNMENT macro
-add macros for easy conversion to system time units (100ns)
(dunno if this is the right place to put it)

svn path=/trunk/; revision=11967

18 years agoset correct last error
Gunnar Dalsnes [Mon, 6 Dec 2004 14:24:51 +0000 (14:24 +0000)]
set correct last error

svn path=/trunk/; revision=11966

18 years agoreplace NtCreateFile with ZwCreateFile
Gunnar Dalsnes [Mon, 6 Dec 2004 13:46:43 +0000 (13:46 +0000)]
replace NtCreateFile with ZwCreateFile

svn path=/trunk/; revision=11965

18 years agoSync to Wine-20041201
Gé van Geldorp [Mon, 6 Dec 2004 10:20:26 +0000 (10:20 +0000)]
Sync to Wine-20041201
Eric Pouech <pouech-eric@wanadoo.fr>
- Const correctness fixes.

svn path=/trunk/; revision=11964

18 years agoSync to Wine-20041201
Gé van Geldorp [Mon, 6 Dec 2004 10:15:04 +0000 (10:15 +0000)]
Sync to Wine-20041201
Eric Pouech <pouech-eric@wanadoo.fr>
- Const correctness fixes.

svn path=/trunk/; revision=11963

18 years agoSync to Wine-20041201
Gé van Geldorp [Mon, 6 Dec 2004 10:07:19 +0000 (10:07 +0000)]
Sync to Wine-20041201
Robert Shearman <rob@codeweavers.com>
- Add some function declarations to objbase.h.
- Add stubs for server ref counting.
- Implement HRESULT marshaling.
- Implement OleDuplicateData.
Eric Pouech <pouech-eric@wanadoo.fr>
- Const correctness fixes.
Mike Hearn <mh@codeweavers.com>
- Improve OLE function documentation.
- Bail out with CO_E_NOTINITIALIZED when apt is null.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Remove bogus use of nStatCounter and hOleAut32 in CoSetState.
- Remove a comment about protecting per thread data by a critical section.
Francois Gouget <fgouget@free.fr>
- Assorted spelling fixes.
Mike Hearn <mh@codeweavers.com>
- Trace the OLE error info strings.

svn path=/trunk/; revision=11962

18 years agoSync to Wine-20041201
Gé van Geldorp [Mon, 6 Dec 2004 09:57:06 +0000 (09:57 +0000)]
Sync to Wine-20041201
Jon Griffiths <jon_p_griffiths@yahoo.com>
- Ensure DllCanUnloadNow is a truly void function, and give it a unique
  name so it can be documented per-dll.
Tom Wickline <twickline@sitestar.net>
- Version resources cleanup.

svn path=/trunk/; revision=11961

18 years agoSync to Wine-20041201
Gé van Geldorp [Mon, 6 Dec 2004 09:51:03 +0000 (09:51 +0000)]
Sync to Wine-20041201
Mike McCormack <mike@codeweavers.com>
- CFM_GETSPEC always returns a space-separated list.
- Fix ofn.nFileOffset when multiple files are selected.

svn path=/trunk/; revision=11960

18 years agocommented out the progress page in setup because it doesn't currently do anything.
Richard Campbell [Mon, 6 Dec 2004 09:13:28 +0000 (09:13 +0000)]
commented out the progress page in setup because it doesn't currently do anything.

svn path=/trunk/; revision=11959

18 years agoFilip and Richard are both smoking something.
Alex Ionescu [Mon, 6 Dec 2004 08:41:38 +0000 (08:41 +0000)]
Filip and Richard are both smoking something.

Replaced syntax error and incorrect inversion.

dwUnknown is a reserved parameter (dwReserved is more correct) that is never used, but it's still incorrect to pass 0 because we should respect what the user is sending us.

svn path=/trunk/; revision=11958

18 years ago- More fixes related to the removal of the 'lib' prefix on various libraries.
Richard Campbell [Mon, 6 Dec 2004 08:33:42 +0000 (08:33 +0000)]
- More fixes related to the removal of the 'lib' prefix on various libraries.
- BootCD is working again now.

svn path=/trunk/; revision=11957

18 years agoFixed a typo that prevented ROS from booting properly.
Richard Campbell [Mon, 6 Dec 2004 08:01:57 +0000 (08:01 +0000)]
Fixed a typo that prevented ROS from booting properly.

svn path=/trunk/; revision=11956