reactos.git
13 years ago - Handle STATUS_INVALID_PARAMETER
Cameron Gutman [Fri, 22 Aug 2008 19:30:33 +0000 (19:30 +0000)]
 - Handle STATUS_INVALID_PARAMETER

svn path=/branches/aicom-network-fixes/; revision=35537

13 years ago - Return a more accurate status (STATUS_INVALID_PARAMETER) than STATUS_UNSUCCESSFUL...
Cameron Gutman [Fri, 22 Aug 2008 19:26:30 +0000 (19:26 +0000)]
 - Return a more accurate status (STATUS_INVALID_PARAMETER) than STATUS_UNSUCCESSFUL when a parameter is NULL

svn path=/branches/aicom-network-fixes/; revision=35536

13 years ago - Replace MmMapLockedPages with MmGetSystemAddressForMdlSafe
Cameron Gutman [Thu, 21 Aug 2008 14:46:03 +0000 (14:46 +0000)]
 - Replace MmMapLockedPages with MmGetSystemAddressForMdlSafe
 - Add a check to UnlockRequest
 - Enclose MmProbeAndLockPages in SEH
 - Fixes bug 3672

svn path=/branches/aicom-network-fixes/; revision=35507

13 years ago - Reapply r35481
Cameron Gutman [Wed, 20 Aug 2008 19:06:43 +0000 (19:06 +0000)]
 - Reapply r35481

svn path=/branches/aicom-network-fixes/; revision=35486

13 years ago - Fix IRP cancellation issues
Cameron Gutman [Wed, 20 Aug 2008 18:50:26 +0000 (18:50 +0000)]
 - Fix IRP cancellation issues
 - Ping doesn't hang anymore

svn path=/branches/aicom-network-fixes/; revision=35485

13 years ago - Revert 35477-35481
Cameron Gutman [Wed, 20 Aug 2008 18:46:38 +0000 (18:46 +0000)]
 - Revert 35477-35481

svn path=/branches/aicom-network-fixes/; revision=35484

13 years ago - Fix handling of cancelled IRPs
Cameron Gutman [Wed, 20 Aug 2008 17:29:01 +0000 (17:29 +0000)]
 - Fix handling of cancelled IRPs

svn path=/branches/aicom-network-fixes/; revision=35481

13 years ago - Don't forget about ConnectIrp (This fix was lost in the merge)
Cameron Gutman [Wed, 20 Aug 2008 14:56:12 +0000 (14:56 +0000)]
 - Don't forget about ConnectIrp (This fix was lost in the merge)
 - Don't destroy the same socket twice
 - Don't unlock the same socket twice
 - Don't destroy a socket with pending IRPs

svn path=/branches/aicom-network-fixes/; revision=35480

13 years ago - Fix build
Cameron Gutman [Wed, 20 Aug 2008 14:48:42 +0000 (14:48 +0000)]
 - Fix build

svn path=/branches/aicom-network-fixes/; revision=35479

13 years ago - The rest of the merge
Cameron Gutman [Wed, 20 Aug 2008 14:43:33 +0000 (14:43 +0000)]
 - The rest of the merge
 - This will most likely need fixing later

svn path=/branches/aicom-network-fixes/; revision=35478

13 years ago - Reapply arty's datagram cancellation work
Cameron Gutman [Wed, 20 Aug 2008 14:21:08 +0000 (14:21 +0000)]
 - Reapply arty's datagram cancellation work
 - Part 1 of 3

svn path=/branches/aicom-network-fixes/; revision=35477

13 years ago - Move LockBuffers
Cameron Gutman [Wed, 20 Aug 2008 01:42:12 +0000 (01:42 +0000)]
 - Move LockBuffers
 - Remove a duplicate debug print

svn path=/branches/aicom-network-fixes/; revision=35469

13 years ago - Use FCB->Connection.Object instead of FCB->AddressFile.Object
Cameron Gutman [Wed, 20 Aug 2008 01:10:13 +0000 (01:10 +0000)]
 - Use FCB->Connection.Object instead of FCB->AddressFile.Object
 - Spotted by Arty

