Hervé Poussineau [Fri, 2 Sep 2005 18:51:32 +0000 (18:51 +0000)]
No need to allocate too much memory, as SetupDiGetDeviceRegistryPropertyW returns a size in bytes, not in characters. Bug spotted by Filip
svn path=/trunk/; revision=17605
Filip Navara [Fri, 2 Sep 2005 13:12:44 +0000 (13:12 +0000)]
Check for Request == NULL.
svn path=/trunk/; revision=17604
Filip Navara [Fri, 2 Sep 2005 11:29:40 +0000 (11:29 +0000)]
Fix open mode passed to CreateFile in DoSaveFile function. Patch by Johannes Anderwald.
svn path=/trunk/; revision=17603
Gregor Anich [Thu, 1 Sep 2005 23:32:59 +0000 (23:32 +0000)]
Link against string.a instead of hal and ntoskrnl, otherwise Windows will not load the driver.
svn path=/trunk/; revision=17602
Gunnar Dalsnes [Thu, 1 Sep 2005 21:09:07 +0000 (21:09 +0000)]
fixed RtlCompareUnicodeString and RtlCompareString (said stuff were equal when it was not) by ripping from wine
svn path=/trunk/; revision=17601
Andrew Munger [Thu, 1 Sep 2005 02:57:27 +0000 (02:57 +0000)]
Correct some checks, fix bug 748 (qemu networking). Fix by his vaingloriousness Alex Ionescu.
svn path=/trunk/; revision=17600
Hartmut Birr [Tue, 30 Aug 2005 16:28:36 +0000 (16:28 +0000)]
Print the exception code and the faulting address, if the address is available.
svn path=/trunk/; revision=17598
Hartmut Birr [Tue, 30 Aug 2005 16:26:38 +0000 (16:26 +0000)]
Invoke always our own exception handler if the exception wasn't handled. It prints some nice informations.
svn path=/trunk/; revision=17597
Hartmut Birr [Tue, 30 Aug 2005 16:24:55 +0000 (16:24 +0000)]
Don't interpret SIG_DFL and SIG_IGN as real handler address.
svn path=/trunk/; revision=17596
Filip Navara [Mon, 29 Aug 2005 22:23:55 +0000 (22:23 +0000)]
Remove WineDebugInfo from TEB and fix type of TlsExpansionBitmap in PEB.
svn path=/trunk/; revision=17595
Filip Navara [Mon, 29 Aug 2005 21:06:07 +0000 (21:06 +0000)]
Formatting and code style changes.
svn path=/trunk/; revision=17594
Thomas Bluemel [Mon, 29 Aug 2005 20:06:43 +0000 (20:06 +0000)]
fixed uninitialized variable warning
svn path=/trunk/; revision=17593
Brandon Turner [Mon, 29 Aug 2005 19:09:41 +0000 (19:09 +0000)]
fix an if statment. Found by thomas.
svn path=/trunk/; revision=17592
Brandon Turner [Mon, 29 Aug 2005 18:25:54 +0000 (18:25 +0000)]
Fixed a bug in tab complete when there was only one " and it was in the middle or end of the string. Also changed used more optimized code removing " and removed all _tcsncmp(..,..,1).
svn path=/trunk/; revision=17591
Thomas Bluemel [Mon, 29 Aug 2005 13:54:05 +0000 (13:54 +0000)]
- don't close handles of keys in RegDeleteTree() that were deleted
- implemented RegConnectRegistryA()
svn path=/trunk/; revision=17589
Hervé Poussineau [Sun, 28 Aug 2005 15:43:00 +0000 (15:43 +0000)]
Remove warnings
svn path=/trunk/; revision=17588
Hervé Poussineau [Sun, 28 Aug 2005 15:29:36 +0000 (15:29 +0000)]
Remove warnings
svn path=/trunk/; revision=17587
Eric Kohl [Sun, 28 Aug 2005 15:07:45 +0000 (15:07 +0000)]
Implement CM_Get_Class_Key_Name[_Ex]A/W and CM_Open_Class[_Ex]A/W.
svn path=/trunk/; revision=17586
Royce Mitchell III [Sun, 28 Aug 2005 12:23:37 +0000 (12:23 +0000)]
remove single "." entries from paths
svn path=/trunk/; revision=17585
Royce Mitchell III [Sun, 28 Aug 2005 12:18:13 +0000 (12:18 +0000)]
remove transient debugging code
svn path=/trunk/; revision=17584
Royce Mitchell III [Sun, 28 Aug 2005 12:08:53 +0000 (12:08 +0000)]
don't crash if path == base_directory.
sorry I forgot to commit my changes to this file last night
svn path=/trunk/; revision=17583
Hartmut Birr [Sun, 28 Aug 2005 12:03:25 +0000 (12:03 +0000)]
- Allocate the csrss request buffer from heap if the necessary length is larger than the request structure.
- Fixed some buffer length calculations.
svn path=/trunk/; revision=17582
Hartmut Birr [Sun, 28 Aug 2005 11:58:06 +0000 (11:58 +0000)]
Allocated the message reply buffer according to the size of the message.
svn path=/trunk/; revision=17581
Hervé Poussineau [Sun, 28 Aug 2005 09:50:00 +0000 (09:50 +0000)]
Fix rbuild compilation, by adding Path::RelativeFromDirectory method
svn path=/trunk/; revision=17580
Hervé Poussineau [Sun, 28 Aug 2005 09:07:43 +0000 (09:07 +0000)]
Remove warnings
svn path=/trunk/; revision=17579
Hervé Poussineau [Sun, 28 Aug 2005 09:04:39 +0000 (09:04 +0000)]
Remove warnings
svn path=/trunk/; revision=17578
Emanuele Aliberti [Sun, 28 Aug 2005 07:34:35 +0000 (07:34 +0000)]
Autoregister Debug internal subsystem too. Now 'sm info' displays meaningful information.
NOTE: It seems the new client management introduced a stupid bug that shows up on system shutdown (smss crashes calling an LPC related API). I can't locate it now (of course, that happens for every 'stupid' bug, but will tray again later).
svn path=/trunk/; revision=17577
Royce Mitchell III [Sun, 28 Aug 2005 05:34:22 +0000 (05:34 +0000)]
add include directories from xml, remove "." hack, as projects that need to include their base directory have done so already in the xml.
svn path=/trunk/; revision=17576
Royce Mitchell III [Sun, 28 Aug 2005 02:37:06 +0000 (02:37 +0000)]
add . to list of include directories for all projects
svn path=/trunk/; revision=17575
Thomas Bluemel [Sat, 27 Aug 2005 23:35:51 +0000 (23:35 +0000)]
#include "precomp.h" -> #include <precomp.h>
svn path=/trunk/; revision=17574
Eric Kohl [Sat, 27 Aug 2005 19:14:35 +0000 (19:14 +0000)]
Implement StringTableInitializeEx, StringTableGetExtraData and StringTableSetExtraData.
Add StringTableAddStringEx and StringTableLookUpStringEx stubs.
svn path=/trunk/; revision=17573
Thomas Bluemel [Sat, 27 Aug 2005 18:13:52 +0000 (18:13 +0000)]
implemented RegDeleteTree() (untested!)
svn path=/trunk/; revision=17572
Emanuele Aliberti [Sat, 27 Aug 2005 17:21:07 +0000 (17:21 +0000)]
native EOL
svn path=/trunk/; revision=17571
Emanuele Aliberti [Sat, 27 Aug 2005 17:18:29 +0000 (17:18 +0000)]
Minor changes and IT resource file.
svn path=/trunk/; revision=17570
Hervé Poussineau [Sat, 27 Aug 2005 14:59:22 +0000 (14:59 +0000)]
Implement SetupDiSelectBestCompatDrv, by sorting drivers by rank in drivers list
svn path=/trunk/; revision=17569
Eric Kohl [Sat, 27 Aug 2005 14:56:17 +0000 (14:56 +0000)]
Implement LogonUserA.
svn path=/trunk/; revision=17568
Emanuele Aliberti [Sat, 27 Aug 2005 09:55:27 +0000 (09:55 +0000)]
SM: simplify and fix client (subsystem servers) management.
svn path=/trunk/; revision=17567
Andrew Munger [Sat, 27 Aug 2005 04:20:49 +0000 (04:20 +0000)]
17519 requires __REACTOS__ to be defined for KDB to work.
svn path=/trunk/; revision=17566
Andrew Munger [Sat, 27 Aug 2005 02:34:46 +0000 (02:34 +0000)]
"." means current directory, not previous. Spotted by Talley.
svn path=/trunk/; revision=17565
Thomas Bluemel [Fri, 26 Aug 2005 21:02:47 +0000 (21:02 +0000)]
fixed code to compile both as ansi and unicode version, build as unicode by default
svn path=/trunk/; revision=17564
Hartmut Birr [Fri, 26 Aug 2005 20:35:33 +0000 (20:35 +0000)]
- Moved all members with variable length in CSRSS_XXX structures to the end.
- Defined all members with variable length as arrays with a size of zero.
- Used the stack for allocating CSR_API_MESSAGE structures.
svn path=/trunk/; revision=17563
Filip Navara [Fri, 26 Aug 2005 20:03:41 +0000 (20:03 +0000)]
Make the explorer taskbar look a bit nicer.
svn path=/trunk/; revision=17562
Filip Navara [Fri, 26 Aug 2005 20:02:53 +0000 (20:02 +0000)]
Add TBMETRICS structure and associated constants.
svn path=/trunk/; revision=17561
Steven Edwards [Fri, 26 Aug 2005 18:39:20 +0000 (18:39 +0000)]
Add constants for DBG_CONTROL_C and DBG_CONTROL_BREAK to ntstatus.h, Work around conflict including ntstatus.h with the NDK
svn path=/trunk/; revision=17560
Thomas Bluemel [Fri, 26 Aug 2005 13:47:56 +0000 (13:47 +0000)]
implemented CreateSymbolicLink() (not tested/verified yet!)
svn path=/trunk/; revision=17559
Hartmut Birr [Fri, 26 Aug 2005 13:06:24 +0000 (13:06 +0000)]
Call the correct user mode dispatch function in KiDispatchException. The bug was introduced by r17053.
svn path=/trunk/; revision=17558
Thomas Bluemel [Fri, 26 Aug 2005 09:53:00 +0000 (09:53 +0000)]
removed obsolete variable in RegOpenUserClassesRoot()
svn path=/trunk/; revision=17557
Thomas Bluemel [Fri, 26 Aug 2005 09:49:19 +0000 (09:49 +0000)]
RegLoadMUIStringA/W are not implemented yet...
svn path=/trunk/; revision=17556
Thomas Bluemel [Fri, 26 Aug 2005 09:48:13 +0000 (09:48 +0000)]
added stubs for RegLoadMUIStringA/W()
svn path=/trunk/; revision=17555
Thomas Bluemel [Fri, 26 Aug 2005 09:40:37 +0000 (09:40 +0000)]
implemented RegDisablePredefinedCacheEx()
svn path=/trunk/; revision=17554
Steven Edwards [Thu, 25 Aug 2005 23:54:39 +0000 (23:54 +0000)]
Why this thing ships with its own GetConsoleWindow function I don't understand. Rename it and make the rest of the code use it. Compiles fine on gcc 3.x and msvc6 and works properly.
svn path=/trunk/; revision=17553
Steven Edwards [Thu, 25 Aug 2005 23:20:34 +0000 (23:20 +0000)]
minor build fixes for msvc
svn path=/trunk/; revision=17552
Steven Edwards [Thu, 25 Aug 2005 22:50:44 +0000 (22:50 +0000)]
fix msvc compile
svn path=/trunk/; revision=17551
Steven Edwards [Thu, 25 Aug 2005 22:49:26 +0000 (22:49 +0000)]
disable the custom rules for Winebuild for now
svn path=/trunk/; revision=17550
Magnus Olsen [Thu, 25 Aug 2005 22:43:20 +0000 (22:43 +0000)]
Thx ravelo to found a new bug in start.c it did not manger run batfile with path that contain space.
svn path=/trunk/; revision=17549
Brandon Turner [Thu, 25 Aug 2005 22:09:10 +0000 (22:09 +0000)]
Don't dereference the pointers. Catch by Thomas.
svn path=/trunk/; revision=17548
Thomas Bluemel [Thu, 25 Aug 2005 22:06:31 +0000 (22:06 +0000)]
add stub for ControlServiceEx()
svn path=/trunk/; revision=17547
Steven Edwards [Thu, 25 Aug 2005 20:58:01 +0000 (20:58 +0000)]
Generate a GUID for each module processed. Later on this will be needed to support msvc2k3/5 vcproj files.
svn path=/trunk/; revision=17546
Brandon Turner [Thu, 25 Aug 2005 20:05:07 +0000 (20:05 +0000)]
Implement escape char in console. "^"
cmd.c - when the env isnt found, dont zero out the params
redir.c - skip over all ^ when looking for redir/pipe
echo.c - when printing out, treat ^ correctly.
svn path=/trunk/; revision=17545
Thomas Bluemel [Thu, 25 Aug 2005 19:53:37 +0000 (19:53 +0000)]
enable theming of the checklist control
svn path=/trunk/; revision=17544
Thomas Bluemel [Thu, 25 Aug 2005 19:47:44 +0000 (19:47 +0000)]
- added stubs for Set/GetConsoleHistoryInfo(), GetConsoleOriginalTitleA/W(), Set/GetConsoleScreenBufferInfoEx() and GetCurrentConsoleFontEx()
- added missing structure definitions
svn path=/trunk/; revision=17543
Thomas Bluemel [Thu, 25 Aug 2005 18:21:50 +0000 (18:21 +0000)]
add stubs for CreateSymbolicLinkA/W
svn path=/trunk/; revision=17542
Brandon Turner [Thu, 25 Aug 2005 17:38:15 +0000 (17:38 +0000)]
Use GetShortPathName and GetLongPathName to correct the case of the new path in SetRootPath. GetFullPathName by itself would not work when there was a space in the name.
svn path=/trunk/; revision=17541
Royce Mitchell III [Thu, 25 Aug 2005 17:24:11 +0000 (17:24 +0000)]
file paths should be relative to the location of the dsp file, not the dsw file
svn path=/trunk/; revision=17540
Maarten Bosma [Thu, 25 Aug 2005 15:31:28 +0000 (15:31 +0000)]
Fill some more structs, that ms ddraw fill as well.
svn path=/trunk/; revision=17539
Hartmut Birr [Thu, 25 Aug 2005 12:33:37 +0000 (12:33 +0000)]
Fixed a bug in RtlLeaveCriticalSection. We have only to signal the event if someone waits on it.
svn path=/trunk/; revision=17538
Thomas Bluemel [Thu, 25 Aug 2005 12:30:10 +0000 (12:30 +0000)]
minor simplifications
svn path=/trunk/; revision=17537
Thomas Bluemel [Thu, 25 Aug 2005 12:27:25 +0000 (12:27 +0000)]
open subkey with sufficient rights in RegDeleteTree
svn path=/trunk/; revision=17536
Thomas Bluemel [Thu, 25 Aug 2005 12:25:11 +0000 (12:25 +0000)]
added stubs for RegDeleteTreeA/W() and RegCopyTreeA/W()
svn path=/trunk/; revision=17535
Maarten Bosma [Thu, 25 Aug 2005 11:36:49 +0000 (11:36 +0000)]
Change Install Name to ddraw_demo.exe
svn path=/trunk/; revision=17534
Royce Mitchell III [Thu, 25 Aug 2005 01:44:23 +0000 (01:44 +0000)]
$default_cfg fix
cleaned up more code that isn't enabled yet
generate correct line endings on *nix, too
svn path=/trunk/; revision=17533
Thomas Bluemel [Thu, 25 Aug 2005 00:33:37 +0000 (00:33 +0000)]
check for console handles in Get/SetFileAttributesByHandle()
svn path=/trunk/; revision=17531
Thomas Bluemel [Wed, 24 Aug 2005 23:59:03 +0000 (23:59 +0000)]
implemented SetFileAttributesByHandle() and GetFileAttributesByHandle()
svn path=/trunk/; revision=17530
Thomas Bluemel [Wed, 24 Aug 2005 23:44:27 +0000 (23:44 +0000)]
implemented RegSetKeyValueA/W
svn path=/trunk/; revision=17529
Magnus Olsen [Wed, 24 Aug 2005 23:33:34 +0000 (23:33 +0000)]
fixing a bug in searching for cmd for bat/cmd files, thx ravelo to found this stupied bug
svn path=/trunk/; revision=17528
Thomas Bluemel [Wed, 24 Aug 2005 23:29:51 +0000 (23:29 +0000)]
implemented RegDeleteKeyValueA/W()
svn path=/trunk/; revision=17527
Magnus Olsen [Wed, 24 Aug 2005 23:07:51 +0000 (23:07 +0000)]
Implement start execute support for bat/cmd file. woking in windows
svn path=/trunk/; revision=17526
Thomas Bluemel [Wed, 24 Aug 2005 23:05:07 +0000 (23:05 +0000)]
implemented IsThreadAFiber()
svn path=/trunk/; revision=17525
Royce Mitchell III [Wed, 24 Aug 2005 22:38:10 +0000 (22:38 +0000)]
zero the entire buffer
svn path=/trunk/; revision=17524
Thomas Bluemel [Wed, 24 Aug 2005 21:54:13 +0000 (21:54 +0000)]
install the registry keys before enabling the driver
svn path=/trunk/; revision=17523
Filip Navara [Wed, 24 Aug 2005 21:52:41 +0000 (21:52 +0000)]
REVISON -> REVISION
svn path=/trunk/; revision=17522
Magnus Olsen [Wed, 24 Aug 2005 21:40:01 +0000 (21:40 +0000)]
implemented "" remove for the start command. This makes 'start dir1\"dir2a dir2b"\dir3\foo.exe param' work change by Martin Rottensteiner 2005only@pianonote.at irc nick ravelo
svn path=/trunk/; revision=17521
Filip Navara [Wed, 24 Aug 2005 21:29:24 +0000 (21:29 +0000)]
Fix a memory leak if VideoPortInitialize is called more than once from the same miniport.
Replace STDCALL with NTAPI.
svn path=/trunk/; revision=17520
Hervé Poussineau [Wed, 24 Aug 2005 20:34:50 +0000 (20:34 +0000)]
Cleanup i8042prt.h
Remove $Id$ tags
Replace Win32 types by their kernel counterparts (DWORD -> ULONG, ...)
svn path=/trunk/; revision=17519
Royce Mitchell III [Wed, 24 Aug 2005 20:06:54 +0000 (20:06 +0000)]
added some verbosity
standardized back on printf from cout
fixed loop variable conflict
svn path=/trunk/; revision=17518
Royce Mitchell III [Wed, 24 Aug 2005 19:58:07 +0000 (19:58 +0000)]
invoke _generate_dsp() have it open the output file, and fix some path parsing and const issues.
svn path=/trunk/; revision=17517
Hervé Poussineau [Wed, 24 Aug 2005 18:29:45 +0000 (18:29 +0000)]
Remove $Id$ tags
Use FATEntry.ShortName field instead of FATEntry.FileName when dealing with full name
Remove LL suffix on long long constants
Replace Win32 types by their kernel counterparts (DWORD -> ULONG, ...)
svn path=/trunk/; revision=17516
Royce Mitchell III [Wed, 24 Aug 2005 18:13:00 +0000 (18:13 +0000)]
_generate_dsp() compiles now, haven't tested yet
svn path=/trunk/; revision=17515
Hervé Poussineau [Wed, 24 Aug 2005 15:37:04 +0000 (15:37 +0000)]
Fix IRP_MJ_QUERY_INFORMATION/FileStandardInformation (current code was trying to dereference NULL pointer)
Replace MmGetSystemAddressForMdl by MmGetSystemAddressForMdlSafe
svn path=/trunk/; revision=17514
Hervé Poussineau [Wed, 24 Aug 2005 15:33:58 +0000 (15:33 +0000)]
Replace ExAllocatePool by ExAllocatePoolWithTag
Fix CHECKPOINT1 definition for MSVC compiler
svn path=/trunk/; revision=17513
Filip Navara [Wed, 24 Aug 2005 14:15:54 +0000 (14:15 +0000)]
Make BusyLoop volatile. Spotted by Thomas.
svn path=/trunk/; revision=17512
Filip Navara [Wed, 24 Aug 2005 12:21:18 +0000 (12:21 +0000)]
Implement the most over-optimized lock in NT - the NDIS_RW_LOCK.
svn path=/trunk/; revision=17511
Filip Navara [Wed, 24 Aug 2005 12:20:59 +0000 (12:20 +0000)]
Fix the NDIS_RW_LOCK structure.
svn path=/trunk/; revision=17510
Filip Navara [Wed, 24 Aug 2005 09:50:18 +0000 (09:50 +0000)]
Remove bogus and unneeded cast.
svn path=/trunk/; revision=17509
Royce Mitchell III [Wed, 24 Aug 2005 06:03:34 +0000 (06:03 +0000)]
Replace() bugfix #2 - forgot to insert replacement text ( yes yes I suck you can stop throwing tomatoes now )
svn path=/trunk/; revision=17508
Royce Mitchell III [Wed, 24 Aug 2005 06:01:02 +0000 (06:01 +0000)]
bugfix - Replace() was truncating the string
svn path=/trunk/; revision=17507
Royce Mitchell III [Wed, 24 Aug 2005 05:58:14 +0000 (05:58 +0000)]
almost done converting _generate_dsp(), but have to quit for the night, so commiting what's done so far.
svn path=/trunk/; revision=17506
Royce Mitchell III [Wed, 24 Aug 2005 05:50:21 +0000 (05:50 +0000)]
new helper function Replace()
svn path=/trunk/; revision=17505
Royce Mitchell III [Wed, 24 Aug 2005 04:00:37 +0000 (04:00 +0000)]
vc6 build files - just in case somebody else wants to use them
svn path=/trunk/; revision=17504
Steven Edwards [Wed, 24 Aug 2005 03:56:25 +0000 (03:56 +0000)]
remove a few of the Wine hacks
svn path=/trunk/; revision=17503