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
Royce Mitchell III [Wed, 24 Aug 2005 03:39:10 +0000 (03:39 +0000)]
new top-level target 'msvc' to create msvc build files
svn path=/trunk/; revision=17502
Royce Mitchell III [Wed, 24 Aug 2005 03:38:20 +0000 (03:38 +0000)]
import wine's "msvcmaker" perl script and begin converting it to C++ - so far it creates the DSW file.
svn path=/trunk/; revision=17501
Royce Mitchell III [Wed, 24 Aug 2005 03:18:13 +0000 (03:18 +0000)]
added some comments to illustrate the output of several path-related functions
svn path=/trunk/; revision=17500
Royce Mitchell III [Wed, 24 Aug 2005 02:55:08 +0000 (02:55 +0000)]
fix to not crash when built with msvc6 ( bad calling convention on imports ).
fix error-handling bugs, added missing error-handling
svn path=/trunk/; revision=17499
Filip Navara [Wed, 24 Aug 2005 02:20:41 +0000 (02:20 +0000)]
Get rid of one memory leak and two more ROS-only fields in LOGICAL_ADAPTER structure.
svn path=/trunk/; revision=17498
Filip Navara [Wed, 24 Aug 2005 01:51:49 +0000 (01:51 +0000)]
Start removing dead code and ReactOS specific structure fields (the NDIS structures are official, documented and contain all we need).
svn path=/trunk/; revision=17497
Filip Navara [Wed, 24 Aug 2005 00:04:21 +0000 (00:04 +0000)]
Fix few macros to work with the corrected declarations.
svn path=/trunk/; revision=17496
Royce Mitchell III [Tue, 23 Aug 2005 23:20:23 +0000 (23:20 +0000)]
remove incorrect comment (copy/paste error)
svn path=/trunk/; revision=17495
Filip Navara [Tue, 23 Aug 2005 23:08:40 +0000 (23:08 +0000)]
Get rid of NdisWorkItemHalt.
svn path=/trunk/; revision=17494
Royce Mitchell III [Tue, 23 Aug 2005 23:06:58 +0000 (23:06 +0000)]
msvc6 compatibility
svn path=/trunk/; revision=17493
Royce Mitchell III [Tue, 23 Aug 2005 23:06:19 +0000 (23:06 +0000)]
proxy makefile for rbuild
svn path=/trunk/; revision=17492
Filip Navara [Tue, 23 Aug 2005 23:02:35 +0000 (23:02 +0000)]
Remove buffer pool implementation and replace buffer allocation with binary compatible functions (since some of them are macroized in DDK headers), other cosmetic changes.
svn path=/trunk/; revision=17491
Hervé Poussineau [Tue, 23 Aug 2005 22:25:35 +0000 (22:25 +0000)]
Remove incorrect definition of NLS_MB_CODE_PAGE_TAG. The correct definition is 2 lines above.
svn path=/trunk/; revision=17490
Filip Navara [Tue, 23 Aug 2005 22:24:54 +0000 (22:24 +0000)]
Remove obsolete APIs and APIs that are actually implemented only as macros.
svn path=/trunk/; revision=17489
Filip Navara [Tue, 23 Aug 2005 22:11:03 +0000 (22:11 +0000)]
MS DDK compatibility fixes.
svn path=/trunk/; revision=17488
Filip Navara [Tue, 23 Aug 2005 20:18:55 +0000 (20:18 +0000)]
Shut up PREFAST warnings about shadowing declarations.
svn path=/trunk/; revision=17487
Filip Navara [Tue, 23 Aug 2005 20:13:31 +0000 (20:13 +0000)]
Fix incorrect string manipulation in NdisOpenProtocolConfiguration and add few casts to make compiler happy.
svn path=/trunk/; revision=17486
Hartmut Birr [Tue, 23 Aug 2005 17:43:58 +0000 (17:43 +0000)]
ReturnRecognizedPartitions in HalIoReadPartitionTable means that used and real partitions should be returned.
svn path=/trunk/; revision=17485
Hartmut Birr [Tue, 23 Aug 2005 17:42:12 +0000 (17:42 +0000)]
Fixed the calculation of the boot disk number in i386DiskGetSystemVolume.
We have to count all used partititions instead of the known one.
svn path=/trunk/; revision=17484
Hervé Poussineau [Tue, 23 Aug 2005 17:38:14 +0000 (17:38 +0000)]
Fix special case in SetupGetLineTextA/W and SetupGetStringFieldA/W when Buffer is NULL and BufferSize is 0, by reverting part of r17162
Fixes bug #724, spotted by GvG
Do according changes in SetupDiBuildDriverInfoList
svn path=/trunk/; revision=17483
Filip Navara [Tue, 23 Aug 2005 14:56:38 +0000 (14:56 +0000)]
Name the proxy makefiles "GNUmakefile" instead of "makefile".
svn path=/trunk/; revision=17482
Gé van Geldorp [Tue, 23 Aug 2005 14:51:03 +0000 (14:51 +0000)]
Rewrite project target
svn path=/trunk/; revision=17481
Filip Navara [Tue, 23 Aug 2005 14:26:00 +0000 (14:26 +0000)]
Set the service group for i8042prt.
svn path=/trunk/; revision=17480
Alex Ionescu [Mon, 22 Aug 2005 23:33:51 +0000 (23:33 +0000)]
use correct wait mode when checking alertability in KeDelayExecuteThread. thanks to gunnar for noticing the bug
svn path=/trunk/; revision=17479
Filip Navara [Mon, 22 Aug 2005 21:35:41 +0000 (21:35 +0000)]
Actually break out of the wait loops if we got alerted.
svn path=/trunk/; revision=17478
Thomas Bluemel [Mon, 22 Aug 2005 15:20:49 +0000 (15:20 +0000)]
rename IsKernelPointer to IsPointerOffset
svn path=/trunk/; revision=17477
Gunnar Dalsnes [Mon, 22 Aug 2005 14:39:10 +0000 (14:39 +0000)]
move old cruft
svn path=/trunk/; revision=17476
Gunnar Dalsnes [Mon, 22 Aug 2005 14:26:37 +0000 (14:26 +0000)]
prepare move old cruft
svn path=/trunk/; revision=17475
Thomas Bluemel [Mon, 22 Aug 2005 13:38:30 +0000 (13:38 +0000)]
added a macro IsKernelPointer() to test whether a pointer value points to the kernel address space. This is needed because on IA-64 the MSB is not necessarily set for pointers to the kernel address space.
svn path=/trunk/; revision=17474
Filip Navara [Mon, 22 Aug 2005 10:51:05 +0000 (10:51 +0000)]
Cleanup IoGetDmaAdapter and use HalGetDmaAdapter instead of HalGetAdapter.
svn path=/trunk/; revision=17473
Filip Navara [Mon, 22 Aug 2005 10:47:29 +0000 (10:47 +0000)]
Export the HalGetDmaAdapter callback and use some nice macros where appropriate.
svn path=/trunk/; revision=17472
Filip Navara [Mon, 22 Aug 2005 10:29:51 +0000 (10:29 +0000)]
Add missing definitions for HalDispatchTable callbacks.
svn path=/trunk/; revision=17471
Filip Navara [Mon, 22 Aug 2005 08:39:42 +0000 (08:39 +0000)]
Complete reimplementation of HAL DMA routines.
The key changes are
* Proper support for bus-master device adapters.
* Real implementation of map registers.
* Basic support for emulating scatter/gather DMA on
devices that don't support it in hardware.
* Support for transfers that aren't page aligned.
* Proper detection and support of EISA DMA controllers.
* Fixed prototype for HalFlushCommonBuffer.
svn path=/trunk/; revision=17470
Brandon Turner [Sun, 21 Aug 2005 20:44:47 +0000 (20:44 +0000)]
Fix a CD bug spotted by ravelo_. This is simlair to bug 690. cd foo\"bar", cd "foo"\"bar"" and other of the sorts are all valid.
svn path=/trunk/; revision=17469
Steven Edwards [Sun, 21 Aug 2005 19:35:19 +0000 (19:35 +0000)]
prompt to configure for Mingw after building project files
svn path=/trunk/; revision=17468
Thomas Bluemel [Sun, 21 Aug 2005 19:04:23 +0000 (19:04 +0000)]
- use inlined probing macros for basic types
- minor optimizations by comparing the processor mode against KernelMode (==0) instead of UserMode (==1)
svn path=/trunk/; revision=17467
Thomas Bluemel [Sun, 21 Aug 2005 17:38:07 +0000 (17:38 +0000)]
use inlined probing macros for basic types
svn path=/trunk/; revision=17466
Filip Navara [Sun, 21 Aug 2005 15:54:48 +0000 (15:54 +0000)]
Replace wcsncpy with lstrcpynW / memcpy as appropriate.
svn path=/trunk/; revision=17465
Filip Navara [Sun, 21 Aug 2005 15:51:57 +0000 (15:51 +0000)]
Fix implementation of wcsnlen and strnlen.
svn path=/trunk/; revision=17464
Filip Navara [Sun, 21 Aug 2005 15:51:23 +0000 (15:51 +0000)]
Fix buffer overflow in lstrcpynW and lstrcpynA.
svn path=/trunk/; revision=17463
Thomas Bluemel [Sun, 21 Aug 2005 15:38:47 +0000 (15:38 +0000)]
- use inlined probing macros for basic types
- documented dozens of vulnerabilities in NtOpenThread, NtCreateThread and NtOpenProcess (owner may fix them)
svn path=/trunk/; revision=17462
Thomas Bluemel [Sun, 21 Aug 2005 15:14:36 +0000 (15:14 +0000)]
add macros to probe basic type pointers
svn path=/trunk/; revision=17461
Thomas Bluemel [Sun, 21 Aug 2005 15:00:29 +0000 (15:00 +0000)]
fixed uninitialized variable warning
svn path=/trunk/; revision=17460
Thomas Bluemel [Sun, 21 Aug 2005 14:58:47 +0000 (14:58 +0000)]
add prototypes of RtlDosPathNameToRelativeNtPathName_U and RtlReleaseRelativeName and export them
svn path=/trunk/; revision=17459
Steven Edwards [Sun, 21 Aug 2005 14:41:20 +0000 (14:41 +0000)]
add fix it to build on linux
svn path=/trunk/; revision=17458
Steven Edwards [Sun, 21 Aug 2005 14:04:19 +0000 (14:04 +0000)]
added a genguid helper function based on genguid by Jon Wilson. Will be needed later on when building project files.
svn path=/trunk/; revision=17457
Steven Edwards [Sun, 21 Aug 2005 04:04:13 +0000 (04:04 +0000)]
...I hate windows and its concepts of case in filenames...
svn path=/trunk/; revision=17456
Steven Edwards [Sun, 21 Aug 2005 03:24:37 +0000 (03:24 +0000)]
add a more descriptive message about the state of the MSVC backend
svn path=/trunk/; revision=17455
Steven Edwards [Sun, 21 Aug 2005 01:29:56 +0000 (01:29 +0000)]
started working on a msvc2k5 backend. Mostly a dummy atm based on the devcpp backend
svn path=/trunk/; revision=17454
Filip Navara [Sat, 20 Aug 2005 23:50:06 +0000 (23:50 +0000)]
Report the PCI bus type as PCIBus instead of Internal.
svn path=/trunk/; revision=17453
Brandon Turner [Sat, 20 Aug 2005 19:04:38 +0000 (19:04 +0000)]
optimize 17218 by using memmove instead of memcopy and not using _tcsncmp. Suggested by thomas.
svn path=/trunk/; revision=17452
Brandon Turner [Sat, 20 Aug 2005 18:30:25 +0000 (18:30 +0000)]
Open err redirection the same as output redirection. Batch file does not need to be opened with FILE_FLAG_WRITE_THROUGH since it is read only, catch by thomas.
svn path=/trunk/; revision=17451
Brandon Turner [Sat, 20 Aug 2005 18:07:59 +0000 (18:07 +0000)]
Change the way batch files and output files are opened. They now allow write and delete while being excuted. This is how MS cmd is done. Thanks to Greatlord, Filip, Thomas.
svn path=/trunk/; revision=17450
Royce Mitchell III [Fri, 19 Aug 2005 21:58:31 +0000 (21:58 +0000)]
added clean rule
svn path=/trunk/; revision=17448
Steven Edwards [Fri, 19 Aug 2005 21:56:14 +0000 (21:56 +0000)]
use instead of g++
svn path=/trunk/; revision=17447
Royce Mitchell III [Fri, 19 Aug 2005 21:54:59 +0000 (21:54 +0000)]
spelling/grammar
svn path=/trunk/; revision=17446
Royce Mitchell III [Fri, 19 Aug 2005 21:53:40 +0000 (21:53 +0000)]
mingw makefile + more mingw compatibility fixes
svn path=/trunk/; revision=17445
Steven Edwards [Fri, 19 Aug 2005 21:21:58 +0000 (21:21 +0000)]
ditto
svn path=/trunk/; revision=17444
Royce Mitchell III [Fri, 19 Aug 2005 21:21:05 +0000 (21:21 +0000)]
mingw compatibility fixes
svn path=/trunk/; revision=17443
Steven Edwards [Fri, 19 Aug 2005 21:21:04 +0000 (21:21 +0000)]
mixed case sucks
svn path=/trunk/; revision=17442
Gé van Geldorp [Fri, 19 Aug 2005 20:56:01 +0000 (20:56 +0000)]
Add generation of 8bpp DIB code
svn path=/trunk/; revision=17441