Richard Campbell [Sun, 25 May 2003 21:05:38 +0000 (21:05 +0000)]
Small visual fixes, more coming soon.
svn path=/trunk/; revision=4756
Eric Kohl [Sun, 25 May 2003 17:17:52 +0000 (17:17 +0000)]
Removed unused NLS files.
svn path=/trunk/; revision=4755
Eric Kohl [Sun, 25 May 2003 17:16:09 +0000 (17:16 +0000)]
Fixed memory-allocation for bins while loading hives.
svn path=/trunk/; revision=4754
Casper Hornstrup [Sun, 25 May 2003 14:26:28 +0000 (14:26 +0000)]
2003-05-25 Casper S. Hornstrup <chorns@users.sourceforge.net>
* Makefile: Fix typo.
svn path=/trunk/; revision=4753
Casper Hornstrup [Sun, 25 May 2003 11:33:58 +0000 (11:33 +0000)]
2003-05-25 Casper S. Hornstrup <chorns@users.sourceforge.net>
* Makefile: Don't install system.hiv. Install fonts and nls directory.
* tools/rcopy.c (copy_file, copy_directory, is_directory): New functions.
svn path=/trunk/; revision=4752
Richard Campbell [Sun, 25 May 2003 10:53:05 +0000 (10:53 +0000)]
Several small bug fixes, nothing important
svn path=/trunk/; revision=4751
Hartmut Birr [Sat, 24 May 2003 17:26:39 +0000 (17:26 +0000)]
- Fixed the parameters in two calls to MEMCHECK.
svn path=/trunk/; revision=4750
Hartmut Birr [Sat, 24 May 2003 17:14:41 +0000 (17:14 +0000)]
- Initialize TableBase in PsCreatePeb.
svn path=/trunk/; revision=4749
Eric Kohl [Sat, 24 May 2003 13:19:15 +0000 (13:19 +0000)]
Optimized hive import.
Removed text-hive support.
Removed text-hives.
svn path=/trunk/; revision=4748
Richard Campbell [Fri, 23 May 2003 23:12:02 +0000 (23:12 +0000)]
Actually, compile errors, let me fix first.
svn path=/trunk/; revision=4747
Richard Campbell [Fri, 23 May 2003 23:08:03 +0000 (23:08 +0000)]
Okay, NtUserFineWindowEx bug fixed.
svn path=/trunk/; revision=4746
Eric Kohl [Fri, 23 May 2003 22:43:03 +0000 (22:43 +0000)]
Add experimental jamfiles (still buggy).
svn path=/trunk/; revision=4745
Richard Campbell [Fri, 23 May 2003 17:07:12 +0000 (17:07 +0000)]
- Implemented FindWindowEx*() (it was already implemented in subsys\win32k\ntuser\window.c with the exception of a small bug, but wasn't mapped to by user32??) FIXED
- FindWindow() is also implemented, though not properly. (Someone has it set up to use FindWindowEx, this isn't the proper way to do this...FindWindow doesn't search children...)
svn path=/trunk/; revision=4744
Richard Campbell [Fri, 23 May 2003 16:44:12 +0000 (16:44 +0000)]
Implement GetDesktopWindow()
svn path=/trunk/; revision=4743
Steven Edwards [Thu, 22 May 2003 21:41:20 +0000 (21:41 +0000)]
Patch by Tim Jobling - Fix unhandled exception in bitblt test.
svn path=/trunk/; revision=4742
Gé van Geldorp [Thu, 22 May 2003 15:11:29 +0000 (15:11 +0000)]
Add DebugOut device driver
svn path=/trunk/; revision=4741
Gunnar Dalsnes [Thu, 22 May 2003 02:07:22 +0000 (02:07 +0000)]
-Dereference thread
-Reduce/fix handle-less-timer bitmap
svn path=/trunk/; revision=4740
Gunnar Dalsnes [Thu, 22 May 2003 00:47:04 +0000 (00:47 +0000)]
-Fixed FileObject/Event dereferencing at IRP completion problem
-Reworked IRP completion rotuines
-io/irp.c: Reworked IoIsOperationSynchronous
-afd/opnclose.c: Fixed bug where CCB was freed twice
-io/create.c: changed Lock event in FileObject from NotificationEvent to SynchronizationEvent
svn path=/trunk/; revision=4739
Gé van Geldorp [Wed, 21 May 2003 22:58:43 +0000 (22:58 +0000)]
- Implement WaitMessage()
- Rearrange message code to avoid code duplication
- Fix bugs, mainly in signaling new messages
- Include Hartmut's fix of 2003/03/26
svn path=/trunk/; revision=4738
Brian Palmer [Wed, 21 May 2003 20:28:13 +0000 (20:28 +0000)]
Lot's of fixes for the FAT12/16 boot sector code.
svn path=/trunk/; revision=4737
Eric Kohl [Wed, 21 May 2003 16:11:02 +0000 (16:11 +0000)]
Use NLS-Section in user-mode.
svn path=/trunk/; revision=4736
Eric Kohl [Wed, 21 May 2003 16:09:30 +0000 (16:09 +0000)]
Minor update
svn path=/trunk/; revision=4735
Eric Kohl [Wed, 21 May 2003 15:06:33 +0000 (15:06 +0000)]
Removed unused NLS stuff.
Cleaned-up PEB initialization.
svn path=/trunk/; revision=4734
Hartmut Birr [Tue, 20 May 2003 18:56:25 +0000 (18:56 +0000)]
- Fixed the calculation of the TopAddress in MmFindGapTopDown.
svn path=/trunk/; revision=4733
Eric Kohl [Tue, 20 May 2003 14:38:05 +0000 (14:38 +0000)]
Finished kernel-mode part of NLS section implementation.
svn path=/trunk/; revision=4732
Eric Kohl [Tue, 20 May 2003 13:00:41 +0000 (13:00 +0000)]
Implemented NDIS timer functions.
svn path=/trunk/; revision=4731
Gé van Geldorp [Mon, 19 May 2003 20:11:17 +0000 (20:11 +0000)]
Handle SetWindowText() across Unicode/Ansi conversions
svn path=/trunk/; revision=4730
guido [Mon, 19 May 2003 19:42:30 +0000 (19:42 +0000)]
commented out some duplicate defines
svn path=/trunk/; revision=4729
Gé van Geldorp [Mon, 19 May 2003 18:36:43 +0000 (18:36 +0000)]
Implement GetSysColor()
svn path=/trunk/; revision=4728
Hartmut Birr [Mon, 19 May 2003 15:58:09 +0000 (15:58 +0000)]
- Release the rmap list lock also, if the address is in kernel space.
svn path=/trunk/; revision=4727
Eric Kohl [Mon, 19 May 2003 14:39:09 +0000 (14:39 +0000)]
Implemented NLS file import.
svn path=/trunk/; revision=4726
Eric Kohl [Mon, 19 May 2003 09:58:50 +0000 (09:58 +0000)]
Load NLS files.
Add basic support for installing ReactOS from floppy disks.
svn path=/trunk/; revision=4725
Eric Kohl [Mon, 19 May 2003 09:51:34 +0000 (09:51 +0000)]
Removed obsolete settings.
svn path=/trunk/; revision=4724
Gé van Geldorp [Sun, 18 May 2003 22:11:41 +0000 (22:11 +0000)]
Recompute scrollbar positions in case window changed size
svn path=/trunk/; revision=4723
Gé van Geldorp [Sun, 18 May 2003 22:09:08 +0000 (22:09 +0000)]
Send WM_NCPAINT and WM_ERASEBKGND messages when making a window visible
svn path=/trunk/; revision=4722
Gé van Geldorp [Sun, 18 May 2003 22:07:02 +0000 (22:07 +0000)]
Remove WINDOWOBJECT_NEED_BEGINPAINT flag since calling BeginPaint in a
WM_PAINT handler is not strictly required
svn path=/trunk/; revision=4721
guido [Sun, 18 May 2003 21:17:33 +0000 (21:17 +0000)]
proper CFLAGS when DBG=0
svn path=/trunk/; revision=4720
Eric Kohl [Sun, 18 May 2003 19:37:20 +0000 (19:37 +0000)]
Fixed wrong argument order.
svn path=/trunk/; revision=4718
Emanuele Aliberti [Sun, 18 May 2003 19:30:55 +0000 (19:30 +0000)]
I forgot to remove debug code in MouseGDICallBack.
svn path=/trunk/; revision=4717
Emanuele Aliberti [Sun, 18 May 2003 19:21:24 +0000 (19:21 +0000)]
Fix for a bug I introduced declaring FASTCALL MouseGDICallBack.
svn path=/trunk/; revision=4716
Emanuele Aliberti [Sun, 18 May 2003 17:22:31 +0000 (17:22 +0000)]
WIN32K code cleanup.
Prefer FASTCALL/STDCALL in kernel mode code.
Make compiler check function signatures.
Tested under BOCHS 2.0.2 + FreeDOS + loadros.
svn path=/trunk/; revision=4715
Emanuele Aliberti [Sun, 18 May 2003 17:16:18 +0000 (17:16 +0000)]
WIN32K code cleanup.
Prefer FASTCALL/STDCALL in kernel mode code.
Make compiler check function signatures.
Tested under BOCHS 2.0.2 + FreeDOS + loadros.
svn path=/trunk/; revision=4714
Emanuele Aliberti [Sun, 18 May 2003 17:12:11 +0000 (17:12 +0000)]
RECT *is* RECTL
svn path=/trunk/; revision=4713
Eric Kohl [Sun, 18 May 2003 15:22:52 +0000 (15:22 +0000)]
Add known DLLs.
Install NLS files.
svn path=/trunk/; revision=4712
Eric Kohl [Sun, 18 May 2003 15:21:30 +0000 (15:21 +0000)]
Remove the INSTALL directory of the Boot-CD.
svn path=/trunk/; revision=4711
Eric Kohl [Sun, 18 May 2003 13:50:58 +0000 (13:50 +0000)]
Do not overwrite existing hive files.
Add hive header checksum.
svn path=/trunk/; revision=4710
Eric Kohl [Sun, 18 May 2003 12:50:17 +0000 (12:50 +0000)]
Fixed .inf parser to accept DOS and *nix files.
svn path=/trunk/; revision=4709
Eric Kohl [Sun, 18 May 2003 12:12:07 +0000 (12:12 +0000)]
Parse DOS and *nix text files correctly.
svn path=/trunk/; revision=4708
Gé van Geldorp [Sun, 18 May 2003 07:51:41 +0000 (07:51 +0000)]
Implement SetWindowPos()
svn path=/trunk/; revision=4707
Gé van Geldorp [Sun, 18 May 2003 06:47:19 +0000 (06:47 +0000)]
Generate WM_PAINT messages in PeekMessage()
svn path=/trunk/; revision=4706
Eric Kohl [Sat, 17 May 2003 19:16:39 +0000 (19:16 +0000)]
Added new MEMORY_AREA_NO_ACCESS type.
Make the top and bottom 64KB of process memory space and the 60KB above the shared user page from unaccessible.
Introduced MmSystemRangeStart.
svn path=/trunk/; revision=4705
Eric Kohl [Sat, 17 May 2003 15:29:50 +0000 (15:29 +0000)]
Implemented Top-Down-Allocator.
svn path=/trunk/; revision=4704
Gé van Geldorp [Sat, 17 May 2003 14:37:23 +0000 (14:37 +0000)]
When sending WM_WINDOWPOSCHANGING and WM_WINDOWPOSCHANGED messages from
Win32k, make sure the WINDOWPOS structure referenced by lParam is located
in user space
svn path=/trunk/; revision=4703
Gé van Geldorp [Sat, 17 May 2003 14:30:28 +0000 (14:30 +0000)]
When sending WM_WINDOWPOSCHANGING and WM_WINDOWPOSCHANGED messages from
Win32k, make sure the WINDOWPOS structure referenced by lParam is located
in user space
svn path=/trunk/; revision=4702
Hartmut Birr [Sat, 17 May 2003 13:46:05 +0000 (13:46 +0000)]
- Reference/Dereference the process object only for adresses within user space.
svn path=/trunk/; revision=4701
Hartmut Birr [Sat, 17 May 2003 13:45:04 +0000 (13:45 +0000)]
- Initialize the page directory for a new process from global kernel page directory in MmCopyMmInfo.
- Check for kernel or user space in MmIsAccessedAndResetAcessPage/MmSetCleanPage/MmSetDirtyPage.
- Added InitGlobalKernelPageDirectory.
svn path=/trunk/; revision=4700
Hartmut Birr [Sat, 17 May 2003 13:43:44 +0000 (13:43 +0000)]
- Added some checks for kernel or user space.
- Added MmMapViewInSystemSpace/MmUnmapViewInSystemSpace (implemented by Eric).
svn path=/trunk/; revision=4699
Hartmut Birr [Sat, 17 May 2003 13:42:56 +0000 (13:42 +0000)]
- Marked the initial kernel space as mapped.
svn path=/trunk/; revision=4698
Gé van Geldorp [Sat, 17 May 2003 13:41:31 +0000 (13:41 +0000)]
Implement SetWindowLong() and refine implementation of GetWindowLong()
svn path=/trunk/; revision=4697
Hartmut Birr [Sat, 17 May 2003 13:40:03 +0000 (13:40 +0000)]
- Free memory for boot load files, except ntoskrnl.exe and hal.dll.
svn path=/trunk/; revision=4696
Gé van Geldorp [Sat, 17 May 2003 09:20:23 +0000 (09:20 +0000)]
Implement SetWindowLong() and refine implementation of GetWindowLong()
svn path=/trunk/; revision=4695
Casper Hornstrup [Sat, 17 May 2003 00:25:39 +0000 (00:25 +0000)]
2003-05-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/io/irp.c (IofCallDriver): Don't reference FileObject.
svn path=/trunk/; revision=4694
Emanuele Aliberti [Fri, 16 May 2003 20:33:15 +0000 (20:33 +0000)]
KERNEL32.OpenConsoleW interface changed a proposed by KJK:Hyperion.
svn path=/trunk/; revision=4693
Gé van Geldorp [Fri, 16 May 2003 18:55:27 +0000 (18:55 +0000)]
Convert from Unicode to ANSI in GetTextMetricsA()
svn path=/trunk/; revision=4692
Eric Kohl [Fri, 16 May 2003 17:38:41 +0000 (17:38 +0000)]
Updated NLS function signature.
Reverted NLS section mapping because of unability to fix the section mapping code.
svn path=/trunk/; revision=4691
Eric Kohl [Fri, 16 May 2003 15:37:50 +0000 (15:37 +0000)]
Accept .nls files.
svn path=/trunk/; revision=4690
Gé van Geldorp [Fri, 16 May 2003 15:10:10 +0000 (15:10 +0000)]
Added Bitstream Vera fonts and removed accidental loading of Arial font
svn path=/trunk/; revision=4689
Casper Hornstrup [Fri, 16 May 2003 12:03:11 +0000 (12:03 +0000)]
2003-05-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/io/cleanup.c (IopCompleteRequest1, IoSecondStageCompletion):
Don't dereference Irp->UserEvent here.
* ntoskrnl/io/irp.c (IofCallDriver): Reference FileObject.
* ntoskrnl/io/rw.c (IopReadWriteIoComplete): New function.
* (NtReadFile, NtWriteFile): Set I/O completion routine if using an
event that is under object manager control.
svn path=/trunk/; revision=4688
Gé van Geldorp [Fri, 16 May 2003 06:23:14 +0000 (06:23 +0000)]
Fixed typo in TEXTMETRICSW
svn path=/trunk/; revision=4687
Eric Kohl [Thu, 15 May 2003 13:34:37 +0000 (13:34 +0000)]
Fixed crash upon shutdown.
svn path=/trunk/; revision=4686
Eric Kohl [Thu, 15 May 2003 11:07:51 +0000 (11:07 +0000)]
Implemented NLS section (not usable yet) and updated NLS functions.
svn path=/trunk/; revision=4685
Eric Kohl [Wed, 14 May 2003 21:27:53 +0000 (21:27 +0000)]
Don't crash ReactOS if DLL-Preloading fails.
svn path=/trunk/; revision=4684
Eric Kohl [Wed, 14 May 2003 10:52:46 +0000 (10:52 +0000)]
Implemented MmMapViewInSystemSpace() and MmUnmapViewInSystemSpace().
svn path=/trunk/; revision=4683
Casper Hornstrup [Tue, 13 May 2003 21:28:26 +0000 (21:28 +0000)]
2003-05-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/Makefile (OBJECTS_IO): Add io/rawfs.o.
* ntoskrnl/cm/registry.c (CmiInitHives): Check status using NT_SUCCESS().
* ntoskrnl/include/internal/io.h (RawFsIsRawFileSystemDeviceObject,
RawFsDriverEntry): Add prototypes.
* ntoskrnl/include/internal/ntoskrnl.h (IoInit2): Add prototype.
* ntoskrnl/io/device.c (IopCreateDriverObject): Handle unnamed services.
* ntoskrnl/io/fs.c (IoMountVolume): Handle mounting of raw volumes.
(IoRegisterFileSystem): Add registered filesystem device objects at the
head of the list.
* ntoskrnl/io/iomgr.c (IoInit2): New function.
* ntoskrnl/ke/main.c (ExpInitializeExecutive): Call IoInit2().
* ntoskrnl/mm/section.c (MmQuerySectionView): Check return value of call
to MmFindRegion().
* ntoskrnl/io/rawfs.c: New file.
svn path=/trunk/; revision=4682
Eric Kohl [Mon, 12 May 2003 19:47:53 +0000 (19:47 +0000)]
Implemented dll preloading and mapping.
svn path=/trunk/; revision=4681
Jason Filby [Mon, 12 May 2003 19:30:00 +0000 (19:30 +0000)]
UNIMPLEMENTED put in unimplemented functions
svn path=/trunk/; revision=4680
Gé van Geldorp [Mon, 12 May 2003 18:52:14 +0000 (18:52 +0000)]
Implemented IsWindow()
svn path=/trunk/; revision=4679
Eric Kohl [Mon, 12 May 2003 13:59:09 +0000 (13:59 +0000)]
Directory objects must be able to parse a 'remaining path' that does not start with a backslash.
This is needed to support relative path names in the object tree.
svn path=/trunk/; revision=4678
Eric Kohl [Mon, 12 May 2003 10:00:46 +0000 (10:00 +0000)]
Added ability to open a file using a handle to a directory file and a relative path name.
Tested on NT4.
svn path=/trunk/; revision=4677
Eric Kohl [Sun, 11 May 2003 19:41:22 +0000 (19:41 +0000)]
Fixed a bug which skipped the first letter of a relative object path name.
svn path=/trunk/; revision=4676
Casper Hornstrup [Sun, 11 May 2003 18:31:09 +0000 (18:31 +0000)]
2003-05-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/fslib/vfatlib/vfatlib.c (VfatFormat): Set hidden sectors.
* ntoskrnl/io/xhaldrv.c (xHalIoWritePartitionTable): Implement support
for primary partitions.
* subsys/system/usetup/partlist.c (CreateSelectedPartition): Compute
hidden sectors.
* subsys/system/usetup/usetup.c (SelectPartitionPage,
DrawFileSystemList, FormatPartitionPage): Don't use conditional define
ENABLE_FORMAT.
(CreateFileSystemList): Don't draw "Keep current file system" option if
formatting is needed.
(SelectFileSystemPage): Figure out if partition must be formatted.
* subsys/system/usetup/usetup.h (ENABLE_FORMAT): Remove.
(FILE_SYSTEM_LIST): Add ForceFormat field.
svn path=/trunk/; revision=4675
Casper Hornstrup [Sun, 11 May 2003 15:18:01 +0000 (15:18 +0000)]
2003-05-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/user32/windows/font.c (TEXT_PathEllipsify, TEXT_Reprefix): Fix
unsigned/signed warning.
* ntoskrnl/mm/pagefile.c (MmWriteToSwapPage, MmReadFromSwapPage,
NtCreatePagingFile): Ditto.
svn path=/trunk/; revision=4674
Jason Filby [Sun, 11 May 2003 12:44:09 +0000 (12:44 +0000)]
Fixed return values of W32kArc and W32kMoveToEx
svn path=/trunk/; revision=4673
Jason Filby [Sun, 11 May 2003 12:29:41 +0000 (12:29 +0000)]
NtUserSendMessageCallback is UNIMPLEMENTED
svn path=/trunk/; revision=4672
Gé van Geldorp [Sun, 11 May 2003 11:12:00 +0000 (11:12 +0000)]
Implement DrawTextA()/DrawTextW() (mostly copied from Wine)
svn path=/trunk/; revision=4671
Jason Filby [Sun, 11 May 2003 10:47:33 +0000 (10:47 +0000)]
NtUserPostMessage: use a switch statement instead of if; WM_NULL: ignore message
svn path=/trunk/; revision=4670
Hartmut Birr [Sun, 11 May 2003 09:51:26 +0000 (09:51 +0000)]
- Implemented FSCTL_GET_RETRIVAL_POINTERS.
- Call the storage driver for read/write requests to pagefiles directly.
svn path=/trunk/; revision=4669
Hartmut Birr [Sun, 11 May 2003 09:48:57 +0000 (09:48 +0000)]
- Retrieve the cluster chunks for a pagefile from fsd and use this values for reading/writing to the pagefile.
svn path=/trunk/; revision=4668
Eric Kohl [Sun, 11 May 2003 09:42:40 +0000 (09:42 +0000)]
Display human readable device descriptions for generic PnP-IDs.
svn path=/trunk/; revision=4667
Hartmut Birr [Sun, 11 May 2003 07:44:14 +0000 (07:44 +0000)]
- Changed data pointers from signed to unsigned char.
svn path=/trunk/; revision=4666
Gé van Geldorp [Sat, 10 May 2003 21:47:04 +0000 (21:47 +0000)]
Check for messages sent by other threads
svn path=/trunk/; revision=4665
Emanuele Aliberti [Sat, 10 May 2003 10:31:32 +0000 (10:31 +0000)]
Right description.
svn path=/trunk/; revision=4664
Emanuele Aliberti [Sat, 10 May 2003 10:30:18 +0000 (10:30 +0000)]
Names fixed.
svn path=/trunk/; revision=4663
Eric Kohl [Sat, 10 May 2003 09:26:59 +0000 (09:26 +0000)]
Detect hardware before ntoskrnl.exe will be loaded.
svn path=/trunk/; revision=4662
Eric Kohl [Sat, 10 May 2003 09:25:35 +0000 (09:25 +0000)]
- Fixed counting the number of available harddisks for broken BIOSes.
- Enable/disable the display of read error messages.
svn path=/trunk/; revision=4661
Eric Kohl [Fri, 9 May 2003 21:58:05 +0000 (21:58 +0000)]
Removed duplicate output of used disk space in the summary.
svn path=/trunk/; revision=4660
Eric Kohl [Thu, 8 May 2003 18:55:09 +0000 (18:55 +0000)]
Added a little PnP-BIOS data dumper.
svn path=/trunk/; revision=4659
Eric Kohl [Thu, 8 May 2003 18:35:46 +0000 (18:35 +0000)]
Reworked and fixed most of the CPU and PnP code.
svn path=/trunk/; revision=4658
Gé van Geldorp [Thu, 8 May 2003 05:26:36 +0000 (05:26 +0000)]
Only update page dir for page containing stack
svn path=/trunk/; revision=4657
Gé van Geldorp [Wed, 7 May 2003 21:41:03 +0000 (21:41 +0000)]
Don't let page containing stack disappear when switching memory spaces
svn path=/trunk/; revision=4656