reactos.git
20 years agoAdded some stubs in order to
Robert Kopferl [Wed, 4 Sep 2002 22:19:47 +0000 (22:19 +0000)]
Added some stubs in order to
implement them some time

svn path=/trunk/; revision=3459

20 years agoCheck for a busy device in AtapiInterrupt().
Eric Kohl [Wed, 4 Sep 2002 21:33:26 +0000 (21:33 +0000)]
Check for a busy device in AtapiInterrupt().

svn path=/trunk/; revision=3458

20 years agoAdded missing file.
David Welch [Wed, 4 Sep 2002 18:09:31 +0000 (18:09 +0000)]
Added missing file.

svn path=/trunk/; revision=3457

20 years agoAdded code to identify the cdrom drive when ReactOS is booted from a CD because the...
Eric Kohl [Wed, 4 Sep 2002 13:58:56 +0000 (13:58 +0000)]
Added code to identify the cdrom drive when ReactOS is booted from a CD because the bios does not provide any usable information.
The Boot-CD must be labeled 'REACTOS'.

svn path=/trunk/; revision=3456

20 years agoImplemented part of window properties support
David Welch [Tue, 3 Sep 2002 22:44:21 +0000 (22:44 +0000)]
Implemented part of window properties support
Convert WM_GETTEXT messages when sending between windows
Added Steven's bitmaps to the user32 resources
Fixed some bugs when creating a DIB
Implemented LoadBitmap

svn path=/trunk/; revision=3455

20 years agoDon't try to build modules that won't build.
Casper Hornstrup [Tue, 3 Sep 2002 18:44:19 +0000 (18:44 +0000)]
Don't try to build modules that won't build.
Support latest MinGW releases.
Support building on linux.

svn path=/trunk/; revision=3454

20 years agoAdded binary resources from Wine for user32.
Steven Edwards [Mon, 2 Sep 2002 23:35:00 +0000 (23:35 +0000)]
Added binary resources from Wine for user32.
To be replaced latter by wrc format

svn path=/trunk/; revision=3453

20 years agoFixed another stub for the WINE dlls.
Steven Edwards [Mon, 2 Sep 2002 20:30:25 +0000 (20:30 +0000)]
Fixed another stub for the WINE dlls.

svn path=/trunk/; revision=3452

20 years agoFix export to get WineMine to load.
Steven Edwards [Mon, 2 Sep 2002 18:48:32 +0000 (18:48 +0000)]
Fix export to get WineMine to load.

svn path=/trunk/; revision=3451

20 years agoDon't reinitialize the VGA on an enable surface if it is already initialized
David Welch [Sun, 1 Sep 2002 20:39:56 +0000 (20:39 +0000)]
Don't reinitialize the VGA on an enable surface if it is already initialized
Implemented patblt and rectangle fill
Offset drawing by the origin of the DC
Other GUI fixes

svn path=/trunk/; revision=3450

20 years agoAdded some exports.
Robert Dickenson [Sun, 1 Sep 2002 04:27:51 +0000 (04:27 +0000)]
Added some exports.

svn path=/trunk/; revision=3449

20 years agoSeem to have missed updating these previously....
Robert Dickenson [Sun, 1 Sep 2002 04:17:05 +0000 (04:17 +0000)]
Seem to have missed updating these previously....

svn path=/trunk/; revision=3448

20 years agoNon-client painting fixes.
David Welch [Sat, 31 Aug 2002 23:18:47 +0000 (23:18 +0000)]
Non-client painting fixes.

svn path=/trunk/; revision=3447

20 years agoDefined missing virtual memory query/set information types
KJK::Hyperion [Sat, 31 Aug 2002 18:33:21 +0000 (18:33 +0000)]
Defined missing virtual memory query/set information types

svn path=/trunk/; revision=3446

20 years agoBuild FREELDR.SYS and SETUPLDR.SYS in a single make run.
Eric Kohl [Sat, 31 Aug 2002 18:09:31 +0000 (18:09 +0000)]
Build FREELDR.SYS and SETUPLDR.SYS in a single make run.
Fixed build process for SETUPLDR.SYS.

svn path=/trunk/; revision=3445

