Commit graph

4287 commits

Author SHA1 Message Date
Hartmut Birr
b841a51945 - Fixed a wrong call to OffsetToCluster in VfatSetAllocationSizeInformation (Thanks to Marc Sch�tz).
svn path=/trunk/; revision=4836
2003-06-04 18:01:02 +00:00
Eric Kohl
b1b828a434 Improved icon support. Patch by Tim Jobling.
svn path=/trunk/; revision=4835
2003-06-03 22:26:52 +00:00
Eric Kohl
e25101088c Improved icon support. Patch by tim Jobling.
svn path=/trunk/; revision=4834
2003-06-03 22:23:48 +00:00
Eric Kohl
62b803fe27 Install icon file.
svn path=/trunk/; revision=4833
2003-06-03 22:22:15 +00:00
Eric Kohl
966127468f Add icon as binary file.
svn path=/trunk/; revision=4831
2003-06-03 20:37:01 +00:00
Eric Kohl
277fc435a5 Removed broken icon.
svn path=/trunk/; revision=4830
2003-06-03 20:35:48 +00:00
Jurgen van Gael
7e41bced72 Implemented NtUserGetAncestor with GA_ROOT flag, stops winhello from crashing when clicking on the title bar.
svn path=/trunk/; revision=4828
2003-06-03 15:43:57 +00:00
Eric Kohl
1018ad9087 Point the root key's parent key pointer to the root key to prevent check routines from reporting false positives.
svn path=/trunk/; revision=4827
2003-06-03 07:28:01 +00:00
Eric Kohl
642d896c7b Implemented 'QueryName' method for key objects.
svn path=/trunk/; revision=4826
2003-06-02 16:51:15 +00:00
Eric Kohl
f05c47fa29 Fixed a tiny bug in ObQueryNameString().
svn path=/trunk/; revision=4825
2003-06-02 16:49:33 +00:00
Eric Kohl
002980df9c Fixed ObQueryNameString() for unnamed objects.
svn path=/trunk/; revision=4824
2003-06-02 13:03:15 +00:00
Eric Kohl
cea34097ce - Implemented ObQueryNameString().
- Added 'QueryName' object function.
- Implemented 'QueryName' function for file objects.

svn path=/trunk/; revision=4822
2003-06-02 10:04:28 +00:00
Hartmut Birr
210252c422 - Update two pde's if the kernel stack crosses a 4MB boundary.
svn path=/trunk/; revision=4821
2003-06-01 19:50:04 +00:00
Hartmut Birr
d4ce775b60 - Fixed the type of the result from open and replace fclose with close.
- Call time with a parameter (WIN32).

svn path=/trunk/; revision=4820
2003-06-01 19:35:28 +00:00
Hartmut Birr
819f2750e9 - Return after cleanup in NtEnumerateKey.
svn path=/trunk/; revision=4819
2003-06-01 19:28:12 +00:00
Hartmut Birr
392a5753ab - Added memccpy.
svn path=/trunk/; revision=4818
2003-06-01 19:23:18 +00:00
Hartmut Birr
4900a6f281 - Removed some files which are replaced by the string library.
svn path=/trunk/; revision=4817
2003-06-01 19:18:09 +00:00
Eric Kohl
c28184bd36 Added missing .cvsignore file. Patch by Michael Fritscher.
svn path=/trunk/; revision=4816
2003-06-01 18:18:02 +00:00
Eric Kohl
25758f18d9 Implemented RtlExtendedMagicDivide() and RtlSelfRelativeToAbsoluteSD(). Patch by Marc Schuetz.
svn path=/trunk/; revision=4815
2003-06-01 18:14:24 +00:00
Eric Kohl
b036cea0eb Implemented RtlExtendedMagicDivide(). Patch by Marc Schuetz.
svn path=/trunk/; revision=4814
2003-06-01 18:13:23 +00:00
Eric Kohl
8eb47000b7 Remobed duplicate functionality and cleaned-up the registry code.
svn path=/trunk/; revision=4813
2003-06-01 17:39:14 +00:00
Hartmut Birr
d197898a75 - Fixed a bug in the section which makes the destination pointer dword aligned.
svn path=/trunk/; revision=4812
2003-06-01 17:10:42 +00:00
Hartmut Birr
cdeedf3bb4 - Do not free the environment strings from the initial environment.
svn path=/trunk/; revision=4811
2003-06-01 17:08:03 +00:00
Hartmut Birr
ec5e98348c - Open CONOUT$ for accessing the console buffer. This fixes the
"GetConsolScreenBufferInfo : error 6" message, if the stdout handle is redirected.