svn path=/branches/aicom-network-fixes/; revision=35468

13 years ago - Fix a bug that resulted in the status getting changed if TdiQueryInformation failed
Cameron Gutman [Tue, 19 Aug 2008 23:50:41 +0000 (23:50 +0000)]
 - Fix a bug that resulted in the status getting changed if TdiQueryInformation failed

svn path=/branches/aicom-network-fixes/; revision=35467

13 years ago - Use MmGetSystemAddressForMdlSafe instead of MmMapLockedPages
Cameron Gutman [Tue, 19 Aug 2008 23:44:11 +0000 (23:44 +0000)]
 - Use MmGetSystemAddressForMdlSafe instead of MmMapLockedPages
 - Noticed by Alex

svn path=/branches/aicom-network-fixes/; revision=35466

13 years ago - Fix a memory leak
Cameron Gutman [Tue, 19 Aug 2008 21:45:08 +0000 (21:45 +0000)]
 - Fix a memory leak

svn path=/branches/aicom-network-fixes/; revision=35463

13 years ago - Make sure we have an mdl and a buffer
Cameron Gutman [Tue, 19 Aug 2008 17:45:53 +0000 (17:45 +0000)]
 - Make sure we have an mdl and a buffer

svn path=/branches/aicom-network-fixes/; revision=35457

13 years ago - SEHify LockRequest
Cameron Gutman [Tue, 19 Aug 2008 16:23:01 +0000 (16:23 +0000)]
 - SEHify LockRequest
 - Free everything and return if MmMapLockedPages fails

svn path=/branches/aicom-network-fixes/; revision=35454

13 years ago - MmMapLockedPages takes KPROCESSOR_MODE not LOCK_OPERATION as the second parameter
Cameron Gutman [Tue, 19 Aug 2008 16:06:36 +0000 (16:06 +0000)]
 - MmMapLockedPages takes KPROCESSOR_MODE not LOCK_OPERATION as the second parameter

svn path=/branches/aicom-network-fixes/; revision=35453

13 years ago - Make sure we don't complete with STATUS_SUCCESS if MmMapLockedPages fails
Cameron Gutman [Tue, 19 Aug 2008 04:36:05 +0000 (04:36 +0000)]
 - Make sure we don't complete with STATUS_SUCCESS if MmMapLockedPages fails
 - Move and enable MmUnlockPages and IoFreeMdl

svn path=/branches/aicom-network-fixes/; revision=35446

13 years ago - Release the spin lock
Cameron Gutman [Tue, 19 Aug 2008 00:19:18 +0000 (00:19 +0000)]
 - Release the spin lock

svn path=/branches/aicom-network-fixes/; revision=35441

13 years ago - Use the correct ioctl
Cameron Gutman [Mon, 18 Aug 2008 23:41:23 +0000 (23:41 +0000)]
 - Use the correct ioctl

svn path=/branches/aicom-network-fixes/; revision=35439

13 years ago - Don't hardcode the Ioctl
Cameron Gutman [Mon, 18 Aug 2008 23:35:32 +0000 (23:35 +0000)]
 - Don't hardcode the Ioctl

svn path=/branches/aicom-network-fixes/; revision=35438

13 years ago - Call MmProbeAndLockPages for SysMdl
Cameron Gutman [Mon, 18 Aug 2008 14:00:27 +0000 (14:00 +0000)]
 - Call MmProbeAndLockPages for SysMdl

svn path=/branches/aicom-network-fixes/; revision=35431

13 years ago - Handle STATUS_FILE_CLOSED
Cameron Gutman [Mon, 18 Aug 2008 00:05:05 +0000 (00:05 +0000)]
 - Handle STATUS_FILE_CLOSED

svn path=/branches/aicom-network-fixes/; revision=35420