20 years agoAdded a workaround for broken BIOSes.
Eric Kohl [Sat, 31 Aug 2002 18:00:25 +0000 (18:00 +0000)]
Added a workaround for broken BIOSes.
Load SETUPLDR.SYS instead of FREELDR.SYS.
Disabled waiting for key.

svn path=/trunk/; revision=3444

20 years agoPSAPI (re)licensed under LGPL to be shared with WinE, as per Steven's request. Interf...
KJK::Hyperion [Sat, 31 Aug 2002 17:11:24 +0000 (17:11 +0000)]
PSAPI (re)licensed under LGPL to be shared with WinE, as per Steven's request. Interfaces (headers and import library definitions) and trivial sources put in the public domain

svn path=/trunk/; revision=3443

20 years agoLGPL 2.1
KJK::Hyperion [Sat, 31 Aug 2002 17:07:30 +0000 (17:07 +0000)]
LGPL 2.1

svn path=/trunk/; revision=3442

20 years agoPSAPI: all the annoying stuff (enumeration and search, basically) has been taken...
KJK::Hyperion [Sat, 31 Aug 2002 15:36:56 +0000 (15:36 +0000)]
PSAPI: all the annoying stuff (enumeration and search, basically) has been taken care of. Only profiling remains to be implemented.
Check out the subsystem-independent routines in enum/ (FWIW: the whole DLL only imports two calls from kernel32.dll, SetLastError and AreFileApisANSI): they've been tested, and they could make for a great static library, to implement task manager, tlist, ToolHelp API, etc. Maybe a future addition to mingwnt?

svn path=/trunk/; revision=3441

20 years agoImplemented GetAncestor and IsWindowVisible
David Welch [Fri, 30 Aug 2002 02:47:37 +0000 (02:47 +0000)]
Implemented GetAncestor and IsWindowVisible
Save and restore the trap frame around exceptions
Allow nested w32 callbacks

svn path=/trunk/; revision=3440

20 years agoPSAPI almost finished
KJK::Hyperion [Thu, 29 Aug 2002 23:57:54 +0000 (23:57 +0000)]
PSAPI almost finished

svn path=/trunk/; revision=3439

20 years agoFixed when changing the attributes of an area larger than the mapped area.
David Welch [Thu, 29 Aug 2002 22:12:16 +0000 (22:12 +0000)]
Fixed when changing the attributes of an area larger than the mapped area.
Unprotect pages before applying relocations
Create a module entry before fixing up imports to support recursive
dependencies
Added missing symbol to user32

svn path=/trunk/; revision=3438

20 years agoAdded start of utility application zoomin.
Robert Dickenson [Thu, 29 Aug 2002 20:28:13 +0000 (20:28 +0000)]
Added start of utility application zoomin.

svn path=/trunk/; revision=3437

20 years agoAdded command line handling from wine regedit, removed stdafx rubbish.
Robert Dickenson [Thu, 29 Aug 2002 18:42:38 +0000 (18:42 +0000)]
Added command line handling from wine regedit, removed stdafx rubbish.
Builds cleanly and executes but no run-time testing as yet - beware.

svn path=/trunk/; revision=3436

20 years agoCorrected source paths for Event Log service and RPC subsystem
KJK::Hyperion [Wed, 28 Aug 2002 23:13:08 +0000 (23:13 +0000)]
Corrected source paths for Event Log service and RPC subsystem

svn path=/trunk/; revision=3435

20 years ago*** empty log message ***
Robert Kopferl [Wed, 28 Aug 2002 22:31:56 +0000 (22:31 +0000)]
*** empty log message ***

svn path=/trunk/; revision=3434

20 years agoA few new definitions related to windowing
Jason Filby [Wed, 28 Aug 2002 22:03:44 +0000 (22:03 +0000)]
A few new definitions related to windowing

svn path=/trunk/; revision=3433

20 years agoInitial nonclient code
Jason Filby [Wed, 28 Aug 2002 21:58:00 +0000 (21:58 +0000)]
Initial nonclient code

svn path=/trunk/; revision=3432

20 years agoReplaced 'jmp $+3' with 'jmp label'.
Hartmut Birr [Wed, 28 Aug 2002 20:53:20 +0000 (20:53 +0000)]
Replaced 'jmp $+3' with 'jmp label'.

svn path=/trunk/; revision=3431