svn path=/trunk/; revision=4810
2003-06-01 17:06:22 +00:00
Eric Kohl
f170e40b0a Fixed remaining object name issues in NtLoadKey2() and NtUnloadKey().
svn path=/trunk/; revision=4809
2003-06-01 15:10:52 +00:00
Eric Kohl
813549499b Preliminary fix for NtQueryObject().
svn path=/trunk/; revision=4808
2003-06-01 15:09:34 +00:00
Casper Hornstrup
05a9cdcf10 2003-06-01 Casper S. Hornstrup <chorns@users.sourceforge.net>
Changes for compiling with w32api

	* include/ntos/zwtypes.h (SYSTEM_MODULES): Rename to
	SYSTEM_MODULE_INFORMATION. Match w32api structure fieldnames.
	(SYSTEM_MODULE_INFORMATION):  Rename to SYSTEM_MODULE_INFORMATION_ENTRY.
	Match w32api structure fieldnames.
	* include/epsapi.h: Include <ntos.h>.
	(PSYSMOD_ENUM_ROUTINE, PsaCaptureSystemModules, PsaWalkSystemModules,
	PsaWalkFirstSystemModule, PsaWalkNextSystemModule): Use
	SYSTEM_MODULE_INFORMATION_ENTRY and SYSTEM_MODULE_INFORMATION structures.
	* lib/epsapi/enum/drivers.c: Use SYSTEM_MODULE_INFORMATION_ENTRY and
	SYSTEM_MODULE_INFORMATION structures.
	* lib/psapi/misc/win32.c: Ditto.
	* ntoskrnl/ldr/loader.c: Ditto.
	* lib/epsapi/enum/modules.c: Include <ntos.h>.
	* lib/ntdll/rtl/thread.c: Ditto.
	* lib/rosrtl/thread/context.c: Ditto.
	* lib/rosrtl/thread/create.c: Ditto.
	* lib/rosrtl/thread/stack.c: Ditto.
	* include/ntos.h: Include "rosrtl/thread.h".
	* include/structs.h (_BLOB_DEFINED): Rename to __BLOB_T_DEFINED.
	* include/winsock2.h: Ditto.
	* include/ntos/obtypes.h (POBJECT_TYPE): Make a pointer to struct
	_OBJECT_TYPE.
	(PHANDLE_TABLE): Make a pointer to struct _HANDLE_TABLE.
	* ntoskrnl/include/internal/mm.h (PSECTION_OBJECT): Make a pointer to
	struct _SECTION_OBJECT.
	* ntoskrnl/include/internal/i386/ps.h (PKPCR): Make a pointer to struct
	_KPCR.

svn path=/trunk/; revision=4807
2003-06-01 14:59:02 +00:00
Steven Edwards
17c104a163 Added named pipe test by Dan Kegel
svn path=/trunk/; revision=4806
2003-05-31 20:26:49 +00:00
Steven Edwards
d29a317edc Changed name of edit control test
svn path=/trunk/; revision=4805
2003-05-31 19:43:59 +00:00
Eric Kohl
ba5a26559b - Implemented RtlAdjustPrivileges().
- Implemented NtAdjustPrivilegesToken() partially.
- Fixed declaration of LUID.

svn path=/trunk/; revision=4804
2003-05-31 11:10:30 +00:00
Gé van Geldorp
5f47cf8a2a Use DPRINT1 instead of DbgPrint
svn path=/trunk/; revision=4803
2003-05-31 08:53:14 +00:00
Gé van Geldorp
f0aa23eb97 Fix some bugs relating to child windows
svn path=/trunk/; revision=4802
2003-05-31 08:51:58 +00:00
Eric Kohl
dea1b856c7 Implemented NtLoadKey2() and NtUnloadKey().
Implementation is still incomplete but functional.

