reactos.git
21 years ago - new statically linked library ROSRTL, for code to be shared among system DLLs
KJK::Hyperion [Tue, 29 Apr 2003 02:17:01 +0000 (02:17 +0000)]
 - new statically linked library ROSRTL, for code to be shared among system DLLs
 - user-mode thread creation code moved to ROSRTL
 - user-mode thread context initialization code fixed
 - LdrInitializeThunk() breakin stub fixed

svn path=/trunk/; revision=4615

21 years ago2003-04-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Mon, 28 Apr 2003 21:32:10 +0000 (21:32 +0000)]
2003-04-28  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* Makefile (DLLS): Add epsapi, psapi and wsock32.
* lib/ntdll/ldr/utils.c (LdrPerformRelocations): Handle the case where a
relocation crosses a page boundary.
(LdrFixupImports): Use image load address in calculatation of import
address list.

svn path=/trunk/; revision=4614

21 years agoWiped the partition sector structure mess away.
Eric Kohl [Mon, 28 Apr 2003 21:15:07 +0000 (21:15 +0000)]
Wiped the partition sector structure mess away.
Made sector read and write routines more flexible.
Fixed disk signature reading bug.

svn path=/trunk/; revision=4613

21 years ago2003-04-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Mon, 28 Apr 2003 19:44:13 +0000 (19:44 +0000)]
2003-04-28  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* lib/fslib/vfatlib/vfatlib.h: New file.
* subsys/system/usetup/format.c: Ditto.
* subsys/system/usetup/format.h: Ditto.
* lib/fslib/vfatlib/vfatlib.c (GetShiftCount): Define.
(VfatWriteBootSector, VfatWriteFsInfo, VfatWriteFAT,
VfatWriteRootDirectory): New function.
(VfatFormat): Implement.
* subsys/system/usetup/bootsup.c: (InstallFat32BootCodeToFile): Use
0x0000 as marker to disable backup boot sector.
(InstallFat32BootCodeToDisk): Add lower 8-bit to BackupBootSector.
Also treat 0x0000 as no backup boot sector is available.
* subsys/system/usetup/makefile (TARGET_SDKLIBS): Define.
(TARGET_OBJECTS): Add format.o.
* subsys/system/usetup/partlist.c (AddPartitionList): Initialize
PartNumber field.
(GetSelectedPartition): Set PartEntryNumber correctly.
(CreateSelectedPartition): Write partition information to disk.
(DeleteSelectedPartition): New function.
* subsys/system/usetup/partlist.h (PARTDATA): Add field CreatePartition.
(DeleteSelectedPartition): Prototype.
* subsys/system/usetup/usetup.c (ConfirmDeletePartition): New function.
(SelectPartitionPage): Support deletion of partition.
(FormatPartitionPage): Support formatting of partition.

svn path=/trunk/; revision=4612

21 years agoAdded DbgPrint-notification for stubbed function KeSetAffinityThread()
Aleksey Bragin [Mon, 28 Apr 2003 14:32:36 +0000 (14:32 +0000)]
Added DbgPrint-notification for stubbed function KeSetAffinityThread()

svn path=/trunk/; revision=4611

21 years agoAdded notification for partly-implemented NdisMSetAttributesEx()
Aleksey Bragin [Mon, 28 Apr 2003 14:31:47 +0000 (14:31 +0000)]
Added notification for partly-implemented NdisMSetAttributesEx()

svn path=/trunk/; revision=4610

21 years agoUse disk signature or MBR checksum to find the right disk.
Eric Kohl [Mon, 28 Apr 2003 11:05:34 +0000 (11:05 +0000)]
Use disk signature or MBR checksum to find the right disk.
Add missing device objects to device extensions.

svn path=/trunk/; revision=4609

21 years agoRegionSize in MEMORY_BASIC_INFORMATION is relative to BaseAddress, not to
Gé van Geldorp [Mon, 28 Apr 2003 10:37:40 +0000 (10:37 +0000)]
RegionSize in MEMORY_BASIC_INFORMATION is relative to BaseAddress, not to
AllocationBase

svn path=/trunk/; revision=4608

21 years agoLayout stat structures exactly the same as in Microsoft MSVCRT, for
Gé van Geldorp [Sun, 27 Apr 2003 23:14:04 +0000 (23:14 +0000)]
Layout stat structures exactly the same as in Microsoft MSVCRT, for
binary compatibility

svn path=/trunk/; revision=4607

