reactos.git
21 years agoRtlOpenCurrentUser() freed a string a little to early in some circumstances - fixed.
Robert Dickenson [Mon, 28 Oct 2002 15:50:25 +0000 (15:50 +0000)]
RtlOpenCurrentUser() freed a string a little to early in some circumstances - fixed.

svn path=/trunk/; revision=3671

21 years agoFixed up some typos.
Robert Dickenson [Mon, 28 Oct 2002 15:45:56 +0000 (15:45 +0000)]
Fixed up some typos.

svn path=/trunk/; revision=3670

21 years agoFound the problem, local copy of win32k.c required here but not in repository?
Robert Dickenson [Mon, 28 Oct 2002 15:27:01 +0000 (15:27 +0000)]
Found the problem, local copy of win32k.c required here but not in repository?

svn path=/trunk/; revision=3669

21 years agoReverted addition of target win32k.a in the SDK import libs.
Robert Dickenson [Mon, 28 Oct 2002 15:20:37 +0000 (15:20 +0000)]
Reverted addition of target win32k.a in the SDK import libs.

svn path=/trunk/; revision=3668

21 years agoRevert one of the makefile changes.
Robert Dickenson [Mon, 28 Oct 2002 15:19:09 +0000 (15:19 +0000)]
Revert one of the makefile changes.
Linking with TARGET_SDKLIBS = win32k.a proved to be a very bad idea!
Something is wrong with building csrss, what happened to subsys/csrss/win32k.c ???

svn path=/trunk/; revision=3667

21 years agoCheck for GMEM_ZEROINIT flag and pass HEAP_ZERO_MEMORY flag to RtlAllocateHeap if...
Robert Dickenson [Mon, 28 Oct 2002 15:08:32 +0000 (15:08 +0000)]
Check for GMEM_ZEROINIT flag and pass HEAP_ZERO_MEMORY flag to RtlAllocateHeap if required.

svn path=/trunk/; revision=3666

21 years agoAdded rule to build win32k.a for linking by csrss.
Robert Dickenson [Mon, 28 Oct 2002 15:04:58 +0000 (15:04 +0000)]
Added rule to build win32k.a for linking by csrss.
This is already in dk/nkm however there doesn't seem to be a make macro to reference this?

svn path=/trunk/; revision=3665

21 years agoAdded some exports required by csrss to get things building again.
Robert Dickenson [Mon, 28 Oct 2002 15:03:18 +0000 (15:03 +0000)]
Added some exports required by csrss to get things building again.

svn path=/trunk/; revision=3664

21 years agoUpdated with fix for missing win32k.lib imports
Robert Dickenson [Mon, 28 Oct 2002 15:02:18 +0000 (15:02 +0000)]
Updated with fix for missing win32k.lib imports

svn path=/trunk/; revision=3663

21 years agoStarting something for VDM support.
Robert Dickenson [Mon, 28 Oct 2002 13:59:59 +0000 (13:59 +0000)]
Starting something for VDM support.

svn path=/trunk/; revision=3662

21 years agoRemoved files that don't belong in the repository.
Robert Dickenson [Mon, 28 Oct 2002 12:10:23 +0000 (12:10 +0000)]
Removed files that don't belong in the repository.

svn path=/trunk/; revision=3661

21 years agodos2unix'd some more files.
David Welch [Sat, 26 Oct 2002 09:53:16 +0000 (09:53 +0000)]
dos2unix'd some more files.

svn path=/trunk/; revision=3660

21 years ago2002-10-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sat, 26 Oct 2002 07:32:08 +0000 (07:32 +0000)]
2002-10-26  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* lib/msvcrt/except/seh.s: Fix end-of-line formatting.
* lib/ntdll/rtl/i386/exception.c: Ditto.
* lib/ntdll/rtl/i386/except.s: Ditto.
* ntoskrnl/rtl/i386/except.s: Ditto.
* ntoskrnl/rtl/i386/seh.s: Ditto.

svn path=/trunk/; revision=3659

21 years ago*** empty log message ***
Casper Hornstrup [Sat, 26 Oct 2002 00:38:01 +0000 (00:38 +0000)]
*** empty log message ***

svn path=/trunk/; revision=3658