svn path=/trunk/; revision=4801
2003-05-30 22:28:14 +00:00
Eric Kohl
da25678127 Added missing registry options.
svn path=/trunk/; revision=4800
2003-05-30 22:26:25 +00:00
Hartmut Birr
ddeb6c9e87 - Removed files for functions which are used from the string library.
svn path=/trunk/; revision=4799
2003-05-29 18:01:42 +00:00
Eric Kohl
6d2758d3b7 Converted the Registry to Unicode.
Link default user hive to '\Registry\User\.Default'

svn path=/trunk/; revision=4798
2003-05-29 14:09:41 +00:00
Gé van Geldorp
7a7e93c4ab Set height of default fonts to non-zero
svn path=/trunk/; revision=4797
2003-05-29 13:18:39 +00:00
Gé van Geldorp
9906724442 Fix WM_GETTEXT handling
svn path=/trunk/; revision=4796
2003-05-29 13:17:41 +00:00
Eric Kohl
d5d6a165bd Added removal of .d files to 'clean' rule.
svn path=/trunk/; revision=4795
2003-05-29 08:50:23 +00:00
KJK::Hyperion
66080da575 - Kernel32: implemented fibers. Almost complete - only lacks some Windows 2003 Server features (switching the floating point context and Fiber Local Storage functions)
- Kernel32: GetCurrentFiber and GetFiberData are macros, not functions
 - Kernel32: ExitThread now is declared as __declspec(noreturn)
 - RosRtl: two new functions to allocate and free stacks
 - RosRtl: corrected a couple of prototypes

svn path=/trunk/; revision=4794
2003-05-29 00:36:41 +00:00
Steven Edwards
2382d9e48e Add simple edit control test.
- I'm going to try my hand at porting the WINE edit control
  as Richard and Ge work on User32

svn path=/trunk/; revision=4793
2003-05-28 22:14:19 +00:00
Casper Hornstrup
1e2c725f58 2003-05-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
* Makefile: Update bootcd target.

svn path=/trunk/; revision=4792
2003-05-28 19:53:53 +00:00
Casper Hornstrup
a255631bec 2003-05-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
* subsys/system/usetup/progress.c (ProgressNextStep): Check if NewPos
	is odd.

svn path=/trunk/; revision=4790
2003-05-28 18:35:35 +00:00
Casper Hornstrup
2d947f6f92 2003-05-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
Changes for compiling with w32api

	* include/ddk/haltypes.h: Move ...
	* include/ntos/haltypes.h: ... here.
	* include/ddk/obtypes.h: Move ...
	* include/ntos/obtypes.h: ... here.
	* include/ddk/i386/tss.h: Move ...
	* include/ntos/tss.h: ... here.
	* include/errors.h, include/windows.h: #include_next <windows.h>.
	* include/ntos.h: Include "ntos/haltypes.h", "ntos/obtypes.h", and
	"ntos/tss.h".
	* include/ddk/defines.h (EXPORTED, IMPORTED): Move to
	include/ntos/types.h.
	* include/ddk/exfuncs.h, include/ddk/mmtypes.h, include/ntos/except.h,
	include/ntos/file.h, include/ole32/guiddef.h, include/win32k/color.h,
	lib/msafd/include/debug.h, lib/user32/include/debug.h,
	lib/ws2_32/include/debug.h, lib/ws2help/debug.h,
	ntoskrnl/include/internal/debug.h, ntoskrnl/ke/i386/bthread.S,
	ntoskrnl/rtl/error.c: Don't define macros if previously defined.
	* include/ddk/halfuncs.h: Include <ntos/haltypes.h>.
	* include/ddk/iotypes.h: Include <ntos/obtypes.h>.
	* include/ddk/ketypes.h (MB_FLAGS_*, LOADER_MODULE, ADDRESS_RANGE,
	LOADER_PARAMETER_BLOCK): Move to include/ntos/types.h.
	* include/ddk/ntddk.h: #include_next <ddk/ntddk.h>.
	* include/ddk/ntifs.h: #include_next <ddk/ntifs.h>.
	* include/napi/shared_data.h (SharedUserData): Undefine before defining.
	* include/ntos/rtl.h (RtlUpcaseUnicodeString): Correct prototype.
	* include/ntos/zwtypes.h (THREAD_STATE): Add.
	* lib/ntdll/rtl/unicode.c (RtlUpcaseUnicodeString): Match new prototype.
	* ntoskrnl/rtl/unicode.c (RtlUpcaseUnicodeString): Ditto.
	* lib/string/Makefile: Include Makefile.$(ARCH). Don't include
	makefile.$(ARCH).
	* ntoskrnl/ex/sysinfo.c, ntoskrnl/include/internal/ntoskrnl.h,
	* ntoskrnl/include/internal/ob.h, ntoskrnl/ob/handle.c: Include <ntos.h>.
	* ntoskrnl/ke/i386/syscall.S: Don't include <ddk/defines.h>.
	(KernelMode, UserMode): Define.
	* ntoskrnl/ke/i386/stkswitch.S, ntoskrnl/ke/i386/tskswitch.S,
	ntoskrnl/ke/i386/v86m_sup.S: Include <ntos/tss.h>

