Commit graph

4443 commits

Author SHA1 Message Date
Eric Kohl a2ba772d42 Added checks for invalid block pointers.
Update free cell list when three cells are merged.

svn path=/trunk/; revision=4561
2003-04-22 21:14:39 +00:00
KJK::Hyperion c1ce9a4b84 - 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
2003-04-22 03:20:25 +00:00
Gé van Geldorp aac3b7cd7b Exclude dependency files from CVS operations
svn path=/trunk/; revision=4559
2003-04-20 19:54:51 +00:00
Gé van Geldorp 0f4fba969a Implemented _beginthreadex and _endthreadex
svn path=/trunk/; revision=4558
2003-04-20 19:42:50 +00:00
Gé van Geldorp 628cc3fad9 Simple implementation of GetCPInfo
svn path=/trunk/; revision=4557
2003-04-20 19:42:11 +00:00
Emanuele Aliberti 728ac0f0b5 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
2003-04-20 17:59:18 +00:00
Emanuele Aliberti 638d0bd31a FsRtl{Un}InitializeMcb() implemented (apparently obsolete).
svn path=/trunk/; revision=4555
2003-04-20 09:07:12 +00:00
Emanuele Aliberti e47c7dd876 FsRtl:Memory Control Block updates (from ntifs.h by B.Branten)
svn path=/trunk/; revision=4554
2003-04-19 17:17:10 +00:00
Gé van Geldorp ee030d79d9 For binary compatibility, layout the fields in the TEB at exactly the
same offsets as in WinNT.

svn path=/trunk/; revision=4553
2003-04-18 19:02:16 +00:00
Casper Hornstrup 569a7a02b6 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
2003-04-18 14:00:17 +00:00
Gé van Geldorp 9acdb61c4b Pass CC on make command line so we won't have to change FreeType source
files

svn path=/trunk/; revision=4551
2003-04-18 10:48:13 +00:00
Gé van Geldorp 3ac978f542 Import FreeType 2.1.4
svn path=/trunk/; revision=4550
2003-04-18 10:44:19 +00:00
Gé van Geldorp 296d8bc63f Implement duplication of NtCurrentThread() pseudo-handle
svn path=/trunk/; revision=4549
2003-04-18 09:37:01 +00:00
Gé van Geldorp 63401fccd2 Change DPL in trap gate for INT 3 to 3, so INT 3 can be used from user mode
svn path=/trunk/; revision=4548
2003-04-18 09:09:56 +00:00
Gé van Geldorp ff17fbcf89 Fix GetVersion
svn path=/trunk/; revision=4547
2003-04-18 08:29:35 +00:00
Gé van Geldorp bbe715ec28 Print debug message if DllMain of a loaded DLL fails
svn path=/trunk/; revision=4546
2003-04-18 08:28:31 +00:00
Gé van Geldorp 857a0fc520 Have GetACP() return something sensible
svn path=/trunk/; revision=4545
2003-04-18 08:26:50 +00:00
Eric Kohl 70ce973518 Create hardware keys only if hardware hive was not imported.
svn path=/trunk/; revision=4544
2003-04-17 11:07:47 +00:00
Casper Hornstrup ac3799c79c 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
2003-04-17 10:41:02 +00:00
Eric Kohl f284e3a41c - remove gstart.exe
- call mkhive.exe
- load system instead of system.hiv

svn path=/trunk/; revision=4542
2003-04-16 15:08:55 +00:00
Eric Kohl 8b6b2e1d5b Finished mkhive.
svn path=/trunk/; revision=4541
2003-04-16 15:06:33 +00:00
Brian Palmer 273b6dd69f 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
2003-04-15 22:48:06 +00:00
Brian Palmer b4d0aca25a 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
2003-04-15 02:15:54 +00:00
Eric Kohl 1a884ce84d Add hive maker. It does not export binary hives yet.
svn path=/trunk/; revision=4538
2003-04-14 17:19:42 +00:00
Eric Kohl be94ceb3d5 Disabled packet.sys driver.
svn path=/trunk/; revision=4537
2003-04-14 15:41:30 +00:00
KJK::Hyperion 6225a118af sorry, forgot to exclude auto-generated files from dependency tracking
svn path=/trunk/; revision=4536
2003-04-14 12:14:50 +00:00
KJK::Hyperion 1bd4ae1455 - 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
2003-04-14 01:19:08 +00:00
Casper Hornstrup e7940ebdad 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
2003-04-13 17:38:27 +00:00
Casper Hornstrup c64cac2688 2003-04-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/Makefile: Fix rule for mkflpimg.

