reactos.git
19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 years ago- Filip is smoking something :-)
Richard Campbell [Mon, 6 Dec 2004 07:14:47 +0000 (07:14 +0000)]
- Filip is smoking something :-)
- Replaced a syntax error with 0 for now, as we don't know anything about NtUserUpdatePerUserSystemParameters.

svn path=/trunk/; revision=11955

19 years ago- Basic implementation of (NtUser)UpdatePerUserSystemParameters.
Filip Navara [Mon, 6 Dec 2004 02:23:05 +0000 (02:23 +0000)]
- Basic implementation of (NtUser)UpdatePerUserSystemParameters.
- Move code querying for "PaintDesktopVersion" to NtUserUpdatePerUserSystemParameters.

svn path=/trunk/; revision=11954

19 years agofix broken ShareAccess set/update. makes 80+ wine regtests pass
Gunnar Dalsnes [Mon, 6 Dec 2004 00:26:47 +0000 (00:26 +0000)]
fix broken ShareAccess set/update. makes 80+ wine regtests pass

svn path=/trunk/; revision=11953

19 years agoSync to Wine-20041201
Gé van Geldorp [Sun, 5 Dec 2004 23:09:27 +0000 (23:09 +0000)]
Sync to Wine-20041201
Ulrich Czekalla <ulrich@codeweavers.com>
- Prevent the animation thread from waiting on itself when it stops.
Robert Shearman <rob@codeweavers.com>
- Remove unnecessary WNDPROC casts.
Alexandre Julliard <julliard@winehq.org>
- Avoid using the MAKEPOINTS macro, it's broken on big endian.
- Use correct type instead of void* in item linked list.
Dimitrie O. Paun <dpaun@rogers.com>
- Minor cleanups.
- Implement proper GWL_STYLE handling, proper reaction to style changes.
- Merge {{Inc,Dec}rement,Reset{Up,Down}}Field into one method. Fix a
  bunch of bugs in the process.  Implement DTM_[GS]ETMCFONT. Indentation
  fixes, cleanups.
- Use typesafe signature where possible.
- Use Unicode functions where possible.
- Send notification messages in the format dictated by
  infoPtr->notifyFormat.
- Audit the month calendar.
- Rename STATUSWINDOWINFO to STATUS_INFO, for consistency with other
  controls. Fix some prototypes. Always pass infoPtr around.
- Use only Unicode functions, it makes it easier to see we are fully
  Unicode compliant.
Robert Shearman <rob@codeweavers.com>
- Always remove WS_BORDER style from ComboBoxEx control.
- Correct the date of the completeness audit.
- Store the new style before redrawing and repositioning the control.
- Set cache bitmap dimensions correctly when a 0x0 image list is used.
- Optimize WM_STYLECHANGED handler to only redraw when a CCS_* style
  is changed, like native.
- bNtfUnicode is a dup' of bUnicode so remove it and fix the few
  places where it was used.
- Remove a load of useless NULL infoPtr checks.
- Hardcode the default padding like native instead of using a wacky formula.
- Replace some tabs with spaces and remove NMHDR casts.
- Implement TBN_RESTORE notification.
- Don't fill in any more information than native does for notifications.
- Store hit code in a signed integer so that we can see whether it is
  less than zero.
- Draw with ILD_TRANSPARENT instead of ILD_NORMAL to draw bitmaps from
  the native shell image list properly (reported by Thorsten Kani).
- Rewrite TOOLBAR_NotifyFormat to avoid side-effects.
James Hawkins <truiken@gmail.com>
- Fixed a few memory leaks.
Zach Gorman <zach@archetypeauction.com>
- Add the DT_NOPREFIX flag when calling DrawText() for single-line
  listview controls.
Dmitry Timoshkov <dmitry@codeweavers.com>
- Pass infoPtr around in month calendar control.
- Add support for WM_SETFONT and WM_GETFONT messages.
- Dimensions of month calendar control should not depend on the client
  window size.