svn path=/trunk/; revision=4789
2003-05-28 18:09:10 +00:00
Eric Kohl
91987ce5dc Convert Registry to Unicode. Part 2.
svn path=/trunk/; revision=4788
2003-05-28 16:09:51 +00:00
Eric Kohl
80344c77a6 Use Unicode strings in key objects.
svn path=/trunk/; revision=4787
2003-05-28 12:04:17 +00:00
Eric Kohl
be3c31a2c2 Updated registry key flags. Added missing fix.
svn path=/trunk/; revision=4786
2003-05-27 23:09:11 +00:00
Hartmut Birr
cf33a9ca6e - Forgot icon.ico for icontest.
svn path=/trunk/; revision=4785
2003-05-27 21:02:21 +00:00
Eric Kohl
00d19927ae Implemented spinlock and event functions.
svn path=/trunk/; revision=4784
2003-05-27 20:59:24 +00:00
Hartmut Birr
9bcbb3492c - Added icontest.
svn path=/trunk/; revision=4783
2003-05-27 20:57:11 +00:00
Hartmut Birr
07d2bba441 - Added icontest (contributed by Tim Jobling).
svn path=/trunk/; revision=4782
2003-05-27 20:51:39 +00:00
Hartmut Birr
6796cee74b - Removed files for functions which are used from the string library.
svn path=/trunk/; revision=4781
2003-05-27 20:17:04 +00:00
Hartmut Birr
8761554070 - Link string library to msvcrt.
svn path=/trunk/; revision=4780
2003-05-27 20:07:53 +00:00
Hartmut Birr
7944ef0129 *** empty log message ***
svn path=/trunk/; revision=4779
2003-05-27 20:02:20 +00:00
Hartmut Birr
d9ee350ffd - Link string library to crtdll.
svn path=/trunk/; revision=4778
2003-05-27 20:01:30 +00:00
Hartmut Birr
fac54407bb *** empty log message ***
svn path=/trunk/; revision=4777
2003-05-27 19:49:14 +00:00
Hartmut Birr
3d7e102b13 - Removed strcat, strchr, strcmp, strcpy, strlen, strncat, strncmp, strncpy and strrchr.
svn path=/trunk/; revision=4776
2003-05-27 19:41:10 +00:00
Hartmut Birr
7a6772f94b - Link the string library to ntdll.
svn path=/trunk/; revision=4775
2003-05-27 19:40:20 +00:00
Hartmut Birr
2ba9015708 *** empty log message ***
svn path=/trunk/; revision=4774
2003-05-27 19:28:40 +00:00
Hartmut Birr
7297d83e9f - Removed wcscat, wcschr, wcscmp, wcscpy, wcslen, wcsncat, wcsncmp, wcsncpy and wcsrchr.
svn path=/trunk/; revision=4773
2003-05-27 19:24:04 +00:00
Hartmut Birr
5ae840005e - Removed strcat, strchr, strcmp, strcpy, strlen, strncat, strncmp, strncpy and strrchr.
svn path=/trunk/; revision=4772
2003-05-27 19:22:42 +00:00
Hartmut Birr
ce562b2ba0 - Linked the string library to ntoskrnl.
svn path=/trunk/; revision=4771
2003-05-27 19:21:14 +00:00
Hartmut Birr
e44c02e52b - Added a one rule for static libraries.
- Added static string library.