13 years ago - Change STATUS_UNSUCCESSFUL to STATUS_FILE_CLOSED
Cameron Gutman [Sun, 17 Aug 2008 22:12:31 +0000 (22:12 +0000)]
 - Change STATUS_UNSUCCESSFUL to STATUS_FILE_CLOSED
 - Move the Irp->Cancel check after SocketAcquireStateLock to fix a possible crash
 - Change STATUS_INVALID_PARAMETER to STATUS_FILE_CLOSED
 - Move SocketAcquireStateLock in front of the check for a NULL return from LockRequest to prevent another possible crash

svn path=/branches/aicom-network-fixes/; revision=35419

13 years ago - Call SocketStateUnlock before returning
Cameron Gutman [Sun, 17 Aug 2008 21:48:09 +0000 (21:48 +0000)]
 - Call SocketStateUnlock before returning
 - Don't complete the IRP again in the completion routine

svn path=/branches/aicom-network-fixes/; revision=35418

13 years ago - Add debug prints for failure statuses
Cameron Gutman [Sun, 17 Aug 2008 08:17:03 +0000 (08:17 +0000)]
 - Add debug prints for failure statuses

svn path=/branches/aicom-network-fixes/; revision=35404

13 years ago - Make sure we successfully allocated ConnectionReturnInfo and ConnectionCallInfo
Cameron Gutman [Sat, 16 Aug 2008 21:16:41 +0000 (21:16 +0000)]
 - Make sure we successfully allocated ConnectionReturnInfo and ConnectionCallInfo
 - Make sure ObReferenceObjectByHandle was successful

svn path=/branches/aicom-network-fixes/; revision=35398

13 years ago - Move SocketAcquireStateLock out of SEH
Cameron Gutman [Sat, 16 Aug 2008 15:06:12 +0000 (15:06 +0000)]
 - Move SocketAcquireStateLock out of SEH

svn path=/branches/aicom-network-fixes/; revision=35393

13 years ago - Move MmUnlockPages to the proper place (still commented out though)
Cameron Gutman [Sat, 16 Aug 2008 14:23:58 +0000 (14:23 +0000)]
 - Move MmUnlockPages to the proper place (still commented out though)

svn path=/branches/aicom-network-fixes/; revision=35391

13 years ago - Fix another memory leak
Cameron Gutman [Sat, 16 Aug 2008 11:59:54 +0000 (11:59 +0000)]
 - Fix another memory leak

svn path=/branches/aicom-network-fixes/; revision=35385

13 years ago - Raise the maximum IRQL that this routine is callable to APC_LEVEL
Cameron Gutman [Sat, 16 Aug 2008 00:28:33 +0000 (00:28 +0000)]
 - Raise the maximum IRQL that this routine is callable to APC_LEVEL

svn path=/branches/aicom-network-fixes/; revision=35363

13 years ago - Fix a memory leak that occurs when AfdSetContext is called with a buffer that...
Cameron Gutman [Fri, 15 Aug 2008 18:26:52 +0000 (18:26 +0000)]
 - Fix a memory leak that occurs when AfdSetContext is called with a buffer that is too small
 - Properly return STATUS_BUFFER_TOO_SMALL when the buffer passed is too small

svn path=/branches/aicom-network-fixes/; revision=35358

13 years ago - Fix a typo resulting in any call to AfdGetSockOrPeerName with Local set to FALSE...
Cameron Gutman [Fri, 15 Aug 2008 18:14:55 +0000 (18:14 +0000)]
 - Fix a typo resulting in any call to AfdGetSockOrPeerName with Local set to FALSE to return STATUS_NO_MEMORY

svn path=/branches/aicom-network-fixes/; revision=35356

13 years ago - Fix a possible crash
Cameron Gutman [Thu, 14 Aug 2008 17:13:11 +0000 (17:13 +0000)]
 - Fix a possible crash
 - Fix 2 memory leaks

svn path=/branches/aicom-network-fixes/; revision=35343

13 years ago - Always set Irp->IoStatus.Status
Cameron Gutman [Thu, 14 Aug 2008 15:14:32 +0000 (15:14 +0000)]
 - Always set Irp->IoStatus.Status
 - Clear the cancel routine only when completing

svn path=/branches/aicom-network-fixes/; revision=35340