21 years agofixed file dates in root directory
guido [Sun, 27 Apr 2003 20:23:30 +0000 (20:23 +0000)]
fixed file dates in root directory

svn path=/trunk/; revision=4606

21 years ago- Initialize the fpu control register within the context structure.
Hartmut Birr [Sun, 27 Apr 2003 18:58:00 +0000 (18:58 +0000)]
- Initialize the fpu control register within the context structure.

svn path=/trunk/; revision=4605

21 years ago- Query BIOS for supported disk drives
Casper Hornstrup [Sun, 27 Apr 2003 18:18:51 +0000 (18:18 +0000)]
- Query BIOS for supported disk drives

svn path=/trunk/; revision=4604

21 years agoRemoved unused bios32 support.
Eric Kohl [Sun, 27 Apr 2003 18:12:15 +0000 (18:12 +0000)]
Removed unused bios32 support.

svn path=/trunk/; revision=4603

21 years agoDetect and print BIOS disk geometry.
Eric Kohl [Sun, 27 Apr 2003 18:10:38 +0000 (18:10 +0000)]
Detect and print BIOS disk geometry.

svn path=/trunk/; revision=4602

21 years agoAdded disk geometry structures for hardware detection.
Eric Kohl [Sun, 27 Apr 2003 18:08:56 +0000 (18:08 +0000)]
Added disk geometry structures for hardware detection.

svn path=/trunk/; revision=4601

21 years agoFsRtlNumberOfRunsInLargeMcb() implemented (simple).
Emanuele Aliberti [Sun, 27 Apr 2003 16:25:25 +0000 (16:25 +0000)]
FsRtlNumberOfRunsInLargeMcb() implemented (simple).

svn path=/trunk/; revision=4600

21 years ago- Fixed the frame layout for trap 15 and 16.
Hartmut Birr [Sun, 27 Apr 2003 16:21:16 +0000 (16:21 +0000)]
- Fixed the frame layout for trap 15 and 16.

svn path=/trunk/; revision=4599

21 years ago2003-04-27 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sun, 27 Apr 2003 14:45:52 +0000 (14:45 +0000)]
2003-04-27  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* tools/helper.mk (TARGET_ASFLAGS): Add -march and define MK_ARCH_ID.
* lib/ntdll/makefile (TARGET_ASFLAGS): Define as
"-I $(PATH_TO_TOP)/include".
(TARGET_OBJECTS): Add ldr/entry.o.
* lib/ntdll/ldr/startup.c: Move inline assembly code...
* lib/ntdll/ldr/entry.S: ...here. New file.

svn path=/trunk/; revision=4598

21 years ago2003-04-27 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sun, 27 Apr 2003 11:43:31 +0000 (11:43 +0000)]
2003-04-27  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* include/kernel32/kernel32.h (assert): Define.
* tools/mkhive/.cvsignore: New file.

svn path=/trunk/; revision=4597

21 years agoMoved disk manager related offset calculation to class2.
Eric Kohl [Sun, 27 Apr 2003 10:50:07 +0000 (10:50 +0000)]
Moved disk manager related offset calculation to class2.
Implemented dynamic partition management.
Removed unused header files.

svn path=/trunk/; revision=4596