svn path=/trunk/; revision=4770
2003-05-27 19:02:26 +00:00
Hartmut Birr
34cc922d57 - Added static string library.
svn path=/trunk/; revision=4769
2003-05-27 18:58:15 +00:00
Eric Kohl
1aa2d79e1d Added NLS information.
svn path=/trunk/; revision=4767
2003-05-27 13:59:53 +00:00
Eric Kohl
d5533a3ed7 Updated registry key flags. 0x20 means packed key name.
svn path=/trunk/; revision=4766
2003-05-27 13:58:26 +00:00
Gé van Geldorp
dfe58a3a5c Implement OffsetViewportOrgEx()
svn path=/trunk/; revision=4765
2003-05-27 07:23:05 +00:00
Gé van Geldorp
3c0df75f7c Fixes to UpdateRegion code, implement GetUpdateRgn() and ValidateRgn()
svn path=/trunk/; revision=4764
2003-05-26 18:52:37 +00:00
Richard Campbell
bae47d7a0f Install MultiWin test
svn path=/trunk/; revision=4763
2003-05-26 10:53:37 +00:00
Richard Campbell
7a4f224456 Syncing my changes with tree
svn path=/trunk/; revision=4762
2003-05-26 10:52:15 +00:00
Richard Campbell
2d32e95fa9 Simple Multiple Window Test
svn path=/trunk/; revision=4761
2003-05-26 10:51:20 +00:00
Hartmut Birr
ab5ce5a163 - Fixed the releasing of cache segments on error in ReadCacheSegment/CcCopyWrite/CcCopyRead.
svn path=/trunk/; revision=4760
2003-05-25 21:50:18 +00:00
Hartmut Birr
10acad2b71 - Check if a file object is on the close list and remove it from the list in CcRosRefernceCache.
- Sort the cache segments for the bcb by offsets.

svn path=/trunk/; revision=4759
2003-05-25 21:49:04 +00:00
Eric Kohl
c028a8b5e0 Added OsLoadOptions (kernel command line).
svn path=/trunk/; revision=4757
2003-05-25 21:14:53 +00:00
Richard Campbell
f8758cae49 Small visual fixes, more coming soon.
svn path=/trunk/; revision=4756
2003-05-25 21:05:38 +00:00
Eric Kohl
9526676d67 Removed unused NLS files.
svn path=/trunk/; revision=4755
2003-05-25 17:17:52 +00:00
Eric Kohl
c2b48451a9 Fixed memory-allocation for bins while loading hives.
svn path=/trunk/; revision=4754
2003-05-25 17:16:09 +00:00
Casper Hornstrup
49729ea1ab 2003-05-25 Casper S. Hornstrup <chorns@users.sourceforge.net>
* Makefile: Fix typo.

svn path=/trunk/; revision=4753
2003-05-25 14:26:28 +00:00
Casper Hornstrup
419b1c5759 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
2003-05-25 11:33:58 +00:00
Richard Campbell
ca127f5069 Several small bug fixes, nothing important
svn path=/trunk/; revision=4751
2003-05-25 10:53:05 +00:00
Hartmut Birr
2602dc4fec - Fixed the parameters in two calls to MEMCHECK.
svn path=/trunk/; revision=4750
2003-05-24 17:26:39 +00:00
Hartmut Birr
01a3fd2a8b - Initialize TableBase in PsCreatePeb.
svn path=/trunk/; revision=4749
2003-05-24 17:14:41 +00:00
Eric Kohl
763c776f24 Optimized hive import.
Removed text-hive support.
Removed text-hives.

svn path=/trunk/; revision=4748
2003-05-24 13:19:15 +00:00
Richard Campbell
9b91b02ef8 Actually, compile errors, let me fix first.
svn path=/trunk/; revision=4747
2003-05-23 23:12:02 +00:00
Richard Campbell
34855b5f6b Okay, NtUserFineWindowEx bug fixed.
svn path=/trunk/; revision=4746
2003-05-23 23:08:03 +00:00
Eric Kohl
6528cf1fdc Add experimental jamfiles (still buggy).
svn path=/trunk/; revision=4745
2003-05-23 22:43:03 +00:00
Richard Campbell
04572bc608 - 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
2003-05-23 17:07:12 +00:00
Richard Campbell
832463b116 Implement GetDesktopWindow()
svn path=/trunk/; revision=4743
2003-05-23 16:44:12 +00:00
Steven Edwards
c3234a4ad8 Patch by Tim Jobling - Fix unhandled exception in bitblt test.
svn path=/trunk/; revision=4742
2003-05-22 21:41:20 +00:00
Gé van Geldorp
fe8db53413 Add DebugOut device driver
svn path=/trunk/; revision=4741
2003-05-22 15:11:29 +00:00
Gunnar Dalsnes
5882d8441a -Dereference thread
-Reduce/fix handle-less-timer bitmap

