Emanuele Aliberti
b44dda2928
I forgot to remove debug code in MouseGDICallBack.
...
svn path=/trunk/; revision=4717
2003-05-18 19:30:55 +00:00
Emanuele Aliberti
c0bb24f7ad
Fix for a bug I introduced declaring FASTCALL MouseGDICallBack.
...
svn path=/trunk/; revision=4716
2003-05-18 19:21:24 +00:00
Emanuele Aliberti
fec738c6cb
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
2003-05-18 17:22:31 +00:00
Emanuele Aliberti
982fd1f286
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
2003-05-18 17:16:18 +00:00
Emanuele Aliberti
6955ff7e6e
RECT *is* RECTL
...
svn path=/trunk/; revision=4713
2003-05-18 17:12:11 +00:00
Eric Kohl
df24b9bb9a
Add known DLLs.
...
Install NLS files.
svn path=/trunk/; revision=4712
2003-05-18 15:22:52 +00:00
Eric Kohl
e35e42758a
Remove the INSTALL directory of the Boot-CD.
...
svn path=/trunk/; revision=4711
2003-05-18 15:21:30 +00:00
Eric Kohl
2cd0a85f57
Do not overwrite existing hive files.
...
Add hive header checksum.
svn path=/trunk/; revision=4710
2003-05-18 13:50:58 +00:00
Eric Kohl
bcef4d4f0e
Fixed .inf parser to accept DOS and *nix files.
...
svn path=/trunk/; revision=4709
2003-05-18 12:50:17 +00:00
Eric Kohl
e568d2b165
Parse DOS and *nix text files correctly.
...
svn path=/trunk/; revision=4708
2003-05-18 12:12:07 +00:00
Gé van Geldorp
19c81674a3
Implement SetWindowPos()
...
svn path=/trunk/; revision=4707
2003-05-18 07:51:41 +00:00
Gé van Geldorp
7ba70583b9
Generate WM_PAINT messages in PeekMessage()
...
svn path=/trunk/; revision=4706
2003-05-18 06:47:19 +00:00
Eric Kohl
397169c1a8
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
2003-05-17 19:16:39 +00:00
Eric Kohl
e1c437438c
Implemented Top-Down-Allocator.
...
svn path=/trunk/; revision=4704
2003-05-17 15:29:50 +00:00
Gé van Geldorp
c865c87d30
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
2003-05-17 14:37:23 +00:00
Gé van Geldorp
b41ecb619a
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
2003-05-17 14:30:28 +00:00
Hartmut Birr
9ad263f04e
- Reference/Dereference the process object only for adresses within user space.
...
svn path=/trunk/; revision=4701
2003-05-17 13:46:05 +00:00
Hartmut Birr
f5048a6a3b
- 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
2003-05-17 13:45:04 +00:00
Hartmut Birr
fd4d79b7fd
- Added some checks for kernel or user space.
...
- Added MmMapViewInSystemSpace/MmUnmapViewInSystemSpace (implemented by Eric).
svn path=/trunk/; revision=4699
2003-05-17 13:43:44 +00:00
Hartmut Birr
8e68ec6bf2
- Marked the initial kernel space as mapped.
...
svn path=/trunk/; revision=4698
2003-05-17 13:42:56 +00:00
Gé van Geldorp
8674a82d87
Implement SetWindowLong() and refine implementation of GetWindowLong()
...
svn path=/trunk/; revision=4697
2003-05-17 13:41:31 +00:00
Hartmut Birr
f5aebd93f1
- Free memory for boot load files, except ntoskrnl.exe and hal.dll.
...
svn path=/trunk/; revision=4696
2003-05-17 13:40:03 +00:00
Gé van Geldorp
61b19adbb6
Implement SetWindowLong() and refine implementation of GetWindowLong()
...
svn path=/trunk/; revision=4695
2003-05-17 09:20:23 +00:00
Casper Hornstrup
ae351cde87
2003-05-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
...
* ntoskrnl/io/irp.c (IofCallDriver): Don't reference FileObject.
svn path=/trunk/; revision=4694
2003-05-17 00:25:39 +00:00
Emanuele Aliberti
79780a3bcd
KERNEL32.OpenConsoleW interface changed a proposed by KJK:Hyperion.
...
svn path=/trunk/; revision=4693
2003-05-16 20:33:15 +00:00
Gé van Geldorp
1e77c45603
Convert from Unicode to ANSI in GetTextMetricsA()
...
svn path=/trunk/; revision=4692
2003-05-16 18:55:27 +00:00
Eric Kohl
389d19a1e3
Updated NLS function signature.
...
Reverted NLS section mapping because of unability to fix the section mapping code.
svn path=/trunk/; revision=4691
2003-05-16 17:38:41 +00:00
Eric Kohl
14e53ad5b6
Accept .nls files.
...
svn path=/trunk/; revision=4690
2003-05-16 15:37:50 +00:00
Gé van Geldorp
7295ea3de1
Added Bitstream Vera fonts and removed accidental loading of Arial font
...
svn path=/trunk/; revision=4689
2003-05-16 15:10:10 +00:00
Casper Hornstrup
270cb3a0ec
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
2003-05-16 12:03:11 +00:00
Gé van Geldorp
f728ec4f27
Fixed typo in TEXTMETRICSW
...
svn path=/trunk/; revision=4687
2003-05-16 06:23:14 +00:00
Eric Kohl
366cd995f3
Fixed crash upon shutdown.
...
svn path=/trunk/; revision=4686
2003-05-15 13:34:37 +00:00
Eric Kohl
556a38e0c0
Implemented NLS section (not usable yet) and updated NLS functions.
...
svn path=/trunk/; revision=4685
2003-05-15 11:07:51 +00:00
Eric Kohl
54aa3104d4
Don't crash ReactOS if DLL-Preloading fails.
...
svn path=/trunk/; revision=4684
2003-05-14 21:27:53 +00:00
Eric Kohl
9fef3a18ee
Implemented MmMapViewInSystemSpace() and MmUnmapViewInSystemSpace().
...
svn path=/trunk/; revision=4683
2003-05-14 10:52:46 +00:00
Casper Hornstrup
10f9688a17
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
2003-05-13 21:28:26 +00:00
Eric Kohl
107725f820
Implemented dll preloading and mapping.
...
svn path=/trunk/; revision=4681
2003-05-12 19:47:53 +00:00
Jason Filby
b5b83b1d47
UNIMPLEMENTED put in unimplemented functions
...
svn path=/trunk/; revision=4680
2003-05-12 19:30:00 +00:00
Gé van Geldorp
017f478b25
Implemented IsWindow()
...
svn path=/trunk/; revision=4679
2003-05-12 18:52:14 +00:00
Eric Kohl
484cf7d5bf
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
2003-05-12 13:59:09 +00:00
Eric Kohl
c0f1cf6933
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
2003-05-12 10:00:46 +00:00
Eric Kohl
64ca9e3c34
Fixed a bug which skipped the first letter of a relative object path name.
...
svn path=/trunk/; revision=4676
2003-05-11 19:41:22 +00:00
Casper Hornstrup
0c6f80f830
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
2003-05-11 18:31:09 +00:00
Casper Hornstrup
67e99cf820
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
2003-05-11 15:18:01 +00:00
Jason Filby
5bbb8860e3
Fixed return values of W32kArc and W32kMoveToEx
...
svn path=/trunk/; revision=4673
2003-05-11 12:44:09 +00:00
Jason Filby
76c3289be5
NtUserSendMessageCallback is UNIMPLEMENTED
...
svn path=/trunk/; revision=4672
2003-05-11 12:29:41 +00:00
Gé van Geldorp
f507252aa5
Implement DrawTextA()/DrawTextW() (mostly copied from Wine)
...
svn path=/trunk/; revision=4671
2003-05-11 11:12:00 +00:00
Jason Filby
6c2e6e0aa5
NtUserPostMessage: use a switch statement instead of if; WM_NULL: ignore message
...
svn path=/trunk/; revision=4670
2003-05-11 10:47:33 +00:00
Hartmut Birr
7a801d3bd8
- Implemented FSCTL_GET_RETRIVAL_POINTERS.
...
- Call the storage driver for read/write requests to pagefiles directly.
svn path=/trunk/; revision=4669
2003-05-11 09:51:26 +00:00
Hartmut Birr
710b4c97a6
- Retrieve the cluster chunks for a pagefile from fsd and use this values for reading/writing to the pagefile.
...
svn path=/trunk/; revision=4668
2003-05-11 09:48:57 +00:00