20 years agoadded a preliminary WideCharToMultyByte(). This impl. only cuts of the upper 9 Bit...
Robert Kopferl [Wed, 28 Aug 2002 19:31:09 +0000 (19:31 +0000)]
added a preliminary WideCharToMultyByte(). This impl. only cuts of the upper 9 Bit and makes no use of NLS - its a Hack

svn path=/trunk/; revision=3430

20 years agoRespond to WM_MEASUREITEM with the font height.
Robert Dickenson [Wed, 28 Aug 2002 19:01:49 +0000 (19:01 +0000)]
Respond to WM_MEASUREITEM with the font height.

svn path=/trunk/; revision=3429

20 years agoAdded detection of PCI Bus Master Controllers.
Eric Kohl [Wed, 28 Aug 2002 18:36:18 +0000 (18:36 +0000)]
Added detection of PCI Bus Master Controllers.

svn path=/trunk/; revision=3428

20 years agoadded some CP_ definitions
Robert Kopferl [Wed, 28 Aug 2002 17:52:00 +0000 (17:52 +0000)]
added some CP_ definitions

svn path=/trunk/; revision=3427

20 years agoadded CodePage symbols inside a #if 0
Robert Kopferl [Wed, 28 Aug 2002 17:47:09 +0000 (17:47 +0000)]
added  CodePage symbols inside a #if 0

svn path=/trunk/; revision=3426

20 years ago*** empty log message ***
Hartmut Birr [Wed, 28 Aug 2002 07:32:39 +0000 (07:32 +0000)]
*** empty log message ***

svn path=/trunk/; revision=3425

20 years agoChanged parameters for IoPageRead/IoPageWrite/IoSynchronousPageWrite.
Hartmut Birr [Wed, 28 Aug 2002 07:19:10 +0000 (07:19 +0000)]
Changed parameters for IoPageRead/IoPageWrite/IoSynchronousPageWrite.
Removed referencing of the event/file object.

svn path=/trunk/; revision=3424

20 years agoRemoved dereferencing of the event/file object for paging IO.
Hartmut Birr [Wed, 28 Aug 2002 07:17:22 +0000 (07:17 +0000)]
Removed dereferencing of the event/file object for paging IO.

svn path=/trunk/; revision=3423

20 years agoAdded/enabled IoAcquireRemoveLockEx, IoInitializeRemoveLockEx, IoPageRead,
Hartmut Birr [Wed, 28 Aug 2002 07:15:14 +0000 (07:15 +0000)]
Added/enabled IoAcquireRemoveLockEx, IoInitializeRemoveLockEx, IoPageRead,
IoReleaseRemoveLockAndWaitEx, IoReleaseRemoveLockEx.

svn path=/trunk/; revision=3422

20 years agoMoved IoPageRead from io.h to iofuncs.h.
Hartmut Birr [Wed, 28 Aug 2002 07:13:04 +0000 (07:13 +0000)]
Moved IoPageRead from io.h to iofuncs.h.
Changed parameters for IoPageRead/IoPageWrite/IoSynchronousPageWrite.
Fixed the length calculation in CcZeroData.

svn path=/trunk/; revision=3421

20 years agoChanged the parameters for InterlockedCompareExchange.
Hartmut Birr [Wed, 28 Aug 2002 07:08:26 +0000 (07:08 +0000)]
Changed the parameters for InterlockedCompareExchange.

svn path=/trunk/; revision=3420

20 years agoSet the allocation size in IoCreateFile.
Hartmut Birr [Wed, 28 Aug 2002 07:05:14 +0000 (07:05 +0000)]
Set the allocation size in IoCreateFile.

svn path=/trunk/; revision=3419

20 years agoAdded memcpy/memset with inline assembler implementation for target i386.
Hartmut Birr [Wed, 28 Aug 2002 07:03:10 +0000 (07:03 +0000)]
Added memcpy/memset with inline assembler implementation for target i386.

svn path=/trunk/; revision=3418

20 years agoFix for disk error while Loading FreeLoader... discovered by Dave Albert
Brian Palmer [Wed, 28 Aug 2002 04:46:17 +0000 (04:46 +0000)]
Fix for disk error while Loading FreeLoader... discovered by Dave Albert
In ReadSectorsCHS it was pop'ing values off the stack that hadn't been push'ed