- Convert NativeFont control to unicode, use hbrBackground as in native.
- Do not retrieve infoPtr twice in ToolbarWindowProc entry.
- do not move updown control and buddy if an alignment was not requested
- in UDM_SETACCEL handler do not forget to update number of accelerators
- update arrows info in WM_LBUTTONDOWN as well as in WM_MOUSEMOVE
- use accelerators in WM_LBUTTONDOWN handler
Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
- Monthcal_SetRange: Set proper value for min date.
Thorsten Kani <beebix@gmx.net>
- Use address of tab_item.extra when building drawitemstruct.
- Don't add extra OFFSET_X/Y to the calculation of rcBitmap.top/left,
  just use GetSystemMetrics.
Huw Davies <huw@codeweavers.com>
- The default font for the treeview should be the icon title font.

svn path=/trunk/; revision=11952

19 years agoAnother lib prefix killed: libexpat.dll -> expat.dll
Gé van Geldorp [Sun, 5 Dec 2004 23:07:22 +0000 (23:07 +0000)]
Another lib prefix killed: libexpat.dll -> expat.dll

svn path=/trunk/; revision=11951

19 years agolibwine_unicode.dll is better known as wine_unicode.dll these days
Gé van Geldorp [Sun, 5 Dec 2004 23:03:22 +0000 (23:03 +0000)]
libwine_unicode.dll is better known as wine_unicode.dll these days

svn path=/trunk/; revision=11950

19 years ago- Fix RtlInitUnicodeStringEx for NULL case (spotted by Herv� Poussineau).
Filip Navara [Sun, 5 Dec 2004 21:42:54 +0000 (21:42 +0000)]
- Fix RtlInitUnicodeStringEx for NULL case (spotted by Herv� Poussineau).

svn path=/trunk/; revision=11949

19 years agoSync to Wine-20041201
Gé van Geldorp [Sun, 5 Dec 2004 21:30:16 +0000 (21:30 +0000)]
Sync to Wine-20041201
James Hawkins <truiken@gmail.com>
- Fix cabextract memory leak.

svn path=/trunk/; revision=11948

19 years ago- Implement RtlInitUnicodeStringEx.
Filip Navara [Sun, 5 Dec 2004 21:16:01 +0000 (21:16 +0000)]
- Implement RtlInitUnicodeStringEx.

svn path=/trunk/; revision=11947

19 years agohpoussin <poussine@freesurf.fr>:
Gé van Geldorp [Sun, 5 Dec 2004 16:31:51 +0000 (16:31 +0000)]
hpoussin <poussine@freesurf.fr>:
- Add full FATX support
- Add volume label setting to FAT volumes
- Change all ANSI_STRING to OEM_STRING (thanks Filip!)
- Correct one bug in VfatUpdateEntry
- Correct one bug in VfatShutdown
Fixes bugs 286, 434 and 442

svn path=/trunk/; revision=11946

19 years agoCopy "halup.dll" to bootcd as "hal.dll"
Gé van Geldorp [Sun, 5 Dec 2004 16:27:45 +0000 (16:27 +0000)]
Copy "halup.dll" to bootcd as "hal.dll"

svn path=/trunk/; revision=11945

19 years agoget rid of the "global" system process handle since handles are only vaild in the...
Thomas Bluemel [Sun, 5 Dec 2004 15:42:42 +0000 (15:42 +0000)]
get rid of the "global" system process handle since handles are only vaild in the context of the process that they belong to

svn path=/trunk/; revision=11944

19 years agoRemoved my preprocessor hack. DBG appeared to be getting swallowed.
Art Yerkes [Sun, 5 Dec 2004 08:39:09 +0000 (08:39 +0000)]
Removed my preprocessor hack.  DBG appeared to be getting swallowed.
Needs some investigation.

svn path=/trunk/; revision=11943

19 years agoKJK:Hyperion: new macro _SEH_STATIC_FILTER, some changes
Gunnar Dalsnes [Sun, 5 Dec 2004 06:05:52 +0000 (06:05 +0000)]
KJK:Hyperion: new macro _SEH_STATIC_FILTER, some changes

svn path=/trunk/; revision=11942