21 years ago2002-10-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sat, 26 Oct 2002 00:32:19 +0000 (00:32 +0000)]
2002-10-26  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* lib/msvcrt/Makefile (OBJECTS_EXCEPT): Add except/seh.o; Remove
except/exhand3.o.
* lib/msvcrt/except/exhand2.c (MsvcrtDebug): New function.
* lib/msvcrt/except/unwind.c (PEXCEPTION_FRAME): Remove.
(_global_unwind2): Correct prototype.
* lib/ntdll/makefile (RTL_I386_OBJECTS, ARCH_OBJECTS): New groups.
(TARGET_OBJECTS): Add ARCH_OBJECTS group.
* lib/ntdll/rtl/exception.c (KiUserExceptionDispatcher): Set
NumberParameters in exception record.
(RtlRaiseStatus): Remove.
* ntoskrnl/Makefile (OBJECTS_RTL): Remove rtl/seh.o.
(OBJECTS_RTL_I386): Add rtl/i386/except.o, rtl/i386/exception.o, and
rtl/i386/seh.o.
* ntoskrnl/ke/catch.c (RtlpExecuteHandlerForException,
RtlpDumpExceptionRegistrations, RtlpDispatchException,
RtlpExecuteHandler, RtlpExceptionHandler, RtlpUnwindHandler,
RtlpExecuteHandlerForException, RtlpExecuteHandlerForUnwind,
RtlUnwind): Remove.
(RtlpDispatchException): Add prototype.
* ntoskrnl/ke/i386/usertrap.c (ExceptionTypeStrings): Remove.
* ntoskrnl/ps/create.c (PsCreateTeb): Mark end of exception
registration list.
* tools/helper.mk (TARGET_ASFLAGS): Add -g if DBG = 1.
* lib/msvcrt/except/exhand3.c: Remove.
* ntoskrnl/rtl/seh.c: Ditto.
* lib/msvcrt/except/seh.s: New file.
* lib/ntdll/rtl/i386/except.s: Ditto.
* lib/ntdll/rtl/i386/exception.c: Ditto.
* ntoskrnl/rtl/i386/except.s: Ditto.
* ntoskrnl/rtl/i386/exception.c: Ditto.
* ntoskrnl/rtl/i386/seh.s: Ditto.

svn path=/trunk/; revision=3657

21 years ago2002-10-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Fri, 25 Oct 2002 22:59:55 +0000 (22:59 +0000)]
2002-10-26  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* lib/kernel32/process/create.c (_except_handler): New function.
(BaseProcessStart): Ditto.
(KlCreateFirstThread): Return INVALID_HANDLE_VALUE on error; Call
BaseProcessStart() before process entry point.
* lib/kernel32/thread/thread.c (_except_handler): New function.
(ThreadStartup): Protect thread using SEH constructs.

svn path=/trunk/; revision=3656

21 years ago2002-10-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Fri, 25 Oct 2002 22:08:21 +0000 (22:08 +0000)]
2002-10-26  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* include/ddk/zw.h (NtProcessStartup): Use standard calling convention.
* subsys/csrss/csrss.c (NtProcessStartup): Ditto.
* subsys/smss/smss.c (NtProcessStartup): Ditto.
* subsys/system/autochk/autochk.c (NtProcessStartup): Ditto.
* subsys/system/usetup/usetup.c (NtProcessStartup): Ditto.

svn path=/trunk/; revision=3655

21 years ago2002-10-25 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Fri, 25 Oct 2002 21:48:00 +0000 (21:48 +0000)]
2002-10-25  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* apps/tests/tokentest/tokentest.c (ROS_ACE_HEADER): Move field
AccessMask ...
(ROS_ACE): ... here.
(DisplayDacl): Make pAce an ROS_ACE*; Use new path for AceType; Use
sizeof(ACE) instead of sizeof(ACE_HEADER).
* include/ntos/security.h (ACE_HEADER): Move field AccessMask ...
(ACE): ... here.
* lib/ntdll/rtl/acl.c: Use new path for AccessMask.
* ntoskrnl/se/semgr.c: Ditto.
* ntoskrnl/se/acl.c (SepInitDACLs): Use new path for AccessMask; Use
sizeof(ACE) instead of sizeof(ACE_HEADER).
* ntoskrnl/se/token.c (SepCreateSystemProcessToken): Use sizeof(ACE)
instead of sizeof(ACE_HEADER).

svn path=/trunk/; revision=3654

21 years agoPOSIX+ says goodbye and leaves. It used to be fun, now it's just painful
KJK::Hyperion [Thu, 24 Oct 2002 23:29:19 +0000 (23:29 +0000)]
POSIX+ says goodbye and leaves. It used to be fun, now it's just painful

svn path=/trunk/; revision=3653

21 years agoadded tests for StretchBlt, PatBlt and BitBlt by Damon Chandler
Steven Edwards [Thu, 24 Oct 2002 07:46:43 +0000 (07:46 +0000)]
added tests for StretchBlt, PatBlt and BitBlt by Damon Chandler

svn path=/trunk/; revision=3652