svn path=/trunk/; revision=4740
2003-05-22 02:07:22 +00:00
Gunnar Dalsnes
e76a3a5ab0 -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
2003-05-22 00:47:04 +00:00
Gé van Geldorp
5af5f51b74 - 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
2003-05-21 22:58:43 +00:00
Eric Kohl
faa8f94f27 Use NLS-Section in user-mode.
svn path=/trunk/; revision=4736
2003-05-21 16:11:02 +00:00
Eric Kohl
17ad474bcb Minor update
svn path=/trunk/; revision=4735
2003-05-21 16:09:30 +00:00
Eric Kohl
d043a91017 Removed unused NLS stuff.
Cleaned-up PEB initialization.

svn path=/trunk/; revision=4734
2003-05-21 15:06:33 +00:00
Hartmut Birr
aa2f971da2 - Fixed the calculation of the TopAddress in MmFindGapTopDown.
svn path=/trunk/; revision=4733
2003-05-20 18:56:25 +00:00
Eric Kohl
562eeb5ceb Finished kernel-mode part of NLS section implementation.
svn path=/trunk/; revision=4732
2003-05-20 14:38:05 +00:00
Eric Kohl
74592b5432 Implemented NDIS timer functions.
svn path=/trunk/; revision=4731
2003-05-20 13:00:41 +00:00
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
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
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
Eric Kohl
f99473b691 Display human readable device descriptions for generic PnP-IDs.
svn path=/trunk/; revision=4667
2003-05-11 09:42:40 +00:00
Hartmut Birr
3350303771 - Changed data pointers from signed to unsigned char.
svn path=/trunk/; revision=4666
2003-05-11 07:44:14 +00:00
Gé van Geldorp
8d4eee3aab Check for messages sent by other threads
svn path=/trunk/; revision=4665
2003-05-10 21:47:04 +00:00
Emanuele Aliberti
780c1a105d Right description.
svn path=/trunk/; revision=4664
2003-05-10 10:31:32 +00:00
Eric Kohl
8e23b88b00 Removed duplicate output of used disk space in the summary.
svn path=/trunk/; revision=4660
2003-05-09 21:58:05 +00:00
Eric Kohl
dbf90936aa Added a little PnP-BIOS data dumper.
svn path=/trunk/; revision=4659
2003-05-08 18:55:09 +00:00
Gé van Geldorp
77d0973eaa Only update page dir for page containing stack
svn path=/trunk/; revision=4657
2003-05-08 05:26:36 +00:00
Gé van Geldorp
5966a211e9 Don't let page containing stack disappear when switching memory spaces
svn path=/trunk/; revision=4656
2003-05-07 21:41:03 +00:00
Aleksey Bragin
74c0e6eb1c 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
2003-05-07 19:33:14 +00:00
Aleksey Bragin
1ee3211646 Uncommented exporting of EthFilterDprIndicateReceive (and ReceiveComplete)
svn path=/trunk/; revision=4654
2003-05-07 19:09:48 +00:00
Eric Kohl
2b3487d3d6 Removed unix newlines
svn path=/trunk/; revision=4653
2003-05-07 18:45:56 +00:00
Eric Kohl
e0352540ed Moved test sound.
svn path=/trunk/; revision=4652
2003-05-06 19:01:03 +00:00
Eric Kohl
e09ba35e8c Fixed wrong types in printf strings.
svn path=/trunk/; revision=4650
2003-05-06 08:45:10 +00:00
Eric Kohl
d13fee86d3 Added emergency console dummy page.
Removed unused code.

svn path=/trunk/; revision=4649
2003-05-06 07:17:52 +00:00
Gé van Geldorp
4d7b93456f Fixes to GetFullPathNameA and RtlGetFullPathName_U by Tim Jobling
svn path=/trunk/; revision=4648
2003-05-06 06:49:57 +00:00
Casper Hornstrup
4ac8de4791 2003-05-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
* tools/helper.mk: Kill implicit rule ".o".

