Commit graph

4559 commits

Author SHA1 Message Date
Gé van Geldorp
ecd7b2f8f3 Handle SetWindowText() across Unicode/Ansi conversions
svn path=/trunk/; revision=4730
2003-05-19 20:11:17 +00:00
guido
c1cf7ec993 commented out some duplicate defines
svn path=/trunk/; revision=4729
2003-05-19 19:42:30 +00:00
Gé van Geldorp
388f86d19c Implement GetSysColor()
svn path=/trunk/; revision=4728
2003-05-19 18:36:43 +00:00
Hartmut Birr
58781325ac - Release the rmap list lock also, if the address is in kernel space.
svn path=/trunk/; revision=4727
2003-05-19 15:58:09 +00:00
Eric Kohl
7e921a40c1 Implemented NLS file import.
svn path=/trunk/; revision=4726
2003-05-19 14:39:09 +00:00
Eric Kohl
e76752c103 Load NLS files.
Add basic support for installing ReactOS from floppy disks.

svn path=/trunk/; revision=4725
2003-05-19 09:58:50 +00:00
Eric Kohl
031f55682e Removed obsolete settings.
svn path=/trunk/; revision=4724
2003-05-19 09:51:34 +00:00
Gé van Geldorp
7bd3409f53 Recompute scrollbar positions in case window changed size
svn path=/trunk/; revision=4723
2003-05-18 22:11:41 +00:00
Gé van Geldorp
94571478d5 Send WM_NCPAINT and WM_ERASEBKGND messages when making a window visible
svn path=/trunk/; revision=4722
2003-05-18 22:09:08 +00:00
Gé van Geldorp
15073977b6 Remove WINDOWOBJECT_NEED_BEGINPAINT flag since calling BeginPaint in a
WM_PAINT handler is not strictly required

svn path=/trunk/; revision=4721
2003-05-18 22:07:02 +00:00
guido
97c3fae178 proper CFLAGS when DBG=0
svn path=/trunk/; revision=4720
2003-05-18 21:17:33 +00:00
Eric Kohl
f1d44624af Fixed wrong argument order.
svn path=/trunk/; revision=4718
2003-05-18 19:37:20 +00:00
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