21 years agoMy biggest commit so far (everything compiles and apparently runs fine):
KJK::Hyperion [Sat, 26 Apr 2003 23:13:33 +0000 (23:13 +0000)]
My biggest commit so far (everything compiles and apparently runs fine):
 - replaced DWORD with ULONG in a couple of places
 - replaced some ULONGs with LONGs in the KD GDB stub
 - replaced INITIAL_TEB with USER_STACK, as per Nebbet's book, to support both fixed size and expandable stacks
 - added InterlockedExchangePointer
 - added the ASM_BREAKPOINT macro as the architecture-dependent assembler code to raise a breakpoint exception
 - corrected definitions of INT, LONG, DWORD, UINT, ULONG and ULONG32
 - corrected IoSetCancelRoutine to use InterlockedExchangePointer
 - corrected definition of NtCurrentTeb and NtCurrentPeb
 - corrected DbgBreakPoint and DbgUserBreakPoint not to set up a stack frame (temporary fix with inline assembler - why doesn't GCC understand __declspec(naked)?)
 - corrected various calls to Interlocked* functions to cast OUT operands to LONG *
 - corrected various printf format strings
 - corrected DbgUiIssueRemoteBreakin to use the smallest possible stack  (this is what started everything)
 - removed a DPRINT that accessed pageable memory at non-PASSIVE_LEVEL IRQL
 - beautified CreateProcessA (another temporary fix - all the new functions will be isolated in the upcoming stand-alone RTL)
 - prefixed LdrInitializeThunk with a nop that can be overwritten with a breakpoint for debugging purposes (temporary debugging aid until we have user-mode debugger support). Will add support for this to the breakin utility soon
 - thread creation code rewritten from scratch (some glitches documented inline, but works fine)
 - thread creation code now duplicated just twice, as opposed to five times (temporary fix - three new, non standard functions have been exported from NTDLL.DLL, will fix later)

svn path=/trunk/; revision=4595

21 years agoAdded missing newline.
Eric Kohl [Sat, 26 Apr 2003 22:51:21 +0000 (22:51 +0000)]
Added missing newline.

svn path=/trunk/; revision=4594

21 years agoFixed wm_paint test to use ReactOS build system.
Steven Edwards [Sat, 26 Apr 2003 21:39:36 +0000 (21:39 +0000)]
Fixed wm_paint test to use ReactOS build system.

svn path=/trunk/; revision=4593

21 years agoFixed bitblt test to use ReactOS build system.
Steven Edwards [Sat, 26 Apr 2003 21:37:09 +0000 (21:37 +0000)]
Fixed bitblt test to use ReactOS build system.

svn path=/trunk/; revision=4592

21 years agoImproved command line completion. Patch by Marc Schuetz.
Eric Kohl [Sat, 26 Apr 2003 16:38:05 +0000 (16:38 +0000)]
Improved command line completion. Patch by Marc Schuetz.

svn path=/trunk/; revision=4591

21 years agoRemove SetLastErrorByStatus, since it's no longer needed (it is a macro
Gé van Geldorp [Sat, 26 Apr 2003 12:50:56 +0000 (12:50 +0000)]
Remove SetLastErrorByStatus, since it's no longer needed (it is a macro
now) and is giving compile errors

svn path=/trunk/; revision=4590

21 years agoSilence debug messages
Gé van Geldorp [Sat, 26 Apr 2003 10:06:10 +0000 (10:06 +0000)]
Silence debug messages

svn path=/trunk/; revision=4589

21 years agoIf name of DLL to load contains a path and it has been loaded before,
Gé van Geldorp [Sat, 26 Apr 2003 10:05:38 +0000 (10:05 +0000)]
If name of DLL to load contains a path and it has been loaded before,
find the previous entry

svn path=/trunk/; revision=4588

21 years agoFileNameLength and ShortNameLength are in bytes, adjust offset for writing
Gé van Geldorp [Sat, 26 Apr 2003 08:56:50 +0000 (08:56 +0000)]
FileNameLength and ShortNameLength are in bytes, adjust offset for writing
terminating NUL character accordingly

svn path=/trunk/; revision=4587

21 years ago- Fixed the offset in ReadPciConfigUshort.
Hartmut Birr [Sat, 26 Apr 2003 07:09:26 +0000 (07:09 +0000)]
- Fixed the offset in ReadPciConfigUshort.

svn path=/trunk/; revision=4586

21 years ago- Fixed the offset in ReadPciConfigUshort/WritePciConfigUshort.
Hartmut Birr [Sat, 26 Apr 2003 07:06:55 +0000 (07:06 +0000)]
- Fixed the offset in ReadPciConfigUshort/WritePciConfigUshort.

svn path=/trunk/; revision=4585

21 years agoReplace SetLastErrorByStatus with RtlNtStatusToDosError
Steven Edwards [Sat, 26 Apr 2003 01:19:31 +0000 (01:19 +0000)]
Replace SetLastErrorByStatus with RtlNtStatusToDosError

svn path=/trunk/; revision=4584

21 years agoSetLastErrorByStatus() now a macro, for binary compatibility with Windows
KJK::Hyperion [Sat, 26 Apr 2003 00:25:01 +0000 (00:25 +0000)]
SetLastErrorByStatus() now a macro, for binary compatibility with Windows

svn path=/trunk/; revision=4583

