Commit graph

16356 commits

Author SHA1 Message Date
Brandon Turner
06c225119d 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
2005-08-25 17:38:15 +00:00
Royce Mitchell III
9010800221 file paths should be relative to the location of the dsp file, not the dsw file
svn path=/trunk/; revision=17540
2005-08-25 17:24:11 +00:00
Maarten Bosma
bebf0b4a61 Fill some more structs, that ms ddraw fill as well.
svn path=/trunk/; revision=17539
2005-08-25 15:31:28 +00:00
Hartmut Birr
25d3bf68ab Fixed a bug in RtlLeaveCriticalSection. We have only to signal the event if someone waits on it.
svn path=/trunk/; revision=17538
2005-08-25 12:33:37 +00:00
Thomas Bluemel
8370e44f84 minor simplifications
svn path=/trunk/; revision=17537
2005-08-25 12:30:10 +00:00
Thomas Bluemel
3b35dd5038 open subkey with sufficient rights in RegDeleteTree
svn path=/trunk/; revision=17536
2005-08-25 12:27:25 +00:00
Thomas Bluemel
8d862306ef added stubs for RegDeleteTreeA/W() and RegCopyTreeA/W()
svn path=/trunk/; revision=17535
2005-08-25 12:25:11 +00:00
Maarten Bosma
d5fd7c89ea Change Install Name to ddraw_demo.exe
svn path=/trunk/; revision=17534
2005-08-25 11:36:49 +00:00
Royce Mitchell III
27ef51709f $default_cfg fix
cleaned up more code that isn't enabled yet
generate correct line endings on *nix, too

svn path=/trunk/; revision=17533
2005-08-25 01:44:23 +00:00
Thomas Bluemel
55610a1a3d check for console handles in Get/SetFileAttributesByHandle()
svn path=/trunk/; revision=17531
2005-08-25 00:33:37 +00:00
Thomas Bluemel
5760f0496c implemented SetFileAttributesByHandle() and GetFileAttributesByHandle()
svn path=/trunk/; revision=17530
2005-08-24 23:59:03 +00:00
Thomas Bluemel
78bc5b9ab0 implemented RegSetKeyValueA/W
svn path=/trunk/; revision=17529
2005-08-24 23:44:27 +00:00
Magnus Olsen
4782b7ce3e fixing a bug in searching for cmd for bat/cmd files, thx ravelo to found this stupied bug
svn path=/trunk/; revision=17528
2005-08-24 23:33:34 +00:00
Thomas Bluemel
bc8811f677 implemented RegDeleteKeyValueA/W()
svn path=/trunk/; revision=17527
2005-08-24 23:29:51 +00:00
Magnus Olsen
519f1108ad Implement start execute support for bat/cmd file. woking in windows
svn path=/trunk/; revision=17526
2005-08-24 23:07:51 +00:00
Thomas Bluemel
8f881e2d04 implemented IsThreadAFiber()
svn path=/trunk/; revision=17525
2005-08-24 23:05:07 +00:00
Royce Mitchell III
5c7747b97c zero the entire buffer
svn path=/trunk/; revision=17524
2005-08-24 22:38:10 +00:00
Thomas Bluemel
a8e3f13a42 install the registry keys before enabling the driver
svn path=/trunk/; revision=17523
2005-08-24 21:54:13 +00:00
Filip Navara
85266e68b5 REVISON -> REVISION
svn path=/trunk/; revision=17522
2005-08-24 21:52:41 +00:00
Magnus Olsen
d9f9178f3e 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
2005-08-24 21:40:01 +00:00
Filip Navara
98d9c65720 Fix a memory leak if VideoPortInitialize is called more than once from the same miniport.
Replace STDCALL with NTAPI.

svn path=/trunk/; revision=17520
2005-08-24 21:29:24 +00:00
Hervé Poussineau
de881e611a Cleanup i8042prt.h
Remove $Id$ tags
Replace Win32 types by their kernel counterparts (DWORD -> ULONG, ...)

svn path=/trunk/; revision=17519
2005-08-24 20:34:50 +00:00
Royce Mitchell III
a2e91278b6 added some verbosity
standardized back on printf from cout
fixed loop variable conflict

