Stefan Ginsberg
e82f1c91a7
- Fix MiSyncThreadProcessViews in KeInitThread too as requested by Alex
...
svn path=/trunk/; revision=35310
2008-08-13 18:00:23 +00:00
Stefan Ginsberg
bfd08e980b
- Remove KiRawTicks -- this was previously a ros-specific kernel export, but is now unused
...
- Fix a comment typo
svn path=/trunk/; revision=35309
2008-08-13 17:24:22 +00:00
Stefan Ginsberg
6c420630c9
- "Sync" to the next thread's initial stack in KiSwapThread. This fixes an invalid page fault (faulting while interrupts are disabled) during context switching, where we access the next thread's initial stack before performing the address space switch. Many thanks to Alex for his help with this bug!
...
- Fix stack size calculations in KeAttachProcess and KeStackAttachProcess (thanks to Alex for pointing this out)
svn path=/trunk/; revision=35308
2008-08-13 17:00:49 +00:00
Jeffrey Morlan
d36e61f36c
cmd_start:
...
- Allow space between /D and directory.
- Allow /W as a synonym for /WAIT.
- Give an error message on invalid switches.
- Clean up the function a bit.
svn path=/trunk/; revision=35307
2008-08-13 15:17:51 +00:00
Cameron Gutman
e5e4035c8d
- Set Buf to NULL so we don't try to free it again later
...
svn path=/branches/aicom-network-fixes/; revision=35306
2008-08-13 14:53:22 +00:00
Stefan Ginsberg
985409eda4
- Fix a (comment) typo
...
svn path=/trunk/; revision=35305
2008-08-13 14:30:35 +00:00
Aleksey Bragin
57debf9c5c
- Replace crt's lnx_sprintf implementation with the one from lib/rtl (46kb of useless code substituted by 14kb of code, works the same).
...
svn path=/trunk/; revision=35304
2008-08-13 11:47:34 +00:00
Stefan Ginsberg
86d20a647b
- Code cleanup
...
svn path=/trunk/; revision=35303
2008-08-13 09:07:34 +00:00
Stefan Ginsberg
8091f31182
- Fix a broken check in PspExitThread. We should check if Stack Swapping is _disabled_ during termination, not crash if it is enabled!
...
- Fix KeInitThread to respect this, and initialize EnableStackSwap to TRUE. Otherwise, only executive worker threads who modify the stack swap flag themselves encounter this issue.
- This, along with my previous change, fixes worker thread termination being completely broken and crashing ros.
- Thanks to Aleksey for confirming my changes
svn path=/trunk/; revision=35302
2008-08-13 09:00:50 +00:00
Johannes Anderwald
7d75e41b42
- implement deleting file using recyclebin api
...
- play a sound on when requested using the user default for emptying recycle bin
- rename shlfldr_mydocuments.c
svn path=/trunk/; revision=35301
2008-08-13 08:45:20 +00:00
Stefan Ginsberg
17beba5f93
- Fix a (comment) typo
...
svn path=/trunk/; revision=35300
2008-08-13 08:02:52 +00:00
Stefan Ginsberg
f93e329c60
- Reapply the PsTerminateSystemThread typo fix. We do boot fine with this fix.
...
- Note to self: Don't commit after midnight and always test your patches yourself
svn path=/trunk/; revision=35299
2008-08-13 07:55:59 +00:00
Cameron Gutman
4afbde3127
- Revert r35279 due to some odd problems with UnlockBuffers when completing
...
svn path=/branches/aicom-network-fixes/; revision=35298
2008-08-13 04:40:39 +00:00
Cameron Gutman
e07f679c75
- 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
2008-08-13 02:55:05 +00:00
Cameron Gutman
90f6b947b8
- Move memory freeing to ListenComplete
...
svn path=/branches/aicom-network-fixes/; revision=35296
2008-08-13 00:19:34 +00:00
Jeffrey Morlan
ab8e76985a
- Moved ExpandAlias call from ParseCommandLine to ReadCommand; aliases should only be processed when reading from the console. Removed processing of %variable% substitutions in ExpandAlias - not necessary now that aliases are expanded earlier.
...
- Rewrite %variable% substitution code, should be much more compatible with Windows cmd now.
svn path=/trunk/; revision=35295
2008-08-12 23:46:15 +00:00
Stefan Ginsberg
bd974a9e1c
- Temporarily revert my last change. We don't set the SystemThread flag appropriately and it is always zero
...
svn path=/trunk/; revision=35294
2008-08-12 22:22:51 +00:00
Stefan Ginsberg
2517d40711
- Fix a typo in PsTerminateSystemThread. Now this API will actually terminate system threads.
...
svn path=/trunk/; revision=35293
2008-08-12 21:40:06 +00:00
Cameron Gutman
70fd5e3314
- Check for FCB->TdiDeviceName.Buffer before attempting to access it
...
- Fix 2 more memory leaks
svn path=/branches/aicom-network-fixes/; revision=35292
2008-08-12 20:03:53 +00:00
Cameron Gutman
8f5e892fbf
- Free the MDL on failure
...
- Use _SEH_YIELD
svn path=/branches/aicom-network-fixes/; revision=35291
2008-08-12 18:34:07 +00:00
Cameron Gutman
b50e9e3146
- 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
2008-08-12 18:18:03 +00:00
Cameron Gutman
5d9c71ed13
- Fix another memory leak
...
svn path=/branches/aicom-network-fixes/; revision=35289
2008-08-12 15:27:15 +00:00
Colin Finck
ae4dc93917
Attempt to fix release build (broken in r35285)
...
svn path=/trunk/; revision=35288
2008-08-12 14:48:51 +00:00
Aleksey Bragin
2c26076f3c
- Change while (true) to an ASSERT(FALSE).
...
See issue #3616 for more details.
svn path=/trunk/; revision=35286
2008-08-12 08:46:31 +00:00
Aleksey Bragin
e03a9212c0
Giannis Adamopoulos <johnyadams@hotmail.com>
...
- Removes duplicated implementation of FrLdrLoadKernel, LoadDriver and LoadNlsFile from setupldr.c, use FrLdrLoadImage, FrLdrLoadNlsFile and FrLdrLoadDriver from reactos.c.
- Also remove the call to RegInitializeRegistry as setupldr doesn't need the registry.
- Make setupldr load the fastfat and ext2 drivers via txtsetup.sif, instead of hardcoding them in setupldr.c
svn path=/trunk/; revision=35285
2008-08-12 08:38:54 +00:00
Art Yerkes
2afb238075
Harden 'proc list'
...
svn path=/trunk/; revision=35284
2008-08-12 06:59:37 +00:00
Cameron Gutman
f0d01cf5aa
- Don't forget to call UnlockBuffers()
...
- Use Irp->IoStatus.Information instead of RecvReq->BufferArray[0].len
svn path=/branches/aicom-network-fixes/; revision=35283
2008-08-12 03:20:52 +00:00
Cameron Gutman
bfa1b80f5f
- Don't continue if locking failed
...
svn path=/branches/aicom-network-fixes/; revision=35282
2008-08-11 22:44:24 +00:00
Hervé Poussineau
6cf2b6c90d
Expand recyclebin API with DeleteFileHandleToRecycleBin and GetRecycleBinDetails
...
svn path=/trunk/; revision=35280
2008-08-11 17:31:51 +00:00
Cameron Gutman
ce24947336
- Only call LockBuffers() if we must
...
svn path=/branches/aicom-network-fixes/; revision=35279
2008-08-11 15:32:45 +00:00
Johannes Anderwald
fe3033e3ea
- add flags for SHEmptyRecycleBin
...
svn path=/trunk/; revision=35278
2008-08-11 14:57:00 +00:00
Johannes Anderwald
c39ab30541
- rename recyclebin
...
svn path=/trunk/; revision=35277
2008-08-11 14:52:22 +00:00
Johannes Anderwald
40040950f1
Copied remotely
...
svn path=/trunk/; revision=35275
2008-08-11 14:49:32 +00:00
Cameron Gutman
4873208286
- 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
2008-08-11 14:38:17 +00:00
Johannes Anderwald
fe7a26fb3f
* implement restoring of a deleted file
...
* use volume labels for storing bitbucket information
* store a context for each drive
* apply changes for each available drive
svn path=/trunk/; revision=35270
2008-08-11 09:51:35 +00:00
Aleksey Bragin
87e74cda21
- NDK Fix: DirectoryTableBase member of KPROCESS is ULONG[2] and not LARGE_INTEGER since Windows 2000 ("Inside Windows 2000", Chapter 6), and till Windows 2003.
...
svn path=/trunk/; revision=35269
2008-08-11 08:40:52 +00:00
Art Yerkes
30b9ab966f
Merge aicom-network-fixes up to 35260
...
svn path=/trunk/; revision=35267
2008-08-11 00:02:26 +00:00
Aleksey Bragin
a4bc397498
- .def -> .spec
...
svn path=/trunk/; revision=35266
2008-08-10 18:06:21 +00:00
Aleksey Bragin
044c66916e
- Fix dxtn build.
...
svn path=/trunk/; revision=35265
2008-08-10 16:25:26 +00:00
Ged Murphy
197cc3f634
Give Techbot the ability to check for and ghost existing bots, then rename itself
...
svn path=/trunk/; revision=35264
2008-08-10 13:06:58 +00:00
Hervé Poussineau
b2a074adbf
Limit use of -enable-stdcall-fixup to mesa32, msvcrt and riched20 modules
...
svn path=/trunk/; revision=35263
2008-08-10 11:42:31 +00:00
Hervé Poussineau
0cf60adb98
On newer versions, vDbgPrintEx and vDbgPrintExWithPrefix are stdcall, not cdecl
...
svn path=/trunk/; revision=35262
2008-08-10 11:33:33 +00:00
Hervé Poussineau
f7de51f699
Use a .spec file for ntoskrnl.
...
Keep specific .def for ARM, as long as it has not been tested
svn path=/trunk/; revision=35261
2008-08-10 11:23:16 +00:00
Cameron Gutman
d6823d52cf
- 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
2008-08-10 11:23:05 +00:00
Hervé Poussineau
889aabd999
Fix exports
...
svn path=/trunk/; revision=35258
2008-08-10 09:48:25 +00:00
Hervé Poussineau
041e42b57d
I was wrong, because KeUpdateSystemTime prototype is not the same on all platforms
...
svn path=/trunk/; revision=35256
2008-08-10 09:02:49 +00:00
Hervé Poussineau
d28b074156
Remove stdcall decorations to fix build.
...
Real fix should be available soon.
svn path=/trunk/; revision=35253
2008-08-10 06:50:29 +00:00
Hervé Poussineau
876fa09ee5
Try to fix some symbol names
...
svn path=/trunk/; revision=35252
2008-08-10 05:47:20 +00:00
Cameron Gutman
55ca1bda96
- Uncomment TdiQueryAddress and get it to compile
...
svn path=/branches/aicom-network-fixes/; revision=35251
2008-08-09 23:44:44 +00:00
Cameron Gutman
98c4b74c0d
- Uncomment TdiQueryInformationEx and make it compile
...
svn path=/branches/aicom-network-fixes/; revision=35250
2008-08-09 23:25:46 +00:00