21 years agoInitialize registry hives only once.
Eric Kohl [Wed, 23 Oct 2002 17:21:07 +0000 (17:21 +0000)]
Initialize registry hives only once.

svn path=/trunk/; revision=3651

21 years agoAdd some includes to fix part of building. (Adopt me)
Steven Edwards [Wed, 23 Oct 2002 17:07:06 +0000 (17:07 +0000)]
Add some includes to fix part of building. (Adopt me)

svn path=/trunk/; revision=3650

21 years agoKeSetEvent must be called with Wait set to FALSE within a DPC.
Hartmut Birr [Mon, 21 Oct 2002 17:05:32 +0000 (17:05 +0000)]
KeSetEvent must be called with Wait set to FALSE within a DPC.

svn path=/trunk/; revision=3649

21 years agoRevert last changes.
Marty Dill [Mon, 21 Oct 2002 00:53:33 +0000 (00:53 +0000)]
Revert last changes.

svn path=/trunk/; revision=3648

21 years agoImplemented SubtractRect(). Misc fixes.
Marty Dill [Sun, 20 Oct 2002 23:57:03 +0000 (23:57 +0000)]
Implemented SubtractRect(). Misc fixes.

svn path=/trunk/; revision=3647

21 years agoImplemented FreeEnvironmentStringsW().
Marty Dill [Sun, 20 Oct 2002 23:56:05 +0000 (23:56 +0000)]
Implemented FreeEnvironmentStringsW().

svn path=/trunk/; revision=3646

21 years agoImplemented [Get/Set]ProcessShutdownParameters().
Eric Kohl [Sun, 20 Oct 2002 16:40:12 +0000 (16:40 +0000)]
Implemented [Get/Set]ProcessShutdownParameters().

svn path=/trunk/; revision=3645

21 years agoImplemented RegisterServicesProcess() and ExitWindowsEx() partially.
Eric Kohl [Sun, 20 Oct 2002 14:54:34 +0000 (14:54 +0000)]
Implemented RegisterServicesProcess() and ExitWindowsEx() partially.

svn path=/trunk/; revision=3644

21 years agoBugfix for ascii-hex conversions.
Robert Dickenson [Sun, 20 Oct 2002 13:55:09 +0000 (13:55 +0000)]
Bugfix for ascii-hex conversions.

svn path=/trunk/; revision=3643

21 years ago2002-10-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sun, 20 Oct 2002 11:56:00 +0000 (11:56 +0000)]
2002-10-20  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* include/napi/teb.h (RTL_USER_PROCESS_PARAMETERS): Use field names
as described in Windows NT/2000 Native API Reference.
* lib/kernel32/file/file.c: Use new field names.
* lib/kernel32/misc/console.c: Ditto.
* lib/kernel32/process/create.c: Ditto.
* lib/kernel32/process/proc.c: Ditto.
* lib/ntdll/rtl/path.c: Ditto.
* lib/ntdll/rtl/ppb.c: Ditto.
* lib/ntdll/rtl/process.c: Ditto.

svn path=/trunk/; revision=3642

21 years agoPart of patch contributed by Gunnar Andr� Dalsnes.
Robert Dickenson [Sun, 20 Oct 2002 03:34:00 +0000 (03:34 +0000)]
Part of patch contributed by Gunnar Andr� Dalsnes.

svn path=/trunk/; revision=3641

21 years agoPart of patch contributed by Gunnar Andr� Dalsnes.
Robert Dickenson [Sun, 20 Oct 2002 03:13:51 +0000 (03:13 +0000)]
Part of patch contributed by Gunnar Andr� Dalsnes.

svn path=/trunk/; revision=3640

21 years ago-Implemented GetNumberOfConsoleInputEvents and ReadConsoleOutputAttribute
Marty Dill [Sun, 20 Oct 2002 00:34:40 +0000 (00:34 +0000)]
-Implemented GetNumberOfConsoleInputEvents and ReadConsoleOutputAttribute
-Added definition of CONSOLE_SELECTION_INFO struct
-Added stubs for GetConsoleSelectionInfo, GetConsoleProcessList, and AttachConsole
-Fixed prototypes for AddConsoleAlias[AW]

svn path=/trunk/; revision=3639

21 years ago2002-10-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sat, 19 Oct 2002 14:24:16 +0000 (14:24 +0000)]
2002-10-19  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* include/ntos.h: Include relevant files.
* include/internal/ke.h: Include files relative to
ntoskrnl/include.
* include/internal/arch/ke.h: Ditto.

svn path=/trunk/; revision=3638

21 years agoPAGESIZE to PAGE_SIZE.
Emanuele Aliberti [Fri, 18 Oct 2002 21:56:39 +0000 (21:56 +0000)]
PAGESIZE to PAGE_SIZE.