svn path=/trunk/; revision=17518
2005-08-24 20:06:54 +00:00
Royce Mitchell III
86018cbc02 invoke _generate_dsp() have it open the output file, and fix some path parsing and const issues.
svn path=/trunk/; revision=17517
2005-08-24 19:58:07 +00:00
Hervé Poussineau
9195c7dd4f 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
2005-08-24 18:29:45 +00:00
Royce Mitchell III
bf3117cb5e _generate_dsp() compiles now, haven't tested yet
svn path=/trunk/; revision=17515
2005-08-24 18:13:00 +00:00
Hervé Poussineau
6b3b47323d Fix IRP_MJ_QUERY_INFORMATION/FileStandardInformation (current code was trying to dereference NULL pointer)
Replace MmGetSystemAddressForMdl by MmGetSystemAddressForMdlSafe

svn path=/trunk/; revision=17514
2005-08-24 15:37:04 +00:00
Hervé Poussineau
66c8fe47e0 Replace ExAllocatePool by ExAllocatePoolWithTag
Fix CHECKPOINT1 definition for MSVC compiler

svn path=/trunk/; revision=17513
2005-08-24 15:33:58 +00:00
Filip Navara
820afe2e92 Make BusyLoop volatile. Spotted by Thomas.
svn path=/trunk/; revision=17512
2005-08-24 14:15:54 +00:00
Filip Navara
1ef2914b90 Implement the most over-optimized lock in NT - the NDIS_RW_LOCK.
svn path=/trunk/; revision=17511
2005-08-24 12:21:18 +00:00
Filip Navara
22432ceb48 Fix the NDIS_RW_LOCK structure.
svn path=/trunk/; revision=17510
2005-08-24 12:20:59 +00:00
Filip Navara
6ba28fd06e Remove bogus and unneeded cast.
svn path=/trunk/; revision=17509
2005-08-24 09:50:18 +00:00
Royce Mitchell III
f9b0db47fe Replace() bugfix #2 - forgot to insert replacement text ( yes yes I suck you can stop throwing tomatoes now )
svn path=/trunk/; revision=17508
2005-08-24 06:03:34 +00:00
Royce Mitchell III
2a5ef2ef24 bugfix - Replace() was truncating the string
svn path=/trunk/; revision=17507
2005-08-24 06:01:02 +00:00
Royce Mitchell III
e5cc52e14b almost done converting _generate_dsp(), but have to quit for the night, so commiting what's done so far.
svn path=/trunk/; revision=17506
2005-08-24 05:58:14 +00:00
Royce Mitchell III
47b458eed1 new helper function Replace()
svn path=/trunk/; revision=17505
2005-08-24 05:50:21 +00:00
Royce Mitchell III
db03491cdc vc6 build files - just in case somebody else wants to use them
svn path=/trunk/; revision=17504
2005-08-24 04:00:37 +00:00
Steven Edwards
d708ff3ba3 remove a few of the Wine hacks
svn path=/trunk/; revision=17503
2005-08-24 03:56:25 +00:00
Royce Mitchell III
ff8f4e3c6a new top-level target 'msvc' to create msvc build files
svn path=/trunk/; revision=17502
2005-08-24 03:39:10 +00:00
Royce Mitchell III
a864a2c137 import wine's "msvcmaker" perl script and begin converting it to C++ - so far it creates the DSW file.
svn path=/trunk/; revision=17501
2005-08-24 03:38:20 +00:00
Royce Mitchell III
ed985615ec added some comments to illustrate the output of several path-related functions
svn path=/trunk/; revision=17500
2005-08-24 03:18:13 +00:00
Royce Mitchell III
ae5026eb5b 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
2005-08-24 02:55:08 +00:00
Filip Navara
c905ca8a31 Get rid of one memory leak and two more ROS-only fields in LOGICAL_ADAPTER structure.
svn path=/trunk/; revision=17498
2005-08-24 02:20:41 +00:00
Filip Navara
82af9fdaa8 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
2005-08-24 01:51:49 +00:00
Filip Navara
f68e4fcc28 Fix few macros to work with the corrected declarations.
svn path=/trunk/; revision=17496
2005-08-24 00:04:21 +00:00
Royce Mitchell III
b696000363 remove incorrect comment (copy/paste error)
svn path=/trunk/; revision=17495
2005-08-23 23:20:23 +00:00
Filip Navara
1b15c0cf70 Get rid of NdisWorkItemHalt.
svn path=/trunk/; revision=17494
2005-08-23 23:08:40 +00:00
Royce Mitchell III
07b11a6760 msvc6 compatibility
svn path=/trunk/; revision=17493
2005-08-23 23:06:58 +00:00
Royce Mitchell III
431f66d687 proxy makefile for rbuild
svn path=/trunk/; revision=17492
2005-08-23 23:06:19 +00:00
Filip Navara
6b949b43ea 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
2005-08-23 23:02:35 +00:00