reactos.git
16 years agofix msvc compile
Steven Edwards [Thu, 25 Aug 2005 22:50:44 +0000 (22:50 +0000)]
fix msvc compile

svn path=/trunk/; revision=17551

16 years agodisable the custom rules for Winebuild for now
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

16 years agoThx ravelo to found a new bug in start.c it did not manger run batfile with path...
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

16 years agoDon't dereference the pointers. Catch by Thomas.
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

16 years agoadd stub for ControlServiceEx()
Thomas Bluemel [Thu, 25 Aug 2005 22:06:31 +0000 (22:06 +0000)]
add stub for ControlServiceEx()

svn path=/trunk/; revision=17547

16 years agoGenerate a GUID for each module processed. Later on this will be needed to support...
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

16 years agoImplement escape char in console. "^"
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

16 years agoenable theming of the checklist control
Thomas Bluemel [Thu, 25 Aug 2005 19:53:37 +0000 (19:53 +0000)]
enable theming of the checklist control

svn path=/trunk/; revision=17544

16 years ago- added stubs for Set/GetConsoleHistoryInfo(), GetConsoleOriginalTitleA/W(), Set...
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

16 years agoadd stubs for CreateSymbolicLinkA/W
Thomas Bluemel [Thu, 25 Aug 2005 18:21:50 +0000 (18:21 +0000)]
add stubs for CreateSymbolicLinkA/W

svn path=/trunk/; revision=17542

16 years agoUse GetShortPathName and GetLongPathName to correct the case of the new path in SetRo...
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

16 years agofile paths should be relative to the location of the dsp file, not the dsw file
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

16 years agoFill some more structs, that ms ddraw fill as well.
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

16 years agoFixed a bug in RtlLeaveCriticalSection. We have only to signal the event if someone...
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

16 years agominor simplifications
Thomas Bluemel [Thu, 25 Aug 2005 12:30:10 +0000 (12:30 +0000)]
minor simplifications

svn path=/trunk/; revision=17537

16 years agoopen subkey with sufficient rights in RegDeleteTree
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

16 years agoadded stubs for RegDeleteTreeA/W() and RegCopyTreeA/W()
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

16 years agoChange Install Name to ddraw_demo.exe
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

16 years ago$default_cfg fix
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

16 years agocheck for console handles in Get/SetFileAttributesByHandle()
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

16 years agoimplemented SetFileAttributesByHandle() and GetFileAttributesByHandle()
Thomas Bluemel [Wed, 24 Aug 2005 23:59:03 +0000 (23:59 +0000)]
implemented SetFileAttributesByHandle() and GetFileAttributesByHandle()

svn path=/trunk/; revision=17530

16 years agoimplemented RegSetKeyValueA/W
Thomas Bluemel [Wed, 24 Aug 2005 23:44:27 +0000 (23:44 +0000)]
implemented RegSetKeyValueA/W

svn path=/trunk/; revision=17529

16 years agofixing a bug in searching for cmd for bat/cmd files, thx ravelo to found this stupied bug
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

16 years agoimplemented RegDeleteKeyValueA/W()
Thomas Bluemel [Wed, 24 Aug 2005 23:29:51 +0000 (23:29 +0000)]
implemented RegDeleteKeyValueA/W()

svn path=/trunk/; revision=17527

16 years agoImplement start execute support for bat/cmd file. woking in windows
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

16 years agoimplemented IsThreadAFiber()
Thomas Bluemel [Wed, 24 Aug 2005 23:05:07 +0000 (23:05 +0000)]
implemented IsThreadAFiber()

svn path=/trunk/; revision=17525

16 years agozero the entire buffer
Royce Mitchell III [Wed, 24 Aug 2005 22:38:10 +0000 (22:38 +0000)]
zero the entire buffer

svn path=/trunk/; revision=17524

16 years agoinstall the registry keys before enabling the driver
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

16 years agoREVISON -> REVISION
Filip Navara [Wed, 24 Aug 2005 21:52:41 +0000 (21:52 +0000)]
REVISON -> REVISION

svn path=/trunk/; revision=17522