13 years ago - Handle STATUS_BUFFER_TOO_SMALL
Cameron Gutman [Wed, 13 Aug 2008 22:33:48 +0000 (22:33 +0000)]
 - Handle STATUS_BUFFER_TOO_SMALL
 - Handle STATUS_NO_MEMORY

svn path=/branches/aicom-network-fixes/; revision=35320

13 years ago - Set Buf to NULL so we don't try to free it again later
Cameron Gutman [Wed, 13 Aug 2008 14:53:22 +0000 (14:53 +0000)]
 - Set Buf to NULL so we don't try to free it again later

svn path=/branches/aicom-network-fixes/; revision=35306

13 years ago - Revert r35279 due to some odd problems with UnlockBuffers when completing
Cameron Gutman [Wed, 13 Aug 2008 04:40:39 +0000 (04:40 +0000)]
 - Revert r35279 due to some odd problems with UnlockBuffers when completing

svn path=/branches/aicom-network-fixes/; revision=35298

13 years ago - Don't crash if we are already freed
Cameron Gutman [Wed, 13 Aug 2008 02:55:05 +0000 (02:55 +0000)]
 - Don't crash if we are already freed
 - Some code frees the buffers right after an operation fails which is fine

svn path=/branches/aicom-network-fixes/; revision=35297

13 years ago - Move memory freeing to ListenComplete
Cameron Gutman [Wed, 13 Aug 2008 00:19:34 +0000 (00:19 +0000)]
 - Move memory freeing to ListenComplete

svn path=/branches/aicom-network-fixes/; revision=35296

13 years ago - Check for FCB->TdiDeviceName.Buffer before attempting to access it
Cameron Gutman [Tue, 12 Aug 2008 20:03:53 +0000 (20:03 +0000)]
 - Check for FCB->TdiDeviceName.Buffer before attempting to access it
 - Fix 2 more memory leaks

svn path=/branches/aicom-network-fixes/; revision=35292

13 years ago - Free the MDL on failure
Cameron Gutman [Tue, 12 Aug 2008 18:34:07 +0000 (18:34 +0000)]
 - Free the MDL on failure
 - Use _SEH_YIELD

svn path=/branches/aicom-network-fixes/; revision=35291

13 years ago - Make sure both FCB->Recv.Window and FCB->Send.Window were created before returning...
Cameron Gutman [Tue, 12 Aug 2008 18:18:03 +0000 (18:18 +0000)]
 - Make sure both FCB->Recv.Window and FCB->Send.Window were created before returning STATUS_SUCCESS
 - Make sure MakeSocketIntoConnection() completed successfully
 - Make sure WarmSocketForConnection() completed successfully
 - Don't continue if TdiBuildNullConnectionInfoInPlace() fails
 - SEHify TdiBuildConnectionInfoInPlace()
 - Make sure we have a non-NULL TargetAddress before calling TdiSendDatagram()

svn path=/branches/aicom-network-fixes/; revision=35290

13 years ago - Fix another memory leak
Cameron Gutman [Tue, 12 Aug 2008 15:27:15 +0000 (15:27 +0000)]
 - Fix another memory leak

svn path=/branches/aicom-network-fixes/; revision=35289

13 years ago - Don't forget to call UnlockBuffers()
Cameron Gutman [Tue, 12 Aug 2008 03:20:52 +0000 (03:20 +0000)]
 - Don't forget to call UnlockBuffers()
 - Use Irp->IoStatus.Information instead of RecvReq->BufferArray[0].len

svn path=/branches/aicom-network-fixes/; revision=35283

13 years ago - Don't continue if locking failed
Cameron Gutman [Mon, 11 Aug 2008 22:44:24 +0000 (22:44 +0000)]
 - Don't continue if locking failed

svn path=/branches/aicom-network-fixes/; revision=35282

13 years ago - Only call LockBuffers() if we must
Cameron Gutman [Mon, 11 Aug 2008 15:32:45 +0000 (15:32 +0000)]
 - Only call LockBuffers() if we must

svn path=/branches/aicom-network-fixes/; revision=35279