svn path=/trunk/; revision=4647
2003-05-05 19:59:21 +00:00
Emanuele Aliberti
38056aff4c KERNEL32.OpenConsoleW() implemented.
svn path=/trunk/; revision=4646
2003-05-05 19:58:27 +00:00
Steven Edwards
e8ebc1da08 build wm_paint and bitblt tests
svn path=/trunk/; revision=4645
2003-05-05 16:40:38 +00:00
Steven Edwards
65e14fea99 Add install for wm_paint and bitblt test
svn path=/trunk/; revision=4644
2003-05-05 16:40:05 +00:00
Gé van Geldorp
9f2567f198 Allow sending of messages from non-GUI threads
svn path=/trunk/; revision=4643
2003-05-04 15:42:21 +00:00
Gé van Geldorp
e16ddc6bdf Clean up debugging stuff and silence debug messages
svn path=/trunk/; revision=4642
2003-05-04 15:41:40 +00:00
Gé van Geldorp
d82ce80d6c (Partial) implementation of W32kGetDIBits()
svn path=/trunk/; revision=4641
2003-05-03 14:38:11 +00:00
Gé van Geldorp
e6f39d93f0 Fix GetDC(NULL), not complete yet
svn path=/trunk/; revision=4640
2003-05-03 14:12:14 +00:00
Gé van Geldorp
158fda092b Implement GetDeviceCaps()
svn path=/trunk/; revision=4639
2003-05-03 13:39:06 +00:00
Eric Kohl
98ed7cd2b1 Started work on second stage setup.
svn path=/trunk/; revision=4636
2003-05-02 18:12:38 +00:00
Gé van Geldorp
ec67470a38 Silence CVS
svn path=/trunk/; revision=4635
2003-05-02 07:57:04 +00:00
Gé van Geldorp
6644846375 Implemented NtUserRegisterWindowMessage
svn path=/trunk/; revision=4634
2003-05-02 07:52:33 +00:00
Gé van Geldorp
8eaabc5146 Properly clean up terminated threads
svn path=/trunk/; revision=4633
2003-05-01 22:00:31 +00:00
Eric Kohl
8cbf35a0f7 Get timeout value from the registry or use default timeout.
svn path=/trunk/; revision=4632
2003-05-01 17:50:35 +00:00
Eric Kohl
85c99dd8aa Get timeout value from the registry.
svn path=/trunk/; revision=4631
2003-05-01 17:49:23 +00:00
Gé van Geldorp
45661acd89 C++ runtime support, mostly copied from Wine
svn path=/trunk/; revision=4629
2003-04-30 22:07:30 +00:00
Gé van Geldorp
412a23aa10 Changed some DbgPrint's to DPRINT's
svn path=/trunk/; revision=4628
2003-04-30 22:04:12 +00:00
Gé van Geldorp
70dce1ee4b Added stubs for keybd_event() and mouse_event()
svn path=/trunk/; revision=4627
2003-04-30 22:03:00 +00:00
Gé van Geldorp
340ee78475 Fix SetThreadPriority()
svn path=/trunk/; revision=4626
2003-04-30 22:00:41 +00:00
Gé van Geldorp
ad70cd4bbe Implement ThreadBasePriority case for NtSetInformationThread()
svn path=/trunk/; revision=4625
2003-04-30 21:56:22 +00:00
Gé van Geldorp
e70e534a2e Added imm32 and winspool
svn path=/trunk/; revision=4624
2003-04-30 21:06:02 +00:00
Gé van Geldorp
deba825487 Install winspool.drv
svn path=/trunk/; revision=4623
2003-04-30 20:55:00 +00:00
Gé van Geldorp
4c59119a88 Fully stubbed winspool.drv (Wine printing is too different from ReactOS
to use that one)

svn path=/trunk/; revision=4622
2003-04-30 20:44:06 +00:00
Gé van Geldorp
f0d4e3c543 Zero-initialze TEB for new threads
svn path=/trunk/; revision=4620
2003-04-30 15:11:31 +00:00
Gé van Geldorp
78a50b48b4 All IsBadXxxxPtr return values were backward (TRUE when they should be
FALSE and vv.)

svn path=/trunk/; revision=4618
2003-04-29 22:39:57 +00:00
Eric Kohl
e678b87637 Disabled debug messages.
svn path=/trunk/; revision=4617
2003-04-29 19:49:17 +00:00