21 years agoImplement part of the functionality of NdisMSetAttributesEx(). (So ROS doesn't compla...
Aleksey Bragin [Fri, 25 Apr 2003 21:22:48 +0000 (21:22 +0000)]
Implement part of the functionality of NdisMSetAttributesEx(). (So ROS doesn't complain while loading VMWare net driver -- though it still doesn't load)

svn path=/trunk/; revision=4582

21 years ago- Detect PCI busses
Casper Hornstrup [Fri, 25 Apr 2003 19:32:51 +0000 (19:32 +0000)]
- Detect PCI busses
- Detect IDE controllers and devices
- Improved RegEnumValue()

svn path=/trunk/; revision=4581

21 years ago- Fixed the detection of a fat32 boot sector.
Hartmut Birr [Fri, 25 Apr 2003 18:45:06 +0000 (18:45 +0000)]
- Fixed the detection of a fat32 boot sector.

svn path=/trunk/; revision=4580

21 years agoKeSetAffinityThread stub added (returns STATUS_SUCCESS and thus VMWare network driver...
Aleksey Bragin [Fri, 25 Apr 2003 18:37:44 +0000 (18:37 +0000)]
KeSetAffinityThread stub added (returns STATUS_SUCCESS and thus VMWare network driver won't crash ReactOS)

svn path=/trunk/; revision=4579

21 years agoKeSetAffinityThread added (uncommented in def files)
Aleksey Bragin [Fri, 25 Apr 2003 18:36:10 +0000 (18:36 +0000)]
KeSetAffinityThread added (uncommented in def files)

svn path=/trunk/; revision=4578

21 years ago- Fixed a rounding bug within the translation from float values to printable wstrings.
Hartmut Birr [Fri, 25 Apr 2003 17:49:07 +0000 (17:49 +0000)]
- Fixed a rounding bug within the translation from float values to printable wstrings.

svn path=/trunk/; revision=4577

21 years ago- Added memmove().
Eric Kohl [Fri, 25 Apr 2003 09:54:52 +0000 (09:54 +0000)]
- Added memmove().
- Added hardware hive export.

svn path=/trunk/; revision=4576

21 years ago- Added memmove().
Eric Kohl [Fri, 25 Apr 2003 09:45:17 +0000 (09:45 +0000)]
- Added memmove().
- Added hardware hive export.

svn path=/trunk/; revision=4575

21 years agoMoved _ftol to NTDLL
Gé van Geldorp [Thu, 24 Apr 2003 22:21:13 +0000 (22:21 +0000)]
Moved _ftol to NTDLL

svn path=/trunk/; revision=4574

21 years ago- Call KeBugCheckWithTf for not handled kernel mode exceptions in KiDispatchException.
Hartmut Birr [Thu, 24 Apr 2003 16:55:08 +0000 (16:55 +0000)]
- Call KeBugCheckWithTf for not handled kernel mode exceptions in KiDispatchException.

svn path=/trunk/; revision=4573

21 years ago- Implemented KeBugCheckWithTf like KeBugCheckEx.
Hartmut Birr [Thu, 24 Apr 2003 16:53:59 +0000 (16:53 +0000)]
- Implemented KeBugCheckWithTf like KeBugCheckEx.

svn path=/trunk/; revision=4572

21 years ago- Do not free the initial environment block, if the environment changed.
Hartmut Birr [Thu, 24 Apr 2003 16:34:26 +0000 (16:34 +0000)]
- Do not free the initial environment block, if the environment changed.

svn path=/trunk/; revision=4571

21 years ago- Fixed a rounding bug within the translation from float values to printable strings.
Hartmut Birr [Thu, 24 Apr 2003 16:28:57 +0000 (16:28 +0000)]
- Fixed a rounding bug within the translation from float values to printable strings.

svn path=/trunk/; revision=4570

21 years agoEnable hardware hive import.
Eric Kohl [Thu, 24 Apr 2003 12:28:57 +0000 (12:28 +0000)]
Enable hardware hive import.

svn path=/trunk/; revision=4569

21 years agoFix _ftol() and move it to NTDLL i386 subdir
Gé van Geldorp [Wed, 23 Apr 2003 22:58:02 +0000 (22:58 +0000)]
Fix _ftol() and move it to NTDLL i386 subdir

svn path=/trunk/; revision=4568

21 years agoTurned the FreeLoader debugger into a GUI app.
Brian Palmer [Wed, 23 Apr 2003 20:59:30 +0000 (20:59 +0000)]
Turned the FreeLoader debugger into a GUI app.
Basically just a terminal program that logs the RS232 data to a file.

svn path=/trunk/; revision=4567

21 years agoFixed returning an undefined value.
Eric Kohl [Wed, 23 Apr 2003 19:36:04 +0000 (19:36 +0000)]
Fixed returning an undefined value.

svn path=/trunk/; revision=4566

21 years agoChanges in v1.8.7 (4/22/2003) (brianp)
Brian Palmer [Wed, 23 Apr 2003 16:47:24 +0000 (16:47 +0000)]
Changes in v1.8.7 (4/22/2003) (brianp)

- Added a file system recognizer to get around problems where
  the partition id did not match the file system type.

svn path=/trunk/; revision=4565

21 years agoRemove gstart.exe from boot CD.
Eric Kohl [Wed, 23 Apr 2003 12:43:23 +0000 (12:43 +0000)]
Remove gstart.exe from boot CD.

svn path=/trunk/; revision=4563

21 years agoUse cdmake.exe to create reactos.iso file.
Eric Kohl [Wed, 23 Apr 2003 12:42:59 +0000 (12:42 +0000)]
Use cdmake.exe to create reactos.iso file.
Remove gstart.exe from boot CD.

svn path=/trunk/; revision=4562

21 years agoAdded checks for invalid block pointers.
Eric Kohl [Tue, 22 Apr 2003 21:14:39 +0000 (21:14 +0000)]
Added checks for invalid block pointers.
Update free cell list when three cells are merged.

svn path=/trunk/; revision=4561

21 years ago - string-type-generic getopt() (hacked together in half a hour - seems to work fine...
KJK::Hyperion [Tue, 22 Apr 2003 03:20:25 +0000 (03:20 +0000)]
 - string-type-generic getopt() (hacked together in half a hour - seems to work fine, though). Very simple - only implements the POSIX standard (no long options, etc.)
 - modified tlist to use getopt() to parse the command line, just for fun. Seems to work

svn path=/trunk/; revision=4560

21 years agoExclude dependency files from CVS operations
Gé van Geldorp [Sun, 20 Apr 2003 19:54:51 +0000 (19:54 +0000)]
Exclude dependency files from CVS operations

svn path=/trunk/; revision=4559

21 years agoImplemented _beginthreadex and _endthreadex
Gé van Geldorp [Sun, 20 Apr 2003 19:42:50 +0000 (19:42 +0000)]
Implemented _beginthreadex and _endthreadex

svn path=/trunk/; revision=4558

21 years agoSimple implementation of GetCPInfo
Gé van Geldorp [Sun, 20 Apr 2003 19:42:11 +0000 (19:42 +0000)]
Simple implementation of GetCPInfo

svn path=/trunk/; revision=4557

21 years agoFsRtl: More obsolete functions for handling Memory Control Blocks (MCB).
Emanuele Aliberti [Sun, 20 Apr 2003 17:59:18 +0000 (17:59 +0000)]
FsRtl: More obsolete functions for handling Memory Control Blocks (MCB).
It seems that, whit the release of WNT40, MCBs were replaced with LARGE_MCBs.

svn path=/trunk/; revision=4556

21 years agoFsRtl{Un}InitializeMcb() implemented (apparently obsolete).
Emanuele Aliberti [Sun, 20 Apr 2003 09:07:12 +0000 (09:07 +0000)]
FsRtl{Un}InitializeMcb() implemented (apparently obsolete).

svn path=/trunk/; revision=4555

21 years agoFsRtl:Memory Control Block updates (from ntifs.h by B.Branten)
Emanuele Aliberti [Sat, 19 Apr 2003 17:17:10 +0000 (17:17 +0000)]
FsRtl:Memory Control Block updates (from ntifs.h by B.Branten)

svn path=/trunk/; revision=4554

21 years agoFor binary compatibility, layout the fields in the TEB at exactly the
Gé van Geldorp [Fri, 18 Apr 2003 19:02:16 +0000 (19:02 +0000)]
For binary compatibility, layout the fields in the TEB at exactly the
same offsets as in WinNT.

svn path=/trunk/; revision=4553

21 years ago2003-04-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Fri, 18 Apr 2003 14:00:17 +0000 (14:00 +0000)]
2003-04-18  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* subsys/system/usetup/partlist.c (AddPartitionList): Create
unpartitioned areas.
(CreatePartitionListNoGUI): Save disk geometry.
(PrintDiskData): Do not print hidden partition list entries.
(ScrollDownPartitionList, ScrollUpPartitionList): Skip hidden partition
list entries.
(GetActiveBootPartition): Use CurrentDisk as index.
(CreateSelectedPartition): New function.
* subsys/system/usetup/partlist.h (PARTDATA): Add field NewPartSize.
(PARTENTRY): Add fields StartingOffset and HidePartEntry.
(DISKENTRY): Add fields Cylinders, TracksPerCylinder, SectorsPerTrack,
and BytesPerSector;
(CreateSelectedPartition): Add Prototype.
* subsys/system/usetup/usetup.c (PAGE_NUMBER): Add CREATE_PARTITION_PAGE
and FORMAT_PARTITION_PAGE
(CurrentPartitionList, CurrentFileSystemList): New globals.
(SelectPartitionPage): Set CurrentPartitionList.
(PARTITION_SIZE_INPUT_FIELD_LENGTH): Define as 6.
(DrawInputField, ShowPartitionSizeInputBox, CreatePartitionPage,
CreateFileSystemList, DestroyFileSystemList, DrawFileSystemList,
ScrollDownFileSystemList, ScrollUpFileSystemList, FormatPartitionPage):
New functions.
(SelectFileSystemPage): Draw partition screen.
(CheckFileSystemPage): Handle CREATE_PARTITION_PAGE and
FORMAT_PARTITION_PAGE.
* subsys/system/usetup/usetup.h (FILE_SYSTEM, FILE_SYSTEM_LIST): Add enums.

svn path=/trunk/; revision=4552

21 years agoPass CC on make command line so we won't have to change FreeType source
Gé van Geldorp [Fri, 18 Apr 2003 10:48:13 +0000 (10:48 +0000)]
Pass CC on make command line so we won't have to change FreeType source
files

svn path=/trunk/; revision=4551

21 years agoImport FreeType 2.1.4
Gé van Geldorp [Fri, 18 Apr 2003 10:44:19 +0000 (10:44 +0000)]
Import FreeType 2.1.4

svn path=/trunk/; revision=4550

21 years agoImplement duplication of NtCurrentThread() pseudo-handle
Gé van Geldorp [Fri, 18 Apr 2003 09:37:01 +0000 (09:37 +0000)]
Implement duplication of NtCurrentThread() pseudo-handle

svn path=/trunk/; revision=4549

21 years agoChange DPL in trap gate for INT 3 to 3, so INT 3 can be used from user mode
Gé van Geldorp [Fri, 18 Apr 2003 09:09:56 +0000 (09:09 +0000)]
Change DPL in trap gate for INT 3 to 3, so INT 3 can be used from user mode

svn path=/trunk/; revision=4548

21 years agoFix GetVersion
Gé van Geldorp [Fri, 18 Apr 2003 08:29:35 +0000 (08:29 +0000)]
Fix GetVersion

svn path=/trunk/; revision=4547

21 years agoPrint debug message if DllMain of a loaded DLL fails
Gé van Geldorp [Fri, 18 Apr 2003 08:28:31 +0000 (08:28 +0000)]
Print debug message if DllMain of a loaded DLL fails

svn path=/trunk/; revision=4546

21 years agoHave GetACP() return something sensible
Gé van Geldorp [Fri, 18 Apr 2003 08:26:50 +0000 (08:26 +0000)]
Have GetACP() return something sensible

svn path=/trunk/; revision=4545

21 years agoCreate hardware keys only if hardware hive was not imported.
Eric Kohl [Thu, 17 Apr 2003 11:07:47 +0000 (11:07 +0000)]
Create hardware keys only if hardware hive was not imported.

svn path=/trunk/; revision=4544

21 years ago2003-04-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Thu, 17 Apr 2003 10:41:02 +0000 (10:41 +0000)]
2003-04-17  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* tools/mkhive/infcache.c (InfpCacheFindSection, InfpCacheFindKeyLine,
InfFindFirstLine, InfFindFirstMatchLine, InfFindNextMatchLine,
InfGetLineCount): Change call to stricmp() to strcasecmp().
* tools/mkhive/reginf.c (GetRootKey): Ditto.
* tools/mkhive/registry.c (RegSetValue, RegQueryValue): Ditto.

svn path=/trunk/; revision=4543

21 years ago- remove gstart.exe
Eric Kohl [Wed, 16 Apr 2003 15:08:55 +0000 (15:08 +0000)]
- remove gstart.exe
- call mkhive.exe
- load system instead of system.hiv

svn path=/trunk/; revision=4542

21 years agoFinished mkhive.
Eric Kohl [Wed, 16 Apr 2003 15:06:33 +0000 (15:06 +0000)]
Finished mkhive.

svn path=/trunk/; revision=4541

21 years agoFixed the EXT2/3 boot sector code so that it only uses the boot drive in the boot...
Brian Palmer [Tue, 15 Apr 2003 22:48:06 +0000 (22:48 +0000)]
Fixed the EXT2/3 boot sector code so that it only uses the boot drive in the boot sector if it exists (i.e. not 0xff)
Otherwise it uses the boot drive passed in the DL register.
Updated the EXT2/3 installer to reflect the changes in the boot sector code for EXT2/3.

svn path=/trunk/; revision=4540

21 years agoChanges in v1.8.6 (4/14/2003) (brianp)
Brian Palmer [Tue, 15 Apr 2003 02:15:54 +0000 (02:15 +0000)]
Changes in v1.8.6 (4/14/2003) (brianp)

- Fixed a bug in fathelp.asm where is wasn't adding the hidden sector
  count before performing a subtraction.

svn path=/trunk/; revision=4539

21 years agoAdd hive maker. It does not export binary hives yet.
Eric Kohl [Mon, 14 Apr 2003 17:19:42 +0000 (17:19 +0000)]
Add hive maker. It does not export binary hives yet.

svn path=/trunk/; revision=4538

21 years agoDisabled packet.sys driver.
Eric Kohl [Mon, 14 Apr 2003 15:41:30 +0000 (15:41 +0000)]
Disabled packet.sys driver.

svn path=/trunk/; revision=4537

21 years agosorry, forgot to exclude auto-generated files from dependency tracking
KJK::Hyperion [Mon, 14 Apr 2003 12:14:50 +0000 (12:14 +0000)]
sorry, forgot to exclude auto-generated files from dependency tracking

svn path=/trunk/; revision=4536

21 years ago - fixed definition of IO_COUNTERS structure to make it binary compatible with Window...
KJK::Hyperion [Mon, 14 Apr 2003 01:19:08 +0000 (01:19 +0000)]
 - fixed definition of IO_COUNTERS structure to make it binary compatible with Windows (and make EPSAPI enumerate threads correctly on Windows)
 - cleaned up some makefiles, added dependency tracking
 - tlist now uses EPSAPI, and, incidentally, a bug has also been fixed

svn path=/trunk/; revision=4535

21 years ago2003-04-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sun, 13 Apr 2003 17:38:27 +0000 (17:38 +0000)]
2003-04-13  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* ntoskrnl/kd/gdbstub.c (KdEnterDebuggerException): Fix signed/unsigned
comparison warning.
* ntoskrnl/ke/i386/exp.c (KiKernelTrapHandler): Ditto.
* ntoskrnl/ke/i386/usertrap.c (KiUserTrapHandler): Ditto.
* tools/helper.mk: Do not install static libraries.

svn path=/trunk/; revision=4533

21 years ago2003-04-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sun, 13 Apr 2003 13:05:04 +0000 (13:05 +0000)]
2003-04-13  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* tools/Makefile: Fix rule for mkflpimg.

