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
Aleksey Bragin [Wed, 7 May 2003 19:33:14 +0000 (19:33 +0000)]
Added EthFilterDprIndicateReceive(), EthFilterDprIndicateReceiveComplete() functions, since Realtek 8139 network card driver imports them. Their contents is "UNIMPLEMENTED". This makes ReactOS at least gracefully discarding this driver (and not crashing with BugCheck).
svn path=/trunk/; revision=4655
Aleksey Bragin [Wed, 7 May 2003 19:09:48 +0000 (19:09 +0000)]
Uncommented exporting of EthFilterDprIndicateReceive (and ReceiveComplete)
svn path=/trunk/; revision=4654
Eric Kohl [Wed, 7 May 2003 18:45:56 +0000 (18:45 +0000)]
Removed unix newlines
svn path=/trunk/; revision=4653
Eric Kohl [Tue, 6 May 2003 19:01:03 +0000 (19:01 +0000)]
Moved test sound.
svn path=/trunk/; revision=4652
Eric Kohl [Tue, 6 May 2003 16:36:42 +0000 (16:36 +0000)]
Added PnP-BIOS detection.
svn path=/trunk/; revision=4651
Eric Kohl [Tue, 6 May 2003 08:45:10 +0000 (08:45 +0000)]
Fixed wrong types in printf strings.
svn path=/trunk/; revision=4650
Eric Kohl [Tue, 6 May 2003 07:17:52 +0000 (07:17 +0000)]
Added emergency console dummy page.
Removed unused code.
svn path=/trunk/; revision=4649
Gé van Geldorp [Tue, 6 May 2003 06:49:57 +0000 (06:49 +0000)]
Fixes to GetFullPathNameA and RtlGetFullPathName_U by Tim Jobling
svn path=/trunk/; revision=4648
Casper Hornstrup [Mon, 5 May 2003 19:59:21 +0000 (19:59 +0000)]
2003-05-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/helper.mk: Kill implicit rule ".o".
svn path=/trunk/; revision=4647
Emanuele Aliberti [Mon, 5 May 2003 19:58:27 +0000 (19:58 +0000)]
KERNEL32.OpenConsoleW() implemented.
svn path=/trunk/; revision=4646
Steven Edwards [Mon, 5 May 2003 16:40:38 +0000 (16:40 +0000)]
build wm_paint and bitblt tests
svn path=/trunk/; revision=4645
Steven Edwards [Mon, 5 May 2003 16:40:05 +0000 (16:40 +0000)]
Add install for wm_paint and bitblt test
svn path=/trunk/; revision=4644
Gé van Geldorp [Sun, 4 May 2003 15:42:21 +0000 (15:42 +0000)]
Allow sending of messages from non-GUI threads
svn path=/trunk/; revision=4643
Gé van Geldorp [Sun, 4 May 2003 15:41:40 +0000 (15:41 +0000)]
Clean up debugging stuff and silence debug messages
svn path=/trunk/; revision=4642
Gé van Geldorp [Sat, 3 May 2003 14:38:11 +0000 (14:38 +0000)]
(Partial) implementation of W32kGetDIBits()
svn path=/trunk/; revision=4641
Gé van Geldorp [Sat, 3 May 2003 14:12:14 +0000 (14:12 +0000)]
Fix GetDC(NULL), not complete yet
svn path=/trunk/; revision=4640
Gé van Geldorp [Sat, 3 May 2003 13:39:06 +0000 (13:39 +0000)]
Implement GetDeviceCaps()
svn path=/trunk/; revision=4639
Eric Kohl [Sat, 3 May 2003 13:11:39 +0000 (13:11 +0000)]
Added .cvsignore files. Patch by Mihcael Fritscher.
svn path=/trunk/; revision=4638
Eric Kohl [Fri, 2 May 2003 18:12:38 +0000 (18:12 +0000)]
Started work on second stage setup.
svn path=/trunk/; revision=4636
Gé van Geldorp [Fri, 2 May 2003 07:57:04 +0000 (07:57 +0000)]
Silence CVS
svn path=/trunk/; revision=4635
Gé van Geldorp [Fri, 2 May 2003 07:52:33 +0000 (07:52 +0000)]
Implemented NtUserRegisterWindowMessage
svn path=/trunk/; revision=4634
Gé van Geldorp [Thu, 1 May 2003 22:00:31 +0000 (22:00 +0000)]
Properly clean up terminated threads
svn path=/trunk/; revision=4633
Eric Kohl [Thu, 1 May 2003 17:50:35 +0000 (17:50 +0000)]
Get timeout value from the registry or use default timeout.
svn path=/trunk/; revision=4632
Eric Kohl [Thu, 1 May 2003 17:49:23 +0000 (17:49 +0000)]
Get timeout value from the registry.
svn path=/trunk/; revision=4631
Eric Kohl [Thu, 1 May 2003 15:46:06 +0000 (15:46 +0000)]
Added CPU detection for multiprocessor systems.
svn path=/trunk/; revision=4630
Gé van Geldorp [Wed, 30 Apr 2003 22:07:30 +0000 (22:07 +0000)]
C++ runtime support, mostly copied from Wine
svn path=/trunk/; revision=4629
Gé van Geldorp [Wed, 30 Apr 2003 22:04:12 +0000 (22:04 +0000)]
Changed some DbgPrint's to DPRINT's
svn path=/trunk/; revision=4628
Gé van Geldorp [Wed, 30 Apr 2003 22:03:00 +0000 (22:03 +0000)]
Added stubs for keybd_event() and mouse_event()
svn path=/trunk/; revision=4627
Gé van Geldorp [Wed, 30 Apr 2003 22:00:41 +0000 (22:00 +0000)]
Fix SetThreadPriority()
svn path=/trunk/; revision=4626
Gé van Geldorp [Wed, 30 Apr 2003 21:56:22 +0000 (21:56 +0000)]
Implement ThreadBasePriority case for NtSetInformationThread()
svn path=/trunk/; revision=4625
Gé van Geldorp [Wed, 30 Apr 2003 21:06:02 +0000 (21:06 +0000)]
Added imm32 and winspool
svn path=/trunk/; revision=4624
Gé van Geldorp [Wed, 30 Apr 2003 20:55:00 +0000 (20:55 +0000)]
Install winspool.drv
svn path=/trunk/; revision=4623
Gé van Geldorp [Wed, 30 Apr 2003 20:44:06 +0000 (20:44 +0000)]
Fully stubbed winspool.drv (Wine printing is too different from ReactOS
to use that one)
svn path=/trunk/; revision=4622
Eric Kohl [Wed, 30 Apr 2003 18:10:46 +0000 (18:10 +0000)]
Fixed disk geometry detection bug.
Added CPU detection for uniprocessor systems.
svn path=/trunk/; revision=4621
Gé van Geldorp [Wed, 30 Apr 2003 15:11:31 +0000 (15:11 +0000)]
Zero-initialze TEB for new threads
svn path=/trunk/; revision=4620
Eric Kohl [Wed, 30 Apr 2003 14:08:04 +0000 (14:08 +0000)]
- Added DiskGetExtendedDriveParameters()
- Moved hardware detection into the arch directory
- Rewrote/completed harddisk detection
- Removed PCI and IDE detection
- Added basic CPU detection
svn path=/trunk/; revision=4619
Gé van Geldorp [Tue, 29 Apr 2003 22:39:57 +0000 (22:39 +0000)]
All IsBadXxxxPtr return values were backward (TRUE when they should be
FALSE and vv.)
svn path=/trunk/; revision=4618
Eric Kohl [Tue, 29 Apr 2003 19:49:17 +0000 (19:49 +0000)]
Disabled debug messages.
svn path=/trunk/; revision=4617