svn path=/trunk/; revision=4532
2003-04-13 13:05:04 +00:00
guido ca2e0585ff added tool to create floppy disk images
svn path=/trunk/; revision=4531
2003-04-13 12:51:28 +00:00
Brian Palmer b4581c2c95 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
2003-04-13 04:14:20 +00:00
KJK::Hyperion 336f8e82c1 - corrected typo in epsapi.h
- CTM: cleaned up to use EPSAPI and the ReactOS DDK

svn path=/trunk/; revision=4529
2003-04-13 03:57:41 +00:00
KJK::Hyperion 1b1afc9539 - 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
2003-04-13 03:24:28 +00:00
Gunnar Dalsnes 0871ebf88b implemeted waiting on file handles/file objects
svn path=/trunk/; revision=4527
2003-04-12 20:34:27 +00:00
Eric Kohl 7b5e0bebdf Final preparations for hardware hive import.
svn path=/trunk/; revision=4526
2003-04-12 18:41:43 +00:00
Eric Kohl 4aa19f2392 * Removed CmiLockBlock() and CmiReleaseBlock().
* Added new hive flags to distinguish between volatile/non-volatile and pointer/offset hives.

svn path=/trunk/; revision=4525
2003-04-12 15:09:57 +00:00
Casper Hornstrup 01aebbdd9d 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
2003-04-12 14:53:56 +00:00
Phillip Susi 03cba78fff Moved a local declaration to the top of the funtion, where it has to be to compile
svn path=/trunk/; revision=4523
2003-04-11 21:02:21 +00:00
KJK::Hyperion 22f750cd54 The GDB KD stub now correctly references/dereferences ETHREAD objects
svn path=/trunk/; revision=4522
2003-04-11 02:25:24 +00:00
KJK::Hyperion 5c6df46d27 - 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
2003-04-10 23:14:47 +00:00
Gé van Geldorp 71c3c7c1cc Fix named resource handling and LoadString by d_layer
svn path=/trunk/; revision=4520
2003-04-10 19:12:15 +00:00
Eric Kohl 68962b6249 Remove system.hiv from Boot-CD.
svn path=/trunk/; revision=4519
2003-04-10 18:55:27 +00:00
Eric Kohl c26ce9f93b Added support for binary system hive.
svn path=/trunk/; revision=4518
2003-04-10 18:51:22 +00:00
Eric Kohl 55a31c6b98 Added support for binary system hive.
svn path=/trunk/; revision=4517
2003-04-10 18:43:14 +00:00
Eric Kohl ceb7d45424 Do not add empty bins to a binry hive.
svn path=/trunk/; revision=4516
2003-04-10 17:49:55 +00:00
Aleksey Bragin 294c3bcf94 New ctm version, supports killing of process, some bugfixes, increased speed of scrolling. My first ReactOS commit via CVS :)
svn path=/trunk/; revision=4515
2003-04-09 16:31:28 +00:00
Gé van Geldorp 2602dec603 Improve (hardware) exception handling and reporting
svn path=/trunk/; revision=4514
2003-04-07 23:10:08 +00:00
Eric Kohl e81de9962d Added new tool 'cdmake'.
svn path=/trunk/; revision=4513
2003-04-07 18:16:58 +00:00
Eric Kohl 4aa447d8d2 Added missing boot signature.
svn path=/trunk/; revision=4512
2003-04-06 20:01:09 +00:00
Gé van Geldorp abbc08ce15 Moved MSVCRT setjmp.o
svn path=/trunk/; revision=4511
2003-04-06 13:10:21 +00:00