svn path=/trunk/; revision=3637

21 years agoImplemented selection of install partition and directory.
Eric Kohl [Fri, 18 Oct 2002 20:04:00 +0000 (20:04 +0000)]
Implemented selection of install partition and directory.

svn path=/trunk/; revision=3635

21 years agoFixed the initializing of the memory map for reactos.
Hartmut Birr [Wed, 16 Oct 2002 16:39:15 +0000 (16:39 +0000)]
Fixed the initializing of the memory map for reactos.

svn path=/trunk/; revision=3634

21 years agoAdded MODE command.
Robert Dickenson [Wed, 16 Oct 2002 01:47:11 +0000 (01:47 +0000)]
Added MODE command.

svn path=/trunk/; revision=3633

21 years agoAdded some support for the MODE command.
Robert Dickenson [Wed, 16 Oct 2002 01:45:49 +0000 (01:45 +0000)]
Added some support for the MODE command.

svn path=/trunk/; revision=3632

21 years agoWork around environment variables size limitation of make program.
Eugene Ingerman [Wed, 9 Oct 2002 07:11:24 +0000 (07:11 +0000)]
Work around environment variables size limitation of make program.

svn path=/trunk/; revision=3631

21 years agoAdded define _USE_NE2000 with increased tracing level instead of #if 0 block to bind...
Robert Dickenson [Mon, 7 Oct 2002 12:44:51 +0000 (12:44 +0000)]
Added define _USE_NE2000 with increased tracing level instead of #if 0 block to bind stack to NIC.

svn path=/trunk/; revision=3630

21 years agoAdded backdoor check for _BLOB_DEFINED to prevent header conflict.
Robert Dickenson [Mon, 7 Oct 2002 12:40:41 +0000 (12:40 +0000)]
Added backdoor check for _BLOB_DEFINED to prevent header conflict.

svn path=/trunk/; revision=3629

21 years agoChanged GUID_DEFINED to _GUID_DEFINED for compatibility (prevent conflict) with mingw...
Robert Dickenson [Mon, 7 Oct 2002 12:34:33 +0000 (12:34 +0000)]
Changed GUID_DEFINED to _GUID_DEFINED for compatibility (prevent conflict) with mingw headers.

svn path=/trunk/; revision=3628

21 years agoQuick fix to prevent bochs users experiencing aborts on load.
Robert Dickenson [Sun, 6 Oct 2002 13:16:26 +0000 (13:16 +0000)]
Quick fix to prevent bochs users experiencing aborts on load.
New basic WDM serial driver still being worked on.

svn path=/trunk/; revision=3627

21 years agoDIB color fix, palette fix
Jason Filby [Sat, 5 Oct 2002 17:13:16 +0000 (17:13 +0000)]
DIB color fix, palette fix

svn path=/trunk/; revision=3626

21 years agoImplemented IO work queue functions using the system work queues.
David Welch [Sat, 5 Oct 2002 10:53:37 +0000 (10:53 +0000)]
Implemented IO work queue functions using the system work queues.

svn path=/trunk/; revision=3625

21 years agoNew line fix for gcc 3.x
Steven Edwards [Thu, 3 Oct 2002 20:57:13 +0000 (20:57 +0000)]
New line fix for gcc 3.x

svn path=/trunk/; revision=3623

21 years agoNew line fix for gcc 3.x
Steven Edwards [Thu, 3 Oct 2002 20:49:03 +0000 (20:49 +0000)]
New line fix for gcc 3.x

svn path=/trunk/; revision=3622

21 years agoSimple test program for Serial Driver testing.
Robert Dickenson [Thu, 3 Oct 2002 19:43:31 +0000 (19:43 +0000)]
Simple test program for Serial Driver testing.

svn path=/trunk/; revision=3621

21 years agoAdded exports to def/edf files and modified some pnp functions.
Robert Dickenson [Thu, 3 Oct 2002 19:39:56 +0000 (19:39 +0000)]
Added exports to def/edf files and modified some pnp functions.

svn path=/trunk/; revision=3620

21 years agoAdded call to possibly tempory IoInitializeWorkerThreads.
Robert Dickenson [Thu, 3 Oct 2002 19:34:50 +0000 (19:34 +0000)]
Added call to possibly tempory IoInitializeWorkerThreads.

svn path=/trunk/; revision=3619

21 years agoAdded comment about problem discovered when testing packet.sys
Robert Dickenson [Thu, 3 Oct 2002 19:33:07 +0000 (19:33 +0000)]
Added comment about problem discovered when testing packet.sys

svn path=/trunk/; revision=3618