svn path=/trunk/; revision=3417

20 years agoupdate .cvsignore
Steven Edwards [Wed, 28 Aug 2002 00:03:29 +0000 (00:03 +0000)]
update .cvsignore

svn path=/trunk/; revision=3416

20 years agoadd .cvsignore
Steven Edwards [Wed, 28 Aug 2002 00:03:09 +0000 (00:03 +0000)]
add .cvsignore

svn path=/trunk/; revision=3415

20 years agocopy gstart.exe to C:\reactos\system32
Steven Edwards [Tue, 27 Aug 2002 23:59:17 +0000 (23:59 +0000)]
copy gstart.exe to C:\reactos\system32

svn path=/trunk/; revision=3414

20 years agoMore painting fixes.
David Welch [Tue, 27 Aug 2002 23:32:21 +0000 (23:32 +0000)]
More painting fixes.

svn path=/trunk/; revision=3413

20 years agoMisc. painting fixes.
David Welch [Tue, 27 Aug 2002 23:29:40 +0000 (23:29 +0000)]
Misc. painting fixes.

svn path=/trunk/; revision=3412

20 years agoMinor fix
Jason Filby [Tue, 27 Aug 2002 21:20:45 +0000 (21:20 +0000)]
Minor fix

svn path=/trunk/; revision=3411

20 years agoBeginPaint and EndPaint now functional
Jason Filby [Tue, 27 Aug 2002 20:32:03 +0000 (20:32 +0000)]
BeginPaint and EndPaint now functional

svn path=/trunk/; revision=3410

20 years agoCreated new module for library IPRTPRIO.DLL
Robert Dickenson [Tue, 27 Aug 2002 13:22:30 +0000 (13:22 +0000)]
Created new module for library IPRTPRIO.DLL

svn path=/trunk/; revision=3409

20 years agoRepleaced wcsicmp with _wcsicmp in ScLookupServiceByServiceName.
Hartmut Birr [Tue, 27 Aug 2002 06:41:58 +0000 (06:41 +0000)]
Repleaced wcsicmp with _wcsicmp in ScLookupServiceByServiceName.
wcsicmp is imported from msvcrt.dll and _wcsicmp from ntdll.dll.

svn path=/trunk/; revision=3408

20 years agoAdded required support for WinHelp exports in user32.lib
Robert Dickenson [Tue, 27 Aug 2002 06:41:33 +0000 (06:41 +0000)]
Added required support for WinHelp exports in user32.lib

svn path=/trunk/; revision=3407

20 years agoUsing ReadCacheSegment for reading a cache segment in MiReadPage.
Hartmut Birr [Tue, 27 Aug 2002 06:40:32 +0000 (06:40 +0000)]
Using ReadCacheSegment for reading a cache segment in MiReadPage.
Fixed the attribute in a call to MmCreateVirtualMapping in MmNotPresentFaultSectionView.
Removed a wrong call to MmUnlockAddressSpace in MmUnmapViewOfSection.

svn path=/trunk/; revision=3406

20 years agoAdded entry points for WinHelpA and WinHelpW exports.
Robert Dickenson [Tue, 27 Aug 2002 06:40:15 +0000 (06:40 +0000)]
Added entry points for WinHelpA and WinHelpW exports.

svn path=/trunk/; revision=3405

20 years agoChanged from CreateFileW for opening a directory to the new
Hartmut Birr [Tue, 27 Aug 2002 06:38:23 +0000 (06:38 +0000)]
Changed from CreateFileW for opening a directory to the new
function InternalOpenDirectoryW. InternalOpenDirectory uses
NtCreateFile instead of CreateFileW.

svn path=/trunk/; revision=3404

20 years agoAdded testing for a valid proccess pointer in
Hartmut Birr [Tue, 27 Aug 2002 06:36:32 +0000 (06:36 +0000)]
Added testing for a valid proccess pointer in
MmWritePagePhysicalAddress/MmPageOutPhysicalAddress.
Moved the call to ObDereferenceObject to the end in
MmWritePagePhysicalAddress/MmPageOutPhysicalAddress.

svn path=/trunk/; revision=3403

