Eric Kohl [Fri, 23 Aug 2002 16:17:12 +0000 (16:17 +0000)]
Added welcome/autorun application
svn path=/trunk/; revision=3384
Eric Kohl [Fri, 23 Aug 2002 16:15:47 +0000 (16:15 +0000)]
Added welcome/autorun application (test bitmaps)
svn path=/trunk/; revision=3383
Emanuele Aliberti [Fri, 23 Aug 2002 12:41:55 +0000 (12:41 +0000)]
Fixes for building the imports libraries.
svn path=/trunk/; revision=3382
Emanuele Aliberti [Fri, 23 Aug 2002 12:40:56 +0000 (12:40 +0000)]
Makefile fixes to compile.
svn path=/trunk/; revision=3381
Robert Dickenson [Fri, 23 Aug 2002 08:28:43 +0000 (08:28 +0000)]
Added new include file.
svn path=/trunk/; revision=3380
Robert Dickenson [Fri, 23 Aug 2002 08:27:46 +0000 (08:27 +0000)]
Added some exports.
svn path=/trunk/; revision=3379
Robert Dickenson [Fri, 23 Aug 2002 08:26:52 +0000 (08:26 +0000)]
Modified to use new include file reactos/include/snmp.h to be committed shortly.
svn path=/trunk/; revision=3378
Robert Dickenson [Fri, 23 Aug 2002 08:24:13 +0000 (08:24 +0000)]
Added entries for new network applications.
svn path=/trunk/; revision=3377
Robert Dickenson [Fri, 23 Aug 2002 08:23:28 +0000 (08:23 +0000)]
Created framework for new network utility applications.
svn path=/trunk/; revision=3376
Eric Kohl [Thu, 22 Aug 2002 15:21:57 +0000 (15:21 +0000)]
-Implemented ReadConsoleOutputCharacterA and CsrReadConsoleOutputChar
-Added null pointer check to FillConsoleOutputCharacterA
-Added parameter names and removed 'undocumented' label for
GetConsoleFontSize and GetCurrentConsoleFont
-Added definition of CONSOLE_FONT_INFO struct
-Added call to SetLastError(ERROR_OUTOFMEMORY) to a number of
RtlAllocateHeap return value checks
Patch by Marty Dill
svn path=/trunk/; revision=3375
Brian Palmer [Thu, 22 Aug 2002 05:33:59 +0000 (05:33 +0000)]
Changes in v1.7.5 (8/21/2002) (brianp)
- biosvid.S (BiosVideoDisableBlinkBit): Added code to
disable the blink bit in the text mode character
attribute byte so that the full range of
background colors can be used.
svn path=/trunk/; revision=3374
Brian Palmer [Wed, 21 Aug 2002 03:34:01 +0000 (03:34 +0000)]
Initial commit for utility to install FreeLoader under Linux
svn path=/trunk/; revision=3373
Brian Palmer [Wed, 21 Aug 2002 03:32:49 +0000 (03:32 +0000)]
Changes in v1.7.4 (8/20/2002) (brianp)
- Boot sector code now reports to freeldr.sys the partition
that it was installed on. This is specified by a byte
value in the boot sector code. By default the boot partition
is set to zero which indicates the active (bootable)
partition, unless the installer sets the value to non-zero.
If FreeLoader is installed on a partition other than
the active (bootable) partition then the installer must
set this byte to that partition number. Otherwise
FreeLoader will not be able to find freeldr.ini.
- i386trap.S: Added debug macros BREAKPOINT(),
INSTRUCTION_BREAKPOINTX(), MEMORY_READWRITE_BREAKPOINTX(), &
MEMORY_WRITE_BREAKPOINTX().
- partition.c (DiskGetPartitionEntry): Add the relative offset
of the extended partition to the partitions start sector.
- ext2.c (Ext2ReadBlockPointerList, Ext2CopyIndirectBlockPointers,
Ext2CopyDoubleIndirectBlockPointers, Ext2CopyTripleIndirectBlockPointers):
Rewrote the block pointer functions so they actually work.
- ini_init.c (IniFileInitialize, IniOpenIniFile): Looks for freeldr.ini
on both the active (bootable) partition and the partition
passed in from the boot sector code.
- meminit.c (MmInitializeMemoryManager, MmFixupSystemMemoryMap,
MmGetEndAddressOfAnyMemory, MmGetAddressablePageCountIncludingHoles,
MmInitPageLookupTable): Fixed bug that would cause FreeLoader to
have an off-by-one error when accessing the last entry in the
page lookup table on systems with 4GB of memory (or memory mapped
at the end of the address space).
svn path=/trunk/; revision=3372
KJK::Hyperion [Tue, 20 Aug 2002 20:37:19 +0000 (20:37 +0000)]
New macros InitializeUnicodeString(), RtlInitUnicodeStringFromLiteral() and UNICODE_STRING_INITIALIZATOR(), for fast, compile-time initialization of UNICODE_STRING variables
svn path=/trunk/; revision=3371
Jason Filby [Mon, 19 Aug 2002 22:01:12 +0000 (22:01 +0000)]
Improved HLine algorithm; improvement carried over to FillSolid
svn path=/trunk/; revision=3370
Eugene Ingerman [Mon, 19 Aug 2002 21:49:45 +0000 (21:49 +0000)]
Added color translation for solid color brushes.
svn path=/trunk/; revision=3369
Jason Filby [Sun, 18 Aug 2002 22:11:06 +0000 (22:11 +0000)]
Fixed VGADDIFillSolid - now fast, although ugly (will clean it up still)
svn path=/trunk/; revision=3368
Hartmut Birr [Sun, 18 Aug 2002 21:07:59 +0000 (21:07 +0000)]
- Added a check for valid result pointers in GetDiskFreeSpaceExW.
- Changed from CreateFileW to NtCreateFile in GetVolumeInformationW.
CreateFileW doesn't allow to open directories.
svn path=/trunk/; revision=3367
Hartmut Birr [Sun, 18 Aug 2002 21:04:52 +0000 (21:04 +0000)]
Rewrote _stat functions. This functions can't use _fstat.
svn path=/trunk/; revision=3366
KJK::Hyperion [Sun, 18 Aug 2002 18:50:27 +0000 (18:50 +0000)]
RtlGetProcessHeap() is not a function in Microsoft Windows
svn path=/trunk/; revision=3365
KJK::Hyperion [Sun, 18 Aug 2002 16:01:11 +0000 (16:01 +0000)]
CreateFileW: corrected a couple of buglets, added handling of GENERIC_ALL access, packed with DPRINTs to catch the bug that breaks gcc and cmd (sorry, last time I touch something I can't test)
svn path=/trunk/; revision=3364
Jason Filby [Sun, 18 Aug 2002 13:55:11 +0000 (13:55 +0000)]
Use clip.h instead of enum.h
svn path=/trunk/; revision=3363
Eugene Ingerman [Sun, 18 Aug 2002 07:02:57 +0000 (07:02 +0000)]
1. CLIPOBJ_bEnum, CLIPOBJ_cEnumStart - implemented internal clip region enumeration.
2. Implemented PaintRgn. Added test to gditest.
3. Removed enum.c enum.h (duplicates for clip.c clip.h).
svn path=/trunk/; revision=3362
KJK::Hyperion [Sun, 18 Aug 2002 04:20:21 +0000 (04:20 +0000)]
Cleaned up CreateFileW. Please check out the FIXMEs
svn path=/trunk/; revision=3361
KJK::Hyperion [Sun, 18 Aug 2002 04:19:27 +0000 (04:19 +0000)]
Added definition of FILE_OPEN_FOR_RECOVERY
svn path=/trunk/; revision=3360
Robert Dickenson [Sat, 17 Aug 2002 17:26:14 +0000 (17:26 +0000)]
Minor cosmetic changes to define, fixup workaround of windres bug.
svn path=/trunk/; revision=3359
Robert Dickenson [Sat, 17 Aug 2002 17:23:18 +0000 (17:23 +0000)]
Rudimentiary drivebar support added.
svn path=/trunk/; revision=3358
Hartmut Birr [Sat, 17 Aug 2002 16:51:07 +0000 (16:51 +0000)]
Call VfatSetAllocationSizeInformation only if the file size is increased (VfatWrite).
svn path=/trunk/; revision=3357
Robert Dickenson [Sat, 17 Aug 2002 16:23:13 +0000 (16:23 +0000)]
Added new module for iphlpapi.dll
svn path=/trunk/; revision=3356
Robert Dickenson [Sat, 17 Aug 2002 16:18:54 +0000 (16:18 +0000)]
Newline at EOF to fix warning
svn path=/trunk/; revision=3355
Robert Dickenson [Sat, 17 Aug 2002 16:06:29 +0000 (16:06 +0000)]
Added TOOLS_PATH macro and default target similar to that in reactos/rules.mak
svn path=/trunk/; revision=3354
Robert Dickenson [Sat, 17 Aug 2002 16:02:08 +0000 (16:02 +0000)]
Added NDISVERSION define for our target NDIS support level, currently commented out pending testing.
svn path=/trunk/; revision=3353
Robert Dickenson [Sat, 17 Aug 2002 15:58:38 +0000 (15:58 +0000)]
fixed clean rule to match other makefile standard
svn path=/trunk/; revision=3352
Robert Dickenson [Sat, 17 Aug 2002 15:57:22 +0000 (15:57 +0000)]
Fixed typo in header comment.
svn path=/trunk/; revision=3351
Robert Dickenson [Sat, 17 Aug 2002 15:48:21 +0000 (15:48 +0000)]
Added new module for snmpapi.dll
svn path=/trunk/; revision=3350
Hartmut Birr [Sat, 17 Aug 2002 15:46:36 +0000 (15:46 +0000)]
Disabled/removed debug messages.
svn path=/trunk/; revision=3349
Hartmut Birr [Sat, 17 Aug 2002 15:31:03 +0000 (15:31 +0000)]
Changed the values for the page file size from the registry from Byte to MByte.
svn path=/trunk/; revision=3348
Hartmut Birr [Sat, 17 Aug 2002 15:29:18 +0000 (15:29 +0000)]
Zero out the page in MmTransferOwnershipPage.
svn path=/trunk/; revision=3347
Hartmut Birr [Sat, 17 Aug 2002 15:27:54 +0000 (15:27 +0000)]
Change the type of the parameter PhysicalAddress in MmDisableVirtualMapping.
svn path=/trunk/; revision=3346
Hartmut Birr [Sat, 17 Aug 2002 15:23:50 +0000 (15:23 +0000)]
Set the extension length to 0 if there is no extension (RtlGenerate8dot3Name).
svn path=/trunk/; revision=3345
Hartmut Birr [Sat, 17 Aug 2002 15:22:33 +0000 (15:22 +0000)]
Fixed the size for memory unmapping from boot process.
svn path=/trunk/; revision=3344
Hartmut Birr [Sat, 17 Aug 2002 15:21:12 +0000 (15:21 +0000)]
Removed freeing of IRP's MDL in ScsiClassIoComplete.
svn path=/trunk/; revision=3343
Hartmut Birr [Sat, 17 Aug 2002 15:20:33 +0000 (15:20 +0000)]
Setup the correct stack location for completion routines in IofCompleteRequest.
This change correct also the called completion routine in IoSecondStageCompletion
(ntoskrnl\io\cleanup.c).
svn path=/trunk/; revision=3342
Hartmut Birr [Sat, 17 Aug 2002 15:17:59 +0000 (15:17 +0000)]
Removed the absolute path (c:\reactos\system32) to smss.exe.
svn path=/trunk/; revision=3341
Robert Dickenson [Sat, 17 Aug 2002 15:16:38 +0000 (15:16 +0000)]
Removed modules to go into shell32. New control panel launcher based on same wine program.
svn path=/trunk/; revision=3340
Hartmut Birr [Sat, 17 Aug 2002 15:15:50 +0000 (15:15 +0000)]
- Release streaming file object for directories in vfatReleaseFCB.
- Removed initialization of caching in vfatAttacheFCBToFileObject.
The cache for files is initialized at the first read/write operation.
- Merged vfatExtendSpace and VfatSetAllocationSizeInformation in one function.
svn path=/trunk/; revision=3339
Hartmut Birr [Sat, 17 Aug 2002 15:14:26 +0000 (15:14 +0000)]
- Disabled write caching for meta data (FAT, directories) in
CcSetDirtyPinedData. There is no working shutdown function
for writing back each modified cache segment. A reboot or
crash can damage the disk.
- Added CcRosReferenceCache and CcRosDereferenceCache.
- Check at each call to CcRosInitializeFileCache if the cache was
initialized for the file stream by a previous call to this function.
- Check at each call to CcRosReleaseFileCache if this is possible
to delete the caching for the file stream.
svn path=/trunk/; revision=3338
Hartmut Birr [Sat, 17 Aug 2002 15:12:49 +0000 (15:12 +0000)]
Increment/Decrement the cache reference count on each create/delete
operation for a section. This prevents the cache from uninitialization
for a mapped file (data or image) at the cleanup of a given file object
or force the uninitialization if the last section of a file is deleted.
svn path=/trunk/; revision=3337
David Welch [Sat, 17 Aug 2002 14:14:20 +0000 (14:14 +0000)]
2002-08-17 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/mm/rmap.c (MmWritePagePhysicalAddress): Ensure the
process isn't freed in the middle of our operations.
2002-08-17 David Welch <welch@computer2.darkstar.org>
* drivers/fs/vfat/finfo.c (VfatSetAllocationSizeInformation): Fixed.
svn path=/trunk/; revision=3336
David Welch [Sat, 17 Aug 2002 01:42:03 +0000 (01:42 +0000)]
2002-08-17 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/ps/create.c (PiDeleteThread): Don't dereference
the thread's process while holding the thread list lock.
2002-08-17 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/mm/section.c (MmMapViewOfSection): Check there is
enough space for all parts of an image before mapping it; if
there isn't enough space free at the preferred base address
then try to choose a different one.
2002-08-17 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/mm/mpw.c (MmInitMpwThread): Run the MPW thread at
idle priority.
2002-08-17 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/mm/kmap.c (ExUnmapPage, ExAllocatePageWithPhysPage,
MiFreeNonPagedPoolRegion, MiAllocNonPagedPoolRegion): Maintain
a hint of the next free page; makes running with whole page
allocation more bearable.
2002-08-17 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/mm/anonmem.c (MmPageOutVirtualMemory): Show an
out of swap space message if we are out of swap space.
* ntoskrnl/mm/section.c (MmPageOutSectionView): Show an
out of swap space message if we are out of swap space.
* ntoskrnl/mm/pagefile.c (MmAllocSwapPage): Don't automatically
show an out of swap space message on failure.
* ntoskrnl/mm/pagefile.c (MmShowOutOfSpaceMessagePagingFile): New
function to notify the user that the pagefile is full.
2002-08-17 David Welch <welch@computer2.darkstar.org>
* drivers/lib/zlib/Makefile: Create a dummy zlib.sym
svn path=/trunk/; revision=3335
Eugene Ingerman [Fri, 16 Aug 2002 22:03:07 +0000 (22:03 +0000)]
Updated memory area const names.
svn path=/trunk/; revision=3334
David Welch [Fri, 16 Aug 2002 01:39:17 +0000 (01:39 +0000)]
2002-08-16 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/mm/npool.c (ExAllocateWholePageBlock): Converted
to use PHYSICAL_ADDRESS type for page address.
2002-08-16 David Welch <welch@computer2.darkstar.org>
* subsys/win32k/ntuser/class.c (W32kCreateClass): Corrected
typo when calculating the offset into the class object to
put the class name string.
2002-08-16 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/ps/thread.c (PsDispatchThreadNoLock): Don't call
the reaper function directly; set an event to wake up a seperate
reaper thread.
* ntoskrnl/ps/thread.c (PsReaperThreadMain): New function that
waits for a notification and then calls PsReapThreads.
* ntoskrnl/ps/thread.c (PsInitThreadManagement): Create the
reaper thread.
svn path=/trunk/; revision=3333
David Welch [Thu, 15 Aug 2002 16:11:01 +0000 (16:11 +0000)]
Export LdrFindResourceDirectory_U
Remove LdrFindResourceDirectory_U stub
svn path=/trunk/; revision=3332
David Welch [Wed, 14 Aug 2002 20:58:39 +0000 (20:58 +0000)]
2002-08-14 David Welch <welch@computer2.darkstar.org>
* subsys/smss/init.c (SmPagingFilesQueryRoutine): If possible
take the size of the paging file from the registry.
2002-08-14 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/mm/section.c (MmCreateDataFileSection): Extend the
section if necessary.
2002-08-14 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/mm/pagefile.c (NtCreatePagingFile): Set the file
size using the FileAllocationInformation class.
2002-08-14 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/mm/anonmem.c (MmWritePageVirtualMemory): Implemented
function to write anonymous memory pages to the swap file.
* ntoskrnl/mm/anonmem.c (MmFreeVirtualMemoryPage): Free any
swap page associated with the page.
* ntoskrnl/mm/mpw.c (MmWriteDirtyPages): New function to find
pages to write to disk.
* ntoskrnl/mm/mpw.c (MmMpwThreadMain): Implemented MPW functionality.
* ntoskrnl/mm/rmap.c (MmWritePagePhysicalAddress): New function
to write a single page back to disk.
* ntoskrnl/mm/rmap.c (MmSetCleanAllRmaps, MmSetDirtyAllRmaps,
MmIsDirtyPageRmap): New rmap function to support the MPW thread.
* ntoskrnl/mm/section.c (MmWritePageSectionView): Implemented
function to write back section pages.
* ntoskrnl/mm/section.c (MmFreeSectionPage): Free any swap
entry associated with the page; mark pages shared with
the cache as dirty if necessary.
2002-08-14 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/ldr/loader.c (LdrPEProcessModule): Set name of
the module into the module text structure.
2002-08-14 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/io/rw.c (NtReadFile, NtWriteFile): Use the correct
test for whether to wait for the completion of i/o.
2002-08-14 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/cm/ntfunc.c (NtFlushKey): Request synchronous i/o
from NtOpenFile.
* ntoskrnl/cm/regfile (CmiInitPermanentRegistryHive): Request
synchronous i/o from NtCreateFile.
* ntoskrnl/dbg/kdb_stabs.c (LdrpLoadModuleSymbols): Request
synchronous i/o from NtOpenFile.
* ntoskrnl/ldr/sysdll.c (LdrpMapSystemDll): Request synchronous i/o
from NtOpenFile.
2002-08-14 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/cc/view.c (CcRosSuggestFreeCacheSegment): Maintain the
correct reference count.
2002-08-14 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/cc/view.c (CcRosFlushCacheSegment): New function to
write back a modified cache segment.
* ntoskrnl/cc/view.c (CcRosFlushDirtyPages): New function to
flush some dirty pages from the cache.
* ntoskrnl/cc/view.c (CcRosMarkDirtyCacheSegment): New function to
mark a cache segment modified while mapped into memory as dirty.
2002-08-14 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/cc/pin.c (CcMapData, CcUnpinData, CcSetDirtyPinnedData):
Store the dirty status in the BCB; don't write back dirty data
immediately.
2002-08-14 David Welch <welch@computer2.darkstar.org>
* include/ntos/mm.h: Added SEC_XXXX defines from 'Windows NT/2000
Native API Reference'
2002-08-14 David Welch <welch@computer2.darkstar.org>
* drivers/fs/vfat/ea.c (VfatSetExtendedAttributes): Empty
placeholder for extended attribute functions.
2002-08-14 David Welch <welch@computer2.darkstar.org>
* drivers/fs/vfat/finfo.c (VfatSetAllocationSizeInformation):
Added function to set allocation size.
2002-08-14 David Welch <welch@computer2.darkstar.org>
* drivers/fs/vfat/fcb.c (vfatFCBInitializeCache): Renamed
to vfatFCBInitializeCacheFromVolume.
* drivers/fs/vfat/fcb.c (vfatMakeFCBFromDirEntry): Don't
initialise the cache with a file object representing the
volume unless the FCB is for a directory.
2002-08-14 David Welch <welch@computer2.darkstar.org>
* drivers/fs/vfat/create.c (VfatPagingFileCreate): Added a
new function for handling paging file only code.
* drivers/fs/vfat/create.c (VfatSupersedeFile): Added a
new function for doing a file supersede.
* drivers/fs/vfat/create.c (VfatCreateFile): Reformatted and
adjusted control flow. Set allocation size and extended attributes
on create.
* drivers/fs/vfat/create.c (VfatCreate): Removed goto.
2002-08-14 David Welch <welch@computer2.darkstar.org>
* drivers/fs/vfat/cleanup.c (VfatCleanupFile): Renamed
updEntry to VfatUpdateEntry.
* drivers/fs/vfat/close.c (VfatCloseFile): Renamed
updEntry to VfatUpdateEntry.
* drivers/fs/vfat/dirwr.c (updEntry): Renamed to
VfatUpdateEntry.
* drivers/fs/vfat/dirwr.c (addEntry): Renamed to
VfatAddEntry.
2002-08-14 David Welch <welch@computer2.darkstar.org>
* apps/tests/sectest/sectest.c (main): Fixed formatting.
svn path=/trunk/; revision=3331
Eric Kohl [Tue, 13 Aug 2002 20:41:22 +0000 (20:41 +0000)]
Implemented and fixed several ACL and SD functions.
Patch by Alexandru Matei.
svn path=/trunk/; revision=3330
Eric Kohl [Sat, 10 Aug 2002 21:58:14 +0000 (21:58 +0000)]
Added missing newline
svn path=/trunk/; revision=3329
Eric Kohl [Sat, 10 Aug 2002 21:57:41 +0000 (21:57 +0000)]
Added compression stubs
svn path=/trunk/; revision=3328
David Welch [Sat, 10 Aug 2002 16:41:20 +0000 (16:41 +0000)]
2002-08-10 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/mm/i386/page.c (MmSetPageProtect): Fixed
behaviour when called on the system address space.
2002-08-10 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/mm/virtual.c (MmQueryAnonMem, MmProtectAnonMem,
NtAllocateVirtualMemory, NtFreeVirtualMemory): Renamed
segments to regions; moved region code to seperate file.
Implemented NtQueryVirtualMemory and NtProtectVirtualMemory
for anonymous memory areas.
2002-08-10 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/mm/anonmem.c: Moved functions relating to
areas created with NtAllocateVirtualMemory to a
seperate file.
2002-08-10 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/mm/section.c (MmQuerySectionView): Implemented
NtQueryVirtualMemory for section views.
2002-08-10 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/mm/section.c (MmAccessFaultSectionView,
MmNotPresentFaultSectionView, MmProtectSectionView,
MmMapViewOfSegment, MmAlterViewAttributes): Implemented
NtProtectVirtualMemory for section views.
2002-08-10 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/ke/main.c: Removed SEH test code.
2002-08-10 David Welch <welch@computer2.darkstar.org>
* lib/ntdll/ldr/utils.c (LdrFixupImports): Remove the readonly
protection from the IAT before writing to it.
2002-08-10 David Welch <welch@computer2.darkstar.org>
* lib/ntdll/ldr/utils.c (LdrAdjustDllName): Properly null terminate
the base name of the DLL.
2002-08-10 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/ldr/loader.c (LdrPEProcessModule): Set the text segment
of modules to readonly after loading.
svn path=/trunk/; revision=3327
Eric Kohl [Fri, 9 Aug 2002 22:57:48 +0000 (22:57 +0000)]
Fixed several function prototypes.
svn path=/trunk/; revision=3326
Brian Palmer [Fri, 9 Aug 2002 17:34:24 +0000 (17:34 +0000)]
Preliminary EXT2 boot sector code
Fixed bug in FAT32 boot sector where it wasn't properly updating the sector load address
svn path=/trunk/; revision=3325
David Welch [Fri, 9 Aug 2002 17:23:57 +0000 (17:23 +0000)]
2002-08-09 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/ps/create.c (NtCreateThread): Call PsSuspendThread
if NtCreateThread has CreateSuspended as TRUE.
* ntoskrnl/ps/suspend.c (PsSuspendThread, PsResumeThread,
PiSuspendThreadKernelRoutine): Fixed suspend functionality.
2002-08-09 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/ke/i386/usertrap.c (print_user_address): Copy
the LDR variable from the right address.
2002-08-09 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/ke/apc.c (KiDeliverNormalApc): Check for
kernel APCs pending on exit from the kernel.
* ntoskrnl/ke/apc.c (KiDeliverNormalApc, KiDeliverUserApc,
KiDeliverApc): Set the APC's inserted flag to FALSE after
removing it from the thread's queue.
2002-08-09 David Welch <welch@computer2.darkstar.org>
* lib/kernel32/thread/thread.c (ThreadStartup): Don't
call DLL entrypoints; this is done by LdrInitializeThunk.
* lib/ntdll/ldr/startup.c (LdrInitializeThunk): Call
DLLs in initialization order; take the loader lock before
calling.
2002-08-09 David Welch <welch@computer2.darkstar.org>
* apps/tests/thread/thread.c (main): Test suspend and
resume functionality.
svn path=/trunk/; revision=3324
David Welch [Thu, 8 Aug 2002 17:54:16 +0000 (17:54 +0000)]
2002-08-08 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/mm/section (NtQuerySection): Return the
right result length.
2002-08-08 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/ke/usertrap.c (print_user_address): Check for
a NULL LDR structure in the PEB; copy the LDR pointer in
safely.
2002-08-08 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/ke/apc.c (KiDeliverUserApc): Deliver all present
APCs; release the APC spinlock while acccessing user memory.
2002-08-08 David Welch <welch@computer2.darkstar.org>
* include/internal/ps.h: Adjusted offsets into the ETHREAD
structure.
* include/internal/ps.h: Removed redundant members from the
KTHREAD structure.
* ntoskrnl/ke/kthread.c (KeInitializeThread): Removed
redundant members from the KTHREAD structure.
2002-08-08 David Welch <welch@computer2.darkstar.org>
* ntoskrnl/dbg/kdb.c (KdbEnterDebuggerException): New
function to enter the debugger on an exception.
* ntoskrnl/kd/kdebug.c (KdInitSystem): Initialize the
local kernel debugger if enabled.
* ntoskrnl/ke/catch.c (KiDispatchException): Enter the
local kernel debugger on an exception.
2002-08-08 David Welch <welch@computer2.darkstar.org>
* include/ntdll/ldr.h: Added definition for a DLL entrypoint.
* lib/kernel32/process/create.c (KlCreateFirstThread): Put
the argument to the NtProcessStartup function on the stack.
* lib/kernel32/process/create.c (KlInitPeb): Read the
base address of the new image from the PEB.
* lib/kernel32/process/create.c (CreateProcessW): Start the
first thread at the entrypoint of the new image.
* lib/ntdll/ldr/startup.c (LdrInitializeThunk): If the
function is called after the initial startup then just call the
entrypoints for the loaded DLLs with DLL_THREAD_ATTACH. Don't
call the entrypoint of the image.
* lib/ntdll/rtl/process.c (RtlpCreateFirstThread): Put the
argument to the NtProcessStartup function on the stack.
* lib/ntdll/rtl/process.c (KlInitPeb): Read the base address of
the new image from the PEB.
* lib/ntdll/rtl/process.c (RtlCreateUserProcess): Start the
first thread at the entrypoint of the new image.
* ntoskrnl/ke/i386/bthread.S (PsBeginThreadWithContextInternal):
Use the system call path to begin a usermode thread.
* ntoskrnl/ke/i386/thread.c (Ke386InitThreadWithContext): Convert
the supplied context into a trap frame.
* ntoskrnl/ldr/init.c (LdrLoadInitialProcess): Put the PEB argument
to the NtProcessStartup function on the new stack; start the
first thread at the entrypoint of the image.
* ntoskrnl/ps/create.c (NtCreateThread): Create an APC to call
LdrInitializeThunk in the context of a new thread before its
entrypoint.
2002-08-08 David Welch <welch@computer2.darkstar.org>
* drivers/fs/vfat/cleanup.c (VfatCleanupFile): Uninitialise
the cache on file cleanup.
* drivers/fs/vfat/fcb.c (vfatReleaseFcb): Don't uninitialise
the cache on file close.
* ntoskrnl/cc/copy.c: Renamed zero page global variable.
* ntoskrnl/cc/view.c: Added cache delete function.
svn path=/trunk/; revision=3323
Brian Palmer [Thu, 8 Aug 2002 04:46:46 +0000 (04:46 +0000)]
Defined FAST_SYMLINK_MAX_NAME_SIZE
svn path=/trunk/; revision=3322
Brian Palmer [Thu, 8 Aug 2002 04:38:43 +0000 (04:38 +0000)]
Changes in v1.7.2 (8/7/2002) (brianp)
- Fragment size must be equal to the block size
svn path=/trunk/; revision=3321
Brian Palmer [Thu, 8 Aug 2002 04:28:08 +0000 (04:28 +0000)]
Changes in v1.7.1 (8/7/2002) (brianp)
- Symbolic links on EXT2/3 are now supported
svn path=/trunk/; revision=3320
Brian Palmer [Wed, 7 Aug 2002 05:37:07 +0000 (05:37 +0000)]
Fix for compiling in non-debug (release) mode. (Reduces binary size from 128k to 82k currently)
svn path=/trunk/; revision=3319
Brian Palmer [Wed, 7 Aug 2002 05:13:18 +0000 (05:13 +0000)]
Changes in v1.7 (8/6/2002) (brianp)
- EXT2/EXT3 file system support.
- Does not yet support symbolic links or booting from an EXT2/3 partition.
- Fixed bug in UI code.
- Added '%%' format specifier to printf()-like functions.
- Added functions __udivdi3 & __umoddi3 so that 64-bit division is now supported.
- Changed types BYTE, WORD, DWORD, LONG, ULONG to U8, U16, U32, S32, U32
so that you know the size of the variable across different
architectures with different sized words & dwords, etc.
- Types CHAR, UCHAR, PCHAR, PUCHAR, WCHAR, PWCHAR have not been
changed yet (I haven't decided exactly how I'm going to handle unicode)
(isn't this an awesome commit? ;-) Just look at that list of files)
svn path=/trunk/; revision=3318
Jason Filby [Mon, 5 Aug 2002 19:57:47 +0000 (19:57 +0000)]
Updated version file to 0.0.20
svn path=/trunk/; revision=3316
Robert Dickenson [Sun, 4 Aug 2002 18:40:49 +0000 (18:40 +0000)]
Added combobox to drivebar, yet to get working. Whole application needs alot of cleanup.
Fixed up makefile plus dependancies and now builds (and runs) with ros-tools.
svn path=/trunk/; revision=3315
Eugene Ingerman [Sun, 4 Aug 2002 18:21:59 +0000 (18:21 +0000)]
Fixed a bug in the new Engxxx objects code.
svn path=/trunk/; revision=3314
Eugene Ingerman [Sun, 4 Aug 2002 09:55:11 +0000 (09:55 +0000)]
Rewrote gdi (Engxxx) objects.
svn path=/trunk/; revision=3313
Eugene Ingerman [Sun, 4 Aug 2002 09:53:19 +0000 (09:53 +0000)]
Added more tests to gditest.c
svn path=/trunk/; revision=3312
Eugene Ingerman [Sun, 4 Aug 2002 09:52:05 +0000 (09:52 +0000)]
Removed deprecated file.
svn path=/trunk/; revision=3311
Eric Kohl [Thu, 1 Aug 2002 10:29:18 +0000 (10:29 +0000)]
Don't alloc an extra console upon startup.
Added correct calculation of free disk size for drives larger than 2GB.
svn path=/trunk/; revision=3309
Eric Kohl [Mon, 29 Jul 2002 15:37:06 +0000 (15:37 +0000)]
Added RtlCopyLuidAndAttributesArray() and RtlCopySidAndAttributesArray().
svn path=/trunk/; revision=3308
Eric Kohl [Mon, 29 Jul 2002 15:29:58 +0000 (15:29 +0000)]
Added cache flush counters.
svn path=/trunk/; revision=3307
Brian Palmer [Mon, 29 Jul 2002 06:49:58 +0000 (06:49 +0000)]
Changes in v1.6.2 (7/28/2002) (brianp)
- Fix for GetFatEntry16 bug (fathelp.asm) by Mike Lerwill
svn path=/trunk/; revision=3306
Eric Kohl [Sat, 27 Jul 2002 13:02:37 +0000 (13:02 +0000)]
Added missing fastcall list functions
svn path=/trunk/; revision=3305
Robert Kopferl [Fri, 26 Jul 2002 00:23:13 +0000 (00:23 +0000)]
-Nearly compiles doscalls
-Added an mixing header to have ntddk and os2 included without conflicts
svn path=/trunk/; revision=3304
Eric Kohl [Thu, 25 Jul 2002 16:58:58 +0000 (16:58 +0000)]
Implemented RtlTimeToElapsedTimeFields().
svn path=/trunk/; revision=3303
Eric Kohl [Thu, 25 Jul 2002 16:57:49 +0000 (16:57 +0000)]
Implemented RtlTimeToElapsedtimeFields().
svn path=/trunk/; revision=3302
Eric Kohl [Thu, 25 Jul 2002 13:18:31 +0000 (13:18 +0000)]
Added compression functions (not usabel yet).
svn path=/trunk/; revision=3301
Eric Kohl [Wed, 24 Jul 2002 17:49:31 +0000 (17:49 +0000)]
Implemented IoCheckDesiredAccess() and IoGetInitialStack().
svn path=/trunk/; revision=3300
Robert Kopferl [Tue, 23 Jul 2002 13:00:46 +0000 (13:00 +0000)]
free os2.h version
svn path=/trunk/; revision=3299
Robert Kopferl [Tue, 23 Jul 2002 13:00:11 +0000 (13:00 +0000)]
*** empty log message ***
svn path=/trunk/; revision=3298
Robert Kopferl [Tue, 23 Jul 2002 12:30:01 +0000 (12:30 +0000)]
update
svn path=/trunk/; revision=3297
Robert Dickenson [Tue, 23 Jul 2002 08:24:54 +0000 (08:24 +0000)]
Added control panel applet icons to the list control imagelist. Next I'll make them lauch!
svn path=/trunk/; revision=3296
Jurgen van Gael [Tue, 23 Jul 2002 08:16:05 +0000 (08:16 +0000)]
OpenSCManager waits for services.exe to initialize
svn path=/trunk/; revision=3295
Eugene Ingerman [Tue, 23 Jul 2002 08:03:15 +0000 (08:03 +0000)]
Fixed bugs in region operations code (should run region tests correctly now)
svn path=/trunk/; revision=3294
Brian Palmer [Tue, 23 Jul 2002 06:46:55 +0000 (06:46 +0000)]
Fix for disk caching while doing drive remapping
svn path=/trunk/; revision=3293
Robert Dickenson [Mon, 22 Jul 2002 21:12:26 +0000 (21:12 +0000)]
Whatever it is I changed, it's now backed up before I go to bed.
svn path=/trunk/; revision=3292
Robert Dickenson [Mon, 22 Jul 2002 21:05:41 +0000 (21:05 +0000)]
Basic Control Panel created.
svn path=/trunk/; revision=3291
Eric Kohl [Mon, 22 Jul 2002 17:53:12 +0000 (17:53 +0000)]
Read drive number from the command line.
Added some sanity checks.
svn path=/trunk/; revision=3290
Eugene Ingerman [Mon, 22 Jul 2002 17:42:52 +0000 (17:42 +0000)]
Missing file.
svn path=/trunk/; revision=3289
Robert Dickenson [Mon, 22 Jul 2002 14:41:40 +0000 (14:41 +0000)]
Added missing file and some hex string conversion routines. Now displays registry data.
svn path=/trunk/; revision=3288
Steven Edwards [Mon, 22 Jul 2002 11:12:38 +0000 (11:12 +0000)]
Commited as binary
svn path=/trunk/; revision=3287
Steven Edwards [Mon, 22 Jul 2002 11:11:55 +0000 (11:11 +0000)]
Removed to recommit as binary
svn path=/trunk/; revision=3286
Eugene Ingerman [Mon, 22 Jul 2002 07:55:49 +0000 (07:55 +0000)]
Added GetRegionData gdi function. Added region test. Fixed some bugs.
svn path=/trunk/; revision=3285
Brian Palmer [Mon, 22 Jul 2002 03:44:08 +0000 (03:44 +0000)]
Added BIOS drive mapping functionality
svn path=/trunk/; revision=3284
Eric Kohl [Sun, 21 Jul 2002 22:57:06 +0000 (22:57 +0000)]
Moved WS_EX_CLIENTEDGE to the correct location.
svn path=/trunk/; revision=3283