21 years ago1. stub sndPlaySnd[A/W] to keep notepad from bitching
Steven Edwards [Thu, 3 Oct 2002 19:32:05 +0000 (19:32 +0000)]
1. stub sndPlaySnd[A/W] to keep notepad from bitching
2. gcc 3.x end of line fix

svn path=/trunk/; revision=3617

21 years agoIncluded new file io/iowork.c in build.
Robert Dickenson [Thu, 3 Oct 2002 19:29:09 +0000 (19:29 +0000)]
Included new file io/iowork.c in build.

svn path=/trunk/; revision=3616

21 years agoEnabled entry for STATUS_OBJECT_NAME_EXISTS
Robert Dickenson [Thu, 3 Oct 2002 19:28:31 +0000 (19:28 +0000)]
Enabled entry for STATUS_OBJECT_NAME_EXISTS

svn path=/trunk/; revision=3615

21 years agoReplaced original with version from FreeDDK and tested fine. One less to merge later....
Robert Dickenson [Thu, 3 Oct 2002 19:27:51 +0000 (19:27 +0000)]
Replaced original with version from FreeDDK and tested fine. One less to merge later....

svn path=/trunk/; revision=3614

21 years agoAdded required defines and typedefs for ntoskrnl/io modules.
Robert Dickenson [Thu, 3 Oct 2002 19:26:47 +0000 (19:26 +0000)]
Added required defines and typedefs for ntoskrnl/io modules.

svn path=/trunk/; revision=3613

21 years agoAdded prototype for IoInitializeWorkerThreads, possibly temporary.
Robert Dickenson [Thu, 3 Oct 2002 19:24:24 +0000 (19:24 +0000)]
Added prototype for IoInitializeWorkerThreads, possibly temporary.

svn path=/trunk/; revision=3612

21 years agoMake WinCVS look a little cleaner.
Robert Dickenson [Thu, 3 Oct 2002 19:22:53 +0000 (19:22 +0000)]
Make WinCVS look a little cleaner.

svn path=/trunk/; revision=3611

21 years agoSome debug macro changes.
Robert Dickenson [Thu, 3 Oct 2002 19:22:27 +0000 (19:22 +0000)]
Some debug macro changes.

svn path=/trunk/; revision=3610

21 years agoAdded new file. Lots of research and work required to make it work.
Robert Dickenson [Thu, 3 Oct 2002 19:17:26 +0000 (19:17 +0000)]
Added new file. Lots of research and work required to make it work.

svn path=/trunk/; revision=3609

21 years agoFix for DeviceIoControl masking FILE_DEVICE_FILE_SYSTEM incorrectly.
Robert Dickenson [Thu, 3 Oct 2002 19:09:04 +0000 (19:09 +0000)]
Fix for DeviceIoControl masking FILE_DEVICE_FILE_SYSTEM incorrectly.
Anybody familiar with this module please review.

svn path=/trunk/; revision=3608

21 years agoEnd of file fix for gcc 3.x
Steven Edwards [Thu, 3 Oct 2002 18:34:09 +0000 (18:34 +0000)]
End of file fix for gcc 3.x

svn path=/trunk/; revision=3607

21 years agoEnd of line fix for gcc 3.x
Steven Edwards [Thu, 3 Oct 2002 18:28:22 +0000 (18:28 +0000)]
End of line fix for gcc 3.x

svn path=/trunk/; revision=3606

21 years agoImplemented many of the ComXX exports.
Robert Dickenson [Thu, 3 Oct 2002 18:26:53 +0000 (18:26 +0000)]
Implemented many of the ComXX exports.

svn path=/trunk/; revision=3605

21 years agoAdded ntddser.h from FreeDDK for Serial Driver development.
Robert Dickenson [Thu, 3 Oct 2002 18:06:23 +0000 (18:06 +0000)]
Added ntddser.h from FreeDDK for Serial Driver development.

svn path=/trunk/; revision=3604

21 years agoFixed the start value for the time calculation in time2.
Hartmut Birr [Thu, 3 Oct 2002 17:17:35 +0000 (17:17 +0000)]
Fixed the start value for the time calculation in time2.

svn path=/trunk/; revision=3603

21 years agoAdded some commnets.
Eric Kohl [Thu, 3 Oct 2002 09:11:00 +0000 (09:11 +0000)]
Added some commnets.
Changed valid slot numbers from 0-7 to 1-8.
Reset (leave) setup-mode for slot after reading POS data.

svn path=/trunk/; revision=3602

21 years agoremoved duplicate type definition
guido [Wed, 2 Oct 2002 21:08:24 +0000 (21:08 +0000)]
removed duplicate type definition

svn path=/trunk/; revision=3601