13 years ago - Set the MDL we just freed to NULL so we don't try to free it again later
Cameron Gutman [Mon, 11 Aug 2008 14:38:17 +0000 (14:38 +0000)]
 - Set the MDL we just freed to NULL so we don't try to free it again later

svn path=/branches/aicom-network-fixes/; revision=35274

13 years ago - Move check for NULL FCB before trying to access it
Cameron Gutman [Sun, 10 Aug 2008 11:23:05 +0000 (11:23 +0000)]
 - Move check for NULL FCB before trying to access it
 - Should fix a random crash I got when testing my web server

svn path=/branches/aicom-network-fixes/; revision=35260

13 years ago - Uncomment TdiQueryAddress and get it to compile
Cameron Gutman [Sat, 9 Aug 2008 23:44:44 +0000 (23:44 +0000)]
 - Uncomment TdiQueryAddress and get it to compile

svn path=/branches/aicom-network-fixes/; revision=35251

13 years ago - Uncomment TdiQueryInformationEx and make it compile
Cameron Gutman [Sat, 9 Aug 2008 23:25:46 +0000 (23:25 +0000)]
 - Uncomment TdiQueryInformationEx and make it compile

svn path=/branches/aicom-network-fixes/; revision=35250

13 years ago - Fix another memory leak
Cameron Gutman [Sat, 9 Aug 2008 19:03:37 +0000 (19:03 +0000)]
 - Fix another memory leak

svn path=/branches/aicom-network-fixes/; revision=35246

13 years ago - Remove ASSERTs and return STATUS_INVALID_PARAMETER
Cameron Gutman [Fri, 8 Aug 2008 17:50:00 +0000 (17:50 +0000)]
 - Remove ASSERTs and return STATUS_INVALID_PARAMETER
 - Should fix Christoph's problem with ROS crashing when closing emule

svn path=/branches/aicom-network-fixes/; revision=35189

13 years ago - Add some ASSERTs
Cameron Gutman [Fri, 8 Aug 2008 16:56:51 +0000 (16:56 +0000)]
 - Add some ASSERTs

svn path=/branches/aicom-network-fixes/; revision=35188

13 years ago - Remove duplicate code
Cameron Gutman [Fri, 8 Aug 2008 16:17:06 +0000 (16:17 +0000)]
 - Remove duplicate code

svn path=/branches/aicom-network-fixes/; revision=35186

13 years ago - Revert my lib changes until I figure out some problems with them
Cameron Gutman [Thu, 7 Aug 2008 02:40:45 +0000 (02:40 +0000)]
 - Revert my lib changes until I figure out some problems with them

svn path=/branches/aicom-network-fixes/; revision=35155

13 years ago - Don't check Status so we don't quit looping after the first unsuccessful IRP
Cameron Gutman [Wed, 6 Aug 2008 22:19:53 +0000 (22:19 +0000)]
 - Don't check Status so we don't quit looping after the first unsuccessful IRP

svn path=/branches/aicom-network-fixes/; revision=35152

13 years ago - Use Status instead of IOSB.Status in some cases
Cameron Gutman [Tue, 5 Aug 2008 16:32:56 +0000 (16:32 +0000)]
 - Use Status instead of IOSB.Status in some cases

svn path=/branches/aicom-network-fixes/; revision=35129

13 years ago - Close the handle on failure
Cameron Gutman [Tue, 5 Aug 2008 01:46:59 +0000 (01:46 +0000)]
 - Close the handle on failure

svn path=/branches/aicom-network-fixes/; revision=35116

13 years ago - Fix one more memory leak
Cameron Gutman [Mon, 4 Aug 2008 21:06:39 +0000 (21:06 +0000)]
 - Fix one more memory leak
 - Note: The reason the network stack stops functioning occasionally is because it runs out of resources not because ReactOS crashes which is why I'm tracking down memory leaks

svn path=/branches/aicom-network-fixes/; revision=35114

13 years ago - Forgot to include one fix in my last commit
Cameron Gutman [Mon, 4 Aug 2008 17:11:04 +0000 (17:11 +0000)]
 - Forgot to include one fix in my last commit