19 years ago- Allocate the MDI client context structure only once (and don't create a second...
Filip Navara [Sun, 5 Dec 2004 03:50:47 +0000 (03:50 +0000)]
- Allocate the MDI client context structure only once (and don't create a second one in WM_CREATE and leak the first one).
- Don't call SetScrollInfo with SB_BOTH.
- Don't add empty system icon to the client menu.

svn path=/trunk/; revision=11941

19 years ago- Fix conversion of messages from Unicode to Ansi and back.
Filip Navara [Sun, 5 Dec 2004 03:50:33 +0000 (03:50 +0000)]
- Fix conversion of messages from Unicode to Ansi and back.

svn path=/trunk/; revision=11940

19 years ago- Don't delete the "first bitmap" of memory DC. It's done by DeleteDC.
Filip Navara [Sun, 5 Dec 2004 01:13:29 +0000 (01:13 +0000)]
- Don't delete the "first bitmap" of memory DC. It's done by DeleteDC.

svn path=/trunk/; revision=11939

19 years ago- Rebar cursors must be destroyed with DestroyCursor and not with DeleteObject.
Filip Navara [Sun, 5 Dec 2004 01:12:56 +0000 (01:12 +0000)]
- Rebar cursors must be destroyed with DestroyCursor and not with DeleteObject.

svn path=/trunk/; revision=11938

19 years ago- Update .cvsignore files.
Filip Navara [Sun, 5 Dec 2004 00:40:28 +0000 (00:40 +0000)]
- Update .cvsignore files.
- Remove makefile.ros files from CVS.

svn path=/trunk/; revision=11937

19 years ago- Correctly destroy tooltip icons.
Filip Navara [Sun, 5 Dec 2004 00:22:03 +0000 (00:22 +0000)]
- Correctly destroy tooltip icons.
- Don't use DrawEdge with NULL device context.

svn path=/trunk/; revision=11936

19 years ago- Change DPRINT1 to DPRINT in NtUserCreateDesktop.
Filip Navara [Sun, 5 Dec 2004 00:20:41 +0000 (00:20 +0000)]
- Change DPRINT1 to DPRINT in NtUserCreateDesktop.
- Make the pattern brush bitmap objects global to prevent ownership problems.

svn path=/trunk/; revision=11935

19 years ago- Disable debugging messages.
Filip Navara [Sun, 5 Dec 2004 00:20:22 +0000 (00:20 +0000)]
- Disable debugging messages.

svn path=/trunk/; revision=11934

19 years agoafd/connect.c:
Art Yerkes [Sat, 4 Dec 2004 23:29:56 +0000 (23:29 +0000)]
afd/connect.c:
- only pend the irp if we got a pending return from tcpip.
afd/info.c:
- info stub for blocking mode info.
afd/main.c:
- added disconnect plumbing.
- some reformatting, add break after each inactive case.
afd/read.c:
- early return for already closed socket.
- function to correctly complete pending recv irps on a closed socket.
- fixed read completion bug, content properly zeroed before buffer is
  replenished.
- only attempt to fulfill read irps if we got data back.
- call ProcessClose in the no data case.
- major changes to AfdConnectedSocketRead due to connection close.  we now
  recognize the case where the request to tcpip returns zero bytes immediately
  and take action, doing processclose.
afd/tdi.c:
- Added TdiDisconnect.
route.c:
- router: fixed routing bug.  we used to reject the default route if the
  address didn't match at least one bit of the target network, even if the
  netmask is zero.
if.c:
- change RouterGetRoute to RouteGetRouteToDestination
tcp.c:
- simplify TCPReceiveData by removing eof clause.  not needed.
- added SEL_FIN branch in signalling.
- added TCPTranslateError to TCPConnect
- added TCPDisconnect
dispatch.c:
- Implement disconnect
ip_output.c:
- Make a contiguous area from each output packet.  We need to streamline this.
msafd:
- Added MsafdReturnWithErrno
- streamlined function returns with standardize errno selection.

svn path=/trunk/; revision=11933

19 years agoProbing functions 1 and 2 of device 0 on bus 0 completely freezes the Xbox,
Gé van Geldorp [Sat, 4 Dec 2004 22:52:59 +0000 (22:52 +0000)]
Probing functions 1 and 2 of device 0 on bus 0 completely freezes the Xbox,
blacklist those functions

svn path=/trunk/; revision=11932

19 years ago- Don't stop backtrace at the first address that can't be displayed with module name...
Filip Navara [Sat, 4 Dec 2004 22:13:09 +0000 (22:13 +0000)]
- Don't stop backtrace at the first address that can't be displayed with module name (ie. backtrace over syscalls).

svn path=/trunk/; revision=11931

19 years ago- Don't try to delete stock font.
Filip Navara [Sat, 4 Dec 2004 22:09:02 +0000 (22:09 +0000)]
- Don't try to delete stock font.

svn path=/trunk/; revision=11930

19 years ago- Correct freeing of heap memory.
Filip Navara [Sat, 4 Dec 2004 22:08:30 +0000 (22:08 +0000)]
- Correct freeing of heap memory.

svn path=/trunk/; revision=11929

19 years ago- Set the ownership of NCUpdateRegion before returning the WM_NCPAINT message, so...
Filip Navara [Sat, 4 Dec 2004 22:07:24 +0000 (22:07 +0000)]
- Set the ownership of NCUpdateRegion before returning the WM_NCPAINT message, so it's possible to delete it.

svn path=/trunk/; revision=11928

19 years agoForgot to remove the space reservation for hal_pagetable
Gé van Geldorp [Sat, 4 Dec 2004 21:48:45 +0000 (21:48 +0000)]
Forgot to remove the space reservation for hal_pagetable

svn path=/trunk/; revision=11927

19 years agoAdd beginnings of HAL for Xbox
Gé van Geldorp [Sat, 4 Dec 2004 21:43:37 +0000 (21:43 +0000)]
Add beginnings of HAL for Xbox

svn path=/trunk/; revision=11926

19 years agoUse MmMapIoSpace() instead of messing around with the page tables directly
Gé van Geldorp [Sat, 4 Dec 2004 21:40:55 +0000 (21:40 +0000)]
Use MmMapIoSpace() instead of messing around with the page tables directly
when mapping the video frame buffer for HAL

svn path=/trunk/; revision=11925

19 years agoCurrent versions of VMware provide a correct BIOS memory map
Gé van Geldorp [Sat, 4 Dec 2004 20:58:13 +0000 (20:58 +0000)]
Current versions of VMware provide a correct BIOS memory map

svn path=/trunk/; revision=11924

19 years ago- Implement SetMenuItemInfo[AW].
Filip Navara [Sat, 4 Dec 2004 19:53:55 +0000 (19:53 +0000)]
- Implement SetMenuItemInfo[AW].

svn path=/trunk/; revision=11923

19 years ago- Implement lstr[i]cmp[AW] using CompareString[AW] and properly handle NULL parameters.
Filip Navara [Sat, 4 Dec 2004 19:52:55 +0000 (19:52 +0000)]
- Implement lstr[i]cmp[AW] using CompareString[AW] and properly handle NULL parameters.

svn path=/trunk/; revision=11922

19 years ago- Implement QueueUserAPC.
Filip Navara [Sat, 4 Dec 2004 19:45:56 +0000 (19:45 +0000)]
- Implement QueueUserAPC.

svn path=/trunk/; revision=11921

19 years ago- Fix the return value of WaitForMultipleObjectsEx.
Filip Navara [Sat, 4 Dec 2004 19:31:26 +0000 (19:31 +0000)]
- Fix the return value of WaitForMultipleObjectsEx.

svn path=/trunk/; revision=11920

19 years ago- Implement QueueUserAPC.
Filip Navara [Sat, 4 Dec 2004 19:30:09 +0000 (19:30 +0000)]
- Implement QueueUserAPC.

svn path=/trunk/; revision=11919

19 years agofixed some function prototypes
Thomas Bluemel [Sat, 4 Dec 2004 19:28:47 +0000 (19:28 +0000)]
fixed some function prototypes

svn path=/trunk/; revision=11918

19 years agoLet HAL handle its own mapping of the video frame buffer
Gé van Geldorp [Sat, 4 Dec 2004 17:22:47 +0000 (17:22 +0000)]
Let HAL handle its own mapping of the video frame buffer

svn path=/trunk/; revision=11917

19 years agoRemove some unused files, little cosmetic changes.
Gregor Anich [Sat, 4 Dec 2004 17:10:52 +0000 (17:10 +0000)]
Remove some unused files, little cosmetic changes.

svn path=/trunk/; revision=11916

19 years agoAdded InterlockedCompareExchangePointer macro and 64 bit versions for Interlocked...
Gregor Anich [Sat, 4 Dec 2004 16:56:20 +0000 (16:56 +0000)]
Added InterlockedCompareExchangePointer macro and 64 bit versions for Interlocked[Compare]ExchangePointer macros for use in ntoskrnl.

svn path=/trunk/; revision=11915

19 years agoUse InterlockedCompareExchange64 instead of InterlockedCompareExchange for 64bit...
Gregor Anich [Sat, 4 Dec 2004 15:49:20 +0000 (15:49 +0000)]
Use InterlockedCompareExchange64 instead of InterlockedCompareExchange for 64bit builds.

svn path=/trunk/; revision=11914

19 years agoRemove "lib" suffix from "libwine" because it's added by the build system automatically.
Gregor Anich [Sat, 4 Dec 2004 15:45:38 +0000 (15:45 +0000)]
Remove "lib" suffix from "libwine" because it's added by the build system automatically.

svn path=/trunk/; revision=11913

19 years ago- Split up the handling if the fsd returns STATUS_NOT_IMPLEMENTED in MoveFileWithProg...
Hartmut Birr [Sat, 4 Dec 2004 15:38:22 +0000 (15:38 +0000)]
- Split up the handling if the fsd returns STATUS_NOT_IMPLEMENTED in MoveFileWithProgressW.
- Converted the destination name before calling NtSetInformationFile in MoveFileWithProgressW.

svn path=/trunk/; revision=11912

19 years agoImplement GetSystemDefaultUILanguage() and IsValidLocale().
Eric Kohl [Sat, 4 Dec 2004 13:59:41 +0000 (13:59 +0000)]
Implement GetSystemDefaultUILanguage() and IsValidLocale().

svn path=/trunk/; revision=11911

19 years agoPrefix libs in dk/w32 and dk/nkm with "lib" to make use of GCC -l switch possible.
Gregor Anich [Fri, 3 Dec 2004 23:37:44 +0000 (23:37 +0000)]
Prefix libs in dk/w32 and dk/nkm with "lib" to make use of GCC -l switch possible.

svn path=/trunk/; revision=11910

19 years agoReorganise HAL so multiple HAL versions can be built in parallel
Gé van Geldorp [Fri, 3 Dec 2004 20:10:45 +0000 (20:10 +0000)]
Reorganise HAL so multiple HAL versions can be built in parallel

svn path=/trunk/; revision=11909

19 years agoFix and add missing files, and will allow the use of bison as an option of choice.
James Tabor [Fri, 3 Dec 2004 06:21:44 +0000 (06:21 +0000)]
Fix and add missing files, and will allow the use of bison as an option of choice.

svn path=/trunk/; revision=11907

19 years agono need to copy the buffers to the stack
Thomas Bluemel [Thu, 2 Dec 2004 21:22:36 +0000 (21:22 +0000)]
no need to copy the buffers to the stack

svn path=/trunk/; revision=11906

19 years agothe time zone buffers need to be large enough, applications like firefox might attemp...
Thomas Bluemel [Thu, 2 Dec 2004 21:19:56 +0000 (21:19 +0000)]
the time zone buffers need to be large enough, applications like firefox might attempt to write into it

svn path=/trunk/; revision=11905

19 years ago- Remove duplicate definitions.
Filip Navara [Thu, 2 Dec 2004 21:01:11 +0000 (21:01 +0000)]
- Remove duplicate definitions.

svn path=/trunk/; revision=11904

19 years ago*** empty log message ***
Filip Navara [Thu, 2 Dec 2004 19:46:16 +0000 (19:46 +0000)]
*** empty log message ***

svn path=/trunk/; revision=11903