21 years agoAdded minimal MicroChannel bus handler.
Eric Kohl [Wed, 2 Oct 2002 19:32:57 +0000 (19:32 +0000)]
Added minimal MicroChannel bus handler.

svn path=/trunk/; revision=3600

21 years agoAdded CcFlushCache and CcGetFileObjectFromSectionPtrs.
Hartmut Birr [Wed, 2 Oct 2002 19:25:19 +0000 (19:25 +0000)]
Added CcFlushCache and CcGetFileObjectFromSectionPtrs.

svn path=/trunk/; revision=3599

21 years agoRelease the cache segment if the reading of it fails (in CcMapData).
Hartmut Birr [Wed, 2 Oct 2002 19:23:42 +0000 (19:23 +0000)]
Release the cache segment if the reading of it fails (in CcMapData).

svn path=/trunk/; revision=3598

21 years agoRelease the BcbLock before there is a call to CcRosFreeCacheSegment (in CcSetFileSizes).
Hartmut Birr [Wed, 2 Oct 2002 19:22:06 +0000 (19:22 +0000)]
Release the BcbLock before there is a call to CcRosFreeCacheSegment (in CcSetFileSizes).

svn path=/trunk/; revision=3597

21 years agoModified some functions, changed the sequence for acquiring some of
Hartmut Birr [Wed, 2 Oct 2002 19:20:51 +0000 (19:20 +0000)]
Modified some functions, changed the sequence for acquiring some of
the protection elements (VieLock, BcbLock, SegmentLock..) and protected
the access to some elements with the associated locking element.
Implemented CcFlushCache and CcGetFileObjectFromSectionPtrs.

svn path=/trunk/; revision=3596

21 years agoPSX: minor changes to the 'posix' module for enabling full compilation.
Emanuele Aliberti [Tue, 1 Oct 2002 20:21:45 +0000 (20:21 +0000)]
PSX: minor changes to the 'posix' module for enabling full compilation.

Q: should the dk for a subsystem be contained in that subsystem's tree?

svn path=/trunk/; revision=3595

21 years ago2002-10-01 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Tue, 1 Oct 2002 19:27:25 +0000 (19:27 +0000)]
2002-10-01  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* drivers/dd/floppy/floppy.c: Changed PAGESIZE to PAGE_SIZE.
* drivers/fs/cdfs/fcb.c: Ditto.
* drivers/fs/cdfs/fsctl.c: Ditto.
* drivers/fs/cdfs/rw.c: Ditto.
* drivers/fs/ext2/dir.c: Ditto.
* drivers/fs/ext2/inode.c: Ditto.
* drivers/fs/ext2/rw.c: Ditto.
* drivers/fs/ext2/super.c: Ditto.
* drivers/fs/minix/blockdev.c: Ditto.
* drivers/fs/minix/cache.c: Ditto.
* drivers/fs/minix/inode.c: Ditto.
* drivers/fs/minix/rw.c: Ditto.
* drivers/fs/ntfs/fcb.c: Ditto.
* drivers/fs/ntfs/ntfs.h: Ditto.
* drivers/fs/vfat/create.c: Ditto.
* drivers/fs/vfat/direntry.c: Ditto.
* drivers/fs/vfat/dirwr.c: Ditto.
* drivers/fs/vfat/fat.c: Ditto.
* drivers/fs/vfat/fcb.c: Ditto.
* drivers/fs/vfat/fsctl.c: Ditto.
* drivers/fs/vfat/rw.c: Ditto.
* drivers/storage/class2/class2.c: Ditto.
* drivers/storage/scsiport/scsiport.c: Ditto.
* hal/halx86/adapter.c: Ditto.
* hal/halx86/mp.c: Ditto.
* include/ddk/mmfuncs.h: Ditto.
* include/ddk/mmtypes.h: Ditto.
* include/ddk/i386/pagesize.h: Ditto.
* include/ntdll/pagesize.h: Ditto.
* lib/kernel32/process/create.c: Ditto.
* lib/kernel32/thread/thread.c: Ditto.
* lib/ntdll/ldr/utils.c: Ditto.
* lib/ntdll/rtl/env.c: Ditto.
* lib/ntdll/rtl/heap.c: Ditto.
* lib/ntdll/rtl/ppb.c: Ditto.
* lib/ntdll/rtl/process.c: Ditto.
* lib/ntdll/rtl/thread.c: Ditto.
* ntoskrnl/cc/copy.c: Ditto.
* ntoskrnl/cc/view.c: Ditto.
* ntoskrnl/ex/sysinfo.c: Ditto.
* ntoskrnl/include/internal/i386/mm.h: Ditto.
* ntoskrnl/io/mdl.c: Ditto.
* ntoskrnl/ke/kthread.c: Ditto.
* ntoskrnl/ke/i386/kernel.c: Ditto.
* ntoskrnl/ldr/init.c: Ditto.
* ntoskrnl/ldr/loader.c: Ditto.
* ntoskrnl/mm/anonmem.c: Ditto.
* ntoskrnl/mm/cont.c: Ditto.
* ntoskrnl/mm/freelist.c: Ditto.
* ntoskrnl/mm/iospace.c: Ditto.
* ntoskrnl/mm/kmap.c: Ditto.
* ntoskrnl/mm/marea.c: Ditto.
* ntoskrnl/mm/mdl.c: Ditto.
* ntoskrnl/mm/mminit.c: Ditto.
* ntoskrnl/mm/ncache.c: Ditto.
* ntoskrnl/mm/npool.c: Ditto.
* ntoskrnl/mm/pagefile.c: Ditto.
* ntoskrnl/mm/pageop.c: Ditto.
* ntoskrnl/mm/section.c: Ditto.
* ntoskrnl/mm/slab.c: Ditto.
* ntoskrnl/mm/i386/page.c: Ditto.
* ntoskrnl/ob/handle.c: Ditto.
* ntoskrnl/ps/create.c: Ditto.
* ntoskrnl/ps/process.c: Ditto.
* ntoskrnl/ps/w32call.c: Ditto.
* subsys/win32k/include/object.h: Ditto.

