Commit graph

4136 commits

Author SHA1 Message Date
Eric Kohl
d9dc30e0aa * Implemented/fixed NtSetSecurityObject() and NtQuerySecurityObject().
* Updated object security method.
* Added security method for key objects.
* NtDeleteKey() deletes existing values but no subkeys.
* Calculate hive header checksum and increment hive update counters.

svn path=/trunk/; revision=4150
2003-02-15 18:46:28 +00:00
Eric Kohl
e028c60886 Calculate hive header checksum.
Use update counters for hive flushing.
Invalidate more than one block if a cell crosses block boundaries.

svn path=/trunk/; revision=4149
2003-02-14 23:01:06 +00:00
Eric Kohl
e8f191a72e Replaced filesystem list spinlock by an executive resource.
svn path=/trunk/; revision=4148
2003-02-14 22:54:38 +00:00
Eric Kohl
75e27edb71 Fixed declarations.
svn path=/trunk/; revision=4147
2003-02-14 17:52:31 +00:00
Eric Kohl
458223c320 New bins should be flushed properly.
Prepared log file support.

svn path=/trunk/; revision=4146
2003-02-14 17:48:54 +00:00
Hartmut Birr
1c043c1647 - Ntoskrnl uses for all access to internal structures the SectionObjectPointers from file object.
- The bcb field is removed from the REACTOS_COMMON_FCB_HEADER structure.
- FSD's store the pointer to the fcb in FsContext from file object. There is no pointer from ccb to the fcb.

svn path=/trunk/; revision=4145
2003-02-13 22:24:19 +00:00
Eric Kohl
44e85c2846 Implemented merging of free blocks.
svn path=/trunk/; revision=4144
2003-02-13 13:59:57 +00:00
Eric Kohl
493e797fa0 Added hive synchronization to value-related registry functions.
svn path=/trunk/; revision=4143
2003-02-12 19:00:23 +00:00
Eric Kohl
bd0f683f94 Added value delete and enumerate tests.
svn path=/trunk/; revision=4142
2003-02-12 18:56:49 +00:00
Eric Kohl
9895df9741 Implemented IsProcessorFeaturePresent().
svn path=/trunk/; revision=4141
2003-02-12 03:44:20 +00:00
KJK::Hyperion
15d50c5fcd * include/defines.h: defined INVALID_FILE_SIZE
* include/ntos/rtl.h: fixed typo
 * lib/kernel32/file/file.c: fixed GetCompressedFileSizeW
 * lib/kernel32/misc/comm.c: implemented BuildCommDCB and BuildCommDCBAndTimeouts
 * lib/kernel32/misc/handle.c: fixed SetHandleInformation
 * lib/kernel32/misc/time.c: fixed FileTimeToSystemTime
 * lib/kernel32/misc/dllmain.c: shut up a warning
 * lib/kernel32/misc/env.c: ditto
 * lib/kernel32/misc/ldr.c: ditto

svn path=/trunk/; revision=4140
2003-02-12 00:39:31 +00:00
Eric Kohl
c9f5e072dc Added two 'create value' tests.
svn path=/trunk/; revision=4139
2003-02-11 23:47:04 +00:00
Gé van Geldorp
ef9c7cc11f Font facename is stored in LOGFONTW itself (like in LOGFONT)
svn path=/trunk/; revision=4138
2003-02-11 23:35:23 +00:00
Gé van Geldorp
ffb96febaf Match STYPE_* definitions to DDK values
svn path=/trunk/; revision=4137
2003-02-11 00:16:40 +00:00
KJK::Hyperion
d470f18cfb sorry Casper, I have to insist: OSVERSIONINFOEX *derives* from OSVERSIONINFO. It's not just a matter of field names and types, it's a type-checking issue. At least for C++, it has to be inheritance. For C, it's temporarily commented out, until there's a macro to specify if the compiler supports unnamed structure members
svn path=/trunk/; revision=4136
2003-02-10 23:18:41 +00:00
Casper Hornstrup
1e6fba5a39 2003-02-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/structs.h (OSVERSIONINFOEXA): Expand definition of
	OSVERSIONINFOA.
	(OSVERSIONINFOEXW): Expand definition of OSVERSIONINFOW.
	* lib/msafd/misc/helpers.c (LocateHelperDLL): Cast AddressFamily,
	SocketType, and Protocol to INT.
	* lib/ws2_32/misc/catalog.c (LocateProvider): Ditto.

svn path=/trunk/; revision=4135
2003-02-10 21:29:41 +00:00
Eric Kohl
848ea5c2e0 Use ERESOURCE instead of spinlock to protect the hive list.
Use worker thread to run hive flush routine at dispatch level.
 - Changes by Hartmut Birr!

Delete a key's hash block when the key is deleted.
Update pointers and offsets in a key object when the key cell is deleted.

svn path=/trunk/; revision=4134
2003-02-10 21:24:45 +00:00
Eric Kohl
0430d6bf60 Fixed a typo.
svn path=/trunk/; revision=4133
2003-02-10 21:17:37 +00:00
Eric Kohl
51806a9cd8 Defined HTCLOSE. Patch by Richard Campbell.
svn path=/trunk/; revision=4132
2003-02-10 15:22:23 +00:00
KJK::Hyperion
bc3ba178e3 New utility tickcount: displays the kernel tick count in human readable format. Sample output:
3 days, 11 hours, 13 minutes, 27 seconds and 943 milliseconds

