Hartmut Birr [Tue, 25 Jan 2005 21:11:46 +0000 (21:11 +0000)]
- Fixed some problems to recognize a FATX partition on a non xbox (Should be tested on a real xbox).
- Fixed the calculation of the number of clusters.
svn path=/trunk/; revision=13281
Hartmut Birr [Tue, 25 Jan 2005 21:10:42 +0000 (21:10 +0000)]
- Print the file information class if debug prints are enabled in VfatGet/SetInformation.
- Check for the open handle count instead of the reference count if file deletion is requested.
svn path=/trunk/; revision=13280
Hartmut Birr [Tue, 25 Jan 2005 21:09:55 +0000 (21:09 +0000)]
- Implemented dummy stubs for all fast io entry points. W2K does ignore the IsFastIoPossible variable of the fcb.
- Fixed the directory index of a file for FATX.
svn path=/trunk/; revision=13279
Hartmut Birr [Tue, 25 Jan 2005 21:08:54 +0000 (21:08 +0000)]
- Check for some special file streams in VfatUpdateEntry.
W2K does open the volume for changing the date and time,
but the volume hasn't a parent fcb.
- Fixed the directory index of a file for FATX.
svn path=/trunk/; revision=13278
Hartmut Birr [Tue, 25 Jan 2005 21:07:32 +0000 (21:07 +0000)]
- Fixed the directory index of a file for FATX.
- Replaced VfatSupersedeFile with VfatSetAllocationSizeInformation.
- Check for the file size before each call to CcMapData. W2K doesn't like it to map over the end of a directory.
svn path=/trunk/; revision=13277
Hartmut Birr [Tue, 25 Jan 2005 21:05:38 +0000 (21:05 +0000)]
- Always try to uninitialize the file cache in VfatCleanupFile.
- Try to purge the file cache if the last handle is closed and deleting of the file was requested.
svn path=/trunk/; revision=13276
Mike Nordell [Tue, 25 Jan 2005 20:53:37 +0000 (20:53 +0000)]
NtGdiExtTextOut (ExtTextOut in user-mode) should now obey at least the right clipping edge with ETO_CLIPPED.
svn path=/trunk/; revision=13275
Steven Edwards [Tue, 25 Jan 2005 19:11:22 +0000 (19:11 +0000)]
added winetests for version.dll
svn path=/trunk/; revision=13274
Steven Edwards [Tue, 25 Jan 2005 17:52:28 +0000 (17:52 +0000)]
remove some duplicate definintions.
svn path=/trunk/; revision=13273
Mike Nordell [Tue, 25 Jan 2005 16:38:18 +0000 (16:38 +0000)]
Fixe use of memory after it had been free'd.
svn path=/trunk/; revision=13272
Mike Nordell [Tue, 25 Jan 2005 16:26:01 +0000 (16:26 +0000)]
Kill compiler warning.
svn path=/trunk/; revision=13271
Mike Nordell [Tue, 25 Jan 2005 14:22:50 +0000 (14:22 +0000)]
Fix declaration of WSAStartup
svn path=/trunk/; revision=13270
Gé van Geldorp [Tue, 25 Jan 2005 08:32:47 +0000 (08:32 +0000)]
tinus <o112w8r02@sneakemail.com>
Properly allow removing toolbar bitmaps by changing it into 0.
svn path=/trunk/; revision=13269
Alex Ionescu [Tue, 25 Jan 2005 05:38:01 +0000 (05:38 +0000)]
Set up ACPI Interrupt data before creating the interrupt, to fix case where interrupt is being called as soon as it's being set up, before the data is set. Patch by tinus. Fixes bug 472
svn path=/trunk/; revision=13268
Alex Ionescu [Tue, 25 Jan 2005 05:11:17 +0000 (05:11 +0000)]
Fix compiler errors. Patch by Herve Poussineau. Fixes bug 478
svn path=/trunk/; revision=13267
Alex Ionescu [Tue, 25 Jan 2005 05:00:57 +0000 (05:00 +0000)]
Fix bug 474. Patch by tinus
svn path=/trunk/; revision=13266
Steven Edwards [Tue, 25 Jan 2005 01:35:43 +0000 (01:35 +0000)]
finished merging setupapi with Winehq CVS. Tommrow I will do a vendor drop of the latest Winehq CVS.
svn path=/trunk/; revision=13265
Alex Ionescu [Tue, 25 Jan 2005 01:23:23 +0000 (01:23 +0000)]
Fix bugs on optimized build, fix RtlpDispatchException gobbling up ebx (thx ge), remove obsolete files
svn path=/trunk/; revision=13264
Steven Edwards [Tue, 25 Jan 2005 01:22:10 +0000 (01:22 +0000)]
sync'd more of Wine setupapi. Added stubs and such.
svn path=/trunk/; revision=13263
Steven Edwards [Tue, 25 Jan 2005 01:21:38 +0000 (01:21 +0000)]
update to latest setupapi.h
svn path=/trunk/; revision=13262
Hartmut Birr [Tue, 25 Jan 2005 00:28:45 +0000 (00:28 +0000)]
- Enabled SYSENTER/SYSEXIT for application processors on smp machines.
svn path=/trunk/; revision=13261
Thomas Bluemel [Tue, 25 Jan 2005 00:05:56 +0000 (00:05 +0000)]
return error status in case probing the parameters failed in IoCreateFile()
svn path=/trunk/; revision=13260
Thomas Bluemel [Mon, 24 Jan 2005 23:59:30 +0000 (23:59 +0000)]
some more parameter checks in IoCreateFile()
svn path=/trunk/; revision=13259
Hartmut Birr [Mon, 24 Jan 2005 23:23:38 +0000 (23:23 +0000)]
- Fixed my last commit.
svn path=/trunk/; revision=13258
Hartmut Birr [Mon, 24 Jan 2005 22:58:54 +0000 (22:58 +0000)]
- Interpret STATUS_TIMEOUT as error in PsLockProcess.
svn path=/trunk/; revision=13257
Gé van Geldorp [Mon, 24 Jan 2005 22:02:09 +0000 (22:02 +0000)]
Implement IO_NO_PARAMETER_CHECKING flag
svn path=/trunk/; revision=13256
Martin Fuchs [Mon, 24 Jan 2005 21:25:27 +0000 (21:25 +0000)]
adjust properties (CRLF line endlings, ignores)
svn path=/trunk/; revision=13255
Gé van Geldorp [Mon, 24 Jan 2005 21:21:17 +0000 (21:21 +0000)]
Rollback last change, since we found out that IoCreateFile can accept
usermode parameters too
svn path=/trunk/; revision=13254
Martin Fuchs [Mon, 24 Jan 2005 21:05:37 +0000 (21:05 +0000)]
fix typo and update CVS->Subversion
svn path=/trunk/; revision=13253
Gé van Geldorp [Mon, 24 Jan 2005 19:42:54 +0000 (19:42 +0000)]
IoCreateFile should be passed kernelmode parameters.
svn path=/trunk/; revision=13252
Gé van Geldorp [Mon, 24 Jan 2005 19:32:40 +0000 (19:32 +0000)]
Check error code before it is possibly clobbered. Spotted by w3seek.
svn path=/trunk/; revision=13251
Art Yerkes [Mon, 24 Jan 2005 16:58:53 +0000 (16:58 +0000)]
Minor fix to ICMP receive.
svn path=/trunk/; revision=13249
Eric Kohl [Mon, 24 Jan 2005 14:17:30 +0000 (14:17 +0000)]
Implement DuplicateString and QueryRegistryValue.
svn path=/trunk/; revision=13248
Eric Kohl [Mon, 24 Jan 2005 11:53:36 +0000 (11:53 +0000)]
MyMalloc must not zero the memory.
svn path=/trunk/; revision=13247
Gé van Geldorp [Mon, 24 Jan 2005 09:41:00 +0000 (09:41 +0000)]
tinus <o112w8r02@sneakemail.com>
Don't allow selecting disabled menu items
svn path=/trunk/; revision=13246
Gé van Geldorp [Mon, 24 Jan 2005 09:33:21 +0000 (09:33 +0000)]
Sylvain Petreolle <spetreolle@yahoo.fr>:
Add makefile for "polytest" test & enable it.
Fix compile warnings for diskspeed & zwcontinue tests
svn path=/trunk/; revision=13245
Gé van Geldorp [Mon, 24 Jan 2005 09:31:42 +0000 (09:31 +0000)]
Fix compilation
svn path=/trunk/; revision=13244
Steven Edwards [Mon, 24 Jan 2005 05:12:15 +0000 (05:12 +0000)]
Correct location of a few stubs. Getting ready to sync in a day or so.
svn path=/trunk/; revision=13243
Alex Ionescu [Mon, 24 Jan 2005 02:08:25 +0000 (02:08 +0000)]
Proper support for vfatlib and allow -j2 to work (as long as make tools && make implib && make -j2 is used).
svn path=/trunk/; revision=13242
Thomas Bluemel [Mon, 24 Jan 2005 00:44:21 +0000 (00:44 +0000)]
fixed prototype of ZwOpenSemaphore
svn path=/trunk/; revision=13241
Thomas Bluemel [Mon, 24 Jan 2005 00:43:39 +0000 (00:43 +0000)]
minor fixes
svn path=/trunk/; revision=13240
Gé van Geldorp [Mon, 24 Jan 2005 00:18:57 +0000 (00:18 +0000)]
Nt -> Zw
svn path=/trunk/; revision=13239
Gé van Geldorp [Mon, 24 Jan 2005 00:15:29 +0000 (00:15 +0000)]
Make memory layout of GET_RETRIEVAL_DESCRIPTOR match RETRIEVAL_POINTERS_BUFFER
svn path=/trunk/; revision=13238
Thomas Bluemel [Mon, 24 Jan 2005 00:09:04 +0000 (00:09 +0000)]
don't copy the entire security descriptor to the stack in SeCaptureSecurityDescriptor() when previous mode is kernel mode and capturing for kernel mode is undesired
svn path=/trunk/; revision=13237
Thomas Bluemel [Sun, 23 Jan 2005 23:51:40 +0000 (23:51 +0000)]
1. fixed the timer functions to securely access buffers
2. minor fixes due to copy+paste
svn path=/trunk/; revision=13236
Thomas Bluemel [Sun, 23 Jan 2005 23:02:19 +0000 (23:02 +0000)]
1. fixed prototypes of NtSetSystemTime and NtQuerySystemTime and made them handle passed buffers securely
2. check for the SeSystemtimePrivilege privilege in NtSetSystemTime()
3. write debug messages when privileges are missing
svn path=/trunk/; revision=13235
Emanuele Aliberti [Sun, 23 Jan 2005 22:42:31 +0000 (22:42 +0000)]
ObjectBody->Permanent setting cleaned.
svn path=/trunk/; revision=13234
Gé van Geldorp [Sun, 23 Jan 2005 22:25:11 +0000 (22:25 +0000)]
Fix typo
svn path=/trunk/; revision=13233
Thomas Bluemel [Sun, 23 Jan 2005 22:09:27 +0000 (22:09 +0000)]
fixed semaphore functions to securely access buffers and some minor fixes
svn path=/trunk/; revision=13232
Alex Ionescu [Sun, 23 Jan 2005 21:26:27 +0000 (21:26 +0000)]
Fix svn:ignore problems and remove alignment hacks
svn path=/trunk/; revision=13231
Gé van Geldorp [Sun, 23 Jan 2005 21:19:24 +0000 (21:19 +0000)]
Nt -> Zw fixes
svn path=/trunk/; revision=13230
Thomas Bluemel [Sun, 23 Jan 2005 20:58:28 +0000 (20:58 +0000)]
get rid of the reactos-only RTL_REGISTRY_ENUM flag and added more debug messages to ease debugging failures
svn path=/trunk/; revision=13229
Gé van Geldorp [Sun, 23 Jan 2005 20:57:45 +0000 (20:57 +0000)]
Make gdb stack trace back to usermode work again
svn path=/trunk/; revision=13228
Gé van Geldorp [Sun, 23 Jan 2005 20:48:19 +0000 (20:48 +0000)]
Keep usermode stack 4-byte aligned
svn path=/trunk/; revision=13227
Thomas Bluemel [Sun, 23 Jan 2005 18:18:08 +0000 (18:18 +0000)]
the system process should be called "System", not "SYSTEM"
svn path=/trunk/; revision=13226
Art Yerkes [Sun, 23 Jan 2005 11:01:51 +0000 (11:01 +0000)]
Fixed DNS lookup in ping.
Fixed output format.
Patch by Andrew Munger (WaxDragon)
svn path=/trunk/; revision=13224
Art Yerkes [Sun, 23 Jan 2005 09:51:03 +0000 (09:51 +0000)]
Fixed broadcast UDP.
lan: Added calculation of broadcast address.
fileobjs: Check for broadcast receive.
neighbor: Check for broadcast send.
interface: Use cached broadcast address.
udp: Fix port allocation.
svn path=/trunk/; revision=13223
Thomas Bluemel [Sat, 22 Jan 2005 20:59:49 +0000 (20:59 +0000)]
don't leak resources on failure
svn path=/trunk/; revision=13220
Thomas Bluemel [Sat, 22 Jan 2005 20:53:14 +0000 (20:53 +0000)]
RtlCaptureUnicodeString should also check the buffers that the UNICODE_STRING structure points to...
svn path=/trunk/; revision=13219
Thomas Bluemel [Sat, 22 Jan 2005 15:48:00 +0000 (15:48 +0000)]
more NtXxx vs. ZwXxx fixes
svn path=/trunk/; revision=13215
Thomas Bluemel [Sat, 22 Jan 2005 14:34:54 +0000 (14:34 +0000)]
return the status code when probing the buffer failed
svn path=/trunk/; revision=13212
Thomas Bluemel [Sat, 22 Jan 2005 13:34:27 +0000 (13:34 +0000)]
1. remove obsolete buffer size checks from NtQueryInformationProcess()
2. fixed some buffer checks
svn path=/trunk/; revision=13210
Thomas Bluemel [Sat, 22 Jan 2005 12:45:03 +0000 (12:45 +0000)]
fixed the prototype of KePulseEvent() and made NtPulseEvent() return the previous state
svn path=/trunk/; revision=13209
Thomas Bluemel [Sat, 22 Jan 2005 12:20:12 +0000 (12:20 +0000)]
1. A few Nt vs. Zw fixes
2. Fixed and extended RtlCaptureUnicodeString()
3. securely access buffers in NtQuerySystemEnvironmentValue() and NtSetSystemEnvironmentValue() and check for required SeSystemEnvironmentPrivilege privilege
svn path=/trunk/; revision=13208
Art Yerkes [Sat, 22 Jan 2005 06:47:33 +0000 (06:47 +0000)]
Working ping.
msafd: Added datagram flag to SOCK_RAW sockets
transport/* did some refactoring, added some printing.
Main thing: there is now a generic IP only header builder in rawip that's
shared by udp and rawip.
afd: Make sure datagram sockets always select writable
Add some socket close infrastructure to kill associated active polls
svn path=/trunk/; revision=13207
Alex Ionescu [Sat, 22 Jan 2005 03:54:23 +0000 (03:54 +0000)]
Fix remaning ROS bugs. A minor hack has been added to ObCreateObject because it seems that gcc doesn't dword-align the stacks?!! Thanks to w3seek for some of the ex patches.
svn path=/trunk/; revision=13206
Steven Edwards [Sat, 22 Jan 2005 02:38:07 +0000 (02:38 +0000)]
more syncing of setupapi
svn path=/trunk/; revision=13205
Art Yerkes [Sat, 22 Jan 2005 02:06:56 +0000 (02:06 +0000)]
Removed uninitialized uSec and its use.
svn path=/trunk/; revision=13204
Steven Edwards [Sat, 22 Jan 2005 01:35:07 +0000 (01:35 +0000)]
started syncing setupapi.dll with Winehq. Once I get things in sync I will import to the vendor branch and do a proper merge.
svn path=/trunk/; revision=13203
Alex Ionescu [Sat, 22 Jan 2005 01:30:05 +0000 (01:30 +0000)]
Fix all remaning alignment errors. Ros is now moderately usable. Error in explorer remains making disk browsing impossible, but with other tools it still works
svn path=/trunk/; revision=13202
Alex Ionescu [Sat, 22 Jan 2005 01:00:12 +0000 (01:00 +0000)]
ReactOS now boots. More bug fixes needed
svn path=/trunk/; revision=13201
Thomas Bluemel [Fri, 21 Jan 2005 23:58:30 +0000 (23:58 +0000)]
remove double function head of NtCreateEvent()
svn path=/trunk/; revision=13200
Alex Ionescu [Fri, 21 Jan 2005 23:35:19 +0000 (23:35 +0000)]
First patch to fix seriously broken ROS (thank Thomas). Work in progress, will be cleaned up at the end
svn path=/trunk/; revision=13199
Thomas Bluemel [Fri, 21 Jan 2005 23:01:33 +0000 (23:01 +0000)]
don't probe ObjectAttributes if NULL
svn path=/trunk/; revision=13198
Thomas Bluemel [Fri, 21 Jan 2005 22:25:54 +0000 (22:25 +0000)]
NtCreateJobObject() should create the handle instead of just returning a uninitialized variable
svn path=/trunk/; revision=13197
Thomas Bluemel [Fri, 21 Jan 2005 21:37:32 +0000 (21:37 +0000)]
Simplify buffer checks for NtQueryInformation...() and NtSetInformation...() using universal macros and information class tables
svn path=/trunk/; revision=13196
Thomas Bluemel [Fri, 21 Jan 2005 21:34:49 +0000 (21:34 +0000)]
the ProcessPriorityBoost class expects ULONG, not BOOL
svn path=/trunk/; revision=13195
Thomas Bluemel [Fri, 21 Jan 2005 21:29:29 +0000 (21:29 +0000)]
properly query the device map
svn path=/trunk/; revision=13194
Thomas Bluemel [Fri, 21 Jan 2005 20:31:24 +0000 (20:31 +0000)]
properly set the access token in CreateProcessAsUser()
svn path=/trunk/; revision=13192
Gregor Anich [Fri, 21 Jan 2005 17:24:34 +0000 (17:24 +0000)]
Fix compiler warning.
svn path=/trunk/; revision=13189
Thomas Bluemel [Fri, 21 Jan 2005 17:17:13 +0000 (17:17 +0000)]
fixed ASSERT statement, thanks to blight for pointing it out
svn path=/trunk/; revision=13188
Gé van Geldorp [Fri, 21 Jan 2005 16:50:11 +0000 (16:50 +0000)]
Merge back commit from winehq
svn path=/trunk/; revision=13187
Thomas Bluemel [Fri, 21 Jan 2005 14:52:53 +0000 (14:52 +0000)]
partial implementation of NtTerminateJobObject()
svn path=/trunk/; revision=13186
Thomas Bluemel [Fri, 21 Jan 2005 14:40:06 +0000 (14:40 +0000)]
implemented NtOpenJobObject()
svn path=/trunk/; revision=13185
Thomas Bluemel [Fri, 21 Jan 2005 14:12:03 +0000 (14:12 +0000)]
partial implementation of NtAssignProcessToJobObject() and NtCreateJobObject()
svn path=/trunk/; revision=13184
Thomas Bluemel [Fri, 21 Jan 2005 13:25:28 +0000 (13:25 +0000)]
add PoolType parameter to ObpCaptureObjectAttributes() and removed an unused parameter
svn path=/trunk/; revision=13183
Eric Kohl [Fri, 21 Jan 2005 12:27:32 +0000 (12:27 +0000)]
Implement MyFree, MyMalloc and MyReAlloc.
svn path=/trunk/; revision=13182
Thomas Bluemel [Fri, 21 Jan 2005 11:14:41 +0000 (11:14 +0000)]
fixed ObpCaptureObjectAttributes() so it doesn't copy the object name if probing previously failed
svn path=/trunk/; revision=13181
Thomas Bluemel [Fri, 21 Jan 2005 10:33:30 +0000 (10:33 +0000)]
fixed usage of uninitialized variable
svn path=/trunk/; revision=13180
Thomas Bluemel [Fri, 21 Jan 2005 10:28:13 +0000 (10:28 +0000)]
added helper functions ObpCaptureObjectAttributes() and ObpReleaseObjectAttributes() to be used to safely capture OBJECT_ATTRIBUTES structures
svn path=/trunk/; revision=13179
Thomas Bluemel [Fri, 21 Jan 2005 02:39:59 +0000 (02:39 +0000)]
SeCaptureSecurityDescriptor() should only copy SIDs and ACLs when present
svn path=/trunk/; revision=13178
Mike Nordell [Fri, 21 Jan 2005 02:34:33 +0000 (02:34 +0000)]
Fix crashing browsing namespace with non-zero-terminated UNICODE_STRING.
svn path=/trunk/; revision=13177
Thomas Bluemel [Fri, 21 Jan 2005 02:19:13 +0000 (02:19 +0000)]
SeCaptureSecurityDescriptor() should take PoolType into account...
svn path=/trunk/; revision=13176
Thomas Bluemel [Fri, 21 Jan 2005 02:14:52 +0000 (02:14 +0000)]
implemented SeCaptureSecurityDescriptor() and SeReleaseSecurityDescriptor(), thanks also to Alex
svn path=/trunk/; revision=13175
Gunnar Dalsnes [Thu, 20 Jan 2005 23:25:05 +0000 (23:25 +0000)]
forgot a letter...
svn path=/trunk/; revision=13174
Gunnar Dalsnes [Thu, 20 Jan 2005 23:21:14 +0000 (23:21 +0000)]
add readme with rtl restrictions info
svn path=/trunk/; revision=13172
Gé van Geldorp [Thu, 20 Jan 2005 22:45:22 +0000 (22:45 +0000)]
Gedi <gedi@ntworld.com>
Prevent possible use of uninitialized var warning
svn path=/trunk/; revision=13170
Thomas Bluemel [Thu, 20 Jan 2005 21:03:35 +0000 (21:03 +0000)]
don't touch memory outside the area to be probed in ProbeForWrite() and minor address range check fixes in ProbeForRead/Write()
svn path=/trunk/; revision=13167
Alex Ionescu [Thu, 20 Jan 2005 13:31:49 +0000 (13:31 +0000)]
Fix FsRtl function prototypes
svn path=/trunk/; revision=13166
Thomas Bluemel [Thu, 20 Jan 2005 13:17:57 +0000 (13:17 +0000)]
fixed uninitialized variables warning
svn path=/trunk/; revision=13165