16 years agoimplemented "" remove for the start command. This makes 'start dir1\"dir2a dir2b...
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

16 years agoFix a memory leak if VideoPortInitialize is called more than once from the same miniport.
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

16 years agoCleanup i8042prt.h
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

16 years agoadded some verbosity
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

16 years agoinvoke _generate_dsp() have it open the output file, and fix some path parsing and...
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

16 years agoRemove $Id$ tags
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

16 years ago_generate_dsp() compiles now, haven't tested yet
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

16 years agoFix IRP_MJ_QUERY_INFORMATION/FileStandardInformation (current code was trying to...
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

16 years agoReplace ExAllocatePool by ExAllocatePoolWithTag
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

16 years agoMake BusyLoop volatile. Spotted by Thomas.
Filip Navara [Wed, 24 Aug 2005 14:15:54 +0000 (14:15 +0000)]
Make BusyLoop volatile. Spotted by Thomas.

svn path=/trunk/; revision=17512

16 years agoImplement the most over-optimized lock in NT - the NDIS_RW_LOCK.
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

16 years agoFix the NDIS_RW_LOCK structure.
Filip Navara [Wed, 24 Aug 2005 12:20:59 +0000 (12:20 +0000)]
Fix the NDIS_RW_LOCK structure.

svn path=/trunk/; revision=17510

16 years agoRemove bogus and unneeded cast.
Filip Navara [Wed, 24 Aug 2005 09:50:18 +0000 (09:50 +0000)]
Remove bogus and unneeded cast.

svn path=/trunk/; revision=17509

16 years agoReplace() bugfix #2 - forgot to insert replacement text ( yes yes I suck you can...
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

16 years agobugfix - Replace() was truncating the string
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

16 years agoalmost done converting _generate_dsp(), but have to quit for the night, so commiting...
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

16 years agonew helper function Replace()
Royce Mitchell III [Wed, 24 Aug 2005 05:50:21 +0000 (05:50 +0000)]
new helper function Replace()

svn path=/trunk/; revision=17505

16 years agovc6 build files - just in case somebody else wants to use them
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

16 years agoremove a few of the Wine hacks
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

16 years agonew top-level target 'msvc' to create msvc build files
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

16 years agoimport wine's "msvcmaker" perl script and begin converting it to C++ - so far it...
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

16 years agoadded some comments to illustrate the output of several path-related functions
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

16 years agofix to not crash when built with msvc6 ( bad calling convention on imports ).
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

16 years agoGet rid of one memory leak and two more ROS-only fields in LOGICAL_ADAPTER structure.
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

16 years agoStart removing dead code and ReactOS specific structure fields (the NDIS structures...
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

16 years agoFix few macros to work with the corrected declarations.
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

16 years agoremove incorrect comment (copy/paste error)
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

16 years agoGet rid of NdisWorkItemHalt.
Filip Navara [Tue, 23 Aug 2005 23:08:40 +0000 (23:08 +0000)]
Get rid of NdisWorkItemHalt.

svn path=/trunk/; revision=17494

16 years agomsvc6 compatibility
Royce Mitchell III [Tue, 23 Aug 2005 23:06:58 +0000 (23:06 +0000)]
msvc6 compatibility

svn path=/trunk/; revision=17493

16 years agoproxy makefile for rbuild
Royce Mitchell III [Tue, 23 Aug 2005 23:06:19 +0000 (23:06 +0000)]
proxy makefile for rbuild

svn path=/trunk/; revision=17492

16 years agoRemove buffer pool implementation and replace buffer allocation with binary compatibl...
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

16 years agoRemove incorrect definition of NLS_MB_CODE_PAGE_TAG. The correct definition is 2...
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

16 years agoRemove obsolete APIs and APIs that are actually implemented only as macros.
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

16 years agoMS DDK compatibility fixes.
Filip Navara [Tue, 23 Aug 2005 22:11:03 +0000 (22:11 +0000)]
MS DDK compatibility fixes.

svn path=/trunk/; revision=17488

16 years agoShut up PREFAST warnings about shadowing declarations.
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

16 years agoFix incorrect string manipulation in NdisOpenProtocolConfiguration and add few casts...
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

16 years agoReturnRecognizedPartitions in HalIoReadPartitionTable means that used and real partit...
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

16 years agoFixed the calculation of the boot disk number in i386DiskGetSystemVolume.
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

16 years agoFix special case in SetupGetLineTextA/W and SetupGetStringFieldA/W when Buffer is...
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

16 years agoName the proxy makefiles "GNUmakefile" instead of "makefile".
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

16 years agoRewrite project target
Gé van Geldorp [Tue, 23 Aug 2005 14:51:03 +0000 (14:51 +0000)]
Rewrite project target

svn path=/trunk/; revision=17481

16 years agoSet the service group for i8042prt.
Filip Navara [Tue, 23 Aug 2005 14:26:00 +0000 (14:26 +0000)]
Set the service group for i8042prt.

svn path=/trunk/; revision=17480

16 years agouse correct wait mode when checking alertability in KeDelayExecuteThread. thanks...
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

16 years agoActually break out of the wait loops if we got alerted.
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

16 years agorename IsKernelPointer to IsPointerOffset
Thomas Bluemel [Mon, 22 Aug 2005 15:20:49 +0000 (15:20 +0000)]
rename IsKernelPointer to IsPointerOffset

svn path=/trunk/; revision=17477

16 years agomove old cruft
Gunnar Dalsnes [Mon, 22 Aug 2005 14:39:10 +0000 (14:39 +0000)]
move old cruft

svn path=/trunk/; revision=17476

16 years agoprepare move old cruft
Gunnar Dalsnes [Mon, 22 Aug 2005 14:26:37 +0000 (14:26 +0000)]
prepare move old cruft

svn path=/trunk/; revision=17475

16 years agoadded a macro IsKernelPointer() to test whether a pointer value points to the kernel...
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

16 years agoCleanup IoGetDmaAdapter and use HalGetDmaAdapter instead of HalGetAdapter.
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

16 years agoExport the HalGetDmaAdapter callback and use some nice macros where appropriate.
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

16 years agoAdd missing definitions for HalDispatchTable callbacks.
Filip Navara [Mon, 22 Aug 2005 10:29:51 +0000 (10:29 +0000)]
Add missing definitions for HalDispatchTable callbacks.

svn path=/trunk/; revision=17471

16 years agoComplete reimplementation of HAL DMA routines.
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

16 years agoFix a CD bug spotted by ravelo_. This is simlair to bug 690. cd foo\"bar", cd ...
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

16 years agoprompt to configure for Mingw after building project files
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

16 years ago- use inlined probing macros for basic types
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

16 years agouse inlined probing macros for basic types
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

16 years agoReplace wcsncpy with lstrcpynW / memcpy as appropriate.
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

16 years agoFix implementation of wcsnlen and strnlen.
Filip Navara [Sun, 21 Aug 2005 15:51:57 +0000 (15:51 +0000)]
Fix implementation of wcsnlen and strnlen.

svn path=/trunk/; revision=17464

16 years agoFix buffer overflow in lstrcpynW and lstrcpynA.
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

16 years ago- use inlined probing macros for basic types
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

16 years agoadd macros to probe basic type pointers
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

16 years agofixed uninitialized variable warning
Thomas Bluemel [Sun, 21 Aug 2005 15:00:29 +0000 (15:00 +0000)]
fixed uninitialized variable warning

svn path=/trunk/; revision=17460

16 years agoadd prototypes of RtlDosPathNameToRelativeNtPathName_U and RtlReleaseRelativeName...
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

16 years agoadd fix it to build on linux
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

16 years agoadded a genguid helper function based on genguid by Jon Wilson. Will be needed later...
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

16 years ago...I hate windows and its concepts of case in filenames...
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

16 years agoadd a more descriptive message about the state of the MSVC backend
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

16 years agostarted working on a msvc2k5 backend. Mostly a dummy atm based on the devcpp backend
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

16 years agoReport the PCI bus type as PCIBus instead of Internal.
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

16 years agooptimize 17218 by using memmove instead of memcopy and not using _tcsncmp. Suggested...
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

16 years agoOpen err redirection the same as output redirection. Batch file does not need to...
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