20 years agoAdded CloseInProcess to the structure OBJECT_HEADER.
Hartmut Birr [Tue, 27 Aug 2002 06:34:22 +0000 (06:34 +0000)]
Added CloseInProcess to the structure OBJECT_HEADER.
Check for close operation in ObReferenceObjectByPointer,
ObpPerformRetentionChecks, ObfReferenceObject.

svn path=/trunk/; revision=3402

20 years agoFixed the calculation of the ActiveCount member from structure ERESOURCE.
Hartmut Birr [Tue, 27 Aug 2002 06:31:55 +0000 (06:31 +0000)]
Fixed the calculation of the ActiveCount member from structure ERESOURCE.

svn path=/trunk/; revision=3401

20 years agoCreated new application template dialog for testing and demonstration.
Robert Dickenson [Tue, 27 Aug 2002 00:53:34 +0000 (00:53 +0000)]
Created new application template dialog for testing and demonstration.

svn path=/trunk/; revision=3400

20 years agoAdded missing prototype.
David Welch [Mon, 26 Aug 2002 23:22:53 +0000 (23:22 +0000)]
Added missing prototype.

svn path=/trunk/; revision=3399

20 years agoFixes for painting.
David Welch [Mon, 26 Aug 2002 23:20:54 +0000 (23:20 +0000)]
Fixes for painting.

svn path=/trunk/; revision=3398

20 years agoInitialized Peb->WindowFlags (instead of Flags) with dwFlags in CreateWindowW.
Hartmut Birr [Mon, 26 Aug 2002 22:07:01 +0000 (22:07 +0000)]
Initialized Peb->WindowFlags (instead of Flags) with dwFlags in CreateWindowW.

svn path=/trunk/; revision=3397

20 years ago2002-08-26 David Welch <welch@computer2.darkstar.org>
David Welch [Mon, 26 Aug 2002 13:06:03 +0000 (13:06 +0000)]
2002-08-26  David Welch  <welch@computer2.darkstar.org>

* lib/gdi32/misc/dllmain.c (GdiDllInitialize): Don't initialize
win32k.sys for each process.
* subsys/csrss/init.c (CsrServerInitialization): Initialize
win32k.sys as well.

2002-08-26  David Welch  <welch@computer2.darkstar.org>

* ntoskrnl/ps/process.c (NtCreateProcess): Reference the
parent process's handle using ExGetPreviousMode.

2002-08-26  David Welch  <welch@computer2.darkstar.org>

* lib/user32/misc/dllmain.c (Init): Initialize gdi32 as well.

2002-08-26  David Welch  <welch@computer2.darkstar.org>

* iface/addsys/genw32k.c (main, process): Generate a set of
stubs for csrss as well.

svn path=/trunk/; revision=3396

20 years agoOops, fixed compile errors.
David Welch [Mon, 26 Aug 2002 12:27:48 +0000 (12:27 +0000)]
Oops, fixed compile errors.

svn path=/trunk/; revision=3395

20 years agoCopy all the startup info to the new process.
David Welch [Mon, 26 Aug 2002 11:24:29 +0000 (11:24 +0000)]
Copy all the startup info to the new process.

svn path=/trunk/; revision=3394

20 years agoDCE header file
Jason Filby [Sun, 25 Aug 2002 15:56:54 +0000 (15:56 +0000)]
DCE header file

svn path=/trunk/; revision=3393

20 years agoStick the import lib in the right place.
Steven Edwards [Sun, 25 Aug 2002 10:20:51 +0000 (10:20 +0000)]
Stick the import lib in the right place.

svn path=/trunk/; revision=3392

20 years agoMore CVS sugar.
Robert Dickenson [Sun, 25 Aug 2002 07:22:29 +0000 (07:22 +0000)]
More CVS sugar.

svn path=/trunk/; revision=3391

20 years agoAdded a whole lot of CVS sugar so I can use WinCVS flat mode more effectively.
Robert Dickenson [Sun, 25 Aug 2002 07:16:37 +0000 (07:16 +0000)]
Added a whole lot of CVS sugar so I can use WinCVS flat mode more effectively.

svn path=/trunk/; revision=3390

20 years agoFixed some broken stuff, added some cvs sugur.
Robert Dickenson [Sun, 25 Aug 2002 06:59:34 +0000 (06:59 +0000)]
Fixed some broken stuff, added some cvs sugur.