svn path=/trunk/; revision=4131
2003-02-09 21:17:21 +00:00
KJK::Hyperion
38078e6603 Some more fixes to tchar.h
svn path=/trunk/; revision=4130
2003-02-09 21:15:29 +00:00
Eric Kohl
8ce89c167c Simplified key deletion.
Added workaround to prevent BSOD on missing hives.

svn path=/trunk/; revision=4129
2003-02-09 19:55:40 +00:00
Eric Kohl
cc025a380a Disabled unimplemented tests
svn path=/trunk/; revision=4128
2003-02-09 19:11:51 +00:00
Eric Kohl
2c649ff694 Install hivetest.
svn path=/trunk/; revision=4127
2003-02-09 18:28:16 +00:00
Eric Kohl
e1bae36982 Added hivetest (modified regtest).
Replaced direct calls to make by $(MAKE).

svn path=/trunk/; revision=4126
2003-02-09 18:27:29 +00:00
Eric Kohl
4363c6ef6f Added hivetest (modified regtest).
svn path=/trunk/; revision=4125
2003-02-09 18:26:36 +00:00
Hartmut Birr
ee641bec75 Removed the fix for flushing modified cache segments in NtShutdownSystem.
svn path=/trunk/; revision=4124
2003-02-09 18:04:54 +00:00
Hartmut Birr
965149e8db Implemented IRP_MJ_FLUSH_BUFFERS.
Added cache flushing at shutdown.

svn path=/trunk/; revision=4123
2003-02-09 18:02:56 +00:00
Eric Kohl
8a23cc7a5b Added hive flushing.
- Only keys are supported (create / delete).
- No log-file support yet.
- Still a little buggy.

svn path=/trunk/; revision=4122
2003-02-09 11:57:14 +00:00
Nedko Arnaudov
652669005d Uncommented dependency file generating rule.
$(EXE_POSTFIX) use instead of ".exe".

svn path=/trunk/; revision=4121
2003-02-09 02:18:10 +00:00
Nedko Arnaudov
747e565cb0 Reference to web site at geocities removed (site is dropped).
svn path=/trunk/; revision=4120
2003-02-09 02:15:23 +00:00
Nedko Arnaudov
3cf6c316e7 Some minor documentation at last.
svn path=/trunk/; revision=4119
2003-02-09 02:13:27 +00:00
Eric Kohl
541a44a00e Fixed a bug in RtlFindSetBits().
svn path=/trunk/; revision=4118
2003-02-08 20:59:50 +00:00
Eric Kohl
0be3b55ba5 Copy file dates of source file too.
Get default install directory from txtsetup.sif.

svn path=/trunk/; revision=4116
2003-02-08 00:19:32 +00:00
Nedko Arnaudov
3fad983cf2 *** empty log message ***
svn path=/trunk/; revision=4115
2003-02-05 03:18:57 +00:00
KJK::Hyperion
325856dad9 Small fix to tchar.h
svn path=/trunk/; revision=4114
2003-02-04 01:13:26 +00:00
Gé van Geldorp
38535d7610 Fix by Royce3 to make _tolower() and _toupper() behave like their
MS counterparts

svn path=/trunk/; revision=4113
2003-02-03 17:05:19 +00:00
Gé van Geldorp
0f7e47f8bd Fix by Royce3
svn path=/trunk/; revision=4112
2003-02-03 16:59:27 +00:00
Eric Kohl
a9b14e9d16 Implemented CancelIo() and SetThreadIdealProcessor().
svn path=/trunk/; revision=4111
2003-02-03 14:20:24 +00:00
Gé van Geldorp
5bd96088c4 Set page protection for images having section alignment < page size
svn path=/trunk/; revision=4110
2003-02-03 11:52:46 +00:00
Gé van Geldorp
f5f297382d Set lpcbData (data length) correctly
svn path=/trunk/; revision=4109
2003-02-02 22:40:36 +00:00
Gé van Geldorp
45ce03c95f Make starting of SERVICES.EXE dependent on registry key
svn path=/trunk/; revision=4108
2003-02-02 22:38:54 +00:00
KJK::Hyperion
dc2da3fbac Cleaning up victims of stricter warning checking...
svn path=/trunk/; revision=4107
2003-02-02 19:27:17 +00:00
KJK::Hyperion
a9d96a9cfc Finally solved some advapi32 nonsense:
- advapi32 doesn't import any more from itself
 - smarter stubbing (look at the files modified in this commit)

svn path=/trunk/; revision=4106
2003-02-02 19:24:44 +00:00
KJK::Hyperion
2eabc8e38d Various makefile fixes:
- don't link crt0 and msvcrt by default into system DLLs
 - strict warning checking: all warnings displayed, and treated as errors

svn path=/trunk/; revision=4105
2003-02-02 19:24:16 +00:00
KJK::Hyperion
ec3fc77a5f Don't link crt0 and msvcrt into system DLLs
svn path=/trunk/; revision=4104
2003-02-02 17:36:16 +00:00
KJK::Hyperion
29981bcab8 Reimplemented LoadStringA
Implemented LoadStringW

svn path=/trunk/; revision=4103
2003-02-02 17:35:30 +00:00
Eric Kohl
670b6c8678 Fixed compiler warnings.
svn path=/trunk/; revision=4102
2003-02-02 17:21:06 +00:00
Eric Kohl
ffebe8dee1 Implemented QueryPerformanceCounter() and QueryPerformanceFrequency().
svn path=/trunk/; revision=4101
2003-02-02 16:57:49 +00:00
Eric Kohl
74bc05988d Implemented NtQueryPerformanceCounter().
svn path=/trunk/; revision=4100
2003-02-02 16:55:56 +00:00