svn path=/trunk/; revision=4532

21 years agoadded tool to create floppy disk images
guido [Sun, 13 Apr 2003 12:51:28 +0000 (12:51 +0000)]
added tool to create floppy disk images

svn path=/trunk/; revision=4531

21 years agoAdded simple utility to read the FreeLoader debug output
Brian Palmer [Sun, 13 Apr 2003 04:14:20 +0000 (04:14 +0000)]
Added simple utility to read the FreeLoader debug output
from the serial port and display it on the console.
Someday I will turn this into a GUI app.

svn path=/trunk/; revision=4530

21 years ago - corrected typo in epsapi.h
KJK::Hyperion [Sun, 13 Apr 2003 03:57:41 +0000 (03:57 +0000)]
 - corrected typo in epsapi.h
 - CTM: cleaned up to use EPSAPI and the ReactOS DDK

svn path=/trunk/; revision=4529

21 years ago - the build system now handles static libraries 0.5% better
KJK::Hyperion [Sun, 13 Apr 2003 03:24:28 +0000 (03:24 +0000)]
 - the build system now handles static libraries 0.5% better
 - cabman: brand new makefile - uses TARGET_* macros, the build helper, and the zlib library properly
 - fmifs: static libraries (.a archives) are built directly into the dk/w32/lib directory, instead of their base directory, so the makefile has been fixed
 - psapi: split into PSAPI.dll and EPSAPI (Extended PSAPI), renamed some files, new header
 - zlib: cleaned up makefile from unnecessary hacks