svn path=/trunk/; revision=3389

20 years agoFixes for building with __MINGW32_VERSION 2.1
Robert Dickenson [Sun, 25 Aug 2002 06:47:16 +0000 (06:47 +0000)]
Fixes for building with __MINGW32_VERSION 2.1

svn path=/trunk/; revision=3388

20 years agoInitial code for NtUserGetDC
Jason Filby [Sat, 24 Aug 2002 11:09:17 +0000 (11:09 +0000)]
Initial code for NtUserGetDC

svn path=/trunk/; revision=3387

20 years agoRemoved superfluous DPRINTs
KJK::Hyperion [Sat, 24 Aug 2002 03:50:49 +0000 (03:50 +0000)]
Removed superfluous DPRINTs

svn path=/trunk/; revision=3386

20 years agoFixed dependency file deletion bug.
Eric Kohl [Sat, 24 Aug 2002 01:45:37 +0000 (01:45 +0000)]
Fixed dependency file deletion bug.

svn path=/trunk/; revision=3385

20 years agoAdded welcome/autorun application
Eric Kohl [Fri, 23 Aug 2002 16:17:12 +0000 (16:17 +0000)]
Added welcome/autorun application

svn path=/trunk/; revision=3384

20 years agoAdded welcome/autorun application (test bitmaps)
Eric Kohl [Fri, 23 Aug 2002 16:15:47 +0000 (16:15 +0000)]
Added welcome/autorun application (test bitmaps)

svn path=/trunk/; revision=3383

20 years agoFixes for building the imports libraries.
Emanuele Aliberti [Fri, 23 Aug 2002 12:41:55 +0000 (12:41 +0000)]
Fixes for building the imports libraries.

svn path=/trunk/; revision=3382

20 years agoMakefile fixes to compile.
Emanuele Aliberti [Fri, 23 Aug 2002 12:40:56 +0000 (12:40 +0000)]
Makefile fixes to compile.

svn path=/trunk/; revision=3381

20 years agoAdded new include file.
Robert Dickenson [Fri, 23 Aug 2002 08:28:43 +0000 (08:28 +0000)]
Added new include file.

svn path=/trunk/; revision=3380

20 years agoAdded some exports.
Robert Dickenson [Fri, 23 Aug 2002 08:27:46 +0000 (08:27 +0000)]
Added some exports.

svn path=/trunk/; revision=3379

20 years agoModified to use new include file reactos/include/snmp.h to be committed shortly.
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

20 years agoAdded entries for new network applications.
Robert Dickenson [Fri, 23 Aug 2002 08:24:13 +0000 (08:24 +0000)]
Added entries for new network applications.

svn path=/trunk/; revision=3377

20 years agoCreated framework for new network utility applications.
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

20 years ago-Implemented ReadConsoleOutputCharacterA and CsrReadConsoleOutputChar
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

20 years agoChanges in v1.7.5 (8/21/2002) (brianp)
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

20 years agoInitial commit for utility to install FreeLoader under Linux
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

20 years agoChanges in v1.7.4 (8/20/2002) (brianp)
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

20 years agoNew macros InitializeUnicodeString(), RtlInitUnicodeStringFromLiteral() and UNICODE_S...
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

20 years agoImproved HLine algorithm; improvement carried over to FillSolid
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

20 years agoAdded color translation for solid color brushes.
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

20 years agoFixed VGADDIFillSolid - now fast, although ugly (will clean it up still)
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

20 years ago- Added a check for valid result pointers in GetDiskFreeSpaceExW.
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

20 years agoRewrote _stat functions. This functions can't use _fstat.
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

20 years agoRtlGetProcessHeap() is not a function in Microsoft Windows
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

20 years agoCreateFileW: corrected a couple of buglets, added handling of GENERIC_ALL access...
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

20 years agoUse clip.h instead of enum.h
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

20 years ago1. CLIPOBJ_bEnum, CLIPOBJ_cEnumStart - implemented internal clip region enumeration.
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

20 years agoCleaned up CreateFileW. Please check out the FIXMEs
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

20 years agoAdded definition of FILE_OPEN_FOR_RECOVERY
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