svn path=/trunk/; revision=3594

21 years ago2002-10-01 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Tue, 1 Oct 2002 18:57:23 +0000 (18:57 +0000)]
2002-10-01  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* lib/ntdll/string/ctype.c: Undefine __MSVCRT__ to not have mingw
runtime import _pctype.

svn path=/trunk/; revision=3593

21 years agoFIX:previous was wrong file
Jurgen van Gael [Tue, 1 Oct 2002 12:57:23 +0000 (12:57 +0000)]
FIX:previous was wrong file

svn path=/trunk/; revision=3592

21 years agoFIX:memory leak - font objects got create for every WM_PAINT message and never deleted
Jurgen van Gael [Tue, 1 Oct 2002 12:52:00 +0000 (12:52 +0000)]
FIX:memory leak - font objects got create for every WM_PAINT message and never deleted

svn path=/trunk/; revision=3591

21 years ago1. Cleanup GDI objects when process is deleted.
Eugene Ingerman [Tue, 1 Oct 2002 06:41:57 +0000 (06:41 +0000)]
1. Cleanup GDI objects when process is deleted.
2. Bug fixes.

svn path=/trunk/; revision=3590

21 years agoChanges in v1.7.9 (9/30/2002) (brianp)
Brian Palmer [Mon, 30 Sep 2002 23:30:32 +0000 (23:30 +0000)]
Changes in v1.7.9 (9/30/2002) (brianp)

- Fix for bug in BiosInt13ReadExtended() (biosdisk.S)
  by Christophe Bothamy & Mike Lerwill

svn path=/trunk/; revision=3589

21 years ago2002-09-30 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Mon, 30 Sep 2002 21:21:38 +0000 (21:21 +0000)]
2002-09-30  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* lib/user32/misc/desktop.c (string.h): Include.
* lib/user32/misc/resources.c: Ditto.
* lib/user32/misc/winhelp.c: Ditto.
* lib/user32/windows/accel.c: Ditto.
* lib/user32/windows/bitmap.c: Ditto.
* subsys/win32k/freetype/ctype.c: Undefine __MSVCRT__ and _pctype to not
have mingw runtime import _pctype.

svn path=/trunk/; revision=3588

21 years agoReplaced EXE_SUFFIX with EXE_POSTFIX.
Hartmut Birr [Mon, 30 Sep 2002 21:02:54 +0000 (21:02 +0000)]
Replaced EXE_SUFFIX with EXE_POSTFIX.

svn path=/trunk/; revision=3587

21 years agoWideCharToMultiByte accept each code page like MultiByteToWideChar.
Hartmut Birr [Mon, 30 Sep 2002 21:01:32 +0000 (21:01 +0000)]
WideCharToMultiByte accept each code page like MultiByteToWideChar.
Wmc.exe will now produce correct header files (bugcode.h) on ros.

svn path=/trunk/; revision=3586

21 years agoFixed the value for dwHighDateTime in SystemTimeToFileTime.
Hartmut Birr [Mon, 30 Sep 2002 20:59:39 +0000 (20:59 +0000)]
Fixed the value for dwHighDateTime in SystemTimeToFileTime.

svn path=/trunk/; revision=3585