svn path=/trunk/; revision=4528

21 years agoimplemeted waiting on file handles/file objects
Gunnar Dalsnes [Sat, 12 Apr 2003 20:34:27 +0000 (20:34 +0000)]
implemeted waiting on file handles/file objects

svn path=/trunk/; revision=4527

21 years agoFinal preparations for hardware hive import.
Eric Kohl [Sat, 12 Apr 2003 18:41:43 +0000 (18:41 +0000)]
Final preparations for hardware hive import.

svn path=/trunk/; revision=4526

21 years ago* Removed CmiLockBlock() and CmiReleaseBlock().
Eric Kohl [Sat, 12 Apr 2003 15:09:57 +0000 (15:09 +0000)]
* Removed CmiLockBlock() and CmiReleaseBlock().
* Added new hive flags to distinguish between volatile/non-volatile and pointer/offset hives.

svn path=/trunk/; revision=4525

21 years ago2003-04-12 Casper S. Hornstrup <chorns@users.sourceforge.net>
Casper Hornstrup [Sat, 12 Apr 2003 14:53:56 +0000 (14:53 +0000)]
2003-04-12  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* tools/cdmake/Makefile: Use HOST_CC.
* tools/cdmake/cdmake.c (MAX_PATH, DIR_SEPARATOR_CHAR,
DIR_SEPARATOR_STRING): Define.
(directory_record): Add fields name_on_cd and extension_on_cd.
(error_exit): Make a macro. Avoid using vfprintf and fprintf.
(write_directory_record, new_directory_record, compare_directory_order,
pass): Use name_on_cd and extension_on_cd.
(make_directory_records, get_file_specifications): Use DIR_SEPARATOR_CHAR.
(new_directory_record, make_directory_records): Linux implementations.
(main): Use DIR_SEPARATOR_CHAR.