svn path=/branches/aicom-network-fixes/; revision=35110

13 years ago - Fix more memory leaks
Cameron Gutman [Mon, 4 Aug 2008 16:46:53 +0000 (16:46 +0000)]
 - Fix more memory leaks

svn path=/branches/aicom-network-fixes/; revision=35107

13 years ago - Fix more leaks
Cameron Gutman [Mon, 4 Aug 2008 16:20:08 +0000 (16:20 +0000)]
 - Fix more leaks

svn path=/branches/aicom-network-fixes/; revision=35106

13 years ago - Revert the rest of r35080
Cameron Gutman [Mon, 4 Aug 2008 15:19:23 +0000 (15:19 +0000)]
 - Revert the rest of r35080
 - The memory is freed in AfdAccept

svn path=/branches/aicom-network-fixes/; revision=35102

13 years ago - Revert part of r35080
Cameron Gutman [Mon, 4 Aug 2008 15:16:44 +0000 (15:16 +0000)]
 - Revert part of r35080

svn path=/branches/aicom-network-fixes/; revision=35101

13 years ago - Fix 2 more memory leaks
Cameron Gutman [Sun, 3 Aug 2008 18:49:30 +0000 (18:49 +0000)]
 - Fix 2 more memory leaks

svn path=/branches/aicom-network-fixes/; revision=35080

13 years ago - Fail if we can't allocate memory
Cameron Gutman [Sun, 3 Aug 2008 18:02:10 +0000 (18:02 +0000)]
 - Fail if we can't allocate memory
 - Fix a memory leak
 - Also resize the buffer on STATUS_BUFFER_OVERFLOW

svn path=/branches/aicom-network-fixes/; revision=35076

13 years ago - Don't continue if OpenRegistryKey fails
Cameron Gutman [Sun, 3 Aug 2008 17:27:16 +0000 (17:27 +0000)]
 - Don't continue if OpenRegistryKey fails

svn path=/branches/aicom-network-fixes/; revision=35073

13 years ago - Handle STATUS_REMOTE_NOT_LISTENING
Cameron Gutman [Sun, 3 Aug 2008 09:52:22 +0000 (09:52 +0000)]
 - Handle STATUS_REMOTE_NOT_LISTENING

svn path=/branches/aicom-network-fixes/; revision=35062

13 years ago - Handle STATUS_INSUFFICIENT_RESOURCES
Cameron Gutman [Sun, 3 Aug 2008 09:40:13 +0000 (09:40 +0000)]
 - Handle STATUS_INSUFFICIENT_RESOURCES

svn path=/branches/aicom-network-fixes/; revision=35061

13 years ago - Check to see if the ZwEnumerateKey call succeeded with the larger buffer and conti...
Cameron Gutman [Sun, 3 Aug 2008 05:10:53 +0000 (05:10 +0000)]
 - Check to see if the ZwEnumerateKey call succeeded with the larger buffer and continue if possible

svn path=/branches/aicom-network-fixes/; revision=35055

13 years ago - Add some more debug prints for memory allocation/freeing
Cameron Gutman [Sun, 3 Aug 2008 03:05:39 +0000 (03:05 +0000)]
 - Add some more debug prints for memory allocation/freeing

svn path=/branches/aicom-network-fixes/; revision=35054

13 years ago - We must assign values to Irp->IoStatus.Status and Irp->IoStatus.Information becaus...
Cameron Gutman [Sun, 3 Aug 2008 01:38:05 +0000 (01:38 +0000)]
 - We must assign values to Irp->IoStatus.Status and Irp->IoStatus.Information because the function that called us might not call UnlockAndMaybeComplete to assign those values

svn path=/branches/aicom-network-fixes/; revision=35053

13 years ago - Set Irp->IoStatus.Information to 0
Cameron Gutman [Sat, 2 Aug 2008 20:53:32 +0000 (20:53 +0000)]
 - Set Irp->IoStatus.Information to 0
 - Set Irp->IoStatus.Status before returning

svn path=/branches/aicom-network-fixes/; revision=35046