21 years agoFixed the value for EPOCHWEEKDAY.
Hartmut Birr [Mon, 30 Sep 2002 20:57:54 +0000 (20:57 +0000)]
Fixed the value for EPOCHWEEKDAY.
Improve converting speed in RtlTimeToTimeFields.

svn path=/trunk/; revision=3584

21 years agoRelease PiThreadListLock before KeReleaseThread is called in PiDeleteThread.
Hartmut Birr [Mon, 30 Sep 2002 20:56:17 +0000 (20:56 +0000)]
Release PiThreadListLock before KeReleaseThread is called in PiDeleteThread.

svn path=/trunk/; revision=3583

21 years ago2002-09-30 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Mon, 30 Sep 2002 20:55:33 +0000 (20:55 +0000)]
2002-09-30  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* ntoskrnl/cc/view.c (alloca): Prototype.
* ntoskrnl/rtl/ctype.c: Undefine __MSVCRT__ to not have mingw runtime
import _pctype.

svn path=/trunk/; revision=3582

21 years agoFixed the value for EPOCHWEEKDAY.
Hartmut Birr [Mon, 30 Sep 2002 20:54:59 +0000 (20:54 +0000)]
Fixed the value for EPOCHWEEKDAY.

svn path=/trunk/; revision=3581

21 years agoChanged from OrginalFileObject to the FileObject from current stack location in IoIsO...
Hartmut Birr [Mon, 30 Sep 2002 20:53:38 +0000 (20:53 +0000)]
Changed from OrginalFileObject to the FileObject from current stack location in IoIsOperationSynchronous.

svn path=/trunk/; revision=3580

21 years agoChanged the allocation function from ExAllocatePool to ExAllocatePoolWithTag in ExpDe...
Hartmut Birr [Mon, 30 Sep 2002 20:52:23 +0000 (20:52 +0000)]
Changed the allocation function from ExAllocatePool to ExAllocatePoolWithTag in ExpDefaultAllocate.

svn path=/trunk/; revision=3579

21 years agoRemoved VfatIoIsOperationSynchronous and changed back to IoIsOperationSynchronous.
Hartmut Birr [Mon, 30 Sep 2002 20:49:44 +0000 (20:49 +0000)]
Removed VfatIoIsOperationSynchronous and changed back to IoIsOperationSynchronous.

svn path=/trunk/; revision=3578

21 years agoFree the DirectorySeachPattern.
Hartmut Birr [Mon, 30 Sep 2002 20:48:43 +0000 (20:48 +0000)]
Free the DirectorySeachPattern.

svn path=/trunk/; revision=3577

21 years agoChanged the starting cluster for the call to OffsetToCluster in VfatSetAllocationSize...
Hartmut Birr [Mon, 30 Sep 2002 20:47:28 +0000 (20:47 +0000)]
Changed the starting cluster for the call to OffsetToCluster in VfatSetAllocationSizeInformation
from current cluster to the first cluster of a file or directory.
Do not set the new size for directories in VfatSetAllocationSizeInformation.

svn path=/trunk/; revision=3576

21 years agoUse the correct bit order.
David Welch [Mon, 30 Sep 2002 19:45:19 +0000 (19:45 +0000)]
Use the correct bit order.

svn path=/trunk/; revision=3575

21 years agoFix for wrongly disabling interrupts causing system time loss.
David Welch [Mon, 30 Sep 2002 19:43:33 +0000 (19:43 +0000)]
Fix for wrongly disabling interrupts causing system time loss.

svn path=/trunk/; revision=3574

21 years agoPerform color translation for 4BPP to 4BPP DIBs
Jason Filby [Sat, 28 Sep 2002 22:23:36 +0000 (22:23 +0000)]
Perform color translation for 4BPP to 4BPP DIBs

svn path=/trunk/; revision=3573

21 years agoDraw minimize and maximize buttons with smaller, correct, metrics
Jason Filby [Sat, 28 Sep 2002 22:13:28 +0000 (22:13 +0000)]
Draw minimize and maximize buttons with smaller, correct, metrics

svn path=/trunk/; revision=3572

21 years agoFixed the conversion in MultiByteToWideChar. Wmc.exe does now running on ros.
Hartmut Birr [Fri, 27 Sep 2002 15:29:03 +0000 (15:29 +0000)]
Fixed the conversion in MultiByteToWideChar. Wmc.exe does now running on ros.

svn path=/trunk/; revision=3571

21 years agoFixed the calculation of leap days in RtlTimeToTimeFields.
Hartmut Birr [Fri, 27 Sep 2002 15:23:03 +0000 (15:23 +0000)]
Fixed the calculation of leap days in RtlTimeToTimeFields.

svn path=/trunk/; revision=3570