svn path=/trunk/; revision=4524

21 years agoMoved a local declaration to the top of the funtion, where it has to be to compile
Phillip Susi [Fri, 11 Apr 2003 21:02:21 +0000 (21:02 +0000)]
Moved a local declaration to the top of the funtion, where it has to be to compile

svn path=/trunk/; revision=4523

21 years agoThe GDB KD stub now correctly references/dereferences ETHREAD objects
KJK::Hyperion [Fri, 11 Apr 2003 02:25:24 +0000 (02:25 +0000)]
The GDB KD stub now correctly references/dereferences ETHREAD objects

svn path=/trunk/; revision=4522

21 years ago - PsLookup* functions fixed to increment the reference count of the object they...
KJK::Hyperion [Thu, 10 Apr 2003 23:14:47 +0000 (23:14 +0000)]
 - PsLookup* functions fixed to increment the reference count of the object they are about to return. The GDB KD stub is directly affected by this patch, but it hasn't been fixed yet
 - PsGetCurrentProcess and PsGetCurrentThread are now macros calling IoGetCurrentProcess and KeGetCurrentThread, for binary compatibility with Windows

svn path=/trunk/; revision=4521

21 years agoFix named resource handling and LoadString by d_layer
Gé van Geldorp [Thu, 10 Apr 2003 19:12:15 +0000 (19:12 +0000)]
Fix named resource handling and LoadString by d_layer