13 years ago - We must complete the IRP if we fail because the function we were called from expec...
Cameron Gutman [Sat, 2 Aug 2008 14:52:19 +0000 (14:52 +0000)]
 - We must complete the IRP if we fail because the function we were called from expects the IRP to be completed after this call
 - Return the correct status

svn path=/branches/aicom-network-fixes/; revision=35038

13 years ago - Fix a bug where Irp->IoStatus wasn't set if Status == STATUS_PENDING
Cameron Gutman [Sat, 2 Aug 2008 03:51:17 +0000 (03:51 +0000)]
 - Fix a bug where Irp->IoStatus wasn't set if Status == STATUS_PENDING

svn path=/branches/aicom-network-fixes/; revision=35024

13 years ago - Make sure to set Irp->IoStatus.Status to the correct status
Cameron Gutman [Sat, 2 Aug 2008 03:17:53 +0000 (03:17 +0000)]
 - Make sure to set Irp->IoStatus.Status to the correct status

svn path=/branches/aicom-network-fixes/; revision=35023

13 years ago- These should no longer be needed now that TDI doesn't give back invalid IRPs
Cameron Gutman [Fri, 1 Aug 2008 17:21:52 +0000 (17:21 +0000)]
- These should no longer be needed now that TDI doesn't give back invalid IRPs
- I'll look into the canceling issue later

svn path=/branches/aicom-network-fixes/; revision=35014

13 years ago* Fix many memory leaks by unmapping MDL pages when UnlockAndMaybeComplete and LostSo...
Cameron Gutman [Fri, 1 Aug 2008 12:19:18 +0000 (12:19 +0000)]
* Fix many memory leaks by unmapping MDL pages when UnlockAndMaybeComplete and LostSocket are called with Status != STATUS_PENDING
This change should probably be merged to trunk before 0.3.6

svn path=/branches/aicom-network-fixes/; revision=35001

13 years ago * Properly handle STATUS_TIMEOUT
Cameron Gutman [Fri, 1 Aug 2008 12:06:19 +0000 (12:06 +0000)]
 * Properly handle STATUS_TIMEOUT
 * Don't crash if STATUS_END_OF_FILE and a NULL ReturnedBytes are passed
 * Handle STATUS_INVALID_CONNECTION

svn path=/branches/aicom-network-fixes/; revision=34997

13 years agoCreate a branch for network fixes.
Art Yerkes [Fri, 1 Aug 2008 11:32:26 +0000 (11:32 +0000)]
Create a branch for network fixes.

svn path=/branches/aicom-network-fixes/; revision=34994

13 years agoLars Martin Hambro <lars_martin4 AT hotmail DOT com>
Matthias Kupfer [Fri, 1 Aug 2008 10:17:41 +0000 (10:17 +0000)]
Lars Martin Hambro <lars_martin4 AT hotmail DOT com>
- Norwegian translation of magnify and downloader added.
- Fixed resource file (we request patches, not single changed files)
- See issue #3504 for more information.

svn path=/trunk/; revision=34993

13 years agoUpdated French translation for shell32. Also fixed typo, even if I thought I already...
Pierre Schweitzer [Fri, 1 Aug 2008 09:14:56 +0000 (09:14 +0000)]
Updated French translation for shell32. Also fixed typo, even if I thought I already did it!?

svn path=/trunk/; revision=34991

13 years ago- Preliminary implementation of SetWinEventHook and UnhookWinEvent.
James Tabor [Thu, 31 Jul 2008 23:48:35 +0000 (23:48 +0000)]
- Preliminary implementation of SetWinEventHook and UnhookWinEvent.
- Only wine cross test uses this and testing is not stable.
- Patches are welcome but all code is subject to change.
- All Hook code should be ready by Aug 4th.

svn path=/trunk/; revision=34988

13 years ago- Support relative callback proc with module base.
James Tabor [Thu, 31 Jul 2008 22:48:59 +0000 (22:48 +0000)]
- Support relative callback proc with module base.

svn path=/trunk/; revision=34985