svn path=/trunk/; revision=4520

21 years agoRemove system.hiv from Boot-CD.
Eric Kohl [Thu, 10 Apr 2003 18:55:27 +0000 (18:55 +0000)]
Remove system.hiv from Boot-CD.

svn path=/trunk/; revision=4519

21 years agoAdded support for binary system hive.
Eric Kohl [Thu, 10 Apr 2003 18:51:22 +0000 (18:51 +0000)]
Added support for binary system hive.

svn path=/trunk/; revision=4518

21 years agoAdded support for binary system hive.
Eric Kohl [Thu, 10 Apr 2003 18:43:14 +0000 (18:43 +0000)]
Added support for binary system hive.

svn path=/trunk/; revision=4517

21 years agoDo not add empty bins to a binry hive.
Eric Kohl [Thu, 10 Apr 2003 17:49:55 +0000 (17:49 +0000)]
Do not add empty bins to a binry hive.

svn path=/trunk/; revision=4516

21 years agoNew ctm version, supports killing of process, some bugfixes, increased speed of scrol...
Aleksey Bragin [Wed, 9 Apr 2003 16:31:28 +0000 (16:31 +0000)]
New ctm version, supports killing of process, some bugfixes, increased speed of scrolling. My first ReactOS commit via CVS :)

svn path=/trunk/; revision=4515

21 years agoImprove (hardware) exception handling and reporting
Gé van Geldorp [Mon, 7 Apr 2003 23:10:08 +0000 (23:10 +0000)]
Improve (hardware) exception handling and reporting

svn path=/trunk/; revision=4514