13 years agoFix handle leaks in RtlCreateUserThread and SmExecPgm.
Jeffrey Morlan [Thu, 31 Jul 2008 21:33:17 +0000 (21:33 +0000)]
Fix handle leaks in RtlCreateUserThread and SmExecPgm.

svn path=/trunk/; revision=34984

13 years agoMario Kacmar <kario AT szm DOT sk>
Matthias Kupfer [Thu, 31 Jul 2008 19:53:49 +0000 (19:53 +0000)]
Mario Kacmar <kario AT szm DOT sk>
- Key remapping for qwertz applied.

svn path=/trunk/; revision=34983

13 years agoIn exit and _cexit, call atexit routines. (Bug 3432_)
Jeffrey Morlan [Thu, 31 Jul 2008 17:46:50 +0000 (17:46 +0000)]
In exit and _cexit, call atexit routines. (Bug 3432_)

svn path=/trunk/; revision=34980

13 years ago- Change an infinite loop to an assert to simplify debugging
Stefan Ginsberg [Thu, 31 Jul 2008 14:25:35 +0000 (14:25 +0000)]
- Change an infinite loop to an assert to simplify debugging

svn path=/trunk/; revision=34979

13 years ago- Fix ARM NTOS brekage (and amd64/ppc):
ReactOS Portable Systems Group [Thu, 31 Jul 2008 07:31:55 +0000 (07:31 +0000)]
- Fix ARM NTOS brekage (and amd64/ppc):
  - Only build kd/i386 on i386 builds since this code is x86-32 centric.
  - Only call KdpEnableSafeMem on i386 builds, since the code uses x86-32 centric defines.

svn path=/trunk/; revision=34977

13 years agommcreatevirtualmapping internal should accept process as input parameter, not assume...
ReactOS Portable Systems Group [Thu, 31 Jul 2008 07:09:28 +0000 (07:09 +0000)]
mmcreatevirtualmapping internal should accept process as input parameter, not assume null.

implement a broken version of mmcreateprocessaddressspace.

commit current checkpoint of arm mmu manager virtual mapping rewrite to sync with i386 code. the kernel part works fine and the kernel boots as far as it did before, but the code is still ugly.

svn path=/trunk/; revision=34976

13 years agodont include i386 headers in arm mmu manager headers.
ReactOS Portable Systems Group [Thu, 31 Jul 2008 07:07:00 +0000 (07:07 +0000)]
dont include i386 headers in arm mmu manager headers.

svn path=/trunk/; revision=34975

13 years agoimplement kiuserinitializeapc, and begin writing test code for kiswapprocess.
ReactOS Portable Systems Group [Thu, 31 Jul 2008 07:06:19 +0000 (07:06 +0000)]
implement kiuserinitializeapc, and begin writing test code for kiswapprocess.

svn path=/trunk/; revision=34974

13 years agofix formatting of i386 mmu code.
ReactOS Portable Systems Group [Thu, 31 Jul 2008 07:04:58 +0000 (07:04 +0000)]
fix formatting of i386 mmu code.

svn path=/trunk/; revision=34973

13 years agoPatch by Gregor Schneider a.k.a DosX
Matthias Kupfer [Wed, 30 Jul 2008 21:16:03 +0000 (21:16 +0000)]
Patch by Gregor Schneider a.k.a DosX
- use line breaks in debug output

svn path=/trunk/; revision=34966

13 years ago- center window only once
Matthias Kupfer [Wed, 30 Jul 2008 18:54:05 +0000 (18:54 +0000)]
- center window only once
- get path from executable module instead of current directory

svn path=/trunk/; revision=34964

13 years ago- don't display network propery dialog since it is not yet implemented
Johannes Anderwald [Wed, 30 Jul 2008 16:55:45 +0000 (16:55 +0000)]
- don't display network propery dialog since it is not yet implemented

svn path=/trunk/; revision=34963

13 years agouniform distribution of memory progress bars
Matthias Kupfer [Wed, 30 Jul 2008 15:12:09 +0000 (15:12 +0000)]
uniform distribution of memory progress bars

svn path=/trunk/; revision=34962